diff --git a/dist/convert2xkt.cjs.js b/dist/convert2xkt.cjs.js index eb8535f..33ea3ea 100644 --- a/dist/convert2xkt.cjs.js +++ b/dist/convert2xkt.cjs.js @@ -19,7 +19,7 @@ const XKT_INFO = { * @property xktVersion * @type {number} */ - xktVersion: 10 + xktVersion: 11 }; // Some temporary vars to help avoid garbage collection @@ -16121,7 +16121,7 @@ function parseGLTFIntoXKTModel({ const ctx = { gltfData, - metaModelCorrections: metaModelData, + nodesHaveNames: false, // determined in testIfNodesHaveNames() getAttachment: getAttachment || (() => { throw new Error('You must define getAttachment() method to convert glTF with external resources') }), @@ -16285,23 +16285,6 @@ function parseTextureSet(ctx, material) { if (material.emissiveTexture) { textureSetCfg.emissiveTextureId = material.emissiveTexture.texture._textureId; } - // const alphaMode = material.alphaMode; - // switch (alphaMode) { - // case "NORMAL_OPAQUE": - // materialCfg.alphaMode = "opaque"; - // break; - // case "MASK": - // materialCfg.alphaMode = "mask"; - // break; - // case "BLEND": - // materialCfg.alphaMode = "blend"; - // break; - // default: - // } - // const alphaCutoff = material.alphaCutoff; - // if (alphaCutoff !== undefined) { - // materialCfg.alphaCutoff = alphaCutoff; - // } const metallicPBR = material.pbrMetallicRoughness; if (material.pbrMetallicRoughness) { const pbrMetallicRoughness = material.pbrMetallicRoughness; @@ -16420,13 +16403,30 @@ function parseScene(ctx, scene) { const node = nodes[i]; countMeshUsage(ctx, node); } - for (let i = 0, len = nodes.length; i < len; i++) { + for (let i = 0, len = nodes.length; i < len && !ctx.nodesHaveNames; i++) { const node = nodes[i]; - parseNode(ctx, node, 0, null); + if (testIfNodesHaveNames(node)) { + ctx.nodesHaveNames = true; + } + } + if (!ctx.nodesHaveNames) { + ctx.log(`Warning: No "name" attributes found on glTF scene nodes - objects in XKT may not be what you expect`); + for (let i = 0, len = nodes.length; i < len; i++) { + const node = nodes[i]; + parseNodesWithoutNames(ctx, node, 0, null); + } + } else { + for (let i = 0, len = nodes.length; i < len; i++) { + const node = nodes[i]; + parseNodesWithNames(ctx, node, 0, null); + } } } -function countMeshUsage(ctx, node) { +function countMeshUsage(ctx, node, level=0) { + if (!node) { + return; + } const mesh = node.mesh; if (mesh) { mesh.instances = mesh.instances ? mesh.instances + 1 : 1; @@ -16439,22 +16439,140 @@ function countMeshUsage(ctx, node) { ctx.error("Node not found: " + i); continue; } - countMeshUsage(ctx, childNode); + countMeshUsage(ctx, childNode, level+1); } } } -const objectIdStack = []; -const meshIdsStack = []; +function testIfNodesHaveNames(node, level=0) { + if (!node) { + return; + } + if (node.name) { + return true; + } + if (node.children) { + const children = node.children; + for (let i = 0, len = children.length; i < len; i++) { + const childNode = children[i]; + if (testIfNodesHaveNames(childNode, level+1)) { + return true; + } + } + } + return false; +} -let meshIds = null; +/** + * Parses a glTF node hierarchy that is known to NOT contain "name" attributes on the nodes. + * Create a XKTMesh for each mesh primitive, and a single XKTEntity. + */ +const parseNodesWithoutNames = (function () { -function parseNode(ctx, node, depth, matrix) { + const meshIds = []; - const xktModel = ctx.xktModel; + return function (ctx, node, depth, matrix) { + if (!node) { + return; + } + matrix = parseNodeMatrix(node, matrix); + if (node.mesh) { + parseNodeMesh(node, ctx, matrix, meshIds); + } + if (node.children) { + const children = node.children; + for (let i = 0, len = children.length; i < len; i++) { + const childNode = children[i]; + parseNodesWithoutNames(ctx, childNode, depth + 1, matrix); + } + } + if (depth === 0) { + let entityId = "entity-" + ctx.nextId++; + if (meshIds && meshIds.length > 0) { + ctx.log("Creating XKTEntity with default ID: " + entityId); + ctx.xktModel.createEntity({ + entityId, + meshIds + }); + meshIds.length = 0; + } + ctx.stats.numObjects++; + } + } +})(); + + +/** + * Parses a glTF node hierarchy that is known to contain "name" attributes on the nodes. + * + * Create a XKTMesh for each mesh primitive, and XKTEntity for each named node. + * + * Following a depth-first traversal, each XKTEntity is created on post-visit of each named node, + * and gets all the XKTMeshes created since the last XKTEntity created. + */ +const parseNodesWithNames = (function () { - // Pre-order visit scene node + const objectIdStack = []; + const meshIdsStack = []; + let meshIds = null; + return function (ctx, node, depth, matrix) { + if (!node) { + return; + } + matrix = parseNodeMatrix(node, matrix); + if (node.name) { + meshIds = []; + let xktEntityId = node.name; + if (!!xktEntityId && ctx.xktModel.entities[xktEntityId]) { + ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`); + } + while (!xktEntityId || ctx.xktModel.entities[xktEntityId]) { + xktEntityId = "entity-" + ctx.nextId++; + } + objectIdStack.push(xktEntityId); + meshIdsStack.push(meshIds); + } + if (meshIds && node.mesh) { + parseNodeMesh(node, ctx, matrix, meshIds); + } + if (node.children) { + const children = node.children; + for (let i = 0, len = children.length; i < len; i++) { + const childNode = children[i]; + parseNodesWithNames(ctx, childNode, depth + 1, matrix); + } + } + const nodeName = node.name; + if ((nodeName !== undefined && nodeName !== null) || depth === 0) { + let xktEntityId = objectIdStack.pop(); + if (!xktEntityId) { // For when there are no nodes with names + xktEntityId = "entity-" + ctx.nextId++; + } + let entityMeshIds = meshIdsStack.pop(); + if (meshIds && meshIds.length > 0) { + ctx.xktModel.createEntity({ + entityId: xktEntityId, + meshIds: entityMeshIds + }); + } + ctx.stats.numObjects++; + meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null; + } + } +})(); + +/** + * Parses transform at the given glTF node. + * + * @param node the glTF node + * @param matrix Transfor matrix from parent nodes + * @returns {*} Transform matrix for the node + */ +function parseNodeMatrix(node, matrix) { + if (!node) { + return; + } let localMatrix; if (node.matrix) { localMatrix = node.matrix; @@ -16488,27 +16606,29 @@ function parseNode(ctx, node, depth, matrix) { matrix = localMatrix; } } + return matrix; +} - if (node.name) { - meshIds = []; - let xktEntityId = node.name; - if (!!xktEntityId && xktModel.entities[xktEntityId]) { - ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`); - } - while (!xktEntityId || xktModel.entities[xktEntityId]) { - xktEntityId = "entity-" + ctx.nextId++; - } - objectIdStack.push(xktEntityId); - meshIdsStack.push(meshIds); +/** + * Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel. + * + * @param node glTF node + * @param ctx Parsing context + * @param matrix Matrix for the XKTMeshes + * @param meshIds returns IDs of the new XKTMeshes + */ +function parseNodeMesh(node, ctx, matrix, meshIds) { + if (!node) { + return; } - - if (meshIds && node.mesh) { - - const mesh = node.mesh; - const numPrimitives = mesh.primitives.length; - - if (numPrimitives > 0) { - for (let i = 0; i < numPrimitives; i++) { + const mesh = node.mesh; + if (!mesh) { + return; + } + const numPrimitives = mesh.primitives.length; + if (numPrimitives > 0) { + for (let i = 0; i < numPrimitives; i++) { + try { const primitive = mesh.primitives[i]; if (!primitive._xktGeometryId) { const xktGeometryId = "geometry-" + ctx.nextId++; @@ -16567,11 +16687,10 @@ function parseNode(ctx, node, depth, matrix) { ctx.stats.numTriangles += geometryCfg.indices.length / 3; } } - xktModel.createGeometry(geometryCfg); + ctx.xktModel.createGeometry(geometryCfg); primitive._xktGeometryId = xktGeometryId; ctx.stats.numGeometries++; } - const xktMeshId = ctx.nextId++; const meshCfg = { meshId: xktMeshId, @@ -16589,43 +16708,13 @@ function parseNode(ctx, node, depth, matrix) { meshCfg.color = [1.0, 1.0, 1.0]; meshCfg.opacity = 1.0; } - xktModel.createMesh(meshCfg); + ctx.xktModel.createMesh(meshCfg); meshIds.push(xktMeshId); + } catch (e) { + console.log(e); } } } - - // Visit child scene nodes - - if (node.children) { - const children = node.children; - for (let i = 0, len = children.length; i < len; i++) { - const childNode = children[i]; - parseNode(ctx, childNode, depth + 1, matrix); - } - } - - // Post-order visit scene node - - const nodeName = node.name; - if ((nodeName !== undefined && nodeName !== null) || depth === 0) { - if (nodeName === undefined || nodeName === null) { - ctx.log(`Warning: 'name' properties not found on glTF scene nodes - will randomly-generate object IDs in XKT`); - } - let xktEntityId = objectIdStack.pop(); - if (!xktEntityId) { // For when there are no nodes with names - xktEntityId = "entity-" + ctx.nextId++; - } - let entityMeshIds = meshIdsStack.pop(); - if (meshIds && meshIds.length > 0) { - xktModel.createEntity({ - entityId: xktEntityId, - meshIds: entityMeshIds - }); - } - ctx.stats.numObjects++; - meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null; - } } /** @@ -26158,6 +26247,9 @@ const NUM_MATERIAL_ATTRIBUTES = 6; * @returns {ArrayBuffer} The {@link ArrayBuffer}. */ function writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, options) { + if (! options.zip) { + return writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats); + } const data = getModelData(xktModel, metaModelJSON, stats); const deflatedData = deflateData(data, metaModelJSON, options); stats.texturesSize += deflatedData.textureData.byteLength; @@ -26165,6 +26257,107 @@ function writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, options) { return arrayBuffer; } +// V11 +function writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats) { + const data = getModelData(xktModel, metaModelJSON, stats); + stats.texturesSize += data.textureData.byteLength; + + const object2Array = (function() { + const encoder = new TextEncoder(); + return obj => encoder.encode(JSON.stringify(obj)); + })(); + + const arrays = [ + object2Array(metaModelJSON || data.metadata), + data.textureData, + data.eachTextureDataPortion, + data.eachTextureAttributes, + data.positions, + data.normals, + data.colors, + data.uvs, + data.indices, + data.edgeIndices, + data.eachTextureSetTextures, + data.matrices, + data.reusedGeometriesDecodeMatrix, + data.eachGeometryPrimitiveType, + data.eachGeometryPositionsPortion, + data.eachGeometryNormalsPortion, + data.eachGeometryColorsPortion, + data.eachGeometryUVsPortion, + data.eachGeometryIndicesPortion, + data.eachGeometryEdgeIndicesPortion, + data.eachMeshGeometriesPortion, + data.eachMeshMatricesPortion, + data.eachMeshTextureSet, + data.eachMeshMaterialAttributes, + object2Array(data.eachEntityId), + data.eachEntityMeshesPortion, + data.eachTileAABB, + data.eachTileEntitiesPortion + ]; + + const arraysCnt = arrays.length; + const dataView = new DataView(new ArrayBuffer((1 + 2 * arraysCnt) * 4)); + + dataView.setUint32(0, XKT_VERSION, true); + + let byteOffset = dataView.byteLength; + const offsets = [ ]; + + // Store arrays' offsets and lengths + for (let i = 0; i < arraysCnt; i++) { + const arr = arrays[i]; + const BPE = arr.BYTES_PER_ELEMENT; + // align to BPE, so the arrayBuffer can be used for a typed array + byteOffset = Math.ceil(byteOffset / BPE) * BPE; + const byteLength = arr.byteLength; + + const idx = 1 + 2 * i; + dataView.setUint32(idx * 4, byteOffset, true); + dataView.setUint32((idx + 1) * 4, byteLength, true); + + offsets.push(byteOffset); + byteOffset += byteLength; + } + + const dataArray = new Uint8Array(byteOffset); + dataArray.set(new Uint8Array(dataView.buffer), 0); + + const requiresSwapToLittleEndian = (function() { + const buffer = new ArrayBuffer(2); + new Uint16Array(buffer)[0] = 1; + return new Uint8Array(buffer)[0] !== 1; + })(); + + // Store arrays themselves + for (let i = 0; i < arraysCnt; i++) { + const arr = arrays[i]; + const subarray = new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength); + + const BPE = arr.BYTES_PER_ELEMENT; + if (requiresSwapToLittleEndian && (BPE > 1)) { + const swaps = BPE / 2; + const cnt = subarray.length / BPE; + for (let b = 0; b < cnt; b++) { + const offset = b * BPE; + for (let j = 0; j < swaps; j++) { + const i1 = offset + j; + const i2 = offset - j + BPE - 1; + const tmp = subarray[i1]; + subarray[i1] = subarray[i2]; + subarray[i2] = tmp; + } + } + } + + dataArray.set(subarray, offsets[i]); + } + + return dataArray.buffer; +} + function getModelData(xktModel, metaModelDataStr, stats) { //------------------------------------------------------------------------------------------------------------------ @@ -26580,7 +26773,7 @@ function createArrayBuffer(deflatedData) { function toArrayBuffer$1(elements) { const indexData = new Uint32Array(elements.length + 2); - indexData[0] = XKT_VERSION; + indexData[0] = 10; // XKT_VERSION for legacy v10 mode indexData [1] = elements.length; // Stored Data 1.1: number of stored elements let dataLen = 0; // Stored Data 1.2: length of stored elements for (let i = 0, len = elements.length; i < len; i++) { @@ -26697,6 +26890,7 @@ function convert2xkt({ rotateX = false, includeTextures = true, includeNormals = true, + zip = true, log = function (msg) { } }) { @@ -26985,7 +27179,7 @@ function convert2xkt({ log("XKT document built OK. Writing to XKT file..."); - const xktArrayBuffer = writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, {zip: true}); + const xktArrayBuffer = writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, {zip: zip}); const xktContent = Buffer.from(xktArrayBuffer); @@ -26994,7 +27188,7 @@ function convert2xkt({ stats.minTileSize = minTileSize || 200; stats.sourceSize = (sourceFileSizeBytes / 1000).toFixed(2); stats.xktSize = (targetFileSizeBytes / 1000).toFixed(2); - stats.xktVersion = XKT_INFO.xktVersion; + stats.xktVersion = zip ? 10 : XKT_INFO.xktVersion; stats.compressionRatio = (sourceFileSizeBytes / targetFileSizeBytes).toFixed(2); stats.conversionTime = ((new Date() - startTime) / 1000.0).toFixed(2); stats.aabb = xktModel.aabb; diff --git a/dist/xeokit-convert.cjs.js b/dist/xeokit-convert.cjs.js index c0245e9..222558f 100644 --- a/dist/xeokit-convert.cjs.js +++ b/dist/xeokit-convert.cjs.js @@ -2983,12 +2983,77 @@ var NUM_MATERIAL_ATTRIBUTES = 6; * @returns {ArrayBuffer} The {@link ArrayBuffer}. */ function writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, options) { + if (!options.zip) { + return writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats); + } var data = getModelData(xktModel, metaModelJSON, stats); var deflatedData = deflateData(data, metaModelJSON, options); stats.texturesSize += deflatedData.textureData.byteLength; var arrayBuffer = createArrayBuffer(deflatedData); return arrayBuffer; } + +// V11 +function writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats) { + var data = getModelData(xktModel, metaModelJSON, stats); + stats.texturesSize += data.textureData.byteLength; + var object2Array = function () { + var encoder = new TextEncoder(); + return function (obj) { + return encoder.encode(JSON.stringify(obj)); + }; + }(); + var arrays = [object2Array(metaModelJSON || data.metadata), data.textureData, data.eachTextureDataPortion, data.eachTextureAttributes, data.positions, data.normals, data.colors, data.uvs, data.indices, data.edgeIndices, data.eachTextureSetTextures, data.matrices, data.reusedGeometriesDecodeMatrix, data.eachGeometryPrimitiveType, data.eachGeometryPositionsPortion, data.eachGeometryNormalsPortion, data.eachGeometryColorsPortion, data.eachGeometryUVsPortion, data.eachGeometryIndicesPortion, data.eachGeometryEdgeIndicesPortion, data.eachMeshGeometriesPortion, data.eachMeshMatricesPortion, data.eachMeshTextureSet, data.eachMeshMaterialAttributes, object2Array(data.eachEntityId), data.eachEntityMeshesPortion, data.eachTileAABB, data.eachTileEntitiesPortion]; + var arraysCnt = arrays.length; + var dataView = new DataView(new ArrayBuffer((1 + 2 * arraysCnt) * 4)); + dataView.setUint32(0, XKT_VERSION, true); + var byteOffset = dataView.byteLength; + var offsets = []; + + // Store arrays' offsets and lengths + for (var i = 0; i < arraysCnt; i++) { + var arr = arrays[i]; + var BPE = arr.BYTES_PER_ELEMENT; + // align to BPE, so the arrayBuffer can be used for a typed array + byteOffset = Math.ceil(byteOffset / BPE) * BPE; + var byteLength = arr.byteLength; + var idx = 1 + 2 * i; + dataView.setUint32(idx * 4, byteOffset, true); + dataView.setUint32((idx + 1) * 4, byteLength, true); + offsets.push(byteOffset); + byteOffset += byteLength; + } + var dataArray = new Uint8Array(byteOffset); + dataArray.set(new Uint8Array(dataView.buffer), 0); + var requiresSwapToLittleEndian = function () { + var buffer = new ArrayBuffer(2); + new Uint16Array(buffer)[0] = 1; + return new Uint8Array(buffer)[0] !== 1; + }(); + + // Store arrays themselves + for (var _i = 0; _i < arraysCnt; _i++) { + var _arr = arrays[_i]; + var subarray = new Uint8Array(_arr.buffer, _arr.byteOffset, _arr.byteLength); + var _BPE = _arr.BYTES_PER_ELEMENT; + if (requiresSwapToLittleEndian && _BPE > 1) { + var swaps = _BPE / 2; + var cnt = subarray.length / _BPE; + for (var b = 0; b < cnt; b++) { + var offset = b * _BPE; + for (var j = 0; j < swaps; j++) { + var i1 = offset + j; + var i2 = offset - j + _BPE - 1; + var tmp = subarray[i1]; + subarray[i1] = subarray[i2]; + subarray[i2] = tmp; + } + } + } + dataArray.set(subarray, offsets[_i]); + } + return dataArray.buffer; +} function getModelData(xktModel, metaModelDataStr, stats) { //------------------------------------------------------------------------------------------------------------------ // Allocate data @@ -3361,7 +3426,7 @@ function createArrayBuffer(deflatedData) { } function toArrayBuffer(elements) { var indexData = new Uint32Array(elements.length + 2); - indexData[0] = XKT_VERSION; + indexData[0] = 10; // XKT_VERSION for legacy v10 mode indexData[1] = elements.length; // Stored Data 1.1: number of stored elements var dataLen = 0; // Stored Data 1.2: length of stored elements for (var i = 0, len = elements.length; i < len; i++) { @@ -3374,9 +3439,9 @@ function toArrayBuffer(elements) { var dataArray = new Uint8Array(indexBuf.length + dataLen); dataArray.set(indexBuf); var offset = indexBuf.length; - for (var _i = 0, _len = elements.length; _i < _len; _i++) { + for (var _i2 = 0, _len = elements.length; _i2 < _len; _i2++) { // Stored Data 2: the elements themselves - var _element = elements[_i]; + var _element = elements[_i2]; dataArray.set(_element, offset); offset += _element.length; } @@ -3412,7 +3477,7 @@ var XKT_INFO = { * @property xktVersion * @type {number} */ - xktVersion: 10 + xktVersion: 11 }; @@ -3659,6 +3724,8 @@ function convert2xkt(_ref) { includeTextures = _ref$includeTextures === void 0 ? true : _ref$includeTextures, _ref$includeNormals = _ref.includeNormals, includeNormals = _ref$includeNormals === void 0 ? true : _ref$includeNormals, + _ref$zip = _ref.zip, + zip = _ref$zip === void 0 ? true : _ref$zip, _ref$log = _ref.log, log = _ref$log === void 0 ? function (msg) {} : _ref$log; stats.sourceFormat = ""; @@ -3909,14 +3976,14 @@ function convert2xkt(_ref) { xktModel.finalize().then(function () { log("XKT document built OK. Writing to XKT file..."); var xktArrayBuffer = (0,_XKTModel_writeXKTModelToArrayBuffer_js__WEBPACK_IMPORTED_MODULE_9__.writeXKTModelToArrayBuffer)(xktModel, metaModelJSON, stats, { - zip: true + zip: zip }); var xktContent = Buffer.from(xktArrayBuffer); var targetFileSizeBytes = xktArrayBuffer.byteLength; stats.minTileSize = minTileSize || 200; stats.sourceSize = (sourceFileSizeBytes / 1000).toFixed(2); stats.xktSize = (targetFileSizeBytes / 1000).toFixed(2); - stats.xktVersion = _XKT_INFO_js__WEBPACK_IMPORTED_MODULE_0__.XKT_INFO.xktVersion; + stats.xktVersion = zip ? 10 : _XKT_INFO_js__WEBPACK_IMPORTED_MODULE_0__.XKT_INFO.xktVersion; stats.compressionRatio = (sourceFileSizeBytes / targetFileSizeBytes).toFixed(2); stats.conversionTime = ((new Date() - startTime) / 1000.0).toFixed(2); stats.aabb = xktModel.aabb; diff --git a/dist/xeokit-convert.cjs.js.map b/dist/xeokit-convert.cjs.js.map index 889fbcb..3cd74bb 100644 --- a/dist/xeokit-convert.cjs.js.map +++ b/dist/xeokit-convert.cjs.js.map @@ -1 +1 @@ -{"version":3,"file":"xeokit-convert.cjs.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AAJA,IAKMA,MAAM,gBAAAC,YAAA;AAER;AACJ;AACA;AACI,SAAAD,OAAYE,IAAI,EAAE;EAAAC,eAAA,OAAAH,MAAA;EAEd;AACR;AACA;AACA;AACA;EACQ,IAAI,CAACE,IAAI,GAAGA,IAAI;;EAEhB;AACR;AACA;EACQ,IAAI,CAACE,QAAQ,GAAG,IAAI;;EAEpB;AACR;AACA;EACQ,IAAI,CAACC,IAAI,GAAG,IAAI;;EAEhB;AACR;AACA;EACQ,IAAI,CAACC,KAAK,GAAG,IAAI;AACrB,CAAC;;;;;;;;;;;;;;;;;;;;;;ACjC+B;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA,IASME,SAAS,gBAAAP,YAAA;AAEX;AACJ;AACA;AACA;AACA;AACI,SAAAO,UAAYC,QAAQ,EAAGC,MAAM,EAAE;EAAAP,eAAA,OAAAK,SAAA;EAE3B;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACQ,IAAI,CAACC,QAAQ,GAAGA,QAAQ;;EAExB;AACR;AACA;AACA;AACA;AACA;AACA;EACQ,IAAI,CAACE,WAAW,GAAG,IAAI;;EAEvB;AACR;AACA;AACA;AACA;EACQ,IAAI,CAACD,MAAM,GAAGA,MAAM;;EAEpB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;EACQ,IAAI,CAACR,IAAI,GAAGK,8CAAI,CAACK,KAAK,CAAC,CAAC;;EAExB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACQ,IAAI,CAACC,mBAAmB,GAAG,KAAK;AACpC,CAAC;;;;;;;;;;;;;;;;;;;;;ACtEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA,IASMC,WAAW;EAEb;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,SAAAA,YAAYC,GAAG,EAAE;IAAAZ,eAAA,OAAAW,WAAA;IAEb;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACE,UAAU,GAAGD,GAAG,CAACC,UAAU;;IAEhC;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACC,aAAa,GAAGF,GAAG,CAACE,aAAa;;IAEtC;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACC,aAAa,GAAGH,GAAG,CAACG,aAAa;;IAEtC;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACC,YAAY,GAAG,CAAC;;IAErB;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,SAAS,GAAGL,GAAG,CAACK,SAAS;;IAE9B;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,kBAAkB,GAAG,IAAIC,WAAW,CAACP,GAAG,CAACK,SAAS,CAACG,MAAM,CAAC;;IAE/D;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,OAAO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AAG5O,GAAG,CAAC4O,MAAM,IAAI,EAAE;;IAE9B;AACR;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,SAAS,GAAG7O,GAAG,CAAC6O,SAAS,IAAI,EAAE;;IAEpC;AACR;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,mBAAmB,GAAG9O,GAAG,CAAC8O,mBAAmB,IAAI,EAAE;;IAExD;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,MAAM,GAAG/O,GAAG,CAAC+O,MAAM,IAAI,EAAE;;IAE9B;AACR;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,UAAU,GAAGjC,mDAAQ,CAACiC,UAAU;;IAErC;AACR;AACA;AACA;IACQ,IAAI,CAACC,aAAa,GAAGjP,GAAG,CAACiP,aAAa,IAAI,EAAE;;IAE5C;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACC,WAAW,GAAGlP,GAAG,CAACkP,WAAW,IAAI,GAAG;;IAEzC;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,SAAS,GAAGnP,GAAG,CAACmP,SAAS;;IAE9B;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,YAAY,GAAG,CAAC,CAAC;;IAEtB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,gBAAgB,GAAG,EAAE;;IAE1B;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,WAAW,GAAG,CAAC,CAAC;;IAErB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,eAAe,GAAG,EAAE;;IAEzB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,4BAA4B,GAAG,IAAI/N,YAAY,CAAC,EAAE,CAAC;;IAExD;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACg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4+C,EAAE,GAAGznC,KAAK,CAACrf,MAAM,EAAEkI,CAAC,GAAG4+C,EAAE,EAAE5+C,CAAC,EAAE,EAAE;IAC5Cs0B,CAAC,IAAI9wB,MAAM,CAACq7C,YAAY,CAAC1nC,KAAK,CAACnX,CAAC,CAAC,CAAC,CAAC,CAAC;EACxC;;EACA,OAAOi0C,kBAAkB,CAAC6K,MAAM,CAACxqB,CAAC,CAAC,CAAC;AACxC;;;;;;;;;;;AClWA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;;;;;ACAA;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACN+B;AAC4B;AAE3DiuB,2EAAoB,CAAC,CAAC;AAES;AACkB,CAAC,0C","sources":["webpack://convert2xkt/webpack/universalModuleDefinition","webpack://convert2xkt/./src/XKTModel/KDNode.js","webpack://convert2xkt/./src/XKTModel/XKTEntity.js","webpack://convert2xkt/./src/XKTModel/XKTGeometry.js","webpack://convert2xkt/./src/XKTModel/XKTMesh.js","webpack://convert2xkt/./src/XKTModel/XKTMetaObject.js","webpack://convert2xkt/./src/XKTModel/XKTModel.js","webpack://convert2xkt/./src/XKTModel/XKTPropertySet.js","webpack://convert2xkt/./src/XKTModel/XKTTexture.js","webpack://convert2xkt/./src/XKTModel/XKTTextureSet.js","webpack://convert2xkt/./src/XKTModel/XKTTile.js","webpack://convert2xkt/./src/XKTModel/lib/buildEdgeIndices.js","webpack://convert2xkt/./src/XKTModel/lib/geometryCompression.js","webpack://convert2xkt/./src/XKTModel/lib/isTriangleMeshSolid.js","webpack://convert2xkt/./src/XKTModel/lib/toArraybuffer.js","webpack://convert2xkt/./src/XKTModel/lib/utils.js","webpack://convert2xkt/./src/XKTModel/writeXKTModelToArrayBuffer.js","webpack://convert2xkt/./src/XKT_INFO.js","webpack://convert2xkt/./src/constants.js","webpack://convert2xkt/./src/convert2xkt.js","webpack://convert2xkt/./src/geometryBuilders/buildBoxGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildBoxLinesGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildCylinderGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildGridGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildPlaneGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildSphereGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildTorusGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildVectorTextGeometry.js","webpack://convert2xkt/./src/index.js","webpack://convert2xkt/./src/lib/earcut.js","webpack://convert2xkt/./src/lib/faceToVertexNormals.js","webpack://convert2xkt/./src/lib/math.js","webpack://convert2xkt/./src/lib/mergeVertices.js","webpack://convert2xkt/./src/parsers/parseCityJSONIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseGLTFIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseGLTFJSONIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseIFCIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseLASIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseMetaModelIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parsePCDIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parsePLYIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseSTLIntoXKTModel.js","webpack://convert2xkt/external commonjs \"@loaders.gl/core\"","webpack://convert2xkt/external commonjs \"@loaders.gl/gltf\"","webpack://convert2xkt/external commonjs \"@loaders.gl/images\"","webpack://convert2xkt/external commonjs \"@loaders.gl/las\"","webpack://convert2xkt/external commonjs \"@loaders.gl/ply\"","webpack://convert2xkt/external commonjs \"@loaders.gl/polyfills\"","webpack://convert2xkt/external commonjs \"@loaders.gl/textures\"","webpack://convert2xkt/external commonjs \"fs\"","webpack://convert2xkt/external commonjs \"pako\"","webpack://convert2xkt/external commonjs \"path\"","webpack://convert2xkt/webpack/bootstrap","webpack://convert2xkt/webpack/runtime/compat get default export","webpack://convert2xkt/webpack/runtime/define property getters","webpack://convert2xkt/webpack/runtime/hasOwnProperty shorthand","webpack://convert2xkt/webpack/runtime/make namespace object","webpack://convert2xkt/./index.dist.node.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"convert2xkt\"] = factory();\n\telse\n\t\troot[\"convert2xkt\"] = factory();\n})(global, () => {\nreturn ","/**\n * A kd-Tree node, used internally by {@link XKTModel}.\n *\n * @private\n */\nclass KDNode {\n\n /**\n * Create a KDNode with an axis-aligned 3D World-space boundary.\n */\n constructor(aabb) {\n\n /**\n * The axis-aligned 3D World-space boundary of this KDNode.\n *\n * @type {Float64Array}\n */\n this.aabb = aabb;\n\n /**\n * The {@link XKTEntity}s within this KDNode.\n */\n this.entities = null;\n\n /**\n * The left child KDNode.\n */\n this.left = null;\n\n /**\n * The right child KDNode.\n */\n this.right = null;\n }\n}\n\nexport {KDNode};","import {math} from \"../lib/math.js\";\n\n/**\n * An object within an {@link XKTModel}.\n *\n * * Created by {@link XKTModel#createEntity}\n * * Stored in {@link XKTModel#entities} and {@link XKTModel#entitiesList}\n * * Has one or more {@link XKTMesh}s, each having an {@link XKTGeometry}\n *\n * @class XKTEntity\n */\nclass XKTEntity {\n\n /**\n * @private\n * @param entityId\n * @param meshes\n */\n constructor(entityId, meshes) {\n\n /**\n * Unique ID of this ````XKTEntity```` in {@link XKTModel#entities}.\n *\n * For a BIM model, this will be an IFC product ID.\n *\n * We can also use {@link XKTModel#createMetaObject} to create an {@link XKTMetaObject} to specify metadata for\n * this ````XKTEntity````. To associate the {@link XKTMetaObject} with our {@link XKTEntity}, we give\n * {@link XKTMetaObject#metaObjectId} the same value as {@link XKTEntity#entityId}.\n *\n * @type {String}\n */\n this.entityId = entityId;\n\n /**\n * Index of this ````XKTEntity```` in {@link XKTModel#entitiesList}.\n *\n * Set by {@link XKTModel#finalize}.\n *\n * @type {Number}\n */\n this.entityIndex = null;\n\n /**\n * A list of {@link XKTMesh}s that indicate which {@link XKTGeometry}s are used by this Entity.\n *\n * @type {XKTMesh[]}\n */\n this.meshes = meshes;\n\n /**\n * World-space axis-aligned bounding box (AABB) that encloses the {@link XKTGeometry#positions} of\n * the {@link XKTGeometry}s that are used by this ````XKTEntity````.\n *\n * Set by {@link XKTModel#finalize}.\n *\n * @type {Float32Array}\n */\n this.aabb = math.AABB3();\n\n /**\n * Indicates if this ````XKTEntity```` shares {@link XKTGeometry}s with other {@link XKTEntity}'s.\n *\n * Set by {@link XKTModel#finalize}.\n *\n * Note that when an ````XKTEntity```` shares ````XKTGeometrys````, it shares **all** of its ````XKTGeometrys````. An ````XKTEntity````\n * never shares only some of its ````XKTGeometrys```` - it always shares either the whole set or none at all.\n *\n * @type {Boolean}\n */\n this.hasReusedGeometries = false;\n }\n}\n\nexport {XKTEntity};","/**\n * An element of reusable geometry within an {@link XKTModel}.\n *\n * * Created by {@link XKTModel#createGeometry}\n * * Stored in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}\n * * Referenced by {@link XKTMesh}s, which belong to {@link XKTEntity}s\n *\n * @class XKTGeometry\n */\nclass XKTGeometry {\n\n /**\n * @private\n * @param {*} cfg Configuration for the XKTGeometry.\n * @param {Number} cfg.geometryId Unique ID of the geometry in {@link XKTModel#geometries}.\n * @param {String} cfg.primitiveType Type of this geometry - \"triangles\", \"points\" or \"lines\" so far.\n * @param {Number} cfg.geometryIndex Index of this XKTGeometry in {@link XKTModel#geometriesList}.\n * @param {Float64Array} cfg.positions Non-quantized 3D vertex positions.\n * @param {Float32Array} cfg.normals Non-compressed vertex normals.\n * @param {Uint8Array} cfg.colorsCompressed Unsigned 8-bit integer RGBA vertex colors.\n * @param {Float32Array} cfg.uvs Non-compressed vertex UV coordinates.\n * @param {Uint32Array} cfg.indices Indices to organize the vertex positions and normals into triangles.\n * @param {Uint32Array} cfg.edgeIndices Indices to organize the vertex positions into edges.\n */\n constructor(cfg) {\n\n /**\n * Unique ID of this XKTGeometry in {@link XKTModel#geometries}.\n *\n * @type {Number}\n */\n this.geometryId = cfg.geometryId;\n\n /**\n * The type of primitive - \"triangles\" | \"points\" | \"lines\".\n *\n * @type {String}\n */\n this.primitiveType = cfg.primitiveType;\n\n /**\n * Index of this XKTGeometry in {@link XKTModel#geometriesList}.\n *\n * @type {Number}\n */\n this.geometryIndex = cfg.geometryIndex;\n\n /**\n * The number of {@link XKTMesh}s that reference this XKTGeometry.\n *\n * @type {Number}\n */\n this.numInstances = 0;\n\n /**\n * Non-quantized 3D vertex positions.\n *\n * Defined for all primitive types.\n *\n * @type {Float64Array}\n */\n this.positions = cfg.positions;\n\n /**\n * Quantized vertex positions.\n *\n * Defined for all primitive types.\n *\n * This array is later created from {@link XKTGeometry#positions} by {@link XKTModel#finalize}.\n *\n * @type {Uint16Array}\n */\n this.positionsQuantized = new Uint16Array(cfg.positions.length);\n\n /**\n * Non-compressed 3D vertex normals.\n *\n * Defined only for triangle primitives. Can be null if we want xeokit to auto-generate them. Ignored for points and lines.\n *\n * @type {Float32Array}\n */\n this.normals = cfg.normals;\n\n /**\n * Compressed vertex normals.\n *\n * Defined only for triangle primitives. Ignored for points and lines.\n *\n * This array is later created from {@link XKTGeometry#normals} by {@link XKTModel#finalize}.\n *\n * Will be null if {@link XKTGeometry#normals} is also null.\n *\n * @type {Int8Array}\n */\n this.normalsOctEncoded = null;\n\n /**\n * Compressed RGBA vertex colors.\n *\n * Defined only for point primitives. Ignored for triangles and lines.\n *\n * @type {Uint8Array}\n */\n this.colorsCompressed = cfg.colorsCompressed;\n\n /**\n * Non-compressed vertex UVs.\n *\n * @type {Float32Array}\n */\n this.uvs = cfg.uvs;\n\n /**\n * Compressed vertex UVs.\n *\n * @type {Uint16Array}\n */\n this.uvsCompressed = cfg.uvsCompressed;\n\n /**\n * Indices that organize the vertex positions and normals as triangles.\n *\n * Defined only for triangle and lines primitives. Ignored for points.\n *\n * @type {Uint32Array}\n */\n this.indices = cfg.indices;\n\n /**\n * Indices that organize the vertex positions as edges.\n *\n * Defined only for triangle primitives. Ignored for points and lines.\n *\n * @type {Uint32Array}\n */\n this.edgeIndices = cfg.edgeIndices;\n\n /**\n * When {@link XKTGeometry#primitiveType} is \"triangles\", this is ````true```` when this geometry is a watertight mesh.\n *\n * Defined only for triangle primitives. Ignored for points and lines.\n *\n * Set by {@link XKTModel#finalize}.\n *\n * @type {boolean}\n */\n this.solid = false;\n }\n\n /**\n * Convenience property that is ````true```` when {@link XKTGeometry#numInstances} is greater that one.\n * @returns {boolean}\n */\n get reused() {\n return (this.numInstances > 1);\n }\n}\n\nexport {XKTGeometry};","/**\n * Represents the usage of a {@link XKTGeometry} by an {@link XKTEntity}.\n *\n * * Created by {@link XKTModel#createEntity}\n * * Stored in {@link XKTEntity#meshes} and {@link XKTModel#meshesList}\n * * Has an {@link XKTGeometry}, and an optional {@link XKTTextureSet}, both of which it can share with other {@link XKTMesh}es\n * * Has {@link XKTMesh#color}, {@link XKTMesh#opacity}, {@link XKTMesh#metallic} and {@link XKTMesh#roughness} PBR attributes\n * @class XKTMesh\n */\nclass XKTMesh {\n\n /**\n * @private\n */\n constructor(cfg) {\n\n /**\n * Unique ID of this XKTMesh in {@link XKTModel#meshes}.\n *\n * @type {Number}\n */\n this.meshId = cfg.meshId;\n\n /**\n * Index of this XKTMesh in {@link XKTModel#meshesList};\n *\n * @type {Number}\n */\n this.meshIndex = cfg.meshIndex;\n\n /**\n * The 4x4 modeling transform matrix.\n *\n * Transform is relative to the center of the {@link XKTTile} that contains this XKTMesh's {@link XKTEntity},\n * which is given in {@link XKTMesh#entity}.\n *\n * When the ````XKTEntity```` shares its {@link XKTGeometry}s with other ````XKTEntity````s, this matrix is used\n * to transform this XKTMesh's XKTGeometry into World-space. When this XKTMesh does not share its ````XKTGeometry````,\n * then this matrix is ignored.\n *\n * @type {Number[]}\n */\n this.matrix = cfg.matrix;\n\n /**\n * The instanced {@link XKTGeometry}.\n *\n * @type {XKTGeometry}\n */\n this.geometry = cfg.geometry;\n\n /**\n * RGB color of this XKTMesh.\n *\n * @type {Float32Array}\n */\n this.color = cfg.color || new Float32Array([1, 1, 1]);\n\n /**\n * PBR metallness of this XKTMesh.\n *\n * @type {Number}\n */\n this.metallic = (cfg.metallic !== null && cfg.metallic !== undefined) ? cfg.metallic : 0;\n\n /**\n * PBR roughness of this XKTMesh.\n * The {@link XKTTextureSet} that defines the appearance of this XKTMesh.\n *\n * @type {Number}\n * @type {XKTTextureSet}\n */\n this.roughness = (cfg.roughness !== null && cfg.roughness !== undefined) ? cfg.roughness : 1;\n\n /**\n * Opacity of this XKTMesh.\n *\n * @type {Number}\n */\n this.opacity = (cfg.opacity !== undefined && cfg.opacity !== null) ? cfg.opacity : 1.0;\n\n /**\n * The {@link XKTTextureSet} that defines the appearance of this XKTMesh.\n *\n * @type {XKTTextureSet}\n */\n this.textureSet = cfg.textureSet;\n\n /**\n * The owner {@link XKTEntity}.\n *\n * Set by {@link XKTModel#createEntity}.\n *\n * @type {XKTEntity}\n */\n this.entity = null; // Set after instantiation, when the Entity is known\n }\n}\n\nexport {XKTMesh};","/**\n * A meta object within an {@link XKTModel}.\n *\n * These are plugged together into a parent-child hierarchy to represent structural\n * metadata for the {@link XKTModel}.\n *\n * The leaf XKTMetaObjects are usually associated with\n * an {@link XKTEntity}, which they do so by sharing the same ID,\n * ie. where {@link XKTMetaObject#metaObjectId} == {@link XKTEntity#entityId}.\n *\n * * Created by {@link XKTModel#createMetaObject}\n * * Stored in {@link XKTModel#metaObjects} and {@link XKTModel#metaObjectsList}\n * * Has an ID, a type, and a human-readable name\n * * May have a parent {@link XKTMetaObject}\n * * When no children, is usually associated with an {@link XKTEntity}\n *\n * @class XKTMetaObject\n */\nclass XKTMetaObject {\n\n /**\n * @private\n * @param metaObjectId\n * @param propertySetIds\n * @param metaObjectType\n * @param metaObjectName\n * @param parentMetaObjectId\n */\n constructor(metaObjectId, propertySetIds, metaObjectType, metaObjectName, parentMetaObjectId) {\n\n /**\n * Unique ID of this ````XKTMetaObject```` in {@link XKTModel#metaObjects}.\n *\n * For a BIM model, this will be an IFC product ID.\n *\n * If this is a leaf XKTMetaObject, where it is not a parent to any other XKTMetaObject,\n * then this will be equal to the ID of an {@link XKTEntity} in {@link XKTModel#entities},\n * ie. where {@link XKTMetaObject#metaObjectId} == {@link XKTEntity#entityId}.\n *\n * @type {String}\n */\n this.metaObjectId = metaObjectId;\n\n /**\n * Unique ID of one or more property sets that contains additional metadata about this\n * {@link XKTMetaObject}. The property sets can be stored in an external system, or\n * within the {@link XKTModel}, as {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n *\n * @type {String[]}\n */\n this.propertySetIds = propertySetIds;\n\n /**\n * Indicates the XKTMetaObject meta object type.\n *\n * This defaults to \"default\".\n *\n * @type {string}\n */\n this.metaObjectType = metaObjectType;\n\n /**\n * Indicates the XKTMetaObject meta object name.\n *\n * This defaults to {@link XKTMetaObject#metaObjectId}.\n *\n * @type {string}\n */\n this.metaObjectName = metaObjectName;\n\n /**\n * The parent XKTMetaObject, if any.\n *\n * Will be null if there is no parent.\n *\n * @type {String}\n */\n this.parentMetaObjectId = parentMetaObjectId;\n }\n}\n\nexport {XKTMetaObject};","import {math} from \"../lib/math.js\";\nimport {geometryCompression} from \"./lib/geometryCompression.js\";\nimport {buildEdgeIndices} from \"./lib/buildEdgeIndices.js\";\nimport {isTriangleMeshSolid} from \"./lib/isTriangleMeshSolid.js\";\n\nimport {XKTMesh} from './XKTMesh.js';\nimport {XKTGeometry} from './XKTGeometry.js';\nimport {XKTEntity} from './XKTEntity.js';\nimport {XKTTile} from './XKTTile.js';\nimport {KDNode} from \"./KDNode.js\";\nimport {XKTMetaObject} from \"./XKTMetaObject.js\";\nimport {XKTPropertySet} from \"./XKTPropertySet.js\";\nimport {mergeVertices} from \"../lib/mergeVertices.js\";\nimport {XKT_INFO} from \"../XKT_INFO.js\";\nimport {XKTTexture} from \"./XKTTexture\";\nimport {XKTTextureSet} from \"./XKTTextureSet\";\nimport {encode, load} from \"@loaders.gl/core\";\nimport {KTX2BasisWriter} from \"@loaders.gl/textures\";\nimport {ImageLoader} from '@loaders.gl/images';\n\nconst tempVec4a = math.vec4([0, 0, 0, 1]);\nconst tempVec4b = math.vec4([0, 0, 0, 1]);\n\nconst tempMat4 = math.mat4();\nconst tempMat4b = math.mat4();\n\nconst kdTreeDimLength = new Float64Array(3);\n\n// XKT texture types\n\nconst COLOR_TEXTURE = 0;\nconst METALLIC_ROUGHNESS_TEXTURE = 1;\nconst NORMALS_TEXTURE = 2;\nconst EMISSIVE_TEXTURE = 3;\nconst OCCLUSION_TEXTURE = 4;\n\n// KTX2 encoding options for each texture type\n\nconst TEXTURE_ENCODING_OPTIONS = {}\nTEXTURE_ENCODING_OPTIONS[COLOR_TEXTURE] = {\n useSRGB: true,\n qualityLevel: 50,\n encodeUASTC: true,\n mipmaps: true\n};\nTEXTURE_ENCODING_OPTIONS[EMISSIVE_TEXTURE] = {\n useSRGB: true,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\nTEXTURE_ENCODING_OPTIONS[METALLIC_ROUGHNESS_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 50,\n mipmaps: true // Needed for GGX roughness shading\n};\nTEXTURE_ENCODING_OPTIONS[NORMALS_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\nTEXTURE_ENCODING_OPTIONS[OCCLUSION_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\n\n/**\n * A document model that represents the contents of an .XKT file.\n *\n * * An XKTModel contains {@link XKTTile}s, which spatially subdivide the model into axis-aligned, box-shaped regions.\n * * Each {@link XKTTile} contains {@link XKTEntity}s, which represent the objects within its region.\n * * Each {@link XKTEntity} has {@link XKTMesh}s, which each have a {@link XKTGeometry}. Each {@link XKTGeometry} can be shared by multiple {@link XKTMesh}s.\n * * Import models into an XKTModel using {@link parseGLTFJSONIntoXKTModel}, {@link parseIFCIntoXKTModel}, {@link parseCityJSONIntoXKTModel} etc.\n * * Build an XKTModel programmatically using {@link XKTModel#createGeometry}, {@link XKTModel#createMesh} and {@link XKTModel#createEntity}.\n * * Serialize an XKTModel to an ArrayBuffer using {@link writeXKTModelToArrayBuffer}.\n *\n * ## Usage\n *\n * See [main docs page](/docs/#javascript-api) for usage examples.\n *\n * @class XKTModel\n */\nclass XKTModel {\n\n /**\n * Constructs a new XKTModel.\n *\n * @param {*} [cfg] Configuration\n * @param {Number} [cfg.edgeThreshold=10]\n * @param {Number} [cfg.minTileSize=500]\n */\n constructor(cfg = {}) {\n\n /**\n * The model's ID, if available.\n *\n * Will be \"default\" by default.\n *\n * @type {String}\n */\n this.modelId = cfg.modelId || \"default\";\n\n /**\n * The project ID, if available.\n *\n * Will be an empty string by default.\n *\n * @type {String}\n */\n this.projectId = cfg.projectId || \"\";\n\n /**\n * The revision ID, if available.\n *\n * Will be an empty string by default.\n *\n * @type {String}\n */\n this.revisionId = cfg.revisionId || \"\";\n\n /**\n * The model author, if available.\n *\n * Will be an empty string by default.\n *\n * @property author\n * @type {String}\n */\n this.author = cfg.author || \"\";\n\n /**\n * The date the model was created, if available.\n *\n * Will be an empty string by default.\n *\n * @property createdAt\n * @type {String}\n */\n this.createdAt = cfg.createdAt || \"\";\n\n /**\n * The application that created the model, if available.\n *\n * Will be an empty string by default.\n *\n * @property creatingApplication\n * @type {String}\n */\n this.creatingApplication = cfg.creatingApplication || \"\";\n\n /**\n * The model schema version, if available.\n *\n * In the case of IFC, this could be \"IFC2x3\" or \"IFC4\", for example.\n *\n * Will be an empty string by default.\n *\n * @property schema\n * @type {String}\n */\n this.schema = cfg.schema || \"\";\n\n /**\n * The XKT format version.\n *\n * @property xktVersion;\n * @type {number}\n */\n this.xktVersion = XKT_INFO.xktVersion;\n\n /**\n *\n * @type {Number|number}\n */\n this.edgeThreshold = cfg.edgeThreshold || 10;\n\n /**\n * Minimum diagonal size of the boundary of an {@link XKTTile}.\n *\n * @type {Number|number}\n */\n this.minTileSize = cfg.minTileSize || 500;\n\n /**\n * Optional overall AABB that contains all the {@link XKTEntity}s we'll create in this model, if previously known.\n *\n * This is the AABB of a complete set of input files that are provided as a split-model set for conversion.\n *\n * This is used to help the {@link XKTTile.aabb}s within split models align neatly with each other, as we\n * build them with a k-d tree in {@link XKTModel#finalize}. Without this, the AABBs of the different parts\n * tend to misalign slightly, resulting in excess number of {@link XKTTile}s, which degrades memory and rendering\n * performance when the XKT is viewer in the xeokit Viewer.\n */\n this.modelAABB = cfg.modelAABB;\n\n /**\n * Map of {@link XKTPropertySet}s within this XKTModel, each mapped to {@link XKTPropertySet#propertySetId}.\n *\n * Created by {@link XKTModel#createPropertySet}.\n *\n * @type {{String:XKTPropertySet}}\n */\n this.propertySets = {};\n\n /**\n * {@link XKTPropertySet}s within this XKTModel.\n *\n * Each XKTPropertySet holds its position in this list in {@link XKTPropertySet#propertySetIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTPropertySet[]}\n */\n this.propertySetsList = [];\n\n /**\n * Map of {@link XKTMetaObject}s within this XKTModel, each mapped to {@link XKTMetaObject#metaObjectId}.\n *\n * Created by {@link XKTModel#createMetaObject}.\n *\n * @type {{String:XKTMetaObject}}\n */\n this.metaObjects = {};\n\n /**\n * {@link XKTMetaObject}s within this XKTModel.\n *\n * Each XKTMetaObject holds its position in this list in {@link XKTMetaObject#metaObjectIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTMetaObject[]}\n */\n this.metaObjectsList = [];\n\n /**\n * The positions of all shared {@link XKTGeometry}s are de-quantized using this singular\n * de-quantization matrix.\n *\n * This de-quantization matrix is generated from the collective Local-space boundary of the\n * positions of all shared {@link XKTGeometry}s.\n *\n * @type {Float32Array}\n */\n this.reusedGeometriesDecodeMatrix = new Float32Array(16);\n\n /**\n * Map of {@link XKTGeometry}s within this XKTModel, each mapped to {@link XKTGeometry#geometryId}.\n *\n * Created by {@link XKTModel#createGeometry}.\n *\n * @type {{Number:XKTGeometry}}\n */\n this.geometries = {};\n\n /**\n * List of {@link XKTGeometry}s within this XKTModel, in the order they were created.\n *\n * Each XKTGeometry holds its position in this list in {@link XKTGeometry#geometryIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTGeometry[]}\n */\n this.geometriesList = [];\n\n /**\n * Map of {@link XKTTexture}s within this XKTModel, each mapped to {@link XKTTexture#textureId}.\n *\n * Created by {@link XKTModel#createTexture}.\n *\n * @type {{Number:XKTTexture}}\n */\n this.textures = {};\n\n /**\n * List of {@link XKTTexture}s within this XKTModel, in the order they were created.\n *\n * Each XKTTexture holds its position in this list in {@link XKTTexture#textureIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTexture[]}\n */\n this.texturesList = [];\n\n /**\n * Map of {@link XKTTextureSet}s within this XKTModel, each mapped to {@link XKTTextureSet#textureSetId}.\n *\n * Created by {@link XKTModel#createTextureSet}.\n *\n * @type {{Number:XKTTextureSet}}\n */\n this.textureSets = {};\n\n /**\n * List of {@link XKTTextureSet}s within this XKTModel, in the order they were created.\n *\n * Each XKTTextureSet holds its position in this list in {@link XKTTextureSet#textureSetIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTextureSet[]}\n */\n this.textureSetsList = [];\n\n /**\n * Map of {@link XKTMesh}s within this XKTModel, each mapped to {@link XKTMesh#meshId}.\n *\n * Created by {@link XKTModel#createMesh}.\n *\n * @type {{Number:XKTMesh}}\n */\n this.meshes = {};\n\n /**\n * List of {@link XKTMesh}s within this XKTModel, in the order they were created.\n *\n * Each XKTMesh holds its position in this list in {@link XKTMesh#meshIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTMesh[]}\n */\n this.meshesList = [];\n\n /**\n * Map of {@link XKTEntity}s within this XKTModel, each mapped to {@link XKTEntity#entityId}.\n *\n * Created by {@link XKTModel#createEntity}.\n *\n * @type {{String:XKTEntity}}\n */\n this.entities = {};\n\n /**\n * {@link XKTEntity}s within this XKTModel.\n *\n * Each XKTEntity holds its position in this list in {@link XKTEntity#entityIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTEntity[]}\n */\n this.entitiesList = [];\n\n /**\n * {@link XKTTile}s within this XKTModel.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTile[]}\n */\n this.tilesList = [];\n\n /**\n * The axis-aligned 3D World-space boundary of this XKTModel.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {Float64Array}\n */\n this.aabb = math.AABB3();\n\n /**\n * Indicates if this XKTModel has been finalized.\n *\n * Set ````true```` by {@link XKTModel#finalize}.\n *\n * @type {boolean}\n */\n this.finalized = false;\n }\n\n /**\n * Creates an {@link XKTPropertySet} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.propertySetId Unique ID for the {@link XKTPropertySet}.\n * @param {String} [params.propertySetType=\"default\"] A meta type for the {@link XKTPropertySet}.\n * @param {String} [params.propertySetName] Human-readable name for the {@link XKTPropertySet}. Defaults to the ````propertySetId```` parameter.\n * @param {String[]} params.properties Properties for the {@link XKTPropertySet}.\n * @returns {XKTPropertySet} The new {@link XKTPropertySet}.\n */\n createPropertySet(params) {\n\n if (!params) {\n throw \"[XKTModel.createPropertySet] Parameters expected: params\";\n }\n\n if (params.propertySetId === null || params.propertySetId === undefined) {\n throw \"[XKTModel.createPropertySet] Parameter expected: params.propertySetId\";\n }\n\n if (params.properties === null || params.properties === undefined) {\n throw \"[XKTModel.createPropertySet] Parameter expected: params.properties\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more property sets\");\n return;\n }\n\n if (this.propertySets[params.propertySetId]) {\n // console.error(\"XKTPropertySet already exists with this ID: \" + params.propertySetId);\n return;\n }\n\n const propertySetId = params.propertySetId;\n const propertySetType = params.propertySetType || \"Default\";\n const propertySetName = params.propertySetName || params.propertySetId;\n const properties = params.properties || [];\n\n const propertySet = new XKTPropertySet(propertySetId, propertySetType, propertySetName, properties);\n\n this.propertySets[propertySetId] = propertySet;\n this.propertySetsList.push(propertySet);\n\n return propertySet;\n }\n\n /**\n * Creates an {@link XKTMetaObject} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.metaObjectId Unique ID for the {@link XKTMetaObject}.\n * @param {String} params.propertySetIds ID of one or more property sets that contains additional metadata about\n * this {@link XKTMetaObject}. The property sets could be stored externally (ie not managed at all by the XKT file),\n * or could be {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n * @param {String} [params.metaObjectType=\"default\"] A meta type for the {@link XKTMetaObject}. Can be anything,\n * but is usually an IFC type, such as \"IfcSite\" or \"IfcWall\".\n * @param {String} [params.metaObjectName] Human-readable name for the {@link XKTMetaObject}. Defaults to the ````metaObjectId```` parameter.\n * @param {String} [params.parentMetaObjectId] ID of the parent {@link XKTMetaObject}, if any. Defaults to the ````metaObjectId```` parameter.\n * @returns {XKTMetaObject} The new {@link XKTMetaObject}.\n */\n createMetaObject(params) {\n\n if (!params) {\n throw \"[XKTModel.createMetaObject] Parameters expected: params\";\n }\n\n if (params.metaObjectId === null || params.metaObjectId === undefined) {\n throw \"[XKTModel.createMetaObject] Parameter expected: params.metaObjectId\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more meta objects\");\n return;\n }\n\n if (this.metaObjects[params.metaObjectId]) {\n // console.error(\"XKTMetaObject already exists with this ID: \" + params.metaObjectId);\n return;\n }\n\n const metaObjectId = params.metaObjectId;\n const propertySetIds = params.propertySetIds;\n const metaObjectType = params.metaObjectType || \"Default\";\n const metaObjectName = params.metaObjectName || params.metaObjectId;\n const parentMetaObjectId = params.parentMetaObjectId;\n\n const metaObject = new XKTMetaObject(metaObjectId, propertySetIds, metaObjectType, metaObjectName, parentMetaObjectId);\n\n this.metaObjects[metaObjectId] = metaObject;\n this.metaObjectsList.push(metaObject);\n\n if (!parentMetaObjectId) {\n if (!this._rootMetaObject) {\n this._rootMetaObject = metaObject;\n }\n }\n\n return metaObject;\n }\n\n /**\n * Creates an {@link XKTTexture} within this XKTModel.\n *\n * Registers the new {@link XKTTexture} in {@link XKTModel#textures} and {@link XKTModel#texturesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureId Unique ID for the {@link XKTTexture}.\n * @param {String} [params.src] Source of an image file for the texture.\n * @param {Buffer} [params.imageData] Image data for the texture.\n * @param {Number} [params.mediaType] Media type (ie. MIME type) of ````imageData````. Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n * @param {Number} [params.width] Texture width, used with ````imageData````. Ignored for compressed textures.\n * @param {Number} [params.height] Texture height, used with ````imageData````. Ignored for compressed textures.\n * @param {Boolean} [params.compressed=true] Whether to compress the texture.\n * @param {Number} [params.minFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers less than one pixel. Supported\n * values are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter}, {@link NearestMipMapNearestFilter},\n * {@link NearestMipMapLinearFilter} and {@link LinearMipMapLinearFilter}. Ignored for compressed textures.\n * @param {Number} [params.magFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}. Ignored for compressed textures.\n * @param {Number} [params.wrapS=RepeatWrapping] Wrap parameter for texture coordinate *S*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @param {Number} [params.wrapT=RepeatWrapping] Wrap parameter for texture coordinate *T*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * {@param {Number} [params.wrapR=RepeatWrapping] Wrap parameter for texture coordinate *R*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @returns {XKTTexture} The new {@link XKTTexture}.\n */\n createTexture(params) {\n\n if (!params) {\n throw \"[XKTModel.createTexture] Parameters expected: params\";\n }\n\n if (params.textureId === null || params.textureId === undefined) {\n throw \"[XKTModel.createTexture] Parameter expected: params.textureId\";\n }\n\n if (!params.imageData && !params.src) {\n throw \"[XKTModel.createTexture] Parameter expected: params.imageData or params.src\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more textures\");\n return;\n }\n\n if (this.textures[params.textureId]) {\n console.error(\"XKTTexture already exists with this ID: \" + params.textureId);\n return;\n }\n\n if (params.src) {\n const fileExt = params.src.split('.').pop();\n if (fileExt !== \"jpg\" && fileExt !== \"jpeg\" && fileExt !== \"png\") {\n console.error(`XKTModel does not support image files with extension '${fileExt}' - won't create texture '${params.textureId}`);\n return;\n }\n }\n\n const textureId = params.textureId;\n\n const texture = new XKTTexture({\n textureId,\n imageData: params.imageData,\n mediaType: params.mediaType,\n minFilter: params.minFilter,\n magFilter: params.magFilter,\n wrapS: params.wrapS,\n wrapT: params.wrapT,\n wrapR: params.wrapR,\n width: params.width,\n height: params.height,\n compressed: (params.compressed !== false),\n src: params.src\n });\n\n this.textures[textureId] = texture;\n this.texturesList.push(texture);\n\n return texture;\n }\n\n /**\n * Creates an {@link XKTTextureSet} within this XKTModel.\n *\n * Registers the new {@link XKTTextureSet} in {@link XKTModel#textureSets} and {@link XKTModel#.textureSetsList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureSetId Unique ID for the {@link XKTTextureSet}.\n * @param {*} [params.colorTextureId] ID of *RGBA* base color {@link XKTTexture}, with color in *RGB* and alpha in *A*.\n * @param {*} [params.metallicRoughnessTextureId] ID of *RGBA* metal-roughness {@link XKTTexture}, with the metallic factor in *R*, and roughness factor in *G*.\n * @param {*} [params.normalsTextureId] ID of *RGBA* normal {@link XKTTexture}, with normal map vectors in *RGB*.\n * @param {*} [params.emissiveTextureId] ID of *RGBA* emissive {@link XKTTexture}, with emissive color in *RGB*.\n * @param {*} [params.occlusionTextureId] ID of *RGBA* occlusion {@link XKTTexture}, with occlusion factor in *R*.\n * @returns {XKTTextureSet} The new {@link XKTTextureSet}.\n */\n createTextureSet(params) {\n\n if (!params) {\n throw \"[XKTModel.createTextureSet] Parameters expected: params\";\n }\n\n if (params.textureSetId === null || params.textureSetId === undefined) {\n throw \"[XKTModel.createTextureSet] Parameter expected: params.textureSetId\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more textureSets\");\n return;\n }\n\n if (this.textureSets[params.textureSetId]) {\n console.error(\"XKTTextureSet already exists with this ID: \" + params.textureSetId);\n return;\n }\n\n let colorTexture;\n if (params.colorTextureId !== undefined && params.colorTextureId !== null) {\n colorTexture = this.textures[params.colorTextureId];\n if (!colorTexture) {\n console.error(`Texture not found: ${params.colorTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n colorTexture.channel = COLOR_TEXTURE;\n }\n\n let metallicRoughnessTexture;\n if (params.metallicRoughnessTextureId !== undefined && params.metallicRoughnessTextureId !== null) {\n metallicRoughnessTexture = this.textures[params.metallicRoughnessTextureId];\n if (!metallicRoughnessTexture) {\n console.error(`Texture not found: ${params.metallicRoughnessTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n metallicRoughnessTexture.channel = METALLIC_ROUGHNESS_TEXTURE;\n }\n\n let normalsTexture;\n if (params.normalsTextureId !== undefined && params.normalsTextureId !== null) {\n normalsTexture = this.textures[params.normalsTextureId];\n if (!normalsTexture) {\n console.error(`Texture not found: ${params.normalsTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n normalsTexture.channel = NORMALS_TEXTURE;\n }\n\n let emissiveTexture;\n if (params.emissiveTextureId !== undefined && params.emissiveTextureId !== null) {\n emissiveTexture = this.textures[params.emissiveTextureId];\n if (!emissiveTexture) {\n console.error(`Texture not found: ${params.emissiveTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n emissiveTexture.channel = EMISSIVE_TEXTURE;\n }\n\n let occlusionTexture;\n if (params.occlusionTextureId !== undefined && params.occlusionTextureId !== null) {\n occlusionTexture = this.textures[params.occlusionTextureId];\n if (!occlusionTexture) {\n console.error(`Texture not found: ${params.occlusionTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n occlusionTexture.channel = OCCLUSION_TEXTURE;\n }\n\n const textureSet = new XKTTextureSet({\n textureSetId: params.textureSetId,\n textureSetIndex: this.textureSetsList.length,\n colorTexture,\n metallicRoughnessTexture,\n normalsTexture,\n emissiveTexture,\n occlusionTexture\n });\n\n this.textureSets[params.textureSetId] = textureSet;\n this.textureSetsList.push(textureSet);\n\n return textureSet;\n }\n\n /**\n * Creates an {@link XKTGeometry} within this XKTModel.\n *\n * Registers the new {@link XKTGeometry} in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.geometryId Unique ID for the {@link XKTGeometry}.\n * @param {String} params.primitiveType The type of {@link XKTGeometry}: \"triangles\", \"lines\" or \"points\".\n * @param {Float64Array} params.positions Floating-point Local-space vertex positions for the {@link XKTGeometry}. Required for all primitive types.\n * @param {Number[]} [params.normals] Floating-point vertex normals for the {@link XKTGeometry}. Only used with triangles primitives. Ignored for points and lines.\n * @param {Number[]} [params.colors] Floating-point RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.uvs] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uv````.\n * @param {Number[]} [params.uv] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uvs````.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Uint32Array} [params.indices] Indices for the {@link XKTGeometry}. Required for triangles and lines primitives. Ignored for points.\n * @param {Number} [params.edgeThreshold=10]\n * @returns {XKTGeometry} The new {@link XKTGeometry}.\n */\n createGeometry(params) {\n\n if (!params) {\n throw \"[XKTModel.createGeometry] Parameters expected: params\";\n }\n\n if (params.geometryId === null || params.geometryId === undefined) {\n throw \"[XKTModel.createGeometry] Parameter expected: params.geometryId\";\n }\n\n if (!params.primitiveType) {\n throw \"[XKTModel.createGeometry] Parameter expected: params.primitiveType\";\n }\n\n if (!params.positions) {\n throw \"[XKTModel.createGeometry] Parameter expected: params.positions\";\n }\n\n const triangles = params.primitiveType === \"triangles\";\n const points = params.primitiveType === \"points\";\n const lines = params.primitiveType === \"lines\";\n const line_strip = params.primitiveType === \"line-strip\";\n const line_loop = params.primitiveType === \"line-loop\";\n const triangle_strip = params.primitiveType === \"triangle-strip\";\n const triangle_fan = params.primitiveType === \"triangle-fan\";\n\n if (!triangles && !points && !lines && !line_strip && !line_loop) {\n throw \"[XKTModel.createGeometry] Unsupported value for params.primitiveType: \"\n + params.primitiveType\n + \"' - supported values are 'triangles', 'points', 'lines', 'line-strip', 'triangle-strip' and 'triangle-fan\";\n }\n\n if (triangles) {\n if (!params.indices) {\n params.indices = this._createDefaultIndices()\n throw \"[XKTModel.createGeometry] Parameter expected for 'triangles' primitive: params.indices\";\n }\n }\n\n if (points) {\n if (!params.colors && !params.colorsCompressed) {\n console.error(\"[XKTModel.createGeometry] Parameter expected for 'points' primitive: params.colors or params.colorsCompressed\");\n return;\n }\n }\n\n if (lines) {\n if (!params.indices) {\n throw \"[XKTModel.createGeometry] Parameter expected for 'lines' primitive: params.indices\";\n }\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more geometries\");\n return;\n }\n\n if (this.geometries[params.geometryId]) {\n console.error(\"XKTGeometry already exists with this ID: \" + params.geometryId);\n return;\n }\n\n const geometryId = params.geometryId;\n const primitiveType = params.primitiveType;\n const positions = new Float64Array(params.positions); // May modify in #finalize\n\n const xktGeometryCfg = {\n geometryId: geometryId,\n geometryIndex: this.geometriesList.length,\n primitiveType: primitiveType,\n positions: positions,\n uvs: params.uvs || params.uv\n }\n\n if (triangles) {\n if (params.normals) {\n xktGeometryCfg.normals = new Float32Array(params.normals);\n }\n if (params.indices) {\n xktGeometryCfg.indices = params.indices;\n } else {\n xktGeometryCfg.indices = this._createDefaultIndices(positions.length / 3);\n }\n }\n\n if (points) {\n if (params.colorsCompressed) {\n xktGeometryCfg.colorsCompressed = new Uint8Array(params.colorsCompressed);\n\n } else {\n const colors = params.colors;\n const colorsCompressed = new Uint8Array(colors.length);\n for (let i = 0, len = colors.length; i < len; i++) {\n colorsCompressed[i] = Math.floor(colors[i] * 255);\n }\n xktGeometryCfg.colorsCompressed = colorsCompressed;\n }\n }\n\n if (lines) {\n xktGeometryCfg.indices = params.indices;\n }\n\n if (triangles) {\n\n if (!params.normals && !params.uv && !params.uvs) {\n\n // Building models often duplicate positions to allow face-aligned vertex normals; when we're not\n // providing normals for a geometry, it becomes possible to merge duplicate vertex positions within it.\n\n // TODO: Make vertex merging also merge normals?\n\n const mergedPositions = [];\n const mergedIndices = [];\n mergeVertices(xktGeometryCfg.positions, xktGeometryCfg.indices, mergedPositions, mergedIndices);\n xktGeometryCfg.positions = new Float64Array(mergedPositions);\n xktGeometryCfg.indices = mergedIndices;\n }\n\n xktGeometryCfg.edgeIndices = buildEdgeIndices(xktGeometryCfg.positions, xktGeometryCfg.indices, null, params.edgeThreshold || this.edgeThreshold || 10);\n }\n\n const geometry = new XKTGeometry(xktGeometryCfg);\n\n this.geometries[geometryId] = geometry;\n this.geometriesList.push(geometry);\n\n return geometry;\n }\n\n _createDefaultIndices(numIndices) {\n const indices = [];\n for (let i = 0; i < numIndices; i++) {\n indices.push(i);\n }\n return indices;\n }\n\n /**\n * Creates an {@link XKTMesh} within this XKTModel.\n *\n * An {@link XKTMesh} can be owned by one {@link XKTEntity}, which can own multiple {@link XKTMesh}es.\n *\n * Registers the new {@link XKTMesh} in {@link XKTModel#meshes} and {@link XKTModel#meshesList}.\n *\n * @param {*} params Method parameters.\n * @param {Number} params.meshId Unique ID for the {@link XKTMesh}.\n * @param {Number} params.geometryId ID of an existing {@link XKTGeometry} in {@link XKTModel#geometries}.\n * @param {Number} [params.textureSetId] Unique ID of an {@link XKTTextureSet} in {@link XKTModel#textureSets}.\n * @param {Float32Array} params.color RGB color for the {@link XKTMesh}, with each color component in range [0..1].\n * @param {Number} [params.metallic=0] How metallic the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully dielectric material, while ````1```` indicates fully metallic.\n * @param {Number} [params.roughness=1] How rough the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully smooth, while ````1```` indicates fully rough.\n * @param {Number} params.opacity Opacity factor for the {@link XKTMesh}, in range [0..1].\n * @param {Float64Array} [params.matrix] Modeling matrix for the {@link XKTMesh}. Overrides ````position````, ````scale```` and ````rotation```` parameters.\n * @param {Number[]} [params.position=[0,0,0]] Position of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.scale=[1,1,1]] Scale of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.rotation=[0,0,0]] Rotation of the {@link XKTMesh} as Euler angles given in degrees, for each of the X, Y and Z axis. Overridden by the ````matrix```` parameter.\n * @returns {XKTMesh} The new {@link XKTMesh}.\n */\n createMesh(params) {\n\n if (params.meshId === null || params.meshId === undefined) {\n throw \"[XKTModel.createMesh] Parameter expected: params.meshId\";\n }\n\n if (params.geometryId === null || params.geometryId === undefined) {\n throw \"[XKTModel.createMesh] Parameter expected: params.geometryId\";\n }\n\n if (this.finalized) {\n throw \"[XKTModel.createMesh] XKTModel has been finalized, can't add more meshes\";\n }\n\n if (this.meshes[params.meshId]) {\n console.error(\"XKTMesh already exists with this ID: \" + params.meshId);\n return;\n }\n\n const geometry = this.geometries[params.geometryId];\n\n if (!geometry) {\n console.error(\"XKTGeometry not found: \" + params.geometryId);\n return;\n }\n\n geometry.numInstances++;\n\n let textureSet = null;\n if (params.textureSetId) {\n textureSet = this.textureSets[params.textureSetId];\n if (!textureSet) {\n console.error(\"XKTTextureSet not found: \" + params.textureSetId);\n return;\n }\n textureSet.numInstances++;\n }\n\n let matrix = params.matrix;\n\n if (!matrix) {\n\n const position = params.position;\n const scale = params.scale;\n const rotation = params.rotation;\n\n if (position || scale || rotation) {\n matrix = math.identityMat4();\n const quaternion = math.eulerToQuaternion(rotation || [0, 0, 0], \"XYZ\", math.identityQuaternion());\n math.composeMat4(position || [0, 0, 0], quaternion, scale || [1, 1, 1], matrix)\n\n } else {\n matrix = math.identityMat4();\n }\n }\n\n const meshIndex = this.meshesList.length;\n\n const mesh = new XKTMesh({\n meshId: params.meshId,\n meshIndex,\n matrix,\n geometry,\n color: params.color,\n metallic: params.metallic,\n roughness: params.roughness,\n opacity: params.opacity,\n textureSet\n });\n\n this.meshes[mesh.meshId] = mesh;\n this.meshesList.push(mesh);\n\n return mesh;\n }\n\n /**\n * Creates an {@link XKTEntity} within this XKTModel.\n *\n * Registers the new {@link XKTEntity} in {@link XKTModel#entities} and {@link XKTModel#entitiesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.entityId Unique ID for the {@link XKTEntity}.\n * @param {String[]} params.meshIds IDs of {@link XKTMesh}es used by the {@link XKTEntity}. Note that each {@link XKTMesh} can only be used by one {@link XKTEntity}.\n * @returns {XKTEntity} The new {@link XKTEntity}.\n */\n createEntity(params) {\n\n if (!params) {\n throw \"[XKTModel.createEntity] Parameters expected: params\";\n }\n\n if (params.entityId === null || params.entityId === undefined) {\n throw \"[XKTModel.createEntity] Parameter expected: params.entityId\";\n }\n\n if (!params.meshIds) {\n throw \"[XKTModel.createEntity] Parameter expected: params.meshIds\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more entities\");\n return;\n }\n\n if (params.meshIds.length === 0) {\n console.warn(\"XKTEntity has no meshes - won't create: \" + params.entityId);\n return;\n }\n\n let entityId = params.entityId;\n\n if (this.entities[entityId]) {\n while (this.entities[entityId]) {\n entityId = math.createUUID();\n }\n console.error(\"XKTEntity already exists with this ID: \" + params.entityId + \" - substituting random ID instead: \" + entityId);\n }\n\n const meshIds = params.meshIds;\n const meshes = [];\n\n for (let meshIdIdx = 0, meshIdLen = meshIds.length; meshIdIdx < meshIdLen; meshIdIdx++) {\n\n const meshId = meshIds[meshIdIdx];\n const mesh = this.meshes[meshId];\n\n if (!mesh) {\n console.error(\"XKTMesh found: \" + meshId);\n continue;\n }\n\n if (mesh.entity) {\n console.error(\"XKTMesh \" + meshId + \" already used by XKTEntity \" + mesh.entity.entityId);\n continue;\n }\n\n meshes.push(mesh);\n }\n\n const entity = new XKTEntity(entityId, meshes);\n\n for (let i = 0, len = meshes.length; i < len; i++) {\n const mesh = meshes[i];\n mesh.entity = entity;\n }\n\n this.entities[entityId] = entity;\n this.entitiesList.push(entity);\n\n return entity;\n }\n\n /**\n * Creates a default {@link XKTMetaObject} for each {@link XKTEntity} that does not already have one.\n */\n createDefaultMetaObjects() {\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n\n const entity = this.entitiesList[i];\n const metaObjectId = entity.entityId;\n const metaObject = this.metaObjects[metaObjectId];\n\n if (!metaObject) {\n\n if (!this._rootMetaObject) {\n this._rootMetaObject = this.createMetaObject({\n metaObjectId: this.modelId,\n metaObjectType: \"Default\",\n metaObjectName: this.modelId\n });\n }\n\n this.createMetaObject({\n metaObjectId: metaObjectId,\n metaObjectType: \"Default\",\n metaObjectName: \"\" + metaObjectId,\n parentMetaObjectId: this._rootMetaObject.metaObjectId\n });\n }\n }\n }\n\n /**\n * Finalizes this XKTModel.\n *\n * After finalizing, we may then serialize the model to an array buffer using {@link writeXKTModelToArrayBuffer}.\n *\n * Logs error and does nothing if this XKTModel has already been finalized.\n *\n * Internally, this method:\n *\n * * for each {@link XKTEntity} that doesn't already have a {@link XKTMetaObject}, creates one with {@link XKTMetaObject#metaObjectType} set to \"default\"\n * * sets each {@link XKTEntity}'s {@link XKTEntity#hasReusedGeometries} true if it shares its {@link XKTGeometry}s with other {@link XKTEntity}s,\n * * creates each {@link XKTEntity}'s {@link XKTEntity#aabb},\n * * creates {@link XKTTile}s in {@link XKTModel#tilesList}, and\n * * sets {@link XKTModel#finalized} ````true````.\n */\n async finalize() {\n\n if (this.finalized) {\n console.log(\"XKTModel already finalized\");\n return;\n }\n\n this._removeUnusedTextures();\n\n await this._compressTextures();\n\n this._bakeSingleUseGeometryPositions();\n\n this._bakeAndOctEncodeNormals();\n\n this._createEntityAABBs();\n\n const rootKDNode = this._createKDTree();\n\n this.entitiesList = [];\n\n this._createTilesFromKDTree(rootKDNode);\n\n this._createReusedGeometriesDecodeMatrix();\n\n this._flagSolidGeometries();\n\n this.aabb.set(rootKDNode.aabb);\n\n this.finalized = true;\n }\n\n _removeUnusedTextures() {\n let texturesList = [];\n const textures = {};\n for (let i = 0, leni = this.texturesList.length; i < leni; i++) {\n const texture = this.texturesList[i];\n if (texture.channel !== null) {\n texture.textureIndex = texturesList.length;\n texturesList.push(texture);\n textures[texture.textureId] = texture;\n }\n }\n this.texturesList = texturesList;\n this.textures = textures;\n }\n\n _compressTextures() {\n let countTextures = this.texturesList.length;\n return new Promise((resolve) => {\n if (countTextures === 0) {\n resolve();\n return;\n }\n for (let i = 0, leni = this.texturesList.length; i < leni; i++) {\n const texture = this.texturesList[i];\n const encodingOptions = TEXTURE_ENCODING_OPTIONS[texture.channel] || {};\n\n if (texture.src) {\n\n // XKTTexture created with XKTModel#createTexture({ src: ... })\n\n const src = texture.src;\n const fileExt = src.split('.').pop();\n switch (fileExt) {\n case \"jpeg\":\n case \"jpg\":\n case \"png\":\n load(src, ImageLoader, {\n image: {\n type: \"data\"\n }\n }).then((imageData) => {\n if (texture.compressed) {\n encode(imageData, KTX2BasisWriter, encodingOptions).then((encodedData) => {\n const encodedImageData = new Uint8Array(encodedData);\n texture.imageData = encodedImageData;\n if (--countTextures <= 0) {\n resolve();\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to encode image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n } else {\n texture.imageData = new Uint8Array(1);\n if (--countTextures <= 0) {\n resolve();\n }\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to load image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n break;\n default:\n if (--countTextures <= 0) {\n resolve();\n }\n break;\n }\n }\n\n if (texture.imageData) {\n\n // XKTTexture created with XKTModel#createTexture({ imageData: ... })\n\n if (texture.compressed) {\n encode(texture.imageData, KTX2BasisWriter, encodingOptions)\n .then((encodedImageData) => {\n texture.imageData = new Uint8Array(encodedImageData);\n if (--countTextures <= 0) {\n resolve();\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to encode image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n } else {\n texture.imageData = new Uint8Array(1);\n if (--countTextures <= 0) {\n resolve();\n }\n }\n }\n }\n });\n }\n\n _bakeSingleUseGeometryPositions() {\n\n for (let j = 0, lenj = this.meshesList.length; j < lenj; j++) {\n\n const mesh = this.meshesList[j];\n\n const geometry = mesh.geometry;\n\n if (geometry.numInstances === 1) {\n\n const matrix = mesh.matrix;\n\n if (matrix && (!math.isIdentityMat4(matrix))) {\n\n const positions = geometry.positions;\n\n for (let i = 0, len = positions.length; i < len; i += 3) {\n\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n tempVec4a[3] = 1;\n\n math.transformPoint4(matrix, tempVec4a, tempVec4b);\n\n positions[i + 0] = tempVec4b[0];\n positions[i + 1] = tempVec4b[1];\n positions[i + 2] = tempVec4b[2];\n }\n }\n }\n }\n }\n\n _bakeAndOctEncodeNormals() {\n\n for (let i = 0, len = this.meshesList.length; i < len; i++) {\n\n const mesh = this.meshesList[i];\n const geometry = mesh.geometry;\n\n if (geometry.normals && !geometry.normalsOctEncoded) {\n\n geometry.normalsOctEncoded = new Int8Array(geometry.normals.length);\n\n if (geometry.numInstances > 1) {\n geometryCompression.octEncodeNormals(geometry.normals, geometry.normals.length, geometry.normalsOctEncoded, 0);\n\n } else {\n const modelNormalMatrix = math.inverseMat4(math.transposeMat4(mesh.matrix, tempMat4), tempMat4b);\n geometryCompression.transformAndOctEncodeNormals(modelNormalMatrix, geometry.normals, geometry.normals.length, geometry.normalsOctEncoded, 0);\n }\n }\n }\n }\n\n _createEntityAABBs() {\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n\n const entity = this.entitiesList[i];\n const entityAABB = entity.aabb;\n const meshes = entity.meshes;\n\n math.collapseAABB3(entityAABB);\n\n for (let j = 0, lenj = meshes.length; j < lenj; j++) {\n\n const mesh = meshes[j];\n const geometry = mesh.geometry;\n const matrix = mesh.matrix;\n\n if (geometry.numInstances > 1) {\n\n const positions = geometry.positions;\n for (let i = 0, len = positions.length; i < len; i += 3) {\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n tempVec4a[3] = 1;\n math.transformPoint4(matrix, tempVec4a, tempVec4b);\n math.expandAABB3Point3(entityAABB, tempVec4b);\n }\n\n } else {\n\n const positions = geometry.positions;\n for (let i = 0, len = positions.length; i < len; i += 3) {\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n math.expandAABB3Point3(entityAABB, tempVec4a);\n }\n }\n }\n }\n }\n\n _createKDTree() {\n\n let aabb;\n if (this.modelAABB) {\n aabb = this.modelAABB; // Pre-known uber AABB\n } else {\n aabb = math.collapseAABB3();\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n const entity = this.entitiesList[i];\n math.expandAABB3(aabb, entity.aabb);\n }\n }\n\n const rootKDNode = new KDNode(aabb);\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n const entity = this.entitiesList[i];\n this._insertEntityIntoKDTree(rootKDNode, entity);\n }\n\n return rootKDNode;\n }\n\n _insertEntityIntoKDTree(kdNode, entity) {\n\n const nodeAABB = kdNode.aabb;\n const entityAABB = entity.aabb;\n\n const nodeAABBDiag = math.getAABB3Diag(nodeAABB);\n\n if (nodeAABBDiag < this.minTileSize) {\n kdNode.entities = kdNode.entities || [];\n kdNode.entities.push(entity);\n math.expandAABB3(nodeAABB, entityAABB);\n return;\n }\n\n if (kdNode.left) {\n if (math.containsAABB3(kdNode.left.aabb, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.left, entity);\n return;\n }\n }\n\n if (kdNode.right) {\n if (math.containsAABB3(kdNode.right.aabb, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.right, entity);\n return;\n }\n }\n\n kdTreeDimLength[0] = nodeAABB[3] - nodeAABB[0];\n kdTreeDimLength[1] = nodeAABB[4] - nodeAABB[1];\n kdTreeDimLength[2] = nodeAABB[5] - nodeAABB[2];\n\n let dim = 0;\n\n if (kdTreeDimLength[1] > kdTreeDimLength[dim]) {\n dim = 1;\n }\n\n if (kdTreeDimLength[2] > kdTreeDimLength[dim]) {\n dim = 2;\n }\n\n if (!kdNode.left) {\n const aabbLeft = nodeAABB.slice();\n aabbLeft[dim + 3] = ((nodeAABB[dim] + nodeAABB[dim + 3]) / 2.0);\n kdNode.left = new KDNode(aabbLeft);\n if (math.containsAABB3(aabbLeft, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.left, entity);\n return;\n }\n }\n\n if (!kdNode.right) {\n const aabbRight = nodeAABB.slice();\n aabbRight[dim] = ((nodeAABB[dim] + nodeAABB[dim + 3]) / 2.0);\n kdNode.right = new KDNode(aabbRight);\n if (math.containsAABB3(aabbRight, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.right, entity);\n return;\n }\n }\n\n kdNode.entities = kdNode.entities || [];\n kdNode.entities.push(entity);\n\n math.expandAABB3(nodeAABB, entityAABB);\n }\n\n _createTilesFromKDTree(rootKDNode) {\n this._createTilesFromKDNode(rootKDNode);\n }\n\n _createTilesFromKDNode(kdNode) {\n if (kdNode.entities && kdNode.entities.length > 0) {\n this._createTileFromEntities(kdNode);\n }\n if (kdNode.left) {\n this._createTilesFromKDNode(kdNode.left);\n }\n if (kdNode.right) {\n this._createTilesFromKDNode(kdNode.right);\n }\n }\n\n /**\n * Creates a tile from the given entities.\n *\n * For each single-use {@link XKTGeometry}, this method centers {@link XKTGeometry#positions} to make them relative to the\n * tile's center, then quantizes the positions to unsigned 16-bit integers, relative to the tile's boundary.\n *\n * @param kdNode\n */\n _createTileFromEntities(kdNode) {\n\n const tileAABB = kdNode.aabb;\n const entities = kdNode.entities;\n\n const tileCenter = math.getAABB3Center(tileAABB);\n const tileCenterNeg = math.mulVec3Scalar(tileCenter, -1, math.vec3());\n\n const rtcAABB = math.AABB3(); // AABB centered at the RTC origin\n\n rtcAABB[0] = tileAABB[0] - tileCenter[0];\n rtcAABB[1] = tileAABB[1] - tileCenter[1];\n rtcAABB[2] = tileAABB[2] - tileCenter[2];\n rtcAABB[3] = tileAABB[3] - tileCenter[0];\n rtcAABB[4] = tileAABB[4] - tileCenter[1];\n rtcAABB[5] = tileAABB[5] - tileCenter[2];\n\n for (let i = 0; i < entities.length; i++) {\n\n const entity = entities [i];\n\n const meshes = entity.meshes;\n\n for (let j = 0, lenj = meshes.length; j < lenj; j++) {\n\n const mesh = meshes[j];\n const geometry = mesh.geometry;\n\n if (!geometry.reused) { // Batched geometry\n\n const positions = geometry.positions;\n\n // Center positions relative to their tile's World-space center\n\n for (let k = 0, lenk = positions.length; k < lenk; k += 3) {\n\n positions[k + 0] -= tileCenter[0];\n positions[k + 1] -= tileCenter[1];\n positions[k + 2] -= tileCenter[2];\n }\n\n // Quantize positions relative to tile's RTC-space boundary\n\n geometryCompression.quantizePositions(positions, positions.length, rtcAABB, geometry.positionsQuantized);\n\n } else { // Instanced geometry\n\n // Post-multiply a translation to the mesh's modeling matrix\n // to center the entity's geometry instances to the tile RTC center\n\n //////////////////////////////\n // Why do we do this?\n // Seems to break various models\n /////////////////////////////////\n\n math.translateMat4v(tileCenterNeg, mesh.matrix);\n }\n }\n\n entity.entityIndex = this.entitiesList.length;\n\n this.entitiesList.push(entity);\n }\n\n const tile = new XKTTile(tileAABB, entities);\n\n this.tilesList.push(tile);\n }\n\n _createReusedGeometriesDecodeMatrix() {\n\n const tempVec3a = math.vec3();\n const reusedGeometriesAABB = math.collapseAABB3(math.AABB3());\n let countReusedGeometries = 0;\n\n for (let geometryIndex = 0, numGeometries = this.geometriesList.length; geometryIndex < numGeometries; geometryIndex++) {\n\n const geometry = this.geometriesList [geometryIndex];\n\n if (geometry.reused) { // Instanced geometry\n\n const positions = geometry.positions;\n\n for (let i = 0, len = positions.length; i < len; i += 3) {\n\n tempVec3a[0] = positions[i];\n tempVec3a[1] = positions[i + 1];\n tempVec3a[2] = positions[i + 2];\n\n math.expandAABB3Point3(reusedGeometriesAABB, tempVec3a);\n }\n\n countReusedGeometries++;\n }\n }\n\n if (countReusedGeometries > 0) {\n\n geometryCompression.createPositionsDecodeMatrix(reusedGeometriesAABB, this.reusedGeometriesDecodeMatrix);\n\n for (let geometryIndex = 0, numGeometries = this.geometriesList.length; geometryIndex < numGeometries; geometryIndex++) {\n\n const geometry = this.geometriesList [geometryIndex];\n\n if (geometry.reused) {\n geometryCompression.quantizePositions(geometry.positions, geometry.positions.length, reusedGeometriesAABB, geometry.positionsQuantized);\n }\n }\n\n } else {\n math.identityMat4(this.reusedGeometriesDecodeMatrix); // No need for this matrix, but we'll be tidy and set it to identity\n }\n }\n\n _flagSolidGeometries() {\n let maxNumPositions = 0;\n let maxNumIndices = 0;\n for (let i = 0, len = this.geometriesList.length; i < len; i++) {\n const geometry = this.geometriesList[i];\n if (geometry.primitiveType === \"triangles\") {\n if (geometry.positionsQuantized.length > maxNumPositions) {\n maxNumPositions = geometry.positionsQuantized.length;\n }\n if (geometry.indices.length > maxNumIndices) {\n maxNumIndices = geometry.indices.length;\n }\n }\n }\n let vertexIndexMapping = new Array(maxNumPositions / 3);\n let edges = new Array(maxNumIndices);\n for (let i = 0, len = this.geometriesList.length; i < len; i++) {\n const geometry = this.geometriesList[i];\n if (geometry.primitiveType === \"triangles\") {\n geometry.solid = isTriangleMeshSolid(geometry.indices, geometry.positionsQuantized, vertexIndexMapping, edges);\n }\n }\n }\n}\n\nexport {\n XKTModel\n}","/**\n * A property set within an {@link XKTModel}.\n *\n * These are shared among {@link XKTMetaObject}s.\n *\n * * Created by {@link XKTModel#createPropertySet}\n * * Stored in {@link XKTModel#propertySets} and {@link XKTModel#propertySetsList}\n * * Has an ID, a type, and a human-readable name\n *\n * @class XKTPropertySet\n */\nclass XKTPropertySet {\n\n /**\n * @private\n */\n constructor(propertySetId, propertySetType, propertySetName, properties) {\n\n /**\n * Unique ID of this ````XKTPropertySet```` in {@link XKTModel#propertySets}.\n *\n * @type {String}\n */\n this.propertySetId = propertySetId;\n\n /**\n * Indicates the ````XKTPropertySet````'s type.\n *\n * This defaults to \"default\".\n *\n * @type {string}\n */\n this.propertySetType = propertySetType;\n\n /**\n * Indicates the XKTPropertySet meta object name.\n *\n * This defaults to {@link XKTPropertySet#propertySetId}.\n *\n * @type {string}\n */\n this.propertySetName = propertySetName;\n\n /**\n * The properties within this ````XKTPropertySet````.\n *\n * @type {*[]}\n */\n this.properties = properties;\n }\n}\n\nexport {XKTPropertySet};","/**\n * A texture shared by {@link XKTTextureSet}s.\n *\n * * Created by {@link XKTModel#createTexture}\n * * Stored in {@link XKTTextureSet#textures}, {@link XKTModel#textures} and {@link XKTModel#texturesList}\n *\n * @class XKTTexture\n */\nimport {RepeatWrapping, LinearMipMapNearestFilter} from \"../constants\";\n\nclass XKTTexture {\n\n /**\n * @private\n */\n constructor(cfg) {\n\n /**\n * Unique ID of this XKTTexture in {@link XKTModel#textures}.\n *\n * @type {Number}\n */\n this.textureId = cfg.textureId;\n\n /**\n * Index of this XKTTexture in {@link XKTModel#texturesList};\n *\n * @type {Number}\n */\n this.textureIndex = cfg.textureIndex;\n\n /**\n * Texture image data.\n *\n * @type {Buffer}\n */\n this.imageData = cfg.imageData;\n\n /**\n * Which material channel this texture is applied to, as determined by its {@link XKTTextureSet}s.\n *\n * @type {Number}\n */\n this.channel = null;\n\n /**\n * Width of this XKTTexture.\n *\n * @type {Number}\n */\n this.width = cfg.width;\n\n /**\n * Height of this XKTTexture.\n *\n * @type {Number}\n */\n this.height = cfg.height;\n\n /**\n * Texture file source.\n *\n * @type {String}\n */\n this.src = cfg.src;\n\n /**\n * Whether this XKTTexture is to be compressed.\n *\n * @type {Boolean}\n */\n this.compressed = (!!cfg.compressed);\n\n /**\n * Media type of this XKTTexture.\n *\n * Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n *\n * Ignored for compressed textures.\n *\n * @type {Number}\n */\n this.mediaType = cfg.mediaType;\n\n /**\n * How the texture is sampled when a texel covers less than one pixel. Supported values\n * are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter},\n * {@link NearestMipMapNearestFilter}, {@link NearestMipMapLinearFilter}\n * and {@link LinearMipMapLinearFilter}.\n *\n * Ignored for compressed textures.\n *\n * @type {Number}\n */\n this.minFilter = cfg.minFilter || LinearMipMapNearestFilter;\n\n /**\n * How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}.\n *\n * Ignored for compressed textures.\n *\n * @type {Number}\n */\n this.magFilter = cfg.magFilter || LinearMipMapNearestFilter;\n\n /**\n * S wrapping mode.\n *\n * Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}.\n *\n * Ignored for compressed textures.\n *\n * @type {Number}\n */\n this.wrapS = cfg.wrapS || RepeatWrapping;\n\n /**\n * T wrapping mode.\n *\n * Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}.\n *\n * Ignored for compressed textures.\n *\n * @type {Number}\n */\n this.wrapT = cfg.wrapT || RepeatWrapping;\n\n /**\n * R wrapping mode.\n *\n * Ignored for compressed textures.\n *\n * Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}.\n *\n * @type {*|number}\n */\n this.wrapR = cfg.wrapR || RepeatWrapping\n }\n}\n\nexport {XKTTexture};","/**\n * A set of textures shared by {@link XKTMesh}es.\n *\n * * Created by {@link XKTModel#createTextureSet}\n * * Registered in {@link XKTMesh#material}, {@link XKTModel#materials} and {@link XKTModel#.textureSetsList}\n *\n * @class XKTMetalRoughMaterial\n */\nclass XKTTextureSet {\n\n /**\n * @private\n */\n constructor(cfg) {\n\n /**\n * Unique ID of this XKTTextureSet in {@link XKTModel#materials}.\n *\n * @type {Number}\n */\n this.textureSetId = cfg.textureSetId;\n\n /**\n * Index of this XKTTexture in {@link XKTModel#texturesList};\n *\n * @type {Number}\n */\n this.textureSetIndex = cfg.textureSetIndex;\n\n /**\n * Identifies the material type.\n *\n * @type {Number}\n */\n this.materialType = cfg.materialType;\n\n /**\n * Index of this XKTTextureSet in {@link XKTModel#meshesList};\n *\n * @type {Number}\n */\n this.materialIndex = cfg.materialIndex;\n\n /**\n * The number of {@link XKTMesh}s that reference this XKTTextureSet.\n *\n * @type {Number}\n */\n this.numInstances = 0;\n\n /**\n * RGBA {@link XKTTexture} containing base color in RGB and opacity in A.\n *\n * @type {XKTTexture}\n */\n this.colorTexture = cfg.colorTexture;\n\n /**\n * RGBA {@link XKTTexture} containing metallic and roughness factors in R and G.\n *\n * @type {XKTTexture}\n */\n this.metallicRoughnessTexture = cfg.metallicRoughnessTexture;\n\n /**\n * RGBA {@link XKTTexture} with surface normals in RGB.\n *\n * @type {XKTTexture}\n */\n this.normalsTexture = cfg.normalsTexture;\n\n /**\n * RGBA {@link XKTTexture} with emissive color in RGB.\n *\n * @type {XKTTexture}\n */\n this.emissiveTexture = cfg.emissiveTexture;\n\n /**\n * RGBA {@link XKTTexture} with ambient occlusion factors in RGB.\n *\n * @type {XKTTexture}\n */\n this.occlusionTexture = cfg.occlusionTexture;\n }\n}\n\nexport {XKTTextureSet};","/**\n * @desc A box-shaped 3D region within an {@link XKTModel} that contains {@link XKTEntity}s.\n *\n * * Created by {@link XKTModel#finalize}\n * * Stored in {@link XKTModel#tilesList}\n *\n * @class XKTTile\n */\nclass XKTTile {\n\n /**\n * Creates a new XKTTile.\n *\n * @private\n * @param aabb\n * @param entities\n */\n constructor(aabb, entities) {\n\n /**\n * Axis-aligned World-space bounding box that encloses the {@link XKTEntity}'s within this Tile.\n *\n * @type {Float64Array}\n */\n this.aabb = aabb;\n\n /**\n * The {@link XKTEntity}'s within this XKTTile.\n *\n * @type {XKTEntity[]}\n */\n this.entities = entities;\n }\n}\n\nexport {XKTTile};","import {math} from \"../../lib/math.js\";\n\n/**\n * @private\n */\nconst buildEdgeIndices = (function () {\n\n const uniquePositions = [];\n const indicesLookup = [];\n const indicesReverseLookup = [];\n const weldedIndices = [];\n\n// TODO: Optimize with caching, but need to cater to both compressed and uncompressed positions\n\n const faces = [];\n let numFaces = 0;\n const compa = new Uint16Array(3);\n const compb = new Uint16Array(3);\n const compc = new Uint16Array(3);\n const a = math.vec3();\n const b = math.vec3();\n const c = math.vec3();\n const cb = math.vec3();\n const ab = math.vec3();\n const cross = math.vec3();\n const normal = math.vec3();\n const inverseNormal = math.vec3();\n\n function weldVertices(positions, indices) {\n const positionsMap = {}; // Hashmap for looking up vertices by position coordinates (and making sure they are unique)\n let vx;\n let vy;\n let vz;\n let key;\n const precisionPoints = 4; // number of decimal points, e.g. 4 for epsilon of 0.0001\n const precision = Math.pow(10, precisionPoints);\n let i;\n let len;\n let lenUniquePositions = 0;\n for (i = 0, len = positions.length; i < len; i += 3) {\n vx = positions[i];\n vy = positions[i + 1];\n vz = positions[i + 2];\n key = Math.round(vx * precision) + '_' + Math.round(vy * precision) + '_' + Math.round(vz * precision);\n if (positionsMap[key] === undefined) {\n positionsMap[key] = lenUniquePositions / 3;\n uniquePositions[lenUniquePositions++] = vx;\n uniquePositions[lenUniquePositions++] = vy;\n uniquePositions[lenUniquePositions++] = vz;\n }\n indicesLookup[i / 3] = positionsMap[key];\n }\n for (i = 0, len = indices.length; i < len; i++) {\n weldedIndices[i] = indicesLookup[indices[i]];\n indicesReverseLookup[weldedIndices[i]] = indices[i];\n }\n }\n\n function buildFaces(numIndices, positionsDecodeMatrix) {\n numFaces = 0;\n for (let i = 0, len = numIndices; i < len; i += 3) {\n const ia = ((weldedIndices[i]) * 3);\n const ib = ((weldedIndices[i + 1]) * 3);\n const ic = ((weldedIndices[i + 2]) * 3);\n if (positionsDecodeMatrix) {\n compa[0] = uniquePositions[ia];\n compa[1] = uniquePositions[ia + 1];\n compa[2] = uniquePositions[ia + 2];\n compb[0] = uniquePositions[ib];\n compb[1] = uniquePositions[ib + 1];\n compb[2] = uniquePositions[ib + 2];\n compc[0] = uniquePositions[ic];\n compc[1] = uniquePositions[ic + 1];\n compc[2] = uniquePositions[ic + 2];\n // Decode\n math.decompressPosition(compa, positionsDecodeMatrix, a);\n math.decompressPosition(compb, positionsDecodeMatrix, b);\n math.decompressPosition(compc, positionsDecodeMatrix, c);\n } else {\n a[0] = uniquePositions[ia];\n a[1] = uniquePositions[ia + 1];\n a[2] = uniquePositions[ia + 2];\n b[0] = uniquePositions[ib];\n b[1] = uniquePositions[ib + 1];\n b[2] = uniquePositions[ib + 2];\n c[0] = uniquePositions[ic];\n c[1] = uniquePositions[ic + 1];\n c[2] = uniquePositions[ic + 2];\n }\n math.subVec3(c, b, cb);\n math.subVec3(a, b, ab);\n math.cross3Vec3(cb, ab, cross);\n math.normalizeVec3(cross, normal);\n const face = faces[numFaces] || (faces[numFaces] = {normal: math.vec3()});\n face.normal[0] = normal[0];\n face.normal[1] = normal[1];\n face.normal[2] = normal[2];\n numFaces++;\n }\n }\n\n return function (positions, indices, positionsDecodeMatrix, edgeThreshold) {\n weldVertices(positions, indices);\n buildFaces(indices.length, positionsDecodeMatrix);\n const edgeIndices = [];\n const thresholdDot = Math.cos(math.DEGTORAD * edgeThreshold);\n const edges = {};\n let edge1;\n let edge2;\n let index1;\n let index2;\n let key;\n let largeIndex = false;\n let edge;\n let normal1;\n let normal2;\n let dot;\n let ia;\n let ib;\n for (let i = 0, len = indices.length; i < len; i += 3) {\n const faceIndex = i / 3;\n for (let j = 0; j < 3; j++) {\n edge1 = weldedIndices[i + j];\n edge2 = weldedIndices[i + ((j + 1) % 3)];\n index1 = Math.min(edge1, edge2);\n index2 = Math.max(edge1, edge2);\n key = index1 + ',' + index2;\n if (edges[key] === undefined) {\n edges[key] = {\n index1: index1,\n index2: index2,\n face1: faceIndex,\n face2: undefined,\n };\n } else {\n edges[key].face2 = faceIndex;\n }\n }\n }\n for (key in edges) {\n edge = edges[key];\n // an edge is only rendered if the angle (in degrees) between the face normals of the adjoining faces exceeds this value. default = 1 degree.\n if (edge.face2 !== undefined) {\n normal1 = faces[edge.face1].normal;\n normal2 = faces[edge.face2].normal;\n inverseNormal[0] = -normal2[0];\n inverseNormal[1] = -normal2[1];\n inverseNormal[2] = -normal2[2];\n dot = Math.abs(math.dotVec3(normal1, normal2));\n const dot2 = Math.abs(math.dotVec3(normal1, inverseNormal));\n if (dot > thresholdDot && dot2 > thresholdDot) {\n continue;\n }\n }\n ia = indicesReverseLookup[edge.index1];\n ib = indicesReverseLookup[edge.index2];\n if (!largeIndex && ia > 65535 || ib > 65535) {\n largeIndex = true;\n }\n edgeIndices.push(ia);\n edgeIndices.push(ib);\n }\n return (largeIndex) ? new Uint32Array(edgeIndices) : new Uint16Array(edgeIndices);\n };\n})();\n\n\nexport {buildEdgeIndices};","import {math} from \"../../lib/math.js\";\n\nfunction quantizePositions (positions, lenPositions, aabb, quantizedPositions) {\n const xmin = aabb[0];\n const ymin = aabb[1];\n const zmin = aabb[2];\n const xwid = aabb[3] - xmin;\n const ywid = aabb[4] - ymin;\n const zwid = aabb[5] - zmin;\n const maxInt = 65535;\n const xMultiplier = maxInt / xwid;\n const yMultiplier = maxInt / ywid;\n const zMultiplier = maxInt / zwid;\n const verify = (num) => num >= 0 ? num : 0;\n for (let i = 0; i < lenPositions; i += 3) {\n quantizedPositions[i + 0] = Math.max(0, Math.min(65535,Math.floor(verify(positions[i + 0] - xmin) * xMultiplier)));\n quantizedPositions[i + 1] = Math.max(0, Math.min(65535,Math.floor(verify(positions[i + 1] - ymin) * yMultiplier)));\n quantizedPositions[i + 2] = Math.max(0, Math.min(65535,Math.floor(verify(positions[i + 2] - zmin) * zMultiplier)));\n }\n}\n\nfunction compressPosition(p, aabb, q) {\n const multiplier = new Float32Array([\n aabb[3] !== aabb[0] ? 65535 / (aabb[3] - aabb[0]) : 0,\n aabb[4] !== aabb[1] ? 65535 / (aabb[4] - aabb[1]) : 0,\n aabb[5] !== aabb[2] ? 65535 / (aabb[5] - aabb[2]) : 0\n ]);\n q[0] = Math.max(0, Math.min(65535, Math.floor((p[0] - aabb[0]) * multiplier[0])));\n q[1] = Math.max(0, Math.min(65535, Math.floor((p[1] - aabb[1]) * multiplier[1])));\n q[2] = Math.max(0, Math.min(65535, Math.floor((p[2] - aabb[2]) * multiplier[2])));\n}\n\nvar createPositionsDecodeMatrix = (function () {\n const translate = math.mat4();\n const scale = math.mat4();\n return function (aabb, positionsDecodeMatrix) {\n positionsDecodeMatrix = positionsDecodeMatrix || math.mat4();\n const xmin = aabb[0];\n const ymin = aabb[1];\n const zmin = aabb[2];\n const xwid = aabb[3] - xmin;\n const ywid = aabb[4] - ymin;\n const zwid = aabb[5] - zmin;\n const maxInt = 65535;\n math.identityMat4(translate);\n math.translationMat4v(aabb, translate);\n math.identityMat4(scale);\n math.scalingMat4v([xwid / maxInt, ywid / maxInt, zwid / maxInt], scale);\n math.mulMat4(translate, scale, positionsDecodeMatrix);\n return positionsDecodeMatrix;\n };\n})();\n\nfunction transformAndOctEncodeNormals(modelNormalMatrix, normals, lenNormals, compressedNormals, lenCompressedNormals) {\n // http://jcgt.org/published/0003/02/01/\n let oct, dec, best, currentCos, bestCos;\n let i, ei;\n let localNormal = math.vec3();\n let worldNormal = math.vec3();\n for (i = 0; i < lenNormals; i += 3) {\n localNormal[0] = normals[i];\n localNormal[1] = normals[i + 1];\n localNormal[2] = normals[i + 2];\n\n math.transformVec3(modelNormalMatrix, localNormal, worldNormal);\n math.normalizeVec3(worldNormal, worldNormal);\n\n // Test various combinations of ceil and floor to minimize rounding errors\n best = oct = octEncodeVec3(worldNormal, 0, \"floor\", \"floor\");\n dec = octDecodeVec2(oct);\n currentCos = bestCos = dot(worldNormal, 0, dec);\n oct = octEncodeVec3(worldNormal, 0, \"ceil\", \"floor\");\n dec = octDecodeVec2(oct);\n currentCos = dot(worldNormal, 0, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n oct = octEncodeVec3(worldNormal, 0, \"floor\", \"ceil\");\n dec = octDecodeVec2(oct);\n currentCos = dot(worldNormal, 0, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n oct = octEncodeVec3(worldNormal, 0, \"ceil\", \"ceil\");\n dec = octDecodeVec2(oct);\n currentCos = dot(worldNormal, 0, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n compressedNormals[lenCompressedNormals + i + 0] = best[0];\n compressedNormals[lenCompressedNormals + i + 1] = best[1];\n compressedNormals[lenCompressedNormals + i + 2] = 0.0; // Unused\n }\n lenCompressedNormals += lenNormals;\n return lenCompressedNormals;\n}\n\nfunction octEncodeNormals(normals, lenNormals, compressedNormals, lenCompressedNormals) { // http://jcgt.org/published/0003/02/01/\n let oct, dec, best, currentCos, bestCos;\n for (let i = 0; i < lenNormals; i += 3) {\n // Test various combinations of ceil and floor to minimize rounding errors\n best = oct = octEncodeVec3(normals, i, \"floor\", \"floor\");\n dec = octDecodeVec2(oct);\n currentCos = bestCos = dot(normals, i, dec);\n oct = octEncodeVec3(normals, i, \"ceil\", \"floor\");\n dec = octDecodeVec2(oct);\n currentCos = dot(normals, i, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n oct = octEncodeVec3(normals, i, \"floor\", \"ceil\");\n dec = octDecodeVec2(oct);\n currentCos = dot(normals, i, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n oct = octEncodeVec3(normals, i, \"ceil\", \"ceil\");\n dec = octDecodeVec2(oct);\n currentCos = dot(normals, i, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n compressedNormals[lenCompressedNormals + i + 0] = best[0];\n compressedNormals[lenCompressedNormals + i + 1] = best[1];\n compressedNormals[lenCompressedNormals + i + 2] = 0.0; // Unused\n }\n lenCompressedNormals += lenNormals;\n return lenCompressedNormals;\n}\n\n/**\n * @private\n */\nfunction octEncodeVec3(array, i, xfunc, yfunc) { // Oct-encode single normal vector in 2 bytes\n let x = array[i] / (Math.abs(array[i]) + Math.abs(array[i + 1]) + Math.abs(array[i + 2]));\n let y = array[i + 1] / (Math.abs(array[i]) + Math.abs(array[i + 1]) + Math.abs(array[i + 2]));\n if (array[i + 2] < 0) {\n let tempx = (1 - Math.abs(y)) * (x >= 0 ? 1 : -1);\n let tempy = (1 - Math.abs(x)) * (y >= 0 ? 1 : -1);\n x = tempx;\n y = tempy;\n }\n return new Int8Array([\n Math[xfunc](x * 127.5 + (x < 0 ? -1 : 0)),\n Math[yfunc](y * 127.5 + (y < 0 ? -1 : 0))\n ]);\n}\n\n/**\n * Decode an oct-encoded normal\n */\nfunction octDecodeVec2(oct) {\n let x = oct[0];\n let y = oct[1];\n x /= x < 0 ? 127 : 128;\n y /= y < 0 ? 127 : 128;\n const z = 1 - Math.abs(x) - Math.abs(y);\n if (z < 0) {\n x = (1 - Math.abs(y)) * (x >= 0 ? 1 : -1);\n y = (1 - Math.abs(x)) * (y >= 0 ? 1 : -1);\n }\n const length = Math.sqrt(x * x + y * y + z * z);\n return [\n x / length,\n y / length,\n z / length\n ];\n}\n\n/**\n * Dot product of a normal in an array against a candidate decoding\n * @private\n */\nfunction dot(array, i, vec3) {\n return array[i] * vec3[0] + array[i + 1] * vec3[1] + array[i + 2] * vec3[2];\n}\n\n/**\n * @private\n */\nconst geometryCompression = {\n quantizePositions,\n compressPosition,\n createPositionsDecodeMatrix,\n transformAndOctEncodeNormals,\n octEncodeNormals,\n};\n\nexport {geometryCompression}","/**\n * Uses edge adjacency counts to identify if the given triangle mesh can be rendered with backface culling enabled.\n *\n * If all edges are connected to exactly two triangles, then the mesh will likely be a closed solid, and we can safely\n * render it with backface culling enabled.\n *\n * Otherwise, the mesh is a surface, and we must render it with backface culling disabled.\n *\n * @private\n */\nconst isTriangleMeshSolid = (indices, positions, vertexIndexMapping, edges) => {\n\n function compareIndexPositions(a, b)\n {\n let posA, posB;\n\n for (let i = 0; i < 3; i++) {\n posA = positions [a*3+i];\n posB = positions [b*3+i];\n\n if (posA !== posB) {\n return posB - posA;\n }\n }\n\n return 0;\n };\n\n // Group together indices corresponding to same position coordinates\n let newIndices = indices.slice ().sort (compareIndexPositions);\n\n // Calculate the mapping:\n // - from original index in indices array\n // - to indices-for-unique-positions\n let uniqueVertexIndex = null;\n\n for (let i = 0, len = newIndices.length; i < len; i++) {\n if (i == 0 || 0 != compareIndexPositions (\n newIndices[i],\n newIndices[i-1],\n )) {\n // different position\n uniqueVertexIndex = newIndices [i];\n }\n\n vertexIndexMapping [\n newIndices[i]\n ] = uniqueVertexIndex;\n }\n\n // Generate the list of edges\n for (let i = 0, len = indices.length; i < len; i += 3) {\n\n const a = vertexIndexMapping[indices[i]];\n const b = vertexIndexMapping[indices[i+1]];\n const c = vertexIndexMapping[indices[i+2]];\n\n let a2 = a;\n let b2 = b;\n let c2 = c;\n\n if (a > b && a > c) {\n if (b > c) {\n a2 = a;\n b2 = b;\n c2 = c;\n } else {\n a2 = a;\n b2 = c;\n c2 = b;\n }\n } else if (b > a && b > c) {\n if (a > c) {\n a2 = b;\n b2 = a;\n c2 = c;\n } else {\n a2 = b;\n b2 = c;\n c2 = a;\n }\n } else if (c > a && c > b) {\n if (a > b) {\n a2 = c;\n b2 = a;\n c2 = b;\n } else {\n a2 = c;\n b2 = b;\n c2 = a;\n }\n }\n\n edges[i+0] = [\n a2, b2\n ];\n edges[i+1] = [\n b2, c2\n ];\n\n if (a2 > c2) {\n const temp = c2;\n c2 = a2;\n a2 = temp;\n }\n\n edges[i+2] = [\n c2, a2\n ];\n }\n\n // Group semantically equivalent edgdes together\n function compareEdges (e1, e2) {\n let a, b;\n\n for (let i = 0; i < 2; i++) {\n a = e1[i];\n b = e2[i];\n\n if (b !== a) {\n return b - a;\n }\n }\n\n return 0;\n }\n\n edges = edges.slice(0, indices.length);\n\n edges.sort (compareEdges);\n\n // Make sure each edge is used exactly twice\n let sameEdgeCount = 0;\n\n for (let i = 0; i < edges.length; i++)\n {\n if (i === 0 || 0 !== compareEdges (\n edges[i], edges[i-1]\n )) {\n // different edge\n if (0 !== i && sameEdgeCount !== 2)\n {\n return false;\n }\n\n sameEdgeCount = 1;\n }\n else\n {\n // same edge\n sameEdgeCount++;\n }\n }\n\n if (edges.length > 0 && sameEdgeCount !== 2)\n {\n return false;\n }\n\n // Each edge is used exactly twice, this is a\n // watertight surface and hence a solid geometry.\n return true;\n};\n\nexport {isTriangleMeshSolid};","/**\n * @private\n * @param buf\n * @returns {ArrayBuffer}\n */\nexport function toArrayBuffer(buf) {\n const ab = new ArrayBuffer(buf.length);\n const view = new Uint8Array(ab);\n for (let i = 0; i < buf.length; ++i) {\n view[i] = buf[i];\n }\n return ab;\n}","function isString(value) {\n return (typeof value === 'string' || value instanceof String);\n}\n\nfunction apply(o, o2) {\n for (const name in o) {\n if (o.hasOwnProperty(name)) {\n o2[name] = o[name];\n }\n }\n return o2;\n}\n\n/**\n * @private\n */\nconst utils = {\n isString,\n apply\n};\n\nexport {utils};\n","import {XKT_INFO} from \"../XKT_INFO.js\";\nimport * as pako from 'pako';\n\nconst XKT_VERSION = XKT_INFO.xktVersion;\nconst NUM_TEXTURE_ATTRIBUTES = 9;\nconst NUM_MATERIAL_ATTRIBUTES = 6;\n\n/**\n * Writes an {@link XKTModel} to an {@link ArrayBuffer}.\n *\n * @param {XKTModel} xktModel The {@link XKTModel}.\n * @param {String} metaModelJSON The metamodel JSON in a string.\n * @param {Object} [stats] Collects statistics.\n * @param {Object} options Options for how the XKT is written.\n * @param {Boolean} [options.zip=true] ZIP the contents?\n * @returns {ArrayBuffer} The {@link ArrayBuffer}.\n */\nfunction writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, options) {\n const data = getModelData(xktModel, metaModelJSON, stats);\n const deflatedData = deflateData(data, metaModelJSON, options);\n stats.texturesSize += deflatedData.textureData.byteLength;\n const arrayBuffer = createArrayBuffer(deflatedData);\n return arrayBuffer;\n}\n\nfunction getModelData(xktModel, metaModelDataStr, stats) {\n\n //------------------------------------------------------------------------------------------------------------------\n // Allocate data\n //------------------------------------------------------------------------------------------------------------------\n\n const propertySetsList = xktModel.propertySetsList;\n const metaObjectsList = xktModel.metaObjectsList;\n const geometriesList = xktModel.geometriesList;\n const texturesList = xktModel.texturesList;\n const textureSetsList = xktModel.textureSetsList;\n const meshesList = xktModel.meshesList;\n const entitiesList = xktModel.entitiesList;\n const tilesList = xktModel.tilesList;\n\n const numPropertySets = propertySetsList.length;\n const numMetaObjects = metaObjectsList.length;\n const numGeometries = geometriesList.length;\n const numTextures = texturesList.length;\n const numTextureSets = textureSetsList.length;\n const numMeshes = meshesList.length;\n const numEntities = entitiesList.length;\n const numTiles = tilesList.length;\n\n let lenPositions = 0;\n let lenNormals = 0;\n let lenColors = 0;\n let lenUVs = 0;\n let lenIndices = 0;\n let lenEdgeIndices = 0;\n let lenMatrices = 0;\n let lenTextures = 0;\n\n for (let geometryIndex = 0; geometryIndex < numGeometries; geometryIndex++) {\n const geometry = geometriesList [geometryIndex];\n if (geometry.positionsQuantized) {\n lenPositions += geometry.positionsQuantized.length;\n }\n if (geometry.normalsOctEncoded) {\n lenNormals += geometry.normalsOctEncoded.length;\n }\n if (geometry.colorsCompressed) {\n lenColors += geometry.colorsCompressed.length;\n }\n if (geometry.uvs) {\n lenUVs += geometry.uvs.length;\n }\n if (geometry.indices) {\n lenIndices += geometry.indices.length;\n }\n if (geometry.edgeIndices) {\n lenEdgeIndices += geometry.edgeIndices.length;\n }\n }\n\n for (let textureIndex = 0; textureIndex < numTextures; textureIndex++) {\n const xktTexture = texturesList[textureIndex];\n const imageData = xktTexture.imageData;\n lenTextures += imageData.byteLength;\n\n if (xktTexture.compressed) {\n stats.numCompressedTextures++;\n }\n }\n\n for (let meshIndex = 0; meshIndex < numMeshes; meshIndex++) {\n const mesh = meshesList[meshIndex];\n if (mesh.geometry.numInstances > 1) {\n lenMatrices += 16;\n }\n }\n\n const data = {\n metadata: {},\n textureData: new Uint8Array(lenTextures), // All textures\n eachTextureDataPortion: new Uint32Array(numTextures), // For each texture, an index to its first element in textureData\n eachTextureAttributes: new Uint16Array(numTextures * NUM_TEXTURE_ATTRIBUTES),\n positions: new Uint16Array(lenPositions), // All geometry arrays\n normals: new Int8Array(lenNormals),\n colors: new Uint8Array(lenColors),\n uvs: new Float32Array(lenUVs),\n indices: new Uint32Array(lenIndices),\n edgeIndices: new Uint32Array(lenEdgeIndices),\n eachTextureSetTextures: new Int32Array(numTextureSets * 5), // For each texture set, a set of five Texture indices [color, metal/roughness,normals,emissive,occlusion]; each index has value -1 if no texture\n matrices: new Float32Array(lenMatrices), // Modeling matrices for entities that share geometries. Each entity either shares all it's geometries, or owns all its geometries exclusively. Exclusively-owned geometries are pre-transformed into World-space, and so their entities don't have modeling matrices in this array.\n reusedGeometriesDecodeMatrix: new Float32Array(xktModel.reusedGeometriesDecodeMatrix), // A single, global vertex position de-quantization matrix for all reused geometries. Reused geometries are quantized to their collective Local-space AABB, and this matrix is derived from that AABB.\n eachGeometryPrimitiveType: new Uint8Array(numGeometries), // Primitive type for each geometry (0=solid triangles, 1=surface triangles, 2=lines, 3=points, 4=line-strip)\n eachGeometryPositionsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.positions. Every primitive type has positions.\n eachGeometryNormalsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.normals. If the next geometry has the same index, then this geometry has no normals.\n eachGeometryColorsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.colors. If the next geometry has the same index, then this geometry has no colors.\n eachGeometryUVsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.uvs. If the next geometry has the same index, then this geometry has no UVs.\n eachGeometryIndicesPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.indices. If the next geometry has the same index, then this geometry has no indices.\n eachGeometryEdgeIndicesPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.edgeIndices. If the next geometry has the same index, then this geometry has no edge indices.\n eachMeshGeometriesPortion: new Uint32Array(numMeshes), // For each mesh, an index into the eachGeometry* arrays\n eachMeshMatricesPortion: new Uint32Array(numMeshes), // For each mesh that shares its geometry, an index to its first element in data.matrices, to indicate the modeling matrix that transforms the shared geometry Local-space vertex positions. This is ignored for meshes that don't share geometries, because the vertex positions of non-shared geometries are pre-transformed into World-space.\n eachMeshTextureSet: new Int32Array(numMeshes), // For each mesh, the index of its texture set in data.eachTextureSetTextures; this array contains signed integers so that we can use -1 to indicate when a mesh has no texture set\n eachMeshMaterialAttributes: new Uint8Array(numMeshes * NUM_MATERIAL_ATTRIBUTES), // For each mesh, an RGBA integer color of format [0..255, 0..255, 0..255, 0..255], and PBR metallic and roughness factors, of format [0..255, 0..255]\n eachEntityId: [], // For each entity, an ID string\n eachEntityMeshesPortion: new Uint32Array(numEntities), // For each entity, the index of the first element of meshes used by the entity\n eachTileAABB: new Float64Array(numTiles * 6), // For each tile, an axis-aligned bounding box\n eachTileEntitiesPortion: new Uint32Array(numTiles) // For each tile, the index of the first element of eachEntityId, eachEntityMeshesPortion and eachEntityMatricesPortion used by the tile\n };\n\n let countPositions = 0;\n let countNormals = 0;\n let countColors = 0;\n let countUVs = 0;\n let countIndices = 0;\n let countEdgeIndices = 0;\n\n // Metadata\n\n data.metadata = {\n id: xktModel.modelId,\n projectId: xktModel.projectId,\n revisionId: xktModel.revisionId,\n author: xktModel.author,\n createdAt: xktModel.createdAt,\n creatingApplication: xktModel.creatingApplication,\n schema: xktModel.schema,\n propertySets: [],\n metaObjects: []\n };\n\n // Property sets\n\n for (let propertySetsIndex = 0; propertySetsIndex < numPropertySets; propertySetsIndex++) {\n const propertySet = propertySetsList[propertySetsIndex];\n const propertySetJSON = {\n id: \"\" + propertySet.propertySetId,\n name: propertySet.propertySetName,\n type: propertySet.propertySetType,\n properties: propertySet.properties\n };\n data.metadata.propertySets.push(propertySetJSON);\n }\n\n // Metaobjects\n\n if (!metaModelDataStr) {\n for (let metaObjectsIndex = 0; metaObjectsIndex < numMetaObjects; metaObjectsIndex++) {\n const metaObject = metaObjectsList[metaObjectsIndex];\n const metaObjectJSON = {\n name: metaObject.metaObjectName,\n type: metaObject.metaObjectType,\n id: \"\" + metaObject.metaObjectId\n };\n if (metaObject.parentMetaObjectId !== undefined && metaObject.parentMetaObjectId !== null) {\n metaObjectJSON.parent = \"\" + metaObject.parentMetaObjectId;\n }\n if (metaObject.propertySetIds && metaObject.propertySetIds.length > 0) {\n metaObjectJSON.propertySetIds = metaObject.propertySetIds;\n }\n if (metaObject.external) {\n metaObjectJSON.external = metaObject.external;\n }\n data.metadata.metaObjects.push(metaObjectJSON);\n }\n }\n\n // Geometries\n\n for (let geometryIndex = 0; geometryIndex < numGeometries; geometryIndex++) {\n const geometry = geometriesList [geometryIndex];\n let primitiveType = 1;\n switch (geometry.primitiveType) {\n case \"triangles\":\n primitiveType = geometry.solid ? 0 : 1;\n break;\n case \"points\":\n primitiveType = 2;\n break;\n case \"lines\":\n primitiveType = 3;\n break;\n case \"line-strip\":\n case \"line-loop\":\n primitiveType = 4;\n break;\n case \"triangle-strip\":\n primitiveType = 5;\n break;\n case \"triangle-fan\":\n primitiveType = 6;\n break;\n default:\n primitiveType = 1\n }\n data.eachGeometryPrimitiveType [geometryIndex] = primitiveType;\n data.eachGeometryPositionsPortion [geometryIndex] = countPositions;\n data.eachGeometryNormalsPortion [geometryIndex] = countNormals;\n data.eachGeometryColorsPortion [geometryIndex] = countColors;\n data.eachGeometryUVsPortion [geometryIndex] = countUVs;\n data.eachGeometryIndicesPortion [geometryIndex] = countIndices;\n data.eachGeometryEdgeIndicesPortion [geometryIndex] = countEdgeIndices;\n if (geometry.positionsQuantized) {\n data.positions.set(geometry.positionsQuantized, countPositions);\n countPositions += geometry.positionsQuantized.length;\n }\n if (geometry.normalsOctEncoded) {\n data.normals.set(geometry.normalsOctEncoded, countNormals);\n countNormals += geometry.normalsOctEncoded.length;\n }\n if (geometry.colorsCompressed) {\n data.colors.set(geometry.colorsCompressed, countColors);\n countColors += geometry.colorsCompressed.length;\n }\n if (geometry.uvs) {\n data.uvs.set(geometry.uvs, countUVs);\n countUVs += geometry.uvs.length;\n }\n if (geometry.indices) {\n data.indices.set(geometry.indices, countIndices);\n countIndices += geometry.indices.length;\n }\n if (geometry.edgeIndices) {\n data.edgeIndices.set(geometry.edgeIndices, countEdgeIndices);\n countEdgeIndices += geometry.edgeIndices.length;\n }\n }\n\n // Textures\n\n for (let textureIndex = 0, numTextures = xktModel.texturesList.length, portionIdx = 0; textureIndex < numTextures; textureIndex++) {\n const xktTexture = xktModel.texturesList[textureIndex];\n const imageData = xktTexture.imageData;\n data.textureData.set(imageData, portionIdx);\n data.eachTextureDataPortion[textureIndex] = portionIdx;\n\n portionIdx += imageData.byteLength;\n\n let textureAttrIdx = textureIndex * NUM_TEXTURE_ATTRIBUTES;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.compressed ? 1 : 0;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.mediaType; // GIFMediaType | PNGMediaType | JPEGMediaType\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.width;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.height;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.minFilter; // LinearMipmapLinearFilter | LinearMipMapNearestFilter | NearestMipMapNearestFilter | NearestMipMapLinearFilter | LinearMipMapLinearFilter\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.magFilter; // LinearFilter | NearestFilter\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapS; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapT; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapR; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n }\n\n // Texture sets\n\n for (let textureSetIndex = 0, numTextureSets = xktModel.textureSetsList.length, eachTextureSetTexturesIndex = 0; textureSetIndex < numTextureSets; textureSetIndex++) {\n const textureSet = textureSetsList[textureSetIndex];\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.colorTexture ? textureSet.colorTexture.textureIndex : -1; // Color map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.metallicRoughnessTexture ? textureSet.metallicRoughnessTexture.textureIndex : -1; // Metal/rough map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.normalsTexture ? textureSet.normalsTexture.textureIndex : -1; // Normal map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.emissiveTexture ? textureSet.emissiveTexture.textureIndex : -1; // Emissive map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.occlusionTexture ? textureSet.occlusionTexture.textureIndex : -1; // Occlusion map\n }\n\n // Tiles -> Entities -> Meshes\n\n let entityIndex = 0;\n let countEntityMeshesPortion = 0;\n let eachMeshMaterialAttributesIndex = 0;\n let matricesIndex = 0;\n let meshIndex = 0;\n\n for (let tileIndex = 0; tileIndex < numTiles; tileIndex++) {\n\n const tile = tilesList [tileIndex];\n const tileEntities = tile.entities;\n const numTileEntities = tileEntities.length;\n\n if (numTileEntities === 0) {\n continue;\n }\n\n data.eachTileEntitiesPortion[tileIndex] = entityIndex;\n\n const tileAABB = tile.aabb;\n\n for (let j = 0; j < numTileEntities; j++) {\n\n const entity = tileEntities[j];\n const entityMeshes = entity.meshes;\n const numEntityMeshes = entityMeshes.length;\n\n for (let k = 0; k < numEntityMeshes; k++) {\n\n const mesh = entityMeshes[k];\n const geometry = mesh.geometry;\n const geometryIndex = geometry.geometryIndex;\n\n data.eachMeshGeometriesPortion [countEntityMeshesPortion + k] = geometryIndex;\n\n if (mesh.geometry.numInstances > 1) {\n data.matrices.set(mesh.matrix, matricesIndex);\n data.eachMeshMatricesPortion [meshIndex] = matricesIndex;\n matricesIndex += 16;\n }\n\n data.eachMeshTextureSet[meshIndex] = mesh.textureSet ? mesh.textureSet.textureSetIndex : -1;\n\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[0] * 255); // Color RGB\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[1] * 255);\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[2] * 255);\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.opacity * 255); // Opacity\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.metallic * 255); // Metallic\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.roughness * 255); // Roughness\n\n meshIndex++;\n }\n\n data.eachEntityId [entityIndex] = entity.entityId;\n data.eachEntityMeshesPortion[entityIndex] = countEntityMeshesPortion; // <<<<<<<<<<<<<<<<<<<< Error here? Order/value of countEntityMeshesPortion correct?\n\n entityIndex++;\n countEntityMeshesPortion += numEntityMeshes;\n }\n\n const tileAABBIndex = tileIndex * 6;\n\n data.eachTileAABB.set(tileAABB, tileAABBIndex);\n }\n\n return data;\n}\n\nfunction deflateData(data, metaModelJSON, options) {\n\n function deflate(buffer) {\n return (options.zip !== false) ? pako.deflate(buffer) : buffer;\n }\n\n let metaModelBytes;\n if (metaModelJSON) {\n const deflatedJSON = deflateJSON(metaModelJSON);\n metaModelBytes = deflate(deflatedJSON)\n } else {\n const deflatedJSON = deflateJSON(data.metadata);\n metaModelBytes = deflate(deflatedJSON)\n }\n\n return {\n metadata: metaModelBytes,\n textureData: deflate(data.textureData.buffer),\n eachTextureDataPortion: deflate(data.eachTextureDataPortion.buffer),\n eachTextureAttributes: deflate(data.eachTextureAttributes.buffer),\n positions: deflate(data.positions.buffer),\n normals: deflate(data.normals.buffer),\n colors: deflate(data.colors.buffer),\n uvs: deflate(data.uvs.buffer),\n indices: deflate(data.indices.buffer),\n edgeIndices: deflate(data.edgeIndices.buffer),\n eachTextureSetTextures: deflate(data.eachTextureSetTextures.buffer),\n matrices: deflate(data.matrices.buffer),\n reusedGeometriesDecodeMatrix: deflate(data.reusedGeometriesDecodeMatrix.buffer),\n eachGeometryPrimitiveType: deflate(data.eachGeometryPrimitiveType.buffer),\n eachGeometryPositionsPortion: deflate(data.eachGeometryPositionsPortion.buffer),\n eachGeometryNormalsPortion: deflate(data.eachGeometryNormalsPortion.buffer),\n eachGeometryColorsPortion: deflate(data.eachGeometryColorsPortion.buffer),\n eachGeometryUVsPortion: deflate(data.eachGeometryUVsPortion.buffer),\n eachGeometryIndicesPortion: deflate(data.eachGeometryIndicesPortion.buffer),\n eachGeometryEdgeIndicesPortion: deflate(data.eachGeometryEdgeIndicesPortion.buffer),\n eachMeshGeometriesPortion: deflate(data.eachMeshGeometriesPortion.buffer),\n eachMeshMatricesPortion: deflate(data.eachMeshMatricesPortion.buffer),\n eachMeshTextureSet: deflate(data.eachMeshTextureSet.buffer),\n eachMeshMaterialAttributes: deflate(data.eachMeshMaterialAttributes.buffer),\n eachEntityId: deflate(JSON.stringify(data.eachEntityId)\n .replace(/[\\u007F-\\uFFFF]/g, function (chr) { // Produce only ASCII-chars, so that the data can be inflated later\n return \"\\\\u\" + (\"0000\" + chr.charCodeAt(0).toString(16)).substr(-4)\n })),\n eachEntityMeshesPortion: deflate(data.eachEntityMeshesPortion.buffer),\n eachTileAABB: deflate(data.eachTileAABB.buffer),\n eachTileEntitiesPortion: deflate(data.eachTileEntitiesPortion.buffer)\n };\n}\n\nfunction deflateJSON(strings) {\n return JSON.stringify(strings)\n .replace(/[\\u007F-\\uFFFF]/g, function (chr) { // Produce only ASCII-chars, so that the data can be inflated later\n return \"\\\\u\" + (\"0000\" + chr.charCodeAt(0).toString(16)).substr(-4)\n });\n}\n\nfunction createArrayBuffer(deflatedData) {\n return toArrayBuffer([\n deflatedData.metadata,\n deflatedData.textureData,\n deflatedData.eachTextureDataPortion,\n deflatedData.eachTextureAttributes,\n deflatedData.positions,\n deflatedData.normals,\n deflatedData.colors,\n deflatedData.uvs,\n deflatedData.indices,\n deflatedData.edgeIndices,\n deflatedData.eachTextureSetTextures,\n deflatedData.matrices,\n deflatedData.reusedGeometriesDecodeMatrix,\n deflatedData.eachGeometryPrimitiveType,\n deflatedData.eachGeometryPositionsPortion,\n deflatedData.eachGeometryNormalsPortion,\n deflatedData.eachGeometryColorsPortion,\n deflatedData.eachGeometryUVsPortion,\n deflatedData.eachGeometryIndicesPortion,\n deflatedData.eachGeometryEdgeIndicesPortion,\n deflatedData.eachMeshGeometriesPortion,\n deflatedData.eachMeshMatricesPortion,\n deflatedData.eachMeshTextureSet,\n deflatedData.eachMeshMaterialAttributes,\n deflatedData.eachEntityId,\n deflatedData.eachEntityMeshesPortion,\n deflatedData.eachTileAABB,\n deflatedData.eachTileEntitiesPortion\n ]);\n}\n\nfunction toArrayBuffer(elements) {\n const indexData = new Uint32Array(elements.length + 2);\n indexData[0] = XKT_VERSION;\n indexData [1] = elements.length; // Stored Data 1.1: number of stored elements\n let dataLen = 0; // Stored Data 1.2: length of stored elements\n for (let i = 0, len = elements.length; i < len; i++) {\n const element = elements[i];\n const elementsize = element.length;\n indexData[i + 2] = elementsize;\n dataLen += elementsize;\n }\n const indexBuf = new Uint8Array(indexData.buffer);\n const dataArray = new Uint8Array(indexBuf.length + dataLen);\n dataArray.set(indexBuf);\n let offset = indexBuf.length;\n for (let i = 0, len = elements.length; i < len; i++) { // Stored Data 2: the elements themselves\n const element = elements[i];\n dataArray.set(element, offset);\n offset += element.length;\n }\n return dataArray.buffer;\n}\n\nexport {writeXKTModelToArrayBuffer};","/**\n * @desc Provides info on the XKT generated by xeokit-convert.\n */\nconst XKT_INFO = {\n\n /**\n * The XKT version generated by xeokit-convert.\n *\n * This is the XKT version that's modeled by {@link XKTModel}, serialized\n * by {@link writeXKTModelToArrayBuffer}, and written by {@link convert2xkt}.\n *\n * * Current XKT version: **10**\n * * [XKT format specs](https://github.com/xeokit/xeokit-convert/blob/main/specs/index.md)\n *\n * @property xktVersion\n * @type {number}\n */\n xktVersion: 10\n};\n\nexport {XKT_INFO};","/*----------------------------------------------------------------------------------------------------------------------\n * NOTE: The values of these constants must match those within xeokit-sdk\n *--------------------------------------------------------------------------------------------------------------------*/\n\n/**\n * Texture wrapping mode in which the texture repeats to infinity.\n */\nexport const RepeatWrapping = 1000;\n\n/**\n * Texture wrapping mode in which the last pixel of the texture stretches to the edge of the mesh.\n */\nexport const ClampToEdgeWrapping = 1001;\n\n/**\n * Texture wrapping mode in which the texture repeats to infinity, mirroring on each repeat.\n */\nexport const MirroredRepeatWrapping = 1002;\n\n/**\n * Texture magnification and minification filter that returns the nearest texel to the given sample coordinates.\n */\nexport const NearestFilter = 1003;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured and returns the nearest texel to the given sample coordinates.\n */\nexport const NearestMipMapNearestFilter = 1004;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured\n * and returns the nearest texel to the given sample coordinates.\n */\nexport const NearestMipmapNearestFilter = 1004;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured\n * and returns the nearest texel to the center of the pixel at the given sample coordinates.\n */\nexport const NearestMipmapLinearFilter = 1005;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured\n * and returns the nearest texel to the center of the pixel at the given sample coordinates.\n */\nexport const NearestMipMapLinearFilter = 1005;\n\n/**\n * Texture magnification and minification filter that returns the weighted average of the four nearest texels to the given sample coordinates.\n */\nexport const LinearFilter = 1006;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured and\n * returns the weighted average of the four nearest texels to the given sample coordinates.\n */\nexport const LinearMipmapNearestFilter = 1007;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured and\n * returns the weighted average of the four nearest texels to the given sample coordinates.\n */\nexport const LinearMipMapNearestFilter = 1007;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured,\n * finds within each mipmap the weighted average of the nearest texel to the center of the pixel, then returns the\n * weighted average of those two values.\n */\nexport const LinearMipmapLinearFilter = 1008;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured,\n * finds within each mipmap the weighted average of the nearest texel to the center of the pixel, then returns the\n * weighted average of those two values.\n */\nexport const LinearMipMapLinearFilter = 1008;\n\n/**\n * Media type for GIF images.\n */\nexport const GIFMediaType = 10000;\n\n/**\n * Media type for JPEG images.\n */\nexport const JPEGMediaType = 10001;\n\n/**\n * Media type for PNG images.\n */\nexport const PNGMediaType = 10002;","import {XKT_INFO} from \"./XKT_INFO.js\";\nimport {XKTModel} from \"./XKTModel/XKTModel.js\";\nimport {parseCityJSONIntoXKTModel} from \"./parsers/parseCityJSONIntoXKTModel.js\";\nimport {parseGLTFIntoXKTModel} from \"./parsers/parseGLTFIntoXKTModel.js\";\nimport {parseIFCIntoXKTModel} from \"./parsers/parseIFCIntoXKTModel.js\";\nimport {parseLASIntoXKTModel} from \"./parsers/parseLASIntoXKTModel.js\";\nimport {parsePCDIntoXKTModel} from \"./parsers/parsePCDIntoXKTModel.js\";\nimport {parsePLYIntoXKTModel} from \"./parsers/parsePLYIntoXKTModel.js\";\nimport {parseSTLIntoXKTModel} from \"./parsers/parseSTLIntoXKTModel.js\";\nimport {writeXKTModelToArrayBuffer} from \"./XKTModel/writeXKTModelToArrayBuffer.js\";\n\nimport {toArrayBuffer} from \"./XKTModel/lib/toArraybuffer\";\n\nconst fs = require('fs');\nconst path = require(\"path\");\n\n/**\n * Converts model files into xeokit's native XKT format.\n *\n * Supported source formats are: IFC, CityJSON, glTF, LAZ and LAS.\n *\n * **Only bundled in xeokit-convert.cjs.js.**\n *\n * ## Usage\n *\n * ````javascript\n * const convert2xkt = require(\"@xeokit/xeokit-convert/dist/convert2xkt.cjs.js\");\n * const fs = require('fs');\n *\n * convert2xkt({\n * sourceData: fs.readFileSync(\"rme_advanced_sample_project.ifc\"),\n * outputXKT: (xtkArrayBuffer) => {\n * fs.writeFileSync(\"rme_advanced_sample_project.ifc.xkt\", xtkArrayBuffer);\n * }\n * }).then(() => {\n * console.log(\"Converted.\");\n * }, (errMsg) => {\n * console.error(\"Conversion failed: \" + errMsg)\n * });\n ````\n * @param {Object} params Conversion parameters.\n * @param {Object} params.WebIFC The WebIFC library. We pass this in as an external dependency, in order to give the\n * caller the choice of whether to use the Browser or NodeJS version.\n * @param {*} [params.configs] Configurations.\n * @param {String} [params.source] Path to source file. Alternative to ````sourceData````.\n * @param {ArrayBuffer|JSON} [params.sourceData] Source file data. Alternative to ````source````.\n * @param {String} [params.sourceFormat] Format of source file/data. Always needed with ````sourceData````, but not normally needed with ````source````, because convert2xkt will determine the format automatically from the file extension of ````source````.\n * @param {String} [params.metaModelDataStr] Source file data. Overrides metadata from ````metaModelSource````, ````sourceData```` and ````source````.\n * @param {String} [params.metaModelSource] Path to source metaModel file. Overrides metadata from ````sourceData```` and ````source````. Overridden by ````metaModelData````.\n * @param {String} [params.output] Path to destination XKT file. Directories on this path are automatically created if not existing.\n * @param {Function} [params.outputXKTModel] Callback to collect the ````XKTModel```` that is internally build by this method.\n * @param {Function} [params.outputXKT] Callback to collect XKT file data.\n * @param {String[]} [params.includeTypes] Option to only convert objects of these types.\n * @param {String[]} [params.excludeTypes] Option to never convert objects of these types.\n * @param {Object} [stats] Collects conversion statistics. Statistics are attached to this object if provided.\n * @param {Function} [params.outputStats] Callback to collect statistics.\n * @param {Boolean} [params.rotateX=false] Whether to rotate the model 90 degrees about the X axis to make the Y axis \"up\", if necessary. Applies to CityJSON and LAS/LAZ models.\n * @param {Boolean} [params.reuseGeometries=true] When true, will enable geometry reuse within the XKT. When false,\n * will automatically \"expand\" all reused geometries into duplicate copies. This has the drawback of increasing the XKT\n * file size (~10-30% for typical models), but can make the model more responsive in the xeokit Viewer, especially if the model\n * has excessive geometry reuse. An example of excessive geometry reuse would be when a model (eg. glTF) has 4000 geometries that are\n * shared amongst 2000 objects, ie. a large number of geometries with a low amount of reuse, which can present a\n * pathological performance case for xeokit's underlying graphics APIs (WebGL, WebGPU etc).\n * @param {Boolean} [params.includeTextures=true] Whether to convert textures. Only works for ````glTF```` models.\n * @param {Boolean} [params.includeNormals=true] Whether to convert normals. When false, the parser will ignore\n * geometry normals, and the modelwill rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the model.\n * @param {Number} [params.minTileSize=200] Minimum RTC coordinate tile size. Set this to a value between 100 and 10000,\n * depending on how far from the coordinate origin the model's vertex positions are; specify larger tile sizes when close\n * to the origin, and smaller sizes when distant. This compensates for decreasing precision as floats get bigger.\n * @param {Function} [params.log] Logging callback.\n * @return {Promise}\n */\nfunction convert2xkt({\n WebIFC,\n configs = {},\n source,\n sourceData,\n sourceFormat,\n metaModelSource,\n metaModelDataStr,\n modelAABB,\n output,\n outputXKTModel,\n outputXKT,\n includeTypes,\n excludeTypes,\n reuseGeometries = true,\n minTileSize = 200,\n stats = {},\n outputStats,\n rotateX = false,\n includeTextures = true,\n includeNormals = true,\n log = function (msg) {\n }\n }) {\n\n stats.sourceFormat = \"\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 0;\n stats.numPropertySets = 0;\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numUVs = 0;\n stats.numTextures = 0;\n stats.numTextureSets = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n stats.sourceSize = 0;\n stats.xktSize = 0;\n stats.texturesSize = 0;\n stats.xktVersion = \"\";\n stats.compressionRatio = 0;\n stats.conversionTime = 0;\n stats.aabb = null;\n\n function getFileExtension(fileName) {\n let ext = path.extname(fileName);\n if (ext.charAt(0) === \".\") {\n ext = ext.substring(1);\n }\n return ext;\n }\n\n return new Promise(function (resolve, reject) {\n const _log = log;\n log = (msg) => {\n _log(`[convert2xkt] ${msg}`)\n }\n\n if (!source && !sourceData) {\n reject(\"Argument expected: source or sourceData\");\n return;\n }\n\n if (!sourceFormat && sourceData) {\n reject(\"Argument expected: sourceFormat is required with sourceData\");\n return;\n }\n\n if (!output && !outputXKTModel && !outputXKT) {\n reject(\"Argument expected: output, outputXKTModel or outputXKT\");\n return;\n }\n\n if (source) {\n log('Reading input file: ' + source);\n }\n\n const startTime = new Date();\n\n const sourceConfigs = configs.sourceConfigs || {};\n const ext = sourceFormat || getFileExtension(source);\n\n log(`Input file extension: \"${ext}\"`);\n\n let fileTypeConfigs = sourceConfigs[ext];\n\n if (!fileTypeConfigs) {\n log(`[WARNING] Could not find configs sourceConfigs entry for source format \"${ext}\". This is derived from the source file name extension. Will use internal default configs.`);\n fileTypeConfigs = {};\n }\n\n function overrideOption(option1, option2) {\n if (option1 !== undefined) {\n return option1;\n }\n return option2;\n }\n\n if (!sourceData) {\n try {\n sourceData = fs.readFileSync(source);\n } catch (err) {\n reject(err);\n return;\n }\n }\n\n const sourceFileSizeBytes = sourceData.byteLength;\n\n log(\"Input file size: \" + (sourceFileSizeBytes / 1000).toFixed(2) + \" kB\");\n\n if (!metaModelDataStr && metaModelSource) {\n log('Reading input metadata file: ' + metaModelSource);\n try {\n metaModelDataStr = fs.readFileSync(metaModelSource);\n } catch (err) {\n reject(err);\n return;\n }\n } else {\n log(`Not embedding metadata in XKT`);\n }\n\n let metaModelJSON;\n\n if (metaModelDataStr) {\n try {\n metaModelJSON = JSON.parse(metaModelDataStr);\n } catch (e) {\n metaModelJSON = {};\n log(`Error parsing metadata JSON: ${e}`);\n }\n }\n\n minTileSize = overrideOption(fileTypeConfigs.minTileSize, minTileSize);\n rotateX = overrideOption(fileTypeConfigs.rotateX, rotateX);\n reuseGeometries = overrideOption(fileTypeConfigs.reuseGeometries, reuseGeometries);\n includeTextures = overrideOption(fileTypeConfigs.includeTextures, includeTextures);\n includeNormals = overrideOption(fileTypeConfigs.includeNormals, includeNormals);\n includeTypes = overrideOption(fileTypeConfigs.includeTypes, includeTypes);\n excludeTypes = overrideOption(fileTypeConfigs.excludeTypes, excludeTypes);\n\n if (reuseGeometries === false) {\n log(\"Geometry reuse is disabled\");\n }\n\n const xktModel = new XKTModel({\n minTileSize,\n modelAABB\n });\n\n switch (ext) {\n case \"json\":\n convert(parseCityJSONIntoXKTModel, {\n data: JSON.parse(sourceData),\n xktModel,\n stats,\n rotateX,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n log\n });\n break;\n\n case \"glb\":\n sourceData = toArrayBuffer(sourceData);\n convert(parseGLTFIntoXKTModel, {\n data: sourceData,\n reuseGeometries,\n includeTextures: true,\n includeNormals,\n metaModelData: metaModelJSON,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"gltf\":\n sourceData = toArrayBuffer(sourceData);\n const gltfBasePath = source ? path.dirname(source) : \"\";\n convert(parseGLTFIntoXKTModel, {\n baseUri: gltfBasePath,\n data: sourceData,\n reuseGeometries,\n includeTextures: true,\n includeNormals,\n metaModelData: metaModelJSON,\n xktModel,\n stats,\n log\n });\n break;\n\n // case \"gltf\":\n // const gltfJSON = JSON.parse(sourceData);\n // const gltfBasePath = source ? getBasePath(source) : \"\";\n // convert(parseGLTFIntoXKTModel, {\n // baseUri: gltfBasePath,\n // data: gltfJSON,\n // reuseGeometries,\n // includeTextures,\n // includeNormals,\n // metaModelData: metaModelJSON,\n // xktModel,\n // getAttachment: async (name) => {\n // const filePath = gltfBasePath + name;\n // log(`Reading attachment file: ${filePath}`);\n // const buffer = fs.readFileSync(filePath);\n // const arrayBuf = toArrayBuffer(buffer);\n // return arrayBuf;\n // },\n // stats,\n // log\n // });\n // break;\n\n case \"ifc\":\n convert(parseIFCIntoXKTModel, {\n WebIFC,\n data: sourceData,\n xktModel,\n wasmPath: \"./\",\n includeTypes,\n excludeTypes,\n stats,\n log\n });\n break;\n\n case \"laz\":\n convert(parseLASIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n fp64: fileTypeConfigs.fp64,\n colorDepth: fileTypeConfigs.colorDepth,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n skip: overrideOption(fileTypeConfigs.skip, 1),\n log\n });\n break;\n\n case \"las\":\n convert(parseLASIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n fp64: fileTypeConfigs.fp64,\n colorDepth: fileTypeConfigs.colorDepth,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n skip: overrideOption(fileTypeConfigs.skip, 1),\n log\n });\n break;\n\n case \"pcd\":\n convert(parsePCDIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"ply\":\n convert(parsePLYIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"stl\":\n convert(parseSTLIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n default:\n reject(`Error: unsupported source format: \"${ext}\".`);\n return;\n }\n\n function convert(parser, converterParams) {\n\n parser(converterParams).then(() => {\n\n if (!metaModelJSON) {\n log(\"Creating default metamodel in XKT\");\n xktModel.createDefaultMetaObjects();\n }\n\n log(\"Input file parsed OK. Building XKT document...\");\n\n xktModel.finalize().then(() => {\n\n log(\"XKT document built OK. Writing to XKT file...\");\n\n const xktArrayBuffer = writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, {zip: true});\n\n const xktContent = Buffer.from(xktArrayBuffer);\n\n const targetFileSizeBytes = xktArrayBuffer.byteLength;\n\n stats.minTileSize = minTileSize || 200;\n stats.sourceSize = (sourceFileSizeBytes / 1000).toFixed(2);\n stats.xktSize = (targetFileSizeBytes / 1000).toFixed(2);\n stats.xktVersion = XKT_INFO.xktVersion;\n stats.compressionRatio = (sourceFileSizeBytes / targetFileSizeBytes).toFixed(2);\n stats.conversionTime = ((new Date() - startTime) / 1000.0).toFixed(2);\n stats.aabb = xktModel.aabb;\n log(`Converted to: XKT v${stats.xktVersion}`);\n if (includeTypes) {\n log(\"Include types: \" + (includeTypes ? includeTypes : \"(include all)\"));\n }\n if (excludeTypes) {\n log(\"Exclude types: \" + (excludeTypes ? excludeTypes : \"(exclude none)\"));\n }\n log(\"XKT size: \" + stats.xktSize + \" kB\");\n log(\"XKT textures size: \" + (stats.texturesSize / 1000).toFixed(2) + \"kB\");\n log(\"Compression ratio: \" + stats.compressionRatio);\n log(\"Conversion time: \" + stats.conversionTime + \" s\");\n log(\"Converted metaobjects: \" + stats.numMetaObjects);\n log(\"Converted property sets: \" + stats.numPropertySets);\n log(\"Converted drawable objects: \" + stats.numObjects);\n log(\"Converted geometries: \" + stats.numGeometries);\n log(\"Converted textures: \" + stats.numTextures);\n log(\"Converted textureSets: \" + stats.numTextureSets);\n log(\"Converted triangles: \" + stats.numTriangles);\n log(\"Converted vertices: \" + stats.numVertices);\n log(\"Converted UVs: \" + stats.numUVs);\n log(\"Converted normals: \" + stats.numNormals);\n log(\"Converted tiles: \" + xktModel.tilesList.length);\n log(\"minTileSize: \" + stats.minTileSize);\n\n if (output) {\n const outputDir = path.dirname(output);\n if (outputDir !== \"\" && !fs.existsSync(outputDir)) {\n fs.mkdirSync(outputDir, {recursive: true});\n }\n log('Writing XKT file: ' + output);\n fs.writeFileSync(output, xktContent);\n }\n\n if (outputXKTModel) {\n outputXKTModel(xktModel);\n }\n\n if (outputXKT) {\n outputXKT(xktContent);\n }\n\n if (outputStats) {\n outputStats(stats);\n }\n\n resolve();\n });\n }, (err) => {\n reject(err);\n });\n }\n });\n}\n\nexport {convert2xkt};","/**\n * @desc Creates box-shaped triangle mesh geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a box-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildBoxGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const box = buildBoxGeometry({\n * primitiveType: \"triangles\" // or \"lines\"\n * center: [0,0,0],\n * xSize: 1, // Half-size on each axis\n * ySize: 1,\n * zSize: 1\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"boxGeometry\",\n * primitiveType: box.primitiveType,\n * positions: box.positions,\n * normals: box.normals,\n * indices: box.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redBoxMesh\",\n * geometryId: \"boxGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redBox\",\n * meshIds: [\"redBoxMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildBoxGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.xSize=1.0] Half-size on the X-axis.\n * @param {Number} [cfg.ySize=1.0] Half-size on the Y-axis.\n * @param {Number} [cfg.zSize=1.0] Half-size on the Z-axis.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildBoxGeometry(cfg = {}) {\n\n let xSize = cfg.xSize || 1;\n if (xSize < 0) {\n console.error(\"negative xSize not allowed - will invert\");\n xSize *= -1;\n }\n\n let ySize = cfg.ySize || 1;\n if (ySize < 0) {\n console.error(\"negative ySize not allowed - will invert\");\n ySize *= -1;\n }\n\n let zSize = cfg.zSize || 1;\n if (zSize < 0) {\n console.error(\"negative zSize not allowed - will invert\");\n zSize *= -1;\n }\n\n const center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const xmin = -xSize + centerX;\n const ymin = -ySize + centerY;\n const zmin = -zSize + centerZ;\n const xmax = xSize + centerX;\n const ymax = ySize + centerY;\n const zmax = zSize + centerZ;\n\n return {\n\n primitiveType: \"triangles\",\n\n // The vertices - eight for our cube, each\n // one spanning three array elements for X,Y and Z\n\n positions: [\n\n // v0-v1-v2-v3 front\n xmax, ymax, zmax,\n xmin, ymax, zmax,\n xmin, ymin, zmax,\n xmax, ymin, zmax,\n\n // v0-v3-v4-v1 right\n xmax, ymax, zmax,\n xmax, ymin, zmax,\n xmax, ymin, zmin,\n xmax, ymax, zmin,\n\n // v0-v1-v6-v1 top\n xmax, ymax, zmax,\n xmax, ymax, zmin,\n xmin, ymax, zmin,\n xmin, ymax, zmax,\n\n // v1-v6-v7-v2 left\n xmin, ymax, zmax,\n xmin, ymax, zmin,\n xmin, ymin, zmin,\n xmin, ymin, zmax,\n\n // v7-v4-v3-v2 bottom\n xmin, ymin, zmin,\n xmax, ymin, zmin,\n xmax, ymin, zmax,\n xmin, ymin, zmax,\n\n // v4-v7-v6-v1 back\n xmax, ymin, zmin,\n xmin, ymin, zmin,\n xmin, ymax, zmin,\n xmax, ymax, zmin\n ],\n\n // Normal vectors, one for each vertex\n normals: [\n\n // v0-v1-v2-v3 front\n 0, 0, 1,\n 0, 0, 1,\n 0, 0, 1,\n 0, 0, 1,\n\n // v0-v3-v4-v5 right\n 1, 0, 0,\n 1, 0, 0,\n 1, 0, 0,\n 1, 0, 0,\n\n // v0-v5-v6-v1 top\n 0, 1, 0,\n 0, 1, 0,\n 0, 1, 0,\n 0, 1, 0,\n\n // v1-v6-v7-v2 left\n -1, 0, 0,\n -1, 0, 0,\n -1, 0, 0,\n -1, 0, 0,\n\n // v7-v4-v3-v2 bottom\n 0, -1, 0,\n 0, -1, 0,\n 0, -1, 0,\n 0, -1, 0,\n\n // v4-v7-v6-v5 back\n 0, 0, -1,\n 0, 0, -1,\n 0, 0, -1,\n 0, 0, -1\n ],\n\n // UV coords\n uv: [\n\n // v0-v1-v2-v3 front\n 1, 0,\n 0, 0,\n 0, 1,\n 1, 1,\n\n // v0-v3-v4-v1 right\n 0, 0,\n 0, 1,\n 1, 1,\n 1, 0,\n\n // v0-v1-v6-v1 top\n 1, 1,\n 1, 0,\n 0, 0,\n 0, 1,\n\n // v1-v6-v7-v2 left\n 1, 0,\n 0, 0,\n 0, 1,\n 1, 1,\n\n // v7-v4-v3-v2 bottom\n 0, 1,\n 1, 1,\n 1, 0,\n 0, 0,\n\n // v4-v7-v6-v1 back\n 0, 1,\n 1, 1,\n 1, 0,\n 0, 0\n ],\n\n // Indices - these organise the\n // positions and uv texture coordinates\n // into geometric primitives in accordance\n // with the \"primitive\" parameter,\n // in this case a set of three indices\n // for each triangle.\n //\n // Note that each triangle is specified\n // in counter-clockwise winding order.\n //\n // You can specify them in clockwise\n // order if you configure the Modes\n // node's frontFace flag as \"cw\", instead of\n // the default \"ccw\".\n indices: [\n 0, 1, 2,\n 0, 2, 3,\n // front\n 4, 5, 6,\n 4, 6, 7,\n // right\n 8, 9, 10,\n 8, 10, 11,\n // top\n 12, 13, 14,\n 12, 14, 15,\n // left\n 16, 17, 18,\n 16, 18, 19,\n // bottom\n 20, 21, 22,\n 20, 22, 23\n ]\n };\n}\n\nexport {buildBoxGeometry};\n","/**\n * @desc Creates box-shaped line segment geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a box-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildBoxLinesGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const box = buildBoxLinesGeometry({\n * center: [0,0,0],\n * xSize: 1, // Half-size on each axis\n * ySize: 1,\n * zSize: 1\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"boxGeometry\",\n * primitiveType: box.primitiveType, // \"lines\"\n * positions: box.positions,\n * normals: box.normals,\n * indices: box.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redBoxMesh\",\n * geometryId: \"boxGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redBox\",\n * meshIds: [\"redBoxMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildBoxLinesGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.xSize=1.0] Half-size on the X-axis.\n * @param {Number} [cfg.ySize=1.0] Half-size on the Y-axis.\n * @param {Number} [cfg.zSize=1.0] Half-size on the Z-axis.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildBoxLinesGeometry(cfg = {}) {\n\n let xSize = cfg.xSize || 1;\n if (xSize < 0) {\n console.error(\"negative xSize not allowed - will invert\");\n xSize *= -1;\n }\n\n let ySize = cfg.ySize || 1;\n if (ySize < 0) {\n console.error(\"negative ySize not allowed - will invert\");\n ySize *= -1;\n }\n\n let zSize = cfg.zSize || 1;\n if (zSize < 0) {\n console.error(\"negative zSize not allowed - will invert\");\n zSize *= -1;\n }\n\n const center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const xmin = -xSize + centerX;\n const ymin = -ySize + centerY;\n const zmin = -zSize + centerZ;\n const xmax = xSize + centerX;\n const ymax = ySize + centerY;\n const zmax = zSize + centerZ;\n\n return {\n primitiveType: \"lines\",\n positions: [\n xmin, ymin, zmin,\n xmin, ymin, zmax,\n xmin, ymax, zmin,\n xmin, ymax, zmax,\n xmax, ymin, zmin,\n xmax, ymin, zmax,\n xmax, ymax, zmin,\n xmax, ymax, zmax\n ],\n indices: [\n 0, 1,\n 1, 3,\n 3, 2,\n 2, 0,\n 4, 5,\n 5, 7,\n 7, 6,\n 6, 4,\n 0, 4,\n 1, 5,\n 2, 6,\n 3, 7\n ]\n }\n}\n\nexport {buildBoxLinesGeometry};\n","/**\n * @desc Creates cylinder-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a cylinder-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildCylinderGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const cylinder = buildCylinderGeometry({\n * center: [0,0,0],\n * radiusTop: 2.0,\n * radiusBottom: 2.0,\n * height: 5.0,\n * radialSegments: 20,\n * heightSegments: 1,\n * openEnded: false\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"cylinderGeometry\",\n * primitiveType: cylinder.primitiveType,\n * positions: cylinder.positions,\n * normals: cylinder.normals,\n * indices: cylinder.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redCylinderMesh\",\n * geometryId: \"cylinderGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redCylinder\",\n * meshIds: [\"redCylinderMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildCylinderGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.radiusTop=1] Radius of top.\n * @param {Number} [cfg.radiusBottom=1] Radius of bottom.\n * @param {Number} [cfg.height=1] Height.\n * @param {Number} [cfg.radialSegments=60] Number of horizontal segments.\n * @param {Number} [cfg.heightSegments=1] Number of vertical segments.\n * @param {Boolean} [cfg.openEnded=false] Whether or not the cylinder has solid caps on the ends.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildCylinderGeometry(cfg = {}) {\n\n let radiusTop = cfg.radiusTop || 1;\n if (radiusTop < 0) {\n console.error(\"negative radiusTop not allowed - will invert\");\n radiusTop *= -1;\n }\n\n let radiusBottom = cfg.radiusBottom || 1;\n if (radiusBottom < 0) {\n console.error(\"negative radiusBottom not allowed - will invert\");\n radiusBottom *= -1;\n }\n\n let height = cfg.height || 1;\n if (height < 0) {\n console.error(\"negative height not allowed - will invert\");\n height *= -1;\n }\n\n let radialSegments = cfg.radialSegments || 32;\n if (radialSegments < 0) {\n console.error(\"negative radialSegments not allowed - will invert\");\n radialSegments *= -1;\n }\n if (radialSegments < 3) {\n radialSegments = 3;\n }\n\n let heightSegments = cfg.heightSegments || 1;\n if (heightSegments < 0) {\n console.error(\"negative heightSegments not allowed - will invert\");\n heightSegments *= -1;\n }\n if (heightSegments < 1) {\n heightSegments = 1;\n }\n\n const openEnded = !!cfg.openEnded;\n\n let center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const heightHalf = height / 2;\n const heightLength = height / heightSegments;\n const radialAngle = (2.0 * Math.PI / radialSegments);\n const radialLength = 1.0 / radialSegments;\n //var nextRadius = this._radiusBottom;\n const radiusChange = (radiusTop - radiusBottom) / heightSegments;\n\n const positions = [];\n const normals = [];\n const uvs = [];\n const indices = [];\n\n let h;\n let i;\n\n let x;\n let z;\n\n let currentRadius;\n let currentHeight;\n\n let first;\n let second;\n\n let startIndex;\n let tu;\n let tv;\n\n // create vertices\n const normalY = (90.0 - (Math.atan(height / (radiusBottom - radiusTop))) * 180 / Math.PI) / 90.0;\n\n for (h = 0; h <= heightSegments; h++) {\n currentRadius = radiusTop - h * radiusChange;\n currentHeight = heightHalf - h * heightLength;\n\n for (i = 0; i <= radialSegments; i++) {\n x = Math.sin(i * radialAngle);\n z = Math.cos(i * radialAngle);\n\n normals.push(currentRadius * x);\n normals.push(normalY); //todo\n normals.push(currentRadius * z);\n\n uvs.push((i * radialLength));\n uvs.push(h * 1 / heightSegments);\n\n positions.push((currentRadius * x) + centerX);\n positions.push((currentHeight) + centerY);\n positions.push((currentRadius * z) + centerZ);\n }\n }\n\n // create faces\n for (h = 0; h < heightSegments; h++) {\n for (i = 0; i <= radialSegments; i++) {\n\n first = h * (radialSegments + 1) + i;\n second = first + radialSegments;\n\n indices.push(first);\n indices.push(second);\n indices.push(second + 1);\n\n indices.push(first);\n indices.push(second + 1);\n indices.push(first + 1);\n }\n }\n\n // create top cap\n if (!openEnded && radiusTop > 0) {\n startIndex = (positions.length / 3);\n\n // top center\n normals.push(0.0);\n normals.push(1.0);\n normals.push(0.0);\n\n uvs.push(0.5);\n uvs.push(0.5);\n\n positions.push(0 + centerX);\n positions.push(heightHalf + centerY);\n positions.push(0 + centerZ);\n\n // top triangle fan\n for (i = 0; i <= radialSegments; i++) {\n x = Math.sin(i * radialAngle);\n z = Math.cos(i * radialAngle);\n tu = (0.5 * Math.sin(i * radialAngle)) + 0.5;\n tv = (0.5 * Math.cos(i * radialAngle)) + 0.5;\n\n normals.push(radiusTop * x);\n normals.push(1.0);\n normals.push(radiusTop * z);\n\n uvs.push(tu);\n uvs.push(tv);\n\n positions.push((radiusTop * x) + centerX);\n positions.push((heightHalf) + centerY);\n positions.push((radiusTop * z) + centerZ);\n }\n\n for (i = 0; i < radialSegments; i++) {\n center = startIndex;\n first = startIndex + 1 + i;\n\n indices.push(first);\n indices.push(first + 1);\n indices.push(center);\n }\n }\n\n // create bottom cap\n if (!openEnded && radiusBottom > 0) {\n\n startIndex = (positions.length / 3);\n\n // top center\n normals.push(0.0);\n normals.push(-1.0);\n normals.push(0.0);\n\n uvs.push(0.5);\n uvs.push(0.5);\n\n positions.push(0 + centerX);\n positions.push(0 - heightHalf + centerY);\n positions.push(0 + centerZ);\n\n // top triangle fan\n for (i = 0; i <= radialSegments; i++) {\n\n x = Math.sin(i * radialAngle);\n z = Math.cos(i * radialAngle);\n\n tu = (0.5 * Math.sin(i * radialAngle)) + 0.5;\n tv = (0.5 * Math.cos(i * radialAngle)) + 0.5;\n\n normals.push(radiusBottom * x);\n normals.push(-1.0);\n normals.push(radiusBottom * z);\n\n uvs.push(tu);\n uvs.push(tv);\n\n positions.push((radiusBottom * x) + centerX);\n positions.push((0 - heightHalf) + centerY);\n positions.push((radiusBottom * z) + centerZ);\n }\n\n for (i = 0; i < radialSegments; i++) {\n\n center = startIndex;\n first = startIndex + 1 + i;\n\n indices.push(center);\n indices.push(first + 1);\n indices.push(first);\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\n\nexport {buildCylinderGeometry};\n","/**\n * @desc Creates grid-shaped geometry arrays..\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a grid-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildGridGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const grid = buildGridGeometry({\n * size: 1000,\n * divisions: 500\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"gridGeometry\",\n * primitiveType: grid.primitiveType, // Will be \"lines\"\n * positions: grid.positions,\n * indices: grid.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redGridMesh\",\n * geometryId: \"gridGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redGrid\",\n * meshIds: [\"redGridMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildGridGeometry\n * @param {*} [cfg] Configs\n * @param {Number} [cfg.size=1] Dimension on the X and Z-axis.\n * @param {Number} [cfg.divisions=1] Number of divisions on X and Z axis..\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildGridGeometry(cfg = {}) {\n\n let size = cfg.size || 1;\n if (size < 0) {\n console.error(\"negative size not allowed - will invert\");\n size *= -1;\n }\n\n let divisions = cfg.divisions || 1;\n if (divisions < 0) {\n console.error(\"negative divisions not allowed - will invert\");\n divisions *= -1;\n }\n if (divisions < 1) {\n divisions = 1;\n }\n\n size = size || 10;\n divisions = divisions || 10;\n\n const step = size / divisions;\n const halfSize = size / 2;\n\n const positions = [];\n const indices = [];\n let l = 0;\n\n for (let i = 0, j = 0, k = -halfSize; i <= divisions; i++, k += step) {\n\n positions.push(-halfSize);\n positions.push(0);\n positions.push(k);\n\n positions.push(halfSize);\n positions.push(0);\n positions.push(k);\n\n positions.push(k);\n positions.push(0);\n positions.push(-halfSize);\n\n positions.push(k);\n positions.push(0);\n positions.push(halfSize);\n\n indices.push(l++);\n indices.push(l++);\n indices.push(l++);\n indices.push(l++);\n }\n\n return {\n primitiveType: \"lines\",\n positions: positions,\n indices: indices\n };\n}\n\n\nexport {buildGridGeometry};\n","/**\n * @desc Creates plane-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a plane-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildPlaneGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const plane = buildPlaneGeometry({\n * center: [0,0,0],\n * xSize: 2,\n * zSize: 2,\n * xSegments: 10,\n * zSegments: 10\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"planeGeometry\",\n * primitiveType: plane.primitiveType, // Will be \"triangles\"\n * positions: plane.positions,\n * normals: plane.normals,\n * indices: plane.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redPlaneMesh\",\n * geometryId: \"planeGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redPlane\",\n * meshIds: [\"redPlaneMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildPlaneGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.xSize=1] Dimension on the X-axis.\n * @param {Number} [cfg.zSize=1] Dimension on the Z-axis.\n * @param {Number} [cfg.xSegments=1] Number of segments on the X-axis.\n * @param {Number} [cfg.zSegments=1] Number of segments on the Z-axis.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildPlaneGeometry(cfg = {}) {\n\n let xSize = cfg.xSize || 1;\n if (xSize < 0) {\n console.error(\"negative xSize not allowed - will invert\");\n xSize *= -1;\n }\n\n let zSize = cfg.zSize || 1;\n if (zSize < 0) {\n console.error(\"negative zSize not allowed - will invert\");\n zSize *= -1;\n }\n\n let xSegments = cfg.xSegments || 1;\n if (xSegments < 0) {\n console.error(\"negative xSegments not allowed - will invert\");\n xSegments *= -1;\n }\n if (xSegments < 1) {\n xSegments = 1;\n }\n\n let zSegments = cfg.xSegments || 1;\n if (zSegments < 0) {\n console.error(\"negative zSegments not allowed - will invert\");\n zSegments *= -1;\n }\n if (zSegments < 1) {\n zSegments = 1;\n }\n\n const center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const halfWidth = xSize / 2;\n const halfHeight = zSize / 2;\n\n const planeX = Math.floor(xSegments) || 1;\n const planeZ = Math.floor(zSegments) || 1;\n\n const planeX1 = planeX + 1;\n const planeZ1 = planeZ + 1;\n\n const segmentWidth = xSize / planeX;\n const segmentHeight = zSize / planeZ;\n\n const positions = new Float32Array(planeX1 * planeZ1 * 3);\n const normals = new Float32Array(planeX1 * planeZ1 * 3);\n const uvs = new Float32Array(planeX1 * planeZ1 * 2);\n\n let offset = 0;\n let offset2 = 0;\n\n let iz;\n let ix;\n let x;\n let a;\n let b;\n let c;\n let d;\n\n for (iz = 0; iz < planeZ1; iz++) {\n\n const z = iz * segmentHeight - halfHeight;\n\n for (ix = 0; ix < planeX1; ix++) {\n\n x = ix * segmentWidth - halfWidth;\n\n positions[offset] = x + centerX;\n positions[offset + 1] = centerY;\n positions[offset + 2] = -z + centerZ;\n\n normals[offset + 2] = -1;\n\n uvs[offset2] = (ix) / planeX;\n uvs[offset2 + 1] = ((planeZ - iz) / planeZ);\n\n offset += 3;\n offset2 += 2;\n }\n }\n\n offset = 0;\n\n const indices = new ((positions.length / 3) > 65535 ? Uint32Array : Uint16Array)(planeX * planeZ * 6);\n\n for (iz = 0; iz < planeZ; iz++) {\n\n for (ix = 0; ix < planeX; ix++) {\n\n a = ix + planeX1 * iz;\n b = ix + planeX1 * (iz + 1);\n c = (ix + 1) + planeX1 * (iz + 1);\n d = (ix + 1) + planeX1 * iz;\n\n indices[offset] = d;\n indices[offset + 1] = b;\n indices[offset + 2] = a;\n\n indices[offset + 3] = d;\n indices[offset + 4] = c;\n indices[offset + 5] = b;\n\n offset += 6;\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\nexport {buildPlaneGeometry};\n","/**\n * @desc Creates sphere-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a sphere-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildSphereGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const sphere = buildSphereGeometry({\n * center: [0,0,0],\n * radius: 1.5,\n * heightSegments: 60,\n * widthSegments: 60\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"sphereGeometry\",\n * primitiveType: sphere.primitiveType, // Will be \"triangles\"\n * positions: sphere.positions,\n * normals: sphere.normals,\n * indices: sphere.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redSphereMesh\",\n * geometryId: \"sphereGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n *const xktEntity = xktModel.createEntity({\n * entityId: \"redSphere\",\n * meshIds: [\"redSphereMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildSphereGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.radius=1] Radius.\n * @param {Number} [cfg.heightSegments=24] Number of latitudinal bands.\n * @param {Number} [cfg.widthSegments=18] Number of longitudinal bands.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildSphereGeometry(cfg = {}) {\n\n const lod = cfg.lod || 1;\n\n const centerX = cfg.center ? cfg.center[0] : 0;\n const centerY = cfg.center ? cfg.center[1] : 0;\n const centerZ = cfg.center ? cfg.center[2] : 0;\n\n let radius = cfg.radius || 1;\n if (radius < 0) {\n console.error(\"negative radius not allowed - will invert\");\n radius *= -1;\n }\n\n let heightSegments = cfg.heightSegments || 18;\n if (heightSegments < 0) {\n console.error(\"negative heightSegments not allowed - will invert\");\n heightSegments *= -1;\n }\n heightSegments = Math.floor(lod * heightSegments);\n if (heightSegments < 18) {\n heightSegments = 18;\n }\n\n let widthSegments = cfg.widthSegments || 18;\n if (widthSegments < 0) {\n console.error(\"negative widthSegments not allowed - will invert\");\n widthSegments *= -1;\n }\n widthSegments = Math.floor(lod * widthSegments);\n if (widthSegments < 18) {\n widthSegments = 18;\n }\n\n const positions = [];\n const normals = [];\n const uvs = [];\n const indices = [];\n\n let i;\n let j;\n\n let theta;\n let sinTheta;\n let cosTheta;\n\n let phi;\n let sinPhi;\n let cosPhi;\n\n let x;\n let y;\n let z;\n\n let u;\n let v;\n\n let first;\n let second;\n\n for (i = 0; i <= heightSegments; i++) {\n\n theta = i * Math.PI / heightSegments;\n sinTheta = Math.sin(theta);\n cosTheta = Math.cos(theta);\n\n for (j = 0; j <= widthSegments; j++) {\n\n phi = j * 2 * Math.PI / widthSegments;\n sinPhi = Math.sin(phi);\n cosPhi = Math.cos(phi);\n\n x = cosPhi * sinTheta;\n y = cosTheta;\n z = sinPhi * sinTheta;\n u = 1.0 - j / widthSegments;\n v = i / heightSegments;\n\n normals.push(x);\n normals.push(y);\n normals.push(z);\n\n uvs.push(u);\n uvs.push(v);\n\n positions.push(centerX + radius * x);\n positions.push(centerY + radius * y);\n positions.push(centerZ + radius * z);\n }\n }\n\n for (i = 0; i < heightSegments; i++) {\n for (j = 0; j < widthSegments; j++) {\n\n first = (i * (widthSegments + 1)) + j;\n second = first + widthSegments + 1;\n\n indices.push(first + 1);\n indices.push(second + 1);\n indices.push(second);\n indices.push(first + 1);\n indices.push(second);\n indices.push(first);\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\nexport {buildSphereGeometry};\n","import {math} from '../lib/math.js';\n\n/**\n * @desc Creates torus-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a torus-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildTorusGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const torus = buildTorusGeometry({\n * center: [0,0,0],\n * radius: 1.0,\n * tube: 0.5,\n * radialSegments: 32,\n * tubeSegments: 24,\n * arc: Math.PI * 2.0\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"torusGeometry\",\n * primitiveType: torus.primitiveType, // Will be \"triangles\"\n * positions: torus.positions,\n * normals: torus.normals,\n * indices: torus.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redTorusMesh\",\n * geometryId: \"torusGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redTorus\",\n * meshIds: [\"redTorusMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildTorusGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.radius=1] The overall radius.\n * @param {Number} [cfg.tube=0.3] The tube radius.\n * @param {Number} [cfg.radialSegments=32] The number of radial segments.\n * @param {Number} [cfg.tubeSegments=24] The number of tubular segments.\n * @param {Number} [cfg.arc=Math.PI*0.5] The length of the arc in radians, where Math.PI*2 is a closed torus.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildTorusGeometry(cfg = {}) {\n\n let radius = cfg.radius || 1;\n if (radius < 0) {\n console.error(\"negative radius not allowed - will invert\");\n radius *= -1;\n }\n radius *= 0.5;\n\n let tube = cfg.tube || 0.3;\n if (tube < 0) {\n console.error(\"negative tube not allowed - will invert\");\n tube *= -1;\n }\n\n let radialSegments = cfg.radialSegments || 32;\n if (radialSegments < 0) {\n console.error(\"negative radialSegments not allowed - will invert\");\n radialSegments *= -1;\n }\n if (radialSegments < 4) {\n radialSegments = 4;\n }\n\n let tubeSegments = cfg.tubeSegments || 24;\n if (tubeSegments < 0) {\n console.error(\"negative tubeSegments not allowed - will invert\");\n tubeSegments *= -1;\n }\n if (tubeSegments < 4) {\n tubeSegments = 4;\n }\n\n let arc = cfg.arc || Math.PI * 2;\n if (arc < 0) {\n console.warn(\"negative arc not allowed - will invert\");\n arc *= -1;\n }\n if (arc > 360) {\n arc = 360;\n }\n\n const center = cfg.center;\n let centerX = center ? center[0] : 0;\n let centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const positions = [];\n const normals = [];\n const uvs = [];\n const indices = [];\n\n let u;\n let v;\n let x;\n let y;\n let z;\n let vec;\n\n let i;\n let j;\n\n for (j = 0; j <= tubeSegments; j++) {\n for (i = 0; i <= radialSegments; i++) {\n\n u = i / radialSegments * arc;\n v = 0.785398 + (j / tubeSegments * Math.PI * 2);\n\n centerX = radius * Math.cos(u);\n centerY = radius * Math.sin(u);\n\n x = (radius + tube * Math.cos(v)) * Math.cos(u);\n y = (radius + tube * Math.cos(v)) * Math.sin(u);\n z = tube * Math.sin(v);\n\n positions.push(x + centerX);\n positions.push(y + centerY);\n positions.push(z + centerZ);\n\n uvs.push(1 - (i / radialSegments));\n uvs.push((j / tubeSegments));\n\n vec = math.normalizeVec3(math.subVec3([x, y, z], [centerX, centerY, centerZ], []), []);\n\n normals.push(vec[0]);\n normals.push(vec[1]);\n normals.push(vec[2]);\n }\n }\n\n let a;\n let b;\n let c;\n let d;\n\n for (j = 1; j <= tubeSegments; j++) {\n for (i = 1; i <= radialSegments; i++) {\n\n a = (radialSegments + 1) * j + i - 1;\n b = (radialSegments + 1) * (j - 1) + i - 1;\n c = (radialSegments + 1) * (j - 1) + i;\n d = (radialSegments + 1) * j + i;\n\n indices.push(a);\n indices.push(b);\n indices.push(c);\n\n indices.push(c);\n indices.push(d);\n indices.push(a);\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\nexport {buildTorusGeometry};\n","const letters = {\n ' ': {width: 16, points: []},\n '!': {\n width: 10, points: [\n [5, 21],\n [5, 7],\n [-1, -1],\n [5, 2],\n [4, 1],\n [5, 0],\n [6, 1],\n [5, 2]\n ]\n },\n '\"': {\n width: 16, points: [\n [4, 21],\n [4, 14],\n [-1, -1],\n [12, 21],\n [12, 14]\n ]\n },\n '#': {\n width: 21, points: [\n [11, 25],\n [4, -7],\n [-1, -1],\n [17, 25],\n [10, -7],\n [-1, -1],\n [4, 12],\n [18, 12],\n [-1, -1],\n [3, 6],\n [17, 6]\n ]\n },\n '$': {\n width: 20, points: [\n [8, 25],\n [8, -4],\n [-1, -1],\n [12, 25],\n [12, -4],\n [-1, -1],\n [17, 18],\n [15, 20],\n [12, 21],\n [8, 21],\n [5, 20],\n [3, 18],\n [3, 16],\n [4, 14],\n [5, 13],\n [7, 12],\n [13, 10],\n [15, 9],\n [16, 8],\n [17, 6],\n [17, 3],\n [15, 1],\n [12, 0],\n [8, 0],\n [5, 1],\n [3, 3]\n ]\n },\n '%': {\n width: 24, points: [\n [21, 21],\n [3, 0],\n [-1, -1],\n [8, 21],\n [10, 19],\n [10, 17],\n [9, 15],\n [7, 14],\n [5, 14],\n [3, 16],\n [3, 18],\n [4, 20],\n [6, 21],\n [8, 21],\n [10, 20],\n [13, 19],\n [16, 19],\n [19, 20],\n [21, 21],\n [-1, -1],\n [17, 7],\n [15, 6],\n [14, 4],\n [14, 2],\n [16, 0],\n [18, 0],\n [20, 1],\n [21, 3],\n [21, 5],\n [19, 7],\n [17, 7]\n ]\n },\n '&': {\n width: 26, points: [\n [23, 12],\n [23, 13],\n [22, 14],\n [21, 14],\n [20, 13],\n [19, 11],\n [17, 6],\n [15, 3],\n [13, 1],\n [11, 0],\n [7, 0],\n [5, 1],\n [4, 2],\n [3, 4],\n [3, 6],\n [4, 8],\n [5, 9],\n [12, 13],\n [13, 14],\n [14, 16],\n [14, 18],\n [13, 20],\n [11, 21],\n [9, 20],\n [8, 18],\n [8, 16],\n [9, 13],\n [11, 10],\n [16, 3],\n [18, 1],\n [20, 0],\n [22, 0],\n [23, 1],\n [23, 2]\n ]\n },\n '\\'': {\n width: 10, points: [\n [5, 19],\n [4, 20],\n [5, 21],\n [6, 20],\n [6, 18],\n [5, 16],\n [4, 15]\n ]\n },\n '(': {\n width: 14, points: [\n [11, 25],\n [9, 23],\n [7, 20],\n [5, 16],\n [4, 11],\n [4, 7],\n [5, 2],\n [7, -2],\n [9, -5],\n [11, -7]\n ]\n },\n ')': {\n width: 14, points: [\n [3, 25],\n [5, 23],\n [7, 20],\n [9, 16],\n [10, 11],\n [10, 7],\n [9, 2],\n [7, -2],\n [5, -5],\n [3, -7]\n ]\n },\n '*': {\n width: 16, points: [\n [8, 21],\n [8, 9],\n [-1, -1],\n [3, 18],\n [13, 12],\n [-1, -1],\n [13, 18],\n [3, 12]\n ]\n },\n '+': {\n width: 26, points: [\n [13, 18],\n [13, 0],\n [-1, -1],\n [4, 9],\n [22, 9]\n ]\n },\n ',': {\n width: 10, points: [\n [6, 1],\n [5, 0],\n [4, 1],\n [5, 2],\n [6, 1],\n [6, -1],\n [5, -3],\n [4, -4]\n ]\n },\n '-': {\n width: 26, points: [\n [4, 9],\n [22, 9]\n ]\n },\n '.': {\n width: 10, points: [\n [5, 2],\n [4, 1],\n [5, 0],\n [6, 1],\n [5, 2]\n ]\n },\n '/': {\n width: 22, points: [\n [20, 25],\n [2, -7]\n ]\n },\n '0': {\n width: 20, points: [\n [9, 21],\n [6, 20],\n [4, 17],\n [3, 12],\n [3, 9],\n [4, 4],\n [6, 1],\n [9, 0],\n [11, 0],\n [14, 1],\n [16, 4],\n [17, 9],\n [17, 12],\n [16, 17],\n [14, 20],\n [11, 21],\n [9, 21]\n ]\n },\n '1': {\n width: 20, points: [\n [6, 17],\n [8, 18],\n [11, 21],\n [11, 0]\n ]\n },\n '2': {\n width: 20, points: [\n [4, 16],\n [4, 17],\n [5, 19],\n [6, 20],\n [8, 21],\n [12, 21],\n [14, 20],\n [15, 19],\n [16, 17],\n [16, 15],\n [15, 13],\n [13, 10],\n [3, 0],\n [17, 0]\n ]\n },\n '3': {\n width: 20, points: [\n [5, 21],\n [16, 21],\n [10, 13],\n [13, 13],\n [15, 12],\n [16, 11],\n [17, 8],\n [17, 6],\n [16, 3],\n [14, 1],\n [11, 0],\n [8, 0],\n [5, 1],\n [4, 2],\n [3, 4]\n ]\n },\n '4': {\n width: 20, points: [\n [13, 21],\n [3, 7],\n [18, 7],\n [-1, -1],\n [13, 21],\n [13, 0]\n ]\n },\n '5': {\n width: 20, points: [\n [15, 21],\n [5, 21],\n [4, 12],\n [5, 13],\n [8, 14],\n [11, 14],\n [14, 13],\n [16, 11],\n [17, 8],\n [17, 6],\n [16, 3],\n [14, 1],\n [11, 0],\n [8, 0],\n [5, 1],\n [4, 2],\n [3, 4]\n ]\n },\n '6': {\n width: 20, points: [\n [16, 18],\n [15, 20],\n [12, 21],\n [10, 21],\n [7, 20],\n [5, 17],\n [4, 12],\n [4, 7],\n [5, 3],\n [7, 1],\n [10, 0],\n [11, 0],\n [14, 1],\n [16, 3],\n [17, 6],\n [17, 7],\n [16, 10],\n [14, 12],\n [11, 13],\n [10, 13],\n [7, 12],\n [5, 10],\n [4, 7]\n ]\n },\n '7': {\n width: 20, points: [\n [17, 21],\n [7, 0],\n [-1, -1],\n [3, 21],\n [17, 21]\n ]\n },\n '8': {\n width: 20, points: [\n [8, 21],\n [5, 20],\n [4, 18],\n [4, 16],\n [5, 14],\n [7, 13],\n [11, 12],\n [14, 11],\n [16, 9],\n [17, 7],\n [17, 4],\n [16, 2],\n [15, 1],\n [12, 0],\n [8, 0],\n [5, 1],\n [4, 2],\n [3, 4],\n [3, 7],\n [4, 9],\n [6, 11],\n [9, 12],\n [13, 13],\n [15, 14],\n [16, 16],\n [16, 18],\n [15, 20],\n [12, 21],\n [8, 21]\n ]\n },\n '9': {\n width: 20, points: [\n [16, 14],\n [15, 11],\n [13, 9],\n [10, 8],\n [9, 8],\n [6, 9],\n [4, 11],\n [3, 14],\n [3, 15],\n [4, 18],\n [6, 20],\n [9, 21],\n [10, 21],\n [13, 20],\n [15, 18],\n [16, 14],\n [16, 9],\n [15, 4],\n [13, 1],\n [10, 0],\n [8, 0],\n [5, 1],\n [4, 3]\n ]\n },\n ':': {\n width: 10, points: [\n [5, 14],\n [4, 13],\n [5, 12],\n [6, 13],\n [5, 14],\n [-1, -1],\n [5, 2],\n [4, 1],\n [5, 0],\n [6, 1],\n [5, 2]\n ]\n },\n ';': {\n width: 10, points: [\n [5, 14],\n [4, 13],\n [5, 12],\n [6, 13],\n [5, 14],\n [-1, -1],\n [6, 1],\n [5, 0],\n [4, 1],\n [5, 2],\n [6, 1],\n [6, -1],\n [5, -3],\n [4, -4]\n ]\n },\n '<': {\n width: 24, points: [\n [20, 18],\n [4, 9],\n [20, 0]\n ]\n },\n '=': {\n width: 26, points: [\n [4, 12],\n [22, 12],\n [-1, -1],\n [4, 6],\n [22, 6]\n ]\n },\n '>': {\n width: 24, points: [\n [4, 18],\n [20, 9],\n [4, 0]\n ]\n },\n '?': {\n width: 18, points: [\n [3, 16],\n [3, 17],\n [4, 19],\n [5, 20],\n [7, 21],\n [11, 21],\n [13, 20],\n [14, 19],\n [15, 17],\n [15, 15],\n [14, 13],\n [13, 12],\n [9, 10],\n [9, 7],\n [-1, -1],\n [9, 2],\n [8, 1],\n [9, 0],\n [10, 1],\n [9, 2]\n ]\n },\n '@': {\n width: 27, points: [\n [18, 13],\n [17, 15],\n [15, 16],\n [12, 16],\n [10, 15],\n [9, 14],\n [8, 11],\n [8, 8],\n [9, 6],\n [11, 5],\n [14, 5],\n [16, 6],\n [17, 8],\n [-1, -1],\n [12, 16],\n [10, 14],\n [9, 11],\n [9, 8],\n [10, 6],\n [11, 5],\n [-1, -1],\n [18, 16],\n [17, 8],\n [17, 6],\n [19, 5],\n [21, 5],\n [23, 7],\n [24, 10],\n [24, 12],\n [23, 15],\n [22, 17],\n [20, 19],\n [18, 20],\n [15, 21],\n [12, 21],\n [9, 20],\n [7, 19],\n [5, 17],\n [4, 15],\n [3, 12],\n [3, 9],\n [4, 6],\n [5, 4],\n [7, 2],\n [9, 1],\n [12, 0],\n [15, 0],\n [18, 1],\n [20, 2],\n [21, 3],\n [-1, -1],\n [19, 16],\n [18, 8],\n [18, 6],\n [19, 5]\n ]\n },\n 'A': {\n width: 18, points: [\n [9, 21],\n [1, 0],\n [-1, -1],\n [9, 21],\n [17, 0],\n [-1, -1],\n [4, 7],\n [14, 7]\n ]\n },\n 'B': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [13, 21],\n [16, 20],\n [17, 19],\n [18, 17],\n [18, 15],\n [17, 13],\n [16, 12],\n [13, 11],\n [-1, -1],\n [4, 11],\n [13, 11],\n [16, 10],\n [17, 9],\n [18, 7],\n [18, 4],\n [17, 2],\n [16, 1],\n [13, 0],\n [4, 0]\n ]\n },\n 'C': {\n width: 21, points: [\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5]\n ]\n },\n 'D': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [11, 21],\n [14, 20],\n [16, 18],\n [17, 16],\n [18, 13],\n [18, 8],\n [17, 5],\n [16, 3],\n [14, 1],\n [11, 0],\n [4, 0]\n ]\n },\n 'E': {\n width: 19, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [17, 21],\n [-1, -1],\n [4, 11],\n [12, 11],\n [-1, -1],\n [4, 0],\n [17, 0]\n ]\n },\n 'F': {\n width: 18, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [17, 21],\n [-1, -1],\n [4, 11],\n [12, 11]\n ]\n },\n 'G': {\n width: 21, points: [\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5],\n [18, 8],\n [-1, -1],\n [13, 8],\n [18, 8]\n ]\n },\n 'H': {\n width: 22, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [18, 21],\n [18, 0],\n [-1, -1],\n [4, 11],\n [18, 11]\n ]\n },\n 'I': {\n width: 8, points: [\n [4, 21],\n [4, 0]\n ]\n },\n 'J': {\n width: 16, points: [\n [12, 21],\n [12, 5],\n [11, 2],\n [10, 1],\n [8, 0],\n [6, 0],\n [4, 1],\n [3, 2],\n [2, 5],\n [2, 7]\n ]\n },\n 'K': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [18, 21],\n [4, 7],\n [-1, -1],\n [9, 12],\n [18, 0]\n ]\n },\n 'L': {\n width: 17, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 0],\n [16, 0]\n ]\n },\n 'M': {\n width: 24, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [12, 0],\n [-1, -1],\n [20, 21],\n [12, 0],\n [-1, -1],\n [20, 21],\n [20, 0]\n ]\n },\n 'N': {\n width: 22, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [18, 0],\n [-1, -1],\n [18, 21],\n [18, 0]\n ]\n },\n 'O': {\n width: 22, points: [\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5],\n [19, 8],\n [19, 13],\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21]\n ]\n },\n 'P': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [13, 21],\n [16, 20],\n [17, 19],\n [18, 17],\n [18, 14],\n [17, 12],\n [16, 11],\n [13, 10],\n [4, 10]\n ]\n },\n 'Q': {\n width: 22, points: [\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5],\n [19, 8],\n [19, 13],\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21],\n [-1, -1],\n [12, 4],\n [18, -2]\n ]\n },\n 'R': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [13, 21],\n [16, 20],\n [17, 19],\n [18, 17],\n [18, 15],\n [17, 13],\n [16, 12],\n [13, 11],\n [4, 11],\n [-1, -1],\n [11, 11],\n [18, 0]\n ]\n },\n 'S': {\n width: 20, points: [\n [17, 18],\n [15, 20],\n [12, 21],\n [8, 21],\n [5, 20],\n [3, 18],\n [3, 16],\n [4, 14],\n [5, 13],\n [7, 12],\n [13, 10],\n [15, 9],\n [16, 8],\n [17, 6],\n [17, 3],\n [15, 1],\n [12, 0],\n [8, 0],\n [5, 1],\n [3, 3]\n ]\n },\n 'T': {\n width: 16, points: [\n [8, 21],\n [8, 0],\n [-1, -1],\n [1, 21],\n [15, 21]\n ]\n },\n 'U': {\n width: 22, points: [\n [4, 21],\n [4, 6],\n [5, 3],\n [7, 1],\n [10, 0],\n [12, 0],\n [15, 1],\n [17, 3],\n [18, 6],\n [18, 21]\n ]\n },\n 'V': {\n width: 18, points: [\n [1, 21],\n [9, 0],\n [-1, -1],\n [17, 21],\n [9, 0]\n ]\n },\n 'W': {\n width: 24, points: [\n [2, 21],\n [7, 0],\n [-1, -1],\n [12, 21],\n [7, 0],\n [-1, -1],\n [12, 21],\n [17, 0],\n [-1, -1],\n [22, 21],\n [17, 0]\n ]\n },\n 'X': {\n width: 20, points: [\n [3, 21],\n [17, 0],\n [-1, -1],\n [17, 21],\n [3, 0]\n ]\n },\n 'Y': {\n width: 18, points: [\n [1, 21],\n [9, 11],\n [9, 0],\n [-1, -1],\n [17, 21],\n [9, 11]\n ]\n },\n 'Z': {\n width: 20, points: [\n [17, 21],\n [3, 0],\n [-1, -1],\n [3, 21],\n [17, 21],\n [-1, -1],\n [3, 0],\n [17, 0]\n ]\n },\n '[': {\n width: 14, points: [\n [4, 25],\n [4, -7],\n [-1, -1],\n [5, 25],\n [5, -7],\n [-1, -1],\n [4, 25],\n [11, 25],\n [-1, -1],\n [4, -7],\n [11, -7]\n ]\n },\n '\\\\': {\n width: 14, points: [\n [0, 21],\n [14, -3]\n ]\n },\n ']': {\n width: 14, points: [\n [9, 25],\n [9, -7],\n [-1, -1],\n [10, 25],\n [10, -7],\n [-1, -1],\n [3, 25],\n [10, 25],\n [-1, -1],\n [3, -7],\n [10, -7]\n ]\n },\n '^': {\n width: 16, points: [\n [6, 15],\n [8, 18],\n [10, 15],\n [-1, -1],\n [3, 12],\n [8, 17],\n [13, 12],\n [-1, -1],\n [8, 17],\n [8, 0]\n ]\n },\n '_': {\n width: 16, points: [\n [0, -2],\n [16, -2]\n ]\n },\n '`': {\n width: 10, points: [\n [6, 21],\n [5, 20],\n [4, 18],\n [4, 16],\n [5, 15],\n [6, 16],\n [5, 17]\n ]\n },\n 'a': {\n width: 19, points: [\n [15, 14],\n [15, 0],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'b': {\n width: 19, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 11],\n [6, 13],\n [8, 14],\n [11, 14],\n [13, 13],\n [15, 11],\n [16, 8],\n [16, 6],\n [15, 3],\n [13, 1],\n [11, 0],\n [8, 0],\n [6, 1],\n [4, 3]\n ]\n },\n 'c': {\n width: 18, points: [\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'd': {\n width: 19, points: [\n [15, 21],\n [15, 0],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'e': {\n width: 18, points: [\n [3, 8],\n [15, 8],\n [15, 10],\n [14, 12],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'f': {\n width: 12, points: [\n [10, 21],\n [8, 21],\n [6, 20],\n [5, 17],\n [5, 0],\n [-1, -1],\n [2, 14],\n [9, 14]\n ]\n },\n 'g': {\n width: 19, points: [\n [15, 14],\n [15, -2],\n [14, -5],\n [13, -6],\n [11, -7],\n [8, -7],\n [6, -6],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'h': {\n width: 19, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 10],\n [7, 13],\n [9, 14],\n [12, 14],\n [14, 13],\n [15, 10],\n [15, 0]\n ]\n },\n 'i': {\n width: 8, points: [\n [3, 21],\n [4, 20],\n [5, 21],\n [4, 22],\n [3, 21],\n [-1, -1],\n [4, 14],\n [4, 0]\n ]\n },\n 'j': {\n width: 10, points: [\n [5, 21],\n [6, 20],\n [7, 21],\n [6, 22],\n [5, 21],\n [-1, -1],\n [6, 14],\n [6, -3],\n [5, -6],\n [3, -7],\n [1, -7]\n ]\n },\n 'k': {\n width: 17, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [14, 14],\n [4, 4],\n [-1, -1],\n [8, 8],\n [15, 0]\n ]\n },\n 'l': {\n width: 8, points: [\n [4, 21],\n [4, 0]\n ]\n },\n 'm': {\n width: 30, points: [\n [4, 14],\n [4, 0],\n [-1, -1],\n [4, 10],\n [7, 13],\n [9, 14],\n [12, 14],\n [14, 13],\n [15, 10],\n [15, 0],\n [-1, -1],\n [15, 10],\n [18, 13],\n [20, 14],\n [23, 14],\n [25, 13],\n [26, 10],\n [26, 0]\n ]\n },\n 'n': {\n width: 19, points: [\n [4, 14],\n [4, 0],\n [-1, -1],\n [4, 10],\n [7, 13],\n [9, 14],\n [12, 14],\n [14, 13],\n [15, 10],\n [15, 0]\n ]\n },\n 'o': {\n width: 19, points: [\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3],\n [16, 6],\n [16, 8],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14]\n ]\n },\n 'p': {\n width: 19, points: [\n [4, 14],\n [4, -7],\n [-1, -1],\n [4, 11],\n [6, 13],\n [8, 14],\n [11, 14],\n [13, 13],\n [15, 11],\n [16, 8],\n [16, 6],\n [15, 3],\n [13, 1],\n [11, 0],\n [8, 0],\n [6, 1],\n [4, 3]\n ]\n },\n 'q': {\n width: 19, points: [\n [15, 14],\n [15, -7],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'r': {\n width: 13, points: [\n [4, 14],\n [4, 0],\n [-1, -1],\n [4, 8],\n [5, 11],\n [7, 13],\n [9, 14],\n [12, 14]\n ]\n },\n 's': {\n width: 17, points: [\n [14, 11],\n [13, 13],\n [10, 14],\n [7, 14],\n [4, 13],\n [3, 11],\n [4, 9],\n [6, 8],\n [11, 7],\n [13, 6],\n [14, 4],\n [14, 3],\n [13, 1],\n [10, 0],\n [7, 0],\n [4, 1],\n [3, 3]\n ]\n },\n 't': {\n width: 12, points: [\n [5, 21],\n [5, 4],\n [6, 1],\n [8, 0],\n [10, 0],\n [-1, -1],\n [2, 14],\n [9, 14]\n ]\n },\n 'u': {\n width: 19, points: [\n [4, 14],\n [4, 4],\n [5, 1],\n [7, 0],\n [10, 0],\n [12, 1],\n [15, 4],\n [-1, -1],\n [15, 14],\n [15, 0]\n ]\n },\n 'v': {\n width: 16, points: [\n [2, 14],\n [8, 0],\n [-1, -1],\n [14, 14],\n [8, 0]\n ]\n },\n 'w': {\n width: 22, points: [\n [3, 14],\n [7, 0],\n [-1, -1],\n [11, 14],\n [7, 0],\n [-1, -1],\n [11, 14],\n [15, 0],\n [-1, -1],\n [19, 14],\n [15, 0]\n ]\n },\n 'x': {\n width: 17, points: [\n [3, 14],\n [14, 0],\n [-1, -1],\n [14, 14],\n [3, 0]\n ]\n },\n 'y': {\n width: 16, points: [\n [2, 14],\n [8, 0],\n [-1, -1],\n [14, 14],\n [8, 0],\n [6, -4],\n [4, -6],\n [2, -7],\n [1, -7]\n ]\n },\n 'z': {\n width: 17, points: [\n [14, 14],\n [3, 0],\n [-1, -1],\n [3, 14],\n [14, 14],\n [-1, -1],\n [3, 0],\n [14, 0]\n ]\n },\n '{': {\n width: 14, points: [\n [9, 25],\n [7, 24],\n [6, 23],\n [5, 21],\n [5, 19],\n [6, 17],\n [7, 16],\n [8, 14],\n [8, 12],\n [6, 10],\n [-1, -1],\n [7, 24],\n [6, 22],\n [6, 20],\n [7, 18],\n [8, 17],\n [9, 15],\n [9, 13],\n [8, 11],\n [4, 9],\n [8, 7],\n [9, 5],\n [9, 3],\n [8, 1],\n [7, 0],\n [6, -2],\n [6, -4],\n [7, -6],\n [-1, -1],\n [6, 8],\n [8, 6],\n [8, 4],\n [7, 2],\n [6, 1],\n [5, -1],\n [5, -3],\n [6, -5],\n [7, -6],\n [9, -7]\n ]\n },\n '|': {\n width: 8, points: [\n [4, 25],\n [4, -7]\n ]\n },\n '}': {\n width: 14, points: [\n [5, 25],\n [7, 24],\n [8, 23],\n [9, 21],\n [9, 19],\n [8, 17],\n [7, 16],\n [6, 14],\n [6, 12],\n [8, 10],\n [-1, -1],\n [7, 24],\n [8, 22],\n [8, 20],\n [7, 18],\n [6, 17],\n [5, 15],\n [5, 13],\n [6, 11],\n [10, 9],\n [6, 7],\n [5, 5],\n [5, 3],\n [6, 1],\n [7, 0],\n [8, -2],\n [8, -4],\n [7, -6],\n [-1, -1],\n [8, 8],\n [6, 6],\n [6, 4],\n [7, 2],\n [8, 1],\n [9, -1],\n [9, -3],\n [8, -5],\n [7, -6],\n [5, -7]\n ]\n },\n '~': {\n width: 24, points: [\n [3, 6],\n [3, 8],\n [4, 11],\n [6, 12],\n [8, 12],\n [10, 11],\n [14, 8],\n [16, 7],\n [18, 7],\n [20, 8],\n [21, 10],\n [-1, -1],\n [3, 8],\n [4, 10],\n [6, 11],\n [8, 11],\n [10, 10],\n [14, 7],\n [16, 6],\n [18, 6],\n [20, 7],\n [21, 10],\n [21, 12]\n ]\n }\n};\n\n/**\n * @desc Creates wireframe text-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a text-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildVectorTextGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const text = buildVectorTextGeometry({\n * origin: [0,0,0],\n * text: \"On the other side of the screen, it all looked so easy\"\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"textGeometry\",\n * primitiveType: text.primitiveType, // Will be \"lines\"\n * positions: text.positions,\n * indices: text.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redTextMesh\",\n * geometryId: \"textGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redText\",\n * meshIds: [\"redTextMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildVectorTextGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number[]} [cfg.origin] 3D point indicating the top left corner.\n * @param {Number} [cfg.size=1] Size of each character.\n * @param {String} [cfg.text=\"\"] The text.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildVectorTextGeometry(cfg = {}) {\n\n var origin = cfg.origin || [0, 0, 0];\n var xOrigin = origin[0];\n var yOrigin = origin[1];\n var zOrigin = origin[2];\n var size = cfg.size || 1;\n\n var positions = [];\n var indices = [];\n var text = (\"\" + cfg.text).trim();\n var lines = (text || \"\").split(\"\\n\");\n var countVerts = 0;\n var y = 0;\n var x;\n var str;\n var len;\n var c;\n var mag = 1.0 / 25.0;\n var penUp;\n var p1;\n var p2;\n var needLine;\n var pointsLen;\n var a;\n\n for (var iLine = 0; iLine < lines.length; iLine++) {\n\n x = 0;\n str = lines[iLine];\n len = str.length;\n\n for (var i = 0; i < len; i++) {\n\n c = letters[str.charAt(i)];\n\n if (c === '\\n') {\n //alert(\"newline\");\n }\n\n if (!c) {\n continue;\n }\n\n penUp = 1;\n p1 = -1;\n p2 = -1;\n needLine = false;\n\n pointsLen = c.points.length;\n\n for (var j = 0; j < pointsLen; j++) {\n a = c.points[j];\n\n if (a[0] === -1 && a[1] === -1) {\n penUp = 1;\n needLine = false;\n continue;\n }\n\n positions.push((x + (a[0] * size) * mag) + xOrigin);\n positions.push((y + (a[1] * size) * mag) + yOrigin);\n positions.push(0 + zOrigin);\n\n if (p1 === -1) {\n p1 = countVerts;\n } else if (p2 === -1) {\n p2 = countVerts;\n } else {\n p1 = p2;\n p2 = countVerts;\n }\n countVerts++;\n\n if (penUp) {\n penUp = false;\n\n } else {\n indices.push(p1);\n indices.push(p2);\n }\n\n needLine = true;\n }\n x += c.width * mag * size;\n\n }\n y -= 35 * mag * size;\n }\n\n return {\n primitiveType: \"lines\",\n positions: positions,\n indices: indices\n };\n}\n\n\nexport {buildVectorTextGeometry}\n","export {XKT_INFO} from \"./XKT_INFO.js\";\nexport * from \"./constants.js\";\nexport {XKTModel} from \"./XKTModel/XKTModel.js\";\nexport {writeXKTModelToArrayBuffer} from \"./XKTModel/writeXKTModelToArrayBuffer.js\";\n\nexport {parseCityJSONIntoXKTModel} from \"./parsers/parseCityJSONIntoXKTModel.js\";\nexport {parseGLTFIntoXKTModel} from \"./parsers/parseGLTFIntoXKTModel.js\";\nexport {parseGLTFJSONIntoXKTModel} from \"./parsers/parseGLTFJSONIntoXKTModel.js\";\nexport {parseIFCIntoXKTModel} from \"./parsers/parseIFCIntoXKTModel.js\";\nexport {parseLASIntoXKTModel} from \"./parsers/parseLASIntoXKTModel.js\";\nexport {parseMetaModelIntoXKTModel} from \"./parsers/parseMetaModelIntoXKTModel.js\";\nexport {parsePCDIntoXKTModel} from \"./parsers/parsePCDIntoXKTModel.js\";\nexport {parsePLYIntoXKTModel} from \"./parsers/parsePLYIntoXKTModel.js\";\nexport {parseSTLIntoXKTModel} from \"./parsers/parseSTLIntoXKTModel.js\";\n\nexport {buildBoxGeometry} from \"./geometryBuilders/buildBoxGeometry.js\";\nexport {buildBoxLinesGeometry} from \"./geometryBuilders/buildBoxLinesGeometry.js\";\nexport {buildCylinderGeometry} from \"./geometryBuilders/buildCylinderGeometry.js\";\nexport {buildGridGeometry} from \"./geometryBuilders/buildGridGeometry.js\";\nexport {buildPlaneGeometry} from \"./geometryBuilders/buildPlaneGeometry.js\";\nexport {buildSphereGeometry} from \"./geometryBuilders/buildSphereGeometry.js\";\nexport {buildTorusGeometry} from \"./geometryBuilders/buildTorusGeometry.js\";\nexport {buildVectorTextGeometry} from \"./geometryBuilders/buildVectorTextGeometry.js\";\n\n","/** @private */\nfunction earcut(data, holeIndices, dim) {\n\n dim = dim || 2;\n\n var hasHoles = holeIndices && holeIndices.length,\n outerLen = hasHoles ? holeIndices[0] * dim : data.length,\n outerNode = linkedList(data, 0, outerLen, dim, true),\n triangles = [];\n\n if (!outerNode || outerNode.next === outerNode.prev) return triangles;\n\n var minX, minY, maxX, maxY, x, y, invSize;\n\n if (hasHoles) outerNode = eliminateHoles(data, holeIndices, outerNode, dim);\n\n // if the shape is not too simple, we'll use z-order curve hash later; calculate polygon bbox\n if (data.length > 80 * dim) {\n minX = maxX = data[0];\n minY = maxY = data[1];\n\n for (var i = dim; i < outerLen; i += dim) {\n x = data[i];\n y = data[i + 1];\n if (x < minX) minX = x;\n if (y < minY) minY = y;\n if (x > maxX) maxX = x;\n if (y > maxY) maxY = y;\n }\n\n // minX, minY and invSize are later used to transform coords into integers for z-order calculation\n invSize = Math.max(maxX - minX, maxY - minY);\n invSize = invSize !== 0 ? 1 / invSize : 0;\n }\n\n earcutLinked(outerNode, triangles, dim, minX, minY, invSize);\n\n return triangles;\n}\n\n// create a circular doubly linked list from polygon points in the specified winding order\nfunction linkedList(data, start, end, dim, clockwise) {\n var i, last;\n\n if (clockwise === (signedArea(data, start, end, dim) > 0)) {\n for (i = start; i < end; i += dim) last = insertNode(i, data[i], data[i + 1], last);\n } else {\n for (i = end - dim; i >= start; i -= dim) last = insertNode(i, data[i], data[i + 1], last);\n }\n\n if (last && equals(last, last.next)) {\n removeNode(last);\n last = last.next;\n }\n\n return last;\n}\n\n// eliminate colinear or duplicate points\nfunction filterPoints(start, end) {\n if (!start) return start;\n if (!end) end = start;\n\n var p = start,\n again;\n do {\n again = false;\n\n if (!p.steiner && (equals(p, p.next) || area(p.prev, p, p.next) === 0)) {\n removeNode(p);\n p = end = p.prev;\n if (p === p.next) break;\n again = true;\n\n } else {\n p = p.next;\n }\n } while (again || p !== end);\n\n return end;\n}\n\n// main ear slicing loop which triangulates a polygon (given as a linked list)\nfunction earcutLinked(ear, triangles, dim, minX, minY, invSize, pass) {\n if (!ear) return;\n\n // interlink polygon nodes in z-order\n if (!pass && invSize) indexCurve(ear, minX, minY, invSize);\n\n var stop = ear,\n prev, next;\n\n // iterate through ears, slicing them one by one\n while (ear.prev !== ear.next) {\n prev = ear.prev;\n next = ear.next;\n\n if (invSize ? isEarHashed(ear, minX, minY, invSize) : isEar(ear)) {\n // cut off the triangle\n triangles.push(prev.i / dim);\n triangles.push(ear.i / dim);\n triangles.push(next.i / dim);\n\n removeNode(ear);\n\n // skipping the next vertex leads to less sliver triangles\n ear = next.next;\n stop = next.next;\n\n continue;\n }\n\n ear = next;\n\n // if we looped through the whole remaining polygon and can't find any more ears\n if (ear === stop) {\n // try filtering points and slicing again\n if (!pass) {\n earcutLinked(filterPoints(ear), triangles, dim, minX, minY, invSize, 1);\n\n // if this didn't work, try curing all small self-intersections locally\n } else if (pass === 1) {\n ear = cureLocalIntersections(filterPoints(ear), triangles, dim);\n earcutLinked(ear, triangles, dim, minX, minY, invSize, 2);\n\n // as a last resort, try splitting the remaining polygon into two\n } else if (pass === 2) {\n splitEarcut(ear, triangles, dim, minX, minY, invSize);\n }\n\n break;\n }\n }\n}\n\n// check whether a polygon node forms a valid ear with adjacent nodes\nfunction isEar(ear) {\n var a = ear.prev,\n b = ear,\n c = ear.next;\n\n if (area(a, b, c) >= 0) return false; // reflex, can't be an ear\n\n // now make sure we don't have other points inside the potential ear\n var p = ear.next.next;\n\n while (p !== ear.prev) {\n if (pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) &&\n area(p.prev, p, p.next) >= 0) return false;\n p = p.next;\n }\n\n return true;\n}\n\nfunction isEarHashed(ear, minX, minY, invSize) {\n var a = ear.prev,\n b = ear,\n c = ear.next;\n\n if (area(a, b, c) >= 0) return false; // reflex, can't be an ear\n\n // triangle bbox; min & max are calculated like this for speed\n var minTX = a.x < b.x ? (a.x < c.x ? a.x : c.x) : (b.x < c.x ? b.x : c.x),\n minTY = a.y < b.y ? (a.y < c.y ? a.y : c.y) : (b.y < c.y ? b.y : c.y),\n maxTX = a.x > b.x ? (a.x > c.x ? a.x : c.x) : (b.x > c.x ? b.x : c.x),\n maxTY = a.y > b.y ? (a.y > c.y ? a.y : c.y) : (b.y > c.y ? b.y : c.y);\n\n // z-order range for the current triangle bbox;\n var minZ = zOrder(minTX, minTY, minX, minY, invSize),\n maxZ = zOrder(maxTX, maxTY, minX, minY, invSize);\n\n var p = ear.prevZ,\n n = ear.nextZ;\n\n // look for points inside the triangle in both directions\n while (p && p.z >= minZ && n && n.z <= maxZ) {\n if (p !== ear.prev && p !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) &&\n area(p.prev, p, p.next) >= 0) return false;\n p = p.prevZ;\n\n if (n !== ear.prev && n !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, n.x, n.y) &&\n area(n.prev, n, n.next) >= 0) return false;\n n = n.nextZ;\n }\n\n // look for remaining points in decreasing z-order\n while (p && p.z >= minZ) {\n if (p !== ear.prev && p !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) &&\n area(p.prev, p, p.next) >= 0) return false;\n p = p.prevZ;\n }\n\n // look for remaining points in increasing z-order\n while (n && n.z <= maxZ) {\n if (n !== ear.prev && n !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, n.x, n.y) &&\n area(n.prev, n, n.next) >= 0) return false;\n n = n.nextZ;\n }\n\n return true;\n}\n\n// go through all polygon nodes and cure small local self-intersections\nfunction cureLocalIntersections(start, triangles, dim) {\n var p = start;\n do {\n var a = p.prev,\n b = p.next.next;\n\n if (!equals(a, b) && intersects(a, p, p.next, b) && locallyInside(a, b) && locallyInside(b, a)) {\n\n triangles.push(a.i / dim);\n triangles.push(p.i / dim);\n triangles.push(b.i / dim);\n\n // remove two nodes involved\n removeNode(p);\n removeNode(p.next);\n\n p = start = b;\n }\n p = p.next;\n } while (p !== start);\n\n return filterPoints(p);\n}\n\n// try splitting polygon into two and triangulate them independently\nfunction splitEarcut(start, triangles, dim, minX, minY, invSize) {\n // look for a valid diagonal that divides the polygon into two\n var a = start;\n do {\n var b = a.next.next;\n while (b !== a.prev) {\n if (a.i !== b.i && isValidDiagonal(a, b)) {\n // split the polygon in two by the diagonal\n var c = splitPolygon(a, b);\n\n // filter colinear points around the cuts\n a = filterPoints(a, a.next);\n c = filterPoints(c, c.next);\n\n // run earcut on each half\n earcutLinked(a, triangles, dim, minX, minY, invSize);\n earcutLinked(c, triangles, dim, minX, minY, invSize);\n return;\n }\n b = b.next;\n }\n a = a.next;\n } while (a !== start);\n}\n\n// link every hole into the outer loop, producing a single-ring polygon without holes\nfunction eliminateHoles(data, holeIndices, outerNode, dim) {\n var queue = [],\n i, len, start, end, list;\n\n for (i = 0, len = holeIndices.length; i < len; i++) {\n start = holeIndices[i] * dim;\n end = i < len - 1 ? holeIndices[i + 1] * dim : data.length;\n list = linkedList(data, start, end, dim, false);\n if (list === list.next) list.steiner = true;\n queue.push(getLeftmost(list));\n }\n\n queue.sort(compareX);\n\n // process holes from left to right\n for (i = 0; i < queue.length; i++) {\n eliminateHole(queue[i], outerNode);\n outerNode = filterPoints(outerNode, outerNode.next);\n }\n\n return outerNode;\n}\n\nfunction compareX(a, b) {\n return a.x - b.x;\n}\n\n// find a bridge between vertices that connects hole with an outer ring and and link it\nfunction eliminateHole(hole, outerNode) {\n outerNode = findHoleBridge(hole, outerNode);\n if (outerNode) {\n var b = splitPolygon(outerNode, hole);\n\n // filter collinear points around the cuts\n filterPoints(outerNode, outerNode.next);\n filterPoints(b, b.next);\n }\n}\n\n// David Eberly's algorithm for finding a bridge between hole and outer polygon\nfunction findHoleBridge(hole, outerNode) {\n var p = outerNode,\n hx = hole.x,\n hy = hole.y,\n qx = -Infinity,\n m;\n\n // find a segment intersected by a ray from the hole's leftmost point to the left;\n // segment's endpoint with lesser x will be potential connection point\n do {\n if (hy <= p.y && hy >= p.next.y && p.next.y !== p.y) {\n var x = p.x + (hy - p.y) * (p.next.x - p.x) / (p.next.y - p.y);\n if (x <= hx && x > qx) {\n qx = x;\n if (x === hx) {\n if (hy === p.y) return p;\n if (hy === p.next.y) return p.next;\n }\n m = p.x < p.next.x ? p : p.next;\n }\n }\n p = p.next;\n } while (p !== outerNode);\n\n if (!m) return null;\n\n if (hx === qx) return m; // hole touches outer segment; pick leftmost endpoint\n\n // look for points inside the triangle of hole point, segment intersection and endpoint;\n // if there are no points found, we have a valid connection;\n // otherwise choose the point of the minimum angle with the ray as connection point\n\n var stop = m,\n mx = m.x,\n my = m.y,\n tanMin = Infinity,\n tan;\n\n p = m;\n\n do {\n if (hx >= p.x && p.x >= mx && hx !== p.x &&\n pointInTriangle(hy < my ? hx : qx, hy, mx, my, hy < my ? qx : hx, hy, p.x, p.y)) {\n\n tan = Math.abs(hy - p.y) / (hx - p.x); // tangential\n\n if (locallyInside(p, hole) &&\n (tan < tanMin || (tan === tanMin && (p.x > m.x || (p.x === m.x && sectorContainsSector(m, p)))))) {\n m = p;\n tanMin = tan;\n }\n }\n\n p = p.next;\n } while (p !== stop);\n\n return m;\n}\n\n// whether sector in vertex m contains sector in vertex p in the same coordinates\nfunction sectorContainsSector(m, p) {\n return area(m.prev, m, p.prev) < 0 && area(p.next, m, m.next) < 0;\n}\n\n// interlink polygon nodes in z-order\nfunction indexCurve(start, minX, minY, invSize) {\n var p = start;\n do {\n if (p.z === null) p.z = zOrder(p.x, p.y, minX, minY, invSize);\n p.prevZ = p.prev;\n p.nextZ = p.next;\n p = p.next;\n } while (p !== start);\n\n p.prevZ.nextZ = null;\n p.prevZ = null;\n\n sortLinked(p);\n}\n\n// Simon Tatham's linked list merge sort algorithm\n// http://www.chiark.greenend.org.uk/~sgtatham/algorithms/listsort.html\nfunction sortLinked(list) {\n var i, p, q, e, tail, numMerges, pSize, qSize,\n inSize = 1;\n\n do {\n p = list;\n list = null;\n tail = null;\n numMerges = 0;\n\n while (p) {\n numMerges++;\n q = p;\n pSize = 0;\n for (i = 0; i < inSize; i++) {\n pSize++;\n q = q.nextZ;\n if (!q) break;\n }\n qSize = inSize;\n\n while (pSize > 0 || (qSize > 0 && q)) {\n\n if (pSize !== 0 && (qSize === 0 || !q || p.z <= q.z)) {\n e = p;\n p = p.nextZ;\n pSize--;\n } else {\n e = q;\n q = q.nextZ;\n qSize--;\n }\n\n if (tail) tail.nextZ = e;\n else list = e;\n\n e.prevZ = tail;\n tail = e;\n }\n\n p = q;\n }\n\n tail.nextZ = null;\n inSize *= 2;\n\n } while (numMerges > 1);\n\n return list;\n}\n\n// z-order of a point given coords and inverse of the longer side of data bbox\nfunction zOrder(x, y, minX, minY, invSize) {\n // coords are transformed into non-negative 15-bit integer range\n x = 32767 * (x - minX) * invSize;\n y = 32767 * (y - minY) * invSize;\n\n x = (x | (x << 8)) & 0x00FF00FF;\n x = (x | (x << 4)) & 0x0F0F0F0F;\n x = (x | (x << 2)) & 0x33333333;\n x = (x | (x << 1)) & 0x55555555;\n\n y = (y | (y << 8)) & 0x00FF00FF;\n y = (y | (y << 4)) & 0x0F0F0F0F;\n y = (y | (y << 2)) & 0x33333333;\n y = (y | (y << 1)) & 0x55555555;\n\n return x | (y << 1);\n}\n\n// find the leftmost node of a polygon ring\nfunction getLeftmost(start) {\n var p = start,\n leftmost = start;\n do {\n if (p.x < leftmost.x || (p.x === leftmost.x && p.y < leftmost.y)) leftmost = p;\n p = p.next;\n } while (p !== start);\n\n return leftmost;\n}\n\n// check if a point lies within a convex triangle\nfunction pointInTriangle(ax, ay, bx, by, cx, cy, px, py) {\n return (cx - px) * (ay - py) - (ax - px) * (cy - py) >= 0 &&\n (ax - px) * (by - py) - (bx - px) * (ay - py) >= 0 &&\n (bx - px) * (cy - py) - (cx - px) * (by - py) >= 0;\n}\n\n// check if a diagonal between two polygon nodes is valid (lies in polygon interior)\nfunction isValidDiagonal(a, b) {\n return a.next.i !== b.i && a.prev.i !== b.i && !intersectsPolygon(a, b) && // dones't intersect other edges\n (locallyInside(a, b) && locallyInside(b, a) && middleInside(a, b) && // locally visible\n (area(a.prev, a, b.prev) || area(a, b.prev, b)) || // does not create opposite-facing sectors\n equals(a, b) && area(a.prev, a, a.next) > 0 && area(b.prev, b, b.next) > 0); // special zero-length case\n}\n\n// signed area of a triangle\nfunction area(p, q, r) {\n return (q.y - p.y) * (r.x - q.x) - (q.x - p.x) * (r.y - q.y);\n}\n\n// check if two points are equal\nfunction equals(p1, p2) {\n return p1.x === p2.x && p1.y === p2.y;\n}\n\n// check if two segments intersect\nfunction intersects(p1, q1, p2, q2) {\n var o1 = sign(area(p1, q1, p2));\n var o2 = sign(area(p1, q1, q2));\n var o3 = sign(area(p2, q2, p1));\n var o4 = sign(area(p2, q2, q1));\n\n if (o1 !== o2 && o3 !== o4) return true; // general case\n\n if (o1 === 0 && onSegment(p1, p2, q1)) return true; // p1, q1 and p2 are collinear and p2 lies on p1q1\n if (o2 === 0 && onSegment(p1, q2, q1)) return true; // p1, q1 and q2 are collinear and q2 lies on p1q1\n if (o3 === 0 && onSegment(p2, p1, q2)) return true; // p2, q2 and p1 are collinear and p1 lies on p2q2\n if (o4 === 0 && onSegment(p2, q1, q2)) return true; // p2, q2 and q1 are collinear and q1 lies on p2q2\n\n return false;\n}\n\n// for collinear points p, q, r, check if point q lies on segment pr\nfunction onSegment(p, q, r) {\n return q.x <= Math.max(p.x, r.x) && q.x >= Math.min(p.x, r.x) && q.y <= Math.max(p.y, r.y) && q.y >= Math.min(p.y, r.y);\n}\n\nfunction sign(num) {\n return num > 0 ? 1 : num < 0 ? -1 : 0;\n}\n\n// check if a polygon diagonal intersects any polygon segments\nfunction intersectsPolygon(a, b) {\n var p = a;\n do {\n if (p.i !== a.i && p.next.i !== a.i && p.i !== b.i && p.next.i !== b.i &&\n intersects(p, p.next, a, b)) return true;\n p = p.next;\n } while (p !== a);\n\n return false;\n}\n\n// check if a polygon diagonal is locally inside the polygon\nfunction locallyInside(a, b) {\n return area(a.prev, a, a.next) < 0 ?\n area(a, b, a.next) >= 0 && area(a, a.prev, b) >= 0 :\n area(a, b, a.prev) < 0 || area(a, a.next, b) < 0;\n}\n\n// check if the middle point of a polygon diagonal is inside the polygon\nfunction middleInside(a, b) {\n var p = a,\n inside = false,\n px = (a.x + b.x) / 2,\n py = (a.y + b.y) / 2;\n do {\n if (((p.y > py) !== (p.next.y > py)) && p.next.y !== p.y &&\n (px < (p.next.x - p.x) * (py - p.y) / (p.next.y - p.y) + p.x))\n inside = !inside;\n p = p.next;\n } while (p !== a);\n\n return inside;\n}\n\n// link two polygon vertices with a bridge; if the vertices belong to the same ring, it splits polygon into two;\n// if one belongs to the outer ring and another to a hole, it merges it into a single ring\nfunction splitPolygon(a, b) {\n var a2 = new Node(a.i, a.x, a.y),\n b2 = new Node(b.i, b.x, b.y),\n an = a.next,\n bp = b.prev;\n\n a.next = b;\n b.prev = a;\n\n a2.next = an;\n an.prev = a2;\n\n b2.next = a2;\n a2.prev = b2;\n\n bp.next = b2;\n b2.prev = bp;\n\n return b2;\n}\n\n// create a node and optionally link it with previous one (in a circular doubly linked list)\nfunction insertNode(i, x, y, last) {\n var p = new Node(i, x, y);\n\n if (!last) {\n p.prev = p;\n p.next = p;\n\n } else {\n p.next = last.next;\n p.prev = last;\n last.next.prev = p;\n last.next = p;\n }\n return p;\n}\n\nfunction removeNode(p) {\n p.next.prev = p.prev;\n p.prev.next = p.next;\n\n if (p.prevZ) p.prevZ.nextZ = p.nextZ;\n if (p.nextZ) p.nextZ.prevZ = p.prevZ;\n}\n\nfunction Node(i, x, y) {\n // vertex index in coordinates array\n this.i = i;\n\n // vertex coordinates\n this.x = x;\n this.y = y;\n\n // previous and next vertex nodes in a polygon ring\n this.prev = null;\n this.next = null;\n\n // z-order curve value\n this.z = null;\n\n // previous and next nodes in z-order\n this.prevZ = null;\n this.nextZ = null;\n\n // indicates whether this is a steiner point\n this.steiner = false;\n}\n\n// return a percentage difference between the polygon area and its triangulation area;\n// used to verify correctness of triangulation\nearcut.deviation = function (data, holeIndices, dim, triangles) {\n var hasHoles = holeIndices && holeIndices.length;\n var outerLen = hasHoles ? holeIndices[0] * dim : data.length;\n\n var polygonArea = Math.abs(signedArea(data, 0, outerLen, dim));\n if (hasHoles) {\n for (var i = 0, len = holeIndices.length; i < len; i++) {\n var start = holeIndices[i] * dim;\n var end = i < len - 1 ? holeIndices[i + 1] * dim : data.length;\n polygonArea -= Math.abs(signedArea(data, start, end, dim));\n }\n }\n\n var trianglesArea = 0;\n for (i = 0; i < triangles.length; i += 3) {\n var a = triangles[i] * dim;\n var b = triangles[i + 1] * dim;\n var c = triangles[i + 2] * dim;\n trianglesArea += Math.abs(\n (data[a] - data[c]) * (data[b + 1] - data[a + 1]) -\n (data[a] - data[b]) * (data[c + 1] - data[a + 1]));\n }\n\n return polygonArea === 0 && trianglesArea === 0 ? 0 :\n Math.abs((trianglesArea - polygonArea) / polygonArea);\n};\n\nfunction signedArea(data, start, end, dim) {\n var sum = 0;\n for (var i = start, j = end - dim; i < end; i += dim) {\n sum += (data[j] - data[i]) * (data[i + 1] + data[j + 1]);\n j = i;\n }\n return sum;\n}\n\n// turn a polygon in a multi-dimensional array form (e.g. as in GeoJSON) into a form Earcut accepts\nearcut.flatten = function (data) {\n var dim = data[0][0].length,\n result = {vertices: [], holes: [], dimensions: dim},\n holeIndex = 0;\n\n for (var i = 0; i < data.length; i++) {\n for (var j = 0; j < data[i].length; j++) {\n for (var d = 0; d < dim; d++) result.vertices.push(data[i][j][d]);\n }\n if (i > 0) {\n holeIndex += data[i - 1].length;\n result.holes.push(holeIndex);\n }\n }\n return result;\n};\n\nexport {earcut};","import {math} from \"./math.js\";\n\n/**\n * Converts surface-perpendicular face normals to vertex normals. Assumes that the mesh contains disjoint triangles\n * that don't share vertex array elements. Works by finding groups of vertices that have the same location and\n * averaging their normal vectors.\n *\n * @returns {{positions: Array, normals: *}}\n * @private\n */\nfunction faceToVertexNormals(positions, normals, options = {}) {\n const smoothNormalsAngleThreshold = options.smoothNormalsAngleThreshold || 20;\n const vertexMap = {};\n const vertexNormals = [];\n const vertexNormalAccum = {};\n let acc;\n let vx;\n let vy;\n let vz;\n let key;\n const precisionPoints = 4; // number of decimal points, e.g. 4 for epsilon of 0.0001\n const precision = 10 ** precisionPoints;\n let posi;\n let i;\n let j;\n let len;\n let a;\n let b;\n let c;\n\n for (i = 0, len = positions.length; i < len; i += 3) {\n\n posi = i / 3;\n\n vx = positions[i];\n vy = positions[i + 1];\n vz = positions[i + 2];\n\n key = `${Math.round(vx * precision)}_${Math.round(vy * precision)}_${Math.round(vz * precision)}`;\n\n if (vertexMap[key] === undefined) {\n vertexMap[key] = [posi];\n } else {\n vertexMap[key].push(posi);\n }\n\n const normal = math.normalizeVec3([normals[i], normals[i + 1], normals[i + 2]]);\n\n vertexNormals[posi] = normal;\n\n acc = math.vec4([normal[0], normal[1], normal[2], 1]);\n\n vertexNormalAccum[posi] = acc;\n }\n\n for (key in vertexMap) {\n\n if (vertexMap.hasOwnProperty(key)) {\n\n const vertices = vertexMap[key];\n const numVerts = vertices.length;\n\n for (i = 0; i < numVerts; i++) {\n\n const ii = vertices[i];\n\n acc = vertexNormalAccum[ii];\n\n for (j = 0; j < numVerts; j++) {\n\n if (i === j) {\n continue;\n }\n\n const jj = vertices[j];\n\n a = vertexNormals[ii];\n b = vertexNormals[jj];\n\n const angle = Math.abs(math.angleVec3(a, b) / math.DEGTORAD);\n\n if (angle < smoothNormalsAngleThreshold) {\n\n acc[0] += b[0];\n acc[1] += b[1];\n acc[2] += b[2];\n acc[3] += 1.0;\n }\n }\n }\n }\n }\n\n for (i = 0, len = normals.length; i < len; i += 3) {\n\n acc = vertexNormalAccum[i / 3];\n\n normals[i + 0] = acc[0] / acc[3];\n normals[i + 1] = acc[1] / acc[3];\n normals[i + 2] = acc[2] / acc[3];\n\n }\n}\n\nexport {faceToVertexNormals};","// Some temporary vars to help avoid garbage collection\n\nconst doublePrecision = true;\nconst FloatArrayType = doublePrecision ? Float64Array : Float32Array;\n\nconst tempMat1 = new FloatArrayType(16);\nconst tempMat2 = new FloatArrayType(16);\nconst tempVec4 = new FloatArrayType(4);\n\n/**\n * @private\n */\nconst math = {\n\n MIN_DOUBLE: -Number.MAX_SAFE_INTEGER,\n MAX_DOUBLE: Number.MAX_SAFE_INTEGER,\n\n /**\n * The number of radiians in a degree (0.0174532925).\n * @property DEGTORAD\n * @type {Number}\n */\n DEGTORAD: 0.0174532925,\n\n /**\n * The number of degrees in a radian.\n * @property RADTODEG\n * @type {Number}\n */\n RADTODEG: 57.295779513,\n\n /**\n * Returns a new, uninitialized two-element vector.\n * @method vec2\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n vec2(values) {\n return new FloatArrayType(values || 2);\n },\n\n /**\n * Returns a new, uninitialized three-element vector.\n * @method vec3\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n vec3(values) {\n return new FloatArrayType(values || 3);\n },\n\n /**\n * Returns a new, uninitialized four-element vector.\n * @method vec4\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n vec4(values) {\n return new FloatArrayType(values || 4);\n },\n\n /**\n * Returns a new, uninitialized 3x3 matrix.\n * @method mat3\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n mat3(values) {\n return new FloatArrayType(values || 9);\n },\n\n /**\n * Converts a 3x3 matrix to 4x4\n * @method mat3ToMat4\n * @param mat3 3x3 matrix.\n * @param mat4 4x4 matrix\n * @static\n * @returns {Number[]}\n */\n mat3ToMat4(mat3, mat4 = new FloatArrayType(16)) {\n mat4[0] = mat3[0];\n mat4[1] = mat3[1];\n mat4[2] = mat3[2];\n mat4[3] = 0;\n mat4[4] = mat3[3];\n mat4[5] = mat3[4];\n mat4[6] = mat3[5];\n mat4[7] = 0;\n mat4[8] = mat3[6];\n mat4[9] = mat3[7];\n mat4[10] = mat3[8];\n mat4[11] = 0;\n mat4[12] = 0;\n mat4[13] = 0;\n mat4[14] = 0;\n mat4[15] = 1;\n return mat4;\n },\n\n /**\n * Returns a new, uninitialized 4x4 matrix.\n * @method mat4\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n mat4(values) {\n return new FloatArrayType(values || 16);\n },\n\n /**\n * Converts a 4x4 matrix to 3x3\n * @method mat4ToMat3\n * @param mat4 4x4 matrix.\n * @param mat3 3x3 matrix\n * @static\n * @returns {Number[]}\n */\n mat4ToMat3(mat4, mat3) { // TODO\n //return new FloatArrayType(values || 9);\n },\n\n /**\n * Returns a new UUID.\n * @method createUUID\n * @static\n * @return string The new UUID\n */\n createUUID: ((() => {\n const self = {};\n const lut = [];\n for (let i = 0; i < 256; i++) {\n lut[i] = (i < 16 ? '0' : '') + (i).toString(16);\n }\n return () => {\n const d0 = Math.random() * 0xffffffff | 0;\n const d1 = Math.random() * 0xffffffff | 0;\n const d2 = Math.random() * 0xffffffff | 0;\n const d3 = Math.random() * 0xffffffff | 0;\n return `${lut[d0 & 0xff] + lut[d0 >> 8 & 0xff] + lut[d0 >> 16 & 0xff] + lut[d0 >> 24 & 0xff]}-${lut[d1 & 0xff]}${lut[d1 >> 8 & 0xff]}-${lut[d1 >> 16 & 0x0f | 0x40]}${lut[d1 >> 24 & 0xff]}-${lut[d2 & 0x3f | 0x80]}${lut[d2 >> 8 & 0xff]}-${lut[d2 >> 16 & 0xff]}${lut[d2 >> 24 & 0xff]}${lut[d3 & 0xff]}${lut[d3 >> 8 & 0xff]}${lut[d3 >> 16 & 0xff]}${lut[d3 >> 24 & 0xff]}`;\n };\n }))(),\n\n /**\n * Clamps a value to the given range.\n * @param {Number} value Value to clamp.\n * @param {Number} min Lower bound.\n * @param {Number} max Upper bound.\n * @returns {Number} Clamped result.\n */\n clamp(value, min, max) {\n return Math.max(min, Math.min(max, value));\n },\n\n /**\n * Floating-point modulus\n * @method fmod\n * @static\n * @param {Number} a\n * @param {Number} b\n * @returns {*}\n */\n fmod(a, b) {\n if (a < b) {\n console.error(\"math.fmod : Attempting to find modulus within negative range - would be infinite loop - ignoring\");\n return a;\n }\n while (b <= a) {\n a -= b;\n }\n return a;\n },\n\n /**\n * Negates a four-element vector.\n * @method negateVec4\n * @static\n * @param {Array(Number)} v Vector to negate\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n negateVec4(v, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = -v[0];\n dest[1] = -v[1];\n dest[2] = -v[2];\n dest[3] = -v[3];\n return dest;\n },\n\n /**\n * Adds one four-element vector to another.\n * @method addVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n addVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] + v[0];\n dest[1] = u[1] + v[1];\n dest[2] = u[2] + v[2];\n dest[3] = u[3] + v[3];\n return dest;\n },\n\n /**\n * Adds a scalar value to each element of a four-element vector.\n * @method addVec4Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n addVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] + s;\n dest[1] = v[1] + s;\n dest[2] = v[2] + s;\n dest[3] = v[3] + s;\n return dest;\n },\n\n /**\n * Adds one three-element vector to another.\n * @method addVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n addVec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] + v[0];\n dest[1] = u[1] + v[1];\n dest[2] = u[2] + v[2];\n return dest;\n },\n\n /**\n * Adds a scalar value to each element of a three-element vector.\n * @method addVec4Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n addVec3Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] + s;\n dest[1] = v[1] + s;\n dest[2] = v[2] + s;\n return dest;\n },\n\n /**\n * Subtracts one four-element vector from another.\n * @method subVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Vector to subtract\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n subVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] - v[0];\n dest[1] = u[1] - v[1];\n dest[2] = u[2] - v[2];\n dest[3] = u[3] - v[3];\n return dest;\n },\n\n /**\n * Subtracts one three-element vector from another.\n * @method subVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Vector to subtract\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n subVec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] - v[0];\n dest[1] = u[1] - v[1];\n dest[2] = u[2] - v[2];\n return dest;\n },\n\n /**\n * Subtracts one two-element vector from another.\n * @method subVec2\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Vector to subtract\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n subVec2(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] - v[0];\n dest[1] = u[1] - v[1];\n return dest;\n },\n\n /**\n * Subtracts a scalar value from each element of a four-element vector.\n * @method subVec4Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n subVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] - s;\n dest[1] = v[1] - s;\n dest[2] = v[2] - s;\n dest[3] = v[3] - s;\n return dest;\n },\n\n /**\n * Sets each element of a 4-element vector to a scalar value minus the value of that element.\n * @method subScalarVec4\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n subScalarVec4(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = s - v[0];\n dest[1] = s - v[1];\n dest[2] = s - v[2];\n dest[3] = s - v[3];\n return dest;\n },\n\n /**\n * Multiplies one three-element vector by another.\n * @method mulVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n mulVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] * v[0];\n dest[1] = u[1] * v[1];\n dest[2] = u[2] * v[2];\n dest[3] = u[3] * v[3];\n return dest;\n },\n\n /**\n * Multiplies each element of a four-element vector by a scalar.\n * @method mulVec34calar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n mulVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] * s;\n dest[1] = v[1] * s;\n dest[2] = v[2] * s;\n dest[3] = v[3] * s;\n return dest;\n },\n\n /**\n * Multiplies each element of a three-element vector by a scalar.\n * @method mulVec3Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n mulVec3Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] * s;\n dest[1] = v[1] * s;\n dest[2] = v[2] * s;\n return dest;\n },\n\n /**\n * Multiplies each element of a two-element vector by a scalar.\n * @method mulVec2Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n mulVec2Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] * s;\n dest[1] = v[1] * s;\n return dest;\n },\n\n /**\n * Divides one three-element vector by another.\n * @method divVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n divVec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] / v[0];\n dest[1] = u[1] / v[1];\n dest[2] = u[2] / v[2];\n return dest;\n },\n\n /**\n * Divides one four-element vector by another.\n * @method divVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n divVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] / v[0];\n dest[1] = u[1] / v[1];\n dest[2] = u[2] / v[2];\n dest[3] = u[3] / v[3];\n return dest;\n },\n\n /**\n * Divides a scalar by a three-element vector, returning a new vector.\n * @method divScalarVec3\n * @static\n * @param v vec3\n * @param s scalar\n * @param dest vec3 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divScalarVec3(s, v, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = s / v[0];\n dest[1] = s / v[1];\n dest[2] = s / v[2];\n return dest;\n },\n\n /**\n * Divides a three-element vector by a scalar.\n * @method divVec3Scalar\n * @static\n * @param v vec3\n * @param s scalar\n * @param dest vec3 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divVec3Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] / s;\n dest[1] = v[1] / s;\n dest[2] = v[2] / s;\n return dest;\n },\n\n /**\n * Divides a four-element vector by a scalar.\n * @method divVec4Scalar\n * @static\n * @param v vec4\n * @param s scalar\n * @param dest vec4 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] / s;\n dest[1] = v[1] / s;\n dest[2] = v[2] / s;\n dest[3] = v[3] / s;\n return dest;\n },\n\n\n /**\n * Divides a scalar by a four-element vector, returning a new vector.\n * @method divScalarVec4\n * @static\n * @param s scalar\n * @param v vec4\n * @param dest vec4 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divScalarVec4(s, v, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = s / v[0];\n dest[1] = s / v[1];\n dest[2] = s / v[2];\n dest[3] = s / v[3];\n return dest;\n },\n\n /**\n * Returns the dot product of two four-element vectors.\n * @method dotVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The dot product\n */\n dotVec4(u, v) {\n return (u[0] * v[0] + u[1] * v[1] + u[2] * v[2] + u[3] * v[3]);\n },\n\n /**\n * Returns the cross product of two four-element vectors.\n * @method cross3Vec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The cross product\n */\n cross3Vec4(u, v) {\n const u0 = u[0];\n const u1 = u[1];\n const u2 = u[2];\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n return [\n u1 * v2 - u2 * v1,\n u2 * v0 - u0 * v2,\n u0 * v1 - u1 * v0,\n 0.0];\n },\n\n /**\n * Returns the cross product of two three-element vectors.\n * @method cross3Vec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The cross product\n */\n cross3Vec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n const x = u[0];\n const y = u[1];\n const z = u[2];\n const x2 = v[0];\n const y2 = v[1];\n const z2 = v[2];\n dest[0] = y * z2 - z * y2;\n dest[1] = z * x2 - x * z2;\n dest[2] = x * y2 - y * x2;\n return dest;\n },\n\n\n sqLenVec4(v) { // TODO\n return math.dotVec4(v, v);\n },\n\n /**\n * Returns the length of a four-element vector.\n * @method lenVec4\n * @static\n * @param {Array(Number)} v The vector\n * @return The length\n */\n lenVec4(v) {\n return Math.sqrt(math.sqLenVec4(v));\n },\n\n /**\n * Returns the dot product of two three-element vectors.\n * @method dotVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The dot product\n */\n dotVec3(u, v) {\n return (u[0] * v[0] + u[1] * v[1] + u[2] * v[2]);\n },\n\n /**\n * Returns the dot product of two two-element vectors.\n * @method dotVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The dot product\n */\n dotVec2(u, v) {\n return (u[0] * v[0] + u[1] * v[1]);\n },\n\n\n sqLenVec3(v) {\n return math.dotVec3(v, v);\n },\n\n\n sqLenVec2(v) {\n return math.dotVec2(v, v);\n },\n\n /**\n * Returns the length of a three-element vector.\n * @method lenVec3\n * @static\n * @param {Array(Number)} v The vector\n * @return The length\n */\n lenVec3(v) {\n return Math.sqrt(math.sqLenVec3(v));\n },\n\n distVec3: ((() => {\n const vec = new FloatArrayType(3);\n return (v, w) => math.lenVec3(math.subVec3(v, w, vec));\n }))(),\n\n /**\n * Returns the length of a two-element vector.\n * @method lenVec2\n * @static\n * @param {Array(Number)} v The vector\n * @return The length\n */\n lenVec2(v) {\n return Math.sqrt(math.sqLenVec2(v));\n },\n\n distVec2: ((() => {\n const vec = new FloatArrayType(2);\n return (v, w) => math.lenVec2(math.subVec2(v, w, vec));\n }))(),\n\n /**\n * @method rcpVec3\n * @static\n * @param v vec3\n * @param dest vec3 - optional destination\n * @return [] dest if specified, v otherwise\n *\n */\n rcpVec3(v, dest) {\n return math.divScalarVec3(1.0, v, dest);\n },\n\n /**\n * Normalizes a four-element vector\n * @method normalizeVec4\n * @static\n * @param v vec4\n * @param dest vec4 - optional destination\n * @return [] dest if specified, v otherwise\n *\n */\n normalizeVec4(v, dest) {\n const f = 1.0 / math.lenVec4(v);\n return math.mulVec4Scalar(v, f, dest);\n },\n\n /**\n * Normalizes a three-element vector\n * @method normalizeVec4\n * @static\n */\n normalizeVec3(v, dest) {\n const f = 1.0 / math.lenVec3(v);\n return math.mulVec3Scalar(v, f, dest);\n },\n\n /**\n * Normalizes a two-element vector\n * @method normalizeVec2\n * @static\n */\n normalizeVec2(v, dest) {\n const f = 1.0 / math.lenVec2(v);\n return math.mulVec2Scalar(v, f, dest);\n },\n\n /**\n * Gets the angle between two vectors\n * @method angleVec3\n * @param v\n * @param w\n * @returns {number}\n */\n angleVec3(v, w) {\n let theta = math.dotVec3(v, w) / (Math.sqrt(math.sqLenVec3(v) * math.sqLenVec3(w)));\n theta = theta < -1 ? -1 : (theta > 1 ? 1 : theta); // Clamp to handle numerical problems\n return Math.acos(theta);\n },\n\n /**\n * Creates a three-element vector from the rotation part of a sixteen-element matrix.\n * @param m\n * @param dest\n */\n vec3FromMat4Scale: ((() => {\n\n const tempVec3 = new FloatArrayType(3);\n\n return (m, dest) => {\n\n tempVec3[0] = m[0];\n tempVec3[1] = m[1];\n tempVec3[2] = m[2];\n\n dest[0] = math.lenVec3(tempVec3);\n\n tempVec3[0] = m[4];\n tempVec3[1] = m[5];\n tempVec3[2] = m[6];\n\n dest[1] = math.lenVec3(tempVec3);\n\n tempVec3[0] = m[8];\n tempVec3[1] = m[9];\n tempVec3[2] = m[10];\n\n dest[2] = math.lenVec3(tempVec3);\n\n return dest;\n };\n }))(),\n\n /**\n * Converts an n-element vector to a JSON-serializable\n * array with values rounded to two decimal places.\n */\n vecToArray: ((() => {\n function trunc(v) {\n return Math.round(v * 100000) / 100000\n }\n\n return v => {\n v = Array.prototype.slice.call(v);\n for (let i = 0, len = v.length; i < len; i++) {\n v[i] = trunc(v[i]);\n }\n return v;\n };\n }))(),\n\n /**\n * Converts a 3-element vector from an array to an object of the form ````{x:999, y:999, z:999}````.\n * @param arr\n * @returns {{x: *, y: *, z: *}}\n */\n xyzArrayToObject(arr) {\n return {\"x\": arr[0], \"y\": arr[1], \"z\": arr[2]};\n },\n\n /**\n * Converts a 3-element vector object of the form ````{x:999, y:999, z:999}```` to an array.\n * @param xyz\n * @param [arry]\n * @returns {*[]}\n */\n xyzObjectToArray(xyz, arry) {\n arry = arry || new FloatArrayType(3);\n arry[0] = xyz.x;\n arry[1] = xyz.y;\n arry[2] = xyz.z;\n return arry;\n },\n\n /**\n * Duplicates a 4x4 identity matrix.\n * @method dupMat4\n * @static\n */\n dupMat4(m) {\n return m.slice(0, 16);\n },\n\n /**\n * Extracts a 3x3 matrix from a 4x4 matrix.\n * @method mat4To3\n * @static\n */\n mat4To3(m) {\n return [\n m[0], m[1], m[2],\n m[4], m[5], m[6],\n m[8], m[9], m[10]\n ];\n },\n\n /**\n * Returns a 4x4 matrix with each element set to the given scalar value.\n * @method m4s\n * @static\n */\n m4s(s) {\n return [\n s, s, s, s,\n s, s, s, s,\n s, s, s, s,\n s, s, s, s\n ];\n },\n\n /**\n * Returns a 4x4 matrix with each element set to zero.\n * @method setMat4ToZeroes\n * @static\n */\n setMat4ToZeroes() {\n return math.m4s(0.0);\n },\n\n /**\n * Returns a 4x4 matrix with each element set to 1.0.\n * @method setMat4ToOnes\n * @static\n */\n setMat4ToOnes() {\n return math.m4s(1.0);\n },\n\n /**\n * Returns a 4x4 matrix with each element set to 1.0.\n * @method setMat4ToOnes\n * @static\n */\n diagonalMat4v(v) {\n return new FloatArrayType([\n v[0], 0.0, 0.0, 0.0,\n 0.0, v[1], 0.0, 0.0,\n 0.0, 0.0, v[2], 0.0,\n 0.0, 0.0, 0.0, v[3]\n ]);\n },\n\n /**\n * Returns a 4x4 matrix with diagonal elements set to the given vector.\n * @method diagonalMat4c\n * @static\n */\n diagonalMat4c(x, y, z, w) {\n return math.diagonalMat4v([x, y, z, w]);\n },\n\n /**\n * Returns a 4x4 matrix with diagonal elements set to the given scalar.\n * @method diagonalMat4s\n * @static\n */\n diagonalMat4s(s) {\n return math.diagonalMat4c(s, s, s, s);\n },\n\n /**\n * Returns a 4x4 identity matrix.\n * @method identityMat4\n * @static\n */\n identityMat4(mat = new FloatArrayType(16)) {\n mat[0] = 1.0;\n mat[1] = 0.0;\n mat[2] = 0.0;\n mat[3] = 0.0;\n\n mat[4] = 0.0;\n mat[5] = 1.0;\n mat[6] = 0.0;\n mat[7] = 0.0;\n\n mat[8] = 0.0;\n mat[9] = 0.0;\n mat[10] = 1.0;\n mat[11] = 0.0;\n\n mat[12] = 0.0;\n mat[13] = 0.0;\n mat[14] = 0.0;\n mat[15] = 1.0;\n\n return mat;\n },\n\n /**\n * Returns a 3x3 identity matrix.\n * @method identityMat3\n * @static\n */\n identityMat3(mat = new FloatArrayType(9)) {\n mat[0] = 1.0;\n mat[1] = 0.0;\n mat[2] = 0.0;\n\n mat[3] = 0.0;\n mat[4] = 1.0;\n mat[5] = 0.0;\n\n mat[6] = 0.0;\n mat[7] = 0.0;\n mat[8] = 1.0;\n\n return mat;\n },\n\n /**\n * Tests if the given 4x4 matrix is the identity matrix.\n * @method isIdentityMat4\n * @static\n */\n isIdentityMat4(m) {\n if (m[0] !== 1.0 || m[1] !== 0.0 || m[2] !== 0.0 || m[3] !== 0.0 ||\n m[4] !== 0.0 || m[5] !== 1.0 || m[6] !== 0.0 || m[7] !== 0.0 ||\n m[8] !== 0.0 || m[9] !== 0.0 || m[10] !== 1.0 || m[11] !== 0.0 ||\n m[12] !== 0.0 || m[13] !== 0.0 || m[14] !== 0.0 || m[15] !== 1.0) {\n return false;\n }\n return true;\n },\n\n /**\n * Negates the given 4x4 matrix.\n * @method negateMat4\n * @static\n */\n negateMat4(m, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = -m[0];\n dest[1] = -m[1];\n dest[2] = -m[2];\n dest[3] = -m[3];\n dest[4] = -m[4];\n dest[5] = -m[5];\n dest[6] = -m[6];\n dest[7] = -m[7];\n dest[8] = -m[8];\n dest[9] = -m[9];\n dest[10] = -m[10];\n dest[11] = -m[11];\n dest[12] = -m[12];\n dest[13] = -m[13];\n dest[14] = -m[14];\n dest[15] = -m[15];\n return dest;\n },\n\n /**\n * Adds the given 4x4 matrices together.\n * @method addMat4\n * @static\n */\n addMat4(a, b, dest) {\n if (!dest) {\n dest = a;\n }\n dest[0] = a[0] + b[0];\n dest[1] = a[1] + b[1];\n dest[2] = a[2] + b[2];\n dest[3] = a[3] + b[3];\n dest[4] = a[4] + b[4];\n dest[5] = a[5] + b[5];\n dest[6] = a[6] + b[6];\n dest[7] = a[7] + b[7];\n dest[8] = a[8] + b[8];\n dest[9] = a[9] + b[9];\n dest[10] = a[10] + b[10];\n dest[11] = a[11] + b[11];\n dest[12] = a[12] + b[12];\n dest[13] = a[13] + b[13];\n dest[14] = a[14] + b[14];\n dest[15] = a[15] + b[15];\n return dest;\n },\n\n /**\n * Adds the given scalar to each element of the given 4x4 matrix.\n * @method addMat4Scalar\n * @static\n */\n addMat4Scalar(m, s, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = m[0] + s;\n dest[1] = m[1] + s;\n dest[2] = m[2] + s;\n dest[3] = m[3] + s;\n dest[4] = m[4] + s;\n dest[5] = m[5] + s;\n dest[6] = m[6] + s;\n dest[7] = m[7] + s;\n dest[8] = m[8] + s;\n dest[9] = m[9] + s;\n dest[10] = m[10] + s;\n dest[11] = m[11] + s;\n dest[12] = m[12] + s;\n dest[13] = m[13] + s;\n dest[14] = m[14] + s;\n dest[15] = m[15] + s;\n return dest;\n },\n\n /**\n * Adds the given scalar to each element of the given 4x4 matrix.\n * @method addScalarMat4\n * @static\n */\n addScalarMat4(s, m, dest) {\n return math.addMat4Scalar(m, s, dest);\n },\n\n /**\n * Subtracts the second 4x4 matrix from the first.\n * @method subMat4\n * @static\n */\n subMat4(a, b, dest) {\n if (!dest) {\n dest = a;\n }\n dest[0] = a[0] - b[0];\n dest[1] = a[1] - b[1];\n dest[2] = a[2] - b[2];\n dest[3] = a[3] - b[3];\n dest[4] = a[4] - b[4];\n dest[5] = a[5] - b[5];\n dest[6] = a[6] - b[6];\n dest[7] = a[7] - b[7];\n dest[8] = a[8] - b[8];\n dest[9] = a[9] - b[9];\n dest[10] = a[10] - b[10];\n dest[11] = a[11] - b[11];\n dest[12] = a[12] - b[12];\n dest[13] = a[13] - b[13];\n dest[14] = a[14] - b[14];\n dest[15] = a[15] - b[15];\n return dest;\n },\n\n /**\n * Subtracts the given scalar from each element of the given 4x4 matrix.\n * @method subMat4Scalar\n * @static\n */\n subMat4Scalar(m, s, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = m[0] - s;\n dest[1] = m[1] - s;\n dest[2] = m[2] - s;\n dest[3] = m[3] - s;\n dest[4] = m[4] - s;\n dest[5] = m[5] - s;\n dest[6] = m[6] - s;\n dest[7] = m[7] - s;\n dest[8] = m[8] - s;\n dest[9] = m[9] - s;\n dest[10] = m[10] - s;\n dest[11] = m[11] - s;\n dest[12] = m[12] - s;\n dest[13] = m[13] - s;\n dest[14] = m[14] - s;\n dest[15] = m[15] - s;\n return dest;\n },\n\n /**\n * Subtracts the given scalar from each element of the given 4x4 matrix.\n * @method subScalarMat4\n * @static\n */\n subScalarMat4(s, m, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = s - m[0];\n dest[1] = s - m[1];\n dest[2] = s - m[2];\n dest[3] = s - m[3];\n dest[4] = s - m[4];\n dest[5] = s - m[5];\n dest[6] = s - m[6];\n dest[7] = s - m[7];\n dest[8] = s - m[8];\n dest[9] = s - m[9];\n dest[10] = s - m[10];\n dest[11] = s - m[11];\n dest[12] = s - m[12];\n dest[13] = s - m[13];\n dest[14] = s - m[14];\n dest[15] = s - m[15];\n return dest;\n },\n\n /**\n * Multiplies the two given 4x4 matrix by each other.\n * @method mulMat4\n * @static\n */\n mulMat4(a, b, dest) {\n if (!dest) {\n dest = a;\n }\n\n // Cache the matrix values (makes for huge speed increases!)\n const a00 = a[0];\n\n const a01 = a[1];\n const a02 = a[2];\n const a03 = a[3];\n const a10 = a[4];\n const a11 = a[5];\n const a12 = a[6];\n const a13 = a[7];\n const a20 = a[8];\n const a21 = a[9];\n const a22 = a[10];\n const a23 = a[11];\n const a30 = a[12];\n const a31 = a[13];\n const a32 = a[14];\n const a33 = a[15];\n const b00 = b[0];\n const b01 = b[1];\n const b02 = b[2];\n const b03 = b[3];\n const b10 = b[4];\n const b11 = b[5];\n const b12 = b[6];\n const b13 = b[7];\n const b20 = b[8];\n const b21 = b[9];\n const b22 = b[10];\n const b23 = b[11];\n const b30 = b[12];\n const b31 = b[13];\n const b32 = b[14];\n const b33 = b[15];\n\n dest[0] = b00 * a00 + b01 * a10 + b02 * a20 + b03 * a30;\n dest[1] = b00 * a01 + b01 * a11 + b02 * a21 + b03 * a31;\n dest[2] = b00 * a02 + b01 * a12 + b02 * a22 + b03 * a32;\n dest[3] = b00 * a03 + b01 * a13 + b02 * a23 + b03 * a33;\n dest[4] = b10 * a00 + b11 * a10 + b12 * a20 + b13 * a30;\n dest[5] = b10 * a01 + b11 * a11 + b12 * a21 + b13 * a31;\n dest[6] = b10 * a02 + b11 * a12 + b12 * a22 + b13 * a32;\n dest[7] = b10 * a03 + b11 * a13 + b12 * a23 + b13 * a33;\n dest[8] = b20 * a00 + b21 * a10 + b22 * a20 + b23 * a30;\n dest[9] = b20 * a01 + b21 * a11 + b22 * a21 + b23 * a31;\n dest[10] = b20 * a02 + b21 * a12 + b22 * a22 + b23 * a32;\n dest[11] = b20 * a03 + b21 * a13 + b22 * a23 + b23 * a33;\n dest[12] = b30 * a00 + b31 * a10 + b32 * a20 + b33 * a30;\n dest[13] = b30 * a01 + b31 * a11 + b32 * a21 + b33 * a31;\n dest[14] = b30 * a02 + b31 * a12 + b32 * a22 + b33 * a32;\n dest[15] = b30 * a03 + b31 * a13 + b32 * a23 + b33 * a33;\n\n return dest;\n },\n\n /**\n * Multiplies the two given 3x3 matrices by each other.\n * @method mulMat4\n * @static\n */\n mulMat3(a, b, dest) {\n if (!dest) {\n dest = new FloatArrayType(9);\n }\n\n const a11 = a[0];\n const a12 = a[3];\n const a13 = a[6];\n const a21 = a[1];\n const a22 = a[4];\n const a23 = a[7];\n const a31 = a[2];\n const a32 = a[5];\n const a33 = a[8];\n const b11 = b[0];\n const b12 = b[3];\n const b13 = b[6];\n const b21 = b[1];\n const b22 = b[4];\n const b23 = b[7];\n const b31 = b[2];\n const b32 = b[5];\n const b33 = b[8];\n\n dest[0] = a11 * b11 + a12 * b21 + a13 * b31;\n dest[3] = a11 * b12 + a12 * b22 + a13 * b32;\n dest[6] = a11 * b13 + a12 * b23 + a13 * b33;\n\n dest[1] = a21 * b11 + a22 * b21 + a23 * b31;\n dest[4] = a21 * b12 + a22 * b22 + a23 * b32;\n dest[7] = a21 * b13 + a22 * b23 + a23 * b33;\n\n dest[2] = a31 * b11 + a32 * b21 + a33 * b31;\n dest[5] = a31 * b12 + a32 * b22 + a33 * b32;\n dest[8] = a31 * b13 + a32 * b23 + a33 * b33;\n\n return dest;\n },\n\n /**\n * Multiplies each element of the given 4x4 matrix by the given scalar.\n * @method mulMat4Scalar\n * @static\n */\n mulMat4Scalar(m, s, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = m[0] * s;\n dest[1] = m[1] * s;\n dest[2] = m[2] * s;\n dest[3] = m[3] * s;\n dest[4] = m[4] * s;\n dest[5] = m[5] * s;\n dest[6] = m[6] * s;\n dest[7] = m[7] * s;\n dest[8] = m[8] * s;\n dest[9] = m[9] * s;\n dest[10] = m[10] * s;\n dest[11] = m[11] * s;\n dest[12] = m[12] * s;\n dest[13] = m[13] * s;\n dest[14] = m[14] * s;\n dest[15] = m[15] * s;\n return dest;\n },\n\n /**\n * Multiplies the given 4x4 matrix by the given four-element vector.\n * @method mulMat4v4\n * @static\n */\n mulMat4v4(m, v, dest = math.vec4()) {\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n const v3 = v[3];\n dest[0] = m[0] * v0 + m[4] * v1 + m[8] * v2 + m[12] * v3;\n dest[1] = m[1] * v0 + m[5] * v1 + m[9] * v2 + m[13] * v3;\n dest[2] = m[2] * v0 + m[6] * v1 + m[10] * v2 + m[14] * v3;\n dest[3] = m[3] * v0 + m[7] * v1 + m[11] * v2 + m[15] * v3;\n return dest;\n },\n\n /**\n * Transposes the given 4x4 matrix.\n * @method transposeMat4\n * @static\n */\n transposeMat4(mat, dest) {\n // If we are transposing ourselves we can skip a few steps but have to cache some values\n const m4 = mat[4];\n\n const m14 = mat[14];\n const m8 = mat[8];\n const m13 = mat[13];\n const m12 = mat[12];\n const m9 = mat[9];\n if (!dest || mat === dest) {\n const a01 = mat[1];\n const a02 = mat[2];\n const a03 = mat[3];\n const a12 = mat[6];\n const a13 = mat[7];\n const a23 = mat[11];\n mat[1] = m4;\n mat[2] = m8;\n mat[3] = m12;\n mat[4] = a01;\n mat[6] = m9;\n mat[7] = m13;\n mat[8] = a02;\n mat[9] = a12;\n mat[11] = m14;\n mat[12] = a03;\n mat[13] = a13;\n mat[14] = a23;\n return mat;\n }\n dest[0] = mat[0];\n dest[1] = m4;\n dest[2] = m8;\n dest[3] = m12;\n dest[4] = mat[1];\n dest[5] = mat[5];\n dest[6] = m9;\n dest[7] = m13;\n dest[8] = mat[2];\n dest[9] = mat[6];\n dest[10] = mat[10];\n dest[11] = m14;\n dest[12] = mat[3];\n dest[13] = mat[7];\n dest[14] = mat[11];\n dest[15] = mat[15];\n return dest;\n },\n\n /**\n * Transposes the given 3x3 matrix.\n *\n * @method transposeMat3\n * @static\n */\n transposeMat3(mat, dest) {\n if (dest === mat) {\n const a01 = mat[1];\n const a02 = mat[2];\n const a12 = mat[5];\n dest[1] = mat[3];\n dest[2] = mat[6];\n dest[3] = a01;\n dest[5] = mat[7];\n dest[6] = a02;\n dest[7] = a12;\n } else {\n dest[0] = mat[0];\n dest[1] = mat[3];\n dest[2] = mat[6];\n dest[3] = mat[1];\n dest[4] = mat[4];\n dest[5] = mat[7];\n dest[6] = mat[2];\n dest[7] = mat[5];\n dest[8] = mat[8];\n }\n return dest;\n },\n\n /**\n * Returns the determinant of the given 4x4 matrix.\n * @method determinantMat4\n * @static\n */\n determinantMat4(mat) {\n // Cache the matrix values (makes for huge speed increases!)\n const a00 = mat[0];\n\n const a01 = mat[1];\n const a02 = mat[2];\n const a03 = mat[3];\n const a10 = mat[4];\n const a11 = mat[5];\n const a12 = mat[6];\n const a13 = mat[7];\n const a20 = mat[8];\n const a21 = mat[9];\n const a22 = mat[10];\n const a23 = mat[11];\n const a30 = mat[12];\n const a31 = mat[13];\n const a32 = mat[14];\n const a33 = mat[15];\n return a30 * a21 * a12 * a03 - a20 * a31 * a12 * a03 - a30 * a11 * a22 * a03 + a10 * a31 * a22 * a03 +\n a20 * a11 * a32 * a03 - a10 * a21 * a32 * a03 - a30 * a21 * a02 * a13 + a20 * a31 * a02 * a13 +\n a30 * a01 * a22 * a13 - a00 * a31 * a22 * a13 - a20 * a01 * a32 * a13 + a00 * a21 * a32 * a13 +\n a30 * a11 * a02 * a23 - a10 * a31 * a02 * a23 - a30 * a01 * a12 * a23 + a00 * a31 * a12 * a23 +\n a10 * a01 * a32 * a23 - a00 * a11 * a32 * a23 - a20 * a11 * a02 * a33 + a10 * a21 * a02 * a33 +\n a20 * a01 * a12 * a33 - a00 * a21 * a12 * a33 - a10 * a01 * a22 * a33 + a00 * a11 * a22 * a33;\n },\n\n /**\n * Returns the inverse of the given 4x4 matrix.\n * @method inverseMat4\n * @static\n */\n inverseMat4(mat, dest) {\n if (!dest) {\n dest = mat;\n }\n\n // Cache the matrix values (makes for huge speed increases!)\n const a00 = mat[0];\n\n const a01 = mat[1];\n const a02 = mat[2];\n const a03 = mat[3];\n const a10 = mat[4];\n const a11 = mat[5];\n const a12 = mat[6];\n const a13 = mat[7];\n const a20 = mat[8];\n const a21 = mat[9];\n const a22 = mat[10];\n const a23 = mat[11];\n const a30 = mat[12];\n const a31 = mat[13];\n const a32 = mat[14];\n const a33 = mat[15];\n const b00 = a00 * a11 - a01 * a10;\n const b01 = a00 * a12 - a02 * a10;\n const b02 = a00 * a13 - a03 * a10;\n const b03 = a01 * a12 - a02 * a11;\n const b04 = a01 * a13 - a03 * a11;\n const b05 = a02 * a13 - a03 * a12;\n const b06 = a20 * a31 - a21 * a30;\n const b07 = a20 * a32 - a22 * a30;\n const b08 = a20 * a33 - a23 * a30;\n const b09 = a21 * a32 - a22 * a31;\n const b10 = a21 * a33 - a23 * a31;\n const b11 = a22 * a33 - a23 * a32;\n\n // Calculate the determinant (inlined to avoid double-caching)\n const invDet = 1 / (b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06);\n\n dest[0] = (a11 * b11 - a12 * b10 + a13 * b09) * invDet;\n dest[1] = (-a01 * b11 + a02 * b10 - a03 * b09) * invDet;\n dest[2] = (a31 * b05 - a32 * b04 + a33 * b03) * invDet;\n dest[3] = (-a21 * b05 + a22 * b04 - a23 * b03) * invDet;\n dest[4] = (-a10 * b11 + a12 * b08 - a13 * b07) * invDet;\n dest[5] = (a00 * b11 - a02 * b08 + a03 * b07) * invDet;\n dest[6] = (-a30 * b05 + a32 * b02 - a33 * b01) * invDet;\n dest[7] = (a20 * b05 - a22 * b02 + a23 * b01) * invDet;\n dest[8] = (a10 * b10 - a11 * b08 + a13 * b06) * invDet;\n dest[9] = (-a00 * b10 + a01 * b08 - a03 * b06) * invDet;\n dest[10] = (a30 * b04 - a31 * b02 + a33 * b00) * invDet;\n dest[11] = (-a20 * b04 + a21 * b02 - a23 * b00) * invDet;\n dest[12] = (-a10 * b09 + a11 * b07 - a12 * b06) * invDet;\n dest[13] = (a00 * b09 - a01 * b07 + a02 * b06) * invDet;\n dest[14] = (-a30 * b03 + a31 * b01 - a32 * b00) * invDet;\n dest[15] = (a20 * b03 - a21 * b01 + a22 * b00) * invDet;\n\n return dest;\n },\n\n /**\n * Returns the trace of the given 4x4 matrix.\n * @method traceMat4\n * @static\n */\n traceMat4(m) {\n return (m[0] + m[5] + m[10] + m[15]);\n },\n\n /**\n * Returns 4x4 translation matrix.\n * @method translationMat4\n * @static\n */\n translationMat4v(v, dest) {\n const m = dest || math.identityMat4();\n m[12] = v[0];\n m[13] = v[1];\n m[14] = v[2];\n return m;\n },\n\n /**\n * Returns 3x3 translation matrix.\n * @method translationMat3\n * @static\n */\n translationMat3v(v, dest) {\n const m = dest || math.identityMat3();\n m[6] = v[0];\n m[7] = v[1];\n return m;\n },\n\n /**\n * Returns 4x4 translation matrix.\n * @method translationMat4c\n * @static\n */\n translationMat4c: ((() => {\n const xyz = new FloatArrayType(3);\n return (x, y, z, dest) => {\n xyz[0] = x;\n xyz[1] = y;\n xyz[2] = z;\n return math.translationMat4v(xyz, dest);\n };\n }))(),\n\n /**\n * Returns 4x4 translation matrix.\n * @method translationMat4s\n * @static\n */\n translationMat4s(s, dest) {\n return math.translationMat4c(s, s, s, dest);\n },\n\n /**\n * Efficiently post-concatenates a translation to the given matrix.\n * @param v\n * @param m\n */\n translateMat4v(xyz, m) {\n return math.translateMat4c(xyz[0], xyz[1], xyz[2], m);\n },\n\n /**\n * Efficiently post-concatenates a translation to the given matrix.\n * @param x\n * @param y\n * @param z\n * @param m\n */\n OLDtranslateMat4c(x, y, z, m) {\n\n const m12 = m[12];\n m[0] += m12 * x;\n m[4] += m12 * y;\n m[8] += m12 * z;\n\n const m13 = m[13];\n m[1] += m13 * x;\n m[5] += m13 * y;\n m[9] += m13 * z;\n\n const m14 = m[14];\n m[2] += m14 * x;\n m[6] += m14 * y;\n m[10] += m14 * z;\n\n const m15 = m[15];\n m[3] += m15 * x;\n m[7] += m15 * y;\n m[11] += m15 * z;\n\n return m;\n },\n\n translateMat4c(x, y, z, m) {\n\n const m3 = m[3];\n m[0] += m3 * x;\n m[1] += m3 * y;\n m[2] += m3 * z;\n\n const m7 = m[7];\n m[4] += m7 * x;\n m[5] += m7 * y;\n m[6] += m7 * z;\n\n const m11 = m[11];\n m[8] += m11 * x;\n m[9] += m11 * y;\n m[10] += m11 * z;\n\n const m15 = m[15];\n m[12] += m15 * x;\n m[13] += m15 * y;\n m[14] += m15 * z;\n\n return m;\n },\n /**\n * Returns 4x4 rotation matrix.\n * @method rotationMat4v\n * @static\n */\n rotationMat4v(anglerad, axis, m) {\n const ax = math.normalizeVec4([axis[0], axis[1], axis[2], 0.0], []);\n const s = Math.sin(anglerad);\n const c = Math.cos(anglerad);\n const q = 1.0 - c;\n\n const x = ax[0];\n const y = ax[1];\n const z = ax[2];\n\n let xy;\n let yz;\n let zx;\n let xs;\n let ys;\n let zs;\n\n //xx = x * x; used once\n //yy = y * y; used once\n //zz = z * z; used once\n xy = x * y;\n yz = y * z;\n zx = z * x;\n xs = x * s;\n ys = y * s;\n zs = z * s;\n\n m = m || math.mat4();\n\n m[0] = (q * x * x) + c;\n m[1] = (q * xy) + zs;\n m[2] = (q * zx) - ys;\n m[3] = 0.0;\n\n m[4] = (q * xy) - zs;\n m[5] = (q * y * y) + c;\n m[6] = (q * yz) + xs;\n m[7] = 0.0;\n\n m[8] = (q * zx) + ys;\n m[9] = (q * yz) - xs;\n m[10] = (q * z * z) + c;\n m[11] = 0.0;\n\n m[12] = 0.0;\n m[13] = 0.0;\n m[14] = 0.0;\n m[15] = 1.0;\n\n return m;\n },\n\n /**\n * Returns 4x4 rotation matrix.\n * @method rotationMat4c\n * @static\n */\n rotationMat4c(anglerad, x, y, z, mat) {\n return math.rotationMat4v(anglerad, [x, y, z], mat);\n },\n\n /**\n * Returns 4x4 scale matrix.\n * @method scalingMat4v\n * @static\n */\n scalingMat4v(v, m = math.identityMat4()) {\n m[0] = v[0];\n m[5] = v[1];\n m[10] = v[2];\n return m;\n },\n\n /**\n * Returns 3x3 scale matrix.\n * @method scalingMat3v\n * @static\n */\n scalingMat3v(v, m = math.identityMat3()) {\n m[0] = v[0];\n m[4] = v[1];\n return m;\n },\n\n /**\n * Returns 4x4 scale matrix.\n * @method scalingMat4c\n * @static\n */\n scalingMat4c: ((() => {\n const xyz = new FloatArrayType(3);\n return (x, y, z, dest) => {\n xyz[0] = x;\n xyz[1] = y;\n xyz[2] = z;\n return math.scalingMat4v(xyz, dest);\n };\n }))(),\n\n /**\n * Efficiently post-concatenates a scaling to the given matrix.\n * @method scaleMat4c\n * @param x\n * @param y\n * @param z\n * @param m\n */\n scaleMat4c(x, y, z, m) {\n\n m[0] *= x;\n m[4] *= y;\n m[8] *= z;\n\n m[1] *= x;\n m[5] *= y;\n m[9] *= z;\n\n m[2] *= x;\n m[6] *= y;\n m[10] *= z;\n\n m[3] *= x;\n m[7] *= y;\n m[11] *= z;\n return m;\n },\n\n /**\n * Efficiently post-concatenates a scaling to the given matrix.\n * @method scaleMat4c\n * @param xyz\n * @param m\n */\n scaleMat4v(xyz, m) {\n\n const x = xyz[0];\n const y = xyz[1];\n const z = xyz[2];\n\n m[0] *= x;\n m[4] *= y;\n m[8] *= z;\n m[1] *= x;\n m[5] *= y;\n m[9] *= z;\n m[2] *= x;\n m[6] *= y;\n m[10] *= z;\n m[3] *= x;\n m[7] *= y;\n m[11] *= z;\n\n return m;\n },\n\n /**\n * Returns 4x4 scale matrix.\n * @method scalingMat4s\n * @static\n */\n scalingMat4s(s) {\n return math.scalingMat4c(s, s, s);\n },\n\n /**\n * Creates a matrix from a quaternion rotation and vector translation\n *\n * @param {Number[]} q Rotation quaternion\n * @param {Number[]} v Translation vector\n * @param {Number[]} dest Destination matrix\n * @returns {Number[]} dest\n */\n rotationTranslationMat4(q, v, dest = math.mat4()) {\n const x = q[0];\n const y = q[1];\n const z = q[2];\n const w = q[3];\n\n const x2 = x + x;\n const y2 = y + y;\n const z2 = z + z;\n const xx = x * x2;\n const xy = x * y2;\n const xz = x * z2;\n const yy = y * y2;\n const yz = y * z2;\n const zz = z * z2;\n const wx = w * x2;\n const wy = w * y2;\n const wz = w * z2;\n\n dest[0] = 1 - (yy + zz);\n dest[1] = xy + wz;\n dest[2] = xz - wy;\n dest[3] = 0;\n dest[4] = xy - wz;\n dest[5] = 1 - (xx + zz);\n dest[6] = yz + wx;\n dest[7] = 0;\n dest[8] = xz + wy;\n dest[9] = yz - wx;\n dest[10] = 1 - (xx + yy);\n dest[11] = 0;\n dest[12] = v[0];\n dest[13] = v[1];\n dest[14] = v[2];\n dest[15] = 1;\n\n return dest;\n },\n\n /**\n * Gets Euler angles from a 4x4 matrix.\n *\n * @param {Number[]} mat The 4x4 matrix.\n * @param {String} order Desired Euler angle order: \"XYZ\", \"YXZ\", \"ZXY\" etc.\n * @param {Number[]} [dest] Destination Euler angles, created by default.\n * @returns {Number[]} The Euler angles.\n */\n mat4ToEuler(mat, order, dest = math.vec4()) {\n const clamp = math.clamp;\n\n // Assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)\n\n const m11 = mat[0];\n\n const m12 = mat[4];\n const m13 = mat[8];\n const m21 = mat[1];\n const m22 = mat[5];\n const m23 = mat[9];\n const m31 = mat[2];\n const m32 = mat[6];\n const m33 = mat[10];\n\n if (order === 'XYZ') {\n\n dest[1] = Math.asin(clamp(m13, -1, 1));\n\n if (Math.abs(m13) < 0.99999) {\n dest[0] = Math.atan2(-m23, m33);\n dest[2] = Math.atan2(-m12, m11);\n } else {\n dest[0] = Math.atan2(m32, m22);\n dest[2] = 0;\n\n }\n\n } else if (order === 'YXZ') {\n\n dest[0] = Math.asin(-clamp(m23, -1, 1));\n\n if (Math.abs(m23) < 0.99999) {\n dest[1] = Math.atan2(m13, m33);\n dest[2] = Math.atan2(m21, m22);\n } else {\n dest[1] = Math.atan2(-m31, m11);\n dest[2] = 0;\n }\n\n } else if (order === 'ZXY') {\n\n dest[0] = Math.asin(clamp(m32, -1, 1));\n\n if (Math.abs(m32) < 0.99999) {\n dest[1] = Math.atan2(-m31, m33);\n dest[2] = Math.atan2(-m12, m22);\n } else {\n dest[1] = 0;\n dest[2] = Math.atan2(m21, m11);\n }\n\n } else if (order === 'ZYX') {\n\n dest[1] = Math.asin(-clamp(m31, -1, 1));\n\n if (Math.abs(m31) < 0.99999) {\n dest[0] = Math.atan2(m32, m33);\n dest[2] = Math.atan2(m21, m11);\n } else {\n dest[0] = 0;\n dest[2] = Math.atan2(-m12, m22);\n }\n\n } else if (order === 'YZX') {\n\n dest[2] = Math.asin(clamp(m21, -1, 1));\n\n if (Math.abs(m21) < 0.99999) {\n dest[0] = Math.atan2(-m23, m22);\n dest[1] = Math.atan2(-m31, m11);\n } else {\n dest[0] = 0;\n dest[1] = Math.atan2(m13, m33);\n }\n\n } else if (order === 'XZY') {\n\n dest[2] = Math.asin(-clamp(m12, -1, 1));\n\n if (Math.abs(m12) < 0.99999) {\n dest[0] = Math.atan2(m32, m22);\n dest[1] = Math.atan2(m13, m11);\n } else {\n dest[0] = Math.atan2(-m23, m33);\n dest[1] = 0;\n }\n }\n\n return dest;\n },\n\n composeMat4(position, quaternion, scale, mat = math.mat4()) {\n math.quaternionToRotationMat4(quaternion, mat);\n math.scaleMat4v(scale, mat);\n math.translateMat4v(position, mat);\n\n return mat;\n },\n\n decomposeMat4: (() => {\n\n const vec = new FloatArrayType(3);\n const matrix = new FloatArrayType(16);\n\n return function decompose(mat, position, quaternion, scale) {\n\n vec[0] = mat[0];\n vec[1] = mat[1];\n vec[2] = mat[2];\n\n let sx = math.lenVec3(vec);\n\n vec[0] = mat[4];\n vec[1] = mat[5];\n vec[2] = mat[6];\n\n const sy = math.lenVec3(vec);\n\n vec[8] = mat[8];\n vec[9] = mat[9];\n vec[10] = mat[10];\n\n const sz = math.lenVec3(vec);\n\n // if determine is negative, we need to invert one scale\n const det = math.determinantMat4(mat);\n\n if (det < 0) {\n sx = -sx;\n }\n\n position[0] = mat[12];\n position[1] = mat[13];\n position[2] = mat[14];\n\n // scale the rotation part\n matrix.set(mat);\n\n const invSX = 1 / sx;\n const invSY = 1 / sy;\n const invSZ = 1 / sz;\n\n matrix[0] *= invSX;\n matrix[1] *= invSX;\n matrix[2] *= invSX;\n\n matrix[4] *= invSY;\n matrix[5] *= invSY;\n matrix[6] *= invSY;\n\n matrix[8] *= invSZ;\n matrix[9] *= invSZ;\n matrix[10] *= invSZ;\n\n math.mat4ToQuaternion(matrix, quaternion);\n\n scale[0] = sx;\n scale[1] = sy;\n scale[2] = sz;\n\n return this;\n\n };\n\n })(),\n\n /**\n * Returns a 4x4 'lookat' viewing transform matrix.\n * @method lookAtMat4v\n * @param pos vec3 position of the viewer\n * @param target vec3 point the viewer is looking at\n * @param up vec3 pointing \"up\"\n * @param dest mat4 Optional, mat4 matrix will be written into\n *\n * @return {mat4} dest if specified, a new mat4 otherwise\n */\n lookAtMat4v(pos, target, up, dest) {\n if (!dest) {\n dest = math.mat4();\n }\n\n const posx = pos[0];\n const posy = pos[1];\n const posz = pos[2];\n const upx = up[0];\n const upy = up[1];\n const upz = up[2];\n const targetx = target[0];\n const targety = target[1];\n const targetz = target[2];\n\n if (posx === targetx && posy === targety && posz === targetz) {\n return math.identityMat4();\n }\n\n let z0;\n let z1;\n let z2;\n let x0;\n let x1;\n let x2;\n let y0;\n let y1;\n let y2;\n let len;\n\n //vec3.direction(eye, center, z);\n z0 = posx - targetx;\n z1 = posy - targety;\n z2 = posz - targetz;\n\n // normalize (no check needed for 0 because of early return)\n len = 1 / Math.sqrt(z0 * z0 + z1 * z1 + z2 * z2);\n z0 *= len;\n z1 *= len;\n z2 *= len;\n\n //vec3.normalize(vec3.cross(up, z, x));\n x0 = upy * z2 - upz * z1;\n x1 = upz * z0 - upx * z2;\n x2 = upx * z1 - upy * z0;\n len = Math.sqrt(x0 * x0 + x1 * x1 + x2 * x2);\n if (!len) {\n x0 = 0;\n x1 = 0;\n x2 = 0;\n } else {\n len = 1 / len;\n x0 *= len;\n x1 *= len;\n x2 *= len;\n }\n\n //vec3.normalize(vec3.cross(z, x, y));\n y0 = z1 * x2 - z2 * x1;\n y1 = z2 * x0 - z0 * x2;\n y2 = z0 * x1 - z1 * x0;\n\n len = Math.sqrt(y0 * y0 + y1 * y1 + y2 * y2);\n if (!len) {\n y0 = 0;\n y1 = 0;\n y2 = 0;\n } else {\n len = 1 / len;\n y0 *= len;\n y1 *= len;\n y2 *= len;\n }\n\n dest[0] = x0;\n dest[1] = y0;\n dest[2] = z0;\n dest[3] = 0;\n dest[4] = x1;\n dest[5] = y1;\n dest[6] = z1;\n dest[7] = 0;\n dest[8] = x2;\n dest[9] = y2;\n dest[10] = z2;\n dest[11] = 0;\n dest[12] = -(x0 * posx + x1 * posy + x2 * posz);\n dest[13] = -(y0 * posx + y1 * posy + y2 * posz);\n dest[14] = -(z0 * posx + z1 * posy + z2 * posz);\n dest[15] = 1;\n\n return dest;\n },\n\n /**\n * Returns a 4x4 'lookat' viewing transform matrix.\n * @method lookAtMat4c\n * @static\n */\n lookAtMat4c(posx, posy, posz, targetx, targety, targetz, upx, upy, upz) {\n return math.lookAtMat4v([posx, posy, posz], [targetx, targety, targetz], [upx, upy, upz], []);\n },\n\n /**\n * Returns a 4x4 orthographic projection matrix.\n * @method orthoMat4c\n * @static\n */\n orthoMat4c(left, right, bottom, top, near, far, dest) {\n if (!dest) {\n dest = math.mat4();\n }\n const rl = (right - left);\n const tb = (top - bottom);\n const fn = (far - near);\n\n dest[0] = 2.0 / rl;\n dest[1] = 0.0;\n dest[2] = 0.0;\n dest[3] = 0.0;\n\n dest[4] = 0.0;\n dest[5] = 2.0 / tb;\n dest[6] = 0.0;\n dest[7] = 0.0;\n\n dest[8] = 0.0;\n dest[9] = 0.0;\n dest[10] = -2.0 / fn;\n dest[11] = 0.0;\n\n dest[12] = -(left + right) / rl;\n dest[13] = -(top + bottom) / tb;\n dest[14] = -(far + near) / fn;\n dest[15] = 1.0;\n\n return dest;\n },\n\n /**\n * Returns a 4x4 perspective projection matrix.\n * @method frustumMat4v\n * @static\n */\n frustumMat4v(fmin, fmax, m) {\n if (!m) {\n m = math.mat4();\n }\n\n const fmin4 = [fmin[0], fmin[1], fmin[2], 0.0];\n const fmax4 = [fmax[0], fmax[1], fmax[2], 0.0];\n\n math.addVec4(fmax4, fmin4, tempMat1);\n math.subVec4(fmax4, fmin4, tempMat2);\n\n const t = 2.0 * fmin4[2];\n\n const tempMat20 = tempMat2[0];\n const tempMat21 = tempMat2[1];\n const tempMat22 = tempMat2[2];\n\n m[0] = t / tempMat20;\n m[1] = 0.0;\n m[2] = 0.0;\n m[3] = 0.0;\n\n m[4] = 0.0;\n m[5] = t / tempMat21;\n m[6] = 0.0;\n m[7] = 0.0;\n\n m[8] = tempMat1[0] / tempMat20;\n m[9] = tempMat1[1] / tempMat21;\n m[10] = -tempMat1[2] / tempMat22;\n m[11] = -1.0;\n\n m[12] = 0.0;\n m[13] = 0.0;\n m[14] = -t * fmax4[2] / tempMat22;\n m[15] = 0.0;\n\n return m;\n },\n\n /**\n * Returns a 4x4 perspective projection matrix.\n * @method frustumMat4v\n * @static\n */\n frustumMat4(left, right, bottom, top, near, far, dest) {\n if (!dest) {\n dest = math.mat4();\n }\n const rl = (right - left);\n const tb = (top - bottom);\n const fn = (far - near);\n dest[0] = (near * 2) / rl;\n dest[1] = 0;\n dest[2] = 0;\n dest[3] = 0;\n dest[4] = 0;\n dest[5] = (near * 2) / tb;\n dest[6] = 0;\n dest[7] = 0;\n dest[8] = (right + left) / rl;\n dest[9] = (top + bottom) / tb;\n dest[10] = -(far + near) / fn;\n dest[11] = -1;\n dest[12] = 0;\n dest[13] = 0;\n dest[14] = -(far * near * 2) / fn;\n dest[15] = 0;\n return dest;\n },\n\n /**\n * Returns a 4x4 perspective projection matrix.\n * @method perspectiveMat4v\n * @static\n */\n perspectiveMat4(fovyrad, aspectratio, znear, zfar, m) {\n const pmin = [];\n const pmax = [];\n\n pmin[2] = znear;\n pmax[2] = zfar;\n\n pmax[1] = pmin[2] * Math.tan(fovyrad / 2.0);\n pmin[1] = -pmax[1];\n\n pmax[0] = pmax[1] * aspectratio;\n pmin[0] = -pmax[0];\n\n return math.frustumMat4v(pmin, pmax, m);\n },\n\n /**\n * Transforms a three-element position by a 4x4 matrix.\n * @method transformPoint3\n * @static\n */\n transformPoint3(m, p, dest = math.vec3()) {\n\n const x = p[0];\n const y = p[1];\n const z = p[2];\n\n dest[0] = (m[0] * x) + (m[4] * y) + (m[8] * z) + m[12];\n dest[1] = (m[1] * x) + (m[5] * y) + (m[9] * z) + m[13];\n dest[2] = (m[2] * x) + (m[6] * y) + (m[10] * z) + m[14];\n\n return dest;\n },\n\n /**\n * Transforms a homogeneous coordinate by a 4x4 matrix.\n * @method transformPoint3\n * @static\n */\n transformPoint4(m, v, dest = math.vec4()) {\n dest[0] = m[0] * v[0] + m[4] * v[1] + m[8] * v[2] + m[12] * v[3];\n dest[1] = m[1] * v[0] + m[5] * v[1] + m[9] * v[2] + m[13] * v[3];\n dest[2] = m[2] * v[0] + m[6] * v[1] + m[10] * v[2] + m[14] * v[3];\n dest[3] = m[3] * v[0] + m[7] * v[1] + m[11] * v[2] + m[15] * v[3];\n\n return dest;\n },\n\n\n /**\n * Transforms an array of three-element positions by a 4x4 matrix.\n * @method transformPoints3\n * @static\n */\n transformPoints3(m, points, points2) {\n const result = points2 || [];\n const len = points.length;\n let p0;\n let p1;\n let p2;\n let pi;\n\n // cache values\n const m0 = m[0];\n\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n let r;\n\n for (let i = 0; i < len; ++i) {\n\n // cache values\n pi = points[i];\n\n p0 = pi[0];\n p1 = pi[1];\n p2 = pi[2];\n\n r = result[i] || (result[i] = [0, 0, 0]);\n\n r[0] = (m0 * p0) + (m4 * p1) + (m8 * p2) + m12;\n r[1] = (m1 * p0) + (m5 * p1) + (m9 * p2) + m13;\n r[2] = (m2 * p0) + (m6 * p1) + (m10 * p2) + m14;\n r[3] = (m3 * p0) + (m7 * p1) + (m11 * p2) + m15;\n }\n\n result.length = len;\n\n return result;\n },\n\n /**\n * Transforms an array of positions by a 4x4 matrix.\n * @method transformPositions3\n * @static\n */\n transformPositions3(m, p, p2 = p) {\n let i;\n const len = p.length;\n\n let x;\n let y;\n let z;\n\n const m0 = m[0];\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n for (i = 0; i < len; i += 3) {\n\n x = p[i + 0];\n y = p[i + 1];\n z = p[i + 2];\n\n p2[i + 0] = (m0 * x) + (m4 * y) + (m8 * z) + m12;\n p2[i + 1] = (m1 * x) + (m5 * y) + (m9 * z) + m13;\n p2[i + 2] = (m2 * x) + (m6 * y) + (m10 * z) + m14;\n p2[i + 3] = (m3 * x) + (m7 * y) + (m11 * z) + m15;\n }\n\n return p2;\n },\n\n /**\n * Transforms an array of positions by a 4x4 matrix.\n * @method transformPositions4\n * @static\n */\n transformPositions4(m, p, p2 = p) {\n let i;\n const len = p.length;\n\n let x;\n let y;\n let z;\n\n const m0 = m[0];\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n for (i = 0; i < len; i += 4) {\n\n x = p[i + 0];\n y = p[i + 1];\n z = p[i + 2];\n\n p2[i + 0] = (m0 * x) + (m4 * y) + (m8 * z) + m12;\n p2[i + 1] = (m1 * x) + (m5 * y) + (m9 * z) + m13;\n p2[i + 2] = (m2 * x) + (m6 * y) + (m10 * z) + m14;\n p2[i + 3] = (m3 * x) + (m7 * y) + (m11 * z) + m15;\n }\n\n return p2;\n },\n\n /**\n * Transforms a three-element vector by a 4x4 matrix.\n * @method transformVec3\n * @static\n */\n transformVec3(m, v, dest) {\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n dest = dest || this.vec3();\n dest[0] = (m[0] * v0) + (m[4] * v1) + (m[8] * v2);\n dest[1] = (m[1] * v0) + (m[5] * v1) + (m[9] * v2);\n dest[2] = (m[2] * v0) + (m[6] * v1) + (m[10] * v2);\n return dest;\n },\n\n /**\n * Transforms a four-element vector by a 4x4 matrix.\n * @method transformVec4\n * @static\n */\n transformVec4(m, v, dest) {\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n const v3 = v[3];\n dest = dest || math.vec4();\n dest[0] = m[0] * v0 + m[4] * v1 + m[8] * v2 + m[12] * v3;\n dest[1] = m[1] * v0 + m[5] * v1 + m[9] * v2 + m[13] * v3;\n dest[2] = m[2] * v0 + m[6] * v1 + m[10] * v2 + m[14] * v3;\n dest[3] = m[3] * v0 + m[7] * v1 + m[11] * v2 + m[15] * v3;\n return dest;\n },\n\n /**\n * Rotate a 3D vector around the x-axis\n *\n * @method rotateVec3X\n * @param {Number[]} a The vec3 point to rotate\n * @param {Number[]} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @param {Number[]} dest The receiving vec3\n * @returns {Number[]} dest\n * @static\n */\n rotateVec3X(a, b, c, dest) {\n const p = [];\n const r = [];\n\n //Translate point to the origin\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2];\n\n //perform rotation\n r[0] = p[0];\n r[1] = p[1] * Math.cos(c) - p[2] * Math.sin(c);\n r[2] = p[1] * Math.sin(c) + p[2] * Math.cos(c);\n\n //translate to correct position\n dest[0] = r[0] + b[0];\n dest[1] = r[1] + b[1];\n dest[2] = r[2] + b[2];\n\n return dest;\n },\n\n /**\n * Rotate a 3D vector around the y-axis\n *\n * @method rotateVec3Y\n * @param {Number[]} a The vec3 point to rotate\n * @param {Number[]} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @param {Number[]} dest The receiving vec3\n * @returns {Number[]} dest\n * @static\n */\n rotateVec3Y(a, b, c, dest) {\n const p = [];\n const r = [];\n\n //Translate point to the origin\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2];\n\n //perform rotation\n r[0] = p[2] * Math.sin(c) + p[0] * Math.cos(c);\n r[1] = p[1];\n r[2] = p[2] * Math.cos(c) - p[0] * Math.sin(c);\n\n //translate to correct position\n dest[0] = r[0] + b[0];\n dest[1] = r[1] + b[1];\n dest[2] = r[2] + b[2];\n\n return dest;\n },\n\n /**\n * Rotate a 3D vector around the z-axis\n *\n * @method rotateVec3Z\n * @param {Number[]} a The vec3 point to rotate\n * @param {Number[]} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @param {Number[]} dest The receiving vec3\n * @returns {Number[]} dest\n * @static\n */\n rotateVec3Z(a, b, c, dest) {\n const p = [];\n const r = [];\n\n //Translate point to the origin\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2];\n\n //perform rotation\n r[0] = p[0] * Math.cos(c) - p[1] * Math.sin(c);\n r[1] = p[0] * Math.sin(c) + p[1] * Math.cos(c);\n r[2] = p[2];\n\n //translate to correct position\n dest[0] = r[0] + b[0];\n dest[1] = r[1] + b[1];\n dest[2] = r[2] + b[2];\n\n return dest;\n },\n\n /**\n * Transforms a four-element vector by a 4x4 projection matrix.\n *\n * @method projectVec4\n * @param {Number[]} p 3D View-space coordinate\n * @param {Number[]} q 2D Projected coordinate\n * @returns {Number[]} 2D Projected coordinate\n * @static\n */\n projectVec4(p, q) {\n const f = 1.0 / p[3];\n q = q || math.vec2();\n q[0] = v[0] * f;\n q[1] = v[1] * f;\n return q;\n },\n\n /**\n * Unprojects a three-element vector.\n *\n * @method unprojectVec3\n * @param {Number[]} p 3D Projected coordinate\n * @param {Number[]} viewMat View matrix\n * @returns {Number[]} projMat Projection matrix\n * @static\n */\n unprojectVec3: ((() => {\n const mat = new FloatArrayType(16);\n const mat2 = new FloatArrayType(16);\n const mat3 = new FloatArrayType(16);\n return function (p, viewMat, projMat, q) {\n return this.transformVec3(this.mulMat4(this.inverseMat4(viewMat, mat), this.inverseMat4(projMat, mat2), mat3), p, q)\n };\n }))(),\n\n /**\n * Linearly interpolates between two 3D vectors.\n * @method lerpVec3\n * @static\n */\n lerpVec3(t, t1, t2, p1, p2, dest) {\n const result = dest || math.vec3();\n const f = (t - t1) / (t2 - t1);\n result[0] = p1[0] + (f * (p2[0] - p1[0]));\n result[1] = p1[1] + (f * (p2[1] - p1[1]));\n result[2] = p1[2] + (f * (p2[2] - p1[2]));\n return result;\n },\n\n\n /**\n * Flattens a two-dimensional array into a one-dimensional array.\n *\n * @method flatten\n * @static\n * @param {Array of Arrays} a A 2D array\n * @returns Flattened 1D array\n */\n flatten(a) {\n\n const result = [];\n\n let i;\n let leni;\n let j;\n let lenj;\n let item;\n\n for (i = 0, leni = a.length; i < leni; i++) {\n item = a[i];\n for (j = 0, lenj = item.length; j < lenj; j++) {\n result.push(item[j]);\n }\n }\n\n return result;\n },\n\n\n identityQuaternion(dest = math.vec4()) {\n dest[0] = 0.0;\n dest[1] = 0.0;\n dest[2] = 0.0;\n dest[3] = 1.0;\n return dest;\n },\n\n /**\n * Initializes a quaternion from Euler angles.\n *\n * @param {Number[]} euler The Euler angles.\n * @param {String} order Euler angle order: \"XYZ\", \"YXZ\", \"ZXY\" etc.\n * @param {Number[]} [dest] Destination quaternion, created by default.\n * @returns {Number[]} The quaternion.\n */\n eulerToQuaternion(euler, order, dest = math.vec4()) {\n // http://www.mathworks.com/matlabcentral/fileexchange/\n // \t20696-function-to-convert-between-dcm-euler-angles-quaternions-and-euler-vectors/\n //\tcontent/SpinCalc.m\n\n const a = (euler[0] * math.DEGTORAD) / 2;\n const b = (euler[1] * math.DEGTORAD) / 2;\n const c = (euler[2] * math.DEGTORAD) / 2;\n\n const c1 = Math.cos(a);\n const c2 = Math.cos(b);\n const c3 = Math.cos(c);\n const s1 = Math.sin(a);\n const s2 = Math.sin(b);\n const s3 = Math.sin(c);\n\n if (order === 'XYZ') {\n\n dest[0] = s1 * c2 * c3 + c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 - s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 + s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 - s1 * s2 * s3;\n\n } else if (order === 'YXZ') {\n\n dest[0] = s1 * c2 * c3 + c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 - s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 - s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 + s1 * s2 * s3;\n\n } else if (order === 'ZXY') {\n\n dest[0] = s1 * c2 * c3 - c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 + s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 + s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 - s1 * s2 * s3;\n\n } else if (order === 'ZYX') {\n\n dest[0] = s1 * c2 * c3 - c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 + s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 - s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 + s1 * s2 * s3;\n\n } else if (order === 'YZX') {\n\n dest[0] = s1 * c2 * c3 + c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 + s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 - s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 - s1 * s2 * s3;\n\n } else if (order === 'XZY') {\n\n dest[0] = s1 * c2 * c3 - c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 - s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 + s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 + s1 * s2 * s3;\n }\n\n return dest;\n },\n\n mat4ToQuaternion(m, dest = math.vec4()) {\n // http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/index.htm\n\n // Assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)\n\n const m11 = m[0];\n const m12 = m[4];\n const m13 = m[8];\n const m21 = m[1];\n const m22 = m[5];\n const m23 = m[9];\n const m31 = m[2];\n const m32 = m[6];\n const m33 = m[10];\n let s;\n\n const trace = m11 + m22 + m33;\n\n if (trace > 0) {\n\n s = 0.5 / Math.sqrt(trace + 1.0);\n\n dest[3] = 0.25 / s;\n dest[0] = (m32 - m23) * s;\n dest[1] = (m13 - m31) * s;\n dest[2] = (m21 - m12) * s;\n\n } else if (m11 > m22 && m11 > m33) {\n\n s = 2.0 * Math.sqrt(1.0 + m11 - m22 - m33);\n\n dest[3] = (m32 - m23) / s;\n dest[0] = 0.25 * s;\n dest[1] = (m12 + m21) / s;\n dest[2] = (m13 + m31) / s;\n\n } else if (m22 > m33) {\n\n s = 2.0 * Math.sqrt(1.0 + m22 - m11 - m33);\n\n dest[3] = (m13 - m31) / s;\n dest[0] = (m12 + m21) / s;\n dest[1] = 0.25 * s;\n dest[2] = (m23 + m32) / s;\n\n } else {\n\n s = 2.0 * Math.sqrt(1.0 + m33 - m11 - m22);\n\n dest[3] = (m21 - m12) / s;\n dest[0] = (m13 + m31) / s;\n dest[1] = (m23 + m32) / s;\n dest[2] = 0.25 * s;\n }\n\n return dest;\n },\n\n vec3PairToQuaternion(u, v, dest = math.vec4()) {\n const norm_u_norm_v = Math.sqrt(math.dotVec3(u, u) * math.dotVec3(v, v));\n let real_part = norm_u_norm_v + math.dotVec3(u, v);\n\n if (real_part < 0.00000001 * norm_u_norm_v) {\n\n // If u and v are exactly opposite, rotate 180 degrees\n // around an arbitrary orthogonal axis. Axis normalisation\n // can happen later, when we normalise the quaternion.\n\n real_part = 0.0;\n\n if (Math.abs(u[0]) > Math.abs(u[2])) {\n\n dest[0] = -u[1];\n dest[1] = u[0];\n dest[2] = 0;\n\n } else {\n dest[0] = 0;\n dest[1] = -u[2];\n dest[2] = u[1]\n }\n\n } else {\n\n // Otherwise, build quaternion the standard way.\n math.cross3Vec3(u, v, dest);\n }\n\n dest[3] = real_part;\n\n return math.normalizeQuaternion(dest);\n },\n\n angleAxisToQuaternion(angleAxis, dest = math.vec4()) {\n const halfAngle = angleAxis[3] / 2.0;\n const fsin = Math.sin(halfAngle);\n dest[0] = fsin * angleAxis[0];\n dest[1] = fsin * angleAxis[1];\n dest[2] = fsin * angleAxis[2];\n dest[3] = Math.cos(halfAngle);\n return dest;\n },\n\n quaternionToEuler: ((() => {\n const mat = new FloatArrayType(16);\n return (q, order, dest) => {\n dest = dest || math.vec3();\n math.quaternionToRotationMat4(q, mat);\n math.mat4ToEuler(mat, order, dest);\n return dest;\n };\n }))(),\n\n mulQuaternions(p, q, dest = math.vec4()) {\n const p0 = p[0];\n const p1 = p[1];\n const p2 = p[2];\n const p3 = p[3];\n const q0 = q[0];\n const q1 = q[1];\n const q2 = q[2];\n const q3 = q[3];\n dest[0] = p3 * q0 + p0 * q3 + p1 * q2 - p2 * q1;\n dest[1] = p3 * q1 + p1 * q3 + p2 * q0 - p0 * q2;\n dest[2] = p3 * q2 + p2 * q3 + p0 * q1 - p1 * q0;\n dest[3] = p3 * q3 - p0 * q0 - p1 * q1 - p2 * q2;\n return dest;\n },\n\n vec3ApplyQuaternion(q, vec, dest = math.vec3()) {\n const x = vec[0];\n const y = vec[1];\n const z = vec[2];\n\n const qx = q[0];\n const qy = q[1];\n const qz = q[2];\n const qw = q[3];\n\n // calculate quat * vector\n\n const ix = qw * x + qy * z - qz * y;\n const iy = qw * y + qz * x - qx * z;\n const iz = qw * z + qx * y - qy * x;\n const iw = -qx * x - qy * y - qz * z;\n\n // calculate result * inverse quat\n\n dest[0] = ix * qw + iw * -qx + iy * -qz - iz * -qy;\n dest[1] = iy * qw + iw * -qy + iz * -qx - ix * -qz;\n dest[2] = iz * qw + iw * -qz + ix * -qy - iy * -qx;\n\n return dest;\n },\n\n quaternionToMat4(q, dest) {\n\n dest = math.identityMat4(dest);\n\n const q0 = q[0]; //x\n const q1 = q[1]; //y\n const q2 = q[2]; //z\n const q3 = q[3]; //w\n\n const tx = 2.0 * q0;\n const ty = 2.0 * q1;\n const tz = 2.0 * q2;\n\n const twx = tx * q3;\n const twy = ty * q3;\n const twz = tz * q3;\n\n const txx = tx * q0;\n const txy = ty * q0;\n const txz = tz * q0;\n\n const tyy = ty * q1;\n const tyz = tz * q1;\n const tzz = tz * q2;\n\n dest[0] = 1.0 - (tyy + tzz);\n dest[1] = txy + twz;\n dest[2] = txz - twy;\n\n dest[4] = txy - twz;\n dest[5] = 1.0 - (txx + tzz);\n dest[6] = tyz + twx;\n\n dest[8] = txz + twy;\n dest[9] = tyz - twx;\n\n dest[10] = 1.0 - (txx + tyy);\n\n return dest;\n },\n\n quaternionToRotationMat4(q, m) {\n const x = q[0];\n const y = q[1];\n const z = q[2];\n const w = q[3];\n\n const x2 = x + x;\n const y2 = y + y;\n const z2 = z + z;\n const xx = x * x2;\n const xy = x * y2;\n const xz = x * z2;\n const yy = y * y2;\n const yz = y * z2;\n const zz = z * z2;\n const wx = w * x2;\n const wy = w * y2;\n const wz = w * z2;\n\n m[0] = 1 - (yy + zz);\n m[4] = xy - wz;\n m[8] = xz + wy;\n\n m[1] = xy + wz;\n m[5] = 1 - (xx + zz);\n m[9] = yz - wx;\n\n m[2] = xz - wy;\n m[6] = yz + wx;\n m[10] = 1 - (xx + yy);\n\n // last column\n m[3] = 0;\n m[7] = 0;\n m[11] = 0;\n\n // bottom row\n m[12] = 0;\n m[13] = 0;\n m[14] = 0;\n m[15] = 1;\n\n return m;\n },\n\n normalizeQuaternion(q, dest = q) {\n const len = math.lenVec4([q[0], q[1], q[2], q[3]]);\n dest[0] = q[0] / len;\n dest[1] = q[1] / len;\n dest[2] = q[2] / len;\n dest[3] = q[3] / len;\n return dest;\n },\n\n conjugateQuaternion(q, dest = q) {\n dest[0] = -q[0];\n dest[1] = -q[1];\n dest[2] = -q[2];\n dest[3] = q[3];\n return dest;\n },\n\n inverseQuaternion(q, dest) {\n return math.normalizeQuaternion(math.conjugateQuaternion(q, dest));\n },\n\n quaternionToAngleAxis(q, angleAxis = math.vec4()) {\n q = math.normalizeQuaternion(q, tempVec4);\n const q3 = q[3];\n const angle = 2 * Math.acos(q3);\n const s = Math.sqrt(1 - q3 * q3);\n if (s < 0.001) { // test to avoid divide by zero, s is always positive due to sqrt\n angleAxis[0] = q[0];\n angleAxis[1] = q[1];\n angleAxis[2] = q[2];\n } else {\n angleAxis[0] = q[0] / s;\n angleAxis[1] = q[1] / s;\n angleAxis[2] = q[2] / s;\n }\n angleAxis[3] = angle; // * 57.295779579;\n return angleAxis;\n },\n\n //------------------------------------------------------------------------------------------------------------------\n // Boundaries\n //------------------------------------------------------------------------------------------------------------------\n\n /**\n * Returns a new, uninitialized 3D axis-aligned bounding box.\n *\n * @private\n */\n AABB3(values) {\n return new FloatArrayType(values || 6);\n },\n\n /**\n * Returns a new, uninitialized 2D axis-aligned bounding box.\n *\n * @private\n */\n AABB2(values) {\n return new FloatArrayType(values || 4);\n },\n\n /**\n * Returns a new, uninitialized 3D oriented bounding box (OBB).\n *\n * @private\n */\n OBB3(values) {\n return new FloatArrayType(values || 32);\n },\n\n /**\n * Returns a new, uninitialized 2D oriented bounding box (OBB).\n *\n * @private\n */\n OBB2(values) {\n return new FloatArrayType(values || 16);\n },\n\n /** Returns a new 3D bounding sphere */\n Sphere3(x, y, z, r) {\n return new FloatArrayType([x, y, z, r]);\n },\n\n /**\n * Transforms an OBB3 by a 4x4 matrix.\n *\n * @private\n */\n transformOBB3(m, p, p2 = p) {\n let i;\n const len = p.length;\n\n let x;\n let y;\n let z;\n\n const m0 = m[0];\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n for (i = 0; i < len; i += 4) {\n\n x = p[i + 0];\n y = p[i + 1];\n z = p[i + 2];\n\n p2[i + 0] = (m0 * x) + (m4 * y) + (m8 * z) + m12;\n p2[i + 1] = (m1 * x) + (m5 * y) + (m9 * z) + m13;\n p2[i + 2] = (m2 * x) + (m6 * y) + (m10 * z) + m14;\n p2[i + 3] = (m3 * x) + (m7 * y) + (m11 * z) + m15;\n }\n\n return p2;\n },\n\n /** Returns true if the first AABB contains the second AABB.\n * @param aabb1\n * @param aabb2\n * @returns {boolean}\n */\n containsAABB3: function (aabb1, aabb2) {\n const result = (\n aabb1[0] <= aabb2[0] && aabb2[3] <= aabb1[3] &&\n aabb1[1] <= aabb2[1] && aabb2[4] <= aabb1[4] &&\n aabb1[2] <= aabb2[2] && aabb2[5] <= aabb1[5]);\n return result;\n },\n\n /**\n * Gets the diagonal size of an AABB3 given as minima and maxima.\n *\n * @private\n */\n getAABB3Diag: ((() => {\n\n const min = new FloatArrayType(3);\n const max = new FloatArrayType(3);\n const tempVec3 = new FloatArrayType(3);\n\n return aabb => {\n\n min[0] = aabb[0];\n min[1] = aabb[1];\n min[2] = aabb[2];\n\n max[0] = aabb[3];\n max[1] = aabb[4];\n max[2] = aabb[5];\n\n math.subVec3(max, min, tempVec3);\n\n return Math.abs(math.lenVec3(tempVec3));\n };\n }))(),\n\n /**\n * Get a diagonal boundary size that is symmetrical about the given point.\n *\n * @private\n */\n getAABB3DiagPoint: ((() => {\n\n const min = new FloatArrayType(3);\n const max = new FloatArrayType(3);\n const tempVec3 = new FloatArrayType(3);\n\n return (aabb, p) => {\n\n min[0] = aabb[0];\n min[1] = aabb[1];\n min[2] = aabb[2];\n\n max[0] = aabb[3];\n max[1] = aabb[4];\n max[2] = aabb[5];\n\n const diagVec = math.subVec3(max, min, tempVec3);\n\n const xneg = p[0] - aabb[0];\n const xpos = aabb[3] - p[0];\n const yneg = p[1] - aabb[1];\n const ypos = aabb[4] - p[1];\n const zneg = p[2] - aabb[2];\n const zpos = aabb[5] - p[2];\n\n diagVec[0] += (xneg > xpos) ? xneg : xpos;\n diagVec[1] += (yneg > ypos) ? yneg : ypos;\n diagVec[2] += (zneg > zpos) ? zneg : zpos;\n\n return Math.abs(math.lenVec3(diagVec));\n };\n }))(),\n\n /**\n * Gets the center of an AABB.\n *\n * @private\n */\n getAABB3Center(aabb, dest) {\n const r = dest || math.vec3();\n\n r[0] = (aabb[0] + aabb[3]) / 2;\n r[1] = (aabb[1] + aabb[4]) / 2;\n r[2] = (aabb[2] + aabb[5]) / 2;\n\n return r;\n },\n\n /**\n * Gets the center of a 2D AABB.\n *\n * @private\n */\n getAABB2Center(aabb, dest) {\n const r = dest || math.vec2();\n\n r[0] = (aabb[2] + aabb[0]) / 2;\n r[1] = (aabb[3] + aabb[1]) / 2;\n\n return r;\n },\n\n /**\n * Collapses a 3D axis-aligned boundary, ready to expand to fit 3D points.\n * Creates new AABB if none supplied.\n *\n * @private\n */\n collapseAABB3(aabb = math.AABB3()) {\n aabb[0] = math.MAX_DOUBLE;\n aabb[1] = math.MAX_DOUBLE;\n aabb[2] = math.MAX_DOUBLE;\n aabb[3] = -math.MAX_DOUBLE;\n aabb[4] = -math.MAX_DOUBLE;\n aabb[5] = -math.MAX_DOUBLE;\n\n return aabb;\n },\n\n /**\n * Converts an axis-aligned 3D boundary into an oriented boundary consisting of\n * an array of eight 3D positions, one for each corner of the boundary.\n *\n * @private\n */\n AABB3ToOBB3(aabb, obb = math.OBB3()) {\n obb[0] = aabb[0];\n obb[1] = aabb[1];\n obb[2] = aabb[2];\n obb[3] = 1;\n\n obb[4] = aabb[3];\n obb[5] = aabb[1];\n obb[6] = aabb[2];\n obb[7] = 1;\n\n obb[8] = aabb[3];\n obb[9] = aabb[4];\n obb[10] = aabb[2];\n obb[11] = 1;\n\n obb[12] = aabb[0];\n obb[13] = aabb[4];\n obb[14] = aabb[2];\n obb[15] = 1;\n\n obb[16] = aabb[0];\n obb[17] = aabb[1];\n obb[18] = aabb[5];\n obb[19] = 1;\n\n obb[20] = aabb[3];\n obb[21] = aabb[1];\n obb[22] = aabb[5];\n obb[23] = 1;\n\n obb[24] = aabb[3];\n obb[25] = aabb[4];\n obb[26] = aabb[5];\n obb[27] = 1;\n\n obb[28] = aabb[0];\n obb[29] = aabb[4];\n obb[30] = aabb[5];\n obb[31] = 1;\n\n return obb;\n },\n\n /**\n * Finds the minimum axis-aligned 3D boundary enclosing the homogeneous 3D points (x,y,z,w) given in a flattened array.\n *\n * @private\n */\n positions3ToAABB3: ((() => {\n\n const p = new FloatArrayType(3);\n\n return (positions, aabb, positionsDecodeMatrix) => {\n aabb = aabb || math.AABB3();\n\n let xmin = math.MAX_DOUBLE;\n let ymin = math.MAX_DOUBLE;\n let zmin = math.MAX_DOUBLE;\n let xmax = -math.MAX_DOUBLE;\n let ymax = -math.MAX_DOUBLE;\n let zmax = -math.MAX_DOUBLE;\n\n let x;\n let y;\n let z;\n\n for (let i = 0, len = positions.length; i < len; i += 3) {\n\n if (positionsDecodeMatrix) {\n\n p[0] = positions[i + 0];\n p[1] = positions[i + 1];\n p[2] = positions[i + 2];\n\n math.decompressPosition(p, positionsDecodeMatrix, p);\n\n x = p[0];\n y = p[1];\n z = p[2];\n\n } else {\n x = positions[i + 0];\n y = positions[i + 1];\n z = positions[i + 2];\n }\n\n if (x < xmin) {\n xmin = x;\n }\n\n if (y < ymin) {\n ymin = y;\n }\n\n if (z < zmin) {\n zmin = z;\n }\n\n if (x > xmax) {\n xmax = x;\n }\n\n if (y > ymax) {\n ymax = y;\n }\n\n if (z > zmax) {\n zmax = z;\n }\n }\n\n aabb[0] = xmin;\n aabb[1] = ymin;\n aabb[2] = zmin;\n aabb[3] = xmax;\n aabb[4] = ymax;\n aabb[5] = zmax;\n\n return aabb;\n };\n }))(),\n\n /**\n * Finds the minimum axis-aligned 3D boundary enclosing the homogeneous 3D points (x,y,z,w) given in a flattened array.\n *\n * @private\n */\n OBB3ToAABB3(obb, aabb = math.AABB3()) {\n let xmin = math.MAX_DOUBLE;\n let ymin = math.MAX_DOUBLE;\n let zmin = math.MAX_DOUBLE;\n let xmax = -math.MAX_DOUBLE;\n let ymax = -math.MAX_DOUBLE;\n let zmax = -math.MAX_DOUBLE;\n\n let x;\n let y;\n let z;\n\n for (let i = 0, len = obb.length; i < len; i += 4) {\n\n x = obb[i + 0];\n y = obb[i + 1];\n z = obb[i + 2];\n\n if (x < xmin) {\n xmin = x;\n }\n\n if (y < ymin) {\n ymin = y;\n }\n\n if (z < zmin) {\n zmin = z;\n }\n\n if (x > xmax) {\n xmax = x;\n }\n\n if (y > ymax) {\n ymax = y;\n }\n\n if (z > zmax) {\n zmax = z;\n }\n }\n\n aabb[0] = xmin;\n aabb[1] = ymin;\n aabb[2] = zmin;\n aabb[3] = xmax;\n aabb[4] = ymax;\n aabb[5] = zmax;\n\n return aabb;\n },\n\n /**\n * Finds the minimum axis-aligned 3D boundary enclosing the given 3D points.\n *\n * @private\n */\n points3ToAABB3(points, aabb = math.AABB3()) {\n let xmin = math.MAX_DOUBLE;\n let ymin = math.MAX_DOUBLE;\n let zmin = math.MAX_DOUBLE;\n let xmax = -math.MAX_DOUBLE;\n let ymax = -math.MAX_DOUBLE;\n let zmax = -math.MAX_DOUBLE;\n\n let x;\n let y;\n let z;\n\n for (let i = 0, len = points.length; i < len; i++) {\n\n x = points[i][0];\n y = points[i][1];\n z = points[i][2];\n\n if (x < xmin) {\n xmin = x;\n }\n\n if (y < ymin) {\n ymin = y;\n }\n\n if (z < zmin) {\n zmin = z;\n }\n\n if (x > xmax) {\n xmax = x;\n }\n\n if (y > ymax) {\n ymax = y;\n }\n\n if (z > zmax) {\n zmax = z;\n }\n }\n\n aabb[0] = xmin;\n aabb[1] = ymin;\n aabb[2] = zmin;\n aabb[3] = xmax;\n aabb[4] = ymax;\n aabb[5] = zmax;\n\n return aabb;\n },\n\n /**\n * Finds the minimum boundary sphere enclosing the given 3D points.\n *\n * @private\n */\n points3ToSphere3: ((() => {\n\n const tempVec3 = new FloatArrayType(3);\n\n return (points, sphere) => {\n\n sphere = sphere || math.vec4();\n\n let x = 0;\n let y = 0;\n let z = 0;\n\n let i;\n const numPoints = points.length;\n\n for (i = 0; i < numPoints; i++) {\n x += points[i][0];\n y += points[i][1];\n z += points[i][2];\n }\n\n sphere[0] = x / numPoints;\n sphere[1] = y / numPoints;\n sphere[2] = z / numPoints;\n\n let radius = 0;\n let dist;\n\n for (i = 0; i < numPoints; i++) {\n\n dist = Math.abs(math.lenVec3(math.subVec3(points[i], sphere, tempVec3)));\n\n if (dist > radius) {\n radius = dist;\n }\n }\n\n sphere[3] = radius;\n\n return sphere;\n };\n }))(),\n\n /**\n * Finds the minimum boundary sphere enclosing the given 3D positions.\n *\n * @private\n */\n positions3ToSphere3: ((() => {\n\n const tempVec3a = new FloatArrayType(3);\n const tempVec3b = new FloatArrayType(3);\n\n return (positions, sphere) => {\n\n sphere = sphere || math.vec4();\n\n let x = 0;\n let y = 0;\n let z = 0;\n\n let i;\n const lenPositions = positions.length;\n let radius = 0;\n\n for (i = 0; i < lenPositions; i += 3) {\n x += positions[i];\n y += positions[i + 1];\n z += positions[i + 2];\n }\n\n const numPositions = lenPositions / 3;\n\n sphere[0] = x / numPositions;\n sphere[1] = y / numPositions;\n sphere[2] = z / numPositions;\n\n let dist;\n\n for (i = 0; i < lenPositions; i += 3) {\n\n tempVec3a[0] = positions[i];\n tempVec3a[1] = positions[i + 1];\n tempVec3a[2] = positions[i + 2];\n\n dist = Math.abs(math.lenVec3(math.subVec3(tempVec3a, sphere, tempVec3b)));\n\n if (dist > radius) {\n radius = dist;\n }\n }\n\n sphere[3] = radius;\n\n return sphere;\n };\n }))(),\n\n /**\n * Finds the minimum boundary sphere enclosing the given 3D points.\n *\n * @private\n */\n OBB3ToSphere3: ((() => {\n\n const point = new FloatArrayType(3);\n const tempVec3 = new FloatArrayType(3);\n\n return (points, sphere) => {\n\n sphere = sphere || math.vec4();\n\n let x = 0;\n let y = 0;\n let z = 0;\n\n let i;\n const lenPoints = points.length;\n const numPoints = lenPoints / 4;\n\n for (i = 0; i < lenPoints; i += 4) {\n x += points[i + 0];\n y += points[i + 1];\n z += points[i + 2];\n }\n\n sphere[0] = x / numPoints;\n sphere[1] = y / numPoints;\n sphere[2] = z / numPoints;\n\n let radius = 0;\n let dist;\n\n for (i = 0; i < lenPoints; i += 4) {\n\n point[0] = points[i + 0];\n point[1] = points[i + 1];\n point[2] = points[i + 2];\n\n dist = Math.abs(math.lenVec3(math.subVec3(point, sphere, tempVec3)));\n\n if (dist > radius) {\n radius = dist;\n }\n }\n\n sphere[3] = radius;\n\n return sphere;\n };\n }))(),\n\n /**\n * Gets the center of a bounding sphere.\n *\n * @private\n */\n getSphere3Center(sphere, dest = math.vec3()) {\n dest[0] = sphere[0];\n dest[1] = sphere[1];\n dest[2] = sphere[2];\n\n return dest;\n },\n\n /**\n * Expands the first axis-aligned 3D boundary to enclose the second, if required.\n *\n * @private\n */\n expandAABB3(aabb1, aabb2) {\n\n if (aabb1[0] > aabb2[0]) {\n aabb1[0] = aabb2[0];\n }\n\n if (aabb1[1] > aabb2[1]) {\n aabb1[1] = aabb2[1];\n }\n\n if (aabb1[2] > aabb2[2]) {\n aabb1[2] = aabb2[2];\n }\n\n if (aabb1[3] < aabb2[3]) {\n aabb1[3] = aabb2[3];\n }\n\n if (aabb1[4] < aabb2[4]) {\n aabb1[4] = aabb2[4];\n }\n\n if (aabb1[5] < aabb2[5]) {\n aabb1[5] = aabb2[5];\n }\n\n return aabb1;\n },\n\n /**\n * Expands an axis-aligned 3D boundary to enclose the given point, if needed.\n *\n * @private\n */\n expandAABB3Point3(aabb, p) {\n\n if (aabb[0] > p[0]) {\n aabb[0] = p[0];\n }\n\n if (aabb[1] > p[1]) {\n aabb[1] = p[1];\n }\n\n if (aabb[2] > p[2]) {\n aabb[2] = p[2];\n }\n\n if (aabb[3] < p[0]) {\n aabb[3] = p[0];\n }\n\n if (aabb[4] < p[1]) {\n aabb[4] = p[1];\n }\n\n if (aabb[5] < p[2]) {\n aabb[5] = p[2];\n }\n\n return aabb;\n },\n\n /**\n * Calculates the normal vector of a triangle.\n *\n * @private\n */\n triangleNormal(a, b, c, normal = math.vec3()) {\n const p1x = b[0] - a[0];\n const p1y = b[1] - a[1];\n const p1z = b[2] - a[2];\n\n const p2x = c[0] - a[0];\n const p2y = c[1] - a[1];\n const p2z = c[2] - a[2];\n\n const p3x = p1y * p2z - p1z * p2y;\n const p3y = p1z * p2x - p1x * p2z;\n const p3z = p1x * p2y - p1y * p2x;\n\n const mag = Math.sqrt(p3x * p3x + p3y * p3y + p3z * p3z);\n if (mag === 0) {\n normal[0] = 0;\n normal[1] = 0;\n normal[2] = 0;\n } else {\n normal[0] = p3x / mag;\n normal[1] = p3y / mag;\n normal[2] = p3z / mag;\n }\n\n return normal\n }\n};\n\nexport {math};","/**\n * Given geometry defined as an array of positions, optional normals, option uv and an array of indices, returns\n * modified arrays that have duplicate vertices removed.\n *\n * @private\n */\nfunction mergeVertices(positions, indices, mergedPositions, mergedIndices) {\n const positionsMap = {};\n const indicesLookup = [];\n const precisionPoints = 4; // number of decimal points, e.g. 4 for epsilon of 0.0001\n const precision = 10 ** precisionPoints;\n let uvi = 0;\n for (let i = 0, len = positions.length; i < len; i += 3) {\n const vx = positions[i];\n const vy = positions[i + 1];\n const vz = positions[i + 2];\n const key = `${Math.round(vx * precision)}_${Math.round(vy * precision)}_${Math.round(vz * precision)}`;\n if (positionsMap[key] === undefined) {\n positionsMap[key] = mergedPositions.length / 3;\n mergedPositions.push(vx);\n mergedPositions.push(vy);\n mergedPositions.push(vz);\n }\n indicesLookup[i / 3] = positionsMap[key];\n uvi += 2;\n }\n for (let i = 0, len = indices.length; i < len; i++) {\n mergedIndices[i] = indicesLookup[indices[i]];\n }\n}\n\nexport {mergeVertices};","import {earcut} from './../lib/earcut';\nimport {math} from \"./../lib/math.js\";\n\nconst tempVec2a = math.vec2();\nconst tempVec3a = math.vec3();\nconst tempVec3b = math.vec3();\nconst tempVec3c = math.vec3();\n\n/**\n * @desc Parses a CityJSON model into an {@link XKTModel}.\n *\n * [CityJSON](https://www.cityjson.org) is a JSON-based encoding for a subset of the CityGML data model (version 2.0.0),\n * which is an open standardised data model and exchange format to store digital 3D models of cities and\n * landscapes. CityGML is an official standard of the [Open Geospatial Consortium](https://www.ogc.org/).\n *\n * This converter function supports most of the [CityJSON 1.0.2 Specification](https://www.cityjson.org/specs/1.0.2),\n * with the following limitations:\n *\n * * Does not (yet) support CityJSON semantics for geometry primitives.\n * * Does not (yet) support textured geometries.\n * * Does not (yet) support geometry templates.\n * * When the CityJSON file provides multiple *themes* for a geometry, then we parse only the first of the provided themes for that geometry.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a CityJSON model into it.\n *\n * ````javascript\n * utils.loadJSON(\"./models/cityjson/DenHaag.json\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseCityJSONIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {Object} params.data CityJSON data.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {boolean} [params.center=false] Set true to center the CityJSON vertex positions to [0,0,0]. This is applied before the transformation matrix, if specified.\n * @param {Boolean} [params.transform] 4x4 transformation matrix to transform CityJSON vertex positions. Use this to rotate, translate and scale them if neccessary.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when CityJSON has been parsed.\n */\nfunction parseCityJSONIntoXKTModel({\n data,\n xktModel,\n center = false,\n transform = null,\n stats = {}, log\n }) {\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (data.type !== \"CityJSON\") {\n reject(\"Invalid argument: data is not a CityJSON file\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n let vertices;\n\n log(\"Using parser: parseCityJSONIntoXKTModel\");\n\n log(`center: ${center}`);\n if (transform) {\n log(`transform: [${transform}]`);\n }\n\n if (data.transform || center || transform) {\n vertices = copyVertices(data.vertices);\n if (data.transform) {\n transformVertices(vertices, data.transform)\n }\n if (center) {\n centerVertices(vertices);\n }\n if (transform) {\n customTransformVertices(vertices, transform);\n }\n } else {\n vertices = data.vertices;\n }\n\n stats.sourceFormat = data.type || \"\";\n stats.schemaVersion = data.version || \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 0;\n stats.numPropertySets = 0;\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n const rootMetaObjectId = math.createUUID();\n\n xktModel.createMetaObject({\n metaObjectId: rootMetaObjectId,\n metaObjectType: \"Model\",\n metaObjectName: \"Model\"\n });\n\n stats.numMetaObjects++;\n\n const modelMetaObjectId = math.createUUID();\n\n xktModel.createMetaObject({\n metaObjectId: modelMetaObjectId,\n metaObjectType: \"CityJSON\",\n metaObjectName: \"CityJSON\",\n parentMetaObjectId: rootMetaObjectId\n });\n\n stats.numMetaObjects++;\n\n const ctx = {\n data,\n vertices,\n xktModel,\n rootMetaObjectId: modelMetaObjectId,\n log: (log || function (msg) {\n }),\n nextId: 0,\n stats\n };\n\n ctx.xktModel.schema = data.type + \" \" + data.version;\n\n ctx.log(\"Converting \" + ctx.xktModel.schema);\n\n parseCityJSON(ctx);\n\n resolve();\n });\n}\n\nfunction copyVertices(vertices) {\n const vertices2 = [];\n for (let i = 0, j = 0; i < vertices.length; i++, j += 3) {\n const x = vertices[i][0];\n const y = vertices[i][1];\n const z = vertices[i][2];\n vertices2.push([x, y, z]);\n }\n return vertices2;\n}\n\nfunction transformVertices(vertices, cityJSONTransform) {\n const scale = cityJSONTransform.scale || math.vec3([1, 1, 1]);\n const translate = cityJSONTransform.translate || math.vec3([0, 0, 0]);\n for (let i = 0; i < vertices.length; i++) {\n const vertex = vertices[i];\n vertex[0] = (vertex[0] * scale[0]) + translate[0];\n vertex[1] = (vertex[1] * scale[1]) + translate[1];\n vertex[2] = (vertex[2] * scale[2]) + translate[2];\n }\n}\n\nfunction centerVertices(vertices) {\n if (center) {\n const centerPos = math.vec3();\n const numPoints = vertices.length;\n for (let i = 0, len = vertices.length; i < len; i++) {\n const vertex = vertices[i];\n centerPos[0] += vertex[0];\n centerPos[1] += vertex[1];\n centerPos[2] += vertex[2];\n }\n centerPos[0] /= numPoints;\n centerPos[1] /= numPoints;\n centerPos[2] /= numPoints;\n for (let i = 0, len = vertices.length; i < len; i++) {\n const vertex = vertices[i];\n vertex[0] -= centerPos[0];\n vertex[1] -= centerPos[1];\n vertex[2] -= centerPos[2];\n }\n }\n}\n\nfunction customTransformVertices(vertices, transform) {\n if (transform) {\n const mat = math.mat4(transform);\n for (let i = 0, len = vertices.length; i < len; i++) {\n const vertex = vertices[i];\n math.transformPoint3(mat, vertex, vertex);\n }\n }\n}\n\nfunction parseCityJSON(ctx) {\n\n const data = ctx.data;\n const cityObjects = data.CityObjects;\n\n for (const objectId in cityObjects) {\n if (cityObjects.hasOwnProperty(objectId)) {\n const cityObject = cityObjects[objectId];\n parseCityObject(ctx, cityObject, objectId);\n }\n }\n}\n\nfunction parseCityObject(ctx, cityObject, objectId) {\n\n const xktModel = ctx.xktModel;\n const data = ctx.data;\n const metaObjectId = objectId;\n const metaObjectType = cityObject.type;\n const metaObjectName = metaObjectType + \" : \" + objectId;\n\n const parentMetaObjectId = cityObject.parents ? cityObject.parents[0] : ctx.rootMetaObjectId;\n\n xktModel.createMetaObject({\n metaObjectId,\n metaObjectName,\n metaObjectType,\n parentMetaObjectId\n });\n\n ctx.stats.numMetaObjects++;\n\n if (!(cityObject.geometry && cityObject.geometry.length > 0)) {\n return;\n }\n\n const meshIds = [];\n\n for (let i = 0, len = cityObject.geometry.length; i < len; i++) {\n\n const geometry = cityObject.geometry[i];\n\n let objectMaterial;\n let surfaceMaterials;\n\n const appearance = data.appearance;\n if (appearance) {\n const materials = appearance.materials;\n if (materials) {\n const geometryMaterial = geometry.material;\n if (geometryMaterial) {\n const themeIds = Object.keys(geometryMaterial);\n if (themeIds.length > 0) {\n const themeId = themeIds[0];\n const theme = geometryMaterial[themeId];\n if (theme.value !== undefined) {\n objectMaterial = materials[theme.value];\n } else {\n const values = theme.values;\n if (values) {\n surfaceMaterials = [];\n for (let j = 0, lenj = values.length; j < lenj; j++) {\n const value = values[i];\n const surfaceMaterial = materials[value];\n surfaceMaterials.push(surfaceMaterial);\n }\n }\n }\n }\n }\n }\n }\n\n if (surfaceMaterials) {\n parseGeometrySurfacesWithOwnMaterials(ctx, geometry, surfaceMaterials, meshIds);\n\n } else {\n parseGeometrySurfacesWithSharedMaterial(ctx, geometry, objectMaterial, meshIds);\n }\n }\n\n if (meshIds.length > 0) {\n xktModel.createEntity({\n entityId: objectId,\n meshIds: meshIds\n });\n\n ctx.stats.numObjects++;\n }\n}\n\nfunction parseGeometrySurfacesWithOwnMaterials(ctx, geometry, surfaceMaterials, meshIds) {\n\n const geomType = geometry.type;\n\n switch (geomType) {\n\n case \"MultiPoint\":\n break;\n\n case \"MultiLineString\":\n break;\n\n case \"MultiSurface\":\n\n case \"CompositeSurface\":\n const surfaces = geometry.boundaries;\n parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds);\n break;\n\n case \"Solid\":\n const shells = geometry.boundaries;\n for (let j = 0; j < shells.length; j++) {\n const surfaces = shells[j];\n parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds);\n }\n break;\n\n case \"MultiSolid\":\n\n case \"CompositeSolid\":\n const solids = geometry.boundaries;\n for (let j = 0; j < solids.length; j++) {\n for (let k = 0; k < solids[j].length; k++) {\n const surfaces = solids[j][k];\n parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds);\n }\n }\n break;\n\n case \"GeometryInstance\":\n break;\n }\n}\n\nfunction parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds) {\n\n const vertices = ctx.vertices;\n const xktModel = ctx.xktModel;\n\n for (let i = 0; i < surfaces.length; i++) {\n\n const surface = surfaces[i];\n const surfaceMaterial = surfaceMaterials[i] || {diffuseColor: [0.8, 0.8, 0.8], transparency: 1.0};\n\n const face = [];\n const holes = [];\n\n const sharedIndices = [];\n\n const geometryCfg = {\n positions: [],\n indices: []\n };\n\n for (let j = 0; j < surface.length; j++) {\n\n if (face.length > 0) {\n holes.push(face.length);\n }\n\n const newFace = extractLocalIndices(ctx, surface[j], sharedIndices, geometryCfg);\n\n face.push(...newFace);\n }\n\n if (face.length === 3) { // Triangle\n\n geometryCfg.indices.push(face[0]);\n geometryCfg.indices.push(face[1]);\n geometryCfg.indices.push(face[2]);\n\n } else if (face.length > 3) { // Polygon\n\n // Prepare to triangulate\n\n const pList = [];\n\n for (let k = 0; k < face.length; k++) {\n pList.push({\n x: vertices[sharedIndices[face[k]]][0],\n y: vertices[sharedIndices[face[k]]][1],\n z: vertices[sharedIndices[face[k]]][2]\n });\n }\n\n const normal = getNormalOfPositions(pList, math.vec3());\n\n // Convert to 2D\n\n let pv = [];\n\n for (let k = 0; k < pList.length; k++) {\n\n to2D(pList[k], normal, tempVec2a);\n\n pv.unshift(tempVec2a[0]);\n pv.unshift(tempVec2a[1]);\n }\n\n // Triangulate\n\n const tr = earcut(pv, holes, 2);\n\n // Create triangles\n\n for (let k = 0; k < tr.length; k += 3) {\n geometryCfg.indices.unshift(face[tr[k]]);\n geometryCfg.indices.unshift(face[tr[k + 1]]);\n geometryCfg.indices.unshift(face[tr[k + 2]]);\n }\n }\n\n const geometryId = \"\" + ctx.nextId++;\n const meshId = \"\" + ctx.nextId++;\n\n xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: geometryCfg.positions,\n indices: geometryCfg.indices\n });\n\n xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n color: (surfaceMaterial && surfaceMaterial.diffuseColor) ? surfaceMaterial.diffuseColor : [0.8, 0.8, 0.8],\n opacity: 1.0\n //opacity: (surfaceMaterial && surfaceMaterial.transparency !== undefined) ? (1.0 - surfaceMaterial.transparency) : 1.0\n });\n\n meshIds.push(meshId);\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n }\n}\n\nfunction parseGeometrySurfacesWithSharedMaterial(ctx, geometry, objectMaterial, meshIds) {\n\n const xktModel = ctx.xktModel;\n const sharedIndices = [];\n const geometryCfg = {\n positions: [],\n indices: []\n };\n\n const geomType = geometry.type;\n\n switch (geomType) {\n case \"MultiPoint\":\n break;\n\n case \"MultiLineString\":\n break;\n\n case \"MultiSurface\":\n case \"CompositeSurface\":\n const surfaces = geometry.boundaries;\n parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, geometryCfg);\n break;\n\n case \"Solid\":\n const shells = geometry.boundaries;\n for (let j = 0; j < shells.length; j++) {\n const surfaces = shells[j];\n parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, geometryCfg);\n }\n break;\n\n case \"MultiSolid\":\n case \"CompositeSolid\":\n const solids = geometry.boundaries;\n for (let j = 0; j < solids.length; j++) {\n for (let k = 0; k < solids[j].length; k++) {\n const surfaces = solids[j][k];\n parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, geometryCfg);\n }\n }\n break;\n\n case \"GeometryInstance\":\n break;\n }\n\n const geometryId = \"\" + ctx.nextId++;\n const meshId = \"\" + ctx.nextId++;\n\n xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: geometryCfg.positions,\n indices: geometryCfg.indices\n });\n\n xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n color: (objectMaterial && objectMaterial.diffuseColor) ? objectMaterial.diffuseColor : [0.8, 0.8, 0.8],\n opacity: 1.0\n //opacity: (objectMaterial && objectMaterial.transparency !== undefined) ? (1.0 - objectMaterial.transparency) : 1.0\n });\n\n meshIds.push(meshId);\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n}\n\nfunction parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, primitiveCfg) {\n\n const vertices = ctx.vertices;\n\n for (let i = 0; i < surfaces.length; i++) {\n\n let boundary = [];\n let holes = [];\n\n for (let j = 0; j < surfaces[i].length; j++) {\n if (boundary.length > 0) {\n holes.push(boundary.length);\n }\n const newBoundary = extractLocalIndices(ctx, surfaces[i][j], sharedIndices, primitiveCfg);\n boundary.push(...newBoundary);\n }\n\n if (boundary.length === 3) { // Triangle\n\n primitiveCfg.indices.push(boundary[0]);\n primitiveCfg.indices.push(boundary[1]);\n primitiveCfg.indices.push(boundary[2]);\n\n } else if (boundary.length > 3) { // Polygon\n\n let pList = [];\n\n for (let k = 0; k < boundary.length; k++) {\n pList.push({\n x: vertices[sharedIndices[boundary[k]]][0],\n y: vertices[sharedIndices[boundary[k]]][1],\n z: vertices[sharedIndices[boundary[k]]][2]\n });\n }\n\n const normal = getNormalOfPositions(pList, math.vec3());\n let pv = [];\n\n for (let k = 0; k < pList.length; k++) {\n to2D(pList[k], normal, tempVec2a);\n pv.unshift(tempVec2a[0]);\n pv.unshift(tempVec2a[1]);\n }\n\n const tr = earcut(pv, holes, 2);\n\n for (let k = 0; k < tr.length; k += 3) {\n primitiveCfg.indices.unshift(boundary[tr[k]]);\n primitiveCfg.indices.unshift(boundary[tr[k + 1]]);\n primitiveCfg.indices.unshift(boundary[tr[k + 2]]);\n }\n }\n }\n}\n\nfunction extractLocalIndices(ctx, boundary, sharedIndices, geometryCfg) {\n\n const vertices = ctx.vertices;\n const newBoundary = []\n\n for (let i = 0, len = boundary.length; i < len; i++) {\n\n const index = boundary[i];\n\n if (sharedIndices.includes(index)) {\n const vertexIndex = sharedIndices.indexOf(index);\n newBoundary.push(vertexIndex);\n\n } else {\n geometryCfg.positions.push(vertices[index][0]);\n geometryCfg.positions.push(vertices[index][1]);\n geometryCfg.positions.push(vertices[index][2]);\n\n newBoundary.push(sharedIndices.length);\n\n sharedIndices.push(index);\n }\n }\n\n return newBoundary\n}\n\nfunction getNormalOfPositions(positions, normal) {\n\n for (let i = 0; i < positions.length; i++) {\n\n let nexti = i + 1;\n if (nexti === positions.length) {\n nexti = 0;\n }\n\n normal[0] += ((positions[i].y - positions[nexti].y) * (positions[i].z + positions[nexti].z));\n normal[1] += ((positions[i].z - positions[nexti].z) * (positions[i].x + positions[nexti].x));\n normal[2] += ((positions[i].x - positions[nexti].x) * (positions[i].y + positions[nexti].y));\n }\n\n return math.normalizeVec3(normal);\n}\n\nfunction to2D(_p, _n, re) {\n\n const p = tempVec3a;\n const n = tempVec3b;\n const x3 = tempVec3c;\n\n p[0] = _p.x;\n p[1] = _p.y;\n p[2] = _p.z;\n\n n[0] = _n.x;\n n[1] = _n.y;\n n[2] = _n.z;\n\n x3[0] = 1.1;\n x3[1] = 1.1;\n x3[2] = 1.1;\n\n const dist = math.lenVec3(math.subVec3(x3, n));\n\n if (dist < 0.01) {\n x3[0] += 1.0;\n x3[1] += 2.0;\n x3[2] += 3.0;\n }\n\n const dot = math.dotVec3(x3, n);\n const tmp2 = math.mulVec3Scalar(n, dot, math.vec3());\n\n x3[0] -= tmp2[0];\n x3[1] -= tmp2[1];\n x3[2] -= tmp2[2];\n\n math.normalizeVec3(x3);\n\n const y3 = math.cross3Vec3(n, x3, math.vec3());\n const x = math.dotVec3(p, x3);\n const y = math.dotVec3(p, y3);\n\n re[0] = x;\n re[1] = y;\n}\n\nexport {parseCityJSONIntoXKTModel};","import {utils} from \"../XKTModel/lib/utils.js\";\nimport {math} from \"../lib/math.js\";\n\nimport {parse} from '@loaders.gl/core';\nimport {GLTFLoader} from '@loaders.gl/gltf';\nimport {\n ClampToEdgeWrapping,\n LinearFilter,\n LinearMipMapLinearFilter,\n LinearMipMapNearestFilter,\n MirroredRepeatWrapping,\n NearestFilter,\n NearestMipMapLinearFilter,\n NearestMipMapNearestFilter,\n RepeatWrapping\n} from \"../constants.js\";\n\n/**\n * @desc Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n *\n * * Supports ````.glb```` and textures\n * * For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {ArrayBuffer} params.data The glTF.\n * @param {String} [params.baseUri] The base URI used to load this glTF, if any. For resolving relative uris to linked resources.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeTextures=true] Whether to parse textures.\n * @param {Boolean} [params.includeNormals=true] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the glTF.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when glTF has been parsed.\n */\nfunction parseGLTFIntoXKTModel({\n data,\n baseUri,\n xktModel,\n metaModelData,\n includeTextures = true,\n includeNormals = true,\n getAttachment,\n stats = {},\n log\n }) {\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n stats.sourceFormat = \"glTF\";\n stats.schemaVersion = \"2.0\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numUVs = 0;\n stats.numTextures = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n parse(data, GLTFLoader, {\n baseUri\n }).then((gltfData) => {\n\n const ctx = {\n gltfData,\n nodesHaveNames: false, // determined in testIfNodesHaveNames()\n getAttachment: getAttachment || (() => {\n throw new Error('You must define getAttachment() method to convert glTF with external resources')\n }),\n log: (log || function (msg) {\n }),\n error: function (msg) {\n console.error(msg);\n },\n xktModel,\n includeNormals: (includeNormals !== false),\n includeTextures: (includeTextures !== false),\n geometryCreated: {},\n nextId: 0,\n stats\n };\n\n ctx.log(\"Using parser: parseGLTFIntoXKTModel\");\n ctx.log(`Parsing normals: ${ctx.includeNormals ? \"enabled\" : \"disabled\"}`);\n ctx.log(`Parsing textures: ${ctx.includeTextures ? \"enabled\" : \"disabled\"}`);\n\n if (ctx.includeTextures) {\n parseTextures(ctx);\n }\n parseMaterials(ctx);\n parseDefaultScene(ctx);\n\n resolve();\n\n }, (errMsg) => {\n reject(`[parseGLTFIntoXKTModel] ${errMsg}`);\n });\n });\n}\n\nfunction parseTextures(ctx) {\n const gltfData = ctx.gltfData;\n const textures = gltfData.textures;\n if (textures) {\n for (let i = 0, len = textures.length; i < len; i++) {\n parseTexture(ctx, textures[i]);\n ctx.stats.numTextures++;\n }\n }\n}\n\nfunction parseTexture(ctx, texture) {\n if (!texture.source || !texture.source.image) {\n return;\n }\n const textureId = `texture-${ctx.nextId++}`;\n\n let minFilter = NearestMipMapLinearFilter;\n switch (texture.sampler.minFilter) {\n case 9728:\n minFilter = NearestFilter;\n break;\n case 9729:\n minFilter = LinearFilter;\n break;\n case 9984:\n minFilter = NearestMipMapNearestFilter;\n break;\n case 9985:\n minFilter = LinearMipMapNearestFilter;\n break;\n case 9986:\n minFilter = NearestMipMapLinearFilter;\n break;\n case 9987:\n minFilter = LinearMipMapLinearFilter;\n break;\n }\n\n let magFilter = LinearFilter;\n switch (texture.sampler.magFilter) {\n case 9728:\n magFilter = NearestFilter;\n break;\n case 9729:\n magFilter = LinearFilter;\n break;\n }\n\n let wrapS = RepeatWrapping;\n switch (texture.sampler.wrapS) {\n case 33071:\n wrapS = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapS = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapS = RepeatWrapping;\n break;\n }\n\n let wrapT = RepeatWrapping;\n switch (texture.sampler.wrapT) {\n case 33071:\n wrapT = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapT = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapT = RepeatWrapping;\n break;\n }\n\n let wrapR = RepeatWrapping;\n switch (texture.sampler.wrapR) {\n case 33071:\n wrapR = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapR = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapR = RepeatWrapping;\n break;\n }\n\n ctx.xktModel.createTexture({\n textureId: textureId,\n imageData: texture.source.image,\n mediaType: texture.source.mediaType,\n compressed: true,\n width: texture.source.image.width,\n height: texture.source.image.height,\n minFilter,\n magFilter,\n wrapS,\n wrapT,\n wrapR,\n flipY: !!texture.flipY,\n // encoding: \"sRGB\"\n });\n texture._textureId = textureId;\n}\n\nfunction parseMaterials(ctx) {\n const gltfData = ctx.gltfData;\n const materials = gltfData.materials;\n if (materials) {\n for (let i = 0, len = materials.length; i < len; i++) {\n const material = materials[i];\n material._textureSetId = ctx.includeTextures ? parseTextureSet(ctx, material) : null;\n material._attributes = parseMaterialAttributes(ctx, material);\n }\n }\n}\n\nfunction parseTextureSet(ctx, material) {\n const textureSetCfg = {};\n if (material.normalTexture) {\n textureSetCfg.normalTextureId = material.normalTexture.texture._textureId;\n }\n if (material.occlusionTexture) {\n textureSetCfg.occlusionTextureId = material.occlusionTexture.texture._textureId;\n }\n if (material.emissiveTexture) {\n textureSetCfg.emissiveTextureId = material.emissiveTexture.texture._textureId;\n }\n const metallicPBR = material.pbrMetallicRoughness;\n if (material.pbrMetallicRoughness) {\n const pbrMetallicRoughness = material.pbrMetallicRoughness;\n const baseColorTexture = pbrMetallicRoughness.baseColorTexture || pbrMetallicRoughness.colorTexture;\n if (baseColorTexture) {\n if (baseColorTexture.texture) {\n textureSetCfg.colorTextureId = baseColorTexture.texture._textureId;\n } else {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[baseColorTexture.index]._textureId;\n }\n }\n if (metallicPBR.metallicRoughnessTexture) {\n textureSetCfg.metallicRoughnessTextureId = metallicPBR.metallicRoughnessTexture.texture._textureId;\n }\n }\n const extensions = material.extensions;\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const specularTexture = specularPBR.specularTexture;\n if (specularTexture !== null && specularTexture !== undefined) {\n // textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n const specularColorTexture = specularPBR.specularColorTexture;\n if (specularColorTexture !== null && specularColorTexture !== undefined) {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n }\n }\n if (textureSetCfg.normalTextureId !== undefined ||\n textureSetCfg.occlusionTextureId !== undefined ||\n textureSetCfg.emissiveTextureId !== undefined ||\n textureSetCfg.colorTextureId !== undefined ||\n textureSetCfg.metallicRoughnessTextureId !== undefined) {\n textureSetCfg.textureSetId = `textureSet-${ctx.nextId++};`\n ctx.xktModel.createTextureSet(textureSetCfg);\n ctx.stats.numTextureSets++;\n return textureSetCfg.textureSetId;\n }\n return null;\n}\n\nfunction parseMaterialAttributes(ctx, material) { // Substitute RGBA for material, to use fast flat shading instead\n const extensions = material.extensions;\n const materialAttributes = {\n color: new Float32Array([1, 1, 1, 1]),\n opacity: 1,\n metallic: 0,\n roughness: 1\n };\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const diffuseFactor = specularPBR.diffuseFactor;\n if (diffuseFactor !== null && diffuseFactor !== undefined) {\n materialAttributes.color.set(diffuseFactor);\n }\n }\n const common = extensions[\"KHR_materials_common\"];\n if (common) {\n const technique = common.technique;\n const values = common.values || {};\n const blinn = technique === \"BLINN\";\n const phong = technique === \"PHONG\";\n const lambert = technique === \"LAMBERT\";\n const diffuse = values.diffuse;\n if (diffuse && (blinn || phong || lambert)) {\n if (!utils.isString(diffuse)) {\n materialAttributes.color.set(diffuse);\n }\n }\n const transparency = values.transparency;\n if (transparency !== null && transparency !== undefined) {\n materialAttributes.opacity = transparency;\n }\n const transparent = values.transparent;\n if (transparent !== null && transparent !== undefined) {\n materialAttributes.opacity = transparent;\n }\n }\n }\n const metallicPBR = material.pbrMetallicRoughness;\n if (metallicPBR) {\n const baseColorFactor = metallicPBR.baseColorFactor;\n if (baseColorFactor) {\n materialAttributes.color[0] = baseColorFactor[0];\n materialAttributes.color[1] = baseColorFactor[1];\n materialAttributes.color[2] = baseColorFactor[2];\n materialAttributes.opacity = baseColorFactor[3];\n }\n const metallicFactor = metallicPBR.metallicFactor;\n if (metallicFactor !== null && metallicFactor !== undefined) {\n materialAttributes.metallic = metallicFactor;\n }\n const roughnessFactor = metallicPBR.roughnessFactor;\n if (roughnessFactor !== null && roughnessFactor !== undefined) {\n materialAttributes.roughness = roughnessFactor;\n }\n }\n return materialAttributes;\n}\n\nfunction parseDefaultScene(ctx) {\n const gltfData = ctx.gltfData;\n const scene = gltfData.scene || gltfData.scenes[0];\n if (!scene) {\n ctx.error(\"glTF has no default scene\");\n return;\n }\n parseScene(ctx, scene);\n}\n\nfunction parseScene(ctx, scene) {\n const nodes = scene.nodes;\n if (!nodes) {\n return;\n }\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n countMeshUsage(ctx, node);\n }\n for (let i = 0, len = nodes.length; i < len && !ctx.nodesHaveNames; i++) {\n const node = nodes[i];\n if (testIfNodesHaveNames(node)) {\n ctx.nodesHaveNames = true;\n }\n }\n if (!ctx.nodesHaveNames) {\n ctx.log(`Warning: No \"name\" attributes found on glTF scene nodes - objects in XKT may not be what you expect`);\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n parseNodesWithoutNames(ctx, node, 0, null);\n }\n } else {\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n parseNodesWithNames(ctx, node, 0, null);\n }\n }\n}\n\nfunction countMeshUsage(ctx, node, level=0) {\n if (!node) {\n return;\n }\n const mesh = node.mesh;\n if (mesh) {\n mesh.instances = mesh.instances ? mesh.instances + 1 : 1;\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n if (!childNode) {\n ctx.error(\"Node not found: \" + i);\n continue;\n }\n countMeshUsage(ctx, childNode, level+1);\n }\n }\n}\n\nfunction testIfNodesHaveNames(node, level=0) {\n if (!node) {\n return;\n }\n if (node.name) {\n return true;\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n if (testIfNodesHaveNames(childNode, level+1)) {\n return true;\n }\n }\n }\n return false;\n}\n\n/**\n * Parses a glTF node hierarchy that is known to NOT contain \"name\" attributes on the nodes.\n * Create a XKTMesh for each mesh primitive, and a single XKTEntity.\n */\nconst parseNodesWithoutNames = (function () {\n\n const meshIds = [];\n\n return function (ctx, node, depth, matrix) {\n if (!node) {\n return;\n }\n matrix = parseNodeMatrix(node, matrix);\n if (node.mesh) {\n parseNodeMesh(node, ctx, matrix, meshIds);\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n parseNodesWithoutNames(ctx, childNode, depth + 1, matrix);\n }\n }\n if (depth === 0) {\n let entityId = \"entity-\" + ctx.nextId++;\n if (meshIds && meshIds.length > 0) {\n ctx.log(\"Creating XKTEntity with default ID: \" + entityId);\n ctx.xktModel.createEntity({\n entityId,\n meshIds\n });\n meshIds.length = 0;\n }\n ctx.stats.numObjects++;\n }\n }\n})();\n\n\n/**\n * Parses a glTF node hierarchy that is known to contain \"name\" attributes on the nodes.\n *\n * Create a XKTMesh for each mesh primitive, and XKTEntity for each named node.\n *\n * Following a depth-first traversal, each XKTEntity is created on post-visit of each named node,\n * and gets all the XKTMeshes created since the last XKTEntity created.\n */\nconst parseNodesWithNames = (function () {\n\n const objectIdStack = [];\n const meshIdsStack = [];\n let meshIds = null;\n\n return function (ctx, node, depth, matrix) {\n if (!node) {\n return;\n }\n matrix = parseNodeMatrix(node, matrix);\n if (node.name) {\n meshIds = [];\n let xktEntityId = node.name;\n if (!!xktEntityId && ctx.xktModel.entities[xktEntityId]) {\n ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`);\n }\n while (!xktEntityId || ctx.xktModel.entities[xktEntityId]) {\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n objectIdStack.push(xktEntityId);\n meshIdsStack.push(meshIds);\n }\n if (meshIds && node.mesh) {\n parseNodeMesh(node, ctx, matrix, meshIds);\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n parseNodesWithNames(ctx, childNode, depth + 1, matrix);\n }\n }\n const nodeName = node.name;\n if ((nodeName !== undefined && nodeName !== null) || depth === 0) {\n let xktEntityId = objectIdStack.pop();\n if (!xktEntityId) { // For when there are no nodes with names\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n let entityMeshIds = meshIdsStack.pop();\n if (meshIds && meshIds.length > 0) {\n ctx.xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: entityMeshIds\n });\n }\n ctx.stats.numObjects++;\n meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null;\n }\n }\n})();\n\n/**\n * Parses transform at the given glTF node.\n *\n * @param node the glTF node\n * @param matrix Transfor matrix from parent nodes\n * @returns {*} Transform matrix for the node\n */\nfunction parseNodeMatrix(node, matrix) {\n if (!node) {\n return;\n }\n let localMatrix;\n if (node.matrix) {\n localMatrix = node.matrix;\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.translation) {\n localMatrix = math.translationMat4v(node.translation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.rotation) {\n localMatrix = math.quaternionToMat4(node.rotation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.scale) {\n localMatrix = math.scalingMat4v(node.scale);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n return matrix;\n}\n\n/**\n * Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel.\n *\n * @param node glTF node\n * @param ctx Parsing context\n * @param matrix Matrix for the XKTMeshes\n * @param meshIds returns IDs of the new XKTMeshes\n */\nfunction parseNodeMesh(node, ctx, matrix, meshIds) {\n if (!node) {\n return;\n }\n const mesh = node.mesh;\n if (!mesh) {\n return;\n }\n const numPrimitives = mesh.primitives.length;\n if (numPrimitives > 0) {\n for (let i = 0; i < numPrimitives; i++) {\n try {\n const primitive = mesh.primitives[i];\n if (!primitive._xktGeometryId) {\n const xktGeometryId = \"geometry-\" + ctx.nextId++;\n const geometryCfg = {\n geometryId: xktGeometryId\n };\n switch (primitive.mode) {\n case 0: // POINTS\n geometryCfg.primitiveType = \"points\";\n break;\n case 1: // LINES\n geometryCfg.primitiveType = \"lines\";\n break;\n case 2: // LINE_LOOP\n geometryCfg.primitiveType = \"line-loop\";\n break;\n case 3: // LINE_STRIP\n geometryCfg.primitiveType = \"line-strip\";\n break;\n case 4: // TRIANGLES\n geometryCfg.primitiveType = \"triangles\";\n break;\n case 5: // TRIANGLE_STRIP\n geometryCfg.primitiveType = \"triangle-strip\";\n break;\n case 6: // TRIANGLE_FAN\n geometryCfg.primitiveType = \"triangle-fan\";\n break;\n default:\n geometryCfg.primitiveType = \"triangles\";\n }\n const POSITION = primitive.attributes.POSITION;\n if (!POSITION) {\n continue;\n }\n geometryCfg.positions = primitive.attributes.POSITION.value;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n if (ctx.includeNormals) {\n if (primitive.attributes.NORMAL) {\n geometryCfg.normals = primitive.attributes.NORMAL.value;\n ctx.stats.numNormals += geometryCfg.normals.length / 3;\n }\n }\n if (primitive.attributes.COLOR_0) {\n geometryCfg.colorsCompressed = primitive.attributes.COLOR_0.value;\n }\n if (ctx.includeTextures) {\n if (primitive.attributes.TEXCOORD_0) {\n geometryCfg.uvs = primitive.attributes.TEXCOORD_0.value;\n ctx.stats.numUVs += geometryCfg.uvs.length / 2;\n }\n }\n if (primitive.indices) {\n geometryCfg.indices = primitive.indices.value;\n if (primitive.mode === 4) {\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n }\n }\n ctx.xktModel.createGeometry(geometryCfg);\n primitive._xktGeometryId = xktGeometryId;\n ctx.stats.numGeometries++;\n }\n const xktMeshId = ctx.nextId++;\n const meshCfg = {\n meshId: xktMeshId,\n geometryId: primitive._xktGeometryId,\n matrix: matrix ? matrix.slice() : math.identityMat4()\n };\n const material = primitive.material;\n if (material) {\n meshCfg.textureSetId = material._textureSetId;\n meshCfg.color = material._attributes.color;\n meshCfg.opacity = material._attributes.opacity;\n meshCfg.metallic = material._attributes.metallic;\n meshCfg.roughness = material._attributes.roughness;\n } else {\n meshCfg.color = [1.0, 1.0, 1.0];\n meshCfg.opacity = 1.0;\n }\n ctx.xktModel.createMesh(meshCfg);\n meshIds.push(xktMeshId);\n } catch (e) {\n console.log(e);\n }\n }\n }\n}\n\nexport {parseGLTFIntoXKTModel};","import {utils} from \"../XKTModel/lib/utils.js\";\nimport {math} from \"../lib/math.js\";\n\nconst atob2 = (typeof atob !== 'undefined') ? atob : a => Buffer.from(a, 'base64').toString('binary');\n\nconst WEBGL_COMPONENT_TYPES = {\n 5120: Int8Array,\n 5121: Uint8Array,\n 5122: Int16Array,\n 5123: Uint16Array,\n 5125: Uint32Array,\n 5126: Float32Array\n};\n\nconst WEBGL_TYPE_SIZES = {\n 'SCALAR': 1,\n 'VEC2': 2,\n 'VEC3': 3,\n 'VEC4': 4,\n 'MAT2': 4,\n 'MAT3': 9,\n 'MAT4': 16\n};\n\n/**\n * @desc Parses glTF JSON into an {@link XKTModel}, without ````.glb```` and textures.\n *\n * * Lightweight JSON-based glTF parser which ignores textures\n * * For texture and ````.glb```` support, see {@link parseGLTFIntoXKTModel}\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a glTF model into it.\n *\n * ````javascript\n * utils.loadJSON(\"./models/gltf/duplex/scene.gltf\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFJSONIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {Object} params.data The glTF JSON.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeNormals=false] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded representation of the glTF.\n * @param {Boolean} [params.reuseGeometries=true] When true, the parser will enable geometry reuse within the XKTModel. When false,\n * will automatically \"expand\" all reused geometries into duplicate copies. This has the drawback of increasing the XKT\n * file size (~10-30% for typical models), but can make the model more responsive in the xeokit Viewer, especially if the model\n * has excessive geometry reuse. An example of excessive geometry reuse would be if we have 4000 geometries that are\n * shared amongst 2000 objects, ie. a large number of geometries with a low amount of reuse, which can present a\n * pathological performance case for xeokit's underlying graphics APIs (WebGL, WebGPU etc).\n * @param {function} [params.getAttachment] Callback through which to fetch attachments, if the glTF has them.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n * @returns {Promise}\n */\nfunction parseGLTFJSONIntoXKTModel({\n data,\n xktModel,\n metaModelData,\n includeNormals,\n reuseGeometries,\n getAttachment,\n stats = {},\n log\n }) {\n\n if (log) {\n log(\"Using parser: parseGLTFJSONIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n stats.sourceFormat = \"glTF\";\n stats.schemaVersion = \"2.0\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n const ctx = {\n gltf: data,\n metaModelCorrections: metaModelData ? getMetaModelCorrections(metaModelData) : null,\n getAttachment: getAttachment || (() => {\n throw new Error('You must define getAttachment() method to convert glTF with external resources')\n }),\n log: (log || function (msg) {\n }),\n xktModel,\n includeNormals,\n createXKTGeometryIds: {},\n nextMeshId: 0,\n reuseGeometries: (reuseGeometries !== false),\n stats\n };\n\n ctx.log(`Parsing normals: ${ctx.includeNormals ? \"enabled\" : \"disabled\"}`);\n\n parseBuffers(ctx).then(() => {\n\n parseBufferViews(ctx);\n freeBuffers(ctx);\n parseMaterials(ctx);\n parseDefaultScene(ctx);\n\n resolve();\n\n }, (errMsg) => {\n reject(errMsg);\n });\n });\n}\n\nfunction getMetaModelCorrections(metaModelData) {\n const eachRootStats = {};\n const eachChildRoot = {};\n const metaObjects = metaModelData.metaObjects || [];\n const metaObjectsMap = {};\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n const metaObject = metaObjects[i];\n metaObjectsMap[metaObject.id] = metaObject;\n }\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n const metaObject = metaObjects[i];\n if (metaObject.parent !== undefined && metaObject.parent !== null) {\n const metaObjectParent = metaObjectsMap[metaObject.parent];\n if (metaObject.type === metaObjectParent.type) {\n let rootMetaObject = metaObjectParent;\n while (rootMetaObject.parent && metaObjectsMap[rootMetaObject.parent].type === rootMetaObject.type) {\n rootMetaObject = metaObjectsMap[rootMetaObject.parent];\n }\n const rootStats = eachRootStats[rootMetaObject.id] || (eachRootStats[rootMetaObject.id] = {\n numChildren: 0,\n countChildren: 0\n });\n rootStats.numChildren++;\n eachChildRoot[metaObject.id] = rootMetaObject;\n } else {\n\n }\n }\n }\n const metaModelCorrections = {\n metaObjectsMap,\n eachRootStats,\n eachChildRoot\n };\n return metaModelCorrections;\n}\n\nfunction parseBuffers(ctx) { // Parses geometry buffers into temporary \"_buffer\" Unit8Array properties on the glTF \"buffer\" elements\n const buffers = ctx.gltf.buffers;\n if (buffers) {\n return Promise.all(buffers.map(buffer => parseBuffer(ctx, buffer)));\n } else {\n return new Promise(function (resolve, reject) {\n resolve();\n });\n }\n}\n\nfunction parseBuffer(ctx, bufferInfo) {\n return new Promise(function (resolve, reject) {\n // Allow a shortcut where the glTF buffer is \"enrichened\" with direct\n // access to the data-arrayBuffer, w/out needing to either:\n // - read the file indicated by the \".uri\" component of the buffer\n // - base64-decode the encoded data in the \".uri\" component\n if (bufferInfo._arrayBuffer) {\n bufferInfo._buffer = bufferInfo._arrayBuffer;\n resolve(bufferInfo);\n return;\n }\n // Otherwise, proceed with \"standard-glTF\" .uri component.\n const uri = bufferInfo.uri;\n if (!uri) {\n reject('gltf/handleBuffer missing uri in ' + JSON.stringify(bufferInfo));\n return;\n }\n parseArrayBuffer(ctx, uri).then((arrayBuffer) => {\n bufferInfo._buffer = arrayBuffer;\n resolve(arrayBuffer);\n }, (errMsg) => {\n reject(errMsg);\n })\n });\n}\n\nfunction parseArrayBuffer(ctx, uri) {\n return new Promise(function (resolve, reject) {\n const dataUriRegex = /^data:(.*?)(;base64)?,(.*)$/; // Check for data: URI\n const dataUriRegexResult = uri.match(dataUriRegex);\n if (dataUriRegexResult) { // Safari can't handle data URIs through XMLHttpRequest\n const isBase64 = !!dataUriRegexResult[2];\n let data = dataUriRegexResult[3];\n data = decodeURIComponent(data);\n if (isBase64) {\n data = atob2(data);\n }\n const buffer = new ArrayBuffer(data.length);\n const view = new Uint8Array(buffer);\n for (let i = 0; i < data.length; i++) {\n view[i] = data.charCodeAt(i);\n }\n resolve(buffer);\n } else { // Uri is a path to a file\n ctx.getAttachment(uri).then(\n (arrayBuffer) => {\n resolve(arrayBuffer);\n },\n (errMsg) => {\n reject(errMsg);\n });\n }\n });\n}\n\nfunction parseBufferViews(ctx) { // Parses our temporary \"_buffer\" properties into \"_buffer\" properties on glTF \"bufferView\" elements\n const bufferViewsInfo = ctx.gltf.bufferViews;\n if (bufferViewsInfo) {\n for (let i = 0, len = bufferViewsInfo.length; i < len; i++) {\n parseBufferView(ctx, bufferViewsInfo[i]);\n }\n }\n}\n\nfunction parseBufferView(ctx, bufferViewInfo) {\n const buffer = ctx.gltf.buffers[bufferViewInfo.buffer];\n bufferViewInfo._typedArray = null;\n const byteLength = bufferViewInfo.byteLength || 0;\n const byteOffset = bufferViewInfo.byteOffset || 0;\n bufferViewInfo._buffer = buffer._buffer.slice(byteOffset, byteOffset + byteLength);\n}\n\nfunction freeBuffers(ctx) { // Deletes the \"_buffer\" properties from the glTF \"buffer\" elements, to save memory\n const buffers = ctx.gltf.buffers;\n if (buffers) {\n for (let i = 0, len = buffers.length; i < len; i++) {\n buffers[i]._buffer = null;\n }\n }\n}\n\nfunction parseMaterials(ctx) {\n const materialsInfo = ctx.gltf.materials;\n if (materialsInfo) {\n for (let i = 0, len = materialsInfo.length; i < len; i++) {\n const materialInfo = materialsInfo[i];\n const material = parseMaterial(ctx, materialInfo);\n materialInfo._materialData = material;\n }\n }\n}\n\nfunction parseMaterial(ctx, materialInfo) { // Attempts to extract an RGBA color for a glTF material\n const material = {\n color: new Float32Array([1, 1, 1]),\n opacity: 1.0,\n metallic: 0,\n roughness: 1\n };\n const extensions = materialInfo.extensions;\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const diffuseFactor = specularPBR.diffuseFactor;\n if (diffuseFactor !== null && diffuseFactor !== undefined) {\n material.color[0] = diffuseFactor[0];\n material.color[1] = diffuseFactor[1];\n material.color[2] = diffuseFactor[2];\n }\n }\n const common = extensions[\"KHR_materials_common\"];\n if (common) {\n const technique = common.technique;\n const values = common.values || {};\n const blinn = technique === \"BLINN\";\n const phong = technique === \"PHONG\";\n const lambert = technique === \"LAMBERT\";\n const diffuse = values.diffuse;\n if (diffuse && (blinn || phong || lambert)) {\n if (!utils.isString(diffuse)) {\n material.color[0] = diffuse[0];\n material.color[1] = diffuse[1];\n material.color[2] = diffuse[2];\n }\n }\n const transparency = values.transparency;\n if (transparency !== null && transparency !== undefined) {\n material.opacity = transparency;\n }\n const transparent = values.transparent;\n if (transparent !== null && transparent !== undefined) {\n material.opacity = transparent;\n }\n }\n }\n const metallicPBR = materialInfo.pbrMetallicRoughness;\n if (metallicPBR) {\n const baseColorFactor = metallicPBR.baseColorFactor;\n if (baseColorFactor) {\n material.color[0] = baseColorFactor[0];\n material.color[1] = baseColorFactor[1];\n material.color[2] = baseColorFactor[2];\n material.opacity = baseColorFactor[3];\n }\n const metallicFactor = metallicPBR.metallicFactor;\n if (metallicFactor !== null && metallicFactor !== undefined) {\n material.metallic = metallicFactor;\n }\n const roughnessFactor = metallicPBR.roughnessFactor;\n if (roughnessFactor !== null && roughnessFactor !== undefined) {\n material.roughness = roughnessFactor;\n }\n }\n return material;\n}\n\nfunction parseDefaultScene(ctx) {\n const scene = ctx.gltf.scene || 0;\n const defaultSceneInfo = ctx.gltf.scenes[scene];\n if (!defaultSceneInfo) {\n throw new Error(\"glTF has no default scene\");\n }\n parseScene(ctx, defaultSceneInfo);\n}\n\n\nfunction parseScene(ctx, sceneInfo) {\n const nodes = sceneInfo.nodes;\n if (!nodes) {\n return;\n }\n for (let i = 0, len = nodes.length; i < len; i++) {\n const glTFNode = ctx.gltf.nodes[nodes[i]];\n if (glTFNode) {\n parseNode(ctx, glTFNode, 0, null);\n }\n }\n}\n\nlet deferredMeshIds = [];\n\nfunction parseNode(ctx, glTFNode, depth, matrix) {\n\n const gltf = ctx.gltf;\n const xktModel = ctx.xktModel;\n\n let localMatrix;\n\n if (glTFNode.matrix) {\n localMatrix = glTFNode.matrix;\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n\n if (glTFNode.translation) {\n localMatrix = math.translationMat4v(glTFNode.translation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, localMatrix);\n } else {\n matrix = localMatrix;\n }\n }\n\n if (glTFNode.rotation) {\n localMatrix = math.quaternionToMat4(glTFNode.rotation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, localMatrix);\n } else {\n matrix = localMatrix;\n }\n }\n\n if (glTFNode.scale) {\n localMatrix = math.scalingMat4v(glTFNode.scale);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, localMatrix);\n } else {\n matrix = localMatrix;\n }\n }\n\n const gltfMeshId = glTFNode.mesh;\n\n if (gltfMeshId !== undefined) {\n\n const meshInfo = gltf.meshes[gltfMeshId];\n\n if (meshInfo) {\n\n const numPrimitivesInMesh = meshInfo.primitives.length;\n\n if (numPrimitivesInMesh > 0) {\n\n for (let i = 0; i < numPrimitivesInMesh; i++) {\n\n const primitiveInfo = meshInfo.primitives[i];\n\n const geometryHash = createPrimitiveGeometryHash(primitiveInfo);\n\n let xktGeometryId = ctx.createXKTGeometryIds[geometryHash];\n\n if ((!ctx.reuseGeometries) || !xktGeometryId) {\n\n xktGeometryId = \"geometry-\" + ctx.nextMeshId++\n\n const geometryArrays = {};\n\n parsePrimitiveGeometry(ctx, primitiveInfo, geometryArrays);\n\n const colors = geometryArrays.colors;\n\n let colorsCompressed;\n\n if (geometryArrays.colors) {\n colorsCompressed = [];\n for (let j = 0, lenj = colors.length; j < lenj; j += 4) {\n colorsCompressed.push(colors[j + 0]);\n colorsCompressed.push(colors[j + 1]);\n colorsCompressed.push(colors[j + 2]);\n colorsCompressed.push(255);\n }\n }\n\n xktModel.createGeometry({\n geometryId: xktGeometryId,\n primitiveType: geometryArrays.primitive,\n positions: geometryArrays.positions,\n normals: ctx.includeNormals ? geometryArrays.normals : null,\n colorsCompressed: colorsCompressed,\n indices: geometryArrays.indices\n });\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += geometryArrays.positions ? geometryArrays.positions.length / 3 : 0;\n ctx.stats.numNormals += (ctx.includeNormals && geometryArrays.normals) ? geometryArrays.normals.length / 3 : 0;\n ctx.stats.numTriangles += geometryArrays.indices ? geometryArrays.indices.length / 3 : 0;\n\n ctx.createXKTGeometryIds[geometryHash] = xktGeometryId;\n } else {\n// Geometry reused\n }\n\n const materialIndex = primitiveInfo.material;\n const materialInfo = (materialIndex !== null && materialIndex !== undefined) ? gltf.materials[materialIndex] : null;\n const color = materialInfo ? materialInfo._materialData.color : new Float32Array([1.0, 1.0, 1.0, 1.0]);\n const opacity = materialInfo ? materialInfo._materialData.opacity : 1.0;\n const metallic = materialInfo ? materialInfo._materialData.metallic : 0.0;\n const roughness = materialInfo ? materialInfo._materialData.roughness : 1.0;\n\n const xktMeshId = \"mesh-\" + ctx.nextMeshId++;\n\n xktModel.createMesh({\n meshId: xktMeshId,\n geometryId: xktGeometryId,\n matrix: matrix ? matrix.slice() : math.identityMat4(),\n color: color,\n opacity: opacity,\n metallic: metallic,\n roughness: roughness\n });\n\n deferredMeshIds.push(xktMeshId);\n }\n }\n }\n }\n\n\n if (glTFNode.children) {\n const children = glTFNode.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNodeIdx = children[i];\n const childGLTFNode = gltf.nodes[childNodeIdx];\n if (!childGLTFNode) {\n console.warn('Node not found: ' + i);\n continue;\n }\n parseNode(ctx, childGLTFNode, depth + 1, matrix);\n }\n }\n\n // Post-order visit scene node\n\n const nodeName = glTFNode.name;\n if (((nodeName !== undefined && nodeName !== null) || depth === 0) && deferredMeshIds.length > 0) {\n if (nodeName === undefined || nodeName === null) {\n ctx.log(`[parseGLTFJSONIntoXKTModel] Warning: 'name' properties not found on glTF scene nodes - will randomly-generate object IDs in XKT`);\n }\n let xktEntityId = nodeName; // Fall back on generated ID when `name` not found on glTF scene node(s)\n if (xktEntityId === undefined || xktEntityId === null) {\n if (xktModel.entities[xktEntityId]) {\n ctx.error(\"Two or more glTF nodes found with same 'name' attribute: '\" + nodeName + \"'\");\n }\n while (!xktEntityId || xktModel.entities[xktEntityId]) {\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n }\n if (ctx.metaModelCorrections) { // Merging meshes into XKTObjects that map to metaobjects\n const rootMetaObject = ctx.metaModelCorrections.eachChildRoot[xktEntityId];\n if (rootMetaObject) {\n const rootMetaObjectStats = ctx.metaModelCorrections.eachRootStats[rootMetaObject.id];\n rootMetaObjectStats.countChildren++;\n if (rootMetaObjectStats.countChildren >= rootMetaObjectStats.numChildren) {\n xktModel.createEntity({\n entityId: rootMetaObject.id,\n meshIds: deferredMeshIds\n });\n ctx.stats.numObjects++;\n deferredMeshIds = [];\n }\n } else {\n const metaObject = ctx.metaModelCorrections.metaObjectsMap[xktEntityId];\n if (metaObject) {\n xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: deferredMeshIds\n });\n ctx.stats.numObjects++;\n deferredMeshIds = [];\n }\n }\n } else { // Create an XKTObject from the meshes at each named glTF node, don't care about metaobjects\n xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: deferredMeshIds\n });\n ctx.stats.numObjects++;\n deferredMeshIds = [];\n }\n }\n}\n\nfunction createPrimitiveGeometryHash(primitiveInfo) {\n const attributes = primitiveInfo.attributes;\n if (!attributes) {\n return \"empty\";\n }\n const mode = primitiveInfo.mode;\n const material = primitiveInfo.material;\n const indices = primitiveInfo.indices;\n const positions = primitiveInfo.attributes.POSITION;\n const normals = primitiveInfo.attributes.NORMAL;\n const colors = primitiveInfo.attributes.COLOR_0;\n const uv = primitiveInfo.attributes.TEXCOORD_0;\n return [\n mode,\n // material,\n (indices !== null && indices !== undefined) ? indices : \"-\",\n (positions !== null && positions !== undefined) ? positions : \"-\",\n (normals !== null && normals !== undefined) ? normals : \"-\",\n (colors !== null && colors !== undefined) ? colors : \"-\",\n (uv !== null && uv !== undefined) ? uv : \"-\"\n ].join(\";\");\n}\n\nfunction parsePrimitiveGeometry(ctx, primitiveInfo, geometryArrays) {\n const attributes = primitiveInfo.attributes;\n if (!attributes) {\n return;\n }\n switch (primitiveInfo.mode) {\n case 0: // POINTS\n geometryArrays.primitive = \"points\";\n break;\n case 1: // LINES\n geometryArrays.primitive = \"lines\";\n break;\n case 2: // LINE_LOOP\n // TODO: convert\n geometryArrays.primitive = \"lines\";\n break;\n case 3: // LINE_STRIP\n // TODO: convert\n geometryArrays.primitive = \"lines\";\n break;\n case 4: // TRIANGLES\n geometryArrays.primitive = \"triangles\";\n break;\n case 5: // TRIANGLE_STRIP\n // TODO: convert\n console.log(\"TRIANGLE_STRIP\");\n geometryArrays.primitive = \"triangles\";\n break;\n case 6: // TRIANGLE_FAN\n // TODO: convert\n console.log(\"TRIANGLE_FAN\");\n geometryArrays.primitive = \"triangles\";\n break;\n default:\n geometryArrays.primitive = \"triangles\";\n }\n const accessors = ctx.gltf.accessors;\n const indicesIndex = primitiveInfo.indices;\n if (indicesIndex !== null && indicesIndex !== undefined) {\n const accessorInfo = accessors[indicesIndex];\n geometryArrays.indices = parseAccessorTypedArray(ctx, accessorInfo);\n }\n const positionsIndex = attributes.POSITION;\n if (positionsIndex !== null && positionsIndex !== undefined) {\n const accessorInfo = accessors[positionsIndex];\n geometryArrays.positions = parseAccessorTypedArray(ctx, accessorInfo);\n }\n const normalsIndex = attributes.NORMAL;\n if (normalsIndex !== null && normalsIndex !== undefined) {\n const accessorInfo = accessors[normalsIndex];\n geometryArrays.normals = parseAccessorTypedArray(ctx, accessorInfo);\n }\n const colorsIndex = attributes.COLOR_0;\n if (colorsIndex !== null && colorsIndex !== undefined) {\n const accessorInfo = accessors[colorsIndex];\n geometryArrays.colors = parseAccessorTypedArray(ctx, accessorInfo);\n }\n}\n\nfunction parseAccessorTypedArray(ctx, accessorInfo) {\n const bufferView = ctx.gltf.bufferViews[accessorInfo.bufferView];\n const itemSize = WEBGL_TYPE_SIZES[accessorInfo.type];\n const TypedArray = WEBGL_COMPONENT_TYPES[accessorInfo.componentType];\n const elementBytes = TypedArray.BYTES_PER_ELEMENT; // For VEC3: itemSize is 3, elementBytes is 4, itemBytes is 12.\n const itemBytes = elementBytes * itemSize;\n if (accessorInfo.byteStride && accessorInfo.byteStride !== itemBytes) { // The buffer is not interleaved if the stride is the item size in bytes.\n throw new Error(\"interleaved buffer!\"); // TODO\n } else {\n return new TypedArray(bufferView._buffer, accessorInfo.byteOffset || 0, accessorInfo.count * itemSize);\n }\n}\n\nexport {parseGLTFJSONIntoXKTModel};\n","/**\n * @desc Parses IFC STEP file data into an {@link XKTModel}.\n *\n * This function uses [web-ifc](https://github.com/tomvandig/web-ifc) to parse the IFC, which relies on a\n * WASM file to do the parsing.\n *\n * Depending on how we use this function, we may need to provide it with a path to the directory where that WASM file is stored.\n *\n * This function is tested with web-ifc version 0.0.34.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an IFC model into it.\n *\n * ````javascript\n * import {XKTModel, parseIFCIntoXKTModel, writeXKTModelToArrayBuffer} from \"xeokit-convert.es.js\";\n *\n * import * as WebIFC from \"web-ifc-api.js\";\n *\n * utils.loadArraybuffer(\"rac_advanced_sample_project.ifc\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseIFCIntoXKTModel({\n * WebIFC,\n * data,\n * xktModel,\n * wasmPath: \"../dist/\",\n * autoNormals: true,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {Object} params.WebIFC The WebIFC library. We pass this in as an external dependency, in order to give the\n * caller the choice of whether to use the Browser or NodeJS version.\n * @param {ArrayBuffer} [params.data] IFC file data.\n * @param {XKTModel} [params.xktModel] XKTModel to parse into.\n * @param {Boolean} [params.autoNormals=true] When true, the parser will ignore the IFC geometry normals, and the IFC\n * data will rely on the xeokit ````Viewer```` to automatically generate them. This has the limitation that the\n * normals will be face-aligned, and therefore the ````Viewer```` will only be able to render a flat-shaded representation\n * of the IFC model. This is ````true```` by default, because IFC models tend to look acceptable with flat-shading,\n * and we always want to minimize IFC model size wherever possible.\n * @param {String[]} [params.includeTypes] Option to only convert objects of these types.\n * @param {String[]} [params.excludeTypes] Option to never convert objects of these types.\n * @param {String} params.wasmPath Path to ````web-ifc.wasm````, required by this function.\n * @param {Object} [params.stats={}] Collects statistics.\n * @param {function} [params.log] Logging callback.\n * @returns {Promise} Resolves when IFC has been parsed.\n */\nfunction parseIFCIntoXKTModel({\n WebIFC,\n data,\n xktModel,\n autoNormals = true,\n includeTypes,\n excludeTypes,\n wasmPath,\n stats = {},\n log\n }) {\n\n if (log) {\n log(\"Using parser: parseIFCIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n if (!wasmPath) {\n reject(\"Argument expected: wasmPath\");\n return;\n }\n\n const ifcAPI = new WebIFC.IfcAPI();\n\n if (wasmPath) {\n ifcAPI.SetWasmPath(wasmPath);\n }\n\n ifcAPI.Init().then(() => {\n\n const dataArray = new Uint8Array(data);\n\n const modelID = ifcAPI.OpenModel(dataArray);\n\n stats.sourceFormat = \"IFC\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 0;\n stats.numPropertySets = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n stats.numTriangles = 0;\n stats.numVertices = 0;\n\n const ctx = {\n WebIFC,\n modelID,\n ifcAPI,\n xktModel,\n autoNormals,\n log: (log || function (msg) {\n }),\n nextId: 0,\n stats\n };\n\n if (includeTypes) {\n ctx.includeTypes = {};\n for (let i = 0, len = includeTypes.length; i < len; i++) {\n ctx.includeTypes[includeTypes[i]] = true;\n }\n }\n\n if (excludeTypes) {\n ctx.excludeTypes = {};\n for (let i = 0, len = excludeTypes.length; i < len; i++) {\n ctx.excludeTypes[excludeTypes[i]] = true;\n }\n }\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(modelID, WebIFC.IFCPROJECT);\n const ifcProjectId = lines.get(0);\n const ifcProject = ctx.ifcAPI.GetLine(modelID, ifcProjectId);\n\n ctx.xktModel.schema = \"\";\n ctx.xktModel.modelId = \"\" + modelID;\n ctx.xktModel.projectId = \"\" + ifcProjectId;\n\n parseMetadata(ctx);\n parseGeometry(ctx);\n parsePropertySets(ctx);\n\n resolve();\n\n }).catch((e) => {\n\n reject(e);\n })\n });\n}\n\nfunction parsePropertySets(ctx) {\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, ctx.WebIFC.IFCRELDEFINESBYPROPERTIES);\n\n for (let i = 0; i < lines.size(); i++) {\n\n let relID = lines.get(i);\n\n let rel = ctx.ifcAPI.GetLine(ctx.modelID, relID, true);\n\n if (rel) {\n\n const relatingPropertyDefinition = rel.RelatingPropertyDefinition;\n if (!relatingPropertyDefinition) {\n continue;\n }\n\n const propertySetId = relatingPropertyDefinition.GlobalId.value;\n\n const relatedObjects = rel.RelatedObjects;\n if (relatedObjects) {\n for (let i = 0, len = relatedObjects.length; i < len; i++) {\n const relatedObject = relatedObjects[i];\n const metaObjectId = relatedObject.GlobalId.value;\n const metaObject = ctx.xktModel.metaObjects[metaObjectId];\n if (metaObject) {\n if (!metaObject.propertySetIds) {\n metaObject.propertySetIds = [];\n }\n metaObject.propertySetIds.push(propertySetId);\n }\n }\n }\n\n const props = relatingPropertyDefinition.HasProperties;\n if (props && props.length > 0) {\n const propertySetType = \"Default\";\n const propertySetName = relatingPropertyDefinition.Name.value;\n const properties = [];\n for (let i = 0, len = props.length; i < len; i++) {\n const prop = props[i];\n const name = prop.Name;\n const nominalValue = prop.NominalValue;\n if (name && nominalValue) {\n const property = {\n name: name.value,\n type: nominalValue.type,\n value: nominalValue.value,\n valueType: nominalValue.valueType\n };\n if (prop.Description) {\n property.description = prop.Description.value;\n } else if (nominalValue.description) {\n property.description = nominalValue.description;\n }\n properties.push(property);\n }\n }\n ctx.xktModel.createPropertySet({propertySetId, propertySetType, propertySetName, properties});\n ctx.stats.numPropertySets++;\n }\n }\n }\n}\n\nfunction parseMetadata(ctx) {\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, ctx.WebIFC.IFCPROJECT);\n const ifcProjectId = lines.get(0);\n const ifcProject = ctx.ifcAPI.GetLine(ctx.modelID, ifcProjectId);\n\n parseSpatialChildren(ctx, ifcProject);\n}\n\nfunction parseSpatialChildren(ctx, ifcElement, parentMetaObjectId) {\n\n const metaObjectType = ifcElement.__proto__.constructor.name;\n\n if (ctx.includeTypes && (!ctx.includeTypes[metaObjectType])) {\n return;\n }\n\n if (ctx.excludeTypes && ctx.excludeTypes[metaObjectType]) {\n return;\n }\n\n createMetaObject(ctx, ifcElement, parentMetaObjectId);\n\n const metaObjectId = ifcElement.GlobalId.value;\n\n parseRelatedItemsOfType(\n ctx,\n ifcElement.expressID,\n 'RelatingObject',\n 'RelatedObjects',\n ctx.WebIFC.IFCRELAGGREGATES,\n metaObjectId);\n\n parseRelatedItemsOfType(\n ctx,\n ifcElement.expressID,\n 'RelatingStructure',\n 'RelatedElements',\n ctx.WebIFC.IFCRELCONTAINEDINSPATIALSTRUCTURE,\n metaObjectId);\n}\n\nfunction createMetaObject(ctx, ifcElement, parentMetaObjectId) {\n\n const metaObjectId = ifcElement.GlobalId.value;\n const propertySetIds = null;\n const metaObjectType = ifcElement.__proto__.constructor.name;\n const metaObjectName = (ifcElement.Name && ifcElement.Name.value !== \"\") ? ifcElement.Name.value : metaObjectType;\n\n ctx.xktModel.createMetaObject({metaObjectId, propertySetIds, metaObjectType, metaObjectName, parentMetaObjectId});\n ctx.stats.numMetaObjects++;\n}\n\nfunction parseRelatedItemsOfType(ctx, id, relation, related, type, parentMetaObjectId) {\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, type);\n\n for (let i = 0; i < lines.size(); i++) {\n\n const relID = lines.get(i);\n const rel = ctx.ifcAPI.GetLine(ctx.modelID, relID);\n const relatedItems = rel[relation];\n\n let foundElement = false;\n\n if (Array.isArray(relatedItems)) {\n const values = relatedItems.map((item) => item.value);\n foundElement = values.includes(id);\n\n } else {\n foundElement = (relatedItems.value === id);\n }\n\n if (foundElement) {\n\n const element = rel[related];\n\n if (!Array.isArray(element)) {\n\n const ifcElement = ctx.ifcAPI.GetLine(ctx.modelID, element.value);\n\n parseSpatialChildren(ctx, ifcElement, parentMetaObjectId);\n\n } else {\n\n element.forEach((element2) => {\n\n const ifcElement = ctx.ifcAPI.GetLine(ctx.modelID, element2.value);\n\n parseSpatialChildren(ctx, ifcElement, parentMetaObjectId);\n });\n }\n }\n }\n}\n\nfunction parseGeometry(ctx) {\n\n // Parses the geometry and materials in the IFC, creates\n // XKTEntity, XKTMesh and XKTGeometry components within the XKTModel.\n\n const flatMeshes = ctx.ifcAPI.LoadAllGeometry(ctx.modelID);\n\n for (let i = 0, len = flatMeshes.size(); i < len; i++) {\n const flatMesh = flatMeshes.get(i);\n createObject(ctx, flatMesh);\n }\n\n // LoadAllGeometry does not return IFCSpace meshes\n // here is a workaround\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, ctx.WebIFC.IFCSPACE);\n for (let j = 0, len = lines.size(); j < len; j++) {\n const ifcSpaceId = lines.get(j);\n const flatMesh = ctx.ifcAPI.GetFlatMesh(ctx.modelID, ifcSpaceId);\n createObject(ctx, flatMesh);\n }\n}\n\nfunction createObject(ctx, flatMesh) {\n\n const flatMeshExpressID = flatMesh.expressID;\n const placedGeometries = flatMesh.geometries;\n\n const meshIds = [];\n\n const properties = ctx.ifcAPI.GetLine(ctx.modelID, flatMeshExpressID);\n const entityId = properties.GlobalId.value;\n\n const metaObjectId = entityId;\n const metaObject = ctx.xktModel.metaObjects[metaObjectId];\n\n if (ctx.includeTypes && (!metaObject || (!ctx.includeTypes[metaObject.metaObjectType]))) {\n return;\n }\n\n if (ctx.excludeTypes && (!metaObject || ctx.excludeTypes[metaObject.metaObjectType])) {\n console.log(\"excluding: \" + metaObjectId)\n return;\n }\n\n for (let j = 0, lenj = placedGeometries.size(); j < lenj; j++) {\n\n const placedGeometry = placedGeometries.get(j);\n const geometryId = \"\" + placedGeometry.geometryExpressID;\n\n if (!ctx.xktModel.geometries[geometryId]) {\n\n const geometry = ctx.ifcAPI.GetGeometry(ctx.modelID, placedGeometry.geometryExpressID);\n const vertexData = ctx.ifcAPI.GetVertexArray(geometry.GetVertexData(), geometry.GetVertexDataSize());\n const indices = ctx.ifcAPI.GetIndexArray(geometry.GetIndexData(), geometry.GetIndexDataSize());\n\n // De-interleave vertex arrays\n\n const positions = [];\n const normals = [];\n\n for (let k = 0, lenk = vertexData.length / 6; k < lenk; k++) {\n positions.push(vertexData[k * 6 + 0]);\n positions.push(vertexData[k * 6 + 1]);\n positions.push(vertexData[k * 6 + 2]);\n }\n\n if (!ctx.autoNormals) {\n for (let k = 0, lenk = vertexData.length / 6; k < lenk; k++) {\n normals.push(vertexData[k * 6 + 3]);\n normals.push(vertexData[k * 6 + 4]);\n normals.push(vertexData[k * 6 + 5]);\n }\n }\n\n ctx.xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: positions,\n normals: ctx.autoNormals ? null : normals,\n indices: indices\n });\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += (positions.length / 3);\n ctx.stats.numTriangles += (indices.length / 3);\n }\n\n const meshId = (\"mesh\" + ctx.nextId++);\n\n ctx.xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n matrix: placedGeometry.flatTransformation,\n color: [placedGeometry.color.x, placedGeometry.color.y, placedGeometry.color.z],\n opacity: placedGeometry.color.w\n });\n\n meshIds.push(meshId);\n }\n\n if (meshIds.length > 0) {\n ctx.xktModel.createEntity({\n entityId: entityId,\n meshIds: meshIds\n });\n ctx.stats.numObjects++;\n }\n}\n\nexport {parseIFCIntoXKTModel};\n","import {parse} from '@loaders.gl/core';\nimport {LASLoader} from '@loaders.gl/las';\n\nimport {math} from \"../lib/math.js\";\n\nconst MAX_VERTICES = 500000; // TODO: Rough estimate\n\n/**\n * @desc Parses LAS and LAZ point cloud data into an {@link XKTModel}.\n *\n * This parser handles both the LASER file format (LAS) and its compressed version (LAZ),\n * a public format for the interchange of 3-dimensional point cloud data data, developed\n * for LIDAR mapping purposes.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an LAZ point cloud model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"./models/laz/autzen.laz\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * await parseLASIntoXKTModel({\n * data,\n * xktModel,\n * rotateX: true,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer} params.data LAS/LAZ file data.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {boolean} [params.center=false] Set true to center the LAS point positions to [0,0,0]. This is applied before the transformation matrix, if specified.\n * @param {Boolean} [params.transform] 4x4 transformation matrix to transform point positions. Use this to rotate, translate and scale them if neccessary.\n * @param {Number|String} [params.colorDepth=8] Whether colors encoded using 8 or 16 bits. Can be set to 'auto'. LAS specification recommends 16 bits.\n * @param {Boolean} [params.fp64=false] Configures if LASLoaderPlugin assumes that LAS positions are stored in 64-bit floats instead of 32-bit.\n * @param {Number} [params.skip=1] Read one from every n points.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n * @returns {Promise} Resolves when LAS has been parsed.\n */\nfunction parseLASIntoXKTModel({\n data,\n xktModel,\n center = false,\n transform = null,\n colorDepth = \"auto\",\n fp64 = false,\n skip = 1,\n stats,\n log = () => {\n }\n }) {\n\n if (log) {\n log(\"Using parser: parseLASIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n log(\"Converting LAZ/LAS\");\n\n log(`center: ${center}`);\n if (transform) {\n log(`transform: [${transform}]`);\n }\n log(`colorDepth: ${colorDepth}`);\n log(`fp64: ${fp64}`);\n log(`skip: ${skip}`);\n\n parse(data, LASLoader, {\n las: {\n colorDepth,\n fp64\n }\n }).then((parsedData) => {\n\n const attributes = parsedData.attributes;\n\n const loaderData = parsedData.loaderData;\n const pointsFormatId = loaderData.pointsFormatId !== undefined ? loaderData.pointsFormatId : -1;\n\n if (!attributes.POSITION) {\n log(\"No positions found in file (expected for all LAS point formats)\");\n return;\n }\n\n let readAttributes = {};\n\n switch (pointsFormatId) {\n case 0:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 0)\");\n return;\n }\n\n readAttributes = readIntensities(attributes.POSITION, attributes.intensity);\n break;\n case 1:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 1)\");\n return;\n }\n readAttributes = readIntensities(attributes.POSITION, attributes.intensity);\n break;\n case 2:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 2)\");\n return;\n }\n\n readAttributes = readColorsAndIntensities(attributes.POSITION, attributes.COLOR_0, attributes.intensity);\n break;\n case 3:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 3)\");\n return;\n }\n readAttributes = readColorsAndIntensities(attributes.POSITION, attributes.COLOR_0, attributes.intensity);\n break;\n }\n\n const pointsChunks = chunkArray(readPositions(readAttributes.positions), MAX_VERTICES * 3);\n const colorsChunks = chunkArray(readAttributes.colors, MAX_VERTICES * 4);\n\n const meshIds = [];\n\n for (let j = 0, lenj = pointsChunks.length; j < lenj; j++) {\n\n const geometryId = `geometry-${j}`;\n const meshId = `mesh-${j}`;\n\n meshIds.push(meshId);\n\n xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"points\",\n positions: pointsChunks[j],\n colorsCompressed: colorsChunks[j]\n });\n\n xktModel.createMesh({\n meshId,\n geometryId\n });\n }\n\n const entityId = math.createUUID();\n\n xktModel.createEntity({\n entityId,\n meshIds\n });\n\n const rootMetaObjectId = math.createUUID();\n\n xktModel.createMetaObject({\n metaObjectId: rootMetaObjectId,\n metaObjectType: \"Model\",\n metaObjectName: \"Model\"\n });\n\n xktModel.createMetaObject({\n metaObjectId: entityId,\n metaObjectType: \"PointCloud\",\n metaObjectName: \"PointCloud (LAZ)\",\n parentMetaObjectId: rootMetaObjectId\n });\n\n if (stats) {\n stats.sourceFormat = \"LAS\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 2;\n stats.numPropertySets = 0;\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numVertices = readAttributes.positions.length / 3;\n }\n\n resolve();\n\n }, (errMsg) => {\n reject(errMsg);\n });\n });\n\n function readPositions(positionsValue) {\n if (positionsValue) {\n if (center) {\n const centerPos = math.vec3();\n const numPoints = positionsValue.length;\n for (let i = 0, len = positionsValue.length; i < len; i += 3) {\n centerPos[0] += positionsValue[i + 0];\n centerPos[1] += positionsValue[i + 1];\n centerPos[2] += positionsValue[i + 2];\n }\n centerPos[0] /= numPoints;\n centerPos[1] /= numPoints;\n centerPos[2] /= numPoints;\n for (let i = 0, len = positionsValue.length; i < len; i += 3) {\n positionsValue[i + 0] -= centerPos[0];\n positionsValue[i + 1] -= centerPos[1];\n positionsValue[i + 2] -= centerPos[2];\n }\n }\n if (transform) {\n const mat = math.mat4(transform);\n const pos = math.vec3();\n for (let i = 0, len = positionsValue.length; i < len; i += 3) {\n pos[0] = positionsValue[i + 0];\n pos[1] = positionsValue[i + 1];\n pos[2] = positionsValue[i + 2];\n math.transformPoint3(mat, pos, pos);\n positionsValue[i + 0] = pos[0];\n positionsValue[i + 1] = pos[1];\n positionsValue[i + 2] = pos[2];\n }\n }\n }\n return positionsValue;\n }\n\n function readColorsAndIntensities(attributesPosition, attributesColor, attributesIntensity) {\n const positionsValue = attributesPosition.value;\n const colors = attributesColor.value;\n const colorSize = attributesColor.size;\n const intensities = attributesIntensity.value;\n const colorsCompressedSize = intensities.length * 4;\n const positions = [];\n const colorsCompressed = new Uint8Array(colorsCompressedSize / skip);\n let count = skip;\n for (let i = 0, j = 0, k = 0, l = 0, m = 0, n=0,len = intensities.length; i < len; i++, k += colorSize, j += 4, l += 3) {\n if (count <= 0) {\n colorsCompressed[m++] = colors[k + 0];\n colorsCompressed[m++] = colors[k + 1];\n colorsCompressed[m++] = colors[k + 2];\n colorsCompressed[m++] = Math.round((intensities[i] / 65536) * 255);\n positions[n++] = positionsValue[l + 0];\n positions[n++] = positionsValue[l + 1];\n positions[n++] = positionsValue[l + 2];\n count = skip;\n } else {\n count--;\n }\n }\n return {\n positions,\n colors: colorsCompressed\n };\n }\n\n function readIntensities(attributesPosition, attributesIntensity) {\n const positionsValue = attributesPosition.value;\n const intensities = attributesIntensity.value;\n const colorsCompressedSize = intensities.length * 4;\n const positions = [];\n const colorsCompressed = new Uint8Array(colorsCompressedSize / skip);\n let count = skip;\n for (let i = 0, j = 0, k = 0, l = 0, m = 0, n = 0, len = intensities.length; i < len; i++, k += 3, j += 4, l += 3) {\n if (count <= 0) {\n colorsCompressed[m++] = 0;\n colorsCompressed[m++] = 0;\n colorsCompressed[m++] = 0;\n colorsCompressed[m++] = Math.round((intensities[i] / 65536) * 255);\n positions[n++] = positionsValue[l + 0];\n positions[n++] = positionsValue[l + 1];\n positions[n++] = positionsValue[l + 2];\n count = skip;\n } else {\n count--;\n }\n }\n return {\n positions,\n colors: colorsCompressed\n };\n }\n\n function chunkArray(array, chunkSize) {\n if (chunkSize >= array.length) {\n return [array]; // One chunk\n }\n let result = [];\n for (let i = 0; i < array.length; i += chunkSize) {\n result.push(array.slice(i, i + chunkSize));\n }\n return result;\n }\n\n}\n\nexport {parseLASIntoXKTModel};","/**\n * @desc Parses JSON metamodel into an {@link XKTModel}.\n *\n * @param {Object} params Parsing parameters.\n * @param {JSON} params.metaModelData Metamodel data.\n * @param {String[]} [params.excludeTypes] Types to exclude from parsing.\n * @param {String[]} [params.includeTypes] Types to include in parsing.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when JSON has been parsed.\n */\nfunction parseMetaModelIntoXKTModel({metaModelData, xktModel, includeTypes, excludeTypes, log}) {\n\n if (log) {\n log(\"Using parser: parseMetaModelIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n const metaObjects = metaModelData.metaObjects || [];\n const propertySets = metaModelData.propertySets || [];\n\n xktModel.modelId = metaModelData.revisionId || \"\"; // HACK\n xktModel.projectId = metaModelData.projectId || \"\";\n xktModel.revisionId = metaModelData.revisionId || \"\";\n xktModel.author = metaModelData.author || \"\";\n xktModel.createdAt = metaModelData.createdAt || \"\";\n xktModel.creatingApplication = metaModelData.creatingApplication || \"\";\n xktModel.schema = metaModelData.schema || \"\";\n\n for (let i = 0, len = propertySets.length; i < len; i++) {\n\n const propertySet = propertySets[i];\n\n xktModel.createPropertySet({\n propertySetId: propertySet.id,\n propertySetName: propertySet.name,\n propertySetType: propertySet.type,\n properties: propertySet.properties\n });\n }\n\n let includeTypesMap;\n if (includeTypes) {\n includeTypesMap = {};\n for (let i = 0, len = includeTypes.length; i < len; i++) {\n includeTypesMap[includeTypes[i]] = true;\n }\n }\n\n let excludeTypesMap;\n if (excludeTypes) {\n excludeTypesMap = {};\n for (let i = 0, len = excludeTypes.length; i < len; i++) {\n excludeTypesMap[excludeTypes[i]] = true;\n }\n }\n\n const metaObjectsMap = {};\n\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n const newObject = metaObjects[i];\n metaObjectsMap[newObject.id] = newObject;\n }\n\n let countMetaObjects = 0;\n\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n\n const metaObject = metaObjects[i];\n const type = metaObject.type;\n\n if (excludeTypesMap && excludeTypesMap[type]) {\n continue;\n }\n\n if (includeTypesMap && !includeTypesMap[type]) {\n continue;\n }\n\n if (metaObject.parent !== undefined && metaObject.parent !== null) {\n const metaObjectParent = metaObjectsMap[metaObject.parent];\n if (metaObject.type === metaObjectParent.type) { // Don't create redundant sub-objects\n continue\n }\n }\n\n const propertySetIds = [];\n if (metaObject.propertySetIds) {\n for (let j = 0, lenj = metaObject.propertySetIds.length; j < lenj; j++) {\n const propertySetId = metaObject.propertySetIds[j];\n if (propertySetId !== undefined && propertySetId !== null && propertySetId !== \"\") {\n propertySetIds.push(propertySetId);\n }\n }\n }\n if (metaObject.propertySetId !== undefined && metaObject.propertySetId !== null && metaObject.propertySetId !== \"\") {\n propertySetIds.push(metaObject.propertySetId);\n }\n\n xktModel.createMetaObject({\n metaObjectId: metaObject.id,\n metaObjectType: metaObject.type,\n metaObjectName: metaObject.name,\n parentMetaObjectId: metaObject.parent,\n propertySetIds: propertySetIds.length > 0 ? propertySetIds : null\n });\n\n countMetaObjects++;\n }\n\n if (log) {\n log(\"Converted meta objects: \" + countMetaObjects);\n }\n\n resolve();\n });\n}\n\nexport {parseMetaModelIntoXKTModel};\n","/**\n * @desc Parses PCD point cloud data into an {@link XKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an LAZ point cloud model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"\"./models/pcd/ism_test_cat.pcd\"\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * await parsePCDIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer} params.data PCD file data.\n * @param {Boolean} [params.littleEndian=true] Whether PCD binary data is Little-Endian or Big-Endian.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when PCD has been parsed.\n */\nfunction parsePCDIntoXKTModel({data, xktModel, littleEndian = true, stats, log}) {\n\n if (log) {\n log(\"Using parser: parsePCDIntoXKTModel\");\n }\n\n return new Promise(function(resolve, reject) {\n\n const textData = decodeText(new Uint8Array(data));\n\n const header = parseHeader(textData);\n\n const positions = [];\n const normals = [];\n const colors = [];\n\n if (header.data === 'ascii') {\n\n const offset = header.offset;\n const data = textData.substr(header.headerLen);\n const lines = data.split('\\n');\n\n for (let i = 0, l = lines.length; i < l; i++) {\n\n if (lines[i] === '') {\n continue;\n }\n\n const line = lines[i].split(' ');\n\n if (offset.x !== undefined) {\n positions.push(parseFloat(line[offset.x]));\n positions.push(parseFloat(line[offset.y]));\n positions.push(parseFloat(line[offset.z]));\n }\n\n if (offset.rgb !== undefined) {\n const rgb = parseFloat(line[offset.rgb]);\n const r = (rgb >> 16) & 0x0000ff;\n const g = (rgb >> 8) & 0x0000ff;\n const b = (rgb >> 0) & 0x0000ff;\n colors.push(r, g, b, 255);\n } else {\n colors.push(255);\n colors.push(255);\n colors.push(255);\n }\n }\n }\n\n if (header.data === 'binary_compressed') {\n\n const sizes = new Uint32Array(data.slice(header.headerLen, header.headerLen + 8));\n const compressedSize = sizes[0];\n const decompressedSize = sizes[1];\n const decompressed = decompressLZF(new Uint8Array(data, header.headerLen + 8, compressedSize), decompressedSize);\n const dataview = new DataView(decompressed.buffer);\n const offset = header.offset;\n\n for (let i = 0; i < header.points; i++) {\n\n if (offset.x !== undefined) {\n positions.push(dataview.getFloat32((header.points * offset.x) + header.size[0] * i, littleEndian));\n positions.push(dataview.getFloat32((header.points * offset.y) + header.size[1] * i, littleEndian));\n positions.push(dataview.getFloat32((header.points * offset.z) + header.size[2] * i, littleEndian));\n }\n\n if (offset.rgb !== undefined) {\n colors.push(dataview.getUint8((header.points * offset.rgb) + header.size[3] * i + 0));\n colors.push(dataview.getUint8((header.points * offset.rgb) + header.size[3] * i + 1));\n colors.push(dataview.getUint8((header.points * offset.rgb) + header.size[3] * i + 2));\n // colors.push(255);\n } else {\n colors.push(1);\n colors.push(1);\n colors.push(1);\n }\n }\n }\n\n if (header.data === 'binary') {\n\n const dataview = new DataView(data, header.headerLen);\n const offset = header.offset;\n\n for (let i = 0, row = 0; i < header.points; i++, row += header.rowSize) {\n if (offset.x !== undefined) {\n positions.push(dataview.getFloat32(row + offset.x, littleEndian));\n positions.push(dataview.getFloat32(row + offset.y, littleEndian));\n positions.push(dataview.getFloat32(row + offset.z, littleEndian));\n }\n\n if (offset.rgb !== undefined) {\n colors.push(dataview.getUint8(row + offset.rgb + 2));\n colors.push(dataview.getUint8(row + offset.rgb + 1));\n colors.push(dataview.getUint8(row + offset.rgb + 0));\n } else {\n colors.push(255);\n colors.push(255);\n colors.push(255);\n }\n }\n }\n\n xktModel.createGeometry({\n geometryId: \"pointsGeometry\",\n primitiveType: \"points\",\n positions: positions,\n colors: colors && colors.length > 0 ? colors : null\n });\n\n xktModel.createMesh({\n meshId: \"pointsMesh\",\n geometryId: \"pointsGeometry\"\n });\n\n xktModel.createEntity({\n entityId: \"geometries\",\n meshIds: [\"pointsMesh\"]\n });\n\n if (log) {\n log(\"Converted drawable objects: 1\");\n log(\"Converted geometries: 1\");\n log(\"Converted vertices: \" + positions.length / 3);\n }\n\n if (stats) {\n stats.sourceFormat = \"PCD\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numVertices = positions.length / 3;\n }\n\n resolve();\n });\n}\n\nfunction parseHeader(data) {\n const header = {};\n const result1 = data.search(/[\\r\\n]DATA\\s(\\S*)\\s/i);\n const result2 = /[\\r\\n]DATA\\s(\\S*)\\s/i.exec(data.substr(result1 - 1));\n header.data = result2[1];\n header.headerLen = result2[0].length + result1;\n header.str = data.substr(0, header.headerLen);\n header.str = header.str.replace(/\\#.*/gi, ''); // Strip comments\n header.version = /VERSION (.*)/i.exec(header.str); // Parse\n header.fields = /FIELDS (.*)/i.exec(header.str);\n header.size = /SIZE (.*)/i.exec(header.str);\n header.type = /TYPE (.*)/i.exec(header.str);\n header.count = /COUNT (.*)/i.exec(header.str);\n header.width = /WIDTH (.*)/i.exec(header.str);\n header.height = /HEIGHT (.*)/i.exec(header.str);\n header.viewpoint = /VIEWPOINT (.*)/i.exec(header.str);\n header.points = /POINTS (.*)/i.exec(header.str);\n if (header.version !== null) {\n header.version = parseFloat(header.version[1]);\n }\n if (header.fields !== null) {\n header.fields = header.fields[1].split(' ');\n }\n if (header.type !== null) {\n header.type = header.type[1].split(' ');\n }\n if (header.width !== null) {\n header.width = parseInt(header.width[1]);\n }\n if (header.height !== null) {\n header.height = parseInt(header.height[1]);\n }\n if (header.viewpoint !== null) {\n header.viewpoint = header.viewpoint[1];\n }\n if (header.points !== null) {\n header.points = parseInt(header.points[1], 10);\n }\n if (header.points === null) {\n header.points = header.width * header.height;\n }\n if (header.size !== null) {\n header.size = header.size[1].split(' ').map(function (x) {\n return parseInt(x, 10);\n });\n }\n if (header.count !== null) {\n header.count = header.count[1].split(' ').map(function (x) {\n return parseInt(x, 10);\n });\n } else {\n header.count = [];\n for (let i = 0, l = header.fields.length; i < l; i++) {\n header.count.push(1);\n }\n }\n header.offset = {};\n let sizeSum = 0;\n for (let i = 0, l = header.fields.length; i < l; i++) {\n if (header.data === 'ascii') {\n header.offset[header.fields[i]] = i;\n } else {\n header.offset[header.fields[i]] = sizeSum;\n sizeSum += header.size[i] * header.count[i];\n }\n }\n header.rowSize = sizeSum; // For binary only\n return header;\n}\n\nfunction decodeText(array) {\n if (typeof TextDecoder !== 'undefined') {\n return new TextDecoder().decode(array);\n }\n let s = '';\n for (let i = 0, il = array.length; i < il; i++) {\n s += String.fromCharCode(array[i]);\n }\n try {\n return decodeURIComponent(escape(s));\n } catch (e) {\n return s;\n }\n}\n\nfunction decompressLZF(inData, outLength) { // https://gitlab.com/taketwo/three-pcd-loader/blob/master/decompress-lzf.js\n const inLength = inData.length;\n const outData = new Uint8Array(outLength);\n let inPtr = 0;\n let outPtr = 0;\n let ctrl;\n let len;\n let ref;\n do {\n ctrl = inData[inPtr++];\n if (ctrl < (1 << 5)) {\n ctrl++;\n if (outPtr + ctrl > outLength) throw new Error('Output buffer is not large enough');\n if (inPtr + ctrl > inLength) throw new Error('Invalid compressed data');\n do {\n outData[outPtr++] = inData[inPtr++];\n } while (--ctrl);\n } else {\n len = ctrl >> 5;\n ref = outPtr - ((ctrl & 0x1f) << 8) - 1;\n if (inPtr >= inLength) throw new Error('Invalid compressed data');\n if (len === 7) {\n len += inData[inPtr++];\n if (inPtr >= inLength) throw new Error('Invalid compressed data');\n }\n ref -= inData[inPtr++];\n if (outPtr + len + 2 > outLength) throw new Error('Output buffer is not large enough');\n if (ref < 0) throw new Error('Invalid compressed data');\n if (ref >= outPtr) throw new Error('Invalid compressed data');\n do {\n outData[outPtr++] = outData[ref++];\n } while (--len + 2);\n }\n } while (inPtr < inLength);\n return outData;\n}\n\nexport {parsePCDIntoXKTModel};","import {parse} from '@loaders.gl/core';\nimport {PLYLoader} from '@loaders.gl/ply';\n\n/**\n * @desc Parses PLY file data into an {@link XKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a PLY model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"./models/ply/test.ply\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parsePLYIntoXKTModel({data, xktModel}).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer} params.data PLY file data.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when PLY has been parsed.\n */\nasync function parsePLYIntoXKTModel({data, xktModel, stats, log}) {\n\n if (log) {\n log(\"Using parser: parsePLYIntoXKTModel\");\n }\n\n if (!data) {\n throw \"Argument expected: data\";\n }\n\n if (!xktModel) {\n throw \"Argument expected: xktModel\";\n }\n\n let parsedData;\n try {\n parsedData = await parse(data, PLYLoader);\n } catch (e) {\n if (log) {\n log(\"Error: \" + e);\n }\n return;\n }\n\n const attributes = parsedData.attributes;\n const hasColors = !!attributes.COLOR_0;\n\n if (hasColors) {\n const colorsValue = hasColors ? attributes.COLOR_0.value : null;\n const colorsCompressed = [];\n for (let i = 0, len = colorsValue.length; i < len; i += 4) {\n colorsCompressed.push(colorsValue[i]);\n colorsCompressed.push(colorsValue[i + 1]);\n colorsCompressed.push(colorsValue[i + 2]);\n }\n xktModel.createGeometry({\n geometryId: \"plyGeometry\",\n primitiveType: \"triangles\",\n positions: attributes.POSITION.value,\n indices: parsedData.indices ? parsedData.indices.value : [],\n colorsCompressed: colorsCompressed\n });\n } else {\n xktModel.createGeometry({\n geometryId: \"plyGeometry\",\n primitiveType: \"triangles\",\n positions: attributes.POSITION.value,\n indices: parsedData.indices ? parsedData.indices.value : []\n });\n }\n\n xktModel.createMesh({\n meshId: \"plyMesh\",\n geometryId: \"plyGeometry\",\n color: (!hasColors) ? [1, 1, 1] : null\n });\n\n xktModel.createEntity({\n entityId: \"ply\",\n meshIds: [\"plyMesh\"]\n });\n\n if (stats) {\n stats.sourceFormat = \"PLY\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 2;\n stats.numPropertySets = 0;\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numVertices = attributes.POSITION.value.length / 3;\n }\n}\n\nexport {parsePLYIntoXKTModel};\n","import {faceToVertexNormals} from \"../lib/faceToVertexNormals.js\";\nimport {math} from \"../lib/math.js\";\n\n/**\n * @desc Parses STL file data into an {@link XKTModel}.\n *\n * * Supports binary and ASCII STL formats.\n * * Option to create a separate {@link XKTEntity} for each group of faces that share the same vertex colors.\n * * Option to smooth face-aligned normals loaded from STL.\n * * Option to reduce XKT file size by ignoring STL normals and relying on xeokit to auto-generate them.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an STL model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"./models/stl/binary/spurGear.stl\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseSTLIntoXKTModel({data, xktModel});\n *\n * xktModel.finalize();\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer|String} [params.data] STL file data. Can be binary or string.\n * @param {Boolean} [params.autoNormals=false] When true, the parser will ignore the STL geometry normals, and the STL\n * data will rely on the xeokit ````Viewer```` to automatically generate them. This has the limitation that the\n * normals will be face-aligned, and therefore the ````Viewer```` will only be able to render a flat-shaded representation\n * of the STL.\n * Overrides ````smoothNormals```` when ````true````. This ignores the normals in the STL, and loads no\n * normals from the STL into the {@link XKTModel}, resulting in the XKT file storing no normals for the STL model. The\n * xeokit-sdk will then automatically generate the normals within its shaders. The disadvantages are that auto-normals\n * may slow rendering down a little bit, and that the normals can only be face-aligned (and thus rendered using flat\n * shading). The advantages, however, are a smaller XKT file size, and the ability to apply certain geometry optimizations\n * during parsing, such as removing duplicated STL vertex positions, that are not possible when normals are loaded\n * for the STL vertices.\n * @param {Boolean} [params.smoothNormals=true] When true, automatically converts face-oriented STL normals to vertex normals, for a smooth appearance. Ignored if ````autoNormals```` is ````true````.\n * @param {Number} [params.smoothNormalsAngleThreshold=20] This is the threshold angle between normals of adjacent triangles, below which their shared wireframe edge is not drawn.\n * @param {Boolean} [params.splitMeshes=true] When true, creates a separate {@link XKTEntity} for each group of faces that share the same vertex colors. Only works with binary STL (ie. when ````data```` is an ArrayBuffer).\n * @param {XKTModel} [params.xktModel] XKTModel to parse into.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when STL has been parsed.\n */\nasync function parseSTLIntoXKTModel({\n data,\n splitMeshes,\n autoNormals,\n smoothNormals,\n smoothNormalsAngleThreshold,\n xktModel,\n stats,\n log\n }) {\n\n if (log) {\n log(\"Using parser: parseSTLIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n const rootMetaObjectId = math.createUUID();\n\n const rootMetaObject = xktModel.createMetaObject({\n metaObjectId: rootMetaObjectId,\n metaObjectType: \"Model\",\n metaObjectName: \"Model\"\n });\n\n const ctx = {\n data,\n splitMeshes,\n autoNormals,\n smoothNormals,\n smoothNormalsAngleThreshold,\n xktModel,\n rootMetaObject,\n nextId: 0,\n log: (log || function (msg) {\n }),\n stats: {\n numObjects: 0,\n numGeometries: 0,\n numTriangles: 0,\n numVertices: 0\n }\n };\n\n const binData = ensureBinary(data);\n\n if (isBinary(binData)) {\n parseBinary(ctx, binData);\n } else {\n parseASCII(ctx, ensureString(data));\n }\n\n if (stats) {\n stats.sourceFormat = \"STL\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 2;\n stats.numPropertySets = 0;\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numTriangles = ctx.stats.numTriangles;\n stats.numVertices = ctx.stats.numVertices;\n }\n\n resolve();\n });\n}\n\nfunction isBinary(data) {\n const reader = new DataView(data);\n const numFaces = reader.getUint32(80, true);\n const faceSize = (32 / 8 * 3) + ((32 / 8 * 3) * 3) + (16 / 8);\n const numExpectedBytes = 80 + (32 / 8) + (numFaces * faceSize);\n if (numExpectedBytes === reader.byteLength) {\n return true;\n }\n const solid = [115, 111, 108, 105, 100];\n for (let i = 0; i < 5; i++) {\n if (solid[i] !== reader.getUint8(i, false)) {\n return true;\n }\n }\n return false;\n}\n\nfunction parseBinary(ctx, data) {\n const reader = new DataView(data);\n const faces = reader.getUint32(80, true);\n let r;\n let g;\n let b;\n let hasColors = false;\n let colors;\n let defaultR;\n let defaultG;\n let defaultB;\n let lastR = null;\n let lastG = null;\n let lastB = null;\n let newMesh = false;\n let alpha;\n for (let index = 0; index < 80 - 10; index++) {\n if ((reader.getUint32(index, false) === 0x434F4C4F /*COLO*/) &&\n (reader.getUint8(index + 4) === 0x52 /*'R'*/) &&\n (reader.getUint8(index + 5) === 0x3D /*'='*/)) {\n hasColors = true;\n colors = [];\n defaultR = reader.getUint8(index + 6) / 255;\n defaultG = reader.getUint8(index + 7) / 255;\n defaultB = reader.getUint8(index + 8) / 255;\n alpha = reader.getUint8(index + 9) / 255;\n }\n }\n let dataOffset = 84;\n let faceLength = 12 * 4 + 2;\n let positions = [];\n let normals = [];\n let splitMeshes = ctx.splitMeshes;\n for (let face = 0; face < faces; face++) {\n let start = dataOffset + face * faceLength;\n let normalX = reader.getFloat32(start, true);\n let normalY = reader.getFloat32(start + 4, true);\n let normalZ = reader.getFloat32(start + 8, true);\n if (hasColors) {\n let packedColor = reader.getUint16(start + 48, true);\n if ((packedColor & 0x8000) === 0) {\n r = (packedColor & 0x1F) / 31;\n g = ((packedColor >> 5) & 0x1F) / 31;\n b = ((packedColor >> 10) & 0x1F) / 31;\n } else {\n r = defaultR;\n g = defaultG;\n b = defaultB;\n }\n if (splitMeshes && r !== lastR || g !== lastG || b !== lastB) {\n if (lastR !== null) {\n newMesh = true;\n }\n lastR = r;\n lastG = g;\n lastB = b;\n }\n }\n for (let i = 1; i <= 3; i++) {\n let vertexstart = start + i * 12;\n positions.push(reader.getFloat32(vertexstart, true));\n positions.push(reader.getFloat32(vertexstart + 4, true));\n positions.push(reader.getFloat32(vertexstart + 8, true));\n if (!ctx.autoNormals) {\n normals.push(normalX, normalY, normalZ);\n }\n if (hasColors) {\n colors.push(r, g, b, 1); // TODO: handle alpha\n }\n }\n if (splitMeshes && newMesh) {\n addMesh(ctx, positions, normals, colors);\n positions = [];\n normals = [];\n colors = colors ? [] : null;\n newMesh = false;\n }\n }\n if (positions.length > 0) {\n addMesh(ctx, positions, normals, colors);\n }\n}\n\nfunction parseASCII(ctx, data) {\n const faceRegex = /facet([\\s\\S]*?)endfacet/g;\n let faceCounter = 0;\n const floatRegex = /[\\s]+([+-]?(?:\\d+.\\d+|\\d+.|\\d+|.\\d+)(?:[eE][+-]?\\d+)?)/.source;\n const vertexRegex = new RegExp('vertex' + floatRegex + floatRegex + floatRegex, 'g');\n const normalRegex = new RegExp('normal' + floatRegex + floatRegex + floatRegex, 'g');\n const positions = [];\n const normals = [];\n const colors = null;\n let normalx;\n let normaly;\n let normalz;\n let result;\n let verticesPerFace;\n let normalsPerFace;\n let text;\n while ((result = faceRegex.exec(data)) !== null) {\n verticesPerFace = 0;\n normalsPerFace = 0;\n text = result[0];\n while ((result = normalRegex.exec(text)) !== null) {\n normalx = parseFloat(result[1]);\n normaly = parseFloat(result[2]);\n normalz = parseFloat(result[3]);\n normalsPerFace++;\n }\n while ((result = vertexRegex.exec(text)) !== null) {\n positions.push(parseFloat(result[1]), parseFloat(result[2]), parseFloat(result[3]));\n normals.push(normalx, normaly, normalz);\n verticesPerFace++;\n }\n if (normalsPerFace !== 1) {\n ctx.log(\"Error in normal of face \" + faceCounter);\n return -1;\n }\n if (verticesPerFace !== 3) {\n ctx.log(\"Error in positions of face \" + faceCounter);\n return -1;\n }\n faceCounter++;\n }\n addMesh(ctx, positions, normals, colors);\n}\n\nlet nextGeometryId = 0;\n\nfunction addMesh(ctx, positions, normals, colors) {\n\n const indices = new Int32Array(positions.length / 3);\n for (let ni = 0, len = indices.length; ni < len; ni++) {\n indices[ni] = ni;\n }\n\n normals = normals && normals.length > 0 ? normals : null;\n colors = colors && colors.length > 0 ? colors : null;\n\n if (!ctx.autoNormals && ctx.smoothNormals) {\n faceToVertexNormals(positions, normals, {smoothNormalsAngleThreshold: ctx.smoothNormalsAngleThreshold});\n }\n\n const geometryId = \"\" + nextGeometryId++;\n const meshId = \"\" + nextGeometryId++;\n const entityId = \"\" + nextGeometryId++;\n\n ctx.xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: positions,\n normals: (!ctx.autoNormals) ? normals : null,\n colors: colors,\n indices: indices\n });\n\n ctx.xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n color: colors ? null : [1, 1, 1],\n metallic: 0.9,\n roughness: 0.1\n });\n\n ctx.xktModel.createEntity({\n entityId: entityId,\n meshIds: [meshId]\n });\n\n ctx.xktModel.createMetaObject({\n metaObjectId: entityId,\n metaObjectType: \"Default\",\n metaObjectName: \"STL Mesh\",\n parentMetaObjectId: ctx.rootMetaObject.metaObjectId\n });\n\n ctx.stats.numGeometries++;\n ctx.stats.numObjects++;\n ctx.stats.numVertices += positions.length / 3;\n ctx.stats.numTriangles += indices.length / 3;\n}\n\nfunction ensureString(buffer) {\n if (typeof buffer !== 'string') {\n return decodeText(new Uint8Array(buffer));\n }\n return buffer;\n}\n\nfunction ensureBinary(buffer) {\n if (typeof buffer === 'string') {\n const arrayBuffer = new Uint8Array(buffer.length);\n for (let i = 0; i < buffer.length; i++) {\n arrayBuffer[i] = buffer.charCodeAt(i) & 0xff; // implicitly assumes little-endian\n }\n return arrayBuffer.buffer || arrayBuffer;\n } else {\n return buffer;\n }\n}\n\nfunction decodeText(array) {\n if (typeof TextDecoder !== 'undefined') {\n return new TextDecoder().decode(array);\n }\n let s = '';\n for (let i = 0, il = array.length; i < il; i++) {\n s += String.fromCharCode(array[i]); // Implicitly assumes little-endian.\n }\n return decodeURIComponent(escape(s));\n}\n\nexport {parseSTLIntoXKTModel};\n","module.exports = require(\"@loaders.gl/core\");","module.exports = require(\"@loaders.gl/gltf\");","module.exports = require(\"@loaders.gl/images\");","module.exports = require(\"@loaders.gl/las\");","module.exports = require(\"@loaders.gl/ply\");","module.exports = require(\"@loaders.gl/polyfills\");","module.exports = require(\"@loaders.gl/textures\");","module.exports = require(\"fs\");","module.exports = require(\"pako\");","module.exports = require(\"path\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import '@loaders.gl/polyfills';\nimport {installFilePolyfills} from '@loaders.gl/polyfills';\n\ninstallFilePolyfills();\n\nexport * from \"./src/index.js\";\nexport {convert2xkt} from \"./src/convert2xkt.js\"; // convert2xkt is only bundled for Node.js\n"],"names":["KDNode","_createClass","aabb","_classCallCheck","entities","left","right","math","XKTEntity","entityId","meshes","entityIndex","AABB3","hasReusedGeometries","XKTGeometry","cfg","geometryId","primitiveType","geometryIndex","numInstances","positions","positionsQuantized","Uint16Array","length","normals","normalsOctEncoded","colorsCompressed","uvs","uvsCompressed","indices","edgeIndices","solid","key","get","XKTMesh","meshId","meshIndex","matrix","geometry","color","Float32Array","metallic","undefined","roughness","opacity","textureSet","entity","XKTMetaObject","metaObjectId","propertySetIds","metaObjectType","metaObjectName","parentMetaObjectId","_regeneratorRuntime","exports","Op","Object","prototype","hasOwn","hasOwnProperty","defineProperty","obj","desc","value","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","err","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","call","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","result","_typeof","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","done","methodName","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","i","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","val","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","_catch","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","_asyncToGenerator","args","arguments","apply","instance","Constructor","_defineProperties","target","props","descriptor","_toPropertyKey","protoProps","staticProps","_toPrimitive","String","input","hint","prim","toPrimitive","res","Number","geometryCompression","buildEdgeIndices","isTriangleMeshSolid","XKTTile","XKTPropertySet","mergeVertices","XKT_INFO","XKTTexture","XKTTextureSet","encode","load","KTX2BasisWriter","ImageLoader","tempVec4a","vec4","tempVec4b","tempMat4","mat4","tempMat4b","kdTreeDimLength","Float64Array","COLOR_TEXTURE","METALLIC_ROUGHNESS_TEXTURE","NORMALS_TEXTURE","EMISSIVE_TEXTURE","OCCLUSION_TEXTURE","TEXTURE_ENCODING_OPTIONS","useSRGB","qualityLevel","encodeUASTC","mipmaps","XKTModel","modelId","projectId","revisionId","author","createdAt","creatingApplication","schema","xktVersion","edgeThreshold","minTileSize","modelAABB","propertySets","propertySetsList","metaObjects","metaObjectsList","reusedGeometriesDecodeMatrix","geometries","geometriesList","textures","texturesList","textureSets","textureSetsList","meshesList","entitiesList","tilesList","finalized","createPropertySet","params","propertySetId","properties","console","propertySetType","propertySetName","propertySet","createMetaObject","metaObject","_rootMetaObject","createTexture","textureId","imageData","src","fileExt","split","concat","texture","mediaType","minFilter","magFilter","wrapS","wrapT","wrapR","width","height","compressed","createTextureSet","textureSetId","colorTexture","colorTextureId","channel","metallicRoughnessTexture","metallicRoughnessTextureId","normalsTexture","normalsTextureId","emissiveTexture","emissiveTextureId","occlusionTexture","occlusionTextureId","textureSetIndex","createGeometry","triangles","points","lines","line_strip","line_loop","triangle_strip","triangle_fan","_createDefaultIndices","colors","xktGeometryCfg","uv","Uint8Array","len","Math","floor","mergedPositions","mergedIndices","numIndices","createMesh","position","scale","rotation","identityMat4","quaternion","eulerToQuaternion","identityQuaternion","composeMat4","mesh","createEntity","meshIds","warn","createUUID","meshIdIdx","meshIdLen","createDefaultMetaObjects","_finalize","_callee","rootKDNode","_callee$","_context","log","_removeUnusedTextures","_compressTextures","_bakeSingleUseGeometryPositions","_bakeAndOctEncodeNormals","_createEntityAABBs","_createKDTree","_createTilesFromKDTree","_createReusedGeometriesDecodeMatrix","_flagSolidGeometries","set","finalize","leni","textureIndex","_this","countTextures","_loop","encodingOptions","image","encodedData","encodedImageData","j","lenj","isIdentityMat4","transformPoint4","Int8Array","octEncodeNormals","modelNormalMatrix","inverseMat4","transposeMat4","transformAndOctEncodeNormals","entityAABB","collapseAABB3","expandAABB3Point3","expandAABB3","_insertEntityIntoKDTree","kdNode","nodeAABB","nodeAABBDiag","getAABB3Diag","containsAABB3","dim","aabbLeft","aabbRight","_createTilesFromKDNode","_createTileFromEntities","tileAABB","tileCenter","getAABB3Center","tileCenterNeg","mulVec3Scalar","vec3","rtcAABB","reused","k","lenk","quantizePositions","translateMat4v","tile","tempVec3a","reusedGeometriesAABB","countReusedGeometries","numGeometries","createPositionsDecodeMatrix","maxNumPositions","maxNumIndices","vertexIndexMapping","Array","edges","RepeatWrapping","LinearMipMapNearestFilter","materialType","materialIndex","uniquePositions","indicesLookup","indicesReverseLookup","weldedIndices","faces","numFaces","compa","compb","compc","a","b","c","cb","ab","cross","normal","inverseNormal","weldVertices","positionsMap","vx","vy","vz","precisionPoints","precision","pow","lenUniquePositions","round","buildFaces","positionsDecodeMatrix","ia","ib","ic","decompressPosition","subVec3","cross3Vec3","normalizeVec3","face","thresholdDot","cos","DEGTORAD","edge1","edge2","index1","index2","largeIndex","edge","normal1","normal2","dot","faceIndex","min","max","face1","face2","abs","dotVec3","dot2","Uint32Array","lenPositions","quantizedPositions","xmin","ymin","zmin","xwid","ywid","zwid","maxInt","xMultiplier","yMultiplier","zMultiplier","verify","num","compressPosition","p","q","multiplier","translate","translationMat4v","scalingMat4v","mulMat4","lenNormals","compressedNormals","lenCompressedNormals","oct","dec","best","currentCos","bestCos","ei","localNormal","worldNormal","transformVec3","octEncodeVec3","octDecodeVec2","array","xfunc","yfunc","x","y","tempx","tempy","z","sqrt","compareIndexPositions","posA","posB","newIndices","sort","uniqueVertexIndex","a2","b2","c2","temp","compareEdges","e1","e2","sameEdgeCount","toArrayBuffer","buf","ArrayBuffer","view","isString","o","o2","utils","pako","XKT_VERSION","NUM_TEXTURE_ATTRIBUTES","NUM_MATERIAL_ATTRIBUTES","writeXKTModelToArrayBuffer","xktModel","metaModelJSON","stats","options","data","getModelData","deflatedData","deflateData","texturesSize","textureData","byteLength","arrayBuffer","createArrayBuffer","metaModelDataStr","numPropertySets","numMetaObjects","numTextures","numTextureSets","numMeshes","numEntities","numTiles","lenColors","lenUVs","lenIndices","lenEdgeIndices","lenMatrices","lenTextures","xktTexture","numCompressedTextures","metadata","eachTextureDataPortion","eachTextureAttributes","eachTextureSetTextures","Int32Array","matrices","eachGeometryPrimitiveType","eachGeometryPositionsPortion","eachGeometryNormalsPortion","eachGeometryColorsPortion","eachGeometryUVsPortion","eachGeometryIndicesPortion","eachGeometryEdgeIndicesPortion","eachMeshGeometriesPortion","eachMeshMatricesPortion","eachMeshTextureSet","eachMeshMaterialAttributes","eachEntityId","eachEntityMeshesPortion","eachTileAABB","eachTileEntitiesPortion","countPositions","countNormals","countColors","countUVs","countIndices","countEdgeIndices","id","propertySetsIndex","propertySetJSON","metaObjectsIndex","metaObjectJSON","parent","external","portionIdx","textureAttrIdx","eachTextureSetTexturesIndex","countEntityMeshesPortion","eachMeshMaterialAttributesIndex","matricesIndex","tileIndex","tileEntities","numTileEntities","entityMeshes","numEntityMeshes","tileAABBIndex","deflate","buffer","zip","metaModelBytes","deflatedJSON","deflateJSON","JSON","stringify","replace","chr","charCodeAt","toString","substr","strings","elements","indexData","dataLen","element","elementsize","indexBuf","dataArray","offset","ClampToEdgeWrapping","MirroredRepeatWrapping","NearestFilter","NearestMipMapNearestFilter","NearestMipmapNearestFilter","NearestMipmapLinearFilter","NearestMipMapLinearFilter","LinearFilter","LinearMipmapNearestFilter","LinearMipmapLinearFilter","LinearMipMapLinearFilter","GIFMediaType","JPEGMediaType","PNGMediaType","parseCityJSONIntoXKTModel","parseGLTFIntoXKTModel","parseIFCIntoXKTModel","parseLASIntoXKTModel","parsePCDIntoXKTModel","parsePLYIntoXKTModel","parseSTLIntoXKTModel","fs","require","path","convert2xkt","_ref","WebIFC","_ref$configs","configs","source","sourceData","sourceFormat","metaModelSource","output","outputXKTModel","outputXKT","includeTypes","excludeTypes","_ref$reuseGeometries","reuseGeometries","_ref$minTileSize","_ref$stats","outputStats","_ref$rotateX","rotateX","_ref$includeTextures","includeTextures","_ref$includeNormals","includeNormals","_ref$log","msg","schemaVersion","title","created","numTriangles","numVertices","numNormals","numUVs","numObjects","sourceSize","xktSize","compressionRatio","conversionTime","getFileExtension","fileName","ext","extname","substring","_log","startTime","Date","sourceConfigs","fileTypeConfigs","overrideOption","option1","option2","readFileSync","sourceFileSizeBytes","toFixed","parse","e","convert","center","transform","metaModelData","gltfBasePath","dirname","baseUri","wasmPath","fp64","colorDepth","skip","parser","converterParams","xktArrayBuffer","xktContent","Buffer","from","targetFileSizeBytes","outputDir","existsSync","mkdirSync","recursive","writeFileSync","buildBoxGeometry","xSize","ySize","zSize","centerX","centerY","centerZ","xmax","ymax","zmax","buildBoxLinesGeometry","buildCylinderGeometry","radiusTop","radiusBottom","radialSegments","heightSegments","openEnded","heightHalf","heightLength","radialAngle","PI","radialLength","radiusChange","h","currentRadius","currentHeight","first","second","startIndex","tu","tv","normalY","atan","sin","buildGridGeometry","size","divisions","step","halfSize","l","buildPlaneGeometry","xSegments","zSegments","halfWidth","halfHeight","planeX","planeZ","planeX1","planeZ1","segmentWidth","segmentHeight","offset2","iz","ix","d","buildSphereGeometry","lod","radius","widthSegments","theta","sinTheta","cosTheta","phi","sinPhi","cosPhi","u","v","buildTorusGeometry","tube","tubeSegments","arc","vec","letters","buildVectorTextGeometry","origin","xOrigin","yOrigin","zOrigin","text","trim","countVerts","str","mag","penUp","p1","p2","needLine","pointsLen","iLine","parseGLTFJSONIntoXKTModel","parseMetaModelIntoXKTModel","earcut","holeIndices","hasHoles","outerLen","outerNode","linkedList","minX","minY","maxX","maxY","invSize","eliminateHoles","earcutLinked","start","end","clockwise","last","signedArea","insertNode","equals","removeNode","filterPoints","again","steiner","area","ear","pass","indexCurve","isEarHashed","isEar","cureLocalIntersections","splitEarcut","pointInTriangle","minTX","minTY","maxTX","maxTY","minZ","zOrder","maxZ","prevZ","n","nextZ","intersects","locallyInside","isValidDiagonal","splitPolygon","queue","list","getLeftmost","compareX","eliminateHole","hole","findHoleBridge","hx","hy","qx","Infinity","m","mx","my","tanMin","tan","sectorContainsSector","sortLinked","tail","numMerges","pSize","qSize","inSize","leftmost","ax","ay","bx","by","cx","cy","px","py","intersectsPolygon","middleInside","r","q1","q2","o1","sign","o3","o4","onSegment","inside","Node","an","bp","deviation","polygonArea","trianglesArea","sum","flatten","vertices","holes","dimensions","holeIndex","faceToVertexNormals","smoothNormalsAngleThreshold","vertexMap","vertexNormals","vertexNormalAccum","acc","posi","numVerts","ii","jj","angle","angleVec3","doublePrecision","FloatArrayType","tempMat1","tempMat2","tempVec4","MIN_DOUBLE","MAX_SAFE_INTEGER","MAX_DOUBLE","RADTODEG","vec2","mat3","mat3ToMat4","mat4ToMat3","lut","d0","random","d1","d2","d3","clamp","fmod","negateVec4","dest","addVec4","addVec4Scalar","s","addVec3","addVec3Scalar","subVec4","subVec2","subVec4Scalar","subScalarVec4","mulVec4","mulVec4Scalar","mulVec2Scalar","divVec3","divVec4","divScalarVec3","divVec3Scalar","divVec4Scalar","divScalarVec4","dotVec4","cross3Vec4","u0","u1","u2","v0","v1","v2","x2","y2","z2","sqLenVec4","lenVec4","dotVec2","sqLenVec3","sqLenVec2","lenVec3","distVec3","w","lenVec2","distVec2","rcpVec3","normalizeVec4","f","normalizeVec2","acos","vec3FromMat4Scale","tempVec3","vecToArray","trunc","xyzArrayToObject","arr","xyzObjectToArray","xyz","arry","dupMat4","mat4To3","m4s","setMat4ToZeroes","setMat4ToOnes","diagonalMat4v","diagonalMat4c","diagonalMat4s","mat","identityMat3","negateMat4","addMat4","addMat4Scalar","addScalarMat4","subMat4","subMat4Scalar","subScalarMat4","a00","a01","a02","a03","a10","a11","a12","a13","a20","a21","a22","a23","a30","a31","a32","a33","b00","b01","b02","b03","b10","b11","b12","b13","b20","b21","b22","b23","b30","b31","b32","b33","mulMat3","mulMat4Scalar","mulMat4v4","v3","m4","m14","m8","m13","m12","m9","transposeMat3","determinantMat4","b04","b05","b06","b07","b08","b09","invDet","traceMat4","translationMat3v","translationMat4c","translationMat4s","translateMat4c","OLDtranslateMat4c","m15","m3","m7","m11","rotationMat4v","anglerad","axis","xy","yz","zx","xs","ys","zs","rotationMat4c","scalingMat3v","scalingMat4c","scaleMat4c","scaleMat4v","scalingMat4s","rotationTranslationMat4","xx","xz","yy","zz","wx","wy","wz","mat4ToEuler","order","m21","m22","m23","m31","m32","m33","asin","atan2","quaternionToRotationMat4","decomposeMat4","decompose","sx","sy","sz","det","invSX","invSY","invSZ","mat4ToQuaternion","lookAtMat4v","pos","up","posx","posy","posz","upx","upy","upz","targetx","targety","targetz","z0","z1","x0","x1","y0","y1","lookAtMat4c","orthoMat4c","bottom","top","near","far","rl","tb","frustumMat4v","fmin","fmax","fmin4","fmax4","t","tempMat20","tempMat21","tempMat22","frustumMat4","perspectiveMat4","fovyrad","aspectratio","znear","zfar","pmin","pmax","transformPoint3","transformPoints3","points2","p0","pi","m0","m1","m2","m5","m6","m10","transformPositions3","transformPositions4","transformVec4","rotateVec3X","rotateVec3Y","rotateVec3Z","projectVec4","unprojectVec3","mat2","viewMat","projMat","lerpVec3","t1","t2","item","euler","c1","c3","s1","s2","s3","trace","vec3PairToQuaternion","norm_u_norm_v","real_part","normalizeQuaternion","angleAxisToQuaternion","angleAxis","halfAngle","fsin","quaternionToEuler","mulQuaternions","p3","q0","q3","vec3ApplyQuaternion","qy","qz","qw","iy","iw","quaternionToMat4","tx","ty","tz","twx","twy","twz","txx","txy","txz","tyy","tyz","tzz","conjugateQuaternion","inverseQuaternion","quaternionToAngleAxis","AABB2","OBB3","OBB2","Sphere3","transformOBB3","aabb1","aabb2","getAABB3DiagPoint","diagVec","xneg","xpos","yneg","ypos","zneg","zpos","getAABB2Center","AABB3ToOBB3","obb","positions3ToAABB3","OBB3ToAABB3","points3ToAABB3","points3ToSphere3","sphere","numPoints","dist","positions3ToSphere3","tempVec3b","numPositions","OBB3ToSphere3","point","lenPoints","getSphere3Center","triangleNormal","p1x","p1y","p1z","p2x","p2y","p2z","p3x","p3y","p3z","uvi","tempVec2a","tempVec3c","_ref$center","_ref$transform","copyVertices","transformVertices","centerVertices","customTransformVertices","version","rootMetaObjectId","modelMetaObjectId","ctx","nextId","parseCityJSON","vertices2","cityJSONTransform","vertex","centerPos","cityObjects","CityObjects","objectId","cityObject","parseCityObject","parents","objectMaterial","surfaceMaterials","appearance","materials","geometryMaterial","material","themeIds","themeId","theme","surfaceMaterial","parseGeometrySurfacesWithOwnMaterials","parseGeometrySurfacesWithSharedMaterial","geomType","surfaces","boundaries","parseSurfacesWithOwnMaterials","shells","solids","surface","diffuseColor","transparency","sharedIndices","geometryCfg","newFace","extractLocalIndices","_toConsumableArray","pList","getNormalOfPositions","pv","to2D","unshift","tr","parseSurfacesWithSharedMaterial","primitiveCfg","boundary","newBoundary","index","includes","vertexIndex","indexOf","nexti","_p","_n","re","x3","tmp2","y3","GLTFLoader","getAttachment","gltfData","nodesHaveNames","geometryCreated","parseTextures","parseMaterials","parseDefaultScene","errMsg","parseTexture","sampler","flipY","_textureId","_textureSetId","parseTextureSet","_attributes","parseMaterialAttributes","textureSetCfg","normalTexture","normalTextureId","metallicPBR","pbrMetallicRoughness","baseColorTexture","extensions","specularPBR","specularTexture","specularColorTexture","materialAttributes","diffuseFactor","common","technique","blinn","phong","lambert","diffuse","transparent","baseColorFactor","metallicFactor","roughnessFactor","scene","scenes","parseScene","nodes","node","countMeshUsage","testIfNodesHaveNames","parseNodesWithoutNames","parseNodesWithNames","level","instances","children","childNode","depth","parseNodeMatrix","parseNodeMesh","objectIdStack","meshIdsStack","xktEntityId","nodeName","entityMeshIds","localMatrix","translation","numPrimitives","primitives","primitive","_xktGeometryId","xktGeometryId","mode","POSITION","attributes","NORMAL","COLOR_0","TEXCOORD_0","xktMeshId","meshCfg","atob2","atob","WEBGL_COMPONENT_TYPES","Int16Array","WEBGL_TYPE_SIZES","gltf","metaModelCorrections","getMetaModelCorrections","createXKTGeometryIds","nextMeshId","parseBuffers","parseBufferViews","freeBuffers","eachRootStats","eachChildRoot","metaObjectsMap","metaObjectParent","rootMetaObject","rootStats","numChildren","countChildren","buffers","all","map","parseBuffer","bufferInfo","_arrayBuffer","_buffer","uri","parseArrayBuffer","dataUriRegex","dataUriRegexResult","match","isBase64","decodeURIComponent","bufferViewsInfo","bufferViews","parseBufferView","bufferViewInfo","_typedArray","byteOffset","materialsInfo","materialInfo","parseMaterial","_materialData","defaultSceneInfo","sceneInfo","glTFNode","parseNode","deferredMeshIds","gltfMeshId","meshInfo","numPrimitivesInMesh","primitiveInfo","geometryHash","createPrimitiveGeometryHash","geometryArrays","parsePrimitiveGeometry","childNodeIdx","childGLTFNode","rootMetaObjectStats","join","accessors","indicesIndex","accessorInfo","parseAccessorTypedArray","positionsIndex","normalsIndex","colorsIndex","bufferView","itemSize","TypedArray","componentType","elementBytes","BYTES_PER_ELEMENT","itemBytes","byteStride","count","_ref$autoNormals","autoNormals","ifcAPI","IfcAPI","SetWasmPath","Init","modelID","OpenModel","GetLineIDsWithType","IFCPROJECT","ifcProjectId","ifcProject","GetLine","parseMetadata","parseGeometry","parsePropertySets","IFCRELDEFINESBYPROPERTIES","relID","rel","relatingPropertyDefinition","RelatingPropertyDefinition","GlobalId","relatedObjects","RelatedObjects","relatedObject","HasProperties","Name","prop","nominalValue","NominalValue","property","valueType","Description","description","parseSpatialChildren","ifcElement","parseRelatedItemsOfType","expressID","IFCRELAGGREGATES","IFCRELCONTAINEDINSPATIALSTRUCTURE","relation","related","relatedItems","foundElement","isArray","element2","flatMeshes","LoadAllGeometry","flatMesh","createObject","IFCSPACE","ifcSpaceId","GetFlatMesh","flatMeshExpressID","placedGeometries","placedGeometry","geometryExpressID","GetGeometry","vertexData","GetVertexArray","GetVertexData","GetVertexDataSize","GetIndexArray","GetIndexData","GetIndexDataSize","flatTransformation","LASLoader","MAX_VERTICES","_ref$colorDepth","_ref$fp","_ref$skip","las","parsedData","loaderData","pointsFormatId","readAttributes","intensity","readIntensities","readColorsAndIntensities","pointsChunks","chunkArray","readPositions","colorsChunks","positionsValue","attributesPosition","attributesColor","attributesIntensity","colorSize","intensities","colorsCompressedSize","chunkSize","includeTypesMap","excludeTypesMap","newObject","countMetaObjects","_ref$littleEndian","littleEndian","textData","decodeText","header","parseHeader","headerLen","line","parseFloat","rgb","g","sizes","compressedSize","decompressedSize","decompressed","decompressLZF","dataview","DataView","getFloat32","getUint8","row","rowSize","result1","search","result2","exec","fields","viewpoint","parseInt","sizeSum","TextDecoder","decode","il","fromCharCode","escape","inData","outLength","inLength","outData","inPtr","outPtr","ctrl","ref","PLYLoader","_x","_parsePLYIntoXKTModel","hasColors","colorsValue","t0","_parseSTLIntoXKTModel","splitMeshes","smoothNormals","binData","ensureBinary","isBinary","parseBinary","parseASCII","ensureString","reader","getUint32","faceSize","numExpectedBytes","defaultR","defaultG","defaultB","lastR","lastG","lastB","newMesh","alpha","dataOffset","faceLength","normalX","normalZ","packedColor","getUint16","vertexstart","addMesh","faceRegex","faceCounter","floatRegex","vertexRegex","RegExp","normalRegex","normalx","normaly","normalz","verticesPerFace","normalsPerFace","nextGeometryId","ni","installFilePolyfills"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"xeokit-convert.cjs.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AAJA,IAKMA,MAAM,gBAAAC,YAAA;AAER;AACJ;AACA;AACI,SAAAD,OAAYE,IAAI,EAAE;EAAAC,eAAA,OAAAH,MAAA;EAEd;AACR;AACA;AACA;AACA;EACQ,IAAI,CAACE,IAAI,GAAGA,IAAI;;EAEhB;AACR;AACA;EACQ,IAAI,CAACE,QAAQ,GAAG,IAAI;;EAEpB;AACR;AACA;EACQ,IAAI,CAACC,IAAI,GAAG,IAAI;;EAEhB;AACR;AACA;EACQ,IAAI,CAACC,KAAK,GAAG,IAAI;AACrB,CAAC;;;;;;;;;;;;;;;;;;;;;;ACjC+B;;AAEpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA,IASME,SAAS,gBAAAP,YAAA;AAEX;AACJ;AACA;AACA;AACA;AACI,SAAAO,UAAYC,QAAQ,EAAGC,MAAM,EAAE;EAAAP,eAAA,OAAAK,SAAA;EAE3B;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACQ,IAAI,CAACC,QAAQ,GAAGA,QAAQ;;EAExB;AACR;AACA;AACA;AACA;AACA;AACA;EACQ,IAAI,CAACE,WAAW,GAAG,IAAI;;EAEvB;AACR;AACA;AACA;AACA;EACQ,IAAI,CAACD,MAAM,GAAGA,MAAM;;EAEpB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;EACQ,IAAI,CAACR,IAAI,GAAGK,8CAAI,CAACK,KAAK,CAAC,CAAC;;EAExB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACQ,IAAI,CAACC,mBAAmB,GAAG,KAAK;AACpC,CAAC;;;;;;;;;;;;;;;;;;;;;ACtEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AARA,IASMC,WAAW;EAEb;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACI,SAAAA,YAAYC,GAAG,EAAE;IAAAZ,eAAA,OAAAW,WAAA;IAEb;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACE,UAAU,GAAGD,GAAG,CAACC,UAAU;;IAEhC;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACC,aAAa,GAAGF,GAAG,CAACE,aAAa;;IAEtC;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACC,aAAa,GAAGH,GAAG,CAACG,aAAa;;IAEtC;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACC,YAAY,GAAG,CAAC;;IAErB;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,SAAS,GAAGL,GAAG,CAACK,SAAS;;IAE9B;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,kBAAkB,GAAG,IAAIC,WAAW,CAACP,GAAG,CAACK,SAAS,CAACG,MAAM,CAAC;;IAE/D;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,OAAO,GAAGT,GAAG,CAACS,OAAO;;IAE1B;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,iBAAiB,GAAG,IAAI;;IAE7B;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,gBAAgB,GAAGX,GAAG,CAACW,gBAAgB;;IAE5C;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACC,GAAG,GAAGZ,GAAG,CAACY,GAAG;;IAElB;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACC,aAAa,GAAGb,GAAG,CAACa,aAAa;;IAEtC;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,OAAO,GAAGd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GjC,mDAAQ,CAACiC,UAAU;;IAErC;AACR;AACA;AACA;IACQ,IAAI,CAACC,aAAa,GAAGjP,GAAG,CAACiP,aAAa,IAAI,EAAE;;IAE5C;AACR;AACA;AACA;AACA;IACQ,IAAI,CAACC,WAAW,GAAGlP,GAAG,CAACkP,WAAW,IAAI,GAAG;;IAEzC;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,SAAS,GAAGnP,GAAG,CAACmP,SAAS;;IAE9B;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,YAAY,GAAG,CAAC,CAAC;;IAEtB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,gBAAgB,GAAG,EAAE;;IAE1B;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,WAAW,GAAG,CAAC,CAAC;;IAErB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,eAAe,GAAG,EAAE;;IAEzB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,4BAA4B,GAAG,IAAI/N,YAAY,CAAC,EAAE,CAAC;;IAExD;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACgO,UAAU,GAAG,CAAC,CAAC;;IAEpB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,cAAc,GAAG,EAAE;;IAExB;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,QAAQ,GAAG,CAAC,CAAC;;IAElB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,YAAY,GAAG,EAAE;;IAEtB;AACR;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,WAAW,GAAG,CAAC,CAAC;;IAErB;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACQ,IAAI,CAACC,eAAe,GAAG,EAAE;;I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WAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACN+B;AAC4B;AAE3D6tB,2EAAoB,CAAC,CAAC;AAES;AACkB,CAAC,0C","sources":["webpack://convert2xkt/webpack/universalModuleDefinition","webpack://convert2xkt/./src/XKTModel/KDNode.js","webpack://convert2xkt/./src/XKTModel/XKTEntity.js","webpack://convert2xkt/./src/XKTModel/XKTGeometry.js","webpack://convert2xkt/./src/XKTModel/XKTMesh.js","webpack://convert2xkt/./src/XKTModel/XKTMetaObject.js","webpack://convert2xkt/./src/XKTModel/XKTModel.js","webpack://convert2xkt/./src/XKTModel/XKTPropertySet.js","webpack://convert2xkt/./src/XKTModel/XKTTexture.js","webpack://convert2xkt/./src/XKTModel/XKTTextureSet.js","webpack://convert2xkt/./src/XKTModel/XKTTile.js","webpack://convert2xkt/./src/XKTModel/lib/buildEdgeIndices.js","webpack://convert2xkt/./src/XKTModel/lib/geometryCompression.js","webpack://convert2xkt/./src/XKTModel/lib/isTriangleMeshSolid.js","webpack://convert2xkt/./src/XKTModel/lib/toArraybuffer.js","webpack://convert2xkt/./src/XKTModel/lib/utils.js","webpack://convert2xkt/./src/XKTModel/writeXKTModelToArrayBuffer.js","webpack://convert2xkt/./src/XKT_INFO.js","webpack://convert2xkt/./src/constants.js","webpack://convert2xkt/./src/convert2xkt.js","webpack://convert2xkt/./src/geometryBuilders/buildBoxGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildBoxLinesGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildCylinderGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildGridGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildPlaneGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildSphereGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildTorusGeometry.js","webpack://convert2xkt/./src/geometryBuilders/buildVectorTextGeometry.js","webpack://convert2xkt/./src/index.js","webpack://convert2xkt/./src/lib/earcut.js","webpack://convert2xkt/./src/lib/faceToVertexNormals.js","webpack://convert2xkt/./src/lib/math.js","webpack://convert2xkt/./src/lib/mergeVertices.js","webpack://convert2xkt/./src/parsers/parseCityJSONIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseGLTFIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseGLTFJSONIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseIFCIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseLASIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseMetaModelIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parsePCDIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parsePLYIntoXKTModel.js","webpack://convert2xkt/./src/parsers/parseSTLIntoXKTModel.js","webpack://convert2xkt/external commonjs \"@loaders.gl/core\"","webpack://convert2xkt/external commonjs \"@loaders.gl/gltf\"","webpack://convert2xkt/external commonjs \"@loaders.gl/images\"","webpack://convert2xkt/external commonjs \"@loaders.gl/las\"","webpack://convert2xkt/external commonjs \"@loaders.gl/ply\"","webpack://convert2xkt/external commonjs \"@loaders.gl/polyfills\"","webpack://convert2xkt/external commonjs \"@loaders.gl/textures\"","webpack://convert2xkt/external commonjs \"fs\"","webpack://convert2xkt/external commonjs \"pako\"","webpack://convert2xkt/external commonjs \"path\"","webpack://convert2xkt/webpack/bootstrap","webpack://convert2xkt/webpack/runtime/compat get default export","webpack://convert2xkt/webpack/runtime/define property getters","webpack://convert2xkt/webpack/runtime/hasOwnProperty shorthand","webpack://convert2xkt/webpack/runtime/make namespace object","webpack://convert2xkt/./index.dist.node.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"convert2xkt\"] = factory();\n\telse\n\t\troot[\"convert2xkt\"] = factory();\n})(global, () => {\nreturn ","/**\n * A kd-Tree node, used internally by {@link XKTModel}.\n *\n * @private\n */\nclass KDNode {\n\n /**\n * Create a KDNode with an axis-aligned 3D World-space boundary.\n */\n constructor(aabb) {\n\n /**\n * The axis-aligned 3D World-space boundary of this KDNode.\n *\n * @type {Float64Array}\n */\n this.aabb = aabb;\n\n /**\n * The {@link XKTEntity}s within this KDNode.\n */\n this.entities = null;\n\n /**\n * The left child KDNode.\n */\n this.left = null;\n\n /**\n * The right child KDNode.\n */\n this.right = null;\n }\n}\n\nexport {KDNode};","import {math} from \"../lib/math.js\";\n\n/**\n * An object within an {@link XKTModel}.\n *\n * * Created by {@link XKTModel#createEntity}\n * * Stored in {@link XKTModel#entities} and {@link XKTModel#entitiesList}\n * * Has one or more {@link XKTMesh}s, each having an {@link XKTGeometry}\n *\n * @class XKTEntity\n */\nclass XKTEntity {\n\n /**\n * @private\n * @param entityId\n * @param meshes\n */\n constructor(entityId, meshes) {\n\n /**\n * Unique ID of this ````XKTEntity```` in {@link XKTModel#entities}.\n *\n * For a BIM model, this will be an IFC product ID.\n *\n * We can also use {@link XKTModel#createMetaObject} to create an {@link XKTMetaObject} to specify metadata for\n * this ````XKTEntity````. To associate the {@link XKTMetaObject} with our {@link XKTEntity}, we give\n * {@link XKTMetaObject#metaObjectId} the same value as {@link XKTEntity#entityId}.\n *\n * @type {String}\n */\n this.entityId = entityId;\n\n /**\n * Index of this ````XKTEntity```` in {@link XKTModel#entitiesList}.\n *\n * Set by {@link XKTModel#finalize}.\n *\n * @type {Number}\n */\n this.entityIndex = null;\n\n /**\n * A list of {@link XKTMesh}s that indicate which {@link XKTGeometry}s are used by this Entity.\n *\n * @type {XKTMesh[]}\n */\n this.meshes = meshes;\n\n /**\n * World-space axis-aligned bounding box (AABB) that encloses the {@link XKTGeometry#positions} of\n * the {@link XKTGeometry}s that are used by this ````XKTEntity````.\n *\n * Set by {@link XKTModel#finalize}.\n *\n * @type {Float32Array}\n */\n this.aabb = math.AABB3();\n\n /**\n * Indicates if this ````XKTEntity```` shares {@link XKTGeometry}s with other {@link XKTEntity}'s.\n *\n * Set by {@link XKTModel#finalize}.\n *\n * Note that when an ````XKTEntity```` shares ````XKTGeometrys````, it shares **all** of its ````XKTGeometrys````. An ````XKTEntity````\n * never shares only some of its ````XKTGeometrys```` - it always shares either the whole set or none at all.\n *\n * @type {Boolean}\n */\n this.hasReusedGeometries = false;\n }\n}\n\nexport {XKTEntity};","/**\n * An element of reusable geometry within an {@link XKTModel}.\n *\n * * Created by {@link XKTModel#createGeometry}\n * * Stored in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}\n * * Referenced by {@link XKTMesh}s, which belong to {@link XKTEntity}s\n *\n * @class XKTGeometry\n */\nclass XKTGeometry {\n\n /**\n * @private\n * @param {*} cfg Configuration for the XKTGeometry.\n * @param {Number} cfg.geometryId Unique ID of the geometry in {@link XKTModel#geometries}.\n * @param {String} cfg.primitiveType Type of this geometry - \"triangles\", \"points\" or \"lines\" so far.\n * @param {Number} cfg.geometryIndex Index of this XKTGeometry in {@link XKTModel#geometriesList}.\n * @param {Float64Array} cfg.positions Non-quantized 3D vertex positions.\n * @param {Float32Array} cfg.normals Non-compressed vertex normals.\n * @param {Uint8Array} cfg.colorsCompressed Unsigned 8-bit integer RGBA vertex colors.\n * @param {Float32Array} cfg.uvs Non-compressed vertex UV coordinates.\n * @param {Uint32Array} cfg.indices Indices to organize the vertex positions and normals into triangles.\n * @param {Uint32Array} cfg.edgeIndices Indices to organize the vertex positions into edges.\n */\n constructor(cfg) {\n\n /**\n * Unique ID of this XKTGeometry in {@link XKTModel#geometries}.\n *\n * @type {Number}\n */\n this.geometryId = cfg.geometryId;\n\n /**\n * The type of primitive - \"triangles\" | \"points\" | \"lines\".\n *\n * @type {String}\n */\n this.primitiveType = cfg.primitiveType;\n\n /**\n * Index of this XKTGeometry in {@link XKTModel#geometriesList}.\n *\n * @type {Number}\n */\n this.geometryIndex = cfg.geometryIndex;\n\n /**\n * The number of {@link XKTMesh}s that reference this XKTGeometry.\n *\n * @type {Number}\n */\n this.numInstances = 0;\n\n /**\n * Non-quantized 3D vertex positions.\n *\n * Defined for all primitive types.\n *\n * @type {Float64Array}\n */\n this.positions = cfg.positions;\n\n /**\n * Quantized vertex positions.\n *\n * Defined for all primitive types.\n *\n * This array is later created from {@link XKTGeometry#positions} by {@link XKTModel#finalize}.\n *\n * @type {Uint16Array}\n */\n this.positionsQuantized = new Uint16Array(cfg.positions.length);\n\n /**\n * Non-compressed 3D vertex normals.\n *\n * Defined only for triangle primitives. Can be null if we want xeokit to auto-generate them. Ignored for points and lines.\n *\n * @type {Float32Array}\n */\n this.normals = cfg.normals;\n\n /**\n * Compressed vertex normals.\n *\n * Defined only for triangle primitives. Ignored for points and lines.\n *\n * This array is later created from {@link XKTGeometry#normals} by {@link XKTModel#finalize}.\n *\n * Will be null if {@link XKTGeometry#normals} is also null.\n *\n * @type {Int8Array}\n */\n this.normalsOctEncoded = null;\n\n /**\n * Compressed RGBA vertex colors.\n *\n * Defined only for point primitives. Ignored for triangles and lines.\n *\n * @type {Uint8Array}\n */\n this.colorsCompressed = cfg.colorsCompressed;\n\n /**\n * Non-compressed vertex UVs.\n *\n * @type {Float32Array}\n */\n this.uvs = cfg.uvs;\n\n /**\n * Compressed vertex UVs.\n *\n * @type {Uint16Array}\n */\n this.uvsCompressed = cfg.uvsCompressed;\n\n /**\n * Indices that organize the vertex positions and normals as triangles.\n *\n * Defined only for triangle and lines primitives. Ignored for points.\n *\n * @type {Uint32Array}\n */\n this.indices = cfg.indices;\n\n /**\n * Indices that organize the vertex positions as edges.\n *\n * Defined only for triangle primitives. Ignored for points and lines.\n *\n * @type {Uint32Array}\n */\n this.edgeIndices = cfg.edgeIndices;\n\n /**\n * When {@link XKTGeometry#primitiveType} is \"triangles\", this is ````true```` when this geometry is a watertight mesh.\n *\n * Defined only for triangle primitives. Ignored for points and lines.\n *\n * Set by {@link XKTModel#finalize}.\n *\n * @type {boolean}\n */\n this.solid = false;\n }\n\n /**\n * Convenience property that is ````true```` when {@link XKTGeometry#numInstances} is greater that one.\n * @returns {boolean}\n */\n get reused() {\n return (this.numInstances > 1);\n }\n}\n\nexport {XKTGeometry};","/**\n * Represents the usage of a {@link XKTGeometry} by an {@link XKTEntity}.\n *\n * * Created by {@link XKTModel#createEntity}\n * * Stored in {@link XKTEntity#meshes} and {@link XKTModel#meshesList}\n * * Has an {@link XKTGeometry}, and an optional {@link XKTTextureSet}, both of which it can share with other {@link XKTMesh}es\n * * Has {@link XKTMesh#color}, {@link XKTMesh#opacity}, {@link XKTMesh#metallic} and {@link XKTMesh#roughness} PBR attributes\n * @class XKTMesh\n */\nclass XKTMesh {\n\n /**\n * @private\n */\n constructor(cfg) {\n\n /**\n * Unique ID of this XKTMesh in {@link XKTModel#meshes}.\n *\n * @type {Number}\n */\n this.meshId = cfg.meshId;\n\n /**\n * Index of this XKTMesh in {@link XKTModel#meshesList};\n *\n * @type {Number}\n */\n this.meshIndex = cfg.meshIndex;\n\n /**\n * The 4x4 modeling transform matrix.\n *\n * Transform is relative to the center of the {@link XKTTile} that contains this XKTMesh's {@link XKTEntity},\n * which is given in {@link XKTMesh#entity}.\n *\n * When the ````XKTEntity```` shares its {@link XKTGeometry}s with other ````XKTEntity````s, this matrix is used\n * to transform this XKTMesh's XKTGeometry into World-space. When this XKTMesh does not share its ````XKTGeometry````,\n * then this matrix is ignored.\n *\n * @type {Number[]}\n */\n this.matrix = cfg.matrix;\n\n /**\n * The instanced {@link XKTGeometry}.\n *\n * @type {XKTGeometry}\n */\n this.geometry = cfg.geometry;\n\n /**\n * RGB color of this XKTMesh.\n *\n * @type {Float32Array}\n */\n this.color = cfg.color || new Float32Array([1, 1, 1]);\n\n /**\n * PBR metallness of this XKTMesh.\n *\n * @type {Number}\n */\n this.metallic = (cfg.metallic !== null && cfg.metallic !== undefined) ? cfg.metallic : 0;\n\n /**\n * PBR roughness of this XKTMesh.\n * The {@link XKTTextureSet} that defines the appearance of this XKTMesh.\n *\n * @type {Number}\n * @type {XKTTextureSet}\n */\n this.roughness = (cfg.roughness !== null && cfg.roughness !== undefined) ? cfg.roughness : 1;\n\n /**\n * Opacity of this XKTMesh.\n *\n * @type {Number}\n */\n this.opacity = (cfg.opacity !== undefined && cfg.opacity !== null) ? cfg.opacity : 1.0;\n\n /**\n * The {@link XKTTextureSet} that defines the appearance of this XKTMesh.\n *\n * @type {XKTTextureSet}\n */\n this.textureSet = cfg.textureSet;\n\n /**\n * The owner {@link XKTEntity}.\n *\n * Set by {@link XKTModel#createEntity}.\n *\n * @type {XKTEntity}\n */\n this.entity = null; // Set after instantiation, when the Entity is known\n }\n}\n\nexport {XKTMesh};","/**\n * A meta object within an {@link XKTModel}.\n *\n * These are plugged together into a parent-child hierarchy to represent structural\n * metadata for the {@link XKTModel}.\n *\n * The leaf XKTMetaObjects are usually associated with\n * an {@link XKTEntity}, which they do so by sharing the same ID,\n * ie. where {@link XKTMetaObject#metaObjectId} == {@link XKTEntity#entityId}.\n *\n * * Created by {@link XKTModel#createMetaObject}\n * * Stored in {@link XKTModel#metaObjects} and {@link XKTModel#metaObjectsList}\n * * Has an ID, a type, and a human-readable name\n * * May have a parent {@link XKTMetaObject}\n * * When no children, is usually associated with an {@link XKTEntity}\n *\n * @class XKTMetaObject\n */\nclass XKTMetaObject {\n\n /**\n * @private\n * @param metaObjectId\n * @param propertySetIds\n * @param metaObjectType\n * @param metaObjectName\n * @param parentMetaObjectId\n */\n constructor(metaObjectId, propertySetIds, metaObjectType, metaObjectName, parentMetaObjectId) {\n\n /**\n * Unique ID of this ````XKTMetaObject```` in {@link XKTModel#metaObjects}.\n *\n * For a BIM model, this will be an IFC product ID.\n *\n * If this is a leaf XKTMetaObject, where it is not a parent to any other XKTMetaObject,\n * then this will be equal to the ID of an {@link XKTEntity} in {@link XKTModel#entities},\n * ie. where {@link XKTMetaObject#metaObjectId} == {@link XKTEntity#entityId}.\n *\n * @type {String}\n */\n this.metaObjectId = metaObjectId;\n\n /**\n * Unique ID of one or more property sets that contains additional metadata about this\n * {@link XKTMetaObject}. The property sets can be stored in an external system, or\n * within the {@link XKTModel}, as {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n *\n * @type {String[]}\n */\n this.propertySetIds = propertySetIds;\n\n /**\n * Indicates the XKTMetaObject meta object type.\n *\n * This defaults to \"default\".\n *\n * @type {string}\n */\n this.metaObjectType = metaObjectType;\n\n /**\n * Indicates the XKTMetaObject meta object name.\n *\n * This defaults to {@link XKTMetaObject#metaObjectId}.\n *\n * @type {string}\n */\n this.metaObjectName = metaObjectName;\n\n /**\n * The parent XKTMetaObject, if any.\n *\n * Will be null if there is no parent.\n *\n * @type {String}\n */\n this.parentMetaObjectId = parentMetaObjectId;\n }\n}\n\nexport {XKTMetaObject};","import {math} from \"../lib/math.js\";\nimport {geometryCompression} from \"./lib/geometryCompression.js\";\nimport {buildEdgeIndices} from \"./lib/buildEdgeIndices.js\";\nimport {isTriangleMeshSolid} from \"./lib/isTriangleMeshSolid.js\";\n\nimport {XKTMesh} from './XKTMesh.js';\nimport {XKTGeometry} from './XKTGeometry.js';\nimport {XKTEntity} from './XKTEntity.js';\nimport {XKTTile} from './XKTTile.js';\nimport {KDNode} from \"./KDNode.js\";\nimport {XKTMetaObject} from \"./XKTMetaObject.js\";\nimport {XKTPropertySet} from \"./XKTPropertySet.js\";\nimport {mergeVertices} from \"../lib/mergeVertices.js\";\nimport {XKT_INFO} from \"../XKT_INFO.js\";\nimport {XKTTexture} from \"./XKTTexture\";\nimport {XKTTextureSet} from \"./XKTTextureSet\";\nimport {encode, load} from \"@loaders.gl/core\";\nimport {KTX2BasisWriter} from \"@loaders.gl/textures\";\nimport {ImageLoader} from '@loaders.gl/images';\n\nconst tempVec4a = math.vec4([0, 0, 0, 1]);\nconst tempVec4b = math.vec4([0, 0, 0, 1]);\n\nconst tempMat4 = math.mat4();\nconst tempMat4b = math.mat4();\n\nconst kdTreeDimLength = new Float64Array(3);\n\n// XKT texture types\n\nconst COLOR_TEXTURE = 0;\nconst METALLIC_ROUGHNESS_TEXTURE = 1;\nconst NORMALS_TEXTURE = 2;\nconst EMISSIVE_TEXTURE = 3;\nconst OCCLUSION_TEXTURE = 4;\n\n// KTX2 encoding options for each texture type\n\nconst TEXTURE_ENCODING_OPTIONS = {}\nTEXTURE_ENCODING_OPTIONS[COLOR_TEXTURE] = {\n useSRGB: true,\n qualityLevel: 50,\n encodeUASTC: true,\n mipmaps: true\n};\nTEXTURE_ENCODING_OPTIONS[EMISSIVE_TEXTURE] = {\n useSRGB: true,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\nTEXTURE_ENCODING_OPTIONS[METALLIC_ROUGHNESS_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 50,\n mipmaps: true // Needed for GGX roughness shading\n};\nTEXTURE_ENCODING_OPTIONS[NORMALS_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\nTEXTURE_ENCODING_OPTIONS[OCCLUSION_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\n\n/**\n * A document model that represents the contents of an .XKT file.\n *\n * * An XKTModel contains {@link XKTTile}s, which spatially subdivide the model into axis-aligned, box-shaped regions.\n * * Each {@link XKTTile} contains {@link XKTEntity}s, which represent the objects within its region.\n * * Each {@link XKTEntity} has {@link XKTMesh}s, which each have a {@link XKTGeometry}. Each {@link XKTGeometry} can be shared by multiple {@link XKTMesh}s.\n * * Import models into an XKTModel using {@link parseGLTFJSONIntoXKTModel}, {@link parseIFCIntoXKTModel}, {@link parseCityJSONIntoXKTModel} etc.\n * * Build an XKTModel programmatically using {@link XKTModel#createGeometry}, {@link XKTModel#createMesh} and {@link XKTModel#createEntity}.\n * * Serialize an XKTModel to an ArrayBuffer using {@link writeXKTModelToArrayBuffer}.\n *\n * ## Usage\n *\n * See [main docs page](/docs/#javascript-api) for usage examples.\n *\n * @class XKTModel\n */\nclass XKTModel {\n\n /**\n * Constructs a new XKTModel.\n *\n * @param {*} [cfg] Configuration\n * @param {Number} [cfg.edgeThreshold=10]\n * @param {Number} [cfg.minTileSize=500]\n */\n constructor(cfg = {}) {\n\n /**\n * The model's ID, if available.\n *\n * Will be \"default\" by default.\n *\n * @type {String}\n */\n this.modelId = cfg.modelId || \"default\";\n\n /**\n * The project ID, if available.\n *\n * Will be an empty string by default.\n *\n * @type {String}\n */\n this.projectId = cfg.projectId || \"\";\n\n /**\n * The revision ID, if available.\n *\n * Will be an empty string by default.\n *\n * @type {String}\n */\n this.revisionId = cfg.revisionId || \"\";\n\n /**\n * The model author, if available.\n *\n * Will be an empty string by default.\n *\n * @property author\n * @type {String}\n */\n this.author = cfg.author || \"\";\n\n /**\n * The date the model was created, if available.\n *\n * Will be an empty string by default.\n *\n * @property createdAt\n * @type {String}\n */\n this.createdAt = cfg.createdAt || \"\";\n\n /**\n * The application that created the model, if available.\n *\n * Will be an empty string by default.\n *\n * @property creatingApplication\n * @type {String}\n */\n this.creatingApplication = cfg.creatingApplication || \"\";\n\n /**\n * The model schema version, if available.\n *\n * In the case of IFC, this could be \"IFC2x3\" or \"IFC4\", for example.\n *\n * Will be an empty string by default.\n *\n * @property schema\n * @type {String}\n */\n this.schema = cfg.schema || \"\";\n\n /**\n * The XKT format version.\n *\n * @property xktVersion;\n * @type {number}\n */\n this.xktVersion = XKT_INFO.xktVersion;\n\n /**\n *\n * @type {Number|number}\n */\n this.edgeThreshold = cfg.edgeThreshold || 10;\n\n /**\n * Minimum diagonal size of the boundary of an {@link XKTTile}.\n *\n * @type {Number|number}\n */\n this.minTileSize = cfg.minTileSize || 500;\n\n /**\n * Optional overall AABB that contains all the {@link XKTEntity}s we'll create in this model, if previously known.\n *\n * This is the AABB of a complete set of input files that are provided as a split-model set for conversion.\n *\n * This is used to help the {@link XKTTile.aabb}s within split models align neatly with each other, as we\n * build them with a k-d tree in {@link XKTModel#finalize}. Without this, the AABBs of the different parts\n * tend to misalign slightly, resulting in excess number of {@link XKTTile}s, which degrades memory and rendering\n * performance when the XKT is viewer in the xeokit Viewer.\n */\n this.modelAABB = cfg.modelAABB;\n\n /**\n * Map of {@link XKTPropertySet}s within this XKTModel, each mapped to {@link XKTPropertySet#propertySetId}.\n *\n * Created by {@link XKTModel#createPropertySet}.\n *\n * @type {{String:XKTPropertySet}}\n */\n this.propertySets = {};\n\n /**\n * {@link XKTPropertySet}s within this XKTModel.\n *\n * Each XKTPropertySet holds its position in this list in {@link XKTPropertySet#propertySetIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTPropertySet[]}\n */\n this.propertySetsList = [];\n\n /**\n * Map of {@link XKTMetaObject}s within this XKTModel, each mapped to {@link XKTMetaObject#metaObjectId}.\n *\n * Created by {@link XKTModel#createMetaObject}.\n *\n * @type {{String:XKTMetaObject}}\n */\n this.metaObjects = {};\n\n /**\n * {@link XKTMetaObject}s within this XKTModel.\n *\n * Each XKTMetaObject holds its position in this list in {@link XKTMetaObject#metaObjectIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTMetaObject[]}\n */\n this.metaObjectsList = [];\n\n /**\n * The positions of all shared {@link XKTGeometry}s are de-quantized using this singular\n * de-quantization matrix.\n *\n * This de-quantization matrix is generated from the collective Local-space boundary of the\n * positions of all shared {@link XKTGeometry}s.\n *\n * @type {Float32Array}\n */\n this.reusedGeometriesDecodeMatrix = new Float32Array(16);\n\n /**\n * Map of {@link XKTGeometry}s within this XKTModel, each mapped to {@link XKTGeometry#geometryId}.\n *\n * Created by {@link XKTModel#createGeometry}.\n *\n * @type {{Number:XKTGeometry}}\n */\n this.geometries = {};\n\n /**\n * List of {@link XKTGeometry}s within this XKTModel, in the order they were created.\n *\n * Each XKTGeometry holds its position in this list in {@link XKTGeometry#geometryIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTGeometry[]}\n */\n this.geometriesList = [];\n\n /**\n * Map of {@link XKTTexture}s within this XKTModel, each mapped to {@link XKTTexture#textureId}.\n *\n * Created by {@link XKTModel#createTexture}.\n *\n * @type {{Number:XKTTexture}}\n */\n this.textures = {};\n\n /**\n * List of {@link XKTTexture}s within this XKTModel, in the order they were created.\n *\n * Each XKTTexture holds its position in this list in {@link XKTTexture#textureIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTexture[]}\n */\n this.texturesList = [];\n\n /**\n * Map of {@link XKTTextureSet}s within this XKTModel, each mapped to {@link XKTTextureSet#textureSetId}.\n *\n * Created by {@link XKTModel#createTextureSet}.\n *\n * @type {{Number:XKTTextureSet}}\n */\n this.textureSets = {};\n\n /**\n * List of {@link XKTTextureSet}s within this XKTModel, in the order they were created.\n *\n * Each XKTTextureSet holds its position in this list in {@link XKTTextureSet#textureSetIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTextureSet[]}\n */\n this.textureSetsList = [];\n\n /**\n * Map of {@link XKTMesh}s within this XKTModel, each mapped to {@link XKTMesh#meshId}.\n *\n * Created by {@link XKTModel#createMesh}.\n *\n * @type {{Number:XKTMesh}}\n */\n this.meshes = {};\n\n /**\n * List of {@link XKTMesh}s within this XKTModel, in the order they were created.\n *\n * Each XKTMesh holds its position in this list in {@link XKTMesh#meshIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTMesh[]}\n */\n this.meshesList = [];\n\n /**\n * Map of {@link XKTEntity}s within this XKTModel, each mapped to {@link XKTEntity#entityId}.\n *\n * Created by {@link XKTModel#createEntity}.\n *\n * @type {{String:XKTEntity}}\n */\n this.entities = {};\n\n /**\n * {@link XKTEntity}s within this XKTModel.\n *\n * Each XKTEntity holds its position in this list in {@link XKTEntity#entityIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTEntity[]}\n */\n this.entitiesList = [];\n\n /**\n * {@link XKTTile}s within this XKTModel.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTile[]}\n */\n this.tilesList = [];\n\n /**\n * The axis-aligned 3D World-space boundary of this XKTModel.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {Float64Array}\n */\n this.aabb = math.AABB3();\n\n /**\n * Indicates if this XKTModel has been finalized.\n *\n * Set ````true```` by {@link XKTModel#finalize}.\n *\n * @type {boolean}\n */\n this.finalized = false;\n }\n\n /**\n * Creates an {@link XKTPropertySet} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.propertySetId Unique ID for the {@link XKTPropertySet}.\n * @param {String} [params.propertySetType=\"default\"] A meta type for the {@link XKTPropertySet}.\n * @param {String} [params.propertySetName] Human-readable name for the {@link XKTPropertySet}. Defaults to the ````propertySetId```` parameter.\n * @param {String[]} params.properties Properties for the {@link XKTPropertySet}.\n * @returns {XKTPropertySet} The new {@link XKTPropertySet}.\n */\n createPropertySet(params) {\n\n if (!params) {\n throw \"[XKTModel.createPropertySet] Parameters expected: params\";\n }\n\n if (params.propertySetId === null || params.propertySetId === undefined) {\n throw \"[XKTModel.createPropertySet] Parameter expected: params.propertySetId\";\n }\n\n if (params.properties === null || params.properties === undefined) {\n throw \"[XKTModel.createPropertySet] Parameter expected: params.properties\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more property sets\");\n return;\n }\n\n if (this.propertySets[params.propertySetId]) {\n // console.error(\"XKTPropertySet already exists with this ID: \" + params.propertySetId);\n return;\n }\n\n const propertySetId = params.propertySetId;\n const propertySetType = params.propertySetType || \"Default\";\n const propertySetName = params.propertySetName || params.propertySetId;\n const properties = params.properties || [];\n\n const propertySet = new XKTPropertySet(propertySetId, propertySetType, propertySetName, properties);\n\n this.propertySets[propertySetId] = propertySet;\n this.propertySetsList.push(propertySet);\n\n return propertySet;\n }\n\n /**\n * Creates an {@link XKTMetaObject} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.metaObjectId Unique ID for the {@link XKTMetaObject}.\n * @param {String} params.propertySetIds ID of one or more property sets that contains additional metadata about\n * this {@link XKTMetaObject}. The property sets could be stored externally (ie not managed at all by the XKT file),\n * or could be {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n * @param {String} [params.metaObjectType=\"default\"] A meta type for the {@link XKTMetaObject}. Can be anything,\n * but is usually an IFC type, such as \"IfcSite\" or \"IfcWall\".\n * @param {String} [params.metaObjectName] Human-readable name for the {@link XKTMetaObject}. Defaults to the ````metaObjectId```` parameter.\n * @param {String} [params.parentMetaObjectId] ID of the parent {@link XKTMetaObject}, if any. Defaults to the ````metaObjectId```` parameter.\n * @returns {XKTMetaObject} The new {@link XKTMetaObject}.\n */\n createMetaObject(params) {\n\n if (!params) {\n throw \"[XKTModel.createMetaObject] Parameters expected: params\";\n }\n\n if (params.metaObjectId === null || params.metaObjectId === undefined) {\n throw \"[XKTModel.createMetaObject] Parameter expected: params.metaObjectId\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more meta objects\");\n return;\n }\n\n if (this.metaObjects[params.metaObjectId]) {\n // console.error(\"XKTMetaObject already exists with this ID: \" + params.metaObjectId);\n return;\n }\n\n const metaObjectId = params.metaObjectId;\n const propertySetIds = params.propertySetIds;\n const metaObjectType = params.metaObjectType || \"Default\";\n const metaObjectName = params.metaObjectName || params.metaObjectId;\n const parentMetaObjectId = params.parentMetaObjectId;\n\n const metaObject = new XKTMetaObject(metaObjectId, propertySetIds, metaObjectType, metaObjectName, parentMetaObjectId);\n\n this.metaObjects[metaObjectId] = metaObject;\n this.metaObjectsList.push(metaObject);\n\n if (!parentMetaObjectId) {\n if (!this._rootMetaObject) {\n this._rootMetaObject = metaObject;\n }\n }\n\n return metaObject;\n }\n\n /**\n * Creates an {@link XKTTexture} within this XKTModel.\n *\n * Registers the new {@link XKTTexture} in {@link XKTModel#textures} and {@link XKTModel#texturesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureId Unique ID for the {@link XKTTexture}.\n * @param {String} [params.src] Source of an image file for the texture.\n * @param {Buffer} [params.imageData] Image data for the texture.\n * @param {Number} [params.mediaType] Media type (ie. MIME type) of ````imageData````. Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n * @param {Number} [params.width] Texture width, used with ````imageData````. Ignored for compressed textures.\n * @param {Number} [params.height] Texture height, used with ````imageData````. Ignored for compressed textures.\n * @param {Boolean} [params.compressed=true] Whether to compress the texture.\n * @param {Number} [params.minFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers less than one pixel. Supported\n * values are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter}, {@link NearestMipMapNearestFilter},\n * {@link NearestMipMapLinearFilter} and {@link LinearMipMapLinearFilter}. Ignored for compressed textures.\n * @param {Number} [params.magFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}. Ignored for compressed textures.\n * @param {Number} [params.wrapS=RepeatWrapping] Wrap parameter for texture coordinate *S*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @param {Number} [params.wrapT=RepeatWrapping] Wrap parameter for texture coordinate *T*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * {@param {Number} [params.wrapR=RepeatWrapping] Wrap parameter for texture coordinate *R*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @returns {XKTTexture} The new {@link XKTTexture}.\n */\n createTexture(params) {\n\n if (!params) {\n throw \"[XKTModel.createTexture] Parameters expected: params\";\n }\n\n if (params.textureId === null || params.textureId === undefined) {\n throw \"[XKTModel.createTexture] Parameter expected: params.textureId\";\n }\n\n if (!params.imageData && !params.src) {\n throw \"[XKTModel.createTexture] Parameter expected: params.imageData or params.src\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more textures\");\n return;\n }\n\n if (this.textures[params.textureId]) {\n console.error(\"XKTTexture already exists with this ID: \" + params.textureId);\n return;\n }\n\n if (params.src) {\n const fileExt = params.src.split('.').pop();\n if (fileExt !== \"jpg\" && fileExt !== \"jpeg\" && fileExt !== \"png\") {\n console.error(`XKTModel does not support image files with extension '${fileExt}' - won't create texture '${params.textureId}`);\n return;\n }\n }\n\n const textureId = params.textureId;\n\n const texture = new XKTTexture({\n textureId,\n imageData: params.imageData,\n mediaType: params.mediaType,\n minFilter: params.minFilter,\n magFilter: params.magFilter,\n wrapS: params.wrapS,\n wrapT: params.wrapT,\n wrapR: params.wrapR,\n width: params.width,\n height: params.height,\n compressed: (params.compressed !== false),\n src: params.src\n });\n\n this.textures[textureId] = texture;\n this.texturesList.push(texture);\n\n return texture;\n }\n\n /**\n * Creates an {@link XKTTextureSet} within this XKTModel.\n *\n * Registers the new {@link XKTTextureSet} in {@link XKTModel#textureSets} and {@link XKTModel#.textureSetsList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureSetId Unique ID for the {@link XKTTextureSet}.\n * @param {*} [params.colorTextureId] ID of *RGBA* base color {@link XKTTexture}, with color in *RGB* and alpha in *A*.\n * @param {*} [params.metallicRoughnessTextureId] ID of *RGBA* metal-roughness {@link XKTTexture}, with the metallic factor in *R*, and roughness factor in *G*.\n * @param {*} [params.normalsTextureId] ID of *RGBA* normal {@link XKTTexture}, with normal map vectors in *RGB*.\n * @param {*} [params.emissiveTextureId] ID of *RGBA* emissive {@link XKTTexture}, with emissive color in *RGB*.\n * @param {*} [params.occlusionTextureId] ID of *RGBA* occlusion {@link XKTTexture}, with occlusion factor in *R*.\n * @returns {XKTTextureSet} The new {@link XKTTextureSet}.\n */\n createTextureSet(params) {\n\n if (!params) {\n throw \"[XKTModel.createTextureSet] Parameters expected: params\";\n }\n\n if (params.textureSetId === null || params.textureSetId === undefined) {\n throw \"[XKTModel.createTextureSet] Parameter expected: params.textureSetId\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more textureSets\");\n return;\n }\n\n if (this.textureSets[params.textureSetId]) {\n console.error(\"XKTTextureSet already exists with this ID: \" + params.textureSetId);\n return;\n }\n\n let colorTexture;\n if (params.colorTextureId !== undefined && params.colorTextureId !== null) {\n colorTexture = this.textures[params.colorTextureId];\n if (!colorTexture) {\n console.error(`Texture not found: ${params.colorTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n colorTexture.channel = COLOR_TEXTURE;\n }\n\n let metallicRoughnessTexture;\n if (params.metallicRoughnessTextureId !== undefined && params.metallicRoughnessTextureId !== null) {\n metallicRoughnessTexture = this.textures[params.metallicRoughnessTextureId];\n if (!metallicRoughnessTexture) {\n console.error(`Texture not found: ${params.metallicRoughnessTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n metallicRoughnessTexture.channel = METALLIC_ROUGHNESS_TEXTURE;\n }\n\n let normalsTexture;\n if (params.normalsTextureId !== undefined && params.normalsTextureId !== null) {\n normalsTexture = this.textures[params.normalsTextureId];\n if (!normalsTexture) {\n console.error(`Texture not found: ${params.normalsTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n normalsTexture.channel = NORMALS_TEXTURE;\n }\n\n let emissiveTexture;\n if (params.emissiveTextureId !== undefined && params.emissiveTextureId !== null) {\n emissiveTexture = this.textures[params.emissiveTextureId];\n if (!emissiveTexture) {\n console.error(`Texture not found: ${params.emissiveTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n emissiveTexture.channel = EMISSIVE_TEXTURE;\n }\n\n let occlusionTexture;\n if (params.occlusionTextureId !== undefined && params.occlusionTextureId !== null) {\n occlusionTexture = this.textures[params.occlusionTextureId];\n if (!occlusionTexture) {\n console.error(`Texture not found: ${params.occlusionTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n occlusionTexture.channel = OCCLUSION_TEXTURE;\n }\n\n const textureSet = new XKTTextureSet({\n textureSetId: params.textureSetId,\n textureSetIndex: this.textureSetsList.length,\n colorTexture,\n metallicRoughnessTexture,\n normalsTexture,\n emissiveTexture,\n occlusionTexture\n });\n\n this.textureSets[params.textureSetId] = textureSet;\n this.textureSetsList.push(textureSet);\n\n return textureSet;\n }\n\n /**\n * Creates an {@link XKTGeometry} within this XKTModel.\n *\n * Registers the new {@link XKTGeometry} in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.geometryId Unique ID for the {@link XKTGeometry}.\n * @param {String} params.primitiveType The type of {@link XKTGeometry}: \"triangles\", \"lines\" or \"points\".\n * @param {Float64Array} params.positions Floating-point Local-space vertex positions for the {@link XKTGeometry}. Required for all primitive types.\n * @param {Number[]} [params.normals] Floating-point vertex normals for the {@link XKTGeometry}. Only used with triangles primitives. Ignored for points and lines.\n * @param {Number[]} [params.colors] Floating-point RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.uvs] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uv````.\n * @param {Number[]} [params.uv] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uvs````.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Uint32Array} [params.indices] Indices for the {@link XKTGeometry}. Required for triangles and lines primitives. Ignored for points.\n * @param {Number} [params.edgeThreshold=10]\n * @returns {XKTGeometry} The new {@link XKTGeometry}.\n */\n createGeometry(params) {\n\n if (!params) {\n throw \"[XKTModel.createGeometry] Parameters expected: params\";\n }\n\n if (params.geometryId === null || params.geometryId === undefined) {\n throw \"[XKTModel.createGeometry] Parameter expected: params.geometryId\";\n }\n\n if (!params.primitiveType) {\n throw \"[XKTModel.createGeometry] Parameter expected: params.primitiveType\";\n }\n\n if (!params.positions) {\n throw \"[XKTModel.createGeometry] Parameter expected: params.positions\";\n }\n\n const triangles = params.primitiveType === \"triangles\";\n const points = params.primitiveType === \"points\";\n const lines = params.primitiveType === \"lines\";\n const line_strip = params.primitiveType === \"line-strip\";\n const line_loop = params.primitiveType === \"line-loop\";\n const triangle_strip = params.primitiveType === \"triangle-strip\";\n const triangle_fan = params.primitiveType === \"triangle-fan\";\n\n if (!triangles && !points && !lines && !line_strip && !line_loop) {\n throw \"[XKTModel.createGeometry] Unsupported value for params.primitiveType: \"\n + params.primitiveType\n + \"' - supported values are 'triangles', 'points', 'lines', 'line-strip', 'triangle-strip' and 'triangle-fan\";\n }\n\n if (triangles) {\n if (!params.indices) {\n params.indices = this._createDefaultIndices()\n throw \"[XKTModel.createGeometry] Parameter expected for 'triangles' primitive: params.indices\";\n }\n }\n\n if (points) {\n if (!params.colors && !params.colorsCompressed) {\n console.error(\"[XKTModel.createGeometry] Parameter expected for 'points' primitive: params.colors or params.colorsCompressed\");\n return;\n }\n }\n\n if (lines) {\n if (!params.indices) {\n throw \"[XKTModel.createGeometry] Parameter expected for 'lines' primitive: params.indices\";\n }\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more geometries\");\n return;\n }\n\n if (this.geometries[params.geometryId]) {\n console.error(\"XKTGeometry already exists with this ID: \" + params.geometryId);\n return;\n }\n\n const geometryId = params.geometryId;\n const primitiveType = params.primitiveType;\n const positions = new Float64Array(params.positions); // May modify in #finalize\n\n const xktGeometryCfg = {\n geometryId: geometryId,\n geometryIndex: this.geometriesList.length,\n primitiveType: primitiveType,\n positions: positions,\n uvs: params.uvs || params.uv\n }\n\n if (triangles) {\n if (params.normals) {\n xktGeometryCfg.normals = new Float32Array(params.normals);\n }\n if (params.indices) {\n xktGeometryCfg.indices = params.indices;\n } else {\n xktGeometryCfg.indices = this._createDefaultIndices(positions.length / 3);\n }\n }\n\n if (points) {\n if (params.colorsCompressed) {\n xktGeometryCfg.colorsCompressed = new Uint8Array(params.colorsCompressed);\n\n } else {\n const colors = params.colors;\n const colorsCompressed = new Uint8Array(colors.length);\n for (let i = 0, len = colors.length; i < len; i++) {\n colorsCompressed[i] = Math.floor(colors[i] * 255);\n }\n xktGeometryCfg.colorsCompressed = colorsCompressed;\n }\n }\n\n if (lines) {\n xktGeometryCfg.indices = params.indices;\n }\n\n if (triangles) {\n\n if (!params.normals && !params.uv && !params.uvs) {\n\n // Building models often duplicate positions to allow face-aligned vertex normals; when we're not\n // providing normals for a geometry, it becomes possible to merge duplicate vertex positions within it.\n\n // TODO: Make vertex merging also merge normals?\n\n const mergedPositions = [];\n const mergedIndices = [];\n mergeVertices(xktGeometryCfg.positions, xktGeometryCfg.indices, mergedPositions, mergedIndices);\n xktGeometryCfg.positions = new Float64Array(mergedPositions);\n xktGeometryCfg.indices = mergedIndices;\n }\n\n xktGeometryCfg.edgeIndices = buildEdgeIndices(xktGeometryCfg.positions, xktGeometryCfg.indices, null, params.edgeThreshold || this.edgeThreshold || 10);\n }\n\n const geometry = new XKTGeometry(xktGeometryCfg);\n\n this.geometries[geometryId] = geometry;\n this.geometriesList.push(geometry);\n\n return geometry;\n }\n\n _createDefaultIndices(numIndices) {\n const indices = [];\n for (let i = 0; i < numIndices; i++) {\n indices.push(i);\n }\n return indices;\n }\n\n /**\n * Creates an {@link XKTMesh} within this XKTModel.\n *\n * An {@link XKTMesh} can be owned by one {@link XKTEntity}, which can own multiple {@link XKTMesh}es.\n *\n * Registers the new {@link XKTMesh} in {@link XKTModel#meshes} and {@link XKTModel#meshesList}.\n *\n * @param {*} params Method parameters.\n * @param {Number} params.meshId Unique ID for the {@link XKTMesh}.\n * @param {Number} params.geometryId ID of an existing {@link XKTGeometry} in {@link XKTModel#geometries}.\n * @param {Number} [params.textureSetId] Unique ID of an {@link XKTTextureSet} in {@link XKTModel#textureSets}.\n * @param {Float32Array} params.color RGB color for the {@link XKTMesh}, with each color component in range [0..1].\n * @param {Number} [params.metallic=0] How metallic the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully dielectric material, while ````1```` indicates fully metallic.\n * @param {Number} [params.roughness=1] How rough the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully smooth, while ````1```` indicates fully rough.\n * @param {Number} params.opacity Opacity factor for the {@link XKTMesh}, in range [0..1].\n * @param {Float64Array} [params.matrix] Modeling matrix for the {@link XKTMesh}. Overrides ````position````, ````scale```` and ````rotation```` parameters.\n * @param {Number[]} [params.position=[0,0,0]] Position of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.scale=[1,1,1]] Scale of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.rotation=[0,0,0]] Rotation of the {@link XKTMesh} as Euler angles given in degrees, for each of the X, Y and Z axis. Overridden by the ````matrix```` parameter.\n * @returns {XKTMesh} The new {@link XKTMesh}.\n */\n createMesh(params) {\n\n if (params.meshId === null || params.meshId === undefined) {\n throw \"[XKTModel.createMesh] Parameter expected: params.meshId\";\n }\n\n if (params.geometryId === null || params.geometryId === undefined) {\n throw \"[XKTModel.createMesh] Parameter expected: params.geometryId\";\n }\n\n if (this.finalized) {\n throw \"[XKTModel.createMesh] XKTModel has been finalized, can't add more meshes\";\n }\n\n if (this.meshes[params.meshId]) {\n console.error(\"XKTMesh already exists with this ID: \" + params.meshId);\n return;\n }\n\n const geometry = this.geometries[params.geometryId];\n\n if (!geometry) {\n console.error(\"XKTGeometry not found: \" + params.geometryId);\n return;\n }\n\n geometry.numInstances++;\n\n let textureSet = null;\n if (params.textureSetId) {\n textureSet = this.textureSets[params.textureSetId];\n if (!textureSet) {\n console.error(\"XKTTextureSet not found: \" + params.textureSetId);\n return;\n }\n textureSet.numInstances++;\n }\n\n let matrix = params.matrix;\n\n if (!matrix) {\n\n const position = params.position;\n const scale = params.scale;\n const rotation = params.rotation;\n\n if (position || scale || rotation) {\n matrix = math.identityMat4();\n const quaternion = math.eulerToQuaternion(rotation || [0, 0, 0], \"XYZ\", math.identityQuaternion());\n math.composeMat4(position || [0, 0, 0], quaternion, scale || [1, 1, 1], matrix)\n\n } else {\n matrix = math.identityMat4();\n }\n }\n\n const meshIndex = this.meshesList.length;\n\n const mesh = new XKTMesh({\n meshId: params.meshId,\n meshIndex,\n matrix,\n geometry,\n color: params.color,\n metallic: params.metallic,\n roughness: params.roughness,\n opacity: params.opacity,\n textureSet\n });\n\n this.meshes[mesh.meshId] = mesh;\n this.meshesList.push(mesh);\n\n return mesh;\n }\n\n /**\n * Creates an {@link XKTEntity} within this XKTModel.\n *\n * Registers the new {@link XKTEntity} in {@link XKTModel#entities} and {@link XKTModel#entitiesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.entityId Unique ID for the {@link XKTEntity}.\n * @param {String[]} params.meshIds IDs of {@link XKTMesh}es used by the {@link XKTEntity}. Note that each {@link XKTMesh} can only be used by one {@link XKTEntity}.\n * @returns {XKTEntity} The new {@link XKTEntity}.\n */\n createEntity(params) {\n\n if (!params) {\n throw \"[XKTModel.createEntity] Parameters expected: params\";\n }\n\n if (params.entityId === null || params.entityId === undefined) {\n throw \"[XKTModel.createEntity] Parameter expected: params.entityId\";\n }\n\n if (!params.meshIds) {\n throw \"[XKTModel.createEntity] Parameter expected: params.meshIds\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more entities\");\n return;\n }\n\n if (params.meshIds.length === 0) {\n console.warn(\"XKTEntity has no meshes - won't create: \" + params.entityId);\n return;\n }\n\n let entityId = params.entityId;\n\n if (this.entities[entityId]) {\n while (this.entities[entityId]) {\n entityId = math.createUUID();\n }\n console.error(\"XKTEntity already exists with this ID: \" + params.entityId + \" - substituting random ID instead: \" + entityId);\n }\n\n const meshIds = params.meshIds;\n const meshes = [];\n\n for (let meshIdIdx = 0, meshIdLen = meshIds.length; meshIdIdx < meshIdLen; meshIdIdx++) {\n\n const meshId = meshIds[meshIdIdx];\n const mesh = this.meshes[meshId];\n\n if (!mesh) {\n console.error(\"XKTMesh found: \" + meshId);\n continue;\n }\n\n if (mesh.entity) {\n console.error(\"XKTMesh \" + meshId + \" already used by XKTEntity \" + mesh.entity.entityId);\n continue;\n }\n\n meshes.push(mesh);\n }\n\n const entity = new XKTEntity(entityId, meshes);\n\n for (let i = 0, len = meshes.length; i < len; i++) {\n const mesh = meshes[i];\n mesh.entity = entity;\n }\n\n this.entities[entityId] = entity;\n this.entitiesList.push(entity);\n\n return entity;\n }\n\n /**\n * Creates a default {@link XKTMetaObject} for each {@link XKTEntity} that does not already have one.\n */\n createDefaultMetaObjects() {\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n\n const entity = this.entitiesList[i];\n const metaObjectId = entity.entityId;\n const metaObject = this.metaObjects[metaObjectId];\n\n if (!metaObject) {\n\n if (!this._rootMetaObject) {\n this._rootMetaObject = this.createMetaObject({\n metaObjectId: this.modelId,\n metaObjectType: \"Default\",\n metaObjectName: this.modelId\n });\n }\n\n this.createMetaObject({\n metaObjectId: metaObjectId,\n metaObjectType: \"Default\",\n metaObjectName: \"\" + metaObjectId,\n parentMetaObjectId: this._rootMetaObject.metaObjectId\n });\n }\n }\n }\n\n /**\n * Finalizes this XKTModel.\n *\n * After finalizing, we may then serialize the model to an array buffer using {@link writeXKTModelToArrayBuffer}.\n *\n * Logs error and does nothing if this XKTModel has already been finalized.\n *\n * Internally, this method:\n *\n * * for each {@link XKTEntity} that doesn't already have a {@link XKTMetaObject}, creates one with {@link XKTMetaObject#metaObjectType} set to \"default\"\n * * sets each {@link XKTEntity}'s {@link XKTEntity#hasReusedGeometries} true if it shares its {@link XKTGeometry}s with other {@link XKTEntity}s,\n * * creates each {@link XKTEntity}'s {@link XKTEntity#aabb},\n * * creates {@link XKTTile}s in {@link XKTModel#tilesList}, and\n * * sets {@link XKTModel#finalized} ````true````.\n */\n async finalize() {\n\n if (this.finalized) {\n console.log(\"XKTModel already finalized\");\n return;\n }\n\n this._removeUnusedTextures();\n\n await this._compressTextures();\n\n this._bakeSingleUseGeometryPositions();\n\n this._bakeAndOctEncodeNormals();\n\n this._createEntityAABBs();\n\n const rootKDNode = this._createKDTree();\n\n this.entitiesList = [];\n\n this._createTilesFromKDTree(rootKDNode);\n\n this._createReusedGeometriesDecodeMatrix();\n\n this._flagSolidGeometries();\n\n this.aabb.set(rootKDNode.aabb);\n\n this.finalized = true;\n }\n\n _removeUnusedTextures() {\n let texturesList = [];\n const textures = {};\n for (let i = 0, leni = this.texturesList.length; i < leni; i++) {\n const texture = this.texturesList[i];\n if (texture.channel !== null) {\n texture.textureIndex = texturesList.length;\n texturesList.push(texture);\n textures[texture.textureId] = texture;\n }\n }\n this.texturesList = texturesList;\n this.textures = textures;\n }\n\n _compressTextures() {\n let countTextures = this.texturesList.length;\n return new Promise((resolve) => {\n if (countTextures === 0) {\n resolve();\n return;\n }\n for (let i = 0, leni = this.texturesList.length; i < leni; i++) {\n const texture = this.texturesList[i];\n const encodingOptions = TEXTURE_ENCODING_OPTIONS[texture.channel] || {};\n\n if (texture.src) {\n\n // XKTTexture created with XKTModel#createTexture({ src: ... })\n\n const src = texture.src;\n const fileExt = src.split('.').pop();\n switch (fileExt) {\n case \"jpeg\":\n case \"jpg\":\n case \"png\":\n load(src, ImageLoader, {\n image: {\n type: \"data\"\n }\n }).then((imageData) => {\n if (texture.compressed) {\n encode(imageData, KTX2BasisWriter, encodingOptions).then((encodedData) => {\n const encodedImageData = new Uint8Array(encodedData);\n texture.imageData = encodedImageData;\n if (--countTextures <= 0) {\n resolve();\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to encode image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n } else {\n texture.imageData = new Uint8Array(1);\n if (--countTextures <= 0) {\n resolve();\n }\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to load image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n break;\n default:\n if (--countTextures <= 0) {\n resolve();\n }\n break;\n }\n }\n\n if (texture.imageData) {\n\n // XKTTexture created with XKTModel#createTexture({ imageData: ... })\n\n if (texture.compressed) {\n encode(texture.imageData, KTX2BasisWriter, encodingOptions)\n .then((encodedImageData) => {\n texture.imageData = new Uint8Array(encodedImageData);\n if (--countTextures <= 0) {\n resolve();\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to encode image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n } else {\n texture.imageData = new Uint8Array(1);\n if (--countTextures <= 0) {\n resolve();\n }\n }\n }\n }\n });\n }\n\n _bakeSingleUseGeometryPositions() {\n\n for (let j = 0, lenj = this.meshesList.length; j < lenj; j++) {\n\n const mesh = this.meshesList[j];\n\n const geometry = mesh.geometry;\n\n if (geometry.numInstances === 1) {\n\n const matrix = mesh.matrix;\n\n if (matrix && (!math.isIdentityMat4(matrix))) {\n\n const positions = geometry.positions;\n\n for (let i = 0, len = positions.length; i < len; i += 3) {\n\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n tempVec4a[3] = 1;\n\n math.transformPoint4(matrix, tempVec4a, tempVec4b);\n\n positions[i + 0] = tempVec4b[0];\n positions[i + 1] = tempVec4b[1];\n positions[i + 2] = tempVec4b[2];\n }\n }\n }\n }\n }\n\n _bakeAndOctEncodeNormals() {\n\n for (let i = 0, len = this.meshesList.length; i < len; i++) {\n\n const mesh = this.meshesList[i];\n const geometry = mesh.geometry;\n\n if (geometry.normals && !geometry.normalsOctEncoded) {\n\n geometry.normalsOctEncoded = new Int8Array(geometry.normals.length);\n\n if (geometry.numInstances > 1) {\n geometryCompression.octEncodeNormals(geometry.normals, geometry.normals.length, geometry.normalsOctEncoded, 0);\n\n } else {\n const modelNormalMatrix = math.inverseMat4(math.transposeMat4(mesh.matrix, tempMat4), tempMat4b);\n geometryCompression.transformAndOctEncodeNormals(modelNormalMatrix, geometry.normals, geometry.normals.length, geometry.normalsOctEncoded, 0);\n }\n }\n }\n }\n\n _createEntityAABBs() {\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n\n const entity = this.entitiesList[i];\n const entityAABB = entity.aabb;\n const meshes = entity.meshes;\n\n math.collapseAABB3(entityAABB);\n\n for (let j = 0, lenj = meshes.length; j < lenj; j++) {\n\n const mesh = meshes[j];\n const geometry = mesh.geometry;\n const matrix = mesh.matrix;\n\n if (geometry.numInstances > 1) {\n\n const positions = geometry.positions;\n for (let i = 0, len = positions.length; i < len; i += 3) {\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n tempVec4a[3] = 1;\n math.transformPoint4(matrix, tempVec4a, tempVec4b);\n math.expandAABB3Point3(entityAABB, tempVec4b);\n }\n\n } else {\n\n const positions = geometry.positions;\n for (let i = 0, len = positions.length; i < len; i += 3) {\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n math.expandAABB3Point3(entityAABB, tempVec4a);\n }\n }\n }\n }\n }\n\n _createKDTree() {\n\n let aabb;\n if (this.modelAABB) {\n aabb = this.modelAABB; // Pre-known uber AABB\n } else {\n aabb = math.collapseAABB3();\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n const entity = this.entitiesList[i];\n math.expandAABB3(aabb, entity.aabb);\n }\n }\n\n const rootKDNode = new KDNode(aabb);\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n const entity = this.entitiesList[i];\n this._insertEntityIntoKDTree(rootKDNode, entity);\n }\n\n return rootKDNode;\n }\n\n _insertEntityIntoKDTree(kdNode, entity) {\n\n const nodeAABB = kdNode.aabb;\n const entityAABB = entity.aabb;\n\n const nodeAABBDiag = math.getAABB3Diag(nodeAABB);\n\n if (nodeAABBDiag < this.minTileSize) {\n kdNode.entities = kdNode.entities || [];\n kdNode.entities.push(entity);\n math.expandAABB3(nodeAABB, entityAABB);\n return;\n }\n\n if (kdNode.left) {\n if (math.containsAABB3(kdNode.left.aabb, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.left, entity);\n return;\n }\n }\n\n if (kdNode.right) {\n if (math.containsAABB3(kdNode.right.aabb, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.right, entity);\n return;\n }\n }\n\n kdTreeDimLength[0] = nodeAABB[3] - nodeAABB[0];\n kdTreeDimLength[1] = nodeAABB[4] - nodeAABB[1];\n kdTreeDimLength[2] = nodeAABB[5] - nodeAABB[2];\n\n let dim = 0;\n\n if (kdTreeDimLength[1] > kdTreeDimLength[dim]) {\n dim = 1;\n }\n\n if (kdTreeDimLength[2] > kdTreeDimLength[dim]) {\n dim = 2;\n }\n\n if (!kdNode.left) {\n const aabbLeft = nodeAABB.slice();\n aabbLeft[dim + 3] = ((nodeAABB[dim] + nodeAABB[dim + 3]) / 2.0);\n kdNode.left = new KDNode(aabbLeft);\n if (math.containsAABB3(aabbLeft, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.left, entity);\n return;\n }\n }\n\n if (!kdNode.right) {\n const aabbRight = nodeAABB.slice();\n aabbRight[dim] = ((nodeAABB[dim] + nodeAABB[dim + 3]) / 2.0);\n kdNode.right = new KDNode(aabbRight);\n if (math.containsAABB3(aabbRight, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.right, entity);\n return;\n }\n }\n\n kdNode.entities = kdNode.entities || [];\n kdNode.entities.push(entity);\n\n math.expandAABB3(nodeAABB, entityAABB);\n }\n\n _createTilesFromKDTree(rootKDNode) {\n this._createTilesFromKDNode(rootKDNode);\n }\n\n _createTilesFromKDNode(kdNode) {\n if (kdNode.entities && kdNode.entities.length > 0) {\n this._createTileFromEntities(kdNode);\n }\n if (kdNode.left) {\n this._createTilesFromKDNode(kdNode.left);\n }\n if (kdNode.right) {\n this._createTilesFromKDNode(kdNode.right);\n }\n }\n\n /**\n * Creates a tile from the given entities.\n *\n * For each single-use {@link XKTGeometry}, this method centers {@link XKTGeometry#positions} to make them relative to the\n * tile's center, then quantizes the positions to unsigned 16-bit integers, relative to the tile's boundary.\n *\n * @param kdNode\n */\n _createTileFromEntities(kdNode) {\n\n const tileAABB = kdNode.aabb;\n const entities = kdNode.entities;\n\n const tileCenter = math.getAABB3Center(tileAABB);\n const tileCenterNeg = math.mulVec3Scalar(tileCenter, -1, math.vec3());\n\n const rtcAABB = math.AABB3(); // AABB centered at the RTC origin\n\n rtcAABB[0] = tileAABB[0] - tileCenter[0];\n rtcAABB[1] = tileAABB[1] - tileCenter[1];\n rtcAABB[2] = tileAABB[2] - tileCenter[2];\n rtcAABB[3] = tileAABB[3] - tileCenter[0];\n rtcAABB[4] = tileAABB[4] - tileCenter[1];\n rtcAABB[5] = tileAABB[5] - tileCenter[2];\n\n for (let i = 0; i < entities.length; i++) {\n\n const entity = entities [i];\n\n const meshes = entity.meshes;\n\n for (let j = 0, lenj = meshes.length; j < lenj; j++) {\n\n const mesh = meshes[j];\n const geometry = mesh.geometry;\n\n if (!geometry.reused) { // Batched geometry\n\n const positions = geometry.positions;\n\n // Center positions relative to their tile's World-space center\n\n for (let k = 0, lenk = positions.length; k < lenk; k += 3) {\n\n positions[k + 0] -= tileCenter[0];\n positions[k + 1] -= tileCenter[1];\n positions[k + 2] -= tileCenter[2];\n }\n\n // Quantize positions relative to tile's RTC-space boundary\n\n geometryCompression.quantizePositions(positions, positions.length, rtcAABB, geometry.positionsQuantized);\n\n } else { // Instanced geometry\n\n // Post-multiply a translation to the mesh's modeling matrix\n // to center the entity's geometry instances to the tile RTC center\n\n //////////////////////////////\n // Why do we do this?\n // Seems to break various models\n /////////////////////////////////\n\n math.translateMat4v(tileCenterNeg, mesh.matrix);\n }\n }\n\n entity.entityIndex = this.entitiesList.length;\n\n this.entitiesList.push(entity);\n }\n\n const tile = new XKTTile(tileAABB, entities);\n\n this.tilesList.push(tile);\n }\n\n _createReusedGeometriesDecodeMatrix() {\n\n const tempVec3a = math.vec3();\n const reusedGeometriesAABB = math.collapseAABB3(math.AABB3());\n let countReusedGeometries = 0;\n\n for (let geometryIndex = 0, numGeometries = this.geometriesList.length; geometryIndex < numGeometries; geometryIndex++) {\n\n const geometry = this.geometriesList [geometryIndex];\n\n if (geometry.reused) { // Instanced geometry\n\n const positions = geometry.positions;\n\n for (let i = 0, len = positions.length; i < len; i += 3) {\n\n tempVec3a[0] = positions[i];\n tempVec3a[1] = positions[i + 1];\n tempVec3a[2] = positions[i + 2];\n\n math.expandAABB3Point3(reusedGeometriesAABB, tempVec3a);\n }\n\n countReusedGeometries++;\n }\n }\n\n if (countReusedGeometries > 0) {\n\n geometryCompression.createPositionsDecodeMatrix(reusedGeometriesAABB, this.reusedGeometriesDecodeMatrix);\n\n for (let geometryIndex = 0, numGeometries = this.geometriesList.length; geometryIndex < numGeometries; geometryIndex++) {\n\n const geometry = this.geometriesList [geometryIndex];\n\n if (geometry.reused) {\n geometryCompression.quantizePositions(geometry.positions, geometry.positions.length, reusedGeometriesAABB, geometry.positionsQuantized);\n }\n }\n\n } else {\n math.identityMat4(this.reusedGeometriesDecodeMatrix); // No need for this matrix, but we'll be tidy and set it to identity\n }\n }\n\n _flagSolidGeometries() {\n let maxNumPositions = 0;\n let maxNumIndices = 0;\n for (let i = 0, len = this.geometriesList.length; i < len; i++) {\n const geometry = this.geometriesList[i];\n if (geometry.primitiveType === \"triangles\") {\n if (geometry.positionsQuantized.length > maxNumPositions) {\n maxNumPositions = geometry.positionsQuantized.length;\n }\n if (geometry.indices.length > maxNumIndices) {\n maxNumIndices = geometry.indices.length;\n }\n }\n }\n let vertexIndexMapping = new Array(maxNumPositions / 3);\n let edges = new Array(maxNumIndices);\n for (let i = 0, len = this.geometriesList.length; i < len; i++) {\n const geometry = this.geometriesList[i];\n if (geometry.primitiveType === \"triangles\") {\n geometry.solid = isTriangleMeshSolid(geometry.indices, geometry.positionsQuantized, vertexIndexMapping, edges);\n }\n }\n }\n}\n\nexport {\n XKTModel\n}","/**\n * A property set within an {@link XKTModel}.\n *\n * These are shared among {@link XKTMetaObject}s.\n *\n * * Created by {@link XKTModel#createPropertySet}\n * * Stored in {@link XKTModel#propertySets} and {@link XKTModel#propertySetsList}\n * * Has an ID, a type, and a human-readable name\n *\n * @class XKTPropertySet\n */\nclass XKTPropertySet {\n\n /**\n * @private\n */\n constructor(propertySetId, propertySetType, propertySetName, properties) {\n\n /**\n * Unique ID of this ````XKTPropertySet```` in {@link XKTModel#propertySets}.\n *\n * @type {String}\n */\n this.propertySetId = propertySetId;\n\n /**\n * Indicates the ````XKTPropertySet````'s type.\n *\n * This defaults to \"default\".\n *\n * @type {string}\n */\n this.propertySetType = propertySetType;\n\n /**\n * Indicates the XKTPropertySet meta object name.\n *\n * This defaults to {@link XKTPropertySet#propertySetId}.\n *\n * @type {string}\n */\n this.propertySetName = propertySetName;\n\n /**\n * The properties within this ````XKTPropertySet````.\n *\n * @type {*[]}\n */\n this.properties = properties;\n }\n}\n\nexport {XKTPropertySet};","/**\n * A texture shared by {@link XKTTextureSet}s.\n *\n * * Created by {@link XKTModel#createTexture}\n * * Stored in {@link XKTTextureSet#textures}, {@link XKTModel#textures} and {@link XKTModel#texturesList}\n *\n * @class XKTTexture\n */\nimport {RepeatWrapping, LinearMipMapNearestFilter} from \"../constants\";\n\nclass XKTTexture {\n\n /**\n * @private\n */\n constructor(cfg) {\n\n /**\n * Unique ID of this XKTTexture in {@link XKTModel#textures}.\n *\n * @type {Number}\n */\n this.textureId = cfg.textureId;\n\n /**\n * Index of this XKTTexture in {@link XKTModel#texturesList};\n *\n * @type {Number}\n */\n this.textureIndex = cfg.textureIndex;\n\n /**\n * Texture image data.\n *\n * @type {Buffer}\n */\n this.imageData = cfg.imageData;\n\n /**\n * Which material channel this texture is applied to, as determined by its {@link XKTTextureSet}s.\n *\n * @type {Number}\n */\n this.channel = null;\n\n /**\n * Width of this XKTTexture.\n *\n * @type {Number}\n */\n this.width = cfg.width;\n\n /**\n * Height of this XKTTexture.\n *\n * @type {Number}\n */\n this.height = cfg.height;\n\n /**\n * Texture file source.\n *\n * @type {String}\n */\n this.src = cfg.src;\n\n /**\n * Whether this XKTTexture is to be compressed.\n *\n * @type {Boolean}\n */\n this.compressed = (!!cfg.compressed);\n\n /**\n * Media type of this XKTTexture.\n *\n * Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n *\n * Ignored for compressed textures.\n *\n * @type {Number}\n */\n this.mediaType = cfg.mediaType;\n\n /**\n * How the texture is sampled when a texel covers less than one pixel. Supported values\n * are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter},\n * {@link NearestMipMapNearestFilter}, {@link NearestMipMapLinearFilter}\n * and {@link LinearMipMapLinearFilter}.\n *\n * Ignored for compressed textures.\n *\n * @type {Number}\n */\n this.minFilter = cfg.minFilter || LinearMipMapNearestFilter;\n\n /**\n * How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}.\n *\n * Ignored for compressed textures.\n *\n * @type {Number}\n */\n this.magFilter = cfg.magFilter || LinearMipMapNearestFilter;\n\n /**\n * S wrapping mode.\n *\n * Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}.\n *\n * Ignored for compressed textures.\n *\n * @type {Number}\n */\n this.wrapS = cfg.wrapS || RepeatWrapping;\n\n /**\n * T wrapping mode.\n *\n * Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}.\n *\n * Ignored for compressed textures.\n *\n * @type {Number}\n */\n this.wrapT = cfg.wrapT || RepeatWrapping;\n\n /**\n * R wrapping mode.\n *\n * Ignored for compressed textures.\n *\n * Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}.\n *\n * @type {*|number}\n */\n this.wrapR = cfg.wrapR || RepeatWrapping\n }\n}\n\nexport {XKTTexture};","/**\n * A set of textures shared by {@link XKTMesh}es.\n *\n * * Created by {@link XKTModel#createTextureSet}\n * * Registered in {@link XKTMesh#material}, {@link XKTModel#materials} and {@link XKTModel#.textureSetsList}\n *\n * @class XKTMetalRoughMaterial\n */\nclass XKTTextureSet {\n\n /**\n * @private\n */\n constructor(cfg) {\n\n /**\n * Unique ID of this XKTTextureSet in {@link XKTModel#materials}.\n *\n * @type {Number}\n */\n this.textureSetId = cfg.textureSetId;\n\n /**\n * Index of this XKTTexture in {@link XKTModel#texturesList};\n *\n * @type {Number}\n */\n this.textureSetIndex = cfg.textureSetIndex;\n\n /**\n * Identifies the material type.\n *\n * @type {Number}\n */\n this.materialType = cfg.materialType;\n\n /**\n * Index of this XKTTextureSet in {@link XKTModel#meshesList};\n *\n * @type {Number}\n */\n this.materialIndex = cfg.materialIndex;\n\n /**\n * The number of {@link XKTMesh}s that reference this XKTTextureSet.\n *\n * @type {Number}\n */\n this.numInstances = 0;\n\n /**\n * RGBA {@link XKTTexture} containing base color in RGB and opacity in A.\n *\n * @type {XKTTexture}\n */\n this.colorTexture = cfg.colorTexture;\n\n /**\n * RGBA {@link XKTTexture} containing metallic and roughness factors in R and G.\n *\n * @type {XKTTexture}\n */\n this.metallicRoughnessTexture = cfg.metallicRoughnessTexture;\n\n /**\n * RGBA {@link XKTTexture} with surface normals in RGB.\n *\n * @type {XKTTexture}\n */\n this.normalsTexture = cfg.normalsTexture;\n\n /**\n * RGBA {@link XKTTexture} with emissive color in RGB.\n *\n * @type {XKTTexture}\n */\n this.emissiveTexture = cfg.emissiveTexture;\n\n /**\n * RGBA {@link XKTTexture} with ambient occlusion factors in RGB.\n *\n * @type {XKTTexture}\n */\n this.occlusionTexture = cfg.occlusionTexture;\n }\n}\n\nexport {XKTTextureSet};","/**\n * @desc A box-shaped 3D region within an {@link XKTModel} that contains {@link XKTEntity}s.\n *\n * * Created by {@link XKTModel#finalize}\n * * Stored in {@link XKTModel#tilesList}\n *\n * @class XKTTile\n */\nclass XKTTile {\n\n /**\n * Creates a new XKTTile.\n *\n * @private\n * @param aabb\n * @param entities\n */\n constructor(aabb, entities) {\n\n /**\n * Axis-aligned World-space bounding box that encloses the {@link XKTEntity}'s within this Tile.\n *\n * @type {Float64Array}\n */\n this.aabb = aabb;\n\n /**\n * The {@link XKTEntity}'s within this XKTTile.\n *\n * @type {XKTEntity[]}\n */\n this.entities = entities;\n }\n}\n\nexport {XKTTile};","import {math} from \"../../lib/math.js\";\n\n/**\n * @private\n */\nconst buildEdgeIndices = (function () {\n\n const uniquePositions = [];\n const indicesLookup = [];\n const indicesReverseLookup = [];\n const weldedIndices = [];\n\n// TODO: Optimize with caching, but need to cater to both compressed and uncompressed positions\n\n const faces = [];\n let numFaces = 0;\n const compa = new Uint16Array(3);\n const compb = new Uint16Array(3);\n const compc = new Uint16Array(3);\n const a = math.vec3();\n const b = math.vec3();\n const c = math.vec3();\n const cb = math.vec3();\n const ab = math.vec3();\n const cross = math.vec3();\n const normal = math.vec3();\n const inverseNormal = math.vec3();\n\n function weldVertices(positions, indices) {\n const positionsMap = {}; // Hashmap for looking up vertices by position coordinates (and making sure they are unique)\n let vx;\n let vy;\n let vz;\n let key;\n const precisionPoints = 4; // number of decimal points, e.g. 4 for epsilon of 0.0001\n const precision = Math.pow(10, precisionPoints);\n let i;\n let len;\n let lenUniquePositions = 0;\n for (i = 0, len = positions.length; i < len; i += 3) {\n vx = positions[i];\n vy = positions[i + 1];\n vz = positions[i + 2];\n key = Math.round(vx * precision) + '_' + Math.round(vy * precision) + '_' + Math.round(vz * precision);\n if (positionsMap[key] === undefined) {\n positionsMap[key] = lenUniquePositions / 3;\n uniquePositions[lenUniquePositions++] = vx;\n uniquePositions[lenUniquePositions++] = vy;\n uniquePositions[lenUniquePositions++] = vz;\n }\n indicesLookup[i / 3] = positionsMap[key];\n }\n for (i = 0, len = indices.length; i < len; i++) {\n weldedIndices[i] = indicesLookup[indices[i]];\n indicesReverseLookup[weldedIndices[i]] = indices[i];\n }\n }\n\n function buildFaces(numIndices, positionsDecodeMatrix) {\n numFaces = 0;\n for (let i = 0, len = numIndices; i < len; i += 3) {\n const ia = ((weldedIndices[i]) * 3);\n const ib = ((weldedIndices[i + 1]) * 3);\n const ic = ((weldedIndices[i + 2]) * 3);\n if (positionsDecodeMatrix) {\n compa[0] = uniquePositions[ia];\n compa[1] = uniquePositions[ia + 1];\n compa[2] = uniquePositions[ia + 2];\n compb[0] = uniquePositions[ib];\n compb[1] = uniquePositions[ib + 1];\n compb[2] = uniquePositions[ib + 2];\n compc[0] = uniquePositions[ic];\n compc[1] = uniquePositions[ic + 1];\n compc[2] = uniquePositions[ic + 2];\n // Decode\n math.decompressPosition(compa, positionsDecodeMatrix, a);\n math.decompressPosition(compb, positionsDecodeMatrix, b);\n math.decompressPosition(compc, positionsDecodeMatrix, c);\n } else {\n a[0] = uniquePositions[ia];\n a[1] = uniquePositions[ia + 1];\n a[2] = uniquePositions[ia + 2];\n b[0] = uniquePositions[ib];\n b[1] = uniquePositions[ib + 1];\n b[2] = uniquePositions[ib + 2];\n c[0] = uniquePositions[ic];\n c[1] = uniquePositions[ic + 1];\n c[2] = uniquePositions[ic + 2];\n }\n math.subVec3(c, b, cb);\n math.subVec3(a, b, ab);\n math.cross3Vec3(cb, ab, cross);\n math.normalizeVec3(cross, normal);\n const face = faces[numFaces] || (faces[numFaces] = {normal: math.vec3()});\n face.normal[0] = normal[0];\n face.normal[1] = normal[1];\n face.normal[2] = normal[2];\n numFaces++;\n }\n }\n\n return function (positions, indices, positionsDecodeMatrix, edgeThreshold) {\n weldVertices(positions, indices);\n buildFaces(indices.length, positionsDecodeMatrix);\n const edgeIndices = [];\n const thresholdDot = Math.cos(math.DEGTORAD * edgeThreshold);\n const edges = {};\n let edge1;\n let edge2;\n let index1;\n let index2;\n let key;\n let largeIndex = false;\n let edge;\n let normal1;\n let normal2;\n let dot;\n let ia;\n let ib;\n for (let i = 0, len = indices.length; i < len; i += 3) {\n const faceIndex = i / 3;\n for (let j = 0; j < 3; j++) {\n edge1 = weldedIndices[i + j];\n edge2 = weldedIndices[i + ((j + 1) % 3)];\n index1 = Math.min(edge1, edge2);\n index2 = Math.max(edge1, edge2);\n key = index1 + ',' + index2;\n if (edges[key] === undefined) {\n edges[key] = {\n index1: index1,\n index2: index2,\n face1: faceIndex,\n face2: undefined,\n };\n } else {\n edges[key].face2 = faceIndex;\n }\n }\n }\n for (key in edges) {\n edge = edges[key];\n // an edge is only rendered if the angle (in degrees) between the face normals of the adjoining faces exceeds this value. default = 1 degree.\n if (edge.face2 !== undefined) {\n normal1 = faces[edge.face1].normal;\n normal2 = faces[edge.face2].normal;\n inverseNormal[0] = -normal2[0];\n inverseNormal[1] = -normal2[1];\n inverseNormal[2] = -normal2[2];\n dot = Math.abs(math.dotVec3(normal1, normal2));\n const dot2 = Math.abs(math.dotVec3(normal1, inverseNormal));\n if (dot > thresholdDot && dot2 > thresholdDot) {\n continue;\n }\n }\n ia = indicesReverseLookup[edge.index1];\n ib = indicesReverseLookup[edge.index2];\n if (!largeIndex && ia > 65535 || ib > 65535) {\n largeIndex = true;\n }\n edgeIndices.push(ia);\n edgeIndices.push(ib);\n }\n return (largeIndex) ? new Uint32Array(edgeIndices) : new Uint16Array(edgeIndices);\n };\n})();\n\n\nexport {buildEdgeIndices};","import {math} from \"../../lib/math.js\";\n\nfunction quantizePositions (positions, lenPositions, aabb, quantizedPositions) {\n const xmin = aabb[0];\n const ymin = aabb[1];\n const zmin = aabb[2];\n const xwid = aabb[3] - xmin;\n const ywid = aabb[4] - ymin;\n const zwid = aabb[5] - zmin;\n const maxInt = 65535;\n const xMultiplier = maxInt / xwid;\n const yMultiplier = maxInt / ywid;\n const zMultiplier = maxInt / zwid;\n const verify = (num) => num >= 0 ? num : 0;\n for (let i = 0; i < lenPositions; i += 3) {\n quantizedPositions[i + 0] = Math.max(0, Math.min(65535,Math.floor(verify(positions[i + 0] - xmin) * xMultiplier)));\n quantizedPositions[i + 1] = Math.max(0, Math.min(65535,Math.floor(verify(positions[i + 1] - ymin) * yMultiplier)));\n quantizedPositions[i + 2] = Math.max(0, Math.min(65535,Math.floor(verify(positions[i + 2] - zmin) * zMultiplier)));\n }\n}\n\nfunction compressPosition(p, aabb, q) {\n const multiplier = new Float32Array([\n aabb[3] !== aabb[0] ? 65535 / (aabb[3] - aabb[0]) : 0,\n aabb[4] !== aabb[1] ? 65535 / (aabb[4] - aabb[1]) : 0,\n aabb[5] !== aabb[2] ? 65535 / (aabb[5] - aabb[2]) : 0\n ]);\n q[0] = Math.max(0, Math.min(65535, Math.floor((p[0] - aabb[0]) * multiplier[0])));\n q[1] = Math.max(0, Math.min(65535, Math.floor((p[1] - aabb[1]) * multiplier[1])));\n q[2] = Math.max(0, Math.min(65535, Math.floor((p[2] - aabb[2]) * multiplier[2])));\n}\n\nvar createPositionsDecodeMatrix = (function () {\n const translate = math.mat4();\n const scale = math.mat4();\n return function (aabb, positionsDecodeMatrix) {\n positionsDecodeMatrix = positionsDecodeMatrix || math.mat4();\n const xmin = aabb[0];\n const ymin = aabb[1];\n const zmin = aabb[2];\n const xwid = aabb[3] - xmin;\n const ywid = aabb[4] - ymin;\n const zwid = aabb[5] - zmin;\n const maxInt = 65535;\n math.identityMat4(translate);\n math.translationMat4v(aabb, translate);\n math.identityMat4(scale);\n math.scalingMat4v([xwid / maxInt, ywid / maxInt, zwid / maxInt], scale);\n math.mulMat4(translate, scale, positionsDecodeMatrix);\n return positionsDecodeMatrix;\n };\n})();\n\nfunction transformAndOctEncodeNormals(modelNormalMatrix, normals, lenNormals, compressedNormals, lenCompressedNormals) {\n // http://jcgt.org/published/0003/02/01/\n let oct, dec, best, currentCos, bestCos;\n let i, ei;\n let localNormal = math.vec3();\n let worldNormal = math.vec3();\n for (i = 0; i < lenNormals; i += 3) {\n localNormal[0] = normals[i];\n localNormal[1] = normals[i + 1];\n localNormal[2] = normals[i + 2];\n\n math.transformVec3(modelNormalMatrix, localNormal, worldNormal);\n math.normalizeVec3(worldNormal, worldNormal);\n\n // Test various combinations of ceil and floor to minimize rounding errors\n best = oct = octEncodeVec3(worldNormal, 0, \"floor\", \"floor\");\n dec = octDecodeVec2(oct);\n currentCos = bestCos = dot(worldNormal, 0, dec);\n oct = octEncodeVec3(worldNormal, 0, \"ceil\", \"floor\");\n dec = octDecodeVec2(oct);\n currentCos = dot(worldNormal, 0, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n oct = octEncodeVec3(worldNormal, 0, \"floor\", \"ceil\");\n dec = octDecodeVec2(oct);\n currentCos = dot(worldNormal, 0, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n oct = octEncodeVec3(worldNormal, 0, \"ceil\", \"ceil\");\n dec = octDecodeVec2(oct);\n currentCos = dot(worldNormal, 0, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n compressedNormals[lenCompressedNormals + i + 0] = best[0];\n compressedNormals[lenCompressedNormals + i + 1] = best[1];\n compressedNormals[lenCompressedNormals + i + 2] = 0.0; // Unused\n }\n lenCompressedNormals += lenNormals;\n return lenCompressedNormals;\n}\n\nfunction octEncodeNormals(normals, lenNormals, compressedNormals, lenCompressedNormals) { // http://jcgt.org/published/0003/02/01/\n let oct, dec, best, currentCos, bestCos;\n for (let i = 0; i < lenNormals; i += 3) {\n // Test various combinations of ceil and floor to minimize rounding errors\n best = oct = octEncodeVec3(normals, i, \"floor\", \"floor\");\n dec = octDecodeVec2(oct);\n currentCos = bestCos = dot(normals, i, dec);\n oct = octEncodeVec3(normals, i, \"ceil\", \"floor\");\n dec = octDecodeVec2(oct);\n currentCos = dot(normals, i, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n oct = octEncodeVec3(normals, i, \"floor\", \"ceil\");\n dec = octDecodeVec2(oct);\n currentCos = dot(normals, i, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n oct = octEncodeVec3(normals, i, \"ceil\", \"ceil\");\n dec = octDecodeVec2(oct);\n currentCos = dot(normals, i, dec);\n if (currentCos > bestCos) {\n best = oct;\n bestCos = currentCos;\n }\n compressedNormals[lenCompressedNormals + i + 0] = best[0];\n compressedNormals[lenCompressedNormals + i + 1] = best[1];\n compressedNormals[lenCompressedNormals + i + 2] = 0.0; // Unused\n }\n lenCompressedNormals += lenNormals;\n return lenCompressedNormals;\n}\n\n/**\n * @private\n */\nfunction octEncodeVec3(array, i, xfunc, yfunc) { // Oct-encode single normal vector in 2 bytes\n let x = array[i] / (Math.abs(array[i]) + Math.abs(array[i + 1]) + Math.abs(array[i + 2]));\n let y = array[i + 1] / (Math.abs(array[i]) + Math.abs(array[i + 1]) + Math.abs(array[i + 2]));\n if (array[i + 2] < 0) {\n let tempx = (1 - Math.abs(y)) * (x >= 0 ? 1 : -1);\n let tempy = (1 - Math.abs(x)) * (y >= 0 ? 1 : -1);\n x = tempx;\n y = tempy;\n }\n return new Int8Array([\n Math[xfunc](x * 127.5 + (x < 0 ? -1 : 0)),\n Math[yfunc](y * 127.5 + (y < 0 ? -1 : 0))\n ]);\n}\n\n/**\n * Decode an oct-encoded normal\n */\nfunction octDecodeVec2(oct) {\n let x = oct[0];\n let y = oct[1];\n x /= x < 0 ? 127 : 128;\n y /= y < 0 ? 127 : 128;\n const z = 1 - Math.abs(x) - Math.abs(y);\n if (z < 0) {\n x = (1 - Math.abs(y)) * (x >= 0 ? 1 : -1);\n y = (1 - Math.abs(x)) * (y >= 0 ? 1 : -1);\n }\n const length = Math.sqrt(x * x + y * y + z * z);\n return [\n x / length,\n y / length,\n z / length\n ];\n}\n\n/**\n * Dot product of a normal in an array against a candidate decoding\n * @private\n */\nfunction dot(array, i, vec3) {\n return array[i] * vec3[0] + array[i + 1] * vec3[1] + array[i + 2] * vec3[2];\n}\n\n/**\n * @private\n */\nconst geometryCompression = {\n quantizePositions,\n compressPosition,\n createPositionsDecodeMatrix,\n transformAndOctEncodeNormals,\n octEncodeNormals,\n};\n\nexport {geometryCompression}","/**\n * Uses edge adjacency counts to identify if the given triangle mesh can be rendered with backface culling enabled.\n *\n * If all edges are connected to exactly two triangles, then the mesh will likely be a closed solid, and we can safely\n * render it with backface culling enabled.\n *\n * Otherwise, the mesh is a surface, and we must render it with backface culling disabled.\n *\n * @private\n */\nconst isTriangleMeshSolid = (indices, positions, vertexIndexMapping, edges) => {\n\n function compareIndexPositions(a, b)\n {\n let posA, posB;\n\n for (let i = 0; i < 3; i++) {\n posA = positions [a*3+i];\n posB = positions [b*3+i];\n\n if (posA !== posB) {\n return posB - posA;\n }\n }\n\n return 0;\n };\n\n // Group together indices corresponding to same position coordinates\n let newIndices = indices.slice ().sort (compareIndexPositions);\n\n // Calculate the mapping:\n // - from original index in indices array\n // - to indices-for-unique-positions\n let uniqueVertexIndex = null;\n\n for (let i = 0, len = newIndices.length; i < len; i++) {\n if (i == 0 || 0 != compareIndexPositions (\n newIndices[i],\n newIndices[i-1],\n )) {\n // different position\n uniqueVertexIndex = newIndices [i];\n }\n\n vertexIndexMapping [\n newIndices[i]\n ] = uniqueVertexIndex;\n }\n\n // Generate the list of edges\n for (let i = 0, len = indices.length; i < len; i += 3) {\n\n const a = vertexIndexMapping[indices[i]];\n const b = vertexIndexMapping[indices[i+1]];\n const c = vertexIndexMapping[indices[i+2]];\n\n let a2 = a;\n let b2 = b;\n let c2 = c;\n\n if (a > b && a > c) {\n if (b > c) {\n a2 = a;\n b2 = b;\n c2 = c;\n } else {\n a2 = a;\n b2 = c;\n c2 = b;\n }\n } else if (b > a && b > c) {\n if (a > c) {\n a2 = b;\n b2 = a;\n c2 = c;\n } else {\n a2 = b;\n b2 = c;\n c2 = a;\n }\n } else if (c > a && c > b) {\n if (a > b) {\n a2 = c;\n b2 = a;\n c2 = b;\n } else {\n a2 = c;\n b2 = b;\n c2 = a;\n }\n }\n\n edges[i+0] = [\n a2, b2\n ];\n edges[i+1] = [\n b2, c2\n ];\n\n if (a2 > c2) {\n const temp = c2;\n c2 = a2;\n a2 = temp;\n }\n\n edges[i+2] = [\n c2, a2\n ];\n }\n\n // Group semantically equivalent edgdes together\n function compareEdges (e1, e2) {\n let a, b;\n\n for (let i = 0; i < 2; i++) {\n a = e1[i];\n b = e2[i];\n\n if (b !== a) {\n return b - a;\n }\n }\n\n return 0;\n }\n\n edges = edges.slice(0, indices.length);\n\n edges.sort (compareEdges);\n\n // Make sure each edge is used exactly twice\n let sameEdgeCount = 0;\n\n for (let i = 0; i < edges.length; i++)\n {\n if (i === 0 || 0 !== compareEdges (\n edges[i], edges[i-1]\n )) {\n // different edge\n if (0 !== i && sameEdgeCount !== 2)\n {\n return false;\n }\n\n sameEdgeCount = 1;\n }\n else\n {\n // same edge\n sameEdgeCount++;\n }\n }\n\n if (edges.length > 0 && sameEdgeCount !== 2)\n {\n return false;\n }\n\n // Each edge is used exactly twice, this is a\n // watertight surface and hence a solid geometry.\n return true;\n};\n\nexport {isTriangleMeshSolid};","/**\n * @private\n * @param buf\n * @returns {ArrayBuffer}\n */\nexport function toArrayBuffer(buf) {\n const ab = new ArrayBuffer(buf.length);\n const view = new Uint8Array(ab);\n for (let i = 0; i < buf.length; ++i) {\n view[i] = buf[i];\n }\n return ab;\n}","function isString(value) {\n return (typeof value === 'string' || value instanceof String);\n}\n\nfunction apply(o, o2) {\n for (const name in o) {\n if (o.hasOwnProperty(name)) {\n o2[name] = o[name];\n }\n }\n return o2;\n}\n\n/**\n * @private\n */\nconst utils = {\n isString,\n apply\n};\n\nexport {utils};\n","import {XKT_INFO} from \"../XKT_INFO.js\";\nimport * as pako from 'pako';\n\nconst XKT_VERSION = XKT_INFO.xktVersion;\nconst NUM_TEXTURE_ATTRIBUTES = 9;\nconst NUM_MATERIAL_ATTRIBUTES = 6;\n\n/**\n * Writes an {@link XKTModel} to an {@link ArrayBuffer}.\n *\n * @param {XKTModel} xktModel The {@link XKTModel}.\n * @param {String} metaModelJSON The metamodel JSON in a string.\n * @param {Object} [stats] Collects statistics.\n * @param {Object} options Options for how the XKT is written.\n * @param {Boolean} [options.zip=true] ZIP the contents?\n * @returns {ArrayBuffer} The {@link ArrayBuffer}.\n */\nfunction writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, options) {\n if (! options.zip) {\n return writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats);\n }\n const data = getModelData(xktModel, metaModelJSON, stats);\n const deflatedData = deflateData(data, metaModelJSON, options);\n stats.texturesSize += deflatedData.textureData.byteLength;\n const arrayBuffer = createArrayBuffer(deflatedData);\n return arrayBuffer;\n}\n\n// V11\nfunction writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats) {\n const data = getModelData(xktModel, metaModelJSON, stats);\n stats.texturesSize += data.textureData.byteLength;\n\n const object2Array = (function() {\n const encoder = new TextEncoder();\n return obj => encoder.encode(JSON.stringify(obj));\n })();\n\n const arrays = [\n object2Array(metaModelJSON || data.metadata),\n data.textureData,\n data.eachTextureDataPortion,\n data.eachTextureAttributes,\n data.positions,\n data.normals,\n data.colors,\n data.uvs,\n data.indices,\n data.edgeIndices,\n data.eachTextureSetTextures,\n data.matrices,\n data.reusedGeometriesDecodeMatrix,\n data.eachGeometryPrimitiveType,\n data.eachGeometryPositionsPortion,\n data.eachGeometryNormalsPortion,\n data.eachGeometryColorsPortion,\n data.eachGeometryUVsPortion,\n data.eachGeometryIndicesPortion,\n data.eachGeometryEdgeIndicesPortion,\n data.eachMeshGeometriesPortion,\n data.eachMeshMatricesPortion,\n data.eachMeshTextureSet,\n data.eachMeshMaterialAttributes,\n object2Array(data.eachEntityId),\n data.eachEntityMeshesPortion,\n data.eachTileAABB,\n data.eachTileEntitiesPortion\n ];\n\n const arraysCnt = arrays.length;\n const dataView = new DataView(new ArrayBuffer((1 + 2 * arraysCnt) * 4));\n\n dataView.setUint32(0, XKT_VERSION, true);\n\n let byteOffset = dataView.byteLength;\n const offsets = [ ];\n\n // Store arrays' offsets and lengths\n for (let i = 0; i < arraysCnt; i++) {\n const arr = arrays[i];\n const BPE = arr.BYTES_PER_ELEMENT;\n // align to BPE, so the arrayBuffer can be used for a typed array\n byteOffset = Math.ceil(byteOffset / BPE) * BPE;\n const byteLength = arr.byteLength;\n\n const idx = 1 + 2 * i;\n dataView.setUint32(idx * 4, byteOffset, true);\n dataView.setUint32((idx + 1) * 4, byteLength, true);\n\n offsets.push(byteOffset);\n byteOffset += byteLength;\n }\n\n const dataArray = new Uint8Array(byteOffset);\n dataArray.set(new Uint8Array(dataView.buffer), 0);\n\n const requiresSwapToLittleEndian = (function() {\n const buffer = new ArrayBuffer(2);\n new Uint16Array(buffer)[0] = 1;\n return new Uint8Array(buffer)[0] !== 1;\n })();\n\n // Store arrays themselves\n for (let i = 0; i < arraysCnt; i++) {\n const arr = arrays[i];\n const subarray = new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength);\n\n const BPE = arr.BYTES_PER_ELEMENT;\n if (requiresSwapToLittleEndian && (BPE > 1)) {\n const swaps = BPE / 2;\n const cnt = subarray.length / BPE;\n for (let b = 0; b < cnt; b++) {\n const offset = b * BPE;\n for (let j = 0; j < swaps; j++) {\n const i1 = offset + j;\n const i2 = offset - j + BPE - 1;\n const tmp = subarray[i1];\n subarray[i1] = subarray[i2];\n subarray[i2] = tmp;\n }\n }\n }\n\n dataArray.set(subarray, offsets[i]);\n }\n\n return dataArray.buffer;\n}\n\nfunction getModelData(xktModel, metaModelDataStr, stats) {\n\n //------------------------------------------------------------------------------------------------------------------\n // Allocate data\n //------------------------------------------------------------------------------------------------------------------\n\n const propertySetsList = xktModel.propertySetsList;\n const metaObjectsList = xktModel.metaObjectsList;\n const geometriesList = xktModel.geometriesList;\n const texturesList = xktModel.texturesList;\n const textureSetsList = xktModel.textureSetsList;\n const meshesList = xktModel.meshesList;\n const entitiesList = xktModel.entitiesList;\n const tilesList = xktModel.tilesList;\n\n const numPropertySets = propertySetsList.length;\n const numMetaObjects = metaObjectsList.length;\n const numGeometries = geometriesList.length;\n const numTextures = texturesList.length;\n const numTextureSets = textureSetsList.length;\n const numMeshes = meshesList.length;\n const numEntities = entitiesList.length;\n const numTiles = tilesList.length;\n\n let lenPositions = 0;\n let lenNormals = 0;\n let lenColors = 0;\n let lenUVs = 0;\n let lenIndices = 0;\n let lenEdgeIndices = 0;\n let lenMatrices = 0;\n let lenTextures = 0;\n\n for (let geometryIndex = 0; geometryIndex < numGeometries; geometryIndex++) {\n const geometry = geometriesList [geometryIndex];\n if (geometry.positionsQuantized) {\n lenPositions += geometry.positionsQuantized.length;\n }\n if (geometry.normalsOctEncoded) {\n lenNormals += geometry.normalsOctEncoded.length;\n }\n if (geometry.colorsCompressed) {\n lenColors += geometry.colorsCompressed.length;\n }\n if (geometry.uvs) {\n lenUVs += geometry.uvs.length;\n }\n if (geometry.indices) {\n lenIndices += geometry.indices.length;\n }\n if (geometry.edgeIndices) {\n lenEdgeIndices += geometry.edgeIndices.length;\n }\n }\n\n for (let textureIndex = 0; textureIndex < numTextures; textureIndex++) {\n const xktTexture = texturesList[textureIndex];\n const imageData = xktTexture.imageData;\n lenTextures += imageData.byteLength;\n\n if (xktTexture.compressed) {\n stats.numCompressedTextures++;\n }\n }\n\n for (let meshIndex = 0; meshIndex < numMeshes; meshIndex++) {\n const mesh = meshesList[meshIndex];\n if (mesh.geometry.numInstances > 1) {\n lenMatrices += 16;\n }\n }\n\n const data = {\n metadata: {},\n textureData: new Uint8Array(lenTextures), // All textures\n eachTextureDataPortion: new Uint32Array(numTextures), // For each texture, an index to its first element in textureData\n eachTextureAttributes: new Uint16Array(numTextures * NUM_TEXTURE_ATTRIBUTES),\n positions: new Uint16Array(lenPositions), // All geometry arrays\n normals: new Int8Array(lenNormals),\n colors: new Uint8Array(lenColors),\n uvs: new Float32Array(lenUVs),\n indices: new Uint32Array(lenIndices),\n edgeIndices: new Uint32Array(lenEdgeIndices),\n eachTextureSetTextures: new Int32Array(numTextureSets * 5), // For each texture set, a set of five Texture indices [color, metal/roughness,normals,emissive,occlusion]; each index has value -1 if no texture\n matrices: new Float32Array(lenMatrices), // Modeling matrices for entities that share geometries. Each entity either shares all it's geometries, or owns all its geometries exclusively. Exclusively-owned geometries are pre-transformed into World-space, and so their entities don't have modeling matrices in this array.\n reusedGeometriesDecodeMatrix: new Float32Array(xktModel.reusedGeometriesDecodeMatrix), // A single, global vertex position de-quantization matrix for all reused geometries. Reused geometries are quantized to their collective Local-space AABB, and this matrix is derived from that AABB.\n eachGeometryPrimitiveType: new Uint8Array(numGeometries), // Primitive type for each geometry (0=solid triangles, 1=surface triangles, 2=lines, 3=points, 4=line-strip)\n eachGeometryPositionsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.positions. Every primitive type has positions.\n eachGeometryNormalsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.normals. If the next geometry has the same index, then this geometry has no normals.\n eachGeometryColorsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.colors. If the next geometry has the same index, then this geometry has no colors.\n eachGeometryUVsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.uvs. If the next geometry has the same index, then this geometry has no UVs.\n eachGeometryIndicesPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.indices. If the next geometry has the same index, then this geometry has no indices.\n eachGeometryEdgeIndicesPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.edgeIndices. If the next geometry has the same index, then this geometry has no edge indices.\n eachMeshGeometriesPortion: new Uint32Array(numMeshes), // For each mesh, an index into the eachGeometry* arrays\n eachMeshMatricesPortion: new Uint32Array(numMeshes), // For each mesh that shares its geometry, an index to its first element in data.matrices, to indicate the modeling matrix that transforms the shared geometry Local-space vertex positions. This is ignored for meshes that don't share geometries, because the vertex positions of non-shared geometries are pre-transformed into World-space.\n eachMeshTextureSet: new Int32Array(numMeshes), // For each mesh, the index of its texture set in data.eachTextureSetTextures; this array contains signed integers so that we can use -1 to indicate when a mesh has no texture set\n eachMeshMaterialAttributes: new Uint8Array(numMeshes * NUM_MATERIAL_ATTRIBUTES), // For each mesh, an RGBA integer color of format [0..255, 0..255, 0..255, 0..255], and PBR metallic and roughness factors, of format [0..255, 0..255]\n eachEntityId: [], // For each entity, an ID string\n eachEntityMeshesPortion: new Uint32Array(numEntities), // For each entity, the index of the first element of meshes used by the entity\n eachTileAABB: new Float64Array(numTiles * 6), // For each tile, an axis-aligned bounding box\n eachTileEntitiesPortion: new Uint32Array(numTiles) // For each tile, the index of the first element of eachEntityId, eachEntityMeshesPortion and eachEntityMatricesPortion used by the tile\n };\n\n let countPositions = 0;\n let countNormals = 0;\n let countColors = 0;\n let countUVs = 0;\n let countIndices = 0;\n let countEdgeIndices = 0;\n\n // Metadata\n\n data.metadata = {\n id: xktModel.modelId,\n projectId: xktModel.projectId,\n revisionId: xktModel.revisionId,\n author: xktModel.author,\n createdAt: xktModel.createdAt,\n creatingApplication: xktModel.creatingApplication,\n schema: xktModel.schema,\n propertySets: [],\n metaObjects: []\n };\n\n // Property sets\n\n for (let propertySetsIndex = 0; propertySetsIndex < numPropertySets; propertySetsIndex++) {\n const propertySet = propertySetsList[propertySetsIndex];\n const propertySetJSON = {\n id: \"\" + propertySet.propertySetId,\n name: propertySet.propertySetName,\n type: propertySet.propertySetType,\n properties: propertySet.properties\n };\n data.metadata.propertySets.push(propertySetJSON);\n }\n\n // Metaobjects\n\n if (!metaModelDataStr) {\n for (let metaObjectsIndex = 0; metaObjectsIndex < numMetaObjects; metaObjectsIndex++) {\n const metaObject = metaObjectsList[metaObjectsIndex];\n const metaObjectJSON = {\n name: metaObject.metaObjectName,\n type: metaObject.metaObjectType,\n id: \"\" + metaObject.metaObjectId\n };\n if (metaObject.parentMetaObjectId !== undefined && metaObject.parentMetaObjectId !== null) {\n metaObjectJSON.parent = \"\" + metaObject.parentMetaObjectId;\n }\n if (metaObject.propertySetIds && metaObject.propertySetIds.length > 0) {\n metaObjectJSON.propertySetIds = metaObject.propertySetIds;\n }\n if (metaObject.external) {\n metaObjectJSON.external = metaObject.external;\n }\n data.metadata.metaObjects.push(metaObjectJSON);\n }\n }\n\n // Geometries\n\n for (let geometryIndex = 0; geometryIndex < numGeometries; geometryIndex++) {\n const geometry = geometriesList [geometryIndex];\n let primitiveType = 1;\n switch (geometry.primitiveType) {\n case \"triangles\":\n primitiveType = geometry.solid ? 0 : 1;\n break;\n case \"points\":\n primitiveType = 2;\n break;\n case \"lines\":\n primitiveType = 3;\n break;\n case \"line-strip\":\n case \"line-loop\":\n primitiveType = 4;\n break;\n case \"triangle-strip\":\n primitiveType = 5;\n break;\n case \"triangle-fan\":\n primitiveType = 6;\n break;\n default:\n primitiveType = 1\n }\n data.eachGeometryPrimitiveType [geometryIndex] = primitiveType;\n data.eachGeometryPositionsPortion [geometryIndex] = countPositions;\n data.eachGeometryNormalsPortion [geometryIndex] = countNormals;\n data.eachGeometryColorsPortion [geometryIndex] = countColors;\n data.eachGeometryUVsPortion [geometryIndex] = countUVs;\n data.eachGeometryIndicesPortion [geometryIndex] = countIndices;\n data.eachGeometryEdgeIndicesPortion [geometryIndex] = countEdgeIndices;\n if (geometry.positionsQuantized) {\n data.positions.set(geometry.positionsQuantized, countPositions);\n countPositions += geometry.positionsQuantized.length;\n }\n if (geometry.normalsOctEncoded) {\n data.normals.set(geometry.normalsOctEncoded, countNormals);\n countNormals += geometry.normalsOctEncoded.length;\n }\n if (geometry.colorsCompressed) {\n data.colors.set(geometry.colorsCompressed, countColors);\n countColors += geometry.colorsCompressed.length;\n }\n if (geometry.uvs) {\n data.uvs.set(geometry.uvs, countUVs);\n countUVs += geometry.uvs.length;\n }\n if (geometry.indices) {\n data.indices.set(geometry.indices, countIndices);\n countIndices += geometry.indices.length;\n }\n if (geometry.edgeIndices) {\n data.edgeIndices.set(geometry.edgeIndices, countEdgeIndices);\n countEdgeIndices += geometry.edgeIndices.length;\n }\n }\n\n // Textures\n\n for (let textureIndex = 0, numTextures = xktModel.texturesList.length, portionIdx = 0; textureIndex < numTextures; textureIndex++) {\n const xktTexture = xktModel.texturesList[textureIndex];\n const imageData = xktTexture.imageData;\n data.textureData.set(imageData, portionIdx);\n data.eachTextureDataPortion[textureIndex] = portionIdx;\n\n portionIdx += imageData.byteLength;\n\n let textureAttrIdx = textureIndex * NUM_TEXTURE_ATTRIBUTES;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.compressed ? 1 : 0;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.mediaType; // GIFMediaType | PNGMediaType | JPEGMediaType\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.width;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.height;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.minFilter; // LinearMipmapLinearFilter | LinearMipMapNearestFilter | NearestMipMapNearestFilter | NearestMipMapLinearFilter | LinearMipMapLinearFilter\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.magFilter; // LinearFilter | NearestFilter\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapS; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapT; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapR; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n }\n\n // Texture sets\n\n for (let textureSetIndex = 0, numTextureSets = xktModel.textureSetsList.length, eachTextureSetTexturesIndex = 0; textureSetIndex < numTextureSets; textureSetIndex++) {\n const textureSet = textureSetsList[textureSetIndex];\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.colorTexture ? textureSet.colorTexture.textureIndex : -1; // Color map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.metallicRoughnessTexture ? textureSet.metallicRoughnessTexture.textureIndex : -1; // Metal/rough map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.normalsTexture ? textureSet.normalsTexture.textureIndex : -1; // Normal map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.emissiveTexture ? textureSet.emissiveTexture.textureIndex : -1; // Emissive map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.occlusionTexture ? textureSet.occlusionTexture.textureIndex : -1; // Occlusion map\n }\n\n // Tiles -> Entities -> Meshes\n\n let entityIndex = 0;\n let countEntityMeshesPortion = 0;\n let eachMeshMaterialAttributesIndex = 0;\n let matricesIndex = 0;\n let meshIndex = 0;\n\n for (let tileIndex = 0; tileIndex < numTiles; tileIndex++) {\n\n const tile = tilesList [tileIndex];\n const tileEntities = tile.entities;\n const numTileEntities = tileEntities.length;\n\n if (numTileEntities === 0) {\n continue;\n }\n\n data.eachTileEntitiesPortion[tileIndex] = entityIndex;\n\n const tileAABB = tile.aabb;\n\n for (let j = 0; j < numTileEntities; j++) {\n\n const entity = tileEntities[j];\n const entityMeshes = entity.meshes;\n const numEntityMeshes = entityMeshes.length;\n\n for (let k = 0; k < numEntityMeshes; k++) {\n\n const mesh = entityMeshes[k];\n const geometry = mesh.geometry;\n const geometryIndex = geometry.geometryIndex;\n\n data.eachMeshGeometriesPortion [countEntityMeshesPortion + k] = geometryIndex;\n\n if (mesh.geometry.numInstances > 1) {\n data.matrices.set(mesh.matrix, matricesIndex);\n data.eachMeshMatricesPortion [meshIndex] = matricesIndex;\n matricesIndex += 16;\n }\n\n data.eachMeshTextureSet[meshIndex] = mesh.textureSet ? mesh.textureSet.textureSetIndex : -1;\n\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[0] * 255); // Color RGB\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[1] * 255);\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[2] * 255);\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.opacity * 255); // Opacity\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.metallic * 255); // Metallic\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.roughness * 255); // Roughness\n\n meshIndex++;\n }\n\n data.eachEntityId [entityIndex] = entity.entityId;\n data.eachEntityMeshesPortion[entityIndex] = countEntityMeshesPortion; // <<<<<<<<<<<<<<<<<<<< Error here? Order/value of countEntityMeshesPortion correct?\n\n entityIndex++;\n countEntityMeshesPortion += numEntityMeshes;\n }\n\n const tileAABBIndex = tileIndex * 6;\n\n data.eachTileAABB.set(tileAABB, tileAABBIndex);\n }\n\n return data;\n}\n\nfunction deflateData(data, metaModelJSON, options) {\n\n function deflate(buffer) {\n return (options.zip !== false) ? pako.deflate(buffer) : buffer;\n }\n\n let metaModelBytes;\n if (metaModelJSON) {\n const deflatedJSON = deflateJSON(metaModelJSON);\n metaModelBytes = deflate(deflatedJSON)\n } else {\n const deflatedJSON = deflateJSON(data.metadata);\n metaModelBytes = deflate(deflatedJSON)\n }\n\n return {\n metadata: metaModelBytes,\n textureData: deflate(data.textureData.buffer),\n eachTextureDataPortion: deflate(data.eachTextureDataPortion.buffer),\n eachTextureAttributes: deflate(data.eachTextureAttributes.buffer),\n positions: deflate(data.positions.buffer),\n normals: deflate(data.normals.buffer),\n colors: deflate(data.colors.buffer),\n uvs: deflate(data.uvs.buffer),\n indices: deflate(data.indices.buffer),\n edgeIndices: deflate(data.edgeIndices.buffer),\n eachTextureSetTextures: deflate(data.eachTextureSetTextures.buffer),\n matrices: deflate(data.matrices.buffer),\n reusedGeometriesDecodeMatrix: deflate(data.reusedGeometriesDecodeMatrix.buffer),\n eachGeometryPrimitiveType: deflate(data.eachGeometryPrimitiveType.buffer),\n eachGeometryPositionsPortion: deflate(data.eachGeometryPositionsPortion.buffer),\n eachGeometryNormalsPortion: deflate(data.eachGeometryNormalsPortion.buffer),\n eachGeometryColorsPortion: deflate(data.eachGeometryColorsPortion.buffer),\n eachGeometryUVsPortion: deflate(data.eachGeometryUVsPortion.buffer),\n eachGeometryIndicesPortion: deflate(data.eachGeometryIndicesPortion.buffer),\n eachGeometryEdgeIndicesPortion: deflate(data.eachGeometryEdgeIndicesPortion.buffer),\n eachMeshGeometriesPortion: deflate(data.eachMeshGeometriesPortion.buffer),\n eachMeshMatricesPortion: deflate(data.eachMeshMatricesPortion.buffer),\n eachMeshTextureSet: deflate(data.eachMeshTextureSet.buffer),\n eachMeshMaterialAttributes: deflate(data.eachMeshMaterialAttributes.buffer),\n eachEntityId: deflate(JSON.stringify(data.eachEntityId)\n .replace(/[\\u007F-\\uFFFF]/g, function (chr) { // Produce only ASCII-chars, so that the data can be inflated later\n return \"\\\\u\" + (\"0000\" + chr.charCodeAt(0).toString(16)).substr(-4)\n })),\n eachEntityMeshesPortion: deflate(data.eachEntityMeshesPortion.buffer),\n eachTileAABB: deflate(data.eachTileAABB.buffer),\n eachTileEntitiesPortion: deflate(data.eachTileEntitiesPortion.buffer)\n };\n}\n\nfunction deflateJSON(strings) {\n return JSON.stringify(strings)\n .replace(/[\\u007F-\\uFFFF]/g, function (chr) { // Produce only ASCII-chars, so that the data can be inflated later\n return \"\\\\u\" + (\"0000\" + chr.charCodeAt(0).toString(16)).substr(-4)\n });\n}\n\nfunction createArrayBuffer(deflatedData) {\n return toArrayBuffer([\n deflatedData.metadata,\n deflatedData.textureData,\n deflatedData.eachTextureDataPortion,\n deflatedData.eachTextureAttributes,\n deflatedData.positions,\n deflatedData.normals,\n deflatedData.colors,\n deflatedData.uvs,\n deflatedData.indices,\n deflatedData.edgeIndices,\n deflatedData.eachTextureSetTextures,\n deflatedData.matrices,\n deflatedData.reusedGeometriesDecodeMatrix,\n deflatedData.eachGeometryPrimitiveType,\n deflatedData.eachGeometryPositionsPortion,\n deflatedData.eachGeometryNormalsPortion,\n deflatedData.eachGeometryColorsPortion,\n deflatedData.eachGeometryUVsPortion,\n deflatedData.eachGeometryIndicesPortion,\n deflatedData.eachGeometryEdgeIndicesPortion,\n deflatedData.eachMeshGeometriesPortion,\n deflatedData.eachMeshMatricesPortion,\n deflatedData.eachMeshTextureSet,\n deflatedData.eachMeshMaterialAttributes,\n deflatedData.eachEntityId,\n deflatedData.eachEntityMeshesPortion,\n deflatedData.eachTileAABB,\n deflatedData.eachTileEntitiesPortion\n ]);\n}\n\nfunction toArrayBuffer(elements) {\n const indexData = new Uint32Array(elements.length + 2);\n indexData[0] = 10; // XKT_VERSION for legacy v10 mode\n indexData [1] = elements.length; // Stored Data 1.1: number of stored elements\n let dataLen = 0; // Stored Data 1.2: length of stored elements\n for (let i = 0, len = elements.length; i < len; i++) {\n const element = elements[i];\n const elementsize = element.length;\n indexData[i + 2] = elementsize;\n dataLen += elementsize;\n }\n const indexBuf = new Uint8Array(indexData.buffer);\n const dataArray = new Uint8Array(indexBuf.length + dataLen);\n dataArray.set(indexBuf);\n let offset = indexBuf.length;\n for (let i = 0, len = elements.length; i < len; i++) { // Stored Data 2: the elements themselves\n const element = elements[i];\n dataArray.set(element, offset);\n offset += element.length;\n }\n return dataArray.buffer;\n}\n\nexport {writeXKTModelToArrayBuffer};","/**\n * @desc Provides info on the XKT generated by xeokit-convert.\n */\nconst XKT_INFO = {\n\n /**\n * The XKT version generated by xeokit-convert.\n *\n * This is the XKT version that's modeled by {@link XKTModel}, serialized\n * by {@link writeXKTModelToArrayBuffer}, and written by {@link convert2xkt}.\n *\n * * Current XKT version: **10**\n * * [XKT format specs](https://github.com/xeokit/xeokit-convert/blob/main/specs/index.md)\n *\n * @property xktVersion\n * @type {number}\n */\n xktVersion: 11\n};\n\nexport {XKT_INFO};","/*----------------------------------------------------------------------------------------------------------------------\n * NOTE: The values of these constants must match those within xeokit-sdk\n *--------------------------------------------------------------------------------------------------------------------*/\n\n/**\n * Texture wrapping mode in which the texture repeats to infinity.\n */\nexport const RepeatWrapping = 1000;\n\n/**\n * Texture wrapping mode in which the last pixel of the texture stretches to the edge of the mesh.\n */\nexport const ClampToEdgeWrapping = 1001;\n\n/**\n * Texture wrapping mode in which the texture repeats to infinity, mirroring on each repeat.\n */\nexport const MirroredRepeatWrapping = 1002;\n\n/**\n * Texture magnification and minification filter that returns the nearest texel to the given sample coordinates.\n */\nexport const NearestFilter = 1003;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured and returns the nearest texel to the given sample coordinates.\n */\nexport const NearestMipMapNearestFilter = 1004;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured\n * and returns the nearest texel to the given sample coordinates.\n */\nexport const NearestMipmapNearestFilter = 1004;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured\n * and returns the nearest texel to the center of the pixel at the given sample coordinates.\n */\nexport const NearestMipmapLinearFilter = 1005;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured\n * and returns the nearest texel to the center of the pixel at the given sample coordinates.\n */\nexport const NearestMipMapLinearFilter = 1005;\n\n/**\n * Texture magnification and minification filter that returns the weighted average of the four nearest texels to the given sample coordinates.\n */\nexport const LinearFilter = 1006;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured and\n * returns the weighted average of the four nearest texels to the given sample coordinates.\n */\nexport const LinearMipmapNearestFilter = 1007;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured and\n * returns the weighted average of the four nearest texels to the given sample coordinates.\n */\nexport const LinearMipMapNearestFilter = 1007;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured,\n * finds within each mipmap the weighted average of the nearest texel to the center of the pixel, then returns the\n * weighted average of those two values.\n */\nexport const LinearMipmapLinearFilter = 1008;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured,\n * finds within each mipmap the weighted average of the nearest texel to the center of the pixel, then returns the\n * weighted average of those two values.\n */\nexport const LinearMipMapLinearFilter = 1008;\n\n/**\n * Media type for GIF images.\n */\nexport const GIFMediaType = 10000;\n\n/**\n * Media type for JPEG images.\n */\nexport const JPEGMediaType = 10001;\n\n/**\n * Media type for PNG images.\n */\nexport const PNGMediaType = 10002;","import {XKT_INFO} from \"./XKT_INFO.js\";\nimport {XKTModel} from \"./XKTModel/XKTModel.js\";\nimport {parseCityJSONIntoXKTModel} from \"./parsers/parseCityJSONIntoXKTModel.js\";\nimport {parseGLTFIntoXKTModel} from \"./parsers/parseGLTFIntoXKTModel.js\";\nimport {parseIFCIntoXKTModel} from \"./parsers/parseIFCIntoXKTModel.js\";\nimport {parseLASIntoXKTModel} from \"./parsers/parseLASIntoXKTModel.js\";\nimport {parsePCDIntoXKTModel} from \"./parsers/parsePCDIntoXKTModel.js\";\nimport {parsePLYIntoXKTModel} from \"./parsers/parsePLYIntoXKTModel.js\";\nimport {parseSTLIntoXKTModel} from \"./parsers/parseSTLIntoXKTModel.js\";\nimport {writeXKTModelToArrayBuffer} from \"./XKTModel/writeXKTModelToArrayBuffer.js\";\n\nimport {toArrayBuffer} from \"./XKTModel/lib/toArraybuffer\";\n\nconst fs = require('fs');\nconst path = require(\"path\");\n\n/**\n * Converts model files into xeokit's native XKT format.\n *\n * Supported source formats are: IFC, CityJSON, glTF, LAZ and LAS.\n *\n * **Only bundled in xeokit-convert.cjs.js.**\n *\n * ## Usage\n *\n * ````javascript\n * const convert2xkt = require(\"@xeokit/xeokit-convert/dist/convert2xkt.cjs.js\");\n * const fs = require('fs');\n *\n * convert2xkt({\n * sourceData: fs.readFileSync(\"rme_advanced_sample_project.ifc\"),\n * outputXKT: (xtkArrayBuffer) => {\n * fs.writeFileSync(\"rme_advanced_sample_project.ifc.xkt\", xtkArrayBuffer);\n * }\n * }).then(() => {\n * console.log(\"Converted.\");\n * }, (errMsg) => {\n * console.error(\"Conversion failed: \" + errMsg)\n * });\n ````\n * @param {Object} params Conversion parameters.\n * @param {Object} params.WebIFC The WebIFC library. We pass this in as an external dependency, in order to give the\n * caller the choice of whether to use the Browser or NodeJS version.\n * @param {*} [params.configs] Configurations.\n * @param {String} [params.source] Path to source file. Alternative to ````sourceData````.\n * @param {ArrayBuffer|JSON} [params.sourceData] Source file data. Alternative to ````source````.\n * @param {String} [params.sourceFormat] Format of source file/data. Always needed with ````sourceData````, but not normally needed with ````source````, because convert2xkt will determine the format automatically from the file extension of ````source````.\n * @param {String} [params.metaModelDataStr] Source file data. Overrides metadata from ````metaModelSource````, ````sourceData```` and ````source````.\n * @param {String} [params.metaModelSource] Path to source metaModel file. Overrides metadata from ````sourceData```` and ````source````. Overridden by ````metaModelData````.\n * @param {String} [params.output] Path to destination XKT file. Directories on this path are automatically created if not existing.\n * @param {Function} [params.outputXKTModel] Callback to collect the ````XKTModel```` that is internally build by this method.\n * @param {Function} [params.outputXKT] Callback to collect XKT file data.\n * @param {String[]} [params.includeTypes] Option to only convert objects of these types.\n * @param {String[]} [params.excludeTypes] Option to never convert objects of these types.\n * @param {Object} [stats] Collects conversion statistics. Statistics are attached to this object if provided.\n * @param {Function} [params.outputStats] Callback to collect statistics.\n * @param {Boolean} [params.rotateX=false] Whether to rotate the model 90 degrees about the X axis to make the Y axis \"up\", if necessary. Applies to CityJSON and LAS/LAZ models.\n * @param {Boolean} [params.reuseGeometries=true] When true, will enable geometry reuse within the XKT. When false,\n * will automatically \"expand\" all reused geometries into duplicate copies. This has the drawback of increasing the XKT\n * file size (~10-30% for typical models), but can make the model more responsive in the xeokit Viewer, especially if the model\n * has excessive geometry reuse. An example of excessive geometry reuse would be when a model (eg. glTF) has 4000 geometries that are\n * shared amongst 2000 objects, ie. a large number of geometries with a low amount of reuse, which can present a\n * pathological performance case for xeokit's underlying graphics APIs (WebGL, WebGPU etc).\n * @param {Boolean} [params.includeTextures=true] Whether to convert textures. Only works for ````glTF```` models.\n * @param {Boolean} [params.includeNormals=true] Whether to convert normals. When false, the parser will ignore\n * geometry normals, and the modelwill rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the model.\n * @param {Number} [params.minTileSize=200] Minimum RTC coordinate tile size. Set this to a value between 100 and 10000,\n * depending on how far from the coordinate origin the model's vertex positions are; specify larger tile sizes when close\n * to the origin, and smaller sizes when distant. This compensates for decreasing precision as floats get bigger.\n * @param {Function} [params.log] Logging callback.\n * @return {Promise}\n */\nfunction convert2xkt({\n WebIFC,\n configs = {},\n source,\n sourceData,\n sourceFormat,\n metaModelSource,\n metaModelDataStr,\n modelAABB,\n output,\n outputXKTModel,\n outputXKT,\n includeTypes,\n excludeTypes,\n reuseGeometries = true,\n minTileSize = 200,\n stats = {},\n outputStats,\n rotateX = false,\n includeTextures = true,\n includeNormals = true,\n zip = true,\n log = function (msg) {\n }\n }) {\n\n stats.sourceFormat = \"\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 0;\n stats.numPropertySets = 0;\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numUVs = 0;\n stats.numTextures = 0;\n stats.numTextureSets = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n stats.sourceSize = 0;\n stats.xktSize = 0;\n stats.texturesSize = 0;\n stats.xktVersion = \"\";\n stats.compressionRatio = 0;\n stats.conversionTime = 0;\n stats.aabb = null;\n\n function getFileExtension(fileName) {\n let ext = path.extname(fileName);\n if (ext.charAt(0) === \".\") {\n ext = ext.substring(1);\n }\n return ext;\n }\n\n return new Promise(function (resolve, reject) {\n const _log = log;\n log = (msg) => {\n _log(`[convert2xkt] ${msg}`)\n }\n\n if (!source && !sourceData) {\n reject(\"Argument expected: source or sourceData\");\n return;\n }\n\n if (!sourceFormat && sourceData) {\n reject(\"Argument expected: sourceFormat is required with sourceData\");\n return;\n }\n\n if (!output && !outputXKTModel && !outputXKT) {\n reject(\"Argument expected: output, outputXKTModel or outputXKT\");\n return;\n }\n\n if (source) {\n log('Reading input file: ' + source);\n }\n\n const startTime = new Date();\n\n const sourceConfigs = configs.sourceConfigs || {};\n const ext = sourceFormat || getFileExtension(source);\n\n log(`Input file extension: \"${ext}\"`);\n\n let fileTypeConfigs = sourceConfigs[ext];\n\n if (!fileTypeConfigs) {\n log(`[WARNING] Could not find configs sourceConfigs entry for source format \"${ext}\". This is derived from the source file name extension. Will use internal default configs.`);\n fileTypeConfigs = {};\n }\n\n function overrideOption(option1, option2) {\n if (option1 !== undefined) {\n return option1;\n }\n return option2;\n }\n\n if (!sourceData) {\n try {\n sourceData = fs.readFileSync(source);\n } catch (err) {\n reject(err);\n return;\n }\n }\n\n const sourceFileSizeBytes = sourceData.byteLength;\n\n log(\"Input file size: \" + (sourceFileSizeBytes / 1000).toFixed(2) + \" kB\");\n\n if (!metaModelDataStr && metaModelSource) {\n log('Reading input metadata file: ' + metaModelSource);\n try {\n metaModelDataStr = fs.readFileSync(metaModelSource);\n } catch (err) {\n reject(err);\n return;\n }\n } else {\n log(`Not embedding metadata in XKT`);\n }\n\n let metaModelJSON;\n\n if (metaModelDataStr) {\n try {\n metaModelJSON = JSON.parse(metaModelDataStr);\n } catch (e) {\n metaModelJSON = {};\n log(`Error parsing metadata JSON: ${e}`);\n }\n }\n\n minTileSize = overrideOption(fileTypeConfigs.minTileSize, minTileSize);\n rotateX = overrideOption(fileTypeConfigs.rotateX, rotateX);\n reuseGeometries = overrideOption(fileTypeConfigs.reuseGeometries, reuseGeometries);\n includeTextures = overrideOption(fileTypeConfigs.includeTextures, includeTextures);\n includeNormals = overrideOption(fileTypeConfigs.includeNormals, includeNormals);\n includeTypes = overrideOption(fileTypeConfigs.includeTypes, includeTypes);\n excludeTypes = overrideOption(fileTypeConfigs.excludeTypes, excludeTypes);\n\n if (reuseGeometries === false) {\n log(\"Geometry reuse is disabled\");\n }\n\n const xktModel = new XKTModel({\n minTileSize,\n modelAABB\n });\n\n switch (ext) {\n case \"json\":\n convert(parseCityJSONIntoXKTModel, {\n data: JSON.parse(sourceData),\n xktModel,\n stats,\n rotateX,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n log\n });\n break;\n\n case \"glb\":\n sourceData = toArrayBuffer(sourceData);\n convert(parseGLTFIntoXKTModel, {\n data: sourceData,\n reuseGeometries,\n includeTextures: true,\n includeNormals,\n metaModelData: metaModelJSON,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"gltf\":\n sourceData = toArrayBuffer(sourceData);\n const gltfBasePath = source ? path.dirname(source) : \"\";\n convert(parseGLTFIntoXKTModel, {\n baseUri: gltfBasePath,\n data: sourceData,\n reuseGeometries,\n includeTextures: true,\n includeNormals,\n metaModelData: metaModelJSON,\n xktModel,\n stats,\n log\n });\n break;\n\n // case \"gltf\":\n // const gltfJSON = JSON.parse(sourceData);\n // const gltfBasePath = source ? getBasePath(source) : \"\";\n // convert(parseGLTFIntoXKTModel, {\n // baseUri: gltfBasePath,\n // data: gltfJSON,\n // reuseGeometries,\n // includeTextures,\n // includeNormals,\n // metaModelData: metaModelJSON,\n // xktModel,\n // getAttachment: async (name) => {\n // const filePath = gltfBasePath + name;\n // log(`Reading attachment file: ${filePath}`);\n // const buffer = fs.readFileSync(filePath);\n // const arrayBuf = toArrayBuffer(buffer);\n // return arrayBuf;\n // },\n // stats,\n // log\n // });\n // break;\n\n case \"ifc\":\n convert(parseIFCIntoXKTModel, {\n WebIFC,\n data: sourceData,\n xktModel,\n wasmPath: \"./\",\n includeTypes,\n excludeTypes,\n stats,\n log\n });\n break;\n\n case \"laz\":\n convert(parseLASIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n fp64: fileTypeConfigs.fp64,\n colorDepth: fileTypeConfigs.colorDepth,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n skip: overrideOption(fileTypeConfigs.skip, 1),\n log\n });\n break;\n\n case \"las\":\n convert(parseLASIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n fp64: fileTypeConfigs.fp64,\n colorDepth: fileTypeConfigs.colorDepth,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n skip: overrideOption(fileTypeConfigs.skip, 1),\n log\n });\n break;\n\n case \"pcd\":\n convert(parsePCDIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"ply\":\n convert(parsePLYIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"stl\":\n convert(parseSTLIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n default:\n reject(`Error: unsupported source format: \"${ext}\".`);\n return;\n }\n\n function convert(parser, converterParams) {\n\n parser(converterParams).then(() => {\n\n if (!metaModelJSON) {\n log(\"Creating default metamodel in XKT\");\n xktModel.createDefaultMetaObjects();\n }\n\n log(\"Input file parsed OK. Building XKT document...\");\n\n xktModel.finalize().then(() => {\n\n log(\"XKT document built OK. Writing to XKT file...\");\n\n const xktArrayBuffer = writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, {zip: zip});\n\n const xktContent = Buffer.from(xktArrayBuffer);\n\n const targetFileSizeBytes = xktArrayBuffer.byteLength;\n\n stats.minTileSize = minTileSize || 200;\n stats.sourceSize = (sourceFileSizeBytes / 1000).toFixed(2);\n stats.xktSize = (targetFileSizeBytes / 1000).toFixed(2);\n stats.xktVersion = zip ? 10 : XKT_INFO.xktVersion;\n stats.compressionRatio = (sourceFileSizeBytes / targetFileSizeBytes).toFixed(2);\n stats.conversionTime = ((new Date() - startTime) / 1000.0).toFixed(2);\n stats.aabb = xktModel.aabb;\n log(`Converted to: XKT v${stats.xktVersion}`);\n if (includeTypes) {\n log(\"Include types: \" + (includeTypes ? includeTypes : \"(include all)\"));\n }\n if (excludeTypes) {\n log(\"Exclude types: \" + (excludeTypes ? excludeTypes : \"(exclude none)\"));\n }\n log(\"XKT size: \" + stats.xktSize + \" kB\");\n log(\"XKT textures size: \" + (stats.texturesSize / 1000).toFixed(2) + \"kB\");\n log(\"Compression ratio: \" + stats.compressionRatio);\n log(\"Conversion time: \" + stats.conversionTime + \" s\");\n log(\"Converted metaobjects: \" + stats.numMetaObjects);\n log(\"Converted property sets: \" + stats.numPropertySets);\n log(\"Converted drawable objects: \" + stats.numObjects);\n log(\"Converted geometries: \" + stats.numGeometries);\n log(\"Converted textures: \" + stats.numTextures);\n log(\"Converted textureSets: \" + stats.numTextureSets);\n log(\"Converted triangles: \" + stats.numTriangles);\n log(\"Converted vertices: \" + stats.numVertices);\n log(\"Converted UVs: \" + stats.numUVs);\n log(\"Converted normals: \" + stats.numNormals);\n log(\"Converted tiles: \" + xktModel.tilesList.length);\n log(\"minTileSize: \" + stats.minTileSize);\n\n if (output) {\n const outputDir = path.dirname(output);\n if (outputDir !== \"\" && !fs.existsSync(outputDir)) {\n fs.mkdirSync(outputDir, {recursive: true});\n }\n log('Writing XKT file: ' + output);\n fs.writeFileSync(output, xktContent);\n }\n\n if (outputXKTModel) {\n outputXKTModel(xktModel);\n }\n\n if (outputXKT) {\n outputXKT(xktContent);\n }\n\n if (outputStats) {\n outputStats(stats);\n }\n\n resolve();\n });\n }, (err) => {\n reject(err);\n });\n }\n });\n}\n\nexport {convert2xkt};","/**\n * @desc Creates box-shaped triangle mesh geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a box-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildBoxGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const box = buildBoxGeometry({\n * primitiveType: \"triangles\" // or \"lines\"\n * center: [0,0,0],\n * xSize: 1, // Half-size on each axis\n * ySize: 1,\n * zSize: 1\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"boxGeometry\",\n * primitiveType: box.primitiveType,\n * positions: box.positions,\n * normals: box.normals,\n * indices: box.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redBoxMesh\",\n * geometryId: \"boxGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redBox\",\n * meshIds: [\"redBoxMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildBoxGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.xSize=1.0] Half-size on the X-axis.\n * @param {Number} [cfg.ySize=1.0] Half-size on the Y-axis.\n * @param {Number} [cfg.zSize=1.0] Half-size on the Z-axis.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildBoxGeometry(cfg = {}) {\n\n let xSize = cfg.xSize || 1;\n if (xSize < 0) {\n console.error(\"negative xSize not allowed - will invert\");\n xSize *= -1;\n }\n\n let ySize = cfg.ySize || 1;\n if (ySize < 0) {\n console.error(\"negative ySize not allowed - will invert\");\n ySize *= -1;\n }\n\n let zSize = cfg.zSize || 1;\n if (zSize < 0) {\n console.error(\"negative zSize not allowed - will invert\");\n zSize *= -1;\n }\n\n const center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const xmin = -xSize + centerX;\n const ymin = -ySize + centerY;\n const zmin = -zSize + centerZ;\n const xmax = xSize + centerX;\n const ymax = ySize + centerY;\n const zmax = zSize + centerZ;\n\n return {\n\n primitiveType: \"triangles\",\n\n // The vertices - eight for our cube, each\n // one spanning three array elements for X,Y and Z\n\n positions: [\n\n // v0-v1-v2-v3 front\n xmax, ymax, zmax,\n xmin, ymax, zmax,\n xmin, ymin, zmax,\n xmax, ymin, zmax,\n\n // v0-v3-v4-v1 right\n xmax, ymax, zmax,\n xmax, ymin, zmax,\n xmax, ymin, zmin,\n xmax, ymax, zmin,\n\n // v0-v1-v6-v1 top\n xmax, ymax, zmax,\n xmax, ymax, zmin,\n xmin, ymax, zmin,\n xmin, ymax, zmax,\n\n // v1-v6-v7-v2 left\n xmin, ymax, zmax,\n xmin, ymax, zmin,\n xmin, ymin, zmin,\n xmin, ymin, zmax,\n\n // v7-v4-v3-v2 bottom\n xmin, ymin, zmin,\n xmax, ymin, zmin,\n xmax, ymin, zmax,\n xmin, ymin, zmax,\n\n // v4-v7-v6-v1 back\n xmax, ymin, zmin,\n xmin, ymin, zmin,\n xmin, ymax, zmin,\n xmax, ymax, zmin\n ],\n\n // Normal vectors, one for each vertex\n normals: [\n\n // v0-v1-v2-v3 front\n 0, 0, 1,\n 0, 0, 1,\n 0, 0, 1,\n 0, 0, 1,\n\n // v0-v3-v4-v5 right\n 1, 0, 0,\n 1, 0, 0,\n 1, 0, 0,\n 1, 0, 0,\n\n // v0-v5-v6-v1 top\n 0, 1, 0,\n 0, 1, 0,\n 0, 1, 0,\n 0, 1, 0,\n\n // v1-v6-v7-v2 left\n -1, 0, 0,\n -1, 0, 0,\n -1, 0, 0,\n -1, 0, 0,\n\n // v7-v4-v3-v2 bottom\n 0, -1, 0,\n 0, -1, 0,\n 0, -1, 0,\n 0, -1, 0,\n\n // v4-v7-v6-v5 back\n 0, 0, -1,\n 0, 0, -1,\n 0, 0, -1,\n 0, 0, -1\n ],\n\n // UV coords\n uv: [\n\n // v0-v1-v2-v3 front\n 1, 0,\n 0, 0,\n 0, 1,\n 1, 1,\n\n // v0-v3-v4-v1 right\n 0, 0,\n 0, 1,\n 1, 1,\n 1, 0,\n\n // v0-v1-v6-v1 top\n 1, 1,\n 1, 0,\n 0, 0,\n 0, 1,\n\n // v1-v6-v7-v2 left\n 1, 0,\n 0, 0,\n 0, 1,\n 1, 1,\n\n // v7-v4-v3-v2 bottom\n 0, 1,\n 1, 1,\n 1, 0,\n 0, 0,\n\n // v4-v7-v6-v1 back\n 0, 1,\n 1, 1,\n 1, 0,\n 0, 0\n ],\n\n // Indices - these organise the\n // positions and uv texture coordinates\n // into geometric primitives in accordance\n // with the \"primitive\" parameter,\n // in this case a set of three indices\n // for each triangle.\n //\n // Note that each triangle is specified\n // in counter-clockwise winding order.\n //\n // You can specify them in clockwise\n // order if you configure the Modes\n // node's frontFace flag as \"cw\", instead of\n // the default \"ccw\".\n indices: [\n 0, 1, 2,\n 0, 2, 3,\n // front\n 4, 5, 6,\n 4, 6, 7,\n // right\n 8, 9, 10,\n 8, 10, 11,\n // top\n 12, 13, 14,\n 12, 14, 15,\n // left\n 16, 17, 18,\n 16, 18, 19,\n // bottom\n 20, 21, 22,\n 20, 22, 23\n ]\n };\n}\n\nexport {buildBoxGeometry};\n","/**\n * @desc Creates box-shaped line segment geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a box-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildBoxLinesGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const box = buildBoxLinesGeometry({\n * center: [0,0,0],\n * xSize: 1, // Half-size on each axis\n * ySize: 1,\n * zSize: 1\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"boxGeometry\",\n * primitiveType: box.primitiveType, // \"lines\"\n * positions: box.positions,\n * normals: box.normals,\n * indices: box.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redBoxMesh\",\n * geometryId: \"boxGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redBox\",\n * meshIds: [\"redBoxMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildBoxLinesGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.xSize=1.0] Half-size on the X-axis.\n * @param {Number} [cfg.ySize=1.0] Half-size on the Y-axis.\n * @param {Number} [cfg.zSize=1.0] Half-size on the Z-axis.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildBoxLinesGeometry(cfg = {}) {\n\n let xSize = cfg.xSize || 1;\n if (xSize < 0) {\n console.error(\"negative xSize not allowed - will invert\");\n xSize *= -1;\n }\n\n let ySize = cfg.ySize || 1;\n if (ySize < 0) {\n console.error(\"negative ySize not allowed - will invert\");\n ySize *= -1;\n }\n\n let zSize = cfg.zSize || 1;\n if (zSize < 0) {\n console.error(\"negative zSize not allowed - will invert\");\n zSize *= -1;\n }\n\n const center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const xmin = -xSize + centerX;\n const ymin = -ySize + centerY;\n const zmin = -zSize + centerZ;\n const xmax = xSize + centerX;\n const ymax = ySize + centerY;\n const zmax = zSize + centerZ;\n\n return {\n primitiveType: \"lines\",\n positions: [\n xmin, ymin, zmin,\n xmin, ymin, zmax,\n xmin, ymax, zmin,\n xmin, ymax, zmax,\n xmax, ymin, zmin,\n xmax, ymin, zmax,\n xmax, ymax, zmin,\n xmax, ymax, zmax\n ],\n indices: [\n 0, 1,\n 1, 3,\n 3, 2,\n 2, 0,\n 4, 5,\n 5, 7,\n 7, 6,\n 6, 4,\n 0, 4,\n 1, 5,\n 2, 6,\n 3, 7\n ]\n }\n}\n\nexport {buildBoxLinesGeometry};\n","/**\n * @desc Creates cylinder-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a cylinder-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildCylinderGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const cylinder = buildCylinderGeometry({\n * center: [0,0,0],\n * radiusTop: 2.0,\n * radiusBottom: 2.0,\n * height: 5.0,\n * radialSegments: 20,\n * heightSegments: 1,\n * openEnded: false\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"cylinderGeometry\",\n * primitiveType: cylinder.primitiveType,\n * positions: cylinder.positions,\n * normals: cylinder.normals,\n * indices: cylinder.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redCylinderMesh\",\n * geometryId: \"cylinderGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redCylinder\",\n * meshIds: [\"redCylinderMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildCylinderGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.radiusTop=1] Radius of top.\n * @param {Number} [cfg.radiusBottom=1] Radius of bottom.\n * @param {Number} [cfg.height=1] Height.\n * @param {Number} [cfg.radialSegments=60] Number of horizontal segments.\n * @param {Number} [cfg.heightSegments=1] Number of vertical segments.\n * @param {Boolean} [cfg.openEnded=false] Whether or not the cylinder has solid caps on the ends.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildCylinderGeometry(cfg = {}) {\n\n let radiusTop = cfg.radiusTop || 1;\n if (radiusTop < 0) {\n console.error(\"negative radiusTop not allowed - will invert\");\n radiusTop *= -1;\n }\n\n let radiusBottom = cfg.radiusBottom || 1;\n if (radiusBottom < 0) {\n console.error(\"negative radiusBottom not allowed - will invert\");\n radiusBottom *= -1;\n }\n\n let height = cfg.height || 1;\n if (height < 0) {\n console.error(\"negative height not allowed - will invert\");\n height *= -1;\n }\n\n let radialSegments = cfg.radialSegments || 32;\n if (radialSegments < 0) {\n console.error(\"negative radialSegments not allowed - will invert\");\n radialSegments *= -1;\n }\n if (radialSegments < 3) {\n radialSegments = 3;\n }\n\n let heightSegments = cfg.heightSegments || 1;\n if (heightSegments < 0) {\n console.error(\"negative heightSegments not allowed - will invert\");\n heightSegments *= -1;\n }\n if (heightSegments < 1) {\n heightSegments = 1;\n }\n\n const openEnded = !!cfg.openEnded;\n\n let center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const heightHalf = height / 2;\n const heightLength = height / heightSegments;\n const radialAngle = (2.0 * Math.PI / radialSegments);\n const radialLength = 1.0 / radialSegments;\n //var nextRadius = this._radiusBottom;\n const radiusChange = (radiusTop - radiusBottom) / heightSegments;\n\n const positions = [];\n const normals = [];\n const uvs = [];\n const indices = [];\n\n let h;\n let i;\n\n let x;\n let z;\n\n let currentRadius;\n let currentHeight;\n\n let first;\n let second;\n\n let startIndex;\n let tu;\n let tv;\n\n // create vertices\n const normalY = (90.0 - (Math.atan(height / (radiusBottom - radiusTop))) * 180 / Math.PI) / 90.0;\n\n for (h = 0; h <= heightSegments; h++) {\n currentRadius = radiusTop - h * radiusChange;\n currentHeight = heightHalf - h * heightLength;\n\n for (i = 0; i <= radialSegments; i++) {\n x = Math.sin(i * radialAngle);\n z = Math.cos(i * radialAngle);\n\n normals.push(currentRadius * x);\n normals.push(normalY); //todo\n normals.push(currentRadius * z);\n\n uvs.push((i * radialLength));\n uvs.push(h * 1 / heightSegments);\n\n positions.push((currentRadius * x) + centerX);\n positions.push((currentHeight) + centerY);\n positions.push((currentRadius * z) + centerZ);\n }\n }\n\n // create faces\n for (h = 0; h < heightSegments; h++) {\n for (i = 0; i <= radialSegments; i++) {\n\n first = h * (radialSegments + 1) + i;\n second = first + radialSegments;\n\n indices.push(first);\n indices.push(second);\n indices.push(second + 1);\n\n indices.push(first);\n indices.push(second + 1);\n indices.push(first + 1);\n }\n }\n\n // create top cap\n if (!openEnded && radiusTop > 0) {\n startIndex = (positions.length / 3);\n\n // top center\n normals.push(0.0);\n normals.push(1.0);\n normals.push(0.0);\n\n uvs.push(0.5);\n uvs.push(0.5);\n\n positions.push(0 + centerX);\n positions.push(heightHalf + centerY);\n positions.push(0 + centerZ);\n\n // top triangle fan\n for (i = 0; i <= radialSegments; i++) {\n x = Math.sin(i * radialAngle);\n z = Math.cos(i * radialAngle);\n tu = (0.5 * Math.sin(i * radialAngle)) + 0.5;\n tv = (0.5 * Math.cos(i * radialAngle)) + 0.5;\n\n normals.push(radiusTop * x);\n normals.push(1.0);\n normals.push(radiusTop * z);\n\n uvs.push(tu);\n uvs.push(tv);\n\n positions.push((radiusTop * x) + centerX);\n positions.push((heightHalf) + centerY);\n positions.push((radiusTop * z) + centerZ);\n }\n\n for (i = 0; i < radialSegments; i++) {\n center = startIndex;\n first = startIndex + 1 + i;\n\n indices.push(first);\n indices.push(first + 1);\n indices.push(center);\n }\n }\n\n // create bottom cap\n if (!openEnded && radiusBottom > 0) {\n\n startIndex = (positions.length / 3);\n\n // top center\n normals.push(0.0);\n normals.push(-1.0);\n normals.push(0.0);\n\n uvs.push(0.5);\n uvs.push(0.5);\n\n positions.push(0 + centerX);\n positions.push(0 - heightHalf + centerY);\n positions.push(0 + centerZ);\n\n // top triangle fan\n for (i = 0; i <= radialSegments; i++) {\n\n x = Math.sin(i * radialAngle);\n z = Math.cos(i * radialAngle);\n\n tu = (0.5 * Math.sin(i * radialAngle)) + 0.5;\n tv = (0.5 * Math.cos(i * radialAngle)) + 0.5;\n\n normals.push(radiusBottom * x);\n normals.push(-1.0);\n normals.push(radiusBottom * z);\n\n uvs.push(tu);\n uvs.push(tv);\n\n positions.push((radiusBottom * x) + centerX);\n positions.push((0 - heightHalf) + centerY);\n positions.push((radiusBottom * z) + centerZ);\n }\n\n for (i = 0; i < radialSegments; i++) {\n\n center = startIndex;\n first = startIndex + 1 + i;\n\n indices.push(center);\n indices.push(first + 1);\n indices.push(first);\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\n\nexport {buildCylinderGeometry};\n","/**\n * @desc Creates grid-shaped geometry arrays..\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a grid-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildGridGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const grid = buildGridGeometry({\n * size: 1000,\n * divisions: 500\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"gridGeometry\",\n * primitiveType: grid.primitiveType, // Will be \"lines\"\n * positions: grid.positions,\n * indices: grid.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redGridMesh\",\n * geometryId: \"gridGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redGrid\",\n * meshIds: [\"redGridMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildGridGeometry\n * @param {*} [cfg] Configs\n * @param {Number} [cfg.size=1] Dimension on the X and Z-axis.\n * @param {Number} [cfg.divisions=1] Number of divisions on X and Z axis..\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildGridGeometry(cfg = {}) {\n\n let size = cfg.size || 1;\n if (size < 0) {\n console.error(\"negative size not allowed - will invert\");\n size *= -1;\n }\n\n let divisions = cfg.divisions || 1;\n if (divisions < 0) {\n console.error(\"negative divisions not allowed - will invert\");\n divisions *= -1;\n }\n if (divisions < 1) {\n divisions = 1;\n }\n\n size = size || 10;\n divisions = divisions || 10;\n\n const step = size / divisions;\n const halfSize = size / 2;\n\n const positions = [];\n const indices = [];\n let l = 0;\n\n for (let i = 0, j = 0, k = -halfSize; i <= divisions; i++, k += step) {\n\n positions.push(-halfSize);\n positions.push(0);\n positions.push(k);\n\n positions.push(halfSize);\n positions.push(0);\n positions.push(k);\n\n positions.push(k);\n positions.push(0);\n positions.push(-halfSize);\n\n positions.push(k);\n positions.push(0);\n positions.push(halfSize);\n\n indices.push(l++);\n indices.push(l++);\n indices.push(l++);\n indices.push(l++);\n }\n\n return {\n primitiveType: \"lines\",\n positions: positions,\n indices: indices\n };\n}\n\n\nexport {buildGridGeometry};\n","/**\n * @desc Creates plane-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a plane-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildPlaneGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const plane = buildPlaneGeometry({\n * center: [0,0,0],\n * xSize: 2,\n * zSize: 2,\n * xSegments: 10,\n * zSegments: 10\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"planeGeometry\",\n * primitiveType: plane.primitiveType, // Will be \"triangles\"\n * positions: plane.positions,\n * normals: plane.normals,\n * indices: plane.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redPlaneMesh\",\n * geometryId: \"planeGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redPlane\",\n * meshIds: [\"redPlaneMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildPlaneGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.xSize=1] Dimension on the X-axis.\n * @param {Number} [cfg.zSize=1] Dimension on the Z-axis.\n * @param {Number} [cfg.xSegments=1] Number of segments on the X-axis.\n * @param {Number} [cfg.zSegments=1] Number of segments on the Z-axis.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildPlaneGeometry(cfg = {}) {\n\n let xSize = cfg.xSize || 1;\n if (xSize < 0) {\n console.error(\"negative xSize not allowed - will invert\");\n xSize *= -1;\n }\n\n let zSize = cfg.zSize || 1;\n if (zSize < 0) {\n console.error(\"negative zSize not allowed - will invert\");\n zSize *= -1;\n }\n\n let xSegments = cfg.xSegments || 1;\n if (xSegments < 0) {\n console.error(\"negative xSegments not allowed - will invert\");\n xSegments *= -1;\n }\n if (xSegments < 1) {\n xSegments = 1;\n }\n\n let zSegments = cfg.xSegments || 1;\n if (zSegments < 0) {\n console.error(\"negative zSegments not allowed - will invert\");\n zSegments *= -1;\n }\n if (zSegments < 1) {\n zSegments = 1;\n }\n\n const center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const halfWidth = xSize / 2;\n const halfHeight = zSize / 2;\n\n const planeX = Math.floor(xSegments) || 1;\n const planeZ = Math.floor(zSegments) || 1;\n\n const planeX1 = planeX + 1;\n const planeZ1 = planeZ + 1;\n\n const segmentWidth = xSize / planeX;\n const segmentHeight = zSize / planeZ;\n\n const positions = new Float32Array(planeX1 * planeZ1 * 3);\n const normals = new Float32Array(planeX1 * planeZ1 * 3);\n const uvs = new Float32Array(planeX1 * planeZ1 * 2);\n\n let offset = 0;\n let offset2 = 0;\n\n let iz;\n let ix;\n let x;\n let a;\n let b;\n let c;\n let d;\n\n for (iz = 0; iz < planeZ1; iz++) {\n\n const z = iz * segmentHeight - halfHeight;\n\n for (ix = 0; ix < planeX1; ix++) {\n\n x = ix * segmentWidth - halfWidth;\n\n positions[offset] = x + centerX;\n positions[offset + 1] = centerY;\n positions[offset + 2] = -z + centerZ;\n\n normals[offset + 2] = -1;\n\n uvs[offset2] = (ix) / planeX;\n uvs[offset2 + 1] = ((planeZ - iz) / planeZ);\n\n offset += 3;\n offset2 += 2;\n }\n }\n\n offset = 0;\n\n const indices = new ((positions.length / 3) > 65535 ? Uint32Array : Uint16Array)(planeX * planeZ * 6);\n\n for (iz = 0; iz < planeZ; iz++) {\n\n for (ix = 0; ix < planeX; ix++) {\n\n a = ix + planeX1 * iz;\n b = ix + planeX1 * (iz + 1);\n c = (ix + 1) + planeX1 * (iz + 1);\n d = (ix + 1) + planeX1 * iz;\n\n indices[offset] = d;\n indices[offset + 1] = b;\n indices[offset + 2] = a;\n\n indices[offset + 3] = d;\n indices[offset + 4] = c;\n indices[offset + 5] = b;\n\n offset += 6;\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\nexport {buildPlaneGeometry};\n","/**\n * @desc Creates sphere-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a sphere-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildSphereGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const sphere = buildSphereGeometry({\n * center: [0,0,0],\n * radius: 1.5,\n * heightSegments: 60,\n * widthSegments: 60\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"sphereGeometry\",\n * primitiveType: sphere.primitiveType, // Will be \"triangles\"\n * positions: sphere.positions,\n * normals: sphere.normals,\n * indices: sphere.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redSphereMesh\",\n * geometryId: \"sphereGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n *const xktEntity = xktModel.createEntity({\n * entityId: \"redSphere\",\n * meshIds: [\"redSphereMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildSphereGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.radius=1] Radius.\n * @param {Number} [cfg.heightSegments=24] Number of latitudinal bands.\n * @param {Number} [cfg.widthSegments=18] Number of longitudinal bands.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildSphereGeometry(cfg = {}) {\n\n const lod = cfg.lod || 1;\n\n const centerX = cfg.center ? cfg.center[0] : 0;\n const centerY = cfg.center ? cfg.center[1] : 0;\n const centerZ = cfg.center ? cfg.center[2] : 0;\n\n let radius = cfg.radius || 1;\n if (radius < 0) {\n console.error(\"negative radius not allowed - will invert\");\n radius *= -1;\n }\n\n let heightSegments = cfg.heightSegments || 18;\n if (heightSegments < 0) {\n console.error(\"negative heightSegments not allowed - will invert\");\n heightSegments *= -1;\n }\n heightSegments = Math.floor(lod * heightSegments);\n if (heightSegments < 18) {\n heightSegments = 18;\n }\n\n let widthSegments = cfg.widthSegments || 18;\n if (widthSegments < 0) {\n console.error(\"negative widthSegments not allowed - will invert\");\n widthSegments *= -1;\n }\n widthSegments = Math.floor(lod * widthSegments);\n if (widthSegments < 18) {\n widthSegments = 18;\n }\n\n const positions = [];\n const normals = [];\n const uvs = [];\n const indices = [];\n\n let i;\n let j;\n\n let theta;\n let sinTheta;\n let cosTheta;\n\n let phi;\n let sinPhi;\n let cosPhi;\n\n let x;\n let y;\n let z;\n\n let u;\n let v;\n\n let first;\n let second;\n\n for (i = 0; i <= heightSegments; i++) {\n\n theta = i * Math.PI / heightSegments;\n sinTheta = Math.sin(theta);\n cosTheta = Math.cos(theta);\n\n for (j = 0; j <= widthSegments; j++) {\n\n phi = j * 2 * Math.PI / widthSegments;\n sinPhi = Math.sin(phi);\n cosPhi = Math.cos(phi);\n\n x = cosPhi * sinTheta;\n y = cosTheta;\n z = sinPhi * sinTheta;\n u = 1.0 - j / widthSegments;\n v = i / heightSegments;\n\n normals.push(x);\n normals.push(y);\n normals.push(z);\n\n uvs.push(u);\n uvs.push(v);\n\n positions.push(centerX + radius * x);\n positions.push(centerY + radius * y);\n positions.push(centerZ + radius * z);\n }\n }\n\n for (i = 0; i < heightSegments; i++) {\n for (j = 0; j < widthSegments; j++) {\n\n first = (i * (widthSegments + 1)) + j;\n second = first + widthSegments + 1;\n\n indices.push(first + 1);\n indices.push(second + 1);\n indices.push(second);\n indices.push(first + 1);\n indices.push(second);\n indices.push(first);\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\nexport {buildSphereGeometry};\n","import {math} from '../lib/math.js';\n\n/**\n * @desc Creates torus-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a torus-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildTorusGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const torus = buildTorusGeometry({\n * center: [0,0,0],\n * radius: 1.0,\n * tube: 0.5,\n * radialSegments: 32,\n * tubeSegments: 24,\n * arc: Math.PI * 2.0\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"torusGeometry\",\n * primitiveType: torus.primitiveType, // Will be \"triangles\"\n * positions: torus.positions,\n * normals: torus.normals,\n * indices: torus.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redTorusMesh\",\n * geometryId: \"torusGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redTorus\",\n * meshIds: [\"redTorusMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildTorusGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.radius=1] The overall radius.\n * @param {Number} [cfg.tube=0.3] The tube radius.\n * @param {Number} [cfg.radialSegments=32] The number of radial segments.\n * @param {Number} [cfg.tubeSegments=24] The number of tubular segments.\n * @param {Number} [cfg.arc=Math.PI*0.5] The length of the arc in radians, where Math.PI*2 is a closed torus.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildTorusGeometry(cfg = {}) {\n\n let radius = cfg.radius || 1;\n if (radius < 0) {\n console.error(\"negative radius not allowed - will invert\");\n radius *= -1;\n }\n radius *= 0.5;\n\n let tube = cfg.tube || 0.3;\n if (tube < 0) {\n console.error(\"negative tube not allowed - will invert\");\n tube *= -1;\n }\n\n let radialSegments = cfg.radialSegments || 32;\n if (radialSegments < 0) {\n console.error(\"negative radialSegments not allowed - will invert\");\n radialSegments *= -1;\n }\n if (radialSegments < 4) {\n radialSegments = 4;\n }\n\n let tubeSegments = cfg.tubeSegments || 24;\n if (tubeSegments < 0) {\n console.error(\"negative tubeSegments not allowed - will invert\");\n tubeSegments *= -1;\n }\n if (tubeSegments < 4) {\n tubeSegments = 4;\n }\n\n let arc = cfg.arc || Math.PI * 2;\n if (arc < 0) {\n console.warn(\"negative arc not allowed - will invert\");\n arc *= -1;\n }\n if (arc > 360) {\n arc = 360;\n }\n\n const center = cfg.center;\n let centerX = center ? center[0] : 0;\n let centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const positions = [];\n const normals = [];\n const uvs = [];\n const indices = [];\n\n let u;\n let v;\n let x;\n let y;\n let z;\n let vec;\n\n let i;\n let j;\n\n for (j = 0; j <= tubeSegments; j++) {\n for (i = 0; i <= radialSegments; i++) {\n\n u = i / radialSegments * arc;\n v = 0.785398 + (j / tubeSegments * Math.PI * 2);\n\n centerX = radius * Math.cos(u);\n centerY = radius * Math.sin(u);\n\n x = (radius + tube * Math.cos(v)) * Math.cos(u);\n y = (radius + tube * Math.cos(v)) * Math.sin(u);\n z = tube * Math.sin(v);\n\n positions.push(x + centerX);\n positions.push(y + centerY);\n positions.push(z + centerZ);\n\n uvs.push(1 - (i / radialSegments));\n uvs.push((j / tubeSegments));\n\n vec = math.normalizeVec3(math.subVec3([x, y, z], [centerX, centerY, centerZ], []), []);\n\n normals.push(vec[0]);\n normals.push(vec[1]);\n normals.push(vec[2]);\n }\n }\n\n let a;\n let b;\n let c;\n let d;\n\n for (j = 1; j <= tubeSegments; j++) {\n for (i = 1; i <= radialSegments; i++) {\n\n a = (radialSegments + 1) * j + i - 1;\n b = (radialSegments + 1) * (j - 1) + i - 1;\n c = (radialSegments + 1) * (j - 1) + i;\n d = (radialSegments + 1) * j + i;\n\n indices.push(a);\n indices.push(b);\n indices.push(c);\n\n indices.push(c);\n indices.push(d);\n indices.push(a);\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\nexport {buildTorusGeometry};\n","const letters = {\n ' ': {width: 16, points: []},\n '!': {\n width: 10, points: [\n [5, 21],\n [5, 7],\n [-1, -1],\n [5, 2],\n [4, 1],\n [5, 0],\n [6, 1],\n [5, 2]\n ]\n },\n '\"': {\n width: 16, points: [\n [4, 21],\n [4, 14],\n [-1, -1],\n [12, 21],\n [12, 14]\n ]\n },\n '#': {\n width: 21, points: [\n [11, 25],\n [4, -7],\n [-1, -1],\n [17, 25],\n [10, -7],\n [-1, -1],\n [4, 12],\n [18, 12],\n [-1, -1],\n [3, 6],\n [17, 6]\n ]\n },\n '$': {\n width: 20, points: [\n [8, 25],\n [8, -4],\n [-1, -1],\n [12, 25],\n [12, -4],\n [-1, -1],\n [17, 18],\n [15, 20],\n [12, 21],\n [8, 21],\n [5, 20],\n [3, 18],\n [3, 16],\n [4, 14],\n [5, 13],\n [7, 12],\n [13, 10],\n [15, 9],\n [16, 8],\n [17, 6],\n [17, 3],\n [15, 1],\n [12, 0],\n [8, 0],\n [5, 1],\n [3, 3]\n ]\n },\n '%': {\n width: 24, points: [\n [21, 21],\n [3, 0],\n [-1, -1],\n [8, 21],\n [10, 19],\n [10, 17],\n [9, 15],\n [7, 14],\n [5, 14],\n [3, 16],\n [3, 18],\n [4, 20],\n [6, 21],\n [8, 21],\n [10, 20],\n [13, 19],\n [16, 19],\n [19, 20],\n [21, 21],\n [-1, -1],\n [17, 7],\n [15, 6],\n [14, 4],\n [14, 2],\n [16, 0],\n [18, 0],\n [20, 1],\n [21, 3],\n [21, 5],\n [19, 7],\n [17, 7]\n ]\n },\n '&': {\n width: 26, points: [\n [23, 12],\n [23, 13],\n [22, 14],\n [21, 14],\n [20, 13],\n [19, 11],\n [17, 6],\n [15, 3],\n [13, 1],\n [11, 0],\n [7, 0],\n [5, 1],\n [4, 2],\n [3, 4],\n [3, 6],\n [4, 8],\n [5, 9],\n [12, 13],\n [13, 14],\n [14, 16],\n [14, 18],\n [13, 20],\n [11, 21],\n [9, 20],\n [8, 18],\n [8, 16],\n [9, 13],\n [11, 10],\n [16, 3],\n [18, 1],\n [20, 0],\n [22, 0],\n [23, 1],\n [23, 2]\n ]\n },\n '\\'': {\n width: 10, points: [\n [5, 19],\n [4, 20],\n [5, 21],\n [6, 20],\n [6, 18],\n [5, 16],\n [4, 15]\n ]\n },\n '(': {\n width: 14, points: [\n [11, 25],\n [9, 23],\n [7, 20],\n [5, 16],\n [4, 11],\n [4, 7],\n [5, 2],\n [7, -2],\n [9, -5],\n [11, -7]\n ]\n },\n ')': {\n width: 14, points: [\n [3, 25],\n [5, 23],\n [7, 20],\n [9, 16],\n [10, 11],\n [10, 7],\n [9, 2],\n [7, -2],\n [5, -5],\n [3, -7]\n ]\n },\n '*': {\n width: 16, points: [\n [8, 21],\n [8, 9],\n [-1, -1],\n [3, 18],\n [13, 12],\n [-1, -1],\n [13, 18],\n [3, 12]\n ]\n },\n '+': {\n width: 26, points: [\n [13, 18],\n [13, 0],\n [-1, -1],\n [4, 9],\n [22, 9]\n ]\n },\n ',': {\n width: 10, points: [\n [6, 1],\n [5, 0],\n [4, 1],\n [5, 2],\n [6, 1],\n [6, -1],\n [5, -3],\n [4, -4]\n ]\n },\n '-': {\n width: 26, points: [\n [4, 9],\n [22, 9]\n ]\n },\n '.': {\n width: 10, points: [\n [5, 2],\n [4, 1],\n [5, 0],\n [6, 1],\n [5, 2]\n ]\n },\n '/': {\n width: 22, points: [\n [20, 25],\n [2, -7]\n ]\n },\n '0': {\n width: 20, points: [\n [9, 21],\n [6, 20],\n [4, 17],\n [3, 12],\n [3, 9],\n [4, 4],\n [6, 1],\n [9, 0],\n [11, 0],\n [14, 1],\n [16, 4],\n [17, 9],\n [17, 12],\n [16, 17],\n [14, 20],\n [11, 21],\n [9, 21]\n ]\n },\n '1': {\n width: 20, points: [\n [6, 17],\n [8, 18],\n [11, 21],\n [11, 0]\n ]\n },\n '2': {\n width: 20, points: [\n [4, 16],\n [4, 17],\n [5, 19],\n [6, 20],\n [8, 21],\n [12, 21],\n [14, 20],\n [15, 19],\n [16, 17],\n [16, 15],\n [15, 13],\n [13, 10],\n [3, 0],\n [17, 0]\n ]\n },\n '3': {\n width: 20, points: [\n [5, 21],\n [16, 21],\n [10, 13],\n [13, 13],\n [15, 12],\n [16, 11],\n [17, 8],\n [17, 6],\n [16, 3],\n [14, 1],\n [11, 0],\n [8, 0],\n [5, 1],\n [4, 2],\n [3, 4]\n ]\n },\n '4': {\n width: 20, points: [\n [13, 21],\n [3, 7],\n [18, 7],\n [-1, -1],\n [13, 21],\n [13, 0]\n ]\n },\n '5': {\n width: 20, points: [\n [15, 21],\n [5, 21],\n [4, 12],\n [5, 13],\n [8, 14],\n [11, 14],\n [14, 13],\n [16, 11],\n [17, 8],\n [17, 6],\n [16, 3],\n [14, 1],\n [11, 0],\n [8, 0],\n [5, 1],\n [4, 2],\n [3, 4]\n ]\n },\n '6': {\n width: 20, points: [\n [16, 18],\n [15, 20],\n [12, 21],\n [10, 21],\n [7, 20],\n [5, 17],\n [4, 12],\n [4, 7],\n [5, 3],\n [7, 1],\n [10, 0],\n [11, 0],\n [14, 1],\n [16, 3],\n [17, 6],\n [17, 7],\n [16, 10],\n [14, 12],\n [11, 13],\n [10, 13],\n [7, 12],\n [5, 10],\n [4, 7]\n ]\n },\n '7': {\n width: 20, points: [\n [17, 21],\n [7, 0],\n [-1, -1],\n [3, 21],\n [17, 21]\n ]\n },\n '8': {\n width: 20, points: [\n [8, 21],\n [5, 20],\n [4, 18],\n [4, 16],\n [5, 14],\n [7, 13],\n [11, 12],\n [14, 11],\n [16, 9],\n [17, 7],\n [17, 4],\n [16, 2],\n [15, 1],\n [12, 0],\n [8, 0],\n [5, 1],\n [4, 2],\n [3, 4],\n [3, 7],\n [4, 9],\n [6, 11],\n [9, 12],\n [13, 13],\n [15, 14],\n [16, 16],\n [16, 18],\n [15, 20],\n [12, 21],\n [8, 21]\n ]\n },\n '9': {\n width: 20, points: [\n [16, 14],\n [15, 11],\n [13, 9],\n [10, 8],\n [9, 8],\n [6, 9],\n [4, 11],\n [3, 14],\n [3, 15],\n [4, 18],\n [6, 20],\n [9, 21],\n [10, 21],\n [13, 20],\n [15, 18],\n [16, 14],\n [16, 9],\n [15, 4],\n [13, 1],\n [10, 0],\n [8, 0],\n [5, 1],\n [4, 3]\n ]\n },\n ':': {\n width: 10, points: [\n [5, 14],\n [4, 13],\n [5, 12],\n [6, 13],\n [5, 14],\n [-1, -1],\n [5, 2],\n [4, 1],\n [5, 0],\n [6, 1],\n [5, 2]\n ]\n },\n ';': {\n width: 10, points: [\n [5, 14],\n [4, 13],\n [5, 12],\n [6, 13],\n [5, 14],\n [-1, -1],\n [6, 1],\n [5, 0],\n [4, 1],\n [5, 2],\n [6, 1],\n [6, -1],\n [5, -3],\n [4, -4]\n ]\n },\n '<': {\n width: 24, points: [\n [20, 18],\n [4, 9],\n [20, 0]\n ]\n },\n '=': {\n width: 26, points: [\n [4, 12],\n [22, 12],\n [-1, -1],\n [4, 6],\n [22, 6]\n ]\n },\n '>': {\n width: 24, points: [\n [4, 18],\n [20, 9],\n [4, 0]\n ]\n },\n '?': {\n width: 18, points: [\n [3, 16],\n [3, 17],\n [4, 19],\n [5, 20],\n [7, 21],\n [11, 21],\n [13, 20],\n [14, 19],\n [15, 17],\n [15, 15],\n [14, 13],\n [13, 12],\n [9, 10],\n [9, 7],\n [-1, -1],\n [9, 2],\n [8, 1],\n [9, 0],\n [10, 1],\n [9, 2]\n ]\n },\n '@': {\n width: 27, points: [\n [18, 13],\n [17, 15],\n [15, 16],\n [12, 16],\n [10, 15],\n [9, 14],\n [8, 11],\n [8, 8],\n [9, 6],\n [11, 5],\n [14, 5],\n [16, 6],\n [17, 8],\n [-1, -1],\n [12, 16],\n [10, 14],\n [9, 11],\n [9, 8],\n [10, 6],\n [11, 5],\n [-1, -1],\n [18, 16],\n [17, 8],\n [17, 6],\n [19, 5],\n [21, 5],\n [23, 7],\n [24, 10],\n [24, 12],\n [23, 15],\n [22, 17],\n [20, 19],\n [18, 20],\n [15, 21],\n [12, 21],\n [9, 20],\n [7, 19],\n [5, 17],\n [4, 15],\n [3, 12],\n [3, 9],\n [4, 6],\n [5, 4],\n [7, 2],\n [9, 1],\n [12, 0],\n [15, 0],\n [18, 1],\n [20, 2],\n [21, 3],\n [-1, -1],\n [19, 16],\n [18, 8],\n [18, 6],\n [19, 5]\n ]\n },\n 'A': {\n width: 18, points: [\n [9, 21],\n [1, 0],\n [-1, -1],\n [9, 21],\n [17, 0],\n [-1, -1],\n [4, 7],\n [14, 7]\n ]\n },\n 'B': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [13, 21],\n [16, 20],\n [17, 19],\n [18, 17],\n [18, 15],\n [17, 13],\n [16, 12],\n [13, 11],\n [-1, -1],\n [4, 11],\n [13, 11],\n [16, 10],\n [17, 9],\n [18, 7],\n [18, 4],\n [17, 2],\n [16, 1],\n [13, 0],\n [4, 0]\n ]\n },\n 'C': {\n width: 21, points: [\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5]\n ]\n },\n 'D': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [11, 21],\n [14, 20],\n [16, 18],\n [17, 16],\n [18, 13],\n [18, 8],\n [17, 5],\n [16, 3],\n [14, 1],\n [11, 0],\n [4, 0]\n ]\n },\n 'E': {\n width: 19, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [17, 21],\n [-1, -1],\n [4, 11],\n [12, 11],\n [-1, -1],\n [4, 0],\n [17, 0]\n ]\n },\n 'F': {\n width: 18, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [17, 21],\n [-1, -1],\n [4, 11],\n [12, 11]\n ]\n },\n 'G': {\n width: 21, points: [\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5],\n [18, 8],\n [-1, -1],\n [13, 8],\n [18, 8]\n ]\n },\n 'H': {\n width: 22, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [18, 21],\n [18, 0],\n [-1, -1],\n [4, 11],\n [18, 11]\n ]\n },\n 'I': {\n width: 8, points: [\n [4, 21],\n [4, 0]\n ]\n },\n 'J': {\n width: 16, points: [\n [12, 21],\n [12, 5],\n [11, 2],\n [10, 1],\n [8, 0],\n [6, 0],\n [4, 1],\n [3, 2],\n [2, 5],\n [2, 7]\n ]\n },\n 'K': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [18, 21],\n [4, 7],\n [-1, -1],\n [9, 12],\n [18, 0]\n ]\n },\n 'L': {\n width: 17, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 0],\n [16, 0]\n ]\n },\n 'M': {\n width: 24, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [12, 0],\n [-1, -1],\n [20, 21],\n [12, 0],\n [-1, -1],\n [20, 21],\n [20, 0]\n ]\n },\n 'N': {\n width: 22, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [18, 0],\n [-1, -1],\n [18, 21],\n [18, 0]\n ]\n },\n 'O': {\n width: 22, points: [\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5],\n [19, 8],\n [19, 13],\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21]\n ]\n },\n 'P': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [13, 21],\n [16, 20],\n [17, 19],\n [18, 17],\n [18, 14],\n [17, 12],\n [16, 11],\n [13, 10],\n [4, 10]\n ]\n },\n 'Q': {\n width: 22, points: [\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5],\n [19, 8],\n [19, 13],\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21],\n [-1, -1],\n [12, 4],\n [18, -2]\n ]\n },\n 'R': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [13, 21],\n [16, 20],\n [17, 19],\n [18, 17],\n [18, 15],\n [17, 13],\n [16, 12],\n [13, 11],\n [4, 11],\n [-1, -1],\n [11, 11],\n [18, 0]\n ]\n },\n 'S': {\n width: 20, points: [\n [17, 18],\n [15, 20],\n [12, 21],\n [8, 21],\n [5, 20],\n [3, 18],\n [3, 16],\n [4, 14],\n [5, 13],\n [7, 12],\n [13, 10],\n [15, 9],\n [16, 8],\n [17, 6],\n [17, 3],\n [15, 1],\n [12, 0],\n [8, 0],\n [5, 1],\n [3, 3]\n ]\n },\n 'T': {\n width: 16, points: [\n [8, 21],\n [8, 0],\n [-1, -1],\n [1, 21],\n [15, 21]\n ]\n },\n 'U': {\n width: 22, points: [\n [4, 21],\n [4, 6],\n [5, 3],\n [7, 1],\n [10, 0],\n [12, 0],\n [15, 1],\n [17, 3],\n [18, 6],\n [18, 21]\n ]\n },\n 'V': {\n width: 18, points: [\n [1, 21],\n [9, 0],\n [-1, -1],\n [17, 21],\n [9, 0]\n ]\n },\n 'W': {\n width: 24, points: [\n [2, 21],\n [7, 0],\n [-1, -1],\n [12, 21],\n [7, 0],\n [-1, -1],\n [12, 21],\n [17, 0],\n [-1, -1],\n [22, 21],\n [17, 0]\n ]\n },\n 'X': {\n width: 20, points: [\n [3, 21],\n [17, 0],\n [-1, -1],\n [17, 21],\n [3, 0]\n ]\n },\n 'Y': {\n width: 18, points: [\n [1, 21],\n [9, 11],\n [9, 0],\n [-1, -1],\n [17, 21],\n [9, 11]\n ]\n },\n 'Z': {\n width: 20, points: [\n [17, 21],\n [3, 0],\n [-1, -1],\n [3, 21],\n [17, 21],\n [-1, -1],\n [3, 0],\n [17, 0]\n ]\n },\n '[': {\n width: 14, points: [\n [4, 25],\n [4, -7],\n [-1, -1],\n [5, 25],\n [5, -7],\n [-1, -1],\n [4, 25],\n [11, 25],\n [-1, -1],\n [4, -7],\n [11, -7]\n ]\n },\n '\\\\': {\n width: 14, points: [\n [0, 21],\n [14, -3]\n ]\n },\n ']': {\n width: 14, points: [\n [9, 25],\n [9, -7],\n [-1, -1],\n [10, 25],\n [10, -7],\n [-1, -1],\n [3, 25],\n [10, 25],\n [-1, -1],\n [3, -7],\n [10, -7]\n ]\n },\n '^': {\n width: 16, points: [\n [6, 15],\n [8, 18],\n [10, 15],\n [-1, -1],\n [3, 12],\n [8, 17],\n [13, 12],\n [-1, -1],\n [8, 17],\n [8, 0]\n ]\n },\n '_': {\n width: 16, points: [\n [0, -2],\n [16, -2]\n ]\n },\n '`': {\n width: 10, points: [\n [6, 21],\n [5, 20],\n [4, 18],\n [4, 16],\n [5, 15],\n [6, 16],\n [5, 17]\n ]\n },\n 'a': {\n width: 19, points: [\n [15, 14],\n [15, 0],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'b': {\n width: 19, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 11],\n [6, 13],\n [8, 14],\n [11, 14],\n [13, 13],\n [15, 11],\n [16, 8],\n [16, 6],\n [15, 3],\n [13, 1],\n [11, 0],\n [8, 0],\n [6, 1],\n [4, 3]\n ]\n },\n 'c': {\n width: 18, points: [\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'd': {\n width: 19, points: [\n [15, 21],\n [15, 0],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'e': {\n width: 18, points: [\n [3, 8],\n [15, 8],\n [15, 10],\n [14, 12],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'f': {\n width: 12, points: [\n [10, 21],\n [8, 21],\n [6, 20],\n [5, 17],\n [5, 0],\n [-1, -1],\n [2, 14],\n [9, 14]\n ]\n },\n 'g': {\n width: 19, points: [\n [15, 14],\n [15, -2],\n [14, -5],\n [13, -6],\n [11, -7],\n [8, -7],\n [6, -6],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'h': {\n width: 19, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 10],\n [7, 13],\n [9, 14],\n [12, 14],\n [14, 13],\n [15, 10],\n [15, 0]\n ]\n },\n 'i': {\n width: 8, points: [\n [3, 21],\n [4, 20],\n [5, 21],\n [4, 22],\n [3, 21],\n [-1, -1],\n [4, 14],\n [4, 0]\n ]\n },\n 'j': {\n width: 10, points: [\n [5, 21],\n [6, 20],\n [7, 21],\n [6, 22],\n [5, 21],\n [-1, -1],\n [6, 14],\n [6, -3],\n [5, -6],\n [3, -7],\n [1, -7]\n ]\n },\n 'k': {\n width: 17, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [14, 14],\n [4, 4],\n [-1, -1],\n [8, 8],\n [15, 0]\n ]\n },\n 'l': {\n width: 8, points: [\n [4, 21],\n [4, 0]\n ]\n },\n 'm': {\n width: 30, points: [\n [4, 14],\n [4, 0],\n [-1, -1],\n [4, 10],\n [7, 13],\n [9, 14],\n [12, 14],\n [14, 13],\n [15, 10],\n [15, 0],\n [-1, -1],\n [15, 10],\n [18, 13],\n [20, 14],\n [23, 14],\n [25, 13],\n [26, 10],\n [26, 0]\n ]\n },\n 'n': {\n width: 19, points: [\n [4, 14],\n [4, 0],\n [-1, -1],\n [4, 10],\n [7, 13],\n [9, 14],\n [12, 14],\n [14, 13],\n [15, 10],\n [15, 0]\n ]\n },\n 'o': {\n width: 19, points: [\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3],\n [16, 6],\n [16, 8],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14]\n ]\n },\n 'p': {\n width: 19, points: [\n [4, 14],\n [4, -7],\n [-1, -1],\n [4, 11],\n [6, 13],\n [8, 14],\n [11, 14],\n [13, 13],\n [15, 11],\n [16, 8],\n [16, 6],\n [15, 3],\n [13, 1],\n [11, 0],\n [8, 0],\n [6, 1],\n [4, 3]\n ]\n },\n 'q': {\n width: 19, points: [\n [15, 14],\n [15, -7],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'r': {\n width: 13, points: [\n [4, 14],\n [4, 0],\n [-1, -1],\n [4, 8],\n [5, 11],\n [7, 13],\n [9, 14],\n [12, 14]\n ]\n },\n 's': {\n width: 17, points: [\n [14, 11],\n [13, 13],\n [10, 14],\n [7, 14],\n [4, 13],\n [3, 11],\n [4, 9],\n [6, 8],\n [11, 7],\n [13, 6],\n [14, 4],\n [14, 3],\n [13, 1],\n [10, 0],\n [7, 0],\n [4, 1],\n [3, 3]\n ]\n },\n 't': {\n width: 12, points: [\n [5, 21],\n [5, 4],\n [6, 1],\n [8, 0],\n [10, 0],\n [-1, -1],\n [2, 14],\n [9, 14]\n ]\n },\n 'u': {\n width: 19, points: [\n [4, 14],\n [4, 4],\n [5, 1],\n [7, 0],\n [10, 0],\n [12, 1],\n [15, 4],\n [-1, -1],\n [15, 14],\n [15, 0]\n ]\n },\n 'v': {\n width: 16, points: [\n [2, 14],\n [8, 0],\n [-1, -1],\n [14, 14],\n [8, 0]\n ]\n },\n 'w': {\n width: 22, points: [\n [3, 14],\n [7, 0],\n [-1, -1],\n [11, 14],\n [7, 0],\n [-1, -1],\n [11, 14],\n [15, 0],\n [-1, -1],\n [19, 14],\n [15, 0]\n ]\n },\n 'x': {\n width: 17, points: [\n [3, 14],\n [14, 0],\n [-1, -1],\n [14, 14],\n [3, 0]\n ]\n },\n 'y': {\n width: 16, points: [\n [2, 14],\n [8, 0],\n [-1, -1],\n [14, 14],\n [8, 0],\n [6, -4],\n [4, -6],\n [2, -7],\n [1, -7]\n ]\n },\n 'z': {\n width: 17, points: [\n [14, 14],\n [3, 0],\n [-1, -1],\n [3, 14],\n [14, 14],\n [-1, -1],\n [3, 0],\n [14, 0]\n ]\n },\n '{': {\n width: 14, points: [\n [9, 25],\n [7, 24],\n [6, 23],\n [5, 21],\n [5, 19],\n [6, 17],\n [7, 16],\n [8, 14],\n [8, 12],\n [6, 10],\n [-1, -1],\n [7, 24],\n [6, 22],\n [6, 20],\n [7, 18],\n [8, 17],\n [9, 15],\n [9, 13],\n [8, 11],\n [4, 9],\n [8, 7],\n [9, 5],\n [9, 3],\n [8, 1],\n [7, 0],\n [6, -2],\n [6, -4],\n [7, -6],\n [-1, -1],\n [6, 8],\n [8, 6],\n [8, 4],\n [7, 2],\n [6, 1],\n [5, -1],\n [5, -3],\n [6, -5],\n [7, -6],\n [9, -7]\n ]\n },\n '|': {\n width: 8, points: [\n [4, 25],\n [4, -7]\n ]\n },\n '}': {\n width: 14, points: [\n [5, 25],\n [7, 24],\n [8, 23],\n [9, 21],\n [9, 19],\n [8, 17],\n [7, 16],\n [6, 14],\n [6, 12],\n [8, 10],\n [-1, -1],\n [7, 24],\n [8, 22],\n [8, 20],\n [7, 18],\n [6, 17],\n [5, 15],\n [5, 13],\n [6, 11],\n [10, 9],\n [6, 7],\n [5, 5],\n [5, 3],\n [6, 1],\n [7, 0],\n [8, -2],\n [8, -4],\n [7, -6],\n [-1, -1],\n [8, 8],\n [6, 6],\n [6, 4],\n [7, 2],\n [8, 1],\n [9, -1],\n [9, -3],\n [8, -5],\n [7, -6],\n [5, -7]\n ]\n },\n '~': {\n width: 24, points: [\n [3, 6],\n [3, 8],\n [4, 11],\n [6, 12],\n [8, 12],\n [10, 11],\n [14, 8],\n [16, 7],\n [18, 7],\n [20, 8],\n [21, 10],\n [-1, -1],\n [3, 8],\n [4, 10],\n [6, 11],\n [8, 11],\n [10, 10],\n [14, 7],\n [16, 6],\n [18, 6],\n [20, 7],\n [21, 10],\n [21, 12]\n ]\n }\n};\n\n/**\n * @desc Creates wireframe text-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a text-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildVectorTextGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const text = buildVectorTextGeometry({\n * origin: [0,0,0],\n * text: \"On the other side of the screen, it all looked so easy\"\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"textGeometry\",\n * primitiveType: text.primitiveType, // Will be \"lines\"\n * positions: text.positions,\n * indices: text.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redTextMesh\",\n * geometryId: \"textGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redText\",\n * meshIds: [\"redTextMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildVectorTextGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number[]} [cfg.origin] 3D point indicating the top left corner.\n * @param {Number} [cfg.size=1] Size of each character.\n * @param {String} [cfg.text=\"\"] The text.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildVectorTextGeometry(cfg = {}) {\n\n var origin = cfg.origin || [0, 0, 0];\n var xOrigin = origin[0];\n var yOrigin = origin[1];\n var zOrigin = origin[2];\n var size = cfg.size || 1;\n\n var positions = [];\n var indices = [];\n var text = (\"\" + cfg.text).trim();\n var lines = (text || \"\").split(\"\\n\");\n var countVerts = 0;\n var y = 0;\n var x;\n var str;\n var len;\n var c;\n var mag = 1.0 / 25.0;\n var penUp;\n var p1;\n var p2;\n var needLine;\n var pointsLen;\n var a;\n\n for (var iLine = 0; iLine < lines.length; iLine++) {\n\n x = 0;\n str = lines[iLine];\n len = str.length;\n\n for (var i = 0; i < len; i++) {\n\n c = letters[str.charAt(i)];\n\n if (c === '\\n') {\n //alert(\"newline\");\n }\n\n if (!c) {\n continue;\n }\n\n penUp = 1;\n p1 = -1;\n p2 = -1;\n needLine = false;\n\n pointsLen = c.points.length;\n\n for (var j = 0; j < pointsLen; j++) {\n a = c.points[j];\n\n if (a[0] === -1 && a[1] === -1) {\n penUp = 1;\n needLine = false;\n continue;\n }\n\n positions.push((x + (a[0] * size) * mag) + xOrigin);\n positions.push((y + (a[1] * size) * mag) + yOrigin);\n positions.push(0 + zOrigin);\n\n if (p1 === -1) {\n p1 = countVerts;\n } else if (p2 === -1) {\n p2 = countVerts;\n } else {\n p1 = p2;\n p2 = countVerts;\n }\n countVerts++;\n\n if (penUp) {\n penUp = false;\n\n } else {\n indices.push(p1);\n indices.push(p2);\n }\n\n needLine = true;\n }\n x += c.width * mag * size;\n\n }\n y -= 35 * mag * size;\n }\n\n return {\n primitiveType: \"lines\",\n positions: positions,\n indices: indices\n };\n}\n\n\nexport {buildVectorTextGeometry}\n","export {XKT_INFO} from \"./XKT_INFO.js\";\nexport * from \"./constants.js\";\nexport {XKTModel} from \"./XKTModel/XKTModel.js\";\nexport {writeXKTModelToArrayBuffer} from \"./XKTModel/writeXKTModelToArrayBuffer.js\";\n\nexport {parseCityJSONIntoXKTModel} from \"./parsers/parseCityJSONIntoXKTModel.js\";\nexport {parseGLTFIntoXKTModel} from \"./parsers/parseGLTFIntoXKTModel.js\";\nexport {parseGLTFJSONIntoXKTModel} from \"./parsers/parseGLTFJSONIntoXKTModel.js\";\nexport {parseIFCIntoXKTModel} from \"./parsers/parseIFCIntoXKTModel.js\";\nexport {parseLASIntoXKTModel} from \"./parsers/parseLASIntoXKTModel.js\";\nexport {parseMetaModelIntoXKTModel} from \"./parsers/parseMetaModelIntoXKTModel.js\";\nexport {parsePCDIntoXKTModel} from \"./parsers/parsePCDIntoXKTModel.js\";\nexport {parsePLYIntoXKTModel} from \"./parsers/parsePLYIntoXKTModel.js\";\nexport {parseSTLIntoXKTModel} from \"./parsers/parseSTLIntoXKTModel.js\";\n\nexport {buildBoxGeometry} from \"./geometryBuilders/buildBoxGeometry.js\";\nexport {buildBoxLinesGeometry} from \"./geometryBuilders/buildBoxLinesGeometry.js\";\nexport {buildCylinderGeometry} from \"./geometryBuilders/buildCylinderGeometry.js\";\nexport {buildGridGeometry} from \"./geometryBuilders/buildGridGeometry.js\";\nexport {buildPlaneGeometry} from \"./geometryBuilders/buildPlaneGeometry.js\";\nexport {buildSphereGeometry} from \"./geometryBuilders/buildSphereGeometry.js\";\nexport {buildTorusGeometry} from \"./geometryBuilders/buildTorusGeometry.js\";\nexport {buildVectorTextGeometry} from \"./geometryBuilders/buildVectorTextGeometry.js\";\n\n","/** @private */\nfunction earcut(data, holeIndices, dim) {\n\n dim = dim || 2;\n\n var hasHoles = holeIndices && holeIndices.length,\n outerLen = hasHoles ? holeIndices[0] * dim : data.length,\n outerNode = linkedList(data, 0, outerLen, dim, true),\n triangles = [];\n\n if (!outerNode || outerNode.next === outerNode.prev) return triangles;\n\n var minX, minY, maxX, maxY, x, y, invSize;\n\n if (hasHoles) outerNode = eliminateHoles(data, holeIndices, outerNode, dim);\n\n // if the shape is not too simple, we'll use z-order curve hash later; calculate polygon bbox\n if (data.length > 80 * dim) {\n minX = maxX = data[0];\n minY = maxY = data[1];\n\n for (var i = dim; i < outerLen; i += dim) {\n x = data[i];\n y = data[i + 1];\n if (x < minX) minX = x;\n if (y < minY) minY = y;\n if (x > maxX) maxX = x;\n if (y > maxY) maxY = y;\n }\n\n // minX, minY and invSize are later used to transform coords into integers for z-order calculation\n invSize = Math.max(maxX - minX, maxY - minY);\n invSize = invSize !== 0 ? 1 / invSize : 0;\n }\n\n earcutLinked(outerNode, triangles, dim, minX, minY, invSize);\n\n return triangles;\n}\n\n// create a circular doubly linked list from polygon points in the specified winding order\nfunction linkedList(data, start, end, dim, clockwise) {\n var i, last;\n\n if (clockwise === (signedArea(data, start, end, dim) > 0)) {\n for (i = start; i < end; i += dim) last = insertNode(i, data[i], data[i + 1], last);\n } else {\n for (i = end - dim; i >= start; i -= dim) last = insertNode(i, data[i], data[i + 1], last);\n }\n\n if (last && equals(last, last.next)) {\n removeNode(last);\n last = last.next;\n }\n\n return last;\n}\n\n// eliminate colinear or duplicate points\nfunction filterPoints(start, end) {\n if (!start) return start;\n if (!end) end = start;\n\n var p = start,\n again;\n do {\n again = false;\n\n if (!p.steiner && (equals(p, p.next) || area(p.prev, p, p.next) === 0)) {\n removeNode(p);\n p = end = p.prev;\n if (p === p.next) break;\n again = true;\n\n } else {\n p = p.next;\n }\n } while (again || p !== end);\n\n return end;\n}\n\n// main ear slicing loop which triangulates a polygon (given as a linked list)\nfunction earcutLinked(ear, triangles, dim, minX, minY, invSize, pass) {\n if (!ear) return;\n\n // interlink polygon nodes in z-order\n if (!pass && invSize) indexCurve(ear, minX, minY, invSize);\n\n var stop = ear,\n prev, next;\n\n // iterate through ears, slicing them one by one\n while (ear.prev !== ear.next) {\n prev = ear.prev;\n next = ear.next;\n\n if (invSize ? isEarHashed(ear, minX, minY, invSize) : isEar(ear)) {\n // cut off the triangle\n triangles.push(prev.i / dim);\n triangles.push(ear.i / dim);\n triangles.push(next.i / dim);\n\n removeNode(ear);\n\n // skipping the next vertex leads to less sliver triangles\n ear = next.next;\n stop = next.next;\n\n continue;\n }\n\n ear = next;\n\n // if we looped through the whole remaining polygon and can't find any more ears\n if (ear === stop) {\n // try filtering points and slicing again\n if (!pass) {\n earcutLinked(filterPoints(ear), triangles, dim, minX, minY, invSize, 1);\n\n // if this didn't work, try curing all small self-intersections locally\n } else if (pass === 1) {\n ear = cureLocalIntersections(filterPoints(ear), triangles, dim);\n earcutLinked(ear, triangles, dim, minX, minY, invSize, 2);\n\n // as a last resort, try splitting the remaining polygon into two\n } else if (pass === 2) {\n splitEarcut(ear, triangles, dim, minX, minY, invSize);\n }\n\n break;\n }\n }\n}\n\n// check whether a polygon node forms a valid ear with adjacent nodes\nfunction isEar(ear) {\n var a = ear.prev,\n b = ear,\n c = ear.next;\n\n if (area(a, b, c) >= 0) return false; // reflex, can't be an ear\n\n // now make sure we don't have other points inside the potential ear\n var p = ear.next.next;\n\n while (p !== ear.prev) {\n if (pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) &&\n area(p.prev, p, p.next) >= 0) return false;\n p = p.next;\n }\n\n return true;\n}\n\nfunction isEarHashed(ear, minX, minY, invSize) {\n var a = ear.prev,\n b = ear,\n c = ear.next;\n\n if (area(a, b, c) >= 0) return false; // reflex, can't be an ear\n\n // triangle bbox; min & max are calculated like this for speed\n var minTX = a.x < b.x ? (a.x < c.x ? a.x : c.x) : (b.x < c.x ? b.x : c.x),\n minTY = a.y < b.y ? (a.y < c.y ? a.y : c.y) : (b.y < c.y ? b.y : c.y),\n maxTX = a.x > b.x ? (a.x > c.x ? a.x : c.x) : (b.x > c.x ? b.x : c.x),\n maxTY = a.y > b.y ? (a.y > c.y ? a.y : c.y) : (b.y > c.y ? b.y : c.y);\n\n // z-order range for the current triangle bbox;\n var minZ = zOrder(minTX, minTY, minX, minY, invSize),\n maxZ = zOrder(maxTX, maxTY, minX, minY, invSize);\n\n var p = ear.prevZ,\n n = ear.nextZ;\n\n // look for points inside the triangle in both directions\n while (p && p.z >= minZ && n && n.z <= maxZ) {\n if (p !== ear.prev && p !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) &&\n area(p.prev, p, p.next) >= 0) return false;\n p = p.prevZ;\n\n if (n !== ear.prev && n !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, n.x, n.y) &&\n area(n.prev, n, n.next) >= 0) return false;\n n = n.nextZ;\n }\n\n // look for remaining points in decreasing z-order\n while (p && p.z >= minZ) {\n if (p !== ear.prev && p !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) &&\n area(p.prev, p, p.next) >= 0) return false;\n p = p.prevZ;\n }\n\n // look for remaining points in increasing z-order\n while (n && n.z <= maxZ) {\n if (n !== ear.prev && n !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, n.x, n.y) &&\n area(n.prev, n, n.next) >= 0) return false;\n n = n.nextZ;\n }\n\n return true;\n}\n\n// go through all polygon nodes and cure small local self-intersections\nfunction cureLocalIntersections(start, triangles, dim) {\n var p = start;\n do {\n var a = p.prev,\n b = p.next.next;\n\n if (!equals(a, b) && intersects(a, p, p.next, b) && locallyInside(a, b) && locallyInside(b, a)) {\n\n triangles.push(a.i / dim);\n triangles.push(p.i / dim);\n triangles.push(b.i / dim);\n\n // remove two nodes involved\n removeNode(p);\n removeNode(p.next);\n\n p = start = b;\n }\n p = p.next;\n } while (p !== start);\n\n return filterPoints(p);\n}\n\n// try splitting polygon into two and triangulate them independently\nfunction splitEarcut(start, triangles, dim, minX, minY, invSize) {\n // look for a valid diagonal that divides the polygon into two\n var a = start;\n do {\n var b = a.next.next;\n while (b !== a.prev) {\n if (a.i !== b.i && isValidDiagonal(a, b)) {\n // split the polygon in two by the diagonal\n var c = splitPolygon(a, b);\n\n // filter colinear points around the cuts\n a = filterPoints(a, a.next);\n c = filterPoints(c, c.next);\n\n // run earcut on each half\n earcutLinked(a, triangles, dim, minX, minY, invSize);\n earcutLinked(c, triangles, dim, minX, minY, invSize);\n return;\n }\n b = b.next;\n }\n a = a.next;\n } while (a !== start);\n}\n\n// link every hole into the outer loop, producing a single-ring polygon without holes\nfunction eliminateHoles(data, holeIndices, outerNode, dim) {\n var queue = [],\n i, len, start, end, list;\n\n for (i = 0, len = holeIndices.length; i < len; i++) {\n start = holeIndices[i] * dim;\n end = i < len - 1 ? holeIndices[i + 1] * dim : data.length;\n list = linkedList(data, start, end, dim, false);\n if (list === list.next) list.steiner = true;\n queue.push(getLeftmost(list));\n }\n\n queue.sort(compareX);\n\n // process holes from left to right\n for (i = 0; i < queue.length; i++) {\n eliminateHole(queue[i], outerNode);\n outerNode = filterPoints(outerNode, outerNode.next);\n }\n\n return outerNode;\n}\n\nfunction compareX(a, b) {\n return a.x - b.x;\n}\n\n// find a bridge between vertices that connects hole with an outer ring and and link it\nfunction eliminateHole(hole, outerNode) {\n outerNode = findHoleBridge(hole, outerNode);\n if (outerNode) {\n var b = splitPolygon(outerNode, hole);\n\n // filter collinear points around the cuts\n filterPoints(outerNode, outerNode.next);\n filterPoints(b, b.next);\n }\n}\n\n// David Eberly's algorithm for finding a bridge between hole and outer polygon\nfunction findHoleBridge(hole, outerNode) {\n var p = outerNode,\n hx = hole.x,\n hy = hole.y,\n qx = -Infinity,\n m;\n\n // find a segment intersected by a ray from the hole's leftmost point to the left;\n // segment's endpoint with lesser x will be potential connection point\n do {\n if (hy <= p.y && hy >= p.next.y && p.next.y !== p.y) {\n var x = p.x + (hy - p.y) * (p.next.x - p.x) / (p.next.y - p.y);\n if (x <= hx && x > qx) {\n qx = x;\n if (x === hx) {\n if (hy === p.y) return p;\n if (hy === p.next.y) return p.next;\n }\n m = p.x < p.next.x ? p : p.next;\n }\n }\n p = p.next;\n } while (p !== outerNode);\n\n if (!m) return null;\n\n if (hx === qx) return m; // hole touches outer segment; pick leftmost endpoint\n\n // look for points inside the triangle of hole point, segment intersection and endpoint;\n // if there are no points found, we have a valid connection;\n // otherwise choose the point of the minimum angle with the ray as connection point\n\n var stop = m,\n mx = m.x,\n my = m.y,\n tanMin = Infinity,\n tan;\n\n p = m;\n\n do {\n if (hx >= p.x && p.x >= mx && hx !== p.x &&\n pointInTriangle(hy < my ? hx : qx, hy, mx, my, hy < my ? qx : hx, hy, p.x, p.y)) {\n\n tan = Math.abs(hy - p.y) / (hx - p.x); // tangential\n\n if (locallyInside(p, hole) &&\n (tan < tanMin || (tan === tanMin && (p.x > m.x || (p.x === m.x && sectorContainsSector(m, p)))))) {\n m = p;\n tanMin = tan;\n }\n }\n\n p = p.next;\n } while (p !== stop);\n\n return m;\n}\n\n// whether sector in vertex m contains sector in vertex p in the same coordinates\nfunction sectorContainsSector(m, p) {\n return area(m.prev, m, p.prev) < 0 && area(p.next, m, m.next) < 0;\n}\n\n// interlink polygon nodes in z-order\nfunction indexCurve(start, minX, minY, invSize) {\n var p = start;\n do {\n if (p.z === null) p.z = zOrder(p.x, p.y, minX, minY, invSize);\n p.prevZ = p.prev;\n p.nextZ = p.next;\n p = p.next;\n } while (p !== start);\n\n p.prevZ.nextZ = null;\n p.prevZ = null;\n\n sortLinked(p);\n}\n\n// Simon Tatham's linked list merge sort algorithm\n// http://www.chiark.greenend.org.uk/~sgtatham/algorithms/listsort.html\nfunction sortLinked(list) {\n var i, p, q, e, tail, numMerges, pSize, qSize,\n inSize = 1;\n\n do {\n p = list;\n list = null;\n tail = null;\n numMerges = 0;\n\n while (p) {\n numMerges++;\n q = p;\n pSize = 0;\n for (i = 0; i < inSize; i++) {\n pSize++;\n q = q.nextZ;\n if (!q) break;\n }\n qSize = inSize;\n\n while (pSize > 0 || (qSize > 0 && q)) {\n\n if (pSize !== 0 && (qSize === 0 || !q || p.z <= q.z)) {\n e = p;\n p = p.nextZ;\n pSize--;\n } else {\n e = q;\n q = q.nextZ;\n qSize--;\n }\n\n if (tail) tail.nextZ = e;\n else list = e;\n\n e.prevZ = tail;\n tail = e;\n }\n\n p = q;\n }\n\n tail.nextZ = null;\n inSize *= 2;\n\n } while (numMerges > 1);\n\n return list;\n}\n\n// z-order of a point given coords and inverse of the longer side of data bbox\nfunction zOrder(x, y, minX, minY, invSize) {\n // coords are transformed into non-negative 15-bit integer range\n x = 32767 * (x - minX) * invSize;\n y = 32767 * (y - minY) * invSize;\n\n x = (x | (x << 8)) & 0x00FF00FF;\n x = (x | (x << 4)) & 0x0F0F0F0F;\n x = (x | (x << 2)) & 0x33333333;\n x = (x | (x << 1)) & 0x55555555;\n\n y = (y | (y << 8)) & 0x00FF00FF;\n y = (y | (y << 4)) & 0x0F0F0F0F;\n y = (y | (y << 2)) & 0x33333333;\n y = (y | (y << 1)) & 0x55555555;\n\n return x | (y << 1);\n}\n\n// find the leftmost node of a polygon ring\nfunction getLeftmost(start) {\n var p = start,\n leftmost = start;\n do {\n if (p.x < leftmost.x || (p.x === leftmost.x && p.y < leftmost.y)) leftmost = p;\n p = p.next;\n } while (p !== start);\n\n return leftmost;\n}\n\n// check if a point lies within a convex triangle\nfunction pointInTriangle(ax, ay, bx, by, cx, cy, px, py) {\n return (cx - px) * (ay - py) - (ax - px) * (cy - py) >= 0 &&\n (ax - px) * (by - py) - (bx - px) * (ay - py) >= 0 &&\n (bx - px) * (cy - py) - (cx - px) * (by - py) >= 0;\n}\n\n// check if a diagonal between two polygon nodes is valid (lies in polygon interior)\nfunction isValidDiagonal(a, b) {\n return a.next.i !== b.i && a.prev.i !== b.i && !intersectsPolygon(a, b) && // dones't intersect other edges\n (locallyInside(a, b) && locallyInside(b, a) && middleInside(a, b) && // locally visible\n (area(a.prev, a, b.prev) || area(a, b.prev, b)) || // does not create opposite-facing sectors\n equals(a, b) && area(a.prev, a, a.next) > 0 && area(b.prev, b, b.next) > 0); // special zero-length case\n}\n\n// signed area of a triangle\nfunction area(p, q, r) {\n return (q.y - p.y) * (r.x - q.x) - (q.x - p.x) * (r.y - q.y);\n}\n\n// check if two points are equal\nfunction equals(p1, p2) {\n return p1.x === p2.x && p1.y === p2.y;\n}\n\n// check if two segments intersect\nfunction intersects(p1, q1, p2, q2) {\n var o1 = sign(area(p1, q1, p2));\n var o2 = sign(area(p1, q1, q2));\n var o3 = sign(area(p2, q2, p1));\n var o4 = sign(area(p2, q2, q1));\n\n if (o1 !== o2 && o3 !== o4) return true; // general case\n\n if (o1 === 0 && onSegment(p1, p2, q1)) return true; // p1, q1 and p2 are collinear and p2 lies on p1q1\n if (o2 === 0 && onSegment(p1, q2, q1)) return true; // p1, q1 and q2 are collinear and q2 lies on p1q1\n if (o3 === 0 && onSegment(p2, p1, q2)) return true; // p2, q2 and p1 are collinear and p1 lies on p2q2\n if (o4 === 0 && onSegment(p2, q1, q2)) return true; // p2, q2 and q1 are collinear and q1 lies on p2q2\n\n return false;\n}\n\n// for collinear points p, q, r, check if point q lies on segment pr\nfunction onSegment(p, q, r) {\n return q.x <= Math.max(p.x, r.x) && q.x >= Math.min(p.x, r.x) && q.y <= Math.max(p.y, r.y) && q.y >= Math.min(p.y, r.y);\n}\n\nfunction sign(num) {\n return num > 0 ? 1 : num < 0 ? -1 : 0;\n}\n\n// check if a polygon diagonal intersects any polygon segments\nfunction intersectsPolygon(a, b) {\n var p = a;\n do {\n if (p.i !== a.i && p.next.i !== a.i && p.i !== b.i && p.next.i !== b.i &&\n intersects(p, p.next, a, b)) return true;\n p = p.next;\n } while (p !== a);\n\n return false;\n}\n\n// check if a polygon diagonal is locally inside the polygon\nfunction locallyInside(a, b) {\n return area(a.prev, a, a.next) < 0 ?\n area(a, b, a.next) >= 0 && area(a, a.prev, b) >= 0 :\n area(a, b, a.prev) < 0 || area(a, a.next, b) < 0;\n}\n\n// check if the middle point of a polygon diagonal is inside the polygon\nfunction middleInside(a, b) {\n var p = a,\n inside = false,\n px = (a.x + b.x) / 2,\n py = (a.y + b.y) / 2;\n do {\n if (((p.y > py) !== (p.next.y > py)) && p.next.y !== p.y &&\n (px < (p.next.x - p.x) * (py - p.y) / (p.next.y - p.y) + p.x))\n inside = !inside;\n p = p.next;\n } while (p !== a);\n\n return inside;\n}\n\n// link two polygon vertices with a bridge; if the vertices belong to the same ring, it splits polygon into two;\n// if one belongs to the outer ring and another to a hole, it merges it into a single ring\nfunction splitPolygon(a, b) {\n var a2 = new Node(a.i, a.x, a.y),\n b2 = new Node(b.i, b.x, b.y),\n an = a.next,\n bp = b.prev;\n\n a.next = b;\n b.prev = a;\n\n a2.next = an;\n an.prev = a2;\n\n b2.next = a2;\n a2.prev = b2;\n\n bp.next = b2;\n b2.prev = bp;\n\n return b2;\n}\n\n// create a node and optionally link it with previous one (in a circular doubly linked list)\nfunction insertNode(i, x, y, last) {\n var p = new Node(i, x, y);\n\n if (!last) {\n p.prev = p;\n p.next = p;\n\n } else {\n p.next = last.next;\n p.prev = last;\n last.next.prev = p;\n last.next = p;\n }\n return p;\n}\n\nfunction removeNode(p) {\n p.next.prev = p.prev;\n p.prev.next = p.next;\n\n if (p.prevZ) p.prevZ.nextZ = p.nextZ;\n if (p.nextZ) p.nextZ.prevZ = p.prevZ;\n}\n\nfunction Node(i, x, y) {\n // vertex index in coordinates array\n this.i = i;\n\n // vertex coordinates\n this.x = x;\n this.y = y;\n\n // previous and next vertex nodes in a polygon ring\n this.prev = null;\n this.next = null;\n\n // z-order curve value\n this.z = null;\n\n // previous and next nodes in z-order\n this.prevZ = null;\n this.nextZ = null;\n\n // indicates whether this is a steiner point\n this.steiner = false;\n}\n\n// return a percentage difference between the polygon area and its triangulation area;\n// used to verify correctness of triangulation\nearcut.deviation = function (data, holeIndices, dim, triangles) {\n var hasHoles = holeIndices && holeIndices.length;\n var outerLen = hasHoles ? holeIndices[0] * dim : data.length;\n\n var polygonArea = Math.abs(signedArea(data, 0, outerLen, dim));\n if (hasHoles) {\n for (var i = 0, len = holeIndices.length; i < len; i++) {\n var start = holeIndices[i] * dim;\n var end = i < len - 1 ? holeIndices[i + 1] * dim : data.length;\n polygonArea -= Math.abs(signedArea(data, start, end, dim));\n }\n }\n\n var trianglesArea = 0;\n for (i = 0; i < triangles.length; i += 3) {\n var a = triangles[i] * dim;\n var b = triangles[i + 1] * dim;\n var c = triangles[i + 2] * dim;\n trianglesArea += Math.abs(\n (data[a] - data[c]) * (data[b + 1] - data[a + 1]) -\n (data[a] - data[b]) * (data[c + 1] - data[a + 1]));\n }\n\n return polygonArea === 0 && trianglesArea === 0 ? 0 :\n Math.abs((trianglesArea - polygonArea) / polygonArea);\n};\n\nfunction signedArea(data, start, end, dim) {\n var sum = 0;\n for (var i = start, j = end - dim; i < end; i += dim) {\n sum += (data[j] - data[i]) * (data[i + 1] + data[j + 1]);\n j = i;\n }\n return sum;\n}\n\n// turn a polygon in a multi-dimensional array form (e.g. as in GeoJSON) into a form Earcut accepts\nearcut.flatten = function (data) {\n var dim = data[0][0].length,\n result = {vertices: [], holes: [], dimensions: dim},\n holeIndex = 0;\n\n for (var i = 0; i < data.length; i++) {\n for (var j = 0; j < data[i].length; j++) {\n for (var d = 0; d < dim; d++) result.vertices.push(data[i][j][d]);\n }\n if (i > 0) {\n holeIndex += data[i - 1].length;\n result.holes.push(holeIndex);\n }\n }\n return result;\n};\n\nexport {earcut};","import {math} from \"./math.js\";\n\n/**\n * Converts surface-perpendicular face normals to vertex normals. Assumes that the mesh contains disjoint triangles\n * that don't share vertex array elements. Works by finding groups of vertices that have the same location and\n * averaging their normal vectors.\n *\n * @returns {{positions: Array, normals: *}}\n * @private\n */\nfunction faceToVertexNormals(positions, normals, options = {}) {\n const smoothNormalsAngleThreshold = options.smoothNormalsAngleThreshold || 20;\n const vertexMap = {};\n const vertexNormals = [];\n const vertexNormalAccum = {};\n let acc;\n let vx;\n let vy;\n let vz;\n let key;\n const precisionPoints = 4; // number of decimal points, e.g. 4 for epsilon of 0.0001\n const precision = 10 ** precisionPoints;\n let posi;\n let i;\n let j;\n let len;\n let a;\n let b;\n let c;\n\n for (i = 0, len = positions.length; i < len; i += 3) {\n\n posi = i / 3;\n\n vx = positions[i];\n vy = positions[i + 1];\n vz = positions[i + 2];\n\n key = `${Math.round(vx * precision)}_${Math.round(vy * precision)}_${Math.round(vz * precision)}`;\n\n if (vertexMap[key] === undefined) {\n vertexMap[key] = [posi];\n } else {\n vertexMap[key].push(posi);\n }\n\n const normal = math.normalizeVec3([normals[i], normals[i + 1], normals[i + 2]]);\n\n vertexNormals[posi] = normal;\n\n acc = math.vec4([normal[0], normal[1], normal[2], 1]);\n\n vertexNormalAccum[posi] = acc;\n }\n\n for (key in vertexMap) {\n\n if (vertexMap.hasOwnProperty(key)) {\n\n const vertices = vertexMap[key];\n const numVerts = vertices.length;\n\n for (i = 0; i < numVerts; i++) {\n\n const ii = vertices[i];\n\n acc = vertexNormalAccum[ii];\n\n for (j = 0; j < numVerts; j++) {\n\n if (i === j) {\n continue;\n }\n\n const jj = vertices[j];\n\n a = vertexNormals[ii];\n b = vertexNormals[jj];\n\n const angle = Math.abs(math.angleVec3(a, b) / math.DEGTORAD);\n\n if (angle < smoothNormalsAngleThreshold) {\n\n acc[0] += b[0];\n acc[1] += b[1];\n acc[2] += b[2];\n acc[3] += 1.0;\n }\n }\n }\n }\n }\n\n for (i = 0, len = normals.length; i < len; i += 3) {\n\n acc = vertexNormalAccum[i / 3];\n\n normals[i + 0] = acc[0] / acc[3];\n normals[i + 1] = acc[1] / acc[3];\n normals[i + 2] = acc[2] / acc[3];\n\n }\n}\n\nexport {faceToVertexNormals};","// Some temporary vars to help avoid garbage collection\n\nconst doublePrecision = true;\nconst FloatArrayType = doublePrecision ? Float64Array : Float32Array;\n\nconst tempMat1 = new FloatArrayType(16);\nconst tempMat2 = new FloatArrayType(16);\nconst tempVec4 = new FloatArrayType(4);\n\n/**\n * @private\n */\nconst math = {\n\n MIN_DOUBLE: -Number.MAX_SAFE_INTEGER,\n MAX_DOUBLE: Number.MAX_SAFE_INTEGER,\n\n /**\n * The number of radiians in a degree (0.0174532925).\n * @property DEGTORAD\n * @type {Number}\n */\n DEGTORAD: 0.0174532925,\n\n /**\n * The number of degrees in a radian.\n * @property RADTODEG\n * @type {Number}\n */\n RADTODEG: 57.295779513,\n\n /**\n * Returns a new, uninitialized two-element vector.\n * @method vec2\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n vec2(values) {\n return new FloatArrayType(values || 2);\n },\n\n /**\n * Returns a new, uninitialized three-element vector.\n * @method vec3\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n vec3(values) {\n return new FloatArrayType(values || 3);\n },\n\n /**\n * Returns a new, uninitialized four-element vector.\n * @method vec4\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n vec4(values) {\n return new FloatArrayType(values || 4);\n },\n\n /**\n * Returns a new, uninitialized 3x3 matrix.\n * @method mat3\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n mat3(values) {\n return new FloatArrayType(values || 9);\n },\n\n /**\n * Converts a 3x3 matrix to 4x4\n * @method mat3ToMat4\n * @param mat3 3x3 matrix.\n * @param mat4 4x4 matrix\n * @static\n * @returns {Number[]}\n */\n mat3ToMat4(mat3, mat4 = new FloatArrayType(16)) {\n mat4[0] = mat3[0];\n mat4[1] = mat3[1];\n mat4[2] = mat3[2];\n mat4[3] = 0;\n mat4[4] = mat3[3];\n mat4[5] = mat3[4];\n mat4[6] = mat3[5];\n mat4[7] = 0;\n mat4[8] = mat3[6];\n mat4[9] = mat3[7];\n mat4[10] = mat3[8];\n mat4[11] = 0;\n mat4[12] = 0;\n mat4[13] = 0;\n mat4[14] = 0;\n mat4[15] = 1;\n return mat4;\n },\n\n /**\n * Returns a new, uninitialized 4x4 matrix.\n * @method mat4\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n mat4(values) {\n return new FloatArrayType(values || 16);\n },\n\n /**\n * Converts a 4x4 matrix to 3x3\n * @method mat4ToMat3\n * @param mat4 4x4 matrix.\n * @param mat3 3x3 matrix\n * @static\n * @returns {Number[]}\n */\n mat4ToMat3(mat4, mat3) { // TODO\n //return new FloatArrayType(values || 9);\n },\n\n /**\n * Returns a new UUID.\n * @method createUUID\n * @static\n * @return string The new UUID\n */\n createUUID: ((() => {\n const self = {};\n const lut = [];\n for (let i = 0; i < 256; i++) {\n lut[i] = (i < 16 ? '0' : '') + (i).toString(16);\n }\n return () => {\n const d0 = Math.random() * 0xffffffff | 0;\n const d1 = Math.random() * 0xffffffff | 0;\n const d2 = Math.random() * 0xffffffff | 0;\n const d3 = Math.random() * 0xffffffff | 0;\n return `${lut[d0 & 0xff] + lut[d0 >> 8 & 0xff] + lut[d0 >> 16 & 0xff] + lut[d0 >> 24 & 0xff]}-${lut[d1 & 0xff]}${lut[d1 >> 8 & 0xff]}-${lut[d1 >> 16 & 0x0f | 0x40]}${lut[d1 >> 24 & 0xff]}-${lut[d2 & 0x3f | 0x80]}${lut[d2 >> 8 & 0xff]}-${lut[d2 >> 16 & 0xff]}${lut[d2 >> 24 & 0xff]}${lut[d3 & 0xff]}${lut[d3 >> 8 & 0xff]}${lut[d3 >> 16 & 0xff]}${lut[d3 >> 24 & 0xff]}`;\n };\n }))(),\n\n /**\n * Clamps a value to the given range.\n * @param {Number} value Value to clamp.\n * @param {Number} min Lower bound.\n * @param {Number} max Upper bound.\n * @returns {Number} Clamped result.\n */\n clamp(value, min, max) {\n return Math.max(min, Math.min(max, value));\n },\n\n /**\n * Floating-point modulus\n * @method fmod\n * @static\n * @param {Number} a\n * @param {Number} b\n * @returns {*}\n */\n fmod(a, b) {\n if (a < b) {\n console.error(\"math.fmod : Attempting to find modulus within negative range - would be infinite loop - ignoring\");\n return a;\n }\n while (b <= a) {\n a -= b;\n }\n return a;\n },\n\n /**\n * Negates a four-element vector.\n * @method negateVec4\n * @static\n * @param {Array(Number)} v Vector to negate\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n negateVec4(v, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = -v[0];\n dest[1] = -v[1];\n dest[2] = -v[2];\n dest[3] = -v[3];\n return dest;\n },\n\n /**\n * Adds one four-element vector to another.\n * @method addVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n addVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] + v[0];\n dest[1] = u[1] + v[1];\n dest[2] = u[2] + v[2];\n dest[3] = u[3] + v[3];\n return dest;\n },\n\n /**\n * Adds a scalar value to each element of a four-element vector.\n * @method addVec4Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n addVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] + s;\n dest[1] = v[1] + s;\n dest[2] = v[2] + s;\n dest[3] = v[3] + s;\n return dest;\n },\n\n /**\n * Adds one three-element vector to another.\n * @method addVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n addVec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] + v[0];\n dest[1] = u[1] + v[1];\n dest[2] = u[2] + v[2];\n return dest;\n },\n\n /**\n * Adds a scalar value to each element of a three-element vector.\n * @method addVec4Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n addVec3Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] + s;\n dest[1] = v[1] + s;\n dest[2] = v[2] + s;\n return dest;\n },\n\n /**\n * Subtracts one four-element vector from another.\n * @method subVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Vector to subtract\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n subVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] - v[0];\n dest[1] = u[1] - v[1];\n dest[2] = u[2] - v[2];\n dest[3] = u[3] - v[3];\n return dest;\n },\n\n /**\n * Subtracts one three-element vector from another.\n * @method subVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Vector to subtract\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n subVec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] - v[0];\n dest[1] = u[1] - v[1];\n dest[2] = u[2] - v[2];\n return dest;\n },\n\n /**\n * Subtracts one two-element vector from another.\n * @method subVec2\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Vector to subtract\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n subVec2(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] - v[0];\n dest[1] = u[1] - v[1];\n return dest;\n },\n\n /**\n * Subtracts a scalar value from each element of a four-element vector.\n * @method subVec4Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n subVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] - s;\n dest[1] = v[1] - s;\n dest[2] = v[2] - s;\n dest[3] = v[3] - s;\n return dest;\n },\n\n /**\n * Sets each element of a 4-element vector to a scalar value minus the value of that element.\n * @method subScalarVec4\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n subScalarVec4(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = s - v[0];\n dest[1] = s - v[1];\n dest[2] = s - v[2];\n dest[3] = s - v[3];\n return dest;\n },\n\n /**\n * Multiplies one three-element vector by another.\n * @method mulVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n mulVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] * v[0];\n dest[1] = u[1] * v[1];\n dest[2] = u[2] * v[2];\n dest[3] = u[3] * v[3];\n return dest;\n },\n\n /**\n * Multiplies each element of a four-element vector by a scalar.\n * @method mulVec34calar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n mulVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] * s;\n dest[1] = v[1] * s;\n dest[2] = v[2] * s;\n dest[3] = v[3] * s;\n return dest;\n },\n\n /**\n * Multiplies each element of a three-element vector by a scalar.\n * @method mulVec3Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n mulVec3Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] * s;\n dest[1] = v[1] * s;\n dest[2] = v[2] * s;\n return dest;\n },\n\n /**\n * Multiplies each element of a two-element vector by a scalar.\n * @method mulVec2Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n mulVec2Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] * s;\n dest[1] = v[1] * s;\n return dest;\n },\n\n /**\n * Divides one three-element vector by another.\n * @method divVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n divVec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] / v[0];\n dest[1] = u[1] / v[1];\n dest[2] = u[2] / v[2];\n return dest;\n },\n\n /**\n * Divides one four-element vector by another.\n * @method divVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n divVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] / v[0];\n dest[1] = u[1] / v[1];\n dest[2] = u[2] / v[2];\n dest[3] = u[3] / v[3];\n return dest;\n },\n\n /**\n * Divides a scalar by a three-element vector, returning a new vector.\n * @method divScalarVec3\n * @static\n * @param v vec3\n * @param s scalar\n * @param dest vec3 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divScalarVec3(s, v, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = s / v[0];\n dest[1] = s / v[1];\n dest[2] = s / v[2];\n return dest;\n },\n\n /**\n * Divides a three-element vector by a scalar.\n * @method divVec3Scalar\n * @static\n * @param v vec3\n * @param s scalar\n * @param dest vec3 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divVec3Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] / s;\n dest[1] = v[1] / s;\n dest[2] = v[2] / s;\n return dest;\n },\n\n /**\n * Divides a four-element vector by a scalar.\n * @method divVec4Scalar\n * @static\n * @param v vec4\n * @param s scalar\n * @param dest vec4 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] / s;\n dest[1] = v[1] / s;\n dest[2] = v[2] / s;\n dest[3] = v[3] / s;\n return dest;\n },\n\n\n /**\n * Divides a scalar by a four-element vector, returning a new vector.\n * @method divScalarVec4\n * @static\n * @param s scalar\n * @param v vec4\n * @param dest vec4 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divScalarVec4(s, v, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = s / v[0];\n dest[1] = s / v[1];\n dest[2] = s / v[2];\n dest[3] = s / v[3];\n return dest;\n },\n\n /**\n * Returns the dot product of two four-element vectors.\n * @method dotVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The dot product\n */\n dotVec4(u, v) {\n return (u[0] * v[0] + u[1] * v[1] + u[2] * v[2] + u[3] * v[3]);\n },\n\n /**\n * Returns the cross product of two four-element vectors.\n * @method cross3Vec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The cross product\n */\n cross3Vec4(u, v) {\n const u0 = u[0];\n const u1 = u[1];\n const u2 = u[2];\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n return [\n u1 * v2 - u2 * v1,\n u2 * v0 - u0 * v2,\n u0 * v1 - u1 * v0,\n 0.0];\n },\n\n /**\n * Returns the cross product of two three-element vectors.\n * @method cross3Vec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The cross product\n */\n cross3Vec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n const x = u[0];\n const y = u[1];\n const z = u[2];\n const x2 = v[0];\n const y2 = v[1];\n const z2 = v[2];\n dest[0] = y * z2 - z * y2;\n dest[1] = z * x2 - x * z2;\n dest[2] = x * y2 - y * x2;\n return dest;\n },\n\n\n sqLenVec4(v) { // TODO\n return math.dotVec4(v, v);\n },\n\n /**\n * Returns the length of a four-element vector.\n * @method lenVec4\n * @static\n * @param {Array(Number)} v The vector\n * @return The length\n */\n lenVec4(v) {\n return Math.sqrt(math.sqLenVec4(v));\n },\n\n /**\n * Returns the dot product of two three-element vectors.\n * @method dotVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The dot product\n */\n dotVec3(u, v) {\n return (u[0] * v[0] + u[1] * v[1] + u[2] * v[2]);\n },\n\n /**\n * Returns the dot product of two two-element vectors.\n * @method dotVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The dot product\n */\n dotVec2(u, v) {\n return (u[0] * v[0] + u[1] * v[1]);\n },\n\n\n sqLenVec3(v) {\n return math.dotVec3(v, v);\n },\n\n\n sqLenVec2(v) {\n return math.dotVec2(v, v);\n },\n\n /**\n * Returns the length of a three-element vector.\n * @method lenVec3\n * @static\n * @param {Array(Number)} v The vector\n * @return The length\n */\n lenVec3(v) {\n return Math.sqrt(math.sqLenVec3(v));\n },\n\n distVec3: ((() => {\n const vec = new FloatArrayType(3);\n return (v, w) => math.lenVec3(math.subVec3(v, w, vec));\n }))(),\n\n /**\n * Returns the length of a two-element vector.\n * @method lenVec2\n * @static\n * @param {Array(Number)} v The vector\n * @return The length\n */\n lenVec2(v) {\n return Math.sqrt(math.sqLenVec2(v));\n },\n\n distVec2: ((() => {\n const vec = new FloatArrayType(2);\n return (v, w) => math.lenVec2(math.subVec2(v, w, vec));\n }))(),\n\n /**\n * @method rcpVec3\n * @static\n * @param v vec3\n * @param dest vec3 - optional destination\n * @return [] dest if specified, v otherwise\n *\n */\n rcpVec3(v, dest) {\n return math.divScalarVec3(1.0, v, dest);\n },\n\n /**\n * Normalizes a four-element vector\n * @method normalizeVec4\n * @static\n * @param v vec4\n * @param dest vec4 - optional destination\n * @return [] dest if specified, v otherwise\n *\n */\n normalizeVec4(v, dest) {\n const f = 1.0 / math.lenVec4(v);\n return math.mulVec4Scalar(v, f, dest);\n },\n\n /**\n * Normalizes a three-element vector\n * @method normalizeVec4\n * @static\n */\n normalizeVec3(v, dest) {\n const f = 1.0 / math.lenVec3(v);\n return math.mulVec3Scalar(v, f, dest);\n },\n\n /**\n * Normalizes a two-element vector\n * @method normalizeVec2\n * @static\n */\n normalizeVec2(v, dest) {\n const f = 1.0 / math.lenVec2(v);\n return math.mulVec2Scalar(v, f, dest);\n },\n\n /**\n * Gets the angle between two vectors\n * @method angleVec3\n * @param v\n * @param w\n * @returns {number}\n */\n angleVec3(v, w) {\n let theta = math.dotVec3(v, w) / (Math.sqrt(math.sqLenVec3(v) * math.sqLenVec3(w)));\n theta = theta < -1 ? -1 : (theta > 1 ? 1 : theta); // Clamp to handle numerical problems\n return Math.acos(theta);\n },\n\n /**\n * Creates a three-element vector from the rotation part of a sixteen-element matrix.\n * @param m\n * @param dest\n */\n vec3FromMat4Scale: ((() => {\n\n const tempVec3 = new FloatArrayType(3);\n\n return (m, dest) => {\n\n tempVec3[0] = m[0];\n tempVec3[1] = m[1];\n tempVec3[2] = m[2];\n\n dest[0] = math.lenVec3(tempVec3);\n\n tempVec3[0] = m[4];\n tempVec3[1] = m[5];\n tempVec3[2] = m[6];\n\n dest[1] = math.lenVec3(tempVec3);\n\n tempVec3[0] = m[8];\n tempVec3[1] = m[9];\n tempVec3[2] = m[10];\n\n dest[2] = math.lenVec3(tempVec3);\n\n return dest;\n };\n }))(),\n\n /**\n * Converts an n-element vector to a JSON-serializable\n * array with values rounded to two decimal places.\n */\n vecToArray: ((() => {\n function trunc(v) {\n return Math.round(v * 100000) / 100000\n }\n\n return v => {\n v = Array.prototype.slice.call(v);\n for (let i = 0, len = v.length; i < len; i++) {\n v[i] = trunc(v[i]);\n }\n return v;\n };\n }))(),\n\n /**\n * Converts a 3-element vector from an array to an object of the form ````{x:999, y:999, z:999}````.\n * @param arr\n * @returns {{x: *, y: *, z: *}}\n */\n xyzArrayToObject(arr) {\n return {\"x\": arr[0], \"y\": arr[1], \"z\": arr[2]};\n },\n\n /**\n * Converts a 3-element vector object of the form ````{x:999, y:999, z:999}```` to an array.\n * @param xyz\n * @param [arry]\n * @returns {*[]}\n */\n xyzObjectToArray(xyz, arry) {\n arry = arry || new FloatArrayType(3);\n arry[0] = xyz.x;\n arry[1] = xyz.y;\n arry[2] = xyz.z;\n return arry;\n },\n\n /**\n * Duplicates a 4x4 identity matrix.\n * @method dupMat4\n * @static\n */\n dupMat4(m) {\n return m.slice(0, 16);\n },\n\n /**\n * Extracts a 3x3 matrix from a 4x4 matrix.\n * @method mat4To3\n * @static\n */\n mat4To3(m) {\n return [\n m[0], m[1], m[2],\n m[4], m[5], m[6],\n m[8], m[9], m[10]\n ];\n },\n\n /**\n * Returns a 4x4 matrix with each element set to the given scalar value.\n * @method m4s\n * @static\n */\n m4s(s) {\n return [\n s, s, s, s,\n s, s, s, s,\n s, s, s, s,\n s, s, s, s\n ];\n },\n\n /**\n * Returns a 4x4 matrix with each element set to zero.\n * @method setMat4ToZeroes\n * @static\n */\n setMat4ToZeroes() {\n return math.m4s(0.0);\n },\n\n /**\n * Returns a 4x4 matrix with each element set to 1.0.\n * @method setMat4ToOnes\n * @static\n */\n setMat4ToOnes() {\n return math.m4s(1.0);\n },\n\n /**\n * Returns a 4x4 matrix with each element set to 1.0.\n * @method setMat4ToOnes\n * @static\n */\n diagonalMat4v(v) {\n return new FloatArrayType([\n v[0], 0.0, 0.0, 0.0,\n 0.0, v[1], 0.0, 0.0,\n 0.0, 0.0, v[2], 0.0,\n 0.0, 0.0, 0.0, v[3]\n ]);\n },\n\n /**\n * Returns a 4x4 matrix with diagonal elements set to the given vector.\n * @method diagonalMat4c\n * @static\n */\n diagonalMat4c(x, y, z, w) {\n return math.diagonalMat4v([x, y, z, w]);\n },\n\n /**\n * Returns a 4x4 matrix with diagonal elements set to the given scalar.\n * @method diagonalMat4s\n * @static\n */\n diagonalMat4s(s) {\n return math.diagonalMat4c(s, s, s, s);\n },\n\n /**\n * Returns a 4x4 identity matrix.\n * @method identityMat4\n * @static\n */\n identityMat4(mat = new FloatArrayType(16)) {\n mat[0] = 1.0;\n mat[1] = 0.0;\n mat[2] = 0.0;\n mat[3] = 0.0;\n\n mat[4] = 0.0;\n mat[5] = 1.0;\n mat[6] = 0.0;\n mat[7] = 0.0;\n\n mat[8] = 0.0;\n mat[9] = 0.0;\n mat[10] = 1.0;\n mat[11] = 0.0;\n\n mat[12] = 0.0;\n mat[13] = 0.0;\n mat[14] = 0.0;\n mat[15] = 1.0;\n\n return mat;\n },\n\n /**\n * Returns a 3x3 identity matrix.\n * @method identityMat3\n * @static\n */\n identityMat3(mat = new FloatArrayType(9)) {\n mat[0] = 1.0;\n mat[1] = 0.0;\n mat[2] = 0.0;\n\n mat[3] = 0.0;\n mat[4] = 1.0;\n mat[5] = 0.0;\n\n mat[6] = 0.0;\n mat[7] = 0.0;\n mat[8] = 1.0;\n\n return mat;\n },\n\n /**\n * Tests if the given 4x4 matrix is the identity matrix.\n * @method isIdentityMat4\n * @static\n */\n isIdentityMat4(m) {\n if (m[0] !== 1.0 || m[1] !== 0.0 || m[2] !== 0.0 || m[3] !== 0.0 ||\n m[4] !== 0.0 || m[5] !== 1.0 || m[6] !== 0.0 || m[7] !== 0.0 ||\n m[8] !== 0.0 || m[9] !== 0.0 || m[10] !== 1.0 || m[11] !== 0.0 ||\n m[12] !== 0.0 || m[13] !== 0.0 || m[14] !== 0.0 || m[15] !== 1.0) {\n return false;\n }\n return true;\n },\n\n /**\n * Negates the given 4x4 matrix.\n * @method negateMat4\n * @static\n */\n negateMat4(m, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = -m[0];\n dest[1] = -m[1];\n dest[2] = -m[2];\n dest[3] = -m[3];\n dest[4] = -m[4];\n dest[5] = -m[5];\n dest[6] = -m[6];\n dest[7] = -m[7];\n dest[8] = -m[8];\n dest[9] = -m[9];\n dest[10] = -m[10];\n dest[11] = -m[11];\n dest[12] = -m[12];\n dest[13] = -m[13];\n dest[14] = -m[14];\n dest[15] = -m[15];\n return dest;\n },\n\n /**\n * Adds the given 4x4 matrices together.\n * @method addMat4\n * @static\n */\n addMat4(a, b, dest) {\n if (!dest) {\n dest = a;\n }\n dest[0] = a[0] + b[0];\n dest[1] = a[1] + b[1];\n dest[2] = a[2] + b[2];\n dest[3] = a[3] + b[3];\n dest[4] = a[4] + b[4];\n dest[5] = a[5] + b[5];\n dest[6] = a[6] + b[6];\n dest[7] = a[7] + b[7];\n dest[8] = a[8] + b[8];\n dest[9] = a[9] + b[9];\n dest[10] = a[10] + b[10];\n dest[11] = a[11] + b[11];\n dest[12] = a[12] + b[12];\n dest[13] = a[13] + b[13];\n dest[14] = a[14] + b[14];\n dest[15] = a[15] + b[15];\n return dest;\n },\n\n /**\n * Adds the given scalar to each element of the given 4x4 matrix.\n * @method addMat4Scalar\n * @static\n */\n addMat4Scalar(m, s, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = m[0] + s;\n dest[1] = m[1] + s;\n dest[2] = m[2] + s;\n dest[3] = m[3] + s;\n dest[4] = m[4] + s;\n dest[5] = m[5] + s;\n dest[6] = m[6] + s;\n dest[7] = m[7] + s;\n dest[8] = m[8] + s;\n dest[9] = m[9] + s;\n dest[10] = m[10] + s;\n dest[11] = m[11] + s;\n dest[12] = m[12] + s;\n dest[13] = m[13] + s;\n dest[14] = m[14] + s;\n dest[15] = m[15] + s;\n return dest;\n },\n\n /**\n * Adds the given scalar to each element of the given 4x4 matrix.\n * @method addScalarMat4\n * @static\n */\n addScalarMat4(s, m, dest) {\n return math.addMat4Scalar(m, s, dest);\n },\n\n /**\n * Subtracts the second 4x4 matrix from the first.\n * @method subMat4\n * @static\n */\n subMat4(a, b, dest) {\n if (!dest) {\n dest = a;\n }\n dest[0] = a[0] - b[0];\n dest[1] = a[1] - b[1];\n dest[2] = a[2] - b[2];\n dest[3] = a[3] - b[3];\n dest[4] = a[4] - b[4];\n dest[5] = a[5] - b[5];\n dest[6] = a[6] - b[6];\n dest[7] = a[7] - b[7];\n dest[8] = a[8] - b[8];\n dest[9] = a[9] - b[9];\n dest[10] = a[10] - b[10];\n dest[11] = a[11] - b[11];\n dest[12] = a[12] - b[12];\n dest[13] = a[13] - b[13];\n dest[14] = a[14] - b[14];\n dest[15] = a[15] - b[15];\n return dest;\n },\n\n /**\n * Subtracts the given scalar from each element of the given 4x4 matrix.\n * @method subMat4Scalar\n * @static\n */\n subMat4Scalar(m, s, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = m[0] - s;\n dest[1] = m[1] - s;\n dest[2] = m[2] - s;\n dest[3] = m[3] - s;\n dest[4] = m[4] - s;\n dest[5] = m[5] - s;\n dest[6] = m[6] - s;\n dest[7] = m[7] - s;\n dest[8] = m[8] - s;\n dest[9] = m[9] - s;\n dest[10] = m[10] - s;\n dest[11] = m[11] - s;\n dest[12] = m[12] - s;\n dest[13] = m[13] - s;\n dest[14] = m[14] - s;\n dest[15] = m[15] - s;\n return dest;\n },\n\n /**\n * Subtracts the given scalar from each element of the given 4x4 matrix.\n * @method subScalarMat4\n * @static\n */\n subScalarMat4(s, m, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = s - m[0];\n dest[1] = s - m[1];\n dest[2] = s - m[2];\n dest[3] = s - m[3];\n dest[4] = s - m[4];\n dest[5] = s - m[5];\n dest[6] = s - m[6];\n dest[7] = s - m[7];\n dest[8] = s - m[8];\n dest[9] = s - m[9];\n dest[10] = s - m[10];\n dest[11] = s - m[11];\n dest[12] = s - m[12];\n dest[13] = s - m[13];\n dest[14] = s - m[14];\n dest[15] = s - m[15];\n return dest;\n },\n\n /**\n * Multiplies the two given 4x4 matrix by each other.\n * @method mulMat4\n * @static\n */\n mulMat4(a, b, dest) {\n if (!dest) {\n dest = a;\n }\n\n // Cache the matrix values (makes for huge speed increases!)\n const a00 = a[0];\n\n const a01 = a[1];\n const a02 = a[2];\n const a03 = a[3];\n const a10 = a[4];\n const a11 = a[5];\n const a12 = a[6];\n const a13 = a[7];\n const a20 = a[8];\n const a21 = a[9];\n const a22 = a[10];\n const a23 = a[11];\n const a30 = a[12];\n const a31 = a[13];\n const a32 = a[14];\n const a33 = a[15];\n const b00 = b[0];\n const b01 = b[1];\n const b02 = b[2];\n const b03 = b[3];\n const b10 = b[4];\n const b11 = b[5];\n const b12 = b[6];\n const b13 = b[7];\n const b20 = b[8];\n const b21 = b[9];\n const b22 = b[10];\n const b23 = b[11];\n const b30 = b[12];\n const b31 = b[13];\n const b32 = b[14];\n const b33 = b[15];\n\n dest[0] = b00 * a00 + b01 * a10 + b02 * a20 + b03 * a30;\n dest[1] = b00 * a01 + b01 * a11 + b02 * a21 + b03 * a31;\n dest[2] = b00 * a02 + b01 * a12 + b02 * a22 + b03 * a32;\n dest[3] = b00 * a03 + b01 * a13 + b02 * a23 + b03 * a33;\n dest[4] = b10 * a00 + b11 * a10 + b12 * a20 + b13 * a30;\n dest[5] = b10 * a01 + b11 * a11 + b12 * a21 + b13 * a31;\n dest[6] = b10 * a02 + b11 * a12 + b12 * a22 + b13 * a32;\n dest[7] = b10 * a03 + b11 * a13 + b12 * a23 + b13 * a33;\n dest[8] = b20 * a00 + b21 * a10 + b22 * a20 + b23 * a30;\n dest[9] = b20 * a01 + b21 * a11 + b22 * a21 + b23 * a31;\n dest[10] = b20 * a02 + b21 * a12 + b22 * a22 + b23 * a32;\n dest[11] = b20 * a03 + b21 * a13 + b22 * a23 + b23 * a33;\n dest[12] = b30 * a00 + b31 * a10 + b32 * a20 + b33 * a30;\n dest[13] = b30 * a01 + b31 * a11 + b32 * a21 + b33 * a31;\n dest[14] = b30 * a02 + b31 * a12 + b32 * a22 + b33 * a32;\n dest[15] = b30 * a03 + b31 * a13 + b32 * a23 + b33 * a33;\n\n return dest;\n },\n\n /**\n * Multiplies the two given 3x3 matrices by each other.\n * @method mulMat4\n * @static\n */\n mulMat3(a, b, dest) {\n if (!dest) {\n dest = new FloatArrayType(9);\n }\n\n const a11 = a[0];\n const a12 = a[3];\n const a13 = a[6];\n const a21 = a[1];\n const a22 = a[4];\n const a23 = a[7];\n const a31 = a[2];\n const a32 = a[5];\n const a33 = a[8];\n const b11 = b[0];\n const b12 = b[3];\n const b13 = b[6];\n const b21 = b[1];\n const b22 = b[4];\n const b23 = b[7];\n const b31 = b[2];\n const b32 = b[5];\n const b33 = b[8];\n\n dest[0] = a11 * b11 + a12 * b21 + a13 * b31;\n dest[3] = a11 * b12 + a12 * b22 + a13 * b32;\n dest[6] = a11 * b13 + a12 * b23 + a13 * b33;\n\n dest[1] = a21 * b11 + a22 * b21 + a23 * b31;\n dest[4] = a21 * b12 + a22 * b22 + a23 * b32;\n dest[7] = a21 * b13 + a22 * b23 + a23 * b33;\n\n dest[2] = a31 * b11 + a32 * b21 + a33 * b31;\n dest[5] = a31 * b12 + a32 * b22 + a33 * b32;\n dest[8] = a31 * b13 + a32 * b23 + a33 * b33;\n\n return dest;\n },\n\n /**\n * Multiplies each element of the given 4x4 matrix by the given scalar.\n * @method mulMat4Scalar\n * @static\n */\n mulMat4Scalar(m, s, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = m[0] * s;\n dest[1] = m[1] * s;\n dest[2] = m[2] * s;\n dest[3] = m[3] * s;\n dest[4] = m[4] * s;\n dest[5] = m[5] * s;\n dest[6] = m[6] * s;\n dest[7] = m[7] * s;\n dest[8] = m[8] * s;\n dest[9] = m[9] * s;\n dest[10] = m[10] * s;\n dest[11] = m[11] * s;\n dest[12] = m[12] * s;\n dest[13] = m[13] * s;\n dest[14] = m[14] * s;\n dest[15] = m[15] * s;\n return dest;\n },\n\n /**\n * Multiplies the given 4x4 matrix by the given four-element vector.\n * @method mulMat4v4\n * @static\n */\n mulMat4v4(m, v, dest = math.vec4()) {\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n const v3 = v[3];\n dest[0] = m[0] * v0 + m[4] * v1 + m[8] * v2 + m[12] * v3;\n dest[1] = m[1] * v0 + m[5] * v1 + m[9] * v2 + m[13] * v3;\n dest[2] = m[2] * v0 + m[6] * v1 + m[10] * v2 + m[14] * v3;\n dest[3] = m[3] * v0 + m[7] * v1 + m[11] * v2 + m[15] * v3;\n return dest;\n },\n\n /**\n * Transposes the given 4x4 matrix.\n * @method transposeMat4\n * @static\n */\n transposeMat4(mat, dest) {\n // If we are transposing ourselves we can skip a few steps but have to cache some values\n const m4 = mat[4];\n\n const m14 = mat[14];\n const m8 = mat[8];\n const m13 = mat[13];\n const m12 = mat[12];\n const m9 = mat[9];\n if (!dest || mat === dest) {\n const a01 = mat[1];\n const a02 = mat[2];\n const a03 = mat[3];\n const a12 = mat[6];\n const a13 = mat[7];\n const a23 = mat[11];\n mat[1] = m4;\n mat[2] = m8;\n mat[3] = m12;\n mat[4] = a01;\n mat[6] = m9;\n mat[7] = m13;\n mat[8] = a02;\n mat[9] = a12;\n mat[11] = m14;\n mat[12] = a03;\n mat[13] = a13;\n mat[14] = a23;\n return mat;\n }\n dest[0] = mat[0];\n dest[1] = m4;\n dest[2] = m8;\n dest[3] = m12;\n dest[4] = mat[1];\n dest[5] = mat[5];\n dest[6] = m9;\n dest[7] = m13;\n dest[8] = mat[2];\n dest[9] = mat[6];\n dest[10] = mat[10];\n dest[11] = m14;\n dest[12] = mat[3];\n dest[13] = mat[7];\n dest[14] = mat[11];\n dest[15] = mat[15];\n return dest;\n },\n\n /**\n * Transposes the given 3x3 matrix.\n *\n * @method transposeMat3\n * @static\n */\n transposeMat3(mat, dest) {\n if (dest === mat) {\n const a01 = mat[1];\n const a02 = mat[2];\n const a12 = mat[5];\n dest[1] = mat[3];\n dest[2] = mat[6];\n dest[3] = a01;\n dest[5] = mat[7];\n dest[6] = a02;\n dest[7] = a12;\n } else {\n dest[0] = mat[0];\n dest[1] = mat[3];\n dest[2] = mat[6];\n dest[3] = mat[1];\n dest[4] = mat[4];\n dest[5] = mat[7];\n dest[6] = mat[2];\n dest[7] = mat[5];\n dest[8] = mat[8];\n }\n return dest;\n },\n\n /**\n * Returns the determinant of the given 4x4 matrix.\n * @method determinantMat4\n * @static\n */\n determinantMat4(mat) {\n // Cache the matrix values (makes for huge speed increases!)\n const a00 = mat[0];\n\n const a01 = mat[1];\n const a02 = mat[2];\n const a03 = mat[3];\n const a10 = mat[4];\n const a11 = mat[5];\n const a12 = mat[6];\n const a13 = mat[7];\n const a20 = mat[8];\n const a21 = mat[9];\n const a22 = mat[10];\n const a23 = mat[11];\n const a30 = mat[12];\n const a31 = mat[13];\n const a32 = mat[14];\n const a33 = mat[15];\n return a30 * a21 * a12 * a03 - a20 * a31 * a12 * a03 - a30 * a11 * a22 * a03 + a10 * a31 * a22 * a03 +\n a20 * a11 * a32 * a03 - a10 * a21 * a32 * a03 - a30 * a21 * a02 * a13 + a20 * a31 * a02 * a13 +\n a30 * a01 * a22 * a13 - a00 * a31 * a22 * a13 - a20 * a01 * a32 * a13 + a00 * a21 * a32 * a13 +\n a30 * a11 * a02 * a23 - a10 * a31 * a02 * a23 - a30 * a01 * a12 * a23 + a00 * a31 * a12 * a23 +\n a10 * a01 * a32 * a23 - a00 * a11 * a32 * a23 - a20 * a11 * a02 * a33 + a10 * a21 * a02 * a33 +\n a20 * a01 * a12 * a33 - a00 * a21 * a12 * a33 - a10 * a01 * a22 * a33 + a00 * a11 * a22 * a33;\n },\n\n /**\n * Returns the inverse of the given 4x4 matrix.\n * @method inverseMat4\n * @static\n */\n inverseMat4(mat, dest) {\n if (!dest) {\n dest = mat;\n }\n\n // Cache the matrix values (makes for huge speed increases!)\n const a00 = mat[0];\n\n const a01 = mat[1];\n const a02 = mat[2];\n const a03 = mat[3];\n const a10 = mat[4];\n const a11 = mat[5];\n const a12 = mat[6];\n const a13 = mat[7];\n const a20 = mat[8];\n const a21 = mat[9];\n const a22 = mat[10];\n const a23 = mat[11];\n const a30 = mat[12];\n const a31 = mat[13];\n const a32 = mat[14];\n const a33 = mat[15];\n const b00 = a00 * a11 - a01 * a10;\n const b01 = a00 * a12 - a02 * a10;\n const b02 = a00 * a13 - a03 * a10;\n const b03 = a01 * a12 - a02 * a11;\n const b04 = a01 * a13 - a03 * a11;\n const b05 = a02 * a13 - a03 * a12;\n const b06 = a20 * a31 - a21 * a30;\n const b07 = a20 * a32 - a22 * a30;\n const b08 = a20 * a33 - a23 * a30;\n const b09 = a21 * a32 - a22 * a31;\n const b10 = a21 * a33 - a23 * a31;\n const b11 = a22 * a33 - a23 * a32;\n\n // Calculate the determinant (inlined to avoid double-caching)\n const invDet = 1 / (b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06);\n\n dest[0] = (a11 * b11 - a12 * b10 + a13 * b09) * invDet;\n dest[1] = (-a01 * b11 + a02 * b10 - a03 * b09) * invDet;\n dest[2] = (a31 * b05 - a32 * b04 + a33 * b03) * invDet;\n dest[3] = (-a21 * b05 + a22 * b04 - a23 * b03) * invDet;\n dest[4] = (-a10 * b11 + a12 * b08 - a13 * b07) * invDet;\n dest[5] = (a00 * b11 - a02 * b08 + a03 * b07) * invDet;\n dest[6] = (-a30 * b05 + a32 * b02 - a33 * b01) * invDet;\n dest[7] = (a20 * b05 - a22 * b02 + a23 * b01) * invDet;\n dest[8] = (a10 * b10 - a11 * b08 + a13 * b06) * invDet;\n dest[9] = (-a00 * b10 + a01 * b08 - a03 * b06) * invDet;\n dest[10] = (a30 * b04 - a31 * b02 + a33 * b00) * invDet;\n dest[11] = (-a20 * b04 + a21 * b02 - a23 * b00) * invDet;\n dest[12] = (-a10 * b09 + a11 * b07 - a12 * b06) * invDet;\n dest[13] = (a00 * b09 - a01 * b07 + a02 * b06) * invDet;\n dest[14] = (-a30 * b03 + a31 * b01 - a32 * b00) * invDet;\n dest[15] = (a20 * b03 - a21 * b01 + a22 * b00) * invDet;\n\n return dest;\n },\n\n /**\n * Returns the trace of the given 4x4 matrix.\n * @method traceMat4\n * @static\n */\n traceMat4(m) {\n return (m[0] + m[5] + m[10] + m[15]);\n },\n\n /**\n * Returns 4x4 translation matrix.\n * @method translationMat4\n * @static\n */\n translationMat4v(v, dest) {\n const m = dest || math.identityMat4();\n m[12] = v[0];\n m[13] = v[1];\n m[14] = v[2];\n return m;\n },\n\n /**\n * Returns 3x3 translation matrix.\n * @method translationMat3\n * @static\n */\n translationMat3v(v, dest) {\n const m = dest || math.identityMat3();\n m[6] = v[0];\n m[7] = v[1];\n return m;\n },\n\n /**\n * Returns 4x4 translation matrix.\n * @method translationMat4c\n * @static\n */\n translationMat4c: ((() => {\n const xyz = new FloatArrayType(3);\n return (x, y, z, dest) => {\n xyz[0] = x;\n xyz[1] = y;\n xyz[2] = z;\n return math.translationMat4v(xyz, dest);\n };\n }))(),\n\n /**\n * Returns 4x4 translation matrix.\n * @method translationMat4s\n * @static\n */\n translationMat4s(s, dest) {\n return math.translationMat4c(s, s, s, dest);\n },\n\n /**\n * Efficiently post-concatenates a translation to the given matrix.\n * @param v\n * @param m\n */\n translateMat4v(xyz, m) {\n return math.translateMat4c(xyz[0], xyz[1], xyz[2], m);\n },\n\n /**\n * Efficiently post-concatenates a translation to the given matrix.\n * @param x\n * @param y\n * @param z\n * @param m\n */\n OLDtranslateMat4c(x, y, z, m) {\n\n const m12 = m[12];\n m[0] += m12 * x;\n m[4] += m12 * y;\n m[8] += m12 * z;\n\n const m13 = m[13];\n m[1] += m13 * x;\n m[5] += m13 * y;\n m[9] += m13 * z;\n\n const m14 = m[14];\n m[2] += m14 * x;\n m[6] += m14 * y;\n m[10] += m14 * z;\n\n const m15 = m[15];\n m[3] += m15 * x;\n m[7] += m15 * y;\n m[11] += m15 * z;\n\n return m;\n },\n\n translateMat4c(x, y, z, m) {\n\n const m3 = m[3];\n m[0] += m3 * x;\n m[1] += m3 * y;\n m[2] += m3 * z;\n\n const m7 = m[7];\n m[4] += m7 * x;\n m[5] += m7 * y;\n m[6] += m7 * z;\n\n const m11 = m[11];\n m[8] += m11 * x;\n m[9] += m11 * y;\n m[10] += m11 * z;\n\n const m15 = m[15];\n m[12] += m15 * x;\n m[13] += m15 * y;\n m[14] += m15 * z;\n\n return m;\n },\n /**\n * Returns 4x4 rotation matrix.\n * @method rotationMat4v\n * @static\n */\n rotationMat4v(anglerad, axis, m) {\n const ax = math.normalizeVec4([axis[0], axis[1], axis[2], 0.0], []);\n const s = Math.sin(anglerad);\n const c = Math.cos(anglerad);\n const q = 1.0 - c;\n\n const x = ax[0];\n const y = ax[1];\n const z = ax[2];\n\n let xy;\n let yz;\n let zx;\n let xs;\n let ys;\n let zs;\n\n //xx = x * x; used once\n //yy = y * y; used once\n //zz = z * z; used once\n xy = x * y;\n yz = y * z;\n zx = z * x;\n xs = x * s;\n ys = y * s;\n zs = z * s;\n\n m = m || math.mat4();\n\n m[0] = (q * x * x) + c;\n m[1] = (q * xy) + zs;\n m[2] = (q * zx) - ys;\n m[3] = 0.0;\n\n m[4] = (q * xy) - zs;\n m[5] = (q * y * y) + c;\n m[6] = (q * yz) + xs;\n m[7] = 0.0;\n\n m[8] = (q * zx) + ys;\n m[9] = (q * yz) - xs;\n m[10] = (q * z * z) + c;\n m[11] = 0.0;\n\n m[12] = 0.0;\n m[13] = 0.0;\n m[14] = 0.0;\n m[15] = 1.0;\n\n return m;\n },\n\n /**\n * Returns 4x4 rotation matrix.\n * @method rotationMat4c\n * @static\n */\n rotationMat4c(anglerad, x, y, z, mat) {\n return math.rotationMat4v(anglerad, [x, y, z], mat);\n },\n\n /**\n * Returns 4x4 scale matrix.\n * @method scalingMat4v\n * @static\n */\n scalingMat4v(v, m = math.identityMat4()) {\n m[0] = v[0];\n m[5] = v[1];\n m[10] = v[2];\n return m;\n },\n\n /**\n * Returns 3x3 scale matrix.\n * @method scalingMat3v\n * @static\n */\n scalingMat3v(v, m = math.identityMat3()) {\n m[0] = v[0];\n m[4] = v[1];\n return m;\n },\n\n /**\n * Returns 4x4 scale matrix.\n * @method scalingMat4c\n * @static\n */\n scalingMat4c: ((() => {\n const xyz = new FloatArrayType(3);\n return (x, y, z, dest) => {\n xyz[0] = x;\n xyz[1] = y;\n xyz[2] = z;\n return math.scalingMat4v(xyz, dest);\n };\n }))(),\n\n /**\n * Efficiently post-concatenates a scaling to the given matrix.\n * @method scaleMat4c\n * @param x\n * @param y\n * @param z\n * @param m\n */\n scaleMat4c(x, y, z, m) {\n\n m[0] *= x;\n m[4] *= y;\n m[8] *= z;\n\n m[1] *= x;\n m[5] *= y;\n m[9] *= z;\n\n m[2] *= x;\n m[6] *= y;\n m[10] *= z;\n\n m[3] *= x;\n m[7] *= y;\n m[11] *= z;\n return m;\n },\n\n /**\n * Efficiently post-concatenates a scaling to the given matrix.\n * @method scaleMat4c\n * @param xyz\n * @param m\n */\n scaleMat4v(xyz, m) {\n\n const x = xyz[0];\n const y = xyz[1];\n const z = xyz[2];\n\n m[0] *= x;\n m[4] *= y;\n m[8] *= z;\n m[1] *= x;\n m[5] *= y;\n m[9] *= z;\n m[2] *= x;\n m[6] *= y;\n m[10] *= z;\n m[3] *= x;\n m[7] *= y;\n m[11] *= z;\n\n return m;\n },\n\n /**\n * Returns 4x4 scale matrix.\n * @method scalingMat4s\n * @static\n */\n scalingMat4s(s) {\n return math.scalingMat4c(s, s, s);\n },\n\n /**\n * Creates a matrix from a quaternion rotation and vector translation\n *\n * @param {Number[]} q Rotation quaternion\n * @param {Number[]} v Translation vector\n * @param {Number[]} dest Destination matrix\n * @returns {Number[]} dest\n */\n rotationTranslationMat4(q, v, dest = math.mat4()) {\n const x = q[0];\n const y = q[1];\n const z = q[2];\n const w = q[3];\n\n const x2 = x + x;\n const y2 = y + y;\n const z2 = z + z;\n const xx = x * x2;\n const xy = x * y2;\n const xz = x * z2;\n const yy = y * y2;\n const yz = y * z2;\n const zz = z * z2;\n const wx = w * x2;\n const wy = w * y2;\n const wz = w * z2;\n\n dest[0] = 1 - (yy + zz);\n dest[1] = xy + wz;\n dest[2] = xz - wy;\n dest[3] = 0;\n dest[4] = xy - wz;\n dest[5] = 1 - (xx + zz);\n dest[6] = yz + wx;\n dest[7] = 0;\n dest[8] = xz + wy;\n dest[9] = yz - wx;\n dest[10] = 1 - (xx + yy);\n dest[11] = 0;\n dest[12] = v[0];\n dest[13] = v[1];\n dest[14] = v[2];\n dest[15] = 1;\n\n return dest;\n },\n\n /**\n * Gets Euler angles from a 4x4 matrix.\n *\n * @param {Number[]} mat The 4x4 matrix.\n * @param {String} order Desired Euler angle order: \"XYZ\", \"YXZ\", \"ZXY\" etc.\n * @param {Number[]} [dest] Destination Euler angles, created by default.\n * @returns {Number[]} The Euler angles.\n */\n mat4ToEuler(mat, order, dest = math.vec4()) {\n const clamp = math.clamp;\n\n // Assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)\n\n const m11 = mat[0];\n\n const m12 = mat[4];\n const m13 = mat[8];\n const m21 = mat[1];\n const m22 = mat[5];\n const m23 = mat[9];\n const m31 = mat[2];\n const m32 = mat[6];\n const m33 = mat[10];\n\n if (order === 'XYZ') {\n\n dest[1] = Math.asin(clamp(m13, -1, 1));\n\n if (Math.abs(m13) < 0.99999) {\n dest[0] = Math.atan2(-m23, m33);\n dest[2] = Math.atan2(-m12, m11);\n } else {\n dest[0] = Math.atan2(m32, m22);\n dest[2] = 0;\n\n }\n\n } else if (order === 'YXZ') {\n\n dest[0] = Math.asin(-clamp(m23, -1, 1));\n\n if (Math.abs(m23) < 0.99999) {\n dest[1] = Math.atan2(m13, m33);\n dest[2] = Math.atan2(m21, m22);\n } else {\n dest[1] = Math.atan2(-m31, m11);\n dest[2] = 0;\n }\n\n } else if (order === 'ZXY') {\n\n dest[0] = Math.asin(clamp(m32, -1, 1));\n\n if (Math.abs(m32) < 0.99999) {\n dest[1] = Math.atan2(-m31, m33);\n dest[2] = Math.atan2(-m12, m22);\n } else {\n dest[1] = 0;\n dest[2] = Math.atan2(m21, m11);\n }\n\n } else if (order === 'ZYX') {\n\n dest[1] = Math.asin(-clamp(m31, -1, 1));\n\n if (Math.abs(m31) < 0.99999) {\n dest[0] = Math.atan2(m32, m33);\n dest[2] = Math.atan2(m21, m11);\n } else {\n dest[0] = 0;\n dest[2] = Math.atan2(-m12, m22);\n }\n\n } else if (order === 'YZX') {\n\n dest[2] = Math.asin(clamp(m21, -1, 1));\n\n if (Math.abs(m21) < 0.99999) {\n dest[0] = Math.atan2(-m23, m22);\n dest[1] = Math.atan2(-m31, m11);\n } else {\n dest[0] = 0;\n dest[1] = Math.atan2(m13, m33);\n }\n\n } else if (order === 'XZY') {\n\n dest[2] = Math.asin(-clamp(m12, -1, 1));\n\n if (Math.abs(m12) < 0.99999) {\n dest[0] = Math.atan2(m32, m22);\n dest[1] = Math.atan2(m13, m11);\n } else {\n dest[0] = Math.atan2(-m23, m33);\n dest[1] = 0;\n }\n }\n\n return dest;\n },\n\n composeMat4(position, quaternion, scale, mat = math.mat4()) {\n math.quaternionToRotationMat4(quaternion, mat);\n math.scaleMat4v(scale, mat);\n math.translateMat4v(position, mat);\n\n return mat;\n },\n\n decomposeMat4: (() => {\n\n const vec = new FloatArrayType(3);\n const matrix = new FloatArrayType(16);\n\n return function decompose(mat, position, quaternion, scale) {\n\n vec[0] = mat[0];\n vec[1] = mat[1];\n vec[2] = mat[2];\n\n let sx = math.lenVec3(vec);\n\n vec[0] = mat[4];\n vec[1] = mat[5];\n vec[2] = mat[6];\n\n const sy = math.lenVec3(vec);\n\n vec[8] = mat[8];\n vec[9] = mat[9];\n vec[10] = mat[10];\n\n const sz = math.lenVec3(vec);\n\n // if determine is negative, we need to invert one scale\n const det = math.determinantMat4(mat);\n\n if (det < 0) {\n sx = -sx;\n }\n\n position[0] = mat[12];\n position[1] = mat[13];\n position[2] = mat[14];\n\n // scale the rotation part\n matrix.set(mat);\n\n const invSX = 1 / sx;\n const invSY = 1 / sy;\n const invSZ = 1 / sz;\n\n matrix[0] *= invSX;\n matrix[1] *= invSX;\n matrix[2] *= invSX;\n\n matrix[4] *= invSY;\n matrix[5] *= invSY;\n matrix[6] *= invSY;\n\n matrix[8] *= invSZ;\n matrix[9] *= invSZ;\n matrix[10] *= invSZ;\n\n math.mat4ToQuaternion(matrix, quaternion);\n\n scale[0] = sx;\n scale[1] = sy;\n scale[2] = sz;\n\n return this;\n\n };\n\n })(),\n\n /**\n * Returns a 4x4 'lookat' viewing transform matrix.\n * @method lookAtMat4v\n * @param pos vec3 position of the viewer\n * @param target vec3 point the viewer is looking at\n * @param up vec3 pointing \"up\"\n * @param dest mat4 Optional, mat4 matrix will be written into\n *\n * @return {mat4} dest if specified, a new mat4 otherwise\n */\n lookAtMat4v(pos, target, up, dest) {\n if (!dest) {\n dest = math.mat4();\n }\n\n const posx = pos[0];\n const posy = pos[1];\n const posz = pos[2];\n const upx = up[0];\n const upy = up[1];\n const upz = up[2];\n const targetx = target[0];\n const targety = target[1];\n const targetz = target[2];\n\n if (posx === targetx && posy === targety && posz === targetz) {\n return math.identityMat4();\n }\n\n let z0;\n let z1;\n let z2;\n let x0;\n let x1;\n let x2;\n let y0;\n let y1;\n let y2;\n let len;\n\n //vec3.direction(eye, center, z);\n z0 = posx - targetx;\n z1 = posy - targety;\n z2 = posz - targetz;\n\n // normalize (no check needed for 0 because of early return)\n len = 1 / Math.sqrt(z0 * z0 + z1 * z1 + z2 * z2);\n z0 *= len;\n z1 *= len;\n z2 *= len;\n\n //vec3.normalize(vec3.cross(up, z, x));\n x0 = upy * z2 - upz * z1;\n x1 = upz * z0 - upx * z2;\n x2 = upx * z1 - upy * z0;\n len = Math.sqrt(x0 * x0 + x1 * x1 + x2 * x2);\n if (!len) {\n x0 = 0;\n x1 = 0;\n x2 = 0;\n } else {\n len = 1 / len;\n x0 *= len;\n x1 *= len;\n x2 *= len;\n }\n\n //vec3.normalize(vec3.cross(z, x, y));\n y0 = z1 * x2 - z2 * x1;\n y1 = z2 * x0 - z0 * x2;\n y2 = z0 * x1 - z1 * x0;\n\n len = Math.sqrt(y0 * y0 + y1 * y1 + y2 * y2);\n if (!len) {\n y0 = 0;\n y1 = 0;\n y2 = 0;\n } else {\n len = 1 / len;\n y0 *= len;\n y1 *= len;\n y2 *= len;\n }\n\n dest[0] = x0;\n dest[1] = y0;\n dest[2] = z0;\n dest[3] = 0;\n dest[4] = x1;\n dest[5] = y1;\n dest[6] = z1;\n dest[7] = 0;\n dest[8] = x2;\n dest[9] = y2;\n dest[10] = z2;\n dest[11] = 0;\n dest[12] = -(x0 * posx + x1 * posy + x2 * posz);\n dest[13] = -(y0 * posx + y1 * posy + y2 * posz);\n dest[14] = -(z0 * posx + z1 * posy + z2 * posz);\n dest[15] = 1;\n\n return dest;\n },\n\n /**\n * Returns a 4x4 'lookat' viewing transform matrix.\n * @method lookAtMat4c\n * @static\n */\n lookAtMat4c(posx, posy, posz, targetx, targety, targetz, upx, upy, upz) {\n return math.lookAtMat4v([posx, posy, posz], [targetx, targety, targetz], [upx, upy, upz], []);\n },\n\n /**\n * Returns a 4x4 orthographic projection matrix.\n * @method orthoMat4c\n * @static\n */\n orthoMat4c(left, right, bottom, top, near, far, dest) {\n if (!dest) {\n dest = math.mat4();\n }\n const rl = (right - left);\n const tb = (top - bottom);\n const fn = (far - near);\n\n dest[0] = 2.0 / rl;\n dest[1] = 0.0;\n dest[2] = 0.0;\n dest[3] = 0.0;\n\n dest[4] = 0.0;\n dest[5] = 2.0 / tb;\n dest[6] = 0.0;\n dest[7] = 0.0;\n\n dest[8] = 0.0;\n dest[9] = 0.0;\n dest[10] = -2.0 / fn;\n dest[11] = 0.0;\n\n dest[12] = -(left + right) / rl;\n dest[13] = -(top + bottom) / tb;\n dest[14] = -(far + near) / fn;\n dest[15] = 1.0;\n\n return dest;\n },\n\n /**\n * Returns a 4x4 perspective projection matrix.\n * @method frustumMat4v\n * @static\n */\n frustumMat4v(fmin, fmax, m) {\n if (!m) {\n m = math.mat4();\n }\n\n const fmin4 = [fmin[0], fmin[1], fmin[2], 0.0];\n const fmax4 = [fmax[0], fmax[1], fmax[2], 0.0];\n\n math.addVec4(fmax4, fmin4, tempMat1);\n math.subVec4(fmax4, fmin4, tempMat2);\n\n const t = 2.0 * fmin4[2];\n\n const tempMat20 = tempMat2[0];\n const tempMat21 = tempMat2[1];\n const tempMat22 = tempMat2[2];\n\n m[0] = t / tempMat20;\n m[1] = 0.0;\n m[2] = 0.0;\n m[3] = 0.0;\n\n m[4] = 0.0;\n m[5] = t / tempMat21;\n m[6] = 0.0;\n m[7] = 0.0;\n\n m[8] = tempMat1[0] / tempMat20;\n m[9] = tempMat1[1] / tempMat21;\n m[10] = -tempMat1[2] / tempMat22;\n m[11] = -1.0;\n\n m[12] = 0.0;\n m[13] = 0.0;\n m[14] = -t * fmax4[2] / tempMat22;\n m[15] = 0.0;\n\n return m;\n },\n\n /**\n * Returns a 4x4 perspective projection matrix.\n * @method frustumMat4v\n * @static\n */\n frustumMat4(left, right, bottom, top, near, far, dest) {\n if (!dest) {\n dest = math.mat4();\n }\n const rl = (right - left);\n const tb = (top - bottom);\n const fn = (far - near);\n dest[0] = (near * 2) / rl;\n dest[1] = 0;\n dest[2] = 0;\n dest[3] = 0;\n dest[4] = 0;\n dest[5] = (near * 2) / tb;\n dest[6] = 0;\n dest[7] = 0;\n dest[8] = (right + left) / rl;\n dest[9] = (top + bottom) / tb;\n dest[10] = -(far + near) / fn;\n dest[11] = -1;\n dest[12] = 0;\n dest[13] = 0;\n dest[14] = -(far * near * 2) / fn;\n dest[15] = 0;\n return dest;\n },\n\n /**\n * Returns a 4x4 perspective projection matrix.\n * @method perspectiveMat4v\n * @static\n */\n perspectiveMat4(fovyrad, aspectratio, znear, zfar, m) {\n const pmin = [];\n const pmax = [];\n\n pmin[2] = znear;\n pmax[2] = zfar;\n\n pmax[1] = pmin[2] * Math.tan(fovyrad / 2.0);\n pmin[1] = -pmax[1];\n\n pmax[0] = pmax[1] * aspectratio;\n pmin[0] = -pmax[0];\n\n return math.frustumMat4v(pmin, pmax, m);\n },\n\n /**\n * Transforms a three-element position by a 4x4 matrix.\n * @method transformPoint3\n * @static\n */\n transformPoint3(m, p, dest = math.vec3()) {\n\n const x = p[0];\n const y = p[1];\n const z = p[2];\n\n dest[0] = (m[0] * x) + (m[4] * y) + (m[8] * z) + m[12];\n dest[1] = (m[1] * x) + (m[5] * y) + (m[9] * z) + m[13];\n dest[2] = (m[2] * x) + (m[6] * y) + (m[10] * z) + m[14];\n\n return dest;\n },\n\n /**\n * Transforms a homogeneous coordinate by a 4x4 matrix.\n * @method transformPoint3\n * @static\n */\n transformPoint4(m, v, dest = math.vec4()) {\n dest[0] = m[0] * v[0] + m[4] * v[1] + m[8] * v[2] + m[12] * v[3];\n dest[1] = m[1] * v[0] + m[5] * v[1] + m[9] * v[2] + m[13] * v[3];\n dest[2] = m[2] * v[0] + m[6] * v[1] + m[10] * v[2] + m[14] * v[3];\n dest[3] = m[3] * v[0] + m[7] * v[1] + m[11] * v[2] + m[15] * v[3];\n\n return dest;\n },\n\n\n /**\n * Transforms an array of three-element positions by a 4x4 matrix.\n * @method transformPoints3\n * @static\n */\n transformPoints3(m, points, points2) {\n const result = points2 || [];\n const len = points.length;\n let p0;\n let p1;\n let p2;\n let pi;\n\n // cache values\n const m0 = m[0];\n\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n let r;\n\n for (let i = 0; i < len; ++i) {\n\n // cache values\n pi = points[i];\n\n p0 = pi[0];\n p1 = pi[1];\n p2 = pi[2];\n\n r = result[i] || (result[i] = [0, 0, 0]);\n\n r[0] = (m0 * p0) + (m4 * p1) + (m8 * p2) + m12;\n r[1] = (m1 * p0) + (m5 * p1) + (m9 * p2) + m13;\n r[2] = (m2 * p0) + (m6 * p1) + (m10 * p2) + m14;\n r[3] = (m3 * p0) + (m7 * p1) + (m11 * p2) + m15;\n }\n\n result.length = len;\n\n return result;\n },\n\n /**\n * Transforms an array of positions by a 4x4 matrix.\n * @method transformPositions3\n * @static\n */\n transformPositions3(m, p, p2 = p) {\n let i;\n const len = p.length;\n\n let x;\n let y;\n let z;\n\n const m0 = m[0];\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n for (i = 0; i < len; i += 3) {\n\n x = p[i + 0];\n y = p[i + 1];\n z = p[i + 2];\n\n p2[i + 0] = (m0 * x) + (m4 * y) + (m8 * z) + m12;\n p2[i + 1] = (m1 * x) + (m5 * y) + (m9 * z) + m13;\n p2[i + 2] = (m2 * x) + (m6 * y) + (m10 * z) + m14;\n p2[i + 3] = (m3 * x) + (m7 * y) + (m11 * z) + m15;\n }\n\n return p2;\n },\n\n /**\n * Transforms an array of positions by a 4x4 matrix.\n * @method transformPositions4\n * @static\n */\n transformPositions4(m, p, p2 = p) {\n let i;\n const len = p.length;\n\n let x;\n let y;\n let z;\n\n const m0 = m[0];\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n for (i = 0; i < len; i += 4) {\n\n x = p[i + 0];\n y = p[i + 1];\n z = p[i + 2];\n\n p2[i + 0] = (m0 * x) + (m4 * y) + (m8 * z) + m12;\n p2[i + 1] = (m1 * x) + (m5 * y) + (m9 * z) + m13;\n p2[i + 2] = (m2 * x) + (m6 * y) + (m10 * z) + m14;\n p2[i + 3] = (m3 * x) + (m7 * y) + (m11 * z) + m15;\n }\n\n return p2;\n },\n\n /**\n * Transforms a three-element vector by a 4x4 matrix.\n * @method transformVec3\n * @static\n */\n transformVec3(m, v, dest) {\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n dest = dest || this.vec3();\n dest[0] = (m[0] * v0) + (m[4] * v1) + (m[8] * v2);\n dest[1] = (m[1] * v0) + (m[5] * v1) + (m[9] * v2);\n dest[2] = (m[2] * v0) + (m[6] * v1) + (m[10] * v2);\n return dest;\n },\n\n /**\n * Transforms a four-element vector by a 4x4 matrix.\n * @method transformVec4\n * @static\n */\n transformVec4(m, v, dest) {\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n const v3 = v[3];\n dest = dest || math.vec4();\n dest[0] = m[0] * v0 + m[4] * v1 + m[8] * v2 + m[12] * v3;\n dest[1] = m[1] * v0 + m[5] * v1 + m[9] * v2 + m[13] * v3;\n dest[2] = m[2] * v0 + m[6] * v1 + m[10] * v2 + m[14] * v3;\n dest[3] = m[3] * v0 + m[7] * v1 + m[11] * v2 + m[15] * v3;\n return dest;\n },\n\n /**\n * Rotate a 3D vector around the x-axis\n *\n * @method rotateVec3X\n * @param {Number[]} a The vec3 point to rotate\n * @param {Number[]} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @param {Number[]} dest The receiving vec3\n * @returns {Number[]} dest\n * @static\n */\n rotateVec3X(a, b, c, dest) {\n const p = [];\n const r = [];\n\n //Translate point to the origin\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2];\n\n //perform rotation\n r[0] = p[0];\n r[1] = p[1] * Math.cos(c) - p[2] * Math.sin(c);\n r[2] = p[1] * Math.sin(c) + p[2] * Math.cos(c);\n\n //translate to correct position\n dest[0] = r[0] + b[0];\n dest[1] = r[1] + b[1];\n dest[2] = r[2] + b[2];\n\n return dest;\n },\n\n /**\n * Rotate a 3D vector around the y-axis\n *\n * @method rotateVec3Y\n * @param {Number[]} a The vec3 point to rotate\n * @param {Number[]} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @param {Number[]} dest The receiving vec3\n * @returns {Number[]} dest\n * @static\n */\n rotateVec3Y(a, b, c, dest) {\n const p = [];\n const r = [];\n\n //Translate point to the origin\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2];\n\n //perform rotation\n r[0] = p[2] * Math.sin(c) + p[0] * Math.cos(c);\n r[1] = p[1];\n r[2] = p[2] * Math.cos(c) - p[0] * Math.sin(c);\n\n //translate to correct position\n dest[0] = r[0] + b[0];\n dest[1] = r[1] + b[1];\n dest[2] = r[2] + b[2];\n\n return dest;\n },\n\n /**\n * Rotate a 3D vector around the z-axis\n *\n * @method rotateVec3Z\n * @param {Number[]} a The vec3 point to rotate\n * @param {Number[]} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @param {Number[]} dest The receiving vec3\n * @returns {Number[]} dest\n * @static\n */\n rotateVec3Z(a, b, c, dest) {\n const p = [];\n const r = [];\n\n //Translate point to the origin\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2];\n\n //perform rotation\n r[0] = p[0] * Math.cos(c) - p[1] * Math.sin(c);\n r[1] = p[0] * Math.sin(c) + p[1] * Math.cos(c);\n r[2] = p[2];\n\n //translate to correct position\n dest[0] = r[0] + b[0];\n dest[1] = r[1] + b[1];\n dest[2] = r[2] + b[2];\n\n return dest;\n },\n\n /**\n * Transforms a four-element vector by a 4x4 projection matrix.\n *\n * @method projectVec4\n * @param {Number[]} p 3D View-space coordinate\n * @param {Number[]} q 2D Projected coordinate\n * @returns {Number[]} 2D Projected coordinate\n * @static\n */\n projectVec4(p, q) {\n const f = 1.0 / p[3];\n q = q || math.vec2();\n q[0] = v[0] * f;\n q[1] = v[1] * f;\n return q;\n },\n\n /**\n * Unprojects a three-element vector.\n *\n * @method unprojectVec3\n * @param {Number[]} p 3D Projected coordinate\n * @param {Number[]} viewMat View matrix\n * @returns {Number[]} projMat Projection matrix\n * @static\n */\n unprojectVec3: ((() => {\n const mat = new FloatArrayType(16);\n const mat2 = new FloatArrayType(16);\n const mat3 = new FloatArrayType(16);\n return function (p, viewMat, projMat, q) {\n return this.transformVec3(this.mulMat4(this.inverseMat4(viewMat, mat), this.inverseMat4(projMat, mat2), mat3), p, q)\n };\n }))(),\n\n /**\n * Linearly interpolates between two 3D vectors.\n * @method lerpVec3\n * @static\n */\n lerpVec3(t, t1, t2, p1, p2, dest) {\n const result = dest || math.vec3();\n const f = (t - t1) / (t2 - t1);\n result[0] = p1[0] + (f * (p2[0] - p1[0]));\n result[1] = p1[1] + (f * (p2[1] - p1[1]));\n result[2] = p1[2] + (f * (p2[2] - p1[2]));\n return result;\n },\n\n\n /**\n * Flattens a two-dimensional array into a one-dimensional array.\n *\n * @method flatten\n * @static\n * @param {Array of Arrays} a A 2D array\n * @returns Flattened 1D array\n */\n flatten(a) {\n\n const result = [];\n\n let i;\n let leni;\n let j;\n let lenj;\n let item;\n\n for (i = 0, leni = a.length; i < leni; i++) {\n item = a[i];\n for (j = 0, lenj = item.length; j < lenj; j++) {\n result.push(item[j]);\n }\n }\n\n return result;\n },\n\n\n identityQuaternion(dest = math.vec4()) {\n dest[0] = 0.0;\n dest[1] = 0.0;\n dest[2] = 0.0;\n dest[3] = 1.0;\n return dest;\n },\n\n /**\n * Initializes a quaternion from Euler angles.\n *\n * @param {Number[]} euler The Euler angles.\n * @param {String} order Euler angle order: \"XYZ\", \"YXZ\", \"ZXY\" etc.\n * @param {Number[]} [dest] Destination quaternion, created by default.\n * @returns {Number[]} The quaternion.\n */\n eulerToQuaternion(euler, order, dest = math.vec4()) {\n // http://www.mathworks.com/matlabcentral/fileexchange/\n // \t20696-function-to-convert-between-dcm-euler-angles-quaternions-and-euler-vectors/\n //\tcontent/SpinCalc.m\n\n const a = (euler[0] * math.DEGTORAD) / 2;\n const b = (euler[1] * math.DEGTORAD) / 2;\n const c = (euler[2] * math.DEGTORAD) / 2;\n\n const c1 = Math.cos(a);\n const c2 = Math.cos(b);\n const c3 = Math.cos(c);\n const s1 = Math.sin(a);\n const s2 = Math.sin(b);\n const s3 = Math.sin(c);\n\n if (order === 'XYZ') {\n\n dest[0] = s1 * c2 * c3 + c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 - s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 + s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 - s1 * s2 * s3;\n\n } else if (order === 'YXZ') {\n\n dest[0] = s1 * c2 * c3 + c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 - s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 - s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 + s1 * s2 * s3;\n\n } else if (order === 'ZXY') {\n\n dest[0] = s1 * c2 * c3 - c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 + s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 + s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 - s1 * s2 * s3;\n\n } else if (order === 'ZYX') {\n\n dest[0] = s1 * c2 * c3 - c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 + s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 - s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 + s1 * s2 * s3;\n\n } else if (order === 'YZX') {\n\n dest[0] = s1 * c2 * c3 + c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 + s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 - s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 - s1 * s2 * s3;\n\n } else if (order === 'XZY') {\n\n dest[0] = s1 * c2 * c3 - c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 - s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 + s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 + s1 * s2 * s3;\n }\n\n return dest;\n },\n\n mat4ToQuaternion(m, dest = math.vec4()) {\n // http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/index.htm\n\n // Assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)\n\n const m11 = m[0];\n const m12 = m[4];\n const m13 = m[8];\n const m21 = m[1];\n const m22 = m[5];\n const m23 = m[9];\n const m31 = m[2];\n const m32 = m[6];\n const m33 = m[10];\n let s;\n\n const trace = m11 + m22 + m33;\n\n if (trace > 0) {\n\n s = 0.5 / Math.sqrt(trace + 1.0);\n\n dest[3] = 0.25 / s;\n dest[0] = (m32 - m23) * s;\n dest[1] = (m13 - m31) * s;\n dest[2] = (m21 - m12) * s;\n\n } else if (m11 > m22 && m11 > m33) {\n\n s = 2.0 * Math.sqrt(1.0 + m11 - m22 - m33);\n\n dest[3] = (m32 - m23) / s;\n dest[0] = 0.25 * s;\n dest[1] = (m12 + m21) / s;\n dest[2] = (m13 + m31) / s;\n\n } else if (m22 > m33) {\n\n s = 2.0 * Math.sqrt(1.0 + m22 - m11 - m33);\n\n dest[3] = (m13 - m31) / s;\n dest[0] = (m12 + m21) / s;\n dest[1] = 0.25 * s;\n dest[2] = (m23 + m32) / s;\n\n } else {\n\n s = 2.0 * Math.sqrt(1.0 + m33 - m11 - m22);\n\n dest[3] = (m21 - m12) / s;\n dest[0] = (m13 + m31) / s;\n dest[1] = (m23 + m32) / s;\n dest[2] = 0.25 * s;\n }\n\n return dest;\n },\n\n vec3PairToQuaternion(u, v, dest = math.vec4()) {\n const norm_u_norm_v = Math.sqrt(math.dotVec3(u, u) * math.dotVec3(v, v));\n let real_part = norm_u_norm_v + math.dotVec3(u, v);\n\n if (real_part < 0.00000001 * norm_u_norm_v) {\n\n // If u and v are exactly opposite, rotate 180 degrees\n // around an arbitrary orthogonal axis. Axis normalisation\n // can happen later, when we normalise the quaternion.\n\n real_part = 0.0;\n\n if (Math.abs(u[0]) > Math.abs(u[2])) {\n\n dest[0] = -u[1];\n dest[1] = u[0];\n dest[2] = 0;\n\n } else {\n dest[0] = 0;\n dest[1] = -u[2];\n dest[2] = u[1]\n }\n\n } else {\n\n // Otherwise, build quaternion the standard way.\n math.cross3Vec3(u, v, dest);\n }\n\n dest[3] = real_part;\n\n return math.normalizeQuaternion(dest);\n },\n\n angleAxisToQuaternion(angleAxis, dest = math.vec4()) {\n const halfAngle = angleAxis[3] / 2.0;\n const fsin = Math.sin(halfAngle);\n dest[0] = fsin * angleAxis[0];\n dest[1] = fsin * angleAxis[1];\n dest[2] = fsin * angleAxis[2];\n dest[3] = Math.cos(halfAngle);\n return dest;\n },\n\n quaternionToEuler: ((() => {\n const mat = new FloatArrayType(16);\n return (q, order, dest) => {\n dest = dest || math.vec3();\n math.quaternionToRotationMat4(q, mat);\n math.mat4ToEuler(mat, order, dest);\n return dest;\n };\n }))(),\n\n mulQuaternions(p, q, dest = math.vec4()) {\n const p0 = p[0];\n const p1 = p[1];\n const p2 = p[2];\n const p3 = p[3];\n const q0 = q[0];\n const q1 = q[1];\n const q2 = q[2];\n const q3 = q[3];\n dest[0] = p3 * q0 + p0 * q3 + p1 * q2 - p2 * q1;\n dest[1] = p3 * q1 + p1 * q3 + p2 * q0 - p0 * q2;\n dest[2] = p3 * q2 + p2 * q3 + p0 * q1 - p1 * q0;\n dest[3] = p3 * q3 - p0 * q0 - p1 * q1 - p2 * q2;\n return dest;\n },\n\n vec3ApplyQuaternion(q, vec, dest = math.vec3()) {\n const x = vec[0];\n const y = vec[1];\n const z = vec[2];\n\n const qx = q[0];\n const qy = q[1];\n const qz = q[2];\n const qw = q[3];\n\n // calculate quat * vector\n\n const ix = qw * x + qy * z - qz * y;\n const iy = qw * y + qz * x - qx * z;\n const iz = qw * z + qx * y - qy * x;\n const iw = -qx * x - qy * y - qz * z;\n\n // calculate result * inverse quat\n\n dest[0] = ix * qw + iw * -qx + iy * -qz - iz * -qy;\n dest[1] = iy * qw + iw * -qy + iz * -qx - ix * -qz;\n dest[2] = iz * qw + iw * -qz + ix * -qy - iy * -qx;\n\n return dest;\n },\n\n quaternionToMat4(q, dest) {\n\n dest = math.identityMat4(dest);\n\n const q0 = q[0]; //x\n const q1 = q[1]; //y\n const q2 = q[2]; //z\n const q3 = q[3]; //w\n\n const tx = 2.0 * q0;\n const ty = 2.0 * q1;\n const tz = 2.0 * q2;\n\n const twx = tx * q3;\n const twy = ty * q3;\n const twz = tz * q3;\n\n const txx = tx * q0;\n const txy = ty * q0;\n const txz = tz * q0;\n\n const tyy = ty * q1;\n const tyz = tz * q1;\n const tzz = tz * q2;\n\n dest[0] = 1.0 - (tyy + tzz);\n dest[1] = txy + twz;\n dest[2] = txz - twy;\n\n dest[4] = txy - twz;\n dest[5] = 1.0 - (txx + tzz);\n dest[6] = tyz + twx;\n\n dest[8] = txz + twy;\n dest[9] = tyz - twx;\n\n dest[10] = 1.0 - (txx + tyy);\n\n return dest;\n },\n\n quaternionToRotationMat4(q, m) {\n const x = q[0];\n const y = q[1];\n const z = q[2];\n const w = q[3];\n\n const x2 = x + x;\n const y2 = y + y;\n const z2 = z + z;\n const xx = x * x2;\n const xy = x * y2;\n const xz = x * z2;\n const yy = y * y2;\n const yz = y * z2;\n const zz = z * z2;\n const wx = w * x2;\n const wy = w * y2;\n const wz = w * z2;\n\n m[0] = 1 - (yy + zz);\n m[4] = xy - wz;\n m[8] = xz + wy;\n\n m[1] = xy + wz;\n m[5] = 1 - (xx + zz);\n m[9] = yz - wx;\n\n m[2] = xz - wy;\n m[6] = yz + wx;\n m[10] = 1 - (xx + yy);\n\n // last column\n m[3] = 0;\n m[7] = 0;\n m[11] = 0;\n\n // bottom row\n m[12] = 0;\n m[13] = 0;\n m[14] = 0;\n m[15] = 1;\n\n return m;\n },\n\n normalizeQuaternion(q, dest = q) {\n const len = math.lenVec4([q[0], q[1], q[2], q[3]]);\n dest[0] = q[0] / len;\n dest[1] = q[1] / len;\n dest[2] = q[2] / len;\n dest[3] = q[3] / len;\n return dest;\n },\n\n conjugateQuaternion(q, dest = q) {\n dest[0] = -q[0];\n dest[1] = -q[1];\n dest[2] = -q[2];\n dest[3] = q[3];\n return dest;\n },\n\n inverseQuaternion(q, dest) {\n return math.normalizeQuaternion(math.conjugateQuaternion(q, dest));\n },\n\n quaternionToAngleAxis(q, angleAxis = math.vec4()) {\n q = math.normalizeQuaternion(q, tempVec4);\n const q3 = q[3];\n const angle = 2 * Math.acos(q3);\n const s = Math.sqrt(1 - q3 * q3);\n if (s < 0.001) { // test to avoid divide by zero, s is always positive due to sqrt\n angleAxis[0] = q[0];\n angleAxis[1] = q[1];\n angleAxis[2] = q[2];\n } else {\n angleAxis[0] = q[0] / s;\n angleAxis[1] = q[1] / s;\n angleAxis[2] = q[2] / s;\n }\n angleAxis[3] = angle; // * 57.295779579;\n return angleAxis;\n },\n\n //------------------------------------------------------------------------------------------------------------------\n // Boundaries\n //------------------------------------------------------------------------------------------------------------------\n\n /**\n * Returns a new, uninitialized 3D axis-aligned bounding box.\n *\n * @private\n */\n AABB3(values) {\n return new FloatArrayType(values || 6);\n },\n\n /**\n * Returns a new, uninitialized 2D axis-aligned bounding box.\n *\n * @private\n */\n AABB2(values) {\n return new FloatArrayType(values || 4);\n },\n\n /**\n * Returns a new, uninitialized 3D oriented bounding box (OBB).\n *\n * @private\n */\n OBB3(values) {\n return new FloatArrayType(values || 32);\n },\n\n /**\n * Returns a new, uninitialized 2D oriented bounding box (OBB).\n *\n * @private\n */\n OBB2(values) {\n return new FloatArrayType(values || 16);\n },\n\n /** Returns a new 3D bounding sphere */\n Sphere3(x, y, z, r) {\n return new FloatArrayType([x, y, z, r]);\n },\n\n /**\n * Transforms an OBB3 by a 4x4 matrix.\n *\n * @private\n */\n transformOBB3(m, p, p2 = p) {\n let i;\n const len = p.length;\n\n let x;\n let y;\n let z;\n\n const m0 = m[0];\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n for (i = 0; i < len; i += 4) {\n\n x = p[i + 0];\n y = p[i + 1];\n z = p[i + 2];\n\n p2[i + 0] = (m0 * x) + (m4 * y) + (m8 * z) + m12;\n p2[i + 1] = (m1 * x) + (m5 * y) + (m9 * z) + m13;\n p2[i + 2] = (m2 * x) + (m6 * y) + (m10 * z) + m14;\n p2[i + 3] = (m3 * x) + (m7 * y) + (m11 * z) + m15;\n }\n\n return p2;\n },\n\n /** Returns true if the first AABB contains the second AABB.\n * @param aabb1\n * @param aabb2\n * @returns {boolean}\n */\n containsAABB3: function (aabb1, aabb2) {\n const result = (\n aabb1[0] <= aabb2[0] && aabb2[3] <= aabb1[3] &&\n aabb1[1] <= aabb2[1] && aabb2[4] <= aabb1[4] &&\n aabb1[2] <= aabb2[2] && aabb2[5] <= aabb1[5]);\n return result;\n },\n\n /**\n * Gets the diagonal size of an AABB3 given as minima and maxima.\n *\n * @private\n */\n getAABB3Diag: ((() => {\n\n const min = new FloatArrayType(3);\n const max = new FloatArrayType(3);\n const tempVec3 = new FloatArrayType(3);\n\n return aabb => {\n\n min[0] = aabb[0];\n min[1] = aabb[1];\n min[2] = aabb[2];\n\n max[0] = aabb[3];\n max[1] = aabb[4];\n max[2] = aabb[5];\n\n math.subVec3(max, min, tempVec3);\n\n return Math.abs(math.lenVec3(tempVec3));\n };\n }))(),\n\n /**\n * Get a diagonal boundary size that is symmetrical about the given point.\n *\n * @private\n */\n getAABB3DiagPoint: ((() => {\n\n const min = new FloatArrayType(3);\n const max = new FloatArrayType(3);\n const tempVec3 = new FloatArrayType(3);\n\n return (aabb, p) => {\n\n min[0] = aabb[0];\n min[1] = aabb[1];\n min[2] = aabb[2];\n\n max[0] = aabb[3];\n max[1] = aabb[4];\n max[2] = aabb[5];\n\n const diagVec = math.subVec3(max, min, tempVec3);\n\n const xneg = p[0] - aabb[0];\n const xpos = aabb[3] - p[0];\n const yneg = p[1] - aabb[1];\n const ypos = aabb[4] - p[1];\n const zneg = p[2] - aabb[2];\n const zpos = aabb[5] - p[2];\n\n diagVec[0] += (xneg > xpos) ? xneg : xpos;\n diagVec[1] += (yneg > ypos) ? yneg : ypos;\n diagVec[2] += (zneg > zpos) ? zneg : zpos;\n\n return Math.abs(math.lenVec3(diagVec));\n };\n }))(),\n\n /**\n * Gets the center of an AABB.\n *\n * @private\n */\n getAABB3Center(aabb, dest) {\n const r = dest || math.vec3();\n\n r[0] = (aabb[0] + aabb[3]) / 2;\n r[1] = (aabb[1] + aabb[4]) / 2;\n r[2] = (aabb[2] + aabb[5]) / 2;\n\n return r;\n },\n\n /**\n * Gets the center of a 2D AABB.\n *\n * @private\n */\n getAABB2Center(aabb, dest) {\n const r = dest || math.vec2();\n\n r[0] = (aabb[2] + aabb[0]) / 2;\n r[1] = (aabb[3] + aabb[1]) / 2;\n\n return r;\n },\n\n /**\n * Collapses a 3D axis-aligned boundary, ready to expand to fit 3D points.\n * Creates new AABB if none supplied.\n *\n * @private\n */\n collapseAABB3(aabb = math.AABB3()) {\n aabb[0] = math.MAX_DOUBLE;\n aabb[1] = math.MAX_DOUBLE;\n aabb[2] = math.MAX_DOUBLE;\n aabb[3] = -math.MAX_DOUBLE;\n aabb[4] = -math.MAX_DOUBLE;\n aabb[5] = -math.MAX_DOUBLE;\n\n return aabb;\n },\n\n /**\n * Converts an axis-aligned 3D boundary into an oriented boundary consisting of\n * an array of eight 3D positions, one for each corner of the boundary.\n *\n * @private\n */\n AABB3ToOBB3(aabb, obb = math.OBB3()) {\n obb[0] = aabb[0];\n obb[1] = aabb[1];\n obb[2] = aabb[2];\n obb[3] = 1;\n\n obb[4] = aabb[3];\n obb[5] = aabb[1];\n obb[6] = aabb[2];\n obb[7] = 1;\n\n obb[8] = aabb[3];\n obb[9] = aabb[4];\n obb[10] = aabb[2];\n obb[11] = 1;\n\n obb[12] = aabb[0];\n obb[13] = aabb[4];\n obb[14] = aabb[2];\n obb[15] = 1;\n\n obb[16] = aabb[0];\n obb[17] = aabb[1];\n obb[18] = aabb[5];\n obb[19] = 1;\n\n obb[20] = aabb[3];\n obb[21] = aabb[1];\n obb[22] = aabb[5];\n obb[23] = 1;\n\n obb[24] = aabb[3];\n obb[25] = aabb[4];\n obb[26] = aabb[5];\n obb[27] = 1;\n\n obb[28] = aabb[0];\n obb[29] = aabb[4];\n obb[30] = aabb[5];\n obb[31] = 1;\n\n return obb;\n },\n\n /**\n * Finds the minimum axis-aligned 3D boundary enclosing the homogeneous 3D points (x,y,z,w) given in a flattened array.\n *\n * @private\n */\n positions3ToAABB3: ((() => {\n\n const p = new FloatArrayType(3);\n\n return (positions, aabb, positionsDecodeMatrix) => {\n aabb = aabb || math.AABB3();\n\n let xmin = math.MAX_DOUBLE;\n let ymin = math.MAX_DOUBLE;\n let zmin = math.MAX_DOUBLE;\n let xmax = -math.MAX_DOUBLE;\n let ymax = -math.MAX_DOUBLE;\n let zmax = -math.MAX_DOUBLE;\n\n let x;\n let y;\n let z;\n\n for (let i = 0, len = positions.length; i < len; i += 3) {\n\n if (positionsDecodeMatrix) {\n\n p[0] = positions[i + 0];\n p[1] = positions[i + 1];\n p[2] = positions[i + 2];\n\n math.decompressPosition(p, positionsDecodeMatrix, p);\n\n x = p[0];\n y = p[1];\n z = p[2];\n\n } else {\n x = positions[i + 0];\n y = positions[i + 1];\n z = positions[i + 2];\n }\n\n if (x < xmin) {\n xmin = x;\n }\n\n if (y < ymin) {\n ymin = y;\n }\n\n if (z < zmin) {\n zmin = z;\n }\n\n if (x > xmax) {\n xmax = x;\n }\n\n if (y > ymax) {\n ymax = y;\n }\n\n if (z > zmax) {\n zmax = z;\n }\n }\n\n aabb[0] = xmin;\n aabb[1] = ymin;\n aabb[2] = zmin;\n aabb[3] = xmax;\n aabb[4] = ymax;\n aabb[5] = zmax;\n\n return aabb;\n };\n }))(),\n\n /**\n * Finds the minimum axis-aligned 3D boundary enclosing the homogeneous 3D points (x,y,z,w) given in a flattened array.\n *\n * @private\n */\n OBB3ToAABB3(obb, aabb = math.AABB3()) {\n let xmin = math.MAX_DOUBLE;\n let ymin = math.MAX_DOUBLE;\n let zmin = math.MAX_DOUBLE;\n let xmax = -math.MAX_DOUBLE;\n let ymax = -math.MAX_DOUBLE;\n let zmax = -math.MAX_DOUBLE;\n\n let x;\n let y;\n let z;\n\n for (let i = 0, len = obb.length; i < len; i += 4) {\n\n x = obb[i + 0];\n y = obb[i + 1];\n z = obb[i + 2];\n\n if (x < xmin) {\n xmin = x;\n }\n\n if (y < ymin) {\n ymin = y;\n }\n\n if (z < zmin) {\n zmin = z;\n }\n\n if (x > xmax) {\n xmax = x;\n }\n\n if (y > ymax) {\n ymax = y;\n }\n\n if (z > zmax) {\n zmax = z;\n }\n }\n\n aabb[0] = xmin;\n aabb[1] = ymin;\n aabb[2] = zmin;\n aabb[3] = xmax;\n aabb[4] = ymax;\n aabb[5] = zmax;\n\n return aabb;\n },\n\n /**\n * Finds the minimum axis-aligned 3D boundary enclosing the given 3D points.\n *\n * @private\n */\n points3ToAABB3(points, aabb = math.AABB3()) {\n let xmin = math.MAX_DOUBLE;\n let ymin = math.MAX_DOUBLE;\n let zmin = math.MAX_DOUBLE;\n let xmax = -math.MAX_DOUBLE;\n let ymax = -math.MAX_DOUBLE;\n let zmax = -math.MAX_DOUBLE;\n\n let x;\n let y;\n let z;\n\n for (let i = 0, len = points.length; i < len; i++) {\n\n x = points[i][0];\n y = points[i][1];\n z = points[i][2];\n\n if (x < xmin) {\n xmin = x;\n }\n\n if (y < ymin) {\n ymin = y;\n }\n\n if (z < zmin) {\n zmin = z;\n }\n\n if (x > xmax) {\n xmax = x;\n }\n\n if (y > ymax) {\n ymax = y;\n }\n\n if (z > zmax) {\n zmax = z;\n }\n }\n\n aabb[0] = xmin;\n aabb[1] = ymin;\n aabb[2] = zmin;\n aabb[3] = xmax;\n aabb[4] = ymax;\n aabb[5] = zmax;\n\n return aabb;\n },\n\n /**\n * Finds the minimum boundary sphere enclosing the given 3D points.\n *\n * @private\n */\n points3ToSphere3: ((() => {\n\n const tempVec3 = new FloatArrayType(3);\n\n return (points, sphere) => {\n\n sphere = sphere || math.vec4();\n\n let x = 0;\n let y = 0;\n let z = 0;\n\n let i;\n const numPoints = points.length;\n\n for (i = 0; i < numPoints; i++) {\n x += points[i][0];\n y += points[i][1];\n z += points[i][2];\n }\n\n sphere[0] = x / numPoints;\n sphere[1] = y / numPoints;\n sphere[2] = z / numPoints;\n\n let radius = 0;\n let dist;\n\n for (i = 0; i < numPoints; i++) {\n\n dist = Math.abs(math.lenVec3(math.subVec3(points[i], sphere, tempVec3)));\n\n if (dist > radius) {\n radius = dist;\n }\n }\n\n sphere[3] = radius;\n\n return sphere;\n };\n }))(),\n\n /**\n * Finds the minimum boundary sphere enclosing the given 3D positions.\n *\n * @private\n */\n positions3ToSphere3: ((() => {\n\n const tempVec3a = new FloatArrayType(3);\n const tempVec3b = new FloatArrayType(3);\n\n return (positions, sphere) => {\n\n sphere = sphere || math.vec4();\n\n let x = 0;\n let y = 0;\n let z = 0;\n\n let i;\n const lenPositions = positions.length;\n let radius = 0;\n\n for (i = 0; i < lenPositions; i += 3) {\n x += positions[i];\n y += positions[i + 1];\n z += positions[i + 2];\n }\n\n const numPositions = lenPositions / 3;\n\n sphere[0] = x / numPositions;\n sphere[1] = y / numPositions;\n sphere[2] = z / numPositions;\n\n let dist;\n\n for (i = 0; i < lenPositions; i += 3) {\n\n tempVec3a[0] = positions[i];\n tempVec3a[1] = positions[i + 1];\n tempVec3a[2] = positions[i + 2];\n\n dist = Math.abs(math.lenVec3(math.subVec3(tempVec3a, sphere, tempVec3b)));\n\n if (dist > radius) {\n radius = dist;\n }\n }\n\n sphere[3] = radius;\n\n return sphere;\n };\n }))(),\n\n /**\n * Finds the minimum boundary sphere enclosing the given 3D points.\n *\n * @private\n */\n OBB3ToSphere3: ((() => {\n\n const point = new FloatArrayType(3);\n const tempVec3 = new FloatArrayType(3);\n\n return (points, sphere) => {\n\n sphere = sphere || math.vec4();\n\n let x = 0;\n let y = 0;\n let z = 0;\n\n let i;\n const lenPoints = points.length;\n const numPoints = lenPoints / 4;\n\n for (i = 0; i < lenPoints; i += 4) {\n x += points[i + 0];\n y += points[i + 1];\n z += points[i + 2];\n }\n\n sphere[0] = x / numPoints;\n sphere[1] = y / numPoints;\n sphere[2] = z / numPoints;\n\n let radius = 0;\n let dist;\n\n for (i = 0; i < lenPoints; i += 4) {\n\n point[0] = points[i + 0];\n point[1] = points[i + 1];\n point[2] = points[i + 2];\n\n dist = Math.abs(math.lenVec3(math.subVec3(point, sphere, tempVec3)));\n\n if (dist > radius) {\n radius = dist;\n }\n }\n\n sphere[3] = radius;\n\n return sphere;\n };\n }))(),\n\n /**\n * Gets the center of a bounding sphere.\n *\n * @private\n */\n getSphere3Center(sphere, dest = math.vec3()) {\n dest[0] = sphere[0];\n dest[1] = sphere[1];\n dest[2] = sphere[2];\n\n return dest;\n },\n\n /**\n * Expands the first axis-aligned 3D boundary to enclose the second, if required.\n *\n * @private\n */\n expandAABB3(aabb1, aabb2) {\n\n if (aabb1[0] > aabb2[0]) {\n aabb1[0] = aabb2[0];\n }\n\n if (aabb1[1] > aabb2[1]) {\n aabb1[1] = aabb2[1];\n }\n\n if (aabb1[2] > aabb2[2]) {\n aabb1[2] = aabb2[2];\n }\n\n if (aabb1[3] < aabb2[3]) {\n aabb1[3] = aabb2[3];\n }\n\n if (aabb1[4] < aabb2[4]) {\n aabb1[4] = aabb2[4];\n }\n\n if (aabb1[5] < aabb2[5]) {\n aabb1[5] = aabb2[5];\n }\n\n return aabb1;\n },\n\n /**\n * Expands an axis-aligned 3D boundary to enclose the given point, if needed.\n *\n * @private\n */\n expandAABB3Point3(aabb, p) {\n\n if (aabb[0] > p[0]) {\n aabb[0] = p[0];\n }\n\n if (aabb[1] > p[1]) {\n aabb[1] = p[1];\n }\n\n if (aabb[2] > p[2]) {\n aabb[2] = p[2];\n }\n\n if (aabb[3] < p[0]) {\n aabb[3] = p[0];\n }\n\n if (aabb[4] < p[1]) {\n aabb[4] = p[1];\n }\n\n if (aabb[5] < p[2]) {\n aabb[5] = p[2];\n }\n\n return aabb;\n },\n\n /**\n * Calculates the normal vector of a triangle.\n *\n * @private\n */\n triangleNormal(a, b, c, normal = math.vec3()) {\n const p1x = b[0] - a[0];\n const p1y = b[1] - a[1];\n const p1z = b[2] - a[2];\n\n const p2x = c[0] - a[0];\n const p2y = c[1] - a[1];\n const p2z = c[2] - a[2];\n\n const p3x = p1y * p2z - p1z * p2y;\n const p3y = p1z * p2x - p1x * p2z;\n const p3z = p1x * p2y - p1y * p2x;\n\n const mag = Math.sqrt(p3x * p3x + p3y * p3y + p3z * p3z);\n if (mag === 0) {\n normal[0] = 0;\n normal[1] = 0;\n normal[2] = 0;\n } else {\n normal[0] = p3x / mag;\n normal[1] = p3y / mag;\n normal[2] = p3z / mag;\n }\n\n return normal\n }\n};\n\nexport {math};","/**\n * Given geometry defined as an array of positions, optional normals, option uv and an array of indices, returns\n * modified arrays that have duplicate vertices removed.\n *\n * @private\n */\nfunction mergeVertices(positions, indices, mergedPositions, mergedIndices) {\n const positionsMap = {};\n const indicesLookup = [];\n const precisionPoints = 4; // number of decimal points, e.g. 4 for epsilon of 0.0001\n const precision = 10 ** precisionPoints;\n let uvi = 0;\n for (let i = 0, len = positions.length; i < len; i += 3) {\n const vx = positions[i];\n const vy = positions[i + 1];\n const vz = positions[i + 2];\n const key = `${Math.round(vx * precision)}_${Math.round(vy * precision)}_${Math.round(vz * precision)}`;\n if (positionsMap[key] === undefined) {\n positionsMap[key] = mergedPositions.length / 3;\n mergedPositions.push(vx);\n mergedPositions.push(vy);\n mergedPositions.push(vz);\n }\n indicesLookup[i / 3] = positionsMap[key];\n uvi += 2;\n }\n for (let i = 0, len = indices.length; i < len; i++) {\n mergedIndices[i] = indicesLookup[indices[i]];\n }\n}\n\nexport {mergeVertices};","import {earcut} from './../lib/earcut';\nimport {math} from \"./../lib/math.js\";\n\nconst tempVec2a = math.vec2();\nconst tempVec3a = math.vec3();\nconst tempVec3b = math.vec3();\nconst tempVec3c = math.vec3();\n\n/**\n * @desc Parses a CityJSON model into an {@link XKTModel}.\n *\n * [CityJSON](https://www.cityjson.org) is a JSON-based encoding for a subset of the CityGML data model (version 2.0.0),\n * which is an open standardised data model and exchange format to store digital 3D models of cities and\n * landscapes. CityGML is an official standard of the [Open Geospatial Consortium](https://www.ogc.org/).\n *\n * This converter function supports most of the [CityJSON 1.0.2 Specification](https://www.cityjson.org/specs/1.0.2),\n * with the following limitations:\n *\n * * Does not (yet) support CityJSON semantics for geometry primitives.\n * * Does not (yet) support textured geometries.\n * * Does not (yet) support geometry templates.\n * * When the CityJSON file provides multiple *themes* for a geometry, then we parse only the first of the provided themes for that geometry.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a CityJSON model into it.\n *\n * ````javascript\n * utils.loadJSON(\"./models/cityjson/DenHaag.json\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseCityJSONIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {Object} params.data CityJSON data.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {boolean} [params.center=false] Set true to center the CityJSON vertex positions to [0,0,0]. This is applied before the transformation matrix, if specified.\n * @param {Boolean} [params.transform] 4x4 transformation matrix to transform CityJSON vertex positions. Use this to rotate, translate and scale them if neccessary.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when CityJSON has been parsed.\n */\nfunction parseCityJSONIntoXKTModel({\n data,\n xktModel,\n center = false,\n transform = null,\n stats = {}, log\n }) {\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (data.type !== \"CityJSON\") {\n reject(\"Invalid argument: data is not a CityJSON file\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n let vertices;\n\n log(\"Using parser: parseCityJSONIntoXKTModel\");\n\n log(`center: ${center}`);\n if (transform) {\n log(`transform: [${transform}]`);\n }\n\n if (data.transform || center || transform) {\n vertices = copyVertices(data.vertices);\n if (data.transform) {\n transformVertices(vertices, data.transform)\n }\n if (center) {\n centerVertices(vertices);\n }\n if (transform) {\n customTransformVertices(vertices, transform);\n }\n } else {\n vertices = data.vertices;\n }\n\n stats.sourceFormat = data.type || \"\";\n stats.schemaVersion = data.version || \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 0;\n stats.numPropertySets = 0;\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n const rootMetaObjectId = math.createUUID();\n\n xktModel.createMetaObject({\n metaObjectId: rootMetaObjectId,\n metaObjectType: \"Model\",\n metaObjectName: \"Model\"\n });\n\n stats.numMetaObjects++;\n\n const modelMetaObjectId = math.createUUID();\n\n xktModel.createMetaObject({\n metaObjectId: modelMetaObjectId,\n metaObjectType: \"CityJSON\",\n metaObjectName: \"CityJSON\",\n parentMetaObjectId: rootMetaObjectId\n });\n\n stats.numMetaObjects++;\n\n const ctx = {\n data,\n vertices,\n xktModel,\n rootMetaObjectId: modelMetaObjectId,\n log: (log || function (msg) {\n }),\n nextId: 0,\n stats\n };\n\n ctx.xktModel.schema = data.type + \" \" + data.version;\n\n ctx.log(\"Converting \" + ctx.xktModel.schema);\n\n parseCityJSON(ctx);\n\n resolve();\n });\n}\n\nfunction copyVertices(vertices) {\n const vertices2 = [];\n for (let i = 0, j = 0; i < vertices.length; i++, j += 3) {\n const x = vertices[i][0];\n const y = vertices[i][1];\n const z = vertices[i][2];\n vertices2.push([x, y, z]);\n }\n return vertices2;\n}\n\nfunction transformVertices(vertices, cityJSONTransform) {\n const scale = cityJSONTransform.scale || math.vec3([1, 1, 1]);\n const translate = cityJSONTransform.translate || math.vec3([0, 0, 0]);\n for (let i = 0; i < vertices.length; i++) {\n const vertex = vertices[i];\n vertex[0] = (vertex[0] * scale[0]) + translate[0];\n vertex[1] = (vertex[1] * scale[1]) + translate[1];\n vertex[2] = (vertex[2] * scale[2]) + translate[2];\n }\n}\n\nfunction centerVertices(vertices) {\n if (center) {\n const centerPos = math.vec3();\n const numPoints = vertices.length;\n for (let i = 0, len = vertices.length; i < len; i++) {\n const vertex = vertices[i];\n centerPos[0] += vertex[0];\n centerPos[1] += vertex[1];\n centerPos[2] += vertex[2];\n }\n centerPos[0] /= numPoints;\n centerPos[1] /= numPoints;\n centerPos[2] /= numPoints;\n for (let i = 0, len = vertices.length; i < len; i++) {\n const vertex = vertices[i];\n vertex[0] -= centerPos[0];\n vertex[1] -= centerPos[1];\n vertex[2] -= centerPos[2];\n }\n }\n}\n\nfunction customTransformVertices(vertices, transform) {\n if (transform) {\n const mat = math.mat4(transform);\n for (let i = 0, len = vertices.length; i < len; i++) {\n const vertex = vertices[i];\n math.transformPoint3(mat, vertex, vertex);\n }\n }\n}\n\nfunction parseCityJSON(ctx) {\n\n const data = ctx.data;\n const cityObjects = data.CityObjects;\n\n for (const objectId in cityObjects) {\n if (cityObjects.hasOwnProperty(objectId)) {\n const cityObject = cityObjects[objectId];\n parseCityObject(ctx, cityObject, objectId);\n }\n }\n}\n\nfunction parseCityObject(ctx, cityObject, objectId) {\n\n const xktModel = ctx.xktModel;\n const data = ctx.data;\n const metaObjectId = objectId;\n const metaObjectType = cityObject.type;\n const metaObjectName = metaObjectType + \" : \" + objectId;\n\n const parentMetaObjectId = cityObject.parents ? cityObject.parents[0] : ctx.rootMetaObjectId;\n\n xktModel.createMetaObject({\n metaObjectId,\n metaObjectName,\n metaObjectType,\n parentMetaObjectId\n });\n\n ctx.stats.numMetaObjects++;\n\n if (!(cityObject.geometry && cityObject.geometry.length > 0)) {\n return;\n }\n\n const meshIds = [];\n\n for (let i = 0, len = cityObject.geometry.length; i < len; i++) {\n\n const geometry = cityObject.geometry[i];\n\n let objectMaterial;\n let surfaceMaterials;\n\n const appearance = data.appearance;\n if (appearance) {\n const materials = appearance.materials;\n if (materials) {\n const geometryMaterial = geometry.material;\n if (geometryMaterial) {\n const themeIds = Object.keys(geometryMaterial);\n if (themeIds.length > 0) {\n const themeId = themeIds[0];\n const theme = geometryMaterial[themeId];\n if (theme.value !== undefined) {\n objectMaterial = materials[theme.value];\n } else {\n const values = theme.values;\n if (values) {\n surfaceMaterials = [];\n for (let j = 0, lenj = values.length; j < lenj; j++) {\n const value = values[i];\n const surfaceMaterial = materials[value];\n surfaceMaterials.push(surfaceMaterial);\n }\n }\n }\n }\n }\n }\n }\n\n if (surfaceMaterials) {\n parseGeometrySurfacesWithOwnMaterials(ctx, geometry, surfaceMaterials, meshIds);\n\n } else {\n parseGeometrySurfacesWithSharedMaterial(ctx, geometry, objectMaterial, meshIds);\n }\n }\n\n if (meshIds.length > 0) {\n xktModel.createEntity({\n entityId: objectId,\n meshIds: meshIds\n });\n\n ctx.stats.numObjects++;\n }\n}\n\nfunction parseGeometrySurfacesWithOwnMaterials(ctx, geometry, surfaceMaterials, meshIds) {\n\n const geomType = geometry.type;\n\n switch (geomType) {\n\n case \"MultiPoint\":\n break;\n\n case \"MultiLineString\":\n break;\n\n case \"MultiSurface\":\n\n case \"CompositeSurface\":\n const surfaces = geometry.boundaries;\n parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds);\n break;\n\n case \"Solid\":\n const shells = geometry.boundaries;\n for (let j = 0; j < shells.length; j++) {\n const surfaces = shells[j];\n parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds);\n }\n break;\n\n case \"MultiSolid\":\n\n case \"CompositeSolid\":\n const solids = geometry.boundaries;\n for (let j = 0; j < solids.length; j++) {\n for (let k = 0; k < solids[j].length; k++) {\n const surfaces = solids[j][k];\n parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds);\n }\n }\n break;\n\n case \"GeometryInstance\":\n break;\n }\n}\n\nfunction parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds) {\n\n const vertices = ctx.vertices;\n const xktModel = ctx.xktModel;\n\n for (let i = 0; i < surfaces.length; i++) {\n\n const surface = surfaces[i];\n const surfaceMaterial = surfaceMaterials[i] || {diffuseColor: [0.8, 0.8, 0.8], transparency: 1.0};\n\n const face = [];\n const holes = [];\n\n const sharedIndices = [];\n\n const geometryCfg = {\n positions: [],\n indices: []\n };\n\n for (let j = 0; j < surface.length; j++) {\n\n if (face.length > 0) {\n holes.push(face.length);\n }\n\n const newFace = extractLocalIndices(ctx, surface[j], sharedIndices, geometryCfg);\n\n face.push(...newFace);\n }\n\n if (face.length === 3) { // Triangle\n\n geometryCfg.indices.push(face[0]);\n geometryCfg.indices.push(face[1]);\n geometryCfg.indices.push(face[2]);\n\n } else if (face.length > 3) { // Polygon\n\n // Prepare to triangulate\n\n const pList = [];\n\n for (let k = 0; k < face.length; k++) {\n pList.push({\n x: vertices[sharedIndices[face[k]]][0],\n y: vertices[sharedIndices[face[k]]][1],\n z: vertices[sharedIndices[face[k]]][2]\n });\n }\n\n const normal = getNormalOfPositions(pList, math.vec3());\n\n // Convert to 2D\n\n let pv = [];\n\n for (let k = 0; k < pList.length; k++) {\n\n to2D(pList[k], normal, tempVec2a);\n\n pv.unshift(tempVec2a[0]);\n pv.unshift(tempVec2a[1]);\n }\n\n // Triangulate\n\n const tr = earcut(pv, holes, 2);\n\n // Create triangles\n\n for (let k = 0; k < tr.length; k += 3) {\n geometryCfg.indices.unshift(face[tr[k]]);\n geometryCfg.indices.unshift(face[tr[k + 1]]);\n geometryCfg.indices.unshift(face[tr[k + 2]]);\n }\n }\n\n const geometryId = \"\" + ctx.nextId++;\n const meshId = \"\" + ctx.nextId++;\n\n xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: geometryCfg.positions,\n indices: geometryCfg.indices\n });\n\n xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n color: (surfaceMaterial && surfaceMaterial.diffuseColor) ? surfaceMaterial.diffuseColor : [0.8, 0.8, 0.8],\n opacity: 1.0\n //opacity: (surfaceMaterial && surfaceMaterial.transparency !== undefined) ? (1.0 - surfaceMaterial.transparency) : 1.0\n });\n\n meshIds.push(meshId);\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n }\n}\n\nfunction parseGeometrySurfacesWithSharedMaterial(ctx, geometry, objectMaterial, meshIds) {\n\n const xktModel = ctx.xktModel;\n const sharedIndices = [];\n const geometryCfg = {\n positions: [],\n indices: []\n };\n\n const geomType = geometry.type;\n\n switch (geomType) {\n case \"MultiPoint\":\n break;\n\n case \"MultiLineString\":\n break;\n\n case \"MultiSurface\":\n case \"CompositeSurface\":\n const surfaces = geometry.boundaries;\n parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, geometryCfg);\n break;\n\n case \"Solid\":\n const shells = geometry.boundaries;\n for (let j = 0; j < shells.length; j++) {\n const surfaces = shells[j];\n parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, geometryCfg);\n }\n break;\n\n case \"MultiSolid\":\n case \"CompositeSolid\":\n const solids = geometry.boundaries;\n for (let j = 0; j < solids.length; j++) {\n for (let k = 0; k < solids[j].length; k++) {\n const surfaces = solids[j][k];\n parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, geometryCfg);\n }\n }\n break;\n\n case \"GeometryInstance\":\n break;\n }\n\n const geometryId = \"\" + ctx.nextId++;\n const meshId = \"\" + ctx.nextId++;\n\n xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: geometryCfg.positions,\n indices: geometryCfg.indices\n });\n\n xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n color: (objectMaterial && objectMaterial.diffuseColor) ? objectMaterial.diffuseColor : [0.8, 0.8, 0.8],\n opacity: 1.0\n //opacity: (objectMaterial && objectMaterial.transparency !== undefined) ? (1.0 - objectMaterial.transparency) : 1.0\n });\n\n meshIds.push(meshId);\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n}\n\nfunction parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, primitiveCfg) {\n\n const vertices = ctx.vertices;\n\n for (let i = 0; i < surfaces.length; i++) {\n\n let boundary = [];\n let holes = [];\n\n for (let j = 0; j < surfaces[i].length; j++) {\n if (boundary.length > 0) {\n holes.push(boundary.length);\n }\n const newBoundary = extractLocalIndices(ctx, surfaces[i][j], sharedIndices, primitiveCfg);\n boundary.push(...newBoundary);\n }\n\n if (boundary.length === 3) { // Triangle\n\n primitiveCfg.indices.push(boundary[0]);\n primitiveCfg.indices.push(boundary[1]);\n primitiveCfg.indices.push(boundary[2]);\n\n } else if (boundary.length > 3) { // Polygon\n\n let pList = [];\n\n for (let k = 0; k < boundary.length; k++) {\n pList.push({\n x: vertices[sharedIndices[boundary[k]]][0],\n y: vertices[sharedIndices[boundary[k]]][1],\n z: vertices[sharedIndices[boundary[k]]][2]\n });\n }\n\n const normal = getNormalOfPositions(pList, math.vec3());\n let pv = [];\n\n for (let k = 0; k < pList.length; k++) {\n to2D(pList[k], normal, tempVec2a);\n pv.unshift(tempVec2a[0]);\n pv.unshift(tempVec2a[1]);\n }\n\n const tr = earcut(pv, holes, 2);\n\n for (let k = 0; k < tr.length; k += 3) {\n primitiveCfg.indices.unshift(boundary[tr[k]]);\n primitiveCfg.indices.unshift(boundary[tr[k + 1]]);\n primitiveCfg.indices.unshift(boundary[tr[k + 2]]);\n }\n }\n }\n}\n\nfunction extractLocalIndices(ctx, boundary, sharedIndices, geometryCfg) {\n\n const vertices = ctx.vertices;\n const newBoundary = []\n\n for (let i = 0, len = boundary.length; i < len; i++) {\n\n const index = boundary[i];\n\n if (sharedIndices.includes(index)) {\n const vertexIndex = sharedIndices.indexOf(index);\n newBoundary.push(vertexIndex);\n\n } else {\n geometryCfg.positions.push(vertices[index][0]);\n geometryCfg.positions.push(vertices[index][1]);\n geometryCfg.positions.push(vertices[index][2]);\n\n newBoundary.push(sharedIndices.length);\n\n sharedIndices.push(index);\n }\n }\n\n return newBoundary\n}\n\nfunction getNormalOfPositions(positions, normal) {\n\n for (let i = 0; i < positions.length; i++) {\n\n let nexti = i + 1;\n if (nexti === positions.length) {\n nexti = 0;\n }\n\n normal[0] += ((positions[i].y - positions[nexti].y) * (positions[i].z + positions[nexti].z));\n normal[1] += ((positions[i].z - positions[nexti].z) * (positions[i].x + positions[nexti].x));\n normal[2] += ((positions[i].x - positions[nexti].x) * (positions[i].y + positions[nexti].y));\n }\n\n return math.normalizeVec3(normal);\n}\n\nfunction to2D(_p, _n, re) {\n\n const p = tempVec3a;\n const n = tempVec3b;\n const x3 = tempVec3c;\n\n p[0] = _p.x;\n p[1] = _p.y;\n p[2] = _p.z;\n\n n[0] = _n.x;\n n[1] = _n.y;\n n[2] = _n.z;\n\n x3[0] = 1.1;\n x3[1] = 1.1;\n x3[2] = 1.1;\n\n const dist = math.lenVec3(math.subVec3(x3, n));\n\n if (dist < 0.01) {\n x3[0] += 1.0;\n x3[1] += 2.0;\n x3[2] += 3.0;\n }\n\n const dot = math.dotVec3(x3, n);\n const tmp2 = math.mulVec3Scalar(n, dot, math.vec3());\n\n x3[0] -= tmp2[0];\n x3[1] -= tmp2[1];\n x3[2] -= tmp2[2];\n\n math.normalizeVec3(x3);\n\n const y3 = math.cross3Vec3(n, x3, math.vec3());\n const x = math.dotVec3(p, x3);\n const y = math.dotVec3(p, y3);\n\n re[0] = x;\n re[1] = y;\n}\n\nexport {parseCityJSONIntoXKTModel};","import {utils} from \"../XKTModel/lib/utils.js\";\nimport {math} from \"../lib/math.js\";\n\nimport {parse} from '@loaders.gl/core';\nimport {GLTFLoader} from '@loaders.gl/gltf';\nimport {\n ClampToEdgeWrapping,\n LinearFilter,\n LinearMipMapLinearFilter,\n LinearMipMapNearestFilter,\n MirroredRepeatWrapping,\n NearestFilter,\n NearestMipMapLinearFilter,\n NearestMipMapNearestFilter,\n RepeatWrapping\n} from \"../constants.js\";\n\n/**\n * @desc Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n *\n * * Supports ````.glb```` and textures\n * * For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {ArrayBuffer} params.data The glTF.\n * @param {String} [params.baseUri] The base URI used to load this glTF, if any. For resolving relative uris to linked resources.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeTextures=true] Whether to parse textures.\n * @param {Boolean} [params.includeNormals=true] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the glTF.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when glTF has been parsed.\n */\nfunction parseGLTFIntoXKTModel({\n data,\n baseUri,\n xktModel,\n metaModelData,\n includeTextures = true,\n includeNormals = true,\n getAttachment,\n stats = {},\n log\n }) {\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n stats.sourceFormat = \"glTF\";\n stats.schemaVersion = \"2.0\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numUVs = 0;\n stats.numTextures = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n parse(data, GLTFLoader, {\n baseUri\n }).then((gltfData) => {\n\n const ctx = {\n gltfData,\n nodesHaveNames: false, // determined in testIfNodesHaveNames()\n getAttachment: getAttachment || (() => {\n throw new Error('You must define getAttachment() method to convert glTF with external resources')\n }),\n log: (log || function (msg) {\n }),\n error: function (msg) {\n console.error(msg);\n },\n xktModel,\n includeNormals: (includeNormals !== false),\n includeTextures: (includeTextures !== false),\n geometryCreated: {},\n nextId: 0,\n stats\n };\n\n ctx.log(\"Using parser: parseGLTFIntoXKTModel\");\n ctx.log(`Parsing normals: ${ctx.includeNormals ? \"enabled\" : \"disabled\"}`);\n ctx.log(`Parsing textures: ${ctx.includeTextures ? \"enabled\" : \"disabled\"}`);\n\n if (ctx.includeTextures) {\n parseTextures(ctx);\n }\n parseMaterials(ctx);\n parseDefaultScene(ctx);\n\n resolve();\n\n }, (errMsg) => {\n reject(`[parseGLTFIntoXKTModel] ${errMsg}`);\n });\n });\n}\n\nfunction parseTextures(ctx) {\n const gltfData = ctx.gltfData;\n const textures = gltfData.textures;\n if (textures) {\n for (let i = 0, len = textures.length; i < len; i++) {\n parseTexture(ctx, textures[i]);\n ctx.stats.numTextures++;\n }\n }\n}\n\nfunction parseTexture(ctx, texture) {\n if (!texture.source || !texture.source.image) {\n return;\n }\n const textureId = `texture-${ctx.nextId++}`;\n\n let minFilter = NearestMipMapLinearFilter;\n switch (texture.sampler.minFilter) {\n case 9728:\n minFilter = NearestFilter;\n break;\n case 9729:\n minFilter = LinearFilter;\n break;\n case 9984:\n minFilter = NearestMipMapNearestFilter;\n break;\n case 9985:\n minFilter = LinearMipMapNearestFilter;\n break;\n case 9986:\n minFilter = NearestMipMapLinearFilter;\n break;\n case 9987:\n minFilter = LinearMipMapLinearFilter;\n break;\n }\n\n let magFilter = LinearFilter;\n switch (texture.sampler.magFilter) {\n case 9728:\n magFilter = NearestFilter;\n break;\n case 9729:\n magFilter = LinearFilter;\n break;\n }\n\n let wrapS = RepeatWrapping;\n switch (texture.sampler.wrapS) {\n case 33071:\n wrapS = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapS = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapS = RepeatWrapping;\n break;\n }\n\n let wrapT = RepeatWrapping;\n switch (texture.sampler.wrapT) {\n case 33071:\n wrapT = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapT = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapT = RepeatWrapping;\n break;\n }\n\n let wrapR = RepeatWrapping;\n switch (texture.sampler.wrapR) {\n case 33071:\n wrapR = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapR = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapR = RepeatWrapping;\n break;\n }\n\n ctx.xktModel.createTexture({\n textureId: textureId,\n imageData: texture.source.image,\n mediaType: texture.source.mediaType,\n compressed: true,\n width: texture.source.image.width,\n height: texture.source.image.height,\n minFilter,\n magFilter,\n wrapS,\n wrapT,\n wrapR,\n flipY: !!texture.flipY,\n // encoding: \"sRGB\"\n });\n texture._textureId = textureId;\n}\n\nfunction parseMaterials(ctx) {\n const gltfData = ctx.gltfData;\n const materials = gltfData.materials;\n if (materials) {\n for (let i = 0, len = materials.length; i < len; i++) {\n const material = materials[i];\n material._textureSetId = ctx.includeTextures ? parseTextureSet(ctx, material) : null;\n material._attributes = parseMaterialAttributes(ctx, material);\n }\n }\n}\n\nfunction parseTextureSet(ctx, material) {\n const textureSetCfg = {};\n if (material.normalTexture) {\n textureSetCfg.normalTextureId = material.normalTexture.texture._textureId;\n }\n if (material.occlusionTexture) {\n textureSetCfg.occlusionTextureId = material.occlusionTexture.texture._textureId;\n }\n if (material.emissiveTexture) {\n textureSetCfg.emissiveTextureId = material.emissiveTexture.texture._textureId;\n }\n const metallicPBR = material.pbrMetallicRoughness;\n if (material.pbrMetallicRoughness) {\n const pbrMetallicRoughness = material.pbrMetallicRoughness;\n const baseColorTexture = pbrMetallicRoughness.baseColorTexture || pbrMetallicRoughness.colorTexture;\n if (baseColorTexture) {\n if (baseColorTexture.texture) {\n textureSetCfg.colorTextureId = baseColorTexture.texture._textureId;\n } else {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[baseColorTexture.index]._textureId;\n }\n }\n if (metallicPBR.metallicRoughnessTexture) {\n textureSetCfg.metallicRoughnessTextureId = metallicPBR.metallicRoughnessTexture.texture._textureId;\n }\n }\n const extensions = material.extensions;\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const specularTexture = specularPBR.specularTexture;\n if (specularTexture !== null && specularTexture !== undefined) {\n // textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n const specularColorTexture = specularPBR.specularColorTexture;\n if (specularColorTexture !== null && specularColorTexture !== undefined) {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n }\n }\n if (textureSetCfg.normalTextureId !== undefined ||\n textureSetCfg.occlusionTextureId !== undefined ||\n textureSetCfg.emissiveTextureId !== undefined ||\n textureSetCfg.colorTextureId !== undefined ||\n textureSetCfg.metallicRoughnessTextureId !== undefined) {\n textureSetCfg.textureSetId = `textureSet-${ctx.nextId++};`\n ctx.xktModel.createTextureSet(textureSetCfg);\n ctx.stats.numTextureSets++;\n return textureSetCfg.textureSetId;\n }\n return null;\n}\n\nfunction parseMaterialAttributes(ctx, material) { // Substitute RGBA for material, to use fast flat shading instead\n const extensions = material.extensions;\n const materialAttributes = {\n color: new Float32Array([1, 1, 1, 1]),\n opacity: 1,\n metallic: 0,\n roughness: 1\n };\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const diffuseFactor = specularPBR.diffuseFactor;\n if (diffuseFactor !== null && diffuseFactor !== undefined) {\n materialAttributes.color.set(diffuseFactor);\n }\n }\n const common = extensions[\"KHR_materials_common\"];\n if (common) {\n const technique = common.technique;\n const values = common.values || {};\n const blinn = technique === \"BLINN\";\n const phong = technique === \"PHONG\";\n const lambert = technique === \"LAMBERT\";\n const diffuse = values.diffuse;\n if (diffuse && (blinn || phong || lambert)) {\n if (!utils.isString(diffuse)) {\n materialAttributes.color.set(diffuse);\n }\n }\n const transparency = values.transparency;\n if (transparency !== null && transparency !== undefined) {\n materialAttributes.opacity = transparency;\n }\n const transparent = values.transparent;\n if (transparent !== null && transparent !== undefined) {\n materialAttributes.opacity = transparent;\n }\n }\n }\n const metallicPBR = material.pbrMetallicRoughness;\n if (metallicPBR) {\n const baseColorFactor = metallicPBR.baseColorFactor;\n if (baseColorFactor) {\n materialAttributes.color[0] = baseColorFactor[0];\n materialAttributes.color[1] = baseColorFactor[1];\n materialAttributes.color[2] = baseColorFactor[2];\n materialAttributes.opacity = baseColorFactor[3];\n }\n const metallicFactor = metallicPBR.metallicFactor;\n if (metallicFactor !== null && metallicFactor !== undefined) {\n materialAttributes.metallic = metallicFactor;\n }\n const roughnessFactor = metallicPBR.roughnessFactor;\n if (roughnessFactor !== null && roughnessFactor !== undefined) {\n materialAttributes.roughness = roughnessFactor;\n }\n }\n return materialAttributes;\n}\n\nfunction parseDefaultScene(ctx) {\n const gltfData = ctx.gltfData;\n const scene = gltfData.scene || gltfData.scenes[0];\n if (!scene) {\n ctx.error(\"glTF has no default scene\");\n return;\n }\n parseScene(ctx, scene);\n}\n\nfunction parseScene(ctx, scene) {\n const nodes = scene.nodes;\n if (!nodes) {\n return;\n }\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n countMeshUsage(ctx, node);\n }\n for (let i = 0, len = nodes.length; i < len && !ctx.nodesHaveNames; i++) {\n const node = nodes[i];\n if (testIfNodesHaveNames(node)) {\n ctx.nodesHaveNames = true;\n }\n }\n if (!ctx.nodesHaveNames) {\n ctx.log(`Warning: No \"name\" attributes found on glTF scene nodes - objects in XKT may not be what you expect`);\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n parseNodesWithoutNames(ctx, node, 0, null);\n }\n } else {\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n parseNodesWithNames(ctx, node, 0, null);\n }\n }\n}\n\nfunction countMeshUsage(ctx, node, level=0) {\n if (!node) {\n return;\n }\n const mesh = node.mesh;\n if (mesh) {\n mesh.instances = mesh.instances ? mesh.instances + 1 : 1;\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n if (!childNode) {\n ctx.error(\"Node not found: \" + i);\n continue;\n }\n countMeshUsage(ctx, childNode, level+1);\n }\n }\n}\n\nfunction testIfNodesHaveNames(node, level=0) {\n if (!node) {\n return;\n }\n if (node.name) {\n return true;\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n if (testIfNodesHaveNames(childNode, level+1)) {\n return true;\n }\n }\n }\n return false;\n}\n\n/**\n * Parses a glTF node hierarchy that is known to NOT contain \"name\" attributes on the nodes.\n * Create a XKTMesh for each mesh primitive, and a single XKTEntity.\n */\nconst parseNodesWithoutNames = (function () {\n\n const meshIds = [];\n\n return function (ctx, node, depth, matrix) {\n if (!node) {\n return;\n }\n matrix = parseNodeMatrix(node, matrix);\n if (node.mesh) {\n parseNodeMesh(node, ctx, matrix, meshIds);\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n parseNodesWithoutNames(ctx, childNode, depth + 1, matrix);\n }\n }\n if (depth === 0) {\n let entityId = \"entity-\" + ctx.nextId++;\n if (meshIds && meshIds.length > 0) {\n ctx.log(\"Creating XKTEntity with default ID: \" + entityId);\n ctx.xktModel.createEntity({\n entityId,\n meshIds\n });\n meshIds.length = 0;\n }\n ctx.stats.numObjects++;\n }\n }\n})();\n\n\n/**\n * Parses a glTF node hierarchy that is known to contain \"name\" attributes on the nodes.\n *\n * Create a XKTMesh for each mesh primitive, and XKTEntity for each named node.\n *\n * Following a depth-first traversal, each XKTEntity is created on post-visit of each named node,\n * and gets all the XKTMeshes created since the last XKTEntity created.\n */\nconst parseNodesWithNames = (function () {\n\n const objectIdStack = [];\n const meshIdsStack = [];\n let meshIds = null;\n\n return function (ctx, node, depth, matrix) {\n if (!node) {\n return;\n }\n matrix = parseNodeMatrix(node, matrix);\n if (node.name) {\n meshIds = [];\n let xktEntityId = node.name;\n if (!!xktEntityId && ctx.xktModel.entities[xktEntityId]) {\n ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`);\n }\n while (!xktEntityId || ctx.xktModel.entities[xktEntityId]) {\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n objectIdStack.push(xktEntityId);\n meshIdsStack.push(meshIds);\n }\n if (meshIds && node.mesh) {\n parseNodeMesh(node, ctx, matrix, meshIds);\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n parseNodesWithNames(ctx, childNode, depth + 1, matrix);\n }\n }\n const nodeName = node.name;\n if ((nodeName !== undefined && nodeName !== null) || depth === 0) {\n let xktEntityId = objectIdStack.pop();\n if (!xktEntityId) { // For when there are no nodes with names\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n let entityMeshIds = meshIdsStack.pop();\n if (meshIds && meshIds.length > 0) {\n ctx.xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: entityMeshIds\n });\n }\n ctx.stats.numObjects++;\n meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null;\n }\n }\n})();\n\n/**\n * Parses transform at the given glTF node.\n *\n * @param node the glTF node\n * @param matrix Transfor matrix from parent nodes\n * @returns {*} Transform matrix for the node\n */\nfunction parseNodeMatrix(node, matrix) {\n if (!node) {\n return;\n }\n let localMatrix;\n if (node.matrix) {\n localMatrix = node.matrix;\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.translation) {\n localMatrix = math.translationMat4v(node.translation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.rotation) {\n localMatrix = math.quaternionToMat4(node.rotation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.scale) {\n localMatrix = math.scalingMat4v(node.scale);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n return matrix;\n}\n\n/**\n * Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel.\n *\n * @param node glTF node\n * @param ctx Parsing context\n * @param matrix Matrix for the XKTMeshes\n * @param meshIds returns IDs of the new XKTMeshes\n */\nfunction parseNodeMesh(node, ctx, matrix, meshIds) {\n if (!node) {\n return;\n }\n const mesh = node.mesh;\n if (!mesh) {\n return;\n }\n const numPrimitives = mesh.primitives.length;\n if (numPrimitives > 0) {\n for (let i = 0; i < numPrimitives; i++) {\n try {\n const primitive = mesh.primitives[i];\n if (!primitive._xktGeometryId) {\n const xktGeometryId = \"geometry-\" + ctx.nextId++;\n const geometryCfg = {\n geometryId: xktGeometryId\n };\n switch (primitive.mode) {\n case 0: // POINTS\n geometryCfg.primitiveType = \"points\";\n break;\n case 1: // LINES\n geometryCfg.primitiveType = \"lines\";\n break;\n case 2: // LINE_LOOP\n geometryCfg.primitiveType = \"line-loop\";\n break;\n case 3: // LINE_STRIP\n geometryCfg.primitiveType = \"line-strip\";\n break;\n case 4: // TRIANGLES\n geometryCfg.primitiveType = \"triangles\";\n break;\n case 5: // TRIANGLE_STRIP\n geometryCfg.primitiveType = \"triangle-strip\";\n break;\n case 6: // TRIANGLE_FAN\n geometryCfg.primitiveType = \"triangle-fan\";\n break;\n default:\n geometryCfg.primitiveType = \"triangles\";\n }\n const POSITION = primitive.attributes.POSITION;\n if (!POSITION) {\n continue;\n }\n geometryCfg.positions = primitive.attributes.POSITION.value;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n if (ctx.includeNormals) {\n if (primitive.attributes.NORMAL) {\n geometryCfg.normals = primitive.attributes.NORMAL.value;\n ctx.stats.numNormals += geometryCfg.normals.length / 3;\n }\n }\n if (primitive.attributes.COLOR_0) {\n geometryCfg.colorsCompressed = primitive.attributes.COLOR_0.value;\n }\n if (ctx.includeTextures) {\n if (primitive.attributes.TEXCOORD_0) {\n geometryCfg.uvs = primitive.attributes.TEXCOORD_0.value;\n ctx.stats.numUVs += geometryCfg.uvs.length / 2;\n }\n }\n if (primitive.indices) {\n geometryCfg.indices = primitive.indices.value;\n if (primitive.mode === 4) {\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n }\n }\n ctx.xktModel.createGeometry(geometryCfg);\n primitive._xktGeometryId = xktGeometryId;\n ctx.stats.numGeometries++;\n }\n const xktMeshId = ctx.nextId++;\n const meshCfg = {\n meshId: xktMeshId,\n geometryId: primitive._xktGeometryId,\n matrix: matrix ? matrix.slice() : math.identityMat4()\n };\n const material = primitive.material;\n if (material) {\n meshCfg.textureSetId = material._textureSetId;\n meshCfg.color = material._attributes.color;\n meshCfg.opacity = material._attributes.opacity;\n meshCfg.metallic = material._attributes.metallic;\n meshCfg.roughness = material._attributes.roughness;\n } else {\n meshCfg.color = [1.0, 1.0, 1.0];\n meshCfg.opacity = 1.0;\n }\n ctx.xktModel.createMesh(meshCfg);\n meshIds.push(xktMeshId);\n } catch (e) {\n console.log(e);\n }\n }\n }\n}\n\nexport {parseGLTFIntoXKTModel};","import {utils} from \"../XKTModel/lib/utils.js\";\nimport {math} from \"../lib/math.js\";\n\nconst atob2 = (typeof atob !== 'undefined') ? atob : a => Buffer.from(a, 'base64').toString('binary');\n\nconst WEBGL_COMPONENT_TYPES = {\n 5120: Int8Array,\n 5121: Uint8Array,\n 5122: Int16Array,\n 5123: Uint16Array,\n 5125: Uint32Array,\n 5126: Float32Array\n};\n\nconst WEBGL_TYPE_SIZES = {\n 'SCALAR': 1,\n 'VEC2': 2,\n 'VEC3': 3,\n 'VEC4': 4,\n 'MAT2': 4,\n 'MAT3': 9,\n 'MAT4': 16\n};\n\n/**\n * @desc Parses glTF JSON into an {@link XKTModel}, without ````.glb```` and textures.\n *\n * * Lightweight JSON-based glTF parser which ignores textures\n * * For texture and ````.glb```` support, see {@link parseGLTFIntoXKTModel}\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a glTF model into it.\n *\n * ````javascript\n * utils.loadJSON(\"./models/gltf/duplex/scene.gltf\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFJSONIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {Object} params.data The glTF JSON.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeNormals=false] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded representation of the glTF.\n * @param {Boolean} [params.reuseGeometries=true] When true, the parser will enable geometry reuse within the XKTModel. When false,\n * will automatically \"expand\" all reused geometries into duplicate copies. This has the drawback of increasing the XKT\n * file size (~10-30% for typical models), but can make the model more responsive in the xeokit Viewer, especially if the model\n * has excessive geometry reuse. An example of excessive geometry reuse would be if we have 4000 geometries that are\n * shared amongst 2000 objects, ie. a large number of geometries with a low amount of reuse, which can present a\n * pathological performance case for xeokit's underlying graphics APIs (WebGL, WebGPU etc).\n * @param {function} [params.getAttachment] Callback through which to fetch attachments, if the glTF has them.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n * @returns {Promise}\n */\nfunction parseGLTFJSONIntoXKTModel({\n data,\n xktModel,\n metaModelData,\n includeNormals,\n reuseGeometries,\n getAttachment,\n stats = {},\n log\n }) {\n\n if (log) {\n log(\"Using parser: parseGLTFJSONIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n stats.sourceFormat = \"glTF\";\n stats.schemaVersion = \"2.0\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n const ctx = {\n gltf: data,\n metaModelCorrections: metaModelData ? getMetaModelCorrections(metaModelData) : null,\n getAttachment: getAttachment || (() => {\n throw new Error('You must define getAttachment() method to convert glTF with external resources')\n }),\n log: (log || function (msg) {\n }),\n xktModel,\n includeNormals,\n createXKTGeometryIds: {},\n nextMeshId: 0,\n reuseGeometries: (reuseGeometries !== false),\n stats\n };\n\n ctx.log(`Parsing normals: ${ctx.includeNormals ? \"enabled\" : \"disabled\"}`);\n\n parseBuffers(ctx).then(() => {\n\n parseBufferViews(ctx);\n freeBuffers(ctx);\n parseMaterials(ctx);\n parseDefaultScene(ctx);\n\n resolve();\n\n }, (errMsg) => {\n reject(errMsg);\n });\n });\n}\n\nfunction getMetaModelCorrections(metaModelData) {\n const eachRootStats = {};\n const eachChildRoot = {};\n const metaObjects = metaModelData.metaObjects || [];\n const metaObjectsMap = {};\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n const metaObject = metaObjects[i];\n metaObjectsMap[metaObject.id] = metaObject;\n }\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n const metaObject = metaObjects[i];\n if (metaObject.parent !== undefined && metaObject.parent !== null) {\n const metaObjectParent = metaObjectsMap[metaObject.parent];\n if (metaObject.type === metaObjectParent.type) {\n let rootMetaObject = metaObjectParent;\n while (rootMetaObject.parent && metaObjectsMap[rootMetaObject.parent].type === rootMetaObject.type) {\n rootMetaObject = metaObjectsMap[rootMetaObject.parent];\n }\n const rootStats = eachRootStats[rootMetaObject.id] || (eachRootStats[rootMetaObject.id] = {\n numChildren: 0,\n countChildren: 0\n });\n rootStats.numChildren++;\n eachChildRoot[metaObject.id] = rootMetaObject;\n } else {\n\n }\n }\n }\n const metaModelCorrections = {\n metaObjectsMap,\n eachRootStats,\n eachChildRoot\n };\n return metaModelCorrections;\n}\n\nfunction parseBuffers(ctx) { // Parses geometry buffers into temporary \"_buffer\" Unit8Array properties on the glTF \"buffer\" elements\n const buffers = ctx.gltf.buffers;\n if (buffers) {\n return Promise.all(buffers.map(buffer => parseBuffer(ctx, buffer)));\n } else {\n return new Promise(function (resolve, reject) {\n resolve();\n });\n }\n}\n\nfunction parseBuffer(ctx, bufferInfo) {\n return new Promise(function (resolve, reject) {\n // Allow a shortcut where the glTF buffer is \"enrichened\" with direct\n // access to the data-arrayBuffer, w/out needing to either:\n // - read the file indicated by the \".uri\" component of the buffer\n // - base64-decode the encoded data in the \".uri\" component\n if (bufferInfo._arrayBuffer) {\n bufferInfo._buffer = bufferInfo._arrayBuffer;\n resolve(bufferInfo);\n return;\n }\n // Otherwise, proceed with \"standard-glTF\" .uri component.\n const uri = bufferInfo.uri;\n if (!uri) {\n reject('gltf/handleBuffer missing uri in ' + JSON.stringify(bufferInfo));\n return;\n }\n parseArrayBuffer(ctx, uri).then((arrayBuffer) => {\n bufferInfo._buffer = arrayBuffer;\n resolve(arrayBuffer);\n }, (errMsg) => {\n reject(errMsg);\n })\n });\n}\n\nfunction parseArrayBuffer(ctx, uri) {\n return new Promise(function (resolve, reject) {\n const dataUriRegex = /^data:(.*?)(;base64)?,(.*)$/; // Check for data: URI\n const dataUriRegexResult = uri.match(dataUriRegex);\n if (dataUriRegexResult) { // Safari can't handle data URIs through XMLHttpRequest\n const isBase64 = !!dataUriRegexResult[2];\n let data = dataUriRegexResult[3];\n data = decodeURIComponent(data);\n if (isBase64) {\n data = atob2(data);\n }\n const buffer = new ArrayBuffer(data.length);\n const view = new Uint8Array(buffer);\n for (let i = 0; i < data.length; i++) {\n view[i] = data.charCodeAt(i);\n }\n resolve(buffer);\n } else { // Uri is a path to a file\n ctx.getAttachment(uri).then(\n (arrayBuffer) => {\n resolve(arrayBuffer);\n },\n (errMsg) => {\n reject(errMsg);\n });\n }\n });\n}\n\nfunction parseBufferViews(ctx) { // Parses our temporary \"_buffer\" properties into \"_buffer\" properties on glTF \"bufferView\" elements\n const bufferViewsInfo = ctx.gltf.bufferViews;\n if (bufferViewsInfo) {\n for (let i = 0, len = bufferViewsInfo.length; i < len; i++) {\n parseBufferView(ctx, bufferViewsInfo[i]);\n }\n }\n}\n\nfunction parseBufferView(ctx, bufferViewInfo) {\n const buffer = ctx.gltf.buffers[bufferViewInfo.buffer];\n bufferViewInfo._typedArray = null;\n const byteLength = bufferViewInfo.byteLength || 0;\n const byteOffset = bufferViewInfo.byteOffset || 0;\n bufferViewInfo._buffer = buffer._buffer.slice(byteOffset, byteOffset + byteLength);\n}\n\nfunction freeBuffers(ctx) { // Deletes the \"_buffer\" properties from the glTF \"buffer\" elements, to save memory\n const buffers = ctx.gltf.buffers;\n if (buffers) {\n for (let i = 0, len = buffers.length; i < len; i++) {\n buffers[i]._buffer = null;\n }\n }\n}\n\nfunction parseMaterials(ctx) {\n const materialsInfo = ctx.gltf.materials;\n if (materialsInfo) {\n for (let i = 0, len = materialsInfo.length; i < len; i++) {\n const materialInfo = materialsInfo[i];\n const material = parseMaterial(ctx, materialInfo);\n materialInfo._materialData = material;\n }\n }\n}\n\nfunction parseMaterial(ctx, materialInfo) { // Attempts to extract an RGBA color for a glTF material\n const material = {\n color: new Float32Array([1, 1, 1]),\n opacity: 1.0,\n metallic: 0,\n roughness: 1\n };\n const extensions = materialInfo.extensions;\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const diffuseFactor = specularPBR.diffuseFactor;\n if (diffuseFactor !== null && diffuseFactor !== undefined) {\n material.color[0] = diffuseFactor[0];\n material.color[1] = diffuseFactor[1];\n material.color[2] = diffuseFactor[2];\n }\n }\n const common = extensions[\"KHR_materials_common\"];\n if (common) {\n const technique = common.technique;\n const values = common.values || {};\n const blinn = technique === \"BLINN\";\n const phong = technique === \"PHONG\";\n const lambert = technique === \"LAMBERT\";\n const diffuse = values.diffuse;\n if (diffuse && (blinn || phong || lambert)) {\n if (!utils.isString(diffuse)) {\n material.color[0] = diffuse[0];\n material.color[1] = diffuse[1];\n material.color[2] = diffuse[2];\n }\n }\n const transparency = values.transparency;\n if (transparency !== null && transparency !== undefined) {\n material.opacity = transparency;\n }\n const transparent = values.transparent;\n if (transparent !== null && transparent !== undefined) {\n material.opacity = transparent;\n }\n }\n }\n const metallicPBR = materialInfo.pbrMetallicRoughness;\n if (metallicPBR) {\n const baseColorFactor = metallicPBR.baseColorFactor;\n if (baseColorFactor) {\n material.color[0] = baseColorFactor[0];\n material.color[1] = baseColorFactor[1];\n material.color[2] = baseColorFactor[2];\n material.opacity = baseColorFactor[3];\n }\n const metallicFactor = metallicPBR.metallicFactor;\n if (metallicFactor !== null && metallicFactor !== undefined) {\n material.metallic = metallicFactor;\n }\n const roughnessFactor = metallicPBR.roughnessFactor;\n if (roughnessFactor !== null && roughnessFactor !== undefined) {\n material.roughness = roughnessFactor;\n }\n }\n return material;\n}\n\nfunction parseDefaultScene(ctx) {\n const scene = ctx.gltf.scene || 0;\n const defaultSceneInfo = ctx.gltf.scenes[scene];\n if (!defaultSceneInfo) {\n throw new Error(\"glTF has no default scene\");\n }\n parseScene(ctx, defaultSceneInfo);\n}\n\n\nfunction parseScene(ctx, sceneInfo) {\n const nodes = sceneInfo.nodes;\n if (!nodes) {\n return;\n }\n for (let i = 0, len = nodes.length; i < len; i++) {\n const glTFNode = ctx.gltf.nodes[nodes[i]];\n if (glTFNode) {\n parseNode(ctx, glTFNode, 0, null);\n }\n }\n}\n\nlet deferredMeshIds = [];\n\nfunction parseNode(ctx, glTFNode, depth, matrix) {\n\n const gltf = ctx.gltf;\n const xktModel = ctx.xktModel;\n\n let localMatrix;\n\n if (glTFNode.matrix) {\n localMatrix = glTFNode.matrix;\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n\n if (glTFNode.translation) {\n localMatrix = math.translationMat4v(glTFNode.translation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, localMatrix);\n } else {\n matrix = localMatrix;\n }\n }\n\n if (glTFNode.rotation) {\n localMatrix = math.quaternionToMat4(glTFNode.rotation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, localMatrix);\n } else {\n matrix = localMatrix;\n }\n }\n\n if (glTFNode.scale) {\n localMatrix = math.scalingMat4v(glTFNode.scale);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, localMatrix);\n } else {\n matrix = localMatrix;\n }\n }\n\n const gltfMeshId = glTFNode.mesh;\n\n if (gltfMeshId !== undefined) {\n\n const meshInfo = gltf.meshes[gltfMeshId];\n\n if (meshInfo) {\n\n const numPrimitivesInMesh = meshInfo.primitives.length;\n\n if (numPrimitivesInMesh > 0) {\n\n for (let i = 0; i < numPrimitivesInMesh; i++) {\n\n const primitiveInfo = meshInfo.primitives[i];\n\n const geometryHash = createPrimitiveGeometryHash(primitiveInfo);\n\n let xktGeometryId = ctx.createXKTGeometryIds[geometryHash];\n\n if ((!ctx.reuseGeometries) || !xktGeometryId) {\n\n xktGeometryId = \"geometry-\" + ctx.nextMeshId++\n\n const geometryArrays = {};\n\n parsePrimitiveGeometry(ctx, primitiveInfo, geometryArrays);\n\n const colors = geometryArrays.colors;\n\n let colorsCompressed;\n\n if (geometryArrays.colors) {\n colorsCompressed = [];\n for (let j = 0, lenj = colors.length; j < lenj; j += 4) {\n colorsCompressed.push(colors[j + 0]);\n colorsCompressed.push(colors[j + 1]);\n colorsCompressed.push(colors[j + 2]);\n colorsCompressed.push(255);\n }\n }\n\n xktModel.createGeometry({\n geometryId: xktGeometryId,\n primitiveType: geometryArrays.primitive,\n positions: geometryArrays.positions,\n normals: ctx.includeNormals ? geometryArrays.normals : null,\n colorsCompressed: colorsCompressed,\n indices: geometryArrays.indices\n });\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += geometryArrays.positions ? geometryArrays.positions.length / 3 : 0;\n ctx.stats.numNormals += (ctx.includeNormals && geometryArrays.normals) ? geometryArrays.normals.length / 3 : 0;\n ctx.stats.numTriangles += geometryArrays.indices ? geometryArrays.indices.length / 3 : 0;\n\n ctx.createXKTGeometryIds[geometryHash] = xktGeometryId;\n } else {\n// Geometry reused\n }\n\n const materialIndex = primitiveInfo.material;\n const materialInfo = (materialIndex !== null && materialIndex !== undefined) ? gltf.materials[materialIndex] : null;\n const color = materialInfo ? materialInfo._materialData.color : new Float32Array([1.0, 1.0, 1.0, 1.0]);\n const opacity = materialInfo ? materialInfo._materialData.opacity : 1.0;\n const metallic = materialInfo ? materialInfo._materialData.metallic : 0.0;\n const roughness = materialInfo ? materialInfo._materialData.roughness : 1.0;\n\n const xktMeshId = \"mesh-\" + ctx.nextMeshId++;\n\n xktModel.createMesh({\n meshId: xktMeshId,\n geometryId: xktGeometryId,\n matrix: matrix ? matrix.slice() : math.identityMat4(),\n color: color,\n opacity: opacity,\n metallic: metallic,\n roughness: roughness\n });\n\n deferredMeshIds.push(xktMeshId);\n }\n }\n }\n }\n\n\n if (glTFNode.children) {\n const children = glTFNode.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNodeIdx = children[i];\n const childGLTFNode = gltf.nodes[childNodeIdx];\n if (!childGLTFNode) {\n console.warn('Node not found: ' + i);\n continue;\n }\n parseNode(ctx, childGLTFNode, depth + 1, matrix);\n }\n }\n\n // Post-order visit scene node\n\n const nodeName = glTFNode.name;\n if (((nodeName !== undefined && nodeName !== null) || depth === 0) && deferredMeshIds.length > 0) {\n if (nodeName === undefined || nodeName === null) {\n ctx.log(`[parseGLTFJSONIntoXKTModel] Warning: 'name' properties not found on glTF scene nodes - will randomly-generate object IDs in XKT`);\n }\n let xktEntityId = nodeName; // Fall back on generated ID when `name` not found on glTF scene node(s)\n if (xktEntityId === undefined || xktEntityId === null) {\n if (xktModel.entities[xktEntityId]) {\n ctx.error(\"Two or more glTF nodes found with same 'name' attribute: '\" + nodeName + \"'\");\n }\n while (!xktEntityId || xktModel.entities[xktEntityId]) {\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n }\n if (ctx.metaModelCorrections) { // Merging meshes into XKTObjects that map to metaobjects\n const rootMetaObject = ctx.metaModelCorrections.eachChildRoot[xktEntityId];\n if (rootMetaObject) {\n const rootMetaObjectStats = ctx.metaModelCorrections.eachRootStats[rootMetaObject.id];\n rootMetaObjectStats.countChildren++;\n if (rootMetaObjectStats.countChildren >= rootMetaObjectStats.numChildren) {\n xktModel.createEntity({\n entityId: rootMetaObject.id,\n meshIds: deferredMeshIds\n });\n ctx.stats.numObjects++;\n deferredMeshIds = [];\n }\n } else {\n const metaObject = ctx.metaModelCorrections.metaObjectsMap[xktEntityId];\n if (metaObject) {\n xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: deferredMeshIds\n });\n ctx.stats.numObjects++;\n deferredMeshIds = [];\n }\n }\n } else { // Create an XKTObject from the meshes at each named glTF node, don't care about metaobjects\n xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: deferredMeshIds\n });\n ctx.stats.numObjects++;\n deferredMeshIds = [];\n }\n }\n}\n\nfunction createPrimitiveGeometryHash(primitiveInfo) {\n const attributes = primitiveInfo.attributes;\n if (!attributes) {\n return \"empty\";\n }\n const mode = primitiveInfo.mode;\n const material = primitiveInfo.material;\n const indices = primitiveInfo.indices;\n const positions = primitiveInfo.attributes.POSITION;\n const normals = primitiveInfo.attributes.NORMAL;\n const colors = primitiveInfo.attributes.COLOR_0;\n const uv = primitiveInfo.attributes.TEXCOORD_0;\n return [\n mode,\n // material,\n (indices !== null && indices !== undefined) ? indices : \"-\",\n (positions !== null && positions !== undefined) ? positions : \"-\",\n (normals !== null && normals !== undefined) ? normals : \"-\",\n (colors !== null && colors !== undefined) ? colors : \"-\",\n (uv !== null && uv !== undefined) ? uv : \"-\"\n ].join(\";\");\n}\n\nfunction parsePrimitiveGeometry(ctx, primitiveInfo, geometryArrays) {\n const attributes = primitiveInfo.attributes;\n if (!attributes) {\n return;\n }\n switch (primitiveInfo.mode) {\n case 0: // POINTS\n geometryArrays.primitive = \"points\";\n break;\n case 1: // LINES\n geometryArrays.primitive = \"lines\";\n break;\n case 2: // LINE_LOOP\n // TODO: convert\n geometryArrays.primitive = \"lines\";\n break;\n case 3: // LINE_STRIP\n // TODO: convert\n geometryArrays.primitive = \"lines\";\n break;\n case 4: // TRIANGLES\n geometryArrays.primitive = \"triangles\";\n break;\n case 5: // TRIANGLE_STRIP\n // TODO: convert\n console.log(\"TRIANGLE_STRIP\");\n geometryArrays.primitive = \"triangles\";\n break;\n case 6: // TRIANGLE_FAN\n // TODO: convert\n console.log(\"TRIANGLE_FAN\");\n geometryArrays.primitive = \"triangles\";\n break;\n default:\n geometryArrays.primitive = \"triangles\";\n }\n const accessors = ctx.gltf.accessors;\n const indicesIndex = primitiveInfo.indices;\n if (indicesIndex !== null && indicesIndex !== undefined) {\n const accessorInfo = accessors[indicesIndex];\n geometryArrays.indices = parseAccessorTypedArray(ctx, accessorInfo);\n }\n const positionsIndex = attributes.POSITION;\n if (positionsIndex !== null && positionsIndex !== undefined) {\n const accessorInfo = accessors[positionsIndex];\n geometryArrays.positions = parseAccessorTypedArray(ctx, accessorInfo);\n }\n const normalsIndex = attributes.NORMAL;\n if (normalsIndex !== null && normalsIndex !== undefined) {\n const accessorInfo = accessors[normalsIndex];\n geometryArrays.normals = parseAccessorTypedArray(ctx, accessorInfo);\n }\n const colorsIndex = attributes.COLOR_0;\n if (colorsIndex !== null && colorsIndex !== undefined) {\n const accessorInfo = accessors[colorsIndex];\n geometryArrays.colors = parseAccessorTypedArray(ctx, accessorInfo);\n }\n}\n\nfunction parseAccessorTypedArray(ctx, accessorInfo) {\n const bufferView = ctx.gltf.bufferViews[accessorInfo.bufferView];\n const itemSize = WEBGL_TYPE_SIZES[accessorInfo.type];\n const TypedArray = WEBGL_COMPONENT_TYPES[accessorInfo.componentType];\n const elementBytes = TypedArray.BYTES_PER_ELEMENT; // For VEC3: itemSize is 3, elementBytes is 4, itemBytes is 12.\n const itemBytes = elementBytes * itemSize;\n if (accessorInfo.byteStride && accessorInfo.byteStride !== itemBytes) { // The buffer is not interleaved if the stride is the item size in bytes.\n throw new Error(\"interleaved buffer!\"); // TODO\n } else {\n return new TypedArray(bufferView._buffer, accessorInfo.byteOffset || 0, accessorInfo.count * itemSize);\n }\n}\n\nexport {parseGLTFJSONIntoXKTModel};\n","/**\n * @desc Parses IFC STEP file data into an {@link XKTModel}.\n *\n * This function uses [web-ifc](https://github.com/tomvandig/web-ifc) to parse the IFC, which relies on a\n * WASM file to do the parsing.\n *\n * Depending on how we use this function, we may need to provide it with a path to the directory where that WASM file is stored.\n *\n * This function is tested with web-ifc version 0.0.34.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an IFC model into it.\n *\n * ````javascript\n * import {XKTModel, parseIFCIntoXKTModel, writeXKTModelToArrayBuffer} from \"xeokit-convert.es.js\";\n *\n * import * as WebIFC from \"web-ifc-api.js\";\n *\n * utils.loadArraybuffer(\"rac_advanced_sample_project.ifc\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseIFCIntoXKTModel({\n * WebIFC,\n * data,\n * xktModel,\n * wasmPath: \"../dist/\",\n * autoNormals: true,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {Object} params.WebIFC The WebIFC library. We pass this in as an external dependency, in order to give the\n * caller the choice of whether to use the Browser or NodeJS version.\n * @param {ArrayBuffer} [params.data] IFC file data.\n * @param {XKTModel} [params.xktModel] XKTModel to parse into.\n * @param {Boolean} [params.autoNormals=true] When true, the parser will ignore the IFC geometry normals, and the IFC\n * data will rely on the xeokit ````Viewer```` to automatically generate them. This has the limitation that the\n * normals will be face-aligned, and therefore the ````Viewer```` will only be able to render a flat-shaded representation\n * of the IFC model. This is ````true```` by default, because IFC models tend to look acceptable with flat-shading,\n * and we always want to minimize IFC model size wherever possible.\n * @param {String[]} [params.includeTypes] Option to only convert objects of these types.\n * @param {String[]} [params.excludeTypes] Option to never convert objects of these types.\n * @param {String} params.wasmPath Path to ````web-ifc.wasm````, required by this function.\n * @param {Object} [params.stats={}] Collects statistics.\n * @param {function} [params.log] Logging callback.\n * @returns {Promise} Resolves when IFC has been parsed.\n */\nfunction parseIFCIntoXKTModel({\n WebIFC,\n data,\n xktModel,\n autoNormals = true,\n includeTypes,\n excludeTypes,\n wasmPath,\n stats = {},\n log\n }) {\n\n if (log) {\n log(\"Using parser: parseIFCIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n if (!wasmPath) {\n reject(\"Argument expected: wasmPath\");\n return;\n }\n\n const ifcAPI = new WebIFC.IfcAPI();\n\n if (wasmPath) {\n ifcAPI.SetWasmPath(wasmPath);\n }\n\n ifcAPI.Init().then(() => {\n\n const dataArray = new Uint8Array(data);\n\n const modelID = ifcAPI.OpenModel(dataArray);\n\n stats.sourceFormat = \"IFC\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 0;\n stats.numPropertySets = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n stats.numTriangles = 0;\n stats.numVertices = 0;\n\n const ctx = {\n WebIFC,\n modelID,\n ifcAPI,\n xktModel,\n autoNormals,\n log: (log || function (msg) {\n }),\n nextId: 0,\n stats\n };\n\n if (includeTypes) {\n ctx.includeTypes = {};\n for (let i = 0, len = includeTypes.length; i < len; i++) {\n ctx.includeTypes[includeTypes[i]] = true;\n }\n }\n\n if (excludeTypes) {\n ctx.excludeTypes = {};\n for (let i = 0, len = excludeTypes.length; i < len; i++) {\n ctx.excludeTypes[excludeTypes[i]] = true;\n }\n }\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(modelID, WebIFC.IFCPROJECT);\n const ifcProjectId = lines.get(0);\n const ifcProject = ctx.ifcAPI.GetLine(modelID, ifcProjectId);\n\n ctx.xktModel.schema = \"\";\n ctx.xktModel.modelId = \"\" + modelID;\n ctx.xktModel.projectId = \"\" + ifcProjectId;\n\n parseMetadata(ctx);\n parseGeometry(ctx);\n parsePropertySets(ctx);\n\n resolve();\n\n }).catch((e) => {\n\n reject(e);\n })\n });\n}\n\nfunction parsePropertySets(ctx) {\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, ctx.WebIFC.IFCRELDEFINESBYPROPERTIES);\n\n for (let i = 0; i < lines.size(); i++) {\n\n let relID = lines.get(i);\n\n let rel = ctx.ifcAPI.GetLine(ctx.modelID, relID, true);\n\n if (rel) {\n\n const relatingPropertyDefinition = rel.RelatingPropertyDefinition;\n if (!relatingPropertyDefinition) {\n continue;\n }\n\n const propertySetId = relatingPropertyDefinition.GlobalId.value;\n\n const relatedObjects = rel.RelatedObjects;\n if (relatedObjects) {\n for (let i = 0, len = relatedObjects.length; i < len; i++) {\n const relatedObject = relatedObjects[i];\n const metaObjectId = relatedObject.GlobalId.value;\n const metaObject = ctx.xktModel.metaObjects[metaObjectId];\n if (metaObject) {\n if (!metaObject.propertySetIds) {\n metaObject.propertySetIds = [];\n }\n metaObject.propertySetIds.push(propertySetId);\n }\n }\n }\n\n const props = relatingPropertyDefinition.HasProperties;\n if (props && props.length > 0) {\n const propertySetType = \"Default\";\n const propertySetName = relatingPropertyDefinition.Name.value;\n const properties = [];\n for (let i = 0, len = props.length; i < len; i++) {\n const prop = props[i];\n const name = prop.Name;\n const nominalValue = prop.NominalValue;\n if (name && nominalValue) {\n const property = {\n name: name.value,\n type: nominalValue.type,\n value: nominalValue.value,\n valueType: nominalValue.valueType\n };\n if (prop.Description) {\n property.description = prop.Description.value;\n } else if (nominalValue.description) {\n property.description = nominalValue.description;\n }\n properties.push(property);\n }\n }\n ctx.xktModel.createPropertySet({propertySetId, propertySetType, propertySetName, properties});\n ctx.stats.numPropertySets++;\n }\n }\n }\n}\n\nfunction parseMetadata(ctx) {\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, ctx.WebIFC.IFCPROJECT);\n const ifcProjectId = lines.get(0);\n const ifcProject = ctx.ifcAPI.GetLine(ctx.modelID, ifcProjectId);\n\n parseSpatialChildren(ctx, ifcProject);\n}\n\nfunction parseSpatialChildren(ctx, ifcElement, parentMetaObjectId) {\n\n const metaObjectType = ifcElement.__proto__.constructor.name;\n\n if (ctx.includeTypes && (!ctx.includeTypes[metaObjectType])) {\n return;\n }\n\n if (ctx.excludeTypes && ctx.excludeTypes[metaObjectType]) {\n return;\n }\n\n createMetaObject(ctx, ifcElement, parentMetaObjectId);\n\n const metaObjectId = ifcElement.GlobalId.value;\n\n parseRelatedItemsOfType(\n ctx,\n ifcElement.expressID,\n 'RelatingObject',\n 'RelatedObjects',\n ctx.WebIFC.IFCRELAGGREGATES,\n metaObjectId);\n\n parseRelatedItemsOfType(\n ctx,\n ifcElement.expressID,\n 'RelatingStructure',\n 'RelatedElements',\n ctx.WebIFC.IFCRELCONTAINEDINSPATIALSTRUCTURE,\n metaObjectId);\n}\n\nfunction createMetaObject(ctx, ifcElement, parentMetaObjectId) {\n\n const metaObjectId = ifcElement.GlobalId.value;\n const propertySetIds = null;\n const metaObjectType = ifcElement.__proto__.constructor.name;\n const metaObjectName = (ifcElement.Name && ifcElement.Name.value !== \"\") ? ifcElement.Name.value : metaObjectType;\n\n ctx.xktModel.createMetaObject({metaObjectId, propertySetIds, metaObjectType, metaObjectName, parentMetaObjectId});\n ctx.stats.numMetaObjects++;\n}\n\nfunction parseRelatedItemsOfType(ctx, id, relation, related, type, parentMetaObjectId) {\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, type);\n\n for (let i = 0; i < lines.size(); i++) {\n\n const relID = lines.get(i);\n const rel = ctx.ifcAPI.GetLine(ctx.modelID, relID);\n const relatedItems = rel[relation];\n\n let foundElement = false;\n\n if (Array.isArray(relatedItems)) {\n const values = relatedItems.map((item) => item.value);\n foundElement = values.includes(id);\n\n } else {\n foundElement = (relatedItems.value === id);\n }\n\n if (foundElement) {\n\n const element = rel[related];\n\n if (!Array.isArray(element)) {\n\n const ifcElement = ctx.ifcAPI.GetLine(ctx.modelID, element.value);\n\n parseSpatialChildren(ctx, ifcElement, parentMetaObjectId);\n\n } else {\n\n element.forEach((element2) => {\n\n const ifcElement = ctx.ifcAPI.GetLine(ctx.modelID, element2.value);\n\n parseSpatialChildren(ctx, ifcElement, parentMetaObjectId);\n });\n }\n }\n }\n}\n\nfunction parseGeometry(ctx) {\n\n // Parses the geometry and materials in the IFC, creates\n // XKTEntity, XKTMesh and XKTGeometry components within the XKTModel.\n\n const flatMeshes = ctx.ifcAPI.LoadAllGeometry(ctx.modelID);\n\n for (let i = 0, len = flatMeshes.size(); i < len; i++) {\n const flatMesh = flatMeshes.get(i);\n createObject(ctx, flatMesh);\n }\n\n // LoadAllGeometry does not return IFCSpace meshes\n // here is a workaround\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, ctx.WebIFC.IFCSPACE);\n for (let j = 0, len = lines.size(); j < len; j++) {\n const ifcSpaceId = lines.get(j);\n const flatMesh = ctx.ifcAPI.GetFlatMesh(ctx.modelID, ifcSpaceId);\n createObject(ctx, flatMesh);\n }\n}\n\nfunction createObject(ctx, flatMesh) {\n\n const flatMeshExpressID = flatMesh.expressID;\n const placedGeometries = flatMesh.geometries;\n\n const meshIds = [];\n\n const properties = ctx.ifcAPI.GetLine(ctx.modelID, flatMeshExpressID);\n const entityId = properties.GlobalId.value;\n\n const metaObjectId = entityId;\n const metaObject = ctx.xktModel.metaObjects[metaObjectId];\n\n if (ctx.includeTypes && (!metaObject || (!ctx.includeTypes[metaObject.metaObjectType]))) {\n return;\n }\n\n if (ctx.excludeTypes && (!metaObject || ctx.excludeTypes[metaObject.metaObjectType])) {\n console.log(\"excluding: \" + metaObjectId)\n return;\n }\n\n for (let j = 0, lenj = placedGeometries.size(); j < lenj; j++) {\n\n const placedGeometry = placedGeometries.get(j);\n const geometryId = \"\" + placedGeometry.geometryExpressID;\n\n if (!ctx.xktModel.geometries[geometryId]) {\n\n const geometry = ctx.ifcAPI.GetGeometry(ctx.modelID, placedGeometry.geometryExpressID);\n const vertexData = ctx.ifcAPI.GetVertexArray(geometry.GetVertexData(), geometry.GetVertexDataSize());\n const indices = ctx.ifcAPI.GetIndexArray(geometry.GetIndexData(), geometry.GetIndexDataSize());\n\n // De-interleave vertex arrays\n\n const positions = [];\n const normals = [];\n\n for (let k = 0, lenk = vertexData.length / 6; k < lenk; k++) {\n positions.push(vertexData[k * 6 + 0]);\n positions.push(vertexData[k * 6 + 1]);\n positions.push(vertexData[k * 6 + 2]);\n }\n\n if (!ctx.autoNormals) {\n for (let k = 0, lenk = vertexData.length / 6; k < lenk; k++) {\n normals.push(vertexData[k * 6 + 3]);\n normals.push(vertexData[k * 6 + 4]);\n normals.push(vertexData[k * 6 + 5]);\n }\n }\n\n ctx.xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: positions,\n normals: ctx.autoNormals ? null : normals,\n indices: indices\n });\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += (positions.length / 3);\n ctx.stats.numTriangles += (indices.length / 3);\n }\n\n const meshId = (\"mesh\" + ctx.nextId++);\n\n ctx.xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n matrix: placedGeometry.flatTransformation,\n color: [placedGeometry.color.x, placedGeometry.color.y, placedGeometry.color.z],\n opacity: placedGeometry.color.w\n });\n\n meshIds.push(meshId);\n }\n\n if (meshIds.length > 0) {\n ctx.xktModel.createEntity({\n entityId: entityId,\n meshIds: meshIds\n });\n ctx.stats.numObjects++;\n }\n}\n\nexport {parseIFCIntoXKTModel};\n","import {parse} from '@loaders.gl/core';\nimport {LASLoader} from '@loaders.gl/las';\n\nimport {math} from \"../lib/math.js\";\n\nconst MAX_VERTICES = 500000; // TODO: Rough estimate\n\n/**\n * @desc Parses LAS and LAZ point cloud data into an {@link XKTModel}.\n *\n * This parser handles both the LASER file format (LAS) and its compressed version (LAZ),\n * a public format for the interchange of 3-dimensional point cloud data data, developed\n * for LIDAR mapping purposes.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an LAZ point cloud model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"./models/laz/autzen.laz\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * await parseLASIntoXKTModel({\n * data,\n * xktModel,\n * rotateX: true,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer} params.data LAS/LAZ file data.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {boolean} [params.center=false] Set true to center the LAS point positions to [0,0,0]. This is applied before the transformation matrix, if specified.\n * @param {Boolean} [params.transform] 4x4 transformation matrix to transform point positions. Use this to rotate, translate and scale them if neccessary.\n * @param {Number|String} [params.colorDepth=8] Whether colors encoded using 8 or 16 bits. Can be set to 'auto'. LAS specification recommends 16 bits.\n * @param {Boolean} [params.fp64=false] Configures if LASLoaderPlugin assumes that LAS positions are stored in 64-bit floats instead of 32-bit.\n * @param {Number} [params.skip=1] Read one from every n points.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n * @returns {Promise} Resolves when LAS has been parsed.\n */\nfunction parseLASIntoXKTModel({\n data,\n xktModel,\n center = false,\n transform = null,\n colorDepth = \"auto\",\n fp64 = false,\n skip = 1,\n stats,\n log = () => {\n }\n }) {\n\n if (log) {\n log(\"Using parser: parseLASIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n log(\"Converting LAZ/LAS\");\n\n log(`center: ${center}`);\n if (transform) {\n log(`transform: [${transform}]`);\n }\n log(`colorDepth: ${colorDepth}`);\n log(`fp64: ${fp64}`);\n log(`skip: ${skip}`);\n\n parse(data, LASLoader, {\n las: {\n colorDepth,\n fp64\n }\n }).then((parsedData) => {\n\n const attributes = parsedData.attributes;\n\n const loaderData = parsedData.loaderData;\n const pointsFormatId = loaderData.pointsFormatId !== undefined ? loaderData.pointsFormatId : -1;\n\n if (!attributes.POSITION) {\n log(\"No positions found in file (expected for all LAS point formats)\");\n return;\n }\n\n let readAttributes = {};\n\n switch (pointsFormatId) {\n case 0:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 0)\");\n return;\n }\n\n readAttributes = readIntensities(attributes.POSITION, attributes.intensity);\n break;\n case 1:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 1)\");\n return;\n }\n readAttributes = readIntensities(attributes.POSITION, attributes.intensity);\n break;\n case 2:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 2)\");\n return;\n }\n\n readAttributes = readColorsAndIntensities(attributes.POSITION, attributes.COLOR_0, attributes.intensity);\n break;\n case 3:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 3)\");\n return;\n }\n readAttributes = readColorsAndIntensities(attributes.POSITION, attributes.COLOR_0, attributes.intensity);\n break;\n }\n\n const pointsChunks = chunkArray(readPositions(readAttributes.positions), MAX_VERTICES * 3);\n const colorsChunks = chunkArray(readAttributes.colors, MAX_VERTICES * 4);\n\n const meshIds = [];\n\n for (let j = 0, lenj = pointsChunks.length; j < lenj; j++) {\n\n const geometryId = `geometry-${j}`;\n const meshId = `mesh-${j}`;\n\n meshIds.push(meshId);\n\n xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"points\",\n positions: pointsChunks[j],\n colorsCompressed: colorsChunks[j]\n });\n\n xktModel.createMesh({\n meshId,\n geometryId\n });\n }\n\n const entityId = math.createUUID();\n\n xktModel.createEntity({\n entityId,\n meshIds\n });\n\n const rootMetaObjectId = math.createUUID();\n\n xktModel.createMetaObject({\n metaObjectId: rootMetaObjectId,\n metaObjectType: \"Model\",\n metaObjectName: \"Model\"\n });\n\n xktModel.createMetaObject({\n metaObjectId: entityId,\n metaObjectType: \"PointCloud\",\n metaObjectName: \"PointCloud (LAZ)\",\n parentMetaObjectId: rootMetaObjectId\n });\n\n if (stats) {\n stats.sourceFormat = \"LAS\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 2;\n stats.numPropertySets = 0;\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numVertices = readAttributes.positions.length / 3;\n }\n\n resolve();\n\n }, (errMsg) => {\n reject(errMsg);\n });\n });\n\n function readPositions(positionsValue) {\n if (positionsValue) {\n if (center) {\n const centerPos = math.vec3();\n const numPoints = positionsValue.length;\n for (let i = 0, len = positionsValue.length; i < len; i += 3) {\n centerPos[0] += positionsValue[i + 0];\n centerPos[1] += positionsValue[i + 1];\n centerPos[2] += positionsValue[i + 2];\n }\n centerPos[0] /= numPoints;\n centerPos[1] /= numPoints;\n centerPos[2] /= numPoints;\n for (let i = 0, len = positionsValue.length; i < len; i += 3) {\n positionsValue[i + 0] -= centerPos[0];\n positionsValue[i + 1] -= centerPos[1];\n positionsValue[i + 2] -= centerPos[2];\n }\n }\n if (transform) {\n const mat = math.mat4(transform);\n const pos = math.vec3();\n for (let i = 0, len = positionsValue.length; i < len; i += 3) {\n pos[0] = positionsValue[i + 0];\n pos[1] = positionsValue[i + 1];\n pos[2] = positionsValue[i + 2];\n math.transformPoint3(mat, pos, pos);\n positionsValue[i + 0] = pos[0];\n positionsValue[i + 1] = pos[1];\n positionsValue[i + 2] = pos[2];\n }\n }\n }\n return positionsValue;\n }\n\n function readColorsAndIntensities(attributesPosition, attributesColor, attributesIntensity) {\n const positionsValue = attributesPosition.value;\n const colors = attributesColor.value;\n const colorSize = attributesColor.size;\n const intensities = attributesIntensity.value;\n const colorsCompressedSize = intensities.length * 4;\n const positions = [];\n const colorsCompressed = new Uint8Array(colorsCompressedSize / skip);\n let count = skip;\n for (let i = 0, j = 0, k = 0, l = 0, m = 0, n=0,len = intensities.length; i < len; i++, k += colorSize, j += 4, l += 3) {\n if (count <= 0) {\n colorsCompressed[m++] = colors[k + 0];\n colorsCompressed[m++] = colors[k + 1];\n colorsCompressed[m++] = colors[k + 2];\n colorsCompressed[m++] = Math.round((intensities[i] / 65536) * 255);\n positions[n++] = positionsValue[l + 0];\n positions[n++] = positionsValue[l + 1];\n positions[n++] = positionsValue[l + 2];\n count = skip;\n } else {\n count--;\n }\n }\n return {\n positions,\n colors: colorsCompressed\n };\n }\n\n function readIntensities(attributesPosition, attributesIntensity) {\n const positionsValue = attributesPosition.value;\n const intensities = attributesIntensity.value;\n const colorsCompressedSize = intensities.length * 4;\n const positions = [];\n const colorsCompressed = new Uint8Array(colorsCompressedSize / skip);\n let count = skip;\n for (let i = 0, j = 0, k = 0, l = 0, m = 0, n = 0, len = intensities.length; i < len; i++, k += 3, j += 4, l += 3) {\n if (count <= 0) {\n colorsCompressed[m++] = 0;\n colorsCompressed[m++] = 0;\n colorsCompressed[m++] = 0;\n colorsCompressed[m++] = Math.round((intensities[i] / 65536) * 255);\n positions[n++] = positionsValue[l + 0];\n positions[n++] = positionsValue[l + 1];\n positions[n++] = positionsValue[l + 2];\n count = skip;\n } else {\n count--;\n }\n }\n return {\n positions,\n colors: colorsCompressed\n };\n }\n\n function chunkArray(array, chunkSize) {\n if (chunkSize >= array.length) {\n return [array]; // One chunk\n }\n let result = [];\n for (let i = 0; i < array.length; i += chunkSize) {\n result.push(array.slice(i, i + chunkSize));\n }\n return result;\n }\n\n}\n\nexport {parseLASIntoXKTModel};","/**\n * @desc Parses JSON metamodel into an {@link XKTModel}.\n *\n * @param {Object} params Parsing parameters.\n * @param {JSON} params.metaModelData Metamodel data.\n * @param {String[]} [params.excludeTypes] Types to exclude from parsing.\n * @param {String[]} [params.includeTypes] Types to include in parsing.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when JSON has been parsed.\n */\nfunction parseMetaModelIntoXKTModel({metaModelData, xktModel, includeTypes, excludeTypes, log}) {\n\n if (log) {\n log(\"Using parser: parseMetaModelIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n const metaObjects = metaModelData.metaObjects || [];\n const propertySets = metaModelData.propertySets || [];\n\n xktModel.modelId = metaModelData.revisionId || \"\"; // HACK\n xktModel.projectId = metaModelData.projectId || \"\";\n xktModel.revisionId = metaModelData.revisionId || \"\";\n xktModel.author = metaModelData.author || \"\";\n xktModel.createdAt = metaModelData.createdAt || \"\";\n xktModel.creatingApplication = metaModelData.creatingApplication || \"\";\n xktModel.schema = metaModelData.schema || \"\";\n\n for (let i = 0, len = propertySets.length; i < len; i++) {\n\n const propertySet = propertySets[i];\n\n xktModel.createPropertySet({\n propertySetId: propertySet.id,\n propertySetName: propertySet.name,\n propertySetType: propertySet.type,\n properties: propertySet.properties\n });\n }\n\n let includeTypesMap;\n if (includeTypes) {\n includeTypesMap = {};\n for (let i = 0, len = includeTypes.length; i < len; i++) {\n includeTypesMap[includeTypes[i]] = true;\n }\n }\n\n let excludeTypesMap;\n if (excludeTypes) {\n excludeTypesMap = {};\n for (let i = 0, len = excludeTypes.length; i < len; i++) {\n excludeTypesMap[excludeTypes[i]] = true;\n }\n }\n\n const metaObjectsMap = {};\n\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n const newObject = metaObjects[i];\n metaObjectsMap[newObject.id] = newObject;\n }\n\n let countMetaObjects = 0;\n\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n\n const metaObject = metaObjects[i];\n const type = metaObject.type;\n\n if (excludeTypesMap && excludeTypesMap[type]) {\n continue;\n }\n\n if (includeTypesMap && !includeTypesMap[type]) {\n continue;\n }\n\n if (metaObject.parent !== undefined && metaObject.parent !== null) {\n const metaObjectParent = metaObjectsMap[metaObject.parent];\n if (metaObject.type === metaObjectParent.type) { // Don't create redundant sub-objects\n continue\n }\n }\n\n const propertySetIds = [];\n if (metaObject.propertySetIds) {\n for (let j = 0, lenj = metaObject.propertySetIds.length; j < lenj; j++) {\n const propertySetId = metaObject.propertySetIds[j];\n if (propertySetId !== undefined && propertySetId !== null && propertySetId !== \"\") {\n propertySetIds.push(propertySetId);\n }\n }\n }\n if (metaObject.propertySetId !== undefined && metaObject.propertySetId !== null && metaObject.propertySetId !== \"\") {\n propertySetIds.push(metaObject.propertySetId);\n }\n\n xktModel.createMetaObject({\n metaObjectId: metaObject.id,\n metaObjectType: metaObject.type,\n metaObjectName: metaObject.name,\n parentMetaObjectId: metaObject.parent,\n propertySetIds: propertySetIds.length > 0 ? propertySetIds : null\n });\n\n countMetaObjects++;\n }\n\n if (log) {\n log(\"Converted meta objects: \" + countMetaObjects);\n }\n\n resolve();\n });\n}\n\nexport {parseMetaModelIntoXKTModel};\n","/**\n * @desc Parses PCD point cloud data into an {@link XKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an LAZ point cloud model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"\"./models/pcd/ism_test_cat.pcd\"\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * await parsePCDIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer} params.data PCD file data.\n * @param {Boolean} [params.littleEndian=true] Whether PCD binary data is Little-Endian or Big-Endian.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when PCD has been parsed.\n */\nfunction parsePCDIntoXKTModel({data, xktModel, littleEndian = true, stats, log}) {\n\n if (log) {\n log(\"Using parser: parsePCDIntoXKTModel\");\n }\n\n return new Promise(function(resolve, reject) {\n\n const textData = decodeText(new Uint8Array(data));\n\n const header = parseHeader(textData);\n\n const positions = [];\n const normals = [];\n const colors = [];\n\n if (header.data === 'ascii') {\n\n const offset = header.offset;\n const data = textData.substr(header.headerLen);\n const lines = data.split('\\n');\n\n for (let i = 0, l = lines.length; i < l; i++) {\n\n if (lines[i] === '') {\n continue;\n }\n\n const line = lines[i].split(' ');\n\n if (offset.x !== undefined) {\n positions.push(parseFloat(line[offset.x]));\n positions.push(parseFloat(line[offset.y]));\n positions.push(parseFloat(line[offset.z]));\n }\n\n if (offset.rgb !== undefined) {\n const rgb = parseFloat(line[offset.rgb]);\n const r = (rgb >> 16) & 0x0000ff;\n const g = (rgb >> 8) & 0x0000ff;\n const b = (rgb >> 0) & 0x0000ff;\n colors.push(r, g, b, 255);\n } else {\n colors.push(255);\n colors.push(255);\n colors.push(255);\n }\n }\n }\n\n if (header.data === 'binary_compressed') {\n\n const sizes = new Uint32Array(data.slice(header.headerLen, header.headerLen + 8));\n const compressedSize = sizes[0];\n const decompressedSize = sizes[1];\n const decompressed = decompressLZF(new Uint8Array(data, header.headerLen + 8, compressedSize), decompressedSize);\n const dataview = new DataView(decompressed.buffer);\n const offset = header.offset;\n\n for (let i = 0; i < header.points; i++) {\n\n if (offset.x !== undefined) {\n positions.push(dataview.getFloat32((header.points * offset.x) + header.size[0] * i, littleEndian));\n positions.push(dataview.getFloat32((header.points * offset.y) + header.size[1] * i, littleEndian));\n positions.push(dataview.getFloat32((header.points * offset.z) + header.size[2] * i, littleEndian));\n }\n\n if (offset.rgb !== undefined) {\n colors.push(dataview.getUint8((header.points * offset.rgb) + header.size[3] * i + 0));\n colors.push(dataview.getUint8((header.points * offset.rgb) + header.size[3] * i + 1));\n colors.push(dataview.getUint8((header.points * offset.rgb) + header.size[3] * i + 2));\n // colors.push(255);\n } else {\n colors.push(1);\n colors.push(1);\n colors.push(1);\n }\n }\n }\n\n if (header.data === 'binary') {\n\n const dataview = new DataView(data, header.headerLen);\n const offset = header.offset;\n\n for (let i = 0, row = 0; i < header.points; i++, row += header.rowSize) {\n if (offset.x !== undefined) {\n positions.push(dataview.getFloat32(row + offset.x, littleEndian));\n positions.push(dataview.getFloat32(row + offset.y, littleEndian));\n positions.push(dataview.getFloat32(row + offset.z, littleEndian));\n }\n\n if (offset.rgb !== undefined) {\n colors.push(dataview.getUint8(row + offset.rgb + 2));\n colors.push(dataview.getUint8(row + offset.rgb + 1));\n colors.push(dataview.getUint8(row + offset.rgb + 0));\n } else {\n colors.push(255);\n colors.push(255);\n colors.push(255);\n }\n }\n }\n\n xktModel.createGeometry({\n geometryId: \"pointsGeometry\",\n primitiveType: \"points\",\n positions: positions,\n colors: colors && colors.length > 0 ? colors : null\n });\n\n xktModel.createMesh({\n meshId: \"pointsMesh\",\n geometryId: \"pointsGeometry\"\n });\n\n xktModel.createEntity({\n entityId: \"geometries\",\n meshIds: [\"pointsMesh\"]\n });\n\n if (log) {\n log(\"Converted drawable objects: 1\");\n log(\"Converted geometries: 1\");\n log(\"Converted vertices: \" + positions.length / 3);\n }\n\n if (stats) {\n stats.sourceFormat = \"PCD\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numVertices = positions.length / 3;\n }\n\n resolve();\n });\n}\n\nfunction parseHeader(data) {\n const header = {};\n const result1 = data.search(/[\\r\\n]DATA\\s(\\S*)\\s/i);\n const result2 = /[\\r\\n]DATA\\s(\\S*)\\s/i.exec(data.substr(result1 - 1));\n header.data = result2[1];\n header.headerLen = result2[0].length + result1;\n header.str = data.substr(0, header.headerLen);\n header.str = header.str.replace(/\\#.*/gi, ''); // Strip comments\n header.version = /VERSION (.*)/i.exec(header.str); // Parse\n header.fields = /FIELDS (.*)/i.exec(header.str);\n header.size = /SIZE (.*)/i.exec(header.str);\n header.type = /TYPE (.*)/i.exec(header.str);\n header.count = /COUNT (.*)/i.exec(header.str);\n header.width = /WIDTH (.*)/i.exec(header.str);\n header.height = /HEIGHT (.*)/i.exec(header.str);\n header.viewpoint = /VIEWPOINT (.*)/i.exec(header.str);\n header.points = /POINTS (.*)/i.exec(header.str);\n if (header.version !== null) {\n header.version = parseFloat(header.version[1]);\n }\n if (header.fields !== null) {\n header.fields = header.fields[1].split(' ');\n }\n if (header.type !== null) {\n header.type = header.type[1].split(' ');\n }\n if (header.width !== null) {\n header.width = parseInt(header.width[1]);\n }\n if (header.height !== null) {\n header.height = parseInt(header.height[1]);\n }\n if (header.viewpoint !== null) {\n header.viewpoint = header.viewpoint[1];\n }\n if (header.points !== null) {\n header.points = parseInt(header.points[1], 10);\n }\n if (header.points === null) {\n header.points = header.width * header.height;\n }\n if (header.size !== null) {\n header.size = header.size[1].split(' ').map(function (x) {\n return parseInt(x, 10);\n });\n }\n if (header.count !== null) {\n header.count = header.count[1].split(' ').map(function (x) {\n return parseInt(x, 10);\n });\n } else {\n header.count = [];\n for (let i = 0, l = header.fields.length; i < l; i++) {\n header.count.push(1);\n }\n }\n header.offset = {};\n let sizeSum = 0;\n for (let i = 0, l = header.fields.length; i < l; i++) {\n if (header.data === 'ascii') {\n header.offset[header.fields[i]] = i;\n } else {\n header.offset[header.fields[i]] = sizeSum;\n sizeSum += header.size[i] * header.count[i];\n }\n }\n header.rowSize = sizeSum; // For binary only\n return header;\n}\n\nfunction decodeText(array) {\n if (typeof TextDecoder !== 'undefined') {\n return new TextDecoder().decode(array);\n }\n let s = '';\n for (let i = 0, il = array.length; i < il; i++) {\n s += String.fromCharCode(array[i]);\n }\n try {\n return decodeURIComponent(escape(s));\n } catch (e) {\n return s;\n }\n}\n\nfunction decompressLZF(inData, outLength) { // https://gitlab.com/taketwo/three-pcd-loader/blob/master/decompress-lzf.js\n const inLength = inData.length;\n const outData = new Uint8Array(outLength);\n let inPtr = 0;\n let outPtr = 0;\n let ctrl;\n let len;\n let ref;\n do {\n ctrl = inData[inPtr++];\n if (ctrl < (1 << 5)) {\n ctrl++;\n if (outPtr + ctrl > outLength) throw new Error('Output buffer is not large enough');\n if (inPtr + ctrl > inLength) throw new Error('Invalid compressed data');\n do {\n outData[outPtr++] = inData[inPtr++];\n } while (--ctrl);\n } else {\n len = ctrl >> 5;\n ref = outPtr - ((ctrl & 0x1f) << 8) - 1;\n if (inPtr >= inLength) throw new Error('Invalid compressed data');\n if (len === 7) {\n len += inData[inPtr++];\n if (inPtr >= inLength) throw new Error('Invalid compressed data');\n }\n ref -= inData[inPtr++];\n if (outPtr + len + 2 > outLength) throw new Error('Output buffer is not large enough');\n if (ref < 0) throw new Error('Invalid compressed data');\n if (ref >= outPtr) throw new Error('Invalid compressed data');\n do {\n outData[outPtr++] = outData[ref++];\n } while (--len + 2);\n }\n } while (inPtr < inLength);\n return outData;\n}\n\nexport {parsePCDIntoXKTModel};","import {parse} from '@loaders.gl/core';\nimport {PLYLoader} from '@loaders.gl/ply';\n\n/**\n * @desc Parses PLY file data into an {@link XKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a PLY model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"./models/ply/test.ply\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parsePLYIntoXKTModel({data, xktModel}).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer} params.data PLY file data.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when PLY has been parsed.\n */\nasync function parsePLYIntoXKTModel({data, xktModel, stats, log}) {\n\n if (log) {\n log(\"Using parser: parsePLYIntoXKTModel\");\n }\n\n if (!data) {\n throw \"Argument expected: data\";\n }\n\n if (!xktModel) {\n throw \"Argument expected: xktModel\";\n }\n\n let parsedData;\n try {\n parsedData = await parse(data, PLYLoader);\n } catch (e) {\n if (log) {\n log(\"Error: \" + e);\n }\n return;\n }\n\n const attributes = parsedData.attributes;\n const hasColors = !!attributes.COLOR_0;\n\n if (hasColors) {\n const colorsValue = hasColors ? attributes.COLOR_0.value : null;\n const colorsCompressed = [];\n for (let i = 0, len = colorsValue.length; i < len; i += 4) {\n colorsCompressed.push(colorsValue[i]);\n colorsCompressed.push(colorsValue[i + 1]);\n colorsCompressed.push(colorsValue[i + 2]);\n }\n xktModel.createGeometry({\n geometryId: \"plyGeometry\",\n primitiveType: \"triangles\",\n positions: attributes.POSITION.value,\n indices: parsedData.indices ? parsedData.indices.value : [],\n colorsCompressed: colorsCompressed\n });\n } else {\n xktModel.createGeometry({\n geometryId: \"plyGeometry\",\n primitiveType: \"triangles\",\n positions: attributes.POSITION.value,\n indices: parsedData.indices ? parsedData.indices.value : []\n });\n }\n\n xktModel.createMesh({\n meshId: \"plyMesh\",\n geometryId: \"plyGeometry\",\n color: (!hasColors) ? [1, 1, 1] : null\n });\n\n xktModel.createEntity({\n entityId: \"ply\",\n meshIds: [\"plyMesh\"]\n });\n\n if (stats) {\n stats.sourceFormat = \"PLY\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 2;\n stats.numPropertySets = 0;\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numVertices = attributes.POSITION.value.length / 3;\n }\n}\n\nexport {parsePLYIntoXKTModel};\n","import {faceToVertexNormals} from \"../lib/faceToVertexNormals.js\";\nimport {math} from \"../lib/math.js\";\n\n/**\n * @desc Parses STL file data into an {@link XKTModel}.\n *\n * * Supports binary and ASCII STL formats.\n * * Option to create a separate {@link XKTEntity} for each group of faces that share the same vertex colors.\n * * Option to smooth face-aligned normals loaded from STL.\n * * Option to reduce XKT file size by ignoring STL normals and relying on xeokit to auto-generate them.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an STL model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"./models/stl/binary/spurGear.stl\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseSTLIntoXKTModel({data, xktModel});\n *\n * xktModel.finalize();\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer|String} [params.data] STL file data. Can be binary or string.\n * @param {Boolean} [params.autoNormals=false] When true, the parser will ignore the STL geometry normals, and the STL\n * data will rely on the xeokit ````Viewer```` to automatically generate them. This has the limitation that the\n * normals will be face-aligned, and therefore the ````Viewer```` will only be able to render a flat-shaded representation\n * of the STL.\n * Overrides ````smoothNormals```` when ````true````. This ignores the normals in the STL, and loads no\n * normals from the STL into the {@link XKTModel}, resulting in the XKT file storing no normals for the STL model. The\n * xeokit-sdk will then automatically generate the normals within its shaders. The disadvantages are that auto-normals\n * may slow rendering down a little bit, and that the normals can only be face-aligned (and thus rendered using flat\n * shading). The advantages, however, are a smaller XKT file size, and the ability to apply certain geometry optimizations\n * during parsing, such as removing duplicated STL vertex positions, that are not possible when normals are loaded\n * for the STL vertices.\n * @param {Boolean} [params.smoothNormals=true] When true, automatically converts face-oriented STL normals to vertex normals, for a smooth appearance. Ignored if ````autoNormals```` is ````true````.\n * @param {Number} [params.smoothNormalsAngleThreshold=20] This is the threshold angle between normals of adjacent triangles, below which their shared wireframe edge is not drawn.\n * @param {Boolean} [params.splitMeshes=true] When true, creates a separate {@link XKTEntity} for each group of faces that share the same vertex colors. Only works with binary STL (ie. when ````data```` is an ArrayBuffer).\n * @param {XKTModel} [params.xktModel] XKTModel to parse into.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when STL has been parsed.\n */\nasync function parseSTLIntoXKTModel({\n data,\n splitMeshes,\n autoNormals,\n smoothNormals,\n smoothNormalsAngleThreshold,\n xktModel,\n stats,\n log\n }) {\n\n if (log) {\n log(\"Using parser: parseSTLIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n const rootMetaObjectId = math.createUUID();\n\n const rootMetaObject = xktModel.createMetaObject({\n metaObjectId: rootMetaObjectId,\n metaObjectType: \"Model\",\n metaObjectName: \"Model\"\n });\n\n const ctx = {\n data,\n splitMeshes,\n autoNormals,\n smoothNormals,\n smoothNormalsAngleThreshold,\n xktModel,\n rootMetaObject,\n nextId: 0,\n log: (log || function (msg) {\n }),\n stats: {\n numObjects: 0,\n numGeometries: 0,\n numTriangles: 0,\n numVertices: 0\n }\n };\n\n const binData = ensureBinary(data);\n\n if (isBinary(binData)) {\n parseBinary(ctx, binData);\n } else {\n parseASCII(ctx, ensureString(data));\n }\n\n if (stats) {\n stats.sourceFormat = \"STL\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 2;\n stats.numPropertySets = 0;\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numTriangles = ctx.stats.numTriangles;\n stats.numVertices = ctx.stats.numVertices;\n }\n\n resolve();\n });\n}\n\nfunction isBinary(data) {\n const reader = new DataView(data);\n const numFaces = reader.getUint32(80, true);\n const faceSize = (32 / 8 * 3) + ((32 / 8 * 3) * 3) + (16 / 8);\n const numExpectedBytes = 80 + (32 / 8) + (numFaces * faceSize);\n if (numExpectedBytes === reader.byteLength) {\n return true;\n }\n const solid = [115, 111, 108, 105, 100];\n for (let i = 0; i < 5; i++) {\n if (solid[i] !== reader.getUint8(i, false)) {\n return true;\n }\n }\n return false;\n}\n\nfunction parseBinary(ctx, data) {\n const reader = new DataView(data);\n const faces = reader.getUint32(80, true);\n let r;\n let g;\n let b;\n let hasColors = false;\n let colors;\n let defaultR;\n let defaultG;\n let defaultB;\n let lastR = null;\n let lastG = null;\n let lastB = null;\n let newMesh = false;\n let alpha;\n for (let index = 0; index < 80 - 10; index++) {\n if ((reader.getUint32(index, false) === 0x434F4C4F /*COLO*/) &&\n (reader.getUint8(index + 4) === 0x52 /*'R'*/) &&\n (reader.getUint8(index + 5) === 0x3D /*'='*/)) {\n hasColors = true;\n colors = [];\n defaultR = reader.getUint8(index + 6) / 255;\n defaultG = reader.getUint8(index + 7) / 255;\n defaultB = reader.getUint8(index + 8) / 255;\n alpha = reader.getUint8(index + 9) / 255;\n }\n }\n let dataOffset = 84;\n let faceLength = 12 * 4 + 2;\n let positions = [];\n let normals = [];\n let splitMeshes = ctx.splitMeshes;\n for (let face = 0; face < faces; face++) {\n let start = dataOffset + face * faceLength;\n let normalX = reader.getFloat32(start, true);\n let normalY = reader.getFloat32(start + 4, true);\n let normalZ = reader.getFloat32(start + 8, true);\n if (hasColors) {\n let packedColor = reader.getUint16(start + 48, true);\n if ((packedColor & 0x8000) === 0) {\n r = (packedColor & 0x1F) / 31;\n g = ((packedColor >> 5) & 0x1F) / 31;\n b = ((packedColor >> 10) & 0x1F) / 31;\n } else {\n r = defaultR;\n g = defaultG;\n b = defaultB;\n }\n if (splitMeshes && r !== lastR || g !== lastG || b !== lastB) {\n if (lastR !== null) {\n newMesh = true;\n }\n lastR = r;\n lastG = g;\n lastB = b;\n }\n }\n for (let i = 1; i <= 3; i++) {\n let vertexstart = start + i * 12;\n positions.push(reader.getFloat32(vertexstart, true));\n positions.push(reader.getFloat32(vertexstart + 4, true));\n positions.push(reader.getFloat32(vertexstart + 8, true));\n if (!ctx.autoNormals) {\n normals.push(normalX, normalY, normalZ);\n }\n if (hasColors) {\n colors.push(r, g, b, 1); // TODO: handle alpha\n }\n }\n if (splitMeshes && newMesh) {\n addMesh(ctx, positions, normals, colors);\n positions = [];\n normals = [];\n colors = colors ? [] : null;\n newMesh = false;\n }\n }\n if (positions.length > 0) {\n addMesh(ctx, positions, normals, colors);\n }\n}\n\nfunction parseASCII(ctx, data) {\n const faceRegex = /facet([\\s\\S]*?)endfacet/g;\n let faceCounter = 0;\n const floatRegex = /[\\s]+([+-]?(?:\\d+.\\d+|\\d+.|\\d+|.\\d+)(?:[eE][+-]?\\d+)?)/.source;\n const vertexRegex = new RegExp('vertex' + floatRegex + floatRegex + floatRegex, 'g');\n const normalRegex = new RegExp('normal' + floatRegex + floatRegex + floatRegex, 'g');\n const positions = [];\n const normals = [];\n const colors = null;\n let normalx;\n let normaly;\n let normalz;\n let result;\n let verticesPerFace;\n let normalsPerFace;\n let text;\n while ((result = faceRegex.exec(data)) !== null) {\n verticesPerFace = 0;\n normalsPerFace = 0;\n text = result[0];\n while ((result = normalRegex.exec(text)) !== null) {\n normalx = parseFloat(result[1]);\n normaly = parseFloat(result[2]);\n normalz = parseFloat(result[3]);\n normalsPerFace++;\n }\n while ((result = vertexRegex.exec(text)) !== null) {\n positions.push(parseFloat(result[1]), parseFloat(result[2]), parseFloat(result[3]));\n normals.push(normalx, normaly, normalz);\n verticesPerFace++;\n }\n if (normalsPerFace !== 1) {\n ctx.log(\"Error in normal of face \" + faceCounter);\n return -1;\n }\n if (verticesPerFace !== 3) {\n ctx.log(\"Error in positions of face \" + faceCounter);\n return -1;\n }\n faceCounter++;\n }\n addMesh(ctx, positions, normals, colors);\n}\n\nlet nextGeometryId = 0;\n\nfunction addMesh(ctx, positions, normals, colors) {\n\n const indices = new Int32Array(positions.length / 3);\n for (let ni = 0, len = indices.length; ni < len; ni++) {\n indices[ni] = ni;\n }\n\n normals = normals && normals.length > 0 ? normals : null;\n colors = colors && colors.length > 0 ? colors : null;\n\n if (!ctx.autoNormals && ctx.smoothNormals) {\n faceToVertexNormals(positions, normals, {smoothNormalsAngleThreshold: ctx.smoothNormalsAngleThreshold});\n }\n\n const geometryId = \"\" + nextGeometryId++;\n const meshId = \"\" + nextGeometryId++;\n const entityId = \"\" + nextGeometryId++;\n\n ctx.xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: positions,\n normals: (!ctx.autoNormals) ? normals : null,\n colors: colors,\n indices: indices\n });\n\n ctx.xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n color: colors ? null : [1, 1, 1],\n metallic: 0.9,\n roughness: 0.1\n });\n\n ctx.xktModel.createEntity({\n entityId: entityId,\n meshIds: [meshId]\n });\n\n ctx.xktModel.createMetaObject({\n metaObjectId: entityId,\n metaObjectType: \"Default\",\n metaObjectName: \"STL Mesh\",\n parentMetaObjectId: ctx.rootMetaObject.metaObjectId\n });\n\n ctx.stats.numGeometries++;\n ctx.stats.numObjects++;\n ctx.stats.numVertices += positions.length / 3;\n ctx.stats.numTriangles += indices.length / 3;\n}\n\nfunction ensureString(buffer) {\n if (typeof buffer !== 'string') {\n return decodeText(new Uint8Array(buffer));\n }\n return buffer;\n}\n\nfunction ensureBinary(buffer) {\n if (typeof buffer === 'string') {\n const arrayBuffer = new Uint8Array(buffer.length);\n for (let i = 0; i < buffer.length; i++) {\n arrayBuffer[i] = buffer.charCodeAt(i) & 0xff; // implicitly assumes little-endian\n }\n return arrayBuffer.buffer || arrayBuffer;\n } else {\n return buffer;\n }\n}\n\nfunction decodeText(array) {\n if (typeof TextDecoder !== 'undefined') {\n return new TextDecoder().decode(array);\n }\n let s = '';\n for (let i = 0, il = array.length; i < il; i++) {\n s += String.fromCharCode(array[i]); // Implicitly assumes little-endian.\n }\n return decodeURIComponent(escape(s));\n}\n\nexport {parseSTLIntoXKTModel};\n","module.exports = require(\"@loaders.gl/core\");","module.exports = require(\"@loaders.gl/gltf\");","module.exports = require(\"@loaders.gl/images\");","module.exports = require(\"@loaders.gl/las\");","module.exports = require(\"@loaders.gl/ply\");","module.exports = require(\"@loaders.gl/polyfills\");","module.exports = require(\"@loaders.gl/textures\");","module.exports = require(\"fs\");","module.exports = require(\"pako\");","module.exports = require(\"path\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import '@loaders.gl/polyfills';\nimport {installFilePolyfills} from '@loaders.gl/polyfills';\n\ninstallFilePolyfills();\n\nexport * from \"./src/index.js\";\nexport {convert2xkt} from \"./src/convert2xkt.js\"; // convert2xkt is only bundled for Node.js\n"],"names":["KDNode","_createClass","aabb","_classCallCheck","entities","left","right","math","XKTEntity","entityId","meshes","entityIndex","AABB3","hasReusedGeometries","XKTGeometry","cfg","geometryId","primitiveType","geometryIndex","numInstances","positions","positionsQuantized","Uint16Array","length","normals","normalsOctEncoded","colorsCompressed","uvs","uvsCompressed","indices","edgeIndices","solid","key","get","XKTMesh","meshId","meshIndex","matrix","geometry","color","Float32Array","metallic","undefined","roughness","opacity","textureSet","entity","XKTMetaObject","metaObjectId","propertySetIds","metaObjectType","metaObjectName","parentMetaObjectId","_regeneratorRuntime","exports","Op","Object","prototype","hasOwn","hasOwnProperty","defineProperty","obj","desc","value","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","err","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","call","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","result","_typeof","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","done","methodName","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","i","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","val","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","_catch","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","_asyncToGenerator","args","arguments","apply","instance","Constructor","_defineProperties","target","props","descriptor","_toPropertyKey","protoProps","staticProps","_toPrimitive","String","input","hint","prim","toPrimitive","res","Number","geometryCompression","buildEdgeIndices","isTriangleMeshSolid","XKTTile","XKTPropertySet","mergeVertices","XKT_INFO","XKTTexture","XKTTextureSet","encode","load","KTX2BasisWriter","ImageLoader","tempVec4a","vec4","tempVec4b","tempMat4","mat4","tempMat4b","kdTreeDimLength","Float64Array","COLOR_TEXTURE","METALLIC_ROUGHNESS_TEXTURE","NORMALS_TEXTURE","EMISSIVE_TEXTURE","OCCLUSION_TEXTURE","TEXTURE_ENCODING_OPTIONS","useSRGB","qualityLevel","encodeUASTC","mipmaps","XKTModel","modelId","projectId","revisionId","author","createdAt","creatingApplication","schema","xktVersion","edgeThreshold","minTileSize","modelAABB","propertySets","propertySetsList","metaObjects","metaObjectsList","reusedGeometriesDecodeMatrix","geometries","geometriesList","textures","texturesList","textureSets","textureSetsList","meshesList","entitiesList","tilesList","finalized","createPropertySet","params","propertySetId","properties","console","propertySetType","propertySetName","propertySet","createMetaObject","metaObject","_rootMetaObject","createTexture","textureId","imageData","src","fileExt","split","concat","texture","mediaType","minFilter","magFilter","wrapS","wrapT","wrapR","width","height","compressed","createTextureSet","textureSetId","colorTexture","colorTextureId","channel","metallicRoughnessTexture","metallicRoughnessTextureId","normalsTexture","normalsTextureId","emissiveTexture","emissiveTextureId","occlusionTexture","occlusionTextureId","textureSetIndex","createGeometry","triangles","points","lines","line_strip","line_loop","triangle_strip","triangle_fan","_createDefaultIndices","colors","xktGeometryCfg","uv","Uint8Array","len","Math","floor","mergedPositions","mergedIndices","numIndices","createMesh","position","scale","rotation","identityMat4","quaternion","eulerToQuaternion","identityQuaternion","composeMat4","mesh","createEntity","meshIds","warn","createUUID","meshIdIdx","meshIdLen","createDefaultMetaObjects","_finalize","_callee","rootKDNode","_callee$","_context","log","_removeUnusedTextures","_compressTextures","_bakeSingleUseGeometryPositions","_bakeAndOctEncodeNormals","_createEntityAABBs","_createKDTree","_createTilesFromKDTree","_createReusedGeometriesDecodeMatrix","_flagSolidGeometries","set","finalize","leni","textureIndex","_this","countTextures","_loop","encodingOptions","image","encodedData","encodedImageData","j","lenj","isIdentityMat4","transformPoint4","Int8Array","octEncodeNormals","modelNormalMatrix","inverseMat4","transposeMat4","transformAndOctEncodeNormals","entityAABB","collapseAABB3","expandAABB3Point3","expandAABB3","_insertEntityIntoKDTree","kdNode","nodeAABB","nodeAABBDiag","getAABB3Diag","containsAABB3","dim","aabbLeft","aabbRight","_createTilesFromKDNode","_createTileFromEntities","tileAABB","tileCenter","getAABB3Center","tileCenterNeg","mulVec3Scalar","vec3","rtcAABB","reused","k","lenk","quantizePositions","translateMat4v","tile","tempVec3a","reusedGeometriesAABB","countReusedGeometries","numGeometries","createPositionsDecodeMatrix","maxNumPositions","maxNumIndices","vertexIndexMapping","Array","edges","RepeatWrapping","LinearMipMapNearestFilter","materialType","materialIndex","uniquePositions","indicesLookup","indicesReverseLookup","weldedIndices","faces","numFaces","compa","compb","compc","a","b","c","cb","ab","cross","normal","inverseNormal","weldVertices","positionsMap","vx","vy","vz","precisionPoints","precision","pow","lenUniquePositions","round","buildFaces","positionsDecodeMatrix","ia","ib","ic","decompressPosition","subVec3","cross3Vec3","normalizeVec3","face","thresholdDot","cos","DEGTORAD","edge1","edge2","index1","index2","largeIndex","edge","normal1","normal2","dot","faceIndex","min","max","face1","face2","abs","dotVec3","dot2","Uint32Array","lenPositions","quantizedPositions","xmin","ymin","zmin","xwid","ywid","zwid","maxInt","xMultiplier","yMultiplier","zMultiplier","verify","num","compressPosition","p","q","multiplier","translate","translationMat4v","scalingMat4v","mulMat4","lenNormals","compressedNormals","lenCompressedNormals","oct","dec","best","currentCos","bestCos","ei","localNormal","worldNormal","transformVec3","octEncodeVec3","octDecodeVec2","array","xfunc","yfunc","x","y","tempx","tempy","z","sqrt","compareIndexPositions","posA","posB","newIndices","sort","uniqueVertexIndex","a2","b2","c2","temp","compareEdges","e1","e2","sameEdgeCount","toArrayBuffer","buf","ArrayBuffer","view","isString","o","o2","utils","pako","XKT_VERSION","NUM_TEXTURE_ATTRIBUTES","NUM_MATERIAL_ATTRIBUTES","writeXKTModelToArrayBuffer","xktModel","metaModelJSON","stats","options","zip","writeXKTModelToArrayBufferUncompressed","data","getModelData","deflatedData","deflateData","texturesSize","textureData","byteLength","arrayBuffer","createArrayBuffer","object2Array","encoder","TextEncoder","JSON","stringify","arrays","metadata","eachTextureDataPortion","eachTextureAttributes","eachTextureSetTextures","matrices","eachGeometryPrimitiveType","eachGeometryPositionsPortion","eachGeometryNormalsPortion","eachGeometryColorsPortion","eachGeometryUVsPortion","eachGeometryIndicesPortion","eachGeometryEdgeIndicesPortion","eachMeshGeometriesPortion","eachMeshMatricesPortion","eachMeshTextureSet","eachMeshMaterialAttributes","eachEntityId","eachEntityMeshesPortion","eachTileAABB","eachTileEntitiesPortion","arraysCnt","dataView","DataView","setUint32","byteOffset","offsets","arr","BPE","BYTES_PER_ELEMENT","ceil","idx","dataArray","buffer","requiresSwapToLittleEndian","subarray","swaps","cnt","offset","i1","i2","tmp","metaModelDataStr","numPropertySets","numMetaObjects","numTextures","numTextureSets","numMeshes","numEntities","numTiles","lenColors","lenUVs","lenIndices","lenEdgeIndices","lenMatrices","lenTextures","xktTexture","numCompressedTextures","Int32Array","countPositions","countNormals","countColors","countUVs","countIndices","countEdgeIndices","id","propertySetsIndex","propertySetJSON","metaObjectsIndex","metaObjectJSON","parent","external","portionIdx","textureAttrIdx","eachTextureSetTexturesIndex","countEntityMeshesPortion","eachMeshMaterialAttributesIndex","matricesIndex","tileIndex","tileEntities","numTileEntities","entityMeshes","numEntityMeshes","tileAABBIndex","deflate","metaModelBytes","deflatedJSON","deflateJSON","replace","chr","charCodeAt","toString","substr","strings","elements","indexData","dataLen","element","elementsize","indexBuf","ClampToEdgeWrapping","MirroredRepeatWrapping","NearestFilter","NearestMipMapNearestFilter","NearestMipmapNearestFilter","NearestMipmapLinearFilter","NearestMipMapLinearFilter","LinearFilter","LinearMipmapNearestFilter","LinearMipmapLinearFilter","LinearMipMapLinearFilter","GIFMediaType","JPEGMediaType","PNGMediaType","parseCityJSONIntoXKTModel","parseGLTFIntoXKTModel","parseIFCIntoXKTModel","parseLASIntoXKTModel","parsePCDIntoXKTModel","parsePLYIntoXKTModel","parseSTLIntoXKTModel","fs","require","path","convert2xkt","_ref","WebIFC","_ref$configs","configs","source","sourceData","sourceFormat","metaModelSource","output","outputXKTModel","outputXKT","includeTypes","excludeTypes","_ref$reuseGeometries","reuseGeometries","_ref$minTileSize","_ref$stats","outputStats","_ref$rotateX","rotateX","_ref$includeTextures","includeTextures","_ref$includeNormals","includeNormals","_ref$zip","_ref$log","msg","schemaVersion","title","created","numTriangles","numVertices","numNormals","numUVs","numObjects","sourceSize","xktSize","compressionRatio","conversionTime","getFileExtension","fileName","ext","extname","substring","_log","startTime","Date","sourceConfigs","fileTypeConfigs","overrideOption","option1","option2","readFileSync","sourceFileSizeBytes","toFixed","parse","e","convert","center","transform","metaModelData","gltfBasePath","dirname","baseUri","wasmPath","fp64","colorDepth","skip","parser","converterParams","xktArrayBuffer","xktContent","Buffer","from","targetFileSizeBytes","outputDir","existsSync","mkdirSync","recursive","writeFileSync","buildBoxGeometry","xSize","ySize","zSize","centerX","centerY","centerZ","xmax","ymax","zmax","buildBoxLinesGeometry","buildCylinderGeometry","radiusTop","radiusBottom","radialSegments","heightSegments","openEnded","heightHalf","heightLength","radialAngle","PI","radialLength","radiusChange","h","currentRadius","currentHeight","first","second","startIndex","tu","tv","normalY","atan","sin","buildGridGeometry","size","divisions","step","halfSize","l","buildPlaneGeometry","xSegments","zSegments","halfWidth","halfHeight","planeX","planeZ","planeX1","planeZ1","segmentWidth","segmentHeight","offset2","iz","ix","d","buildSphereGeometry","lod","radius","widthSegments","theta","sinTheta","cosTheta","phi","sinPhi","cosPhi","u","v","buildTorusGeometry","tube","tubeSegments","arc","vec","letters","buildVectorTextGeometry","origin","xOrigin","yOrigin","zOrigin","text","trim","countVerts","str","mag","penUp","p1","p2","needLine","pointsLen","iLine","parseGLTFJSONIntoXKTModel","parseMetaModelIntoXKTModel","earcut","holeIndices","hasHoles","outerLen","outerNode","linkedList","minX","minY","maxX","maxY","invSize","eliminateHoles","earcutLinked","start","end","clockwise","last","signedArea","insertNode","equals","removeNode","filterPoints","again","steiner","area","ear","pass","indexCurve","isEarHashed","isEar","cureLocalIntersections","splitEarcut","pointInTriangle","minTX","minTY","maxTX","maxTY","minZ","zOrder","maxZ","prevZ","n","nextZ","intersects","locallyInside","isValidDiagonal","splitPolygon","queue","list","getLeftmost","compareX","eliminateHole","hole","findHoleBridge","hx","hy","qx","Infinity","m","mx","my","tanMin","tan","sectorContainsSector","sortLinked","tail","numMerges","pSize","qSize","inSize","leftmost","ax","ay","bx","by","cx","cy","px","py","intersectsPolygon","middleInside","r","q1","q2","o1","sign","o3","o4","onSegment","inside","Node","an","bp","deviation","polygonArea","trianglesArea","sum","flatten","vertices","holes","dimensions","holeIndex","faceToVertexNormals","smoothNormalsAngleThreshold","vertexMap","vertexNormals","vertexNormalAccum","acc","posi","numVerts","ii","jj","angle","angleVec3","doublePrecision","FloatArrayType","tempMat1","tempMat2","tempVec4","MIN_DOUBLE","MAX_SAFE_INTEGER","MAX_DOUBLE","RADTODEG","vec2","mat3","mat3ToMat4","mat4ToMat3","lut","d0","random","d1","d2","d3","clamp","fmod","negateVec4","dest","addVec4","addVec4Scalar","s","addVec3","addVec3Scalar","subVec4","subVec2","subVec4Scalar","subScalarVec4","mulVec4","mulVec4Scalar","mulVec2Scalar","divVec3","divVec4","divScalarVec3","divVec3Scalar","divVec4Scalar","divScalarVec4","dotVec4","cross3Vec4","u0","u1","u2","v0","v1","v2","x2","y2","z2","sqLenVec4","lenVec4","dotVec2","sqLenVec3","sqLenVec2","lenVec3","distVec3","w","lenVec2","distVec2","rcpVec3","normalizeVec4","f","normalizeVec2","acos","vec3FromMat4Scale","tempVec3","vecToArray","trunc","xyzArrayToObject","xyzObjectToArray","xyz","arry","dupMat4","mat4To3","m4s","setMat4ToZeroes","setMat4ToOnes","diagonalMat4v","diagonalMat4c","diagonalMat4s","mat","identityMat3","negateMat4","addMat4","addMat4Scalar","addScalarMat4","subMat4","subMat4Scalar","subScalarMat4","a00","a01","a02","a03","a10","a11","a12","a13","a20","a21","a22","a23","a30","a31","a32","a33","b00","b01","b02","b03","b10","b11","b12","b13","b20","b21","b22","b23","b30","b31","b32","b33","mulMat3","mulMat4Scalar","mulMat4v4","v3","m4","m14","m8","m13","m12","m9","transposeMat3","determinantMat4","b04","b05","b06","b07","b08","b09","invDet","traceMat4","translationMat3v","translationMat4c","translationMat4s","translateMat4c","OLDtranslateMat4c","m15","m3","m7","m11","rotationMat4v","anglerad","axis","xy","yz","zx","xs","ys","zs","rotationMat4c","scalingMat3v","scalingMat4c","scaleMat4c","scaleMat4v","scalingMat4s","rotationTranslationMat4","xx","xz","yy","zz","wx","wy","wz","mat4ToEuler","order","m21","m22","m23","m31","m32","m33","asin","atan2","quaternionToRotationMat4","decomposeMat4","decompose","sx","sy","sz","det","invSX","invSY","invSZ","mat4ToQuaternion","lookAtMat4v","pos","up","posx","posy","posz","upx","upy","upz","targetx","targety","targetz","z0","z1","x0","x1","y0","y1","lookAtMat4c","orthoMat4c","bottom","top","near","far","rl","tb","frustumMat4v","fmin","fmax","fmin4","fmax4","t","tempMat20","tempMat21","tempMat22","frustumMat4","perspectiveMat4","fovyrad","aspectratio","znear","zfar","pmin","pmax","transformPoint3","transformPoints3","points2","p0","pi","m0","m1","m2","m5","m6","m10","transformPositions3","transformPositions4","transformVec4","rotateVec3X","rotateVec3Y","rotateVec3Z","projectVec4","unprojectVec3","mat2","viewMat","projMat","lerpVec3","t1","t2","item","euler","c1","c3","s1","s2","s3","trace","vec3PairToQuaternion","norm_u_norm_v","real_part","normalizeQuaternion","angleAxisToQuaternion","angleAxis","halfAngle","fsin","quaternionToEuler","mulQuaternions","p3","q0","q3","vec3ApplyQuaternion","qy","qz","qw","iy","iw","quaternionToMat4","tx","ty","tz","twx","twy","twz","txx","txy","txz","tyy","tyz","tzz","conjugateQuaternion","inverseQuaternion","quaternionToAngleAxis","AABB2","OBB3","OBB2","Sphere3","transformOBB3","aabb1","aabb2","getAABB3DiagPoint","diagVec","xneg","xpos","yneg","ypos","zneg","zpos","getAABB2Center","AABB3ToOBB3","obb","positions3ToAABB3","OBB3ToAABB3","points3ToAABB3","points3ToSphere3","sphere","numPoints","dist","positions3ToSphere3","tempVec3b","numPositions","OBB3ToSphere3","point","lenPoints","getSphere3Center","triangleNormal","p1x","p1y","p1z","p2x","p2y","p2z","p3x","p3y","p3z","uvi","tempVec2a","tempVec3c","_ref$center","_ref$transform","copyVertices","transformVertices","centerVertices","customTransformVertices","version","rootMetaObjectId","modelMetaObjectId","ctx","nextId","parseCityJSON","vertices2","cityJSONTransform","vertex","centerPos","cityObjects","CityObjects","objectId","cityObject","parseCityObject","parents","objectMaterial","surfaceMaterials","appearance","materials","geometryMaterial","material","themeIds","themeId","theme","surfaceMaterial","parseGeometrySurfacesWithOwnMaterials","parseGeometrySurfacesWithSharedMaterial","geomType","surfaces","boundaries","parseSurfacesWithOwnMaterials","shells","solids","surface","diffuseColor","transparency","sharedIndices","geometryCfg","newFace","extractLocalIndices","_toConsumableArray","pList","getNormalOfPositions","pv","to2D","unshift","tr","parseSurfacesWithSharedMaterial","primitiveCfg","boundary","newBoundary","index","includes","vertexIndex","indexOf","nexti","_p","_n","re","x3","tmp2","y3","GLTFLoader","getAttachment","gltfData","nodesHaveNames","geometryCreated","parseTextures","parseMaterials","parseDefaultScene","errMsg","parseTexture","sampler","flipY","_textureId","_textureSetId","parseTextureSet","_attributes","parseMaterialAttributes","textureSetCfg","normalTexture","normalTextureId","metallicPBR","pbrMetallicRoughness","baseColorTexture","extensions","specularPBR","specularTexture","specularColorTexture","materialAttributes","diffuseFactor","common","technique","blinn","phong","lambert","diffuse","transparent","baseColorFactor","metallicFactor","roughnessFactor","scene","scenes","parseScene","nodes","node","countMeshUsage","testIfNodesHaveNames","parseNodesWithoutNames","parseNodesWithNames","level","instances","children","childNode","depth","parseNodeMatrix","parseNodeMesh","objectIdStack","meshIdsStack","xktEntityId","nodeName","entityMeshIds","localMatrix","translation","numPrimitives","primitives","primitive","_xktGeometryId","xktGeometryId","mode","POSITION","attributes","NORMAL","COLOR_0","TEXCOORD_0","xktMeshId","meshCfg","atob2","atob","WEBGL_COMPONENT_TYPES","Int16Array","WEBGL_TYPE_SIZES","gltf","metaModelCorrections","getMetaModelCorrections","createXKTGeometryIds","nextMeshId","parseBuffers","parseBufferViews","freeBuffers","eachRootStats","eachChildRoot","metaObjectsMap","metaObjectParent","rootMetaObject","rootStats","numChildren","countChildren","buffers","all","map","parseBuffer","bufferInfo","_arrayBuffer","_buffer","uri","parseArrayBuffer","dataUriRegex","dataUriRegexResult","match","isBase64","decodeURIComponent","bufferViewsInfo","bufferViews","parseBufferView","bufferViewInfo","_typedArray","materialsInfo","materialInfo","parseMaterial","_materialData","defaultSceneInfo","sceneInfo","glTFNode","parseNode","deferredMeshIds","gltfMeshId","meshInfo","numPrimitivesInMesh","primitiveInfo","geometryHash","createPrimitiveGeometryHash","geometryArrays","parsePrimitiveGeometry","childNodeIdx","childGLTFNode","rootMetaObjectStats","join","accessors","indicesIndex","accessorInfo","parseAccessorTypedArray","positionsIndex","normalsIndex","colorsIndex","bufferView","itemSize","TypedArray","componentType","elementBytes","itemBytes","byteStride","count","_ref$autoNormals","autoNormals","ifcAPI","IfcAPI","SetWasmPath","Init","modelID","OpenModel","GetLineIDsWithType","IFCPROJECT","ifcProjectId","ifcProject","GetLine","parseMetadata","parseGeometry","parsePropertySets","IFCRELDEFINESBYPROPERTIES","relID","rel","relatingPropertyDefinition","RelatingPropertyDefinition","GlobalId","relatedObjects","RelatedObjects","relatedObject","HasProperties","Name","prop","nominalValue","NominalValue","property","valueType","Description","description","parseSpatialChildren","ifcElement","parseRelatedItemsOfType","expressID","IFCRELAGGREGATES","IFCRELCONTAINEDINSPATIALSTRUCTURE","relation","related","relatedItems","foundElement","isArray","element2","flatMeshes","LoadAllGeometry","flatMesh","createObject","IFCSPACE","ifcSpaceId","GetFlatMesh","flatMeshExpressID","placedGeometries","placedGeometry","geometryExpressID","GetGeometry","vertexData","GetVertexArray","GetVertexData","GetVertexDataSize","GetIndexArray","GetIndexData","GetIndexDataSize","flatTransformation","LASLoader","MAX_VERTICES","_ref$colorDepth","_ref$fp","_ref$skip","las","parsedData","loaderData","pointsFormatId","readAttributes","intensity","readIntensities","readColorsAndIntensities","pointsChunks","chunkArray","readPositions","colorsChunks","positionsValue","attributesPosition","attributesColor","attributesIntensity","colorSize","intensities","colorsCompressedSize","chunkSize","includeTypesMap","excludeTypesMap","newObject","countMetaObjects","_ref$littleEndian","littleEndian","textData","decodeText","header","parseHeader","headerLen","line","parseFloat","rgb","g","sizes","compressedSize","decompressedSize","decompressed","decompressLZF","dataview","getFloat32","getUint8","row","rowSize","result1","search","result2","exec","fields","viewpoint","parseInt","sizeSum","TextDecoder","decode","il","fromCharCode","escape","inData","outLength","inLength","outData","inPtr","outPtr","ctrl","ref","PLYLoader","_x","_parsePLYIntoXKTModel","hasColors","colorsValue","t0","_parseSTLIntoXKTModel","splitMeshes","smoothNormals","binData","ensureBinary","isBinary","parseBinary","parseASCII","ensureString","reader","getUint32","faceSize","numExpectedBytes","defaultR","defaultG","defaultB","lastR","lastG","lastB","newMesh","alpha","dataOffset","faceLength","normalX","normalZ","packedColor","getUint16","vertexstart","addMesh","faceRegex","faceCounter","floatRegex","vertexRegex","RegExp","normalRegex","normalx","normaly","normalz","verticesPerFace","normalsPerFace","nextGeometryId","ni","installFilePolyfills"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/xeokit-convert.es.js b/dist/xeokit-convert.es.js index 5f206ba..3cae582 100644 --- a/dist/xeokit-convert.es.js +++ b/dist/xeokit-convert.es.js @@ -15,7 +15,7 @@ const XKT_INFO = { * @property xktVersion * @type {number} */ - xktVersion: 10 + xktVersion: 11 }; /*---------------------------------------------------------------------------------------------------------------------- @@ -16854,6 +16854,9 @@ const NUM_MATERIAL_ATTRIBUTES = 6; * @returns {ArrayBuffer} The {@link ArrayBuffer}. */ function writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, options) { + if (! options.zip) { + return writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats); + } const data = getModelData(xktModel, metaModelJSON, stats); const deflatedData = deflateData(data, metaModelJSON, options); stats.texturesSize += deflatedData.textureData.byteLength; @@ -16861,6 +16864,107 @@ function writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, options) { return arrayBuffer; } +// V11 +function writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats) { + const data = getModelData(xktModel, metaModelJSON, stats); + stats.texturesSize += data.textureData.byteLength; + + const object2Array = (function() { + const encoder = new TextEncoder(); + return obj => encoder.encode(JSON.stringify(obj)); + })(); + + const arrays = [ + object2Array(metaModelJSON || data.metadata), + data.textureData, + data.eachTextureDataPortion, + data.eachTextureAttributes, + data.positions, + data.normals, + data.colors, + data.uvs, + data.indices, + data.edgeIndices, + data.eachTextureSetTextures, + data.matrices, + data.reusedGeometriesDecodeMatrix, + data.eachGeometryPrimitiveType, + data.eachGeometryPositionsPortion, + data.eachGeometryNormalsPortion, + data.eachGeometryColorsPortion, + data.eachGeometryUVsPortion, + data.eachGeometryIndicesPortion, + data.eachGeometryEdgeIndicesPortion, + data.eachMeshGeometriesPortion, + data.eachMeshMatricesPortion, + data.eachMeshTextureSet, + data.eachMeshMaterialAttributes, + object2Array(data.eachEntityId), + data.eachEntityMeshesPortion, + data.eachTileAABB, + data.eachTileEntitiesPortion + ]; + + const arraysCnt = arrays.length; + const dataView = new DataView(new ArrayBuffer((1 + 2 * arraysCnt) * 4)); + + dataView.setUint32(0, XKT_VERSION, true); + + let byteOffset = dataView.byteLength; + const offsets = [ ]; + + // Store arrays' offsets and lengths + for (let i = 0; i < arraysCnt; i++) { + const arr = arrays[i]; + const BPE = arr.BYTES_PER_ELEMENT; + // align to BPE, so the arrayBuffer can be used for a typed array + byteOffset = Math.ceil(byteOffset / BPE) * BPE; + const byteLength = arr.byteLength; + + const idx = 1 + 2 * i; + dataView.setUint32(idx * 4, byteOffset, true); + dataView.setUint32((idx + 1) * 4, byteLength, true); + + offsets.push(byteOffset); + byteOffset += byteLength; + } + + const dataArray = new Uint8Array(byteOffset); + dataArray.set(new Uint8Array(dataView.buffer), 0); + + const requiresSwapToLittleEndian = (function() { + const buffer = new ArrayBuffer(2); + new Uint16Array(buffer)[0] = 1; + return new Uint8Array(buffer)[0] !== 1; + })(); + + // Store arrays themselves + for (let i = 0; i < arraysCnt; i++) { + const arr = arrays[i]; + const subarray = new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength); + + const BPE = arr.BYTES_PER_ELEMENT; + if (requiresSwapToLittleEndian && (BPE > 1)) { + const swaps = BPE / 2; + const cnt = subarray.length / BPE; + for (let b = 0; b < cnt; b++) { + const offset = b * BPE; + for (let j = 0; j < swaps; j++) { + const i1 = offset + j; + const i2 = offset - j + BPE - 1; + const tmp = subarray[i1]; + subarray[i1] = subarray[i2]; + subarray[i2] = tmp; + } + } + } + + dataArray.set(subarray, offsets[i]); + } + + return dataArray.buffer; +} + function getModelData(xktModel, metaModelDataStr, stats) { //------------------------------------------------------------------------------------------------------------------ @@ -17276,7 +17380,7 @@ function createArrayBuffer(deflatedData) { function toArrayBuffer(elements) { const indexData = new Uint32Array(elements.length + 2); - indexData[0] = XKT_VERSION; + indexData[0] = 10; // XKT_VERSION for legacy v10 mode indexData [1] = elements.length; // Stored Data 1.1: number of stored elements let dataLen = 0; // Stored Data 1.2: length of stored elements for (let i = 0, len = elements.length; i < len; i++) { @@ -23374,7 +23478,7 @@ function parseGLTFIntoXKTModel({ const ctx = { gltfData, - metaModelCorrections: metaModelData, + nodesHaveNames: false, // determined in testIfNodesHaveNames() getAttachment: getAttachment || (() => { throw new Error('You must define getAttachment() method to convert glTF with external resources') }), @@ -23538,23 +23642,6 @@ function parseTextureSet(ctx, material) { if (material.emissiveTexture) { textureSetCfg.emissiveTextureId = material.emissiveTexture.texture._textureId; } - // const alphaMode = material.alphaMode; - // switch (alphaMode) { - // case "NORMAL_OPAQUE": - // materialCfg.alphaMode = "opaque"; - // break; - // case "MASK": - // materialCfg.alphaMode = "mask"; - // break; - // case "BLEND": - // materialCfg.alphaMode = "blend"; - // break; - // default: - // } - // const alphaCutoff = material.alphaCutoff; - // if (alphaCutoff !== undefined) { - // materialCfg.alphaCutoff = alphaCutoff; - // } const metallicPBR = material.pbrMetallicRoughness; if (material.pbrMetallicRoughness) { const pbrMetallicRoughness = material.pbrMetallicRoughness; @@ -23673,13 +23760,30 @@ function parseScene$1(ctx, scene) { const node = nodes[i]; countMeshUsage(ctx, node); } - for (let i = 0, len = nodes.length; i < len; i++) { + for (let i = 0, len = nodes.length; i < len && !ctx.nodesHaveNames; i++) { const node = nodes[i]; - parseNode$1(ctx, node, 0, null); + if (testIfNodesHaveNames(node)) { + ctx.nodesHaveNames = true; + } + } + if (!ctx.nodesHaveNames) { + ctx.log(`Warning: No "name" attributes found on glTF scene nodes - objects in XKT may not be what you expect`); + for (let i = 0, len = nodes.length; i < len; i++) { + const node = nodes[i]; + parseNodesWithoutNames(ctx, node, 0, null); + } + } else { + for (let i = 0, len = nodes.length; i < len; i++) { + const node = nodes[i]; + parseNodesWithNames(ctx, node, 0, null); + } } } -function countMeshUsage(ctx, node) { +function countMeshUsage(ctx, node, level=0) { + if (!node) { + return; + } const mesh = node.mesh; if (mesh) { mesh.instances = mesh.instances ? mesh.instances + 1 : 1; @@ -23692,22 +23796,140 @@ function countMeshUsage(ctx, node) { ctx.error("Node not found: " + i); continue; } - countMeshUsage(ctx, childNode); + countMeshUsage(ctx, childNode, level+1); } } } -const objectIdStack = []; -const meshIdsStack = []; +function testIfNodesHaveNames(node, level=0) { + if (!node) { + return; + } + if (node.name) { + return true; + } + if (node.children) { + const children = node.children; + for (let i = 0, len = children.length; i < len; i++) { + const childNode = children[i]; + if (testIfNodesHaveNames(childNode, level+1)) { + return true; + } + } + } + return false; +} -let meshIds = null; +/** + * Parses a glTF node hierarchy that is known to NOT contain "name" attributes on the nodes. + * Create a XKTMesh for each mesh primitive, and a single XKTEntity. + */ +const parseNodesWithoutNames = (function () { -function parseNode$1(ctx, node, depth, matrix) { + const meshIds = []; - const xktModel = ctx.xktModel; + return function (ctx, node, depth, matrix) { + if (!node) { + return; + } + matrix = parseNodeMatrix(node, matrix); + if (node.mesh) { + parseNodeMesh(node, ctx, matrix, meshIds); + } + if (node.children) { + const children = node.children; + for (let i = 0, len = children.length; i < len; i++) { + const childNode = children[i]; + parseNodesWithoutNames(ctx, childNode, depth + 1, matrix); + } + } + if (depth === 0) { + let entityId = "entity-" + ctx.nextId++; + if (meshIds && meshIds.length > 0) { + ctx.log("Creating XKTEntity with default ID: " + entityId); + ctx.xktModel.createEntity({ + entityId, + meshIds + }); + meshIds.length = 0; + } + ctx.stats.numObjects++; + } + } +})(); + + +/** + * Parses a glTF node hierarchy that is known to contain "name" attributes on the nodes. + * + * Create a XKTMesh for each mesh primitive, and XKTEntity for each named node. + * + * Following a depth-first traversal, each XKTEntity is created on post-visit of each named node, + * and gets all the XKTMeshes created since the last XKTEntity created. + */ +const parseNodesWithNames = (function () { + + const objectIdStack = []; + const meshIdsStack = []; + let meshIds = null; - // Pre-order visit scene node + return function (ctx, node, depth, matrix) { + if (!node) { + return; + } + matrix = parseNodeMatrix(node, matrix); + if (node.name) { + meshIds = []; + let xktEntityId = node.name; + if (!!xktEntityId && ctx.xktModel.entities[xktEntityId]) { + ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`); + } + while (!xktEntityId || ctx.xktModel.entities[xktEntityId]) { + xktEntityId = "entity-" + ctx.nextId++; + } + objectIdStack.push(xktEntityId); + meshIdsStack.push(meshIds); + } + if (meshIds && node.mesh) { + parseNodeMesh(node, ctx, matrix, meshIds); + } + if (node.children) { + const children = node.children; + for (let i = 0, len = children.length; i < len; i++) { + const childNode = children[i]; + parseNodesWithNames(ctx, childNode, depth + 1, matrix); + } + } + const nodeName = node.name; + if ((nodeName !== undefined && nodeName !== null) || depth === 0) { + let xktEntityId = objectIdStack.pop(); + if (!xktEntityId) { // For when there are no nodes with names + xktEntityId = "entity-" + ctx.nextId++; + } + let entityMeshIds = meshIdsStack.pop(); + if (meshIds && meshIds.length > 0) { + ctx.xktModel.createEntity({ + entityId: xktEntityId, + meshIds: entityMeshIds + }); + } + ctx.stats.numObjects++; + meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null; + } + } +})(); +/** + * Parses transform at the given glTF node. + * + * @param node the glTF node + * @param matrix Transfor matrix from parent nodes + * @returns {*} Transform matrix for the node + */ +function parseNodeMatrix(node, matrix) { + if (!node) { + return; + } let localMatrix; if (node.matrix) { localMatrix = node.matrix; @@ -23741,27 +23963,29 @@ function parseNode$1(ctx, node, depth, matrix) { matrix = localMatrix; } } + return matrix; +} - if (node.name) { - meshIds = []; - let xktEntityId = node.name; - if (!!xktEntityId && xktModel.entities[xktEntityId]) { - ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`); - } - while (!xktEntityId || xktModel.entities[xktEntityId]) { - xktEntityId = "entity-" + ctx.nextId++; - } - objectIdStack.push(xktEntityId); - meshIdsStack.push(meshIds); +/** + * Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel. + * + * @param node glTF node + * @param ctx Parsing context + * @param matrix Matrix for the XKTMeshes + * @param meshIds returns IDs of the new XKTMeshes + */ +function parseNodeMesh(node, ctx, matrix, meshIds) { + if (!node) { + return; } - - if (meshIds && node.mesh) { - - const mesh = node.mesh; - const numPrimitives = mesh.primitives.length; - - if (numPrimitives > 0) { - for (let i = 0; i < numPrimitives; i++) { + const mesh = node.mesh; + if (!mesh) { + return; + } + const numPrimitives = mesh.primitives.length; + if (numPrimitives > 0) { + for (let i = 0; i < numPrimitives; i++) { + try { const primitive = mesh.primitives[i]; if (!primitive._xktGeometryId) { const xktGeometryId = "geometry-" + ctx.nextId++; @@ -23820,11 +24044,10 @@ function parseNode$1(ctx, node, depth, matrix) { ctx.stats.numTriangles += geometryCfg.indices.length / 3; } } - xktModel.createGeometry(geometryCfg); + ctx.xktModel.createGeometry(geometryCfg); primitive._xktGeometryId = xktGeometryId; ctx.stats.numGeometries++; } - const xktMeshId = ctx.nextId++; const meshCfg = { meshId: xktMeshId, @@ -23842,43 +24065,13 @@ function parseNode$1(ctx, node, depth, matrix) { meshCfg.color = [1.0, 1.0, 1.0]; meshCfg.opacity = 1.0; } - xktModel.createMesh(meshCfg); + ctx.xktModel.createMesh(meshCfg); meshIds.push(xktMeshId); + } catch (e) { + console.log(e); } } } - - // Visit child scene nodes - - if (node.children) { - const children = node.children; - for (let i = 0, len = children.length; i < len; i++) { - const childNode = children[i]; - parseNode$1(ctx, childNode, depth + 1, matrix); - } - } - - // Post-order visit scene node - - const nodeName = node.name; - if ((nodeName !== undefined && nodeName !== null) || depth === 0) { - if (nodeName === undefined || nodeName === null) { - ctx.log(`Warning: 'name' properties not found on glTF scene nodes - will randomly-generate object IDs in XKT`); - } - let xktEntityId = objectIdStack.pop(); - if (!xktEntityId) { // For when there are no nodes with names - xktEntityId = "entity-" + ctx.nextId++; - } - let entityMeshIds = meshIdsStack.pop(); - if (meshIds && meshIds.length > 0) { - xktModel.createEntity({ - entityId: xktEntityId, - meshIds: entityMeshIds - }); - } - ctx.stats.numObjects++; - meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null; - } } const atob2 = (typeof atob !== 'undefined') ? atob : a => Buffer.from(a, 'base64').toString('binary'); diff --git a/docs/ast/source/XKTModel/XKTModel.js.json b/docs/ast/source/XKTModel/XKTModel.js.json index c8873c3..5b1ad65 100644 --- a/docs/ast/source/XKTModel/XKTModel.js.json +++ b/docs/ast/source/XKTModel/XKTModel.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 57528, + "end": 58181, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 1538, + "line": 1539, "column": 1 } }, "program": { "type": "Program", "start": 0, - "end": 57528, + "end": 58181, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 1538, + "line": 1539, "column": 1 } }, @@ -4452,14 +4452,14 @@ { "type": "Identifier", "start": 2963, - "end": 57503, + "end": 58156, "loc": { "start": { "line": 87, "column": 0 }, "end": { - "line": 1534, + "line": 1535, "column": 1 } }, @@ -4485,14 +4485,14 @@ "body": { "type": "ClassBody", "start": 2978, - "end": 57503, + "end": 58156, "loc": { "start": { "line": 87, "column": 15 }, "end": { - "line": 1534, + "line": 1535, "column": 1 } }, @@ -9299,7 +9299,7 @@ { "type": "ClassMethod", "start": 12386, - "end": 13649, + "end": 13736, "loc": { "start": { "line": 391, @@ -9357,7 +9357,7 @@ "body": { "type": "BlockStatement", "start": 12412, - "end": 13649, + "end": 13736, "loc": { "start": { "line": 391, @@ -9372,7 +9372,7 @@ { "type": "IfStatement", "start": 12423, - "end": 12496, + "end": 12525, "loc": { "start": { "line": 393, @@ -9423,7 +9423,7 @@ "consequent": { "type": "BlockStatement", "start": 12436, - "end": 12496, + "end": 12525, "loc": { "start": { "line": 393, @@ -9438,7 +9438,7 @@ { "type": "ThrowStatement", "start": 12450, - "end": 12486, + "end": 12515, "loc": { "start": { "line": 394, @@ -9446,13 +9446,13 @@ }, "end": { "line": 394, - "column": 48 + "column": 77 } }, "argument": { "type": "StringLiteral", "start": 12456, - "end": 12485, + "end": 12514, "loc": { "start": { "line": 394, @@ -9460,14 +9460,14 @@ }, "end": { "line": 394, - "column": 47 + "column": 76 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createPropertySet] Parameters expected: params", + "raw": "\"[XKTModel.createPropertySet] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createPropertySet] Parameters expected: params" } } ], @@ -9477,8 +9477,8 @@ }, { "type": "IfStatement", - "start": 12506, - "end": 12652, + "start": 12535, + "end": 12710, "loc": { "start": { "line": 397, @@ -9491,8 +9491,8 @@ }, "test": { "type": "LogicalExpression", - "start": 12510, - "end": 12577, + "start": 12539, + "end": 12606, "loc": { "start": { "line": 397, @@ -9505,8 +9505,8 @@ }, "left": { "type": "BinaryExpression", - "start": 12510, - "end": 12539, + "start": 12539, + "end": 12568, "loc": { "start": { "line": 397, @@ -9519,8 +9519,8 @@ }, "left": { "type": "MemberExpression", - "start": 12510, - "end": 12530, + "start": 12539, + "end": 12559, "loc": { "start": { "line": 397, @@ -9533,8 +9533,8 @@ }, "object": { "type": "Identifier", - "start": 12510, - "end": 12516, + "start": 12539, + "end": 12545, "loc": { "start": { "line": 397, @@ -9550,8 +9550,8 @@ }, "property": { "type": "Identifier", - "start": 12517, - "end": 12530, + "start": 12546, + "end": 12559, "loc": { "start": { "line": 397, @@ -9570,8 +9570,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 12535, - "end": 12539, + "start": 12564, + "end": 12568, "loc": { "start": { "line": 397, @@ -9587,8 +9587,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 12543, - "end": 12577, + "start": 12572, + "end": 12606, "loc": { "start": { "line": 397, @@ -9601,8 +9601,8 @@ }, "left": { "type": "MemberExpression", - "start": 12543, - "end": 12563, + "start": 12572, + "end": 12592, "loc": { "start": { "line": 397, @@ -9615,8 +9615,8 @@ }, "object": { "type": "Identifier", - "start": 12543, - "end": 12549, + "start": 12572, + "end": 12578, "loc": { "start": { "line": 397, @@ -9632,8 +9632,8 @@ }, "property": { "type": "Identifier", - "start": 12550, - "end": 12563, + "start": 12579, + "end": 12592, "loc": { "start": { "line": 397, @@ -9652,8 +9652,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 12568, - "end": 12577, + "start": 12597, + "end": 12606, "loc": { "start": { "line": 397, @@ -9671,8 +9671,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 12579, - "end": 12652, + "start": 12608, + "end": 12710, "loc": { "start": { "line": 397, @@ -9686,8 +9686,8 @@ "body": [ { "type": "ThrowStatement", - "start": 12593, - "end": 12642, + "start": 12622, + "end": 12700, "loc": { "start": { "line": 398, @@ -9695,13 +9695,13 @@ }, "end": { "line": 398, - "column": 61 + "column": 90 } }, "argument": { "type": "StringLiteral", - "start": 12599, - "end": 12641, + "start": 12628, + "end": 12699, "loc": { "start": { "line": 398, @@ -9709,14 +9709,14 @@ }, "end": { "line": 398, - "column": 60 + "column": 89 } }, "extra": { - "rawValue": "Parameter expected: params.propertySetId", - "raw": "\"Parameter expected: params.propertySetId\"" + "rawValue": "[XKTModel.createPropertySet] Parameter expected: params.propertySetId", + "raw": "\"[XKTModel.createPropertySet] Parameter expected: params.propertySetId\"" }, - "value": "Parameter expected: params.propertySetId" + "value": "[XKTModel.createPropertySet] Parameter expected: params.propertySetId" } } ], @@ -9726,8 +9726,8 @@ }, { "type": "IfStatement", - "start": 12662, - "end": 12799, + "start": 12720, + "end": 12886, "loc": { "start": { "line": 401, @@ -9740,8 +9740,8 @@ }, "test": { "type": "LogicalExpression", - "start": 12666, - "end": 12727, + "start": 12724, + "end": 12785, "loc": { "start": { "line": 401, @@ -9754,8 +9754,8 @@ }, "left": { "type": "BinaryExpression", - "start": 12666, - "end": 12692, + "start": 12724, + "end": 12750, "loc": { "start": { "line": 401, @@ -9768,8 +9768,8 @@ }, "left": { "type": "MemberExpression", - "start": 12666, - "end": 12683, + "start": 12724, + "end": 12741, "loc": { "start": { "line": 401, @@ -9782,8 +9782,8 @@ }, "object": { "type": "Identifier", - "start": 12666, - "end": 12672, + "start": 12724, + "end": 12730, "loc": { "start": { "line": 401, @@ -9799,8 +9799,8 @@ }, "property": { "type": "Identifier", - "start": 12673, - "end": 12683, + "start": 12731, + "end": 12741, "loc": { "start": { "line": 401, @@ -9819,8 +9819,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 12688, - "end": 12692, + "start": 12746, + "end": 12750, "loc": { "start": { "line": 401, @@ -9836,8 +9836,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 12696, - "end": 12727, + "start": 12754, + "end": 12785, "loc": { "start": { "line": 401, @@ -9850,8 +9850,8 @@ }, "left": { "type": "MemberExpression", - "start": 12696, - "end": 12713, + "start": 12754, + "end": 12771, "loc": { "start": { "line": 401, @@ -9864,8 +9864,8 @@ }, "object": { "type": "Identifier", - "start": 12696, - "end": 12702, + "start": 12754, + "end": 12760, "loc": { "start": { "line": 401, @@ -9881,8 +9881,8 @@ }, "property": { "type": "Identifier", - "start": 12703, - "end": 12713, + "start": 12761, + "end": 12771, "loc": { "start": { "line": 401, @@ -9901,8 +9901,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 12718, - "end": 12727, + "start": 12776, + "end": 12785, "loc": { "start": { "line": 401, @@ -9920,8 +9920,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 12729, - "end": 12799, + "start": 12787, + "end": 12886, "loc": { "start": { "line": 401, @@ -9935,8 +9935,8 @@ "body": [ { "type": "ThrowStatement", - "start": 12743, - "end": 12789, + "start": 12801, + "end": 12876, "loc": { "start": { "line": 402, @@ -9944,13 +9944,13 @@ }, "end": { "line": 402, - "column": 58 + "column": 87 } }, "argument": { "type": "StringLiteral", - "start": 12749, - "end": 12788, + "start": 12807, + "end": 12875, "loc": { "start": { "line": 402, @@ -9958,14 +9958,14 @@ }, "end": { "line": 402, - "column": 57 + "column": 86 } }, "extra": { - "rawValue": "Parameter expected: params.properties", - "raw": "\"Parameter expected: params.properties\"" + "rawValue": "[XKTModel.createPropertySet] Parameter expected: params.properties", + "raw": "\"[XKTModel.createPropertySet] Parameter expected: params.properties\"" }, - "value": "Parameter expected: params.properties" + "value": "[XKTModel.createPropertySet] Parameter expected: params.properties" } } ], @@ -9975,8 +9975,8 @@ }, { "type": "IfStatement", - "start": 12809, - "end": 12948, + "start": 12896, + "end": 13035, "loc": { "start": { "line": 405, @@ -9989,8 +9989,8 @@ }, "test": { "type": "MemberExpression", - "start": 12813, - "end": 12827, + "start": 12900, + "end": 12914, "loc": { "start": { "line": 405, @@ -10003,8 +10003,8 @@ }, "object": { "type": "ThisExpression", - "start": 12813, - "end": 12817, + "start": 12900, + "end": 12904, "loc": { "start": { "line": 405, @@ -10018,8 +10018,8 @@ }, "property": { "type": "Identifier", - "start": 12818, - "end": 12827, + "start": 12905, + "end": 12914, "loc": { "start": { "line": 405, @@ -10037,8 +10037,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 12829, - "end": 12948, + "start": 12916, + "end": 13035, "loc": { "start": { "line": 405, @@ -10052,8 +10052,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 12843, - "end": 12918, + "start": 12930, + "end": 13005, "loc": { "start": { "line": 406, @@ -10066,8 +10066,8 @@ }, "expression": { "type": "CallExpression", - "start": 12843, - "end": 12917, + "start": 12930, + "end": 13004, "loc": { "start": { "line": 406, @@ -10080,8 +10080,8 @@ }, "callee": { "type": "MemberExpression", - "start": 12843, - "end": 12856, + "start": 12930, + "end": 12943, "loc": { "start": { "line": 406, @@ -10094,8 +10094,8 @@ }, "object": { "type": "Identifier", - "start": 12843, - "end": 12850, + "start": 12930, + "end": 12937, "loc": { "start": { "line": 406, @@ -10111,8 +10111,8 @@ }, "property": { "type": "Identifier", - "start": 12851, - "end": 12856, + "start": 12938, + "end": 12943, "loc": { "start": { "line": 406, @@ -10131,8 +10131,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 12857, - "end": 12916, + "start": 12944, + "end": 13003, "loc": { "start": { "line": 406, @@ -10154,8 +10154,8 @@ }, { "type": "ReturnStatement", - "start": 12931, - "end": 12938, + "start": 13018, + "end": 13025, "loc": { "start": { "line": 407, @@ -10175,8 +10175,8 @@ }, { "type": "IfStatement", - "start": 12958, - "end": 13144, + "start": 13045, + "end": 13231, "loc": { "start": { "line": 410, @@ -10189,8 +10189,8 @@ }, "test": { "type": "MemberExpression", - "start": 12962, - "end": 13001, + "start": 13049, + "end": 13088, "loc": { "start": { "line": 410, @@ -10203,8 +10203,8 @@ }, "object": { "type": "MemberExpression", - "start": 12962, - "end": 12979, + "start": 13049, + "end": 13066, "loc": { "start": { "line": 410, @@ -10217,8 +10217,8 @@ }, "object": { "type": "ThisExpression", - "start": 12962, - "end": 12966, + "start": 13049, + "end": 13053, "loc": { "start": { "line": 410, @@ -10232,8 +10232,8 @@ }, "property": { "type": "Identifier", - "start": 12967, - "end": 12979, + "start": 13054, + "end": 13066, "loc": { "start": { "line": 410, @@ -10251,8 +10251,8 @@ }, "property": { "type": "MemberExpression", - "start": 12980, - "end": 13000, + "start": 13067, + "end": 13087, "loc": { "start": { "line": 410, @@ -10265,8 +10265,8 @@ }, "object": { "type": "Identifier", - "start": 12980, - "end": 12986, + "start": 13067, + "end": 13073, "loc": { "start": { "line": 410, @@ -10282,8 +10282,8 @@ }, "property": { "type": "Identifier", - "start": 12987, - "end": 13000, + "start": 13074, + "end": 13087, "loc": { "start": { "line": 410, @@ -10303,8 +10303,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 13003, - "end": 13144, + "start": 13090, + "end": 13231, "loc": { "start": { "line": 410, @@ -10318,8 +10318,8 @@ "body": [ { "type": "ReturnStatement", - "start": 13127, - "end": 13134, + "start": 13214, + "end": 13221, "loc": { "start": { "line": 412, @@ -10335,8 +10335,8 @@ { "type": "CommentLine", "value": " console.error(\"XKTPropertySet already exists with this ID: \" + params.propertySetId);", - "start": 13017, - "end": 13114, + "start": 13104, + "end": 13201, "loc": { "start": { "line": 411, @@ -10357,8 +10357,8 @@ }, { "type": "VariableDeclaration", - "start": 13154, - "end": 13197, + "start": 13241, + "end": 13284, "loc": { "start": { "line": 415, @@ -10372,8 +10372,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 13160, - "end": 13196, + "start": 13247, + "end": 13283, "loc": { "start": { "line": 415, @@ -10386,8 +10386,8 @@ }, "id": { "type": "Identifier", - "start": 13160, - "end": 13173, + "start": 13247, + "end": 13260, "loc": { "start": { "line": 415, @@ -10403,8 +10403,8 @@ }, "init": { "type": "MemberExpression", - "start": 13176, - "end": 13196, + "start": 13263, + "end": 13283, "loc": { "start": { "line": 415, @@ -10417,8 +10417,8 @@ }, "object": { "type": "Identifier", - "start": 13176, - "end": 13182, + "start": 13263, + "end": 13269, "loc": { "start": { "line": 415, @@ -10434,8 +10434,8 @@ }, "property": { "type": "Identifier", - "start": 13183, - "end": 13196, + "start": 13270, + "end": 13283, "loc": { "start": { "line": 415, @@ -10457,8 +10457,8 @@ }, { "type": "VariableDeclaration", - "start": 13206, - "end": 13266, + "start": 13293, + "end": 13353, "loc": { "start": { "line": 416, @@ -10472,8 +10472,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 13212, - "end": 13265, + "start": 13299, + "end": 13352, "loc": { "start": { "line": 416, @@ -10486,8 +10486,8 @@ }, "id": { "type": "Identifier", - "start": 13212, - "end": 13227, + "start": 13299, + "end": 13314, "loc": { "start": { "line": 416, @@ -10503,8 +10503,8 @@ }, "init": { "type": "LogicalExpression", - "start": 13230, - "end": 13265, + "start": 13317, + "end": 13352, "loc": { "start": { "line": 416, @@ -10517,8 +10517,8 @@ }, "left": { "type": "MemberExpression", - "start": 13230, - "end": 13252, + "start": 13317, + "end": 13339, "loc": { "start": { "line": 416, @@ -10531,8 +10531,8 @@ }, "object": { "type": "Identifier", - "start": 13230, - "end": 13236, + "start": 13317, + "end": 13323, "loc": { "start": { "line": 416, @@ -10548,8 +10548,8 @@ }, "property": { "type": "Identifier", - "start": 13237, - "end": 13252, + "start": 13324, + "end": 13339, "loc": { "start": { "line": 416, @@ -10568,8 +10568,8 @@ "operator": "||", "right": { "type": "StringLiteral", - "start": 13256, - "end": 13265, + "start": 13343, + "end": 13352, "loc": { "start": { "line": 416, @@ -10593,8 +10593,8 @@ }, { "type": "VariableDeclaration", - "start": 13275, - "end": 13346, + "start": 13362, + "end": 13433, "loc": { "start": { "line": 417, @@ -10608,8 +10608,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 13281, - "end": 13345, + "start": 13368, + "end": 13432, "loc": { "start": { "line": 417, @@ -10622,8 +10622,8 @@ }, "id": { "type": "Identifier", - "start": 13281, - "end": 13296, + "start": 13368, + "end": 13383, "loc": { "start": { "line": 417, @@ -10639,8 +10639,8 @@ }, "init": { "type": "LogicalExpression", - "start": 13299, - "end": 13345, + "start": 13386, + "end": 13432, "loc": { "start": { "line": 417, @@ -10653,8 +10653,8 @@ }, "left": { "type": "MemberExpression", - "start": 13299, - "end": 13321, + "start": 13386, + "end": 13408, "loc": { "start": { "line": 417, @@ -10667,8 +10667,8 @@ }, "object": { "type": "Identifier", - "start": 13299, - "end": 13305, + "start": 13386, + "end": 13392, "loc": { "start": { "line": 417, @@ -10684,8 +10684,8 @@ }, "property": { "type": "Identifier", - "start": 13306, - "end": 13321, + "start": 13393, + "end": 13408, "loc": { "start": { "line": 417, @@ -10704,8 +10704,8 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 13325, - "end": 13345, + "start": 13412, + "end": 13432, "loc": { "start": { "line": 417, @@ -10718,8 +10718,8 @@ }, "object": { "type": "Identifier", - "start": 13325, - "end": 13331, + "start": 13412, + "end": 13418, "loc": { "start": { "line": 417, @@ -10735,8 +10735,8 @@ }, "property": { "type": "Identifier", - "start": 13332, - "end": 13345, + "start": 13419, + "end": 13432, "loc": { "start": { "line": 417, @@ -10759,8 +10759,8 @@ }, { "type": "VariableDeclaration", - "start": 13355, - "end": 13398, + "start": 13442, + "end": 13485, "loc": { "start": { "line": 418, @@ -10774,8 +10774,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 13361, - "end": 13397, + "start": 13448, + "end": 13484, "loc": { "start": { "line": 418, @@ -10788,8 +10788,8 @@ }, "id": { "type": "Identifier", - "start": 13361, - "end": 13371, + "start": 13448, + "end": 13458, "loc": { "start": { "line": 418, @@ -10805,8 +10805,8 @@ }, "init": { "type": "LogicalExpression", - "start": 13374, - "end": 13397, + "start": 13461, + "end": 13484, "loc": { "start": { "line": 418, @@ -10819,8 +10819,8 @@ }, "left": { "type": "MemberExpression", - "start": 13374, - "end": 13391, + "start": 13461, + "end": 13478, "loc": { "start": { "line": 418, @@ -10833,8 +10833,8 @@ }, "object": { "type": "Identifier", - "start": 13374, - "end": 13380, + "start": 13461, + "end": 13467, "loc": { "start": { "line": 418, @@ -10850,8 +10850,8 @@ }, "property": { "type": "Identifier", - "start": 13381, - "end": 13391, + "start": 13468, + "end": 13478, "loc": { "start": { "line": 418, @@ -10870,8 +10870,8 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 13395, - "end": 13397, + "start": 13482, + "end": 13484, "loc": { "start": { "line": 418, @@ -10891,8 +10891,8 @@ }, { "type": "VariableDeclaration", - "start": 13408, - "end": 13508, + "start": 13495, + "end": 13595, "loc": { "start": { "line": 420, @@ -10906,8 +10906,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 13414, - "end": 13507, + "start": 13501, + "end": 13594, "loc": { "start": { "line": 420, @@ -10920,8 +10920,8 @@ }, "id": { "type": "Identifier", - "start": 13414, - "end": 13425, + "start": 13501, + "end": 13512, "loc": { "start": { "line": 420, @@ -10937,8 +10937,8 @@ }, "init": { "type": "NewExpression", - "start": 13428, - "end": 13507, + "start": 13515, + "end": 13594, "loc": { "start": { "line": 420, @@ -10951,8 +10951,8 @@ }, "callee": { "type": "Identifier", - "start": 13432, - "end": 13446, + "start": 13519, + "end": 13533, "loc": { "start": { "line": 420, @@ -10969,8 +10969,8 @@ "arguments": [ { "type": "Identifier", - "start": 13447, - "end": 13460, + "start": 13534, + "end": 13547, "loc": { "start": { "line": 420, @@ -10986,8 +10986,8 @@ }, { "type": "Identifier", - "start": 13462, - "end": 13477, + "start": 13549, + "end": 13564, "loc": { "start": { "line": 420, @@ -11003,8 +11003,8 @@ }, { "type": "Identifier", - "start": 13479, - "end": 13494, + "start": 13566, + "end": 13581, "loc": { "start": { "line": 420, @@ -11020,8 +11020,8 @@ }, { "type": "Identifier", - "start": 13496, - "end": 13506, + "start": 13583, + "end": 13593, "loc": { "start": { "line": 420, @@ -11043,8 +11043,8 @@ }, { "type": "ExpressionStatement", - "start": 13518, - "end": 13565, + "start": 13605, + "end": 13652, "loc": { "start": { "line": 422, @@ -11057,8 +11057,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 13518, - "end": 13564, + "start": 13605, + "end": 13651, "loc": { "start": { "line": 422, @@ -11072,8 +11072,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 13518, - "end": 13550, + "start": 13605, + "end": 13637, "loc": { "start": { "line": 422, @@ -11086,8 +11086,8 @@ }, "object": { "type": "MemberExpression", - "start": 13518, - "end": 13535, + "start": 13605, + "end": 13622, "loc": { "start": { "line": 422, @@ -11100,8 +11100,8 @@ }, "object": { "type": "ThisExpression", - "start": 13518, - "end": 13522, + "start": 13605, + "end": 13609, "loc": { "start": { "line": 422, @@ -11115,8 +11115,8 @@ }, "property": { "type": "Identifier", - "start": 13523, - "end": 13535, + "start": 13610, + "end": 13622, "loc": { "start": { "line": 422, @@ -11134,8 +11134,8 @@ }, "property": { "type": "Identifier", - "start": 13536, - "end": 13549, + "start": 13623, + "end": 13636, "loc": { "start": { "line": 422, @@ -11153,8 +11153,8 @@ }, "right": { "type": "Identifier", - "start": 13553, - "end": 13564, + "start": 13640, + "end": 13651, "loc": { "start": { "line": 422, @@ -11172,8 +11172,8 @@ }, { "type": "ExpressionStatement", - "start": 13574, - "end": 13614, + "start": 13661, + "end": 13701, "loc": { "start": { "line": 423, @@ -11186,8 +11186,8 @@ }, "expression": { "type": "CallExpression", - "start": 13574, - "end": 13613, + "start": 13661, + "end": 13700, "loc": { "start": { "line": 423, @@ -11200,8 +11200,8 @@ }, "callee": { "type": "MemberExpression", - "start": 13574, - "end": 13600, + "start": 13661, + "end": 13687, "loc": { "start": { "line": 423, @@ -11214,8 +11214,8 @@ }, "object": { "type": "MemberExpression", - "start": 13574, - "end": 13595, + "start": 13661, + "end": 13682, "loc": { "start": { "line": 423, @@ -11228,8 +11228,8 @@ }, "object": { "type": "ThisExpression", - "start": 13574, - "end": 13578, + "start": 13661, + "end": 13665, "loc": { "start": { "line": 423, @@ -11243,8 +11243,8 @@ }, "property": { "type": "Identifier", - "start": 13579, - "end": 13595, + "start": 13666, + "end": 13682, "loc": { "start": { "line": 423, @@ -11262,8 +11262,8 @@ }, "property": { "type": "Identifier", - "start": 13596, - "end": 13600, + "start": 13683, + "end": 13687, "loc": { "start": { "line": 423, @@ -11282,8 +11282,8 @@ "arguments": [ { "type": "Identifier", - "start": 13601, - "end": 13612, + "start": 13688, + "end": 13699, "loc": { "start": { "line": 423, @@ -11302,8 +11302,8 @@ }, { "type": "ReturnStatement", - "start": 13624, - "end": 13643, + "start": 13711, + "end": 13730, "loc": { "start": { "line": 425, @@ -11316,8 +11316,8 @@ }, "argument": { "type": "Identifier", - "start": 13631, - "end": 13642, + "start": 13718, + "end": 13729, "loc": { "start": { "line": 425, @@ -11358,8 +11358,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMetaObject} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.metaObjectId Unique ID for the {@link XKTMetaObject}.\n * @param {String} params.propertySetIds ID of one or more property sets that contains additional metadata about\n * this {@link XKTMetaObject}. The property sets could be stored externally (ie not managed at all by the XKT file),\n * or could be {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n * @param {String} [params.metaObjectType=\"default\"] A meta type for the {@link XKTMetaObject}. Can be anything,\n * but is usually an IFC type, such as \"IfcSite\" or \"IfcWall\".\n * @param {String} [params.metaObjectName] Human-readable name for the {@link XKTMetaObject}. Defaults to the ````metaObjectId```` parameter.\n * @param {String} [params.parentMetaObjectId] ID of the parent {@link XKTMetaObject}, if any. Defaults to the ````metaObjectId```` parameter.\n * @returns {XKTMetaObject} The new {@link XKTMetaObject}.\n ", - "start": 13655, - "end": 14834, + "start": 13742, + "end": 14921, "loc": { "start": { "line": 428, @@ -11375,8 +11375,8 @@ }, { "type": "ClassMethod", - "start": 14839, - "end": 16168, + "start": 14926, + "end": 16311, "loc": { "start": { "line": 444, @@ -11391,8 +11391,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 14839, - "end": 14855, + "start": 14926, + "end": 14942, "loc": { "start": { "line": 444, @@ -11415,8 +11415,8 @@ "params": [ { "type": "Identifier", - "start": 14856, - "end": 14862, + "start": 14943, + "end": 14949, "loc": { "start": { "line": 444, @@ -11433,8 +11433,8 @@ ], "body": { "type": "BlockStatement", - "start": 14864, - "end": 16168, + "start": 14951, + "end": 16311, "loc": { "start": { "line": 444, @@ -11448,8 +11448,8 @@ "body": [ { "type": "IfStatement", - "start": 14875, - "end": 14948, + "start": 14962, + "end": 15063, "loc": { "start": { "line": 446, @@ -11462,8 +11462,8 @@ }, "test": { "type": "UnaryExpression", - "start": 14879, - "end": 14886, + "start": 14966, + "end": 14973, "loc": { "start": { "line": 446, @@ -11478,8 +11478,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 14880, - "end": 14886, + "start": 14967, + "end": 14973, "loc": { "start": { "line": 446, @@ -11499,8 +11499,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 14888, - "end": 14948, + "start": 14975, + "end": 15063, "loc": { "start": { "line": 446, @@ -11514,8 +11514,8 @@ "body": [ { "type": "ThrowStatement", - "start": 14902, - "end": 14938, + "start": 14989, + "end": 15053, "loc": { "start": { "line": 447, @@ -11523,13 +11523,13 @@ }, "end": { "line": 447, - "column": 48 + "column": 76 } }, "argument": { "type": "StringLiteral", - "start": 14908, - "end": 14937, + "start": 14995, + "end": 15052, "loc": { "start": { "line": 447, @@ -11537,14 +11537,14 @@ }, "end": { "line": 447, - "column": 47 + "column": 75 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createMetaObject] Parameters expected: params", + "raw": "\"[XKTModel.createMetaObject] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createMetaObject] Parameters expected: params" } } ], @@ -11554,8 +11554,8 @@ }, { "type": "IfStatement", - "start": 14958, - "end": 15101, + "start": 15073, + "end": 15244, "loc": { "start": { "line": 450, @@ -11568,8 +11568,8 @@ }, "test": { "type": "LogicalExpression", - "start": 14962, - "end": 15027, + "start": 15077, + "end": 15142, "loc": { "start": { "line": 450, @@ -11582,8 +11582,8 @@ }, "left": { "type": "BinaryExpression", - "start": 14962, - "end": 14990, + "start": 15077, + "end": 15105, "loc": { "start": { "line": 450, @@ -11596,8 +11596,8 @@ }, "left": { "type": "MemberExpression", - "start": 14962, - "end": 14981, + "start": 15077, + "end": 15096, "loc": { "start": { "line": 450, @@ -11610,8 +11610,8 @@ }, "object": { "type": "Identifier", - "start": 14962, - "end": 14968, + "start": 15077, + "end": 15083, "loc": { "start": { "line": 450, @@ -11627,8 +11627,8 @@ }, "property": { "type": "Identifier", - "start": 14969, - "end": 14981, + "start": 15084, + "end": 15096, "loc": { "start": { "line": 450, @@ -11647,8 +11647,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 14986, - "end": 14990, + "start": 15101, + "end": 15105, "loc": { "start": { "line": 450, @@ -11664,8 +11664,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 14994, - "end": 15027, + "start": 15109, + "end": 15142, "loc": { "start": { "line": 450, @@ -11678,8 +11678,8 @@ }, "left": { "type": "MemberExpression", - "start": 14994, - "end": 15013, + "start": 15109, + "end": 15128, "loc": { "start": { "line": 450, @@ -11692,8 +11692,8 @@ }, "object": { "type": "Identifier", - "start": 14994, - "end": 15000, + "start": 15109, + "end": 15115, "loc": { "start": { "line": 450, @@ -11709,8 +11709,8 @@ }, "property": { "type": "Identifier", - "start": 15001, - "end": 15013, + "start": 15116, + "end": 15128, "loc": { "start": { "line": 450, @@ -11729,8 +11729,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 15018, - "end": 15027, + "start": 15133, + "end": 15142, "loc": { "start": { "line": 450, @@ -11748,8 +11748,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 15029, - "end": 15101, + "start": 15144, + "end": 15244, "loc": { "start": { "line": 450, @@ -11763,8 +11763,8 @@ "body": [ { "type": "ThrowStatement", - "start": 15043, - "end": 15091, + "start": 15158, + "end": 15234, "loc": { "start": { "line": 451, @@ -11772,13 +11772,13 @@ }, "end": { "line": 451, - "column": 60 + "column": 88 } }, "argument": { "type": "StringLiteral", - "start": 15049, - "end": 15090, + "start": 15164, + "end": 15233, "loc": { "start": { "line": 451, @@ -11786,14 +11786,14 @@ }, "end": { "line": 451, - "column": 59 + "column": 87 } }, "extra": { - "rawValue": "Parameter expected: params.metaObjectId", - "raw": "\"Parameter expected: params.metaObjectId\"" + "rawValue": "[XKTModel.createMetaObject] Parameter expected: params.metaObjectId", + "raw": "\"[XKTModel.createMetaObject] Parameter expected: params.metaObjectId\"" }, - "value": "Parameter expected: params.metaObjectId" + "value": "[XKTModel.createMetaObject] Parameter expected: params.metaObjectId" } } ], @@ -11803,8 +11803,8 @@ }, { "type": "IfStatement", - "start": 15111, - "end": 15249, + "start": 15254, + "end": 15392, "loc": { "start": { "line": 454, @@ -11817,8 +11817,8 @@ }, "test": { "type": "MemberExpression", - "start": 15115, - "end": 15129, + "start": 15258, + "end": 15272, "loc": { "start": { "line": 454, @@ -11831,8 +11831,8 @@ }, "object": { "type": "ThisExpression", - "start": 15115, - "end": 15119, + "start": 15258, + "end": 15262, "loc": { "start": { "line": 454, @@ -11846,8 +11846,8 @@ }, "property": { "type": "Identifier", - "start": 15120, - "end": 15129, + "start": 15263, + "end": 15272, "loc": { "start": { "line": 454, @@ -11865,8 +11865,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 15131, - "end": 15249, + "start": 15274, + "end": 15392, "loc": { "start": { "line": 454, @@ -11880,8 +11880,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 15145, - "end": 15219, + "start": 15288, + "end": 15362, "loc": { "start": { "line": 455, @@ -11894,8 +11894,8 @@ }, "expression": { "type": "CallExpression", - "start": 15145, - "end": 15218, + "start": 15288, + "end": 15361, "loc": { "start": { "line": 455, @@ -11908,8 +11908,8 @@ }, "callee": { "type": "MemberExpression", - "start": 15145, - "end": 15158, + "start": 15288, + "end": 15301, "loc": { "start": { "line": 455, @@ -11922,8 +11922,8 @@ }, "object": { "type": "Identifier", - "start": 15145, - "end": 15152, + "start": 15288, + "end": 15295, "loc": { "start": { "line": 455, @@ -11939,8 +11939,8 @@ }, "property": { "type": "Identifier", - "start": 15153, - "end": 15158, + "start": 15296, + "end": 15301, "loc": { "start": { "line": 455, @@ -11959,8 +11959,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 15159, - "end": 15217, + "start": 15302, + "end": 15360, "loc": { "start": { "line": 455, @@ -11982,8 +11982,8 @@ }, { "type": "ReturnStatement", - "start": 15232, - "end": 15239, + "start": 15375, + "end": 15382, "loc": { "start": { "line": 456, @@ -12003,8 +12003,8 @@ }, { "type": "IfStatement", - "start": 15259, - "end": 15441, + "start": 15402, + "end": 15584, "loc": { "start": { "line": 459, @@ -12017,8 +12017,8 @@ }, "test": { "type": "MemberExpression", - "start": 15263, - "end": 15300, + "start": 15406, + "end": 15443, "loc": { "start": { "line": 459, @@ -12031,8 +12031,8 @@ }, "object": { "type": "MemberExpression", - "start": 15263, - "end": 15279, + "start": 15406, + "end": 15422, "loc": { "start": { "line": 459, @@ -12045,8 +12045,8 @@ }, "object": { "type": "ThisExpression", - "start": 15263, - "end": 15267, + "start": 15406, + "end": 15410, "loc": { "start": { "line": 459, @@ -12060,8 +12060,8 @@ }, "property": { "type": "Identifier", - "start": 15268, - "end": 15279, + "start": 15411, + "end": 15422, "loc": { "start": { "line": 459, @@ -12079,8 +12079,8 @@ }, "property": { "type": "MemberExpression", - "start": 15280, - "end": 15299, + "start": 15423, + "end": 15442, "loc": { "start": { "line": 459, @@ -12093,8 +12093,8 @@ }, "object": { "type": "Identifier", - "start": 15280, - "end": 15286, + "start": 15423, + "end": 15429, "loc": { "start": { "line": 459, @@ -12110,8 +12110,8 @@ }, "property": { "type": "Identifier", - "start": 15287, - "end": 15299, + "start": 15430, + "end": 15442, "loc": { "start": { "line": 459, @@ -12131,8 +12131,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 15302, - "end": 15441, + "start": 15445, + "end": 15584, "loc": { "start": { "line": 459, @@ -12146,8 +12146,8 @@ "body": [ { "type": "ReturnStatement", - "start": 15424, - "end": 15431, + "start": 15567, + "end": 15574, "loc": { "start": { "line": 461, @@ -12163,8 +12163,8 @@ { "type": "CommentLine", "value": " console.error(\"XKTMetaObject already exists with this ID: \" + params.metaObjectId);", - "start": 15316, - "end": 15411, + "start": 15459, + "end": 15554, "loc": { "start": { "line": 460, @@ -12185,8 +12185,8 @@ }, { "type": "VariableDeclaration", - "start": 15451, - "end": 15492, + "start": 15594, + "end": 15635, "loc": { "start": { "line": 464, @@ -12200,8 +12200,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15457, - "end": 15491, + "start": 15600, + "end": 15634, "loc": { "start": { "line": 464, @@ -12214,8 +12214,8 @@ }, "id": { "type": "Identifier", - "start": 15457, - "end": 15469, + "start": 15600, + "end": 15612, "loc": { "start": { "line": 464, @@ -12231,8 +12231,8 @@ }, "init": { "type": "MemberExpression", - "start": 15472, - "end": 15491, + "start": 15615, + "end": 15634, "loc": { "start": { "line": 464, @@ -12245,8 +12245,8 @@ }, "object": { "type": "Identifier", - "start": 15472, - "end": 15478, + "start": 15615, + "end": 15621, "loc": { "start": { "line": 464, @@ -12262,8 +12262,8 @@ }, "property": { "type": "Identifier", - "start": 15479, - "end": 15491, + "start": 15622, + "end": 15634, "loc": { "start": { "line": 464, @@ -12285,8 +12285,8 @@ }, { "type": "VariableDeclaration", - "start": 15501, - "end": 15546, + "start": 15644, + "end": 15689, "loc": { "start": { "line": 465, @@ -12300,8 +12300,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15507, - "end": 15545, + "start": 15650, + "end": 15688, "loc": { "start": { "line": 465, @@ -12314,8 +12314,8 @@ }, "id": { "type": "Identifier", - "start": 15507, - "end": 15521, + "start": 15650, + "end": 15664, "loc": { "start": { "line": 465, @@ -12331,8 +12331,8 @@ }, "init": { "type": "MemberExpression", - "start": 15524, - "end": 15545, + "start": 15667, + "end": 15688, "loc": { "start": { "line": 465, @@ -12345,8 +12345,8 @@ }, "object": { "type": "Identifier", - "start": 15524, - "end": 15530, + "start": 15667, + "end": 15673, "loc": { "start": { "line": 465, @@ -12362,8 +12362,8 @@ }, "property": { "type": "Identifier", - "start": 15531, - "end": 15545, + "start": 15674, + "end": 15688, "loc": { "start": { "line": 465, @@ -12385,8 +12385,8 @@ }, { "type": "VariableDeclaration", - "start": 15555, - "end": 15613, + "start": 15698, + "end": 15756, "loc": { "start": { "line": 466, @@ -12400,8 +12400,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15561, - "end": 15612, + "start": 15704, + "end": 15755, "loc": { "start": { "line": 466, @@ -12414,8 +12414,8 @@ }, "id": { "type": "Identifier", - "start": 15561, - "end": 15575, + "start": 15704, + "end": 15718, "loc": { "start": { "line": 466, @@ -12431,8 +12431,8 @@ }, "init": { "type": "LogicalExpression", - "start": 15578, - "end": 15612, + "start": 15721, + "end": 15755, "loc": { "start": { "line": 466, @@ -12445,8 +12445,8 @@ }, "left": { "type": "MemberExpression", - "start": 15578, - "end": 15599, + "start": 15721, + "end": 15742, "loc": { "start": { "line": 466, @@ -12459,8 +12459,8 @@ }, "object": { "type": "Identifier", - "start": 15578, - "end": 15584, + "start": 15721, + "end": 15727, "loc": { "start": { "line": 466, @@ -12476,8 +12476,8 @@ }, "property": { "type": "Identifier", - "start": 15585, - "end": 15599, + "start": 15728, + "end": 15742, "loc": { "start": { "line": 466, @@ -12496,8 +12496,8 @@ "operator": "||", "right": { "type": "StringLiteral", - "start": 15603, - "end": 15612, + "start": 15746, + "end": 15755, "loc": { "start": { "line": 466, @@ -12521,8 +12521,8 @@ }, { "type": "VariableDeclaration", - "start": 15622, - "end": 15690, + "start": 15765, + "end": 15833, "loc": { "start": { "line": 467, @@ -12536,8 +12536,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15628, - "end": 15689, + "start": 15771, + "end": 15832, "loc": { "start": { "line": 467, @@ -12550,8 +12550,8 @@ }, "id": { "type": "Identifier", - "start": 15628, - "end": 15642, + "start": 15771, + "end": 15785, "loc": { "start": { "line": 467, @@ -12567,8 +12567,8 @@ }, "init": { "type": "LogicalExpression", - "start": 15645, - "end": 15689, + "start": 15788, + "end": 15832, "loc": { "start": { "line": 467, @@ -12581,8 +12581,8 @@ }, "left": { "type": "MemberExpression", - "start": 15645, - "end": 15666, + "start": 15788, + "end": 15809, "loc": { "start": { "line": 467, @@ -12595,8 +12595,8 @@ }, "object": { "type": "Identifier", - "start": 15645, - "end": 15651, + "start": 15788, + "end": 15794, "loc": { "start": { "line": 467, @@ -12612,8 +12612,8 @@ }, "property": { "type": "Identifier", - "start": 15652, - "end": 15666, + "start": 15795, + "end": 15809, "loc": { "start": { "line": 467, @@ -12632,8 +12632,8 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 15670, - "end": 15689, + "start": 15813, + "end": 15832, "loc": { "start": { "line": 467, @@ -12646,8 +12646,8 @@ }, "object": { "type": "Identifier", - "start": 15670, - "end": 15676, + "start": 15813, + "end": 15819, "loc": { "start": { "line": 467, @@ -12663,8 +12663,8 @@ }, "property": { "type": "Identifier", - "start": 15677, - "end": 15689, + "start": 15820, + "end": 15832, "loc": { "start": { "line": 467, @@ -12687,8 +12687,8 @@ }, { "type": "VariableDeclaration", - "start": 15699, - "end": 15752, + "start": 15842, + "end": 15895, "loc": { "start": { "line": 468, @@ -12702,8 +12702,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15705, - "end": 15751, + "start": 15848, + "end": 15894, "loc": { "start": { "line": 468, @@ -12716,8 +12716,8 @@ }, "id": { "type": "Identifier", - "start": 15705, - "end": 15723, + "start": 15848, + "end": 15866, "loc": { "start": { "line": 468, @@ -12733,8 +12733,8 @@ }, "init": { "type": "MemberExpression", - "start": 15726, - "end": 15751, + "start": 15869, + "end": 15894, "loc": { "start": { "line": 468, @@ -12747,8 +12747,8 @@ }, "object": { "type": "Identifier", - "start": 15726, - "end": 15732, + "start": 15869, + "end": 15875, "loc": { "start": { "line": 468, @@ -12764,8 +12764,8 @@ }, "property": { "type": "Identifier", - "start": 15733, - "end": 15751, + "start": 15876, + "end": 15894, "loc": { "start": { "line": 468, @@ -12787,8 +12787,8 @@ }, { "type": "VariableDeclaration", - "start": 15762, - "end": 15881, + "start": 15905, + "end": 16024, "loc": { "start": { "line": 470, @@ -12802,8 +12802,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15768, - "end": 15880, + "start": 15911, + "end": 16023, "loc": { "start": { "line": 470, @@ -12816,8 +12816,8 @@ }, "id": { "type": "Identifier", - "start": 15768, - "end": 15778, + "start": 15911, + "end": 15921, "loc": { "start": { "line": 470, @@ -12833,8 +12833,8 @@ }, "init": { "type": "NewExpression", - "start": 15781, - "end": 15880, + "start": 15924, + "end": 16023, "loc": { "start": { "line": 470, @@ -12847,8 +12847,8 @@ }, "callee": { "type": "Identifier", - "start": 15785, - "end": 15798, + "start": 15928, + "end": 15941, "loc": { "start": { "line": 470, @@ -12865,8 +12865,8 @@ "arguments": [ { "type": "Identifier", - "start": 15799, - "end": 15811, + "start": 15942, + "end": 15954, "loc": { "start": { "line": 470, @@ -12882,8 +12882,8 @@ }, { "type": "Identifier", - "start": 15813, - "end": 15827, + "start": 15956, + "end": 15970, "loc": { "start": { "line": 470, @@ -12899,8 +12899,8 @@ }, { "type": "Identifier", - "start": 15829, - "end": 15843, + "start": 15972, + "end": 15986, "loc": { "start": { "line": 470, @@ -12916,8 +12916,8 @@ }, { "type": "Identifier", - "start": 15845, - "end": 15859, + "start": 15988, + "end": 16002, "loc": { "start": { "line": 470, @@ -12933,8 +12933,8 @@ }, { "type": "Identifier", - "start": 15861, - "end": 15879, + "start": 16004, + "end": 16022, "loc": { "start": { "line": 470, @@ -12956,8 +12956,8 @@ }, { "type": "ExpressionStatement", - "start": 15891, - "end": 15935, + "start": 16034, + "end": 16078, "loc": { "start": { "line": 472, @@ -12970,8 +12970,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 15891, - "end": 15934, + "start": 16034, + "end": 16077, "loc": { "start": { "line": 472, @@ -12985,8 +12985,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 15891, - "end": 15921, + "start": 16034, + "end": 16064, "loc": { "start": { "line": 472, @@ -12999,8 +12999,8 @@ }, "object": { "type": "MemberExpression", - "start": 15891, - "end": 15907, + "start": 16034, + "end": 16050, "loc": { "start": { "line": 472, @@ -13013,8 +13013,8 @@ }, "object": { "type": "ThisExpression", - "start": 15891, - "end": 15895, + "start": 16034, + "end": 16038, "loc": { "start": { "line": 472, @@ -13028,8 +13028,8 @@ }, "property": { "type": "Identifier", - "start": 15896, - "end": 15907, + "start": 16039, + "end": 16050, "loc": { "start": { "line": 472, @@ -13047,8 +13047,8 @@ }, "property": { "type": "Identifier", - "start": 15908, - "end": 15920, + "start": 16051, + "end": 16063, "loc": { "start": { "line": 472, @@ -13066,8 +13066,8 @@ }, "right": { "type": "Identifier", - "start": 15924, - "end": 15934, + "start": 16067, + "end": 16077, "loc": { "start": { "line": 472, @@ -13085,8 +13085,8 @@ }, { "type": "ExpressionStatement", - "start": 15944, - "end": 15982, + "start": 16087, + "end": 16125, "loc": { "start": { "line": 473, @@ -13099,8 +13099,8 @@ }, "expression": { "type": "CallExpression", - "start": 15944, - "end": 15981, + "start": 16087, + "end": 16124, "loc": { "start": { "line": 473, @@ -13113,8 +13113,8 @@ }, "callee": { "type": "MemberExpression", - "start": 15944, - "end": 15969, + "start": 16087, + "end": 16112, "loc": { "start": { "line": 473, @@ -13127,8 +13127,8 @@ }, "object": { "type": "MemberExpression", - "start": 15944, - "end": 15964, + "start": 16087, + "end": 16107, "loc": { "start": { "line": 473, @@ -13141,8 +13141,8 @@ }, "object": { "type": "ThisExpression", - "start": 15944, - "end": 15948, + "start": 16087, + "end": 16091, "loc": { "start": { "line": 473, @@ -13156,8 +13156,8 @@ }, "property": { "type": "Identifier", - "start": 15949, - "end": 15964, + "start": 16092, + "end": 16107, "loc": { "start": { "line": 473, @@ -13175,8 +13175,8 @@ }, "property": { "type": "Identifier", - "start": 15965, - "end": 15969, + "start": 16108, + "end": 16112, "loc": { "start": { "line": 473, @@ -13195,8 +13195,8 @@ "arguments": [ { "type": "Identifier", - "start": 15970, - "end": 15980, + "start": 16113, + "end": 16123, "loc": { "start": { "line": 473, @@ -13215,8 +13215,8 @@ }, { "type": "IfStatement", - "start": 15992, - "end": 16134, + "start": 16135, + "end": 16277, "loc": { "start": { "line": 475, @@ -13229,8 +13229,8 @@ }, "test": { "type": "UnaryExpression", - "start": 15996, - "end": 16015, + "start": 16139, + "end": 16158, "loc": { "start": { "line": 475, @@ -13245,8 +13245,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 15997, - "end": 16015, + "start": 16140, + "end": 16158, "loc": { "start": { "line": 475, @@ -13266,8 +13266,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 16017, - "end": 16134, + "start": 16160, + "end": 16277, "loc": { "start": { "line": 475, @@ -13281,8 +13281,8 @@ "body": [ { "type": "IfStatement", - "start": 16031, - "end": 16124, + "start": 16174, + "end": 16267, "loc": { "start": { "line": 476, @@ -13295,8 +13295,8 @@ }, "test": { "type": "UnaryExpression", - "start": 16035, - "end": 16056, + "start": 16178, + "end": 16199, "loc": { "start": { "line": 476, @@ -13311,8 +13311,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 16036, - "end": 16056, + "start": 16179, + "end": 16199, "loc": { "start": { "line": 476, @@ -13325,8 +13325,8 @@ }, "object": { "type": "ThisExpression", - "start": 16036, - "end": 16040, + "start": 16179, + "end": 16183, "loc": { "start": { "line": 476, @@ -13340,8 +13340,8 @@ }, "property": { "type": "Identifier", - "start": 16041, - "end": 16056, + "start": 16184, + "end": 16199, "loc": { "start": { "line": 476, @@ -13363,8 +13363,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 16058, - "end": 16124, + "start": 16201, + "end": 16267, "loc": { "start": { "line": 476, @@ -13378,8 +13378,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 16076, - "end": 16110, + "start": 16219, + "end": 16253, "loc": { "start": { "line": 477, @@ -13392,8 +13392,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 16076, - "end": 16109, + "start": 16219, + "end": 16252, "loc": { "start": { "line": 477, @@ -13407,8 +13407,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 16076, - "end": 16096, + "start": 16219, + "end": 16239, "loc": { "start": { "line": 477, @@ -13421,8 +13421,8 @@ }, "object": { "type": "ThisExpression", - "start": 16076, - "end": 16080, + "start": 16219, + "end": 16223, "loc": { "start": { "line": 477, @@ -13436,8 +13436,8 @@ }, "property": { "type": "Identifier", - "start": 16081, - "end": 16096, + "start": 16224, + "end": 16239, "loc": { "start": { "line": 477, @@ -13455,8 +13455,8 @@ }, "right": { "type": "Identifier", - "start": 16099, - "end": 16109, + "start": 16242, + "end": 16252, "loc": { "start": { "line": 477, @@ -13484,8 +13484,8 @@ }, { "type": "ReturnStatement", - "start": 16144, - "end": 16162, + "start": 16287, + "end": 16305, "loc": { "start": { "line": 481, @@ -13498,8 +13498,8 @@ }, "argument": { "type": "Identifier", - "start": 16151, - "end": 16161, + "start": 16294, + "end": 16304, "loc": { "start": { "line": 481, @@ -13522,8 +13522,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMetaObject} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.metaObjectId Unique ID for the {@link XKTMetaObject}.\n * @param {String} params.propertySetIds ID of one or more property sets that contains additional metadata about\n * this {@link XKTMetaObject}. The property sets could be stored externally (ie not managed at all by the XKT file),\n * or could be {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n * @param {String} [params.metaObjectType=\"default\"] A meta type for the {@link XKTMetaObject}. Can be anything,\n * but is usually an IFC type, such as \"IfcSite\" or \"IfcWall\".\n * @param {String} [params.metaObjectName] Human-readable name for the {@link XKTMetaObject}. Defaults to the ````metaObjectId```` parameter.\n * @param {String} [params.parentMetaObjectId] ID of the parent {@link XKTMetaObject}, if any. Defaults to the ````metaObjectId```` parameter.\n * @returns {XKTMetaObject} The new {@link XKTMetaObject}.\n ", - "start": 13655, - "end": 14834, + "start": 13742, + "end": 14921, "loc": { "start": { "line": 428, @@ -13540,8 +13540,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTexture} within this XKTModel.\n *\n * Registers the new {@link XKTTexture} in {@link XKTModel#textures} and {@link XKTModel#texturesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureId Unique ID for the {@link XKTTexture}.\n * @param {String} [params.src] Source of an image file for the texture.\n * @param {Buffer} [params.imageData] Image data for the texture.\n * @param {Number} [params.mediaType] Media type (ie. MIME type) of ````imageData````. Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n * @param {Number} [params.width] Texture width, used with ````imageData````. Ignored for compressed textures.\n * @param {Number} [params.height] Texture height, used with ````imageData````. Ignored for compressed textures.\n * @param {Boolean} [params.compressed=true] Whether to compress the texture.\n * @param {Number} [params.minFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers less than one pixel. Supported\n * values are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter}, {@link NearestMipMapNearestFilter},\n * {@link NearestMipMapLinearFilter} and {@link LinearMipMapLinearFilter}. Ignored for compressed textures.\n * @param {Number} [params.magFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}. Ignored for compressed textures.\n * @param {Number} [params.wrapS=RepeatWrapping] Wrap parameter for texture coordinate *S*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @param {Number} [params.wrapT=RepeatWrapping] Wrap parameter for texture coordinate *T*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * {@param {Number} [params.wrapR=RepeatWrapping] Wrap parameter for texture coordinate *R*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @returns {XKTTexture} The new {@link XKTTexture}.\n ", - "start": 16174, - "end": 18662, + "start": 16317, + "end": 18805, "loc": { "start": { "line": 484, @@ -13557,8 +13557,8 @@ }, { "type": "ClassMethod", - "start": 18667, - "end": 20369, + "start": 18810, + "end": 20587, "loc": { "start": { "line": 512, @@ -13573,8 +13573,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 18667, - "end": 18680, + "start": 18810, + "end": 18823, "loc": { "start": { "line": 512, @@ -13597,8 +13597,8 @@ "params": [ { "type": "Identifier", - "start": 18681, - "end": 18687, + "start": 18824, + "end": 18830, "loc": { "start": { "line": 512, @@ -13615,8 +13615,8 @@ ], "body": { "type": "BlockStatement", - "start": 18689, - "end": 20369, + "start": 18832, + "end": 20587, "loc": { "start": { "line": 512, @@ -13630,8 +13630,8 @@ "body": [ { "type": "IfStatement", - "start": 18700, - "end": 18773, + "start": 18843, + "end": 18941, "loc": { "start": { "line": 514, @@ -13644,8 +13644,8 @@ }, "test": { "type": "UnaryExpression", - "start": 18704, - "end": 18711, + "start": 18847, + "end": 18854, "loc": { "start": { "line": 514, @@ -13660,8 +13660,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 18705, - "end": 18711, + "start": 18848, + "end": 18854, "loc": { "start": { "line": 514, @@ -13681,8 +13681,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 18713, - "end": 18773, + "start": 18856, + "end": 18941, "loc": { "start": { "line": 514, @@ -13696,8 +13696,8 @@ "body": [ { "type": "ThrowStatement", - "start": 18727, - "end": 18763, + "start": 18870, + "end": 18931, "loc": { "start": { "line": 515, @@ -13705,13 +13705,13 @@ }, "end": { "line": 515, - "column": 48 + "column": 73 } }, "argument": { "type": "StringLiteral", - "start": 18733, - "end": 18762, + "start": 18876, + "end": 18930, "loc": { "start": { "line": 515, @@ -13719,14 +13719,14 @@ }, "end": { "line": 515, - "column": 47 + "column": 72 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createTexture] Parameters expected: params", + "raw": "\"[XKTModel.createTexture] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createTexture] Parameters expected: params" } } ], @@ -13736,8 +13736,8 @@ }, { "type": "IfStatement", - "start": 18783, - "end": 18917, + "start": 18951, + "end": 19110, "loc": { "start": { "line": 518, @@ -13750,8 +13750,8 @@ }, "test": { "type": "LogicalExpression", - "start": 18787, - "end": 18846, + "start": 18955, + "end": 19014, "loc": { "start": { "line": 518, @@ -13764,8 +13764,8 @@ }, "left": { "type": "BinaryExpression", - "start": 18787, - "end": 18812, + "start": 18955, + "end": 18980, "loc": { "start": { "line": 518, @@ -13778,8 +13778,8 @@ }, "left": { "type": "MemberExpression", - "start": 18787, - "end": 18803, + "start": 18955, + "end": 18971, "loc": { "start": { "line": 518, @@ -13792,8 +13792,8 @@ }, "object": { "type": "Identifier", - "start": 18787, - "end": 18793, + "start": 18955, + "end": 18961, "loc": { "start": { "line": 518, @@ -13809,8 +13809,8 @@ }, "property": { "type": "Identifier", - "start": 18794, - "end": 18803, + "start": 18962, + "end": 18971, "loc": { "start": { "line": 518, @@ -13829,8 +13829,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 18808, - "end": 18812, + "start": 18976, + "end": 18980, "loc": { "start": { "line": 518, @@ -13846,8 +13846,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 18816, - "end": 18846, + "start": 18984, + "end": 19014, "loc": { "start": { "line": 518, @@ -13860,8 +13860,8 @@ }, "left": { "type": "MemberExpression", - "start": 18816, - "end": 18832, + "start": 18984, + "end": 19000, "loc": { "start": { "line": 518, @@ -13874,8 +13874,8 @@ }, "object": { "type": "Identifier", - "start": 18816, - "end": 18822, + "start": 18984, + "end": 18990, "loc": { "start": { "line": 518, @@ -13891,8 +13891,8 @@ }, "property": { "type": "Identifier", - "start": 18823, - "end": 18832, + "start": 18991, + "end": 19000, "loc": { "start": { "line": 518, @@ -13911,8 +13911,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 18837, - "end": 18846, + "start": 19005, + "end": 19014, "loc": { "start": { "line": 518, @@ -13930,8 +13930,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 18848, - "end": 18917, + "start": 19016, + "end": 19110, "loc": { "start": { "line": 518, @@ -13945,8 +13945,8 @@ "body": [ { "type": "ThrowStatement", - "start": 18862, - "end": 18907, + "start": 19030, + "end": 19100, "loc": { "start": { "line": 519, @@ -13954,13 +13954,13 @@ }, "end": { "line": 519, - "column": 57 + "column": 82 } }, "argument": { "type": "StringLiteral", - "start": 18868, - "end": 18906, + "start": 19036, + "end": 19099, "loc": { "start": { "line": 519, @@ -13968,14 +13968,14 @@ }, "end": { "line": 519, - "column": 56 + "column": 81 } }, "extra": { - "rawValue": "Parameter expected: params.textureId", - "raw": "\"Parameter expected: params.textureId\"" + "rawValue": "[XKTModel.createTexture] Parameter expected: params.textureId", + "raw": "\"[XKTModel.createTexture] Parameter expected: params.textureId\"" }, - "value": "Parameter expected: params.textureId" + "value": "[XKTModel.createTexture] Parameter expected: params.textureId" } } ], @@ -13985,8 +13985,8 @@ }, { "type": "IfStatement", - "start": 18927, - "end": 19048, + "start": 19120, + "end": 19266, "loc": { "start": { "line": 522, @@ -13999,8 +13999,8 @@ }, "test": { "type": "LogicalExpression", - "start": 18931, - "end": 18963, + "start": 19124, + "end": 19156, "loc": { "start": { "line": 522, @@ -14013,8 +14013,8 @@ }, "left": { "type": "UnaryExpression", - "start": 18931, - "end": 18948, + "start": 19124, + "end": 19141, "loc": { "start": { "line": 522, @@ -14029,8 +14029,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18932, - "end": 18948, + "start": 19125, + "end": 19141, "loc": { "start": { "line": 522, @@ -14043,8 +14043,8 @@ }, "object": { "type": "Identifier", - "start": 18932, - "end": 18938, + "start": 19125, + "end": 19131, "loc": { "start": { "line": 522, @@ -14060,8 +14060,8 @@ }, "property": { "type": "Identifier", - "start": 18939, - "end": 18948, + "start": 19132, + "end": 19141, "loc": { "start": { "line": 522, @@ -14084,8 +14084,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 18952, - "end": 18963, + "start": 19145, + "end": 19156, "loc": { "start": { "line": 522, @@ -14100,8 +14100,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18953, - "end": 18963, + "start": 19146, + "end": 19156, "loc": { "start": { "line": 522, @@ -14114,8 +14114,8 @@ }, "object": { "type": "Identifier", - "start": 18953, - "end": 18959, + "start": 19146, + "end": 19152, "loc": { "start": { "line": 522, @@ -14131,8 +14131,8 @@ }, "property": { "type": "Identifier", - "start": 18960, - "end": 18963, + "start": 19153, + "end": 19156, "loc": { "start": { "line": 522, @@ -14155,8 +14155,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 18965, - "end": 19048, + "start": 19158, + "end": 19266, "loc": { "start": { "line": 522, @@ -14170,8 +14170,8 @@ "body": [ { "type": "ThrowStatement", - "start": 18979, - "end": 19038, + "start": 19172, + "end": 19256, "loc": { "start": { "line": 523, @@ -14179,13 +14179,13 @@ }, "end": { "line": 523, - "column": 71 + "column": 96 } }, "argument": { "type": "StringLiteral", - "start": 18985, - "end": 19037, + "start": 19178, + "end": 19255, "loc": { "start": { "line": 523, @@ -14193,14 +14193,14 @@ }, "end": { "line": 523, - "column": 70 + "column": 95 } }, "extra": { - "rawValue": "Parameter expected: params.imageData or params.src", - "raw": "\"Parameter expected: params.imageData or params.src\"" + "rawValue": "[XKTModel.createTexture] Parameter expected: params.imageData or params.src", + "raw": "\"[XKTModel.createTexture] Parameter expected: params.imageData or params.src\"" }, - "value": "Parameter expected: params.imageData or params.src" + "value": "[XKTModel.createTexture] Parameter expected: params.imageData or params.src" } } ], @@ -14210,8 +14210,8 @@ }, { "type": "IfStatement", - "start": 19058, - "end": 19192, + "start": 19276, + "end": 19410, "loc": { "start": { "line": 526, @@ -14224,8 +14224,8 @@ }, "test": { "type": "MemberExpression", - "start": 19062, - "end": 19076, + "start": 19280, + "end": 19294, "loc": { "start": { "line": 526, @@ -14238,8 +14238,8 @@ }, "object": { "type": "ThisExpression", - "start": 19062, - "end": 19066, + "start": 19280, + "end": 19284, "loc": { "start": { "line": 526, @@ -14253,8 +14253,8 @@ }, "property": { "type": "Identifier", - "start": 19067, - "end": 19076, + "start": 19285, + "end": 19294, "loc": { "start": { "line": 526, @@ -14272,8 +14272,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 19078, - "end": 19192, + "start": 19296, + "end": 19410, "loc": { "start": { "line": 526, @@ -14287,8 +14287,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 19092, - "end": 19162, + "start": 19310, + "end": 19380, "loc": { "start": { "line": 527, @@ -14301,8 +14301,8 @@ }, "expression": { "type": "CallExpression", - "start": 19092, - "end": 19161, + "start": 19310, + "end": 19379, "loc": { "start": { "line": 527, @@ -14315,8 +14315,8 @@ }, "callee": { "type": "MemberExpression", - "start": 19092, - "end": 19105, + "start": 19310, + "end": 19323, "loc": { "start": { "line": 527, @@ -14329,8 +14329,8 @@ }, "object": { "type": "Identifier", - "start": 19092, - "end": 19099, + "start": 19310, + "end": 19317, "loc": { "start": { "line": 527, @@ -14346,8 +14346,8 @@ }, "property": { "type": "Identifier", - "start": 19100, - "end": 19105, + "start": 19318, + "end": 19323, "loc": { "start": { "line": 527, @@ -14366,8 +14366,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 19106, - "end": 19160, + "start": 19324, + "end": 19378, "loc": { "start": { "line": 527, @@ -14389,8 +14389,8 @@ }, { "type": "ReturnStatement", - "start": 19175, - "end": 19182, + "start": 19393, + "end": 19400, "loc": { "start": { "line": 528, @@ -14410,8 +14410,8 @@ }, { "type": "IfStatement", - "start": 19202, - "end": 19360, + "start": 19420, + "end": 19578, "loc": { "start": { "line": 531, @@ -14424,8 +14424,8 @@ }, "test": { "type": "MemberExpression", - "start": 19206, - "end": 19237, + "start": 19424, + "end": 19455, "loc": { "start": { "line": 531, @@ -14438,8 +14438,8 @@ }, "object": { "type": "MemberExpression", - "start": 19206, - "end": 19219, + "start": 19424, + "end": 19437, "loc": { "start": { "line": 531, @@ -14452,8 +14452,8 @@ }, "object": { "type": "ThisExpression", - "start": 19206, - "end": 19210, + "start": 19424, + "end": 19428, "loc": { "start": { "line": 531, @@ -14467,8 +14467,8 @@ }, "property": { "type": "Identifier", - "start": 19211, - "end": 19219, + "start": 19429, + "end": 19437, "loc": { "start": { "line": 531, @@ -14486,8 +14486,8 @@ }, "property": { "type": "MemberExpression", - "start": 19220, - "end": 19236, + "start": 19438, + "end": 19454, "loc": { "start": { "line": 531, @@ -14500,8 +14500,8 @@ }, "object": { "type": "Identifier", - "start": 19220, - "end": 19226, + "start": 19438, + "end": 19444, "loc": { "start": { "line": 531, @@ -14517,8 +14517,8 @@ }, "property": { "type": "Identifier", - "start": 19227, - "end": 19236, + "start": 19445, + "end": 19454, "loc": { "start": { "line": 531, @@ -14538,8 +14538,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 19239, - "end": 19360, + "start": 19457, + "end": 19578, "loc": { "start": { "line": 531, @@ -14553,8 +14553,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 19253, - "end": 19330, + "start": 19471, + "end": 19548, "loc": { "start": { "line": 532, @@ -14567,8 +14567,8 @@ }, "expression": { "type": "CallExpression", - "start": 19253, - "end": 19329, + "start": 19471, + "end": 19547, "loc": { "start": { "line": 532, @@ -14581,8 +14581,8 @@ }, "callee": { "type": "MemberExpression", - "start": 19253, - "end": 19266, + "start": 19471, + "end": 19484, "loc": { "start": { "line": 532, @@ -14595,8 +14595,8 @@ }, "object": { "type": "Identifier", - "start": 19253, - "end": 19260, + "start": 19471, + "end": 19478, "loc": { "start": { "line": 532, @@ -14612,8 +14612,8 @@ }, "property": { "type": "Identifier", - "start": 19261, - "end": 19266, + "start": 19479, + "end": 19484, "loc": { "start": { "line": 532, @@ -14632,8 +14632,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 19267, - "end": 19328, + "start": 19485, + "end": 19546, "loc": { "start": { "line": 532, @@ -14646,8 +14646,8 @@ }, "left": { "type": "StringLiteral", - "start": 19267, - "end": 19309, + "start": 19485, + "end": 19527, "loc": { "start": { "line": 532, @@ -14667,8 +14667,8 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 19312, - "end": 19328, + "start": 19530, + "end": 19546, "loc": { "start": { "line": 532, @@ -14681,8 +14681,8 @@ }, "object": { "type": "Identifier", - "start": 19312, - "end": 19318, + "start": 19530, + "end": 19536, "loc": { "start": { "line": 532, @@ -14698,8 +14698,8 @@ }, "property": { "type": "Identifier", - "start": 19319, - "end": 19328, + "start": 19537, + "end": 19546, "loc": { "start": { "line": 532, @@ -14721,8 +14721,8 @@ }, { "type": "ReturnStatement", - "start": 19343, - "end": 19350, + "start": 19561, + "end": 19568, "loc": { "start": { "line": 533, @@ -14742,8 +14742,8 @@ }, { "type": "IfStatement", - "start": 19370, - "end": 19716, + "start": 19588, + "end": 19934, "loc": { "start": { "line": 536, @@ -14756,8 +14756,8 @@ }, "test": { "type": "MemberExpression", - "start": 19374, - "end": 19384, + "start": 19592, + "end": 19602, "loc": { "start": { "line": 536, @@ -14770,8 +14770,8 @@ }, "object": { "type": "Identifier", - "start": 19374, - "end": 19380, + "start": 19592, + "end": 19598, "loc": { "start": { "line": 536, @@ -14787,8 +14787,8 @@ }, "property": { "type": "Identifier", - "start": 19381, - "end": 19384, + "start": 19599, + "end": 19602, "loc": { "start": { "line": 536, @@ -14806,8 +14806,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 19386, - "end": 19716, + "start": 19604, + "end": 19934, "loc": { "start": { "line": 536, @@ -14821,8 +14821,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 19400, - "end": 19444, + "start": 19618, + "end": 19662, "loc": { "start": { "line": 537, @@ -14836,8 +14836,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 19406, - "end": 19443, + "start": 19624, + "end": 19661, "loc": { "start": { "line": 537, @@ -14850,8 +14850,8 @@ }, "id": { "type": "Identifier", - "start": 19406, - "end": 19413, + "start": 19624, + "end": 19631, "loc": { "start": { "line": 537, @@ -14867,8 +14867,8 @@ }, "init": { "type": "CallExpression", - "start": 19416, - "end": 19443, + "start": 19634, + "end": 19661, "loc": { "start": { "line": 537, @@ -14881,8 +14881,8 @@ }, "callee": { "type": "MemberExpression", - "start": 19416, - "end": 19441, + "start": 19634, + "end": 19659, "loc": { "start": { "line": 537, @@ -14895,8 +14895,8 @@ }, "object": { "type": "CallExpression", - "start": 19416, - "end": 19437, + "start": 19634, + "end": 19655, "loc": { "start": { "line": 537, @@ -14909,8 +14909,8 @@ }, "callee": { "type": "MemberExpression", - "start": 19416, - "end": 19432, + "start": 19634, + "end": 19650, "loc": { "start": { "line": 537, @@ -14923,8 +14923,8 @@ }, "object": { "type": "MemberExpression", - "start": 19416, - "end": 19426, + "start": 19634, + "end": 19644, "loc": { "start": { "line": 537, @@ -14937,8 +14937,8 @@ }, "object": { "type": "Identifier", - "start": 19416, - "end": 19422, + "start": 19634, + "end": 19640, "loc": { "start": { "line": 537, @@ -14954,8 +14954,8 @@ }, "property": { "type": "Identifier", - "start": 19423, - "end": 19426, + "start": 19641, + "end": 19644, "loc": { "start": { "line": 537, @@ -14973,8 +14973,8 @@ }, "property": { "type": "Identifier", - "start": 19427, - "end": 19432, + "start": 19645, + "end": 19650, "loc": { "start": { "line": 537, @@ -14993,8 +14993,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 19433, - "end": 19436, + "start": 19651, + "end": 19654, "loc": { "start": { "line": 537, @@ -15015,8 +15015,8 @@ }, "property": { "type": "Identifier", - "start": 19438, - "end": 19441, + "start": 19656, + "end": 19659, "loc": { "start": { "line": 537, @@ -15040,8 +15040,8 @@ }, { "type": "IfStatement", - "start": 19457, - "end": 19706, + "start": 19675, + "end": 19924, "loc": { "start": { "line": 538, @@ -15054,8 +15054,8 @@ }, "test": { "type": "LogicalExpression", - "start": 19461, - "end": 19521, + "start": 19679, + "end": 19739, "loc": { "start": { "line": 538, @@ -15068,8 +15068,8 @@ }, "left": { "type": "LogicalExpression", - "start": 19461, - "end": 19500, + "start": 19679, + "end": 19718, "loc": { "start": { "line": 538, @@ -15082,8 +15082,8 @@ }, "left": { "type": "BinaryExpression", - "start": 19461, - "end": 19478, + "start": 19679, + "end": 19696, "loc": { "start": { "line": 538, @@ -15096,8 +15096,8 @@ }, "left": { "type": "Identifier", - "start": 19461, - "end": 19468, + "start": 19679, + "end": 19686, "loc": { "start": { "line": 538, @@ -15114,8 +15114,8 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 19473, - "end": 19478, + "start": 19691, + "end": 19696, "loc": { "start": { "line": 538, @@ -15136,8 +15136,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 19482, - "end": 19500, + "start": 19700, + "end": 19718, "loc": { "start": { "line": 538, @@ -15150,8 +15150,8 @@ }, "left": { "type": "Identifier", - "start": 19482, - "end": 19489, + "start": 19700, + "end": 19707, "loc": { "start": { "line": 538, @@ -15168,8 +15168,8 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 19494, - "end": 19500, + "start": 19712, + "end": 19718, "loc": { "start": { "line": 538, @@ -15191,8 +15191,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 19504, - "end": 19521, + "start": 19722, + "end": 19739, "loc": { "start": { "line": 538, @@ -15205,8 +15205,8 @@ }, "left": { "type": "Identifier", - "start": 19504, - "end": 19511, + "start": 19722, + "end": 19729, "loc": { "start": { "line": 538, @@ -15223,8 +15223,8 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 19516, - "end": 19521, + "start": 19734, + "end": 19739, "loc": { "start": { "line": 538, @@ -15245,8 +15245,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 19523, - "end": 19706, + "start": 19741, + "end": 19924, "loc": { "start": { "line": 538, @@ -15260,8 +15260,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 19541, - "end": 19668, + "start": 19759, + "end": 19886, "loc": { "start": { "line": 539, @@ -15274,8 +15274,8 @@ }, "expression": { "type": "CallExpression", - "start": 19541, - "end": 19667, + "start": 19759, + "end": 19885, "loc": { "start": { "line": 539, @@ -15288,8 +15288,8 @@ }, "callee": { "type": "MemberExpression", - "start": 19541, - "end": 19554, + "start": 19759, + "end": 19772, "loc": { "start": { "line": 539, @@ -15302,8 +15302,8 @@ }, "object": { "type": "Identifier", - "start": 19541, - "end": 19548, + "start": 19759, + "end": 19766, "loc": { "start": { "line": 539, @@ -15319,8 +15319,8 @@ }, "property": { "type": "Identifier", - "start": 19549, - "end": 19554, + "start": 19767, + "end": 19772, "loc": { "start": { "line": 539, @@ -15339,8 +15339,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 19555, - "end": 19666, + "start": 19773, + "end": 19884, "loc": { "start": { "line": 539, @@ -15354,8 +15354,8 @@ "expressions": [ { "type": "Identifier", - "start": 19612, - "end": 19619, + "start": 19830, + "end": 19837, "loc": { "start": { "line": 539, @@ -15371,8 +15371,8 @@ }, { "type": "MemberExpression", - "start": 19648, - "end": 19664, + "start": 19866, + "end": 19882, "loc": { "start": { "line": 539, @@ -15385,8 +15385,8 @@ }, "object": { "type": "Identifier", - "start": 19648, - "end": 19654, + "start": 19866, + "end": 19872, "loc": { "start": { "line": 539, @@ -15402,8 +15402,8 @@ }, "property": { "type": "Identifier", - "start": 19655, - "end": 19664, + "start": 19873, + "end": 19882, "loc": { "start": { "line": 539, @@ -15423,8 +15423,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 19556, - "end": 19610, + "start": 19774, + "end": 19828, "loc": { "start": { "line": 539, @@ -15443,8 +15443,8 @@ }, { "type": "TemplateElement", - "start": 19620, - "end": 19646, + "start": 19838, + "end": 19864, "loc": { "start": { "line": 539, @@ -15463,8 +15463,8 @@ }, { "type": "TemplateElement", - "start": 19665, - "end": 19665, + "start": 19883, + "end": 19883, "loc": { "start": { "line": 539, @@ -15488,8 +15488,8 @@ }, { "type": "ReturnStatement", - "start": 19685, - "end": 19692, + "start": 19903, + "end": 19910, "loc": { "start": { "line": 540, @@ -15514,8 +15514,8 @@ }, { "type": "VariableDeclaration", - "start": 19726, - "end": 19761, + "start": 19944, + "end": 19979, "loc": { "start": { "line": 544, @@ -15529,8 +15529,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 19732, - "end": 19760, + "start": 19950, + "end": 19978, "loc": { "start": { "line": 544, @@ -15543,8 +15543,8 @@ }, "id": { "type": "Identifier", - "start": 19732, - "end": 19741, + "start": 19950, + "end": 19959, "loc": { "start": { "line": 544, @@ -15560,8 +15560,8 @@ }, "init": { "type": "MemberExpression", - "start": 19744, - "end": 19760, + "start": 19962, + "end": 19978, "loc": { "start": { "line": 544, @@ -15574,8 +15574,8 @@ }, "object": { "type": "Identifier", - "start": 19744, - "end": 19750, + "start": 19962, + "end": 19968, "loc": { "start": { "line": 544, @@ -15591,8 +15591,8 @@ }, "property": { "type": "Identifier", - "start": 19751, - "end": 19760, + "start": 19969, + "end": 19978, "loc": { "start": { "line": 544, @@ -15614,8 +15614,8 @@ }, { "type": "VariableDeclaration", - "start": 19771, - "end": 20252, + "start": 19989, + "end": 20470, "loc": { "start": { "line": 546, @@ -15629,8 +15629,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 19777, - "end": 20251, + "start": 19995, + "end": 20469, "loc": { "start": { "line": 546, @@ -15643,8 +15643,8 @@ }, "id": { "type": "Identifier", - "start": 19777, - "end": 19784, + "start": 19995, + "end": 20002, "loc": { "start": { "line": 546, @@ -15660,8 +15660,8 @@ }, "init": { "type": "NewExpression", - "start": 19787, - "end": 20251, + "start": 20005, + "end": 20469, "loc": { "start": { "line": 546, @@ -15674,8 +15674,8 @@ }, "callee": { "type": "Identifier", - "start": 19791, - "end": 19801, + "start": 20009, + "end": 20019, "loc": { "start": { "line": 546, @@ -15692,8 +15692,8 @@ "arguments": [ { "type": "ObjectExpression", - "start": 19802, - "end": 20250, + "start": 20020, + "end": 20468, "loc": { "start": { "line": 546, @@ -15707,8 +15707,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 19816, - "end": 19825, + "start": 20034, + "end": 20043, "loc": { "start": { "line": 547, @@ -15724,8 +15724,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 19816, - "end": 19825, + "start": 20034, + "end": 20043, "loc": { "start": { "line": 547, @@ -15741,8 +15741,8 @@ }, "value": { "type": "Identifier", - "start": 19816, - "end": 19825, + "start": 20034, + "end": 20043, "loc": { "start": { "line": 547, @@ -15762,8 +15762,8 @@ }, { "type": "ObjectProperty", - "start": 19839, - "end": 19866, + "start": 20057, + "end": 20084, "loc": { "start": { "line": 548, @@ -15779,8 +15779,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 19839, - "end": 19848, + "start": 20057, + "end": 20066, "loc": { "start": { "line": 548, @@ -15796,8 +15796,8 @@ }, "value": { "type": "MemberExpression", - "start": 19850, - "end": 19866, + "start": 20068, + "end": 20084, "loc": { "start": { "line": 548, @@ -15810,8 +15810,8 @@ }, "object": { "type": "Identifier", - "start": 19850, - "end": 19856, + "start": 20068, + "end": 20074, "loc": { "start": { "line": 548, @@ -15827,8 +15827,8 @@ }, "property": { "type": "Identifier", - "start": 19857, - "end": 19866, + "start": 20075, + "end": 20084, "loc": { "start": { "line": 548, @@ -15847,8 +15847,8 @@ }, { "type": "ObjectProperty", - "start": 19880, - "end": 19907, + "start": 20098, + "end": 20125, "loc": { "start": { "line": 549, @@ -15864,8 +15864,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 19880, - "end": 19889, + "start": 20098, + "end": 20107, "loc": { "start": { "line": 549, @@ -15881,8 +15881,8 @@ }, "value": { "type": "MemberExpression", - "start": 19891, - "end": 19907, + "start": 20109, + "end": 20125, "loc": { "start": { "line": 549, @@ -15895,8 +15895,8 @@ }, "object": { "type": "Identifier", - "start": 19891, - "end": 19897, + "start": 20109, + "end": 20115, "loc": { "start": { "line": 549, @@ -15912,8 +15912,8 @@ }, "property": { "type": "Identifier", - "start": 19898, - "end": 19907, + "start": 20116, + "end": 20125, "loc": { "start": { "line": 549, @@ -15932,8 +15932,8 @@ }, { "type": "ObjectProperty", - "start": 19921, - "end": 19948, + "start": 20139, + "end": 20166, "loc": { "start": { "line": 550, @@ -15949,8 +15949,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 19921, - "end": 19930, + "start": 20139, + "end": 20148, "loc": { "start": { "line": 550, @@ -15966,8 +15966,8 @@ }, "value": { "type": "MemberExpression", - "start": 19932, - "end": 19948, + "start": 20150, + "end": 20166, "loc": { "start": { "line": 550, @@ -15980,8 +15980,8 @@ }, "object": { "type": "Identifier", - "start": 19932, - "end": 19938, + "start": 20150, + "end": 20156, "loc": { "start": { "line": 550, @@ -15997,8 +15997,8 @@ }, "property": { "type": "Identifier", - "start": 19939, - "end": 19948, + "start": 20157, + "end": 20166, "loc": { "start": { "line": 550, @@ -16017,8 +16017,8 @@ }, { "type": "ObjectProperty", - "start": 19962, - "end": 19989, + "start": 20180, + "end": 20207, "loc": { "start": { "line": 551, @@ -16034,8 +16034,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 19962, - "end": 19971, + "start": 20180, + "end": 20189, "loc": { "start": { "line": 551, @@ -16051,8 +16051,8 @@ }, "value": { "type": "MemberExpression", - "start": 19973, - "end": 19989, + "start": 20191, + "end": 20207, "loc": { "start": { "line": 551, @@ -16065,8 +16065,8 @@ }, "object": { "type": "Identifier", - "start": 19973, - "end": 19979, + "start": 20191, + "end": 20197, "loc": { "start": { "line": 551, @@ -16082,8 +16082,8 @@ }, "property": { "type": "Identifier", - "start": 19980, - "end": 19989, + "start": 20198, + "end": 20207, "loc": { "start": { "line": 551, @@ -16102,8 +16102,8 @@ }, { "type": "ObjectProperty", - "start": 20003, - "end": 20022, + "start": 20221, + "end": 20240, "loc": { "start": { "line": 552, @@ -16119,8 +16119,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20003, - "end": 20008, + "start": 20221, + "end": 20226, "loc": { "start": { "line": 552, @@ -16136,8 +16136,8 @@ }, "value": { "type": "MemberExpression", - "start": 20010, - "end": 20022, + "start": 20228, + "end": 20240, "loc": { "start": { "line": 552, @@ -16150,8 +16150,8 @@ }, "object": { "type": "Identifier", - "start": 20010, - "end": 20016, + "start": 20228, + "end": 20234, "loc": { "start": { "line": 552, @@ -16167,8 +16167,8 @@ }, "property": { "type": "Identifier", - "start": 20017, - "end": 20022, + "start": 20235, + "end": 20240, "loc": { "start": { "line": 552, @@ -16187,8 +16187,8 @@ }, { "type": "ObjectProperty", - "start": 20036, - "end": 20055, + "start": 20254, + "end": 20273, "loc": { "start": { "line": 553, @@ -16204,8 +16204,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20036, - "end": 20041, + "start": 20254, + "end": 20259, "loc": { "start": { "line": 553, @@ -16221,8 +16221,8 @@ }, "value": { "type": "MemberExpression", - "start": 20043, - "end": 20055, + "start": 20261, + "end": 20273, "loc": { "start": { "line": 553, @@ -16235,8 +16235,8 @@ }, "object": { "type": "Identifier", - "start": 20043, - "end": 20049, + "start": 20261, + "end": 20267, "loc": { "start": { "line": 553, @@ -16252,8 +16252,8 @@ }, "property": { "type": "Identifier", - "start": 20050, - "end": 20055, + "start": 20268, + "end": 20273, "loc": { "start": { "line": 553, @@ -16272,8 +16272,8 @@ }, { "type": "ObjectProperty", - "start": 20069, - "end": 20088, + "start": 20287, + "end": 20306, "loc": { "start": { "line": 554, @@ -16289,8 +16289,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20069, - "end": 20074, + "start": 20287, + "end": 20292, "loc": { "start": { "line": 554, @@ -16306,8 +16306,8 @@ }, "value": { "type": "MemberExpression", - "start": 20076, - "end": 20088, + "start": 20294, + "end": 20306, "loc": { "start": { "line": 554, @@ -16320,8 +16320,8 @@ }, "object": { "type": "Identifier", - "start": 20076, - "end": 20082, + "start": 20294, + "end": 20300, "loc": { "start": { "line": 554, @@ -16337,8 +16337,8 @@ }, "property": { "type": "Identifier", - "start": 20083, - "end": 20088, + "start": 20301, + "end": 20306, "loc": { "start": { "line": 554, @@ -16357,8 +16357,8 @@ }, { "type": "ObjectProperty", - "start": 20102, - "end": 20121, + "start": 20320, + "end": 20339, "loc": { "start": { "line": 555, @@ -16374,8 +16374,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20102, - "end": 20107, + "start": 20320, + "end": 20325, "loc": { "start": { "line": 555, @@ -16391,8 +16391,8 @@ }, "value": { "type": "MemberExpression", - "start": 20109, - "end": 20121, + "start": 20327, + "end": 20339, "loc": { "start": { "line": 555, @@ -16405,8 +16405,8 @@ }, "object": { "type": "Identifier", - "start": 20109, - "end": 20115, + "start": 20327, + "end": 20333, "loc": { "start": { "line": 555, @@ -16422,8 +16422,8 @@ }, "property": { "type": "Identifier", - "start": 20116, - "end": 20121, + "start": 20334, + "end": 20339, "loc": { "start": { "line": 555, @@ -16442,8 +16442,8 @@ }, { "type": "ObjectProperty", - "start": 20135, - "end": 20156, + "start": 20353, + "end": 20374, "loc": { "start": { "line": 556, @@ -16459,8 +16459,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20135, - "end": 20141, + "start": 20353, + "end": 20359, "loc": { "start": { "line": 556, @@ -16476,8 +16476,8 @@ }, "value": { "type": "MemberExpression", - "start": 20143, - "end": 20156, + "start": 20361, + "end": 20374, "loc": { "start": { "line": 556, @@ -16490,8 +16490,8 @@ }, "object": { "type": "Identifier", - "start": 20143, - "end": 20149, + "start": 20361, + "end": 20367, "loc": { "start": { "line": 556, @@ -16507,8 +16507,8 @@ }, "property": { "type": "Identifier", - "start": 20150, - "end": 20156, + "start": 20368, + "end": 20374, "loc": { "start": { "line": 556, @@ -16527,8 +16527,8 @@ }, { "type": "ObjectProperty", - "start": 20170, - "end": 20211, + "start": 20388, + "end": 20429, "loc": { "start": { "line": 557, @@ -16544,8 +16544,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20170, - "end": 20180, + "start": 20388, + "end": 20398, "loc": { "start": { "line": 557, @@ -16561,8 +16561,8 @@ }, "value": { "type": "BinaryExpression", - "start": 20183, - "end": 20210, + "start": 20401, + "end": 20428, "loc": { "start": { "line": 557, @@ -16575,8 +16575,8 @@ }, "left": { "type": "MemberExpression", - "start": 20183, - "end": 20200, + "start": 20401, + "end": 20418, "loc": { "start": { "line": 557, @@ -16589,8 +16589,8 @@ }, "object": { "type": "Identifier", - "start": 20183, - "end": 20189, + "start": 20401, + "end": 20407, "loc": { "start": { "line": 557, @@ -16606,8 +16606,8 @@ }, "property": { "type": "Identifier", - "start": 20190, - "end": 20200, + "start": 20408, + "end": 20418, "loc": { "start": { "line": 557, @@ -16626,8 +16626,8 @@ "operator": "!==", "right": { "type": "BooleanLiteral", - "start": 20205, - "end": 20210, + "start": 20423, + "end": 20428, "loc": { "start": { "line": 557, @@ -16642,14 +16642,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 20182 + "parenStart": 20400 } } }, { "type": "ObjectProperty", - "start": 20225, - "end": 20240, + "start": 20443, + "end": 20458, "loc": { "start": { "line": 558, @@ -16665,8 +16665,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20225, - "end": 20228, + "start": 20443, + "end": 20446, "loc": { "start": { "line": 558, @@ -16682,8 +16682,8 @@ }, "value": { "type": "MemberExpression", - "start": 20230, - "end": 20240, + "start": 20448, + "end": 20458, "loc": { "start": { "line": 558, @@ -16696,8 +16696,8 @@ }, "object": { "type": "Identifier", - "start": 20230, - "end": 20236, + "start": 20448, + "end": 20454, "loc": { "start": { "line": 558, @@ -16713,8 +16713,8 @@ }, "property": { "type": "Identifier", - "start": 20237, - "end": 20240, + "start": 20455, + "end": 20458, "loc": { "start": { "line": 558, @@ -16741,8 +16741,8 @@ }, { "type": "ExpressionStatement", - "start": 20262, - "end": 20297, + "start": 20480, + "end": 20515, "loc": { "start": { "line": 561, @@ -16755,8 +16755,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 20262, - "end": 20296, + "start": 20480, + "end": 20514, "loc": { "start": { "line": 561, @@ -16770,8 +16770,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 20262, - "end": 20286, + "start": 20480, + "end": 20504, "loc": { "start": { "line": 561, @@ -16784,8 +16784,8 @@ }, "object": { "type": "MemberExpression", - "start": 20262, - "end": 20275, + "start": 20480, + "end": 20493, "loc": { "start": { "line": 561, @@ -16798,8 +16798,8 @@ }, "object": { "type": "ThisExpression", - "start": 20262, - "end": 20266, + "start": 20480, + "end": 20484, "loc": { "start": { "line": 561, @@ -16813,8 +16813,8 @@ }, "property": { "type": "Identifier", - "start": 20267, - "end": 20275, + "start": 20485, + "end": 20493, "loc": { "start": { "line": 561, @@ -16832,8 +16832,8 @@ }, "property": { "type": "Identifier", - "start": 20276, - "end": 20285, + "start": 20494, + "end": 20503, "loc": { "start": { "line": 561, @@ -16851,8 +16851,8 @@ }, "right": { "type": "Identifier", - "start": 20289, - "end": 20296, + "start": 20507, + "end": 20514, "loc": { "start": { "line": 561, @@ -16870,8 +16870,8 @@ }, { "type": "ExpressionStatement", - "start": 20306, - "end": 20338, + "start": 20524, + "end": 20556, "loc": { "start": { "line": 562, @@ -16884,8 +16884,8 @@ }, "expression": { "type": "CallExpression", - "start": 20306, - "end": 20337, + "start": 20524, + "end": 20555, "loc": { "start": { "line": 562, @@ -16898,8 +16898,8 @@ }, "callee": { "type": "MemberExpression", - "start": 20306, - "end": 20328, + "start": 20524, + "end": 20546, "loc": { "start": { "line": 562, @@ -16912,8 +16912,8 @@ }, "object": { "type": "MemberExpression", - "start": 20306, - "end": 20323, + "start": 20524, + "end": 20541, "loc": { "start": { "line": 562, @@ -16926,8 +16926,8 @@ }, "object": { "type": "ThisExpression", - "start": 20306, - "end": 20310, + "start": 20524, + "end": 20528, "loc": { "start": { "line": 562, @@ -16941,8 +16941,8 @@ }, "property": { "type": "Identifier", - "start": 20311, - "end": 20323, + "start": 20529, + "end": 20541, "loc": { "start": { "line": 562, @@ -16960,8 +16960,8 @@ }, "property": { "type": "Identifier", - "start": 20324, - "end": 20328, + "start": 20542, + "end": 20546, "loc": { "start": { "line": 562, @@ -16980,8 +16980,8 @@ "arguments": [ { "type": "Identifier", - "start": 20329, - "end": 20336, + "start": 20547, + "end": 20554, "loc": { "start": { "line": 562, @@ -17000,8 +17000,8 @@ }, { "type": "ReturnStatement", - "start": 20348, - "end": 20363, + "start": 20566, + "end": 20581, "loc": { "start": { "line": 564, @@ -17014,8 +17014,8 @@ }, "argument": { "type": "Identifier", - "start": 20355, - "end": 20362, + "start": 20573, + "end": 20580, "loc": { "start": { "line": 564, @@ -17038,8 +17038,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTexture} within this XKTModel.\n *\n * Registers the new {@link XKTTexture} in {@link XKTModel#textures} and {@link XKTModel#texturesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureId Unique ID for the {@link XKTTexture}.\n * @param {String} [params.src] Source of an image file for the texture.\n * @param {Buffer} [params.imageData] Image data for the texture.\n * @param {Number} [params.mediaType] Media type (ie. MIME type) of ````imageData````. Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n * @param {Number} [params.width] Texture width, used with ````imageData````. Ignored for compressed textures.\n * @param {Number} [params.height] Texture height, used with ````imageData````. Ignored for compressed textures.\n * @param {Boolean} [params.compressed=true] Whether to compress the texture.\n * @param {Number} [params.minFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers less than one pixel. Supported\n * values are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter}, {@link NearestMipMapNearestFilter},\n * {@link NearestMipMapLinearFilter} and {@link LinearMipMapLinearFilter}. Ignored for compressed textures.\n * @param {Number} [params.magFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}. Ignored for compressed textures.\n * @param {Number} [params.wrapS=RepeatWrapping] Wrap parameter for texture coordinate *S*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @param {Number} [params.wrapT=RepeatWrapping] Wrap parameter for texture coordinate *T*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * {@param {Number} [params.wrapR=RepeatWrapping] Wrap parameter for texture coordinate *R*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @returns {XKTTexture} The new {@link XKTTexture}.\n ", - "start": 16174, - "end": 18662, + "start": 16317, + "end": 18805, "loc": { "start": { "line": 484, @@ -17056,8 +17056,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTextureSet} within this XKTModel.\n *\n * Registers the new {@link XKTTextureSet} in {@link XKTModel#textureSets} and {@link XKTModel#.textureSetsList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureSetId Unique ID for the {@link XKTTextureSet}.\n * @param {*} [params.colorTextureId] ID of *RGBA* base color {@link XKTTexture}, with color in *RGB* and alpha in *A*.\n * @param {*} [params.metallicRoughnessTextureId] ID of *RGBA* metal-roughness {@link XKTTexture}, with the metallic factor in *R*, and roughness factor in *G*.\n * @param {*} [params.normalsTextureId] ID of *RGBA* normal {@link XKTTexture}, with normal map vectors in *RGB*.\n * @param {*} [params.emissiveTextureId] ID of *RGBA* emissive {@link XKTTexture}, with emissive color in *RGB*.\n * @param {*} [params.occlusionTextureId] ID of *RGBA* occlusion {@link XKTTexture}, with occlusion factor in *R*.\n * @returns {XKTTextureSet} The new {@link XKTTextureSet}.\n ", - "start": 20375, - "end": 21526, + "start": 20593, + "end": 21744, "loc": { "start": { "line": 567, @@ -17073,8 +17073,8 @@ }, { "type": "ClassMethod", - "start": 21531, - "end": 24972, + "start": 21749, + "end": 25246, "loc": { "start": { "line": 583, @@ -17089,8 +17089,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 21531, - "end": 21547, + "start": 21749, + "end": 21765, "loc": { "start": { "line": 583, @@ -17113,8 +17113,8 @@ "params": [ { "type": "Identifier", - "start": 21548, - "end": 21554, + "start": 21766, + "end": 21772, "loc": { "start": { "line": 583, @@ -17131,8 +17131,8 @@ ], "body": { "type": "BlockStatement", - "start": 21556, - "end": 24972, + "start": 21774, + "end": 25246, "loc": { "start": { "line": 583, @@ -17146,8 +17146,8 @@ "body": [ { "type": "IfStatement", - "start": 21567, - "end": 21640, + "start": 21785, + "end": 21886, "loc": { "start": { "line": 585, @@ -17160,8 +17160,8 @@ }, "test": { "type": "UnaryExpression", - "start": 21571, - "end": 21578, + "start": 21789, + "end": 21796, "loc": { "start": { "line": 585, @@ -17176,8 +17176,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 21572, - "end": 21578, + "start": 21790, + "end": 21796, "loc": { "start": { "line": 585, @@ -17197,8 +17197,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 21580, - "end": 21640, + "start": 21798, + "end": 21886, "loc": { "start": { "line": 585, @@ -17212,8 +17212,8 @@ "body": [ { "type": "ThrowStatement", - "start": 21594, - "end": 21630, + "start": 21812, + "end": 21876, "loc": { "start": { "line": 586, @@ -17221,13 +17221,13 @@ }, "end": { "line": 586, - "column": 48 + "column": 76 } }, "argument": { "type": "StringLiteral", - "start": 21600, - "end": 21629, + "start": 21818, + "end": 21875, "loc": { "start": { "line": 586, @@ -17235,14 +17235,14 @@ }, "end": { "line": 586, - "column": 47 + "column": 75 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createTextureSet] Parameters expected: params", + "raw": "\"[XKTModel.createTextureSet] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createTextureSet] Parameters expected: params" } } ], @@ -17252,8 +17252,8 @@ }, { "type": "IfStatement", - "start": 21650, - "end": 21793, + "start": 21896, + "end": 22067, "loc": { "start": { "line": 589, @@ -17266,8 +17266,8 @@ }, "test": { "type": "LogicalExpression", - "start": 21654, - "end": 21719, + "start": 21900, + "end": 21965, "loc": { "start": { "line": 589, @@ -17280,8 +17280,8 @@ }, "left": { "type": "BinaryExpression", - "start": 21654, - "end": 21682, + "start": 21900, + "end": 21928, "loc": { "start": { "line": 589, @@ -17294,8 +17294,8 @@ }, "left": { "type": "MemberExpression", - "start": 21654, - "end": 21673, + "start": 21900, + "end": 21919, "loc": { "start": { "line": 589, @@ -17308,8 +17308,8 @@ }, "object": { "type": "Identifier", - "start": 21654, - "end": 21660, + "start": 21900, + "end": 21906, "loc": { "start": { "line": 589, @@ -17325,8 +17325,8 @@ }, "property": { "type": "Identifier", - "start": 21661, - "end": 21673, + "start": 21907, + "end": 21919, "loc": { "start": { "line": 589, @@ -17345,8 +17345,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 21678, - "end": 21682, + "start": 21924, + "end": 21928, "loc": { "start": { "line": 589, @@ -17362,8 +17362,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 21686, - "end": 21719, + "start": 21932, + "end": 21965, "loc": { "start": { "line": 589, @@ -17376,8 +17376,8 @@ }, "left": { "type": "MemberExpression", - "start": 21686, - "end": 21705, + "start": 21932, + "end": 21951, "loc": { "start": { "line": 589, @@ -17390,8 +17390,8 @@ }, "object": { "type": "Identifier", - "start": 21686, - "end": 21692, + "start": 21932, + "end": 21938, "loc": { "start": { "line": 589, @@ -17407,8 +17407,8 @@ }, "property": { "type": "Identifier", - "start": 21693, - "end": 21705, + "start": 21939, + "end": 21951, "loc": { "start": { "line": 589, @@ -17427,8 +17427,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21710, - "end": 21719, + "start": 21956, + "end": 21965, "loc": { "start": { "line": 589, @@ -17446,8 +17446,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 21721, - "end": 21793, + "start": 21967, + "end": 22067, "loc": { "start": { "line": 589, @@ -17461,8 +17461,8 @@ "body": [ { "type": "ThrowStatement", - "start": 21735, - "end": 21783, + "start": 21981, + "end": 22057, "loc": { "start": { "line": 590, @@ -17470,13 +17470,13 @@ }, "end": { "line": 590, - "column": 60 + "column": 88 } }, "argument": { "type": "StringLiteral", - "start": 21741, - "end": 21782, + "start": 21987, + "end": 22056, "loc": { "start": { "line": 590, @@ -17484,14 +17484,14 @@ }, "end": { "line": 590, - "column": 59 + "column": 87 } }, "extra": { - "rawValue": "Parameter expected: params.textureSetId", - "raw": "\"Parameter expected: params.textureSetId\"" + "rawValue": "[XKTModel.createTextureSet] Parameter expected: params.textureSetId", + "raw": "\"[XKTModel.createTextureSet] Parameter expected: params.textureSetId\"" }, - "value": "Parameter expected: params.textureSetId" + "value": "[XKTModel.createTextureSet] Parameter expected: params.textureSetId" } } ], @@ -17501,8 +17501,8 @@ }, { "type": "IfStatement", - "start": 21803, - "end": 21940, + "start": 22077, + "end": 22214, "loc": { "start": { "line": 593, @@ -17515,8 +17515,8 @@ }, "test": { "type": "MemberExpression", - "start": 21807, - "end": 21821, + "start": 22081, + "end": 22095, "loc": { "start": { "line": 593, @@ -17529,8 +17529,8 @@ }, "object": { "type": "ThisExpression", - "start": 21807, - "end": 21811, + "start": 22081, + "end": 22085, "loc": { "start": { "line": 593, @@ -17544,8 +17544,8 @@ }, "property": { "type": "Identifier", - "start": 21812, - "end": 21821, + "start": 22086, + "end": 22095, "loc": { "start": { "line": 593, @@ -17563,8 +17563,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 21823, - "end": 21940, + "start": 22097, + "end": 22214, "loc": { "start": { "line": 593, @@ -17578,8 +17578,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 21837, - "end": 21910, + "start": 22111, + "end": 22184, "loc": { "start": { "line": 594, @@ -17592,8 +17592,8 @@ }, "expression": { "type": "CallExpression", - "start": 21837, - "end": 21909, + "start": 22111, + "end": 22183, "loc": { "start": { "line": 594, @@ -17606,8 +17606,8 @@ }, "callee": { "type": "MemberExpression", - "start": 21837, - "end": 21850, + "start": 22111, + "end": 22124, "loc": { "start": { "line": 594, @@ -17620,8 +17620,8 @@ }, "object": { "type": "Identifier", - "start": 21837, - "end": 21844, + "start": 22111, + "end": 22118, "loc": { "start": { "line": 594, @@ -17637,8 +17637,8 @@ }, "property": { "type": "Identifier", - "start": 21845, - "end": 21850, + "start": 22119, + "end": 22124, "loc": { "start": { "line": 594, @@ -17657,8 +17657,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 21851, - "end": 21908, + "start": 22125, + "end": 22182, "loc": { "start": { "line": 594, @@ -17680,8 +17680,8 @@ }, { "type": "ReturnStatement", - "start": 21923, - "end": 21930, + "start": 22197, + "end": 22204, "loc": { "start": { "line": 595, @@ -17701,8 +17701,8 @@ }, { "type": "IfStatement", - "start": 21950, - "end": 22120, + "start": 22224, + "end": 22394, "loc": { "start": { "line": 598, @@ -17715,8 +17715,8 @@ }, "test": { "type": "MemberExpression", - "start": 21954, - "end": 21991, + "start": 22228, + "end": 22265, "loc": { "start": { "line": 598, @@ -17729,8 +17729,8 @@ }, "object": { "type": "MemberExpression", - "start": 21954, - "end": 21970, + "start": 22228, + "end": 22244, "loc": { "start": { "line": 598, @@ -17743,8 +17743,8 @@ }, "object": { "type": "ThisExpression", - "start": 21954, - "end": 21958, + "start": 22228, + "end": 22232, "loc": { "start": { "line": 598, @@ -17758,8 +17758,8 @@ }, "property": { "type": "Identifier", - "start": 21959, - "end": 21970, + "start": 22233, + "end": 22244, "loc": { "start": { "line": 598, @@ -17777,8 +17777,8 @@ }, "property": { "type": "MemberExpression", - "start": 21971, - "end": 21990, + "start": 22245, + "end": 22264, "loc": { "start": { "line": 598, @@ -17791,8 +17791,8 @@ }, "object": { "type": "Identifier", - "start": 21971, - "end": 21977, + "start": 22245, + "end": 22251, "loc": { "start": { "line": 598, @@ -17808,8 +17808,8 @@ }, "property": { "type": "Identifier", - "start": 21978, - "end": 21990, + "start": 22252, + "end": 22264, "loc": { "start": { "line": 598, @@ -17829,8 +17829,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 21993, - "end": 22120, + "start": 22267, + "end": 22394, "loc": { "start": { "line": 598, @@ -17844,8 +17844,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 22007, - "end": 22090, + "start": 22281, + "end": 22364, "loc": { "start": { "line": 599, @@ -17858,8 +17858,8 @@ }, "expression": { "type": "CallExpression", - "start": 22007, - "end": 22089, + "start": 22281, + "end": 22363, "loc": { "start": { "line": 599, @@ -17872,8 +17872,8 @@ }, "callee": { "type": "MemberExpression", - "start": 22007, - "end": 22020, + "start": 22281, + "end": 22294, "loc": { "start": { "line": 599, @@ -17886,8 +17886,8 @@ }, "object": { "type": "Identifier", - "start": 22007, - "end": 22014, + "start": 22281, + "end": 22288, "loc": { "start": { "line": 599, @@ -17903,8 +17903,8 @@ }, "property": { "type": "Identifier", - "start": 22015, - "end": 22020, + "start": 22289, + "end": 22294, "loc": { "start": { "line": 599, @@ -17923,8 +17923,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 22021, - "end": 22088, + "start": 22295, + "end": 22362, "loc": { "start": { "line": 599, @@ -17937,8 +17937,8 @@ }, "left": { "type": "StringLiteral", - "start": 22021, - "end": 22066, + "start": 22295, + "end": 22340, "loc": { "start": { "line": 599, @@ -17958,8 +17958,8 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 22069, - "end": 22088, + "start": 22343, + "end": 22362, "loc": { "start": { "line": 599, @@ -17972,8 +17972,8 @@ }, "object": { "type": "Identifier", - "start": 22069, - "end": 22075, + "start": 22343, + "end": 22349, "loc": { "start": { "line": 599, @@ -17989,8 +17989,8 @@ }, "property": { "type": "Identifier", - "start": 22076, - "end": 22088, + "start": 22350, + "end": 22362, "loc": { "start": { "line": 599, @@ -18012,8 +18012,8 @@ }, { "type": "ReturnStatement", - "start": 22103, - "end": 22110, + "start": 22377, + "end": 22384, "loc": { "start": { "line": 600, @@ -18033,8 +18033,8 @@ }, { "type": "VariableDeclaration", - "start": 22130, - "end": 22147, + "start": 22404, + "end": 22421, "loc": { "start": { "line": 603, @@ -18048,8 +18048,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 22134, - "end": 22146, + "start": 22408, + "end": 22420, "loc": { "start": { "line": 603, @@ -18062,8 +18062,8 @@ }, "id": { "type": "Identifier", - "start": 22134, - "end": 22146, + "start": 22408, + "end": 22420, "loc": { "start": { "line": 603, @@ -18084,8 +18084,8 @@ }, { "type": "IfStatement", - "start": 22156, - "end": 22561, + "start": 22430, + "end": 22835, "loc": { "start": { "line": 604, @@ -18098,8 +18098,8 @@ }, "test": { "type": "LogicalExpression", - "start": 22160, - "end": 22229, + "start": 22434, + "end": 22503, "loc": { "start": { "line": 604, @@ -18112,8 +18112,8 @@ }, "left": { "type": "BinaryExpression", - "start": 22160, - "end": 22195, + "start": 22434, + "end": 22469, "loc": { "start": { "line": 604, @@ -18126,8 +18126,8 @@ }, "left": { "type": "MemberExpression", - "start": 22160, - "end": 22181, + "start": 22434, + "end": 22455, "loc": { "start": { "line": 604, @@ -18140,8 +18140,8 @@ }, "object": { "type": "Identifier", - "start": 22160, - "end": 22166, + "start": 22434, + "end": 22440, "loc": { "start": { "line": 604, @@ -18157,8 +18157,8 @@ }, "property": { "type": "Identifier", - "start": 22167, - "end": 22181, + "start": 22441, + "end": 22455, "loc": { "start": { "line": 604, @@ -18177,8 +18177,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 22186, - "end": 22195, + "start": 22460, + "end": 22469, "loc": { "start": { "line": 604, @@ -18196,8 +18196,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 22199, - "end": 22229, + "start": 22473, + "end": 22503, "loc": { "start": { "line": 604, @@ -18210,8 +18210,8 @@ }, "left": { "type": "MemberExpression", - "start": 22199, - "end": 22220, + "start": 22473, + "end": 22494, "loc": { "start": { "line": 604, @@ -18224,8 +18224,8 @@ }, "object": { "type": "Identifier", - "start": 22199, - "end": 22205, + "start": 22473, + "end": 22479, "loc": { "start": { "line": 604, @@ -18241,8 +18241,8 @@ }, "property": { "type": "Identifier", - "start": 22206, - "end": 22220, + "start": 22480, + "end": 22494, "loc": { "start": { "line": 604, @@ -18261,8 +18261,8 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 22225, - "end": 22229, + "start": 22499, + "end": 22503, "loc": { "start": { "line": 604, @@ -18278,8 +18278,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 22231, - "end": 22561, + "start": 22505, + "end": 22835, "loc": { "start": { "line": 604, @@ -18293,8 +18293,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 22245, - "end": 22297, + "start": 22519, + "end": 22571, "loc": { "start": { "line": 605, @@ -18307,8 +18307,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 22245, - "end": 22296, + "start": 22519, + "end": 22570, "loc": { "start": { "line": 605, @@ -18322,8 +18322,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 22245, - "end": 22257, + "start": 22519, + "end": 22531, "loc": { "start": { "line": 605, @@ -18339,8 +18339,8 @@ }, "right": { "type": "MemberExpression", - "start": 22260, - "end": 22296, + "start": 22534, + "end": 22570, "loc": { "start": { "line": 605, @@ -18353,8 +18353,8 @@ }, "object": { "type": "MemberExpression", - "start": 22260, - "end": 22273, + "start": 22534, + "end": 22547, "loc": { "start": { "line": 605, @@ -18367,8 +18367,8 @@ }, "object": { "type": "ThisExpression", - "start": 22260, - "end": 22264, + "start": 22534, + "end": 22538, "loc": { "start": { "line": 605, @@ -18382,8 +18382,8 @@ }, "property": { "type": "Identifier", - "start": 22265, - "end": 22273, + "start": 22539, + "end": 22547, "loc": { "start": { "line": 605, @@ -18401,8 +18401,8 @@ }, "property": { "type": "MemberExpression", - "start": 22274, - "end": 22295, + "start": 22548, + "end": 22569, "loc": { "start": { "line": 605, @@ -18415,8 +18415,8 @@ }, "object": { "type": "Identifier", - "start": 22274, - "end": 22280, + "start": 22548, + "end": 22554, "loc": { "start": { "line": 605, @@ -18432,8 +18432,8 @@ }, "property": { "type": "Identifier", - "start": 22281, - "end": 22295, + "start": 22555, + "end": 22569, "loc": { "start": { "line": 605, @@ -18455,8 +18455,8 @@ }, { "type": "IfStatement", - "start": 22310, - "end": 22501, + "start": 22584, + "end": 22775, "loc": { "start": { "line": 606, @@ -18469,8 +18469,8 @@ }, "test": { "type": "UnaryExpression", - "start": 22314, - "end": 22327, + "start": 22588, + "end": 22601, "loc": { "start": { "line": 606, @@ -18485,8 +18485,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 22315, - "end": 22327, + "start": 22589, + "end": 22601, "loc": { "start": { "line": 606, @@ -18506,8 +18506,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 22329, - "end": 22501, + "start": 22603, + "end": 22775, "loc": { "start": { "line": 606, @@ -18521,8 +18521,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 22347, - "end": 22463, + "start": 22621, + "end": 22737, "loc": { "start": { "line": 607, @@ -18535,8 +18535,8 @@ }, "expression": { "type": "CallExpression", - "start": 22347, - "end": 22462, + "start": 22621, + "end": 22736, "loc": { "start": { "line": 607, @@ -18549,8 +18549,8 @@ }, "callee": { "type": "MemberExpression", - "start": 22347, - "end": 22360, + "start": 22621, + "end": 22634, "loc": { "start": { "line": 607, @@ -18563,8 +18563,8 @@ }, "object": { "type": "Identifier", - "start": 22347, - "end": 22354, + "start": 22621, + "end": 22628, "loc": { "start": { "line": 607, @@ -18580,8 +18580,8 @@ }, "property": { "type": "Identifier", - "start": 22355, - "end": 22360, + "start": 22629, + "end": 22634, "loc": { "start": { "line": 607, @@ -18600,8 +18600,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 22361, - "end": 22461, + "start": 22635, + "end": 22735, "loc": { "start": { "line": 607, @@ -18615,8 +18615,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 22383, - "end": 22404, + "start": 22657, + "end": 22678, "loc": { "start": { "line": 607, @@ -18629,8 +18629,8 @@ }, "object": { "type": "Identifier", - "start": 22383, - "end": 22389, + "start": 22657, + "end": 22663, "loc": { "start": { "line": 607, @@ -18646,8 +18646,8 @@ }, "property": { "type": "Identifier", - "start": 22390, - "end": 22404, + "start": 22664, + "end": 22678, "loc": { "start": { "line": 607, @@ -18667,8 +18667,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 22362, - "end": 22381, + "start": 22636, + "end": 22655, "loc": { "start": { "line": 607, @@ -18687,8 +18687,8 @@ }, { "type": "TemplateElement", - "start": 22405, - "end": 22460, + "start": 22679, + "end": 22734, "loc": { "start": { "line": 607, @@ -18712,8 +18712,8 @@ }, { "type": "ReturnStatement", - "start": 22480, - "end": 22487, + "start": 22754, + "end": 22761, "loc": { "start": { "line": 608, @@ -18733,8 +18733,8 @@ }, { "type": "ExpressionStatement", - "start": 22514, - "end": 22551, + "start": 22788, + "end": 22825, "loc": { "start": { "line": 610, @@ -18747,8 +18747,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 22514, - "end": 22550, + "start": 22788, + "end": 22824, "loc": { "start": { "line": 610, @@ -18762,8 +18762,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 22514, - "end": 22534, + "start": 22788, + "end": 22808, "loc": { "start": { "line": 610, @@ -18776,8 +18776,8 @@ }, "object": { "type": "Identifier", - "start": 22514, - "end": 22526, + "start": 22788, + "end": 22800, "loc": { "start": { "line": 610, @@ -18793,8 +18793,8 @@ }, "property": { "type": "Identifier", - "start": 22527, - "end": 22534, + "start": 22801, + "end": 22808, "loc": { "start": { "line": 610, @@ -18812,8 +18812,8 @@ }, "right": { "type": "Identifier", - "start": 22537, - "end": 22550, + "start": 22811, + "end": 22824, "loc": { "start": { "line": 610, @@ -18836,8 +18836,8 @@ }, { "type": "VariableDeclaration", - "start": 22571, - "end": 22600, + "start": 22845, + "end": 22874, "loc": { "start": { "line": 613, @@ -18851,8 +18851,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 22575, - "end": 22599, + "start": 22849, + "end": 22873, "loc": { "start": { "line": 613, @@ -18865,8 +18865,8 @@ }, "id": { "type": "Identifier", - "start": 22575, - "end": 22599, + "start": 22849, + "end": 22873, "loc": { "start": { "line": 613, @@ -18887,8 +18887,8 @@ }, { "type": "IfStatement", - "start": 22609, - "end": 23111, + "start": 22883, + "end": 23385, "loc": { "start": { "line": 614, @@ -18901,8 +18901,8 @@ }, "test": { "type": "LogicalExpression", - "start": 22613, - "end": 22706, + "start": 22887, + "end": 22980, "loc": { "start": { "line": 614, @@ -18915,8 +18915,8 @@ }, "left": { "type": "BinaryExpression", - "start": 22613, - "end": 22660, + "start": 22887, + "end": 22934, "loc": { "start": { "line": 614, @@ -18929,8 +18929,8 @@ }, "left": { "type": "MemberExpression", - "start": 22613, - "end": 22646, + "start": 22887, + "end": 22920, "loc": { "start": { "line": 614, @@ -18943,8 +18943,8 @@ }, "object": { "type": "Identifier", - "start": 22613, - "end": 22619, + "start": 22887, + "end": 22893, "loc": { "start": { "line": 614, @@ -18960,8 +18960,8 @@ }, "property": { "type": "Identifier", - "start": 22620, - "end": 22646, + "start": 22894, + "end": 22920, "loc": { "start": { "line": 614, @@ -18980,8 +18980,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 22651, - "end": 22660, + "start": 22925, + "end": 22934, "loc": { "start": { "line": 614, @@ -18999,8 +18999,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 22664, - "end": 22706, + "start": 22938, + "end": 22980, "loc": { "start": { "line": 614, @@ -19013,8 +19013,8 @@ }, "left": { "type": "MemberExpression", - "start": 22664, - "end": 22697, + "start": 22938, + "end": 22971, "loc": { "start": { "line": 614, @@ -19027,8 +19027,8 @@ }, "object": { "type": "Identifier", - "start": 22664, - "end": 22670, + "start": 22938, + "end": 22944, "loc": { "start": { "line": 614, @@ -19044,8 +19044,8 @@ }, "property": { "type": "Identifier", - "start": 22671, - "end": 22697, + "start": 22945, + "end": 22971, "loc": { "start": { "line": 614, @@ -19064,8 +19064,8 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 22702, - "end": 22706, + "start": 22976, + "end": 22980, "loc": { "start": { "line": 614, @@ -19081,8 +19081,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 22708, - "end": 23111, + "start": 22982, + "end": 23385, "loc": { "start": { "line": 614, @@ -19096,8 +19096,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 22722, - "end": 22798, + "start": 22996, + "end": 23072, "loc": { "start": { "line": 615, @@ -19110,8 +19110,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 22722, - "end": 22797, + "start": 22996, + "end": 23071, "loc": { "start": { "line": 615, @@ -19125,8 +19125,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 22722, - "end": 22746, + "start": 22996, + "end": 23020, "loc": { "start": { "line": 615, @@ -19142,8 +19142,8 @@ }, "right": { "type": "MemberExpression", - "start": 22749, - "end": 22797, + "start": 23023, + "end": 23071, "loc": { "start": { "line": 615, @@ -19156,8 +19156,8 @@ }, "object": { "type": "MemberExpression", - "start": 22749, - "end": 22762, + "start": 23023, + "end": 23036, "loc": { "start": { "line": 615, @@ -19170,8 +19170,8 @@ }, "object": { "type": "ThisExpression", - "start": 22749, - "end": 22753, + "start": 23023, + "end": 23027, "loc": { "start": { "line": 615, @@ -19185,8 +19185,8 @@ }, "property": { "type": "Identifier", - "start": 22754, - "end": 22762, + "start": 23028, + "end": 23036, "loc": { "start": { "line": 615, @@ -19204,8 +19204,8 @@ }, "property": { "type": "MemberExpression", - "start": 22763, - "end": 22796, + "start": 23037, + "end": 23070, "loc": { "start": { "line": 615, @@ -19218,8 +19218,8 @@ }, "object": { "type": "Identifier", - "start": 22763, - "end": 22769, + "start": 23037, + "end": 23043, "loc": { "start": { "line": 615, @@ -19235,8 +19235,8 @@ }, "property": { "type": "Identifier", - "start": 22770, - "end": 22796, + "start": 23044, + "end": 23070, "loc": { "start": { "line": 615, @@ -19258,8 +19258,8 @@ }, { "type": "IfStatement", - "start": 22811, - "end": 23026, + "start": 23085, + "end": 23300, "loc": { "start": { "line": 616, @@ -19272,8 +19272,8 @@ }, "test": { "type": "UnaryExpression", - "start": 22815, - "end": 22840, + "start": 23089, + "end": 23114, "loc": { "start": { "line": 616, @@ -19288,8 +19288,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 22816, - "end": 22840, + "start": 23090, + "end": 23114, "loc": { "start": { "line": 616, @@ -19309,8 +19309,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 22842, - "end": 23026, + "start": 23116, + "end": 23300, "loc": { "start": { "line": 616, @@ -19324,8 +19324,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 22860, - "end": 22988, + "start": 23134, + "end": 23262, "loc": { "start": { "line": 617, @@ -19338,8 +19338,8 @@ }, "expression": { "type": "CallExpression", - "start": 22860, - "end": 22987, + "start": 23134, + "end": 23261, "loc": { "start": { "line": 617, @@ -19352,8 +19352,8 @@ }, "callee": { "type": "MemberExpression", - "start": 22860, - "end": 22873, + "start": 23134, + "end": 23147, "loc": { "start": { "line": 617, @@ -19366,8 +19366,8 @@ }, "object": { "type": "Identifier", - "start": 22860, - "end": 22867, + "start": 23134, + "end": 23141, "loc": { "start": { "line": 617, @@ -19383,8 +19383,8 @@ }, "property": { "type": "Identifier", - "start": 22868, - "end": 22873, + "start": 23142, + "end": 23147, "loc": { "start": { "line": 617, @@ -19403,8 +19403,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 22874, - "end": 22986, + "start": 23148, + "end": 23260, "loc": { "start": { "line": 617, @@ -19418,8 +19418,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 22896, - "end": 22929, + "start": 23170, + "end": 23203, "loc": { "start": { "line": 617, @@ -19432,8 +19432,8 @@ }, "object": { "type": "Identifier", - "start": 22896, - "end": 22902, + "start": 23170, + "end": 23176, "loc": { "start": { "line": 617, @@ -19449,8 +19449,8 @@ }, "property": { "type": "Identifier", - "start": 22903, - "end": 22929, + "start": 23177, + "end": 23203, "loc": { "start": { "line": 617, @@ -19470,8 +19470,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 22875, - "end": 22894, + "start": 23149, + "end": 23168, "loc": { "start": { "line": 617, @@ -19490,8 +19490,8 @@ }, { "type": "TemplateElement", - "start": 22930, - "end": 22985, + "start": 23204, + "end": 23259, "loc": { "start": { "line": 617, @@ -19515,8 +19515,8 @@ }, { "type": "ReturnStatement", - "start": 23005, - "end": 23012, + "start": 23279, + "end": 23286, "loc": { "start": { "line": 618, @@ -19536,8 +19536,8 @@ }, { "type": "ExpressionStatement", - "start": 23039, - "end": 23101, + "start": 23313, + "end": 23375, "loc": { "start": { "line": 620, @@ -19550,8 +19550,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 23039, - "end": 23100, + "start": 23313, + "end": 23374, "loc": { "start": { "line": 620, @@ -19565,8 +19565,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 23039, - "end": 23071, + "start": 23313, + "end": 23345, "loc": { "start": { "line": 620, @@ -19579,8 +19579,8 @@ }, "object": { "type": "Identifier", - "start": 23039, - "end": 23063, + "start": 23313, + "end": 23337, "loc": { "start": { "line": 620, @@ -19596,8 +19596,8 @@ }, "property": { "type": "Identifier", - "start": 23064, - "end": 23071, + "start": 23338, + "end": 23345, "loc": { "start": { "line": 620, @@ -19615,8 +19615,8 @@ }, "right": { "type": "Identifier", - "start": 23074, - "end": 23100, + "start": 23348, + "end": 23374, "loc": { "start": { "line": 620, @@ -19639,8 +19639,8 @@ }, { "type": "VariableDeclaration", - "start": 23121, - "end": 23140, + "start": 23395, + "end": 23414, "loc": { "start": { "line": 623, @@ -19654,8 +19654,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 23125, - "end": 23139, + "start": 23399, + "end": 23413, "loc": { "start": { "line": 623, @@ -19668,8 +19668,8 @@ }, "id": { "type": "Identifier", - "start": 23125, - "end": 23139, + "start": 23399, + "end": 23413, "loc": { "start": { "line": 623, @@ -19690,8 +19690,8 @@ }, { "type": "IfStatement", - "start": 23149, - "end": 23570, + "start": 23423, + "end": 23844, "loc": { "start": { "line": 624, @@ -19704,8 +19704,8 @@ }, "test": { "type": "LogicalExpression", - "start": 23153, - "end": 23226, + "start": 23427, + "end": 23500, "loc": { "start": { "line": 624, @@ -19718,8 +19718,8 @@ }, "left": { "type": "BinaryExpression", - "start": 23153, - "end": 23190, + "start": 23427, + "end": 23464, "loc": { "start": { "line": 624, @@ -19732,8 +19732,8 @@ }, "left": { "type": "MemberExpression", - "start": 23153, - "end": 23176, + "start": 23427, + "end": 23450, "loc": { "start": { "line": 624, @@ -19746,8 +19746,8 @@ }, "object": { "type": "Identifier", - "start": 23153, - "end": 23159, + "start": 23427, + "end": 23433, "loc": { "start": { "line": 624, @@ -19763,8 +19763,8 @@ }, "property": { "type": "Identifier", - "start": 23160, - "end": 23176, + "start": 23434, + "end": 23450, "loc": { "start": { "line": 624, @@ -19783,8 +19783,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 23181, - "end": 23190, + "start": 23455, + "end": 23464, "loc": { "start": { "line": 624, @@ -19802,8 +19802,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 23194, - "end": 23226, + "start": 23468, + "end": 23500, "loc": { "start": { "line": 624, @@ -19816,8 +19816,8 @@ }, "left": { "type": "MemberExpression", - "start": 23194, - "end": 23217, + "start": 23468, + "end": 23491, "loc": { "start": { "line": 624, @@ -19830,8 +19830,8 @@ }, "object": { "type": "Identifier", - "start": 23194, - "end": 23200, + "start": 23468, + "end": 23474, "loc": { "start": { "line": 624, @@ -19847,8 +19847,8 @@ }, "property": { "type": "Identifier", - "start": 23201, - "end": 23217, + "start": 23475, + "end": 23491, "loc": { "start": { "line": 624, @@ -19867,8 +19867,8 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 23222, - "end": 23226, + "start": 23496, + "end": 23500, "loc": { "start": { "line": 624, @@ -19884,8 +19884,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 23228, - "end": 23570, + "start": 23502, + "end": 23844, "loc": { "start": { "line": 624, @@ -19899,8 +19899,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 23242, - "end": 23298, + "start": 23516, + "end": 23572, "loc": { "start": { "line": 625, @@ -19913,8 +19913,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 23242, - "end": 23297, + "start": 23516, + "end": 23571, "loc": { "start": { "line": 625, @@ -19928,8 +19928,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 23242, - "end": 23256, + "start": 23516, + "end": 23530, "loc": { "start": { "line": 625, @@ -19945,8 +19945,8 @@ }, "right": { "type": "MemberExpression", - "start": 23259, - "end": 23297, + "start": 23533, + "end": 23571, "loc": { "start": { "line": 625, @@ -19959,8 +19959,8 @@ }, "object": { "type": "MemberExpression", - "start": 23259, - "end": 23272, + "start": 23533, + "end": 23546, "loc": { "start": { "line": 625, @@ -19973,8 +19973,8 @@ }, "object": { "type": "ThisExpression", - "start": 23259, - "end": 23263, + "start": 23533, + "end": 23537, "loc": { "start": { "line": 625, @@ -19988,8 +19988,8 @@ }, "property": { "type": "Identifier", - "start": 23264, - "end": 23272, + "start": 23538, + "end": 23546, "loc": { "start": { "line": 625, @@ -20007,8 +20007,8 @@ }, "property": { "type": "MemberExpression", - "start": 23273, - "end": 23296, + "start": 23547, + "end": 23570, "loc": { "start": { "line": 625, @@ -20021,8 +20021,8 @@ }, "object": { "type": "Identifier", - "start": 23273, - "end": 23279, + "start": 23547, + "end": 23553, "loc": { "start": { "line": 625, @@ -20038,8 +20038,8 @@ }, "property": { "type": "Identifier", - "start": 23280, - "end": 23296, + "start": 23554, + "end": 23570, "loc": { "start": { "line": 625, @@ -20061,8 +20061,8 @@ }, { "type": "IfStatement", - "start": 23311, - "end": 23506, + "start": 23585, + "end": 23780, "loc": { "start": { "line": 626, @@ -20075,8 +20075,8 @@ }, "test": { "type": "UnaryExpression", - "start": 23315, - "end": 23330, + "start": 23589, + "end": 23604, "loc": { "start": { "line": 626, @@ -20091,8 +20091,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 23316, - "end": 23330, + "start": 23590, + "end": 23604, "loc": { "start": { "line": 626, @@ -20112,8 +20112,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 23332, - "end": 23506, + "start": 23606, + "end": 23780, "loc": { "start": { "line": 626, @@ -20127,8 +20127,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 23350, - "end": 23468, + "start": 23624, + "end": 23742, "loc": { "start": { "line": 627, @@ -20141,8 +20141,8 @@ }, "expression": { "type": "CallExpression", - "start": 23350, - "end": 23467, + "start": 23624, + "end": 23741, "loc": { "start": { "line": 627, @@ -20155,8 +20155,8 @@ }, "callee": { "type": "MemberExpression", - "start": 23350, - "end": 23363, + "start": 23624, + "end": 23637, "loc": { "start": { "line": 627, @@ -20169,8 +20169,8 @@ }, "object": { "type": "Identifier", - "start": 23350, - "end": 23357, + "start": 23624, + "end": 23631, "loc": { "start": { "line": 627, @@ -20186,8 +20186,8 @@ }, "property": { "type": "Identifier", - "start": 23358, - "end": 23363, + "start": 23632, + "end": 23637, "loc": { "start": { "line": 627, @@ -20206,8 +20206,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 23364, - "end": 23466, + "start": 23638, + "end": 23740, "loc": { "start": { "line": 627, @@ -20221,8 +20221,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 23386, - "end": 23409, + "start": 23660, + "end": 23683, "loc": { "start": { "line": 627, @@ -20235,8 +20235,8 @@ }, "object": { "type": "Identifier", - "start": 23386, - "end": 23392, + "start": 23660, + "end": 23666, "loc": { "start": { "line": 627, @@ -20252,8 +20252,8 @@ }, "property": { "type": "Identifier", - "start": 23393, - "end": 23409, + "start": 23667, + "end": 23683, "loc": { "start": { "line": 627, @@ -20273,8 +20273,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 23365, - "end": 23384, + "start": 23639, + "end": 23658, "loc": { "start": { "line": 627, @@ -20293,8 +20293,8 @@ }, { "type": "TemplateElement", - "start": 23410, - "end": 23465, + "start": 23684, + "end": 23739, "loc": { "start": { "line": 627, @@ -20318,8 +20318,8 @@ }, { "type": "ReturnStatement", - "start": 23485, - "end": 23492, + "start": 23759, + "end": 23766, "loc": { "start": { "line": 628, @@ -20339,8 +20339,8 @@ }, { "type": "ExpressionStatement", - "start": 23519, - "end": 23560, + "start": 23793, + "end": 23834, "loc": { "start": { "line": 630, @@ -20353,8 +20353,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 23519, - "end": 23559, + "start": 23793, + "end": 23833, "loc": { "start": { "line": 630, @@ -20368,8 +20368,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 23519, - "end": 23541, + "start": 23793, + "end": 23815, "loc": { "start": { "line": 630, @@ -20382,8 +20382,8 @@ }, "object": { "type": "Identifier", - "start": 23519, - "end": 23533, + "start": 23793, + "end": 23807, "loc": { "start": { "line": 630, @@ -20399,8 +20399,8 @@ }, "property": { "type": "Identifier", - "start": 23534, - "end": 23541, + "start": 23808, + "end": 23815, "loc": { "start": { "line": 630, @@ -20418,8 +20418,8 @@ }, "right": { "type": "Identifier", - "start": 23544, - "end": 23559, + "start": 23818, + "end": 23833, "loc": { "start": { "line": 630, @@ -20442,8 +20442,8 @@ }, { "type": "VariableDeclaration", - "start": 23580, - "end": 23600, + "start": 23854, + "end": 23874, "loc": { "start": { "line": 633, @@ -20457,8 +20457,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 23584, - "end": 23599, + "start": 23858, + "end": 23873, "loc": { "start": { "line": 633, @@ -20471,8 +20471,8 @@ }, "id": { "type": "Identifier", - "start": 23584, - "end": 23599, + "start": 23858, + "end": 23873, "loc": { "start": { "line": 633, @@ -20493,8 +20493,8 @@ }, { "type": "IfStatement", - "start": 23609, - "end": 24038, + "start": 23883, + "end": 24312, "loc": { "start": { "line": 634, @@ -20507,8 +20507,8 @@ }, "test": { "type": "LogicalExpression", - "start": 23613, - "end": 23688, + "start": 23887, + "end": 23962, "loc": { "start": { "line": 634, @@ -20521,8 +20521,8 @@ }, "left": { "type": "BinaryExpression", - "start": 23613, - "end": 23651, + "start": 23887, + "end": 23925, "loc": { "start": { "line": 634, @@ -20535,8 +20535,8 @@ }, "left": { "type": "MemberExpression", - "start": 23613, - "end": 23637, + "start": 23887, + "end": 23911, "loc": { "start": { "line": 634, @@ -20549,8 +20549,8 @@ }, "object": { "type": "Identifier", - "start": 23613, - "end": 23619, + "start": 23887, + "end": 23893, "loc": { "start": { "line": 634, @@ -20566,8 +20566,8 @@ }, "property": { "type": "Identifier", - "start": 23620, - "end": 23637, + "start": 23894, + "end": 23911, "loc": { "start": { "line": 634, @@ -20586,8 +20586,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 23642, - "end": 23651, + "start": 23916, + "end": 23925, "loc": { "start": { "line": 634, @@ -20605,8 +20605,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 23655, - "end": 23688, + "start": 23929, + "end": 23962, "loc": { "start": { "line": 634, @@ -20619,8 +20619,8 @@ }, "left": { "type": "MemberExpression", - "start": 23655, - "end": 23679, + "start": 23929, + "end": 23953, "loc": { "start": { "line": 634, @@ -20633,8 +20633,8 @@ }, "object": { "type": "Identifier", - "start": 23655, - "end": 23661, + "start": 23929, + "end": 23935, "loc": { "start": { "line": 634, @@ -20650,8 +20650,8 @@ }, "property": { "type": "Identifier", - "start": 23662, - "end": 23679, + "start": 23936, + "end": 23953, "loc": { "start": { "line": 634, @@ -20670,8 +20670,8 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 23684, - "end": 23688, + "start": 23958, + "end": 23962, "loc": { "start": { "line": 634, @@ -20687,8 +20687,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 23690, - "end": 24038, + "start": 23964, + "end": 24312, "loc": { "start": { "line": 634, @@ -20702,8 +20702,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 23704, - "end": 23762, + "start": 23978, + "end": 24036, "loc": { "start": { "line": 635, @@ -20716,8 +20716,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 23704, - "end": 23761, + "start": 23978, + "end": 24035, "loc": { "start": { "line": 635, @@ -20731,8 +20731,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 23704, - "end": 23719, + "start": 23978, + "end": 23993, "loc": { "start": { "line": 635, @@ -20748,8 +20748,8 @@ }, "right": { "type": "MemberExpression", - "start": 23722, - "end": 23761, + "start": 23996, + "end": 24035, "loc": { "start": { "line": 635, @@ -20762,8 +20762,8 @@ }, "object": { "type": "MemberExpression", - "start": 23722, - "end": 23735, + "start": 23996, + "end": 24009, "loc": { "start": { "line": 635, @@ -20776,8 +20776,8 @@ }, "object": { "type": "ThisExpression", - "start": 23722, - "end": 23726, + "start": 23996, + "end": 24000, "loc": { "start": { "line": 635, @@ -20791,8 +20791,8 @@ }, "property": { "type": "Identifier", - "start": 23727, - "end": 23735, + "start": 24001, + "end": 24009, "loc": { "start": { "line": 635, @@ -20810,8 +20810,8 @@ }, "property": { "type": "MemberExpression", - "start": 23736, - "end": 23760, + "start": 24010, + "end": 24034, "loc": { "start": { "line": 635, @@ -20824,8 +20824,8 @@ }, "object": { "type": "Identifier", - "start": 23736, - "end": 23742, + "start": 24010, + "end": 24016, "loc": { "start": { "line": 635, @@ -20841,8 +20841,8 @@ }, "property": { "type": "Identifier", - "start": 23743, - "end": 23760, + "start": 24017, + "end": 24034, "loc": { "start": { "line": 635, @@ -20864,8 +20864,8 @@ }, { "type": "IfStatement", - "start": 23775, - "end": 23972, + "start": 24049, + "end": 24246, "loc": { "start": { "line": 636, @@ -20878,8 +20878,8 @@ }, "test": { "type": "UnaryExpression", - "start": 23779, - "end": 23795, + "start": 24053, + "end": 24069, "loc": { "start": { "line": 636, @@ -20894,8 +20894,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 23780, - "end": 23795, + "start": 24054, + "end": 24069, "loc": { "start": { "line": 636, @@ -20915,8 +20915,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 23797, - "end": 23972, + "start": 24071, + "end": 24246, "loc": { "start": { "line": 636, @@ -20930,8 +20930,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 23815, - "end": 23934, + "start": 24089, + "end": 24208, "loc": { "start": { "line": 637, @@ -20944,8 +20944,8 @@ }, "expression": { "type": "CallExpression", - "start": 23815, - "end": 23933, + "start": 24089, + "end": 24207, "loc": { "start": { "line": 637, @@ -20958,8 +20958,8 @@ }, "callee": { "type": "MemberExpression", - "start": 23815, - "end": 23828, + "start": 24089, + "end": 24102, "loc": { "start": { "line": 637, @@ -20972,8 +20972,8 @@ }, "object": { "type": "Identifier", - "start": 23815, - "end": 23822, + "start": 24089, + "end": 24096, "loc": { "start": { "line": 637, @@ -20989,8 +20989,8 @@ }, "property": { "type": "Identifier", - "start": 23823, - "end": 23828, + "start": 24097, + "end": 24102, "loc": { "start": { "line": 637, @@ -21009,8 +21009,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 23829, - "end": 23932, + "start": 24103, + "end": 24206, "loc": { "start": { "line": 637, @@ -21024,8 +21024,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 23851, - "end": 23875, + "start": 24125, + "end": 24149, "loc": { "start": { "line": 637, @@ -21038,8 +21038,8 @@ }, "object": { "type": "Identifier", - "start": 23851, - "end": 23857, + "start": 24125, + "end": 24131, "loc": { "start": { "line": 637, @@ -21055,8 +21055,8 @@ }, "property": { "type": "Identifier", - "start": 23858, - "end": 23875, + "start": 24132, + "end": 24149, "loc": { "start": { "line": 637, @@ -21076,8 +21076,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 23830, - "end": 23849, + "start": 24104, + "end": 24123, "loc": { "start": { "line": 637, @@ -21096,8 +21096,8 @@ }, { "type": "TemplateElement", - "start": 23876, - "end": 23931, + "start": 24150, + "end": 24205, "loc": { "start": { "line": 637, @@ -21121,8 +21121,8 @@ }, { "type": "ReturnStatement", - "start": 23951, - "end": 23958, + "start": 24225, + "end": 24232, "loc": { "start": { "line": 638, @@ -21142,8 +21142,8 @@ }, { "type": "ExpressionStatement", - "start": 23985, - "end": 24028, + "start": 24259, + "end": 24302, "loc": { "start": { "line": 640, @@ -21156,8 +21156,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 23985, - "end": 24027, + "start": 24259, + "end": 24301, "loc": { "start": { "line": 640, @@ -21171,8 +21171,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 23985, - "end": 24008, + "start": 24259, + "end": 24282, "loc": { "start": { "line": 640, @@ -21185,8 +21185,8 @@ }, "object": { "type": "Identifier", - "start": 23985, - "end": 24000, + "start": 24259, + "end": 24274, "loc": { "start": { "line": 640, @@ -21202,8 +21202,8 @@ }, "property": { "type": "Identifier", - "start": 24001, - "end": 24008, + "start": 24275, + "end": 24282, "loc": { "start": { "line": 640, @@ -21221,8 +21221,8 @@ }, "right": { "type": "Identifier", - "start": 24011, - "end": 24027, + "start": 24285, + "end": 24301, "loc": { "start": { "line": 640, @@ -21245,8 +21245,8 @@ }, { "type": "VariableDeclaration", - "start": 24048, - "end": 24069, + "start": 24322, + "end": 24343, "loc": { "start": { "line": 643, @@ -21260,8 +21260,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 24052, - "end": 24068, + "start": 24326, + "end": 24342, "loc": { "start": { "line": 643, @@ -21274,8 +21274,8 @@ }, "id": { "type": "Identifier", - "start": 24052, - "end": 24068, + "start": 24326, + "end": 24342, "loc": { "start": { "line": 643, @@ -21296,8 +21296,8 @@ }, { "type": "IfStatement", - "start": 24078, - "end": 24515, + "start": 24352, + "end": 24789, "loc": { "start": { "line": 644, @@ -21310,8 +21310,8 @@ }, "test": { "type": "LogicalExpression", - "start": 24082, - "end": 24159, + "start": 24356, + "end": 24433, "loc": { "start": { "line": 644, @@ -21324,8 +21324,8 @@ }, "left": { "type": "BinaryExpression", - "start": 24082, - "end": 24121, + "start": 24356, + "end": 24395, "loc": { "start": { "line": 644, @@ -21338,8 +21338,8 @@ }, "left": { "type": "MemberExpression", - "start": 24082, - "end": 24107, + "start": 24356, + "end": 24381, "loc": { "start": { "line": 644, @@ -21352,8 +21352,8 @@ }, "object": { "type": "Identifier", - "start": 24082, - "end": 24088, + "start": 24356, + "end": 24362, "loc": { "start": { "line": 644, @@ -21369,8 +21369,8 @@ }, "property": { "type": "Identifier", - "start": 24089, - "end": 24107, + "start": 24363, + "end": 24381, "loc": { "start": { "line": 644, @@ -21389,8 +21389,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 24112, - "end": 24121, + "start": 24386, + "end": 24395, "loc": { "start": { "line": 644, @@ -21408,8 +21408,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 24125, - "end": 24159, + "start": 24399, + "end": 24433, "loc": { "start": { "line": 644, @@ -21422,8 +21422,8 @@ }, "left": { "type": "MemberExpression", - "start": 24125, - "end": 24150, + "start": 24399, + "end": 24424, "loc": { "start": { "line": 644, @@ -21436,8 +21436,8 @@ }, "object": { "type": "Identifier", - "start": 24125, - "end": 24131, + "start": 24399, + "end": 24405, "loc": { "start": { "line": 644, @@ -21453,8 +21453,8 @@ }, "property": { "type": "Identifier", - "start": 24132, - "end": 24150, + "start": 24406, + "end": 24424, "loc": { "start": { "line": 644, @@ -21473,8 +21473,8 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 24155, - "end": 24159, + "start": 24429, + "end": 24433, "loc": { "start": { "line": 644, @@ -21490,8 +21490,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 24161, - "end": 24515, + "start": 24435, + "end": 24789, "loc": { "start": { "line": 644, @@ -21505,8 +21505,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 24175, - "end": 24235, + "start": 24449, + "end": 24509, "loc": { "start": { "line": 645, @@ -21519,8 +21519,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 24175, - "end": 24234, + "start": 24449, + "end": 24508, "loc": { "start": { "line": 645, @@ -21534,8 +21534,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 24175, - "end": 24191, + "start": 24449, + "end": 24465, "loc": { "start": { "line": 645, @@ -21551,8 +21551,8 @@ }, "right": { "type": "MemberExpression", - "start": 24194, - "end": 24234, + "start": 24468, + "end": 24508, "loc": { "start": { "line": 645, @@ -21565,8 +21565,8 @@ }, "object": { "type": "MemberExpression", - "start": 24194, - "end": 24207, + "start": 24468, + "end": 24481, "loc": { "start": { "line": 645, @@ -21579,8 +21579,8 @@ }, "object": { "type": "ThisExpression", - "start": 24194, - "end": 24198, + "start": 24468, + "end": 24472, "loc": { "start": { "line": 645, @@ -21594,8 +21594,8 @@ }, "property": { "type": "Identifier", - "start": 24199, - "end": 24207, + "start": 24473, + "end": 24481, "loc": { "start": { "line": 645, @@ -21613,8 +21613,8 @@ }, "property": { "type": "MemberExpression", - "start": 24208, - "end": 24233, + "start": 24482, + "end": 24507, "loc": { "start": { "line": 645, @@ -21627,8 +21627,8 @@ }, "object": { "type": "Identifier", - "start": 24208, - "end": 24214, + "start": 24482, + "end": 24488, "loc": { "start": { "line": 645, @@ -21644,8 +21644,8 @@ }, "property": { "type": "Identifier", - "start": 24215, - "end": 24233, + "start": 24489, + "end": 24507, "loc": { "start": { "line": 645, @@ -21667,8 +21667,8 @@ }, { "type": "IfStatement", - "start": 24248, - "end": 24447, + "start": 24522, + "end": 24721, "loc": { "start": { "line": 646, @@ -21681,8 +21681,8 @@ }, "test": { "type": "UnaryExpression", - "start": 24252, - "end": 24269, + "start": 24526, + "end": 24543, "loc": { "start": { "line": 646, @@ -21697,8 +21697,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 24253, - "end": 24269, + "start": 24527, + "end": 24543, "loc": { "start": { "line": 646, @@ -21718,8 +21718,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 24271, - "end": 24447, + "start": 24545, + "end": 24721, "loc": { "start": { "line": 646, @@ -21733,8 +21733,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 24289, - "end": 24409, + "start": 24563, + "end": 24683, "loc": { "start": { "line": 647, @@ -21747,8 +21747,8 @@ }, "expression": { "type": "CallExpression", - "start": 24289, - "end": 24408, + "start": 24563, + "end": 24682, "loc": { "start": { "line": 647, @@ -21761,8 +21761,8 @@ }, "callee": { "type": "MemberExpression", - "start": 24289, - "end": 24302, + "start": 24563, + "end": 24576, "loc": { "start": { "line": 647, @@ -21775,8 +21775,8 @@ }, "object": { "type": "Identifier", - "start": 24289, - "end": 24296, + "start": 24563, + "end": 24570, "loc": { "start": { "line": 647, @@ -21792,8 +21792,8 @@ }, "property": { "type": "Identifier", - "start": 24297, - "end": 24302, + "start": 24571, + "end": 24576, "loc": { "start": { "line": 647, @@ -21812,8 +21812,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 24303, - "end": 24407, + "start": 24577, + "end": 24681, "loc": { "start": { "line": 647, @@ -21827,8 +21827,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 24325, - "end": 24350, + "start": 24599, + "end": 24624, "loc": { "start": { "line": 647, @@ -21841,8 +21841,8 @@ }, "object": { "type": "Identifier", - "start": 24325, - "end": 24331, + "start": 24599, + "end": 24605, "loc": { "start": { "line": 647, @@ -21858,8 +21858,8 @@ }, "property": { "type": "Identifier", - "start": 24332, - "end": 24350, + "start": 24606, + "end": 24624, "loc": { "start": { "line": 647, @@ -21879,8 +21879,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 24304, - "end": 24323, + "start": 24578, + "end": 24597, "loc": { "start": { "line": 647, @@ -21899,8 +21899,8 @@ }, { "type": "TemplateElement", - "start": 24351, - "end": 24406, + "start": 24625, + "end": 24680, "loc": { "start": { "line": 647, @@ -21924,8 +21924,8 @@ }, { "type": "ReturnStatement", - "start": 24426, - "end": 24433, + "start": 24700, + "end": 24707, "loc": { "start": { "line": 648, @@ -21945,8 +21945,8 @@ }, { "type": "ExpressionStatement", - "start": 24460, - "end": 24505, + "start": 24734, + "end": 24779, "loc": { "start": { "line": 650, @@ -21959,8 +21959,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 24460, - "end": 24504, + "start": 24734, + "end": 24778, "loc": { "start": { "line": 650, @@ -21974,8 +21974,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 24460, - "end": 24484, + "start": 24734, + "end": 24758, "loc": { "start": { "line": 650, @@ -21988,8 +21988,8 @@ }, "object": { "type": "Identifier", - "start": 24460, - "end": 24476, + "start": 24734, + "end": 24750, "loc": { "start": { "line": 650, @@ -22005,8 +22005,8 @@ }, "property": { "type": "Identifier", - "start": 24477, - "end": 24484, + "start": 24751, + "end": 24758, "loc": { "start": { "line": 650, @@ -22024,8 +22024,8 @@ }, "right": { "type": "Identifier", - "start": 24487, - "end": 24504, + "start": 24761, + "end": 24778, "loc": { "start": { "line": 650, @@ -22048,8 +22048,8 @@ }, { "type": "VariableDeclaration", - "start": 24525, - "end": 24830, + "start": 24799, + "end": 25104, "loc": { "start": { "line": 653, @@ -22063,8 +22063,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 24531, - "end": 24829, + "start": 24805, + "end": 25103, "loc": { "start": { "line": 653, @@ -22077,8 +22077,8 @@ }, "id": { "type": "Identifier", - "start": 24531, - "end": 24541, + "start": 24805, + "end": 24815, "loc": { "start": { "line": 653, @@ -22094,8 +22094,8 @@ }, "init": { "type": "NewExpression", - "start": 24544, - "end": 24829, + "start": 24818, + "end": 25103, "loc": { "start": { "line": 653, @@ -22108,8 +22108,8 @@ }, "callee": { "type": "Identifier", - "start": 24548, - "end": 24561, + "start": 24822, + "end": 24835, "loc": { "start": { "line": 653, @@ -22126,8 +22126,8 @@ "arguments": [ { "type": "ObjectExpression", - "start": 24562, - "end": 24828, + "start": 24836, + "end": 25102, "loc": { "start": { "line": 653, @@ -22141,8 +22141,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 24576, - "end": 24609, + "start": 24850, + "end": 24883, "loc": { "start": { "line": 654, @@ -22158,8 +22158,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24576, - "end": 24588, + "start": 24850, + "end": 24862, "loc": { "start": { "line": 654, @@ -22175,8 +22175,8 @@ }, "value": { "type": "MemberExpression", - "start": 24590, - "end": 24609, + "start": 24864, + "end": 24883, "loc": { "start": { "line": 654, @@ -22189,8 +22189,8 @@ }, "object": { "type": "Identifier", - "start": 24590, - "end": 24596, + "start": 24864, + "end": 24870, "loc": { "start": { "line": 654, @@ -22206,8 +22206,8 @@ }, "property": { "type": "Identifier", - "start": 24597, - "end": 24609, + "start": 24871, + "end": 24883, "loc": { "start": { "line": 654, @@ -22226,8 +22226,8 @@ }, { "type": "ObjectProperty", - "start": 24623, - "end": 24667, + "start": 24897, + "end": 24941, "loc": { "start": { "line": 655, @@ -22243,8 +22243,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24623, - "end": 24638, + "start": 24897, + "end": 24912, "loc": { "start": { "line": 655, @@ -22260,8 +22260,8 @@ }, "value": { "type": "MemberExpression", - "start": 24640, - "end": 24667, + "start": 24914, + "end": 24941, "loc": { "start": { "line": 655, @@ -22274,8 +22274,8 @@ }, "object": { "type": "MemberExpression", - "start": 24640, - "end": 24660, + "start": 24914, + "end": 24934, "loc": { "start": { "line": 655, @@ -22288,8 +22288,8 @@ }, "object": { "type": "ThisExpression", - "start": 24640, - "end": 24644, + "start": 24914, + "end": 24918, "loc": { "start": { "line": 655, @@ -22303,8 +22303,8 @@ }, "property": { "type": "Identifier", - "start": 24645, - "end": 24660, + "start": 24919, + "end": 24934, "loc": { "start": { "line": 655, @@ -22322,8 +22322,8 @@ }, "property": { "type": "Identifier", - "start": 24661, - "end": 24667, + "start": 24935, + "end": 24941, "loc": { "start": { "line": 655, @@ -22342,8 +22342,8 @@ }, { "type": "ObjectProperty", - "start": 24681, - "end": 24693, + "start": 24955, + "end": 24967, "loc": { "start": { "line": 656, @@ -22359,8 +22359,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24681, - "end": 24693, + "start": 24955, + "end": 24967, "loc": { "start": { "line": 656, @@ -22376,8 +22376,8 @@ }, "value": { "type": "Identifier", - "start": 24681, - "end": 24693, + "start": 24955, + "end": 24967, "loc": { "start": { "line": 656, @@ -22397,8 +22397,8 @@ }, { "type": "ObjectProperty", - "start": 24707, - "end": 24731, + "start": 24981, + "end": 25005, "loc": { "start": { "line": 657, @@ -22414,8 +22414,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24707, - "end": 24731, + "start": 24981, + "end": 25005, "loc": { "start": { "line": 657, @@ -22431,8 +22431,8 @@ }, "value": { "type": "Identifier", - "start": 24707, - "end": 24731, + "start": 24981, + "end": 25005, "loc": { "start": { "line": 657, @@ -22452,8 +22452,8 @@ }, { "type": "ObjectProperty", - "start": 24745, - "end": 24759, + "start": 25019, + "end": 25033, "loc": { "start": { "line": 658, @@ -22469,8 +22469,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24745, - "end": 24759, + "start": 25019, + "end": 25033, "loc": { "start": { "line": 658, @@ -22486,8 +22486,8 @@ }, "value": { "type": "Identifier", - "start": 24745, - "end": 24759, + "start": 25019, + "end": 25033, "loc": { "start": { "line": 658, @@ -22507,8 +22507,8 @@ }, { "type": "ObjectProperty", - "start": 24773, - "end": 24788, + "start": 25047, + "end": 25062, "loc": { "start": { "line": 659, @@ -22524,8 +22524,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24773, - "end": 24788, + "start": 25047, + "end": 25062, "loc": { "start": { "line": 659, @@ -22541,8 +22541,8 @@ }, "value": { "type": "Identifier", - "start": 24773, - "end": 24788, + "start": 25047, + "end": 25062, "loc": { "start": { "line": 659, @@ -22562,8 +22562,8 @@ }, { "type": "ObjectProperty", - "start": 24802, - "end": 24818, + "start": 25076, + "end": 25092, "loc": { "start": { "line": 660, @@ -22579,8 +22579,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24802, - "end": 24818, + "start": 25076, + "end": 25092, "loc": { "start": { "line": 660, @@ -22596,8 +22596,8 @@ }, "value": { "type": "Identifier", - "start": 24802, - "end": 24818, + "start": 25076, + "end": 25092, "loc": { "start": { "line": 660, @@ -22625,8 +22625,8 @@ }, { "type": "ExpressionStatement", - "start": 24840, - "end": 24891, + "start": 25114, + "end": 25165, "loc": { "start": { "line": 663, @@ -22639,8 +22639,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 24840, - "end": 24890, + "start": 25114, + "end": 25164, "loc": { "start": { "line": 663, @@ -22654,8 +22654,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 24840, - "end": 24877, + "start": 25114, + "end": 25151, "loc": { "start": { "line": 663, @@ -22668,8 +22668,8 @@ }, "object": { "type": "MemberExpression", - "start": 24840, - "end": 24856, + "start": 25114, + "end": 25130, "loc": { "start": { "line": 663, @@ -22682,8 +22682,8 @@ }, "object": { "type": "ThisExpression", - "start": 24840, - "end": 24844, + "start": 25114, + "end": 25118, "loc": { "start": { "line": 663, @@ -22697,8 +22697,8 @@ }, "property": { "type": "Identifier", - "start": 24845, - "end": 24856, + "start": 25119, + "end": 25130, "loc": { "start": { "line": 663, @@ -22716,8 +22716,8 @@ }, "property": { "type": "MemberExpression", - "start": 24857, - "end": 24876, + "start": 25131, + "end": 25150, "loc": { "start": { "line": 663, @@ -22730,8 +22730,8 @@ }, "object": { "type": "Identifier", - "start": 24857, - "end": 24863, + "start": 25131, + "end": 25137, "loc": { "start": { "line": 663, @@ -22747,8 +22747,8 @@ }, "property": { "type": "Identifier", - "start": 24864, - "end": 24876, + "start": 25138, + "end": 25150, "loc": { "start": { "line": 663, @@ -22768,8 +22768,8 @@ }, "right": { "type": "Identifier", - "start": 24880, - "end": 24890, + "start": 25154, + "end": 25164, "loc": { "start": { "line": 663, @@ -22787,8 +22787,8 @@ }, { "type": "ExpressionStatement", - "start": 24900, - "end": 24938, + "start": 25174, + "end": 25212, "loc": { "start": { "line": 664, @@ -22801,8 +22801,8 @@ }, "expression": { "type": "CallExpression", - "start": 24900, - "end": 24937, + "start": 25174, + "end": 25211, "loc": { "start": { "line": 664, @@ -22815,8 +22815,8 @@ }, "callee": { "type": "MemberExpression", - "start": 24900, - "end": 24925, + "start": 25174, + "end": 25199, "loc": { "start": { "line": 664, @@ -22829,8 +22829,8 @@ }, "object": { "type": "MemberExpression", - "start": 24900, - "end": 24920, + "start": 25174, + "end": 25194, "loc": { "start": { "line": 664, @@ -22843,8 +22843,8 @@ }, "object": { "type": "ThisExpression", - "start": 24900, - "end": 24904, + "start": 25174, + "end": 25178, "loc": { "start": { "line": 664, @@ -22858,8 +22858,8 @@ }, "property": { "type": "Identifier", - "start": 24905, - "end": 24920, + "start": 25179, + "end": 25194, "loc": { "start": { "line": 664, @@ -22877,8 +22877,8 @@ }, "property": { "type": "Identifier", - "start": 24921, - "end": 24925, + "start": 25195, + "end": 25199, "loc": { "start": { "line": 664, @@ -22897,8 +22897,8 @@ "arguments": [ { "type": "Identifier", - "start": 24926, - "end": 24936, + "start": 25200, + "end": 25210, "loc": { "start": { "line": 664, @@ -22917,8 +22917,8 @@ }, { "type": "ReturnStatement", - "start": 24948, - "end": 24966, + "start": 25222, + "end": 25240, "loc": { "start": { "line": 666, @@ -22931,8 +22931,8 @@ }, "argument": { "type": "Identifier", - "start": 24955, - "end": 24965, + "start": 25229, + "end": 25239, "loc": { "start": { "line": 666, @@ -22955,8 +22955,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTextureSet} within this XKTModel.\n *\n * Registers the new {@link XKTTextureSet} in {@link XKTModel#textureSets} and {@link XKTModel#.textureSetsList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureSetId Unique ID for the {@link XKTTextureSet}.\n * @param {*} [params.colorTextureId] ID of *RGBA* base color {@link XKTTexture}, with color in *RGB* and alpha in *A*.\n * @param {*} [params.metallicRoughnessTextureId] ID of *RGBA* metal-roughness {@link XKTTexture}, with the metallic factor in *R*, and roughness factor in *G*.\n * @param {*} [params.normalsTextureId] ID of *RGBA* normal {@link XKTTexture}, with normal map vectors in *RGB*.\n * @param {*} [params.emissiveTextureId] ID of *RGBA* emissive {@link XKTTexture}, with emissive color in *RGB*.\n * @param {*} [params.occlusionTextureId] ID of *RGBA* occlusion {@link XKTTexture}, with occlusion factor in *R*.\n * @returns {XKTTextureSet} The new {@link XKTTextureSet}.\n ", - "start": 20375, - "end": 21526, + "start": 20593, + "end": 21744, "loc": { "start": { "line": 567, @@ -22973,8 +22973,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTGeometry} within this XKTModel.\n *\n * Registers the new {@link XKTGeometry} in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.geometryId Unique ID for the {@link XKTGeometry}.\n * @param {String} params.primitiveType The type of {@link XKTGeometry}: \"triangles\", \"lines\" or \"points\".\n * @param {Float64Array} params.positions Floating-point Local-space vertex positions for the {@link XKTGeometry}. Required for all primitive types.\n * @param {Number[]} [params.normals] Floating-point vertex normals for the {@link XKTGeometry}. Only used with triangles primitives. Ignored for points and lines.\n * @param {Number[]} [params.colors] Floating-point RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.uvs] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uv````.\n * @param {Number[]} [params.uv] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uvs````.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Uint32Array} [params.indices] Indices for the {@link XKTGeometry}. Required for triangles and lines primitives. Ignored for points.\n * @param {Number} [params.edgeThreshold=10]\n * @returns {XKTGeometry} The new {@link XKTGeometry}.\n ", - "start": 24978, - "end": 26864, + "start": 25252, + "end": 27138, "loc": { "start": { "line": 669, @@ -22990,15 +22990,15 @@ }, { "type": "ClassMethod", - "start": 26869, - "end": 31579, + "start": 27143, + "end": 32094, "loc": { "start": { "line": 690, "column": 4 }, "end": { - "line": 817, + "line": 818, "column": 5 } }, @@ -23006,8 +23006,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 26869, - "end": 26883, + "start": 27143, + "end": 27157, "loc": { "start": { "line": 690, @@ -23030,8 +23030,8 @@ "params": [ { "type": "Identifier", - "start": 26884, - "end": 26890, + "start": 27158, + "end": 27164, "loc": { "start": { "line": 690, @@ -23048,23 +23048,23 @@ ], "body": { "type": "BlockStatement", - "start": 26892, - "end": 31579, + "start": 27166, + "end": 32094, "loc": { "start": { "line": 690, "column": 27 }, "end": { - "line": 817, + "line": 818, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 26903, - "end": 26976, + "start": 27177, + "end": 27276, "loc": { "start": { "line": 692, @@ -23077,8 +23077,8 @@ }, "test": { "type": "UnaryExpression", - "start": 26907, - "end": 26914, + "start": 27181, + "end": 27188, "loc": { "start": { "line": 692, @@ -23093,8 +23093,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 26908, - "end": 26914, + "start": 27182, + "end": 27188, "loc": { "start": { "line": 692, @@ -23114,8 +23114,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 26916, - "end": 26976, + "start": 27190, + "end": 27276, "loc": { "start": { "line": 692, @@ -23129,8 +23129,8 @@ "body": [ { "type": "ThrowStatement", - "start": 26930, - "end": 26966, + "start": 27204, + "end": 27266, "loc": { "start": { "line": 693, @@ -23138,13 +23138,13 @@ }, "end": { "line": 693, - "column": 48 + "column": 74 } }, "argument": { "type": "StringLiteral", - "start": 26936, - "end": 26965, + "start": 27210, + "end": 27265, "loc": { "start": { "line": 693, @@ -23152,14 +23152,14 @@ }, "end": { "line": 693, - "column": 47 + "column": 73 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createGeometry] Parameters expected: params", + "raw": "\"[XKTModel.createGeometry] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createGeometry] Parameters expected: params" } } ], @@ -23169,8 +23169,8 @@ }, { "type": "IfStatement", - "start": 26986, - "end": 27123, + "start": 27286, + "end": 27449, "loc": { "start": { "line": 696, @@ -23183,8 +23183,8 @@ }, "test": { "type": "LogicalExpression", - "start": 26990, - "end": 27051, + "start": 27290, + "end": 27351, "loc": { "start": { "line": 696, @@ -23197,8 +23197,8 @@ }, "left": { "type": "BinaryExpression", - "start": 26990, - "end": 27016, + "start": 27290, + "end": 27316, "loc": { "start": { "line": 696, @@ -23211,8 +23211,8 @@ }, "left": { "type": "MemberExpression", - "start": 26990, - "end": 27007, + "start": 27290, + "end": 27307, "loc": { "start": { "line": 696, @@ -23225,8 +23225,8 @@ }, "object": { "type": "Identifier", - "start": 26990, - "end": 26996, + "start": 27290, + "end": 27296, "loc": { "start": { "line": 696, @@ -23242,8 +23242,8 @@ }, "property": { "type": "Identifier", - "start": 26997, - "end": 27007, + "start": 27297, + "end": 27307, "loc": { "start": { "line": 696, @@ -23262,8 +23262,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 27012, - "end": 27016, + "start": 27312, + "end": 27316, "loc": { "start": { "line": 696, @@ -23279,8 +23279,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 27020, - "end": 27051, + "start": 27320, + "end": 27351, "loc": { "start": { "line": 696, @@ -23293,8 +23293,8 @@ }, "left": { "type": "MemberExpression", - "start": 27020, - "end": 27037, + "start": 27320, + "end": 27337, "loc": { "start": { "line": 696, @@ -23307,8 +23307,8 @@ }, "object": { "type": "Identifier", - "start": 27020, - "end": 27026, + "start": 27320, + "end": 27326, "loc": { "start": { "line": 696, @@ -23324,8 +23324,8 @@ }, "property": { "type": "Identifier", - "start": 27027, - "end": 27037, + "start": 27327, + "end": 27337, "loc": { "start": { "line": 696, @@ -23344,8 +23344,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 27042, - "end": 27051, + "start": 27342, + "end": 27351, "loc": { "start": { "line": 696, @@ -23363,8 +23363,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 27053, - "end": 27123, + "start": 27353, + "end": 27449, "loc": { "start": { "line": 696, @@ -23378,8 +23378,8 @@ "body": [ { "type": "ThrowStatement", - "start": 27067, - "end": 27113, + "start": 27367, + "end": 27439, "loc": { "start": { "line": 697, @@ -23387,13 +23387,13 @@ }, "end": { "line": 697, - "column": 58 + "column": 84 } }, "argument": { "type": "StringLiteral", - "start": 27073, - "end": 27112, + "start": 27373, + "end": 27438, "loc": { "start": { "line": 697, @@ -23401,14 +23401,14 @@ }, "end": { "line": 697, - "column": 57 + "column": 83 } }, "extra": { - "rawValue": "Parameter expected: params.geometryId", - "raw": "\"Parameter expected: params.geometryId\"" + "rawValue": "[XKTModel.createGeometry] Parameter expected: params.geometryId", + "raw": "\"[XKTModel.createGeometry] Parameter expected: params.geometryId\"" }, - "value": "Parameter expected: params.geometryId" + "value": "[XKTModel.createGeometry] Parameter expected: params.geometryId" } } ], @@ -23418,8 +23418,8 @@ }, { "type": "IfStatement", - "start": 27133, - "end": 27233, + "start": 27459, + "end": 27585, "loc": { "start": { "line": 700, @@ -23432,8 +23432,8 @@ }, "test": { "type": "UnaryExpression", - "start": 27137, - "end": 27158, + "start": 27463, + "end": 27484, "loc": { "start": { "line": 700, @@ -23448,8 +23448,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 27138, - "end": 27158, + "start": 27464, + "end": 27484, "loc": { "start": { "line": 700, @@ -23462,8 +23462,8 @@ }, "object": { "type": "Identifier", - "start": 27138, - "end": 27144, + "start": 27464, + "end": 27470, "loc": { "start": { "line": 700, @@ -23479,8 +23479,8 @@ }, "property": { "type": "Identifier", - "start": 27145, - "end": 27158, + "start": 27471, + "end": 27484, "loc": { "start": { "line": 700, @@ -23502,8 +23502,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 27160, - "end": 27233, + "start": 27486, + "end": 27585, "loc": { "start": { "line": 700, @@ -23517,8 +23517,8 @@ "body": [ { "type": "ThrowStatement", - "start": 27174, - "end": 27223, + "start": 27500, + "end": 27575, "loc": { "start": { "line": 701, @@ -23526,13 +23526,13 @@ }, "end": { "line": 701, - "column": 61 + "column": 87 } }, "argument": { "type": "StringLiteral", - "start": 27180, - "end": 27222, + "start": 27506, + "end": 27574, "loc": { "start": { "line": 701, @@ -23540,14 +23540,14 @@ }, "end": { "line": 701, - "column": 60 + "column": 86 } }, "extra": { - "rawValue": "Parameter expected: params.primitiveType", - "raw": "\"Parameter expected: params.primitiveType\"" + "rawValue": "[XKTModel.createGeometry] Parameter expected: params.primitiveType", + "raw": "\"[XKTModel.createGeometry] Parameter expected: params.primitiveType\"" }, - "value": "Parameter expected: params.primitiveType" + "value": "[XKTModel.createGeometry] Parameter expected: params.primitiveType" } } ], @@ -23557,8 +23557,8 @@ }, { "type": "IfStatement", - "start": 27243, - "end": 27335, + "start": 27595, + "end": 27713, "loc": { "start": { "line": 704, @@ -23571,8 +23571,8 @@ }, "test": { "type": "UnaryExpression", - "start": 27247, - "end": 27264, + "start": 27599, + "end": 27616, "loc": { "start": { "line": 704, @@ -23587,8 +23587,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 27248, - "end": 27264, + "start": 27600, + "end": 27616, "loc": { "start": { "line": 704, @@ -23601,8 +23601,8 @@ }, "object": { "type": "Identifier", - "start": 27248, - "end": 27254, + "start": 27600, + "end": 27606, "loc": { "start": { "line": 704, @@ -23618,8 +23618,8 @@ }, "property": { "type": "Identifier", - "start": 27255, - "end": 27264, + "start": 27607, + "end": 27616, "loc": { "start": { "line": 704, @@ -23641,8 +23641,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 27266, - "end": 27335, + "start": 27618, + "end": 27713, "loc": { "start": { "line": 704, @@ -23656,8 +23656,8 @@ "body": [ { "type": "ThrowStatement", - "start": 27280, - "end": 27325, + "start": 27632, + "end": 27703, "loc": { "start": { "line": 705, @@ -23665,13 +23665,13 @@ }, "end": { "line": 705, - "column": 57 + "column": 83 } }, "argument": { "type": "StringLiteral", - "start": 27286, - "end": 27324, + "start": 27638, + "end": 27702, "loc": { "start": { "line": 705, @@ -23679,14 +23679,14 @@ }, "end": { "line": 705, - "column": 56 + "column": 82 } }, "extra": { - "rawValue": "Parameter expected: params.positions", - "raw": "\"Parameter expected: params.positions\"" + "rawValue": "[XKTModel.createGeometry] Parameter expected: params.positions", + "raw": "\"[XKTModel.createGeometry] Parameter expected: params.positions\"" }, - "value": "Parameter expected: params.positions" + "value": "[XKTModel.createGeometry] Parameter expected: params.positions" } } ], @@ -23696,8 +23696,8 @@ }, { "type": "VariableDeclaration", - "start": 27345, - "end": 27400, + "start": 27723, + "end": 27778, "loc": { "start": { "line": 708, @@ -23711,8 +23711,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27351, - "end": 27399, + "start": 27729, + "end": 27777, "loc": { "start": { "line": 708, @@ -23725,8 +23725,8 @@ }, "id": { "type": "Identifier", - "start": 27351, - "end": 27360, + "start": 27729, + "end": 27738, "loc": { "start": { "line": 708, @@ -23742,8 +23742,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27363, - "end": 27399, + "start": 27741, + "end": 27777, "loc": { "start": { "line": 708, @@ -23756,8 +23756,8 @@ }, "left": { "type": "MemberExpression", - "start": 27363, - "end": 27383, + "start": 27741, + "end": 27761, "loc": { "start": { "line": 708, @@ -23770,8 +23770,8 @@ }, "object": { "type": "Identifier", - "start": 27363, - "end": 27369, + "start": 27741, + "end": 27747, "loc": { "start": { "line": 708, @@ -23787,8 +23787,8 @@ }, "property": { "type": "Identifier", - "start": 27370, - "end": 27383, + "start": 27748, + "end": 27761, "loc": { "start": { "line": 708, @@ -23807,8 +23807,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27388, - "end": 27399, + "start": 27766, + "end": 27777, "loc": { "start": { "line": 708, @@ -23832,8 +23832,8 @@ }, { "type": "VariableDeclaration", - "start": 27409, - "end": 27458, + "start": 27787, + "end": 27836, "loc": { "start": { "line": 709, @@ -23847,8 +23847,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27415, - "end": 27457, + "start": 27793, + "end": 27835, "loc": { "start": { "line": 709, @@ -23861,8 +23861,8 @@ }, "id": { "type": "Identifier", - "start": 27415, - "end": 27421, + "start": 27793, + "end": 27799, "loc": { "start": { "line": 709, @@ -23878,8 +23878,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27424, - "end": 27457, + "start": 27802, + "end": 27835, "loc": { "start": { "line": 709, @@ -23892,8 +23892,8 @@ }, "left": { "type": "MemberExpression", - "start": 27424, - "end": 27444, + "start": 27802, + "end": 27822, "loc": { "start": { "line": 709, @@ -23906,8 +23906,8 @@ }, "object": { "type": "Identifier", - "start": 27424, - "end": 27430, + "start": 27802, + "end": 27808, "loc": { "start": { "line": 709, @@ -23923,8 +23923,8 @@ }, "property": { "type": "Identifier", - "start": 27431, - "end": 27444, + "start": 27809, + "end": 27822, "loc": { "start": { "line": 709, @@ -23943,8 +23943,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27449, - "end": 27457, + "start": 27827, + "end": 27835, "loc": { "start": { "line": 709, @@ -23968,8 +23968,8 @@ }, { "type": "VariableDeclaration", - "start": 27467, - "end": 27514, + "start": 27845, + "end": 27892, "loc": { "start": { "line": 710, @@ -23983,8 +23983,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27473, - "end": 27513, + "start": 27851, + "end": 27891, "loc": { "start": { "line": 710, @@ -23997,8 +23997,8 @@ }, "id": { "type": "Identifier", - "start": 27473, - "end": 27478, + "start": 27851, + "end": 27856, "loc": { "start": { "line": 710, @@ -24014,8 +24014,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27481, - "end": 27513, + "start": 27859, + "end": 27891, "loc": { "start": { "line": 710, @@ -24028,8 +24028,8 @@ }, "left": { "type": "MemberExpression", - "start": 27481, - "end": 27501, + "start": 27859, + "end": 27879, "loc": { "start": { "line": 710, @@ -24042,8 +24042,8 @@ }, "object": { "type": "Identifier", - "start": 27481, - "end": 27487, + "start": 27859, + "end": 27865, "loc": { "start": { "line": 710, @@ -24059,8 +24059,8 @@ }, "property": { "type": "Identifier", - "start": 27488, - "end": 27501, + "start": 27866, + "end": 27879, "loc": { "start": { "line": 710, @@ -24079,8 +24079,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27506, - "end": 27513, + "start": 27884, + "end": 27891, "loc": { "start": { "line": 710, @@ -24104,8 +24104,8 @@ }, { "type": "VariableDeclaration", - "start": 27523, - "end": 27580, + "start": 27901, + "end": 27958, "loc": { "start": { "line": 711, @@ -24119,8 +24119,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27529, - "end": 27579, + "start": 27907, + "end": 27957, "loc": { "start": { "line": 711, @@ -24133,8 +24133,8 @@ }, "id": { "type": "Identifier", - "start": 27529, - "end": 27539, + "start": 27907, + "end": 27917, "loc": { "start": { "line": 711, @@ -24150,8 +24150,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27542, - "end": 27579, + "start": 27920, + "end": 27957, "loc": { "start": { "line": 711, @@ -24164,8 +24164,8 @@ }, "left": { "type": "MemberExpression", - "start": 27542, - "end": 27562, + "start": 27920, + "end": 27940, "loc": { "start": { "line": 711, @@ -24178,8 +24178,8 @@ }, "object": { "type": "Identifier", - "start": 27542, - "end": 27548, + "start": 27920, + "end": 27926, "loc": { "start": { "line": 711, @@ -24195,8 +24195,8 @@ }, "property": { "type": "Identifier", - "start": 27549, - "end": 27562, + "start": 27927, + "end": 27940, "loc": { "start": { "line": 711, @@ -24215,8 +24215,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27567, - "end": 27579, + "start": 27945, + "end": 27957, "loc": { "start": { "line": 711, @@ -24240,8 +24240,8 @@ }, { "type": "VariableDeclaration", - "start": 27589, - "end": 27644, + "start": 27967, + "end": 28022, "loc": { "start": { "line": 712, @@ -24255,8 +24255,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27595, - "end": 27643, + "start": 27973, + "end": 28021, "loc": { "start": { "line": 712, @@ -24269,8 +24269,8 @@ }, "id": { "type": "Identifier", - "start": 27595, - "end": 27604, + "start": 27973, + "end": 27982, "loc": { "start": { "line": 712, @@ -24286,8 +24286,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27607, - "end": 27643, + "start": 27985, + "end": 28021, "loc": { "start": { "line": 712, @@ -24300,8 +24300,8 @@ }, "left": { "type": "MemberExpression", - "start": 27607, - "end": 27627, + "start": 27985, + "end": 28005, "loc": { "start": { "line": 712, @@ -24314,8 +24314,8 @@ }, "object": { "type": "Identifier", - "start": 27607, - "end": 27613, + "start": 27985, + "end": 27991, "loc": { "start": { "line": 712, @@ -24331,8 +24331,8 @@ }, "property": { "type": "Identifier", - "start": 27614, - "end": 27627, + "start": 27992, + "end": 28005, "loc": { "start": { "line": 712, @@ -24351,8 +24351,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27632, - "end": 27643, + "start": 28010, + "end": 28021, "loc": { "start": { "line": 712, @@ -24376,8 +24376,8 @@ }, { "type": "VariableDeclaration", - "start": 27653, - "end": 27718, + "start": 28031, + "end": 28096, "loc": { "start": { "line": 713, @@ -24391,8 +24391,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27659, - "end": 27717, + "start": 28037, + "end": 28095, "loc": { "start": { "line": 713, @@ -24405,8 +24405,8 @@ }, "id": { "type": "Identifier", - "start": 27659, - "end": 27673, + "start": 28037, + "end": 28051, "loc": { "start": { "line": 713, @@ -24422,8 +24422,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27676, - "end": 27717, + "start": 28054, + "end": 28095, "loc": { "start": { "line": 713, @@ -24436,8 +24436,8 @@ }, "left": { "type": "MemberExpression", - "start": 27676, - "end": 27696, + "start": 28054, + "end": 28074, "loc": { "start": { "line": 713, @@ -24450,8 +24450,8 @@ }, "object": { "type": "Identifier", - "start": 27676, - "end": 27682, + "start": 28054, + "end": 28060, "loc": { "start": { "line": 713, @@ -24467,8 +24467,8 @@ }, "property": { "type": "Identifier", - "start": 27683, - "end": 27696, + "start": 28061, + "end": 28074, "loc": { "start": { "line": 713, @@ -24487,8 +24487,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27701, - "end": 27717, + "start": 28079, + "end": 28095, "loc": { "start": { "line": 713, @@ -24512,8 +24512,8 @@ }, { "type": "VariableDeclaration", - "start": 27727, - "end": 27788, + "start": 28105, + "end": 28166, "loc": { "start": { "line": 714, @@ -24527,8 +24527,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27733, - "end": 27787, + "start": 28111, + "end": 28165, "loc": { "start": { "line": 714, @@ -24541,8 +24541,8 @@ }, "id": { "type": "Identifier", - "start": 27733, - "end": 27745, + "start": 28111, + "end": 28123, "loc": { "start": { "line": 714, @@ -24558,8 +24558,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27748, - "end": 27787, + "start": 28126, + "end": 28165, "loc": { "start": { "line": 714, @@ -24572,8 +24572,8 @@ }, "left": { "type": "MemberExpression", - "start": 27748, - "end": 27768, + "start": 28126, + "end": 28146, "loc": { "start": { "line": 714, @@ -24586,8 +24586,8 @@ }, "object": { "type": "Identifier", - "start": 27748, - "end": 27754, + "start": 28126, + "end": 28132, "loc": { "start": { "line": 714, @@ -24603,8 +24603,8 @@ }, "property": { "type": "Identifier", - "start": 27755, - "end": 27768, + "start": 28133, + "end": 28146, "loc": { "start": { "line": 714, @@ -24623,8 +24623,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27773, - "end": 27787, + "start": 28151, + "end": 28165, "loc": { "start": { "line": 714, @@ -24648,8 +24648,8 @@ }, { "type": "IfStatement", - "start": 27798, - "end": 28098, + "start": 28176, + "end": 28502, "loc": { "start": { "line": 716, @@ -24662,8 +24662,8 @@ }, "test": { "type": "LogicalExpression", - "start": 27802, - "end": 27862, + "start": 28180, + "end": 28240, "loc": { "start": { "line": 716, @@ -24676,8 +24676,8 @@ }, "left": { "type": "LogicalExpression", - "start": 27802, - "end": 27848, + "start": 28180, + "end": 28226, "loc": { "start": { "line": 716, @@ -24690,8 +24690,8 @@ }, "left": { "type": "LogicalExpression", - "start": 27802, - "end": 27833, + "start": 28180, + "end": 28211, "loc": { "start": { "line": 716, @@ -24704,8 +24704,8 @@ }, "left": { "type": "LogicalExpression", - "start": 27802, - "end": 27823, + "start": 28180, + "end": 28201, "loc": { "start": { "line": 716, @@ -24718,8 +24718,8 @@ }, "left": { "type": "UnaryExpression", - "start": 27802, - "end": 27812, + "start": 28180, + "end": 28190, "loc": { "start": { "line": 716, @@ -24734,8 +24734,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 27803, - "end": 27812, + "start": 28181, + "end": 28190, "loc": { "start": { "line": 716, @@ -24756,8 +24756,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 27816, - "end": 27823, + "start": 28194, + "end": 28201, "loc": { "start": { "line": 716, @@ -24772,8 +24772,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 27817, - "end": 27823, + "start": 28195, + "end": 28201, "loc": { "start": { "line": 716, @@ -24795,8 +24795,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 27827, - "end": 27833, + "start": 28205, + "end": 28211, "loc": { "start": { "line": 716, @@ -24811,8 +24811,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 27828, - "end": 27833, + "start": 28206, + "end": 28211, "loc": { "start": { "line": 716, @@ -24834,8 +24834,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 27837, - "end": 27848, + "start": 28215, + "end": 28226, "loc": { "start": { "line": 716, @@ -24850,8 +24850,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 27838, - "end": 27848, + "start": 28216, + "end": 28226, "loc": { "start": { "line": 716, @@ -24873,8 +24873,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 27852, - "end": 27862, + "start": 28230, + "end": 28240, "loc": { "start": { "line": 716, @@ -24889,8 +24889,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 27853, - "end": 27862, + "start": 28231, + "end": 28240, "loc": { "start": { "line": 716, @@ -24911,8 +24911,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 27864, - "end": 28098, + "start": 28242, + "end": 28502, "loc": { "start": { "line": 716, @@ -24926,8 +24926,8 @@ "body": [ { "type": "ThrowStatement", - "start": 27878, - "end": 28088, + "start": 28256, + "end": 28492, "loc": { "start": { "line": 717, @@ -24940,8 +24940,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 27884, - "end": 28087, + "start": 28262, + "end": 28491, "loc": { "start": { "line": 717, @@ -24954,8 +24954,8 @@ }, "left": { "type": "BinaryExpression", - "start": 27884, - "end": 27965, + "start": 28262, + "end": 28369, "loc": { "start": { "line": 717, @@ -24968,8 +24968,8 @@ }, "left": { "type": "StringLiteral", - "start": 27884, - "end": 27930, + "start": 28262, + "end": 28334, "loc": { "start": { "line": 717, @@ -24977,20 +24977,20 @@ }, "end": { "line": 717, - "column": 64 + "column": 90 } }, "extra": { - "rawValue": "Unsupported value for params.primitiveType: ", - "raw": "\"Unsupported value for params.primitiveType: \"" + "rawValue": "[XKTModel.createGeometry] Unsupported value for params.primitiveType: ", + "raw": "\"[XKTModel.createGeometry] Unsupported value for params.primitiveType: \"" }, - "value": "Unsupported value for params.primitiveType: " + "value": "[XKTModel.createGeometry] Unsupported value for params.primitiveType: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 27945, - "end": 27965, + "start": 28349, + "end": 28369, "loc": { "start": { "line": 718, @@ -25003,8 +25003,8 @@ }, "object": { "type": "Identifier", - "start": 27945, - "end": 27951, + "start": 28349, + "end": 28355, "loc": { "start": { "line": 718, @@ -25020,8 +25020,8 @@ }, "property": { "type": "Identifier", - "start": 27952, - "end": 27965, + "start": 28356, + "end": 28369, "loc": { "start": { "line": 718, @@ -25041,8 +25041,8 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 27980, - "end": 28087, + "start": 28384, + "end": 28491, "loc": { "start": { "line": 719, @@ -25068,8 +25068,8 @@ }, { "type": "IfStatement", - "start": 28108, - "end": 28331, + "start": 28512, + "end": 28761, "loc": { "start": { "line": 722, @@ -25082,8 +25082,8 @@ }, "test": { "type": "Identifier", - "start": 28112, - "end": 28121, + "start": 28516, + "end": 28525, "loc": { "start": { "line": 722, @@ -25099,8 +25099,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 28123, - "end": 28331, + "start": 28527, + "end": 28761, "loc": { "start": { "line": 722, @@ -25114,8 +25114,8 @@ "body": [ { "type": "IfStatement", - "start": 28137, - "end": 28321, + "start": 28541, + "end": 28751, "loc": { "start": { "line": 723, @@ -25128,8 +25128,8 @@ }, "test": { "type": "UnaryExpression", - "start": 28141, - "end": 28156, + "start": 28545, + "end": 28560, "loc": { "start": { "line": 723, @@ -25144,8 +25144,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 28142, - "end": 28156, + "start": 28546, + "end": 28560, "loc": { "start": { "line": 723, @@ -25158,8 +25158,8 @@ }, "object": { "type": "Identifier", - "start": 28142, - "end": 28148, + "start": 28546, + "end": 28552, "loc": { "start": { "line": 723, @@ -25175,8 +25175,8 @@ }, "property": { "type": "Identifier", - "start": 28149, - "end": 28156, + "start": 28553, + "end": 28560, "loc": { "start": { "line": 723, @@ -25198,8 +25198,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 28158, - "end": 28321, + "start": 28562, + "end": 28751, "loc": { "start": { "line": 723, @@ -25213,8 +25213,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 28176, - "end": 28221, + "start": 28580, + "end": 28625, "loc": { "start": { "line": 724, @@ -25227,8 +25227,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 28176, - "end": 28221, + "start": 28580, + "end": 28625, "loc": { "start": { "line": 724, @@ -25242,8 +25242,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 28176, - "end": 28190, + "start": 28580, + "end": 28594, "loc": { "start": { "line": 724, @@ -25256,8 +25256,8 @@ }, "object": { "type": "Identifier", - "start": 28176, - "end": 28182, + "start": 28580, + "end": 28586, "loc": { "start": { "line": 724, @@ -25273,8 +25273,8 @@ }, "property": { "type": "Identifier", - "start": 28183, - "end": 28190, + "start": 28587, + "end": 28594, "loc": { "start": { "line": 724, @@ -25292,8 +25292,8 @@ }, "right": { "type": "CallExpression", - "start": 28193, - "end": 28221, + "start": 28597, + "end": 28625, "loc": { "start": { "line": 724, @@ -25306,8 +25306,8 @@ }, "callee": { "type": "MemberExpression", - "start": 28193, - "end": 28219, + "start": 28597, + "end": 28623, "loc": { "start": { "line": 724, @@ -25320,8 +25320,8 @@ }, "object": { "type": "ThisExpression", - "start": 28193, - "end": 28197, + "start": 28597, + "end": 28601, "loc": { "start": { "line": 724, @@ -25335,8 +25335,8 @@ }, "property": { "type": "Identifier", - "start": 28198, - "end": 28219, + "start": 28602, + "end": 28623, "loc": { "start": { "line": 724, @@ -25358,8 +25358,8 @@ }, { "type": "ThrowStatement", - "start": 28238, - "end": 28307, + "start": 28642, + "end": 28737, "loc": { "start": { "line": 725, @@ -25367,13 +25367,13 @@ }, "end": { "line": 725, - "column": 85 + "column": 111 } }, "argument": { "type": "StringLiteral", - "start": 28244, - "end": 28306, + "start": 28648, + "end": 28736, "loc": { "start": { "line": 725, @@ -25381,14 +25381,14 @@ }, "end": { "line": 725, - "column": 84 + "column": 110 } }, "extra": { - "rawValue": "Parameter expected for 'triangles' primitive: params.indices", - "raw": "\"Parameter expected for 'triangles' primitive: params.indices\"" + "rawValue": "[XKTModel.createGeometry] Parameter expected for 'triangles' primitive: params.indices", + "raw": "\"[XKTModel.createGeometry] Parameter expected for 'triangles' primitive: params.indices\"" }, - "value": "Parameter expected for 'triangles' primitive: params.indices" + "value": "[XKTModel.createGeometry] Parameter expected for 'triangles' primitive: params.indices" } } ], @@ -25403,22 +25403,22 @@ }, { "type": "IfStatement", - "start": 28341, - "end": 28549, + "start": 28771, + "end": 29038, "loc": { "start": { "line": 729, "column": 8 }, "end": { - "line": 733, + "line": 734, "column": 9 } }, "test": { "type": "Identifier", - "start": 28345, - "end": 28351, + "start": 28775, + "end": 28781, "loc": { "start": { "line": 729, @@ -25434,37 +25434,37 @@ }, "consequent": { "type": "BlockStatement", - "start": 28353, - "end": 28549, + "start": 28783, + "end": 29038, "loc": { "start": { "line": 729, "column": 20 }, "end": { - "line": 733, + "line": 734, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 28367, - "end": 28539, + "start": 28797, + "end": 29028, "loc": { "start": { "line": 730, "column": 12 }, "end": { - "line": 732, + "line": 733, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 28371, - "end": 28413, + "start": 28801, + "end": 28843, "loc": { "start": { "line": 730, @@ -25477,8 +25477,8 @@ }, "left": { "type": "UnaryExpression", - "start": 28371, - "end": 28385, + "start": 28801, + "end": 28815, "loc": { "start": { "line": 730, @@ -25493,8 +25493,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 28372, - "end": 28385, + "start": 28802, + "end": 28815, "loc": { "start": { "line": 730, @@ -25507,8 +25507,8 @@ }, "object": { "type": "Identifier", - "start": 28372, - "end": 28378, + "start": 28802, + "end": 28808, "loc": { "start": { "line": 730, @@ -25524,8 +25524,8 @@ }, "property": { "type": "Identifier", - "start": 28379, - "end": 28385, + "start": 28809, + "end": 28815, "loc": { "start": { "line": 730, @@ -25548,8 +25548,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 28389, - "end": 28413, + "start": 28819, + "end": 28843, "loc": { "start": { "line": 730, @@ -25564,8 +25564,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 28390, - "end": 28413, + "start": 28820, + "end": 28843, "loc": { "start": { "line": 730, @@ -25578,8 +25578,8 @@ }, "object": { "type": "Identifier", - "start": 28390, - "end": 28396, + "start": 28820, + "end": 28826, "loc": { "start": { "line": 730, @@ -25595,8 +25595,8 @@ }, "property": { "type": "Identifier", - "start": 28397, - "end": 28413, + "start": 28827, + "end": 28843, "loc": { "start": { "line": 730, @@ -25619,23 +25619,23 @@ }, "consequent": { "type": "BlockStatement", - "start": 28415, - "end": 28539, + "start": 28845, + "end": 29028, "loc": { "start": { "line": 730, "column": 60 }, "end": { - "line": 732, + "line": 733, "column": 13 } }, "body": [ { - "type": "ThrowStatement", - "start": 28433, - "end": 28525, + "type": "ExpressionStatement", + "start": 28863, + "end": 28990, "loc": { "start": { "line": 731, @@ -25643,29 +25643,112 @@ }, "end": { "line": 731, - "column": 108 + "column": 143 } }, - "argument": { - "type": "StringLiteral", - "start": 28439, - "end": 28524, + "expression": { + "type": "CallExpression", + "start": 28863, + "end": 28989, "loc": { "start": { "line": 731, - "column": 22 + "column": 16 }, "end": { "line": 731, - "column": 107 + "column": 142 } }, - "extra": { - "rawValue": "Parameter expected for 'points' primitive: params.colors or params.colorsCompressed", - "raw": "\"Parameter expected for 'points' primitive: params.colors or params.colorsCompressed\"" + "callee": { + "type": "MemberExpression", + "start": 28863, + "end": 28876, + "loc": { + "start": { + "line": 731, + "column": 16 + }, + "end": { + "line": 731, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 28863, + "end": 28870, + "loc": { + "start": { + "line": 731, + "column": 16 + }, + "end": { + "line": 731, + "column": 23 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 28871, + "end": 28876, + "loc": { + "start": { + "line": 731, + "column": 24 + }, + "end": { + "line": 731, + "column": 29 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false }, - "value": "Parameter expected for 'points' primitive: params.colors or params.colorsCompressed" + "arguments": [ + { + "type": "StringLiteral", + "start": 28877, + "end": 28988, + "loc": { + "start": { + "line": 731, + "column": 30 + }, + "end": { + "line": 731, + "column": 141 + } + }, + "extra": { + "rawValue": "[XKTModel.createGeometry] Parameter expected for 'points' primitive: params.colors or params.colorsCompressed", + "raw": "\"[XKTModel.createGeometry] Parameter expected for 'points' primitive: params.colors or params.colorsCompressed\"" + }, + "value": "[XKTModel.createGeometry] Parameter expected for 'points' primitive: params.colors or params.colorsCompressed" + } + ] } + }, + { + "type": "ReturnStatement", + "start": 29007, + "end": 29014, + "loc": { + "start": { + "line": 732, + "column": 16 + }, + "end": { + "line": 732, + "column": 23 + } + }, + "argument": null } ], "directives": [] @@ -25679,29 +25762,29 @@ }, { "type": "IfStatement", - "start": 28559, - "end": 28712, + "start": 29048, + "end": 29227, "loc": { "start": { - "line": 735, + "line": 736, "column": 8 }, "end": { - "line": 739, + "line": 740, "column": 9 } }, "test": { "type": "Identifier", - "start": 28563, - "end": 28568, + "start": 29052, + "end": 29057, "loc": { "start": { - "line": 735, + "line": 736, "column": 12 }, "end": { - "line": 735, + "line": 736, "column": 17 }, "identifierName": "lines" @@ -25710,44 +25793,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 28570, - "end": 28712, + "start": 29059, + "end": 29227, "loc": { "start": { - "line": 735, + "line": 736, "column": 19 }, "end": { - "line": 739, + "line": 740, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 28584, - "end": 28702, + "start": 29073, + "end": 29217, "loc": { "start": { - "line": 736, + "line": 737, "column": 12 }, "end": { - "line": 738, + "line": 739, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 28588, - "end": 28603, + "start": 29077, + "end": 29092, "loc": { "start": { - "line": 736, + "line": 737, "column": 16 }, "end": { - "line": 736, + "line": 737, "column": 31 } }, @@ -25755,29 +25838,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 28589, - "end": 28603, + "start": 29078, + "end": 29092, "loc": { "start": { - "line": 736, + "line": 737, "column": 17 }, "end": { - "line": 736, + "line": 737, "column": 31 } }, "object": { "type": "Identifier", - "start": 28589, - "end": 28595, + "start": 29078, + "end": 29084, "loc": { "start": { - "line": 736, + "line": 737, "column": 17 }, "end": { - "line": 736, + "line": 737, "column": 23 }, "identifierName": "params" @@ -25786,15 +25869,15 @@ }, "property": { "type": "Identifier", - "start": 28596, - "end": 28603, + "start": 29085, + "end": 29092, "loc": { "start": { - "line": 736, + "line": 737, "column": 24 }, "end": { - "line": 736, + "line": 737, "column": 31 }, "identifierName": "indices" @@ -25809,52 +25892,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 28605, - "end": 28702, + "start": 29094, + "end": 29217, "loc": { "start": { - "line": 736, + "line": 737, "column": 33 }, "end": { - "line": 738, + "line": 739, "column": 13 } }, "body": [ { "type": "ThrowStatement", - "start": 28623, - "end": 28688, + "start": 29112, + "end": 29203, "loc": { "start": { - "line": 737, + "line": 738, "column": 16 }, "end": { - "line": 737, - "column": 81 + "line": 738, + "column": 107 } }, "argument": { "type": "StringLiteral", - "start": 28629, - "end": 28687, + "start": 29118, + "end": 29202, "loc": { "start": { - "line": 737, + "line": 738, "column": 22 }, "end": { - "line": 737, - "column": 80 + "line": 738, + "column": 106 } }, "extra": { - "rawValue": "Parameter expected for 'lines' primitive: params.indices", - "raw": "\"Parameter expected for 'lines' primitive: params.indices\"" + "rawValue": "[XKTModel.createGeometry] Parameter expected for 'lines' primitive: params.indices", + "raw": "\"[XKTModel.createGeometry] Parameter expected for 'lines' primitive: params.indices\"" }, - "value": "Parameter expected for 'lines' primitive: params.indices" + "value": "[XKTModel.createGeometry] Parameter expected for 'lines' primitive: params.indices" } } ], @@ -25869,58 +25952,58 @@ }, { "type": "IfStatement", - "start": 28722, - "end": 28858, + "start": 29237, + "end": 29373, "loc": { "start": { - "line": 741, + "line": 742, "column": 8 }, "end": { - "line": 744, + "line": 745, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 28726, - "end": 28740, + "start": 29241, + "end": 29255, "loc": { "start": { - "line": 741, + "line": 742, "column": 12 }, "end": { - "line": 741, + "line": 742, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 28726, - "end": 28730, + "start": 29241, + "end": 29245, "loc": { "start": { - "line": 741, + "line": 742, "column": 12 }, "end": { - "line": 741, + "line": 742, "column": 16 } } }, "property": { "type": "Identifier", - "start": 28731, - "end": 28740, + "start": 29246, + "end": 29255, "loc": { "start": { - "line": 741, + "line": 742, "column": 17 }, "end": { - "line": 741, + "line": 742, "column": 26 }, "identifierName": "finalized" @@ -25931,72 +26014,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 28742, - "end": 28858, + "start": 29257, + "end": 29373, "loc": { "start": { - "line": 741, + "line": 742, "column": 28 }, "end": { - "line": 744, + "line": 745, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 28756, - "end": 28828, + "start": 29271, + "end": 29343, "loc": { "start": { - "line": 742, + "line": 743, "column": 12 }, "end": { - "line": 742, + "line": 743, "column": 84 } }, "expression": { "type": "CallExpression", - "start": 28756, - "end": 28827, + "start": 29271, + "end": 29342, "loc": { "start": { - "line": 742, + "line": 743, "column": 12 }, "end": { - "line": 742, + "line": 743, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 28756, - "end": 28769, + "start": 29271, + "end": 29284, "loc": { "start": { - "line": 742, + "line": 743, "column": 12 }, "end": { - "line": 742, + "line": 743, "column": 25 } }, "object": { "type": "Identifier", - "start": 28756, - "end": 28763, + "start": 29271, + "end": 29278, "loc": { "start": { - "line": 742, + "line": 743, "column": 12 }, "end": { - "line": 742, + "line": 743, "column": 19 }, "identifierName": "console" @@ -26005,15 +26088,15 @@ }, "property": { "type": "Identifier", - "start": 28764, - "end": 28769, + "start": 29279, + "end": 29284, "loc": { "start": { - "line": 742, + "line": 743, "column": 20 }, "end": { - "line": 742, + "line": 743, "column": 25 }, "identifierName": "error" @@ -26025,15 +26108,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 28770, - "end": 28826, + "start": 29285, + "end": 29341, "loc": { "start": { - "line": 742, + "line": 743, "column": 26 }, "end": { - "line": 742, + "line": 743, "column": 82 } }, @@ -26048,15 +26131,15 @@ }, { "type": "ReturnStatement", - "start": 28841, - "end": 28848, + "start": 29356, + "end": 29363, "loc": { "start": { - "line": 743, + "line": 744, "column": 12 }, "end": { - "line": 743, + "line": 744, "column": 19 } }, @@ -26069,72 +26152,72 @@ }, { "type": "IfStatement", - "start": 28868, - "end": 29031, + "start": 29383, + "end": 29546, "loc": { "start": { - "line": 746, + "line": 747, "column": 8 }, "end": { - "line": 749, + "line": 750, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 28872, - "end": 28906, + "start": 29387, + "end": 29421, "loc": { "start": { - "line": 746, + "line": 747, "column": 12 }, "end": { - "line": 746, + "line": 747, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 28872, - "end": 28887, + "start": 29387, + "end": 29402, "loc": { "start": { - "line": 746, + "line": 747, "column": 12 }, "end": { - "line": 746, + "line": 747, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 28872, - "end": 28876, + "start": 29387, + "end": 29391, "loc": { "start": { - "line": 746, + "line": 747, "column": 12 }, "end": { - "line": 746, + "line": 747, "column": 16 } } }, "property": { "type": "Identifier", - "start": 28877, - "end": 28887, + "start": 29392, + "end": 29402, "loc": { "start": { - "line": 746, + "line": 747, "column": 17 }, "end": { - "line": 746, + "line": 747, "column": 27 }, "identifierName": "geometries" @@ -26145,29 +26228,29 @@ }, "property": { "type": "MemberExpression", - "start": 28888, - "end": 28905, + "start": 29403, + "end": 29420, "loc": { "start": { - "line": 746, + "line": 747, "column": 28 }, "end": { - "line": 746, + "line": 747, "column": 45 } }, "object": { "type": "Identifier", - "start": 28888, - "end": 28894, + "start": 29403, + "end": 29409, "loc": { "start": { - "line": 746, + "line": 747, "column": 28 }, "end": { - "line": 746, + "line": 747, "column": 34 }, "identifierName": "params" @@ -26176,15 +26259,15 @@ }, "property": { "type": "Identifier", - "start": 28895, - "end": 28905, + "start": 29410, + "end": 29420, "loc": { "start": { - "line": 746, + "line": 747, "column": 35 }, "end": { - "line": 746, + "line": 747, "column": 45 }, "identifierName": "geometryId" @@ -26197,72 +26280,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 28908, - "end": 29031, + "start": 29423, + "end": 29546, "loc": { "start": { - "line": 746, + "line": 747, "column": 48 }, "end": { - "line": 749, + "line": 750, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 28922, - "end": 29001, + "start": 29437, + "end": 29516, "loc": { "start": { - "line": 747, + "line": 748, "column": 12 }, "end": { - "line": 747, + "line": 748, "column": 91 } }, "expression": { "type": "CallExpression", - "start": 28922, - "end": 29000, + "start": 29437, + "end": 29515, "loc": { "start": { - "line": 747, + "line": 748, "column": 12 }, "end": { - "line": 747, + "line": 748, "column": 90 } }, "callee": { "type": "MemberExpression", - "start": 28922, - "end": 28935, + "start": 29437, + "end": 29450, "loc": { "start": { - "line": 747, + "line": 748, "column": 12 }, "end": { - "line": 747, + "line": 748, "column": 25 } }, "object": { "type": "Identifier", - "start": 28922, - "end": 28929, + "start": 29437, + "end": 29444, "loc": { "start": { - "line": 747, + "line": 748, "column": 12 }, "end": { - "line": 747, + "line": 748, "column": 19 }, "identifierName": "console" @@ -26271,15 +26354,15 @@ }, "property": { "type": "Identifier", - "start": 28930, - "end": 28935, + "start": 29445, + "end": 29450, "loc": { "start": { - "line": 747, + "line": 748, "column": 20 }, "end": { - "line": 747, + "line": 748, "column": 25 }, "identifierName": "error" @@ -26291,29 +26374,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 28936, - "end": 28999, + "start": 29451, + "end": 29514, "loc": { "start": { - "line": 747, + "line": 748, "column": 26 }, "end": { - "line": 747, + "line": 748, "column": 89 } }, "left": { "type": "StringLiteral", - "start": 28936, - "end": 28979, + "start": 29451, + "end": 29494, "loc": { "start": { - "line": 747, + "line": 748, "column": 26 }, "end": { - "line": 747, + "line": 748, "column": 69 } }, @@ -26326,29 +26409,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 28982, - "end": 28999, + "start": 29497, + "end": 29514, "loc": { "start": { - "line": 747, + "line": 748, "column": 72 }, "end": { - "line": 747, + "line": 748, "column": 89 } }, "object": { "type": "Identifier", - "start": 28982, - "end": 28988, + "start": 29497, + "end": 29503, "loc": { "start": { - "line": 747, + "line": 748, "column": 72 }, "end": { - "line": 747, + "line": 748, "column": 78 }, "identifierName": "params" @@ -26357,15 +26440,15 @@ }, "property": { "type": "Identifier", - "start": 28989, - "end": 28999, + "start": 29504, + "end": 29514, "loc": { "start": { - "line": 747, + "line": 748, "column": 79 }, "end": { - "line": 747, + "line": 748, "column": 89 }, "identifierName": "geometryId" @@ -26380,15 +26463,15 @@ }, { "type": "ReturnStatement", - "start": 29014, - "end": 29021, + "start": 29529, + "end": 29536, "loc": { "start": { - "line": 748, + "line": 749, "column": 12 }, "end": { - "line": 748, + "line": 749, "column": 19 } }, @@ -26401,44 +26484,44 @@ }, { "type": "VariableDeclaration", - "start": 29041, - "end": 29078, + "start": 29556, + "end": 29593, "loc": { "start": { - "line": 751, + "line": 752, "column": 8 }, "end": { - "line": 751, + "line": 752, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 29047, - "end": 29077, + "start": 29562, + "end": 29592, "loc": { "start": { - "line": 751, + "line": 752, "column": 14 }, "end": { - "line": 751, + "line": 752, "column": 44 } }, "id": { "type": "Identifier", - "start": 29047, - "end": 29057, + "start": 29562, + "end": 29572, "loc": { "start": { - "line": 751, + "line": 752, "column": 14 }, "end": { - "line": 751, + "line": 752, "column": 24 }, "identifierName": "geometryId" @@ -26447,29 +26530,29 @@ }, "init": { "type": "MemberExpression", - "start": 29060, - "end": 29077, + "start": 29575, + "end": 29592, "loc": { "start": { - "line": 751, + "line": 752, "column": 27 }, "end": { - "line": 751, + "line": 752, "column": 44 } }, "object": { "type": "Identifier", - "start": 29060, - "end": 29066, + "start": 29575, + "end": 29581, "loc": { "start": { - "line": 751, + "line": 752, "column": 27 }, "end": { - "line": 751, + "line": 752, "column": 33 }, "identifierName": "params" @@ -26478,15 +26561,15 @@ }, "property": { "type": "Identifier", - "start": 29067, - "end": 29077, + "start": 29582, + "end": 29592, "loc": { "start": { - "line": 751, + "line": 752, "column": 34 }, "end": { - "line": 751, + "line": 752, "column": 44 }, "identifierName": "geometryId" @@ -26501,44 +26584,44 @@ }, { "type": "VariableDeclaration", - "start": 29087, - "end": 29130, + "start": 29602, + "end": 29645, "loc": { "start": { - "line": 752, + "line": 753, "column": 8 }, "end": { - "line": 752, + "line": 753, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 29093, - "end": 29129, + "start": 29608, + "end": 29644, "loc": { "start": { - "line": 752, + "line": 753, "column": 14 }, "end": { - "line": 752, + "line": 753, "column": 50 } }, "id": { "type": "Identifier", - "start": 29093, - "end": 29106, + "start": 29608, + "end": 29621, "loc": { "start": { - "line": 752, + "line": 753, "column": 14 }, "end": { - "line": 752, + "line": 753, "column": 27 }, "identifierName": "primitiveType" @@ -26547,29 +26630,29 @@ }, "init": { "type": "MemberExpression", - "start": 29109, - "end": 29129, + "start": 29624, + "end": 29644, "loc": { "start": { - "line": 752, + "line": 753, "column": 30 }, "end": { - "line": 752, + "line": 753, "column": 50 } }, "object": { "type": "Identifier", - "start": 29109, - "end": 29115, + "start": 29624, + "end": 29630, "loc": { "start": { - "line": 752, + "line": 753, "column": 30 }, "end": { - "line": 752, + "line": 753, "column": 36 }, "identifierName": "params" @@ -26578,15 +26661,15 @@ }, "property": { "type": "Identifier", - "start": 29116, - "end": 29129, + "start": 29631, + "end": 29644, "loc": { "start": { - "line": 752, + "line": 753, "column": 37 }, "end": { - "line": 752, + "line": 753, "column": 50 }, "identifierName": "primitiveType" @@ -26601,44 +26684,44 @@ }, { "type": "VariableDeclaration", - "start": 29139, - "end": 29192, + "start": 29654, + "end": 29707, "loc": { "start": { - "line": 753, + "line": 754, "column": 8 }, "end": { - "line": 753, + "line": 754, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 29145, - "end": 29191, + "start": 29660, + "end": 29706, "loc": { "start": { - "line": 753, + "line": 754, "column": 14 }, "end": { - "line": 753, + "line": 754, "column": 60 } }, "id": { "type": "Identifier", - "start": 29145, - "end": 29154, + "start": 29660, + "end": 29669, "loc": { "start": { - "line": 753, + "line": 754, "column": 14 }, "end": { - "line": 753, + "line": 754, "column": 23 }, "identifierName": "positions" @@ -26647,29 +26730,29 @@ }, "init": { "type": "NewExpression", - "start": 29157, - "end": 29191, + "start": 29672, + "end": 29706, "loc": { "start": { - "line": 753, + "line": 754, "column": 26 }, "end": { - "line": 753, + "line": 754, "column": 60 } }, "callee": { "type": "Identifier", - "start": 29161, - "end": 29173, + "start": 29676, + "end": 29688, "loc": { "start": { - "line": 753, + "line": 754, "column": 30 }, "end": { - "line": 753, + "line": 754, "column": 42 }, "identifierName": "Float64Array" @@ -26679,29 +26762,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 29174, - "end": 29190, + "start": 29689, + "end": 29705, "loc": { "start": { - "line": 753, + "line": 754, "column": 43 }, "end": { - "line": 753, + "line": 754, "column": 59 } }, "object": { "type": "Identifier", - "start": 29174, - "end": 29180, + "start": 29689, + "end": 29695, "loc": { "start": { - "line": 753, + "line": 754, "column": 43 }, "end": { - "line": 753, + "line": 754, "column": 49 }, "identifierName": "params" @@ -26710,15 +26793,15 @@ }, "property": { "type": "Identifier", - "start": 29181, - "end": 29190, + "start": 29696, + "end": 29705, "loc": { "start": { - "line": 753, + "line": 754, "column": 50 }, "end": { - "line": 753, + "line": 754, "column": 59 }, "identifierName": "positions" @@ -26736,15 +26819,15 @@ { "type": "CommentLine", "value": " May modify in #finalize", - "start": 29193, - "end": 29219, + "start": 29708, + "end": 29734, "loc": { "start": { - "line": 753, + "line": 754, "column": 62 }, "end": { - "line": 753, + "line": 754, "column": 88 } } @@ -26753,44 +26836,44 @@ }, { "type": "VariableDeclaration", - "start": 29229, - "end": 29471, + "start": 29744, + "end": 29986, "loc": { "start": { - "line": 755, + "line": 756, "column": 8 }, "end": { - "line": 761, + "line": 762, "column": 9 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 29235, - "end": 29471, + "start": 29750, + "end": 29986, "loc": { "start": { - "line": 755, + "line": 756, "column": 14 }, "end": { - "line": 761, + "line": 762, "column": 9 } }, "id": { "type": "Identifier", - "start": 29235, - "end": 29249, + "start": 29750, + "end": 29764, "loc": { "start": { - "line": 755, + "line": 756, "column": 14 }, "end": { - "line": 755, + "line": 756, "column": 28 }, "identifierName": "xktGeometryCfg" @@ -26800,30 +26883,30 @@ }, "init": { "type": "ObjectExpression", - "start": 29252, - "end": 29471, + "start": 29767, + "end": 29986, "loc": { "start": { - "line": 755, + "line": 756, "column": 31 }, "end": { - "line": 761, + "line": 762, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 29266, - "end": 29288, + "start": 29781, + "end": 29803, "loc": { "start": { - "line": 756, + "line": 757, "column": 12 }, "end": { - "line": 756, + "line": 757, "column": 34 } }, @@ -26832,15 +26915,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 29266, - "end": 29276, + "start": 29781, + "end": 29791, "loc": { "start": { - "line": 756, + "line": 757, "column": 12 }, "end": { - "line": 756, + "line": 757, "column": 22 }, "identifierName": "geometryId" @@ -26849,15 +26932,15 @@ }, "value": { "type": "Identifier", - "start": 29278, - "end": 29288, + "start": 29793, + "end": 29803, "loc": { "start": { - "line": 756, + "line": 757, "column": 24 }, "end": { - "line": 756, + "line": 757, "column": 34 }, "identifierName": "geometryId" @@ -26867,15 +26950,15 @@ }, { "type": "ObjectProperty", - "start": 29302, - "end": 29343, + "start": 29817, + "end": 29858, "loc": { "start": { - "line": 757, + "line": 758, "column": 12 }, "end": { - "line": 757, + "line": 758, "column": 53 } }, @@ -26884,15 +26967,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 29302, - "end": 29315, + "start": 29817, + "end": 29830, "loc": { "start": { - "line": 757, + "line": 758, "column": 12 }, "end": { - "line": 757, + "line": 758, "column": 25 }, "identifierName": "geometryIndex" @@ -26901,58 +26984,58 @@ }, "value": { "type": "MemberExpression", - "start": 29317, - "end": 29343, + "start": 29832, + "end": 29858, "loc": { "start": { - "line": 757, + "line": 758, "column": 27 }, "end": { - "line": 757, + "line": 758, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 29317, - "end": 29336, + "start": 29832, + "end": 29851, "loc": { "start": { - "line": 757, + "line": 758, "column": 27 }, "end": { - "line": 757, + "line": 758, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 29317, - "end": 29321, + "start": 29832, + "end": 29836, "loc": { "start": { - "line": 757, + "line": 758, "column": 27 }, "end": { - "line": 757, + "line": 758, "column": 31 } } }, "property": { "type": "Identifier", - "start": 29322, - "end": 29336, + "start": 29837, + "end": 29851, "loc": { "start": { - "line": 757, + "line": 758, "column": 32 }, "end": { - "line": 757, + "line": 758, "column": 46 }, "identifierName": "geometriesList" @@ -26963,15 +27046,15 @@ }, "property": { "type": "Identifier", - "start": 29337, - "end": 29343, + "start": 29852, + "end": 29858, "loc": { "start": { - "line": 757, + "line": 758, "column": 47 }, "end": { - "line": 757, + "line": 758, "column": 53 }, "identifierName": "length" @@ -26983,15 +27066,15 @@ }, { "type": "ObjectProperty", - "start": 29357, - "end": 29385, + "start": 29872, + "end": 29900, "loc": { "start": { - "line": 758, + "line": 759, "column": 12 }, "end": { - "line": 758, + "line": 759, "column": 40 } }, @@ -27000,15 +27083,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 29357, - "end": 29370, + "start": 29872, + "end": 29885, "loc": { "start": { - "line": 758, + "line": 759, "column": 12 }, "end": { - "line": 758, + "line": 759, "column": 25 }, "identifierName": "primitiveType" @@ -27017,15 +27100,15 @@ }, "value": { "type": "Identifier", - "start": 29372, - "end": 29385, + "start": 29887, + "end": 29900, "loc": { "start": { - "line": 758, + "line": 759, "column": 27 }, "end": { - "line": 758, + "line": 759, "column": 40 }, "identifierName": "primitiveType" @@ -27035,15 +27118,15 @@ }, { "type": "ObjectProperty", - "start": 29399, - "end": 29419, + "start": 29914, + "end": 29934, "loc": { "start": { - "line": 759, + "line": 760, "column": 12 }, "end": { - "line": 759, + "line": 760, "column": 32 } }, @@ -27052,15 +27135,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 29399, - "end": 29408, + "start": 29914, + "end": 29923, "loc": { "start": { - "line": 759, + "line": 760, "column": 12 }, "end": { - "line": 759, + "line": 760, "column": 21 }, "identifierName": "positions" @@ -27069,15 +27152,15 @@ }, "value": { "type": "Identifier", - "start": 29410, - "end": 29419, + "start": 29925, + "end": 29934, "loc": { "start": { - "line": 759, + "line": 760, "column": 23 }, "end": { - "line": 759, + "line": 760, "column": 32 }, "identifierName": "positions" @@ -27087,15 +27170,15 @@ }, { "type": "ObjectProperty", - "start": 29433, - "end": 29461, + "start": 29948, + "end": 29976, "loc": { "start": { - "line": 760, + "line": 761, "column": 12 }, "end": { - "line": 760, + "line": 761, "column": 40 } }, @@ -27104,15 +27187,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 29433, - "end": 29436, + "start": 29948, + "end": 29951, "loc": { "start": { - "line": 760, + "line": 761, "column": 12 }, "end": { - "line": 760, + "line": 761, "column": 15 }, "identifierName": "uvs" @@ -27121,43 +27204,43 @@ }, "value": { "type": "LogicalExpression", - "start": 29438, - "end": 29461, + "start": 29953, + "end": 29976, "loc": { "start": { - "line": 760, + "line": 761, "column": 17 }, "end": { - "line": 760, + "line": 761, "column": 40 } }, "left": { "type": "MemberExpression", - "start": 29438, - "end": 29448, + "start": 29953, + "end": 29963, "loc": { "start": { - "line": 760, + "line": 761, "column": 17 }, "end": { - "line": 760, + "line": 761, "column": 27 } }, "object": { "type": "Identifier", - "start": 29438, - "end": 29444, + "start": 29953, + "end": 29959, "loc": { "start": { - "line": 760, + "line": 761, "column": 17 }, "end": { - "line": 760, + "line": 761, "column": 23 }, "identifierName": "params" @@ -27166,15 +27249,15 @@ }, "property": { "type": "Identifier", - "start": 29445, - "end": 29448, + "start": 29960, + "end": 29963, "loc": { "start": { - "line": 760, + "line": 761, "column": 24 }, "end": { - "line": 760, + "line": 761, "column": 27 }, "identifierName": "uvs" @@ -27186,29 +27269,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 29452, - "end": 29461, + "start": 29967, + "end": 29976, "loc": { "start": { - "line": 760, + "line": 761, "column": 31 }, "end": { - "line": 760, + "line": 761, "column": 40 } }, "object": { "type": "Identifier", - "start": 29452, - "end": 29458, + "start": 29967, + "end": 29973, "loc": { "start": { - "line": 760, + "line": 761, "column": 31 }, "end": { - "line": 760, + "line": 761, "column": 37 }, "identifierName": "params" @@ -27217,15 +27300,15 @@ }, "property": { "type": "Identifier", - "start": 29459, - "end": 29461, + "start": 29974, + "end": 29976, "loc": { "start": { - "line": 760, + "line": 761, "column": 38 }, "end": { - "line": 760, + "line": 761, "column": 40 }, "identifierName": "uv" @@ -27246,15 +27329,15 @@ { "type": "CommentLine", "value": " May modify in #finalize", - "start": 29193, - "end": 29219, + "start": 29708, + "end": 29734, "loc": { "start": { - "line": 753, + "line": 754, "column": 62 }, "end": { - "line": 753, + "line": 754, "column": 88 } } @@ -27263,29 +27346,29 @@ }, { "type": "IfStatement", - "start": 29481, - "end": 29847, + "start": 29996, + "end": 30362, "loc": { "start": { - "line": 763, + "line": 764, "column": 8 }, "end": { - "line": 772, + "line": 773, "column": 9 } }, "test": { "type": "Identifier", - "start": 29485, - "end": 29494, + "start": 30000, + "end": 30009, "loc": { "start": { - "line": 763, + "line": 764, "column": 12 }, "end": { - "line": 763, + "line": 764, "column": 21 }, "identifierName": "triangles" @@ -27294,58 +27377,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 29496, - "end": 29847, + "start": 30011, + "end": 30362, "loc": { "start": { - "line": 763, + "line": 764, "column": 23 }, "end": { - "line": 772, + "line": 773, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 29510, - "end": 29620, + "start": 30025, + "end": 30135, "loc": { "start": { - "line": 764, + "line": 765, "column": 12 }, "end": { - "line": 766, + "line": 767, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 29514, - "end": 29528, + "start": 30029, + "end": 30043, "loc": { "start": { - "line": 764, + "line": 765, "column": 16 }, "end": { - "line": 764, + "line": 765, "column": 30 } }, "object": { "type": "Identifier", - "start": 29514, - "end": 29520, + "start": 30029, + "end": 30035, "loc": { "start": { - "line": 764, + "line": 765, "column": 16 }, "end": { - "line": 764, + "line": 765, "column": 22 }, "identifierName": "params" @@ -27354,15 +27437,15 @@ }, "property": { "type": "Identifier", - "start": 29521, - "end": 29528, + "start": 30036, + "end": 30043, "loc": { "start": { - "line": 764, + "line": 765, "column": 23 }, "end": { - "line": 764, + "line": 765, "column": 30 }, "identifierName": "normals" @@ -27373,73 +27456,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 29530, - "end": 29620, + "start": 30045, + "end": 30135, "loc": { "start": { - "line": 764, + "line": 765, "column": 32 }, "end": { - "line": 766, + "line": 767, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 29548, - "end": 29606, + "start": 30063, + "end": 30121, "loc": { "start": { - "line": 765, + "line": 766, "column": 16 }, "end": { - "line": 765, + "line": 766, "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 29548, - "end": 29605, + "start": 30063, + "end": 30120, "loc": { "start": { - "line": 765, + "line": 766, "column": 16 }, "end": { - "line": 765, + "line": 766, "column": 73 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 29548, - "end": 29570, + "start": 30063, + "end": 30085, "loc": { "start": { - "line": 765, + "line": 766, "column": 16 }, "end": { - "line": 765, + "line": 766, "column": 38 } }, "object": { "type": "Identifier", - "start": 29548, - "end": 29562, + "start": 30063, + "end": 30077, "loc": { "start": { - "line": 765, + "line": 766, "column": 16 }, "end": { - "line": 765, + "line": 766, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -27448,15 +27531,15 @@ }, "property": { "type": "Identifier", - "start": 29563, - "end": 29570, + "start": 30078, + "end": 30085, "loc": { "start": { - "line": 765, + "line": 766, "column": 31 }, "end": { - "line": 765, + "line": 766, "column": 38 }, "identifierName": "normals" @@ -27467,29 +27550,29 @@ }, "right": { "type": "NewExpression", - "start": 29573, - "end": 29605, + "start": 30088, + "end": 30120, "loc": { "start": { - "line": 765, + "line": 766, "column": 41 }, "end": { - "line": 765, + "line": 766, "column": 73 } }, "callee": { "type": "Identifier", - "start": 29577, - "end": 29589, + "start": 30092, + "end": 30104, "loc": { "start": { - "line": 765, + "line": 766, "column": 45 }, "end": { - "line": 765, + "line": 766, "column": 57 }, "identifierName": "Float32Array" @@ -27499,29 +27582,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 29590, - "end": 29604, + "start": 30105, + "end": 30119, "loc": { "start": { - "line": 765, + "line": 766, "column": 58 }, "end": { - "line": 765, + "line": 766, "column": 72 } }, "object": { "type": "Identifier", - "start": 29590, - "end": 29596, + "start": 30105, + "end": 30111, "loc": { "start": { - "line": 765, + "line": 766, "column": 58 }, "end": { - "line": 765, + "line": 766, "column": 64 }, "identifierName": "params" @@ -27530,15 +27613,15 @@ }, "property": { "type": "Identifier", - "start": 29597, - "end": 29604, + "start": 30112, + "end": 30119, "loc": { "start": { - "line": 765, + "line": 766, "column": 65 }, "end": { - "line": 765, + "line": 766, "column": 72 }, "identifierName": "normals" @@ -27558,43 +27641,43 @@ }, { "type": "IfStatement", - "start": 29633, - "end": 29837, + "start": 30148, + "end": 30352, "loc": { "start": { - "line": 767, + "line": 768, "column": 12 }, "end": { - "line": 771, + "line": 772, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 29637, - "end": 29651, + "start": 30152, + "end": 30166, "loc": { "start": { - "line": 767, + "line": 768, "column": 16 }, "end": { - "line": 767, + "line": 768, "column": 30 } }, "object": { "type": "Identifier", - "start": 29637, - "end": 29643, + "start": 30152, + "end": 30158, "loc": { "start": { - "line": 767, + "line": 768, "column": 16 }, "end": { - "line": 767, + "line": 768, "column": 22 }, "identifierName": "params" @@ -27603,15 +27686,15 @@ }, "property": { "type": "Identifier", - "start": 29644, - "end": 29651, + "start": 30159, + "end": 30166, "loc": { "start": { - "line": 767, + "line": 768, "column": 23 }, "end": { - "line": 767, + "line": 768, "column": 30 }, "identifierName": "indices" @@ -27622,73 +27705,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 29653, - "end": 29725, + "start": 30168, + "end": 30240, "loc": { "start": { - "line": 767, + "line": 768, "column": 32 }, "end": { - "line": 769, + "line": 770, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 29671, - "end": 29711, + "start": 30186, + "end": 30226, "loc": { "start": { - "line": 768, + "line": 769, "column": 16 }, "end": { - "line": 768, + "line": 769, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 29671, - "end": 29710, + "start": 30186, + "end": 30225, "loc": { "start": { - "line": 768, + "line": 769, "column": 16 }, "end": { - "line": 768, + "line": 769, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 29671, - "end": 29693, + "start": 30186, + "end": 30208, "loc": { "start": { - "line": 768, + "line": 769, "column": 16 }, "end": { - "line": 768, + "line": 769, "column": 38 } }, "object": { "type": "Identifier", - "start": 29671, - "end": 29685, + "start": 30186, + "end": 30200, "loc": { "start": { - "line": 768, + "line": 769, "column": 16 }, "end": { - "line": 768, + "line": 769, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -27697,15 +27780,15 @@ }, "property": { "type": "Identifier", - "start": 29686, - "end": 29693, + "start": 30201, + "end": 30208, "loc": { "start": { - "line": 768, + "line": 769, "column": 31 }, "end": { - "line": 768, + "line": 769, "column": 38 }, "identifierName": "indices" @@ -27716,29 +27799,29 @@ }, "right": { "type": "MemberExpression", - "start": 29696, - "end": 29710, + "start": 30211, + "end": 30225, "loc": { "start": { - "line": 768, + "line": 769, "column": 41 }, "end": { - "line": 768, + "line": 769, "column": 55 } }, "object": { "type": "Identifier", - "start": 29696, - "end": 29702, + "start": 30211, + "end": 30217, "loc": { "start": { - "line": 768, + "line": 769, "column": 41 }, "end": { - "line": 768, + "line": 769, "column": 47 }, "identifierName": "params" @@ -27747,15 +27830,15 @@ }, "property": { "type": "Identifier", - "start": 29703, - "end": 29710, + "start": 30218, + "end": 30225, "loc": { "start": { - "line": 768, + "line": 769, "column": 48 }, "end": { - "line": 768, + "line": 769, "column": 55 }, "identifierName": "indices" @@ -27771,73 +27854,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 29731, - "end": 29837, + "start": 30246, + "end": 30352, "loc": { "start": { - "line": 769, + "line": 770, "column": 19 }, "end": { - "line": 771, + "line": 772, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 29749, - "end": 29823, + "start": 30264, + "end": 30338, "loc": { "start": { - "line": 770, + "line": 771, "column": 16 }, "end": { - "line": 770, + "line": 771, "column": 90 } }, "expression": { "type": "AssignmentExpression", - "start": 29749, - "end": 29822, + "start": 30264, + "end": 30337, "loc": { "start": { - "line": 770, + "line": 771, "column": 16 }, "end": { - "line": 770, + "line": 771, "column": 89 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 29749, - "end": 29771, + "start": 30264, + "end": 30286, "loc": { "start": { - "line": 770, + "line": 771, "column": 16 }, "end": { - "line": 770, + "line": 771, "column": 38 } }, "object": { "type": "Identifier", - "start": 29749, - "end": 29763, + "start": 30264, + "end": 30278, "loc": { "start": { - "line": 770, + "line": 771, "column": 16 }, "end": { - "line": 770, + "line": 771, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -27846,15 +27929,15 @@ }, "property": { "type": "Identifier", - "start": 29764, - "end": 29771, + "start": 30279, + "end": 30286, "loc": { "start": { - "line": 770, + "line": 771, "column": 31 }, "end": { - "line": 770, + "line": 771, "column": 38 }, "identifierName": "indices" @@ -27865,58 +27948,58 @@ }, "right": { "type": "CallExpression", - "start": 29774, - "end": 29822, + "start": 30289, + "end": 30337, "loc": { "start": { - "line": 770, + "line": 771, "column": 41 }, "end": { - "line": 770, + "line": 771, "column": 89 } }, "callee": { "type": "MemberExpression", - "start": 29774, - "end": 29800, + "start": 30289, + "end": 30315, "loc": { "start": { - "line": 770, + "line": 771, "column": 41 }, "end": { - "line": 770, + "line": 771, "column": 67 } }, "object": { "type": "ThisExpression", - "start": 29774, - "end": 29778, + "start": 30289, + "end": 30293, "loc": { "start": { - "line": 770, + "line": 771, "column": 41 }, "end": { - "line": 770, + "line": 771, "column": 45 } } }, "property": { "type": "Identifier", - "start": 29779, - "end": 29800, + "start": 30294, + "end": 30315, "loc": { "start": { - "line": 770, + "line": 771, "column": 46 }, "end": { - "line": 770, + "line": 771, "column": 67 }, "identifierName": "_createDefaultIndices" @@ -27928,43 +28011,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 29801, - "end": 29821, + "start": 30316, + "end": 30336, "loc": { "start": { - "line": 770, + "line": 771, "column": 68 }, "end": { - "line": 770, + "line": 771, "column": 88 } }, "left": { "type": "MemberExpression", - "start": 29801, - "end": 29817, + "start": 30316, + "end": 30332, "loc": { "start": { - "line": 770, + "line": 771, "column": 68 }, "end": { - "line": 770, + "line": 771, "column": 84 } }, "object": { "type": "Identifier", - "start": 29801, - "end": 29810, + "start": 30316, + "end": 30325, "loc": { "start": { - "line": 770, + "line": 771, "column": 68 }, "end": { - "line": 770, + "line": 771, "column": 77 }, "identifierName": "positions" @@ -27973,15 +28056,15 @@ }, "property": { "type": "Identifier", - "start": 29811, - "end": 29817, + "start": 30326, + "end": 30332, "loc": { "start": { - "line": 770, + "line": 771, "column": 78 }, "end": { - "line": 770, + "line": 771, "column": 84 }, "identifierName": "length" @@ -27993,15 +28076,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 29820, - "end": 29821, + "start": 30335, + "end": 30336, "loc": { "start": { - "line": 770, + "line": 771, "column": 87 }, "end": { - "line": 770, + "line": 771, "column": 88 } }, @@ -28027,29 +28110,29 @@ }, { "type": "IfStatement", - "start": 29857, - "end": 30394, + "start": 30372, + "end": 30909, "loc": { "start": { - "line": 774, + "line": 775, "column": 8 }, "end": { - "line": 786, + "line": 787, "column": 9 } }, "test": { "type": "Identifier", - "start": 29861, - "end": 29867, + "start": 30376, + "end": 30382, "loc": { "start": { - "line": 774, + "line": 775, "column": 12 }, "end": { - "line": 774, + "line": 775, "column": 18 }, "identifierName": "points" @@ -28058,58 +28141,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 29869, - "end": 30394, + "start": 30384, + "end": 30909, "loc": { "start": { - "line": 774, + "line": 775, "column": 20 }, "end": { - "line": 786, + "line": 787, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 29883, - "end": 30384, + "start": 30398, + "end": 30899, "loc": { "start": { - "line": 775, + "line": 776, "column": 12 }, "end": { - "line": 785, + "line": 786, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 29887, - "end": 29910, + "start": 30402, + "end": 30425, "loc": { "start": { - "line": 775, + "line": 776, "column": 16 }, "end": { - "line": 775, + "line": 776, "column": 39 } }, "object": { "type": "Identifier", - "start": 29887, - "end": 29893, + "start": 30402, + "end": 30408, "loc": { "start": { - "line": 775, + "line": 776, "column": 16 }, "end": { - "line": 775, + "line": 776, "column": 22 }, "identifierName": "params" @@ -28118,15 +28201,15 @@ }, "property": { "type": "Identifier", - "start": 29894, - "end": 29910, + "start": 30409, + "end": 30425, "loc": { "start": { - "line": 775, + "line": 776, "column": 23 }, "end": { - "line": 775, + "line": 776, "column": 39 }, "identifierName": "colorsCompressed" @@ -28137,73 +28220,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 29912, - "end": 30019, + "start": 30427, + "end": 30534, "loc": { "start": { - "line": 775, + "line": 776, "column": 41 }, "end": { - "line": 778, + "line": 779, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 29930, - "end": 30004, + "start": 30445, + "end": 30519, "loc": { "start": { - "line": 776, + "line": 777, "column": 16 }, "end": { - "line": 776, + "line": 777, "column": 90 } }, "expression": { "type": "AssignmentExpression", - "start": 29930, - "end": 30003, + "start": 30445, + "end": 30518, "loc": { "start": { - "line": 776, + "line": 777, "column": 16 }, "end": { - "line": 776, + "line": 777, "column": 89 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 29930, - "end": 29961, + "start": 30445, + "end": 30476, "loc": { "start": { - "line": 776, + "line": 777, "column": 16 }, "end": { - "line": 776, + "line": 777, "column": 47 } }, "object": { "type": "Identifier", - "start": 29930, - "end": 29944, + "start": 30445, + "end": 30459, "loc": { "start": { - "line": 776, + "line": 777, "column": 16 }, "end": { - "line": 776, + "line": 777, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -28212,15 +28295,15 @@ }, "property": { "type": "Identifier", - "start": 29945, - "end": 29961, + "start": 30460, + "end": 30476, "loc": { "start": { - "line": 776, + "line": 777, "column": 31 }, "end": { - "line": 776, + "line": 777, "column": 47 }, "identifierName": "colorsCompressed" @@ -28231,29 +28314,29 @@ }, "right": { "type": "NewExpression", - "start": 29964, - "end": 30003, + "start": 30479, + "end": 30518, "loc": { "start": { - "line": 776, + "line": 777, "column": 50 }, "end": { - "line": 776, + "line": 777, "column": 89 } }, "callee": { "type": "Identifier", - "start": 29968, - "end": 29978, + "start": 30483, + "end": 30493, "loc": { "start": { - "line": 776, + "line": 777, "column": 54 }, "end": { - "line": 776, + "line": 777, "column": 64 }, "identifierName": "Uint8Array" @@ -28263,29 +28346,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 29979, - "end": 30002, + "start": 30494, + "end": 30517, "loc": { "start": { - "line": 776, + "line": 777, "column": 65 }, "end": { - "line": 776, + "line": 777, "column": 88 } }, "object": { "type": "Identifier", - "start": 29979, - "end": 29985, + "start": 30494, + "end": 30500, "loc": { "start": { - "line": 776, + "line": 777, "column": 65 }, "end": { - "line": 776, + "line": 777, "column": 71 }, "identifierName": "params" @@ -28294,15 +28377,15 @@ }, "property": { "type": "Identifier", - "start": 29986, - "end": 30002, + "start": 30501, + "end": 30517, "loc": { "start": { - "line": 776, + "line": 777, "column": 72 }, "end": { - "line": 776, + "line": 777, "column": 88 }, "identifierName": "colorsCompressed" @@ -28320,59 +28403,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 30025, - "end": 30384, + "start": 30540, + "end": 30899, "loc": { "start": { - "line": 778, + "line": 779, "column": 19 }, "end": { - "line": 785, + "line": 786, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 30043, - "end": 30072, + "start": 30558, + "end": 30587, "loc": { "start": { - "line": 779, + "line": 780, "column": 16 }, "end": { - "line": 779, + "line": 780, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 30049, - "end": 30071, + "start": 30564, + "end": 30586, "loc": { "start": { - "line": 779, + "line": 780, "column": 22 }, "end": { - "line": 779, + "line": 780, "column": 44 } }, "id": { "type": "Identifier", - "start": 30049, - "end": 30055, + "start": 30564, + "end": 30570, "loc": { "start": { - "line": 779, + "line": 780, "column": 22 }, "end": { - "line": 779, + "line": 780, "column": 28 }, "identifierName": "colors" @@ -28381,29 +28464,29 @@ }, "init": { "type": "MemberExpression", - "start": 30058, - "end": 30071, + "start": 30573, + "end": 30586, "loc": { "start": { - "line": 779, + "line": 780, "column": 31 }, "end": { - "line": 779, + "line": 780, "column": 44 } }, "object": { "type": "Identifier", - "start": 30058, - "end": 30064, + "start": 30573, + "end": 30579, "loc": { "start": { - "line": 779, + "line": 780, "column": 31 }, "end": { - "line": 779, + "line": 780, "column": 37 }, "identifierName": "params" @@ -28412,15 +28495,15 @@ }, "property": { "type": "Identifier", - "start": 30065, - "end": 30071, + "start": 30580, + "end": 30586, "loc": { "start": { - "line": 779, + "line": 780, "column": 38 }, "end": { - "line": 779, + "line": 780, "column": 44 }, "identifierName": "colors" @@ -28435,44 +28518,44 @@ }, { "type": "VariableDeclaration", - "start": 30089, - "end": 30144, + "start": 30604, + "end": 30659, "loc": { "start": { - "line": 780, + "line": 781, "column": 16 }, "end": { - "line": 780, + "line": 781, "column": 71 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 30095, - "end": 30143, + "start": 30610, + "end": 30658, "loc": { "start": { - "line": 780, + "line": 781, "column": 22 }, "end": { - "line": 780, + "line": 781, "column": 70 } }, "id": { "type": "Identifier", - "start": 30095, - "end": 30111, + "start": 30610, + "end": 30626, "loc": { "start": { - "line": 780, + "line": 781, "column": 22 }, "end": { - "line": 780, + "line": 781, "column": 38 }, "identifierName": "colorsCompressed" @@ -28481,29 +28564,29 @@ }, "init": { "type": "NewExpression", - "start": 30114, - "end": 30143, + "start": 30629, + "end": 30658, "loc": { "start": { - "line": 780, + "line": 781, "column": 41 }, "end": { - "line": 780, + "line": 781, "column": 70 } }, "callee": { "type": "Identifier", - "start": 30118, - "end": 30128, + "start": 30633, + "end": 30643, "loc": { "start": { - "line": 780, + "line": 781, "column": 45 }, "end": { - "line": 780, + "line": 781, "column": 55 }, "identifierName": "Uint8Array" @@ -28513,29 +28596,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 30129, - "end": 30142, + "start": 30644, + "end": 30657, "loc": { "start": { - "line": 780, + "line": 781, "column": 56 }, "end": { - "line": 780, + "line": 781, "column": 69 } }, "object": { "type": "Identifier", - "start": 30129, - "end": 30135, + "start": 30644, + "end": 30650, "loc": { "start": { - "line": 780, + "line": 781, "column": 56 }, "end": { - "line": 780, + "line": 781, "column": 62 }, "identifierName": "colors" @@ -28544,15 +28627,15 @@ }, "property": { "type": "Identifier", - "start": 30136, - "end": 30142, + "start": 30651, + "end": 30657, "loc": { "start": { - "line": 780, + "line": 781, "column": 63 }, "end": { - "line": 780, + "line": 781, "column": 69 }, "identifierName": "length" @@ -28569,58 +28652,58 @@ }, { "type": "ForStatement", - "start": 30161, - "end": 30302, + "start": 30676, + "end": 30817, "loc": { "start": { - "line": 781, + "line": 782, "column": 16 }, "end": { - "line": 783, + "line": 784, "column": 17 } }, "init": { "type": "VariableDeclaration", - "start": 30166, - "end": 30196, + "start": 30681, + "end": 30711, "loc": { "start": { - "line": 781, + "line": 782, "column": 21 }, "end": { - "line": 781, + "line": 782, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 30170, - "end": 30175, + "start": 30685, + "end": 30690, "loc": { "start": { - "line": 781, + "line": 782, "column": 25 }, "end": { - "line": 781, + "line": 782, "column": 30 } }, "id": { "type": "Identifier", - "start": 30170, - "end": 30171, + "start": 30685, + "end": 30686, "loc": { "start": { - "line": 781, + "line": 782, "column": 25 }, "end": { - "line": 781, + "line": 782, "column": 26 }, "identifierName": "i" @@ -28629,15 +28712,15 @@ }, "init": { "type": "NumericLiteral", - "start": 30174, - "end": 30175, + "start": 30689, + "end": 30690, "loc": { "start": { - "line": 781, + "line": 782, "column": 29 }, "end": { - "line": 781, + "line": 782, "column": 30 } }, @@ -28650,29 +28733,29 @@ }, { "type": "VariableDeclarator", - "start": 30177, - "end": 30196, + "start": 30692, + "end": 30711, "loc": { "start": { - "line": 781, + "line": 782, "column": 32 }, "end": { - "line": 781, + "line": 782, "column": 51 } }, "id": { "type": "Identifier", - "start": 30177, - "end": 30180, + "start": 30692, + "end": 30695, "loc": { "start": { - "line": 781, + "line": 782, "column": 32 }, "end": { - "line": 781, + "line": 782, "column": 35 }, "identifierName": "len" @@ -28681,29 +28764,29 @@ }, "init": { "type": "MemberExpression", - "start": 30183, - "end": 30196, + "start": 30698, + "end": 30711, "loc": { "start": { - "line": 781, + "line": 782, "column": 38 }, "end": { - "line": 781, + "line": 782, "column": 51 } }, "object": { "type": "Identifier", - "start": 30183, - "end": 30189, + "start": 30698, + "end": 30704, "loc": { "start": { - "line": 781, + "line": 782, "column": 38 }, "end": { - "line": 781, + "line": 782, "column": 44 }, "identifierName": "colors" @@ -28712,15 +28795,15 @@ }, "property": { "type": "Identifier", - "start": 30190, - "end": 30196, + "start": 30705, + "end": 30711, "loc": { "start": { - "line": 781, + "line": 782, "column": 45 }, "end": { - "line": 781, + "line": 782, "column": 51 }, "identifierName": "length" @@ -28735,29 +28818,29 @@ }, "test": { "type": "BinaryExpression", - "start": 30198, - "end": 30205, + "start": 30713, + "end": 30720, "loc": { "start": { - "line": 781, + "line": 782, "column": 53 }, "end": { - "line": 781, + "line": 782, "column": 60 } }, "left": { "type": "Identifier", - "start": 30198, - "end": 30199, + "start": 30713, + "end": 30714, "loc": { "start": { - "line": 781, + "line": 782, "column": 53 }, "end": { - "line": 781, + "line": 782, "column": 54 }, "identifierName": "i" @@ -28767,15 +28850,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 30202, - "end": 30205, + "start": 30717, + "end": 30720, "loc": { "start": { - "line": 781, + "line": 782, "column": 57 }, "end": { - "line": 781, + "line": 782, "column": 60 }, "identifierName": "len" @@ -28785,15 +28868,15 @@ }, "update": { "type": "UpdateExpression", - "start": 30207, - "end": 30210, + "start": 30722, + "end": 30725, "loc": { "start": { - "line": 781, + "line": 782, "column": 62 }, "end": { - "line": 781, + "line": 782, "column": 65 } }, @@ -28801,15 +28884,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 30207, - "end": 30208, + "start": 30722, + "end": 30723, "loc": { "start": { - "line": 781, + "line": 782, "column": 62 }, "end": { - "line": 781, + "line": 782, "column": 63 }, "identifierName": "i" @@ -28819,73 +28902,73 @@ }, "body": { "type": "BlockStatement", - "start": 30212, - "end": 30302, + "start": 30727, + "end": 30817, "loc": { "start": { - "line": 781, + "line": 782, "column": 67 }, "end": { - "line": 783, + "line": 784, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 30234, - "end": 30284, + "start": 30749, + "end": 30799, "loc": { "start": { - "line": 782, + "line": 783, "column": 20 }, "end": { - "line": 782, + "line": 783, "column": 70 } }, "expression": { "type": "AssignmentExpression", - "start": 30234, - "end": 30283, + "start": 30749, + "end": 30798, "loc": { "start": { - "line": 782, + "line": 783, "column": 20 }, "end": { - "line": 782, + "line": 783, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 30234, - "end": 30253, + "start": 30749, + "end": 30768, "loc": { "start": { - "line": 782, + "line": 783, "column": 20 }, "end": { - "line": 782, + "line": 783, "column": 39 } }, "object": { "type": "Identifier", - "start": 30234, - "end": 30250, + "start": 30749, + "end": 30765, "loc": { "start": { - "line": 782, + "line": 783, "column": 20 }, "end": { - "line": 782, + "line": 783, "column": 36 }, "identifierName": "colorsCompressed" @@ -28894,15 +28977,15 @@ }, "property": { "type": "Identifier", - "start": 30251, - "end": 30252, + "start": 30766, + "end": 30767, "loc": { "start": { - "line": 782, + "line": 783, "column": 37 }, "end": { - "line": 782, + "line": 783, "column": 38 }, "identifierName": "i" @@ -28913,43 +28996,43 @@ }, "right": { "type": "CallExpression", - "start": 30256, - "end": 30283, + "start": 30771, + "end": 30798, "loc": { "start": { - "line": 782, + "line": 783, "column": 42 }, "end": { - "line": 782, + "line": 783, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 30256, - "end": 30266, + "start": 30771, + "end": 30781, "loc": { "start": { - "line": 782, + "line": 783, "column": 42 }, "end": { - "line": 782, + "line": 783, "column": 52 } }, "object": { "type": "Identifier", - "start": 30256, - "end": 30260, + "start": 30771, + "end": 30775, "loc": { "start": { - "line": 782, + "line": 783, "column": 42 }, "end": { - "line": 782, + "line": 783, "column": 46 }, "identifierName": "Math" @@ -28958,15 +29041,15 @@ }, "property": { "type": "Identifier", - "start": 30261, - "end": 30266, + "start": 30776, + "end": 30781, "loc": { "start": { - "line": 782, + "line": 783, "column": 47 }, "end": { - "line": 782, + "line": 783, "column": 52 }, "identifierName": "floor" @@ -28978,43 +29061,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 30267, - "end": 30282, + "start": 30782, + "end": 30797, "loc": { "start": { - "line": 782, + "line": 783, "column": 53 }, "end": { - "line": 782, + "line": 783, "column": 68 } }, "left": { "type": "MemberExpression", - "start": 30267, - "end": 30276, + "start": 30782, + "end": 30791, "loc": { "start": { - "line": 782, + "line": 783, "column": 53 }, "end": { - "line": 782, + "line": 783, "column": 62 } }, "object": { "type": "Identifier", - "start": 30267, - "end": 30273, + "start": 30782, + "end": 30788, "loc": { "start": { - "line": 782, + "line": 783, "column": 53 }, "end": { - "line": 782, + "line": 783, "column": 59 }, "identifierName": "colors" @@ -29023,15 +29106,15 @@ }, "property": { "type": "Identifier", - "start": 30274, - "end": 30275, + "start": 30789, + "end": 30790, "loc": { "start": { - "line": 782, + "line": 783, "column": 60 }, "end": { - "line": 782, + "line": 783, "column": 61 }, "identifierName": "i" @@ -29043,15 +29126,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 30279, - "end": 30282, + "start": 30794, + "end": 30797, "loc": { "start": { - "line": 782, + "line": 783, "column": 65 }, "end": { - "line": 782, + "line": 783, "column": 68 } }, @@ -29072,58 +29155,58 @@ }, { "type": "ExpressionStatement", - "start": 30319, - "end": 30370, + "start": 30834, + "end": 30885, "loc": { "start": { - "line": 784, + "line": 785, "column": 16 }, "end": { - "line": 784, + "line": 785, "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 30319, - "end": 30369, + "start": 30834, + "end": 30884, "loc": { "start": { - "line": 784, + "line": 785, "column": 16 }, "end": { - "line": 784, + "line": 785, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 30319, - "end": 30350, + "start": 30834, + "end": 30865, "loc": { "start": { - "line": 784, + "line": 785, "column": 16 }, "end": { - "line": 784, + "line": 785, "column": 47 } }, "object": { "type": "Identifier", - "start": 30319, - "end": 30333, + "start": 30834, + "end": 30848, "loc": { "start": { - "line": 784, + "line": 785, "column": 16 }, "end": { - "line": 784, + "line": 785, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -29132,15 +29215,15 @@ }, "property": { "type": "Identifier", - "start": 30334, - "end": 30350, + "start": 30849, + "end": 30865, "loc": { "start": { - "line": 784, + "line": 785, "column": 31 }, "end": { - "line": 784, + "line": 785, "column": 47 }, "identifierName": "colorsCompressed" @@ -29151,15 +29234,15 @@ }, "right": { "type": "Identifier", - "start": 30353, - "end": 30369, + "start": 30868, + "end": 30884, "loc": { "start": { - "line": 784, + "line": 785, "column": 50 }, "end": { - "line": 784, + "line": 785, "column": 66 }, "identifierName": "colorsCompressed" @@ -29179,29 +29262,29 @@ }, { "type": "IfStatement", - "start": 30404, - "end": 30479, + "start": 30919, + "end": 30994, "loc": { "start": { - "line": 788, + "line": 789, "column": 8 }, "end": { - "line": 790, + "line": 791, "column": 9 } }, "test": { "type": "Identifier", - "start": 30408, - "end": 30413, + "start": 30923, + "end": 30928, "loc": { "start": { - "line": 788, + "line": 789, "column": 12 }, "end": { - "line": 788, + "line": 789, "column": 17 }, "identifierName": "lines" @@ -29210,73 +29293,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 30415, - "end": 30479, + "start": 30930, + "end": 30994, "loc": { "start": { - "line": 788, + "line": 789, "column": 19 }, "end": { - "line": 790, + "line": 791, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 30429, - "end": 30469, + "start": 30944, + "end": 30984, "loc": { "start": { - "line": 789, + "line": 790, "column": 12 }, "end": { - "line": 789, + "line": 790, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 30429, - "end": 30468, + "start": 30944, + "end": 30983, "loc": { "start": { - "line": 789, + "line": 790, "column": 12 }, "end": { - "line": 789, + "line": 790, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 30429, - "end": 30451, + "start": 30944, + "end": 30966, "loc": { "start": { - "line": 789, + "line": 790, "column": 12 }, "end": { - "line": 789, + "line": 790, "column": 34 } }, "object": { "type": "Identifier", - "start": 30429, - "end": 30443, + "start": 30944, + "end": 30958, "loc": { "start": { - "line": 789, + "line": 790, "column": 12 }, "end": { - "line": 789, + "line": 790, "column": 26 }, "identifierName": "xktGeometryCfg" @@ -29285,15 +29368,15 @@ }, "property": { "type": "Identifier", - "start": 30444, - "end": 30451, + "start": 30959, + "end": 30966, "loc": { "start": { - "line": 789, + "line": 790, "column": 27 }, "end": { - "line": 789, + "line": 790, "column": 34 }, "identifierName": "indices" @@ -29304,29 +29387,29 @@ }, "right": { "type": "MemberExpression", - "start": 30454, - "end": 30468, + "start": 30969, + "end": 30983, "loc": { "start": { - "line": 789, + "line": 790, "column": 37 }, "end": { - "line": 789, + "line": 790, "column": 51 } }, "object": { "type": "Identifier", - "start": 30454, - "end": 30460, + "start": 30969, + "end": 30975, "loc": { "start": { - "line": 789, + "line": 790, "column": 37 }, "end": { - "line": 789, + "line": 790, "column": 43 }, "identifierName": "params" @@ -29335,15 +29418,15 @@ }, "property": { "type": "Identifier", - "start": 30461, - "end": 30468, + "start": 30976, + "end": 30983, "loc": { "start": { - "line": 789, + "line": 790, "column": 44 }, "end": { - "line": 789, + "line": 790, "column": 51 }, "identifierName": "indices" @@ -29361,29 +29444,29 @@ }, { "type": "IfStatement", - "start": 30489, - "end": 31395, + "start": 31004, + "end": 31910, "loc": { "start": { - "line": 792, + "line": 793, "column": 8 }, "end": { - "line": 809, + "line": 810, "column": 9 } }, "test": { "type": "Identifier", - "start": 30493, - "end": 30502, + "start": 31008, + "end": 31017, "loc": { "start": { - "line": 792, + "line": 793, "column": 12 }, "end": { - "line": 792, + "line": 793, "column": 21 }, "identifierName": "triangles" @@ -29392,72 +29475,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 30504, - "end": 31395, + "start": 31019, + "end": 31910, "loc": { "start": { - "line": 792, + "line": 793, "column": 23 }, "end": { - "line": 809, + "line": 810, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 30519, - "end": 31219, + "start": 31034, + "end": 31734, "loc": { "start": { - "line": 794, + "line": 795, "column": 12 }, "end": { - "line": 806, + "line": 807, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 30523, - "end": 30567, + "start": 31038, + "end": 31082, "loc": { "start": { - "line": 794, + "line": 795, "column": 16 }, "end": { - "line": 794, + "line": 795, "column": 60 } }, "left": { "type": "LogicalExpression", - "start": 30523, - "end": 30552, + "start": 31038, + "end": 31067, "loc": { "start": { - "line": 794, + "line": 795, "column": 16 }, "end": { - "line": 794, + "line": 795, "column": 45 } }, "left": { "type": "UnaryExpression", - "start": 30523, - "end": 30538, + "start": 31038, + "end": 31053, "loc": { "start": { - "line": 794, + "line": 795, "column": 16 }, "end": { - "line": 794, + "line": 795, "column": 31 } }, @@ -29465,29 +29548,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 30524, - "end": 30538, + "start": 31039, + "end": 31053, "loc": { "start": { - "line": 794, + "line": 795, "column": 17 }, "end": { - "line": 794, + "line": 795, "column": 31 } }, "object": { "type": "Identifier", - "start": 30524, - "end": 30530, + "start": 31039, + "end": 31045, "loc": { "start": { - "line": 794, + "line": 795, "column": 17 }, "end": { - "line": 794, + "line": 795, "column": 23 }, "identifierName": "params" @@ -29496,15 +29579,15 @@ }, "property": { "type": "Identifier", - "start": 30531, - "end": 30538, + "start": 31046, + "end": 31053, "loc": { "start": { - "line": 794, + "line": 795, "column": 24 }, "end": { - "line": 794, + "line": 795, "column": 31 }, "identifierName": "normals" @@ -29520,15 +29603,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 30542, - "end": 30552, + "start": 31057, + "end": 31067, "loc": { "start": { - "line": 794, + "line": 795, "column": 35 }, "end": { - "line": 794, + "line": 795, "column": 45 } }, @@ -29536,29 +29619,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 30543, - "end": 30552, + "start": 31058, + "end": 31067, "loc": { "start": { - "line": 794, + "line": 795, "column": 36 }, "end": { - "line": 794, + "line": 795, "column": 45 } }, "object": { "type": "Identifier", - "start": 30543, - "end": 30549, + "start": 31058, + "end": 31064, "loc": { "start": { - "line": 794, + "line": 795, "column": 36 }, "end": { - "line": 794, + "line": 795, "column": 42 }, "identifierName": "params" @@ -29567,15 +29650,15 @@ }, "property": { "type": "Identifier", - "start": 30550, - "end": 30552, + "start": 31065, + "end": 31067, "loc": { "start": { - "line": 794, + "line": 795, "column": 43 }, "end": { - "line": 794, + "line": 795, "column": 45 }, "identifierName": "uv" @@ -29592,15 +29675,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 30556, - "end": 30567, + "start": 31071, + "end": 31082, "loc": { "start": { - "line": 794, + "line": 795, "column": 49 }, "end": { - "line": 794, + "line": 795, "column": 60 } }, @@ -29608,29 +29691,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 30557, - "end": 30567, + "start": 31072, + "end": 31082, "loc": { "start": { - "line": 794, + "line": 795, "column": 50 }, "end": { - "line": 794, + "line": 795, "column": 60 } }, "object": { "type": "Identifier", - "start": 30557, - "end": 30563, + "start": 31072, + "end": 31078, "loc": { "start": { - "line": 794, + "line": 795, "column": 50 }, "end": { - "line": 794, + "line": 795, "column": 56 }, "identifierName": "params" @@ -29639,15 +29722,15 @@ }, "property": { "type": "Identifier", - "start": 30564, - "end": 30567, + "start": 31079, + "end": 31082, "loc": { "start": { - "line": 794, + "line": 795, "column": 57 }, "end": { - "line": 794, + "line": 795, "column": 60 }, "identifierName": "uvs" @@ -29663,59 +29746,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 30569, - "end": 31219, + "start": 31084, + "end": 31734, "loc": { "start": { - "line": 794, + "line": 795, "column": 62 }, "end": { - "line": 806, + "line": 807, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 30889, - "end": 30916, + "start": 31404, + "end": 31431, "loc": { "start": { - "line": 801, + "line": 802, "column": 16 }, "end": { - "line": 801, + "line": 802, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 30895, - "end": 30915, + "start": 31410, + "end": 31430, "loc": { "start": { - "line": 801, + "line": 802, "column": 22 }, "end": { - "line": 801, + "line": 802, "column": 42 } }, "id": { "type": "Identifier", - "start": 30895, - "end": 30910, + "start": 31410, + "end": 31425, "loc": { "start": { - "line": 801, + "line": 802, "column": 22 }, "end": { - "line": 801, + "line": 802, "column": 37 }, "identifierName": "mergedPositions" @@ -29725,15 +29808,15 @@ }, "init": { "type": "ArrayExpression", - "start": 30913, - "end": 30915, + "start": 31428, + "end": 31430, "loc": { "start": { - "line": 801, + "line": 802, "column": 40 }, "end": { - "line": 801, + "line": 802, "column": 42 } }, @@ -29747,15 +29830,15 @@ { "type": "CommentLine", "value": " Building models often duplicate positions to allow face-aligned vertex normals; when we're not", - "start": 30588, - "end": 30685, + "start": 31103, + "end": 31200, "loc": { "start": { - "line": 796, + "line": 797, "column": 16 }, "end": { - "line": 796, + "line": 797, "column": 113 } } @@ -29763,15 +29846,15 @@ { "type": "CommentLine", "value": " providing normals for a geometry, it becomes possible to merge duplicate vertex positions within it.", - "start": 30702, - "end": 30805, + "start": 31217, + "end": 31320, "loc": { "start": { - "line": 797, + "line": 798, "column": 16 }, "end": { - "line": 797, + "line": 798, "column": 119 } } @@ -29779,15 +29862,15 @@ { "type": "CommentLine", "value": " TODO: Make vertex merging also merge normals?", - "start": 30823, - "end": 30871, + "start": 31338, + "end": 31386, "loc": { "start": { - "line": 799, + "line": 800, "column": 16 }, "end": { - "line": 799, + "line": 800, "column": 64 } } @@ -29796,44 +29879,44 @@ }, { "type": "VariableDeclaration", - "start": 30933, - "end": 30958, + "start": 31448, + "end": 31473, "loc": { "start": { - "line": 802, + "line": 803, "column": 16 }, "end": { - "line": 802, + "line": 803, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 30939, - "end": 30957, + "start": 31454, + "end": 31472, "loc": { "start": { - "line": 802, + "line": 803, "column": 22 }, "end": { - "line": 802, + "line": 803, "column": 40 } }, "id": { "type": "Identifier", - "start": 30939, - "end": 30952, + "start": 31454, + "end": 31467, "loc": { "start": { - "line": 802, + "line": 803, "column": 22 }, "end": { - "line": 802, + "line": 803, "column": 35 }, "identifierName": "mergedIndices" @@ -29842,15 +29925,15 @@ }, "init": { "type": "ArrayExpression", - "start": 30955, - "end": 30957, + "start": 31470, + "end": 31472, "loc": { "start": { - "line": 802, + "line": 803, "column": 38 }, "end": { - "line": 802, + "line": 803, "column": 40 } }, @@ -29862,43 +29945,43 @@ }, { "type": "ExpressionStatement", - "start": 30975, - "end": 31071, + "start": 31490, + "end": 31586, "loc": { "start": { - "line": 803, + "line": 804, "column": 16 }, "end": { - "line": 803, + "line": 804, "column": 112 } }, "expression": { "type": "CallExpression", - "start": 30975, - "end": 31070, + "start": 31490, + "end": 31585, "loc": { "start": { - "line": 803, + "line": 804, "column": 16 }, "end": { - "line": 803, + "line": 804, "column": 111 } }, "callee": { "type": "Identifier", - "start": 30975, - "end": 30988, + "start": 31490, + "end": 31503, "loc": { "start": { - "line": 803, + "line": 804, "column": 16 }, "end": { - "line": 803, + "line": 804, "column": 29 }, "identifierName": "mergeVertices" @@ -29908,29 +29991,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 30989, - "end": 31013, + "start": 31504, + "end": 31528, "loc": { "start": { - "line": 803, + "line": 804, "column": 30 }, "end": { - "line": 803, + "line": 804, "column": 54 } }, "object": { "type": "Identifier", - "start": 30989, - "end": 31003, + "start": 31504, + "end": 31518, "loc": { "start": { - "line": 803, + "line": 804, "column": 30 }, "end": { - "line": 803, + "line": 804, "column": 44 }, "identifierName": "xktGeometryCfg" @@ -29939,15 +30022,15 @@ }, "property": { "type": "Identifier", - "start": 31004, - "end": 31013, + "start": 31519, + "end": 31528, "loc": { "start": { - "line": 803, + "line": 804, "column": 45 }, "end": { - "line": 803, + "line": 804, "column": 54 }, "identifierName": "positions" @@ -29958,29 +30041,29 @@ }, { "type": "MemberExpression", - "start": 31015, - "end": 31037, + "start": 31530, + "end": 31552, "loc": { "start": { - "line": 803, + "line": 804, "column": 56 }, "end": { - "line": 803, + "line": 804, "column": 78 } }, "object": { "type": "Identifier", - "start": 31015, - "end": 31029, + "start": 31530, + "end": 31544, "loc": { "start": { - "line": 803, + "line": 804, "column": 56 }, "end": { - "line": 803, + "line": 804, "column": 70 }, "identifierName": "xktGeometryCfg" @@ -29989,15 +30072,15 @@ }, "property": { "type": "Identifier", - "start": 31030, - "end": 31037, + "start": 31545, + "end": 31552, "loc": { "start": { - "line": 803, + "line": 804, "column": 71 }, "end": { - "line": 803, + "line": 804, "column": 78 }, "identifierName": "indices" @@ -30008,15 +30091,15 @@ }, { "type": "Identifier", - "start": 31039, - "end": 31054, + "start": 31554, + "end": 31569, "loc": { "start": { - "line": 803, + "line": 804, "column": 80 }, "end": { - "line": 803, + "line": 804, "column": 95 }, "identifierName": "mergedPositions" @@ -30025,15 +30108,15 @@ }, { "type": "Identifier", - "start": 31056, - "end": 31069, + "start": 31571, + "end": 31584, "loc": { "start": { - "line": 803, + "line": 804, "column": 97 }, "end": { - "line": 803, + "line": 804, "column": 110 }, "identifierName": "mergedIndices" @@ -30045,58 +30128,58 @@ }, { "type": "ExpressionStatement", - "start": 31088, - "end": 31149, + "start": 31603, + "end": 31664, "loc": { "start": { - "line": 804, + "line": 805, "column": 16 }, "end": { - "line": 804, + "line": 805, "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 31088, - "end": 31148, + "start": 31603, + "end": 31663, "loc": { "start": { - "line": 804, + "line": 805, "column": 16 }, "end": { - "line": 804, + "line": 805, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 31088, - "end": 31112, + "start": 31603, + "end": 31627, "loc": { "start": { - "line": 804, + "line": 805, "column": 16 }, "end": { - "line": 804, + "line": 805, "column": 40 } }, "object": { "type": "Identifier", - "start": 31088, - "end": 31102, + "start": 31603, + "end": 31617, "loc": { "start": { - "line": 804, + "line": 805, "column": 16 }, "end": { - "line": 804, + "line": 805, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -30105,15 +30188,15 @@ }, "property": { "type": "Identifier", - "start": 31103, - "end": 31112, + "start": 31618, + "end": 31627, "loc": { "start": { - "line": 804, + "line": 805, "column": 31 }, "end": { - "line": 804, + "line": 805, "column": 40 }, "identifierName": "positions" @@ -30124,29 +30207,29 @@ }, "right": { "type": "NewExpression", - "start": 31115, - "end": 31148, + "start": 31630, + "end": 31663, "loc": { "start": { - "line": 804, + "line": 805, "column": 43 }, "end": { - "line": 804, + "line": 805, "column": 76 } }, "callee": { "type": "Identifier", - "start": 31119, - "end": 31131, + "start": 31634, + "end": 31646, "loc": { "start": { - "line": 804, + "line": 805, "column": 47 }, "end": { - "line": 804, + "line": 805, "column": 59 }, "identifierName": "Float64Array" @@ -30156,15 +30239,15 @@ "arguments": [ { "type": "Identifier", - "start": 31132, - "end": 31147, + "start": 31647, + "end": 31662, "loc": { "start": { - "line": 804, + "line": 805, "column": 60 }, "end": { - "line": 804, + "line": 805, "column": 75 }, "identifierName": "mergedPositions" @@ -30177,58 +30260,58 @@ }, { "type": "ExpressionStatement", - "start": 31166, - "end": 31205, + "start": 31681, + "end": 31720, "loc": { "start": { - "line": 805, + "line": 806, "column": 16 }, "end": { - "line": 805, + "line": 806, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 31166, - "end": 31204, + "start": 31681, + "end": 31719, "loc": { "start": { - "line": 805, + "line": 806, "column": 16 }, "end": { - "line": 805, + "line": 806, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 31166, - "end": 31188, + "start": 31681, + "end": 31703, "loc": { "start": { - "line": 805, + "line": 806, "column": 16 }, "end": { - "line": 805, + "line": 806, "column": 38 } }, "object": { "type": "Identifier", - "start": 31166, - "end": 31180, + "start": 31681, + "end": 31695, "loc": { "start": { - "line": 805, + "line": 806, "column": 16 }, "end": { - "line": 805, + "line": 806, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -30237,15 +30320,15 @@ }, "property": { "type": "Identifier", - "start": 31181, - "end": 31188, + "start": 31696, + "end": 31703, "loc": { "start": { - "line": 805, + "line": 806, "column": 31 }, "end": { - "line": 805, + "line": 806, "column": 38 }, "identifierName": "indices" @@ -30256,15 +30339,15 @@ }, "right": { "type": "Identifier", - "start": 31191, - "end": 31204, + "start": 31706, + "end": 31719, "loc": { "start": { - "line": 805, + "line": 806, "column": 41 }, "end": { - "line": 805, + "line": 806, "column": 54 }, "identifierName": "mergedIndices" @@ -30280,58 +30363,58 @@ }, { "type": "ExpressionStatement", - "start": 31233, - "end": 31385, + "start": 31748, + "end": 31900, "loc": { "start": { - "line": 808, + "line": 809, "column": 12 }, "end": { - "line": 808, + "line": 809, "column": 164 } }, "expression": { "type": "AssignmentExpression", - "start": 31233, - "end": 31384, + "start": 31748, + "end": 31899, "loc": { "start": { - "line": 808, + "line": 809, "column": 12 }, "end": { - "line": 808, + "line": 809, "column": 163 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 31233, - "end": 31259, + "start": 31748, + "end": 31774, "loc": { "start": { - "line": 808, + "line": 809, "column": 12 }, "end": { - "line": 808, + "line": 809, "column": 38 } }, "object": { "type": "Identifier", - "start": 31233, - "end": 31247, + "start": 31748, + "end": 31762, "loc": { "start": { - "line": 808, + "line": 809, "column": 12 }, "end": { - "line": 808, + "line": 809, "column": 26 }, "identifierName": "xktGeometryCfg" @@ -30340,15 +30423,15 @@ }, "property": { "type": "Identifier", - "start": 31248, - "end": 31259, + "start": 31763, + "end": 31774, "loc": { "start": { - "line": 808, + "line": 809, "column": 27 }, "end": { - "line": 808, + "line": 809, "column": 38 }, "identifierName": "edgeIndices" @@ -30359,29 +30442,29 @@ }, "right": { "type": "CallExpression", - "start": 31262, - "end": 31384, + "start": 31777, + "end": 31899, "loc": { "start": { - "line": 808, + "line": 809, "column": 41 }, "end": { - "line": 808, + "line": 809, "column": 163 } }, "callee": { "type": "Identifier", - "start": 31262, - "end": 31278, + "start": 31777, + "end": 31793, "loc": { "start": { - "line": 808, + "line": 809, "column": 41 }, "end": { - "line": 808, + "line": 809, "column": 57 }, "identifierName": "buildEdgeIndices" @@ -30391,29 +30474,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 31279, - "end": 31303, + "start": 31794, + "end": 31818, "loc": { "start": { - "line": 808, + "line": 809, "column": 58 }, "end": { - "line": 808, + "line": 809, "column": 82 } }, "object": { "type": "Identifier", - "start": 31279, - "end": 31293, + "start": 31794, + "end": 31808, "loc": { "start": { - "line": 808, + "line": 809, "column": 58 }, "end": { - "line": 808, + "line": 809, "column": 72 }, "identifierName": "xktGeometryCfg" @@ -30422,15 +30505,15 @@ }, "property": { "type": "Identifier", - "start": 31294, - "end": 31303, + "start": 31809, + "end": 31818, "loc": { "start": { - "line": 808, + "line": 809, "column": 73 }, "end": { - "line": 808, + "line": 809, "column": 82 }, "identifierName": "positions" @@ -30441,29 +30524,29 @@ }, { "type": "MemberExpression", - "start": 31305, - "end": 31327, + "start": 31820, + "end": 31842, "loc": { "start": { - "line": 808, + "line": 809, "column": 84 }, "end": { - "line": 808, + "line": 809, "column": 106 } }, "object": { "type": "Identifier", - "start": 31305, - "end": 31319, + "start": 31820, + "end": 31834, "loc": { "start": { - "line": 808, + "line": 809, "column": 84 }, "end": { - "line": 808, + "line": 809, "column": 98 }, "identifierName": "xktGeometryCfg" @@ -30472,15 +30555,15 @@ }, "property": { "type": "Identifier", - "start": 31320, - "end": 31327, + "start": 31835, + "end": 31842, "loc": { "start": { - "line": 808, + "line": 809, "column": 99 }, "end": { - "line": 808, + "line": 809, "column": 106 }, "identifierName": "indices" @@ -30491,72 +30574,72 @@ }, { "type": "NullLiteral", - "start": 31329, - "end": 31333, + "start": 31844, + "end": 31848, "loc": { "start": { - "line": 808, + "line": 809, "column": 108 }, "end": { - "line": 808, + "line": 809, "column": 112 } } }, { "type": "LogicalExpression", - "start": 31335, - "end": 31383, + "start": 31850, + "end": 31898, "loc": { "start": { - "line": 808, + "line": 809, "column": 114 }, "end": { - "line": 808, + "line": 809, "column": 162 } }, "left": { "type": "LogicalExpression", - "start": 31335, - "end": 31377, + "start": 31850, + "end": 31892, "loc": { "start": { - "line": 808, + "line": 809, "column": 114 }, "end": { - "line": 808, + "line": 809, "column": 156 } }, "left": { "type": "MemberExpression", - "start": 31335, - "end": 31355, + "start": 31850, + "end": 31870, "loc": { "start": { - "line": 808, + "line": 809, "column": 114 }, "end": { - "line": 808, + "line": 809, "column": 134 } }, "object": { "type": "Identifier", - "start": 31335, - "end": 31341, + "start": 31850, + "end": 31856, "loc": { "start": { - "line": 808, + "line": 809, "column": 114 }, "end": { - "line": 808, + "line": 809, "column": 120 }, "identifierName": "params" @@ -30565,15 +30648,15 @@ }, "property": { "type": "Identifier", - "start": 31342, - "end": 31355, + "start": 31857, + "end": 31870, "loc": { "start": { - "line": 808, + "line": 809, "column": 121 }, "end": { - "line": 808, + "line": 809, "column": 134 }, "identifierName": "edgeThreshold" @@ -30585,44 +30668,44 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 31359, - "end": 31377, + "start": 31874, + "end": 31892, "loc": { "start": { - "line": 808, + "line": 809, "column": 138 }, "end": { - "line": 808, + "line": 809, "column": 156 } }, "object": { "type": "ThisExpression", - "start": 31359, - "end": 31363, + "start": 31874, + "end": 31878, "loc": { "start": { - "line": 808, + "line": 809, "column": 138 }, "end": { - "line": 808, + "line": 809, "column": 142 } } }, "property": { "type": "Identifier", - "start": 31364, - "end": 31377, + "start": 31879, + "end": 31892, "loc": { "start": { - "line": 808, + "line": 809, "column": 143 }, "end": { - "line": 808, + "line": 809, "column": 156 }, "identifierName": "edgeThreshold" @@ -30635,15 +30718,15 @@ "operator": "||", "right": { "type": "NumericLiteral", - "start": 31381, - "end": 31383, + "start": 31896, + "end": 31898, "loc": { "start": { - "line": 808, + "line": 809, "column": 160 }, "end": { - "line": 808, + "line": 809, "column": 162 } }, @@ -30665,44 +30748,44 @@ }, { "type": "VariableDeclaration", - "start": 31405, - "end": 31454, + "start": 31920, + "end": 31969, "loc": { "start": { - "line": 811, + "line": 812, "column": 8 }, "end": { - "line": 811, + "line": 812, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 31411, - "end": 31453, + "start": 31926, + "end": 31968, "loc": { "start": { - "line": 811, + "line": 812, "column": 14 }, "end": { - "line": 811, + "line": 812, "column": 56 } }, "id": { "type": "Identifier", - "start": 31411, - "end": 31419, + "start": 31926, + "end": 31934, "loc": { "start": { - "line": 811, + "line": 812, "column": 14 }, "end": { - "line": 811, + "line": 812, "column": 22 }, "identifierName": "geometry" @@ -30711,29 +30794,29 @@ }, "init": { "type": "NewExpression", - "start": 31422, - "end": 31453, + "start": 31937, + "end": 31968, "loc": { "start": { - "line": 811, + "line": 812, "column": 25 }, "end": { - "line": 811, + "line": 812, "column": 56 } }, "callee": { "type": "Identifier", - "start": 31426, - "end": 31437, + "start": 31941, + "end": 31952, "loc": { "start": { - "line": 811, + "line": 812, "column": 29 }, "end": { - "line": 811, + "line": 812, "column": 40 }, "identifierName": "XKTGeometry" @@ -30743,15 +30826,15 @@ "arguments": [ { "type": "Identifier", - "start": 31438, - "end": 31452, + "start": 31953, + "end": 31967, "loc": { "start": { - "line": 811, + "line": 812, "column": 41 }, "end": { - "line": 811, + "line": 812, "column": 55 }, "identifierName": "xktGeometryCfg" @@ -30766,87 +30849,87 @@ }, { "type": "ExpressionStatement", - "start": 31464, - "end": 31503, + "start": 31979, + "end": 32018, "loc": { "start": { - "line": 813, + "line": 814, "column": 8 }, "end": { - "line": 813, + "line": 814, "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 31464, - "end": 31502, + "start": 31979, + "end": 32017, "loc": { "start": { - "line": 813, + "line": 814, "column": 8 }, "end": { - "line": 813, + "line": 814, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 31464, - "end": 31491, + "start": 31979, + "end": 32006, "loc": { "start": { - "line": 813, + "line": 814, "column": 8 }, "end": { - "line": 813, + "line": 814, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 31464, - "end": 31479, + "start": 31979, + "end": 31994, "loc": { "start": { - "line": 813, + "line": 814, "column": 8 }, "end": { - "line": 813, + "line": 814, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 31464, - "end": 31468, + "start": 31979, + "end": 31983, "loc": { "start": { - "line": 813, + "line": 814, "column": 8 }, "end": { - "line": 813, + "line": 814, "column": 12 } } }, "property": { "type": "Identifier", - "start": 31469, - "end": 31479, + "start": 31984, + "end": 31994, "loc": { "start": { - "line": 813, + "line": 814, "column": 13 }, "end": { - "line": 813, + "line": 814, "column": 23 }, "identifierName": "geometries" @@ -30857,15 +30940,15 @@ }, "property": { "type": "Identifier", - "start": 31480, - "end": 31490, + "start": 31995, + "end": 32005, "loc": { "start": { - "line": 813, + "line": 814, "column": 24 }, "end": { - "line": 813, + "line": 814, "column": 34 }, "identifierName": "geometryId" @@ -30876,15 +30959,15 @@ }, "right": { "type": "Identifier", - "start": 31494, - "end": 31502, + "start": 32009, + "end": 32017, "loc": { "start": { - "line": 813, + "line": 814, "column": 38 }, "end": { - "line": 813, + "line": 814, "column": 46 }, "identifierName": "geometry" @@ -30895,86 +30978,86 @@ }, { "type": "ExpressionStatement", - "start": 31512, - "end": 31547, + "start": 32027, + "end": 32062, "loc": { "start": { - "line": 814, + "line": 815, "column": 8 }, "end": { - "line": 814, + "line": 815, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 31512, - "end": 31546, + "start": 32027, + "end": 32061, "loc": { "start": { - "line": 814, + "line": 815, "column": 8 }, "end": { - "line": 814, + "line": 815, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 31512, - "end": 31536, + "start": 32027, + "end": 32051, "loc": { "start": { - "line": 814, + "line": 815, "column": 8 }, "end": { - "line": 814, + "line": 815, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 31512, - "end": 31531, + "start": 32027, + "end": 32046, "loc": { "start": { - "line": 814, + "line": 815, "column": 8 }, "end": { - "line": 814, + "line": 815, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 31512, - "end": 31516, + "start": 32027, + "end": 32031, "loc": { "start": { - "line": 814, + "line": 815, "column": 8 }, "end": { - "line": 814, + "line": 815, "column": 12 } } }, "property": { "type": "Identifier", - "start": 31517, - "end": 31531, + "start": 32032, + "end": 32046, "loc": { "start": { - "line": 814, + "line": 815, "column": 13 }, "end": { - "line": 814, + "line": 815, "column": 27 }, "identifierName": "geometriesList" @@ -30985,15 +31068,15 @@ }, "property": { "type": "Identifier", - "start": 31532, - "end": 31536, + "start": 32047, + "end": 32051, "loc": { "start": { - "line": 814, + "line": 815, "column": 28 }, "end": { - "line": 814, + "line": 815, "column": 32 }, "identifierName": "push" @@ -31005,15 +31088,15 @@ "arguments": [ { "type": "Identifier", - "start": 31537, - "end": 31545, + "start": 32052, + "end": 32060, "loc": { "start": { - "line": 814, + "line": 815, "column": 33 }, "end": { - "line": 814, + "line": 815, "column": 41 }, "identifierName": "geometry" @@ -31025,29 +31108,29 @@ }, { "type": "ReturnStatement", - "start": 31557, - "end": 31573, + "start": 32072, + "end": 32088, "loc": { "start": { - "line": 816, + "line": 817, "column": 8 }, "end": { - "line": 816, + "line": 817, "column": 24 } }, "argument": { "type": "Identifier", - "start": 31564, - "end": 31572, + "start": 32079, + "end": 32087, "loc": { "start": { - "line": 816, + "line": 817, "column": 15 }, "end": { - "line": 816, + "line": 817, "column": 23 }, "identifierName": "geometry" @@ -31062,8 +31145,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTGeometry} within this XKTModel.\n *\n * Registers the new {@link XKTGeometry} in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.geometryId Unique ID for the {@link XKTGeometry}.\n * @param {String} params.primitiveType The type of {@link XKTGeometry}: \"triangles\", \"lines\" or \"points\".\n * @param {Float64Array} params.positions Floating-point Local-space vertex positions for the {@link XKTGeometry}. Required for all primitive types.\n * @param {Number[]} [params.normals] Floating-point vertex normals for the {@link XKTGeometry}. Only used with triangles primitives. Ignored for points and lines.\n * @param {Number[]} [params.colors] Floating-point RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.uvs] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uv````.\n * @param {Number[]} [params.uv] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uvs````.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Uint32Array} [params.indices] Indices for the {@link XKTGeometry}. Required for triangles and lines primitives. Ignored for points.\n * @param {Number} [params.edgeThreshold=10]\n * @returns {XKTGeometry} The new {@link XKTGeometry}.\n ", - "start": 24978, - "end": 26864, + "start": 25252, + "end": 27138, "loc": { "start": { "line": 669, @@ -31079,15 +31162,15 @@ }, { "type": "ClassMethod", - "start": 31585, - "end": 31764, + "start": 32100, + "end": 32279, "loc": { "start": { - "line": 819, + "line": 820, "column": 4 }, "end": { - "line": 825, + "line": 826, "column": 5 } }, @@ -31095,15 +31178,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 31585, - "end": 31606, + "start": 32100, + "end": 32121, "loc": { "start": { - "line": 819, + "line": 820, "column": 4 }, "end": { - "line": 819, + "line": 820, "column": 25 }, "identifierName": "_createDefaultIndices" @@ -31118,15 +31201,15 @@ "params": [ { "type": "Identifier", - "start": 31607, - "end": 31617, + "start": 32122, + "end": 32132, "loc": { "start": { - "line": 819, + "line": 820, "column": 26 }, "end": { - "line": 819, + "line": 820, "column": 36 }, "identifierName": "numIndices" @@ -31136,59 +31219,59 @@ ], "body": { "type": "BlockStatement", - "start": 31619, - "end": 31764, + "start": 32134, + "end": 32279, "loc": { "start": { - "line": 819, + "line": 820, "column": 38 }, "end": { - "line": 825, + "line": 826, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 31629, - "end": 31648, + "start": 32144, + "end": 32163, "loc": { "start": { - "line": 820, + "line": 821, "column": 8 }, "end": { - "line": 820, + "line": 821, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 31635, - "end": 31647, + "start": 32150, + "end": 32162, "loc": { "start": { - "line": 820, + "line": 821, "column": 14 }, "end": { - "line": 820, + "line": 821, "column": 26 } }, "id": { "type": "Identifier", - "start": 31635, - "end": 31642, + "start": 32150, + "end": 32157, "loc": { "start": { - "line": 820, + "line": 821, "column": 14 }, "end": { - "line": 820, + "line": 821, "column": 21 }, "identifierName": "indices" @@ -31197,15 +31280,15 @@ }, "init": { "type": "ArrayExpression", - "start": 31645, - "end": 31647, + "start": 32160, + "end": 32162, "loc": { "start": { - "line": 820, + "line": 821, "column": 24 }, "end": { - "line": 820, + "line": 821, "column": 26 } }, @@ -31217,58 +31300,58 @@ }, { "type": "ForStatement", - "start": 31657, - "end": 31734, + "start": 32172, + "end": 32249, "loc": { "start": { - "line": 821, + "line": 822, "column": 8 }, "end": { - "line": 823, + "line": 824, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 31662, - "end": 31671, + "start": 32177, + "end": 32186, "loc": { "start": { - "line": 821, + "line": 822, "column": 13 }, "end": { - "line": 821, + "line": 822, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 31666, - "end": 31671, + "start": 32181, + "end": 32186, "loc": { "start": { - "line": 821, + "line": 822, "column": 17 }, "end": { - "line": 821, + "line": 822, "column": 22 } }, "id": { "type": "Identifier", - "start": 31666, - "end": 31667, + "start": 32181, + "end": 32182, "loc": { "start": { - "line": 821, + "line": 822, "column": 17 }, "end": { - "line": 821, + "line": 822, "column": 18 }, "identifierName": "i" @@ -31277,15 +31360,15 @@ }, "init": { "type": "NumericLiteral", - "start": 31670, - "end": 31671, + "start": 32185, + "end": 32186, "loc": { "start": { - "line": 821, + "line": 822, "column": 21 }, "end": { - "line": 821, + "line": 822, "column": 22 } }, @@ -31301,29 +31384,29 @@ }, "test": { "type": "BinaryExpression", - "start": 31673, - "end": 31687, + "start": 32188, + "end": 32202, "loc": { "start": { - "line": 821, + "line": 822, "column": 24 }, "end": { - "line": 821, + "line": 822, "column": 38 } }, "left": { "type": "Identifier", - "start": 31673, - "end": 31674, + "start": 32188, + "end": 32189, "loc": { "start": { - "line": 821, + "line": 822, "column": 24 }, "end": { - "line": 821, + "line": 822, "column": 25 }, "identifierName": "i" @@ -31333,15 +31416,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 31677, - "end": 31687, + "start": 32192, + "end": 32202, "loc": { "start": { - "line": 821, + "line": 822, "column": 28 }, "end": { - "line": 821, + "line": 822, "column": 38 }, "identifierName": "numIndices" @@ -31351,15 +31434,15 @@ }, "update": { "type": "UpdateExpression", - "start": 31689, - "end": 31692, + "start": 32204, + "end": 32207, "loc": { "start": { - "line": 821, + "line": 822, "column": 40 }, "end": { - "line": 821, + "line": 822, "column": 43 } }, @@ -31367,15 +31450,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 31689, - "end": 31690, + "start": 32204, + "end": 32205, "loc": { "start": { - "line": 821, + "line": 822, "column": 40 }, "end": { - "line": 821, + "line": 822, "column": 41 }, "identifierName": "i" @@ -31385,72 +31468,72 @@ }, "body": { "type": "BlockStatement", - "start": 31694, - "end": 31734, + "start": 32209, + "end": 32249, "loc": { "start": { - "line": 821, + "line": 822, "column": 45 }, "end": { - "line": 823, + "line": 824, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 31708, - "end": 31724, + "start": 32223, + "end": 32239, "loc": { "start": { - "line": 822, + "line": 823, "column": 12 }, "end": { - "line": 822, + "line": 823, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 31708, - "end": 31723, + "start": 32223, + "end": 32238, "loc": { "start": { - "line": 822, + "line": 823, "column": 12 }, "end": { - "line": 822, + "line": 823, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 31708, - "end": 31720, + "start": 32223, + "end": 32235, "loc": { "start": { - "line": 822, + "line": 823, "column": 12 }, "end": { - "line": 822, + "line": 823, "column": 24 } }, "object": { "type": "Identifier", - "start": 31708, - "end": 31715, + "start": 32223, + "end": 32230, "loc": { "start": { - "line": 822, + "line": 823, "column": 12 }, "end": { - "line": 822, + "line": 823, "column": 19 }, "identifierName": "indices" @@ -31459,15 +31542,15 @@ }, "property": { "type": "Identifier", - "start": 31716, - "end": 31720, + "start": 32231, + "end": 32235, "loc": { "start": { - "line": 822, + "line": 823, "column": 20 }, "end": { - "line": 822, + "line": 823, "column": 24 }, "identifierName": "push" @@ -31479,15 +31562,15 @@ "arguments": [ { "type": "Identifier", - "start": 31721, - "end": 31722, + "start": 32236, + "end": 32237, "loc": { "start": { - "line": 822, + "line": 823, "column": 25 }, "end": { - "line": 822, + "line": 823, "column": 26 }, "identifierName": "i" @@ -31503,29 +31586,29 @@ }, { "type": "ReturnStatement", - "start": 31743, - "end": 31758, + "start": 32258, + "end": 32273, "loc": { "start": { - "line": 824, + "line": 825, "column": 8 }, "end": { - "line": 824, + "line": 825, "column": 23 } }, "argument": { "type": "Identifier", - "start": 31750, - "end": 31757, + "start": 32265, + "end": 32272, "loc": { "start": { - "line": 824, + "line": 825, "column": 15 }, "end": { - "line": 824, + "line": 825, "column": 22 }, "identifierName": "indices" @@ -31541,15 +31624,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMesh} within this XKTModel.\n *\n * An {@link XKTMesh} can be owned by one {@link XKTEntity}, which can own multiple {@link XKTMesh}es.\n *\n * Registers the new {@link XKTMesh} in {@link XKTModel#meshes} and {@link XKTModel#meshesList}.\n *\n * @param {*} params Method parameters.\n * @param {Number} params.meshId Unique ID for the {@link XKTMesh}.\n * @param {Number} params.geometryId ID of an existing {@link XKTGeometry} in {@link XKTModel#geometries}.\n * @param {Number} [params.textureSetId] Unique ID of an {@link XKTTextureSet} in {@link XKTModel#textureSets}.\n * @param {Float32Array} params.color RGB color for the {@link XKTMesh}, with each color component in range [0..1].\n * @param {Number} [params.metallic=0] How metallic the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully dielectric material, while ````1```` indicates fully metallic.\n * @param {Number} [params.roughness=1] How rough the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully smooth, while ````1```` indicates fully rough.\n * @param {Number} params.opacity Opacity factor for the {@link XKTMesh}, in range [0..1].\n * @param {Float64Array} [params.matrix] Modeling matrix for the {@link XKTMesh}. Overrides ````position````, ````scale```` and ````rotation```` parameters.\n * @param {Number[]} [params.position=[0,0,0]] Position of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.scale=[1,1,1]] Scale of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.rotation=[0,0,0]] Rotation of the {@link XKTMesh} as Euler angles given in degrees, for each of the X, Y and Z axis. Overridden by the ````matrix```` parameter.\n * @returns {XKTMesh} The new {@link XKTMesh}.\n ", - "start": 31770, - "end": 33656, + "start": 32285, + "end": 34171, "loc": { "start": { - "line": 827, + "line": 828, "column": 4 }, "end": { - "line": 847, + "line": 848, "column": 7 } } @@ -31558,15 +31641,15 @@ }, { "type": "ClassMethod", - "start": 33661, - "end": 35862, + "start": 34176, + "end": 36443, "loc": { "start": { - "line": 848, + "line": 849, "column": 4 }, "end": { - "line": 922, + "line": 923, "column": 5 } }, @@ -31574,15 +31657,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 33661, - "end": 33671, + "start": 34176, + "end": 34186, "loc": { "start": { - "line": 848, + "line": 849, "column": 4 }, "end": { - "line": 848, + "line": 849, "column": 14 }, "identifierName": "createMesh" @@ -31598,15 +31681,15 @@ "params": [ { "type": "Identifier", - "start": 33672, - "end": 33678, + "start": 34187, + "end": 34193, "loc": { "start": { - "line": 848, + "line": 849, "column": 15 }, "end": { - "line": 848, + "line": 849, "column": 21 }, "identifierName": "params" @@ -31616,86 +31699,86 @@ ], "body": { "type": "BlockStatement", - "start": 33680, - "end": 35862, + "start": 34195, + "end": 36443, "loc": { "start": { - "line": 848, + "line": 849, "column": 23 }, "end": { - "line": 922, + "line": 923, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 33691, - "end": 33816, + "start": 34206, + "end": 34353, "loc": { "start": { - "line": 850, + "line": 851, "column": 8 }, "end": { - "line": 852, + "line": 853, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 33695, - "end": 33748, + "start": 34210, + "end": 34263, "loc": { "start": { - "line": 850, + "line": 851, "column": 12 }, "end": { - "line": 850, + "line": 851, "column": 65 } }, "left": { "type": "BinaryExpression", - "start": 33695, - "end": 33717, + "start": 34210, + "end": 34232, "loc": { "start": { - "line": 850, + "line": 851, "column": 12 }, "end": { - "line": 850, + "line": 851, "column": 34 } }, "left": { "type": "MemberExpression", - "start": 33695, - "end": 33708, + "start": 34210, + "end": 34223, "loc": { "start": { - "line": 850, + "line": 851, "column": 12 }, "end": { - "line": 850, + "line": 851, "column": 25 } }, "object": { "type": "Identifier", - "start": 33695, - "end": 33701, + "start": 34210, + "end": 34216, "loc": { "start": { - "line": 850, + "line": 851, "column": 12 }, "end": { - "line": 850, + "line": 851, "column": 18 }, "identifierName": "params" @@ -31704,15 +31787,15 @@ }, "property": { "type": "Identifier", - "start": 33702, - "end": 33708, + "start": 34217, + "end": 34223, "loc": { "start": { - "line": 850, + "line": 851, "column": 19 }, "end": { - "line": 850, + "line": 851, "column": 25 }, "identifierName": "meshId" @@ -31724,15 +31807,15 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 33713, - "end": 33717, + "start": 34228, + "end": 34232, "loc": { "start": { - "line": 850, + "line": 851, "column": 30 }, "end": { - "line": 850, + "line": 851, "column": 34 } } @@ -31741,43 +31824,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 33721, - "end": 33748, + "start": 34236, + "end": 34263, "loc": { "start": { - "line": 850, + "line": 851, "column": 38 }, "end": { - "line": 850, + "line": 851, "column": 65 } }, "left": { "type": "MemberExpression", - "start": 33721, - "end": 33734, + "start": 34236, + "end": 34249, "loc": { "start": { - "line": 850, + "line": 851, "column": 38 }, "end": { - "line": 850, + "line": 851, "column": 51 } }, "object": { "type": "Identifier", - "start": 33721, - "end": 33727, + "start": 34236, + "end": 34242, "loc": { "start": { - "line": 850, + "line": 851, "column": 38 }, "end": { - "line": 850, + "line": 851, "column": 44 }, "identifierName": "params" @@ -31786,15 +31869,15 @@ }, "property": { "type": "Identifier", - "start": 33728, - "end": 33734, + "start": 34243, + "end": 34249, "loc": { "start": { - "line": 850, + "line": 851, "column": 45 }, "end": { - "line": 850, + "line": 851, "column": 51 }, "identifierName": "meshId" @@ -31806,15 +31889,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 33739, - "end": 33748, + "start": 34254, + "end": 34263, "loc": { "start": { - "line": 850, + "line": 851, "column": 56 }, "end": { - "line": 850, + "line": 851, "column": 65 }, "identifierName": "undefined" @@ -31825,52 +31908,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 33750, - "end": 33816, + "start": 34265, + "end": 34353, "loc": { "start": { - "line": 850, + "line": 851, "column": 67 }, "end": { - "line": 852, + "line": 853, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 33764, - "end": 33806, + "start": 34279, + "end": 34343, "loc": { "start": { - "line": 851, + "line": 852, "column": 12 }, "end": { - "line": 851, - "column": 54 + "line": 852, + "column": 76 } }, "argument": { "type": "StringLiteral", - "start": 33770, - "end": 33805, + "start": 34285, + "end": 34342, "loc": { "start": { - "line": 851, + "line": 852, "column": 18 }, "end": { - "line": 851, - "column": 53 + "line": 852, + "column": 75 } }, "extra": { - "rawValue": "Parameter expected: params.meshId", - "raw": "\"Parameter expected: params.meshId\"" + "rawValue": "[XKTModel.createMesh] Parameter expected: params.meshId", + "raw": "\"[XKTModel.createMesh] Parameter expected: params.meshId\"" }, - "value": "Parameter expected: params.meshId" + "value": "[XKTModel.createMesh] Parameter expected: params.meshId" } } ], @@ -31880,71 +31963,71 @@ }, { "type": "IfStatement", - "start": 33826, - "end": 33963, + "start": 34363, + "end": 34522, "loc": { "start": { - "line": 854, + "line": 855, "column": 8 }, "end": { - "line": 856, + "line": 857, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 33830, - "end": 33891, + "start": 34367, + "end": 34428, "loc": { "start": { - "line": 854, + "line": 855, "column": 12 }, "end": { - "line": 854, + "line": 855, "column": 73 } }, "left": { "type": "BinaryExpression", - "start": 33830, - "end": 33856, + "start": 34367, + "end": 34393, "loc": { "start": { - "line": 854, + "line": 855, "column": 12 }, "end": { - "line": 854, + "line": 855, "column": 38 } }, "left": { "type": "MemberExpression", - "start": 33830, - "end": 33847, + "start": 34367, + "end": 34384, "loc": { "start": { - "line": 854, + "line": 855, "column": 12 }, "end": { - "line": 854, + "line": 855, "column": 29 } }, "object": { "type": "Identifier", - "start": 33830, - "end": 33836, + "start": 34367, + "end": 34373, "loc": { "start": { - "line": 854, + "line": 855, "column": 12 }, "end": { - "line": 854, + "line": 855, "column": 18 }, "identifierName": "params" @@ -31953,15 +32036,15 @@ }, "property": { "type": "Identifier", - "start": 33837, - "end": 33847, + "start": 34374, + "end": 34384, "loc": { "start": { - "line": 854, + "line": 855, "column": 19 }, "end": { - "line": 854, + "line": 855, "column": 29 }, "identifierName": "geometryId" @@ -31973,15 +32056,15 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 33852, - "end": 33856, + "start": 34389, + "end": 34393, "loc": { "start": { - "line": 854, + "line": 855, "column": 34 }, "end": { - "line": 854, + "line": 855, "column": 38 } } @@ -31990,43 +32073,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 33860, - "end": 33891, + "start": 34397, + "end": 34428, "loc": { "start": { - "line": 854, + "line": 855, "column": 42 }, "end": { - "line": 854, + "line": 855, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 33860, - "end": 33877, + "start": 34397, + "end": 34414, "loc": { "start": { - "line": 854, + "line": 855, "column": 42 }, "end": { - "line": 854, + "line": 855, "column": 59 } }, "object": { "type": "Identifier", - "start": 33860, - "end": 33866, + "start": 34397, + "end": 34403, "loc": { "start": { - "line": 854, + "line": 855, "column": 42 }, "end": { - "line": 854, + "line": 855, "column": 48 }, "identifierName": "params" @@ -32035,15 +32118,15 @@ }, "property": { "type": "Identifier", - "start": 33867, - "end": 33877, + "start": 34404, + "end": 34414, "loc": { "start": { - "line": 854, + "line": 855, "column": 49 }, "end": { - "line": 854, + "line": 855, "column": 59 }, "identifierName": "geometryId" @@ -32055,15 +32138,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 33882, - "end": 33891, + "start": 34419, + "end": 34428, "loc": { "start": { - "line": 854, + "line": 855, "column": 64 }, "end": { - "line": 854, + "line": 855, "column": 73 }, "identifierName": "undefined" @@ -32074,52 +32157,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 33893, - "end": 33963, + "start": 34430, + "end": 34522, "loc": { "start": { - "line": 854, + "line": 855, "column": 75 }, "end": { - "line": 856, + "line": 857, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 33907, - "end": 33953, + "start": 34444, + "end": 34512, "loc": { "start": { - "line": 855, + "line": 856, "column": 12 }, "end": { - "line": 855, - "column": 58 + "line": 856, + "column": 80 } }, "argument": { "type": "StringLiteral", - "start": 33913, - "end": 33952, + "start": 34450, + "end": 34511, "loc": { "start": { - "line": 855, + "line": 856, "column": 18 }, "end": { - "line": 855, - "column": 57 + "line": 856, + "column": 79 } }, "extra": { - "rawValue": "Parameter expected: params.geometryId", - "raw": "\"Parameter expected: params.geometryId\"" + "rawValue": "[XKTModel.createMesh] Parameter expected: params.geometryId", + "raw": "\"[XKTModel.createMesh] Parameter expected: params.geometryId\"" }, - "value": "Parameter expected: params.geometryId" + "value": "[XKTModel.createMesh] Parameter expected: params.geometryId" } } ], @@ -32129,58 +32212,58 @@ }, { "type": "IfStatement", - "start": 33973, - "end": 34076, + "start": 34532, + "end": 34657, "loc": { "start": { - "line": 858, + "line": 859, "column": 8 }, "end": { - "line": 860, + "line": 861, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 33977, - "end": 33991, + "start": 34536, + "end": 34550, "loc": { "start": { - "line": 858, + "line": 859, "column": 12 }, "end": { - "line": 858, + "line": 859, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 33977, - "end": 33981, + "start": 34536, + "end": 34540, "loc": { "start": { - "line": 858, + "line": 859, "column": 12 }, "end": { - "line": 858, + "line": 859, "column": 16 } } }, "property": { "type": "Identifier", - "start": 33982, - "end": 33991, + "start": 34541, + "end": 34550, "loc": { "start": { - "line": 858, + "line": 859, "column": 17 }, "end": { - "line": 858, + "line": 859, "column": 26 }, "identifierName": "finalized" @@ -32191,52 +32274,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 33993, - "end": 34076, + "start": 34552, + "end": 34657, "loc": { "start": { - "line": 858, + "line": 859, "column": 28 }, "end": { - "line": 860, + "line": 861, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 34007, - "end": 34066, + "start": 34566, + "end": 34647, "loc": { "start": { - "line": 859, + "line": 860, "column": 12 }, "end": { - "line": 859, - "column": 71 + "line": 860, + "column": 93 } }, "argument": { "type": "StringLiteral", - "start": 34013, - "end": 34065, + "start": 34572, + "end": 34646, "loc": { "start": { - "line": 859, + "line": 860, "column": 18 }, "end": { - "line": 859, - "column": 70 + "line": 860, + "column": 92 } }, "extra": { - "rawValue": "XKTModel has been finalized, can't add more meshes", - "raw": "\"XKTModel has been finalized, can't add more meshes\"" + "rawValue": "[XKTModel.createMesh] XKTModel has been finalized, can't add more meshes", + "raw": "\"[XKTModel.createMesh] XKTModel has been finalized, can't add more meshes\"" }, - "value": "XKTModel has been finalized, can't add more meshes" + "value": "[XKTModel.createMesh] XKTModel has been finalized, can't add more meshes" } } ], @@ -32246,72 +32329,72 @@ }, { "type": "IfStatement", - "start": 34086, - "end": 34233, + "start": 34667, + "end": 34814, "loc": { "start": { - "line": 862, + "line": 863, "column": 8 }, "end": { - "line": 865, + "line": 866, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 34090, - "end": 34116, + "start": 34671, + "end": 34697, "loc": { "start": { - "line": 862, + "line": 863, "column": 12 }, "end": { - "line": 862, + "line": 863, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 34090, - "end": 34101, + "start": 34671, + "end": 34682, "loc": { "start": { - "line": 862, + "line": 863, "column": 12 }, "end": { - "line": 862, + "line": 863, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 34090, - "end": 34094, + "start": 34671, + "end": 34675, "loc": { "start": { - "line": 862, + "line": 863, "column": 12 }, "end": { - "line": 862, + "line": 863, "column": 16 } } }, "property": { "type": "Identifier", - "start": 34095, - "end": 34101, + "start": 34676, + "end": 34682, "loc": { "start": { - "line": 862, + "line": 863, "column": 17 }, "end": { - "line": 862, + "line": 863, "column": 23 }, "identifierName": "meshes" @@ -32322,29 +32405,29 @@ }, "property": { "type": "MemberExpression", - "start": 34102, - "end": 34115, + "start": 34683, + "end": 34696, "loc": { "start": { - "line": 862, + "line": 863, "column": 24 }, "end": { - "line": 862, + "line": 863, "column": 37 } }, "object": { "type": "Identifier", - "start": 34102, - "end": 34108, + "start": 34683, + "end": 34689, "loc": { "start": { - "line": 862, + "line": 863, "column": 24 }, "end": { - "line": 862, + "line": 863, "column": 30 }, "identifierName": "params" @@ -32353,15 +32436,15 @@ }, "property": { "type": "Identifier", - "start": 34109, - "end": 34115, + "start": 34690, + "end": 34696, "loc": { "start": { - "line": 862, + "line": 863, "column": 31 }, "end": { - "line": 862, + "line": 863, "column": 37 }, "identifierName": "meshId" @@ -32374,72 +32457,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 34118, - "end": 34233, + "start": 34699, + "end": 34814, "loc": { "start": { - "line": 862, + "line": 863, "column": 40 }, "end": { - "line": 865, + "line": 866, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 34132, - "end": 34203, + "start": 34713, + "end": 34784, "loc": { "start": { - "line": 863, + "line": 864, "column": 12 }, "end": { - "line": 863, + "line": 864, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 34132, - "end": 34202, + "start": 34713, + "end": 34783, "loc": { "start": { - "line": 863, + "line": 864, "column": 12 }, "end": { - "line": 863, + "line": 864, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 34132, - "end": 34145, + "start": 34713, + "end": 34726, "loc": { "start": { - "line": 863, + "line": 864, "column": 12 }, "end": { - "line": 863, + "line": 864, "column": 25 } }, "object": { "type": "Identifier", - "start": 34132, - "end": 34139, + "start": 34713, + "end": 34720, "loc": { "start": { - "line": 863, + "line": 864, "column": 12 }, "end": { - "line": 863, + "line": 864, "column": 19 }, "identifierName": "console" @@ -32448,15 +32531,15 @@ }, "property": { "type": "Identifier", - "start": 34140, - "end": 34145, + "start": 34721, + "end": 34726, "loc": { "start": { - "line": 863, + "line": 864, "column": 20 }, "end": { - "line": 863, + "line": 864, "column": 25 }, "identifierName": "error" @@ -32468,29 +32551,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 34146, - "end": 34201, + "start": 34727, + "end": 34782, "loc": { "start": { - "line": 863, + "line": 864, "column": 26 }, "end": { - "line": 863, + "line": 864, "column": 81 } }, "left": { "type": "StringLiteral", - "start": 34146, - "end": 34185, + "start": 34727, + "end": 34766, "loc": { "start": { - "line": 863, + "line": 864, "column": 26 }, "end": { - "line": 863, + "line": 864, "column": 65 } }, @@ -32503,29 +32586,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 34188, - "end": 34201, + "start": 34769, + "end": 34782, "loc": { "start": { - "line": 863, + "line": 864, "column": 68 }, "end": { - "line": 863, + "line": 864, "column": 81 } }, "object": { "type": "Identifier", - "start": 34188, - "end": 34194, + "start": 34769, + "end": 34775, "loc": { "start": { - "line": 863, + "line": 864, "column": 68 }, "end": { - "line": 863, + "line": 864, "column": 74 }, "identifierName": "params" @@ -32534,15 +32617,15 @@ }, "property": { "type": "Identifier", - "start": 34195, - "end": 34201, + "start": 34776, + "end": 34782, "loc": { "start": { - "line": 863, + "line": 864, "column": 75 }, "end": { - "line": 863, + "line": 864, "column": 81 }, "identifierName": "meshId" @@ -32557,15 +32640,15 @@ }, { "type": "ReturnStatement", - "start": 34216, - "end": 34223, + "start": 34797, + "end": 34804, "loc": { "start": { - "line": 864, + "line": 865, "column": 12 }, "end": { - "line": 864, + "line": 865, "column": 19 } }, @@ -32578,44 +32661,44 @@ }, { "type": "VariableDeclaration", - "start": 34243, - "end": 34295, + "start": 34824, + "end": 34876, "loc": { "start": { - "line": 867, + "line": 868, "column": 8 }, "end": { - "line": 867, + "line": 868, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34249, - "end": 34294, + "start": 34830, + "end": 34875, "loc": { "start": { - "line": 867, + "line": 868, "column": 14 }, "end": { - "line": 867, + "line": 868, "column": 59 } }, "id": { "type": "Identifier", - "start": 34249, - "end": 34257, + "start": 34830, + "end": 34838, "loc": { "start": { - "line": 867, + "line": 868, "column": 14 }, "end": { - "line": 867, + "line": 868, "column": 22 }, "identifierName": "geometry" @@ -32624,58 +32707,58 @@ }, "init": { "type": "MemberExpression", - "start": 34260, - "end": 34294, + "start": 34841, + "end": 34875, "loc": { "start": { - "line": 867, + "line": 868, "column": 25 }, "end": { - "line": 867, + "line": 868, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 34260, - "end": 34275, + "start": 34841, + "end": 34856, "loc": { "start": { - "line": 867, + "line": 868, "column": 25 }, "end": { - "line": 867, + "line": 868, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 34260, - "end": 34264, + "start": 34841, + "end": 34845, "loc": { "start": { - "line": 867, + "line": 868, "column": 25 }, "end": { - "line": 867, + "line": 868, "column": 29 } } }, "property": { "type": "Identifier", - "start": 34265, - "end": 34275, + "start": 34846, + "end": 34856, "loc": { "start": { - "line": 867, + "line": 868, "column": 30 }, "end": { - "line": 867, + "line": 868, "column": 40 }, "identifierName": "geometries" @@ -32686,29 +32769,29 @@ }, "property": { "type": "MemberExpression", - "start": 34276, - "end": 34293, + "start": 34857, + "end": 34874, "loc": { "start": { - "line": 867, + "line": 868, "column": 41 }, "end": { - "line": 867, + "line": 868, "column": 58 } }, "object": { "type": "Identifier", - "start": 34276, - "end": 34282, + "start": 34857, + "end": 34863, "loc": { "start": { - "line": 867, + "line": 868, "column": 41 }, "end": { - "line": 867, + "line": 868, "column": 47 }, "identifierName": "params" @@ -32717,15 +32800,15 @@ }, "property": { "type": "Identifier", - "start": 34283, - "end": 34293, + "start": 34864, + "end": 34874, "loc": { "start": { - "line": 867, + "line": 868, "column": 48 }, "end": { - "line": 867, + "line": 868, "column": 58 }, "identifierName": "geometryId" @@ -32742,29 +32825,29 @@ }, { "type": "IfStatement", - "start": 34305, - "end": 34425, + "start": 34886, + "end": 35006, "loc": { "start": { - "line": 869, + "line": 870, "column": 8 }, "end": { - "line": 872, + "line": 873, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 34309, - "end": 34318, + "start": 34890, + "end": 34899, "loc": { "start": { - "line": 869, + "line": 870, "column": 12 }, "end": { - "line": 869, + "line": 870, "column": 21 } }, @@ -32772,15 +32855,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 34310, - "end": 34318, + "start": 34891, + "end": 34899, "loc": { "start": { - "line": 869, + "line": 870, "column": 13 }, "end": { - "line": 869, + "line": 870, "column": 21 }, "identifierName": "geometry" @@ -32793,72 +32876,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 34320, - "end": 34425, + "start": 34901, + "end": 35006, "loc": { "start": { - "line": 869, + "line": 870, "column": 23 }, "end": { - "line": 872, + "line": 873, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 34334, - "end": 34395, + "start": 34915, + "end": 34976, "loc": { "start": { - "line": 870, + "line": 871, "column": 12 }, "end": { - "line": 870, + "line": 871, "column": 73 } }, "expression": { "type": "CallExpression", - "start": 34334, - "end": 34394, + "start": 34915, + "end": 34975, "loc": { "start": { - "line": 870, + "line": 871, "column": 12 }, "end": { - "line": 870, + "line": 871, "column": 72 } }, "callee": { "type": "MemberExpression", - "start": 34334, - "end": 34347, + "start": 34915, + "end": 34928, "loc": { "start": { - "line": 870, + "line": 871, "column": 12 }, "end": { - "line": 870, + "line": 871, "column": 25 } }, "object": { "type": "Identifier", - "start": 34334, - "end": 34341, + "start": 34915, + "end": 34922, "loc": { "start": { - "line": 870, + "line": 871, "column": 12 }, "end": { - "line": 870, + "line": 871, "column": 19 }, "identifierName": "console" @@ -32867,15 +32950,15 @@ }, "property": { "type": "Identifier", - "start": 34342, - "end": 34347, + "start": 34923, + "end": 34928, "loc": { "start": { - "line": 870, + "line": 871, "column": 20 }, "end": { - "line": 870, + "line": 871, "column": 25 }, "identifierName": "error" @@ -32887,29 +32970,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 34348, - "end": 34393, + "start": 34929, + "end": 34974, "loc": { "start": { - "line": 870, + "line": 871, "column": 26 }, "end": { - "line": 870, + "line": 871, "column": 71 } }, "left": { "type": "StringLiteral", - "start": 34348, - "end": 34373, + "start": 34929, + "end": 34954, "loc": { "start": { - "line": 870, + "line": 871, "column": 26 }, "end": { - "line": 870, + "line": 871, "column": 51 } }, @@ -32922,29 +33005,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 34376, - "end": 34393, + "start": 34957, + "end": 34974, "loc": { "start": { - "line": 870, + "line": 871, "column": 54 }, "end": { - "line": 870, + "line": 871, "column": 71 } }, "object": { "type": "Identifier", - "start": 34376, - "end": 34382, + "start": 34957, + "end": 34963, "loc": { "start": { - "line": 870, + "line": 871, "column": 54 }, "end": { - "line": 870, + "line": 871, "column": 60 }, "identifierName": "params" @@ -32953,15 +33036,15 @@ }, "property": { "type": "Identifier", - "start": 34383, - "end": 34393, + "start": 34964, + "end": 34974, "loc": { "start": { - "line": 870, + "line": 871, "column": 61 }, "end": { - "line": 870, + "line": 871, "column": 71 }, "identifierName": "geometryId" @@ -32976,15 +33059,15 @@ }, { "type": "ReturnStatement", - "start": 34408, - "end": 34415, + "start": 34989, + "end": 34996, "loc": { "start": { - "line": 871, + "line": 872, "column": 12 }, "end": { - "line": 871, + "line": 872, "column": 19 } }, @@ -32997,29 +33080,29 @@ }, { "type": "ExpressionStatement", - "start": 34435, - "end": 34459, + "start": 35016, + "end": 35040, "loc": { "start": { - "line": 874, + "line": 875, "column": 8 }, "end": { - "line": 874, + "line": 875, "column": 32 } }, "expression": { "type": "UpdateExpression", - "start": 34435, - "end": 34458, + "start": 35016, + "end": 35039, "loc": { "start": { - "line": 874, + "line": 875, "column": 8 }, "end": { - "line": 874, + "line": 875, "column": 31 } }, @@ -33027,29 +33110,29 @@ "prefix": false, "argument": { "type": "MemberExpression", - "start": 34435, - "end": 34456, + "start": 35016, + "end": 35037, "loc": { "start": { - "line": 874, + "line": 875, "column": 8 }, "end": { - "line": 874, + "line": 875, "column": 29 } }, "object": { "type": "Identifier", - "start": 34435, - "end": 34443, + "start": 35016, + "end": 35024, "loc": { "start": { - "line": 874, + "line": 875, "column": 8 }, "end": { - "line": 874, + "line": 875, "column": 16 }, "identifierName": "geometry" @@ -33058,15 +33141,15 @@ }, "property": { "type": "Identifier", - "start": 34444, - "end": 34456, + "start": 35025, + "end": 35037, "loc": { "start": { - "line": 874, + "line": 875, "column": 17 }, "end": { - "line": 874, + "line": 875, "column": 29 }, "identifierName": "numInstances" @@ -33079,44 +33162,44 @@ }, { "type": "VariableDeclaration", - "start": 34469, - "end": 34491, + "start": 35050, + "end": 35072, "loc": { "start": { - "line": 876, + "line": 877, "column": 8 }, "end": { - "line": 876, + "line": 877, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34473, - "end": 34490, + "start": 35054, + "end": 35071, "loc": { "start": { - "line": 876, + "line": 877, "column": 12 }, "end": { - "line": 876, + "line": 877, "column": 29 } }, "id": { "type": "Identifier", - "start": 34473, - "end": 34483, + "start": 35054, + "end": 35064, "loc": { "start": { - "line": 876, + "line": 877, "column": 12 }, "end": { - "line": 876, + "line": 877, "column": 22 }, "identifierName": "textureSet" @@ -33125,15 +33208,15 @@ }, "init": { "type": "NullLiteral", - "start": 34486, - "end": 34490, + "start": 35067, + "end": 35071, "loc": { "start": { - "line": 876, + "line": 877, "column": 25 }, "end": { - "line": 876, + "line": 877, "column": 29 } } @@ -33144,43 +33227,43 @@ }, { "type": "IfStatement", - "start": 34500, - "end": 34790, + "start": 35081, + "end": 35371, "loc": { "start": { - "line": 877, + "line": 878, "column": 8 }, "end": { - "line": 884, + "line": 885, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 34504, - "end": 34523, + "start": 35085, + "end": 35104, "loc": { "start": { - "line": 877, + "line": 878, "column": 12 }, "end": { - "line": 877, + "line": 878, "column": 31 } }, "object": { "type": "Identifier", - "start": 34504, - "end": 34510, + "start": 35085, + "end": 35091, "loc": { "start": { - "line": 877, + "line": 878, "column": 12 }, "end": { - "line": 877, + "line": 878, "column": 18 }, "identifierName": "params" @@ -33189,15 +33272,15 @@ }, "property": { "type": "Identifier", - "start": 34511, - "end": 34523, + "start": 35092, + "end": 35104, "loc": { "start": { - "line": 877, + "line": 878, "column": 19 }, "end": { - "line": 877, + "line": 878, "column": 31 }, "identifierName": "textureSetId" @@ -33208,59 +33291,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 34525, - "end": 34790, + "start": 35106, + "end": 35371, "loc": { "start": { - "line": 877, + "line": 878, "column": 33 }, "end": { - "line": 884, + "line": 885, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 34539, - "end": 34590, + "start": 35120, + "end": 35171, "loc": { "start": { - "line": 878, + "line": 879, "column": 12 }, "end": { - "line": 878, + "line": 879, "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 34539, - "end": 34589, + "start": 35120, + "end": 35170, "loc": { "start": { - "line": 878, + "line": 879, "column": 12 }, "end": { - "line": 878, + "line": 879, "column": 62 } }, "operator": "=", "left": { "type": "Identifier", - "start": 34539, - "end": 34549, + "start": 35120, + "end": 35130, "loc": { "start": { - "line": 878, + "line": 879, "column": 12 }, "end": { - "line": 878, + "line": 879, "column": 22 }, "identifierName": "textureSet" @@ -33269,58 +33352,58 @@ }, "right": { "type": "MemberExpression", - "start": 34552, - "end": 34589, + "start": 35133, + "end": 35170, "loc": { "start": { - "line": 878, + "line": 879, "column": 25 }, "end": { - "line": 878, + "line": 879, "column": 62 } }, "object": { "type": "MemberExpression", - "start": 34552, - "end": 34568, + "start": 35133, + "end": 35149, "loc": { "start": { - "line": 878, + "line": 879, "column": 25 }, "end": { - "line": 878, + "line": 879, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 34552, - "end": 34556, + "start": 35133, + "end": 35137, "loc": { "start": { - "line": 878, + "line": 879, "column": 25 }, "end": { - "line": 878, + "line": 879, "column": 29 } } }, "property": { "type": "Identifier", - "start": 34557, - "end": 34568, + "start": 35138, + "end": 35149, "loc": { "start": { - "line": 878, + "line": 879, "column": 30 }, "end": { - "line": 878, + "line": 879, "column": 41 }, "identifierName": "textureSets" @@ -33331,29 +33414,29 @@ }, "property": { "type": "MemberExpression", - "start": 34569, - "end": 34588, + "start": 35150, + "end": 35169, "loc": { "start": { - "line": 878, + "line": 879, "column": 42 }, "end": { - "line": 878, + "line": 879, "column": 61 } }, "object": { "type": "Identifier", - "start": 34569, - "end": 34575, + "start": 35150, + "end": 35156, "loc": { "start": { - "line": 878, + "line": 879, "column": 42 }, "end": { - "line": 878, + "line": 879, "column": 48 }, "identifierName": "params" @@ -33362,15 +33445,15 @@ }, "property": { "type": "Identifier", - "start": 34576, - "end": 34588, + "start": 35157, + "end": 35169, "loc": { "start": { - "line": 878, + "line": 879, "column": 49 }, "end": { - "line": 878, + "line": 879, "column": 61 }, "identifierName": "textureSetId" @@ -33385,29 +33468,29 @@ }, { "type": "IfStatement", - "start": 34603, - "end": 34741, + "start": 35184, + "end": 35322, "loc": { "start": { - "line": 879, + "line": 880, "column": 12 }, "end": { - "line": 882, + "line": 883, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 34607, - "end": 34618, + "start": 35188, + "end": 35199, "loc": { "start": { - "line": 879, + "line": 880, "column": 16 }, "end": { - "line": 879, + "line": 880, "column": 27 } }, @@ -33415,15 +33498,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 34608, - "end": 34618, + "start": 35189, + "end": 35199, "loc": { "start": { - "line": 879, + "line": 880, "column": 17 }, "end": { - "line": 879, + "line": 880, "column": 27 }, "identifierName": "textureSet" @@ -33436,72 +33519,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 34620, - "end": 34741, + "start": 35201, + "end": 35322, "loc": { "start": { - "line": 879, + "line": 880, "column": 29 }, "end": { - "line": 882, + "line": 883, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 34638, - "end": 34703, + "start": 35219, + "end": 35284, "loc": { "start": { - "line": 880, + "line": 881, "column": 16 }, "end": { - "line": 880, + "line": 881, "column": 81 } }, "expression": { "type": "CallExpression", - "start": 34638, - "end": 34702, + "start": 35219, + "end": 35283, "loc": { "start": { - "line": 880, + "line": 881, "column": 16 }, "end": { - "line": 880, + "line": 881, "column": 80 } }, "callee": { "type": "MemberExpression", - "start": 34638, - "end": 34651, + "start": 35219, + "end": 35232, "loc": { "start": { - "line": 880, + "line": 881, "column": 16 }, "end": { - "line": 880, + "line": 881, "column": 29 } }, "object": { "type": "Identifier", - "start": 34638, - "end": 34645, + "start": 35219, + "end": 35226, "loc": { "start": { - "line": 880, + "line": 881, "column": 16 }, "end": { - "line": 880, + "line": 881, "column": 23 }, "identifierName": "console" @@ -33510,15 +33593,15 @@ }, "property": { "type": "Identifier", - "start": 34646, - "end": 34651, + "start": 35227, + "end": 35232, "loc": { "start": { - "line": 880, + "line": 881, "column": 24 }, "end": { - "line": 880, + "line": 881, "column": 29 }, "identifierName": "error" @@ -33530,29 +33613,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 34652, - "end": 34701, + "start": 35233, + "end": 35282, "loc": { "start": { - "line": 880, + "line": 881, "column": 30 }, "end": { - "line": 880, + "line": 881, "column": 79 } }, "left": { "type": "StringLiteral", - "start": 34652, - "end": 34679, + "start": 35233, + "end": 35260, "loc": { "start": { - "line": 880, + "line": 881, "column": 30 }, "end": { - "line": 880, + "line": 881, "column": 57 } }, @@ -33565,29 +33648,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 34682, - "end": 34701, + "start": 35263, + "end": 35282, "loc": { "start": { - "line": 880, + "line": 881, "column": 60 }, "end": { - "line": 880, + "line": 881, "column": 79 } }, "object": { "type": "Identifier", - "start": 34682, - "end": 34688, + "start": 35263, + "end": 35269, "loc": { "start": { - "line": 880, + "line": 881, "column": 60 }, "end": { - "line": 880, + "line": 881, "column": 66 }, "identifierName": "params" @@ -33596,15 +33679,15 @@ }, "property": { "type": "Identifier", - "start": 34689, - "end": 34701, + "start": 35270, + "end": 35282, "loc": { "start": { - "line": 880, + "line": 881, "column": 67 }, "end": { - "line": 880, + "line": 881, "column": 79 }, "identifierName": "textureSetId" @@ -33619,15 +33702,15 @@ }, { "type": "ReturnStatement", - "start": 34720, - "end": 34727, + "start": 35301, + "end": 35308, "loc": { "start": { - "line": 881, + "line": 882, "column": 16 }, "end": { - "line": 881, + "line": 882, "column": 23 } }, @@ -33640,29 +33723,29 @@ }, { "type": "ExpressionStatement", - "start": 34754, - "end": 34780, + "start": 35335, + "end": 35361, "loc": { "start": { - "line": 883, + "line": 884, "column": 12 }, "end": { - "line": 883, + "line": 884, "column": 38 } }, "expression": { "type": "UpdateExpression", - "start": 34754, - "end": 34779, + "start": 35335, + "end": 35360, "loc": { "start": { - "line": 883, + "line": 884, "column": 12 }, "end": { - "line": 883, + "line": 884, "column": 37 } }, @@ -33670,29 +33753,29 @@ "prefix": false, "argument": { "type": "MemberExpression", - "start": 34754, - "end": 34777, + "start": 35335, + "end": 35358, "loc": { "start": { - "line": 883, + "line": 884, "column": 12 }, "end": { - "line": 883, + "line": 884, "column": 35 } }, "object": { "type": "Identifier", - "start": 34754, - "end": 34764, + "start": 35335, + "end": 35345, "loc": { "start": { - "line": 883, + "line": 884, "column": 12 }, "end": { - "line": 883, + "line": 884, "column": 22 }, "identifierName": "textureSet" @@ -33701,15 +33784,15 @@ }, "property": { "type": "Identifier", - "start": 34765, - "end": 34777, + "start": 35346, + "end": 35358, "loc": { "start": { - "line": 883, + "line": 884, "column": 23 }, "end": { - "line": 883, + "line": 884, "column": 35 }, "identifierName": "numInstances" @@ -33727,44 +33810,44 @@ }, { "type": "VariableDeclaration", - "start": 34800, - "end": 34827, + "start": 35381, + "end": 35408, "loc": { "start": { - "line": 886, + "line": 887, "column": 8 }, "end": { - "line": 886, + "line": 887, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34804, - "end": 34826, + "start": 35385, + "end": 35407, "loc": { "start": { - "line": 886, + "line": 887, "column": 12 }, "end": { - "line": 886, + "line": 887, "column": 34 } }, "id": { "type": "Identifier", - "start": 34804, - "end": 34810, + "start": 35385, + "end": 35391, "loc": { "start": { - "line": 886, + "line": 887, "column": 12 }, "end": { - "line": 886, + "line": 887, "column": 18 }, "identifierName": "matrix" @@ -33773,29 +33856,29 @@ }, "init": { "type": "MemberExpression", - "start": 34813, - "end": 34826, + "start": 35394, + "end": 35407, "loc": { "start": { - "line": 886, + "line": 887, "column": 21 }, "end": { - "line": 886, + "line": 887, "column": 34 } }, "object": { "type": "Identifier", - "start": 34813, - "end": 34819, + "start": 35394, + "end": 35400, "loc": { "start": { - "line": 886, + "line": 887, "column": 21 }, "end": { - "line": 886, + "line": 887, "column": 27 }, "identifierName": "params" @@ -33804,15 +33887,15 @@ }, "property": { "type": "Identifier", - "start": 34820, - "end": 34826, + "start": 35401, + "end": 35407, "loc": { "start": { - "line": 886, + "line": 887, "column": 28 }, "end": { - "line": 886, + "line": 887, "column": 34 }, "identifierName": "matrix" @@ -33827,29 +33910,29 @@ }, { "type": "IfStatement", - "start": 34837, - "end": 35384, + "start": 35418, + "end": 35965, "loc": { "start": { - "line": 888, + "line": 889, "column": 8 }, "end": { - "line": 902, + "line": 903, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 34841, - "end": 34848, + "start": 35422, + "end": 35429, "loc": { "start": { - "line": 888, + "line": 889, "column": 12 }, "end": { - "line": 888, + "line": 889, "column": 19 } }, @@ -33857,15 +33940,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 34842, - "end": 34848, + "start": 35423, + "end": 35429, "loc": { "start": { - "line": 888, + "line": 889, "column": 13 }, "end": { - "line": 888, + "line": 889, "column": 19 }, "identifierName": "matrix" @@ -33878,59 +33961,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 34850, - "end": 35384, + "start": 35431, + "end": 35965, "loc": { "start": { - "line": 888, + "line": 889, "column": 21 }, "end": { - "line": 902, + "line": 903, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 34865, - "end": 34898, + "start": 35446, + "end": 35479, "loc": { "start": { - "line": 890, + "line": 891, "column": 12 }, "end": { - "line": 890, + "line": 891, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34871, - "end": 34897, + "start": 35452, + "end": 35478, "loc": { "start": { - "line": 890, + "line": 891, "column": 18 }, "end": { - "line": 890, + "line": 891, "column": 44 } }, "id": { "type": "Identifier", - "start": 34871, - "end": 34879, + "start": 35452, + "end": 35460, "loc": { "start": { - "line": 890, + "line": 891, "column": 18 }, "end": { - "line": 890, + "line": 891, "column": 26 }, "identifierName": "position" @@ -33939,29 +34022,29 @@ }, "init": { "type": "MemberExpression", - "start": 34882, - "end": 34897, + "start": 35463, + "end": 35478, "loc": { "start": { - "line": 890, + "line": 891, "column": 29 }, "end": { - "line": 890, + "line": 891, "column": 44 } }, "object": { "type": "Identifier", - "start": 34882, - "end": 34888, + "start": 35463, + "end": 35469, "loc": { "start": { - "line": 890, + "line": 891, "column": 29 }, "end": { - "line": 890, + "line": 891, "column": 35 }, "identifierName": "params" @@ -33970,15 +34053,15 @@ }, "property": { "type": "Identifier", - "start": 34889, - "end": 34897, + "start": 35470, + "end": 35478, "loc": { "start": { - "line": 890, + "line": 891, "column": 36 }, "end": { - "line": 890, + "line": 891, "column": 44 }, "identifierName": "position" @@ -33993,44 +34076,44 @@ }, { "type": "VariableDeclaration", - "start": 34911, - "end": 34938, + "start": 35492, + "end": 35519, "loc": { "start": { - "line": 891, + "line": 892, "column": 12 }, "end": { - "line": 891, + "line": 892, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34917, - "end": 34937, + "start": 35498, + "end": 35518, "loc": { "start": { - "line": 891, + "line": 892, "column": 18 }, "end": { - "line": 891, + "line": 892, "column": 38 } }, "id": { "type": "Identifier", - "start": 34917, - "end": 34922, + "start": 35498, + "end": 35503, "loc": { "start": { - "line": 891, + "line": 892, "column": 18 }, "end": { - "line": 891, + "line": 892, "column": 23 }, "identifierName": "scale" @@ -34039,29 +34122,29 @@ }, "init": { "type": "MemberExpression", - "start": 34925, - "end": 34937, + "start": 35506, + "end": 35518, "loc": { "start": { - "line": 891, + "line": 892, "column": 26 }, "end": { - "line": 891, + "line": 892, "column": 38 } }, "object": { "type": "Identifier", - "start": 34925, - "end": 34931, + "start": 35506, + "end": 35512, "loc": { "start": { - "line": 891, + "line": 892, "column": 26 }, "end": { - "line": 891, + "line": 892, "column": 32 }, "identifierName": "params" @@ -34070,15 +34153,15 @@ }, "property": { "type": "Identifier", - "start": 34932, - "end": 34937, + "start": 35513, + "end": 35518, "loc": { "start": { - "line": 891, + "line": 892, "column": 33 }, "end": { - "line": 891, + "line": 892, "column": 38 }, "identifierName": "scale" @@ -34093,44 +34176,44 @@ }, { "type": "VariableDeclaration", - "start": 34951, - "end": 34984, + "start": 35532, + "end": 35565, "loc": { "start": { - "line": 892, + "line": 893, "column": 12 }, "end": { - "line": 892, + "line": 893, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34957, - "end": 34983, + "start": 35538, + "end": 35564, "loc": { "start": { - "line": 892, + "line": 893, "column": 18 }, "end": { - "line": 892, + "line": 893, "column": 44 } }, "id": { "type": "Identifier", - "start": 34957, - "end": 34965, + "start": 35538, + "end": 35546, "loc": { "start": { - "line": 892, + "line": 893, "column": 18 }, "end": { - "line": 892, + "line": 893, "column": 26 }, "identifierName": "rotation" @@ -34139,29 +34222,29 @@ }, "init": { "type": "MemberExpression", - "start": 34968, - "end": 34983, + "start": 35549, + "end": 35564, "loc": { "start": { - "line": 892, + "line": 893, "column": 29 }, "end": { - "line": 892, + "line": 893, "column": 44 } }, "object": { "type": "Identifier", - "start": 34968, - "end": 34974, + "start": 35549, + "end": 35555, "loc": { "start": { - "line": 892, + "line": 893, "column": 29 }, "end": { - "line": 892, + "line": 893, "column": 35 }, "identifierName": "params" @@ -34170,15 +34253,15 @@ }, "property": { "type": "Identifier", - "start": 34975, - "end": 34983, + "start": 35556, + "end": 35564, "loc": { "start": { - "line": 892, + "line": 893, "column": 36 }, "end": { - "line": 892, + "line": 893, "column": 44 }, "identifierName": "rotation" @@ -34193,57 +34276,57 @@ }, { "type": "IfStatement", - "start": 34998, - "end": 35374, + "start": 35579, + "end": 35955, "loc": { "start": { - "line": 894, + "line": 895, "column": 12 }, "end": { - "line": 901, + "line": 902, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 35002, - "end": 35031, + "start": 35583, + "end": 35612, "loc": { "start": { - "line": 894, + "line": 895, "column": 16 }, "end": { - "line": 894, + "line": 895, "column": 45 } }, "left": { "type": "LogicalExpression", - "start": 35002, - "end": 35019, + "start": 35583, + "end": 35600, "loc": { "start": { - "line": 894, + "line": 895, "column": 16 }, "end": { - "line": 894, + "line": 895, "column": 33 } }, "left": { "type": "Identifier", - "start": 35002, - "end": 35010, + "start": 35583, + "end": 35591, "loc": { "start": { - "line": 894, + "line": 895, "column": 16 }, "end": { - "line": 894, + "line": 895, "column": 24 }, "identifierName": "position" @@ -34253,15 +34336,15 @@ "operator": "||", "right": { "type": "Identifier", - "start": 35014, - "end": 35019, + "start": 35595, + "end": 35600, "loc": { "start": { - "line": 894, + "line": 895, "column": 28 }, "end": { - "line": 894, + "line": 895, "column": 33 }, "identifierName": "scale" @@ -34272,15 +34355,15 @@ "operator": "||", "right": { "type": "Identifier", - "start": 35023, - "end": 35031, + "start": 35604, + "end": 35612, "loc": { "start": { - "line": 894, + "line": 895, "column": 37 }, "end": { - "line": 894, + "line": 895, "column": 45 }, "identifierName": "rotation" @@ -34290,59 +34373,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 35033, - "end": 35307, + "start": 35614, + "end": 35888, "loc": { "start": { - "line": 894, + "line": 895, "column": 47 }, "end": { - "line": 899, + "line": 900, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 35051, - "end": 35080, + "start": 35632, + "end": 35661, "loc": { "start": { - "line": 895, + "line": 896, "column": 16 }, "end": { - "line": 895, + "line": 896, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 35051, - "end": 35079, + "start": 35632, + "end": 35660, "loc": { "start": { - "line": 895, + "line": 896, "column": 16 }, "end": { - "line": 895, + "line": 896, "column": 44 } }, "operator": "=", "left": { "type": "Identifier", - "start": 35051, - "end": 35057, + "start": 35632, + "end": 35638, "loc": { "start": { - "line": 895, + "line": 896, "column": 16 }, "end": { - "line": 895, + "line": 896, "column": 22 }, "identifierName": "matrix" @@ -34351,43 +34434,43 @@ }, "right": { "type": "CallExpression", - "start": 35060, - "end": 35079, + "start": 35641, + "end": 35660, "loc": { "start": { - "line": 895, + "line": 896, "column": 25 }, "end": { - "line": 895, + "line": 896, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 35060, - "end": 35077, + "start": 35641, + "end": 35658, "loc": { "start": { - "line": 895, + "line": 896, "column": 25 }, "end": { - "line": 895, + "line": 896, "column": 42 } }, "object": { "type": "Identifier", - "start": 35060, - "end": 35064, + "start": 35641, + "end": 35645, "loc": { "start": { - "line": 895, + "line": 896, "column": 25 }, "end": { - "line": 895, + "line": 896, "column": 29 }, "identifierName": "math" @@ -34396,15 +34479,15 @@ }, "property": { "type": "Identifier", - "start": 35065, - "end": 35077, + "start": 35646, + "end": 35658, "loc": { "start": { - "line": 895, + "line": 896, "column": 30 }, "end": { - "line": 895, + "line": 896, "column": 42 }, "identifierName": "identityMat4" @@ -34419,44 +34502,44 @@ }, { "type": "VariableDeclaration", - "start": 35097, - "end": 35196, + "start": 35678, + "end": 35777, "loc": { "start": { - "line": 896, + "line": 897, "column": 16 }, "end": { - "line": 896, + "line": 897, "column": 115 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 35103, - "end": 35195, + "start": 35684, + "end": 35776, "loc": { "start": { - "line": 896, + "line": 897, "column": 22 }, "end": { - "line": 896, + "line": 897, "column": 114 } }, "id": { "type": "Identifier", - "start": 35103, - "end": 35113, + "start": 35684, + "end": 35694, "loc": { "start": { - "line": 896, + "line": 897, "column": 22 }, "end": { - "line": 896, + "line": 897, "column": 32 }, "identifierName": "quaternion" @@ -34465,43 +34548,43 @@ }, "init": { "type": "CallExpression", - "start": 35116, - "end": 35195, + "start": 35697, + "end": 35776, "loc": { "start": { - "line": 896, + "line": 897, "column": 35 }, "end": { - "line": 896, + "line": 897, "column": 114 } }, "callee": { "type": "MemberExpression", - "start": 35116, - "end": 35138, + "start": 35697, + "end": 35719, "loc": { "start": { - "line": 896, + "line": 897, "column": 35 }, "end": { - "line": 896, + "line": 897, "column": 57 } }, "object": { "type": "Identifier", - "start": 35116, - "end": 35120, + "start": 35697, + "end": 35701, "loc": { "start": { - "line": 896, + "line": 897, "column": 35 }, "end": { - "line": 896, + "line": 897, "column": 39 }, "identifierName": "math" @@ -34510,15 +34593,15 @@ }, "property": { "type": "Identifier", - "start": 35121, - "end": 35138, + "start": 35702, + "end": 35719, "loc": { "start": { - "line": 896, + "line": 897, "column": 40 }, "end": { - "line": 896, + "line": 897, "column": 57 }, "identifierName": "eulerToQuaternion" @@ -34530,29 +34613,29 @@ "arguments": [ { "type": "LogicalExpression", - "start": 35139, - "end": 35160, + "start": 35720, + "end": 35741, "loc": { "start": { - "line": 896, + "line": 897, "column": 58 }, "end": { - "line": 896, + "line": 897, "column": 79 } }, "left": { "type": "Identifier", - "start": 35139, - "end": 35147, + "start": 35720, + "end": 35728, "loc": { "start": { - "line": 896, + "line": 897, "column": 58 }, "end": { - "line": 896, + "line": 897, "column": 66 }, "identifierName": "rotation" @@ -34562,30 +34645,30 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 35151, - "end": 35160, + "start": 35732, + "end": 35741, "loc": { "start": { - "line": 896, + "line": 897, "column": 70 }, "end": { - "line": 896, + "line": 897, "column": 79 } }, "elements": [ { "type": "NumericLiteral", - "start": 35152, - "end": 35153, + "start": 35733, + "end": 35734, "loc": { "start": { - "line": 896, + "line": 897, "column": 71 }, "end": { - "line": 896, + "line": 897, "column": 72 } }, @@ -34597,15 +34680,15 @@ }, { "type": "NumericLiteral", - "start": 35155, - "end": 35156, + "start": 35736, + "end": 35737, "loc": { "start": { - "line": 896, + "line": 897, "column": 74 }, "end": { - "line": 896, + "line": 897, "column": 75 } }, @@ -34617,15 +34700,15 @@ }, { "type": "NumericLiteral", - "start": 35158, - "end": 35159, + "start": 35739, + "end": 35740, "loc": { "start": { - "line": 896, + "line": 897, "column": 77 }, "end": { - "line": 896, + "line": 897, "column": 78 } }, @@ -34640,15 +34723,15 @@ }, { "type": "StringLiteral", - "start": 35162, - "end": 35167, + "start": 35743, + "end": 35748, "loc": { "start": { - "line": 896, + "line": 897, "column": 81 }, "end": { - "line": 896, + "line": 897, "column": 86 } }, @@ -34660,43 +34743,43 @@ }, { "type": "CallExpression", - "start": 35169, - "end": 35194, + "start": 35750, + "end": 35775, "loc": { "start": { - "line": 896, + "line": 897, "column": 88 }, "end": { - "line": 896, + "line": 897, "column": 113 } }, "callee": { "type": "MemberExpression", - "start": 35169, - "end": 35192, + "start": 35750, + "end": 35773, "loc": { "start": { - "line": 896, + "line": 897, "column": 88 }, "end": { - "line": 896, + "line": 897, "column": 111 } }, "object": { "type": "Identifier", - "start": 35169, - "end": 35173, + "start": 35750, + "end": 35754, "loc": { "start": { - "line": 896, + "line": 897, "column": 88 }, "end": { - "line": 896, + "line": 897, "column": 92 }, "identifierName": "math" @@ -34705,15 +34788,15 @@ }, "property": { "type": "Identifier", - "start": 35174, - "end": 35192, + "start": 35755, + "end": 35773, "loc": { "start": { - "line": 896, + "line": 897, "column": 93 }, "end": { - "line": 896, + "line": 897, "column": 111 }, "identifierName": "identityQuaternion" @@ -34732,57 +34815,57 @@ }, { "type": "ExpressionStatement", - "start": 35213, - "end": 35292, + "start": 35794, + "end": 35873, "loc": { "start": { - "line": 897, + "line": 898, "column": 16 }, "end": { - "line": 897, + "line": 898, "column": 95 } }, "expression": { "type": "CallExpression", - "start": 35213, - "end": 35292, + "start": 35794, + "end": 35873, "loc": { "start": { - "line": 897, + "line": 898, "column": 16 }, "end": { - "line": 897, + "line": 898, "column": 95 } }, "callee": { "type": "MemberExpression", - "start": 35213, - "end": 35229, + "start": 35794, + "end": 35810, "loc": { "start": { - "line": 897, + "line": 898, "column": 16 }, "end": { - "line": 897, + "line": 898, "column": 32 } }, "object": { "type": "Identifier", - "start": 35213, - "end": 35217, + "start": 35794, + "end": 35798, "loc": { "start": { - "line": 897, + "line": 898, "column": 16 }, "end": { - "line": 897, + "line": 898, "column": 20 }, "identifierName": "math" @@ -34791,15 +34874,15 @@ }, "property": { "type": "Identifier", - "start": 35218, - "end": 35229, + "start": 35799, + "end": 35810, "loc": { "start": { - "line": 897, + "line": 898, "column": 21 }, "end": { - "line": 897, + "line": 898, "column": 32 }, "identifierName": "composeMat4" @@ -34811,29 +34894,29 @@ "arguments": [ { "type": "LogicalExpression", - "start": 35230, - "end": 35251, + "start": 35811, + "end": 35832, "loc": { "start": { - "line": 897, + "line": 898, "column": 33 }, "end": { - "line": 897, + "line": 898, "column": 54 } }, "left": { "type": "Identifier", - "start": 35230, - "end": 35238, + "start": 35811, + "end": 35819, "loc": { "start": { - "line": 897, + "line": 898, "column": 33 }, "end": { - "line": 897, + "line": 898, "column": 41 }, "identifierName": "position" @@ -34843,30 +34926,30 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 35242, - "end": 35251, + "start": 35823, + "end": 35832, "loc": { "start": { - "line": 897, + "line": 898, "column": 45 }, "end": { - "line": 897, + "line": 898, "column": 54 } }, "elements": [ { "type": "NumericLiteral", - "start": 35243, - "end": 35244, + "start": 35824, + "end": 35825, "loc": { "start": { - "line": 897, + "line": 898, "column": 46 }, "end": { - "line": 897, + "line": 898, "column": 47 } }, @@ -34878,15 +34961,15 @@ }, { "type": "NumericLiteral", - "start": 35246, - "end": 35247, + "start": 35827, + "end": 35828, "loc": { "start": { - "line": 897, + "line": 898, "column": 49 }, "end": { - "line": 897, + "line": 898, "column": 50 } }, @@ -34898,15 +34981,15 @@ }, { "type": "NumericLiteral", - "start": 35249, - "end": 35250, + "start": 35830, + "end": 35831, "loc": { "start": { - "line": 897, + "line": 898, "column": 52 }, "end": { - "line": 897, + "line": 898, "column": 53 } }, @@ -34921,15 +35004,15 @@ }, { "type": "Identifier", - "start": 35253, - "end": 35263, + "start": 35834, + "end": 35844, "loc": { "start": { - "line": 897, + "line": 898, "column": 56 }, "end": { - "line": 897, + "line": 898, "column": 66 }, "identifierName": "quaternion" @@ -34938,29 +35021,29 @@ }, { "type": "LogicalExpression", - "start": 35265, - "end": 35283, + "start": 35846, + "end": 35864, "loc": { "start": { - "line": 897, + "line": 898, "column": 68 }, "end": { - "line": 897, + "line": 898, "column": 86 } }, "left": { "type": "Identifier", - "start": 35265, - "end": 35270, + "start": 35846, + "end": 35851, "loc": { "start": { - "line": 897, + "line": 898, "column": 68 }, "end": { - "line": 897, + "line": 898, "column": 73 }, "identifierName": "scale" @@ -34970,30 +35053,30 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 35274, - "end": 35283, + "start": 35855, + "end": 35864, "loc": { "start": { - "line": 897, + "line": 898, "column": 77 }, "end": { - "line": 897, + "line": 898, "column": 86 } }, "elements": [ { "type": "NumericLiteral", - "start": 35275, - "end": 35276, + "start": 35856, + "end": 35857, "loc": { "start": { - "line": 897, + "line": 898, "column": 78 }, "end": { - "line": 897, + "line": 898, "column": 79 } }, @@ -35005,15 +35088,15 @@ }, { "type": "NumericLiteral", - "start": 35278, - "end": 35279, + "start": 35859, + "end": 35860, "loc": { "start": { - "line": 897, + "line": 898, "column": 81 }, "end": { - "line": 897, + "line": 898, "column": 82 } }, @@ -35025,15 +35108,15 @@ }, { "type": "NumericLiteral", - "start": 35281, - "end": 35282, + "start": 35862, + "end": 35863, "loc": { "start": { - "line": 897, + "line": 898, "column": 84 }, "end": { - "line": 897, + "line": 898, "column": 85 } }, @@ -35048,15 +35131,15 @@ }, { "type": "Identifier", - "start": 35285, - "end": 35291, + "start": 35866, + "end": 35872, "loc": { "start": { - "line": 897, + "line": 898, "column": 88 }, "end": { - "line": 897, + "line": 898, "column": 94 }, "identifierName": "matrix" @@ -35071,59 +35154,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 35313, - "end": 35374, + "start": 35894, + "end": 35955, "loc": { "start": { - "line": 899, + "line": 900, "column": 19 }, "end": { - "line": 901, + "line": 902, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 35331, - "end": 35360, + "start": 35912, + "end": 35941, "loc": { "start": { - "line": 900, + "line": 901, "column": 16 }, "end": { - "line": 900, + "line": 901, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 35331, - "end": 35359, + "start": 35912, + "end": 35940, "loc": { "start": { - "line": 900, + "line": 901, "column": 16 }, "end": { - "line": 900, + "line": 901, "column": 44 } }, "operator": "=", "left": { "type": "Identifier", - "start": 35331, - "end": 35337, + "start": 35912, + "end": 35918, "loc": { "start": { - "line": 900, + "line": 901, "column": 16 }, "end": { - "line": 900, + "line": 901, "column": 22 }, "identifierName": "matrix" @@ -35132,43 +35215,43 @@ }, "right": { "type": "CallExpression", - "start": 35340, - "end": 35359, + "start": 35921, + "end": 35940, "loc": { "start": { - "line": 900, + "line": 901, "column": 25 }, "end": { - "line": 900, + "line": 901, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 35340, - "end": 35357, + "start": 35921, + "end": 35938, "loc": { "start": { - "line": 900, + "line": 901, "column": 25 }, "end": { - "line": 900, + "line": 901, "column": 42 } }, "object": { "type": "Identifier", - "start": 35340, - "end": 35344, + "start": 35921, + "end": 35925, "loc": { "start": { - "line": 900, + "line": 901, "column": 25 }, "end": { - "line": 900, + "line": 901, "column": 29 }, "identifierName": "math" @@ -35177,15 +35260,15 @@ }, "property": { "type": "Identifier", - "start": 35345, - "end": 35357, + "start": 35926, + "end": 35938, "loc": { "start": { - "line": 900, + "line": 901, "column": 30 }, "end": { - "line": 900, + "line": 901, "column": 42 }, "identifierName": "identityMat4" @@ -35209,44 +35292,44 @@ }, { "type": "VariableDeclaration", - "start": 35394, - "end": 35435, + "start": 35975, + "end": 36016, "loc": { "start": { - "line": 904, + "line": 905, "column": 8 }, "end": { - "line": 904, + "line": 905, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 35400, - "end": 35434, + "start": 35981, + "end": 36015, "loc": { "start": { - "line": 904, + "line": 905, "column": 14 }, "end": { - "line": 904, + "line": 905, "column": 48 } }, "id": { "type": "Identifier", - "start": 35400, - "end": 35409, + "start": 35981, + "end": 35990, "loc": { "start": { - "line": 904, + "line": 905, "column": 14 }, "end": { - "line": 904, + "line": 905, "column": 23 }, "identifierName": "meshIndex" @@ -35255,58 +35338,58 @@ }, "init": { "type": "MemberExpression", - "start": 35412, - "end": 35434, + "start": 35993, + "end": 36015, "loc": { "start": { - "line": 904, + "line": 905, "column": 26 }, "end": { - "line": 904, + "line": 905, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 35412, - "end": 35427, + "start": 35993, + "end": 36008, "loc": { "start": { - "line": 904, + "line": 905, "column": 26 }, "end": { - "line": 904, + "line": 905, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 35412, - "end": 35416, + "start": 35993, + "end": 35997, "loc": { "start": { - "line": 904, + "line": 905, "column": 26 }, "end": { - "line": 904, + "line": 905, "column": 30 } } }, "property": { "type": "Identifier", - "start": 35417, - "end": 35427, + "start": 35998, + "end": 36008, "loc": { "start": { - "line": 904, + "line": 905, "column": 31 }, "end": { - "line": 904, + "line": 905, "column": 41 }, "identifierName": "meshesList" @@ -35317,15 +35400,15 @@ }, "property": { "type": "Identifier", - "start": 35428, - "end": 35434, + "start": 36009, + "end": 36015, "loc": { "start": { - "line": 904, + "line": 905, "column": 42 }, "end": { - "line": 904, + "line": 905, "column": 48 }, "identifierName": "length" @@ -35340,44 +35423,44 @@ }, { "type": "VariableDeclaration", - "start": 35445, - "end": 35756, + "start": 36026, + "end": 36337, "loc": { "start": { - "line": 906, + "line": 907, "column": 8 }, "end": { - "line": 916, + "line": 917, "column": 11 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 35451, - "end": 35755, + "start": 36032, + "end": 36336, "loc": { "start": { - "line": 906, + "line": 907, "column": 14 }, "end": { - "line": 916, + "line": 917, "column": 10 } }, "id": { "type": "Identifier", - "start": 35451, - "end": 35455, + "start": 36032, + "end": 36036, "loc": { "start": { - "line": 906, + "line": 907, "column": 14 }, "end": { - "line": 906, + "line": 907, "column": 18 }, "identifierName": "mesh" @@ -35386,29 +35469,29 @@ }, "init": { "type": "NewExpression", - "start": 35458, - "end": 35755, + "start": 36039, + "end": 36336, "loc": { "start": { - "line": 906, + "line": 907, "column": 21 }, "end": { - "line": 916, + "line": 917, "column": 10 } }, "callee": { "type": "Identifier", - "start": 35462, - "end": 35469, + "start": 36043, + "end": 36050, "loc": { "start": { - "line": 906, + "line": 907, "column": 25 }, "end": { - "line": 906, + "line": 907, "column": 32 }, "identifierName": "XKTMesh" @@ -35418,30 +35501,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 35470, - "end": 35754, + "start": 36051, + "end": 36335, "loc": { "start": { - "line": 906, + "line": 907, "column": 33 }, "end": { - "line": 916, + "line": 917, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 35484, - "end": 35505, + "start": 36065, + "end": 36086, "loc": { "start": { - "line": 907, + "line": 908, "column": 12 }, "end": { - "line": 907, + "line": 908, "column": 33 } }, @@ -35450,15 +35533,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35484, - "end": 35490, + "start": 36065, + "end": 36071, "loc": { "start": { - "line": 907, + "line": 908, "column": 12 }, "end": { - "line": 907, + "line": 908, "column": 18 }, "identifierName": "meshId" @@ -35467,29 +35550,29 @@ }, "value": { "type": "MemberExpression", - "start": 35492, - "end": 35505, + "start": 36073, + "end": 36086, "loc": { "start": { - "line": 907, + "line": 908, "column": 20 }, "end": { - "line": 907, + "line": 908, "column": 33 } }, "object": { "type": "Identifier", - "start": 35492, - "end": 35498, + "start": 36073, + "end": 36079, "loc": { "start": { - "line": 907, + "line": 908, "column": 20 }, "end": { - "line": 907, + "line": 908, "column": 26 }, "identifierName": "params" @@ -35498,15 +35581,15 @@ }, "property": { "type": "Identifier", - "start": 35499, - "end": 35505, + "start": 36080, + "end": 36086, "loc": { "start": { - "line": 907, + "line": 908, "column": 27 }, "end": { - "line": 907, + "line": 908, "column": 33 }, "identifierName": "meshId" @@ -35518,15 +35601,15 @@ }, { "type": "ObjectProperty", - "start": 35519, - "end": 35528, + "start": 36100, + "end": 36109, "loc": { "start": { - "line": 908, + "line": 909, "column": 12 }, "end": { - "line": 908, + "line": 909, "column": 21 } }, @@ -35535,15 +35618,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35519, - "end": 35528, + "start": 36100, + "end": 36109, "loc": { "start": { - "line": 908, + "line": 909, "column": 12 }, "end": { - "line": 908, + "line": 909, "column": 21 }, "identifierName": "meshIndex" @@ -35552,15 +35635,15 @@ }, "value": { "type": "Identifier", - "start": 35519, - "end": 35528, + "start": 36100, + "end": 36109, "loc": { "start": { - "line": 908, + "line": 909, "column": 12 }, "end": { - "line": 908, + "line": 909, "column": 21 }, "identifierName": "meshIndex" @@ -35573,15 +35656,15 @@ }, { "type": "ObjectProperty", - "start": 35542, - "end": 35548, + "start": 36123, + "end": 36129, "loc": { "start": { - "line": 909, + "line": 910, "column": 12 }, "end": { - "line": 909, + "line": 910, "column": 18 } }, @@ -35590,15 +35673,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35542, - "end": 35548, + "start": 36123, + "end": 36129, "loc": { "start": { - "line": 909, + "line": 910, "column": 12 }, "end": { - "line": 909, + "line": 910, "column": 18 }, "identifierName": "matrix" @@ -35607,15 +35690,15 @@ }, "value": { "type": "Identifier", - "start": 35542, - "end": 35548, + "start": 36123, + "end": 36129, "loc": { "start": { - "line": 909, + "line": 910, "column": 12 }, "end": { - "line": 909, + "line": 910, "column": 18 }, "identifierName": "matrix" @@ -35628,15 +35711,15 @@ }, { "type": "ObjectProperty", - "start": 35562, - "end": 35570, + "start": 36143, + "end": 36151, "loc": { "start": { - "line": 910, + "line": 911, "column": 12 }, "end": { - "line": 910, + "line": 911, "column": 20 } }, @@ -35645,15 +35728,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35562, - "end": 35570, + "start": 36143, + "end": 36151, "loc": { "start": { - "line": 910, + "line": 911, "column": 12 }, "end": { - "line": 910, + "line": 911, "column": 20 }, "identifierName": "geometry" @@ -35662,15 +35745,15 @@ }, "value": { "type": "Identifier", - "start": 35562, - "end": 35570, + "start": 36143, + "end": 36151, "loc": { "start": { - "line": 910, + "line": 911, "column": 12 }, "end": { - "line": 910, + "line": 911, "column": 20 }, "identifierName": "geometry" @@ -35683,15 +35766,15 @@ }, { "type": "ObjectProperty", - "start": 35584, - "end": 35603, + "start": 36165, + "end": 36184, "loc": { "start": { - "line": 911, + "line": 912, "column": 12 }, "end": { - "line": 911, + "line": 912, "column": 31 } }, @@ -35700,15 +35783,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35584, - "end": 35589, + "start": 36165, + "end": 36170, "loc": { "start": { - "line": 911, + "line": 912, "column": 12 }, "end": { - "line": 911, + "line": 912, "column": 17 }, "identifierName": "color" @@ -35717,29 +35800,29 @@ }, "value": { "type": "MemberExpression", - "start": 35591, - "end": 35603, + "start": 36172, + "end": 36184, "loc": { "start": { - "line": 911, + "line": 912, "column": 19 }, "end": { - "line": 911, + "line": 912, "column": 31 } }, "object": { "type": "Identifier", - "start": 35591, - "end": 35597, + "start": 36172, + "end": 36178, "loc": { "start": { - "line": 911, + "line": 912, "column": 19 }, "end": { - "line": 911, + "line": 912, "column": 25 }, "identifierName": "params" @@ -35748,15 +35831,15 @@ }, "property": { "type": "Identifier", - "start": 35598, - "end": 35603, + "start": 36179, + "end": 36184, "loc": { "start": { - "line": 911, + "line": 912, "column": 26 }, "end": { - "line": 911, + "line": 912, "column": 31 }, "identifierName": "color" @@ -35768,15 +35851,15 @@ }, { "type": "ObjectProperty", - "start": 35617, - "end": 35642, + "start": 36198, + "end": 36223, "loc": { "start": { - "line": 912, + "line": 913, "column": 12 }, "end": { - "line": 912, + "line": 913, "column": 37 } }, @@ -35785,15 +35868,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35617, - "end": 35625, + "start": 36198, + "end": 36206, "loc": { "start": { - "line": 912, + "line": 913, "column": 12 }, "end": { - "line": 912, + "line": 913, "column": 20 }, "identifierName": "metallic" @@ -35802,29 +35885,29 @@ }, "value": { "type": "MemberExpression", - "start": 35627, - "end": 35642, + "start": 36208, + "end": 36223, "loc": { "start": { - "line": 912, + "line": 913, "column": 22 }, "end": { - "line": 912, + "line": 913, "column": 37 } }, "object": { "type": "Identifier", - "start": 35627, - "end": 35633, + "start": 36208, + "end": 36214, "loc": { "start": { - "line": 912, + "line": 913, "column": 22 }, "end": { - "line": 912, + "line": 913, "column": 28 }, "identifierName": "params" @@ -35833,15 +35916,15 @@ }, "property": { "type": "Identifier", - "start": 35634, - "end": 35642, + "start": 36215, + "end": 36223, "loc": { "start": { - "line": 912, + "line": 913, "column": 29 }, "end": { - "line": 912, + "line": 913, "column": 37 }, "identifierName": "metallic" @@ -35853,15 +35936,15 @@ }, { "type": "ObjectProperty", - "start": 35656, - "end": 35683, + "start": 36237, + "end": 36264, "loc": { "start": { - "line": 913, + "line": 914, "column": 12 }, "end": { - "line": 913, + "line": 914, "column": 39 } }, @@ -35870,15 +35953,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35656, - "end": 35665, + "start": 36237, + "end": 36246, "loc": { "start": { - "line": 913, + "line": 914, "column": 12 }, "end": { - "line": 913, + "line": 914, "column": 21 }, "identifierName": "roughness" @@ -35887,29 +35970,29 @@ }, "value": { "type": "MemberExpression", - "start": 35667, - "end": 35683, + "start": 36248, + "end": 36264, "loc": { "start": { - "line": 913, + "line": 914, "column": 23 }, "end": { - "line": 913, + "line": 914, "column": 39 } }, "object": { "type": "Identifier", - "start": 35667, - "end": 35673, + "start": 36248, + "end": 36254, "loc": { "start": { - "line": 913, + "line": 914, "column": 23 }, "end": { - "line": 913, + "line": 914, "column": 29 }, "identifierName": "params" @@ -35918,15 +36001,15 @@ }, "property": { "type": "Identifier", - "start": 35674, - "end": 35683, + "start": 36255, + "end": 36264, "loc": { "start": { - "line": 913, + "line": 914, "column": 30 }, "end": { - "line": 913, + "line": 914, "column": 39 }, "identifierName": "roughness" @@ -35938,15 +36021,15 @@ }, { "type": "ObjectProperty", - "start": 35697, - "end": 35720, + "start": 36278, + "end": 36301, "loc": { "start": { - "line": 914, + "line": 915, "column": 12 }, "end": { - "line": 914, + "line": 915, "column": 35 } }, @@ -35955,15 +36038,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35697, - "end": 35704, + "start": 36278, + "end": 36285, "loc": { "start": { - "line": 914, + "line": 915, "column": 12 }, "end": { - "line": 914, + "line": 915, "column": 19 }, "identifierName": "opacity" @@ -35972,29 +36055,29 @@ }, "value": { "type": "MemberExpression", - "start": 35706, - "end": 35720, + "start": 36287, + "end": 36301, "loc": { "start": { - "line": 914, + "line": 915, "column": 21 }, "end": { - "line": 914, + "line": 915, "column": 35 } }, "object": { "type": "Identifier", - "start": 35706, - "end": 35712, + "start": 36287, + "end": 36293, "loc": { "start": { - "line": 914, + "line": 915, "column": 21 }, "end": { - "line": 914, + "line": 915, "column": 27 }, "identifierName": "params" @@ -36003,15 +36086,15 @@ }, "property": { "type": "Identifier", - "start": 35713, - "end": 35720, + "start": 36294, + "end": 36301, "loc": { "start": { - "line": 914, + "line": 915, "column": 28 }, "end": { - "line": 914, + "line": 915, "column": 35 }, "identifierName": "opacity" @@ -36023,15 +36106,15 @@ }, { "type": "ObjectProperty", - "start": 35734, - "end": 35744, + "start": 36315, + "end": 36325, "loc": { "start": { - "line": 915, + "line": 916, "column": 12 }, "end": { - "line": 915, + "line": 916, "column": 22 } }, @@ -36040,15 +36123,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35734, - "end": 35744, + "start": 36315, + "end": 36325, "loc": { "start": { - "line": 915, + "line": 916, "column": 12 }, "end": { - "line": 915, + "line": 916, "column": 22 }, "identifierName": "textureSet" @@ -36057,15 +36140,15 @@ }, "value": { "type": "Identifier", - "start": 35734, - "end": 35744, + "start": 36315, + "end": 36325, "loc": { "start": { - "line": 915, + "line": 916, "column": 12 }, "end": { - "line": 915, + "line": 916, "column": 22 }, "identifierName": "textureSet" @@ -36086,87 +36169,87 @@ }, { "type": "ExpressionStatement", - "start": 35766, - "end": 35798, + "start": 36347, + "end": 36379, "loc": { "start": { - "line": 918, + "line": 919, "column": 8 }, "end": { - "line": 918, + "line": 919, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 35766, - "end": 35797, + "start": 36347, + "end": 36378, "loc": { "start": { - "line": 918, + "line": 919, "column": 8 }, "end": { - "line": 918, + "line": 919, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 35766, - "end": 35790, + "start": 36347, + "end": 36371, "loc": { "start": { - "line": 918, + "line": 919, "column": 8 }, "end": { - "line": 918, + "line": 919, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 35766, - "end": 35777, + "start": 36347, + "end": 36358, "loc": { "start": { - "line": 918, + "line": 919, "column": 8 }, "end": { - "line": 918, + "line": 919, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 35766, - "end": 35770, + "start": 36347, + "end": 36351, "loc": { "start": { - "line": 918, + "line": 919, "column": 8 }, "end": { - "line": 918, + "line": 919, "column": 12 } } }, "property": { "type": "Identifier", - "start": 35771, - "end": 35777, + "start": 36352, + "end": 36358, "loc": { "start": { - "line": 918, + "line": 919, "column": 13 }, "end": { - "line": 918, + "line": 919, "column": 19 }, "identifierName": "meshes" @@ -36177,29 +36260,29 @@ }, "property": { "type": "MemberExpression", - "start": 35778, - "end": 35789, + "start": 36359, + "end": 36370, "loc": { "start": { - "line": 918, + "line": 919, "column": 20 }, "end": { - "line": 918, + "line": 919, "column": 31 } }, "object": { "type": "Identifier", - "start": 35778, - "end": 35782, + "start": 36359, + "end": 36363, "loc": { "start": { - "line": 918, + "line": 919, "column": 20 }, "end": { - "line": 918, + "line": 919, "column": 24 }, "identifierName": "mesh" @@ -36208,15 +36291,15 @@ }, "property": { "type": "Identifier", - "start": 35783, - "end": 35789, + "start": 36364, + "end": 36370, "loc": { "start": { - "line": 918, + "line": 919, "column": 25 }, "end": { - "line": 918, + "line": 919, "column": 31 }, "identifierName": "meshId" @@ -36229,15 +36312,15 @@ }, "right": { "type": "Identifier", - "start": 35793, - "end": 35797, + "start": 36374, + "end": 36378, "loc": { "start": { - "line": 918, + "line": 919, "column": 35 }, "end": { - "line": 918, + "line": 919, "column": 39 }, "identifierName": "mesh" @@ -36248,86 +36331,86 @@ }, { "type": "ExpressionStatement", - "start": 35807, - "end": 35834, + "start": 36388, + "end": 36415, "loc": { "start": { - "line": 919, + "line": 920, "column": 8 }, "end": { - "line": 919, + "line": 920, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 35807, - "end": 35833, + "start": 36388, + "end": 36414, "loc": { "start": { - "line": 919, + "line": 920, "column": 8 }, "end": { - "line": 919, + "line": 920, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 35807, - "end": 35827, + "start": 36388, + "end": 36408, "loc": { "start": { - "line": 919, + "line": 920, "column": 8 }, "end": { - "line": 919, + "line": 920, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 35807, - "end": 35822, + "start": 36388, + "end": 36403, "loc": { "start": { - "line": 919, + "line": 920, "column": 8 }, "end": { - "line": 919, + "line": 920, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 35807, - "end": 35811, + "start": 36388, + "end": 36392, "loc": { "start": { - "line": 919, + "line": 920, "column": 8 }, "end": { - "line": 919, + "line": 920, "column": 12 } } }, "property": { "type": "Identifier", - "start": 35812, - "end": 35822, + "start": 36393, + "end": 36403, "loc": { "start": { - "line": 919, + "line": 920, "column": 13 }, "end": { - "line": 919, + "line": 920, "column": 23 }, "identifierName": "meshesList" @@ -36338,15 +36421,15 @@ }, "property": { "type": "Identifier", - "start": 35823, - "end": 35827, + "start": 36404, + "end": 36408, "loc": { "start": { - "line": 919, + "line": 920, "column": 24 }, "end": { - "line": 919, + "line": 920, "column": 28 }, "identifierName": "push" @@ -36358,15 +36441,15 @@ "arguments": [ { "type": "Identifier", - "start": 35828, - "end": 35832, + "start": 36409, + "end": 36413, "loc": { "start": { - "line": 919, + "line": 920, "column": 29 }, "end": { - "line": 919, + "line": 920, "column": 33 }, "identifierName": "mesh" @@ -36378,29 +36461,29 @@ }, { "type": "ReturnStatement", - "start": 35844, - "end": 35856, + "start": 36425, + "end": 36437, "loc": { "start": { - "line": 921, + "line": 922, "column": 8 }, "end": { - "line": 921, + "line": 922, "column": 20 } }, "argument": { "type": "Identifier", - "start": 35851, - "end": 35855, + "start": 36432, + "end": 36436, "loc": { "start": { - "line": 921, + "line": 922, "column": 15 }, "end": { - "line": 921, + "line": 922, "column": 19 }, "identifierName": "mesh" @@ -36416,15 +36499,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMesh} within this XKTModel.\n *\n * An {@link XKTMesh} can be owned by one {@link XKTEntity}, which can own multiple {@link XKTMesh}es.\n *\n * Registers the new {@link XKTMesh} in {@link XKTModel#meshes} and {@link XKTModel#meshesList}.\n *\n * @param {*} params Method parameters.\n * @param {Number} params.meshId Unique ID for the {@link XKTMesh}.\n * @param {Number} params.geometryId ID of an existing {@link XKTGeometry} in {@link XKTModel#geometries}.\n * @param {Number} [params.textureSetId] Unique ID of an {@link XKTTextureSet} in {@link XKTModel#textureSets}.\n * @param {Float32Array} params.color RGB color for the {@link XKTMesh}, with each color component in range [0..1].\n * @param {Number} [params.metallic=0] How metallic the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully dielectric material, while ````1```` indicates fully metallic.\n * @param {Number} [params.roughness=1] How rough the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully smooth, while ````1```` indicates fully rough.\n * @param {Number} params.opacity Opacity factor for the {@link XKTMesh}, in range [0..1].\n * @param {Float64Array} [params.matrix] Modeling matrix for the {@link XKTMesh}. Overrides ````position````, ````scale```` and ````rotation```` parameters.\n * @param {Number[]} [params.position=[0,0,0]] Position of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.scale=[1,1,1]] Scale of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.rotation=[0,0,0]] Rotation of the {@link XKTMesh} as Euler angles given in degrees, for each of the X, Y and Z axis. Overridden by the ````matrix```` parameter.\n * @returns {XKTMesh} The new {@link XKTMesh}.\n ", - "start": 31770, - "end": 33656, + "start": 32285, + "end": 34171, "loc": { "start": { - "line": 827, + "line": 828, "column": 4 }, "end": { - "line": 847, + "line": 848, "column": 7 } } @@ -36434,15 +36517,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTEntity} within this XKTModel.\n *\n * Registers the new {@link XKTEntity} in {@link XKTModel#entities} and {@link XKTModel#entitiesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.entityId Unique ID for the {@link XKTEntity}.\n * @param {String[]} params.meshIds IDs of {@link XKTMesh}es used by the {@link XKTEntity}. Note that each {@link XKTMesh} can only be used by one {@link XKTEntity}.\n * @returns {XKTEntity} The new {@link XKTEntity}.\n ", - "start": 35868, - "end": 36515, + "start": 36449, + "end": 37096, "loc": { "start": { - "line": 924, + "line": 925, "column": 4 }, "end": { - "line": 935, + "line": 936, "column": 7 } } @@ -36451,15 +36534,15 @@ }, { "type": "ClassMethod", - "start": 36520, - "end": 38425, + "start": 37101, + "end": 39078, "loc": { "start": { - "line": 936, + "line": 937, "column": 4 }, "end": { - "line": 1001, + "line": 1002, "column": 5 } }, @@ -36467,15 +36550,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 36520, - "end": 36532, + "start": 37101, + "end": 37113, "loc": { "start": { - "line": 936, + "line": 937, "column": 4 }, "end": { - "line": 936, + "line": 937, "column": 16 }, "identifierName": "createEntity" @@ -36491,15 +36574,15 @@ "params": [ { "type": "Identifier", - "start": 36533, - "end": 36539, + "start": 37114, + "end": 37120, "loc": { "start": { - "line": 936, + "line": 937, "column": 17 }, "end": { - "line": 936, + "line": 937, "column": 23 }, "identifierName": "params" @@ -36509,44 +36592,44 @@ ], "body": { "type": "BlockStatement", - "start": 36541, - "end": 38425, + "start": 37122, + "end": 39078, "loc": { "start": { - "line": 936, + "line": 937, "column": 25 }, "end": { - "line": 1001, + "line": 1002, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 36552, - "end": 36625, + "start": 37133, + "end": 37230, "loc": { "start": { - "line": 938, + "line": 939, "column": 8 }, "end": { - "line": 940, + "line": 941, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 36556, - "end": 36563, + "start": 37137, + "end": 37144, "loc": { "start": { - "line": 938, + "line": 939, "column": 12 }, "end": { - "line": 938, + "line": 939, "column": 19 } }, @@ -36554,15 +36637,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 36557, - "end": 36563, + "start": 37138, + "end": 37144, "loc": { "start": { - "line": 938, + "line": 939, "column": 13 }, "end": { - "line": 938, + "line": 939, "column": 19 }, "identifierName": "params" @@ -36575,52 +36658,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 36565, - "end": 36625, + "start": 37146, + "end": 37230, "loc": { "start": { - "line": 938, + "line": 939, "column": 21 }, "end": { - "line": 940, + "line": 941, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 36579, - "end": 36615, + "start": 37160, + "end": 37220, "loc": { "start": { - "line": 939, + "line": 940, "column": 12 }, "end": { - "line": 939, - "column": 48 + "line": 940, + "column": 72 } }, "argument": { "type": "StringLiteral", - "start": 36585, - "end": 36614, + "start": 37166, + "end": 37219, "loc": { "start": { - "line": 939, + "line": 940, "column": 18 }, "end": { - "line": 939, - "column": 47 + "line": 940, + "column": 71 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createEntity] Parameters expected: params", + "raw": "\"[XKTModel.createEntity] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createEntity] Parameters expected: params" } } ], @@ -36630,71 +36713,71 @@ }, { "type": "IfStatement", - "start": 36635, - "end": 36766, + "start": 37240, + "end": 37395, "loc": { "start": { - "line": 942, + "line": 943, "column": 8 }, "end": { - "line": 944, + "line": 945, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 36639, - "end": 36696, + "start": 37244, + "end": 37301, "loc": { "start": { - "line": 942, + "line": 943, "column": 12 }, "end": { - "line": 942, + "line": 943, "column": 69 } }, "left": { "type": "BinaryExpression", - "start": 36639, - "end": 36663, + "start": 37244, + "end": 37268, "loc": { "start": { - "line": 942, + "line": 943, "column": 12 }, "end": { - "line": 942, + "line": 943, "column": 36 } }, "left": { "type": "MemberExpression", - "start": 36639, - "end": 36654, + "start": 37244, + "end": 37259, "loc": { "start": { - "line": 942, + "line": 943, "column": 12 }, "end": { - "line": 942, + "line": 943, "column": 27 } }, "object": { "type": "Identifier", - "start": 36639, - "end": 36645, + "start": 37244, + "end": 37250, "loc": { "start": { - "line": 942, + "line": 943, "column": 12 }, "end": { - "line": 942, + "line": 943, "column": 18 }, "identifierName": "params" @@ -36703,15 +36786,15 @@ }, "property": { "type": "Identifier", - "start": 36646, - "end": 36654, + "start": 37251, + "end": 37259, "loc": { "start": { - "line": 942, + "line": 943, "column": 19 }, "end": { - "line": 942, + "line": 943, "column": 27 }, "identifierName": "entityId" @@ -36723,15 +36806,15 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 36659, - "end": 36663, + "start": 37264, + "end": 37268, "loc": { "start": { - "line": 942, + "line": 943, "column": 32 }, "end": { - "line": 942, + "line": 943, "column": 36 } } @@ -36740,43 +36823,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 36667, - "end": 36696, + "start": 37272, + "end": 37301, "loc": { "start": { - "line": 942, + "line": 943, "column": 40 }, "end": { - "line": 942, + "line": 943, "column": 69 } }, "left": { "type": "MemberExpression", - "start": 36667, - "end": 36682, + "start": 37272, + "end": 37287, "loc": { "start": { - "line": 942, + "line": 943, "column": 40 }, "end": { - "line": 942, + "line": 943, "column": 55 } }, "object": { "type": "Identifier", - "start": 36667, - "end": 36673, + "start": 37272, + "end": 37278, "loc": { "start": { - "line": 942, + "line": 943, "column": 40 }, "end": { - "line": 942, + "line": 943, "column": 46 }, "identifierName": "params" @@ -36785,15 +36868,15 @@ }, "property": { "type": "Identifier", - "start": 36674, - "end": 36682, + "start": 37279, + "end": 37287, "loc": { "start": { - "line": 942, + "line": 943, "column": 47 }, "end": { - "line": 942, + "line": 943, "column": 55 }, "identifierName": "entityId" @@ -36805,15 +36888,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 36687, - "end": 36696, + "start": 37292, + "end": 37301, "loc": { "start": { - "line": 942, + "line": 943, "column": 60 }, "end": { - "line": 942, + "line": 943, "column": 69 }, "identifierName": "undefined" @@ -36824,52 +36907,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 36698, - "end": 36766, + "start": 37303, + "end": 37395, "loc": { "start": { - "line": 942, + "line": 943, "column": 71 }, "end": { - "line": 944, + "line": 945, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 36712, - "end": 36756, + "start": 37317, + "end": 37385, "loc": { "start": { - "line": 943, + "line": 944, "column": 12 }, "end": { - "line": 943, - "column": 56 + "line": 944, + "column": 80 } }, "argument": { "type": "StringLiteral", - "start": 36718, - "end": 36755, + "start": 37323, + "end": 37384, "loc": { "start": { - "line": 943, + "line": 944, "column": 18 }, "end": { - "line": 943, - "column": 55 + "line": 944, + "column": 79 } }, "extra": { - "rawValue": "Parameter expected: params.entityId", - "raw": "\"Parameter expected: params.entityId\"" + "rawValue": "[XKTModel.createEntity] Parameter expected: params.entityId", + "raw": "\"[XKTModel.createEntity] Parameter expected: params.entityId\"" }, - "value": "Parameter expected: params.entityId" + "value": "[XKTModel.createEntity] Parameter expected: params.entityId" } } ], @@ -36879,29 +36962,29 @@ }, { "type": "IfStatement", - "start": 36776, - "end": 36864, + "start": 37405, + "end": 37517, "loc": { "start": { - "line": 946, + "line": 947, "column": 8 }, "end": { - "line": 948, + "line": 949, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 36780, - "end": 36795, + "start": 37409, + "end": 37424, "loc": { "start": { - "line": 946, + "line": 947, "column": 12 }, "end": { - "line": 946, + "line": 947, "column": 27 } }, @@ -36909,29 +36992,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 36781, - "end": 36795, + "start": 37410, + "end": 37424, "loc": { "start": { - "line": 946, + "line": 947, "column": 13 }, "end": { - "line": 946, + "line": 947, "column": 27 } }, "object": { "type": "Identifier", - "start": 36781, - "end": 36787, + "start": 37410, + "end": 37416, "loc": { "start": { - "line": 946, + "line": 947, "column": 13 }, "end": { - "line": 946, + "line": 947, "column": 19 }, "identifierName": "params" @@ -36940,15 +37023,15 @@ }, "property": { "type": "Identifier", - "start": 36788, - "end": 36795, + "start": 37417, + "end": 37424, "loc": { "start": { - "line": 946, + "line": 947, "column": 20 }, "end": { - "line": 946, + "line": 947, "column": 27 }, "identifierName": "meshIds" @@ -36963,52 +37046,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 36797, - "end": 36864, + "start": 37426, + "end": 37517, "loc": { "start": { - "line": 946, + "line": 947, "column": 29 }, "end": { - "line": 948, + "line": 949, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 36811, - "end": 36854, + "start": 37440, + "end": 37507, "loc": { "start": { - "line": 947, + "line": 948, "column": 12 }, "end": { - "line": 947, - "column": 55 + "line": 948, + "column": 79 } }, "argument": { "type": "StringLiteral", - "start": 36817, - "end": 36853, + "start": 37446, + "end": 37506, "loc": { "start": { - "line": 947, + "line": 948, "column": 18 }, "end": { - "line": 947, - "column": 54 + "line": 948, + "column": 78 } }, "extra": { - "rawValue": "Parameter expected: params.meshIds", - "raw": "\"Parameter expected: params.meshIds\"" + "rawValue": "[XKTModel.createEntity] Parameter expected: params.meshIds", + "raw": "\"[XKTModel.createEntity] Parameter expected: params.meshIds\"" }, - "value": "Parameter expected: params.meshIds" + "value": "[XKTModel.createEntity] Parameter expected: params.meshIds" } } ], @@ -37018,58 +37101,58 @@ }, { "type": "IfStatement", - "start": 36874, - "end": 37008, + "start": 37527, + "end": 37661, "loc": { "start": { - "line": 950, + "line": 951, "column": 8 }, "end": { - "line": 953, + "line": 954, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 36878, - "end": 36892, + "start": 37531, + "end": 37545, "loc": { "start": { - "line": 950, + "line": 951, "column": 12 }, "end": { - "line": 950, + "line": 951, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 36878, - "end": 36882, + "start": 37531, + "end": 37535, "loc": { "start": { - "line": 950, + "line": 951, "column": 12 }, "end": { - "line": 950, + "line": 951, "column": 16 } } }, "property": { "type": "Identifier", - "start": 36883, - "end": 36892, + "start": 37536, + "end": 37545, "loc": { "start": { - "line": 950, + "line": 951, "column": 17 }, "end": { - "line": 950, + "line": 951, "column": 26 }, "identifierName": "finalized" @@ -37080,72 +37163,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 36894, - "end": 37008, + "start": 37547, + "end": 37661, "loc": { "start": { - "line": 950, + "line": 951, "column": 28 }, "end": { - "line": 953, + "line": 954, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 36908, - "end": 36978, + "start": 37561, + "end": 37631, "loc": { "start": { - "line": 951, + "line": 952, "column": 12 }, "end": { - "line": 951, + "line": 952, "column": 82 } }, "expression": { "type": "CallExpression", - "start": 36908, - "end": 36977, + "start": 37561, + "end": 37630, "loc": { "start": { - "line": 951, + "line": 952, "column": 12 }, "end": { - "line": 951, + "line": 952, "column": 81 } }, "callee": { "type": "MemberExpression", - "start": 36908, - "end": 36921, + "start": 37561, + "end": 37574, "loc": { "start": { - "line": 951, + "line": 952, "column": 12 }, "end": { - "line": 951, + "line": 952, "column": 25 } }, "object": { "type": "Identifier", - "start": 36908, - "end": 36915, + "start": 37561, + "end": 37568, "loc": { "start": { - "line": 951, + "line": 952, "column": 12 }, "end": { - "line": 951, + "line": 952, "column": 19 }, "identifierName": "console" @@ -37154,15 +37237,15 @@ }, "property": { "type": "Identifier", - "start": 36916, - "end": 36921, + "start": 37569, + "end": 37574, "loc": { "start": { - "line": 951, + "line": 952, "column": 20 }, "end": { - "line": 951, + "line": 952, "column": 25 }, "identifierName": "error" @@ -37174,15 +37257,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 36922, - "end": 36976, + "start": 37575, + "end": 37629, "loc": { "start": { - "line": 951, + "line": 952, "column": 26 }, "end": { - "line": 951, + "line": 952, "column": 80 } }, @@ -37197,15 +37280,15 @@ }, { "type": "ReturnStatement", - "start": 36991, - "end": 36998, + "start": 37644, + "end": 37651, "loc": { "start": { - "line": 952, + "line": 953, "column": 12 }, "end": { - "line": 952, + "line": 953, "column": 19 } }, @@ -37218,71 +37301,71 @@ }, { "type": "IfStatement", - "start": 37018, - "end": 37170, + "start": 37671, + "end": 37823, "loc": { "start": { - "line": 955, + "line": 956, "column": 8 }, "end": { - "line": 958, + "line": 959, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 37022, - "end": 37049, + "start": 37675, + "end": 37702, "loc": { "start": { - "line": 955, + "line": 956, "column": 12 }, "end": { - "line": 955, + "line": 956, "column": 39 } }, "left": { "type": "MemberExpression", - "start": 37022, - "end": 37043, + "start": 37675, + "end": 37696, "loc": { "start": { - "line": 955, + "line": 956, "column": 12 }, "end": { - "line": 955, + "line": 956, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 37022, - "end": 37036, + "start": 37675, + "end": 37689, "loc": { "start": { - "line": 955, + "line": 956, "column": 12 }, "end": { - "line": 955, + "line": 956, "column": 26 } }, "object": { "type": "Identifier", - "start": 37022, - "end": 37028, + "start": 37675, + "end": 37681, "loc": { "start": { - "line": 955, + "line": 956, "column": 12 }, "end": { - "line": 955, + "line": 956, "column": 18 }, "identifierName": "params" @@ -37291,15 +37374,15 @@ }, "property": { "type": "Identifier", - "start": 37029, - "end": 37036, + "start": 37682, + "end": 37689, "loc": { "start": { - "line": 955, + "line": 956, "column": 19 }, "end": { - "line": 955, + "line": 956, "column": 26 }, "identifierName": "meshIds" @@ -37310,15 +37393,15 @@ }, "property": { "type": "Identifier", - "start": 37037, - "end": 37043, + "start": 37690, + "end": 37696, "loc": { "start": { - "line": 955, + "line": 956, "column": 27 }, "end": { - "line": 955, + "line": 956, "column": 33 }, "identifierName": "length" @@ -37330,15 +37413,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 37048, - "end": 37049, + "start": 37701, + "end": 37702, "loc": { "start": { - "line": 955, + "line": 956, "column": 38 }, "end": { - "line": 955, + "line": 956, "column": 39 } }, @@ -37351,72 +37434,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 37051, - "end": 37170, + "start": 37704, + "end": 37823, "loc": { "start": { - "line": 955, + "line": 956, "column": 41 }, "end": { - "line": 958, + "line": 959, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 37065, - "end": 37140, + "start": 37718, + "end": 37793, "loc": { "start": { - "line": 956, + "line": 957, "column": 12 }, "end": { - "line": 956, + "line": 957, "column": 87 } }, "expression": { "type": "CallExpression", - "start": 37065, - "end": 37139, + "start": 37718, + "end": 37792, "loc": { "start": { - "line": 956, + "line": 957, "column": 12 }, "end": { - "line": 956, + "line": 957, "column": 86 } }, "callee": { "type": "MemberExpression", - "start": 37065, - "end": 37077, + "start": 37718, + "end": 37730, "loc": { "start": { - "line": 956, + "line": 957, "column": 12 }, "end": { - "line": 956, + "line": 957, "column": 24 } }, "object": { "type": "Identifier", - "start": 37065, - "end": 37072, + "start": 37718, + "end": 37725, "loc": { "start": { - "line": 956, + "line": 957, "column": 12 }, "end": { - "line": 956, + "line": 957, "column": 19 }, "identifierName": "console" @@ -37425,15 +37508,15 @@ }, "property": { "type": "Identifier", - "start": 37073, - "end": 37077, + "start": 37726, + "end": 37730, "loc": { "start": { - "line": 956, + "line": 957, "column": 20 }, "end": { - "line": 956, + "line": 957, "column": 24 }, "identifierName": "warn" @@ -37445,29 +37528,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 37078, - "end": 37138, + "start": 37731, + "end": 37791, "loc": { "start": { - "line": 956, + "line": 957, "column": 25 }, "end": { - "line": 956, + "line": 957, "column": 85 } }, "left": { "type": "StringLiteral", - "start": 37078, - "end": 37120, + "start": 37731, + "end": 37773, "loc": { "start": { - "line": 956, + "line": 957, "column": 25 }, "end": { - "line": 956, + "line": 957, "column": 67 } }, @@ -37480,29 +37563,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 37123, - "end": 37138, + "start": 37776, + "end": 37791, "loc": { "start": { - "line": 956, + "line": 957, "column": 70 }, "end": { - "line": 956, + "line": 957, "column": 85 } }, "object": { "type": "Identifier", - "start": 37123, - "end": 37129, + "start": 37776, + "end": 37782, "loc": { "start": { - "line": 956, + "line": 957, "column": 70 }, "end": { - "line": 956, + "line": 957, "column": 76 }, "identifierName": "params" @@ -37511,15 +37594,15 @@ }, "property": { "type": "Identifier", - "start": 37130, - "end": 37138, + "start": 37783, + "end": 37791, "loc": { "start": { - "line": 956, + "line": 957, "column": 77 }, "end": { - "line": 956, + "line": 957, "column": 85 }, "identifierName": "entityId" @@ -37534,15 +37617,15 @@ }, { "type": "ReturnStatement", - "start": 37153, - "end": 37160, + "start": 37806, + "end": 37813, "loc": { "start": { - "line": 957, + "line": 958, "column": 12 }, "end": { - "line": 957, + "line": 958, "column": 19 } }, @@ -37555,44 +37638,44 @@ }, { "type": "VariableDeclaration", - "start": 37180, - "end": 37211, + "start": 37833, + "end": 37864, "loc": { "start": { - "line": 960, + "line": 961, "column": 8 }, "end": { - "line": 960, + "line": 961, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37184, - "end": 37210, + "start": 37837, + "end": 37863, "loc": { "start": { - "line": 960, + "line": 961, "column": 12 }, "end": { - "line": 960, + "line": 961, "column": 38 } }, "id": { "type": "Identifier", - "start": 37184, - "end": 37192, + "start": 37837, + "end": 37845, "loc": { "start": { - "line": 960, + "line": 961, "column": 12 }, "end": { - "line": 960, + "line": 961, "column": 20 }, "identifierName": "entityId" @@ -37601,29 +37684,29 @@ }, "init": { "type": "MemberExpression", - "start": 37195, - "end": 37210, + "start": 37848, + "end": 37863, "loc": { "start": { - "line": 960, + "line": 961, "column": 23 }, "end": { - "line": 960, + "line": 961, "column": 38 } }, "object": { "type": "Identifier", - "start": 37195, - "end": 37201, + "start": 37848, + "end": 37854, "loc": { "start": { - "line": 960, + "line": 961, "column": 23 }, "end": { - "line": 960, + "line": 961, "column": 29 }, "identifierName": "params" @@ -37632,15 +37715,15 @@ }, "property": { "type": "Identifier", - "start": 37202, - "end": 37210, + "start": 37855, + "end": 37863, "loc": { "start": { - "line": 960, + "line": 961, "column": 30 }, "end": { - "line": 960, + "line": 961, "column": 38 }, "identifierName": "entityId" @@ -37655,72 +37738,72 @@ }, { "type": "IfStatement", - "start": 37221, - "end": 37506, + "start": 37874, + "end": 38159, "loc": { "start": { - "line": 962, + "line": 963, "column": 8 }, "end": { - "line": 967, + "line": 968, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 37225, - "end": 37248, + "start": 37878, + "end": 37901, "loc": { "start": { - "line": 962, + "line": 963, "column": 12 }, "end": { - "line": 962, + "line": 963, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 37225, - "end": 37238, + "start": 37878, + "end": 37891, "loc": { "start": { - "line": 962, + "line": 963, "column": 12 }, "end": { - "line": 962, + "line": 963, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 37225, - "end": 37229, + "start": 37878, + "end": 37882, "loc": { "start": { - "line": 962, + "line": 963, "column": 12 }, "end": { - "line": 962, + "line": 963, "column": 16 } } }, "property": { "type": "Identifier", - "start": 37230, - "end": 37238, + "start": 37883, + "end": 37891, "loc": { "start": { - "line": 962, + "line": 963, "column": 17 }, "end": { - "line": 962, + "line": 963, "column": 25 }, "identifierName": "entities" @@ -37731,15 +37814,15 @@ }, "property": { "type": "Identifier", - "start": 37239, - "end": 37247, + "start": 37892, + "end": 37900, "loc": { "start": { - "line": 962, + "line": 963, "column": 26 }, "end": { - "line": 962, + "line": 963, "column": 34 }, "identifierName": "entityId" @@ -37750,87 +37833,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 37250, - "end": 37506, + "start": 37903, + "end": 38159, "loc": { "start": { - "line": 962, + "line": 963, "column": 37 }, "end": { - "line": 967, + "line": 968, "column": 9 } }, "body": [ { "type": "WhileStatement", - "start": 37264, - "end": 37357, + "start": 37917, + "end": 38010, "loc": { "start": { - "line": 963, + "line": 964, "column": 12 }, "end": { - "line": 965, + "line": 966, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 37271, - "end": 37294, + "start": 37924, + "end": 37947, "loc": { "start": { - "line": 963, + "line": 964, "column": 19 }, "end": { - "line": 963, + "line": 964, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 37271, - "end": 37284, + "start": 37924, + "end": 37937, "loc": { "start": { - "line": 963, + "line": 964, "column": 19 }, "end": { - "line": 963, + "line": 964, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 37271, - "end": 37275, + "start": 37924, + "end": 37928, "loc": { "start": { - "line": 963, + "line": 964, "column": 19 }, "end": { - "line": 963, + "line": 964, "column": 23 } } }, "property": { "type": "Identifier", - "start": 37276, - "end": 37284, + "start": 37929, + "end": 37937, "loc": { "start": { - "line": 963, + "line": 964, "column": 24 }, "end": { - "line": 963, + "line": 964, "column": 32 }, "identifierName": "entities" @@ -37841,15 +37924,15 @@ }, "property": { "type": "Identifier", - "start": 37285, - "end": 37293, + "start": 37938, + "end": 37946, "loc": { "start": { - "line": 963, + "line": 964, "column": 33 }, "end": { - "line": 963, + "line": 964, "column": 41 }, "identifierName": "entityId" @@ -37860,59 +37943,59 @@ }, "body": { "type": "BlockStatement", - "start": 37296, - "end": 37357, + "start": 37949, + "end": 38010, "loc": { "start": { - "line": 963, + "line": 964, "column": 44 }, "end": { - "line": 965, + "line": 966, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 37314, - "end": 37343, + "start": 37967, + "end": 37996, "loc": { "start": { - "line": 964, + "line": 965, "column": 16 }, "end": { - "line": 964, + "line": 965, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 37314, - "end": 37342, + "start": 37967, + "end": 37995, "loc": { "start": { - "line": 964, + "line": 965, "column": 16 }, "end": { - "line": 964, + "line": 965, "column": 44 } }, "operator": "=", "left": { "type": "Identifier", - "start": 37314, - "end": 37322, + "start": 37967, + "end": 37975, "loc": { "start": { - "line": 964, + "line": 965, "column": 16 }, "end": { - "line": 964, + "line": 965, "column": 24 }, "identifierName": "entityId" @@ -37921,43 +38004,43 @@ }, "right": { "type": "CallExpression", - "start": 37325, - "end": 37342, + "start": 37978, + "end": 37995, "loc": { "start": { - "line": 964, + "line": 965, "column": 27 }, "end": { - "line": 964, + "line": 965, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 37325, - "end": 37340, + "start": 37978, + "end": 37993, "loc": { "start": { - "line": 964, + "line": 965, "column": 27 }, "end": { - "line": 964, + "line": 965, "column": 42 } }, "object": { "type": "Identifier", - "start": 37325, - "end": 37329, + "start": 37978, + "end": 37982, "loc": { "start": { - "line": 964, + "line": 965, "column": 27 }, "end": { - "line": 964, + "line": 965, "column": 31 }, "identifierName": "math" @@ -37966,15 +38049,15 @@ }, "property": { "type": "Identifier", - "start": 37330, - "end": 37340, + "start": 37983, + "end": 37993, "loc": { "start": { - "line": 964, + "line": 965, "column": 32 }, "end": { - "line": 964, + "line": 965, "column": 42 }, "identifierName": "createUUID" @@ -37993,57 +38076,57 @@ }, { "type": "ExpressionStatement", - "start": 37370, - "end": 37496, + "start": 38023, + "end": 38149, "loc": { "start": { - "line": 966, + "line": 967, "column": 12 }, "end": { - "line": 966, + "line": 967, "column": 138 } }, "expression": { "type": "CallExpression", - "start": 37370, - "end": 37495, + "start": 38023, + "end": 38148, "loc": { "start": { - "line": 966, + "line": 967, "column": 12 }, "end": { - "line": 966, + "line": 967, "column": 137 } }, "callee": { "type": "MemberExpression", - "start": 37370, - "end": 37383, + "start": 38023, + "end": 38036, "loc": { "start": { - "line": 966, + "line": 967, "column": 12 }, "end": { - "line": 966, + "line": 967, "column": 25 } }, "object": { "type": "Identifier", - "start": 37370, - "end": 37377, + "start": 38023, + "end": 38030, "loc": { "start": { - "line": 966, + "line": 967, "column": 12 }, "end": { - "line": 966, + "line": 967, "column": 19 }, "identifierName": "console" @@ -38052,15 +38135,15 @@ }, "property": { "type": "Identifier", - "start": 37378, - "end": 37383, + "start": 38031, + "end": 38036, "loc": { "start": { - "line": 966, + "line": 967, "column": 20 }, "end": { - "line": 966, + "line": 967, "column": 25 }, "identifierName": "error" @@ -38072,57 +38155,57 @@ "arguments": [ { "type": "BinaryExpression", - "start": 37384, - "end": 37494, + "start": 38037, + "end": 38147, "loc": { "start": { - "line": 966, + "line": 967, "column": 26 }, "end": { - "line": 966, + "line": 967, "column": 136 } }, "left": { "type": "BinaryExpression", - "start": 37384, - "end": 37483, + "start": 38037, + "end": 38136, "loc": { "start": { - "line": 966, + "line": 967, "column": 26 }, "end": { - "line": 966, + "line": 967, "column": 125 } }, "left": { "type": "BinaryExpression", - "start": 37384, - "end": 37443, + "start": 38037, + "end": 38096, "loc": { "start": { - "line": 966, + "line": 967, "column": 26 }, "end": { - "line": 966, + "line": 967, "column": 85 } }, "left": { "type": "StringLiteral", - "start": 37384, - "end": 37425, + "start": 38037, + "end": 38078, "loc": { "start": { - "line": 966, + "line": 967, "column": 26 }, "end": { - "line": 966, + "line": 967, "column": 67 } }, @@ -38135,29 +38218,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 37428, - "end": 37443, + "start": 38081, + "end": 38096, "loc": { "start": { - "line": 966, + "line": 967, "column": 70 }, "end": { - "line": 966, + "line": 967, "column": 85 } }, "object": { "type": "Identifier", - "start": 37428, - "end": 37434, + "start": 38081, + "end": 38087, "loc": { "start": { - "line": 966, + "line": 967, "column": 70 }, "end": { - "line": 966, + "line": 967, "column": 76 }, "identifierName": "params" @@ -38166,15 +38249,15 @@ }, "property": { "type": "Identifier", - "start": 37435, - "end": 37443, + "start": 38088, + "end": 38096, "loc": { "start": { - "line": 966, + "line": 967, "column": 77 }, "end": { - "line": 966, + "line": 967, "column": 85 }, "identifierName": "entityId" @@ -38187,15 +38270,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 37446, - "end": 37483, + "start": 38099, + "end": 38136, "loc": { "start": { - "line": 966, + "line": 967, "column": 88 }, "end": { - "line": 966, + "line": 967, "column": 125 } }, @@ -38209,15 +38292,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 37486, - "end": 37494, + "start": 38139, + "end": 38147, "loc": { "start": { - "line": 966, + "line": 967, "column": 128 }, "end": { - "line": 966, + "line": 967, "column": 136 }, "identifierName": "entityId" @@ -38235,44 +38318,44 @@ }, { "type": "VariableDeclaration", - "start": 37516, - "end": 37547, + "start": 38169, + "end": 38200, "loc": { "start": { - "line": 969, + "line": 970, "column": 8 }, "end": { - "line": 969, + "line": 970, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37522, - "end": 37546, + "start": 38175, + "end": 38199, "loc": { "start": { - "line": 969, + "line": 970, "column": 14 }, "end": { - "line": 969, + "line": 970, "column": 38 } }, "id": { "type": "Identifier", - "start": 37522, - "end": 37529, + "start": 38175, + "end": 38182, "loc": { "start": { - "line": 969, + "line": 970, "column": 14 }, "end": { - "line": 969, + "line": 970, "column": 21 }, "identifierName": "meshIds" @@ -38281,29 +38364,29 @@ }, "init": { "type": "MemberExpression", - "start": 37532, - "end": 37546, + "start": 38185, + "end": 38199, "loc": { "start": { - "line": 969, + "line": 970, "column": 24 }, "end": { - "line": 969, + "line": 970, "column": 38 } }, "object": { "type": "Identifier", - "start": 37532, - "end": 37538, + "start": 38185, + "end": 38191, "loc": { "start": { - "line": 969, + "line": 970, "column": 24 }, "end": { - "line": 969, + "line": 970, "column": 30 }, "identifierName": "params" @@ -38312,15 +38395,15 @@ }, "property": { "type": "Identifier", - "start": 37539, - "end": 37546, + "start": 38192, + "end": 38199, "loc": { "start": { - "line": 969, + "line": 970, "column": 31 }, "end": { - "line": 969, + "line": 970, "column": 38 }, "identifierName": "meshIds" @@ -38335,44 +38418,44 @@ }, { "type": "VariableDeclaration", - "start": 37556, - "end": 37574, + "start": 38209, + "end": 38227, "loc": { "start": { - "line": 970, + "line": 971, "column": 8 }, "end": { - "line": 970, + "line": 971, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37562, - "end": 37573, + "start": 38215, + "end": 38226, "loc": { "start": { - "line": 970, + "line": 971, "column": 14 }, "end": { - "line": 970, + "line": 971, "column": 25 } }, "id": { "type": "Identifier", - "start": 37562, - "end": 37568, + "start": 38215, + "end": 38221, "loc": { "start": { - "line": 970, + "line": 971, "column": 14 }, "end": { - "line": 970, + "line": 971, "column": 20 }, "identifierName": "meshes" @@ -38381,15 +38464,15 @@ }, "init": { "type": "ArrayExpression", - "start": 37571, - "end": 37573, + "start": 38224, + "end": 38226, "loc": { "start": { - "line": 970, + "line": 971, "column": 23 }, "end": { - "line": 970, + "line": 971, "column": 25 } }, @@ -38401,58 +38484,58 @@ }, { "type": "ForStatement", - "start": 37584, - "end": 38113, + "start": 38237, + "end": 38766, "loc": { "start": { - "line": 972, + "line": 973, "column": 8 }, "end": { - "line": 988, + "line": 989, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 37589, - "end": 37634, + "start": 38242, + "end": 38287, "loc": { "start": { - "line": 972, + "line": 973, "column": 13 }, "end": { - "line": 972, + "line": 973, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37593, - "end": 37606, + "start": 38246, + "end": 38259, "loc": { "start": { - "line": 972, + "line": 973, "column": 17 }, "end": { - "line": 972, + "line": 973, "column": 30 } }, "id": { "type": "Identifier", - "start": 37593, - "end": 37602, + "start": 38246, + "end": 38255, "loc": { "start": { - "line": 972, + "line": 973, "column": 17 }, "end": { - "line": 972, + "line": 973, "column": 26 }, "identifierName": "meshIdIdx" @@ -38461,15 +38544,15 @@ }, "init": { "type": "NumericLiteral", - "start": 37605, - "end": 37606, + "start": 38258, + "end": 38259, "loc": { "start": { - "line": 972, + "line": 973, "column": 29 }, "end": { - "line": 972, + "line": 973, "column": 30 } }, @@ -38482,29 +38565,29 @@ }, { "type": "VariableDeclarator", - "start": 37608, - "end": 37634, + "start": 38261, + "end": 38287, "loc": { "start": { - "line": 972, + "line": 973, "column": 32 }, "end": { - "line": 972, + "line": 973, "column": 58 } }, "id": { "type": "Identifier", - "start": 37608, - "end": 37617, + "start": 38261, + "end": 38270, "loc": { "start": { - "line": 972, + "line": 973, "column": 32 }, "end": { - "line": 972, + "line": 973, "column": 41 }, "identifierName": "meshIdLen" @@ -38513,29 +38596,29 @@ }, "init": { "type": "MemberExpression", - "start": 37620, - "end": 37634, + "start": 38273, + "end": 38287, "loc": { "start": { - "line": 972, + "line": 973, "column": 44 }, "end": { - "line": 972, + "line": 973, "column": 58 } }, "object": { "type": "Identifier", - "start": 37620, - "end": 37627, + "start": 38273, + "end": 38280, "loc": { "start": { - "line": 972, + "line": 973, "column": 44 }, "end": { - "line": 972, + "line": 973, "column": 51 }, "identifierName": "meshIds" @@ -38544,15 +38627,15 @@ }, "property": { "type": "Identifier", - "start": 37628, - "end": 37634, + "start": 38281, + "end": 38287, "loc": { "start": { - "line": 972, + "line": 973, "column": 52 }, "end": { - "line": 972, + "line": 973, "column": 58 }, "identifierName": "length" @@ -38567,29 +38650,29 @@ }, "test": { "type": "BinaryExpression", - "start": 37636, - "end": 37657, + "start": 38289, + "end": 38310, "loc": { "start": { - "line": 972, + "line": 973, "column": 60 }, "end": { - "line": 972, + "line": 973, "column": 81 } }, "left": { "type": "Identifier", - "start": 37636, - "end": 37645, + "start": 38289, + "end": 38298, "loc": { "start": { - "line": 972, + "line": 973, "column": 60 }, "end": { - "line": 972, + "line": 973, "column": 69 }, "identifierName": "meshIdIdx" @@ -38599,15 +38682,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 37648, - "end": 37657, + "start": 38301, + "end": 38310, "loc": { "start": { - "line": 972, + "line": 973, "column": 72 }, "end": { - "line": 972, + "line": 973, "column": 81 }, "identifierName": "meshIdLen" @@ -38617,15 +38700,15 @@ }, "update": { "type": "UpdateExpression", - "start": 37659, - "end": 37670, + "start": 38312, + "end": 38323, "loc": { "start": { - "line": 972, + "line": 973, "column": 83 }, "end": { - "line": 972, + "line": 973, "column": 94 } }, @@ -38633,15 +38716,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 37659, - "end": 37668, + "start": 38312, + "end": 38321, "loc": { "start": { - "line": 972, + "line": 973, "column": 83 }, "end": { - "line": 972, + "line": 973, "column": 92 }, "identifierName": "meshIdIdx" @@ -38651,59 +38734,59 @@ }, "body": { "type": "BlockStatement", - "start": 37672, - "end": 38113, + "start": 38325, + "end": 38766, "loc": { "start": { - "line": 972, + "line": 973, "column": 96 }, "end": { - "line": 988, + "line": 989, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 37687, - "end": 37721, + "start": 38340, + "end": 38374, "loc": { "start": { - "line": 974, + "line": 975, "column": 12 }, "end": { - "line": 974, + "line": 975, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37693, - "end": 37720, + "start": 38346, + "end": 38373, "loc": { "start": { - "line": 974, + "line": 975, "column": 18 }, "end": { - "line": 974, + "line": 975, "column": 45 } }, "id": { "type": "Identifier", - "start": 37693, - "end": 37699, + "start": 38346, + "end": 38352, "loc": { "start": { - "line": 974, + "line": 975, "column": 18 }, "end": { - "line": 974, + "line": 975, "column": 24 }, "identifierName": "meshId" @@ -38712,29 +38795,29 @@ }, "init": { "type": "MemberExpression", - "start": 37702, - "end": 37720, + "start": 38355, + "end": 38373, "loc": { "start": { - "line": 974, + "line": 975, "column": 27 }, "end": { - "line": 974, + "line": 975, "column": 45 } }, "object": { "type": "Identifier", - "start": 37702, - "end": 37709, + "start": 38355, + "end": 38362, "loc": { "start": { - "line": 974, + "line": 975, "column": 27 }, "end": { - "line": 974, + "line": 975, "column": 34 }, "identifierName": "meshIds" @@ -38743,15 +38826,15 @@ }, "property": { "type": "Identifier", - "start": 37710, - "end": 37719, + "start": 38363, + "end": 38372, "loc": { "start": { - "line": 974, + "line": 975, "column": 35 }, "end": { - "line": 974, + "line": 975, "column": 44 }, "identifierName": "meshIdIdx" @@ -38766,44 +38849,44 @@ }, { "type": "VariableDeclaration", - "start": 37734, - "end": 37767, + "start": 38387, + "end": 38420, "loc": { "start": { - "line": 975, + "line": 976, "column": 12 }, "end": { - "line": 975, + "line": 976, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37740, - "end": 37766, + "start": 38393, + "end": 38419, "loc": { "start": { - "line": 975, + "line": 976, "column": 18 }, "end": { - "line": 975, + "line": 976, "column": 44 } }, "id": { "type": "Identifier", - "start": 37740, - "end": 37744, + "start": 38393, + "end": 38397, "loc": { "start": { - "line": 975, + "line": 976, "column": 18 }, "end": { - "line": 975, + "line": 976, "column": 22 }, "identifierName": "mesh" @@ -38812,58 +38895,58 @@ }, "init": { "type": "MemberExpression", - "start": 37747, - "end": 37766, + "start": 38400, + "end": 38419, "loc": { "start": { - "line": 975, + "line": 976, "column": 25 }, "end": { - "line": 975, + "line": 976, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 37747, - "end": 37758, + "start": 38400, + "end": 38411, "loc": { "start": { - "line": 975, + "line": 976, "column": 25 }, "end": { - "line": 975, + "line": 976, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 37747, - "end": 37751, + "start": 38400, + "end": 38404, "loc": { "start": { - "line": 975, + "line": 976, "column": 25 }, "end": { - "line": 975, + "line": 976, "column": 29 } } }, "property": { "type": "Identifier", - "start": 37752, - "end": 37758, + "start": 38405, + "end": 38411, "loc": { "start": { - "line": 975, + "line": 976, "column": 30 }, "end": { - "line": 975, + "line": 976, "column": 36 }, "identifierName": "meshes" @@ -38874,15 +38957,15 @@ }, "property": { "type": "Identifier", - "start": 37759, - "end": 37765, + "start": 38412, + "end": 38418, "loc": { "start": { - "line": 975, + "line": 976, "column": 37 }, "end": { - "line": 975, + "line": 976, "column": 43 }, "identifierName": "meshId" @@ -38897,29 +38980,29 @@ }, { "type": "IfStatement", - "start": 37781, - "end": 37892, + "start": 38434, + "end": 38545, "loc": { "start": { - "line": 977, + "line": 978, "column": 12 }, "end": { - "line": 980, + "line": 981, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 37785, - "end": 37790, + "start": 38438, + "end": 38443, "loc": { "start": { - "line": 977, + "line": 978, "column": 16 }, "end": { - "line": 977, + "line": 978, "column": 21 } }, @@ -38927,15 +39010,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 37786, - "end": 37790, + "start": 38439, + "end": 38443, "loc": { "start": { - "line": 977, + "line": 978, "column": 17 }, "end": { - "line": 977, + "line": 978, "column": 21 }, "identifierName": "mesh" @@ -38948,72 +39031,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 37792, - "end": 37892, + "start": 38445, + "end": 38545, "loc": { "start": { - "line": 977, + "line": 978, "column": 23 }, "end": { - "line": 980, + "line": 981, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 37810, - "end": 37852, + "start": 38463, + "end": 38505, "loc": { "start": { - "line": 978, + "line": 979, "column": 16 }, "end": { - "line": 978, + "line": 979, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 37810, - "end": 37851, + "start": 38463, + "end": 38504, "loc": { "start": { - "line": 978, + "line": 979, "column": 16 }, "end": { - "line": 978, + "line": 979, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 37810, - "end": 37823, + "start": 38463, + "end": 38476, "loc": { "start": { - "line": 978, + "line": 979, "column": 16 }, "end": { - "line": 978, + "line": 979, "column": 29 } }, "object": { "type": "Identifier", - "start": 37810, - "end": 37817, + "start": 38463, + "end": 38470, "loc": { "start": { - "line": 978, + "line": 979, "column": 16 }, "end": { - "line": 978, + "line": 979, "column": 23 }, "identifierName": "console" @@ -39022,15 +39105,15 @@ }, "property": { "type": "Identifier", - "start": 37818, - "end": 37823, + "start": 38471, + "end": 38476, "loc": { "start": { - "line": 978, + "line": 979, "column": 24 }, "end": { - "line": 978, + "line": 979, "column": 29 }, "identifierName": "error" @@ -39042,29 +39125,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 37824, - "end": 37850, + "start": 38477, + "end": 38503, "loc": { "start": { - "line": 978, + "line": 979, "column": 30 }, "end": { - "line": 978, + "line": 979, "column": 56 } }, "left": { "type": "StringLiteral", - "start": 37824, - "end": 37841, + "start": 38477, + "end": 38494, "loc": { "start": { - "line": 978, + "line": 979, "column": 30 }, "end": { - "line": 978, + "line": 979, "column": 47 } }, @@ -39077,15 +39160,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 37844, - "end": 37850, + "start": 38497, + "end": 38503, "loc": { "start": { - "line": 978, + "line": 979, "column": 50 }, "end": { - "line": 978, + "line": 979, "column": 56 }, "identifierName": "meshId" @@ -39098,15 +39181,15 @@ }, { "type": "ContinueStatement", - "start": 37869, - "end": 37878, + "start": 38522, + "end": 38531, "loc": { "start": { - "line": 979, + "line": 980, "column": 16 }, "end": { - "line": 979, + "line": 980, "column": 25 } }, @@ -39119,43 +39202,43 @@ }, { "type": "IfStatement", - "start": 37906, - "end": 38071, + "start": 38559, + "end": 38724, "loc": { "start": { - "line": 982, + "line": 983, "column": 12 }, "end": { - "line": 985, + "line": 986, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 37910, - "end": 37921, + "start": 38563, + "end": 38574, "loc": { "start": { - "line": 982, + "line": 983, "column": 16 }, "end": { - "line": 982, + "line": 983, "column": 27 } }, "object": { "type": "Identifier", - "start": 37910, - "end": 37914, + "start": 38563, + "end": 38567, "loc": { "start": { - "line": 982, + "line": 983, "column": 16 }, "end": { - "line": 982, + "line": 983, "column": 20 }, "identifierName": "mesh" @@ -39164,15 +39247,15 @@ }, "property": { "type": "Identifier", - "start": 37915, - "end": 37921, + "start": 38568, + "end": 38574, "loc": { "start": { - "line": 982, + "line": 983, "column": 21 }, "end": { - "line": 982, + "line": 983, "column": 27 }, "identifierName": "entity" @@ -39183,72 +39266,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 37923, - "end": 38071, + "start": 38576, + "end": 38724, "loc": { "start": { - "line": 982, + "line": 983, "column": 29 }, "end": { - "line": 985, + "line": 986, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 37941, - "end": 38031, + "start": 38594, + "end": 38684, "loc": { "start": { - "line": 983, + "line": 984, "column": 16 }, "end": { - "line": 983, + "line": 984, "column": 106 } }, "expression": { "type": "CallExpression", - "start": 37941, - "end": 38030, + "start": 38594, + "end": 38683, "loc": { "start": { - "line": 983, + "line": 984, "column": 16 }, "end": { - "line": 983, + "line": 984, "column": 105 } }, "callee": { "type": "MemberExpression", - "start": 37941, - "end": 37954, + "start": 38594, + "end": 38607, "loc": { "start": { - "line": 983, + "line": 984, "column": 16 }, "end": { - "line": 983, + "line": 984, "column": 29 } }, "object": { "type": "Identifier", - "start": 37941, - "end": 37948, + "start": 38594, + "end": 38601, "loc": { "start": { - "line": 983, + "line": 984, "column": 16 }, "end": { - "line": 983, + "line": 984, "column": 23 }, "identifierName": "console" @@ -39257,15 +39340,15 @@ }, "property": { "type": "Identifier", - "start": 37949, - "end": 37954, + "start": 38602, + "end": 38607, "loc": { "start": { - "line": 983, + "line": 984, "column": 24 }, "end": { - "line": 983, + "line": 984, "column": 29 }, "identifierName": "error" @@ -39277,57 +39360,57 @@ "arguments": [ { "type": "BinaryExpression", - "start": 37955, - "end": 38029, + "start": 38608, + "end": 38682, "loc": { "start": { - "line": 983, + "line": 984, "column": 30 }, "end": { - "line": 983, + "line": 984, "column": 104 } }, "left": { "type": "BinaryExpression", - "start": 37955, - "end": 38006, + "start": 38608, + "end": 38659, "loc": { "start": { - "line": 983, + "line": 984, "column": 30 }, "end": { - "line": 983, + "line": 984, "column": 81 } }, "left": { "type": "BinaryExpression", - "start": 37955, - "end": 37974, + "start": 38608, + "end": 38627, "loc": { "start": { - "line": 983, + "line": 984, "column": 30 }, "end": { - "line": 983, + "line": 984, "column": 49 } }, "left": { "type": "StringLiteral", - "start": 37955, - "end": 37965, + "start": 38608, + "end": 38618, "loc": { "start": { - "line": 983, + "line": 984, "column": 30 }, "end": { - "line": 983, + "line": 984, "column": 40 } }, @@ -39340,15 +39423,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 37968, - "end": 37974, + "start": 38621, + "end": 38627, "loc": { "start": { - "line": 983, + "line": 984, "column": 43 }, "end": { - "line": 983, + "line": 984, "column": 49 }, "identifierName": "meshId" @@ -39359,15 +39442,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 37977, - "end": 38006, + "start": 38630, + "end": 38659, "loc": { "start": { - "line": 983, + "line": 984, "column": 52 }, "end": { - "line": 983, + "line": 984, "column": 81 } }, @@ -39381,43 +39464,43 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 38009, - "end": 38029, + "start": 38662, + "end": 38682, "loc": { "start": { - "line": 983, + "line": 984, "column": 84 }, "end": { - "line": 983, + "line": 984, "column": 104 } }, "object": { "type": "MemberExpression", - "start": 38009, - "end": 38020, + "start": 38662, + "end": 38673, "loc": { "start": { - "line": 983, + "line": 984, "column": 84 }, "end": { - "line": 983, + "line": 984, "column": 95 } }, "object": { "type": "Identifier", - "start": 38009, - "end": 38013, + "start": 38662, + "end": 38666, "loc": { "start": { - "line": 983, + "line": 984, "column": 84 }, "end": { - "line": 983, + "line": 984, "column": 88 }, "identifierName": "mesh" @@ -39426,15 +39509,15 @@ }, "property": { "type": "Identifier", - "start": 38014, - "end": 38020, + "start": 38667, + "end": 38673, "loc": { "start": { - "line": 983, + "line": 984, "column": 89 }, "end": { - "line": 983, + "line": 984, "column": 95 }, "identifierName": "entity" @@ -39445,15 +39528,15 @@ }, "property": { "type": "Identifier", - "start": 38021, - "end": 38029, + "start": 38674, + "end": 38682, "loc": { "start": { - "line": 983, + "line": 984, "column": 96 }, "end": { - "line": 983, + "line": 984, "column": 104 }, "identifierName": "entityId" @@ -39468,15 +39551,15 @@ }, { "type": "ContinueStatement", - "start": 38048, - "end": 38057, + "start": 38701, + "end": 38710, "loc": { "start": { - "line": 984, + "line": 985, "column": 16 }, "end": { - "line": 984, + "line": 985, "column": 25 } }, @@ -39489,57 +39572,57 @@ }, { "type": "ExpressionStatement", - "start": 38085, - "end": 38103, + "start": 38738, + "end": 38756, "loc": { "start": { - "line": 987, + "line": 988, "column": 12 }, "end": { - "line": 987, + "line": 988, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 38085, - "end": 38102, + "start": 38738, + "end": 38755, "loc": { "start": { - "line": 987, + "line": 988, "column": 12 }, "end": { - "line": 987, + "line": 988, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 38085, - "end": 38096, + "start": 38738, + "end": 38749, "loc": { "start": { - "line": 987, + "line": 988, "column": 12 }, "end": { - "line": 987, + "line": 988, "column": 23 } }, "object": { "type": "Identifier", - "start": 38085, - "end": 38091, + "start": 38738, + "end": 38744, "loc": { "start": { - "line": 987, + "line": 988, "column": 12 }, "end": { - "line": 987, + "line": 988, "column": 18 }, "identifierName": "meshes" @@ -39548,15 +39631,15 @@ }, "property": { "type": "Identifier", - "start": 38092, - "end": 38096, + "start": 38745, + "end": 38749, "loc": { "start": { - "line": 987, + "line": 988, "column": 19 }, "end": { - "line": 987, + "line": 988, "column": 23 }, "identifierName": "push" @@ -39568,15 +39651,15 @@ "arguments": [ { "type": "Identifier", - "start": 38097, - "end": 38101, + "start": 38750, + "end": 38754, "loc": { "start": { - "line": 987, + "line": 988, "column": 24 }, "end": { - "line": 987, + "line": 988, "column": 28 }, "identifierName": "mesh" @@ -39592,44 +39675,44 @@ }, { "type": "VariableDeclaration", - "start": 38123, - "end": 38170, + "start": 38776, + "end": 38823, "loc": { "start": { - "line": 990, + "line": 991, "column": 8 }, "end": { - "line": 990, + "line": 991, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38129, - "end": 38169, + "start": 38782, + "end": 38822, "loc": { "start": { - "line": 990, + "line": 991, "column": 14 }, "end": { - "line": 990, + "line": 991, "column": 54 } }, "id": { "type": "Identifier", - "start": 38129, - "end": 38135, + "start": 38782, + "end": 38788, "loc": { "start": { - "line": 990, + "line": 991, "column": 14 }, "end": { - "line": 990, + "line": 991, "column": 20 }, "identifierName": "entity" @@ -39638,29 +39721,29 @@ }, "init": { "type": "NewExpression", - "start": 38138, - "end": 38169, + "start": 38791, + "end": 38822, "loc": { "start": { - "line": 990, + "line": 991, "column": 23 }, "end": { - "line": 990, + "line": 991, "column": 54 } }, "callee": { "type": "Identifier", - "start": 38142, - "end": 38151, + "start": 38795, + "end": 38804, "loc": { "start": { - "line": 990, + "line": 991, "column": 27 }, "end": { - "line": 990, + "line": 991, "column": 36 }, "identifierName": "XKTEntity" @@ -39670,15 +39753,15 @@ "arguments": [ { "type": "Identifier", - "start": 38152, - "end": 38160, + "start": 38805, + "end": 38813, "loc": { "start": { - "line": 990, + "line": 991, "column": 37 }, "end": { - "line": 990, + "line": 991, "column": 45 }, "identifierName": "entityId" @@ -39687,15 +39770,15 @@ }, { "type": "Identifier", - "start": 38162, - "end": 38168, + "start": 38815, + "end": 38821, "loc": { "start": { - "line": 990, + "line": 991, "column": 47 }, "end": { - "line": 990, + "line": 991, "column": 53 }, "identifierName": "meshes" @@ -39710,58 +39793,58 @@ }, { "type": "ForStatement", - "start": 38180, - "end": 38312, + "start": 38833, + "end": 38965, "loc": { "start": { - "line": 992, + "line": 993, "column": 8 }, "end": { - "line": 995, + "line": 996, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 38185, - "end": 38215, + "start": 38838, + "end": 38868, "loc": { "start": { - "line": 992, + "line": 993, "column": 13 }, "end": { - "line": 992, + "line": 993, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38189, - "end": 38194, + "start": 38842, + "end": 38847, "loc": { "start": { - "line": 992, + "line": 993, "column": 17 }, "end": { - "line": 992, + "line": 993, "column": 22 } }, "id": { "type": "Identifier", - "start": 38189, - "end": 38190, + "start": 38842, + "end": 38843, "loc": { "start": { - "line": 992, + "line": 993, "column": 17 }, "end": { - "line": 992, + "line": 993, "column": 18 }, "identifierName": "i" @@ -39770,15 +39853,15 @@ }, "init": { "type": "NumericLiteral", - "start": 38193, - "end": 38194, + "start": 38846, + "end": 38847, "loc": { "start": { - "line": 992, + "line": 993, "column": 21 }, "end": { - "line": 992, + "line": 993, "column": 22 } }, @@ -39791,29 +39874,29 @@ }, { "type": "VariableDeclarator", - "start": 38196, - "end": 38215, + "start": 38849, + "end": 38868, "loc": { "start": { - "line": 992, + "line": 993, "column": 24 }, "end": { - "line": 992, + "line": 993, "column": 43 } }, "id": { "type": "Identifier", - "start": 38196, - "end": 38199, + "start": 38849, + "end": 38852, "loc": { "start": { - "line": 992, + "line": 993, "column": 24 }, "end": { - "line": 992, + "line": 993, "column": 27 }, "identifierName": "len" @@ -39822,29 +39905,29 @@ }, "init": { "type": "MemberExpression", - "start": 38202, - "end": 38215, + "start": 38855, + "end": 38868, "loc": { "start": { - "line": 992, + "line": 993, "column": 30 }, "end": { - "line": 992, + "line": 993, "column": 43 } }, "object": { "type": "Identifier", - "start": 38202, - "end": 38208, + "start": 38855, + "end": 38861, "loc": { "start": { - "line": 992, + "line": 993, "column": 30 }, "end": { - "line": 992, + "line": 993, "column": 36 }, "identifierName": "meshes" @@ -39853,15 +39936,15 @@ }, "property": { "type": "Identifier", - "start": 38209, - "end": 38215, + "start": 38862, + "end": 38868, "loc": { "start": { - "line": 992, + "line": 993, "column": 37 }, "end": { - "line": 992, + "line": 993, "column": 43 }, "identifierName": "length" @@ -39876,29 +39959,29 @@ }, "test": { "type": "BinaryExpression", - "start": 38217, - "end": 38224, + "start": 38870, + "end": 38877, "loc": { "start": { - "line": 992, + "line": 993, "column": 45 }, "end": { - "line": 992, + "line": 993, "column": 52 } }, "left": { "type": "Identifier", - "start": 38217, - "end": 38218, + "start": 38870, + "end": 38871, "loc": { "start": { - "line": 992, + "line": 993, "column": 45 }, "end": { - "line": 992, + "line": 993, "column": 46 }, "identifierName": "i" @@ -39908,15 +39991,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 38221, - "end": 38224, + "start": 38874, + "end": 38877, "loc": { "start": { - "line": 992, + "line": 993, "column": 49 }, "end": { - "line": 992, + "line": 993, "column": 52 }, "identifierName": "len" @@ -39926,15 +40009,15 @@ }, "update": { "type": "UpdateExpression", - "start": 38226, - "end": 38229, + "start": 38879, + "end": 38882, "loc": { "start": { - "line": 992, + "line": 993, "column": 54 }, "end": { - "line": 992, + "line": 993, "column": 57 } }, @@ -39942,15 +40025,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 38226, - "end": 38227, + "start": 38879, + "end": 38880, "loc": { "start": { - "line": 992, + "line": 993, "column": 54 }, "end": { - "line": 992, + "line": 993, "column": 55 }, "identifierName": "i" @@ -39960,59 +40043,59 @@ }, "body": { "type": "BlockStatement", - "start": 38231, - "end": 38312, + "start": 38884, + "end": 38965, "loc": { "start": { - "line": 992, + "line": 993, "column": 59 }, "end": { - "line": 995, + "line": 996, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 38245, - "end": 38268, + "start": 38898, + "end": 38921, "loc": { "start": { - "line": 993, + "line": 994, "column": 12 }, "end": { - "line": 993, + "line": 994, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38251, - "end": 38267, + "start": 38904, + "end": 38920, "loc": { "start": { - "line": 993, + "line": 994, "column": 18 }, "end": { - "line": 993, + "line": 994, "column": 34 } }, "id": { "type": "Identifier", - "start": 38251, - "end": 38255, + "start": 38904, + "end": 38908, "loc": { "start": { - "line": 993, + "line": 994, "column": 18 }, "end": { - "line": 993, + "line": 994, "column": 22 }, "identifierName": "mesh" @@ -40021,29 +40104,29 @@ }, "init": { "type": "MemberExpression", - "start": 38258, - "end": 38267, + "start": 38911, + "end": 38920, "loc": { "start": { - "line": 993, + "line": 994, "column": 25 }, "end": { - "line": 993, + "line": 994, "column": 34 } }, "object": { "type": "Identifier", - "start": 38258, - "end": 38264, + "start": 38911, + "end": 38917, "loc": { "start": { - "line": 993, + "line": 994, "column": 25 }, "end": { - "line": 993, + "line": 994, "column": 31 }, "identifierName": "meshes" @@ -40052,15 +40135,15 @@ }, "property": { "type": "Identifier", - "start": 38265, - "end": 38266, + "start": 38918, + "end": 38919, "loc": { "start": { - "line": 993, + "line": 994, "column": 32 }, "end": { - "line": 993, + "line": 994, "column": 33 }, "identifierName": "i" @@ -40075,58 +40158,58 @@ }, { "type": "ExpressionStatement", - "start": 38281, - "end": 38302, + "start": 38934, + "end": 38955, "loc": { "start": { - "line": 994, + "line": 995, "column": 12 }, "end": { - "line": 994, + "line": 995, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 38281, - "end": 38301, + "start": 38934, + "end": 38954, "loc": { "start": { - "line": 994, + "line": 995, "column": 12 }, "end": { - "line": 994, + "line": 995, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 38281, - "end": 38292, + "start": 38934, + "end": 38945, "loc": { "start": { - "line": 994, + "line": 995, "column": 12 }, "end": { - "line": 994, + "line": 995, "column": 23 } }, "object": { "type": "Identifier", - "start": 38281, - "end": 38285, + "start": 38934, + "end": 38938, "loc": { "start": { - "line": 994, + "line": 995, "column": 12 }, "end": { - "line": 994, + "line": 995, "column": 16 }, "identifierName": "mesh" @@ -40135,15 +40218,15 @@ }, "property": { "type": "Identifier", - "start": 38286, - "end": 38292, + "start": 38939, + "end": 38945, "loc": { "start": { - "line": 994, + "line": 995, "column": 17 }, "end": { - "line": 994, + "line": 995, "column": 23 }, "identifierName": "entity" @@ -40154,15 +40237,15 @@ }, "right": { "type": "Identifier", - "start": 38295, - "end": 38301, + "start": 38948, + "end": 38954, "loc": { "start": { - "line": 994, + "line": 995, "column": 26 }, "end": { - "line": 994, + "line": 995, "column": 32 }, "identifierName": "entity" @@ -40177,87 +40260,87 @@ }, { "type": "ExpressionStatement", - "start": 38322, - "end": 38355, + "start": 38975, + "end": 39008, "loc": { "start": { - "line": 997, + "line": 998, "column": 8 }, "end": { - "line": 997, + "line": 998, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 38322, - "end": 38354, + "start": 38975, + "end": 39007, "loc": { "start": { - "line": 997, + "line": 998, "column": 8 }, "end": { - "line": 997, + "line": 998, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 38322, - "end": 38345, + "start": 38975, + "end": 38998, "loc": { "start": { - "line": 997, + "line": 998, "column": 8 }, "end": { - "line": 997, + "line": 998, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 38322, - "end": 38335, + "start": 38975, + "end": 38988, "loc": { "start": { - "line": 997, + "line": 998, "column": 8 }, "end": { - "line": 997, + "line": 998, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 38322, - "end": 38326, + "start": 38975, + "end": 38979, "loc": { "start": { - "line": 997, + "line": 998, "column": 8 }, "end": { - "line": 997, + "line": 998, "column": 12 } } }, "property": { "type": "Identifier", - "start": 38327, - "end": 38335, + "start": 38980, + "end": 38988, "loc": { "start": { - "line": 997, + "line": 998, "column": 13 }, "end": { - "line": 997, + "line": 998, "column": 21 }, "identifierName": "entities" @@ -40268,15 +40351,15 @@ }, "property": { "type": "Identifier", - "start": 38336, - "end": 38344, + "start": 38989, + "end": 38997, "loc": { "start": { - "line": 997, + "line": 998, "column": 22 }, "end": { - "line": 997, + "line": 998, "column": 30 }, "identifierName": "entityId" @@ -40287,15 +40370,15 @@ }, "right": { "type": "Identifier", - "start": 38348, - "end": 38354, + "start": 39001, + "end": 39007, "loc": { "start": { - "line": 997, + "line": 998, "column": 34 }, "end": { - "line": 997, + "line": 998, "column": 40 }, "identifierName": "entity" @@ -40306,86 +40389,86 @@ }, { "type": "ExpressionStatement", - "start": 38364, - "end": 38395, + "start": 39017, + "end": 39048, "loc": { "start": { - "line": 998, + "line": 999, "column": 8 }, "end": { - "line": 998, + "line": 999, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 38364, - "end": 38394, + "start": 39017, + "end": 39047, "loc": { "start": { - "line": 998, + "line": 999, "column": 8 }, "end": { - "line": 998, + "line": 999, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 38364, - "end": 38386, + "start": 39017, + "end": 39039, "loc": { "start": { - "line": 998, + "line": 999, "column": 8 }, "end": { - "line": 998, + "line": 999, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 38364, - "end": 38381, + "start": 39017, + "end": 39034, "loc": { "start": { - "line": 998, + "line": 999, "column": 8 }, "end": { - "line": 998, + "line": 999, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 38364, - "end": 38368, + "start": 39017, + "end": 39021, "loc": { "start": { - "line": 998, + "line": 999, "column": 8 }, "end": { - "line": 998, + "line": 999, "column": 12 } } }, "property": { "type": "Identifier", - "start": 38369, - "end": 38381, + "start": 39022, + "end": 39034, "loc": { "start": { - "line": 998, + "line": 999, "column": 13 }, "end": { - "line": 998, + "line": 999, "column": 25 }, "identifierName": "entitiesList" @@ -40396,15 +40479,15 @@ }, "property": { "type": "Identifier", - "start": 38382, - "end": 38386, + "start": 39035, + "end": 39039, "loc": { "start": { - "line": 998, + "line": 999, "column": 26 }, "end": { - "line": 998, + "line": 999, "column": 30 }, "identifierName": "push" @@ -40416,15 +40499,15 @@ "arguments": [ { "type": "Identifier", - "start": 38387, - "end": 38393, + "start": 39040, + "end": 39046, "loc": { "start": { - "line": 998, + "line": 999, "column": 31 }, "end": { - "line": 998, + "line": 999, "column": 37 }, "identifierName": "entity" @@ -40436,29 +40519,29 @@ }, { "type": "ReturnStatement", - "start": 38405, - "end": 38419, + "start": 39058, + "end": 39072, "loc": { "start": { - "line": 1000, + "line": 1001, "column": 8 }, "end": { - "line": 1000, + "line": 1001, "column": 22 } }, "argument": { "type": "Identifier", - "start": 38412, - "end": 38418, + "start": 39065, + "end": 39071, "loc": { "start": { - "line": 1000, + "line": 1001, "column": 15 }, "end": { - "line": 1000, + "line": 1001, "column": 21 }, "identifierName": "entity" @@ -40474,15 +40557,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTEntity} within this XKTModel.\n *\n * Registers the new {@link XKTEntity} in {@link XKTModel#entities} and {@link XKTModel#entitiesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.entityId Unique ID for the {@link XKTEntity}.\n * @param {String[]} params.meshIds IDs of {@link XKTMesh}es used by the {@link XKTEntity}. Note that each {@link XKTMesh} can only be used by one {@link XKTEntity}.\n * @returns {XKTEntity} The new {@link XKTEntity}.\n ", - "start": 35868, - "end": 36515, + "start": 36449, + "end": 37096, "loc": { "start": { - "line": 924, + "line": 925, "column": 4 }, "end": { - "line": 935, + "line": 936, "column": 7 } } @@ -40492,15 +40575,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a default {@link XKTMetaObject} for each {@link XKTEntity} that does not already have one.\n ", - "start": 38431, - "end": 38548, + "start": 39084, + "end": 39201, "loc": { "start": { - "line": 1003, + "line": 1004, "column": 4 }, "end": { - "line": 1005, + "line": 1006, "column": 7 } } @@ -40509,15 +40592,15 @@ }, { "type": "ClassMethod", - "start": 38553, - "end": 39475, + "start": 39206, + "end": 40128, "loc": { "start": { - "line": 1006, + "line": 1007, "column": 4 }, "end": { - "line": 1032, + "line": 1033, "column": 5 } }, @@ -40525,15 +40608,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 38553, - "end": 38577, + "start": 39206, + "end": 39230, "loc": { "start": { - "line": 1006, + "line": 1007, "column": 4 }, "end": { - "line": 1006, + "line": 1007, "column": 28 }, "identifierName": "createDefaultMetaObjects" @@ -40549,73 +40632,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 38580, - "end": 39475, + "start": 39233, + "end": 40128, "loc": { "start": { - "line": 1006, + "line": 1007, "column": 31 }, "end": { - "line": 1032, + "line": 1033, "column": 5 } }, "body": [ { "type": "ForStatement", - "start": 38591, - "end": 39469, + "start": 39244, + "end": 40122, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 8 }, "end": { - "line": 1031, + "line": 1032, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 38596, - "end": 38637, + "start": 39249, + "end": 39290, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 13 }, "end": { - "line": 1008, + "line": 1009, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38600, - "end": 38605, + "start": 39253, + "end": 39258, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 17 }, "end": { - "line": 1008, + "line": 1009, "column": 22 } }, "id": { "type": "Identifier", - "start": 38600, - "end": 38601, + "start": 39253, + "end": 39254, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 17 }, "end": { - "line": 1008, + "line": 1009, "column": 18 }, "identifierName": "i" @@ -40624,15 +40707,15 @@ }, "init": { "type": "NumericLiteral", - "start": 38604, - "end": 38605, + "start": 39257, + "end": 39258, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 21 }, "end": { - "line": 1008, + "line": 1009, "column": 22 } }, @@ -40645,29 +40728,29 @@ }, { "type": "VariableDeclarator", - "start": 38607, - "end": 38637, + "start": 39260, + "end": 39290, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 24 }, "end": { - "line": 1008, + "line": 1009, "column": 54 } }, "id": { "type": "Identifier", - "start": 38607, - "end": 38610, + "start": 39260, + "end": 39263, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 24 }, "end": { - "line": 1008, + "line": 1009, "column": 27 }, "identifierName": "len" @@ -40676,58 +40759,58 @@ }, "init": { "type": "MemberExpression", - "start": 38613, - "end": 38637, + "start": 39266, + "end": 39290, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 30 }, "end": { - "line": 1008, + "line": 1009, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 38613, - "end": 38630, + "start": 39266, + "end": 39283, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 30 }, "end": { - "line": 1008, + "line": 1009, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 38613, - "end": 38617, + "start": 39266, + "end": 39270, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 30 }, "end": { - "line": 1008, + "line": 1009, "column": 34 } } }, "property": { "type": "Identifier", - "start": 38618, - "end": 38630, + "start": 39271, + "end": 39283, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 35 }, "end": { - "line": 1008, + "line": 1009, "column": 47 }, "identifierName": "entitiesList" @@ -40738,15 +40821,15 @@ }, "property": { "type": "Identifier", - "start": 38631, - "end": 38637, + "start": 39284, + "end": 39290, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 48 }, "end": { - "line": 1008, + "line": 1009, "column": 54 }, "identifierName": "length" @@ -40761,29 +40844,29 @@ }, "test": { "type": "BinaryExpression", - "start": 38639, - "end": 38646, + "start": 39292, + "end": 39299, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 56 }, "end": { - "line": 1008, + "line": 1009, "column": 63 } }, "left": { "type": "Identifier", - "start": 38639, - "end": 38640, + "start": 39292, + "end": 39293, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 56 }, "end": { - "line": 1008, + "line": 1009, "column": 57 }, "identifierName": "i" @@ -40793,15 +40876,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 38643, - "end": 38646, + "start": 39296, + "end": 39299, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 60 }, "end": { - "line": 1008, + "line": 1009, "column": 63 }, "identifierName": "len" @@ -40811,15 +40894,15 @@ }, "update": { "type": "UpdateExpression", - "start": 38648, - "end": 38651, + "start": 39301, + "end": 39304, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 65 }, "end": { - "line": 1008, + "line": 1009, "column": 68 } }, @@ -40827,15 +40910,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 38648, - "end": 38649, + "start": 39301, + "end": 39302, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 65 }, "end": { - "line": 1008, + "line": 1009, "column": 66 }, "identifierName": "i" @@ -40845,59 +40928,59 @@ }, "body": { "type": "BlockStatement", - "start": 38653, - "end": 39469, + "start": 39306, + "end": 40122, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 70 }, "end": { - "line": 1031, + "line": 1032, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 38668, - "end": 38704, + "start": 39321, + "end": 39357, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 12 }, "end": { - "line": 1010, + "line": 1011, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38674, - "end": 38703, + "start": 39327, + "end": 39356, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 18 }, "end": { - "line": 1010, + "line": 1011, "column": 47 } }, "id": { "type": "Identifier", - "start": 38674, - "end": 38680, + "start": 39327, + "end": 39333, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 18 }, "end": { - "line": 1010, + "line": 1011, "column": 24 }, "identifierName": "entity" @@ -40906,58 +40989,58 @@ }, "init": { "type": "MemberExpression", - "start": 38683, - "end": 38703, + "start": 39336, + "end": 39356, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 27 }, "end": { - "line": 1010, + "line": 1011, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 38683, - "end": 38700, + "start": 39336, + "end": 39353, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 27 }, "end": { - "line": 1010, + "line": 1011, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 38683, - "end": 38687, + "start": 39336, + "end": 39340, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 27 }, "end": { - "line": 1010, + "line": 1011, "column": 31 } } }, "property": { "type": "Identifier", - "start": 38688, - "end": 38700, + "start": 39341, + "end": 39353, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 32 }, "end": { - "line": 1010, + "line": 1011, "column": 44 }, "identifierName": "entitiesList" @@ -40968,15 +41051,15 @@ }, "property": { "type": "Identifier", - "start": 38701, - "end": 38702, + "start": 39354, + "end": 39355, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 45 }, "end": { - "line": 1010, + "line": 1011, "column": 46 }, "identifierName": "i" @@ -40991,44 +41074,44 @@ }, { "type": "VariableDeclaration", - "start": 38717, - "end": 38754, + "start": 39370, + "end": 39407, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 12 }, "end": { - "line": 1011, + "line": 1012, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38723, - "end": 38753, + "start": 39376, + "end": 39406, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 18 }, "end": { - "line": 1011, + "line": 1012, "column": 48 } }, "id": { "type": "Identifier", - "start": 38723, - "end": 38735, + "start": 39376, + "end": 39388, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 18 }, "end": { - "line": 1011, + "line": 1012, "column": 30 }, "identifierName": "metaObjectId" @@ -41037,29 +41120,29 @@ }, "init": { "type": "MemberExpression", - "start": 38738, - "end": 38753, + "start": 39391, + "end": 39406, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 33 }, "end": { - "line": 1011, + "line": 1012, "column": 48 } }, "object": { "type": "Identifier", - "start": 38738, - "end": 38744, + "start": 39391, + "end": 39397, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 33 }, "end": { - "line": 1011, + "line": 1012, "column": 39 }, "identifierName": "entity" @@ -41068,15 +41151,15 @@ }, "property": { "type": "Identifier", - "start": 38745, - "end": 38753, + "start": 39398, + "end": 39406, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 40 }, "end": { - "line": 1011, + "line": 1012, "column": 48 }, "identifierName": "entityId" @@ -41091,44 +41174,44 @@ }, { "type": "VariableDeclaration", - "start": 38767, - "end": 38817, + "start": 39420, + "end": 39470, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 12 }, "end": { - "line": 1012, + "line": 1013, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38773, - "end": 38816, + "start": 39426, + "end": 39469, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 18 }, "end": { - "line": 1012, + "line": 1013, "column": 61 } }, "id": { "type": "Identifier", - "start": 38773, - "end": 38783, + "start": 39426, + "end": 39436, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 18 }, "end": { - "line": 1012, + "line": 1013, "column": 28 }, "identifierName": "metaObject" @@ -41137,58 +41220,58 @@ }, "init": { "type": "MemberExpression", - "start": 38786, - "end": 38816, + "start": 39439, + "end": 39469, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 31 }, "end": { - "line": 1012, + "line": 1013, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 38786, - "end": 38802, + "start": 39439, + "end": 39455, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 31 }, "end": { - "line": 1012, + "line": 1013, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 38786, - "end": 38790, + "start": 39439, + "end": 39443, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 31 }, "end": { - "line": 1012, + "line": 1013, "column": 35 } } }, "property": { "type": "Identifier", - "start": 38791, - "end": 38802, + "start": 39444, + "end": 39455, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 36 }, "end": { - "line": 1012, + "line": 1013, "column": 47 }, "identifierName": "metaObjects" @@ -41199,15 +41282,15 @@ }, "property": { "type": "Identifier", - "start": 38803, - "end": 38815, + "start": 39456, + "end": 39468, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 48 }, "end": { - "line": 1012, + "line": 1013, "column": 60 }, "identifierName": "metaObjectId" @@ -41222,29 +41305,29 @@ }, { "type": "IfStatement", - "start": 38831, - "end": 39459, + "start": 39484, + "end": 40112, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 12 }, "end": { - "line": 1030, + "line": 1031, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 38835, - "end": 38846, + "start": 39488, + "end": 39499, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 16 }, "end": { - "line": 1014, + "line": 1015, "column": 27 } }, @@ -41252,15 +41335,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 38836, - "end": 38846, + "start": 39489, + "end": 39499, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 17 }, "end": { - "line": 1014, + "line": 1015, "column": 27 }, "identifierName": "metaObject" @@ -41273,44 +41356,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 38848, - "end": 39459, + "start": 39501, + "end": 40112, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 29 }, "end": { - "line": 1030, + "line": 1031, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 38867, - "end": 39160, + "start": 39520, + "end": 39813, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 16 }, "end": { - "line": 1022, + "line": 1023, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 38871, - "end": 38892, + "start": 39524, + "end": 39545, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 20 }, "end": { - "line": 1016, + "line": 1017, "column": 41 } }, @@ -41318,44 +41401,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 38872, - "end": 38892, + "start": 39525, + "end": 39545, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 21 }, "end": { - "line": 1016, + "line": 1017, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 38872, - "end": 38876, + "start": 39525, + "end": 39529, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 21 }, "end": { - "line": 1016, + "line": 1017, "column": 25 } } }, "property": { "type": "Identifier", - "start": 38877, - "end": 38892, + "start": 39530, + "end": 39545, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 26 }, "end": { - "line": 1016, + "line": 1017, "column": 41 }, "identifierName": "_rootMetaObject" @@ -41370,88 +41453,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 38894, - "end": 39160, + "start": 39547, + "end": 39813, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 43 }, "end": { - "line": 1022, + "line": 1023, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 38916, - "end": 39142, + "start": 39569, + "end": 39795, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 20 }, "end": { - "line": 1021, + "line": 1022, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 38916, - "end": 39141, + "start": 39569, + "end": 39794, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 20 }, "end": { - "line": 1021, + "line": 1022, "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 38916, - "end": 38936, + "start": 39569, + "end": 39589, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 20 }, "end": { - "line": 1017, + "line": 1018, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 38916, - "end": 38920, + "start": 39569, + "end": 39573, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 20 }, "end": { - "line": 1017, + "line": 1018, "column": 24 } } }, "property": { "type": "Identifier", - "start": 38921, - "end": 38936, + "start": 39574, + "end": 39589, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 25 }, "end": { - "line": 1017, + "line": 1018, "column": 40 }, "identifierName": "_rootMetaObject" @@ -41462,58 +41545,58 @@ }, "right": { "type": "CallExpression", - "start": 38939, - "end": 39141, + "start": 39592, + "end": 39794, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 43 }, "end": { - "line": 1021, + "line": 1022, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 38939, - "end": 38960, + "start": 39592, + "end": 39613, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 43 }, "end": { - "line": 1017, + "line": 1018, "column": 64 } }, "object": { "type": "ThisExpression", - "start": 38939, - "end": 38943, + "start": 39592, + "end": 39596, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 43 }, "end": { - "line": 1017, + "line": 1018, "column": 47 } } }, "property": { "type": "Identifier", - "start": 38944, - "end": 38960, + "start": 39597, + "end": 39613, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 48 }, "end": { - "line": 1017, + "line": 1018, "column": 64 }, "identifierName": "createMetaObject" @@ -41525,30 +41608,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 38961, - "end": 39140, + "start": 39614, + "end": 39793, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 65 }, "end": { - "line": 1021, + "line": 1022, "column": 21 } }, "properties": [ { "type": "ObjectProperty", - "start": 38987, - "end": 39013, + "start": 39640, + "end": 39666, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 24 }, "end": { - "line": 1018, + "line": 1019, "column": 50 } }, @@ -41557,15 +41640,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 38987, - "end": 38999, + "start": 39640, + "end": 39652, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 24 }, "end": { - "line": 1018, + "line": 1019, "column": 36 }, "identifierName": "metaObjectId" @@ -41574,44 +41657,44 @@ }, "value": { "type": "MemberExpression", - "start": 39001, - "end": 39013, + "start": 39654, + "end": 39666, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 38 }, "end": { - "line": 1018, + "line": 1019, "column": 50 } }, "object": { "type": "ThisExpression", - "start": 39001, - "end": 39005, + "start": 39654, + "end": 39658, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 38 }, "end": { - "line": 1018, + "line": 1019, "column": 42 } } }, "property": { "type": "Identifier", - "start": 39006, - "end": 39013, + "start": 39659, + "end": 39666, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 43 }, "end": { - "line": 1018, + "line": 1019, "column": 50 }, "identifierName": "modelId" @@ -41623,15 +41706,15 @@ }, { "type": "ObjectProperty", - "start": 39039, - "end": 39064, + "start": 39692, + "end": 39717, "loc": { "start": { - "line": 1019, + "line": 1020, "column": 24 }, "end": { - "line": 1019, + "line": 1020, "column": 49 } }, @@ -41640,15 +41723,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39039, - "end": 39053, + "start": 39692, + "end": 39706, "loc": { "start": { - "line": 1019, + "line": 1020, "column": 24 }, "end": { - "line": 1019, + "line": 1020, "column": 38 }, "identifierName": "metaObjectType" @@ -41657,15 +41740,15 @@ }, "value": { "type": "StringLiteral", - "start": 39055, - "end": 39064, + "start": 39708, + "end": 39717, "loc": { "start": { - "line": 1019, + "line": 1020, "column": 40 }, "end": { - "line": 1019, + "line": 1020, "column": 49 } }, @@ -41678,15 +41761,15 @@ }, { "type": "ObjectProperty", - "start": 39090, - "end": 39118, + "start": 39743, + "end": 39771, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 24 }, "end": { - "line": 1020, + "line": 1021, "column": 52 } }, @@ -41695,15 +41778,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39090, - "end": 39104, + "start": 39743, + "end": 39757, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 24 }, "end": { - "line": 1020, + "line": 1021, "column": 38 }, "identifierName": "metaObjectName" @@ -41712,44 +41795,44 @@ }, "value": { "type": "MemberExpression", - "start": 39106, - "end": 39118, + "start": 39759, + "end": 39771, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 40 }, "end": { - "line": 1020, + "line": 1021, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 39106, - "end": 39110, + "start": 39759, + "end": 39763, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 40 }, "end": { - "line": 1020, + "line": 1021, "column": 44 } } }, "property": { "type": "Identifier", - "start": 39111, - "end": 39118, + "start": 39764, + "end": 39771, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 45 }, "end": { - "line": 1020, + "line": 1021, "column": 52 }, "identifierName": "modelId" @@ -41772,72 +41855,72 @@ }, { "type": "ExpressionStatement", - "start": 39178, - "end": 39445, + "start": 39831, + "end": 40098, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 16 }, "end": { - "line": 1029, + "line": 1030, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 39178, - "end": 39444, + "start": 39831, + "end": 40097, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 16 }, "end": { - "line": 1029, + "line": 1030, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 39178, - "end": 39199, + "start": 39831, + "end": 39852, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 16 }, "end": { - "line": 1024, + "line": 1025, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 39178, - "end": 39182, + "start": 39831, + "end": 39835, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 16 }, "end": { - "line": 1024, + "line": 1025, "column": 20 } } }, "property": { "type": "Identifier", - "start": 39183, - "end": 39199, + "start": 39836, + "end": 39852, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 21 }, "end": { - "line": 1024, + "line": 1025, "column": 37 }, "identifierName": "createMetaObject" @@ -41849,30 +41932,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 39200, - "end": 39443, + "start": 39853, + "end": 40096, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 38 }, "end": { - "line": 1029, + "line": 1030, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 39222, - "end": 39248, + "start": 39875, + "end": 39901, "loc": { "start": { - "line": 1025, + "line": 1026, "column": 20 }, "end": { - "line": 1025, + "line": 1026, "column": 46 } }, @@ -41881,15 +41964,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39222, - "end": 39234, + "start": 39875, + "end": 39887, "loc": { "start": { - "line": 1025, + "line": 1026, "column": 20 }, "end": { - "line": 1025, + "line": 1026, "column": 32 }, "identifierName": "metaObjectId" @@ -41898,15 +41981,15 @@ }, "value": { "type": "Identifier", - "start": 39236, - "end": 39248, + "start": 39889, + "end": 39901, "loc": { "start": { - "line": 1025, + "line": 1026, "column": 34 }, "end": { - "line": 1025, + "line": 1026, "column": 46 }, "identifierName": "metaObjectId" @@ -41916,15 +41999,15 @@ }, { "type": "ObjectProperty", - "start": 39270, - "end": 39295, + "start": 39923, + "end": 39948, "loc": { "start": { - "line": 1026, + "line": 1027, "column": 20 }, "end": { - "line": 1026, + "line": 1027, "column": 45 } }, @@ -41933,15 +42016,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39270, - "end": 39284, + "start": 39923, + "end": 39937, "loc": { "start": { - "line": 1026, + "line": 1027, "column": 20 }, "end": { - "line": 1026, + "line": 1027, "column": 34 }, "identifierName": "metaObjectType" @@ -41950,15 +42033,15 @@ }, "value": { "type": "StringLiteral", - "start": 39286, - "end": 39295, + "start": 39939, + "end": 39948, "loc": { "start": { - "line": 1026, + "line": 1027, "column": 36 }, "end": { - "line": 1026, + "line": 1027, "column": 45 } }, @@ -41971,15 +42054,15 @@ }, { "type": "ObjectProperty", - "start": 39317, - "end": 39350, + "start": 39970, + "end": 40003, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 20 }, "end": { - "line": 1027, + "line": 1028, "column": 53 } }, @@ -41988,15 +42071,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39317, - "end": 39331, + "start": 39970, + "end": 39984, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 20 }, "end": { - "line": 1027, + "line": 1028, "column": 34 }, "identifierName": "metaObjectName" @@ -42005,29 +42088,29 @@ }, "value": { "type": "BinaryExpression", - "start": 39333, - "end": 39350, + "start": 39986, + "end": 40003, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 36 }, "end": { - "line": 1027, + "line": 1028, "column": 53 } }, "left": { "type": "StringLiteral", - "start": 39333, - "end": 39335, + "start": 39986, + "end": 39988, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 36 }, "end": { - "line": 1027, + "line": 1028, "column": 38 } }, @@ -42040,15 +42123,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 39338, - "end": 39350, + "start": 39991, + "end": 40003, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 41 }, "end": { - "line": 1027, + "line": 1028, "column": 53 }, "identifierName": "metaObjectId" @@ -42059,15 +42142,15 @@ }, { "type": "ObjectProperty", - "start": 39372, - "end": 39425, + "start": 40025, + "end": 40078, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 20 }, "end": { - "line": 1028, + "line": 1029, "column": 73 } }, @@ -42076,15 +42159,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39372, - "end": 39390, + "start": 40025, + "end": 40043, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 20 }, "end": { - "line": 1028, + "line": 1029, "column": 38 }, "identifierName": "parentMetaObjectId" @@ -42093,58 +42176,58 @@ }, "value": { "type": "MemberExpression", - "start": 39392, - "end": 39425, + "start": 40045, + "end": 40078, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 40 }, "end": { - "line": 1028, + "line": 1029, "column": 73 } }, "object": { "type": "MemberExpression", - "start": 39392, - "end": 39412, + "start": 40045, + "end": 40065, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 40 }, "end": { - "line": 1028, + "line": 1029, "column": 60 } }, "object": { "type": "ThisExpression", - "start": 39392, - "end": 39396, + "start": 40045, + "end": 40049, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 40 }, "end": { - "line": 1028, + "line": 1029, "column": 44 } } }, "property": { "type": "Identifier", - "start": 39397, - "end": 39412, + "start": 40050, + "end": 40065, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 45 }, "end": { - "line": 1028, + "line": 1029, "column": 60 }, "identifierName": "_rootMetaObject" @@ -42155,15 +42238,15 @@ }, "property": { "type": "Identifier", - "start": 39413, - "end": 39425, + "start": 40066, + "end": 40078, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 61 }, "end": { - "line": 1028, + "line": 1029, "column": 73 }, "identifierName": "metaObjectId" @@ -42195,15 +42278,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a default {@link XKTMetaObject} for each {@link XKTEntity} that does not already have one.\n ", - "start": 38431, - "end": 38548, + "start": 39084, + "end": 39201, "loc": { "start": { - "line": 1003, + "line": 1004, "column": 4 }, "end": { - "line": 1005, + "line": 1006, "column": 7 } } @@ -42213,15 +42296,15 @@ { "type": "CommentBlock", "value": "*\n * Finalizes this XKTModel.\n *\n * After finalizing, we may then serialize the model to an array buffer using {@link writeXKTModelToArrayBuffer}.\n *\n * Logs error and does nothing if this XKTModel has already been finalized.\n *\n * Internally, this method:\n *\n * * for each {@link XKTEntity} that doesn't already have a {@link XKTMetaObject}, creates one with {@link XKTMetaObject#metaObjectType} set to \"default\"\n * * sets each {@link XKTEntity}'s {@link XKTEntity#hasReusedGeometries} true if it shares its {@link XKTGeometry}s with other {@link XKTEntity}s,\n * * creates each {@link XKTEntity}'s {@link XKTEntity#aabb},\n * * creates {@link XKTTile}s in {@link XKTModel#tilesList}, and\n * * sets {@link XKTModel#finalized} ````true````.\n ", - "start": 39481, - "end": 40281, + "start": 40134, + "end": 40934, "loc": { "start": { - "line": 1034, + "line": 1035, "column": 4 }, "end": { - "line": 1048, + "line": 1049, "column": 7 } } @@ -42230,15 +42313,15 @@ }, { "type": "ClassMethod", - "start": 40286, - "end": 40930, + "start": 40939, + "end": 41583, "loc": { "start": { - "line": 1049, + "line": 1050, "column": 4 }, "end": { - "line": 1079, + "line": 1080, "column": 5 } }, @@ -42246,15 +42329,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 40292, - "end": 40300, + "start": 40945, + "end": 40953, "loc": { "start": { - "line": 1049, + "line": 1050, "column": 10 }, "end": { - "line": 1049, + "line": 1050, "column": 18 }, "identifierName": "finalize" @@ -42269,73 +42352,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 40303, - "end": 40930, + "start": 40956, + "end": 41583, "loc": { "start": { - "line": 1049, + "line": 1050, "column": 21 }, "end": { - "line": 1079, + "line": 1080, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 40314, - "end": 40420, + "start": 40967, + "end": 41073, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 8 }, "end": { - "line": 1054, + "line": 1055, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 40318, - "end": 40332, + "start": 40971, + "end": 40985, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 12 }, "end": { - "line": 1051, + "line": 1052, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 40318, - "end": 40322, + "start": 40971, + "end": 40975, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 12 }, "end": { - "line": 1051, + "line": 1052, "column": 16 } } }, "property": { "type": "Identifier", - "start": 40323, - "end": 40332, + "start": 40976, + "end": 40985, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 17 }, "end": { - "line": 1051, + "line": 1052, "column": 26 }, "identifierName": "finalized" @@ -42346,72 +42429,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 40334, - "end": 40420, + "start": 40987, + "end": 41073, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 28 }, "end": { - "line": 1054, + "line": 1055, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 40348, - "end": 40390, + "start": 41001, + "end": 41043, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 12 }, "end": { - "line": 1052, + "line": 1053, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 40348, - "end": 40389, + "start": 41001, + "end": 41042, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 12 }, "end": { - "line": 1052, + "line": 1053, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 40348, - "end": 40359, + "start": 41001, + "end": 41012, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 12 }, "end": { - "line": 1052, + "line": 1053, "column": 23 } }, "object": { "type": "Identifier", - "start": 40348, - "end": 40355, + "start": 41001, + "end": 41008, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 12 }, "end": { - "line": 1052, + "line": 1053, "column": 19 }, "identifierName": "console" @@ -42420,15 +42503,15 @@ }, "property": { "type": "Identifier", - "start": 40356, - "end": 40359, + "start": 41009, + "end": 41012, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 20 }, "end": { - "line": 1052, + "line": 1053, "column": 23 }, "identifierName": "log" @@ -42440,15 +42523,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 40360, - "end": 40388, + "start": 41013, + "end": 41041, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 24 }, "end": { - "line": 1052, + "line": 1053, "column": 52 } }, @@ -42463,15 +42546,15 @@ }, { "type": "ReturnStatement", - "start": 40403, - "end": 40410, + "start": 41056, + "end": 41063, "loc": { "start": { - "line": 1053, + "line": 1054, "column": 12 }, "end": { - "line": 1053, + "line": 1054, "column": 19 } }, @@ -42484,72 +42567,72 @@ }, { "type": "ExpressionStatement", - "start": 40430, - "end": 40459, + "start": 41083, + "end": 41112, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 8 }, "end": { - "line": 1056, + "line": 1057, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 40430, - "end": 40458, + "start": 41083, + "end": 41111, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 8 }, "end": { - "line": 1056, + "line": 1057, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 40430, - "end": 40456, + "start": 41083, + "end": 41109, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 8 }, "end": { - "line": 1056, + "line": 1057, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 40430, - "end": 40434, + "start": 41083, + "end": 41087, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 8 }, "end": { - "line": 1056, + "line": 1057, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40435, - "end": 40456, + "start": 41088, + "end": 41109, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 13 }, "end": { - "line": 1056, + "line": 1057, "column": 34 }, "identifierName": "_removeUnusedTextures" @@ -42563,86 +42646,86 @@ }, { "type": "ExpressionStatement", - "start": 40469, - "end": 40500, + "start": 41122, + "end": 41153, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 8 }, "end": { - "line": 1058, + "line": 1059, "column": 39 } }, "expression": { "type": "AwaitExpression", - "start": 40469, - "end": 40499, + "start": 41122, + "end": 41152, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 8 }, "end": { - "line": 1058, + "line": 1059, "column": 38 } }, "argument": { "type": "CallExpression", - "start": 40475, - "end": 40499, + "start": 41128, + "end": 41152, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 14 }, "end": { - "line": 1058, + "line": 1059, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 40475, - "end": 40497, + "start": 41128, + "end": 41150, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 14 }, "end": { - "line": 1058, + "line": 1059, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 40475, - "end": 40479, + "start": 41128, + "end": 41132, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 14 }, "end": { - "line": 1058, + "line": 1059, "column": 18 } } }, "property": { "type": "Identifier", - "start": 40480, - "end": 40497, + "start": 41133, + "end": 41150, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 19 }, "end": { - "line": 1058, + "line": 1059, "column": 36 }, "identifierName": "_compressTextures" @@ -42657,72 +42740,72 @@ }, { "type": "ExpressionStatement", - "start": 40510, - "end": 40549, + "start": 41163, + "end": 41202, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 8 }, "end": { - "line": 1060, + "line": 1061, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 40510, - "end": 40548, + "start": 41163, + "end": 41201, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 8 }, "end": { - "line": 1060, + "line": 1061, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 40510, - "end": 40546, + "start": 41163, + "end": 41199, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 8 }, "end": { - "line": 1060, + "line": 1061, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 40510, - "end": 40514, + "start": 41163, + "end": 41167, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 8 }, "end": { - "line": 1060, + "line": 1061, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40515, - "end": 40546, + "start": 41168, + "end": 41199, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 13 }, "end": { - "line": 1060, + "line": 1061, "column": 44 }, "identifierName": "_bakeSingleUseGeometryPositions" @@ -42736,72 +42819,72 @@ }, { "type": "ExpressionStatement", - "start": 40559, - "end": 40591, + "start": 41212, + "end": 41244, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 8 }, "end": { - "line": 1062, + "line": 1063, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 40559, - "end": 40590, + "start": 41212, + "end": 41243, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 8 }, "end": { - "line": 1062, + "line": 1063, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 40559, - "end": 40588, + "start": 41212, + "end": 41241, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 8 }, "end": { - "line": 1062, + "line": 1063, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 40559, - "end": 40563, + "start": 41212, + "end": 41216, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 8 }, "end": { - "line": 1062, + "line": 1063, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40564, - "end": 40588, + "start": 41217, + "end": 41241, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 13 }, "end": { - "line": 1062, + "line": 1063, "column": 37 }, "identifierName": "_bakeAndOctEncodeNormals" @@ -42815,72 +42898,72 @@ }, { "type": "ExpressionStatement", - "start": 40601, - "end": 40627, + "start": 41254, + "end": 41280, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 8 }, "end": { - "line": 1064, + "line": 1065, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 40601, - "end": 40626, + "start": 41254, + "end": 41279, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 8 }, "end": { - "line": 1064, + "line": 1065, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 40601, - "end": 40624, + "start": 41254, + "end": 41277, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 8 }, "end": { - "line": 1064, + "line": 1065, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 40601, - "end": 40605, + "start": 41254, + "end": 41258, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 8 }, "end": { - "line": 1064, + "line": 1065, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40606, - "end": 40624, + "start": 41259, + "end": 41277, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 13 }, "end": { - "line": 1064, + "line": 1065, "column": 31 }, "identifierName": "_createEntityAABBs" @@ -42894,44 +42977,44 @@ }, { "type": "VariableDeclaration", - "start": 40637, - "end": 40677, + "start": 41290, + "end": 41330, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 8 }, "end": { - "line": 1066, + "line": 1067, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 40643, - "end": 40676, + "start": 41296, + "end": 41329, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 14 }, "end": { - "line": 1066, + "line": 1067, "column": 47 } }, "id": { "type": "Identifier", - "start": 40643, - "end": 40653, + "start": 41296, + "end": 41306, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 14 }, "end": { - "line": 1066, + "line": 1067, "column": 24 }, "identifierName": "rootKDNode" @@ -42940,58 +43023,58 @@ }, "init": { "type": "CallExpression", - "start": 40656, - "end": 40676, + "start": 41309, + "end": 41329, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 27 }, "end": { - "line": 1066, + "line": 1067, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 40656, - "end": 40674, + "start": 41309, + "end": 41327, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 27 }, "end": { - "line": 1066, + "line": 1067, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 40656, - "end": 40660, + "start": 41309, + "end": 41313, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 27 }, "end": { - "line": 1066, + "line": 1067, "column": 31 } } }, "property": { "type": "Identifier", - "start": 40661, - "end": 40674, + "start": 41314, + "end": 41327, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 32 }, "end": { - "line": 1066, + "line": 1067, "column": 45 }, "identifierName": "_createKDTree" @@ -43008,73 +43091,73 @@ }, { "type": "ExpressionStatement", - "start": 40687, - "end": 40710, + "start": 41340, + "end": 41363, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 8 }, "end": { - "line": 1068, + "line": 1069, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 40687, - "end": 40709, + "start": 41340, + "end": 41362, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 8 }, "end": { - "line": 1068, + "line": 1069, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 40687, - "end": 40704, + "start": 41340, + "end": 41357, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 8 }, "end": { - "line": 1068, + "line": 1069, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 40687, - "end": 40691, + "start": 41340, + "end": 41344, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 8 }, "end": { - "line": 1068, + "line": 1069, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40692, - "end": 40704, + "start": 41345, + "end": 41357, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 13 }, "end": { - "line": 1068, + "line": 1069, "column": 25 }, "identifierName": "entitiesList" @@ -43085,15 +43168,15 @@ }, "right": { "type": "ArrayExpression", - "start": 40707, - "end": 40709, + "start": 41360, + "end": 41362, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 28 }, "end": { - "line": 1068, + "line": 1069, "column": 30 } }, @@ -43103,72 +43186,72 @@ }, { "type": "ExpressionStatement", - "start": 40720, - "end": 40760, + "start": 41373, + "end": 41413, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 8 }, "end": { - "line": 1070, + "line": 1071, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 40720, - "end": 40759, + "start": 41373, + "end": 41412, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 8 }, "end": { - "line": 1070, + "line": 1071, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 40720, - "end": 40747, + "start": 41373, + "end": 41400, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 8 }, "end": { - "line": 1070, + "line": 1071, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 40720, - "end": 40724, + "start": 41373, + "end": 41377, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 8 }, "end": { - "line": 1070, + "line": 1071, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40725, - "end": 40747, + "start": 41378, + "end": 41400, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 13 }, "end": { - "line": 1070, + "line": 1071, "column": 35 }, "identifierName": "_createTilesFromKDTree" @@ -43180,15 +43263,15 @@ "arguments": [ { "type": "Identifier", - "start": 40748, - "end": 40758, + "start": 41401, + "end": 41411, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 36 }, "end": { - "line": 1070, + "line": 1071, "column": 46 }, "identifierName": "rootKDNode" @@ -43200,72 +43283,72 @@ }, { "type": "ExpressionStatement", - "start": 40770, - "end": 40813, + "start": 41423, + "end": 41466, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 8 }, "end": { - "line": 1072, + "line": 1073, "column": 51 } }, "expression": { "type": "CallExpression", - "start": 40770, - "end": 40812, + "start": 41423, + "end": 41465, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 8 }, "end": { - "line": 1072, + "line": 1073, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 40770, - "end": 40810, + "start": 41423, + "end": 41463, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 8 }, "end": { - "line": 1072, + "line": 1073, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 40770, - "end": 40774, + "start": 41423, + "end": 41427, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 8 }, "end": { - "line": 1072, + "line": 1073, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40775, - "end": 40810, + "start": 41428, + "end": 41463, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 13 }, "end": { - "line": 1072, + "line": 1073, "column": 48 }, "identifierName": "_createReusedGeometriesDecodeMatrix" @@ -43279,72 +43362,72 @@ }, { "type": "ExpressionStatement", - "start": 40823, - "end": 40851, + "start": 41476, + "end": 41504, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 8 }, "end": { - "line": 1074, + "line": 1075, "column": 36 } }, "expression": { "type": "CallExpression", - "start": 40823, - "end": 40850, + "start": 41476, + "end": 41503, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 8 }, "end": { - "line": 1074, + "line": 1075, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 40823, - "end": 40848, + "start": 41476, + "end": 41501, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 8 }, "end": { - "line": 1074, + "line": 1075, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 40823, - "end": 40827, + "start": 41476, + "end": 41480, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 8 }, "end": { - "line": 1074, + "line": 1075, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40828, - "end": 40848, + "start": 41481, + "end": 41501, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 13 }, "end": { - "line": 1074, + "line": 1075, "column": 33 }, "identifierName": "_flagSolidGeometries" @@ -43358,86 +43441,86 @@ }, { "type": "ExpressionStatement", - "start": 40861, - "end": 40892, + "start": 41514, + "end": 41545, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 8 }, "end": { - "line": 1076, + "line": 1077, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 40861, - "end": 40891, + "start": 41514, + "end": 41544, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 8 }, "end": { - "line": 1076, + "line": 1077, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 40861, - "end": 40874, + "start": 41514, + "end": 41527, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 8 }, "end": { - "line": 1076, + "line": 1077, "column": 21 } }, "object": { "type": "MemberExpression", - "start": 40861, - "end": 40870, + "start": 41514, + "end": 41523, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 8 }, "end": { - "line": 1076, + "line": 1077, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 40861, - "end": 40865, + "start": 41514, + "end": 41518, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 8 }, "end": { - "line": 1076, + "line": 1077, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40866, - "end": 40870, + "start": 41519, + "end": 41523, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 13 }, "end": { - "line": 1076, + "line": 1077, "column": 17 }, "identifierName": "aabb" @@ -43448,15 +43531,15 @@ }, "property": { "type": "Identifier", - "start": 40871, - "end": 40874, + "start": 41524, + "end": 41527, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 18 }, "end": { - "line": 1076, + "line": 1077, "column": 21 }, "identifierName": "set" @@ -43468,29 +43551,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 40875, - "end": 40890, + "start": 41528, + "end": 41543, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 22 }, "end": { - "line": 1076, + "line": 1077, "column": 37 } }, "object": { "type": "Identifier", - "start": 40875, - "end": 40885, + "start": 41528, + "end": 41538, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 22 }, "end": { - "line": 1076, + "line": 1077, "column": 32 }, "identifierName": "rootKDNode" @@ -43499,15 +43582,15 @@ }, "property": { "type": "Identifier", - "start": 40886, - "end": 40890, + "start": 41539, + "end": 41543, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 33 }, "end": { - "line": 1076, + "line": 1077, "column": 37 }, "identifierName": "aabb" @@ -43521,73 +43604,73 @@ }, { "type": "ExpressionStatement", - "start": 40902, - "end": 40924, + "start": 41555, + "end": 41577, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 8 }, "end": { - "line": 1078, + "line": 1079, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 40902, - "end": 40923, + "start": 41555, + "end": 41576, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 8 }, "end": { - "line": 1078, + "line": 1079, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 40902, - "end": 40916, + "start": 41555, + "end": 41569, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 8 }, "end": { - "line": 1078, + "line": 1079, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 40902, - "end": 40906, + "start": 41555, + "end": 41559, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 8 }, "end": { - "line": 1078, + "line": 1079, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40907, - "end": 40916, + "start": 41560, + "end": 41569, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 13 }, "end": { - "line": 1078, + "line": 1079, "column": 22 }, "identifierName": "finalized" @@ -43598,15 +43681,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 40919, - "end": 40923, + "start": 41572, + "end": 41576, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 25 }, "end": { - "line": 1078, + "line": 1079, "column": 29 } }, @@ -43621,15 +43704,15 @@ { "type": "CommentBlock", "value": "*\n * Finalizes this XKTModel.\n *\n * After finalizing, we may then serialize the model to an array buffer using {@link writeXKTModelToArrayBuffer}.\n *\n * Logs error and does nothing if this XKTModel has already been finalized.\n *\n * Internally, this method:\n *\n * * for each {@link XKTEntity} that doesn't already have a {@link XKTMetaObject}, creates one with {@link XKTMetaObject#metaObjectType} set to \"default\"\n * * sets each {@link XKTEntity}'s {@link XKTEntity#hasReusedGeometries} true if it shares its {@link XKTGeometry}s with other {@link XKTEntity}s,\n * * creates each {@link XKTEntity}'s {@link XKTEntity#aabb},\n * * creates {@link XKTTile}s in {@link XKTModel#tilesList}, and\n * * sets {@link XKTModel#finalized} ````true````.\n ", - "start": 39481, - "end": 40281, + "start": 40134, + "end": 40934, "loc": { "start": { - "line": 1034, + "line": 1035, "column": 4 }, "end": { - "line": 1048, + "line": 1049, "column": 7 } } @@ -43638,15 +43721,15 @@ }, { "type": "ClassMethod", - "start": 40936, - "end": 41454, + "start": 41589, + "end": 42107, "loc": { "start": { - "line": 1081, + "line": 1082, "column": 4 }, "end": { - "line": 1094, + "line": 1095, "column": 5 } }, @@ -43654,15 +43737,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 40936, - "end": 40957, + "start": 41589, + "end": 41610, "loc": { "start": { - "line": 1081, + "line": 1082, "column": 4 }, "end": { - "line": 1081, + "line": 1082, "column": 25 }, "identifierName": "_removeUnusedTextures" @@ -43677,59 +43760,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 40960, - "end": 41454, + "start": 41613, + "end": 42107, "loc": { "start": { - "line": 1081, + "line": 1082, "column": 28 }, "end": { - "line": 1094, + "line": 1095, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 40970, - "end": 40992, + "start": 41623, + "end": 41645, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 8 }, "end": { - "line": 1082, + "line": 1083, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 40974, - "end": 40991, + "start": 41627, + "end": 41644, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 12 }, "end": { - "line": 1082, + "line": 1083, "column": 29 } }, "id": { "type": "Identifier", - "start": 40974, - "end": 40986, + "start": 41627, + "end": 41639, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 12 }, "end": { - "line": 1082, + "line": 1083, "column": 24 }, "identifierName": "texturesList" @@ -43738,15 +43821,15 @@ }, "init": { "type": "ArrayExpression", - "start": 40989, - "end": 40991, + "start": 41642, + "end": 41644, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 27 }, "end": { - "line": 1082, + "line": 1083, "column": 29 } }, @@ -43758,44 +43841,44 @@ }, { "type": "VariableDeclaration", - "start": 41001, - "end": 41021, + "start": 41654, + "end": 41674, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 8 }, "end": { - "line": 1083, + "line": 1084, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41007, - "end": 41020, + "start": 41660, + "end": 41673, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 14 }, "end": { - "line": 1083, + "line": 1084, "column": 27 } }, "id": { "type": "Identifier", - "start": 41007, - "end": 41015, + "start": 41660, + "end": 41668, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 14 }, "end": { - "line": 1083, + "line": 1084, "column": 22 }, "identifierName": "textures" @@ -43804,15 +43887,15 @@ }, "init": { "type": "ObjectExpression", - "start": 41018, - "end": 41020, + "start": 41671, + "end": 41673, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 25 }, "end": { - "line": 1083, + "line": 1084, "column": 27 } }, @@ -43824,58 +43907,58 @@ }, { "type": "ForStatement", - "start": 41030, - "end": 41372, + "start": 41683, + "end": 42025, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 8 }, "end": { - "line": 1091, + "line": 1092, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 41035, - "end": 41077, + "start": 41688, + "end": 41730, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 13 }, "end": { - "line": 1084, + "line": 1085, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41039, - "end": 41044, + "start": 41692, + "end": 41697, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 17 }, "end": { - "line": 1084, + "line": 1085, "column": 22 } }, "id": { "type": "Identifier", - "start": 41039, - "end": 41040, + "start": 41692, + "end": 41693, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 17 }, "end": { - "line": 1084, + "line": 1085, "column": 18 }, "identifierName": "i" @@ -43884,15 +43967,15 @@ }, "init": { "type": "NumericLiteral", - "start": 41043, - "end": 41044, + "start": 41696, + "end": 41697, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 21 }, "end": { - "line": 1084, + "line": 1085, "column": 22 } }, @@ -43905,29 +43988,29 @@ }, { "type": "VariableDeclarator", - "start": 41046, - "end": 41077, + "start": 41699, + "end": 41730, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 24 }, "end": { - "line": 1084, + "line": 1085, "column": 55 } }, "id": { "type": "Identifier", - "start": 41046, - "end": 41050, + "start": 41699, + "end": 41703, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 24 }, "end": { - "line": 1084, + "line": 1085, "column": 28 }, "identifierName": "leni" @@ -43936,58 +44019,58 @@ }, "init": { "type": "MemberExpression", - "start": 41053, - "end": 41077, + "start": 41706, + "end": 41730, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 31 }, "end": { - "line": 1084, + "line": 1085, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 41053, - "end": 41070, + "start": 41706, + "end": 41723, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 31 }, "end": { - "line": 1084, + "line": 1085, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 41053, - "end": 41057, + "start": 41706, + "end": 41710, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 31 }, "end": { - "line": 1084, + "line": 1085, "column": 35 } } }, "property": { "type": "Identifier", - "start": 41058, - "end": 41070, + "start": 41711, + "end": 41723, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 36 }, "end": { - "line": 1084, + "line": 1085, "column": 48 }, "identifierName": "texturesList" @@ -43998,15 +44081,15 @@ }, "property": { "type": "Identifier", - "start": 41071, - "end": 41077, + "start": 41724, + "end": 41730, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 49 }, "end": { - "line": 1084, + "line": 1085, "column": 55 }, "identifierName": "length" @@ -44021,29 +44104,29 @@ }, "test": { "type": "BinaryExpression", - "start": 41079, - "end": 41087, + "start": 41732, + "end": 41740, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 57 }, "end": { - "line": 1084, + "line": 1085, "column": 65 } }, "left": { "type": "Identifier", - "start": 41079, - "end": 41080, + "start": 41732, + "end": 41733, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 57 }, "end": { - "line": 1084, + "line": 1085, "column": 58 }, "identifierName": "i" @@ -44053,15 +44136,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 41083, - "end": 41087, + "start": 41736, + "end": 41740, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 61 }, "end": { - "line": 1084, + "line": 1085, "column": 65 }, "identifierName": "leni" @@ -44071,15 +44154,15 @@ }, "update": { "type": "UpdateExpression", - "start": 41089, - "end": 41092, + "start": 41742, + "end": 41745, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 67 }, "end": { - "line": 1084, + "line": 1085, "column": 70 } }, @@ -44087,15 +44170,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 41089, - "end": 41090, + "start": 41742, + "end": 41743, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 67 }, "end": { - "line": 1084, + "line": 1085, "column": 68 }, "identifierName": "i" @@ -44105,59 +44188,59 @@ }, "body": { "type": "BlockStatement", - "start": 41094, - "end": 41372, + "start": 41747, + "end": 42025, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 72 }, "end": { - "line": 1091, + "line": 1092, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 41108, - "end": 41145, + "start": 41761, + "end": 41798, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 12 }, "end": { - "line": 1085, + "line": 1086, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41114, - "end": 41144, + "start": 41767, + "end": 41797, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 18 }, "end": { - "line": 1085, + "line": 1086, "column": 48 } }, "id": { "type": "Identifier", - "start": 41114, - "end": 41121, + "start": 41767, + "end": 41774, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 18 }, "end": { - "line": 1085, + "line": 1086, "column": 25 }, "identifierName": "texture" @@ -44166,58 +44249,58 @@ }, "init": { "type": "MemberExpression", - "start": 41124, - "end": 41144, + "start": 41777, + "end": 41797, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 28 }, "end": { - "line": 1085, + "line": 1086, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 41124, - "end": 41141, + "start": 41777, + "end": 41794, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 28 }, "end": { - "line": 1085, + "line": 1086, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 41124, - "end": 41128, + "start": 41777, + "end": 41781, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 28 }, "end": { - "line": 1085, + "line": 1086, "column": 32 } } }, "property": { "type": "Identifier", - "start": 41129, - "end": 41141, + "start": 41782, + "end": 41794, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 33 }, "end": { - "line": 1085, + "line": 1086, "column": 45 }, "identifierName": "texturesList" @@ -44228,15 +44311,15 @@ }, "property": { "type": "Identifier", - "start": 41142, - "end": 41143, + "start": 41795, + "end": 41796, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 46 }, "end": { - "line": 1085, + "line": 1086, "column": 47 }, "identifierName": "i" @@ -44251,57 +44334,57 @@ }, { "type": "IfStatement", - "start": 41158, - "end": 41362, + "start": 41811, + "end": 42015, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 12 }, "end": { - "line": 1090, + "line": 1091, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 41162, - "end": 41186, + "start": 41815, + "end": 41839, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 16 }, "end": { - "line": 1086, + "line": 1087, "column": 40 } }, "left": { "type": "MemberExpression", - "start": 41162, - "end": 41177, + "start": 41815, + "end": 41830, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 16 }, "end": { - "line": 1086, + "line": 1087, "column": 31 } }, "object": { "type": "Identifier", - "start": 41162, - "end": 41169, + "start": 41815, + "end": 41822, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 16 }, "end": { - "line": 1086, + "line": 1087, "column": 23 }, "identifierName": "texture" @@ -44310,15 +44393,15 @@ }, "property": { "type": "Identifier", - "start": 41170, - "end": 41177, + "start": 41823, + "end": 41830, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 24 }, "end": { - "line": 1086, + "line": 1087, "column": 31 }, "identifierName": "channel" @@ -44330,15 +44413,15 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 41182, - "end": 41186, + "start": 41835, + "end": 41839, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 36 }, "end": { - "line": 1086, + "line": 1087, "column": 40 } } @@ -44346,73 +44429,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 41188, - "end": 41362, + "start": 41841, + "end": 42015, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 42 }, "end": { - "line": 1090, + "line": 1091, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 41206, - "end": 41249, + "start": 41859, + "end": 41902, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 16 }, "end": { - "line": 1087, + "line": 1088, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 41206, - "end": 41248, + "start": 41859, + "end": 41901, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 16 }, "end": { - "line": 1087, + "line": 1088, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 41206, - "end": 41226, + "start": 41859, + "end": 41879, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 16 }, "end": { - "line": 1087, + "line": 1088, "column": 36 } }, "object": { "type": "Identifier", - "start": 41206, - "end": 41213, + "start": 41859, + "end": 41866, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 16 }, "end": { - "line": 1087, + "line": 1088, "column": 23 }, "identifierName": "texture" @@ -44421,15 +44504,15 @@ }, "property": { "type": "Identifier", - "start": 41214, - "end": 41226, + "start": 41867, + "end": 41879, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 24 }, "end": { - "line": 1087, + "line": 1088, "column": 36 }, "identifierName": "textureIndex" @@ -44440,29 +44523,29 @@ }, "right": { "type": "MemberExpression", - "start": 41229, - "end": 41248, + "start": 41882, + "end": 41901, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 39 }, "end": { - "line": 1087, + "line": 1088, "column": 58 } }, "object": { "type": "Identifier", - "start": 41229, - "end": 41241, + "start": 41882, + "end": 41894, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 39 }, "end": { - "line": 1087, + "line": 1088, "column": 51 }, "identifierName": "texturesList" @@ -44471,15 +44554,15 @@ }, "property": { "type": "Identifier", - "start": 41242, - "end": 41248, + "start": 41895, + "end": 41901, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 52 }, "end": { - "line": 1087, + "line": 1088, "column": 58 }, "identifierName": "length" @@ -44492,57 +44575,57 @@ }, { "type": "ExpressionStatement", - "start": 41266, - "end": 41293, + "start": 41919, + "end": 41946, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 16 }, "end": { - "line": 1088, + "line": 1089, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 41266, - "end": 41292, + "start": 41919, + "end": 41945, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 16 }, "end": { - "line": 1088, + "line": 1089, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 41266, - "end": 41283, + "start": 41919, + "end": 41936, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 16 }, "end": { - "line": 1088, + "line": 1089, "column": 33 } }, "object": { "type": "Identifier", - "start": 41266, - "end": 41278, + "start": 41919, + "end": 41931, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 16 }, "end": { - "line": 1088, + "line": 1089, "column": 28 }, "identifierName": "texturesList" @@ -44551,15 +44634,15 @@ }, "property": { "type": "Identifier", - "start": 41279, - "end": 41283, + "start": 41932, + "end": 41936, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 29 }, "end": { - "line": 1088, + "line": 1089, "column": 33 }, "identifierName": "push" @@ -44571,15 +44654,15 @@ "arguments": [ { "type": "Identifier", - "start": 41284, - "end": 41291, + "start": 41937, + "end": 41944, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 34 }, "end": { - "line": 1088, + "line": 1089, "column": 41 }, "identifierName": "texture" @@ -44591,58 +44674,58 @@ }, { "type": "ExpressionStatement", - "start": 41310, - "end": 41348, + "start": 41963, + "end": 42001, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 16 }, "end": { - "line": 1089, + "line": 1090, "column": 54 } }, "expression": { "type": "AssignmentExpression", - "start": 41310, - "end": 41347, + "start": 41963, + "end": 42000, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 16 }, "end": { - "line": 1089, + "line": 1090, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 41310, - "end": 41337, + "start": 41963, + "end": 41990, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 16 }, "end": { - "line": 1089, + "line": 1090, "column": 43 } }, "object": { "type": "Identifier", - "start": 41310, - "end": 41318, + "start": 41963, + "end": 41971, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 16 }, "end": { - "line": 1089, + "line": 1090, "column": 24 }, "identifierName": "textures" @@ -44651,29 +44734,29 @@ }, "property": { "type": "MemberExpression", - "start": 41319, - "end": 41336, + "start": 41972, + "end": 41989, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 25 }, "end": { - "line": 1089, + "line": 1090, "column": 42 } }, "object": { "type": "Identifier", - "start": 41319, - "end": 41326, + "start": 41972, + "end": 41979, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 25 }, "end": { - "line": 1089, + "line": 1090, "column": 32 }, "identifierName": "texture" @@ -44682,15 +44765,15 @@ }, "property": { "type": "Identifier", - "start": 41327, - "end": 41336, + "start": 41980, + "end": 41989, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 33 }, "end": { - "line": 1089, + "line": 1090, "column": 42 }, "identifierName": "textureId" @@ -44703,15 +44786,15 @@ }, "right": { "type": "Identifier", - "start": 41340, - "end": 41347, + "start": 41993, + "end": 42000, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 46 }, "end": { - "line": 1089, + "line": 1090, "column": 53 }, "identifierName": "texture" @@ -44731,73 +44814,73 @@ }, { "type": "ExpressionStatement", - "start": 41381, - "end": 41414, + "start": 42034, + "end": 42067, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 8 }, "end": { - "line": 1092, + "line": 1093, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 41381, - "end": 41413, + "start": 42034, + "end": 42066, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 8 }, "end": { - "line": 1092, + "line": 1093, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 41381, - "end": 41398, + "start": 42034, + "end": 42051, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 8 }, "end": { - "line": 1092, + "line": 1093, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 41381, - "end": 41385, + "start": 42034, + "end": 42038, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 8 }, "end": { - "line": 1092, + "line": 1093, "column": 12 } } }, "property": { "type": "Identifier", - "start": 41386, - "end": 41398, + "start": 42039, + "end": 42051, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 13 }, "end": { - "line": 1092, + "line": 1093, "column": 25 }, "identifierName": "texturesList" @@ -44808,15 +44891,15 @@ }, "right": { "type": "Identifier", - "start": 41401, - "end": 41413, + "start": 42054, + "end": 42066, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 28 }, "end": { - "line": 1092, + "line": 1093, "column": 40 }, "identifierName": "texturesList" @@ -44827,73 +44910,73 @@ }, { "type": "ExpressionStatement", - "start": 41423, - "end": 41448, + "start": 42076, + "end": 42101, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 8 }, "end": { - "line": 1093, + "line": 1094, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 41423, - "end": 41447, + "start": 42076, + "end": 42100, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 8 }, "end": { - "line": 1093, + "line": 1094, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 41423, - "end": 41436, + "start": 42076, + "end": 42089, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 8 }, "end": { - "line": 1093, + "line": 1094, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 41423, - "end": 41427, + "start": 42076, + "end": 42080, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 8 }, "end": { - "line": 1093, + "line": 1094, "column": 12 } } }, "property": { "type": "Identifier", - "start": 41428, - "end": 41436, + "start": 42081, + "end": 42089, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 13 }, "end": { - "line": 1093, + "line": 1094, "column": 21 }, "identifierName": "textures" @@ -44904,15 +44987,15 @@ }, "right": { "type": "Identifier", - "start": 41439, - "end": 41447, + "start": 42092, + "end": 42100, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 24 }, "end": { - "line": 1093, + "line": 1094, "column": 32 }, "identifierName": "textures" @@ -44927,15 +45010,15 @@ }, { "type": "ClassMethod", - "start": 41460, - "end": 45409, + "start": 42113, + "end": 46062, "loc": { "start": { - "line": 1096, + "line": 1097, "column": 4 }, "end": { - "line": 1182, + "line": 1183, "column": 5 } }, @@ -44943,15 +45026,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 41460, - "end": 41477, + "start": 42113, + "end": 42130, "loc": { "start": { - "line": 1096, + "line": 1097, "column": 4 }, "end": { - "line": 1096, + "line": 1097, "column": 21 }, "identifierName": "_compressTextures" @@ -44966,59 +45049,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 41480, - "end": 45409, + "start": 42133, + "end": 46062, "loc": { "start": { - "line": 1096, + "line": 1097, "column": 24 }, "end": { - "line": 1182, + "line": 1183, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 41490, - "end": 41535, + "start": 42143, + "end": 42188, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 8 }, "end": { - "line": 1097, + "line": 1098, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41494, - "end": 41534, + "start": 42147, + "end": 42187, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 12 }, "end": { - "line": 1097, + "line": 1098, "column": 52 } }, "id": { "type": "Identifier", - "start": 41494, - "end": 41507, + "start": 42147, + "end": 42160, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 12 }, "end": { - "line": 1097, + "line": 1098, "column": 25 }, "identifierName": "countTextures" @@ -45027,58 +45110,58 @@ }, "init": { "type": "MemberExpression", - "start": 41510, - "end": 41534, + "start": 42163, + "end": 42187, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 28 }, "end": { - "line": 1097, + "line": 1098, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 41510, - "end": 41527, + "start": 42163, + "end": 42180, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 28 }, "end": { - "line": 1097, + "line": 1098, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 41510, - "end": 41514, + "start": 42163, + "end": 42167, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 28 }, "end": { - "line": 1097, + "line": 1098, "column": 32 } } }, "property": { "type": "Identifier", - "start": 41515, - "end": 41527, + "start": 42168, + "end": 42180, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 33 }, "end": { - "line": 1097, + "line": 1098, "column": 45 }, "identifierName": "texturesList" @@ -45089,15 +45172,15 @@ }, "property": { "type": "Identifier", - "start": 41528, - "end": 41534, + "start": 42181, + "end": 42187, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 46 }, "end": { - "line": 1097, + "line": 1098, "column": 52 }, "identifierName": "length" @@ -45112,43 +45195,43 @@ }, { "type": "ReturnStatement", - "start": 41544, - "end": 45403, + "start": 42197, + "end": 46056, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 8 }, "end": { - "line": 1181, + "line": 1182, "column": 11 } }, "argument": { "type": "NewExpression", - "start": 41551, - "end": 45402, + "start": 42204, + "end": 46055, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 15 }, "end": { - "line": 1181, + "line": 1182, "column": 10 } }, "callee": { "type": "Identifier", - "start": 41555, - "end": 41562, + "start": 42208, + "end": 42215, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 19 }, "end": { - "line": 1098, + "line": 1099, "column": 26 }, "identifierName": "Promise" @@ -45158,15 +45241,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 41563, - "end": 45401, + "start": 42216, + "end": 46054, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 27 }, "end": { - "line": 1181, + "line": 1182, "column": 9 } }, @@ -45177,15 +45260,15 @@ "params": [ { "type": "Identifier", - "start": 41564, - "end": 41571, + "start": 42217, + "end": 42224, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 28 }, "end": { - "line": 1098, + "line": 1099, "column": 35 }, "identifierName": "resolve" @@ -45195,58 +45278,58 @@ ], "body": { "type": "BlockStatement", - "start": 41576, - "end": 45401, + "start": 42229, + "end": 46054, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 40 }, "end": { - "line": 1181, + "line": 1182, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 41590, - "end": 41681, + "start": 42243, + "end": 42334, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 12 }, "end": { - "line": 1102, + "line": 1103, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 41594, - "end": 41613, + "start": 42247, + "end": 42266, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 16 }, "end": { - "line": 1099, + "line": 1100, "column": 35 } }, "left": { "type": "Identifier", - "start": 41594, - "end": 41607, + "start": 42247, + "end": 42260, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 16 }, "end": { - "line": 1099, + "line": 1100, "column": 29 }, "identifierName": "countTextures" @@ -45256,15 +45339,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 41612, - "end": 41613, + "start": 42265, + "end": 42266, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 34 }, "end": { - "line": 1099, + "line": 1100, "column": 35 } }, @@ -45277,58 +45360,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 41615, - "end": 41681, + "start": 42268, + "end": 42334, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 37 }, "end": { - "line": 1102, + "line": 1103, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 41633, - "end": 41643, + "start": 42286, + "end": 42296, "loc": { "start": { - "line": 1100, + "line": 1101, "column": 16 }, "end": { - "line": 1100, + "line": 1101, "column": 26 } }, "expression": { "type": "CallExpression", - "start": 41633, - "end": 41642, + "start": 42286, + "end": 42295, "loc": { "start": { - "line": 1100, + "line": 1101, "column": 16 }, "end": { - "line": 1100, + "line": 1101, "column": 25 } }, "callee": { "type": "Identifier", - "start": 41633, - "end": 41640, + "start": 42286, + "end": 42293, "loc": { "start": { - "line": 1100, + "line": 1101, "column": 16 }, "end": { - "line": 1100, + "line": 1101, "column": 23 }, "identifierName": "resolve" @@ -45340,15 +45423,15 @@ }, { "type": "ReturnStatement", - "start": 41660, - "end": 41667, + "start": 42313, + "end": 42320, "loc": { "start": { - "line": 1101, + "line": 1102, "column": 16 }, "end": { - "line": 1101, + "line": 1102, "column": 23 } }, @@ -45361,58 +45444,58 @@ }, { "type": "ForStatement", - "start": 41694, - "end": 45391, + "start": 42347, + "end": 46044, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 12 }, "end": { - "line": 1180, + "line": 1181, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 41699, - "end": 41741, + "start": 42352, + "end": 42394, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 17 }, "end": { - "line": 1103, + "line": 1104, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41703, - "end": 41708, + "start": 42356, + "end": 42361, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 21 }, "end": { - "line": 1103, + "line": 1104, "column": 26 } }, "id": { "type": "Identifier", - "start": 41703, - "end": 41704, + "start": 42356, + "end": 42357, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 21 }, "end": { - "line": 1103, + "line": 1104, "column": 22 }, "identifierName": "i" @@ -45421,15 +45504,15 @@ }, "init": { "type": "NumericLiteral", - "start": 41707, - "end": 41708, + "start": 42360, + "end": 42361, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 25 }, "end": { - "line": 1103, + "line": 1104, "column": 26 } }, @@ -45442,29 +45525,29 @@ }, { "type": "VariableDeclarator", - "start": 41710, - "end": 41741, + "start": 42363, + "end": 42394, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 28 }, "end": { - "line": 1103, + "line": 1104, "column": 59 } }, "id": { "type": "Identifier", - "start": 41710, - "end": 41714, + "start": 42363, + "end": 42367, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 28 }, "end": { - "line": 1103, + "line": 1104, "column": 32 }, "identifierName": "leni" @@ -45473,58 +45556,58 @@ }, "init": { "type": "MemberExpression", - "start": 41717, - "end": 41741, + "start": 42370, + "end": 42394, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 35 }, "end": { - "line": 1103, + "line": 1104, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 41717, - "end": 41734, + "start": 42370, + "end": 42387, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 35 }, "end": { - "line": 1103, + "line": 1104, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 41717, - "end": 41721, + "start": 42370, + "end": 42374, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 35 }, "end": { - "line": 1103, + "line": 1104, "column": 39 } } }, "property": { "type": "Identifier", - "start": 41722, - "end": 41734, + "start": 42375, + "end": 42387, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 40 }, "end": { - "line": 1103, + "line": 1104, "column": 52 }, "identifierName": "texturesList" @@ -45535,15 +45618,15 @@ }, "property": { "type": "Identifier", - "start": 41735, - "end": 41741, + "start": 42388, + "end": 42394, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 53 }, "end": { - "line": 1103, + "line": 1104, "column": 59 }, "identifierName": "length" @@ -45558,29 +45641,29 @@ }, "test": { "type": "BinaryExpression", - "start": 41743, - "end": 41751, + "start": 42396, + "end": 42404, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 61 }, "end": { - "line": 1103, + "line": 1104, "column": 69 } }, "left": { "type": "Identifier", - "start": 41743, - "end": 41744, + "start": 42396, + "end": 42397, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 61 }, "end": { - "line": 1103, + "line": 1104, "column": 62 }, "identifierName": "i" @@ -45590,15 +45673,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 41747, - "end": 41751, + "start": 42400, + "end": 42404, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 65 }, "end": { - "line": 1103, + "line": 1104, "column": 69 }, "identifierName": "leni" @@ -45608,15 +45691,15 @@ }, "update": { "type": "UpdateExpression", - "start": 41753, - "end": 41756, + "start": 42406, + "end": 42409, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 71 }, "end": { - "line": 1103, + "line": 1104, "column": 74 } }, @@ -45624,15 +45707,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 41753, - "end": 41754, + "start": 42406, + "end": 42407, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 71 }, "end": { - "line": 1103, + "line": 1104, "column": 72 }, "identifierName": "i" @@ -45642,59 +45725,59 @@ }, "body": { "type": "BlockStatement", - "start": 41758, - "end": 45391, + "start": 42411, + "end": 46044, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 76 }, "end": { - "line": 1180, + "line": 1181, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 41776, - "end": 41813, + "start": 42429, + "end": 42466, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 16 }, "end": { - "line": 1104, + "line": 1105, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41782, - "end": 41812, + "start": 42435, + "end": 42465, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 22 }, "end": { - "line": 1104, + "line": 1105, "column": 52 } }, "id": { "type": "Identifier", - "start": 41782, - "end": 41789, + "start": 42435, + "end": 42442, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 22 }, "end": { - "line": 1104, + "line": 1105, "column": 29 }, "identifierName": "texture" @@ -45703,58 +45786,58 @@ }, "init": { "type": "MemberExpression", - "start": 41792, - "end": 41812, + "start": 42445, + "end": 42465, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 32 }, "end": { - "line": 1104, + "line": 1105, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 41792, - "end": 41809, + "start": 42445, + "end": 42462, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 32 }, "end": { - "line": 1104, + "line": 1105, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 41792, - "end": 41796, + "start": 42445, + "end": 42449, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 32 }, "end": { - "line": 1104, + "line": 1105, "column": 36 } } }, "property": { "type": "Identifier", - "start": 41797, - "end": 41809, + "start": 42450, + "end": 42462, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 37 }, "end": { - "line": 1104, + "line": 1105, "column": 49 }, "identifierName": "texturesList" @@ -45765,15 +45848,15 @@ }, "property": { "type": "Identifier", - "start": 41810, - "end": 41811, + "start": 42463, + "end": 42464, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 50 }, "end": { - "line": 1104, + "line": 1105, "column": 51 }, "identifierName": "i" @@ -45788,44 +45871,44 @@ }, { "type": "VariableDeclaration", - "start": 41830, - "end": 41902, + "start": 42483, + "end": 42555, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 16 }, "end": { - "line": 1105, + "line": 1106, "column": 88 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41836, - "end": 41901, + "start": 42489, + "end": 42554, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 22 }, "end": { - "line": 1105, + "line": 1106, "column": 87 } }, "id": { "type": "Identifier", - "start": 41836, - "end": 41851, + "start": 42489, + "end": 42504, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 22 }, "end": { - "line": 1105, + "line": 1106, "column": 37 }, "identifierName": "encodingOptions" @@ -45834,43 +45917,43 @@ }, "init": { "type": "LogicalExpression", - "start": 41854, - "end": 41901, + "start": 42507, + "end": 42554, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 40 }, "end": { - "line": 1105, + "line": 1106, "column": 87 } }, "left": { "type": "MemberExpression", - "start": 41854, - "end": 41895, + "start": 42507, + "end": 42548, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 40 }, "end": { - "line": 1105, + "line": 1106, "column": 81 } }, "object": { "type": "Identifier", - "start": 41854, - "end": 41878, + "start": 42507, + "end": 42531, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 40 }, "end": { - "line": 1105, + "line": 1106, "column": 64 }, "identifierName": "TEXTURE_ENCODING_OPTIONS" @@ -45879,29 +45962,29 @@ }, "property": { "type": "MemberExpression", - "start": 41879, - "end": 41894, + "start": 42532, + "end": 42547, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 65 }, "end": { - "line": 1105, + "line": 1106, "column": 80 } }, "object": { "type": "Identifier", - "start": 41879, - "end": 41886, + "start": 42532, + "end": 42539, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 65 }, "end": { - "line": 1105, + "line": 1106, "column": 72 }, "identifierName": "texture" @@ -45910,15 +45993,15 @@ }, "property": { "type": "Identifier", - "start": 41887, - "end": 41894, + "start": 42540, + "end": 42547, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 73 }, "end": { - "line": 1105, + "line": 1106, "column": 80 }, "identifierName": "channel" @@ -45932,15 +46015,15 @@ "operator": "||", "right": { "type": "ObjectExpression", - "start": 41899, - "end": 41901, + "start": 42552, + "end": 42554, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 85 }, "end": { - "line": 1105, + "line": 1106, "column": 87 } }, @@ -45953,43 +46036,43 @@ }, { "type": "IfStatement", - "start": 41920, - "end": 44277, + "start": 42573, + "end": 44930, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 16 }, "end": { - "line": 1154, + "line": 1155, "column": 17 } }, "test": { "type": "MemberExpression", - "start": 41924, - "end": 41935, + "start": 42577, + "end": 42588, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 20 }, "end": { - "line": 1107, + "line": 1108, "column": 31 } }, "object": { "type": "Identifier", - "start": 41924, - "end": 41931, + "start": 42577, + "end": 42584, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 20 }, "end": { - "line": 1107, + "line": 1108, "column": 27 }, "identifierName": "texture" @@ -45998,15 +46081,15 @@ }, "property": { "type": "Identifier", - "start": 41932, - "end": 41935, + "start": 42585, + "end": 42588, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 28 }, "end": { - "line": 1107, + "line": 1108, "column": 31 }, "identifierName": "src" @@ -46017,59 +46100,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 41937, - "end": 44277, + "start": 42590, + "end": 44930, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 33 }, "end": { - "line": 1154, + "line": 1155, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 42045, - "end": 42069, + "start": 42698, + "end": 42722, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 20 }, "end": { - "line": 1111, + "line": 1112, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 42051, - "end": 42068, + "start": 42704, + "end": 42721, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 26 }, "end": { - "line": 1111, + "line": 1112, "column": 43 } }, "id": { "type": "Identifier", - "start": 42051, - "end": 42054, + "start": 42704, + "end": 42707, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 26 }, "end": { - "line": 1111, + "line": 1112, "column": 29 }, "identifierName": "src" @@ -46079,29 +46162,29 @@ }, "init": { "type": "MemberExpression", - "start": 42057, - "end": 42068, + "start": 42710, + "end": 42721, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 32 }, "end": { - "line": 1111, + "line": 1112, "column": 43 } }, "object": { "type": "Identifier", - "start": 42057, - "end": 42064, + "start": 42710, + "end": 42717, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 32 }, "end": { - "line": 1111, + "line": 1112, "column": 39 }, "identifierName": "texture" @@ -46110,15 +46193,15 @@ }, "property": { "type": "Identifier", - "start": 42065, - "end": 42068, + "start": 42718, + "end": 42721, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 40 }, "end": { - "line": 1111, + "line": 1112, "column": 43 }, "identifierName": "src" @@ -46135,15 +46218,15 @@ { "type": "CommentLine", "value": " XKTTexture created with XKTModel#createTexture({ src: ... })", - "start": 41960, - "end": 42023, + "start": 42613, + "end": 42676, "loc": { "start": { - "line": 1109, + "line": 1110, "column": 20 }, "end": { - "line": 1109, + "line": 1110, "column": 83 } } @@ -46152,44 +46235,44 @@ }, { "type": "VariableDeclaration", - "start": 42090, - "end": 42127, + "start": 42743, + "end": 42780, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 20 }, "end": { - "line": 1112, + "line": 1113, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 42096, - "end": 42126, + "start": 42749, + "end": 42779, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 26 }, "end": { - "line": 1112, + "line": 1113, "column": 56 } }, "id": { "type": "Identifier", - "start": 42096, - "end": 42103, + "start": 42749, + "end": 42756, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 26 }, "end": { - "line": 1112, + "line": 1113, "column": 33 }, "identifierName": "fileExt" @@ -46198,71 +46281,71 @@ }, "init": { "type": "CallExpression", - "start": 42106, - "end": 42126, + "start": 42759, + "end": 42779, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 36 }, "end": { - "line": 1112, + "line": 1113, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 42106, - "end": 42124, + "start": 42759, + "end": 42777, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 36 }, "end": { - "line": 1112, + "line": 1113, "column": 54 } }, "object": { "type": "CallExpression", - "start": 42106, - "end": 42120, + "start": 42759, + "end": 42773, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 36 }, "end": { - "line": 1112, + "line": 1113, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 42106, - "end": 42115, + "start": 42759, + "end": 42768, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 36 }, "end": { - "line": 1112, + "line": 1113, "column": 45 } }, "object": { "type": "Identifier", - "start": 42106, - "end": 42109, + "start": 42759, + "end": 42762, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 36 }, "end": { - "line": 1112, + "line": 1113, "column": 39 }, "identifierName": "src" @@ -46271,15 +46354,15 @@ }, "property": { "type": "Identifier", - "start": 42110, - "end": 42115, + "start": 42763, + "end": 42768, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 40 }, "end": { - "line": 1112, + "line": 1113, "column": 45 }, "identifierName": "split" @@ -46291,15 +46374,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 42116, - "end": 42119, + "start": 42769, + "end": 42772, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 46 }, "end": { - "line": 1112, + "line": 1113, "column": 49 } }, @@ -46313,15 +46396,15 @@ }, "property": { "type": "Identifier", - "start": 42121, - "end": 42124, + "start": 42774, + "end": 42777, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 51 }, "end": { - "line": 1112, + "line": 1113, "column": 54 }, "identifierName": "pop" @@ -46338,29 +46421,29 @@ }, { "type": "SwitchStatement", - "start": 42148, - "end": 44259, + "start": 42801, + "end": 44912, "loc": { "start": { - "line": 1113, + "line": 1114, "column": 20 }, "end": { - "line": 1153, + "line": 1154, "column": 21 } }, "discriminant": { "type": "Identifier", - "start": 42156, - "end": 42163, + "start": 42809, + "end": 42816, "loc": { "start": { - "line": 1113, + "line": 1114, "column": 28 }, "end": { - "line": 1113, + "line": 1114, "column": 35 }, "identifierName": "fileExt" @@ -46370,30 +46453,30 @@ "cases": [ { "type": "SwitchCase", - "start": 42191, - "end": 42203, + "start": 42844, + "end": 42856, "loc": { "start": { - "line": 1114, + "line": 1115, "column": 24 }, "end": { - "line": 1114, + "line": 1115, "column": 36 } }, "consequent": [], "test": { "type": "StringLiteral", - "start": 42196, - "end": 42202, + "start": 42849, + "end": 42855, "loc": { "start": { - "line": 1114, + "line": 1115, "column": 29 }, "end": { - "line": 1114, + "line": 1115, "column": 35 } }, @@ -46406,30 +46489,30 @@ }, { "type": "SwitchCase", - "start": 42228, - "end": 42239, + "start": 42881, + "end": 42892, "loc": { "start": { - "line": 1115, + "line": 1116, "column": 24 }, "end": { - "line": 1115, + "line": 1116, "column": 35 } }, "consequent": [], "test": { "type": "StringLiteral", - "start": 42233, - "end": 42238, + "start": 42886, + "end": 42891, "loc": { "start": { - "line": 1115, + "line": 1116, "column": 29 }, "end": { - "line": 1115, + "line": 1116, "column": 34 } }, @@ -46442,114 +46525,114 @@ }, { "type": "SwitchCase", - "start": 42264, - "end": 44040, + "start": 42917, + "end": 44693, "loc": { "start": { - "line": 1116, + "line": 1117, "column": 24 }, "end": { - "line": 1147, + "line": 1148, "column": 34 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 42304, - "end": 44005, + "start": 42957, + "end": 44658, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1146, + "line": 1147, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 42304, - "end": 44004, + "start": 42957, + "end": 44657, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1146, + "line": 1147, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 42304, - "end": 43722, + "start": 42957, + "end": 44375, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1141, + "line": 1142, "column": 36 } }, "object": { "type": "CallExpression", - "start": 42304, - "end": 43716, + "start": 42957, + "end": 44369, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1141, + "line": 1142, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 42304, - "end": 42488, + "start": 42957, + "end": 43141, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1121, + "line": 1122, "column": 35 } }, "object": { "type": "CallExpression", - "start": 42304, - "end": 42483, + "start": 42957, + "end": 43136, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1121, + "line": 1122, "column": 30 } }, "callee": { "type": "Identifier", - "start": 42304, - "end": 42308, + "start": 42957, + "end": 42961, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1117, + "line": 1118, "column": 32 }, "identifierName": "load" @@ -46559,15 +46642,15 @@ "arguments": [ { "type": "Identifier", - "start": 42309, - "end": 42312, + "start": 42962, + "end": 42965, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 33 }, "end": { - "line": 1117, + "line": 1118, "column": 36 }, "identifierName": "src" @@ -46576,15 +46659,15 @@ }, { "type": "Identifier", - "start": 42314, - "end": 42325, + "start": 42967, + "end": 42978, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 38 }, "end": { - "line": 1117, + "line": 1118, "column": 49 }, "identifierName": "ImageLoader" @@ -46593,30 +46676,30 @@ }, { "type": "ObjectExpression", - "start": 42327, - "end": 42482, + "start": 42980, + "end": 43135, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 51 }, "end": { - "line": 1121, + "line": 1122, "column": 29 } }, "properties": [ { "type": "ObjectProperty", - "start": 42361, - "end": 42452, + "start": 43014, + "end": 43105, "loc": { "start": { - "line": 1118, + "line": 1119, "column": 32 }, "end": { - "line": 1120, + "line": 1121, "column": 33 } }, @@ -46625,15 +46708,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 42361, - "end": 42366, + "start": 43014, + "end": 43019, "loc": { "start": { - "line": 1118, + "line": 1119, "column": 32 }, "end": { - "line": 1118, + "line": 1119, "column": 37 }, "identifierName": "image" @@ -46642,30 +46725,30 @@ }, "value": { "type": "ObjectExpression", - "start": 42368, - "end": 42452, + "start": 43021, + "end": 43105, "loc": { "start": { - "line": 1118, + "line": 1119, "column": 39 }, "end": { - "line": 1120, + "line": 1121, "column": 33 } }, "properties": [ { "type": "ObjectProperty", - "start": 42406, - "end": 42418, + "start": 43059, + "end": 43071, "loc": { "start": { - "line": 1119, + "line": 1120, "column": 36 }, "end": { - "line": 1119, + "line": 1120, "column": 48 } }, @@ -46674,15 +46757,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 42406, - "end": 42410, + "start": 43059, + "end": 43063, "loc": { "start": { - "line": 1119, + "line": 1120, "column": 36 }, "end": { - "line": 1119, + "line": 1120, "column": 40 }, "identifierName": "type" @@ -46691,15 +46774,15 @@ }, "value": { "type": "StringLiteral", - "start": 42412, - "end": 42418, + "start": 43065, + "end": 43071, "loc": { "start": { - "line": 1119, + "line": 1120, "column": 42 }, "end": { - "line": 1119, + "line": 1120, "column": 48 } }, @@ -46719,15 +46802,15 @@ }, "property": { "type": "Identifier", - "start": 42484, - "end": 42488, + "start": 43137, + "end": 43141, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 31 }, "end": { - "line": 1121, + "line": 1122, "column": 35 }, "identifierName": "then" @@ -46739,15 +46822,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 42489, - "end": 43715, + "start": 43142, + "end": 44368, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 36 }, "end": { - "line": 1141, + "line": 1142, "column": 29 } }, @@ -46758,15 +46841,15 @@ "params": [ { "type": "Identifier", - "start": 42490, - "end": 42499, + "start": 43143, + "end": 43152, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 37 }, "end": { - "line": 1121, + "line": 1122, "column": 46 }, "identifierName": "imageData" @@ -46776,58 +46859,58 @@ ], "body": { "type": "BlockStatement", - "start": 42504, - "end": 43715, + "start": 43157, + "end": 44368, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 51 }, "end": { - "line": 1141, + "line": 1142, "column": 29 } }, "body": [ { "type": "IfStatement", - "start": 42538, - "end": 43685, + "start": 43191, + "end": 44338, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 32 }, "end": { - "line": 1140, + "line": 1141, "column": 33 } }, "test": { "type": "MemberExpression", - "start": 42542, - "end": 42560, + "start": 43195, + "end": 43213, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 36 }, "end": { - "line": 1122, + "line": 1123, "column": 54 } }, "object": { "type": "Identifier", - "start": 42542, - "end": 42549, + "start": 43195, + "end": 43202, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 36 }, "end": { - "line": 1122, + "line": 1123, "column": 43 }, "identifierName": "texture" @@ -46836,15 +46919,15 @@ }, "property": { "type": "Identifier", - "start": 42550, - "end": 42560, + "start": 43203, + "end": 43213, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 44 }, "end": { - "line": 1122, + "line": 1123, "column": 54 }, "identifierName": "compressed" @@ -46855,114 +46938,114 @@ }, "consequent": { "type": "BlockStatement", - "start": 42562, - "end": 43416, + "start": 43215, + "end": 44069, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 56 }, "end": { - "line": 1135, + "line": 1136, "column": 33 } }, "body": [ { "type": "ExpressionStatement", - "start": 42600, - "end": 43382, + "start": 43253, + "end": 44035, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1134, + "line": 1135, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 42600, - "end": 43381, + "start": 43253, + "end": 44034, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1134, + "line": 1135, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 42600, - "end": 43057, + "start": 43253, + "end": 43710, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1129, + "line": 1130, "column": 44 } }, "object": { "type": "CallExpression", - "start": 42600, - "end": 43051, + "start": 43253, + "end": 43704, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1129, + "line": 1130, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 42600, - "end": 42656, + "start": 43253, + "end": 43309, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1123, + "line": 1124, "column": 92 } }, "object": { "type": "CallExpression", - "start": 42600, - "end": 42651, + "start": 43253, + "end": 43304, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1123, + "line": 1124, "column": 87 } }, "callee": { "type": "Identifier", - "start": 42600, - "end": 42606, + "start": 43253, + "end": 43259, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1123, + "line": 1124, "column": 42 }, "identifierName": "encode" @@ -46972,15 +47055,15 @@ "arguments": [ { "type": "Identifier", - "start": 42607, - "end": 42616, + "start": 43260, + "end": 43269, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 43 }, "end": { - "line": 1123, + "line": 1124, "column": 52 }, "identifierName": "imageData" @@ -46989,15 +47072,15 @@ }, { "type": "Identifier", - "start": 42618, - "end": 42633, + "start": 43271, + "end": 43286, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 54 }, "end": { - "line": 1123, + "line": 1124, "column": 69 }, "identifierName": "KTX2BasisWriter" @@ -47006,15 +47089,15 @@ }, { "type": "Identifier", - "start": 42635, - "end": 42650, + "start": 43288, + "end": 43303, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 71 }, "end": { - "line": 1123, + "line": 1124, "column": 86 }, "identifierName": "encodingOptions" @@ -47025,15 +47108,15 @@ }, "property": { "type": "Identifier", - "start": 42652, - "end": 42656, + "start": 43305, + "end": 43309, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 88 }, "end": { - "line": 1123, + "line": 1124, "column": 92 }, "identifierName": "then" @@ -47045,15 +47128,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 42657, - "end": 43050, + "start": 43310, + "end": 43703, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 93 }, "end": { - "line": 1129, + "line": 1130, "column": 37 } }, @@ -47064,15 +47147,15 @@ "params": [ { "type": "Identifier", - "start": 42658, - "end": 42669, + "start": 43311, + "end": 43322, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 94 }, "end": { - "line": 1123, + "line": 1124, "column": 105 }, "identifierName": "encodedData" @@ -47082,59 +47165,59 @@ ], "body": { "type": "BlockStatement", - "start": 42674, - "end": 43050, + "start": 43327, + "end": 43703, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 110 }, "end": { - "line": 1129, + "line": 1130, "column": 37 } }, "body": [ { "type": "VariableDeclaration", - "start": 42716, - "end": 42769, + "start": 43369, + "end": 43422, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 40 }, "end": { - "line": 1124, + "line": 1125, "column": 93 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 42722, - "end": 42768, + "start": 43375, + "end": 43421, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 46 }, "end": { - "line": 1124, + "line": 1125, "column": 92 } }, "id": { "type": "Identifier", - "start": 42722, - "end": 42738, + "start": 43375, + "end": 43391, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 46 }, "end": { - "line": 1124, + "line": 1125, "column": 62 }, "identifierName": "encodedImageData" @@ -47143,29 +47226,29 @@ }, "init": { "type": "NewExpression", - "start": 42741, - "end": 42768, + "start": 43394, + "end": 43421, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 65 }, "end": { - "line": 1124, + "line": 1125, "column": 92 } }, "callee": { "type": "Identifier", - "start": 42745, - "end": 42755, + "start": 43398, + "end": 43408, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 69 }, "end": { - "line": 1124, + "line": 1125, "column": 79 }, "identifierName": "Uint8Array" @@ -47175,15 +47258,15 @@ "arguments": [ { "type": "Identifier", - "start": 42756, - "end": 42767, + "start": 43409, + "end": 43420, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 80 }, "end": { - "line": 1124, + "line": 1125, "column": 91 }, "identifierName": "encodedData" @@ -47198,58 +47281,58 @@ }, { "type": "ExpressionStatement", - "start": 42810, - "end": 42847, + "start": 43463, + "end": 43500, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 40 }, "end": { - "line": 1125, + "line": 1126, "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 42810, - "end": 42846, + "start": 43463, + "end": 43499, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 40 }, "end": { - "line": 1125, + "line": 1126, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 42810, - "end": 42827, + "start": 43463, + "end": 43480, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 40 }, "end": { - "line": 1125, + "line": 1126, "column": 57 } }, "object": { "type": "Identifier", - "start": 42810, - "end": 42817, + "start": 43463, + "end": 43470, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 40 }, "end": { - "line": 1125, + "line": 1126, "column": 47 }, "identifierName": "texture" @@ -47258,15 +47341,15 @@ }, "property": { "type": "Identifier", - "start": 42818, - "end": 42827, + "start": 43471, + "end": 43480, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 48 }, "end": { - "line": 1125, + "line": 1126, "column": 57 }, "identifierName": "imageData" @@ -47277,15 +47360,15 @@ }, "right": { "type": "Identifier", - "start": 42830, - "end": 42846, + "start": 43483, + "end": 43499, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 60 }, "end": { - "line": 1125, + "line": 1126, "column": 76 }, "identifierName": "encodedImageData" @@ -47296,43 +47379,43 @@ }, { "type": "IfStatement", - "start": 42888, - "end": 43012, + "start": 43541, + "end": 43665, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 40 }, "end": { - "line": 1128, + "line": 1129, "column": 41 } }, "test": { "type": "BinaryExpression", - "start": 42892, - "end": 42912, + "start": 43545, + "end": 43565, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 44 }, "end": { - "line": 1126, + "line": 1127, "column": 64 } }, "left": { "type": "UpdateExpression", - "start": 42892, - "end": 42907, + "start": 43545, + "end": 43560, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 44 }, "end": { - "line": 1126, + "line": 1127, "column": 59 } }, @@ -47340,15 +47423,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 42894, - "end": 42907, + "start": 43547, + "end": 43560, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 46 }, "end": { - "line": 1126, + "line": 1127, "column": 59 }, "identifierName": "countTextures" @@ -47362,15 +47445,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 42911, - "end": 42912, + "start": 43564, + "end": 43565, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 63 }, "end": { - "line": 1126, + "line": 1127, "column": 64 } }, @@ -47383,58 +47466,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 42914, - "end": 43012, + "start": 43567, + "end": 43665, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 66 }, "end": { - "line": 1128, + "line": 1129, "column": 41 } }, "body": [ { "type": "ExpressionStatement", - "start": 42960, - "end": 42970, + "start": 43613, + "end": 43623, "loc": { "start": { - "line": 1127, + "line": 1128, "column": 44 }, "end": { - "line": 1127, + "line": 1128, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 42960, - "end": 42969, + "start": 43613, + "end": 43622, "loc": { "start": { - "line": 1127, + "line": 1128, "column": 44 }, "end": { - "line": 1127, + "line": 1128, "column": 53 } }, "callee": { "type": "Identifier", - "start": 42960, - "end": 42967, + "start": 43613, + "end": 43620, "loc": { "start": { - "line": 1127, + "line": 1128, "column": 44 }, "end": { - "line": 1127, + "line": 1128, "column": 51 }, "identifierName": "resolve" @@ -47457,15 +47540,15 @@ }, "property": { "type": "Identifier", - "start": 43052, - "end": 43057, + "start": 43705, + "end": 43710, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 39 }, "end": { - "line": 1129, + "line": 1130, "column": 44 }, "identifierName": "catch" @@ -47477,15 +47560,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 43058, - "end": 43380, + "start": 43711, + "end": 44033, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 45 }, "end": { - "line": 1134, + "line": 1135, "column": 37 } }, @@ -47496,15 +47579,15 @@ "params": [ { "type": "Identifier", - "start": 43059, - "end": 43062, + "start": 43712, + "end": 43715, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 46 }, "end": { - "line": 1129, + "line": 1130, "column": 49 }, "identifierName": "err" @@ -47514,72 +47597,72 @@ ], "body": { "type": "BlockStatement", - "start": 43067, - "end": 43380, + "start": 43720, + "end": 44033, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 54 }, "end": { - "line": 1134, + "line": 1135, "column": 37 } }, "body": [ { "type": "ExpressionStatement", - "start": 43109, - "end": 43177, + "start": 43762, + "end": 43830, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 40 }, "end": { - "line": 1130, + "line": 1131, "column": 108 } }, "expression": { "type": "CallExpression", - "start": 43109, - "end": 43176, + "start": 43762, + "end": 43829, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 40 }, "end": { - "line": 1130, + "line": 1131, "column": 107 } }, "callee": { "type": "MemberExpression", - "start": 43109, - "end": 43122, + "start": 43762, + "end": 43775, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 40 }, "end": { - "line": 1130, + "line": 1131, "column": 53 } }, "object": { "type": "Identifier", - "start": 43109, - "end": 43116, + "start": 43762, + "end": 43769, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 40 }, "end": { - "line": 1130, + "line": 1131, "column": 47 }, "identifierName": "console" @@ -47588,15 +47671,15 @@ }, "property": { "type": "Identifier", - "start": 43117, - "end": 43122, + "start": 43770, + "end": 43775, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 48 }, "end": { - "line": 1130, + "line": 1131, "column": 53 }, "identifierName": "error" @@ -47608,29 +47691,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 43123, - "end": 43175, + "start": 43776, + "end": 43828, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 54 }, "end": { - "line": 1130, + "line": 1131, "column": 106 } }, "left": { "type": "StringLiteral", - "start": 43123, - "end": 43169, + "start": 43776, + "end": 43822, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 54 }, "end": { - "line": 1130, + "line": 1131, "column": 100 } }, @@ -47643,15 +47726,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 43172, - "end": 43175, + "start": 43825, + "end": 43828, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 103 }, "end": { - "line": 1130, + "line": 1131, "column": 106 }, "identifierName": "err" @@ -47664,43 +47747,43 @@ }, { "type": "IfStatement", - "start": 43218, - "end": 43342, + "start": 43871, + "end": 43995, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 40 }, "end": { - "line": 1133, + "line": 1134, "column": 41 } }, "test": { "type": "BinaryExpression", - "start": 43222, - "end": 43242, + "start": 43875, + "end": 43895, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 44 }, "end": { - "line": 1131, + "line": 1132, "column": 64 } }, "left": { "type": "UpdateExpression", - "start": 43222, - "end": 43237, + "start": 43875, + "end": 43890, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 44 }, "end": { - "line": 1131, + "line": 1132, "column": 59 } }, @@ -47708,15 +47791,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 43224, - "end": 43237, + "start": 43877, + "end": 43890, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 46 }, "end": { - "line": 1131, + "line": 1132, "column": 59 }, "identifierName": "countTextures" @@ -47730,15 +47813,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 43241, - "end": 43242, + "start": 43894, + "end": 43895, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 63 }, "end": { - "line": 1131, + "line": 1132, "column": 64 } }, @@ -47751,58 +47834,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 43244, - "end": 43342, + "start": 43897, + "end": 43995, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 66 }, "end": { - "line": 1133, + "line": 1134, "column": 41 } }, "body": [ { "type": "ExpressionStatement", - "start": 43290, - "end": 43300, + "start": 43943, + "end": 43953, "loc": { "start": { - "line": 1132, + "line": 1133, "column": 44 }, "end": { - "line": 1132, + "line": 1133, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 43290, - "end": 43299, + "start": 43943, + "end": 43952, "loc": { "start": { - "line": 1132, + "line": 1133, "column": 44 }, "end": { - "line": 1132, + "line": 1133, "column": 53 } }, "callee": { "type": "Identifier", - "start": 43290, - "end": 43297, + "start": 43943, + "end": 43950, "loc": { "start": { - "line": 1132, + "line": 1133, "column": 44 }, "end": { - "line": 1132, + "line": 1133, "column": 51 }, "identifierName": "resolve" @@ -47829,73 +47912,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 43422, - "end": 43685, + "start": 44075, + "end": 44338, "loc": { "start": { - "line": 1135, + "line": 1136, "column": 39 }, "end": { - "line": 1140, + "line": 1141, "column": 33 } }, "body": [ { "type": "ExpressionStatement", - "start": 43460, - "end": 43498, + "start": 44113, + "end": 44151, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 36 }, "end": { - "line": 1136, + "line": 1137, "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 43460, - "end": 43497, + "start": 44113, + "end": 44150, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 36 }, "end": { - "line": 1136, + "line": 1137, "column": 73 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 43460, - "end": 43477, + "start": 44113, + "end": 44130, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 36 }, "end": { - "line": 1136, + "line": 1137, "column": 53 } }, "object": { "type": "Identifier", - "start": 43460, - "end": 43467, + "start": 44113, + "end": 44120, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 36 }, "end": { - "line": 1136, + "line": 1137, "column": 43 }, "identifierName": "texture" @@ -47904,15 +47987,15 @@ }, "property": { "type": "Identifier", - "start": 43468, - "end": 43477, + "start": 44121, + "end": 44130, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 44 }, "end": { - "line": 1136, + "line": 1137, "column": 53 }, "identifierName": "imageData" @@ -47923,29 +48006,29 @@ }, "right": { "type": "NewExpression", - "start": 43480, - "end": 43497, + "start": 44133, + "end": 44150, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 56 }, "end": { - "line": 1136, + "line": 1137, "column": 73 } }, "callee": { "type": "Identifier", - "start": 43484, - "end": 43494, + "start": 44137, + "end": 44147, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 60 }, "end": { - "line": 1136, + "line": 1137, "column": 70 }, "identifierName": "Uint8Array" @@ -47955,15 +48038,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 43495, - "end": 43496, + "start": 44148, + "end": 44149, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 71 }, "end": { - "line": 1136, + "line": 1137, "column": 72 } }, @@ -47979,43 +48062,43 @@ }, { "type": "IfStatement", - "start": 43535, - "end": 43651, + "start": 44188, + "end": 44304, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 36 }, "end": { - "line": 1139, + "line": 1140, "column": 37 } }, "test": { "type": "BinaryExpression", - "start": 43539, - "end": 43559, + "start": 44192, + "end": 44212, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 40 }, "end": { - "line": 1137, + "line": 1138, "column": 60 } }, "left": { "type": "UpdateExpression", - "start": 43539, - "end": 43554, + "start": 44192, + "end": 44207, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 40 }, "end": { - "line": 1137, + "line": 1138, "column": 55 } }, @@ -48023,15 +48106,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 43541, - "end": 43554, + "start": 44194, + "end": 44207, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 42 }, "end": { - "line": 1137, + "line": 1138, "column": 55 }, "identifierName": "countTextures" @@ -48045,15 +48128,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 43558, - "end": 43559, + "start": 44211, + "end": 44212, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 59 }, "end": { - "line": 1137, + "line": 1138, "column": 60 } }, @@ -48066,58 +48149,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 43561, - "end": 43651, + "start": 44214, + "end": 44304, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 62 }, "end": { - "line": 1139, + "line": 1140, "column": 37 } }, "body": [ { "type": "ExpressionStatement", - "start": 43603, - "end": 43613, + "start": 44256, + "end": 44266, "loc": { "start": { - "line": 1138, + "line": 1139, "column": 40 }, "end": { - "line": 1138, + "line": 1139, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 43603, - "end": 43612, + "start": 44256, + "end": 44265, "loc": { "start": { - "line": 1138, + "line": 1139, "column": 40 }, "end": { - "line": 1138, + "line": 1139, "column": 49 } }, "callee": { "type": "Identifier", - "start": 43603, - "end": 43610, + "start": 44256, + "end": 44263, "loc": { "start": { - "line": 1138, + "line": 1139, "column": 40 }, "end": { - "line": 1138, + "line": 1139, "column": 47 }, "identifierName": "resolve" @@ -48144,15 +48227,15 @@ }, "property": { "type": "Identifier", - "start": 43717, - "end": 43722, + "start": 44370, + "end": 44375, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 31 }, "end": { - "line": 1141, + "line": 1142, "column": 36 }, "identifierName": "catch" @@ -48164,15 +48247,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 43723, - "end": 44003, + "start": 44376, + "end": 44656, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 37 }, "end": { - "line": 1146, + "line": 1147, "column": 29 } }, @@ -48183,15 +48266,15 @@ "params": [ { "type": "Identifier", - "start": 43724, - "end": 43727, + "start": 44377, + "end": 44380, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 38 }, "end": { - "line": 1141, + "line": 1142, "column": 41 }, "identifierName": "err" @@ -48201,72 +48284,72 @@ ], "body": { "type": "BlockStatement", - "start": 43732, - "end": 44003, + "start": 44385, + "end": 44656, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 46 }, "end": { - "line": 1146, + "line": 1147, "column": 29 } }, "body": [ { "type": "ExpressionStatement", - "start": 43766, - "end": 43832, + "start": 44419, + "end": 44485, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 32 }, "end": { - "line": 1142, + "line": 1143, "column": 98 } }, "expression": { "type": "CallExpression", - "start": 43766, - "end": 43831, + "start": 44419, + "end": 44484, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 32 }, "end": { - "line": 1142, + "line": 1143, "column": 97 } }, "callee": { "type": "MemberExpression", - "start": 43766, - "end": 43779, + "start": 44419, + "end": 44432, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 32 }, "end": { - "line": 1142, + "line": 1143, "column": 45 } }, "object": { "type": "Identifier", - "start": 43766, - "end": 43773, + "start": 44419, + "end": 44426, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 32 }, "end": { - "line": 1142, + "line": 1143, "column": 39 }, "identifierName": "console" @@ -48275,15 +48358,15 @@ }, "property": { "type": "Identifier", - "start": 43774, - "end": 43779, + "start": 44427, + "end": 44432, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 40 }, "end": { - "line": 1142, + "line": 1143, "column": 45 }, "identifierName": "error" @@ -48295,29 +48378,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 43780, - "end": 43830, + "start": 44433, + "end": 44483, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 46 }, "end": { - "line": 1142, + "line": 1143, "column": 96 } }, "left": { "type": "StringLiteral", - "start": 43780, - "end": 43824, + "start": 44433, + "end": 44477, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 46 }, "end": { - "line": 1142, + "line": 1143, "column": 90 } }, @@ -48330,15 +48413,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 43827, - "end": 43830, + "start": 44480, + "end": 44483, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 93 }, "end": { - "line": 1142, + "line": 1143, "column": 96 }, "identifierName": "err" @@ -48351,43 +48434,43 @@ }, { "type": "IfStatement", - "start": 43865, - "end": 43973, + "start": 44518, + "end": 44626, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 32 }, "end": { - "line": 1145, + "line": 1146, "column": 33 } }, "test": { "type": "BinaryExpression", - "start": 43869, - "end": 43889, + "start": 44522, + "end": 44542, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 36 }, "end": { - "line": 1143, + "line": 1144, "column": 56 } }, "left": { "type": "UpdateExpression", - "start": 43869, - "end": 43884, + "start": 44522, + "end": 44537, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 36 }, "end": { - "line": 1143, + "line": 1144, "column": 51 } }, @@ -48395,15 +48478,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 43871, - "end": 43884, + "start": 44524, + "end": 44537, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 38 }, "end": { - "line": 1143, + "line": 1144, "column": 51 }, "identifierName": "countTextures" @@ -48417,15 +48500,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 43888, - "end": 43889, + "start": 44541, + "end": 44542, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 55 }, "end": { - "line": 1143, + "line": 1144, "column": 56 } }, @@ -48438,58 +48521,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 43891, - "end": 43973, + "start": 44544, + "end": 44626, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 58 }, "end": { - "line": 1145, + "line": 1146, "column": 33 } }, "body": [ { "type": "ExpressionStatement", - "start": 43929, - "end": 43939, + "start": 44582, + "end": 44592, "loc": { "start": { - "line": 1144, + "line": 1145, "column": 36 }, "end": { - "line": 1144, + "line": 1145, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 43929, - "end": 43938, + "start": 44582, + "end": 44591, "loc": { "start": { - "line": 1144, + "line": 1145, "column": 36 }, "end": { - "line": 1144, + "line": 1145, "column": 45 } }, "callee": { "type": "Identifier", - "start": 43929, - "end": 43936, + "start": 44582, + "end": 44589, "loc": { "start": { - "line": 1144, + "line": 1145, "column": 36 }, "end": { - "line": 1144, + "line": 1145, "column": 43 }, "identifierName": "resolve" @@ -48513,15 +48596,15 @@ }, { "type": "BreakStatement", - "start": 44034, - "end": 44040, + "start": 44687, + "end": 44693, "loc": { "start": { - "line": 1147, + "line": 1148, "column": 28 }, "end": { - "line": 1147, + "line": 1148, "column": 34 } }, @@ -48530,15 +48613,15 @@ ], "test": { "type": "StringLiteral", - "start": 42269, - "end": 42274, + "start": 42922, + "end": 42927, "loc": { "start": { - "line": 1116, + "line": 1117, "column": 29 }, "end": { - "line": 1116, + "line": 1117, "column": 34 } }, @@ -48551,58 +48634,58 @@ }, { "type": "SwitchCase", - "start": 44065, - "end": 44237, + "start": 44718, + "end": 44890, "loc": { "start": { - "line": 1148, + "line": 1149, "column": 24 }, "end": { - "line": 1152, + "line": 1153, "column": 34 } }, "consequent": [ { "type": "IfStatement", - "start": 44102, - "end": 44202, + "start": 44755, + "end": 44855, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 28 }, "end": { - "line": 1151, + "line": 1152, "column": 29 } }, "test": { "type": "BinaryExpression", - "start": 44106, - "end": 44126, + "start": 44759, + "end": 44779, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 32 }, "end": { - "line": 1149, + "line": 1150, "column": 52 } }, "left": { "type": "UpdateExpression", - "start": 44106, - "end": 44121, + "start": 44759, + "end": 44774, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 32 }, "end": { - "line": 1149, + "line": 1150, "column": 47 } }, @@ -48610,15 +48693,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 44108, - "end": 44121, + "start": 44761, + "end": 44774, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 34 }, "end": { - "line": 1149, + "line": 1150, "column": 47 }, "identifierName": "countTextures" @@ -48632,15 +48715,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 44125, - "end": 44126, + "start": 44778, + "end": 44779, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 51 }, "end": { - "line": 1149, + "line": 1150, "column": 52 } }, @@ -48653,58 +48736,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 44128, - "end": 44202, + "start": 44781, + "end": 44855, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 54 }, "end": { - "line": 1151, + "line": 1152, "column": 29 } }, "body": [ { "type": "ExpressionStatement", - "start": 44162, - "end": 44172, + "start": 44815, + "end": 44825, "loc": { "start": { - "line": 1150, + "line": 1151, "column": 32 }, "end": { - "line": 1150, + "line": 1151, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 44162, - "end": 44171, + "start": 44815, + "end": 44824, "loc": { "start": { - "line": 1150, + "line": 1151, "column": 32 }, "end": { - "line": 1150, + "line": 1151, "column": 41 } }, "callee": { "type": "Identifier", - "start": 44162, - "end": 44169, + "start": 44815, + "end": 44822, "loc": { "start": { - "line": 1150, + "line": 1151, "column": 32 }, "end": { - "line": 1150, + "line": 1151, "column": 39 }, "identifierName": "resolve" @@ -48721,15 +48804,15 @@ }, { "type": "BreakStatement", - "start": 44231, - "end": 44237, + "start": 44884, + "end": 44890, "loc": { "start": { - "line": 1152, + "line": 1153, "column": 28 }, "end": { - "line": 1152, + "line": 1153, "column": 34 } }, @@ -48747,43 +48830,43 @@ }, { "type": "IfStatement", - "start": 44295, - "end": 45377, + "start": 44948, + "end": 46030, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 16 }, "end": { - "line": 1179, + "line": 1180, "column": 17 } }, "test": { "type": "MemberExpression", - "start": 44299, - "end": 44316, + "start": 44952, + "end": 44969, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 20 }, "end": { - "line": 1156, + "line": 1157, "column": 37 } }, "object": { "type": "Identifier", - "start": 44299, - "end": 44306, + "start": 44952, + "end": 44959, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 20 }, "end": { - "line": 1156, + "line": 1157, "column": 27 }, "identifierName": "texture" @@ -48792,15 +48875,15 @@ }, "property": { "type": "Identifier", - "start": 44307, - "end": 44316, + "start": 44960, + "end": 44969, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 28 }, "end": { - "line": 1156, + "line": 1157, "column": 37 }, "identifierName": "imageData" @@ -48811,58 +48894,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 44318, - "end": 45377, + "start": 44971, + "end": 46030, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 39 }, "end": { - "line": 1179, + "line": 1180, "column": 17 } }, "body": [ { "type": "IfStatement", - "start": 44432, - "end": 45359, + "start": 45085, + "end": 46012, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 20 }, "end": { - "line": 1178, + "line": 1179, "column": 21 } }, "test": { "type": "MemberExpression", - "start": 44436, - "end": 44454, + "start": 45089, + "end": 45107, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 24 }, "end": { - "line": 1160, + "line": 1161, "column": 42 } }, "object": { "type": "Identifier", - "start": 44436, - "end": 44443, + "start": 45089, + "end": 45096, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 24 }, "end": { - "line": 1160, + "line": 1161, "column": 31 }, "identifierName": "texture" @@ -48872,15 +48955,15 @@ }, "property": { "type": "Identifier", - "start": 44444, - "end": 44454, + "start": 45097, + "end": 45107, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 32 }, "end": { - "line": 1160, + "line": 1161, "column": 42 }, "identifierName": "compressed" @@ -48892,114 +48975,114 @@ }, "consequent": { "type": "BlockStatement", - "start": 44456, - "end": 45150, + "start": 45109, + "end": 45803, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 44 }, "end": { - "line": 1173, + "line": 1174, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 44482, - "end": 45128, + "start": 45135, + "end": 45781, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1172, + "line": 1173, "column": 27 } }, "expression": { "type": "CallExpression", - "start": 44482, - "end": 45127, + "start": 45135, + "end": 45780, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1172, + "line": 1173, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 44482, - "end": 44863, + "start": 45135, + "end": 45516, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1167, + "line": 1168, "column": 36 } }, "object": { "type": "CallExpression", - "start": 44482, - "end": 44857, + "start": 45135, + "end": 45510, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1167, + "line": 1168, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 44482, - "end": 44575, + "start": 45135, + "end": 45228, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1162, + "line": 1163, "column": 33 } }, "object": { "type": "CallExpression", - "start": 44482, - "end": 44541, + "start": 45135, + "end": 45194, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1161, + "line": 1162, "column": 83 } }, "callee": { "type": "Identifier", - "start": 44482, - "end": 44488, + "start": 45135, + "end": 45141, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1161, + "line": 1162, "column": 30 }, "identifierName": "encode" @@ -49009,29 +49092,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 44489, - "end": 44506, + "start": 45142, + "end": 45159, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 31 }, "end": { - "line": 1161, + "line": 1162, "column": 48 } }, "object": { "type": "Identifier", - "start": 44489, - "end": 44496, + "start": 45142, + "end": 45149, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 31 }, "end": { - "line": 1161, + "line": 1162, "column": 38 }, "identifierName": "texture" @@ -49040,15 +49123,15 @@ }, "property": { "type": "Identifier", - "start": 44497, - "end": 44506, + "start": 45150, + "end": 45159, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 39 }, "end": { - "line": 1161, + "line": 1162, "column": 48 }, "identifierName": "imageData" @@ -49059,15 +49142,15 @@ }, { "type": "Identifier", - "start": 44508, - "end": 44523, + "start": 45161, + "end": 45176, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 50 }, "end": { - "line": 1161, + "line": 1162, "column": 65 }, "identifierName": "KTX2BasisWriter" @@ -49076,15 +49159,15 @@ }, { "type": "Identifier", - "start": 44525, - "end": 44540, + "start": 45178, + "end": 45193, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 67 }, "end": { - "line": 1161, + "line": 1162, "column": 82 }, "identifierName": "encodingOptions" @@ -49095,15 +49178,15 @@ }, "property": { "type": "Identifier", - "start": 44571, - "end": 44575, + "start": 45224, + "end": 45228, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 29 }, "end": { - "line": 1162, + "line": 1163, "column": 33 }, "identifierName": "then" @@ -49115,15 +49198,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 44576, - "end": 44856, + "start": 45229, + "end": 45509, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 34 }, "end": { - "line": 1167, + "line": 1168, "column": 29 } }, @@ -49134,15 +49217,15 @@ "params": [ { "type": "Identifier", - "start": 44577, - "end": 44593, + "start": 45230, + "end": 45246, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 35 }, "end": { - "line": 1162, + "line": 1163, "column": 51 }, "identifierName": "encodedImageData" @@ -49152,73 +49235,73 @@ ], "body": { "type": "BlockStatement", - "start": 44598, - "end": 44856, + "start": 45251, + "end": 45509, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 56 }, "end": { - "line": 1167, + "line": 1168, "column": 29 } }, "body": [ { "type": "ExpressionStatement", - "start": 44632, - "end": 44685, + "start": 45285, + "end": 45338, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 32 }, "end": { - "line": 1163, + "line": 1164, "column": 85 } }, "expression": { "type": "AssignmentExpression", - "start": 44632, - "end": 44684, + "start": 45285, + "end": 45337, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 32 }, "end": { - "line": 1163, + "line": 1164, "column": 84 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 44632, - "end": 44649, + "start": 45285, + "end": 45302, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 32 }, "end": { - "line": 1163, + "line": 1164, "column": 49 } }, "object": { "type": "Identifier", - "start": 44632, - "end": 44639, + "start": 45285, + "end": 45292, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 32 }, "end": { - "line": 1163, + "line": 1164, "column": 39 }, "identifierName": "texture" @@ -49227,15 +49310,15 @@ }, "property": { "type": "Identifier", - "start": 44640, - "end": 44649, + "start": 45293, + "end": 45302, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 40 }, "end": { - "line": 1163, + "line": 1164, "column": 49 }, "identifierName": "imageData" @@ -49246,29 +49329,29 @@ }, "right": { "type": "NewExpression", - "start": 44652, - "end": 44684, + "start": 45305, + "end": 45337, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 52 }, "end": { - "line": 1163, + "line": 1164, "column": 84 } }, "callee": { "type": "Identifier", - "start": 44656, - "end": 44666, + "start": 45309, + "end": 45319, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 56 }, "end": { - "line": 1163, + "line": 1164, "column": 66 }, "identifierName": "Uint8Array" @@ -49278,15 +49361,15 @@ "arguments": [ { "type": "Identifier", - "start": 44667, - "end": 44683, + "start": 45320, + "end": 45336, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 67 }, "end": { - "line": 1163, + "line": 1164, "column": 83 }, "identifierName": "encodedImageData" @@ -49299,43 +49382,43 @@ }, { "type": "IfStatement", - "start": 44718, - "end": 44826, + "start": 45371, + "end": 45479, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 32 }, "end": { - "line": 1166, + "line": 1167, "column": 33 } }, "test": { "type": "BinaryExpression", - "start": 44722, - "end": 44742, + "start": 45375, + "end": 45395, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 36 }, "end": { - "line": 1164, + "line": 1165, "column": 56 } }, "left": { "type": "UpdateExpression", - "start": 44722, - "end": 44737, + "start": 45375, + "end": 45390, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 36 }, "end": { - "line": 1164, + "line": 1165, "column": 51 } }, @@ -49343,15 +49426,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 44724, - "end": 44737, + "start": 45377, + "end": 45390, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 38 }, "end": { - "line": 1164, + "line": 1165, "column": 51 }, "identifierName": "countTextures" @@ -49365,15 +49448,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 44741, - "end": 44742, + "start": 45394, + "end": 45395, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 55 }, "end": { - "line": 1164, + "line": 1165, "column": 56 } }, @@ -49386,58 +49469,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 44744, - "end": 44826, + "start": 45397, + "end": 45479, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 58 }, "end": { - "line": 1166, + "line": 1167, "column": 33 } }, "body": [ { "type": "ExpressionStatement", - "start": 44782, - "end": 44792, + "start": 45435, + "end": 45445, "loc": { "start": { - "line": 1165, + "line": 1166, "column": 36 }, "end": { - "line": 1165, + "line": 1166, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 44782, - "end": 44791, + "start": 45435, + "end": 45444, "loc": { "start": { - "line": 1165, + "line": 1166, "column": 36 }, "end": { - "line": 1165, + "line": 1166, "column": 45 } }, "callee": { "type": "Identifier", - "start": 44782, - "end": 44789, + "start": 45435, + "end": 45442, "loc": { "start": { - "line": 1165, + "line": 1166, "column": 36 }, "end": { - "line": 1165, + "line": 1166, "column": 43 }, "identifierName": "resolve" @@ -49460,15 +49543,15 @@ }, "property": { "type": "Identifier", - "start": 44858, - "end": 44863, + "start": 45511, + "end": 45516, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 31 }, "end": { - "line": 1167, + "line": 1168, "column": 36 }, "identifierName": "catch" @@ -49480,15 +49563,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 44864, - "end": 45126, + "start": 45517, + "end": 45779, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 37 }, "end": { - "line": 1172, + "line": 1173, "column": 25 } }, @@ -49499,15 +49582,15 @@ "params": [ { "type": "Identifier", - "start": 44865, - "end": 44868, + "start": 45518, + "end": 45521, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 38 }, "end": { - "line": 1167, + "line": 1168, "column": 41 }, "identifierName": "err" @@ -49517,72 +49600,72 @@ ], "body": { "type": "BlockStatement", - "start": 44873, - "end": 45126, + "start": 45526, + "end": 45779, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 46 }, "end": { - "line": 1172, + "line": 1173, "column": 25 } }, "body": [ { "type": "ExpressionStatement", - "start": 44903, - "end": 44971, + "start": 45556, + "end": 45624, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 28 }, "end": { - "line": 1168, + "line": 1169, "column": 96 } }, "expression": { "type": "CallExpression", - "start": 44903, - "end": 44970, + "start": 45556, + "end": 45623, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 28 }, "end": { - "line": 1168, + "line": 1169, "column": 95 } }, "callee": { "type": "MemberExpression", - "start": 44903, - "end": 44916, + "start": 45556, + "end": 45569, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 28 }, "end": { - "line": 1168, + "line": 1169, "column": 41 } }, "object": { "type": "Identifier", - "start": 44903, - "end": 44910, + "start": 45556, + "end": 45563, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 28 }, "end": { - "line": 1168, + "line": 1169, "column": 35 }, "identifierName": "console" @@ -49591,15 +49674,15 @@ }, "property": { "type": "Identifier", - "start": 44911, - "end": 44916, + "start": 45564, + "end": 45569, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 36 }, "end": { - "line": 1168, + "line": 1169, "column": 41 }, "identifierName": "error" @@ -49611,29 +49694,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 44917, - "end": 44969, + "start": 45570, + "end": 45622, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 42 }, "end": { - "line": 1168, + "line": 1169, "column": 94 } }, "left": { "type": "StringLiteral", - "start": 44917, - "end": 44963, + "start": 45570, + "end": 45616, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 42 }, "end": { - "line": 1168, + "line": 1169, "column": 88 } }, @@ -49646,15 +49729,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 44966, - "end": 44969, + "start": 45619, + "end": 45622, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 91 }, "end": { - "line": 1168, + "line": 1169, "column": 94 }, "identifierName": "err" @@ -49667,43 +49750,43 @@ }, { "type": "IfStatement", - "start": 45000, - "end": 45100, + "start": 45653, + "end": 45753, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 28 }, "end": { - "line": 1171, + "line": 1172, "column": 29 } }, "test": { "type": "BinaryExpression", - "start": 45004, - "end": 45024, + "start": 45657, + "end": 45677, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 32 }, "end": { - "line": 1169, + "line": 1170, "column": 52 } }, "left": { "type": "UpdateExpression", - "start": 45004, - "end": 45019, + "start": 45657, + "end": 45672, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 32 }, "end": { - "line": 1169, + "line": 1170, "column": 47 } }, @@ -49711,15 +49794,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 45006, - "end": 45019, + "start": 45659, + "end": 45672, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 34 }, "end": { - "line": 1169, + "line": 1170, "column": 47 }, "identifierName": "countTextures" @@ -49733,15 +49816,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 45023, - "end": 45024, + "start": 45676, + "end": 45677, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 51 }, "end": { - "line": 1169, + "line": 1170, "column": 52 } }, @@ -49754,58 +49837,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 45026, - "end": 45100, + "start": 45679, + "end": 45753, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 54 }, "end": { - "line": 1171, + "line": 1172, "column": 29 } }, "body": [ { "type": "ExpressionStatement", - "start": 45060, - "end": 45070, + "start": 45713, + "end": 45723, "loc": { "start": { - "line": 1170, + "line": 1171, "column": 32 }, "end": { - "line": 1170, + "line": 1171, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 45060, - "end": 45069, + "start": 45713, + "end": 45722, "loc": { "start": { - "line": 1170, + "line": 1171, "column": 32 }, "end": { - "line": 1170, + "line": 1171, "column": 41 } }, "callee": { "type": "Identifier", - "start": 45060, - "end": 45067, + "start": 45713, + "end": 45720, "loc": { "start": { - "line": 1170, + "line": 1171, "column": 32 }, "end": { - "line": 1170, + "line": 1171, "column": 39 }, "identifierName": "resolve" @@ -49832,73 +49915,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 45156, - "end": 45359, + "start": 45809, + "end": 46012, "loc": { "start": { - "line": 1173, + "line": 1174, "column": 27 }, "end": { - "line": 1178, + "line": 1179, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 45182, - "end": 45220, + "start": 45835, + "end": 45873, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 24 }, "end": { - "line": 1174, + "line": 1175, "column": 62 } }, "expression": { "type": "AssignmentExpression", - "start": 45182, - "end": 45219, + "start": 45835, + "end": 45872, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 24 }, "end": { - "line": 1174, + "line": 1175, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 45182, - "end": 45199, + "start": 45835, + "end": 45852, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 24 }, "end": { - "line": 1174, + "line": 1175, "column": 41 } }, "object": { "type": "Identifier", - "start": 45182, - "end": 45189, + "start": 45835, + "end": 45842, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 24 }, "end": { - "line": 1174, + "line": 1175, "column": 31 }, "identifierName": "texture" @@ -49907,15 +49990,15 @@ }, "property": { "type": "Identifier", - "start": 45190, - "end": 45199, + "start": 45843, + "end": 45852, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 32 }, "end": { - "line": 1174, + "line": 1175, "column": 41 }, "identifierName": "imageData" @@ -49926,29 +50009,29 @@ }, "right": { "type": "NewExpression", - "start": 45202, - "end": 45219, + "start": 45855, + "end": 45872, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 44 }, "end": { - "line": 1174, + "line": 1175, "column": 61 } }, "callee": { "type": "Identifier", - "start": 45206, - "end": 45216, + "start": 45859, + "end": 45869, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 48 }, "end": { - "line": 1174, + "line": 1175, "column": 58 }, "identifierName": "Uint8Array" @@ -49958,15 +50041,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 45217, - "end": 45218, + "start": 45870, + "end": 45871, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 59 }, "end": { - "line": 1174, + "line": 1175, "column": 60 } }, @@ -49982,43 +50065,43 @@ }, { "type": "IfStatement", - "start": 45245, - "end": 45337, + "start": 45898, + "end": 45990, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 24 }, "end": { - "line": 1177, + "line": 1178, "column": 25 } }, "test": { "type": "BinaryExpression", - "start": 45249, - "end": 45269, + "start": 45902, + "end": 45922, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 28 }, "end": { - "line": 1175, + "line": 1176, "column": 48 } }, "left": { "type": "UpdateExpression", - "start": 45249, - "end": 45264, + "start": 45902, + "end": 45917, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 28 }, "end": { - "line": 1175, + "line": 1176, "column": 43 } }, @@ -50026,15 +50109,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 45251, - "end": 45264, + "start": 45904, + "end": 45917, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 30 }, "end": { - "line": 1175, + "line": 1176, "column": 43 }, "identifierName": "countTextures" @@ -50048,15 +50131,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 45268, - "end": 45269, + "start": 45921, + "end": 45922, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 47 }, "end": { - "line": 1175, + "line": 1176, "column": 48 } }, @@ -50069,58 +50152,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 45271, - "end": 45337, + "start": 45924, + "end": 45990, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 50 }, "end": { - "line": 1177, + "line": 1178, "column": 25 } }, "body": [ { "type": "ExpressionStatement", - "start": 45301, - "end": 45311, + "start": 45954, + "end": 45964, "loc": { "start": { - "line": 1176, + "line": 1177, "column": 28 }, "end": { - "line": 1176, + "line": 1177, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 45301, - "end": 45310, + "start": 45954, + "end": 45963, "loc": { "start": { - "line": 1176, + "line": 1177, "column": 28 }, "end": { - "line": 1176, + "line": 1177, "column": 37 } }, "callee": { "type": "Identifier", - "start": 45301, - "end": 45308, + "start": 45954, + "end": 45961, "loc": { "start": { - "line": 1176, + "line": 1177, "column": 28 }, "end": { - "line": 1176, + "line": 1177, "column": 35 }, "identifierName": "resolve" @@ -50142,15 +50225,15 @@ { "type": "CommentLine", "value": " XKTTexture created with XKTModel#createTexture({ imageData: ... })", - "start": 44341, - "end": 44410, + "start": 44994, + "end": 45063, "loc": { "start": { - "line": 1158, + "line": 1159, "column": 20 }, "end": { - "line": 1158, + "line": 1159, "column": 89 } } @@ -50179,15 +50262,15 @@ }, { "type": "ClassMethod", - "start": 45415, - "end": 46444, + "start": 46068, + "end": 47097, "loc": { "start": { - "line": 1184, + "line": 1185, "column": 4 }, "end": { - "line": 1216, + "line": 1217, "column": 5 } }, @@ -50195,15 +50278,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 45415, - "end": 45446, + "start": 46068, + "end": 46099, "loc": { "start": { - "line": 1184, + "line": 1185, "column": 4 }, "end": { - "line": 1184, + "line": 1185, "column": 35 }, "identifierName": "_bakeSingleUseGeometryPositions" @@ -50218,73 +50301,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 45449, - "end": 46444, + "start": 46102, + "end": 47097, "loc": { "start": { - "line": 1184, + "line": 1185, "column": 38 }, "end": { - "line": 1216, + "line": 1217, "column": 5 } }, "body": [ { "type": "ForStatement", - "start": 45460, - "end": 46438, + "start": 46113, + "end": 47091, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 8 }, "end": { - "line": 1215, + "line": 1216, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 45465, - "end": 45505, + "start": 46118, + "end": 46158, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 13 }, "end": { - "line": 1186, + "line": 1187, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45469, - "end": 45474, + "start": 46122, + "end": 46127, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 17 }, "end": { - "line": 1186, + "line": 1187, "column": 22 } }, "id": { "type": "Identifier", - "start": 45469, - "end": 45470, + "start": 46122, + "end": 46123, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 17 }, "end": { - "line": 1186, + "line": 1187, "column": 18 }, "identifierName": "j" @@ -50293,15 +50376,15 @@ }, "init": { "type": "NumericLiteral", - "start": 45473, - "end": 45474, + "start": 46126, + "end": 46127, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 21 }, "end": { - "line": 1186, + "line": 1187, "column": 22 } }, @@ -50314,29 +50397,29 @@ }, { "type": "VariableDeclarator", - "start": 45476, - "end": 45505, + "start": 46129, + "end": 46158, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 24 }, "end": { - "line": 1186, + "line": 1187, "column": 53 } }, "id": { "type": "Identifier", - "start": 45476, - "end": 45480, + "start": 46129, + "end": 46133, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 24 }, "end": { - "line": 1186, + "line": 1187, "column": 28 }, "identifierName": "lenj" @@ -50345,58 +50428,58 @@ }, "init": { "type": "MemberExpression", - "start": 45483, - "end": 45505, + "start": 46136, + "end": 46158, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 31 }, "end": { - "line": 1186, + "line": 1187, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 45483, - "end": 45498, + "start": 46136, + "end": 46151, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 31 }, "end": { - "line": 1186, + "line": 1187, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 45483, - "end": 45487, + "start": 46136, + "end": 46140, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 31 }, "end": { - "line": 1186, + "line": 1187, "column": 35 } } }, "property": { "type": "Identifier", - "start": 45488, - "end": 45498, + "start": 46141, + "end": 46151, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 36 }, "end": { - "line": 1186, + "line": 1187, "column": 46 }, "identifierName": "meshesList" @@ -50407,15 +50490,15 @@ }, "property": { "type": "Identifier", - "start": 45499, - "end": 45505, + "start": 46152, + "end": 46158, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 47 }, "end": { - "line": 1186, + "line": 1187, "column": 53 }, "identifierName": "length" @@ -50430,29 +50513,29 @@ }, "test": { "type": "BinaryExpression", - "start": 45507, - "end": 45515, + "start": 46160, + "end": 46168, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 55 }, "end": { - "line": 1186, + "line": 1187, "column": 63 } }, "left": { "type": "Identifier", - "start": 45507, - "end": 45508, + "start": 46160, + "end": 46161, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 55 }, "end": { - "line": 1186, + "line": 1187, "column": 56 }, "identifierName": "j" @@ -50462,15 +50545,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 45511, - "end": 45515, + "start": 46164, + "end": 46168, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 59 }, "end": { - "line": 1186, + "line": 1187, "column": 63 }, "identifierName": "lenj" @@ -50480,15 +50563,15 @@ }, "update": { "type": "UpdateExpression", - "start": 45517, - "end": 45520, + "start": 46170, + "end": 46173, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 65 }, "end": { - "line": 1186, + "line": 1187, "column": 68 } }, @@ -50496,15 +50579,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 45517, - "end": 45518, + "start": 46170, + "end": 46171, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 65 }, "end": { - "line": 1186, + "line": 1187, "column": 66 }, "identifierName": "j" @@ -50514,59 +50597,59 @@ }, "body": { "type": "BlockStatement", - "start": 45522, - "end": 46438, + "start": 46175, + "end": 47091, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 70 }, "end": { - "line": 1215, + "line": 1216, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 45537, - "end": 45569, + "start": 46190, + "end": 46222, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 12 }, "end": { - "line": 1188, + "line": 1189, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45543, - "end": 45568, + "start": 46196, + "end": 46221, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 18 }, "end": { - "line": 1188, + "line": 1189, "column": 43 } }, "id": { "type": "Identifier", - "start": 45543, - "end": 45547, + "start": 46196, + "end": 46200, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 18 }, "end": { - "line": 1188, + "line": 1189, "column": 22 }, "identifierName": "mesh" @@ -50575,58 +50658,58 @@ }, "init": { "type": "MemberExpression", - "start": 45550, - "end": 45568, + "start": 46203, + "end": 46221, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 25 }, "end": { - "line": 1188, + "line": 1189, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 45550, - "end": 45565, + "start": 46203, + "end": 46218, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 25 }, "end": { - "line": 1188, + "line": 1189, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 45550, - "end": 45554, + "start": 46203, + "end": 46207, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 25 }, "end": { - "line": 1188, + "line": 1189, "column": 29 } } }, "property": { "type": "Identifier", - "start": 45555, - "end": 45565, + "start": 46208, + "end": 46218, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 30 }, "end": { - "line": 1188, + "line": 1189, "column": 40 }, "identifierName": "meshesList" @@ -50637,15 +50720,15 @@ }, "property": { "type": "Identifier", - "start": 45566, - "end": 45567, + "start": 46219, + "end": 46220, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 41 }, "end": { - "line": 1188, + "line": 1189, "column": 42 }, "identifierName": "j" @@ -50660,44 +50743,44 @@ }, { "type": "VariableDeclaration", - "start": 45583, - "end": 45614, + "start": 46236, + "end": 46267, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 12 }, "end": { - "line": 1190, + "line": 1191, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45589, - "end": 45613, + "start": 46242, + "end": 46266, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 18 }, "end": { - "line": 1190, + "line": 1191, "column": 42 } }, "id": { "type": "Identifier", - "start": 45589, - "end": 45597, + "start": 46242, + "end": 46250, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 18 }, "end": { - "line": 1190, + "line": 1191, "column": 26 }, "identifierName": "geometry" @@ -50706,29 +50789,29 @@ }, "init": { "type": "MemberExpression", - "start": 45600, - "end": 45613, + "start": 46253, + "end": 46266, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 29 }, "end": { - "line": 1190, + "line": 1191, "column": 42 } }, "object": { "type": "Identifier", - "start": 45600, - "end": 45604, + "start": 46253, + "end": 46257, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 29 }, "end": { - "line": 1190, + "line": 1191, "column": 33 }, "identifierName": "mesh" @@ -50737,15 +50820,15 @@ }, "property": { "type": "Identifier", - "start": 45605, - "end": 45613, + "start": 46258, + "end": 46266, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 34 }, "end": { - "line": 1190, + "line": 1191, "column": 42 }, "identifierName": "geometry" @@ -50760,57 +50843,57 @@ }, { "type": "IfStatement", - "start": 45628, - "end": 46428, + "start": 46281, + "end": 47081, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 12 }, "end": { - "line": 1214, + "line": 1215, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 45632, - "end": 45659, + "start": 46285, + "end": 46312, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 16 }, "end": { - "line": 1192, + "line": 1193, "column": 43 } }, "left": { "type": "MemberExpression", - "start": 45632, - "end": 45653, + "start": 46285, + "end": 46306, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 16 }, "end": { - "line": 1192, + "line": 1193, "column": 37 } }, "object": { "type": "Identifier", - "start": 45632, - "end": 45640, + "start": 46285, + "end": 46293, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 16 }, "end": { - "line": 1192, + "line": 1193, "column": 24 }, "identifierName": "geometry" @@ -50819,15 +50902,15 @@ }, "property": { "type": "Identifier", - "start": 45641, - "end": 45653, + "start": 46294, + "end": 46306, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 25 }, "end": { - "line": 1192, + "line": 1193, "column": 37 }, "identifierName": "numInstances" @@ -50839,15 +50922,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 45658, - "end": 45659, + "start": 46311, + "end": 46312, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 42 }, "end": { - "line": 1192, + "line": 1193, "column": 43 } }, @@ -50860,59 +50943,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 45661, - "end": 46428, + "start": 46314, + "end": 47081, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 45 }, "end": { - "line": 1214, + "line": 1215, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 45680, - "end": 45707, + "start": 46333, + "end": 46360, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 16 }, "end": { - "line": 1194, + "line": 1195, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45686, - "end": 45706, + "start": 46339, + "end": 46359, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 22 }, "end": { - "line": 1194, + "line": 1195, "column": 42 } }, "id": { "type": "Identifier", - "start": 45686, - "end": 45692, + "start": 46339, + "end": 46345, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 22 }, "end": { - "line": 1194, + "line": 1195, "column": 28 }, "identifierName": "matrix" @@ -50921,29 +51004,29 @@ }, "init": { "type": "MemberExpression", - "start": 45695, - "end": 45706, + "start": 46348, + "end": 46359, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 31 }, "end": { - "line": 1194, + "line": 1195, "column": 42 } }, "object": { "type": "Identifier", - "start": 45695, - "end": 45699, + "start": 46348, + "end": 46352, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 31 }, "end": { - "line": 1194, + "line": 1195, "column": 35 }, "identifierName": "mesh" @@ -50952,15 +51035,15 @@ }, "property": { "type": "Identifier", - "start": 45700, - "end": 45706, + "start": 46353, + "end": 46359, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 36 }, "end": { - "line": 1194, + "line": 1195, "column": 42 }, "identifierName": "matrix" @@ -50975,43 +51058,43 @@ }, { "type": "IfStatement", - "start": 45725, - "end": 46414, + "start": 46378, + "end": 47067, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 16 }, "end": { - "line": 1213, + "line": 1214, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 45729, - "end": 45769, + "start": 46382, + "end": 46422, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 20 }, "end": { - "line": 1196, + "line": 1197, "column": 60 } }, "left": { "type": "Identifier", - "start": 45729, - "end": 45735, + "start": 46382, + "end": 46388, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 20 }, "end": { - "line": 1196, + "line": 1197, "column": 26 }, "identifierName": "matrix" @@ -51021,15 +51104,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 45740, - "end": 45768, + "start": 46393, + "end": 46421, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 31 }, "end": { - "line": 1196, + "line": 1197, "column": 59 } }, @@ -51037,43 +51120,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 45741, - "end": 45768, + "start": 46394, + "end": 46421, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 32 }, "end": { - "line": 1196, + "line": 1197, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 45741, - "end": 45760, + "start": 46394, + "end": 46413, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 32 }, "end": { - "line": 1196, + "line": 1197, "column": 51 } }, "object": { "type": "Identifier", - "start": 45741, - "end": 45745, + "start": 46394, + "end": 46398, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 32 }, "end": { - "line": 1196, + "line": 1197, "column": 36 }, "identifierName": "math" @@ -51082,15 +51165,15 @@ }, "property": { "type": "Identifier", - "start": 45746, - "end": 45760, + "start": 46399, + "end": 46413, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 37 }, "end": { - "line": 1196, + "line": 1197, "column": 51 }, "identifierName": "isIdentityMat4" @@ -51102,15 +51185,15 @@ "arguments": [ { "type": "Identifier", - "start": 45761, - "end": 45767, + "start": 46414, + "end": 46420, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 52 }, "end": { - "line": 1196, + "line": 1197, "column": 58 }, "identifierName": "matrix" @@ -51122,65 +51205,65 @@ "extra": { "parenthesizedArgument": false, "parenthesized": true, - "parenStart": 45739 + "parenStart": 46392 } } }, "consequent": { "type": "BlockStatement", - "start": 45771, - "end": 46414, + "start": 46424, + "end": 47067, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 62 }, "end": { - "line": 1213, + "line": 1214, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 45794, - "end": 45831, + "start": 46447, + "end": 46484, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 20 }, "end": { - "line": 1198, + "line": 1199, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45800, - "end": 45830, + "start": 46453, + "end": 46483, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 26 }, "end": { - "line": 1198, + "line": 1199, "column": 56 } }, "id": { "type": "Identifier", - "start": 45800, - "end": 45809, + "start": 46453, + "end": 46462, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 26 }, "end": { - "line": 1198, + "line": 1199, "column": 35 }, "identifierName": "positions" @@ -51189,29 +51272,29 @@ }, "init": { "type": "MemberExpression", - "start": 45812, - "end": 45830, + "start": 46465, + "end": 46483, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 38 }, "end": { - "line": 1198, + "line": 1199, "column": 56 } }, "object": { "type": "Identifier", - "start": 45812, - "end": 45820, + "start": 46465, + "end": 46473, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 38 }, "end": { - "line": 1198, + "line": 1199, "column": 46 }, "identifierName": "geometry" @@ -51220,15 +51303,15 @@ }, "property": { "type": "Identifier", - "start": 45821, - "end": 45830, + "start": 46474, + "end": 46483, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 47 }, "end": { - "line": 1198, + "line": 1199, "column": 56 }, "identifierName": "positions" @@ -51243,58 +51326,58 @@ }, { "type": "ForStatement", - "start": 45853, - "end": 46396, + "start": 46506, + "end": 47049, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 20 }, "end": { - "line": 1212, + "line": 1213, "column": 21 } }, "init": { "type": "VariableDeclaration", - "start": 45858, - "end": 45891, + "start": 46511, + "end": 46544, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 25 }, "end": { - "line": 1200, + "line": 1201, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45862, - "end": 45867, + "start": 46515, + "end": 46520, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 29 }, "end": { - "line": 1200, + "line": 1201, "column": 34 } }, "id": { "type": "Identifier", - "start": 45862, - "end": 45863, + "start": 46515, + "end": 46516, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 29 }, "end": { - "line": 1200, + "line": 1201, "column": 30 }, "identifierName": "i" @@ -51303,15 +51386,15 @@ }, "init": { "type": "NumericLiteral", - "start": 45866, - "end": 45867, + "start": 46519, + "end": 46520, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 33 }, "end": { - "line": 1200, + "line": 1201, "column": 34 } }, @@ -51324,29 +51407,29 @@ }, { "type": "VariableDeclarator", - "start": 45869, - "end": 45891, + "start": 46522, + "end": 46544, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 36 }, "end": { - "line": 1200, + "line": 1201, "column": 58 } }, "id": { "type": "Identifier", - "start": 45869, - "end": 45872, + "start": 46522, + "end": 46525, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 36 }, "end": { - "line": 1200, + "line": 1201, "column": 39 }, "identifierName": "len" @@ -51355,29 +51438,29 @@ }, "init": { "type": "MemberExpression", - "start": 45875, - "end": 45891, + "start": 46528, + "end": 46544, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 42 }, "end": { - "line": 1200, + "line": 1201, "column": 58 } }, "object": { "type": "Identifier", - "start": 45875, - "end": 45884, + "start": 46528, + "end": 46537, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 42 }, "end": { - "line": 1200, + "line": 1201, "column": 51 }, "identifierName": "positions" @@ -51386,15 +51469,15 @@ }, "property": { "type": "Identifier", - "start": 45885, - "end": 45891, + "start": 46538, + "end": 46544, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 52 }, "end": { - "line": 1200, + "line": 1201, "column": 58 }, "identifierName": "length" @@ -51409,29 +51492,29 @@ }, "test": { "type": "BinaryExpression", - "start": 45893, - "end": 45900, + "start": 46546, + "end": 46553, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 60 }, "end": { - "line": 1200, + "line": 1201, "column": 67 } }, "left": { "type": "Identifier", - "start": 45893, - "end": 45894, + "start": 46546, + "end": 46547, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 60 }, "end": { - "line": 1200, + "line": 1201, "column": 61 }, "identifierName": "i" @@ -51441,15 +51524,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 45897, - "end": 45900, + "start": 46550, + "end": 46553, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 64 }, "end": { - "line": 1200, + "line": 1201, "column": 67 }, "identifierName": "len" @@ -51459,30 +51542,30 @@ }, "update": { "type": "AssignmentExpression", - "start": 45902, - "end": 45908, + "start": 46555, + "end": 46561, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 69 }, "end": { - "line": 1200, + "line": 1201, "column": 75 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 45902, - "end": 45903, + "start": 46555, + "end": 46556, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 69 }, "end": { - "line": 1200, + "line": 1201, "column": 70 }, "identifierName": "i" @@ -51491,15 +51574,15 @@ }, "right": { "type": "NumericLiteral", - "start": 45907, - "end": 45908, + "start": 46560, + "end": 46561, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 74 }, "end": { - "line": 1200, + "line": 1201, "column": 75 } }, @@ -51512,73 +51595,73 @@ }, "body": { "type": "BlockStatement", - "start": 45910, - "end": 46396, + "start": 46563, + "end": 47049, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 77 }, "end": { - "line": 1212, + "line": 1213, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 45937, - "end": 45969, + "start": 46590, + "end": 46622, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 24 }, "end": { - "line": 1202, + "line": 1203, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 45937, - "end": 45968, + "start": 46590, + "end": 46621, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 24 }, "end": { - "line": 1202, + "line": 1203, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 45937, - "end": 45949, + "start": 46590, + "end": 46602, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 24 }, "end": { - "line": 1202, + "line": 1203, "column": 36 } }, "object": { "type": "Identifier", - "start": 45937, - "end": 45946, + "start": 46590, + "end": 46599, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 24 }, "end": { - "line": 1202, + "line": 1203, "column": 33 }, "identifierName": "tempVec4a" @@ -51587,15 +51670,15 @@ }, "property": { "type": "NumericLiteral", - "start": 45947, - "end": 45948, + "start": 46600, + "end": 46601, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 34 }, "end": { - "line": 1202, + "line": 1203, "column": 35 } }, @@ -51609,29 +51692,29 @@ }, "right": { "type": "MemberExpression", - "start": 45952, - "end": 45968, + "start": 46605, + "end": 46621, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 39 }, "end": { - "line": 1202, + "line": 1203, "column": 55 } }, "object": { "type": "Identifier", - "start": 45952, - "end": 45961, + "start": 46605, + "end": 46614, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 39 }, "end": { - "line": 1202, + "line": 1203, "column": 48 }, "identifierName": "positions" @@ -51640,29 +51723,29 @@ }, "property": { "type": "BinaryExpression", - "start": 45962, - "end": 45967, + "start": 46615, + "end": 46620, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 49 }, "end": { - "line": 1202, + "line": 1203, "column": 54 } }, "left": { "type": "Identifier", - "start": 45962, - "end": 45963, + "start": 46615, + "end": 46616, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 49 }, "end": { - "line": 1202, + "line": 1203, "column": 50 }, "identifierName": "i" @@ -51672,15 +51755,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 45966, - "end": 45967, + "start": 46619, + "end": 46620, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 53 }, "end": { - "line": 1202, + "line": 1203, "column": 54 } }, @@ -51697,58 +51780,58 @@ }, { "type": "ExpressionStatement", - "start": 45994, - "end": 46026, + "start": 46647, + "end": 46679, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 24 }, "end": { - "line": 1203, + "line": 1204, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 45994, - "end": 46025, + "start": 46647, + "end": 46678, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 24 }, "end": { - "line": 1203, + "line": 1204, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 45994, - "end": 46006, + "start": 46647, + "end": 46659, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 24 }, "end": { - "line": 1203, + "line": 1204, "column": 36 } }, "object": { "type": "Identifier", - "start": 45994, - "end": 46003, + "start": 46647, + "end": 46656, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 24 }, "end": { - "line": 1203, + "line": 1204, "column": 33 }, "identifierName": "tempVec4a" @@ -51757,15 +51840,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46004, - "end": 46005, + "start": 46657, + "end": 46658, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 34 }, "end": { - "line": 1203, + "line": 1204, "column": 35 } }, @@ -51779,29 +51862,29 @@ }, "right": { "type": "MemberExpression", - "start": 46009, - "end": 46025, + "start": 46662, + "end": 46678, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 39 }, "end": { - "line": 1203, + "line": 1204, "column": 55 } }, "object": { "type": "Identifier", - "start": 46009, - "end": 46018, + "start": 46662, + "end": 46671, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 39 }, "end": { - "line": 1203, + "line": 1204, "column": 48 }, "identifierName": "positions" @@ -51810,29 +51893,29 @@ }, "property": { "type": "BinaryExpression", - "start": 46019, - "end": 46024, + "start": 46672, + "end": 46677, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 49 }, "end": { - "line": 1203, + "line": 1204, "column": 54 } }, "left": { "type": "Identifier", - "start": 46019, - "end": 46020, + "start": 46672, + "end": 46673, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 49 }, "end": { - "line": 1203, + "line": 1204, "column": 50 }, "identifierName": "i" @@ -51842,15 +51925,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 46023, - "end": 46024, + "start": 46676, + "end": 46677, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 53 }, "end": { - "line": 1203, + "line": 1204, "column": 54 } }, @@ -51867,58 +51950,58 @@ }, { "type": "ExpressionStatement", - "start": 46051, - "end": 46083, + "start": 46704, + "end": 46736, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 24 }, "end": { - "line": 1204, + "line": 1205, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 46051, - "end": 46082, + "start": 46704, + "end": 46735, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 24 }, "end": { - "line": 1204, + "line": 1205, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46051, - "end": 46063, + "start": 46704, + "end": 46716, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 24 }, "end": { - "line": 1204, + "line": 1205, "column": 36 } }, "object": { "type": "Identifier", - "start": 46051, - "end": 46060, + "start": 46704, + "end": 46713, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 24 }, "end": { - "line": 1204, + "line": 1205, "column": 33 }, "identifierName": "tempVec4a" @@ -51927,15 +52010,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46061, - "end": 46062, + "start": 46714, + "end": 46715, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 34 }, "end": { - "line": 1204, + "line": 1205, "column": 35 } }, @@ -51949,29 +52032,29 @@ }, "right": { "type": "MemberExpression", - "start": 46066, - "end": 46082, + "start": 46719, + "end": 46735, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 39 }, "end": { - "line": 1204, + "line": 1205, "column": 55 } }, "object": { "type": "Identifier", - "start": 46066, - "end": 46075, + "start": 46719, + "end": 46728, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 39 }, "end": { - "line": 1204, + "line": 1205, "column": 48 }, "identifierName": "positions" @@ -51980,29 +52063,29 @@ }, "property": { "type": "BinaryExpression", - "start": 46076, - "end": 46081, + "start": 46729, + "end": 46734, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 49 }, "end": { - "line": 1204, + "line": 1205, "column": 54 } }, "left": { "type": "Identifier", - "start": 46076, - "end": 46077, + "start": 46729, + "end": 46730, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 49 }, "end": { - "line": 1204, + "line": 1205, "column": 50 }, "identifierName": "i" @@ -52012,15 +52095,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 46080, - "end": 46081, + "start": 46733, + "end": 46734, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 53 }, "end": { - "line": 1204, + "line": 1205, "column": 54 } }, @@ -52037,58 +52120,58 @@ }, { "type": "ExpressionStatement", - "start": 46108, - "end": 46125, + "start": 46761, + "end": 46778, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 24 }, "end": { - "line": 1205, + "line": 1206, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 46108, - "end": 46124, + "start": 46761, + "end": 46777, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 24 }, "end": { - "line": 1205, + "line": 1206, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46108, - "end": 46120, + "start": 46761, + "end": 46773, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 24 }, "end": { - "line": 1205, + "line": 1206, "column": 36 } }, "object": { "type": "Identifier", - "start": 46108, - "end": 46117, + "start": 46761, + "end": 46770, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 24 }, "end": { - "line": 1205, + "line": 1206, "column": 33 }, "identifierName": "tempVec4a" @@ -52097,15 +52180,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46118, - "end": 46119, + "start": 46771, + "end": 46772, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 34 }, "end": { - "line": 1205, + "line": 1206, "column": 35 } }, @@ -52119,15 +52202,15 @@ }, "right": { "type": "NumericLiteral", - "start": 46123, - "end": 46124, + "start": 46776, + "end": 46777, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 39 }, "end": { - "line": 1205, + "line": 1206, "column": 40 } }, @@ -52141,57 +52224,57 @@ }, { "type": "ExpressionStatement", - "start": 46151, - "end": 46202, + "start": 46804, + "end": 46855, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 24 }, "end": { - "line": 1207, + "line": 1208, "column": 75 } }, "expression": { "type": "CallExpression", - "start": 46151, - "end": 46201, + "start": 46804, + "end": 46854, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 24 }, "end": { - "line": 1207, + "line": 1208, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 46151, - "end": 46171, + "start": 46804, + "end": 46824, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 24 }, "end": { - "line": 1207, + "line": 1208, "column": 44 } }, "object": { "type": "Identifier", - "start": 46151, - "end": 46155, + "start": 46804, + "end": 46808, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 24 }, "end": { - "line": 1207, + "line": 1208, "column": 28 }, "identifierName": "math" @@ -52200,15 +52283,15 @@ }, "property": { "type": "Identifier", - "start": 46156, - "end": 46171, + "start": 46809, + "end": 46824, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 29 }, "end": { - "line": 1207, + "line": 1208, "column": 44 }, "identifierName": "transformPoint4" @@ -52220,15 +52303,15 @@ "arguments": [ { "type": "Identifier", - "start": 46172, - "end": 46178, + "start": 46825, + "end": 46831, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 45 }, "end": { - "line": 1207, + "line": 1208, "column": 51 }, "identifierName": "matrix" @@ -52237,15 +52320,15 @@ }, { "type": "Identifier", - "start": 46180, - "end": 46189, + "start": 46833, + "end": 46842, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 53 }, "end": { - "line": 1207, + "line": 1208, "column": 62 }, "identifierName": "tempVec4a" @@ -52254,15 +52337,15 @@ }, { "type": "Identifier", - "start": 46191, - "end": 46200, + "start": 46844, + "end": 46853, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 64 }, "end": { - "line": 1207, + "line": 1208, "column": 73 }, "identifierName": "tempVec4b" @@ -52274,58 +52357,58 @@ }, { "type": "ExpressionStatement", - "start": 46228, - "end": 46260, + "start": 46881, + "end": 46913, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 24 }, "end": { - "line": 1209, + "line": 1210, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 46228, - "end": 46259, + "start": 46881, + "end": 46912, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 24 }, "end": { - "line": 1209, + "line": 1210, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46228, - "end": 46244, + "start": 46881, + "end": 46897, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 24 }, "end": { - "line": 1209, + "line": 1210, "column": 40 } }, "object": { "type": "Identifier", - "start": 46228, - "end": 46237, + "start": 46881, + "end": 46890, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 24 }, "end": { - "line": 1209, + "line": 1210, "column": 33 }, "identifierName": "positions" @@ -52334,29 +52417,29 @@ }, "property": { "type": "BinaryExpression", - "start": 46238, - "end": 46243, + "start": 46891, + "end": 46896, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 34 }, "end": { - "line": 1209, + "line": 1210, "column": 39 } }, "left": { "type": "Identifier", - "start": 46238, - "end": 46239, + "start": 46891, + "end": 46892, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 34 }, "end": { - "line": 1209, + "line": 1210, "column": 35 }, "identifierName": "i" @@ -52366,15 +52449,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 46242, - "end": 46243, + "start": 46895, + "end": 46896, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 38 }, "end": { - "line": 1209, + "line": 1210, "column": 39 } }, @@ -52389,29 +52472,29 @@ }, "right": { "type": "MemberExpression", - "start": 46247, - "end": 46259, + "start": 46900, + "end": 46912, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 43 }, "end": { - "line": 1209, + "line": 1210, "column": 55 } }, "object": { "type": "Identifier", - "start": 46247, - "end": 46256, + "start": 46900, + "end": 46909, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 43 }, "end": { - "line": 1209, + "line": 1210, "column": 52 }, "identifierName": "tempVec4b" @@ -52420,15 +52503,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46257, - "end": 46258, + "start": 46910, + "end": 46911, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 53 }, "end": { - "line": 1209, + "line": 1210, "column": 54 } }, @@ -52444,58 +52527,58 @@ }, { "type": "ExpressionStatement", - "start": 46285, - "end": 46317, + "start": 46938, + "end": 46970, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 24 }, "end": { - "line": 1210, + "line": 1211, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 46285, - "end": 46316, + "start": 46938, + "end": 46969, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 24 }, "end": { - "line": 1210, + "line": 1211, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46285, - "end": 46301, + "start": 46938, + "end": 46954, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 24 }, "end": { - "line": 1210, + "line": 1211, "column": 40 } }, "object": { "type": "Identifier", - "start": 46285, - "end": 46294, + "start": 46938, + "end": 46947, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 24 }, "end": { - "line": 1210, + "line": 1211, "column": 33 }, "identifierName": "positions" @@ -52504,29 +52587,29 @@ }, "property": { "type": "BinaryExpression", - "start": 46295, - "end": 46300, + "start": 46948, + "end": 46953, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 34 }, "end": { - "line": 1210, + "line": 1211, "column": 39 } }, "left": { "type": "Identifier", - "start": 46295, - "end": 46296, + "start": 46948, + "end": 46949, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 34 }, "end": { - "line": 1210, + "line": 1211, "column": 35 }, "identifierName": "i" @@ -52536,15 +52619,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 46299, - "end": 46300, + "start": 46952, + "end": 46953, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 38 }, "end": { - "line": 1210, + "line": 1211, "column": 39 } }, @@ -52559,29 +52642,29 @@ }, "right": { "type": "MemberExpression", - "start": 46304, - "end": 46316, + "start": 46957, + "end": 46969, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 43 }, "end": { - "line": 1210, + "line": 1211, "column": 55 } }, "object": { "type": "Identifier", - "start": 46304, - "end": 46313, + "start": 46957, + "end": 46966, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 43 }, "end": { - "line": 1210, + "line": 1211, "column": 52 }, "identifierName": "tempVec4b" @@ -52590,15 +52673,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46314, - "end": 46315, + "start": 46967, + "end": 46968, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 53 }, "end": { - "line": 1210, + "line": 1211, "column": 54 } }, @@ -52614,58 +52697,58 @@ }, { "type": "ExpressionStatement", - "start": 46342, - "end": 46374, + "start": 46995, + "end": 47027, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 24 }, "end": { - "line": 1211, + "line": 1212, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 46342, - "end": 46373, + "start": 46995, + "end": 47026, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 24 }, "end": { - "line": 1211, + "line": 1212, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46342, - "end": 46358, + "start": 46995, + "end": 47011, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 24 }, "end": { - "line": 1211, + "line": 1212, "column": 40 } }, "object": { "type": "Identifier", - "start": 46342, - "end": 46351, + "start": 46995, + "end": 47004, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 24 }, "end": { - "line": 1211, + "line": 1212, "column": 33 }, "identifierName": "positions" @@ -52674,29 +52757,29 @@ }, "property": { "type": "BinaryExpression", - "start": 46352, - "end": 46357, + "start": 47005, + "end": 47010, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 34 }, "end": { - "line": 1211, + "line": 1212, "column": 39 } }, "left": { "type": "Identifier", - "start": 46352, - "end": 46353, + "start": 47005, + "end": 47006, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 34 }, "end": { - "line": 1211, + "line": 1212, "column": 35 }, "identifierName": "i" @@ -52706,15 +52789,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 46356, - "end": 46357, + "start": 47009, + "end": 47010, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 38 }, "end": { - "line": 1211, + "line": 1212, "column": 39 } }, @@ -52729,29 +52812,29 @@ }, "right": { "type": "MemberExpression", - "start": 46361, - "end": 46373, + "start": 47014, + "end": 47026, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 43 }, "end": { - "line": 1211, + "line": 1212, "column": 55 } }, "object": { "type": "Identifier", - "start": 46361, - "end": 46370, + "start": 47014, + "end": 47023, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 43 }, "end": { - "line": 1211, + "line": 1212, "column": 52 }, "identifierName": "tempVec4b" @@ -52760,15 +52843,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46371, - "end": 46372, + "start": 47024, + "end": 47025, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 53 }, "end": { - "line": 1211, + "line": 1212, "column": 54 } }, @@ -52806,15 +52889,15 @@ }, { "type": "ClassMethod", - "start": 46450, - "end": 47330, + "start": 47103, + "end": 47983, "loc": { "start": { - "line": 1218, + "line": 1219, "column": 4 }, "end": { - "line": 1238, + "line": 1239, "column": 5 } }, @@ -52822,15 +52905,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 46450, - "end": 46474, + "start": 47103, + "end": 47127, "loc": { "start": { - "line": 1218, + "line": 1219, "column": 4 }, "end": { - "line": 1218, + "line": 1219, "column": 28 }, "identifierName": "_bakeAndOctEncodeNormals" @@ -52845,73 +52928,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 46477, - "end": 47330, + "start": 47130, + "end": 47983, "loc": { "start": { - "line": 1218, + "line": 1219, "column": 31 }, "end": { - "line": 1238, + "line": 1239, "column": 5 } }, "body": [ { "type": "ForStatement", - "start": 46488, - "end": 47324, + "start": 47141, + "end": 47977, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 8 }, "end": { - "line": 1237, + "line": 1238, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 46493, - "end": 46532, + "start": 47146, + "end": 47185, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 13 }, "end": { - "line": 1220, + "line": 1221, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 46497, - "end": 46502, + "start": 47150, + "end": 47155, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 17 }, "end": { - "line": 1220, + "line": 1221, "column": 22 } }, "id": { "type": "Identifier", - "start": 46497, - "end": 46498, + "start": 47150, + "end": 47151, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 17 }, "end": { - "line": 1220, + "line": 1221, "column": 18 }, "identifierName": "i" @@ -52920,15 +53003,15 @@ }, "init": { "type": "NumericLiteral", - "start": 46501, - "end": 46502, + "start": 47154, + "end": 47155, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 21 }, "end": { - "line": 1220, + "line": 1221, "column": 22 } }, @@ -52941,29 +53024,29 @@ }, { "type": "VariableDeclarator", - "start": 46504, - "end": 46532, + "start": 47157, + "end": 47185, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 24 }, "end": { - "line": 1220, + "line": 1221, "column": 52 } }, "id": { "type": "Identifier", - "start": 46504, - "end": 46507, + "start": 47157, + "end": 47160, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 24 }, "end": { - "line": 1220, + "line": 1221, "column": 27 }, "identifierName": "len" @@ -52972,58 +53055,58 @@ }, "init": { "type": "MemberExpression", - "start": 46510, - "end": 46532, + "start": 47163, + "end": 47185, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 30 }, "end": { - "line": 1220, + "line": 1221, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 46510, - "end": 46525, + "start": 47163, + "end": 47178, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 30 }, "end": { - "line": 1220, + "line": 1221, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 46510, - "end": 46514, + "start": 47163, + "end": 47167, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 30 }, "end": { - "line": 1220, + "line": 1221, "column": 34 } } }, "property": { "type": "Identifier", - "start": 46515, - "end": 46525, + "start": 47168, + "end": 47178, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 35 }, "end": { - "line": 1220, + "line": 1221, "column": 45 }, "identifierName": "meshesList" @@ -53034,15 +53117,15 @@ }, "property": { "type": "Identifier", - "start": 46526, - "end": 46532, + "start": 47179, + "end": 47185, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 46 }, "end": { - "line": 1220, + "line": 1221, "column": 52 }, "identifierName": "length" @@ -53057,29 +53140,29 @@ }, "test": { "type": "BinaryExpression", - "start": 46534, - "end": 46541, + "start": 47187, + "end": 47194, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 54 }, "end": { - "line": 1220, + "line": 1221, "column": 61 } }, "left": { "type": "Identifier", - "start": 46534, - "end": 46535, + "start": 47187, + "end": 47188, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 54 }, "end": { - "line": 1220, + "line": 1221, "column": 55 }, "identifierName": "i" @@ -53089,15 +53172,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 46538, - "end": 46541, + "start": 47191, + "end": 47194, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 58 }, "end": { - "line": 1220, + "line": 1221, "column": 61 }, "identifierName": "len" @@ -53107,15 +53190,15 @@ }, "update": { "type": "UpdateExpression", - "start": 46543, - "end": 46546, + "start": 47196, + "end": 47199, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 63 }, "end": { - "line": 1220, + "line": 1221, "column": 66 } }, @@ -53123,15 +53206,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 46543, - "end": 46544, + "start": 47196, + "end": 47197, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 63 }, "end": { - "line": 1220, + "line": 1221, "column": 64 }, "identifierName": "i" @@ -53141,59 +53224,59 @@ }, "body": { "type": "BlockStatement", - "start": 46548, - "end": 47324, + "start": 47201, + "end": 47977, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 68 }, "end": { - "line": 1237, + "line": 1238, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 46563, - "end": 46595, + "start": 47216, + "end": 47248, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 12 }, "end": { - "line": 1222, + "line": 1223, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 46569, - "end": 46594, + "start": 47222, + "end": 47247, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 18 }, "end": { - "line": 1222, + "line": 1223, "column": 43 } }, "id": { "type": "Identifier", - "start": 46569, - "end": 46573, + "start": 47222, + "end": 47226, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 18 }, "end": { - "line": 1222, + "line": 1223, "column": 22 }, "identifierName": "mesh" @@ -53202,58 +53285,58 @@ }, "init": { "type": "MemberExpression", - "start": 46576, - "end": 46594, + "start": 47229, + "end": 47247, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 25 }, "end": { - "line": 1222, + "line": 1223, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 46576, - "end": 46591, + "start": 47229, + "end": 47244, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 25 }, "end": { - "line": 1222, + "line": 1223, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 46576, - "end": 46580, + "start": 47229, + "end": 47233, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 25 }, "end": { - "line": 1222, + "line": 1223, "column": 29 } } }, "property": { "type": "Identifier", - "start": 46581, - "end": 46591, + "start": 47234, + "end": 47244, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 30 }, "end": { - "line": 1222, + "line": 1223, "column": 40 }, "identifierName": "meshesList" @@ -53264,15 +53347,15 @@ }, "property": { "type": "Identifier", - "start": 46592, - "end": 46593, + "start": 47245, + "end": 47246, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 41 }, "end": { - "line": 1222, + "line": 1223, "column": 42 }, "identifierName": "i" @@ -53287,44 +53370,44 @@ }, { "type": "VariableDeclaration", - "start": 46608, - "end": 46639, + "start": 47261, + "end": 47292, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 12 }, "end": { - "line": 1223, + "line": 1224, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 46614, - "end": 46638, + "start": 47267, + "end": 47291, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 18 }, "end": { - "line": 1223, + "line": 1224, "column": 42 } }, "id": { "type": "Identifier", - "start": 46614, - "end": 46622, + "start": 47267, + "end": 47275, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 18 }, "end": { - "line": 1223, + "line": 1224, "column": 26 }, "identifierName": "geometry" @@ -53333,29 +53416,29 @@ }, "init": { "type": "MemberExpression", - "start": 46625, - "end": 46638, + "start": 47278, + "end": 47291, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 29 }, "end": { - "line": 1223, + "line": 1224, "column": 42 } }, "object": { "type": "Identifier", - "start": 46625, - "end": 46629, + "start": 47278, + "end": 47282, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 29 }, "end": { - "line": 1223, + "line": 1224, "column": 33 }, "identifierName": "mesh" @@ -53364,15 +53447,15 @@ }, "property": { "type": "Identifier", - "start": 46630, - "end": 46638, + "start": 47283, + "end": 47291, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 34 }, "end": { - "line": 1223, + "line": 1224, "column": 42 }, "identifierName": "geometry" @@ -53387,57 +53470,57 @@ }, { "type": "IfStatement", - "start": 46653, - "end": 47314, + "start": 47306, + "end": 47967, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 12 }, "end": { - "line": 1236, + "line": 1237, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 46657, - "end": 46704, + "start": 47310, + "end": 47357, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 16 }, "end": { - "line": 1225, + "line": 1226, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 46657, - "end": 46673, + "start": 47310, + "end": 47326, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 16 }, "end": { - "line": 1225, + "line": 1226, "column": 32 } }, "object": { "type": "Identifier", - "start": 46657, - "end": 46665, + "start": 47310, + "end": 47318, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 16 }, "end": { - "line": 1225, + "line": 1226, "column": 24 }, "identifierName": "geometry" @@ -53446,15 +53529,15 @@ }, "property": { "type": "Identifier", - "start": 46666, - "end": 46673, + "start": 47319, + "end": 47326, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 25 }, "end": { - "line": 1225, + "line": 1226, "column": 32 }, "identifierName": "normals" @@ -53466,15 +53549,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 46677, - "end": 46704, + "start": 47330, + "end": 47357, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 36 }, "end": { - "line": 1225, + "line": 1226, "column": 63 } }, @@ -53482,29 +53565,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 46678, - "end": 46704, + "start": 47331, + "end": 47357, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 37 }, "end": { - "line": 1225, + "line": 1226, "column": 63 } }, "object": { "type": "Identifier", - "start": 46678, - "end": 46686, + "start": 47331, + "end": 47339, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 37 }, "end": { - "line": 1225, + "line": 1226, "column": 45 }, "identifierName": "geometry" @@ -53513,15 +53596,15 @@ }, "property": { "type": "Identifier", - "start": 46687, - "end": 46704, + "start": 47340, + "end": 47357, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 46 }, "end": { - "line": 1225, + "line": 1226, "column": 63 }, "identifierName": "normalsOctEncoded" @@ -53537,73 +53620,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 46706, - "end": 47314, + "start": 47359, + "end": 47967, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 65 }, "end": { - "line": 1236, + "line": 1237, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 46725, - "end": 46793, + "start": 47378, + "end": 47446, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 16 }, "end": { - "line": 1227, + "line": 1228, "column": 84 } }, "expression": { "type": "AssignmentExpression", - "start": 46725, - "end": 46792, + "start": 47378, + "end": 47445, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 16 }, "end": { - "line": 1227, + "line": 1228, "column": 83 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46725, - "end": 46751, + "start": 47378, + "end": 47404, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 16 }, "end": { - "line": 1227, + "line": 1228, "column": 42 } }, "object": { "type": "Identifier", - "start": 46725, - "end": 46733, + "start": 47378, + "end": 47386, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 16 }, "end": { - "line": 1227, + "line": 1228, "column": 24 }, "identifierName": "geometry" @@ -53612,15 +53695,15 @@ }, "property": { "type": "Identifier", - "start": 46734, - "end": 46751, + "start": 47387, + "end": 47404, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 25 }, "end": { - "line": 1227, + "line": 1228, "column": 42 }, "identifierName": "normalsOctEncoded" @@ -53631,29 +53714,29 @@ }, "right": { "type": "NewExpression", - "start": 46754, - "end": 46792, + "start": 47407, + "end": 47445, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 45 }, "end": { - "line": 1227, + "line": 1228, "column": 83 } }, "callee": { "type": "Identifier", - "start": 46758, - "end": 46767, + "start": 47411, + "end": 47420, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 49 }, "end": { - "line": 1227, + "line": 1228, "column": 58 }, "identifierName": "Int8Array" @@ -53663,43 +53746,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 46768, - "end": 46791, + "start": 47421, + "end": 47444, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 59 }, "end": { - "line": 1227, + "line": 1228, "column": 82 } }, "object": { "type": "MemberExpression", - "start": 46768, - "end": 46784, + "start": 47421, + "end": 47437, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 59 }, "end": { - "line": 1227, + "line": 1228, "column": 75 } }, "object": { "type": "Identifier", - "start": 46768, - "end": 46776, + "start": 47421, + "end": 47429, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 59 }, "end": { - "line": 1227, + "line": 1228, "column": 67 }, "identifierName": "geometry" @@ -53708,15 +53791,15 @@ }, "property": { "type": "Identifier", - "start": 46777, - "end": 46784, + "start": 47430, + "end": 47437, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 68 }, "end": { - "line": 1227, + "line": 1228, "column": 75 }, "identifierName": "normals" @@ -53727,15 +53810,15 @@ }, "property": { "type": "Identifier", - "start": 46785, - "end": 46791, + "start": 47438, + "end": 47444, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 76 }, "end": { - "line": 1227, + "line": 1228, "column": 82 }, "identifierName": "length" @@ -53750,57 +53833,57 @@ }, { "type": "IfStatement", - "start": 46811, - "end": 47300, + "start": 47464, + "end": 47953, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 16 }, "end": { - "line": 1235, + "line": 1236, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 46815, - "end": 46840, + "start": 47468, + "end": 47493, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 20 }, "end": { - "line": 1229, + "line": 1230, "column": 45 } }, "left": { "type": "MemberExpression", - "start": 46815, - "end": 46836, + "start": 47468, + "end": 47489, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 20 }, "end": { - "line": 1229, + "line": 1230, "column": 41 } }, "object": { "type": "Identifier", - "start": 46815, - "end": 46823, + "start": 47468, + "end": 47476, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 20 }, "end": { - "line": 1229, + "line": 1230, "column": 28 }, "identifierName": "geometry" @@ -53809,15 +53892,15 @@ }, "property": { "type": "Identifier", - "start": 46824, - "end": 46836, + "start": 47477, + "end": 47489, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 29 }, "end": { - "line": 1229, + "line": 1230, "column": 41 }, "identifierName": "numInstances" @@ -53829,15 +53912,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 46839, - "end": 46840, + "start": 47492, + "end": 47493, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 44 }, "end": { - "line": 1229, + "line": 1230, "column": 45 } }, @@ -53850,72 +53933,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 46842, - "end": 46994, + "start": 47495, + "end": 47647, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 47 }, "end": { - "line": 1232, + "line": 1233, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 46864, - "end": 46975, + "start": 47517, + "end": 47628, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 20 }, "end": { - "line": 1230, + "line": 1231, "column": 131 } }, "expression": { "type": "CallExpression", - "start": 46864, - "end": 46974, + "start": 47517, + "end": 47627, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 20 }, "end": { - "line": 1230, + "line": 1231, "column": 130 } }, "callee": { "type": "MemberExpression", - "start": 46864, - "end": 46900, + "start": 47517, + "end": 47553, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 20 }, "end": { - "line": 1230, + "line": 1231, "column": 56 } }, "object": { "type": "Identifier", - "start": 46864, - "end": 46883, + "start": 47517, + "end": 47536, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 20 }, "end": { - "line": 1230, + "line": 1231, "column": 39 }, "identifierName": "geometryCompression" @@ -53924,15 +54007,15 @@ }, "property": { "type": "Identifier", - "start": 46884, - "end": 46900, + "start": 47537, + "end": 47553, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 40 }, "end": { - "line": 1230, + "line": 1231, "column": 56 }, "identifierName": "octEncodeNormals" @@ -53944,29 +54027,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 46901, - "end": 46917, + "start": 47554, + "end": 47570, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 57 }, "end": { - "line": 1230, + "line": 1231, "column": 73 } }, "object": { "type": "Identifier", - "start": 46901, - "end": 46909, + "start": 47554, + "end": 47562, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 57 }, "end": { - "line": 1230, + "line": 1231, "column": 65 }, "identifierName": "geometry" @@ -53975,15 +54058,15 @@ }, "property": { "type": "Identifier", - "start": 46910, - "end": 46917, + "start": 47563, + "end": 47570, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 66 }, "end": { - "line": 1230, + "line": 1231, "column": 73 }, "identifierName": "normals" @@ -53994,43 +54077,43 @@ }, { "type": "MemberExpression", - "start": 46919, - "end": 46942, + "start": 47572, + "end": 47595, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 75 }, "end": { - "line": 1230, + "line": 1231, "column": 98 } }, "object": { "type": "MemberExpression", - "start": 46919, - "end": 46935, + "start": 47572, + "end": 47588, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 75 }, "end": { - "line": 1230, + "line": 1231, "column": 91 } }, "object": { "type": "Identifier", - "start": 46919, - "end": 46927, + "start": 47572, + "end": 47580, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 75 }, "end": { - "line": 1230, + "line": 1231, "column": 83 }, "identifierName": "geometry" @@ -54039,15 +54122,15 @@ }, "property": { "type": "Identifier", - "start": 46928, - "end": 46935, + "start": 47581, + "end": 47588, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 84 }, "end": { - "line": 1230, + "line": 1231, "column": 91 }, "identifierName": "normals" @@ -54058,15 +54141,15 @@ }, "property": { "type": "Identifier", - "start": 46936, - "end": 46942, + "start": 47589, + "end": 47595, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 92 }, "end": { - "line": 1230, + "line": 1231, "column": 98 }, "identifierName": "length" @@ -54077,29 +54160,29 @@ }, { "type": "MemberExpression", - "start": 46944, - "end": 46970, + "start": 47597, + "end": 47623, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 100 }, "end": { - "line": 1230, + "line": 1231, "column": 126 } }, "object": { "type": "Identifier", - "start": 46944, - "end": 46952, + "start": 47597, + "end": 47605, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 100 }, "end": { - "line": 1230, + "line": 1231, "column": 108 }, "identifierName": "geometry" @@ -54108,15 +54191,15 @@ }, "property": { "type": "Identifier", - "start": 46953, - "end": 46970, + "start": 47606, + "end": 47623, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 109 }, "end": { - "line": 1230, + "line": 1231, "column": 126 }, "identifierName": "normalsOctEncoded" @@ -54127,15 +54210,15 @@ }, { "type": "NumericLiteral", - "start": 46972, - "end": 46973, + "start": 47625, + "end": 47626, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 128 }, "end": { - "line": 1230, + "line": 1231, "column": 129 } }, @@ -54153,59 +54236,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 47000, - "end": 47300, + "start": 47653, + "end": 47953, "loc": { "start": { - "line": 1232, + "line": 1233, "column": 23 }, "end": { - "line": 1235, + "line": 1236, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 47022, - "end": 47119, + "start": 47675, + "end": 47772, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 20 }, "end": { - "line": 1233, + "line": 1234, "column": 117 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47028, - "end": 47118, + "start": 47681, + "end": 47771, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 26 }, "end": { - "line": 1233, + "line": 1234, "column": 116 } }, "id": { "type": "Identifier", - "start": 47028, - "end": 47045, + "start": 47681, + "end": 47698, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 26 }, "end": { - "line": 1233, + "line": 1234, "column": 43 }, "identifierName": "modelNormalMatrix" @@ -54214,43 +54297,43 @@ }, "init": { "type": "CallExpression", - "start": 47048, - "end": 47118, + "start": 47701, + "end": 47771, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 46 }, "end": { - "line": 1233, + "line": 1234, "column": 116 } }, "callee": { "type": "MemberExpression", - "start": 47048, - "end": 47064, + "start": 47701, + "end": 47717, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 46 }, "end": { - "line": 1233, + "line": 1234, "column": 62 } }, "object": { "type": "Identifier", - "start": 47048, - "end": 47052, + "start": 47701, + "end": 47705, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 46 }, "end": { - "line": 1233, + "line": 1234, "column": 50 }, "identifierName": "math" @@ -54259,15 +54342,15 @@ }, "property": { "type": "Identifier", - "start": 47053, - "end": 47064, + "start": 47706, + "end": 47717, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 51 }, "end": { - "line": 1233, + "line": 1234, "column": 62 }, "identifierName": "inverseMat4" @@ -54279,43 +54362,43 @@ "arguments": [ { "type": "CallExpression", - "start": 47065, - "end": 47106, + "start": 47718, + "end": 47759, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 63 }, "end": { - "line": 1233, + "line": 1234, "column": 104 } }, "callee": { "type": "MemberExpression", - "start": 47065, - "end": 47083, + "start": 47718, + "end": 47736, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 63 }, "end": { - "line": 1233, + "line": 1234, "column": 81 } }, "object": { "type": "Identifier", - "start": 47065, - "end": 47069, + "start": 47718, + "end": 47722, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 63 }, "end": { - "line": 1233, + "line": 1234, "column": 67 }, "identifierName": "math" @@ -54324,15 +54407,15 @@ }, "property": { "type": "Identifier", - "start": 47070, - "end": 47083, + "start": 47723, + "end": 47736, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 68 }, "end": { - "line": 1233, + "line": 1234, "column": 81 }, "identifierName": "transposeMat4" @@ -54344,29 +54427,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 47084, - "end": 47095, + "start": 47737, + "end": 47748, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 82 }, "end": { - "line": 1233, + "line": 1234, "column": 93 } }, "object": { "type": "Identifier", - "start": 47084, - "end": 47088, + "start": 47737, + "end": 47741, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 82 }, "end": { - "line": 1233, + "line": 1234, "column": 86 }, "identifierName": "mesh" @@ -54375,15 +54458,15 @@ }, "property": { "type": "Identifier", - "start": 47089, - "end": 47095, + "start": 47742, + "end": 47748, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 87 }, "end": { - "line": 1233, + "line": 1234, "column": 93 }, "identifierName": "matrix" @@ -54394,15 +54477,15 @@ }, { "type": "Identifier", - "start": 47097, - "end": 47105, + "start": 47750, + "end": 47758, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 95 }, "end": { - "line": 1233, + "line": 1234, "column": 103 }, "identifierName": "tempMat4" @@ -54413,15 +54496,15 @@ }, { "type": "Identifier", - "start": 47108, - "end": 47117, + "start": 47761, + "end": 47770, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 106 }, "end": { - "line": 1233, + "line": 1234, "column": 115 }, "identifierName": "tempMat4b" @@ -54436,57 +54519,57 @@ }, { "type": "ExpressionStatement", - "start": 47140, - "end": 47282, + "start": 47793, + "end": 47935, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 20 }, "end": { - "line": 1234, + "line": 1235, "column": 162 } }, "expression": { "type": "CallExpression", - "start": 47140, - "end": 47281, + "start": 47793, + "end": 47934, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 20 }, "end": { - "line": 1234, + "line": 1235, "column": 161 } }, "callee": { "type": "MemberExpression", - "start": 47140, - "end": 47188, + "start": 47793, + "end": 47841, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 20 }, "end": { - "line": 1234, + "line": 1235, "column": 68 } }, "object": { "type": "Identifier", - "start": 47140, - "end": 47159, + "start": 47793, + "end": 47812, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 20 }, "end": { - "line": 1234, + "line": 1235, "column": 39 }, "identifierName": "geometryCompression" @@ -54495,15 +54578,15 @@ }, "property": { "type": "Identifier", - "start": 47160, - "end": 47188, + "start": 47813, + "end": 47841, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 40 }, "end": { - "line": 1234, + "line": 1235, "column": 68 }, "identifierName": "transformAndOctEncodeNormals" @@ -54515,15 +54598,15 @@ "arguments": [ { "type": "Identifier", - "start": 47189, - "end": 47206, + "start": 47842, + "end": 47859, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 69 }, "end": { - "line": 1234, + "line": 1235, "column": 86 }, "identifierName": "modelNormalMatrix" @@ -54532,29 +54615,29 @@ }, { "type": "MemberExpression", - "start": 47208, - "end": 47224, + "start": 47861, + "end": 47877, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 88 }, "end": { - "line": 1234, + "line": 1235, "column": 104 } }, "object": { "type": "Identifier", - "start": 47208, - "end": 47216, + "start": 47861, + "end": 47869, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 88 }, "end": { - "line": 1234, + "line": 1235, "column": 96 }, "identifierName": "geometry" @@ -54563,15 +54646,15 @@ }, "property": { "type": "Identifier", - "start": 47217, - "end": 47224, + "start": 47870, + "end": 47877, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 97 }, "end": { - "line": 1234, + "line": 1235, "column": 104 }, "identifierName": "normals" @@ -54582,43 +54665,43 @@ }, { "type": "MemberExpression", - "start": 47226, - "end": 47249, + "start": 47879, + "end": 47902, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 106 }, "end": { - "line": 1234, + "line": 1235, "column": 129 } }, "object": { "type": "MemberExpression", - "start": 47226, - "end": 47242, + "start": 47879, + "end": 47895, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 106 }, "end": { - "line": 1234, + "line": 1235, "column": 122 } }, "object": { "type": "Identifier", - "start": 47226, - "end": 47234, + "start": 47879, + "end": 47887, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 106 }, "end": { - "line": 1234, + "line": 1235, "column": 114 }, "identifierName": "geometry" @@ -54627,15 +54710,15 @@ }, "property": { "type": "Identifier", - "start": 47235, - "end": 47242, + "start": 47888, + "end": 47895, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 115 }, "end": { - "line": 1234, + "line": 1235, "column": 122 }, "identifierName": "normals" @@ -54646,15 +54729,15 @@ }, "property": { "type": "Identifier", - "start": 47243, - "end": 47249, + "start": 47896, + "end": 47902, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 123 }, "end": { - "line": 1234, + "line": 1235, "column": 129 }, "identifierName": "length" @@ -54665,29 +54748,29 @@ }, { "type": "MemberExpression", - "start": 47251, - "end": 47277, + "start": 47904, + "end": 47930, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 131 }, "end": { - "line": 1234, + "line": 1235, "column": 157 } }, "object": { "type": "Identifier", - "start": 47251, - "end": 47259, + "start": 47904, + "end": 47912, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 131 }, "end": { - "line": 1234, + "line": 1235, "column": 139 }, "identifierName": "geometry" @@ -54696,15 +54779,15 @@ }, "property": { "type": "Identifier", - "start": 47260, - "end": 47277, + "start": 47913, + "end": 47930, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 140 }, "end": { - "line": 1234, + "line": 1235, "column": 157 }, "identifierName": "normalsOctEncoded" @@ -54715,15 +54798,15 @@ }, { "type": "NumericLiteral", - "start": 47279, - "end": 47280, + "start": 47932, + "end": 47933, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 159 }, "end": { - "line": 1234, + "line": 1235, "column": 160 } }, @@ -54755,15 +54838,15 @@ }, { "type": "ClassMethod", - "start": 47336, - "end": 48859, + "start": 47989, + "end": 49512, "loc": { "start": { - "line": 1240, + "line": 1241, "column": 4 }, "end": { - "line": 1280, + "line": 1281, "column": 5 } }, @@ -54771,15 +54854,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 47336, - "end": 47354, + "start": 47989, + "end": 48007, "loc": { "start": { - "line": 1240, + "line": 1241, "column": 4 }, "end": { - "line": 1240, + "line": 1241, "column": 22 }, "identifierName": "_createEntityAABBs" @@ -54794,73 +54877,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 47357, - "end": 48859, + "start": 48010, + "end": 49512, "loc": { "start": { - "line": 1240, + "line": 1241, "column": 25 }, "end": { - "line": 1280, + "line": 1281, "column": 5 } }, "body": [ { "type": "ForStatement", - "start": 47368, - "end": 48853, + "start": 48021, + "end": 49506, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 8 }, "end": { - "line": 1279, + "line": 1280, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 47373, - "end": 47414, + "start": 48026, + "end": 48067, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 13 }, "end": { - "line": 1242, + "line": 1243, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47377, - "end": 47382, + "start": 48030, + "end": 48035, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 17 }, "end": { - "line": 1242, + "line": 1243, "column": 22 } }, "id": { "type": "Identifier", - "start": 47377, - "end": 47378, + "start": 48030, + "end": 48031, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 17 }, "end": { - "line": 1242, + "line": 1243, "column": 18 }, "identifierName": "i" @@ -54869,15 +54952,15 @@ }, "init": { "type": "NumericLiteral", - "start": 47381, - "end": 47382, + "start": 48034, + "end": 48035, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 21 }, "end": { - "line": 1242, + "line": 1243, "column": 22 } }, @@ -54890,29 +54973,29 @@ }, { "type": "VariableDeclarator", - "start": 47384, - "end": 47414, + "start": 48037, + "end": 48067, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 24 }, "end": { - "line": 1242, + "line": 1243, "column": 54 } }, "id": { "type": "Identifier", - "start": 47384, - "end": 47387, + "start": 48037, + "end": 48040, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 24 }, "end": { - "line": 1242, + "line": 1243, "column": 27 }, "identifierName": "len" @@ -54921,58 +55004,58 @@ }, "init": { "type": "MemberExpression", - "start": 47390, - "end": 47414, + "start": 48043, + "end": 48067, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 30 }, "end": { - "line": 1242, + "line": 1243, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 47390, - "end": 47407, + "start": 48043, + "end": 48060, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 30 }, "end": { - "line": 1242, + "line": 1243, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 47390, - "end": 47394, + "start": 48043, + "end": 48047, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 30 }, "end": { - "line": 1242, + "line": 1243, "column": 34 } } }, "property": { "type": "Identifier", - "start": 47395, - "end": 47407, + "start": 48048, + "end": 48060, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 35 }, "end": { - "line": 1242, + "line": 1243, "column": 47 }, "identifierName": "entitiesList" @@ -54983,15 +55066,15 @@ }, "property": { "type": "Identifier", - "start": 47408, - "end": 47414, + "start": 48061, + "end": 48067, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 48 }, "end": { - "line": 1242, + "line": 1243, "column": 54 }, "identifierName": "length" @@ -55006,29 +55089,29 @@ }, "test": { "type": "BinaryExpression", - "start": 47416, - "end": 47423, + "start": 48069, + "end": 48076, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 56 }, "end": { - "line": 1242, + "line": 1243, "column": 63 } }, "left": { "type": "Identifier", - "start": 47416, - "end": 47417, + "start": 48069, + "end": 48070, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 56 }, "end": { - "line": 1242, + "line": 1243, "column": 57 }, "identifierName": "i" @@ -55038,15 +55121,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 47420, - "end": 47423, + "start": 48073, + "end": 48076, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 60 }, "end": { - "line": 1242, + "line": 1243, "column": 63 }, "identifierName": "len" @@ -55056,15 +55139,15 @@ }, "update": { "type": "UpdateExpression", - "start": 47425, - "end": 47428, + "start": 48078, + "end": 48081, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 65 }, "end": { - "line": 1242, + "line": 1243, "column": 68 } }, @@ -55072,15 +55155,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 47425, - "end": 47426, + "start": 48078, + "end": 48079, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 65 }, "end": { - "line": 1242, + "line": 1243, "column": 66 }, "identifierName": "i" @@ -55090,59 +55173,59 @@ }, "body": { "type": "BlockStatement", - "start": 47430, - "end": 48853, + "start": 48083, + "end": 49506, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 70 }, "end": { - "line": 1279, + "line": 1280, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 47445, - "end": 47481, + "start": 48098, + "end": 48134, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 12 }, "end": { - "line": 1244, + "line": 1245, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47451, - "end": 47480, + "start": 48104, + "end": 48133, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 18 }, "end": { - "line": 1244, + "line": 1245, "column": 47 } }, "id": { "type": "Identifier", - "start": 47451, - "end": 47457, + "start": 48104, + "end": 48110, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 18 }, "end": { - "line": 1244, + "line": 1245, "column": 24 }, "identifierName": "entity" @@ -55151,58 +55234,58 @@ }, "init": { "type": "MemberExpression", - "start": 47460, - "end": 47480, + "start": 48113, + "end": 48133, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 27 }, "end": { - "line": 1244, + "line": 1245, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 47460, - "end": 47477, + "start": 48113, + "end": 48130, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 27 }, "end": { - "line": 1244, + "line": 1245, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 47460, - "end": 47464, + "start": 48113, + "end": 48117, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 27 }, "end": { - "line": 1244, + "line": 1245, "column": 31 } } }, "property": { "type": "Identifier", - "start": 47465, - "end": 47477, + "start": 48118, + "end": 48130, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 32 }, "end": { - "line": 1244, + "line": 1245, "column": 44 }, "identifierName": "entitiesList" @@ -55213,15 +55296,15 @@ }, "property": { "type": "Identifier", - "start": 47478, - "end": 47479, + "start": 48131, + "end": 48132, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 45 }, "end": { - "line": 1244, + "line": 1245, "column": 46 }, "identifierName": "i" @@ -55236,44 +55319,44 @@ }, { "type": "VariableDeclaration", - "start": 47494, - "end": 47525, + "start": 48147, + "end": 48178, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 12 }, "end": { - "line": 1245, + "line": 1246, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47500, - "end": 47524, + "start": 48153, + "end": 48177, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 18 }, "end": { - "line": 1245, + "line": 1246, "column": 42 } }, "id": { "type": "Identifier", - "start": 47500, - "end": 47510, + "start": 48153, + "end": 48163, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 18 }, "end": { - "line": 1245, + "line": 1246, "column": 28 }, "identifierName": "entityAABB" @@ -55282,29 +55365,29 @@ }, "init": { "type": "MemberExpression", - "start": 47513, - "end": 47524, + "start": 48166, + "end": 48177, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 31 }, "end": { - "line": 1245, + "line": 1246, "column": 42 } }, "object": { "type": "Identifier", - "start": 47513, - "end": 47519, + "start": 48166, + "end": 48172, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 31 }, "end": { - "line": 1245, + "line": 1246, "column": 37 }, "identifierName": "entity" @@ -55313,15 +55396,15 @@ }, "property": { "type": "Identifier", - "start": 47520, - "end": 47524, + "start": 48173, + "end": 48177, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 38 }, "end": { - "line": 1245, + "line": 1246, "column": 42 }, "identifierName": "aabb" @@ -55336,44 +55419,44 @@ }, { "type": "VariableDeclaration", - "start": 47538, - "end": 47567, + "start": 48191, + "end": 48220, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 12 }, "end": { - "line": 1246, + "line": 1247, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47544, - "end": 47566, + "start": 48197, + "end": 48219, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 18 }, "end": { - "line": 1246, + "line": 1247, "column": 40 } }, "id": { "type": "Identifier", - "start": 47544, - "end": 47550, + "start": 48197, + "end": 48203, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 18 }, "end": { - "line": 1246, + "line": 1247, "column": 24 }, "identifierName": "meshes" @@ -55382,29 +55465,29 @@ }, "init": { "type": "MemberExpression", - "start": 47553, - "end": 47566, + "start": 48206, + "end": 48219, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 27 }, "end": { - "line": 1246, + "line": 1247, "column": 40 } }, "object": { "type": "Identifier", - "start": 47553, - "end": 47559, + "start": 48206, + "end": 48212, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 27 }, "end": { - "line": 1246, + "line": 1247, "column": 33 }, "identifierName": "entity" @@ -55413,15 +55496,15 @@ }, "property": { "type": "Identifier", - "start": 47560, - "end": 47566, + "start": 48213, + "end": 48219, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 34 }, "end": { - "line": 1246, + "line": 1247, "column": 40 }, "identifierName": "meshes" @@ -55436,57 +55519,57 @@ }, { "type": "ExpressionStatement", - "start": 47581, - "end": 47612, + "start": 48234, + "end": 48265, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 12 }, "end": { - "line": 1248, + "line": 1249, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 47581, - "end": 47611, + "start": 48234, + "end": 48264, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 12 }, "end": { - "line": 1248, + "line": 1249, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 47581, - "end": 47599, + "start": 48234, + "end": 48252, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 12 }, "end": { - "line": 1248, + "line": 1249, "column": 30 } }, "object": { "type": "Identifier", - "start": 47581, - "end": 47585, + "start": 48234, + "end": 48238, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 12 }, "end": { - "line": 1248, + "line": 1249, "column": 16 }, "identifierName": "math" @@ -55495,15 +55578,15 @@ }, "property": { "type": "Identifier", - "start": 47586, - "end": 47599, + "start": 48239, + "end": 48252, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 17 }, "end": { - "line": 1248, + "line": 1249, "column": 30 }, "identifierName": "collapseAABB3" @@ -55515,15 +55598,15 @@ "arguments": [ { "type": "Identifier", - "start": 47600, - "end": 47610, + "start": 48253, + "end": 48263, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 31 }, "end": { - "line": 1248, + "line": 1249, "column": 41 }, "identifierName": "entityAABB" @@ -55535,58 +55618,58 @@ }, { "type": "ForStatement", - "start": 47626, - "end": 48843, + "start": 48279, + "end": 49496, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 12 }, "end": { - "line": 1278, + "line": 1279, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 47631, - "end": 47662, + "start": 48284, + "end": 48315, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 17 }, "end": { - "line": 1250, + "line": 1251, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47635, - "end": 47640, + "start": 48288, + "end": 48293, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 21 }, "end": { - "line": 1250, + "line": 1251, "column": 26 } }, "id": { "type": "Identifier", - "start": 47635, - "end": 47636, + "start": 48288, + "end": 48289, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 21 }, "end": { - "line": 1250, + "line": 1251, "column": 22 }, "identifierName": "j" @@ -55595,15 +55678,15 @@ }, "init": { "type": "NumericLiteral", - "start": 47639, - "end": 47640, + "start": 48292, + "end": 48293, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 25 }, "end": { - "line": 1250, + "line": 1251, "column": 26 } }, @@ -55616,29 +55699,29 @@ }, { "type": "VariableDeclarator", - "start": 47642, - "end": 47662, + "start": 48295, + "end": 48315, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 28 }, "end": { - "line": 1250, + "line": 1251, "column": 48 } }, "id": { "type": "Identifier", - "start": 47642, - "end": 47646, + "start": 48295, + "end": 48299, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 28 }, "end": { - "line": 1250, + "line": 1251, "column": 32 }, "identifierName": "lenj" @@ -55647,29 +55730,29 @@ }, "init": { "type": "MemberExpression", - "start": 47649, - "end": 47662, + "start": 48302, + "end": 48315, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 35 }, "end": { - "line": 1250, + "line": 1251, "column": 48 } }, "object": { "type": "Identifier", - "start": 47649, - "end": 47655, + "start": 48302, + "end": 48308, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 35 }, "end": { - "line": 1250, + "line": 1251, "column": 41 }, "identifierName": "meshes" @@ -55678,15 +55761,15 @@ }, "property": { "type": "Identifier", - "start": 47656, - "end": 47662, + "start": 48309, + "end": 48315, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 42 }, "end": { - "line": 1250, + "line": 1251, "column": 48 }, "identifierName": "length" @@ -55701,29 +55784,29 @@ }, "test": { "type": "BinaryExpression", - "start": 47664, - "end": 47672, + "start": 48317, + "end": 48325, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 50 }, "end": { - "line": 1250, + "line": 1251, "column": 58 } }, "left": { "type": "Identifier", - "start": 47664, - "end": 47665, + "start": 48317, + "end": 48318, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 50 }, "end": { - "line": 1250, + "line": 1251, "column": 51 }, "identifierName": "j" @@ -55733,15 +55816,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 47668, - "end": 47672, + "start": 48321, + "end": 48325, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 54 }, "end": { - "line": 1250, + "line": 1251, "column": 58 }, "identifierName": "lenj" @@ -55751,15 +55834,15 @@ }, "update": { "type": "UpdateExpression", - "start": 47674, - "end": 47677, + "start": 48327, + "end": 48330, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 60 }, "end": { - "line": 1250, + "line": 1251, "column": 63 } }, @@ -55767,15 +55850,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 47674, - "end": 47675, + "start": 48327, + "end": 48328, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 60 }, "end": { - "line": 1250, + "line": 1251, "column": 61 }, "identifierName": "j" @@ -55785,59 +55868,59 @@ }, "body": { "type": "BlockStatement", - "start": 47679, - "end": 48843, + "start": 48332, + "end": 49496, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 65 }, "end": { - "line": 1278, + "line": 1279, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 47698, - "end": 47721, + "start": 48351, + "end": 48374, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 16 }, "end": { - "line": 1252, + "line": 1253, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47704, - "end": 47720, + "start": 48357, + "end": 48373, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 22 }, "end": { - "line": 1252, + "line": 1253, "column": 38 } }, "id": { "type": "Identifier", - "start": 47704, - "end": 47708, + "start": 48357, + "end": 48361, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 22 }, "end": { - "line": 1252, + "line": 1253, "column": 26 }, "identifierName": "mesh" @@ -55846,29 +55929,29 @@ }, "init": { "type": "MemberExpression", - "start": 47711, - "end": 47720, + "start": 48364, + "end": 48373, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 29 }, "end": { - "line": 1252, + "line": 1253, "column": 38 } }, "object": { "type": "Identifier", - "start": 47711, - "end": 47717, + "start": 48364, + "end": 48370, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 29 }, "end": { - "line": 1252, + "line": 1253, "column": 35 }, "identifierName": "meshes" @@ -55877,15 +55960,15 @@ }, "property": { "type": "Identifier", - "start": 47718, - "end": 47719, + "start": 48371, + "end": 48372, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 36 }, "end": { - "line": 1252, + "line": 1253, "column": 37 }, "identifierName": "j" @@ -55900,44 +55983,44 @@ }, { "type": "VariableDeclaration", - "start": 47738, - "end": 47769, + "start": 48391, + "end": 48422, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 16 }, "end": { - "line": 1253, + "line": 1254, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47744, - "end": 47768, + "start": 48397, + "end": 48421, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 22 }, "end": { - "line": 1253, + "line": 1254, "column": 46 } }, "id": { "type": "Identifier", - "start": 47744, - "end": 47752, + "start": 48397, + "end": 48405, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 22 }, "end": { - "line": 1253, + "line": 1254, "column": 30 }, "identifierName": "geometry" @@ -55946,29 +56029,29 @@ }, "init": { "type": "MemberExpression", - "start": 47755, - "end": 47768, + "start": 48408, + "end": 48421, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 33 }, "end": { - "line": 1253, + "line": 1254, "column": 46 } }, "object": { "type": "Identifier", - "start": 47755, - "end": 47759, + "start": 48408, + "end": 48412, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 33 }, "end": { - "line": 1253, + "line": 1254, "column": 37 }, "identifierName": "mesh" @@ -55977,15 +56060,15 @@ }, "property": { "type": "Identifier", - "start": 47760, - "end": 47768, + "start": 48413, + "end": 48421, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 38 }, "end": { - "line": 1253, + "line": 1254, "column": 46 }, "identifierName": "geometry" @@ -56000,44 +56083,44 @@ }, { "type": "VariableDeclaration", - "start": 47786, - "end": 47813, + "start": 48439, + "end": 48466, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 16 }, "end": { - "line": 1254, + "line": 1255, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47792, - "end": 47812, + "start": 48445, + "end": 48465, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 22 }, "end": { - "line": 1254, + "line": 1255, "column": 42 } }, "id": { "type": "Identifier", - "start": 47792, - "end": 47798, + "start": 48445, + "end": 48451, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 22 }, "end": { - "line": 1254, + "line": 1255, "column": 28 }, "identifierName": "matrix" @@ -56046,29 +56129,29 @@ }, "init": { "type": "MemberExpression", - "start": 47801, - "end": 47812, + "start": 48454, + "end": 48465, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 31 }, "end": { - "line": 1254, + "line": 1255, "column": 42 } }, "object": { "type": "Identifier", - "start": 47801, - "end": 47805, + "start": 48454, + "end": 48458, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 31 }, "end": { - "line": 1254, + "line": 1255, "column": 35 }, "identifierName": "mesh" @@ -56077,15 +56160,15 @@ }, "property": { "type": "Identifier", - "start": 47806, - "end": 47812, + "start": 48459, + "end": 48465, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 36 }, "end": { - "line": 1254, + "line": 1255, "column": 42 }, "identifierName": "matrix" @@ -56100,57 +56183,57 @@ }, { "type": "IfStatement", - "start": 47831, - "end": 48829, + "start": 48484, + "end": 49482, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 16 }, "end": { - "line": 1277, + "line": 1278, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 47835, - "end": 47860, + "start": 48488, + "end": 48513, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 20 }, "end": { - "line": 1256, + "line": 1257, "column": 45 } }, "left": { "type": "MemberExpression", - "start": 47835, - "end": 47856, + "start": 48488, + "end": 48509, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 20 }, "end": { - "line": 1256, + "line": 1257, "column": 41 } }, "object": { "type": "Identifier", - "start": 47835, - "end": 47843, + "start": 48488, + "end": 48496, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 20 }, "end": { - "line": 1256, + "line": 1257, "column": 28 }, "identifierName": "geometry" @@ -56159,15 +56242,15 @@ }, "property": { "type": "Identifier", - "start": 47844, - "end": 47856, + "start": 48497, + "end": 48509, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 29 }, "end": { - "line": 1256, + "line": 1257, "column": 41 }, "identifierName": "numInstances" @@ -56179,15 +56262,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 47859, - "end": 47860, + "start": 48512, + "end": 48513, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 44 }, "end": { - "line": 1256, + "line": 1257, "column": 45 } }, @@ -56200,59 +56283,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 47862, - "end": 48402, + "start": 48515, + "end": 49055, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 47 }, "end": { - "line": 1268, + "line": 1269, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 47885, - "end": 47922, + "start": 48538, + "end": 48575, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 20 }, "end": { - "line": 1258, + "line": 1259, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47891, - "end": 47921, + "start": 48544, + "end": 48574, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 26 }, "end": { - "line": 1258, + "line": 1259, "column": 56 } }, "id": { "type": "Identifier", - "start": 47891, - "end": 47900, + "start": 48544, + "end": 48553, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 26 }, "end": { - "line": 1258, + "line": 1259, "column": 35 }, "identifierName": "positions" @@ -56261,29 +56344,29 @@ }, "init": { "type": "MemberExpression", - "start": 47903, - "end": 47921, + "start": 48556, + "end": 48574, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 38 }, "end": { - "line": 1258, + "line": 1259, "column": 56 } }, "object": { "type": "Identifier", - "start": 47903, - "end": 47911, + "start": 48556, + "end": 48564, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 38 }, "end": { - "line": 1258, + "line": 1259, "column": 46 }, "identifierName": "geometry" @@ -56292,15 +56375,15 @@ }, "property": { "type": "Identifier", - "start": 47912, - "end": 47921, + "start": 48565, + "end": 48574, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 47 }, "end": { - "line": 1258, + "line": 1259, "column": 56 }, "identifierName": "positions" @@ -56315,58 +56398,58 @@ }, { "type": "ForStatement", - "start": 47943, - "end": 48383, + "start": 48596, + "end": 49036, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 20 }, "end": { - "line": 1266, + "line": 1267, "column": 21 } }, "init": { "type": "VariableDeclaration", - "start": 47948, - "end": 47981, + "start": 48601, + "end": 48634, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 25 }, "end": { - "line": 1259, + "line": 1260, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47952, - "end": 47957, + "start": 48605, + "end": 48610, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 29 }, "end": { - "line": 1259, + "line": 1260, "column": 34 } }, "id": { "type": "Identifier", - "start": 47952, - "end": 47953, + "start": 48605, + "end": 48606, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 29 }, "end": { - "line": 1259, + "line": 1260, "column": 30 }, "identifierName": "i" @@ -56375,15 +56458,15 @@ }, "init": { "type": "NumericLiteral", - "start": 47956, - "end": 47957, + "start": 48609, + "end": 48610, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 33 }, "end": { - "line": 1259, + "line": 1260, "column": 34 } }, @@ -56396,29 +56479,29 @@ }, { "type": "VariableDeclarator", - "start": 47959, - "end": 47981, + "start": 48612, + "end": 48634, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 36 }, "end": { - "line": 1259, + "line": 1260, "column": 58 } }, "id": { "type": "Identifier", - "start": 47959, - "end": 47962, + "start": 48612, + "end": 48615, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 36 }, "end": { - "line": 1259, + "line": 1260, "column": 39 }, "identifierName": "len" @@ -56427,29 +56510,29 @@ }, "init": { "type": "MemberExpression", - "start": 47965, - "end": 47981, + "start": 48618, + "end": 48634, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 42 }, "end": { - "line": 1259, + "line": 1260, "column": 58 } }, "object": { "type": "Identifier", - "start": 47965, - "end": 47974, + "start": 48618, + "end": 48627, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 42 }, "end": { - "line": 1259, + "line": 1260, "column": 51 }, "identifierName": "positions" @@ -56458,15 +56541,15 @@ }, "property": { "type": "Identifier", - "start": 47975, - "end": 47981, + "start": 48628, + "end": 48634, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 52 }, "end": { - "line": 1259, + "line": 1260, "column": 58 }, "identifierName": "length" @@ -56481,29 +56564,29 @@ }, "test": { "type": "BinaryExpression", - "start": 47983, - "end": 47990, + "start": 48636, + "end": 48643, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 60 }, "end": { - "line": 1259, + "line": 1260, "column": 67 } }, "left": { "type": "Identifier", - "start": 47983, - "end": 47984, + "start": 48636, + "end": 48637, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 60 }, "end": { - "line": 1259, + "line": 1260, "column": 61 }, "identifierName": "i" @@ -56513,15 +56596,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 47987, - "end": 47990, + "start": 48640, + "end": 48643, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 64 }, "end": { - "line": 1259, + "line": 1260, "column": 67 }, "identifierName": "len" @@ -56531,30 +56614,30 @@ }, "update": { "type": "AssignmentExpression", - "start": 47992, - "end": 47998, + "start": 48645, + "end": 48651, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 69 }, "end": { - "line": 1259, + "line": 1260, "column": 75 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 47992, - "end": 47993, + "start": 48645, + "end": 48646, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 69 }, "end": { - "line": 1259, + "line": 1260, "column": 70 }, "identifierName": "i" @@ -56563,15 +56646,15 @@ }, "right": { "type": "NumericLiteral", - "start": 47997, - "end": 47998, + "start": 48650, + "end": 48651, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 74 }, "end": { - "line": 1259, + "line": 1260, "column": 75 } }, @@ -56584,73 +56667,73 @@ }, "body": { "type": "BlockStatement", - "start": 48000, - "end": 48383, + "start": 48653, + "end": 49036, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 77 }, "end": { - "line": 1266, + "line": 1267, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 48026, - "end": 48058, + "start": 48679, + "end": 48711, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 24 }, "end": { - "line": 1260, + "line": 1261, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48026, - "end": 48057, + "start": 48679, + "end": 48710, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 24 }, "end": { - "line": 1260, + "line": 1261, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48026, - "end": 48038, + "start": 48679, + "end": 48691, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 24 }, "end": { - "line": 1260, + "line": 1261, "column": 36 } }, "object": { "type": "Identifier", - "start": 48026, - "end": 48035, + "start": 48679, + "end": 48688, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 24 }, "end": { - "line": 1260, + "line": 1261, "column": 33 }, "identifierName": "tempVec4a" @@ -56659,15 +56742,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48036, - "end": 48037, + "start": 48689, + "end": 48690, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 34 }, "end": { - "line": 1260, + "line": 1261, "column": 35 } }, @@ -56681,29 +56764,29 @@ }, "right": { "type": "MemberExpression", - "start": 48041, - "end": 48057, + "start": 48694, + "end": 48710, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 39 }, "end": { - "line": 1260, + "line": 1261, "column": 55 } }, "object": { "type": "Identifier", - "start": 48041, - "end": 48050, + "start": 48694, + "end": 48703, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 39 }, "end": { - "line": 1260, + "line": 1261, "column": 48 }, "identifierName": "positions" @@ -56712,29 +56795,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48051, - "end": 48056, + "start": 48704, + "end": 48709, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 49 }, "end": { - "line": 1260, + "line": 1261, "column": 54 } }, "left": { "type": "Identifier", - "start": 48051, - "end": 48052, + "start": 48704, + "end": 48705, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 49 }, "end": { - "line": 1260, + "line": 1261, "column": 50 }, "identifierName": "i" @@ -56744,15 +56827,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48055, - "end": 48056, + "start": 48708, + "end": 48709, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 53 }, "end": { - "line": 1260, + "line": 1261, "column": 54 } }, @@ -56769,58 +56852,58 @@ }, { "type": "ExpressionStatement", - "start": 48083, - "end": 48115, + "start": 48736, + "end": 48768, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 24 }, "end": { - "line": 1261, + "line": 1262, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48083, - "end": 48114, + "start": 48736, + "end": 48767, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 24 }, "end": { - "line": 1261, + "line": 1262, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48083, - "end": 48095, + "start": 48736, + "end": 48748, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 24 }, "end": { - "line": 1261, + "line": 1262, "column": 36 } }, "object": { "type": "Identifier", - "start": 48083, - "end": 48092, + "start": 48736, + "end": 48745, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 24 }, "end": { - "line": 1261, + "line": 1262, "column": 33 }, "identifierName": "tempVec4a" @@ -56829,15 +56912,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48093, - "end": 48094, + "start": 48746, + "end": 48747, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 34 }, "end": { - "line": 1261, + "line": 1262, "column": 35 } }, @@ -56851,29 +56934,29 @@ }, "right": { "type": "MemberExpression", - "start": 48098, - "end": 48114, + "start": 48751, + "end": 48767, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 39 }, "end": { - "line": 1261, + "line": 1262, "column": 55 } }, "object": { "type": "Identifier", - "start": 48098, - "end": 48107, + "start": 48751, + "end": 48760, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 39 }, "end": { - "line": 1261, + "line": 1262, "column": 48 }, "identifierName": "positions" @@ -56882,29 +56965,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48108, - "end": 48113, + "start": 48761, + "end": 48766, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 49 }, "end": { - "line": 1261, + "line": 1262, "column": 54 } }, "left": { "type": "Identifier", - "start": 48108, - "end": 48109, + "start": 48761, + "end": 48762, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 49 }, "end": { - "line": 1261, + "line": 1262, "column": 50 }, "identifierName": "i" @@ -56914,15 +56997,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48112, - "end": 48113, + "start": 48765, + "end": 48766, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 53 }, "end": { - "line": 1261, + "line": 1262, "column": 54 } }, @@ -56939,58 +57022,58 @@ }, { "type": "ExpressionStatement", - "start": 48140, - "end": 48172, + "start": 48793, + "end": 48825, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 24 }, "end": { - "line": 1262, + "line": 1263, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48140, - "end": 48171, + "start": 48793, + "end": 48824, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 24 }, "end": { - "line": 1262, + "line": 1263, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48140, - "end": 48152, + "start": 48793, + "end": 48805, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 24 }, "end": { - "line": 1262, + "line": 1263, "column": 36 } }, "object": { "type": "Identifier", - "start": 48140, - "end": 48149, + "start": 48793, + "end": 48802, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 24 }, "end": { - "line": 1262, + "line": 1263, "column": 33 }, "identifierName": "tempVec4a" @@ -56999,15 +57082,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48150, - "end": 48151, + "start": 48803, + "end": 48804, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 34 }, "end": { - "line": 1262, + "line": 1263, "column": 35 } }, @@ -57021,29 +57104,29 @@ }, "right": { "type": "MemberExpression", - "start": 48155, - "end": 48171, + "start": 48808, + "end": 48824, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 39 }, "end": { - "line": 1262, + "line": 1263, "column": 55 } }, "object": { "type": "Identifier", - "start": 48155, - "end": 48164, + "start": 48808, + "end": 48817, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 39 }, "end": { - "line": 1262, + "line": 1263, "column": 48 }, "identifierName": "positions" @@ -57052,29 +57135,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48165, - "end": 48170, + "start": 48818, + "end": 48823, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 49 }, "end": { - "line": 1262, + "line": 1263, "column": 54 } }, "left": { "type": "Identifier", - "start": 48165, - "end": 48166, + "start": 48818, + "end": 48819, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 49 }, "end": { - "line": 1262, + "line": 1263, "column": 50 }, "identifierName": "i" @@ -57084,15 +57167,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48169, - "end": 48170, + "start": 48822, + "end": 48823, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 53 }, "end": { - "line": 1262, + "line": 1263, "column": 54 } }, @@ -57109,58 +57192,58 @@ }, { "type": "ExpressionStatement", - "start": 48197, - "end": 48214, + "start": 48850, + "end": 48867, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 24 }, "end": { - "line": 1263, + "line": 1264, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 48197, - "end": 48213, + "start": 48850, + "end": 48866, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 24 }, "end": { - "line": 1263, + "line": 1264, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48197, - "end": 48209, + "start": 48850, + "end": 48862, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 24 }, "end": { - "line": 1263, + "line": 1264, "column": 36 } }, "object": { "type": "Identifier", - "start": 48197, - "end": 48206, + "start": 48850, + "end": 48859, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 24 }, "end": { - "line": 1263, + "line": 1264, "column": 33 }, "identifierName": "tempVec4a" @@ -57169,15 +57252,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48207, - "end": 48208, + "start": 48860, + "end": 48861, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 34 }, "end": { - "line": 1263, + "line": 1264, "column": 35 } }, @@ -57191,15 +57274,15 @@ }, "right": { "type": "NumericLiteral", - "start": 48212, - "end": 48213, + "start": 48865, + "end": 48866, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 39 }, "end": { - "line": 1263, + "line": 1264, "column": 40 } }, @@ -57213,141 +57296,8 @@ }, { "type": "ExpressionStatement", - "start": 48239, - "end": 48290, - "loc": { - "start": { - "line": 1264, - "column": 24 - }, - "end": { - "line": 1264, - "column": 75 - } - }, - "expression": { - "type": "CallExpression", - "start": 48239, - "end": 48289, - "loc": { - "start": { - "line": 1264, - "column": 24 - }, - "end": { - "line": 1264, - "column": 74 - } - }, - "callee": { - "type": "MemberExpression", - "start": 48239, - "end": 48259, - "loc": { - "start": { - "line": 1264, - "column": 24 - }, - "end": { - "line": 1264, - "column": 44 - } - }, - "object": { - "type": "Identifier", - "start": 48239, - "end": 48243, - "loc": { - "start": { - "line": 1264, - "column": 24 - }, - "end": { - "line": 1264, - "column": 28 - }, - "identifierName": "math" - }, - "name": "math" - }, - "property": { - "type": "Identifier", - "start": 48244, - "end": 48259, - "loc": { - "start": { - "line": 1264, - "column": 29 - }, - "end": { - "line": 1264, - "column": 44 - }, - "identifierName": "transformPoint4" - }, - "name": "transformPoint4" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 48260, - "end": 48266, - "loc": { - "start": { - "line": 1264, - "column": 45 - }, - "end": { - "line": 1264, - "column": 51 - }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - { - "type": "Identifier", - "start": 48268, - "end": 48277, - "loc": { - "start": { - "line": 1264, - "column": 53 - }, - "end": { - "line": 1264, - "column": 62 - }, - "identifierName": "tempVec4a" - }, - "name": "tempVec4a" - }, - { - "type": "Identifier", - "start": 48279, - "end": 48288, - "loc": { - "start": { - "line": 1264, - "column": 64 - }, - "end": { - "line": 1264, - "column": 73 - }, - "identifierName": "tempVec4b" - }, - "name": "tempVec4b" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 48315, - "end": 48361, + "start": 48892, + "end": 48943, "loc": { "start": { "line": 1265, @@ -57355,13 +57305,13 @@ }, "end": { "line": 1265, - "column": 70 + "column": 75 } }, "expression": { "type": "CallExpression", - "start": 48315, - "end": 48360, + "start": 48892, + "end": 48942, "loc": { "start": { "line": 1265, @@ -57369,13 +57319,13 @@ }, "end": { "line": 1265, - "column": 69 + "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 48315, - "end": 48337, + "start": 48892, + "end": 48912, "loc": { "start": { "line": 1265, @@ -57383,13 +57333,13 @@ }, "end": { "line": 1265, - "column": 46 + "column": 44 } }, "object": { "type": "Identifier", - "start": 48315, - "end": 48319, + "start": 48892, + "end": 48896, "loc": { "start": { "line": 1265, @@ -57405,8 +57355,8 @@ }, "property": { "type": "Identifier", - "start": 48320, - "end": 48337, + "start": 48897, + "end": 48912, "loc": { "start": { "line": 1265, @@ -57414,6 +57364,139 @@ }, "end": { "line": 1265, + "column": 44 + }, + "identifierName": "transformPoint4" + }, + "name": "transformPoint4" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 48913, + "end": 48919, + "loc": { + "start": { + "line": 1265, + "column": 45 + }, + "end": { + "line": 1265, + "column": 51 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + { + "type": "Identifier", + "start": 48921, + "end": 48930, + "loc": { + "start": { + "line": 1265, + "column": 53 + }, + "end": { + "line": 1265, + "column": 62 + }, + "identifierName": "tempVec4a" + }, + "name": "tempVec4a" + }, + { + "type": "Identifier", + "start": 48932, + "end": 48941, + "loc": { + "start": { + "line": 1265, + "column": 64 + }, + "end": { + "line": 1265, + "column": 73 + }, + "identifierName": "tempVec4b" + }, + "name": "tempVec4b" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 48968, + "end": 49014, + "loc": { + "start": { + "line": 1266, + "column": 24 + }, + "end": { + "line": 1266, + "column": 70 + } + }, + "expression": { + "type": "CallExpression", + "start": 48968, + "end": 49013, + "loc": { + "start": { + "line": 1266, + "column": 24 + }, + "end": { + "line": 1266, + "column": 69 + } + }, + "callee": { + "type": "MemberExpression", + "start": 48968, + "end": 48990, + "loc": { + "start": { + "line": 1266, + "column": 24 + }, + "end": { + "line": 1266, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 48968, + "end": 48972, + "loc": { + "start": { + "line": 1266, + "column": 24 + }, + "end": { + "line": 1266, + "column": 28 + }, + "identifierName": "math" + }, + "name": "math" + }, + "property": { + "type": "Identifier", + "start": 48973, + "end": 48990, + "loc": { + "start": { + "line": 1266, + "column": 29 + }, + "end": { + "line": 1266, "column": 46 }, "identifierName": "expandAABB3Point3" @@ -57425,15 +57508,15 @@ "arguments": [ { "type": "Identifier", - "start": 48338, - "end": 48348, + "start": 48991, + "end": 49001, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 47 }, "end": { - "line": 1265, + "line": 1266, "column": 57 }, "identifierName": "entityAABB" @@ -57442,15 +57525,15 @@ }, { "type": "Identifier", - "start": 48350, - "end": 48359, + "start": 49003, + "end": 49012, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 59 }, "end": { - "line": 1265, + "line": 1266, "column": 68 }, "identifierName": "tempVec4b" @@ -57469,59 +57552,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 48408, - "end": 48829, + "start": 49061, + "end": 49482, "loc": { "start": { - "line": 1268, + "line": 1269, "column": 23 }, "end": { - "line": 1277, + "line": 1278, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 48431, - "end": 48468, + "start": 49084, + "end": 49121, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 20 }, "end": { - "line": 1270, + "line": 1271, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 48437, - "end": 48467, + "start": 49090, + "end": 49120, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 26 }, "end": { - "line": 1270, + "line": 1271, "column": 56 } }, "id": { "type": "Identifier", - "start": 48437, - "end": 48446, + "start": 49090, + "end": 49099, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 26 }, "end": { - "line": 1270, + "line": 1271, "column": 35 }, "identifierName": "positions" @@ -57530,29 +57613,29 @@ }, "init": { "type": "MemberExpression", - "start": 48449, - "end": 48467, + "start": 49102, + "end": 49120, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 38 }, "end": { - "line": 1270, + "line": 1271, "column": 56 } }, "object": { "type": "Identifier", - "start": 48449, - "end": 48457, + "start": 49102, + "end": 49110, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 38 }, "end": { - "line": 1270, + "line": 1271, "column": 46 }, "identifierName": "geometry" @@ -57561,15 +57644,15 @@ }, "property": { "type": "Identifier", - "start": 48458, - "end": 48467, + "start": 49111, + "end": 49120, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 47 }, "end": { - "line": 1270, + "line": 1271, "column": 56 }, "identifierName": "positions" @@ -57584,58 +57667,58 @@ }, { "type": "ForStatement", - "start": 48489, - "end": 48811, + "start": 49142, + "end": 49464, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 20 }, "end": { - "line": 1276, + "line": 1277, "column": 21 } }, "init": { "type": "VariableDeclaration", - "start": 48494, - "end": 48527, + "start": 49147, + "end": 49180, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 25 }, "end": { - "line": 1271, + "line": 1272, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 48498, - "end": 48503, + "start": 49151, + "end": 49156, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 29 }, "end": { - "line": 1271, + "line": 1272, "column": 34 } }, "id": { "type": "Identifier", - "start": 48498, - "end": 48499, + "start": 49151, + "end": 49152, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 29 }, "end": { - "line": 1271, + "line": 1272, "column": 30 }, "identifierName": "i" @@ -57644,15 +57727,15 @@ }, "init": { "type": "NumericLiteral", - "start": 48502, - "end": 48503, + "start": 49155, + "end": 49156, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 33 }, "end": { - "line": 1271, + "line": 1272, "column": 34 } }, @@ -57665,29 +57748,29 @@ }, { "type": "VariableDeclarator", - "start": 48505, - "end": 48527, + "start": 49158, + "end": 49180, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 36 }, "end": { - "line": 1271, + "line": 1272, "column": 58 } }, "id": { "type": "Identifier", - "start": 48505, - "end": 48508, + "start": 49158, + "end": 49161, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 36 }, "end": { - "line": 1271, + "line": 1272, "column": 39 }, "identifierName": "len" @@ -57696,29 +57779,29 @@ }, "init": { "type": "MemberExpression", - "start": 48511, - "end": 48527, + "start": 49164, + "end": 49180, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 42 }, "end": { - "line": 1271, + "line": 1272, "column": 58 } }, "object": { "type": "Identifier", - "start": 48511, - "end": 48520, + "start": 49164, + "end": 49173, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 42 }, "end": { - "line": 1271, + "line": 1272, "column": 51 }, "identifierName": "positions" @@ -57727,15 +57810,15 @@ }, "property": { "type": "Identifier", - "start": 48521, - "end": 48527, + "start": 49174, + "end": 49180, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 52 }, "end": { - "line": 1271, + "line": 1272, "column": 58 }, "identifierName": "length" @@ -57750,29 +57833,29 @@ }, "test": { "type": "BinaryExpression", - "start": 48529, - "end": 48536, + "start": 49182, + "end": 49189, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 60 }, "end": { - "line": 1271, + "line": 1272, "column": 67 } }, "left": { "type": "Identifier", - "start": 48529, - "end": 48530, + "start": 49182, + "end": 49183, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 60 }, "end": { - "line": 1271, + "line": 1272, "column": 61 }, "identifierName": "i" @@ -57782,15 +57865,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 48533, - "end": 48536, + "start": 49186, + "end": 49189, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 64 }, "end": { - "line": 1271, + "line": 1272, "column": 67 }, "identifierName": "len" @@ -57800,30 +57883,30 @@ }, "update": { "type": "AssignmentExpression", - "start": 48538, - "end": 48544, + "start": 49191, + "end": 49197, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 69 }, "end": { - "line": 1271, + "line": 1272, "column": 75 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 48538, - "end": 48539, + "start": 49191, + "end": 49192, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 69 }, "end": { - "line": 1271, + "line": 1272, "column": 70 }, "identifierName": "i" @@ -57832,15 +57915,15 @@ }, "right": { "type": "NumericLiteral", - "start": 48543, - "end": 48544, + "start": 49196, + "end": 49197, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 74 }, "end": { - "line": 1271, + "line": 1272, "column": 75 } }, @@ -57853,73 +57936,73 @@ }, "body": { "type": "BlockStatement", - "start": 48546, - "end": 48811, + "start": 49199, + "end": 49464, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 77 }, "end": { - "line": 1276, + "line": 1277, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 48572, - "end": 48604, + "start": 49225, + "end": 49257, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 24 }, "end": { - "line": 1272, + "line": 1273, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48572, - "end": 48603, + "start": 49225, + "end": 49256, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 24 }, "end": { - "line": 1272, + "line": 1273, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48572, - "end": 48584, + "start": 49225, + "end": 49237, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 24 }, "end": { - "line": 1272, + "line": 1273, "column": 36 } }, "object": { "type": "Identifier", - "start": 48572, - "end": 48581, + "start": 49225, + "end": 49234, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 24 }, "end": { - "line": 1272, + "line": 1273, "column": 33 }, "identifierName": "tempVec4a" @@ -57928,15 +58011,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48582, - "end": 48583, + "start": 49235, + "end": 49236, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 34 }, "end": { - "line": 1272, + "line": 1273, "column": 35 } }, @@ -57950,29 +58033,29 @@ }, "right": { "type": "MemberExpression", - "start": 48587, - "end": 48603, + "start": 49240, + "end": 49256, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 39 }, "end": { - "line": 1272, + "line": 1273, "column": 55 } }, "object": { "type": "Identifier", - "start": 48587, - "end": 48596, + "start": 49240, + "end": 49249, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 39 }, "end": { - "line": 1272, + "line": 1273, "column": 48 }, "identifierName": "positions" @@ -57981,29 +58064,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48597, - "end": 48602, + "start": 49250, + "end": 49255, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 49 }, "end": { - "line": 1272, + "line": 1273, "column": 54 } }, "left": { "type": "Identifier", - "start": 48597, - "end": 48598, + "start": 49250, + "end": 49251, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 49 }, "end": { - "line": 1272, + "line": 1273, "column": 50 }, "identifierName": "i" @@ -58013,15 +58096,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48601, - "end": 48602, + "start": 49254, + "end": 49255, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 53 }, "end": { - "line": 1272, + "line": 1273, "column": 54 } }, @@ -58038,58 +58121,58 @@ }, { "type": "ExpressionStatement", - "start": 48629, - "end": 48661, + "start": 49282, + "end": 49314, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 24 }, "end": { - "line": 1273, + "line": 1274, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48629, - "end": 48660, + "start": 49282, + "end": 49313, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 24 }, "end": { - "line": 1273, + "line": 1274, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48629, - "end": 48641, + "start": 49282, + "end": 49294, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 24 }, "end": { - "line": 1273, + "line": 1274, "column": 36 } }, "object": { "type": "Identifier", - "start": 48629, - "end": 48638, + "start": 49282, + "end": 49291, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 24 }, "end": { - "line": 1273, + "line": 1274, "column": 33 }, "identifierName": "tempVec4a" @@ -58098,15 +58181,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48639, - "end": 48640, + "start": 49292, + "end": 49293, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 34 }, "end": { - "line": 1273, + "line": 1274, "column": 35 } }, @@ -58120,29 +58203,29 @@ }, "right": { "type": "MemberExpression", - "start": 48644, - "end": 48660, + "start": 49297, + "end": 49313, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 39 }, "end": { - "line": 1273, + "line": 1274, "column": 55 } }, "object": { "type": "Identifier", - "start": 48644, - "end": 48653, + "start": 49297, + "end": 49306, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 39 }, "end": { - "line": 1273, + "line": 1274, "column": 48 }, "identifierName": "positions" @@ -58151,29 +58234,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48654, - "end": 48659, + "start": 49307, + "end": 49312, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 49 }, "end": { - "line": 1273, + "line": 1274, "column": 54 } }, "left": { "type": "Identifier", - "start": 48654, - "end": 48655, + "start": 49307, + "end": 49308, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 49 }, "end": { - "line": 1273, + "line": 1274, "column": 50 }, "identifierName": "i" @@ -58183,15 +58266,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48658, - "end": 48659, + "start": 49311, + "end": 49312, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 53 }, "end": { - "line": 1273, + "line": 1274, "column": 54 } }, @@ -58208,58 +58291,58 @@ }, { "type": "ExpressionStatement", - "start": 48686, - "end": 48718, + "start": 49339, + "end": 49371, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 24 }, "end": { - "line": 1274, + "line": 1275, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48686, - "end": 48717, + "start": 49339, + "end": 49370, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 24 }, "end": { - "line": 1274, + "line": 1275, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48686, - "end": 48698, + "start": 49339, + "end": 49351, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 24 }, "end": { - "line": 1274, + "line": 1275, "column": 36 } }, "object": { "type": "Identifier", - "start": 48686, - "end": 48695, + "start": 49339, + "end": 49348, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 24 }, "end": { - "line": 1274, + "line": 1275, "column": 33 }, "identifierName": "tempVec4a" @@ -58268,15 +58351,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48696, - "end": 48697, + "start": 49349, + "end": 49350, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 34 }, "end": { - "line": 1274, + "line": 1275, "column": 35 } }, @@ -58290,29 +58373,29 @@ }, "right": { "type": "MemberExpression", - "start": 48701, - "end": 48717, + "start": 49354, + "end": 49370, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 39 }, "end": { - "line": 1274, + "line": 1275, "column": 55 } }, "object": { "type": "Identifier", - "start": 48701, - "end": 48710, + "start": 49354, + "end": 49363, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 39 }, "end": { - "line": 1274, + "line": 1275, "column": 48 }, "identifierName": "positions" @@ -58321,29 +58404,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48711, - "end": 48716, + "start": 49364, + "end": 49369, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 49 }, "end": { - "line": 1274, + "line": 1275, "column": 54 } }, "left": { "type": "Identifier", - "start": 48711, - "end": 48712, + "start": 49364, + "end": 49365, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 49 }, "end": { - "line": 1274, + "line": 1275, "column": 50 }, "identifierName": "i" @@ -58353,15 +58436,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48715, - "end": 48716, + "start": 49368, + "end": 49369, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 53 }, "end": { - "line": 1274, + "line": 1275, "column": 54 } }, @@ -58378,57 +58461,57 @@ }, { "type": "ExpressionStatement", - "start": 48743, - "end": 48789, + "start": 49396, + "end": 49442, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 24 }, "end": { - "line": 1275, + "line": 1276, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 48743, - "end": 48788, + "start": 49396, + "end": 49441, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 24 }, "end": { - "line": 1275, + "line": 1276, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 48743, - "end": 48765, + "start": 49396, + "end": 49418, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 24 }, "end": { - "line": 1275, + "line": 1276, "column": 46 } }, "object": { "type": "Identifier", - "start": 48743, - "end": 48747, + "start": 49396, + "end": 49400, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 24 }, "end": { - "line": 1275, + "line": 1276, "column": 28 }, "identifierName": "math" @@ -58437,15 +58520,15 @@ }, "property": { "type": "Identifier", - "start": 48748, - "end": 48765, + "start": 49401, + "end": 49418, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 29 }, "end": { - "line": 1275, + "line": 1276, "column": 46 }, "identifierName": "expandAABB3Point3" @@ -58457,15 +58540,15 @@ "arguments": [ { "type": "Identifier", - "start": 48766, - "end": 48776, + "start": 49419, + "end": 49429, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 47 }, "end": { - "line": 1275, + "line": 1276, "column": 57 }, "identifierName": "entityAABB" @@ -58474,15 +58557,15 @@ }, { "type": "Identifier", - "start": 48778, - "end": 48787, + "start": 49431, + "end": 49440, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 59 }, "end": { - "line": 1275, + "line": 1276, "column": 68 }, "identifierName": "tempVec4a" @@ -58514,15 +58597,15 @@ }, { "type": "ClassMethod", - "start": 48865, - "end": 49527, + "start": 49518, + "end": 50180, "loc": { "start": { - "line": 1282, + "line": 1283, "column": 4 }, "end": { - "line": 1303, + "line": 1304, "column": 5 } }, @@ -58530,15 +58613,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 48865, - "end": 48878, + "start": 49518, + "end": 49531, "loc": { "start": { - "line": 1282, + "line": 1283, "column": 4 }, "end": { - "line": 1282, + "line": 1283, "column": 17 }, "identifierName": "_createKDTree" @@ -58553,59 +58636,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 48881, - "end": 49527, + "start": 49534, + "end": 50180, "loc": { "start": { - "line": 1282, + "line": 1283, "column": 20 }, "end": { - "line": 1303, + "line": 1304, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 48892, - "end": 48901, + "start": 49545, + "end": 49554, "loc": { "start": { - "line": 1284, + "line": 1285, "column": 8 }, "end": { - "line": 1284, + "line": 1285, "column": 17 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 48896, - "end": 48900, + "start": 49549, + "end": 49553, "loc": { "start": { - "line": 1284, + "line": 1285, "column": 12 }, "end": { - "line": 1284, + "line": 1285, "column": 16 } }, "id": { "type": "Identifier", - "start": 48896, - "end": 48900, + "start": 49549, + "end": 49553, "loc": { "start": { - "line": 1284, + "line": 1285, "column": 12 }, "end": { - "line": 1284, + "line": 1285, "column": 16 }, "identifierName": "aabb" @@ -58619,58 +58702,58 @@ }, { "type": "IfStatement", - "start": 48910, - "end": 49253, + "start": 49563, + "end": 49906, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 8 }, "end": { - "line": 1293, + "line": 1294, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 48914, - "end": 48928, + "start": 49567, + "end": 49581, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 12 }, "end": { - "line": 1285, + "line": 1286, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 48914, - "end": 48918, + "start": 49567, + "end": 49571, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 12 }, "end": { - "line": 1285, + "line": 1286, "column": 16 } } }, "property": { "type": "Identifier", - "start": 48919, - "end": 48928, + "start": 49572, + "end": 49581, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 17 }, "end": { - "line": 1285, + "line": 1286, "column": 26 }, "identifierName": "modelAABB" @@ -58681,59 +58764,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 48930, - "end": 48999, + "start": 49583, + "end": 49652, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 28 }, "end": { - "line": 1287, + "line": 1288, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 48944, - "end": 48966, + "start": 49597, + "end": 49619, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 12 }, "end": { - "line": 1286, + "line": 1287, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 48944, - "end": 48965, + "start": 49597, + "end": 49618, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 12 }, "end": { - "line": 1286, + "line": 1287, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 48944, - "end": 48948, + "start": 49597, + "end": 49601, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 12 }, "end": { - "line": 1286, + "line": 1287, "column": 16 }, "identifierName": "aabb" @@ -58742,44 +58825,44 @@ }, "right": { "type": "MemberExpression", - "start": 48951, - "end": 48965, + "start": 49604, + "end": 49618, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 19 }, "end": { - "line": 1286, + "line": 1287, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 48951, - "end": 48955, + "start": 49604, + "end": 49608, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 19 }, "end": { - "line": 1286, + "line": 1287, "column": 23 } } }, "property": { "type": "Identifier", - "start": 48956, - "end": 48965, + "start": 49609, + "end": 49618, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 24 }, "end": { - "line": 1286, + "line": 1287, "column": 33 }, "identifierName": "modelAABB" @@ -58793,15 +58876,15 @@ { "type": "CommentLine", "value": " Pre-known uber AABB", - "start": 48967, - "end": 48989, + "start": 49620, + "end": 49642, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 35 }, "end": { - "line": 1286, + "line": 1287, "column": 57 } } @@ -58813,59 +58896,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 49005, - "end": 49253, + "start": 49658, + "end": 49906, "loc": { "start": { - "line": 1287, + "line": 1288, "column": 15 }, "end": { - "line": 1293, + "line": 1294, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 49019, - "end": 49047, + "start": 49672, + "end": 49700, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 12 }, "end": { - "line": 1288, + "line": 1289, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 49019, - "end": 49046, + "start": 49672, + "end": 49699, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 12 }, "end": { - "line": 1288, + "line": 1289, "column": 39 } }, "operator": "=", "left": { "type": "Identifier", - "start": 49019, - "end": 49023, + "start": 49672, + "end": 49676, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 12 }, "end": { - "line": 1288, + "line": 1289, "column": 16 }, "identifierName": "aabb" @@ -58874,43 +58957,43 @@ }, "right": { "type": "CallExpression", - "start": 49026, - "end": 49046, + "start": 49679, + "end": 49699, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 19 }, "end": { - "line": 1288, + "line": 1289, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 49026, - "end": 49044, + "start": 49679, + "end": 49697, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 19 }, "end": { - "line": 1288, + "line": 1289, "column": 37 } }, "object": { "type": "Identifier", - "start": 49026, - "end": 49030, + "start": 49679, + "end": 49683, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 19 }, "end": { - "line": 1288, + "line": 1289, "column": 23 }, "identifierName": "math" @@ -58919,15 +59002,15 @@ }, "property": { "type": "Identifier", - "start": 49031, - "end": 49044, + "start": 49684, + "end": 49697, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 24 }, "end": { - "line": 1288, + "line": 1289, "column": 37 }, "identifierName": "collapseAABB3" @@ -58942,58 +59025,58 @@ }, { "type": "ForStatement", - "start": 49060, - "end": 49243, + "start": 49713, + "end": 49896, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 12 }, "end": { - "line": 1292, + "line": 1293, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 49065, - "end": 49106, + "start": 49718, + "end": 49759, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 17 }, "end": { - "line": 1289, + "line": 1290, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49069, - "end": 49074, + "start": 49722, + "end": 49727, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 21 }, "end": { - "line": 1289, + "line": 1290, "column": 26 } }, "id": { "type": "Identifier", - "start": 49069, - "end": 49070, + "start": 49722, + "end": 49723, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 21 }, "end": { - "line": 1289, + "line": 1290, "column": 22 }, "identifierName": "i" @@ -59002,15 +59085,15 @@ }, "init": { "type": "NumericLiteral", - "start": 49073, - "end": 49074, + "start": 49726, + "end": 49727, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 25 }, "end": { - "line": 1289, + "line": 1290, "column": 26 } }, @@ -59023,29 +59106,29 @@ }, { "type": "VariableDeclarator", - "start": 49076, - "end": 49106, + "start": 49729, + "end": 49759, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 28 }, "end": { - "line": 1289, + "line": 1290, "column": 58 } }, "id": { "type": "Identifier", - "start": 49076, - "end": 49079, + "start": 49729, + "end": 49732, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 28 }, "end": { - "line": 1289, + "line": 1290, "column": 31 }, "identifierName": "len" @@ -59054,58 +59137,58 @@ }, "init": { "type": "MemberExpression", - "start": 49082, - "end": 49106, + "start": 49735, + "end": 49759, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 34 }, "end": { - "line": 1289, + "line": 1290, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 49082, - "end": 49099, + "start": 49735, + "end": 49752, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 34 }, "end": { - "line": 1289, + "line": 1290, "column": 51 } }, "object": { "type": "ThisExpression", - "start": 49082, - "end": 49086, + "start": 49735, + "end": 49739, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 34 }, "end": { - "line": 1289, + "line": 1290, "column": 38 } } }, "property": { "type": "Identifier", - "start": 49087, - "end": 49099, + "start": 49740, + "end": 49752, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 39 }, "end": { - "line": 1289, + "line": 1290, "column": 51 }, "identifierName": "entitiesList" @@ -59116,15 +59199,15 @@ }, "property": { "type": "Identifier", - "start": 49100, - "end": 49106, + "start": 49753, + "end": 49759, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 52 }, "end": { - "line": 1289, + "line": 1290, "column": 58 }, "identifierName": "length" @@ -59139,29 +59222,29 @@ }, "test": { "type": "BinaryExpression", - "start": 49108, - "end": 49115, + "start": 49761, + "end": 49768, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 60 }, "end": { - "line": 1289, + "line": 1290, "column": 67 } }, "left": { "type": "Identifier", - "start": 49108, - "end": 49109, + "start": 49761, + "end": 49762, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 60 }, "end": { - "line": 1289, + "line": 1290, "column": 61 }, "identifierName": "i" @@ -59171,15 +59254,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 49112, - "end": 49115, + "start": 49765, + "end": 49768, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 64 }, "end": { - "line": 1289, + "line": 1290, "column": 67 }, "identifierName": "len" @@ -59189,15 +59272,15 @@ }, "update": { "type": "UpdateExpression", - "start": 49117, - "end": 49120, + "start": 49770, + "end": 49773, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 69 }, "end": { - "line": 1289, + "line": 1290, "column": 72 } }, @@ -59205,15 +59288,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 49117, - "end": 49118, + "start": 49770, + "end": 49771, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 69 }, "end": { - "line": 1289, + "line": 1290, "column": 70 }, "identifierName": "i" @@ -59223,59 +59306,59 @@ }, "body": { "type": "BlockStatement", - "start": 49122, - "end": 49243, + "start": 49775, + "end": 49896, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 74 }, "end": { - "line": 1292, + "line": 1293, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 49140, - "end": 49176, + "start": 49793, + "end": 49829, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 16 }, "end": { - "line": 1290, + "line": 1291, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49146, - "end": 49175, + "start": 49799, + "end": 49828, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 22 }, "end": { - "line": 1290, + "line": 1291, "column": 51 } }, "id": { "type": "Identifier", - "start": 49146, - "end": 49152, + "start": 49799, + "end": 49805, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 22 }, "end": { - "line": 1290, + "line": 1291, "column": 28 }, "identifierName": "entity" @@ -59284,58 +59367,58 @@ }, "init": { "type": "MemberExpression", - "start": 49155, - "end": 49175, + "start": 49808, + "end": 49828, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 31 }, "end": { - "line": 1290, + "line": 1291, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 49155, - "end": 49172, + "start": 49808, + "end": 49825, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 31 }, "end": { - "line": 1290, + "line": 1291, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 49155, - "end": 49159, + "start": 49808, + "end": 49812, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 31 }, "end": { - "line": 1290, + "line": 1291, "column": 35 } } }, "property": { "type": "Identifier", - "start": 49160, - "end": 49172, + "start": 49813, + "end": 49825, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 36 }, "end": { - "line": 1290, + "line": 1291, "column": 48 }, "identifierName": "entitiesList" @@ -59346,15 +59429,15 @@ }, "property": { "type": "Identifier", - "start": 49173, - "end": 49174, + "start": 49826, + "end": 49827, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 49 }, "end": { - "line": 1290, + "line": 1291, "column": 50 }, "identifierName": "i" @@ -59369,57 +59452,57 @@ }, { "type": "ExpressionStatement", - "start": 49193, - "end": 49229, + "start": 49846, + "end": 49882, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 16 }, "end": { - "line": 1291, + "line": 1292, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 49193, - "end": 49228, + "start": 49846, + "end": 49881, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 16 }, "end": { - "line": 1291, + "line": 1292, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 49193, - "end": 49209, + "start": 49846, + "end": 49862, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 16 }, "end": { - "line": 1291, + "line": 1292, "column": 32 } }, "object": { "type": "Identifier", - "start": 49193, - "end": 49197, + "start": 49846, + "end": 49850, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 16 }, "end": { - "line": 1291, + "line": 1292, "column": 20 }, "identifierName": "math" @@ -59428,15 +59511,15 @@ }, "property": { "type": "Identifier", - "start": 49198, - "end": 49209, + "start": 49851, + "end": 49862, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 21 }, "end": { - "line": 1291, + "line": 1292, "column": 32 }, "identifierName": "expandAABB3" @@ -59448,15 +59531,15 @@ "arguments": [ { "type": "Identifier", - "start": 49210, - "end": 49214, + "start": 49863, + "end": 49867, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 33 }, "end": { - "line": 1291, + "line": 1292, "column": 37 }, "identifierName": "aabb" @@ -59465,29 +59548,29 @@ }, { "type": "MemberExpression", - "start": 49216, - "end": 49227, + "start": 49869, + "end": 49880, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 39 }, "end": { - "line": 1291, + "line": 1292, "column": 50 } }, "object": { "type": "Identifier", - "start": 49216, - "end": 49222, + "start": 49869, + "end": 49875, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 39 }, "end": { - "line": 1291, + "line": 1292, "column": 45 }, "identifierName": "entity" @@ -59496,15 +59579,15 @@ }, "property": { "type": "Identifier", - "start": 49223, - "end": 49227, + "start": 49876, + "end": 49880, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 46 }, "end": { - "line": 1291, + "line": 1292, "column": 50 }, "identifierName": "aabb" @@ -59526,44 +59609,44 @@ }, { "type": "VariableDeclaration", - "start": 49263, - "end": 49299, + "start": 49916, + "end": 49952, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 8 }, "end": { - "line": 1295, + "line": 1296, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49269, - "end": 49298, + "start": 49922, + "end": 49951, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 14 }, "end": { - "line": 1295, + "line": 1296, "column": 43 } }, "id": { "type": "Identifier", - "start": 49269, - "end": 49279, + "start": 49922, + "end": 49932, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 14 }, "end": { - "line": 1295, + "line": 1296, "column": 24 }, "identifierName": "rootKDNode" @@ -59572,29 +59655,29 @@ }, "init": { "type": "NewExpression", - "start": 49282, - "end": 49298, + "start": 49935, + "end": 49951, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 27 }, "end": { - "line": 1295, + "line": 1296, "column": 43 } }, "callee": { "type": "Identifier", - "start": 49286, - "end": 49292, + "start": 49939, + "end": 49945, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 31 }, "end": { - "line": 1295, + "line": 1296, "column": 37 }, "identifierName": "KDNode" @@ -59604,15 +59687,15 @@ "arguments": [ { "type": "Identifier", - "start": 49293, - "end": 49297, + "start": 49946, + "end": 49950, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 38 }, "end": { - "line": 1295, + "line": 1296, "column": 42 }, "identifierName": "aabb" @@ -59627,58 +59710,58 @@ }, { "type": "ForStatement", - "start": 49309, - "end": 49493, + "start": 49962, + "end": 50146, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 8 }, "end": { - "line": 1300, + "line": 1301, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 49314, - "end": 49355, + "start": 49967, + "end": 50008, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 13 }, "end": { - "line": 1297, + "line": 1298, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49318, - "end": 49323, + "start": 49971, + "end": 49976, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 17 }, "end": { - "line": 1297, + "line": 1298, "column": 22 } }, "id": { "type": "Identifier", - "start": 49318, - "end": 49319, + "start": 49971, + "end": 49972, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 17 }, "end": { - "line": 1297, + "line": 1298, "column": 18 }, "identifierName": "i" @@ -59687,15 +59770,15 @@ }, "init": { "type": "NumericLiteral", - "start": 49322, - "end": 49323, + "start": 49975, + "end": 49976, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 21 }, "end": { - "line": 1297, + "line": 1298, "column": 22 } }, @@ -59708,29 +59791,29 @@ }, { "type": "VariableDeclarator", - "start": 49325, - "end": 49355, + "start": 49978, + "end": 50008, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 24 }, "end": { - "line": 1297, + "line": 1298, "column": 54 } }, "id": { "type": "Identifier", - "start": 49325, - "end": 49328, + "start": 49978, + "end": 49981, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 24 }, "end": { - "line": 1297, + "line": 1298, "column": 27 }, "identifierName": "len" @@ -59739,58 +59822,58 @@ }, "init": { "type": "MemberExpression", - "start": 49331, - "end": 49355, + "start": 49984, + "end": 50008, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 30 }, "end": { - "line": 1297, + "line": 1298, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 49331, - "end": 49348, + "start": 49984, + "end": 50001, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 30 }, "end": { - "line": 1297, + "line": 1298, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 49331, - "end": 49335, + "start": 49984, + "end": 49988, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 30 }, "end": { - "line": 1297, + "line": 1298, "column": 34 } } }, "property": { "type": "Identifier", - "start": 49336, - "end": 49348, + "start": 49989, + "end": 50001, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 35 }, "end": { - "line": 1297, + "line": 1298, "column": 47 }, "identifierName": "entitiesList" @@ -59801,15 +59884,15 @@ }, "property": { "type": "Identifier", - "start": 49349, - "end": 49355, + "start": 50002, + "end": 50008, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 48 }, "end": { - "line": 1297, + "line": 1298, "column": 54 }, "identifierName": "length" @@ -59824,29 +59907,29 @@ }, "test": { "type": "BinaryExpression", - "start": 49357, - "end": 49364, + "start": 50010, + "end": 50017, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 56 }, "end": { - "line": 1297, + "line": 1298, "column": 63 } }, "left": { "type": "Identifier", - "start": 49357, - "end": 49358, + "start": 50010, + "end": 50011, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 56 }, "end": { - "line": 1297, + "line": 1298, "column": 57 }, "identifierName": "i" @@ -59856,15 +59939,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 49361, - "end": 49364, + "start": 50014, + "end": 50017, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 60 }, "end": { - "line": 1297, + "line": 1298, "column": 63 }, "identifierName": "len" @@ -59874,15 +59957,15 @@ }, "update": { "type": "UpdateExpression", - "start": 49366, - "end": 49369, + "start": 50019, + "end": 50022, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 65 }, "end": { - "line": 1297, + "line": 1298, "column": 68 } }, @@ -59890,15 +59973,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 49366, - "end": 49367, + "start": 50019, + "end": 50020, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 65 }, "end": { - "line": 1297, + "line": 1298, "column": 66 }, "identifierName": "i" @@ -59908,59 +59991,59 @@ }, "body": { "type": "BlockStatement", - "start": 49371, - "end": 49493, + "start": 50024, + "end": 50146, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 70 }, "end": { - "line": 1300, + "line": 1301, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 49385, - "end": 49421, + "start": 50038, + "end": 50074, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 12 }, "end": { - "line": 1298, + "line": 1299, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49391, - "end": 49420, + "start": 50044, + "end": 50073, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 18 }, "end": { - "line": 1298, + "line": 1299, "column": 47 } }, "id": { "type": "Identifier", - "start": 49391, - "end": 49397, + "start": 50044, + "end": 50050, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 18 }, "end": { - "line": 1298, + "line": 1299, "column": 24 }, "identifierName": "entity" @@ -59969,58 +60052,58 @@ }, "init": { "type": "MemberExpression", - "start": 49400, - "end": 49420, + "start": 50053, + "end": 50073, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 27 }, "end": { - "line": 1298, + "line": 1299, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 49400, - "end": 49417, + "start": 50053, + "end": 50070, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 27 }, "end": { - "line": 1298, + "line": 1299, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 49400, - "end": 49404, + "start": 50053, + "end": 50057, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 27 }, "end": { - "line": 1298, + "line": 1299, "column": 31 } } }, "property": { "type": "Identifier", - "start": 49405, - "end": 49417, + "start": 50058, + "end": 50070, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 32 }, "end": { - "line": 1298, + "line": 1299, "column": 44 }, "identifierName": "entitiesList" @@ -60031,15 +60114,15 @@ }, "property": { "type": "Identifier", - "start": 49418, - "end": 49419, + "start": 50071, + "end": 50072, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 45 }, "end": { - "line": 1298, + "line": 1299, "column": 46 }, "identifierName": "i" @@ -60054,72 +60137,72 @@ }, { "type": "ExpressionStatement", - "start": 49434, - "end": 49483, + "start": 50087, + "end": 50136, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 12 }, "end": { - "line": 1299, + "line": 1300, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 49434, - "end": 49482, + "start": 50087, + "end": 50135, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 12 }, "end": { - "line": 1299, + "line": 1300, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 49434, - "end": 49462, + "start": 50087, + "end": 50115, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 12 }, "end": { - "line": 1299, + "line": 1300, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 49434, - "end": 49438, + "start": 50087, + "end": 50091, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 12 }, "end": { - "line": 1299, + "line": 1300, "column": 16 } } }, "property": { "type": "Identifier", - "start": 49439, - "end": 49462, + "start": 50092, + "end": 50115, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 17 }, "end": { - "line": 1299, + "line": 1300, "column": 40 }, "identifierName": "_insertEntityIntoKDTree" @@ -60131,15 +60214,15 @@ "arguments": [ { "type": "Identifier", - "start": 49463, - "end": 49473, + "start": 50116, + "end": 50126, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 41 }, "end": { - "line": 1299, + "line": 1300, "column": 51 }, "identifierName": "rootKDNode" @@ -60148,15 +60231,15 @@ }, { "type": "Identifier", - "start": 49475, - "end": 49481, + "start": 50128, + "end": 50134, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 53 }, "end": { - "line": 1299, + "line": 1300, "column": 59 }, "identifierName": "entity" @@ -60172,29 +60255,29 @@ }, { "type": "ReturnStatement", - "start": 49503, - "end": 49521, + "start": 50156, + "end": 50174, "loc": { "start": { - "line": 1302, + "line": 1303, "column": 8 }, "end": { - "line": 1302, + "line": 1303, "column": 26 } }, "argument": { "type": "Identifier", - "start": 49510, - "end": 49520, + "start": 50163, + "end": 50173, "loc": { "start": { - "line": 1302, + "line": 1303, "column": 15 }, "end": { - "line": 1302, + "line": 1303, "column": 25 }, "identifierName": "rootKDNode" @@ -60208,15 +60291,15 @@ }, { "type": "ClassMethod", - "start": 49533, - "end": 51629, + "start": 50186, + "end": 52282, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 4 }, "end": { - "line": 1371, + "line": 1372, "column": 5 } }, @@ -60224,15 +60307,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 49533, - "end": 49556, + "start": 50186, + "end": 50209, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 4 }, "end": { - "line": 1305, + "line": 1306, "column": 27 }, "identifierName": "_insertEntityIntoKDTree" @@ -60247,15 +60330,15 @@ "params": [ { "type": "Identifier", - "start": 49557, - "end": 49563, + "start": 50210, + "end": 50216, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 28 }, "end": { - "line": 1305, + "line": 1306, "column": 34 }, "identifierName": "kdNode" @@ -60264,15 +60347,15 @@ }, { "type": "Identifier", - "start": 49565, - "end": 49571, + "start": 50218, + "end": 50224, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 36 }, "end": { - "line": 1305, + "line": 1306, "column": 42 }, "identifierName": "entity" @@ -60282,59 +60365,59 @@ ], "body": { "type": "BlockStatement", - "start": 49573, - "end": 51629, + "start": 50226, + "end": 52282, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 44 }, "end": { - "line": 1371, + "line": 1372, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 49584, - "end": 49613, + "start": 50237, + "end": 50266, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 8 }, "end": { - "line": 1307, + "line": 1308, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49590, - "end": 49612, + "start": 50243, + "end": 50265, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 14 }, "end": { - "line": 1307, + "line": 1308, "column": 36 } }, "id": { "type": "Identifier", - "start": 49590, - "end": 49598, + "start": 50243, + "end": 50251, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 14 }, "end": { - "line": 1307, + "line": 1308, "column": 22 }, "identifierName": "nodeAABB" @@ -60343,29 +60426,29 @@ }, "init": { "type": "MemberExpression", - "start": 49601, - "end": 49612, + "start": 50254, + "end": 50265, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 25 }, "end": { - "line": 1307, + "line": 1308, "column": 36 } }, "object": { "type": "Identifier", - "start": 49601, - "end": 49607, + "start": 50254, + "end": 50260, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 25 }, "end": { - "line": 1307, + "line": 1308, "column": 31 }, "identifierName": "kdNode" @@ -60374,15 +60457,15 @@ }, "property": { "type": "Identifier", - "start": 49608, - "end": 49612, + "start": 50261, + "end": 50265, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 32 }, "end": { - "line": 1307, + "line": 1308, "column": 36 }, "identifierName": "aabb" @@ -60397,44 +60480,44 @@ }, { "type": "VariableDeclaration", - "start": 49622, - "end": 49653, + "start": 50275, + "end": 50306, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 8 }, "end": { - "line": 1308, + "line": 1309, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49628, - "end": 49652, + "start": 50281, + "end": 50305, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 14 }, "end": { - "line": 1308, + "line": 1309, "column": 38 } }, "id": { "type": "Identifier", - "start": 49628, - "end": 49638, + "start": 50281, + "end": 50291, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 14 }, "end": { - "line": 1308, + "line": 1309, "column": 24 }, "identifierName": "entityAABB" @@ -60443,29 +60526,29 @@ }, "init": { "type": "MemberExpression", - "start": 49641, - "end": 49652, + "start": 50294, + "end": 50305, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 27 }, "end": { - "line": 1308, + "line": 1309, "column": 38 } }, "object": { "type": "Identifier", - "start": 49641, - "end": 49647, + "start": 50294, + "end": 50300, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 27 }, "end": { - "line": 1308, + "line": 1309, "column": 33 }, "identifierName": "entity" @@ -60474,15 +60557,15 @@ }, "property": { "type": "Identifier", - "start": 49648, - "end": 49652, + "start": 50301, + "end": 50305, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 34 }, "end": { - "line": 1308, + "line": 1309, "column": 38 }, "identifierName": "aabb" @@ -60497,44 +60580,44 @@ }, { "type": "VariableDeclaration", - "start": 49663, - "end": 49712, + "start": 50316, + "end": 50365, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 8 }, "end": { - "line": 1310, + "line": 1311, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49669, - "end": 49711, + "start": 50322, + "end": 50364, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 14 }, "end": { - "line": 1310, + "line": 1311, "column": 56 } }, "id": { "type": "Identifier", - "start": 49669, - "end": 49681, + "start": 50322, + "end": 50334, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 14 }, "end": { - "line": 1310, + "line": 1311, "column": 26 }, "identifierName": "nodeAABBDiag" @@ -60543,43 +60626,43 @@ }, "init": { "type": "CallExpression", - "start": 49684, - "end": 49711, + "start": 50337, + "end": 50364, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 29 }, "end": { - "line": 1310, + "line": 1311, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 49684, - "end": 49701, + "start": 50337, + "end": 50354, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 29 }, "end": { - "line": 1310, + "line": 1311, "column": 46 } }, "object": { "type": "Identifier", - "start": 49684, - "end": 49688, + "start": 50337, + "end": 50341, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 29 }, "end": { - "line": 1310, + "line": 1311, "column": 33 }, "identifierName": "math" @@ -60588,15 +60671,15 @@ }, "property": { "type": "Identifier", - "start": 49689, - "end": 49701, + "start": 50342, + "end": 50354, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 34 }, "end": { - "line": 1310, + "line": 1311, "column": 46 }, "identifierName": "getAABB3Diag" @@ -60608,15 +60691,15 @@ "arguments": [ { "type": "Identifier", - "start": 49702, - "end": 49710, + "start": 50355, + "end": 50363, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 47 }, "end": { - "line": 1310, + "line": 1311, "column": 55 }, "identifierName": "nodeAABB" @@ -60631,43 +60714,43 @@ }, { "type": "IfStatement", - "start": 49722, - "end": 49937, + "start": 50375, + "end": 50590, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 8 }, "end": { - "line": 1317, + "line": 1318, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 49726, - "end": 49757, + "start": 50379, + "end": 50410, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 12 }, "end": { - "line": 1312, + "line": 1313, "column": 43 } }, "left": { "type": "Identifier", - "start": 49726, - "end": 49738, + "start": 50379, + "end": 50391, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 12 }, "end": { - "line": 1312, + "line": 1313, "column": 24 }, "identifierName": "nodeAABBDiag" @@ -60677,44 +60760,44 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 49741, - "end": 49757, + "start": 50394, + "end": 50410, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 27 }, "end": { - "line": 1312, + "line": 1313, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 49741, - "end": 49745, + "start": 50394, + "end": 50398, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 27 }, "end": { - "line": 1312, + "line": 1313, "column": 31 } } }, "property": { "type": "Identifier", - "start": 49746, - "end": 49757, + "start": 50399, + "end": 50410, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 32 }, "end": { - "line": 1312, + "line": 1313, "column": 43 }, "identifierName": "minTileSize" @@ -60726,73 +60809,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 49759, - "end": 49937, + "start": 50412, + "end": 50590, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 45 }, "end": { - "line": 1317, + "line": 1318, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 49773, - "end": 49813, + "start": 50426, + "end": 50466, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 12 }, "end": { - "line": 1313, + "line": 1314, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 49773, - "end": 49812, + "start": 50426, + "end": 50465, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 12 }, "end": { - "line": 1313, + "line": 1314, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 49773, - "end": 49788, + "start": 50426, + "end": 50441, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 12 }, "end": { - "line": 1313, + "line": 1314, "column": 27 } }, "object": { "type": "Identifier", - "start": 49773, - "end": 49779, + "start": 50426, + "end": 50432, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 12 }, "end": { - "line": 1313, + "line": 1314, "column": 18 }, "identifierName": "kdNode" @@ -60801,15 +60884,15 @@ }, "property": { "type": "Identifier", - "start": 49780, - "end": 49788, + "start": 50433, + "end": 50441, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 19 }, "end": { - "line": 1313, + "line": 1314, "column": 27 }, "identifierName": "entities" @@ -60820,43 +60903,43 @@ }, "right": { "type": "LogicalExpression", - "start": 49791, - "end": 49812, + "start": 50444, + "end": 50465, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 30 }, "end": { - "line": 1313, + "line": 1314, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 49791, - "end": 49806, + "start": 50444, + "end": 50459, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 30 }, "end": { - "line": 1313, + "line": 1314, "column": 45 } }, "object": { "type": "Identifier", - "start": 49791, - "end": 49797, + "start": 50444, + "end": 50450, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 30 }, "end": { - "line": 1313, + "line": 1314, "column": 36 }, "identifierName": "kdNode" @@ -60865,15 +60948,15 @@ }, "property": { "type": "Identifier", - "start": 49798, - "end": 49806, + "start": 50451, + "end": 50459, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 37 }, "end": { - "line": 1313, + "line": 1314, "column": 45 }, "identifierName": "entities" @@ -60885,15 +60968,15 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 49810, - "end": 49812, + "start": 50463, + "end": 50465, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 49 }, "end": { - "line": 1313, + "line": 1314, "column": 51 } }, @@ -60904,71 +60987,71 @@ }, { "type": "ExpressionStatement", - "start": 49826, - "end": 49855, + "start": 50479, + "end": 50508, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 12 }, "end": { - "line": 1314, + "line": 1315, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 49826, - "end": 49854, + "start": 50479, + "end": 50507, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 12 }, "end": { - "line": 1314, + "line": 1315, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 49826, - "end": 49846, + "start": 50479, + "end": 50499, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 12 }, "end": { - "line": 1314, + "line": 1315, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 49826, - "end": 49841, + "start": 50479, + "end": 50494, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 12 }, "end": { - "line": 1314, + "line": 1315, "column": 27 } }, "object": { "type": "Identifier", - "start": 49826, - "end": 49832, + "start": 50479, + "end": 50485, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 12 }, "end": { - "line": 1314, + "line": 1315, "column": 18 }, "identifierName": "kdNode" @@ -60977,15 +61060,15 @@ }, "property": { "type": "Identifier", - "start": 49833, - "end": 49841, + "start": 50486, + "end": 50494, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 19 }, "end": { - "line": 1314, + "line": 1315, "column": 27 }, "identifierName": "entities" @@ -60996,15 +61079,15 @@ }, "property": { "type": "Identifier", - "start": 49842, - "end": 49846, + "start": 50495, + "end": 50499, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 28 }, "end": { - "line": 1314, + "line": 1315, "column": 32 }, "identifierName": "push" @@ -61016,15 +61099,15 @@ "arguments": [ { "type": "Identifier", - "start": 49847, - "end": 49853, + "start": 50500, + "end": 50506, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 33 }, "end": { - "line": 1314, + "line": 1315, "column": 39 }, "identifierName": "entity" @@ -61036,57 +61119,57 @@ }, { "type": "ExpressionStatement", - "start": 49868, - "end": 49907, + "start": 50521, + "end": 50560, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 12 }, "end": { - "line": 1315, + "line": 1316, "column": 51 } }, "expression": { "type": "CallExpression", - "start": 49868, - "end": 49906, + "start": 50521, + "end": 50559, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 12 }, "end": { - "line": 1315, + "line": 1316, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 49868, - "end": 49884, + "start": 50521, + "end": 50537, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 12 }, "end": { - "line": 1315, + "line": 1316, "column": 28 } }, "object": { "type": "Identifier", - "start": 49868, - "end": 49872, + "start": 50521, + "end": 50525, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 12 }, "end": { - "line": 1315, + "line": 1316, "column": 16 }, "identifierName": "math" @@ -61095,15 +61178,15 @@ }, "property": { "type": "Identifier", - "start": 49873, - "end": 49884, + "start": 50526, + "end": 50537, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 17 }, "end": { - "line": 1315, + "line": 1316, "column": 28 }, "identifierName": "expandAABB3" @@ -61115,15 +61198,15 @@ "arguments": [ { "type": "Identifier", - "start": 49885, - "end": 49893, + "start": 50538, + "end": 50546, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 29 }, "end": { - "line": 1315, + "line": 1316, "column": 37 }, "identifierName": "nodeAABB" @@ -61132,15 +61215,15 @@ }, { "type": "Identifier", - "start": 49895, - "end": 49905, + "start": 50548, + "end": 50558, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 39 }, "end": { - "line": 1315, + "line": 1316, "column": 49 }, "identifierName": "entityAABB" @@ -61152,15 +61235,15 @@ }, { "type": "ReturnStatement", - "start": 49920, - "end": 49927, + "start": 50573, + "end": 50580, "loc": { "start": { - "line": 1316, + "line": 1317, "column": 12 }, "end": { - "line": 1316, + "line": 1317, "column": 19 } }, @@ -61173,43 +61256,43 @@ }, { "type": "IfStatement", - "start": 49947, - "end": 50148, + "start": 50600, + "end": 50801, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 8 }, "end": { - "line": 1324, + "line": 1325, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 49951, - "end": 49962, + "start": 50604, + "end": 50615, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 12 }, "end": { - "line": 1319, + "line": 1320, "column": 23 } }, "object": { "type": "Identifier", - "start": 49951, - "end": 49957, + "start": 50604, + "end": 50610, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 12 }, "end": { - "line": 1319, + "line": 1320, "column": 18 }, "identifierName": "kdNode" @@ -61218,15 +61301,15 @@ }, "property": { "type": "Identifier", - "start": 49958, - "end": 49962, + "start": 50611, + "end": 50615, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 19 }, "end": { - "line": 1319, + "line": 1320, "column": 23 }, "identifierName": "left" @@ -61237,72 +61320,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 49964, - "end": 50148, + "start": 50617, + "end": 50801, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 25 }, "end": { - "line": 1324, + "line": 1325, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 49978, - "end": 50138, + "start": 50631, + "end": 50791, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 12 }, "end": { - "line": 1323, + "line": 1324, "column": 13 } }, "test": { "type": "CallExpression", - "start": 49982, - "end": 50030, + "start": 50635, + "end": 50683, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 16 }, "end": { - "line": 1320, + "line": 1321, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 49982, - "end": 50000, + "start": 50635, + "end": 50653, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 16 }, "end": { - "line": 1320, + "line": 1321, "column": 34 } }, "object": { "type": "Identifier", - "start": 49982, - "end": 49986, + "start": 50635, + "end": 50639, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 16 }, "end": { - "line": 1320, + "line": 1321, "column": 20 }, "identifierName": "math" @@ -61311,15 +61394,15 @@ }, "property": { "type": "Identifier", - "start": 49987, - "end": 50000, + "start": 50640, + "end": 50653, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 21 }, "end": { - "line": 1320, + "line": 1321, "column": 34 }, "identifierName": "containsAABB3" @@ -61331,43 +61414,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 50001, - "end": 50017, + "start": 50654, + "end": 50670, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 35 }, "end": { - "line": 1320, + "line": 1321, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 50001, - "end": 50012, + "start": 50654, + "end": 50665, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 35 }, "end": { - "line": 1320, + "line": 1321, "column": 46 } }, "object": { "type": "Identifier", - "start": 50001, - "end": 50007, + "start": 50654, + "end": 50660, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 35 }, "end": { - "line": 1320, + "line": 1321, "column": 41 }, "identifierName": "kdNode" @@ -61376,15 +61459,15 @@ }, "property": { "type": "Identifier", - "start": 50008, - "end": 50012, + "start": 50661, + "end": 50665, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 42 }, "end": { - "line": 1320, + "line": 1321, "column": 46 }, "identifierName": "left" @@ -61395,15 +61478,15 @@ }, "property": { "type": "Identifier", - "start": 50013, - "end": 50017, + "start": 50666, + "end": 50670, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 47 }, "end": { - "line": 1320, + "line": 1321, "column": 51 }, "identifierName": "aabb" @@ -61414,15 +61497,15 @@ }, { "type": "Identifier", - "start": 50019, - "end": 50029, + "start": 50672, + "end": 50682, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 53 }, "end": { - "line": 1320, + "line": 1321, "column": 63 }, "identifierName": "entityAABB" @@ -61433,87 +61516,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 50032, - "end": 50138, + "start": 50685, + "end": 50791, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 66 }, "end": { - "line": 1323, + "line": 1324, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 50050, - "end": 50100, + "start": 50703, + "end": 50753, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 16 }, "end": { - "line": 1321, + "line": 1322, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 50050, - "end": 50099, + "start": 50703, + "end": 50752, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 16 }, "end": { - "line": 1321, + "line": 1322, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 50050, - "end": 50078, + "start": 50703, + "end": 50731, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 16 }, "end": { - "line": 1321, + "line": 1322, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 50050, - "end": 50054, + "start": 50703, + "end": 50707, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 16 }, "end": { - "line": 1321, + "line": 1322, "column": 20 } } }, "property": { "type": "Identifier", - "start": 50055, - "end": 50078, + "start": 50708, + "end": 50731, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 21 }, "end": { - "line": 1321, + "line": 1322, "column": 44 }, "identifierName": "_insertEntityIntoKDTree" @@ -61525,29 +61608,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 50079, - "end": 50090, + "start": 50732, + "end": 50743, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 45 }, "end": { - "line": 1321, + "line": 1322, "column": 56 } }, "object": { "type": "Identifier", - "start": 50079, - "end": 50085, + "start": 50732, + "end": 50738, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 45 }, "end": { - "line": 1321, + "line": 1322, "column": 51 }, "identifierName": "kdNode" @@ -61556,15 +61639,15 @@ }, "property": { "type": "Identifier", - "start": 50086, - "end": 50090, + "start": 50739, + "end": 50743, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 52 }, "end": { - "line": 1321, + "line": 1322, "column": 56 }, "identifierName": "left" @@ -61575,15 +61658,15 @@ }, { "type": "Identifier", - "start": 50092, - "end": 50098, + "start": 50745, + "end": 50751, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 58 }, "end": { - "line": 1321, + "line": 1322, "column": 64 }, "identifierName": "entity" @@ -61595,15 +61678,15 @@ }, { "type": "ReturnStatement", - "start": 50117, - "end": 50124, + "start": 50770, + "end": 50777, "loc": { "start": { - "line": 1322, + "line": 1323, "column": 16 }, "end": { - "line": 1322, + "line": 1323, "column": 23 } }, @@ -61621,43 +61704,43 @@ }, { "type": "IfStatement", - "start": 50158, - "end": 50362, + "start": 50811, + "end": 51015, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 8 }, "end": { - "line": 1331, + "line": 1332, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 50162, - "end": 50174, + "start": 50815, + "end": 50827, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 12 }, "end": { - "line": 1326, + "line": 1327, "column": 24 } }, "object": { "type": "Identifier", - "start": 50162, - "end": 50168, + "start": 50815, + "end": 50821, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 12 }, "end": { - "line": 1326, + "line": 1327, "column": 18 }, "identifierName": "kdNode" @@ -61666,15 +61749,15 @@ }, "property": { "type": "Identifier", - "start": 50169, - "end": 50174, + "start": 50822, + "end": 50827, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 19 }, "end": { - "line": 1326, + "line": 1327, "column": 24 }, "identifierName": "right" @@ -61685,72 +61768,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 50176, - "end": 50362, + "start": 50829, + "end": 51015, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 26 }, "end": { - "line": 1331, + "line": 1332, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 50190, - "end": 50352, + "start": 50843, + "end": 51005, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 12 }, "end": { - "line": 1330, + "line": 1331, "column": 13 } }, "test": { "type": "CallExpression", - "start": 50194, - "end": 50243, + "start": 50847, + "end": 50896, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 16 }, "end": { - "line": 1327, + "line": 1328, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 50194, - "end": 50212, + "start": 50847, + "end": 50865, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 16 }, "end": { - "line": 1327, + "line": 1328, "column": 34 } }, "object": { "type": "Identifier", - "start": 50194, - "end": 50198, + "start": 50847, + "end": 50851, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 16 }, "end": { - "line": 1327, + "line": 1328, "column": 20 }, "identifierName": "math" @@ -61759,15 +61842,15 @@ }, "property": { "type": "Identifier", - "start": 50199, - "end": 50212, + "start": 50852, + "end": 50865, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 21 }, "end": { - "line": 1327, + "line": 1328, "column": 34 }, "identifierName": "containsAABB3" @@ -61779,43 +61862,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 50213, - "end": 50230, + "start": 50866, + "end": 50883, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 35 }, "end": { - "line": 1327, + "line": 1328, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 50213, - "end": 50225, + "start": 50866, + "end": 50878, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 35 }, "end": { - "line": 1327, + "line": 1328, "column": 47 } }, "object": { "type": "Identifier", - "start": 50213, - "end": 50219, + "start": 50866, + "end": 50872, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 35 }, "end": { - "line": 1327, + "line": 1328, "column": 41 }, "identifierName": "kdNode" @@ -61824,15 +61907,15 @@ }, "property": { "type": "Identifier", - "start": 50220, - "end": 50225, + "start": 50873, + "end": 50878, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 42 }, "end": { - "line": 1327, + "line": 1328, "column": 47 }, "identifierName": "right" @@ -61843,15 +61926,15 @@ }, "property": { "type": "Identifier", - "start": 50226, - "end": 50230, + "start": 50879, + "end": 50883, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 48 }, "end": { - "line": 1327, + "line": 1328, "column": 52 }, "identifierName": "aabb" @@ -61862,15 +61945,15 @@ }, { "type": "Identifier", - "start": 50232, - "end": 50242, + "start": 50885, + "end": 50895, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 54 }, "end": { - "line": 1327, + "line": 1328, "column": 64 }, "identifierName": "entityAABB" @@ -61881,87 +61964,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 50245, - "end": 50352, + "start": 50898, + "end": 51005, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 67 }, "end": { - "line": 1330, + "line": 1331, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 50263, - "end": 50314, + "start": 50916, + "end": 50967, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 16 }, "end": { - "line": 1328, + "line": 1329, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 50263, - "end": 50313, + "start": 50916, + "end": 50966, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 16 }, "end": { - "line": 1328, + "line": 1329, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 50263, - "end": 50291, + "start": 50916, + "end": 50944, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 16 }, "end": { - "line": 1328, + "line": 1329, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 50263, - "end": 50267, + "start": 50916, + "end": 50920, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 16 }, "end": { - "line": 1328, + "line": 1329, "column": 20 } } }, "property": { "type": "Identifier", - "start": 50268, - "end": 50291, + "start": 50921, + "end": 50944, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 21 }, "end": { - "line": 1328, + "line": 1329, "column": 44 }, "identifierName": "_insertEntityIntoKDTree" @@ -61973,29 +62056,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 50292, - "end": 50304, + "start": 50945, + "end": 50957, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 45 }, "end": { - "line": 1328, + "line": 1329, "column": 57 } }, "object": { "type": "Identifier", - "start": 50292, - "end": 50298, + "start": 50945, + "end": 50951, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 45 }, "end": { - "line": 1328, + "line": 1329, "column": 51 }, "identifierName": "kdNode" @@ -62004,15 +62087,15 @@ }, "property": { "type": "Identifier", - "start": 50299, - "end": 50304, + "start": 50952, + "end": 50957, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 52 }, "end": { - "line": 1328, + "line": 1329, "column": 57 }, "identifierName": "right" @@ -62023,15 +62106,15 @@ }, { "type": "Identifier", - "start": 50306, - "end": 50312, + "start": 50959, + "end": 50965, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 59 }, "end": { - "line": 1328, + "line": 1329, "column": 65 }, "identifierName": "entity" @@ -62043,15 +62126,15 @@ }, { "type": "ReturnStatement", - "start": 50331, - "end": 50338, + "start": 50984, + "end": 50991, "loc": { "start": { - "line": 1329, + "line": 1330, "column": 16 }, "end": { - "line": 1329, + "line": 1330, "column": 23 } }, @@ -62069,214 +62152,8 @@ }, { "type": "ExpressionStatement", - "start": 50372, - "end": 50419, - "loc": { - "start": { - "line": 1333, - "column": 8 - }, - "end": { - "line": 1333, - "column": 55 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 50372, - "end": 50418, - "loc": { - "start": { - "line": 1333, - "column": 8 - }, - "end": { - "line": 1333, - "column": 54 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 50372, - "end": 50390, - "loc": { - "start": { - "line": 1333, - "column": 8 - }, - "end": { - "line": 1333, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 50372, - "end": 50387, - "loc": { - "start": { - "line": 1333, - "column": 8 - }, - "end": { - "line": 1333, - "column": 23 - }, - "identifierName": "kdTreeDimLength" - }, - "name": "kdTreeDimLength" - }, - "property": { - "type": "NumericLiteral", - "start": 50388, - "end": 50389, - "loc": { - "start": { - "line": 1333, - "column": 24 - }, - "end": { - "line": 1333, - "column": 25 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "right": { - "type": "BinaryExpression", - "start": 50393, - "end": 50418, - "loc": { - "start": { - "line": 1333, - "column": 29 - }, - "end": { - "line": 1333, - "column": 54 - } - }, - "left": { - "type": "MemberExpression", - "start": 50393, - "end": 50404, - "loc": { - "start": { - "line": 1333, - "column": 29 - }, - "end": { - "line": 1333, - "column": 40 - } - }, - "object": { - "type": "Identifier", - "start": 50393, - "end": 50401, - "loc": { - "start": { - "line": 1333, - "column": 29 - }, - "end": { - "line": 1333, - "column": 37 - }, - "identifierName": "nodeAABB" - }, - "name": "nodeAABB" - }, - "property": { - "type": "NumericLiteral", - "start": 50402, - "end": 50403, - "loc": { - "start": { - "line": 1333, - "column": 38 - }, - "end": { - "line": 1333, - "column": 39 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - "computed": true - }, - "operator": "-", - "right": { - "type": "MemberExpression", - "start": 50407, - "end": 50418, - "loc": { - "start": { - "line": 1333, - "column": 43 - }, - "end": { - "line": 1333, - "column": 54 - } - }, - "object": { - "type": "Identifier", - "start": 50407, - "end": 50415, - "loc": { - "start": { - "line": 1333, - "column": 43 - }, - "end": { - "line": 1333, - "column": 51 - }, - "identifierName": "nodeAABB" - }, - "name": "nodeAABB" - }, - "property": { - "type": "NumericLiteral", - "start": 50416, - "end": 50417, - "loc": { - "start": { - "line": 1333, - "column": 52 - }, - "end": { - "line": 1333, - "column": 53 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - } - } - } - }, - { - "type": "ExpressionStatement", - "start": 50428, - "end": 50475, + "start": 51025, + "end": 51072, "loc": { "start": { "line": 1334, @@ -62289,8 +62166,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 50428, - "end": 50474, + "start": 51025, + "end": 51071, "loc": { "start": { "line": 1334, @@ -62304,8 +62181,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 50428, - "end": 50446, + "start": 51025, + "end": 51043, "loc": { "start": { "line": 1334, @@ -62318,8 +62195,8 @@ }, "object": { "type": "Identifier", - "start": 50428, - "end": 50443, + "start": 51025, + "end": 51040, "loc": { "start": { "line": 1334, @@ -62335,8 +62212,8 @@ }, "property": { "type": "NumericLiteral", - "start": 50444, - "end": 50445, + "start": 51041, + "end": 51042, "loc": { "start": { "line": 1334, @@ -62348,17 +62225,17 @@ } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, "computed": true }, "right": { "type": "BinaryExpression", - "start": 50449, - "end": 50474, + "start": 51046, + "end": 51071, "loc": { "start": { "line": 1334, @@ -62371,8 +62248,8 @@ }, "left": { "type": "MemberExpression", - "start": 50449, - "end": 50460, + "start": 51046, + "end": 51057, "loc": { "start": { "line": 1334, @@ -62385,8 +62262,8 @@ }, "object": { "type": "Identifier", - "start": 50449, - "end": 50457, + "start": 51046, + "end": 51054, "loc": { "start": { "line": 1334, @@ -62402,8 +62279,8 @@ }, "property": { "type": "NumericLiteral", - "start": 50458, - "end": 50459, + "start": 51055, + "end": 51056, "loc": { "start": { "line": 1334, @@ -62415,18 +62292,18 @@ } }, "extra": { - "rawValue": 4, - "raw": "4" + "rawValue": 3, + "raw": "3" }, - "value": 4 + "value": 3 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 50463, - "end": 50474, + "start": 51060, + "end": 51071, "loc": { "start": { "line": 1334, @@ -62439,8 +62316,8 @@ }, "object": { "type": "Identifier", - "start": 50463, - "end": 50471, + "start": 51060, + "end": 51068, "loc": { "start": { "line": 1334, @@ -62456,8 +62333,8 @@ }, "property": { "type": "NumericLiteral", - "start": 50472, - "end": 50473, + "start": 51069, + "end": 51070, "loc": { "start": { "line": 1334, @@ -62469,10 +62346,10 @@ } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, "computed": true } @@ -62481,8 +62358,8 @@ }, { "type": "ExpressionStatement", - "start": 50484, - "end": 50531, + "start": 51081, + "end": 51128, "loc": { "start": { "line": 1335, @@ -62495,8 +62372,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 50484, - "end": 50530, + "start": 51081, + "end": 51127, "loc": { "start": { "line": 1335, @@ -62510,8 +62387,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 50484, - "end": 50502, + "start": 51081, + "end": 51099, "loc": { "start": { "line": 1335, @@ -62524,8 +62401,8 @@ }, "object": { "type": "Identifier", - "start": 50484, - "end": 50499, + "start": 51081, + "end": 51096, "loc": { "start": { "line": 1335, @@ -62541,8 +62418,8 @@ }, "property": { "type": "NumericLiteral", - "start": 50500, - "end": 50501, + "start": 51097, + "end": 51098, "loc": { "start": { "line": 1335, @@ -62554,17 +62431,17 @@ } }, "extra": { - "rawValue": 2, - "raw": "2" + "rawValue": 1, + "raw": "1" }, - "value": 2 + "value": 1 }, "computed": true }, "right": { "type": "BinaryExpression", - "start": 50505, - "end": 50530, + "start": 51102, + "end": 51127, "loc": { "start": { "line": 1335, @@ -62577,8 +62454,8 @@ }, "left": { "type": "MemberExpression", - "start": 50505, - "end": 50516, + "start": 51102, + "end": 51113, "loc": { "start": { "line": 1335, @@ -62591,8 +62468,8 @@ }, "object": { "type": "Identifier", - "start": 50505, - "end": 50513, + "start": 51102, + "end": 51110, "loc": { "start": { "line": 1335, @@ -62608,8 +62485,8 @@ }, "property": { "type": "NumericLiteral", - "start": 50514, - "end": 50515, + "start": 51111, + "end": 51112, "loc": { "start": { "line": 1335, @@ -62621,18 +62498,18 @@ } }, "extra": { - "rawValue": 5, - "raw": "5" + "rawValue": 4, + "raw": "4" }, - "value": 5 + "value": 4 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 50519, - "end": 50530, + "start": 51116, + "end": 51127, "loc": { "start": { "line": 1335, @@ -62645,8 +62522,8 @@ }, "object": { "type": "Identifier", - "start": 50519, - "end": 50527, + "start": 51116, + "end": 51124, "loc": { "start": { "line": 1335, @@ -62662,8 +62539,8 @@ }, "property": { "type": "NumericLiteral", - "start": 50528, - "end": 50529, + "start": 51125, + "end": 51126, "loc": { "start": { "line": 1335, @@ -62674,6 +62551,212 @@ "column": 53 } }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 51137, + "end": 51184, + "loc": { + "start": { + "line": 1336, + "column": 8 + }, + "end": { + "line": 1336, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 51137, + "end": 51183, + "loc": { + "start": { + "line": 1336, + "column": 8 + }, + "end": { + "line": 1336, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 51137, + "end": 51155, + "loc": { + "start": { + "line": 1336, + "column": 8 + }, + "end": { + "line": 1336, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 51137, + "end": 51152, + "loc": { + "start": { + "line": 1336, + "column": 8 + }, + "end": { + "line": 1336, + "column": 23 + }, + "identifierName": "kdTreeDimLength" + }, + "name": "kdTreeDimLength" + }, + "property": { + "type": "NumericLiteral", + "start": 51153, + "end": 51154, + "loc": { + "start": { + "line": 1336, + "column": 24 + }, + "end": { + "line": 1336, + "column": 25 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + "computed": true + }, + "right": { + "type": "BinaryExpression", + "start": 51158, + "end": 51183, + "loc": { + "start": { + "line": 1336, + "column": 29 + }, + "end": { + "line": 1336, + "column": 54 + } + }, + "left": { + "type": "MemberExpression", + "start": 51158, + "end": 51169, + "loc": { + "start": { + "line": 1336, + "column": 29 + }, + "end": { + "line": 1336, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 51158, + "end": 51166, + "loc": { + "start": { + "line": 1336, + "column": 29 + }, + "end": { + "line": 1336, + "column": 37 + }, + "identifierName": "nodeAABB" + }, + "name": "nodeAABB" + }, + "property": { + "type": "NumericLiteral", + "start": 51167, + "end": 51168, + "loc": { + "start": { + "line": 1336, + "column": 38 + }, + "end": { + "line": 1336, + "column": 39 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + "computed": true + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 51172, + "end": 51183, + "loc": { + "start": { + "line": 1336, + "column": 43 + }, + "end": { + "line": 1336, + "column": 54 + } + }, + "object": { + "type": "Identifier", + "start": 51172, + "end": 51180, + "loc": { + "start": { + "line": 1336, + "column": 43 + }, + "end": { + "line": 1336, + "column": 51 + }, + "identifierName": "nodeAABB" + }, + "name": "nodeAABB" + }, + "property": { + "type": "NumericLiteral", + "start": 51181, + "end": 51182, + "loc": { + "start": { + "line": 1336, + "column": 52 + }, + "end": { + "line": 1336, + "column": 53 + } + }, "extra": { "rawValue": 2, "raw": "2" @@ -62687,44 +62770,44 @@ }, { "type": "VariableDeclaration", - "start": 50541, - "end": 50553, + "start": 51194, + "end": 51206, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 8 }, "end": { - "line": 1337, + "line": 1338, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 50545, - "end": 50552, + "start": 51198, + "end": 51205, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 12 }, "end": { - "line": 1337, + "line": 1338, "column": 19 } }, "id": { "type": "Identifier", - "start": 50545, - "end": 50548, + "start": 51198, + "end": 51201, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 12 }, "end": { - "line": 1337, + "line": 1338, "column": 15 }, "identifierName": "dim" @@ -62733,15 +62816,15 @@ }, "init": { "type": "NumericLiteral", - "start": 50551, - "end": 50552, + "start": 51204, + "end": 51205, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 18 }, "end": { - "line": 1337, + "line": 1338, "column": 19 } }, @@ -62757,57 +62840,57 @@ }, { "type": "IfStatement", - "start": 50563, - "end": 50642, + "start": 51216, + "end": 51295, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 8 }, "end": { - "line": 1341, + "line": 1342, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 50567, - "end": 50608, + "start": 51220, + "end": 51261, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 12 }, "end": { - "line": 1339, + "line": 1340, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 50567, - "end": 50585, + "start": 51220, + "end": 51238, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 12 }, "end": { - "line": 1339, + "line": 1340, "column": 30 } }, "object": { "type": "Identifier", - "start": 50567, - "end": 50582, + "start": 51220, + "end": 51235, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 12 }, "end": { - "line": 1339, + "line": 1340, "column": 27 }, "identifierName": "kdTreeDimLength" @@ -62816,15 +62899,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50583, - "end": 50584, + "start": 51236, + "end": 51237, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 28 }, "end": { - "line": 1339, + "line": 1340, "column": 29 } }, @@ -62839,29 +62922,29 @@ "operator": ">", "right": { "type": "MemberExpression", - "start": 50588, - "end": 50608, + "start": 51241, + "end": 51261, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 33 }, "end": { - "line": 1339, + "line": 1340, "column": 53 } }, "object": { "type": "Identifier", - "start": 50588, - "end": 50603, + "start": 51241, + "end": 51256, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 33 }, "end": { - "line": 1339, + "line": 1340, "column": 48 }, "identifierName": "kdTreeDimLength" @@ -62870,15 +62953,15 @@ }, "property": { "type": "Identifier", - "start": 50604, - "end": 50607, + "start": 51257, + "end": 51260, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 49 }, "end": { - "line": 1339, + "line": 1340, "column": 52 }, "identifierName": "dim" @@ -62890,59 +62973,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 50610, - "end": 50642, + "start": 51263, + "end": 51295, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 55 }, "end": { - "line": 1341, + "line": 1342, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 50624, - "end": 50632, + "start": 51277, + "end": 51285, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 12 }, "end": { - "line": 1340, + "line": 1341, "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 50624, - "end": 50631, + "start": 51277, + "end": 51284, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 12 }, "end": { - "line": 1340, + "line": 1341, "column": 19 } }, "operator": "=", "left": { "type": "Identifier", - "start": 50624, - "end": 50627, + "start": 51277, + "end": 51280, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 12 }, "end": { - "line": 1340, + "line": 1341, "column": 15 }, "identifierName": "dim" @@ -62951,15 +63034,15 @@ }, "right": { "type": "NumericLiteral", - "start": 50630, - "end": 50631, + "start": 51283, + "end": 51284, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 18 }, "end": { - "line": 1340, + "line": 1341, "column": 19 } }, @@ -62978,57 +63061,57 @@ }, { "type": "IfStatement", - "start": 50652, - "end": 50731, + "start": 51305, + "end": 51384, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 8 }, "end": { - "line": 1345, + "line": 1346, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 50656, - "end": 50697, + "start": 51309, + "end": 51350, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 12 }, "end": { - "line": 1343, + "line": 1344, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 50656, - "end": 50674, + "start": 51309, + "end": 51327, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 12 }, "end": { - "line": 1343, + "line": 1344, "column": 30 } }, "object": { "type": "Identifier", - "start": 50656, - "end": 50671, + "start": 51309, + "end": 51324, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 12 }, "end": { - "line": 1343, + "line": 1344, "column": 27 }, "identifierName": "kdTreeDimLength" @@ -63037,15 +63120,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50672, - "end": 50673, + "start": 51325, + "end": 51326, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 28 }, "end": { - "line": 1343, + "line": 1344, "column": 29 } }, @@ -63060,29 +63143,29 @@ "operator": ">", "right": { "type": "MemberExpression", - "start": 50677, - "end": 50697, + "start": 51330, + "end": 51350, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 33 }, "end": { - "line": 1343, + "line": 1344, "column": 53 } }, "object": { "type": "Identifier", - "start": 50677, - "end": 50692, + "start": 51330, + "end": 51345, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 33 }, "end": { - "line": 1343, + "line": 1344, "column": 48 }, "identifierName": "kdTreeDimLength" @@ -63091,15 +63174,15 @@ }, "property": { "type": "Identifier", - "start": 50693, - "end": 50696, + "start": 51346, + "end": 51349, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 49 }, "end": { - "line": 1343, + "line": 1344, "column": 52 }, "identifierName": "dim" @@ -63111,59 +63194,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 50699, - "end": 50731, + "start": 51352, + "end": 51384, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 55 }, "end": { - "line": 1345, + "line": 1346, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 50713, - "end": 50721, + "start": 51366, + "end": 51374, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 12 }, "end": { - "line": 1344, + "line": 1345, "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 50713, - "end": 50720, + "start": 51366, + "end": 51373, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 12 }, "end": { - "line": 1344, + "line": 1345, "column": 19 } }, "operator": "=", "left": { "type": "Identifier", - "start": 50713, - "end": 50716, + "start": 51366, + "end": 51369, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 12 }, "end": { - "line": 1344, + "line": 1345, "column": 15 }, "identifierName": "dim" @@ -63172,15 +63255,15 @@ }, "right": { "type": "NumericLiteral", - "start": 50719, - "end": 50720, + "start": 51372, + "end": 51373, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 18 }, "end": { - "line": 1344, + "line": 1345, "column": 19 } }, @@ -63199,29 +63282,29 @@ }, { "type": "IfStatement", - "start": 50741, - "end": 51107, + "start": 51394, + "end": 51760, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 8 }, "end": { - "line": 1355, + "line": 1356, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 50745, - "end": 50757, + "start": 51398, + "end": 51410, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 12 }, "end": { - "line": 1347, + "line": 1348, "column": 24 } }, @@ -63229,29 +63312,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 50746, - "end": 50757, + "start": 51399, + "end": 51410, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 13 }, "end": { - "line": 1347, + "line": 1348, "column": 24 } }, "object": { "type": "Identifier", - "start": 50746, - "end": 50752, + "start": 51399, + "end": 51405, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 13 }, "end": { - "line": 1347, + "line": 1348, "column": 19 }, "identifierName": "kdNode" @@ -63260,15 +63343,15 @@ }, "property": { "type": "Identifier", - "start": 50753, - "end": 50757, + "start": 51406, + "end": 51410, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 20 }, "end": { - "line": 1347, + "line": 1348, "column": 24 }, "identifierName": "left" @@ -63283,59 +63366,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 50759, - "end": 51107, + "start": 51412, + "end": 51760, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 26 }, "end": { - "line": 1355, + "line": 1356, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 50773, - "end": 50807, + "start": 51426, + "end": 51460, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 12 }, "end": { - "line": 1348, + "line": 1349, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 50779, - "end": 50806, + "start": 51432, + "end": 51459, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 18 }, "end": { - "line": 1348, + "line": 1349, "column": 45 } }, "id": { "type": "Identifier", - "start": 50779, - "end": 50787, + "start": 51432, + "end": 51440, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 18 }, "end": { - "line": 1348, + "line": 1349, "column": 26 }, "identifierName": "aabbLeft" @@ -63344,43 +63427,43 @@ }, "init": { "type": "CallExpression", - "start": 50790, - "end": 50806, + "start": 51443, + "end": 51459, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 29 }, "end": { - "line": 1348, + "line": 1349, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 50790, - "end": 50804, + "start": 51443, + "end": 51457, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 29 }, "end": { - "line": 1348, + "line": 1349, "column": 43 } }, "object": { "type": "Identifier", - "start": 50790, - "end": 50798, + "start": 51443, + "end": 51451, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 29 }, "end": { - "line": 1348, + "line": 1349, "column": 37 }, "identifierName": "nodeAABB" @@ -63389,15 +63472,15 @@ }, "property": { "type": "Identifier", - "start": 50799, - "end": 50804, + "start": 51452, + "end": 51457, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 38 }, "end": { - "line": 1348, + "line": 1349, "column": 43 }, "identifierName": "slice" @@ -63414,58 +63497,58 @@ }, { "type": "ExpressionStatement", - "start": 50820, - "end": 50884, + "start": 51473, + "end": 51537, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 12 }, "end": { - "line": 1349, + "line": 1350, "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 50820, - "end": 50883, + "start": 51473, + "end": 51536, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 12 }, "end": { - "line": 1349, + "line": 1350, "column": 75 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 50820, - "end": 50837, + "start": 51473, + "end": 51490, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 12 }, "end": { - "line": 1349, + "line": 1350, "column": 29 } }, "object": { "type": "Identifier", - "start": 50820, - "end": 50828, + "start": 51473, + "end": 51481, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 12 }, "end": { - "line": 1349, + "line": 1350, "column": 20 }, "identifierName": "aabbLeft" @@ -63474,29 +63557,29 @@ }, "property": { "type": "BinaryExpression", - "start": 50829, - "end": 50836, + "start": 51482, + "end": 51489, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 21 }, "end": { - "line": 1349, + "line": 1350, "column": 28 } }, "left": { "type": "Identifier", - "start": 50829, - "end": 50832, + "start": 51482, + "end": 51485, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 21 }, "end": { - "line": 1349, + "line": 1350, "column": 24 }, "identifierName": "dim" @@ -63506,15 +63589,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 50835, - "end": 50836, + "start": 51488, + "end": 51489, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 27 }, "end": { - "line": 1349, + "line": 1350, "column": 28 } }, @@ -63529,57 +63612,57 @@ }, "right": { "type": "BinaryExpression", - "start": 50841, - "end": 50882, + "start": 51494, + "end": 51535, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 33 }, "end": { - "line": 1349, + "line": 1350, "column": 74 } }, "left": { "type": "BinaryExpression", - "start": 50842, - "end": 50875, + "start": 51495, + "end": 51528, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 34 }, "end": { - "line": 1349, + "line": 1350, "column": 67 } }, "left": { "type": "MemberExpression", - "start": 50842, - "end": 50855, + "start": 51495, + "end": 51508, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 34 }, "end": { - "line": 1349, + "line": 1350, "column": 47 } }, "object": { "type": "Identifier", - "start": 50842, - "end": 50850, + "start": 51495, + "end": 51503, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 34 }, "end": { - "line": 1349, + "line": 1350, "column": 42 }, "identifierName": "nodeAABB" @@ -63588,15 +63671,15 @@ }, "property": { "type": "Identifier", - "start": 50851, - "end": 50854, + "start": 51504, + "end": 51507, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 43 }, "end": { - "line": 1349, + "line": 1350, "column": 46 }, "identifierName": "dim" @@ -63608,29 +63691,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 50858, - "end": 50875, + "start": 51511, + "end": 51528, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 50 }, "end": { - "line": 1349, + "line": 1350, "column": 67 } }, "object": { "type": "Identifier", - "start": 50858, - "end": 50866, + "start": 51511, + "end": 51519, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 50 }, "end": { - "line": 1349, + "line": 1350, "column": 58 }, "identifierName": "nodeAABB" @@ -63639,29 +63722,29 @@ }, "property": { "type": "BinaryExpression", - "start": 50867, - "end": 50874, + "start": 51520, + "end": 51527, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 59 }, "end": { - "line": 1349, + "line": 1350, "column": 66 } }, "left": { "type": "Identifier", - "start": 50867, - "end": 50870, + "start": 51520, + "end": 51523, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 59 }, "end": { - "line": 1349, + "line": 1350, "column": 62 }, "identifierName": "dim" @@ -63671,15 +63754,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 50873, - "end": 50874, + "start": 51526, + "end": 51527, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 65 }, "end": { - "line": 1349, + "line": 1350, "column": 66 } }, @@ -63694,21 +63777,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 50841 + "parenStart": 51494 } }, "operator": "/", "right": { "type": "NumericLiteral", - "start": 50879, - "end": 50882, + "start": 51532, + "end": 51535, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 71 }, "end": { - "line": 1349, + "line": 1350, "column": 74 } }, @@ -63720,65 +63803,65 @@ }, "extra": { "parenthesized": true, - "parenStart": 50840 + "parenStart": 51493 } } } }, { "type": "ExpressionStatement", - "start": 50897, - "end": 50932, + "start": 51550, + "end": 51585, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 12 }, "end": { - "line": 1350, + "line": 1351, "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 50897, - "end": 50931, + "start": 51550, + "end": 51584, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 12 }, "end": { - "line": 1350, + "line": 1351, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 50897, - "end": 50908, + "start": 51550, + "end": 51561, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 12 }, "end": { - "line": 1350, + "line": 1351, "column": 23 } }, "object": { "type": "Identifier", - "start": 50897, - "end": 50903, + "start": 51550, + "end": 51556, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 12 }, "end": { - "line": 1350, + "line": 1351, "column": 18 }, "identifierName": "kdNode" @@ -63787,15 +63870,15 @@ }, "property": { "type": "Identifier", - "start": 50904, - "end": 50908, + "start": 51557, + "end": 51561, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 19 }, "end": { - "line": 1350, + "line": 1351, "column": 23 }, "identifierName": "left" @@ -63806,29 +63889,29 @@ }, "right": { "type": "NewExpression", - "start": 50911, - "end": 50931, + "start": 51564, + "end": 51584, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 26 }, "end": { - "line": 1350, + "line": 1351, "column": 46 } }, "callee": { "type": "Identifier", - "start": 50915, - "end": 50921, + "start": 51568, + "end": 51574, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 30 }, "end": { - "line": 1350, + "line": 1351, "column": 36 }, "identifierName": "KDNode" @@ -63838,15 +63921,15 @@ "arguments": [ { "type": "Identifier", - "start": 50922, - "end": 50930, + "start": 51575, + "end": 51583, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 37 }, "end": { - "line": 1350, + "line": 1351, "column": 45 }, "identifierName": "aabbLeft" @@ -63859,57 +63942,57 @@ }, { "type": "IfStatement", - "start": 50945, - "end": 51097, + "start": 51598, + "end": 51750, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 12 }, "end": { - "line": 1354, + "line": 1355, "column": 13 } }, "test": { "type": "CallExpression", - "start": 50949, - "end": 50989, + "start": 51602, + "end": 51642, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 16 }, "end": { - "line": 1351, + "line": 1352, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 50949, - "end": 50967, + "start": 51602, + "end": 51620, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 16 }, "end": { - "line": 1351, + "line": 1352, "column": 34 } }, "object": { "type": "Identifier", - "start": 50949, - "end": 50953, + "start": 51602, + "end": 51606, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 16 }, "end": { - "line": 1351, + "line": 1352, "column": 20 }, "identifierName": "math" @@ -63918,15 +64001,15 @@ }, "property": { "type": "Identifier", - "start": 50954, - "end": 50967, + "start": 51607, + "end": 51620, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 21 }, "end": { - "line": 1351, + "line": 1352, "column": 34 }, "identifierName": "containsAABB3" @@ -63938,15 +64021,15 @@ "arguments": [ { "type": "Identifier", - "start": 50968, - "end": 50976, + "start": 51621, + "end": 51629, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 35 }, "end": { - "line": 1351, + "line": 1352, "column": 43 }, "identifierName": "aabbLeft" @@ -63955,15 +64038,15 @@ }, { "type": "Identifier", - "start": 50978, - "end": 50988, + "start": 51631, + "end": 51641, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 45 }, "end": { - "line": 1351, + "line": 1352, "column": 55 }, "identifierName": "entityAABB" @@ -63974,87 +64057,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 50991, - "end": 51097, + "start": 51644, + "end": 51750, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 58 }, "end": { - "line": 1354, + "line": 1355, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 51009, - "end": 51059, + "start": 51662, + "end": 51712, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 16 }, "end": { - "line": 1352, + "line": 1353, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 51009, - "end": 51058, + "start": 51662, + "end": 51711, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 16 }, "end": { - "line": 1352, + "line": 1353, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 51009, - "end": 51037, + "start": 51662, + "end": 51690, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 16 }, "end": { - "line": 1352, + "line": 1353, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 51009, - "end": 51013, + "start": 51662, + "end": 51666, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 16 }, "end": { - "line": 1352, + "line": 1353, "column": 20 } } }, "property": { "type": "Identifier", - "start": 51014, - "end": 51037, + "start": 51667, + "end": 51690, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 21 }, "end": { - "line": 1352, + "line": 1353, "column": 44 }, "identifierName": "_insertEntityIntoKDTree" @@ -64066,29 +64149,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 51038, - "end": 51049, + "start": 51691, + "end": 51702, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 45 }, "end": { - "line": 1352, + "line": 1353, "column": 56 } }, "object": { "type": "Identifier", - "start": 51038, - "end": 51044, + "start": 51691, + "end": 51697, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 45 }, "end": { - "line": 1352, + "line": 1353, "column": 51 }, "identifierName": "kdNode" @@ -64097,15 +64180,15 @@ }, "property": { "type": "Identifier", - "start": 51045, - "end": 51049, + "start": 51698, + "end": 51702, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 52 }, "end": { - "line": 1352, + "line": 1353, "column": 56 }, "identifierName": "left" @@ -64116,15 +64199,15 @@ }, { "type": "Identifier", - "start": 51051, - "end": 51057, + "start": 51704, + "end": 51710, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 58 }, "end": { - "line": 1352, + "line": 1353, "column": 64 }, "identifierName": "entity" @@ -64136,15 +64219,15 @@ }, { "type": "ReturnStatement", - "start": 51076, - "end": 51083, + "start": 51729, + "end": 51736, "loc": { "start": { - "line": 1353, + "line": 1354, "column": 16 }, "end": { - "line": 1353, + "line": 1354, "column": 23 } }, @@ -64162,29 +64245,29 @@ }, { "type": "IfStatement", - "start": 51117, - "end": 51486, + "start": 51770, + "end": 52139, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 8 }, "end": { - "line": 1365, + "line": 1366, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 51121, - "end": 51134, + "start": 51774, + "end": 51787, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 12 }, "end": { - "line": 1357, + "line": 1358, "column": 25 } }, @@ -64192,29 +64275,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 51122, - "end": 51134, + "start": 51775, + "end": 51787, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 13 }, "end": { - "line": 1357, + "line": 1358, "column": 25 } }, "object": { "type": "Identifier", - "start": 51122, - "end": 51128, + "start": 51775, + "end": 51781, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 13 }, "end": { - "line": 1357, + "line": 1358, "column": 19 }, "identifierName": "kdNode" @@ -64223,15 +64306,15 @@ }, "property": { "type": "Identifier", - "start": 51129, - "end": 51134, + "start": 51782, + "end": 51787, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 20 }, "end": { - "line": 1357, + "line": 1358, "column": 25 }, "identifierName": "right" @@ -64246,59 +64329,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 51136, - "end": 51486, + "start": 51789, + "end": 52139, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 27 }, "end": { - "line": 1365, + "line": 1366, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 51150, - "end": 51185, + "start": 51803, + "end": 51838, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 12 }, "end": { - "line": 1358, + "line": 1359, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 51156, - "end": 51184, + "start": 51809, + "end": 51837, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 18 }, "end": { - "line": 1358, + "line": 1359, "column": 46 } }, "id": { "type": "Identifier", - "start": 51156, - "end": 51165, + "start": 51809, + "end": 51818, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 18 }, "end": { - "line": 1358, + "line": 1359, "column": 27 }, "identifierName": "aabbRight" @@ -64307,43 +64390,43 @@ }, "init": { "type": "CallExpression", - "start": 51168, - "end": 51184, + "start": 51821, + "end": 51837, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 30 }, "end": { - "line": 1358, + "line": 1359, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 51168, - "end": 51182, + "start": 51821, + "end": 51835, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 30 }, "end": { - "line": 1358, + "line": 1359, "column": 44 } }, "object": { "type": "Identifier", - "start": 51168, - "end": 51176, + "start": 51821, + "end": 51829, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 30 }, "end": { - "line": 1358, + "line": 1359, "column": 38 }, "identifierName": "nodeAABB" @@ -64352,15 +64435,15 @@ }, "property": { "type": "Identifier", - "start": 51177, - "end": 51182, + "start": 51830, + "end": 51835, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 39 }, "end": { - "line": 1358, + "line": 1359, "column": 44 }, "identifierName": "slice" @@ -64377,58 +64460,58 @@ }, { "type": "ExpressionStatement", - "start": 51198, - "end": 51259, + "start": 51851, + "end": 51912, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 12 }, "end": { - "line": 1359, + "line": 1360, "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 51198, - "end": 51258, + "start": 51851, + "end": 51911, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 12 }, "end": { - "line": 1359, + "line": 1360, "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 51198, - "end": 51212, + "start": 51851, + "end": 51865, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 12 }, "end": { - "line": 1359, + "line": 1360, "column": 26 } }, "object": { "type": "Identifier", - "start": 51198, - "end": 51207, + "start": 51851, + "end": 51860, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 12 }, "end": { - "line": 1359, + "line": 1360, "column": 21 }, "identifierName": "aabbRight" @@ -64437,15 +64520,15 @@ }, "property": { "type": "Identifier", - "start": 51208, - "end": 51211, + "start": 51861, + "end": 51864, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 22 }, "end": { - "line": 1359, + "line": 1360, "column": 25 }, "identifierName": "dim" @@ -64456,57 +64539,57 @@ }, "right": { "type": "BinaryExpression", - "start": 51216, - "end": 51257, + "start": 51869, + "end": 51910, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 30 }, "end": { - "line": 1359, + "line": 1360, "column": 71 } }, "left": { "type": "BinaryExpression", - "start": 51217, - "end": 51250, + "start": 51870, + "end": 51903, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 31 }, "end": { - "line": 1359, + "line": 1360, "column": 64 } }, "left": { "type": "MemberExpression", - "start": 51217, - "end": 51230, + "start": 51870, + "end": 51883, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 31 }, "end": { - "line": 1359, + "line": 1360, "column": 44 } }, "object": { "type": "Identifier", - "start": 51217, - "end": 51225, + "start": 51870, + "end": 51878, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 31 }, "end": { - "line": 1359, + "line": 1360, "column": 39 }, "identifierName": "nodeAABB" @@ -64515,15 +64598,15 @@ }, "property": { "type": "Identifier", - "start": 51226, - "end": 51229, + "start": 51879, + "end": 51882, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 40 }, "end": { - "line": 1359, + "line": 1360, "column": 43 }, "identifierName": "dim" @@ -64535,29 +64618,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 51233, - "end": 51250, + "start": 51886, + "end": 51903, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 47 }, "end": { - "line": 1359, + "line": 1360, "column": 64 } }, "object": { "type": "Identifier", - "start": 51233, - "end": 51241, + "start": 51886, + "end": 51894, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 47 }, "end": { - "line": 1359, + "line": 1360, "column": 55 }, "identifierName": "nodeAABB" @@ -64566,29 +64649,29 @@ }, "property": { "type": "BinaryExpression", - "start": 51242, - "end": 51249, + "start": 51895, + "end": 51902, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 56 }, "end": { - "line": 1359, + "line": 1360, "column": 63 } }, "left": { "type": "Identifier", - "start": 51242, - "end": 51245, + "start": 51895, + "end": 51898, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 56 }, "end": { - "line": 1359, + "line": 1360, "column": 59 }, "identifierName": "dim" @@ -64598,15 +64681,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 51248, - "end": 51249, + "start": 51901, + "end": 51902, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 62 }, "end": { - "line": 1359, + "line": 1360, "column": 63 } }, @@ -64621,21 +64704,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 51216 + "parenStart": 51869 } }, "operator": "/", "right": { "type": "NumericLiteral", - "start": 51254, - "end": 51257, + "start": 51907, + "end": 51910, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 68 }, "end": { - "line": 1359, + "line": 1360, "column": 71 } }, @@ -64647,65 +64730,65 @@ }, "extra": { "parenthesized": true, - "parenStart": 51215 + "parenStart": 51868 } } } }, { "type": "ExpressionStatement", - "start": 51272, - "end": 51309, + "start": 51925, + "end": 51962, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 12 }, "end": { - "line": 1360, + "line": 1361, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 51272, - "end": 51308, + "start": 51925, + "end": 51961, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 12 }, "end": { - "line": 1360, + "line": 1361, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 51272, - "end": 51284, + "start": 51925, + "end": 51937, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 12 }, "end": { - "line": 1360, + "line": 1361, "column": 24 } }, "object": { "type": "Identifier", - "start": 51272, - "end": 51278, + "start": 51925, + "end": 51931, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 12 }, "end": { - "line": 1360, + "line": 1361, "column": 18 }, "identifierName": "kdNode" @@ -64714,15 +64797,15 @@ }, "property": { "type": "Identifier", - "start": 51279, - "end": 51284, + "start": 51932, + "end": 51937, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 19 }, "end": { - "line": 1360, + "line": 1361, "column": 24 }, "identifierName": "right" @@ -64733,29 +64816,29 @@ }, "right": { "type": "NewExpression", - "start": 51287, - "end": 51308, + "start": 51940, + "end": 51961, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 27 }, "end": { - "line": 1360, + "line": 1361, "column": 48 } }, "callee": { "type": "Identifier", - "start": 51291, - "end": 51297, + "start": 51944, + "end": 51950, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 31 }, "end": { - "line": 1360, + "line": 1361, "column": 37 }, "identifierName": "KDNode" @@ -64765,15 +64848,15 @@ "arguments": [ { "type": "Identifier", - "start": 51298, - "end": 51307, + "start": 51951, + "end": 51960, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 38 }, "end": { - "line": 1360, + "line": 1361, "column": 47 }, "identifierName": "aabbRight" @@ -64786,57 +64869,57 @@ }, { "type": "IfStatement", - "start": 51322, - "end": 51476, + "start": 51975, + "end": 52129, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 12 }, "end": { - "line": 1364, + "line": 1365, "column": 13 } }, "test": { "type": "CallExpression", - "start": 51326, - "end": 51367, + "start": 51979, + "end": 52020, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 16 }, "end": { - "line": 1361, + "line": 1362, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 51326, - "end": 51344, + "start": 51979, + "end": 51997, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 16 }, "end": { - "line": 1361, + "line": 1362, "column": 34 } }, "object": { "type": "Identifier", - "start": 51326, - "end": 51330, + "start": 51979, + "end": 51983, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 16 }, "end": { - "line": 1361, + "line": 1362, "column": 20 }, "identifierName": "math" @@ -64845,15 +64928,15 @@ }, "property": { "type": "Identifier", - "start": 51331, - "end": 51344, + "start": 51984, + "end": 51997, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 21 }, "end": { - "line": 1361, + "line": 1362, "column": 34 }, "identifierName": "containsAABB3" @@ -64865,15 +64948,15 @@ "arguments": [ { "type": "Identifier", - "start": 51345, - "end": 51354, + "start": 51998, + "end": 52007, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 35 }, "end": { - "line": 1361, + "line": 1362, "column": 44 }, "identifierName": "aabbRight" @@ -64882,15 +64965,15 @@ }, { "type": "Identifier", - "start": 51356, - "end": 51366, + "start": 52009, + "end": 52019, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 46 }, "end": { - "line": 1361, + "line": 1362, "column": 56 }, "identifierName": "entityAABB" @@ -64901,87 +64984,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 51369, - "end": 51476, + "start": 52022, + "end": 52129, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 59 }, "end": { - "line": 1364, + "line": 1365, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 51387, - "end": 51438, + "start": 52040, + "end": 52091, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 16 }, "end": { - "line": 1362, + "line": 1363, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 51387, - "end": 51437, + "start": 52040, + "end": 52090, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 16 }, "end": { - "line": 1362, + "line": 1363, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 51387, - "end": 51415, + "start": 52040, + "end": 52068, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 16 }, "end": { - "line": 1362, + "line": 1363, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 51387, - "end": 51391, + "start": 52040, + "end": 52044, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 16 }, "end": { - "line": 1362, + "line": 1363, "column": 20 } } }, "property": { "type": "Identifier", - "start": 51392, - "end": 51415, + "start": 52045, + "end": 52068, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 21 }, "end": { - "line": 1362, + "line": 1363, "column": 44 }, "identifierName": "_insertEntityIntoKDTree" @@ -64993,29 +65076,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 51416, - "end": 51428, + "start": 52069, + "end": 52081, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 45 }, "end": { - "line": 1362, + "line": 1363, "column": 57 } }, "object": { "type": "Identifier", - "start": 51416, - "end": 51422, + "start": 52069, + "end": 52075, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 45 }, "end": { - "line": 1362, + "line": 1363, "column": 51 }, "identifierName": "kdNode" @@ -65024,15 +65107,15 @@ }, "property": { "type": "Identifier", - "start": 51423, - "end": 51428, + "start": 52076, + "end": 52081, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 52 }, "end": { - "line": 1362, + "line": 1363, "column": 57 }, "identifierName": "right" @@ -65043,15 +65126,15 @@ }, { "type": "Identifier", - "start": 51430, - "end": 51436, + "start": 52083, + "end": 52089, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 59 }, "end": { - "line": 1362, + "line": 1363, "column": 65 }, "identifierName": "entity" @@ -65063,15 +65146,15 @@ }, { "type": "ReturnStatement", - "start": 51455, - "end": 51462, + "start": 52108, + "end": 52115, "loc": { "start": { - "line": 1363, + "line": 1364, "column": 16 }, "end": { - "line": 1363, + "line": 1364, "column": 23 } }, @@ -65089,58 +65172,58 @@ }, { "type": "ExpressionStatement", - "start": 51496, - "end": 51536, + "start": 52149, + "end": 52189, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 8 }, "end": { - "line": 1367, + "line": 1368, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 51496, - "end": 51535, + "start": 52149, + "end": 52188, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 8 }, "end": { - "line": 1367, + "line": 1368, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 51496, - "end": 51511, + "start": 52149, + "end": 52164, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 8 }, "end": { - "line": 1367, + "line": 1368, "column": 23 } }, "object": { "type": "Identifier", - "start": 51496, - "end": 51502, + "start": 52149, + "end": 52155, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 8 }, "end": { - "line": 1367, + "line": 1368, "column": 14 }, "identifierName": "kdNode" @@ -65149,15 +65232,15 @@ }, "property": { "type": "Identifier", - "start": 51503, - "end": 51511, + "start": 52156, + "end": 52164, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 15 }, "end": { - "line": 1367, + "line": 1368, "column": 23 }, "identifierName": "entities" @@ -65168,43 +65251,43 @@ }, "right": { "type": "LogicalExpression", - "start": 51514, - "end": 51535, + "start": 52167, + "end": 52188, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 26 }, "end": { - "line": 1367, + "line": 1368, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 51514, - "end": 51529, + "start": 52167, + "end": 52182, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 26 }, "end": { - "line": 1367, + "line": 1368, "column": 41 } }, "object": { "type": "Identifier", - "start": 51514, - "end": 51520, + "start": 52167, + "end": 52173, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 26 }, "end": { - "line": 1367, + "line": 1368, "column": 32 }, "identifierName": "kdNode" @@ -65213,15 +65296,15 @@ }, "property": { "type": "Identifier", - "start": 51521, - "end": 51529, + "start": 52174, + "end": 52182, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 33 }, "end": { - "line": 1367, + "line": 1368, "column": 41 }, "identifierName": "entities" @@ -65233,15 +65316,15 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 51533, - "end": 51535, + "start": 52186, + "end": 52188, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 45 }, "end": { - "line": 1367, + "line": 1368, "column": 47 } }, @@ -65252,71 +65335,71 @@ }, { "type": "ExpressionStatement", - "start": 51545, - "end": 51574, + "start": 52198, + "end": 52227, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 8 }, "end": { - "line": 1368, + "line": 1369, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 51545, - "end": 51573, + "start": 52198, + "end": 52226, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 8 }, "end": { - "line": 1368, + "line": 1369, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 51545, - "end": 51565, + "start": 52198, + "end": 52218, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 8 }, "end": { - "line": 1368, + "line": 1369, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 51545, - "end": 51560, + "start": 52198, + "end": 52213, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 8 }, "end": { - "line": 1368, + "line": 1369, "column": 23 } }, "object": { "type": "Identifier", - "start": 51545, - "end": 51551, + "start": 52198, + "end": 52204, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 8 }, "end": { - "line": 1368, + "line": 1369, "column": 14 }, "identifierName": "kdNode" @@ -65325,15 +65408,15 @@ }, "property": { "type": "Identifier", - "start": 51552, - "end": 51560, + "start": 52205, + "end": 52213, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 15 }, "end": { - "line": 1368, + "line": 1369, "column": 23 }, "identifierName": "entities" @@ -65344,15 +65427,15 @@ }, "property": { "type": "Identifier", - "start": 51561, - "end": 51565, + "start": 52214, + "end": 52218, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 24 }, "end": { - "line": 1368, + "line": 1369, "column": 28 }, "identifierName": "push" @@ -65364,15 +65447,15 @@ "arguments": [ { "type": "Identifier", - "start": 51566, - "end": 51572, + "start": 52219, + "end": 52225, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 29 }, "end": { - "line": 1368, + "line": 1369, "column": 35 }, "identifierName": "entity" @@ -65384,57 +65467,57 @@ }, { "type": "ExpressionStatement", - "start": 51584, - "end": 51623, + "start": 52237, + "end": 52276, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 8 }, "end": { - "line": 1370, + "line": 1371, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 51584, - "end": 51622, + "start": 52237, + "end": 52275, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 8 }, "end": { - "line": 1370, + "line": 1371, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 51584, - "end": 51600, + "start": 52237, + "end": 52253, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 8 }, "end": { - "line": 1370, + "line": 1371, "column": 24 } }, "object": { "type": "Identifier", - "start": 51584, - "end": 51588, + "start": 52237, + "end": 52241, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 8 }, "end": { - "line": 1370, + "line": 1371, "column": 12 }, "identifierName": "math" @@ -65443,15 +65526,15 @@ }, "property": { "type": "Identifier", - "start": 51589, - "end": 51600, + "start": 52242, + "end": 52253, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 13 }, "end": { - "line": 1370, + "line": 1371, "column": 24 }, "identifierName": "expandAABB3" @@ -65463,15 +65546,15 @@ "arguments": [ { "type": "Identifier", - "start": 51601, - "end": 51609, + "start": 52254, + "end": 52262, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 25 }, "end": { - "line": 1370, + "line": 1371, "column": 33 }, "identifierName": "nodeAABB" @@ -65480,15 +65563,15 @@ }, { "type": "Identifier", - "start": 51611, - "end": 51621, + "start": 52264, + "end": 52274, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 35 }, "end": { - "line": 1370, + "line": 1371, "column": 45 }, "identifierName": "entityAABB" @@ -65504,15 +65587,15 @@ }, { "type": "ClassMethod", - "start": 51635, - "end": 51726, + "start": 52288, + "end": 52379, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 4 }, "end": { - "line": 1375, + "line": 1376, "column": 5 } }, @@ -65520,15 +65603,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 51635, - "end": 51657, + "start": 52288, + "end": 52310, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 4 }, "end": { - "line": 1373, + "line": 1374, "column": 26 }, "identifierName": "_createTilesFromKDTree" @@ -65543,15 +65626,15 @@ "params": [ { "type": "Identifier", - "start": 51658, - "end": 51668, + "start": 52311, + "end": 52321, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 27 }, "end": { - "line": 1373, + "line": 1374, "column": 37 }, "identifierName": "rootKDNode" @@ -65561,87 +65644,87 @@ ], "body": { "type": "BlockStatement", - "start": 51670, - "end": 51726, + "start": 52323, + "end": 52379, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 39 }, "end": { - "line": 1375, + "line": 1376, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 51680, - "end": 51720, + "start": 52333, + "end": 52373, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 8 }, "end": { - "line": 1374, + "line": 1375, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 51680, - "end": 51719, + "start": 52333, + "end": 52372, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 8 }, "end": { - "line": 1374, + "line": 1375, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 51680, - "end": 51707, + "start": 52333, + "end": 52360, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 8 }, "end": { - "line": 1374, + "line": 1375, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 51680, - "end": 51684, + "start": 52333, + "end": 52337, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 8 }, "end": { - "line": 1374, + "line": 1375, "column": 12 } } }, "property": { "type": "Identifier", - "start": 51685, - "end": 51707, + "start": 52338, + "end": 52360, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 13 }, "end": { - "line": 1374, + "line": 1375, "column": 35 }, "identifierName": "_createTilesFromKDNode" @@ -65653,15 +65736,15 @@ "arguments": [ { "type": "Identifier", - "start": 51708, - "end": 51718, + "start": 52361, + "end": 52371, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 36 }, "end": { - "line": 1374, + "line": 1375, "column": 46 }, "identifierName": "rootKDNode" @@ -65677,15 +65760,15 @@ }, { "type": "ClassMethod", - "start": 51732, - "end": 52075, + "start": 52385, + "end": 52728, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 4 }, "end": { - "line": 1387, + "line": 1388, "column": 5 } }, @@ -65693,15 +65776,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 51732, - "end": 51754, + "start": 52385, + "end": 52407, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 4 }, "end": { - "line": 1377, + "line": 1378, "column": 26 }, "identifierName": "_createTilesFromKDNode" @@ -65716,15 +65799,15 @@ "params": [ { "type": "Identifier", - "start": 51755, - "end": 51761, + "start": 52408, + "end": 52414, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 27 }, "end": { - "line": 1377, + "line": 1378, "column": 33 }, "identifierName": "kdNode" @@ -65734,72 +65817,72 @@ ], "body": { "type": "BlockStatement", - "start": 51763, - "end": 52075, + "start": 52416, + "end": 52728, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 35 }, "end": { - "line": 1387, + "line": 1388, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 51773, - "end": 51885, + "start": 52426, + "end": 52538, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 8 }, "end": { - "line": 1380, + "line": 1381, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 51777, - "end": 51822, + "start": 52430, + "end": 52475, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 12 }, "end": { - "line": 1378, + "line": 1379, "column": 57 } }, "left": { "type": "MemberExpression", - "start": 51777, - "end": 51792, + "start": 52430, + "end": 52445, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 12 }, "end": { - "line": 1378, + "line": 1379, "column": 27 } }, "object": { "type": "Identifier", - "start": 51777, - "end": 51783, + "start": 52430, + "end": 52436, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 12 }, "end": { - "line": 1378, + "line": 1379, "column": 18 }, "identifierName": "kdNode" @@ -65808,15 +65891,15 @@ }, "property": { "type": "Identifier", - "start": 51784, - "end": 51792, + "start": 52437, + "end": 52445, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 19 }, "end": { - "line": 1378, + "line": 1379, "column": 27 }, "identifierName": "entities" @@ -65828,57 +65911,57 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 51796, - "end": 51822, + "start": 52449, + "end": 52475, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 31 }, "end": { - "line": 1378, + "line": 1379, "column": 57 } }, "left": { "type": "MemberExpression", - "start": 51796, - "end": 51818, + "start": 52449, + "end": 52471, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 31 }, "end": { - "line": 1378, + "line": 1379, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 51796, - "end": 51811, + "start": 52449, + "end": 52464, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 31 }, "end": { - "line": 1378, + "line": 1379, "column": 46 } }, "object": { "type": "Identifier", - "start": 51796, - "end": 51802, + "start": 52449, + "end": 52455, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 31 }, "end": { - "line": 1378, + "line": 1379, "column": 37 }, "identifierName": "kdNode" @@ -65887,15 +65970,15 @@ }, "property": { "type": "Identifier", - "start": 51803, - "end": 51811, + "start": 52456, + "end": 52464, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 38 }, "end": { - "line": 1378, + "line": 1379, "column": 46 }, "identifierName": "entities" @@ -65906,15 +65989,15 @@ }, "property": { "type": "Identifier", - "start": 51812, - "end": 51818, + "start": 52465, + "end": 52471, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 47 }, "end": { - "line": 1378, + "line": 1379, "column": 53 }, "identifierName": "length" @@ -65926,15 +66009,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 51821, - "end": 51822, + "start": 52474, + "end": 52475, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 56 }, "end": { - "line": 1378, + "line": 1379, "column": 57 } }, @@ -65948,87 +66031,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 51824, - "end": 51885, + "start": 52477, + "end": 52538, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 59 }, "end": { - "line": 1380, + "line": 1381, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 51838, - "end": 51875, + "start": 52491, + "end": 52528, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 12 }, "end": { - "line": 1379, + "line": 1380, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 51838, - "end": 51874, + "start": 52491, + "end": 52527, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 12 }, "end": { - "line": 1379, + "line": 1380, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 51838, - "end": 51866, + "start": 52491, + "end": 52519, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 12 }, "end": { - "line": 1379, + "line": 1380, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 51838, - "end": 51842, + "start": 52491, + "end": 52495, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 12 }, "end": { - "line": 1379, + "line": 1380, "column": 16 } } }, "property": { "type": "Identifier", - "start": 51843, - "end": 51866, + "start": 52496, + "end": 52519, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 17 }, "end": { - "line": 1379, + "line": 1380, "column": 40 }, "identifierName": "_createTileFromEntities" @@ -66040,15 +66123,15 @@ "arguments": [ { "type": "Identifier", - "start": 51867, - "end": 51873, + "start": 52520, + "end": 52526, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 41 }, "end": { - "line": 1379, + "line": 1380, "column": 47 }, "identifierName": "kdNode" @@ -66065,43 +66148,43 @@ }, { "type": "IfStatement", - "start": 51894, - "end": 51976, + "start": 52547, + "end": 52629, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 8 }, "end": { - "line": 1383, + "line": 1384, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 51898, - "end": 51909, + "start": 52551, + "end": 52562, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 12 }, "end": { - "line": 1381, + "line": 1382, "column": 23 } }, "object": { "type": "Identifier", - "start": 51898, - "end": 51904, + "start": 52551, + "end": 52557, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 12 }, "end": { - "line": 1381, + "line": 1382, "column": 18 }, "identifierName": "kdNode" @@ -66110,15 +66193,15 @@ }, "property": { "type": "Identifier", - "start": 51905, - "end": 51909, + "start": 52558, + "end": 52562, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 19 }, "end": { - "line": 1381, + "line": 1382, "column": 23 }, "identifierName": "left" @@ -66129,87 +66212,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 51911, - "end": 51976, + "start": 52564, + "end": 52629, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 25 }, "end": { - "line": 1383, + "line": 1384, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 51925, - "end": 51966, + "start": 52578, + "end": 52619, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 12 }, "end": { - "line": 1382, + "line": 1383, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 51925, - "end": 51965, + "start": 52578, + "end": 52618, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 12 }, "end": { - "line": 1382, + "line": 1383, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 51925, - "end": 51952, + "start": 52578, + "end": 52605, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 12 }, "end": { - "line": 1382, + "line": 1383, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 51925, - "end": 51929, + "start": 52578, + "end": 52582, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 12 }, "end": { - "line": 1382, + "line": 1383, "column": 16 } } }, "property": { "type": "Identifier", - "start": 51930, - "end": 51952, + "start": 52583, + "end": 52605, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 17 }, "end": { - "line": 1382, + "line": 1383, "column": 39 }, "identifierName": "_createTilesFromKDNode" @@ -66221,29 +66304,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 51953, - "end": 51964, + "start": 52606, + "end": 52617, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 40 }, "end": { - "line": 1382, + "line": 1383, "column": 51 } }, "object": { "type": "Identifier", - "start": 51953, - "end": 51959, + "start": 52606, + "end": 52612, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 40 }, "end": { - "line": 1382, + "line": 1383, "column": 46 }, "identifierName": "kdNode" @@ -66252,15 +66335,15 @@ }, "property": { "type": "Identifier", - "start": 51960, - "end": 51964, + "start": 52613, + "end": 52617, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 47 }, "end": { - "line": 1382, + "line": 1383, "column": 51 }, "identifierName": "left" @@ -66279,43 +66362,43 @@ }, { "type": "IfStatement", - "start": 51985, - "end": 52069, + "start": 52638, + "end": 52722, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 8 }, "end": { - "line": 1386, + "line": 1387, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 51989, - "end": 52001, + "start": 52642, + "end": 52654, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 12 }, "end": { - "line": 1384, + "line": 1385, "column": 24 } }, "object": { "type": "Identifier", - "start": 51989, - "end": 51995, + "start": 52642, + "end": 52648, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 12 }, "end": { - "line": 1384, + "line": 1385, "column": 18 }, "identifierName": "kdNode" @@ -66324,15 +66407,15 @@ }, "property": { "type": "Identifier", - "start": 51996, - "end": 52001, + "start": 52649, + "end": 52654, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 19 }, "end": { - "line": 1384, + "line": 1385, "column": 24 }, "identifierName": "right" @@ -66343,87 +66426,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 52003, - "end": 52069, + "start": 52656, + "end": 52722, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 26 }, "end": { - "line": 1386, + "line": 1387, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 52017, - "end": 52059, + "start": 52670, + "end": 52712, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 12 }, "end": { - "line": 1385, + "line": 1386, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 52017, - "end": 52058, + "start": 52670, + "end": 52711, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 12 }, "end": { - "line": 1385, + "line": 1386, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 52017, - "end": 52044, + "start": 52670, + "end": 52697, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 12 }, "end": { - "line": 1385, + "line": 1386, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 52017, - "end": 52021, + "start": 52670, + "end": 52674, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 12 }, "end": { - "line": 1385, + "line": 1386, "column": 16 } } }, "property": { "type": "Identifier", - "start": 52022, - "end": 52044, + "start": 52675, + "end": 52697, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 17 }, "end": { - "line": 1385, + "line": 1386, "column": 39 }, "identifierName": "_createTilesFromKDNode" @@ -66435,29 +66518,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 52045, - "end": 52057, + "start": 52698, + "end": 52710, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 40 }, "end": { - "line": 1385, + "line": 1386, "column": 52 } }, "object": { "type": "Identifier", - "start": 52045, - "end": 52051, + "start": 52698, + "end": 52704, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 40 }, "end": { - "line": 1385, + "line": 1386, "column": 46 }, "identifierName": "kdNode" @@ -66466,15 +66549,15 @@ }, "property": { "type": "Identifier", - "start": 52052, - "end": 52057, + "start": 52705, + "end": 52710, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 47 }, "end": { - "line": 1385, + "line": 1386, "column": 52 }, "identifierName": "right" @@ -66499,15 +66582,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a tile from the given entities.\n *\n * For each single-use {@link XKTGeometry}, this method centers {@link XKTGeometry#positions} to make them relative to the\n * tile's center, then quantizes the positions to unsigned 16-bit integers, relative to the tile's boundary.\n *\n * @param kdNode\n ", - "start": 52081, - "end": 52414, + "start": 52734, + "end": 53067, "loc": { "start": { - "line": 1389, + "line": 1390, "column": 4 }, "end": { - "line": 1396, + "line": 1397, "column": 7 } } @@ -66516,15 +66599,15 @@ }, { "type": "ClassMethod", - "start": 52419, - "end": 54769, + "start": 53072, + "end": 55422, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 4 }, "end": { - "line": 1464, + "line": 1465, "column": 5 } }, @@ -66532,15 +66615,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 52419, - "end": 52442, + "start": 53072, + "end": 53095, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 4 }, "end": { - "line": 1397, + "line": 1398, "column": 27 }, "identifierName": "_createTileFromEntities" @@ -66556,15 +66639,15 @@ "params": [ { "type": "Identifier", - "start": 52443, - "end": 52449, + "start": 53096, + "end": 53102, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 28 }, "end": { - "line": 1397, + "line": 1398, "column": 34 }, "identifierName": "kdNode" @@ -66574,59 +66657,59 @@ ], "body": { "type": "BlockStatement", - "start": 52451, - "end": 54769, + "start": 53104, + "end": 55422, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 36 }, "end": { - "line": 1464, + "line": 1465, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 52462, - "end": 52491, + "start": 53115, + "end": 53144, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 8 }, "end": { - "line": 1399, + "line": 1400, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 52468, - "end": 52490, + "start": 53121, + "end": 53143, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 14 }, "end": { - "line": 1399, + "line": 1400, "column": 36 } }, "id": { "type": "Identifier", - "start": 52468, - "end": 52476, + "start": 53121, + "end": 53129, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 14 }, "end": { - "line": 1399, + "line": 1400, "column": 22 }, "identifierName": "tileAABB" @@ -66635,29 +66718,29 @@ }, "init": { "type": "MemberExpression", - "start": 52479, - "end": 52490, + "start": 53132, + "end": 53143, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 25 }, "end": { - "line": 1399, + "line": 1400, "column": 36 } }, "object": { "type": "Identifier", - "start": 52479, - "end": 52485, + "start": 53132, + "end": 53138, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 25 }, "end": { - "line": 1399, + "line": 1400, "column": 31 }, "identifierName": "kdNode" @@ -66666,15 +66749,15 @@ }, "property": { "type": "Identifier", - "start": 52486, - "end": 52490, + "start": 53139, + "end": 53143, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 32 }, "end": { - "line": 1399, + "line": 1400, "column": 36 }, "identifierName": "aabb" @@ -66689,44 +66772,44 @@ }, { "type": "VariableDeclaration", - "start": 52500, - "end": 52533, + "start": 53153, + "end": 53186, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 8 }, "end": { - "line": 1400, + "line": 1401, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 52506, - "end": 52532, + "start": 53159, + "end": 53185, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 14 }, "end": { - "line": 1400, + "line": 1401, "column": 40 } }, "id": { "type": "Identifier", - "start": 52506, - "end": 52514, + "start": 53159, + "end": 53167, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 14 }, "end": { - "line": 1400, + "line": 1401, "column": 22 }, "identifierName": "entities" @@ -66735,29 +66818,29 @@ }, "init": { "type": "MemberExpression", - "start": 52517, - "end": 52532, + "start": 53170, + "end": 53185, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 25 }, "end": { - "line": 1400, + "line": 1401, "column": 40 } }, "object": { "type": "Identifier", - "start": 52517, - "end": 52523, + "start": 53170, + "end": 53176, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 25 }, "end": { - "line": 1400, + "line": 1401, "column": 31 }, "identifierName": "kdNode" @@ -66766,15 +66849,15 @@ }, "property": { "type": "Identifier", - "start": 52524, - "end": 52532, + "start": 53177, + "end": 53185, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 32 }, "end": { - "line": 1400, + "line": 1401, "column": 40 }, "identifierName": "entities" @@ -66789,44 +66872,44 @@ }, { "type": "VariableDeclaration", - "start": 52543, - "end": 52592, + "start": 53196, + "end": 53245, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 8 }, "end": { - "line": 1402, + "line": 1403, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 52549, - "end": 52591, + "start": 53202, + "end": 53244, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 14 }, "end": { - "line": 1402, + "line": 1403, "column": 56 } }, "id": { "type": "Identifier", - "start": 52549, - "end": 52559, + "start": 53202, + "end": 53212, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 14 }, "end": { - "line": 1402, + "line": 1403, "column": 24 }, "identifierName": "tileCenter" @@ -66835,43 +66918,43 @@ }, "init": { "type": "CallExpression", - "start": 52562, - "end": 52591, + "start": 53215, + "end": 53244, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 27 }, "end": { - "line": 1402, + "line": 1403, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 52562, - "end": 52581, + "start": 53215, + "end": 53234, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 27 }, "end": { - "line": 1402, + "line": 1403, "column": 46 } }, "object": { "type": "Identifier", - "start": 52562, - "end": 52566, + "start": 53215, + "end": 53219, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 27 }, "end": { - "line": 1402, + "line": 1403, "column": 31 }, "identifierName": "math" @@ -66880,15 +66963,15 @@ }, "property": { "type": "Identifier", - "start": 52567, - "end": 52581, + "start": 53220, + "end": 53234, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 32 }, "end": { - "line": 1402, + "line": 1403, "column": 46 }, "identifierName": "getAABB3Center" @@ -66900,15 +66983,15 @@ "arguments": [ { "type": "Identifier", - "start": 52582, - "end": 52590, + "start": 53235, + "end": 53243, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 47 }, "end": { - "line": 1402, + "line": 1403, "column": 55 }, "identifierName": "tileAABB" @@ -66923,44 +67006,44 @@ }, { "type": "VariableDeclaration", - "start": 52601, - "end": 52671, + "start": 53254, + "end": 53324, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 8 }, "end": { - "line": 1403, + "line": 1404, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 52607, - "end": 52670, + "start": 53260, + "end": 53323, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 14 }, "end": { - "line": 1403, + "line": 1404, "column": 77 } }, "id": { "type": "Identifier", - "start": 52607, - "end": 52620, + "start": 53260, + "end": 53273, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 14 }, "end": { - "line": 1403, + "line": 1404, "column": 27 }, "identifierName": "tileCenterNeg" @@ -66969,43 +67052,43 @@ }, "init": { "type": "CallExpression", - "start": 52623, - "end": 52670, + "start": 53276, + "end": 53323, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 30 }, "end": { - "line": 1403, + "line": 1404, "column": 77 } }, "callee": { "type": "MemberExpression", - "start": 52623, - "end": 52641, + "start": 53276, + "end": 53294, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 30 }, "end": { - "line": 1403, + "line": 1404, "column": 48 } }, "object": { "type": "Identifier", - "start": 52623, - "end": 52627, + "start": 53276, + "end": 53280, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 30 }, "end": { - "line": 1403, + "line": 1404, "column": 34 }, "identifierName": "math" @@ -67014,15 +67097,15 @@ }, "property": { "type": "Identifier", - "start": 52628, - "end": 52641, + "start": 53281, + "end": 53294, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 35 }, "end": { - "line": 1403, + "line": 1404, "column": 48 }, "identifierName": "mulVec3Scalar" @@ -67034,15 +67117,15 @@ "arguments": [ { "type": "Identifier", - "start": 52642, - "end": 52652, + "start": 53295, + "end": 53305, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 49 }, "end": { - "line": 1403, + "line": 1404, "column": 59 }, "identifierName": "tileCenter" @@ -67051,15 +67134,15 @@ }, { "type": "UnaryExpression", - "start": 52654, - "end": 52656, + "start": 53307, + "end": 53309, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 61 }, "end": { - "line": 1403, + "line": 1404, "column": 63 } }, @@ -67067,15 +67150,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 52655, - "end": 52656, + "start": 53308, + "end": 53309, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 62 }, "end": { - "line": 1403, + "line": 1404, "column": 63 } }, @@ -67091,43 +67174,43 @@ }, { "type": "CallExpression", - "start": 52658, - "end": 52669, + "start": 53311, + "end": 53322, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 65 }, "end": { - "line": 1403, + "line": 1404, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 52658, - "end": 52667, + "start": 53311, + "end": 53320, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 65 }, "end": { - "line": 1403, + "line": 1404, "column": 74 } }, "object": { "type": "Identifier", - "start": 52658, - "end": 52662, + "start": 53311, + "end": 53315, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 65 }, "end": { - "line": 1403, + "line": 1404, "column": 69 }, "identifierName": "math" @@ -67136,15 +67219,15 @@ }, "property": { "type": "Identifier", - "start": 52663, - "end": 52667, + "start": 53316, + "end": 53320, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 70 }, "end": { - "line": 1403, + "line": 1404, "column": 74 }, "identifierName": "vec3" @@ -67163,44 +67246,44 @@ }, { "type": "VariableDeclaration", - "start": 52681, - "end": 52710, + "start": 53334, + "end": 53363, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 8 }, "end": { - "line": 1405, + "line": 1406, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 52687, - "end": 52709, + "start": 53340, + "end": 53362, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 14 }, "end": { - "line": 1405, + "line": 1406, "column": 36 } }, "id": { "type": "Identifier", - "start": 52687, - "end": 52694, + "start": 53340, + "end": 53347, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 14 }, "end": { - "line": 1405, + "line": 1406, "column": 21 }, "identifierName": "rtcAABB" @@ -67209,43 +67292,43 @@ }, "init": { "type": "CallExpression", - "start": 52697, - "end": 52709, + "start": 53350, + "end": 53362, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 24 }, "end": { - "line": 1405, + "line": 1406, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 52697, - "end": 52707, + "start": 53350, + "end": 53360, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 24 }, "end": { - "line": 1405, + "line": 1406, "column": 34 } }, "object": { "type": "Identifier", - "start": 52697, - "end": 52701, + "start": 53350, + "end": 53354, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 24 }, "end": { - "line": 1405, + "line": 1406, "column": 28 }, "identifierName": "math" @@ -67254,15 +67337,15 @@ }, "property": { "type": "Identifier", - "start": 52702, - "end": 52707, + "start": 53355, + "end": 53360, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 29 }, "end": { - "line": 1405, + "line": 1406, "column": 34 }, "identifierName": "AABB3" @@ -67280,242 +67363,15 @@ { "type": "CommentLine", "value": " AABB centered at the RTC origin", - "start": 52711, - "end": 52745, - "loc": { - "start": { - "line": 1405, - "column": 38 - }, - "end": { - "line": 1405, - "column": 72 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 52755, - "end": 52796, - "loc": { - "start": { - "line": 1407, - "column": 8 - }, - "end": { - "line": 1407, - "column": 49 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 52755, - "end": 52795, - "loc": { - "start": { - "line": 1407, - "column": 8 - }, - "end": { - "line": 1407, - "column": 48 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 52755, - "end": 52765, - "loc": { - "start": { - "line": 1407, - "column": 8 - }, - "end": { - "line": 1407, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 52755, - "end": 52762, - "loc": { - "start": { - "line": 1407, - "column": 8 - }, - "end": { - "line": 1407, - "column": 15 - }, - "identifierName": "rtcAABB" - }, - "name": "rtcAABB", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 52763, - "end": 52764, - "loc": { - "start": { - "line": 1407, - "column": 16 - }, - "end": { - "line": 1407, - "column": 17 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 52768, - "end": 52795, - "loc": { - "start": { - "line": 1407, - "column": 21 - }, - "end": { - "line": 1407, - "column": 48 - } - }, - "left": { - "type": "MemberExpression", - "start": 52768, - "end": 52779, - "loc": { - "start": { - "line": 1407, - "column": 21 - }, - "end": { - "line": 1407, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 52768, - "end": 52776, - "loc": { - "start": { - "line": 1407, - "column": 21 - }, - "end": { - "line": 1407, - "column": 29 - }, - "identifierName": "tileAABB" - }, - "name": "tileAABB" - }, - "property": { - "type": "NumericLiteral", - "start": 52777, - "end": 52778, - "loc": { - "start": { - "line": 1407, - "column": 30 - }, - "end": { - "line": 1407, - "column": 31 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "operator": "-", - "right": { - "type": "MemberExpression", - "start": 52782, - "end": 52795, - "loc": { - "start": { - "line": 1407, - "column": 35 - }, - "end": { - "line": 1407, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 52782, - "end": 52792, - "loc": { - "start": { - "line": 1407, - "column": 35 - }, - "end": { - "line": 1407, - "column": 45 - }, - "identifierName": "tileCenter" - }, - "name": "tileCenter" - }, - "property": { - "type": "NumericLiteral", - "start": 52793, - "end": 52794, - "loc": { - "start": { - "line": 1407, - "column": 46 - }, - "end": { - "line": 1407, - "column": 47 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " AABB centered at the RTC origin", - "start": 52711, - "end": 52745, + "start": 53364, + "end": 53398, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 38 }, "end": { - "line": 1405, + "line": 1406, "column": 72 } } @@ -67524,8 +67380,8 @@ }, { "type": "ExpressionStatement", - "start": 52805, - "end": 52846, + "start": 53408, + "end": 53449, "loc": { "start": { "line": 1408, @@ -67538,8 +67394,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 52805, - "end": 52845, + "start": 53408, + "end": 53448, "loc": { "start": { "line": 1408, @@ -67553,8 +67409,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 52805, - "end": 52815, + "start": 53408, + "end": 53418, "loc": { "start": { "line": 1408, @@ -67567,8 +67423,8 @@ }, "object": { "type": "Identifier", - "start": 52805, - "end": 52812, + "start": 53408, + "end": 53415, "loc": { "start": { "line": 1408, @@ -67580,12 +67436,13 @@ }, "identifierName": "rtcAABB" }, - "name": "rtcAABB" + "name": "rtcAABB", + "leadingComments": null }, "property": { "type": "NumericLiteral", - "start": 52813, - "end": 52814, + "start": 53416, + "end": 53417, "loc": { "start": { "line": 1408, @@ -67597,17 +67454,18 @@ } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, - "computed": true + "computed": true, + "leadingComments": null }, "right": { "type": "BinaryExpression", - "start": 52818, - "end": 52845, + "start": 53421, + "end": 53448, "loc": { "start": { "line": 1408, @@ -67620,8 +67478,8 @@ }, "left": { "type": "MemberExpression", - "start": 52818, - "end": 52829, + "start": 53421, + "end": 53432, "loc": { "start": { "line": 1408, @@ -67634,8 +67492,8 @@ }, "object": { "type": "Identifier", - "start": 52818, - "end": 52826, + "start": 53421, + "end": 53429, "loc": { "start": { "line": 1408, @@ -67651,8 +67509,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52827, - "end": 52828, + "start": 53430, + "end": 53431, "loc": { "start": { "line": 1408, @@ -67664,18 +67522,18 @@ } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 52832, - "end": 52845, + "start": 53435, + "end": 53448, "loc": { "start": { "line": 1408, @@ -67688,8 +67546,8 @@ }, "object": { "type": "Identifier", - "start": 52832, - "end": 52842, + "start": 53435, + "end": 53445, "loc": { "start": { "line": 1408, @@ -67705,8 +67563,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52843, - "end": 52844, + "start": 53446, + "end": 53447, "loc": { "start": { "line": 1408, @@ -67718,20 +67576,39 @@ } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, "computed": true } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " AABB centered at the RTC origin", + "start": 53364, + "end": 53398, + "loc": { + "start": { + "line": 1406, + "column": 38 + }, + "end": { + "line": 1406, + "column": 72 + } + } } - } + ] }, { "type": "ExpressionStatement", - "start": 52855, - "end": 52896, + "start": 53458, + "end": 53499, "loc": { "start": { "line": 1409, @@ -67744,8 +67621,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 52855, - "end": 52895, + "start": 53458, + "end": 53498, "loc": { "start": { "line": 1409, @@ -67759,8 +67636,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 52855, - "end": 52865, + "start": 53458, + "end": 53468, "loc": { "start": { "line": 1409, @@ -67773,8 +67650,8 @@ }, "object": { "type": "Identifier", - "start": 52855, - "end": 52862, + "start": 53458, + "end": 53465, "loc": { "start": { "line": 1409, @@ -67790,8 +67667,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52863, - "end": 52864, + "start": 53466, + "end": 53467, "loc": { "start": { "line": 1409, @@ -67803,17 +67680,17 @@ } }, "extra": { - "rawValue": 2, - "raw": "2" + "rawValue": 1, + "raw": "1" }, - "value": 2 + "value": 1 }, "computed": true }, "right": { "type": "BinaryExpression", - "start": 52868, - "end": 52895, + "start": 53471, + "end": 53498, "loc": { "start": { "line": 1409, @@ -67826,8 +67703,8 @@ }, "left": { "type": "MemberExpression", - "start": 52868, - "end": 52879, + "start": 53471, + "end": 53482, "loc": { "start": { "line": 1409, @@ -67840,8 +67717,8 @@ }, "object": { "type": "Identifier", - "start": 52868, - "end": 52876, + "start": 53471, + "end": 53479, "loc": { "start": { "line": 1409, @@ -67857,8 +67734,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52877, - "end": 52878, + "start": 53480, + "end": 53481, "loc": { "start": { "line": 1409, @@ -67870,18 +67747,18 @@ } }, "extra": { - "rawValue": 2, - "raw": "2" + "rawValue": 1, + "raw": "1" }, - "value": 2 + "value": 1 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 52882, - "end": 52895, + "start": 53485, + "end": 53498, "loc": { "start": { "line": 1409, @@ -67894,8 +67771,8 @@ }, "object": { "type": "Identifier", - "start": 52882, - "end": 52892, + "start": 53485, + "end": 53495, "loc": { "start": { "line": 1409, @@ -67911,8 +67788,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52893, - "end": 52894, + "start": 53496, + "end": 53497, "loc": { "start": { "line": 1409, @@ -67924,10 +67801,10 @@ } }, "extra": { - "rawValue": 2, - "raw": "2" + "rawValue": 1, + "raw": "1" }, - "value": 2 + "value": 1 }, "computed": true } @@ -67936,8 +67813,8 @@ }, { "type": "ExpressionStatement", - "start": 52905, - "end": 52946, + "start": 53508, + "end": 53549, "loc": { "start": { "line": 1410, @@ -67950,8 +67827,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 52905, - "end": 52945, + "start": 53508, + "end": 53548, "loc": { "start": { "line": 1410, @@ -67965,8 +67842,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 52905, - "end": 52915, + "start": 53508, + "end": 53518, "loc": { "start": { "line": 1410, @@ -67979,8 +67856,8 @@ }, "object": { "type": "Identifier", - "start": 52905, - "end": 52912, + "start": 53508, + "end": 53515, "loc": { "start": { "line": 1410, @@ -67996,8 +67873,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52913, - "end": 52914, + "start": 53516, + "end": 53517, "loc": { "start": { "line": 1410, @@ -68009,17 +67886,17 @@ } }, "extra": { - "rawValue": 3, - "raw": "3" + "rawValue": 2, + "raw": "2" }, - "value": 3 + "value": 2 }, "computed": true }, "right": { "type": "BinaryExpression", - "start": 52918, - "end": 52945, + "start": 53521, + "end": 53548, "loc": { "start": { "line": 1410, @@ -68032,8 +67909,8 @@ }, "left": { "type": "MemberExpression", - "start": 52918, - "end": 52929, + "start": 53521, + "end": 53532, "loc": { "start": { "line": 1410, @@ -68046,8 +67923,8 @@ }, "object": { "type": "Identifier", - "start": 52918, - "end": 52926, + "start": 53521, + "end": 53529, "loc": { "start": { "line": 1410, @@ -68063,8 +67940,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52927, - "end": 52928, + "start": 53530, + "end": 53531, "loc": { "start": { "line": 1410, @@ -68076,18 +67953,18 @@ } }, "extra": { - "rawValue": 3, - "raw": "3" + "rawValue": 2, + "raw": "2" }, - "value": 3 + "value": 2 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 52932, - "end": 52945, + "start": 53535, + "end": 53548, "loc": { "start": { "line": 1410, @@ -68100,8 +67977,8 @@ }, "object": { "type": "Identifier", - "start": 52932, - "end": 52942, + "start": 53535, + "end": 53545, "loc": { "start": { "line": 1410, @@ -68117,8 +67994,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52943, - "end": 52944, + "start": 53546, + "end": 53547, "loc": { "start": { "line": 1410, @@ -68130,10 +68007,10 @@ } }, "extra": { - "rawValue": 0, - "raw": "0" + "rawValue": 2, + "raw": "2" }, - "value": 0 + "value": 2 }, "computed": true } @@ -68142,8 +68019,8 @@ }, { "type": "ExpressionStatement", - "start": 52955, - "end": 52996, + "start": 53558, + "end": 53599, "loc": { "start": { "line": 1411, @@ -68156,8 +68033,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 52955, - "end": 52995, + "start": 53558, + "end": 53598, "loc": { "start": { "line": 1411, @@ -68171,8 +68048,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 52955, - "end": 52965, + "start": 53558, + "end": 53568, "loc": { "start": { "line": 1411, @@ -68185,8 +68062,8 @@ }, "object": { "type": "Identifier", - "start": 52955, - "end": 52962, + "start": 53558, + "end": 53565, "loc": { "start": { "line": 1411, @@ -68202,8 +68079,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52963, - "end": 52964, + "start": 53566, + "end": 53567, "loc": { "start": { "line": 1411, @@ -68215,17 +68092,17 @@ } }, "extra": { - "rawValue": 4, - "raw": "4" + "rawValue": 3, + "raw": "3" }, - "value": 4 + "value": 3 }, "computed": true }, "right": { "type": "BinaryExpression", - "start": 52968, - "end": 52995, + "start": 53571, + "end": 53598, "loc": { "start": { "line": 1411, @@ -68238,8 +68115,8 @@ }, "left": { "type": "MemberExpression", - "start": 52968, - "end": 52979, + "start": 53571, + "end": 53582, "loc": { "start": { "line": 1411, @@ -68252,8 +68129,8 @@ }, "object": { "type": "Identifier", - "start": 52968, - "end": 52976, + "start": 53571, + "end": 53579, "loc": { "start": { "line": 1411, @@ -68269,8 +68146,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52977, - "end": 52978, + "start": 53580, + "end": 53581, "loc": { "start": { "line": 1411, @@ -68282,18 +68159,18 @@ } }, "extra": { - "rawValue": 4, - "raw": "4" + "rawValue": 3, + "raw": "3" }, - "value": 4 + "value": 3 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 52982, - "end": 52995, + "start": 53585, + "end": 53598, "loc": { "start": { "line": 1411, @@ -68306,8 +68183,8 @@ }, "object": { "type": "Identifier", - "start": 52982, - "end": 52992, + "start": 53585, + "end": 53595, "loc": { "start": { "line": 1411, @@ -68323,8 +68200,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52993, - "end": 52994, + "start": 53596, + "end": 53597, "loc": { "start": { "line": 1411, @@ -68336,10 +68213,10 @@ } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, "computed": true } @@ -68348,8 +68225,8 @@ }, { "type": "ExpressionStatement", - "start": 53005, - "end": 53046, + "start": 53608, + "end": 53649, "loc": { "start": { "line": 1412, @@ -68362,8 +68239,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 53005, - "end": 53045, + "start": 53608, + "end": 53648, "loc": { "start": { "line": 1412, @@ -68377,8 +68254,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 53005, - "end": 53015, + "start": 53608, + "end": 53618, "loc": { "start": { "line": 1412, @@ -68391,8 +68268,8 @@ }, "object": { "type": "Identifier", - "start": 53005, - "end": 53012, + "start": 53608, + "end": 53615, "loc": { "start": { "line": 1412, @@ -68408,8 +68285,8 @@ }, "property": { "type": "NumericLiteral", - "start": 53013, - "end": 53014, + "start": 53616, + "end": 53617, "loc": { "start": { "line": 1412, @@ -68421,17 +68298,17 @@ } }, "extra": { - "rawValue": 5, - "raw": "5" + "rawValue": 4, + "raw": "4" }, - "value": 5 + "value": 4 }, "computed": true }, "right": { "type": "BinaryExpression", - "start": 53018, - "end": 53045, + "start": 53621, + "end": 53648, "loc": { "start": { "line": 1412, @@ -68444,8 +68321,8 @@ }, "left": { "type": "MemberExpression", - "start": 53018, - "end": 53029, + "start": 53621, + "end": 53632, "loc": { "start": { "line": 1412, @@ -68458,8 +68335,8 @@ }, "object": { "type": "Identifier", - "start": 53018, - "end": 53026, + "start": 53621, + "end": 53629, "loc": { "start": { "line": 1412, @@ -68475,8 +68352,8 @@ }, "property": { "type": "NumericLiteral", - "start": 53027, - "end": 53028, + "start": 53630, + "end": 53631, "loc": { "start": { "line": 1412, @@ -68488,18 +68365,18 @@ } }, "extra": { - "rawValue": 5, - "raw": "5" + "rawValue": 4, + "raw": "4" }, - "value": 5 + "value": 4 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 53032, - "end": 53045, + "start": 53635, + "end": 53648, "loc": { "start": { "line": 1412, @@ -68512,8 +68389,8 @@ }, "object": { "type": "Identifier", - "start": 53032, - "end": 53042, + "start": 53635, + "end": 53645, "loc": { "start": { "line": 1412, @@ -68529,8 +68406,8 @@ }, "property": { "type": "NumericLiteral", - "start": 53043, - "end": 53044, + "start": 53646, + "end": 53647, "loc": { "start": { "line": 1412, @@ -68541,6 +68418,212 @@ "column": 47 } }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 53658, + "end": 53699, + "loc": { + "start": { + "line": 1413, + "column": 8 + }, + "end": { + "line": 1413, + "column": 49 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 53658, + "end": 53698, + "loc": { + "start": { + "line": 1413, + "column": 8 + }, + "end": { + "line": 1413, + "column": 48 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 53658, + "end": 53668, + "loc": { + "start": { + "line": 1413, + "column": 8 + }, + "end": { + "line": 1413, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 53658, + "end": 53665, + "loc": { + "start": { + "line": 1413, + "column": 8 + }, + "end": { + "line": 1413, + "column": 15 + }, + "identifierName": "rtcAABB" + }, + "name": "rtcAABB" + }, + "property": { + "type": "NumericLiteral", + "start": 53666, + "end": 53667, + "loc": { + "start": { + "line": 1413, + "column": 16 + }, + "end": { + "line": 1413, + "column": 17 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + "computed": true + }, + "right": { + "type": "BinaryExpression", + "start": 53671, + "end": 53698, + "loc": { + "start": { + "line": 1413, + "column": 21 + }, + "end": { + "line": 1413, + "column": 48 + } + }, + "left": { + "type": "MemberExpression", + "start": 53671, + "end": 53682, + "loc": { + "start": { + "line": 1413, + "column": 21 + }, + "end": { + "line": 1413, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 53671, + "end": 53679, + "loc": { + "start": { + "line": 1413, + "column": 21 + }, + "end": { + "line": 1413, + "column": 29 + }, + "identifierName": "tileAABB" + }, + "name": "tileAABB" + }, + "property": { + "type": "NumericLiteral", + "start": 53680, + "end": 53681, + "loc": { + "start": { + "line": 1413, + "column": 30 + }, + "end": { + "line": 1413, + "column": 31 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + "computed": true + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 53685, + "end": 53698, + "loc": { + "start": { + "line": 1413, + "column": 35 + }, + "end": { + "line": 1413, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 53685, + "end": 53695, + "loc": { + "start": { + "line": 1413, + "column": 35 + }, + "end": { + "line": 1413, + "column": 45 + }, + "identifierName": "tileCenter" + }, + "name": "tileCenter" + }, + "property": { + "type": "NumericLiteral", + "start": 53696, + "end": 53697, + "loc": { + "start": { + "line": 1413, + "column": 46 + }, + "end": { + "line": 1413, + "column": 47 + } + }, "extra": { "rawValue": 2, "raw": "2" @@ -68554,58 +68637,58 @@ }, { "type": "ForStatement", - "start": 53056, - "end": 54672, + "start": 53709, + "end": 55325, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 8 }, "end": { - "line": 1459, + "line": 1460, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 53061, - "end": 53070, + "start": 53714, + "end": 53723, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 13 }, "end": { - "line": 1414, + "line": 1415, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53065, - "end": 53070, + "start": 53718, + "end": 53723, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 17 }, "end": { - "line": 1414, + "line": 1415, "column": 22 } }, "id": { "type": "Identifier", - "start": 53065, - "end": 53066, + "start": 53718, + "end": 53719, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 17 }, "end": { - "line": 1414, + "line": 1415, "column": 18 }, "identifierName": "i" @@ -68614,15 +68697,15 @@ }, "init": { "type": "NumericLiteral", - "start": 53069, - "end": 53070, + "start": 53722, + "end": 53723, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 21 }, "end": { - "line": 1414, + "line": 1415, "column": 22 } }, @@ -68638,29 +68721,29 @@ }, "test": { "type": "BinaryExpression", - "start": 53072, - "end": 53091, + "start": 53725, + "end": 53744, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 24 }, "end": { - "line": 1414, + "line": 1415, "column": 43 } }, "left": { "type": "Identifier", - "start": 53072, - "end": 53073, + "start": 53725, + "end": 53726, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 24 }, "end": { - "line": 1414, + "line": 1415, "column": 25 }, "identifierName": "i" @@ -68670,29 +68753,29 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 53076, - "end": 53091, + "start": 53729, + "end": 53744, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 28 }, "end": { - "line": 1414, + "line": 1415, "column": 43 } }, "object": { "type": "Identifier", - "start": 53076, - "end": 53084, + "start": 53729, + "end": 53737, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 28 }, "end": { - "line": 1414, + "line": 1415, "column": 36 }, "identifierName": "entities" @@ -68701,15 +68784,15 @@ }, "property": { "type": "Identifier", - "start": 53085, - "end": 53091, + "start": 53738, + "end": 53744, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 37 }, "end": { - "line": 1414, + "line": 1415, "column": 43 }, "identifierName": "length" @@ -68721,15 +68804,15 @@ }, "update": { "type": "UpdateExpression", - "start": 53093, - "end": 53096, + "start": 53746, + "end": 53749, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 45 }, "end": { - "line": 1414, + "line": 1415, "column": 48 } }, @@ -68737,15 +68820,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 53093, - "end": 53094, + "start": 53746, + "end": 53747, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 45 }, "end": { - "line": 1414, + "line": 1415, "column": 46 }, "identifierName": "i" @@ -68755,59 +68838,59 @@ }, "body": { "type": "BlockStatement", - "start": 53098, - "end": 54672, + "start": 53751, + "end": 55325, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 50 }, "end": { - "line": 1459, + "line": 1460, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 53113, - "end": 53141, + "start": 53766, + "end": 53794, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 12 }, "end": { - "line": 1416, + "line": 1417, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53119, - "end": 53140, + "start": 53772, + "end": 53793, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 18 }, "end": { - "line": 1416, + "line": 1417, "column": 39 } }, "id": { "type": "Identifier", - "start": 53119, - "end": 53125, + "start": 53772, + "end": 53778, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 18 }, "end": { - "line": 1416, + "line": 1417, "column": 24 }, "identifierName": "entity" @@ -68816,29 +68899,29 @@ }, "init": { "type": "MemberExpression", - "start": 53128, - "end": 53140, + "start": 53781, + "end": 53793, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 27 }, "end": { - "line": 1416, + "line": 1417, "column": 39 } }, "object": { "type": "Identifier", - "start": 53128, - "end": 53136, + "start": 53781, + "end": 53789, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 27 }, "end": { - "line": 1416, + "line": 1417, "column": 35 }, "identifierName": "entities" @@ -68847,15 +68930,15 @@ }, "property": { "type": "Identifier", - "start": 53138, - "end": 53139, + "start": 53791, + "end": 53792, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 37 }, "end": { - "line": 1416, + "line": 1417, "column": 38 }, "identifierName": "i" @@ -68870,44 +68953,44 @@ }, { "type": "VariableDeclaration", - "start": 53155, - "end": 53184, + "start": 53808, + "end": 53837, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 12 }, "end": { - "line": 1418, + "line": 1419, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53161, - "end": 53183, + "start": 53814, + "end": 53836, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 18 }, "end": { - "line": 1418, + "line": 1419, "column": 40 } }, "id": { "type": "Identifier", - "start": 53161, - "end": 53167, + "start": 53814, + "end": 53820, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 18 }, "end": { - "line": 1418, + "line": 1419, "column": 24 }, "identifierName": "meshes" @@ -68916,29 +68999,29 @@ }, "init": { "type": "MemberExpression", - "start": 53170, - "end": 53183, + "start": 53823, + "end": 53836, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 27 }, "end": { - "line": 1418, + "line": 1419, "column": 40 } }, "object": { "type": "Identifier", - "start": 53170, - "end": 53176, + "start": 53823, + "end": 53829, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 27 }, "end": { - "line": 1418, + "line": 1419, "column": 33 }, "identifierName": "entity" @@ -68947,15 +69030,15 @@ }, "property": { "type": "Identifier", - "start": 53177, - "end": 53183, + "start": 53830, + "end": 53836, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 34 }, "end": { - "line": 1418, + "line": 1419, "column": 40 }, "identifierName": "meshes" @@ -68970,58 +69053,58 @@ }, { "type": "ForStatement", - "start": 53198, - "end": 54557, + "start": 53851, + "end": 55210, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 12 }, "end": { - "line": 1454, + "line": 1455, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 53203, - "end": 53234, + "start": 53856, + "end": 53887, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 17 }, "end": { - "line": 1420, + "line": 1421, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53207, - "end": 53212, + "start": 53860, + "end": 53865, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 21 }, "end": { - "line": 1420, + "line": 1421, "column": 26 } }, "id": { "type": "Identifier", - "start": 53207, - "end": 53208, + "start": 53860, + "end": 53861, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 21 }, "end": { - "line": 1420, + "line": 1421, "column": 22 }, "identifierName": "j" @@ -69030,15 +69113,15 @@ }, "init": { "type": "NumericLiteral", - "start": 53211, - "end": 53212, + "start": 53864, + "end": 53865, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 25 }, "end": { - "line": 1420, + "line": 1421, "column": 26 } }, @@ -69051,29 +69134,29 @@ }, { "type": "VariableDeclarator", - "start": 53214, - "end": 53234, + "start": 53867, + "end": 53887, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 28 }, "end": { - "line": 1420, + "line": 1421, "column": 48 } }, "id": { "type": "Identifier", - "start": 53214, - "end": 53218, + "start": 53867, + "end": 53871, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 28 }, "end": { - "line": 1420, + "line": 1421, "column": 32 }, "identifierName": "lenj" @@ -69082,29 +69165,29 @@ }, "init": { "type": "MemberExpression", - "start": 53221, - "end": 53234, + "start": 53874, + "end": 53887, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 35 }, "end": { - "line": 1420, + "line": 1421, "column": 48 } }, "object": { "type": "Identifier", - "start": 53221, - "end": 53227, + "start": 53874, + "end": 53880, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 35 }, "end": { - "line": 1420, + "line": 1421, "column": 41 }, "identifierName": "meshes" @@ -69113,15 +69196,15 @@ }, "property": { "type": "Identifier", - "start": 53228, - "end": 53234, + "start": 53881, + "end": 53887, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 42 }, "end": { - "line": 1420, + "line": 1421, "column": 48 }, "identifierName": "length" @@ -69136,29 +69219,29 @@ }, "test": { "type": "BinaryExpression", - "start": 53236, - "end": 53244, + "start": 53889, + "end": 53897, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 50 }, "end": { - "line": 1420, + "line": 1421, "column": 58 } }, "left": { "type": "Identifier", - "start": 53236, - "end": 53237, + "start": 53889, + "end": 53890, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 50 }, "end": { - "line": 1420, + "line": 1421, "column": 51 }, "identifierName": "j" @@ -69168,15 +69251,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 53240, - "end": 53244, + "start": 53893, + "end": 53897, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 54 }, "end": { - "line": 1420, + "line": 1421, "column": 58 }, "identifierName": "lenj" @@ -69186,15 +69269,15 @@ }, "update": { "type": "UpdateExpression", - "start": 53246, - "end": 53249, + "start": 53899, + "end": 53902, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 60 }, "end": { - "line": 1420, + "line": 1421, "column": 63 } }, @@ -69202,15 +69285,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 53246, - "end": 53247, + "start": 53899, + "end": 53900, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 60 }, "end": { - "line": 1420, + "line": 1421, "column": 61 }, "identifierName": "j" @@ -69220,59 +69303,59 @@ }, "body": { "type": "BlockStatement", - "start": 53251, - "end": 54557, + "start": 53904, + "end": 55210, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 65 }, "end": { - "line": 1454, + "line": 1455, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 53270, - "end": 53293, + "start": 53923, + "end": 53946, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 16 }, "end": { - "line": 1422, + "line": 1423, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53276, - "end": 53292, + "start": 53929, + "end": 53945, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 22 }, "end": { - "line": 1422, + "line": 1423, "column": 38 } }, "id": { "type": "Identifier", - "start": 53276, - "end": 53280, + "start": 53929, + "end": 53933, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 22 }, "end": { - "line": 1422, + "line": 1423, "column": 26 }, "identifierName": "mesh" @@ -69281,29 +69364,29 @@ }, "init": { "type": "MemberExpression", - "start": 53283, - "end": 53292, + "start": 53936, + "end": 53945, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 29 }, "end": { - "line": 1422, + "line": 1423, "column": 38 } }, "object": { "type": "Identifier", - "start": 53283, - "end": 53289, + "start": 53936, + "end": 53942, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 29 }, "end": { - "line": 1422, + "line": 1423, "column": 35 }, "identifierName": "meshes" @@ -69312,15 +69395,15 @@ }, "property": { "type": "Identifier", - "start": 53290, - "end": 53291, + "start": 53943, + "end": 53944, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 36 }, "end": { - "line": 1422, + "line": 1423, "column": 37 }, "identifierName": "j" @@ -69335,44 +69418,44 @@ }, { "type": "VariableDeclaration", - "start": 53310, - "end": 53341, + "start": 53963, + "end": 53994, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 16 }, "end": { - "line": 1423, + "line": 1424, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53316, - "end": 53340, + "start": 53969, + "end": 53993, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 22 }, "end": { - "line": 1423, + "line": 1424, "column": 46 } }, "id": { "type": "Identifier", - "start": 53316, - "end": 53324, + "start": 53969, + "end": 53977, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 22 }, "end": { - "line": 1423, + "line": 1424, "column": 30 }, "identifierName": "geometry" @@ -69381,29 +69464,29 @@ }, "init": { "type": "MemberExpression", - "start": 53327, - "end": 53340, + "start": 53980, + "end": 53993, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 33 }, "end": { - "line": 1423, + "line": 1424, "column": 46 } }, "object": { "type": "Identifier", - "start": 53327, - "end": 53331, + "start": 53980, + "end": 53984, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 33 }, "end": { - "line": 1423, + "line": 1424, "column": 37 }, "identifierName": "mesh" @@ -69412,15 +69495,15 @@ }, "property": { "type": "Identifier", - "start": 53332, - "end": 53340, + "start": 53985, + "end": 53993, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 38 }, "end": { - "line": 1423, + "line": 1424, "column": 46 }, "identifierName": "geometry" @@ -69435,29 +69518,29 @@ }, { "type": "IfStatement", - "start": 53359, - "end": 54543, + "start": 54012, + "end": 55196, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 16 }, "end": { - "line": 1453, + "line": 1454, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 53363, - "end": 53379, + "start": 54016, + "end": 54032, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 20 }, "end": { - "line": 1425, + "line": 1426, "column": 36 } }, @@ -69465,29 +69548,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 53364, - "end": 53379, + "start": 54017, + "end": 54032, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 21 }, "end": { - "line": 1425, + "line": 1426, "column": 36 } }, "object": { "type": "Identifier", - "start": 53364, - "end": 53372, + "start": 54017, + "end": 54025, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 21 }, "end": { - "line": 1425, + "line": 1426, "column": 29 }, "identifierName": "geometry" @@ -69496,15 +69579,15 @@ }, "property": { "type": "Identifier", - "start": 53373, - "end": 53379, + "start": 54026, + "end": 54032, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 30 }, "end": { - "line": 1425, + "line": 1426, "column": 36 }, "identifierName": "reused" @@ -69519,59 +69602,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 53381, - "end": 54055, + "start": 54034, + "end": 54708, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 38 }, "end": { - "line": 1442, + "line": 1443, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 53424, - "end": 53461, + "start": 54077, + "end": 54114, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 20 }, "end": { - "line": 1427, + "line": 1428, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53430, - "end": 53460, + "start": 54083, + "end": 54113, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 26 }, "end": { - "line": 1427, + "line": 1428, "column": 56 } }, "id": { "type": "Identifier", - "start": 53430, - "end": 53439, + "start": 54083, + "end": 54092, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 26 }, "end": { - "line": 1427, + "line": 1428, "column": 35 }, "identifierName": "positions" @@ -69581,29 +69664,29 @@ }, "init": { "type": "MemberExpression", - "start": 53442, - "end": 53460, + "start": 54095, + "end": 54113, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 38 }, "end": { - "line": 1427, + "line": 1428, "column": 56 } }, "object": { "type": "Identifier", - "start": 53442, - "end": 53450, + "start": 54095, + "end": 54103, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 38 }, "end": { - "line": 1427, + "line": 1428, "column": 46 }, "identifierName": "geometry" @@ -69612,15 +69695,15 @@ }, "property": { "type": "Identifier", - "start": 53451, - "end": 53460, + "start": 54104, + "end": 54113, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 47 }, "end": { - "line": 1427, + "line": 1428, "column": 56 }, "identifierName": "positions" @@ -69637,15 +69720,15 @@ { "type": "CommentLine", "value": " Batched geometry", - "start": 53383, - "end": 53402, + "start": 54036, + "end": 54055, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 40 }, "end": { - "line": 1425, + "line": 1426, "column": 59 } } @@ -69655,15 +69738,15 @@ { "type": "CommentLine", "value": " Center positions relative to their tile's World-space center", - "start": 53483, - "end": 53546, + "start": 54136, + "end": 54199, "loc": { "start": { - "line": 1429, + "line": 1430, "column": 20 }, "end": { - "line": 1429, + "line": 1430, "column": 83 } } @@ -69672,58 +69755,58 @@ }, { "type": "ForStatement", - "start": 53568, - "end": 53828, + "start": 54221, + "end": 54481, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 20 }, "end": { - "line": 1436, + "line": 1437, "column": 21 } }, "init": { "type": "VariableDeclaration", - "start": 53573, - "end": 53607, + "start": 54226, + "end": 54260, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 25 }, "end": { - "line": 1431, + "line": 1432, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53577, - "end": 53582, + "start": 54230, + "end": 54235, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 29 }, "end": { - "line": 1431, + "line": 1432, "column": 34 } }, "id": { "type": "Identifier", - "start": 53577, - "end": 53578, + "start": 54230, + "end": 54231, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 29 }, "end": { - "line": 1431, + "line": 1432, "column": 30 }, "identifierName": "k" @@ -69733,15 +69816,15 @@ }, "init": { "type": "NumericLiteral", - "start": 53581, - "end": 53582, + "start": 54234, + "end": 54235, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 33 }, "end": { - "line": 1431, + "line": 1432, "column": 34 } }, @@ -69755,29 +69838,29 @@ }, { "type": "VariableDeclarator", - "start": 53584, - "end": 53607, + "start": 54237, + "end": 54260, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 36 }, "end": { - "line": 1431, + "line": 1432, "column": 59 } }, "id": { "type": "Identifier", - "start": 53584, - "end": 53588, + "start": 54237, + "end": 54241, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 36 }, "end": { - "line": 1431, + "line": 1432, "column": 40 }, "identifierName": "lenk" @@ -69786,29 +69869,29 @@ }, "init": { "type": "MemberExpression", - "start": 53591, - "end": 53607, + "start": 54244, + "end": 54260, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 43 }, "end": { - "line": 1431, + "line": 1432, "column": 59 } }, "object": { "type": "Identifier", - "start": 53591, - "end": 53600, + "start": 54244, + "end": 54253, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 43 }, "end": { - "line": 1431, + "line": 1432, "column": 52 }, "identifierName": "positions" @@ -69817,15 +69900,15 @@ }, "property": { "type": "Identifier", - "start": 53601, - "end": 53607, + "start": 54254, + "end": 54260, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 53 }, "end": { - "line": 1431, + "line": 1432, "column": 59 }, "identifierName": "length" @@ -69841,29 +69924,29 @@ }, "test": { "type": "BinaryExpression", - "start": 53609, - "end": 53617, + "start": 54262, + "end": 54270, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 61 }, "end": { - "line": 1431, + "line": 1432, "column": 69 } }, "left": { "type": "Identifier", - "start": 53609, - "end": 53610, + "start": 54262, + "end": 54263, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 61 }, "end": { - "line": 1431, + "line": 1432, "column": 62 }, "identifierName": "k" @@ -69873,15 +69956,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 53613, - "end": 53617, + "start": 54266, + "end": 54270, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 65 }, "end": { - "line": 1431, + "line": 1432, "column": 69 }, "identifierName": "lenk" @@ -69891,30 +69974,30 @@ }, "update": { "type": "AssignmentExpression", - "start": 53619, - "end": 53625, + "start": 54272, + "end": 54278, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 71 }, "end": { - "line": 1431, + "line": 1432, "column": 77 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 53619, - "end": 53620, + "start": 54272, + "end": 54273, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 71 }, "end": { - "line": 1431, + "line": 1432, "column": 72 }, "identifierName": "k" @@ -69923,15 +70006,15 @@ }, "right": { "type": "NumericLiteral", - "start": 53624, - "end": 53625, + "start": 54277, + "end": 54278, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 76 }, "end": { - "line": 1431, + "line": 1432, "column": 77 } }, @@ -69944,73 +70027,73 @@ }, "body": { "type": "BlockStatement", - "start": 53627, - "end": 53828, + "start": 54280, + "end": 54481, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 79 }, "end": { - "line": 1436, + "line": 1437, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 53654, - "end": 53688, + "start": 54307, + "end": 54341, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 24 }, "end": { - "line": 1433, + "line": 1434, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 53654, - "end": 53687, + "start": 54307, + "end": 54340, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 24 }, "end": { - "line": 1433, + "line": 1434, "column": 57 } }, "operator": "-=", "left": { "type": "MemberExpression", - "start": 53654, - "end": 53670, + "start": 54307, + "end": 54323, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 24 }, "end": { - "line": 1433, + "line": 1434, "column": 40 } }, "object": { "type": "Identifier", - "start": 53654, - "end": 53663, + "start": 54307, + "end": 54316, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 24 }, "end": { - "line": 1433, + "line": 1434, "column": 33 }, "identifierName": "positions" @@ -70019,29 +70102,29 @@ }, "property": { "type": "BinaryExpression", - "start": 53664, - "end": 53669, + "start": 54317, + "end": 54322, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 34 }, "end": { - "line": 1433, + "line": 1434, "column": 39 } }, "left": { "type": "Identifier", - "start": 53664, - "end": 53665, + "start": 54317, + "end": 54318, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 34 }, "end": { - "line": 1433, + "line": 1434, "column": 35 }, "identifierName": "k" @@ -70051,15 +70134,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 53668, - "end": 53669, + "start": 54321, + "end": 54322, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 38 }, "end": { - "line": 1433, + "line": 1434, "column": 39 } }, @@ -70074,29 +70157,29 @@ }, "right": { "type": "MemberExpression", - "start": 53674, - "end": 53687, + "start": 54327, + "end": 54340, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 44 }, "end": { - "line": 1433, + "line": 1434, "column": 57 } }, "object": { "type": "Identifier", - "start": 53674, - "end": 53684, + "start": 54327, + "end": 54337, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 44 }, "end": { - "line": 1433, + "line": 1434, "column": 54 }, "identifierName": "tileCenter" @@ -70105,15 +70188,15 @@ }, "property": { "type": "NumericLiteral", - "start": 53685, - "end": 53686, + "start": 54338, + "end": 54339, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 55 }, "end": { - "line": 1433, + "line": 1434, "column": 56 } }, @@ -70129,58 +70212,58 @@ }, { "type": "ExpressionStatement", - "start": 53713, - "end": 53747, + "start": 54366, + "end": 54400, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 24 }, "end": { - "line": 1434, + "line": 1435, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 53713, - "end": 53746, + "start": 54366, + "end": 54399, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 24 }, "end": { - "line": 1434, + "line": 1435, "column": 57 } }, "operator": "-=", "left": { "type": "MemberExpression", - "start": 53713, - "end": 53729, + "start": 54366, + "end": 54382, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 24 }, "end": { - "line": 1434, + "line": 1435, "column": 40 } }, "object": { "type": "Identifier", - "start": 53713, - "end": 53722, + "start": 54366, + "end": 54375, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 24 }, "end": { - "line": 1434, + "line": 1435, "column": 33 }, "identifierName": "positions" @@ -70189,29 +70272,29 @@ }, "property": { "type": "BinaryExpression", - "start": 53723, - "end": 53728, + "start": 54376, + "end": 54381, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 34 }, "end": { - "line": 1434, + "line": 1435, "column": 39 } }, "left": { "type": "Identifier", - "start": 53723, - "end": 53724, + "start": 54376, + "end": 54377, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 34 }, "end": { - "line": 1434, + "line": 1435, "column": 35 }, "identifierName": "k" @@ -70221,15 +70304,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 53727, - "end": 53728, + "start": 54380, + "end": 54381, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 38 }, "end": { - "line": 1434, + "line": 1435, "column": 39 } }, @@ -70244,29 +70327,29 @@ }, "right": { "type": "MemberExpression", - "start": 53733, - "end": 53746, + "start": 54386, + "end": 54399, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 44 }, "end": { - "line": 1434, + "line": 1435, "column": 57 } }, "object": { "type": "Identifier", - "start": 53733, - "end": 53743, + "start": 54386, + "end": 54396, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 44 }, "end": { - "line": 1434, + "line": 1435, "column": 54 }, "identifierName": "tileCenter" @@ -70275,15 +70358,15 @@ }, "property": { "type": "NumericLiteral", - "start": 53744, - "end": 53745, + "start": 54397, + "end": 54398, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 55 }, "end": { - "line": 1434, + "line": 1435, "column": 56 } }, @@ -70299,58 +70382,58 @@ }, { "type": "ExpressionStatement", - "start": 53772, - "end": 53806, + "start": 54425, + "end": 54459, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 24 }, "end": { - "line": 1435, + "line": 1436, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 53772, - "end": 53805, + "start": 54425, + "end": 54458, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 24 }, "end": { - "line": 1435, + "line": 1436, "column": 57 } }, "operator": "-=", "left": { "type": "MemberExpression", - "start": 53772, - "end": 53788, + "start": 54425, + "end": 54441, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 24 }, "end": { - "line": 1435, + "line": 1436, "column": 40 } }, "object": { "type": "Identifier", - "start": 53772, - "end": 53781, + "start": 54425, + "end": 54434, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 24 }, "end": { - "line": 1435, + "line": 1436, "column": 33 }, "identifierName": "positions" @@ -70359,29 +70442,29 @@ }, "property": { "type": "BinaryExpression", - "start": 53782, - "end": 53787, + "start": 54435, + "end": 54440, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 34 }, "end": { - "line": 1435, + "line": 1436, "column": 39 } }, "left": { "type": "Identifier", - "start": 53782, - "end": 53783, + "start": 54435, + "end": 54436, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 34 }, "end": { - "line": 1435, + "line": 1436, "column": 35 }, "identifierName": "k" @@ -70391,15 +70474,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 53786, - "end": 53787, + "start": 54439, + "end": 54440, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 38 }, "end": { - "line": 1435, + "line": 1436, "column": 39 } }, @@ -70414,29 +70497,29 @@ }, "right": { "type": "MemberExpression", - "start": 53792, - "end": 53805, + "start": 54445, + "end": 54458, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 44 }, "end": { - "line": 1435, + "line": 1436, "column": 57 } }, "object": { "type": "Identifier", - "start": 53792, - "end": 53802, + "start": 54445, + "end": 54455, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 44 }, "end": { - "line": 1435, + "line": 1436, "column": 54 }, "identifierName": "tileCenter" @@ -70445,15 +70528,15 @@ }, "property": { "type": "NumericLiteral", - "start": 53803, - "end": 53804, + "start": 54456, + "end": 54457, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 55 }, "end": { - "line": 1435, + "line": 1436, "column": 56 } }, @@ -70475,15 +70558,15 @@ { "type": "CommentLine", "value": " Center positions relative to their tile's World-space center", - "start": 53483, - "end": 53546, + "start": 54136, + "end": 54199, "loc": { "start": { - "line": 1429, + "line": 1430, "column": 20 }, "end": { - "line": 1429, + "line": 1430, "column": 83 } } @@ -70493,15 +70576,15 @@ { "type": "CommentLine", "value": " Quantize positions relative to tile's RTC-space boundary", - "start": 53850, - "end": 53909, + "start": 54503, + "end": 54562, "loc": { "start": { - "line": 1438, + "line": 1439, "column": 20 }, "end": { - "line": 1438, + "line": 1439, "column": 79 } } @@ -70510,57 +70593,57 @@ }, { "type": "ExpressionStatement", - "start": 53931, - "end": 54036, + "start": 54584, + "end": 54689, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 20 }, "end": { - "line": 1440, + "line": 1441, "column": 125 } }, "expression": { "type": "CallExpression", - "start": 53931, - "end": 54035, + "start": 54584, + "end": 54688, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 20 }, "end": { - "line": 1440, + "line": 1441, "column": 124 } }, "callee": { "type": "MemberExpression", - "start": 53931, - "end": 53968, + "start": 54584, + "end": 54621, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 20 }, "end": { - "line": 1440, + "line": 1441, "column": 57 } }, "object": { "type": "Identifier", - "start": 53931, - "end": 53950, + "start": 54584, + "end": 54603, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 20 }, "end": { - "line": 1440, + "line": 1441, "column": 39 }, "identifierName": "geometryCompression" @@ -70570,15 +70653,15 @@ }, "property": { "type": "Identifier", - "start": 53951, - "end": 53968, + "start": 54604, + "end": 54621, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 40 }, "end": { - "line": 1440, + "line": 1441, "column": 57 }, "identifierName": "quantizePositions" @@ -70591,15 +70674,15 @@ "arguments": [ { "type": "Identifier", - "start": 53969, - "end": 53978, + "start": 54622, + "end": 54631, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 58 }, "end": { - "line": 1440, + "line": 1441, "column": 67 }, "identifierName": "positions" @@ -70608,29 +70691,29 @@ }, { "type": "MemberExpression", - "start": 53980, - "end": 53996, + "start": 54633, + "end": 54649, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 69 }, "end": { - "line": 1440, + "line": 1441, "column": 85 } }, "object": { "type": "Identifier", - "start": 53980, - "end": 53989, + "start": 54633, + "end": 54642, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 69 }, "end": { - "line": 1440, + "line": 1441, "column": 78 }, "identifierName": "positions" @@ -70639,15 +70722,15 @@ }, "property": { "type": "Identifier", - "start": 53990, - "end": 53996, + "start": 54643, + "end": 54649, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 79 }, "end": { - "line": 1440, + "line": 1441, "column": 85 }, "identifierName": "length" @@ -70658,15 +70741,15 @@ }, { "type": "Identifier", - "start": 53998, - "end": 54005, + "start": 54651, + "end": 54658, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 87 }, "end": { - "line": 1440, + "line": 1441, "column": 94 }, "identifierName": "rtcAABB" @@ -70675,29 +70758,29 @@ }, { "type": "MemberExpression", - "start": 54007, - "end": 54034, + "start": 54660, + "end": 54687, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 96 }, "end": { - "line": 1440, + "line": 1441, "column": 123 } }, "object": { "type": "Identifier", - "start": 54007, - "end": 54015, + "start": 54660, + "end": 54668, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 96 }, "end": { - "line": 1440, + "line": 1441, "column": 104 }, "identifierName": "geometry" @@ -70706,15 +70789,15 @@ }, "property": { "type": "Identifier", - "start": 54016, - "end": 54034, + "start": 54669, + "end": 54687, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 105 }, "end": { - "line": 1440, + "line": 1441, "column": 123 }, "identifierName": "positionsQuantized" @@ -70730,15 +70813,15 @@ { "type": "CommentLine", "value": " Quantize positions relative to tile's RTC-space boundary", - "start": 53850, - "end": 53909, + "start": 54503, + "end": 54562, "loc": { "start": { - "line": 1438, + "line": 1439, "column": 20 }, "end": { - "line": 1438, + "line": 1439, "column": 79 } } @@ -70750,72 +70833,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 54061, - "end": 54543, + "start": 54714, + "end": 55196, "loc": { "start": { - "line": 1442, + "line": 1443, "column": 23 }, "end": { - "line": 1453, + "line": 1454, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 54477, - "end": 54525, + "start": 55130, + "end": 55178, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 20 }, "end": { - "line": 1452, + "line": 1453, "column": 68 } }, "expression": { "type": "CallExpression", - "start": 54477, - "end": 54524, + "start": 55130, + "end": 55177, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 20 }, "end": { - "line": 1452, + "line": 1453, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 54477, - "end": 54496, + "start": 55130, + "end": 55149, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 20 }, "end": { - "line": 1452, + "line": 1453, "column": 39 } }, "object": { "type": "Identifier", - "start": 54477, - "end": 54481, + "start": 55130, + "end": 55134, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 20 }, "end": { - "line": 1452, + "line": 1453, "column": 24 }, "identifierName": "math" @@ -70825,15 +70908,15 @@ }, "property": { "type": "Identifier", - "start": 54482, - "end": 54496, + "start": 55135, + "end": 55149, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 25 }, "end": { - "line": 1452, + "line": 1453, "column": 39 }, "identifierName": "translateMat4v" @@ -70846,15 +70929,15 @@ "arguments": [ { "type": "Identifier", - "start": 54497, - "end": 54510, + "start": 55150, + "end": 55163, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 40 }, "end": { - "line": 1452, + "line": 1453, "column": 53 }, "identifierName": "tileCenterNeg" @@ -70863,29 +70946,29 @@ }, { "type": "MemberExpression", - "start": 54512, - "end": 54523, + "start": 55165, + "end": 55176, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 55 }, "end": { - "line": 1452, + "line": 1453, "column": 66 } }, "object": { "type": "Identifier", - "start": 54512, - "end": 54516, + "start": 55165, + "end": 55169, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 55 }, "end": { - "line": 1452, + "line": 1453, "column": 59 }, "identifierName": "mesh" @@ -70894,15 +70977,15 @@ }, "property": { "type": "Identifier", - "start": 54517, - "end": 54523, + "start": 55170, + "end": 55176, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 60 }, "end": { - "line": 1452, + "line": 1453, "column": 66 }, "identifierName": "matrix" @@ -70918,15 +71001,15 @@ { "type": "CommentLine", "value": " Instanced geometry", - "start": 54063, - "end": 54084, + "start": 54716, + "end": 54737, "loc": { "start": { - "line": 1442, + "line": 1443, "column": 25 }, "end": { - "line": 1442, + "line": 1443, "column": 46 } } @@ -70934,15 +71017,15 @@ { "type": "CommentLine", "value": " Post-multiply a translation to the mesh's modeling matrix", - "start": 54106, - "end": 54166, + "start": 54759, + "end": 54819, "loc": { "start": { - "line": 1444, + "line": 1445, "column": 20 }, "end": { - "line": 1444, + "line": 1445, "column": 80 } } @@ -70950,15 +71033,15 @@ { "type": "CommentLine", "value": " to center the entity's geometry instances to the tile RTC center", - "start": 54187, - "end": 54254, + "start": 54840, + "end": 54907, "loc": { "start": { - "line": 1445, + "line": 1446, "column": 20 }, "end": { - "line": 1445, + "line": 1446, "column": 87 } } @@ -70966,15 +71049,15 @@ { "type": "CommentLine", "value": "////////////////////////////", - "start": 54276, - "end": 54306, + "start": 54929, + "end": 54959, "loc": { "start": { - "line": 1447, + "line": 1448, "column": 20 }, "end": { - "line": 1447, + "line": 1448, "column": 50 } } @@ -70982,15 +71065,15 @@ { "type": "CommentLine", "value": " Why do we do this?", - "start": 54327, - "end": 54348, + "start": 54980, + "end": 55001, "loc": { "start": { - "line": 1448, + "line": 1449, "column": 20 }, "end": { - "line": 1448, + "line": 1449, "column": 41 } } @@ -70998,15 +71081,15 @@ { "type": "CommentLine", "value": " Seems to break various models", - "start": 54369, - "end": 54401, + "start": 55022, + "end": 55054, "loc": { "start": { - "line": 1449, + "line": 1450, "column": 20 }, "end": { - "line": 1449, + "line": 1450, "column": 52 } } @@ -71014,15 +71097,15 @@ { "type": "CommentLine", "value": "///////////////////////////////", - "start": 54422, - "end": 54455, + "start": 55075, + "end": 55108, "loc": { "start": { - "line": 1450, + "line": 1451, "column": 20 }, "end": { - "line": 1450, + "line": 1451, "column": 53 } } @@ -71039,58 +71122,58 @@ }, { "type": "ExpressionStatement", - "start": 54571, - "end": 54617, + "start": 55224, + "end": 55270, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 12 }, "end": { - "line": 1456, + "line": 1457, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 54571, - "end": 54616, + "start": 55224, + "end": 55269, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 12 }, "end": { - "line": 1456, + "line": 1457, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 54571, - "end": 54589, + "start": 55224, + "end": 55242, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 12 }, "end": { - "line": 1456, + "line": 1457, "column": 30 } }, "object": { "type": "Identifier", - "start": 54571, - "end": 54577, + "start": 55224, + "end": 55230, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 12 }, "end": { - "line": 1456, + "line": 1457, "column": 18 }, "identifierName": "entity" @@ -71099,15 +71182,15 @@ }, "property": { "type": "Identifier", - "start": 54578, - "end": 54589, + "start": 55231, + "end": 55242, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 19 }, "end": { - "line": 1456, + "line": 1457, "column": 30 }, "identifierName": "entityIndex" @@ -71118,58 +71201,58 @@ }, "right": { "type": "MemberExpression", - "start": 54592, - "end": 54616, + "start": 55245, + "end": 55269, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 33 }, "end": { - "line": 1456, + "line": 1457, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 54592, - "end": 54609, + "start": 55245, + "end": 55262, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 33 }, "end": { - "line": 1456, + "line": 1457, "column": 50 } }, "object": { "type": "ThisExpression", - "start": 54592, - "end": 54596, + "start": 55245, + "end": 55249, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 33 }, "end": { - "line": 1456, + "line": 1457, "column": 37 } } }, "property": { "type": "Identifier", - "start": 54597, - "end": 54609, + "start": 55250, + "end": 55262, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 38 }, "end": { - "line": 1456, + "line": 1457, "column": 50 }, "identifierName": "entitiesList" @@ -71180,15 +71263,15 @@ }, "property": { "type": "Identifier", - "start": 54610, - "end": 54616, + "start": 55263, + "end": 55269, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 51 }, "end": { - "line": 1456, + "line": 1457, "column": 57 }, "identifierName": "length" @@ -71201,86 +71284,86 @@ }, { "type": "ExpressionStatement", - "start": 54631, - "end": 54662, + "start": 55284, + "end": 55315, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 12 }, "end": { - "line": 1458, + "line": 1459, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 54631, - "end": 54661, + "start": 55284, + "end": 55314, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 12 }, "end": { - "line": 1458, + "line": 1459, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 54631, - "end": 54653, + "start": 55284, + "end": 55306, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 12 }, "end": { - "line": 1458, + "line": 1459, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 54631, - "end": 54648, + "start": 55284, + "end": 55301, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 12 }, "end": { - "line": 1458, + "line": 1459, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 54631, - "end": 54635, + "start": 55284, + "end": 55288, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 12 }, "end": { - "line": 1458, + "line": 1459, "column": 16 } } }, "property": { "type": "Identifier", - "start": 54636, - "end": 54648, + "start": 55289, + "end": 55301, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 17 }, "end": { - "line": 1458, + "line": 1459, "column": 29 }, "identifierName": "entitiesList" @@ -71291,15 +71374,15 @@ }, "property": { "type": "Identifier", - "start": 54649, - "end": 54653, + "start": 55302, + "end": 55306, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 30 }, "end": { - "line": 1458, + "line": 1459, "column": 34 }, "identifierName": "push" @@ -71311,15 +71394,15 @@ "arguments": [ { "type": "Identifier", - "start": 54654, - "end": 54660, + "start": 55307, + "end": 55313, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 35 }, "end": { - "line": 1458, + "line": 1459, "column": 41 }, "identifierName": "entity" @@ -71335,44 +71418,44 @@ }, { "type": "VariableDeclaration", - "start": 54682, - "end": 54727, + "start": 55335, + "end": 55380, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 8 }, "end": { - "line": 1461, + "line": 1462, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 54688, - "end": 54726, + "start": 55341, + "end": 55379, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 14 }, "end": { - "line": 1461, + "line": 1462, "column": 52 } }, "id": { "type": "Identifier", - "start": 54688, - "end": 54692, + "start": 55341, + "end": 55345, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 14 }, "end": { - "line": 1461, + "line": 1462, "column": 18 }, "identifierName": "tile" @@ -71381,29 +71464,29 @@ }, "init": { "type": "NewExpression", - "start": 54695, - "end": 54726, + "start": 55348, + "end": 55379, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 21 }, "end": { - "line": 1461, + "line": 1462, "column": 52 } }, "callee": { "type": "Identifier", - "start": 54699, - "end": 54706, + "start": 55352, + "end": 55359, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 25 }, "end": { - "line": 1461, + "line": 1462, "column": 32 }, "identifierName": "XKTTile" @@ -71413,15 +71496,15 @@ "arguments": [ { "type": "Identifier", - "start": 54707, - "end": 54715, + "start": 55360, + "end": 55368, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 33 }, "end": { - "line": 1461, + "line": 1462, "column": 41 }, "identifierName": "tileAABB" @@ -71430,15 +71513,15 @@ }, { "type": "Identifier", - "start": 54717, - "end": 54725, + "start": 55370, + "end": 55378, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 43 }, "end": { - "line": 1461, + "line": 1462, "column": 51 }, "identifierName": "entities" @@ -71453,86 +71536,86 @@ }, { "type": "ExpressionStatement", - "start": 54737, - "end": 54763, + "start": 55390, + "end": 55416, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 8 }, "end": { - "line": 1463, + "line": 1464, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 54737, - "end": 54762, + "start": 55390, + "end": 55415, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 8 }, "end": { - "line": 1463, + "line": 1464, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 54737, - "end": 54756, + "start": 55390, + "end": 55409, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 8 }, "end": { - "line": 1463, + "line": 1464, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 54737, - "end": 54751, + "start": 55390, + "end": 55404, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 8 }, "end": { - "line": 1463, + "line": 1464, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 54737, - "end": 54741, + "start": 55390, + "end": 55394, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 8 }, "end": { - "line": 1463, + "line": 1464, "column": 12 } } }, "property": { "type": "Identifier", - "start": 54742, - "end": 54751, + "start": 55395, + "end": 55404, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 13 }, "end": { - "line": 1463, + "line": 1464, "column": 22 }, "identifierName": "tilesList" @@ -71543,15 +71626,15 @@ }, "property": { "type": "Identifier", - "start": 54752, - "end": 54756, + "start": 55405, + "end": 55409, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 23 }, "end": { - "line": 1463, + "line": 1464, "column": 27 }, "identifierName": "push" @@ -71563,15 +71646,15 @@ "arguments": [ { "type": "Identifier", - "start": 54757, - "end": 54761, + "start": 55410, + "end": 55414, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 28 }, "end": { - "line": 1463, + "line": 1464, "column": 32 }, "identifierName": "tile" @@ -71588,15 +71671,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a tile from the given entities.\n *\n * For each single-use {@link XKTGeometry}, this method centers {@link XKTGeometry#positions} to make them relative to the\n * tile's center, then quantizes the positions to unsigned 16-bit integers, relative to the tile's boundary.\n *\n * @param kdNode\n ", - "start": 52081, - "end": 52414, + "start": 52734, + "end": 53067, "loc": { "start": { - "line": 1389, + "line": 1390, "column": 4 }, "end": { - "line": 1396, + "line": 1397, "column": 7 } } @@ -71605,15 +71688,15 @@ }, { "type": "ClassMethod", - "start": 54775, - "end": 56434, + "start": 55428, + "end": 57087, "loc": { "start": { - "line": 1466, + "line": 1467, "column": 4 }, "end": { - "line": 1509, + "line": 1510, "column": 5 } }, @@ -71621,15 +71704,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 54775, - "end": 54810, + "start": 55428, + "end": 55463, "loc": { "start": { - "line": 1466, + "line": 1467, "column": 4 }, "end": { - "line": 1466, + "line": 1467, "column": 39 }, "identifierName": "_createReusedGeometriesDecodeMatrix" @@ -71644,59 +71727,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 54813, - "end": 56434, + "start": 55466, + "end": 57087, "loc": { "start": { - "line": 1466, + "line": 1467, "column": 42 }, "end": { - "line": 1509, + "line": 1510, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 54824, - "end": 54854, + "start": 55477, + "end": 55507, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 8 }, "end": { - "line": 1468, + "line": 1469, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 54830, - "end": 54853, + "start": 55483, + "end": 55506, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 14 }, "end": { - "line": 1468, + "line": 1469, "column": 37 } }, "id": { "type": "Identifier", - "start": 54830, - "end": 54839, + "start": 55483, + "end": 55492, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 14 }, "end": { - "line": 1468, + "line": 1469, "column": 23 }, "identifierName": "tempVec3a" @@ -71705,43 +71788,43 @@ }, "init": { "type": "CallExpression", - "start": 54842, - "end": 54853, + "start": 55495, + "end": 55506, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 26 }, "end": { - "line": 1468, + "line": 1469, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 54842, - "end": 54851, + "start": 55495, + "end": 55504, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 26 }, "end": { - "line": 1468, + "line": 1469, "column": 35 } }, "object": { "type": "Identifier", - "start": 54842, - "end": 54846, + "start": 55495, + "end": 55499, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 26 }, "end": { - "line": 1468, + "line": 1469, "column": 30 }, "identifierName": "math" @@ -71750,15 +71833,15 @@ }, "property": { "type": "Identifier", - "start": 54847, - "end": 54851, + "start": 55500, + "end": 55504, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 31 }, "end": { - "line": 1468, + "line": 1469, "column": 35 }, "identifierName": "vec3" @@ -71775,44 +71858,44 @@ }, { "type": "VariableDeclaration", - "start": 54863, - "end": 54925, + "start": 55516, + "end": 55578, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 8 }, "end": { - "line": 1469, + "line": 1470, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 54869, - "end": 54924, + "start": 55522, + "end": 55577, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 14 }, "end": { - "line": 1469, + "line": 1470, "column": 69 } }, "id": { "type": "Identifier", - "start": 54869, - "end": 54889, + "start": 55522, + "end": 55542, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 14 }, "end": { - "line": 1469, + "line": 1470, "column": 34 }, "identifierName": "reusedGeometriesAABB" @@ -71821,43 +71904,43 @@ }, "init": { "type": "CallExpression", - "start": 54892, - "end": 54924, + "start": 55545, + "end": 55577, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 37 }, "end": { - "line": 1469, + "line": 1470, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 54892, - "end": 54910, + "start": 55545, + "end": 55563, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 37 }, "end": { - "line": 1469, + "line": 1470, "column": 55 } }, "object": { "type": "Identifier", - "start": 54892, - "end": 54896, + "start": 55545, + "end": 55549, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 37 }, "end": { - "line": 1469, + "line": 1470, "column": 41 }, "identifierName": "math" @@ -71866,15 +71949,15 @@ }, "property": { "type": "Identifier", - "start": 54897, - "end": 54910, + "start": 55550, + "end": 55563, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 42 }, "end": { - "line": 1469, + "line": 1470, "column": 55 }, "identifierName": "collapseAABB3" @@ -71886,43 +71969,43 @@ "arguments": [ { "type": "CallExpression", - "start": 54911, - "end": 54923, + "start": 55564, + "end": 55576, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 56 }, "end": { - "line": 1469, + "line": 1470, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 54911, - "end": 54921, + "start": 55564, + "end": 55574, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 56 }, "end": { - "line": 1469, + "line": 1470, "column": 66 } }, "object": { "type": "Identifier", - "start": 54911, - "end": 54915, + "start": 55564, + "end": 55568, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 56 }, "end": { - "line": 1469, + "line": 1470, "column": 60 }, "identifierName": "math" @@ -71931,15 +72014,15 @@ }, "property": { "type": "Identifier", - "start": 54916, - "end": 54921, + "start": 55569, + "end": 55574, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 61 }, "end": { - "line": 1469, + "line": 1470, "column": 66 }, "identifierName": "AABB3" @@ -71958,44 +72041,44 @@ }, { "type": "VariableDeclaration", - "start": 54934, - "end": 54964, + "start": 55587, + "end": 55617, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 8 }, "end": { - "line": 1470, + "line": 1471, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 54938, - "end": 54963, + "start": 55591, + "end": 55616, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 12 }, "end": { - "line": 1470, + "line": 1471, "column": 37 } }, "id": { "type": "Identifier", - "start": 54938, - "end": 54959, + "start": 55591, + "end": 55612, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 12 }, "end": { - "line": 1470, + "line": 1471, "column": 33 }, "identifierName": "countReusedGeometries" @@ -72004,15 +72087,15 @@ }, "init": { "type": "NumericLiteral", - "start": 54962, - "end": 54963, + "start": 55615, + "end": 55616, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 36 }, "end": { - "line": 1470, + "line": 1471, "column": 37 } }, @@ -72028,58 +72111,58 @@ }, { "type": "ForStatement", - "start": 54974, - "end": 55669, + "start": 55627, + "end": 56322, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 8 }, "end": { - "line": 1491, + "line": 1492, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 54979, - "end": 55044, + "start": 55632, + "end": 55697, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 13 }, "end": { - "line": 1472, + "line": 1473, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 54983, - "end": 55000, + "start": 55636, + "end": 55653, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 17 }, "end": { - "line": 1472, + "line": 1473, "column": 34 } }, "id": { "type": "Identifier", - "start": 54983, - "end": 54996, + "start": 55636, + "end": 55649, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 17 }, "end": { - "line": 1472, + "line": 1473, "column": 30 }, "identifierName": "geometryIndex" @@ -72088,15 +72171,15 @@ }, "init": { "type": "NumericLiteral", - "start": 54999, - "end": 55000, + "start": 55652, + "end": 55653, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 33 }, "end": { - "line": 1472, + "line": 1473, "column": 34 } }, @@ -72109,29 +72192,29 @@ }, { "type": "VariableDeclarator", - "start": 55002, - "end": 55044, + "start": 55655, + "end": 55697, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 36 }, "end": { - "line": 1472, + "line": 1473, "column": 78 } }, "id": { "type": "Identifier", - "start": 55002, - "end": 55015, + "start": 55655, + "end": 55668, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 36 }, "end": { - "line": 1472, + "line": 1473, "column": 49 }, "identifierName": "numGeometries" @@ -72140,58 +72223,58 @@ }, "init": { "type": "MemberExpression", - "start": 55018, - "end": 55044, + "start": 55671, + "end": 55697, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 52 }, "end": { - "line": 1472, + "line": 1473, "column": 78 } }, "object": { "type": "MemberExpression", - "start": 55018, - "end": 55037, + "start": 55671, + "end": 55690, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 52 }, "end": { - "line": 1472, + "line": 1473, "column": 71 } }, "object": { "type": "ThisExpression", - "start": 55018, - "end": 55022, + "start": 55671, + "end": 55675, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 52 }, "end": { - "line": 1472, + "line": 1473, "column": 56 } } }, "property": { "type": "Identifier", - "start": 55023, - "end": 55037, + "start": 55676, + "end": 55690, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 57 }, "end": { - "line": 1472, + "line": 1473, "column": 71 }, "identifierName": "geometriesList" @@ -72202,15 +72285,15 @@ }, "property": { "type": "Identifier", - "start": 55038, - "end": 55044, + "start": 55691, + "end": 55697, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 72 }, "end": { - "line": 1472, + "line": 1473, "column": 78 }, "identifierName": "length" @@ -72225,29 +72308,29 @@ }, "test": { "type": "BinaryExpression", - "start": 55046, - "end": 55075, + "start": 55699, + "end": 55728, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 80 }, "end": { - "line": 1472, + "line": 1473, "column": 109 } }, "left": { "type": "Identifier", - "start": 55046, - "end": 55059, + "start": 55699, + "end": 55712, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 80 }, "end": { - "line": 1472, + "line": 1473, "column": 93 }, "identifierName": "geometryIndex" @@ -72257,15 +72340,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 55062, - "end": 55075, + "start": 55715, + "end": 55728, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 96 }, "end": { - "line": 1472, + "line": 1473, "column": 109 }, "identifierName": "numGeometries" @@ -72275,15 +72358,15 @@ }, "update": { "type": "UpdateExpression", - "start": 55077, - "end": 55092, + "start": 55730, + "end": 55745, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 111 }, "end": { - "line": 1472, + "line": 1473, "column": 126 } }, @@ -72291,15 +72374,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 55077, - "end": 55090, + "start": 55730, + "end": 55743, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 111 }, "end": { - "line": 1472, + "line": 1473, "column": 124 }, "identifierName": "geometryIndex" @@ -72309,59 +72392,59 @@ }, "body": { "type": "BlockStatement", - "start": 55094, - "end": 55669, + "start": 55747, + "end": 56322, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 128 }, "end": { - "line": 1491, + "line": 1492, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 55109, - "end": 55162, + "start": 55762, + "end": 55815, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 12 }, "end": { - "line": 1474, + "line": 1475, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 55115, - "end": 55161, + "start": 55768, + "end": 55814, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 18 }, "end": { - "line": 1474, + "line": 1475, "column": 64 } }, "id": { "type": "Identifier", - "start": 55115, - "end": 55123, + "start": 55768, + "end": 55776, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 18 }, "end": { - "line": 1474, + "line": 1475, "column": 26 }, "identifierName": "geometry" @@ -72370,58 +72453,58 @@ }, "init": { "type": "MemberExpression", - "start": 55126, - "end": 55161, + "start": 55779, + "end": 55814, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 29 }, "end": { - "line": 1474, + "line": 1475, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 55126, - "end": 55145, + "start": 55779, + "end": 55798, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 29 }, "end": { - "line": 1474, + "line": 1475, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 55126, - "end": 55130, + "start": 55779, + "end": 55783, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 29 }, "end": { - "line": 1474, + "line": 1475, "column": 33 } } }, "property": { "type": "Identifier", - "start": 55131, - "end": 55145, + "start": 55784, + "end": 55798, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 34 }, "end": { - "line": 1474, + "line": 1475, "column": 48 }, "identifierName": "geometriesList" @@ -72432,15 +72515,15 @@ }, "property": { "type": "Identifier", - "start": 55147, - "end": 55160, + "start": 55800, + "end": 55813, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 50 }, "end": { - "line": 1474, + "line": 1475, "column": 63 }, "identifierName": "geometryIndex" @@ -72455,43 +72538,43 @@ }, { "type": "IfStatement", - "start": 55176, - "end": 55659, + "start": 55829, + "end": 56312, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 12 }, "end": { - "line": 1490, + "line": 1491, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 55180, - "end": 55195, + "start": 55833, + "end": 55848, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 16 }, "end": { - "line": 1476, + "line": 1477, "column": 31 } }, "object": { "type": "Identifier", - "start": 55180, - "end": 55188, + "start": 55833, + "end": 55841, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 16 }, "end": { - "line": 1476, + "line": 1477, "column": 24 }, "identifierName": "geometry" @@ -72500,15 +72583,15 @@ }, "property": { "type": "Identifier", - "start": 55189, - "end": 55195, + "start": 55842, + "end": 55848, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 25 }, "end": { - "line": 1476, + "line": 1477, "column": 31 }, "identifierName": "reused" @@ -72519,59 +72602,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 55197, - "end": 55659, + "start": 55850, + "end": 56312, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 33 }, "end": { - "line": 1490, + "line": 1491, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 55238, - "end": 55275, + "start": 55891, + "end": 55928, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 16 }, "end": { - "line": 1478, + "line": 1479, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 55244, - "end": 55274, + "start": 55897, + "end": 55927, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 22 }, "end": { - "line": 1478, + "line": 1479, "column": 52 } }, "id": { "type": "Identifier", - "start": 55244, - "end": 55253, + "start": 55897, + "end": 55906, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 22 }, "end": { - "line": 1478, + "line": 1479, "column": 31 }, "identifierName": "positions" @@ -72581,29 +72664,29 @@ }, "init": { "type": "MemberExpression", - "start": 55256, - "end": 55274, + "start": 55909, + "end": 55927, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 34 }, "end": { - "line": 1478, + "line": 1479, "column": 52 } }, "object": { "type": "Identifier", - "start": 55256, - "end": 55264, + "start": 55909, + "end": 55917, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 34 }, "end": { - "line": 1478, + "line": 1479, "column": 42 }, "identifierName": "geometry" @@ -72612,15 +72695,15 @@ }, "property": { "type": "Identifier", - "start": 55265, - "end": 55274, + "start": 55918, + "end": 55927, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 43 }, "end": { - "line": 1478, + "line": 1479, "column": 52 }, "identifierName": "positions" @@ -72637,15 +72720,15 @@ { "type": "CommentLine", "value": " Instanced geometry", - "start": 55199, - "end": 55220, + "start": 55852, + "end": 55873, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 35 }, "end": { - "line": 1476, + "line": 1477, "column": 56 } } @@ -72654,58 +72737,58 @@ }, { "type": "ForStatement", - "start": 55293, - "end": 55603, + "start": 55946, + "end": 56256, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 16 }, "end": { - "line": 1487, + "line": 1488, "column": 17 } }, "init": { "type": "VariableDeclaration", - "start": 55298, - "end": 55331, + "start": 55951, + "end": 55984, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 21 }, "end": { - "line": 1480, + "line": 1481, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 55302, - "end": 55307, + "start": 55955, + "end": 55960, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 25 }, "end": { - "line": 1480, + "line": 1481, "column": 30 } }, "id": { "type": "Identifier", - "start": 55302, - "end": 55303, + "start": 55955, + "end": 55956, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 25 }, "end": { - "line": 1480, + "line": 1481, "column": 26 }, "identifierName": "i" @@ -72714,15 +72797,15 @@ }, "init": { "type": "NumericLiteral", - "start": 55306, - "end": 55307, + "start": 55959, + "end": 55960, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 29 }, "end": { - "line": 1480, + "line": 1481, "column": 30 } }, @@ -72735,29 +72818,29 @@ }, { "type": "VariableDeclarator", - "start": 55309, - "end": 55331, + "start": 55962, + "end": 55984, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 32 }, "end": { - "line": 1480, + "line": 1481, "column": 54 } }, "id": { "type": "Identifier", - "start": 55309, - "end": 55312, + "start": 55962, + "end": 55965, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 32 }, "end": { - "line": 1480, + "line": 1481, "column": 35 }, "identifierName": "len" @@ -72766,29 +72849,29 @@ }, "init": { "type": "MemberExpression", - "start": 55315, - "end": 55331, + "start": 55968, + "end": 55984, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 38 }, "end": { - "line": 1480, + "line": 1481, "column": 54 } }, "object": { "type": "Identifier", - "start": 55315, - "end": 55324, + "start": 55968, + "end": 55977, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 38 }, "end": { - "line": 1480, + "line": 1481, "column": 47 }, "identifierName": "positions" @@ -72797,15 +72880,15 @@ }, "property": { "type": "Identifier", - "start": 55325, - "end": 55331, + "start": 55978, + "end": 55984, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 48 }, "end": { - "line": 1480, + "line": 1481, "column": 54 }, "identifierName": "length" @@ -72820,29 +72903,29 @@ }, "test": { "type": "BinaryExpression", - "start": 55333, - "end": 55340, + "start": 55986, + "end": 55993, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 56 }, "end": { - "line": 1480, + "line": 1481, "column": 63 } }, "left": { "type": "Identifier", - "start": 55333, - "end": 55334, + "start": 55986, + "end": 55987, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 56 }, "end": { - "line": 1480, + "line": 1481, "column": 57 }, "identifierName": "i" @@ -72852,15 +72935,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 55337, - "end": 55340, + "start": 55990, + "end": 55993, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 60 }, "end": { - "line": 1480, + "line": 1481, "column": 63 }, "identifierName": "len" @@ -72870,30 +72953,30 @@ }, "update": { "type": "AssignmentExpression", - "start": 55342, - "end": 55348, + "start": 55995, + "end": 56001, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 65 }, "end": { - "line": 1480, + "line": 1481, "column": 71 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 55342, - "end": 55343, + "start": 55995, + "end": 55996, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 65 }, "end": { - "line": 1480, + "line": 1481, "column": 66 }, "identifierName": "i" @@ -72902,15 +72985,15 @@ }, "right": { "type": "NumericLiteral", - "start": 55347, - "end": 55348, + "start": 56000, + "end": 56001, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 70 }, "end": { - "line": 1480, + "line": 1481, "column": 71 } }, @@ -72923,73 +73006,73 @@ }, "body": { "type": "BlockStatement", - "start": 55350, - "end": 55603, + "start": 56003, + "end": 56256, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 73 }, "end": { - "line": 1487, + "line": 1488, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 55373, - "end": 55401, + "start": 56026, + "end": 56054, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 20 }, "end": { - "line": 1482, + "line": 1483, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 55373, - "end": 55400, + "start": 56026, + "end": 56053, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 20 }, "end": { - "line": 1482, + "line": 1483, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 55373, - "end": 55385, + "start": 56026, + "end": 56038, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 20 }, "end": { - "line": 1482, + "line": 1483, "column": 32 } }, "object": { "type": "Identifier", - "start": 55373, - "end": 55382, + "start": 56026, + "end": 56035, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 20 }, "end": { - "line": 1482, + "line": 1483, "column": 29 }, "identifierName": "tempVec3a" @@ -72998,15 +73081,15 @@ }, "property": { "type": "NumericLiteral", - "start": 55383, - "end": 55384, + "start": 56036, + "end": 56037, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 30 }, "end": { - "line": 1482, + "line": 1483, "column": 31 } }, @@ -73020,29 +73103,29 @@ }, "right": { "type": "MemberExpression", - "start": 55388, - "end": 55400, + "start": 56041, + "end": 56053, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 35 }, "end": { - "line": 1482, + "line": 1483, "column": 47 } }, "object": { "type": "Identifier", - "start": 55388, - "end": 55397, + "start": 56041, + "end": 56050, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 35 }, "end": { - "line": 1482, + "line": 1483, "column": 44 }, "identifierName": "positions" @@ -73051,15 +73134,15 @@ }, "property": { "type": "Identifier", - "start": 55398, - "end": 55399, + "start": 56051, + "end": 56052, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 45 }, "end": { - "line": 1482, + "line": 1483, "column": 46 }, "identifierName": "i" @@ -73072,58 +73155,58 @@ }, { "type": "ExpressionStatement", - "start": 55422, - "end": 55454, + "start": 56075, + "end": 56107, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 20 }, "end": { - "line": 1483, + "line": 1484, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 55422, - "end": 55453, + "start": 56075, + "end": 56106, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 20 }, "end": { - "line": 1483, + "line": 1484, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 55422, - "end": 55434, + "start": 56075, + "end": 56087, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 20 }, "end": { - "line": 1483, + "line": 1484, "column": 32 } }, "object": { "type": "Identifier", - "start": 55422, - "end": 55431, + "start": 56075, + "end": 56084, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 20 }, "end": { - "line": 1483, + "line": 1484, "column": 29 }, "identifierName": "tempVec3a" @@ -73132,15 +73215,15 @@ }, "property": { "type": "NumericLiteral", - "start": 55432, - "end": 55433, + "start": 56085, + "end": 56086, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 30 }, "end": { - "line": 1483, + "line": 1484, "column": 31 } }, @@ -73154,29 +73237,29 @@ }, "right": { "type": "MemberExpression", - "start": 55437, - "end": 55453, + "start": 56090, + "end": 56106, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 35 }, "end": { - "line": 1483, + "line": 1484, "column": 51 } }, "object": { "type": "Identifier", - "start": 55437, - "end": 55446, + "start": 56090, + "end": 56099, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 35 }, "end": { - "line": 1483, + "line": 1484, "column": 44 }, "identifierName": "positions" @@ -73185,29 +73268,29 @@ }, "property": { "type": "BinaryExpression", - "start": 55447, - "end": 55452, + "start": 56100, + "end": 56105, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 45 }, "end": { - "line": 1483, + "line": 1484, "column": 50 } }, "left": { "type": "Identifier", - "start": 55447, - "end": 55448, + "start": 56100, + "end": 56101, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 45 }, "end": { - "line": 1483, + "line": 1484, "column": 46 }, "identifierName": "i" @@ -73217,15 +73300,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 55451, - "end": 55452, + "start": 56104, + "end": 56105, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 49 }, "end": { - "line": 1483, + "line": 1484, "column": 50 } }, @@ -73242,58 +73325,58 @@ }, { "type": "ExpressionStatement", - "start": 55475, - "end": 55507, + "start": 56128, + "end": 56160, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 20 }, "end": { - "line": 1484, + "line": 1485, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 55475, - "end": 55506, + "start": 56128, + "end": 56159, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 20 }, "end": { - "line": 1484, + "line": 1485, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 55475, - "end": 55487, + "start": 56128, + "end": 56140, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 20 }, "end": { - "line": 1484, + "line": 1485, "column": 32 } }, "object": { "type": "Identifier", - "start": 55475, - "end": 55484, + "start": 56128, + "end": 56137, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 20 }, "end": { - "line": 1484, + "line": 1485, "column": 29 }, "identifierName": "tempVec3a" @@ -73302,15 +73385,15 @@ }, "property": { "type": "NumericLiteral", - "start": 55485, - "end": 55486, + "start": 56138, + "end": 56139, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 30 }, "end": { - "line": 1484, + "line": 1485, "column": 31 } }, @@ -73324,29 +73407,29 @@ }, "right": { "type": "MemberExpression", - "start": 55490, - "end": 55506, + "start": 56143, + "end": 56159, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 35 }, "end": { - "line": 1484, + "line": 1485, "column": 51 } }, "object": { "type": "Identifier", - "start": 55490, - "end": 55499, + "start": 56143, + "end": 56152, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 35 }, "end": { - "line": 1484, + "line": 1485, "column": 44 }, "identifierName": "positions" @@ -73355,29 +73438,29 @@ }, "property": { "type": "BinaryExpression", - "start": 55500, - "end": 55505, + "start": 56153, + "end": 56158, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 45 }, "end": { - "line": 1484, + "line": 1485, "column": 50 } }, "left": { "type": "Identifier", - "start": 55500, - "end": 55501, + "start": 56153, + "end": 56154, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 45 }, "end": { - "line": 1484, + "line": 1485, "column": 46 }, "identifierName": "i" @@ -73387,15 +73470,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 55504, - "end": 55505, + "start": 56157, + "end": 56158, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 49 }, "end": { - "line": 1484, + "line": 1485, "column": 50 } }, @@ -73412,57 +73495,57 @@ }, { "type": "ExpressionStatement", - "start": 55529, - "end": 55585, + "start": 56182, + "end": 56238, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 20 }, "end": { - "line": 1486, + "line": 1487, "column": 76 } }, "expression": { "type": "CallExpression", - "start": 55529, - "end": 55584, + "start": 56182, + "end": 56237, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 20 }, "end": { - "line": 1486, + "line": 1487, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 55529, - "end": 55551, + "start": 56182, + "end": 56204, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 20 }, "end": { - "line": 1486, + "line": 1487, "column": 42 } }, "object": { "type": "Identifier", - "start": 55529, - "end": 55533, + "start": 56182, + "end": 56186, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 20 }, "end": { - "line": 1486, + "line": 1487, "column": 24 }, "identifierName": "math" @@ -73471,15 +73554,15 @@ }, "property": { "type": "Identifier", - "start": 55534, - "end": 55551, + "start": 56187, + "end": 56204, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 25 }, "end": { - "line": 1486, + "line": 1487, "column": 42 }, "identifierName": "expandAABB3Point3" @@ -73491,15 +73574,15 @@ "arguments": [ { "type": "Identifier", - "start": 55552, - "end": 55572, + "start": 56205, + "end": 56225, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 43 }, "end": { - "line": 1486, + "line": 1487, "column": 63 }, "identifierName": "reusedGeometriesAABB" @@ -73508,15 +73591,15 @@ }, { "type": "Identifier", - "start": 55574, - "end": 55583, + "start": 56227, + "end": 56236, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 65 }, "end": { - "line": 1486, + "line": 1487, "column": 74 }, "identifierName": "tempVec3a" @@ -73532,29 +73615,29 @@ }, { "type": "ExpressionStatement", - "start": 55621, - "end": 55645, + "start": 56274, + "end": 56298, "loc": { "start": { - "line": 1489, + "line": 1490, "column": 16 }, "end": { - "line": 1489, + "line": 1490, "column": 40 } }, "expression": { "type": "UpdateExpression", - "start": 55621, - "end": 55644, + "start": 56274, + "end": 56297, "loc": { "start": { - "line": 1489, + "line": 1490, "column": 16 }, "end": { - "line": 1489, + "line": 1490, "column": 39 } }, @@ -73562,15 +73645,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 55621, - "end": 55642, + "start": 56274, + "end": 56295, "loc": { "start": { - "line": 1489, + "line": 1490, "column": 16 }, "end": { - "line": 1489, + "line": 1490, "column": 37 }, "identifierName": "countReusedGeometries" @@ -73590,43 +73673,43 @@ }, { "type": "IfStatement", - "start": 55679, - "end": 56428, + "start": 56332, + "end": 57081, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 8 }, "end": { - "line": 1508, + "line": 1509, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 55683, - "end": 55708, + "start": 56336, + "end": 56361, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 12 }, "end": { - "line": 1493, + "line": 1494, "column": 37 } }, "left": { "type": "Identifier", - "start": 55683, - "end": 55704, + "start": 56336, + "end": 56357, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 12 }, "end": { - "line": 1493, + "line": 1494, "column": 33 }, "identifierName": "countReusedGeometries" @@ -73636,15 +73719,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 55707, - "end": 55708, + "start": 56360, + "end": 56361, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 36 }, "end": { - "line": 1493, + "line": 1494, "column": 37 } }, @@ -73657,72 +73740,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 55710, - "end": 56276, + "start": 56363, + "end": 56929, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 39 }, "end": { - "line": 1506, + "line": 1507, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 55725, - "end": 55830, + "start": 56378, + "end": 56483, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 12 }, "end": { - "line": 1495, + "line": 1496, "column": 117 } }, "expression": { "type": "CallExpression", - "start": 55725, - "end": 55829, + "start": 56378, + "end": 56482, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 12 }, "end": { - "line": 1495, + "line": 1496, "column": 116 } }, "callee": { "type": "MemberExpression", - "start": 55725, - "end": 55772, + "start": 56378, + "end": 56425, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 12 }, "end": { - "line": 1495, + "line": 1496, "column": 59 } }, "object": { "type": "Identifier", - "start": 55725, - "end": 55744, + "start": 56378, + "end": 56397, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 12 }, "end": { - "line": 1495, + "line": 1496, "column": 31 }, "identifierName": "geometryCompression" @@ -73731,15 +73814,15 @@ }, "property": { "type": "Identifier", - "start": 55745, - "end": 55772, + "start": 56398, + "end": 56425, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 32 }, "end": { - "line": 1495, + "line": 1496, "column": 59 }, "identifierName": "createPositionsDecodeMatrix" @@ -73751,15 +73834,15 @@ "arguments": [ { "type": "Identifier", - "start": 55773, - "end": 55793, + "start": 56426, + "end": 56446, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 60 }, "end": { - "line": 1495, + "line": 1496, "column": 80 }, "identifierName": "reusedGeometriesAABB" @@ -73768,44 +73851,44 @@ }, { "type": "MemberExpression", - "start": 55795, - "end": 55828, + "start": 56448, + "end": 56481, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 82 }, "end": { - "line": 1495, + "line": 1496, "column": 115 } }, "object": { "type": "ThisExpression", - "start": 55795, - "end": 55799, + "start": 56448, + "end": 56452, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 82 }, "end": { - "line": 1495, + "line": 1496, "column": 86 } } }, "property": { "type": "Identifier", - "start": 55800, - "end": 55828, + "start": 56453, + "end": 56481, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 87 }, "end": { - "line": 1495, + "line": 1496, "column": 115 }, "identifierName": "reusedGeometriesDecodeMatrix" @@ -73819,58 +73902,58 @@ }, { "type": "ForStatement", - "start": 55844, - "end": 56265, + "start": 56497, + "end": 56918, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 12 }, "end": { - "line": 1504, + "line": 1505, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 55849, - "end": 55914, + "start": 56502, + "end": 56567, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 17 }, "end": { - "line": 1497, + "line": 1498, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 55853, - "end": 55870, + "start": 56506, + "end": 56523, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 21 }, "end": { - "line": 1497, + "line": 1498, "column": 38 } }, "id": { "type": "Identifier", - "start": 55853, - "end": 55866, + "start": 56506, + "end": 56519, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 21 }, "end": { - "line": 1497, + "line": 1498, "column": 34 }, "identifierName": "geometryIndex" @@ -73879,15 +73962,15 @@ }, "init": { "type": "NumericLiteral", - "start": 55869, - "end": 55870, + "start": 56522, + "end": 56523, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 37 }, "end": { - "line": 1497, + "line": 1498, "column": 38 } }, @@ -73900,29 +73983,29 @@ }, { "type": "VariableDeclarator", - "start": 55872, - "end": 55914, + "start": 56525, + "end": 56567, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 40 }, "end": { - "line": 1497, + "line": 1498, "column": 82 } }, "id": { "type": "Identifier", - "start": 55872, - "end": 55885, + "start": 56525, + "end": 56538, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 40 }, "end": { - "line": 1497, + "line": 1498, "column": 53 }, "identifierName": "numGeometries" @@ -73931,58 +74014,58 @@ }, "init": { "type": "MemberExpression", - "start": 55888, - "end": 55914, + "start": 56541, + "end": 56567, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 56 }, "end": { - "line": 1497, + "line": 1498, "column": 82 } }, "object": { "type": "MemberExpression", - "start": 55888, - "end": 55907, + "start": 56541, + "end": 56560, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 56 }, "end": { - "line": 1497, + "line": 1498, "column": 75 } }, "object": { "type": "ThisExpression", - "start": 55888, - "end": 55892, + "start": 56541, + "end": 56545, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 56 }, "end": { - "line": 1497, + "line": 1498, "column": 60 } } }, "property": { "type": "Identifier", - "start": 55893, - "end": 55907, + "start": 56546, + "end": 56560, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 61 }, "end": { - "line": 1497, + "line": 1498, "column": 75 }, "identifierName": "geometriesList" @@ -73993,15 +74076,15 @@ }, "property": { "type": "Identifier", - "start": 55908, - "end": 55914, + "start": 56561, + "end": 56567, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 76 }, "end": { - "line": 1497, + "line": 1498, "column": 82 }, "identifierName": "length" @@ -74016,29 +74099,29 @@ }, "test": { "type": "BinaryExpression", - "start": 55916, - "end": 55945, + "start": 56569, + "end": 56598, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 84 }, "end": { - "line": 1497, + "line": 1498, "column": 113 } }, "left": { "type": "Identifier", - "start": 55916, - "end": 55929, + "start": 56569, + "end": 56582, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 84 }, "end": { - "line": 1497, + "line": 1498, "column": 97 }, "identifierName": "geometryIndex" @@ -74048,15 +74131,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 55932, - "end": 55945, + "start": 56585, + "end": 56598, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 100 }, "end": { - "line": 1497, + "line": 1498, "column": 113 }, "identifierName": "numGeometries" @@ -74066,15 +74149,15 @@ }, "update": { "type": "UpdateExpression", - "start": 55947, - "end": 55962, + "start": 56600, + "end": 56615, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 115 }, "end": { - "line": 1497, + "line": 1498, "column": 130 } }, @@ -74082,15 +74165,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 55947, - "end": 55960, + "start": 56600, + "end": 56613, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 115 }, "end": { - "line": 1497, + "line": 1498, "column": 128 }, "identifierName": "geometryIndex" @@ -74100,59 +74183,59 @@ }, "body": { "type": "BlockStatement", - "start": 55964, - "end": 56265, + "start": 56617, + "end": 56918, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 132 }, "end": { - "line": 1504, + "line": 1505, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 55983, - "end": 56036, + "start": 56636, + "end": 56689, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 16 }, "end": { - "line": 1499, + "line": 1500, "column": 69 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 55989, - "end": 56035, + "start": 56642, + "end": 56688, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 22 }, "end": { - "line": 1499, + "line": 1500, "column": 68 } }, "id": { "type": "Identifier", - "start": 55989, - "end": 55997, + "start": 56642, + "end": 56650, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 22 }, "end": { - "line": 1499, + "line": 1500, "column": 30 }, "identifierName": "geometry" @@ -74161,58 +74244,58 @@ }, "init": { "type": "MemberExpression", - "start": 56000, - "end": 56035, + "start": 56653, + "end": 56688, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 33 }, "end": { - "line": 1499, + "line": 1500, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 56000, - "end": 56019, + "start": 56653, + "end": 56672, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 33 }, "end": { - "line": 1499, + "line": 1500, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 56000, - "end": 56004, + "start": 56653, + "end": 56657, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 33 }, "end": { - "line": 1499, + "line": 1500, "column": 37 } } }, "property": { "type": "Identifier", - "start": 56005, - "end": 56019, + "start": 56658, + "end": 56672, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 38 }, "end": { - "line": 1499, + "line": 1500, "column": 52 }, "identifierName": "geometriesList" @@ -74223,15 +74306,15 @@ }, "property": { "type": "Identifier", - "start": 56021, - "end": 56034, + "start": 56674, + "end": 56687, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 54 }, "end": { - "line": 1499, + "line": 1500, "column": 67 }, "identifierName": "geometryIndex" @@ -74246,43 +74329,43 @@ }, { "type": "IfStatement", - "start": 56054, - "end": 56251, + "start": 56707, + "end": 56904, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 16 }, "end": { - "line": 1503, + "line": 1504, "column": 17 } }, "test": { "type": "MemberExpression", - "start": 56058, - "end": 56073, + "start": 56711, + "end": 56726, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 20 }, "end": { - "line": 1501, + "line": 1502, "column": 35 } }, "object": { "type": "Identifier", - "start": 56058, - "end": 56066, + "start": 56711, + "end": 56719, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 20 }, "end": { - "line": 1501, + "line": 1502, "column": 28 }, "identifierName": "geometry" @@ -74291,15 +74374,15 @@ }, "property": { "type": "Identifier", - "start": 56067, - "end": 56073, + "start": 56720, + "end": 56726, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 29 }, "end": { - "line": 1501, + "line": 1502, "column": 35 }, "identifierName": "reused" @@ -74310,72 +74393,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 56075, - "end": 56251, + "start": 56728, + "end": 56904, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 37 }, "end": { - "line": 1503, + "line": 1504, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 56097, - "end": 56233, + "start": 56750, + "end": 56886, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 20 }, "end": { - "line": 1502, + "line": 1503, "column": 156 } }, "expression": { "type": "CallExpression", - "start": 56097, - "end": 56232, + "start": 56750, + "end": 56885, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 20 }, "end": { - "line": 1502, + "line": 1503, "column": 155 } }, "callee": { "type": "MemberExpression", - "start": 56097, - "end": 56134, + "start": 56750, + "end": 56787, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 20 }, "end": { - "line": 1502, + "line": 1503, "column": 57 } }, "object": { "type": "Identifier", - "start": 56097, - "end": 56116, + "start": 56750, + "end": 56769, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 20 }, "end": { - "line": 1502, + "line": 1503, "column": 39 }, "identifierName": "geometryCompression" @@ -74384,15 +74467,15 @@ }, "property": { "type": "Identifier", - "start": 56117, - "end": 56134, + "start": 56770, + "end": 56787, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 40 }, "end": { - "line": 1502, + "line": 1503, "column": 57 }, "identifierName": "quantizePositions" @@ -74404,29 +74487,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 56135, - "end": 56153, + "start": 56788, + "end": 56806, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 58 }, "end": { - "line": 1502, + "line": 1503, "column": 76 } }, "object": { "type": "Identifier", - "start": 56135, - "end": 56143, + "start": 56788, + "end": 56796, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 58 }, "end": { - "line": 1502, + "line": 1503, "column": 66 }, "identifierName": "geometry" @@ -74435,15 +74518,15 @@ }, "property": { "type": "Identifier", - "start": 56144, - "end": 56153, + "start": 56797, + "end": 56806, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 67 }, "end": { - "line": 1502, + "line": 1503, "column": 76 }, "identifierName": "positions" @@ -74454,43 +74537,43 @@ }, { "type": "MemberExpression", - "start": 56155, - "end": 56180, + "start": 56808, + "end": 56833, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 78 }, "end": { - "line": 1502, + "line": 1503, "column": 103 } }, "object": { "type": "MemberExpression", - "start": 56155, - "end": 56173, + "start": 56808, + "end": 56826, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 78 }, "end": { - "line": 1502, + "line": 1503, "column": 96 } }, "object": { "type": "Identifier", - "start": 56155, - "end": 56163, + "start": 56808, + "end": 56816, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 78 }, "end": { - "line": 1502, + "line": 1503, "column": 86 }, "identifierName": "geometry" @@ -74499,15 +74582,15 @@ }, "property": { "type": "Identifier", - "start": 56164, - "end": 56173, + "start": 56817, + "end": 56826, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 87 }, "end": { - "line": 1502, + "line": 1503, "column": 96 }, "identifierName": "positions" @@ -74518,15 +74601,15 @@ }, "property": { "type": "Identifier", - "start": 56174, - "end": 56180, + "start": 56827, + "end": 56833, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 97 }, "end": { - "line": 1502, + "line": 1503, "column": 103 }, "identifierName": "length" @@ -74537,15 +74620,15 @@ }, { "type": "Identifier", - "start": 56182, - "end": 56202, + "start": 56835, + "end": 56855, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 105 }, "end": { - "line": 1502, + "line": 1503, "column": 125 }, "identifierName": "reusedGeometriesAABB" @@ -74554,29 +74637,29 @@ }, { "type": "MemberExpression", - "start": 56204, - "end": 56231, + "start": 56857, + "end": 56884, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 127 }, "end": { - "line": 1502, + "line": 1503, "column": 154 } }, "object": { "type": "Identifier", - "start": 56204, - "end": 56212, + "start": 56857, + "end": 56865, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 127 }, "end": { - "line": 1502, + "line": 1503, "column": 135 }, "identifierName": "geometry" @@ -74585,15 +74668,15 @@ }, "property": { "type": "Identifier", - "start": 56213, - "end": 56231, + "start": 56866, + "end": 56884, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 136 }, "end": { - "line": 1502, + "line": 1503, "column": 154 }, "identifierName": "positionsQuantized" @@ -74619,72 +74702,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 56282, - "end": 56428, + "start": 56935, + "end": 57081, "loc": { "start": { - "line": 1506, + "line": 1507, "column": 15 }, "end": { - "line": 1508, + "line": 1509, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 56296, - "end": 56349, + "start": 56949, + "end": 57002, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 12 }, "end": { - "line": 1507, + "line": 1508, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 56296, - "end": 56348, + "start": 56949, + "end": 57001, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 12 }, "end": { - "line": 1507, + "line": 1508, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 56296, - "end": 56313, + "start": 56949, + "end": 56966, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 12 }, "end": { - "line": 1507, + "line": 1508, "column": 29 } }, "object": { "type": "Identifier", - "start": 56296, - "end": 56300, + "start": 56949, + "end": 56953, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 12 }, "end": { - "line": 1507, + "line": 1508, "column": 16 }, "identifierName": "math" @@ -74693,15 +74776,15 @@ }, "property": { "type": "Identifier", - "start": 56301, - "end": 56313, + "start": 56954, + "end": 56966, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 17 }, "end": { - "line": 1507, + "line": 1508, "column": 29 }, "identifierName": "identityMat4" @@ -74713,44 +74796,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 56314, - "end": 56347, + "start": 56967, + "end": 57000, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 30 }, "end": { - "line": 1507, + "line": 1508, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 56314, - "end": 56318, + "start": 56967, + "end": 56971, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 30 }, "end": { - "line": 1507, + "line": 1508, "column": 34 } } }, "property": { "type": "Identifier", - "start": 56319, - "end": 56347, + "start": 56972, + "end": 57000, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 35 }, "end": { - "line": 1507, + "line": 1508, "column": 63 }, "identifierName": "reusedGeometriesDecodeMatrix" @@ -74765,15 +74848,15 @@ { "type": "CommentLine", "value": " No need for this matrix, but we'll be tidy and set it to identity", - "start": 56350, - "end": 56418, + "start": 57003, + "end": 57071, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 66 }, "end": { - "line": 1507, + "line": 1508, "column": 134 } } @@ -74790,15 +74873,15 @@ }, { "type": "ClassMethod", - "start": 56440, - "end": 57501, + "start": 57093, + "end": 58154, "loc": { "start": { - "line": 1511, + "line": 1512, "column": 4 }, "end": { - "line": 1533, + "line": 1534, "column": 5 } }, @@ -74806,15 +74889,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 56440, - "end": 56460, + "start": 57093, + "end": 57113, "loc": { "start": { - "line": 1511, + "line": 1512, "column": 4 }, "end": { - "line": 1511, + "line": 1512, "column": 24 }, "identifierName": "_flagSolidGeometries" @@ -74829,59 +74912,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 56463, - "end": 57501, + "start": 57116, + "end": 58154, "loc": { "start": { - "line": 1511, + "line": 1512, "column": 27 }, "end": { - "line": 1533, + "line": 1534, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 56473, - "end": 56497, + "start": 57126, + "end": 57150, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 8 }, "end": { - "line": 1512, + "line": 1513, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 56477, - "end": 56496, + "start": 57130, + "end": 57149, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 12 }, "end": { - "line": 1512, + "line": 1513, "column": 31 } }, "id": { "type": "Identifier", - "start": 56477, - "end": 56492, + "start": 57130, + "end": 57145, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 12 }, "end": { - "line": 1512, + "line": 1513, "column": 27 }, "identifierName": "maxNumPositions" @@ -74890,15 +74973,15 @@ }, "init": { "type": "NumericLiteral", - "start": 56495, - "end": 56496, + "start": 57148, + "end": 57149, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 30 }, "end": { - "line": 1512, + "line": 1513, "column": 31 } }, @@ -74914,44 +74997,44 @@ }, { "type": "VariableDeclaration", - "start": 56506, - "end": 56528, + "start": 57159, + "end": 57181, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 8 }, "end": { - "line": 1513, + "line": 1514, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 56510, - "end": 56527, + "start": 57163, + "end": 57180, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 12 }, "end": { - "line": 1513, + "line": 1514, "column": 29 } }, "id": { "type": "Identifier", - "start": 56510, - "end": 56523, + "start": 57163, + "end": 57176, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 12 }, "end": { - "line": 1513, + "line": 1514, "column": 25 }, "identifierName": "maxNumIndices" @@ -74960,15 +75043,15 @@ }, "init": { "type": "NumericLiteral", - "start": 56526, - "end": 56527, + "start": 57179, + "end": 57180, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 28 }, "end": { - "line": 1513, + "line": 1514, "column": 29 } }, @@ -74984,58 +75067,58 @@ }, { "type": "ForStatement", - "start": 56537, - "end": 57047, + "start": 57190, + "end": 57700, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 8 }, "end": { - "line": 1524, + "line": 1525, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 56542, - "end": 56585, + "start": 57195, + "end": 57238, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 13 }, "end": { - "line": 1514, + "line": 1515, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 56546, - "end": 56551, + "start": 57199, + "end": 57204, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 17 }, "end": { - "line": 1514, + "line": 1515, "column": 22 } }, "id": { "type": "Identifier", - "start": 56546, - "end": 56547, + "start": 57199, + "end": 57200, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 17 }, "end": { - "line": 1514, + "line": 1515, "column": 18 }, "identifierName": "i" @@ -75044,15 +75127,15 @@ }, "init": { "type": "NumericLiteral", - "start": 56550, - "end": 56551, + "start": 57203, + "end": 57204, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 21 }, "end": { - "line": 1514, + "line": 1515, "column": 22 } }, @@ -75065,29 +75148,29 @@ }, { "type": "VariableDeclarator", - "start": 56553, - "end": 56585, + "start": 57206, + "end": 57238, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 24 }, "end": { - "line": 1514, + "line": 1515, "column": 56 } }, "id": { "type": "Identifier", - "start": 56553, - "end": 56556, + "start": 57206, + "end": 57209, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 24 }, "end": { - "line": 1514, + "line": 1515, "column": 27 }, "identifierName": "len" @@ -75096,58 +75179,58 @@ }, "init": { "type": "MemberExpression", - "start": 56559, - "end": 56585, + "start": 57212, + "end": 57238, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 30 }, "end": { - "line": 1514, + "line": 1515, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 56559, - "end": 56578, + "start": 57212, + "end": 57231, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 30 }, "end": { - "line": 1514, + "line": 1515, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 56559, - "end": 56563, + "start": 57212, + "end": 57216, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 30 }, "end": { - "line": 1514, + "line": 1515, "column": 34 } } }, "property": { "type": "Identifier", - "start": 56564, - "end": 56578, + "start": 57217, + "end": 57231, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 35 }, "end": { - "line": 1514, + "line": 1515, "column": 49 }, "identifierName": "geometriesList" @@ -75158,15 +75241,15 @@ }, "property": { "type": "Identifier", - "start": 56579, - "end": 56585, + "start": 57232, + "end": 57238, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 50 }, "end": { - "line": 1514, + "line": 1515, "column": 56 }, "identifierName": "length" @@ -75181,29 +75264,29 @@ }, "test": { "type": "BinaryExpression", - "start": 56587, - "end": 56594, + "start": 57240, + "end": 57247, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 58 }, "end": { - "line": 1514, + "line": 1515, "column": 65 } }, "left": { "type": "Identifier", - "start": 56587, - "end": 56588, + "start": 57240, + "end": 57241, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 58 }, "end": { - "line": 1514, + "line": 1515, "column": 59 }, "identifierName": "i" @@ -75213,15 +75296,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 56591, - "end": 56594, + "start": 57244, + "end": 57247, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 62 }, "end": { - "line": 1514, + "line": 1515, "column": 65 }, "identifierName": "len" @@ -75231,15 +75314,15 @@ }, "update": { "type": "UpdateExpression", - "start": 56596, - "end": 56599, + "start": 57249, + "end": 57252, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 67 }, "end": { - "line": 1514, + "line": 1515, "column": 70 } }, @@ -75247,15 +75330,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 56596, - "end": 56597, + "start": 57249, + "end": 57250, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 67 }, "end": { - "line": 1514, + "line": 1515, "column": 68 }, "identifierName": "i" @@ -75265,59 +75348,59 @@ }, "body": { "type": "BlockStatement", - "start": 56601, - "end": 57047, + "start": 57254, + "end": 57700, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 72 }, "end": { - "line": 1524, + "line": 1525, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 56615, - "end": 56655, + "start": 57268, + "end": 57308, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 12 }, "end": { - "line": 1515, + "line": 1516, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 56621, - "end": 56654, + "start": 57274, + "end": 57307, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 18 }, "end": { - "line": 1515, + "line": 1516, "column": 51 } }, "id": { "type": "Identifier", - "start": 56621, - "end": 56629, + "start": 57274, + "end": 57282, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 18 }, "end": { - "line": 1515, + "line": 1516, "column": 26 }, "identifierName": "geometry" @@ -75326,58 +75409,58 @@ }, "init": { "type": "MemberExpression", - "start": 56632, - "end": 56654, + "start": 57285, + "end": 57307, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 29 }, "end": { - "line": 1515, + "line": 1516, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 56632, - "end": 56651, + "start": 57285, + "end": 57304, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 29 }, "end": { - "line": 1515, + "line": 1516, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 56632, - "end": 56636, + "start": 57285, + "end": 57289, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 29 }, "end": { - "line": 1515, + "line": 1516, "column": 33 } } }, "property": { "type": "Identifier", - "start": 56637, - "end": 56651, + "start": 57290, + "end": 57304, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 34 }, "end": { - "line": 1515, + "line": 1516, "column": 48 }, "identifierName": "geometriesList" @@ -75388,15 +75471,15 @@ }, "property": { "type": "Identifier", - "start": 56652, - "end": 56653, + "start": 57305, + "end": 57306, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 49 }, "end": { - "line": 1515, + "line": 1516, "column": 50 }, "identifierName": "i" @@ -75411,57 +75494,57 @@ }, { "type": "IfStatement", - "start": 56668, - "end": 57037, + "start": 57321, + "end": 57690, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 12 }, "end": { - "line": 1523, + "line": 1524, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 56672, - "end": 56710, + "start": 57325, + "end": 57363, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 16 }, "end": { - "line": 1516, + "line": 1517, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 56672, - "end": 56694, + "start": 57325, + "end": 57347, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 16 }, "end": { - "line": 1516, + "line": 1517, "column": 38 } }, "object": { "type": "Identifier", - "start": 56672, - "end": 56680, + "start": 57325, + "end": 57333, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 16 }, "end": { - "line": 1516, + "line": 1517, "column": 24 }, "identifierName": "geometry" @@ -75470,15 +75553,15 @@ }, "property": { "type": "Identifier", - "start": 56681, - "end": 56694, + "start": 57334, + "end": 57347, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 25 }, "end": { - "line": 1516, + "line": 1517, "column": 38 }, "identifierName": "primitiveType" @@ -75490,15 +75573,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 56699, - "end": 56710, + "start": 57352, + "end": 57363, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 43 }, "end": { - "line": 1516, + "line": 1517, "column": 54 } }, @@ -75511,86 +75594,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 56712, - "end": 57037, + "start": 57365, + "end": 57690, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 56 }, "end": { - "line": 1523, + "line": 1524, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 56730, - "end": 56881, + "start": 57383, + "end": 57534, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 16 }, "end": { - "line": 1519, + "line": 1520, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 56734, - "end": 56786, + "start": 57387, + "end": 57439, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 20 }, "end": { - "line": 1517, + "line": 1518, "column": 72 } }, "left": { "type": "MemberExpression", - "start": 56734, - "end": 56768, + "start": 57387, + "end": 57421, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 20 }, "end": { - "line": 1517, + "line": 1518, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 56734, - "end": 56761, + "start": 57387, + "end": 57414, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 20 }, "end": { - "line": 1517, + "line": 1518, "column": 47 } }, "object": { "type": "Identifier", - "start": 56734, - "end": 56742, + "start": 57387, + "end": 57395, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 20 }, "end": { - "line": 1517, + "line": 1518, "column": 28 }, "identifierName": "geometry" @@ -75599,15 +75682,15 @@ }, "property": { "type": "Identifier", - "start": 56743, - "end": 56761, + "start": 57396, + "end": 57414, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 29 }, "end": { - "line": 1517, + "line": 1518, "column": 47 }, "identifierName": "positionsQuantized" @@ -75618,15 +75701,15 @@ }, "property": { "type": "Identifier", - "start": 56762, - "end": 56768, + "start": 57415, + "end": 57421, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 48 }, "end": { - "line": 1517, + "line": 1518, "column": 54 }, "identifierName": "length" @@ -75638,15 +75721,15 @@ "operator": ">", "right": { "type": "Identifier", - "start": 56771, - "end": 56786, + "start": 57424, + "end": 57439, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 57 }, "end": { - "line": 1517, + "line": 1518, "column": 72 }, "identifierName": "maxNumPositions" @@ -75656,59 +75739,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 56788, - "end": 56881, + "start": 57441, + "end": 57534, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 74 }, "end": { - "line": 1519, + "line": 1520, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 56810, - "end": 56863, + "start": 57463, + "end": 57516, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 20 }, "end": { - "line": 1518, + "line": 1519, "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 56810, - "end": 56862, + "start": 57463, + "end": 57515, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 20 }, "end": { - "line": 1518, + "line": 1519, "column": 72 } }, "operator": "=", "left": { "type": "Identifier", - "start": 56810, - "end": 56825, + "start": 57463, + "end": 57478, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 20 }, "end": { - "line": 1518, + "line": 1519, "column": 35 }, "identifierName": "maxNumPositions" @@ -75717,43 +75800,43 @@ }, "right": { "type": "MemberExpression", - "start": 56828, - "end": 56862, + "start": 57481, + "end": 57515, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 38 }, "end": { - "line": 1518, + "line": 1519, "column": 72 } }, "object": { "type": "MemberExpression", - "start": 56828, - "end": 56855, + "start": 57481, + "end": 57508, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 38 }, "end": { - "line": 1518, + "line": 1519, "column": 65 } }, "object": { "type": "Identifier", - "start": 56828, - "end": 56836, + "start": 57481, + "end": 57489, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 38 }, "end": { - "line": 1518, + "line": 1519, "column": 46 }, "identifierName": "geometry" @@ -75762,15 +75845,15 @@ }, "property": { "type": "Identifier", - "start": 56837, - "end": 56855, + "start": 57490, + "end": 57508, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 47 }, "end": { - "line": 1518, + "line": 1519, "column": 65 }, "identifierName": "positionsQuantized" @@ -75781,15 +75864,15 @@ }, "property": { "type": "Identifier", - "start": 56856, - "end": 56862, + "start": 57509, + "end": 57515, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 66 }, "end": { - "line": 1518, + "line": 1519, "column": 72 }, "identifierName": "length" @@ -75807,71 +75890,71 @@ }, { "type": "IfStatement", - "start": 56898, - "end": 57023, + "start": 57551, + "end": 57676, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 16 }, "end": { - "line": 1522, + "line": 1523, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 56902, - "end": 56941, + "start": 57555, + "end": 57594, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 20 }, "end": { - "line": 1520, + "line": 1521, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 56902, - "end": 56925, + "start": 57555, + "end": 57578, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 20 }, "end": { - "line": 1520, + "line": 1521, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 56902, - "end": 56918, + "start": 57555, + "end": 57571, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 20 }, "end": { - "line": 1520, + "line": 1521, "column": 36 } }, "object": { "type": "Identifier", - "start": 56902, - "end": 56910, + "start": 57555, + "end": 57563, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 20 }, "end": { - "line": 1520, + "line": 1521, "column": 28 }, "identifierName": "geometry" @@ -75880,15 +75963,15 @@ }, "property": { "type": "Identifier", - "start": 56911, - "end": 56918, + "start": 57564, + "end": 57571, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 29 }, "end": { - "line": 1520, + "line": 1521, "column": 36 }, "identifierName": "indices" @@ -75899,15 +75982,15 @@ }, "property": { "type": "Identifier", - "start": 56919, - "end": 56925, + "start": 57572, + "end": 57578, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 37 }, "end": { - "line": 1520, + "line": 1521, "column": 43 }, "identifierName": "length" @@ -75919,15 +76002,15 @@ "operator": ">", "right": { "type": "Identifier", - "start": 56928, - "end": 56941, + "start": 57581, + "end": 57594, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 46 }, "end": { - "line": 1520, + "line": 1521, "column": 59 }, "identifierName": "maxNumIndices" @@ -75937,59 +76020,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 56943, - "end": 57023, + "start": 57596, + "end": 57676, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 61 }, "end": { - "line": 1522, + "line": 1523, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 56965, - "end": 57005, + "start": 57618, + "end": 57658, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 20 }, "end": { - "line": 1521, + "line": 1522, "column": 60 } }, "expression": { "type": "AssignmentExpression", - "start": 56965, - "end": 57004, + "start": 57618, + "end": 57657, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 20 }, "end": { - "line": 1521, + "line": 1522, "column": 59 } }, "operator": "=", "left": { "type": "Identifier", - "start": 56965, - "end": 56978, + "start": 57618, + "end": 57631, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 20 }, "end": { - "line": 1521, + "line": 1522, "column": 33 }, "identifierName": "maxNumIndices" @@ -75998,43 +76081,43 @@ }, "right": { "type": "MemberExpression", - "start": 56981, - "end": 57004, + "start": 57634, + "end": 57657, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 36 }, "end": { - "line": 1521, + "line": 1522, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 56981, - "end": 56997, + "start": 57634, + "end": 57650, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 36 }, "end": { - "line": 1521, + "line": 1522, "column": 52 } }, "object": { "type": "Identifier", - "start": 56981, - "end": 56989, + "start": 57634, + "end": 57642, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 36 }, "end": { - "line": 1521, + "line": 1522, "column": 44 }, "identifierName": "geometry" @@ -76043,15 +76126,15 @@ }, "property": { "type": "Identifier", - "start": 56990, - "end": 56997, + "start": 57643, + "end": 57650, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 45 }, "end": { - "line": 1521, + "line": 1522, "column": 52 }, "identifierName": "indices" @@ -76062,15 +76145,15 @@ }, "property": { "type": "Identifier", - "start": 56998, - "end": 57004, + "start": 57651, + "end": 57657, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 53 }, "end": { - "line": 1521, + "line": 1522, "column": 59 }, "identifierName": "length" @@ -76097,44 +76180,44 @@ }, { "type": "VariableDeclaration", - "start": 57056, - "end": 57112, + "start": 57709, + "end": 57765, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 8 }, "end": { - "line": 1525, + "line": 1526, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 57060, - "end": 57111, + "start": 57713, + "end": 57764, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 12 }, "end": { - "line": 1525, + "line": 1526, "column": 63 } }, "id": { "type": "Identifier", - "start": 57060, - "end": 57078, + "start": 57713, + "end": 57731, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 12 }, "end": { - "line": 1525, + "line": 1526, "column": 30 }, "identifierName": "vertexIndexMapping" @@ -76143,29 +76226,29 @@ }, "init": { "type": "NewExpression", - "start": 57081, - "end": 57111, + "start": 57734, + "end": 57764, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 33 }, "end": { - "line": 1525, + "line": 1526, "column": 63 } }, "callee": { "type": "Identifier", - "start": 57085, - "end": 57090, + "start": 57738, + "end": 57743, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 37 }, "end": { - "line": 1525, + "line": 1526, "column": 42 }, "identifierName": "Array" @@ -76175,29 +76258,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 57091, - "end": 57110, + "start": 57744, + "end": 57763, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 43 }, "end": { - "line": 1525, + "line": 1526, "column": 62 } }, "left": { "type": "Identifier", - "start": 57091, - "end": 57106, + "start": 57744, + "end": 57759, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 43 }, "end": { - "line": 1525, + "line": 1526, "column": 58 }, "identifierName": "maxNumPositions" @@ -76207,15 +76290,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 57109, - "end": 57110, + "start": 57762, + "end": 57763, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 61 }, "end": { - "line": 1525, + "line": 1526, "column": 62 } }, @@ -76234,44 +76317,44 @@ }, { "type": "VariableDeclaration", - "start": 57121, - "end": 57158, + "start": 57774, + "end": 57811, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 8 }, "end": { - "line": 1526, + "line": 1527, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 57125, - "end": 57157, + "start": 57778, + "end": 57810, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 12 }, "end": { - "line": 1526, + "line": 1527, "column": 44 } }, "id": { "type": "Identifier", - "start": 57125, - "end": 57130, + "start": 57778, + "end": 57783, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 12 }, "end": { - "line": 1526, + "line": 1527, "column": 17 }, "identifierName": "edges" @@ -76280,29 +76363,29 @@ }, "init": { "type": "NewExpression", - "start": 57133, - "end": 57157, + "start": 57786, + "end": 57810, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 20 }, "end": { - "line": 1526, + "line": 1527, "column": 44 } }, "callee": { "type": "Identifier", - "start": 57137, - "end": 57142, + "start": 57790, + "end": 57795, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 24 }, "end": { - "line": 1526, + "line": 1527, "column": 29 }, "identifierName": "Array" @@ -76312,15 +76395,15 @@ "arguments": [ { "type": "Identifier", - "start": 57143, - "end": 57156, + "start": 57796, + "end": 57809, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 30 }, "end": { - "line": 1526, + "line": 1527, "column": 43 }, "identifierName": "maxNumIndices" @@ -76335,58 +76418,58 @@ }, { "type": "ForStatement", - "start": 57167, - "end": 57495, + "start": 57820, + "end": 58148, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 8 }, "end": { - "line": 1532, + "line": 1533, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 57172, - "end": 57215, + "start": 57825, + "end": 57868, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 13 }, "end": { - "line": 1527, + "line": 1528, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 57176, - "end": 57181, + "start": 57829, + "end": 57834, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 17 }, "end": { - "line": 1527, + "line": 1528, "column": 22 } }, "id": { "type": "Identifier", - "start": 57176, - "end": 57177, + "start": 57829, + "end": 57830, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 17 }, "end": { - "line": 1527, + "line": 1528, "column": 18 }, "identifierName": "i" @@ -76395,15 +76478,15 @@ }, "init": { "type": "NumericLiteral", - "start": 57180, - "end": 57181, + "start": 57833, + "end": 57834, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 21 }, "end": { - "line": 1527, + "line": 1528, "column": 22 } }, @@ -76416,29 +76499,29 @@ }, { "type": "VariableDeclarator", - "start": 57183, - "end": 57215, + "start": 57836, + "end": 57868, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 24 }, "end": { - "line": 1527, + "line": 1528, "column": 56 } }, "id": { "type": "Identifier", - "start": 57183, - "end": 57186, + "start": 57836, + "end": 57839, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 24 }, "end": { - "line": 1527, + "line": 1528, "column": 27 }, "identifierName": "len" @@ -76447,58 +76530,58 @@ }, "init": { "type": "MemberExpression", - "start": 57189, - "end": 57215, + "start": 57842, + "end": 57868, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 30 }, "end": { - "line": 1527, + "line": 1528, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 57189, - "end": 57208, + "start": 57842, + "end": 57861, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 30 }, "end": { - "line": 1527, + "line": 1528, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 57189, - "end": 57193, + "start": 57842, + "end": 57846, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 30 }, "end": { - "line": 1527, + "line": 1528, "column": 34 } } }, "property": { "type": "Identifier", - "start": 57194, - "end": 57208, + "start": 57847, + "end": 57861, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 35 }, "end": { - "line": 1527, + "line": 1528, "column": 49 }, "identifierName": "geometriesList" @@ -76509,15 +76592,15 @@ }, "property": { "type": "Identifier", - "start": 57209, - "end": 57215, + "start": 57862, + "end": 57868, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 50 }, "end": { - "line": 1527, + "line": 1528, "column": 56 }, "identifierName": "length" @@ -76532,29 +76615,29 @@ }, "test": { "type": "BinaryExpression", - "start": 57217, - "end": 57224, + "start": 57870, + "end": 57877, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 58 }, "end": { - "line": 1527, + "line": 1528, "column": 65 } }, "left": { "type": "Identifier", - "start": 57217, - "end": 57218, + "start": 57870, + "end": 57871, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 58 }, "end": { - "line": 1527, + "line": 1528, "column": 59 }, "identifierName": "i" @@ -76564,15 +76647,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 57221, - "end": 57224, + "start": 57874, + "end": 57877, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 62 }, "end": { - "line": 1527, + "line": 1528, "column": 65 }, "identifierName": "len" @@ -76582,15 +76665,15 @@ }, "update": { "type": "UpdateExpression", - "start": 57226, - "end": 57229, + "start": 57879, + "end": 57882, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 67 }, "end": { - "line": 1527, + "line": 1528, "column": 70 } }, @@ -76598,15 +76681,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 57226, - "end": 57227, + "start": 57879, + "end": 57880, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 67 }, "end": { - "line": 1527, + "line": 1528, "column": 68 }, "identifierName": "i" @@ -76616,59 +76699,59 @@ }, "body": { "type": "BlockStatement", - "start": 57231, - "end": 57495, + "start": 57884, + "end": 58148, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 72 }, "end": { - "line": 1532, + "line": 1533, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 57245, - "end": 57285, + "start": 57898, + "end": 57938, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 12 }, "end": { - "line": 1528, + "line": 1529, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 57251, - "end": 57284, + "start": 57904, + "end": 57937, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 18 }, "end": { - "line": 1528, + "line": 1529, "column": 51 } }, "id": { "type": "Identifier", - "start": 57251, - "end": 57259, + "start": 57904, + "end": 57912, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 18 }, "end": { - "line": 1528, + "line": 1529, "column": 26 }, "identifierName": "geometry" @@ -76677,58 +76760,58 @@ }, "init": { "type": "MemberExpression", - "start": 57262, - "end": 57284, + "start": 57915, + "end": 57937, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 29 }, "end": { - "line": 1528, + "line": 1529, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 57262, - "end": 57281, + "start": 57915, + "end": 57934, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 29 }, "end": { - "line": 1528, + "line": 1529, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 57262, - "end": 57266, + "start": 57915, + "end": 57919, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 29 }, "end": { - "line": 1528, + "line": 1529, "column": 33 } } }, "property": { "type": "Identifier", - "start": 57267, - "end": 57281, + "start": 57920, + "end": 57934, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 34 }, "end": { - "line": 1528, + "line": 1529, "column": 48 }, "identifierName": "geometriesList" @@ -76739,15 +76822,15 @@ }, "property": { "type": "Identifier", - "start": 57282, - "end": 57283, + "start": 57935, + "end": 57936, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 49 }, "end": { - "line": 1528, + "line": 1529, "column": 50 }, "identifierName": "i" @@ -76762,57 +76845,57 @@ }, { "type": "IfStatement", - "start": 57298, - "end": 57485, + "start": 57951, + "end": 58138, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 12 }, "end": { - "line": 1531, + "line": 1532, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 57302, - "end": 57340, + "start": 57955, + "end": 57993, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 16 }, "end": { - "line": 1529, + "line": 1530, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 57302, - "end": 57324, + "start": 57955, + "end": 57977, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 16 }, "end": { - "line": 1529, + "line": 1530, "column": 38 } }, "object": { "type": "Identifier", - "start": 57302, - "end": 57310, + "start": 57955, + "end": 57963, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 16 }, "end": { - "line": 1529, + "line": 1530, "column": 24 }, "identifierName": "geometry" @@ -76821,15 +76904,15 @@ }, "property": { "type": "Identifier", - "start": 57311, - "end": 57324, + "start": 57964, + "end": 57977, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 25 }, "end": { - "line": 1529, + "line": 1530, "column": 38 }, "identifierName": "primitiveType" @@ -76841,15 +76924,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 57329, - "end": 57340, + "start": 57982, + "end": 57993, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 43 }, "end": { - "line": 1529, + "line": 1530, "column": 54 } }, @@ -76862,73 +76945,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 57342, - "end": 57485, + "start": 57995, + "end": 58138, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 56 }, "end": { - "line": 1531, + "line": 1532, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 57360, - "end": 57471, + "start": 58013, + "end": 58124, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 16 }, "end": { - "line": 1530, + "line": 1531, "column": 127 } }, "expression": { "type": "AssignmentExpression", - "start": 57360, - "end": 57470, + "start": 58013, + "end": 58123, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 16 }, "end": { - "line": 1530, + "line": 1531, "column": 126 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 57360, - "end": 57374, + "start": 58013, + "end": 58027, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 16 }, "end": { - "line": 1530, + "line": 1531, "column": 30 } }, "object": { "type": "Identifier", - "start": 57360, - "end": 57368, + "start": 58013, + "end": 58021, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 16 }, "end": { - "line": 1530, + "line": 1531, "column": 24 }, "identifierName": "geometry" @@ -76937,15 +77020,15 @@ }, "property": { "type": "Identifier", - "start": 57369, - "end": 57374, + "start": 58022, + "end": 58027, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 25 }, "end": { - "line": 1530, + "line": 1531, "column": 30 }, "identifierName": "solid" @@ -76956,29 +77039,29 @@ }, "right": { "type": "CallExpression", - "start": 57377, - "end": 57470, + "start": 58030, + "end": 58123, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 33 }, "end": { - "line": 1530, + "line": 1531, "column": 126 } }, "callee": { "type": "Identifier", - "start": 57377, - "end": 57396, + "start": 58030, + "end": 58049, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 33 }, "end": { - "line": 1530, + "line": 1531, "column": 52 }, "identifierName": "isTriangleMeshSolid" @@ -76988,29 +77071,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 57397, - "end": 57413, + "start": 58050, + "end": 58066, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 53 }, "end": { - "line": 1530, + "line": 1531, "column": 69 } }, "object": { "type": "Identifier", - "start": 57397, - "end": 57405, + "start": 58050, + "end": 58058, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 53 }, "end": { - "line": 1530, + "line": 1531, "column": 61 }, "identifierName": "geometry" @@ -77019,15 +77102,15 @@ }, "property": { "type": "Identifier", - "start": 57406, - "end": 57413, + "start": 58059, + "end": 58066, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 62 }, "end": { - "line": 1530, + "line": 1531, "column": 69 }, "identifierName": "indices" @@ -77038,29 +77121,29 @@ }, { "type": "MemberExpression", - "start": 57415, - "end": 57442, + "start": 58068, + "end": 58095, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 71 }, "end": { - "line": 1530, + "line": 1531, "column": 98 } }, "object": { "type": "Identifier", - "start": 57415, - "end": 57423, + "start": 58068, + "end": 58076, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 71 }, "end": { - "line": 1530, + "line": 1531, "column": 79 }, "identifierName": "geometry" @@ -77069,15 +77152,15 @@ }, "property": { "type": "Identifier", - "start": 57424, - "end": 57442, + "start": 58077, + "end": 58095, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 80 }, "end": { - "line": 1530, + "line": 1531, "column": 98 }, "identifierName": "positionsQuantized" @@ -77088,15 +77171,15 @@ }, { "type": "Identifier", - "start": 57444, - "end": 57462, + "start": 58097, + "end": 58115, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 100 }, "end": { - "line": 1530, + "line": 1531, "column": 118 }, "identifierName": "vertexIndexMapping" @@ -77105,15 +77188,15 @@ }, { "type": "Identifier", - "start": 57464, - "end": 57469, + "start": 58117, + "end": 58122, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 120 }, "end": { - "line": 1530, + "line": 1531, "column": 125 }, "identifierName": "edges" @@ -77145,15 +77228,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 57505, - "end": 57528, + "start": 58158, + "end": 58181, "loc": { "start": { - "line": 1536, + "line": 1537, "column": 0 }, "end": { - "line": 1538, + "line": 1539, "column": 1 } }, @@ -77161,29 +77244,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 57518, - "end": 57526, + "start": 58171, + "end": 58179, "loc": { "start": { - "line": 1537, + "line": 1538, "column": 4 }, "end": { - "line": 1537, + "line": 1538, "column": 12 } }, "local": { "type": "Identifier", - "start": 57518, - "end": 57526, + "start": 58171, + "end": 58179, "loc": { "start": { - "line": 1537, + "line": 1538, "column": 4 }, "end": { - "line": 1537, + "line": 1538, "column": 12 }, "identifierName": "XKTModel" @@ -77192,15 +77275,15 @@ }, "exported": { "type": "Identifier", - "start": 57518, - "end": 57526, + "start": 58171, + "end": 58179, "loc": { "start": { - "line": 1537, + "line": 1538, "column": 4 }, "end": { - "line": 1537, + "line": 1538, "column": 12 }, "identifierName": "XKTModel" @@ -77213,29 +77296,29 @@ }, { "type": "ExportNamedDeclaration", - "start": 57505, - "end": 57528, + "start": 58158, + "end": 58181, "loc": { "start": { - "line": 1536, + "line": 1537, "column": 0 }, "end": { - "line": 1538, + "line": 1539, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 2963, - "end": 57503, + "end": 58156, "loc": { "start": { "line": 87, "column": 0 }, "end": { - "line": 1534, + "line": 1535, "column": 1 } }, @@ -77261,14 +77344,14 @@ "body": { "type": "ClassBody", "start": 2978, - "end": 57503, + "end": 58156, "loc": { "start": { "line": 87, "column": 15 }, "end": { - "line": 1534, + "line": 1535, "column": 1 } }, @@ -82075,7 +82158,7 @@ { "type": "ClassMethod", "start": 12386, - "end": 13649, + "end": 13736, "loc": { "start": { "line": 391, @@ -82133,7 +82216,7 @@ "body": { "type": "BlockStatement", "start": 12412, - "end": 13649, + "end": 13736, "loc": { "start": { "line": 391, @@ -82148,7 +82231,7 @@ { "type": "IfStatement", "start": 12423, - "end": 12496, + "end": 12525, "loc": { "start": { "line": 393, @@ -82199,7 +82282,7 @@ "consequent": { "type": "BlockStatement", "start": 12436, - "end": 12496, + "end": 12525, "loc": { "start": { "line": 393, @@ -82214,7 +82297,7 @@ { "type": "ThrowStatement", "start": 12450, - "end": 12486, + "end": 12515, "loc": { "start": { "line": 394, @@ -82222,13 +82305,13 @@ }, "end": { "line": 394, - "column": 48 + "column": 77 } }, "argument": { "type": "StringLiteral", "start": 12456, - "end": 12485, + "end": 12514, "loc": { "start": { "line": 394, @@ -82236,14 +82319,14 @@ }, "end": { "line": 394, - "column": 47 + "column": 76 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createPropertySet] Parameters expected: params", + "raw": "\"[XKTModel.createPropertySet] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createPropertySet] Parameters expected: params" } } ], @@ -82253,8 +82336,8 @@ }, { "type": "IfStatement", - "start": 12506, - "end": 12652, + "start": 12535, + "end": 12710, "loc": { "start": { "line": 397, @@ -82267,8 +82350,8 @@ }, "test": { "type": "LogicalExpression", - "start": 12510, - "end": 12577, + "start": 12539, + "end": 12606, "loc": { "start": { "line": 397, @@ -82281,8 +82364,8 @@ }, "left": { "type": "BinaryExpression", - "start": 12510, - "end": 12539, + "start": 12539, + "end": 12568, "loc": { "start": { "line": 397, @@ -82295,8 +82378,8 @@ }, "left": { "type": "MemberExpression", - "start": 12510, - "end": 12530, + "start": 12539, + "end": 12559, "loc": { "start": { "line": 397, @@ -82309,8 +82392,8 @@ }, "object": { "type": "Identifier", - "start": 12510, - "end": 12516, + "start": 12539, + "end": 12545, "loc": { "start": { "line": 397, @@ -82326,8 +82409,8 @@ }, "property": { "type": "Identifier", - "start": 12517, - "end": 12530, + "start": 12546, + "end": 12559, "loc": { "start": { "line": 397, @@ -82346,8 +82429,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 12535, - "end": 12539, + "start": 12564, + "end": 12568, "loc": { "start": { "line": 397, @@ -82363,8 +82446,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 12543, - "end": 12577, + "start": 12572, + "end": 12606, "loc": { "start": { "line": 397, @@ -82377,8 +82460,8 @@ }, "left": { "type": "MemberExpression", - "start": 12543, - "end": 12563, + "start": 12572, + "end": 12592, "loc": { "start": { "line": 397, @@ -82391,8 +82474,8 @@ }, "object": { "type": "Identifier", - "start": 12543, - "end": 12549, + "start": 12572, + "end": 12578, "loc": { "start": { "line": 397, @@ -82408,8 +82491,8 @@ }, "property": { "type": "Identifier", - "start": 12550, - "end": 12563, + "start": 12579, + "end": 12592, "loc": { "start": { "line": 397, @@ -82428,8 +82511,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 12568, - "end": 12577, + "start": 12597, + "end": 12606, "loc": { "start": { "line": 397, @@ -82447,8 +82530,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 12579, - "end": 12652, + "start": 12608, + "end": 12710, "loc": { "start": { "line": 397, @@ -82462,8 +82545,8 @@ "body": [ { "type": "ThrowStatement", - "start": 12593, - "end": 12642, + "start": 12622, + "end": 12700, "loc": { "start": { "line": 398, @@ -82471,13 +82554,13 @@ }, "end": { "line": 398, - "column": 61 + "column": 90 } }, "argument": { "type": "StringLiteral", - "start": 12599, - "end": 12641, + "start": 12628, + "end": 12699, "loc": { "start": { "line": 398, @@ -82485,14 +82568,14 @@ }, "end": { "line": 398, - "column": 60 + "column": 89 } }, "extra": { - "rawValue": "Parameter expected: params.propertySetId", - "raw": "\"Parameter expected: params.propertySetId\"" + "rawValue": "[XKTModel.createPropertySet] Parameter expected: params.propertySetId", + "raw": "\"[XKTModel.createPropertySet] Parameter expected: params.propertySetId\"" }, - "value": "Parameter expected: params.propertySetId" + "value": "[XKTModel.createPropertySet] Parameter expected: params.propertySetId" } } ], @@ -82502,8 +82585,8 @@ }, { "type": "IfStatement", - "start": 12662, - "end": 12799, + "start": 12720, + "end": 12886, "loc": { "start": { "line": 401, @@ -82516,8 +82599,8 @@ }, "test": { "type": "LogicalExpression", - "start": 12666, - "end": 12727, + "start": 12724, + "end": 12785, "loc": { "start": { "line": 401, @@ -82530,8 +82613,8 @@ }, "left": { "type": "BinaryExpression", - "start": 12666, - "end": 12692, + "start": 12724, + "end": 12750, "loc": { "start": { "line": 401, @@ -82544,8 +82627,8 @@ }, "left": { "type": "MemberExpression", - "start": 12666, - "end": 12683, + "start": 12724, + "end": 12741, "loc": { "start": { "line": 401, @@ -82558,8 +82641,8 @@ }, "object": { "type": "Identifier", - "start": 12666, - "end": 12672, + "start": 12724, + "end": 12730, "loc": { "start": { "line": 401, @@ -82575,8 +82658,8 @@ }, "property": { "type": "Identifier", - "start": 12673, - "end": 12683, + "start": 12731, + "end": 12741, "loc": { "start": { "line": 401, @@ -82595,8 +82678,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 12688, - "end": 12692, + "start": 12746, + "end": 12750, "loc": { "start": { "line": 401, @@ -82612,8 +82695,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 12696, - "end": 12727, + "start": 12754, + "end": 12785, "loc": { "start": { "line": 401, @@ -82626,8 +82709,8 @@ }, "left": { "type": "MemberExpression", - "start": 12696, - "end": 12713, + "start": 12754, + "end": 12771, "loc": { "start": { "line": 401, @@ -82640,8 +82723,8 @@ }, "object": { "type": "Identifier", - "start": 12696, - "end": 12702, + "start": 12754, + "end": 12760, "loc": { "start": { "line": 401, @@ -82657,8 +82740,8 @@ }, "property": { "type": "Identifier", - "start": 12703, - "end": 12713, + "start": 12761, + "end": 12771, "loc": { "start": { "line": 401, @@ -82677,8 +82760,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 12718, - "end": 12727, + "start": 12776, + "end": 12785, "loc": { "start": { "line": 401, @@ -82696,8 +82779,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 12729, - "end": 12799, + "start": 12787, + "end": 12886, "loc": { "start": { "line": 401, @@ -82711,8 +82794,8 @@ "body": [ { "type": "ThrowStatement", - "start": 12743, - "end": 12789, + "start": 12801, + "end": 12876, "loc": { "start": { "line": 402, @@ -82720,13 +82803,13 @@ }, "end": { "line": 402, - "column": 58 + "column": 87 } }, "argument": { "type": "StringLiteral", - "start": 12749, - "end": 12788, + "start": 12807, + "end": 12875, "loc": { "start": { "line": 402, @@ -82734,14 +82817,14 @@ }, "end": { "line": 402, - "column": 57 + "column": 86 } }, "extra": { - "rawValue": "Parameter expected: params.properties", - "raw": "\"Parameter expected: params.properties\"" + "rawValue": "[XKTModel.createPropertySet] Parameter expected: params.properties", + "raw": "\"[XKTModel.createPropertySet] Parameter expected: params.properties\"" }, - "value": "Parameter expected: params.properties" + "value": "[XKTModel.createPropertySet] Parameter expected: params.properties" } } ], @@ -82751,8 +82834,8 @@ }, { "type": "IfStatement", - "start": 12809, - "end": 12948, + "start": 12896, + "end": 13035, "loc": { "start": { "line": 405, @@ -82765,8 +82848,8 @@ }, "test": { "type": "MemberExpression", - "start": 12813, - "end": 12827, + "start": 12900, + "end": 12914, "loc": { "start": { "line": 405, @@ -82779,8 +82862,8 @@ }, "object": { "type": "ThisExpression", - "start": 12813, - "end": 12817, + "start": 12900, + "end": 12904, "loc": { "start": { "line": 405, @@ -82794,8 +82877,8 @@ }, "property": { "type": "Identifier", - "start": 12818, - "end": 12827, + "start": 12905, + "end": 12914, "loc": { "start": { "line": 405, @@ -82813,8 +82896,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 12829, - "end": 12948, + "start": 12916, + "end": 13035, "loc": { "start": { "line": 405, @@ -82828,8 +82911,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 12843, - "end": 12918, + "start": 12930, + "end": 13005, "loc": { "start": { "line": 406, @@ -82842,8 +82925,8 @@ }, "expression": { "type": "CallExpression", - "start": 12843, - "end": 12917, + "start": 12930, + "end": 13004, "loc": { "start": { "line": 406, @@ -82856,8 +82939,8 @@ }, "callee": { "type": "MemberExpression", - "start": 12843, - "end": 12856, + "start": 12930, + "end": 12943, "loc": { "start": { "line": 406, @@ -82870,8 +82953,8 @@ }, "object": { "type": "Identifier", - "start": 12843, - "end": 12850, + "start": 12930, + "end": 12937, "loc": { "start": { "line": 406, @@ -82887,8 +82970,8 @@ }, "property": { "type": "Identifier", - "start": 12851, - "end": 12856, + "start": 12938, + "end": 12943, "loc": { "start": { "line": 406, @@ -82907,8 +82990,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 12857, - "end": 12916, + "start": 12944, + "end": 13003, "loc": { "start": { "line": 406, @@ -82930,8 +83013,8 @@ }, { "type": "ReturnStatement", - "start": 12931, - "end": 12938, + "start": 13018, + "end": 13025, "loc": { "start": { "line": 407, @@ -82951,8 +83034,8 @@ }, { "type": "IfStatement", - "start": 12958, - "end": 13144, + "start": 13045, + "end": 13231, "loc": { "start": { "line": 410, @@ -82965,8 +83048,8 @@ }, "test": { "type": "MemberExpression", - "start": 12962, - "end": 13001, + "start": 13049, + "end": 13088, "loc": { "start": { "line": 410, @@ -82979,8 +83062,8 @@ }, "object": { "type": "MemberExpression", - "start": 12962, - "end": 12979, + "start": 13049, + "end": 13066, "loc": { "start": { "line": 410, @@ -82993,8 +83076,8 @@ }, "object": { "type": "ThisExpression", - "start": 12962, - "end": 12966, + "start": 13049, + "end": 13053, "loc": { "start": { "line": 410, @@ -83008,8 +83091,8 @@ }, "property": { "type": "Identifier", - "start": 12967, - "end": 12979, + "start": 13054, + "end": 13066, "loc": { "start": { "line": 410, @@ -83027,8 +83110,8 @@ }, "property": { "type": "MemberExpression", - "start": 12980, - "end": 13000, + "start": 13067, + "end": 13087, "loc": { "start": { "line": 410, @@ -83041,8 +83124,8 @@ }, "object": { "type": "Identifier", - "start": 12980, - "end": 12986, + "start": 13067, + "end": 13073, "loc": { "start": { "line": 410, @@ -83058,8 +83141,8 @@ }, "property": { "type": "Identifier", - "start": 12987, - "end": 13000, + "start": 13074, + "end": 13087, "loc": { "start": { "line": 410, @@ -83079,8 +83162,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 13003, - "end": 13144, + "start": 13090, + "end": 13231, "loc": { "start": { "line": 410, @@ -83094,8 +83177,8 @@ "body": [ { "type": "ReturnStatement", - "start": 13127, - "end": 13134, + "start": 13214, + "end": 13221, "loc": { "start": { "line": 412, @@ -83111,8 +83194,8 @@ { "type": "CommentLine", "value": " console.error(\"XKTPropertySet already exists with this ID: \" + params.propertySetId);", - "start": 13017, - "end": 13114, + "start": 13104, + "end": 13201, "loc": { "start": { "line": 411, @@ -83133,8 +83216,8 @@ }, { "type": "VariableDeclaration", - "start": 13154, - "end": 13197, + "start": 13241, + "end": 13284, "loc": { "start": { "line": 415, @@ -83148,8 +83231,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 13160, - "end": 13196, + "start": 13247, + "end": 13283, "loc": { "start": { "line": 415, @@ -83162,8 +83245,8 @@ }, "id": { "type": "Identifier", - "start": 13160, - "end": 13173, + "start": 13247, + "end": 13260, "loc": { "start": { "line": 415, @@ -83179,8 +83262,8 @@ }, "init": { "type": "MemberExpression", - "start": 13176, - "end": 13196, + "start": 13263, + "end": 13283, "loc": { "start": { "line": 415, @@ -83193,8 +83276,8 @@ }, "object": { "type": "Identifier", - "start": 13176, - "end": 13182, + "start": 13263, + "end": 13269, "loc": { "start": { "line": 415, @@ -83210,8 +83293,8 @@ }, "property": { "type": "Identifier", - "start": 13183, - "end": 13196, + "start": 13270, + "end": 13283, "loc": { "start": { "line": 415, @@ -83233,8 +83316,8 @@ }, { "type": "VariableDeclaration", - "start": 13206, - "end": 13266, + "start": 13293, + "end": 13353, "loc": { "start": { "line": 416, @@ -83248,8 +83331,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 13212, - "end": 13265, + "start": 13299, + "end": 13352, "loc": { "start": { "line": 416, @@ -83262,8 +83345,8 @@ }, "id": { "type": "Identifier", - "start": 13212, - "end": 13227, + "start": 13299, + "end": 13314, "loc": { "start": { "line": 416, @@ -83279,8 +83362,8 @@ }, "init": { "type": "LogicalExpression", - "start": 13230, - "end": 13265, + "start": 13317, + "end": 13352, "loc": { "start": { "line": 416, @@ -83293,8 +83376,8 @@ }, "left": { "type": "MemberExpression", - "start": 13230, - "end": 13252, + "start": 13317, + "end": 13339, "loc": { "start": { "line": 416, @@ -83307,8 +83390,8 @@ }, "object": { "type": "Identifier", - "start": 13230, - "end": 13236, + "start": 13317, + "end": 13323, "loc": { "start": { "line": 416, @@ -83324,8 +83407,8 @@ }, "property": { "type": "Identifier", - "start": 13237, - "end": 13252, + "start": 13324, + "end": 13339, "loc": { "start": { "line": 416, @@ -83344,8 +83427,8 @@ "operator": "||", "right": { "type": "StringLiteral", - "start": 13256, - "end": 13265, + "start": 13343, + "end": 13352, "loc": { "start": { "line": 416, @@ -83369,8 +83452,8 @@ }, { "type": "VariableDeclaration", - "start": 13275, - "end": 13346, + "start": 13362, + "end": 13433, "loc": { "start": { "line": 417, @@ -83384,8 +83467,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 13281, - "end": 13345, + "start": 13368, + "end": 13432, "loc": { "start": { "line": 417, @@ -83398,8 +83481,8 @@ }, "id": { "type": "Identifier", - "start": 13281, - "end": 13296, + "start": 13368, + "end": 13383, "loc": { "start": { "line": 417, @@ -83415,8 +83498,8 @@ }, "init": { "type": "LogicalExpression", - "start": 13299, - "end": 13345, + "start": 13386, + "end": 13432, "loc": { "start": { "line": 417, @@ -83429,8 +83512,8 @@ }, "left": { "type": "MemberExpression", - "start": 13299, - "end": 13321, + "start": 13386, + "end": 13408, "loc": { "start": { "line": 417, @@ -83443,8 +83526,8 @@ }, "object": { "type": "Identifier", - "start": 13299, - "end": 13305, + "start": 13386, + "end": 13392, "loc": { "start": { "line": 417, @@ -83460,8 +83543,8 @@ }, "property": { "type": "Identifier", - "start": 13306, - "end": 13321, + "start": 13393, + "end": 13408, "loc": { "start": { "line": 417, @@ -83480,8 +83563,8 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 13325, - "end": 13345, + "start": 13412, + "end": 13432, "loc": { "start": { "line": 417, @@ -83494,8 +83577,8 @@ }, "object": { "type": "Identifier", - "start": 13325, - "end": 13331, + "start": 13412, + "end": 13418, "loc": { "start": { "line": 417, @@ -83511,8 +83594,8 @@ }, "property": { "type": "Identifier", - "start": 13332, - "end": 13345, + "start": 13419, + "end": 13432, "loc": { "start": { "line": 417, @@ -83535,8 +83618,8 @@ }, { "type": "VariableDeclaration", - "start": 13355, - "end": 13398, + "start": 13442, + "end": 13485, "loc": { "start": { "line": 418, @@ -83550,8 +83633,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 13361, - "end": 13397, + "start": 13448, + "end": 13484, "loc": { "start": { "line": 418, @@ -83564,8 +83647,8 @@ }, "id": { "type": "Identifier", - "start": 13361, - "end": 13371, + "start": 13448, + "end": 13458, "loc": { "start": { "line": 418, @@ -83581,8 +83664,8 @@ }, "init": { "type": "LogicalExpression", - "start": 13374, - "end": 13397, + "start": 13461, + "end": 13484, "loc": { "start": { "line": 418, @@ -83595,8 +83678,8 @@ }, "left": { "type": "MemberExpression", - "start": 13374, - "end": 13391, + "start": 13461, + "end": 13478, "loc": { "start": { "line": 418, @@ -83609,8 +83692,8 @@ }, "object": { "type": "Identifier", - "start": 13374, - "end": 13380, + "start": 13461, + "end": 13467, "loc": { "start": { "line": 418, @@ -83626,8 +83709,8 @@ }, "property": { "type": "Identifier", - "start": 13381, - "end": 13391, + "start": 13468, + "end": 13478, "loc": { "start": { "line": 418, @@ -83646,8 +83729,8 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 13395, - "end": 13397, + "start": 13482, + "end": 13484, "loc": { "start": { "line": 418, @@ -83667,8 +83750,8 @@ }, { "type": "VariableDeclaration", - "start": 13408, - "end": 13508, + "start": 13495, + "end": 13595, "loc": { "start": { "line": 420, @@ -83682,8 +83765,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 13414, - "end": 13507, + "start": 13501, + "end": 13594, "loc": { "start": { "line": 420, @@ -83696,8 +83779,8 @@ }, "id": { "type": "Identifier", - "start": 13414, - "end": 13425, + "start": 13501, + "end": 13512, "loc": { "start": { "line": 420, @@ -83713,8 +83796,8 @@ }, "init": { "type": "NewExpression", - "start": 13428, - "end": 13507, + "start": 13515, + "end": 13594, "loc": { "start": { "line": 420, @@ -83727,8 +83810,8 @@ }, "callee": { "type": "Identifier", - "start": 13432, - "end": 13446, + "start": 13519, + "end": 13533, "loc": { "start": { "line": 420, @@ -83745,8 +83828,8 @@ "arguments": [ { "type": "Identifier", - "start": 13447, - "end": 13460, + "start": 13534, + "end": 13547, "loc": { "start": { "line": 420, @@ -83762,8 +83845,8 @@ }, { "type": "Identifier", - "start": 13462, - "end": 13477, + "start": 13549, + "end": 13564, "loc": { "start": { "line": 420, @@ -83779,8 +83862,8 @@ }, { "type": "Identifier", - "start": 13479, - "end": 13494, + "start": 13566, + "end": 13581, "loc": { "start": { "line": 420, @@ -83796,8 +83879,8 @@ }, { "type": "Identifier", - "start": 13496, - "end": 13506, + "start": 13583, + "end": 13593, "loc": { "start": { "line": 420, @@ -83819,8 +83902,8 @@ }, { "type": "ExpressionStatement", - "start": 13518, - "end": 13565, + "start": 13605, + "end": 13652, "loc": { "start": { "line": 422, @@ -83833,8 +83916,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 13518, - "end": 13564, + "start": 13605, + "end": 13651, "loc": { "start": { "line": 422, @@ -83848,8 +83931,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 13518, - "end": 13550, + "start": 13605, + "end": 13637, "loc": { "start": { "line": 422, @@ -83862,8 +83945,8 @@ }, "object": { "type": "MemberExpression", - "start": 13518, - "end": 13535, + "start": 13605, + "end": 13622, "loc": { "start": { "line": 422, @@ -83876,8 +83959,8 @@ }, "object": { "type": "ThisExpression", - "start": 13518, - "end": 13522, + "start": 13605, + "end": 13609, "loc": { "start": { "line": 422, @@ -83891,8 +83974,8 @@ }, "property": { "type": "Identifier", - "start": 13523, - "end": 13535, + "start": 13610, + "end": 13622, "loc": { "start": { "line": 422, @@ -83910,8 +83993,8 @@ }, "property": { "type": "Identifier", - "start": 13536, - "end": 13549, + "start": 13623, + "end": 13636, "loc": { "start": { "line": 422, @@ -83929,8 +84012,8 @@ }, "right": { "type": "Identifier", - "start": 13553, - "end": 13564, + "start": 13640, + "end": 13651, "loc": { "start": { "line": 422, @@ -83948,8 +84031,8 @@ }, { "type": "ExpressionStatement", - "start": 13574, - "end": 13614, + "start": 13661, + "end": 13701, "loc": { "start": { "line": 423, @@ -83962,8 +84045,8 @@ }, "expression": { "type": "CallExpression", - "start": 13574, - "end": 13613, + "start": 13661, + "end": 13700, "loc": { "start": { "line": 423, @@ -83976,8 +84059,8 @@ }, "callee": { "type": "MemberExpression", - "start": 13574, - "end": 13600, + "start": 13661, + "end": 13687, "loc": { "start": { "line": 423, @@ -83990,8 +84073,8 @@ }, "object": { "type": "MemberExpression", - "start": 13574, - "end": 13595, + "start": 13661, + "end": 13682, "loc": { "start": { "line": 423, @@ -84004,8 +84087,8 @@ }, "object": { "type": "ThisExpression", - "start": 13574, - "end": 13578, + "start": 13661, + "end": 13665, "loc": { "start": { "line": 423, @@ -84019,8 +84102,8 @@ }, "property": { "type": "Identifier", - "start": 13579, - "end": 13595, + "start": 13666, + "end": 13682, "loc": { "start": { "line": 423, @@ -84038,8 +84121,8 @@ }, "property": { "type": "Identifier", - "start": 13596, - "end": 13600, + "start": 13683, + "end": 13687, "loc": { "start": { "line": 423, @@ -84058,8 +84141,8 @@ "arguments": [ { "type": "Identifier", - "start": 13601, - "end": 13612, + "start": 13688, + "end": 13699, "loc": { "start": { "line": 423, @@ -84078,8 +84161,8 @@ }, { "type": "ReturnStatement", - "start": 13624, - "end": 13643, + "start": 13711, + "end": 13730, "loc": { "start": { "line": 425, @@ -84092,8 +84175,8 @@ }, "argument": { "type": "Identifier", - "start": 13631, - "end": 13642, + "start": 13718, + "end": 13729, "loc": { "start": { "line": 425, @@ -84134,8 +84217,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMetaObject} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.metaObjectId Unique ID for the {@link XKTMetaObject}.\n * @param {String} params.propertySetIds ID of one or more property sets that contains additional metadata about\n * this {@link XKTMetaObject}. The property sets could be stored externally (ie not managed at all by the XKT file),\n * or could be {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n * @param {String} [params.metaObjectType=\"default\"] A meta type for the {@link XKTMetaObject}. Can be anything,\n * but is usually an IFC type, such as \"IfcSite\" or \"IfcWall\".\n * @param {String} [params.metaObjectName] Human-readable name for the {@link XKTMetaObject}. Defaults to the ````metaObjectId```` parameter.\n * @param {String} [params.parentMetaObjectId] ID of the parent {@link XKTMetaObject}, if any. Defaults to the ````metaObjectId```` parameter.\n * @returns {XKTMetaObject} The new {@link XKTMetaObject}.\n ", - "start": 13655, - "end": 14834, + "start": 13742, + "end": 14921, "loc": { "start": { "line": 428, @@ -84151,8 +84234,8 @@ }, { "type": "ClassMethod", - "start": 14839, - "end": 16168, + "start": 14926, + "end": 16311, "loc": { "start": { "line": 444, @@ -84167,8 +84250,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 14839, - "end": 14855, + "start": 14926, + "end": 14942, "loc": { "start": { "line": 444, @@ -84191,8 +84274,8 @@ "params": [ { "type": "Identifier", - "start": 14856, - "end": 14862, + "start": 14943, + "end": 14949, "loc": { "start": { "line": 444, @@ -84209,8 +84292,8 @@ ], "body": { "type": "BlockStatement", - "start": 14864, - "end": 16168, + "start": 14951, + "end": 16311, "loc": { "start": { "line": 444, @@ -84224,8 +84307,8 @@ "body": [ { "type": "IfStatement", - "start": 14875, - "end": 14948, + "start": 14962, + "end": 15063, "loc": { "start": { "line": 446, @@ -84238,8 +84321,8 @@ }, "test": { "type": "UnaryExpression", - "start": 14879, - "end": 14886, + "start": 14966, + "end": 14973, "loc": { "start": { "line": 446, @@ -84254,8 +84337,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 14880, - "end": 14886, + "start": 14967, + "end": 14973, "loc": { "start": { "line": 446, @@ -84275,8 +84358,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 14888, - "end": 14948, + "start": 14975, + "end": 15063, "loc": { "start": { "line": 446, @@ -84290,8 +84373,8 @@ "body": [ { "type": "ThrowStatement", - "start": 14902, - "end": 14938, + "start": 14989, + "end": 15053, "loc": { "start": { "line": 447, @@ -84299,13 +84382,13 @@ }, "end": { "line": 447, - "column": 48 + "column": 76 } }, "argument": { "type": "StringLiteral", - "start": 14908, - "end": 14937, + "start": 14995, + "end": 15052, "loc": { "start": { "line": 447, @@ -84313,14 +84396,14 @@ }, "end": { "line": 447, - "column": 47 + "column": 75 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createMetaObject] Parameters expected: params", + "raw": "\"[XKTModel.createMetaObject] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createMetaObject] Parameters expected: params" } } ], @@ -84330,8 +84413,8 @@ }, { "type": "IfStatement", - "start": 14958, - "end": 15101, + "start": 15073, + "end": 15244, "loc": { "start": { "line": 450, @@ -84344,8 +84427,8 @@ }, "test": { "type": "LogicalExpression", - "start": 14962, - "end": 15027, + "start": 15077, + "end": 15142, "loc": { "start": { "line": 450, @@ -84358,8 +84441,8 @@ }, "left": { "type": "BinaryExpression", - "start": 14962, - "end": 14990, + "start": 15077, + "end": 15105, "loc": { "start": { "line": 450, @@ -84372,8 +84455,8 @@ }, "left": { "type": "MemberExpression", - "start": 14962, - "end": 14981, + "start": 15077, + "end": 15096, "loc": { "start": { "line": 450, @@ -84386,8 +84469,8 @@ }, "object": { "type": "Identifier", - "start": 14962, - "end": 14968, + "start": 15077, + "end": 15083, "loc": { "start": { "line": 450, @@ -84403,8 +84486,8 @@ }, "property": { "type": "Identifier", - "start": 14969, - "end": 14981, + "start": 15084, + "end": 15096, "loc": { "start": { "line": 450, @@ -84423,8 +84506,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 14986, - "end": 14990, + "start": 15101, + "end": 15105, "loc": { "start": { "line": 450, @@ -84440,8 +84523,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 14994, - "end": 15027, + "start": 15109, + "end": 15142, "loc": { "start": { "line": 450, @@ -84454,8 +84537,8 @@ }, "left": { "type": "MemberExpression", - "start": 14994, - "end": 15013, + "start": 15109, + "end": 15128, "loc": { "start": { "line": 450, @@ -84468,8 +84551,8 @@ }, "object": { "type": "Identifier", - "start": 14994, - "end": 15000, + "start": 15109, + "end": 15115, "loc": { "start": { "line": 450, @@ -84485,8 +84568,8 @@ }, "property": { "type": "Identifier", - "start": 15001, - "end": 15013, + "start": 15116, + "end": 15128, "loc": { "start": { "line": 450, @@ -84505,8 +84588,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 15018, - "end": 15027, + "start": 15133, + "end": 15142, "loc": { "start": { "line": 450, @@ -84524,8 +84607,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 15029, - "end": 15101, + "start": 15144, + "end": 15244, "loc": { "start": { "line": 450, @@ -84539,8 +84622,8 @@ "body": [ { "type": "ThrowStatement", - "start": 15043, - "end": 15091, + "start": 15158, + "end": 15234, "loc": { "start": { "line": 451, @@ -84548,13 +84631,13 @@ }, "end": { "line": 451, - "column": 60 + "column": 88 } }, "argument": { "type": "StringLiteral", - "start": 15049, - "end": 15090, + "start": 15164, + "end": 15233, "loc": { "start": { "line": 451, @@ -84562,14 +84645,14 @@ }, "end": { "line": 451, - "column": 59 + "column": 87 } }, "extra": { - "rawValue": "Parameter expected: params.metaObjectId", - "raw": "\"Parameter expected: params.metaObjectId\"" + "rawValue": "[XKTModel.createMetaObject] Parameter expected: params.metaObjectId", + "raw": "\"[XKTModel.createMetaObject] Parameter expected: params.metaObjectId\"" }, - "value": "Parameter expected: params.metaObjectId" + "value": "[XKTModel.createMetaObject] Parameter expected: params.metaObjectId" } } ], @@ -84579,8 +84662,8 @@ }, { "type": "IfStatement", - "start": 15111, - "end": 15249, + "start": 15254, + "end": 15392, "loc": { "start": { "line": 454, @@ -84593,8 +84676,8 @@ }, "test": { "type": "MemberExpression", - "start": 15115, - "end": 15129, + "start": 15258, + "end": 15272, "loc": { "start": { "line": 454, @@ -84607,8 +84690,8 @@ }, "object": { "type": "ThisExpression", - "start": 15115, - "end": 15119, + "start": 15258, + "end": 15262, "loc": { "start": { "line": 454, @@ -84622,8 +84705,8 @@ }, "property": { "type": "Identifier", - "start": 15120, - "end": 15129, + "start": 15263, + "end": 15272, "loc": { "start": { "line": 454, @@ -84641,8 +84724,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 15131, - "end": 15249, + "start": 15274, + "end": 15392, "loc": { "start": { "line": 454, @@ -84656,8 +84739,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 15145, - "end": 15219, + "start": 15288, + "end": 15362, "loc": { "start": { "line": 455, @@ -84670,8 +84753,8 @@ }, "expression": { "type": "CallExpression", - "start": 15145, - "end": 15218, + "start": 15288, + "end": 15361, "loc": { "start": { "line": 455, @@ -84684,8 +84767,8 @@ }, "callee": { "type": "MemberExpression", - "start": 15145, - "end": 15158, + "start": 15288, + "end": 15301, "loc": { "start": { "line": 455, @@ -84698,8 +84781,8 @@ }, "object": { "type": "Identifier", - "start": 15145, - "end": 15152, + "start": 15288, + "end": 15295, "loc": { "start": { "line": 455, @@ -84715,8 +84798,8 @@ }, "property": { "type": "Identifier", - "start": 15153, - "end": 15158, + "start": 15296, + "end": 15301, "loc": { "start": { "line": 455, @@ -84735,8 +84818,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 15159, - "end": 15217, + "start": 15302, + "end": 15360, "loc": { "start": { "line": 455, @@ -84758,8 +84841,8 @@ }, { "type": "ReturnStatement", - "start": 15232, - "end": 15239, + "start": 15375, + "end": 15382, "loc": { "start": { "line": 456, @@ -84779,8 +84862,8 @@ }, { "type": "IfStatement", - "start": 15259, - "end": 15441, + "start": 15402, + "end": 15584, "loc": { "start": { "line": 459, @@ -84793,8 +84876,8 @@ }, "test": { "type": "MemberExpression", - "start": 15263, - "end": 15300, + "start": 15406, + "end": 15443, "loc": { "start": { "line": 459, @@ -84807,8 +84890,8 @@ }, "object": { "type": "MemberExpression", - "start": 15263, - "end": 15279, + "start": 15406, + "end": 15422, "loc": { "start": { "line": 459, @@ -84821,8 +84904,8 @@ }, "object": { "type": "ThisExpression", - "start": 15263, - "end": 15267, + "start": 15406, + "end": 15410, "loc": { "start": { "line": 459, @@ -84836,8 +84919,8 @@ }, "property": { "type": "Identifier", - "start": 15268, - "end": 15279, + "start": 15411, + "end": 15422, "loc": { "start": { "line": 459, @@ -84855,8 +84938,8 @@ }, "property": { "type": "MemberExpression", - "start": 15280, - "end": 15299, + "start": 15423, + "end": 15442, "loc": { "start": { "line": 459, @@ -84869,8 +84952,8 @@ }, "object": { "type": "Identifier", - "start": 15280, - "end": 15286, + "start": 15423, + "end": 15429, "loc": { "start": { "line": 459, @@ -84886,8 +84969,8 @@ }, "property": { "type": "Identifier", - "start": 15287, - "end": 15299, + "start": 15430, + "end": 15442, "loc": { "start": { "line": 459, @@ -84907,8 +84990,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 15302, - "end": 15441, + "start": 15445, + "end": 15584, "loc": { "start": { "line": 459, @@ -84922,8 +85005,8 @@ "body": [ { "type": "ReturnStatement", - "start": 15424, - "end": 15431, + "start": 15567, + "end": 15574, "loc": { "start": { "line": 461, @@ -84939,8 +85022,8 @@ { "type": "CommentLine", "value": " console.error(\"XKTMetaObject already exists with this ID: \" + params.metaObjectId);", - "start": 15316, - "end": 15411, + "start": 15459, + "end": 15554, "loc": { "start": { "line": 460, @@ -84961,8 +85044,8 @@ }, { "type": "VariableDeclaration", - "start": 15451, - "end": 15492, + "start": 15594, + "end": 15635, "loc": { "start": { "line": 464, @@ -84976,8 +85059,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15457, - "end": 15491, + "start": 15600, + "end": 15634, "loc": { "start": { "line": 464, @@ -84990,8 +85073,8 @@ }, "id": { "type": "Identifier", - "start": 15457, - "end": 15469, + "start": 15600, + "end": 15612, "loc": { "start": { "line": 464, @@ -85007,8 +85090,8 @@ }, "init": { "type": "MemberExpression", - "start": 15472, - "end": 15491, + "start": 15615, + "end": 15634, "loc": { "start": { "line": 464, @@ -85021,8 +85104,8 @@ }, "object": { "type": "Identifier", - "start": 15472, - "end": 15478, + "start": 15615, + "end": 15621, "loc": { "start": { "line": 464, @@ -85038,8 +85121,8 @@ }, "property": { "type": "Identifier", - "start": 15479, - "end": 15491, + "start": 15622, + "end": 15634, "loc": { "start": { "line": 464, @@ -85061,8 +85144,8 @@ }, { "type": "VariableDeclaration", - "start": 15501, - "end": 15546, + "start": 15644, + "end": 15689, "loc": { "start": { "line": 465, @@ -85076,8 +85159,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15507, - "end": 15545, + "start": 15650, + "end": 15688, "loc": { "start": { "line": 465, @@ -85090,8 +85173,8 @@ }, "id": { "type": "Identifier", - "start": 15507, - "end": 15521, + "start": 15650, + "end": 15664, "loc": { "start": { "line": 465, @@ -85107,8 +85190,8 @@ }, "init": { "type": "MemberExpression", - "start": 15524, - "end": 15545, + "start": 15667, + "end": 15688, "loc": { "start": { "line": 465, @@ -85121,8 +85204,8 @@ }, "object": { "type": "Identifier", - "start": 15524, - "end": 15530, + "start": 15667, + "end": 15673, "loc": { "start": { "line": 465, @@ -85138,8 +85221,8 @@ }, "property": { "type": "Identifier", - "start": 15531, - "end": 15545, + "start": 15674, + "end": 15688, "loc": { "start": { "line": 465, @@ -85161,8 +85244,8 @@ }, { "type": "VariableDeclaration", - "start": 15555, - "end": 15613, + "start": 15698, + "end": 15756, "loc": { "start": { "line": 466, @@ -85176,8 +85259,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15561, - "end": 15612, + "start": 15704, + "end": 15755, "loc": { "start": { "line": 466, @@ -85190,8 +85273,8 @@ }, "id": { "type": "Identifier", - "start": 15561, - "end": 15575, + "start": 15704, + "end": 15718, "loc": { "start": { "line": 466, @@ -85207,8 +85290,8 @@ }, "init": { "type": "LogicalExpression", - "start": 15578, - "end": 15612, + "start": 15721, + "end": 15755, "loc": { "start": { "line": 466, @@ -85221,8 +85304,8 @@ }, "left": { "type": "MemberExpression", - "start": 15578, - "end": 15599, + "start": 15721, + "end": 15742, "loc": { "start": { "line": 466, @@ -85235,8 +85318,8 @@ }, "object": { "type": "Identifier", - "start": 15578, - "end": 15584, + "start": 15721, + "end": 15727, "loc": { "start": { "line": 466, @@ -85252,8 +85335,8 @@ }, "property": { "type": "Identifier", - "start": 15585, - "end": 15599, + "start": 15728, + "end": 15742, "loc": { "start": { "line": 466, @@ -85272,8 +85355,8 @@ "operator": "||", "right": { "type": "StringLiteral", - "start": 15603, - "end": 15612, + "start": 15746, + "end": 15755, "loc": { "start": { "line": 466, @@ -85297,8 +85380,8 @@ }, { "type": "VariableDeclaration", - "start": 15622, - "end": 15690, + "start": 15765, + "end": 15833, "loc": { "start": { "line": 467, @@ -85312,8 +85395,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15628, - "end": 15689, + "start": 15771, + "end": 15832, "loc": { "start": { "line": 467, @@ -85326,8 +85409,8 @@ }, "id": { "type": "Identifier", - "start": 15628, - "end": 15642, + "start": 15771, + "end": 15785, "loc": { "start": { "line": 467, @@ -85343,8 +85426,8 @@ }, "init": { "type": "LogicalExpression", - "start": 15645, - "end": 15689, + "start": 15788, + "end": 15832, "loc": { "start": { "line": 467, @@ -85357,8 +85440,8 @@ }, "left": { "type": "MemberExpression", - "start": 15645, - "end": 15666, + "start": 15788, + "end": 15809, "loc": { "start": { "line": 467, @@ -85371,8 +85454,8 @@ }, "object": { "type": "Identifier", - "start": 15645, - "end": 15651, + "start": 15788, + "end": 15794, "loc": { "start": { "line": 467, @@ -85388,8 +85471,8 @@ }, "property": { "type": "Identifier", - "start": 15652, - "end": 15666, + "start": 15795, + "end": 15809, "loc": { "start": { "line": 467, @@ -85408,8 +85491,8 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 15670, - "end": 15689, + "start": 15813, + "end": 15832, "loc": { "start": { "line": 467, @@ -85422,8 +85505,8 @@ }, "object": { "type": "Identifier", - "start": 15670, - "end": 15676, + "start": 15813, + "end": 15819, "loc": { "start": { "line": 467, @@ -85439,8 +85522,8 @@ }, "property": { "type": "Identifier", - "start": 15677, - "end": 15689, + "start": 15820, + "end": 15832, "loc": { "start": { "line": 467, @@ -85463,8 +85546,8 @@ }, { "type": "VariableDeclaration", - "start": 15699, - "end": 15752, + "start": 15842, + "end": 15895, "loc": { "start": { "line": 468, @@ -85478,8 +85561,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15705, - "end": 15751, + "start": 15848, + "end": 15894, "loc": { "start": { "line": 468, @@ -85492,8 +85575,8 @@ }, "id": { "type": "Identifier", - "start": 15705, - "end": 15723, + "start": 15848, + "end": 15866, "loc": { "start": { "line": 468, @@ -85509,8 +85592,8 @@ }, "init": { "type": "MemberExpression", - "start": 15726, - "end": 15751, + "start": 15869, + "end": 15894, "loc": { "start": { "line": 468, @@ -85523,8 +85606,8 @@ }, "object": { "type": "Identifier", - "start": 15726, - "end": 15732, + "start": 15869, + "end": 15875, "loc": { "start": { "line": 468, @@ -85540,8 +85623,8 @@ }, "property": { "type": "Identifier", - "start": 15733, - "end": 15751, + "start": 15876, + "end": 15894, "loc": { "start": { "line": 468, @@ -85563,8 +85646,8 @@ }, { "type": "VariableDeclaration", - "start": 15762, - "end": 15881, + "start": 15905, + "end": 16024, "loc": { "start": { "line": 470, @@ -85578,8 +85661,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 15768, - "end": 15880, + "start": 15911, + "end": 16023, "loc": { "start": { "line": 470, @@ -85592,8 +85675,8 @@ }, "id": { "type": "Identifier", - "start": 15768, - "end": 15778, + "start": 15911, + "end": 15921, "loc": { "start": { "line": 470, @@ -85609,8 +85692,8 @@ }, "init": { "type": "NewExpression", - "start": 15781, - "end": 15880, + "start": 15924, + "end": 16023, "loc": { "start": { "line": 470, @@ -85623,8 +85706,8 @@ }, "callee": { "type": "Identifier", - "start": 15785, - "end": 15798, + "start": 15928, + "end": 15941, "loc": { "start": { "line": 470, @@ -85641,8 +85724,8 @@ "arguments": [ { "type": "Identifier", - "start": 15799, - "end": 15811, + "start": 15942, + "end": 15954, "loc": { "start": { "line": 470, @@ -85658,8 +85741,8 @@ }, { "type": "Identifier", - "start": 15813, - "end": 15827, + "start": 15956, + "end": 15970, "loc": { "start": { "line": 470, @@ -85675,8 +85758,8 @@ }, { "type": "Identifier", - "start": 15829, - "end": 15843, + "start": 15972, + "end": 15986, "loc": { "start": { "line": 470, @@ -85692,8 +85775,8 @@ }, { "type": "Identifier", - "start": 15845, - "end": 15859, + "start": 15988, + "end": 16002, "loc": { "start": { "line": 470, @@ -85709,8 +85792,8 @@ }, { "type": "Identifier", - "start": 15861, - "end": 15879, + "start": 16004, + "end": 16022, "loc": { "start": { "line": 470, @@ -85732,8 +85815,8 @@ }, { "type": "ExpressionStatement", - "start": 15891, - "end": 15935, + "start": 16034, + "end": 16078, "loc": { "start": { "line": 472, @@ -85746,8 +85829,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 15891, - "end": 15934, + "start": 16034, + "end": 16077, "loc": { "start": { "line": 472, @@ -85761,8 +85844,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 15891, - "end": 15921, + "start": 16034, + "end": 16064, "loc": { "start": { "line": 472, @@ -85775,8 +85858,8 @@ }, "object": { "type": "MemberExpression", - "start": 15891, - "end": 15907, + "start": 16034, + "end": 16050, "loc": { "start": { "line": 472, @@ -85789,8 +85872,8 @@ }, "object": { "type": "ThisExpression", - "start": 15891, - "end": 15895, + "start": 16034, + "end": 16038, "loc": { "start": { "line": 472, @@ -85804,8 +85887,8 @@ }, "property": { "type": "Identifier", - "start": 15896, - "end": 15907, + "start": 16039, + "end": 16050, "loc": { "start": { "line": 472, @@ -85823,8 +85906,8 @@ }, "property": { "type": "Identifier", - "start": 15908, - "end": 15920, + "start": 16051, + "end": 16063, "loc": { "start": { "line": 472, @@ -85842,8 +85925,8 @@ }, "right": { "type": "Identifier", - "start": 15924, - "end": 15934, + "start": 16067, + "end": 16077, "loc": { "start": { "line": 472, @@ -85861,8 +85944,8 @@ }, { "type": "ExpressionStatement", - "start": 15944, - "end": 15982, + "start": 16087, + "end": 16125, "loc": { "start": { "line": 473, @@ -85875,8 +85958,8 @@ }, "expression": { "type": "CallExpression", - "start": 15944, - "end": 15981, + "start": 16087, + "end": 16124, "loc": { "start": { "line": 473, @@ -85889,8 +85972,8 @@ }, "callee": { "type": "MemberExpression", - "start": 15944, - "end": 15969, + "start": 16087, + "end": 16112, "loc": { "start": { "line": 473, @@ -85903,8 +85986,8 @@ }, "object": { "type": "MemberExpression", - "start": 15944, - "end": 15964, + "start": 16087, + "end": 16107, "loc": { "start": { "line": 473, @@ -85917,8 +86000,8 @@ }, "object": { "type": "ThisExpression", - "start": 15944, - "end": 15948, + "start": 16087, + "end": 16091, "loc": { "start": { "line": 473, @@ -85932,8 +86015,8 @@ }, "property": { "type": "Identifier", - "start": 15949, - "end": 15964, + "start": 16092, + "end": 16107, "loc": { "start": { "line": 473, @@ -85951,8 +86034,8 @@ }, "property": { "type": "Identifier", - "start": 15965, - "end": 15969, + "start": 16108, + "end": 16112, "loc": { "start": { "line": 473, @@ -85971,8 +86054,8 @@ "arguments": [ { "type": "Identifier", - "start": 15970, - "end": 15980, + "start": 16113, + "end": 16123, "loc": { "start": { "line": 473, @@ -85991,8 +86074,8 @@ }, { "type": "IfStatement", - "start": 15992, - "end": 16134, + "start": 16135, + "end": 16277, "loc": { "start": { "line": 475, @@ -86005,8 +86088,8 @@ }, "test": { "type": "UnaryExpression", - "start": 15996, - "end": 16015, + "start": 16139, + "end": 16158, "loc": { "start": { "line": 475, @@ -86021,8 +86104,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 15997, - "end": 16015, + "start": 16140, + "end": 16158, "loc": { "start": { "line": 475, @@ -86042,8 +86125,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 16017, - "end": 16134, + "start": 16160, + "end": 16277, "loc": { "start": { "line": 475, @@ -86057,8 +86140,8 @@ "body": [ { "type": "IfStatement", - "start": 16031, - "end": 16124, + "start": 16174, + "end": 16267, "loc": { "start": { "line": 476, @@ -86071,8 +86154,8 @@ }, "test": { "type": "UnaryExpression", - "start": 16035, - "end": 16056, + "start": 16178, + "end": 16199, "loc": { "start": { "line": 476, @@ -86087,8 +86170,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 16036, - "end": 16056, + "start": 16179, + "end": 16199, "loc": { "start": { "line": 476, @@ -86101,8 +86184,8 @@ }, "object": { "type": "ThisExpression", - "start": 16036, - "end": 16040, + "start": 16179, + "end": 16183, "loc": { "start": { "line": 476, @@ -86116,8 +86199,8 @@ }, "property": { "type": "Identifier", - "start": 16041, - "end": 16056, + "start": 16184, + "end": 16199, "loc": { "start": { "line": 476, @@ -86139,8 +86222,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 16058, - "end": 16124, + "start": 16201, + "end": 16267, "loc": { "start": { "line": 476, @@ -86154,8 +86237,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 16076, - "end": 16110, + "start": 16219, + "end": 16253, "loc": { "start": { "line": 477, @@ -86168,8 +86251,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 16076, - "end": 16109, + "start": 16219, + "end": 16252, "loc": { "start": { "line": 477, @@ -86183,8 +86266,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 16076, - "end": 16096, + "start": 16219, + "end": 16239, "loc": { "start": { "line": 477, @@ -86197,8 +86280,8 @@ }, "object": { "type": "ThisExpression", - "start": 16076, - "end": 16080, + "start": 16219, + "end": 16223, "loc": { "start": { "line": 477, @@ -86212,8 +86295,8 @@ }, "property": { "type": "Identifier", - "start": 16081, - "end": 16096, + "start": 16224, + "end": 16239, "loc": { "start": { "line": 477, @@ -86231,8 +86314,8 @@ }, "right": { "type": "Identifier", - "start": 16099, - "end": 16109, + "start": 16242, + "end": 16252, "loc": { "start": { "line": 477, @@ -86260,8 +86343,8 @@ }, { "type": "ReturnStatement", - "start": 16144, - "end": 16162, + "start": 16287, + "end": 16305, "loc": { "start": { "line": 481, @@ -86274,8 +86357,8 @@ }, "argument": { "type": "Identifier", - "start": 16151, - "end": 16161, + "start": 16294, + "end": 16304, "loc": { "start": { "line": 481, @@ -86298,8 +86381,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMetaObject} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.metaObjectId Unique ID for the {@link XKTMetaObject}.\n * @param {String} params.propertySetIds ID of one or more property sets that contains additional metadata about\n * this {@link XKTMetaObject}. The property sets could be stored externally (ie not managed at all by the XKT file),\n * or could be {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n * @param {String} [params.metaObjectType=\"default\"] A meta type for the {@link XKTMetaObject}. Can be anything,\n * but is usually an IFC type, such as \"IfcSite\" or \"IfcWall\".\n * @param {String} [params.metaObjectName] Human-readable name for the {@link XKTMetaObject}. Defaults to the ````metaObjectId```` parameter.\n * @param {String} [params.parentMetaObjectId] ID of the parent {@link XKTMetaObject}, if any. Defaults to the ````metaObjectId```` parameter.\n * @returns {XKTMetaObject} The new {@link XKTMetaObject}.\n ", - "start": 13655, - "end": 14834, + "start": 13742, + "end": 14921, "loc": { "start": { "line": 428, @@ -86316,8 +86399,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTexture} within this XKTModel.\n *\n * Registers the new {@link XKTTexture} in {@link XKTModel#textures} and {@link XKTModel#texturesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureId Unique ID for the {@link XKTTexture}.\n * @param {String} [params.src] Source of an image file for the texture.\n * @param {Buffer} [params.imageData] Image data for the texture.\n * @param {Number} [params.mediaType] Media type (ie. MIME type) of ````imageData````. Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n * @param {Number} [params.width] Texture width, used with ````imageData````. Ignored for compressed textures.\n * @param {Number} [params.height] Texture height, used with ````imageData````. Ignored for compressed textures.\n * @param {Boolean} [params.compressed=true] Whether to compress the texture.\n * @param {Number} [params.minFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers less than one pixel. Supported\n * values are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter}, {@link NearestMipMapNearestFilter},\n * {@link NearestMipMapLinearFilter} and {@link LinearMipMapLinearFilter}. Ignored for compressed textures.\n * @param {Number} [params.magFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}. Ignored for compressed textures.\n * @param {Number} [params.wrapS=RepeatWrapping] Wrap parameter for texture coordinate *S*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @param {Number} [params.wrapT=RepeatWrapping] Wrap parameter for texture coordinate *T*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * {@param {Number} [params.wrapR=RepeatWrapping] Wrap parameter for texture coordinate *R*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @returns {XKTTexture} The new {@link XKTTexture}.\n ", - "start": 16174, - "end": 18662, + "start": 16317, + "end": 18805, "loc": { "start": { "line": 484, @@ -86333,8 +86416,8 @@ }, { "type": "ClassMethod", - "start": 18667, - "end": 20369, + "start": 18810, + "end": 20587, "loc": { "start": { "line": 512, @@ -86349,8 +86432,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 18667, - "end": 18680, + "start": 18810, + "end": 18823, "loc": { "start": { "line": 512, @@ -86373,8 +86456,8 @@ "params": [ { "type": "Identifier", - "start": 18681, - "end": 18687, + "start": 18824, + "end": 18830, "loc": { "start": { "line": 512, @@ -86391,8 +86474,8 @@ ], "body": { "type": "BlockStatement", - "start": 18689, - "end": 20369, + "start": 18832, + "end": 20587, "loc": { "start": { "line": 512, @@ -86406,8 +86489,8 @@ "body": [ { "type": "IfStatement", - "start": 18700, - "end": 18773, + "start": 18843, + "end": 18941, "loc": { "start": { "line": 514, @@ -86420,8 +86503,8 @@ }, "test": { "type": "UnaryExpression", - "start": 18704, - "end": 18711, + "start": 18847, + "end": 18854, "loc": { "start": { "line": 514, @@ -86436,8 +86519,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 18705, - "end": 18711, + "start": 18848, + "end": 18854, "loc": { "start": { "line": 514, @@ -86457,8 +86540,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 18713, - "end": 18773, + "start": 18856, + "end": 18941, "loc": { "start": { "line": 514, @@ -86472,8 +86555,8 @@ "body": [ { "type": "ThrowStatement", - "start": 18727, - "end": 18763, + "start": 18870, + "end": 18931, "loc": { "start": { "line": 515, @@ -86481,13 +86564,13 @@ }, "end": { "line": 515, - "column": 48 + "column": 73 } }, "argument": { "type": "StringLiteral", - "start": 18733, - "end": 18762, + "start": 18876, + "end": 18930, "loc": { "start": { "line": 515, @@ -86495,14 +86578,14 @@ }, "end": { "line": 515, - "column": 47 + "column": 72 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createTexture] Parameters expected: params", + "raw": "\"[XKTModel.createTexture] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createTexture] Parameters expected: params" } } ], @@ -86512,8 +86595,8 @@ }, { "type": "IfStatement", - "start": 18783, - "end": 18917, + "start": 18951, + "end": 19110, "loc": { "start": { "line": 518, @@ -86526,8 +86609,8 @@ }, "test": { "type": "LogicalExpression", - "start": 18787, - "end": 18846, + "start": 18955, + "end": 19014, "loc": { "start": { "line": 518, @@ -86540,8 +86623,8 @@ }, "left": { "type": "BinaryExpression", - "start": 18787, - "end": 18812, + "start": 18955, + "end": 18980, "loc": { "start": { "line": 518, @@ -86554,8 +86637,8 @@ }, "left": { "type": "MemberExpression", - "start": 18787, - "end": 18803, + "start": 18955, + "end": 18971, "loc": { "start": { "line": 518, @@ -86568,8 +86651,8 @@ }, "object": { "type": "Identifier", - "start": 18787, - "end": 18793, + "start": 18955, + "end": 18961, "loc": { "start": { "line": 518, @@ -86585,8 +86668,8 @@ }, "property": { "type": "Identifier", - "start": 18794, - "end": 18803, + "start": 18962, + "end": 18971, "loc": { "start": { "line": 518, @@ -86605,8 +86688,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 18808, - "end": 18812, + "start": 18976, + "end": 18980, "loc": { "start": { "line": 518, @@ -86622,8 +86705,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 18816, - "end": 18846, + "start": 18984, + "end": 19014, "loc": { "start": { "line": 518, @@ -86636,8 +86719,8 @@ }, "left": { "type": "MemberExpression", - "start": 18816, - "end": 18832, + "start": 18984, + "end": 19000, "loc": { "start": { "line": 518, @@ -86650,8 +86733,8 @@ }, "object": { "type": "Identifier", - "start": 18816, - "end": 18822, + "start": 18984, + "end": 18990, "loc": { "start": { "line": 518, @@ -86667,8 +86750,8 @@ }, "property": { "type": "Identifier", - "start": 18823, - "end": 18832, + "start": 18991, + "end": 19000, "loc": { "start": { "line": 518, @@ -86687,8 +86770,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 18837, - "end": 18846, + "start": 19005, + "end": 19014, "loc": { "start": { "line": 518, @@ -86706,8 +86789,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 18848, - "end": 18917, + "start": 19016, + "end": 19110, "loc": { "start": { "line": 518, @@ -86721,8 +86804,8 @@ "body": [ { "type": "ThrowStatement", - "start": 18862, - "end": 18907, + "start": 19030, + "end": 19100, "loc": { "start": { "line": 519, @@ -86730,13 +86813,13 @@ }, "end": { "line": 519, - "column": 57 + "column": 82 } }, "argument": { "type": "StringLiteral", - "start": 18868, - "end": 18906, + "start": 19036, + "end": 19099, "loc": { "start": { "line": 519, @@ -86744,14 +86827,14 @@ }, "end": { "line": 519, - "column": 56 + "column": 81 } }, "extra": { - "rawValue": "Parameter expected: params.textureId", - "raw": "\"Parameter expected: params.textureId\"" + "rawValue": "[XKTModel.createTexture] Parameter expected: params.textureId", + "raw": "\"[XKTModel.createTexture] Parameter expected: params.textureId\"" }, - "value": "Parameter expected: params.textureId" + "value": "[XKTModel.createTexture] Parameter expected: params.textureId" } } ], @@ -86761,8 +86844,8 @@ }, { "type": "IfStatement", - "start": 18927, - "end": 19048, + "start": 19120, + "end": 19266, "loc": { "start": { "line": 522, @@ -86775,8 +86858,8 @@ }, "test": { "type": "LogicalExpression", - "start": 18931, - "end": 18963, + "start": 19124, + "end": 19156, "loc": { "start": { "line": 522, @@ -86789,8 +86872,8 @@ }, "left": { "type": "UnaryExpression", - "start": 18931, - "end": 18948, + "start": 19124, + "end": 19141, "loc": { "start": { "line": 522, @@ -86805,8 +86888,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18932, - "end": 18948, + "start": 19125, + "end": 19141, "loc": { "start": { "line": 522, @@ -86819,8 +86902,8 @@ }, "object": { "type": "Identifier", - "start": 18932, - "end": 18938, + "start": 19125, + "end": 19131, "loc": { "start": { "line": 522, @@ -86836,8 +86919,8 @@ }, "property": { "type": "Identifier", - "start": 18939, - "end": 18948, + "start": 19132, + "end": 19141, "loc": { "start": { "line": 522, @@ -86860,8 +86943,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 18952, - "end": 18963, + "start": 19145, + "end": 19156, "loc": { "start": { "line": 522, @@ -86876,8 +86959,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 18953, - "end": 18963, + "start": 19146, + "end": 19156, "loc": { "start": { "line": 522, @@ -86890,8 +86973,8 @@ }, "object": { "type": "Identifier", - "start": 18953, - "end": 18959, + "start": 19146, + "end": 19152, "loc": { "start": { "line": 522, @@ -86907,8 +86990,8 @@ }, "property": { "type": "Identifier", - "start": 18960, - "end": 18963, + "start": 19153, + "end": 19156, "loc": { "start": { "line": 522, @@ -86931,8 +87014,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 18965, - "end": 19048, + "start": 19158, + "end": 19266, "loc": { "start": { "line": 522, @@ -86946,8 +87029,8 @@ "body": [ { "type": "ThrowStatement", - "start": 18979, - "end": 19038, + "start": 19172, + "end": 19256, "loc": { "start": { "line": 523, @@ -86955,13 +87038,13 @@ }, "end": { "line": 523, - "column": 71 + "column": 96 } }, "argument": { "type": "StringLiteral", - "start": 18985, - "end": 19037, + "start": 19178, + "end": 19255, "loc": { "start": { "line": 523, @@ -86969,14 +87052,14 @@ }, "end": { "line": 523, - "column": 70 + "column": 95 } }, "extra": { - "rawValue": "Parameter expected: params.imageData or params.src", - "raw": "\"Parameter expected: params.imageData or params.src\"" + "rawValue": "[XKTModel.createTexture] Parameter expected: params.imageData or params.src", + "raw": "\"[XKTModel.createTexture] Parameter expected: params.imageData or params.src\"" }, - "value": "Parameter expected: params.imageData or params.src" + "value": "[XKTModel.createTexture] Parameter expected: params.imageData or params.src" } } ], @@ -86986,8 +87069,8 @@ }, { "type": "IfStatement", - "start": 19058, - "end": 19192, + "start": 19276, + "end": 19410, "loc": { "start": { "line": 526, @@ -87000,8 +87083,8 @@ }, "test": { "type": "MemberExpression", - "start": 19062, - "end": 19076, + "start": 19280, + "end": 19294, "loc": { "start": { "line": 526, @@ -87014,8 +87097,8 @@ }, "object": { "type": "ThisExpression", - "start": 19062, - "end": 19066, + "start": 19280, + "end": 19284, "loc": { "start": { "line": 526, @@ -87029,8 +87112,8 @@ }, "property": { "type": "Identifier", - "start": 19067, - "end": 19076, + "start": 19285, + "end": 19294, "loc": { "start": { "line": 526, @@ -87048,8 +87131,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 19078, - "end": 19192, + "start": 19296, + "end": 19410, "loc": { "start": { "line": 526, @@ -87063,8 +87146,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 19092, - "end": 19162, + "start": 19310, + "end": 19380, "loc": { "start": { "line": 527, @@ -87077,8 +87160,8 @@ }, "expression": { "type": "CallExpression", - "start": 19092, - "end": 19161, + "start": 19310, + "end": 19379, "loc": { "start": { "line": 527, @@ -87091,8 +87174,8 @@ }, "callee": { "type": "MemberExpression", - "start": 19092, - "end": 19105, + "start": 19310, + "end": 19323, "loc": { "start": { "line": 527, @@ -87105,8 +87188,8 @@ }, "object": { "type": "Identifier", - "start": 19092, - "end": 19099, + "start": 19310, + "end": 19317, "loc": { "start": { "line": 527, @@ -87122,8 +87205,8 @@ }, "property": { "type": "Identifier", - "start": 19100, - "end": 19105, + "start": 19318, + "end": 19323, "loc": { "start": { "line": 527, @@ -87142,8 +87225,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 19106, - "end": 19160, + "start": 19324, + "end": 19378, "loc": { "start": { "line": 527, @@ -87165,8 +87248,8 @@ }, { "type": "ReturnStatement", - "start": 19175, - "end": 19182, + "start": 19393, + "end": 19400, "loc": { "start": { "line": 528, @@ -87186,8 +87269,8 @@ }, { "type": "IfStatement", - "start": 19202, - "end": 19360, + "start": 19420, + "end": 19578, "loc": { "start": { "line": 531, @@ -87200,8 +87283,8 @@ }, "test": { "type": "MemberExpression", - "start": 19206, - "end": 19237, + "start": 19424, + "end": 19455, "loc": { "start": { "line": 531, @@ -87214,8 +87297,8 @@ }, "object": { "type": "MemberExpression", - "start": 19206, - "end": 19219, + "start": 19424, + "end": 19437, "loc": { "start": { "line": 531, @@ -87228,8 +87311,8 @@ }, "object": { "type": "ThisExpression", - "start": 19206, - "end": 19210, + "start": 19424, + "end": 19428, "loc": { "start": { "line": 531, @@ -87243,8 +87326,8 @@ }, "property": { "type": "Identifier", - "start": 19211, - "end": 19219, + "start": 19429, + "end": 19437, "loc": { "start": { "line": 531, @@ -87262,8 +87345,8 @@ }, "property": { "type": "MemberExpression", - "start": 19220, - "end": 19236, + "start": 19438, + "end": 19454, "loc": { "start": { "line": 531, @@ -87276,8 +87359,8 @@ }, "object": { "type": "Identifier", - "start": 19220, - "end": 19226, + "start": 19438, + "end": 19444, "loc": { "start": { "line": 531, @@ -87293,8 +87376,8 @@ }, "property": { "type": "Identifier", - "start": 19227, - "end": 19236, + "start": 19445, + "end": 19454, "loc": { "start": { "line": 531, @@ -87314,8 +87397,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 19239, - "end": 19360, + "start": 19457, + "end": 19578, "loc": { "start": { "line": 531, @@ -87329,8 +87412,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 19253, - "end": 19330, + "start": 19471, + "end": 19548, "loc": { "start": { "line": 532, @@ -87343,8 +87426,8 @@ }, "expression": { "type": "CallExpression", - "start": 19253, - "end": 19329, + "start": 19471, + "end": 19547, "loc": { "start": { "line": 532, @@ -87357,8 +87440,8 @@ }, "callee": { "type": "MemberExpression", - "start": 19253, - "end": 19266, + "start": 19471, + "end": 19484, "loc": { "start": { "line": 532, @@ -87371,8 +87454,8 @@ }, "object": { "type": "Identifier", - "start": 19253, - "end": 19260, + "start": 19471, + "end": 19478, "loc": { "start": { "line": 532, @@ -87388,8 +87471,8 @@ }, "property": { "type": "Identifier", - "start": 19261, - "end": 19266, + "start": 19479, + "end": 19484, "loc": { "start": { "line": 532, @@ -87408,8 +87491,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 19267, - "end": 19328, + "start": 19485, + "end": 19546, "loc": { "start": { "line": 532, @@ -87422,8 +87505,8 @@ }, "left": { "type": "StringLiteral", - "start": 19267, - "end": 19309, + "start": 19485, + "end": 19527, "loc": { "start": { "line": 532, @@ -87443,8 +87526,8 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 19312, - "end": 19328, + "start": 19530, + "end": 19546, "loc": { "start": { "line": 532, @@ -87457,8 +87540,8 @@ }, "object": { "type": "Identifier", - "start": 19312, - "end": 19318, + "start": 19530, + "end": 19536, "loc": { "start": { "line": 532, @@ -87474,8 +87557,8 @@ }, "property": { "type": "Identifier", - "start": 19319, - "end": 19328, + "start": 19537, + "end": 19546, "loc": { "start": { "line": 532, @@ -87497,8 +87580,8 @@ }, { "type": "ReturnStatement", - "start": 19343, - "end": 19350, + "start": 19561, + "end": 19568, "loc": { "start": { "line": 533, @@ -87518,8 +87601,8 @@ }, { "type": "IfStatement", - "start": 19370, - "end": 19716, + "start": 19588, + "end": 19934, "loc": { "start": { "line": 536, @@ -87532,8 +87615,8 @@ }, "test": { "type": "MemberExpression", - "start": 19374, - "end": 19384, + "start": 19592, + "end": 19602, "loc": { "start": { "line": 536, @@ -87546,8 +87629,8 @@ }, "object": { "type": "Identifier", - "start": 19374, - "end": 19380, + "start": 19592, + "end": 19598, "loc": { "start": { "line": 536, @@ -87563,8 +87646,8 @@ }, "property": { "type": "Identifier", - "start": 19381, - "end": 19384, + "start": 19599, + "end": 19602, "loc": { "start": { "line": 536, @@ -87582,8 +87665,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 19386, - "end": 19716, + "start": 19604, + "end": 19934, "loc": { "start": { "line": 536, @@ -87597,8 +87680,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 19400, - "end": 19444, + "start": 19618, + "end": 19662, "loc": { "start": { "line": 537, @@ -87612,8 +87695,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 19406, - "end": 19443, + "start": 19624, + "end": 19661, "loc": { "start": { "line": 537, @@ -87626,8 +87709,8 @@ }, "id": { "type": "Identifier", - "start": 19406, - "end": 19413, + "start": 19624, + "end": 19631, "loc": { "start": { "line": 537, @@ -87643,8 +87726,8 @@ }, "init": { "type": "CallExpression", - "start": 19416, - "end": 19443, + "start": 19634, + "end": 19661, "loc": { "start": { "line": 537, @@ -87657,8 +87740,8 @@ }, "callee": { "type": "MemberExpression", - "start": 19416, - "end": 19441, + "start": 19634, + "end": 19659, "loc": { "start": { "line": 537, @@ -87671,8 +87754,8 @@ }, "object": { "type": "CallExpression", - "start": 19416, - "end": 19437, + "start": 19634, + "end": 19655, "loc": { "start": { "line": 537, @@ -87685,8 +87768,8 @@ }, "callee": { "type": "MemberExpression", - "start": 19416, - "end": 19432, + "start": 19634, + "end": 19650, "loc": { "start": { "line": 537, @@ -87699,8 +87782,8 @@ }, "object": { "type": "MemberExpression", - "start": 19416, - "end": 19426, + "start": 19634, + "end": 19644, "loc": { "start": { "line": 537, @@ -87713,8 +87796,8 @@ }, "object": { "type": "Identifier", - "start": 19416, - "end": 19422, + "start": 19634, + "end": 19640, "loc": { "start": { "line": 537, @@ -87730,8 +87813,8 @@ }, "property": { "type": "Identifier", - "start": 19423, - "end": 19426, + "start": 19641, + "end": 19644, "loc": { "start": { "line": 537, @@ -87749,8 +87832,8 @@ }, "property": { "type": "Identifier", - "start": 19427, - "end": 19432, + "start": 19645, + "end": 19650, "loc": { "start": { "line": 537, @@ -87769,8 +87852,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 19433, - "end": 19436, + "start": 19651, + "end": 19654, "loc": { "start": { "line": 537, @@ -87791,8 +87874,8 @@ }, "property": { "type": "Identifier", - "start": 19438, - "end": 19441, + "start": 19656, + "end": 19659, "loc": { "start": { "line": 537, @@ -87816,8 +87899,8 @@ }, { "type": "IfStatement", - "start": 19457, - "end": 19706, + "start": 19675, + "end": 19924, "loc": { "start": { "line": 538, @@ -87830,8 +87913,8 @@ }, "test": { "type": "LogicalExpression", - "start": 19461, - "end": 19521, + "start": 19679, + "end": 19739, "loc": { "start": { "line": 538, @@ -87844,8 +87927,8 @@ }, "left": { "type": "LogicalExpression", - "start": 19461, - "end": 19500, + "start": 19679, + "end": 19718, "loc": { "start": { "line": 538, @@ -87858,8 +87941,8 @@ }, "left": { "type": "BinaryExpression", - "start": 19461, - "end": 19478, + "start": 19679, + "end": 19696, "loc": { "start": { "line": 538, @@ -87872,8 +87955,8 @@ }, "left": { "type": "Identifier", - "start": 19461, - "end": 19468, + "start": 19679, + "end": 19686, "loc": { "start": { "line": 538, @@ -87890,8 +87973,8 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 19473, - "end": 19478, + "start": 19691, + "end": 19696, "loc": { "start": { "line": 538, @@ -87912,8 +87995,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 19482, - "end": 19500, + "start": 19700, + "end": 19718, "loc": { "start": { "line": 538, @@ -87926,8 +88009,8 @@ }, "left": { "type": "Identifier", - "start": 19482, - "end": 19489, + "start": 19700, + "end": 19707, "loc": { "start": { "line": 538, @@ -87944,8 +88027,8 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 19494, - "end": 19500, + "start": 19712, + "end": 19718, "loc": { "start": { "line": 538, @@ -87967,8 +88050,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 19504, - "end": 19521, + "start": 19722, + "end": 19739, "loc": { "start": { "line": 538, @@ -87981,8 +88064,8 @@ }, "left": { "type": "Identifier", - "start": 19504, - "end": 19511, + "start": 19722, + "end": 19729, "loc": { "start": { "line": 538, @@ -87999,8 +88082,8 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 19516, - "end": 19521, + "start": 19734, + "end": 19739, "loc": { "start": { "line": 538, @@ -88021,8 +88104,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 19523, - "end": 19706, + "start": 19741, + "end": 19924, "loc": { "start": { "line": 538, @@ -88036,8 +88119,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 19541, - "end": 19668, + "start": 19759, + "end": 19886, "loc": { "start": { "line": 539, @@ -88050,8 +88133,8 @@ }, "expression": { "type": "CallExpression", - "start": 19541, - "end": 19667, + "start": 19759, + "end": 19885, "loc": { "start": { "line": 539, @@ -88064,8 +88147,8 @@ }, "callee": { "type": "MemberExpression", - "start": 19541, - "end": 19554, + "start": 19759, + "end": 19772, "loc": { "start": { "line": 539, @@ -88078,8 +88161,8 @@ }, "object": { "type": "Identifier", - "start": 19541, - "end": 19548, + "start": 19759, + "end": 19766, "loc": { "start": { "line": 539, @@ -88095,8 +88178,8 @@ }, "property": { "type": "Identifier", - "start": 19549, - "end": 19554, + "start": 19767, + "end": 19772, "loc": { "start": { "line": 539, @@ -88115,8 +88198,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 19555, - "end": 19666, + "start": 19773, + "end": 19884, "loc": { "start": { "line": 539, @@ -88130,8 +88213,8 @@ "expressions": [ { "type": "Identifier", - "start": 19612, - "end": 19619, + "start": 19830, + "end": 19837, "loc": { "start": { "line": 539, @@ -88147,8 +88230,8 @@ }, { "type": "MemberExpression", - "start": 19648, - "end": 19664, + "start": 19866, + "end": 19882, "loc": { "start": { "line": 539, @@ -88161,8 +88244,8 @@ }, "object": { "type": "Identifier", - "start": 19648, - "end": 19654, + "start": 19866, + "end": 19872, "loc": { "start": { "line": 539, @@ -88178,8 +88261,8 @@ }, "property": { "type": "Identifier", - "start": 19655, - "end": 19664, + "start": 19873, + "end": 19882, "loc": { "start": { "line": 539, @@ -88199,8 +88282,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 19556, - "end": 19610, + "start": 19774, + "end": 19828, "loc": { "start": { "line": 539, @@ -88219,8 +88302,8 @@ }, { "type": "TemplateElement", - "start": 19620, - "end": 19646, + "start": 19838, + "end": 19864, "loc": { "start": { "line": 539, @@ -88239,8 +88322,8 @@ }, { "type": "TemplateElement", - "start": 19665, - "end": 19665, + "start": 19883, + "end": 19883, "loc": { "start": { "line": 539, @@ -88264,8 +88347,8 @@ }, { "type": "ReturnStatement", - "start": 19685, - "end": 19692, + "start": 19903, + "end": 19910, "loc": { "start": { "line": 540, @@ -88290,8 +88373,8 @@ }, { "type": "VariableDeclaration", - "start": 19726, - "end": 19761, + "start": 19944, + "end": 19979, "loc": { "start": { "line": 544, @@ -88305,8 +88388,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 19732, - "end": 19760, + "start": 19950, + "end": 19978, "loc": { "start": { "line": 544, @@ -88319,8 +88402,8 @@ }, "id": { "type": "Identifier", - "start": 19732, - "end": 19741, + "start": 19950, + "end": 19959, "loc": { "start": { "line": 544, @@ -88336,8 +88419,8 @@ }, "init": { "type": "MemberExpression", - "start": 19744, - "end": 19760, + "start": 19962, + "end": 19978, "loc": { "start": { "line": 544, @@ -88350,8 +88433,8 @@ }, "object": { "type": "Identifier", - "start": 19744, - "end": 19750, + "start": 19962, + "end": 19968, "loc": { "start": { "line": 544, @@ -88367,8 +88450,8 @@ }, "property": { "type": "Identifier", - "start": 19751, - "end": 19760, + "start": 19969, + "end": 19978, "loc": { "start": { "line": 544, @@ -88390,8 +88473,8 @@ }, { "type": "VariableDeclaration", - "start": 19771, - "end": 20252, + "start": 19989, + "end": 20470, "loc": { "start": { "line": 546, @@ -88405,8 +88488,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 19777, - "end": 20251, + "start": 19995, + "end": 20469, "loc": { "start": { "line": 546, @@ -88419,8 +88502,8 @@ }, "id": { "type": "Identifier", - "start": 19777, - "end": 19784, + "start": 19995, + "end": 20002, "loc": { "start": { "line": 546, @@ -88436,8 +88519,8 @@ }, "init": { "type": "NewExpression", - "start": 19787, - "end": 20251, + "start": 20005, + "end": 20469, "loc": { "start": { "line": 546, @@ -88450,8 +88533,8 @@ }, "callee": { "type": "Identifier", - "start": 19791, - "end": 19801, + "start": 20009, + "end": 20019, "loc": { "start": { "line": 546, @@ -88468,8 +88551,8 @@ "arguments": [ { "type": "ObjectExpression", - "start": 19802, - "end": 20250, + "start": 20020, + "end": 20468, "loc": { "start": { "line": 546, @@ -88483,8 +88566,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 19816, - "end": 19825, + "start": 20034, + "end": 20043, "loc": { "start": { "line": 547, @@ -88500,8 +88583,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 19816, - "end": 19825, + "start": 20034, + "end": 20043, "loc": { "start": { "line": 547, @@ -88517,8 +88600,8 @@ }, "value": { "type": "Identifier", - "start": 19816, - "end": 19825, + "start": 20034, + "end": 20043, "loc": { "start": { "line": 547, @@ -88538,8 +88621,8 @@ }, { "type": "ObjectProperty", - "start": 19839, - "end": 19866, + "start": 20057, + "end": 20084, "loc": { "start": { "line": 548, @@ -88555,8 +88638,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 19839, - "end": 19848, + "start": 20057, + "end": 20066, "loc": { "start": { "line": 548, @@ -88572,8 +88655,8 @@ }, "value": { "type": "MemberExpression", - "start": 19850, - "end": 19866, + "start": 20068, + "end": 20084, "loc": { "start": { "line": 548, @@ -88586,8 +88669,8 @@ }, "object": { "type": "Identifier", - "start": 19850, - "end": 19856, + "start": 20068, + "end": 20074, "loc": { "start": { "line": 548, @@ -88603,8 +88686,8 @@ }, "property": { "type": "Identifier", - "start": 19857, - "end": 19866, + "start": 20075, + "end": 20084, "loc": { "start": { "line": 548, @@ -88623,8 +88706,8 @@ }, { "type": "ObjectProperty", - "start": 19880, - "end": 19907, + "start": 20098, + "end": 20125, "loc": { "start": { "line": 549, @@ -88640,8 +88723,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 19880, - "end": 19889, + "start": 20098, + "end": 20107, "loc": { "start": { "line": 549, @@ -88657,8 +88740,8 @@ }, "value": { "type": "MemberExpression", - "start": 19891, - "end": 19907, + "start": 20109, + "end": 20125, "loc": { "start": { "line": 549, @@ -88671,8 +88754,8 @@ }, "object": { "type": "Identifier", - "start": 19891, - "end": 19897, + "start": 20109, + "end": 20115, "loc": { "start": { "line": 549, @@ -88688,8 +88771,8 @@ }, "property": { "type": "Identifier", - "start": 19898, - "end": 19907, + "start": 20116, + "end": 20125, "loc": { "start": { "line": 549, @@ -88708,8 +88791,8 @@ }, { "type": "ObjectProperty", - "start": 19921, - "end": 19948, + "start": 20139, + "end": 20166, "loc": { "start": { "line": 550, @@ -88725,8 +88808,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 19921, - "end": 19930, + "start": 20139, + "end": 20148, "loc": { "start": { "line": 550, @@ -88742,8 +88825,8 @@ }, "value": { "type": "MemberExpression", - "start": 19932, - "end": 19948, + "start": 20150, + "end": 20166, "loc": { "start": { "line": 550, @@ -88756,8 +88839,8 @@ }, "object": { "type": "Identifier", - "start": 19932, - "end": 19938, + "start": 20150, + "end": 20156, "loc": { "start": { "line": 550, @@ -88773,8 +88856,8 @@ }, "property": { "type": "Identifier", - "start": 19939, - "end": 19948, + "start": 20157, + "end": 20166, "loc": { "start": { "line": 550, @@ -88793,8 +88876,8 @@ }, { "type": "ObjectProperty", - "start": 19962, - "end": 19989, + "start": 20180, + "end": 20207, "loc": { "start": { "line": 551, @@ -88810,8 +88893,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 19962, - "end": 19971, + "start": 20180, + "end": 20189, "loc": { "start": { "line": 551, @@ -88827,8 +88910,8 @@ }, "value": { "type": "MemberExpression", - "start": 19973, - "end": 19989, + "start": 20191, + "end": 20207, "loc": { "start": { "line": 551, @@ -88841,8 +88924,8 @@ }, "object": { "type": "Identifier", - "start": 19973, - "end": 19979, + "start": 20191, + "end": 20197, "loc": { "start": { "line": 551, @@ -88858,8 +88941,8 @@ }, "property": { "type": "Identifier", - "start": 19980, - "end": 19989, + "start": 20198, + "end": 20207, "loc": { "start": { "line": 551, @@ -88878,8 +88961,8 @@ }, { "type": "ObjectProperty", - "start": 20003, - "end": 20022, + "start": 20221, + "end": 20240, "loc": { "start": { "line": 552, @@ -88895,8 +88978,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20003, - "end": 20008, + "start": 20221, + "end": 20226, "loc": { "start": { "line": 552, @@ -88912,8 +88995,8 @@ }, "value": { "type": "MemberExpression", - "start": 20010, - "end": 20022, + "start": 20228, + "end": 20240, "loc": { "start": { "line": 552, @@ -88926,8 +89009,8 @@ }, "object": { "type": "Identifier", - "start": 20010, - "end": 20016, + "start": 20228, + "end": 20234, "loc": { "start": { "line": 552, @@ -88943,8 +89026,8 @@ }, "property": { "type": "Identifier", - "start": 20017, - "end": 20022, + "start": 20235, + "end": 20240, "loc": { "start": { "line": 552, @@ -88963,8 +89046,8 @@ }, { "type": "ObjectProperty", - "start": 20036, - "end": 20055, + "start": 20254, + "end": 20273, "loc": { "start": { "line": 553, @@ -88980,8 +89063,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20036, - "end": 20041, + "start": 20254, + "end": 20259, "loc": { "start": { "line": 553, @@ -88997,8 +89080,8 @@ }, "value": { "type": "MemberExpression", - "start": 20043, - "end": 20055, + "start": 20261, + "end": 20273, "loc": { "start": { "line": 553, @@ -89011,8 +89094,8 @@ }, "object": { "type": "Identifier", - "start": 20043, - "end": 20049, + "start": 20261, + "end": 20267, "loc": { "start": { "line": 553, @@ -89028,8 +89111,8 @@ }, "property": { "type": "Identifier", - "start": 20050, - "end": 20055, + "start": 20268, + "end": 20273, "loc": { "start": { "line": 553, @@ -89048,8 +89131,8 @@ }, { "type": "ObjectProperty", - "start": 20069, - "end": 20088, + "start": 20287, + "end": 20306, "loc": { "start": { "line": 554, @@ -89065,8 +89148,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20069, - "end": 20074, + "start": 20287, + "end": 20292, "loc": { "start": { "line": 554, @@ -89082,8 +89165,8 @@ }, "value": { "type": "MemberExpression", - "start": 20076, - "end": 20088, + "start": 20294, + "end": 20306, "loc": { "start": { "line": 554, @@ -89096,8 +89179,8 @@ }, "object": { "type": "Identifier", - "start": 20076, - "end": 20082, + "start": 20294, + "end": 20300, "loc": { "start": { "line": 554, @@ -89113,8 +89196,8 @@ }, "property": { "type": "Identifier", - "start": 20083, - "end": 20088, + "start": 20301, + "end": 20306, "loc": { "start": { "line": 554, @@ -89133,8 +89216,8 @@ }, { "type": "ObjectProperty", - "start": 20102, - "end": 20121, + "start": 20320, + "end": 20339, "loc": { "start": { "line": 555, @@ -89150,8 +89233,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20102, - "end": 20107, + "start": 20320, + "end": 20325, "loc": { "start": { "line": 555, @@ -89167,8 +89250,8 @@ }, "value": { "type": "MemberExpression", - "start": 20109, - "end": 20121, + "start": 20327, + "end": 20339, "loc": { "start": { "line": 555, @@ -89181,8 +89264,8 @@ }, "object": { "type": "Identifier", - "start": 20109, - "end": 20115, + "start": 20327, + "end": 20333, "loc": { "start": { "line": 555, @@ -89198,8 +89281,8 @@ }, "property": { "type": "Identifier", - "start": 20116, - "end": 20121, + "start": 20334, + "end": 20339, "loc": { "start": { "line": 555, @@ -89218,8 +89301,8 @@ }, { "type": "ObjectProperty", - "start": 20135, - "end": 20156, + "start": 20353, + "end": 20374, "loc": { "start": { "line": 556, @@ -89235,8 +89318,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20135, - "end": 20141, + "start": 20353, + "end": 20359, "loc": { "start": { "line": 556, @@ -89252,8 +89335,8 @@ }, "value": { "type": "MemberExpression", - "start": 20143, - "end": 20156, + "start": 20361, + "end": 20374, "loc": { "start": { "line": 556, @@ -89266,8 +89349,8 @@ }, "object": { "type": "Identifier", - "start": 20143, - "end": 20149, + "start": 20361, + "end": 20367, "loc": { "start": { "line": 556, @@ -89283,8 +89366,8 @@ }, "property": { "type": "Identifier", - "start": 20150, - "end": 20156, + "start": 20368, + "end": 20374, "loc": { "start": { "line": 556, @@ -89303,8 +89386,8 @@ }, { "type": "ObjectProperty", - "start": 20170, - "end": 20211, + "start": 20388, + "end": 20429, "loc": { "start": { "line": 557, @@ -89320,8 +89403,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20170, - "end": 20180, + "start": 20388, + "end": 20398, "loc": { "start": { "line": 557, @@ -89337,8 +89420,8 @@ }, "value": { "type": "BinaryExpression", - "start": 20183, - "end": 20210, + "start": 20401, + "end": 20428, "loc": { "start": { "line": 557, @@ -89351,8 +89434,8 @@ }, "left": { "type": "MemberExpression", - "start": 20183, - "end": 20200, + "start": 20401, + "end": 20418, "loc": { "start": { "line": 557, @@ -89365,8 +89448,8 @@ }, "object": { "type": "Identifier", - "start": 20183, - "end": 20189, + "start": 20401, + "end": 20407, "loc": { "start": { "line": 557, @@ -89382,8 +89465,8 @@ }, "property": { "type": "Identifier", - "start": 20190, - "end": 20200, + "start": 20408, + "end": 20418, "loc": { "start": { "line": 557, @@ -89402,8 +89485,8 @@ "operator": "!==", "right": { "type": "BooleanLiteral", - "start": 20205, - "end": 20210, + "start": 20423, + "end": 20428, "loc": { "start": { "line": 557, @@ -89418,14 +89501,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 20182 + "parenStart": 20400 } } }, { "type": "ObjectProperty", - "start": 20225, - "end": 20240, + "start": 20443, + "end": 20458, "loc": { "start": { "line": 558, @@ -89441,8 +89524,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 20225, - "end": 20228, + "start": 20443, + "end": 20446, "loc": { "start": { "line": 558, @@ -89458,8 +89541,8 @@ }, "value": { "type": "MemberExpression", - "start": 20230, - "end": 20240, + "start": 20448, + "end": 20458, "loc": { "start": { "line": 558, @@ -89472,8 +89555,8 @@ }, "object": { "type": "Identifier", - "start": 20230, - "end": 20236, + "start": 20448, + "end": 20454, "loc": { "start": { "line": 558, @@ -89489,8 +89572,8 @@ }, "property": { "type": "Identifier", - "start": 20237, - "end": 20240, + "start": 20455, + "end": 20458, "loc": { "start": { "line": 558, @@ -89517,8 +89600,8 @@ }, { "type": "ExpressionStatement", - "start": 20262, - "end": 20297, + "start": 20480, + "end": 20515, "loc": { "start": { "line": 561, @@ -89531,8 +89614,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 20262, - "end": 20296, + "start": 20480, + "end": 20514, "loc": { "start": { "line": 561, @@ -89546,8 +89629,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 20262, - "end": 20286, + "start": 20480, + "end": 20504, "loc": { "start": { "line": 561, @@ -89560,8 +89643,8 @@ }, "object": { "type": "MemberExpression", - "start": 20262, - "end": 20275, + "start": 20480, + "end": 20493, "loc": { "start": { "line": 561, @@ -89574,8 +89657,8 @@ }, "object": { "type": "ThisExpression", - "start": 20262, - "end": 20266, + "start": 20480, + "end": 20484, "loc": { "start": { "line": 561, @@ -89589,8 +89672,8 @@ }, "property": { "type": "Identifier", - "start": 20267, - "end": 20275, + "start": 20485, + "end": 20493, "loc": { "start": { "line": 561, @@ -89608,8 +89691,8 @@ }, "property": { "type": "Identifier", - "start": 20276, - "end": 20285, + "start": 20494, + "end": 20503, "loc": { "start": { "line": 561, @@ -89627,8 +89710,8 @@ }, "right": { "type": "Identifier", - "start": 20289, - "end": 20296, + "start": 20507, + "end": 20514, "loc": { "start": { "line": 561, @@ -89646,8 +89729,8 @@ }, { "type": "ExpressionStatement", - "start": 20306, - "end": 20338, + "start": 20524, + "end": 20556, "loc": { "start": { "line": 562, @@ -89660,8 +89743,8 @@ }, "expression": { "type": "CallExpression", - "start": 20306, - "end": 20337, + "start": 20524, + "end": 20555, "loc": { "start": { "line": 562, @@ -89674,8 +89757,8 @@ }, "callee": { "type": "MemberExpression", - "start": 20306, - "end": 20328, + "start": 20524, + "end": 20546, "loc": { "start": { "line": 562, @@ -89688,8 +89771,8 @@ }, "object": { "type": "MemberExpression", - "start": 20306, - "end": 20323, + "start": 20524, + "end": 20541, "loc": { "start": { "line": 562, @@ -89702,8 +89785,8 @@ }, "object": { "type": "ThisExpression", - "start": 20306, - "end": 20310, + "start": 20524, + "end": 20528, "loc": { "start": { "line": 562, @@ -89717,8 +89800,8 @@ }, "property": { "type": "Identifier", - "start": 20311, - "end": 20323, + "start": 20529, + "end": 20541, "loc": { "start": { "line": 562, @@ -89736,8 +89819,8 @@ }, "property": { "type": "Identifier", - "start": 20324, - "end": 20328, + "start": 20542, + "end": 20546, "loc": { "start": { "line": 562, @@ -89756,8 +89839,8 @@ "arguments": [ { "type": "Identifier", - "start": 20329, - "end": 20336, + "start": 20547, + "end": 20554, "loc": { "start": { "line": 562, @@ -89776,8 +89859,8 @@ }, { "type": "ReturnStatement", - "start": 20348, - "end": 20363, + "start": 20566, + "end": 20581, "loc": { "start": { "line": 564, @@ -89790,8 +89873,8 @@ }, "argument": { "type": "Identifier", - "start": 20355, - "end": 20362, + "start": 20573, + "end": 20580, "loc": { "start": { "line": 564, @@ -89814,8 +89897,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTexture} within this XKTModel.\n *\n * Registers the new {@link XKTTexture} in {@link XKTModel#textures} and {@link XKTModel#texturesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureId Unique ID for the {@link XKTTexture}.\n * @param {String} [params.src] Source of an image file for the texture.\n * @param {Buffer} [params.imageData] Image data for the texture.\n * @param {Number} [params.mediaType] Media type (ie. MIME type) of ````imageData````. Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n * @param {Number} [params.width] Texture width, used with ````imageData````. Ignored for compressed textures.\n * @param {Number} [params.height] Texture height, used with ````imageData````. Ignored for compressed textures.\n * @param {Boolean} [params.compressed=true] Whether to compress the texture.\n * @param {Number} [params.minFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers less than one pixel. Supported\n * values are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter}, {@link NearestMipMapNearestFilter},\n * {@link NearestMipMapLinearFilter} and {@link LinearMipMapLinearFilter}. Ignored for compressed textures.\n * @param {Number} [params.magFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}. Ignored for compressed textures.\n * @param {Number} [params.wrapS=RepeatWrapping] Wrap parameter for texture coordinate *S*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @param {Number} [params.wrapT=RepeatWrapping] Wrap parameter for texture coordinate *T*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * {@param {Number} [params.wrapR=RepeatWrapping] Wrap parameter for texture coordinate *R*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @returns {XKTTexture} The new {@link XKTTexture}.\n ", - "start": 16174, - "end": 18662, + "start": 16317, + "end": 18805, "loc": { "start": { "line": 484, @@ -89832,8 +89915,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTextureSet} within this XKTModel.\n *\n * Registers the new {@link XKTTextureSet} in {@link XKTModel#textureSets} and {@link XKTModel#.textureSetsList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureSetId Unique ID for the {@link XKTTextureSet}.\n * @param {*} [params.colorTextureId] ID of *RGBA* base color {@link XKTTexture}, with color in *RGB* and alpha in *A*.\n * @param {*} [params.metallicRoughnessTextureId] ID of *RGBA* metal-roughness {@link XKTTexture}, with the metallic factor in *R*, and roughness factor in *G*.\n * @param {*} [params.normalsTextureId] ID of *RGBA* normal {@link XKTTexture}, with normal map vectors in *RGB*.\n * @param {*} [params.emissiveTextureId] ID of *RGBA* emissive {@link XKTTexture}, with emissive color in *RGB*.\n * @param {*} [params.occlusionTextureId] ID of *RGBA* occlusion {@link XKTTexture}, with occlusion factor in *R*.\n * @returns {XKTTextureSet} The new {@link XKTTextureSet}.\n ", - "start": 20375, - "end": 21526, + "start": 20593, + "end": 21744, "loc": { "start": { "line": 567, @@ -89849,8 +89932,8 @@ }, { "type": "ClassMethod", - "start": 21531, - "end": 24972, + "start": 21749, + "end": 25246, "loc": { "start": { "line": 583, @@ -89865,8 +89948,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 21531, - "end": 21547, + "start": 21749, + "end": 21765, "loc": { "start": { "line": 583, @@ -89889,8 +89972,8 @@ "params": [ { "type": "Identifier", - "start": 21548, - "end": 21554, + "start": 21766, + "end": 21772, "loc": { "start": { "line": 583, @@ -89907,8 +89990,8 @@ ], "body": { "type": "BlockStatement", - "start": 21556, - "end": 24972, + "start": 21774, + "end": 25246, "loc": { "start": { "line": 583, @@ -89922,8 +90005,8 @@ "body": [ { "type": "IfStatement", - "start": 21567, - "end": 21640, + "start": 21785, + "end": 21886, "loc": { "start": { "line": 585, @@ -89936,8 +90019,8 @@ }, "test": { "type": "UnaryExpression", - "start": 21571, - "end": 21578, + "start": 21789, + "end": 21796, "loc": { "start": { "line": 585, @@ -89952,8 +90035,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 21572, - "end": 21578, + "start": 21790, + "end": 21796, "loc": { "start": { "line": 585, @@ -89973,8 +90056,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 21580, - "end": 21640, + "start": 21798, + "end": 21886, "loc": { "start": { "line": 585, @@ -89988,8 +90071,8 @@ "body": [ { "type": "ThrowStatement", - "start": 21594, - "end": 21630, + "start": 21812, + "end": 21876, "loc": { "start": { "line": 586, @@ -89997,13 +90080,13 @@ }, "end": { "line": 586, - "column": 48 + "column": 76 } }, "argument": { "type": "StringLiteral", - "start": 21600, - "end": 21629, + "start": 21818, + "end": 21875, "loc": { "start": { "line": 586, @@ -90011,14 +90094,14 @@ }, "end": { "line": 586, - "column": 47 + "column": 75 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createTextureSet] Parameters expected: params", + "raw": "\"[XKTModel.createTextureSet] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createTextureSet] Parameters expected: params" } } ], @@ -90028,8 +90111,8 @@ }, { "type": "IfStatement", - "start": 21650, - "end": 21793, + "start": 21896, + "end": 22067, "loc": { "start": { "line": 589, @@ -90042,8 +90125,8 @@ }, "test": { "type": "LogicalExpression", - "start": 21654, - "end": 21719, + "start": 21900, + "end": 21965, "loc": { "start": { "line": 589, @@ -90056,8 +90139,8 @@ }, "left": { "type": "BinaryExpression", - "start": 21654, - "end": 21682, + "start": 21900, + "end": 21928, "loc": { "start": { "line": 589, @@ -90070,8 +90153,8 @@ }, "left": { "type": "MemberExpression", - "start": 21654, - "end": 21673, + "start": 21900, + "end": 21919, "loc": { "start": { "line": 589, @@ -90084,8 +90167,8 @@ }, "object": { "type": "Identifier", - "start": 21654, - "end": 21660, + "start": 21900, + "end": 21906, "loc": { "start": { "line": 589, @@ -90101,8 +90184,8 @@ }, "property": { "type": "Identifier", - "start": 21661, - "end": 21673, + "start": 21907, + "end": 21919, "loc": { "start": { "line": 589, @@ -90121,8 +90204,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 21678, - "end": 21682, + "start": 21924, + "end": 21928, "loc": { "start": { "line": 589, @@ -90138,8 +90221,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 21686, - "end": 21719, + "start": 21932, + "end": 21965, "loc": { "start": { "line": 589, @@ -90152,8 +90235,8 @@ }, "left": { "type": "MemberExpression", - "start": 21686, - "end": 21705, + "start": 21932, + "end": 21951, "loc": { "start": { "line": 589, @@ -90166,8 +90249,8 @@ }, "object": { "type": "Identifier", - "start": 21686, - "end": 21692, + "start": 21932, + "end": 21938, "loc": { "start": { "line": 589, @@ -90183,8 +90266,8 @@ }, "property": { "type": "Identifier", - "start": 21693, - "end": 21705, + "start": 21939, + "end": 21951, "loc": { "start": { "line": 589, @@ -90203,8 +90286,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 21710, - "end": 21719, + "start": 21956, + "end": 21965, "loc": { "start": { "line": 589, @@ -90222,8 +90305,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 21721, - "end": 21793, + "start": 21967, + "end": 22067, "loc": { "start": { "line": 589, @@ -90237,8 +90320,8 @@ "body": [ { "type": "ThrowStatement", - "start": 21735, - "end": 21783, + "start": 21981, + "end": 22057, "loc": { "start": { "line": 590, @@ -90246,13 +90329,13 @@ }, "end": { "line": 590, - "column": 60 + "column": 88 } }, "argument": { "type": "StringLiteral", - "start": 21741, - "end": 21782, + "start": 21987, + "end": 22056, "loc": { "start": { "line": 590, @@ -90260,14 +90343,14 @@ }, "end": { "line": 590, - "column": 59 + "column": 87 } }, "extra": { - "rawValue": "Parameter expected: params.textureSetId", - "raw": "\"Parameter expected: params.textureSetId\"" + "rawValue": "[XKTModel.createTextureSet] Parameter expected: params.textureSetId", + "raw": "\"[XKTModel.createTextureSet] Parameter expected: params.textureSetId\"" }, - "value": "Parameter expected: params.textureSetId" + "value": "[XKTModel.createTextureSet] Parameter expected: params.textureSetId" } } ], @@ -90277,8 +90360,8 @@ }, { "type": "IfStatement", - "start": 21803, - "end": 21940, + "start": 22077, + "end": 22214, "loc": { "start": { "line": 593, @@ -90291,8 +90374,8 @@ }, "test": { "type": "MemberExpression", - "start": 21807, - "end": 21821, + "start": 22081, + "end": 22095, "loc": { "start": { "line": 593, @@ -90305,8 +90388,8 @@ }, "object": { "type": "ThisExpression", - "start": 21807, - "end": 21811, + "start": 22081, + "end": 22085, "loc": { "start": { "line": 593, @@ -90320,8 +90403,8 @@ }, "property": { "type": "Identifier", - "start": 21812, - "end": 21821, + "start": 22086, + "end": 22095, "loc": { "start": { "line": 593, @@ -90339,8 +90422,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 21823, - "end": 21940, + "start": 22097, + "end": 22214, "loc": { "start": { "line": 593, @@ -90354,8 +90437,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 21837, - "end": 21910, + "start": 22111, + "end": 22184, "loc": { "start": { "line": 594, @@ -90368,8 +90451,8 @@ }, "expression": { "type": "CallExpression", - "start": 21837, - "end": 21909, + "start": 22111, + "end": 22183, "loc": { "start": { "line": 594, @@ -90382,8 +90465,8 @@ }, "callee": { "type": "MemberExpression", - "start": 21837, - "end": 21850, + "start": 22111, + "end": 22124, "loc": { "start": { "line": 594, @@ -90396,8 +90479,8 @@ }, "object": { "type": "Identifier", - "start": 21837, - "end": 21844, + "start": 22111, + "end": 22118, "loc": { "start": { "line": 594, @@ -90413,8 +90496,8 @@ }, "property": { "type": "Identifier", - "start": 21845, - "end": 21850, + "start": 22119, + "end": 22124, "loc": { "start": { "line": 594, @@ -90433,8 +90516,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 21851, - "end": 21908, + "start": 22125, + "end": 22182, "loc": { "start": { "line": 594, @@ -90456,8 +90539,8 @@ }, { "type": "ReturnStatement", - "start": 21923, - "end": 21930, + "start": 22197, + "end": 22204, "loc": { "start": { "line": 595, @@ -90477,8 +90560,8 @@ }, { "type": "IfStatement", - "start": 21950, - "end": 22120, + "start": 22224, + "end": 22394, "loc": { "start": { "line": 598, @@ -90491,8 +90574,8 @@ }, "test": { "type": "MemberExpression", - "start": 21954, - "end": 21991, + "start": 22228, + "end": 22265, "loc": { "start": { "line": 598, @@ -90505,8 +90588,8 @@ }, "object": { "type": "MemberExpression", - "start": 21954, - "end": 21970, + "start": 22228, + "end": 22244, "loc": { "start": { "line": 598, @@ -90519,8 +90602,8 @@ }, "object": { "type": "ThisExpression", - "start": 21954, - "end": 21958, + "start": 22228, + "end": 22232, "loc": { "start": { "line": 598, @@ -90534,8 +90617,8 @@ }, "property": { "type": "Identifier", - "start": 21959, - "end": 21970, + "start": 22233, + "end": 22244, "loc": { "start": { "line": 598, @@ -90553,8 +90636,8 @@ }, "property": { "type": "MemberExpression", - "start": 21971, - "end": 21990, + "start": 22245, + "end": 22264, "loc": { "start": { "line": 598, @@ -90567,8 +90650,8 @@ }, "object": { "type": "Identifier", - "start": 21971, - "end": 21977, + "start": 22245, + "end": 22251, "loc": { "start": { "line": 598, @@ -90584,8 +90667,8 @@ }, "property": { "type": "Identifier", - "start": 21978, - "end": 21990, + "start": 22252, + "end": 22264, "loc": { "start": { "line": 598, @@ -90605,8 +90688,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 21993, - "end": 22120, + "start": 22267, + "end": 22394, "loc": { "start": { "line": 598, @@ -90620,8 +90703,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 22007, - "end": 22090, + "start": 22281, + "end": 22364, "loc": { "start": { "line": 599, @@ -90634,8 +90717,8 @@ }, "expression": { "type": "CallExpression", - "start": 22007, - "end": 22089, + "start": 22281, + "end": 22363, "loc": { "start": { "line": 599, @@ -90648,8 +90731,8 @@ }, "callee": { "type": "MemberExpression", - "start": 22007, - "end": 22020, + "start": 22281, + "end": 22294, "loc": { "start": { "line": 599, @@ -90662,8 +90745,8 @@ }, "object": { "type": "Identifier", - "start": 22007, - "end": 22014, + "start": 22281, + "end": 22288, "loc": { "start": { "line": 599, @@ -90679,8 +90762,8 @@ }, "property": { "type": "Identifier", - "start": 22015, - "end": 22020, + "start": 22289, + "end": 22294, "loc": { "start": { "line": 599, @@ -90699,8 +90782,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 22021, - "end": 22088, + "start": 22295, + "end": 22362, "loc": { "start": { "line": 599, @@ -90713,8 +90796,8 @@ }, "left": { "type": "StringLiteral", - "start": 22021, - "end": 22066, + "start": 22295, + "end": 22340, "loc": { "start": { "line": 599, @@ -90734,8 +90817,8 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 22069, - "end": 22088, + "start": 22343, + "end": 22362, "loc": { "start": { "line": 599, @@ -90748,8 +90831,8 @@ }, "object": { "type": "Identifier", - "start": 22069, - "end": 22075, + "start": 22343, + "end": 22349, "loc": { "start": { "line": 599, @@ -90765,8 +90848,8 @@ }, "property": { "type": "Identifier", - "start": 22076, - "end": 22088, + "start": 22350, + "end": 22362, "loc": { "start": { "line": 599, @@ -90788,8 +90871,8 @@ }, { "type": "ReturnStatement", - "start": 22103, - "end": 22110, + "start": 22377, + "end": 22384, "loc": { "start": { "line": 600, @@ -90809,8 +90892,8 @@ }, { "type": "VariableDeclaration", - "start": 22130, - "end": 22147, + "start": 22404, + "end": 22421, "loc": { "start": { "line": 603, @@ -90824,8 +90907,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 22134, - "end": 22146, + "start": 22408, + "end": 22420, "loc": { "start": { "line": 603, @@ -90838,8 +90921,8 @@ }, "id": { "type": "Identifier", - "start": 22134, - "end": 22146, + "start": 22408, + "end": 22420, "loc": { "start": { "line": 603, @@ -90860,8 +90943,8 @@ }, { "type": "IfStatement", - "start": 22156, - "end": 22561, + "start": 22430, + "end": 22835, "loc": { "start": { "line": 604, @@ -90874,8 +90957,8 @@ }, "test": { "type": "LogicalExpression", - "start": 22160, - "end": 22229, + "start": 22434, + "end": 22503, "loc": { "start": { "line": 604, @@ -90888,8 +90971,8 @@ }, "left": { "type": "BinaryExpression", - "start": 22160, - "end": 22195, + "start": 22434, + "end": 22469, "loc": { "start": { "line": 604, @@ -90902,8 +90985,8 @@ }, "left": { "type": "MemberExpression", - "start": 22160, - "end": 22181, + "start": 22434, + "end": 22455, "loc": { "start": { "line": 604, @@ -90916,8 +90999,8 @@ }, "object": { "type": "Identifier", - "start": 22160, - "end": 22166, + "start": 22434, + "end": 22440, "loc": { "start": { "line": 604, @@ -90933,8 +91016,8 @@ }, "property": { "type": "Identifier", - "start": 22167, - "end": 22181, + "start": 22441, + "end": 22455, "loc": { "start": { "line": 604, @@ -90953,8 +91036,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 22186, - "end": 22195, + "start": 22460, + "end": 22469, "loc": { "start": { "line": 604, @@ -90972,8 +91055,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 22199, - "end": 22229, + "start": 22473, + "end": 22503, "loc": { "start": { "line": 604, @@ -90986,8 +91069,8 @@ }, "left": { "type": "MemberExpression", - "start": 22199, - "end": 22220, + "start": 22473, + "end": 22494, "loc": { "start": { "line": 604, @@ -91000,8 +91083,8 @@ }, "object": { "type": "Identifier", - "start": 22199, - "end": 22205, + "start": 22473, + "end": 22479, "loc": { "start": { "line": 604, @@ -91017,8 +91100,8 @@ }, "property": { "type": "Identifier", - "start": 22206, - "end": 22220, + "start": 22480, + "end": 22494, "loc": { "start": { "line": 604, @@ -91037,8 +91120,8 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 22225, - "end": 22229, + "start": 22499, + "end": 22503, "loc": { "start": { "line": 604, @@ -91054,8 +91137,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 22231, - "end": 22561, + "start": 22505, + "end": 22835, "loc": { "start": { "line": 604, @@ -91069,8 +91152,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 22245, - "end": 22297, + "start": 22519, + "end": 22571, "loc": { "start": { "line": 605, @@ -91083,8 +91166,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 22245, - "end": 22296, + "start": 22519, + "end": 22570, "loc": { "start": { "line": 605, @@ -91098,8 +91181,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 22245, - "end": 22257, + "start": 22519, + "end": 22531, "loc": { "start": { "line": 605, @@ -91115,8 +91198,8 @@ }, "right": { "type": "MemberExpression", - "start": 22260, - "end": 22296, + "start": 22534, + "end": 22570, "loc": { "start": { "line": 605, @@ -91129,8 +91212,8 @@ }, "object": { "type": "MemberExpression", - "start": 22260, - "end": 22273, + "start": 22534, + "end": 22547, "loc": { "start": { "line": 605, @@ -91143,8 +91226,8 @@ }, "object": { "type": "ThisExpression", - "start": 22260, - "end": 22264, + "start": 22534, + "end": 22538, "loc": { "start": { "line": 605, @@ -91158,8 +91241,8 @@ }, "property": { "type": "Identifier", - "start": 22265, - "end": 22273, + "start": 22539, + "end": 22547, "loc": { "start": { "line": 605, @@ -91177,8 +91260,8 @@ }, "property": { "type": "MemberExpression", - "start": 22274, - "end": 22295, + "start": 22548, + "end": 22569, "loc": { "start": { "line": 605, @@ -91191,8 +91274,8 @@ }, "object": { "type": "Identifier", - "start": 22274, - "end": 22280, + "start": 22548, + "end": 22554, "loc": { "start": { "line": 605, @@ -91208,8 +91291,8 @@ }, "property": { "type": "Identifier", - "start": 22281, - "end": 22295, + "start": 22555, + "end": 22569, "loc": { "start": { "line": 605, @@ -91231,8 +91314,8 @@ }, { "type": "IfStatement", - "start": 22310, - "end": 22501, + "start": 22584, + "end": 22775, "loc": { "start": { "line": 606, @@ -91245,8 +91328,8 @@ }, "test": { "type": "UnaryExpression", - "start": 22314, - "end": 22327, + "start": 22588, + "end": 22601, "loc": { "start": { "line": 606, @@ -91261,8 +91344,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 22315, - "end": 22327, + "start": 22589, + "end": 22601, "loc": { "start": { "line": 606, @@ -91282,8 +91365,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 22329, - "end": 22501, + "start": 22603, + "end": 22775, "loc": { "start": { "line": 606, @@ -91297,8 +91380,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 22347, - "end": 22463, + "start": 22621, + "end": 22737, "loc": { "start": { "line": 607, @@ -91311,8 +91394,8 @@ }, "expression": { "type": "CallExpression", - "start": 22347, - "end": 22462, + "start": 22621, + "end": 22736, "loc": { "start": { "line": 607, @@ -91325,8 +91408,8 @@ }, "callee": { "type": "MemberExpression", - "start": 22347, - "end": 22360, + "start": 22621, + "end": 22634, "loc": { "start": { "line": 607, @@ -91339,8 +91422,8 @@ }, "object": { "type": "Identifier", - "start": 22347, - "end": 22354, + "start": 22621, + "end": 22628, "loc": { "start": { "line": 607, @@ -91356,8 +91439,8 @@ }, "property": { "type": "Identifier", - "start": 22355, - "end": 22360, + "start": 22629, + "end": 22634, "loc": { "start": { "line": 607, @@ -91376,8 +91459,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 22361, - "end": 22461, + "start": 22635, + "end": 22735, "loc": { "start": { "line": 607, @@ -91391,8 +91474,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 22383, - "end": 22404, + "start": 22657, + "end": 22678, "loc": { "start": { "line": 607, @@ -91405,8 +91488,8 @@ }, "object": { "type": "Identifier", - "start": 22383, - "end": 22389, + "start": 22657, + "end": 22663, "loc": { "start": { "line": 607, @@ -91422,8 +91505,8 @@ }, "property": { "type": "Identifier", - "start": 22390, - "end": 22404, + "start": 22664, + "end": 22678, "loc": { "start": { "line": 607, @@ -91443,8 +91526,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 22362, - "end": 22381, + "start": 22636, + "end": 22655, "loc": { "start": { "line": 607, @@ -91463,8 +91546,8 @@ }, { "type": "TemplateElement", - "start": 22405, - "end": 22460, + "start": 22679, + "end": 22734, "loc": { "start": { "line": 607, @@ -91488,8 +91571,8 @@ }, { "type": "ReturnStatement", - "start": 22480, - "end": 22487, + "start": 22754, + "end": 22761, "loc": { "start": { "line": 608, @@ -91509,8 +91592,8 @@ }, { "type": "ExpressionStatement", - "start": 22514, - "end": 22551, + "start": 22788, + "end": 22825, "loc": { "start": { "line": 610, @@ -91523,8 +91606,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 22514, - "end": 22550, + "start": 22788, + "end": 22824, "loc": { "start": { "line": 610, @@ -91538,8 +91621,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 22514, - "end": 22534, + "start": 22788, + "end": 22808, "loc": { "start": { "line": 610, @@ -91552,8 +91635,8 @@ }, "object": { "type": "Identifier", - "start": 22514, - "end": 22526, + "start": 22788, + "end": 22800, "loc": { "start": { "line": 610, @@ -91569,8 +91652,8 @@ }, "property": { "type": "Identifier", - "start": 22527, - "end": 22534, + "start": 22801, + "end": 22808, "loc": { "start": { "line": 610, @@ -91588,8 +91671,8 @@ }, "right": { "type": "Identifier", - "start": 22537, - "end": 22550, + "start": 22811, + "end": 22824, "loc": { "start": { "line": 610, @@ -91612,8 +91695,8 @@ }, { "type": "VariableDeclaration", - "start": 22571, - "end": 22600, + "start": 22845, + "end": 22874, "loc": { "start": { "line": 613, @@ -91627,8 +91710,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 22575, - "end": 22599, + "start": 22849, + "end": 22873, "loc": { "start": { "line": 613, @@ -91641,8 +91724,8 @@ }, "id": { "type": "Identifier", - "start": 22575, - "end": 22599, + "start": 22849, + "end": 22873, "loc": { "start": { "line": 613, @@ -91663,8 +91746,8 @@ }, { "type": "IfStatement", - "start": 22609, - "end": 23111, + "start": 22883, + "end": 23385, "loc": { "start": { "line": 614, @@ -91677,8 +91760,8 @@ }, "test": { "type": "LogicalExpression", - "start": 22613, - "end": 22706, + "start": 22887, + "end": 22980, "loc": { "start": { "line": 614, @@ -91691,8 +91774,8 @@ }, "left": { "type": "BinaryExpression", - "start": 22613, - "end": 22660, + "start": 22887, + "end": 22934, "loc": { "start": { "line": 614, @@ -91705,8 +91788,8 @@ }, "left": { "type": "MemberExpression", - "start": 22613, - "end": 22646, + "start": 22887, + "end": 22920, "loc": { "start": { "line": 614, @@ -91719,8 +91802,8 @@ }, "object": { "type": "Identifier", - "start": 22613, - "end": 22619, + "start": 22887, + "end": 22893, "loc": { "start": { "line": 614, @@ -91736,8 +91819,8 @@ }, "property": { "type": "Identifier", - "start": 22620, - "end": 22646, + "start": 22894, + "end": 22920, "loc": { "start": { "line": 614, @@ -91756,8 +91839,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 22651, - "end": 22660, + "start": 22925, + "end": 22934, "loc": { "start": { "line": 614, @@ -91775,8 +91858,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 22664, - "end": 22706, + "start": 22938, + "end": 22980, "loc": { "start": { "line": 614, @@ -91789,8 +91872,8 @@ }, "left": { "type": "MemberExpression", - "start": 22664, - "end": 22697, + "start": 22938, + "end": 22971, "loc": { "start": { "line": 614, @@ -91803,8 +91886,8 @@ }, "object": { "type": "Identifier", - "start": 22664, - "end": 22670, + "start": 22938, + "end": 22944, "loc": { "start": { "line": 614, @@ -91820,8 +91903,8 @@ }, "property": { "type": "Identifier", - "start": 22671, - "end": 22697, + "start": 22945, + "end": 22971, "loc": { "start": { "line": 614, @@ -91840,8 +91923,8 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 22702, - "end": 22706, + "start": 22976, + "end": 22980, "loc": { "start": { "line": 614, @@ -91857,8 +91940,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 22708, - "end": 23111, + "start": 22982, + "end": 23385, "loc": { "start": { "line": 614, @@ -91872,8 +91955,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 22722, - "end": 22798, + "start": 22996, + "end": 23072, "loc": { "start": { "line": 615, @@ -91886,8 +91969,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 22722, - "end": 22797, + "start": 22996, + "end": 23071, "loc": { "start": { "line": 615, @@ -91901,8 +91984,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 22722, - "end": 22746, + "start": 22996, + "end": 23020, "loc": { "start": { "line": 615, @@ -91918,8 +92001,8 @@ }, "right": { "type": "MemberExpression", - "start": 22749, - "end": 22797, + "start": 23023, + "end": 23071, "loc": { "start": { "line": 615, @@ -91932,8 +92015,8 @@ }, "object": { "type": "MemberExpression", - "start": 22749, - "end": 22762, + "start": 23023, + "end": 23036, "loc": { "start": { "line": 615, @@ -91946,8 +92029,8 @@ }, "object": { "type": "ThisExpression", - "start": 22749, - "end": 22753, + "start": 23023, + "end": 23027, "loc": { "start": { "line": 615, @@ -91961,8 +92044,8 @@ }, "property": { "type": "Identifier", - "start": 22754, - "end": 22762, + "start": 23028, + "end": 23036, "loc": { "start": { "line": 615, @@ -91980,8 +92063,8 @@ }, "property": { "type": "MemberExpression", - "start": 22763, - "end": 22796, + "start": 23037, + "end": 23070, "loc": { "start": { "line": 615, @@ -91994,8 +92077,8 @@ }, "object": { "type": "Identifier", - "start": 22763, - "end": 22769, + "start": 23037, + "end": 23043, "loc": { "start": { "line": 615, @@ -92011,8 +92094,8 @@ }, "property": { "type": "Identifier", - "start": 22770, - "end": 22796, + "start": 23044, + "end": 23070, "loc": { "start": { "line": 615, @@ -92034,8 +92117,8 @@ }, { "type": "IfStatement", - "start": 22811, - "end": 23026, + "start": 23085, + "end": 23300, "loc": { "start": { "line": 616, @@ -92048,8 +92131,8 @@ }, "test": { "type": "UnaryExpression", - "start": 22815, - "end": 22840, + "start": 23089, + "end": 23114, "loc": { "start": { "line": 616, @@ -92064,8 +92147,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 22816, - "end": 22840, + "start": 23090, + "end": 23114, "loc": { "start": { "line": 616, @@ -92085,8 +92168,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 22842, - "end": 23026, + "start": 23116, + "end": 23300, "loc": { "start": { "line": 616, @@ -92100,8 +92183,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 22860, - "end": 22988, + "start": 23134, + "end": 23262, "loc": { "start": { "line": 617, @@ -92114,8 +92197,8 @@ }, "expression": { "type": "CallExpression", - "start": 22860, - "end": 22987, + "start": 23134, + "end": 23261, "loc": { "start": { "line": 617, @@ -92128,8 +92211,8 @@ }, "callee": { "type": "MemberExpression", - "start": 22860, - "end": 22873, + "start": 23134, + "end": 23147, "loc": { "start": { "line": 617, @@ -92142,8 +92225,8 @@ }, "object": { "type": "Identifier", - "start": 22860, - "end": 22867, + "start": 23134, + "end": 23141, "loc": { "start": { "line": 617, @@ -92159,8 +92242,8 @@ }, "property": { "type": "Identifier", - "start": 22868, - "end": 22873, + "start": 23142, + "end": 23147, "loc": { "start": { "line": 617, @@ -92179,8 +92262,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 22874, - "end": 22986, + "start": 23148, + "end": 23260, "loc": { "start": { "line": 617, @@ -92194,8 +92277,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 22896, - "end": 22929, + "start": 23170, + "end": 23203, "loc": { "start": { "line": 617, @@ -92208,8 +92291,8 @@ }, "object": { "type": "Identifier", - "start": 22896, - "end": 22902, + "start": 23170, + "end": 23176, "loc": { "start": { "line": 617, @@ -92225,8 +92308,8 @@ }, "property": { "type": "Identifier", - "start": 22903, - "end": 22929, + "start": 23177, + "end": 23203, "loc": { "start": { "line": 617, @@ -92246,8 +92329,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 22875, - "end": 22894, + "start": 23149, + "end": 23168, "loc": { "start": { "line": 617, @@ -92266,8 +92349,8 @@ }, { "type": "TemplateElement", - "start": 22930, - "end": 22985, + "start": 23204, + "end": 23259, "loc": { "start": { "line": 617, @@ -92291,8 +92374,8 @@ }, { "type": "ReturnStatement", - "start": 23005, - "end": 23012, + "start": 23279, + "end": 23286, "loc": { "start": { "line": 618, @@ -92312,8 +92395,8 @@ }, { "type": "ExpressionStatement", - "start": 23039, - "end": 23101, + "start": 23313, + "end": 23375, "loc": { "start": { "line": 620, @@ -92326,8 +92409,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 23039, - "end": 23100, + "start": 23313, + "end": 23374, "loc": { "start": { "line": 620, @@ -92341,8 +92424,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 23039, - "end": 23071, + "start": 23313, + "end": 23345, "loc": { "start": { "line": 620, @@ -92355,8 +92438,8 @@ }, "object": { "type": "Identifier", - "start": 23039, - "end": 23063, + "start": 23313, + "end": 23337, "loc": { "start": { "line": 620, @@ -92372,8 +92455,8 @@ }, "property": { "type": "Identifier", - "start": 23064, - "end": 23071, + "start": 23338, + "end": 23345, "loc": { "start": { "line": 620, @@ -92391,8 +92474,8 @@ }, "right": { "type": "Identifier", - "start": 23074, - "end": 23100, + "start": 23348, + "end": 23374, "loc": { "start": { "line": 620, @@ -92415,8 +92498,8 @@ }, { "type": "VariableDeclaration", - "start": 23121, - "end": 23140, + "start": 23395, + "end": 23414, "loc": { "start": { "line": 623, @@ -92430,8 +92513,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 23125, - "end": 23139, + "start": 23399, + "end": 23413, "loc": { "start": { "line": 623, @@ -92444,8 +92527,8 @@ }, "id": { "type": "Identifier", - "start": 23125, - "end": 23139, + "start": 23399, + "end": 23413, "loc": { "start": { "line": 623, @@ -92466,8 +92549,8 @@ }, { "type": "IfStatement", - "start": 23149, - "end": 23570, + "start": 23423, + "end": 23844, "loc": { "start": { "line": 624, @@ -92480,8 +92563,8 @@ }, "test": { "type": "LogicalExpression", - "start": 23153, - "end": 23226, + "start": 23427, + "end": 23500, "loc": { "start": { "line": 624, @@ -92494,8 +92577,8 @@ }, "left": { "type": "BinaryExpression", - "start": 23153, - "end": 23190, + "start": 23427, + "end": 23464, "loc": { "start": { "line": 624, @@ -92508,8 +92591,8 @@ }, "left": { "type": "MemberExpression", - "start": 23153, - "end": 23176, + "start": 23427, + "end": 23450, "loc": { "start": { "line": 624, @@ -92522,8 +92605,8 @@ }, "object": { "type": "Identifier", - "start": 23153, - "end": 23159, + "start": 23427, + "end": 23433, "loc": { "start": { "line": 624, @@ -92539,8 +92622,8 @@ }, "property": { "type": "Identifier", - "start": 23160, - "end": 23176, + "start": 23434, + "end": 23450, "loc": { "start": { "line": 624, @@ -92559,8 +92642,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 23181, - "end": 23190, + "start": 23455, + "end": 23464, "loc": { "start": { "line": 624, @@ -92578,8 +92661,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 23194, - "end": 23226, + "start": 23468, + "end": 23500, "loc": { "start": { "line": 624, @@ -92592,8 +92675,8 @@ }, "left": { "type": "MemberExpression", - "start": 23194, - "end": 23217, + "start": 23468, + "end": 23491, "loc": { "start": { "line": 624, @@ -92606,8 +92689,8 @@ }, "object": { "type": "Identifier", - "start": 23194, - "end": 23200, + "start": 23468, + "end": 23474, "loc": { "start": { "line": 624, @@ -92623,8 +92706,8 @@ }, "property": { "type": "Identifier", - "start": 23201, - "end": 23217, + "start": 23475, + "end": 23491, "loc": { "start": { "line": 624, @@ -92643,8 +92726,8 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 23222, - "end": 23226, + "start": 23496, + "end": 23500, "loc": { "start": { "line": 624, @@ -92660,8 +92743,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 23228, - "end": 23570, + "start": 23502, + "end": 23844, "loc": { "start": { "line": 624, @@ -92675,8 +92758,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 23242, - "end": 23298, + "start": 23516, + "end": 23572, "loc": { "start": { "line": 625, @@ -92689,8 +92772,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 23242, - "end": 23297, + "start": 23516, + "end": 23571, "loc": { "start": { "line": 625, @@ -92704,8 +92787,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 23242, - "end": 23256, + "start": 23516, + "end": 23530, "loc": { "start": { "line": 625, @@ -92721,8 +92804,8 @@ }, "right": { "type": "MemberExpression", - "start": 23259, - "end": 23297, + "start": 23533, + "end": 23571, "loc": { "start": { "line": 625, @@ -92735,8 +92818,8 @@ }, "object": { "type": "MemberExpression", - "start": 23259, - "end": 23272, + "start": 23533, + "end": 23546, "loc": { "start": { "line": 625, @@ -92749,8 +92832,8 @@ }, "object": { "type": "ThisExpression", - "start": 23259, - "end": 23263, + "start": 23533, + "end": 23537, "loc": { "start": { "line": 625, @@ -92764,8 +92847,8 @@ }, "property": { "type": "Identifier", - "start": 23264, - "end": 23272, + "start": 23538, + "end": 23546, "loc": { "start": { "line": 625, @@ -92783,8 +92866,8 @@ }, "property": { "type": "MemberExpression", - "start": 23273, - "end": 23296, + "start": 23547, + "end": 23570, "loc": { "start": { "line": 625, @@ -92797,8 +92880,8 @@ }, "object": { "type": "Identifier", - "start": 23273, - "end": 23279, + "start": 23547, + "end": 23553, "loc": { "start": { "line": 625, @@ -92814,8 +92897,8 @@ }, "property": { "type": "Identifier", - "start": 23280, - "end": 23296, + "start": 23554, + "end": 23570, "loc": { "start": { "line": 625, @@ -92837,8 +92920,8 @@ }, { "type": "IfStatement", - "start": 23311, - "end": 23506, + "start": 23585, + "end": 23780, "loc": { "start": { "line": 626, @@ -92851,8 +92934,8 @@ }, "test": { "type": "UnaryExpression", - "start": 23315, - "end": 23330, + "start": 23589, + "end": 23604, "loc": { "start": { "line": 626, @@ -92867,8 +92950,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 23316, - "end": 23330, + "start": 23590, + "end": 23604, "loc": { "start": { "line": 626, @@ -92888,8 +92971,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 23332, - "end": 23506, + "start": 23606, + "end": 23780, "loc": { "start": { "line": 626, @@ -92903,8 +92986,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 23350, - "end": 23468, + "start": 23624, + "end": 23742, "loc": { "start": { "line": 627, @@ -92917,8 +93000,8 @@ }, "expression": { "type": "CallExpression", - "start": 23350, - "end": 23467, + "start": 23624, + "end": 23741, "loc": { "start": { "line": 627, @@ -92931,8 +93014,8 @@ }, "callee": { "type": "MemberExpression", - "start": 23350, - "end": 23363, + "start": 23624, + "end": 23637, "loc": { "start": { "line": 627, @@ -92945,8 +93028,8 @@ }, "object": { "type": "Identifier", - "start": 23350, - "end": 23357, + "start": 23624, + "end": 23631, "loc": { "start": { "line": 627, @@ -92962,8 +93045,8 @@ }, "property": { "type": "Identifier", - "start": 23358, - "end": 23363, + "start": 23632, + "end": 23637, "loc": { "start": { "line": 627, @@ -92982,8 +93065,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 23364, - "end": 23466, + "start": 23638, + "end": 23740, "loc": { "start": { "line": 627, @@ -92997,8 +93080,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 23386, - "end": 23409, + "start": 23660, + "end": 23683, "loc": { "start": { "line": 627, @@ -93011,8 +93094,8 @@ }, "object": { "type": "Identifier", - "start": 23386, - "end": 23392, + "start": 23660, + "end": 23666, "loc": { "start": { "line": 627, @@ -93028,8 +93111,8 @@ }, "property": { "type": "Identifier", - "start": 23393, - "end": 23409, + "start": 23667, + "end": 23683, "loc": { "start": { "line": 627, @@ -93049,8 +93132,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 23365, - "end": 23384, + "start": 23639, + "end": 23658, "loc": { "start": { "line": 627, @@ -93069,8 +93152,8 @@ }, { "type": "TemplateElement", - "start": 23410, - "end": 23465, + "start": 23684, + "end": 23739, "loc": { "start": { "line": 627, @@ -93094,8 +93177,8 @@ }, { "type": "ReturnStatement", - "start": 23485, - "end": 23492, + "start": 23759, + "end": 23766, "loc": { "start": { "line": 628, @@ -93115,8 +93198,8 @@ }, { "type": "ExpressionStatement", - "start": 23519, - "end": 23560, + "start": 23793, + "end": 23834, "loc": { "start": { "line": 630, @@ -93129,8 +93212,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 23519, - "end": 23559, + "start": 23793, + "end": 23833, "loc": { "start": { "line": 630, @@ -93144,8 +93227,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 23519, - "end": 23541, + "start": 23793, + "end": 23815, "loc": { "start": { "line": 630, @@ -93158,8 +93241,8 @@ }, "object": { "type": "Identifier", - "start": 23519, - "end": 23533, + "start": 23793, + "end": 23807, "loc": { "start": { "line": 630, @@ -93175,8 +93258,8 @@ }, "property": { "type": "Identifier", - "start": 23534, - "end": 23541, + "start": 23808, + "end": 23815, "loc": { "start": { "line": 630, @@ -93194,8 +93277,8 @@ }, "right": { "type": "Identifier", - "start": 23544, - "end": 23559, + "start": 23818, + "end": 23833, "loc": { "start": { "line": 630, @@ -93218,8 +93301,8 @@ }, { "type": "VariableDeclaration", - "start": 23580, - "end": 23600, + "start": 23854, + "end": 23874, "loc": { "start": { "line": 633, @@ -93233,8 +93316,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 23584, - "end": 23599, + "start": 23858, + "end": 23873, "loc": { "start": { "line": 633, @@ -93247,8 +93330,8 @@ }, "id": { "type": "Identifier", - "start": 23584, - "end": 23599, + "start": 23858, + "end": 23873, "loc": { "start": { "line": 633, @@ -93269,8 +93352,8 @@ }, { "type": "IfStatement", - "start": 23609, - "end": 24038, + "start": 23883, + "end": 24312, "loc": { "start": { "line": 634, @@ -93283,8 +93366,8 @@ }, "test": { "type": "LogicalExpression", - "start": 23613, - "end": 23688, + "start": 23887, + "end": 23962, "loc": { "start": { "line": 634, @@ -93297,8 +93380,8 @@ }, "left": { "type": "BinaryExpression", - "start": 23613, - "end": 23651, + "start": 23887, + "end": 23925, "loc": { "start": { "line": 634, @@ -93311,8 +93394,8 @@ }, "left": { "type": "MemberExpression", - "start": 23613, - "end": 23637, + "start": 23887, + "end": 23911, "loc": { "start": { "line": 634, @@ -93325,8 +93408,8 @@ }, "object": { "type": "Identifier", - "start": 23613, - "end": 23619, + "start": 23887, + "end": 23893, "loc": { "start": { "line": 634, @@ -93342,8 +93425,8 @@ }, "property": { "type": "Identifier", - "start": 23620, - "end": 23637, + "start": 23894, + "end": 23911, "loc": { "start": { "line": 634, @@ -93362,8 +93445,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 23642, - "end": 23651, + "start": 23916, + "end": 23925, "loc": { "start": { "line": 634, @@ -93381,8 +93464,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 23655, - "end": 23688, + "start": 23929, + "end": 23962, "loc": { "start": { "line": 634, @@ -93395,8 +93478,8 @@ }, "left": { "type": "MemberExpression", - "start": 23655, - "end": 23679, + "start": 23929, + "end": 23953, "loc": { "start": { "line": 634, @@ -93409,8 +93492,8 @@ }, "object": { "type": "Identifier", - "start": 23655, - "end": 23661, + "start": 23929, + "end": 23935, "loc": { "start": { "line": 634, @@ -93426,8 +93509,8 @@ }, "property": { "type": "Identifier", - "start": 23662, - "end": 23679, + "start": 23936, + "end": 23953, "loc": { "start": { "line": 634, @@ -93446,8 +93529,8 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 23684, - "end": 23688, + "start": 23958, + "end": 23962, "loc": { "start": { "line": 634, @@ -93463,8 +93546,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 23690, - "end": 24038, + "start": 23964, + "end": 24312, "loc": { "start": { "line": 634, @@ -93478,8 +93561,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 23704, - "end": 23762, + "start": 23978, + "end": 24036, "loc": { "start": { "line": 635, @@ -93492,8 +93575,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 23704, - "end": 23761, + "start": 23978, + "end": 24035, "loc": { "start": { "line": 635, @@ -93507,8 +93590,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 23704, - "end": 23719, + "start": 23978, + "end": 23993, "loc": { "start": { "line": 635, @@ -93524,8 +93607,8 @@ }, "right": { "type": "MemberExpression", - "start": 23722, - "end": 23761, + "start": 23996, + "end": 24035, "loc": { "start": { "line": 635, @@ -93538,8 +93621,8 @@ }, "object": { "type": "MemberExpression", - "start": 23722, - "end": 23735, + "start": 23996, + "end": 24009, "loc": { "start": { "line": 635, @@ -93552,8 +93635,8 @@ }, "object": { "type": "ThisExpression", - "start": 23722, - "end": 23726, + "start": 23996, + "end": 24000, "loc": { "start": { "line": 635, @@ -93567,8 +93650,8 @@ }, "property": { "type": "Identifier", - "start": 23727, - "end": 23735, + "start": 24001, + "end": 24009, "loc": { "start": { "line": 635, @@ -93586,8 +93669,8 @@ }, "property": { "type": "MemberExpression", - "start": 23736, - "end": 23760, + "start": 24010, + "end": 24034, "loc": { "start": { "line": 635, @@ -93600,8 +93683,8 @@ }, "object": { "type": "Identifier", - "start": 23736, - "end": 23742, + "start": 24010, + "end": 24016, "loc": { "start": { "line": 635, @@ -93617,8 +93700,8 @@ }, "property": { "type": "Identifier", - "start": 23743, - "end": 23760, + "start": 24017, + "end": 24034, "loc": { "start": { "line": 635, @@ -93640,8 +93723,8 @@ }, { "type": "IfStatement", - "start": 23775, - "end": 23972, + "start": 24049, + "end": 24246, "loc": { "start": { "line": 636, @@ -93654,8 +93737,8 @@ }, "test": { "type": "UnaryExpression", - "start": 23779, - "end": 23795, + "start": 24053, + "end": 24069, "loc": { "start": { "line": 636, @@ -93670,8 +93753,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 23780, - "end": 23795, + "start": 24054, + "end": 24069, "loc": { "start": { "line": 636, @@ -93691,8 +93774,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 23797, - "end": 23972, + "start": 24071, + "end": 24246, "loc": { "start": { "line": 636, @@ -93706,8 +93789,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 23815, - "end": 23934, + "start": 24089, + "end": 24208, "loc": { "start": { "line": 637, @@ -93720,8 +93803,8 @@ }, "expression": { "type": "CallExpression", - "start": 23815, - "end": 23933, + "start": 24089, + "end": 24207, "loc": { "start": { "line": 637, @@ -93734,8 +93817,8 @@ }, "callee": { "type": "MemberExpression", - "start": 23815, - "end": 23828, + "start": 24089, + "end": 24102, "loc": { "start": { "line": 637, @@ -93748,8 +93831,8 @@ }, "object": { "type": "Identifier", - "start": 23815, - "end": 23822, + "start": 24089, + "end": 24096, "loc": { "start": { "line": 637, @@ -93765,8 +93848,8 @@ }, "property": { "type": "Identifier", - "start": 23823, - "end": 23828, + "start": 24097, + "end": 24102, "loc": { "start": { "line": 637, @@ -93785,8 +93868,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 23829, - "end": 23932, + "start": 24103, + "end": 24206, "loc": { "start": { "line": 637, @@ -93800,8 +93883,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 23851, - "end": 23875, + "start": 24125, + "end": 24149, "loc": { "start": { "line": 637, @@ -93814,8 +93897,8 @@ }, "object": { "type": "Identifier", - "start": 23851, - "end": 23857, + "start": 24125, + "end": 24131, "loc": { "start": { "line": 637, @@ -93831,8 +93914,8 @@ }, "property": { "type": "Identifier", - "start": 23858, - "end": 23875, + "start": 24132, + "end": 24149, "loc": { "start": { "line": 637, @@ -93852,8 +93935,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 23830, - "end": 23849, + "start": 24104, + "end": 24123, "loc": { "start": { "line": 637, @@ -93872,8 +93955,8 @@ }, { "type": "TemplateElement", - "start": 23876, - "end": 23931, + "start": 24150, + "end": 24205, "loc": { "start": { "line": 637, @@ -93897,8 +93980,8 @@ }, { "type": "ReturnStatement", - "start": 23951, - "end": 23958, + "start": 24225, + "end": 24232, "loc": { "start": { "line": 638, @@ -93918,8 +94001,8 @@ }, { "type": "ExpressionStatement", - "start": 23985, - "end": 24028, + "start": 24259, + "end": 24302, "loc": { "start": { "line": 640, @@ -93932,8 +94015,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 23985, - "end": 24027, + "start": 24259, + "end": 24301, "loc": { "start": { "line": 640, @@ -93947,8 +94030,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 23985, - "end": 24008, + "start": 24259, + "end": 24282, "loc": { "start": { "line": 640, @@ -93961,8 +94044,8 @@ }, "object": { "type": "Identifier", - "start": 23985, - "end": 24000, + "start": 24259, + "end": 24274, "loc": { "start": { "line": 640, @@ -93978,8 +94061,8 @@ }, "property": { "type": "Identifier", - "start": 24001, - "end": 24008, + "start": 24275, + "end": 24282, "loc": { "start": { "line": 640, @@ -93997,8 +94080,8 @@ }, "right": { "type": "Identifier", - "start": 24011, - "end": 24027, + "start": 24285, + "end": 24301, "loc": { "start": { "line": 640, @@ -94021,8 +94104,8 @@ }, { "type": "VariableDeclaration", - "start": 24048, - "end": 24069, + "start": 24322, + "end": 24343, "loc": { "start": { "line": 643, @@ -94036,8 +94119,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 24052, - "end": 24068, + "start": 24326, + "end": 24342, "loc": { "start": { "line": 643, @@ -94050,8 +94133,8 @@ }, "id": { "type": "Identifier", - "start": 24052, - "end": 24068, + "start": 24326, + "end": 24342, "loc": { "start": { "line": 643, @@ -94072,8 +94155,8 @@ }, { "type": "IfStatement", - "start": 24078, - "end": 24515, + "start": 24352, + "end": 24789, "loc": { "start": { "line": 644, @@ -94086,8 +94169,8 @@ }, "test": { "type": "LogicalExpression", - "start": 24082, - "end": 24159, + "start": 24356, + "end": 24433, "loc": { "start": { "line": 644, @@ -94100,8 +94183,8 @@ }, "left": { "type": "BinaryExpression", - "start": 24082, - "end": 24121, + "start": 24356, + "end": 24395, "loc": { "start": { "line": 644, @@ -94114,8 +94197,8 @@ }, "left": { "type": "MemberExpression", - "start": 24082, - "end": 24107, + "start": 24356, + "end": 24381, "loc": { "start": { "line": 644, @@ -94128,8 +94211,8 @@ }, "object": { "type": "Identifier", - "start": 24082, - "end": 24088, + "start": 24356, + "end": 24362, "loc": { "start": { "line": 644, @@ -94145,8 +94228,8 @@ }, "property": { "type": "Identifier", - "start": 24089, - "end": 24107, + "start": 24363, + "end": 24381, "loc": { "start": { "line": 644, @@ -94165,8 +94248,8 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 24112, - "end": 24121, + "start": 24386, + "end": 24395, "loc": { "start": { "line": 644, @@ -94184,8 +94267,8 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 24125, - "end": 24159, + "start": 24399, + "end": 24433, "loc": { "start": { "line": 644, @@ -94198,8 +94281,8 @@ }, "left": { "type": "MemberExpression", - "start": 24125, - "end": 24150, + "start": 24399, + "end": 24424, "loc": { "start": { "line": 644, @@ -94212,8 +94295,8 @@ }, "object": { "type": "Identifier", - "start": 24125, - "end": 24131, + "start": 24399, + "end": 24405, "loc": { "start": { "line": 644, @@ -94229,8 +94312,8 @@ }, "property": { "type": "Identifier", - "start": 24132, - "end": 24150, + "start": 24406, + "end": 24424, "loc": { "start": { "line": 644, @@ -94249,8 +94332,8 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 24155, - "end": 24159, + "start": 24429, + "end": 24433, "loc": { "start": { "line": 644, @@ -94266,8 +94349,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 24161, - "end": 24515, + "start": 24435, + "end": 24789, "loc": { "start": { "line": 644, @@ -94281,8 +94364,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 24175, - "end": 24235, + "start": 24449, + "end": 24509, "loc": { "start": { "line": 645, @@ -94295,8 +94378,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 24175, - "end": 24234, + "start": 24449, + "end": 24508, "loc": { "start": { "line": 645, @@ -94310,8 +94393,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 24175, - "end": 24191, + "start": 24449, + "end": 24465, "loc": { "start": { "line": 645, @@ -94327,8 +94410,8 @@ }, "right": { "type": "MemberExpression", - "start": 24194, - "end": 24234, + "start": 24468, + "end": 24508, "loc": { "start": { "line": 645, @@ -94341,8 +94424,8 @@ }, "object": { "type": "MemberExpression", - "start": 24194, - "end": 24207, + "start": 24468, + "end": 24481, "loc": { "start": { "line": 645, @@ -94355,8 +94438,8 @@ }, "object": { "type": "ThisExpression", - "start": 24194, - "end": 24198, + "start": 24468, + "end": 24472, "loc": { "start": { "line": 645, @@ -94370,8 +94453,8 @@ }, "property": { "type": "Identifier", - "start": 24199, - "end": 24207, + "start": 24473, + "end": 24481, "loc": { "start": { "line": 645, @@ -94389,8 +94472,8 @@ }, "property": { "type": "MemberExpression", - "start": 24208, - "end": 24233, + "start": 24482, + "end": 24507, "loc": { "start": { "line": 645, @@ -94403,8 +94486,8 @@ }, "object": { "type": "Identifier", - "start": 24208, - "end": 24214, + "start": 24482, + "end": 24488, "loc": { "start": { "line": 645, @@ -94420,8 +94503,8 @@ }, "property": { "type": "Identifier", - "start": 24215, - "end": 24233, + "start": 24489, + "end": 24507, "loc": { "start": { "line": 645, @@ -94443,8 +94526,8 @@ }, { "type": "IfStatement", - "start": 24248, - "end": 24447, + "start": 24522, + "end": 24721, "loc": { "start": { "line": 646, @@ -94457,8 +94540,8 @@ }, "test": { "type": "UnaryExpression", - "start": 24252, - "end": 24269, + "start": 24526, + "end": 24543, "loc": { "start": { "line": 646, @@ -94473,8 +94556,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 24253, - "end": 24269, + "start": 24527, + "end": 24543, "loc": { "start": { "line": 646, @@ -94494,8 +94577,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 24271, - "end": 24447, + "start": 24545, + "end": 24721, "loc": { "start": { "line": 646, @@ -94509,8 +94592,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 24289, - "end": 24409, + "start": 24563, + "end": 24683, "loc": { "start": { "line": 647, @@ -94523,8 +94606,8 @@ }, "expression": { "type": "CallExpression", - "start": 24289, - "end": 24408, + "start": 24563, + "end": 24682, "loc": { "start": { "line": 647, @@ -94537,8 +94620,8 @@ }, "callee": { "type": "MemberExpression", - "start": 24289, - "end": 24302, + "start": 24563, + "end": 24576, "loc": { "start": { "line": 647, @@ -94551,8 +94634,8 @@ }, "object": { "type": "Identifier", - "start": 24289, - "end": 24296, + "start": 24563, + "end": 24570, "loc": { "start": { "line": 647, @@ -94568,8 +94651,8 @@ }, "property": { "type": "Identifier", - "start": 24297, - "end": 24302, + "start": 24571, + "end": 24576, "loc": { "start": { "line": 647, @@ -94588,8 +94671,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 24303, - "end": 24407, + "start": 24577, + "end": 24681, "loc": { "start": { "line": 647, @@ -94603,8 +94686,8 @@ "expressions": [ { "type": "MemberExpression", - "start": 24325, - "end": 24350, + "start": 24599, + "end": 24624, "loc": { "start": { "line": 647, @@ -94617,8 +94700,8 @@ }, "object": { "type": "Identifier", - "start": 24325, - "end": 24331, + "start": 24599, + "end": 24605, "loc": { "start": { "line": 647, @@ -94634,8 +94717,8 @@ }, "property": { "type": "Identifier", - "start": 24332, - "end": 24350, + "start": 24606, + "end": 24624, "loc": { "start": { "line": 647, @@ -94655,8 +94738,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 24304, - "end": 24323, + "start": 24578, + "end": 24597, "loc": { "start": { "line": 647, @@ -94675,8 +94758,8 @@ }, { "type": "TemplateElement", - "start": 24351, - "end": 24406, + "start": 24625, + "end": 24680, "loc": { "start": { "line": 647, @@ -94700,8 +94783,8 @@ }, { "type": "ReturnStatement", - "start": 24426, - "end": 24433, + "start": 24700, + "end": 24707, "loc": { "start": { "line": 648, @@ -94721,8 +94804,8 @@ }, { "type": "ExpressionStatement", - "start": 24460, - "end": 24505, + "start": 24734, + "end": 24779, "loc": { "start": { "line": 650, @@ -94735,8 +94818,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 24460, - "end": 24504, + "start": 24734, + "end": 24778, "loc": { "start": { "line": 650, @@ -94750,8 +94833,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 24460, - "end": 24484, + "start": 24734, + "end": 24758, "loc": { "start": { "line": 650, @@ -94764,8 +94847,8 @@ }, "object": { "type": "Identifier", - "start": 24460, - "end": 24476, + "start": 24734, + "end": 24750, "loc": { "start": { "line": 650, @@ -94781,8 +94864,8 @@ }, "property": { "type": "Identifier", - "start": 24477, - "end": 24484, + "start": 24751, + "end": 24758, "loc": { "start": { "line": 650, @@ -94800,8 +94883,8 @@ }, "right": { "type": "Identifier", - "start": 24487, - "end": 24504, + "start": 24761, + "end": 24778, "loc": { "start": { "line": 650, @@ -94824,8 +94907,8 @@ }, { "type": "VariableDeclaration", - "start": 24525, - "end": 24830, + "start": 24799, + "end": 25104, "loc": { "start": { "line": 653, @@ -94839,8 +94922,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 24531, - "end": 24829, + "start": 24805, + "end": 25103, "loc": { "start": { "line": 653, @@ -94853,8 +94936,8 @@ }, "id": { "type": "Identifier", - "start": 24531, - "end": 24541, + "start": 24805, + "end": 24815, "loc": { "start": { "line": 653, @@ -94870,8 +94953,8 @@ }, "init": { "type": "NewExpression", - "start": 24544, - "end": 24829, + "start": 24818, + "end": 25103, "loc": { "start": { "line": 653, @@ -94884,8 +94967,8 @@ }, "callee": { "type": "Identifier", - "start": 24548, - "end": 24561, + "start": 24822, + "end": 24835, "loc": { "start": { "line": 653, @@ -94902,8 +94985,8 @@ "arguments": [ { "type": "ObjectExpression", - "start": 24562, - "end": 24828, + "start": 24836, + "end": 25102, "loc": { "start": { "line": 653, @@ -94917,8 +95000,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 24576, - "end": 24609, + "start": 24850, + "end": 24883, "loc": { "start": { "line": 654, @@ -94934,8 +95017,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24576, - "end": 24588, + "start": 24850, + "end": 24862, "loc": { "start": { "line": 654, @@ -94951,8 +95034,8 @@ }, "value": { "type": "MemberExpression", - "start": 24590, - "end": 24609, + "start": 24864, + "end": 24883, "loc": { "start": { "line": 654, @@ -94965,8 +95048,8 @@ }, "object": { "type": "Identifier", - "start": 24590, - "end": 24596, + "start": 24864, + "end": 24870, "loc": { "start": { "line": 654, @@ -94982,8 +95065,8 @@ }, "property": { "type": "Identifier", - "start": 24597, - "end": 24609, + "start": 24871, + "end": 24883, "loc": { "start": { "line": 654, @@ -95002,8 +95085,8 @@ }, { "type": "ObjectProperty", - "start": 24623, - "end": 24667, + "start": 24897, + "end": 24941, "loc": { "start": { "line": 655, @@ -95019,8 +95102,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24623, - "end": 24638, + "start": 24897, + "end": 24912, "loc": { "start": { "line": 655, @@ -95036,8 +95119,8 @@ }, "value": { "type": "MemberExpression", - "start": 24640, - "end": 24667, + "start": 24914, + "end": 24941, "loc": { "start": { "line": 655, @@ -95050,8 +95133,8 @@ }, "object": { "type": "MemberExpression", - "start": 24640, - "end": 24660, + "start": 24914, + "end": 24934, "loc": { "start": { "line": 655, @@ -95064,8 +95147,8 @@ }, "object": { "type": "ThisExpression", - "start": 24640, - "end": 24644, + "start": 24914, + "end": 24918, "loc": { "start": { "line": 655, @@ -95079,8 +95162,8 @@ }, "property": { "type": "Identifier", - "start": 24645, - "end": 24660, + "start": 24919, + "end": 24934, "loc": { "start": { "line": 655, @@ -95098,8 +95181,8 @@ }, "property": { "type": "Identifier", - "start": 24661, - "end": 24667, + "start": 24935, + "end": 24941, "loc": { "start": { "line": 655, @@ -95118,8 +95201,8 @@ }, { "type": "ObjectProperty", - "start": 24681, - "end": 24693, + "start": 24955, + "end": 24967, "loc": { "start": { "line": 656, @@ -95135,8 +95218,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24681, - "end": 24693, + "start": 24955, + "end": 24967, "loc": { "start": { "line": 656, @@ -95152,8 +95235,8 @@ }, "value": { "type": "Identifier", - "start": 24681, - "end": 24693, + "start": 24955, + "end": 24967, "loc": { "start": { "line": 656, @@ -95173,8 +95256,8 @@ }, { "type": "ObjectProperty", - "start": 24707, - "end": 24731, + "start": 24981, + "end": 25005, "loc": { "start": { "line": 657, @@ -95190,8 +95273,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24707, - "end": 24731, + "start": 24981, + "end": 25005, "loc": { "start": { "line": 657, @@ -95207,8 +95290,8 @@ }, "value": { "type": "Identifier", - "start": 24707, - "end": 24731, + "start": 24981, + "end": 25005, "loc": { "start": { "line": 657, @@ -95228,8 +95311,8 @@ }, { "type": "ObjectProperty", - "start": 24745, - "end": 24759, + "start": 25019, + "end": 25033, "loc": { "start": { "line": 658, @@ -95245,8 +95328,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24745, - "end": 24759, + "start": 25019, + "end": 25033, "loc": { "start": { "line": 658, @@ -95262,8 +95345,8 @@ }, "value": { "type": "Identifier", - "start": 24745, - "end": 24759, + "start": 25019, + "end": 25033, "loc": { "start": { "line": 658, @@ -95283,8 +95366,8 @@ }, { "type": "ObjectProperty", - "start": 24773, - "end": 24788, + "start": 25047, + "end": 25062, "loc": { "start": { "line": 659, @@ -95300,8 +95383,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24773, - "end": 24788, + "start": 25047, + "end": 25062, "loc": { "start": { "line": 659, @@ -95317,8 +95400,8 @@ }, "value": { "type": "Identifier", - "start": 24773, - "end": 24788, + "start": 25047, + "end": 25062, "loc": { "start": { "line": 659, @@ -95338,8 +95421,8 @@ }, { "type": "ObjectProperty", - "start": 24802, - "end": 24818, + "start": 25076, + "end": 25092, "loc": { "start": { "line": 660, @@ -95355,8 +95438,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 24802, - "end": 24818, + "start": 25076, + "end": 25092, "loc": { "start": { "line": 660, @@ -95372,8 +95455,8 @@ }, "value": { "type": "Identifier", - "start": 24802, - "end": 24818, + "start": 25076, + "end": 25092, "loc": { "start": { "line": 660, @@ -95401,8 +95484,8 @@ }, { "type": "ExpressionStatement", - "start": 24840, - "end": 24891, + "start": 25114, + "end": 25165, "loc": { "start": { "line": 663, @@ -95415,8 +95498,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 24840, - "end": 24890, + "start": 25114, + "end": 25164, "loc": { "start": { "line": 663, @@ -95430,8 +95513,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 24840, - "end": 24877, + "start": 25114, + "end": 25151, "loc": { "start": { "line": 663, @@ -95444,8 +95527,8 @@ }, "object": { "type": "MemberExpression", - "start": 24840, - "end": 24856, + "start": 25114, + "end": 25130, "loc": { "start": { "line": 663, @@ -95458,8 +95541,8 @@ }, "object": { "type": "ThisExpression", - "start": 24840, - "end": 24844, + "start": 25114, + "end": 25118, "loc": { "start": { "line": 663, @@ -95473,8 +95556,8 @@ }, "property": { "type": "Identifier", - "start": 24845, - "end": 24856, + "start": 25119, + "end": 25130, "loc": { "start": { "line": 663, @@ -95492,8 +95575,8 @@ }, "property": { "type": "MemberExpression", - "start": 24857, - "end": 24876, + "start": 25131, + "end": 25150, "loc": { "start": { "line": 663, @@ -95506,8 +95589,8 @@ }, "object": { "type": "Identifier", - "start": 24857, - "end": 24863, + "start": 25131, + "end": 25137, "loc": { "start": { "line": 663, @@ -95523,8 +95606,8 @@ }, "property": { "type": "Identifier", - "start": 24864, - "end": 24876, + "start": 25138, + "end": 25150, "loc": { "start": { "line": 663, @@ -95544,8 +95627,8 @@ }, "right": { "type": "Identifier", - "start": 24880, - "end": 24890, + "start": 25154, + "end": 25164, "loc": { "start": { "line": 663, @@ -95563,8 +95646,8 @@ }, { "type": "ExpressionStatement", - "start": 24900, - "end": 24938, + "start": 25174, + "end": 25212, "loc": { "start": { "line": 664, @@ -95577,8 +95660,8 @@ }, "expression": { "type": "CallExpression", - "start": 24900, - "end": 24937, + "start": 25174, + "end": 25211, "loc": { "start": { "line": 664, @@ -95591,8 +95674,8 @@ }, "callee": { "type": "MemberExpression", - "start": 24900, - "end": 24925, + "start": 25174, + "end": 25199, "loc": { "start": { "line": 664, @@ -95605,8 +95688,8 @@ }, "object": { "type": "MemberExpression", - "start": 24900, - "end": 24920, + "start": 25174, + "end": 25194, "loc": { "start": { "line": 664, @@ -95619,8 +95702,8 @@ }, "object": { "type": "ThisExpression", - "start": 24900, - "end": 24904, + "start": 25174, + "end": 25178, "loc": { "start": { "line": 664, @@ -95634,8 +95717,8 @@ }, "property": { "type": "Identifier", - "start": 24905, - "end": 24920, + "start": 25179, + "end": 25194, "loc": { "start": { "line": 664, @@ -95653,8 +95736,8 @@ }, "property": { "type": "Identifier", - "start": 24921, - "end": 24925, + "start": 25195, + "end": 25199, "loc": { "start": { "line": 664, @@ -95673,8 +95756,8 @@ "arguments": [ { "type": "Identifier", - "start": 24926, - "end": 24936, + "start": 25200, + "end": 25210, "loc": { "start": { "line": 664, @@ -95693,8 +95776,8 @@ }, { "type": "ReturnStatement", - "start": 24948, - "end": 24966, + "start": 25222, + "end": 25240, "loc": { "start": { "line": 666, @@ -95707,8 +95790,8 @@ }, "argument": { "type": "Identifier", - "start": 24955, - "end": 24965, + "start": 25229, + "end": 25239, "loc": { "start": { "line": 666, @@ -95731,8 +95814,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTextureSet} within this XKTModel.\n *\n * Registers the new {@link XKTTextureSet} in {@link XKTModel#textureSets} and {@link XKTModel#.textureSetsList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureSetId Unique ID for the {@link XKTTextureSet}.\n * @param {*} [params.colorTextureId] ID of *RGBA* base color {@link XKTTexture}, with color in *RGB* and alpha in *A*.\n * @param {*} [params.metallicRoughnessTextureId] ID of *RGBA* metal-roughness {@link XKTTexture}, with the metallic factor in *R*, and roughness factor in *G*.\n * @param {*} [params.normalsTextureId] ID of *RGBA* normal {@link XKTTexture}, with normal map vectors in *RGB*.\n * @param {*} [params.emissiveTextureId] ID of *RGBA* emissive {@link XKTTexture}, with emissive color in *RGB*.\n * @param {*} [params.occlusionTextureId] ID of *RGBA* occlusion {@link XKTTexture}, with occlusion factor in *R*.\n * @returns {XKTTextureSet} The new {@link XKTTextureSet}.\n ", - "start": 20375, - "end": 21526, + "start": 20593, + "end": 21744, "loc": { "start": { "line": 567, @@ -95749,8 +95832,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTGeometry} within this XKTModel.\n *\n * Registers the new {@link XKTGeometry} in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.geometryId Unique ID for the {@link XKTGeometry}.\n * @param {String} params.primitiveType The type of {@link XKTGeometry}: \"triangles\", \"lines\" or \"points\".\n * @param {Float64Array} params.positions Floating-point Local-space vertex positions for the {@link XKTGeometry}. Required for all primitive types.\n * @param {Number[]} [params.normals] Floating-point vertex normals for the {@link XKTGeometry}. Only used with triangles primitives. Ignored for points and lines.\n * @param {Number[]} [params.colors] Floating-point RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.uvs] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uv````.\n * @param {Number[]} [params.uv] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uvs````.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Uint32Array} [params.indices] Indices for the {@link XKTGeometry}. Required for triangles and lines primitives. Ignored for points.\n * @param {Number} [params.edgeThreshold=10]\n * @returns {XKTGeometry} The new {@link XKTGeometry}.\n ", - "start": 24978, - "end": 26864, + "start": 25252, + "end": 27138, "loc": { "start": { "line": 669, @@ -95766,15 +95849,15 @@ }, { "type": "ClassMethod", - "start": 26869, - "end": 31579, + "start": 27143, + "end": 32094, "loc": { "start": { "line": 690, "column": 4 }, "end": { - "line": 817, + "line": 818, "column": 5 } }, @@ -95782,8 +95865,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 26869, - "end": 26883, + "start": 27143, + "end": 27157, "loc": { "start": { "line": 690, @@ -95806,8 +95889,8 @@ "params": [ { "type": "Identifier", - "start": 26884, - "end": 26890, + "start": 27158, + "end": 27164, "loc": { "start": { "line": 690, @@ -95824,23 +95907,23 @@ ], "body": { "type": "BlockStatement", - "start": 26892, - "end": 31579, + "start": 27166, + "end": 32094, "loc": { "start": { "line": 690, "column": 27 }, "end": { - "line": 817, + "line": 818, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 26903, - "end": 26976, + "start": 27177, + "end": 27276, "loc": { "start": { "line": 692, @@ -95853,8 +95936,8 @@ }, "test": { "type": "UnaryExpression", - "start": 26907, - "end": 26914, + "start": 27181, + "end": 27188, "loc": { "start": { "line": 692, @@ -95869,8 +95952,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 26908, - "end": 26914, + "start": 27182, + "end": 27188, "loc": { "start": { "line": 692, @@ -95890,8 +95973,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 26916, - "end": 26976, + "start": 27190, + "end": 27276, "loc": { "start": { "line": 692, @@ -95905,8 +95988,8 @@ "body": [ { "type": "ThrowStatement", - "start": 26930, - "end": 26966, + "start": 27204, + "end": 27266, "loc": { "start": { "line": 693, @@ -95914,13 +95997,13 @@ }, "end": { "line": 693, - "column": 48 + "column": 74 } }, "argument": { "type": "StringLiteral", - "start": 26936, - "end": 26965, + "start": 27210, + "end": 27265, "loc": { "start": { "line": 693, @@ -95928,14 +96011,14 @@ }, "end": { "line": 693, - "column": 47 + "column": 73 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createGeometry] Parameters expected: params", + "raw": "\"[XKTModel.createGeometry] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createGeometry] Parameters expected: params" } } ], @@ -95945,8 +96028,8 @@ }, { "type": "IfStatement", - "start": 26986, - "end": 27123, + "start": 27286, + "end": 27449, "loc": { "start": { "line": 696, @@ -95959,8 +96042,8 @@ }, "test": { "type": "LogicalExpression", - "start": 26990, - "end": 27051, + "start": 27290, + "end": 27351, "loc": { "start": { "line": 696, @@ -95973,8 +96056,8 @@ }, "left": { "type": "BinaryExpression", - "start": 26990, - "end": 27016, + "start": 27290, + "end": 27316, "loc": { "start": { "line": 696, @@ -95987,8 +96070,8 @@ }, "left": { "type": "MemberExpression", - "start": 26990, - "end": 27007, + "start": 27290, + "end": 27307, "loc": { "start": { "line": 696, @@ -96001,8 +96084,8 @@ }, "object": { "type": "Identifier", - "start": 26990, - "end": 26996, + "start": 27290, + "end": 27296, "loc": { "start": { "line": 696, @@ -96018,8 +96101,8 @@ }, "property": { "type": "Identifier", - "start": 26997, - "end": 27007, + "start": 27297, + "end": 27307, "loc": { "start": { "line": 696, @@ -96038,8 +96121,8 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 27012, - "end": 27016, + "start": 27312, + "end": 27316, "loc": { "start": { "line": 696, @@ -96055,8 +96138,8 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 27020, - "end": 27051, + "start": 27320, + "end": 27351, "loc": { "start": { "line": 696, @@ -96069,8 +96152,8 @@ }, "left": { "type": "MemberExpression", - "start": 27020, - "end": 27037, + "start": 27320, + "end": 27337, "loc": { "start": { "line": 696, @@ -96083,8 +96166,8 @@ }, "object": { "type": "Identifier", - "start": 27020, - "end": 27026, + "start": 27320, + "end": 27326, "loc": { "start": { "line": 696, @@ -96100,8 +96183,8 @@ }, "property": { "type": "Identifier", - "start": 27027, - "end": 27037, + "start": 27327, + "end": 27337, "loc": { "start": { "line": 696, @@ -96120,8 +96203,8 @@ "operator": "===", "right": { "type": "Identifier", - "start": 27042, - "end": 27051, + "start": 27342, + "end": 27351, "loc": { "start": { "line": 696, @@ -96139,8 +96222,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 27053, - "end": 27123, + "start": 27353, + "end": 27449, "loc": { "start": { "line": 696, @@ -96154,8 +96237,8 @@ "body": [ { "type": "ThrowStatement", - "start": 27067, - "end": 27113, + "start": 27367, + "end": 27439, "loc": { "start": { "line": 697, @@ -96163,13 +96246,13 @@ }, "end": { "line": 697, - "column": 58 + "column": 84 } }, "argument": { "type": "StringLiteral", - "start": 27073, - "end": 27112, + "start": 27373, + "end": 27438, "loc": { "start": { "line": 697, @@ -96177,14 +96260,14 @@ }, "end": { "line": 697, - "column": 57 + "column": 83 } }, "extra": { - "rawValue": "Parameter expected: params.geometryId", - "raw": "\"Parameter expected: params.geometryId\"" + "rawValue": "[XKTModel.createGeometry] Parameter expected: params.geometryId", + "raw": "\"[XKTModel.createGeometry] Parameter expected: params.geometryId\"" }, - "value": "Parameter expected: params.geometryId" + "value": "[XKTModel.createGeometry] Parameter expected: params.geometryId" } } ], @@ -96194,8 +96277,8 @@ }, { "type": "IfStatement", - "start": 27133, - "end": 27233, + "start": 27459, + "end": 27585, "loc": { "start": { "line": 700, @@ -96208,8 +96291,8 @@ }, "test": { "type": "UnaryExpression", - "start": 27137, - "end": 27158, + "start": 27463, + "end": 27484, "loc": { "start": { "line": 700, @@ -96224,8 +96307,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 27138, - "end": 27158, + "start": 27464, + "end": 27484, "loc": { "start": { "line": 700, @@ -96238,8 +96321,8 @@ }, "object": { "type": "Identifier", - "start": 27138, - "end": 27144, + "start": 27464, + "end": 27470, "loc": { "start": { "line": 700, @@ -96255,8 +96338,8 @@ }, "property": { "type": "Identifier", - "start": 27145, - "end": 27158, + "start": 27471, + "end": 27484, "loc": { "start": { "line": 700, @@ -96278,8 +96361,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 27160, - "end": 27233, + "start": 27486, + "end": 27585, "loc": { "start": { "line": 700, @@ -96293,8 +96376,8 @@ "body": [ { "type": "ThrowStatement", - "start": 27174, - "end": 27223, + "start": 27500, + "end": 27575, "loc": { "start": { "line": 701, @@ -96302,13 +96385,13 @@ }, "end": { "line": 701, - "column": 61 + "column": 87 } }, "argument": { "type": "StringLiteral", - "start": 27180, - "end": 27222, + "start": 27506, + "end": 27574, "loc": { "start": { "line": 701, @@ -96316,14 +96399,14 @@ }, "end": { "line": 701, - "column": 60 + "column": 86 } }, "extra": { - "rawValue": "Parameter expected: params.primitiveType", - "raw": "\"Parameter expected: params.primitiveType\"" + "rawValue": "[XKTModel.createGeometry] Parameter expected: params.primitiveType", + "raw": "\"[XKTModel.createGeometry] Parameter expected: params.primitiveType\"" }, - "value": "Parameter expected: params.primitiveType" + "value": "[XKTModel.createGeometry] Parameter expected: params.primitiveType" } } ], @@ -96333,8 +96416,8 @@ }, { "type": "IfStatement", - "start": 27243, - "end": 27335, + "start": 27595, + "end": 27713, "loc": { "start": { "line": 704, @@ -96347,8 +96430,8 @@ }, "test": { "type": "UnaryExpression", - "start": 27247, - "end": 27264, + "start": 27599, + "end": 27616, "loc": { "start": { "line": 704, @@ -96363,8 +96446,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 27248, - "end": 27264, + "start": 27600, + "end": 27616, "loc": { "start": { "line": 704, @@ -96377,8 +96460,8 @@ }, "object": { "type": "Identifier", - "start": 27248, - "end": 27254, + "start": 27600, + "end": 27606, "loc": { "start": { "line": 704, @@ -96394,8 +96477,8 @@ }, "property": { "type": "Identifier", - "start": 27255, - "end": 27264, + "start": 27607, + "end": 27616, "loc": { "start": { "line": 704, @@ -96417,8 +96500,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 27266, - "end": 27335, + "start": 27618, + "end": 27713, "loc": { "start": { "line": 704, @@ -96432,8 +96515,8 @@ "body": [ { "type": "ThrowStatement", - "start": 27280, - "end": 27325, + "start": 27632, + "end": 27703, "loc": { "start": { "line": 705, @@ -96441,13 +96524,13 @@ }, "end": { "line": 705, - "column": 57 + "column": 83 } }, "argument": { "type": "StringLiteral", - "start": 27286, - "end": 27324, + "start": 27638, + "end": 27702, "loc": { "start": { "line": 705, @@ -96455,14 +96538,14 @@ }, "end": { "line": 705, - "column": 56 + "column": 82 } }, "extra": { - "rawValue": "Parameter expected: params.positions", - "raw": "\"Parameter expected: params.positions\"" + "rawValue": "[XKTModel.createGeometry] Parameter expected: params.positions", + "raw": "\"[XKTModel.createGeometry] Parameter expected: params.positions\"" }, - "value": "Parameter expected: params.positions" + "value": "[XKTModel.createGeometry] Parameter expected: params.positions" } } ], @@ -96472,8 +96555,8 @@ }, { "type": "VariableDeclaration", - "start": 27345, - "end": 27400, + "start": 27723, + "end": 27778, "loc": { "start": { "line": 708, @@ -96487,8 +96570,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27351, - "end": 27399, + "start": 27729, + "end": 27777, "loc": { "start": { "line": 708, @@ -96501,8 +96584,8 @@ }, "id": { "type": "Identifier", - "start": 27351, - "end": 27360, + "start": 27729, + "end": 27738, "loc": { "start": { "line": 708, @@ -96518,8 +96601,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27363, - "end": 27399, + "start": 27741, + "end": 27777, "loc": { "start": { "line": 708, @@ -96532,8 +96615,8 @@ }, "left": { "type": "MemberExpression", - "start": 27363, - "end": 27383, + "start": 27741, + "end": 27761, "loc": { "start": { "line": 708, @@ -96546,8 +96629,8 @@ }, "object": { "type": "Identifier", - "start": 27363, - "end": 27369, + "start": 27741, + "end": 27747, "loc": { "start": { "line": 708, @@ -96563,8 +96646,8 @@ }, "property": { "type": "Identifier", - "start": 27370, - "end": 27383, + "start": 27748, + "end": 27761, "loc": { "start": { "line": 708, @@ -96583,8 +96666,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27388, - "end": 27399, + "start": 27766, + "end": 27777, "loc": { "start": { "line": 708, @@ -96608,8 +96691,8 @@ }, { "type": "VariableDeclaration", - "start": 27409, - "end": 27458, + "start": 27787, + "end": 27836, "loc": { "start": { "line": 709, @@ -96623,8 +96706,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27415, - "end": 27457, + "start": 27793, + "end": 27835, "loc": { "start": { "line": 709, @@ -96637,8 +96720,8 @@ }, "id": { "type": "Identifier", - "start": 27415, - "end": 27421, + "start": 27793, + "end": 27799, "loc": { "start": { "line": 709, @@ -96654,8 +96737,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27424, - "end": 27457, + "start": 27802, + "end": 27835, "loc": { "start": { "line": 709, @@ -96668,8 +96751,8 @@ }, "left": { "type": "MemberExpression", - "start": 27424, - "end": 27444, + "start": 27802, + "end": 27822, "loc": { "start": { "line": 709, @@ -96682,8 +96765,8 @@ }, "object": { "type": "Identifier", - "start": 27424, - "end": 27430, + "start": 27802, + "end": 27808, "loc": { "start": { "line": 709, @@ -96699,8 +96782,8 @@ }, "property": { "type": "Identifier", - "start": 27431, - "end": 27444, + "start": 27809, + "end": 27822, "loc": { "start": { "line": 709, @@ -96719,8 +96802,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27449, - "end": 27457, + "start": 27827, + "end": 27835, "loc": { "start": { "line": 709, @@ -96744,8 +96827,8 @@ }, { "type": "VariableDeclaration", - "start": 27467, - "end": 27514, + "start": 27845, + "end": 27892, "loc": { "start": { "line": 710, @@ -96759,8 +96842,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27473, - "end": 27513, + "start": 27851, + "end": 27891, "loc": { "start": { "line": 710, @@ -96773,8 +96856,8 @@ }, "id": { "type": "Identifier", - "start": 27473, - "end": 27478, + "start": 27851, + "end": 27856, "loc": { "start": { "line": 710, @@ -96790,8 +96873,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27481, - "end": 27513, + "start": 27859, + "end": 27891, "loc": { "start": { "line": 710, @@ -96804,8 +96887,8 @@ }, "left": { "type": "MemberExpression", - "start": 27481, - "end": 27501, + "start": 27859, + "end": 27879, "loc": { "start": { "line": 710, @@ -96818,8 +96901,8 @@ }, "object": { "type": "Identifier", - "start": 27481, - "end": 27487, + "start": 27859, + "end": 27865, "loc": { "start": { "line": 710, @@ -96835,8 +96918,8 @@ }, "property": { "type": "Identifier", - "start": 27488, - "end": 27501, + "start": 27866, + "end": 27879, "loc": { "start": { "line": 710, @@ -96855,8 +96938,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27506, - "end": 27513, + "start": 27884, + "end": 27891, "loc": { "start": { "line": 710, @@ -96880,8 +96963,8 @@ }, { "type": "VariableDeclaration", - "start": 27523, - "end": 27580, + "start": 27901, + "end": 27958, "loc": { "start": { "line": 711, @@ -96895,8 +96978,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27529, - "end": 27579, + "start": 27907, + "end": 27957, "loc": { "start": { "line": 711, @@ -96909,8 +96992,8 @@ }, "id": { "type": "Identifier", - "start": 27529, - "end": 27539, + "start": 27907, + "end": 27917, "loc": { "start": { "line": 711, @@ -96926,8 +97009,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27542, - "end": 27579, + "start": 27920, + "end": 27957, "loc": { "start": { "line": 711, @@ -96940,8 +97023,8 @@ }, "left": { "type": "MemberExpression", - "start": 27542, - "end": 27562, + "start": 27920, + "end": 27940, "loc": { "start": { "line": 711, @@ -96954,8 +97037,8 @@ }, "object": { "type": "Identifier", - "start": 27542, - "end": 27548, + "start": 27920, + "end": 27926, "loc": { "start": { "line": 711, @@ -96971,8 +97054,8 @@ }, "property": { "type": "Identifier", - "start": 27549, - "end": 27562, + "start": 27927, + "end": 27940, "loc": { "start": { "line": 711, @@ -96991,8 +97074,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27567, - "end": 27579, + "start": 27945, + "end": 27957, "loc": { "start": { "line": 711, @@ -97016,8 +97099,8 @@ }, { "type": "VariableDeclaration", - "start": 27589, - "end": 27644, + "start": 27967, + "end": 28022, "loc": { "start": { "line": 712, @@ -97031,8 +97114,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27595, - "end": 27643, + "start": 27973, + "end": 28021, "loc": { "start": { "line": 712, @@ -97045,8 +97128,8 @@ }, "id": { "type": "Identifier", - "start": 27595, - "end": 27604, + "start": 27973, + "end": 27982, "loc": { "start": { "line": 712, @@ -97062,8 +97145,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27607, - "end": 27643, + "start": 27985, + "end": 28021, "loc": { "start": { "line": 712, @@ -97076,8 +97159,8 @@ }, "left": { "type": "MemberExpression", - "start": 27607, - "end": 27627, + "start": 27985, + "end": 28005, "loc": { "start": { "line": 712, @@ -97090,8 +97173,8 @@ }, "object": { "type": "Identifier", - "start": 27607, - "end": 27613, + "start": 27985, + "end": 27991, "loc": { "start": { "line": 712, @@ -97107,8 +97190,8 @@ }, "property": { "type": "Identifier", - "start": 27614, - "end": 27627, + "start": 27992, + "end": 28005, "loc": { "start": { "line": 712, @@ -97127,8 +97210,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27632, - "end": 27643, + "start": 28010, + "end": 28021, "loc": { "start": { "line": 712, @@ -97152,8 +97235,8 @@ }, { "type": "VariableDeclaration", - "start": 27653, - "end": 27718, + "start": 28031, + "end": 28096, "loc": { "start": { "line": 713, @@ -97167,8 +97250,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27659, - "end": 27717, + "start": 28037, + "end": 28095, "loc": { "start": { "line": 713, @@ -97181,8 +97264,8 @@ }, "id": { "type": "Identifier", - "start": 27659, - "end": 27673, + "start": 28037, + "end": 28051, "loc": { "start": { "line": 713, @@ -97198,8 +97281,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27676, - "end": 27717, + "start": 28054, + "end": 28095, "loc": { "start": { "line": 713, @@ -97212,8 +97295,8 @@ }, "left": { "type": "MemberExpression", - "start": 27676, - "end": 27696, + "start": 28054, + "end": 28074, "loc": { "start": { "line": 713, @@ -97226,8 +97309,8 @@ }, "object": { "type": "Identifier", - "start": 27676, - "end": 27682, + "start": 28054, + "end": 28060, "loc": { "start": { "line": 713, @@ -97243,8 +97326,8 @@ }, "property": { "type": "Identifier", - "start": 27683, - "end": 27696, + "start": 28061, + "end": 28074, "loc": { "start": { "line": 713, @@ -97263,8 +97346,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27701, - "end": 27717, + "start": 28079, + "end": 28095, "loc": { "start": { "line": 713, @@ -97288,8 +97371,8 @@ }, { "type": "VariableDeclaration", - "start": 27727, - "end": 27788, + "start": 28105, + "end": 28166, "loc": { "start": { "line": 714, @@ -97303,8 +97386,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 27733, - "end": 27787, + "start": 28111, + "end": 28165, "loc": { "start": { "line": 714, @@ -97317,8 +97400,8 @@ }, "id": { "type": "Identifier", - "start": 27733, - "end": 27745, + "start": 28111, + "end": 28123, "loc": { "start": { "line": 714, @@ -97334,8 +97417,8 @@ }, "init": { "type": "BinaryExpression", - "start": 27748, - "end": 27787, + "start": 28126, + "end": 28165, "loc": { "start": { "line": 714, @@ -97348,8 +97431,8 @@ }, "left": { "type": "MemberExpression", - "start": 27748, - "end": 27768, + "start": 28126, + "end": 28146, "loc": { "start": { "line": 714, @@ -97362,8 +97445,8 @@ }, "object": { "type": "Identifier", - "start": 27748, - "end": 27754, + "start": 28126, + "end": 28132, "loc": { "start": { "line": 714, @@ -97379,8 +97462,8 @@ }, "property": { "type": "Identifier", - "start": 27755, - "end": 27768, + "start": 28133, + "end": 28146, "loc": { "start": { "line": 714, @@ -97399,8 +97482,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 27773, - "end": 27787, + "start": 28151, + "end": 28165, "loc": { "start": { "line": 714, @@ -97424,8 +97507,8 @@ }, { "type": "IfStatement", - "start": 27798, - "end": 28098, + "start": 28176, + "end": 28502, "loc": { "start": { "line": 716, @@ -97438,8 +97521,8 @@ }, "test": { "type": "LogicalExpression", - "start": 27802, - "end": 27862, + "start": 28180, + "end": 28240, "loc": { "start": { "line": 716, @@ -97452,8 +97535,8 @@ }, "left": { "type": "LogicalExpression", - "start": 27802, - "end": 27848, + "start": 28180, + "end": 28226, "loc": { "start": { "line": 716, @@ -97466,8 +97549,8 @@ }, "left": { "type": "LogicalExpression", - "start": 27802, - "end": 27833, + "start": 28180, + "end": 28211, "loc": { "start": { "line": 716, @@ -97480,8 +97563,8 @@ }, "left": { "type": "LogicalExpression", - "start": 27802, - "end": 27823, + "start": 28180, + "end": 28201, "loc": { "start": { "line": 716, @@ -97494,8 +97577,8 @@ }, "left": { "type": "UnaryExpression", - "start": 27802, - "end": 27812, + "start": 28180, + "end": 28190, "loc": { "start": { "line": 716, @@ -97510,8 +97593,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 27803, - "end": 27812, + "start": 28181, + "end": 28190, "loc": { "start": { "line": 716, @@ -97532,8 +97615,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 27816, - "end": 27823, + "start": 28194, + "end": 28201, "loc": { "start": { "line": 716, @@ -97548,8 +97631,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 27817, - "end": 27823, + "start": 28195, + "end": 28201, "loc": { "start": { "line": 716, @@ -97571,8 +97654,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 27827, - "end": 27833, + "start": 28205, + "end": 28211, "loc": { "start": { "line": 716, @@ -97587,8 +97670,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 27828, - "end": 27833, + "start": 28206, + "end": 28211, "loc": { "start": { "line": 716, @@ -97610,8 +97693,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 27837, - "end": 27848, + "start": 28215, + "end": 28226, "loc": { "start": { "line": 716, @@ -97626,8 +97709,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 27838, - "end": 27848, + "start": 28216, + "end": 28226, "loc": { "start": { "line": 716, @@ -97649,8 +97732,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 27852, - "end": 27862, + "start": 28230, + "end": 28240, "loc": { "start": { "line": 716, @@ -97665,8 +97748,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 27853, - "end": 27862, + "start": 28231, + "end": 28240, "loc": { "start": { "line": 716, @@ -97687,8 +97770,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 27864, - "end": 28098, + "start": 28242, + "end": 28502, "loc": { "start": { "line": 716, @@ -97702,8 +97785,8 @@ "body": [ { "type": "ThrowStatement", - "start": 27878, - "end": 28088, + "start": 28256, + "end": 28492, "loc": { "start": { "line": 717, @@ -97716,8 +97799,8 @@ }, "argument": { "type": "BinaryExpression", - "start": 27884, - "end": 28087, + "start": 28262, + "end": 28491, "loc": { "start": { "line": 717, @@ -97730,8 +97813,8 @@ }, "left": { "type": "BinaryExpression", - "start": 27884, - "end": 27965, + "start": 28262, + "end": 28369, "loc": { "start": { "line": 717, @@ -97744,8 +97827,8 @@ }, "left": { "type": "StringLiteral", - "start": 27884, - "end": 27930, + "start": 28262, + "end": 28334, "loc": { "start": { "line": 717, @@ -97753,20 +97836,20 @@ }, "end": { "line": 717, - "column": 64 + "column": 90 } }, "extra": { - "rawValue": "Unsupported value for params.primitiveType: ", - "raw": "\"Unsupported value for params.primitiveType: \"" + "rawValue": "[XKTModel.createGeometry] Unsupported value for params.primitiveType: ", + "raw": "\"[XKTModel.createGeometry] Unsupported value for params.primitiveType: \"" }, - "value": "Unsupported value for params.primitiveType: " + "value": "[XKTModel.createGeometry] Unsupported value for params.primitiveType: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 27945, - "end": 27965, + "start": 28349, + "end": 28369, "loc": { "start": { "line": 718, @@ -97779,8 +97862,8 @@ }, "object": { "type": "Identifier", - "start": 27945, - "end": 27951, + "start": 28349, + "end": 28355, "loc": { "start": { "line": 718, @@ -97796,8 +97879,8 @@ }, "property": { "type": "Identifier", - "start": 27952, - "end": 27965, + "start": 28356, + "end": 28369, "loc": { "start": { "line": 718, @@ -97817,8 +97900,8 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 27980, - "end": 28087, + "start": 28384, + "end": 28491, "loc": { "start": { "line": 719, @@ -97844,8 +97927,8 @@ }, { "type": "IfStatement", - "start": 28108, - "end": 28331, + "start": 28512, + "end": 28761, "loc": { "start": { "line": 722, @@ -97858,8 +97941,8 @@ }, "test": { "type": "Identifier", - "start": 28112, - "end": 28121, + "start": 28516, + "end": 28525, "loc": { "start": { "line": 722, @@ -97875,8 +97958,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 28123, - "end": 28331, + "start": 28527, + "end": 28761, "loc": { "start": { "line": 722, @@ -97890,8 +97973,8 @@ "body": [ { "type": "IfStatement", - "start": 28137, - "end": 28321, + "start": 28541, + "end": 28751, "loc": { "start": { "line": 723, @@ -97904,8 +97987,8 @@ }, "test": { "type": "UnaryExpression", - "start": 28141, - "end": 28156, + "start": 28545, + "end": 28560, "loc": { "start": { "line": 723, @@ -97920,8 +98003,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 28142, - "end": 28156, + "start": 28546, + "end": 28560, "loc": { "start": { "line": 723, @@ -97934,8 +98017,8 @@ }, "object": { "type": "Identifier", - "start": 28142, - "end": 28148, + "start": 28546, + "end": 28552, "loc": { "start": { "line": 723, @@ -97951,8 +98034,8 @@ }, "property": { "type": "Identifier", - "start": 28149, - "end": 28156, + "start": 28553, + "end": 28560, "loc": { "start": { "line": 723, @@ -97974,8 +98057,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 28158, - "end": 28321, + "start": 28562, + "end": 28751, "loc": { "start": { "line": 723, @@ -97989,8 +98072,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 28176, - "end": 28221, + "start": 28580, + "end": 28625, "loc": { "start": { "line": 724, @@ -98003,8 +98086,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 28176, - "end": 28221, + "start": 28580, + "end": 28625, "loc": { "start": { "line": 724, @@ -98018,8 +98101,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 28176, - "end": 28190, + "start": 28580, + "end": 28594, "loc": { "start": { "line": 724, @@ -98032,8 +98115,8 @@ }, "object": { "type": "Identifier", - "start": 28176, - "end": 28182, + "start": 28580, + "end": 28586, "loc": { "start": { "line": 724, @@ -98049,8 +98132,8 @@ }, "property": { "type": "Identifier", - "start": 28183, - "end": 28190, + "start": 28587, + "end": 28594, "loc": { "start": { "line": 724, @@ -98068,8 +98151,8 @@ }, "right": { "type": "CallExpression", - "start": 28193, - "end": 28221, + "start": 28597, + "end": 28625, "loc": { "start": { "line": 724, @@ -98082,8 +98165,8 @@ }, "callee": { "type": "MemberExpression", - "start": 28193, - "end": 28219, + "start": 28597, + "end": 28623, "loc": { "start": { "line": 724, @@ -98096,8 +98179,8 @@ }, "object": { "type": "ThisExpression", - "start": 28193, - "end": 28197, + "start": 28597, + "end": 28601, "loc": { "start": { "line": 724, @@ -98111,8 +98194,8 @@ }, "property": { "type": "Identifier", - "start": 28198, - "end": 28219, + "start": 28602, + "end": 28623, "loc": { "start": { "line": 724, @@ -98134,8 +98217,8 @@ }, { "type": "ThrowStatement", - "start": 28238, - "end": 28307, + "start": 28642, + "end": 28737, "loc": { "start": { "line": 725, @@ -98143,13 +98226,13 @@ }, "end": { "line": 725, - "column": 85 + "column": 111 } }, "argument": { "type": "StringLiteral", - "start": 28244, - "end": 28306, + "start": 28648, + "end": 28736, "loc": { "start": { "line": 725, @@ -98157,14 +98240,14 @@ }, "end": { "line": 725, - "column": 84 + "column": 110 } }, "extra": { - "rawValue": "Parameter expected for 'triangles' primitive: params.indices", - "raw": "\"Parameter expected for 'triangles' primitive: params.indices\"" + "rawValue": "[XKTModel.createGeometry] Parameter expected for 'triangles' primitive: params.indices", + "raw": "\"[XKTModel.createGeometry] Parameter expected for 'triangles' primitive: params.indices\"" }, - "value": "Parameter expected for 'triangles' primitive: params.indices" + "value": "[XKTModel.createGeometry] Parameter expected for 'triangles' primitive: params.indices" } } ], @@ -98179,22 +98262,22 @@ }, { "type": "IfStatement", - "start": 28341, - "end": 28549, + "start": 28771, + "end": 29038, "loc": { "start": { "line": 729, "column": 8 }, "end": { - "line": 733, + "line": 734, "column": 9 } }, "test": { "type": "Identifier", - "start": 28345, - "end": 28351, + "start": 28775, + "end": 28781, "loc": { "start": { "line": 729, @@ -98210,37 +98293,37 @@ }, "consequent": { "type": "BlockStatement", - "start": 28353, - "end": 28549, + "start": 28783, + "end": 29038, "loc": { "start": { "line": 729, "column": 20 }, "end": { - "line": 733, + "line": 734, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 28367, - "end": 28539, + "start": 28797, + "end": 29028, "loc": { "start": { "line": 730, "column": 12 }, "end": { - "line": 732, + "line": 733, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 28371, - "end": 28413, + "start": 28801, + "end": 28843, "loc": { "start": { "line": 730, @@ -98253,8 +98336,8 @@ }, "left": { "type": "UnaryExpression", - "start": 28371, - "end": 28385, + "start": 28801, + "end": 28815, "loc": { "start": { "line": 730, @@ -98269,8 +98352,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 28372, - "end": 28385, + "start": 28802, + "end": 28815, "loc": { "start": { "line": 730, @@ -98283,8 +98366,8 @@ }, "object": { "type": "Identifier", - "start": 28372, - "end": 28378, + "start": 28802, + "end": 28808, "loc": { "start": { "line": 730, @@ -98300,8 +98383,8 @@ }, "property": { "type": "Identifier", - "start": 28379, - "end": 28385, + "start": 28809, + "end": 28815, "loc": { "start": { "line": 730, @@ -98324,8 +98407,8 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 28389, - "end": 28413, + "start": 28819, + "end": 28843, "loc": { "start": { "line": 730, @@ -98340,8 +98423,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 28390, - "end": 28413, + "start": 28820, + "end": 28843, "loc": { "start": { "line": 730, @@ -98354,8 +98437,8 @@ }, "object": { "type": "Identifier", - "start": 28390, - "end": 28396, + "start": 28820, + "end": 28826, "loc": { "start": { "line": 730, @@ -98371,8 +98454,8 @@ }, "property": { "type": "Identifier", - "start": 28397, - "end": 28413, + "start": 28827, + "end": 28843, "loc": { "start": { "line": 730, @@ -98395,23 +98478,23 @@ }, "consequent": { "type": "BlockStatement", - "start": 28415, - "end": 28539, + "start": 28845, + "end": 29028, "loc": { "start": { "line": 730, "column": 60 }, "end": { - "line": 732, + "line": 733, "column": 13 } }, "body": [ { - "type": "ThrowStatement", - "start": 28433, - "end": 28525, + "type": "ExpressionStatement", + "start": 28863, + "end": 28990, "loc": { "start": { "line": 731, @@ -98419,29 +98502,112 @@ }, "end": { "line": 731, - "column": 108 + "column": 143 } }, - "argument": { - "type": "StringLiteral", - "start": 28439, - "end": 28524, + "expression": { + "type": "CallExpression", + "start": 28863, + "end": 28989, "loc": { "start": { "line": 731, - "column": 22 + "column": 16 }, "end": { "line": 731, - "column": 107 + "column": 142 } }, - "extra": { - "rawValue": "Parameter expected for 'points' primitive: params.colors or params.colorsCompressed", - "raw": "\"Parameter expected for 'points' primitive: params.colors or params.colorsCompressed\"" + "callee": { + "type": "MemberExpression", + "start": 28863, + "end": 28876, + "loc": { + "start": { + "line": 731, + "column": 16 + }, + "end": { + "line": 731, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 28863, + "end": 28870, + "loc": { + "start": { + "line": 731, + "column": 16 + }, + "end": { + "line": 731, + "column": 23 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 28871, + "end": 28876, + "loc": { + "start": { + "line": 731, + "column": 24 + }, + "end": { + "line": 731, + "column": 29 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false }, - "value": "Parameter expected for 'points' primitive: params.colors or params.colorsCompressed" + "arguments": [ + { + "type": "StringLiteral", + "start": 28877, + "end": 28988, + "loc": { + "start": { + "line": 731, + "column": 30 + }, + "end": { + "line": 731, + "column": 141 + } + }, + "extra": { + "rawValue": "[XKTModel.createGeometry] Parameter expected for 'points' primitive: params.colors or params.colorsCompressed", + "raw": "\"[XKTModel.createGeometry] Parameter expected for 'points' primitive: params.colors or params.colorsCompressed\"" + }, + "value": "[XKTModel.createGeometry] Parameter expected for 'points' primitive: params.colors or params.colorsCompressed" + } + ] } + }, + { + "type": "ReturnStatement", + "start": 29007, + "end": 29014, + "loc": { + "start": { + "line": 732, + "column": 16 + }, + "end": { + "line": 732, + "column": 23 + } + }, + "argument": null } ], "directives": [] @@ -98455,29 +98621,29 @@ }, { "type": "IfStatement", - "start": 28559, - "end": 28712, + "start": 29048, + "end": 29227, "loc": { "start": { - "line": 735, + "line": 736, "column": 8 }, "end": { - "line": 739, + "line": 740, "column": 9 } }, "test": { "type": "Identifier", - "start": 28563, - "end": 28568, + "start": 29052, + "end": 29057, "loc": { "start": { - "line": 735, + "line": 736, "column": 12 }, "end": { - "line": 735, + "line": 736, "column": 17 }, "identifierName": "lines" @@ -98486,44 +98652,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 28570, - "end": 28712, + "start": 29059, + "end": 29227, "loc": { "start": { - "line": 735, + "line": 736, "column": 19 }, "end": { - "line": 739, + "line": 740, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 28584, - "end": 28702, + "start": 29073, + "end": 29217, "loc": { "start": { - "line": 736, + "line": 737, "column": 12 }, "end": { - "line": 738, + "line": 739, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 28588, - "end": 28603, + "start": 29077, + "end": 29092, "loc": { "start": { - "line": 736, + "line": 737, "column": 16 }, "end": { - "line": 736, + "line": 737, "column": 31 } }, @@ -98531,29 +98697,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 28589, - "end": 28603, + "start": 29078, + "end": 29092, "loc": { "start": { - "line": 736, + "line": 737, "column": 17 }, "end": { - "line": 736, + "line": 737, "column": 31 } }, "object": { "type": "Identifier", - "start": 28589, - "end": 28595, + "start": 29078, + "end": 29084, "loc": { "start": { - "line": 736, + "line": 737, "column": 17 }, "end": { - "line": 736, + "line": 737, "column": 23 }, "identifierName": "params" @@ -98562,15 +98728,15 @@ }, "property": { "type": "Identifier", - "start": 28596, - "end": 28603, + "start": 29085, + "end": 29092, "loc": { "start": { - "line": 736, + "line": 737, "column": 24 }, "end": { - "line": 736, + "line": 737, "column": 31 }, "identifierName": "indices" @@ -98585,52 +98751,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 28605, - "end": 28702, + "start": 29094, + "end": 29217, "loc": { "start": { - "line": 736, + "line": 737, "column": 33 }, "end": { - "line": 738, + "line": 739, "column": 13 } }, "body": [ { "type": "ThrowStatement", - "start": 28623, - "end": 28688, + "start": 29112, + "end": 29203, "loc": { "start": { - "line": 737, + "line": 738, "column": 16 }, "end": { - "line": 737, - "column": 81 + "line": 738, + "column": 107 } }, "argument": { "type": "StringLiteral", - "start": 28629, - "end": 28687, + "start": 29118, + "end": 29202, "loc": { "start": { - "line": 737, + "line": 738, "column": 22 }, "end": { - "line": 737, - "column": 80 + "line": 738, + "column": 106 } }, "extra": { - "rawValue": "Parameter expected for 'lines' primitive: params.indices", - "raw": "\"Parameter expected for 'lines' primitive: params.indices\"" + "rawValue": "[XKTModel.createGeometry] Parameter expected for 'lines' primitive: params.indices", + "raw": "\"[XKTModel.createGeometry] Parameter expected for 'lines' primitive: params.indices\"" }, - "value": "Parameter expected for 'lines' primitive: params.indices" + "value": "[XKTModel.createGeometry] Parameter expected for 'lines' primitive: params.indices" } } ], @@ -98645,58 +98811,58 @@ }, { "type": "IfStatement", - "start": 28722, - "end": 28858, + "start": 29237, + "end": 29373, "loc": { "start": { - "line": 741, + "line": 742, "column": 8 }, "end": { - "line": 744, + "line": 745, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 28726, - "end": 28740, + "start": 29241, + "end": 29255, "loc": { "start": { - "line": 741, + "line": 742, "column": 12 }, "end": { - "line": 741, + "line": 742, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 28726, - "end": 28730, + "start": 29241, + "end": 29245, "loc": { "start": { - "line": 741, + "line": 742, "column": 12 }, "end": { - "line": 741, + "line": 742, "column": 16 } } }, "property": { "type": "Identifier", - "start": 28731, - "end": 28740, + "start": 29246, + "end": 29255, "loc": { "start": { - "line": 741, + "line": 742, "column": 17 }, "end": { - "line": 741, + "line": 742, "column": 26 }, "identifierName": "finalized" @@ -98707,72 +98873,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 28742, - "end": 28858, + "start": 29257, + "end": 29373, "loc": { "start": { - "line": 741, + "line": 742, "column": 28 }, "end": { - "line": 744, + "line": 745, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 28756, - "end": 28828, + "start": 29271, + "end": 29343, "loc": { "start": { - "line": 742, + "line": 743, "column": 12 }, "end": { - "line": 742, + "line": 743, "column": 84 } }, "expression": { "type": "CallExpression", - "start": 28756, - "end": 28827, + "start": 29271, + "end": 29342, "loc": { "start": { - "line": 742, + "line": 743, "column": 12 }, "end": { - "line": 742, + "line": 743, "column": 83 } }, "callee": { "type": "MemberExpression", - "start": 28756, - "end": 28769, + "start": 29271, + "end": 29284, "loc": { "start": { - "line": 742, + "line": 743, "column": 12 }, "end": { - "line": 742, + "line": 743, "column": 25 } }, "object": { "type": "Identifier", - "start": 28756, - "end": 28763, + "start": 29271, + "end": 29278, "loc": { "start": { - "line": 742, + "line": 743, "column": 12 }, "end": { - "line": 742, + "line": 743, "column": 19 }, "identifierName": "console" @@ -98781,15 +98947,15 @@ }, "property": { "type": "Identifier", - "start": 28764, - "end": 28769, + "start": 29279, + "end": 29284, "loc": { "start": { - "line": 742, + "line": 743, "column": 20 }, "end": { - "line": 742, + "line": 743, "column": 25 }, "identifierName": "error" @@ -98801,15 +98967,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 28770, - "end": 28826, + "start": 29285, + "end": 29341, "loc": { "start": { - "line": 742, + "line": 743, "column": 26 }, "end": { - "line": 742, + "line": 743, "column": 82 } }, @@ -98824,15 +98990,15 @@ }, { "type": "ReturnStatement", - "start": 28841, - "end": 28848, + "start": 29356, + "end": 29363, "loc": { "start": { - "line": 743, + "line": 744, "column": 12 }, "end": { - "line": 743, + "line": 744, "column": 19 } }, @@ -98845,72 +99011,72 @@ }, { "type": "IfStatement", - "start": 28868, - "end": 29031, + "start": 29383, + "end": 29546, "loc": { "start": { - "line": 746, + "line": 747, "column": 8 }, "end": { - "line": 749, + "line": 750, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 28872, - "end": 28906, + "start": 29387, + "end": 29421, "loc": { "start": { - "line": 746, + "line": 747, "column": 12 }, "end": { - "line": 746, + "line": 747, "column": 46 } }, "object": { "type": "MemberExpression", - "start": 28872, - "end": 28887, + "start": 29387, + "end": 29402, "loc": { "start": { - "line": 746, + "line": 747, "column": 12 }, "end": { - "line": 746, + "line": 747, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 28872, - "end": 28876, + "start": 29387, + "end": 29391, "loc": { "start": { - "line": 746, + "line": 747, "column": 12 }, "end": { - "line": 746, + "line": 747, "column": 16 } } }, "property": { "type": "Identifier", - "start": 28877, - "end": 28887, + "start": 29392, + "end": 29402, "loc": { "start": { - "line": 746, + "line": 747, "column": 17 }, "end": { - "line": 746, + "line": 747, "column": 27 }, "identifierName": "geometries" @@ -98921,29 +99087,29 @@ }, "property": { "type": "MemberExpression", - "start": 28888, - "end": 28905, + "start": 29403, + "end": 29420, "loc": { "start": { - "line": 746, + "line": 747, "column": 28 }, "end": { - "line": 746, + "line": 747, "column": 45 } }, "object": { "type": "Identifier", - "start": 28888, - "end": 28894, + "start": 29403, + "end": 29409, "loc": { "start": { - "line": 746, + "line": 747, "column": 28 }, "end": { - "line": 746, + "line": 747, "column": 34 }, "identifierName": "params" @@ -98952,15 +99118,15 @@ }, "property": { "type": "Identifier", - "start": 28895, - "end": 28905, + "start": 29410, + "end": 29420, "loc": { "start": { - "line": 746, + "line": 747, "column": 35 }, "end": { - "line": 746, + "line": 747, "column": 45 }, "identifierName": "geometryId" @@ -98973,72 +99139,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 28908, - "end": 29031, + "start": 29423, + "end": 29546, "loc": { "start": { - "line": 746, + "line": 747, "column": 48 }, "end": { - "line": 749, + "line": 750, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 28922, - "end": 29001, + "start": 29437, + "end": 29516, "loc": { "start": { - "line": 747, + "line": 748, "column": 12 }, "end": { - "line": 747, + "line": 748, "column": 91 } }, "expression": { "type": "CallExpression", - "start": 28922, - "end": 29000, + "start": 29437, + "end": 29515, "loc": { "start": { - "line": 747, + "line": 748, "column": 12 }, "end": { - "line": 747, + "line": 748, "column": 90 } }, "callee": { "type": "MemberExpression", - "start": 28922, - "end": 28935, + "start": 29437, + "end": 29450, "loc": { "start": { - "line": 747, + "line": 748, "column": 12 }, "end": { - "line": 747, + "line": 748, "column": 25 } }, "object": { "type": "Identifier", - "start": 28922, - "end": 28929, + "start": 29437, + "end": 29444, "loc": { "start": { - "line": 747, + "line": 748, "column": 12 }, "end": { - "line": 747, + "line": 748, "column": 19 }, "identifierName": "console" @@ -99047,15 +99213,15 @@ }, "property": { "type": "Identifier", - "start": 28930, - "end": 28935, + "start": 29445, + "end": 29450, "loc": { "start": { - "line": 747, + "line": 748, "column": 20 }, "end": { - "line": 747, + "line": 748, "column": 25 }, "identifierName": "error" @@ -99067,29 +99233,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 28936, - "end": 28999, + "start": 29451, + "end": 29514, "loc": { "start": { - "line": 747, + "line": 748, "column": 26 }, "end": { - "line": 747, + "line": 748, "column": 89 } }, "left": { "type": "StringLiteral", - "start": 28936, - "end": 28979, + "start": 29451, + "end": 29494, "loc": { "start": { - "line": 747, + "line": 748, "column": 26 }, "end": { - "line": 747, + "line": 748, "column": 69 } }, @@ -99102,29 +99268,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 28982, - "end": 28999, + "start": 29497, + "end": 29514, "loc": { "start": { - "line": 747, + "line": 748, "column": 72 }, "end": { - "line": 747, + "line": 748, "column": 89 } }, "object": { "type": "Identifier", - "start": 28982, - "end": 28988, + "start": 29497, + "end": 29503, "loc": { "start": { - "line": 747, + "line": 748, "column": 72 }, "end": { - "line": 747, + "line": 748, "column": 78 }, "identifierName": "params" @@ -99133,15 +99299,15 @@ }, "property": { "type": "Identifier", - "start": 28989, - "end": 28999, + "start": 29504, + "end": 29514, "loc": { "start": { - "line": 747, + "line": 748, "column": 79 }, "end": { - "line": 747, + "line": 748, "column": 89 }, "identifierName": "geometryId" @@ -99156,15 +99322,15 @@ }, { "type": "ReturnStatement", - "start": 29014, - "end": 29021, + "start": 29529, + "end": 29536, "loc": { "start": { - "line": 748, + "line": 749, "column": 12 }, "end": { - "line": 748, + "line": 749, "column": 19 } }, @@ -99177,44 +99343,44 @@ }, { "type": "VariableDeclaration", - "start": 29041, - "end": 29078, + "start": 29556, + "end": 29593, "loc": { "start": { - "line": 751, + "line": 752, "column": 8 }, "end": { - "line": 751, + "line": 752, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 29047, - "end": 29077, + "start": 29562, + "end": 29592, "loc": { "start": { - "line": 751, + "line": 752, "column": 14 }, "end": { - "line": 751, + "line": 752, "column": 44 } }, "id": { "type": "Identifier", - "start": 29047, - "end": 29057, + "start": 29562, + "end": 29572, "loc": { "start": { - "line": 751, + "line": 752, "column": 14 }, "end": { - "line": 751, + "line": 752, "column": 24 }, "identifierName": "geometryId" @@ -99223,29 +99389,29 @@ }, "init": { "type": "MemberExpression", - "start": 29060, - "end": 29077, + "start": 29575, + "end": 29592, "loc": { "start": { - "line": 751, + "line": 752, "column": 27 }, "end": { - "line": 751, + "line": 752, "column": 44 } }, "object": { "type": "Identifier", - "start": 29060, - "end": 29066, + "start": 29575, + "end": 29581, "loc": { "start": { - "line": 751, + "line": 752, "column": 27 }, "end": { - "line": 751, + "line": 752, "column": 33 }, "identifierName": "params" @@ -99254,15 +99420,15 @@ }, "property": { "type": "Identifier", - "start": 29067, - "end": 29077, + "start": 29582, + "end": 29592, "loc": { "start": { - "line": 751, + "line": 752, "column": 34 }, "end": { - "line": 751, + "line": 752, "column": 44 }, "identifierName": "geometryId" @@ -99277,44 +99443,44 @@ }, { "type": "VariableDeclaration", - "start": 29087, - "end": 29130, + "start": 29602, + "end": 29645, "loc": { "start": { - "line": 752, + "line": 753, "column": 8 }, "end": { - "line": 752, + "line": 753, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 29093, - "end": 29129, + "start": 29608, + "end": 29644, "loc": { "start": { - "line": 752, + "line": 753, "column": 14 }, "end": { - "line": 752, + "line": 753, "column": 50 } }, "id": { "type": "Identifier", - "start": 29093, - "end": 29106, + "start": 29608, + "end": 29621, "loc": { "start": { - "line": 752, + "line": 753, "column": 14 }, "end": { - "line": 752, + "line": 753, "column": 27 }, "identifierName": "primitiveType" @@ -99323,29 +99489,29 @@ }, "init": { "type": "MemberExpression", - "start": 29109, - "end": 29129, + "start": 29624, + "end": 29644, "loc": { "start": { - "line": 752, + "line": 753, "column": 30 }, "end": { - "line": 752, + "line": 753, "column": 50 } }, "object": { "type": "Identifier", - "start": 29109, - "end": 29115, + "start": 29624, + "end": 29630, "loc": { "start": { - "line": 752, + "line": 753, "column": 30 }, "end": { - "line": 752, + "line": 753, "column": 36 }, "identifierName": "params" @@ -99354,15 +99520,15 @@ }, "property": { "type": "Identifier", - "start": 29116, - "end": 29129, + "start": 29631, + "end": 29644, "loc": { "start": { - "line": 752, + "line": 753, "column": 37 }, "end": { - "line": 752, + "line": 753, "column": 50 }, "identifierName": "primitiveType" @@ -99377,44 +99543,44 @@ }, { "type": "VariableDeclaration", - "start": 29139, - "end": 29192, + "start": 29654, + "end": 29707, "loc": { "start": { - "line": 753, + "line": 754, "column": 8 }, "end": { - "line": 753, + "line": 754, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 29145, - "end": 29191, + "start": 29660, + "end": 29706, "loc": { "start": { - "line": 753, + "line": 754, "column": 14 }, "end": { - "line": 753, + "line": 754, "column": 60 } }, "id": { "type": "Identifier", - "start": 29145, - "end": 29154, + "start": 29660, + "end": 29669, "loc": { "start": { - "line": 753, + "line": 754, "column": 14 }, "end": { - "line": 753, + "line": 754, "column": 23 }, "identifierName": "positions" @@ -99423,29 +99589,29 @@ }, "init": { "type": "NewExpression", - "start": 29157, - "end": 29191, + "start": 29672, + "end": 29706, "loc": { "start": { - "line": 753, + "line": 754, "column": 26 }, "end": { - "line": 753, + "line": 754, "column": 60 } }, "callee": { "type": "Identifier", - "start": 29161, - "end": 29173, + "start": 29676, + "end": 29688, "loc": { "start": { - "line": 753, + "line": 754, "column": 30 }, "end": { - "line": 753, + "line": 754, "column": 42 }, "identifierName": "Float64Array" @@ -99455,29 +99621,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 29174, - "end": 29190, + "start": 29689, + "end": 29705, "loc": { "start": { - "line": 753, + "line": 754, "column": 43 }, "end": { - "line": 753, + "line": 754, "column": 59 } }, "object": { "type": "Identifier", - "start": 29174, - "end": 29180, + "start": 29689, + "end": 29695, "loc": { "start": { - "line": 753, + "line": 754, "column": 43 }, "end": { - "line": 753, + "line": 754, "column": 49 }, "identifierName": "params" @@ -99486,15 +99652,15 @@ }, "property": { "type": "Identifier", - "start": 29181, - "end": 29190, + "start": 29696, + "end": 29705, "loc": { "start": { - "line": 753, + "line": 754, "column": 50 }, "end": { - "line": 753, + "line": 754, "column": 59 }, "identifierName": "positions" @@ -99512,15 +99678,15 @@ { "type": "CommentLine", "value": " May modify in #finalize", - "start": 29193, - "end": 29219, + "start": 29708, + "end": 29734, "loc": { "start": { - "line": 753, + "line": 754, "column": 62 }, "end": { - "line": 753, + "line": 754, "column": 88 } } @@ -99529,44 +99695,44 @@ }, { "type": "VariableDeclaration", - "start": 29229, - "end": 29471, + "start": 29744, + "end": 29986, "loc": { "start": { - "line": 755, + "line": 756, "column": 8 }, "end": { - "line": 761, + "line": 762, "column": 9 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 29235, - "end": 29471, + "start": 29750, + "end": 29986, "loc": { "start": { - "line": 755, + "line": 756, "column": 14 }, "end": { - "line": 761, + "line": 762, "column": 9 } }, "id": { "type": "Identifier", - "start": 29235, - "end": 29249, + "start": 29750, + "end": 29764, "loc": { "start": { - "line": 755, + "line": 756, "column": 14 }, "end": { - "line": 755, + "line": 756, "column": 28 }, "identifierName": "xktGeometryCfg" @@ -99576,30 +99742,30 @@ }, "init": { "type": "ObjectExpression", - "start": 29252, - "end": 29471, + "start": 29767, + "end": 29986, "loc": { "start": { - "line": 755, + "line": 756, "column": 31 }, "end": { - "line": 761, + "line": 762, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 29266, - "end": 29288, + "start": 29781, + "end": 29803, "loc": { "start": { - "line": 756, + "line": 757, "column": 12 }, "end": { - "line": 756, + "line": 757, "column": 34 } }, @@ -99608,15 +99774,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 29266, - "end": 29276, + "start": 29781, + "end": 29791, "loc": { "start": { - "line": 756, + "line": 757, "column": 12 }, "end": { - "line": 756, + "line": 757, "column": 22 }, "identifierName": "geometryId" @@ -99625,15 +99791,15 @@ }, "value": { "type": "Identifier", - "start": 29278, - "end": 29288, + "start": 29793, + "end": 29803, "loc": { "start": { - "line": 756, + "line": 757, "column": 24 }, "end": { - "line": 756, + "line": 757, "column": 34 }, "identifierName": "geometryId" @@ -99643,15 +99809,15 @@ }, { "type": "ObjectProperty", - "start": 29302, - "end": 29343, + "start": 29817, + "end": 29858, "loc": { "start": { - "line": 757, + "line": 758, "column": 12 }, "end": { - "line": 757, + "line": 758, "column": 53 } }, @@ -99660,15 +99826,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 29302, - "end": 29315, + "start": 29817, + "end": 29830, "loc": { "start": { - "line": 757, + "line": 758, "column": 12 }, "end": { - "line": 757, + "line": 758, "column": 25 }, "identifierName": "geometryIndex" @@ -99677,58 +99843,58 @@ }, "value": { "type": "MemberExpression", - "start": 29317, - "end": 29343, + "start": 29832, + "end": 29858, "loc": { "start": { - "line": 757, + "line": 758, "column": 27 }, "end": { - "line": 757, + "line": 758, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 29317, - "end": 29336, + "start": 29832, + "end": 29851, "loc": { "start": { - "line": 757, + "line": 758, "column": 27 }, "end": { - "line": 757, + "line": 758, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 29317, - "end": 29321, + "start": 29832, + "end": 29836, "loc": { "start": { - "line": 757, + "line": 758, "column": 27 }, "end": { - "line": 757, + "line": 758, "column": 31 } } }, "property": { "type": "Identifier", - "start": 29322, - "end": 29336, + "start": 29837, + "end": 29851, "loc": { "start": { - "line": 757, + "line": 758, "column": 32 }, "end": { - "line": 757, + "line": 758, "column": 46 }, "identifierName": "geometriesList" @@ -99739,15 +99905,15 @@ }, "property": { "type": "Identifier", - "start": 29337, - "end": 29343, + "start": 29852, + "end": 29858, "loc": { "start": { - "line": 757, + "line": 758, "column": 47 }, "end": { - "line": 757, + "line": 758, "column": 53 }, "identifierName": "length" @@ -99759,15 +99925,15 @@ }, { "type": "ObjectProperty", - "start": 29357, - "end": 29385, + "start": 29872, + "end": 29900, "loc": { "start": { - "line": 758, + "line": 759, "column": 12 }, "end": { - "line": 758, + "line": 759, "column": 40 } }, @@ -99776,15 +99942,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 29357, - "end": 29370, + "start": 29872, + "end": 29885, "loc": { "start": { - "line": 758, + "line": 759, "column": 12 }, "end": { - "line": 758, + "line": 759, "column": 25 }, "identifierName": "primitiveType" @@ -99793,15 +99959,15 @@ }, "value": { "type": "Identifier", - "start": 29372, - "end": 29385, + "start": 29887, + "end": 29900, "loc": { "start": { - "line": 758, + "line": 759, "column": 27 }, "end": { - "line": 758, + "line": 759, "column": 40 }, "identifierName": "primitiveType" @@ -99811,15 +99977,15 @@ }, { "type": "ObjectProperty", - "start": 29399, - "end": 29419, + "start": 29914, + "end": 29934, "loc": { "start": { - "line": 759, + "line": 760, "column": 12 }, "end": { - "line": 759, + "line": 760, "column": 32 } }, @@ -99828,15 +99994,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 29399, - "end": 29408, + "start": 29914, + "end": 29923, "loc": { "start": { - "line": 759, + "line": 760, "column": 12 }, "end": { - "line": 759, + "line": 760, "column": 21 }, "identifierName": "positions" @@ -99845,15 +100011,15 @@ }, "value": { "type": "Identifier", - "start": 29410, - "end": 29419, + "start": 29925, + "end": 29934, "loc": { "start": { - "line": 759, + "line": 760, "column": 23 }, "end": { - "line": 759, + "line": 760, "column": 32 }, "identifierName": "positions" @@ -99863,15 +100029,15 @@ }, { "type": "ObjectProperty", - "start": 29433, - "end": 29461, + "start": 29948, + "end": 29976, "loc": { "start": { - "line": 760, + "line": 761, "column": 12 }, "end": { - "line": 760, + "line": 761, "column": 40 } }, @@ -99880,15 +100046,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 29433, - "end": 29436, + "start": 29948, + "end": 29951, "loc": { "start": { - "line": 760, + "line": 761, "column": 12 }, "end": { - "line": 760, + "line": 761, "column": 15 }, "identifierName": "uvs" @@ -99897,43 +100063,43 @@ }, "value": { "type": "LogicalExpression", - "start": 29438, - "end": 29461, + "start": 29953, + "end": 29976, "loc": { "start": { - "line": 760, + "line": 761, "column": 17 }, "end": { - "line": 760, + "line": 761, "column": 40 } }, "left": { "type": "MemberExpression", - "start": 29438, - "end": 29448, + "start": 29953, + "end": 29963, "loc": { "start": { - "line": 760, + "line": 761, "column": 17 }, "end": { - "line": 760, + "line": 761, "column": 27 } }, "object": { "type": "Identifier", - "start": 29438, - "end": 29444, + "start": 29953, + "end": 29959, "loc": { "start": { - "line": 760, + "line": 761, "column": 17 }, "end": { - "line": 760, + "line": 761, "column": 23 }, "identifierName": "params" @@ -99942,15 +100108,15 @@ }, "property": { "type": "Identifier", - "start": 29445, - "end": 29448, + "start": 29960, + "end": 29963, "loc": { "start": { - "line": 760, + "line": 761, "column": 24 }, "end": { - "line": 760, + "line": 761, "column": 27 }, "identifierName": "uvs" @@ -99962,29 +100128,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 29452, - "end": 29461, + "start": 29967, + "end": 29976, "loc": { "start": { - "line": 760, + "line": 761, "column": 31 }, "end": { - "line": 760, + "line": 761, "column": 40 } }, "object": { "type": "Identifier", - "start": 29452, - "end": 29458, + "start": 29967, + "end": 29973, "loc": { "start": { - "line": 760, + "line": 761, "column": 31 }, "end": { - "line": 760, + "line": 761, "column": 37 }, "identifierName": "params" @@ -99993,15 +100159,15 @@ }, "property": { "type": "Identifier", - "start": 29459, - "end": 29461, + "start": 29974, + "end": 29976, "loc": { "start": { - "line": 760, + "line": 761, "column": 38 }, "end": { - "line": 760, + "line": 761, "column": 40 }, "identifierName": "uv" @@ -100022,15 +100188,15 @@ { "type": "CommentLine", "value": " May modify in #finalize", - "start": 29193, - "end": 29219, + "start": 29708, + "end": 29734, "loc": { "start": { - "line": 753, + "line": 754, "column": 62 }, "end": { - "line": 753, + "line": 754, "column": 88 } } @@ -100039,29 +100205,29 @@ }, { "type": "IfStatement", - "start": 29481, - "end": 29847, + "start": 29996, + "end": 30362, "loc": { "start": { - "line": 763, + "line": 764, "column": 8 }, "end": { - "line": 772, + "line": 773, "column": 9 } }, "test": { "type": "Identifier", - "start": 29485, - "end": 29494, + "start": 30000, + "end": 30009, "loc": { "start": { - "line": 763, + "line": 764, "column": 12 }, "end": { - "line": 763, + "line": 764, "column": 21 }, "identifierName": "triangles" @@ -100070,58 +100236,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 29496, - "end": 29847, + "start": 30011, + "end": 30362, "loc": { "start": { - "line": 763, + "line": 764, "column": 23 }, "end": { - "line": 772, + "line": 773, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 29510, - "end": 29620, + "start": 30025, + "end": 30135, "loc": { "start": { - "line": 764, + "line": 765, "column": 12 }, "end": { - "line": 766, + "line": 767, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 29514, - "end": 29528, + "start": 30029, + "end": 30043, "loc": { "start": { - "line": 764, + "line": 765, "column": 16 }, "end": { - "line": 764, + "line": 765, "column": 30 } }, "object": { "type": "Identifier", - "start": 29514, - "end": 29520, + "start": 30029, + "end": 30035, "loc": { "start": { - "line": 764, + "line": 765, "column": 16 }, "end": { - "line": 764, + "line": 765, "column": 22 }, "identifierName": "params" @@ -100130,15 +100296,15 @@ }, "property": { "type": "Identifier", - "start": 29521, - "end": 29528, + "start": 30036, + "end": 30043, "loc": { "start": { - "line": 764, + "line": 765, "column": 23 }, "end": { - "line": 764, + "line": 765, "column": 30 }, "identifierName": "normals" @@ -100149,73 +100315,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 29530, - "end": 29620, + "start": 30045, + "end": 30135, "loc": { "start": { - "line": 764, + "line": 765, "column": 32 }, "end": { - "line": 766, + "line": 767, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 29548, - "end": 29606, + "start": 30063, + "end": 30121, "loc": { "start": { - "line": 765, + "line": 766, "column": 16 }, "end": { - "line": 765, + "line": 766, "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 29548, - "end": 29605, + "start": 30063, + "end": 30120, "loc": { "start": { - "line": 765, + "line": 766, "column": 16 }, "end": { - "line": 765, + "line": 766, "column": 73 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 29548, - "end": 29570, + "start": 30063, + "end": 30085, "loc": { "start": { - "line": 765, + "line": 766, "column": 16 }, "end": { - "line": 765, + "line": 766, "column": 38 } }, "object": { "type": "Identifier", - "start": 29548, - "end": 29562, + "start": 30063, + "end": 30077, "loc": { "start": { - "line": 765, + "line": 766, "column": 16 }, "end": { - "line": 765, + "line": 766, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -100224,15 +100390,15 @@ }, "property": { "type": "Identifier", - "start": 29563, - "end": 29570, + "start": 30078, + "end": 30085, "loc": { "start": { - "line": 765, + "line": 766, "column": 31 }, "end": { - "line": 765, + "line": 766, "column": 38 }, "identifierName": "normals" @@ -100243,29 +100409,29 @@ }, "right": { "type": "NewExpression", - "start": 29573, - "end": 29605, + "start": 30088, + "end": 30120, "loc": { "start": { - "line": 765, + "line": 766, "column": 41 }, "end": { - "line": 765, + "line": 766, "column": 73 } }, "callee": { "type": "Identifier", - "start": 29577, - "end": 29589, + "start": 30092, + "end": 30104, "loc": { "start": { - "line": 765, + "line": 766, "column": 45 }, "end": { - "line": 765, + "line": 766, "column": 57 }, "identifierName": "Float32Array" @@ -100275,29 +100441,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 29590, - "end": 29604, + "start": 30105, + "end": 30119, "loc": { "start": { - "line": 765, + "line": 766, "column": 58 }, "end": { - "line": 765, + "line": 766, "column": 72 } }, "object": { "type": "Identifier", - "start": 29590, - "end": 29596, + "start": 30105, + "end": 30111, "loc": { "start": { - "line": 765, + "line": 766, "column": 58 }, "end": { - "line": 765, + "line": 766, "column": 64 }, "identifierName": "params" @@ -100306,15 +100472,15 @@ }, "property": { "type": "Identifier", - "start": 29597, - "end": 29604, + "start": 30112, + "end": 30119, "loc": { "start": { - "line": 765, + "line": 766, "column": 65 }, "end": { - "line": 765, + "line": 766, "column": 72 }, "identifierName": "normals" @@ -100334,43 +100500,43 @@ }, { "type": "IfStatement", - "start": 29633, - "end": 29837, + "start": 30148, + "end": 30352, "loc": { "start": { - "line": 767, + "line": 768, "column": 12 }, "end": { - "line": 771, + "line": 772, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 29637, - "end": 29651, + "start": 30152, + "end": 30166, "loc": { "start": { - "line": 767, + "line": 768, "column": 16 }, "end": { - "line": 767, + "line": 768, "column": 30 } }, "object": { "type": "Identifier", - "start": 29637, - "end": 29643, + "start": 30152, + "end": 30158, "loc": { "start": { - "line": 767, + "line": 768, "column": 16 }, "end": { - "line": 767, + "line": 768, "column": 22 }, "identifierName": "params" @@ -100379,15 +100545,15 @@ }, "property": { "type": "Identifier", - "start": 29644, - "end": 29651, + "start": 30159, + "end": 30166, "loc": { "start": { - "line": 767, + "line": 768, "column": 23 }, "end": { - "line": 767, + "line": 768, "column": 30 }, "identifierName": "indices" @@ -100398,73 +100564,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 29653, - "end": 29725, + "start": 30168, + "end": 30240, "loc": { "start": { - "line": 767, + "line": 768, "column": 32 }, "end": { - "line": 769, + "line": 770, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 29671, - "end": 29711, + "start": 30186, + "end": 30226, "loc": { "start": { - "line": 768, + "line": 769, "column": 16 }, "end": { - "line": 768, + "line": 769, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 29671, - "end": 29710, + "start": 30186, + "end": 30225, "loc": { "start": { - "line": 768, + "line": 769, "column": 16 }, "end": { - "line": 768, + "line": 769, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 29671, - "end": 29693, + "start": 30186, + "end": 30208, "loc": { "start": { - "line": 768, + "line": 769, "column": 16 }, "end": { - "line": 768, + "line": 769, "column": 38 } }, "object": { "type": "Identifier", - "start": 29671, - "end": 29685, + "start": 30186, + "end": 30200, "loc": { "start": { - "line": 768, + "line": 769, "column": 16 }, "end": { - "line": 768, + "line": 769, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -100473,15 +100639,15 @@ }, "property": { "type": "Identifier", - "start": 29686, - "end": 29693, + "start": 30201, + "end": 30208, "loc": { "start": { - "line": 768, + "line": 769, "column": 31 }, "end": { - "line": 768, + "line": 769, "column": 38 }, "identifierName": "indices" @@ -100492,29 +100658,29 @@ }, "right": { "type": "MemberExpression", - "start": 29696, - "end": 29710, + "start": 30211, + "end": 30225, "loc": { "start": { - "line": 768, + "line": 769, "column": 41 }, "end": { - "line": 768, + "line": 769, "column": 55 } }, "object": { "type": "Identifier", - "start": 29696, - "end": 29702, + "start": 30211, + "end": 30217, "loc": { "start": { - "line": 768, + "line": 769, "column": 41 }, "end": { - "line": 768, + "line": 769, "column": 47 }, "identifierName": "params" @@ -100523,15 +100689,15 @@ }, "property": { "type": "Identifier", - "start": 29703, - "end": 29710, + "start": 30218, + "end": 30225, "loc": { "start": { - "line": 768, + "line": 769, "column": 48 }, "end": { - "line": 768, + "line": 769, "column": 55 }, "identifierName": "indices" @@ -100547,73 +100713,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 29731, - "end": 29837, + "start": 30246, + "end": 30352, "loc": { "start": { - "line": 769, + "line": 770, "column": 19 }, "end": { - "line": 771, + "line": 772, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 29749, - "end": 29823, + "start": 30264, + "end": 30338, "loc": { "start": { - "line": 770, + "line": 771, "column": 16 }, "end": { - "line": 770, + "line": 771, "column": 90 } }, "expression": { "type": "AssignmentExpression", - "start": 29749, - "end": 29822, + "start": 30264, + "end": 30337, "loc": { "start": { - "line": 770, + "line": 771, "column": 16 }, "end": { - "line": 770, + "line": 771, "column": 89 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 29749, - "end": 29771, + "start": 30264, + "end": 30286, "loc": { "start": { - "line": 770, + "line": 771, "column": 16 }, "end": { - "line": 770, + "line": 771, "column": 38 } }, "object": { "type": "Identifier", - "start": 29749, - "end": 29763, + "start": 30264, + "end": 30278, "loc": { "start": { - "line": 770, + "line": 771, "column": 16 }, "end": { - "line": 770, + "line": 771, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -100622,15 +100788,15 @@ }, "property": { "type": "Identifier", - "start": 29764, - "end": 29771, + "start": 30279, + "end": 30286, "loc": { "start": { - "line": 770, + "line": 771, "column": 31 }, "end": { - "line": 770, + "line": 771, "column": 38 }, "identifierName": "indices" @@ -100641,58 +100807,58 @@ }, "right": { "type": "CallExpression", - "start": 29774, - "end": 29822, + "start": 30289, + "end": 30337, "loc": { "start": { - "line": 770, + "line": 771, "column": 41 }, "end": { - "line": 770, + "line": 771, "column": 89 } }, "callee": { "type": "MemberExpression", - "start": 29774, - "end": 29800, + "start": 30289, + "end": 30315, "loc": { "start": { - "line": 770, + "line": 771, "column": 41 }, "end": { - "line": 770, + "line": 771, "column": 67 } }, "object": { "type": "ThisExpression", - "start": 29774, - "end": 29778, + "start": 30289, + "end": 30293, "loc": { "start": { - "line": 770, + "line": 771, "column": 41 }, "end": { - "line": 770, + "line": 771, "column": 45 } } }, "property": { "type": "Identifier", - "start": 29779, - "end": 29800, + "start": 30294, + "end": 30315, "loc": { "start": { - "line": 770, + "line": 771, "column": 46 }, "end": { - "line": 770, + "line": 771, "column": 67 }, "identifierName": "_createDefaultIndices" @@ -100704,43 +100870,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 29801, - "end": 29821, + "start": 30316, + "end": 30336, "loc": { "start": { - "line": 770, + "line": 771, "column": 68 }, "end": { - "line": 770, + "line": 771, "column": 88 } }, "left": { "type": "MemberExpression", - "start": 29801, - "end": 29817, + "start": 30316, + "end": 30332, "loc": { "start": { - "line": 770, + "line": 771, "column": 68 }, "end": { - "line": 770, + "line": 771, "column": 84 } }, "object": { "type": "Identifier", - "start": 29801, - "end": 29810, + "start": 30316, + "end": 30325, "loc": { "start": { - "line": 770, + "line": 771, "column": 68 }, "end": { - "line": 770, + "line": 771, "column": 77 }, "identifierName": "positions" @@ -100749,15 +100915,15 @@ }, "property": { "type": "Identifier", - "start": 29811, - "end": 29817, + "start": 30326, + "end": 30332, "loc": { "start": { - "line": 770, + "line": 771, "column": 78 }, "end": { - "line": 770, + "line": 771, "column": 84 }, "identifierName": "length" @@ -100769,15 +100935,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 29820, - "end": 29821, + "start": 30335, + "end": 30336, "loc": { "start": { - "line": 770, + "line": 771, "column": 87 }, "end": { - "line": 770, + "line": 771, "column": 88 } }, @@ -100803,29 +100969,29 @@ }, { "type": "IfStatement", - "start": 29857, - "end": 30394, + "start": 30372, + "end": 30909, "loc": { "start": { - "line": 774, + "line": 775, "column": 8 }, "end": { - "line": 786, + "line": 787, "column": 9 } }, "test": { "type": "Identifier", - "start": 29861, - "end": 29867, + "start": 30376, + "end": 30382, "loc": { "start": { - "line": 774, + "line": 775, "column": 12 }, "end": { - "line": 774, + "line": 775, "column": 18 }, "identifierName": "points" @@ -100834,58 +101000,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 29869, - "end": 30394, + "start": 30384, + "end": 30909, "loc": { "start": { - "line": 774, + "line": 775, "column": 20 }, "end": { - "line": 786, + "line": 787, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 29883, - "end": 30384, + "start": 30398, + "end": 30899, "loc": { "start": { - "line": 775, + "line": 776, "column": 12 }, "end": { - "line": 785, + "line": 786, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 29887, - "end": 29910, + "start": 30402, + "end": 30425, "loc": { "start": { - "line": 775, + "line": 776, "column": 16 }, "end": { - "line": 775, + "line": 776, "column": 39 } }, "object": { "type": "Identifier", - "start": 29887, - "end": 29893, + "start": 30402, + "end": 30408, "loc": { "start": { - "line": 775, + "line": 776, "column": 16 }, "end": { - "line": 775, + "line": 776, "column": 22 }, "identifierName": "params" @@ -100894,15 +101060,15 @@ }, "property": { "type": "Identifier", - "start": 29894, - "end": 29910, + "start": 30409, + "end": 30425, "loc": { "start": { - "line": 775, + "line": 776, "column": 23 }, "end": { - "line": 775, + "line": 776, "column": 39 }, "identifierName": "colorsCompressed" @@ -100913,73 +101079,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 29912, - "end": 30019, + "start": 30427, + "end": 30534, "loc": { "start": { - "line": 775, + "line": 776, "column": 41 }, "end": { - "line": 778, + "line": 779, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 29930, - "end": 30004, + "start": 30445, + "end": 30519, "loc": { "start": { - "line": 776, + "line": 777, "column": 16 }, "end": { - "line": 776, + "line": 777, "column": 90 } }, "expression": { "type": "AssignmentExpression", - "start": 29930, - "end": 30003, + "start": 30445, + "end": 30518, "loc": { "start": { - "line": 776, + "line": 777, "column": 16 }, "end": { - "line": 776, + "line": 777, "column": 89 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 29930, - "end": 29961, + "start": 30445, + "end": 30476, "loc": { "start": { - "line": 776, + "line": 777, "column": 16 }, "end": { - "line": 776, + "line": 777, "column": 47 } }, "object": { "type": "Identifier", - "start": 29930, - "end": 29944, + "start": 30445, + "end": 30459, "loc": { "start": { - "line": 776, + "line": 777, "column": 16 }, "end": { - "line": 776, + "line": 777, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -100988,15 +101154,15 @@ }, "property": { "type": "Identifier", - "start": 29945, - "end": 29961, + "start": 30460, + "end": 30476, "loc": { "start": { - "line": 776, + "line": 777, "column": 31 }, "end": { - "line": 776, + "line": 777, "column": 47 }, "identifierName": "colorsCompressed" @@ -101007,29 +101173,29 @@ }, "right": { "type": "NewExpression", - "start": 29964, - "end": 30003, + "start": 30479, + "end": 30518, "loc": { "start": { - "line": 776, + "line": 777, "column": 50 }, "end": { - "line": 776, + "line": 777, "column": 89 } }, "callee": { "type": "Identifier", - "start": 29968, - "end": 29978, + "start": 30483, + "end": 30493, "loc": { "start": { - "line": 776, + "line": 777, "column": 54 }, "end": { - "line": 776, + "line": 777, "column": 64 }, "identifierName": "Uint8Array" @@ -101039,29 +101205,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 29979, - "end": 30002, + "start": 30494, + "end": 30517, "loc": { "start": { - "line": 776, + "line": 777, "column": 65 }, "end": { - "line": 776, + "line": 777, "column": 88 } }, "object": { "type": "Identifier", - "start": 29979, - "end": 29985, + "start": 30494, + "end": 30500, "loc": { "start": { - "line": 776, + "line": 777, "column": 65 }, "end": { - "line": 776, + "line": 777, "column": 71 }, "identifierName": "params" @@ -101070,15 +101236,15 @@ }, "property": { "type": "Identifier", - "start": 29986, - "end": 30002, + "start": 30501, + "end": 30517, "loc": { "start": { - "line": 776, + "line": 777, "column": 72 }, "end": { - "line": 776, + "line": 777, "column": 88 }, "identifierName": "colorsCompressed" @@ -101096,59 +101262,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 30025, - "end": 30384, + "start": 30540, + "end": 30899, "loc": { "start": { - "line": 778, + "line": 779, "column": 19 }, "end": { - "line": 785, + "line": 786, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 30043, - "end": 30072, + "start": 30558, + "end": 30587, "loc": { "start": { - "line": 779, + "line": 780, "column": 16 }, "end": { - "line": 779, + "line": 780, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 30049, - "end": 30071, + "start": 30564, + "end": 30586, "loc": { "start": { - "line": 779, + "line": 780, "column": 22 }, "end": { - "line": 779, + "line": 780, "column": 44 } }, "id": { "type": "Identifier", - "start": 30049, - "end": 30055, + "start": 30564, + "end": 30570, "loc": { "start": { - "line": 779, + "line": 780, "column": 22 }, "end": { - "line": 779, + "line": 780, "column": 28 }, "identifierName": "colors" @@ -101157,29 +101323,29 @@ }, "init": { "type": "MemberExpression", - "start": 30058, - "end": 30071, + "start": 30573, + "end": 30586, "loc": { "start": { - "line": 779, + "line": 780, "column": 31 }, "end": { - "line": 779, + "line": 780, "column": 44 } }, "object": { "type": "Identifier", - "start": 30058, - "end": 30064, + "start": 30573, + "end": 30579, "loc": { "start": { - "line": 779, + "line": 780, "column": 31 }, "end": { - "line": 779, + "line": 780, "column": 37 }, "identifierName": "params" @@ -101188,15 +101354,15 @@ }, "property": { "type": "Identifier", - "start": 30065, - "end": 30071, + "start": 30580, + "end": 30586, "loc": { "start": { - "line": 779, + "line": 780, "column": 38 }, "end": { - "line": 779, + "line": 780, "column": 44 }, "identifierName": "colors" @@ -101211,44 +101377,44 @@ }, { "type": "VariableDeclaration", - "start": 30089, - "end": 30144, + "start": 30604, + "end": 30659, "loc": { "start": { - "line": 780, + "line": 781, "column": 16 }, "end": { - "line": 780, + "line": 781, "column": 71 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 30095, - "end": 30143, + "start": 30610, + "end": 30658, "loc": { "start": { - "line": 780, + "line": 781, "column": 22 }, "end": { - "line": 780, + "line": 781, "column": 70 } }, "id": { "type": "Identifier", - "start": 30095, - "end": 30111, + "start": 30610, + "end": 30626, "loc": { "start": { - "line": 780, + "line": 781, "column": 22 }, "end": { - "line": 780, + "line": 781, "column": 38 }, "identifierName": "colorsCompressed" @@ -101257,29 +101423,29 @@ }, "init": { "type": "NewExpression", - "start": 30114, - "end": 30143, + "start": 30629, + "end": 30658, "loc": { "start": { - "line": 780, + "line": 781, "column": 41 }, "end": { - "line": 780, + "line": 781, "column": 70 } }, "callee": { "type": "Identifier", - "start": 30118, - "end": 30128, + "start": 30633, + "end": 30643, "loc": { "start": { - "line": 780, + "line": 781, "column": 45 }, "end": { - "line": 780, + "line": 781, "column": 55 }, "identifierName": "Uint8Array" @@ -101289,29 +101455,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 30129, - "end": 30142, + "start": 30644, + "end": 30657, "loc": { "start": { - "line": 780, + "line": 781, "column": 56 }, "end": { - "line": 780, + "line": 781, "column": 69 } }, "object": { "type": "Identifier", - "start": 30129, - "end": 30135, + "start": 30644, + "end": 30650, "loc": { "start": { - "line": 780, + "line": 781, "column": 56 }, "end": { - "line": 780, + "line": 781, "column": 62 }, "identifierName": "colors" @@ -101320,15 +101486,15 @@ }, "property": { "type": "Identifier", - "start": 30136, - "end": 30142, + "start": 30651, + "end": 30657, "loc": { "start": { - "line": 780, + "line": 781, "column": 63 }, "end": { - "line": 780, + "line": 781, "column": 69 }, "identifierName": "length" @@ -101345,58 +101511,58 @@ }, { "type": "ForStatement", - "start": 30161, - "end": 30302, + "start": 30676, + "end": 30817, "loc": { "start": { - "line": 781, + "line": 782, "column": 16 }, "end": { - "line": 783, + "line": 784, "column": 17 } }, "init": { "type": "VariableDeclaration", - "start": 30166, - "end": 30196, + "start": 30681, + "end": 30711, "loc": { "start": { - "line": 781, + "line": 782, "column": 21 }, "end": { - "line": 781, + "line": 782, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 30170, - "end": 30175, + "start": 30685, + "end": 30690, "loc": { "start": { - "line": 781, + "line": 782, "column": 25 }, "end": { - "line": 781, + "line": 782, "column": 30 } }, "id": { "type": "Identifier", - "start": 30170, - "end": 30171, + "start": 30685, + "end": 30686, "loc": { "start": { - "line": 781, + "line": 782, "column": 25 }, "end": { - "line": 781, + "line": 782, "column": 26 }, "identifierName": "i" @@ -101405,15 +101571,15 @@ }, "init": { "type": "NumericLiteral", - "start": 30174, - "end": 30175, + "start": 30689, + "end": 30690, "loc": { "start": { - "line": 781, + "line": 782, "column": 29 }, "end": { - "line": 781, + "line": 782, "column": 30 } }, @@ -101426,29 +101592,29 @@ }, { "type": "VariableDeclarator", - "start": 30177, - "end": 30196, + "start": 30692, + "end": 30711, "loc": { "start": { - "line": 781, + "line": 782, "column": 32 }, "end": { - "line": 781, + "line": 782, "column": 51 } }, "id": { "type": "Identifier", - "start": 30177, - "end": 30180, + "start": 30692, + "end": 30695, "loc": { "start": { - "line": 781, + "line": 782, "column": 32 }, "end": { - "line": 781, + "line": 782, "column": 35 }, "identifierName": "len" @@ -101457,29 +101623,29 @@ }, "init": { "type": "MemberExpression", - "start": 30183, - "end": 30196, + "start": 30698, + "end": 30711, "loc": { "start": { - "line": 781, + "line": 782, "column": 38 }, "end": { - "line": 781, + "line": 782, "column": 51 } }, "object": { "type": "Identifier", - "start": 30183, - "end": 30189, + "start": 30698, + "end": 30704, "loc": { "start": { - "line": 781, + "line": 782, "column": 38 }, "end": { - "line": 781, + "line": 782, "column": 44 }, "identifierName": "colors" @@ -101488,15 +101654,15 @@ }, "property": { "type": "Identifier", - "start": 30190, - "end": 30196, + "start": 30705, + "end": 30711, "loc": { "start": { - "line": 781, + "line": 782, "column": 45 }, "end": { - "line": 781, + "line": 782, "column": 51 }, "identifierName": "length" @@ -101511,29 +101677,29 @@ }, "test": { "type": "BinaryExpression", - "start": 30198, - "end": 30205, + "start": 30713, + "end": 30720, "loc": { "start": { - "line": 781, + "line": 782, "column": 53 }, "end": { - "line": 781, + "line": 782, "column": 60 } }, "left": { "type": "Identifier", - "start": 30198, - "end": 30199, + "start": 30713, + "end": 30714, "loc": { "start": { - "line": 781, + "line": 782, "column": 53 }, "end": { - "line": 781, + "line": 782, "column": 54 }, "identifierName": "i" @@ -101543,15 +101709,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 30202, - "end": 30205, + "start": 30717, + "end": 30720, "loc": { "start": { - "line": 781, + "line": 782, "column": 57 }, "end": { - "line": 781, + "line": 782, "column": 60 }, "identifierName": "len" @@ -101561,15 +101727,15 @@ }, "update": { "type": "UpdateExpression", - "start": 30207, - "end": 30210, + "start": 30722, + "end": 30725, "loc": { "start": { - "line": 781, + "line": 782, "column": 62 }, "end": { - "line": 781, + "line": 782, "column": 65 } }, @@ -101577,15 +101743,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 30207, - "end": 30208, + "start": 30722, + "end": 30723, "loc": { "start": { - "line": 781, + "line": 782, "column": 62 }, "end": { - "line": 781, + "line": 782, "column": 63 }, "identifierName": "i" @@ -101595,73 +101761,73 @@ }, "body": { "type": "BlockStatement", - "start": 30212, - "end": 30302, + "start": 30727, + "end": 30817, "loc": { "start": { - "line": 781, + "line": 782, "column": 67 }, "end": { - "line": 783, + "line": 784, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 30234, - "end": 30284, + "start": 30749, + "end": 30799, "loc": { "start": { - "line": 782, + "line": 783, "column": 20 }, "end": { - "line": 782, + "line": 783, "column": 70 } }, "expression": { "type": "AssignmentExpression", - "start": 30234, - "end": 30283, + "start": 30749, + "end": 30798, "loc": { "start": { - "line": 782, + "line": 783, "column": 20 }, "end": { - "line": 782, + "line": 783, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 30234, - "end": 30253, + "start": 30749, + "end": 30768, "loc": { "start": { - "line": 782, + "line": 783, "column": 20 }, "end": { - "line": 782, + "line": 783, "column": 39 } }, "object": { "type": "Identifier", - "start": 30234, - "end": 30250, + "start": 30749, + "end": 30765, "loc": { "start": { - "line": 782, + "line": 783, "column": 20 }, "end": { - "line": 782, + "line": 783, "column": 36 }, "identifierName": "colorsCompressed" @@ -101670,15 +101836,15 @@ }, "property": { "type": "Identifier", - "start": 30251, - "end": 30252, + "start": 30766, + "end": 30767, "loc": { "start": { - "line": 782, + "line": 783, "column": 37 }, "end": { - "line": 782, + "line": 783, "column": 38 }, "identifierName": "i" @@ -101689,43 +101855,43 @@ }, "right": { "type": "CallExpression", - "start": 30256, - "end": 30283, + "start": 30771, + "end": 30798, "loc": { "start": { - "line": 782, + "line": 783, "column": 42 }, "end": { - "line": 782, + "line": 783, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 30256, - "end": 30266, + "start": 30771, + "end": 30781, "loc": { "start": { - "line": 782, + "line": 783, "column": 42 }, "end": { - "line": 782, + "line": 783, "column": 52 } }, "object": { "type": "Identifier", - "start": 30256, - "end": 30260, + "start": 30771, + "end": 30775, "loc": { "start": { - "line": 782, + "line": 783, "column": 42 }, "end": { - "line": 782, + "line": 783, "column": 46 }, "identifierName": "Math" @@ -101734,15 +101900,15 @@ }, "property": { "type": "Identifier", - "start": 30261, - "end": 30266, + "start": 30776, + "end": 30781, "loc": { "start": { - "line": 782, + "line": 783, "column": 47 }, "end": { - "line": 782, + "line": 783, "column": 52 }, "identifierName": "floor" @@ -101754,43 +101920,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 30267, - "end": 30282, + "start": 30782, + "end": 30797, "loc": { "start": { - "line": 782, + "line": 783, "column": 53 }, "end": { - "line": 782, + "line": 783, "column": 68 } }, "left": { "type": "MemberExpression", - "start": 30267, - "end": 30276, + "start": 30782, + "end": 30791, "loc": { "start": { - "line": 782, + "line": 783, "column": 53 }, "end": { - "line": 782, + "line": 783, "column": 62 } }, "object": { "type": "Identifier", - "start": 30267, - "end": 30273, + "start": 30782, + "end": 30788, "loc": { "start": { - "line": 782, + "line": 783, "column": 53 }, "end": { - "line": 782, + "line": 783, "column": 59 }, "identifierName": "colors" @@ -101799,15 +101965,15 @@ }, "property": { "type": "Identifier", - "start": 30274, - "end": 30275, + "start": 30789, + "end": 30790, "loc": { "start": { - "line": 782, + "line": 783, "column": 60 }, "end": { - "line": 782, + "line": 783, "column": 61 }, "identifierName": "i" @@ -101819,15 +101985,15 @@ "operator": "*", "right": { "type": "NumericLiteral", - "start": 30279, - "end": 30282, + "start": 30794, + "end": 30797, "loc": { "start": { - "line": 782, + "line": 783, "column": 65 }, "end": { - "line": 782, + "line": 783, "column": 68 } }, @@ -101848,58 +102014,58 @@ }, { "type": "ExpressionStatement", - "start": 30319, - "end": 30370, + "start": 30834, + "end": 30885, "loc": { "start": { - "line": 784, + "line": 785, "column": 16 }, "end": { - "line": 784, + "line": 785, "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 30319, - "end": 30369, + "start": 30834, + "end": 30884, "loc": { "start": { - "line": 784, + "line": 785, "column": 16 }, "end": { - "line": 784, + "line": 785, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 30319, - "end": 30350, + "start": 30834, + "end": 30865, "loc": { "start": { - "line": 784, + "line": 785, "column": 16 }, "end": { - "line": 784, + "line": 785, "column": 47 } }, "object": { "type": "Identifier", - "start": 30319, - "end": 30333, + "start": 30834, + "end": 30848, "loc": { "start": { - "line": 784, + "line": 785, "column": 16 }, "end": { - "line": 784, + "line": 785, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -101908,15 +102074,15 @@ }, "property": { "type": "Identifier", - "start": 30334, - "end": 30350, + "start": 30849, + "end": 30865, "loc": { "start": { - "line": 784, + "line": 785, "column": 31 }, "end": { - "line": 784, + "line": 785, "column": 47 }, "identifierName": "colorsCompressed" @@ -101927,15 +102093,15 @@ }, "right": { "type": "Identifier", - "start": 30353, - "end": 30369, + "start": 30868, + "end": 30884, "loc": { "start": { - "line": 784, + "line": 785, "column": 50 }, "end": { - "line": 784, + "line": 785, "column": 66 }, "identifierName": "colorsCompressed" @@ -101955,29 +102121,29 @@ }, { "type": "IfStatement", - "start": 30404, - "end": 30479, + "start": 30919, + "end": 30994, "loc": { "start": { - "line": 788, + "line": 789, "column": 8 }, "end": { - "line": 790, + "line": 791, "column": 9 } }, "test": { "type": "Identifier", - "start": 30408, - "end": 30413, + "start": 30923, + "end": 30928, "loc": { "start": { - "line": 788, + "line": 789, "column": 12 }, "end": { - "line": 788, + "line": 789, "column": 17 }, "identifierName": "lines" @@ -101986,73 +102152,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 30415, - "end": 30479, + "start": 30930, + "end": 30994, "loc": { "start": { - "line": 788, + "line": 789, "column": 19 }, "end": { - "line": 790, + "line": 791, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 30429, - "end": 30469, + "start": 30944, + "end": 30984, "loc": { "start": { - "line": 789, + "line": 790, "column": 12 }, "end": { - "line": 789, + "line": 790, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 30429, - "end": 30468, + "start": 30944, + "end": 30983, "loc": { "start": { - "line": 789, + "line": 790, "column": 12 }, "end": { - "line": 789, + "line": 790, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 30429, - "end": 30451, + "start": 30944, + "end": 30966, "loc": { "start": { - "line": 789, + "line": 790, "column": 12 }, "end": { - "line": 789, + "line": 790, "column": 34 } }, "object": { "type": "Identifier", - "start": 30429, - "end": 30443, + "start": 30944, + "end": 30958, "loc": { "start": { - "line": 789, + "line": 790, "column": 12 }, "end": { - "line": 789, + "line": 790, "column": 26 }, "identifierName": "xktGeometryCfg" @@ -102061,15 +102227,15 @@ }, "property": { "type": "Identifier", - "start": 30444, - "end": 30451, + "start": 30959, + "end": 30966, "loc": { "start": { - "line": 789, + "line": 790, "column": 27 }, "end": { - "line": 789, + "line": 790, "column": 34 }, "identifierName": "indices" @@ -102080,29 +102246,29 @@ }, "right": { "type": "MemberExpression", - "start": 30454, - "end": 30468, + "start": 30969, + "end": 30983, "loc": { "start": { - "line": 789, + "line": 790, "column": 37 }, "end": { - "line": 789, + "line": 790, "column": 51 } }, "object": { "type": "Identifier", - "start": 30454, - "end": 30460, + "start": 30969, + "end": 30975, "loc": { "start": { - "line": 789, + "line": 790, "column": 37 }, "end": { - "line": 789, + "line": 790, "column": 43 }, "identifierName": "params" @@ -102111,15 +102277,15 @@ }, "property": { "type": "Identifier", - "start": 30461, - "end": 30468, + "start": 30976, + "end": 30983, "loc": { "start": { - "line": 789, + "line": 790, "column": 44 }, "end": { - "line": 789, + "line": 790, "column": 51 }, "identifierName": "indices" @@ -102137,29 +102303,29 @@ }, { "type": "IfStatement", - "start": 30489, - "end": 31395, + "start": 31004, + "end": 31910, "loc": { "start": { - "line": 792, + "line": 793, "column": 8 }, "end": { - "line": 809, + "line": 810, "column": 9 } }, "test": { "type": "Identifier", - "start": 30493, - "end": 30502, + "start": 31008, + "end": 31017, "loc": { "start": { - "line": 792, + "line": 793, "column": 12 }, "end": { - "line": 792, + "line": 793, "column": 21 }, "identifierName": "triangles" @@ -102168,72 +102334,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 30504, - "end": 31395, + "start": 31019, + "end": 31910, "loc": { "start": { - "line": 792, + "line": 793, "column": 23 }, "end": { - "line": 809, + "line": 810, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 30519, - "end": 31219, + "start": 31034, + "end": 31734, "loc": { "start": { - "line": 794, + "line": 795, "column": 12 }, "end": { - "line": 806, + "line": 807, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 30523, - "end": 30567, + "start": 31038, + "end": 31082, "loc": { "start": { - "line": 794, + "line": 795, "column": 16 }, "end": { - "line": 794, + "line": 795, "column": 60 } }, "left": { "type": "LogicalExpression", - "start": 30523, - "end": 30552, + "start": 31038, + "end": 31067, "loc": { "start": { - "line": 794, + "line": 795, "column": 16 }, "end": { - "line": 794, + "line": 795, "column": 45 } }, "left": { "type": "UnaryExpression", - "start": 30523, - "end": 30538, + "start": 31038, + "end": 31053, "loc": { "start": { - "line": 794, + "line": 795, "column": 16 }, "end": { - "line": 794, + "line": 795, "column": 31 } }, @@ -102241,29 +102407,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 30524, - "end": 30538, + "start": 31039, + "end": 31053, "loc": { "start": { - "line": 794, + "line": 795, "column": 17 }, "end": { - "line": 794, + "line": 795, "column": 31 } }, "object": { "type": "Identifier", - "start": 30524, - "end": 30530, + "start": 31039, + "end": 31045, "loc": { "start": { - "line": 794, + "line": 795, "column": 17 }, "end": { - "line": 794, + "line": 795, "column": 23 }, "identifierName": "params" @@ -102272,15 +102438,15 @@ }, "property": { "type": "Identifier", - "start": 30531, - "end": 30538, + "start": 31046, + "end": 31053, "loc": { "start": { - "line": 794, + "line": 795, "column": 24 }, "end": { - "line": 794, + "line": 795, "column": 31 }, "identifierName": "normals" @@ -102296,15 +102462,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 30542, - "end": 30552, + "start": 31057, + "end": 31067, "loc": { "start": { - "line": 794, + "line": 795, "column": 35 }, "end": { - "line": 794, + "line": 795, "column": 45 } }, @@ -102312,29 +102478,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 30543, - "end": 30552, + "start": 31058, + "end": 31067, "loc": { "start": { - "line": 794, + "line": 795, "column": 36 }, "end": { - "line": 794, + "line": 795, "column": 45 } }, "object": { "type": "Identifier", - "start": 30543, - "end": 30549, + "start": 31058, + "end": 31064, "loc": { "start": { - "line": 794, + "line": 795, "column": 36 }, "end": { - "line": 794, + "line": 795, "column": 42 }, "identifierName": "params" @@ -102343,15 +102509,15 @@ }, "property": { "type": "Identifier", - "start": 30550, - "end": 30552, + "start": 31065, + "end": 31067, "loc": { "start": { - "line": 794, + "line": 795, "column": 43 }, "end": { - "line": 794, + "line": 795, "column": 45 }, "identifierName": "uv" @@ -102368,15 +102534,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 30556, - "end": 30567, + "start": 31071, + "end": 31082, "loc": { "start": { - "line": 794, + "line": 795, "column": 49 }, "end": { - "line": 794, + "line": 795, "column": 60 } }, @@ -102384,29 +102550,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 30557, - "end": 30567, + "start": 31072, + "end": 31082, "loc": { "start": { - "line": 794, + "line": 795, "column": 50 }, "end": { - "line": 794, + "line": 795, "column": 60 } }, "object": { "type": "Identifier", - "start": 30557, - "end": 30563, + "start": 31072, + "end": 31078, "loc": { "start": { - "line": 794, + "line": 795, "column": 50 }, "end": { - "line": 794, + "line": 795, "column": 56 }, "identifierName": "params" @@ -102415,15 +102581,15 @@ }, "property": { "type": "Identifier", - "start": 30564, - "end": 30567, + "start": 31079, + "end": 31082, "loc": { "start": { - "line": 794, + "line": 795, "column": 57 }, "end": { - "line": 794, + "line": 795, "column": 60 }, "identifierName": "uvs" @@ -102439,59 +102605,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 30569, - "end": 31219, + "start": 31084, + "end": 31734, "loc": { "start": { - "line": 794, + "line": 795, "column": 62 }, "end": { - "line": 806, + "line": 807, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 30889, - "end": 30916, + "start": 31404, + "end": 31431, "loc": { "start": { - "line": 801, + "line": 802, "column": 16 }, "end": { - "line": 801, + "line": 802, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 30895, - "end": 30915, + "start": 31410, + "end": 31430, "loc": { "start": { - "line": 801, + "line": 802, "column": 22 }, "end": { - "line": 801, + "line": 802, "column": 42 } }, "id": { "type": "Identifier", - "start": 30895, - "end": 30910, + "start": 31410, + "end": 31425, "loc": { "start": { - "line": 801, + "line": 802, "column": 22 }, "end": { - "line": 801, + "line": 802, "column": 37 }, "identifierName": "mergedPositions" @@ -102501,15 +102667,15 @@ }, "init": { "type": "ArrayExpression", - "start": 30913, - "end": 30915, + "start": 31428, + "end": 31430, "loc": { "start": { - "line": 801, + "line": 802, "column": 40 }, "end": { - "line": 801, + "line": 802, "column": 42 } }, @@ -102523,15 +102689,15 @@ { "type": "CommentLine", "value": " Building models often duplicate positions to allow face-aligned vertex normals; when we're not", - "start": 30588, - "end": 30685, + "start": 31103, + "end": 31200, "loc": { "start": { - "line": 796, + "line": 797, "column": 16 }, "end": { - "line": 796, + "line": 797, "column": 113 } } @@ -102539,15 +102705,15 @@ { "type": "CommentLine", "value": " providing normals for a geometry, it becomes possible to merge duplicate vertex positions within it.", - "start": 30702, - "end": 30805, + "start": 31217, + "end": 31320, "loc": { "start": { - "line": 797, + "line": 798, "column": 16 }, "end": { - "line": 797, + "line": 798, "column": 119 } } @@ -102555,15 +102721,15 @@ { "type": "CommentLine", "value": " TODO: Make vertex merging also merge normals?", - "start": 30823, - "end": 30871, + "start": 31338, + "end": 31386, "loc": { "start": { - "line": 799, + "line": 800, "column": 16 }, "end": { - "line": 799, + "line": 800, "column": 64 } } @@ -102572,44 +102738,44 @@ }, { "type": "VariableDeclaration", - "start": 30933, - "end": 30958, + "start": 31448, + "end": 31473, "loc": { "start": { - "line": 802, + "line": 803, "column": 16 }, "end": { - "line": 802, + "line": 803, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 30939, - "end": 30957, + "start": 31454, + "end": 31472, "loc": { "start": { - "line": 802, + "line": 803, "column": 22 }, "end": { - "line": 802, + "line": 803, "column": 40 } }, "id": { "type": "Identifier", - "start": 30939, - "end": 30952, + "start": 31454, + "end": 31467, "loc": { "start": { - "line": 802, + "line": 803, "column": 22 }, "end": { - "line": 802, + "line": 803, "column": 35 }, "identifierName": "mergedIndices" @@ -102618,15 +102784,15 @@ }, "init": { "type": "ArrayExpression", - "start": 30955, - "end": 30957, + "start": 31470, + "end": 31472, "loc": { "start": { - "line": 802, + "line": 803, "column": 38 }, "end": { - "line": 802, + "line": 803, "column": 40 } }, @@ -102638,43 +102804,43 @@ }, { "type": "ExpressionStatement", - "start": 30975, - "end": 31071, + "start": 31490, + "end": 31586, "loc": { "start": { - "line": 803, + "line": 804, "column": 16 }, "end": { - "line": 803, + "line": 804, "column": 112 } }, "expression": { "type": "CallExpression", - "start": 30975, - "end": 31070, + "start": 31490, + "end": 31585, "loc": { "start": { - "line": 803, + "line": 804, "column": 16 }, "end": { - "line": 803, + "line": 804, "column": 111 } }, "callee": { "type": "Identifier", - "start": 30975, - "end": 30988, + "start": 31490, + "end": 31503, "loc": { "start": { - "line": 803, + "line": 804, "column": 16 }, "end": { - "line": 803, + "line": 804, "column": 29 }, "identifierName": "mergeVertices" @@ -102684,29 +102850,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 30989, - "end": 31013, + "start": 31504, + "end": 31528, "loc": { "start": { - "line": 803, + "line": 804, "column": 30 }, "end": { - "line": 803, + "line": 804, "column": 54 } }, "object": { "type": "Identifier", - "start": 30989, - "end": 31003, + "start": 31504, + "end": 31518, "loc": { "start": { - "line": 803, + "line": 804, "column": 30 }, "end": { - "line": 803, + "line": 804, "column": 44 }, "identifierName": "xktGeometryCfg" @@ -102715,15 +102881,15 @@ }, "property": { "type": "Identifier", - "start": 31004, - "end": 31013, + "start": 31519, + "end": 31528, "loc": { "start": { - "line": 803, + "line": 804, "column": 45 }, "end": { - "line": 803, + "line": 804, "column": 54 }, "identifierName": "positions" @@ -102734,29 +102900,29 @@ }, { "type": "MemberExpression", - "start": 31015, - "end": 31037, + "start": 31530, + "end": 31552, "loc": { "start": { - "line": 803, + "line": 804, "column": 56 }, "end": { - "line": 803, + "line": 804, "column": 78 } }, "object": { "type": "Identifier", - "start": 31015, - "end": 31029, + "start": 31530, + "end": 31544, "loc": { "start": { - "line": 803, + "line": 804, "column": 56 }, "end": { - "line": 803, + "line": 804, "column": 70 }, "identifierName": "xktGeometryCfg" @@ -102765,15 +102931,15 @@ }, "property": { "type": "Identifier", - "start": 31030, - "end": 31037, + "start": 31545, + "end": 31552, "loc": { "start": { - "line": 803, + "line": 804, "column": 71 }, "end": { - "line": 803, + "line": 804, "column": 78 }, "identifierName": "indices" @@ -102784,15 +102950,15 @@ }, { "type": "Identifier", - "start": 31039, - "end": 31054, + "start": 31554, + "end": 31569, "loc": { "start": { - "line": 803, + "line": 804, "column": 80 }, "end": { - "line": 803, + "line": 804, "column": 95 }, "identifierName": "mergedPositions" @@ -102801,15 +102967,15 @@ }, { "type": "Identifier", - "start": 31056, - "end": 31069, + "start": 31571, + "end": 31584, "loc": { "start": { - "line": 803, + "line": 804, "column": 97 }, "end": { - "line": 803, + "line": 804, "column": 110 }, "identifierName": "mergedIndices" @@ -102821,58 +102987,58 @@ }, { "type": "ExpressionStatement", - "start": 31088, - "end": 31149, + "start": 31603, + "end": 31664, "loc": { "start": { - "line": 804, + "line": 805, "column": 16 }, "end": { - "line": 804, + "line": 805, "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 31088, - "end": 31148, + "start": 31603, + "end": 31663, "loc": { "start": { - "line": 804, + "line": 805, "column": 16 }, "end": { - "line": 804, + "line": 805, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 31088, - "end": 31112, + "start": 31603, + "end": 31627, "loc": { "start": { - "line": 804, + "line": 805, "column": 16 }, "end": { - "line": 804, + "line": 805, "column": 40 } }, "object": { "type": "Identifier", - "start": 31088, - "end": 31102, + "start": 31603, + "end": 31617, "loc": { "start": { - "line": 804, + "line": 805, "column": 16 }, "end": { - "line": 804, + "line": 805, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -102881,15 +103047,15 @@ }, "property": { "type": "Identifier", - "start": 31103, - "end": 31112, + "start": 31618, + "end": 31627, "loc": { "start": { - "line": 804, + "line": 805, "column": 31 }, "end": { - "line": 804, + "line": 805, "column": 40 }, "identifierName": "positions" @@ -102900,29 +103066,29 @@ }, "right": { "type": "NewExpression", - "start": 31115, - "end": 31148, + "start": 31630, + "end": 31663, "loc": { "start": { - "line": 804, + "line": 805, "column": 43 }, "end": { - "line": 804, + "line": 805, "column": 76 } }, "callee": { "type": "Identifier", - "start": 31119, - "end": 31131, + "start": 31634, + "end": 31646, "loc": { "start": { - "line": 804, + "line": 805, "column": 47 }, "end": { - "line": 804, + "line": 805, "column": 59 }, "identifierName": "Float64Array" @@ -102932,15 +103098,15 @@ "arguments": [ { "type": "Identifier", - "start": 31132, - "end": 31147, + "start": 31647, + "end": 31662, "loc": { "start": { - "line": 804, + "line": 805, "column": 60 }, "end": { - "line": 804, + "line": 805, "column": 75 }, "identifierName": "mergedPositions" @@ -102953,58 +103119,58 @@ }, { "type": "ExpressionStatement", - "start": 31166, - "end": 31205, + "start": 31681, + "end": 31720, "loc": { "start": { - "line": 805, + "line": 806, "column": 16 }, "end": { - "line": 805, + "line": 806, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 31166, - "end": 31204, + "start": 31681, + "end": 31719, "loc": { "start": { - "line": 805, + "line": 806, "column": 16 }, "end": { - "line": 805, + "line": 806, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 31166, - "end": 31188, + "start": 31681, + "end": 31703, "loc": { "start": { - "line": 805, + "line": 806, "column": 16 }, "end": { - "line": 805, + "line": 806, "column": 38 } }, "object": { "type": "Identifier", - "start": 31166, - "end": 31180, + "start": 31681, + "end": 31695, "loc": { "start": { - "line": 805, + "line": 806, "column": 16 }, "end": { - "line": 805, + "line": 806, "column": 30 }, "identifierName": "xktGeometryCfg" @@ -103013,15 +103179,15 @@ }, "property": { "type": "Identifier", - "start": 31181, - "end": 31188, + "start": 31696, + "end": 31703, "loc": { "start": { - "line": 805, + "line": 806, "column": 31 }, "end": { - "line": 805, + "line": 806, "column": 38 }, "identifierName": "indices" @@ -103032,15 +103198,15 @@ }, "right": { "type": "Identifier", - "start": 31191, - "end": 31204, + "start": 31706, + "end": 31719, "loc": { "start": { - "line": 805, + "line": 806, "column": 41 }, "end": { - "line": 805, + "line": 806, "column": 54 }, "identifierName": "mergedIndices" @@ -103056,58 +103222,58 @@ }, { "type": "ExpressionStatement", - "start": 31233, - "end": 31385, + "start": 31748, + "end": 31900, "loc": { "start": { - "line": 808, + "line": 809, "column": 12 }, "end": { - "line": 808, + "line": 809, "column": 164 } }, "expression": { "type": "AssignmentExpression", - "start": 31233, - "end": 31384, + "start": 31748, + "end": 31899, "loc": { "start": { - "line": 808, + "line": 809, "column": 12 }, "end": { - "line": 808, + "line": 809, "column": 163 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 31233, - "end": 31259, + "start": 31748, + "end": 31774, "loc": { "start": { - "line": 808, + "line": 809, "column": 12 }, "end": { - "line": 808, + "line": 809, "column": 38 } }, "object": { "type": "Identifier", - "start": 31233, - "end": 31247, + "start": 31748, + "end": 31762, "loc": { "start": { - "line": 808, + "line": 809, "column": 12 }, "end": { - "line": 808, + "line": 809, "column": 26 }, "identifierName": "xktGeometryCfg" @@ -103116,15 +103282,15 @@ }, "property": { "type": "Identifier", - "start": 31248, - "end": 31259, + "start": 31763, + "end": 31774, "loc": { "start": { - "line": 808, + "line": 809, "column": 27 }, "end": { - "line": 808, + "line": 809, "column": 38 }, "identifierName": "edgeIndices" @@ -103135,29 +103301,29 @@ }, "right": { "type": "CallExpression", - "start": 31262, - "end": 31384, + "start": 31777, + "end": 31899, "loc": { "start": { - "line": 808, + "line": 809, "column": 41 }, "end": { - "line": 808, + "line": 809, "column": 163 } }, "callee": { "type": "Identifier", - "start": 31262, - "end": 31278, + "start": 31777, + "end": 31793, "loc": { "start": { - "line": 808, + "line": 809, "column": 41 }, "end": { - "line": 808, + "line": 809, "column": 57 }, "identifierName": "buildEdgeIndices" @@ -103167,29 +103333,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 31279, - "end": 31303, + "start": 31794, + "end": 31818, "loc": { "start": { - "line": 808, + "line": 809, "column": 58 }, "end": { - "line": 808, + "line": 809, "column": 82 } }, "object": { "type": "Identifier", - "start": 31279, - "end": 31293, + "start": 31794, + "end": 31808, "loc": { "start": { - "line": 808, + "line": 809, "column": 58 }, "end": { - "line": 808, + "line": 809, "column": 72 }, "identifierName": "xktGeometryCfg" @@ -103198,15 +103364,15 @@ }, "property": { "type": "Identifier", - "start": 31294, - "end": 31303, + "start": 31809, + "end": 31818, "loc": { "start": { - "line": 808, + "line": 809, "column": 73 }, "end": { - "line": 808, + "line": 809, "column": 82 }, "identifierName": "positions" @@ -103217,29 +103383,29 @@ }, { "type": "MemberExpression", - "start": 31305, - "end": 31327, + "start": 31820, + "end": 31842, "loc": { "start": { - "line": 808, + "line": 809, "column": 84 }, "end": { - "line": 808, + "line": 809, "column": 106 } }, "object": { "type": "Identifier", - "start": 31305, - "end": 31319, + "start": 31820, + "end": 31834, "loc": { "start": { - "line": 808, + "line": 809, "column": 84 }, "end": { - "line": 808, + "line": 809, "column": 98 }, "identifierName": "xktGeometryCfg" @@ -103248,15 +103414,15 @@ }, "property": { "type": "Identifier", - "start": 31320, - "end": 31327, + "start": 31835, + "end": 31842, "loc": { "start": { - "line": 808, + "line": 809, "column": 99 }, "end": { - "line": 808, + "line": 809, "column": 106 }, "identifierName": "indices" @@ -103267,72 +103433,72 @@ }, { "type": "NullLiteral", - "start": 31329, - "end": 31333, + "start": 31844, + "end": 31848, "loc": { "start": { - "line": 808, + "line": 809, "column": 108 }, "end": { - "line": 808, + "line": 809, "column": 112 } } }, { "type": "LogicalExpression", - "start": 31335, - "end": 31383, + "start": 31850, + "end": 31898, "loc": { "start": { - "line": 808, + "line": 809, "column": 114 }, "end": { - "line": 808, + "line": 809, "column": 162 } }, "left": { "type": "LogicalExpression", - "start": 31335, - "end": 31377, + "start": 31850, + "end": 31892, "loc": { "start": { - "line": 808, + "line": 809, "column": 114 }, "end": { - "line": 808, + "line": 809, "column": 156 } }, "left": { "type": "MemberExpression", - "start": 31335, - "end": 31355, + "start": 31850, + "end": 31870, "loc": { "start": { - "line": 808, + "line": 809, "column": 114 }, "end": { - "line": 808, + "line": 809, "column": 134 } }, "object": { "type": "Identifier", - "start": 31335, - "end": 31341, + "start": 31850, + "end": 31856, "loc": { "start": { - "line": 808, + "line": 809, "column": 114 }, "end": { - "line": 808, + "line": 809, "column": 120 }, "identifierName": "params" @@ -103341,15 +103507,15 @@ }, "property": { "type": "Identifier", - "start": 31342, - "end": 31355, + "start": 31857, + "end": 31870, "loc": { "start": { - "line": 808, + "line": 809, "column": 121 }, "end": { - "line": 808, + "line": 809, "column": 134 }, "identifierName": "edgeThreshold" @@ -103361,44 +103527,44 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 31359, - "end": 31377, + "start": 31874, + "end": 31892, "loc": { "start": { - "line": 808, + "line": 809, "column": 138 }, "end": { - "line": 808, + "line": 809, "column": 156 } }, "object": { "type": "ThisExpression", - "start": 31359, - "end": 31363, + "start": 31874, + "end": 31878, "loc": { "start": { - "line": 808, + "line": 809, "column": 138 }, "end": { - "line": 808, + "line": 809, "column": 142 } } }, "property": { "type": "Identifier", - "start": 31364, - "end": 31377, + "start": 31879, + "end": 31892, "loc": { "start": { - "line": 808, + "line": 809, "column": 143 }, "end": { - "line": 808, + "line": 809, "column": 156 }, "identifierName": "edgeThreshold" @@ -103411,15 +103577,15 @@ "operator": "||", "right": { "type": "NumericLiteral", - "start": 31381, - "end": 31383, + "start": 31896, + "end": 31898, "loc": { "start": { - "line": 808, + "line": 809, "column": 160 }, "end": { - "line": 808, + "line": 809, "column": 162 } }, @@ -103441,44 +103607,44 @@ }, { "type": "VariableDeclaration", - "start": 31405, - "end": 31454, + "start": 31920, + "end": 31969, "loc": { "start": { - "line": 811, + "line": 812, "column": 8 }, "end": { - "line": 811, + "line": 812, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 31411, - "end": 31453, + "start": 31926, + "end": 31968, "loc": { "start": { - "line": 811, + "line": 812, "column": 14 }, "end": { - "line": 811, + "line": 812, "column": 56 } }, "id": { "type": "Identifier", - "start": 31411, - "end": 31419, + "start": 31926, + "end": 31934, "loc": { "start": { - "line": 811, + "line": 812, "column": 14 }, "end": { - "line": 811, + "line": 812, "column": 22 }, "identifierName": "geometry" @@ -103487,29 +103653,29 @@ }, "init": { "type": "NewExpression", - "start": 31422, - "end": 31453, + "start": 31937, + "end": 31968, "loc": { "start": { - "line": 811, + "line": 812, "column": 25 }, "end": { - "line": 811, + "line": 812, "column": 56 } }, "callee": { "type": "Identifier", - "start": 31426, - "end": 31437, + "start": 31941, + "end": 31952, "loc": { "start": { - "line": 811, + "line": 812, "column": 29 }, "end": { - "line": 811, + "line": 812, "column": 40 }, "identifierName": "XKTGeometry" @@ -103519,15 +103685,15 @@ "arguments": [ { "type": "Identifier", - "start": 31438, - "end": 31452, + "start": 31953, + "end": 31967, "loc": { "start": { - "line": 811, + "line": 812, "column": 41 }, "end": { - "line": 811, + "line": 812, "column": 55 }, "identifierName": "xktGeometryCfg" @@ -103542,87 +103708,87 @@ }, { "type": "ExpressionStatement", - "start": 31464, - "end": 31503, + "start": 31979, + "end": 32018, "loc": { "start": { - "line": 813, + "line": 814, "column": 8 }, "end": { - "line": 813, + "line": 814, "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 31464, - "end": 31502, + "start": 31979, + "end": 32017, "loc": { "start": { - "line": 813, + "line": 814, "column": 8 }, "end": { - "line": 813, + "line": 814, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 31464, - "end": 31491, + "start": 31979, + "end": 32006, "loc": { "start": { - "line": 813, + "line": 814, "column": 8 }, "end": { - "line": 813, + "line": 814, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 31464, - "end": 31479, + "start": 31979, + "end": 31994, "loc": { "start": { - "line": 813, + "line": 814, "column": 8 }, "end": { - "line": 813, + "line": 814, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 31464, - "end": 31468, + "start": 31979, + "end": 31983, "loc": { "start": { - "line": 813, + "line": 814, "column": 8 }, "end": { - "line": 813, + "line": 814, "column": 12 } } }, "property": { "type": "Identifier", - "start": 31469, - "end": 31479, + "start": 31984, + "end": 31994, "loc": { "start": { - "line": 813, + "line": 814, "column": 13 }, "end": { - "line": 813, + "line": 814, "column": 23 }, "identifierName": "geometries" @@ -103633,15 +103799,15 @@ }, "property": { "type": "Identifier", - "start": 31480, - "end": 31490, + "start": 31995, + "end": 32005, "loc": { "start": { - "line": 813, + "line": 814, "column": 24 }, "end": { - "line": 813, + "line": 814, "column": 34 }, "identifierName": "geometryId" @@ -103652,15 +103818,15 @@ }, "right": { "type": "Identifier", - "start": 31494, - "end": 31502, + "start": 32009, + "end": 32017, "loc": { "start": { - "line": 813, + "line": 814, "column": 38 }, "end": { - "line": 813, + "line": 814, "column": 46 }, "identifierName": "geometry" @@ -103671,86 +103837,86 @@ }, { "type": "ExpressionStatement", - "start": 31512, - "end": 31547, + "start": 32027, + "end": 32062, "loc": { "start": { - "line": 814, + "line": 815, "column": 8 }, "end": { - "line": 814, + "line": 815, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 31512, - "end": 31546, + "start": 32027, + "end": 32061, "loc": { "start": { - "line": 814, + "line": 815, "column": 8 }, "end": { - "line": 814, + "line": 815, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 31512, - "end": 31536, + "start": 32027, + "end": 32051, "loc": { "start": { - "line": 814, + "line": 815, "column": 8 }, "end": { - "line": 814, + "line": 815, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 31512, - "end": 31531, + "start": 32027, + "end": 32046, "loc": { "start": { - "line": 814, + "line": 815, "column": 8 }, "end": { - "line": 814, + "line": 815, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 31512, - "end": 31516, + "start": 32027, + "end": 32031, "loc": { "start": { - "line": 814, + "line": 815, "column": 8 }, "end": { - "line": 814, + "line": 815, "column": 12 } } }, "property": { "type": "Identifier", - "start": 31517, - "end": 31531, + "start": 32032, + "end": 32046, "loc": { "start": { - "line": 814, + "line": 815, "column": 13 }, "end": { - "line": 814, + "line": 815, "column": 27 }, "identifierName": "geometriesList" @@ -103761,15 +103927,15 @@ }, "property": { "type": "Identifier", - "start": 31532, - "end": 31536, + "start": 32047, + "end": 32051, "loc": { "start": { - "line": 814, + "line": 815, "column": 28 }, "end": { - "line": 814, + "line": 815, "column": 32 }, "identifierName": "push" @@ -103781,15 +103947,15 @@ "arguments": [ { "type": "Identifier", - "start": 31537, - "end": 31545, + "start": 32052, + "end": 32060, "loc": { "start": { - "line": 814, + "line": 815, "column": 33 }, "end": { - "line": 814, + "line": 815, "column": 41 }, "identifierName": "geometry" @@ -103801,29 +103967,29 @@ }, { "type": "ReturnStatement", - "start": 31557, - "end": 31573, + "start": 32072, + "end": 32088, "loc": { "start": { - "line": 816, + "line": 817, "column": 8 }, "end": { - "line": 816, + "line": 817, "column": 24 } }, "argument": { "type": "Identifier", - "start": 31564, - "end": 31572, + "start": 32079, + "end": 32087, "loc": { "start": { - "line": 816, + "line": 817, "column": 15 }, "end": { - "line": 816, + "line": 817, "column": 23 }, "identifierName": "geometry" @@ -103838,8 +104004,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTGeometry} within this XKTModel.\n *\n * Registers the new {@link XKTGeometry} in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.geometryId Unique ID for the {@link XKTGeometry}.\n * @param {String} params.primitiveType The type of {@link XKTGeometry}: \"triangles\", \"lines\" or \"points\".\n * @param {Float64Array} params.positions Floating-point Local-space vertex positions for the {@link XKTGeometry}. Required for all primitive types.\n * @param {Number[]} [params.normals] Floating-point vertex normals for the {@link XKTGeometry}. Only used with triangles primitives. Ignored for points and lines.\n * @param {Number[]} [params.colors] Floating-point RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.uvs] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uv````.\n * @param {Number[]} [params.uv] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uvs````.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Uint32Array} [params.indices] Indices for the {@link XKTGeometry}. Required for triangles and lines primitives. Ignored for points.\n * @param {Number} [params.edgeThreshold=10]\n * @returns {XKTGeometry} The new {@link XKTGeometry}.\n ", - "start": 24978, - "end": 26864, + "start": 25252, + "end": 27138, "loc": { "start": { "line": 669, @@ -103855,15 +104021,15 @@ }, { "type": "ClassMethod", - "start": 31585, - "end": 31764, + "start": 32100, + "end": 32279, "loc": { "start": { - "line": 819, + "line": 820, "column": 4 }, "end": { - "line": 825, + "line": 826, "column": 5 } }, @@ -103871,15 +104037,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 31585, - "end": 31606, + "start": 32100, + "end": 32121, "loc": { "start": { - "line": 819, + "line": 820, "column": 4 }, "end": { - "line": 819, + "line": 820, "column": 25 }, "identifierName": "_createDefaultIndices" @@ -103894,15 +104060,15 @@ "params": [ { "type": "Identifier", - "start": 31607, - "end": 31617, + "start": 32122, + "end": 32132, "loc": { "start": { - "line": 819, + "line": 820, "column": 26 }, "end": { - "line": 819, + "line": 820, "column": 36 }, "identifierName": "numIndices" @@ -103912,59 +104078,59 @@ ], "body": { "type": "BlockStatement", - "start": 31619, - "end": 31764, + "start": 32134, + "end": 32279, "loc": { "start": { - "line": 819, + "line": 820, "column": 38 }, "end": { - "line": 825, + "line": 826, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 31629, - "end": 31648, + "start": 32144, + "end": 32163, "loc": { "start": { - "line": 820, + "line": 821, "column": 8 }, "end": { - "line": 820, + "line": 821, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 31635, - "end": 31647, + "start": 32150, + "end": 32162, "loc": { "start": { - "line": 820, + "line": 821, "column": 14 }, "end": { - "line": 820, + "line": 821, "column": 26 } }, "id": { "type": "Identifier", - "start": 31635, - "end": 31642, + "start": 32150, + "end": 32157, "loc": { "start": { - "line": 820, + "line": 821, "column": 14 }, "end": { - "line": 820, + "line": 821, "column": 21 }, "identifierName": "indices" @@ -103973,15 +104139,15 @@ }, "init": { "type": "ArrayExpression", - "start": 31645, - "end": 31647, + "start": 32160, + "end": 32162, "loc": { "start": { - "line": 820, + "line": 821, "column": 24 }, "end": { - "line": 820, + "line": 821, "column": 26 } }, @@ -103993,58 +104159,58 @@ }, { "type": "ForStatement", - "start": 31657, - "end": 31734, + "start": 32172, + "end": 32249, "loc": { "start": { - "line": 821, + "line": 822, "column": 8 }, "end": { - "line": 823, + "line": 824, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 31662, - "end": 31671, + "start": 32177, + "end": 32186, "loc": { "start": { - "line": 821, + "line": 822, "column": 13 }, "end": { - "line": 821, + "line": 822, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 31666, - "end": 31671, + "start": 32181, + "end": 32186, "loc": { "start": { - "line": 821, + "line": 822, "column": 17 }, "end": { - "line": 821, + "line": 822, "column": 22 } }, "id": { "type": "Identifier", - "start": 31666, - "end": 31667, + "start": 32181, + "end": 32182, "loc": { "start": { - "line": 821, + "line": 822, "column": 17 }, "end": { - "line": 821, + "line": 822, "column": 18 }, "identifierName": "i" @@ -104053,15 +104219,15 @@ }, "init": { "type": "NumericLiteral", - "start": 31670, - "end": 31671, + "start": 32185, + "end": 32186, "loc": { "start": { - "line": 821, + "line": 822, "column": 21 }, "end": { - "line": 821, + "line": 822, "column": 22 } }, @@ -104077,29 +104243,29 @@ }, "test": { "type": "BinaryExpression", - "start": 31673, - "end": 31687, + "start": 32188, + "end": 32202, "loc": { "start": { - "line": 821, + "line": 822, "column": 24 }, "end": { - "line": 821, + "line": 822, "column": 38 } }, "left": { "type": "Identifier", - "start": 31673, - "end": 31674, + "start": 32188, + "end": 32189, "loc": { "start": { - "line": 821, + "line": 822, "column": 24 }, "end": { - "line": 821, + "line": 822, "column": 25 }, "identifierName": "i" @@ -104109,15 +104275,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 31677, - "end": 31687, + "start": 32192, + "end": 32202, "loc": { "start": { - "line": 821, + "line": 822, "column": 28 }, "end": { - "line": 821, + "line": 822, "column": 38 }, "identifierName": "numIndices" @@ -104127,15 +104293,15 @@ }, "update": { "type": "UpdateExpression", - "start": 31689, - "end": 31692, + "start": 32204, + "end": 32207, "loc": { "start": { - "line": 821, + "line": 822, "column": 40 }, "end": { - "line": 821, + "line": 822, "column": 43 } }, @@ -104143,15 +104309,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 31689, - "end": 31690, + "start": 32204, + "end": 32205, "loc": { "start": { - "line": 821, + "line": 822, "column": 40 }, "end": { - "line": 821, + "line": 822, "column": 41 }, "identifierName": "i" @@ -104161,72 +104327,72 @@ }, "body": { "type": "BlockStatement", - "start": 31694, - "end": 31734, + "start": 32209, + "end": 32249, "loc": { "start": { - "line": 821, + "line": 822, "column": 45 }, "end": { - "line": 823, + "line": 824, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 31708, - "end": 31724, + "start": 32223, + "end": 32239, "loc": { "start": { - "line": 822, + "line": 823, "column": 12 }, "end": { - "line": 822, + "line": 823, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 31708, - "end": 31723, + "start": 32223, + "end": 32238, "loc": { "start": { - "line": 822, + "line": 823, "column": 12 }, "end": { - "line": 822, + "line": 823, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 31708, - "end": 31720, + "start": 32223, + "end": 32235, "loc": { "start": { - "line": 822, + "line": 823, "column": 12 }, "end": { - "line": 822, + "line": 823, "column": 24 } }, "object": { "type": "Identifier", - "start": 31708, - "end": 31715, + "start": 32223, + "end": 32230, "loc": { "start": { - "line": 822, + "line": 823, "column": 12 }, "end": { - "line": 822, + "line": 823, "column": 19 }, "identifierName": "indices" @@ -104235,15 +104401,15 @@ }, "property": { "type": "Identifier", - "start": 31716, - "end": 31720, + "start": 32231, + "end": 32235, "loc": { "start": { - "line": 822, + "line": 823, "column": 20 }, "end": { - "line": 822, + "line": 823, "column": 24 }, "identifierName": "push" @@ -104255,15 +104421,15 @@ "arguments": [ { "type": "Identifier", - "start": 31721, - "end": 31722, + "start": 32236, + "end": 32237, "loc": { "start": { - "line": 822, + "line": 823, "column": 25 }, "end": { - "line": 822, + "line": 823, "column": 26 }, "identifierName": "i" @@ -104279,29 +104445,29 @@ }, { "type": "ReturnStatement", - "start": 31743, - "end": 31758, + "start": 32258, + "end": 32273, "loc": { "start": { - "line": 824, + "line": 825, "column": 8 }, "end": { - "line": 824, + "line": 825, "column": 23 } }, "argument": { "type": "Identifier", - "start": 31750, - "end": 31757, + "start": 32265, + "end": 32272, "loc": { "start": { - "line": 824, + "line": 825, "column": 15 }, "end": { - "line": 824, + "line": 825, "column": 22 }, "identifierName": "indices" @@ -104317,15 +104483,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMesh} within this XKTModel.\n *\n * An {@link XKTMesh} can be owned by one {@link XKTEntity}, which can own multiple {@link XKTMesh}es.\n *\n * Registers the new {@link XKTMesh} in {@link XKTModel#meshes} and {@link XKTModel#meshesList}.\n *\n * @param {*} params Method parameters.\n * @param {Number} params.meshId Unique ID for the {@link XKTMesh}.\n * @param {Number} params.geometryId ID of an existing {@link XKTGeometry} in {@link XKTModel#geometries}.\n * @param {Number} [params.textureSetId] Unique ID of an {@link XKTTextureSet} in {@link XKTModel#textureSets}.\n * @param {Float32Array} params.color RGB color for the {@link XKTMesh}, with each color component in range [0..1].\n * @param {Number} [params.metallic=0] How metallic the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully dielectric material, while ````1```` indicates fully metallic.\n * @param {Number} [params.roughness=1] How rough the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully smooth, while ````1```` indicates fully rough.\n * @param {Number} params.opacity Opacity factor for the {@link XKTMesh}, in range [0..1].\n * @param {Float64Array} [params.matrix] Modeling matrix for the {@link XKTMesh}. Overrides ````position````, ````scale```` and ````rotation```` parameters.\n * @param {Number[]} [params.position=[0,0,0]] Position of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.scale=[1,1,1]] Scale of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.rotation=[0,0,0]] Rotation of the {@link XKTMesh} as Euler angles given in degrees, for each of the X, Y and Z axis. Overridden by the ````matrix```` parameter.\n * @returns {XKTMesh} The new {@link XKTMesh}.\n ", - "start": 31770, - "end": 33656, + "start": 32285, + "end": 34171, "loc": { "start": { - "line": 827, + "line": 828, "column": 4 }, "end": { - "line": 847, + "line": 848, "column": 7 } } @@ -104334,15 +104500,15 @@ }, { "type": "ClassMethod", - "start": 33661, - "end": 35862, + "start": 34176, + "end": 36443, "loc": { "start": { - "line": 848, + "line": 849, "column": 4 }, "end": { - "line": 922, + "line": 923, "column": 5 } }, @@ -104350,15 +104516,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 33661, - "end": 33671, + "start": 34176, + "end": 34186, "loc": { "start": { - "line": 848, + "line": 849, "column": 4 }, "end": { - "line": 848, + "line": 849, "column": 14 }, "identifierName": "createMesh" @@ -104374,15 +104540,15 @@ "params": [ { "type": "Identifier", - "start": 33672, - "end": 33678, + "start": 34187, + "end": 34193, "loc": { "start": { - "line": 848, + "line": 849, "column": 15 }, "end": { - "line": 848, + "line": 849, "column": 21 }, "identifierName": "params" @@ -104392,86 +104558,86 @@ ], "body": { "type": "BlockStatement", - "start": 33680, - "end": 35862, + "start": 34195, + "end": 36443, "loc": { "start": { - "line": 848, + "line": 849, "column": 23 }, "end": { - "line": 922, + "line": 923, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 33691, - "end": 33816, + "start": 34206, + "end": 34353, "loc": { "start": { - "line": 850, + "line": 851, "column": 8 }, "end": { - "line": 852, + "line": 853, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 33695, - "end": 33748, + "start": 34210, + "end": 34263, "loc": { "start": { - "line": 850, + "line": 851, "column": 12 }, "end": { - "line": 850, + "line": 851, "column": 65 } }, "left": { "type": "BinaryExpression", - "start": 33695, - "end": 33717, + "start": 34210, + "end": 34232, "loc": { "start": { - "line": 850, + "line": 851, "column": 12 }, "end": { - "line": 850, + "line": 851, "column": 34 } }, "left": { "type": "MemberExpression", - "start": 33695, - "end": 33708, + "start": 34210, + "end": 34223, "loc": { "start": { - "line": 850, + "line": 851, "column": 12 }, "end": { - "line": 850, + "line": 851, "column": 25 } }, "object": { "type": "Identifier", - "start": 33695, - "end": 33701, + "start": 34210, + "end": 34216, "loc": { "start": { - "line": 850, + "line": 851, "column": 12 }, "end": { - "line": 850, + "line": 851, "column": 18 }, "identifierName": "params" @@ -104480,15 +104646,15 @@ }, "property": { "type": "Identifier", - "start": 33702, - "end": 33708, + "start": 34217, + "end": 34223, "loc": { "start": { - "line": 850, + "line": 851, "column": 19 }, "end": { - "line": 850, + "line": 851, "column": 25 }, "identifierName": "meshId" @@ -104500,15 +104666,15 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 33713, - "end": 33717, + "start": 34228, + "end": 34232, "loc": { "start": { - "line": 850, + "line": 851, "column": 30 }, "end": { - "line": 850, + "line": 851, "column": 34 } } @@ -104517,43 +104683,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 33721, - "end": 33748, + "start": 34236, + "end": 34263, "loc": { "start": { - "line": 850, + "line": 851, "column": 38 }, "end": { - "line": 850, + "line": 851, "column": 65 } }, "left": { "type": "MemberExpression", - "start": 33721, - "end": 33734, + "start": 34236, + "end": 34249, "loc": { "start": { - "line": 850, + "line": 851, "column": 38 }, "end": { - "line": 850, + "line": 851, "column": 51 } }, "object": { "type": "Identifier", - "start": 33721, - "end": 33727, + "start": 34236, + "end": 34242, "loc": { "start": { - "line": 850, + "line": 851, "column": 38 }, "end": { - "line": 850, + "line": 851, "column": 44 }, "identifierName": "params" @@ -104562,15 +104728,15 @@ }, "property": { "type": "Identifier", - "start": 33728, - "end": 33734, + "start": 34243, + "end": 34249, "loc": { "start": { - "line": 850, + "line": 851, "column": 45 }, "end": { - "line": 850, + "line": 851, "column": 51 }, "identifierName": "meshId" @@ -104582,15 +104748,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 33739, - "end": 33748, + "start": 34254, + "end": 34263, "loc": { "start": { - "line": 850, + "line": 851, "column": 56 }, "end": { - "line": 850, + "line": 851, "column": 65 }, "identifierName": "undefined" @@ -104601,52 +104767,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 33750, - "end": 33816, + "start": 34265, + "end": 34353, "loc": { "start": { - "line": 850, + "line": 851, "column": 67 }, "end": { - "line": 852, + "line": 853, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 33764, - "end": 33806, + "start": 34279, + "end": 34343, "loc": { "start": { - "line": 851, + "line": 852, "column": 12 }, "end": { - "line": 851, - "column": 54 + "line": 852, + "column": 76 } }, "argument": { "type": "StringLiteral", - "start": 33770, - "end": 33805, + "start": 34285, + "end": 34342, "loc": { "start": { - "line": 851, + "line": 852, "column": 18 }, "end": { - "line": 851, - "column": 53 + "line": 852, + "column": 75 } }, "extra": { - "rawValue": "Parameter expected: params.meshId", - "raw": "\"Parameter expected: params.meshId\"" + "rawValue": "[XKTModel.createMesh] Parameter expected: params.meshId", + "raw": "\"[XKTModel.createMesh] Parameter expected: params.meshId\"" }, - "value": "Parameter expected: params.meshId" + "value": "[XKTModel.createMesh] Parameter expected: params.meshId" } } ], @@ -104656,71 +104822,71 @@ }, { "type": "IfStatement", - "start": 33826, - "end": 33963, + "start": 34363, + "end": 34522, "loc": { "start": { - "line": 854, + "line": 855, "column": 8 }, "end": { - "line": 856, + "line": 857, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 33830, - "end": 33891, + "start": 34367, + "end": 34428, "loc": { "start": { - "line": 854, + "line": 855, "column": 12 }, "end": { - "line": 854, + "line": 855, "column": 73 } }, "left": { "type": "BinaryExpression", - "start": 33830, - "end": 33856, + "start": 34367, + "end": 34393, "loc": { "start": { - "line": 854, + "line": 855, "column": 12 }, "end": { - "line": 854, + "line": 855, "column": 38 } }, "left": { "type": "MemberExpression", - "start": 33830, - "end": 33847, + "start": 34367, + "end": 34384, "loc": { "start": { - "line": 854, + "line": 855, "column": 12 }, "end": { - "line": 854, + "line": 855, "column": 29 } }, "object": { "type": "Identifier", - "start": 33830, - "end": 33836, + "start": 34367, + "end": 34373, "loc": { "start": { - "line": 854, + "line": 855, "column": 12 }, "end": { - "line": 854, + "line": 855, "column": 18 }, "identifierName": "params" @@ -104729,15 +104895,15 @@ }, "property": { "type": "Identifier", - "start": 33837, - "end": 33847, + "start": 34374, + "end": 34384, "loc": { "start": { - "line": 854, + "line": 855, "column": 19 }, "end": { - "line": 854, + "line": 855, "column": 29 }, "identifierName": "geometryId" @@ -104749,15 +104915,15 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 33852, - "end": 33856, + "start": 34389, + "end": 34393, "loc": { "start": { - "line": 854, + "line": 855, "column": 34 }, "end": { - "line": 854, + "line": 855, "column": 38 } } @@ -104766,43 +104932,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 33860, - "end": 33891, + "start": 34397, + "end": 34428, "loc": { "start": { - "line": 854, + "line": 855, "column": 42 }, "end": { - "line": 854, + "line": 855, "column": 73 } }, "left": { "type": "MemberExpression", - "start": 33860, - "end": 33877, + "start": 34397, + "end": 34414, "loc": { "start": { - "line": 854, + "line": 855, "column": 42 }, "end": { - "line": 854, + "line": 855, "column": 59 } }, "object": { "type": "Identifier", - "start": 33860, - "end": 33866, + "start": 34397, + "end": 34403, "loc": { "start": { - "line": 854, + "line": 855, "column": 42 }, "end": { - "line": 854, + "line": 855, "column": 48 }, "identifierName": "params" @@ -104811,15 +104977,15 @@ }, "property": { "type": "Identifier", - "start": 33867, - "end": 33877, + "start": 34404, + "end": 34414, "loc": { "start": { - "line": 854, + "line": 855, "column": 49 }, "end": { - "line": 854, + "line": 855, "column": 59 }, "identifierName": "geometryId" @@ -104831,15 +104997,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 33882, - "end": 33891, + "start": 34419, + "end": 34428, "loc": { "start": { - "line": 854, + "line": 855, "column": 64 }, "end": { - "line": 854, + "line": 855, "column": 73 }, "identifierName": "undefined" @@ -104850,52 +105016,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 33893, - "end": 33963, + "start": 34430, + "end": 34522, "loc": { "start": { - "line": 854, + "line": 855, "column": 75 }, "end": { - "line": 856, + "line": 857, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 33907, - "end": 33953, + "start": 34444, + "end": 34512, "loc": { "start": { - "line": 855, + "line": 856, "column": 12 }, "end": { - "line": 855, - "column": 58 + "line": 856, + "column": 80 } }, "argument": { "type": "StringLiteral", - "start": 33913, - "end": 33952, + "start": 34450, + "end": 34511, "loc": { "start": { - "line": 855, + "line": 856, "column": 18 }, "end": { - "line": 855, - "column": 57 + "line": 856, + "column": 79 } }, "extra": { - "rawValue": "Parameter expected: params.geometryId", - "raw": "\"Parameter expected: params.geometryId\"" + "rawValue": "[XKTModel.createMesh] Parameter expected: params.geometryId", + "raw": "\"[XKTModel.createMesh] Parameter expected: params.geometryId\"" }, - "value": "Parameter expected: params.geometryId" + "value": "[XKTModel.createMesh] Parameter expected: params.geometryId" } } ], @@ -104905,58 +105071,58 @@ }, { "type": "IfStatement", - "start": 33973, - "end": 34076, + "start": 34532, + "end": 34657, "loc": { "start": { - "line": 858, + "line": 859, "column": 8 }, "end": { - "line": 860, + "line": 861, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 33977, - "end": 33991, + "start": 34536, + "end": 34550, "loc": { "start": { - "line": 858, + "line": 859, "column": 12 }, "end": { - "line": 858, + "line": 859, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 33977, - "end": 33981, + "start": 34536, + "end": 34540, "loc": { "start": { - "line": 858, + "line": 859, "column": 12 }, "end": { - "line": 858, + "line": 859, "column": 16 } } }, "property": { "type": "Identifier", - "start": 33982, - "end": 33991, + "start": 34541, + "end": 34550, "loc": { "start": { - "line": 858, + "line": 859, "column": 17 }, "end": { - "line": 858, + "line": 859, "column": 26 }, "identifierName": "finalized" @@ -104967,52 +105133,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 33993, - "end": 34076, + "start": 34552, + "end": 34657, "loc": { "start": { - "line": 858, + "line": 859, "column": 28 }, "end": { - "line": 860, + "line": 861, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 34007, - "end": 34066, + "start": 34566, + "end": 34647, "loc": { "start": { - "line": 859, + "line": 860, "column": 12 }, "end": { - "line": 859, - "column": 71 + "line": 860, + "column": 93 } }, "argument": { "type": "StringLiteral", - "start": 34013, - "end": 34065, + "start": 34572, + "end": 34646, "loc": { "start": { - "line": 859, + "line": 860, "column": 18 }, "end": { - "line": 859, - "column": 70 + "line": 860, + "column": 92 } }, "extra": { - "rawValue": "XKTModel has been finalized, can't add more meshes", - "raw": "\"XKTModel has been finalized, can't add more meshes\"" + "rawValue": "[XKTModel.createMesh] XKTModel has been finalized, can't add more meshes", + "raw": "\"[XKTModel.createMesh] XKTModel has been finalized, can't add more meshes\"" }, - "value": "XKTModel has been finalized, can't add more meshes" + "value": "[XKTModel.createMesh] XKTModel has been finalized, can't add more meshes" } } ], @@ -105022,72 +105188,72 @@ }, { "type": "IfStatement", - "start": 34086, - "end": 34233, + "start": 34667, + "end": 34814, "loc": { "start": { - "line": 862, + "line": 863, "column": 8 }, "end": { - "line": 865, + "line": 866, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 34090, - "end": 34116, + "start": 34671, + "end": 34697, "loc": { "start": { - "line": 862, + "line": 863, "column": 12 }, "end": { - "line": 862, + "line": 863, "column": 38 } }, "object": { "type": "MemberExpression", - "start": 34090, - "end": 34101, + "start": 34671, + "end": 34682, "loc": { "start": { - "line": 862, + "line": 863, "column": 12 }, "end": { - "line": 862, + "line": 863, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 34090, - "end": 34094, + "start": 34671, + "end": 34675, "loc": { "start": { - "line": 862, + "line": 863, "column": 12 }, "end": { - "line": 862, + "line": 863, "column": 16 } } }, "property": { "type": "Identifier", - "start": 34095, - "end": 34101, + "start": 34676, + "end": 34682, "loc": { "start": { - "line": 862, + "line": 863, "column": 17 }, "end": { - "line": 862, + "line": 863, "column": 23 }, "identifierName": "meshes" @@ -105098,29 +105264,29 @@ }, "property": { "type": "MemberExpression", - "start": 34102, - "end": 34115, + "start": 34683, + "end": 34696, "loc": { "start": { - "line": 862, + "line": 863, "column": 24 }, "end": { - "line": 862, + "line": 863, "column": 37 } }, "object": { "type": "Identifier", - "start": 34102, - "end": 34108, + "start": 34683, + "end": 34689, "loc": { "start": { - "line": 862, + "line": 863, "column": 24 }, "end": { - "line": 862, + "line": 863, "column": 30 }, "identifierName": "params" @@ -105129,15 +105295,15 @@ }, "property": { "type": "Identifier", - "start": 34109, - "end": 34115, + "start": 34690, + "end": 34696, "loc": { "start": { - "line": 862, + "line": 863, "column": 31 }, "end": { - "line": 862, + "line": 863, "column": 37 }, "identifierName": "meshId" @@ -105150,72 +105316,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 34118, - "end": 34233, + "start": 34699, + "end": 34814, "loc": { "start": { - "line": 862, + "line": 863, "column": 40 }, "end": { - "line": 865, + "line": 866, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 34132, - "end": 34203, + "start": 34713, + "end": 34784, "loc": { "start": { - "line": 863, + "line": 864, "column": 12 }, "end": { - "line": 863, + "line": 864, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 34132, - "end": 34202, + "start": 34713, + "end": 34783, "loc": { "start": { - "line": 863, + "line": 864, "column": 12 }, "end": { - "line": 863, + "line": 864, "column": 82 } }, "callee": { "type": "MemberExpression", - "start": 34132, - "end": 34145, + "start": 34713, + "end": 34726, "loc": { "start": { - "line": 863, + "line": 864, "column": 12 }, "end": { - "line": 863, + "line": 864, "column": 25 } }, "object": { "type": "Identifier", - "start": 34132, - "end": 34139, + "start": 34713, + "end": 34720, "loc": { "start": { - "line": 863, + "line": 864, "column": 12 }, "end": { - "line": 863, + "line": 864, "column": 19 }, "identifierName": "console" @@ -105224,15 +105390,15 @@ }, "property": { "type": "Identifier", - "start": 34140, - "end": 34145, + "start": 34721, + "end": 34726, "loc": { "start": { - "line": 863, + "line": 864, "column": 20 }, "end": { - "line": 863, + "line": 864, "column": 25 }, "identifierName": "error" @@ -105244,29 +105410,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 34146, - "end": 34201, + "start": 34727, + "end": 34782, "loc": { "start": { - "line": 863, + "line": 864, "column": 26 }, "end": { - "line": 863, + "line": 864, "column": 81 } }, "left": { "type": "StringLiteral", - "start": 34146, - "end": 34185, + "start": 34727, + "end": 34766, "loc": { "start": { - "line": 863, + "line": 864, "column": 26 }, "end": { - "line": 863, + "line": 864, "column": 65 } }, @@ -105279,29 +105445,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 34188, - "end": 34201, + "start": 34769, + "end": 34782, "loc": { "start": { - "line": 863, + "line": 864, "column": 68 }, "end": { - "line": 863, + "line": 864, "column": 81 } }, "object": { "type": "Identifier", - "start": 34188, - "end": 34194, + "start": 34769, + "end": 34775, "loc": { "start": { - "line": 863, + "line": 864, "column": 68 }, "end": { - "line": 863, + "line": 864, "column": 74 }, "identifierName": "params" @@ -105310,15 +105476,15 @@ }, "property": { "type": "Identifier", - "start": 34195, - "end": 34201, + "start": 34776, + "end": 34782, "loc": { "start": { - "line": 863, + "line": 864, "column": 75 }, "end": { - "line": 863, + "line": 864, "column": 81 }, "identifierName": "meshId" @@ -105333,15 +105499,15 @@ }, { "type": "ReturnStatement", - "start": 34216, - "end": 34223, + "start": 34797, + "end": 34804, "loc": { "start": { - "line": 864, + "line": 865, "column": 12 }, "end": { - "line": 864, + "line": 865, "column": 19 } }, @@ -105354,44 +105520,44 @@ }, { "type": "VariableDeclaration", - "start": 34243, - "end": 34295, + "start": 34824, + "end": 34876, "loc": { "start": { - "line": 867, + "line": 868, "column": 8 }, "end": { - "line": 867, + "line": 868, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34249, - "end": 34294, + "start": 34830, + "end": 34875, "loc": { "start": { - "line": 867, + "line": 868, "column": 14 }, "end": { - "line": 867, + "line": 868, "column": 59 } }, "id": { "type": "Identifier", - "start": 34249, - "end": 34257, + "start": 34830, + "end": 34838, "loc": { "start": { - "line": 867, + "line": 868, "column": 14 }, "end": { - "line": 867, + "line": 868, "column": 22 }, "identifierName": "geometry" @@ -105400,58 +105566,58 @@ }, "init": { "type": "MemberExpression", - "start": 34260, - "end": 34294, + "start": 34841, + "end": 34875, "loc": { "start": { - "line": 867, + "line": 868, "column": 25 }, "end": { - "line": 867, + "line": 868, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 34260, - "end": 34275, + "start": 34841, + "end": 34856, "loc": { "start": { - "line": 867, + "line": 868, "column": 25 }, "end": { - "line": 867, + "line": 868, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 34260, - "end": 34264, + "start": 34841, + "end": 34845, "loc": { "start": { - "line": 867, + "line": 868, "column": 25 }, "end": { - "line": 867, + "line": 868, "column": 29 } } }, "property": { "type": "Identifier", - "start": 34265, - "end": 34275, + "start": 34846, + "end": 34856, "loc": { "start": { - "line": 867, + "line": 868, "column": 30 }, "end": { - "line": 867, + "line": 868, "column": 40 }, "identifierName": "geometries" @@ -105462,29 +105628,29 @@ }, "property": { "type": "MemberExpression", - "start": 34276, - "end": 34293, + "start": 34857, + "end": 34874, "loc": { "start": { - "line": 867, + "line": 868, "column": 41 }, "end": { - "line": 867, + "line": 868, "column": 58 } }, "object": { "type": "Identifier", - "start": 34276, - "end": 34282, + "start": 34857, + "end": 34863, "loc": { "start": { - "line": 867, + "line": 868, "column": 41 }, "end": { - "line": 867, + "line": 868, "column": 47 }, "identifierName": "params" @@ -105493,15 +105659,15 @@ }, "property": { "type": "Identifier", - "start": 34283, - "end": 34293, + "start": 34864, + "end": 34874, "loc": { "start": { - "line": 867, + "line": 868, "column": 48 }, "end": { - "line": 867, + "line": 868, "column": 58 }, "identifierName": "geometryId" @@ -105518,29 +105684,29 @@ }, { "type": "IfStatement", - "start": 34305, - "end": 34425, + "start": 34886, + "end": 35006, "loc": { "start": { - "line": 869, + "line": 870, "column": 8 }, "end": { - "line": 872, + "line": 873, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 34309, - "end": 34318, + "start": 34890, + "end": 34899, "loc": { "start": { - "line": 869, + "line": 870, "column": 12 }, "end": { - "line": 869, + "line": 870, "column": 21 } }, @@ -105548,15 +105714,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 34310, - "end": 34318, + "start": 34891, + "end": 34899, "loc": { "start": { - "line": 869, + "line": 870, "column": 13 }, "end": { - "line": 869, + "line": 870, "column": 21 }, "identifierName": "geometry" @@ -105569,72 +105735,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 34320, - "end": 34425, + "start": 34901, + "end": 35006, "loc": { "start": { - "line": 869, + "line": 870, "column": 23 }, "end": { - "line": 872, + "line": 873, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 34334, - "end": 34395, + "start": 34915, + "end": 34976, "loc": { "start": { - "line": 870, + "line": 871, "column": 12 }, "end": { - "line": 870, + "line": 871, "column": 73 } }, "expression": { "type": "CallExpression", - "start": 34334, - "end": 34394, + "start": 34915, + "end": 34975, "loc": { "start": { - "line": 870, + "line": 871, "column": 12 }, "end": { - "line": 870, + "line": 871, "column": 72 } }, "callee": { "type": "MemberExpression", - "start": 34334, - "end": 34347, + "start": 34915, + "end": 34928, "loc": { "start": { - "line": 870, + "line": 871, "column": 12 }, "end": { - "line": 870, + "line": 871, "column": 25 } }, "object": { "type": "Identifier", - "start": 34334, - "end": 34341, + "start": 34915, + "end": 34922, "loc": { "start": { - "line": 870, + "line": 871, "column": 12 }, "end": { - "line": 870, + "line": 871, "column": 19 }, "identifierName": "console" @@ -105643,15 +105809,15 @@ }, "property": { "type": "Identifier", - "start": 34342, - "end": 34347, + "start": 34923, + "end": 34928, "loc": { "start": { - "line": 870, + "line": 871, "column": 20 }, "end": { - "line": 870, + "line": 871, "column": 25 }, "identifierName": "error" @@ -105663,29 +105829,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 34348, - "end": 34393, + "start": 34929, + "end": 34974, "loc": { "start": { - "line": 870, + "line": 871, "column": 26 }, "end": { - "line": 870, + "line": 871, "column": 71 } }, "left": { "type": "StringLiteral", - "start": 34348, - "end": 34373, + "start": 34929, + "end": 34954, "loc": { "start": { - "line": 870, + "line": 871, "column": 26 }, "end": { - "line": 870, + "line": 871, "column": 51 } }, @@ -105698,29 +105864,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 34376, - "end": 34393, + "start": 34957, + "end": 34974, "loc": { "start": { - "line": 870, + "line": 871, "column": 54 }, "end": { - "line": 870, + "line": 871, "column": 71 } }, "object": { "type": "Identifier", - "start": 34376, - "end": 34382, + "start": 34957, + "end": 34963, "loc": { "start": { - "line": 870, + "line": 871, "column": 54 }, "end": { - "line": 870, + "line": 871, "column": 60 }, "identifierName": "params" @@ -105729,15 +105895,15 @@ }, "property": { "type": "Identifier", - "start": 34383, - "end": 34393, + "start": 34964, + "end": 34974, "loc": { "start": { - "line": 870, + "line": 871, "column": 61 }, "end": { - "line": 870, + "line": 871, "column": 71 }, "identifierName": "geometryId" @@ -105752,15 +105918,15 @@ }, { "type": "ReturnStatement", - "start": 34408, - "end": 34415, + "start": 34989, + "end": 34996, "loc": { "start": { - "line": 871, + "line": 872, "column": 12 }, "end": { - "line": 871, + "line": 872, "column": 19 } }, @@ -105773,29 +105939,29 @@ }, { "type": "ExpressionStatement", - "start": 34435, - "end": 34459, + "start": 35016, + "end": 35040, "loc": { "start": { - "line": 874, + "line": 875, "column": 8 }, "end": { - "line": 874, + "line": 875, "column": 32 } }, "expression": { "type": "UpdateExpression", - "start": 34435, - "end": 34458, + "start": 35016, + "end": 35039, "loc": { "start": { - "line": 874, + "line": 875, "column": 8 }, "end": { - "line": 874, + "line": 875, "column": 31 } }, @@ -105803,29 +105969,29 @@ "prefix": false, "argument": { "type": "MemberExpression", - "start": 34435, - "end": 34456, + "start": 35016, + "end": 35037, "loc": { "start": { - "line": 874, + "line": 875, "column": 8 }, "end": { - "line": 874, + "line": 875, "column": 29 } }, "object": { "type": "Identifier", - "start": 34435, - "end": 34443, + "start": 35016, + "end": 35024, "loc": { "start": { - "line": 874, + "line": 875, "column": 8 }, "end": { - "line": 874, + "line": 875, "column": 16 }, "identifierName": "geometry" @@ -105834,15 +106000,15 @@ }, "property": { "type": "Identifier", - "start": 34444, - "end": 34456, + "start": 35025, + "end": 35037, "loc": { "start": { - "line": 874, + "line": 875, "column": 17 }, "end": { - "line": 874, + "line": 875, "column": 29 }, "identifierName": "numInstances" @@ -105855,44 +106021,44 @@ }, { "type": "VariableDeclaration", - "start": 34469, - "end": 34491, + "start": 35050, + "end": 35072, "loc": { "start": { - "line": 876, + "line": 877, "column": 8 }, "end": { - "line": 876, + "line": 877, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34473, - "end": 34490, + "start": 35054, + "end": 35071, "loc": { "start": { - "line": 876, + "line": 877, "column": 12 }, "end": { - "line": 876, + "line": 877, "column": 29 } }, "id": { "type": "Identifier", - "start": 34473, - "end": 34483, + "start": 35054, + "end": 35064, "loc": { "start": { - "line": 876, + "line": 877, "column": 12 }, "end": { - "line": 876, + "line": 877, "column": 22 }, "identifierName": "textureSet" @@ -105901,15 +106067,15 @@ }, "init": { "type": "NullLiteral", - "start": 34486, - "end": 34490, + "start": 35067, + "end": 35071, "loc": { "start": { - "line": 876, + "line": 877, "column": 25 }, "end": { - "line": 876, + "line": 877, "column": 29 } } @@ -105920,43 +106086,43 @@ }, { "type": "IfStatement", - "start": 34500, - "end": 34790, + "start": 35081, + "end": 35371, "loc": { "start": { - "line": 877, + "line": 878, "column": 8 }, "end": { - "line": 884, + "line": 885, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 34504, - "end": 34523, + "start": 35085, + "end": 35104, "loc": { "start": { - "line": 877, + "line": 878, "column": 12 }, "end": { - "line": 877, + "line": 878, "column": 31 } }, "object": { "type": "Identifier", - "start": 34504, - "end": 34510, + "start": 35085, + "end": 35091, "loc": { "start": { - "line": 877, + "line": 878, "column": 12 }, "end": { - "line": 877, + "line": 878, "column": 18 }, "identifierName": "params" @@ -105965,15 +106131,15 @@ }, "property": { "type": "Identifier", - "start": 34511, - "end": 34523, + "start": 35092, + "end": 35104, "loc": { "start": { - "line": 877, + "line": 878, "column": 19 }, "end": { - "line": 877, + "line": 878, "column": 31 }, "identifierName": "textureSetId" @@ -105984,59 +106150,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 34525, - "end": 34790, + "start": 35106, + "end": 35371, "loc": { "start": { - "line": 877, + "line": 878, "column": 33 }, "end": { - "line": 884, + "line": 885, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 34539, - "end": 34590, + "start": 35120, + "end": 35171, "loc": { "start": { - "line": 878, + "line": 879, "column": 12 }, "end": { - "line": 878, + "line": 879, "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 34539, - "end": 34589, + "start": 35120, + "end": 35170, "loc": { "start": { - "line": 878, + "line": 879, "column": 12 }, "end": { - "line": 878, + "line": 879, "column": 62 } }, "operator": "=", "left": { "type": "Identifier", - "start": 34539, - "end": 34549, + "start": 35120, + "end": 35130, "loc": { "start": { - "line": 878, + "line": 879, "column": 12 }, "end": { - "line": 878, + "line": 879, "column": 22 }, "identifierName": "textureSet" @@ -106045,58 +106211,58 @@ }, "right": { "type": "MemberExpression", - "start": 34552, - "end": 34589, + "start": 35133, + "end": 35170, "loc": { "start": { - "line": 878, + "line": 879, "column": 25 }, "end": { - "line": 878, + "line": 879, "column": 62 } }, "object": { "type": "MemberExpression", - "start": 34552, - "end": 34568, + "start": 35133, + "end": 35149, "loc": { "start": { - "line": 878, + "line": 879, "column": 25 }, "end": { - "line": 878, + "line": 879, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 34552, - "end": 34556, + "start": 35133, + "end": 35137, "loc": { "start": { - "line": 878, + "line": 879, "column": 25 }, "end": { - "line": 878, + "line": 879, "column": 29 } } }, "property": { "type": "Identifier", - "start": 34557, - "end": 34568, + "start": 35138, + "end": 35149, "loc": { "start": { - "line": 878, + "line": 879, "column": 30 }, "end": { - "line": 878, + "line": 879, "column": 41 }, "identifierName": "textureSets" @@ -106107,29 +106273,29 @@ }, "property": { "type": "MemberExpression", - "start": 34569, - "end": 34588, + "start": 35150, + "end": 35169, "loc": { "start": { - "line": 878, + "line": 879, "column": 42 }, "end": { - "line": 878, + "line": 879, "column": 61 } }, "object": { "type": "Identifier", - "start": 34569, - "end": 34575, + "start": 35150, + "end": 35156, "loc": { "start": { - "line": 878, + "line": 879, "column": 42 }, "end": { - "line": 878, + "line": 879, "column": 48 }, "identifierName": "params" @@ -106138,15 +106304,15 @@ }, "property": { "type": "Identifier", - "start": 34576, - "end": 34588, + "start": 35157, + "end": 35169, "loc": { "start": { - "line": 878, + "line": 879, "column": 49 }, "end": { - "line": 878, + "line": 879, "column": 61 }, "identifierName": "textureSetId" @@ -106161,29 +106327,29 @@ }, { "type": "IfStatement", - "start": 34603, - "end": 34741, + "start": 35184, + "end": 35322, "loc": { "start": { - "line": 879, + "line": 880, "column": 12 }, "end": { - "line": 882, + "line": 883, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 34607, - "end": 34618, + "start": 35188, + "end": 35199, "loc": { "start": { - "line": 879, + "line": 880, "column": 16 }, "end": { - "line": 879, + "line": 880, "column": 27 } }, @@ -106191,15 +106357,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 34608, - "end": 34618, + "start": 35189, + "end": 35199, "loc": { "start": { - "line": 879, + "line": 880, "column": 17 }, "end": { - "line": 879, + "line": 880, "column": 27 }, "identifierName": "textureSet" @@ -106212,72 +106378,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 34620, - "end": 34741, + "start": 35201, + "end": 35322, "loc": { "start": { - "line": 879, + "line": 880, "column": 29 }, "end": { - "line": 882, + "line": 883, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 34638, - "end": 34703, + "start": 35219, + "end": 35284, "loc": { "start": { - "line": 880, + "line": 881, "column": 16 }, "end": { - "line": 880, + "line": 881, "column": 81 } }, "expression": { "type": "CallExpression", - "start": 34638, - "end": 34702, + "start": 35219, + "end": 35283, "loc": { "start": { - "line": 880, + "line": 881, "column": 16 }, "end": { - "line": 880, + "line": 881, "column": 80 } }, "callee": { "type": "MemberExpression", - "start": 34638, - "end": 34651, + "start": 35219, + "end": 35232, "loc": { "start": { - "line": 880, + "line": 881, "column": 16 }, "end": { - "line": 880, + "line": 881, "column": 29 } }, "object": { "type": "Identifier", - "start": 34638, - "end": 34645, + "start": 35219, + "end": 35226, "loc": { "start": { - "line": 880, + "line": 881, "column": 16 }, "end": { - "line": 880, + "line": 881, "column": 23 }, "identifierName": "console" @@ -106286,15 +106452,15 @@ }, "property": { "type": "Identifier", - "start": 34646, - "end": 34651, + "start": 35227, + "end": 35232, "loc": { "start": { - "line": 880, + "line": 881, "column": 24 }, "end": { - "line": 880, + "line": 881, "column": 29 }, "identifierName": "error" @@ -106306,29 +106472,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 34652, - "end": 34701, + "start": 35233, + "end": 35282, "loc": { "start": { - "line": 880, + "line": 881, "column": 30 }, "end": { - "line": 880, + "line": 881, "column": 79 } }, "left": { "type": "StringLiteral", - "start": 34652, - "end": 34679, + "start": 35233, + "end": 35260, "loc": { "start": { - "line": 880, + "line": 881, "column": 30 }, "end": { - "line": 880, + "line": 881, "column": 57 } }, @@ -106341,29 +106507,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 34682, - "end": 34701, + "start": 35263, + "end": 35282, "loc": { "start": { - "line": 880, + "line": 881, "column": 60 }, "end": { - "line": 880, + "line": 881, "column": 79 } }, "object": { "type": "Identifier", - "start": 34682, - "end": 34688, + "start": 35263, + "end": 35269, "loc": { "start": { - "line": 880, + "line": 881, "column": 60 }, "end": { - "line": 880, + "line": 881, "column": 66 }, "identifierName": "params" @@ -106372,15 +106538,15 @@ }, "property": { "type": "Identifier", - "start": 34689, - "end": 34701, + "start": 35270, + "end": 35282, "loc": { "start": { - "line": 880, + "line": 881, "column": 67 }, "end": { - "line": 880, + "line": 881, "column": 79 }, "identifierName": "textureSetId" @@ -106395,15 +106561,15 @@ }, { "type": "ReturnStatement", - "start": 34720, - "end": 34727, + "start": 35301, + "end": 35308, "loc": { "start": { - "line": 881, + "line": 882, "column": 16 }, "end": { - "line": 881, + "line": 882, "column": 23 } }, @@ -106416,29 +106582,29 @@ }, { "type": "ExpressionStatement", - "start": 34754, - "end": 34780, + "start": 35335, + "end": 35361, "loc": { "start": { - "line": 883, + "line": 884, "column": 12 }, "end": { - "line": 883, + "line": 884, "column": 38 } }, "expression": { "type": "UpdateExpression", - "start": 34754, - "end": 34779, + "start": 35335, + "end": 35360, "loc": { "start": { - "line": 883, + "line": 884, "column": 12 }, "end": { - "line": 883, + "line": 884, "column": 37 } }, @@ -106446,29 +106612,29 @@ "prefix": false, "argument": { "type": "MemberExpression", - "start": 34754, - "end": 34777, + "start": 35335, + "end": 35358, "loc": { "start": { - "line": 883, + "line": 884, "column": 12 }, "end": { - "line": 883, + "line": 884, "column": 35 } }, "object": { "type": "Identifier", - "start": 34754, - "end": 34764, + "start": 35335, + "end": 35345, "loc": { "start": { - "line": 883, + "line": 884, "column": 12 }, "end": { - "line": 883, + "line": 884, "column": 22 }, "identifierName": "textureSet" @@ -106477,15 +106643,15 @@ }, "property": { "type": "Identifier", - "start": 34765, - "end": 34777, + "start": 35346, + "end": 35358, "loc": { "start": { - "line": 883, + "line": 884, "column": 23 }, "end": { - "line": 883, + "line": 884, "column": 35 }, "identifierName": "numInstances" @@ -106503,44 +106669,44 @@ }, { "type": "VariableDeclaration", - "start": 34800, - "end": 34827, + "start": 35381, + "end": 35408, "loc": { "start": { - "line": 886, + "line": 887, "column": 8 }, "end": { - "line": 886, + "line": 887, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34804, - "end": 34826, + "start": 35385, + "end": 35407, "loc": { "start": { - "line": 886, + "line": 887, "column": 12 }, "end": { - "line": 886, + "line": 887, "column": 34 } }, "id": { "type": "Identifier", - "start": 34804, - "end": 34810, + "start": 35385, + "end": 35391, "loc": { "start": { - "line": 886, + "line": 887, "column": 12 }, "end": { - "line": 886, + "line": 887, "column": 18 }, "identifierName": "matrix" @@ -106549,29 +106715,29 @@ }, "init": { "type": "MemberExpression", - "start": 34813, - "end": 34826, + "start": 35394, + "end": 35407, "loc": { "start": { - "line": 886, + "line": 887, "column": 21 }, "end": { - "line": 886, + "line": 887, "column": 34 } }, "object": { "type": "Identifier", - "start": 34813, - "end": 34819, + "start": 35394, + "end": 35400, "loc": { "start": { - "line": 886, + "line": 887, "column": 21 }, "end": { - "line": 886, + "line": 887, "column": 27 }, "identifierName": "params" @@ -106580,15 +106746,15 @@ }, "property": { "type": "Identifier", - "start": 34820, - "end": 34826, + "start": 35401, + "end": 35407, "loc": { "start": { - "line": 886, + "line": 887, "column": 28 }, "end": { - "line": 886, + "line": 887, "column": 34 }, "identifierName": "matrix" @@ -106603,29 +106769,29 @@ }, { "type": "IfStatement", - "start": 34837, - "end": 35384, + "start": 35418, + "end": 35965, "loc": { "start": { - "line": 888, + "line": 889, "column": 8 }, "end": { - "line": 902, + "line": 903, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 34841, - "end": 34848, + "start": 35422, + "end": 35429, "loc": { "start": { - "line": 888, + "line": 889, "column": 12 }, "end": { - "line": 888, + "line": 889, "column": 19 } }, @@ -106633,15 +106799,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 34842, - "end": 34848, + "start": 35423, + "end": 35429, "loc": { "start": { - "line": 888, + "line": 889, "column": 13 }, "end": { - "line": 888, + "line": 889, "column": 19 }, "identifierName": "matrix" @@ -106654,59 +106820,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 34850, - "end": 35384, + "start": 35431, + "end": 35965, "loc": { "start": { - "line": 888, + "line": 889, "column": 21 }, "end": { - "line": 902, + "line": 903, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 34865, - "end": 34898, + "start": 35446, + "end": 35479, "loc": { "start": { - "line": 890, + "line": 891, "column": 12 }, "end": { - "line": 890, + "line": 891, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34871, - "end": 34897, + "start": 35452, + "end": 35478, "loc": { "start": { - "line": 890, + "line": 891, "column": 18 }, "end": { - "line": 890, + "line": 891, "column": 44 } }, "id": { "type": "Identifier", - "start": 34871, - "end": 34879, + "start": 35452, + "end": 35460, "loc": { "start": { - "line": 890, + "line": 891, "column": 18 }, "end": { - "line": 890, + "line": 891, "column": 26 }, "identifierName": "position" @@ -106715,29 +106881,29 @@ }, "init": { "type": "MemberExpression", - "start": 34882, - "end": 34897, + "start": 35463, + "end": 35478, "loc": { "start": { - "line": 890, + "line": 891, "column": 29 }, "end": { - "line": 890, + "line": 891, "column": 44 } }, "object": { "type": "Identifier", - "start": 34882, - "end": 34888, + "start": 35463, + "end": 35469, "loc": { "start": { - "line": 890, + "line": 891, "column": 29 }, "end": { - "line": 890, + "line": 891, "column": 35 }, "identifierName": "params" @@ -106746,15 +106912,15 @@ }, "property": { "type": "Identifier", - "start": 34889, - "end": 34897, + "start": 35470, + "end": 35478, "loc": { "start": { - "line": 890, + "line": 891, "column": 36 }, "end": { - "line": 890, + "line": 891, "column": 44 }, "identifierName": "position" @@ -106769,44 +106935,44 @@ }, { "type": "VariableDeclaration", - "start": 34911, - "end": 34938, + "start": 35492, + "end": 35519, "loc": { "start": { - "line": 891, + "line": 892, "column": 12 }, "end": { - "line": 891, + "line": 892, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34917, - "end": 34937, + "start": 35498, + "end": 35518, "loc": { "start": { - "line": 891, + "line": 892, "column": 18 }, "end": { - "line": 891, + "line": 892, "column": 38 } }, "id": { "type": "Identifier", - "start": 34917, - "end": 34922, + "start": 35498, + "end": 35503, "loc": { "start": { - "line": 891, + "line": 892, "column": 18 }, "end": { - "line": 891, + "line": 892, "column": 23 }, "identifierName": "scale" @@ -106815,29 +106981,29 @@ }, "init": { "type": "MemberExpression", - "start": 34925, - "end": 34937, + "start": 35506, + "end": 35518, "loc": { "start": { - "line": 891, + "line": 892, "column": 26 }, "end": { - "line": 891, + "line": 892, "column": 38 } }, "object": { "type": "Identifier", - "start": 34925, - "end": 34931, + "start": 35506, + "end": 35512, "loc": { "start": { - "line": 891, + "line": 892, "column": 26 }, "end": { - "line": 891, + "line": 892, "column": 32 }, "identifierName": "params" @@ -106846,15 +107012,15 @@ }, "property": { "type": "Identifier", - "start": 34932, - "end": 34937, + "start": 35513, + "end": 35518, "loc": { "start": { - "line": 891, + "line": 892, "column": 33 }, "end": { - "line": 891, + "line": 892, "column": 38 }, "identifierName": "scale" @@ -106869,44 +107035,44 @@ }, { "type": "VariableDeclaration", - "start": 34951, - "end": 34984, + "start": 35532, + "end": 35565, "loc": { "start": { - "line": 892, + "line": 893, "column": 12 }, "end": { - "line": 892, + "line": 893, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 34957, - "end": 34983, + "start": 35538, + "end": 35564, "loc": { "start": { - "line": 892, + "line": 893, "column": 18 }, "end": { - "line": 892, + "line": 893, "column": 44 } }, "id": { "type": "Identifier", - "start": 34957, - "end": 34965, + "start": 35538, + "end": 35546, "loc": { "start": { - "line": 892, + "line": 893, "column": 18 }, "end": { - "line": 892, + "line": 893, "column": 26 }, "identifierName": "rotation" @@ -106915,29 +107081,29 @@ }, "init": { "type": "MemberExpression", - "start": 34968, - "end": 34983, + "start": 35549, + "end": 35564, "loc": { "start": { - "line": 892, + "line": 893, "column": 29 }, "end": { - "line": 892, + "line": 893, "column": 44 } }, "object": { "type": "Identifier", - "start": 34968, - "end": 34974, + "start": 35549, + "end": 35555, "loc": { "start": { - "line": 892, + "line": 893, "column": 29 }, "end": { - "line": 892, + "line": 893, "column": 35 }, "identifierName": "params" @@ -106946,15 +107112,15 @@ }, "property": { "type": "Identifier", - "start": 34975, - "end": 34983, + "start": 35556, + "end": 35564, "loc": { "start": { - "line": 892, + "line": 893, "column": 36 }, "end": { - "line": 892, + "line": 893, "column": 44 }, "identifierName": "rotation" @@ -106969,57 +107135,57 @@ }, { "type": "IfStatement", - "start": 34998, - "end": 35374, + "start": 35579, + "end": 35955, "loc": { "start": { - "line": 894, + "line": 895, "column": 12 }, "end": { - "line": 901, + "line": 902, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 35002, - "end": 35031, + "start": 35583, + "end": 35612, "loc": { "start": { - "line": 894, + "line": 895, "column": 16 }, "end": { - "line": 894, + "line": 895, "column": 45 } }, "left": { "type": "LogicalExpression", - "start": 35002, - "end": 35019, + "start": 35583, + "end": 35600, "loc": { "start": { - "line": 894, + "line": 895, "column": 16 }, "end": { - "line": 894, + "line": 895, "column": 33 } }, "left": { "type": "Identifier", - "start": 35002, - "end": 35010, + "start": 35583, + "end": 35591, "loc": { "start": { - "line": 894, + "line": 895, "column": 16 }, "end": { - "line": 894, + "line": 895, "column": 24 }, "identifierName": "position" @@ -107029,15 +107195,15 @@ "operator": "||", "right": { "type": "Identifier", - "start": 35014, - "end": 35019, + "start": 35595, + "end": 35600, "loc": { "start": { - "line": 894, + "line": 895, "column": 28 }, "end": { - "line": 894, + "line": 895, "column": 33 }, "identifierName": "scale" @@ -107048,15 +107214,15 @@ "operator": "||", "right": { "type": "Identifier", - "start": 35023, - "end": 35031, + "start": 35604, + "end": 35612, "loc": { "start": { - "line": 894, + "line": 895, "column": 37 }, "end": { - "line": 894, + "line": 895, "column": 45 }, "identifierName": "rotation" @@ -107066,59 +107232,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 35033, - "end": 35307, + "start": 35614, + "end": 35888, "loc": { "start": { - "line": 894, + "line": 895, "column": 47 }, "end": { - "line": 899, + "line": 900, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 35051, - "end": 35080, + "start": 35632, + "end": 35661, "loc": { "start": { - "line": 895, + "line": 896, "column": 16 }, "end": { - "line": 895, + "line": 896, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 35051, - "end": 35079, + "start": 35632, + "end": 35660, "loc": { "start": { - "line": 895, + "line": 896, "column": 16 }, "end": { - "line": 895, + "line": 896, "column": 44 } }, "operator": "=", "left": { "type": "Identifier", - "start": 35051, - "end": 35057, + "start": 35632, + "end": 35638, "loc": { "start": { - "line": 895, + "line": 896, "column": 16 }, "end": { - "line": 895, + "line": 896, "column": 22 }, "identifierName": "matrix" @@ -107127,43 +107293,43 @@ }, "right": { "type": "CallExpression", - "start": 35060, - "end": 35079, + "start": 35641, + "end": 35660, "loc": { "start": { - "line": 895, + "line": 896, "column": 25 }, "end": { - "line": 895, + "line": 896, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 35060, - "end": 35077, + "start": 35641, + "end": 35658, "loc": { "start": { - "line": 895, + "line": 896, "column": 25 }, "end": { - "line": 895, + "line": 896, "column": 42 } }, "object": { "type": "Identifier", - "start": 35060, - "end": 35064, + "start": 35641, + "end": 35645, "loc": { "start": { - "line": 895, + "line": 896, "column": 25 }, "end": { - "line": 895, + "line": 896, "column": 29 }, "identifierName": "math" @@ -107172,15 +107338,15 @@ }, "property": { "type": "Identifier", - "start": 35065, - "end": 35077, + "start": 35646, + "end": 35658, "loc": { "start": { - "line": 895, + "line": 896, "column": 30 }, "end": { - "line": 895, + "line": 896, "column": 42 }, "identifierName": "identityMat4" @@ -107195,44 +107361,44 @@ }, { "type": "VariableDeclaration", - "start": 35097, - "end": 35196, + "start": 35678, + "end": 35777, "loc": { "start": { - "line": 896, + "line": 897, "column": 16 }, "end": { - "line": 896, + "line": 897, "column": 115 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 35103, - "end": 35195, + "start": 35684, + "end": 35776, "loc": { "start": { - "line": 896, + "line": 897, "column": 22 }, "end": { - "line": 896, + "line": 897, "column": 114 } }, "id": { "type": "Identifier", - "start": 35103, - "end": 35113, + "start": 35684, + "end": 35694, "loc": { "start": { - "line": 896, + "line": 897, "column": 22 }, "end": { - "line": 896, + "line": 897, "column": 32 }, "identifierName": "quaternion" @@ -107241,43 +107407,43 @@ }, "init": { "type": "CallExpression", - "start": 35116, - "end": 35195, + "start": 35697, + "end": 35776, "loc": { "start": { - "line": 896, + "line": 897, "column": 35 }, "end": { - "line": 896, + "line": 897, "column": 114 } }, "callee": { "type": "MemberExpression", - "start": 35116, - "end": 35138, + "start": 35697, + "end": 35719, "loc": { "start": { - "line": 896, + "line": 897, "column": 35 }, "end": { - "line": 896, + "line": 897, "column": 57 } }, "object": { "type": "Identifier", - "start": 35116, - "end": 35120, + "start": 35697, + "end": 35701, "loc": { "start": { - "line": 896, + "line": 897, "column": 35 }, "end": { - "line": 896, + "line": 897, "column": 39 }, "identifierName": "math" @@ -107286,15 +107452,15 @@ }, "property": { "type": "Identifier", - "start": 35121, - "end": 35138, + "start": 35702, + "end": 35719, "loc": { "start": { - "line": 896, + "line": 897, "column": 40 }, "end": { - "line": 896, + "line": 897, "column": 57 }, "identifierName": "eulerToQuaternion" @@ -107306,29 +107472,29 @@ "arguments": [ { "type": "LogicalExpression", - "start": 35139, - "end": 35160, + "start": 35720, + "end": 35741, "loc": { "start": { - "line": 896, + "line": 897, "column": 58 }, "end": { - "line": 896, + "line": 897, "column": 79 } }, "left": { "type": "Identifier", - "start": 35139, - "end": 35147, + "start": 35720, + "end": 35728, "loc": { "start": { - "line": 896, + "line": 897, "column": 58 }, "end": { - "line": 896, + "line": 897, "column": 66 }, "identifierName": "rotation" @@ -107338,30 +107504,30 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 35151, - "end": 35160, + "start": 35732, + "end": 35741, "loc": { "start": { - "line": 896, + "line": 897, "column": 70 }, "end": { - "line": 896, + "line": 897, "column": 79 } }, "elements": [ { "type": "NumericLiteral", - "start": 35152, - "end": 35153, + "start": 35733, + "end": 35734, "loc": { "start": { - "line": 896, + "line": 897, "column": 71 }, "end": { - "line": 896, + "line": 897, "column": 72 } }, @@ -107373,15 +107539,15 @@ }, { "type": "NumericLiteral", - "start": 35155, - "end": 35156, + "start": 35736, + "end": 35737, "loc": { "start": { - "line": 896, + "line": 897, "column": 74 }, "end": { - "line": 896, + "line": 897, "column": 75 } }, @@ -107393,15 +107559,15 @@ }, { "type": "NumericLiteral", - "start": 35158, - "end": 35159, + "start": 35739, + "end": 35740, "loc": { "start": { - "line": 896, + "line": 897, "column": 77 }, "end": { - "line": 896, + "line": 897, "column": 78 } }, @@ -107416,15 +107582,15 @@ }, { "type": "StringLiteral", - "start": 35162, - "end": 35167, + "start": 35743, + "end": 35748, "loc": { "start": { - "line": 896, + "line": 897, "column": 81 }, "end": { - "line": 896, + "line": 897, "column": 86 } }, @@ -107436,43 +107602,43 @@ }, { "type": "CallExpression", - "start": 35169, - "end": 35194, + "start": 35750, + "end": 35775, "loc": { "start": { - "line": 896, + "line": 897, "column": 88 }, "end": { - "line": 896, + "line": 897, "column": 113 } }, "callee": { "type": "MemberExpression", - "start": 35169, - "end": 35192, + "start": 35750, + "end": 35773, "loc": { "start": { - "line": 896, + "line": 897, "column": 88 }, "end": { - "line": 896, + "line": 897, "column": 111 } }, "object": { "type": "Identifier", - "start": 35169, - "end": 35173, + "start": 35750, + "end": 35754, "loc": { "start": { - "line": 896, + "line": 897, "column": 88 }, "end": { - "line": 896, + "line": 897, "column": 92 }, "identifierName": "math" @@ -107481,15 +107647,15 @@ }, "property": { "type": "Identifier", - "start": 35174, - "end": 35192, + "start": 35755, + "end": 35773, "loc": { "start": { - "line": 896, + "line": 897, "column": 93 }, "end": { - "line": 896, + "line": 897, "column": 111 }, "identifierName": "identityQuaternion" @@ -107508,57 +107674,57 @@ }, { "type": "ExpressionStatement", - "start": 35213, - "end": 35292, + "start": 35794, + "end": 35873, "loc": { "start": { - "line": 897, + "line": 898, "column": 16 }, "end": { - "line": 897, + "line": 898, "column": 95 } }, "expression": { "type": "CallExpression", - "start": 35213, - "end": 35292, + "start": 35794, + "end": 35873, "loc": { "start": { - "line": 897, + "line": 898, "column": 16 }, "end": { - "line": 897, + "line": 898, "column": 95 } }, "callee": { "type": "MemberExpression", - "start": 35213, - "end": 35229, + "start": 35794, + "end": 35810, "loc": { "start": { - "line": 897, + "line": 898, "column": 16 }, "end": { - "line": 897, + "line": 898, "column": 32 } }, "object": { "type": "Identifier", - "start": 35213, - "end": 35217, + "start": 35794, + "end": 35798, "loc": { "start": { - "line": 897, + "line": 898, "column": 16 }, "end": { - "line": 897, + "line": 898, "column": 20 }, "identifierName": "math" @@ -107567,15 +107733,15 @@ }, "property": { "type": "Identifier", - "start": 35218, - "end": 35229, + "start": 35799, + "end": 35810, "loc": { "start": { - "line": 897, + "line": 898, "column": 21 }, "end": { - "line": 897, + "line": 898, "column": 32 }, "identifierName": "composeMat4" @@ -107587,29 +107753,29 @@ "arguments": [ { "type": "LogicalExpression", - "start": 35230, - "end": 35251, + "start": 35811, + "end": 35832, "loc": { "start": { - "line": 897, + "line": 898, "column": 33 }, "end": { - "line": 897, + "line": 898, "column": 54 } }, "left": { "type": "Identifier", - "start": 35230, - "end": 35238, + "start": 35811, + "end": 35819, "loc": { "start": { - "line": 897, + "line": 898, "column": 33 }, "end": { - "line": 897, + "line": 898, "column": 41 }, "identifierName": "position" @@ -107619,30 +107785,30 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 35242, - "end": 35251, + "start": 35823, + "end": 35832, "loc": { "start": { - "line": 897, + "line": 898, "column": 45 }, "end": { - "line": 897, + "line": 898, "column": 54 } }, "elements": [ { "type": "NumericLiteral", - "start": 35243, - "end": 35244, + "start": 35824, + "end": 35825, "loc": { "start": { - "line": 897, + "line": 898, "column": 46 }, "end": { - "line": 897, + "line": 898, "column": 47 } }, @@ -107654,15 +107820,15 @@ }, { "type": "NumericLiteral", - "start": 35246, - "end": 35247, + "start": 35827, + "end": 35828, "loc": { "start": { - "line": 897, + "line": 898, "column": 49 }, "end": { - "line": 897, + "line": 898, "column": 50 } }, @@ -107674,15 +107840,15 @@ }, { "type": "NumericLiteral", - "start": 35249, - "end": 35250, + "start": 35830, + "end": 35831, "loc": { "start": { - "line": 897, + "line": 898, "column": 52 }, "end": { - "line": 897, + "line": 898, "column": 53 } }, @@ -107697,15 +107863,15 @@ }, { "type": "Identifier", - "start": 35253, - "end": 35263, + "start": 35834, + "end": 35844, "loc": { "start": { - "line": 897, + "line": 898, "column": 56 }, "end": { - "line": 897, + "line": 898, "column": 66 }, "identifierName": "quaternion" @@ -107714,29 +107880,29 @@ }, { "type": "LogicalExpression", - "start": 35265, - "end": 35283, + "start": 35846, + "end": 35864, "loc": { "start": { - "line": 897, + "line": 898, "column": 68 }, "end": { - "line": 897, + "line": 898, "column": 86 } }, "left": { "type": "Identifier", - "start": 35265, - "end": 35270, + "start": 35846, + "end": 35851, "loc": { "start": { - "line": 897, + "line": 898, "column": 68 }, "end": { - "line": 897, + "line": 898, "column": 73 }, "identifierName": "scale" @@ -107746,30 +107912,30 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 35274, - "end": 35283, + "start": 35855, + "end": 35864, "loc": { "start": { - "line": 897, + "line": 898, "column": 77 }, "end": { - "line": 897, + "line": 898, "column": 86 } }, "elements": [ { "type": "NumericLiteral", - "start": 35275, - "end": 35276, + "start": 35856, + "end": 35857, "loc": { "start": { - "line": 897, + "line": 898, "column": 78 }, "end": { - "line": 897, + "line": 898, "column": 79 } }, @@ -107781,15 +107947,15 @@ }, { "type": "NumericLiteral", - "start": 35278, - "end": 35279, + "start": 35859, + "end": 35860, "loc": { "start": { - "line": 897, + "line": 898, "column": 81 }, "end": { - "line": 897, + "line": 898, "column": 82 } }, @@ -107801,15 +107967,15 @@ }, { "type": "NumericLiteral", - "start": 35281, - "end": 35282, + "start": 35862, + "end": 35863, "loc": { "start": { - "line": 897, + "line": 898, "column": 84 }, "end": { - "line": 897, + "line": 898, "column": 85 } }, @@ -107824,15 +107990,15 @@ }, { "type": "Identifier", - "start": 35285, - "end": 35291, + "start": 35866, + "end": 35872, "loc": { "start": { - "line": 897, + "line": 898, "column": 88 }, "end": { - "line": 897, + "line": 898, "column": 94 }, "identifierName": "matrix" @@ -107847,59 +108013,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 35313, - "end": 35374, + "start": 35894, + "end": 35955, "loc": { "start": { - "line": 899, + "line": 900, "column": 19 }, "end": { - "line": 901, + "line": 902, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 35331, - "end": 35360, + "start": 35912, + "end": 35941, "loc": { "start": { - "line": 900, + "line": 901, "column": 16 }, "end": { - "line": 900, + "line": 901, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 35331, - "end": 35359, + "start": 35912, + "end": 35940, "loc": { "start": { - "line": 900, + "line": 901, "column": 16 }, "end": { - "line": 900, + "line": 901, "column": 44 } }, "operator": "=", "left": { "type": "Identifier", - "start": 35331, - "end": 35337, + "start": 35912, + "end": 35918, "loc": { "start": { - "line": 900, + "line": 901, "column": 16 }, "end": { - "line": 900, + "line": 901, "column": 22 }, "identifierName": "matrix" @@ -107908,43 +108074,43 @@ }, "right": { "type": "CallExpression", - "start": 35340, - "end": 35359, + "start": 35921, + "end": 35940, "loc": { "start": { - "line": 900, + "line": 901, "column": 25 }, "end": { - "line": 900, + "line": 901, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 35340, - "end": 35357, + "start": 35921, + "end": 35938, "loc": { "start": { - "line": 900, + "line": 901, "column": 25 }, "end": { - "line": 900, + "line": 901, "column": 42 } }, "object": { "type": "Identifier", - "start": 35340, - "end": 35344, + "start": 35921, + "end": 35925, "loc": { "start": { - "line": 900, + "line": 901, "column": 25 }, "end": { - "line": 900, + "line": 901, "column": 29 }, "identifierName": "math" @@ -107953,15 +108119,15 @@ }, "property": { "type": "Identifier", - "start": 35345, - "end": 35357, + "start": 35926, + "end": 35938, "loc": { "start": { - "line": 900, + "line": 901, "column": 30 }, "end": { - "line": 900, + "line": 901, "column": 42 }, "identifierName": "identityMat4" @@ -107985,44 +108151,44 @@ }, { "type": "VariableDeclaration", - "start": 35394, - "end": 35435, + "start": 35975, + "end": 36016, "loc": { "start": { - "line": 904, + "line": 905, "column": 8 }, "end": { - "line": 904, + "line": 905, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 35400, - "end": 35434, + "start": 35981, + "end": 36015, "loc": { "start": { - "line": 904, + "line": 905, "column": 14 }, "end": { - "line": 904, + "line": 905, "column": 48 } }, "id": { "type": "Identifier", - "start": 35400, - "end": 35409, + "start": 35981, + "end": 35990, "loc": { "start": { - "line": 904, + "line": 905, "column": 14 }, "end": { - "line": 904, + "line": 905, "column": 23 }, "identifierName": "meshIndex" @@ -108031,58 +108197,58 @@ }, "init": { "type": "MemberExpression", - "start": 35412, - "end": 35434, + "start": 35993, + "end": 36015, "loc": { "start": { - "line": 904, + "line": 905, "column": 26 }, "end": { - "line": 904, + "line": 905, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 35412, - "end": 35427, + "start": 35993, + "end": 36008, "loc": { "start": { - "line": 904, + "line": 905, "column": 26 }, "end": { - "line": 904, + "line": 905, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 35412, - "end": 35416, + "start": 35993, + "end": 35997, "loc": { "start": { - "line": 904, + "line": 905, "column": 26 }, "end": { - "line": 904, + "line": 905, "column": 30 } } }, "property": { "type": "Identifier", - "start": 35417, - "end": 35427, + "start": 35998, + "end": 36008, "loc": { "start": { - "line": 904, + "line": 905, "column": 31 }, "end": { - "line": 904, + "line": 905, "column": 41 }, "identifierName": "meshesList" @@ -108093,15 +108259,15 @@ }, "property": { "type": "Identifier", - "start": 35428, - "end": 35434, + "start": 36009, + "end": 36015, "loc": { "start": { - "line": 904, + "line": 905, "column": 42 }, "end": { - "line": 904, + "line": 905, "column": 48 }, "identifierName": "length" @@ -108116,44 +108282,44 @@ }, { "type": "VariableDeclaration", - "start": 35445, - "end": 35756, + "start": 36026, + "end": 36337, "loc": { "start": { - "line": 906, + "line": 907, "column": 8 }, "end": { - "line": 916, + "line": 917, "column": 11 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 35451, - "end": 35755, + "start": 36032, + "end": 36336, "loc": { "start": { - "line": 906, + "line": 907, "column": 14 }, "end": { - "line": 916, + "line": 917, "column": 10 } }, "id": { "type": "Identifier", - "start": 35451, - "end": 35455, + "start": 36032, + "end": 36036, "loc": { "start": { - "line": 906, + "line": 907, "column": 14 }, "end": { - "line": 906, + "line": 907, "column": 18 }, "identifierName": "mesh" @@ -108162,29 +108328,29 @@ }, "init": { "type": "NewExpression", - "start": 35458, - "end": 35755, + "start": 36039, + "end": 36336, "loc": { "start": { - "line": 906, + "line": 907, "column": 21 }, "end": { - "line": 916, + "line": 917, "column": 10 } }, "callee": { "type": "Identifier", - "start": 35462, - "end": 35469, + "start": 36043, + "end": 36050, "loc": { "start": { - "line": 906, + "line": 907, "column": 25 }, "end": { - "line": 906, + "line": 907, "column": 32 }, "identifierName": "XKTMesh" @@ -108194,30 +108360,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 35470, - "end": 35754, + "start": 36051, + "end": 36335, "loc": { "start": { - "line": 906, + "line": 907, "column": 33 }, "end": { - "line": 916, + "line": 917, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 35484, - "end": 35505, + "start": 36065, + "end": 36086, "loc": { "start": { - "line": 907, + "line": 908, "column": 12 }, "end": { - "line": 907, + "line": 908, "column": 33 } }, @@ -108226,15 +108392,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35484, - "end": 35490, + "start": 36065, + "end": 36071, "loc": { "start": { - "line": 907, + "line": 908, "column": 12 }, "end": { - "line": 907, + "line": 908, "column": 18 }, "identifierName": "meshId" @@ -108243,29 +108409,29 @@ }, "value": { "type": "MemberExpression", - "start": 35492, - "end": 35505, + "start": 36073, + "end": 36086, "loc": { "start": { - "line": 907, + "line": 908, "column": 20 }, "end": { - "line": 907, + "line": 908, "column": 33 } }, "object": { "type": "Identifier", - "start": 35492, - "end": 35498, + "start": 36073, + "end": 36079, "loc": { "start": { - "line": 907, + "line": 908, "column": 20 }, "end": { - "line": 907, + "line": 908, "column": 26 }, "identifierName": "params" @@ -108274,15 +108440,15 @@ }, "property": { "type": "Identifier", - "start": 35499, - "end": 35505, + "start": 36080, + "end": 36086, "loc": { "start": { - "line": 907, + "line": 908, "column": 27 }, "end": { - "line": 907, + "line": 908, "column": 33 }, "identifierName": "meshId" @@ -108294,15 +108460,15 @@ }, { "type": "ObjectProperty", - "start": 35519, - "end": 35528, + "start": 36100, + "end": 36109, "loc": { "start": { - "line": 908, + "line": 909, "column": 12 }, "end": { - "line": 908, + "line": 909, "column": 21 } }, @@ -108311,15 +108477,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35519, - "end": 35528, + "start": 36100, + "end": 36109, "loc": { "start": { - "line": 908, + "line": 909, "column": 12 }, "end": { - "line": 908, + "line": 909, "column": 21 }, "identifierName": "meshIndex" @@ -108328,15 +108494,15 @@ }, "value": { "type": "Identifier", - "start": 35519, - "end": 35528, + "start": 36100, + "end": 36109, "loc": { "start": { - "line": 908, + "line": 909, "column": 12 }, "end": { - "line": 908, + "line": 909, "column": 21 }, "identifierName": "meshIndex" @@ -108349,15 +108515,15 @@ }, { "type": "ObjectProperty", - "start": 35542, - "end": 35548, + "start": 36123, + "end": 36129, "loc": { "start": { - "line": 909, + "line": 910, "column": 12 }, "end": { - "line": 909, + "line": 910, "column": 18 } }, @@ -108366,15 +108532,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35542, - "end": 35548, + "start": 36123, + "end": 36129, "loc": { "start": { - "line": 909, + "line": 910, "column": 12 }, "end": { - "line": 909, + "line": 910, "column": 18 }, "identifierName": "matrix" @@ -108383,15 +108549,15 @@ }, "value": { "type": "Identifier", - "start": 35542, - "end": 35548, + "start": 36123, + "end": 36129, "loc": { "start": { - "line": 909, + "line": 910, "column": 12 }, "end": { - "line": 909, + "line": 910, "column": 18 }, "identifierName": "matrix" @@ -108404,15 +108570,15 @@ }, { "type": "ObjectProperty", - "start": 35562, - "end": 35570, + "start": 36143, + "end": 36151, "loc": { "start": { - "line": 910, + "line": 911, "column": 12 }, "end": { - "line": 910, + "line": 911, "column": 20 } }, @@ -108421,15 +108587,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35562, - "end": 35570, + "start": 36143, + "end": 36151, "loc": { "start": { - "line": 910, + "line": 911, "column": 12 }, "end": { - "line": 910, + "line": 911, "column": 20 }, "identifierName": "geometry" @@ -108438,15 +108604,15 @@ }, "value": { "type": "Identifier", - "start": 35562, - "end": 35570, + "start": 36143, + "end": 36151, "loc": { "start": { - "line": 910, + "line": 911, "column": 12 }, "end": { - "line": 910, + "line": 911, "column": 20 }, "identifierName": "geometry" @@ -108459,15 +108625,15 @@ }, { "type": "ObjectProperty", - "start": 35584, - "end": 35603, + "start": 36165, + "end": 36184, "loc": { "start": { - "line": 911, + "line": 912, "column": 12 }, "end": { - "line": 911, + "line": 912, "column": 31 } }, @@ -108476,15 +108642,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35584, - "end": 35589, + "start": 36165, + "end": 36170, "loc": { "start": { - "line": 911, + "line": 912, "column": 12 }, "end": { - "line": 911, + "line": 912, "column": 17 }, "identifierName": "color" @@ -108493,29 +108659,29 @@ }, "value": { "type": "MemberExpression", - "start": 35591, - "end": 35603, + "start": 36172, + "end": 36184, "loc": { "start": { - "line": 911, + "line": 912, "column": 19 }, "end": { - "line": 911, + "line": 912, "column": 31 } }, "object": { "type": "Identifier", - "start": 35591, - "end": 35597, + "start": 36172, + "end": 36178, "loc": { "start": { - "line": 911, + "line": 912, "column": 19 }, "end": { - "line": 911, + "line": 912, "column": 25 }, "identifierName": "params" @@ -108524,15 +108690,15 @@ }, "property": { "type": "Identifier", - "start": 35598, - "end": 35603, + "start": 36179, + "end": 36184, "loc": { "start": { - "line": 911, + "line": 912, "column": 26 }, "end": { - "line": 911, + "line": 912, "column": 31 }, "identifierName": "color" @@ -108544,15 +108710,15 @@ }, { "type": "ObjectProperty", - "start": 35617, - "end": 35642, + "start": 36198, + "end": 36223, "loc": { "start": { - "line": 912, + "line": 913, "column": 12 }, "end": { - "line": 912, + "line": 913, "column": 37 } }, @@ -108561,15 +108727,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35617, - "end": 35625, + "start": 36198, + "end": 36206, "loc": { "start": { - "line": 912, + "line": 913, "column": 12 }, "end": { - "line": 912, + "line": 913, "column": 20 }, "identifierName": "metallic" @@ -108578,29 +108744,29 @@ }, "value": { "type": "MemberExpression", - "start": 35627, - "end": 35642, + "start": 36208, + "end": 36223, "loc": { "start": { - "line": 912, + "line": 913, "column": 22 }, "end": { - "line": 912, + "line": 913, "column": 37 } }, "object": { "type": "Identifier", - "start": 35627, - "end": 35633, + "start": 36208, + "end": 36214, "loc": { "start": { - "line": 912, + "line": 913, "column": 22 }, "end": { - "line": 912, + "line": 913, "column": 28 }, "identifierName": "params" @@ -108609,15 +108775,15 @@ }, "property": { "type": "Identifier", - "start": 35634, - "end": 35642, + "start": 36215, + "end": 36223, "loc": { "start": { - "line": 912, + "line": 913, "column": 29 }, "end": { - "line": 912, + "line": 913, "column": 37 }, "identifierName": "metallic" @@ -108629,15 +108795,15 @@ }, { "type": "ObjectProperty", - "start": 35656, - "end": 35683, + "start": 36237, + "end": 36264, "loc": { "start": { - "line": 913, + "line": 914, "column": 12 }, "end": { - "line": 913, + "line": 914, "column": 39 } }, @@ -108646,15 +108812,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35656, - "end": 35665, + "start": 36237, + "end": 36246, "loc": { "start": { - "line": 913, + "line": 914, "column": 12 }, "end": { - "line": 913, + "line": 914, "column": 21 }, "identifierName": "roughness" @@ -108663,29 +108829,29 @@ }, "value": { "type": "MemberExpression", - "start": 35667, - "end": 35683, + "start": 36248, + "end": 36264, "loc": { "start": { - "line": 913, + "line": 914, "column": 23 }, "end": { - "line": 913, + "line": 914, "column": 39 } }, "object": { "type": "Identifier", - "start": 35667, - "end": 35673, + "start": 36248, + "end": 36254, "loc": { "start": { - "line": 913, + "line": 914, "column": 23 }, "end": { - "line": 913, + "line": 914, "column": 29 }, "identifierName": "params" @@ -108694,15 +108860,15 @@ }, "property": { "type": "Identifier", - "start": 35674, - "end": 35683, + "start": 36255, + "end": 36264, "loc": { "start": { - "line": 913, + "line": 914, "column": 30 }, "end": { - "line": 913, + "line": 914, "column": 39 }, "identifierName": "roughness" @@ -108714,15 +108880,15 @@ }, { "type": "ObjectProperty", - "start": 35697, - "end": 35720, + "start": 36278, + "end": 36301, "loc": { "start": { - "line": 914, + "line": 915, "column": 12 }, "end": { - "line": 914, + "line": 915, "column": 35 } }, @@ -108731,15 +108897,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35697, - "end": 35704, + "start": 36278, + "end": 36285, "loc": { "start": { - "line": 914, + "line": 915, "column": 12 }, "end": { - "line": 914, + "line": 915, "column": 19 }, "identifierName": "opacity" @@ -108748,29 +108914,29 @@ }, "value": { "type": "MemberExpression", - "start": 35706, - "end": 35720, + "start": 36287, + "end": 36301, "loc": { "start": { - "line": 914, + "line": 915, "column": 21 }, "end": { - "line": 914, + "line": 915, "column": 35 } }, "object": { "type": "Identifier", - "start": 35706, - "end": 35712, + "start": 36287, + "end": 36293, "loc": { "start": { - "line": 914, + "line": 915, "column": 21 }, "end": { - "line": 914, + "line": 915, "column": 27 }, "identifierName": "params" @@ -108779,15 +108945,15 @@ }, "property": { "type": "Identifier", - "start": 35713, - "end": 35720, + "start": 36294, + "end": 36301, "loc": { "start": { - "line": 914, + "line": 915, "column": 28 }, "end": { - "line": 914, + "line": 915, "column": 35 }, "identifierName": "opacity" @@ -108799,15 +108965,15 @@ }, { "type": "ObjectProperty", - "start": 35734, - "end": 35744, + "start": 36315, + "end": 36325, "loc": { "start": { - "line": 915, + "line": 916, "column": 12 }, "end": { - "line": 915, + "line": 916, "column": 22 } }, @@ -108816,15 +108982,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 35734, - "end": 35744, + "start": 36315, + "end": 36325, "loc": { "start": { - "line": 915, + "line": 916, "column": 12 }, "end": { - "line": 915, + "line": 916, "column": 22 }, "identifierName": "textureSet" @@ -108833,15 +108999,15 @@ }, "value": { "type": "Identifier", - "start": 35734, - "end": 35744, + "start": 36315, + "end": 36325, "loc": { "start": { - "line": 915, + "line": 916, "column": 12 }, "end": { - "line": 915, + "line": 916, "column": 22 }, "identifierName": "textureSet" @@ -108862,87 +109028,87 @@ }, { "type": "ExpressionStatement", - "start": 35766, - "end": 35798, + "start": 36347, + "end": 36379, "loc": { "start": { - "line": 918, + "line": 919, "column": 8 }, "end": { - "line": 918, + "line": 919, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 35766, - "end": 35797, + "start": 36347, + "end": 36378, "loc": { "start": { - "line": 918, + "line": 919, "column": 8 }, "end": { - "line": 918, + "line": 919, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 35766, - "end": 35790, + "start": 36347, + "end": 36371, "loc": { "start": { - "line": 918, + "line": 919, "column": 8 }, "end": { - "line": 918, + "line": 919, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 35766, - "end": 35777, + "start": 36347, + "end": 36358, "loc": { "start": { - "line": 918, + "line": 919, "column": 8 }, "end": { - "line": 918, + "line": 919, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 35766, - "end": 35770, + "start": 36347, + "end": 36351, "loc": { "start": { - "line": 918, + "line": 919, "column": 8 }, "end": { - "line": 918, + "line": 919, "column": 12 } } }, "property": { "type": "Identifier", - "start": 35771, - "end": 35777, + "start": 36352, + "end": 36358, "loc": { "start": { - "line": 918, + "line": 919, "column": 13 }, "end": { - "line": 918, + "line": 919, "column": 19 }, "identifierName": "meshes" @@ -108953,29 +109119,29 @@ }, "property": { "type": "MemberExpression", - "start": 35778, - "end": 35789, + "start": 36359, + "end": 36370, "loc": { "start": { - "line": 918, + "line": 919, "column": 20 }, "end": { - "line": 918, + "line": 919, "column": 31 } }, "object": { "type": "Identifier", - "start": 35778, - "end": 35782, + "start": 36359, + "end": 36363, "loc": { "start": { - "line": 918, + "line": 919, "column": 20 }, "end": { - "line": 918, + "line": 919, "column": 24 }, "identifierName": "mesh" @@ -108984,15 +109150,15 @@ }, "property": { "type": "Identifier", - "start": 35783, - "end": 35789, + "start": 36364, + "end": 36370, "loc": { "start": { - "line": 918, + "line": 919, "column": 25 }, "end": { - "line": 918, + "line": 919, "column": 31 }, "identifierName": "meshId" @@ -109005,15 +109171,15 @@ }, "right": { "type": "Identifier", - "start": 35793, - "end": 35797, + "start": 36374, + "end": 36378, "loc": { "start": { - "line": 918, + "line": 919, "column": 35 }, "end": { - "line": 918, + "line": 919, "column": 39 }, "identifierName": "mesh" @@ -109024,86 +109190,86 @@ }, { "type": "ExpressionStatement", - "start": 35807, - "end": 35834, + "start": 36388, + "end": 36415, "loc": { "start": { - "line": 919, + "line": 920, "column": 8 }, "end": { - "line": 919, + "line": 920, "column": 35 } }, "expression": { "type": "CallExpression", - "start": 35807, - "end": 35833, + "start": 36388, + "end": 36414, "loc": { "start": { - "line": 919, + "line": 920, "column": 8 }, "end": { - "line": 919, + "line": 920, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 35807, - "end": 35827, + "start": 36388, + "end": 36408, "loc": { "start": { - "line": 919, + "line": 920, "column": 8 }, "end": { - "line": 919, + "line": 920, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 35807, - "end": 35822, + "start": 36388, + "end": 36403, "loc": { "start": { - "line": 919, + "line": 920, "column": 8 }, "end": { - "line": 919, + "line": 920, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 35807, - "end": 35811, + "start": 36388, + "end": 36392, "loc": { "start": { - "line": 919, + "line": 920, "column": 8 }, "end": { - "line": 919, + "line": 920, "column": 12 } } }, "property": { "type": "Identifier", - "start": 35812, - "end": 35822, + "start": 36393, + "end": 36403, "loc": { "start": { - "line": 919, + "line": 920, "column": 13 }, "end": { - "line": 919, + "line": 920, "column": 23 }, "identifierName": "meshesList" @@ -109114,15 +109280,15 @@ }, "property": { "type": "Identifier", - "start": 35823, - "end": 35827, + "start": 36404, + "end": 36408, "loc": { "start": { - "line": 919, + "line": 920, "column": 24 }, "end": { - "line": 919, + "line": 920, "column": 28 }, "identifierName": "push" @@ -109134,15 +109300,15 @@ "arguments": [ { "type": "Identifier", - "start": 35828, - "end": 35832, + "start": 36409, + "end": 36413, "loc": { "start": { - "line": 919, + "line": 920, "column": 29 }, "end": { - "line": 919, + "line": 920, "column": 33 }, "identifierName": "mesh" @@ -109154,29 +109320,29 @@ }, { "type": "ReturnStatement", - "start": 35844, - "end": 35856, + "start": 36425, + "end": 36437, "loc": { "start": { - "line": 921, + "line": 922, "column": 8 }, "end": { - "line": 921, + "line": 922, "column": 20 } }, "argument": { "type": "Identifier", - "start": 35851, - "end": 35855, + "start": 36432, + "end": 36436, "loc": { "start": { - "line": 921, + "line": 922, "column": 15 }, "end": { - "line": 921, + "line": 922, "column": 19 }, "identifierName": "mesh" @@ -109192,15 +109358,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMesh} within this XKTModel.\n *\n * An {@link XKTMesh} can be owned by one {@link XKTEntity}, which can own multiple {@link XKTMesh}es.\n *\n * Registers the new {@link XKTMesh} in {@link XKTModel#meshes} and {@link XKTModel#meshesList}.\n *\n * @param {*} params Method parameters.\n * @param {Number} params.meshId Unique ID for the {@link XKTMesh}.\n * @param {Number} params.geometryId ID of an existing {@link XKTGeometry} in {@link XKTModel#geometries}.\n * @param {Number} [params.textureSetId] Unique ID of an {@link XKTTextureSet} in {@link XKTModel#textureSets}.\n * @param {Float32Array} params.color RGB color for the {@link XKTMesh}, with each color component in range [0..1].\n * @param {Number} [params.metallic=0] How metallic the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully dielectric material, while ````1```` indicates fully metallic.\n * @param {Number} [params.roughness=1] How rough the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully smooth, while ````1```` indicates fully rough.\n * @param {Number} params.opacity Opacity factor for the {@link XKTMesh}, in range [0..1].\n * @param {Float64Array} [params.matrix] Modeling matrix for the {@link XKTMesh}. Overrides ````position````, ````scale```` and ````rotation```` parameters.\n * @param {Number[]} [params.position=[0,0,0]] Position of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.scale=[1,1,1]] Scale of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.rotation=[0,0,0]] Rotation of the {@link XKTMesh} as Euler angles given in degrees, for each of the X, Y and Z axis. Overridden by the ````matrix```` parameter.\n * @returns {XKTMesh} The new {@link XKTMesh}.\n ", - "start": 31770, - "end": 33656, + "start": 32285, + "end": 34171, "loc": { "start": { - "line": 827, + "line": 828, "column": 4 }, "end": { - "line": 847, + "line": 848, "column": 7 } } @@ -109210,15 +109376,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTEntity} within this XKTModel.\n *\n * Registers the new {@link XKTEntity} in {@link XKTModel#entities} and {@link XKTModel#entitiesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.entityId Unique ID for the {@link XKTEntity}.\n * @param {String[]} params.meshIds IDs of {@link XKTMesh}es used by the {@link XKTEntity}. Note that each {@link XKTMesh} can only be used by one {@link XKTEntity}.\n * @returns {XKTEntity} The new {@link XKTEntity}.\n ", - "start": 35868, - "end": 36515, + "start": 36449, + "end": 37096, "loc": { "start": { - "line": 924, + "line": 925, "column": 4 }, "end": { - "line": 935, + "line": 936, "column": 7 } } @@ -109227,15 +109393,15 @@ }, { "type": "ClassMethod", - "start": 36520, - "end": 38425, + "start": 37101, + "end": 39078, "loc": { "start": { - "line": 936, + "line": 937, "column": 4 }, "end": { - "line": 1001, + "line": 1002, "column": 5 } }, @@ -109243,15 +109409,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 36520, - "end": 36532, + "start": 37101, + "end": 37113, "loc": { "start": { - "line": 936, + "line": 937, "column": 4 }, "end": { - "line": 936, + "line": 937, "column": 16 }, "identifierName": "createEntity" @@ -109267,15 +109433,15 @@ "params": [ { "type": "Identifier", - "start": 36533, - "end": 36539, + "start": 37114, + "end": 37120, "loc": { "start": { - "line": 936, + "line": 937, "column": 17 }, "end": { - "line": 936, + "line": 937, "column": 23 }, "identifierName": "params" @@ -109285,44 +109451,44 @@ ], "body": { "type": "BlockStatement", - "start": 36541, - "end": 38425, + "start": 37122, + "end": 39078, "loc": { "start": { - "line": 936, + "line": 937, "column": 25 }, "end": { - "line": 1001, + "line": 1002, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 36552, - "end": 36625, + "start": 37133, + "end": 37230, "loc": { "start": { - "line": 938, + "line": 939, "column": 8 }, "end": { - "line": 940, + "line": 941, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 36556, - "end": 36563, + "start": 37137, + "end": 37144, "loc": { "start": { - "line": 938, + "line": 939, "column": 12 }, "end": { - "line": 938, + "line": 939, "column": 19 } }, @@ -109330,15 +109496,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 36557, - "end": 36563, + "start": 37138, + "end": 37144, "loc": { "start": { - "line": 938, + "line": 939, "column": 13 }, "end": { - "line": 938, + "line": 939, "column": 19 }, "identifierName": "params" @@ -109351,52 +109517,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 36565, - "end": 36625, + "start": 37146, + "end": 37230, "loc": { "start": { - "line": 938, + "line": 939, "column": 21 }, "end": { - "line": 940, + "line": 941, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 36579, - "end": 36615, + "start": 37160, + "end": 37220, "loc": { "start": { - "line": 939, + "line": 940, "column": 12 }, "end": { - "line": 939, - "column": 48 + "line": 940, + "column": 72 } }, "argument": { "type": "StringLiteral", - "start": 36585, - "end": 36614, + "start": 37166, + "end": 37219, "loc": { "start": { - "line": 939, + "line": 940, "column": 18 }, "end": { - "line": 939, - "column": 47 + "line": 940, + "column": 71 } }, "extra": { - "rawValue": "Parameters expected: params", - "raw": "\"Parameters expected: params\"" + "rawValue": "[XKTModel.createEntity] Parameters expected: params", + "raw": "\"[XKTModel.createEntity] Parameters expected: params\"" }, - "value": "Parameters expected: params" + "value": "[XKTModel.createEntity] Parameters expected: params" } } ], @@ -109406,71 +109572,71 @@ }, { "type": "IfStatement", - "start": 36635, - "end": 36766, + "start": 37240, + "end": 37395, "loc": { "start": { - "line": 942, + "line": 943, "column": 8 }, "end": { - "line": 944, + "line": 945, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 36639, - "end": 36696, + "start": 37244, + "end": 37301, "loc": { "start": { - "line": 942, + "line": 943, "column": 12 }, "end": { - "line": 942, + "line": 943, "column": 69 } }, "left": { "type": "BinaryExpression", - "start": 36639, - "end": 36663, + "start": 37244, + "end": 37268, "loc": { "start": { - "line": 942, + "line": 943, "column": 12 }, "end": { - "line": 942, + "line": 943, "column": 36 } }, "left": { "type": "MemberExpression", - "start": 36639, - "end": 36654, + "start": 37244, + "end": 37259, "loc": { "start": { - "line": 942, + "line": 943, "column": 12 }, "end": { - "line": 942, + "line": 943, "column": 27 } }, "object": { "type": "Identifier", - "start": 36639, - "end": 36645, + "start": 37244, + "end": 37250, "loc": { "start": { - "line": 942, + "line": 943, "column": 12 }, "end": { - "line": 942, + "line": 943, "column": 18 }, "identifierName": "params" @@ -109479,15 +109645,15 @@ }, "property": { "type": "Identifier", - "start": 36646, - "end": 36654, + "start": 37251, + "end": 37259, "loc": { "start": { - "line": 942, + "line": 943, "column": 19 }, "end": { - "line": 942, + "line": 943, "column": 27 }, "identifierName": "entityId" @@ -109499,15 +109665,15 @@ "operator": "===", "right": { "type": "NullLiteral", - "start": 36659, - "end": 36663, + "start": 37264, + "end": 37268, "loc": { "start": { - "line": 942, + "line": 943, "column": 32 }, "end": { - "line": 942, + "line": 943, "column": 36 } } @@ -109516,43 +109682,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 36667, - "end": 36696, + "start": 37272, + "end": 37301, "loc": { "start": { - "line": 942, + "line": 943, "column": 40 }, "end": { - "line": 942, + "line": 943, "column": 69 } }, "left": { "type": "MemberExpression", - "start": 36667, - "end": 36682, + "start": 37272, + "end": 37287, "loc": { "start": { - "line": 942, + "line": 943, "column": 40 }, "end": { - "line": 942, + "line": 943, "column": 55 } }, "object": { "type": "Identifier", - "start": 36667, - "end": 36673, + "start": 37272, + "end": 37278, "loc": { "start": { - "line": 942, + "line": 943, "column": 40 }, "end": { - "line": 942, + "line": 943, "column": 46 }, "identifierName": "params" @@ -109561,15 +109727,15 @@ }, "property": { "type": "Identifier", - "start": 36674, - "end": 36682, + "start": 37279, + "end": 37287, "loc": { "start": { - "line": 942, + "line": 943, "column": 47 }, "end": { - "line": 942, + "line": 943, "column": 55 }, "identifierName": "entityId" @@ -109581,15 +109747,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 36687, - "end": 36696, + "start": 37292, + "end": 37301, "loc": { "start": { - "line": 942, + "line": 943, "column": 60 }, "end": { - "line": 942, + "line": 943, "column": 69 }, "identifierName": "undefined" @@ -109600,52 +109766,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 36698, - "end": 36766, + "start": 37303, + "end": 37395, "loc": { "start": { - "line": 942, + "line": 943, "column": 71 }, "end": { - "line": 944, + "line": 945, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 36712, - "end": 36756, + "start": 37317, + "end": 37385, "loc": { "start": { - "line": 943, + "line": 944, "column": 12 }, "end": { - "line": 943, - "column": 56 + "line": 944, + "column": 80 } }, "argument": { "type": "StringLiteral", - "start": 36718, - "end": 36755, + "start": 37323, + "end": 37384, "loc": { "start": { - "line": 943, + "line": 944, "column": 18 }, "end": { - "line": 943, - "column": 55 + "line": 944, + "column": 79 } }, "extra": { - "rawValue": "Parameter expected: params.entityId", - "raw": "\"Parameter expected: params.entityId\"" + "rawValue": "[XKTModel.createEntity] Parameter expected: params.entityId", + "raw": "\"[XKTModel.createEntity] Parameter expected: params.entityId\"" }, - "value": "Parameter expected: params.entityId" + "value": "[XKTModel.createEntity] Parameter expected: params.entityId" } } ], @@ -109655,29 +109821,29 @@ }, { "type": "IfStatement", - "start": 36776, - "end": 36864, + "start": 37405, + "end": 37517, "loc": { "start": { - "line": 946, + "line": 947, "column": 8 }, "end": { - "line": 948, + "line": 949, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 36780, - "end": 36795, + "start": 37409, + "end": 37424, "loc": { "start": { - "line": 946, + "line": 947, "column": 12 }, "end": { - "line": 946, + "line": 947, "column": 27 } }, @@ -109685,29 +109851,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 36781, - "end": 36795, + "start": 37410, + "end": 37424, "loc": { "start": { - "line": 946, + "line": 947, "column": 13 }, "end": { - "line": 946, + "line": 947, "column": 27 } }, "object": { "type": "Identifier", - "start": 36781, - "end": 36787, + "start": 37410, + "end": 37416, "loc": { "start": { - "line": 946, + "line": 947, "column": 13 }, "end": { - "line": 946, + "line": 947, "column": 19 }, "identifierName": "params" @@ -109716,15 +109882,15 @@ }, "property": { "type": "Identifier", - "start": 36788, - "end": 36795, + "start": 37417, + "end": 37424, "loc": { "start": { - "line": 946, + "line": 947, "column": 20 }, "end": { - "line": 946, + "line": 947, "column": 27 }, "identifierName": "meshIds" @@ -109739,52 +109905,52 @@ }, "consequent": { "type": "BlockStatement", - "start": 36797, - "end": 36864, + "start": 37426, + "end": 37517, "loc": { "start": { - "line": 946, + "line": 947, "column": 29 }, "end": { - "line": 948, + "line": 949, "column": 9 } }, "body": [ { "type": "ThrowStatement", - "start": 36811, - "end": 36854, + "start": 37440, + "end": 37507, "loc": { "start": { - "line": 947, + "line": 948, "column": 12 }, "end": { - "line": 947, - "column": 55 + "line": 948, + "column": 79 } }, "argument": { "type": "StringLiteral", - "start": 36817, - "end": 36853, + "start": 37446, + "end": 37506, "loc": { "start": { - "line": 947, + "line": 948, "column": 18 }, "end": { - "line": 947, - "column": 54 + "line": 948, + "column": 78 } }, "extra": { - "rawValue": "Parameter expected: params.meshIds", - "raw": "\"Parameter expected: params.meshIds\"" + "rawValue": "[XKTModel.createEntity] Parameter expected: params.meshIds", + "raw": "\"[XKTModel.createEntity] Parameter expected: params.meshIds\"" }, - "value": "Parameter expected: params.meshIds" + "value": "[XKTModel.createEntity] Parameter expected: params.meshIds" } } ], @@ -109794,58 +109960,58 @@ }, { "type": "IfStatement", - "start": 36874, - "end": 37008, + "start": 37527, + "end": 37661, "loc": { "start": { - "line": 950, + "line": 951, "column": 8 }, "end": { - "line": 953, + "line": 954, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 36878, - "end": 36892, + "start": 37531, + "end": 37545, "loc": { "start": { - "line": 950, + "line": 951, "column": 12 }, "end": { - "line": 950, + "line": 951, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 36878, - "end": 36882, + "start": 37531, + "end": 37535, "loc": { "start": { - "line": 950, + "line": 951, "column": 12 }, "end": { - "line": 950, + "line": 951, "column": 16 } } }, "property": { "type": "Identifier", - "start": 36883, - "end": 36892, + "start": 37536, + "end": 37545, "loc": { "start": { - "line": 950, + "line": 951, "column": 17 }, "end": { - "line": 950, + "line": 951, "column": 26 }, "identifierName": "finalized" @@ -109856,72 +110022,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 36894, - "end": 37008, + "start": 37547, + "end": 37661, "loc": { "start": { - "line": 950, + "line": 951, "column": 28 }, "end": { - "line": 953, + "line": 954, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 36908, - "end": 36978, + "start": 37561, + "end": 37631, "loc": { "start": { - "line": 951, + "line": 952, "column": 12 }, "end": { - "line": 951, + "line": 952, "column": 82 } }, "expression": { "type": "CallExpression", - "start": 36908, - "end": 36977, + "start": 37561, + "end": 37630, "loc": { "start": { - "line": 951, + "line": 952, "column": 12 }, "end": { - "line": 951, + "line": 952, "column": 81 } }, "callee": { "type": "MemberExpression", - "start": 36908, - "end": 36921, + "start": 37561, + "end": 37574, "loc": { "start": { - "line": 951, + "line": 952, "column": 12 }, "end": { - "line": 951, + "line": 952, "column": 25 } }, "object": { "type": "Identifier", - "start": 36908, - "end": 36915, + "start": 37561, + "end": 37568, "loc": { "start": { - "line": 951, + "line": 952, "column": 12 }, "end": { - "line": 951, + "line": 952, "column": 19 }, "identifierName": "console" @@ -109930,15 +110096,15 @@ }, "property": { "type": "Identifier", - "start": 36916, - "end": 36921, + "start": 37569, + "end": 37574, "loc": { "start": { - "line": 951, + "line": 952, "column": 20 }, "end": { - "line": 951, + "line": 952, "column": 25 }, "identifierName": "error" @@ -109950,15 +110116,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 36922, - "end": 36976, + "start": 37575, + "end": 37629, "loc": { "start": { - "line": 951, + "line": 952, "column": 26 }, "end": { - "line": 951, + "line": 952, "column": 80 } }, @@ -109973,15 +110139,15 @@ }, { "type": "ReturnStatement", - "start": 36991, - "end": 36998, + "start": 37644, + "end": 37651, "loc": { "start": { - "line": 952, + "line": 953, "column": 12 }, "end": { - "line": 952, + "line": 953, "column": 19 } }, @@ -109994,71 +110160,71 @@ }, { "type": "IfStatement", - "start": 37018, - "end": 37170, + "start": 37671, + "end": 37823, "loc": { "start": { - "line": 955, + "line": 956, "column": 8 }, "end": { - "line": 958, + "line": 959, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 37022, - "end": 37049, + "start": 37675, + "end": 37702, "loc": { "start": { - "line": 955, + "line": 956, "column": 12 }, "end": { - "line": 955, + "line": 956, "column": 39 } }, "left": { "type": "MemberExpression", - "start": 37022, - "end": 37043, + "start": 37675, + "end": 37696, "loc": { "start": { - "line": 955, + "line": 956, "column": 12 }, "end": { - "line": 955, + "line": 956, "column": 33 } }, "object": { "type": "MemberExpression", - "start": 37022, - "end": 37036, + "start": 37675, + "end": 37689, "loc": { "start": { - "line": 955, + "line": 956, "column": 12 }, "end": { - "line": 955, + "line": 956, "column": 26 } }, "object": { "type": "Identifier", - "start": 37022, - "end": 37028, + "start": 37675, + "end": 37681, "loc": { "start": { - "line": 955, + "line": 956, "column": 12 }, "end": { - "line": 955, + "line": 956, "column": 18 }, "identifierName": "params" @@ -110067,15 +110233,15 @@ }, "property": { "type": "Identifier", - "start": 37029, - "end": 37036, + "start": 37682, + "end": 37689, "loc": { "start": { - "line": 955, + "line": 956, "column": 19 }, "end": { - "line": 955, + "line": 956, "column": 26 }, "identifierName": "meshIds" @@ -110086,15 +110252,15 @@ }, "property": { "type": "Identifier", - "start": 37037, - "end": 37043, + "start": 37690, + "end": 37696, "loc": { "start": { - "line": 955, + "line": 956, "column": 27 }, "end": { - "line": 955, + "line": 956, "column": 33 }, "identifierName": "length" @@ -110106,15 +110272,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 37048, - "end": 37049, + "start": 37701, + "end": 37702, "loc": { "start": { - "line": 955, + "line": 956, "column": 38 }, "end": { - "line": 955, + "line": 956, "column": 39 } }, @@ -110127,72 +110293,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 37051, - "end": 37170, + "start": 37704, + "end": 37823, "loc": { "start": { - "line": 955, + "line": 956, "column": 41 }, "end": { - "line": 958, + "line": 959, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 37065, - "end": 37140, + "start": 37718, + "end": 37793, "loc": { "start": { - "line": 956, + "line": 957, "column": 12 }, "end": { - "line": 956, + "line": 957, "column": 87 } }, "expression": { "type": "CallExpression", - "start": 37065, - "end": 37139, + "start": 37718, + "end": 37792, "loc": { "start": { - "line": 956, + "line": 957, "column": 12 }, "end": { - "line": 956, + "line": 957, "column": 86 } }, "callee": { "type": "MemberExpression", - "start": 37065, - "end": 37077, + "start": 37718, + "end": 37730, "loc": { "start": { - "line": 956, + "line": 957, "column": 12 }, "end": { - "line": 956, + "line": 957, "column": 24 } }, "object": { "type": "Identifier", - "start": 37065, - "end": 37072, + "start": 37718, + "end": 37725, "loc": { "start": { - "line": 956, + "line": 957, "column": 12 }, "end": { - "line": 956, + "line": 957, "column": 19 }, "identifierName": "console" @@ -110201,15 +110367,15 @@ }, "property": { "type": "Identifier", - "start": 37073, - "end": 37077, + "start": 37726, + "end": 37730, "loc": { "start": { - "line": 956, + "line": 957, "column": 20 }, "end": { - "line": 956, + "line": 957, "column": 24 }, "identifierName": "warn" @@ -110221,29 +110387,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 37078, - "end": 37138, + "start": 37731, + "end": 37791, "loc": { "start": { - "line": 956, + "line": 957, "column": 25 }, "end": { - "line": 956, + "line": 957, "column": 85 } }, "left": { "type": "StringLiteral", - "start": 37078, - "end": 37120, + "start": 37731, + "end": 37773, "loc": { "start": { - "line": 956, + "line": 957, "column": 25 }, "end": { - "line": 956, + "line": 957, "column": 67 } }, @@ -110256,29 +110422,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 37123, - "end": 37138, + "start": 37776, + "end": 37791, "loc": { "start": { - "line": 956, + "line": 957, "column": 70 }, "end": { - "line": 956, + "line": 957, "column": 85 } }, "object": { "type": "Identifier", - "start": 37123, - "end": 37129, + "start": 37776, + "end": 37782, "loc": { "start": { - "line": 956, + "line": 957, "column": 70 }, "end": { - "line": 956, + "line": 957, "column": 76 }, "identifierName": "params" @@ -110287,15 +110453,15 @@ }, "property": { "type": "Identifier", - "start": 37130, - "end": 37138, + "start": 37783, + "end": 37791, "loc": { "start": { - "line": 956, + "line": 957, "column": 77 }, "end": { - "line": 956, + "line": 957, "column": 85 }, "identifierName": "entityId" @@ -110310,15 +110476,15 @@ }, { "type": "ReturnStatement", - "start": 37153, - "end": 37160, + "start": 37806, + "end": 37813, "loc": { "start": { - "line": 957, + "line": 958, "column": 12 }, "end": { - "line": 957, + "line": 958, "column": 19 } }, @@ -110331,44 +110497,44 @@ }, { "type": "VariableDeclaration", - "start": 37180, - "end": 37211, + "start": 37833, + "end": 37864, "loc": { "start": { - "line": 960, + "line": 961, "column": 8 }, "end": { - "line": 960, + "line": 961, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37184, - "end": 37210, + "start": 37837, + "end": 37863, "loc": { "start": { - "line": 960, + "line": 961, "column": 12 }, "end": { - "line": 960, + "line": 961, "column": 38 } }, "id": { "type": "Identifier", - "start": 37184, - "end": 37192, + "start": 37837, + "end": 37845, "loc": { "start": { - "line": 960, + "line": 961, "column": 12 }, "end": { - "line": 960, + "line": 961, "column": 20 }, "identifierName": "entityId" @@ -110377,29 +110543,29 @@ }, "init": { "type": "MemberExpression", - "start": 37195, - "end": 37210, + "start": 37848, + "end": 37863, "loc": { "start": { - "line": 960, + "line": 961, "column": 23 }, "end": { - "line": 960, + "line": 961, "column": 38 } }, "object": { "type": "Identifier", - "start": 37195, - "end": 37201, + "start": 37848, + "end": 37854, "loc": { "start": { - "line": 960, + "line": 961, "column": 23 }, "end": { - "line": 960, + "line": 961, "column": 29 }, "identifierName": "params" @@ -110408,15 +110574,15 @@ }, "property": { "type": "Identifier", - "start": 37202, - "end": 37210, + "start": 37855, + "end": 37863, "loc": { "start": { - "line": 960, + "line": 961, "column": 30 }, "end": { - "line": 960, + "line": 961, "column": 38 }, "identifierName": "entityId" @@ -110431,72 +110597,72 @@ }, { "type": "IfStatement", - "start": 37221, - "end": 37506, + "start": 37874, + "end": 38159, "loc": { "start": { - "line": 962, + "line": 963, "column": 8 }, "end": { - "line": 967, + "line": 968, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 37225, - "end": 37248, + "start": 37878, + "end": 37901, "loc": { "start": { - "line": 962, + "line": 963, "column": 12 }, "end": { - "line": 962, + "line": 963, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 37225, - "end": 37238, + "start": 37878, + "end": 37891, "loc": { "start": { - "line": 962, + "line": 963, "column": 12 }, "end": { - "line": 962, + "line": 963, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 37225, - "end": 37229, + "start": 37878, + "end": 37882, "loc": { "start": { - "line": 962, + "line": 963, "column": 12 }, "end": { - "line": 962, + "line": 963, "column": 16 } } }, "property": { "type": "Identifier", - "start": 37230, - "end": 37238, + "start": 37883, + "end": 37891, "loc": { "start": { - "line": 962, + "line": 963, "column": 17 }, "end": { - "line": 962, + "line": 963, "column": 25 }, "identifierName": "entities" @@ -110507,15 +110673,15 @@ }, "property": { "type": "Identifier", - "start": 37239, - "end": 37247, + "start": 37892, + "end": 37900, "loc": { "start": { - "line": 962, + "line": 963, "column": 26 }, "end": { - "line": 962, + "line": 963, "column": 34 }, "identifierName": "entityId" @@ -110526,87 +110692,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 37250, - "end": 37506, + "start": 37903, + "end": 38159, "loc": { "start": { - "line": 962, + "line": 963, "column": 37 }, "end": { - "line": 967, + "line": 968, "column": 9 } }, "body": [ { "type": "WhileStatement", - "start": 37264, - "end": 37357, + "start": 37917, + "end": 38010, "loc": { "start": { - "line": 963, + "line": 964, "column": 12 }, "end": { - "line": 965, + "line": 966, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 37271, - "end": 37294, + "start": 37924, + "end": 37947, "loc": { "start": { - "line": 963, + "line": 964, "column": 19 }, "end": { - "line": 963, + "line": 964, "column": 42 } }, "object": { "type": "MemberExpression", - "start": 37271, - "end": 37284, + "start": 37924, + "end": 37937, "loc": { "start": { - "line": 963, + "line": 964, "column": 19 }, "end": { - "line": 963, + "line": 964, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 37271, - "end": 37275, + "start": 37924, + "end": 37928, "loc": { "start": { - "line": 963, + "line": 964, "column": 19 }, "end": { - "line": 963, + "line": 964, "column": 23 } } }, "property": { "type": "Identifier", - "start": 37276, - "end": 37284, + "start": 37929, + "end": 37937, "loc": { "start": { - "line": 963, + "line": 964, "column": 24 }, "end": { - "line": 963, + "line": 964, "column": 32 }, "identifierName": "entities" @@ -110617,15 +110783,15 @@ }, "property": { "type": "Identifier", - "start": 37285, - "end": 37293, + "start": 37938, + "end": 37946, "loc": { "start": { - "line": 963, + "line": 964, "column": 33 }, "end": { - "line": 963, + "line": 964, "column": 41 }, "identifierName": "entityId" @@ -110636,59 +110802,59 @@ }, "body": { "type": "BlockStatement", - "start": 37296, - "end": 37357, + "start": 37949, + "end": 38010, "loc": { "start": { - "line": 963, + "line": 964, "column": 44 }, "end": { - "line": 965, + "line": 966, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 37314, - "end": 37343, + "start": 37967, + "end": 37996, "loc": { "start": { - "line": 964, + "line": 965, "column": 16 }, "end": { - "line": 964, + "line": 965, "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 37314, - "end": 37342, + "start": 37967, + "end": 37995, "loc": { "start": { - "line": 964, + "line": 965, "column": 16 }, "end": { - "line": 964, + "line": 965, "column": 44 } }, "operator": "=", "left": { "type": "Identifier", - "start": 37314, - "end": 37322, + "start": 37967, + "end": 37975, "loc": { "start": { - "line": 964, + "line": 965, "column": 16 }, "end": { - "line": 964, + "line": 965, "column": 24 }, "identifierName": "entityId" @@ -110697,43 +110863,43 @@ }, "right": { "type": "CallExpression", - "start": 37325, - "end": 37342, + "start": 37978, + "end": 37995, "loc": { "start": { - "line": 964, + "line": 965, "column": 27 }, "end": { - "line": 964, + "line": 965, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 37325, - "end": 37340, + "start": 37978, + "end": 37993, "loc": { "start": { - "line": 964, + "line": 965, "column": 27 }, "end": { - "line": 964, + "line": 965, "column": 42 } }, "object": { "type": "Identifier", - "start": 37325, - "end": 37329, + "start": 37978, + "end": 37982, "loc": { "start": { - "line": 964, + "line": 965, "column": 27 }, "end": { - "line": 964, + "line": 965, "column": 31 }, "identifierName": "math" @@ -110742,15 +110908,15 @@ }, "property": { "type": "Identifier", - "start": 37330, - "end": 37340, + "start": 37983, + "end": 37993, "loc": { "start": { - "line": 964, + "line": 965, "column": 32 }, "end": { - "line": 964, + "line": 965, "column": 42 }, "identifierName": "createUUID" @@ -110769,57 +110935,57 @@ }, { "type": "ExpressionStatement", - "start": 37370, - "end": 37496, + "start": 38023, + "end": 38149, "loc": { "start": { - "line": 966, + "line": 967, "column": 12 }, "end": { - "line": 966, + "line": 967, "column": 138 } }, "expression": { "type": "CallExpression", - "start": 37370, - "end": 37495, + "start": 38023, + "end": 38148, "loc": { "start": { - "line": 966, + "line": 967, "column": 12 }, "end": { - "line": 966, + "line": 967, "column": 137 } }, "callee": { "type": "MemberExpression", - "start": 37370, - "end": 37383, + "start": 38023, + "end": 38036, "loc": { "start": { - "line": 966, + "line": 967, "column": 12 }, "end": { - "line": 966, + "line": 967, "column": 25 } }, "object": { "type": "Identifier", - "start": 37370, - "end": 37377, + "start": 38023, + "end": 38030, "loc": { "start": { - "line": 966, + "line": 967, "column": 12 }, "end": { - "line": 966, + "line": 967, "column": 19 }, "identifierName": "console" @@ -110828,15 +110994,15 @@ }, "property": { "type": "Identifier", - "start": 37378, - "end": 37383, + "start": 38031, + "end": 38036, "loc": { "start": { - "line": 966, + "line": 967, "column": 20 }, "end": { - "line": 966, + "line": 967, "column": 25 }, "identifierName": "error" @@ -110848,57 +111014,57 @@ "arguments": [ { "type": "BinaryExpression", - "start": 37384, - "end": 37494, + "start": 38037, + "end": 38147, "loc": { "start": { - "line": 966, + "line": 967, "column": 26 }, "end": { - "line": 966, + "line": 967, "column": 136 } }, "left": { "type": "BinaryExpression", - "start": 37384, - "end": 37483, + "start": 38037, + "end": 38136, "loc": { "start": { - "line": 966, + "line": 967, "column": 26 }, "end": { - "line": 966, + "line": 967, "column": 125 } }, "left": { "type": "BinaryExpression", - "start": 37384, - "end": 37443, + "start": 38037, + "end": 38096, "loc": { "start": { - "line": 966, + "line": 967, "column": 26 }, "end": { - "line": 966, + "line": 967, "column": 85 } }, "left": { "type": "StringLiteral", - "start": 37384, - "end": 37425, + "start": 38037, + "end": 38078, "loc": { "start": { - "line": 966, + "line": 967, "column": 26 }, "end": { - "line": 966, + "line": 967, "column": 67 } }, @@ -110911,29 +111077,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 37428, - "end": 37443, + "start": 38081, + "end": 38096, "loc": { "start": { - "line": 966, + "line": 967, "column": 70 }, "end": { - "line": 966, + "line": 967, "column": 85 } }, "object": { "type": "Identifier", - "start": 37428, - "end": 37434, + "start": 38081, + "end": 38087, "loc": { "start": { - "line": 966, + "line": 967, "column": 70 }, "end": { - "line": 966, + "line": 967, "column": 76 }, "identifierName": "params" @@ -110942,15 +111108,15 @@ }, "property": { "type": "Identifier", - "start": 37435, - "end": 37443, + "start": 38088, + "end": 38096, "loc": { "start": { - "line": 966, + "line": 967, "column": 77 }, "end": { - "line": 966, + "line": 967, "column": 85 }, "identifierName": "entityId" @@ -110963,15 +111129,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 37446, - "end": 37483, + "start": 38099, + "end": 38136, "loc": { "start": { - "line": 966, + "line": 967, "column": 88 }, "end": { - "line": 966, + "line": 967, "column": 125 } }, @@ -110985,15 +111151,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 37486, - "end": 37494, + "start": 38139, + "end": 38147, "loc": { "start": { - "line": 966, + "line": 967, "column": 128 }, "end": { - "line": 966, + "line": 967, "column": 136 }, "identifierName": "entityId" @@ -111011,44 +111177,44 @@ }, { "type": "VariableDeclaration", - "start": 37516, - "end": 37547, + "start": 38169, + "end": 38200, "loc": { "start": { - "line": 969, + "line": 970, "column": 8 }, "end": { - "line": 969, + "line": 970, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37522, - "end": 37546, + "start": 38175, + "end": 38199, "loc": { "start": { - "line": 969, + "line": 970, "column": 14 }, "end": { - "line": 969, + "line": 970, "column": 38 } }, "id": { "type": "Identifier", - "start": 37522, - "end": 37529, + "start": 38175, + "end": 38182, "loc": { "start": { - "line": 969, + "line": 970, "column": 14 }, "end": { - "line": 969, + "line": 970, "column": 21 }, "identifierName": "meshIds" @@ -111057,29 +111223,29 @@ }, "init": { "type": "MemberExpression", - "start": 37532, - "end": 37546, + "start": 38185, + "end": 38199, "loc": { "start": { - "line": 969, + "line": 970, "column": 24 }, "end": { - "line": 969, + "line": 970, "column": 38 } }, "object": { "type": "Identifier", - "start": 37532, - "end": 37538, + "start": 38185, + "end": 38191, "loc": { "start": { - "line": 969, + "line": 970, "column": 24 }, "end": { - "line": 969, + "line": 970, "column": 30 }, "identifierName": "params" @@ -111088,15 +111254,15 @@ }, "property": { "type": "Identifier", - "start": 37539, - "end": 37546, + "start": 38192, + "end": 38199, "loc": { "start": { - "line": 969, + "line": 970, "column": 31 }, "end": { - "line": 969, + "line": 970, "column": 38 }, "identifierName": "meshIds" @@ -111111,44 +111277,44 @@ }, { "type": "VariableDeclaration", - "start": 37556, - "end": 37574, + "start": 38209, + "end": 38227, "loc": { "start": { - "line": 970, + "line": 971, "column": 8 }, "end": { - "line": 970, + "line": 971, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37562, - "end": 37573, + "start": 38215, + "end": 38226, "loc": { "start": { - "line": 970, + "line": 971, "column": 14 }, "end": { - "line": 970, + "line": 971, "column": 25 } }, "id": { "type": "Identifier", - "start": 37562, - "end": 37568, + "start": 38215, + "end": 38221, "loc": { "start": { - "line": 970, + "line": 971, "column": 14 }, "end": { - "line": 970, + "line": 971, "column": 20 }, "identifierName": "meshes" @@ -111157,15 +111323,15 @@ }, "init": { "type": "ArrayExpression", - "start": 37571, - "end": 37573, + "start": 38224, + "end": 38226, "loc": { "start": { - "line": 970, + "line": 971, "column": 23 }, "end": { - "line": 970, + "line": 971, "column": 25 } }, @@ -111177,58 +111343,58 @@ }, { "type": "ForStatement", - "start": 37584, - "end": 38113, + "start": 38237, + "end": 38766, "loc": { "start": { - "line": 972, + "line": 973, "column": 8 }, "end": { - "line": 988, + "line": 989, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 37589, - "end": 37634, + "start": 38242, + "end": 38287, "loc": { "start": { - "line": 972, + "line": 973, "column": 13 }, "end": { - "line": 972, + "line": 973, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37593, - "end": 37606, + "start": 38246, + "end": 38259, "loc": { "start": { - "line": 972, + "line": 973, "column": 17 }, "end": { - "line": 972, + "line": 973, "column": 30 } }, "id": { "type": "Identifier", - "start": 37593, - "end": 37602, + "start": 38246, + "end": 38255, "loc": { "start": { - "line": 972, + "line": 973, "column": 17 }, "end": { - "line": 972, + "line": 973, "column": 26 }, "identifierName": "meshIdIdx" @@ -111237,15 +111403,15 @@ }, "init": { "type": "NumericLiteral", - "start": 37605, - "end": 37606, + "start": 38258, + "end": 38259, "loc": { "start": { - "line": 972, + "line": 973, "column": 29 }, "end": { - "line": 972, + "line": 973, "column": 30 } }, @@ -111258,29 +111424,29 @@ }, { "type": "VariableDeclarator", - "start": 37608, - "end": 37634, + "start": 38261, + "end": 38287, "loc": { "start": { - "line": 972, + "line": 973, "column": 32 }, "end": { - "line": 972, + "line": 973, "column": 58 } }, "id": { "type": "Identifier", - "start": 37608, - "end": 37617, + "start": 38261, + "end": 38270, "loc": { "start": { - "line": 972, + "line": 973, "column": 32 }, "end": { - "line": 972, + "line": 973, "column": 41 }, "identifierName": "meshIdLen" @@ -111289,29 +111455,29 @@ }, "init": { "type": "MemberExpression", - "start": 37620, - "end": 37634, + "start": 38273, + "end": 38287, "loc": { "start": { - "line": 972, + "line": 973, "column": 44 }, "end": { - "line": 972, + "line": 973, "column": 58 } }, "object": { "type": "Identifier", - "start": 37620, - "end": 37627, + "start": 38273, + "end": 38280, "loc": { "start": { - "line": 972, + "line": 973, "column": 44 }, "end": { - "line": 972, + "line": 973, "column": 51 }, "identifierName": "meshIds" @@ -111320,15 +111486,15 @@ }, "property": { "type": "Identifier", - "start": 37628, - "end": 37634, + "start": 38281, + "end": 38287, "loc": { "start": { - "line": 972, + "line": 973, "column": 52 }, "end": { - "line": 972, + "line": 973, "column": 58 }, "identifierName": "length" @@ -111343,29 +111509,29 @@ }, "test": { "type": "BinaryExpression", - "start": 37636, - "end": 37657, + "start": 38289, + "end": 38310, "loc": { "start": { - "line": 972, + "line": 973, "column": 60 }, "end": { - "line": 972, + "line": 973, "column": 81 } }, "left": { "type": "Identifier", - "start": 37636, - "end": 37645, + "start": 38289, + "end": 38298, "loc": { "start": { - "line": 972, + "line": 973, "column": 60 }, "end": { - "line": 972, + "line": 973, "column": 69 }, "identifierName": "meshIdIdx" @@ -111375,15 +111541,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 37648, - "end": 37657, + "start": 38301, + "end": 38310, "loc": { "start": { - "line": 972, + "line": 973, "column": 72 }, "end": { - "line": 972, + "line": 973, "column": 81 }, "identifierName": "meshIdLen" @@ -111393,15 +111559,15 @@ }, "update": { "type": "UpdateExpression", - "start": 37659, - "end": 37670, + "start": 38312, + "end": 38323, "loc": { "start": { - "line": 972, + "line": 973, "column": 83 }, "end": { - "line": 972, + "line": 973, "column": 94 } }, @@ -111409,15 +111575,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 37659, - "end": 37668, + "start": 38312, + "end": 38321, "loc": { "start": { - "line": 972, + "line": 973, "column": 83 }, "end": { - "line": 972, + "line": 973, "column": 92 }, "identifierName": "meshIdIdx" @@ -111427,59 +111593,59 @@ }, "body": { "type": "BlockStatement", - "start": 37672, - "end": 38113, + "start": 38325, + "end": 38766, "loc": { "start": { - "line": 972, + "line": 973, "column": 96 }, "end": { - "line": 988, + "line": 989, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 37687, - "end": 37721, + "start": 38340, + "end": 38374, "loc": { "start": { - "line": 974, + "line": 975, "column": 12 }, "end": { - "line": 974, + "line": 975, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37693, - "end": 37720, + "start": 38346, + "end": 38373, "loc": { "start": { - "line": 974, + "line": 975, "column": 18 }, "end": { - "line": 974, + "line": 975, "column": 45 } }, "id": { "type": "Identifier", - "start": 37693, - "end": 37699, + "start": 38346, + "end": 38352, "loc": { "start": { - "line": 974, + "line": 975, "column": 18 }, "end": { - "line": 974, + "line": 975, "column": 24 }, "identifierName": "meshId" @@ -111488,29 +111654,29 @@ }, "init": { "type": "MemberExpression", - "start": 37702, - "end": 37720, + "start": 38355, + "end": 38373, "loc": { "start": { - "line": 974, + "line": 975, "column": 27 }, "end": { - "line": 974, + "line": 975, "column": 45 } }, "object": { "type": "Identifier", - "start": 37702, - "end": 37709, + "start": 38355, + "end": 38362, "loc": { "start": { - "line": 974, + "line": 975, "column": 27 }, "end": { - "line": 974, + "line": 975, "column": 34 }, "identifierName": "meshIds" @@ -111519,15 +111685,15 @@ }, "property": { "type": "Identifier", - "start": 37710, - "end": 37719, + "start": 38363, + "end": 38372, "loc": { "start": { - "line": 974, + "line": 975, "column": 35 }, "end": { - "line": 974, + "line": 975, "column": 44 }, "identifierName": "meshIdIdx" @@ -111542,44 +111708,44 @@ }, { "type": "VariableDeclaration", - "start": 37734, - "end": 37767, + "start": 38387, + "end": 38420, "loc": { "start": { - "line": 975, + "line": 976, "column": 12 }, "end": { - "line": 975, + "line": 976, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 37740, - "end": 37766, + "start": 38393, + "end": 38419, "loc": { "start": { - "line": 975, + "line": 976, "column": 18 }, "end": { - "line": 975, + "line": 976, "column": 44 } }, "id": { "type": "Identifier", - "start": 37740, - "end": 37744, + "start": 38393, + "end": 38397, "loc": { "start": { - "line": 975, + "line": 976, "column": 18 }, "end": { - "line": 975, + "line": 976, "column": 22 }, "identifierName": "mesh" @@ -111588,58 +111754,58 @@ }, "init": { "type": "MemberExpression", - "start": 37747, - "end": 37766, + "start": 38400, + "end": 38419, "loc": { "start": { - "line": 975, + "line": 976, "column": 25 }, "end": { - "line": 975, + "line": 976, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 37747, - "end": 37758, + "start": 38400, + "end": 38411, "loc": { "start": { - "line": 975, + "line": 976, "column": 25 }, "end": { - "line": 975, + "line": 976, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 37747, - "end": 37751, + "start": 38400, + "end": 38404, "loc": { "start": { - "line": 975, + "line": 976, "column": 25 }, "end": { - "line": 975, + "line": 976, "column": 29 } } }, "property": { "type": "Identifier", - "start": 37752, - "end": 37758, + "start": 38405, + "end": 38411, "loc": { "start": { - "line": 975, + "line": 976, "column": 30 }, "end": { - "line": 975, + "line": 976, "column": 36 }, "identifierName": "meshes" @@ -111650,15 +111816,15 @@ }, "property": { "type": "Identifier", - "start": 37759, - "end": 37765, + "start": 38412, + "end": 38418, "loc": { "start": { - "line": 975, + "line": 976, "column": 37 }, "end": { - "line": 975, + "line": 976, "column": 43 }, "identifierName": "meshId" @@ -111673,29 +111839,29 @@ }, { "type": "IfStatement", - "start": 37781, - "end": 37892, + "start": 38434, + "end": 38545, "loc": { "start": { - "line": 977, + "line": 978, "column": 12 }, "end": { - "line": 980, + "line": 981, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 37785, - "end": 37790, + "start": 38438, + "end": 38443, "loc": { "start": { - "line": 977, + "line": 978, "column": 16 }, "end": { - "line": 977, + "line": 978, "column": 21 } }, @@ -111703,15 +111869,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 37786, - "end": 37790, + "start": 38439, + "end": 38443, "loc": { "start": { - "line": 977, + "line": 978, "column": 17 }, "end": { - "line": 977, + "line": 978, "column": 21 }, "identifierName": "mesh" @@ -111724,72 +111890,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 37792, - "end": 37892, + "start": 38445, + "end": 38545, "loc": { "start": { - "line": 977, + "line": 978, "column": 23 }, "end": { - "line": 980, + "line": 981, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 37810, - "end": 37852, + "start": 38463, + "end": 38505, "loc": { "start": { - "line": 978, + "line": 979, "column": 16 }, "end": { - "line": 978, + "line": 979, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 37810, - "end": 37851, + "start": 38463, + "end": 38504, "loc": { "start": { - "line": 978, + "line": 979, "column": 16 }, "end": { - "line": 978, + "line": 979, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 37810, - "end": 37823, + "start": 38463, + "end": 38476, "loc": { "start": { - "line": 978, + "line": 979, "column": 16 }, "end": { - "line": 978, + "line": 979, "column": 29 } }, "object": { "type": "Identifier", - "start": 37810, - "end": 37817, + "start": 38463, + "end": 38470, "loc": { "start": { - "line": 978, + "line": 979, "column": 16 }, "end": { - "line": 978, + "line": 979, "column": 23 }, "identifierName": "console" @@ -111798,15 +111964,15 @@ }, "property": { "type": "Identifier", - "start": 37818, - "end": 37823, + "start": 38471, + "end": 38476, "loc": { "start": { - "line": 978, + "line": 979, "column": 24 }, "end": { - "line": 978, + "line": 979, "column": 29 }, "identifierName": "error" @@ -111818,29 +111984,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 37824, - "end": 37850, + "start": 38477, + "end": 38503, "loc": { "start": { - "line": 978, + "line": 979, "column": 30 }, "end": { - "line": 978, + "line": 979, "column": 56 } }, "left": { "type": "StringLiteral", - "start": 37824, - "end": 37841, + "start": 38477, + "end": 38494, "loc": { "start": { - "line": 978, + "line": 979, "column": 30 }, "end": { - "line": 978, + "line": 979, "column": 47 } }, @@ -111853,15 +112019,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 37844, - "end": 37850, + "start": 38497, + "end": 38503, "loc": { "start": { - "line": 978, + "line": 979, "column": 50 }, "end": { - "line": 978, + "line": 979, "column": 56 }, "identifierName": "meshId" @@ -111874,15 +112040,15 @@ }, { "type": "ContinueStatement", - "start": 37869, - "end": 37878, + "start": 38522, + "end": 38531, "loc": { "start": { - "line": 979, + "line": 980, "column": 16 }, "end": { - "line": 979, + "line": 980, "column": 25 } }, @@ -111895,43 +112061,43 @@ }, { "type": "IfStatement", - "start": 37906, - "end": 38071, + "start": 38559, + "end": 38724, "loc": { "start": { - "line": 982, + "line": 983, "column": 12 }, "end": { - "line": 985, + "line": 986, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 37910, - "end": 37921, + "start": 38563, + "end": 38574, "loc": { "start": { - "line": 982, + "line": 983, "column": 16 }, "end": { - "line": 982, + "line": 983, "column": 27 } }, "object": { "type": "Identifier", - "start": 37910, - "end": 37914, + "start": 38563, + "end": 38567, "loc": { "start": { - "line": 982, + "line": 983, "column": 16 }, "end": { - "line": 982, + "line": 983, "column": 20 }, "identifierName": "mesh" @@ -111940,15 +112106,15 @@ }, "property": { "type": "Identifier", - "start": 37915, - "end": 37921, + "start": 38568, + "end": 38574, "loc": { "start": { - "line": 982, + "line": 983, "column": 21 }, "end": { - "line": 982, + "line": 983, "column": 27 }, "identifierName": "entity" @@ -111959,72 +112125,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 37923, - "end": 38071, + "start": 38576, + "end": 38724, "loc": { "start": { - "line": 982, + "line": 983, "column": 29 }, "end": { - "line": 985, + "line": 986, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 37941, - "end": 38031, + "start": 38594, + "end": 38684, "loc": { "start": { - "line": 983, + "line": 984, "column": 16 }, "end": { - "line": 983, + "line": 984, "column": 106 } }, "expression": { "type": "CallExpression", - "start": 37941, - "end": 38030, + "start": 38594, + "end": 38683, "loc": { "start": { - "line": 983, + "line": 984, "column": 16 }, "end": { - "line": 983, + "line": 984, "column": 105 } }, "callee": { "type": "MemberExpression", - "start": 37941, - "end": 37954, + "start": 38594, + "end": 38607, "loc": { "start": { - "line": 983, + "line": 984, "column": 16 }, "end": { - "line": 983, + "line": 984, "column": 29 } }, "object": { "type": "Identifier", - "start": 37941, - "end": 37948, + "start": 38594, + "end": 38601, "loc": { "start": { - "line": 983, + "line": 984, "column": 16 }, "end": { - "line": 983, + "line": 984, "column": 23 }, "identifierName": "console" @@ -112033,15 +112199,15 @@ }, "property": { "type": "Identifier", - "start": 37949, - "end": 37954, + "start": 38602, + "end": 38607, "loc": { "start": { - "line": 983, + "line": 984, "column": 24 }, "end": { - "line": 983, + "line": 984, "column": 29 }, "identifierName": "error" @@ -112053,57 +112219,57 @@ "arguments": [ { "type": "BinaryExpression", - "start": 37955, - "end": 38029, + "start": 38608, + "end": 38682, "loc": { "start": { - "line": 983, + "line": 984, "column": 30 }, "end": { - "line": 983, + "line": 984, "column": 104 } }, "left": { "type": "BinaryExpression", - "start": 37955, - "end": 38006, + "start": 38608, + "end": 38659, "loc": { "start": { - "line": 983, + "line": 984, "column": 30 }, "end": { - "line": 983, + "line": 984, "column": 81 } }, "left": { "type": "BinaryExpression", - "start": 37955, - "end": 37974, + "start": 38608, + "end": 38627, "loc": { "start": { - "line": 983, + "line": 984, "column": 30 }, "end": { - "line": 983, + "line": 984, "column": 49 } }, "left": { "type": "StringLiteral", - "start": 37955, - "end": 37965, + "start": 38608, + "end": 38618, "loc": { "start": { - "line": 983, + "line": 984, "column": 30 }, "end": { - "line": 983, + "line": 984, "column": 40 } }, @@ -112116,15 +112282,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 37968, - "end": 37974, + "start": 38621, + "end": 38627, "loc": { "start": { - "line": 983, + "line": 984, "column": 43 }, "end": { - "line": 983, + "line": 984, "column": 49 }, "identifierName": "meshId" @@ -112135,15 +112301,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 37977, - "end": 38006, + "start": 38630, + "end": 38659, "loc": { "start": { - "line": 983, + "line": 984, "column": 52 }, "end": { - "line": 983, + "line": 984, "column": 81 } }, @@ -112157,43 +112323,43 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 38009, - "end": 38029, + "start": 38662, + "end": 38682, "loc": { "start": { - "line": 983, + "line": 984, "column": 84 }, "end": { - "line": 983, + "line": 984, "column": 104 } }, "object": { "type": "MemberExpression", - "start": 38009, - "end": 38020, + "start": 38662, + "end": 38673, "loc": { "start": { - "line": 983, + "line": 984, "column": 84 }, "end": { - "line": 983, + "line": 984, "column": 95 } }, "object": { "type": "Identifier", - "start": 38009, - "end": 38013, + "start": 38662, + "end": 38666, "loc": { "start": { - "line": 983, + "line": 984, "column": 84 }, "end": { - "line": 983, + "line": 984, "column": 88 }, "identifierName": "mesh" @@ -112202,15 +112368,15 @@ }, "property": { "type": "Identifier", - "start": 38014, - "end": 38020, + "start": 38667, + "end": 38673, "loc": { "start": { - "line": 983, + "line": 984, "column": 89 }, "end": { - "line": 983, + "line": 984, "column": 95 }, "identifierName": "entity" @@ -112221,15 +112387,15 @@ }, "property": { "type": "Identifier", - "start": 38021, - "end": 38029, + "start": 38674, + "end": 38682, "loc": { "start": { - "line": 983, + "line": 984, "column": 96 }, "end": { - "line": 983, + "line": 984, "column": 104 }, "identifierName": "entityId" @@ -112244,15 +112410,15 @@ }, { "type": "ContinueStatement", - "start": 38048, - "end": 38057, + "start": 38701, + "end": 38710, "loc": { "start": { - "line": 984, + "line": 985, "column": 16 }, "end": { - "line": 984, + "line": 985, "column": 25 } }, @@ -112265,57 +112431,57 @@ }, { "type": "ExpressionStatement", - "start": 38085, - "end": 38103, + "start": 38738, + "end": 38756, "loc": { "start": { - "line": 987, + "line": 988, "column": 12 }, "end": { - "line": 987, + "line": 988, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 38085, - "end": 38102, + "start": 38738, + "end": 38755, "loc": { "start": { - "line": 987, + "line": 988, "column": 12 }, "end": { - "line": 987, + "line": 988, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 38085, - "end": 38096, + "start": 38738, + "end": 38749, "loc": { "start": { - "line": 987, + "line": 988, "column": 12 }, "end": { - "line": 987, + "line": 988, "column": 23 } }, "object": { "type": "Identifier", - "start": 38085, - "end": 38091, + "start": 38738, + "end": 38744, "loc": { "start": { - "line": 987, + "line": 988, "column": 12 }, "end": { - "line": 987, + "line": 988, "column": 18 }, "identifierName": "meshes" @@ -112324,15 +112490,15 @@ }, "property": { "type": "Identifier", - "start": 38092, - "end": 38096, + "start": 38745, + "end": 38749, "loc": { "start": { - "line": 987, + "line": 988, "column": 19 }, "end": { - "line": 987, + "line": 988, "column": 23 }, "identifierName": "push" @@ -112344,15 +112510,15 @@ "arguments": [ { "type": "Identifier", - "start": 38097, - "end": 38101, + "start": 38750, + "end": 38754, "loc": { "start": { - "line": 987, + "line": 988, "column": 24 }, "end": { - "line": 987, + "line": 988, "column": 28 }, "identifierName": "mesh" @@ -112368,44 +112534,44 @@ }, { "type": "VariableDeclaration", - "start": 38123, - "end": 38170, + "start": 38776, + "end": 38823, "loc": { "start": { - "line": 990, + "line": 991, "column": 8 }, "end": { - "line": 990, + "line": 991, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38129, - "end": 38169, + "start": 38782, + "end": 38822, "loc": { "start": { - "line": 990, + "line": 991, "column": 14 }, "end": { - "line": 990, + "line": 991, "column": 54 } }, "id": { "type": "Identifier", - "start": 38129, - "end": 38135, + "start": 38782, + "end": 38788, "loc": { "start": { - "line": 990, + "line": 991, "column": 14 }, "end": { - "line": 990, + "line": 991, "column": 20 }, "identifierName": "entity" @@ -112414,29 +112580,29 @@ }, "init": { "type": "NewExpression", - "start": 38138, - "end": 38169, + "start": 38791, + "end": 38822, "loc": { "start": { - "line": 990, + "line": 991, "column": 23 }, "end": { - "line": 990, + "line": 991, "column": 54 } }, "callee": { "type": "Identifier", - "start": 38142, - "end": 38151, + "start": 38795, + "end": 38804, "loc": { "start": { - "line": 990, + "line": 991, "column": 27 }, "end": { - "line": 990, + "line": 991, "column": 36 }, "identifierName": "XKTEntity" @@ -112446,15 +112612,15 @@ "arguments": [ { "type": "Identifier", - "start": 38152, - "end": 38160, + "start": 38805, + "end": 38813, "loc": { "start": { - "line": 990, + "line": 991, "column": 37 }, "end": { - "line": 990, + "line": 991, "column": 45 }, "identifierName": "entityId" @@ -112463,15 +112629,15 @@ }, { "type": "Identifier", - "start": 38162, - "end": 38168, + "start": 38815, + "end": 38821, "loc": { "start": { - "line": 990, + "line": 991, "column": 47 }, "end": { - "line": 990, + "line": 991, "column": 53 }, "identifierName": "meshes" @@ -112486,58 +112652,58 @@ }, { "type": "ForStatement", - "start": 38180, - "end": 38312, + "start": 38833, + "end": 38965, "loc": { "start": { - "line": 992, + "line": 993, "column": 8 }, "end": { - "line": 995, + "line": 996, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 38185, - "end": 38215, + "start": 38838, + "end": 38868, "loc": { "start": { - "line": 992, + "line": 993, "column": 13 }, "end": { - "line": 992, + "line": 993, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38189, - "end": 38194, + "start": 38842, + "end": 38847, "loc": { "start": { - "line": 992, + "line": 993, "column": 17 }, "end": { - "line": 992, + "line": 993, "column": 22 } }, "id": { "type": "Identifier", - "start": 38189, - "end": 38190, + "start": 38842, + "end": 38843, "loc": { "start": { - "line": 992, + "line": 993, "column": 17 }, "end": { - "line": 992, + "line": 993, "column": 18 }, "identifierName": "i" @@ -112546,15 +112712,15 @@ }, "init": { "type": "NumericLiteral", - "start": 38193, - "end": 38194, + "start": 38846, + "end": 38847, "loc": { "start": { - "line": 992, + "line": 993, "column": 21 }, "end": { - "line": 992, + "line": 993, "column": 22 } }, @@ -112567,29 +112733,29 @@ }, { "type": "VariableDeclarator", - "start": 38196, - "end": 38215, + "start": 38849, + "end": 38868, "loc": { "start": { - "line": 992, + "line": 993, "column": 24 }, "end": { - "line": 992, + "line": 993, "column": 43 } }, "id": { "type": "Identifier", - "start": 38196, - "end": 38199, + "start": 38849, + "end": 38852, "loc": { "start": { - "line": 992, + "line": 993, "column": 24 }, "end": { - "line": 992, + "line": 993, "column": 27 }, "identifierName": "len" @@ -112598,29 +112764,29 @@ }, "init": { "type": "MemberExpression", - "start": 38202, - "end": 38215, + "start": 38855, + "end": 38868, "loc": { "start": { - "line": 992, + "line": 993, "column": 30 }, "end": { - "line": 992, + "line": 993, "column": 43 } }, "object": { "type": "Identifier", - "start": 38202, - "end": 38208, + "start": 38855, + "end": 38861, "loc": { "start": { - "line": 992, + "line": 993, "column": 30 }, "end": { - "line": 992, + "line": 993, "column": 36 }, "identifierName": "meshes" @@ -112629,15 +112795,15 @@ }, "property": { "type": "Identifier", - "start": 38209, - "end": 38215, + "start": 38862, + "end": 38868, "loc": { "start": { - "line": 992, + "line": 993, "column": 37 }, "end": { - "line": 992, + "line": 993, "column": 43 }, "identifierName": "length" @@ -112652,29 +112818,29 @@ }, "test": { "type": "BinaryExpression", - "start": 38217, - "end": 38224, + "start": 38870, + "end": 38877, "loc": { "start": { - "line": 992, + "line": 993, "column": 45 }, "end": { - "line": 992, + "line": 993, "column": 52 } }, "left": { "type": "Identifier", - "start": 38217, - "end": 38218, + "start": 38870, + "end": 38871, "loc": { "start": { - "line": 992, + "line": 993, "column": 45 }, "end": { - "line": 992, + "line": 993, "column": 46 }, "identifierName": "i" @@ -112684,15 +112850,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 38221, - "end": 38224, + "start": 38874, + "end": 38877, "loc": { "start": { - "line": 992, + "line": 993, "column": 49 }, "end": { - "line": 992, + "line": 993, "column": 52 }, "identifierName": "len" @@ -112702,15 +112868,15 @@ }, "update": { "type": "UpdateExpression", - "start": 38226, - "end": 38229, + "start": 38879, + "end": 38882, "loc": { "start": { - "line": 992, + "line": 993, "column": 54 }, "end": { - "line": 992, + "line": 993, "column": 57 } }, @@ -112718,15 +112884,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 38226, - "end": 38227, + "start": 38879, + "end": 38880, "loc": { "start": { - "line": 992, + "line": 993, "column": 54 }, "end": { - "line": 992, + "line": 993, "column": 55 }, "identifierName": "i" @@ -112736,59 +112902,59 @@ }, "body": { "type": "BlockStatement", - "start": 38231, - "end": 38312, + "start": 38884, + "end": 38965, "loc": { "start": { - "line": 992, + "line": 993, "column": 59 }, "end": { - "line": 995, + "line": 996, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 38245, - "end": 38268, + "start": 38898, + "end": 38921, "loc": { "start": { - "line": 993, + "line": 994, "column": 12 }, "end": { - "line": 993, + "line": 994, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38251, - "end": 38267, + "start": 38904, + "end": 38920, "loc": { "start": { - "line": 993, + "line": 994, "column": 18 }, "end": { - "line": 993, + "line": 994, "column": 34 } }, "id": { "type": "Identifier", - "start": 38251, - "end": 38255, + "start": 38904, + "end": 38908, "loc": { "start": { - "line": 993, + "line": 994, "column": 18 }, "end": { - "line": 993, + "line": 994, "column": 22 }, "identifierName": "mesh" @@ -112797,29 +112963,29 @@ }, "init": { "type": "MemberExpression", - "start": 38258, - "end": 38267, + "start": 38911, + "end": 38920, "loc": { "start": { - "line": 993, + "line": 994, "column": 25 }, "end": { - "line": 993, + "line": 994, "column": 34 } }, "object": { "type": "Identifier", - "start": 38258, - "end": 38264, + "start": 38911, + "end": 38917, "loc": { "start": { - "line": 993, + "line": 994, "column": 25 }, "end": { - "line": 993, + "line": 994, "column": 31 }, "identifierName": "meshes" @@ -112828,15 +112994,15 @@ }, "property": { "type": "Identifier", - "start": 38265, - "end": 38266, + "start": 38918, + "end": 38919, "loc": { "start": { - "line": 993, + "line": 994, "column": 32 }, "end": { - "line": 993, + "line": 994, "column": 33 }, "identifierName": "i" @@ -112851,58 +113017,58 @@ }, { "type": "ExpressionStatement", - "start": 38281, - "end": 38302, + "start": 38934, + "end": 38955, "loc": { "start": { - "line": 994, + "line": 995, "column": 12 }, "end": { - "line": 994, + "line": 995, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 38281, - "end": 38301, + "start": 38934, + "end": 38954, "loc": { "start": { - "line": 994, + "line": 995, "column": 12 }, "end": { - "line": 994, + "line": 995, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 38281, - "end": 38292, + "start": 38934, + "end": 38945, "loc": { "start": { - "line": 994, + "line": 995, "column": 12 }, "end": { - "line": 994, + "line": 995, "column": 23 } }, "object": { "type": "Identifier", - "start": 38281, - "end": 38285, + "start": 38934, + "end": 38938, "loc": { "start": { - "line": 994, + "line": 995, "column": 12 }, "end": { - "line": 994, + "line": 995, "column": 16 }, "identifierName": "mesh" @@ -112911,15 +113077,15 @@ }, "property": { "type": "Identifier", - "start": 38286, - "end": 38292, + "start": 38939, + "end": 38945, "loc": { "start": { - "line": 994, + "line": 995, "column": 17 }, "end": { - "line": 994, + "line": 995, "column": 23 }, "identifierName": "entity" @@ -112930,15 +113096,15 @@ }, "right": { "type": "Identifier", - "start": 38295, - "end": 38301, + "start": 38948, + "end": 38954, "loc": { "start": { - "line": 994, + "line": 995, "column": 26 }, "end": { - "line": 994, + "line": 995, "column": 32 }, "identifierName": "entity" @@ -112953,87 +113119,87 @@ }, { "type": "ExpressionStatement", - "start": 38322, - "end": 38355, + "start": 38975, + "end": 39008, "loc": { "start": { - "line": 997, + "line": 998, "column": 8 }, "end": { - "line": 997, + "line": 998, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 38322, - "end": 38354, + "start": 38975, + "end": 39007, "loc": { "start": { - "line": 997, + "line": 998, "column": 8 }, "end": { - "line": 997, + "line": 998, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 38322, - "end": 38345, + "start": 38975, + "end": 38998, "loc": { "start": { - "line": 997, + "line": 998, "column": 8 }, "end": { - "line": 997, + "line": 998, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 38322, - "end": 38335, + "start": 38975, + "end": 38988, "loc": { "start": { - "line": 997, + "line": 998, "column": 8 }, "end": { - "line": 997, + "line": 998, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 38322, - "end": 38326, + "start": 38975, + "end": 38979, "loc": { "start": { - "line": 997, + "line": 998, "column": 8 }, "end": { - "line": 997, + "line": 998, "column": 12 } } }, "property": { "type": "Identifier", - "start": 38327, - "end": 38335, + "start": 38980, + "end": 38988, "loc": { "start": { - "line": 997, + "line": 998, "column": 13 }, "end": { - "line": 997, + "line": 998, "column": 21 }, "identifierName": "entities" @@ -113044,15 +113210,15 @@ }, "property": { "type": "Identifier", - "start": 38336, - "end": 38344, + "start": 38989, + "end": 38997, "loc": { "start": { - "line": 997, + "line": 998, "column": 22 }, "end": { - "line": 997, + "line": 998, "column": 30 }, "identifierName": "entityId" @@ -113063,15 +113229,15 @@ }, "right": { "type": "Identifier", - "start": 38348, - "end": 38354, + "start": 39001, + "end": 39007, "loc": { "start": { - "line": 997, + "line": 998, "column": 34 }, "end": { - "line": 997, + "line": 998, "column": 40 }, "identifierName": "entity" @@ -113082,86 +113248,86 @@ }, { "type": "ExpressionStatement", - "start": 38364, - "end": 38395, + "start": 39017, + "end": 39048, "loc": { "start": { - "line": 998, + "line": 999, "column": 8 }, "end": { - "line": 998, + "line": 999, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 38364, - "end": 38394, + "start": 39017, + "end": 39047, "loc": { "start": { - "line": 998, + "line": 999, "column": 8 }, "end": { - "line": 998, + "line": 999, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 38364, - "end": 38386, + "start": 39017, + "end": 39039, "loc": { "start": { - "line": 998, + "line": 999, "column": 8 }, "end": { - "line": 998, + "line": 999, "column": 30 } }, "object": { "type": "MemberExpression", - "start": 38364, - "end": 38381, + "start": 39017, + "end": 39034, "loc": { "start": { - "line": 998, + "line": 999, "column": 8 }, "end": { - "line": 998, + "line": 999, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 38364, - "end": 38368, + "start": 39017, + "end": 39021, "loc": { "start": { - "line": 998, + "line": 999, "column": 8 }, "end": { - "line": 998, + "line": 999, "column": 12 } } }, "property": { "type": "Identifier", - "start": 38369, - "end": 38381, + "start": 39022, + "end": 39034, "loc": { "start": { - "line": 998, + "line": 999, "column": 13 }, "end": { - "line": 998, + "line": 999, "column": 25 }, "identifierName": "entitiesList" @@ -113172,15 +113338,15 @@ }, "property": { "type": "Identifier", - "start": 38382, - "end": 38386, + "start": 39035, + "end": 39039, "loc": { "start": { - "line": 998, + "line": 999, "column": 26 }, "end": { - "line": 998, + "line": 999, "column": 30 }, "identifierName": "push" @@ -113192,15 +113358,15 @@ "arguments": [ { "type": "Identifier", - "start": 38387, - "end": 38393, + "start": 39040, + "end": 39046, "loc": { "start": { - "line": 998, + "line": 999, "column": 31 }, "end": { - "line": 998, + "line": 999, "column": 37 }, "identifierName": "entity" @@ -113212,29 +113378,29 @@ }, { "type": "ReturnStatement", - "start": 38405, - "end": 38419, + "start": 39058, + "end": 39072, "loc": { "start": { - "line": 1000, + "line": 1001, "column": 8 }, "end": { - "line": 1000, + "line": 1001, "column": 22 } }, "argument": { "type": "Identifier", - "start": 38412, - "end": 38418, + "start": 39065, + "end": 39071, "loc": { "start": { - "line": 1000, + "line": 1001, "column": 15 }, "end": { - "line": 1000, + "line": 1001, "column": 21 }, "identifierName": "entity" @@ -113250,15 +113416,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTEntity} within this XKTModel.\n *\n * Registers the new {@link XKTEntity} in {@link XKTModel#entities} and {@link XKTModel#entitiesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.entityId Unique ID for the {@link XKTEntity}.\n * @param {String[]} params.meshIds IDs of {@link XKTMesh}es used by the {@link XKTEntity}. Note that each {@link XKTMesh} can only be used by one {@link XKTEntity}.\n * @returns {XKTEntity} The new {@link XKTEntity}.\n ", - "start": 35868, - "end": 36515, + "start": 36449, + "end": 37096, "loc": { "start": { - "line": 924, + "line": 925, "column": 4 }, "end": { - "line": 935, + "line": 936, "column": 7 } } @@ -113268,15 +113434,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a default {@link XKTMetaObject} for each {@link XKTEntity} that does not already have one.\n ", - "start": 38431, - "end": 38548, + "start": 39084, + "end": 39201, "loc": { "start": { - "line": 1003, + "line": 1004, "column": 4 }, "end": { - "line": 1005, + "line": 1006, "column": 7 } } @@ -113285,15 +113451,15 @@ }, { "type": "ClassMethod", - "start": 38553, - "end": 39475, + "start": 39206, + "end": 40128, "loc": { "start": { - "line": 1006, + "line": 1007, "column": 4 }, "end": { - "line": 1032, + "line": 1033, "column": 5 } }, @@ -113301,15 +113467,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 38553, - "end": 38577, + "start": 39206, + "end": 39230, "loc": { "start": { - "line": 1006, + "line": 1007, "column": 4 }, "end": { - "line": 1006, + "line": 1007, "column": 28 }, "identifierName": "createDefaultMetaObjects" @@ -113325,73 +113491,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 38580, - "end": 39475, + "start": 39233, + "end": 40128, "loc": { "start": { - "line": 1006, + "line": 1007, "column": 31 }, "end": { - "line": 1032, + "line": 1033, "column": 5 } }, "body": [ { "type": "ForStatement", - "start": 38591, - "end": 39469, + "start": 39244, + "end": 40122, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 8 }, "end": { - "line": 1031, + "line": 1032, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 38596, - "end": 38637, + "start": 39249, + "end": 39290, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 13 }, "end": { - "line": 1008, + "line": 1009, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38600, - "end": 38605, + "start": 39253, + "end": 39258, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 17 }, "end": { - "line": 1008, + "line": 1009, "column": 22 } }, "id": { "type": "Identifier", - "start": 38600, - "end": 38601, + "start": 39253, + "end": 39254, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 17 }, "end": { - "line": 1008, + "line": 1009, "column": 18 }, "identifierName": "i" @@ -113400,15 +113566,15 @@ }, "init": { "type": "NumericLiteral", - "start": 38604, - "end": 38605, + "start": 39257, + "end": 39258, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 21 }, "end": { - "line": 1008, + "line": 1009, "column": 22 } }, @@ -113421,29 +113587,29 @@ }, { "type": "VariableDeclarator", - "start": 38607, - "end": 38637, + "start": 39260, + "end": 39290, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 24 }, "end": { - "line": 1008, + "line": 1009, "column": 54 } }, "id": { "type": "Identifier", - "start": 38607, - "end": 38610, + "start": 39260, + "end": 39263, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 24 }, "end": { - "line": 1008, + "line": 1009, "column": 27 }, "identifierName": "len" @@ -113452,58 +113618,58 @@ }, "init": { "type": "MemberExpression", - "start": 38613, - "end": 38637, + "start": 39266, + "end": 39290, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 30 }, "end": { - "line": 1008, + "line": 1009, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 38613, - "end": 38630, + "start": 39266, + "end": 39283, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 30 }, "end": { - "line": 1008, + "line": 1009, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 38613, - "end": 38617, + "start": 39266, + "end": 39270, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 30 }, "end": { - "line": 1008, + "line": 1009, "column": 34 } } }, "property": { "type": "Identifier", - "start": 38618, - "end": 38630, + "start": 39271, + "end": 39283, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 35 }, "end": { - "line": 1008, + "line": 1009, "column": 47 }, "identifierName": "entitiesList" @@ -113514,15 +113680,15 @@ }, "property": { "type": "Identifier", - "start": 38631, - "end": 38637, + "start": 39284, + "end": 39290, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 48 }, "end": { - "line": 1008, + "line": 1009, "column": 54 }, "identifierName": "length" @@ -113537,29 +113703,29 @@ }, "test": { "type": "BinaryExpression", - "start": 38639, - "end": 38646, + "start": 39292, + "end": 39299, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 56 }, "end": { - "line": 1008, + "line": 1009, "column": 63 } }, "left": { "type": "Identifier", - "start": 38639, - "end": 38640, + "start": 39292, + "end": 39293, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 56 }, "end": { - "line": 1008, + "line": 1009, "column": 57 }, "identifierName": "i" @@ -113569,15 +113735,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 38643, - "end": 38646, + "start": 39296, + "end": 39299, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 60 }, "end": { - "line": 1008, + "line": 1009, "column": 63 }, "identifierName": "len" @@ -113587,15 +113753,15 @@ }, "update": { "type": "UpdateExpression", - "start": 38648, - "end": 38651, + "start": 39301, + "end": 39304, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 65 }, "end": { - "line": 1008, + "line": 1009, "column": 68 } }, @@ -113603,15 +113769,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 38648, - "end": 38649, + "start": 39301, + "end": 39302, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 65 }, "end": { - "line": 1008, + "line": 1009, "column": 66 }, "identifierName": "i" @@ -113621,59 +113787,59 @@ }, "body": { "type": "BlockStatement", - "start": 38653, - "end": 39469, + "start": 39306, + "end": 40122, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 70 }, "end": { - "line": 1031, + "line": 1032, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 38668, - "end": 38704, + "start": 39321, + "end": 39357, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 12 }, "end": { - "line": 1010, + "line": 1011, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38674, - "end": 38703, + "start": 39327, + "end": 39356, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 18 }, "end": { - "line": 1010, + "line": 1011, "column": 47 } }, "id": { "type": "Identifier", - "start": 38674, - "end": 38680, + "start": 39327, + "end": 39333, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 18 }, "end": { - "line": 1010, + "line": 1011, "column": 24 }, "identifierName": "entity" @@ -113682,58 +113848,58 @@ }, "init": { "type": "MemberExpression", - "start": 38683, - "end": 38703, + "start": 39336, + "end": 39356, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 27 }, "end": { - "line": 1010, + "line": 1011, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 38683, - "end": 38700, + "start": 39336, + "end": 39353, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 27 }, "end": { - "line": 1010, + "line": 1011, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 38683, - "end": 38687, + "start": 39336, + "end": 39340, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 27 }, "end": { - "line": 1010, + "line": 1011, "column": 31 } } }, "property": { "type": "Identifier", - "start": 38688, - "end": 38700, + "start": 39341, + "end": 39353, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 32 }, "end": { - "line": 1010, + "line": 1011, "column": 44 }, "identifierName": "entitiesList" @@ -113744,15 +113910,15 @@ }, "property": { "type": "Identifier", - "start": 38701, - "end": 38702, + "start": 39354, + "end": 39355, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 45 }, "end": { - "line": 1010, + "line": 1011, "column": 46 }, "identifierName": "i" @@ -113767,44 +113933,44 @@ }, { "type": "VariableDeclaration", - "start": 38717, - "end": 38754, + "start": 39370, + "end": 39407, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 12 }, "end": { - "line": 1011, + "line": 1012, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38723, - "end": 38753, + "start": 39376, + "end": 39406, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 18 }, "end": { - "line": 1011, + "line": 1012, "column": 48 } }, "id": { "type": "Identifier", - "start": 38723, - "end": 38735, + "start": 39376, + "end": 39388, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 18 }, "end": { - "line": 1011, + "line": 1012, "column": 30 }, "identifierName": "metaObjectId" @@ -113813,29 +113979,29 @@ }, "init": { "type": "MemberExpression", - "start": 38738, - "end": 38753, + "start": 39391, + "end": 39406, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 33 }, "end": { - "line": 1011, + "line": 1012, "column": 48 } }, "object": { "type": "Identifier", - "start": 38738, - "end": 38744, + "start": 39391, + "end": 39397, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 33 }, "end": { - "line": 1011, + "line": 1012, "column": 39 }, "identifierName": "entity" @@ -113844,15 +114010,15 @@ }, "property": { "type": "Identifier", - "start": 38745, - "end": 38753, + "start": 39398, + "end": 39406, "loc": { "start": { - "line": 1011, + "line": 1012, "column": 40 }, "end": { - "line": 1011, + "line": 1012, "column": 48 }, "identifierName": "entityId" @@ -113867,44 +114033,44 @@ }, { "type": "VariableDeclaration", - "start": 38767, - "end": 38817, + "start": 39420, + "end": 39470, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 12 }, "end": { - "line": 1012, + "line": 1013, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 38773, - "end": 38816, + "start": 39426, + "end": 39469, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 18 }, "end": { - "line": 1012, + "line": 1013, "column": 61 } }, "id": { "type": "Identifier", - "start": 38773, - "end": 38783, + "start": 39426, + "end": 39436, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 18 }, "end": { - "line": 1012, + "line": 1013, "column": 28 }, "identifierName": "metaObject" @@ -113913,58 +114079,58 @@ }, "init": { "type": "MemberExpression", - "start": 38786, - "end": 38816, + "start": 39439, + "end": 39469, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 31 }, "end": { - "line": 1012, + "line": 1013, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 38786, - "end": 38802, + "start": 39439, + "end": 39455, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 31 }, "end": { - "line": 1012, + "line": 1013, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 38786, - "end": 38790, + "start": 39439, + "end": 39443, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 31 }, "end": { - "line": 1012, + "line": 1013, "column": 35 } } }, "property": { "type": "Identifier", - "start": 38791, - "end": 38802, + "start": 39444, + "end": 39455, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 36 }, "end": { - "line": 1012, + "line": 1013, "column": 47 }, "identifierName": "metaObjects" @@ -113975,15 +114141,15 @@ }, "property": { "type": "Identifier", - "start": 38803, - "end": 38815, + "start": 39456, + "end": 39468, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 48 }, "end": { - "line": 1012, + "line": 1013, "column": 60 }, "identifierName": "metaObjectId" @@ -113998,29 +114164,29 @@ }, { "type": "IfStatement", - "start": 38831, - "end": 39459, + "start": 39484, + "end": 40112, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 12 }, "end": { - "line": 1030, + "line": 1031, "column": 13 } }, "test": { "type": "UnaryExpression", - "start": 38835, - "end": 38846, + "start": 39488, + "end": 39499, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 16 }, "end": { - "line": 1014, + "line": 1015, "column": 27 } }, @@ -114028,15 +114194,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 38836, - "end": 38846, + "start": 39489, + "end": 39499, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 17 }, "end": { - "line": 1014, + "line": 1015, "column": 27 }, "identifierName": "metaObject" @@ -114049,44 +114215,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 38848, - "end": 39459, + "start": 39501, + "end": 40112, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 29 }, "end": { - "line": 1030, + "line": 1031, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 38867, - "end": 39160, + "start": 39520, + "end": 39813, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 16 }, "end": { - "line": 1022, + "line": 1023, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 38871, - "end": 38892, + "start": 39524, + "end": 39545, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 20 }, "end": { - "line": 1016, + "line": 1017, "column": 41 } }, @@ -114094,44 +114260,44 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 38872, - "end": 38892, + "start": 39525, + "end": 39545, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 21 }, "end": { - "line": 1016, + "line": 1017, "column": 41 } }, "object": { "type": "ThisExpression", - "start": 38872, - "end": 38876, + "start": 39525, + "end": 39529, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 21 }, "end": { - "line": 1016, + "line": 1017, "column": 25 } } }, "property": { "type": "Identifier", - "start": 38877, - "end": 38892, + "start": 39530, + "end": 39545, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 26 }, "end": { - "line": 1016, + "line": 1017, "column": 41 }, "identifierName": "_rootMetaObject" @@ -114146,88 +114312,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 38894, - "end": 39160, + "start": 39547, + "end": 39813, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 43 }, "end": { - "line": 1022, + "line": 1023, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 38916, - "end": 39142, + "start": 39569, + "end": 39795, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 20 }, "end": { - "line": 1021, + "line": 1022, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 38916, - "end": 39141, + "start": 39569, + "end": 39794, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 20 }, "end": { - "line": 1021, + "line": 1022, "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 38916, - "end": 38936, + "start": 39569, + "end": 39589, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 20 }, "end": { - "line": 1017, + "line": 1018, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 38916, - "end": 38920, + "start": 39569, + "end": 39573, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 20 }, "end": { - "line": 1017, + "line": 1018, "column": 24 } } }, "property": { "type": "Identifier", - "start": 38921, - "end": 38936, + "start": 39574, + "end": 39589, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 25 }, "end": { - "line": 1017, + "line": 1018, "column": 40 }, "identifierName": "_rootMetaObject" @@ -114238,58 +114404,58 @@ }, "right": { "type": "CallExpression", - "start": 38939, - "end": 39141, + "start": 39592, + "end": 39794, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 43 }, "end": { - "line": 1021, + "line": 1022, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 38939, - "end": 38960, + "start": 39592, + "end": 39613, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 43 }, "end": { - "line": 1017, + "line": 1018, "column": 64 } }, "object": { "type": "ThisExpression", - "start": 38939, - "end": 38943, + "start": 39592, + "end": 39596, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 43 }, "end": { - "line": 1017, + "line": 1018, "column": 47 } } }, "property": { "type": "Identifier", - "start": 38944, - "end": 38960, + "start": 39597, + "end": 39613, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 48 }, "end": { - "line": 1017, + "line": 1018, "column": 64 }, "identifierName": "createMetaObject" @@ -114301,30 +114467,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 38961, - "end": 39140, + "start": 39614, + "end": 39793, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 65 }, "end": { - "line": 1021, + "line": 1022, "column": 21 } }, "properties": [ { "type": "ObjectProperty", - "start": 38987, - "end": 39013, + "start": 39640, + "end": 39666, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 24 }, "end": { - "line": 1018, + "line": 1019, "column": 50 } }, @@ -114333,15 +114499,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 38987, - "end": 38999, + "start": 39640, + "end": 39652, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 24 }, "end": { - "line": 1018, + "line": 1019, "column": 36 }, "identifierName": "metaObjectId" @@ -114350,44 +114516,44 @@ }, "value": { "type": "MemberExpression", - "start": 39001, - "end": 39013, + "start": 39654, + "end": 39666, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 38 }, "end": { - "line": 1018, + "line": 1019, "column": 50 } }, "object": { "type": "ThisExpression", - "start": 39001, - "end": 39005, + "start": 39654, + "end": 39658, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 38 }, "end": { - "line": 1018, + "line": 1019, "column": 42 } } }, "property": { "type": "Identifier", - "start": 39006, - "end": 39013, + "start": 39659, + "end": 39666, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 43 }, "end": { - "line": 1018, + "line": 1019, "column": 50 }, "identifierName": "modelId" @@ -114399,15 +114565,15 @@ }, { "type": "ObjectProperty", - "start": 39039, - "end": 39064, + "start": 39692, + "end": 39717, "loc": { "start": { - "line": 1019, + "line": 1020, "column": 24 }, "end": { - "line": 1019, + "line": 1020, "column": 49 } }, @@ -114416,15 +114582,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39039, - "end": 39053, + "start": 39692, + "end": 39706, "loc": { "start": { - "line": 1019, + "line": 1020, "column": 24 }, "end": { - "line": 1019, + "line": 1020, "column": 38 }, "identifierName": "metaObjectType" @@ -114433,15 +114599,15 @@ }, "value": { "type": "StringLiteral", - "start": 39055, - "end": 39064, + "start": 39708, + "end": 39717, "loc": { "start": { - "line": 1019, + "line": 1020, "column": 40 }, "end": { - "line": 1019, + "line": 1020, "column": 49 } }, @@ -114454,15 +114620,15 @@ }, { "type": "ObjectProperty", - "start": 39090, - "end": 39118, + "start": 39743, + "end": 39771, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 24 }, "end": { - "line": 1020, + "line": 1021, "column": 52 } }, @@ -114471,15 +114637,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39090, - "end": 39104, + "start": 39743, + "end": 39757, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 24 }, "end": { - "line": 1020, + "line": 1021, "column": 38 }, "identifierName": "metaObjectName" @@ -114488,44 +114654,44 @@ }, "value": { "type": "MemberExpression", - "start": 39106, - "end": 39118, + "start": 39759, + "end": 39771, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 40 }, "end": { - "line": 1020, + "line": 1021, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 39106, - "end": 39110, + "start": 39759, + "end": 39763, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 40 }, "end": { - "line": 1020, + "line": 1021, "column": 44 } } }, "property": { "type": "Identifier", - "start": 39111, - "end": 39118, + "start": 39764, + "end": 39771, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 45 }, "end": { - "line": 1020, + "line": 1021, "column": 52 }, "identifierName": "modelId" @@ -114548,72 +114714,72 @@ }, { "type": "ExpressionStatement", - "start": 39178, - "end": 39445, + "start": 39831, + "end": 40098, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 16 }, "end": { - "line": 1029, + "line": 1030, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 39178, - "end": 39444, + "start": 39831, + "end": 40097, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 16 }, "end": { - "line": 1029, + "line": 1030, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 39178, - "end": 39199, + "start": 39831, + "end": 39852, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 16 }, "end": { - "line": 1024, + "line": 1025, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 39178, - "end": 39182, + "start": 39831, + "end": 39835, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 16 }, "end": { - "line": 1024, + "line": 1025, "column": 20 } } }, "property": { "type": "Identifier", - "start": 39183, - "end": 39199, + "start": 39836, + "end": 39852, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 21 }, "end": { - "line": 1024, + "line": 1025, "column": 37 }, "identifierName": "createMetaObject" @@ -114625,30 +114791,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 39200, - "end": 39443, + "start": 39853, + "end": 40096, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 38 }, "end": { - "line": 1029, + "line": 1030, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 39222, - "end": 39248, + "start": 39875, + "end": 39901, "loc": { "start": { - "line": 1025, + "line": 1026, "column": 20 }, "end": { - "line": 1025, + "line": 1026, "column": 46 } }, @@ -114657,15 +114823,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39222, - "end": 39234, + "start": 39875, + "end": 39887, "loc": { "start": { - "line": 1025, + "line": 1026, "column": 20 }, "end": { - "line": 1025, + "line": 1026, "column": 32 }, "identifierName": "metaObjectId" @@ -114674,15 +114840,15 @@ }, "value": { "type": "Identifier", - "start": 39236, - "end": 39248, + "start": 39889, + "end": 39901, "loc": { "start": { - "line": 1025, + "line": 1026, "column": 34 }, "end": { - "line": 1025, + "line": 1026, "column": 46 }, "identifierName": "metaObjectId" @@ -114692,15 +114858,15 @@ }, { "type": "ObjectProperty", - "start": 39270, - "end": 39295, + "start": 39923, + "end": 39948, "loc": { "start": { - "line": 1026, + "line": 1027, "column": 20 }, "end": { - "line": 1026, + "line": 1027, "column": 45 } }, @@ -114709,15 +114875,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39270, - "end": 39284, + "start": 39923, + "end": 39937, "loc": { "start": { - "line": 1026, + "line": 1027, "column": 20 }, "end": { - "line": 1026, + "line": 1027, "column": 34 }, "identifierName": "metaObjectType" @@ -114726,15 +114892,15 @@ }, "value": { "type": "StringLiteral", - "start": 39286, - "end": 39295, + "start": 39939, + "end": 39948, "loc": { "start": { - "line": 1026, + "line": 1027, "column": 36 }, "end": { - "line": 1026, + "line": 1027, "column": 45 } }, @@ -114747,15 +114913,15 @@ }, { "type": "ObjectProperty", - "start": 39317, - "end": 39350, + "start": 39970, + "end": 40003, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 20 }, "end": { - "line": 1027, + "line": 1028, "column": 53 } }, @@ -114764,15 +114930,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39317, - "end": 39331, + "start": 39970, + "end": 39984, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 20 }, "end": { - "line": 1027, + "line": 1028, "column": 34 }, "identifierName": "metaObjectName" @@ -114781,29 +114947,29 @@ }, "value": { "type": "BinaryExpression", - "start": 39333, - "end": 39350, + "start": 39986, + "end": 40003, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 36 }, "end": { - "line": 1027, + "line": 1028, "column": 53 } }, "left": { "type": "StringLiteral", - "start": 39333, - "end": 39335, + "start": 39986, + "end": 39988, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 36 }, "end": { - "line": 1027, + "line": 1028, "column": 38 } }, @@ -114816,15 +114982,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 39338, - "end": 39350, + "start": 39991, + "end": 40003, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 41 }, "end": { - "line": 1027, + "line": 1028, "column": 53 }, "identifierName": "metaObjectId" @@ -114835,15 +115001,15 @@ }, { "type": "ObjectProperty", - "start": 39372, - "end": 39425, + "start": 40025, + "end": 40078, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 20 }, "end": { - "line": 1028, + "line": 1029, "column": 73 } }, @@ -114852,15 +115018,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 39372, - "end": 39390, + "start": 40025, + "end": 40043, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 20 }, "end": { - "line": 1028, + "line": 1029, "column": 38 }, "identifierName": "parentMetaObjectId" @@ -114869,58 +115035,58 @@ }, "value": { "type": "MemberExpression", - "start": 39392, - "end": 39425, + "start": 40045, + "end": 40078, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 40 }, "end": { - "line": 1028, + "line": 1029, "column": 73 } }, "object": { "type": "MemberExpression", - "start": 39392, - "end": 39412, + "start": 40045, + "end": 40065, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 40 }, "end": { - "line": 1028, + "line": 1029, "column": 60 } }, "object": { "type": "ThisExpression", - "start": 39392, - "end": 39396, + "start": 40045, + "end": 40049, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 40 }, "end": { - "line": 1028, + "line": 1029, "column": 44 } } }, "property": { "type": "Identifier", - "start": 39397, - "end": 39412, + "start": 40050, + "end": 40065, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 45 }, "end": { - "line": 1028, + "line": 1029, "column": 60 }, "identifierName": "_rootMetaObject" @@ -114931,15 +115097,15 @@ }, "property": { "type": "Identifier", - "start": 39413, - "end": 39425, + "start": 40066, + "end": 40078, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 61 }, "end": { - "line": 1028, + "line": 1029, "column": 73 }, "identifierName": "metaObjectId" @@ -114971,15 +115137,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a default {@link XKTMetaObject} for each {@link XKTEntity} that does not already have one.\n ", - "start": 38431, - "end": 38548, + "start": 39084, + "end": 39201, "loc": { "start": { - "line": 1003, + "line": 1004, "column": 4 }, "end": { - "line": 1005, + "line": 1006, "column": 7 } } @@ -114989,15 +115155,15 @@ { "type": "CommentBlock", "value": "*\n * Finalizes this XKTModel.\n *\n * After finalizing, we may then serialize the model to an array buffer using {@link writeXKTModelToArrayBuffer}.\n *\n * Logs error and does nothing if this XKTModel has already been finalized.\n *\n * Internally, this method:\n *\n * * for each {@link XKTEntity} that doesn't already have a {@link XKTMetaObject}, creates one with {@link XKTMetaObject#metaObjectType} set to \"default\"\n * * sets each {@link XKTEntity}'s {@link XKTEntity#hasReusedGeometries} true if it shares its {@link XKTGeometry}s with other {@link XKTEntity}s,\n * * creates each {@link XKTEntity}'s {@link XKTEntity#aabb},\n * * creates {@link XKTTile}s in {@link XKTModel#tilesList}, and\n * * sets {@link XKTModel#finalized} ````true````.\n ", - "start": 39481, - "end": 40281, + "start": 40134, + "end": 40934, "loc": { "start": { - "line": 1034, + "line": 1035, "column": 4 }, "end": { - "line": 1048, + "line": 1049, "column": 7 } } @@ -115006,15 +115172,15 @@ }, { "type": "ClassMethod", - "start": 40286, - "end": 40930, + "start": 40939, + "end": 41583, "loc": { "start": { - "line": 1049, + "line": 1050, "column": 4 }, "end": { - "line": 1079, + "line": 1080, "column": 5 } }, @@ -115022,15 +115188,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 40292, - "end": 40300, + "start": 40945, + "end": 40953, "loc": { "start": { - "line": 1049, + "line": 1050, "column": 10 }, "end": { - "line": 1049, + "line": 1050, "column": 18 }, "identifierName": "finalize" @@ -115045,73 +115211,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 40303, - "end": 40930, + "start": 40956, + "end": 41583, "loc": { "start": { - "line": 1049, + "line": 1050, "column": 21 }, "end": { - "line": 1079, + "line": 1080, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 40314, - "end": 40420, + "start": 40967, + "end": 41073, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 8 }, "end": { - "line": 1054, + "line": 1055, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 40318, - "end": 40332, + "start": 40971, + "end": 40985, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 12 }, "end": { - "line": 1051, + "line": 1052, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 40318, - "end": 40322, + "start": 40971, + "end": 40975, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 12 }, "end": { - "line": 1051, + "line": 1052, "column": 16 } } }, "property": { "type": "Identifier", - "start": 40323, - "end": 40332, + "start": 40976, + "end": 40985, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 17 }, "end": { - "line": 1051, + "line": 1052, "column": 26 }, "identifierName": "finalized" @@ -115122,72 +115288,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 40334, - "end": 40420, + "start": 40987, + "end": 41073, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 28 }, "end": { - "line": 1054, + "line": 1055, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 40348, - "end": 40390, + "start": 41001, + "end": 41043, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 12 }, "end": { - "line": 1052, + "line": 1053, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 40348, - "end": 40389, + "start": 41001, + "end": 41042, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 12 }, "end": { - "line": 1052, + "line": 1053, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 40348, - "end": 40359, + "start": 41001, + "end": 41012, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 12 }, "end": { - "line": 1052, + "line": 1053, "column": 23 } }, "object": { "type": "Identifier", - "start": 40348, - "end": 40355, + "start": 41001, + "end": 41008, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 12 }, "end": { - "line": 1052, + "line": 1053, "column": 19 }, "identifierName": "console" @@ -115196,15 +115362,15 @@ }, "property": { "type": "Identifier", - "start": 40356, - "end": 40359, + "start": 41009, + "end": 41012, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 20 }, "end": { - "line": 1052, + "line": 1053, "column": 23 }, "identifierName": "log" @@ -115216,15 +115382,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 40360, - "end": 40388, + "start": 41013, + "end": 41041, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 24 }, "end": { - "line": 1052, + "line": 1053, "column": 52 } }, @@ -115239,15 +115405,15 @@ }, { "type": "ReturnStatement", - "start": 40403, - "end": 40410, + "start": 41056, + "end": 41063, "loc": { "start": { - "line": 1053, + "line": 1054, "column": 12 }, "end": { - "line": 1053, + "line": 1054, "column": 19 } }, @@ -115260,72 +115426,72 @@ }, { "type": "ExpressionStatement", - "start": 40430, - "end": 40459, + "start": 41083, + "end": 41112, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 8 }, "end": { - "line": 1056, + "line": 1057, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 40430, - "end": 40458, + "start": 41083, + "end": 41111, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 8 }, "end": { - "line": 1056, + "line": 1057, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 40430, - "end": 40456, + "start": 41083, + "end": 41109, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 8 }, "end": { - "line": 1056, + "line": 1057, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 40430, - "end": 40434, + "start": 41083, + "end": 41087, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 8 }, "end": { - "line": 1056, + "line": 1057, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40435, - "end": 40456, + "start": 41088, + "end": 41109, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 13 }, "end": { - "line": 1056, + "line": 1057, "column": 34 }, "identifierName": "_removeUnusedTextures" @@ -115339,86 +115505,86 @@ }, { "type": "ExpressionStatement", - "start": 40469, - "end": 40500, + "start": 41122, + "end": 41153, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 8 }, "end": { - "line": 1058, + "line": 1059, "column": 39 } }, "expression": { "type": "AwaitExpression", - "start": 40469, - "end": 40499, + "start": 41122, + "end": 41152, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 8 }, "end": { - "line": 1058, + "line": 1059, "column": 38 } }, "argument": { "type": "CallExpression", - "start": 40475, - "end": 40499, + "start": 41128, + "end": 41152, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 14 }, "end": { - "line": 1058, + "line": 1059, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 40475, - "end": 40497, + "start": 41128, + "end": 41150, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 14 }, "end": { - "line": 1058, + "line": 1059, "column": 36 } }, "object": { "type": "ThisExpression", - "start": 40475, - "end": 40479, + "start": 41128, + "end": 41132, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 14 }, "end": { - "line": 1058, + "line": 1059, "column": 18 } } }, "property": { "type": "Identifier", - "start": 40480, - "end": 40497, + "start": 41133, + "end": 41150, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 19 }, "end": { - "line": 1058, + "line": 1059, "column": 36 }, "identifierName": "_compressTextures" @@ -115433,72 +115599,72 @@ }, { "type": "ExpressionStatement", - "start": 40510, - "end": 40549, + "start": 41163, + "end": 41202, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 8 }, "end": { - "line": 1060, + "line": 1061, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 40510, - "end": 40548, + "start": 41163, + "end": 41201, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 8 }, "end": { - "line": 1060, + "line": 1061, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 40510, - "end": 40546, + "start": 41163, + "end": 41199, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 8 }, "end": { - "line": 1060, + "line": 1061, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 40510, - "end": 40514, + "start": 41163, + "end": 41167, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 8 }, "end": { - "line": 1060, + "line": 1061, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40515, - "end": 40546, + "start": 41168, + "end": 41199, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 13 }, "end": { - "line": 1060, + "line": 1061, "column": 44 }, "identifierName": "_bakeSingleUseGeometryPositions" @@ -115512,72 +115678,72 @@ }, { "type": "ExpressionStatement", - "start": 40559, - "end": 40591, + "start": 41212, + "end": 41244, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 8 }, "end": { - "line": 1062, + "line": 1063, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 40559, - "end": 40590, + "start": 41212, + "end": 41243, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 8 }, "end": { - "line": 1062, + "line": 1063, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 40559, - "end": 40588, + "start": 41212, + "end": 41241, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 8 }, "end": { - "line": 1062, + "line": 1063, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 40559, - "end": 40563, + "start": 41212, + "end": 41216, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 8 }, "end": { - "line": 1062, + "line": 1063, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40564, - "end": 40588, + "start": 41217, + "end": 41241, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 13 }, "end": { - "line": 1062, + "line": 1063, "column": 37 }, "identifierName": "_bakeAndOctEncodeNormals" @@ -115591,72 +115757,72 @@ }, { "type": "ExpressionStatement", - "start": 40601, - "end": 40627, + "start": 41254, + "end": 41280, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 8 }, "end": { - "line": 1064, + "line": 1065, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 40601, - "end": 40626, + "start": 41254, + "end": 41279, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 8 }, "end": { - "line": 1064, + "line": 1065, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 40601, - "end": 40624, + "start": 41254, + "end": 41277, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 8 }, "end": { - "line": 1064, + "line": 1065, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 40601, - "end": 40605, + "start": 41254, + "end": 41258, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 8 }, "end": { - "line": 1064, + "line": 1065, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40606, - "end": 40624, + "start": 41259, + "end": 41277, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 13 }, "end": { - "line": 1064, + "line": 1065, "column": 31 }, "identifierName": "_createEntityAABBs" @@ -115670,44 +115836,44 @@ }, { "type": "VariableDeclaration", - "start": 40637, - "end": 40677, + "start": 41290, + "end": 41330, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 8 }, "end": { - "line": 1066, + "line": 1067, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 40643, - "end": 40676, + "start": 41296, + "end": 41329, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 14 }, "end": { - "line": 1066, + "line": 1067, "column": 47 } }, "id": { "type": "Identifier", - "start": 40643, - "end": 40653, + "start": 41296, + "end": 41306, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 14 }, "end": { - "line": 1066, + "line": 1067, "column": 24 }, "identifierName": "rootKDNode" @@ -115716,58 +115882,58 @@ }, "init": { "type": "CallExpression", - "start": 40656, - "end": 40676, + "start": 41309, + "end": 41329, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 27 }, "end": { - "line": 1066, + "line": 1067, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 40656, - "end": 40674, + "start": 41309, + "end": 41327, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 27 }, "end": { - "line": 1066, + "line": 1067, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 40656, - "end": 40660, + "start": 41309, + "end": 41313, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 27 }, "end": { - "line": 1066, + "line": 1067, "column": 31 } } }, "property": { "type": "Identifier", - "start": 40661, - "end": 40674, + "start": 41314, + "end": 41327, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 32 }, "end": { - "line": 1066, + "line": 1067, "column": 45 }, "identifierName": "_createKDTree" @@ -115784,73 +115950,73 @@ }, { "type": "ExpressionStatement", - "start": 40687, - "end": 40710, + "start": 41340, + "end": 41363, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 8 }, "end": { - "line": 1068, + "line": 1069, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 40687, - "end": 40709, + "start": 41340, + "end": 41362, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 8 }, "end": { - "line": 1068, + "line": 1069, "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 40687, - "end": 40704, + "start": 41340, + "end": 41357, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 8 }, "end": { - "line": 1068, + "line": 1069, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 40687, - "end": 40691, + "start": 41340, + "end": 41344, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 8 }, "end": { - "line": 1068, + "line": 1069, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40692, - "end": 40704, + "start": 41345, + "end": 41357, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 13 }, "end": { - "line": 1068, + "line": 1069, "column": 25 }, "identifierName": "entitiesList" @@ -115861,15 +116027,15 @@ }, "right": { "type": "ArrayExpression", - "start": 40707, - "end": 40709, + "start": 41360, + "end": 41362, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 28 }, "end": { - "line": 1068, + "line": 1069, "column": 30 } }, @@ -115879,72 +116045,72 @@ }, { "type": "ExpressionStatement", - "start": 40720, - "end": 40760, + "start": 41373, + "end": 41413, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 8 }, "end": { - "line": 1070, + "line": 1071, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 40720, - "end": 40759, + "start": 41373, + "end": 41412, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 8 }, "end": { - "line": 1070, + "line": 1071, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 40720, - "end": 40747, + "start": 41373, + "end": 41400, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 8 }, "end": { - "line": 1070, + "line": 1071, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 40720, - "end": 40724, + "start": 41373, + "end": 41377, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 8 }, "end": { - "line": 1070, + "line": 1071, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40725, - "end": 40747, + "start": 41378, + "end": 41400, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 13 }, "end": { - "line": 1070, + "line": 1071, "column": 35 }, "identifierName": "_createTilesFromKDTree" @@ -115956,15 +116122,15 @@ "arguments": [ { "type": "Identifier", - "start": 40748, - "end": 40758, + "start": 41401, + "end": 41411, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 36 }, "end": { - "line": 1070, + "line": 1071, "column": 46 }, "identifierName": "rootKDNode" @@ -115976,72 +116142,72 @@ }, { "type": "ExpressionStatement", - "start": 40770, - "end": 40813, + "start": 41423, + "end": 41466, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 8 }, "end": { - "line": 1072, + "line": 1073, "column": 51 } }, "expression": { "type": "CallExpression", - "start": 40770, - "end": 40812, + "start": 41423, + "end": 41465, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 8 }, "end": { - "line": 1072, + "line": 1073, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 40770, - "end": 40810, + "start": 41423, + "end": 41463, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 8 }, "end": { - "line": 1072, + "line": 1073, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 40770, - "end": 40774, + "start": 41423, + "end": 41427, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 8 }, "end": { - "line": 1072, + "line": 1073, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40775, - "end": 40810, + "start": 41428, + "end": 41463, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 13 }, "end": { - "line": 1072, + "line": 1073, "column": 48 }, "identifierName": "_createReusedGeometriesDecodeMatrix" @@ -116055,72 +116221,72 @@ }, { "type": "ExpressionStatement", - "start": 40823, - "end": 40851, + "start": 41476, + "end": 41504, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 8 }, "end": { - "line": 1074, + "line": 1075, "column": 36 } }, "expression": { "type": "CallExpression", - "start": 40823, - "end": 40850, + "start": 41476, + "end": 41503, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 8 }, "end": { - "line": 1074, + "line": 1075, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 40823, - "end": 40848, + "start": 41476, + "end": 41501, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 8 }, "end": { - "line": 1074, + "line": 1075, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 40823, - "end": 40827, + "start": 41476, + "end": 41480, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 8 }, "end": { - "line": 1074, + "line": 1075, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40828, - "end": 40848, + "start": 41481, + "end": 41501, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 13 }, "end": { - "line": 1074, + "line": 1075, "column": 33 }, "identifierName": "_flagSolidGeometries" @@ -116134,86 +116300,86 @@ }, { "type": "ExpressionStatement", - "start": 40861, - "end": 40892, + "start": 41514, + "end": 41545, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 8 }, "end": { - "line": 1076, + "line": 1077, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 40861, - "end": 40891, + "start": 41514, + "end": 41544, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 8 }, "end": { - "line": 1076, + "line": 1077, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 40861, - "end": 40874, + "start": 41514, + "end": 41527, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 8 }, "end": { - "line": 1076, + "line": 1077, "column": 21 } }, "object": { "type": "MemberExpression", - "start": 40861, - "end": 40870, + "start": 41514, + "end": 41523, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 8 }, "end": { - "line": 1076, + "line": 1077, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 40861, - "end": 40865, + "start": 41514, + "end": 41518, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 8 }, "end": { - "line": 1076, + "line": 1077, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40866, - "end": 40870, + "start": 41519, + "end": 41523, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 13 }, "end": { - "line": 1076, + "line": 1077, "column": 17 }, "identifierName": "aabb" @@ -116224,15 +116390,15 @@ }, "property": { "type": "Identifier", - "start": 40871, - "end": 40874, + "start": 41524, + "end": 41527, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 18 }, "end": { - "line": 1076, + "line": 1077, "column": 21 }, "identifierName": "set" @@ -116244,29 +116410,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 40875, - "end": 40890, + "start": 41528, + "end": 41543, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 22 }, "end": { - "line": 1076, + "line": 1077, "column": 37 } }, "object": { "type": "Identifier", - "start": 40875, - "end": 40885, + "start": 41528, + "end": 41538, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 22 }, "end": { - "line": 1076, + "line": 1077, "column": 32 }, "identifierName": "rootKDNode" @@ -116275,15 +116441,15 @@ }, "property": { "type": "Identifier", - "start": 40886, - "end": 40890, + "start": 41539, + "end": 41543, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 33 }, "end": { - "line": 1076, + "line": 1077, "column": 37 }, "identifierName": "aabb" @@ -116297,73 +116463,73 @@ }, { "type": "ExpressionStatement", - "start": 40902, - "end": 40924, + "start": 41555, + "end": 41577, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 8 }, "end": { - "line": 1078, + "line": 1079, "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 40902, - "end": 40923, + "start": 41555, + "end": 41576, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 8 }, "end": { - "line": 1078, + "line": 1079, "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 40902, - "end": 40916, + "start": 41555, + "end": 41569, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 8 }, "end": { - "line": 1078, + "line": 1079, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 40902, - "end": 40906, + "start": 41555, + "end": 41559, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 8 }, "end": { - "line": 1078, + "line": 1079, "column": 12 } } }, "property": { "type": "Identifier", - "start": 40907, - "end": 40916, + "start": 41560, + "end": 41569, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 13 }, "end": { - "line": 1078, + "line": 1079, "column": 22 }, "identifierName": "finalized" @@ -116374,15 +116540,15 @@ }, "right": { "type": "BooleanLiteral", - "start": 40919, - "end": 40923, + "start": 41572, + "end": 41576, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 25 }, "end": { - "line": 1078, + "line": 1079, "column": 29 } }, @@ -116397,15 +116563,15 @@ { "type": "CommentBlock", "value": "*\n * Finalizes this XKTModel.\n *\n * After finalizing, we may then serialize the model to an array buffer using {@link writeXKTModelToArrayBuffer}.\n *\n * Logs error and does nothing if this XKTModel has already been finalized.\n *\n * Internally, this method:\n *\n * * for each {@link XKTEntity} that doesn't already have a {@link XKTMetaObject}, creates one with {@link XKTMetaObject#metaObjectType} set to \"default\"\n * * sets each {@link XKTEntity}'s {@link XKTEntity#hasReusedGeometries} true if it shares its {@link XKTGeometry}s with other {@link XKTEntity}s,\n * * creates each {@link XKTEntity}'s {@link XKTEntity#aabb},\n * * creates {@link XKTTile}s in {@link XKTModel#tilesList}, and\n * * sets {@link XKTModel#finalized} ````true````.\n ", - "start": 39481, - "end": 40281, + "start": 40134, + "end": 40934, "loc": { "start": { - "line": 1034, + "line": 1035, "column": 4 }, "end": { - "line": 1048, + "line": 1049, "column": 7 } } @@ -116414,15 +116580,15 @@ }, { "type": "ClassMethod", - "start": 40936, - "end": 41454, + "start": 41589, + "end": 42107, "loc": { "start": { - "line": 1081, + "line": 1082, "column": 4 }, "end": { - "line": 1094, + "line": 1095, "column": 5 } }, @@ -116430,15 +116596,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 40936, - "end": 40957, + "start": 41589, + "end": 41610, "loc": { "start": { - "line": 1081, + "line": 1082, "column": 4 }, "end": { - "line": 1081, + "line": 1082, "column": 25 }, "identifierName": "_removeUnusedTextures" @@ -116453,59 +116619,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 40960, - "end": 41454, + "start": 41613, + "end": 42107, "loc": { "start": { - "line": 1081, + "line": 1082, "column": 28 }, "end": { - "line": 1094, + "line": 1095, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 40970, - "end": 40992, + "start": 41623, + "end": 41645, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 8 }, "end": { - "line": 1082, + "line": 1083, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 40974, - "end": 40991, + "start": 41627, + "end": 41644, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 12 }, "end": { - "line": 1082, + "line": 1083, "column": 29 } }, "id": { "type": "Identifier", - "start": 40974, - "end": 40986, + "start": 41627, + "end": 41639, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 12 }, "end": { - "line": 1082, + "line": 1083, "column": 24 }, "identifierName": "texturesList" @@ -116514,15 +116680,15 @@ }, "init": { "type": "ArrayExpression", - "start": 40989, - "end": 40991, + "start": 41642, + "end": 41644, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 27 }, "end": { - "line": 1082, + "line": 1083, "column": 29 } }, @@ -116534,44 +116700,44 @@ }, { "type": "VariableDeclaration", - "start": 41001, - "end": 41021, + "start": 41654, + "end": 41674, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 8 }, "end": { - "line": 1083, + "line": 1084, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41007, - "end": 41020, + "start": 41660, + "end": 41673, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 14 }, "end": { - "line": 1083, + "line": 1084, "column": 27 } }, "id": { "type": "Identifier", - "start": 41007, - "end": 41015, + "start": 41660, + "end": 41668, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 14 }, "end": { - "line": 1083, + "line": 1084, "column": 22 }, "identifierName": "textures" @@ -116580,15 +116746,15 @@ }, "init": { "type": "ObjectExpression", - "start": 41018, - "end": 41020, + "start": 41671, + "end": 41673, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 25 }, "end": { - "line": 1083, + "line": 1084, "column": 27 } }, @@ -116600,58 +116766,58 @@ }, { "type": "ForStatement", - "start": 41030, - "end": 41372, + "start": 41683, + "end": 42025, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 8 }, "end": { - "line": 1091, + "line": 1092, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 41035, - "end": 41077, + "start": 41688, + "end": 41730, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 13 }, "end": { - "line": 1084, + "line": 1085, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41039, - "end": 41044, + "start": 41692, + "end": 41697, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 17 }, "end": { - "line": 1084, + "line": 1085, "column": 22 } }, "id": { "type": "Identifier", - "start": 41039, - "end": 41040, + "start": 41692, + "end": 41693, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 17 }, "end": { - "line": 1084, + "line": 1085, "column": 18 }, "identifierName": "i" @@ -116660,15 +116826,15 @@ }, "init": { "type": "NumericLiteral", - "start": 41043, - "end": 41044, + "start": 41696, + "end": 41697, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 21 }, "end": { - "line": 1084, + "line": 1085, "column": 22 } }, @@ -116681,29 +116847,29 @@ }, { "type": "VariableDeclarator", - "start": 41046, - "end": 41077, + "start": 41699, + "end": 41730, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 24 }, "end": { - "line": 1084, + "line": 1085, "column": 55 } }, "id": { "type": "Identifier", - "start": 41046, - "end": 41050, + "start": 41699, + "end": 41703, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 24 }, "end": { - "line": 1084, + "line": 1085, "column": 28 }, "identifierName": "leni" @@ -116712,58 +116878,58 @@ }, "init": { "type": "MemberExpression", - "start": 41053, - "end": 41077, + "start": 41706, + "end": 41730, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 31 }, "end": { - "line": 1084, + "line": 1085, "column": 55 } }, "object": { "type": "MemberExpression", - "start": 41053, - "end": 41070, + "start": 41706, + "end": 41723, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 31 }, "end": { - "line": 1084, + "line": 1085, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 41053, - "end": 41057, + "start": 41706, + "end": 41710, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 31 }, "end": { - "line": 1084, + "line": 1085, "column": 35 } } }, "property": { "type": "Identifier", - "start": 41058, - "end": 41070, + "start": 41711, + "end": 41723, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 36 }, "end": { - "line": 1084, + "line": 1085, "column": 48 }, "identifierName": "texturesList" @@ -116774,15 +116940,15 @@ }, "property": { "type": "Identifier", - "start": 41071, - "end": 41077, + "start": 41724, + "end": 41730, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 49 }, "end": { - "line": 1084, + "line": 1085, "column": 55 }, "identifierName": "length" @@ -116797,29 +116963,29 @@ }, "test": { "type": "BinaryExpression", - "start": 41079, - "end": 41087, + "start": 41732, + "end": 41740, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 57 }, "end": { - "line": 1084, + "line": 1085, "column": 65 } }, "left": { "type": "Identifier", - "start": 41079, - "end": 41080, + "start": 41732, + "end": 41733, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 57 }, "end": { - "line": 1084, + "line": 1085, "column": 58 }, "identifierName": "i" @@ -116829,15 +116995,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 41083, - "end": 41087, + "start": 41736, + "end": 41740, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 61 }, "end": { - "line": 1084, + "line": 1085, "column": 65 }, "identifierName": "leni" @@ -116847,15 +117013,15 @@ }, "update": { "type": "UpdateExpression", - "start": 41089, - "end": 41092, + "start": 41742, + "end": 41745, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 67 }, "end": { - "line": 1084, + "line": 1085, "column": 70 } }, @@ -116863,15 +117029,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 41089, - "end": 41090, + "start": 41742, + "end": 41743, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 67 }, "end": { - "line": 1084, + "line": 1085, "column": 68 }, "identifierName": "i" @@ -116881,59 +117047,59 @@ }, "body": { "type": "BlockStatement", - "start": 41094, - "end": 41372, + "start": 41747, + "end": 42025, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 72 }, "end": { - "line": 1091, + "line": 1092, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 41108, - "end": 41145, + "start": 41761, + "end": 41798, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 12 }, "end": { - "line": 1085, + "line": 1086, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41114, - "end": 41144, + "start": 41767, + "end": 41797, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 18 }, "end": { - "line": 1085, + "line": 1086, "column": 48 } }, "id": { "type": "Identifier", - "start": 41114, - "end": 41121, + "start": 41767, + "end": 41774, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 18 }, "end": { - "line": 1085, + "line": 1086, "column": 25 }, "identifierName": "texture" @@ -116942,58 +117108,58 @@ }, "init": { "type": "MemberExpression", - "start": 41124, - "end": 41144, + "start": 41777, + "end": 41797, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 28 }, "end": { - "line": 1085, + "line": 1086, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 41124, - "end": 41141, + "start": 41777, + "end": 41794, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 28 }, "end": { - "line": 1085, + "line": 1086, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 41124, - "end": 41128, + "start": 41777, + "end": 41781, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 28 }, "end": { - "line": 1085, + "line": 1086, "column": 32 } } }, "property": { "type": "Identifier", - "start": 41129, - "end": 41141, + "start": 41782, + "end": 41794, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 33 }, "end": { - "line": 1085, + "line": 1086, "column": 45 }, "identifierName": "texturesList" @@ -117004,15 +117170,15 @@ }, "property": { "type": "Identifier", - "start": 41142, - "end": 41143, + "start": 41795, + "end": 41796, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 46 }, "end": { - "line": 1085, + "line": 1086, "column": 47 }, "identifierName": "i" @@ -117027,57 +117193,57 @@ }, { "type": "IfStatement", - "start": 41158, - "end": 41362, + "start": 41811, + "end": 42015, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 12 }, "end": { - "line": 1090, + "line": 1091, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 41162, - "end": 41186, + "start": 41815, + "end": 41839, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 16 }, "end": { - "line": 1086, + "line": 1087, "column": 40 } }, "left": { "type": "MemberExpression", - "start": 41162, - "end": 41177, + "start": 41815, + "end": 41830, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 16 }, "end": { - "line": 1086, + "line": 1087, "column": 31 } }, "object": { "type": "Identifier", - "start": 41162, - "end": 41169, + "start": 41815, + "end": 41822, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 16 }, "end": { - "line": 1086, + "line": 1087, "column": 23 }, "identifierName": "texture" @@ -117086,15 +117252,15 @@ }, "property": { "type": "Identifier", - "start": 41170, - "end": 41177, + "start": 41823, + "end": 41830, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 24 }, "end": { - "line": 1086, + "line": 1087, "column": 31 }, "identifierName": "channel" @@ -117106,15 +117272,15 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 41182, - "end": 41186, + "start": 41835, + "end": 41839, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 36 }, "end": { - "line": 1086, + "line": 1087, "column": 40 } } @@ -117122,73 +117288,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 41188, - "end": 41362, + "start": 41841, + "end": 42015, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 42 }, "end": { - "line": 1090, + "line": 1091, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 41206, - "end": 41249, + "start": 41859, + "end": 41902, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 16 }, "end": { - "line": 1087, + "line": 1088, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 41206, - "end": 41248, + "start": 41859, + "end": 41901, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 16 }, "end": { - "line": 1087, + "line": 1088, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 41206, - "end": 41226, + "start": 41859, + "end": 41879, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 16 }, "end": { - "line": 1087, + "line": 1088, "column": 36 } }, "object": { "type": "Identifier", - "start": 41206, - "end": 41213, + "start": 41859, + "end": 41866, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 16 }, "end": { - "line": 1087, + "line": 1088, "column": 23 }, "identifierName": "texture" @@ -117197,15 +117363,15 @@ }, "property": { "type": "Identifier", - "start": 41214, - "end": 41226, + "start": 41867, + "end": 41879, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 24 }, "end": { - "line": 1087, + "line": 1088, "column": 36 }, "identifierName": "textureIndex" @@ -117216,29 +117382,29 @@ }, "right": { "type": "MemberExpression", - "start": 41229, - "end": 41248, + "start": 41882, + "end": 41901, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 39 }, "end": { - "line": 1087, + "line": 1088, "column": 58 } }, "object": { "type": "Identifier", - "start": 41229, - "end": 41241, + "start": 41882, + "end": 41894, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 39 }, "end": { - "line": 1087, + "line": 1088, "column": 51 }, "identifierName": "texturesList" @@ -117247,15 +117413,15 @@ }, "property": { "type": "Identifier", - "start": 41242, - "end": 41248, + "start": 41895, + "end": 41901, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 52 }, "end": { - "line": 1087, + "line": 1088, "column": 58 }, "identifierName": "length" @@ -117268,57 +117434,57 @@ }, { "type": "ExpressionStatement", - "start": 41266, - "end": 41293, + "start": 41919, + "end": 41946, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 16 }, "end": { - "line": 1088, + "line": 1089, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 41266, - "end": 41292, + "start": 41919, + "end": 41945, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 16 }, "end": { - "line": 1088, + "line": 1089, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 41266, - "end": 41283, + "start": 41919, + "end": 41936, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 16 }, "end": { - "line": 1088, + "line": 1089, "column": 33 } }, "object": { "type": "Identifier", - "start": 41266, - "end": 41278, + "start": 41919, + "end": 41931, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 16 }, "end": { - "line": 1088, + "line": 1089, "column": 28 }, "identifierName": "texturesList" @@ -117327,15 +117493,15 @@ }, "property": { "type": "Identifier", - "start": 41279, - "end": 41283, + "start": 41932, + "end": 41936, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 29 }, "end": { - "line": 1088, + "line": 1089, "column": 33 }, "identifierName": "push" @@ -117347,15 +117513,15 @@ "arguments": [ { "type": "Identifier", - "start": 41284, - "end": 41291, + "start": 41937, + "end": 41944, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 34 }, "end": { - "line": 1088, + "line": 1089, "column": 41 }, "identifierName": "texture" @@ -117367,58 +117533,58 @@ }, { "type": "ExpressionStatement", - "start": 41310, - "end": 41348, + "start": 41963, + "end": 42001, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 16 }, "end": { - "line": 1089, + "line": 1090, "column": 54 } }, "expression": { "type": "AssignmentExpression", - "start": 41310, - "end": 41347, + "start": 41963, + "end": 42000, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 16 }, "end": { - "line": 1089, + "line": 1090, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 41310, - "end": 41337, + "start": 41963, + "end": 41990, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 16 }, "end": { - "line": 1089, + "line": 1090, "column": 43 } }, "object": { "type": "Identifier", - "start": 41310, - "end": 41318, + "start": 41963, + "end": 41971, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 16 }, "end": { - "line": 1089, + "line": 1090, "column": 24 }, "identifierName": "textures" @@ -117427,29 +117593,29 @@ }, "property": { "type": "MemberExpression", - "start": 41319, - "end": 41336, + "start": 41972, + "end": 41989, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 25 }, "end": { - "line": 1089, + "line": 1090, "column": 42 } }, "object": { "type": "Identifier", - "start": 41319, - "end": 41326, + "start": 41972, + "end": 41979, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 25 }, "end": { - "line": 1089, + "line": 1090, "column": 32 }, "identifierName": "texture" @@ -117458,15 +117624,15 @@ }, "property": { "type": "Identifier", - "start": 41327, - "end": 41336, + "start": 41980, + "end": 41989, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 33 }, "end": { - "line": 1089, + "line": 1090, "column": 42 }, "identifierName": "textureId" @@ -117479,15 +117645,15 @@ }, "right": { "type": "Identifier", - "start": 41340, - "end": 41347, + "start": 41993, + "end": 42000, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 46 }, "end": { - "line": 1089, + "line": 1090, "column": 53 }, "identifierName": "texture" @@ -117507,73 +117673,73 @@ }, { "type": "ExpressionStatement", - "start": 41381, - "end": 41414, + "start": 42034, + "end": 42067, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 8 }, "end": { - "line": 1092, + "line": 1093, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 41381, - "end": 41413, + "start": 42034, + "end": 42066, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 8 }, "end": { - "line": 1092, + "line": 1093, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 41381, - "end": 41398, + "start": 42034, + "end": 42051, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 8 }, "end": { - "line": 1092, + "line": 1093, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 41381, - "end": 41385, + "start": 42034, + "end": 42038, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 8 }, "end": { - "line": 1092, + "line": 1093, "column": 12 } } }, "property": { "type": "Identifier", - "start": 41386, - "end": 41398, + "start": 42039, + "end": 42051, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 13 }, "end": { - "line": 1092, + "line": 1093, "column": 25 }, "identifierName": "texturesList" @@ -117584,15 +117750,15 @@ }, "right": { "type": "Identifier", - "start": 41401, - "end": 41413, + "start": 42054, + "end": 42066, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 28 }, "end": { - "line": 1092, + "line": 1093, "column": 40 }, "identifierName": "texturesList" @@ -117603,73 +117769,73 @@ }, { "type": "ExpressionStatement", - "start": 41423, - "end": 41448, + "start": 42076, + "end": 42101, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 8 }, "end": { - "line": 1093, + "line": 1094, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 41423, - "end": 41447, + "start": 42076, + "end": 42100, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 8 }, "end": { - "line": 1093, + "line": 1094, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 41423, - "end": 41436, + "start": 42076, + "end": 42089, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 8 }, "end": { - "line": 1093, + "line": 1094, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 41423, - "end": 41427, + "start": 42076, + "end": 42080, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 8 }, "end": { - "line": 1093, + "line": 1094, "column": 12 } } }, "property": { "type": "Identifier", - "start": 41428, - "end": 41436, + "start": 42081, + "end": 42089, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 13 }, "end": { - "line": 1093, + "line": 1094, "column": 21 }, "identifierName": "textures" @@ -117680,15 +117846,15 @@ }, "right": { "type": "Identifier", - "start": 41439, - "end": 41447, + "start": 42092, + "end": 42100, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 24 }, "end": { - "line": 1093, + "line": 1094, "column": 32 }, "identifierName": "textures" @@ -117703,15 +117869,15 @@ }, { "type": "ClassMethod", - "start": 41460, - "end": 45409, + "start": 42113, + "end": 46062, "loc": { "start": { - "line": 1096, + "line": 1097, "column": 4 }, "end": { - "line": 1182, + "line": 1183, "column": 5 } }, @@ -117719,15 +117885,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 41460, - "end": 41477, + "start": 42113, + "end": 42130, "loc": { "start": { - "line": 1096, + "line": 1097, "column": 4 }, "end": { - "line": 1096, + "line": 1097, "column": 21 }, "identifierName": "_compressTextures" @@ -117742,59 +117908,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 41480, - "end": 45409, + "start": 42133, + "end": 46062, "loc": { "start": { - "line": 1096, + "line": 1097, "column": 24 }, "end": { - "line": 1182, + "line": 1183, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 41490, - "end": 41535, + "start": 42143, + "end": 42188, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 8 }, "end": { - "line": 1097, + "line": 1098, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41494, - "end": 41534, + "start": 42147, + "end": 42187, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 12 }, "end": { - "line": 1097, + "line": 1098, "column": 52 } }, "id": { "type": "Identifier", - "start": 41494, - "end": 41507, + "start": 42147, + "end": 42160, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 12 }, "end": { - "line": 1097, + "line": 1098, "column": 25 }, "identifierName": "countTextures" @@ -117803,58 +117969,58 @@ }, "init": { "type": "MemberExpression", - "start": 41510, - "end": 41534, + "start": 42163, + "end": 42187, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 28 }, "end": { - "line": 1097, + "line": 1098, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 41510, - "end": 41527, + "start": 42163, + "end": 42180, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 28 }, "end": { - "line": 1097, + "line": 1098, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 41510, - "end": 41514, + "start": 42163, + "end": 42167, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 28 }, "end": { - "line": 1097, + "line": 1098, "column": 32 } } }, "property": { "type": "Identifier", - "start": 41515, - "end": 41527, + "start": 42168, + "end": 42180, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 33 }, "end": { - "line": 1097, + "line": 1098, "column": 45 }, "identifierName": "texturesList" @@ -117865,15 +118031,15 @@ }, "property": { "type": "Identifier", - "start": 41528, - "end": 41534, + "start": 42181, + "end": 42187, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 46 }, "end": { - "line": 1097, + "line": 1098, "column": 52 }, "identifierName": "length" @@ -117888,43 +118054,43 @@ }, { "type": "ReturnStatement", - "start": 41544, - "end": 45403, + "start": 42197, + "end": 46056, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 8 }, "end": { - "line": 1181, + "line": 1182, "column": 11 } }, "argument": { "type": "NewExpression", - "start": 41551, - "end": 45402, + "start": 42204, + "end": 46055, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 15 }, "end": { - "line": 1181, + "line": 1182, "column": 10 } }, "callee": { "type": "Identifier", - "start": 41555, - "end": 41562, + "start": 42208, + "end": 42215, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 19 }, "end": { - "line": 1098, + "line": 1099, "column": 26 }, "identifierName": "Promise" @@ -117934,15 +118100,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 41563, - "end": 45401, + "start": 42216, + "end": 46054, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 27 }, "end": { - "line": 1181, + "line": 1182, "column": 9 } }, @@ -117953,15 +118119,15 @@ "params": [ { "type": "Identifier", - "start": 41564, - "end": 41571, + "start": 42217, + "end": 42224, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 28 }, "end": { - "line": 1098, + "line": 1099, "column": 35 }, "identifierName": "resolve" @@ -117971,58 +118137,58 @@ ], "body": { "type": "BlockStatement", - "start": 41576, - "end": 45401, + "start": 42229, + "end": 46054, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 40 }, "end": { - "line": 1181, + "line": 1182, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 41590, - "end": 41681, + "start": 42243, + "end": 42334, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 12 }, "end": { - "line": 1102, + "line": 1103, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 41594, - "end": 41613, + "start": 42247, + "end": 42266, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 16 }, "end": { - "line": 1099, + "line": 1100, "column": 35 } }, "left": { "type": "Identifier", - "start": 41594, - "end": 41607, + "start": 42247, + "end": 42260, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 16 }, "end": { - "line": 1099, + "line": 1100, "column": 29 }, "identifierName": "countTextures" @@ -118032,15 +118198,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 41612, - "end": 41613, + "start": 42265, + "end": 42266, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 34 }, "end": { - "line": 1099, + "line": 1100, "column": 35 } }, @@ -118053,58 +118219,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 41615, - "end": 41681, + "start": 42268, + "end": 42334, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 37 }, "end": { - "line": 1102, + "line": 1103, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 41633, - "end": 41643, + "start": 42286, + "end": 42296, "loc": { "start": { - "line": 1100, + "line": 1101, "column": 16 }, "end": { - "line": 1100, + "line": 1101, "column": 26 } }, "expression": { "type": "CallExpression", - "start": 41633, - "end": 41642, + "start": 42286, + "end": 42295, "loc": { "start": { - "line": 1100, + "line": 1101, "column": 16 }, "end": { - "line": 1100, + "line": 1101, "column": 25 } }, "callee": { "type": "Identifier", - "start": 41633, - "end": 41640, + "start": 42286, + "end": 42293, "loc": { "start": { - "line": 1100, + "line": 1101, "column": 16 }, "end": { - "line": 1100, + "line": 1101, "column": 23 }, "identifierName": "resolve" @@ -118116,15 +118282,15 @@ }, { "type": "ReturnStatement", - "start": 41660, - "end": 41667, + "start": 42313, + "end": 42320, "loc": { "start": { - "line": 1101, + "line": 1102, "column": 16 }, "end": { - "line": 1101, + "line": 1102, "column": 23 } }, @@ -118137,58 +118303,58 @@ }, { "type": "ForStatement", - "start": 41694, - "end": 45391, + "start": 42347, + "end": 46044, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 12 }, "end": { - "line": 1180, + "line": 1181, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 41699, - "end": 41741, + "start": 42352, + "end": 42394, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 17 }, "end": { - "line": 1103, + "line": 1104, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41703, - "end": 41708, + "start": 42356, + "end": 42361, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 21 }, "end": { - "line": 1103, + "line": 1104, "column": 26 } }, "id": { "type": "Identifier", - "start": 41703, - "end": 41704, + "start": 42356, + "end": 42357, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 21 }, "end": { - "line": 1103, + "line": 1104, "column": 22 }, "identifierName": "i" @@ -118197,15 +118363,15 @@ }, "init": { "type": "NumericLiteral", - "start": 41707, - "end": 41708, + "start": 42360, + "end": 42361, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 25 }, "end": { - "line": 1103, + "line": 1104, "column": 26 } }, @@ -118218,29 +118384,29 @@ }, { "type": "VariableDeclarator", - "start": 41710, - "end": 41741, + "start": 42363, + "end": 42394, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 28 }, "end": { - "line": 1103, + "line": 1104, "column": 59 } }, "id": { "type": "Identifier", - "start": 41710, - "end": 41714, + "start": 42363, + "end": 42367, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 28 }, "end": { - "line": 1103, + "line": 1104, "column": 32 }, "identifierName": "leni" @@ -118249,58 +118415,58 @@ }, "init": { "type": "MemberExpression", - "start": 41717, - "end": 41741, + "start": 42370, + "end": 42394, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 35 }, "end": { - "line": 1103, + "line": 1104, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 41717, - "end": 41734, + "start": 42370, + "end": 42387, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 35 }, "end": { - "line": 1103, + "line": 1104, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 41717, - "end": 41721, + "start": 42370, + "end": 42374, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 35 }, "end": { - "line": 1103, + "line": 1104, "column": 39 } } }, "property": { "type": "Identifier", - "start": 41722, - "end": 41734, + "start": 42375, + "end": 42387, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 40 }, "end": { - "line": 1103, + "line": 1104, "column": 52 }, "identifierName": "texturesList" @@ -118311,15 +118477,15 @@ }, "property": { "type": "Identifier", - "start": 41735, - "end": 41741, + "start": 42388, + "end": 42394, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 53 }, "end": { - "line": 1103, + "line": 1104, "column": 59 }, "identifierName": "length" @@ -118334,29 +118500,29 @@ }, "test": { "type": "BinaryExpression", - "start": 41743, - "end": 41751, + "start": 42396, + "end": 42404, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 61 }, "end": { - "line": 1103, + "line": 1104, "column": 69 } }, "left": { "type": "Identifier", - "start": 41743, - "end": 41744, + "start": 42396, + "end": 42397, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 61 }, "end": { - "line": 1103, + "line": 1104, "column": 62 }, "identifierName": "i" @@ -118366,15 +118532,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 41747, - "end": 41751, + "start": 42400, + "end": 42404, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 65 }, "end": { - "line": 1103, + "line": 1104, "column": 69 }, "identifierName": "leni" @@ -118384,15 +118550,15 @@ }, "update": { "type": "UpdateExpression", - "start": 41753, - "end": 41756, + "start": 42406, + "end": 42409, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 71 }, "end": { - "line": 1103, + "line": 1104, "column": 74 } }, @@ -118400,15 +118566,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 41753, - "end": 41754, + "start": 42406, + "end": 42407, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 71 }, "end": { - "line": 1103, + "line": 1104, "column": 72 }, "identifierName": "i" @@ -118418,59 +118584,59 @@ }, "body": { "type": "BlockStatement", - "start": 41758, - "end": 45391, + "start": 42411, + "end": 46044, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 76 }, "end": { - "line": 1180, + "line": 1181, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 41776, - "end": 41813, + "start": 42429, + "end": 42466, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 16 }, "end": { - "line": 1104, + "line": 1105, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41782, - "end": 41812, + "start": 42435, + "end": 42465, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 22 }, "end": { - "line": 1104, + "line": 1105, "column": 52 } }, "id": { "type": "Identifier", - "start": 41782, - "end": 41789, + "start": 42435, + "end": 42442, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 22 }, "end": { - "line": 1104, + "line": 1105, "column": 29 }, "identifierName": "texture" @@ -118479,58 +118645,58 @@ }, "init": { "type": "MemberExpression", - "start": 41792, - "end": 41812, + "start": 42445, + "end": 42465, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 32 }, "end": { - "line": 1104, + "line": 1105, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 41792, - "end": 41809, + "start": 42445, + "end": 42462, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 32 }, "end": { - "line": 1104, + "line": 1105, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 41792, - "end": 41796, + "start": 42445, + "end": 42449, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 32 }, "end": { - "line": 1104, + "line": 1105, "column": 36 } } }, "property": { "type": "Identifier", - "start": 41797, - "end": 41809, + "start": 42450, + "end": 42462, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 37 }, "end": { - "line": 1104, + "line": 1105, "column": 49 }, "identifierName": "texturesList" @@ -118541,15 +118707,15 @@ }, "property": { "type": "Identifier", - "start": 41810, - "end": 41811, + "start": 42463, + "end": 42464, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 50 }, "end": { - "line": 1104, + "line": 1105, "column": 51 }, "identifierName": "i" @@ -118564,44 +118730,44 @@ }, { "type": "VariableDeclaration", - "start": 41830, - "end": 41902, + "start": 42483, + "end": 42555, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 16 }, "end": { - "line": 1105, + "line": 1106, "column": 88 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 41836, - "end": 41901, + "start": 42489, + "end": 42554, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 22 }, "end": { - "line": 1105, + "line": 1106, "column": 87 } }, "id": { "type": "Identifier", - "start": 41836, - "end": 41851, + "start": 42489, + "end": 42504, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 22 }, "end": { - "line": 1105, + "line": 1106, "column": 37 }, "identifierName": "encodingOptions" @@ -118610,43 +118776,43 @@ }, "init": { "type": "LogicalExpression", - "start": 41854, - "end": 41901, + "start": 42507, + "end": 42554, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 40 }, "end": { - "line": 1105, + "line": 1106, "column": 87 } }, "left": { "type": "MemberExpression", - "start": 41854, - "end": 41895, + "start": 42507, + "end": 42548, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 40 }, "end": { - "line": 1105, + "line": 1106, "column": 81 } }, "object": { "type": "Identifier", - "start": 41854, - "end": 41878, + "start": 42507, + "end": 42531, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 40 }, "end": { - "line": 1105, + "line": 1106, "column": 64 }, "identifierName": "TEXTURE_ENCODING_OPTIONS" @@ -118655,29 +118821,29 @@ }, "property": { "type": "MemberExpression", - "start": 41879, - "end": 41894, + "start": 42532, + "end": 42547, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 65 }, "end": { - "line": 1105, + "line": 1106, "column": 80 } }, "object": { "type": "Identifier", - "start": 41879, - "end": 41886, + "start": 42532, + "end": 42539, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 65 }, "end": { - "line": 1105, + "line": 1106, "column": 72 }, "identifierName": "texture" @@ -118686,15 +118852,15 @@ }, "property": { "type": "Identifier", - "start": 41887, - "end": 41894, + "start": 42540, + "end": 42547, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 73 }, "end": { - "line": 1105, + "line": 1106, "column": 80 }, "identifierName": "channel" @@ -118708,15 +118874,15 @@ "operator": "||", "right": { "type": "ObjectExpression", - "start": 41899, - "end": 41901, + "start": 42552, + "end": 42554, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 85 }, "end": { - "line": 1105, + "line": 1106, "column": 87 } }, @@ -118729,43 +118895,43 @@ }, { "type": "IfStatement", - "start": 41920, - "end": 44277, + "start": 42573, + "end": 44930, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 16 }, "end": { - "line": 1154, + "line": 1155, "column": 17 } }, "test": { "type": "MemberExpression", - "start": 41924, - "end": 41935, + "start": 42577, + "end": 42588, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 20 }, "end": { - "line": 1107, + "line": 1108, "column": 31 } }, "object": { "type": "Identifier", - "start": 41924, - "end": 41931, + "start": 42577, + "end": 42584, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 20 }, "end": { - "line": 1107, + "line": 1108, "column": 27 }, "identifierName": "texture" @@ -118774,15 +118940,15 @@ }, "property": { "type": "Identifier", - "start": 41932, - "end": 41935, + "start": 42585, + "end": 42588, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 28 }, "end": { - "line": 1107, + "line": 1108, "column": 31 }, "identifierName": "src" @@ -118793,59 +118959,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 41937, - "end": 44277, + "start": 42590, + "end": 44930, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 33 }, "end": { - "line": 1154, + "line": 1155, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 42045, - "end": 42069, + "start": 42698, + "end": 42722, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 20 }, "end": { - "line": 1111, + "line": 1112, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 42051, - "end": 42068, + "start": 42704, + "end": 42721, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 26 }, "end": { - "line": 1111, + "line": 1112, "column": 43 } }, "id": { "type": "Identifier", - "start": 42051, - "end": 42054, + "start": 42704, + "end": 42707, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 26 }, "end": { - "line": 1111, + "line": 1112, "column": 29 }, "identifierName": "src" @@ -118855,29 +119021,29 @@ }, "init": { "type": "MemberExpression", - "start": 42057, - "end": 42068, + "start": 42710, + "end": 42721, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 32 }, "end": { - "line": 1111, + "line": 1112, "column": 43 } }, "object": { "type": "Identifier", - "start": 42057, - "end": 42064, + "start": 42710, + "end": 42717, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 32 }, "end": { - "line": 1111, + "line": 1112, "column": 39 }, "identifierName": "texture" @@ -118886,15 +119052,15 @@ }, "property": { "type": "Identifier", - "start": 42065, - "end": 42068, + "start": 42718, + "end": 42721, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 40 }, "end": { - "line": 1111, + "line": 1112, "column": 43 }, "identifierName": "src" @@ -118911,15 +119077,15 @@ { "type": "CommentLine", "value": " XKTTexture created with XKTModel#createTexture({ src: ... })", - "start": 41960, - "end": 42023, + "start": 42613, + "end": 42676, "loc": { "start": { - "line": 1109, + "line": 1110, "column": 20 }, "end": { - "line": 1109, + "line": 1110, "column": 83 } } @@ -118928,44 +119094,44 @@ }, { "type": "VariableDeclaration", - "start": 42090, - "end": 42127, + "start": 42743, + "end": 42780, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 20 }, "end": { - "line": 1112, + "line": 1113, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 42096, - "end": 42126, + "start": 42749, + "end": 42779, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 26 }, "end": { - "line": 1112, + "line": 1113, "column": 56 } }, "id": { "type": "Identifier", - "start": 42096, - "end": 42103, + "start": 42749, + "end": 42756, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 26 }, "end": { - "line": 1112, + "line": 1113, "column": 33 }, "identifierName": "fileExt" @@ -118974,71 +119140,71 @@ }, "init": { "type": "CallExpression", - "start": 42106, - "end": 42126, + "start": 42759, + "end": 42779, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 36 }, "end": { - "line": 1112, + "line": 1113, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 42106, - "end": 42124, + "start": 42759, + "end": 42777, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 36 }, "end": { - "line": 1112, + "line": 1113, "column": 54 } }, "object": { "type": "CallExpression", - "start": 42106, - "end": 42120, + "start": 42759, + "end": 42773, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 36 }, "end": { - "line": 1112, + "line": 1113, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 42106, - "end": 42115, + "start": 42759, + "end": 42768, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 36 }, "end": { - "line": 1112, + "line": 1113, "column": 45 } }, "object": { "type": "Identifier", - "start": 42106, - "end": 42109, + "start": 42759, + "end": 42762, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 36 }, "end": { - "line": 1112, + "line": 1113, "column": 39 }, "identifierName": "src" @@ -119047,15 +119213,15 @@ }, "property": { "type": "Identifier", - "start": 42110, - "end": 42115, + "start": 42763, + "end": 42768, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 40 }, "end": { - "line": 1112, + "line": 1113, "column": 45 }, "identifierName": "split" @@ -119067,15 +119233,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 42116, - "end": 42119, + "start": 42769, + "end": 42772, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 46 }, "end": { - "line": 1112, + "line": 1113, "column": 49 } }, @@ -119089,15 +119255,15 @@ }, "property": { "type": "Identifier", - "start": 42121, - "end": 42124, + "start": 42774, + "end": 42777, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 51 }, "end": { - "line": 1112, + "line": 1113, "column": 54 }, "identifierName": "pop" @@ -119114,29 +119280,29 @@ }, { "type": "SwitchStatement", - "start": 42148, - "end": 44259, + "start": 42801, + "end": 44912, "loc": { "start": { - "line": 1113, + "line": 1114, "column": 20 }, "end": { - "line": 1153, + "line": 1154, "column": 21 } }, "discriminant": { "type": "Identifier", - "start": 42156, - "end": 42163, + "start": 42809, + "end": 42816, "loc": { "start": { - "line": 1113, + "line": 1114, "column": 28 }, "end": { - "line": 1113, + "line": 1114, "column": 35 }, "identifierName": "fileExt" @@ -119146,30 +119312,30 @@ "cases": [ { "type": "SwitchCase", - "start": 42191, - "end": 42203, + "start": 42844, + "end": 42856, "loc": { "start": { - "line": 1114, + "line": 1115, "column": 24 }, "end": { - "line": 1114, + "line": 1115, "column": 36 } }, "consequent": [], "test": { "type": "StringLiteral", - "start": 42196, - "end": 42202, + "start": 42849, + "end": 42855, "loc": { "start": { - "line": 1114, + "line": 1115, "column": 29 }, "end": { - "line": 1114, + "line": 1115, "column": 35 } }, @@ -119182,30 +119348,30 @@ }, { "type": "SwitchCase", - "start": 42228, - "end": 42239, + "start": 42881, + "end": 42892, "loc": { "start": { - "line": 1115, + "line": 1116, "column": 24 }, "end": { - "line": 1115, + "line": 1116, "column": 35 } }, "consequent": [], "test": { "type": "StringLiteral", - "start": 42233, - "end": 42238, + "start": 42886, + "end": 42891, "loc": { "start": { - "line": 1115, + "line": 1116, "column": 29 }, "end": { - "line": 1115, + "line": 1116, "column": 34 } }, @@ -119218,114 +119384,114 @@ }, { "type": "SwitchCase", - "start": 42264, - "end": 44040, + "start": 42917, + "end": 44693, "loc": { "start": { - "line": 1116, + "line": 1117, "column": 24 }, "end": { - "line": 1147, + "line": 1148, "column": 34 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 42304, - "end": 44005, + "start": 42957, + "end": 44658, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1146, + "line": 1147, "column": 31 } }, "expression": { "type": "CallExpression", - "start": 42304, - "end": 44004, + "start": 42957, + "end": 44657, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1146, + "line": 1147, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 42304, - "end": 43722, + "start": 42957, + "end": 44375, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1141, + "line": 1142, "column": 36 } }, "object": { "type": "CallExpression", - "start": 42304, - "end": 43716, + "start": 42957, + "end": 44369, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1141, + "line": 1142, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 42304, - "end": 42488, + "start": 42957, + "end": 43141, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1121, + "line": 1122, "column": 35 } }, "object": { "type": "CallExpression", - "start": 42304, - "end": 42483, + "start": 42957, + "end": 43136, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1121, + "line": 1122, "column": 30 } }, "callee": { "type": "Identifier", - "start": 42304, - "end": 42308, + "start": 42957, + "end": 42961, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1117, + "line": 1118, "column": 32 }, "identifierName": "load" @@ -119335,15 +119501,15 @@ "arguments": [ { "type": "Identifier", - "start": 42309, - "end": 42312, + "start": 42962, + "end": 42965, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 33 }, "end": { - "line": 1117, + "line": 1118, "column": 36 }, "identifierName": "src" @@ -119352,15 +119518,15 @@ }, { "type": "Identifier", - "start": 42314, - "end": 42325, + "start": 42967, + "end": 42978, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 38 }, "end": { - "line": 1117, + "line": 1118, "column": 49 }, "identifierName": "ImageLoader" @@ -119369,30 +119535,30 @@ }, { "type": "ObjectExpression", - "start": 42327, - "end": 42482, + "start": 42980, + "end": 43135, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 51 }, "end": { - "line": 1121, + "line": 1122, "column": 29 } }, "properties": [ { "type": "ObjectProperty", - "start": 42361, - "end": 42452, + "start": 43014, + "end": 43105, "loc": { "start": { - "line": 1118, + "line": 1119, "column": 32 }, "end": { - "line": 1120, + "line": 1121, "column": 33 } }, @@ -119401,15 +119567,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 42361, - "end": 42366, + "start": 43014, + "end": 43019, "loc": { "start": { - "line": 1118, + "line": 1119, "column": 32 }, "end": { - "line": 1118, + "line": 1119, "column": 37 }, "identifierName": "image" @@ -119418,30 +119584,30 @@ }, "value": { "type": "ObjectExpression", - "start": 42368, - "end": 42452, + "start": 43021, + "end": 43105, "loc": { "start": { - "line": 1118, + "line": 1119, "column": 39 }, "end": { - "line": 1120, + "line": 1121, "column": 33 } }, "properties": [ { "type": "ObjectProperty", - "start": 42406, - "end": 42418, + "start": 43059, + "end": 43071, "loc": { "start": { - "line": 1119, + "line": 1120, "column": 36 }, "end": { - "line": 1119, + "line": 1120, "column": 48 } }, @@ -119450,15 +119616,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 42406, - "end": 42410, + "start": 43059, + "end": 43063, "loc": { "start": { - "line": 1119, + "line": 1120, "column": 36 }, "end": { - "line": 1119, + "line": 1120, "column": 40 }, "identifierName": "type" @@ -119467,15 +119633,15 @@ }, "value": { "type": "StringLiteral", - "start": 42412, - "end": 42418, + "start": 43065, + "end": 43071, "loc": { "start": { - "line": 1119, + "line": 1120, "column": 42 }, "end": { - "line": 1119, + "line": 1120, "column": 48 } }, @@ -119495,15 +119661,15 @@ }, "property": { "type": "Identifier", - "start": 42484, - "end": 42488, + "start": 43137, + "end": 43141, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 31 }, "end": { - "line": 1121, + "line": 1122, "column": 35 }, "identifierName": "then" @@ -119515,15 +119681,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 42489, - "end": 43715, + "start": 43142, + "end": 44368, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 36 }, "end": { - "line": 1141, + "line": 1142, "column": 29 } }, @@ -119534,15 +119700,15 @@ "params": [ { "type": "Identifier", - "start": 42490, - "end": 42499, + "start": 43143, + "end": 43152, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 37 }, "end": { - "line": 1121, + "line": 1122, "column": 46 }, "identifierName": "imageData" @@ -119552,58 +119718,58 @@ ], "body": { "type": "BlockStatement", - "start": 42504, - "end": 43715, + "start": 43157, + "end": 44368, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 51 }, "end": { - "line": 1141, + "line": 1142, "column": 29 } }, "body": [ { "type": "IfStatement", - "start": 42538, - "end": 43685, + "start": 43191, + "end": 44338, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 32 }, "end": { - "line": 1140, + "line": 1141, "column": 33 } }, "test": { "type": "MemberExpression", - "start": 42542, - "end": 42560, + "start": 43195, + "end": 43213, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 36 }, "end": { - "line": 1122, + "line": 1123, "column": 54 } }, "object": { "type": "Identifier", - "start": 42542, - "end": 42549, + "start": 43195, + "end": 43202, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 36 }, "end": { - "line": 1122, + "line": 1123, "column": 43 }, "identifierName": "texture" @@ -119612,15 +119778,15 @@ }, "property": { "type": "Identifier", - "start": 42550, - "end": 42560, + "start": 43203, + "end": 43213, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 44 }, "end": { - "line": 1122, + "line": 1123, "column": 54 }, "identifierName": "compressed" @@ -119631,114 +119797,114 @@ }, "consequent": { "type": "BlockStatement", - "start": 42562, - "end": 43416, + "start": 43215, + "end": 44069, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 56 }, "end": { - "line": 1135, + "line": 1136, "column": 33 } }, "body": [ { "type": "ExpressionStatement", - "start": 42600, - "end": 43382, + "start": 43253, + "end": 44035, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1134, + "line": 1135, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 42600, - "end": 43381, + "start": 43253, + "end": 44034, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1134, + "line": 1135, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 42600, - "end": 43057, + "start": 43253, + "end": 43710, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1129, + "line": 1130, "column": 44 } }, "object": { "type": "CallExpression", - "start": 42600, - "end": 43051, + "start": 43253, + "end": 43704, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1129, + "line": 1130, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 42600, - "end": 42656, + "start": 43253, + "end": 43309, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1123, + "line": 1124, "column": 92 } }, "object": { "type": "CallExpression", - "start": 42600, - "end": 42651, + "start": 43253, + "end": 43304, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1123, + "line": 1124, "column": 87 } }, "callee": { "type": "Identifier", - "start": 42600, - "end": 42606, + "start": 43253, + "end": 43259, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1123, + "line": 1124, "column": 42 }, "identifierName": "encode" @@ -119748,15 +119914,15 @@ "arguments": [ { "type": "Identifier", - "start": 42607, - "end": 42616, + "start": 43260, + "end": 43269, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 43 }, "end": { - "line": 1123, + "line": 1124, "column": 52 }, "identifierName": "imageData" @@ -119765,15 +119931,15 @@ }, { "type": "Identifier", - "start": 42618, - "end": 42633, + "start": 43271, + "end": 43286, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 54 }, "end": { - "line": 1123, + "line": 1124, "column": 69 }, "identifierName": "KTX2BasisWriter" @@ -119782,15 +119948,15 @@ }, { "type": "Identifier", - "start": 42635, - "end": 42650, + "start": 43288, + "end": 43303, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 71 }, "end": { - "line": 1123, + "line": 1124, "column": 86 }, "identifierName": "encodingOptions" @@ -119801,15 +119967,15 @@ }, "property": { "type": "Identifier", - "start": 42652, - "end": 42656, + "start": 43305, + "end": 43309, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 88 }, "end": { - "line": 1123, + "line": 1124, "column": 92 }, "identifierName": "then" @@ -119821,15 +119987,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 42657, - "end": 43050, + "start": 43310, + "end": 43703, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 93 }, "end": { - "line": 1129, + "line": 1130, "column": 37 } }, @@ -119840,15 +120006,15 @@ "params": [ { "type": "Identifier", - "start": 42658, - "end": 42669, + "start": 43311, + "end": 43322, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 94 }, "end": { - "line": 1123, + "line": 1124, "column": 105 }, "identifierName": "encodedData" @@ -119858,59 +120024,59 @@ ], "body": { "type": "BlockStatement", - "start": 42674, - "end": 43050, + "start": 43327, + "end": 43703, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 110 }, "end": { - "line": 1129, + "line": 1130, "column": 37 } }, "body": [ { "type": "VariableDeclaration", - "start": 42716, - "end": 42769, + "start": 43369, + "end": 43422, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 40 }, "end": { - "line": 1124, + "line": 1125, "column": 93 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 42722, - "end": 42768, + "start": 43375, + "end": 43421, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 46 }, "end": { - "line": 1124, + "line": 1125, "column": 92 } }, "id": { "type": "Identifier", - "start": 42722, - "end": 42738, + "start": 43375, + "end": 43391, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 46 }, "end": { - "line": 1124, + "line": 1125, "column": 62 }, "identifierName": "encodedImageData" @@ -119919,29 +120085,29 @@ }, "init": { "type": "NewExpression", - "start": 42741, - "end": 42768, + "start": 43394, + "end": 43421, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 65 }, "end": { - "line": 1124, + "line": 1125, "column": 92 } }, "callee": { "type": "Identifier", - "start": 42745, - "end": 42755, + "start": 43398, + "end": 43408, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 69 }, "end": { - "line": 1124, + "line": 1125, "column": 79 }, "identifierName": "Uint8Array" @@ -119951,15 +120117,15 @@ "arguments": [ { "type": "Identifier", - "start": 42756, - "end": 42767, + "start": 43409, + "end": 43420, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 80 }, "end": { - "line": 1124, + "line": 1125, "column": 91 }, "identifierName": "encodedData" @@ -119974,58 +120140,58 @@ }, { "type": "ExpressionStatement", - "start": 42810, - "end": 42847, + "start": 43463, + "end": 43500, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 40 }, "end": { - "line": 1125, + "line": 1126, "column": 77 } }, "expression": { "type": "AssignmentExpression", - "start": 42810, - "end": 42846, + "start": 43463, + "end": 43499, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 40 }, "end": { - "line": 1125, + "line": 1126, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 42810, - "end": 42827, + "start": 43463, + "end": 43480, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 40 }, "end": { - "line": 1125, + "line": 1126, "column": 57 } }, "object": { "type": "Identifier", - "start": 42810, - "end": 42817, + "start": 43463, + "end": 43470, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 40 }, "end": { - "line": 1125, + "line": 1126, "column": 47 }, "identifierName": "texture" @@ -120034,15 +120200,15 @@ }, "property": { "type": "Identifier", - "start": 42818, - "end": 42827, + "start": 43471, + "end": 43480, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 48 }, "end": { - "line": 1125, + "line": 1126, "column": 57 }, "identifierName": "imageData" @@ -120053,15 +120219,15 @@ }, "right": { "type": "Identifier", - "start": 42830, - "end": 42846, + "start": 43483, + "end": 43499, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 60 }, "end": { - "line": 1125, + "line": 1126, "column": 76 }, "identifierName": "encodedImageData" @@ -120072,43 +120238,43 @@ }, { "type": "IfStatement", - "start": 42888, - "end": 43012, + "start": 43541, + "end": 43665, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 40 }, "end": { - "line": 1128, + "line": 1129, "column": 41 } }, "test": { "type": "BinaryExpression", - "start": 42892, - "end": 42912, + "start": 43545, + "end": 43565, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 44 }, "end": { - "line": 1126, + "line": 1127, "column": 64 } }, "left": { "type": "UpdateExpression", - "start": 42892, - "end": 42907, + "start": 43545, + "end": 43560, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 44 }, "end": { - "line": 1126, + "line": 1127, "column": 59 } }, @@ -120116,15 +120282,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 42894, - "end": 42907, + "start": 43547, + "end": 43560, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 46 }, "end": { - "line": 1126, + "line": 1127, "column": 59 }, "identifierName": "countTextures" @@ -120138,15 +120304,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 42911, - "end": 42912, + "start": 43564, + "end": 43565, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 63 }, "end": { - "line": 1126, + "line": 1127, "column": 64 } }, @@ -120159,58 +120325,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 42914, - "end": 43012, + "start": 43567, + "end": 43665, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 66 }, "end": { - "line": 1128, + "line": 1129, "column": 41 } }, "body": [ { "type": "ExpressionStatement", - "start": 42960, - "end": 42970, + "start": 43613, + "end": 43623, "loc": { "start": { - "line": 1127, + "line": 1128, "column": 44 }, "end": { - "line": 1127, + "line": 1128, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 42960, - "end": 42969, + "start": 43613, + "end": 43622, "loc": { "start": { - "line": 1127, + "line": 1128, "column": 44 }, "end": { - "line": 1127, + "line": 1128, "column": 53 } }, "callee": { "type": "Identifier", - "start": 42960, - "end": 42967, + "start": 43613, + "end": 43620, "loc": { "start": { - "line": 1127, + "line": 1128, "column": 44 }, "end": { - "line": 1127, + "line": 1128, "column": 51 }, "identifierName": "resolve" @@ -120233,15 +120399,15 @@ }, "property": { "type": "Identifier", - "start": 43052, - "end": 43057, + "start": 43705, + "end": 43710, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 39 }, "end": { - "line": 1129, + "line": 1130, "column": 44 }, "identifierName": "catch" @@ -120253,15 +120419,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 43058, - "end": 43380, + "start": 43711, + "end": 44033, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 45 }, "end": { - "line": 1134, + "line": 1135, "column": 37 } }, @@ -120272,15 +120438,15 @@ "params": [ { "type": "Identifier", - "start": 43059, - "end": 43062, + "start": 43712, + "end": 43715, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 46 }, "end": { - "line": 1129, + "line": 1130, "column": 49 }, "identifierName": "err" @@ -120290,72 +120456,72 @@ ], "body": { "type": "BlockStatement", - "start": 43067, - "end": 43380, + "start": 43720, + "end": 44033, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 54 }, "end": { - "line": 1134, + "line": 1135, "column": 37 } }, "body": [ { "type": "ExpressionStatement", - "start": 43109, - "end": 43177, + "start": 43762, + "end": 43830, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 40 }, "end": { - "line": 1130, + "line": 1131, "column": 108 } }, "expression": { "type": "CallExpression", - "start": 43109, - "end": 43176, + "start": 43762, + "end": 43829, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 40 }, "end": { - "line": 1130, + "line": 1131, "column": 107 } }, "callee": { "type": "MemberExpression", - "start": 43109, - "end": 43122, + "start": 43762, + "end": 43775, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 40 }, "end": { - "line": 1130, + "line": 1131, "column": 53 } }, "object": { "type": "Identifier", - "start": 43109, - "end": 43116, + "start": 43762, + "end": 43769, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 40 }, "end": { - "line": 1130, + "line": 1131, "column": 47 }, "identifierName": "console" @@ -120364,15 +120530,15 @@ }, "property": { "type": "Identifier", - "start": 43117, - "end": 43122, + "start": 43770, + "end": 43775, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 48 }, "end": { - "line": 1130, + "line": 1131, "column": 53 }, "identifierName": "error" @@ -120384,29 +120550,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 43123, - "end": 43175, + "start": 43776, + "end": 43828, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 54 }, "end": { - "line": 1130, + "line": 1131, "column": 106 } }, "left": { "type": "StringLiteral", - "start": 43123, - "end": 43169, + "start": 43776, + "end": 43822, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 54 }, "end": { - "line": 1130, + "line": 1131, "column": 100 } }, @@ -120419,15 +120585,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 43172, - "end": 43175, + "start": 43825, + "end": 43828, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 103 }, "end": { - "line": 1130, + "line": 1131, "column": 106 }, "identifierName": "err" @@ -120440,43 +120606,43 @@ }, { "type": "IfStatement", - "start": 43218, - "end": 43342, + "start": 43871, + "end": 43995, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 40 }, "end": { - "line": 1133, + "line": 1134, "column": 41 } }, "test": { "type": "BinaryExpression", - "start": 43222, - "end": 43242, + "start": 43875, + "end": 43895, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 44 }, "end": { - "line": 1131, + "line": 1132, "column": 64 } }, "left": { "type": "UpdateExpression", - "start": 43222, - "end": 43237, + "start": 43875, + "end": 43890, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 44 }, "end": { - "line": 1131, + "line": 1132, "column": 59 } }, @@ -120484,15 +120650,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 43224, - "end": 43237, + "start": 43877, + "end": 43890, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 46 }, "end": { - "line": 1131, + "line": 1132, "column": 59 }, "identifierName": "countTextures" @@ -120506,15 +120672,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 43241, - "end": 43242, + "start": 43894, + "end": 43895, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 63 }, "end": { - "line": 1131, + "line": 1132, "column": 64 } }, @@ -120527,58 +120693,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 43244, - "end": 43342, + "start": 43897, + "end": 43995, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 66 }, "end": { - "line": 1133, + "line": 1134, "column": 41 } }, "body": [ { "type": "ExpressionStatement", - "start": 43290, - "end": 43300, + "start": 43943, + "end": 43953, "loc": { "start": { - "line": 1132, + "line": 1133, "column": 44 }, "end": { - "line": 1132, + "line": 1133, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 43290, - "end": 43299, + "start": 43943, + "end": 43952, "loc": { "start": { - "line": 1132, + "line": 1133, "column": 44 }, "end": { - "line": 1132, + "line": 1133, "column": 53 } }, "callee": { "type": "Identifier", - "start": 43290, - "end": 43297, + "start": 43943, + "end": 43950, "loc": { "start": { - "line": 1132, + "line": 1133, "column": 44 }, "end": { - "line": 1132, + "line": 1133, "column": 51 }, "identifierName": "resolve" @@ -120605,73 +120771,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 43422, - "end": 43685, + "start": 44075, + "end": 44338, "loc": { "start": { - "line": 1135, + "line": 1136, "column": 39 }, "end": { - "line": 1140, + "line": 1141, "column": 33 } }, "body": [ { "type": "ExpressionStatement", - "start": 43460, - "end": 43498, + "start": 44113, + "end": 44151, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 36 }, "end": { - "line": 1136, + "line": 1137, "column": 74 } }, "expression": { "type": "AssignmentExpression", - "start": 43460, - "end": 43497, + "start": 44113, + "end": 44150, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 36 }, "end": { - "line": 1136, + "line": 1137, "column": 73 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 43460, - "end": 43477, + "start": 44113, + "end": 44130, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 36 }, "end": { - "line": 1136, + "line": 1137, "column": 53 } }, "object": { "type": "Identifier", - "start": 43460, - "end": 43467, + "start": 44113, + "end": 44120, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 36 }, "end": { - "line": 1136, + "line": 1137, "column": 43 }, "identifierName": "texture" @@ -120680,15 +120846,15 @@ }, "property": { "type": "Identifier", - "start": 43468, - "end": 43477, + "start": 44121, + "end": 44130, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 44 }, "end": { - "line": 1136, + "line": 1137, "column": 53 }, "identifierName": "imageData" @@ -120699,29 +120865,29 @@ }, "right": { "type": "NewExpression", - "start": 43480, - "end": 43497, + "start": 44133, + "end": 44150, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 56 }, "end": { - "line": 1136, + "line": 1137, "column": 73 } }, "callee": { "type": "Identifier", - "start": 43484, - "end": 43494, + "start": 44137, + "end": 44147, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 60 }, "end": { - "line": 1136, + "line": 1137, "column": 70 }, "identifierName": "Uint8Array" @@ -120731,15 +120897,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 43495, - "end": 43496, + "start": 44148, + "end": 44149, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 71 }, "end": { - "line": 1136, + "line": 1137, "column": 72 } }, @@ -120755,43 +120921,43 @@ }, { "type": "IfStatement", - "start": 43535, - "end": 43651, + "start": 44188, + "end": 44304, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 36 }, "end": { - "line": 1139, + "line": 1140, "column": 37 } }, "test": { "type": "BinaryExpression", - "start": 43539, - "end": 43559, + "start": 44192, + "end": 44212, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 40 }, "end": { - "line": 1137, + "line": 1138, "column": 60 } }, "left": { "type": "UpdateExpression", - "start": 43539, - "end": 43554, + "start": 44192, + "end": 44207, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 40 }, "end": { - "line": 1137, + "line": 1138, "column": 55 } }, @@ -120799,15 +120965,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 43541, - "end": 43554, + "start": 44194, + "end": 44207, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 42 }, "end": { - "line": 1137, + "line": 1138, "column": 55 }, "identifierName": "countTextures" @@ -120821,15 +120987,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 43558, - "end": 43559, + "start": 44211, + "end": 44212, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 59 }, "end": { - "line": 1137, + "line": 1138, "column": 60 } }, @@ -120842,58 +121008,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 43561, - "end": 43651, + "start": 44214, + "end": 44304, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 62 }, "end": { - "line": 1139, + "line": 1140, "column": 37 } }, "body": [ { "type": "ExpressionStatement", - "start": 43603, - "end": 43613, + "start": 44256, + "end": 44266, "loc": { "start": { - "line": 1138, + "line": 1139, "column": 40 }, "end": { - "line": 1138, + "line": 1139, "column": 50 } }, "expression": { "type": "CallExpression", - "start": 43603, - "end": 43612, + "start": 44256, + "end": 44265, "loc": { "start": { - "line": 1138, + "line": 1139, "column": 40 }, "end": { - "line": 1138, + "line": 1139, "column": 49 } }, "callee": { "type": "Identifier", - "start": 43603, - "end": 43610, + "start": 44256, + "end": 44263, "loc": { "start": { - "line": 1138, + "line": 1139, "column": 40 }, "end": { - "line": 1138, + "line": 1139, "column": 47 }, "identifierName": "resolve" @@ -120920,15 +121086,15 @@ }, "property": { "type": "Identifier", - "start": 43717, - "end": 43722, + "start": 44370, + "end": 44375, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 31 }, "end": { - "line": 1141, + "line": 1142, "column": 36 }, "identifierName": "catch" @@ -120940,15 +121106,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 43723, - "end": 44003, + "start": 44376, + "end": 44656, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 37 }, "end": { - "line": 1146, + "line": 1147, "column": 29 } }, @@ -120959,15 +121125,15 @@ "params": [ { "type": "Identifier", - "start": 43724, - "end": 43727, + "start": 44377, + "end": 44380, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 38 }, "end": { - "line": 1141, + "line": 1142, "column": 41 }, "identifierName": "err" @@ -120977,72 +121143,72 @@ ], "body": { "type": "BlockStatement", - "start": 43732, - "end": 44003, + "start": 44385, + "end": 44656, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 46 }, "end": { - "line": 1146, + "line": 1147, "column": 29 } }, "body": [ { "type": "ExpressionStatement", - "start": 43766, - "end": 43832, + "start": 44419, + "end": 44485, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 32 }, "end": { - "line": 1142, + "line": 1143, "column": 98 } }, "expression": { "type": "CallExpression", - "start": 43766, - "end": 43831, + "start": 44419, + "end": 44484, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 32 }, "end": { - "line": 1142, + "line": 1143, "column": 97 } }, "callee": { "type": "MemberExpression", - "start": 43766, - "end": 43779, + "start": 44419, + "end": 44432, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 32 }, "end": { - "line": 1142, + "line": 1143, "column": 45 } }, "object": { "type": "Identifier", - "start": 43766, - "end": 43773, + "start": 44419, + "end": 44426, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 32 }, "end": { - "line": 1142, + "line": 1143, "column": 39 }, "identifierName": "console" @@ -121051,15 +121217,15 @@ }, "property": { "type": "Identifier", - "start": 43774, - "end": 43779, + "start": 44427, + "end": 44432, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 40 }, "end": { - "line": 1142, + "line": 1143, "column": 45 }, "identifierName": "error" @@ -121071,29 +121237,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 43780, - "end": 43830, + "start": 44433, + "end": 44483, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 46 }, "end": { - "line": 1142, + "line": 1143, "column": 96 } }, "left": { "type": "StringLiteral", - "start": 43780, - "end": 43824, + "start": 44433, + "end": 44477, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 46 }, "end": { - "line": 1142, + "line": 1143, "column": 90 } }, @@ -121106,15 +121272,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 43827, - "end": 43830, + "start": 44480, + "end": 44483, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 93 }, "end": { - "line": 1142, + "line": 1143, "column": 96 }, "identifierName": "err" @@ -121127,43 +121293,43 @@ }, { "type": "IfStatement", - "start": 43865, - "end": 43973, + "start": 44518, + "end": 44626, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 32 }, "end": { - "line": 1145, + "line": 1146, "column": 33 } }, "test": { "type": "BinaryExpression", - "start": 43869, - "end": 43889, + "start": 44522, + "end": 44542, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 36 }, "end": { - "line": 1143, + "line": 1144, "column": 56 } }, "left": { "type": "UpdateExpression", - "start": 43869, - "end": 43884, + "start": 44522, + "end": 44537, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 36 }, "end": { - "line": 1143, + "line": 1144, "column": 51 } }, @@ -121171,15 +121337,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 43871, - "end": 43884, + "start": 44524, + "end": 44537, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 38 }, "end": { - "line": 1143, + "line": 1144, "column": 51 }, "identifierName": "countTextures" @@ -121193,15 +121359,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 43888, - "end": 43889, + "start": 44541, + "end": 44542, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 55 }, "end": { - "line": 1143, + "line": 1144, "column": 56 } }, @@ -121214,58 +121380,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 43891, - "end": 43973, + "start": 44544, + "end": 44626, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 58 }, "end": { - "line": 1145, + "line": 1146, "column": 33 } }, "body": [ { "type": "ExpressionStatement", - "start": 43929, - "end": 43939, + "start": 44582, + "end": 44592, "loc": { "start": { - "line": 1144, + "line": 1145, "column": 36 }, "end": { - "line": 1144, + "line": 1145, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 43929, - "end": 43938, + "start": 44582, + "end": 44591, "loc": { "start": { - "line": 1144, + "line": 1145, "column": 36 }, "end": { - "line": 1144, + "line": 1145, "column": 45 } }, "callee": { "type": "Identifier", - "start": 43929, - "end": 43936, + "start": 44582, + "end": 44589, "loc": { "start": { - "line": 1144, + "line": 1145, "column": 36 }, "end": { - "line": 1144, + "line": 1145, "column": 43 }, "identifierName": "resolve" @@ -121289,15 +121455,15 @@ }, { "type": "BreakStatement", - "start": 44034, - "end": 44040, + "start": 44687, + "end": 44693, "loc": { "start": { - "line": 1147, + "line": 1148, "column": 28 }, "end": { - "line": 1147, + "line": 1148, "column": 34 } }, @@ -121306,15 +121472,15 @@ ], "test": { "type": "StringLiteral", - "start": 42269, - "end": 42274, + "start": 42922, + "end": 42927, "loc": { "start": { - "line": 1116, + "line": 1117, "column": 29 }, "end": { - "line": 1116, + "line": 1117, "column": 34 } }, @@ -121327,58 +121493,58 @@ }, { "type": "SwitchCase", - "start": 44065, - "end": 44237, + "start": 44718, + "end": 44890, "loc": { "start": { - "line": 1148, + "line": 1149, "column": 24 }, "end": { - "line": 1152, + "line": 1153, "column": 34 } }, "consequent": [ { "type": "IfStatement", - "start": 44102, - "end": 44202, + "start": 44755, + "end": 44855, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 28 }, "end": { - "line": 1151, + "line": 1152, "column": 29 } }, "test": { "type": "BinaryExpression", - "start": 44106, - "end": 44126, + "start": 44759, + "end": 44779, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 32 }, "end": { - "line": 1149, + "line": 1150, "column": 52 } }, "left": { "type": "UpdateExpression", - "start": 44106, - "end": 44121, + "start": 44759, + "end": 44774, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 32 }, "end": { - "line": 1149, + "line": 1150, "column": 47 } }, @@ -121386,15 +121552,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 44108, - "end": 44121, + "start": 44761, + "end": 44774, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 34 }, "end": { - "line": 1149, + "line": 1150, "column": 47 }, "identifierName": "countTextures" @@ -121408,15 +121574,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 44125, - "end": 44126, + "start": 44778, + "end": 44779, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 51 }, "end": { - "line": 1149, + "line": 1150, "column": 52 } }, @@ -121429,58 +121595,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 44128, - "end": 44202, + "start": 44781, + "end": 44855, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 54 }, "end": { - "line": 1151, + "line": 1152, "column": 29 } }, "body": [ { "type": "ExpressionStatement", - "start": 44162, - "end": 44172, + "start": 44815, + "end": 44825, "loc": { "start": { - "line": 1150, + "line": 1151, "column": 32 }, "end": { - "line": 1150, + "line": 1151, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 44162, - "end": 44171, + "start": 44815, + "end": 44824, "loc": { "start": { - "line": 1150, + "line": 1151, "column": 32 }, "end": { - "line": 1150, + "line": 1151, "column": 41 } }, "callee": { "type": "Identifier", - "start": 44162, - "end": 44169, + "start": 44815, + "end": 44822, "loc": { "start": { - "line": 1150, + "line": 1151, "column": 32 }, "end": { - "line": 1150, + "line": 1151, "column": 39 }, "identifierName": "resolve" @@ -121497,15 +121663,15 @@ }, { "type": "BreakStatement", - "start": 44231, - "end": 44237, + "start": 44884, + "end": 44890, "loc": { "start": { - "line": 1152, + "line": 1153, "column": 28 }, "end": { - "line": 1152, + "line": 1153, "column": 34 } }, @@ -121523,43 +121689,43 @@ }, { "type": "IfStatement", - "start": 44295, - "end": 45377, + "start": 44948, + "end": 46030, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 16 }, "end": { - "line": 1179, + "line": 1180, "column": 17 } }, "test": { "type": "MemberExpression", - "start": 44299, - "end": 44316, + "start": 44952, + "end": 44969, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 20 }, "end": { - "line": 1156, + "line": 1157, "column": 37 } }, "object": { "type": "Identifier", - "start": 44299, - "end": 44306, + "start": 44952, + "end": 44959, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 20 }, "end": { - "line": 1156, + "line": 1157, "column": 27 }, "identifierName": "texture" @@ -121568,15 +121734,15 @@ }, "property": { "type": "Identifier", - "start": 44307, - "end": 44316, + "start": 44960, + "end": 44969, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 28 }, "end": { - "line": 1156, + "line": 1157, "column": 37 }, "identifierName": "imageData" @@ -121587,58 +121753,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 44318, - "end": 45377, + "start": 44971, + "end": 46030, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 39 }, "end": { - "line": 1179, + "line": 1180, "column": 17 } }, "body": [ { "type": "IfStatement", - "start": 44432, - "end": 45359, + "start": 45085, + "end": 46012, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 20 }, "end": { - "line": 1178, + "line": 1179, "column": 21 } }, "test": { "type": "MemberExpression", - "start": 44436, - "end": 44454, + "start": 45089, + "end": 45107, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 24 }, "end": { - "line": 1160, + "line": 1161, "column": 42 } }, "object": { "type": "Identifier", - "start": 44436, - "end": 44443, + "start": 45089, + "end": 45096, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 24 }, "end": { - "line": 1160, + "line": 1161, "column": 31 }, "identifierName": "texture" @@ -121648,15 +121814,15 @@ }, "property": { "type": "Identifier", - "start": 44444, - "end": 44454, + "start": 45097, + "end": 45107, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 32 }, "end": { - "line": 1160, + "line": 1161, "column": 42 }, "identifierName": "compressed" @@ -121668,114 +121834,114 @@ }, "consequent": { "type": "BlockStatement", - "start": 44456, - "end": 45150, + "start": 45109, + "end": 45803, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 44 }, "end": { - "line": 1173, + "line": 1174, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 44482, - "end": 45128, + "start": 45135, + "end": 45781, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1172, + "line": 1173, "column": 27 } }, "expression": { "type": "CallExpression", - "start": 44482, - "end": 45127, + "start": 45135, + "end": 45780, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1172, + "line": 1173, "column": 26 } }, "callee": { "type": "MemberExpression", - "start": 44482, - "end": 44863, + "start": 45135, + "end": 45516, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1167, + "line": 1168, "column": 36 } }, "object": { "type": "CallExpression", - "start": 44482, - "end": 44857, + "start": 45135, + "end": 45510, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1167, + "line": 1168, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 44482, - "end": 44575, + "start": 45135, + "end": 45228, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1162, + "line": 1163, "column": 33 } }, "object": { "type": "CallExpression", - "start": 44482, - "end": 44541, + "start": 45135, + "end": 45194, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1161, + "line": 1162, "column": 83 } }, "callee": { "type": "Identifier", - "start": 44482, - "end": 44488, + "start": 45135, + "end": 45141, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1161, + "line": 1162, "column": 30 }, "identifierName": "encode" @@ -121785,29 +121951,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 44489, - "end": 44506, + "start": 45142, + "end": 45159, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 31 }, "end": { - "line": 1161, + "line": 1162, "column": 48 } }, "object": { "type": "Identifier", - "start": 44489, - "end": 44496, + "start": 45142, + "end": 45149, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 31 }, "end": { - "line": 1161, + "line": 1162, "column": 38 }, "identifierName": "texture" @@ -121816,15 +121982,15 @@ }, "property": { "type": "Identifier", - "start": 44497, - "end": 44506, + "start": 45150, + "end": 45159, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 39 }, "end": { - "line": 1161, + "line": 1162, "column": 48 }, "identifierName": "imageData" @@ -121835,15 +122001,15 @@ }, { "type": "Identifier", - "start": 44508, - "end": 44523, + "start": 45161, + "end": 45176, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 50 }, "end": { - "line": 1161, + "line": 1162, "column": 65 }, "identifierName": "KTX2BasisWriter" @@ -121852,15 +122018,15 @@ }, { "type": "Identifier", - "start": 44525, - "end": 44540, + "start": 45178, + "end": 45193, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 67 }, "end": { - "line": 1161, + "line": 1162, "column": 82 }, "identifierName": "encodingOptions" @@ -121871,15 +122037,15 @@ }, "property": { "type": "Identifier", - "start": 44571, - "end": 44575, + "start": 45224, + "end": 45228, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 29 }, "end": { - "line": 1162, + "line": 1163, "column": 33 }, "identifierName": "then" @@ -121891,15 +122057,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 44576, - "end": 44856, + "start": 45229, + "end": 45509, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 34 }, "end": { - "line": 1167, + "line": 1168, "column": 29 } }, @@ -121910,15 +122076,15 @@ "params": [ { "type": "Identifier", - "start": 44577, - "end": 44593, + "start": 45230, + "end": 45246, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 35 }, "end": { - "line": 1162, + "line": 1163, "column": 51 }, "identifierName": "encodedImageData" @@ -121928,73 +122094,73 @@ ], "body": { "type": "BlockStatement", - "start": 44598, - "end": 44856, + "start": 45251, + "end": 45509, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 56 }, "end": { - "line": 1167, + "line": 1168, "column": 29 } }, "body": [ { "type": "ExpressionStatement", - "start": 44632, - "end": 44685, + "start": 45285, + "end": 45338, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 32 }, "end": { - "line": 1163, + "line": 1164, "column": 85 } }, "expression": { "type": "AssignmentExpression", - "start": 44632, - "end": 44684, + "start": 45285, + "end": 45337, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 32 }, "end": { - "line": 1163, + "line": 1164, "column": 84 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 44632, - "end": 44649, + "start": 45285, + "end": 45302, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 32 }, "end": { - "line": 1163, + "line": 1164, "column": 49 } }, "object": { "type": "Identifier", - "start": 44632, - "end": 44639, + "start": 45285, + "end": 45292, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 32 }, "end": { - "line": 1163, + "line": 1164, "column": 39 }, "identifierName": "texture" @@ -122003,15 +122169,15 @@ }, "property": { "type": "Identifier", - "start": 44640, - "end": 44649, + "start": 45293, + "end": 45302, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 40 }, "end": { - "line": 1163, + "line": 1164, "column": 49 }, "identifierName": "imageData" @@ -122022,29 +122188,29 @@ }, "right": { "type": "NewExpression", - "start": 44652, - "end": 44684, + "start": 45305, + "end": 45337, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 52 }, "end": { - "line": 1163, + "line": 1164, "column": 84 } }, "callee": { "type": "Identifier", - "start": 44656, - "end": 44666, + "start": 45309, + "end": 45319, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 56 }, "end": { - "line": 1163, + "line": 1164, "column": 66 }, "identifierName": "Uint8Array" @@ -122054,15 +122220,15 @@ "arguments": [ { "type": "Identifier", - "start": 44667, - "end": 44683, + "start": 45320, + "end": 45336, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 67 }, "end": { - "line": 1163, + "line": 1164, "column": 83 }, "identifierName": "encodedImageData" @@ -122075,43 +122241,43 @@ }, { "type": "IfStatement", - "start": 44718, - "end": 44826, + "start": 45371, + "end": 45479, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 32 }, "end": { - "line": 1166, + "line": 1167, "column": 33 } }, "test": { "type": "BinaryExpression", - "start": 44722, - "end": 44742, + "start": 45375, + "end": 45395, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 36 }, "end": { - "line": 1164, + "line": 1165, "column": 56 } }, "left": { "type": "UpdateExpression", - "start": 44722, - "end": 44737, + "start": 45375, + "end": 45390, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 36 }, "end": { - "line": 1164, + "line": 1165, "column": 51 } }, @@ -122119,15 +122285,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 44724, - "end": 44737, + "start": 45377, + "end": 45390, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 38 }, "end": { - "line": 1164, + "line": 1165, "column": 51 }, "identifierName": "countTextures" @@ -122141,15 +122307,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 44741, - "end": 44742, + "start": 45394, + "end": 45395, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 55 }, "end": { - "line": 1164, + "line": 1165, "column": 56 } }, @@ -122162,58 +122328,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 44744, - "end": 44826, + "start": 45397, + "end": 45479, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 58 }, "end": { - "line": 1166, + "line": 1167, "column": 33 } }, "body": [ { "type": "ExpressionStatement", - "start": 44782, - "end": 44792, + "start": 45435, + "end": 45445, "loc": { "start": { - "line": 1165, + "line": 1166, "column": 36 }, "end": { - "line": 1165, + "line": 1166, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 44782, - "end": 44791, + "start": 45435, + "end": 45444, "loc": { "start": { - "line": 1165, + "line": 1166, "column": 36 }, "end": { - "line": 1165, + "line": 1166, "column": 45 } }, "callee": { "type": "Identifier", - "start": 44782, - "end": 44789, + "start": 45435, + "end": 45442, "loc": { "start": { - "line": 1165, + "line": 1166, "column": 36 }, "end": { - "line": 1165, + "line": 1166, "column": 43 }, "identifierName": "resolve" @@ -122236,15 +122402,15 @@ }, "property": { "type": "Identifier", - "start": 44858, - "end": 44863, + "start": 45511, + "end": 45516, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 31 }, "end": { - "line": 1167, + "line": 1168, "column": 36 }, "identifierName": "catch" @@ -122256,15 +122422,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 44864, - "end": 45126, + "start": 45517, + "end": 45779, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 37 }, "end": { - "line": 1172, + "line": 1173, "column": 25 } }, @@ -122275,15 +122441,15 @@ "params": [ { "type": "Identifier", - "start": 44865, - "end": 44868, + "start": 45518, + "end": 45521, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 38 }, "end": { - "line": 1167, + "line": 1168, "column": 41 }, "identifierName": "err" @@ -122293,72 +122459,72 @@ ], "body": { "type": "BlockStatement", - "start": 44873, - "end": 45126, + "start": 45526, + "end": 45779, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 46 }, "end": { - "line": 1172, + "line": 1173, "column": 25 } }, "body": [ { "type": "ExpressionStatement", - "start": 44903, - "end": 44971, + "start": 45556, + "end": 45624, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 28 }, "end": { - "line": 1168, + "line": 1169, "column": 96 } }, "expression": { "type": "CallExpression", - "start": 44903, - "end": 44970, + "start": 45556, + "end": 45623, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 28 }, "end": { - "line": 1168, + "line": 1169, "column": 95 } }, "callee": { "type": "MemberExpression", - "start": 44903, - "end": 44916, + "start": 45556, + "end": 45569, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 28 }, "end": { - "line": 1168, + "line": 1169, "column": 41 } }, "object": { "type": "Identifier", - "start": 44903, - "end": 44910, + "start": 45556, + "end": 45563, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 28 }, "end": { - "line": 1168, + "line": 1169, "column": 35 }, "identifierName": "console" @@ -122367,15 +122533,15 @@ }, "property": { "type": "Identifier", - "start": 44911, - "end": 44916, + "start": 45564, + "end": 45569, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 36 }, "end": { - "line": 1168, + "line": 1169, "column": 41 }, "identifierName": "error" @@ -122387,29 +122553,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 44917, - "end": 44969, + "start": 45570, + "end": 45622, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 42 }, "end": { - "line": 1168, + "line": 1169, "column": 94 } }, "left": { "type": "StringLiteral", - "start": 44917, - "end": 44963, + "start": 45570, + "end": 45616, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 42 }, "end": { - "line": 1168, + "line": 1169, "column": 88 } }, @@ -122422,15 +122588,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 44966, - "end": 44969, + "start": 45619, + "end": 45622, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 91 }, "end": { - "line": 1168, + "line": 1169, "column": 94 }, "identifierName": "err" @@ -122443,43 +122609,43 @@ }, { "type": "IfStatement", - "start": 45000, - "end": 45100, + "start": 45653, + "end": 45753, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 28 }, "end": { - "line": 1171, + "line": 1172, "column": 29 } }, "test": { "type": "BinaryExpression", - "start": 45004, - "end": 45024, + "start": 45657, + "end": 45677, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 32 }, "end": { - "line": 1169, + "line": 1170, "column": 52 } }, "left": { "type": "UpdateExpression", - "start": 45004, - "end": 45019, + "start": 45657, + "end": 45672, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 32 }, "end": { - "line": 1169, + "line": 1170, "column": 47 } }, @@ -122487,15 +122653,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 45006, - "end": 45019, + "start": 45659, + "end": 45672, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 34 }, "end": { - "line": 1169, + "line": 1170, "column": 47 }, "identifierName": "countTextures" @@ -122509,15 +122675,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 45023, - "end": 45024, + "start": 45676, + "end": 45677, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 51 }, "end": { - "line": 1169, + "line": 1170, "column": 52 } }, @@ -122530,58 +122696,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 45026, - "end": 45100, + "start": 45679, + "end": 45753, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 54 }, "end": { - "line": 1171, + "line": 1172, "column": 29 } }, "body": [ { "type": "ExpressionStatement", - "start": 45060, - "end": 45070, + "start": 45713, + "end": 45723, "loc": { "start": { - "line": 1170, + "line": 1171, "column": 32 }, "end": { - "line": 1170, + "line": 1171, "column": 42 } }, "expression": { "type": "CallExpression", - "start": 45060, - "end": 45069, + "start": 45713, + "end": 45722, "loc": { "start": { - "line": 1170, + "line": 1171, "column": 32 }, "end": { - "line": 1170, + "line": 1171, "column": 41 } }, "callee": { "type": "Identifier", - "start": 45060, - "end": 45067, + "start": 45713, + "end": 45720, "loc": { "start": { - "line": 1170, + "line": 1171, "column": 32 }, "end": { - "line": 1170, + "line": 1171, "column": 39 }, "identifierName": "resolve" @@ -122608,73 +122774,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 45156, - "end": 45359, + "start": 45809, + "end": 46012, "loc": { "start": { - "line": 1173, + "line": 1174, "column": 27 }, "end": { - "line": 1178, + "line": 1179, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 45182, - "end": 45220, + "start": 45835, + "end": 45873, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 24 }, "end": { - "line": 1174, + "line": 1175, "column": 62 } }, "expression": { "type": "AssignmentExpression", - "start": 45182, - "end": 45219, + "start": 45835, + "end": 45872, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 24 }, "end": { - "line": 1174, + "line": 1175, "column": 61 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 45182, - "end": 45199, + "start": 45835, + "end": 45852, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 24 }, "end": { - "line": 1174, + "line": 1175, "column": 41 } }, "object": { "type": "Identifier", - "start": 45182, - "end": 45189, + "start": 45835, + "end": 45842, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 24 }, "end": { - "line": 1174, + "line": 1175, "column": 31 }, "identifierName": "texture" @@ -122683,15 +122849,15 @@ }, "property": { "type": "Identifier", - "start": 45190, - "end": 45199, + "start": 45843, + "end": 45852, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 32 }, "end": { - "line": 1174, + "line": 1175, "column": 41 }, "identifierName": "imageData" @@ -122702,29 +122868,29 @@ }, "right": { "type": "NewExpression", - "start": 45202, - "end": 45219, + "start": 45855, + "end": 45872, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 44 }, "end": { - "line": 1174, + "line": 1175, "column": 61 } }, "callee": { "type": "Identifier", - "start": 45206, - "end": 45216, + "start": 45859, + "end": 45869, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 48 }, "end": { - "line": 1174, + "line": 1175, "column": 58 }, "identifierName": "Uint8Array" @@ -122734,15 +122900,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 45217, - "end": 45218, + "start": 45870, + "end": 45871, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 59 }, "end": { - "line": 1174, + "line": 1175, "column": 60 } }, @@ -122758,43 +122924,43 @@ }, { "type": "IfStatement", - "start": 45245, - "end": 45337, + "start": 45898, + "end": 45990, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 24 }, "end": { - "line": 1177, + "line": 1178, "column": 25 } }, "test": { "type": "BinaryExpression", - "start": 45249, - "end": 45269, + "start": 45902, + "end": 45922, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 28 }, "end": { - "line": 1175, + "line": 1176, "column": 48 } }, "left": { "type": "UpdateExpression", - "start": 45249, - "end": 45264, + "start": 45902, + "end": 45917, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 28 }, "end": { - "line": 1175, + "line": 1176, "column": 43 } }, @@ -122802,15 +122968,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 45251, - "end": 45264, + "start": 45904, + "end": 45917, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 30 }, "end": { - "line": 1175, + "line": 1176, "column": 43 }, "identifierName": "countTextures" @@ -122824,15 +122990,15 @@ "operator": "<=", "right": { "type": "NumericLiteral", - "start": 45268, - "end": 45269, + "start": 45921, + "end": 45922, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 47 }, "end": { - "line": 1175, + "line": 1176, "column": 48 } }, @@ -122845,58 +123011,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 45271, - "end": 45337, + "start": 45924, + "end": 45990, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 50 }, "end": { - "line": 1177, + "line": 1178, "column": 25 } }, "body": [ { "type": "ExpressionStatement", - "start": 45301, - "end": 45311, + "start": 45954, + "end": 45964, "loc": { "start": { - "line": 1176, + "line": 1177, "column": 28 }, "end": { - "line": 1176, + "line": 1177, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 45301, - "end": 45310, + "start": 45954, + "end": 45963, "loc": { "start": { - "line": 1176, + "line": 1177, "column": 28 }, "end": { - "line": 1176, + "line": 1177, "column": 37 } }, "callee": { "type": "Identifier", - "start": 45301, - "end": 45308, + "start": 45954, + "end": 45961, "loc": { "start": { - "line": 1176, + "line": 1177, "column": 28 }, "end": { - "line": 1176, + "line": 1177, "column": 35 }, "identifierName": "resolve" @@ -122918,15 +123084,15 @@ { "type": "CommentLine", "value": " XKTTexture created with XKTModel#createTexture({ imageData: ... })", - "start": 44341, - "end": 44410, + "start": 44994, + "end": 45063, "loc": { "start": { - "line": 1158, + "line": 1159, "column": 20 }, "end": { - "line": 1158, + "line": 1159, "column": 89 } } @@ -122955,15 +123121,15 @@ }, { "type": "ClassMethod", - "start": 45415, - "end": 46444, + "start": 46068, + "end": 47097, "loc": { "start": { - "line": 1184, + "line": 1185, "column": 4 }, "end": { - "line": 1216, + "line": 1217, "column": 5 } }, @@ -122971,15 +123137,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 45415, - "end": 45446, + "start": 46068, + "end": 46099, "loc": { "start": { - "line": 1184, + "line": 1185, "column": 4 }, "end": { - "line": 1184, + "line": 1185, "column": 35 }, "identifierName": "_bakeSingleUseGeometryPositions" @@ -122994,73 +123160,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 45449, - "end": 46444, + "start": 46102, + "end": 47097, "loc": { "start": { - "line": 1184, + "line": 1185, "column": 38 }, "end": { - "line": 1216, + "line": 1217, "column": 5 } }, "body": [ { "type": "ForStatement", - "start": 45460, - "end": 46438, + "start": 46113, + "end": 47091, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 8 }, "end": { - "line": 1215, + "line": 1216, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 45465, - "end": 45505, + "start": 46118, + "end": 46158, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 13 }, "end": { - "line": 1186, + "line": 1187, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45469, - "end": 45474, + "start": 46122, + "end": 46127, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 17 }, "end": { - "line": 1186, + "line": 1187, "column": 22 } }, "id": { "type": "Identifier", - "start": 45469, - "end": 45470, + "start": 46122, + "end": 46123, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 17 }, "end": { - "line": 1186, + "line": 1187, "column": 18 }, "identifierName": "j" @@ -123069,15 +123235,15 @@ }, "init": { "type": "NumericLiteral", - "start": 45473, - "end": 45474, + "start": 46126, + "end": 46127, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 21 }, "end": { - "line": 1186, + "line": 1187, "column": 22 } }, @@ -123090,29 +123256,29 @@ }, { "type": "VariableDeclarator", - "start": 45476, - "end": 45505, + "start": 46129, + "end": 46158, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 24 }, "end": { - "line": 1186, + "line": 1187, "column": 53 } }, "id": { "type": "Identifier", - "start": 45476, - "end": 45480, + "start": 46129, + "end": 46133, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 24 }, "end": { - "line": 1186, + "line": 1187, "column": 28 }, "identifierName": "lenj" @@ -123121,58 +123287,58 @@ }, "init": { "type": "MemberExpression", - "start": 45483, - "end": 45505, + "start": 46136, + "end": 46158, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 31 }, "end": { - "line": 1186, + "line": 1187, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 45483, - "end": 45498, + "start": 46136, + "end": 46151, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 31 }, "end": { - "line": 1186, + "line": 1187, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 45483, - "end": 45487, + "start": 46136, + "end": 46140, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 31 }, "end": { - "line": 1186, + "line": 1187, "column": 35 } } }, "property": { "type": "Identifier", - "start": 45488, - "end": 45498, + "start": 46141, + "end": 46151, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 36 }, "end": { - "line": 1186, + "line": 1187, "column": 46 }, "identifierName": "meshesList" @@ -123183,15 +123349,15 @@ }, "property": { "type": "Identifier", - "start": 45499, - "end": 45505, + "start": 46152, + "end": 46158, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 47 }, "end": { - "line": 1186, + "line": 1187, "column": 53 }, "identifierName": "length" @@ -123206,29 +123372,29 @@ }, "test": { "type": "BinaryExpression", - "start": 45507, - "end": 45515, + "start": 46160, + "end": 46168, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 55 }, "end": { - "line": 1186, + "line": 1187, "column": 63 } }, "left": { "type": "Identifier", - "start": 45507, - "end": 45508, + "start": 46160, + "end": 46161, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 55 }, "end": { - "line": 1186, + "line": 1187, "column": 56 }, "identifierName": "j" @@ -123238,15 +123404,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 45511, - "end": 45515, + "start": 46164, + "end": 46168, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 59 }, "end": { - "line": 1186, + "line": 1187, "column": 63 }, "identifierName": "lenj" @@ -123256,15 +123422,15 @@ }, "update": { "type": "UpdateExpression", - "start": 45517, - "end": 45520, + "start": 46170, + "end": 46173, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 65 }, "end": { - "line": 1186, + "line": 1187, "column": 68 } }, @@ -123272,15 +123438,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 45517, - "end": 45518, + "start": 46170, + "end": 46171, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 65 }, "end": { - "line": 1186, + "line": 1187, "column": 66 }, "identifierName": "j" @@ -123290,59 +123456,59 @@ }, "body": { "type": "BlockStatement", - "start": 45522, - "end": 46438, + "start": 46175, + "end": 47091, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 70 }, "end": { - "line": 1215, + "line": 1216, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 45537, - "end": 45569, + "start": 46190, + "end": 46222, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 12 }, "end": { - "line": 1188, + "line": 1189, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45543, - "end": 45568, + "start": 46196, + "end": 46221, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 18 }, "end": { - "line": 1188, + "line": 1189, "column": 43 } }, "id": { "type": "Identifier", - "start": 45543, - "end": 45547, + "start": 46196, + "end": 46200, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 18 }, "end": { - "line": 1188, + "line": 1189, "column": 22 }, "identifierName": "mesh" @@ -123351,58 +123517,58 @@ }, "init": { "type": "MemberExpression", - "start": 45550, - "end": 45568, + "start": 46203, + "end": 46221, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 25 }, "end": { - "line": 1188, + "line": 1189, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 45550, - "end": 45565, + "start": 46203, + "end": 46218, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 25 }, "end": { - "line": 1188, + "line": 1189, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 45550, - "end": 45554, + "start": 46203, + "end": 46207, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 25 }, "end": { - "line": 1188, + "line": 1189, "column": 29 } } }, "property": { "type": "Identifier", - "start": 45555, - "end": 45565, + "start": 46208, + "end": 46218, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 30 }, "end": { - "line": 1188, + "line": 1189, "column": 40 }, "identifierName": "meshesList" @@ -123413,15 +123579,15 @@ }, "property": { "type": "Identifier", - "start": 45566, - "end": 45567, + "start": 46219, + "end": 46220, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 41 }, "end": { - "line": 1188, + "line": 1189, "column": 42 }, "identifierName": "j" @@ -123436,44 +123602,44 @@ }, { "type": "VariableDeclaration", - "start": 45583, - "end": 45614, + "start": 46236, + "end": 46267, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 12 }, "end": { - "line": 1190, + "line": 1191, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45589, - "end": 45613, + "start": 46242, + "end": 46266, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 18 }, "end": { - "line": 1190, + "line": 1191, "column": 42 } }, "id": { "type": "Identifier", - "start": 45589, - "end": 45597, + "start": 46242, + "end": 46250, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 18 }, "end": { - "line": 1190, + "line": 1191, "column": 26 }, "identifierName": "geometry" @@ -123482,29 +123648,29 @@ }, "init": { "type": "MemberExpression", - "start": 45600, - "end": 45613, + "start": 46253, + "end": 46266, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 29 }, "end": { - "line": 1190, + "line": 1191, "column": 42 } }, "object": { "type": "Identifier", - "start": 45600, - "end": 45604, + "start": 46253, + "end": 46257, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 29 }, "end": { - "line": 1190, + "line": 1191, "column": 33 }, "identifierName": "mesh" @@ -123513,15 +123679,15 @@ }, "property": { "type": "Identifier", - "start": 45605, - "end": 45613, + "start": 46258, + "end": 46266, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 34 }, "end": { - "line": 1190, + "line": 1191, "column": 42 }, "identifierName": "geometry" @@ -123536,57 +123702,57 @@ }, { "type": "IfStatement", - "start": 45628, - "end": 46428, + "start": 46281, + "end": 47081, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 12 }, "end": { - "line": 1214, + "line": 1215, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 45632, - "end": 45659, + "start": 46285, + "end": 46312, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 16 }, "end": { - "line": 1192, + "line": 1193, "column": 43 } }, "left": { "type": "MemberExpression", - "start": 45632, - "end": 45653, + "start": 46285, + "end": 46306, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 16 }, "end": { - "line": 1192, + "line": 1193, "column": 37 } }, "object": { "type": "Identifier", - "start": 45632, - "end": 45640, + "start": 46285, + "end": 46293, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 16 }, "end": { - "line": 1192, + "line": 1193, "column": 24 }, "identifierName": "geometry" @@ -123595,15 +123761,15 @@ }, "property": { "type": "Identifier", - "start": 45641, - "end": 45653, + "start": 46294, + "end": 46306, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 25 }, "end": { - "line": 1192, + "line": 1193, "column": 37 }, "identifierName": "numInstances" @@ -123615,15 +123781,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 45658, - "end": 45659, + "start": 46311, + "end": 46312, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 42 }, "end": { - "line": 1192, + "line": 1193, "column": 43 } }, @@ -123636,59 +123802,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 45661, - "end": 46428, + "start": 46314, + "end": 47081, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 45 }, "end": { - "line": 1214, + "line": 1215, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 45680, - "end": 45707, + "start": 46333, + "end": 46360, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 16 }, "end": { - "line": 1194, + "line": 1195, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45686, - "end": 45706, + "start": 46339, + "end": 46359, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 22 }, "end": { - "line": 1194, + "line": 1195, "column": 42 } }, "id": { "type": "Identifier", - "start": 45686, - "end": 45692, + "start": 46339, + "end": 46345, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 22 }, "end": { - "line": 1194, + "line": 1195, "column": 28 }, "identifierName": "matrix" @@ -123697,29 +123863,29 @@ }, "init": { "type": "MemberExpression", - "start": 45695, - "end": 45706, + "start": 46348, + "end": 46359, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 31 }, "end": { - "line": 1194, + "line": 1195, "column": 42 } }, "object": { "type": "Identifier", - "start": 45695, - "end": 45699, + "start": 46348, + "end": 46352, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 31 }, "end": { - "line": 1194, + "line": 1195, "column": 35 }, "identifierName": "mesh" @@ -123728,15 +123894,15 @@ }, "property": { "type": "Identifier", - "start": 45700, - "end": 45706, + "start": 46353, + "end": 46359, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 36 }, "end": { - "line": 1194, + "line": 1195, "column": 42 }, "identifierName": "matrix" @@ -123751,43 +123917,43 @@ }, { "type": "IfStatement", - "start": 45725, - "end": 46414, + "start": 46378, + "end": 47067, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 16 }, "end": { - "line": 1213, + "line": 1214, "column": 17 } }, "test": { "type": "LogicalExpression", - "start": 45729, - "end": 45769, + "start": 46382, + "end": 46422, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 20 }, "end": { - "line": 1196, + "line": 1197, "column": 60 } }, "left": { "type": "Identifier", - "start": 45729, - "end": 45735, + "start": 46382, + "end": 46388, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 20 }, "end": { - "line": 1196, + "line": 1197, "column": 26 }, "identifierName": "matrix" @@ -123797,15 +123963,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 45740, - "end": 45768, + "start": 46393, + "end": 46421, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 31 }, "end": { - "line": 1196, + "line": 1197, "column": 59 } }, @@ -123813,43 +123979,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 45741, - "end": 45768, + "start": 46394, + "end": 46421, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 32 }, "end": { - "line": 1196, + "line": 1197, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 45741, - "end": 45760, + "start": 46394, + "end": 46413, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 32 }, "end": { - "line": 1196, + "line": 1197, "column": 51 } }, "object": { "type": "Identifier", - "start": 45741, - "end": 45745, + "start": 46394, + "end": 46398, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 32 }, "end": { - "line": 1196, + "line": 1197, "column": 36 }, "identifierName": "math" @@ -123858,15 +124024,15 @@ }, "property": { "type": "Identifier", - "start": 45746, - "end": 45760, + "start": 46399, + "end": 46413, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 37 }, "end": { - "line": 1196, + "line": 1197, "column": 51 }, "identifierName": "isIdentityMat4" @@ -123878,15 +124044,15 @@ "arguments": [ { "type": "Identifier", - "start": 45761, - "end": 45767, + "start": 46414, + "end": 46420, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 52 }, "end": { - "line": 1196, + "line": 1197, "column": 58 }, "identifierName": "matrix" @@ -123898,65 +124064,65 @@ "extra": { "parenthesizedArgument": false, "parenthesized": true, - "parenStart": 45739 + "parenStart": 46392 } } }, "consequent": { "type": "BlockStatement", - "start": 45771, - "end": 46414, + "start": 46424, + "end": 47067, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 62 }, "end": { - "line": 1213, + "line": 1214, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 45794, - "end": 45831, + "start": 46447, + "end": 46484, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 20 }, "end": { - "line": 1198, + "line": 1199, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45800, - "end": 45830, + "start": 46453, + "end": 46483, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 26 }, "end": { - "line": 1198, + "line": 1199, "column": 56 } }, "id": { "type": "Identifier", - "start": 45800, - "end": 45809, + "start": 46453, + "end": 46462, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 26 }, "end": { - "line": 1198, + "line": 1199, "column": 35 }, "identifierName": "positions" @@ -123965,29 +124131,29 @@ }, "init": { "type": "MemberExpression", - "start": 45812, - "end": 45830, + "start": 46465, + "end": 46483, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 38 }, "end": { - "line": 1198, + "line": 1199, "column": 56 } }, "object": { "type": "Identifier", - "start": 45812, - "end": 45820, + "start": 46465, + "end": 46473, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 38 }, "end": { - "line": 1198, + "line": 1199, "column": 46 }, "identifierName": "geometry" @@ -123996,15 +124162,15 @@ }, "property": { "type": "Identifier", - "start": 45821, - "end": 45830, + "start": 46474, + "end": 46483, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 47 }, "end": { - "line": 1198, + "line": 1199, "column": 56 }, "identifierName": "positions" @@ -124019,58 +124185,58 @@ }, { "type": "ForStatement", - "start": 45853, - "end": 46396, + "start": 46506, + "end": 47049, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 20 }, "end": { - "line": 1212, + "line": 1213, "column": 21 } }, "init": { "type": "VariableDeclaration", - "start": 45858, - "end": 45891, + "start": 46511, + "end": 46544, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 25 }, "end": { - "line": 1200, + "line": 1201, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 45862, - "end": 45867, + "start": 46515, + "end": 46520, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 29 }, "end": { - "line": 1200, + "line": 1201, "column": 34 } }, "id": { "type": "Identifier", - "start": 45862, - "end": 45863, + "start": 46515, + "end": 46516, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 29 }, "end": { - "line": 1200, + "line": 1201, "column": 30 }, "identifierName": "i" @@ -124079,15 +124245,15 @@ }, "init": { "type": "NumericLiteral", - "start": 45866, - "end": 45867, + "start": 46519, + "end": 46520, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 33 }, "end": { - "line": 1200, + "line": 1201, "column": 34 } }, @@ -124100,29 +124266,29 @@ }, { "type": "VariableDeclarator", - "start": 45869, - "end": 45891, + "start": 46522, + "end": 46544, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 36 }, "end": { - "line": 1200, + "line": 1201, "column": 58 } }, "id": { "type": "Identifier", - "start": 45869, - "end": 45872, + "start": 46522, + "end": 46525, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 36 }, "end": { - "line": 1200, + "line": 1201, "column": 39 }, "identifierName": "len" @@ -124131,29 +124297,29 @@ }, "init": { "type": "MemberExpression", - "start": 45875, - "end": 45891, + "start": 46528, + "end": 46544, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 42 }, "end": { - "line": 1200, + "line": 1201, "column": 58 } }, "object": { "type": "Identifier", - "start": 45875, - "end": 45884, + "start": 46528, + "end": 46537, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 42 }, "end": { - "line": 1200, + "line": 1201, "column": 51 }, "identifierName": "positions" @@ -124162,15 +124328,15 @@ }, "property": { "type": "Identifier", - "start": 45885, - "end": 45891, + "start": 46538, + "end": 46544, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 52 }, "end": { - "line": 1200, + "line": 1201, "column": 58 }, "identifierName": "length" @@ -124185,29 +124351,29 @@ }, "test": { "type": "BinaryExpression", - "start": 45893, - "end": 45900, + "start": 46546, + "end": 46553, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 60 }, "end": { - "line": 1200, + "line": 1201, "column": 67 } }, "left": { "type": "Identifier", - "start": 45893, - "end": 45894, + "start": 46546, + "end": 46547, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 60 }, "end": { - "line": 1200, + "line": 1201, "column": 61 }, "identifierName": "i" @@ -124217,15 +124383,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 45897, - "end": 45900, + "start": 46550, + "end": 46553, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 64 }, "end": { - "line": 1200, + "line": 1201, "column": 67 }, "identifierName": "len" @@ -124235,30 +124401,30 @@ }, "update": { "type": "AssignmentExpression", - "start": 45902, - "end": 45908, + "start": 46555, + "end": 46561, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 69 }, "end": { - "line": 1200, + "line": 1201, "column": 75 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 45902, - "end": 45903, + "start": 46555, + "end": 46556, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 69 }, "end": { - "line": 1200, + "line": 1201, "column": 70 }, "identifierName": "i" @@ -124267,15 +124433,15 @@ }, "right": { "type": "NumericLiteral", - "start": 45907, - "end": 45908, + "start": 46560, + "end": 46561, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 74 }, "end": { - "line": 1200, + "line": 1201, "column": 75 } }, @@ -124288,73 +124454,73 @@ }, "body": { "type": "BlockStatement", - "start": 45910, - "end": 46396, + "start": 46563, + "end": 47049, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 77 }, "end": { - "line": 1212, + "line": 1213, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 45937, - "end": 45969, + "start": 46590, + "end": 46622, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 24 }, "end": { - "line": 1202, + "line": 1203, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 45937, - "end": 45968, + "start": 46590, + "end": 46621, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 24 }, "end": { - "line": 1202, + "line": 1203, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 45937, - "end": 45949, + "start": 46590, + "end": 46602, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 24 }, "end": { - "line": 1202, + "line": 1203, "column": 36 } }, "object": { "type": "Identifier", - "start": 45937, - "end": 45946, + "start": 46590, + "end": 46599, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 24 }, "end": { - "line": 1202, + "line": 1203, "column": 33 }, "identifierName": "tempVec4a" @@ -124363,15 +124529,15 @@ }, "property": { "type": "NumericLiteral", - "start": 45947, - "end": 45948, + "start": 46600, + "end": 46601, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 34 }, "end": { - "line": 1202, + "line": 1203, "column": 35 } }, @@ -124385,29 +124551,29 @@ }, "right": { "type": "MemberExpression", - "start": 45952, - "end": 45968, + "start": 46605, + "end": 46621, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 39 }, "end": { - "line": 1202, + "line": 1203, "column": 55 } }, "object": { "type": "Identifier", - "start": 45952, - "end": 45961, + "start": 46605, + "end": 46614, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 39 }, "end": { - "line": 1202, + "line": 1203, "column": 48 }, "identifierName": "positions" @@ -124416,29 +124582,29 @@ }, "property": { "type": "BinaryExpression", - "start": 45962, - "end": 45967, + "start": 46615, + "end": 46620, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 49 }, "end": { - "line": 1202, + "line": 1203, "column": 54 } }, "left": { "type": "Identifier", - "start": 45962, - "end": 45963, + "start": 46615, + "end": 46616, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 49 }, "end": { - "line": 1202, + "line": 1203, "column": 50 }, "identifierName": "i" @@ -124448,15 +124614,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 45966, - "end": 45967, + "start": 46619, + "end": 46620, "loc": { "start": { - "line": 1202, + "line": 1203, "column": 53 }, "end": { - "line": 1202, + "line": 1203, "column": 54 } }, @@ -124473,58 +124639,58 @@ }, { "type": "ExpressionStatement", - "start": 45994, - "end": 46026, + "start": 46647, + "end": 46679, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 24 }, "end": { - "line": 1203, + "line": 1204, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 45994, - "end": 46025, + "start": 46647, + "end": 46678, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 24 }, "end": { - "line": 1203, + "line": 1204, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 45994, - "end": 46006, + "start": 46647, + "end": 46659, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 24 }, "end": { - "line": 1203, + "line": 1204, "column": 36 } }, "object": { "type": "Identifier", - "start": 45994, - "end": 46003, + "start": 46647, + "end": 46656, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 24 }, "end": { - "line": 1203, + "line": 1204, "column": 33 }, "identifierName": "tempVec4a" @@ -124533,15 +124699,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46004, - "end": 46005, + "start": 46657, + "end": 46658, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 34 }, "end": { - "line": 1203, + "line": 1204, "column": 35 } }, @@ -124555,29 +124721,29 @@ }, "right": { "type": "MemberExpression", - "start": 46009, - "end": 46025, + "start": 46662, + "end": 46678, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 39 }, "end": { - "line": 1203, + "line": 1204, "column": 55 } }, "object": { "type": "Identifier", - "start": 46009, - "end": 46018, + "start": 46662, + "end": 46671, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 39 }, "end": { - "line": 1203, + "line": 1204, "column": 48 }, "identifierName": "positions" @@ -124586,29 +124752,29 @@ }, "property": { "type": "BinaryExpression", - "start": 46019, - "end": 46024, + "start": 46672, + "end": 46677, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 49 }, "end": { - "line": 1203, + "line": 1204, "column": 54 } }, "left": { "type": "Identifier", - "start": 46019, - "end": 46020, + "start": 46672, + "end": 46673, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 49 }, "end": { - "line": 1203, + "line": 1204, "column": 50 }, "identifierName": "i" @@ -124618,15 +124784,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 46023, - "end": 46024, + "start": 46676, + "end": 46677, "loc": { "start": { - "line": 1203, + "line": 1204, "column": 53 }, "end": { - "line": 1203, + "line": 1204, "column": 54 } }, @@ -124643,58 +124809,58 @@ }, { "type": "ExpressionStatement", - "start": 46051, - "end": 46083, + "start": 46704, + "end": 46736, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 24 }, "end": { - "line": 1204, + "line": 1205, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 46051, - "end": 46082, + "start": 46704, + "end": 46735, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 24 }, "end": { - "line": 1204, + "line": 1205, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46051, - "end": 46063, + "start": 46704, + "end": 46716, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 24 }, "end": { - "line": 1204, + "line": 1205, "column": 36 } }, "object": { "type": "Identifier", - "start": 46051, - "end": 46060, + "start": 46704, + "end": 46713, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 24 }, "end": { - "line": 1204, + "line": 1205, "column": 33 }, "identifierName": "tempVec4a" @@ -124703,15 +124869,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46061, - "end": 46062, + "start": 46714, + "end": 46715, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 34 }, "end": { - "line": 1204, + "line": 1205, "column": 35 } }, @@ -124725,29 +124891,29 @@ }, "right": { "type": "MemberExpression", - "start": 46066, - "end": 46082, + "start": 46719, + "end": 46735, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 39 }, "end": { - "line": 1204, + "line": 1205, "column": 55 } }, "object": { "type": "Identifier", - "start": 46066, - "end": 46075, + "start": 46719, + "end": 46728, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 39 }, "end": { - "line": 1204, + "line": 1205, "column": 48 }, "identifierName": "positions" @@ -124756,29 +124922,29 @@ }, "property": { "type": "BinaryExpression", - "start": 46076, - "end": 46081, + "start": 46729, + "end": 46734, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 49 }, "end": { - "line": 1204, + "line": 1205, "column": 54 } }, "left": { "type": "Identifier", - "start": 46076, - "end": 46077, + "start": 46729, + "end": 46730, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 49 }, "end": { - "line": 1204, + "line": 1205, "column": 50 }, "identifierName": "i" @@ -124788,15 +124954,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 46080, - "end": 46081, + "start": 46733, + "end": 46734, "loc": { "start": { - "line": 1204, + "line": 1205, "column": 53 }, "end": { - "line": 1204, + "line": 1205, "column": 54 } }, @@ -124813,58 +124979,58 @@ }, { "type": "ExpressionStatement", - "start": 46108, - "end": 46125, + "start": 46761, + "end": 46778, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 24 }, "end": { - "line": 1205, + "line": 1206, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 46108, - "end": 46124, + "start": 46761, + "end": 46777, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 24 }, "end": { - "line": 1205, + "line": 1206, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46108, - "end": 46120, + "start": 46761, + "end": 46773, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 24 }, "end": { - "line": 1205, + "line": 1206, "column": 36 } }, "object": { "type": "Identifier", - "start": 46108, - "end": 46117, + "start": 46761, + "end": 46770, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 24 }, "end": { - "line": 1205, + "line": 1206, "column": 33 }, "identifierName": "tempVec4a" @@ -124873,15 +125039,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46118, - "end": 46119, + "start": 46771, + "end": 46772, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 34 }, "end": { - "line": 1205, + "line": 1206, "column": 35 } }, @@ -124895,15 +125061,15 @@ }, "right": { "type": "NumericLiteral", - "start": 46123, - "end": 46124, + "start": 46776, + "end": 46777, "loc": { "start": { - "line": 1205, + "line": 1206, "column": 39 }, "end": { - "line": 1205, + "line": 1206, "column": 40 } }, @@ -124917,57 +125083,57 @@ }, { "type": "ExpressionStatement", - "start": 46151, - "end": 46202, + "start": 46804, + "end": 46855, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 24 }, "end": { - "line": 1207, + "line": 1208, "column": 75 } }, "expression": { "type": "CallExpression", - "start": 46151, - "end": 46201, + "start": 46804, + "end": 46854, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 24 }, "end": { - "line": 1207, + "line": 1208, "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 46151, - "end": 46171, + "start": 46804, + "end": 46824, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 24 }, "end": { - "line": 1207, + "line": 1208, "column": 44 } }, "object": { "type": "Identifier", - "start": 46151, - "end": 46155, + "start": 46804, + "end": 46808, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 24 }, "end": { - "line": 1207, + "line": 1208, "column": 28 }, "identifierName": "math" @@ -124976,15 +125142,15 @@ }, "property": { "type": "Identifier", - "start": 46156, - "end": 46171, + "start": 46809, + "end": 46824, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 29 }, "end": { - "line": 1207, + "line": 1208, "column": 44 }, "identifierName": "transformPoint4" @@ -124996,15 +125162,15 @@ "arguments": [ { "type": "Identifier", - "start": 46172, - "end": 46178, + "start": 46825, + "end": 46831, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 45 }, "end": { - "line": 1207, + "line": 1208, "column": 51 }, "identifierName": "matrix" @@ -125013,15 +125179,15 @@ }, { "type": "Identifier", - "start": 46180, - "end": 46189, + "start": 46833, + "end": 46842, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 53 }, "end": { - "line": 1207, + "line": 1208, "column": 62 }, "identifierName": "tempVec4a" @@ -125030,15 +125196,15 @@ }, { "type": "Identifier", - "start": 46191, - "end": 46200, + "start": 46844, + "end": 46853, "loc": { "start": { - "line": 1207, + "line": 1208, "column": 64 }, "end": { - "line": 1207, + "line": 1208, "column": 73 }, "identifierName": "tempVec4b" @@ -125050,58 +125216,58 @@ }, { "type": "ExpressionStatement", - "start": 46228, - "end": 46260, + "start": 46881, + "end": 46913, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 24 }, "end": { - "line": 1209, + "line": 1210, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 46228, - "end": 46259, + "start": 46881, + "end": 46912, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 24 }, "end": { - "line": 1209, + "line": 1210, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46228, - "end": 46244, + "start": 46881, + "end": 46897, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 24 }, "end": { - "line": 1209, + "line": 1210, "column": 40 } }, "object": { "type": "Identifier", - "start": 46228, - "end": 46237, + "start": 46881, + "end": 46890, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 24 }, "end": { - "line": 1209, + "line": 1210, "column": 33 }, "identifierName": "positions" @@ -125110,29 +125276,29 @@ }, "property": { "type": "BinaryExpression", - "start": 46238, - "end": 46243, + "start": 46891, + "end": 46896, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 34 }, "end": { - "line": 1209, + "line": 1210, "column": 39 } }, "left": { "type": "Identifier", - "start": 46238, - "end": 46239, + "start": 46891, + "end": 46892, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 34 }, "end": { - "line": 1209, + "line": 1210, "column": 35 }, "identifierName": "i" @@ -125142,15 +125308,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 46242, - "end": 46243, + "start": 46895, + "end": 46896, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 38 }, "end": { - "line": 1209, + "line": 1210, "column": 39 } }, @@ -125165,29 +125331,29 @@ }, "right": { "type": "MemberExpression", - "start": 46247, - "end": 46259, + "start": 46900, + "end": 46912, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 43 }, "end": { - "line": 1209, + "line": 1210, "column": 55 } }, "object": { "type": "Identifier", - "start": 46247, - "end": 46256, + "start": 46900, + "end": 46909, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 43 }, "end": { - "line": 1209, + "line": 1210, "column": 52 }, "identifierName": "tempVec4b" @@ -125196,15 +125362,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46257, - "end": 46258, + "start": 46910, + "end": 46911, "loc": { "start": { - "line": 1209, + "line": 1210, "column": 53 }, "end": { - "line": 1209, + "line": 1210, "column": 54 } }, @@ -125220,58 +125386,58 @@ }, { "type": "ExpressionStatement", - "start": 46285, - "end": 46317, + "start": 46938, + "end": 46970, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 24 }, "end": { - "line": 1210, + "line": 1211, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 46285, - "end": 46316, + "start": 46938, + "end": 46969, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 24 }, "end": { - "line": 1210, + "line": 1211, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46285, - "end": 46301, + "start": 46938, + "end": 46954, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 24 }, "end": { - "line": 1210, + "line": 1211, "column": 40 } }, "object": { "type": "Identifier", - "start": 46285, - "end": 46294, + "start": 46938, + "end": 46947, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 24 }, "end": { - "line": 1210, + "line": 1211, "column": 33 }, "identifierName": "positions" @@ -125280,29 +125446,29 @@ }, "property": { "type": "BinaryExpression", - "start": 46295, - "end": 46300, + "start": 46948, + "end": 46953, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 34 }, "end": { - "line": 1210, + "line": 1211, "column": 39 } }, "left": { "type": "Identifier", - "start": 46295, - "end": 46296, + "start": 46948, + "end": 46949, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 34 }, "end": { - "line": 1210, + "line": 1211, "column": 35 }, "identifierName": "i" @@ -125312,15 +125478,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 46299, - "end": 46300, + "start": 46952, + "end": 46953, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 38 }, "end": { - "line": 1210, + "line": 1211, "column": 39 } }, @@ -125335,29 +125501,29 @@ }, "right": { "type": "MemberExpression", - "start": 46304, - "end": 46316, + "start": 46957, + "end": 46969, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 43 }, "end": { - "line": 1210, + "line": 1211, "column": 55 } }, "object": { "type": "Identifier", - "start": 46304, - "end": 46313, + "start": 46957, + "end": 46966, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 43 }, "end": { - "line": 1210, + "line": 1211, "column": 52 }, "identifierName": "tempVec4b" @@ -125366,15 +125532,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46314, - "end": 46315, + "start": 46967, + "end": 46968, "loc": { "start": { - "line": 1210, + "line": 1211, "column": 53 }, "end": { - "line": 1210, + "line": 1211, "column": 54 } }, @@ -125390,58 +125556,58 @@ }, { "type": "ExpressionStatement", - "start": 46342, - "end": 46374, + "start": 46995, + "end": 47027, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 24 }, "end": { - "line": 1211, + "line": 1212, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 46342, - "end": 46373, + "start": 46995, + "end": 47026, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 24 }, "end": { - "line": 1211, + "line": 1212, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46342, - "end": 46358, + "start": 46995, + "end": 47011, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 24 }, "end": { - "line": 1211, + "line": 1212, "column": 40 } }, "object": { "type": "Identifier", - "start": 46342, - "end": 46351, + "start": 46995, + "end": 47004, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 24 }, "end": { - "line": 1211, + "line": 1212, "column": 33 }, "identifierName": "positions" @@ -125450,29 +125616,29 @@ }, "property": { "type": "BinaryExpression", - "start": 46352, - "end": 46357, + "start": 47005, + "end": 47010, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 34 }, "end": { - "line": 1211, + "line": 1212, "column": 39 } }, "left": { "type": "Identifier", - "start": 46352, - "end": 46353, + "start": 47005, + "end": 47006, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 34 }, "end": { - "line": 1211, + "line": 1212, "column": 35 }, "identifierName": "i" @@ -125482,15 +125648,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 46356, - "end": 46357, + "start": 47009, + "end": 47010, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 38 }, "end": { - "line": 1211, + "line": 1212, "column": 39 } }, @@ -125505,29 +125671,29 @@ }, "right": { "type": "MemberExpression", - "start": 46361, - "end": 46373, + "start": 47014, + "end": 47026, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 43 }, "end": { - "line": 1211, + "line": 1212, "column": 55 } }, "object": { "type": "Identifier", - "start": 46361, - "end": 46370, + "start": 47014, + "end": 47023, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 43 }, "end": { - "line": 1211, + "line": 1212, "column": 52 }, "identifierName": "tempVec4b" @@ -125536,15 +125702,15 @@ }, "property": { "type": "NumericLiteral", - "start": 46371, - "end": 46372, + "start": 47024, + "end": 47025, "loc": { "start": { - "line": 1211, + "line": 1212, "column": 53 }, "end": { - "line": 1211, + "line": 1212, "column": 54 } }, @@ -125582,15 +125748,15 @@ }, { "type": "ClassMethod", - "start": 46450, - "end": 47330, + "start": 47103, + "end": 47983, "loc": { "start": { - "line": 1218, + "line": 1219, "column": 4 }, "end": { - "line": 1238, + "line": 1239, "column": 5 } }, @@ -125598,15 +125764,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 46450, - "end": 46474, + "start": 47103, + "end": 47127, "loc": { "start": { - "line": 1218, + "line": 1219, "column": 4 }, "end": { - "line": 1218, + "line": 1219, "column": 28 }, "identifierName": "_bakeAndOctEncodeNormals" @@ -125621,73 +125787,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 46477, - "end": 47330, + "start": 47130, + "end": 47983, "loc": { "start": { - "line": 1218, + "line": 1219, "column": 31 }, "end": { - "line": 1238, + "line": 1239, "column": 5 } }, "body": [ { "type": "ForStatement", - "start": 46488, - "end": 47324, + "start": 47141, + "end": 47977, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 8 }, "end": { - "line": 1237, + "line": 1238, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 46493, - "end": 46532, + "start": 47146, + "end": 47185, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 13 }, "end": { - "line": 1220, + "line": 1221, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 46497, - "end": 46502, + "start": 47150, + "end": 47155, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 17 }, "end": { - "line": 1220, + "line": 1221, "column": 22 } }, "id": { "type": "Identifier", - "start": 46497, - "end": 46498, + "start": 47150, + "end": 47151, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 17 }, "end": { - "line": 1220, + "line": 1221, "column": 18 }, "identifierName": "i" @@ -125696,15 +125862,15 @@ }, "init": { "type": "NumericLiteral", - "start": 46501, - "end": 46502, + "start": 47154, + "end": 47155, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 21 }, "end": { - "line": 1220, + "line": 1221, "column": 22 } }, @@ -125717,29 +125883,29 @@ }, { "type": "VariableDeclarator", - "start": 46504, - "end": 46532, + "start": 47157, + "end": 47185, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 24 }, "end": { - "line": 1220, + "line": 1221, "column": 52 } }, "id": { "type": "Identifier", - "start": 46504, - "end": 46507, + "start": 47157, + "end": 47160, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 24 }, "end": { - "line": 1220, + "line": 1221, "column": 27 }, "identifierName": "len" @@ -125748,58 +125914,58 @@ }, "init": { "type": "MemberExpression", - "start": 46510, - "end": 46532, + "start": 47163, + "end": 47185, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 30 }, "end": { - "line": 1220, + "line": 1221, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 46510, - "end": 46525, + "start": 47163, + "end": 47178, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 30 }, "end": { - "line": 1220, + "line": 1221, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 46510, - "end": 46514, + "start": 47163, + "end": 47167, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 30 }, "end": { - "line": 1220, + "line": 1221, "column": 34 } } }, "property": { "type": "Identifier", - "start": 46515, - "end": 46525, + "start": 47168, + "end": 47178, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 35 }, "end": { - "line": 1220, + "line": 1221, "column": 45 }, "identifierName": "meshesList" @@ -125810,15 +125976,15 @@ }, "property": { "type": "Identifier", - "start": 46526, - "end": 46532, + "start": 47179, + "end": 47185, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 46 }, "end": { - "line": 1220, + "line": 1221, "column": 52 }, "identifierName": "length" @@ -125833,29 +125999,29 @@ }, "test": { "type": "BinaryExpression", - "start": 46534, - "end": 46541, + "start": 47187, + "end": 47194, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 54 }, "end": { - "line": 1220, + "line": 1221, "column": 61 } }, "left": { "type": "Identifier", - "start": 46534, - "end": 46535, + "start": 47187, + "end": 47188, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 54 }, "end": { - "line": 1220, + "line": 1221, "column": 55 }, "identifierName": "i" @@ -125865,15 +126031,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 46538, - "end": 46541, + "start": 47191, + "end": 47194, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 58 }, "end": { - "line": 1220, + "line": 1221, "column": 61 }, "identifierName": "len" @@ -125883,15 +126049,15 @@ }, "update": { "type": "UpdateExpression", - "start": 46543, - "end": 46546, + "start": 47196, + "end": 47199, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 63 }, "end": { - "line": 1220, + "line": 1221, "column": 66 } }, @@ -125899,15 +126065,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 46543, - "end": 46544, + "start": 47196, + "end": 47197, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 63 }, "end": { - "line": 1220, + "line": 1221, "column": 64 }, "identifierName": "i" @@ -125917,59 +126083,59 @@ }, "body": { "type": "BlockStatement", - "start": 46548, - "end": 47324, + "start": 47201, + "end": 47977, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 68 }, "end": { - "line": 1237, + "line": 1238, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 46563, - "end": 46595, + "start": 47216, + "end": 47248, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 12 }, "end": { - "line": 1222, + "line": 1223, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 46569, - "end": 46594, + "start": 47222, + "end": 47247, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 18 }, "end": { - "line": 1222, + "line": 1223, "column": 43 } }, "id": { "type": "Identifier", - "start": 46569, - "end": 46573, + "start": 47222, + "end": 47226, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 18 }, "end": { - "line": 1222, + "line": 1223, "column": 22 }, "identifierName": "mesh" @@ -125978,58 +126144,58 @@ }, "init": { "type": "MemberExpression", - "start": 46576, - "end": 46594, + "start": 47229, + "end": 47247, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 25 }, "end": { - "line": 1222, + "line": 1223, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 46576, - "end": 46591, + "start": 47229, + "end": 47244, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 25 }, "end": { - "line": 1222, + "line": 1223, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 46576, - "end": 46580, + "start": 47229, + "end": 47233, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 25 }, "end": { - "line": 1222, + "line": 1223, "column": 29 } } }, "property": { "type": "Identifier", - "start": 46581, - "end": 46591, + "start": 47234, + "end": 47244, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 30 }, "end": { - "line": 1222, + "line": 1223, "column": 40 }, "identifierName": "meshesList" @@ -126040,15 +126206,15 @@ }, "property": { "type": "Identifier", - "start": 46592, - "end": 46593, + "start": 47245, + "end": 47246, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 41 }, "end": { - "line": 1222, + "line": 1223, "column": 42 }, "identifierName": "i" @@ -126063,44 +126229,44 @@ }, { "type": "VariableDeclaration", - "start": 46608, - "end": 46639, + "start": 47261, + "end": 47292, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 12 }, "end": { - "line": 1223, + "line": 1224, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 46614, - "end": 46638, + "start": 47267, + "end": 47291, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 18 }, "end": { - "line": 1223, + "line": 1224, "column": 42 } }, "id": { "type": "Identifier", - "start": 46614, - "end": 46622, + "start": 47267, + "end": 47275, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 18 }, "end": { - "line": 1223, + "line": 1224, "column": 26 }, "identifierName": "geometry" @@ -126109,29 +126275,29 @@ }, "init": { "type": "MemberExpression", - "start": 46625, - "end": 46638, + "start": 47278, + "end": 47291, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 29 }, "end": { - "line": 1223, + "line": 1224, "column": 42 } }, "object": { "type": "Identifier", - "start": 46625, - "end": 46629, + "start": 47278, + "end": 47282, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 29 }, "end": { - "line": 1223, + "line": 1224, "column": 33 }, "identifierName": "mesh" @@ -126140,15 +126306,15 @@ }, "property": { "type": "Identifier", - "start": 46630, - "end": 46638, + "start": 47283, + "end": 47291, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 34 }, "end": { - "line": 1223, + "line": 1224, "column": 42 }, "identifierName": "geometry" @@ -126163,57 +126329,57 @@ }, { "type": "IfStatement", - "start": 46653, - "end": 47314, + "start": 47306, + "end": 47967, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 12 }, "end": { - "line": 1236, + "line": 1237, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 46657, - "end": 46704, + "start": 47310, + "end": 47357, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 16 }, "end": { - "line": 1225, + "line": 1226, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 46657, - "end": 46673, + "start": 47310, + "end": 47326, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 16 }, "end": { - "line": 1225, + "line": 1226, "column": 32 } }, "object": { "type": "Identifier", - "start": 46657, - "end": 46665, + "start": 47310, + "end": 47318, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 16 }, "end": { - "line": 1225, + "line": 1226, "column": 24 }, "identifierName": "geometry" @@ -126222,15 +126388,15 @@ }, "property": { "type": "Identifier", - "start": 46666, - "end": 46673, + "start": 47319, + "end": 47326, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 25 }, "end": { - "line": 1225, + "line": 1226, "column": 32 }, "identifierName": "normals" @@ -126242,15 +126408,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 46677, - "end": 46704, + "start": 47330, + "end": 47357, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 36 }, "end": { - "line": 1225, + "line": 1226, "column": 63 } }, @@ -126258,29 +126424,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 46678, - "end": 46704, + "start": 47331, + "end": 47357, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 37 }, "end": { - "line": 1225, + "line": 1226, "column": 63 } }, "object": { "type": "Identifier", - "start": 46678, - "end": 46686, + "start": 47331, + "end": 47339, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 37 }, "end": { - "line": 1225, + "line": 1226, "column": 45 }, "identifierName": "geometry" @@ -126289,15 +126455,15 @@ }, "property": { "type": "Identifier", - "start": 46687, - "end": 46704, + "start": 47340, + "end": 47357, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 46 }, "end": { - "line": 1225, + "line": 1226, "column": 63 }, "identifierName": "normalsOctEncoded" @@ -126313,73 +126479,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 46706, - "end": 47314, + "start": 47359, + "end": 47967, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 65 }, "end": { - "line": 1236, + "line": 1237, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 46725, - "end": 46793, + "start": 47378, + "end": 47446, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 16 }, "end": { - "line": 1227, + "line": 1228, "column": 84 } }, "expression": { "type": "AssignmentExpression", - "start": 46725, - "end": 46792, + "start": 47378, + "end": 47445, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 16 }, "end": { - "line": 1227, + "line": 1228, "column": 83 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 46725, - "end": 46751, + "start": 47378, + "end": 47404, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 16 }, "end": { - "line": 1227, + "line": 1228, "column": 42 } }, "object": { "type": "Identifier", - "start": 46725, - "end": 46733, + "start": 47378, + "end": 47386, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 16 }, "end": { - "line": 1227, + "line": 1228, "column": 24 }, "identifierName": "geometry" @@ -126388,15 +126554,15 @@ }, "property": { "type": "Identifier", - "start": 46734, - "end": 46751, + "start": 47387, + "end": 47404, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 25 }, "end": { - "line": 1227, + "line": 1228, "column": 42 }, "identifierName": "normalsOctEncoded" @@ -126407,29 +126573,29 @@ }, "right": { "type": "NewExpression", - "start": 46754, - "end": 46792, + "start": 47407, + "end": 47445, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 45 }, "end": { - "line": 1227, + "line": 1228, "column": 83 } }, "callee": { "type": "Identifier", - "start": 46758, - "end": 46767, + "start": 47411, + "end": 47420, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 49 }, "end": { - "line": 1227, + "line": 1228, "column": 58 }, "identifierName": "Int8Array" @@ -126439,43 +126605,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 46768, - "end": 46791, + "start": 47421, + "end": 47444, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 59 }, "end": { - "line": 1227, + "line": 1228, "column": 82 } }, "object": { "type": "MemberExpression", - "start": 46768, - "end": 46784, + "start": 47421, + "end": 47437, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 59 }, "end": { - "line": 1227, + "line": 1228, "column": 75 } }, "object": { "type": "Identifier", - "start": 46768, - "end": 46776, + "start": 47421, + "end": 47429, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 59 }, "end": { - "line": 1227, + "line": 1228, "column": 67 }, "identifierName": "geometry" @@ -126484,15 +126650,15 @@ }, "property": { "type": "Identifier", - "start": 46777, - "end": 46784, + "start": 47430, + "end": 47437, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 68 }, "end": { - "line": 1227, + "line": 1228, "column": 75 }, "identifierName": "normals" @@ -126503,15 +126669,15 @@ }, "property": { "type": "Identifier", - "start": 46785, - "end": 46791, + "start": 47438, + "end": 47444, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 76 }, "end": { - "line": 1227, + "line": 1228, "column": 82 }, "identifierName": "length" @@ -126526,57 +126692,57 @@ }, { "type": "IfStatement", - "start": 46811, - "end": 47300, + "start": 47464, + "end": 47953, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 16 }, "end": { - "line": 1235, + "line": 1236, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 46815, - "end": 46840, + "start": 47468, + "end": 47493, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 20 }, "end": { - "line": 1229, + "line": 1230, "column": 45 } }, "left": { "type": "MemberExpression", - "start": 46815, - "end": 46836, + "start": 47468, + "end": 47489, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 20 }, "end": { - "line": 1229, + "line": 1230, "column": 41 } }, "object": { "type": "Identifier", - "start": 46815, - "end": 46823, + "start": 47468, + "end": 47476, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 20 }, "end": { - "line": 1229, + "line": 1230, "column": 28 }, "identifierName": "geometry" @@ -126585,15 +126751,15 @@ }, "property": { "type": "Identifier", - "start": 46824, - "end": 46836, + "start": 47477, + "end": 47489, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 29 }, "end": { - "line": 1229, + "line": 1230, "column": 41 }, "identifierName": "numInstances" @@ -126605,15 +126771,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 46839, - "end": 46840, + "start": 47492, + "end": 47493, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 44 }, "end": { - "line": 1229, + "line": 1230, "column": 45 } }, @@ -126626,72 +126792,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 46842, - "end": 46994, + "start": 47495, + "end": 47647, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 47 }, "end": { - "line": 1232, + "line": 1233, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 46864, - "end": 46975, + "start": 47517, + "end": 47628, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 20 }, "end": { - "line": 1230, + "line": 1231, "column": 131 } }, "expression": { "type": "CallExpression", - "start": 46864, - "end": 46974, + "start": 47517, + "end": 47627, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 20 }, "end": { - "line": 1230, + "line": 1231, "column": 130 } }, "callee": { "type": "MemberExpression", - "start": 46864, - "end": 46900, + "start": 47517, + "end": 47553, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 20 }, "end": { - "line": 1230, + "line": 1231, "column": 56 } }, "object": { "type": "Identifier", - "start": 46864, - "end": 46883, + "start": 47517, + "end": 47536, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 20 }, "end": { - "line": 1230, + "line": 1231, "column": 39 }, "identifierName": "geometryCompression" @@ -126700,15 +126866,15 @@ }, "property": { "type": "Identifier", - "start": 46884, - "end": 46900, + "start": 47537, + "end": 47553, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 40 }, "end": { - "line": 1230, + "line": 1231, "column": 56 }, "identifierName": "octEncodeNormals" @@ -126720,29 +126886,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 46901, - "end": 46917, + "start": 47554, + "end": 47570, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 57 }, "end": { - "line": 1230, + "line": 1231, "column": 73 } }, "object": { "type": "Identifier", - "start": 46901, - "end": 46909, + "start": 47554, + "end": 47562, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 57 }, "end": { - "line": 1230, + "line": 1231, "column": 65 }, "identifierName": "geometry" @@ -126751,15 +126917,15 @@ }, "property": { "type": "Identifier", - "start": 46910, - "end": 46917, + "start": 47563, + "end": 47570, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 66 }, "end": { - "line": 1230, + "line": 1231, "column": 73 }, "identifierName": "normals" @@ -126770,43 +126936,43 @@ }, { "type": "MemberExpression", - "start": 46919, - "end": 46942, + "start": 47572, + "end": 47595, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 75 }, "end": { - "line": 1230, + "line": 1231, "column": 98 } }, "object": { "type": "MemberExpression", - "start": 46919, - "end": 46935, + "start": 47572, + "end": 47588, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 75 }, "end": { - "line": 1230, + "line": 1231, "column": 91 } }, "object": { "type": "Identifier", - "start": 46919, - "end": 46927, + "start": 47572, + "end": 47580, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 75 }, "end": { - "line": 1230, + "line": 1231, "column": 83 }, "identifierName": "geometry" @@ -126815,15 +126981,15 @@ }, "property": { "type": "Identifier", - "start": 46928, - "end": 46935, + "start": 47581, + "end": 47588, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 84 }, "end": { - "line": 1230, + "line": 1231, "column": 91 }, "identifierName": "normals" @@ -126834,15 +127000,15 @@ }, "property": { "type": "Identifier", - "start": 46936, - "end": 46942, + "start": 47589, + "end": 47595, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 92 }, "end": { - "line": 1230, + "line": 1231, "column": 98 }, "identifierName": "length" @@ -126853,29 +127019,29 @@ }, { "type": "MemberExpression", - "start": 46944, - "end": 46970, + "start": 47597, + "end": 47623, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 100 }, "end": { - "line": 1230, + "line": 1231, "column": 126 } }, "object": { "type": "Identifier", - "start": 46944, - "end": 46952, + "start": 47597, + "end": 47605, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 100 }, "end": { - "line": 1230, + "line": 1231, "column": 108 }, "identifierName": "geometry" @@ -126884,15 +127050,15 @@ }, "property": { "type": "Identifier", - "start": 46953, - "end": 46970, + "start": 47606, + "end": 47623, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 109 }, "end": { - "line": 1230, + "line": 1231, "column": 126 }, "identifierName": "normalsOctEncoded" @@ -126903,15 +127069,15 @@ }, { "type": "NumericLiteral", - "start": 46972, - "end": 46973, + "start": 47625, + "end": 47626, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 128 }, "end": { - "line": 1230, + "line": 1231, "column": 129 } }, @@ -126929,59 +127095,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 47000, - "end": 47300, + "start": 47653, + "end": 47953, "loc": { "start": { - "line": 1232, + "line": 1233, "column": 23 }, "end": { - "line": 1235, + "line": 1236, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 47022, - "end": 47119, + "start": 47675, + "end": 47772, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 20 }, "end": { - "line": 1233, + "line": 1234, "column": 117 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47028, - "end": 47118, + "start": 47681, + "end": 47771, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 26 }, "end": { - "line": 1233, + "line": 1234, "column": 116 } }, "id": { "type": "Identifier", - "start": 47028, - "end": 47045, + "start": 47681, + "end": 47698, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 26 }, "end": { - "line": 1233, + "line": 1234, "column": 43 }, "identifierName": "modelNormalMatrix" @@ -126990,43 +127156,43 @@ }, "init": { "type": "CallExpression", - "start": 47048, - "end": 47118, + "start": 47701, + "end": 47771, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 46 }, "end": { - "line": 1233, + "line": 1234, "column": 116 } }, "callee": { "type": "MemberExpression", - "start": 47048, - "end": 47064, + "start": 47701, + "end": 47717, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 46 }, "end": { - "line": 1233, + "line": 1234, "column": 62 } }, "object": { "type": "Identifier", - "start": 47048, - "end": 47052, + "start": 47701, + "end": 47705, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 46 }, "end": { - "line": 1233, + "line": 1234, "column": 50 }, "identifierName": "math" @@ -127035,15 +127201,15 @@ }, "property": { "type": "Identifier", - "start": 47053, - "end": 47064, + "start": 47706, + "end": 47717, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 51 }, "end": { - "line": 1233, + "line": 1234, "column": 62 }, "identifierName": "inverseMat4" @@ -127055,43 +127221,43 @@ "arguments": [ { "type": "CallExpression", - "start": 47065, - "end": 47106, + "start": 47718, + "end": 47759, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 63 }, "end": { - "line": 1233, + "line": 1234, "column": 104 } }, "callee": { "type": "MemberExpression", - "start": 47065, - "end": 47083, + "start": 47718, + "end": 47736, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 63 }, "end": { - "line": 1233, + "line": 1234, "column": 81 } }, "object": { "type": "Identifier", - "start": 47065, - "end": 47069, + "start": 47718, + "end": 47722, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 63 }, "end": { - "line": 1233, + "line": 1234, "column": 67 }, "identifierName": "math" @@ -127100,15 +127266,15 @@ }, "property": { "type": "Identifier", - "start": 47070, - "end": 47083, + "start": 47723, + "end": 47736, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 68 }, "end": { - "line": 1233, + "line": 1234, "column": 81 }, "identifierName": "transposeMat4" @@ -127120,29 +127286,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 47084, - "end": 47095, + "start": 47737, + "end": 47748, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 82 }, "end": { - "line": 1233, + "line": 1234, "column": 93 } }, "object": { "type": "Identifier", - "start": 47084, - "end": 47088, + "start": 47737, + "end": 47741, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 82 }, "end": { - "line": 1233, + "line": 1234, "column": 86 }, "identifierName": "mesh" @@ -127151,15 +127317,15 @@ }, "property": { "type": "Identifier", - "start": 47089, - "end": 47095, + "start": 47742, + "end": 47748, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 87 }, "end": { - "line": 1233, + "line": 1234, "column": 93 }, "identifierName": "matrix" @@ -127170,15 +127336,15 @@ }, { "type": "Identifier", - "start": 47097, - "end": 47105, + "start": 47750, + "end": 47758, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 95 }, "end": { - "line": 1233, + "line": 1234, "column": 103 }, "identifierName": "tempMat4" @@ -127189,15 +127355,15 @@ }, { "type": "Identifier", - "start": 47108, - "end": 47117, + "start": 47761, + "end": 47770, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 106 }, "end": { - "line": 1233, + "line": 1234, "column": 115 }, "identifierName": "tempMat4b" @@ -127212,57 +127378,57 @@ }, { "type": "ExpressionStatement", - "start": 47140, - "end": 47282, + "start": 47793, + "end": 47935, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 20 }, "end": { - "line": 1234, + "line": 1235, "column": 162 } }, "expression": { "type": "CallExpression", - "start": 47140, - "end": 47281, + "start": 47793, + "end": 47934, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 20 }, "end": { - "line": 1234, + "line": 1235, "column": 161 } }, "callee": { "type": "MemberExpression", - "start": 47140, - "end": 47188, + "start": 47793, + "end": 47841, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 20 }, "end": { - "line": 1234, + "line": 1235, "column": 68 } }, "object": { "type": "Identifier", - "start": 47140, - "end": 47159, + "start": 47793, + "end": 47812, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 20 }, "end": { - "line": 1234, + "line": 1235, "column": 39 }, "identifierName": "geometryCompression" @@ -127271,15 +127437,15 @@ }, "property": { "type": "Identifier", - "start": 47160, - "end": 47188, + "start": 47813, + "end": 47841, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 40 }, "end": { - "line": 1234, + "line": 1235, "column": 68 }, "identifierName": "transformAndOctEncodeNormals" @@ -127291,15 +127457,15 @@ "arguments": [ { "type": "Identifier", - "start": 47189, - "end": 47206, + "start": 47842, + "end": 47859, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 69 }, "end": { - "line": 1234, + "line": 1235, "column": 86 }, "identifierName": "modelNormalMatrix" @@ -127308,29 +127474,29 @@ }, { "type": "MemberExpression", - "start": 47208, - "end": 47224, + "start": 47861, + "end": 47877, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 88 }, "end": { - "line": 1234, + "line": 1235, "column": 104 } }, "object": { "type": "Identifier", - "start": 47208, - "end": 47216, + "start": 47861, + "end": 47869, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 88 }, "end": { - "line": 1234, + "line": 1235, "column": 96 }, "identifierName": "geometry" @@ -127339,15 +127505,15 @@ }, "property": { "type": "Identifier", - "start": 47217, - "end": 47224, + "start": 47870, + "end": 47877, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 97 }, "end": { - "line": 1234, + "line": 1235, "column": 104 }, "identifierName": "normals" @@ -127358,43 +127524,43 @@ }, { "type": "MemberExpression", - "start": 47226, - "end": 47249, + "start": 47879, + "end": 47902, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 106 }, "end": { - "line": 1234, + "line": 1235, "column": 129 } }, "object": { "type": "MemberExpression", - "start": 47226, - "end": 47242, + "start": 47879, + "end": 47895, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 106 }, "end": { - "line": 1234, + "line": 1235, "column": 122 } }, "object": { "type": "Identifier", - "start": 47226, - "end": 47234, + "start": 47879, + "end": 47887, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 106 }, "end": { - "line": 1234, + "line": 1235, "column": 114 }, "identifierName": "geometry" @@ -127403,15 +127569,15 @@ }, "property": { "type": "Identifier", - "start": 47235, - "end": 47242, + "start": 47888, + "end": 47895, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 115 }, "end": { - "line": 1234, + "line": 1235, "column": 122 }, "identifierName": "normals" @@ -127422,15 +127588,15 @@ }, "property": { "type": "Identifier", - "start": 47243, - "end": 47249, + "start": 47896, + "end": 47902, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 123 }, "end": { - "line": 1234, + "line": 1235, "column": 129 }, "identifierName": "length" @@ -127441,29 +127607,29 @@ }, { "type": "MemberExpression", - "start": 47251, - "end": 47277, + "start": 47904, + "end": 47930, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 131 }, "end": { - "line": 1234, + "line": 1235, "column": 157 } }, "object": { "type": "Identifier", - "start": 47251, - "end": 47259, + "start": 47904, + "end": 47912, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 131 }, "end": { - "line": 1234, + "line": 1235, "column": 139 }, "identifierName": "geometry" @@ -127472,15 +127638,15 @@ }, "property": { "type": "Identifier", - "start": 47260, - "end": 47277, + "start": 47913, + "end": 47930, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 140 }, "end": { - "line": 1234, + "line": 1235, "column": 157 }, "identifierName": "normalsOctEncoded" @@ -127491,15 +127657,15 @@ }, { "type": "NumericLiteral", - "start": 47279, - "end": 47280, + "start": 47932, + "end": 47933, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 159 }, "end": { - "line": 1234, + "line": 1235, "column": 160 } }, @@ -127531,15 +127697,15 @@ }, { "type": "ClassMethod", - "start": 47336, - "end": 48859, + "start": 47989, + "end": 49512, "loc": { "start": { - "line": 1240, + "line": 1241, "column": 4 }, "end": { - "line": 1280, + "line": 1281, "column": 5 } }, @@ -127547,15 +127713,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 47336, - "end": 47354, + "start": 47989, + "end": 48007, "loc": { "start": { - "line": 1240, + "line": 1241, "column": 4 }, "end": { - "line": 1240, + "line": 1241, "column": 22 }, "identifierName": "_createEntityAABBs" @@ -127570,73 +127736,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 47357, - "end": 48859, + "start": 48010, + "end": 49512, "loc": { "start": { - "line": 1240, + "line": 1241, "column": 25 }, "end": { - "line": 1280, + "line": 1281, "column": 5 } }, "body": [ { "type": "ForStatement", - "start": 47368, - "end": 48853, + "start": 48021, + "end": 49506, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 8 }, "end": { - "line": 1279, + "line": 1280, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 47373, - "end": 47414, + "start": 48026, + "end": 48067, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 13 }, "end": { - "line": 1242, + "line": 1243, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47377, - "end": 47382, + "start": 48030, + "end": 48035, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 17 }, "end": { - "line": 1242, + "line": 1243, "column": 22 } }, "id": { "type": "Identifier", - "start": 47377, - "end": 47378, + "start": 48030, + "end": 48031, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 17 }, "end": { - "line": 1242, + "line": 1243, "column": 18 }, "identifierName": "i" @@ -127645,15 +127811,15 @@ }, "init": { "type": "NumericLiteral", - "start": 47381, - "end": 47382, + "start": 48034, + "end": 48035, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 21 }, "end": { - "line": 1242, + "line": 1243, "column": 22 } }, @@ -127666,29 +127832,29 @@ }, { "type": "VariableDeclarator", - "start": 47384, - "end": 47414, + "start": 48037, + "end": 48067, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 24 }, "end": { - "line": 1242, + "line": 1243, "column": 54 } }, "id": { "type": "Identifier", - "start": 47384, - "end": 47387, + "start": 48037, + "end": 48040, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 24 }, "end": { - "line": 1242, + "line": 1243, "column": 27 }, "identifierName": "len" @@ -127697,58 +127863,58 @@ }, "init": { "type": "MemberExpression", - "start": 47390, - "end": 47414, + "start": 48043, + "end": 48067, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 30 }, "end": { - "line": 1242, + "line": 1243, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 47390, - "end": 47407, + "start": 48043, + "end": 48060, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 30 }, "end": { - "line": 1242, + "line": 1243, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 47390, - "end": 47394, + "start": 48043, + "end": 48047, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 30 }, "end": { - "line": 1242, + "line": 1243, "column": 34 } } }, "property": { "type": "Identifier", - "start": 47395, - "end": 47407, + "start": 48048, + "end": 48060, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 35 }, "end": { - "line": 1242, + "line": 1243, "column": 47 }, "identifierName": "entitiesList" @@ -127759,15 +127925,15 @@ }, "property": { "type": "Identifier", - "start": 47408, - "end": 47414, + "start": 48061, + "end": 48067, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 48 }, "end": { - "line": 1242, + "line": 1243, "column": 54 }, "identifierName": "length" @@ -127782,29 +127948,29 @@ }, "test": { "type": "BinaryExpression", - "start": 47416, - "end": 47423, + "start": 48069, + "end": 48076, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 56 }, "end": { - "line": 1242, + "line": 1243, "column": 63 } }, "left": { "type": "Identifier", - "start": 47416, - "end": 47417, + "start": 48069, + "end": 48070, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 56 }, "end": { - "line": 1242, + "line": 1243, "column": 57 }, "identifierName": "i" @@ -127814,15 +127980,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 47420, - "end": 47423, + "start": 48073, + "end": 48076, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 60 }, "end": { - "line": 1242, + "line": 1243, "column": 63 }, "identifierName": "len" @@ -127832,15 +127998,15 @@ }, "update": { "type": "UpdateExpression", - "start": 47425, - "end": 47428, + "start": 48078, + "end": 48081, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 65 }, "end": { - "line": 1242, + "line": 1243, "column": 68 } }, @@ -127848,15 +128014,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 47425, - "end": 47426, + "start": 48078, + "end": 48079, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 65 }, "end": { - "line": 1242, + "line": 1243, "column": 66 }, "identifierName": "i" @@ -127866,59 +128032,59 @@ }, "body": { "type": "BlockStatement", - "start": 47430, - "end": 48853, + "start": 48083, + "end": 49506, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 70 }, "end": { - "line": 1279, + "line": 1280, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 47445, - "end": 47481, + "start": 48098, + "end": 48134, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 12 }, "end": { - "line": 1244, + "line": 1245, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47451, - "end": 47480, + "start": 48104, + "end": 48133, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 18 }, "end": { - "line": 1244, + "line": 1245, "column": 47 } }, "id": { "type": "Identifier", - "start": 47451, - "end": 47457, + "start": 48104, + "end": 48110, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 18 }, "end": { - "line": 1244, + "line": 1245, "column": 24 }, "identifierName": "entity" @@ -127927,58 +128093,58 @@ }, "init": { "type": "MemberExpression", - "start": 47460, - "end": 47480, + "start": 48113, + "end": 48133, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 27 }, "end": { - "line": 1244, + "line": 1245, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 47460, - "end": 47477, + "start": 48113, + "end": 48130, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 27 }, "end": { - "line": 1244, + "line": 1245, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 47460, - "end": 47464, + "start": 48113, + "end": 48117, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 27 }, "end": { - "line": 1244, + "line": 1245, "column": 31 } } }, "property": { "type": "Identifier", - "start": 47465, - "end": 47477, + "start": 48118, + "end": 48130, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 32 }, "end": { - "line": 1244, + "line": 1245, "column": 44 }, "identifierName": "entitiesList" @@ -127989,15 +128155,15 @@ }, "property": { "type": "Identifier", - "start": 47478, - "end": 47479, + "start": 48131, + "end": 48132, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 45 }, "end": { - "line": 1244, + "line": 1245, "column": 46 }, "identifierName": "i" @@ -128012,44 +128178,44 @@ }, { "type": "VariableDeclaration", - "start": 47494, - "end": 47525, + "start": 48147, + "end": 48178, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 12 }, "end": { - "line": 1245, + "line": 1246, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47500, - "end": 47524, + "start": 48153, + "end": 48177, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 18 }, "end": { - "line": 1245, + "line": 1246, "column": 42 } }, "id": { "type": "Identifier", - "start": 47500, - "end": 47510, + "start": 48153, + "end": 48163, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 18 }, "end": { - "line": 1245, + "line": 1246, "column": 28 }, "identifierName": "entityAABB" @@ -128058,29 +128224,29 @@ }, "init": { "type": "MemberExpression", - "start": 47513, - "end": 47524, + "start": 48166, + "end": 48177, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 31 }, "end": { - "line": 1245, + "line": 1246, "column": 42 } }, "object": { "type": "Identifier", - "start": 47513, - "end": 47519, + "start": 48166, + "end": 48172, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 31 }, "end": { - "line": 1245, + "line": 1246, "column": 37 }, "identifierName": "entity" @@ -128089,15 +128255,15 @@ }, "property": { "type": "Identifier", - "start": 47520, - "end": 47524, + "start": 48173, + "end": 48177, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 38 }, "end": { - "line": 1245, + "line": 1246, "column": 42 }, "identifierName": "aabb" @@ -128112,44 +128278,44 @@ }, { "type": "VariableDeclaration", - "start": 47538, - "end": 47567, + "start": 48191, + "end": 48220, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 12 }, "end": { - "line": 1246, + "line": 1247, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47544, - "end": 47566, + "start": 48197, + "end": 48219, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 18 }, "end": { - "line": 1246, + "line": 1247, "column": 40 } }, "id": { "type": "Identifier", - "start": 47544, - "end": 47550, + "start": 48197, + "end": 48203, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 18 }, "end": { - "line": 1246, + "line": 1247, "column": 24 }, "identifierName": "meshes" @@ -128158,29 +128324,29 @@ }, "init": { "type": "MemberExpression", - "start": 47553, - "end": 47566, + "start": 48206, + "end": 48219, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 27 }, "end": { - "line": 1246, + "line": 1247, "column": 40 } }, "object": { "type": "Identifier", - "start": 47553, - "end": 47559, + "start": 48206, + "end": 48212, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 27 }, "end": { - "line": 1246, + "line": 1247, "column": 33 }, "identifierName": "entity" @@ -128189,15 +128355,15 @@ }, "property": { "type": "Identifier", - "start": 47560, - "end": 47566, + "start": 48213, + "end": 48219, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 34 }, "end": { - "line": 1246, + "line": 1247, "column": 40 }, "identifierName": "meshes" @@ -128212,57 +128378,57 @@ }, { "type": "ExpressionStatement", - "start": 47581, - "end": 47612, + "start": 48234, + "end": 48265, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 12 }, "end": { - "line": 1248, + "line": 1249, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 47581, - "end": 47611, + "start": 48234, + "end": 48264, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 12 }, "end": { - "line": 1248, + "line": 1249, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 47581, - "end": 47599, + "start": 48234, + "end": 48252, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 12 }, "end": { - "line": 1248, + "line": 1249, "column": 30 } }, "object": { "type": "Identifier", - "start": 47581, - "end": 47585, + "start": 48234, + "end": 48238, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 12 }, "end": { - "line": 1248, + "line": 1249, "column": 16 }, "identifierName": "math" @@ -128271,15 +128437,15 @@ }, "property": { "type": "Identifier", - "start": 47586, - "end": 47599, + "start": 48239, + "end": 48252, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 17 }, "end": { - "line": 1248, + "line": 1249, "column": 30 }, "identifierName": "collapseAABB3" @@ -128291,15 +128457,15 @@ "arguments": [ { "type": "Identifier", - "start": 47600, - "end": 47610, + "start": 48253, + "end": 48263, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 31 }, "end": { - "line": 1248, + "line": 1249, "column": 41 }, "identifierName": "entityAABB" @@ -128311,58 +128477,58 @@ }, { "type": "ForStatement", - "start": 47626, - "end": 48843, + "start": 48279, + "end": 49496, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 12 }, "end": { - "line": 1278, + "line": 1279, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 47631, - "end": 47662, + "start": 48284, + "end": 48315, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 17 }, "end": { - "line": 1250, + "line": 1251, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47635, - "end": 47640, + "start": 48288, + "end": 48293, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 21 }, "end": { - "line": 1250, + "line": 1251, "column": 26 } }, "id": { "type": "Identifier", - "start": 47635, - "end": 47636, + "start": 48288, + "end": 48289, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 21 }, "end": { - "line": 1250, + "line": 1251, "column": 22 }, "identifierName": "j" @@ -128371,15 +128537,15 @@ }, "init": { "type": "NumericLiteral", - "start": 47639, - "end": 47640, + "start": 48292, + "end": 48293, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 25 }, "end": { - "line": 1250, + "line": 1251, "column": 26 } }, @@ -128392,29 +128558,29 @@ }, { "type": "VariableDeclarator", - "start": 47642, - "end": 47662, + "start": 48295, + "end": 48315, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 28 }, "end": { - "line": 1250, + "line": 1251, "column": 48 } }, "id": { "type": "Identifier", - "start": 47642, - "end": 47646, + "start": 48295, + "end": 48299, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 28 }, "end": { - "line": 1250, + "line": 1251, "column": 32 }, "identifierName": "lenj" @@ -128423,29 +128589,29 @@ }, "init": { "type": "MemberExpression", - "start": 47649, - "end": 47662, + "start": 48302, + "end": 48315, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 35 }, "end": { - "line": 1250, + "line": 1251, "column": 48 } }, "object": { "type": "Identifier", - "start": 47649, - "end": 47655, + "start": 48302, + "end": 48308, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 35 }, "end": { - "line": 1250, + "line": 1251, "column": 41 }, "identifierName": "meshes" @@ -128454,15 +128620,15 @@ }, "property": { "type": "Identifier", - "start": 47656, - "end": 47662, + "start": 48309, + "end": 48315, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 42 }, "end": { - "line": 1250, + "line": 1251, "column": 48 }, "identifierName": "length" @@ -128477,29 +128643,29 @@ }, "test": { "type": "BinaryExpression", - "start": 47664, - "end": 47672, + "start": 48317, + "end": 48325, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 50 }, "end": { - "line": 1250, + "line": 1251, "column": 58 } }, "left": { "type": "Identifier", - "start": 47664, - "end": 47665, + "start": 48317, + "end": 48318, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 50 }, "end": { - "line": 1250, + "line": 1251, "column": 51 }, "identifierName": "j" @@ -128509,15 +128675,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 47668, - "end": 47672, + "start": 48321, + "end": 48325, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 54 }, "end": { - "line": 1250, + "line": 1251, "column": 58 }, "identifierName": "lenj" @@ -128527,15 +128693,15 @@ }, "update": { "type": "UpdateExpression", - "start": 47674, - "end": 47677, + "start": 48327, + "end": 48330, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 60 }, "end": { - "line": 1250, + "line": 1251, "column": 63 } }, @@ -128543,15 +128709,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 47674, - "end": 47675, + "start": 48327, + "end": 48328, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 60 }, "end": { - "line": 1250, + "line": 1251, "column": 61 }, "identifierName": "j" @@ -128561,59 +128727,59 @@ }, "body": { "type": "BlockStatement", - "start": 47679, - "end": 48843, + "start": 48332, + "end": 49496, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 65 }, "end": { - "line": 1278, + "line": 1279, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 47698, - "end": 47721, + "start": 48351, + "end": 48374, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 16 }, "end": { - "line": 1252, + "line": 1253, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47704, - "end": 47720, + "start": 48357, + "end": 48373, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 22 }, "end": { - "line": 1252, + "line": 1253, "column": 38 } }, "id": { "type": "Identifier", - "start": 47704, - "end": 47708, + "start": 48357, + "end": 48361, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 22 }, "end": { - "line": 1252, + "line": 1253, "column": 26 }, "identifierName": "mesh" @@ -128622,29 +128788,29 @@ }, "init": { "type": "MemberExpression", - "start": 47711, - "end": 47720, + "start": 48364, + "end": 48373, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 29 }, "end": { - "line": 1252, + "line": 1253, "column": 38 } }, "object": { "type": "Identifier", - "start": 47711, - "end": 47717, + "start": 48364, + "end": 48370, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 29 }, "end": { - "line": 1252, + "line": 1253, "column": 35 }, "identifierName": "meshes" @@ -128653,15 +128819,15 @@ }, "property": { "type": "Identifier", - "start": 47718, - "end": 47719, + "start": 48371, + "end": 48372, "loc": { "start": { - "line": 1252, + "line": 1253, "column": 36 }, "end": { - "line": 1252, + "line": 1253, "column": 37 }, "identifierName": "j" @@ -128676,44 +128842,44 @@ }, { "type": "VariableDeclaration", - "start": 47738, - "end": 47769, + "start": 48391, + "end": 48422, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 16 }, "end": { - "line": 1253, + "line": 1254, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47744, - "end": 47768, + "start": 48397, + "end": 48421, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 22 }, "end": { - "line": 1253, + "line": 1254, "column": 46 } }, "id": { "type": "Identifier", - "start": 47744, - "end": 47752, + "start": 48397, + "end": 48405, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 22 }, "end": { - "line": 1253, + "line": 1254, "column": 30 }, "identifierName": "geometry" @@ -128722,29 +128888,29 @@ }, "init": { "type": "MemberExpression", - "start": 47755, - "end": 47768, + "start": 48408, + "end": 48421, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 33 }, "end": { - "line": 1253, + "line": 1254, "column": 46 } }, "object": { "type": "Identifier", - "start": 47755, - "end": 47759, + "start": 48408, + "end": 48412, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 33 }, "end": { - "line": 1253, + "line": 1254, "column": 37 }, "identifierName": "mesh" @@ -128753,15 +128919,15 @@ }, "property": { "type": "Identifier", - "start": 47760, - "end": 47768, + "start": 48413, + "end": 48421, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 38 }, "end": { - "line": 1253, + "line": 1254, "column": 46 }, "identifierName": "geometry" @@ -128776,44 +128942,44 @@ }, { "type": "VariableDeclaration", - "start": 47786, - "end": 47813, + "start": 48439, + "end": 48466, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 16 }, "end": { - "line": 1254, + "line": 1255, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47792, - "end": 47812, + "start": 48445, + "end": 48465, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 22 }, "end": { - "line": 1254, + "line": 1255, "column": 42 } }, "id": { "type": "Identifier", - "start": 47792, - "end": 47798, + "start": 48445, + "end": 48451, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 22 }, "end": { - "line": 1254, + "line": 1255, "column": 28 }, "identifierName": "matrix" @@ -128822,29 +128988,29 @@ }, "init": { "type": "MemberExpression", - "start": 47801, - "end": 47812, + "start": 48454, + "end": 48465, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 31 }, "end": { - "line": 1254, + "line": 1255, "column": 42 } }, "object": { "type": "Identifier", - "start": 47801, - "end": 47805, + "start": 48454, + "end": 48458, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 31 }, "end": { - "line": 1254, + "line": 1255, "column": 35 }, "identifierName": "mesh" @@ -128853,15 +129019,15 @@ }, "property": { "type": "Identifier", - "start": 47806, - "end": 47812, + "start": 48459, + "end": 48465, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 36 }, "end": { - "line": 1254, + "line": 1255, "column": 42 }, "identifierName": "matrix" @@ -128876,57 +129042,57 @@ }, { "type": "IfStatement", - "start": 47831, - "end": 48829, + "start": 48484, + "end": 49482, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 16 }, "end": { - "line": 1277, + "line": 1278, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 47835, - "end": 47860, + "start": 48488, + "end": 48513, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 20 }, "end": { - "line": 1256, + "line": 1257, "column": 45 } }, "left": { "type": "MemberExpression", - "start": 47835, - "end": 47856, + "start": 48488, + "end": 48509, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 20 }, "end": { - "line": 1256, + "line": 1257, "column": 41 } }, "object": { "type": "Identifier", - "start": 47835, - "end": 47843, + "start": 48488, + "end": 48496, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 20 }, "end": { - "line": 1256, + "line": 1257, "column": 28 }, "identifierName": "geometry" @@ -128935,15 +129101,15 @@ }, "property": { "type": "Identifier", - "start": 47844, - "end": 47856, + "start": 48497, + "end": 48509, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 29 }, "end": { - "line": 1256, + "line": 1257, "column": 41 }, "identifierName": "numInstances" @@ -128955,15 +129121,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 47859, - "end": 47860, + "start": 48512, + "end": 48513, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 44 }, "end": { - "line": 1256, + "line": 1257, "column": 45 } }, @@ -128976,59 +129142,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 47862, - "end": 48402, + "start": 48515, + "end": 49055, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 47 }, "end": { - "line": 1268, + "line": 1269, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 47885, - "end": 47922, + "start": 48538, + "end": 48575, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 20 }, "end": { - "line": 1258, + "line": 1259, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47891, - "end": 47921, + "start": 48544, + "end": 48574, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 26 }, "end": { - "line": 1258, + "line": 1259, "column": 56 } }, "id": { "type": "Identifier", - "start": 47891, - "end": 47900, + "start": 48544, + "end": 48553, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 26 }, "end": { - "line": 1258, + "line": 1259, "column": 35 }, "identifierName": "positions" @@ -129037,29 +129203,29 @@ }, "init": { "type": "MemberExpression", - "start": 47903, - "end": 47921, + "start": 48556, + "end": 48574, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 38 }, "end": { - "line": 1258, + "line": 1259, "column": 56 } }, "object": { "type": "Identifier", - "start": 47903, - "end": 47911, + "start": 48556, + "end": 48564, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 38 }, "end": { - "line": 1258, + "line": 1259, "column": 46 }, "identifierName": "geometry" @@ -129068,15 +129234,15 @@ }, "property": { "type": "Identifier", - "start": 47912, - "end": 47921, + "start": 48565, + "end": 48574, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 47 }, "end": { - "line": 1258, + "line": 1259, "column": 56 }, "identifierName": "positions" @@ -129091,58 +129257,58 @@ }, { "type": "ForStatement", - "start": 47943, - "end": 48383, + "start": 48596, + "end": 49036, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 20 }, "end": { - "line": 1266, + "line": 1267, "column": 21 } }, "init": { "type": "VariableDeclaration", - "start": 47948, - "end": 47981, + "start": 48601, + "end": 48634, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 25 }, "end": { - "line": 1259, + "line": 1260, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 47952, - "end": 47957, + "start": 48605, + "end": 48610, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 29 }, "end": { - "line": 1259, + "line": 1260, "column": 34 } }, "id": { "type": "Identifier", - "start": 47952, - "end": 47953, + "start": 48605, + "end": 48606, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 29 }, "end": { - "line": 1259, + "line": 1260, "column": 30 }, "identifierName": "i" @@ -129151,15 +129317,15 @@ }, "init": { "type": "NumericLiteral", - "start": 47956, - "end": 47957, + "start": 48609, + "end": 48610, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 33 }, "end": { - "line": 1259, + "line": 1260, "column": 34 } }, @@ -129172,29 +129338,29 @@ }, { "type": "VariableDeclarator", - "start": 47959, - "end": 47981, + "start": 48612, + "end": 48634, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 36 }, "end": { - "line": 1259, + "line": 1260, "column": 58 } }, "id": { "type": "Identifier", - "start": 47959, - "end": 47962, + "start": 48612, + "end": 48615, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 36 }, "end": { - "line": 1259, + "line": 1260, "column": 39 }, "identifierName": "len" @@ -129203,29 +129369,29 @@ }, "init": { "type": "MemberExpression", - "start": 47965, - "end": 47981, + "start": 48618, + "end": 48634, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 42 }, "end": { - "line": 1259, + "line": 1260, "column": 58 } }, "object": { "type": "Identifier", - "start": 47965, - "end": 47974, + "start": 48618, + "end": 48627, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 42 }, "end": { - "line": 1259, + "line": 1260, "column": 51 }, "identifierName": "positions" @@ -129234,15 +129400,15 @@ }, "property": { "type": "Identifier", - "start": 47975, - "end": 47981, + "start": 48628, + "end": 48634, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 52 }, "end": { - "line": 1259, + "line": 1260, "column": 58 }, "identifierName": "length" @@ -129257,29 +129423,29 @@ }, "test": { "type": "BinaryExpression", - "start": 47983, - "end": 47990, + "start": 48636, + "end": 48643, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 60 }, "end": { - "line": 1259, + "line": 1260, "column": 67 } }, "left": { "type": "Identifier", - "start": 47983, - "end": 47984, + "start": 48636, + "end": 48637, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 60 }, "end": { - "line": 1259, + "line": 1260, "column": 61 }, "identifierName": "i" @@ -129289,15 +129455,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 47987, - "end": 47990, + "start": 48640, + "end": 48643, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 64 }, "end": { - "line": 1259, + "line": 1260, "column": 67 }, "identifierName": "len" @@ -129307,30 +129473,30 @@ }, "update": { "type": "AssignmentExpression", - "start": 47992, - "end": 47998, + "start": 48645, + "end": 48651, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 69 }, "end": { - "line": 1259, + "line": 1260, "column": 75 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 47992, - "end": 47993, + "start": 48645, + "end": 48646, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 69 }, "end": { - "line": 1259, + "line": 1260, "column": 70 }, "identifierName": "i" @@ -129339,15 +129505,15 @@ }, "right": { "type": "NumericLiteral", - "start": 47997, - "end": 47998, + "start": 48650, + "end": 48651, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 74 }, "end": { - "line": 1259, + "line": 1260, "column": 75 } }, @@ -129360,73 +129526,73 @@ }, "body": { "type": "BlockStatement", - "start": 48000, - "end": 48383, + "start": 48653, + "end": 49036, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 77 }, "end": { - "line": 1266, + "line": 1267, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 48026, - "end": 48058, + "start": 48679, + "end": 48711, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 24 }, "end": { - "line": 1260, + "line": 1261, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48026, - "end": 48057, + "start": 48679, + "end": 48710, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 24 }, "end": { - "line": 1260, + "line": 1261, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48026, - "end": 48038, + "start": 48679, + "end": 48691, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 24 }, "end": { - "line": 1260, + "line": 1261, "column": 36 } }, "object": { "type": "Identifier", - "start": 48026, - "end": 48035, + "start": 48679, + "end": 48688, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 24 }, "end": { - "line": 1260, + "line": 1261, "column": 33 }, "identifierName": "tempVec4a" @@ -129435,15 +129601,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48036, - "end": 48037, + "start": 48689, + "end": 48690, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 34 }, "end": { - "line": 1260, + "line": 1261, "column": 35 } }, @@ -129457,29 +129623,29 @@ }, "right": { "type": "MemberExpression", - "start": 48041, - "end": 48057, + "start": 48694, + "end": 48710, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 39 }, "end": { - "line": 1260, + "line": 1261, "column": 55 } }, "object": { "type": "Identifier", - "start": 48041, - "end": 48050, + "start": 48694, + "end": 48703, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 39 }, "end": { - "line": 1260, + "line": 1261, "column": 48 }, "identifierName": "positions" @@ -129488,29 +129654,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48051, - "end": 48056, + "start": 48704, + "end": 48709, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 49 }, "end": { - "line": 1260, + "line": 1261, "column": 54 } }, "left": { "type": "Identifier", - "start": 48051, - "end": 48052, + "start": 48704, + "end": 48705, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 49 }, "end": { - "line": 1260, + "line": 1261, "column": 50 }, "identifierName": "i" @@ -129520,15 +129686,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48055, - "end": 48056, + "start": 48708, + "end": 48709, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 53 }, "end": { - "line": 1260, + "line": 1261, "column": 54 } }, @@ -129545,58 +129711,58 @@ }, { "type": "ExpressionStatement", - "start": 48083, - "end": 48115, + "start": 48736, + "end": 48768, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 24 }, "end": { - "line": 1261, + "line": 1262, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48083, - "end": 48114, + "start": 48736, + "end": 48767, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 24 }, "end": { - "line": 1261, + "line": 1262, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48083, - "end": 48095, + "start": 48736, + "end": 48748, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 24 }, "end": { - "line": 1261, + "line": 1262, "column": 36 } }, "object": { "type": "Identifier", - "start": 48083, - "end": 48092, + "start": 48736, + "end": 48745, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 24 }, "end": { - "line": 1261, + "line": 1262, "column": 33 }, "identifierName": "tempVec4a" @@ -129605,15 +129771,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48093, - "end": 48094, + "start": 48746, + "end": 48747, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 34 }, "end": { - "line": 1261, + "line": 1262, "column": 35 } }, @@ -129627,29 +129793,29 @@ }, "right": { "type": "MemberExpression", - "start": 48098, - "end": 48114, + "start": 48751, + "end": 48767, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 39 }, "end": { - "line": 1261, + "line": 1262, "column": 55 } }, "object": { "type": "Identifier", - "start": 48098, - "end": 48107, + "start": 48751, + "end": 48760, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 39 }, "end": { - "line": 1261, + "line": 1262, "column": 48 }, "identifierName": "positions" @@ -129658,29 +129824,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48108, - "end": 48113, + "start": 48761, + "end": 48766, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 49 }, "end": { - "line": 1261, + "line": 1262, "column": 54 } }, "left": { "type": "Identifier", - "start": 48108, - "end": 48109, + "start": 48761, + "end": 48762, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 49 }, "end": { - "line": 1261, + "line": 1262, "column": 50 }, "identifierName": "i" @@ -129690,15 +129856,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48112, - "end": 48113, + "start": 48765, + "end": 48766, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 53 }, "end": { - "line": 1261, + "line": 1262, "column": 54 } }, @@ -129715,58 +129881,58 @@ }, { "type": "ExpressionStatement", - "start": 48140, - "end": 48172, + "start": 48793, + "end": 48825, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 24 }, "end": { - "line": 1262, + "line": 1263, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48140, - "end": 48171, + "start": 48793, + "end": 48824, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 24 }, "end": { - "line": 1262, + "line": 1263, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48140, - "end": 48152, + "start": 48793, + "end": 48805, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 24 }, "end": { - "line": 1262, + "line": 1263, "column": 36 } }, "object": { "type": "Identifier", - "start": 48140, - "end": 48149, + "start": 48793, + "end": 48802, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 24 }, "end": { - "line": 1262, + "line": 1263, "column": 33 }, "identifierName": "tempVec4a" @@ -129775,15 +129941,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48150, - "end": 48151, + "start": 48803, + "end": 48804, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 34 }, "end": { - "line": 1262, + "line": 1263, "column": 35 } }, @@ -129797,29 +129963,29 @@ }, "right": { "type": "MemberExpression", - "start": 48155, - "end": 48171, + "start": 48808, + "end": 48824, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 39 }, "end": { - "line": 1262, + "line": 1263, "column": 55 } }, "object": { "type": "Identifier", - "start": 48155, - "end": 48164, + "start": 48808, + "end": 48817, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 39 }, "end": { - "line": 1262, + "line": 1263, "column": 48 }, "identifierName": "positions" @@ -129828,29 +129994,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48165, - "end": 48170, + "start": 48818, + "end": 48823, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 49 }, "end": { - "line": 1262, + "line": 1263, "column": 54 } }, "left": { "type": "Identifier", - "start": 48165, - "end": 48166, + "start": 48818, + "end": 48819, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 49 }, "end": { - "line": 1262, + "line": 1263, "column": 50 }, "identifierName": "i" @@ -129860,15 +130026,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48169, - "end": 48170, + "start": 48822, + "end": 48823, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 53 }, "end": { - "line": 1262, + "line": 1263, "column": 54 } }, @@ -129885,58 +130051,58 @@ }, { "type": "ExpressionStatement", - "start": 48197, - "end": 48214, + "start": 48850, + "end": 48867, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 24 }, "end": { - "line": 1263, + "line": 1264, "column": 41 } }, "expression": { "type": "AssignmentExpression", - "start": 48197, - "end": 48213, + "start": 48850, + "end": 48866, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 24 }, "end": { - "line": 1263, + "line": 1264, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48197, - "end": 48209, + "start": 48850, + "end": 48862, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 24 }, "end": { - "line": 1263, + "line": 1264, "column": 36 } }, "object": { "type": "Identifier", - "start": 48197, - "end": 48206, + "start": 48850, + "end": 48859, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 24 }, "end": { - "line": 1263, + "line": 1264, "column": 33 }, "identifierName": "tempVec4a" @@ -129945,15 +130111,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48207, - "end": 48208, + "start": 48860, + "end": 48861, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 34 }, "end": { - "line": 1263, + "line": 1264, "column": 35 } }, @@ -129967,15 +130133,15 @@ }, "right": { "type": "NumericLiteral", - "start": 48212, - "end": 48213, + "start": 48865, + "end": 48866, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 39 }, "end": { - "line": 1263, + "line": 1264, "column": 40 } }, @@ -129989,141 +130155,8 @@ }, { "type": "ExpressionStatement", - "start": 48239, - "end": 48290, - "loc": { - "start": { - "line": 1264, - "column": 24 - }, - "end": { - "line": 1264, - "column": 75 - } - }, - "expression": { - "type": "CallExpression", - "start": 48239, - "end": 48289, - "loc": { - "start": { - "line": 1264, - "column": 24 - }, - "end": { - "line": 1264, - "column": 74 - } - }, - "callee": { - "type": "MemberExpression", - "start": 48239, - "end": 48259, - "loc": { - "start": { - "line": 1264, - "column": 24 - }, - "end": { - "line": 1264, - "column": 44 - } - }, - "object": { - "type": "Identifier", - "start": 48239, - "end": 48243, - "loc": { - "start": { - "line": 1264, - "column": 24 - }, - "end": { - "line": 1264, - "column": 28 - }, - "identifierName": "math" - }, - "name": "math" - }, - "property": { - "type": "Identifier", - "start": 48244, - "end": 48259, - "loc": { - "start": { - "line": 1264, - "column": 29 - }, - "end": { - "line": 1264, - "column": 44 - }, - "identifierName": "transformPoint4" - }, - "name": "transformPoint4" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 48260, - "end": 48266, - "loc": { - "start": { - "line": 1264, - "column": 45 - }, - "end": { - "line": 1264, - "column": 51 - }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - { - "type": "Identifier", - "start": 48268, - "end": 48277, - "loc": { - "start": { - "line": 1264, - "column": 53 - }, - "end": { - "line": 1264, - "column": 62 - }, - "identifierName": "tempVec4a" - }, - "name": "tempVec4a" - }, - { - "type": "Identifier", - "start": 48279, - "end": 48288, - "loc": { - "start": { - "line": 1264, - "column": 64 - }, - "end": { - "line": 1264, - "column": 73 - }, - "identifierName": "tempVec4b" - }, - "name": "tempVec4b" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 48315, - "end": 48361, + "start": 48892, + "end": 48943, "loc": { "start": { "line": 1265, @@ -130131,13 +130164,13 @@ }, "end": { "line": 1265, - "column": 70 + "column": 75 } }, "expression": { "type": "CallExpression", - "start": 48315, - "end": 48360, + "start": 48892, + "end": 48942, "loc": { "start": { "line": 1265, @@ -130145,13 +130178,13 @@ }, "end": { "line": 1265, - "column": 69 + "column": 74 } }, "callee": { "type": "MemberExpression", - "start": 48315, - "end": 48337, + "start": 48892, + "end": 48912, "loc": { "start": { "line": 1265, @@ -130159,13 +130192,13 @@ }, "end": { "line": 1265, - "column": 46 + "column": 44 } }, "object": { "type": "Identifier", - "start": 48315, - "end": 48319, + "start": 48892, + "end": 48896, "loc": { "start": { "line": 1265, @@ -130181,8 +130214,8 @@ }, "property": { "type": "Identifier", - "start": 48320, - "end": 48337, + "start": 48897, + "end": 48912, "loc": { "start": { "line": 1265, @@ -130190,6 +130223,139 @@ }, "end": { "line": 1265, + "column": 44 + }, + "identifierName": "transformPoint4" + }, + "name": "transformPoint4" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 48913, + "end": 48919, + "loc": { + "start": { + "line": 1265, + "column": 45 + }, + "end": { + "line": 1265, + "column": 51 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + { + "type": "Identifier", + "start": 48921, + "end": 48930, + "loc": { + "start": { + "line": 1265, + "column": 53 + }, + "end": { + "line": 1265, + "column": 62 + }, + "identifierName": "tempVec4a" + }, + "name": "tempVec4a" + }, + { + "type": "Identifier", + "start": 48932, + "end": 48941, + "loc": { + "start": { + "line": 1265, + "column": 64 + }, + "end": { + "line": 1265, + "column": 73 + }, + "identifierName": "tempVec4b" + }, + "name": "tempVec4b" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 48968, + "end": 49014, + "loc": { + "start": { + "line": 1266, + "column": 24 + }, + "end": { + "line": 1266, + "column": 70 + } + }, + "expression": { + "type": "CallExpression", + "start": 48968, + "end": 49013, + "loc": { + "start": { + "line": 1266, + "column": 24 + }, + "end": { + "line": 1266, + "column": 69 + } + }, + "callee": { + "type": "MemberExpression", + "start": 48968, + "end": 48990, + "loc": { + "start": { + "line": 1266, + "column": 24 + }, + "end": { + "line": 1266, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 48968, + "end": 48972, + "loc": { + "start": { + "line": 1266, + "column": 24 + }, + "end": { + "line": 1266, + "column": 28 + }, + "identifierName": "math" + }, + "name": "math" + }, + "property": { + "type": "Identifier", + "start": 48973, + "end": 48990, + "loc": { + "start": { + "line": 1266, + "column": 29 + }, + "end": { + "line": 1266, "column": 46 }, "identifierName": "expandAABB3Point3" @@ -130201,15 +130367,15 @@ "arguments": [ { "type": "Identifier", - "start": 48338, - "end": 48348, + "start": 48991, + "end": 49001, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 47 }, "end": { - "line": 1265, + "line": 1266, "column": 57 }, "identifierName": "entityAABB" @@ -130218,15 +130384,15 @@ }, { "type": "Identifier", - "start": 48350, - "end": 48359, + "start": 49003, + "end": 49012, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 59 }, "end": { - "line": 1265, + "line": 1266, "column": 68 }, "identifierName": "tempVec4b" @@ -130245,59 +130411,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 48408, - "end": 48829, + "start": 49061, + "end": 49482, "loc": { "start": { - "line": 1268, + "line": 1269, "column": 23 }, "end": { - "line": 1277, + "line": 1278, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 48431, - "end": 48468, + "start": 49084, + "end": 49121, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 20 }, "end": { - "line": 1270, + "line": 1271, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 48437, - "end": 48467, + "start": 49090, + "end": 49120, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 26 }, "end": { - "line": 1270, + "line": 1271, "column": 56 } }, "id": { "type": "Identifier", - "start": 48437, - "end": 48446, + "start": 49090, + "end": 49099, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 26 }, "end": { - "line": 1270, + "line": 1271, "column": 35 }, "identifierName": "positions" @@ -130306,29 +130472,29 @@ }, "init": { "type": "MemberExpression", - "start": 48449, - "end": 48467, + "start": 49102, + "end": 49120, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 38 }, "end": { - "line": 1270, + "line": 1271, "column": 56 } }, "object": { "type": "Identifier", - "start": 48449, - "end": 48457, + "start": 49102, + "end": 49110, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 38 }, "end": { - "line": 1270, + "line": 1271, "column": 46 }, "identifierName": "geometry" @@ -130337,15 +130503,15 @@ }, "property": { "type": "Identifier", - "start": 48458, - "end": 48467, + "start": 49111, + "end": 49120, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 47 }, "end": { - "line": 1270, + "line": 1271, "column": 56 }, "identifierName": "positions" @@ -130360,58 +130526,58 @@ }, { "type": "ForStatement", - "start": 48489, - "end": 48811, + "start": 49142, + "end": 49464, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 20 }, "end": { - "line": 1276, + "line": 1277, "column": 21 } }, "init": { "type": "VariableDeclaration", - "start": 48494, - "end": 48527, + "start": 49147, + "end": 49180, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 25 }, "end": { - "line": 1271, + "line": 1272, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 48498, - "end": 48503, + "start": 49151, + "end": 49156, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 29 }, "end": { - "line": 1271, + "line": 1272, "column": 34 } }, "id": { "type": "Identifier", - "start": 48498, - "end": 48499, + "start": 49151, + "end": 49152, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 29 }, "end": { - "line": 1271, + "line": 1272, "column": 30 }, "identifierName": "i" @@ -130420,15 +130586,15 @@ }, "init": { "type": "NumericLiteral", - "start": 48502, - "end": 48503, + "start": 49155, + "end": 49156, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 33 }, "end": { - "line": 1271, + "line": 1272, "column": 34 } }, @@ -130441,29 +130607,29 @@ }, { "type": "VariableDeclarator", - "start": 48505, - "end": 48527, + "start": 49158, + "end": 49180, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 36 }, "end": { - "line": 1271, + "line": 1272, "column": 58 } }, "id": { "type": "Identifier", - "start": 48505, - "end": 48508, + "start": 49158, + "end": 49161, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 36 }, "end": { - "line": 1271, + "line": 1272, "column": 39 }, "identifierName": "len" @@ -130472,29 +130638,29 @@ }, "init": { "type": "MemberExpression", - "start": 48511, - "end": 48527, + "start": 49164, + "end": 49180, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 42 }, "end": { - "line": 1271, + "line": 1272, "column": 58 } }, "object": { "type": "Identifier", - "start": 48511, - "end": 48520, + "start": 49164, + "end": 49173, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 42 }, "end": { - "line": 1271, + "line": 1272, "column": 51 }, "identifierName": "positions" @@ -130503,15 +130669,15 @@ }, "property": { "type": "Identifier", - "start": 48521, - "end": 48527, + "start": 49174, + "end": 49180, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 52 }, "end": { - "line": 1271, + "line": 1272, "column": 58 }, "identifierName": "length" @@ -130526,29 +130692,29 @@ }, "test": { "type": "BinaryExpression", - "start": 48529, - "end": 48536, + "start": 49182, + "end": 49189, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 60 }, "end": { - "line": 1271, + "line": 1272, "column": 67 } }, "left": { "type": "Identifier", - "start": 48529, - "end": 48530, + "start": 49182, + "end": 49183, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 60 }, "end": { - "line": 1271, + "line": 1272, "column": 61 }, "identifierName": "i" @@ -130558,15 +130724,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 48533, - "end": 48536, + "start": 49186, + "end": 49189, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 64 }, "end": { - "line": 1271, + "line": 1272, "column": 67 }, "identifierName": "len" @@ -130576,30 +130742,30 @@ }, "update": { "type": "AssignmentExpression", - "start": 48538, - "end": 48544, + "start": 49191, + "end": 49197, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 69 }, "end": { - "line": 1271, + "line": 1272, "column": 75 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 48538, - "end": 48539, + "start": 49191, + "end": 49192, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 69 }, "end": { - "line": 1271, + "line": 1272, "column": 70 }, "identifierName": "i" @@ -130608,15 +130774,15 @@ }, "right": { "type": "NumericLiteral", - "start": 48543, - "end": 48544, + "start": 49196, + "end": 49197, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 74 }, "end": { - "line": 1271, + "line": 1272, "column": 75 } }, @@ -130629,73 +130795,73 @@ }, "body": { "type": "BlockStatement", - "start": 48546, - "end": 48811, + "start": 49199, + "end": 49464, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 77 }, "end": { - "line": 1276, + "line": 1277, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 48572, - "end": 48604, + "start": 49225, + "end": 49257, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 24 }, "end": { - "line": 1272, + "line": 1273, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48572, - "end": 48603, + "start": 49225, + "end": 49256, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 24 }, "end": { - "line": 1272, + "line": 1273, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48572, - "end": 48584, + "start": 49225, + "end": 49237, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 24 }, "end": { - "line": 1272, + "line": 1273, "column": 36 } }, "object": { "type": "Identifier", - "start": 48572, - "end": 48581, + "start": 49225, + "end": 49234, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 24 }, "end": { - "line": 1272, + "line": 1273, "column": 33 }, "identifierName": "tempVec4a" @@ -130704,15 +130870,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48582, - "end": 48583, + "start": 49235, + "end": 49236, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 34 }, "end": { - "line": 1272, + "line": 1273, "column": 35 } }, @@ -130726,29 +130892,29 @@ }, "right": { "type": "MemberExpression", - "start": 48587, - "end": 48603, + "start": 49240, + "end": 49256, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 39 }, "end": { - "line": 1272, + "line": 1273, "column": 55 } }, "object": { "type": "Identifier", - "start": 48587, - "end": 48596, + "start": 49240, + "end": 49249, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 39 }, "end": { - "line": 1272, + "line": 1273, "column": 48 }, "identifierName": "positions" @@ -130757,29 +130923,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48597, - "end": 48602, + "start": 49250, + "end": 49255, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 49 }, "end": { - "line": 1272, + "line": 1273, "column": 54 } }, "left": { "type": "Identifier", - "start": 48597, - "end": 48598, + "start": 49250, + "end": 49251, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 49 }, "end": { - "line": 1272, + "line": 1273, "column": 50 }, "identifierName": "i" @@ -130789,15 +130955,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48601, - "end": 48602, + "start": 49254, + "end": 49255, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 53 }, "end": { - "line": 1272, + "line": 1273, "column": 54 } }, @@ -130814,58 +130980,58 @@ }, { "type": "ExpressionStatement", - "start": 48629, - "end": 48661, + "start": 49282, + "end": 49314, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 24 }, "end": { - "line": 1273, + "line": 1274, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48629, - "end": 48660, + "start": 49282, + "end": 49313, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 24 }, "end": { - "line": 1273, + "line": 1274, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48629, - "end": 48641, + "start": 49282, + "end": 49294, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 24 }, "end": { - "line": 1273, + "line": 1274, "column": 36 } }, "object": { "type": "Identifier", - "start": 48629, - "end": 48638, + "start": 49282, + "end": 49291, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 24 }, "end": { - "line": 1273, + "line": 1274, "column": 33 }, "identifierName": "tempVec4a" @@ -130874,15 +131040,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48639, - "end": 48640, + "start": 49292, + "end": 49293, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 34 }, "end": { - "line": 1273, + "line": 1274, "column": 35 } }, @@ -130896,29 +131062,29 @@ }, "right": { "type": "MemberExpression", - "start": 48644, - "end": 48660, + "start": 49297, + "end": 49313, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 39 }, "end": { - "line": 1273, + "line": 1274, "column": 55 } }, "object": { "type": "Identifier", - "start": 48644, - "end": 48653, + "start": 49297, + "end": 49306, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 39 }, "end": { - "line": 1273, + "line": 1274, "column": 48 }, "identifierName": "positions" @@ -130927,29 +131093,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48654, - "end": 48659, + "start": 49307, + "end": 49312, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 49 }, "end": { - "line": 1273, + "line": 1274, "column": 54 } }, "left": { "type": "Identifier", - "start": 48654, - "end": 48655, + "start": 49307, + "end": 49308, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 49 }, "end": { - "line": 1273, + "line": 1274, "column": 50 }, "identifierName": "i" @@ -130959,15 +131125,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48658, - "end": 48659, + "start": 49311, + "end": 49312, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 53 }, "end": { - "line": 1273, + "line": 1274, "column": 54 } }, @@ -130984,58 +131150,58 @@ }, { "type": "ExpressionStatement", - "start": 48686, - "end": 48718, + "start": 49339, + "end": 49371, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 24 }, "end": { - "line": 1274, + "line": 1275, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 48686, - "end": 48717, + "start": 49339, + "end": 49370, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 24 }, "end": { - "line": 1274, + "line": 1275, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 48686, - "end": 48698, + "start": 49339, + "end": 49351, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 24 }, "end": { - "line": 1274, + "line": 1275, "column": 36 } }, "object": { "type": "Identifier", - "start": 48686, - "end": 48695, + "start": 49339, + "end": 49348, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 24 }, "end": { - "line": 1274, + "line": 1275, "column": 33 }, "identifierName": "tempVec4a" @@ -131044,15 +131210,15 @@ }, "property": { "type": "NumericLiteral", - "start": 48696, - "end": 48697, + "start": 49349, + "end": 49350, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 34 }, "end": { - "line": 1274, + "line": 1275, "column": 35 } }, @@ -131066,29 +131232,29 @@ }, "right": { "type": "MemberExpression", - "start": 48701, - "end": 48717, + "start": 49354, + "end": 49370, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 39 }, "end": { - "line": 1274, + "line": 1275, "column": 55 } }, "object": { "type": "Identifier", - "start": 48701, - "end": 48710, + "start": 49354, + "end": 49363, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 39 }, "end": { - "line": 1274, + "line": 1275, "column": 48 }, "identifierName": "positions" @@ -131097,29 +131263,29 @@ }, "property": { "type": "BinaryExpression", - "start": 48711, - "end": 48716, + "start": 49364, + "end": 49369, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 49 }, "end": { - "line": 1274, + "line": 1275, "column": 54 } }, "left": { "type": "Identifier", - "start": 48711, - "end": 48712, + "start": 49364, + "end": 49365, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 49 }, "end": { - "line": 1274, + "line": 1275, "column": 50 }, "identifierName": "i" @@ -131129,15 +131295,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 48715, - "end": 48716, + "start": 49368, + "end": 49369, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 53 }, "end": { - "line": 1274, + "line": 1275, "column": 54 } }, @@ -131154,57 +131320,57 @@ }, { "type": "ExpressionStatement", - "start": 48743, - "end": 48789, + "start": 49396, + "end": 49442, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 24 }, "end": { - "line": 1275, + "line": 1276, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 48743, - "end": 48788, + "start": 49396, + "end": 49441, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 24 }, "end": { - "line": 1275, + "line": 1276, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 48743, - "end": 48765, + "start": 49396, + "end": 49418, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 24 }, "end": { - "line": 1275, + "line": 1276, "column": 46 } }, "object": { "type": "Identifier", - "start": 48743, - "end": 48747, + "start": 49396, + "end": 49400, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 24 }, "end": { - "line": 1275, + "line": 1276, "column": 28 }, "identifierName": "math" @@ -131213,15 +131379,15 @@ }, "property": { "type": "Identifier", - "start": 48748, - "end": 48765, + "start": 49401, + "end": 49418, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 29 }, "end": { - "line": 1275, + "line": 1276, "column": 46 }, "identifierName": "expandAABB3Point3" @@ -131233,15 +131399,15 @@ "arguments": [ { "type": "Identifier", - "start": 48766, - "end": 48776, + "start": 49419, + "end": 49429, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 47 }, "end": { - "line": 1275, + "line": 1276, "column": 57 }, "identifierName": "entityAABB" @@ -131250,15 +131416,15 @@ }, { "type": "Identifier", - "start": 48778, - "end": 48787, + "start": 49431, + "end": 49440, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 59 }, "end": { - "line": 1275, + "line": 1276, "column": 68 }, "identifierName": "tempVec4a" @@ -131290,15 +131456,15 @@ }, { "type": "ClassMethod", - "start": 48865, - "end": 49527, + "start": 49518, + "end": 50180, "loc": { "start": { - "line": 1282, + "line": 1283, "column": 4 }, "end": { - "line": 1303, + "line": 1304, "column": 5 } }, @@ -131306,15 +131472,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 48865, - "end": 48878, + "start": 49518, + "end": 49531, "loc": { "start": { - "line": 1282, + "line": 1283, "column": 4 }, "end": { - "line": 1282, + "line": 1283, "column": 17 }, "identifierName": "_createKDTree" @@ -131329,59 +131495,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 48881, - "end": 49527, + "start": 49534, + "end": 50180, "loc": { "start": { - "line": 1282, + "line": 1283, "column": 20 }, "end": { - "line": 1303, + "line": 1304, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 48892, - "end": 48901, + "start": 49545, + "end": 49554, "loc": { "start": { - "line": 1284, + "line": 1285, "column": 8 }, "end": { - "line": 1284, + "line": 1285, "column": 17 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 48896, - "end": 48900, + "start": 49549, + "end": 49553, "loc": { "start": { - "line": 1284, + "line": 1285, "column": 12 }, "end": { - "line": 1284, + "line": 1285, "column": 16 } }, "id": { "type": "Identifier", - "start": 48896, - "end": 48900, + "start": 49549, + "end": 49553, "loc": { "start": { - "line": 1284, + "line": 1285, "column": 12 }, "end": { - "line": 1284, + "line": 1285, "column": 16 }, "identifierName": "aabb" @@ -131395,58 +131561,58 @@ }, { "type": "IfStatement", - "start": 48910, - "end": 49253, + "start": 49563, + "end": 49906, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 8 }, "end": { - "line": 1293, + "line": 1294, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 48914, - "end": 48928, + "start": 49567, + "end": 49581, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 12 }, "end": { - "line": 1285, + "line": 1286, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 48914, - "end": 48918, + "start": 49567, + "end": 49571, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 12 }, "end": { - "line": 1285, + "line": 1286, "column": 16 } } }, "property": { "type": "Identifier", - "start": 48919, - "end": 48928, + "start": 49572, + "end": 49581, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 17 }, "end": { - "line": 1285, + "line": 1286, "column": 26 }, "identifierName": "modelAABB" @@ -131457,59 +131623,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 48930, - "end": 48999, + "start": 49583, + "end": 49652, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 28 }, "end": { - "line": 1287, + "line": 1288, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 48944, - "end": 48966, + "start": 49597, + "end": 49619, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 12 }, "end": { - "line": 1286, + "line": 1287, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 48944, - "end": 48965, + "start": 49597, + "end": 49618, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 12 }, "end": { - "line": 1286, + "line": 1287, "column": 33 } }, "operator": "=", "left": { "type": "Identifier", - "start": 48944, - "end": 48948, + "start": 49597, + "end": 49601, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 12 }, "end": { - "line": 1286, + "line": 1287, "column": 16 }, "identifierName": "aabb" @@ -131518,44 +131684,44 @@ }, "right": { "type": "MemberExpression", - "start": 48951, - "end": 48965, + "start": 49604, + "end": 49618, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 19 }, "end": { - "line": 1286, + "line": 1287, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 48951, - "end": 48955, + "start": 49604, + "end": 49608, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 19 }, "end": { - "line": 1286, + "line": 1287, "column": 23 } } }, "property": { "type": "Identifier", - "start": 48956, - "end": 48965, + "start": 49609, + "end": 49618, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 24 }, "end": { - "line": 1286, + "line": 1287, "column": 33 }, "identifierName": "modelAABB" @@ -131569,15 +131735,15 @@ { "type": "CommentLine", "value": " Pre-known uber AABB", - "start": 48967, - "end": 48989, + "start": 49620, + "end": 49642, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 35 }, "end": { - "line": 1286, + "line": 1287, "column": 57 } } @@ -131589,59 +131755,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 49005, - "end": 49253, + "start": 49658, + "end": 49906, "loc": { "start": { - "line": 1287, + "line": 1288, "column": 15 }, "end": { - "line": 1293, + "line": 1294, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 49019, - "end": 49047, + "start": 49672, + "end": 49700, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 12 }, "end": { - "line": 1288, + "line": 1289, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 49019, - "end": 49046, + "start": 49672, + "end": 49699, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 12 }, "end": { - "line": 1288, + "line": 1289, "column": 39 } }, "operator": "=", "left": { "type": "Identifier", - "start": 49019, - "end": 49023, + "start": 49672, + "end": 49676, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 12 }, "end": { - "line": 1288, + "line": 1289, "column": 16 }, "identifierName": "aabb" @@ -131650,43 +131816,43 @@ }, "right": { "type": "CallExpression", - "start": 49026, - "end": 49046, + "start": 49679, + "end": 49699, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 19 }, "end": { - "line": 1288, + "line": 1289, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 49026, - "end": 49044, + "start": 49679, + "end": 49697, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 19 }, "end": { - "line": 1288, + "line": 1289, "column": 37 } }, "object": { "type": "Identifier", - "start": 49026, - "end": 49030, + "start": 49679, + "end": 49683, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 19 }, "end": { - "line": 1288, + "line": 1289, "column": 23 }, "identifierName": "math" @@ -131695,15 +131861,15 @@ }, "property": { "type": "Identifier", - "start": 49031, - "end": 49044, + "start": 49684, + "end": 49697, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 24 }, "end": { - "line": 1288, + "line": 1289, "column": 37 }, "identifierName": "collapseAABB3" @@ -131718,58 +131884,58 @@ }, { "type": "ForStatement", - "start": 49060, - "end": 49243, + "start": 49713, + "end": 49896, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 12 }, "end": { - "line": 1292, + "line": 1293, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 49065, - "end": 49106, + "start": 49718, + "end": 49759, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 17 }, "end": { - "line": 1289, + "line": 1290, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49069, - "end": 49074, + "start": 49722, + "end": 49727, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 21 }, "end": { - "line": 1289, + "line": 1290, "column": 26 } }, "id": { "type": "Identifier", - "start": 49069, - "end": 49070, + "start": 49722, + "end": 49723, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 21 }, "end": { - "line": 1289, + "line": 1290, "column": 22 }, "identifierName": "i" @@ -131778,15 +131944,15 @@ }, "init": { "type": "NumericLiteral", - "start": 49073, - "end": 49074, + "start": 49726, + "end": 49727, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 25 }, "end": { - "line": 1289, + "line": 1290, "column": 26 } }, @@ -131799,29 +131965,29 @@ }, { "type": "VariableDeclarator", - "start": 49076, - "end": 49106, + "start": 49729, + "end": 49759, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 28 }, "end": { - "line": 1289, + "line": 1290, "column": 58 } }, "id": { "type": "Identifier", - "start": 49076, - "end": 49079, + "start": 49729, + "end": 49732, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 28 }, "end": { - "line": 1289, + "line": 1290, "column": 31 }, "identifierName": "len" @@ -131830,58 +131996,58 @@ }, "init": { "type": "MemberExpression", - "start": 49082, - "end": 49106, + "start": 49735, + "end": 49759, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 34 }, "end": { - "line": 1289, + "line": 1290, "column": 58 } }, "object": { "type": "MemberExpression", - "start": 49082, - "end": 49099, + "start": 49735, + "end": 49752, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 34 }, "end": { - "line": 1289, + "line": 1290, "column": 51 } }, "object": { "type": "ThisExpression", - "start": 49082, - "end": 49086, + "start": 49735, + "end": 49739, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 34 }, "end": { - "line": 1289, + "line": 1290, "column": 38 } } }, "property": { "type": "Identifier", - "start": 49087, - "end": 49099, + "start": 49740, + "end": 49752, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 39 }, "end": { - "line": 1289, + "line": 1290, "column": 51 }, "identifierName": "entitiesList" @@ -131892,15 +132058,15 @@ }, "property": { "type": "Identifier", - "start": 49100, - "end": 49106, + "start": 49753, + "end": 49759, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 52 }, "end": { - "line": 1289, + "line": 1290, "column": 58 }, "identifierName": "length" @@ -131915,29 +132081,29 @@ }, "test": { "type": "BinaryExpression", - "start": 49108, - "end": 49115, + "start": 49761, + "end": 49768, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 60 }, "end": { - "line": 1289, + "line": 1290, "column": 67 } }, "left": { "type": "Identifier", - "start": 49108, - "end": 49109, + "start": 49761, + "end": 49762, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 60 }, "end": { - "line": 1289, + "line": 1290, "column": 61 }, "identifierName": "i" @@ -131947,15 +132113,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 49112, - "end": 49115, + "start": 49765, + "end": 49768, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 64 }, "end": { - "line": 1289, + "line": 1290, "column": 67 }, "identifierName": "len" @@ -131965,15 +132131,15 @@ }, "update": { "type": "UpdateExpression", - "start": 49117, - "end": 49120, + "start": 49770, + "end": 49773, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 69 }, "end": { - "line": 1289, + "line": 1290, "column": 72 } }, @@ -131981,15 +132147,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 49117, - "end": 49118, + "start": 49770, + "end": 49771, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 69 }, "end": { - "line": 1289, + "line": 1290, "column": 70 }, "identifierName": "i" @@ -131999,59 +132165,59 @@ }, "body": { "type": "BlockStatement", - "start": 49122, - "end": 49243, + "start": 49775, + "end": 49896, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 74 }, "end": { - "line": 1292, + "line": 1293, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 49140, - "end": 49176, + "start": 49793, + "end": 49829, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 16 }, "end": { - "line": 1290, + "line": 1291, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49146, - "end": 49175, + "start": 49799, + "end": 49828, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 22 }, "end": { - "line": 1290, + "line": 1291, "column": 51 } }, "id": { "type": "Identifier", - "start": 49146, - "end": 49152, + "start": 49799, + "end": 49805, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 22 }, "end": { - "line": 1290, + "line": 1291, "column": 28 }, "identifierName": "entity" @@ -132060,58 +132226,58 @@ }, "init": { "type": "MemberExpression", - "start": 49155, - "end": 49175, + "start": 49808, + "end": 49828, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 31 }, "end": { - "line": 1290, + "line": 1291, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 49155, - "end": 49172, + "start": 49808, + "end": 49825, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 31 }, "end": { - "line": 1290, + "line": 1291, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 49155, - "end": 49159, + "start": 49808, + "end": 49812, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 31 }, "end": { - "line": 1290, + "line": 1291, "column": 35 } } }, "property": { "type": "Identifier", - "start": 49160, - "end": 49172, + "start": 49813, + "end": 49825, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 36 }, "end": { - "line": 1290, + "line": 1291, "column": 48 }, "identifierName": "entitiesList" @@ -132122,15 +132288,15 @@ }, "property": { "type": "Identifier", - "start": 49173, - "end": 49174, + "start": 49826, + "end": 49827, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 49 }, "end": { - "line": 1290, + "line": 1291, "column": 50 }, "identifierName": "i" @@ -132145,57 +132311,57 @@ }, { "type": "ExpressionStatement", - "start": 49193, - "end": 49229, + "start": 49846, + "end": 49882, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 16 }, "end": { - "line": 1291, + "line": 1292, "column": 52 } }, "expression": { "type": "CallExpression", - "start": 49193, - "end": 49228, + "start": 49846, + "end": 49881, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 16 }, "end": { - "line": 1291, + "line": 1292, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 49193, - "end": 49209, + "start": 49846, + "end": 49862, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 16 }, "end": { - "line": 1291, + "line": 1292, "column": 32 } }, "object": { "type": "Identifier", - "start": 49193, - "end": 49197, + "start": 49846, + "end": 49850, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 16 }, "end": { - "line": 1291, + "line": 1292, "column": 20 }, "identifierName": "math" @@ -132204,15 +132370,15 @@ }, "property": { "type": "Identifier", - "start": 49198, - "end": 49209, + "start": 49851, + "end": 49862, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 21 }, "end": { - "line": 1291, + "line": 1292, "column": 32 }, "identifierName": "expandAABB3" @@ -132224,15 +132390,15 @@ "arguments": [ { "type": "Identifier", - "start": 49210, - "end": 49214, + "start": 49863, + "end": 49867, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 33 }, "end": { - "line": 1291, + "line": 1292, "column": 37 }, "identifierName": "aabb" @@ -132241,29 +132407,29 @@ }, { "type": "MemberExpression", - "start": 49216, - "end": 49227, + "start": 49869, + "end": 49880, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 39 }, "end": { - "line": 1291, + "line": 1292, "column": 50 } }, "object": { "type": "Identifier", - "start": 49216, - "end": 49222, + "start": 49869, + "end": 49875, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 39 }, "end": { - "line": 1291, + "line": 1292, "column": 45 }, "identifierName": "entity" @@ -132272,15 +132438,15 @@ }, "property": { "type": "Identifier", - "start": 49223, - "end": 49227, + "start": 49876, + "end": 49880, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 46 }, "end": { - "line": 1291, + "line": 1292, "column": 50 }, "identifierName": "aabb" @@ -132302,44 +132468,44 @@ }, { "type": "VariableDeclaration", - "start": 49263, - "end": 49299, + "start": 49916, + "end": 49952, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 8 }, "end": { - "line": 1295, + "line": 1296, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49269, - "end": 49298, + "start": 49922, + "end": 49951, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 14 }, "end": { - "line": 1295, + "line": 1296, "column": 43 } }, "id": { "type": "Identifier", - "start": 49269, - "end": 49279, + "start": 49922, + "end": 49932, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 14 }, "end": { - "line": 1295, + "line": 1296, "column": 24 }, "identifierName": "rootKDNode" @@ -132348,29 +132514,29 @@ }, "init": { "type": "NewExpression", - "start": 49282, - "end": 49298, + "start": 49935, + "end": 49951, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 27 }, "end": { - "line": 1295, + "line": 1296, "column": 43 } }, "callee": { "type": "Identifier", - "start": 49286, - "end": 49292, + "start": 49939, + "end": 49945, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 31 }, "end": { - "line": 1295, + "line": 1296, "column": 37 }, "identifierName": "KDNode" @@ -132380,15 +132546,15 @@ "arguments": [ { "type": "Identifier", - "start": 49293, - "end": 49297, + "start": 49946, + "end": 49950, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 38 }, "end": { - "line": 1295, + "line": 1296, "column": 42 }, "identifierName": "aabb" @@ -132403,58 +132569,58 @@ }, { "type": "ForStatement", - "start": 49309, - "end": 49493, + "start": 49962, + "end": 50146, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 8 }, "end": { - "line": 1300, + "line": 1301, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 49314, - "end": 49355, + "start": 49967, + "end": 50008, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 13 }, "end": { - "line": 1297, + "line": 1298, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49318, - "end": 49323, + "start": 49971, + "end": 49976, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 17 }, "end": { - "line": 1297, + "line": 1298, "column": 22 } }, "id": { "type": "Identifier", - "start": 49318, - "end": 49319, + "start": 49971, + "end": 49972, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 17 }, "end": { - "line": 1297, + "line": 1298, "column": 18 }, "identifierName": "i" @@ -132463,15 +132629,15 @@ }, "init": { "type": "NumericLiteral", - "start": 49322, - "end": 49323, + "start": 49975, + "end": 49976, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 21 }, "end": { - "line": 1297, + "line": 1298, "column": 22 } }, @@ -132484,29 +132650,29 @@ }, { "type": "VariableDeclarator", - "start": 49325, - "end": 49355, + "start": 49978, + "end": 50008, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 24 }, "end": { - "line": 1297, + "line": 1298, "column": 54 } }, "id": { "type": "Identifier", - "start": 49325, - "end": 49328, + "start": 49978, + "end": 49981, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 24 }, "end": { - "line": 1297, + "line": 1298, "column": 27 }, "identifierName": "len" @@ -132515,58 +132681,58 @@ }, "init": { "type": "MemberExpression", - "start": 49331, - "end": 49355, + "start": 49984, + "end": 50008, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 30 }, "end": { - "line": 1297, + "line": 1298, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 49331, - "end": 49348, + "start": 49984, + "end": 50001, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 30 }, "end": { - "line": 1297, + "line": 1298, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 49331, - "end": 49335, + "start": 49984, + "end": 49988, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 30 }, "end": { - "line": 1297, + "line": 1298, "column": 34 } } }, "property": { "type": "Identifier", - "start": 49336, - "end": 49348, + "start": 49989, + "end": 50001, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 35 }, "end": { - "line": 1297, + "line": 1298, "column": 47 }, "identifierName": "entitiesList" @@ -132577,15 +132743,15 @@ }, "property": { "type": "Identifier", - "start": 49349, - "end": 49355, + "start": 50002, + "end": 50008, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 48 }, "end": { - "line": 1297, + "line": 1298, "column": 54 }, "identifierName": "length" @@ -132600,29 +132766,29 @@ }, "test": { "type": "BinaryExpression", - "start": 49357, - "end": 49364, + "start": 50010, + "end": 50017, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 56 }, "end": { - "line": 1297, + "line": 1298, "column": 63 } }, "left": { "type": "Identifier", - "start": 49357, - "end": 49358, + "start": 50010, + "end": 50011, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 56 }, "end": { - "line": 1297, + "line": 1298, "column": 57 }, "identifierName": "i" @@ -132632,15 +132798,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 49361, - "end": 49364, + "start": 50014, + "end": 50017, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 60 }, "end": { - "line": 1297, + "line": 1298, "column": 63 }, "identifierName": "len" @@ -132650,15 +132816,15 @@ }, "update": { "type": "UpdateExpression", - "start": 49366, - "end": 49369, + "start": 50019, + "end": 50022, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 65 }, "end": { - "line": 1297, + "line": 1298, "column": 68 } }, @@ -132666,15 +132832,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 49366, - "end": 49367, + "start": 50019, + "end": 50020, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 65 }, "end": { - "line": 1297, + "line": 1298, "column": 66 }, "identifierName": "i" @@ -132684,59 +132850,59 @@ }, "body": { "type": "BlockStatement", - "start": 49371, - "end": 49493, + "start": 50024, + "end": 50146, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 70 }, "end": { - "line": 1300, + "line": 1301, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 49385, - "end": 49421, + "start": 50038, + "end": 50074, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 12 }, "end": { - "line": 1298, + "line": 1299, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49391, - "end": 49420, + "start": 50044, + "end": 50073, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 18 }, "end": { - "line": 1298, + "line": 1299, "column": 47 } }, "id": { "type": "Identifier", - "start": 49391, - "end": 49397, + "start": 50044, + "end": 50050, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 18 }, "end": { - "line": 1298, + "line": 1299, "column": 24 }, "identifierName": "entity" @@ -132745,58 +132911,58 @@ }, "init": { "type": "MemberExpression", - "start": 49400, - "end": 49420, + "start": 50053, + "end": 50073, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 27 }, "end": { - "line": 1298, + "line": 1299, "column": 47 } }, "object": { "type": "MemberExpression", - "start": 49400, - "end": 49417, + "start": 50053, + "end": 50070, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 27 }, "end": { - "line": 1298, + "line": 1299, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 49400, - "end": 49404, + "start": 50053, + "end": 50057, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 27 }, "end": { - "line": 1298, + "line": 1299, "column": 31 } } }, "property": { "type": "Identifier", - "start": 49405, - "end": 49417, + "start": 50058, + "end": 50070, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 32 }, "end": { - "line": 1298, + "line": 1299, "column": 44 }, "identifierName": "entitiesList" @@ -132807,15 +132973,15 @@ }, "property": { "type": "Identifier", - "start": 49418, - "end": 49419, + "start": 50071, + "end": 50072, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 45 }, "end": { - "line": 1298, + "line": 1299, "column": 46 }, "identifierName": "i" @@ -132830,72 +132996,72 @@ }, { "type": "ExpressionStatement", - "start": 49434, - "end": 49483, + "start": 50087, + "end": 50136, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 12 }, "end": { - "line": 1299, + "line": 1300, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 49434, - "end": 49482, + "start": 50087, + "end": 50135, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 12 }, "end": { - "line": 1299, + "line": 1300, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 49434, - "end": 49462, + "start": 50087, + "end": 50115, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 12 }, "end": { - "line": 1299, + "line": 1300, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 49434, - "end": 49438, + "start": 50087, + "end": 50091, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 12 }, "end": { - "line": 1299, + "line": 1300, "column": 16 } } }, "property": { "type": "Identifier", - "start": 49439, - "end": 49462, + "start": 50092, + "end": 50115, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 17 }, "end": { - "line": 1299, + "line": 1300, "column": 40 }, "identifierName": "_insertEntityIntoKDTree" @@ -132907,15 +133073,15 @@ "arguments": [ { "type": "Identifier", - "start": 49463, - "end": 49473, + "start": 50116, + "end": 50126, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 41 }, "end": { - "line": 1299, + "line": 1300, "column": 51 }, "identifierName": "rootKDNode" @@ -132924,15 +133090,15 @@ }, { "type": "Identifier", - "start": 49475, - "end": 49481, + "start": 50128, + "end": 50134, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 53 }, "end": { - "line": 1299, + "line": 1300, "column": 59 }, "identifierName": "entity" @@ -132948,29 +133114,29 @@ }, { "type": "ReturnStatement", - "start": 49503, - "end": 49521, + "start": 50156, + "end": 50174, "loc": { "start": { - "line": 1302, + "line": 1303, "column": 8 }, "end": { - "line": 1302, + "line": 1303, "column": 26 } }, "argument": { "type": "Identifier", - "start": 49510, - "end": 49520, + "start": 50163, + "end": 50173, "loc": { "start": { - "line": 1302, + "line": 1303, "column": 15 }, "end": { - "line": 1302, + "line": 1303, "column": 25 }, "identifierName": "rootKDNode" @@ -132984,15 +133150,15 @@ }, { "type": "ClassMethod", - "start": 49533, - "end": 51629, + "start": 50186, + "end": 52282, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 4 }, "end": { - "line": 1371, + "line": 1372, "column": 5 } }, @@ -133000,15 +133166,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 49533, - "end": 49556, + "start": 50186, + "end": 50209, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 4 }, "end": { - "line": 1305, + "line": 1306, "column": 27 }, "identifierName": "_insertEntityIntoKDTree" @@ -133023,15 +133189,15 @@ "params": [ { "type": "Identifier", - "start": 49557, - "end": 49563, + "start": 50210, + "end": 50216, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 28 }, "end": { - "line": 1305, + "line": 1306, "column": 34 }, "identifierName": "kdNode" @@ -133040,15 +133206,15 @@ }, { "type": "Identifier", - "start": 49565, - "end": 49571, + "start": 50218, + "end": 50224, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 36 }, "end": { - "line": 1305, + "line": 1306, "column": 42 }, "identifierName": "entity" @@ -133058,59 +133224,59 @@ ], "body": { "type": "BlockStatement", - "start": 49573, - "end": 51629, + "start": 50226, + "end": 52282, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 44 }, "end": { - "line": 1371, + "line": 1372, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 49584, - "end": 49613, + "start": 50237, + "end": 50266, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 8 }, "end": { - "line": 1307, + "line": 1308, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49590, - "end": 49612, + "start": 50243, + "end": 50265, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 14 }, "end": { - "line": 1307, + "line": 1308, "column": 36 } }, "id": { "type": "Identifier", - "start": 49590, - "end": 49598, + "start": 50243, + "end": 50251, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 14 }, "end": { - "line": 1307, + "line": 1308, "column": 22 }, "identifierName": "nodeAABB" @@ -133119,29 +133285,29 @@ }, "init": { "type": "MemberExpression", - "start": 49601, - "end": 49612, + "start": 50254, + "end": 50265, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 25 }, "end": { - "line": 1307, + "line": 1308, "column": 36 } }, "object": { "type": "Identifier", - "start": 49601, - "end": 49607, + "start": 50254, + "end": 50260, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 25 }, "end": { - "line": 1307, + "line": 1308, "column": 31 }, "identifierName": "kdNode" @@ -133150,15 +133316,15 @@ }, "property": { "type": "Identifier", - "start": 49608, - "end": 49612, + "start": 50261, + "end": 50265, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 32 }, "end": { - "line": 1307, + "line": 1308, "column": 36 }, "identifierName": "aabb" @@ -133173,44 +133339,44 @@ }, { "type": "VariableDeclaration", - "start": 49622, - "end": 49653, + "start": 50275, + "end": 50306, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 8 }, "end": { - "line": 1308, + "line": 1309, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49628, - "end": 49652, + "start": 50281, + "end": 50305, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 14 }, "end": { - "line": 1308, + "line": 1309, "column": 38 } }, "id": { "type": "Identifier", - "start": 49628, - "end": 49638, + "start": 50281, + "end": 50291, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 14 }, "end": { - "line": 1308, + "line": 1309, "column": 24 }, "identifierName": "entityAABB" @@ -133219,29 +133385,29 @@ }, "init": { "type": "MemberExpression", - "start": 49641, - "end": 49652, + "start": 50294, + "end": 50305, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 27 }, "end": { - "line": 1308, + "line": 1309, "column": 38 } }, "object": { "type": "Identifier", - "start": 49641, - "end": 49647, + "start": 50294, + "end": 50300, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 27 }, "end": { - "line": 1308, + "line": 1309, "column": 33 }, "identifierName": "entity" @@ -133250,15 +133416,15 @@ }, "property": { "type": "Identifier", - "start": 49648, - "end": 49652, + "start": 50301, + "end": 50305, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 34 }, "end": { - "line": 1308, + "line": 1309, "column": 38 }, "identifierName": "aabb" @@ -133273,44 +133439,44 @@ }, { "type": "VariableDeclaration", - "start": 49663, - "end": 49712, + "start": 50316, + "end": 50365, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 8 }, "end": { - "line": 1310, + "line": 1311, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 49669, - "end": 49711, + "start": 50322, + "end": 50364, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 14 }, "end": { - "line": 1310, + "line": 1311, "column": 56 } }, "id": { "type": "Identifier", - "start": 49669, - "end": 49681, + "start": 50322, + "end": 50334, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 14 }, "end": { - "line": 1310, + "line": 1311, "column": 26 }, "identifierName": "nodeAABBDiag" @@ -133319,43 +133485,43 @@ }, "init": { "type": "CallExpression", - "start": 49684, - "end": 49711, + "start": 50337, + "end": 50364, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 29 }, "end": { - "line": 1310, + "line": 1311, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 49684, - "end": 49701, + "start": 50337, + "end": 50354, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 29 }, "end": { - "line": 1310, + "line": 1311, "column": 46 } }, "object": { "type": "Identifier", - "start": 49684, - "end": 49688, + "start": 50337, + "end": 50341, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 29 }, "end": { - "line": 1310, + "line": 1311, "column": 33 }, "identifierName": "math" @@ -133364,15 +133530,15 @@ }, "property": { "type": "Identifier", - "start": 49689, - "end": 49701, + "start": 50342, + "end": 50354, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 34 }, "end": { - "line": 1310, + "line": 1311, "column": 46 }, "identifierName": "getAABB3Diag" @@ -133384,15 +133550,15 @@ "arguments": [ { "type": "Identifier", - "start": 49702, - "end": 49710, + "start": 50355, + "end": 50363, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 47 }, "end": { - "line": 1310, + "line": 1311, "column": 55 }, "identifierName": "nodeAABB" @@ -133407,43 +133573,43 @@ }, { "type": "IfStatement", - "start": 49722, - "end": 49937, + "start": 50375, + "end": 50590, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 8 }, "end": { - "line": 1317, + "line": 1318, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 49726, - "end": 49757, + "start": 50379, + "end": 50410, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 12 }, "end": { - "line": 1312, + "line": 1313, "column": 43 } }, "left": { "type": "Identifier", - "start": 49726, - "end": 49738, + "start": 50379, + "end": 50391, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 12 }, "end": { - "line": 1312, + "line": 1313, "column": 24 }, "identifierName": "nodeAABBDiag" @@ -133453,44 +133619,44 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 49741, - "end": 49757, + "start": 50394, + "end": 50410, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 27 }, "end": { - "line": 1312, + "line": 1313, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 49741, - "end": 49745, + "start": 50394, + "end": 50398, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 27 }, "end": { - "line": 1312, + "line": 1313, "column": 31 } } }, "property": { "type": "Identifier", - "start": 49746, - "end": 49757, + "start": 50399, + "end": 50410, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 32 }, "end": { - "line": 1312, + "line": 1313, "column": 43 }, "identifierName": "minTileSize" @@ -133502,73 +133668,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 49759, - "end": 49937, + "start": 50412, + "end": 50590, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 45 }, "end": { - "line": 1317, + "line": 1318, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 49773, - "end": 49813, + "start": 50426, + "end": 50466, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 12 }, "end": { - "line": 1313, + "line": 1314, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 49773, - "end": 49812, + "start": 50426, + "end": 50465, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 12 }, "end": { - "line": 1313, + "line": 1314, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 49773, - "end": 49788, + "start": 50426, + "end": 50441, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 12 }, "end": { - "line": 1313, + "line": 1314, "column": 27 } }, "object": { "type": "Identifier", - "start": 49773, - "end": 49779, + "start": 50426, + "end": 50432, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 12 }, "end": { - "line": 1313, + "line": 1314, "column": 18 }, "identifierName": "kdNode" @@ -133577,15 +133743,15 @@ }, "property": { "type": "Identifier", - "start": 49780, - "end": 49788, + "start": 50433, + "end": 50441, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 19 }, "end": { - "line": 1313, + "line": 1314, "column": 27 }, "identifierName": "entities" @@ -133596,43 +133762,43 @@ }, "right": { "type": "LogicalExpression", - "start": 49791, - "end": 49812, + "start": 50444, + "end": 50465, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 30 }, "end": { - "line": 1313, + "line": 1314, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 49791, - "end": 49806, + "start": 50444, + "end": 50459, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 30 }, "end": { - "line": 1313, + "line": 1314, "column": 45 } }, "object": { "type": "Identifier", - "start": 49791, - "end": 49797, + "start": 50444, + "end": 50450, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 30 }, "end": { - "line": 1313, + "line": 1314, "column": 36 }, "identifierName": "kdNode" @@ -133641,15 +133807,15 @@ }, "property": { "type": "Identifier", - "start": 49798, - "end": 49806, + "start": 50451, + "end": 50459, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 37 }, "end": { - "line": 1313, + "line": 1314, "column": 45 }, "identifierName": "entities" @@ -133661,15 +133827,15 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 49810, - "end": 49812, + "start": 50463, + "end": 50465, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 49 }, "end": { - "line": 1313, + "line": 1314, "column": 51 } }, @@ -133680,71 +133846,71 @@ }, { "type": "ExpressionStatement", - "start": 49826, - "end": 49855, + "start": 50479, + "end": 50508, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 12 }, "end": { - "line": 1314, + "line": 1315, "column": 41 } }, "expression": { "type": "CallExpression", - "start": 49826, - "end": 49854, + "start": 50479, + "end": 50507, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 12 }, "end": { - "line": 1314, + "line": 1315, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 49826, - "end": 49846, + "start": 50479, + "end": 50499, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 12 }, "end": { - "line": 1314, + "line": 1315, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 49826, - "end": 49841, + "start": 50479, + "end": 50494, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 12 }, "end": { - "line": 1314, + "line": 1315, "column": 27 } }, "object": { "type": "Identifier", - "start": 49826, - "end": 49832, + "start": 50479, + "end": 50485, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 12 }, "end": { - "line": 1314, + "line": 1315, "column": 18 }, "identifierName": "kdNode" @@ -133753,15 +133919,15 @@ }, "property": { "type": "Identifier", - "start": 49833, - "end": 49841, + "start": 50486, + "end": 50494, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 19 }, "end": { - "line": 1314, + "line": 1315, "column": 27 }, "identifierName": "entities" @@ -133772,15 +133938,15 @@ }, "property": { "type": "Identifier", - "start": 49842, - "end": 49846, + "start": 50495, + "end": 50499, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 28 }, "end": { - "line": 1314, + "line": 1315, "column": 32 }, "identifierName": "push" @@ -133792,15 +133958,15 @@ "arguments": [ { "type": "Identifier", - "start": 49847, - "end": 49853, + "start": 50500, + "end": 50506, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 33 }, "end": { - "line": 1314, + "line": 1315, "column": 39 }, "identifierName": "entity" @@ -133812,57 +133978,57 @@ }, { "type": "ExpressionStatement", - "start": 49868, - "end": 49907, + "start": 50521, + "end": 50560, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 12 }, "end": { - "line": 1315, + "line": 1316, "column": 51 } }, "expression": { "type": "CallExpression", - "start": 49868, - "end": 49906, + "start": 50521, + "end": 50559, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 12 }, "end": { - "line": 1315, + "line": 1316, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 49868, - "end": 49884, + "start": 50521, + "end": 50537, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 12 }, "end": { - "line": 1315, + "line": 1316, "column": 28 } }, "object": { "type": "Identifier", - "start": 49868, - "end": 49872, + "start": 50521, + "end": 50525, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 12 }, "end": { - "line": 1315, + "line": 1316, "column": 16 }, "identifierName": "math" @@ -133871,15 +134037,15 @@ }, "property": { "type": "Identifier", - "start": 49873, - "end": 49884, + "start": 50526, + "end": 50537, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 17 }, "end": { - "line": 1315, + "line": 1316, "column": 28 }, "identifierName": "expandAABB3" @@ -133891,15 +134057,15 @@ "arguments": [ { "type": "Identifier", - "start": 49885, - "end": 49893, + "start": 50538, + "end": 50546, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 29 }, "end": { - "line": 1315, + "line": 1316, "column": 37 }, "identifierName": "nodeAABB" @@ -133908,15 +134074,15 @@ }, { "type": "Identifier", - "start": 49895, - "end": 49905, + "start": 50548, + "end": 50558, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 39 }, "end": { - "line": 1315, + "line": 1316, "column": 49 }, "identifierName": "entityAABB" @@ -133928,15 +134094,15 @@ }, { "type": "ReturnStatement", - "start": 49920, - "end": 49927, + "start": 50573, + "end": 50580, "loc": { "start": { - "line": 1316, + "line": 1317, "column": 12 }, "end": { - "line": 1316, + "line": 1317, "column": 19 } }, @@ -133949,43 +134115,43 @@ }, { "type": "IfStatement", - "start": 49947, - "end": 50148, + "start": 50600, + "end": 50801, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 8 }, "end": { - "line": 1324, + "line": 1325, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 49951, - "end": 49962, + "start": 50604, + "end": 50615, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 12 }, "end": { - "line": 1319, + "line": 1320, "column": 23 } }, "object": { "type": "Identifier", - "start": 49951, - "end": 49957, + "start": 50604, + "end": 50610, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 12 }, "end": { - "line": 1319, + "line": 1320, "column": 18 }, "identifierName": "kdNode" @@ -133994,15 +134160,15 @@ }, "property": { "type": "Identifier", - "start": 49958, - "end": 49962, + "start": 50611, + "end": 50615, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 19 }, "end": { - "line": 1319, + "line": 1320, "column": 23 }, "identifierName": "left" @@ -134013,72 +134179,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 49964, - "end": 50148, + "start": 50617, + "end": 50801, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 25 }, "end": { - "line": 1324, + "line": 1325, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 49978, - "end": 50138, + "start": 50631, + "end": 50791, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 12 }, "end": { - "line": 1323, + "line": 1324, "column": 13 } }, "test": { "type": "CallExpression", - "start": 49982, - "end": 50030, + "start": 50635, + "end": 50683, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 16 }, "end": { - "line": 1320, + "line": 1321, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 49982, - "end": 50000, + "start": 50635, + "end": 50653, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 16 }, "end": { - "line": 1320, + "line": 1321, "column": 34 } }, "object": { "type": "Identifier", - "start": 49982, - "end": 49986, + "start": 50635, + "end": 50639, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 16 }, "end": { - "line": 1320, + "line": 1321, "column": 20 }, "identifierName": "math" @@ -134087,15 +134253,15 @@ }, "property": { "type": "Identifier", - "start": 49987, - "end": 50000, + "start": 50640, + "end": 50653, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 21 }, "end": { - "line": 1320, + "line": 1321, "column": 34 }, "identifierName": "containsAABB3" @@ -134107,43 +134273,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 50001, - "end": 50017, + "start": 50654, + "end": 50670, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 35 }, "end": { - "line": 1320, + "line": 1321, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 50001, - "end": 50012, + "start": 50654, + "end": 50665, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 35 }, "end": { - "line": 1320, + "line": 1321, "column": 46 } }, "object": { "type": "Identifier", - "start": 50001, - "end": 50007, + "start": 50654, + "end": 50660, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 35 }, "end": { - "line": 1320, + "line": 1321, "column": 41 }, "identifierName": "kdNode" @@ -134152,15 +134318,15 @@ }, "property": { "type": "Identifier", - "start": 50008, - "end": 50012, + "start": 50661, + "end": 50665, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 42 }, "end": { - "line": 1320, + "line": 1321, "column": 46 }, "identifierName": "left" @@ -134171,15 +134337,15 @@ }, "property": { "type": "Identifier", - "start": 50013, - "end": 50017, + "start": 50666, + "end": 50670, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 47 }, "end": { - "line": 1320, + "line": 1321, "column": 51 }, "identifierName": "aabb" @@ -134190,15 +134356,15 @@ }, { "type": "Identifier", - "start": 50019, - "end": 50029, + "start": 50672, + "end": 50682, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 53 }, "end": { - "line": 1320, + "line": 1321, "column": 63 }, "identifierName": "entityAABB" @@ -134209,87 +134375,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 50032, - "end": 50138, + "start": 50685, + "end": 50791, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 66 }, "end": { - "line": 1323, + "line": 1324, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 50050, - "end": 50100, + "start": 50703, + "end": 50753, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 16 }, "end": { - "line": 1321, + "line": 1322, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 50050, - "end": 50099, + "start": 50703, + "end": 50752, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 16 }, "end": { - "line": 1321, + "line": 1322, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 50050, - "end": 50078, + "start": 50703, + "end": 50731, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 16 }, "end": { - "line": 1321, + "line": 1322, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 50050, - "end": 50054, + "start": 50703, + "end": 50707, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 16 }, "end": { - "line": 1321, + "line": 1322, "column": 20 } } }, "property": { "type": "Identifier", - "start": 50055, - "end": 50078, + "start": 50708, + "end": 50731, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 21 }, "end": { - "line": 1321, + "line": 1322, "column": 44 }, "identifierName": "_insertEntityIntoKDTree" @@ -134301,29 +134467,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 50079, - "end": 50090, + "start": 50732, + "end": 50743, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 45 }, "end": { - "line": 1321, + "line": 1322, "column": 56 } }, "object": { "type": "Identifier", - "start": 50079, - "end": 50085, + "start": 50732, + "end": 50738, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 45 }, "end": { - "line": 1321, + "line": 1322, "column": 51 }, "identifierName": "kdNode" @@ -134332,15 +134498,15 @@ }, "property": { "type": "Identifier", - "start": 50086, - "end": 50090, + "start": 50739, + "end": 50743, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 52 }, "end": { - "line": 1321, + "line": 1322, "column": 56 }, "identifierName": "left" @@ -134351,15 +134517,15 @@ }, { "type": "Identifier", - "start": 50092, - "end": 50098, + "start": 50745, + "end": 50751, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 58 }, "end": { - "line": 1321, + "line": 1322, "column": 64 }, "identifierName": "entity" @@ -134371,15 +134537,15 @@ }, { "type": "ReturnStatement", - "start": 50117, - "end": 50124, + "start": 50770, + "end": 50777, "loc": { "start": { - "line": 1322, + "line": 1323, "column": 16 }, "end": { - "line": 1322, + "line": 1323, "column": 23 } }, @@ -134397,43 +134563,43 @@ }, { "type": "IfStatement", - "start": 50158, - "end": 50362, + "start": 50811, + "end": 51015, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 8 }, "end": { - "line": 1331, + "line": 1332, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 50162, - "end": 50174, + "start": 50815, + "end": 50827, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 12 }, "end": { - "line": 1326, + "line": 1327, "column": 24 } }, "object": { "type": "Identifier", - "start": 50162, - "end": 50168, + "start": 50815, + "end": 50821, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 12 }, "end": { - "line": 1326, + "line": 1327, "column": 18 }, "identifierName": "kdNode" @@ -134442,15 +134608,15 @@ }, "property": { "type": "Identifier", - "start": 50169, - "end": 50174, + "start": 50822, + "end": 50827, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 19 }, "end": { - "line": 1326, + "line": 1327, "column": 24 }, "identifierName": "right" @@ -134461,72 +134627,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 50176, - "end": 50362, + "start": 50829, + "end": 51015, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 26 }, "end": { - "line": 1331, + "line": 1332, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 50190, - "end": 50352, + "start": 50843, + "end": 51005, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 12 }, "end": { - "line": 1330, + "line": 1331, "column": 13 } }, "test": { "type": "CallExpression", - "start": 50194, - "end": 50243, + "start": 50847, + "end": 50896, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 16 }, "end": { - "line": 1327, + "line": 1328, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 50194, - "end": 50212, + "start": 50847, + "end": 50865, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 16 }, "end": { - "line": 1327, + "line": 1328, "column": 34 } }, "object": { "type": "Identifier", - "start": 50194, - "end": 50198, + "start": 50847, + "end": 50851, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 16 }, "end": { - "line": 1327, + "line": 1328, "column": 20 }, "identifierName": "math" @@ -134535,15 +134701,15 @@ }, "property": { "type": "Identifier", - "start": 50199, - "end": 50212, + "start": 50852, + "end": 50865, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 21 }, "end": { - "line": 1327, + "line": 1328, "column": 34 }, "identifierName": "containsAABB3" @@ -134555,43 +134721,43 @@ "arguments": [ { "type": "MemberExpression", - "start": 50213, - "end": 50230, + "start": 50866, + "end": 50883, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 35 }, "end": { - "line": 1327, + "line": 1328, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 50213, - "end": 50225, + "start": 50866, + "end": 50878, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 35 }, "end": { - "line": 1327, + "line": 1328, "column": 47 } }, "object": { "type": "Identifier", - "start": 50213, - "end": 50219, + "start": 50866, + "end": 50872, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 35 }, "end": { - "line": 1327, + "line": 1328, "column": 41 }, "identifierName": "kdNode" @@ -134600,15 +134766,15 @@ }, "property": { "type": "Identifier", - "start": 50220, - "end": 50225, + "start": 50873, + "end": 50878, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 42 }, "end": { - "line": 1327, + "line": 1328, "column": 47 }, "identifierName": "right" @@ -134619,15 +134785,15 @@ }, "property": { "type": "Identifier", - "start": 50226, - "end": 50230, + "start": 50879, + "end": 50883, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 48 }, "end": { - "line": 1327, + "line": 1328, "column": 52 }, "identifierName": "aabb" @@ -134638,15 +134804,15 @@ }, { "type": "Identifier", - "start": 50232, - "end": 50242, + "start": 50885, + "end": 50895, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 54 }, "end": { - "line": 1327, + "line": 1328, "column": 64 }, "identifierName": "entityAABB" @@ -134657,87 +134823,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 50245, - "end": 50352, + "start": 50898, + "end": 51005, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 67 }, "end": { - "line": 1330, + "line": 1331, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 50263, - "end": 50314, + "start": 50916, + "end": 50967, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 16 }, "end": { - "line": 1328, + "line": 1329, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 50263, - "end": 50313, + "start": 50916, + "end": 50966, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 16 }, "end": { - "line": 1328, + "line": 1329, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 50263, - "end": 50291, + "start": 50916, + "end": 50944, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 16 }, "end": { - "line": 1328, + "line": 1329, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 50263, - "end": 50267, + "start": 50916, + "end": 50920, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 16 }, "end": { - "line": 1328, + "line": 1329, "column": 20 } } }, "property": { "type": "Identifier", - "start": 50268, - "end": 50291, + "start": 50921, + "end": 50944, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 21 }, "end": { - "line": 1328, + "line": 1329, "column": 44 }, "identifierName": "_insertEntityIntoKDTree" @@ -134749,29 +134915,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 50292, - "end": 50304, + "start": 50945, + "end": 50957, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 45 }, "end": { - "line": 1328, + "line": 1329, "column": 57 } }, "object": { "type": "Identifier", - "start": 50292, - "end": 50298, + "start": 50945, + "end": 50951, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 45 }, "end": { - "line": 1328, + "line": 1329, "column": 51 }, "identifierName": "kdNode" @@ -134780,15 +134946,15 @@ }, "property": { "type": "Identifier", - "start": 50299, - "end": 50304, + "start": 50952, + "end": 50957, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 52 }, "end": { - "line": 1328, + "line": 1329, "column": 57 }, "identifierName": "right" @@ -134799,15 +134965,15 @@ }, { "type": "Identifier", - "start": 50306, - "end": 50312, + "start": 50959, + "end": 50965, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 59 }, "end": { - "line": 1328, + "line": 1329, "column": 65 }, "identifierName": "entity" @@ -134819,15 +134985,15 @@ }, { "type": "ReturnStatement", - "start": 50331, - "end": 50338, + "start": 50984, + "end": 50991, "loc": { "start": { - "line": 1329, + "line": 1330, "column": 16 }, "end": { - "line": 1329, + "line": 1330, "column": 23 } }, @@ -134845,58 +135011,58 @@ }, { "type": "ExpressionStatement", - "start": 50372, - "end": 50419, + "start": 51025, + "end": 51072, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 8 }, "end": { - "line": 1333, + "line": 1334, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 50372, - "end": 50418, + "start": 51025, + "end": 51071, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 8 }, "end": { - "line": 1333, + "line": 1334, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 50372, - "end": 50390, + "start": 51025, + "end": 51043, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 8 }, "end": { - "line": 1333, + "line": 1334, "column": 26 } }, "object": { "type": "Identifier", - "start": 50372, - "end": 50387, + "start": 51025, + "end": 51040, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 8 }, "end": { - "line": 1333, + "line": 1334, "column": 23 }, "identifierName": "kdTreeDimLength" @@ -134905,15 +135071,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50388, - "end": 50389, + "start": 51041, + "end": 51042, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 24 }, "end": { - "line": 1333, + "line": 1334, "column": 25 } }, @@ -134927,43 +135093,43 @@ }, "right": { "type": "BinaryExpression", - "start": 50393, - "end": 50418, + "start": 51046, + "end": 51071, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 29 }, "end": { - "line": 1333, + "line": 1334, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 50393, - "end": 50404, + "start": 51046, + "end": 51057, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 29 }, "end": { - "line": 1333, + "line": 1334, "column": 40 } }, "object": { "type": "Identifier", - "start": 50393, - "end": 50401, + "start": 51046, + "end": 51054, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 29 }, "end": { - "line": 1333, + "line": 1334, "column": 37 }, "identifierName": "nodeAABB" @@ -134972,15 +135138,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50402, - "end": 50403, + "start": 51055, + "end": 51056, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 38 }, "end": { - "line": 1333, + "line": 1334, "column": 39 } }, @@ -134995,29 +135161,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 50407, - "end": 50418, + "start": 51060, + "end": 51071, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 43 }, "end": { - "line": 1333, + "line": 1334, "column": 54 } }, "object": { "type": "Identifier", - "start": 50407, - "end": 50415, + "start": 51060, + "end": 51068, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 43 }, "end": { - "line": 1333, + "line": 1334, "column": 51 }, "identifierName": "nodeAABB" @@ -135026,15 +135192,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50416, - "end": 50417, + "start": 51069, + "end": 51070, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 52 }, "end": { - "line": 1333, + "line": 1334, "column": 53 } }, @@ -135051,58 +135217,58 @@ }, { "type": "ExpressionStatement", - "start": 50428, - "end": 50475, + "start": 51081, + "end": 51128, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 8 }, "end": { - "line": 1334, + "line": 1335, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 50428, - "end": 50474, + "start": 51081, + "end": 51127, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 8 }, "end": { - "line": 1334, + "line": 1335, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 50428, - "end": 50446, + "start": 51081, + "end": 51099, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 8 }, "end": { - "line": 1334, + "line": 1335, "column": 26 } }, "object": { "type": "Identifier", - "start": 50428, - "end": 50443, + "start": 51081, + "end": 51096, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 8 }, "end": { - "line": 1334, + "line": 1335, "column": 23 }, "identifierName": "kdTreeDimLength" @@ -135111,15 +135277,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50444, - "end": 50445, + "start": 51097, + "end": 51098, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 24 }, "end": { - "line": 1334, + "line": 1335, "column": 25 } }, @@ -135133,43 +135299,43 @@ }, "right": { "type": "BinaryExpression", - "start": 50449, - "end": 50474, + "start": 51102, + "end": 51127, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 29 }, "end": { - "line": 1334, + "line": 1335, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 50449, - "end": 50460, + "start": 51102, + "end": 51113, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 29 }, "end": { - "line": 1334, + "line": 1335, "column": 40 } }, "object": { "type": "Identifier", - "start": 50449, - "end": 50457, + "start": 51102, + "end": 51110, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 29 }, "end": { - "line": 1334, + "line": 1335, "column": 37 }, "identifierName": "nodeAABB" @@ -135178,15 +135344,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50458, - "end": 50459, + "start": 51111, + "end": 51112, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 38 }, "end": { - "line": 1334, + "line": 1335, "column": 39 } }, @@ -135201,29 +135367,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 50463, - "end": 50474, + "start": 51116, + "end": 51127, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 43 }, "end": { - "line": 1334, + "line": 1335, "column": 54 } }, "object": { "type": "Identifier", - "start": 50463, - "end": 50471, + "start": 51116, + "end": 51124, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 43 }, "end": { - "line": 1334, + "line": 1335, "column": 51 }, "identifierName": "nodeAABB" @@ -135232,15 +135398,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50472, - "end": 50473, + "start": 51125, + "end": 51126, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 52 }, "end": { - "line": 1334, + "line": 1335, "column": 53 } }, @@ -135257,58 +135423,58 @@ }, { "type": "ExpressionStatement", - "start": 50484, - "end": 50531, + "start": 51137, + "end": 51184, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 8 }, "end": { - "line": 1335, + "line": 1336, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 50484, - "end": 50530, + "start": 51137, + "end": 51183, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 8 }, "end": { - "line": 1335, + "line": 1336, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 50484, - "end": 50502, + "start": 51137, + "end": 51155, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 8 }, "end": { - "line": 1335, + "line": 1336, "column": 26 } }, "object": { "type": "Identifier", - "start": 50484, - "end": 50499, + "start": 51137, + "end": 51152, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 8 }, "end": { - "line": 1335, + "line": 1336, "column": 23 }, "identifierName": "kdTreeDimLength" @@ -135317,15 +135483,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50500, - "end": 50501, + "start": 51153, + "end": 51154, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 24 }, "end": { - "line": 1335, + "line": 1336, "column": 25 } }, @@ -135339,43 +135505,43 @@ }, "right": { "type": "BinaryExpression", - "start": 50505, - "end": 50530, + "start": 51158, + "end": 51183, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 29 }, "end": { - "line": 1335, + "line": 1336, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 50505, - "end": 50516, + "start": 51158, + "end": 51169, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 29 }, "end": { - "line": 1335, + "line": 1336, "column": 40 } }, "object": { "type": "Identifier", - "start": 50505, - "end": 50513, + "start": 51158, + "end": 51166, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 29 }, "end": { - "line": 1335, + "line": 1336, "column": 37 }, "identifierName": "nodeAABB" @@ -135384,15 +135550,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50514, - "end": 50515, + "start": 51167, + "end": 51168, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 38 }, "end": { - "line": 1335, + "line": 1336, "column": 39 } }, @@ -135407,29 +135573,29 @@ "operator": "-", "right": { "type": "MemberExpression", - "start": 50519, - "end": 50530, + "start": 51172, + "end": 51183, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 43 }, "end": { - "line": 1335, + "line": 1336, "column": 54 } }, "object": { "type": "Identifier", - "start": 50519, - "end": 50527, + "start": 51172, + "end": 51180, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 43 }, "end": { - "line": 1335, + "line": 1336, "column": 51 }, "identifierName": "nodeAABB" @@ -135438,15 +135604,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50528, - "end": 50529, + "start": 51181, + "end": 51182, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 52 }, "end": { - "line": 1335, + "line": 1336, "column": 53 } }, @@ -135463,44 +135629,44 @@ }, { "type": "VariableDeclaration", - "start": 50541, - "end": 50553, + "start": 51194, + "end": 51206, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 8 }, "end": { - "line": 1337, + "line": 1338, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 50545, - "end": 50552, + "start": 51198, + "end": 51205, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 12 }, "end": { - "line": 1337, + "line": 1338, "column": 19 } }, "id": { "type": "Identifier", - "start": 50545, - "end": 50548, + "start": 51198, + "end": 51201, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 12 }, "end": { - "line": 1337, + "line": 1338, "column": 15 }, "identifierName": "dim" @@ -135509,15 +135675,15 @@ }, "init": { "type": "NumericLiteral", - "start": 50551, - "end": 50552, + "start": 51204, + "end": 51205, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 18 }, "end": { - "line": 1337, + "line": 1338, "column": 19 } }, @@ -135533,57 +135699,57 @@ }, { "type": "IfStatement", - "start": 50563, - "end": 50642, + "start": 51216, + "end": 51295, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 8 }, "end": { - "line": 1341, + "line": 1342, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 50567, - "end": 50608, + "start": 51220, + "end": 51261, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 12 }, "end": { - "line": 1339, + "line": 1340, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 50567, - "end": 50585, + "start": 51220, + "end": 51238, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 12 }, "end": { - "line": 1339, + "line": 1340, "column": 30 } }, "object": { "type": "Identifier", - "start": 50567, - "end": 50582, + "start": 51220, + "end": 51235, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 12 }, "end": { - "line": 1339, + "line": 1340, "column": 27 }, "identifierName": "kdTreeDimLength" @@ -135592,15 +135758,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50583, - "end": 50584, + "start": 51236, + "end": 51237, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 28 }, "end": { - "line": 1339, + "line": 1340, "column": 29 } }, @@ -135615,29 +135781,29 @@ "operator": ">", "right": { "type": "MemberExpression", - "start": 50588, - "end": 50608, + "start": 51241, + "end": 51261, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 33 }, "end": { - "line": 1339, + "line": 1340, "column": 53 } }, "object": { "type": "Identifier", - "start": 50588, - "end": 50603, + "start": 51241, + "end": 51256, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 33 }, "end": { - "line": 1339, + "line": 1340, "column": 48 }, "identifierName": "kdTreeDimLength" @@ -135646,15 +135812,15 @@ }, "property": { "type": "Identifier", - "start": 50604, - "end": 50607, + "start": 51257, + "end": 51260, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 49 }, "end": { - "line": 1339, + "line": 1340, "column": 52 }, "identifierName": "dim" @@ -135666,59 +135832,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 50610, - "end": 50642, + "start": 51263, + "end": 51295, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 55 }, "end": { - "line": 1341, + "line": 1342, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 50624, - "end": 50632, + "start": 51277, + "end": 51285, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 12 }, "end": { - "line": 1340, + "line": 1341, "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 50624, - "end": 50631, + "start": 51277, + "end": 51284, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 12 }, "end": { - "line": 1340, + "line": 1341, "column": 19 } }, "operator": "=", "left": { "type": "Identifier", - "start": 50624, - "end": 50627, + "start": 51277, + "end": 51280, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 12 }, "end": { - "line": 1340, + "line": 1341, "column": 15 }, "identifierName": "dim" @@ -135727,15 +135893,15 @@ }, "right": { "type": "NumericLiteral", - "start": 50630, - "end": 50631, + "start": 51283, + "end": 51284, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 18 }, "end": { - "line": 1340, + "line": 1341, "column": 19 } }, @@ -135754,57 +135920,57 @@ }, { "type": "IfStatement", - "start": 50652, - "end": 50731, + "start": 51305, + "end": 51384, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 8 }, "end": { - "line": 1345, + "line": 1346, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 50656, - "end": 50697, + "start": 51309, + "end": 51350, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 12 }, "end": { - "line": 1343, + "line": 1344, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 50656, - "end": 50674, + "start": 51309, + "end": 51327, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 12 }, "end": { - "line": 1343, + "line": 1344, "column": 30 } }, "object": { "type": "Identifier", - "start": 50656, - "end": 50671, + "start": 51309, + "end": 51324, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 12 }, "end": { - "line": 1343, + "line": 1344, "column": 27 }, "identifierName": "kdTreeDimLength" @@ -135813,15 +135979,15 @@ }, "property": { "type": "NumericLiteral", - "start": 50672, - "end": 50673, + "start": 51325, + "end": 51326, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 28 }, "end": { - "line": 1343, + "line": 1344, "column": 29 } }, @@ -135836,29 +136002,29 @@ "operator": ">", "right": { "type": "MemberExpression", - "start": 50677, - "end": 50697, + "start": 51330, + "end": 51350, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 33 }, "end": { - "line": 1343, + "line": 1344, "column": 53 } }, "object": { "type": "Identifier", - "start": 50677, - "end": 50692, + "start": 51330, + "end": 51345, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 33 }, "end": { - "line": 1343, + "line": 1344, "column": 48 }, "identifierName": "kdTreeDimLength" @@ -135867,15 +136033,15 @@ }, "property": { "type": "Identifier", - "start": 50693, - "end": 50696, + "start": 51346, + "end": 51349, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 49 }, "end": { - "line": 1343, + "line": 1344, "column": 52 }, "identifierName": "dim" @@ -135887,59 +136053,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 50699, - "end": 50731, + "start": 51352, + "end": 51384, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 55 }, "end": { - "line": 1345, + "line": 1346, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 50713, - "end": 50721, + "start": 51366, + "end": 51374, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 12 }, "end": { - "line": 1344, + "line": 1345, "column": 20 } }, "expression": { "type": "AssignmentExpression", - "start": 50713, - "end": 50720, + "start": 51366, + "end": 51373, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 12 }, "end": { - "line": 1344, + "line": 1345, "column": 19 } }, "operator": "=", "left": { "type": "Identifier", - "start": 50713, - "end": 50716, + "start": 51366, + "end": 51369, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 12 }, "end": { - "line": 1344, + "line": 1345, "column": 15 }, "identifierName": "dim" @@ -135948,15 +136114,15 @@ }, "right": { "type": "NumericLiteral", - "start": 50719, - "end": 50720, + "start": 51372, + "end": 51373, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 18 }, "end": { - "line": 1344, + "line": 1345, "column": 19 } }, @@ -135975,29 +136141,29 @@ }, { "type": "IfStatement", - "start": 50741, - "end": 51107, + "start": 51394, + "end": 51760, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 8 }, "end": { - "line": 1355, + "line": 1356, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 50745, - "end": 50757, + "start": 51398, + "end": 51410, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 12 }, "end": { - "line": 1347, + "line": 1348, "column": 24 } }, @@ -136005,29 +136171,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 50746, - "end": 50757, + "start": 51399, + "end": 51410, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 13 }, "end": { - "line": 1347, + "line": 1348, "column": 24 } }, "object": { "type": "Identifier", - "start": 50746, - "end": 50752, + "start": 51399, + "end": 51405, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 13 }, "end": { - "line": 1347, + "line": 1348, "column": 19 }, "identifierName": "kdNode" @@ -136036,15 +136202,15 @@ }, "property": { "type": "Identifier", - "start": 50753, - "end": 50757, + "start": 51406, + "end": 51410, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 20 }, "end": { - "line": 1347, + "line": 1348, "column": 24 }, "identifierName": "left" @@ -136059,59 +136225,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 50759, - "end": 51107, + "start": 51412, + "end": 51760, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 26 }, "end": { - "line": 1355, + "line": 1356, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 50773, - "end": 50807, + "start": 51426, + "end": 51460, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 12 }, "end": { - "line": 1348, + "line": 1349, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 50779, - "end": 50806, + "start": 51432, + "end": 51459, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 18 }, "end": { - "line": 1348, + "line": 1349, "column": 45 } }, "id": { "type": "Identifier", - "start": 50779, - "end": 50787, + "start": 51432, + "end": 51440, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 18 }, "end": { - "line": 1348, + "line": 1349, "column": 26 }, "identifierName": "aabbLeft" @@ -136120,43 +136286,43 @@ }, "init": { "type": "CallExpression", - "start": 50790, - "end": 50806, + "start": 51443, + "end": 51459, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 29 }, "end": { - "line": 1348, + "line": 1349, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 50790, - "end": 50804, + "start": 51443, + "end": 51457, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 29 }, "end": { - "line": 1348, + "line": 1349, "column": 43 } }, "object": { "type": "Identifier", - "start": 50790, - "end": 50798, + "start": 51443, + "end": 51451, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 29 }, "end": { - "line": 1348, + "line": 1349, "column": 37 }, "identifierName": "nodeAABB" @@ -136165,15 +136331,15 @@ }, "property": { "type": "Identifier", - "start": 50799, - "end": 50804, + "start": 51452, + "end": 51457, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 38 }, "end": { - "line": 1348, + "line": 1349, "column": 43 }, "identifierName": "slice" @@ -136190,58 +136356,58 @@ }, { "type": "ExpressionStatement", - "start": 50820, - "end": 50884, + "start": 51473, + "end": 51537, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 12 }, "end": { - "line": 1349, + "line": 1350, "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 50820, - "end": 50883, + "start": 51473, + "end": 51536, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 12 }, "end": { - "line": 1349, + "line": 1350, "column": 75 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 50820, - "end": 50837, + "start": 51473, + "end": 51490, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 12 }, "end": { - "line": 1349, + "line": 1350, "column": 29 } }, "object": { "type": "Identifier", - "start": 50820, - "end": 50828, + "start": 51473, + "end": 51481, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 12 }, "end": { - "line": 1349, + "line": 1350, "column": 20 }, "identifierName": "aabbLeft" @@ -136250,29 +136416,29 @@ }, "property": { "type": "BinaryExpression", - "start": 50829, - "end": 50836, + "start": 51482, + "end": 51489, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 21 }, "end": { - "line": 1349, + "line": 1350, "column": 28 } }, "left": { "type": "Identifier", - "start": 50829, - "end": 50832, + "start": 51482, + "end": 51485, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 21 }, "end": { - "line": 1349, + "line": 1350, "column": 24 }, "identifierName": "dim" @@ -136282,15 +136448,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 50835, - "end": 50836, + "start": 51488, + "end": 51489, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 27 }, "end": { - "line": 1349, + "line": 1350, "column": 28 } }, @@ -136305,57 +136471,57 @@ }, "right": { "type": "BinaryExpression", - "start": 50841, - "end": 50882, + "start": 51494, + "end": 51535, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 33 }, "end": { - "line": 1349, + "line": 1350, "column": 74 } }, "left": { "type": "BinaryExpression", - "start": 50842, - "end": 50875, + "start": 51495, + "end": 51528, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 34 }, "end": { - "line": 1349, + "line": 1350, "column": 67 } }, "left": { "type": "MemberExpression", - "start": 50842, - "end": 50855, + "start": 51495, + "end": 51508, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 34 }, "end": { - "line": 1349, + "line": 1350, "column": 47 } }, "object": { "type": "Identifier", - "start": 50842, - "end": 50850, + "start": 51495, + "end": 51503, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 34 }, "end": { - "line": 1349, + "line": 1350, "column": 42 }, "identifierName": "nodeAABB" @@ -136364,15 +136530,15 @@ }, "property": { "type": "Identifier", - "start": 50851, - "end": 50854, + "start": 51504, + "end": 51507, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 43 }, "end": { - "line": 1349, + "line": 1350, "column": 46 }, "identifierName": "dim" @@ -136384,29 +136550,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 50858, - "end": 50875, + "start": 51511, + "end": 51528, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 50 }, "end": { - "line": 1349, + "line": 1350, "column": 67 } }, "object": { "type": "Identifier", - "start": 50858, - "end": 50866, + "start": 51511, + "end": 51519, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 50 }, "end": { - "line": 1349, + "line": 1350, "column": 58 }, "identifierName": "nodeAABB" @@ -136415,29 +136581,29 @@ }, "property": { "type": "BinaryExpression", - "start": 50867, - "end": 50874, + "start": 51520, + "end": 51527, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 59 }, "end": { - "line": 1349, + "line": 1350, "column": 66 } }, "left": { "type": "Identifier", - "start": 50867, - "end": 50870, + "start": 51520, + "end": 51523, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 59 }, "end": { - "line": 1349, + "line": 1350, "column": 62 }, "identifierName": "dim" @@ -136447,15 +136613,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 50873, - "end": 50874, + "start": 51526, + "end": 51527, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 65 }, "end": { - "line": 1349, + "line": 1350, "column": 66 } }, @@ -136470,21 +136636,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 50841 + "parenStart": 51494 } }, "operator": "/", "right": { "type": "NumericLiteral", - "start": 50879, - "end": 50882, + "start": 51532, + "end": 51535, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 71 }, "end": { - "line": 1349, + "line": 1350, "column": 74 } }, @@ -136496,65 +136662,65 @@ }, "extra": { "parenthesized": true, - "parenStart": 50840 + "parenStart": 51493 } } } }, { "type": "ExpressionStatement", - "start": 50897, - "end": 50932, + "start": 51550, + "end": 51585, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 12 }, "end": { - "line": 1350, + "line": 1351, "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 50897, - "end": 50931, + "start": 51550, + "end": 51584, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 12 }, "end": { - "line": 1350, + "line": 1351, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 50897, - "end": 50908, + "start": 51550, + "end": 51561, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 12 }, "end": { - "line": 1350, + "line": 1351, "column": 23 } }, "object": { "type": "Identifier", - "start": 50897, - "end": 50903, + "start": 51550, + "end": 51556, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 12 }, "end": { - "line": 1350, + "line": 1351, "column": 18 }, "identifierName": "kdNode" @@ -136563,15 +136729,15 @@ }, "property": { "type": "Identifier", - "start": 50904, - "end": 50908, + "start": 51557, + "end": 51561, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 19 }, "end": { - "line": 1350, + "line": 1351, "column": 23 }, "identifierName": "left" @@ -136582,29 +136748,29 @@ }, "right": { "type": "NewExpression", - "start": 50911, - "end": 50931, + "start": 51564, + "end": 51584, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 26 }, "end": { - "line": 1350, + "line": 1351, "column": 46 } }, "callee": { "type": "Identifier", - "start": 50915, - "end": 50921, + "start": 51568, + "end": 51574, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 30 }, "end": { - "line": 1350, + "line": 1351, "column": 36 }, "identifierName": "KDNode" @@ -136614,15 +136780,15 @@ "arguments": [ { "type": "Identifier", - "start": 50922, - "end": 50930, + "start": 51575, + "end": 51583, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 37 }, "end": { - "line": 1350, + "line": 1351, "column": 45 }, "identifierName": "aabbLeft" @@ -136635,57 +136801,57 @@ }, { "type": "IfStatement", - "start": 50945, - "end": 51097, + "start": 51598, + "end": 51750, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 12 }, "end": { - "line": 1354, + "line": 1355, "column": 13 } }, "test": { "type": "CallExpression", - "start": 50949, - "end": 50989, + "start": 51602, + "end": 51642, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 16 }, "end": { - "line": 1351, + "line": 1352, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 50949, - "end": 50967, + "start": 51602, + "end": 51620, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 16 }, "end": { - "line": 1351, + "line": 1352, "column": 34 } }, "object": { "type": "Identifier", - "start": 50949, - "end": 50953, + "start": 51602, + "end": 51606, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 16 }, "end": { - "line": 1351, + "line": 1352, "column": 20 }, "identifierName": "math" @@ -136694,15 +136860,15 @@ }, "property": { "type": "Identifier", - "start": 50954, - "end": 50967, + "start": 51607, + "end": 51620, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 21 }, "end": { - "line": 1351, + "line": 1352, "column": 34 }, "identifierName": "containsAABB3" @@ -136714,15 +136880,15 @@ "arguments": [ { "type": "Identifier", - "start": 50968, - "end": 50976, + "start": 51621, + "end": 51629, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 35 }, "end": { - "line": 1351, + "line": 1352, "column": 43 }, "identifierName": "aabbLeft" @@ -136731,15 +136897,15 @@ }, { "type": "Identifier", - "start": 50978, - "end": 50988, + "start": 51631, + "end": 51641, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 45 }, "end": { - "line": 1351, + "line": 1352, "column": 55 }, "identifierName": "entityAABB" @@ -136750,87 +136916,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 50991, - "end": 51097, + "start": 51644, + "end": 51750, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 58 }, "end": { - "line": 1354, + "line": 1355, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 51009, - "end": 51059, + "start": 51662, + "end": 51712, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 16 }, "end": { - "line": 1352, + "line": 1353, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 51009, - "end": 51058, + "start": 51662, + "end": 51711, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 16 }, "end": { - "line": 1352, + "line": 1353, "column": 65 } }, "callee": { "type": "MemberExpression", - "start": 51009, - "end": 51037, + "start": 51662, + "end": 51690, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 16 }, "end": { - "line": 1352, + "line": 1353, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 51009, - "end": 51013, + "start": 51662, + "end": 51666, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 16 }, "end": { - "line": 1352, + "line": 1353, "column": 20 } } }, "property": { "type": "Identifier", - "start": 51014, - "end": 51037, + "start": 51667, + "end": 51690, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 21 }, "end": { - "line": 1352, + "line": 1353, "column": 44 }, "identifierName": "_insertEntityIntoKDTree" @@ -136842,29 +137008,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 51038, - "end": 51049, + "start": 51691, + "end": 51702, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 45 }, "end": { - "line": 1352, + "line": 1353, "column": 56 } }, "object": { "type": "Identifier", - "start": 51038, - "end": 51044, + "start": 51691, + "end": 51697, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 45 }, "end": { - "line": 1352, + "line": 1353, "column": 51 }, "identifierName": "kdNode" @@ -136873,15 +137039,15 @@ }, "property": { "type": "Identifier", - "start": 51045, - "end": 51049, + "start": 51698, + "end": 51702, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 52 }, "end": { - "line": 1352, + "line": 1353, "column": 56 }, "identifierName": "left" @@ -136892,15 +137058,15 @@ }, { "type": "Identifier", - "start": 51051, - "end": 51057, + "start": 51704, + "end": 51710, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 58 }, "end": { - "line": 1352, + "line": 1353, "column": 64 }, "identifierName": "entity" @@ -136912,15 +137078,15 @@ }, { "type": "ReturnStatement", - "start": 51076, - "end": 51083, + "start": 51729, + "end": 51736, "loc": { "start": { - "line": 1353, + "line": 1354, "column": 16 }, "end": { - "line": 1353, + "line": 1354, "column": 23 } }, @@ -136938,29 +137104,29 @@ }, { "type": "IfStatement", - "start": 51117, - "end": 51486, + "start": 51770, + "end": 52139, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 8 }, "end": { - "line": 1365, + "line": 1366, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 51121, - "end": 51134, + "start": 51774, + "end": 51787, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 12 }, "end": { - "line": 1357, + "line": 1358, "column": 25 } }, @@ -136968,29 +137134,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 51122, - "end": 51134, + "start": 51775, + "end": 51787, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 13 }, "end": { - "line": 1357, + "line": 1358, "column": 25 } }, "object": { "type": "Identifier", - "start": 51122, - "end": 51128, + "start": 51775, + "end": 51781, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 13 }, "end": { - "line": 1357, + "line": 1358, "column": 19 }, "identifierName": "kdNode" @@ -136999,15 +137165,15 @@ }, "property": { "type": "Identifier", - "start": 51129, - "end": 51134, + "start": 51782, + "end": 51787, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 20 }, "end": { - "line": 1357, + "line": 1358, "column": 25 }, "identifierName": "right" @@ -137022,59 +137188,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 51136, - "end": 51486, + "start": 51789, + "end": 52139, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 27 }, "end": { - "line": 1365, + "line": 1366, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 51150, - "end": 51185, + "start": 51803, + "end": 51838, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 12 }, "end": { - "line": 1358, + "line": 1359, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 51156, - "end": 51184, + "start": 51809, + "end": 51837, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 18 }, "end": { - "line": 1358, + "line": 1359, "column": 46 } }, "id": { "type": "Identifier", - "start": 51156, - "end": 51165, + "start": 51809, + "end": 51818, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 18 }, "end": { - "line": 1358, + "line": 1359, "column": 27 }, "identifierName": "aabbRight" @@ -137083,43 +137249,43 @@ }, "init": { "type": "CallExpression", - "start": 51168, - "end": 51184, + "start": 51821, + "end": 51837, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 30 }, "end": { - "line": 1358, + "line": 1359, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 51168, - "end": 51182, + "start": 51821, + "end": 51835, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 30 }, "end": { - "line": 1358, + "line": 1359, "column": 44 } }, "object": { "type": "Identifier", - "start": 51168, - "end": 51176, + "start": 51821, + "end": 51829, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 30 }, "end": { - "line": 1358, + "line": 1359, "column": 38 }, "identifierName": "nodeAABB" @@ -137128,15 +137294,15 @@ }, "property": { "type": "Identifier", - "start": 51177, - "end": 51182, + "start": 51830, + "end": 51835, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 39 }, "end": { - "line": 1358, + "line": 1359, "column": 44 }, "identifierName": "slice" @@ -137153,58 +137319,58 @@ }, { "type": "ExpressionStatement", - "start": 51198, - "end": 51259, + "start": 51851, + "end": 51912, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 12 }, "end": { - "line": 1359, + "line": 1360, "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 51198, - "end": 51258, + "start": 51851, + "end": 51911, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 12 }, "end": { - "line": 1359, + "line": 1360, "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 51198, - "end": 51212, + "start": 51851, + "end": 51865, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 12 }, "end": { - "line": 1359, + "line": 1360, "column": 26 } }, "object": { "type": "Identifier", - "start": 51198, - "end": 51207, + "start": 51851, + "end": 51860, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 12 }, "end": { - "line": 1359, + "line": 1360, "column": 21 }, "identifierName": "aabbRight" @@ -137213,15 +137379,15 @@ }, "property": { "type": "Identifier", - "start": 51208, - "end": 51211, + "start": 51861, + "end": 51864, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 22 }, "end": { - "line": 1359, + "line": 1360, "column": 25 }, "identifierName": "dim" @@ -137232,57 +137398,57 @@ }, "right": { "type": "BinaryExpression", - "start": 51216, - "end": 51257, + "start": 51869, + "end": 51910, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 30 }, "end": { - "line": 1359, + "line": 1360, "column": 71 } }, "left": { "type": "BinaryExpression", - "start": 51217, - "end": 51250, + "start": 51870, + "end": 51903, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 31 }, "end": { - "line": 1359, + "line": 1360, "column": 64 } }, "left": { "type": "MemberExpression", - "start": 51217, - "end": 51230, + "start": 51870, + "end": 51883, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 31 }, "end": { - "line": 1359, + "line": 1360, "column": 44 } }, "object": { "type": "Identifier", - "start": 51217, - "end": 51225, + "start": 51870, + "end": 51878, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 31 }, "end": { - "line": 1359, + "line": 1360, "column": 39 }, "identifierName": "nodeAABB" @@ -137291,15 +137457,15 @@ }, "property": { "type": "Identifier", - "start": 51226, - "end": 51229, + "start": 51879, + "end": 51882, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 40 }, "end": { - "line": 1359, + "line": 1360, "column": 43 }, "identifierName": "dim" @@ -137311,29 +137477,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 51233, - "end": 51250, + "start": 51886, + "end": 51903, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 47 }, "end": { - "line": 1359, + "line": 1360, "column": 64 } }, "object": { "type": "Identifier", - "start": 51233, - "end": 51241, + "start": 51886, + "end": 51894, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 47 }, "end": { - "line": 1359, + "line": 1360, "column": 55 }, "identifierName": "nodeAABB" @@ -137342,29 +137508,29 @@ }, "property": { "type": "BinaryExpression", - "start": 51242, - "end": 51249, + "start": 51895, + "end": 51902, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 56 }, "end": { - "line": 1359, + "line": 1360, "column": 63 } }, "left": { "type": "Identifier", - "start": 51242, - "end": 51245, + "start": 51895, + "end": 51898, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 56 }, "end": { - "line": 1359, + "line": 1360, "column": 59 }, "identifierName": "dim" @@ -137374,15 +137540,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 51248, - "end": 51249, + "start": 51901, + "end": 51902, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 62 }, "end": { - "line": 1359, + "line": 1360, "column": 63 } }, @@ -137397,21 +137563,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 51216 + "parenStart": 51869 } }, "operator": "/", "right": { "type": "NumericLiteral", - "start": 51254, - "end": 51257, + "start": 51907, + "end": 51910, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 68 }, "end": { - "line": 1359, + "line": 1360, "column": 71 } }, @@ -137423,65 +137589,65 @@ }, "extra": { "parenthesized": true, - "parenStart": 51215 + "parenStart": 51868 } } } }, { "type": "ExpressionStatement", - "start": 51272, - "end": 51309, + "start": 51925, + "end": 51962, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 12 }, "end": { - "line": 1360, + "line": 1361, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 51272, - "end": 51308, + "start": 51925, + "end": 51961, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 12 }, "end": { - "line": 1360, + "line": 1361, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 51272, - "end": 51284, + "start": 51925, + "end": 51937, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 12 }, "end": { - "line": 1360, + "line": 1361, "column": 24 } }, "object": { "type": "Identifier", - "start": 51272, - "end": 51278, + "start": 51925, + "end": 51931, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 12 }, "end": { - "line": 1360, + "line": 1361, "column": 18 }, "identifierName": "kdNode" @@ -137490,15 +137656,15 @@ }, "property": { "type": "Identifier", - "start": 51279, - "end": 51284, + "start": 51932, + "end": 51937, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 19 }, "end": { - "line": 1360, + "line": 1361, "column": 24 }, "identifierName": "right" @@ -137509,29 +137675,29 @@ }, "right": { "type": "NewExpression", - "start": 51287, - "end": 51308, + "start": 51940, + "end": 51961, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 27 }, "end": { - "line": 1360, + "line": 1361, "column": 48 } }, "callee": { "type": "Identifier", - "start": 51291, - "end": 51297, + "start": 51944, + "end": 51950, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 31 }, "end": { - "line": 1360, + "line": 1361, "column": 37 }, "identifierName": "KDNode" @@ -137541,15 +137707,15 @@ "arguments": [ { "type": "Identifier", - "start": 51298, - "end": 51307, + "start": 51951, + "end": 51960, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 38 }, "end": { - "line": 1360, + "line": 1361, "column": 47 }, "identifierName": "aabbRight" @@ -137562,57 +137728,57 @@ }, { "type": "IfStatement", - "start": 51322, - "end": 51476, + "start": 51975, + "end": 52129, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 12 }, "end": { - "line": 1364, + "line": 1365, "column": 13 } }, "test": { "type": "CallExpression", - "start": 51326, - "end": 51367, + "start": 51979, + "end": 52020, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 16 }, "end": { - "line": 1361, + "line": 1362, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 51326, - "end": 51344, + "start": 51979, + "end": 51997, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 16 }, "end": { - "line": 1361, + "line": 1362, "column": 34 } }, "object": { "type": "Identifier", - "start": 51326, - "end": 51330, + "start": 51979, + "end": 51983, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 16 }, "end": { - "line": 1361, + "line": 1362, "column": 20 }, "identifierName": "math" @@ -137621,15 +137787,15 @@ }, "property": { "type": "Identifier", - "start": 51331, - "end": 51344, + "start": 51984, + "end": 51997, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 21 }, "end": { - "line": 1361, + "line": 1362, "column": 34 }, "identifierName": "containsAABB3" @@ -137641,15 +137807,15 @@ "arguments": [ { "type": "Identifier", - "start": 51345, - "end": 51354, + "start": 51998, + "end": 52007, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 35 }, "end": { - "line": 1361, + "line": 1362, "column": 44 }, "identifierName": "aabbRight" @@ -137658,15 +137824,15 @@ }, { "type": "Identifier", - "start": 51356, - "end": 51366, + "start": 52009, + "end": 52019, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 46 }, "end": { - "line": 1361, + "line": 1362, "column": 56 }, "identifierName": "entityAABB" @@ -137677,87 +137843,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 51369, - "end": 51476, + "start": 52022, + "end": 52129, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 59 }, "end": { - "line": 1364, + "line": 1365, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 51387, - "end": 51438, + "start": 52040, + "end": 52091, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 16 }, "end": { - "line": 1362, + "line": 1363, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 51387, - "end": 51437, + "start": 52040, + "end": 52090, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 16 }, "end": { - "line": 1362, + "line": 1363, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 51387, - "end": 51415, + "start": 52040, + "end": 52068, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 16 }, "end": { - "line": 1362, + "line": 1363, "column": 44 } }, "object": { "type": "ThisExpression", - "start": 51387, - "end": 51391, + "start": 52040, + "end": 52044, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 16 }, "end": { - "line": 1362, + "line": 1363, "column": 20 } } }, "property": { "type": "Identifier", - "start": 51392, - "end": 51415, + "start": 52045, + "end": 52068, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 21 }, "end": { - "line": 1362, + "line": 1363, "column": 44 }, "identifierName": "_insertEntityIntoKDTree" @@ -137769,29 +137935,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 51416, - "end": 51428, + "start": 52069, + "end": 52081, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 45 }, "end": { - "line": 1362, + "line": 1363, "column": 57 } }, "object": { "type": "Identifier", - "start": 51416, - "end": 51422, + "start": 52069, + "end": 52075, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 45 }, "end": { - "line": 1362, + "line": 1363, "column": 51 }, "identifierName": "kdNode" @@ -137800,15 +137966,15 @@ }, "property": { "type": "Identifier", - "start": 51423, - "end": 51428, + "start": 52076, + "end": 52081, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 52 }, "end": { - "line": 1362, + "line": 1363, "column": 57 }, "identifierName": "right" @@ -137819,15 +137985,15 @@ }, { "type": "Identifier", - "start": 51430, - "end": 51436, + "start": 52083, + "end": 52089, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 59 }, "end": { - "line": 1362, + "line": 1363, "column": 65 }, "identifierName": "entity" @@ -137839,15 +138005,15 @@ }, { "type": "ReturnStatement", - "start": 51455, - "end": 51462, + "start": 52108, + "end": 52115, "loc": { "start": { - "line": 1363, + "line": 1364, "column": 16 }, "end": { - "line": 1363, + "line": 1364, "column": 23 } }, @@ -137865,58 +138031,58 @@ }, { "type": "ExpressionStatement", - "start": 51496, - "end": 51536, + "start": 52149, + "end": 52189, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 8 }, "end": { - "line": 1367, + "line": 1368, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 51496, - "end": 51535, + "start": 52149, + "end": 52188, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 8 }, "end": { - "line": 1367, + "line": 1368, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 51496, - "end": 51511, + "start": 52149, + "end": 52164, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 8 }, "end": { - "line": 1367, + "line": 1368, "column": 23 } }, "object": { "type": "Identifier", - "start": 51496, - "end": 51502, + "start": 52149, + "end": 52155, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 8 }, "end": { - "line": 1367, + "line": 1368, "column": 14 }, "identifierName": "kdNode" @@ -137925,15 +138091,15 @@ }, "property": { "type": "Identifier", - "start": 51503, - "end": 51511, + "start": 52156, + "end": 52164, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 15 }, "end": { - "line": 1367, + "line": 1368, "column": 23 }, "identifierName": "entities" @@ -137944,43 +138110,43 @@ }, "right": { "type": "LogicalExpression", - "start": 51514, - "end": 51535, + "start": 52167, + "end": 52188, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 26 }, "end": { - "line": 1367, + "line": 1368, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 51514, - "end": 51529, + "start": 52167, + "end": 52182, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 26 }, "end": { - "line": 1367, + "line": 1368, "column": 41 } }, "object": { "type": "Identifier", - "start": 51514, - "end": 51520, + "start": 52167, + "end": 52173, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 26 }, "end": { - "line": 1367, + "line": 1368, "column": 32 }, "identifierName": "kdNode" @@ -137989,15 +138155,15 @@ }, "property": { "type": "Identifier", - "start": 51521, - "end": 51529, + "start": 52174, + "end": 52182, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 33 }, "end": { - "line": 1367, + "line": 1368, "column": 41 }, "identifierName": "entities" @@ -138009,15 +138175,15 @@ "operator": "||", "right": { "type": "ArrayExpression", - "start": 51533, - "end": 51535, + "start": 52186, + "end": 52188, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 45 }, "end": { - "line": 1367, + "line": 1368, "column": 47 } }, @@ -138028,71 +138194,71 @@ }, { "type": "ExpressionStatement", - "start": 51545, - "end": 51574, + "start": 52198, + "end": 52227, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 8 }, "end": { - "line": 1368, + "line": 1369, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 51545, - "end": 51573, + "start": 52198, + "end": 52226, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 8 }, "end": { - "line": 1368, + "line": 1369, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 51545, - "end": 51565, + "start": 52198, + "end": 52218, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 8 }, "end": { - "line": 1368, + "line": 1369, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 51545, - "end": 51560, + "start": 52198, + "end": 52213, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 8 }, "end": { - "line": 1368, + "line": 1369, "column": 23 } }, "object": { "type": "Identifier", - "start": 51545, - "end": 51551, + "start": 52198, + "end": 52204, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 8 }, "end": { - "line": 1368, + "line": 1369, "column": 14 }, "identifierName": "kdNode" @@ -138101,15 +138267,15 @@ }, "property": { "type": "Identifier", - "start": 51552, - "end": 51560, + "start": 52205, + "end": 52213, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 15 }, "end": { - "line": 1368, + "line": 1369, "column": 23 }, "identifierName": "entities" @@ -138120,15 +138286,15 @@ }, "property": { "type": "Identifier", - "start": 51561, - "end": 51565, + "start": 52214, + "end": 52218, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 24 }, "end": { - "line": 1368, + "line": 1369, "column": 28 }, "identifierName": "push" @@ -138140,15 +138306,15 @@ "arguments": [ { "type": "Identifier", - "start": 51566, - "end": 51572, + "start": 52219, + "end": 52225, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 29 }, "end": { - "line": 1368, + "line": 1369, "column": 35 }, "identifierName": "entity" @@ -138160,57 +138326,57 @@ }, { "type": "ExpressionStatement", - "start": 51584, - "end": 51623, + "start": 52237, + "end": 52276, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 8 }, "end": { - "line": 1370, + "line": 1371, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 51584, - "end": 51622, + "start": 52237, + "end": 52275, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 8 }, "end": { - "line": 1370, + "line": 1371, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 51584, - "end": 51600, + "start": 52237, + "end": 52253, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 8 }, "end": { - "line": 1370, + "line": 1371, "column": 24 } }, "object": { "type": "Identifier", - "start": 51584, - "end": 51588, + "start": 52237, + "end": 52241, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 8 }, "end": { - "line": 1370, + "line": 1371, "column": 12 }, "identifierName": "math" @@ -138219,15 +138385,15 @@ }, "property": { "type": "Identifier", - "start": 51589, - "end": 51600, + "start": 52242, + "end": 52253, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 13 }, "end": { - "line": 1370, + "line": 1371, "column": 24 }, "identifierName": "expandAABB3" @@ -138239,15 +138405,15 @@ "arguments": [ { "type": "Identifier", - "start": 51601, - "end": 51609, + "start": 52254, + "end": 52262, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 25 }, "end": { - "line": 1370, + "line": 1371, "column": 33 }, "identifierName": "nodeAABB" @@ -138256,15 +138422,15 @@ }, { "type": "Identifier", - "start": 51611, - "end": 51621, + "start": 52264, + "end": 52274, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 35 }, "end": { - "line": 1370, + "line": 1371, "column": 45 }, "identifierName": "entityAABB" @@ -138280,15 +138446,15 @@ }, { "type": "ClassMethod", - "start": 51635, - "end": 51726, + "start": 52288, + "end": 52379, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 4 }, "end": { - "line": 1375, + "line": 1376, "column": 5 } }, @@ -138296,15 +138462,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 51635, - "end": 51657, + "start": 52288, + "end": 52310, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 4 }, "end": { - "line": 1373, + "line": 1374, "column": 26 }, "identifierName": "_createTilesFromKDTree" @@ -138319,15 +138485,15 @@ "params": [ { "type": "Identifier", - "start": 51658, - "end": 51668, + "start": 52311, + "end": 52321, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 27 }, "end": { - "line": 1373, + "line": 1374, "column": 37 }, "identifierName": "rootKDNode" @@ -138337,87 +138503,87 @@ ], "body": { "type": "BlockStatement", - "start": 51670, - "end": 51726, + "start": 52323, + "end": 52379, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 39 }, "end": { - "line": 1375, + "line": 1376, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 51680, - "end": 51720, + "start": 52333, + "end": 52373, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 8 }, "end": { - "line": 1374, + "line": 1375, "column": 48 } }, "expression": { "type": "CallExpression", - "start": 51680, - "end": 51719, + "start": 52333, + "end": 52372, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 8 }, "end": { - "line": 1374, + "line": 1375, "column": 47 } }, "callee": { "type": "MemberExpression", - "start": 51680, - "end": 51707, + "start": 52333, + "end": 52360, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 8 }, "end": { - "line": 1374, + "line": 1375, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 51680, - "end": 51684, + "start": 52333, + "end": 52337, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 8 }, "end": { - "line": 1374, + "line": 1375, "column": 12 } } }, "property": { "type": "Identifier", - "start": 51685, - "end": 51707, + "start": 52338, + "end": 52360, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 13 }, "end": { - "line": 1374, + "line": 1375, "column": 35 }, "identifierName": "_createTilesFromKDNode" @@ -138429,15 +138595,15 @@ "arguments": [ { "type": "Identifier", - "start": 51708, - "end": 51718, + "start": 52361, + "end": 52371, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 36 }, "end": { - "line": 1374, + "line": 1375, "column": 46 }, "identifierName": "rootKDNode" @@ -138453,15 +138619,15 @@ }, { "type": "ClassMethod", - "start": 51732, - "end": 52075, + "start": 52385, + "end": 52728, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 4 }, "end": { - "line": 1387, + "line": 1388, "column": 5 } }, @@ -138469,15 +138635,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 51732, - "end": 51754, + "start": 52385, + "end": 52407, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 4 }, "end": { - "line": 1377, + "line": 1378, "column": 26 }, "identifierName": "_createTilesFromKDNode" @@ -138492,15 +138658,15 @@ "params": [ { "type": "Identifier", - "start": 51755, - "end": 51761, + "start": 52408, + "end": 52414, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 27 }, "end": { - "line": 1377, + "line": 1378, "column": 33 }, "identifierName": "kdNode" @@ -138510,72 +138676,72 @@ ], "body": { "type": "BlockStatement", - "start": 51763, - "end": 52075, + "start": 52416, + "end": 52728, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 35 }, "end": { - "line": 1387, + "line": 1388, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 51773, - "end": 51885, + "start": 52426, + "end": 52538, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 8 }, "end": { - "line": 1380, + "line": 1381, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 51777, - "end": 51822, + "start": 52430, + "end": 52475, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 12 }, "end": { - "line": 1378, + "line": 1379, "column": 57 } }, "left": { "type": "MemberExpression", - "start": 51777, - "end": 51792, + "start": 52430, + "end": 52445, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 12 }, "end": { - "line": 1378, + "line": 1379, "column": 27 } }, "object": { "type": "Identifier", - "start": 51777, - "end": 51783, + "start": 52430, + "end": 52436, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 12 }, "end": { - "line": 1378, + "line": 1379, "column": 18 }, "identifierName": "kdNode" @@ -138584,15 +138750,15 @@ }, "property": { "type": "Identifier", - "start": 51784, - "end": 51792, + "start": 52437, + "end": 52445, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 19 }, "end": { - "line": 1378, + "line": 1379, "column": 27 }, "identifierName": "entities" @@ -138604,57 +138770,57 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 51796, - "end": 51822, + "start": 52449, + "end": 52475, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 31 }, "end": { - "line": 1378, + "line": 1379, "column": 57 } }, "left": { "type": "MemberExpression", - "start": 51796, - "end": 51818, + "start": 52449, + "end": 52471, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 31 }, "end": { - "line": 1378, + "line": 1379, "column": 53 } }, "object": { "type": "MemberExpression", - "start": 51796, - "end": 51811, + "start": 52449, + "end": 52464, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 31 }, "end": { - "line": 1378, + "line": 1379, "column": 46 } }, "object": { "type": "Identifier", - "start": 51796, - "end": 51802, + "start": 52449, + "end": 52455, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 31 }, "end": { - "line": 1378, + "line": 1379, "column": 37 }, "identifierName": "kdNode" @@ -138663,15 +138829,15 @@ }, "property": { "type": "Identifier", - "start": 51803, - "end": 51811, + "start": 52456, + "end": 52464, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 38 }, "end": { - "line": 1378, + "line": 1379, "column": 46 }, "identifierName": "entities" @@ -138682,15 +138848,15 @@ }, "property": { "type": "Identifier", - "start": 51812, - "end": 51818, + "start": 52465, + "end": 52471, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 47 }, "end": { - "line": 1378, + "line": 1379, "column": 53 }, "identifierName": "length" @@ -138702,15 +138868,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 51821, - "end": 51822, + "start": 52474, + "end": 52475, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 56 }, "end": { - "line": 1378, + "line": 1379, "column": 57 } }, @@ -138724,87 +138890,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 51824, - "end": 51885, + "start": 52477, + "end": 52538, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 59 }, "end": { - "line": 1380, + "line": 1381, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 51838, - "end": 51875, + "start": 52491, + "end": 52528, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 12 }, "end": { - "line": 1379, + "line": 1380, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 51838, - "end": 51874, + "start": 52491, + "end": 52527, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 12 }, "end": { - "line": 1379, + "line": 1380, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 51838, - "end": 51866, + "start": 52491, + "end": 52519, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 12 }, "end": { - "line": 1379, + "line": 1380, "column": 40 } }, "object": { "type": "ThisExpression", - "start": 51838, - "end": 51842, + "start": 52491, + "end": 52495, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 12 }, "end": { - "line": 1379, + "line": 1380, "column": 16 } } }, "property": { "type": "Identifier", - "start": 51843, - "end": 51866, + "start": 52496, + "end": 52519, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 17 }, "end": { - "line": 1379, + "line": 1380, "column": 40 }, "identifierName": "_createTileFromEntities" @@ -138816,15 +138982,15 @@ "arguments": [ { "type": "Identifier", - "start": 51867, - "end": 51873, + "start": 52520, + "end": 52526, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 41 }, "end": { - "line": 1379, + "line": 1380, "column": 47 }, "identifierName": "kdNode" @@ -138841,43 +139007,43 @@ }, { "type": "IfStatement", - "start": 51894, - "end": 51976, + "start": 52547, + "end": 52629, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 8 }, "end": { - "line": 1383, + "line": 1384, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 51898, - "end": 51909, + "start": 52551, + "end": 52562, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 12 }, "end": { - "line": 1381, + "line": 1382, "column": 23 } }, "object": { "type": "Identifier", - "start": 51898, - "end": 51904, + "start": 52551, + "end": 52557, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 12 }, "end": { - "line": 1381, + "line": 1382, "column": 18 }, "identifierName": "kdNode" @@ -138886,15 +139052,15 @@ }, "property": { "type": "Identifier", - "start": 51905, - "end": 51909, + "start": 52558, + "end": 52562, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 19 }, "end": { - "line": 1381, + "line": 1382, "column": 23 }, "identifierName": "left" @@ -138905,87 +139071,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 51911, - "end": 51976, + "start": 52564, + "end": 52629, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 25 }, "end": { - "line": 1383, + "line": 1384, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 51925, - "end": 51966, + "start": 52578, + "end": 52619, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 12 }, "end": { - "line": 1382, + "line": 1383, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 51925, - "end": 51965, + "start": 52578, + "end": 52618, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 12 }, "end": { - "line": 1382, + "line": 1383, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 51925, - "end": 51952, + "start": 52578, + "end": 52605, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 12 }, "end": { - "line": 1382, + "line": 1383, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 51925, - "end": 51929, + "start": 52578, + "end": 52582, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 12 }, "end": { - "line": 1382, + "line": 1383, "column": 16 } } }, "property": { "type": "Identifier", - "start": 51930, - "end": 51952, + "start": 52583, + "end": 52605, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 17 }, "end": { - "line": 1382, + "line": 1383, "column": 39 }, "identifierName": "_createTilesFromKDNode" @@ -138997,29 +139163,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 51953, - "end": 51964, + "start": 52606, + "end": 52617, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 40 }, "end": { - "line": 1382, + "line": 1383, "column": 51 } }, "object": { "type": "Identifier", - "start": 51953, - "end": 51959, + "start": 52606, + "end": 52612, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 40 }, "end": { - "line": 1382, + "line": 1383, "column": 46 }, "identifierName": "kdNode" @@ -139028,15 +139194,15 @@ }, "property": { "type": "Identifier", - "start": 51960, - "end": 51964, + "start": 52613, + "end": 52617, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 47 }, "end": { - "line": 1382, + "line": 1383, "column": 51 }, "identifierName": "left" @@ -139055,43 +139221,43 @@ }, { "type": "IfStatement", - "start": 51985, - "end": 52069, + "start": 52638, + "end": 52722, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 8 }, "end": { - "line": 1386, + "line": 1387, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 51989, - "end": 52001, + "start": 52642, + "end": 52654, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 12 }, "end": { - "line": 1384, + "line": 1385, "column": 24 } }, "object": { "type": "Identifier", - "start": 51989, - "end": 51995, + "start": 52642, + "end": 52648, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 12 }, "end": { - "line": 1384, + "line": 1385, "column": 18 }, "identifierName": "kdNode" @@ -139100,15 +139266,15 @@ }, "property": { "type": "Identifier", - "start": 51996, - "end": 52001, + "start": 52649, + "end": 52654, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 19 }, "end": { - "line": 1384, + "line": 1385, "column": 24 }, "identifierName": "right" @@ -139119,87 +139285,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 52003, - "end": 52069, + "start": 52656, + "end": 52722, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 26 }, "end": { - "line": 1386, + "line": 1387, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 52017, - "end": 52059, + "start": 52670, + "end": 52712, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 12 }, "end": { - "line": 1385, + "line": 1386, "column": 54 } }, "expression": { "type": "CallExpression", - "start": 52017, - "end": 52058, + "start": 52670, + "end": 52711, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 12 }, "end": { - "line": 1385, + "line": 1386, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 52017, - "end": 52044, + "start": 52670, + "end": 52697, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 12 }, "end": { - "line": 1385, + "line": 1386, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 52017, - "end": 52021, + "start": 52670, + "end": 52674, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 12 }, "end": { - "line": 1385, + "line": 1386, "column": 16 } } }, "property": { "type": "Identifier", - "start": 52022, - "end": 52044, + "start": 52675, + "end": 52697, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 17 }, "end": { - "line": 1385, + "line": 1386, "column": 39 }, "identifierName": "_createTilesFromKDNode" @@ -139211,29 +139377,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 52045, - "end": 52057, + "start": 52698, + "end": 52710, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 40 }, "end": { - "line": 1385, + "line": 1386, "column": 52 } }, "object": { "type": "Identifier", - "start": 52045, - "end": 52051, + "start": 52698, + "end": 52704, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 40 }, "end": { - "line": 1385, + "line": 1386, "column": 46 }, "identifierName": "kdNode" @@ -139242,15 +139408,15 @@ }, "property": { "type": "Identifier", - "start": 52052, - "end": 52057, + "start": 52705, + "end": 52710, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 47 }, "end": { - "line": 1385, + "line": 1386, "column": 52 }, "identifierName": "right" @@ -139275,15 +139441,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a tile from the given entities.\n *\n * For each single-use {@link XKTGeometry}, this method centers {@link XKTGeometry#positions} to make them relative to the\n * tile's center, then quantizes the positions to unsigned 16-bit integers, relative to the tile's boundary.\n *\n * @param kdNode\n ", - "start": 52081, - "end": 52414, + "start": 52734, + "end": 53067, "loc": { "start": { - "line": 1389, + "line": 1390, "column": 4 }, "end": { - "line": 1396, + "line": 1397, "column": 7 } } @@ -139292,15 +139458,15 @@ }, { "type": "ClassMethod", - "start": 52419, - "end": 54769, + "start": 53072, + "end": 55422, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 4 }, "end": { - "line": 1464, + "line": 1465, "column": 5 } }, @@ -139308,15 +139474,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 52419, - "end": 52442, + "start": 53072, + "end": 53095, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 4 }, "end": { - "line": 1397, + "line": 1398, "column": 27 }, "identifierName": "_createTileFromEntities" @@ -139332,15 +139498,15 @@ "params": [ { "type": "Identifier", - "start": 52443, - "end": 52449, + "start": 53096, + "end": 53102, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 28 }, "end": { - "line": 1397, + "line": 1398, "column": 34 }, "identifierName": "kdNode" @@ -139350,59 +139516,59 @@ ], "body": { "type": "BlockStatement", - "start": 52451, - "end": 54769, + "start": 53104, + "end": 55422, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 36 }, "end": { - "line": 1464, + "line": 1465, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 52462, - "end": 52491, + "start": 53115, + "end": 53144, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 8 }, "end": { - "line": 1399, + "line": 1400, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 52468, - "end": 52490, + "start": 53121, + "end": 53143, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 14 }, "end": { - "line": 1399, + "line": 1400, "column": 36 } }, "id": { "type": "Identifier", - "start": 52468, - "end": 52476, + "start": 53121, + "end": 53129, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 14 }, "end": { - "line": 1399, + "line": 1400, "column": 22 }, "identifierName": "tileAABB" @@ -139411,29 +139577,29 @@ }, "init": { "type": "MemberExpression", - "start": 52479, - "end": 52490, + "start": 53132, + "end": 53143, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 25 }, "end": { - "line": 1399, + "line": 1400, "column": 36 } }, "object": { "type": "Identifier", - "start": 52479, - "end": 52485, + "start": 53132, + "end": 53138, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 25 }, "end": { - "line": 1399, + "line": 1400, "column": 31 }, "identifierName": "kdNode" @@ -139442,15 +139608,15 @@ }, "property": { "type": "Identifier", - "start": 52486, - "end": 52490, + "start": 53139, + "end": 53143, "loc": { "start": { - "line": 1399, + "line": 1400, "column": 32 }, "end": { - "line": 1399, + "line": 1400, "column": 36 }, "identifierName": "aabb" @@ -139465,44 +139631,44 @@ }, { "type": "VariableDeclaration", - "start": 52500, - "end": 52533, + "start": 53153, + "end": 53186, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 8 }, "end": { - "line": 1400, + "line": 1401, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 52506, - "end": 52532, + "start": 53159, + "end": 53185, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 14 }, "end": { - "line": 1400, + "line": 1401, "column": 40 } }, "id": { "type": "Identifier", - "start": 52506, - "end": 52514, + "start": 53159, + "end": 53167, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 14 }, "end": { - "line": 1400, + "line": 1401, "column": 22 }, "identifierName": "entities" @@ -139511,29 +139677,29 @@ }, "init": { "type": "MemberExpression", - "start": 52517, - "end": 52532, + "start": 53170, + "end": 53185, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 25 }, "end": { - "line": 1400, + "line": 1401, "column": 40 } }, "object": { "type": "Identifier", - "start": 52517, - "end": 52523, + "start": 53170, + "end": 53176, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 25 }, "end": { - "line": 1400, + "line": 1401, "column": 31 }, "identifierName": "kdNode" @@ -139542,15 +139708,15 @@ }, "property": { "type": "Identifier", - "start": 52524, - "end": 52532, + "start": 53177, + "end": 53185, "loc": { "start": { - "line": 1400, + "line": 1401, "column": 32 }, "end": { - "line": 1400, + "line": 1401, "column": 40 }, "identifierName": "entities" @@ -139565,44 +139731,44 @@ }, { "type": "VariableDeclaration", - "start": 52543, - "end": 52592, + "start": 53196, + "end": 53245, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 8 }, "end": { - "line": 1402, + "line": 1403, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 52549, - "end": 52591, + "start": 53202, + "end": 53244, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 14 }, "end": { - "line": 1402, + "line": 1403, "column": 56 } }, "id": { "type": "Identifier", - "start": 52549, - "end": 52559, + "start": 53202, + "end": 53212, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 14 }, "end": { - "line": 1402, + "line": 1403, "column": 24 }, "identifierName": "tileCenter" @@ -139611,43 +139777,43 @@ }, "init": { "type": "CallExpression", - "start": 52562, - "end": 52591, + "start": 53215, + "end": 53244, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 27 }, "end": { - "line": 1402, + "line": 1403, "column": 56 } }, "callee": { "type": "MemberExpression", - "start": 52562, - "end": 52581, + "start": 53215, + "end": 53234, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 27 }, "end": { - "line": 1402, + "line": 1403, "column": 46 } }, "object": { "type": "Identifier", - "start": 52562, - "end": 52566, + "start": 53215, + "end": 53219, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 27 }, "end": { - "line": 1402, + "line": 1403, "column": 31 }, "identifierName": "math" @@ -139656,15 +139822,15 @@ }, "property": { "type": "Identifier", - "start": 52567, - "end": 52581, + "start": 53220, + "end": 53234, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 32 }, "end": { - "line": 1402, + "line": 1403, "column": 46 }, "identifierName": "getAABB3Center" @@ -139676,15 +139842,15 @@ "arguments": [ { "type": "Identifier", - "start": 52582, - "end": 52590, + "start": 53235, + "end": 53243, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 47 }, "end": { - "line": 1402, + "line": 1403, "column": 55 }, "identifierName": "tileAABB" @@ -139699,44 +139865,44 @@ }, { "type": "VariableDeclaration", - "start": 52601, - "end": 52671, + "start": 53254, + "end": 53324, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 8 }, "end": { - "line": 1403, + "line": 1404, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 52607, - "end": 52670, + "start": 53260, + "end": 53323, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 14 }, "end": { - "line": 1403, + "line": 1404, "column": 77 } }, "id": { "type": "Identifier", - "start": 52607, - "end": 52620, + "start": 53260, + "end": 53273, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 14 }, "end": { - "line": 1403, + "line": 1404, "column": 27 }, "identifierName": "tileCenterNeg" @@ -139745,43 +139911,43 @@ }, "init": { "type": "CallExpression", - "start": 52623, - "end": 52670, + "start": 53276, + "end": 53323, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 30 }, "end": { - "line": 1403, + "line": 1404, "column": 77 } }, "callee": { "type": "MemberExpression", - "start": 52623, - "end": 52641, + "start": 53276, + "end": 53294, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 30 }, "end": { - "line": 1403, + "line": 1404, "column": 48 } }, "object": { "type": "Identifier", - "start": 52623, - "end": 52627, + "start": 53276, + "end": 53280, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 30 }, "end": { - "line": 1403, + "line": 1404, "column": 34 }, "identifierName": "math" @@ -139790,15 +139956,15 @@ }, "property": { "type": "Identifier", - "start": 52628, - "end": 52641, + "start": 53281, + "end": 53294, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 35 }, "end": { - "line": 1403, + "line": 1404, "column": 48 }, "identifierName": "mulVec3Scalar" @@ -139810,15 +139976,15 @@ "arguments": [ { "type": "Identifier", - "start": 52642, - "end": 52652, + "start": 53295, + "end": 53305, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 49 }, "end": { - "line": 1403, + "line": 1404, "column": 59 }, "identifierName": "tileCenter" @@ -139827,15 +139993,15 @@ }, { "type": "UnaryExpression", - "start": 52654, - "end": 52656, + "start": 53307, + "end": 53309, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 61 }, "end": { - "line": 1403, + "line": 1404, "column": 63 } }, @@ -139843,15 +140009,15 @@ "prefix": true, "argument": { "type": "NumericLiteral", - "start": 52655, - "end": 52656, + "start": 53308, + "end": 53309, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 62 }, "end": { - "line": 1403, + "line": 1404, "column": 63 } }, @@ -139867,43 +140033,43 @@ }, { "type": "CallExpression", - "start": 52658, - "end": 52669, + "start": 53311, + "end": 53322, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 65 }, "end": { - "line": 1403, + "line": 1404, "column": 76 } }, "callee": { "type": "MemberExpression", - "start": 52658, - "end": 52667, + "start": 53311, + "end": 53320, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 65 }, "end": { - "line": 1403, + "line": 1404, "column": 74 } }, "object": { "type": "Identifier", - "start": 52658, - "end": 52662, + "start": 53311, + "end": 53315, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 65 }, "end": { - "line": 1403, + "line": 1404, "column": 69 }, "identifierName": "math" @@ -139912,15 +140078,15 @@ }, "property": { "type": "Identifier", - "start": 52663, - "end": 52667, + "start": 53316, + "end": 53320, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 70 }, "end": { - "line": 1403, + "line": 1404, "column": 74 }, "identifierName": "vec3" @@ -139939,44 +140105,44 @@ }, { "type": "VariableDeclaration", - "start": 52681, - "end": 52710, + "start": 53334, + "end": 53363, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 8 }, "end": { - "line": 1405, + "line": 1406, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 52687, - "end": 52709, + "start": 53340, + "end": 53362, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 14 }, "end": { - "line": 1405, + "line": 1406, "column": 36 } }, "id": { "type": "Identifier", - "start": 52687, - "end": 52694, + "start": 53340, + "end": 53347, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 14 }, "end": { - "line": 1405, + "line": 1406, "column": 21 }, "identifierName": "rtcAABB" @@ -139985,43 +140151,43 @@ }, "init": { "type": "CallExpression", - "start": 52697, - "end": 52709, + "start": 53350, + "end": 53362, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 24 }, "end": { - "line": 1405, + "line": 1406, "column": 36 } }, "callee": { "type": "MemberExpression", - "start": 52697, - "end": 52707, + "start": 53350, + "end": 53360, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 24 }, "end": { - "line": 1405, + "line": 1406, "column": 34 } }, "object": { "type": "Identifier", - "start": 52697, - "end": 52701, + "start": 53350, + "end": 53354, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 24 }, "end": { - "line": 1405, + "line": 1406, "column": 28 }, "identifierName": "math" @@ -140030,15 +140196,15 @@ }, "property": { "type": "Identifier", - "start": 52702, - "end": 52707, + "start": 53355, + "end": 53360, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 29 }, "end": { - "line": 1405, + "line": 1406, "column": 34 }, "identifierName": "AABB3" @@ -140056,242 +140222,15 @@ { "type": "CommentLine", "value": " AABB centered at the RTC origin", - "start": 52711, - "end": 52745, - "loc": { - "start": { - "line": 1405, - "column": 38 - }, - "end": { - "line": 1405, - "column": 72 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 52755, - "end": 52796, - "loc": { - "start": { - "line": 1407, - "column": 8 - }, - "end": { - "line": 1407, - "column": 49 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 52755, - "end": 52795, - "loc": { - "start": { - "line": 1407, - "column": 8 - }, - "end": { - "line": 1407, - "column": 48 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 52755, - "end": 52765, - "loc": { - "start": { - "line": 1407, - "column": 8 - }, - "end": { - "line": 1407, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 52755, - "end": 52762, - "loc": { - "start": { - "line": 1407, - "column": 8 - }, - "end": { - "line": 1407, - "column": 15 - }, - "identifierName": "rtcAABB" - }, - "name": "rtcAABB", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 52763, - "end": 52764, - "loc": { - "start": { - "line": 1407, - "column": 16 - }, - "end": { - "line": 1407, - "column": 17 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 52768, - "end": 52795, - "loc": { - "start": { - "line": 1407, - "column": 21 - }, - "end": { - "line": 1407, - "column": 48 - } - }, - "left": { - "type": "MemberExpression", - "start": 52768, - "end": 52779, - "loc": { - "start": { - "line": 1407, - "column": 21 - }, - "end": { - "line": 1407, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 52768, - "end": 52776, - "loc": { - "start": { - "line": 1407, - "column": 21 - }, - "end": { - "line": 1407, - "column": 29 - }, - "identifierName": "tileAABB" - }, - "name": "tileAABB" - }, - "property": { - "type": "NumericLiteral", - "start": 52777, - "end": 52778, - "loc": { - "start": { - "line": 1407, - "column": 30 - }, - "end": { - "line": 1407, - "column": 31 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "operator": "-", - "right": { - "type": "MemberExpression", - "start": 52782, - "end": 52795, - "loc": { - "start": { - "line": 1407, - "column": 35 - }, - "end": { - "line": 1407, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 52782, - "end": 52792, - "loc": { - "start": { - "line": 1407, - "column": 35 - }, - "end": { - "line": 1407, - "column": 45 - }, - "identifierName": "tileCenter" - }, - "name": "tileCenter" - }, - "property": { - "type": "NumericLiteral", - "start": 52793, - "end": 52794, - "loc": { - "start": { - "line": 1407, - "column": 46 - }, - "end": { - "line": 1407, - "column": 47 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " AABB centered at the RTC origin", - "start": 52711, - "end": 52745, + "start": 53364, + "end": 53398, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 38 }, "end": { - "line": 1405, + "line": 1406, "column": 72 } } @@ -140300,8 +140239,8 @@ }, { "type": "ExpressionStatement", - "start": 52805, - "end": 52846, + "start": 53408, + "end": 53449, "loc": { "start": { "line": 1408, @@ -140314,8 +140253,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 52805, - "end": 52845, + "start": 53408, + "end": 53448, "loc": { "start": { "line": 1408, @@ -140329,8 +140268,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 52805, - "end": 52815, + "start": 53408, + "end": 53418, "loc": { "start": { "line": 1408, @@ -140343,8 +140282,8 @@ }, "object": { "type": "Identifier", - "start": 52805, - "end": 52812, + "start": 53408, + "end": 53415, "loc": { "start": { "line": 1408, @@ -140356,12 +140295,13 @@ }, "identifierName": "rtcAABB" }, - "name": "rtcAABB" + "name": "rtcAABB", + "leadingComments": null }, "property": { "type": "NumericLiteral", - "start": 52813, - "end": 52814, + "start": 53416, + "end": 53417, "loc": { "start": { "line": 1408, @@ -140373,17 +140313,18 @@ } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, - "computed": true + "computed": true, + "leadingComments": null }, "right": { "type": "BinaryExpression", - "start": 52818, - "end": 52845, + "start": 53421, + "end": 53448, "loc": { "start": { "line": 1408, @@ -140396,8 +140337,8 @@ }, "left": { "type": "MemberExpression", - "start": 52818, - "end": 52829, + "start": 53421, + "end": 53432, "loc": { "start": { "line": 1408, @@ -140410,8 +140351,8 @@ }, "object": { "type": "Identifier", - "start": 52818, - "end": 52826, + "start": 53421, + "end": 53429, "loc": { "start": { "line": 1408, @@ -140427,8 +140368,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52827, - "end": 52828, + "start": 53430, + "end": 53431, "loc": { "start": { "line": 1408, @@ -140440,18 +140381,18 @@ } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 52832, - "end": 52845, + "start": 53435, + "end": 53448, "loc": { "start": { "line": 1408, @@ -140464,8 +140405,8 @@ }, "object": { "type": "Identifier", - "start": 52832, - "end": 52842, + "start": 53435, + "end": 53445, "loc": { "start": { "line": 1408, @@ -140481,8 +140422,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52843, - "end": 52844, + "start": 53446, + "end": 53447, "loc": { "start": { "line": 1408, @@ -140494,20 +140435,39 @@ } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, "computed": true } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " AABB centered at the RTC origin", + "start": 53364, + "end": 53398, + "loc": { + "start": { + "line": 1406, + "column": 38 + }, + "end": { + "line": 1406, + "column": 72 + } + } } - } + ] }, { "type": "ExpressionStatement", - "start": 52855, - "end": 52896, + "start": 53458, + "end": 53499, "loc": { "start": { "line": 1409, @@ -140520,8 +140480,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 52855, - "end": 52895, + "start": 53458, + "end": 53498, "loc": { "start": { "line": 1409, @@ -140535,8 +140495,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 52855, - "end": 52865, + "start": 53458, + "end": 53468, "loc": { "start": { "line": 1409, @@ -140549,8 +140509,8 @@ }, "object": { "type": "Identifier", - "start": 52855, - "end": 52862, + "start": 53458, + "end": 53465, "loc": { "start": { "line": 1409, @@ -140566,8 +140526,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52863, - "end": 52864, + "start": 53466, + "end": 53467, "loc": { "start": { "line": 1409, @@ -140579,17 +140539,17 @@ } }, "extra": { - "rawValue": 2, - "raw": "2" + "rawValue": 1, + "raw": "1" }, - "value": 2 + "value": 1 }, "computed": true }, "right": { "type": "BinaryExpression", - "start": 52868, - "end": 52895, + "start": 53471, + "end": 53498, "loc": { "start": { "line": 1409, @@ -140602,8 +140562,8 @@ }, "left": { "type": "MemberExpression", - "start": 52868, - "end": 52879, + "start": 53471, + "end": 53482, "loc": { "start": { "line": 1409, @@ -140616,8 +140576,8 @@ }, "object": { "type": "Identifier", - "start": 52868, - "end": 52876, + "start": 53471, + "end": 53479, "loc": { "start": { "line": 1409, @@ -140633,8 +140593,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52877, - "end": 52878, + "start": 53480, + "end": 53481, "loc": { "start": { "line": 1409, @@ -140646,18 +140606,18 @@ } }, "extra": { - "rawValue": 2, - "raw": "2" + "rawValue": 1, + "raw": "1" }, - "value": 2 + "value": 1 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 52882, - "end": 52895, + "start": 53485, + "end": 53498, "loc": { "start": { "line": 1409, @@ -140670,8 +140630,8 @@ }, "object": { "type": "Identifier", - "start": 52882, - "end": 52892, + "start": 53485, + "end": 53495, "loc": { "start": { "line": 1409, @@ -140687,8 +140647,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52893, - "end": 52894, + "start": 53496, + "end": 53497, "loc": { "start": { "line": 1409, @@ -140700,10 +140660,10 @@ } }, "extra": { - "rawValue": 2, - "raw": "2" + "rawValue": 1, + "raw": "1" }, - "value": 2 + "value": 1 }, "computed": true } @@ -140712,8 +140672,8 @@ }, { "type": "ExpressionStatement", - "start": 52905, - "end": 52946, + "start": 53508, + "end": 53549, "loc": { "start": { "line": 1410, @@ -140726,8 +140686,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 52905, - "end": 52945, + "start": 53508, + "end": 53548, "loc": { "start": { "line": 1410, @@ -140741,8 +140701,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 52905, - "end": 52915, + "start": 53508, + "end": 53518, "loc": { "start": { "line": 1410, @@ -140755,8 +140715,8 @@ }, "object": { "type": "Identifier", - "start": 52905, - "end": 52912, + "start": 53508, + "end": 53515, "loc": { "start": { "line": 1410, @@ -140772,8 +140732,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52913, - "end": 52914, + "start": 53516, + "end": 53517, "loc": { "start": { "line": 1410, @@ -140785,17 +140745,17 @@ } }, "extra": { - "rawValue": 3, - "raw": "3" + "rawValue": 2, + "raw": "2" }, - "value": 3 + "value": 2 }, "computed": true }, "right": { "type": "BinaryExpression", - "start": 52918, - "end": 52945, + "start": 53521, + "end": 53548, "loc": { "start": { "line": 1410, @@ -140808,8 +140768,8 @@ }, "left": { "type": "MemberExpression", - "start": 52918, - "end": 52929, + "start": 53521, + "end": 53532, "loc": { "start": { "line": 1410, @@ -140822,8 +140782,8 @@ }, "object": { "type": "Identifier", - "start": 52918, - "end": 52926, + "start": 53521, + "end": 53529, "loc": { "start": { "line": 1410, @@ -140839,8 +140799,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52927, - "end": 52928, + "start": 53530, + "end": 53531, "loc": { "start": { "line": 1410, @@ -140852,18 +140812,18 @@ } }, "extra": { - "rawValue": 3, - "raw": "3" + "rawValue": 2, + "raw": "2" }, - "value": 3 + "value": 2 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 52932, - "end": 52945, + "start": 53535, + "end": 53548, "loc": { "start": { "line": 1410, @@ -140876,8 +140836,8 @@ }, "object": { "type": "Identifier", - "start": 52932, - "end": 52942, + "start": 53535, + "end": 53545, "loc": { "start": { "line": 1410, @@ -140893,8 +140853,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52943, - "end": 52944, + "start": 53546, + "end": 53547, "loc": { "start": { "line": 1410, @@ -140906,10 +140866,10 @@ } }, "extra": { - "rawValue": 0, - "raw": "0" + "rawValue": 2, + "raw": "2" }, - "value": 0 + "value": 2 }, "computed": true } @@ -140918,8 +140878,8 @@ }, { "type": "ExpressionStatement", - "start": 52955, - "end": 52996, + "start": 53558, + "end": 53599, "loc": { "start": { "line": 1411, @@ -140932,8 +140892,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 52955, - "end": 52995, + "start": 53558, + "end": 53598, "loc": { "start": { "line": 1411, @@ -140947,8 +140907,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 52955, - "end": 52965, + "start": 53558, + "end": 53568, "loc": { "start": { "line": 1411, @@ -140961,8 +140921,8 @@ }, "object": { "type": "Identifier", - "start": 52955, - "end": 52962, + "start": 53558, + "end": 53565, "loc": { "start": { "line": 1411, @@ -140978,8 +140938,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52963, - "end": 52964, + "start": 53566, + "end": 53567, "loc": { "start": { "line": 1411, @@ -140991,17 +140951,17 @@ } }, "extra": { - "rawValue": 4, - "raw": "4" + "rawValue": 3, + "raw": "3" }, - "value": 4 + "value": 3 }, "computed": true }, "right": { "type": "BinaryExpression", - "start": 52968, - "end": 52995, + "start": 53571, + "end": 53598, "loc": { "start": { "line": 1411, @@ -141014,8 +140974,8 @@ }, "left": { "type": "MemberExpression", - "start": 52968, - "end": 52979, + "start": 53571, + "end": 53582, "loc": { "start": { "line": 1411, @@ -141028,8 +140988,8 @@ }, "object": { "type": "Identifier", - "start": 52968, - "end": 52976, + "start": 53571, + "end": 53579, "loc": { "start": { "line": 1411, @@ -141045,8 +141005,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52977, - "end": 52978, + "start": 53580, + "end": 53581, "loc": { "start": { "line": 1411, @@ -141058,18 +141018,18 @@ } }, "extra": { - "rawValue": 4, - "raw": "4" + "rawValue": 3, + "raw": "3" }, - "value": 4 + "value": 3 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 52982, - "end": 52995, + "start": 53585, + "end": 53598, "loc": { "start": { "line": 1411, @@ -141082,8 +141042,8 @@ }, "object": { "type": "Identifier", - "start": 52982, - "end": 52992, + "start": 53585, + "end": 53595, "loc": { "start": { "line": 1411, @@ -141099,8 +141059,8 @@ }, "property": { "type": "NumericLiteral", - "start": 52993, - "end": 52994, + "start": 53596, + "end": 53597, "loc": { "start": { "line": 1411, @@ -141112,10 +141072,10 @@ } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, "computed": true } @@ -141124,8 +141084,8 @@ }, { "type": "ExpressionStatement", - "start": 53005, - "end": 53046, + "start": 53608, + "end": 53649, "loc": { "start": { "line": 1412, @@ -141138,8 +141098,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 53005, - "end": 53045, + "start": 53608, + "end": 53648, "loc": { "start": { "line": 1412, @@ -141153,8 +141113,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 53005, - "end": 53015, + "start": 53608, + "end": 53618, "loc": { "start": { "line": 1412, @@ -141167,8 +141127,8 @@ }, "object": { "type": "Identifier", - "start": 53005, - "end": 53012, + "start": 53608, + "end": 53615, "loc": { "start": { "line": 1412, @@ -141184,8 +141144,8 @@ }, "property": { "type": "NumericLiteral", - "start": 53013, - "end": 53014, + "start": 53616, + "end": 53617, "loc": { "start": { "line": 1412, @@ -141197,17 +141157,17 @@ } }, "extra": { - "rawValue": 5, - "raw": "5" + "rawValue": 4, + "raw": "4" }, - "value": 5 + "value": 4 }, "computed": true }, "right": { "type": "BinaryExpression", - "start": 53018, - "end": 53045, + "start": 53621, + "end": 53648, "loc": { "start": { "line": 1412, @@ -141220,8 +141180,8 @@ }, "left": { "type": "MemberExpression", - "start": 53018, - "end": 53029, + "start": 53621, + "end": 53632, "loc": { "start": { "line": 1412, @@ -141234,8 +141194,8 @@ }, "object": { "type": "Identifier", - "start": 53018, - "end": 53026, + "start": 53621, + "end": 53629, "loc": { "start": { "line": 1412, @@ -141251,8 +141211,8 @@ }, "property": { "type": "NumericLiteral", - "start": 53027, - "end": 53028, + "start": 53630, + "end": 53631, "loc": { "start": { "line": 1412, @@ -141264,18 +141224,18 @@ } }, "extra": { - "rawValue": 5, - "raw": "5" + "rawValue": 4, + "raw": "4" }, - "value": 5 + "value": 4 }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", - "start": 53032, - "end": 53045, + "start": 53635, + "end": 53648, "loc": { "start": { "line": 1412, @@ -141288,8 +141248,8 @@ }, "object": { "type": "Identifier", - "start": 53032, - "end": 53042, + "start": 53635, + "end": 53645, "loc": { "start": { "line": 1412, @@ -141305,8 +141265,8 @@ }, "property": { "type": "NumericLiteral", - "start": 53043, - "end": 53044, + "start": 53646, + "end": 53647, "loc": { "start": { "line": 1412, @@ -141317,6 +141277,212 @@ "column": 47 } }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 53658, + "end": 53699, + "loc": { + "start": { + "line": 1413, + "column": 8 + }, + "end": { + "line": 1413, + "column": 49 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 53658, + "end": 53698, + "loc": { + "start": { + "line": 1413, + "column": 8 + }, + "end": { + "line": 1413, + "column": 48 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 53658, + "end": 53668, + "loc": { + "start": { + "line": 1413, + "column": 8 + }, + "end": { + "line": 1413, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 53658, + "end": 53665, + "loc": { + "start": { + "line": 1413, + "column": 8 + }, + "end": { + "line": 1413, + "column": 15 + }, + "identifierName": "rtcAABB" + }, + "name": "rtcAABB" + }, + "property": { + "type": "NumericLiteral", + "start": 53666, + "end": 53667, + "loc": { + "start": { + "line": 1413, + "column": 16 + }, + "end": { + "line": 1413, + "column": 17 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + "computed": true + }, + "right": { + "type": "BinaryExpression", + "start": 53671, + "end": 53698, + "loc": { + "start": { + "line": 1413, + "column": 21 + }, + "end": { + "line": 1413, + "column": 48 + } + }, + "left": { + "type": "MemberExpression", + "start": 53671, + "end": 53682, + "loc": { + "start": { + "line": 1413, + "column": 21 + }, + "end": { + "line": 1413, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 53671, + "end": 53679, + "loc": { + "start": { + "line": 1413, + "column": 21 + }, + "end": { + "line": 1413, + "column": 29 + }, + "identifierName": "tileAABB" + }, + "name": "tileAABB" + }, + "property": { + "type": "NumericLiteral", + "start": 53680, + "end": 53681, + "loc": { + "start": { + "line": 1413, + "column": 30 + }, + "end": { + "line": 1413, + "column": 31 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + }, + "computed": true + }, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 53685, + "end": 53698, + "loc": { + "start": { + "line": 1413, + "column": 35 + }, + "end": { + "line": 1413, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 53685, + "end": 53695, + "loc": { + "start": { + "line": 1413, + "column": 35 + }, + "end": { + "line": 1413, + "column": 45 + }, + "identifierName": "tileCenter" + }, + "name": "tileCenter" + }, + "property": { + "type": "NumericLiteral", + "start": 53696, + "end": 53697, + "loc": { + "start": { + "line": 1413, + "column": 46 + }, + "end": { + "line": 1413, + "column": 47 + } + }, "extra": { "rawValue": 2, "raw": "2" @@ -141330,58 +141496,58 @@ }, { "type": "ForStatement", - "start": 53056, - "end": 54672, + "start": 53709, + "end": 55325, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 8 }, "end": { - "line": 1459, + "line": 1460, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 53061, - "end": 53070, + "start": 53714, + "end": 53723, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 13 }, "end": { - "line": 1414, + "line": 1415, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53065, - "end": 53070, + "start": 53718, + "end": 53723, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 17 }, "end": { - "line": 1414, + "line": 1415, "column": 22 } }, "id": { "type": "Identifier", - "start": 53065, - "end": 53066, + "start": 53718, + "end": 53719, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 17 }, "end": { - "line": 1414, + "line": 1415, "column": 18 }, "identifierName": "i" @@ -141390,15 +141556,15 @@ }, "init": { "type": "NumericLiteral", - "start": 53069, - "end": 53070, + "start": 53722, + "end": 53723, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 21 }, "end": { - "line": 1414, + "line": 1415, "column": 22 } }, @@ -141414,29 +141580,29 @@ }, "test": { "type": "BinaryExpression", - "start": 53072, - "end": 53091, + "start": 53725, + "end": 53744, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 24 }, "end": { - "line": 1414, + "line": 1415, "column": 43 } }, "left": { "type": "Identifier", - "start": 53072, - "end": 53073, + "start": 53725, + "end": 53726, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 24 }, "end": { - "line": 1414, + "line": 1415, "column": 25 }, "identifierName": "i" @@ -141446,29 +141612,29 @@ "operator": "<", "right": { "type": "MemberExpression", - "start": 53076, - "end": 53091, + "start": 53729, + "end": 53744, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 28 }, "end": { - "line": 1414, + "line": 1415, "column": 43 } }, "object": { "type": "Identifier", - "start": 53076, - "end": 53084, + "start": 53729, + "end": 53737, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 28 }, "end": { - "line": 1414, + "line": 1415, "column": 36 }, "identifierName": "entities" @@ -141477,15 +141643,15 @@ }, "property": { "type": "Identifier", - "start": 53085, - "end": 53091, + "start": 53738, + "end": 53744, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 37 }, "end": { - "line": 1414, + "line": 1415, "column": 43 }, "identifierName": "length" @@ -141497,15 +141663,15 @@ }, "update": { "type": "UpdateExpression", - "start": 53093, - "end": 53096, + "start": 53746, + "end": 53749, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 45 }, "end": { - "line": 1414, + "line": 1415, "column": 48 } }, @@ -141513,15 +141679,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 53093, - "end": 53094, + "start": 53746, + "end": 53747, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 45 }, "end": { - "line": 1414, + "line": 1415, "column": 46 }, "identifierName": "i" @@ -141531,59 +141697,59 @@ }, "body": { "type": "BlockStatement", - "start": 53098, - "end": 54672, + "start": 53751, + "end": 55325, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 50 }, "end": { - "line": 1459, + "line": 1460, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 53113, - "end": 53141, + "start": 53766, + "end": 53794, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 12 }, "end": { - "line": 1416, + "line": 1417, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53119, - "end": 53140, + "start": 53772, + "end": 53793, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 18 }, "end": { - "line": 1416, + "line": 1417, "column": 39 } }, "id": { "type": "Identifier", - "start": 53119, - "end": 53125, + "start": 53772, + "end": 53778, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 18 }, "end": { - "line": 1416, + "line": 1417, "column": 24 }, "identifierName": "entity" @@ -141592,29 +141758,29 @@ }, "init": { "type": "MemberExpression", - "start": 53128, - "end": 53140, + "start": 53781, + "end": 53793, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 27 }, "end": { - "line": 1416, + "line": 1417, "column": 39 } }, "object": { "type": "Identifier", - "start": 53128, - "end": 53136, + "start": 53781, + "end": 53789, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 27 }, "end": { - "line": 1416, + "line": 1417, "column": 35 }, "identifierName": "entities" @@ -141623,15 +141789,15 @@ }, "property": { "type": "Identifier", - "start": 53138, - "end": 53139, + "start": 53791, + "end": 53792, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 37 }, "end": { - "line": 1416, + "line": 1417, "column": 38 }, "identifierName": "i" @@ -141646,44 +141812,44 @@ }, { "type": "VariableDeclaration", - "start": 53155, - "end": 53184, + "start": 53808, + "end": 53837, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 12 }, "end": { - "line": 1418, + "line": 1419, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53161, - "end": 53183, + "start": 53814, + "end": 53836, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 18 }, "end": { - "line": 1418, + "line": 1419, "column": 40 } }, "id": { "type": "Identifier", - "start": 53161, - "end": 53167, + "start": 53814, + "end": 53820, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 18 }, "end": { - "line": 1418, + "line": 1419, "column": 24 }, "identifierName": "meshes" @@ -141692,29 +141858,29 @@ }, "init": { "type": "MemberExpression", - "start": 53170, - "end": 53183, + "start": 53823, + "end": 53836, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 27 }, "end": { - "line": 1418, + "line": 1419, "column": 40 } }, "object": { "type": "Identifier", - "start": 53170, - "end": 53176, + "start": 53823, + "end": 53829, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 27 }, "end": { - "line": 1418, + "line": 1419, "column": 33 }, "identifierName": "entity" @@ -141723,15 +141889,15 @@ }, "property": { "type": "Identifier", - "start": 53177, - "end": 53183, + "start": 53830, + "end": 53836, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 34 }, "end": { - "line": 1418, + "line": 1419, "column": 40 }, "identifierName": "meshes" @@ -141746,58 +141912,58 @@ }, { "type": "ForStatement", - "start": 53198, - "end": 54557, + "start": 53851, + "end": 55210, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 12 }, "end": { - "line": 1454, + "line": 1455, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 53203, - "end": 53234, + "start": 53856, + "end": 53887, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 17 }, "end": { - "line": 1420, + "line": 1421, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53207, - "end": 53212, + "start": 53860, + "end": 53865, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 21 }, "end": { - "line": 1420, + "line": 1421, "column": 26 } }, "id": { "type": "Identifier", - "start": 53207, - "end": 53208, + "start": 53860, + "end": 53861, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 21 }, "end": { - "line": 1420, + "line": 1421, "column": 22 }, "identifierName": "j" @@ -141806,15 +141972,15 @@ }, "init": { "type": "NumericLiteral", - "start": 53211, - "end": 53212, + "start": 53864, + "end": 53865, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 25 }, "end": { - "line": 1420, + "line": 1421, "column": 26 } }, @@ -141827,29 +141993,29 @@ }, { "type": "VariableDeclarator", - "start": 53214, - "end": 53234, + "start": 53867, + "end": 53887, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 28 }, "end": { - "line": 1420, + "line": 1421, "column": 48 } }, "id": { "type": "Identifier", - "start": 53214, - "end": 53218, + "start": 53867, + "end": 53871, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 28 }, "end": { - "line": 1420, + "line": 1421, "column": 32 }, "identifierName": "lenj" @@ -141858,29 +142024,29 @@ }, "init": { "type": "MemberExpression", - "start": 53221, - "end": 53234, + "start": 53874, + "end": 53887, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 35 }, "end": { - "line": 1420, + "line": 1421, "column": 48 } }, "object": { "type": "Identifier", - "start": 53221, - "end": 53227, + "start": 53874, + "end": 53880, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 35 }, "end": { - "line": 1420, + "line": 1421, "column": 41 }, "identifierName": "meshes" @@ -141889,15 +142055,15 @@ }, "property": { "type": "Identifier", - "start": 53228, - "end": 53234, + "start": 53881, + "end": 53887, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 42 }, "end": { - "line": 1420, + "line": 1421, "column": 48 }, "identifierName": "length" @@ -141912,29 +142078,29 @@ }, "test": { "type": "BinaryExpression", - "start": 53236, - "end": 53244, + "start": 53889, + "end": 53897, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 50 }, "end": { - "line": 1420, + "line": 1421, "column": 58 } }, "left": { "type": "Identifier", - "start": 53236, - "end": 53237, + "start": 53889, + "end": 53890, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 50 }, "end": { - "line": 1420, + "line": 1421, "column": 51 }, "identifierName": "j" @@ -141944,15 +142110,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 53240, - "end": 53244, + "start": 53893, + "end": 53897, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 54 }, "end": { - "line": 1420, + "line": 1421, "column": 58 }, "identifierName": "lenj" @@ -141962,15 +142128,15 @@ }, "update": { "type": "UpdateExpression", - "start": 53246, - "end": 53249, + "start": 53899, + "end": 53902, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 60 }, "end": { - "line": 1420, + "line": 1421, "column": 63 } }, @@ -141978,15 +142144,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 53246, - "end": 53247, + "start": 53899, + "end": 53900, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 60 }, "end": { - "line": 1420, + "line": 1421, "column": 61 }, "identifierName": "j" @@ -141996,59 +142162,59 @@ }, "body": { "type": "BlockStatement", - "start": 53251, - "end": 54557, + "start": 53904, + "end": 55210, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 65 }, "end": { - "line": 1454, + "line": 1455, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 53270, - "end": 53293, + "start": 53923, + "end": 53946, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 16 }, "end": { - "line": 1422, + "line": 1423, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53276, - "end": 53292, + "start": 53929, + "end": 53945, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 22 }, "end": { - "line": 1422, + "line": 1423, "column": 38 } }, "id": { "type": "Identifier", - "start": 53276, - "end": 53280, + "start": 53929, + "end": 53933, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 22 }, "end": { - "line": 1422, + "line": 1423, "column": 26 }, "identifierName": "mesh" @@ -142057,29 +142223,29 @@ }, "init": { "type": "MemberExpression", - "start": 53283, - "end": 53292, + "start": 53936, + "end": 53945, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 29 }, "end": { - "line": 1422, + "line": 1423, "column": 38 } }, "object": { "type": "Identifier", - "start": 53283, - "end": 53289, + "start": 53936, + "end": 53942, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 29 }, "end": { - "line": 1422, + "line": 1423, "column": 35 }, "identifierName": "meshes" @@ -142088,15 +142254,15 @@ }, "property": { "type": "Identifier", - "start": 53290, - "end": 53291, + "start": 53943, + "end": 53944, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 36 }, "end": { - "line": 1422, + "line": 1423, "column": 37 }, "identifierName": "j" @@ -142111,44 +142277,44 @@ }, { "type": "VariableDeclaration", - "start": 53310, - "end": 53341, + "start": 53963, + "end": 53994, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 16 }, "end": { - "line": 1423, + "line": 1424, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53316, - "end": 53340, + "start": 53969, + "end": 53993, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 22 }, "end": { - "line": 1423, + "line": 1424, "column": 46 } }, "id": { "type": "Identifier", - "start": 53316, - "end": 53324, + "start": 53969, + "end": 53977, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 22 }, "end": { - "line": 1423, + "line": 1424, "column": 30 }, "identifierName": "geometry" @@ -142157,29 +142323,29 @@ }, "init": { "type": "MemberExpression", - "start": 53327, - "end": 53340, + "start": 53980, + "end": 53993, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 33 }, "end": { - "line": 1423, + "line": 1424, "column": 46 } }, "object": { "type": "Identifier", - "start": 53327, - "end": 53331, + "start": 53980, + "end": 53984, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 33 }, "end": { - "line": 1423, + "line": 1424, "column": 37 }, "identifierName": "mesh" @@ -142188,15 +142354,15 @@ }, "property": { "type": "Identifier", - "start": 53332, - "end": 53340, + "start": 53985, + "end": 53993, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 38 }, "end": { - "line": 1423, + "line": 1424, "column": 46 }, "identifierName": "geometry" @@ -142211,29 +142377,29 @@ }, { "type": "IfStatement", - "start": 53359, - "end": 54543, + "start": 54012, + "end": 55196, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 16 }, "end": { - "line": 1453, + "line": 1454, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 53363, - "end": 53379, + "start": 54016, + "end": 54032, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 20 }, "end": { - "line": 1425, + "line": 1426, "column": 36 } }, @@ -142241,29 +142407,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 53364, - "end": 53379, + "start": 54017, + "end": 54032, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 21 }, "end": { - "line": 1425, + "line": 1426, "column": 36 } }, "object": { "type": "Identifier", - "start": 53364, - "end": 53372, + "start": 54017, + "end": 54025, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 21 }, "end": { - "line": 1425, + "line": 1426, "column": 29 }, "identifierName": "geometry" @@ -142272,15 +142438,15 @@ }, "property": { "type": "Identifier", - "start": 53373, - "end": 53379, + "start": 54026, + "end": 54032, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 30 }, "end": { - "line": 1425, + "line": 1426, "column": 36 }, "identifierName": "reused" @@ -142295,59 +142461,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 53381, - "end": 54055, + "start": 54034, + "end": 54708, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 38 }, "end": { - "line": 1442, + "line": 1443, "column": 17 } }, "body": [ { "type": "VariableDeclaration", - "start": 53424, - "end": 53461, + "start": 54077, + "end": 54114, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 20 }, "end": { - "line": 1427, + "line": 1428, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53430, - "end": 53460, + "start": 54083, + "end": 54113, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 26 }, "end": { - "line": 1427, + "line": 1428, "column": 56 } }, "id": { "type": "Identifier", - "start": 53430, - "end": 53439, + "start": 54083, + "end": 54092, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 26 }, "end": { - "line": 1427, + "line": 1428, "column": 35 }, "identifierName": "positions" @@ -142357,29 +142523,29 @@ }, "init": { "type": "MemberExpression", - "start": 53442, - "end": 53460, + "start": 54095, + "end": 54113, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 38 }, "end": { - "line": 1427, + "line": 1428, "column": 56 } }, "object": { "type": "Identifier", - "start": 53442, - "end": 53450, + "start": 54095, + "end": 54103, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 38 }, "end": { - "line": 1427, + "line": 1428, "column": 46 }, "identifierName": "geometry" @@ -142388,15 +142554,15 @@ }, "property": { "type": "Identifier", - "start": 53451, - "end": 53460, + "start": 54104, + "end": 54113, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 47 }, "end": { - "line": 1427, + "line": 1428, "column": 56 }, "identifierName": "positions" @@ -142413,15 +142579,15 @@ { "type": "CommentLine", "value": " Batched geometry", - "start": 53383, - "end": 53402, + "start": 54036, + "end": 54055, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 40 }, "end": { - "line": 1425, + "line": 1426, "column": 59 } } @@ -142431,15 +142597,15 @@ { "type": "CommentLine", "value": " Center positions relative to their tile's World-space center", - "start": 53483, - "end": 53546, + "start": 54136, + "end": 54199, "loc": { "start": { - "line": 1429, + "line": 1430, "column": 20 }, "end": { - "line": 1429, + "line": 1430, "column": 83 } } @@ -142448,58 +142614,58 @@ }, { "type": "ForStatement", - "start": 53568, - "end": 53828, + "start": 54221, + "end": 54481, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 20 }, "end": { - "line": 1436, + "line": 1437, "column": 21 } }, "init": { "type": "VariableDeclaration", - "start": 53573, - "end": 53607, + "start": 54226, + "end": 54260, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 25 }, "end": { - "line": 1431, + "line": 1432, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 53577, - "end": 53582, + "start": 54230, + "end": 54235, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 29 }, "end": { - "line": 1431, + "line": 1432, "column": 34 } }, "id": { "type": "Identifier", - "start": 53577, - "end": 53578, + "start": 54230, + "end": 54231, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 29 }, "end": { - "line": 1431, + "line": 1432, "column": 30 }, "identifierName": "k" @@ -142509,15 +142675,15 @@ }, "init": { "type": "NumericLiteral", - "start": 53581, - "end": 53582, + "start": 54234, + "end": 54235, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 33 }, "end": { - "line": 1431, + "line": 1432, "column": 34 } }, @@ -142531,29 +142697,29 @@ }, { "type": "VariableDeclarator", - "start": 53584, - "end": 53607, + "start": 54237, + "end": 54260, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 36 }, "end": { - "line": 1431, + "line": 1432, "column": 59 } }, "id": { "type": "Identifier", - "start": 53584, - "end": 53588, + "start": 54237, + "end": 54241, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 36 }, "end": { - "line": 1431, + "line": 1432, "column": 40 }, "identifierName": "lenk" @@ -142562,29 +142728,29 @@ }, "init": { "type": "MemberExpression", - "start": 53591, - "end": 53607, + "start": 54244, + "end": 54260, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 43 }, "end": { - "line": 1431, + "line": 1432, "column": 59 } }, "object": { "type": "Identifier", - "start": 53591, - "end": 53600, + "start": 54244, + "end": 54253, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 43 }, "end": { - "line": 1431, + "line": 1432, "column": 52 }, "identifierName": "positions" @@ -142593,15 +142759,15 @@ }, "property": { "type": "Identifier", - "start": 53601, - "end": 53607, + "start": 54254, + "end": 54260, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 53 }, "end": { - "line": 1431, + "line": 1432, "column": 59 }, "identifierName": "length" @@ -142617,29 +142783,29 @@ }, "test": { "type": "BinaryExpression", - "start": 53609, - "end": 53617, + "start": 54262, + "end": 54270, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 61 }, "end": { - "line": 1431, + "line": 1432, "column": 69 } }, "left": { "type": "Identifier", - "start": 53609, - "end": 53610, + "start": 54262, + "end": 54263, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 61 }, "end": { - "line": 1431, + "line": 1432, "column": 62 }, "identifierName": "k" @@ -142649,15 +142815,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 53613, - "end": 53617, + "start": 54266, + "end": 54270, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 65 }, "end": { - "line": 1431, + "line": 1432, "column": 69 }, "identifierName": "lenk" @@ -142667,30 +142833,30 @@ }, "update": { "type": "AssignmentExpression", - "start": 53619, - "end": 53625, + "start": 54272, + "end": 54278, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 71 }, "end": { - "line": 1431, + "line": 1432, "column": 77 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 53619, - "end": 53620, + "start": 54272, + "end": 54273, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 71 }, "end": { - "line": 1431, + "line": 1432, "column": 72 }, "identifierName": "k" @@ -142699,15 +142865,15 @@ }, "right": { "type": "NumericLiteral", - "start": 53624, - "end": 53625, + "start": 54277, + "end": 54278, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 76 }, "end": { - "line": 1431, + "line": 1432, "column": 77 } }, @@ -142720,73 +142886,73 @@ }, "body": { "type": "BlockStatement", - "start": 53627, - "end": 53828, + "start": 54280, + "end": 54481, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 79 }, "end": { - "line": 1436, + "line": 1437, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 53654, - "end": 53688, + "start": 54307, + "end": 54341, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 24 }, "end": { - "line": 1433, + "line": 1434, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 53654, - "end": 53687, + "start": 54307, + "end": 54340, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 24 }, "end": { - "line": 1433, + "line": 1434, "column": 57 } }, "operator": "-=", "left": { "type": "MemberExpression", - "start": 53654, - "end": 53670, + "start": 54307, + "end": 54323, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 24 }, "end": { - "line": 1433, + "line": 1434, "column": 40 } }, "object": { "type": "Identifier", - "start": 53654, - "end": 53663, + "start": 54307, + "end": 54316, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 24 }, "end": { - "line": 1433, + "line": 1434, "column": 33 }, "identifierName": "positions" @@ -142795,29 +142961,29 @@ }, "property": { "type": "BinaryExpression", - "start": 53664, - "end": 53669, + "start": 54317, + "end": 54322, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 34 }, "end": { - "line": 1433, + "line": 1434, "column": 39 } }, "left": { "type": "Identifier", - "start": 53664, - "end": 53665, + "start": 54317, + "end": 54318, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 34 }, "end": { - "line": 1433, + "line": 1434, "column": 35 }, "identifierName": "k" @@ -142827,15 +142993,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 53668, - "end": 53669, + "start": 54321, + "end": 54322, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 38 }, "end": { - "line": 1433, + "line": 1434, "column": 39 } }, @@ -142850,29 +143016,29 @@ }, "right": { "type": "MemberExpression", - "start": 53674, - "end": 53687, + "start": 54327, + "end": 54340, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 44 }, "end": { - "line": 1433, + "line": 1434, "column": 57 } }, "object": { "type": "Identifier", - "start": 53674, - "end": 53684, + "start": 54327, + "end": 54337, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 44 }, "end": { - "line": 1433, + "line": 1434, "column": 54 }, "identifierName": "tileCenter" @@ -142881,15 +143047,15 @@ }, "property": { "type": "NumericLiteral", - "start": 53685, - "end": 53686, + "start": 54338, + "end": 54339, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 55 }, "end": { - "line": 1433, + "line": 1434, "column": 56 } }, @@ -142905,58 +143071,58 @@ }, { "type": "ExpressionStatement", - "start": 53713, - "end": 53747, + "start": 54366, + "end": 54400, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 24 }, "end": { - "line": 1434, + "line": 1435, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 53713, - "end": 53746, + "start": 54366, + "end": 54399, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 24 }, "end": { - "line": 1434, + "line": 1435, "column": 57 } }, "operator": "-=", "left": { "type": "MemberExpression", - "start": 53713, - "end": 53729, + "start": 54366, + "end": 54382, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 24 }, "end": { - "line": 1434, + "line": 1435, "column": 40 } }, "object": { "type": "Identifier", - "start": 53713, - "end": 53722, + "start": 54366, + "end": 54375, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 24 }, "end": { - "line": 1434, + "line": 1435, "column": 33 }, "identifierName": "positions" @@ -142965,29 +143131,29 @@ }, "property": { "type": "BinaryExpression", - "start": 53723, - "end": 53728, + "start": 54376, + "end": 54381, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 34 }, "end": { - "line": 1434, + "line": 1435, "column": 39 } }, "left": { "type": "Identifier", - "start": 53723, - "end": 53724, + "start": 54376, + "end": 54377, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 34 }, "end": { - "line": 1434, + "line": 1435, "column": 35 }, "identifierName": "k" @@ -142997,15 +143163,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 53727, - "end": 53728, + "start": 54380, + "end": 54381, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 38 }, "end": { - "line": 1434, + "line": 1435, "column": 39 } }, @@ -143020,29 +143186,29 @@ }, "right": { "type": "MemberExpression", - "start": 53733, - "end": 53746, + "start": 54386, + "end": 54399, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 44 }, "end": { - "line": 1434, + "line": 1435, "column": 57 } }, "object": { "type": "Identifier", - "start": 53733, - "end": 53743, + "start": 54386, + "end": 54396, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 44 }, "end": { - "line": 1434, + "line": 1435, "column": 54 }, "identifierName": "tileCenter" @@ -143051,15 +143217,15 @@ }, "property": { "type": "NumericLiteral", - "start": 53744, - "end": 53745, + "start": 54397, + "end": 54398, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 55 }, "end": { - "line": 1434, + "line": 1435, "column": 56 } }, @@ -143075,58 +143241,58 @@ }, { "type": "ExpressionStatement", - "start": 53772, - "end": 53806, + "start": 54425, + "end": 54459, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 24 }, "end": { - "line": 1435, + "line": 1436, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 53772, - "end": 53805, + "start": 54425, + "end": 54458, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 24 }, "end": { - "line": 1435, + "line": 1436, "column": 57 } }, "operator": "-=", "left": { "type": "MemberExpression", - "start": 53772, - "end": 53788, + "start": 54425, + "end": 54441, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 24 }, "end": { - "line": 1435, + "line": 1436, "column": 40 } }, "object": { "type": "Identifier", - "start": 53772, - "end": 53781, + "start": 54425, + "end": 54434, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 24 }, "end": { - "line": 1435, + "line": 1436, "column": 33 }, "identifierName": "positions" @@ -143135,29 +143301,29 @@ }, "property": { "type": "BinaryExpression", - "start": 53782, - "end": 53787, + "start": 54435, + "end": 54440, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 34 }, "end": { - "line": 1435, + "line": 1436, "column": 39 } }, "left": { "type": "Identifier", - "start": 53782, - "end": 53783, + "start": 54435, + "end": 54436, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 34 }, "end": { - "line": 1435, + "line": 1436, "column": 35 }, "identifierName": "k" @@ -143167,15 +143333,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 53786, - "end": 53787, + "start": 54439, + "end": 54440, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 38 }, "end": { - "line": 1435, + "line": 1436, "column": 39 } }, @@ -143190,29 +143356,29 @@ }, "right": { "type": "MemberExpression", - "start": 53792, - "end": 53805, + "start": 54445, + "end": 54458, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 44 }, "end": { - "line": 1435, + "line": 1436, "column": 57 } }, "object": { "type": "Identifier", - "start": 53792, - "end": 53802, + "start": 54445, + "end": 54455, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 44 }, "end": { - "line": 1435, + "line": 1436, "column": 54 }, "identifierName": "tileCenter" @@ -143221,15 +143387,15 @@ }, "property": { "type": "NumericLiteral", - "start": 53803, - "end": 53804, + "start": 54456, + "end": 54457, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 55 }, "end": { - "line": 1435, + "line": 1436, "column": 56 } }, @@ -143251,15 +143417,15 @@ { "type": "CommentLine", "value": " Center positions relative to their tile's World-space center", - "start": 53483, - "end": 53546, + "start": 54136, + "end": 54199, "loc": { "start": { - "line": 1429, + "line": 1430, "column": 20 }, "end": { - "line": 1429, + "line": 1430, "column": 83 } } @@ -143269,15 +143435,15 @@ { "type": "CommentLine", "value": " Quantize positions relative to tile's RTC-space boundary", - "start": 53850, - "end": 53909, + "start": 54503, + "end": 54562, "loc": { "start": { - "line": 1438, + "line": 1439, "column": 20 }, "end": { - "line": 1438, + "line": 1439, "column": 79 } } @@ -143286,57 +143452,57 @@ }, { "type": "ExpressionStatement", - "start": 53931, - "end": 54036, + "start": 54584, + "end": 54689, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 20 }, "end": { - "line": 1440, + "line": 1441, "column": 125 } }, "expression": { "type": "CallExpression", - "start": 53931, - "end": 54035, + "start": 54584, + "end": 54688, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 20 }, "end": { - "line": 1440, + "line": 1441, "column": 124 } }, "callee": { "type": "MemberExpression", - "start": 53931, - "end": 53968, + "start": 54584, + "end": 54621, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 20 }, "end": { - "line": 1440, + "line": 1441, "column": 57 } }, "object": { "type": "Identifier", - "start": 53931, - "end": 53950, + "start": 54584, + "end": 54603, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 20 }, "end": { - "line": 1440, + "line": 1441, "column": 39 }, "identifierName": "geometryCompression" @@ -143346,15 +143512,15 @@ }, "property": { "type": "Identifier", - "start": 53951, - "end": 53968, + "start": 54604, + "end": 54621, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 40 }, "end": { - "line": 1440, + "line": 1441, "column": 57 }, "identifierName": "quantizePositions" @@ -143367,15 +143533,15 @@ "arguments": [ { "type": "Identifier", - "start": 53969, - "end": 53978, + "start": 54622, + "end": 54631, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 58 }, "end": { - "line": 1440, + "line": 1441, "column": 67 }, "identifierName": "positions" @@ -143384,29 +143550,29 @@ }, { "type": "MemberExpression", - "start": 53980, - "end": 53996, + "start": 54633, + "end": 54649, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 69 }, "end": { - "line": 1440, + "line": 1441, "column": 85 } }, "object": { "type": "Identifier", - "start": 53980, - "end": 53989, + "start": 54633, + "end": 54642, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 69 }, "end": { - "line": 1440, + "line": 1441, "column": 78 }, "identifierName": "positions" @@ -143415,15 +143581,15 @@ }, "property": { "type": "Identifier", - "start": 53990, - "end": 53996, + "start": 54643, + "end": 54649, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 79 }, "end": { - "line": 1440, + "line": 1441, "column": 85 }, "identifierName": "length" @@ -143434,15 +143600,15 @@ }, { "type": "Identifier", - "start": 53998, - "end": 54005, + "start": 54651, + "end": 54658, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 87 }, "end": { - "line": 1440, + "line": 1441, "column": 94 }, "identifierName": "rtcAABB" @@ -143451,29 +143617,29 @@ }, { "type": "MemberExpression", - "start": 54007, - "end": 54034, + "start": 54660, + "end": 54687, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 96 }, "end": { - "line": 1440, + "line": 1441, "column": 123 } }, "object": { "type": "Identifier", - "start": 54007, - "end": 54015, + "start": 54660, + "end": 54668, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 96 }, "end": { - "line": 1440, + "line": 1441, "column": 104 }, "identifierName": "geometry" @@ -143482,15 +143648,15 @@ }, "property": { "type": "Identifier", - "start": 54016, - "end": 54034, + "start": 54669, + "end": 54687, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 105 }, "end": { - "line": 1440, + "line": 1441, "column": 123 }, "identifierName": "positionsQuantized" @@ -143506,15 +143672,15 @@ { "type": "CommentLine", "value": " Quantize positions relative to tile's RTC-space boundary", - "start": 53850, - "end": 53909, + "start": 54503, + "end": 54562, "loc": { "start": { - "line": 1438, + "line": 1439, "column": 20 }, "end": { - "line": 1438, + "line": 1439, "column": 79 } } @@ -143526,72 +143692,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 54061, - "end": 54543, + "start": 54714, + "end": 55196, "loc": { "start": { - "line": 1442, + "line": 1443, "column": 23 }, "end": { - "line": 1453, + "line": 1454, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 54477, - "end": 54525, + "start": 55130, + "end": 55178, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 20 }, "end": { - "line": 1452, + "line": 1453, "column": 68 } }, "expression": { "type": "CallExpression", - "start": 54477, - "end": 54524, + "start": 55130, + "end": 55177, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 20 }, "end": { - "line": 1452, + "line": 1453, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 54477, - "end": 54496, + "start": 55130, + "end": 55149, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 20 }, "end": { - "line": 1452, + "line": 1453, "column": 39 } }, "object": { "type": "Identifier", - "start": 54477, - "end": 54481, + "start": 55130, + "end": 55134, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 20 }, "end": { - "line": 1452, + "line": 1453, "column": 24 }, "identifierName": "math" @@ -143601,15 +143767,15 @@ }, "property": { "type": "Identifier", - "start": 54482, - "end": 54496, + "start": 55135, + "end": 55149, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 25 }, "end": { - "line": 1452, + "line": 1453, "column": 39 }, "identifierName": "translateMat4v" @@ -143622,15 +143788,15 @@ "arguments": [ { "type": "Identifier", - "start": 54497, - "end": 54510, + "start": 55150, + "end": 55163, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 40 }, "end": { - "line": 1452, + "line": 1453, "column": 53 }, "identifierName": "tileCenterNeg" @@ -143639,29 +143805,29 @@ }, { "type": "MemberExpression", - "start": 54512, - "end": 54523, + "start": 55165, + "end": 55176, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 55 }, "end": { - "line": 1452, + "line": 1453, "column": 66 } }, "object": { "type": "Identifier", - "start": 54512, - "end": 54516, + "start": 55165, + "end": 55169, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 55 }, "end": { - "line": 1452, + "line": 1453, "column": 59 }, "identifierName": "mesh" @@ -143670,15 +143836,15 @@ }, "property": { "type": "Identifier", - "start": 54517, - "end": 54523, + "start": 55170, + "end": 55176, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 60 }, "end": { - "line": 1452, + "line": 1453, "column": 66 }, "identifierName": "matrix" @@ -143694,15 +143860,15 @@ { "type": "CommentLine", "value": " Instanced geometry", - "start": 54063, - "end": 54084, + "start": 54716, + "end": 54737, "loc": { "start": { - "line": 1442, + "line": 1443, "column": 25 }, "end": { - "line": 1442, + "line": 1443, "column": 46 } } @@ -143710,15 +143876,15 @@ { "type": "CommentLine", "value": " Post-multiply a translation to the mesh's modeling matrix", - "start": 54106, - "end": 54166, + "start": 54759, + "end": 54819, "loc": { "start": { - "line": 1444, + "line": 1445, "column": 20 }, "end": { - "line": 1444, + "line": 1445, "column": 80 } } @@ -143726,15 +143892,15 @@ { "type": "CommentLine", "value": " to center the entity's geometry instances to the tile RTC center", - "start": 54187, - "end": 54254, + "start": 54840, + "end": 54907, "loc": { "start": { - "line": 1445, + "line": 1446, "column": 20 }, "end": { - "line": 1445, + "line": 1446, "column": 87 } } @@ -143742,15 +143908,15 @@ { "type": "CommentLine", "value": "////////////////////////////", - "start": 54276, - "end": 54306, + "start": 54929, + "end": 54959, "loc": { "start": { - "line": 1447, + "line": 1448, "column": 20 }, "end": { - "line": 1447, + "line": 1448, "column": 50 } } @@ -143758,15 +143924,15 @@ { "type": "CommentLine", "value": " Why do we do this?", - "start": 54327, - "end": 54348, + "start": 54980, + "end": 55001, "loc": { "start": { - "line": 1448, + "line": 1449, "column": 20 }, "end": { - "line": 1448, + "line": 1449, "column": 41 } } @@ -143774,15 +143940,15 @@ { "type": "CommentLine", "value": " Seems to break various models", - "start": 54369, - "end": 54401, + "start": 55022, + "end": 55054, "loc": { "start": { - "line": 1449, + "line": 1450, "column": 20 }, "end": { - "line": 1449, + "line": 1450, "column": 52 } } @@ -143790,15 +143956,15 @@ { "type": "CommentLine", "value": "///////////////////////////////", - "start": 54422, - "end": 54455, + "start": 55075, + "end": 55108, "loc": { "start": { - "line": 1450, + "line": 1451, "column": 20 }, "end": { - "line": 1450, + "line": 1451, "column": 53 } } @@ -143815,58 +143981,58 @@ }, { "type": "ExpressionStatement", - "start": 54571, - "end": 54617, + "start": 55224, + "end": 55270, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 12 }, "end": { - "line": 1456, + "line": 1457, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 54571, - "end": 54616, + "start": 55224, + "end": 55269, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 12 }, "end": { - "line": 1456, + "line": 1457, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 54571, - "end": 54589, + "start": 55224, + "end": 55242, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 12 }, "end": { - "line": 1456, + "line": 1457, "column": 30 } }, "object": { "type": "Identifier", - "start": 54571, - "end": 54577, + "start": 55224, + "end": 55230, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 12 }, "end": { - "line": 1456, + "line": 1457, "column": 18 }, "identifierName": "entity" @@ -143875,15 +144041,15 @@ }, "property": { "type": "Identifier", - "start": 54578, - "end": 54589, + "start": 55231, + "end": 55242, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 19 }, "end": { - "line": 1456, + "line": 1457, "column": 30 }, "identifierName": "entityIndex" @@ -143894,58 +144060,58 @@ }, "right": { "type": "MemberExpression", - "start": 54592, - "end": 54616, + "start": 55245, + "end": 55269, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 33 }, "end": { - "line": 1456, + "line": 1457, "column": 57 } }, "object": { "type": "MemberExpression", - "start": 54592, - "end": 54609, + "start": 55245, + "end": 55262, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 33 }, "end": { - "line": 1456, + "line": 1457, "column": 50 } }, "object": { "type": "ThisExpression", - "start": 54592, - "end": 54596, + "start": 55245, + "end": 55249, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 33 }, "end": { - "line": 1456, + "line": 1457, "column": 37 } } }, "property": { "type": "Identifier", - "start": 54597, - "end": 54609, + "start": 55250, + "end": 55262, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 38 }, "end": { - "line": 1456, + "line": 1457, "column": 50 }, "identifierName": "entitiesList" @@ -143956,15 +144122,15 @@ }, "property": { "type": "Identifier", - "start": 54610, - "end": 54616, + "start": 55263, + "end": 55269, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 51 }, "end": { - "line": 1456, + "line": 1457, "column": 57 }, "identifierName": "length" @@ -143977,86 +144143,86 @@ }, { "type": "ExpressionStatement", - "start": 54631, - "end": 54662, + "start": 55284, + "end": 55315, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 12 }, "end": { - "line": 1458, + "line": 1459, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 54631, - "end": 54661, + "start": 55284, + "end": 55314, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 12 }, "end": { - "line": 1458, + "line": 1459, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 54631, - "end": 54653, + "start": 55284, + "end": 55306, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 12 }, "end": { - "line": 1458, + "line": 1459, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 54631, - "end": 54648, + "start": 55284, + "end": 55301, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 12 }, "end": { - "line": 1458, + "line": 1459, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 54631, - "end": 54635, + "start": 55284, + "end": 55288, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 12 }, "end": { - "line": 1458, + "line": 1459, "column": 16 } } }, "property": { "type": "Identifier", - "start": 54636, - "end": 54648, + "start": 55289, + "end": 55301, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 17 }, "end": { - "line": 1458, + "line": 1459, "column": 29 }, "identifierName": "entitiesList" @@ -144067,15 +144233,15 @@ }, "property": { "type": "Identifier", - "start": 54649, - "end": 54653, + "start": 55302, + "end": 55306, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 30 }, "end": { - "line": 1458, + "line": 1459, "column": 34 }, "identifierName": "push" @@ -144087,15 +144253,15 @@ "arguments": [ { "type": "Identifier", - "start": 54654, - "end": 54660, + "start": 55307, + "end": 55313, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 35 }, "end": { - "line": 1458, + "line": 1459, "column": 41 }, "identifierName": "entity" @@ -144111,44 +144277,44 @@ }, { "type": "VariableDeclaration", - "start": 54682, - "end": 54727, + "start": 55335, + "end": 55380, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 8 }, "end": { - "line": 1461, + "line": 1462, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 54688, - "end": 54726, + "start": 55341, + "end": 55379, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 14 }, "end": { - "line": 1461, + "line": 1462, "column": 52 } }, "id": { "type": "Identifier", - "start": 54688, - "end": 54692, + "start": 55341, + "end": 55345, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 14 }, "end": { - "line": 1461, + "line": 1462, "column": 18 }, "identifierName": "tile" @@ -144157,29 +144323,29 @@ }, "init": { "type": "NewExpression", - "start": 54695, - "end": 54726, + "start": 55348, + "end": 55379, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 21 }, "end": { - "line": 1461, + "line": 1462, "column": 52 } }, "callee": { "type": "Identifier", - "start": 54699, - "end": 54706, + "start": 55352, + "end": 55359, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 25 }, "end": { - "line": 1461, + "line": 1462, "column": 32 }, "identifierName": "XKTTile" @@ -144189,15 +144355,15 @@ "arguments": [ { "type": "Identifier", - "start": 54707, - "end": 54715, + "start": 55360, + "end": 55368, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 33 }, "end": { - "line": 1461, + "line": 1462, "column": 41 }, "identifierName": "tileAABB" @@ -144206,15 +144372,15 @@ }, { "type": "Identifier", - "start": 54717, - "end": 54725, + "start": 55370, + "end": 55378, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 43 }, "end": { - "line": 1461, + "line": 1462, "column": 51 }, "identifierName": "entities" @@ -144229,86 +144395,86 @@ }, { "type": "ExpressionStatement", - "start": 54737, - "end": 54763, + "start": 55390, + "end": 55416, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 8 }, "end": { - "line": 1463, + "line": 1464, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 54737, - "end": 54762, + "start": 55390, + "end": 55415, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 8 }, "end": { - "line": 1463, + "line": 1464, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 54737, - "end": 54756, + "start": 55390, + "end": 55409, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 8 }, "end": { - "line": 1463, + "line": 1464, "column": 27 } }, "object": { "type": "MemberExpression", - "start": 54737, - "end": 54751, + "start": 55390, + "end": 55404, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 8 }, "end": { - "line": 1463, + "line": 1464, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 54737, - "end": 54741, + "start": 55390, + "end": 55394, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 8 }, "end": { - "line": 1463, + "line": 1464, "column": 12 } } }, "property": { "type": "Identifier", - "start": 54742, - "end": 54751, + "start": 55395, + "end": 55404, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 13 }, "end": { - "line": 1463, + "line": 1464, "column": 22 }, "identifierName": "tilesList" @@ -144319,15 +144485,15 @@ }, "property": { "type": "Identifier", - "start": 54752, - "end": 54756, + "start": 55405, + "end": 55409, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 23 }, "end": { - "line": 1463, + "line": 1464, "column": 27 }, "identifierName": "push" @@ -144339,15 +144505,15 @@ "arguments": [ { "type": "Identifier", - "start": 54757, - "end": 54761, + "start": 55410, + "end": 55414, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 28 }, "end": { - "line": 1463, + "line": 1464, "column": 32 }, "identifierName": "tile" @@ -144364,15 +144530,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a tile from the given entities.\n *\n * For each single-use {@link XKTGeometry}, this method centers {@link XKTGeometry#positions} to make them relative to the\n * tile's center, then quantizes the positions to unsigned 16-bit integers, relative to the tile's boundary.\n *\n * @param kdNode\n ", - "start": 52081, - "end": 52414, + "start": 52734, + "end": 53067, "loc": { "start": { - "line": 1389, + "line": 1390, "column": 4 }, "end": { - "line": 1396, + "line": 1397, "column": 7 } } @@ -144381,15 +144547,15 @@ }, { "type": "ClassMethod", - "start": 54775, - "end": 56434, + "start": 55428, + "end": 57087, "loc": { "start": { - "line": 1466, + "line": 1467, "column": 4 }, "end": { - "line": 1509, + "line": 1510, "column": 5 } }, @@ -144397,15 +144563,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 54775, - "end": 54810, + "start": 55428, + "end": 55463, "loc": { "start": { - "line": 1466, + "line": 1467, "column": 4 }, "end": { - "line": 1466, + "line": 1467, "column": 39 }, "identifierName": "_createReusedGeometriesDecodeMatrix" @@ -144420,59 +144586,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 54813, - "end": 56434, + "start": 55466, + "end": 57087, "loc": { "start": { - "line": 1466, + "line": 1467, "column": 42 }, "end": { - "line": 1509, + "line": 1510, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 54824, - "end": 54854, + "start": 55477, + "end": 55507, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 8 }, "end": { - "line": 1468, + "line": 1469, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 54830, - "end": 54853, + "start": 55483, + "end": 55506, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 14 }, "end": { - "line": 1468, + "line": 1469, "column": 37 } }, "id": { "type": "Identifier", - "start": 54830, - "end": 54839, + "start": 55483, + "end": 55492, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 14 }, "end": { - "line": 1468, + "line": 1469, "column": 23 }, "identifierName": "tempVec3a" @@ -144481,43 +144647,43 @@ }, "init": { "type": "CallExpression", - "start": 54842, - "end": 54853, + "start": 55495, + "end": 55506, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 26 }, "end": { - "line": 1468, + "line": 1469, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 54842, - "end": 54851, + "start": 55495, + "end": 55504, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 26 }, "end": { - "line": 1468, + "line": 1469, "column": 35 } }, "object": { "type": "Identifier", - "start": 54842, - "end": 54846, + "start": 55495, + "end": 55499, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 26 }, "end": { - "line": 1468, + "line": 1469, "column": 30 }, "identifierName": "math" @@ -144526,15 +144692,15 @@ }, "property": { "type": "Identifier", - "start": 54847, - "end": 54851, + "start": 55500, + "end": 55504, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 31 }, "end": { - "line": 1468, + "line": 1469, "column": 35 }, "identifierName": "vec3" @@ -144551,44 +144717,44 @@ }, { "type": "VariableDeclaration", - "start": 54863, - "end": 54925, + "start": 55516, + "end": 55578, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 8 }, "end": { - "line": 1469, + "line": 1470, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 54869, - "end": 54924, + "start": 55522, + "end": 55577, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 14 }, "end": { - "line": 1469, + "line": 1470, "column": 69 } }, "id": { "type": "Identifier", - "start": 54869, - "end": 54889, + "start": 55522, + "end": 55542, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 14 }, "end": { - "line": 1469, + "line": 1470, "column": 34 }, "identifierName": "reusedGeometriesAABB" @@ -144597,43 +144763,43 @@ }, "init": { "type": "CallExpression", - "start": 54892, - "end": 54924, + "start": 55545, + "end": 55577, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 37 }, "end": { - "line": 1469, + "line": 1470, "column": 69 } }, "callee": { "type": "MemberExpression", - "start": 54892, - "end": 54910, + "start": 55545, + "end": 55563, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 37 }, "end": { - "line": 1469, + "line": 1470, "column": 55 } }, "object": { "type": "Identifier", - "start": 54892, - "end": 54896, + "start": 55545, + "end": 55549, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 37 }, "end": { - "line": 1469, + "line": 1470, "column": 41 }, "identifierName": "math" @@ -144642,15 +144808,15 @@ }, "property": { "type": "Identifier", - "start": 54897, - "end": 54910, + "start": 55550, + "end": 55563, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 42 }, "end": { - "line": 1469, + "line": 1470, "column": 55 }, "identifierName": "collapseAABB3" @@ -144662,43 +144828,43 @@ "arguments": [ { "type": "CallExpression", - "start": 54911, - "end": 54923, + "start": 55564, + "end": 55576, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 56 }, "end": { - "line": 1469, + "line": 1470, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 54911, - "end": 54921, + "start": 55564, + "end": 55574, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 56 }, "end": { - "line": 1469, + "line": 1470, "column": 66 } }, "object": { "type": "Identifier", - "start": 54911, - "end": 54915, + "start": 55564, + "end": 55568, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 56 }, "end": { - "line": 1469, + "line": 1470, "column": 60 }, "identifierName": "math" @@ -144707,15 +144873,15 @@ }, "property": { "type": "Identifier", - "start": 54916, - "end": 54921, + "start": 55569, + "end": 55574, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 61 }, "end": { - "line": 1469, + "line": 1470, "column": 66 }, "identifierName": "AABB3" @@ -144734,44 +144900,44 @@ }, { "type": "VariableDeclaration", - "start": 54934, - "end": 54964, + "start": 55587, + "end": 55617, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 8 }, "end": { - "line": 1470, + "line": 1471, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 54938, - "end": 54963, + "start": 55591, + "end": 55616, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 12 }, "end": { - "line": 1470, + "line": 1471, "column": 37 } }, "id": { "type": "Identifier", - "start": 54938, - "end": 54959, + "start": 55591, + "end": 55612, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 12 }, "end": { - "line": 1470, + "line": 1471, "column": 33 }, "identifierName": "countReusedGeometries" @@ -144780,15 +144946,15 @@ }, "init": { "type": "NumericLiteral", - "start": 54962, - "end": 54963, + "start": 55615, + "end": 55616, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 36 }, "end": { - "line": 1470, + "line": 1471, "column": 37 } }, @@ -144804,58 +144970,58 @@ }, { "type": "ForStatement", - "start": 54974, - "end": 55669, + "start": 55627, + "end": 56322, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 8 }, "end": { - "line": 1491, + "line": 1492, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 54979, - "end": 55044, + "start": 55632, + "end": 55697, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 13 }, "end": { - "line": 1472, + "line": 1473, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 54983, - "end": 55000, + "start": 55636, + "end": 55653, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 17 }, "end": { - "line": 1472, + "line": 1473, "column": 34 } }, "id": { "type": "Identifier", - "start": 54983, - "end": 54996, + "start": 55636, + "end": 55649, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 17 }, "end": { - "line": 1472, + "line": 1473, "column": 30 }, "identifierName": "geometryIndex" @@ -144864,15 +145030,15 @@ }, "init": { "type": "NumericLiteral", - "start": 54999, - "end": 55000, + "start": 55652, + "end": 55653, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 33 }, "end": { - "line": 1472, + "line": 1473, "column": 34 } }, @@ -144885,29 +145051,29 @@ }, { "type": "VariableDeclarator", - "start": 55002, - "end": 55044, + "start": 55655, + "end": 55697, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 36 }, "end": { - "line": 1472, + "line": 1473, "column": 78 } }, "id": { "type": "Identifier", - "start": 55002, - "end": 55015, + "start": 55655, + "end": 55668, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 36 }, "end": { - "line": 1472, + "line": 1473, "column": 49 }, "identifierName": "numGeometries" @@ -144916,58 +145082,58 @@ }, "init": { "type": "MemberExpression", - "start": 55018, - "end": 55044, + "start": 55671, + "end": 55697, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 52 }, "end": { - "line": 1472, + "line": 1473, "column": 78 } }, "object": { "type": "MemberExpression", - "start": 55018, - "end": 55037, + "start": 55671, + "end": 55690, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 52 }, "end": { - "line": 1472, + "line": 1473, "column": 71 } }, "object": { "type": "ThisExpression", - "start": 55018, - "end": 55022, + "start": 55671, + "end": 55675, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 52 }, "end": { - "line": 1472, + "line": 1473, "column": 56 } } }, "property": { "type": "Identifier", - "start": 55023, - "end": 55037, + "start": 55676, + "end": 55690, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 57 }, "end": { - "line": 1472, + "line": 1473, "column": 71 }, "identifierName": "geometriesList" @@ -144978,15 +145144,15 @@ }, "property": { "type": "Identifier", - "start": 55038, - "end": 55044, + "start": 55691, + "end": 55697, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 72 }, "end": { - "line": 1472, + "line": 1473, "column": 78 }, "identifierName": "length" @@ -145001,29 +145167,29 @@ }, "test": { "type": "BinaryExpression", - "start": 55046, - "end": 55075, + "start": 55699, + "end": 55728, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 80 }, "end": { - "line": 1472, + "line": 1473, "column": 109 } }, "left": { "type": "Identifier", - "start": 55046, - "end": 55059, + "start": 55699, + "end": 55712, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 80 }, "end": { - "line": 1472, + "line": 1473, "column": 93 }, "identifierName": "geometryIndex" @@ -145033,15 +145199,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 55062, - "end": 55075, + "start": 55715, + "end": 55728, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 96 }, "end": { - "line": 1472, + "line": 1473, "column": 109 }, "identifierName": "numGeometries" @@ -145051,15 +145217,15 @@ }, "update": { "type": "UpdateExpression", - "start": 55077, - "end": 55092, + "start": 55730, + "end": 55745, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 111 }, "end": { - "line": 1472, + "line": 1473, "column": 126 } }, @@ -145067,15 +145233,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 55077, - "end": 55090, + "start": 55730, + "end": 55743, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 111 }, "end": { - "line": 1472, + "line": 1473, "column": 124 }, "identifierName": "geometryIndex" @@ -145085,59 +145251,59 @@ }, "body": { "type": "BlockStatement", - "start": 55094, - "end": 55669, + "start": 55747, + "end": 56322, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 128 }, "end": { - "line": 1491, + "line": 1492, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 55109, - "end": 55162, + "start": 55762, + "end": 55815, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 12 }, "end": { - "line": 1474, + "line": 1475, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 55115, - "end": 55161, + "start": 55768, + "end": 55814, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 18 }, "end": { - "line": 1474, + "line": 1475, "column": 64 } }, "id": { "type": "Identifier", - "start": 55115, - "end": 55123, + "start": 55768, + "end": 55776, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 18 }, "end": { - "line": 1474, + "line": 1475, "column": 26 }, "identifierName": "geometry" @@ -145146,58 +145312,58 @@ }, "init": { "type": "MemberExpression", - "start": 55126, - "end": 55161, + "start": 55779, + "end": 55814, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 29 }, "end": { - "line": 1474, + "line": 1475, "column": 64 } }, "object": { "type": "MemberExpression", - "start": 55126, - "end": 55145, + "start": 55779, + "end": 55798, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 29 }, "end": { - "line": 1474, + "line": 1475, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 55126, - "end": 55130, + "start": 55779, + "end": 55783, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 29 }, "end": { - "line": 1474, + "line": 1475, "column": 33 } } }, "property": { "type": "Identifier", - "start": 55131, - "end": 55145, + "start": 55784, + "end": 55798, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 34 }, "end": { - "line": 1474, + "line": 1475, "column": 48 }, "identifierName": "geometriesList" @@ -145208,15 +145374,15 @@ }, "property": { "type": "Identifier", - "start": 55147, - "end": 55160, + "start": 55800, + "end": 55813, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 50 }, "end": { - "line": 1474, + "line": 1475, "column": 63 }, "identifierName": "geometryIndex" @@ -145231,43 +145397,43 @@ }, { "type": "IfStatement", - "start": 55176, - "end": 55659, + "start": 55829, + "end": 56312, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 12 }, "end": { - "line": 1490, + "line": 1491, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 55180, - "end": 55195, + "start": 55833, + "end": 55848, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 16 }, "end": { - "line": 1476, + "line": 1477, "column": 31 } }, "object": { "type": "Identifier", - "start": 55180, - "end": 55188, + "start": 55833, + "end": 55841, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 16 }, "end": { - "line": 1476, + "line": 1477, "column": 24 }, "identifierName": "geometry" @@ -145276,15 +145442,15 @@ }, "property": { "type": "Identifier", - "start": 55189, - "end": 55195, + "start": 55842, + "end": 55848, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 25 }, "end": { - "line": 1476, + "line": 1477, "column": 31 }, "identifierName": "reused" @@ -145295,59 +145461,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 55197, - "end": 55659, + "start": 55850, + "end": 56312, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 33 }, "end": { - "line": 1490, + "line": 1491, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 55238, - "end": 55275, + "start": 55891, + "end": 55928, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 16 }, "end": { - "line": 1478, + "line": 1479, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 55244, - "end": 55274, + "start": 55897, + "end": 55927, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 22 }, "end": { - "line": 1478, + "line": 1479, "column": 52 } }, "id": { "type": "Identifier", - "start": 55244, - "end": 55253, + "start": 55897, + "end": 55906, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 22 }, "end": { - "line": 1478, + "line": 1479, "column": 31 }, "identifierName": "positions" @@ -145357,29 +145523,29 @@ }, "init": { "type": "MemberExpression", - "start": 55256, - "end": 55274, + "start": 55909, + "end": 55927, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 34 }, "end": { - "line": 1478, + "line": 1479, "column": 52 } }, "object": { "type": "Identifier", - "start": 55256, - "end": 55264, + "start": 55909, + "end": 55917, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 34 }, "end": { - "line": 1478, + "line": 1479, "column": 42 }, "identifierName": "geometry" @@ -145388,15 +145554,15 @@ }, "property": { "type": "Identifier", - "start": 55265, - "end": 55274, + "start": 55918, + "end": 55927, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 43 }, "end": { - "line": 1478, + "line": 1479, "column": 52 }, "identifierName": "positions" @@ -145413,15 +145579,15 @@ { "type": "CommentLine", "value": " Instanced geometry", - "start": 55199, - "end": 55220, + "start": 55852, + "end": 55873, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 35 }, "end": { - "line": 1476, + "line": 1477, "column": 56 } } @@ -145430,58 +145596,58 @@ }, { "type": "ForStatement", - "start": 55293, - "end": 55603, + "start": 55946, + "end": 56256, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 16 }, "end": { - "line": 1487, + "line": 1488, "column": 17 } }, "init": { "type": "VariableDeclaration", - "start": 55298, - "end": 55331, + "start": 55951, + "end": 55984, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 21 }, "end": { - "line": 1480, + "line": 1481, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 55302, - "end": 55307, + "start": 55955, + "end": 55960, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 25 }, "end": { - "line": 1480, + "line": 1481, "column": 30 } }, "id": { "type": "Identifier", - "start": 55302, - "end": 55303, + "start": 55955, + "end": 55956, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 25 }, "end": { - "line": 1480, + "line": 1481, "column": 26 }, "identifierName": "i" @@ -145490,15 +145656,15 @@ }, "init": { "type": "NumericLiteral", - "start": 55306, - "end": 55307, + "start": 55959, + "end": 55960, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 29 }, "end": { - "line": 1480, + "line": 1481, "column": 30 } }, @@ -145511,29 +145677,29 @@ }, { "type": "VariableDeclarator", - "start": 55309, - "end": 55331, + "start": 55962, + "end": 55984, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 32 }, "end": { - "line": 1480, + "line": 1481, "column": 54 } }, "id": { "type": "Identifier", - "start": 55309, - "end": 55312, + "start": 55962, + "end": 55965, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 32 }, "end": { - "line": 1480, + "line": 1481, "column": 35 }, "identifierName": "len" @@ -145542,29 +145708,29 @@ }, "init": { "type": "MemberExpression", - "start": 55315, - "end": 55331, + "start": 55968, + "end": 55984, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 38 }, "end": { - "line": 1480, + "line": 1481, "column": 54 } }, "object": { "type": "Identifier", - "start": 55315, - "end": 55324, + "start": 55968, + "end": 55977, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 38 }, "end": { - "line": 1480, + "line": 1481, "column": 47 }, "identifierName": "positions" @@ -145573,15 +145739,15 @@ }, "property": { "type": "Identifier", - "start": 55325, - "end": 55331, + "start": 55978, + "end": 55984, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 48 }, "end": { - "line": 1480, + "line": 1481, "column": 54 }, "identifierName": "length" @@ -145596,29 +145762,29 @@ }, "test": { "type": "BinaryExpression", - "start": 55333, - "end": 55340, + "start": 55986, + "end": 55993, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 56 }, "end": { - "line": 1480, + "line": 1481, "column": 63 } }, "left": { "type": "Identifier", - "start": 55333, - "end": 55334, + "start": 55986, + "end": 55987, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 56 }, "end": { - "line": 1480, + "line": 1481, "column": 57 }, "identifierName": "i" @@ -145628,15 +145794,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 55337, - "end": 55340, + "start": 55990, + "end": 55993, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 60 }, "end": { - "line": 1480, + "line": 1481, "column": 63 }, "identifierName": "len" @@ -145646,30 +145812,30 @@ }, "update": { "type": "AssignmentExpression", - "start": 55342, - "end": 55348, + "start": 55995, + "end": 56001, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 65 }, "end": { - "line": 1480, + "line": 1481, "column": 71 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 55342, - "end": 55343, + "start": 55995, + "end": 55996, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 65 }, "end": { - "line": 1480, + "line": 1481, "column": 66 }, "identifierName": "i" @@ -145678,15 +145844,15 @@ }, "right": { "type": "NumericLiteral", - "start": 55347, - "end": 55348, + "start": 56000, + "end": 56001, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 70 }, "end": { - "line": 1480, + "line": 1481, "column": 71 } }, @@ -145699,157 +145865,23 @@ }, "body": { "type": "BlockStatement", - "start": 55350, - "end": 55603, + "start": 56003, + "end": 56256, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 73 }, "end": { - "line": 1487, + "line": 1488, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 55373, - "end": 55401, - "loc": { - "start": { - "line": 1482, - "column": 20 - }, - "end": { - "line": 1482, - "column": 48 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 55373, - "end": 55400, - "loc": { - "start": { - "line": 1482, - "column": 20 - }, - "end": { - "line": 1482, - "column": 47 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 55373, - "end": 55385, - "loc": { - "start": { - "line": 1482, - "column": 20 - }, - "end": { - "line": 1482, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 55373, - "end": 55382, - "loc": { - "start": { - "line": 1482, - "column": 20 - }, - "end": { - "line": 1482, - "column": 29 - }, - "identifierName": "tempVec3a" - }, - "name": "tempVec3a" - }, - "property": { - "type": "NumericLiteral", - "start": 55383, - "end": 55384, - "loc": { - "start": { - "line": 1482, - "column": 30 - }, - "end": { - "line": 1482, - "column": 31 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "right": { - "type": "MemberExpression", - "start": 55388, - "end": 55400, - "loc": { - "start": { - "line": 1482, - "column": 35 - }, - "end": { - "line": 1482, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 55388, - "end": 55397, - "loc": { - "start": { - "line": 1482, - "column": 35 - }, - "end": { - "line": 1482, - "column": 44 - }, - "identifierName": "positions" - }, - "name": "positions" - }, - "property": { - "type": "Identifier", - "start": 55398, - "end": 55399, - "loc": { - "start": { - "line": 1482, - "column": 45 - }, - "end": { - "line": 1482, - "column": 46 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - } - } - }, - { - "type": "ExpressionStatement", - "start": 55422, - "end": 55454, + "start": 56026, + "end": 56054, "loc": { "start": { "line": 1483, @@ -145857,13 +145889,13 @@ }, "end": { "line": 1483, - "column": 52 + "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 55422, - "end": 55453, + "start": 56026, + "end": 56053, "loc": { "start": { "line": 1483, @@ -145871,14 +145903,14 @@ }, "end": { "line": 1483, - "column": 51 + "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 55422, - "end": 55434, + "start": 56026, + "end": 56038, "loc": { "start": { "line": 1483, @@ -145891,8 +145923,8 @@ }, "object": { "type": "Identifier", - "start": 55422, - "end": 55431, + "start": 56026, + "end": 56035, "loc": { "start": { "line": 1483, @@ -145908,8 +145940,8 @@ }, "property": { "type": "NumericLiteral", - "start": 55432, - "end": 55433, + "start": 56036, + "end": 56037, "loc": { "start": { "line": 1483, @@ -145921,17 +145953,17 @@ } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, "computed": true }, "right": { "type": "MemberExpression", - "start": 55437, - "end": 55453, + "start": 56041, + "end": 56053, "loc": { "start": { "line": 1483, @@ -145939,13 +145971,13 @@ }, "end": { "line": 1483, - "column": 51 + "column": 47 } }, "object": { "type": "Identifier", - "start": 55437, - "end": 55446, + "start": 56041, + "end": 56050, "loc": { "start": { "line": 1483, @@ -145960,9 +145992,9 @@ "name": "positions" }, "property": { - "type": "BinaryExpression", - "start": 55447, - "end": 55452, + "type": "Identifier", + "start": 56051, + "end": 56052, "loc": { "start": { "line": 1483, @@ -145970,20 +146002,154 @@ }, "end": { "line": 1483, + "column": 46 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 56075, + "end": 56107, + "loc": { + "start": { + "line": 1484, + "column": 20 + }, + "end": { + "line": 1484, + "column": 52 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 56075, + "end": 56106, + "loc": { + "start": { + "line": 1484, + "column": 20 + }, + "end": { + "line": 1484, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 56075, + "end": 56087, + "loc": { + "start": { + "line": 1484, + "column": 20 + }, + "end": { + "line": 1484, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 56075, + "end": 56084, + "loc": { + "start": { + "line": 1484, + "column": 20 + }, + "end": { + "line": 1484, + "column": 29 + }, + "identifierName": "tempVec3a" + }, + "name": "tempVec3a" + }, + "property": { + "type": "NumericLiteral", + "start": 56085, + "end": 56086, + "loc": { + "start": { + "line": 1484, + "column": 30 + }, + "end": { + "line": 1484, + "column": 31 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 56090, + "end": 56106, + "loc": { + "start": { + "line": 1484, + "column": 35 + }, + "end": { + "line": 1484, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 56090, + "end": 56099, + "loc": { + "start": { + "line": 1484, + "column": 35 + }, + "end": { + "line": 1484, + "column": 44 + }, + "identifierName": "positions" + }, + "name": "positions" + }, + "property": { + "type": "BinaryExpression", + "start": 56100, + "end": 56105, + "loc": { + "start": { + "line": 1484, + "column": 45 + }, + "end": { + "line": 1484, "column": 50 } }, "left": { "type": "Identifier", - "start": 55447, - "end": 55448, + "start": 56100, + "end": 56101, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 45 }, "end": { - "line": 1483, + "line": 1484, "column": 46 }, "identifierName": "i" @@ -145993,15 +146159,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 55451, - "end": 55452, + "start": 56104, + "end": 56105, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 49 }, "end": { - "line": 1483, + "line": 1484, "column": 50 } }, @@ -146018,58 +146184,58 @@ }, { "type": "ExpressionStatement", - "start": 55475, - "end": 55507, + "start": 56128, + "end": 56160, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 20 }, "end": { - "line": 1484, + "line": 1485, "column": 52 } }, "expression": { "type": "AssignmentExpression", - "start": 55475, - "end": 55506, + "start": 56128, + "end": 56159, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 20 }, "end": { - "line": 1484, + "line": 1485, "column": 51 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 55475, - "end": 55487, + "start": 56128, + "end": 56140, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 20 }, "end": { - "line": 1484, + "line": 1485, "column": 32 } }, "object": { "type": "Identifier", - "start": 55475, - "end": 55484, + "start": 56128, + "end": 56137, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 20 }, "end": { - "line": 1484, + "line": 1485, "column": 29 }, "identifierName": "tempVec3a" @@ -146078,15 +146244,15 @@ }, "property": { "type": "NumericLiteral", - "start": 55485, - "end": 55486, + "start": 56138, + "end": 56139, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 30 }, "end": { - "line": 1484, + "line": 1485, "column": 31 } }, @@ -146100,29 +146266,29 @@ }, "right": { "type": "MemberExpression", - "start": 55490, - "end": 55506, + "start": 56143, + "end": 56159, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 35 }, "end": { - "line": 1484, + "line": 1485, "column": 51 } }, "object": { "type": "Identifier", - "start": 55490, - "end": 55499, + "start": 56143, + "end": 56152, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 35 }, "end": { - "line": 1484, + "line": 1485, "column": 44 }, "identifierName": "positions" @@ -146131,29 +146297,29 @@ }, "property": { "type": "BinaryExpression", - "start": 55500, - "end": 55505, + "start": 56153, + "end": 56158, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 45 }, "end": { - "line": 1484, + "line": 1485, "column": 50 } }, "left": { "type": "Identifier", - "start": 55500, - "end": 55501, + "start": 56153, + "end": 56154, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 45 }, "end": { - "line": 1484, + "line": 1485, "column": 46 }, "identifierName": "i" @@ -146163,15 +146329,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 55504, - "end": 55505, + "start": 56157, + "end": 56158, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 49 }, "end": { - "line": 1484, + "line": 1485, "column": 50 } }, @@ -146188,57 +146354,57 @@ }, { "type": "ExpressionStatement", - "start": 55529, - "end": 55585, + "start": 56182, + "end": 56238, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 20 }, "end": { - "line": 1486, + "line": 1487, "column": 76 } }, "expression": { "type": "CallExpression", - "start": 55529, - "end": 55584, + "start": 56182, + "end": 56237, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 20 }, "end": { - "line": 1486, + "line": 1487, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 55529, - "end": 55551, + "start": 56182, + "end": 56204, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 20 }, "end": { - "line": 1486, + "line": 1487, "column": 42 } }, "object": { "type": "Identifier", - "start": 55529, - "end": 55533, + "start": 56182, + "end": 56186, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 20 }, "end": { - "line": 1486, + "line": 1487, "column": 24 }, "identifierName": "math" @@ -146247,15 +146413,15 @@ }, "property": { "type": "Identifier", - "start": 55534, - "end": 55551, + "start": 56187, + "end": 56204, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 25 }, "end": { - "line": 1486, + "line": 1487, "column": 42 }, "identifierName": "expandAABB3Point3" @@ -146267,15 +146433,15 @@ "arguments": [ { "type": "Identifier", - "start": 55552, - "end": 55572, + "start": 56205, + "end": 56225, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 43 }, "end": { - "line": 1486, + "line": 1487, "column": 63 }, "identifierName": "reusedGeometriesAABB" @@ -146284,15 +146450,15 @@ }, { "type": "Identifier", - "start": 55574, - "end": 55583, + "start": 56227, + "end": 56236, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 65 }, "end": { - "line": 1486, + "line": 1487, "column": 74 }, "identifierName": "tempVec3a" @@ -146308,29 +146474,29 @@ }, { "type": "ExpressionStatement", - "start": 55621, - "end": 55645, + "start": 56274, + "end": 56298, "loc": { "start": { - "line": 1489, + "line": 1490, "column": 16 }, "end": { - "line": 1489, + "line": 1490, "column": 40 } }, "expression": { "type": "UpdateExpression", - "start": 55621, - "end": 55644, + "start": 56274, + "end": 56297, "loc": { "start": { - "line": 1489, + "line": 1490, "column": 16 }, "end": { - "line": 1489, + "line": 1490, "column": 39 } }, @@ -146338,15 +146504,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 55621, - "end": 55642, + "start": 56274, + "end": 56295, "loc": { "start": { - "line": 1489, + "line": 1490, "column": 16 }, "end": { - "line": 1489, + "line": 1490, "column": 37 }, "identifierName": "countReusedGeometries" @@ -146366,43 +146532,43 @@ }, { "type": "IfStatement", - "start": 55679, - "end": 56428, + "start": 56332, + "end": 57081, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 8 }, "end": { - "line": 1508, + "line": 1509, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 55683, - "end": 55708, + "start": 56336, + "end": 56361, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 12 }, "end": { - "line": 1493, + "line": 1494, "column": 37 } }, "left": { "type": "Identifier", - "start": 55683, - "end": 55704, + "start": 56336, + "end": 56357, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 12 }, "end": { - "line": 1493, + "line": 1494, "column": 33 }, "identifierName": "countReusedGeometries" @@ -146412,15 +146578,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 55707, - "end": 55708, + "start": 56360, + "end": 56361, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 36 }, "end": { - "line": 1493, + "line": 1494, "column": 37 } }, @@ -146433,72 +146599,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 55710, - "end": 56276, + "start": 56363, + "end": 56929, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 39 }, "end": { - "line": 1506, + "line": 1507, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 55725, - "end": 55830, + "start": 56378, + "end": 56483, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 12 }, "end": { - "line": 1495, + "line": 1496, "column": 117 } }, "expression": { "type": "CallExpression", - "start": 55725, - "end": 55829, + "start": 56378, + "end": 56482, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 12 }, "end": { - "line": 1495, + "line": 1496, "column": 116 } }, "callee": { "type": "MemberExpression", - "start": 55725, - "end": 55772, + "start": 56378, + "end": 56425, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 12 }, "end": { - "line": 1495, + "line": 1496, "column": 59 } }, "object": { "type": "Identifier", - "start": 55725, - "end": 55744, + "start": 56378, + "end": 56397, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 12 }, "end": { - "line": 1495, + "line": 1496, "column": 31 }, "identifierName": "geometryCompression" @@ -146507,15 +146673,15 @@ }, "property": { "type": "Identifier", - "start": 55745, - "end": 55772, + "start": 56398, + "end": 56425, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 32 }, "end": { - "line": 1495, + "line": 1496, "column": 59 }, "identifierName": "createPositionsDecodeMatrix" @@ -146527,15 +146693,15 @@ "arguments": [ { "type": "Identifier", - "start": 55773, - "end": 55793, + "start": 56426, + "end": 56446, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 60 }, "end": { - "line": 1495, + "line": 1496, "column": 80 }, "identifierName": "reusedGeometriesAABB" @@ -146544,44 +146710,44 @@ }, { "type": "MemberExpression", - "start": 55795, - "end": 55828, + "start": 56448, + "end": 56481, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 82 }, "end": { - "line": 1495, + "line": 1496, "column": 115 } }, "object": { "type": "ThisExpression", - "start": 55795, - "end": 55799, + "start": 56448, + "end": 56452, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 82 }, "end": { - "line": 1495, + "line": 1496, "column": 86 } } }, "property": { "type": "Identifier", - "start": 55800, - "end": 55828, + "start": 56453, + "end": 56481, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 87 }, "end": { - "line": 1495, + "line": 1496, "column": 115 }, "identifierName": "reusedGeometriesDecodeMatrix" @@ -146595,58 +146761,58 @@ }, { "type": "ForStatement", - "start": 55844, - "end": 56265, + "start": 56497, + "end": 56918, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 12 }, "end": { - "line": 1504, + "line": 1505, "column": 13 } }, "init": { "type": "VariableDeclaration", - "start": 55849, - "end": 55914, + "start": 56502, + "end": 56567, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 17 }, "end": { - "line": 1497, + "line": 1498, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 55853, - "end": 55870, + "start": 56506, + "end": 56523, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 21 }, "end": { - "line": 1497, + "line": 1498, "column": 38 } }, "id": { "type": "Identifier", - "start": 55853, - "end": 55866, + "start": 56506, + "end": 56519, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 21 }, "end": { - "line": 1497, + "line": 1498, "column": 34 }, "identifierName": "geometryIndex" @@ -146655,15 +146821,15 @@ }, "init": { "type": "NumericLiteral", - "start": 55869, - "end": 55870, + "start": 56522, + "end": 56523, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 37 }, "end": { - "line": 1497, + "line": 1498, "column": 38 } }, @@ -146676,29 +146842,29 @@ }, { "type": "VariableDeclarator", - "start": 55872, - "end": 55914, + "start": 56525, + "end": 56567, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 40 }, "end": { - "line": 1497, + "line": 1498, "column": 82 } }, "id": { "type": "Identifier", - "start": 55872, - "end": 55885, + "start": 56525, + "end": 56538, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 40 }, "end": { - "line": 1497, + "line": 1498, "column": 53 }, "identifierName": "numGeometries" @@ -146707,58 +146873,58 @@ }, "init": { "type": "MemberExpression", - "start": 55888, - "end": 55914, + "start": 56541, + "end": 56567, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 56 }, "end": { - "line": 1497, + "line": 1498, "column": 82 } }, "object": { "type": "MemberExpression", - "start": 55888, - "end": 55907, + "start": 56541, + "end": 56560, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 56 }, "end": { - "line": 1497, + "line": 1498, "column": 75 } }, "object": { "type": "ThisExpression", - "start": 55888, - "end": 55892, + "start": 56541, + "end": 56545, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 56 }, "end": { - "line": 1497, + "line": 1498, "column": 60 } } }, "property": { "type": "Identifier", - "start": 55893, - "end": 55907, + "start": 56546, + "end": 56560, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 61 }, "end": { - "line": 1497, + "line": 1498, "column": 75 }, "identifierName": "geometriesList" @@ -146769,15 +146935,15 @@ }, "property": { "type": "Identifier", - "start": 55908, - "end": 55914, + "start": 56561, + "end": 56567, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 76 }, "end": { - "line": 1497, + "line": 1498, "column": 82 }, "identifierName": "length" @@ -146792,29 +146958,29 @@ }, "test": { "type": "BinaryExpression", - "start": 55916, - "end": 55945, + "start": 56569, + "end": 56598, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 84 }, "end": { - "line": 1497, + "line": 1498, "column": 113 } }, "left": { "type": "Identifier", - "start": 55916, - "end": 55929, + "start": 56569, + "end": 56582, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 84 }, "end": { - "line": 1497, + "line": 1498, "column": 97 }, "identifierName": "geometryIndex" @@ -146824,15 +146990,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 55932, - "end": 55945, + "start": 56585, + "end": 56598, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 100 }, "end": { - "line": 1497, + "line": 1498, "column": 113 }, "identifierName": "numGeometries" @@ -146842,15 +147008,15 @@ }, "update": { "type": "UpdateExpression", - "start": 55947, - "end": 55962, + "start": 56600, + "end": 56615, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 115 }, "end": { - "line": 1497, + "line": 1498, "column": 130 } }, @@ -146858,15 +147024,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 55947, - "end": 55960, + "start": 56600, + "end": 56613, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 115 }, "end": { - "line": 1497, + "line": 1498, "column": 128 }, "identifierName": "geometryIndex" @@ -146876,59 +147042,59 @@ }, "body": { "type": "BlockStatement", - "start": 55964, - "end": 56265, + "start": 56617, + "end": 56918, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 132 }, "end": { - "line": 1504, + "line": 1505, "column": 13 } }, "body": [ { "type": "VariableDeclaration", - "start": 55983, - "end": 56036, + "start": 56636, + "end": 56689, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 16 }, "end": { - "line": 1499, + "line": 1500, "column": 69 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 55989, - "end": 56035, + "start": 56642, + "end": 56688, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 22 }, "end": { - "line": 1499, + "line": 1500, "column": 68 } }, "id": { "type": "Identifier", - "start": 55989, - "end": 55997, + "start": 56642, + "end": 56650, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 22 }, "end": { - "line": 1499, + "line": 1500, "column": 30 }, "identifierName": "geometry" @@ -146937,58 +147103,58 @@ }, "init": { "type": "MemberExpression", - "start": 56000, - "end": 56035, + "start": 56653, + "end": 56688, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 33 }, "end": { - "line": 1499, + "line": 1500, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 56000, - "end": 56019, + "start": 56653, + "end": 56672, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 33 }, "end": { - "line": 1499, + "line": 1500, "column": 52 } }, "object": { "type": "ThisExpression", - "start": 56000, - "end": 56004, + "start": 56653, + "end": 56657, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 33 }, "end": { - "line": 1499, + "line": 1500, "column": 37 } } }, "property": { "type": "Identifier", - "start": 56005, - "end": 56019, + "start": 56658, + "end": 56672, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 38 }, "end": { - "line": 1499, + "line": 1500, "column": 52 }, "identifierName": "geometriesList" @@ -146999,15 +147165,15 @@ }, "property": { "type": "Identifier", - "start": 56021, - "end": 56034, + "start": 56674, + "end": 56687, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 54 }, "end": { - "line": 1499, + "line": 1500, "column": 67 }, "identifierName": "geometryIndex" @@ -147022,43 +147188,43 @@ }, { "type": "IfStatement", - "start": 56054, - "end": 56251, + "start": 56707, + "end": 56904, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 16 }, "end": { - "line": 1503, + "line": 1504, "column": 17 } }, "test": { "type": "MemberExpression", - "start": 56058, - "end": 56073, + "start": 56711, + "end": 56726, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 20 }, "end": { - "line": 1501, + "line": 1502, "column": 35 } }, "object": { "type": "Identifier", - "start": 56058, - "end": 56066, + "start": 56711, + "end": 56719, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 20 }, "end": { - "line": 1501, + "line": 1502, "column": 28 }, "identifierName": "geometry" @@ -147067,15 +147233,15 @@ }, "property": { "type": "Identifier", - "start": 56067, - "end": 56073, + "start": 56720, + "end": 56726, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 29 }, "end": { - "line": 1501, + "line": 1502, "column": 35 }, "identifierName": "reused" @@ -147086,72 +147252,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 56075, - "end": 56251, + "start": 56728, + "end": 56904, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 37 }, "end": { - "line": 1503, + "line": 1504, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 56097, - "end": 56233, + "start": 56750, + "end": 56886, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 20 }, "end": { - "line": 1502, + "line": 1503, "column": 156 } }, "expression": { "type": "CallExpression", - "start": 56097, - "end": 56232, + "start": 56750, + "end": 56885, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 20 }, "end": { - "line": 1502, + "line": 1503, "column": 155 } }, "callee": { "type": "MemberExpression", - "start": 56097, - "end": 56134, + "start": 56750, + "end": 56787, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 20 }, "end": { - "line": 1502, + "line": 1503, "column": 57 } }, "object": { "type": "Identifier", - "start": 56097, - "end": 56116, + "start": 56750, + "end": 56769, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 20 }, "end": { - "line": 1502, + "line": 1503, "column": 39 }, "identifierName": "geometryCompression" @@ -147160,15 +147326,15 @@ }, "property": { "type": "Identifier", - "start": 56117, - "end": 56134, + "start": 56770, + "end": 56787, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 40 }, "end": { - "line": 1502, + "line": 1503, "column": 57 }, "identifierName": "quantizePositions" @@ -147180,29 +147346,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 56135, - "end": 56153, + "start": 56788, + "end": 56806, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 58 }, "end": { - "line": 1502, + "line": 1503, "column": 76 } }, "object": { "type": "Identifier", - "start": 56135, - "end": 56143, + "start": 56788, + "end": 56796, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 58 }, "end": { - "line": 1502, + "line": 1503, "column": 66 }, "identifierName": "geometry" @@ -147211,15 +147377,15 @@ }, "property": { "type": "Identifier", - "start": 56144, - "end": 56153, + "start": 56797, + "end": 56806, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 67 }, "end": { - "line": 1502, + "line": 1503, "column": 76 }, "identifierName": "positions" @@ -147230,43 +147396,43 @@ }, { "type": "MemberExpression", - "start": 56155, - "end": 56180, + "start": 56808, + "end": 56833, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 78 }, "end": { - "line": 1502, + "line": 1503, "column": 103 } }, "object": { "type": "MemberExpression", - "start": 56155, - "end": 56173, + "start": 56808, + "end": 56826, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 78 }, "end": { - "line": 1502, + "line": 1503, "column": 96 } }, "object": { "type": "Identifier", - "start": 56155, - "end": 56163, + "start": 56808, + "end": 56816, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 78 }, "end": { - "line": 1502, + "line": 1503, "column": 86 }, "identifierName": "geometry" @@ -147275,15 +147441,15 @@ }, "property": { "type": "Identifier", - "start": 56164, - "end": 56173, + "start": 56817, + "end": 56826, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 87 }, "end": { - "line": 1502, + "line": 1503, "column": 96 }, "identifierName": "positions" @@ -147294,15 +147460,15 @@ }, "property": { "type": "Identifier", - "start": 56174, - "end": 56180, + "start": 56827, + "end": 56833, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 97 }, "end": { - "line": 1502, + "line": 1503, "column": 103 }, "identifierName": "length" @@ -147313,15 +147479,15 @@ }, { "type": "Identifier", - "start": 56182, - "end": 56202, + "start": 56835, + "end": 56855, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 105 }, "end": { - "line": 1502, + "line": 1503, "column": 125 }, "identifierName": "reusedGeometriesAABB" @@ -147330,29 +147496,29 @@ }, { "type": "MemberExpression", - "start": 56204, - "end": 56231, + "start": 56857, + "end": 56884, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 127 }, "end": { - "line": 1502, + "line": 1503, "column": 154 } }, "object": { "type": "Identifier", - "start": 56204, - "end": 56212, + "start": 56857, + "end": 56865, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 127 }, "end": { - "line": 1502, + "line": 1503, "column": 135 }, "identifierName": "geometry" @@ -147361,15 +147527,15 @@ }, "property": { "type": "Identifier", - "start": 56213, - "end": 56231, + "start": 56866, + "end": 56884, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 136 }, "end": { - "line": 1502, + "line": 1503, "column": 154 }, "identifierName": "positionsQuantized" @@ -147395,72 +147561,72 @@ }, "alternate": { "type": "BlockStatement", - "start": 56282, - "end": 56428, + "start": 56935, + "end": 57081, "loc": { "start": { - "line": 1506, + "line": 1507, "column": 15 }, "end": { - "line": 1508, + "line": 1509, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 56296, - "end": 56349, + "start": 56949, + "end": 57002, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 12 }, "end": { - "line": 1507, + "line": 1508, "column": 65 } }, "expression": { "type": "CallExpression", - "start": 56296, - "end": 56348, + "start": 56949, + "end": 57001, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 12 }, "end": { - "line": 1507, + "line": 1508, "column": 64 } }, "callee": { "type": "MemberExpression", - "start": 56296, - "end": 56313, + "start": 56949, + "end": 56966, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 12 }, "end": { - "line": 1507, + "line": 1508, "column": 29 } }, "object": { "type": "Identifier", - "start": 56296, - "end": 56300, + "start": 56949, + "end": 56953, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 12 }, "end": { - "line": 1507, + "line": 1508, "column": 16 }, "identifierName": "math" @@ -147469,15 +147635,15 @@ }, "property": { "type": "Identifier", - "start": 56301, - "end": 56313, + "start": 56954, + "end": 56966, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 17 }, "end": { - "line": 1507, + "line": 1508, "column": 29 }, "identifierName": "identityMat4" @@ -147489,44 +147655,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 56314, - "end": 56347, + "start": 56967, + "end": 57000, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 30 }, "end": { - "line": 1507, + "line": 1508, "column": 63 } }, "object": { "type": "ThisExpression", - "start": 56314, - "end": 56318, + "start": 56967, + "end": 56971, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 30 }, "end": { - "line": 1507, + "line": 1508, "column": 34 } } }, "property": { "type": "Identifier", - "start": 56319, - "end": 56347, + "start": 56972, + "end": 57000, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 35 }, "end": { - "line": 1507, + "line": 1508, "column": 63 }, "identifierName": "reusedGeometriesDecodeMatrix" @@ -147541,15 +147707,15 @@ { "type": "CommentLine", "value": " No need for this matrix, but we'll be tidy and set it to identity", - "start": 56350, - "end": 56418, + "start": 57003, + "end": 57071, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 66 }, "end": { - "line": 1507, + "line": 1508, "column": 134 } } @@ -147566,15 +147732,15 @@ }, { "type": "ClassMethod", - "start": 56440, - "end": 57501, + "start": 57093, + "end": 58154, "loc": { "start": { - "line": 1511, + "line": 1512, "column": 4 }, "end": { - "line": 1533, + "line": 1534, "column": 5 } }, @@ -147582,15 +147748,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 56440, - "end": 56460, + "start": 57093, + "end": 57113, "loc": { "start": { - "line": 1511, + "line": 1512, "column": 4 }, "end": { - "line": 1511, + "line": 1512, "column": 24 }, "identifierName": "_flagSolidGeometries" @@ -147605,59 +147771,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 56463, - "end": 57501, + "start": 57116, + "end": 58154, "loc": { "start": { - "line": 1511, + "line": 1512, "column": 27 }, "end": { - "line": 1533, + "line": 1534, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 56473, - "end": 56497, + "start": 57126, + "end": 57150, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 8 }, "end": { - "line": 1512, + "line": 1513, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 56477, - "end": 56496, + "start": 57130, + "end": 57149, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 12 }, "end": { - "line": 1512, + "line": 1513, "column": 31 } }, "id": { "type": "Identifier", - "start": 56477, - "end": 56492, + "start": 57130, + "end": 57145, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 12 }, "end": { - "line": 1512, + "line": 1513, "column": 27 }, "identifierName": "maxNumPositions" @@ -147666,15 +147832,15 @@ }, "init": { "type": "NumericLiteral", - "start": 56495, - "end": 56496, + "start": 57148, + "end": 57149, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 30 }, "end": { - "line": 1512, + "line": 1513, "column": 31 } }, @@ -147690,44 +147856,44 @@ }, { "type": "VariableDeclaration", - "start": 56506, - "end": 56528, + "start": 57159, + "end": 57181, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 8 }, "end": { - "line": 1513, + "line": 1514, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 56510, - "end": 56527, + "start": 57163, + "end": 57180, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 12 }, "end": { - "line": 1513, + "line": 1514, "column": 29 } }, "id": { "type": "Identifier", - "start": 56510, - "end": 56523, + "start": 57163, + "end": 57176, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 12 }, "end": { - "line": 1513, + "line": 1514, "column": 25 }, "identifierName": "maxNumIndices" @@ -147736,15 +147902,15 @@ }, "init": { "type": "NumericLiteral", - "start": 56526, - "end": 56527, + "start": 57179, + "end": 57180, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 28 }, "end": { - "line": 1513, + "line": 1514, "column": 29 } }, @@ -147760,58 +147926,58 @@ }, { "type": "ForStatement", - "start": 56537, - "end": 57047, + "start": 57190, + "end": 57700, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 8 }, "end": { - "line": 1524, + "line": 1525, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 56542, - "end": 56585, + "start": 57195, + "end": 57238, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 13 }, "end": { - "line": 1514, + "line": 1515, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 56546, - "end": 56551, + "start": 57199, + "end": 57204, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 17 }, "end": { - "line": 1514, + "line": 1515, "column": 22 } }, "id": { "type": "Identifier", - "start": 56546, - "end": 56547, + "start": 57199, + "end": 57200, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 17 }, "end": { - "line": 1514, + "line": 1515, "column": 18 }, "identifierName": "i" @@ -147820,15 +147986,15 @@ }, "init": { "type": "NumericLiteral", - "start": 56550, - "end": 56551, + "start": 57203, + "end": 57204, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 21 }, "end": { - "line": 1514, + "line": 1515, "column": 22 } }, @@ -147841,29 +148007,29 @@ }, { "type": "VariableDeclarator", - "start": 56553, - "end": 56585, + "start": 57206, + "end": 57238, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 24 }, "end": { - "line": 1514, + "line": 1515, "column": 56 } }, "id": { "type": "Identifier", - "start": 56553, - "end": 56556, + "start": 57206, + "end": 57209, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 24 }, "end": { - "line": 1514, + "line": 1515, "column": 27 }, "identifierName": "len" @@ -147872,58 +148038,58 @@ }, "init": { "type": "MemberExpression", - "start": 56559, - "end": 56585, + "start": 57212, + "end": 57238, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 30 }, "end": { - "line": 1514, + "line": 1515, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 56559, - "end": 56578, + "start": 57212, + "end": 57231, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 30 }, "end": { - "line": 1514, + "line": 1515, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 56559, - "end": 56563, + "start": 57212, + "end": 57216, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 30 }, "end": { - "line": 1514, + "line": 1515, "column": 34 } } }, "property": { "type": "Identifier", - "start": 56564, - "end": 56578, + "start": 57217, + "end": 57231, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 35 }, "end": { - "line": 1514, + "line": 1515, "column": 49 }, "identifierName": "geometriesList" @@ -147934,15 +148100,15 @@ }, "property": { "type": "Identifier", - "start": 56579, - "end": 56585, + "start": 57232, + "end": 57238, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 50 }, "end": { - "line": 1514, + "line": 1515, "column": 56 }, "identifierName": "length" @@ -147957,29 +148123,29 @@ }, "test": { "type": "BinaryExpression", - "start": 56587, - "end": 56594, + "start": 57240, + "end": 57247, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 58 }, "end": { - "line": 1514, + "line": 1515, "column": 65 } }, "left": { "type": "Identifier", - "start": 56587, - "end": 56588, + "start": 57240, + "end": 57241, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 58 }, "end": { - "line": 1514, + "line": 1515, "column": 59 }, "identifierName": "i" @@ -147989,15 +148155,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 56591, - "end": 56594, + "start": 57244, + "end": 57247, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 62 }, "end": { - "line": 1514, + "line": 1515, "column": 65 }, "identifierName": "len" @@ -148007,15 +148173,15 @@ }, "update": { "type": "UpdateExpression", - "start": 56596, - "end": 56599, + "start": 57249, + "end": 57252, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 67 }, "end": { - "line": 1514, + "line": 1515, "column": 70 } }, @@ -148023,15 +148189,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 56596, - "end": 56597, + "start": 57249, + "end": 57250, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 67 }, "end": { - "line": 1514, + "line": 1515, "column": 68 }, "identifierName": "i" @@ -148041,59 +148207,59 @@ }, "body": { "type": "BlockStatement", - "start": 56601, - "end": 57047, + "start": 57254, + "end": 57700, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 72 }, "end": { - "line": 1524, + "line": 1525, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 56615, - "end": 56655, + "start": 57268, + "end": 57308, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 12 }, "end": { - "line": 1515, + "line": 1516, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 56621, - "end": 56654, + "start": 57274, + "end": 57307, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 18 }, "end": { - "line": 1515, + "line": 1516, "column": 51 } }, "id": { "type": "Identifier", - "start": 56621, - "end": 56629, + "start": 57274, + "end": 57282, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 18 }, "end": { - "line": 1515, + "line": 1516, "column": 26 }, "identifierName": "geometry" @@ -148102,58 +148268,58 @@ }, "init": { "type": "MemberExpression", - "start": 56632, - "end": 56654, + "start": 57285, + "end": 57307, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 29 }, "end": { - "line": 1515, + "line": 1516, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 56632, - "end": 56651, + "start": 57285, + "end": 57304, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 29 }, "end": { - "line": 1515, + "line": 1516, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 56632, - "end": 56636, + "start": 57285, + "end": 57289, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 29 }, "end": { - "line": 1515, + "line": 1516, "column": 33 } } }, "property": { "type": "Identifier", - "start": 56637, - "end": 56651, + "start": 57290, + "end": 57304, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 34 }, "end": { - "line": 1515, + "line": 1516, "column": 48 }, "identifierName": "geometriesList" @@ -148164,15 +148330,15 @@ }, "property": { "type": "Identifier", - "start": 56652, - "end": 56653, + "start": 57305, + "end": 57306, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 49 }, "end": { - "line": 1515, + "line": 1516, "column": 50 }, "identifierName": "i" @@ -148187,57 +148353,57 @@ }, { "type": "IfStatement", - "start": 56668, - "end": 57037, + "start": 57321, + "end": 57690, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 12 }, "end": { - "line": 1523, + "line": 1524, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 56672, - "end": 56710, + "start": 57325, + "end": 57363, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 16 }, "end": { - "line": 1516, + "line": 1517, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 56672, - "end": 56694, + "start": 57325, + "end": 57347, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 16 }, "end": { - "line": 1516, + "line": 1517, "column": 38 } }, "object": { "type": "Identifier", - "start": 56672, - "end": 56680, + "start": 57325, + "end": 57333, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 16 }, "end": { - "line": 1516, + "line": 1517, "column": 24 }, "identifierName": "geometry" @@ -148246,15 +148412,15 @@ }, "property": { "type": "Identifier", - "start": 56681, - "end": 56694, + "start": 57334, + "end": 57347, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 25 }, "end": { - "line": 1516, + "line": 1517, "column": 38 }, "identifierName": "primitiveType" @@ -148266,15 +148432,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 56699, - "end": 56710, + "start": 57352, + "end": 57363, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 43 }, "end": { - "line": 1516, + "line": 1517, "column": 54 } }, @@ -148287,86 +148453,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 56712, - "end": 57037, + "start": 57365, + "end": 57690, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 56 }, "end": { - "line": 1523, + "line": 1524, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 56730, - "end": 56881, + "start": 57383, + "end": 57534, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 16 }, "end": { - "line": 1519, + "line": 1520, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 56734, - "end": 56786, + "start": 57387, + "end": 57439, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 20 }, "end": { - "line": 1517, + "line": 1518, "column": 72 } }, "left": { "type": "MemberExpression", - "start": 56734, - "end": 56768, + "start": 57387, + "end": 57421, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 20 }, "end": { - "line": 1517, + "line": 1518, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 56734, - "end": 56761, + "start": 57387, + "end": 57414, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 20 }, "end": { - "line": 1517, + "line": 1518, "column": 47 } }, "object": { "type": "Identifier", - "start": 56734, - "end": 56742, + "start": 57387, + "end": 57395, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 20 }, "end": { - "line": 1517, + "line": 1518, "column": 28 }, "identifierName": "geometry" @@ -148375,15 +148541,15 @@ }, "property": { "type": "Identifier", - "start": 56743, - "end": 56761, + "start": 57396, + "end": 57414, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 29 }, "end": { - "line": 1517, + "line": 1518, "column": 47 }, "identifierName": "positionsQuantized" @@ -148394,15 +148560,15 @@ }, "property": { "type": "Identifier", - "start": 56762, - "end": 56768, + "start": 57415, + "end": 57421, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 48 }, "end": { - "line": 1517, + "line": 1518, "column": 54 }, "identifierName": "length" @@ -148414,15 +148580,15 @@ "operator": ">", "right": { "type": "Identifier", - "start": 56771, - "end": 56786, + "start": 57424, + "end": 57439, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 57 }, "end": { - "line": 1517, + "line": 1518, "column": 72 }, "identifierName": "maxNumPositions" @@ -148432,59 +148598,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 56788, - "end": 56881, + "start": 57441, + "end": 57534, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 74 }, "end": { - "line": 1519, + "line": 1520, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 56810, - "end": 56863, + "start": 57463, + "end": 57516, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 20 }, "end": { - "line": 1518, + "line": 1519, "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 56810, - "end": 56862, + "start": 57463, + "end": 57515, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 20 }, "end": { - "line": 1518, + "line": 1519, "column": 72 } }, "operator": "=", "left": { "type": "Identifier", - "start": 56810, - "end": 56825, + "start": 57463, + "end": 57478, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 20 }, "end": { - "line": 1518, + "line": 1519, "column": 35 }, "identifierName": "maxNumPositions" @@ -148493,43 +148659,43 @@ }, "right": { "type": "MemberExpression", - "start": 56828, - "end": 56862, + "start": 57481, + "end": 57515, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 38 }, "end": { - "line": 1518, + "line": 1519, "column": 72 } }, "object": { "type": "MemberExpression", - "start": 56828, - "end": 56855, + "start": 57481, + "end": 57508, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 38 }, "end": { - "line": 1518, + "line": 1519, "column": 65 } }, "object": { "type": "Identifier", - "start": 56828, - "end": 56836, + "start": 57481, + "end": 57489, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 38 }, "end": { - "line": 1518, + "line": 1519, "column": 46 }, "identifierName": "geometry" @@ -148538,15 +148704,15 @@ }, "property": { "type": "Identifier", - "start": 56837, - "end": 56855, + "start": 57490, + "end": 57508, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 47 }, "end": { - "line": 1518, + "line": 1519, "column": 65 }, "identifierName": "positionsQuantized" @@ -148557,15 +148723,15 @@ }, "property": { "type": "Identifier", - "start": 56856, - "end": 56862, + "start": 57509, + "end": 57515, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 66 }, "end": { - "line": 1518, + "line": 1519, "column": 72 }, "identifierName": "length" @@ -148583,71 +148749,71 @@ }, { "type": "IfStatement", - "start": 56898, - "end": 57023, + "start": 57551, + "end": 57676, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 16 }, "end": { - "line": 1522, + "line": 1523, "column": 17 } }, "test": { "type": "BinaryExpression", - "start": 56902, - "end": 56941, + "start": 57555, + "end": 57594, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 20 }, "end": { - "line": 1520, + "line": 1521, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 56902, - "end": 56925, + "start": 57555, + "end": 57578, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 20 }, "end": { - "line": 1520, + "line": 1521, "column": 43 } }, "object": { "type": "MemberExpression", - "start": 56902, - "end": 56918, + "start": 57555, + "end": 57571, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 20 }, "end": { - "line": 1520, + "line": 1521, "column": 36 } }, "object": { "type": "Identifier", - "start": 56902, - "end": 56910, + "start": 57555, + "end": 57563, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 20 }, "end": { - "line": 1520, + "line": 1521, "column": 28 }, "identifierName": "geometry" @@ -148656,15 +148822,15 @@ }, "property": { "type": "Identifier", - "start": 56911, - "end": 56918, + "start": 57564, + "end": 57571, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 29 }, "end": { - "line": 1520, + "line": 1521, "column": 36 }, "identifierName": "indices" @@ -148675,15 +148841,15 @@ }, "property": { "type": "Identifier", - "start": 56919, - "end": 56925, + "start": 57572, + "end": 57578, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 37 }, "end": { - "line": 1520, + "line": 1521, "column": 43 }, "identifierName": "length" @@ -148695,15 +148861,15 @@ "operator": ">", "right": { "type": "Identifier", - "start": 56928, - "end": 56941, + "start": 57581, + "end": 57594, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 46 }, "end": { - "line": 1520, + "line": 1521, "column": 59 }, "identifierName": "maxNumIndices" @@ -148713,59 +148879,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 56943, - "end": 57023, + "start": 57596, + "end": 57676, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 61 }, "end": { - "line": 1522, + "line": 1523, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 56965, - "end": 57005, + "start": 57618, + "end": 57658, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 20 }, "end": { - "line": 1521, + "line": 1522, "column": 60 } }, "expression": { "type": "AssignmentExpression", - "start": 56965, - "end": 57004, + "start": 57618, + "end": 57657, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 20 }, "end": { - "line": 1521, + "line": 1522, "column": 59 } }, "operator": "=", "left": { "type": "Identifier", - "start": 56965, - "end": 56978, + "start": 57618, + "end": 57631, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 20 }, "end": { - "line": 1521, + "line": 1522, "column": 33 }, "identifierName": "maxNumIndices" @@ -148774,43 +148940,43 @@ }, "right": { "type": "MemberExpression", - "start": 56981, - "end": 57004, + "start": 57634, + "end": 57657, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 36 }, "end": { - "line": 1521, + "line": 1522, "column": 59 } }, "object": { "type": "MemberExpression", - "start": 56981, - "end": 56997, + "start": 57634, + "end": 57650, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 36 }, "end": { - "line": 1521, + "line": 1522, "column": 52 } }, "object": { "type": "Identifier", - "start": 56981, - "end": 56989, + "start": 57634, + "end": 57642, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 36 }, "end": { - "line": 1521, + "line": 1522, "column": 44 }, "identifierName": "geometry" @@ -148819,15 +148985,15 @@ }, "property": { "type": "Identifier", - "start": 56990, - "end": 56997, + "start": 57643, + "end": 57650, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 45 }, "end": { - "line": 1521, + "line": 1522, "column": 52 }, "identifierName": "indices" @@ -148838,15 +149004,15 @@ }, "property": { "type": "Identifier", - "start": 56998, - "end": 57004, + "start": 57651, + "end": 57657, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 53 }, "end": { - "line": 1521, + "line": 1522, "column": 59 }, "identifierName": "length" @@ -148873,44 +149039,44 @@ }, { "type": "VariableDeclaration", - "start": 57056, - "end": 57112, + "start": 57709, + "end": 57765, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 8 }, "end": { - "line": 1525, + "line": 1526, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 57060, - "end": 57111, + "start": 57713, + "end": 57764, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 12 }, "end": { - "line": 1525, + "line": 1526, "column": 63 } }, "id": { "type": "Identifier", - "start": 57060, - "end": 57078, + "start": 57713, + "end": 57731, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 12 }, "end": { - "line": 1525, + "line": 1526, "column": 30 }, "identifierName": "vertexIndexMapping" @@ -148919,29 +149085,29 @@ }, "init": { "type": "NewExpression", - "start": 57081, - "end": 57111, + "start": 57734, + "end": 57764, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 33 }, "end": { - "line": 1525, + "line": 1526, "column": 63 } }, "callee": { "type": "Identifier", - "start": 57085, - "end": 57090, + "start": 57738, + "end": 57743, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 37 }, "end": { - "line": 1525, + "line": 1526, "column": 42 }, "identifierName": "Array" @@ -148951,29 +149117,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 57091, - "end": 57110, + "start": 57744, + "end": 57763, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 43 }, "end": { - "line": 1525, + "line": 1526, "column": 62 } }, "left": { "type": "Identifier", - "start": 57091, - "end": 57106, + "start": 57744, + "end": 57759, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 43 }, "end": { - "line": 1525, + "line": 1526, "column": 58 }, "identifierName": "maxNumPositions" @@ -148983,15 +149149,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 57109, - "end": 57110, + "start": 57762, + "end": 57763, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 61 }, "end": { - "line": 1525, + "line": 1526, "column": 62 } }, @@ -149010,44 +149176,44 @@ }, { "type": "VariableDeclaration", - "start": 57121, - "end": 57158, + "start": 57774, + "end": 57811, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 8 }, "end": { - "line": 1526, + "line": 1527, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 57125, - "end": 57157, + "start": 57778, + "end": 57810, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 12 }, "end": { - "line": 1526, + "line": 1527, "column": 44 } }, "id": { "type": "Identifier", - "start": 57125, - "end": 57130, + "start": 57778, + "end": 57783, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 12 }, "end": { - "line": 1526, + "line": 1527, "column": 17 }, "identifierName": "edges" @@ -149056,29 +149222,29 @@ }, "init": { "type": "NewExpression", - "start": 57133, - "end": 57157, + "start": 57786, + "end": 57810, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 20 }, "end": { - "line": 1526, + "line": 1527, "column": 44 } }, "callee": { "type": "Identifier", - "start": 57137, - "end": 57142, + "start": 57790, + "end": 57795, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 24 }, "end": { - "line": 1526, + "line": 1527, "column": 29 }, "identifierName": "Array" @@ -149088,15 +149254,15 @@ "arguments": [ { "type": "Identifier", - "start": 57143, - "end": 57156, + "start": 57796, + "end": 57809, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 30 }, "end": { - "line": 1526, + "line": 1527, "column": 43 }, "identifierName": "maxNumIndices" @@ -149111,58 +149277,58 @@ }, { "type": "ForStatement", - "start": 57167, - "end": 57495, + "start": 57820, + "end": 58148, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 8 }, "end": { - "line": 1532, + "line": 1533, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 57172, - "end": 57215, + "start": 57825, + "end": 57868, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 13 }, "end": { - "line": 1527, + "line": 1528, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 57176, - "end": 57181, + "start": 57829, + "end": 57834, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 17 }, "end": { - "line": 1527, + "line": 1528, "column": 22 } }, "id": { "type": "Identifier", - "start": 57176, - "end": 57177, + "start": 57829, + "end": 57830, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 17 }, "end": { - "line": 1527, + "line": 1528, "column": 18 }, "identifierName": "i" @@ -149171,15 +149337,15 @@ }, "init": { "type": "NumericLiteral", - "start": 57180, - "end": 57181, + "start": 57833, + "end": 57834, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 21 }, "end": { - "line": 1527, + "line": 1528, "column": 22 } }, @@ -149192,29 +149358,29 @@ }, { "type": "VariableDeclarator", - "start": 57183, - "end": 57215, + "start": 57836, + "end": 57868, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 24 }, "end": { - "line": 1527, + "line": 1528, "column": 56 } }, "id": { "type": "Identifier", - "start": 57183, - "end": 57186, + "start": 57836, + "end": 57839, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 24 }, "end": { - "line": 1527, + "line": 1528, "column": 27 }, "identifierName": "len" @@ -149223,58 +149389,58 @@ }, "init": { "type": "MemberExpression", - "start": 57189, - "end": 57215, + "start": 57842, + "end": 57868, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 30 }, "end": { - "line": 1527, + "line": 1528, "column": 56 } }, "object": { "type": "MemberExpression", - "start": 57189, - "end": 57208, + "start": 57842, + "end": 57861, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 30 }, "end": { - "line": 1527, + "line": 1528, "column": 49 } }, "object": { "type": "ThisExpression", - "start": 57189, - "end": 57193, + "start": 57842, + "end": 57846, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 30 }, "end": { - "line": 1527, + "line": 1528, "column": 34 } } }, "property": { "type": "Identifier", - "start": 57194, - "end": 57208, + "start": 57847, + "end": 57861, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 35 }, "end": { - "line": 1527, + "line": 1528, "column": 49 }, "identifierName": "geometriesList" @@ -149285,15 +149451,15 @@ }, "property": { "type": "Identifier", - "start": 57209, - "end": 57215, + "start": 57862, + "end": 57868, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 50 }, "end": { - "line": 1527, + "line": 1528, "column": 56 }, "identifierName": "length" @@ -149308,29 +149474,29 @@ }, "test": { "type": "BinaryExpression", - "start": 57217, - "end": 57224, + "start": 57870, + "end": 57877, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 58 }, "end": { - "line": 1527, + "line": 1528, "column": 65 } }, "left": { "type": "Identifier", - "start": 57217, - "end": 57218, + "start": 57870, + "end": 57871, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 58 }, "end": { - "line": 1527, + "line": 1528, "column": 59 }, "identifierName": "i" @@ -149340,15 +149506,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 57221, - "end": 57224, + "start": 57874, + "end": 57877, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 62 }, "end": { - "line": 1527, + "line": 1528, "column": 65 }, "identifierName": "len" @@ -149358,15 +149524,15 @@ }, "update": { "type": "UpdateExpression", - "start": 57226, - "end": 57229, + "start": 57879, + "end": 57882, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 67 }, "end": { - "line": 1527, + "line": 1528, "column": 70 } }, @@ -149374,15 +149540,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 57226, - "end": 57227, + "start": 57879, + "end": 57880, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 67 }, "end": { - "line": 1527, + "line": 1528, "column": 68 }, "identifierName": "i" @@ -149392,59 +149558,59 @@ }, "body": { "type": "BlockStatement", - "start": 57231, - "end": 57495, + "start": 57884, + "end": 58148, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 72 }, "end": { - "line": 1532, + "line": 1533, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 57245, - "end": 57285, + "start": 57898, + "end": 57938, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 12 }, "end": { - "line": 1528, + "line": 1529, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 57251, - "end": 57284, + "start": 57904, + "end": 57937, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 18 }, "end": { - "line": 1528, + "line": 1529, "column": 51 } }, "id": { "type": "Identifier", - "start": 57251, - "end": 57259, + "start": 57904, + "end": 57912, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 18 }, "end": { - "line": 1528, + "line": 1529, "column": 26 }, "identifierName": "geometry" @@ -149453,58 +149619,58 @@ }, "init": { "type": "MemberExpression", - "start": 57262, - "end": 57284, + "start": 57915, + "end": 57937, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 29 }, "end": { - "line": 1528, + "line": 1529, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 57262, - "end": 57281, + "start": 57915, + "end": 57934, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 29 }, "end": { - "line": 1528, + "line": 1529, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 57262, - "end": 57266, + "start": 57915, + "end": 57919, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 29 }, "end": { - "line": 1528, + "line": 1529, "column": 33 } } }, "property": { "type": "Identifier", - "start": 57267, - "end": 57281, + "start": 57920, + "end": 57934, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 34 }, "end": { - "line": 1528, + "line": 1529, "column": 48 }, "identifierName": "geometriesList" @@ -149515,15 +149681,15 @@ }, "property": { "type": "Identifier", - "start": 57282, - "end": 57283, + "start": 57935, + "end": 57936, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 49 }, "end": { - "line": 1528, + "line": 1529, "column": 50 }, "identifierName": "i" @@ -149538,57 +149704,57 @@ }, { "type": "IfStatement", - "start": 57298, - "end": 57485, + "start": 57951, + "end": 58138, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 12 }, "end": { - "line": 1531, + "line": 1532, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 57302, - "end": 57340, + "start": 57955, + "end": 57993, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 16 }, "end": { - "line": 1529, + "line": 1530, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 57302, - "end": 57324, + "start": 57955, + "end": 57977, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 16 }, "end": { - "line": 1529, + "line": 1530, "column": 38 } }, "object": { "type": "Identifier", - "start": 57302, - "end": 57310, + "start": 57955, + "end": 57963, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 16 }, "end": { - "line": 1529, + "line": 1530, "column": 24 }, "identifierName": "geometry" @@ -149597,15 +149763,15 @@ }, "property": { "type": "Identifier", - "start": 57311, - "end": 57324, + "start": 57964, + "end": 57977, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 25 }, "end": { - "line": 1529, + "line": 1530, "column": 38 }, "identifierName": "primitiveType" @@ -149617,15 +149783,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 57329, - "end": 57340, + "start": 57982, + "end": 57993, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 43 }, "end": { - "line": 1529, + "line": 1530, "column": 54 } }, @@ -149638,73 +149804,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 57342, - "end": 57485, + "start": 57995, + "end": 58138, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 56 }, "end": { - "line": 1531, + "line": 1532, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 57360, - "end": 57471, + "start": 58013, + "end": 58124, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 16 }, "end": { - "line": 1530, + "line": 1531, "column": 127 } }, "expression": { "type": "AssignmentExpression", - "start": 57360, - "end": 57470, + "start": 58013, + "end": 58123, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 16 }, "end": { - "line": 1530, + "line": 1531, "column": 126 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 57360, - "end": 57374, + "start": 58013, + "end": 58027, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 16 }, "end": { - "line": 1530, + "line": 1531, "column": 30 } }, "object": { "type": "Identifier", - "start": 57360, - "end": 57368, + "start": 58013, + "end": 58021, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 16 }, "end": { - "line": 1530, + "line": 1531, "column": 24 }, "identifierName": "geometry" @@ -149713,15 +149879,15 @@ }, "property": { "type": "Identifier", - "start": 57369, - "end": 57374, + "start": 58022, + "end": 58027, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 25 }, "end": { - "line": 1530, + "line": 1531, "column": 30 }, "identifierName": "solid" @@ -149732,29 +149898,29 @@ }, "right": { "type": "CallExpression", - "start": 57377, - "end": 57470, + "start": 58030, + "end": 58123, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 33 }, "end": { - "line": 1530, + "line": 1531, "column": 126 } }, "callee": { "type": "Identifier", - "start": 57377, - "end": 57396, + "start": 58030, + "end": 58049, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 33 }, "end": { - "line": 1530, + "line": 1531, "column": 52 }, "identifierName": "isTriangleMeshSolid" @@ -149764,29 +149930,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 57397, - "end": 57413, + "start": 58050, + "end": 58066, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 53 }, "end": { - "line": 1530, + "line": 1531, "column": 69 } }, "object": { "type": "Identifier", - "start": 57397, - "end": 57405, + "start": 58050, + "end": 58058, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 53 }, "end": { - "line": 1530, + "line": 1531, "column": 61 }, "identifierName": "geometry" @@ -149795,15 +149961,15 @@ }, "property": { "type": "Identifier", - "start": 57406, - "end": 57413, + "start": 58059, + "end": 58066, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 62 }, "end": { - "line": 1530, + "line": 1531, "column": 69 }, "identifierName": "indices" @@ -149814,29 +149980,29 @@ }, { "type": "MemberExpression", - "start": 57415, - "end": 57442, + "start": 58068, + "end": 58095, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 71 }, "end": { - "line": 1530, + "line": 1531, "column": 98 } }, "object": { "type": "Identifier", - "start": 57415, - "end": 57423, + "start": 58068, + "end": 58076, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 71 }, "end": { - "line": 1530, + "line": 1531, "column": 79 }, "identifierName": "geometry" @@ -149845,15 +150011,15 @@ }, "property": { "type": "Identifier", - "start": 57424, - "end": 57442, + "start": 58077, + "end": 58095, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 80 }, "end": { - "line": 1530, + "line": 1531, "column": 98 }, "identifierName": "positionsQuantized" @@ -149864,15 +150030,15 @@ }, { "type": "Identifier", - "start": 57444, - "end": 57462, + "start": 58097, + "end": 58115, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 100 }, "end": { - "line": 1530, + "line": 1531, "column": 118 }, "identifierName": "vertexIndexMapping" @@ -149881,15 +150047,15 @@ }, { "type": "Identifier", - "start": 57464, - "end": 57469, + "start": 58117, + "end": 58122, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 120 }, "end": { - "line": 1530, + "line": 1531, "column": 125 }, "identifierName": "edges" @@ -150507,8 +150673,8 @@ { "type": "CommentLine", "value": " console.error(\"XKTPropertySet already exists with this ID: \" + params.propertySetId);", - "start": 13017, - "end": 13114, + "start": 13104, + "end": 13201, "loc": { "start": { "line": 411, @@ -150523,8 +150689,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMetaObject} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.metaObjectId Unique ID for the {@link XKTMetaObject}.\n * @param {String} params.propertySetIds ID of one or more property sets that contains additional metadata about\n * this {@link XKTMetaObject}. The property sets could be stored externally (ie not managed at all by the XKT file),\n * or could be {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n * @param {String} [params.metaObjectType=\"default\"] A meta type for the {@link XKTMetaObject}. Can be anything,\n * but is usually an IFC type, such as \"IfcSite\" or \"IfcWall\".\n * @param {String} [params.metaObjectName] Human-readable name for the {@link XKTMetaObject}. Defaults to the ````metaObjectId```` parameter.\n * @param {String} [params.parentMetaObjectId] ID of the parent {@link XKTMetaObject}, if any. Defaults to the ````metaObjectId```` parameter.\n * @returns {XKTMetaObject} The new {@link XKTMetaObject}.\n ", - "start": 13655, - "end": 14834, + "start": 13742, + "end": 14921, "loc": { "start": { "line": 428, @@ -150539,8 +150705,8 @@ { "type": "CommentLine", "value": " console.error(\"XKTMetaObject already exists with this ID: \" + params.metaObjectId);", - "start": 15316, - "end": 15411, + "start": 15459, + "end": 15554, "loc": { "start": { "line": 460, @@ -150555,8 +150721,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTexture} within this XKTModel.\n *\n * Registers the new {@link XKTTexture} in {@link XKTModel#textures} and {@link XKTModel#texturesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureId Unique ID for the {@link XKTTexture}.\n * @param {String} [params.src] Source of an image file for the texture.\n * @param {Buffer} [params.imageData] Image data for the texture.\n * @param {Number} [params.mediaType] Media type (ie. MIME type) of ````imageData````. Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n * @param {Number} [params.width] Texture width, used with ````imageData````. Ignored for compressed textures.\n * @param {Number} [params.height] Texture height, used with ````imageData````. Ignored for compressed textures.\n * @param {Boolean} [params.compressed=true] Whether to compress the texture.\n * @param {Number} [params.minFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers less than one pixel. Supported\n * values are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter}, {@link NearestMipMapNearestFilter},\n * {@link NearestMipMapLinearFilter} and {@link LinearMipMapLinearFilter}. Ignored for compressed textures.\n * @param {Number} [params.magFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}. Ignored for compressed textures.\n * @param {Number} [params.wrapS=RepeatWrapping] Wrap parameter for texture coordinate *S*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @param {Number} [params.wrapT=RepeatWrapping] Wrap parameter for texture coordinate *T*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * {@param {Number} [params.wrapR=RepeatWrapping] Wrap parameter for texture coordinate *R*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @returns {XKTTexture} The new {@link XKTTexture}.\n ", - "start": 16174, - "end": 18662, + "start": 16317, + "end": 18805, "loc": { "start": { "line": 484, @@ -150571,8 +150737,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTextureSet} within this XKTModel.\n *\n * Registers the new {@link XKTTextureSet} in {@link XKTModel#textureSets} and {@link XKTModel#.textureSetsList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureSetId Unique ID for the {@link XKTTextureSet}.\n * @param {*} [params.colorTextureId] ID of *RGBA* base color {@link XKTTexture}, with color in *RGB* and alpha in *A*.\n * @param {*} [params.metallicRoughnessTextureId] ID of *RGBA* metal-roughness {@link XKTTexture}, with the metallic factor in *R*, and roughness factor in *G*.\n * @param {*} [params.normalsTextureId] ID of *RGBA* normal {@link XKTTexture}, with normal map vectors in *RGB*.\n * @param {*} [params.emissiveTextureId] ID of *RGBA* emissive {@link XKTTexture}, with emissive color in *RGB*.\n * @param {*} [params.occlusionTextureId] ID of *RGBA* occlusion {@link XKTTexture}, with occlusion factor in *R*.\n * @returns {XKTTextureSet} The new {@link XKTTextureSet}.\n ", - "start": 20375, - "end": 21526, + "start": 20593, + "end": 21744, "loc": { "start": { "line": 567, @@ -150587,8 +150753,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTGeometry} within this XKTModel.\n *\n * Registers the new {@link XKTGeometry} in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.geometryId Unique ID for the {@link XKTGeometry}.\n * @param {String} params.primitiveType The type of {@link XKTGeometry}: \"triangles\", \"lines\" or \"points\".\n * @param {Float64Array} params.positions Floating-point Local-space vertex positions for the {@link XKTGeometry}. Required for all primitive types.\n * @param {Number[]} [params.normals] Floating-point vertex normals for the {@link XKTGeometry}. Only used with triangles primitives. Ignored for points and lines.\n * @param {Number[]} [params.colors] Floating-point RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.uvs] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uv````.\n * @param {Number[]} [params.uv] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uvs````.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Uint32Array} [params.indices] Indices for the {@link XKTGeometry}. Required for triangles and lines primitives. Ignored for points.\n * @param {Number} [params.edgeThreshold=10]\n * @returns {XKTGeometry} The new {@link XKTGeometry}.\n ", - "start": 24978, - "end": 26864, + "start": 25252, + "end": 27138, "loc": { "start": { "line": 669, @@ -150603,15 +150769,15 @@ { "type": "CommentLine", "value": " May modify in #finalize", - "start": 29193, - "end": 29219, + "start": 29708, + "end": 29734, "loc": { "start": { - "line": 753, + "line": 754, "column": 62 }, "end": { - "line": 753, + "line": 754, "column": 88 } } @@ -150619,15 +150785,15 @@ { "type": "CommentLine", "value": " Building models often duplicate positions to allow face-aligned vertex normals; when we're not", - "start": 30588, - "end": 30685, + "start": 31103, + "end": 31200, "loc": { "start": { - "line": 796, + "line": 797, "column": 16 }, "end": { - "line": 796, + "line": 797, "column": 113 } } @@ -150635,15 +150801,15 @@ { "type": "CommentLine", "value": " providing normals for a geometry, it becomes possible to merge duplicate vertex positions within it.", - "start": 30702, - "end": 30805, + "start": 31217, + "end": 31320, "loc": { "start": { - "line": 797, + "line": 798, "column": 16 }, "end": { - "line": 797, + "line": 798, "column": 119 } } @@ -150651,15 +150817,15 @@ { "type": "CommentLine", "value": " TODO: Make vertex merging also merge normals?", - "start": 30823, - "end": 30871, + "start": 31338, + "end": 31386, "loc": { "start": { - "line": 799, + "line": 800, "column": 16 }, "end": { - "line": 799, + "line": 800, "column": 64 } } @@ -150667,15 +150833,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMesh} within this XKTModel.\n *\n * An {@link XKTMesh} can be owned by one {@link XKTEntity}, which can own multiple {@link XKTMesh}es.\n *\n * Registers the new {@link XKTMesh} in {@link XKTModel#meshes} and {@link XKTModel#meshesList}.\n *\n * @param {*} params Method parameters.\n * @param {Number} params.meshId Unique ID for the {@link XKTMesh}.\n * @param {Number} params.geometryId ID of an existing {@link XKTGeometry} in {@link XKTModel#geometries}.\n * @param {Number} [params.textureSetId] Unique ID of an {@link XKTTextureSet} in {@link XKTModel#textureSets}.\n * @param {Float32Array} params.color RGB color for the {@link XKTMesh}, with each color component in range [0..1].\n * @param {Number} [params.metallic=0] How metallic the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully dielectric material, while ````1```` indicates fully metallic.\n * @param {Number} [params.roughness=1] How rough the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully smooth, while ````1```` indicates fully rough.\n * @param {Number} params.opacity Opacity factor for the {@link XKTMesh}, in range [0..1].\n * @param {Float64Array} [params.matrix] Modeling matrix for the {@link XKTMesh}. Overrides ````position````, ````scale```` and ````rotation```` parameters.\n * @param {Number[]} [params.position=[0,0,0]] Position of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.scale=[1,1,1]] Scale of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.rotation=[0,0,0]] Rotation of the {@link XKTMesh} as Euler angles given in degrees, for each of the X, Y and Z axis. Overridden by the ````matrix```` parameter.\n * @returns {XKTMesh} The new {@link XKTMesh}.\n ", - "start": 31770, - "end": 33656, + "start": 32285, + "end": 34171, "loc": { "start": { - "line": 827, + "line": 828, "column": 4 }, "end": { - "line": 847, + "line": 848, "column": 7 } } @@ -150683,15 +150849,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTEntity} within this XKTModel.\n *\n * Registers the new {@link XKTEntity} in {@link XKTModel#entities} and {@link XKTModel#entitiesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.entityId Unique ID for the {@link XKTEntity}.\n * @param {String[]} params.meshIds IDs of {@link XKTMesh}es used by the {@link XKTEntity}. Note that each {@link XKTMesh} can only be used by one {@link XKTEntity}.\n * @returns {XKTEntity} The new {@link XKTEntity}.\n ", - "start": 35868, - "end": 36515, + "start": 36449, + "end": 37096, "loc": { "start": { - "line": 924, + "line": 925, "column": 4 }, "end": { - "line": 935, + "line": 936, "column": 7 } } @@ -150699,15 +150865,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a default {@link XKTMetaObject} for each {@link XKTEntity} that does not already have one.\n ", - "start": 38431, - "end": 38548, + "start": 39084, + "end": 39201, "loc": { "start": { - "line": 1003, + "line": 1004, "column": 4 }, "end": { - "line": 1005, + "line": 1006, "column": 7 } } @@ -150715,15 +150881,15 @@ { "type": "CommentBlock", "value": "*\n * Finalizes this XKTModel.\n *\n * After finalizing, we may then serialize the model to an array buffer using {@link writeXKTModelToArrayBuffer}.\n *\n * Logs error and does nothing if this XKTModel has already been finalized.\n *\n * Internally, this method:\n *\n * * for each {@link XKTEntity} that doesn't already have a {@link XKTMetaObject}, creates one with {@link XKTMetaObject#metaObjectType} set to \"default\"\n * * sets each {@link XKTEntity}'s {@link XKTEntity#hasReusedGeometries} true if it shares its {@link XKTGeometry}s with other {@link XKTEntity}s,\n * * creates each {@link XKTEntity}'s {@link XKTEntity#aabb},\n * * creates {@link XKTTile}s in {@link XKTModel#tilesList}, and\n * * sets {@link XKTModel#finalized} ````true````.\n ", - "start": 39481, - "end": 40281, + "start": 40134, + "end": 40934, "loc": { "start": { - "line": 1034, + "line": 1035, "column": 4 }, "end": { - "line": 1048, + "line": 1049, "column": 7 } } @@ -150731,15 +150897,15 @@ { "type": "CommentLine", "value": " XKTTexture created with XKTModel#createTexture({ src: ... })", - "start": 41960, - "end": 42023, + "start": 42613, + "end": 42676, "loc": { "start": { - "line": 1109, + "line": 1110, "column": 20 }, "end": { - "line": 1109, + "line": 1110, "column": 83 } } @@ -150747,15 +150913,15 @@ { "type": "CommentLine", "value": " XKTTexture created with XKTModel#createTexture({ imageData: ... })", - "start": 44341, - "end": 44410, + "start": 44994, + "end": 45063, "loc": { "start": { - "line": 1158, + "line": 1159, "column": 20 }, "end": { - "line": 1158, + "line": 1159, "column": 89 } } @@ -150763,15 +150929,15 @@ { "type": "CommentLine", "value": " Pre-known uber AABB", - "start": 48967, - "end": 48989, + "start": 49620, + "end": 49642, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 35 }, "end": { - "line": 1286, + "line": 1287, "column": 57 } } @@ -150779,15 +150945,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a tile from the given entities.\n *\n * For each single-use {@link XKTGeometry}, this method centers {@link XKTGeometry#positions} to make them relative to the\n * tile's center, then quantizes the positions to unsigned 16-bit integers, relative to the tile's boundary.\n *\n * @param kdNode\n ", - "start": 52081, - "end": 52414, + "start": 52734, + "end": 53067, "loc": { "start": { - "line": 1389, + "line": 1390, "column": 4 }, "end": { - "line": 1396, + "line": 1397, "column": 7 } } @@ -150795,15 +150961,15 @@ { "type": "CommentLine", "value": " AABB centered at the RTC origin", - "start": 52711, - "end": 52745, + "start": 53364, + "end": 53398, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 38 }, "end": { - "line": 1405, + "line": 1406, "column": 72 } } @@ -150811,15 +150977,15 @@ { "type": "CommentLine", "value": " Batched geometry", - "start": 53383, - "end": 53402, + "start": 54036, + "end": 54055, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 40 }, "end": { - "line": 1425, + "line": 1426, "column": 59 } } @@ -150827,15 +150993,15 @@ { "type": "CommentLine", "value": " Center positions relative to their tile's World-space center", - "start": 53483, - "end": 53546, + "start": 54136, + "end": 54199, "loc": { "start": { - "line": 1429, + "line": 1430, "column": 20 }, "end": { - "line": 1429, + "line": 1430, "column": 83 } } @@ -150843,15 +151009,15 @@ { "type": "CommentLine", "value": " Quantize positions relative to tile's RTC-space boundary", - "start": 53850, - "end": 53909, + "start": 54503, + "end": 54562, "loc": { "start": { - "line": 1438, + "line": 1439, "column": 20 }, "end": { - "line": 1438, + "line": 1439, "column": 79 } } @@ -150859,15 +151025,15 @@ { "type": "CommentLine", "value": " Instanced geometry", - "start": 54063, - "end": 54084, + "start": 54716, + "end": 54737, "loc": { "start": { - "line": 1442, + "line": 1443, "column": 25 }, "end": { - "line": 1442, + "line": 1443, "column": 46 } } @@ -150875,15 +151041,15 @@ { "type": "CommentLine", "value": " Post-multiply a translation to the mesh's modeling matrix", - "start": 54106, - "end": 54166, + "start": 54759, + "end": 54819, "loc": { "start": { - "line": 1444, + "line": 1445, "column": 20 }, "end": { - "line": 1444, + "line": 1445, "column": 80 } } @@ -150891,15 +151057,15 @@ { "type": "CommentLine", "value": " to center the entity's geometry instances to the tile RTC center", - "start": 54187, - "end": 54254, + "start": 54840, + "end": 54907, "loc": { "start": { - "line": 1445, + "line": 1446, "column": 20 }, "end": { - "line": 1445, + "line": 1446, "column": 87 } } @@ -150907,15 +151073,15 @@ { "type": "CommentLine", "value": "////////////////////////////", - "start": 54276, - "end": 54306, + "start": 54929, + "end": 54959, "loc": { "start": { - "line": 1447, + "line": 1448, "column": 20 }, "end": { - "line": 1447, + "line": 1448, "column": 50 } } @@ -150923,15 +151089,15 @@ { "type": "CommentLine", "value": " Why do we do this?", - "start": 54327, - "end": 54348, + "start": 54980, + "end": 55001, "loc": { "start": { - "line": 1448, + "line": 1449, "column": 20 }, "end": { - "line": 1448, + "line": 1449, "column": 41 } } @@ -150939,15 +151105,15 @@ { "type": "CommentLine", "value": " Seems to break various models", - "start": 54369, - "end": 54401, + "start": 55022, + "end": 55054, "loc": { "start": { - "line": 1449, + "line": 1450, "column": 20 }, "end": { - "line": 1449, + "line": 1450, "column": 52 } } @@ -150955,15 +151121,15 @@ { "type": "CommentLine", "value": "///////////////////////////////", - "start": 54422, - "end": 54455, + "start": 55075, + "end": 55108, "loc": { "start": { - "line": 1450, + "line": 1451, "column": 20 }, "end": { - "line": 1450, + "line": 1451, "column": 53 } } @@ -150971,15 +151137,15 @@ { "type": "CommentLine", "value": " Instanced geometry", - "start": 55199, - "end": 55220, + "start": 55852, + "end": 55873, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 35 }, "end": { - "line": 1476, + "line": 1477, "column": 56 } } @@ -150987,15 +151153,15 @@ { "type": "CommentLine", "value": " No need for this matrix, but we'll be tidy and set it to identity", - "start": 56350, - "end": 56418, + "start": 57003, + "end": 57071, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 66 }, "end": { - "line": 1507, + "line": 1508, "column": 134 } } @@ -167269,9 +167435,9 @@ "binop": null, "updateContext": null }, - "value": "Parameters expected: params", + "value": "[XKTModel.createPropertySet] Parameters expected: params", "start": 12456, - "end": 12485, + "end": 12514, "loc": { "start": { "line": 394, @@ -167279,7 +167445,7 @@ }, "end": { "line": 394, - "column": 47 + "column": 76 } } }, @@ -167296,16 +167462,16 @@ "binop": null, "updateContext": null }, - "start": 12485, - "end": 12486, + "start": 12514, + "end": 12515, "loc": { "start": { "line": 394, - "column": 47 + "column": 76 }, "end": { "line": 394, - "column": 48 + "column": 77 } } }, @@ -167321,8 +167487,8 @@ "postfix": false, "binop": null }, - "start": 12495, - "end": 12496, + "start": 12524, + "end": 12525, "loc": { "start": { "line": 395, @@ -167349,8 +167515,8 @@ "updateContext": null }, "value": "if", - "start": 12506, - "end": 12508, + "start": 12535, + "end": 12537, "loc": { "start": { "line": 397, @@ -167374,8 +167540,8 @@ "postfix": false, "binop": null }, - "start": 12509, - "end": 12510, + "start": 12538, + "end": 12539, "loc": { "start": { "line": 397, @@ -167400,8 +167566,8 @@ "binop": null }, "value": "params", - "start": 12510, - "end": 12516, + "start": 12539, + "end": 12545, "loc": { "start": { "line": 397, @@ -167426,8 +167592,8 @@ "binop": null, "updateContext": null }, - "start": 12516, - "end": 12517, + "start": 12545, + "end": 12546, "loc": { "start": { "line": 397, @@ -167452,8 +167618,8 @@ "binop": null }, "value": "propertySetId", - "start": 12517, - "end": 12530, + "start": 12546, + "end": 12559, "loc": { "start": { "line": 397, @@ -167479,8 +167645,8 @@ "updateContext": null }, "value": "===", - "start": 12531, - "end": 12534, + "start": 12560, + "end": 12563, "loc": { "start": { "line": 397, @@ -167507,8 +167673,8 @@ "updateContext": null }, "value": "null", - "start": 12535, - "end": 12539, + "start": 12564, + "end": 12568, "loc": { "start": { "line": 397, @@ -167534,8 +167700,8 @@ "updateContext": null }, "value": "||", - "start": 12540, - "end": 12542, + "start": 12569, + "end": 12571, "loc": { "start": { "line": 397, @@ -167560,8 +167726,8 @@ "binop": null }, "value": "params", - "start": 12543, - "end": 12549, + "start": 12572, + "end": 12578, "loc": { "start": { "line": 397, @@ -167586,8 +167752,8 @@ "binop": null, "updateContext": null }, - "start": 12549, - "end": 12550, + "start": 12578, + "end": 12579, "loc": { "start": { "line": 397, @@ -167612,8 +167778,8 @@ "binop": null }, "value": "propertySetId", - "start": 12550, - "end": 12563, + "start": 12579, + "end": 12592, "loc": { "start": { "line": 397, @@ -167639,8 +167805,8 @@ "updateContext": null }, "value": "===", - "start": 12564, - "end": 12567, + "start": 12593, + "end": 12596, "loc": { "start": { "line": 397, @@ -167665,8 +167831,8 @@ "binop": null }, "value": "undefined", - "start": 12568, - "end": 12577, + "start": 12597, + "end": 12606, "loc": { "start": { "line": 397, @@ -167690,8 +167856,8 @@ "postfix": false, "binop": null }, - "start": 12577, - "end": 12578, + "start": 12606, + "end": 12607, "loc": { "start": { "line": 397, @@ -167715,8 +167881,8 @@ "postfix": false, "binop": null }, - "start": 12579, - "end": 12580, + "start": 12608, + "end": 12609, "loc": { "start": { "line": 397, @@ -167743,8 +167909,8 @@ "updateContext": null }, "value": "throw", - "start": 12593, - "end": 12598, + "start": 12622, + "end": 12627, "loc": { "start": { "line": 398, @@ -167769,9 +167935,9 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.propertySetId", - "start": 12599, - "end": 12641, + "value": "[XKTModel.createPropertySet] Parameter expected: params.propertySetId", + "start": 12628, + "end": 12699, "loc": { "start": { "line": 398, @@ -167779,7 +167945,7 @@ }, "end": { "line": 398, - "column": 60 + "column": 89 } } }, @@ -167796,16 +167962,16 @@ "binop": null, "updateContext": null }, - "start": 12641, - "end": 12642, + "start": 12699, + "end": 12700, "loc": { "start": { "line": 398, - "column": 60 + "column": 89 }, "end": { "line": 398, - "column": 61 + "column": 90 } } }, @@ -167821,8 +167987,8 @@ "postfix": false, "binop": null }, - "start": 12651, - "end": 12652, + "start": 12709, + "end": 12710, "loc": { "start": { "line": 399, @@ -167849,8 +168015,8 @@ "updateContext": null }, "value": "if", - "start": 12662, - "end": 12664, + "start": 12720, + "end": 12722, "loc": { "start": { "line": 401, @@ -167874,8 +168040,8 @@ "postfix": false, "binop": null }, - "start": 12665, - "end": 12666, + "start": 12723, + "end": 12724, "loc": { "start": { "line": 401, @@ -167900,8 +168066,8 @@ "binop": null }, "value": "params", - "start": 12666, - "end": 12672, + "start": 12724, + "end": 12730, "loc": { "start": { "line": 401, @@ -167926,8 +168092,8 @@ "binop": null, "updateContext": null }, - "start": 12672, - "end": 12673, + "start": 12730, + "end": 12731, "loc": { "start": { "line": 401, @@ -167952,8 +168118,8 @@ "binop": null }, "value": "properties", - "start": 12673, - "end": 12683, + "start": 12731, + "end": 12741, "loc": { "start": { "line": 401, @@ -167979,8 +168145,8 @@ "updateContext": null }, "value": "===", - "start": 12684, - "end": 12687, + "start": 12742, + "end": 12745, "loc": { "start": { "line": 401, @@ -168007,8 +168173,8 @@ "updateContext": null }, "value": "null", - "start": 12688, - "end": 12692, + "start": 12746, + "end": 12750, "loc": { "start": { "line": 401, @@ -168034,8 +168200,8 @@ "updateContext": null }, "value": "||", - "start": 12693, - "end": 12695, + "start": 12751, + "end": 12753, "loc": { "start": { "line": 401, @@ -168060,8 +168226,8 @@ "binop": null }, "value": "params", - "start": 12696, - "end": 12702, + "start": 12754, + "end": 12760, "loc": { "start": { "line": 401, @@ -168086,8 +168252,8 @@ "binop": null, "updateContext": null }, - "start": 12702, - "end": 12703, + "start": 12760, + "end": 12761, "loc": { "start": { "line": 401, @@ -168112,8 +168278,8 @@ "binop": null }, "value": "properties", - "start": 12703, - "end": 12713, + "start": 12761, + "end": 12771, "loc": { "start": { "line": 401, @@ -168139,8 +168305,8 @@ "updateContext": null }, "value": "===", - "start": 12714, - "end": 12717, + "start": 12772, + "end": 12775, "loc": { "start": { "line": 401, @@ -168165,8 +168331,8 @@ "binop": null }, "value": "undefined", - "start": 12718, - "end": 12727, + "start": 12776, + "end": 12785, "loc": { "start": { "line": 401, @@ -168190,8 +168356,8 @@ "postfix": false, "binop": null }, - "start": 12727, - "end": 12728, + "start": 12785, + "end": 12786, "loc": { "start": { "line": 401, @@ -168215,8 +168381,8 @@ "postfix": false, "binop": null }, - "start": 12729, - "end": 12730, + "start": 12787, + "end": 12788, "loc": { "start": { "line": 401, @@ -168243,8 +168409,8 @@ "updateContext": null }, "value": "throw", - "start": 12743, - "end": 12748, + "start": 12801, + "end": 12806, "loc": { "start": { "line": 402, @@ -168269,9 +168435,9 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.properties", - "start": 12749, - "end": 12788, + "value": "[XKTModel.createPropertySet] Parameter expected: params.properties", + "start": 12807, + "end": 12875, "loc": { "start": { "line": 402, @@ -168279,7 +168445,7 @@ }, "end": { "line": 402, - "column": 57 + "column": 86 } } }, @@ -168296,16 +168462,16 @@ "binop": null, "updateContext": null }, - "start": 12788, - "end": 12789, + "start": 12875, + "end": 12876, "loc": { "start": { "line": 402, - "column": 57 + "column": 86 }, "end": { "line": 402, - "column": 58 + "column": 87 } } }, @@ -168321,8 +168487,8 @@ "postfix": false, "binop": null }, - "start": 12798, - "end": 12799, + "start": 12885, + "end": 12886, "loc": { "start": { "line": 403, @@ -168349,8 +168515,8 @@ "updateContext": null }, "value": "if", - "start": 12809, - "end": 12811, + "start": 12896, + "end": 12898, "loc": { "start": { "line": 405, @@ -168374,8 +168540,8 @@ "postfix": false, "binop": null }, - "start": 12812, - "end": 12813, + "start": 12899, + "end": 12900, "loc": { "start": { "line": 405, @@ -168402,8 +168568,8 @@ "updateContext": null }, "value": "this", - "start": 12813, - "end": 12817, + "start": 12900, + "end": 12904, "loc": { "start": { "line": 405, @@ -168428,8 +168594,8 @@ "binop": null, "updateContext": null }, - "start": 12817, - "end": 12818, + "start": 12904, + "end": 12905, "loc": { "start": { "line": 405, @@ -168454,8 +168620,8 @@ "binop": null }, "value": "finalized", - "start": 12818, - "end": 12827, + "start": 12905, + "end": 12914, "loc": { "start": { "line": 405, @@ -168479,8 +168645,8 @@ "postfix": false, "binop": null }, - "start": 12827, - "end": 12828, + "start": 12914, + "end": 12915, "loc": { "start": { "line": 405, @@ -168504,8 +168670,8 @@ "postfix": false, "binop": null }, - "start": 12829, - "end": 12830, + "start": 12916, + "end": 12917, "loc": { "start": { "line": 405, @@ -168530,8 +168696,8 @@ "binop": null }, "value": "console", - "start": 12843, - "end": 12850, + "start": 12930, + "end": 12937, "loc": { "start": { "line": 406, @@ -168556,8 +168722,8 @@ "binop": null, "updateContext": null }, - "start": 12850, - "end": 12851, + "start": 12937, + "end": 12938, "loc": { "start": { "line": 406, @@ -168582,8 +168748,8 @@ "binop": null }, "value": "error", - "start": 12851, - "end": 12856, + "start": 12938, + "end": 12943, "loc": { "start": { "line": 406, @@ -168607,8 +168773,8 @@ "postfix": false, "binop": null }, - "start": 12856, - "end": 12857, + "start": 12943, + "end": 12944, "loc": { "start": { "line": 406, @@ -168634,8 +168800,8 @@ "updateContext": null }, "value": "XKTModel has been finalized, can't add more property sets", - "start": 12857, - "end": 12916, + "start": 12944, + "end": 13003, "loc": { "start": { "line": 406, @@ -168659,8 +168825,8 @@ "postfix": false, "binop": null }, - "start": 12916, - "end": 12917, + "start": 13003, + "end": 13004, "loc": { "start": { "line": 406, @@ -168685,8 +168851,8 @@ "binop": null, "updateContext": null }, - "start": 12917, - "end": 12918, + "start": 13004, + "end": 13005, "loc": { "start": { "line": 406, @@ -168713,8 +168879,8 @@ "updateContext": null }, "value": "return", - "start": 12931, - "end": 12937, + "start": 13018, + "end": 13024, "loc": { "start": { "line": 407, @@ -168739,8 +168905,8 @@ "binop": null, "updateContext": null }, - "start": 12937, - "end": 12938, + "start": 13024, + "end": 13025, "loc": { "start": { "line": 407, @@ -168764,8 +168930,8 @@ "postfix": false, "binop": null }, - "start": 12947, - "end": 12948, + "start": 13034, + "end": 13035, "loc": { "start": { "line": 408, @@ -168792,8 +168958,8 @@ "updateContext": null }, "value": "if", - "start": 12958, - "end": 12960, + "start": 13045, + "end": 13047, "loc": { "start": { "line": 410, @@ -168817,8 +168983,8 @@ "postfix": false, "binop": null }, - "start": 12961, - "end": 12962, + "start": 13048, + "end": 13049, "loc": { "start": { "line": 410, @@ -168845,8 +169011,8 @@ "updateContext": null }, "value": "this", - "start": 12962, - "end": 12966, + "start": 13049, + "end": 13053, "loc": { "start": { "line": 410, @@ -168871,8 +169037,8 @@ "binop": null, "updateContext": null }, - "start": 12966, - "end": 12967, + "start": 13053, + "end": 13054, "loc": { "start": { "line": 410, @@ -168897,8 +169063,8 @@ "binop": null }, "value": "propertySets", - "start": 12967, - "end": 12979, + "start": 13054, + "end": 13066, "loc": { "start": { "line": 410, @@ -168923,8 +169089,8 @@ "binop": null, "updateContext": null }, - "start": 12979, - "end": 12980, + "start": 13066, + "end": 13067, "loc": { "start": { "line": 410, @@ -168949,8 +169115,8 @@ "binop": null }, "value": "params", - "start": 12980, - "end": 12986, + "start": 13067, + "end": 13073, "loc": { "start": { "line": 410, @@ -168975,8 +169141,8 @@ "binop": null, "updateContext": null }, - "start": 12986, - "end": 12987, + "start": 13073, + "end": 13074, "loc": { "start": { "line": 410, @@ -169001,8 +169167,8 @@ "binop": null }, "value": "propertySetId", - "start": 12987, - "end": 13000, + "start": 13074, + "end": 13087, "loc": { "start": { "line": 410, @@ -169027,8 +169193,8 @@ "binop": null, "updateContext": null }, - "start": 13000, - "end": 13001, + "start": 13087, + "end": 13088, "loc": { "start": { "line": 410, @@ -169052,8 +169218,8 @@ "postfix": false, "binop": null }, - "start": 13001, - "end": 13002, + "start": 13088, + "end": 13089, "loc": { "start": { "line": 410, @@ -169077,8 +169243,8 @@ "postfix": false, "binop": null }, - "start": 13003, - "end": 13004, + "start": 13090, + "end": 13091, "loc": { "start": { "line": 410, @@ -169093,8 +169259,8 @@ { "type": "CommentLine", "value": " console.error(\"XKTPropertySet already exists with this ID: \" + params.propertySetId);", - "start": 13017, - "end": 13114, + "start": 13104, + "end": 13201, "loc": { "start": { "line": 411, @@ -169121,8 +169287,8 @@ "updateContext": null }, "value": "return", - "start": 13127, - "end": 13133, + "start": 13214, + "end": 13220, "loc": { "start": { "line": 412, @@ -169147,8 +169313,8 @@ "binop": null, "updateContext": null }, - "start": 13133, - "end": 13134, + "start": 13220, + "end": 13221, "loc": { "start": { "line": 412, @@ -169172,8 +169338,8 @@ "postfix": false, "binop": null }, - "start": 13143, - "end": 13144, + "start": 13230, + "end": 13231, "loc": { "start": { "line": 413, @@ -169200,8 +169366,8 @@ "updateContext": null }, "value": "const", - "start": 13154, - "end": 13159, + "start": 13241, + "end": 13246, "loc": { "start": { "line": 415, @@ -169226,8 +169392,8 @@ "binop": null }, "value": "propertySetId", - "start": 13160, - "end": 13173, + "start": 13247, + "end": 13260, "loc": { "start": { "line": 415, @@ -169253,8 +169419,8 @@ "updateContext": null }, "value": "=", - "start": 13174, - "end": 13175, + "start": 13261, + "end": 13262, "loc": { "start": { "line": 415, @@ -169279,8 +169445,8 @@ "binop": null }, "value": "params", - "start": 13176, - "end": 13182, + "start": 13263, + "end": 13269, "loc": { "start": { "line": 415, @@ -169305,8 +169471,8 @@ "binop": null, "updateContext": null }, - "start": 13182, - "end": 13183, + "start": 13269, + "end": 13270, "loc": { "start": { "line": 415, @@ -169331,8 +169497,8 @@ "binop": null }, "value": "propertySetId", - "start": 13183, - "end": 13196, + "start": 13270, + "end": 13283, "loc": { "start": { "line": 415, @@ -169357,8 +169523,8 @@ "binop": null, "updateContext": null }, - "start": 13196, - "end": 13197, + "start": 13283, + "end": 13284, "loc": { "start": { "line": 415, @@ -169385,8 +169551,8 @@ "updateContext": null }, "value": "const", - "start": 13206, - "end": 13211, + "start": 13293, + "end": 13298, "loc": { "start": { "line": 416, @@ -169411,8 +169577,8 @@ "binop": null }, "value": "propertySetType", - "start": 13212, - "end": 13227, + "start": 13299, + "end": 13314, "loc": { "start": { "line": 416, @@ -169438,8 +169604,8 @@ "updateContext": null }, "value": "=", - "start": 13228, - "end": 13229, + "start": 13315, + "end": 13316, "loc": { "start": { "line": 416, @@ -169464,8 +169630,8 @@ "binop": null }, "value": "params", - "start": 13230, - "end": 13236, + "start": 13317, + "end": 13323, "loc": { "start": { "line": 416, @@ -169490,8 +169656,8 @@ "binop": null, "updateContext": null }, - "start": 13236, - "end": 13237, + "start": 13323, + "end": 13324, "loc": { "start": { "line": 416, @@ -169516,8 +169682,8 @@ "binop": null }, "value": "propertySetType", - "start": 13237, - "end": 13252, + "start": 13324, + "end": 13339, "loc": { "start": { "line": 416, @@ -169543,8 +169709,8 @@ "updateContext": null }, "value": "||", - "start": 13253, - "end": 13255, + "start": 13340, + "end": 13342, "loc": { "start": { "line": 416, @@ -169570,8 +169736,8 @@ "updateContext": null }, "value": "Default", - "start": 13256, - "end": 13265, + "start": 13343, + "end": 13352, "loc": { "start": { "line": 416, @@ -169596,8 +169762,8 @@ "binop": null, "updateContext": null }, - "start": 13265, - "end": 13266, + "start": 13352, + "end": 13353, "loc": { "start": { "line": 416, @@ -169624,8 +169790,8 @@ "updateContext": null }, "value": "const", - "start": 13275, - "end": 13280, + "start": 13362, + "end": 13367, "loc": { "start": { "line": 417, @@ -169650,8 +169816,8 @@ "binop": null }, "value": "propertySetName", - "start": 13281, - "end": 13296, + "start": 13368, + "end": 13383, "loc": { "start": { "line": 417, @@ -169677,8 +169843,8 @@ "updateContext": null }, "value": "=", - "start": 13297, - "end": 13298, + "start": 13384, + "end": 13385, "loc": { "start": { "line": 417, @@ -169703,8 +169869,8 @@ "binop": null }, "value": "params", - "start": 13299, - "end": 13305, + "start": 13386, + "end": 13392, "loc": { "start": { "line": 417, @@ -169729,8 +169895,8 @@ "binop": null, "updateContext": null }, - "start": 13305, - "end": 13306, + "start": 13392, + "end": 13393, "loc": { "start": { "line": 417, @@ -169755,8 +169921,8 @@ "binop": null }, "value": "propertySetName", - "start": 13306, - "end": 13321, + "start": 13393, + "end": 13408, "loc": { "start": { "line": 417, @@ -169782,8 +169948,8 @@ "updateContext": null }, "value": "||", - "start": 13322, - "end": 13324, + "start": 13409, + "end": 13411, "loc": { "start": { "line": 417, @@ -169808,8 +169974,8 @@ "binop": null }, "value": "params", - "start": 13325, - "end": 13331, + "start": 13412, + "end": 13418, "loc": { "start": { "line": 417, @@ -169834,8 +170000,8 @@ "binop": null, "updateContext": null }, - "start": 13331, - "end": 13332, + "start": 13418, + "end": 13419, "loc": { "start": { "line": 417, @@ -169860,8 +170026,8 @@ "binop": null }, "value": "propertySetId", - "start": 13332, - "end": 13345, + "start": 13419, + "end": 13432, "loc": { "start": { "line": 417, @@ -169886,8 +170052,8 @@ "binop": null, "updateContext": null }, - "start": 13345, - "end": 13346, + "start": 13432, + "end": 13433, "loc": { "start": { "line": 417, @@ -169914,8 +170080,8 @@ "updateContext": null }, "value": "const", - "start": 13355, - "end": 13360, + "start": 13442, + "end": 13447, "loc": { "start": { "line": 418, @@ -169940,8 +170106,8 @@ "binop": null }, "value": "properties", - "start": 13361, - "end": 13371, + "start": 13448, + "end": 13458, "loc": { "start": { "line": 418, @@ -169967,8 +170133,8 @@ "updateContext": null }, "value": "=", - "start": 13372, - "end": 13373, + "start": 13459, + "end": 13460, "loc": { "start": { "line": 418, @@ -169993,8 +170159,8 @@ "binop": null }, "value": "params", - "start": 13374, - "end": 13380, + "start": 13461, + "end": 13467, "loc": { "start": { "line": 418, @@ -170019,8 +170185,8 @@ "binop": null, "updateContext": null }, - "start": 13380, - "end": 13381, + "start": 13467, + "end": 13468, "loc": { "start": { "line": 418, @@ -170045,8 +170211,8 @@ "binop": null }, "value": "properties", - "start": 13381, - "end": 13391, + "start": 13468, + "end": 13478, "loc": { "start": { "line": 418, @@ -170072,8 +170238,8 @@ "updateContext": null }, "value": "||", - "start": 13392, - "end": 13394, + "start": 13479, + "end": 13481, "loc": { "start": { "line": 418, @@ -170098,8 +170264,8 @@ "binop": null, "updateContext": null }, - "start": 13395, - "end": 13396, + "start": 13482, + "end": 13483, "loc": { "start": { "line": 418, @@ -170124,8 +170290,8 @@ "binop": null, "updateContext": null }, - "start": 13396, - "end": 13397, + "start": 13483, + "end": 13484, "loc": { "start": { "line": 418, @@ -170150,8 +170316,8 @@ "binop": null, "updateContext": null }, - "start": 13397, - "end": 13398, + "start": 13484, + "end": 13485, "loc": { "start": { "line": 418, @@ -170178,8 +170344,8 @@ "updateContext": null }, "value": "const", - "start": 13408, - "end": 13413, + "start": 13495, + "end": 13500, "loc": { "start": { "line": 420, @@ -170204,8 +170370,8 @@ "binop": null }, "value": "propertySet", - "start": 13414, - "end": 13425, + "start": 13501, + "end": 13512, "loc": { "start": { "line": 420, @@ -170231,8 +170397,8 @@ "updateContext": null }, "value": "=", - "start": 13426, - "end": 13427, + "start": 13513, + "end": 13514, "loc": { "start": { "line": 420, @@ -170259,8 +170425,8 @@ "updateContext": null }, "value": "new", - "start": 13428, - "end": 13431, + "start": 13515, + "end": 13518, "loc": { "start": { "line": 420, @@ -170285,8 +170451,8 @@ "binop": null }, "value": "XKTPropertySet", - "start": 13432, - "end": 13446, + "start": 13519, + "end": 13533, "loc": { "start": { "line": 420, @@ -170310,8 +170476,8 @@ "postfix": false, "binop": null }, - "start": 13446, - "end": 13447, + "start": 13533, + "end": 13534, "loc": { "start": { "line": 420, @@ -170336,8 +170502,8 @@ "binop": null }, "value": "propertySetId", - "start": 13447, - "end": 13460, + "start": 13534, + "end": 13547, "loc": { "start": { "line": 420, @@ -170362,8 +170528,8 @@ "binop": null, "updateContext": null }, - "start": 13460, - "end": 13461, + "start": 13547, + "end": 13548, "loc": { "start": { "line": 420, @@ -170388,8 +170554,8 @@ "binop": null }, "value": "propertySetType", - "start": 13462, - "end": 13477, + "start": 13549, + "end": 13564, "loc": { "start": { "line": 420, @@ -170414,8 +170580,8 @@ "binop": null, "updateContext": null }, - "start": 13477, - "end": 13478, + "start": 13564, + "end": 13565, "loc": { "start": { "line": 420, @@ -170440,8 +170606,8 @@ "binop": null }, "value": "propertySetName", - "start": 13479, - "end": 13494, + "start": 13566, + "end": 13581, "loc": { "start": { "line": 420, @@ -170466,8 +170632,8 @@ "binop": null, "updateContext": null }, - "start": 13494, - "end": 13495, + "start": 13581, + "end": 13582, "loc": { "start": { "line": 420, @@ -170492,8 +170658,8 @@ "binop": null }, "value": "properties", - "start": 13496, - "end": 13506, + "start": 13583, + "end": 13593, "loc": { "start": { "line": 420, @@ -170517,8 +170683,8 @@ "postfix": false, "binop": null }, - "start": 13506, - "end": 13507, + "start": 13593, + "end": 13594, "loc": { "start": { "line": 420, @@ -170543,8 +170709,8 @@ "binop": null, "updateContext": null }, - "start": 13507, - "end": 13508, + "start": 13594, + "end": 13595, "loc": { "start": { "line": 420, @@ -170571,8 +170737,8 @@ "updateContext": null }, "value": "this", - "start": 13518, - "end": 13522, + "start": 13605, + "end": 13609, "loc": { "start": { "line": 422, @@ -170597,8 +170763,8 @@ "binop": null, "updateContext": null }, - "start": 13522, - "end": 13523, + "start": 13609, + "end": 13610, "loc": { "start": { "line": 422, @@ -170623,8 +170789,8 @@ "binop": null }, "value": "propertySets", - "start": 13523, - "end": 13535, + "start": 13610, + "end": 13622, "loc": { "start": { "line": 422, @@ -170649,8 +170815,8 @@ "binop": null, "updateContext": null }, - "start": 13535, - "end": 13536, + "start": 13622, + "end": 13623, "loc": { "start": { "line": 422, @@ -170675,8 +170841,8 @@ "binop": null }, "value": "propertySetId", - "start": 13536, - "end": 13549, + "start": 13623, + "end": 13636, "loc": { "start": { "line": 422, @@ -170701,8 +170867,8 @@ "binop": null, "updateContext": null }, - "start": 13549, - "end": 13550, + "start": 13636, + "end": 13637, "loc": { "start": { "line": 422, @@ -170728,8 +170894,8 @@ "updateContext": null }, "value": "=", - "start": 13551, - "end": 13552, + "start": 13638, + "end": 13639, "loc": { "start": { "line": 422, @@ -170754,8 +170920,8 @@ "binop": null }, "value": "propertySet", - "start": 13553, - "end": 13564, + "start": 13640, + "end": 13651, "loc": { "start": { "line": 422, @@ -170780,8 +170946,8 @@ "binop": null, "updateContext": null }, - "start": 13564, - "end": 13565, + "start": 13651, + "end": 13652, "loc": { "start": { "line": 422, @@ -170808,8 +170974,8 @@ "updateContext": null }, "value": "this", - "start": 13574, - "end": 13578, + "start": 13661, + "end": 13665, "loc": { "start": { "line": 423, @@ -170834,8 +171000,8 @@ "binop": null, "updateContext": null }, - "start": 13578, - "end": 13579, + "start": 13665, + "end": 13666, "loc": { "start": { "line": 423, @@ -170860,8 +171026,8 @@ "binop": null }, "value": "propertySetsList", - "start": 13579, - "end": 13595, + "start": 13666, + "end": 13682, "loc": { "start": { "line": 423, @@ -170886,8 +171052,8 @@ "binop": null, "updateContext": null }, - "start": 13595, - "end": 13596, + "start": 13682, + "end": 13683, "loc": { "start": { "line": 423, @@ -170912,8 +171078,8 @@ "binop": null }, "value": "push", - "start": 13596, - "end": 13600, + "start": 13683, + "end": 13687, "loc": { "start": { "line": 423, @@ -170937,8 +171103,8 @@ "postfix": false, "binop": null }, - "start": 13600, - "end": 13601, + "start": 13687, + "end": 13688, "loc": { "start": { "line": 423, @@ -170963,8 +171129,8 @@ "binop": null }, "value": "propertySet", - "start": 13601, - "end": 13612, + "start": 13688, + "end": 13699, "loc": { "start": { "line": 423, @@ -170988,8 +171154,8 @@ "postfix": false, "binop": null }, - "start": 13612, - "end": 13613, + "start": 13699, + "end": 13700, "loc": { "start": { "line": 423, @@ -171014,8 +171180,8 @@ "binop": null, "updateContext": null }, - "start": 13613, - "end": 13614, + "start": 13700, + "end": 13701, "loc": { "start": { "line": 423, @@ -171042,8 +171208,8 @@ "updateContext": null }, "value": "return", - "start": 13624, - "end": 13630, + "start": 13711, + "end": 13717, "loc": { "start": { "line": 425, @@ -171068,8 +171234,8 @@ "binop": null }, "value": "propertySet", - "start": 13631, - "end": 13642, + "start": 13718, + "end": 13729, "loc": { "start": { "line": 425, @@ -171094,8 +171260,8 @@ "binop": null, "updateContext": null }, - "start": 13642, - "end": 13643, + "start": 13729, + "end": 13730, "loc": { "start": { "line": 425, @@ -171119,8 +171285,8 @@ "postfix": false, "binop": null }, - "start": 13648, - "end": 13649, + "start": 13735, + "end": 13736, "loc": { "start": { "line": 426, @@ -171135,8 +171301,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMetaObject} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.metaObjectId Unique ID for the {@link XKTMetaObject}.\n * @param {String} params.propertySetIds ID of one or more property sets that contains additional metadata about\n * this {@link XKTMetaObject}. The property sets could be stored externally (ie not managed at all by the XKT file),\n * or could be {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n * @param {String} [params.metaObjectType=\"default\"] A meta type for the {@link XKTMetaObject}. Can be anything,\n * but is usually an IFC type, such as \"IfcSite\" or \"IfcWall\".\n * @param {String} [params.metaObjectName] Human-readable name for the {@link XKTMetaObject}. Defaults to the ````metaObjectId```` parameter.\n * @param {String} [params.parentMetaObjectId] ID of the parent {@link XKTMetaObject}, if any. Defaults to the ````metaObjectId```` parameter.\n * @returns {XKTMetaObject} The new {@link XKTMetaObject}.\n ", - "start": 13655, - "end": 14834, + "start": 13742, + "end": 14921, "loc": { "start": { "line": 428, @@ -171161,8 +171327,8 @@ "binop": null }, "value": "createMetaObject", - "start": 14839, - "end": 14855, + "start": 14926, + "end": 14942, "loc": { "start": { "line": 444, @@ -171186,8 +171352,8 @@ "postfix": false, "binop": null }, - "start": 14855, - "end": 14856, + "start": 14942, + "end": 14943, "loc": { "start": { "line": 444, @@ -171212,8 +171378,8 @@ "binop": null }, "value": "params", - "start": 14856, - "end": 14862, + "start": 14943, + "end": 14949, "loc": { "start": { "line": 444, @@ -171237,8 +171403,8 @@ "postfix": false, "binop": null }, - "start": 14862, - "end": 14863, + "start": 14949, + "end": 14950, "loc": { "start": { "line": 444, @@ -171262,8 +171428,8 @@ "postfix": false, "binop": null }, - "start": 14864, - "end": 14865, + "start": 14951, + "end": 14952, "loc": { "start": { "line": 444, @@ -171290,8 +171456,8 @@ "updateContext": null }, "value": "if", - "start": 14875, - "end": 14877, + "start": 14962, + "end": 14964, "loc": { "start": { "line": 446, @@ -171315,8 +171481,8 @@ "postfix": false, "binop": null }, - "start": 14878, - "end": 14879, + "start": 14965, + "end": 14966, "loc": { "start": { "line": 446, @@ -171342,8 +171508,8 @@ "updateContext": null }, "value": "!", - "start": 14879, - "end": 14880, + "start": 14966, + "end": 14967, "loc": { "start": { "line": 446, @@ -171368,8 +171534,8 @@ "binop": null }, "value": "params", - "start": 14880, - "end": 14886, + "start": 14967, + "end": 14973, "loc": { "start": { "line": 446, @@ -171393,8 +171559,8 @@ "postfix": false, "binop": null }, - "start": 14886, - "end": 14887, + "start": 14973, + "end": 14974, "loc": { "start": { "line": 446, @@ -171418,8 +171584,8 @@ "postfix": false, "binop": null }, - "start": 14888, - "end": 14889, + "start": 14975, + "end": 14976, "loc": { "start": { "line": 446, @@ -171446,8 +171612,8 @@ "updateContext": null }, "value": "throw", - "start": 14902, - "end": 14907, + "start": 14989, + "end": 14994, "loc": { "start": { "line": 447, @@ -171472,9 +171638,9 @@ "binop": null, "updateContext": null }, - "value": "Parameters expected: params", - "start": 14908, - "end": 14937, + "value": "[XKTModel.createMetaObject] Parameters expected: params", + "start": 14995, + "end": 15052, "loc": { "start": { "line": 447, @@ -171482,7 +171648,7 @@ }, "end": { "line": 447, - "column": 47 + "column": 75 } } }, @@ -171499,16 +171665,16 @@ "binop": null, "updateContext": null }, - "start": 14937, - "end": 14938, + "start": 15052, + "end": 15053, "loc": { "start": { "line": 447, - "column": 47 + "column": 75 }, "end": { "line": 447, - "column": 48 + "column": 76 } } }, @@ -171524,8 +171690,8 @@ "postfix": false, "binop": null }, - "start": 14947, - "end": 14948, + "start": 15062, + "end": 15063, "loc": { "start": { "line": 448, @@ -171552,8 +171718,8 @@ "updateContext": null }, "value": "if", - "start": 14958, - "end": 14960, + "start": 15073, + "end": 15075, "loc": { "start": { "line": 450, @@ -171577,8 +171743,8 @@ "postfix": false, "binop": null }, - "start": 14961, - "end": 14962, + "start": 15076, + "end": 15077, "loc": { "start": { "line": 450, @@ -171603,8 +171769,8 @@ "binop": null }, "value": "params", - "start": 14962, - "end": 14968, + "start": 15077, + "end": 15083, "loc": { "start": { "line": 450, @@ -171629,8 +171795,8 @@ "binop": null, "updateContext": null }, - "start": 14968, - "end": 14969, + "start": 15083, + "end": 15084, "loc": { "start": { "line": 450, @@ -171655,8 +171821,8 @@ "binop": null }, "value": "metaObjectId", - "start": 14969, - "end": 14981, + "start": 15084, + "end": 15096, "loc": { "start": { "line": 450, @@ -171682,8 +171848,8 @@ "updateContext": null }, "value": "===", - "start": 14982, - "end": 14985, + "start": 15097, + "end": 15100, "loc": { "start": { "line": 450, @@ -171710,8 +171876,8 @@ "updateContext": null }, "value": "null", - "start": 14986, - "end": 14990, + "start": 15101, + "end": 15105, "loc": { "start": { "line": 450, @@ -171737,8 +171903,8 @@ "updateContext": null }, "value": "||", - "start": 14991, - "end": 14993, + "start": 15106, + "end": 15108, "loc": { "start": { "line": 450, @@ -171763,8 +171929,8 @@ "binop": null }, "value": "params", - "start": 14994, - "end": 15000, + "start": 15109, + "end": 15115, "loc": { "start": { "line": 450, @@ -171789,8 +171955,8 @@ "binop": null, "updateContext": null }, - "start": 15000, - "end": 15001, + "start": 15115, + "end": 15116, "loc": { "start": { "line": 450, @@ -171815,8 +171981,8 @@ "binop": null }, "value": "metaObjectId", - "start": 15001, - "end": 15013, + "start": 15116, + "end": 15128, "loc": { "start": { "line": 450, @@ -171842,8 +172008,8 @@ "updateContext": null }, "value": "===", - "start": 15014, - "end": 15017, + "start": 15129, + "end": 15132, "loc": { "start": { "line": 450, @@ -171868,8 +172034,8 @@ "binop": null }, "value": "undefined", - "start": 15018, - "end": 15027, + "start": 15133, + "end": 15142, "loc": { "start": { "line": 450, @@ -171893,8 +172059,8 @@ "postfix": false, "binop": null }, - "start": 15027, - "end": 15028, + "start": 15142, + "end": 15143, "loc": { "start": { "line": 450, @@ -171918,8 +172084,8 @@ "postfix": false, "binop": null }, - "start": 15029, - "end": 15030, + "start": 15144, + "end": 15145, "loc": { "start": { "line": 450, @@ -171946,8 +172112,8 @@ "updateContext": null }, "value": "throw", - "start": 15043, - "end": 15048, + "start": 15158, + "end": 15163, "loc": { "start": { "line": 451, @@ -171972,9 +172138,9 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.metaObjectId", - "start": 15049, - "end": 15090, + "value": "[XKTModel.createMetaObject] Parameter expected: params.metaObjectId", + "start": 15164, + "end": 15233, "loc": { "start": { "line": 451, @@ -171982,7 +172148,7 @@ }, "end": { "line": 451, - "column": 59 + "column": 87 } } }, @@ -171999,16 +172165,16 @@ "binop": null, "updateContext": null }, - "start": 15090, - "end": 15091, + "start": 15233, + "end": 15234, "loc": { "start": { "line": 451, - "column": 59 + "column": 87 }, "end": { "line": 451, - "column": 60 + "column": 88 } } }, @@ -172024,8 +172190,8 @@ "postfix": false, "binop": null }, - "start": 15100, - "end": 15101, + "start": 15243, + "end": 15244, "loc": { "start": { "line": 452, @@ -172052,8 +172218,8 @@ "updateContext": null }, "value": "if", - "start": 15111, - "end": 15113, + "start": 15254, + "end": 15256, "loc": { "start": { "line": 454, @@ -172077,8 +172243,8 @@ "postfix": false, "binop": null }, - "start": 15114, - "end": 15115, + "start": 15257, + "end": 15258, "loc": { "start": { "line": 454, @@ -172105,8 +172271,8 @@ "updateContext": null }, "value": "this", - "start": 15115, - "end": 15119, + "start": 15258, + "end": 15262, "loc": { "start": { "line": 454, @@ -172131,8 +172297,8 @@ "binop": null, "updateContext": null }, - "start": 15119, - "end": 15120, + "start": 15262, + "end": 15263, "loc": { "start": { "line": 454, @@ -172157,8 +172323,8 @@ "binop": null }, "value": "finalized", - "start": 15120, - "end": 15129, + "start": 15263, + "end": 15272, "loc": { "start": { "line": 454, @@ -172182,8 +172348,8 @@ "postfix": false, "binop": null }, - "start": 15129, - "end": 15130, + "start": 15272, + "end": 15273, "loc": { "start": { "line": 454, @@ -172207,8 +172373,8 @@ "postfix": false, "binop": null }, - "start": 15131, - "end": 15132, + "start": 15274, + "end": 15275, "loc": { "start": { "line": 454, @@ -172233,8 +172399,8 @@ "binop": null }, "value": "console", - "start": 15145, - "end": 15152, + "start": 15288, + "end": 15295, "loc": { "start": { "line": 455, @@ -172259,8 +172425,8 @@ "binop": null, "updateContext": null }, - "start": 15152, - "end": 15153, + "start": 15295, + "end": 15296, "loc": { "start": { "line": 455, @@ -172285,8 +172451,8 @@ "binop": null }, "value": "error", - "start": 15153, - "end": 15158, + "start": 15296, + "end": 15301, "loc": { "start": { "line": 455, @@ -172310,8 +172476,8 @@ "postfix": false, "binop": null }, - "start": 15158, - "end": 15159, + "start": 15301, + "end": 15302, "loc": { "start": { "line": 455, @@ -172337,8 +172503,8 @@ "updateContext": null }, "value": "XKTModel has been finalized, can't add more meta objects", - "start": 15159, - "end": 15217, + "start": 15302, + "end": 15360, "loc": { "start": { "line": 455, @@ -172362,8 +172528,8 @@ "postfix": false, "binop": null }, - "start": 15217, - "end": 15218, + "start": 15360, + "end": 15361, "loc": { "start": { "line": 455, @@ -172388,8 +172554,8 @@ "binop": null, "updateContext": null }, - "start": 15218, - "end": 15219, + "start": 15361, + "end": 15362, "loc": { "start": { "line": 455, @@ -172416,8 +172582,8 @@ "updateContext": null }, "value": "return", - "start": 15232, - "end": 15238, + "start": 15375, + "end": 15381, "loc": { "start": { "line": 456, @@ -172442,8 +172608,8 @@ "binop": null, "updateContext": null }, - "start": 15238, - "end": 15239, + "start": 15381, + "end": 15382, "loc": { "start": { "line": 456, @@ -172467,8 +172633,8 @@ "postfix": false, "binop": null }, - "start": 15248, - "end": 15249, + "start": 15391, + "end": 15392, "loc": { "start": { "line": 457, @@ -172495,8 +172661,8 @@ "updateContext": null }, "value": "if", - "start": 15259, - "end": 15261, + "start": 15402, + "end": 15404, "loc": { "start": { "line": 459, @@ -172520,8 +172686,8 @@ "postfix": false, "binop": null }, - "start": 15262, - "end": 15263, + "start": 15405, + "end": 15406, "loc": { "start": { "line": 459, @@ -172548,8 +172714,8 @@ "updateContext": null }, "value": "this", - "start": 15263, - "end": 15267, + "start": 15406, + "end": 15410, "loc": { "start": { "line": 459, @@ -172574,8 +172740,8 @@ "binop": null, "updateContext": null }, - "start": 15267, - "end": 15268, + "start": 15410, + "end": 15411, "loc": { "start": { "line": 459, @@ -172600,8 +172766,8 @@ "binop": null }, "value": "metaObjects", - "start": 15268, - "end": 15279, + "start": 15411, + "end": 15422, "loc": { "start": { "line": 459, @@ -172626,8 +172792,8 @@ "binop": null, "updateContext": null }, - "start": 15279, - "end": 15280, + "start": 15422, + "end": 15423, "loc": { "start": { "line": 459, @@ -172652,8 +172818,8 @@ "binop": null }, "value": "params", - "start": 15280, - "end": 15286, + "start": 15423, + "end": 15429, "loc": { "start": { "line": 459, @@ -172678,8 +172844,8 @@ "binop": null, "updateContext": null }, - "start": 15286, - "end": 15287, + "start": 15429, + "end": 15430, "loc": { "start": { "line": 459, @@ -172704,8 +172870,8 @@ "binop": null }, "value": "metaObjectId", - "start": 15287, - "end": 15299, + "start": 15430, + "end": 15442, "loc": { "start": { "line": 459, @@ -172730,8 +172896,8 @@ "binop": null, "updateContext": null }, - "start": 15299, - "end": 15300, + "start": 15442, + "end": 15443, "loc": { "start": { "line": 459, @@ -172755,8 +172921,8 @@ "postfix": false, "binop": null }, - "start": 15300, - "end": 15301, + "start": 15443, + "end": 15444, "loc": { "start": { "line": 459, @@ -172780,8 +172946,8 @@ "postfix": false, "binop": null }, - "start": 15302, - "end": 15303, + "start": 15445, + "end": 15446, "loc": { "start": { "line": 459, @@ -172796,8 +172962,8 @@ { "type": "CommentLine", "value": " console.error(\"XKTMetaObject already exists with this ID: \" + params.metaObjectId);", - "start": 15316, - "end": 15411, + "start": 15459, + "end": 15554, "loc": { "start": { "line": 460, @@ -172824,8 +172990,8 @@ "updateContext": null }, "value": "return", - "start": 15424, - "end": 15430, + "start": 15567, + "end": 15573, "loc": { "start": { "line": 461, @@ -172850,8 +173016,8 @@ "binop": null, "updateContext": null }, - "start": 15430, - "end": 15431, + "start": 15573, + "end": 15574, "loc": { "start": { "line": 461, @@ -172875,8 +173041,8 @@ "postfix": false, "binop": null }, - "start": 15440, - "end": 15441, + "start": 15583, + "end": 15584, "loc": { "start": { "line": 462, @@ -172903,8 +173069,8 @@ "updateContext": null }, "value": "const", - "start": 15451, - "end": 15456, + "start": 15594, + "end": 15599, "loc": { "start": { "line": 464, @@ -172929,8 +173095,8 @@ "binop": null }, "value": "metaObjectId", - "start": 15457, - "end": 15469, + "start": 15600, + "end": 15612, "loc": { "start": { "line": 464, @@ -172956,8 +173122,8 @@ "updateContext": null }, "value": "=", - "start": 15470, - "end": 15471, + "start": 15613, + "end": 15614, "loc": { "start": { "line": 464, @@ -172982,8 +173148,8 @@ "binop": null }, "value": "params", - "start": 15472, - "end": 15478, + "start": 15615, + "end": 15621, "loc": { "start": { "line": 464, @@ -173008,8 +173174,8 @@ "binop": null, "updateContext": null }, - "start": 15478, - "end": 15479, + "start": 15621, + "end": 15622, "loc": { "start": { "line": 464, @@ -173034,8 +173200,8 @@ "binop": null }, "value": "metaObjectId", - "start": 15479, - "end": 15491, + "start": 15622, + "end": 15634, "loc": { "start": { "line": 464, @@ -173060,8 +173226,8 @@ "binop": null, "updateContext": null }, - "start": 15491, - "end": 15492, + "start": 15634, + "end": 15635, "loc": { "start": { "line": 464, @@ -173088,8 +173254,8 @@ "updateContext": null }, "value": "const", - "start": 15501, - "end": 15506, + "start": 15644, + "end": 15649, "loc": { "start": { "line": 465, @@ -173114,8 +173280,8 @@ "binop": null }, "value": "propertySetIds", - "start": 15507, - "end": 15521, + "start": 15650, + "end": 15664, "loc": { "start": { "line": 465, @@ -173141,8 +173307,8 @@ "updateContext": null }, "value": "=", - "start": 15522, - "end": 15523, + "start": 15665, + "end": 15666, "loc": { "start": { "line": 465, @@ -173167,8 +173333,8 @@ "binop": null }, "value": "params", - "start": 15524, - "end": 15530, + "start": 15667, + "end": 15673, "loc": { "start": { "line": 465, @@ -173193,8 +173359,8 @@ "binop": null, "updateContext": null }, - "start": 15530, - "end": 15531, + "start": 15673, + "end": 15674, "loc": { "start": { "line": 465, @@ -173219,8 +173385,8 @@ "binop": null }, "value": "propertySetIds", - "start": 15531, - "end": 15545, + "start": 15674, + "end": 15688, "loc": { "start": { "line": 465, @@ -173245,8 +173411,8 @@ "binop": null, "updateContext": null }, - "start": 15545, - "end": 15546, + "start": 15688, + "end": 15689, "loc": { "start": { "line": 465, @@ -173273,8 +173439,8 @@ "updateContext": null }, "value": "const", - "start": 15555, - "end": 15560, + "start": 15698, + "end": 15703, "loc": { "start": { "line": 466, @@ -173299,8 +173465,8 @@ "binop": null }, "value": "metaObjectType", - "start": 15561, - "end": 15575, + "start": 15704, + "end": 15718, "loc": { "start": { "line": 466, @@ -173326,8 +173492,8 @@ "updateContext": null }, "value": "=", - "start": 15576, - "end": 15577, + "start": 15719, + "end": 15720, "loc": { "start": { "line": 466, @@ -173352,8 +173518,8 @@ "binop": null }, "value": "params", - "start": 15578, - "end": 15584, + "start": 15721, + "end": 15727, "loc": { "start": { "line": 466, @@ -173378,8 +173544,8 @@ "binop": null, "updateContext": null }, - "start": 15584, - "end": 15585, + "start": 15727, + "end": 15728, "loc": { "start": { "line": 466, @@ -173404,8 +173570,8 @@ "binop": null }, "value": "metaObjectType", - "start": 15585, - "end": 15599, + "start": 15728, + "end": 15742, "loc": { "start": { "line": 466, @@ -173431,8 +173597,8 @@ "updateContext": null }, "value": "||", - "start": 15600, - "end": 15602, + "start": 15743, + "end": 15745, "loc": { "start": { "line": 466, @@ -173458,8 +173624,8 @@ "updateContext": null }, "value": "Default", - "start": 15603, - "end": 15612, + "start": 15746, + "end": 15755, "loc": { "start": { "line": 466, @@ -173484,8 +173650,8 @@ "binop": null, "updateContext": null }, - "start": 15612, - "end": 15613, + "start": 15755, + "end": 15756, "loc": { "start": { "line": 466, @@ -173512,8 +173678,8 @@ "updateContext": null }, "value": "const", - "start": 15622, - "end": 15627, + "start": 15765, + "end": 15770, "loc": { "start": { "line": 467, @@ -173538,8 +173704,8 @@ "binop": null }, "value": "metaObjectName", - "start": 15628, - "end": 15642, + "start": 15771, + "end": 15785, "loc": { "start": { "line": 467, @@ -173565,8 +173731,8 @@ "updateContext": null }, "value": "=", - "start": 15643, - "end": 15644, + "start": 15786, + "end": 15787, "loc": { "start": { "line": 467, @@ -173591,8 +173757,8 @@ "binop": null }, "value": "params", - "start": 15645, - "end": 15651, + "start": 15788, + "end": 15794, "loc": { "start": { "line": 467, @@ -173617,8 +173783,8 @@ "binop": null, "updateContext": null }, - "start": 15651, - "end": 15652, + "start": 15794, + "end": 15795, "loc": { "start": { "line": 467, @@ -173643,8 +173809,8 @@ "binop": null }, "value": "metaObjectName", - "start": 15652, - "end": 15666, + "start": 15795, + "end": 15809, "loc": { "start": { "line": 467, @@ -173670,8 +173836,8 @@ "updateContext": null }, "value": "||", - "start": 15667, - "end": 15669, + "start": 15810, + "end": 15812, "loc": { "start": { "line": 467, @@ -173696,8 +173862,8 @@ "binop": null }, "value": "params", - "start": 15670, - "end": 15676, + "start": 15813, + "end": 15819, "loc": { "start": { "line": 467, @@ -173722,8 +173888,8 @@ "binop": null, "updateContext": null }, - "start": 15676, - "end": 15677, + "start": 15819, + "end": 15820, "loc": { "start": { "line": 467, @@ -173748,8 +173914,8 @@ "binop": null }, "value": "metaObjectId", - "start": 15677, - "end": 15689, + "start": 15820, + "end": 15832, "loc": { "start": { "line": 467, @@ -173774,8 +173940,8 @@ "binop": null, "updateContext": null }, - "start": 15689, - "end": 15690, + "start": 15832, + "end": 15833, "loc": { "start": { "line": 467, @@ -173802,8 +173968,8 @@ "updateContext": null }, "value": "const", - "start": 15699, - "end": 15704, + "start": 15842, + "end": 15847, "loc": { "start": { "line": 468, @@ -173828,8 +173994,8 @@ "binop": null }, "value": "parentMetaObjectId", - "start": 15705, - "end": 15723, + "start": 15848, + "end": 15866, "loc": { "start": { "line": 468, @@ -173855,8 +174021,8 @@ "updateContext": null }, "value": "=", - "start": 15724, - "end": 15725, + "start": 15867, + "end": 15868, "loc": { "start": { "line": 468, @@ -173881,8 +174047,8 @@ "binop": null }, "value": "params", - "start": 15726, - "end": 15732, + "start": 15869, + "end": 15875, "loc": { "start": { "line": 468, @@ -173907,8 +174073,8 @@ "binop": null, "updateContext": null }, - "start": 15732, - "end": 15733, + "start": 15875, + "end": 15876, "loc": { "start": { "line": 468, @@ -173933,8 +174099,8 @@ "binop": null }, "value": "parentMetaObjectId", - "start": 15733, - "end": 15751, + "start": 15876, + "end": 15894, "loc": { "start": { "line": 468, @@ -173959,8 +174125,8 @@ "binop": null, "updateContext": null }, - "start": 15751, - "end": 15752, + "start": 15894, + "end": 15895, "loc": { "start": { "line": 468, @@ -173987,8 +174153,8 @@ "updateContext": null }, "value": "const", - "start": 15762, - "end": 15767, + "start": 15905, + "end": 15910, "loc": { "start": { "line": 470, @@ -174013,8 +174179,8 @@ "binop": null }, "value": "metaObject", - "start": 15768, - "end": 15778, + "start": 15911, + "end": 15921, "loc": { "start": { "line": 470, @@ -174040,8 +174206,8 @@ "updateContext": null }, "value": "=", - "start": 15779, - "end": 15780, + "start": 15922, + "end": 15923, "loc": { "start": { "line": 470, @@ -174068,8 +174234,8 @@ "updateContext": null }, "value": "new", - "start": 15781, - "end": 15784, + "start": 15924, + "end": 15927, "loc": { "start": { "line": 470, @@ -174094,8 +174260,8 @@ "binop": null }, "value": "XKTMetaObject", - "start": 15785, - "end": 15798, + "start": 15928, + "end": 15941, "loc": { "start": { "line": 470, @@ -174119,8 +174285,8 @@ "postfix": false, "binop": null }, - "start": 15798, - "end": 15799, + "start": 15941, + "end": 15942, "loc": { "start": { "line": 470, @@ -174145,8 +174311,8 @@ "binop": null }, "value": "metaObjectId", - "start": 15799, - "end": 15811, + "start": 15942, + "end": 15954, "loc": { "start": { "line": 470, @@ -174171,8 +174337,8 @@ "binop": null, "updateContext": null }, - "start": 15811, - "end": 15812, + "start": 15954, + "end": 15955, "loc": { "start": { "line": 470, @@ -174197,8 +174363,8 @@ "binop": null }, "value": "propertySetIds", - "start": 15813, - "end": 15827, + "start": 15956, + "end": 15970, "loc": { "start": { "line": 470, @@ -174223,8 +174389,8 @@ "binop": null, "updateContext": null }, - "start": 15827, - "end": 15828, + "start": 15970, + "end": 15971, "loc": { "start": { "line": 470, @@ -174249,8 +174415,8 @@ "binop": null }, "value": "metaObjectType", - "start": 15829, - "end": 15843, + "start": 15972, + "end": 15986, "loc": { "start": { "line": 470, @@ -174275,8 +174441,8 @@ "binop": null, "updateContext": null }, - "start": 15843, - "end": 15844, + "start": 15986, + "end": 15987, "loc": { "start": { "line": 470, @@ -174301,8 +174467,8 @@ "binop": null }, "value": "metaObjectName", - "start": 15845, - "end": 15859, + "start": 15988, + "end": 16002, "loc": { "start": { "line": 470, @@ -174327,8 +174493,8 @@ "binop": null, "updateContext": null }, - "start": 15859, - "end": 15860, + "start": 16002, + "end": 16003, "loc": { "start": { "line": 470, @@ -174353,8 +174519,8 @@ "binop": null }, "value": "parentMetaObjectId", - "start": 15861, - "end": 15879, + "start": 16004, + "end": 16022, "loc": { "start": { "line": 470, @@ -174378,8 +174544,8 @@ "postfix": false, "binop": null }, - "start": 15879, - "end": 15880, + "start": 16022, + "end": 16023, "loc": { "start": { "line": 470, @@ -174404,8 +174570,8 @@ "binop": null, "updateContext": null }, - "start": 15880, - "end": 15881, + "start": 16023, + "end": 16024, "loc": { "start": { "line": 470, @@ -174432,8 +174598,8 @@ "updateContext": null }, "value": "this", - "start": 15891, - "end": 15895, + "start": 16034, + "end": 16038, "loc": { "start": { "line": 472, @@ -174458,8 +174624,8 @@ "binop": null, "updateContext": null }, - "start": 15895, - "end": 15896, + "start": 16038, + "end": 16039, "loc": { "start": { "line": 472, @@ -174484,8 +174650,8 @@ "binop": null }, "value": "metaObjects", - "start": 15896, - "end": 15907, + "start": 16039, + "end": 16050, "loc": { "start": { "line": 472, @@ -174510,8 +174676,8 @@ "binop": null, "updateContext": null }, - "start": 15907, - "end": 15908, + "start": 16050, + "end": 16051, "loc": { "start": { "line": 472, @@ -174536,8 +174702,8 @@ "binop": null }, "value": "metaObjectId", - "start": 15908, - "end": 15920, + "start": 16051, + "end": 16063, "loc": { "start": { "line": 472, @@ -174562,8 +174728,8 @@ "binop": null, "updateContext": null }, - "start": 15920, - "end": 15921, + "start": 16063, + "end": 16064, "loc": { "start": { "line": 472, @@ -174589,8 +174755,8 @@ "updateContext": null }, "value": "=", - "start": 15922, - "end": 15923, + "start": 16065, + "end": 16066, "loc": { "start": { "line": 472, @@ -174615,8 +174781,8 @@ "binop": null }, "value": "metaObject", - "start": 15924, - "end": 15934, + "start": 16067, + "end": 16077, "loc": { "start": { "line": 472, @@ -174641,8 +174807,8 @@ "binop": null, "updateContext": null }, - "start": 15934, - "end": 15935, + "start": 16077, + "end": 16078, "loc": { "start": { "line": 472, @@ -174669,8 +174835,8 @@ "updateContext": null }, "value": "this", - "start": 15944, - "end": 15948, + "start": 16087, + "end": 16091, "loc": { "start": { "line": 473, @@ -174695,8 +174861,8 @@ "binop": null, "updateContext": null }, - "start": 15948, - "end": 15949, + "start": 16091, + "end": 16092, "loc": { "start": { "line": 473, @@ -174721,8 +174887,8 @@ "binop": null }, "value": "metaObjectsList", - "start": 15949, - "end": 15964, + "start": 16092, + "end": 16107, "loc": { "start": { "line": 473, @@ -174747,8 +174913,8 @@ "binop": null, "updateContext": null }, - "start": 15964, - "end": 15965, + "start": 16107, + "end": 16108, "loc": { "start": { "line": 473, @@ -174773,8 +174939,8 @@ "binop": null }, "value": "push", - "start": 15965, - "end": 15969, + "start": 16108, + "end": 16112, "loc": { "start": { "line": 473, @@ -174798,8 +174964,8 @@ "postfix": false, "binop": null }, - "start": 15969, - "end": 15970, + "start": 16112, + "end": 16113, "loc": { "start": { "line": 473, @@ -174824,8 +174990,8 @@ "binop": null }, "value": "metaObject", - "start": 15970, - "end": 15980, + "start": 16113, + "end": 16123, "loc": { "start": { "line": 473, @@ -174849,8 +175015,8 @@ "postfix": false, "binop": null }, - "start": 15980, - "end": 15981, + "start": 16123, + "end": 16124, "loc": { "start": { "line": 473, @@ -174875,8 +175041,8 @@ "binop": null, "updateContext": null }, - "start": 15981, - "end": 15982, + "start": 16124, + "end": 16125, "loc": { "start": { "line": 473, @@ -174903,8 +175069,8 @@ "updateContext": null }, "value": "if", - "start": 15992, - "end": 15994, + "start": 16135, + "end": 16137, "loc": { "start": { "line": 475, @@ -174928,8 +175094,8 @@ "postfix": false, "binop": null }, - "start": 15995, - "end": 15996, + "start": 16138, + "end": 16139, "loc": { "start": { "line": 475, @@ -174955,8 +175121,8 @@ "updateContext": null }, "value": "!", - "start": 15996, - "end": 15997, + "start": 16139, + "end": 16140, "loc": { "start": { "line": 475, @@ -174981,8 +175147,8 @@ "binop": null }, "value": "parentMetaObjectId", - "start": 15997, - "end": 16015, + "start": 16140, + "end": 16158, "loc": { "start": { "line": 475, @@ -175006,8 +175172,8 @@ "postfix": false, "binop": null }, - "start": 16015, - "end": 16016, + "start": 16158, + "end": 16159, "loc": { "start": { "line": 475, @@ -175031,8 +175197,8 @@ "postfix": false, "binop": null }, - "start": 16017, - "end": 16018, + "start": 16160, + "end": 16161, "loc": { "start": { "line": 475, @@ -175059,8 +175225,8 @@ "updateContext": null }, "value": "if", - "start": 16031, - "end": 16033, + "start": 16174, + "end": 16176, "loc": { "start": { "line": 476, @@ -175084,8 +175250,8 @@ "postfix": false, "binop": null }, - "start": 16034, - "end": 16035, + "start": 16177, + "end": 16178, "loc": { "start": { "line": 476, @@ -175111,8 +175277,8 @@ "updateContext": null }, "value": "!", - "start": 16035, - "end": 16036, + "start": 16178, + "end": 16179, "loc": { "start": { "line": 476, @@ -175139,8 +175305,8 @@ "updateContext": null }, "value": "this", - "start": 16036, - "end": 16040, + "start": 16179, + "end": 16183, "loc": { "start": { "line": 476, @@ -175165,8 +175331,8 @@ "binop": null, "updateContext": null }, - "start": 16040, - "end": 16041, + "start": 16183, + "end": 16184, "loc": { "start": { "line": 476, @@ -175191,8 +175357,8 @@ "binop": null }, "value": "_rootMetaObject", - "start": 16041, - "end": 16056, + "start": 16184, + "end": 16199, "loc": { "start": { "line": 476, @@ -175216,8 +175382,8 @@ "postfix": false, "binop": null }, - "start": 16056, - "end": 16057, + "start": 16199, + "end": 16200, "loc": { "start": { "line": 476, @@ -175241,8 +175407,8 @@ "postfix": false, "binop": null }, - "start": 16058, - "end": 16059, + "start": 16201, + "end": 16202, "loc": { "start": { "line": 476, @@ -175269,8 +175435,8 @@ "updateContext": null }, "value": "this", - "start": 16076, - "end": 16080, + "start": 16219, + "end": 16223, "loc": { "start": { "line": 477, @@ -175295,8 +175461,8 @@ "binop": null, "updateContext": null }, - "start": 16080, - "end": 16081, + "start": 16223, + "end": 16224, "loc": { "start": { "line": 477, @@ -175321,8 +175487,8 @@ "binop": null }, "value": "_rootMetaObject", - "start": 16081, - "end": 16096, + "start": 16224, + "end": 16239, "loc": { "start": { "line": 477, @@ -175348,8 +175514,8 @@ "updateContext": null }, "value": "=", - "start": 16097, - "end": 16098, + "start": 16240, + "end": 16241, "loc": { "start": { "line": 477, @@ -175374,8 +175540,8 @@ "binop": null }, "value": "metaObject", - "start": 16099, - "end": 16109, + "start": 16242, + "end": 16252, "loc": { "start": { "line": 477, @@ -175400,8 +175566,8 @@ "binop": null, "updateContext": null }, - "start": 16109, - "end": 16110, + "start": 16252, + "end": 16253, "loc": { "start": { "line": 477, @@ -175425,8 +175591,8 @@ "postfix": false, "binop": null }, - "start": 16123, - "end": 16124, + "start": 16266, + "end": 16267, "loc": { "start": { "line": 478, @@ -175450,8 +175616,8 @@ "postfix": false, "binop": null }, - "start": 16133, - "end": 16134, + "start": 16276, + "end": 16277, "loc": { "start": { "line": 479, @@ -175478,8 +175644,8 @@ "updateContext": null }, "value": "return", - "start": 16144, - "end": 16150, + "start": 16287, + "end": 16293, "loc": { "start": { "line": 481, @@ -175504,8 +175670,8 @@ "binop": null }, "value": "metaObject", - "start": 16151, - "end": 16161, + "start": 16294, + "end": 16304, "loc": { "start": { "line": 481, @@ -175530,8 +175696,8 @@ "binop": null, "updateContext": null }, - "start": 16161, - "end": 16162, + "start": 16304, + "end": 16305, "loc": { "start": { "line": 481, @@ -175555,8 +175721,8 @@ "postfix": false, "binop": null }, - "start": 16167, - "end": 16168, + "start": 16310, + "end": 16311, "loc": { "start": { "line": 482, @@ -175571,8 +175737,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTexture} within this XKTModel.\n *\n * Registers the new {@link XKTTexture} in {@link XKTModel#textures} and {@link XKTModel#texturesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureId Unique ID for the {@link XKTTexture}.\n * @param {String} [params.src] Source of an image file for the texture.\n * @param {Buffer} [params.imageData] Image data for the texture.\n * @param {Number} [params.mediaType] Media type (ie. MIME type) of ````imageData````. Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n * @param {Number} [params.width] Texture width, used with ````imageData````. Ignored for compressed textures.\n * @param {Number} [params.height] Texture height, used with ````imageData````. Ignored for compressed textures.\n * @param {Boolean} [params.compressed=true] Whether to compress the texture.\n * @param {Number} [params.minFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers less than one pixel. Supported\n * values are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter}, {@link NearestMipMapNearestFilter},\n * {@link NearestMipMapLinearFilter} and {@link LinearMipMapLinearFilter}. Ignored for compressed textures.\n * @param {Number} [params.magFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}. Ignored for compressed textures.\n * @param {Number} [params.wrapS=RepeatWrapping] Wrap parameter for texture coordinate *S*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @param {Number} [params.wrapT=RepeatWrapping] Wrap parameter for texture coordinate *T*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * {@param {Number} [params.wrapR=RepeatWrapping] Wrap parameter for texture coordinate *R*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @returns {XKTTexture} The new {@link XKTTexture}.\n ", - "start": 16174, - "end": 18662, + "start": 16317, + "end": 18805, "loc": { "start": { "line": 484, @@ -175597,8 +175763,8 @@ "binop": null }, "value": "createTexture", - "start": 18667, - "end": 18680, + "start": 18810, + "end": 18823, "loc": { "start": { "line": 512, @@ -175622,8 +175788,8 @@ "postfix": false, "binop": null }, - "start": 18680, - "end": 18681, + "start": 18823, + "end": 18824, "loc": { "start": { "line": 512, @@ -175648,8 +175814,8 @@ "binop": null }, "value": "params", - "start": 18681, - "end": 18687, + "start": 18824, + "end": 18830, "loc": { "start": { "line": 512, @@ -175673,8 +175839,8 @@ "postfix": false, "binop": null }, - "start": 18687, - "end": 18688, + "start": 18830, + "end": 18831, "loc": { "start": { "line": 512, @@ -175698,8 +175864,8 @@ "postfix": false, "binop": null }, - "start": 18689, - "end": 18690, + "start": 18832, + "end": 18833, "loc": { "start": { "line": 512, @@ -175726,8 +175892,8 @@ "updateContext": null }, "value": "if", - "start": 18700, - "end": 18702, + "start": 18843, + "end": 18845, "loc": { "start": { "line": 514, @@ -175751,8 +175917,8 @@ "postfix": false, "binop": null }, - "start": 18703, - "end": 18704, + "start": 18846, + "end": 18847, "loc": { "start": { "line": 514, @@ -175778,8 +175944,8 @@ "updateContext": null }, "value": "!", - "start": 18704, - "end": 18705, + "start": 18847, + "end": 18848, "loc": { "start": { "line": 514, @@ -175804,8 +175970,8 @@ "binop": null }, "value": "params", - "start": 18705, - "end": 18711, + "start": 18848, + "end": 18854, "loc": { "start": { "line": 514, @@ -175829,8 +175995,8 @@ "postfix": false, "binop": null }, - "start": 18711, - "end": 18712, + "start": 18854, + "end": 18855, "loc": { "start": { "line": 514, @@ -175854,8 +176020,8 @@ "postfix": false, "binop": null }, - "start": 18713, - "end": 18714, + "start": 18856, + "end": 18857, "loc": { "start": { "line": 514, @@ -175882,8 +176048,8 @@ "updateContext": null }, "value": "throw", - "start": 18727, - "end": 18732, + "start": 18870, + "end": 18875, "loc": { "start": { "line": 515, @@ -175908,9 +176074,9 @@ "binop": null, "updateContext": null }, - "value": "Parameters expected: params", - "start": 18733, - "end": 18762, + "value": "[XKTModel.createTexture] Parameters expected: params", + "start": 18876, + "end": 18930, "loc": { "start": { "line": 515, @@ -175918,7 +176084,7 @@ }, "end": { "line": 515, - "column": 47 + "column": 72 } } }, @@ -175935,16 +176101,16 @@ "binop": null, "updateContext": null }, - "start": 18762, - "end": 18763, + "start": 18930, + "end": 18931, "loc": { "start": { "line": 515, - "column": 47 + "column": 72 }, "end": { "line": 515, - "column": 48 + "column": 73 } } }, @@ -175960,8 +176126,8 @@ "postfix": false, "binop": null }, - "start": 18772, - "end": 18773, + "start": 18940, + "end": 18941, "loc": { "start": { "line": 516, @@ -175988,8 +176154,8 @@ "updateContext": null }, "value": "if", - "start": 18783, - "end": 18785, + "start": 18951, + "end": 18953, "loc": { "start": { "line": 518, @@ -176013,8 +176179,8 @@ "postfix": false, "binop": null }, - "start": 18786, - "end": 18787, + "start": 18954, + "end": 18955, "loc": { "start": { "line": 518, @@ -176039,8 +176205,8 @@ "binop": null }, "value": "params", - "start": 18787, - "end": 18793, + "start": 18955, + "end": 18961, "loc": { "start": { "line": 518, @@ -176065,8 +176231,8 @@ "binop": null, "updateContext": null }, - "start": 18793, - "end": 18794, + "start": 18961, + "end": 18962, "loc": { "start": { "line": 518, @@ -176091,8 +176257,8 @@ "binop": null }, "value": "textureId", - "start": 18794, - "end": 18803, + "start": 18962, + "end": 18971, "loc": { "start": { "line": 518, @@ -176118,8 +176284,8 @@ "updateContext": null }, "value": "===", - "start": 18804, - "end": 18807, + "start": 18972, + "end": 18975, "loc": { "start": { "line": 518, @@ -176146,8 +176312,8 @@ "updateContext": null }, "value": "null", - "start": 18808, - "end": 18812, + "start": 18976, + "end": 18980, "loc": { "start": { "line": 518, @@ -176173,8 +176339,8 @@ "updateContext": null }, "value": "||", - "start": 18813, - "end": 18815, + "start": 18981, + "end": 18983, "loc": { "start": { "line": 518, @@ -176199,8 +176365,8 @@ "binop": null }, "value": "params", - "start": 18816, - "end": 18822, + "start": 18984, + "end": 18990, "loc": { "start": { "line": 518, @@ -176225,8 +176391,8 @@ "binop": null, "updateContext": null }, - "start": 18822, - "end": 18823, + "start": 18990, + "end": 18991, "loc": { "start": { "line": 518, @@ -176251,8 +176417,8 @@ "binop": null }, "value": "textureId", - "start": 18823, - "end": 18832, + "start": 18991, + "end": 19000, "loc": { "start": { "line": 518, @@ -176278,8 +176444,8 @@ "updateContext": null }, "value": "===", - "start": 18833, - "end": 18836, + "start": 19001, + "end": 19004, "loc": { "start": { "line": 518, @@ -176304,8 +176470,8 @@ "binop": null }, "value": "undefined", - "start": 18837, - "end": 18846, + "start": 19005, + "end": 19014, "loc": { "start": { "line": 518, @@ -176329,8 +176495,8 @@ "postfix": false, "binop": null }, - "start": 18846, - "end": 18847, + "start": 19014, + "end": 19015, "loc": { "start": { "line": 518, @@ -176354,8 +176520,8 @@ "postfix": false, "binop": null }, - "start": 18848, - "end": 18849, + "start": 19016, + "end": 19017, "loc": { "start": { "line": 518, @@ -176382,8 +176548,8 @@ "updateContext": null }, "value": "throw", - "start": 18862, - "end": 18867, + "start": 19030, + "end": 19035, "loc": { "start": { "line": 519, @@ -176408,9 +176574,9 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.textureId", - "start": 18868, - "end": 18906, + "value": "[XKTModel.createTexture] Parameter expected: params.textureId", + "start": 19036, + "end": 19099, "loc": { "start": { "line": 519, @@ -176418,7 +176584,7 @@ }, "end": { "line": 519, - "column": 56 + "column": 81 } } }, @@ -176435,16 +176601,16 @@ "binop": null, "updateContext": null }, - "start": 18906, - "end": 18907, + "start": 19099, + "end": 19100, "loc": { "start": { "line": 519, - "column": 56 + "column": 81 }, "end": { "line": 519, - "column": 57 + "column": 82 } } }, @@ -176460,8 +176626,8 @@ "postfix": false, "binop": null }, - "start": 18916, - "end": 18917, + "start": 19109, + "end": 19110, "loc": { "start": { "line": 520, @@ -176488,8 +176654,8 @@ "updateContext": null }, "value": "if", - "start": 18927, - "end": 18929, + "start": 19120, + "end": 19122, "loc": { "start": { "line": 522, @@ -176513,8 +176679,8 @@ "postfix": false, "binop": null }, - "start": 18930, - "end": 18931, + "start": 19123, + "end": 19124, "loc": { "start": { "line": 522, @@ -176540,8 +176706,8 @@ "updateContext": null }, "value": "!", - "start": 18931, - "end": 18932, + "start": 19124, + "end": 19125, "loc": { "start": { "line": 522, @@ -176566,8 +176732,8 @@ "binop": null }, "value": "params", - "start": 18932, - "end": 18938, + "start": 19125, + "end": 19131, "loc": { "start": { "line": 522, @@ -176592,8 +176758,8 @@ "binop": null, "updateContext": null }, - "start": 18938, - "end": 18939, + "start": 19131, + "end": 19132, "loc": { "start": { "line": 522, @@ -176618,8 +176784,8 @@ "binop": null }, "value": "imageData", - "start": 18939, - "end": 18948, + "start": 19132, + "end": 19141, "loc": { "start": { "line": 522, @@ -176645,8 +176811,8 @@ "updateContext": null }, "value": "&&", - "start": 18949, - "end": 18951, + "start": 19142, + "end": 19144, "loc": { "start": { "line": 522, @@ -176672,8 +176838,8 @@ "updateContext": null }, "value": "!", - "start": 18952, - "end": 18953, + "start": 19145, + "end": 19146, "loc": { "start": { "line": 522, @@ -176698,8 +176864,8 @@ "binop": null }, "value": "params", - "start": 18953, - "end": 18959, + "start": 19146, + "end": 19152, "loc": { "start": { "line": 522, @@ -176724,8 +176890,8 @@ "binop": null, "updateContext": null }, - "start": 18959, - "end": 18960, + "start": 19152, + "end": 19153, "loc": { "start": { "line": 522, @@ -176750,8 +176916,8 @@ "binop": null }, "value": "src", - "start": 18960, - "end": 18963, + "start": 19153, + "end": 19156, "loc": { "start": { "line": 522, @@ -176775,8 +176941,8 @@ "postfix": false, "binop": null }, - "start": 18963, - "end": 18964, + "start": 19156, + "end": 19157, "loc": { "start": { "line": 522, @@ -176800,8 +176966,8 @@ "postfix": false, "binop": null }, - "start": 18965, - "end": 18966, + "start": 19158, + "end": 19159, "loc": { "start": { "line": 522, @@ -176828,8 +176994,8 @@ "updateContext": null }, "value": "throw", - "start": 18979, - "end": 18984, + "start": 19172, + "end": 19177, "loc": { "start": { "line": 523, @@ -176854,9 +177020,9 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.imageData or params.src", - "start": 18985, - "end": 19037, + "value": "[XKTModel.createTexture] Parameter expected: params.imageData or params.src", + "start": 19178, + "end": 19255, "loc": { "start": { "line": 523, @@ -176864,7 +177030,7 @@ }, "end": { "line": 523, - "column": 70 + "column": 95 } } }, @@ -176881,16 +177047,16 @@ "binop": null, "updateContext": null }, - "start": 19037, - "end": 19038, + "start": 19255, + "end": 19256, "loc": { "start": { "line": 523, - "column": 70 + "column": 95 }, "end": { "line": 523, - "column": 71 + "column": 96 } } }, @@ -176906,8 +177072,8 @@ "postfix": false, "binop": null }, - "start": 19047, - "end": 19048, + "start": 19265, + "end": 19266, "loc": { "start": { "line": 524, @@ -176934,8 +177100,8 @@ "updateContext": null }, "value": "if", - "start": 19058, - "end": 19060, + "start": 19276, + "end": 19278, "loc": { "start": { "line": 526, @@ -176959,8 +177125,8 @@ "postfix": false, "binop": null }, - "start": 19061, - "end": 19062, + "start": 19279, + "end": 19280, "loc": { "start": { "line": 526, @@ -176987,8 +177153,8 @@ "updateContext": null }, "value": "this", - "start": 19062, - "end": 19066, + "start": 19280, + "end": 19284, "loc": { "start": { "line": 526, @@ -177013,8 +177179,8 @@ "binop": null, "updateContext": null }, - "start": 19066, - "end": 19067, + "start": 19284, + "end": 19285, "loc": { "start": { "line": 526, @@ -177039,8 +177205,8 @@ "binop": null }, "value": "finalized", - "start": 19067, - "end": 19076, + "start": 19285, + "end": 19294, "loc": { "start": { "line": 526, @@ -177064,8 +177230,8 @@ "postfix": false, "binop": null }, - "start": 19076, - "end": 19077, + "start": 19294, + "end": 19295, "loc": { "start": { "line": 526, @@ -177089,8 +177255,8 @@ "postfix": false, "binop": null }, - "start": 19078, - "end": 19079, + "start": 19296, + "end": 19297, "loc": { "start": { "line": 526, @@ -177115,8 +177281,8 @@ "binop": null }, "value": "console", - "start": 19092, - "end": 19099, + "start": 19310, + "end": 19317, "loc": { "start": { "line": 527, @@ -177141,8 +177307,8 @@ "binop": null, "updateContext": null }, - "start": 19099, - "end": 19100, + "start": 19317, + "end": 19318, "loc": { "start": { "line": 527, @@ -177167,8 +177333,8 @@ "binop": null }, "value": "error", - "start": 19100, - "end": 19105, + "start": 19318, + "end": 19323, "loc": { "start": { "line": 527, @@ -177192,8 +177358,8 @@ "postfix": false, "binop": null }, - "start": 19105, - "end": 19106, + "start": 19323, + "end": 19324, "loc": { "start": { "line": 527, @@ -177219,8 +177385,8 @@ "updateContext": null }, "value": "XKTModel has been finalized, can't add more textures", - "start": 19106, - "end": 19160, + "start": 19324, + "end": 19378, "loc": { "start": { "line": 527, @@ -177244,8 +177410,8 @@ "postfix": false, "binop": null }, - "start": 19160, - "end": 19161, + "start": 19378, + "end": 19379, "loc": { "start": { "line": 527, @@ -177270,8 +177436,8 @@ "binop": null, "updateContext": null }, - "start": 19161, - "end": 19162, + "start": 19379, + "end": 19380, "loc": { "start": { "line": 527, @@ -177298,8 +177464,8 @@ "updateContext": null }, "value": "return", - "start": 19175, - "end": 19181, + "start": 19393, + "end": 19399, "loc": { "start": { "line": 528, @@ -177324,8 +177490,8 @@ "binop": null, "updateContext": null }, - "start": 19181, - "end": 19182, + "start": 19399, + "end": 19400, "loc": { "start": { "line": 528, @@ -177349,8 +177515,8 @@ "postfix": false, "binop": null }, - "start": 19191, - "end": 19192, + "start": 19409, + "end": 19410, "loc": { "start": { "line": 529, @@ -177377,8 +177543,8 @@ "updateContext": null }, "value": "if", - "start": 19202, - "end": 19204, + "start": 19420, + "end": 19422, "loc": { "start": { "line": 531, @@ -177402,8 +177568,8 @@ "postfix": false, "binop": null }, - "start": 19205, - "end": 19206, + "start": 19423, + "end": 19424, "loc": { "start": { "line": 531, @@ -177430,8 +177596,8 @@ "updateContext": null }, "value": "this", - "start": 19206, - "end": 19210, + "start": 19424, + "end": 19428, "loc": { "start": { "line": 531, @@ -177456,8 +177622,8 @@ "binop": null, "updateContext": null }, - "start": 19210, - "end": 19211, + "start": 19428, + "end": 19429, "loc": { "start": { "line": 531, @@ -177482,8 +177648,8 @@ "binop": null }, "value": "textures", - "start": 19211, - "end": 19219, + "start": 19429, + "end": 19437, "loc": { "start": { "line": 531, @@ -177508,8 +177674,8 @@ "binop": null, "updateContext": null }, - "start": 19219, - "end": 19220, + "start": 19437, + "end": 19438, "loc": { "start": { "line": 531, @@ -177534,8 +177700,8 @@ "binop": null }, "value": "params", - "start": 19220, - "end": 19226, + "start": 19438, + "end": 19444, "loc": { "start": { "line": 531, @@ -177560,8 +177726,8 @@ "binop": null, "updateContext": null }, - "start": 19226, - "end": 19227, + "start": 19444, + "end": 19445, "loc": { "start": { "line": 531, @@ -177586,8 +177752,8 @@ "binop": null }, "value": "textureId", - "start": 19227, - "end": 19236, + "start": 19445, + "end": 19454, "loc": { "start": { "line": 531, @@ -177612,8 +177778,8 @@ "binop": null, "updateContext": null }, - "start": 19236, - "end": 19237, + "start": 19454, + "end": 19455, "loc": { "start": { "line": 531, @@ -177637,8 +177803,8 @@ "postfix": false, "binop": null }, - "start": 19237, - "end": 19238, + "start": 19455, + "end": 19456, "loc": { "start": { "line": 531, @@ -177662,8 +177828,8 @@ "postfix": false, "binop": null }, - "start": 19239, - "end": 19240, + "start": 19457, + "end": 19458, "loc": { "start": { "line": 531, @@ -177688,8 +177854,8 @@ "binop": null }, "value": "console", - "start": 19253, - "end": 19260, + "start": 19471, + "end": 19478, "loc": { "start": { "line": 532, @@ -177714,8 +177880,8 @@ "binop": null, "updateContext": null }, - "start": 19260, - "end": 19261, + "start": 19478, + "end": 19479, "loc": { "start": { "line": 532, @@ -177740,8 +177906,8 @@ "binop": null }, "value": "error", - "start": 19261, - "end": 19266, + "start": 19479, + "end": 19484, "loc": { "start": { "line": 532, @@ -177765,8 +177931,8 @@ "postfix": false, "binop": null }, - "start": 19266, - "end": 19267, + "start": 19484, + "end": 19485, "loc": { "start": { "line": 532, @@ -177792,8 +177958,8 @@ "updateContext": null }, "value": "XKTTexture already exists with this ID: ", - "start": 19267, - "end": 19309, + "start": 19485, + "end": 19527, "loc": { "start": { "line": 532, @@ -177819,8 +177985,8 @@ "updateContext": null }, "value": "+", - "start": 19310, - "end": 19311, + "start": 19528, + "end": 19529, "loc": { "start": { "line": 532, @@ -177845,8 +178011,8 @@ "binop": null }, "value": "params", - "start": 19312, - "end": 19318, + "start": 19530, + "end": 19536, "loc": { "start": { "line": 532, @@ -177871,8 +178037,8 @@ "binop": null, "updateContext": null }, - "start": 19318, - "end": 19319, + "start": 19536, + "end": 19537, "loc": { "start": { "line": 532, @@ -177897,8 +178063,8 @@ "binop": null }, "value": "textureId", - "start": 19319, - "end": 19328, + "start": 19537, + "end": 19546, "loc": { "start": { "line": 532, @@ -177922,8 +178088,8 @@ "postfix": false, "binop": null }, - "start": 19328, - "end": 19329, + "start": 19546, + "end": 19547, "loc": { "start": { "line": 532, @@ -177948,8 +178114,8 @@ "binop": null, "updateContext": null }, - "start": 19329, - "end": 19330, + "start": 19547, + "end": 19548, "loc": { "start": { "line": 532, @@ -177976,8 +178142,8 @@ "updateContext": null }, "value": "return", - "start": 19343, - "end": 19349, + "start": 19561, + "end": 19567, "loc": { "start": { "line": 533, @@ -178002,8 +178168,8 @@ "binop": null, "updateContext": null }, - "start": 19349, - "end": 19350, + "start": 19567, + "end": 19568, "loc": { "start": { "line": 533, @@ -178027,8 +178193,8 @@ "postfix": false, "binop": null }, - "start": 19359, - "end": 19360, + "start": 19577, + "end": 19578, "loc": { "start": { "line": 534, @@ -178055,8 +178221,8 @@ "updateContext": null }, "value": "if", - "start": 19370, - "end": 19372, + "start": 19588, + "end": 19590, "loc": { "start": { "line": 536, @@ -178080,8 +178246,8 @@ "postfix": false, "binop": null }, - "start": 19373, - "end": 19374, + "start": 19591, + "end": 19592, "loc": { "start": { "line": 536, @@ -178106,8 +178272,8 @@ "binop": null }, "value": "params", - "start": 19374, - "end": 19380, + "start": 19592, + "end": 19598, "loc": { "start": { "line": 536, @@ -178132,8 +178298,8 @@ "binop": null, "updateContext": null }, - "start": 19380, - "end": 19381, + "start": 19598, + "end": 19599, "loc": { "start": { "line": 536, @@ -178158,8 +178324,8 @@ "binop": null }, "value": "src", - "start": 19381, - "end": 19384, + "start": 19599, + "end": 19602, "loc": { "start": { "line": 536, @@ -178183,8 +178349,8 @@ "postfix": false, "binop": null }, - "start": 19384, - "end": 19385, + "start": 19602, + "end": 19603, "loc": { "start": { "line": 536, @@ -178208,8 +178374,8 @@ "postfix": false, "binop": null }, - "start": 19386, - "end": 19387, + "start": 19604, + "end": 19605, "loc": { "start": { "line": 536, @@ -178236,8 +178402,8 @@ "updateContext": null }, "value": "const", - "start": 19400, - "end": 19405, + "start": 19618, + "end": 19623, "loc": { "start": { "line": 537, @@ -178262,8 +178428,8 @@ "binop": null }, "value": "fileExt", - "start": 19406, - "end": 19413, + "start": 19624, + "end": 19631, "loc": { "start": { "line": 537, @@ -178289,8 +178455,8 @@ "updateContext": null }, "value": "=", - "start": 19414, - "end": 19415, + "start": 19632, + "end": 19633, "loc": { "start": { "line": 537, @@ -178315,8 +178481,8 @@ "binop": null }, "value": "params", - "start": 19416, - "end": 19422, + "start": 19634, + "end": 19640, "loc": { "start": { "line": 537, @@ -178341,8 +178507,8 @@ "binop": null, "updateContext": null }, - "start": 19422, - "end": 19423, + "start": 19640, + "end": 19641, "loc": { "start": { "line": 537, @@ -178367,8 +178533,8 @@ "binop": null }, "value": "src", - "start": 19423, - "end": 19426, + "start": 19641, + "end": 19644, "loc": { "start": { "line": 537, @@ -178393,8 +178559,8 @@ "binop": null, "updateContext": null }, - "start": 19426, - "end": 19427, + "start": 19644, + "end": 19645, "loc": { "start": { "line": 537, @@ -178419,8 +178585,8 @@ "binop": null }, "value": "split", - "start": 19427, - "end": 19432, + "start": 19645, + "end": 19650, "loc": { "start": { "line": 537, @@ -178444,8 +178610,8 @@ "postfix": false, "binop": null }, - "start": 19432, - "end": 19433, + "start": 19650, + "end": 19651, "loc": { "start": { "line": 537, @@ -178471,8 +178637,8 @@ "updateContext": null }, "value": ".", - "start": 19433, - "end": 19436, + "start": 19651, + "end": 19654, "loc": { "start": { "line": 537, @@ -178496,8 +178662,8 @@ "postfix": false, "binop": null }, - "start": 19436, - "end": 19437, + "start": 19654, + "end": 19655, "loc": { "start": { "line": 537, @@ -178522,8 +178688,8 @@ "binop": null, "updateContext": null }, - "start": 19437, - "end": 19438, + "start": 19655, + "end": 19656, "loc": { "start": { "line": 537, @@ -178548,8 +178714,8 @@ "binop": null }, "value": "pop", - "start": 19438, - "end": 19441, + "start": 19656, + "end": 19659, "loc": { "start": { "line": 537, @@ -178573,8 +178739,8 @@ "postfix": false, "binop": null }, - "start": 19441, - "end": 19442, + "start": 19659, + "end": 19660, "loc": { "start": { "line": 537, @@ -178598,8 +178764,8 @@ "postfix": false, "binop": null }, - "start": 19442, - "end": 19443, + "start": 19660, + "end": 19661, "loc": { "start": { "line": 537, @@ -178624,8 +178790,8 @@ "binop": null, "updateContext": null }, - "start": 19443, - "end": 19444, + "start": 19661, + "end": 19662, "loc": { "start": { "line": 537, @@ -178652,8 +178818,8 @@ "updateContext": null }, "value": "if", - "start": 19457, - "end": 19459, + "start": 19675, + "end": 19677, "loc": { "start": { "line": 538, @@ -178677,8 +178843,8 @@ "postfix": false, "binop": null }, - "start": 19460, - "end": 19461, + "start": 19678, + "end": 19679, "loc": { "start": { "line": 538, @@ -178703,8 +178869,8 @@ "binop": null }, "value": "fileExt", - "start": 19461, - "end": 19468, + "start": 19679, + "end": 19686, "loc": { "start": { "line": 538, @@ -178730,8 +178896,8 @@ "updateContext": null }, "value": "!==", - "start": 19469, - "end": 19472, + "start": 19687, + "end": 19690, "loc": { "start": { "line": 538, @@ -178757,8 +178923,8 @@ "updateContext": null }, "value": "jpg", - "start": 19473, - "end": 19478, + "start": 19691, + "end": 19696, "loc": { "start": { "line": 538, @@ -178784,8 +178950,8 @@ "updateContext": null }, "value": "&&", - "start": 19479, - "end": 19481, + "start": 19697, + "end": 19699, "loc": { "start": { "line": 538, @@ -178810,8 +178976,8 @@ "binop": null }, "value": "fileExt", - "start": 19482, - "end": 19489, + "start": 19700, + "end": 19707, "loc": { "start": { "line": 538, @@ -178837,8 +179003,8 @@ "updateContext": null }, "value": "!==", - "start": 19490, - "end": 19493, + "start": 19708, + "end": 19711, "loc": { "start": { "line": 538, @@ -178864,8 +179030,8 @@ "updateContext": null }, "value": "jpeg", - "start": 19494, - "end": 19500, + "start": 19712, + "end": 19718, "loc": { "start": { "line": 538, @@ -178891,8 +179057,8 @@ "updateContext": null }, "value": "&&", - "start": 19501, - "end": 19503, + "start": 19719, + "end": 19721, "loc": { "start": { "line": 538, @@ -178917,8 +179083,8 @@ "binop": null }, "value": "fileExt", - "start": 19504, - "end": 19511, + "start": 19722, + "end": 19729, "loc": { "start": { "line": 538, @@ -178944,8 +179110,8 @@ "updateContext": null }, "value": "!==", - "start": 19512, - "end": 19515, + "start": 19730, + "end": 19733, "loc": { "start": { "line": 538, @@ -178971,8 +179137,8 @@ "updateContext": null }, "value": "png", - "start": 19516, - "end": 19521, + "start": 19734, + "end": 19739, "loc": { "start": { "line": 538, @@ -178996,8 +179162,8 @@ "postfix": false, "binop": null }, - "start": 19521, - "end": 19522, + "start": 19739, + "end": 19740, "loc": { "start": { "line": 538, @@ -179021,8 +179187,8 @@ "postfix": false, "binop": null }, - "start": 19523, - "end": 19524, + "start": 19741, + "end": 19742, "loc": { "start": { "line": 538, @@ -179047,8 +179213,8 @@ "binop": null }, "value": "console", - "start": 19541, - "end": 19548, + "start": 19759, + "end": 19766, "loc": { "start": { "line": 539, @@ -179073,8 +179239,8 @@ "binop": null, "updateContext": null }, - "start": 19548, - "end": 19549, + "start": 19766, + "end": 19767, "loc": { "start": { "line": 539, @@ -179099,8 +179265,8 @@ "binop": null }, "value": "error", - "start": 19549, - "end": 19554, + "start": 19767, + "end": 19772, "loc": { "start": { "line": 539, @@ -179124,8 +179290,8 @@ "postfix": false, "binop": null }, - "start": 19554, - "end": 19555, + "start": 19772, + "end": 19773, "loc": { "start": { "line": 539, @@ -179149,8 +179315,8 @@ "postfix": false, "binop": null }, - "start": 19555, - "end": 19556, + "start": 19773, + "end": 19774, "loc": { "start": { "line": 539, @@ -179176,8 +179342,8 @@ "updateContext": null }, "value": "XKTModel does not support image files with extension '", - "start": 19556, - "end": 19610, + "start": 19774, + "end": 19828, "loc": { "start": { "line": 539, @@ -179201,8 +179367,8 @@ "postfix": false, "binop": null }, - "start": 19610, - "end": 19612, + "start": 19828, + "end": 19830, "loc": { "start": { "line": 539, @@ -179227,8 +179393,8 @@ "binop": null }, "value": "fileExt", - "start": 19612, - "end": 19619, + "start": 19830, + "end": 19837, "loc": { "start": { "line": 539, @@ -179252,8 +179418,8 @@ "postfix": false, "binop": null }, - "start": 19619, - "end": 19620, + "start": 19837, + "end": 19838, "loc": { "start": { "line": 539, @@ -179279,8 +179445,8 @@ "updateContext": null }, "value": "' - won't create texture '", - "start": 19620, - "end": 19646, + "start": 19838, + "end": 19864, "loc": { "start": { "line": 539, @@ -179304,8 +179470,8 @@ "postfix": false, "binop": null }, - "start": 19646, - "end": 19648, + "start": 19864, + "end": 19866, "loc": { "start": { "line": 539, @@ -179330,8 +179496,8 @@ "binop": null }, "value": "params", - "start": 19648, - "end": 19654, + "start": 19866, + "end": 19872, "loc": { "start": { "line": 539, @@ -179356,8 +179522,8 @@ "binop": null, "updateContext": null }, - "start": 19654, - "end": 19655, + "start": 19872, + "end": 19873, "loc": { "start": { "line": 539, @@ -179382,8 +179548,8 @@ "binop": null }, "value": "textureId", - "start": 19655, - "end": 19664, + "start": 19873, + "end": 19882, "loc": { "start": { "line": 539, @@ -179407,8 +179573,8 @@ "postfix": false, "binop": null }, - "start": 19664, - "end": 19665, + "start": 19882, + "end": 19883, "loc": { "start": { "line": 539, @@ -179434,8 +179600,8 @@ "updateContext": null }, "value": "", - "start": 19665, - "end": 19665, + "start": 19883, + "end": 19883, "loc": { "start": { "line": 539, @@ -179459,8 +179625,8 @@ "postfix": false, "binop": null }, - "start": 19665, - "end": 19666, + "start": 19883, + "end": 19884, "loc": { "start": { "line": 539, @@ -179484,8 +179650,8 @@ "postfix": false, "binop": null }, - "start": 19666, - "end": 19667, + "start": 19884, + "end": 19885, "loc": { "start": { "line": 539, @@ -179510,8 +179676,8 @@ "binop": null, "updateContext": null }, - "start": 19667, - "end": 19668, + "start": 19885, + "end": 19886, "loc": { "start": { "line": 539, @@ -179538,8 +179704,8 @@ "updateContext": null }, "value": "return", - "start": 19685, - "end": 19691, + "start": 19903, + "end": 19909, "loc": { "start": { "line": 540, @@ -179564,8 +179730,8 @@ "binop": null, "updateContext": null }, - "start": 19691, - "end": 19692, + "start": 19909, + "end": 19910, "loc": { "start": { "line": 540, @@ -179589,8 +179755,8 @@ "postfix": false, "binop": null }, - "start": 19705, - "end": 19706, + "start": 19923, + "end": 19924, "loc": { "start": { "line": 541, @@ -179614,8 +179780,8 @@ "postfix": false, "binop": null }, - "start": 19715, - "end": 19716, + "start": 19933, + "end": 19934, "loc": { "start": { "line": 542, @@ -179642,8 +179808,8 @@ "updateContext": null }, "value": "const", - "start": 19726, - "end": 19731, + "start": 19944, + "end": 19949, "loc": { "start": { "line": 544, @@ -179668,8 +179834,8 @@ "binop": null }, "value": "textureId", - "start": 19732, - "end": 19741, + "start": 19950, + "end": 19959, "loc": { "start": { "line": 544, @@ -179695,8 +179861,8 @@ "updateContext": null }, "value": "=", - "start": 19742, - "end": 19743, + "start": 19960, + "end": 19961, "loc": { "start": { "line": 544, @@ -179721,8 +179887,8 @@ "binop": null }, "value": "params", - "start": 19744, - "end": 19750, + "start": 19962, + "end": 19968, "loc": { "start": { "line": 544, @@ -179747,8 +179913,8 @@ "binop": null, "updateContext": null }, - "start": 19750, - "end": 19751, + "start": 19968, + "end": 19969, "loc": { "start": { "line": 544, @@ -179773,8 +179939,8 @@ "binop": null }, "value": "textureId", - "start": 19751, - "end": 19760, + "start": 19969, + "end": 19978, "loc": { "start": { "line": 544, @@ -179799,8 +179965,8 @@ "binop": null, "updateContext": null }, - "start": 19760, - "end": 19761, + "start": 19978, + "end": 19979, "loc": { "start": { "line": 544, @@ -179827,8 +179993,8 @@ "updateContext": null }, "value": "const", - "start": 19771, - "end": 19776, + "start": 19989, + "end": 19994, "loc": { "start": { "line": 546, @@ -179853,8 +180019,8 @@ "binop": null }, "value": "texture", - "start": 19777, - "end": 19784, + "start": 19995, + "end": 20002, "loc": { "start": { "line": 546, @@ -179880,8 +180046,8 @@ "updateContext": null }, "value": "=", - "start": 19785, - "end": 19786, + "start": 20003, + "end": 20004, "loc": { "start": { "line": 546, @@ -179908,8 +180074,8 @@ "updateContext": null }, "value": "new", - "start": 19787, - "end": 19790, + "start": 20005, + "end": 20008, "loc": { "start": { "line": 546, @@ -179934,8 +180100,8 @@ "binop": null }, "value": "XKTTexture", - "start": 19791, - "end": 19801, + "start": 20009, + "end": 20019, "loc": { "start": { "line": 546, @@ -179959,8 +180125,8 @@ "postfix": false, "binop": null }, - "start": 19801, - "end": 19802, + "start": 20019, + "end": 20020, "loc": { "start": { "line": 546, @@ -179984,8 +180150,8 @@ "postfix": false, "binop": null }, - "start": 19802, - "end": 19803, + "start": 20020, + "end": 20021, "loc": { "start": { "line": 546, @@ -180010,8 +180176,8 @@ "binop": null }, "value": "textureId", - "start": 19816, - "end": 19825, + "start": 20034, + "end": 20043, "loc": { "start": { "line": 547, @@ -180036,8 +180202,8 @@ "binop": null, "updateContext": null }, - "start": 19825, - "end": 19826, + "start": 20043, + "end": 20044, "loc": { "start": { "line": 547, @@ -180062,8 +180228,8 @@ "binop": null }, "value": "imageData", - "start": 19839, - "end": 19848, + "start": 20057, + "end": 20066, "loc": { "start": { "line": 548, @@ -180088,8 +180254,8 @@ "binop": null, "updateContext": null }, - "start": 19848, - "end": 19849, + "start": 20066, + "end": 20067, "loc": { "start": { "line": 548, @@ -180114,8 +180280,8 @@ "binop": null }, "value": "params", - "start": 19850, - "end": 19856, + "start": 20068, + "end": 20074, "loc": { "start": { "line": 548, @@ -180140,8 +180306,8 @@ "binop": null, "updateContext": null }, - "start": 19856, - "end": 19857, + "start": 20074, + "end": 20075, "loc": { "start": { "line": 548, @@ -180166,8 +180332,8 @@ "binop": null }, "value": "imageData", - "start": 19857, - "end": 19866, + "start": 20075, + "end": 20084, "loc": { "start": { "line": 548, @@ -180192,8 +180358,8 @@ "binop": null, "updateContext": null }, - "start": 19866, - "end": 19867, + "start": 20084, + "end": 20085, "loc": { "start": { "line": 548, @@ -180218,8 +180384,8 @@ "binop": null }, "value": "mediaType", - "start": 19880, - "end": 19889, + "start": 20098, + "end": 20107, "loc": { "start": { "line": 549, @@ -180244,8 +180410,8 @@ "binop": null, "updateContext": null }, - "start": 19889, - "end": 19890, + "start": 20107, + "end": 20108, "loc": { "start": { "line": 549, @@ -180270,8 +180436,8 @@ "binop": null }, "value": "params", - "start": 19891, - "end": 19897, + "start": 20109, + "end": 20115, "loc": { "start": { "line": 549, @@ -180296,8 +180462,8 @@ "binop": null, "updateContext": null }, - "start": 19897, - "end": 19898, + "start": 20115, + "end": 20116, "loc": { "start": { "line": 549, @@ -180322,8 +180488,8 @@ "binop": null }, "value": "mediaType", - "start": 19898, - "end": 19907, + "start": 20116, + "end": 20125, "loc": { "start": { "line": 549, @@ -180348,8 +180514,8 @@ "binop": null, "updateContext": null }, - "start": 19907, - "end": 19908, + "start": 20125, + "end": 20126, "loc": { "start": { "line": 549, @@ -180374,8 +180540,8 @@ "binop": null }, "value": "minFilter", - "start": 19921, - "end": 19930, + "start": 20139, + "end": 20148, "loc": { "start": { "line": 550, @@ -180400,8 +180566,8 @@ "binop": null, "updateContext": null }, - "start": 19930, - "end": 19931, + "start": 20148, + "end": 20149, "loc": { "start": { "line": 550, @@ -180426,8 +180592,8 @@ "binop": null }, "value": "params", - "start": 19932, - "end": 19938, + "start": 20150, + "end": 20156, "loc": { "start": { "line": 550, @@ -180452,8 +180618,8 @@ "binop": null, "updateContext": null }, - "start": 19938, - "end": 19939, + "start": 20156, + "end": 20157, "loc": { "start": { "line": 550, @@ -180478,8 +180644,8 @@ "binop": null }, "value": "minFilter", - "start": 19939, - "end": 19948, + "start": 20157, + "end": 20166, "loc": { "start": { "line": 550, @@ -180504,8 +180670,8 @@ "binop": null, "updateContext": null }, - "start": 19948, - "end": 19949, + "start": 20166, + "end": 20167, "loc": { "start": { "line": 550, @@ -180530,8 +180696,8 @@ "binop": null }, "value": "magFilter", - "start": 19962, - "end": 19971, + "start": 20180, + "end": 20189, "loc": { "start": { "line": 551, @@ -180556,8 +180722,8 @@ "binop": null, "updateContext": null }, - "start": 19971, - "end": 19972, + "start": 20189, + "end": 20190, "loc": { "start": { "line": 551, @@ -180582,8 +180748,8 @@ "binop": null }, "value": "params", - "start": 19973, - "end": 19979, + "start": 20191, + "end": 20197, "loc": { "start": { "line": 551, @@ -180608,8 +180774,8 @@ "binop": null, "updateContext": null }, - "start": 19979, - "end": 19980, + "start": 20197, + "end": 20198, "loc": { "start": { "line": 551, @@ -180634,8 +180800,8 @@ "binop": null }, "value": "magFilter", - "start": 19980, - "end": 19989, + "start": 20198, + "end": 20207, "loc": { "start": { "line": 551, @@ -180660,8 +180826,8 @@ "binop": null, "updateContext": null }, - "start": 19989, - "end": 19990, + "start": 20207, + "end": 20208, "loc": { "start": { "line": 551, @@ -180686,8 +180852,8 @@ "binop": null }, "value": "wrapS", - "start": 20003, - "end": 20008, + "start": 20221, + "end": 20226, "loc": { "start": { "line": 552, @@ -180712,8 +180878,8 @@ "binop": null, "updateContext": null }, - "start": 20008, - "end": 20009, + "start": 20226, + "end": 20227, "loc": { "start": { "line": 552, @@ -180738,8 +180904,8 @@ "binop": null }, "value": "params", - "start": 20010, - "end": 20016, + "start": 20228, + "end": 20234, "loc": { "start": { "line": 552, @@ -180764,8 +180930,8 @@ "binop": null, "updateContext": null }, - "start": 20016, - "end": 20017, + "start": 20234, + "end": 20235, "loc": { "start": { "line": 552, @@ -180790,8 +180956,8 @@ "binop": null }, "value": "wrapS", - "start": 20017, - "end": 20022, + "start": 20235, + "end": 20240, "loc": { "start": { "line": 552, @@ -180816,8 +180982,8 @@ "binop": null, "updateContext": null }, - "start": 20022, - "end": 20023, + "start": 20240, + "end": 20241, "loc": { "start": { "line": 552, @@ -180842,8 +181008,8 @@ "binop": null }, "value": "wrapT", - "start": 20036, - "end": 20041, + "start": 20254, + "end": 20259, "loc": { "start": { "line": 553, @@ -180868,8 +181034,8 @@ "binop": null, "updateContext": null }, - "start": 20041, - "end": 20042, + "start": 20259, + "end": 20260, "loc": { "start": { "line": 553, @@ -180894,8 +181060,8 @@ "binop": null }, "value": "params", - "start": 20043, - "end": 20049, + "start": 20261, + "end": 20267, "loc": { "start": { "line": 553, @@ -180920,8 +181086,8 @@ "binop": null, "updateContext": null }, - "start": 20049, - "end": 20050, + "start": 20267, + "end": 20268, "loc": { "start": { "line": 553, @@ -180946,8 +181112,8 @@ "binop": null }, "value": "wrapT", - "start": 20050, - "end": 20055, + "start": 20268, + "end": 20273, "loc": { "start": { "line": 553, @@ -180972,8 +181138,8 @@ "binop": null, "updateContext": null }, - "start": 20055, - "end": 20056, + "start": 20273, + "end": 20274, "loc": { "start": { "line": 553, @@ -180998,8 +181164,8 @@ "binop": null }, "value": "wrapR", - "start": 20069, - "end": 20074, + "start": 20287, + "end": 20292, "loc": { "start": { "line": 554, @@ -181024,8 +181190,8 @@ "binop": null, "updateContext": null }, - "start": 20074, - "end": 20075, + "start": 20292, + "end": 20293, "loc": { "start": { "line": 554, @@ -181050,8 +181216,8 @@ "binop": null }, "value": "params", - "start": 20076, - "end": 20082, + "start": 20294, + "end": 20300, "loc": { "start": { "line": 554, @@ -181076,8 +181242,8 @@ "binop": null, "updateContext": null }, - "start": 20082, - "end": 20083, + "start": 20300, + "end": 20301, "loc": { "start": { "line": 554, @@ -181102,8 +181268,8 @@ "binop": null }, "value": "wrapR", - "start": 20083, - "end": 20088, + "start": 20301, + "end": 20306, "loc": { "start": { "line": 554, @@ -181128,8 +181294,8 @@ "binop": null, "updateContext": null }, - "start": 20088, - "end": 20089, + "start": 20306, + "end": 20307, "loc": { "start": { "line": 554, @@ -181154,8 +181320,8 @@ "binop": null }, "value": "width", - "start": 20102, - "end": 20107, + "start": 20320, + "end": 20325, "loc": { "start": { "line": 555, @@ -181180,8 +181346,8 @@ "binop": null, "updateContext": null }, - "start": 20107, - "end": 20108, + "start": 20325, + "end": 20326, "loc": { "start": { "line": 555, @@ -181206,8 +181372,8 @@ "binop": null }, "value": "params", - "start": 20109, - "end": 20115, + "start": 20327, + "end": 20333, "loc": { "start": { "line": 555, @@ -181232,8 +181398,8 @@ "binop": null, "updateContext": null }, - "start": 20115, - "end": 20116, + "start": 20333, + "end": 20334, "loc": { "start": { "line": 555, @@ -181258,8 +181424,8 @@ "binop": null }, "value": "width", - "start": 20116, - "end": 20121, + "start": 20334, + "end": 20339, "loc": { "start": { "line": 555, @@ -181284,8 +181450,8 @@ "binop": null, "updateContext": null }, - "start": 20121, - "end": 20122, + "start": 20339, + "end": 20340, "loc": { "start": { "line": 555, @@ -181310,8 +181476,8 @@ "binop": null }, "value": "height", - "start": 20135, - "end": 20141, + "start": 20353, + "end": 20359, "loc": { "start": { "line": 556, @@ -181336,8 +181502,8 @@ "binop": null, "updateContext": null }, - "start": 20141, - "end": 20142, + "start": 20359, + "end": 20360, "loc": { "start": { "line": 556, @@ -181362,8 +181528,8 @@ "binop": null }, "value": "params", - "start": 20143, - "end": 20149, + "start": 20361, + "end": 20367, "loc": { "start": { "line": 556, @@ -181388,8 +181554,8 @@ "binop": null, "updateContext": null }, - "start": 20149, - "end": 20150, + "start": 20367, + "end": 20368, "loc": { "start": { "line": 556, @@ -181414,8 +181580,8 @@ "binop": null }, "value": "height", - "start": 20150, - "end": 20156, + "start": 20368, + "end": 20374, "loc": { "start": { "line": 556, @@ -181440,8 +181606,8 @@ "binop": null, "updateContext": null }, - "start": 20156, - "end": 20157, + "start": 20374, + "end": 20375, "loc": { "start": { "line": 556, @@ -181466,8 +181632,8 @@ "binop": null }, "value": "compressed", - "start": 20170, - "end": 20180, + "start": 20388, + "end": 20398, "loc": { "start": { "line": 557, @@ -181492,8 +181658,8 @@ "binop": null, "updateContext": null }, - "start": 20180, - "end": 20181, + "start": 20398, + "end": 20399, "loc": { "start": { "line": 557, @@ -181517,8 +181683,8 @@ "postfix": false, "binop": null }, - "start": 20182, - "end": 20183, + "start": 20400, + "end": 20401, "loc": { "start": { "line": 557, @@ -181543,8 +181709,8 @@ "binop": null }, "value": "params", - "start": 20183, - "end": 20189, + "start": 20401, + "end": 20407, "loc": { "start": { "line": 557, @@ -181569,8 +181735,8 @@ "binop": null, "updateContext": null }, - "start": 20189, - "end": 20190, + "start": 20407, + "end": 20408, "loc": { "start": { "line": 557, @@ -181595,8 +181761,8 @@ "binop": null }, "value": "compressed", - "start": 20190, - "end": 20200, + "start": 20408, + "end": 20418, "loc": { "start": { "line": 557, @@ -181622,8 +181788,8 @@ "updateContext": null }, "value": "!==", - "start": 20201, - "end": 20204, + "start": 20419, + "end": 20422, "loc": { "start": { "line": 557, @@ -181650,8 +181816,8 @@ "updateContext": null }, "value": "false", - "start": 20205, - "end": 20210, + "start": 20423, + "end": 20428, "loc": { "start": { "line": 557, @@ -181675,8 +181841,8 @@ "postfix": false, "binop": null }, - "start": 20210, - "end": 20211, + "start": 20428, + "end": 20429, "loc": { "start": { "line": 557, @@ -181701,8 +181867,8 @@ "binop": null, "updateContext": null }, - "start": 20211, - "end": 20212, + "start": 20429, + "end": 20430, "loc": { "start": { "line": 557, @@ -181727,8 +181893,8 @@ "binop": null }, "value": "src", - "start": 20225, - "end": 20228, + "start": 20443, + "end": 20446, "loc": { "start": { "line": 558, @@ -181753,8 +181919,8 @@ "binop": null, "updateContext": null }, - "start": 20228, - "end": 20229, + "start": 20446, + "end": 20447, "loc": { "start": { "line": 558, @@ -181779,8 +181945,8 @@ "binop": null }, "value": "params", - "start": 20230, - "end": 20236, + "start": 20448, + "end": 20454, "loc": { "start": { "line": 558, @@ -181805,8 +181971,8 @@ "binop": null, "updateContext": null }, - "start": 20236, - "end": 20237, + "start": 20454, + "end": 20455, "loc": { "start": { "line": 558, @@ -181831,8 +181997,8 @@ "binop": null }, "value": "src", - "start": 20237, - "end": 20240, + "start": 20455, + "end": 20458, "loc": { "start": { "line": 558, @@ -181856,8 +182022,8 @@ "postfix": false, "binop": null }, - "start": 20249, - "end": 20250, + "start": 20467, + "end": 20468, "loc": { "start": { "line": 559, @@ -181881,8 +182047,8 @@ "postfix": false, "binop": null }, - "start": 20250, - "end": 20251, + "start": 20468, + "end": 20469, "loc": { "start": { "line": 559, @@ -181907,8 +182073,8 @@ "binop": null, "updateContext": null }, - "start": 20251, - "end": 20252, + "start": 20469, + "end": 20470, "loc": { "start": { "line": 559, @@ -181935,8 +182101,8 @@ "updateContext": null }, "value": "this", - "start": 20262, - "end": 20266, + "start": 20480, + "end": 20484, "loc": { "start": { "line": 561, @@ -181961,8 +182127,8 @@ "binop": null, "updateContext": null }, - "start": 20266, - "end": 20267, + "start": 20484, + "end": 20485, "loc": { "start": { "line": 561, @@ -181987,8 +182153,8 @@ "binop": null }, "value": "textures", - "start": 20267, - "end": 20275, + "start": 20485, + "end": 20493, "loc": { "start": { "line": 561, @@ -182013,8 +182179,8 @@ "binop": null, "updateContext": null }, - "start": 20275, - "end": 20276, + "start": 20493, + "end": 20494, "loc": { "start": { "line": 561, @@ -182039,8 +182205,8 @@ "binop": null }, "value": "textureId", - "start": 20276, - "end": 20285, + "start": 20494, + "end": 20503, "loc": { "start": { "line": 561, @@ -182065,8 +182231,8 @@ "binop": null, "updateContext": null }, - "start": 20285, - "end": 20286, + "start": 20503, + "end": 20504, "loc": { "start": { "line": 561, @@ -182092,8 +182258,8 @@ "updateContext": null }, "value": "=", - "start": 20287, - "end": 20288, + "start": 20505, + "end": 20506, "loc": { "start": { "line": 561, @@ -182118,8 +182284,8 @@ "binop": null }, "value": "texture", - "start": 20289, - "end": 20296, + "start": 20507, + "end": 20514, "loc": { "start": { "line": 561, @@ -182144,8 +182310,8 @@ "binop": null, "updateContext": null }, - "start": 20296, - "end": 20297, + "start": 20514, + "end": 20515, "loc": { "start": { "line": 561, @@ -182172,8 +182338,8 @@ "updateContext": null }, "value": "this", - "start": 20306, - "end": 20310, + "start": 20524, + "end": 20528, "loc": { "start": { "line": 562, @@ -182198,8 +182364,8 @@ "binop": null, "updateContext": null }, - "start": 20310, - "end": 20311, + "start": 20528, + "end": 20529, "loc": { "start": { "line": 562, @@ -182224,8 +182390,8 @@ "binop": null }, "value": "texturesList", - "start": 20311, - "end": 20323, + "start": 20529, + "end": 20541, "loc": { "start": { "line": 562, @@ -182250,8 +182416,8 @@ "binop": null, "updateContext": null }, - "start": 20323, - "end": 20324, + "start": 20541, + "end": 20542, "loc": { "start": { "line": 562, @@ -182276,8 +182442,8 @@ "binop": null }, "value": "push", - "start": 20324, - "end": 20328, + "start": 20542, + "end": 20546, "loc": { "start": { "line": 562, @@ -182301,8 +182467,8 @@ "postfix": false, "binop": null }, - "start": 20328, - "end": 20329, + "start": 20546, + "end": 20547, "loc": { "start": { "line": 562, @@ -182327,8 +182493,8 @@ "binop": null }, "value": "texture", - "start": 20329, - "end": 20336, + "start": 20547, + "end": 20554, "loc": { "start": { "line": 562, @@ -182352,8 +182518,8 @@ "postfix": false, "binop": null }, - "start": 20336, - "end": 20337, + "start": 20554, + "end": 20555, "loc": { "start": { "line": 562, @@ -182378,8 +182544,8 @@ "binop": null, "updateContext": null }, - "start": 20337, - "end": 20338, + "start": 20555, + "end": 20556, "loc": { "start": { "line": 562, @@ -182406,8 +182572,8 @@ "updateContext": null }, "value": "return", - "start": 20348, - "end": 20354, + "start": 20566, + "end": 20572, "loc": { "start": { "line": 564, @@ -182432,8 +182598,8 @@ "binop": null }, "value": "texture", - "start": 20355, - "end": 20362, + "start": 20573, + "end": 20580, "loc": { "start": { "line": 564, @@ -182458,8 +182624,8 @@ "binop": null, "updateContext": null }, - "start": 20362, - "end": 20363, + "start": 20580, + "end": 20581, "loc": { "start": { "line": 564, @@ -182483,8 +182649,8 @@ "postfix": false, "binop": null }, - "start": 20368, - "end": 20369, + "start": 20586, + "end": 20587, "loc": { "start": { "line": 565, @@ -182499,8 +182665,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTTextureSet} within this XKTModel.\n *\n * Registers the new {@link XKTTextureSet} in {@link XKTModel#textureSets} and {@link XKTModel#.textureSetsList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureSetId Unique ID for the {@link XKTTextureSet}.\n * @param {*} [params.colorTextureId] ID of *RGBA* base color {@link XKTTexture}, with color in *RGB* and alpha in *A*.\n * @param {*} [params.metallicRoughnessTextureId] ID of *RGBA* metal-roughness {@link XKTTexture}, with the metallic factor in *R*, and roughness factor in *G*.\n * @param {*} [params.normalsTextureId] ID of *RGBA* normal {@link XKTTexture}, with normal map vectors in *RGB*.\n * @param {*} [params.emissiveTextureId] ID of *RGBA* emissive {@link XKTTexture}, with emissive color in *RGB*.\n * @param {*} [params.occlusionTextureId] ID of *RGBA* occlusion {@link XKTTexture}, with occlusion factor in *R*.\n * @returns {XKTTextureSet} The new {@link XKTTextureSet}.\n ", - "start": 20375, - "end": 21526, + "start": 20593, + "end": 21744, "loc": { "start": { "line": 567, @@ -182525,8 +182691,8 @@ "binop": null }, "value": "createTextureSet", - "start": 21531, - "end": 21547, + "start": 21749, + "end": 21765, "loc": { "start": { "line": 583, @@ -182550,8 +182716,8 @@ "postfix": false, "binop": null }, - "start": 21547, - "end": 21548, + "start": 21765, + "end": 21766, "loc": { "start": { "line": 583, @@ -182576,8 +182742,8 @@ "binop": null }, "value": "params", - "start": 21548, - "end": 21554, + "start": 21766, + "end": 21772, "loc": { "start": { "line": 583, @@ -182601,8 +182767,8 @@ "postfix": false, "binop": null }, - "start": 21554, - "end": 21555, + "start": 21772, + "end": 21773, "loc": { "start": { "line": 583, @@ -182626,8 +182792,8 @@ "postfix": false, "binop": null }, - "start": 21556, - "end": 21557, + "start": 21774, + "end": 21775, "loc": { "start": { "line": 583, @@ -182654,8 +182820,8 @@ "updateContext": null }, "value": "if", - "start": 21567, - "end": 21569, + "start": 21785, + "end": 21787, "loc": { "start": { "line": 585, @@ -182679,8 +182845,8 @@ "postfix": false, "binop": null }, - "start": 21570, - "end": 21571, + "start": 21788, + "end": 21789, "loc": { "start": { "line": 585, @@ -182706,8 +182872,8 @@ "updateContext": null }, "value": "!", - "start": 21571, - "end": 21572, + "start": 21789, + "end": 21790, "loc": { "start": { "line": 585, @@ -182732,8 +182898,8 @@ "binop": null }, "value": "params", - "start": 21572, - "end": 21578, + "start": 21790, + "end": 21796, "loc": { "start": { "line": 585, @@ -182757,8 +182923,8 @@ "postfix": false, "binop": null }, - "start": 21578, - "end": 21579, + "start": 21796, + "end": 21797, "loc": { "start": { "line": 585, @@ -182782,8 +182948,8 @@ "postfix": false, "binop": null }, - "start": 21580, - "end": 21581, + "start": 21798, + "end": 21799, "loc": { "start": { "line": 585, @@ -182810,8 +182976,8 @@ "updateContext": null }, "value": "throw", - "start": 21594, - "end": 21599, + "start": 21812, + "end": 21817, "loc": { "start": { "line": 586, @@ -182836,9 +183002,9 @@ "binop": null, "updateContext": null }, - "value": "Parameters expected: params", - "start": 21600, - "end": 21629, + "value": "[XKTModel.createTextureSet] Parameters expected: params", + "start": 21818, + "end": 21875, "loc": { "start": { "line": 586, @@ -182846,7 +183012,7 @@ }, "end": { "line": 586, - "column": 47 + "column": 75 } } }, @@ -182863,16 +183029,16 @@ "binop": null, "updateContext": null }, - "start": 21629, - "end": 21630, + "start": 21875, + "end": 21876, "loc": { "start": { "line": 586, - "column": 47 + "column": 75 }, "end": { "line": 586, - "column": 48 + "column": 76 } } }, @@ -182888,8 +183054,8 @@ "postfix": false, "binop": null }, - "start": 21639, - "end": 21640, + "start": 21885, + "end": 21886, "loc": { "start": { "line": 587, @@ -182916,8 +183082,8 @@ "updateContext": null }, "value": "if", - "start": 21650, - "end": 21652, + "start": 21896, + "end": 21898, "loc": { "start": { "line": 589, @@ -182941,8 +183107,8 @@ "postfix": false, "binop": null }, - "start": 21653, - "end": 21654, + "start": 21899, + "end": 21900, "loc": { "start": { "line": 589, @@ -182967,8 +183133,8 @@ "binop": null }, "value": "params", - "start": 21654, - "end": 21660, + "start": 21900, + "end": 21906, "loc": { "start": { "line": 589, @@ -182993,8 +183159,8 @@ "binop": null, "updateContext": null }, - "start": 21660, - "end": 21661, + "start": 21906, + "end": 21907, "loc": { "start": { "line": 589, @@ -183019,8 +183185,8 @@ "binop": null }, "value": "textureSetId", - "start": 21661, - "end": 21673, + "start": 21907, + "end": 21919, "loc": { "start": { "line": 589, @@ -183046,8 +183212,8 @@ "updateContext": null }, "value": "===", - "start": 21674, - "end": 21677, + "start": 21920, + "end": 21923, "loc": { "start": { "line": 589, @@ -183074,8 +183240,8 @@ "updateContext": null }, "value": "null", - "start": 21678, - "end": 21682, + "start": 21924, + "end": 21928, "loc": { "start": { "line": 589, @@ -183101,8 +183267,8 @@ "updateContext": null }, "value": "||", - "start": 21683, - "end": 21685, + "start": 21929, + "end": 21931, "loc": { "start": { "line": 589, @@ -183127,8 +183293,8 @@ "binop": null }, "value": "params", - "start": 21686, - "end": 21692, + "start": 21932, + "end": 21938, "loc": { "start": { "line": 589, @@ -183153,8 +183319,8 @@ "binop": null, "updateContext": null }, - "start": 21692, - "end": 21693, + "start": 21938, + "end": 21939, "loc": { "start": { "line": 589, @@ -183179,8 +183345,8 @@ "binop": null }, "value": "textureSetId", - "start": 21693, - "end": 21705, + "start": 21939, + "end": 21951, "loc": { "start": { "line": 589, @@ -183206,8 +183372,8 @@ "updateContext": null }, "value": "===", - "start": 21706, - "end": 21709, + "start": 21952, + "end": 21955, "loc": { "start": { "line": 589, @@ -183232,8 +183398,8 @@ "binop": null }, "value": "undefined", - "start": 21710, - "end": 21719, + "start": 21956, + "end": 21965, "loc": { "start": { "line": 589, @@ -183257,8 +183423,8 @@ "postfix": false, "binop": null }, - "start": 21719, - "end": 21720, + "start": 21965, + "end": 21966, "loc": { "start": { "line": 589, @@ -183282,8 +183448,8 @@ "postfix": false, "binop": null }, - "start": 21721, - "end": 21722, + "start": 21967, + "end": 21968, "loc": { "start": { "line": 589, @@ -183310,8 +183476,8 @@ "updateContext": null }, "value": "throw", - "start": 21735, - "end": 21740, + "start": 21981, + "end": 21986, "loc": { "start": { "line": 590, @@ -183336,9 +183502,9 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.textureSetId", - "start": 21741, - "end": 21782, + "value": "[XKTModel.createTextureSet] Parameter expected: params.textureSetId", + "start": 21987, + "end": 22056, "loc": { "start": { "line": 590, @@ -183346,7 +183512,7 @@ }, "end": { "line": 590, - "column": 59 + "column": 87 } } }, @@ -183363,16 +183529,16 @@ "binop": null, "updateContext": null }, - "start": 21782, - "end": 21783, + "start": 22056, + "end": 22057, "loc": { "start": { "line": 590, - "column": 59 + "column": 87 }, "end": { "line": 590, - "column": 60 + "column": 88 } } }, @@ -183388,8 +183554,8 @@ "postfix": false, "binop": null }, - "start": 21792, - "end": 21793, + "start": 22066, + "end": 22067, "loc": { "start": { "line": 591, @@ -183416,8 +183582,8 @@ "updateContext": null }, "value": "if", - "start": 21803, - "end": 21805, + "start": 22077, + "end": 22079, "loc": { "start": { "line": 593, @@ -183441,8 +183607,8 @@ "postfix": false, "binop": null }, - "start": 21806, - "end": 21807, + "start": 22080, + "end": 22081, "loc": { "start": { "line": 593, @@ -183469,8 +183635,8 @@ "updateContext": null }, "value": "this", - "start": 21807, - "end": 21811, + "start": 22081, + "end": 22085, "loc": { "start": { "line": 593, @@ -183495,8 +183661,8 @@ "binop": null, "updateContext": null }, - "start": 21811, - "end": 21812, + "start": 22085, + "end": 22086, "loc": { "start": { "line": 593, @@ -183521,8 +183687,8 @@ "binop": null }, "value": "finalized", - "start": 21812, - "end": 21821, + "start": 22086, + "end": 22095, "loc": { "start": { "line": 593, @@ -183546,8 +183712,8 @@ "postfix": false, "binop": null }, - "start": 21821, - "end": 21822, + "start": 22095, + "end": 22096, "loc": { "start": { "line": 593, @@ -183571,8 +183737,8 @@ "postfix": false, "binop": null }, - "start": 21823, - "end": 21824, + "start": 22097, + "end": 22098, "loc": { "start": { "line": 593, @@ -183597,8 +183763,8 @@ "binop": null }, "value": "console", - "start": 21837, - "end": 21844, + "start": 22111, + "end": 22118, "loc": { "start": { "line": 594, @@ -183623,8 +183789,8 @@ "binop": null, "updateContext": null }, - "start": 21844, - "end": 21845, + "start": 22118, + "end": 22119, "loc": { "start": { "line": 594, @@ -183649,8 +183815,8 @@ "binop": null }, "value": "error", - "start": 21845, - "end": 21850, + "start": 22119, + "end": 22124, "loc": { "start": { "line": 594, @@ -183674,8 +183840,8 @@ "postfix": false, "binop": null }, - "start": 21850, - "end": 21851, + "start": 22124, + "end": 22125, "loc": { "start": { "line": 594, @@ -183701,8 +183867,8 @@ "updateContext": null }, "value": "XKTModel has been finalized, can't add more textureSets", - "start": 21851, - "end": 21908, + "start": 22125, + "end": 22182, "loc": { "start": { "line": 594, @@ -183726,8 +183892,8 @@ "postfix": false, "binop": null }, - "start": 21908, - "end": 21909, + "start": 22182, + "end": 22183, "loc": { "start": { "line": 594, @@ -183752,8 +183918,8 @@ "binop": null, "updateContext": null }, - "start": 21909, - "end": 21910, + "start": 22183, + "end": 22184, "loc": { "start": { "line": 594, @@ -183780,8 +183946,8 @@ "updateContext": null }, "value": "return", - "start": 21923, - "end": 21929, + "start": 22197, + "end": 22203, "loc": { "start": { "line": 595, @@ -183806,8 +183972,8 @@ "binop": null, "updateContext": null }, - "start": 21929, - "end": 21930, + "start": 22203, + "end": 22204, "loc": { "start": { "line": 595, @@ -183831,8 +183997,8 @@ "postfix": false, "binop": null }, - "start": 21939, - "end": 21940, + "start": 22213, + "end": 22214, "loc": { "start": { "line": 596, @@ -183859,8 +184025,8 @@ "updateContext": null }, "value": "if", - "start": 21950, - "end": 21952, + "start": 22224, + "end": 22226, "loc": { "start": { "line": 598, @@ -183884,8 +184050,8 @@ "postfix": false, "binop": null }, - "start": 21953, - "end": 21954, + "start": 22227, + "end": 22228, "loc": { "start": { "line": 598, @@ -183912,8 +184078,8 @@ "updateContext": null }, "value": "this", - "start": 21954, - "end": 21958, + "start": 22228, + "end": 22232, "loc": { "start": { "line": 598, @@ -183938,8 +184104,8 @@ "binop": null, "updateContext": null }, - "start": 21958, - "end": 21959, + "start": 22232, + "end": 22233, "loc": { "start": { "line": 598, @@ -183964,8 +184130,8 @@ "binop": null }, "value": "textureSets", - "start": 21959, - "end": 21970, + "start": 22233, + "end": 22244, "loc": { "start": { "line": 598, @@ -183990,8 +184156,8 @@ "binop": null, "updateContext": null }, - "start": 21970, - "end": 21971, + "start": 22244, + "end": 22245, "loc": { "start": { "line": 598, @@ -184016,8 +184182,8 @@ "binop": null }, "value": "params", - "start": 21971, - "end": 21977, + "start": 22245, + "end": 22251, "loc": { "start": { "line": 598, @@ -184042,8 +184208,8 @@ "binop": null, "updateContext": null }, - "start": 21977, - "end": 21978, + "start": 22251, + "end": 22252, "loc": { "start": { "line": 598, @@ -184068,8 +184234,8 @@ "binop": null }, "value": "textureSetId", - "start": 21978, - "end": 21990, + "start": 22252, + "end": 22264, "loc": { "start": { "line": 598, @@ -184094,8 +184260,8 @@ "binop": null, "updateContext": null }, - "start": 21990, - "end": 21991, + "start": 22264, + "end": 22265, "loc": { "start": { "line": 598, @@ -184119,8 +184285,8 @@ "postfix": false, "binop": null }, - "start": 21991, - "end": 21992, + "start": 22265, + "end": 22266, "loc": { "start": { "line": 598, @@ -184144,8 +184310,8 @@ "postfix": false, "binop": null }, - "start": 21993, - "end": 21994, + "start": 22267, + "end": 22268, "loc": { "start": { "line": 598, @@ -184170,8 +184336,8 @@ "binop": null }, "value": "console", - "start": 22007, - "end": 22014, + "start": 22281, + "end": 22288, "loc": { "start": { "line": 599, @@ -184196,8 +184362,8 @@ "binop": null, "updateContext": null }, - "start": 22014, - "end": 22015, + "start": 22288, + "end": 22289, "loc": { "start": { "line": 599, @@ -184222,8 +184388,8 @@ "binop": null }, "value": "error", - "start": 22015, - "end": 22020, + "start": 22289, + "end": 22294, "loc": { "start": { "line": 599, @@ -184247,8 +184413,8 @@ "postfix": false, "binop": null }, - "start": 22020, - "end": 22021, + "start": 22294, + "end": 22295, "loc": { "start": { "line": 599, @@ -184274,8 +184440,8 @@ "updateContext": null }, "value": "XKTTextureSet already exists with this ID: ", - "start": 22021, - "end": 22066, + "start": 22295, + "end": 22340, "loc": { "start": { "line": 599, @@ -184301,8 +184467,8 @@ "updateContext": null }, "value": "+", - "start": 22067, - "end": 22068, + "start": 22341, + "end": 22342, "loc": { "start": { "line": 599, @@ -184327,8 +184493,8 @@ "binop": null }, "value": "params", - "start": 22069, - "end": 22075, + "start": 22343, + "end": 22349, "loc": { "start": { "line": 599, @@ -184353,8 +184519,8 @@ "binop": null, "updateContext": null }, - "start": 22075, - "end": 22076, + "start": 22349, + "end": 22350, "loc": { "start": { "line": 599, @@ -184379,8 +184545,8 @@ "binop": null }, "value": "textureSetId", - "start": 22076, - "end": 22088, + "start": 22350, + "end": 22362, "loc": { "start": { "line": 599, @@ -184404,8 +184570,8 @@ "postfix": false, "binop": null }, - "start": 22088, - "end": 22089, + "start": 22362, + "end": 22363, "loc": { "start": { "line": 599, @@ -184430,8 +184596,8 @@ "binop": null, "updateContext": null }, - "start": 22089, - "end": 22090, + "start": 22363, + "end": 22364, "loc": { "start": { "line": 599, @@ -184458,8 +184624,8 @@ "updateContext": null }, "value": "return", - "start": 22103, - "end": 22109, + "start": 22377, + "end": 22383, "loc": { "start": { "line": 600, @@ -184484,8 +184650,8 @@ "binop": null, "updateContext": null }, - "start": 22109, - "end": 22110, + "start": 22383, + "end": 22384, "loc": { "start": { "line": 600, @@ -184509,8 +184675,8 @@ "postfix": false, "binop": null }, - "start": 22119, - "end": 22120, + "start": 22393, + "end": 22394, "loc": { "start": { "line": 601, @@ -184537,8 +184703,8 @@ "updateContext": null }, "value": "let", - "start": 22130, - "end": 22133, + "start": 22404, + "end": 22407, "loc": { "start": { "line": 603, @@ -184563,8 +184729,8 @@ "binop": null }, "value": "colorTexture", - "start": 22134, - "end": 22146, + "start": 22408, + "end": 22420, "loc": { "start": { "line": 603, @@ -184589,8 +184755,8 @@ "binop": null, "updateContext": null }, - "start": 22146, - "end": 22147, + "start": 22420, + "end": 22421, "loc": { "start": { "line": 603, @@ -184617,8 +184783,8 @@ "updateContext": null }, "value": "if", - "start": 22156, - "end": 22158, + "start": 22430, + "end": 22432, "loc": { "start": { "line": 604, @@ -184642,8 +184808,8 @@ "postfix": false, "binop": null }, - "start": 22159, - "end": 22160, + "start": 22433, + "end": 22434, "loc": { "start": { "line": 604, @@ -184668,8 +184834,8 @@ "binop": null }, "value": "params", - "start": 22160, - "end": 22166, + "start": 22434, + "end": 22440, "loc": { "start": { "line": 604, @@ -184694,8 +184860,8 @@ "binop": null, "updateContext": null }, - "start": 22166, - "end": 22167, + "start": 22440, + "end": 22441, "loc": { "start": { "line": 604, @@ -184720,8 +184886,8 @@ "binop": null }, "value": "colorTextureId", - "start": 22167, - "end": 22181, + "start": 22441, + "end": 22455, "loc": { "start": { "line": 604, @@ -184747,8 +184913,8 @@ "updateContext": null }, "value": "!==", - "start": 22182, - "end": 22185, + "start": 22456, + "end": 22459, "loc": { "start": { "line": 604, @@ -184773,8 +184939,8 @@ "binop": null }, "value": "undefined", - "start": 22186, - "end": 22195, + "start": 22460, + "end": 22469, "loc": { "start": { "line": 604, @@ -184800,8 +184966,8 @@ "updateContext": null }, "value": "&&", - "start": 22196, - "end": 22198, + "start": 22470, + "end": 22472, "loc": { "start": { "line": 604, @@ -184826,8 +184992,8 @@ "binop": null }, "value": "params", - "start": 22199, - "end": 22205, + "start": 22473, + "end": 22479, "loc": { "start": { "line": 604, @@ -184852,8 +185018,8 @@ "binop": null, "updateContext": null }, - "start": 22205, - "end": 22206, + "start": 22479, + "end": 22480, "loc": { "start": { "line": 604, @@ -184878,8 +185044,8 @@ "binop": null }, "value": "colorTextureId", - "start": 22206, - "end": 22220, + "start": 22480, + "end": 22494, "loc": { "start": { "line": 604, @@ -184905,8 +185071,8 @@ "updateContext": null }, "value": "!==", - "start": 22221, - "end": 22224, + "start": 22495, + "end": 22498, "loc": { "start": { "line": 604, @@ -184933,8 +185099,8 @@ "updateContext": null }, "value": "null", - "start": 22225, - "end": 22229, + "start": 22499, + "end": 22503, "loc": { "start": { "line": 604, @@ -184958,8 +185124,8 @@ "postfix": false, "binop": null }, - "start": 22229, - "end": 22230, + "start": 22503, + "end": 22504, "loc": { "start": { "line": 604, @@ -184983,8 +185149,8 @@ "postfix": false, "binop": null }, - "start": 22231, - "end": 22232, + "start": 22505, + "end": 22506, "loc": { "start": { "line": 604, @@ -185009,8 +185175,8 @@ "binop": null }, "value": "colorTexture", - "start": 22245, - "end": 22257, + "start": 22519, + "end": 22531, "loc": { "start": { "line": 605, @@ -185036,8 +185202,8 @@ "updateContext": null }, "value": "=", - "start": 22258, - "end": 22259, + "start": 22532, + "end": 22533, "loc": { "start": { "line": 605, @@ -185064,8 +185230,8 @@ "updateContext": null }, "value": "this", - "start": 22260, - "end": 22264, + "start": 22534, + "end": 22538, "loc": { "start": { "line": 605, @@ -185090,8 +185256,8 @@ "binop": null, "updateContext": null }, - "start": 22264, - "end": 22265, + "start": 22538, + "end": 22539, "loc": { "start": { "line": 605, @@ -185116,8 +185282,8 @@ "binop": null }, "value": "textures", - "start": 22265, - "end": 22273, + "start": 22539, + "end": 22547, "loc": { "start": { "line": 605, @@ -185142,8 +185308,8 @@ "binop": null, "updateContext": null }, - "start": 22273, - "end": 22274, + "start": 22547, + "end": 22548, "loc": { "start": { "line": 605, @@ -185168,8 +185334,8 @@ "binop": null }, "value": "params", - "start": 22274, - "end": 22280, + "start": 22548, + "end": 22554, "loc": { "start": { "line": 605, @@ -185194,8 +185360,8 @@ "binop": null, "updateContext": null }, - "start": 22280, - "end": 22281, + "start": 22554, + "end": 22555, "loc": { "start": { "line": 605, @@ -185220,8 +185386,8 @@ "binop": null }, "value": "colorTextureId", - "start": 22281, - "end": 22295, + "start": 22555, + "end": 22569, "loc": { "start": { "line": 605, @@ -185246,8 +185412,8 @@ "binop": null, "updateContext": null }, - "start": 22295, - "end": 22296, + "start": 22569, + "end": 22570, "loc": { "start": { "line": 605, @@ -185272,8 +185438,8 @@ "binop": null, "updateContext": null }, - "start": 22296, - "end": 22297, + "start": 22570, + "end": 22571, "loc": { "start": { "line": 605, @@ -185300,8 +185466,8 @@ "updateContext": null }, "value": "if", - "start": 22310, - "end": 22312, + "start": 22584, + "end": 22586, "loc": { "start": { "line": 606, @@ -185325,8 +185491,8 @@ "postfix": false, "binop": null }, - "start": 22313, - "end": 22314, + "start": 22587, + "end": 22588, "loc": { "start": { "line": 606, @@ -185352,8 +185518,8 @@ "updateContext": null }, "value": "!", - "start": 22314, - "end": 22315, + "start": 22588, + "end": 22589, "loc": { "start": { "line": 606, @@ -185378,8 +185544,8 @@ "binop": null }, "value": "colorTexture", - "start": 22315, - "end": 22327, + "start": 22589, + "end": 22601, "loc": { "start": { "line": 606, @@ -185403,8 +185569,8 @@ "postfix": false, "binop": null }, - "start": 22327, - "end": 22328, + "start": 22601, + "end": 22602, "loc": { "start": { "line": 606, @@ -185428,8 +185594,8 @@ "postfix": false, "binop": null }, - "start": 22329, - "end": 22330, + "start": 22603, + "end": 22604, "loc": { "start": { "line": 606, @@ -185454,8 +185620,8 @@ "binop": null }, "value": "console", - "start": 22347, - "end": 22354, + "start": 22621, + "end": 22628, "loc": { "start": { "line": 607, @@ -185480,8 +185646,8 @@ "binop": null, "updateContext": null }, - "start": 22354, - "end": 22355, + "start": 22628, + "end": 22629, "loc": { "start": { "line": 607, @@ -185506,8 +185672,8 @@ "binop": null }, "value": "error", - "start": 22355, - "end": 22360, + "start": 22629, + "end": 22634, "loc": { "start": { "line": 607, @@ -185531,8 +185697,8 @@ "postfix": false, "binop": null }, - "start": 22360, - "end": 22361, + "start": 22634, + "end": 22635, "loc": { "start": { "line": 607, @@ -185556,8 +185722,8 @@ "postfix": false, "binop": null }, - "start": 22361, - "end": 22362, + "start": 22635, + "end": 22636, "loc": { "start": { "line": 607, @@ -185583,8 +185749,8 @@ "updateContext": null }, "value": "Texture not found: ", - "start": 22362, - "end": 22381, + "start": 22636, + "end": 22655, "loc": { "start": { "line": 607, @@ -185608,8 +185774,8 @@ "postfix": false, "binop": null }, - "start": 22381, - "end": 22383, + "start": 22655, + "end": 22657, "loc": { "start": { "line": 607, @@ -185634,8 +185800,8 @@ "binop": null }, "value": "params", - "start": 22383, - "end": 22389, + "start": 22657, + "end": 22663, "loc": { "start": { "line": 607, @@ -185660,8 +185826,8 @@ "binop": null, "updateContext": null }, - "start": 22389, - "end": 22390, + "start": 22663, + "end": 22664, "loc": { "start": { "line": 607, @@ -185686,8 +185852,8 @@ "binop": null }, "value": "colorTextureId", - "start": 22390, - "end": 22404, + "start": 22664, + "end": 22678, "loc": { "start": { "line": 607, @@ -185711,8 +185877,8 @@ "postfix": false, "binop": null }, - "start": 22404, - "end": 22405, + "start": 22678, + "end": 22679, "loc": { "start": { "line": 607, @@ -185738,8 +185904,8 @@ "updateContext": null }, "value": " - ensure that you create it first with createTexture()", - "start": 22405, - "end": 22460, + "start": 22679, + "end": 22734, "loc": { "start": { "line": 607, @@ -185763,8 +185929,8 @@ "postfix": false, "binop": null }, - "start": 22460, - "end": 22461, + "start": 22734, + "end": 22735, "loc": { "start": { "line": 607, @@ -185788,8 +185954,8 @@ "postfix": false, "binop": null }, - "start": 22461, - "end": 22462, + "start": 22735, + "end": 22736, "loc": { "start": { "line": 607, @@ -185814,8 +185980,8 @@ "binop": null, "updateContext": null }, - "start": 22462, - "end": 22463, + "start": 22736, + "end": 22737, "loc": { "start": { "line": 607, @@ -185842,8 +186008,8 @@ "updateContext": null }, "value": "return", - "start": 22480, - "end": 22486, + "start": 22754, + "end": 22760, "loc": { "start": { "line": 608, @@ -185868,8 +186034,8 @@ "binop": null, "updateContext": null }, - "start": 22486, - "end": 22487, + "start": 22760, + "end": 22761, "loc": { "start": { "line": 608, @@ -185893,8 +186059,8 @@ "postfix": false, "binop": null }, - "start": 22500, - "end": 22501, + "start": 22774, + "end": 22775, "loc": { "start": { "line": 609, @@ -185919,8 +186085,8 @@ "binop": null }, "value": "colorTexture", - "start": 22514, - "end": 22526, + "start": 22788, + "end": 22800, "loc": { "start": { "line": 610, @@ -185945,8 +186111,8 @@ "binop": null, "updateContext": null }, - "start": 22526, - "end": 22527, + "start": 22800, + "end": 22801, "loc": { "start": { "line": 610, @@ -185971,8 +186137,8 @@ "binop": null }, "value": "channel", - "start": 22527, - "end": 22534, + "start": 22801, + "end": 22808, "loc": { "start": { "line": 610, @@ -185998,8 +186164,8 @@ "updateContext": null }, "value": "=", - "start": 22535, - "end": 22536, + "start": 22809, + "end": 22810, "loc": { "start": { "line": 610, @@ -186024,8 +186190,8 @@ "binop": null }, "value": "COLOR_TEXTURE", - "start": 22537, - "end": 22550, + "start": 22811, + "end": 22824, "loc": { "start": { "line": 610, @@ -186050,8 +186216,8 @@ "binop": null, "updateContext": null }, - "start": 22550, - "end": 22551, + "start": 22824, + "end": 22825, "loc": { "start": { "line": 610, @@ -186075,8 +186241,8 @@ "postfix": false, "binop": null }, - "start": 22560, - "end": 22561, + "start": 22834, + "end": 22835, "loc": { "start": { "line": 611, @@ -186103,8 +186269,8 @@ "updateContext": null }, "value": "let", - "start": 22571, - "end": 22574, + "start": 22845, + "end": 22848, "loc": { "start": { "line": 613, @@ -186129,8 +186295,8 @@ "binop": null }, "value": "metallicRoughnessTexture", - "start": 22575, - "end": 22599, + "start": 22849, + "end": 22873, "loc": { "start": { "line": 613, @@ -186155,8 +186321,8 @@ "binop": null, "updateContext": null }, - "start": 22599, - "end": 22600, + "start": 22873, + "end": 22874, "loc": { "start": { "line": 613, @@ -186183,8 +186349,8 @@ "updateContext": null }, "value": "if", - "start": 22609, - "end": 22611, + "start": 22883, + "end": 22885, "loc": { "start": { "line": 614, @@ -186208,8 +186374,8 @@ "postfix": false, "binop": null }, - "start": 22612, - "end": 22613, + "start": 22886, + "end": 22887, "loc": { "start": { "line": 614, @@ -186234,8 +186400,8 @@ "binop": null }, "value": "params", - "start": 22613, - "end": 22619, + "start": 22887, + "end": 22893, "loc": { "start": { "line": 614, @@ -186260,8 +186426,8 @@ "binop": null, "updateContext": null }, - "start": 22619, - "end": 22620, + "start": 22893, + "end": 22894, "loc": { "start": { "line": 614, @@ -186286,8 +186452,8 @@ "binop": null }, "value": "metallicRoughnessTextureId", - "start": 22620, - "end": 22646, + "start": 22894, + "end": 22920, "loc": { "start": { "line": 614, @@ -186313,8 +186479,8 @@ "updateContext": null }, "value": "!==", - "start": 22647, - "end": 22650, + "start": 22921, + "end": 22924, "loc": { "start": { "line": 614, @@ -186339,8 +186505,8 @@ "binop": null }, "value": "undefined", - "start": 22651, - "end": 22660, + "start": 22925, + "end": 22934, "loc": { "start": { "line": 614, @@ -186366,8 +186532,8 @@ "updateContext": null }, "value": "&&", - "start": 22661, - "end": 22663, + "start": 22935, + "end": 22937, "loc": { "start": { "line": 614, @@ -186392,8 +186558,8 @@ "binop": null }, "value": "params", - "start": 22664, - "end": 22670, + "start": 22938, + "end": 22944, "loc": { "start": { "line": 614, @@ -186418,8 +186584,8 @@ "binop": null, "updateContext": null }, - "start": 22670, - "end": 22671, + "start": 22944, + "end": 22945, "loc": { "start": { "line": 614, @@ -186444,8 +186610,8 @@ "binop": null }, "value": "metallicRoughnessTextureId", - "start": 22671, - "end": 22697, + "start": 22945, + "end": 22971, "loc": { "start": { "line": 614, @@ -186471,8 +186637,8 @@ "updateContext": null }, "value": "!==", - "start": 22698, - "end": 22701, + "start": 22972, + "end": 22975, "loc": { "start": { "line": 614, @@ -186499,8 +186665,8 @@ "updateContext": null }, "value": "null", - "start": 22702, - "end": 22706, + "start": 22976, + "end": 22980, "loc": { "start": { "line": 614, @@ -186524,8 +186690,8 @@ "postfix": false, "binop": null }, - "start": 22706, - "end": 22707, + "start": 22980, + "end": 22981, "loc": { "start": { "line": 614, @@ -186549,8 +186715,8 @@ "postfix": false, "binop": null }, - "start": 22708, - "end": 22709, + "start": 22982, + "end": 22983, "loc": { "start": { "line": 614, @@ -186575,8 +186741,8 @@ "binop": null }, "value": "metallicRoughnessTexture", - "start": 22722, - "end": 22746, + "start": 22996, + "end": 23020, "loc": { "start": { "line": 615, @@ -186602,8 +186768,8 @@ "updateContext": null }, "value": "=", - "start": 22747, - "end": 22748, + "start": 23021, + "end": 23022, "loc": { "start": { "line": 615, @@ -186630,8 +186796,8 @@ "updateContext": null }, "value": "this", - "start": 22749, - "end": 22753, + "start": 23023, + "end": 23027, "loc": { "start": { "line": 615, @@ -186656,8 +186822,8 @@ "binop": null, "updateContext": null }, - "start": 22753, - "end": 22754, + "start": 23027, + "end": 23028, "loc": { "start": { "line": 615, @@ -186682,8 +186848,8 @@ "binop": null }, "value": "textures", - "start": 22754, - "end": 22762, + "start": 23028, + "end": 23036, "loc": { "start": { "line": 615, @@ -186708,8 +186874,8 @@ "binop": null, "updateContext": null }, - "start": 22762, - "end": 22763, + "start": 23036, + "end": 23037, "loc": { "start": { "line": 615, @@ -186734,8 +186900,8 @@ "binop": null }, "value": "params", - "start": 22763, - "end": 22769, + "start": 23037, + "end": 23043, "loc": { "start": { "line": 615, @@ -186760,8 +186926,8 @@ "binop": null, "updateContext": null }, - "start": 22769, - "end": 22770, + "start": 23043, + "end": 23044, "loc": { "start": { "line": 615, @@ -186786,8 +186952,8 @@ "binop": null }, "value": "metallicRoughnessTextureId", - "start": 22770, - "end": 22796, + "start": 23044, + "end": 23070, "loc": { "start": { "line": 615, @@ -186812,8 +186978,8 @@ "binop": null, "updateContext": null }, - "start": 22796, - "end": 22797, + "start": 23070, + "end": 23071, "loc": { "start": { "line": 615, @@ -186838,8 +187004,8 @@ "binop": null, "updateContext": null }, - "start": 22797, - "end": 22798, + "start": 23071, + "end": 23072, "loc": { "start": { "line": 615, @@ -186866,8 +187032,8 @@ "updateContext": null }, "value": "if", - "start": 22811, - "end": 22813, + "start": 23085, + "end": 23087, "loc": { "start": { "line": 616, @@ -186891,8 +187057,8 @@ "postfix": false, "binop": null }, - "start": 22814, - "end": 22815, + "start": 23088, + "end": 23089, "loc": { "start": { "line": 616, @@ -186918,8 +187084,8 @@ "updateContext": null }, "value": "!", - "start": 22815, - "end": 22816, + "start": 23089, + "end": 23090, "loc": { "start": { "line": 616, @@ -186944,8 +187110,8 @@ "binop": null }, "value": "metallicRoughnessTexture", - "start": 22816, - "end": 22840, + "start": 23090, + "end": 23114, "loc": { "start": { "line": 616, @@ -186969,8 +187135,8 @@ "postfix": false, "binop": null }, - "start": 22840, - "end": 22841, + "start": 23114, + "end": 23115, "loc": { "start": { "line": 616, @@ -186994,8 +187160,8 @@ "postfix": false, "binop": null }, - "start": 22842, - "end": 22843, + "start": 23116, + "end": 23117, "loc": { "start": { "line": 616, @@ -187020,8 +187186,8 @@ "binop": null }, "value": "console", - "start": 22860, - "end": 22867, + "start": 23134, + "end": 23141, "loc": { "start": { "line": 617, @@ -187046,8 +187212,8 @@ "binop": null, "updateContext": null }, - "start": 22867, - "end": 22868, + "start": 23141, + "end": 23142, "loc": { "start": { "line": 617, @@ -187072,8 +187238,8 @@ "binop": null }, "value": "error", - "start": 22868, - "end": 22873, + "start": 23142, + "end": 23147, "loc": { "start": { "line": 617, @@ -187097,8 +187263,8 @@ "postfix": false, "binop": null }, - "start": 22873, - "end": 22874, + "start": 23147, + "end": 23148, "loc": { "start": { "line": 617, @@ -187122,8 +187288,8 @@ "postfix": false, "binop": null }, - "start": 22874, - "end": 22875, + "start": 23148, + "end": 23149, "loc": { "start": { "line": 617, @@ -187149,8 +187315,8 @@ "updateContext": null }, "value": "Texture not found: ", - "start": 22875, - "end": 22894, + "start": 23149, + "end": 23168, "loc": { "start": { "line": 617, @@ -187174,8 +187340,8 @@ "postfix": false, "binop": null }, - "start": 22894, - "end": 22896, + "start": 23168, + "end": 23170, "loc": { "start": { "line": 617, @@ -187200,8 +187366,8 @@ "binop": null }, "value": "params", - "start": 22896, - "end": 22902, + "start": 23170, + "end": 23176, "loc": { "start": { "line": 617, @@ -187226,8 +187392,8 @@ "binop": null, "updateContext": null }, - "start": 22902, - "end": 22903, + "start": 23176, + "end": 23177, "loc": { "start": { "line": 617, @@ -187252,8 +187418,8 @@ "binop": null }, "value": "metallicRoughnessTextureId", - "start": 22903, - "end": 22929, + "start": 23177, + "end": 23203, "loc": { "start": { "line": 617, @@ -187277,8 +187443,8 @@ "postfix": false, "binop": null }, - "start": 22929, - "end": 22930, + "start": 23203, + "end": 23204, "loc": { "start": { "line": 617, @@ -187304,8 +187470,8 @@ "updateContext": null }, "value": " - ensure that you create it first with createTexture()", - "start": 22930, - "end": 22985, + "start": 23204, + "end": 23259, "loc": { "start": { "line": 617, @@ -187329,8 +187495,8 @@ "postfix": false, "binop": null }, - "start": 22985, - "end": 22986, + "start": 23259, + "end": 23260, "loc": { "start": { "line": 617, @@ -187354,8 +187520,8 @@ "postfix": false, "binop": null }, - "start": 22986, - "end": 22987, + "start": 23260, + "end": 23261, "loc": { "start": { "line": 617, @@ -187380,8 +187546,8 @@ "binop": null, "updateContext": null }, - "start": 22987, - "end": 22988, + "start": 23261, + "end": 23262, "loc": { "start": { "line": 617, @@ -187408,8 +187574,8 @@ "updateContext": null }, "value": "return", - "start": 23005, - "end": 23011, + "start": 23279, + "end": 23285, "loc": { "start": { "line": 618, @@ -187434,8 +187600,8 @@ "binop": null, "updateContext": null }, - "start": 23011, - "end": 23012, + "start": 23285, + "end": 23286, "loc": { "start": { "line": 618, @@ -187459,8 +187625,8 @@ "postfix": false, "binop": null }, - "start": 23025, - "end": 23026, + "start": 23299, + "end": 23300, "loc": { "start": { "line": 619, @@ -187485,8 +187651,8 @@ "binop": null }, "value": "metallicRoughnessTexture", - "start": 23039, - "end": 23063, + "start": 23313, + "end": 23337, "loc": { "start": { "line": 620, @@ -187511,8 +187677,8 @@ "binop": null, "updateContext": null }, - "start": 23063, - "end": 23064, + "start": 23337, + "end": 23338, "loc": { "start": { "line": 620, @@ -187537,8 +187703,8 @@ "binop": null }, "value": "channel", - "start": 23064, - "end": 23071, + "start": 23338, + "end": 23345, "loc": { "start": { "line": 620, @@ -187564,8 +187730,8 @@ "updateContext": null }, "value": "=", - "start": 23072, - "end": 23073, + "start": 23346, + "end": 23347, "loc": { "start": { "line": 620, @@ -187590,8 +187756,8 @@ "binop": null }, "value": "METALLIC_ROUGHNESS_TEXTURE", - "start": 23074, - "end": 23100, + "start": 23348, + "end": 23374, "loc": { "start": { "line": 620, @@ -187616,8 +187782,8 @@ "binop": null, "updateContext": null }, - "start": 23100, - "end": 23101, + "start": 23374, + "end": 23375, "loc": { "start": { "line": 620, @@ -187641,8 +187807,8 @@ "postfix": false, "binop": null }, - "start": 23110, - "end": 23111, + "start": 23384, + "end": 23385, "loc": { "start": { "line": 621, @@ -187669,8 +187835,8 @@ "updateContext": null }, "value": "let", - "start": 23121, - "end": 23124, + "start": 23395, + "end": 23398, "loc": { "start": { "line": 623, @@ -187695,8 +187861,8 @@ "binop": null }, "value": "normalsTexture", - "start": 23125, - "end": 23139, + "start": 23399, + "end": 23413, "loc": { "start": { "line": 623, @@ -187721,8 +187887,8 @@ "binop": null, "updateContext": null }, - "start": 23139, - "end": 23140, + "start": 23413, + "end": 23414, "loc": { "start": { "line": 623, @@ -187749,8 +187915,8 @@ "updateContext": null }, "value": "if", - "start": 23149, - "end": 23151, + "start": 23423, + "end": 23425, "loc": { "start": { "line": 624, @@ -187774,8 +187940,8 @@ "postfix": false, "binop": null }, - "start": 23152, - "end": 23153, + "start": 23426, + "end": 23427, "loc": { "start": { "line": 624, @@ -187800,8 +187966,8 @@ "binop": null }, "value": "params", - "start": 23153, - "end": 23159, + "start": 23427, + "end": 23433, "loc": { "start": { "line": 624, @@ -187826,8 +187992,8 @@ "binop": null, "updateContext": null }, - "start": 23159, - "end": 23160, + "start": 23433, + "end": 23434, "loc": { "start": { "line": 624, @@ -187852,8 +188018,8 @@ "binop": null }, "value": "normalsTextureId", - "start": 23160, - "end": 23176, + "start": 23434, + "end": 23450, "loc": { "start": { "line": 624, @@ -187879,8 +188045,8 @@ "updateContext": null }, "value": "!==", - "start": 23177, - "end": 23180, + "start": 23451, + "end": 23454, "loc": { "start": { "line": 624, @@ -187905,8 +188071,8 @@ "binop": null }, "value": "undefined", - "start": 23181, - "end": 23190, + "start": 23455, + "end": 23464, "loc": { "start": { "line": 624, @@ -187932,8 +188098,8 @@ "updateContext": null }, "value": "&&", - "start": 23191, - "end": 23193, + "start": 23465, + "end": 23467, "loc": { "start": { "line": 624, @@ -187958,8 +188124,8 @@ "binop": null }, "value": "params", - "start": 23194, - "end": 23200, + "start": 23468, + "end": 23474, "loc": { "start": { "line": 624, @@ -187984,8 +188150,8 @@ "binop": null, "updateContext": null }, - "start": 23200, - "end": 23201, + "start": 23474, + "end": 23475, "loc": { "start": { "line": 624, @@ -188010,8 +188176,8 @@ "binop": null }, "value": "normalsTextureId", - "start": 23201, - "end": 23217, + "start": 23475, + "end": 23491, "loc": { "start": { "line": 624, @@ -188037,8 +188203,8 @@ "updateContext": null }, "value": "!==", - "start": 23218, - "end": 23221, + "start": 23492, + "end": 23495, "loc": { "start": { "line": 624, @@ -188065,8 +188231,8 @@ "updateContext": null }, "value": "null", - "start": 23222, - "end": 23226, + "start": 23496, + "end": 23500, "loc": { "start": { "line": 624, @@ -188090,8 +188256,8 @@ "postfix": false, "binop": null }, - "start": 23226, - "end": 23227, + "start": 23500, + "end": 23501, "loc": { "start": { "line": 624, @@ -188115,8 +188281,8 @@ "postfix": false, "binop": null }, - "start": 23228, - "end": 23229, + "start": 23502, + "end": 23503, "loc": { "start": { "line": 624, @@ -188141,8 +188307,8 @@ "binop": null }, "value": "normalsTexture", - "start": 23242, - "end": 23256, + "start": 23516, + "end": 23530, "loc": { "start": { "line": 625, @@ -188168,8 +188334,8 @@ "updateContext": null }, "value": "=", - "start": 23257, - "end": 23258, + "start": 23531, + "end": 23532, "loc": { "start": { "line": 625, @@ -188196,8 +188362,8 @@ "updateContext": null }, "value": "this", - "start": 23259, - "end": 23263, + "start": 23533, + "end": 23537, "loc": { "start": { "line": 625, @@ -188222,8 +188388,8 @@ "binop": null, "updateContext": null }, - "start": 23263, - "end": 23264, + "start": 23537, + "end": 23538, "loc": { "start": { "line": 625, @@ -188248,8 +188414,8 @@ "binop": null }, "value": "textures", - "start": 23264, - "end": 23272, + "start": 23538, + "end": 23546, "loc": { "start": { "line": 625, @@ -188274,8 +188440,8 @@ "binop": null, "updateContext": null }, - "start": 23272, - "end": 23273, + "start": 23546, + "end": 23547, "loc": { "start": { "line": 625, @@ -188300,8 +188466,8 @@ "binop": null }, "value": "params", - "start": 23273, - "end": 23279, + "start": 23547, + "end": 23553, "loc": { "start": { "line": 625, @@ -188326,8 +188492,8 @@ "binop": null, "updateContext": null }, - "start": 23279, - "end": 23280, + "start": 23553, + "end": 23554, "loc": { "start": { "line": 625, @@ -188352,8 +188518,8 @@ "binop": null }, "value": "normalsTextureId", - "start": 23280, - "end": 23296, + "start": 23554, + "end": 23570, "loc": { "start": { "line": 625, @@ -188378,8 +188544,8 @@ "binop": null, "updateContext": null }, - "start": 23296, - "end": 23297, + "start": 23570, + "end": 23571, "loc": { "start": { "line": 625, @@ -188404,8 +188570,8 @@ "binop": null, "updateContext": null }, - "start": 23297, - "end": 23298, + "start": 23571, + "end": 23572, "loc": { "start": { "line": 625, @@ -188432,8 +188598,8 @@ "updateContext": null }, "value": "if", - "start": 23311, - "end": 23313, + "start": 23585, + "end": 23587, "loc": { "start": { "line": 626, @@ -188457,8 +188623,8 @@ "postfix": false, "binop": null }, - "start": 23314, - "end": 23315, + "start": 23588, + "end": 23589, "loc": { "start": { "line": 626, @@ -188484,8 +188650,8 @@ "updateContext": null }, "value": "!", - "start": 23315, - "end": 23316, + "start": 23589, + "end": 23590, "loc": { "start": { "line": 626, @@ -188510,8 +188676,8 @@ "binop": null }, "value": "normalsTexture", - "start": 23316, - "end": 23330, + "start": 23590, + "end": 23604, "loc": { "start": { "line": 626, @@ -188535,8 +188701,8 @@ "postfix": false, "binop": null }, - "start": 23330, - "end": 23331, + "start": 23604, + "end": 23605, "loc": { "start": { "line": 626, @@ -188560,8 +188726,8 @@ "postfix": false, "binop": null }, - "start": 23332, - "end": 23333, + "start": 23606, + "end": 23607, "loc": { "start": { "line": 626, @@ -188586,8 +188752,8 @@ "binop": null }, "value": "console", - "start": 23350, - "end": 23357, + "start": 23624, + "end": 23631, "loc": { "start": { "line": 627, @@ -188612,8 +188778,8 @@ "binop": null, "updateContext": null }, - "start": 23357, - "end": 23358, + "start": 23631, + "end": 23632, "loc": { "start": { "line": 627, @@ -188638,8 +188804,8 @@ "binop": null }, "value": "error", - "start": 23358, - "end": 23363, + "start": 23632, + "end": 23637, "loc": { "start": { "line": 627, @@ -188663,8 +188829,8 @@ "postfix": false, "binop": null }, - "start": 23363, - "end": 23364, + "start": 23637, + "end": 23638, "loc": { "start": { "line": 627, @@ -188688,8 +188854,8 @@ "postfix": false, "binop": null }, - "start": 23364, - "end": 23365, + "start": 23638, + "end": 23639, "loc": { "start": { "line": 627, @@ -188715,8 +188881,8 @@ "updateContext": null }, "value": "Texture not found: ", - "start": 23365, - "end": 23384, + "start": 23639, + "end": 23658, "loc": { "start": { "line": 627, @@ -188740,8 +188906,8 @@ "postfix": false, "binop": null }, - "start": 23384, - "end": 23386, + "start": 23658, + "end": 23660, "loc": { "start": { "line": 627, @@ -188766,8 +188932,8 @@ "binop": null }, "value": "params", - "start": 23386, - "end": 23392, + "start": 23660, + "end": 23666, "loc": { "start": { "line": 627, @@ -188792,8 +188958,8 @@ "binop": null, "updateContext": null }, - "start": 23392, - "end": 23393, + "start": 23666, + "end": 23667, "loc": { "start": { "line": 627, @@ -188818,8 +188984,8 @@ "binop": null }, "value": "normalsTextureId", - "start": 23393, - "end": 23409, + "start": 23667, + "end": 23683, "loc": { "start": { "line": 627, @@ -188843,8 +189009,8 @@ "postfix": false, "binop": null }, - "start": 23409, - "end": 23410, + "start": 23683, + "end": 23684, "loc": { "start": { "line": 627, @@ -188870,8 +189036,8 @@ "updateContext": null }, "value": " - ensure that you create it first with createTexture()", - "start": 23410, - "end": 23465, + "start": 23684, + "end": 23739, "loc": { "start": { "line": 627, @@ -188895,8 +189061,8 @@ "postfix": false, "binop": null }, - "start": 23465, - "end": 23466, + "start": 23739, + "end": 23740, "loc": { "start": { "line": 627, @@ -188920,8 +189086,8 @@ "postfix": false, "binop": null }, - "start": 23466, - "end": 23467, + "start": 23740, + "end": 23741, "loc": { "start": { "line": 627, @@ -188946,8 +189112,8 @@ "binop": null, "updateContext": null }, - "start": 23467, - "end": 23468, + "start": 23741, + "end": 23742, "loc": { "start": { "line": 627, @@ -188974,8 +189140,8 @@ "updateContext": null }, "value": "return", - "start": 23485, - "end": 23491, + "start": 23759, + "end": 23765, "loc": { "start": { "line": 628, @@ -189000,8 +189166,8 @@ "binop": null, "updateContext": null }, - "start": 23491, - "end": 23492, + "start": 23765, + "end": 23766, "loc": { "start": { "line": 628, @@ -189025,8 +189191,8 @@ "postfix": false, "binop": null }, - "start": 23505, - "end": 23506, + "start": 23779, + "end": 23780, "loc": { "start": { "line": 629, @@ -189051,8 +189217,8 @@ "binop": null }, "value": "normalsTexture", - "start": 23519, - "end": 23533, + "start": 23793, + "end": 23807, "loc": { "start": { "line": 630, @@ -189077,8 +189243,8 @@ "binop": null, "updateContext": null }, - "start": 23533, - "end": 23534, + "start": 23807, + "end": 23808, "loc": { "start": { "line": 630, @@ -189103,8 +189269,8 @@ "binop": null }, "value": "channel", - "start": 23534, - "end": 23541, + "start": 23808, + "end": 23815, "loc": { "start": { "line": 630, @@ -189130,8 +189296,8 @@ "updateContext": null }, "value": "=", - "start": 23542, - "end": 23543, + "start": 23816, + "end": 23817, "loc": { "start": { "line": 630, @@ -189156,8 +189322,8 @@ "binop": null }, "value": "NORMALS_TEXTURE", - "start": 23544, - "end": 23559, + "start": 23818, + "end": 23833, "loc": { "start": { "line": 630, @@ -189182,8 +189348,8 @@ "binop": null, "updateContext": null }, - "start": 23559, - "end": 23560, + "start": 23833, + "end": 23834, "loc": { "start": { "line": 630, @@ -189207,8 +189373,8 @@ "postfix": false, "binop": null }, - "start": 23569, - "end": 23570, + "start": 23843, + "end": 23844, "loc": { "start": { "line": 631, @@ -189235,8 +189401,8 @@ "updateContext": null }, "value": "let", - "start": 23580, - "end": 23583, + "start": 23854, + "end": 23857, "loc": { "start": { "line": 633, @@ -189261,8 +189427,8 @@ "binop": null }, "value": "emissiveTexture", - "start": 23584, - "end": 23599, + "start": 23858, + "end": 23873, "loc": { "start": { "line": 633, @@ -189287,8 +189453,8 @@ "binop": null, "updateContext": null }, - "start": 23599, - "end": 23600, + "start": 23873, + "end": 23874, "loc": { "start": { "line": 633, @@ -189315,8 +189481,8 @@ "updateContext": null }, "value": "if", - "start": 23609, - "end": 23611, + "start": 23883, + "end": 23885, "loc": { "start": { "line": 634, @@ -189340,8 +189506,8 @@ "postfix": false, "binop": null }, - "start": 23612, - "end": 23613, + "start": 23886, + "end": 23887, "loc": { "start": { "line": 634, @@ -189366,8 +189532,8 @@ "binop": null }, "value": "params", - "start": 23613, - "end": 23619, + "start": 23887, + "end": 23893, "loc": { "start": { "line": 634, @@ -189392,8 +189558,8 @@ "binop": null, "updateContext": null }, - "start": 23619, - "end": 23620, + "start": 23893, + "end": 23894, "loc": { "start": { "line": 634, @@ -189418,8 +189584,8 @@ "binop": null }, "value": "emissiveTextureId", - "start": 23620, - "end": 23637, + "start": 23894, + "end": 23911, "loc": { "start": { "line": 634, @@ -189445,8 +189611,8 @@ "updateContext": null }, "value": "!==", - "start": 23638, - "end": 23641, + "start": 23912, + "end": 23915, "loc": { "start": { "line": 634, @@ -189471,8 +189637,8 @@ "binop": null }, "value": "undefined", - "start": 23642, - "end": 23651, + "start": 23916, + "end": 23925, "loc": { "start": { "line": 634, @@ -189498,8 +189664,8 @@ "updateContext": null }, "value": "&&", - "start": 23652, - "end": 23654, + "start": 23926, + "end": 23928, "loc": { "start": { "line": 634, @@ -189524,8 +189690,8 @@ "binop": null }, "value": "params", - "start": 23655, - "end": 23661, + "start": 23929, + "end": 23935, "loc": { "start": { "line": 634, @@ -189550,8 +189716,8 @@ "binop": null, "updateContext": null }, - "start": 23661, - "end": 23662, + "start": 23935, + "end": 23936, "loc": { "start": { "line": 634, @@ -189576,8 +189742,8 @@ "binop": null }, "value": "emissiveTextureId", - "start": 23662, - "end": 23679, + "start": 23936, + "end": 23953, "loc": { "start": { "line": 634, @@ -189603,8 +189769,8 @@ "updateContext": null }, "value": "!==", - "start": 23680, - "end": 23683, + "start": 23954, + "end": 23957, "loc": { "start": { "line": 634, @@ -189631,8 +189797,8 @@ "updateContext": null }, "value": "null", - "start": 23684, - "end": 23688, + "start": 23958, + "end": 23962, "loc": { "start": { "line": 634, @@ -189656,8 +189822,8 @@ "postfix": false, "binop": null }, - "start": 23688, - "end": 23689, + "start": 23962, + "end": 23963, "loc": { "start": { "line": 634, @@ -189681,8 +189847,8 @@ "postfix": false, "binop": null }, - "start": 23690, - "end": 23691, + "start": 23964, + "end": 23965, "loc": { "start": { "line": 634, @@ -189707,8 +189873,8 @@ "binop": null }, "value": "emissiveTexture", - "start": 23704, - "end": 23719, + "start": 23978, + "end": 23993, "loc": { "start": { "line": 635, @@ -189734,8 +189900,8 @@ "updateContext": null }, "value": "=", - "start": 23720, - "end": 23721, + "start": 23994, + "end": 23995, "loc": { "start": { "line": 635, @@ -189762,8 +189928,8 @@ "updateContext": null }, "value": "this", - "start": 23722, - "end": 23726, + "start": 23996, + "end": 24000, "loc": { "start": { "line": 635, @@ -189788,8 +189954,8 @@ "binop": null, "updateContext": null }, - "start": 23726, - "end": 23727, + "start": 24000, + "end": 24001, "loc": { "start": { "line": 635, @@ -189814,8 +189980,8 @@ "binop": null }, "value": "textures", - "start": 23727, - "end": 23735, + "start": 24001, + "end": 24009, "loc": { "start": { "line": 635, @@ -189840,8 +190006,8 @@ "binop": null, "updateContext": null }, - "start": 23735, - "end": 23736, + "start": 24009, + "end": 24010, "loc": { "start": { "line": 635, @@ -189866,8 +190032,8 @@ "binop": null }, "value": "params", - "start": 23736, - "end": 23742, + "start": 24010, + "end": 24016, "loc": { "start": { "line": 635, @@ -189892,8 +190058,8 @@ "binop": null, "updateContext": null }, - "start": 23742, - "end": 23743, + "start": 24016, + "end": 24017, "loc": { "start": { "line": 635, @@ -189918,8 +190084,8 @@ "binop": null }, "value": "emissiveTextureId", - "start": 23743, - "end": 23760, + "start": 24017, + "end": 24034, "loc": { "start": { "line": 635, @@ -189944,8 +190110,8 @@ "binop": null, "updateContext": null }, - "start": 23760, - "end": 23761, + "start": 24034, + "end": 24035, "loc": { "start": { "line": 635, @@ -189970,8 +190136,8 @@ "binop": null, "updateContext": null }, - "start": 23761, - "end": 23762, + "start": 24035, + "end": 24036, "loc": { "start": { "line": 635, @@ -189998,8 +190164,8 @@ "updateContext": null }, "value": "if", - "start": 23775, - "end": 23777, + "start": 24049, + "end": 24051, "loc": { "start": { "line": 636, @@ -190023,8 +190189,8 @@ "postfix": false, "binop": null }, - "start": 23778, - "end": 23779, + "start": 24052, + "end": 24053, "loc": { "start": { "line": 636, @@ -190050,8 +190216,8 @@ "updateContext": null }, "value": "!", - "start": 23779, - "end": 23780, + "start": 24053, + "end": 24054, "loc": { "start": { "line": 636, @@ -190076,8 +190242,8 @@ "binop": null }, "value": "emissiveTexture", - "start": 23780, - "end": 23795, + "start": 24054, + "end": 24069, "loc": { "start": { "line": 636, @@ -190101,8 +190267,8 @@ "postfix": false, "binop": null }, - "start": 23795, - "end": 23796, + "start": 24069, + "end": 24070, "loc": { "start": { "line": 636, @@ -190126,8 +190292,8 @@ "postfix": false, "binop": null }, - "start": 23797, - "end": 23798, + "start": 24071, + "end": 24072, "loc": { "start": { "line": 636, @@ -190152,8 +190318,8 @@ "binop": null }, "value": "console", - "start": 23815, - "end": 23822, + "start": 24089, + "end": 24096, "loc": { "start": { "line": 637, @@ -190178,8 +190344,8 @@ "binop": null, "updateContext": null }, - "start": 23822, - "end": 23823, + "start": 24096, + "end": 24097, "loc": { "start": { "line": 637, @@ -190204,8 +190370,8 @@ "binop": null }, "value": "error", - "start": 23823, - "end": 23828, + "start": 24097, + "end": 24102, "loc": { "start": { "line": 637, @@ -190229,8 +190395,8 @@ "postfix": false, "binop": null }, - "start": 23828, - "end": 23829, + "start": 24102, + "end": 24103, "loc": { "start": { "line": 637, @@ -190254,8 +190420,8 @@ "postfix": false, "binop": null }, - "start": 23829, - "end": 23830, + "start": 24103, + "end": 24104, "loc": { "start": { "line": 637, @@ -190281,8 +190447,8 @@ "updateContext": null }, "value": "Texture not found: ", - "start": 23830, - "end": 23849, + "start": 24104, + "end": 24123, "loc": { "start": { "line": 637, @@ -190306,8 +190472,8 @@ "postfix": false, "binop": null }, - "start": 23849, - "end": 23851, + "start": 24123, + "end": 24125, "loc": { "start": { "line": 637, @@ -190332,8 +190498,8 @@ "binop": null }, "value": "params", - "start": 23851, - "end": 23857, + "start": 24125, + "end": 24131, "loc": { "start": { "line": 637, @@ -190358,8 +190524,8 @@ "binop": null, "updateContext": null }, - "start": 23857, - "end": 23858, + "start": 24131, + "end": 24132, "loc": { "start": { "line": 637, @@ -190384,8 +190550,8 @@ "binop": null }, "value": "emissiveTextureId", - "start": 23858, - "end": 23875, + "start": 24132, + "end": 24149, "loc": { "start": { "line": 637, @@ -190409,8 +190575,8 @@ "postfix": false, "binop": null }, - "start": 23875, - "end": 23876, + "start": 24149, + "end": 24150, "loc": { "start": { "line": 637, @@ -190436,8 +190602,8 @@ "updateContext": null }, "value": " - ensure that you create it first with createTexture()", - "start": 23876, - "end": 23931, + "start": 24150, + "end": 24205, "loc": { "start": { "line": 637, @@ -190461,8 +190627,8 @@ "postfix": false, "binop": null }, - "start": 23931, - "end": 23932, + "start": 24205, + "end": 24206, "loc": { "start": { "line": 637, @@ -190486,8 +190652,8 @@ "postfix": false, "binop": null }, - "start": 23932, - "end": 23933, + "start": 24206, + "end": 24207, "loc": { "start": { "line": 637, @@ -190512,8 +190678,8 @@ "binop": null, "updateContext": null }, - "start": 23933, - "end": 23934, + "start": 24207, + "end": 24208, "loc": { "start": { "line": 637, @@ -190540,8 +190706,8 @@ "updateContext": null }, "value": "return", - "start": 23951, - "end": 23957, + "start": 24225, + "end": 24231, "loc": { "start": { "line": 638, @@ -190566,8 +190732,8 @@ "binop": null, "updateContext": null }, - "start": 23957, - "end": 23958, + "start": 24231, + "end": 24232, "loc": { "start": { "line": 638, @@ -190591,8 +190757,8 @@ "postfix": false, "binop": null }, - "start": 23971, - "end": 23972, + "start": 24245, + "end": 24246, "loc": { "start": { "line": 639, @@ -190617,8 +190783,8 @@ "binop": null }, "value": "emissiveTexture", - "start": 23985, - "end": 24000, + "start": 24259, + "end": 24274, "loc": { "start": { "line": 640, @@ -190643,8 +190809,8 @@ "binop": null, "updateContext": null }, - "start": 24000, - "end": 24001, + "start": 24274, + "end": 24275, "loc": { "start": { "line": 640, @@ -190669,8 +190835,8 @@ "binop": null }, "value": "channel", - "start": 24001, - "end": 24008, + "start": 24275, + "end": 24282, "loc": { "start": { "line": 640, @@ -190696,8 +190862,8 @@ "updateContext": null }, "value": "=", - "start": 24009, - "end": 24010, + "start": 24283, + "end": 24284, "loc": { "start": { "line": 640, @@ -190722,8 +190888,8 @@ "binop": null }, "value": "EMISSIVE_TEXTURE", - "start": 24011, - "end": 24027, + "start": 24285, + "end": 24301, "loc": { "start": { "line": 640, @@ -190748,8 +190914,8 @@ "binop": null, "updateContext": null }, - "start": 24027, - "end": 24028, + "start": 24301, + "end": 24302, "loc": { "start": { "line": 640, @@ -190773,8 +190939,8 @@ "postfix": false, "binop": null }, - "start": 24037, - "end": 24038, + "start": 24311, + "end": 24312, "loc": { "start": { "line": 641, @@ -190801,8 +190967,8 @@ "updateContext": null }, "value": "let", - "start": 24048, - "end": 24051, + "start": 24322, + "end": 24325, "loc": { "start": { "line": 643, @@ -190827,8 +190993,8 @@ "binop": null }, "value": "occlusionTexture", - "start": 24052, - "end": 24068, + "start": 24326, + "end": 24342, "loc": { "start": { "line": 643, @@ -190853,8 +191019,8 @@ "binop": null, "updateContext": null }, - "start": 24068, - "end": 24069, + "start": 24342, + "end": 24343, "loc": { "start": { "line": 643, @@ -190881,8 +191047,8 @@ "updateContext": null }, "value": "if", - "start": 24078, - "end": 24080, + "start": 24352, + "end": 24354, "loc": { "start": { "line": 644, @@ -190906,8 +191072,8 @@ "postfix": false, "binop": null }, - "start": 24081, - "end": 24082, + "start": 24355, + "end": 24356, "loc": { "start": { "line": 644, @@ -190932,8 +191098,8 @@ "binop": null }, "value": "params", - "start": 24082, - "end": 24088, + "start": 24356, + "end": 24362, "loc": { "start": { "line": 644, @@ -190958,8 +191124,8 @@ "binop": null, "updateContext": null }, - "start": 24088, - "end": 24089, + "start": 24362, + "end": 24363, "loc": { "start": { "line": 644, @@ -190984,8 +191150,8 @@ "binop": null }, "value": "occlusionTextureId", - "start": 24089, - "end": 24107, + "start": 24363, + "end": 24381, "loc": { "start": { "line": 644, @@ -191011,8 +191177,8 @@ "updateContext": null }, "value": "!==", - "start": 24108, - "end": 24111, + "start": 24382, + "end": 24385, "loc": { "start": { "line": 644, @@ -191037,8 +191203,8 @@ "binop": null }, "value": "undefined", - "start": 24112, - "end": 24121, + "start": 24386, + "end": 24395, "loc": { "start": { "line": 644, @@ -191064,8 +191230,8 @@ "updateContext": null }, "value": "&&", - "start": 24122, - "end": 24124, + "start": 24396, + "end": 24398, "loc": { "start": { "line": 644, @@ -191090,8 +191256,8 @@ "binop": null }, "value": "params", - "start": 24125, - "end": 24131, + "start": 24399, + "end": 24405, "loc": { "start": { "line": 644, @@ -191116,8 +191282,8 @@ "binop": null, "updateContext": null }, - "start": 24131, - "end": 24132, + "start": 24405, + "end": 24406, "loc": { "start": { "line": 644, @@ -191142,8 +191308,8 @@ "binop": null }, "value": "occlusionTextureId", - "start": 24132, - "end": 24150, + "start": 24406, + "end": 24424, "loc": { "start": { "line": 644, @@ -191169,8 +191335,8 @@ "updateContext": null }, "value": "!==", - "start": 24151, - "end": 24154, + "start": 24425, + "end": 24428, "loc": { "start": { "line": 644, @@ -191197,8 +191363,8 @@ "updateContext": null }, "value": "null", - "start": 24155, - "end": 24159, + "start": 24429, + "end": 24433, "loc": { "start": { "line": 644, @@ -191222,8 +191388,8 @@ "postfix": false, "binop": null }, - "start": 24159, - "end": 24160, + "start": 24433, + "end": 24434, "loc": { "start": { "line": 644, @@ -191247,8 +191413,8 @@ "postfix": false, "binop": null }, - "start": 24161, - "end": 24162, + "start": 24435, + "end": 24436, "loc": { "start": { "line": 644, @@ -191273,8 +191439,8 @@ "binop": null }, "value": "occlusionTexture", - "start": 24175, - "end": 24191, + "start": 24449, + "end": 24465, "loc": { "start": { "line": 645, @@ -191300,8 +191466,8 @@ "updateContext": null }, "value": "=", - "start": 24192, - "end": 24193, + "start": 24466, + "end": 24467, "loc": { "start": { "line": 645, @@ -191328,8 +191494,8 @@ "updateContext": null }, "value": "this", - "start": 24194, - "end": 24198, + "start": 24468, + "end": 24472, "loc": { "start": { "line": 645, @@ -191354,8 +191520,8 @@ "binop": null, "updateContext": null }, - "start": 24198, - "end": 24199, + "start": 24472, + "end": 24473, "loc": { "start": { "line": 645, @@ -191380,8 +191546,8 @@ "binop": null }, "value": "textures", - "start": 24199, - "end": 24207, + "start": 24473, + "end": 24481, "loc": { "start": { "line": 645, @@ -191406,8 +191572,8 @@ "binop": null, "updateContext": null }, - "start": 24207, - "end": 24208, + "start": 24481, + "end": 24482, "loc": { "start": { "line": 645, @@ -191432,8 +191598,8 @@ "binop": null }, "value": "params", - "start": 24208, - "end": 24214, + "start": 24482, + "end": 24488, "loc": { "start": { "line": 645, @@ -191458,8 +191624,8 @@ "binop": null, "updateContext": null }, - "start": 24214, - "end": 24215, + "start": 24488, + "end": 24489, "loc": { "start": { "line": 645, @@ -191484,8 +191650,8 @@ "binop": null }, "value": "occlusionTextureId", - "start": 24215, - "end": 24233, + "start": 24489, + "end": 24507, "loc": { "start": { "line": 645, @@ -191510,8 +191676,8 @@ "binop": null, "updateContext": null }, - "start": 24233, - "end": 24234, + "start": 24507, + "end": 24508, "loc": { "start": { "line": 645, @@ -191536,8 +191702,8 @@ "binop": null, "updateContext": null }, - "start": 24234, - "end": 24235, + "start": 24508, + "end": 24509, "loc": { "start": { "line": 645, @@ -191564,8 +191730,8 @@ "updateContext": null }, "value": "if", - "start": 24248, - "end": 24250, + "start": 24522, + "end": 24524, "loc": { "start": { "line": 646, @@ -191589,8 +191755,8 @@ "postfix": false, "binop": null }, - "start": 24251, - "end": 24252, + "start": 24525, + "end": 24526, "loc": { "start": { "line": 646, @@ -191616,8 +191782,8 @@ "updateContext": null }, "value": "!", - "start": 24252, - "end": 24253, + "start": 24526, + "end": 24527, "loc": { "start": { "line": 646, @@ -191642,8 +191808,8 @@ "binop": null }, "value": "occlusionTexture", - "start": 24253, - "end": 24269, + "start": 24527, + "end": 24543, "loc": { "start": { "line": 646, @@ -191667,8 +191833,8 @@ "postfix": false, "binop": null }, - "start": 24269, - "end": 24270, + "start": 24543, + "end": 24544, "loc": { "start": { "line": 646, @@ -191692,8 +191858,8 @@ "postfix": false, "binop": null }, - "start": 24271, - "end": 24272, + "start": 24545, + "end": 24546, "loc": { "start": { "line": 646, @@ -191718,8 +191884,8 @@ "binop": null }, "value": "console", - "start": 24289, - "end": 24296, + "start": 24563, + "end": 24570, "loc": { "start": { "line": 647, @@ -191744,8 +191910,8 @@ "binop": null, "updateContext": null }, - "start": 24296, - "end": 24297, + "start": 24570, + "end": 24571, "loc": { "start": { "line": 647, @@ -191770,8 +191936,8 @@ "binop": null }, "value": "error", - "start": 24297, - "end": 24302, + "start": 24571, + "end": 24576, "loc": { "start": { "line": 647, @@ -191795,8 +191961,8 @@ "postfix": false, "binop": null }, - "start": 24302, - "end": 24303, + "start": 24576, + "end": 24577, "loc": { "start": { "line": 647, @@ -191820,8 +191986,8 @@ "postfix": false, "binop": null }, - "start": 24303, - "end": 24304, + "start": 24577, + "end": 24578, "loc": { "start": { "line": 647, @@ -191847,8 +192013,8 @@ "updateContext": null }, "value": "Texture not found: ", - "start": 24304, - "end": 24323, + "start": 24578, + "end": 24597, "loc": { "start": { "line": 647, @@ -191872,8 +192038,8 @@ "postfix": false, "binop": null }, - "start": 24323, - "end": 24325, + "start": 24597, + "end": 24599, "loc": { "start": { "line": 647, @@ -191898,8 +192064,8 @@ "binop": null }, "value": "params", - "start": 24325, - "end": 24331, + "start": 24599, + "end": 24605, "loc": { "start": { "line": 647, @@ -191924,8 +192090,8 @@ "binop": null, "updateContext": null }, - "start": 24331, - "end": 24332, + "start": 24605, + "end": 24606, "loc": { "start": { "line": 647, @@ -191950,8 +192116,8 @@ "binop": null }, "value": "occlusionTextureId", - "start": 24332, - "end": 24350, + "start": 24606, + "end": 24624, "loc": { "start": { "line": 647, @@ -191975,8 +192141,8 @@ "postfix": false, "binop": null }, - "start": 24350, - "end": 24351, + "start": 24624, + "end": 24625, "loc": { "start": { "line": 647, @@ -192002,8 +192168,8 @@ "updateContext": null }, "value": " - ensure that you create it first with createTexture()", - "start": 24351, - "end": 24406, + "start": 24625, + "end": 24680, "loc": { "start": { "line": 647, @@ -192027,8 +192193,8 @@ "postfix": false, "binop": null }, - "start": 24406, - "end": 24407, + "start": 24680, + "end": 24681, "loc": { "start": { "line": 647, @@ -192052,8 +192218,8 @@ "postfix": false, "binop": null }, - "start": 24407, - "end": 24408, + "start": 24681, + "end": 24682, "loc": { "start": { "line": 647, @@ -192078,8 +192244,8 @@ "binop": null, "updateContext": null }, - "start": 24408, - "end": 24409, + "start": 24682, + "end": 24683, "loc": { "start": { "line": 647, @@ -192106,8 +192272,8 @@ "updateContext": null }, "value": "return", - "start": 24426, - "end": 24432, + "start": 24700, + "end": 24706, "loc": { "start": { "line": 648, @@ -192132,8 +192298,8 @@ "binop": null, "updateContext": null }, - "start": 24432, - "end": 24433, + "start": 24706, + "end": 24707, "loc": { "start": { "line": 648, @@ -192157,8 +192323,8 @@ "postfix": false, "binop": null }, - "start": 24446, - "end": 24447, + "start": 24720, + "end": 24721, "loc": { "start": { "line": 649, @@ -192183,8 +192349,8 @@ "binop": null }, "value": "occlusionTexture", - "start": 24460, - "end": 24476, + "start": 24734, + "end": 24750, "loc": { "start": { "line": 650, @@ -192209,8 +192375,8 @@ "binop": null, "updateContext": null }, - "start": 24476, - "end": 24477, + "start": 24750, + "end": 24751, "loc": { "start": { "line": 650, @@ -192235,8 +192401,8 @@ "binop": null }, "value": "channel", - "start": 24477, - "end": 24484, + "start": 24751, + "end": 24758, "loc": { "start": { "line": 650, @@ -192262,8 +192428,8 @@ "updateContext": null }, "value": "=", - "start": 24485, - "end": 24486, + "start": 24759, + "end": 24760, "loc": { "start": { "line": 650, @@ -192288,8 +192454,8 @@ "binop": null }, "value": "OCCLUSION_TEXTURE", - "start": 24487, - "end": 24504, + "start": 24761, + "end": 24778, "loc": { "start": { "line": 650, @@ -192314,8 +192480,8 @@ "binop": null, "updateContext": null }, - "start": 24504, - "end": 24505, + "start": 24778, + "end": 24779, "loc": { "start": { "line": 650, @@ -192339,8 +192505,8 @@ "postfix": false, "binop": null }, - "start": 24514, - "end": 24515, + "start": 24788, + "end": 24789, "loc": { "start": { "line": 651, @@ -192367,8 +192533,8 @@ "updateContext": null }, "value": "const", - "start": 24525, - "end": 24530, + "start": 24799, + "end": 24804, "loc": { "start": { "line": 653, @@ -192393,8 +192559,8 @@ "binop": null }, "value": "textureSet", - "start": 24531, - "end": 24541, + "start": 24805, + "end": 24815, "loc": { "start": { "line": 653, @@ -192420,8 +192586,8 @@ "updateContext": null }, "value": "=", - "start": 24542, - "end": 24543, + "start": 24816, + "end": 24817, "loc": { "start": { "line": 653, @@ -192448,8 +192614,8 @@ "updateContext": null }, "value": "new", - "start": 24544, - "end": 24547, + "start": 24818, + "end": 24821, "loc": { "start": { "line": 653, @@ -192474,8 +192640,8 @@ "binop": null }, "value": "XKTTextureSet", - "start": 24548, - "end": 24561, + "start": 24822, + "end": 24835, "loc": { "start": { "line": 653, @@ -192499,8 +192665,8 @@ "postfix": false, "binop": null }, - "start": 24561, - "end": 24562, + "start": 24835, + "end": 24836, "loc": { "start": { "line": 653, @@ -192524,8 +192690,8 @@ "postfix": false, "binop": null }, - "start": 24562, - "end": 24563, + "start": 24836, + "end": 24837, "loc": { "start": { "line": 653, @@ -192550,8 +192716,8 @@ "binop": null }, "value": "textureSetId", - "start": 24576, - "end": 24588, + "start": 24850, + "end": 24862, "loc": { "start": { "line": 654, @@ -192576,8 +192742,8 @@ "binop": null, "updateContext": null }, - "start": 24588, - "end": 24589, + "start": 24862, + "end": 24863, "loc": { "start": { "line": 654, @@ -192602,8 +192768,8 @@ "binop": null }, "value": "params", - "start": 24590, - "end": 24596, + "start": 24864, + "end": 24870, "loc": { "start": { "line": 654, @@ -192628,8 +192794,8 @@ "binop": null, "updateContext": null }, - "start": 24596, - "end": 24597, + "start": 24870, + "end": 24871, "loc": { "start": { "line": 654, @@ -192654,8 +192820,8 @@ "binop": null }, "value": "textureSetId", - "start": 24597, - "end": 24609, + "start": 24871, + "end": 24883, "loc": { "start": { "line": 654, @@ -192680,8 +192846,8 @@ "binop": null, "updateContext": null }, - "start": 24609, - "end": 24610, + "start": 24883, + "end": 24884, "loc": { "start": { "line": 654, @@ -192706,8 +192872,8 @@ "binop": null }, "value": "textureSetIndex", - "start": 24623, - "end": 24638, + "start": 24897, + "end": 24912, "loc": { "start": { "line": 655, @@ -192732,8 +192898,8 @@ "binop": null, "updateContext": null }, - "start": 24638, - "end": 24639, + "start": 24912, + "end": 24913, "loc": { "start": { "line": 655, @@ -192760,8 +192926,8 @@ "updateContext": null }, "value": "this", - "start": 24640, - "end": 24644, + "start": 24914, + "end": 24918, "loc": { "start": { "line": 655, @@ -192786,8 +192952,8 @@ "binop": null, "updateContext": null }, - "start": 24644, - "end": 24645, + "start": 24918, + "end": 24919, "loc": { "start": { "line": 655, @@ -192812,8 +192978,8 @@ "binop": null }, "value": "textureSetsList", - "start": 24645, - "end": 24660, + "start": 24919, + "end": 24934, "loc": { "start": { "line": 655, @@ -192838,8 +193004,8 @@ "binop": null, "updateContext": null }, - "start": 24660, - "end": 24661, + "start": 24934, + "end": 24935, "loc": { "start": { "line": 655, @@ -192864,8 +193030,8 @@ "binop": null }, "value": "length", - "start": 24661, - "end": 24667, + "start": 24935, + "end": 24941, "loc": { "start": { "line": 655, @@ -192890,8 +193056,8 @@ "binop": null, "updateContext": null }, - "start": 24667, - "end": 24668, + "start": 24941, + "end": 24942, "loc": { "start": { "line": 655, @@ -192916,8 +193082,8 @@ "binop": null }, "value": "colorTexture", - "start": 24681, - "end": 24693, + "start": 24955, + "end": 24967, "loc": { "start": { "line": 656, @@ -192942,8 +193108,8 @@ "binop": null, "updateContext": null }, - "start": 24693, - "end": 24694, + "start": 24967, + "end": 24968, "loc": { "start": { "line": 656, @@ -192968,8 +193134,8 @@ "binop": null }, "value": "metallicRoughnessTexture", - "start": 24707, - "end": 24731, + "start": 24981, + "end": 25005, "loc": { "start": { "line": 657, @@ -192994,8 +193160,8 @@ "binop": null, "updateContext": null }, - "start": 24731, - "end": 24732, + "start": 25005, + "end": 25006, "loc": { "start": { "line": 657, @@ -193020,8 +193186,8 @@ "binop": null }, "value": "normalsTexture", - "start": 24745, - "end": 24759, + "start": 25019, + "end": 25033, "loc": { "start": { "line": 658, @@ -193046,8 +193212,8 @@ "binop": null, "updateContext": null }, - "start": 24759, - "end": 24760, + "start": 25033, + "end": 25034, "loc": { "start": { "line": 658, @@ -193072,8 +193238,8 @@ "binop": null }, "value": "emissiveTexture", - "start": 24773, - "end": 24788, + "start": 25047, + "end": 25062, "loc": { "start": { "line": 659, @@ -193098,8 +193264,8 @@ "binop": null, "updateContext": null }, - "start": 24788, - "end": 24789, + "start": 25062, + "end": 25063, "loc": { "start": { "line": 659, @@ -193124,8 +193290,8 @@ "binop": null }, "value": "occlusionTexture", - "start": 24802, - "end": 24818, + "start": 25076, + "end": 25092, "loc": { "start": { "line": 660, @@ -193149,8 +193315,8 @@ "postfix": false, "binop": null }, - "start": 24827, - "end": 24828, + "start": 25101, + "end": 25102, "loc": { "start": { "line": 661, @@ -193174,8 +193340,8 @@ "postfix": false, "binop": null }, - "start": 24828, - "end": 24829, + "start": 25102, + "end": 25103, "loc": { "start": { "line": 661, @@ -193200,8 +193366,8 @@ "binop": null, "updateContext": null }, - "start": 24829, - "end": 24830, + "start": 25103, + "end": 25104, "loc": { "start": { "line": 661, @@ -193228,8 +193394,8 @@ "updateContext": null }, "value": "this", - "start": 24840, - "end": 24844, + "start": 25114, + "end": 25118, "loc": { "start": { "line": 663, @@ -193254,8 +193420,8 @@ "binop": null, "updateContext": null }, - "start": 24844, - "end": 24845, + "start": 25118, + "end": 25119, "loc": { "start": { "line": 663, @@ -193280,8 +193446,8 @@ "binop": null }, "value": "textureSets", - "start": 24845, - "end": 24856, + "start": 25119, + "end": 25130, "loc": { "start": { "line": 663, @@ -193306,8 +193472,8 @@ "binop": null, "updateContext": null }, - "start": 24856, - "end": 24857, + "start": 25130, + "end": 25131, "loc": { "start": { "line": 663, @@ -193332,8 +193498,8 @@ "binop": null }, "value": "params", - "start": 24857, - "end": 24863, + "start": 25131, + "end": 25137, "loc": { "start": { "line": 663, @@ -193358,8 +193524,8 @@ "binop": null, "updateContext": null }, - "start": 24863, - "end": 24864, + "start": 25137, + "end": 25138, "loc": { "start": { "line": 663, @@ -193384,8 +193550,8 @@ "binop": null }, "value": "textureSetId", - "start": 24864, - "end": 24876, + "start": 25138, + "end": 25150, "loc": { "start": { "line": 663, @@ -193410,8 +193576,8 @@ "binop": null, "updateContext": null }, - "start": 24876, - "end": 24877, + "start": 25150, + "end": 25151, "loc": { "start": { "line": 663, @@ -193437,8 +193603,8 @@ "updateContext": null }, "value": "=", - "start": 24878, - "end": 24879, + "start": 25152, + "end": 25153, "loc": { "start": { "line": 663, @@ -193463,8 +193629,8 @@ "binop": null }, "value": "textureSet", - "start": 24880, - "end": 24890, + "start": 25154, + "end": 25164, "loc": { "start": { "line": 663, @@ -193489,8 +193655,8 @@ "binop": null, "updateContext": null }, - "start": 24890, - "end": 24891, + "start": 25164, + "end": 25165, "loc": { "start": { "line": 663, @@ -193517,8 +193683,8 @@ "updateContext": null }, "value": "this", - "start": 24900, - "end": 24904, + "start": 25174, + "end": 25178, "loc": { "start": { "line": 664, @@ -193543,8 +193709,8 @@ "binop": null, "updateContext": null }, - "start": 24904, - "end": 24905, + "start": 25178, + "end": 25179, "loc": { "start": { "line": 664, @@ -193569,8 +193735,8 @@ "binop": null }, "value": "textureSetsList", - "start": 24905, - "end": 24920, + "start": 25179, + "end": 25194, "loc": { "start": { "line": 664, @@ -193595,8 +193761,8 @@ "binop": null, "updateContext": null }, - "start": 24920, - "end": 24921, + "start": 25194, + "end": 25195, "loc": { "start": { "line": 664, @@ -193621,8 +193787,8 @@ "binop": null }, "value": "push", - "start": 24921, - "end": 24925, + "start": 25195, + "end": 25199, "loc": { "start": { "line": 664, @@ -193646,8 +193812,8 @@ "postfix": false, "binop": null }, - "start": 24925, - "end": 24926, + "start": 25199, + "end": 25200, "loc": { "start": { "line": 664, @@ -193672,8 +193838,8 @@ "binop": null }, "value": "textureSet", - "start": 24926, - "end": 24936, + "start": 25200, + "end": 25210, "loc": { "start": { "line": 664, @@ -193697,8 +193863,8 @@ "postfix": false, "binop": null }, - "start": 24936, - "end": 24937, + "start": 25210, + "end": 25211, "loc": { "start": { "line": 664, @@ -193723,8 +193889,8 @@ "binop": null, "updateContext": null }, - "start": 24937, - "end": 24938, + "start": 25211, + "end": 25212, "loc": { "start": { "line": 664, @@ -193751,8 +193917,8 @@ "updateContext": null }, "value": "return", - "start": 24948, - "end": 24954, + "start": 25222, + "end": 25228, "loc": { "start": { "line": 666, @@ -193777,8 +193943,8 @@ "binop": null }, "value": "textureSet", - "start": 24955, - "end": 24965, + "start": 25229, + "end": 25239, "loc": { "start": { "line": 666, @@ -193803,8 +193969,8 @@ "binop": null, "updateContext": null }, - "start": 24965, - "end": 24966, + "start": 25239, + "end": 25240, "loc": { "start": { "line": 666, @@ -193828,8 +193994,8 @@ "postfix": false, "binop": null }, - "start": 24971, - "end": 24972, + "start": 25245, + "end": 25246, "loc": { "start": { "line": 667, @@ -193844,8 +194010,8 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTGeometry} within this XKTModel.\n *\n * Registers the new {@link XKTGeometry} in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.geometryId Unique ID for the {@link XKTGeometry}.\n * @param {String} params.primitiveType The type of {@link XKTGeometry}: \"triangles\", \"lines\" or \"points\".\n * @param {Float64Array} params.positions Floating-point Local-space vertex positions for the {@link XKTGeometry}. Required for all primitive types.\n * @param {Number[]} [params.normals] Floating-point vertex normals for the {@link XKTGeometry}. Only used with triangles primitives. Ignored for points and lines.\n * @param {Number[]} [params.colors] Floating-point RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.uvs] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uv````.\n * @param {Number[]} [params.uv] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uvs````.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Uint32Array} [params.indices] Indices for the {@link XKTGeometry}. Required for triangles and lines primitives. Ignored for points.\n * @param {Number} [params.edgeThreshold=10]\n * @returns {XKTGeometry} The new {@link XKTGeometry}.\n ", - "start": 24978, - "end": 26864, + "start": 25252, + "end": 27138, "loc": { "start": { "line": 669, @@ -193870,8 +194036,8 @@ "binop": null }, "value": "createGeometry", - "start": 26869, - "end": 26883, + "start": 27143, + "end": 27157, "loc": { "start": { "line": 690, @@ -193895,8 +194061,8 @@ "postfix": false, "binop": null }, - "start": 26883, - "end": 26884, + "start": 27157, + "end": 27158, "loc": { "start": { "line": 690, @@ -193921,8 +194087,8 @@ "binop": null }, "value": "params", - "start": 26884, - "end": 26890, + "start": 27158, + "end": 27164, "loc": { "start": { "line": 690, @@ -193946,8 +194112,8 @@ "postfix": false, "binop": null }, - "start": 26890, - "end": 26891, + "start": 27164, + "end": 27165, "loc": { "start": { "line": 690, @@ -193971,8 +194137,8 @@ "postfix": false, "binop": null }, - "start": 26892, - "end": 26893, + "start": 27166, + "end": 27167, "loc": { "start": { "line": 690, @@ -193999,8 +194165,8 @@ "updateContext": null }, "value": "if", - "start": 26903, - "end": 26905, + "start": 27177, + "end": 27179, "loc": { "start": { "line": 692, @@ -194024,8 +194190,8 @@ "postfix": false, "binop": null }, - "start": 26906, - "end": 26907, + "start": 27180, + "end": 27181, "loc": { "start": { "line": 692, @@ -194051,8 +194217,8 @@ "updateContext": null }, "value": "!", - "start": 26907, - "end": 26908, + "start": 27181, + "end": 27182, "loc": { "start": { "line": 692, @@ -194077,8 +194243,8 @@ "binop": null }, "value": "params", - "start": 26908, - "end": 26914, + "start": 27182, + "end": 27188, "loc": { "start": { "line": 692, @@ -194102,8 +194268,8 @@ "postfix": false, "binop": null }, - "start": 26914, - "end": 26915, + "start": 27188, + "end": 27189, "loc": { "start": { "line": 692, @@ -194127,8 +194293,8 @@ "postfix": false, "binop": null }, - "start": 26916, - "end": 26917, + "start": 27190, + "end": 27191, "loc": { "start": { "line": 692, @@ -194155,8 +194321,8 @@ "updateContext": null }, "value": "throw", - "start": 26930, - "end": 26935, + "start": 27204, + "end": 27209, "loc": { "start": { "line": 693, @@ -194181,9 +194347,9 @@ "binop": null, "updateContext": null }, - "value": "Parameters expected: params", - "start": 26936, - "end": 26965, + "value": "[XKTModel.createGeometry] Parameters expected: params", + "start": 27210, + "end": 27265, "loc": { "start": { "line": 693, @@ -194191,7 +194357,7 @@ }, "end": { "line": 693, - "column": 47 + "column": 73 } } }, @@ -194208,16 +194374,16 @@ "binop": null, "updateContext": null }, - "start": 26965, - "end": 26966, + "start": 27265, + "end": 27266, "loc": { "start": { "line": 693, - "column": 47 + "column": 73 }, "end": { "line": 693, - "column": 48 + "column": 74 } } }, @@ -194233,8 +194399,8 @@ "postfix": false, "binop": null }, - "start": 26975, - "end": 26976, + "start": 27275, + "end": 27276, "loc": { "start": { "line": 694, @@ -194261,8 +194427,8 @@ "updateContext": null }, "value": "if", - "start": 26986, - "end": 26988, + "start": 27286, + "end": 27288, "loc": { "start": { "line": 696, @@ -194286,8 +194452,8 @@ "postfix": false, "binop": null }, - "start": 26989, - "end": 26990, + "start": 27289, + "end": 27290, "loc": { "start": { "line": 696, @@ -194312,8 +194478,8 @@ "binop": null }, "value": "params", - "start": 26990, - "end": 26996, + "start": 27290, + "end": 27296, "loc": { "start": { "line": 696, @@ -194338,8 +194504,8 @@ "binop": null, "updateContext": null }, - "start": 26996, - "end": 26997, + "start": 27296, + "end": 27297, "loc": { "start": { "line": 696, @@ -194364,8 +194530,8 @@ "binop": null }, "value": "geometryId", - "start": 26997, - "end": 27007, + "start": 27297, + "end": 27307, "loc": { "start": { "line": 696, @@ -194391,8 +194557,8 @@ "updateContext": null }, "value": "===", - "start": 27008, - "end": 27011, + "start": 27308, + "end": 27311, "loc": { "start": { "line": 696, @@ -194419,8 +194585,8 @@ "updateContext": null }, "value": "null", - "start": 27012, - "end": 27016, + "start": 27312, + "end": 27316, "loc": { "start": { "line": 696, @@ -194446,8 +194612,8 @@ "updateContext": null }, "value": "||", - "start": 27017, - "end": 27019, + "start": 27317, + "end": 27319, "loc": { "start": { "line": 696, @@ -194472,8 +194638,8 @@ "binop": null }, "value": "params", - "start": 27020, - "end": 27026, + "start": 27320, + "end": 27326, "loc": { "start": { "line": 696, @@ -194498,8 +194664,8 @@ "binop": null, "updateContext": null }, - "start": 27026, - "end": 27027, + "start": 27326, + "end": 27327, "loc": { "start": { "line": 696, @@ -194524,8 +194690,8 @@ "binop": null }, "value": "geometryId", - "start": 27027, - "end": 27037, + "start": 27327, + "end": 27337, "loc": { "start": { "line": 696, @@ -194551,8 +194717,8 @@ "updateContext": null }, "value": "===", - "start": 27038, - "end": 27041, + "start": 27338, + "end": 27341, "loc": { "start": { "line": 696, @@ -194577,8 +194743,8 @@ "binop": null }, "value": "undefined", - "start": 27042, - "end": 27051, + "start": 27342, + "end": 27351, "loc": { "start": { "line": 696, @@ -194602,8 +194768,8 @@ "postfix": false, "binop": null }, - "start": 27051, - "end": 27052, + "start": 27351, + "end": 27352, "loc": { "start": { "line": 696, @@ -194627,8 +194793,8 @@ "postfix": false, "binop": null }, - "start": 27053, - "end": 27054, + "start": 27353, + "end": 27354, "loc": { "start": { "line": 696, @@ -194655,8 +194821,8 @@ "updateContext": null }, "value": "throw", - "start": 27067, - "end": 27072, + "start": 27367, + "end": 27372, "loc": { "start": { "line": 697, @@ -194681,9 +194847,9 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.geometryId", - "start": 27073, - "end": 27112, + "value": "[XKTModel.createGeometry] Parameter expected: params.geometryId", + "start": 27373, + "end": 27438, "loc": { "start": { "line": 697, @@ -194691,7 +194857,7 @@ }, "end": { "line": 697, - "column": 57 + "column": 83 } } }, @@ -194708,16 +194874,16 @@ "binop": null, "updateContext": null }, - "start": 27112, - "end": 27113, + "start": 27438, + "end": 27439, "loc": { "start": { "line": 697, - "column": 57 + "column": 83 }, "end": { "line": 697, - "column": 58 + "column": 84 } } }, @@ -194733,8 +194899,8 @@ "postfix": false, "binop": null }, - "start": 27122, - "end": 27123, + "start": 27448, + "end": 27449, "loc": { "start": { "line": 698, @@ -194761,8 +194927,8 @@ "updateContext": null }, "value": "if", - "start": 27133, - "end": 27135, + "start": 27459, + "end": 27461, "loc": { "start": { "line": 700, @@ -194786,8 +194952,8 @@ "postfix": false, "binop": null }, - "start": 27136, - "end": 27137, + "start": 27462, + "end": 27463, "loc": { "start": { "line": 700, @@ -194813,8 +194979,8 @@ "updateContext": null }, "value": "!", - "start": 27137, - "end": 27138, + "start": 27463, + "end": 27464, "loc": { "start": { "line": 700, @@ -194839,8 +195005,8 @@ "binop": null }, "value": "params", - "start": 27138, - "end": 27144, + "start": 27464, + "end": 27470, "loc": { "start": { "line": 700, @@ -194865,8 +195031,8 @@ "binop": null, "updateContext": null }, - "start": 27144, - "end": 27145, + "start": 27470, + "end": 27471, "loc": { "start": { "line": 700, @@ -194891,8 +195057,8 @@ "binop": null }, "value": "primitiveType", - "start": 27145, - "end": 27158, + "start": 27471, + "end": 27484, "loc": { "start": { "line": 700, @@ -194916,8 +195082,8 @@ "postfix": false, "binop": null }, - "start": 27158, - "end": 27159, + "start": 27484, + "end": 27485, "loc": { "start": { "line": 700, @@ -194941,8 +195107,8 @@ "postfix": false, "binop": null }, - "start": 27160, - "end": 27161, + "start": 27486, + "end": 27487, "loc": { "start": { "line": 700, @@ -194969,8 +195135,8 @@ "updateContext": null }, "value": "throw", - "start": 27174, - "end": 27179, + "start": 27500, + "end": 27505, "loc": { "start": { "line": 701, @@ -194995,9 +195161,9 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.primitiveType", - "start": 27180, - "end": 27222, + "value": "[XKTModel.createGeometry] Parameter expected: params.primitiveType", + "start": 27506, + "end": 27574, "loc": { "start": { "line": 701, @@ -195005,7 +195171,7 @@ }, "end": { "line": 701, - "column": 60 + "column": 86 } } }, @@ -195022,16 +195188,16 @@ "binop": null, "updateContext": null }, - "start": 27222, - "end": 27223, + "start": 27574, + "end": 27575, "loc": { "start": { "line": 701, - "column": 60 + "column": 86 }, "end": { "line": 701, - "column": 61 + "column": 87 } } }, @@ -195047,8 +195213,8 @@ "postfix": false, "binop": null }, - "start": 27232, - "end": 27233, + "start": 27584, + "end": 27585, "loc": { "start": { "line": 702, @@ -195075,8 +195241,8 @@ "updateContext": null }, "value": "if", - "start": 27243, - "end": 27245, + "start": 27595, + "end": 27597, "loc": { "start": { "line": 704, @@ -195100,8 +195266,8 @@ "postfix": false, "binop": null }, - "start": 27246, - "end": 27247, + "start": 27598, + "end": 27599, "loc": { "start": { "line": 704, @@ -195127,8 +195293,8 @@ "updateContext": null }, "value": "!", - "start": 27247, - "end": 27248, + "start": 27599, + "end": 27600, "loc": { "start": { "line": 704, @@ -195153,8 +195319,8 @@ "binop": null }, "value": "params", - "start": 27248, - "end": 27254, + "start": 27600, + "end": 27606, "loc": { "start": { "line": 704, @@ -195179,8 +195345,8 @@ "binop": null, "updateContext": null }, - "start": 27254, - "end": 27255, + "start": 27606, + "end": 27607, "loc": { "start": { "line": 704, @@ -195205,8 +195371,8 @@ "binop": null }, "value": "positions", - "start": 27255, - "end": 27264, + "start": 27607, + "end": 27616, "loc": { "start": { "line": 704, @@ -195230,8 +195396,8 @@ "postfix": false, "binop": null }, - "start": 27264, - "end": 27265, + "start": 27616, + "end": 27617, "loc": { "start": { "line": 704, @@ -195255,8 +195421,8 @@ "postfix": false, "binop": null }, - "start": 27266, - "end": 27267, + "start": 27618, + "end": 27619, "loc": { "start": { "line": 704, @@ -195283,8 +195449,8 @@ "updateContext": null }, "value": "throw", - "start": 27280, - "end": 27285, + "start": 27632, + "end": 27637, "loc": { "start": { "line": 705, @@ -195309,9 +195475,9 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.positions", - "start": 27286, - "end": 27324, + "value": "[XKTModel.createGeometry] Parameter expected: params.positions", + "start": 27638, + "end": 27702, "loc": { "start": { "line": 705, @@ -195319,7 +195485,7 @@ }, "end": { "line": 705, - "column": 56 + "column": 82 } } }, @@ -195336,16 +195502,16 @@ "binop": null, "updateContext": null }, - "start": 27324, - "end": 27325, + "start": 27702, + "end": 27703, "loc": { "start": { "line": 705, - "column": 56 + "column": 82 }, "end": { "line": 705, - "column": 57 + "column": 83 } } }, @@ -195361,8 +195527,8 @@ "postfix": false, "binop": null }, - "start": 27334, - "end": 27335, + "start": 27712, + "end": 27713, "loc": { "start": { "line": 706, @@ -195389,8 +195555,8 @@ "updateContext": null }, "value": "const", - "start": 27345, - "end": 27350, + "start": 27723, + "end": 27728, "loc": { "start": { "line": 708, @@ -195415,8 +195581,8 @@ "binop": null }, "value": "triangles", - "start": 27351, - "end": 27360, + "start": 27729, + "end": 27738, "loc": { "start": { "line": 708, @@ -195442,8 +195608,8 @@ "updateContext": null }, "value": "=", - "start": 27361, - "end": 27362, + "start": 27739, + "end": 27740, "loc": { "start": { "line": 708, @@ -195468,8 +195634,8 @@ "binop": null }, "value": "params", - "start": 27363, - "end": 27369, + "start": 27741, + "end": 27747, "loc": { "start": { "line": 708, @@ -195494,8 +195660,8 @@ "binop": null, "updateContext": null }, - "start": 27369, - "end": 27370, + "start": 27747, + "end": 27748, "loc": { "start": { "line": 708, @@ -195520,8 +195686,8 @@ "binop": null }, "value": "primitiveType", - "start": 27370, - "end": 27383, + "start": 27748, + "end": 27761, "loc": { "start": { "line": 708, @@ -195547,8 +195713,8 @@ "updateContext": null }, "value": "===", - "start": 27384, - "end": 27387, + "start": 27762, + "end": 27765, "loc": { "start": { "line": 708, @@ -195574,8 +195740,8 @@ "updateContext": null }, "value": "triangles", - "start": 27388, - "end": 27399, + "start": 27766, + "end": 27777, "loc": { "start": { "line": 708, @@ -195600,8 +195766,8 @@ "binop": null, "updateContext": null }, - "start": 27399, - "end": 27400, + "start": 27777, + "end": 27778, "loc": { "start": { "line": 708, @@ -195628,8 +195794,8 @@ "updateContext": null }, "value": "const", - "start": 27409, - "end": 27414, + "start": 27787, + "end": 27792, "loc": { "start": { "line": 709, @@ -195654,8 +195820,8 @@ "binop": null }, "value": "points", - "start": 27415, - "end": 27421, + "start": 27793, + "end": 27799, "loc": { "start": { "line": 709, @@ -195681,8 +195847,8 @@ "updateContext": null }, "value": "=", - "start": 27422, - "end": 27423, + "start": 27800, + "end": 27801, "loc": { "start": { "line": 709, @@ -195707,8 +195873,8 @@ "binop": null }, "value": "params", - "start": 27424, - "end": 27430, + "start": 27802, + "end": 27808, "loc": { "start": { "line": 709, @@ -195733,8 +195899,8 @@ "binop": null, "updateContext": null }, - "start": 27430, - "end": 27431, + "start": 27808, + "end": 27809, "loc": { "start": { "line": 709, @@ -195759,8 +195925,8 @@ "binop": null }, "value": "primitiveType", - "start": 27431, - "end": 27444, + "start": 27809, + "end": 27822, "loc": { "start": { "line": 709, @@ -195786,8 +195952,8 @@ "updateContext": null }, "value": "===", - "start": 27445, - "end": 27448, + "start": 27823, + "end": 27826, "loc": { "start": { "line": 709, @@ -195813,8 +195979,8 @@ "updateContext": null }, "value": "points", - "start": 27449, - "end": 27457, + "start": 27827, + "end": 27835, "loc": { "start": { "line": 709, @@ -195839,8 +196005,8 @@ "binop": null, "updateContext": null }, - "start": 27457, - "end": 27458, + "start": 27835, + "end": 27836, "loc": { "start": { "line": 709, @@ -195867,8 +196033,8 @@ "updateContext": null }, "value": "const", - "start": 27467, - "end": 27472, + "start": 27845, + "end": 27850, "loc": { "start": { "line": 710, @@ -195893,8 +196059,8 @@ "binop": null }, "value": "lines", - "start": 27473, - "end": 27478, + "start": 27851, + "end": 27856, "loc": { "start": { "line": 710, @@ -195920,8 +196086,8 @@ "updateContext": null }, "value": "=", - "start": 27479, - "end": 27480, + "start": 27857, + "end": 27858, "loc": { "start": { "line": 710, @@ -195946,8 +196112,8 @@ "binop": null }, "value": "params", - "start": 27481, - "end": 27487, + "start": 27859, + "end": 27865, "loc": { "start": { "line": 710, @@ -195972,8 +196138,8 @@ "binop": null, "updateContext": null }, - "start": 27487, - "end": 27488, + "start": 27865, + "end": 27866, "loc": { "start": { "line": 710, @@ -195998,8 +196164,8 @@ "binop": null }, "value": "primitiveType", - "start": 27488, - "end": 27501, + "start": 27866, + "end": 27879, "loc": { "start": { "line": 710, @@ -196025,8 +196191,8 @@ "updateContext": null }, "value": "===", - "start": 27502, - "end": 27505, + "start": 27880, + "end": 27883, "loc": { "start": { "line": 710, @@ -196052,8 +196218,8 @@ "updateContext": null }, "value": "lines", - "start": 27506, - "end": 27513, + "start": 27884, + "end": 27891, "loc": { "start": { "line": 710, @@ -196078,8 +196244,8 @@ "binop": null, "updateContext": null }, - "start": 27513, - "end": 27514, + "start": 27891, + "end": 27892, "loc": { "start": { "line": 710, @@ -196106,8 +196272,8 @@ "updateContext": null }, "value": "const", - "start": 27523, - "end": 27528, + "start": 27901, + "end": 27906, "loc": { "start": { "line": 711, @@ -196132,8 +196298,8 @@ "binop": null }, "value": "line_strip", - "start": 27529, - "end": 27539, + "start": 27907, + "end": 27917, "loc": { "start": { "line": 711, @@ -196159,8 +196325,8 @@ "updateContext": null }, "value": "=", - "start": 27540, - "end": 27541, + "start": 27918, + "end": 27919, "loc": { "start": { "line": 711, @@ -196185,8 +196351,8 @@ "binop": null }, "value": "params", - "start": 27542, - "end": 27548, + "start": 27920, + "end": 27926, "loc": { "start": { "line": 711, @@ -196211,8 +196377,8 @@ "binop": null, "updateContext": null }, - "start": 27548, - "end": 27549, + "start": 27926, + "end": 27927, "loc": { "start": { "line": 711, @@ -196237,8 +196403,8 @@ "binop": null }, "value": "primitiveType", - "start": 27549, - "end": 27562, + "start": 27927, + "end": 27940, "loc": { "start": { "line": 711, @@ -196264,8 +196430,8 @@ "updateContext": null }, "value": "===", - "start": 27563, - "end": 27566, + "start": 27941, + "end": 27944, "loc": { "start": { "line": 711, @@ -196291,8 +196457,8 @@ "updateContext": null }, "value": "line-strip", - "start": 27567, - "end": 27579, + "start": 27945, + "end": 27957, "loc": { "start": { "line": 711, @@ -196317,8 +196483,8 @@ "binop": null, "updateContext": null }, - "start": 27579, - "end": 27580, + "start": 27957, + "end": 27958, "loc": { "start": { "line": 711, @@ -196345,8 +196511,8 @@ "updateContext": null }, "value": "const", - "start": 27589, - "end": 27594, + "start": 27967, + "end": 27972, "loc": { "start": { "line": 712, @@ -196371,8 +196537,8 @@ "binop": null }, "value": "line_loop", - "start": 27595, - "end": 27604, + "start": 27973, + "end": 27982, "loc": { "start": { "line": 712, @@ -196398,8 +196564,8 @@ "updateContext": null }, "value": "=", - "start": 27605, - "end": 27606, + "start": 27983, + "end": 27984, "loc": { "start": { "line": 712, @@ -196424,8 +196590,8 @@ "binop": null }, "value": "params", - "start": 27607, - "end": 27613, + "start": 27985, + "end": 27991, "loc": { "start": { "line": 712, @@ -196450,8 +196616,8 @@ "binop": null, "updateContext": null }, - "start": 27613, - "end": 27614, + "start": 27991, + "end": 27992, "loc": { "start": { "line": 712, @@ -196476,8 +196642,8 @@ "binop": null }, "value": "primitiveType", - "start": 27614, - "end": 27627, + "start": 27992, + "end": 28005, "loc": { "start": { "line": 712, @@ -196503,8 +196669,8 @@ "updateContext": null }, "value": "===", - "start": 27628, - "end": 27631, + "start": 28006, + "end": 28009, "loc": { "start": { "line": 712, @@ -196530,8 +196696,8 @@ "updateContext": null }, "value": "line-loop", - "start": 27632, - "end": 27643, + "start": 28010, + "end": 28021, "loc": { "start": { "line": 712, @@ -196556,8 +196722,8 @@ "binop": null, "updateContext": null }, - "start": 27643, - "end": 27644, + "start": 28021, + "end": 28022, "loc": { "start": { "line": 712, @@ -196584,8 +196750,8 @@ "updateContext": null }, "value": "const", - "start": 27653, - "end": 27658, + "start": 28031, + "end": 28036, "loc": { "start": { "line": 713, @@ -196610,8 +196776,8 @@ "binop": null }, "value": "triangle_strip", - "start": 27659, - "end": 27673, + "start": 28037, + "end": 28051, "loc": { "start": { "line": 713, @@ -196637,8 +196803,8 @@ "updateContext": null }, "value": "=", - "start": 27674, - "end": 27675, + "start": 28052, + "end": 28053, "loc": { "start": { "line": 713, @@ -196663,8 +196829,8 @@ "binop": null }, "value": "params", - "start": 27676, - "end": 27682, + "start": 28054, + "end": 28060, "loc": { "start": { "line": 713, @@ -196689,8 +196855,8 @@ "binop": null, "updateContext": null }, - "start": 27682, - "end": 27683, + "start": 28060, + "end": 28061, "loc": { "start": { "line": 713, @@ -196715,8 +196881,8 @@ "binop": null }, "value": "primitiveType", - "start": 27683, - "end": 27696, + "start": 28061, + "end": 28074, "loc": { "start": { "line": 713, @@ -196742,8 +196908,8 @@ "updateContext": null }, "value": "===", - "start": 27697, - "end": 27700, + "start": 28075, + "end": 28078, "loc": { "start": { "line": 713, @@ -196769,8 +196935,8 @@ "updateContext": null }, "value": "triangle-strip", - "start": 27701, - "end": 27717, + "start": 28079, + "end": 28095, "loc": { "start": { "line": 713, @@ -196795,8 +196961,8 @@ "binop": null, "updateContext": null }, - "start": 27717, - "end": 27718, + "start": 28095, + "end": 28096, "loc": { "start": { "line": 713, @@ -196823,8 +196989,8 @@ "updateContext": null }, "value": "const", - "start": 27727, - "end": 27732, + "start": 28105, + "end": 28110, "loc": { "start": { "line": 714, @@ -196849,8 +197015,8 @@ "binop": null }, "value": "triangle_fan", - "start": 27733, - "end": 27745, + "start": 28111, + "end": 28123, "loc": { "start": { "line": 714, @@ -196876,8 +197042,8 @@ "updateContext": null }, "value": "=", - "start": 27746, - "end": 27747, + "start": 28124, + "end": 28125, "loc": { "start": { "line": 714, @@ -196902,8 +197068,8 @@ "binop": null }, "value": "params", - "start": 27748, - "end": 27754, + "start": 28126, + "end": 28132, "loc": { "start": { "line": 714, @@ -196928,8 +197094,8 @@ "binop": null, "updateContext": null }, - "start": 27754, - "end": 27755, + "start": 28132, + "end": 28133, "loc": { "start": { "line": 714, @@ -196954,8 +197120,8 @@ "binop": null }, "value": "primitiveType", - "start": 27755, - "end": 27768, + "start": 28133, + "end": 28146, "loc": { "start": { "line": 714, @@ -196981,8 +197147,8 @@ "updateContext": null }, "value": "===", - "start": 27769, - "end": 27772, + "start": 28147, + "end": 28150, "loc": { "start": { "line": 714, @@ -197008,8 +197174,8 @@ "updateContext": null }, "value": "triangle-fan", - "start": 27773, - "end": 27787, + "start": 28151, + "end": 28165, "loc": { "start": { "line": 714, @@ -197034,8 +197200,8 @@ "binop": null, "updateContext": null }, - "start": 27787, - "end": 27788, + "start": 28165, + "end": 28166, "loc": { "start": { "line": 714, @@ -197062,8 +197228,8 @@ "updateContext": null }, "value": "if", - "start": 27798, - "end": 27800, + "start": 28176, + "end": 28178, "loc": { "start": { "line": 716, @@ -197087,8 +197253,8 @@ "postfix": false, "binop": null }, - "start": 27801, - "end": 27802, + "start": 28179, + "end": 28180, "loc": { "start": { "line": 716, @@ -197114,8 +197280,8 @@ "updateContext": null }, "value": "!", - "start": 27802, - "end": 27803, + "start": 28180, + "end": 28181, "loc": { "start": { "line": 716, @@ -197140,8 +197306,8 @@ "binop": null }, "value": "triangles", - "start": 27803, - "end": 27812, + "start": 28181, + "end": 28190, "loc": { "start": { "line": 716, @@ -197167,8 +197333,8 @@ "updateContext": null }, "value": "&&", - "start": 27813, - "end": 27815, + "start": 28191, + "end": 28193, "loc": { "start": { "line": 716, @@ -197194,8 +197360,8 @@ "updateContext": null }, "value": "!", - "start": 27816, - "end": 27817, + "start": 28194, + "end": 28195, "loc": { "start": { "line": 716, @@ -197220,8 +197386,8 @@ "binop": null }, "value": "points", - "start": 27817, - "end": 27823, + "start": 28195, + "end": 28201, "loc": { "start": { "line": 716, @@ -197247,8 +197413,8 @@ "updateContext": null }, "value": "&&", - "start": 27824, - "end": 27826, + "start": 28202, + "end": 28204, "loc": { "start": { "line": 716, @@ -197274,8 +197440,8 @@ "updateContext": null }, "value": "!", - "start": 27827, - "end": 27828, + "start": 28205, + "end": 28206, "loc": { "start": { "line": 716, @@ -197300,8 +197466,8 @@ "binop": null }, "value": "lines", - "start": 27828, - "end": 27833, + "start": 28206, + "end": 28211, "loc": { "start": { "line": 716, @@ -197327,8 +197493,8 @@ "updateContext": null }, "value": "&&", - "start": 27834, - "end": 27836, + "start": 28212, + "end": 28214, "loc": { "start": { "line": 716, @@ -197354,8 +197520,8 @@ "updateContext": null }, "value": "!", - "start": 27837, - "end": 27838, + "start": 28215, + "end": 28216, "loc": { "start": { "line": 716, @@ -197380,8 +197546,8 @@ "binop": null }, "value": "line_strip", - "start": 27838, - "end": 27848, + "start": 28216, + "end": 28226, "loc": { "start": { "line": 716, @@ -197407,8 +197573,8 @@ "updateContext": null }, "value": "&&", - "start": 27849, - "end": 27851, + "start": 28227, + "end": 28229, "loc": { "start": { "line": 716, @@ -197434,8 +197600,8 @@ "updateContext": null }, "value": "!", - "start": 27852, - "end": 27853, + "start": 28230, + "end": 28231, "loc": { "start": { "line": 716, @@ -197460,8 +197626,8 @@ "binop": null }, "value": "line_loop", - "start": 27853, - "end": 27862, + "start": 28231, + "end": 28240, "loc": { "start": { "line": 716, @@ -197485,8 +197651,8 @@ "postfix": false, "binop": null }, - "start": 27862, - "end": 27863, + "start": 28240, + "end": 28241, "loc": { "start": { "line": 716, @@ -197510,8 +197676,8 @@ "postfix": false, "binop": null }, - "start": 27864, - "end": 27865, + "start": 28242, + "end": 28243, "loc": { "start": { "line": 716, @@ -197538,8 +197704,8 @@ "updateContext": null }, "value": "throw", - "start": 27878, - "end": 27883, + "start": 28256, + "end": 28261, "loc": { "start": { "line": 717, @@ -197564,9 +197730,9 @@ "binop": null, "updateContext": null }, - "value": "Unsupported value for params.primitiveType: ", - "start": 27884, - "end": 27930, + "value": "[XKTModel.createGeometry] Unsupported value for params.primitiveType: ", + "start": 28262, + "end": 28334, "loc": { "start": { "line": 717, @@ -197574,7 +197740,7 @@ }, "end": { "line": 717, - "column": 64 + "column": 90 } } }, @@ -197592,8 +197758,8 @@ "updateContext": null }, "value": "+", - "start": 27943, - "end": 27944, + "start": 28347, + "end": 28348, "loc": { "start": { "line": 718, @@ -197618,8 +197784,8 @@ "binop": null }, "value": "params", - "start": 27945, - "end": 27951, + "start": 28349, + "end": 28355, "loc": { "start": { "line": 718, @@ -197644,8 +197810,8 @@ "binop": null, "updateContext": null }, - "start": 27951, - "end": 27952, + "start": 28355, + "end": 28356, "loc": { "start": { "line": 718, @@ -197670,8 +197836,8 @@ "binop": null }, "value": "primitiveType", - "start": 27952, - "end": 27965, + "start": 28356, + "end": 28369, "loc": { "start": { "line": 718, @@ -197697,8 +197863,8 @@ "updateContext": null }, "value": "+", - "start": 27978, - "end": 27979, + "start": 28382, + "end": 28383, "loc": { "start": { "line": 719, @@ -197724,8 +197890,8 @@ "updateContext": null }, "value": "' - supported values are 'triangles', 'points', 'lines', 'line-strip', 'triangle-strip' and 'triangle-fan", - "start": 27980, - "end": 28087, + "start": 28384, + "end": 28491, "loc": { "start": { "line": 719, @@ -197750,8 +197916,8 @@ "binop": null, "updateContext": null }, - "start": 28087, - "end": 28088, + "start": 28491, + "end": 28492, "loc": { "start": { "line": 719, @@ -197775,8 +197941,8 @@ "postfix": false, "binop": null }, - "start": 28097, - "end": 28098, + "start": 28501, + "end": 28502, "loc": { "start": { "line": 720, @@ -197803,8 +197969,8 @@ "updateContext": null }, "value": "if", - "start": 28108, - "end": 28110, + "start": 28512, + "end": 28514, "loc": { "start": { "line": 722, @@ -197828,8 +197994,8 @@ "postfix": false, "binop": null }, - "start": 28111, - "end": 28112, + "start": 28515, + "end": 28516, "loc": { "start": { "line": 722, @@ -197854,8 +198020,8 @@ "binop": null }, "value": "triangles", - "start": 28112, - "end": 28121, + "start": 28516, + "end": 28525, "loc": { "start": { "line": 722, @@ -197879,8 +198045,8 @@ "postfix": false, "binop": null }, - "start": 28121, - "end": 28122, + "start": 28525, + "end": 28526, "loc": { "start": { "line": 722, @@ -197904,8 +198070,8 @@ "postfix": false, "binop": null }, - "start": 28123, - "end": 28124, + "start": 28527, + "end": 28528, "loc": { "start": { "line": 722, @@ -197932,8 +198098,8 @@ "updateContext": null }, "value": "if", - "start": 28137, - "end": 28139, + "start": 28541, + "end": 28543, "loc": { "start": { "line": 723, @@ -197957,8 +198123,8 @@ "postfix": false, "binop": null }, - "start": 28140, - "end": 28141, + "start": 28544, + "end": 28545, "loc": { "start": { "line": 723, @@ -197984,8 +198150,8 @@ "updateContext": null }, "value": "!", - "start": 28141, - "end": 28142, + "start": 28545, + "end": 28546, "loc": { "start": { "line": 723, @@ -198010,8 +198176,8 @@ "binop": null }, "value": "params", - "start": 28142, - "end": 28148, + "start": 28546, + "end": 28552, "loc": { "start": { "line": 723, @@ -198036,8 +198202,8 @@ "binop": null, "updateContext": null }, - "start": 28148, - "end": 28149, + "start": 28552, + "end": 28553, "loc": { "start": { "line": 723, @@ -198062,8 +198228,8 @@ "binop": null }, "value": "indices", - "start": 28149, - "end": 28156, + "start": 28553, + "end": 28560, "loc": { "start": { "line": 723, @@ -198087,8 +198253,8 @@ "postfix": false, "binop": null }, - "start": 28156, - "end": 28157, + "start": 28560, + "end": 28561, "loc": { "start": { "line": 723, @@ -198112,8 +198278,8 @@ "postfix": false, "binop": null }, - "start": 28158, - "end": 28159, + "start": 28562, + "end": 28563, "loc": { "start": { "line": 723, @@ -198138,8 +198304,8 @@ "binop": null }, "value": "params", - "start": 28176, - "end": 28182, + "start": 28580, + "end": 28586, "loc": { "start": { "line": 724, @@ -198164,8 +198330,8 @@ "binop": null, "updateContext": null }, - "start": 28182, - "end": 28183, + "start": 28586, + "end": 28587, "loc": { "start": { "line": 724, @@ -198190,8 +198356,8 @@ "binop": null }, "value": "indices", - "start": 28183, - "end": 28190, + "start": 28587, + "end": 28594, "loc": { "start": { "line": 724, @@ -198217,8 +198383,8 @@ "updateContext": null }, "value": "=", - "start": 28191, - "end": 28192, + "start": 28595, + "end": 28596, "loc": { "start": { "line": 724, @@ -198245,8 +198411,8 @@ "updateContext": null }, "value": "this", - "start": 28193, - "end": 28197, + "start": 28597, + "end": 28601, "loc": { "start": { "line": 724, @@ -198271,8 +198437,8 @@ "binop": null, "updateContext": null }, - "start": 28197, - "end": 28198, + "start": 28601, + "end": 28602, "loc": { "start": { "line": 724, @@ -198297,8 +198463,8 @@ "binop": null }, "value": "_createDefaultIndices", - "start": 28198, - "end": 28219, + "start": 28602, + "end": 28623, "loc": { "start": { "line": 724, @@ -198322,8 +198488,8 @@ "postfix": false, "binop": null }, - "start": 28219, - "end": 28220, + "start": 28623, + "end": 28624, "loc": { "start": { "line": 724, @@ -198347,8 +198513,8 @@ "postfix": false, "binop": null }, - "start": 28220, - "end": 28221, + "start": 28624, + "end": 28625, "loc": { "start": { "line": 724, @@ -198375,8 +198541,8 @@ "updateContext": null }, "value": "throw", - "start": 28238, - "end": 28243, + "start": 28642, + "end": 28647, "loc": { "start": { "line": 725, @@ -198401,9 +198567,9 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected for 'triangles' primitive: params.indices", - "start": 28244, - "end": 28306, + "value": "[XKTModel.createGeometry] Parameter expected for 'triangles' primitive: params.indices", + "start": 28648, + "end": 28736, "loc": { "start": { "line": 725, @@ -198411,7 +198577,7 @@ }, "end": { "line": 725, - "column": 84 + "column": 110 } } }, @@ -198428,16 +198594,16 @@ "binop": null, "updateContext": null }, - "start": 28306, - "end": 28307, + "start": 28736, + "end": 28737, "loc": { "start": { "line": 725, - "column": 84 + "column": 110 }, "end": { "line": 725, - "column": 85 + "column": 111 } } }, @@ -198453,8 +198619,8 @@ "postfix": false, "binop": null }, - "start": 28320, - "end": 28321, + "start": 28750, + "end": 28751, "loc": { "start": { "line": 726, @@ -198478,8 +198644,8 @@ "postfix": false, "binop": null }, - "start": 28330, - "end": 28331, + "start": 28760, + "end": 28761, "loc": { "start": { "line": 727, @@ -198506,8 +198672,8 @@ "updateContext": null }, "value": "if", - "start": 28341, - "end": 28343, + "start": 28771, + "end": 28773, "loc": { "start": { "line": 729, @@ -198531,8 +198697,8 @@ "postfix": false, "binop": null }, - "start": 28344, - "end": 28345, + "start": 28774, + "end": 28775, "loc": { "start": { "line": 729, @@ -198557,8 +198723,8 @@ "binop": null }, "value": "points", - "start": 28345, - "end": 28351, + "start": 28775, + "end": 28781, "loc": { "start": { "line": 729, @@ -198582,8 +198748,8 @@ "postfix": false, "binop": null }, - "start": 28351, - "end": 28352, + "start": 28781, + "end": 28782, "loc": { "start": { "line": 729, @@ -198607,8 +198773,8 @@ "postfix": false, "binop": null }, - "start": 28353, - "end": 28354, + "start": 28783, + "end": 28784, "loc": { "start": { "line": 729, @@ -198635,8 +198801,8 @@ "updateContext": null }, "value": "if", - "start": 28367, - "end": 28369, + "start": 28797, + "end": 28799, "loc": { "start": { "line": 730, @@ -198660,8 +198826,8 @@ "postfix": false, "binop": null }, - "start": 28370, - "end": 28371, + "start": 28800, + "end": 28801, "loc": { "start": { "line": 730, @@ -198687,8 +198853,8 @@ "updateContext": null }, "value": "!", - "start": 28371, - "end": 28372, + "start": 28801, + "end": 28802, "loc": { "start": { "line": 730, @@ -198713,8 +198879,8 @@ "binop": null }, "value": "params", - "start": 28372, - "end": 28378, + "start": 28802, + "end": 28808, "loc": { "start": { "line": 730, @@ -198739,8 +198905,8 @@ "binop": null, "updateContext": null }, - "start": 28378, - "end": 28379, + "start": 28808, + "end": 28809, "loc": { "start": { "line": 730, @@ -198765,8 +198931,8 @@ "binop": null }, "value": "colors", - "start": 28379, - "end": 28385, + "start": 28809, + "end": 28815, "loc": { "start": { "line": 730, @@ -198792,8 +198958,8 @@ "updateContext": null }, "value": "&&", - "start": 28386, - "end": 28388, + "start": 28816, + "end": 28818, "loc": { "start": { "line": 730, @@ -198819,8 +198985,8 @@ "updateContext": null }, "value": "!", - "start": 28389, - "end": 28390, + "start": 28819, + "end": 28820, "loc": { "start": { "line": 730, @@ -198845,8 +199011,8 @@ "binop": null }, "value": "params", - "start": 28390, - "end": 28396, + "start": 28820, + "end": 28826, "loc": { "start": { "line": 730, @@ -198871,8 +199037,8 @@ "binop": null, "updateContext": null }, - "start": 28396, - "end": 28397, + "start": 28826, + "end": 28827, "loc": { "start": { "line": 730, @@ -198897,8 +199063,8 @@ "binop": null }, "value": "colorsCompressed", - "start": 28397, - "end": 28413, + "start": 28827, + "end": 28843, "loc": { "start": { "line": 730, @@ -198922,8 +199088,8 @@ "postfix": false, "binop": null }, - "start": 28413, - "end": 28414, + "start": 28843, + "end": 28844, "loc": { "start": { "line": 730, @@ -198947,8 +199113,8 @@ "postfix": false, "binop": null }, - "start": 28415, - "end": 28416, + "start": 28845, + "end": 28846, "loc": { "start": { "line": 730, @@ -198962,9 +199128,34 @@ }, { "type": { - "label": "throw", - "keyword": "throw", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 28863, + "end": 28870, + "loc": { + "start": { + "line": 731, + "column": 16 + }, + "end": { + "line": 731, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -198974,17 +199165,67 @@ "binop": null, "updateContext": null }, - "value": "throw", - "start": 28433, - "end": 28438, + "start": 28870, + "end": 28871, "loc": { "start": { "line": 731, - "column": 16 + "column": 23 }, "end": { "line": 731, - "column": 21 + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 28871, + "end": 28876, + "loc": { + "start": { + "line": 731, + "column": 24 + }, + "end": { + "line": 731, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 28876, + "end": 28877, + "loc": { + "start": { + "line": 731, + "column": 29 + }, + "end": { + "line": 731, + "column": 30 } } }, @@ -199001,17 +199242,42 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected for 'points' primitive: params.colors or params.colorsCompressed", - "start": 28439, - "end": 28524, + "value": "[XKTModel.createGeometry] Parameter expected for 'points' primitive: params.colors or params.colorsCompressed", + "start": 28877, + "end": 28988, "loc": { "start": { "line": 731, - "column": 22 + "column": 30 }, "end": { "line": 731, - "column": 107 + "column": 141 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 28988, + "end": 28989, + "loc": { + "start": { + "line": 731, + "column": 141 + }, + "end": { + "line": 731, + "column": 142 } } }, @@ -199028,16 +199294,70 @@ "binop": null, "updateContext": null }, - "start": 28524, - "end": 28525, + "start": 28989, + "end": 28990, "loc": { "start": { "line": 731, - "column": 107 + "column": 142 }, "end": { "line": 731, - "column": 108 + "column": 143 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 29007, + "end": 29013, + "loc": { + "start": { + "line": 732, + "column": 16 + }, + "end": { + "line": 732, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 29013, + "end": 29014, + "loc": { + "start": { + "line": 732, + "column": 22 + }, + "end": { + "line": 732, + "column": 23 } } }, @@ -199053,15 +199373,15 @@ "postfix": false, "binop": null }, - "start": 28538, - "end": 28539, + "start": 29027, + "end": 29028, "loc": { "start": { - "line": 732, + "line": 733, "column": 12 }, "end": { - "line": 732, + "line": 733, "column": 13 } } @@ -199078,15 +199398,15 @@ "postfix": false, "binop": null }, - "start": 28548, - "end": 28549, + "start": 29037, + "end": 29038, "loc": { "start": { - "line": 733, + "line": 734, "column": 8 }, "end": { - "line": 733, + "line": 734, "column": 9 } } @@ -199106,15 +199426,15 @@ "updateContext": null }, "value": "if", - "start": 28559, - "end": 28561, + "start": 29048, + "end": 29050, "loc": { "start": { - "line": 735, + "line": 736, "column": 8 }, "end": { - "line": 735, + "line": 736, "column": 10 } } @@ -199131,15 +199451,15 @@ "postfix": false, "binop": null }, - "start": 28562, - "end": 28563, + "start": 29051, + "end": 29052, "loc": { "start": { - "line": 735, + "line": 736, "column": 11 }, "end": { - "line": 735, + "line": 736, "column": 12 } } @@ -199157,15 +199477,15 @@ "binop": null }, "value": "lines", - "start": 28563, - "end": 28568, + "start": 29052, + "end": 29057, "loc": { "start": { - "line": 735, + "line": 736, "column": 12 }, "end": { - "line": 735, + "line": 736, "column": 17 } } @@ -199182,15 +199502,15 @@ "postfix": false, "binop": null }, - "start": 28568, - "end": 28569, + "start": 29057, + "end": 29058, "loc": { "start": { - "line": 735, + "line": 736, "column": 17 }, "end": { - "line": 735, + "line": 736, "column": 18 } } @@ -199207,15 +199527,15 @@ "postfix": false, "binop": null }, - "start": 28570, - "end": 28571, + "start": 29059, + "end": 29060, "loc": { "start": { - "line": 735, + "line": 736, "column": 19 }, "end": { - "line": 735, + "line": 736, "column": 20 } } @@ -199235,15 +199555,15 @@ "updateContext": null }, "value": "if", - "start": 28584, - "end": 28586, + "start": 29073, + "end": 29075, "loc": { "start": { - "line": 736, + "line": 737, "column": 12 }, "end": { - "line": 736, + "line": 737, "column": 14 } } @@ -199260,15 +199580,15 @@ "postfix": false, "binop": null }, - "start": 28587, - "end": 28588, + "start": 29076, + "end": 29077, "loc": { "start": { - "line": 736, + "line": 737, "column": 15 }, "end": { - "line": 736, + "line": 737, "column": 16 } } @@ -199287,15 +199607,15 @@ "updateContext": null }, "value": "!", - "start": 28588, - "end": 28589, + "start": 29077, + "end": 29078, "loc": { "start": { - "line": 736, + "line": 737, "column": 16 }, "end": { - "line": 736, + "line": 737, "column": 17 } } @@ -199313,15 +199633,15 @@ "binop": null }, "value": "params", - "start": 28589, - "end": 28595, + "start": 29078, + "end": 29084, "loc": { "start": { - "line": 736, + "line": 737, "column": 17 }, "end": { - "line": 736, + "line": 737, "column": 23 } } @@ -199339,15 +199659,15 @@ "binop": null, "updateContext": null }, - "start": 28595, - "end": 28596, + "start": 29084, + "end": 29085, "loc": { "start": { - "line": 736, + "line": 737, "column": 23 }, "end": { - "line": 736, + "line": 737, "column": 24 } } @@ -199365,15 +199685,15 @@ "binop": null }, "value": "indices", - "start": 28596, - "end": 28603, + "start": 29085, + "end": 29092, "loc": { "start": { - "line": 736, + "line": 737, "column": 24 }, "end": { - "line": 736, + "line": 737, "column": 31 } } @@ -199390,15 +199710,15 @@ "postfix": false, "binop": null }, - "start": 28603, - "end": 28604, + "start": 29092, + "end": 29093, "loc": { "start": { - "line": 736, + "line": 737, "column": 31 }, "end": { - "line": 736, + "line": 737, "column": 32 } } @@ -199415,15 +199735,15 @@ "postfix": false, "binop": null }, - "start": 28605, - "end": 28606, + "start": 29094, + "end": 29095, "loc": { "start": { - "line": 736, + "line": 737, "column": 33 }, "end": { - "line": 736, + "line": 737, "column": 34 } } @@ -199443,15 +199763,15 @@ "updateContext": null }, "value": "throw", - "start": 28623, - "end": 28628, + "start": 29112, + "end": 29117, "loc": { "start": { - "line": 737, + "line": 738, "column": 16 }, "end": { - "line": 737, + "line": 738, "column": 21 } } @@ -199469,17 +199789,17 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected for 'lines' primitive: params.indices", - "start": 28629, - "end": 28687, + "value": "[XKTModel.createGeometry] Parameter expected for 'lines' primitive: params.indices", + "start": 29118, + "end": 29202, "loc": { "start": { - "line": 737, + "line": 738, "column": 22 }, "end": { - "line": 737, - "column": 80 + "line": 738, + "column": 106 } } }, @@ -199496,16 +199816,16 @@ "binop": null, "updateContext": null }, - "start": 28687, - "end": 28688, + "start": 29202, + "end": 29203, "loc": { "start": { - "line": 737, - "column": 80 + "line": 738, + "column": 106 }, "end": { - "line": 737, - "column": 81 + "line": 738, + "column": 107 } } }, @@ -199521,15 +199841,15 @@ "postfix": false, "binop": null }, - "start": 28701, - "end": 28702, + "start": 29216, + "end": 29217, "loc": { "start": { - "line": 738, + "line": 739, "column": 12 }, "end": { - "line": 738, + "line": 739, "column": 13 } } @@ -199546,15 +199866,15 @@ "postfix": false, "binop": null }, - "start": 28711, - "end": 28712, + "start": 29226, + "end": 29227, "loc": { "start": { - "line": 739, + "line": 740, "column": 8 }, "end": { - "line": 739, + "line": 740, "column": 9 } } @@ -199574,15 +199894,15 @@ "updateContext": null }, "value": "if", - "start": 28722, - "end": 28724, + "start": 29237, + "end": 29239, "loc": { "start": { - "line": 741, + "line": 742, "column": 8 }, "end": { - "line": 741, + "line": 742, "column": 10 } } @@ -199599,15 +199919,15 @@ "postfix": false, "binop": null }, - "start": 28725, - "end": 28726, + "start": 29240, + "end": 29241, "loc": { "start": { - "line": 741, + "line": 742, "column": 11 }, "end": { - "line": 741, + "line": 742, "column": 12 } } @@ -199627,15 +199947,15 @@ "updateContext": null }, "value": "this", - "start": 28726, - "end": 28730, + "start": 29241, + "end": 29245, "loc": { "start": { - "line": 741, + "line": 742, "column": 12 }, "end": { - "line": 741, + "line": 742, "column": 16 } } @@ -199653,15 +199973,15 @@ "binop": null, "updateContext": null }, - "start": 28730, - "end": 28731, + "start": 29245, + "end": 29246, "loc": { "start": { - "line": 741, + "line": 742, "column": 16 }, "end": { - "line": 741, + "line": 742, "column": 17 } } @@ -199679,15 +199999,15 @@ "binop": null }, "value": "finalized", - "start": 28731, - "end": 28740, + "start": 29246, + "end": 29255, "loc": { "start": { - "line": 741, + "line": 742, "column": 17 }, "end": { - "line": 741, + "line": 742, "column": 26 } } @@ -199704,15 +200024,15 @@ "postfix": false, "binop": null }, - "start": 28740, - "end": 28741, + "start": 29255, + "end": 29256, "loc": { "start": { - "line": 741, + "line": 742, "column": 26 }, "end": { - "line": 741, + "line": 742, "column": 27 } } @@ -199729,15 +200049,15 @@ "postfix": false, "binop": null }, - "start": 28742, - "end": 28743, + "start": 29257, + "end": 29258, "loc": { "start": { - "line": 741, + "line": 742, "column": 28 }, "end": { - "line": 741, + "line": 742, "column": 29 } } @@ -199755,15 +200075,15 @@ "binop": null }, "value": "console", - "start": 28756, - "end": 28763, + "start": 29271, + "end": 29278, "loc": { "start": { - "line": 742, + "line": 743, "column": 12 }, "end": { - "line": 742, + "line": 743, "column": 19 } } @@ -199781,15 +200101,15 @@ "binop": null, "updateContext": null }, - "start": 28763, - "end": 28764, + "start": 29278, + "end": 29279, "loc": { "start": { - "line": 742, + "line": 743, "column": 19 }, "end": { - "line": 742, + "line": 743, "column": 20 } } @@ -199807,15 +200127,15 @@ "binop": null }, "value": "error", - "start": 28764, - "end": 28769, + "start": 29279, + "end": 29284, "loc": { "start": { - "line": 742, + "line": 743, "column": 20 }, "end": { - "line": 742, + "line": 743, "column": 25 } } @@ -199832,15 +200152,15 @@ "postfix": false, "binop": null }, - "start": 28769, - "end": 28770, + "start": 29284, + "end": 29285, "loc": { "start": { - "line": 742, + "line": 743, "column": 25 }, "end": { - "line": 742, + "line": 743, "column": 26 } } @@ -199859,15 +200179,15 @@ "updateContext": null }, "value": "XKTModel has been finalized, can't add more geometries", - "start": 28770, - "end": 28826, + "start": 29285, + "end": 29341, "loc": { "start": { - "line": 742, + "line": 743, "column": 26 }, "end": { - "line": 742, + "line": 743, "column": 82 } } @@ -199884,15 +200204,15 @@ "postfix": false, "binop": null }, - "start": 28826, - "end": 28827, + "start": 29341, + "end": 29342, "loc": { "start": { - "line": 742, + "line": 743, "column": 82 }, "end": { - "line": 742, + "line": 743, "column": 83 } } @@ -199910,15 +200230,15 @@ "binop": null, "updateContext": null }, - "start": 28827, - "end": 28828, + "start": 29342, + "end": 29343, "loc": { "start": { - "line": 742, + "line": 743, "column": 83 }, "end": { - "line": 742, + "line": 743, "column": 84 } } @@ -199938,15 +200258,15 @@ "updateContext": null }, "value": "return", - "start": 28841, - "end": 28847, + "start": 29356, + "end": 29362, "loc": { "start": { - "line": 743, + "line": 744, "column": 12 }, "end": { - "line": 743, + "line": 744, "column": 18 } } @@ -199964,15 +200284,15 @@ "binop": null, "updateContext": null }, - "start": 28847, - "end": 28848, + "start": 29362, + "end": 29363, "loc": { "start": { - "line": 743, + "line": 744, "column": 18 }, "end": { - "line": 743, + "line": 744, "column": 19 } } @@ -199989,15 +200309,15 @@ "postfix": false, "binop": null }, - "start": 28857, - "end": 28858, + "start": 29372, + "end": 29373, "loc": { "start": { - "line": 744, + "line": 745, "column": 8 }, "end": { - "line": 744, + "line": 745, "column": 9 } } @@ -200017,15 +200337,15 @@ "updateContext": null }, "value": "if", - "start": 28868, - "end": 28870, + "start": 29383, + "end": 29385, "loc": { "start": { - "line": 746, + "line": 747, "column": 8 }, "end": { - "line": 746, + "line": 747, "column": 10 } } @@ -200042,15 +200362,15 @@ "postfix": false, "binop": null }, - "start": 28871, - "end": 28872, + "start": 29386, + "end": 29387, "loc": { "start": { - "line": 746, + "line": 747, "column": 11 }, "end": { - "line": 746, + "line": 747, "column": 12 } } @@ -200070,15 +200390,15 @@ "updateContext": null }, "value": "this", - "start": 28872, - "end": 28876, + "start": 29387, + "end": 29391, "loc": { "start": { - "line": 746, + "line": 747, "column": 12 }, "end": { - "line": 746, + "line": 747, "column": 16 } } @@ -200096,15 +200416,15 @@ "binop": null, "updateContext": null }, - "start": 28876, - "end": 28877, + "start": 29391, + "end": 29392, "loc": { "start": { - "line": 746, + "line": 747, "column": 16 }, "end": { - "line": 746, + "line": 747, "column": 17 } } @@ -200122,15 +200442,15 @@ "binop": null }, "value": "geometries", - "start": 28877, - "end": 28887, + "start": 29392, + "end": 29402, "loc": { "start": { - "line": 746, + "line": 747, "column": 17 }, "end": { - "line": 746, + "line": 747, "column": 27 } } @@ -200148,15 +200468,15 @@ "binop": null, "updateContext": null }, - "start": 28887, - "end": 28888, + "start": 29402, + "end": 29403, "loc": { "start": { - "line": 746, + "line": 747, "column": 27 }, "end": { - "line": 746, + "line": 747, "column": 28 } } @@ -200174,15 +200494,15 @@ "binop": null }, "value": "params", - "start": 28888, - "end": 28894, + "start": 29403, + "end": 29409, "loc": { "start": { - "line": 746, + "line": 747, "column": 28 }, "end": { - "line": 746, + "line": 747, "column": 34 } } @@ -200200,15 +200520,15 @@ "binop": null, "updateContext": null }, - "start": 28894, - "end": 28895, + "start": 29409, + "end": 29410, "loc": { "start": { - "line": 746, + "line": 747, "column": 34 }, "end": { - "line": 746, + "line": 747, "column": 35 } } @@ -200226,15 +200546,15 @@ "binop": null }, "value": "geometryId", - "start": 28895, - "end": 28905, + "start": 29410, + "end": 29420, "loc": { "start": { - "line": 746, + "line": 747, "column": 35 }, "end": { - "line": 746, + "line": 747, "column": 45 } } @@ -200252,15 +200572,15 @@ "binop": null, "updateContext": null }, - "start": 28905, - "end": 28906, + "start": 29420, + "end": 29421, "loc": { "start": { - "line": 746, + "line": 747, "column": 45 }, "end": { - "line": 746, + "line": 747, "column": 46 } } @@ -200277,15 +200597,15 @@ "postfix": false, "binop": null }, - "start": 28906, - "end": 28907, + "start": 29421, + "end": 29422, "loc": { "start": { - "line": 746, + "line": 747, "column": 46 }, "end": { - "line": 746, + "line": 747, "column": 47 } } @@ -200302,15 +200622,15 @@ "postfix": false, "binop": null }, - "start": 28908, - "end": 28909, + "start": 29423, + "end": 29424, "loc": { "start": { - "line": 746, + "line": 747, "column": 48 }, "end": { - "line": 746, + "line": 747, "column": 49 } } @@ -200328,15 +200648,15 @@ "binop": null }, "value": "console", - "start": 28922, - "end": 28929, + "start": 29437, + "end": 29444, "loc": { "start": { - "line": 747, + "line": 748, "column": 12 }, "end": { - "line": 747, + "line": 748, "column": 19 } } @@ -200354,15 +200674,15 @@ "binop": null, "updateContext": null }, - "start": 28929, - "end": 28930, + "start": 29444, + "end": 29445, "loc": { "start": { - "line": 747, + "line": 748, "column": 19 }, "end": { - "line": 747, + "line": 748, "column": 20 } } @@ -200380,15 +200700,15 @@ "binop": null }, "value": "error", - "start": 28930, - "end": 28935, + "start": 29445, + "end": 29450, "loc": { "start": { - "line": 747, + "line": 748, "column": 20 }, "end": { - "line": 747, + "line": 748, "column": 25 } } @@ -200405,15 +200725,15 @@ "postfix": false, "binop": null }, - "start": 28935, - "end": 28936, + "start": 29450, + "end": 29451, "loc": { "start": { - "line": 747, + "line": 748, "column": 25 }, "end": { - "line": 747, + "line": 748, "column": 26 } } @@ -200432,15 +200752,15 @@ "updateContext": null }, "value": "XKTGeometry already exists with this ID: ", - "start": 28936, - "end": 28979, + "start": 29451, + "end": 29494, "loc": { "start": { - "line": 747, + "line": 748, "column": 26 }, "end": { - "line": 747, + "line": 748, "column": 69 } } @@ -200459,15 +200779,15 @@ "updateContext": null }, "value": "+", - "start": 28980, - "end": 28981, + "start": 29495, + "end": 29496, "loc": { "start": { - "line": 747, + "line": 748, "column": 70 }, "end": { - "line": 747, + "line": 748, "column": 71 } } @@ -200485,15 +200805,15 @@ "binop": null }, "value": "params", - "start": 28982, - "end": 28988, + "start": 29497, + "end": 29503, "loc": { "start": { - "line": 747, + "line": 748, "column": 72 }, "end": { - "line": 747, + "line": 748, "column": 78 } } @@ -200511,15 +200831,15 @@ "binop": null, "updateContext": null }, - "start": 28988, - "end": 28989, + "start": 29503, + "end": 29504, "loc": { "start": { - "line": 747, + "line": 748, "column": 78 }, "end": { - "line": 747, + "line": 748, "column": 79 } } @@ -200537,15 +200857,15 @@ "binop": null }, "value": "geometryId", - "start": 28989, - "end": 28999, + "start": 29504, + "end": 29514, "loc": { "start": { - "line": 747, + "line": 748, "column": 79 }, "end": { - "line": 747, + "line": 748, "column": 89 } } @@ -200562,15 +200882,15 @@ "postfix": false, "binop": null }, - "start": 28999, - "end": 29000, + "start": 29514, + "end": 29515, "loc": { "start": { - "line": 747, + "line": 748, "column": 89 }, "end": { - "line": 747, + "line": 748, "column": 90 } } @@ -200588,15 +200908,15 @@ "binop": null, "updateContext": null }, - "start": 29000, - "end": 29001, + "start": 29515, + "end": 29516, "loc": { "start": { - "line": 747, + "line": 748, "column": 90 }, "end": { - "line": 747, + "line": 748, "column": 91 } } @@ -200616,15 +200936,15 @@ "updateContext": null }, "value": "return", - "start": 29014, - "end": 29020, + "start": 29529, + "end": 29535, "loc": { "start": { - "line": 748, + "line": 749, "column": 12 }, "end": { - "line": 748, + "line": 749, "column": 18 } } @@ -200642,15 +200962,15 @@ "binop": null, "updateContext": null }, - "start": 29020, - "end": 29021, + "start": 29535, + "end": 29536, "loc": { "start": { - "line": 748, + "line": 749, "column": 18 }, "end": { - "line": 748, + "line": 749, "column": 19 } } @@ -200667,15 +200987,15 @@ "postfix": false, "binop": null }, - "start": 29030, - "end": 29031, + "start": 29545, + "end": 29546, "loc": { "start": { - "line": 749, + "line": 750, "column": 8 }, "end": { - "line": 749, + "line": 750, "column": 9 } } @@ -200695,15 +201015,15 @@ "updateContext": null }, "value": "const", - "start": 29041, - "end": 29046, + "start": 29556, + "end": 29561, "loc": { "start": { - "line": 751, + "line": 752, "column": 8 }, "end": { - "line": 751, + "line": 752, "column": 13 } } @@ -200721,15 +201041,15 @@ "binop": null }, "value": "geometryId", - "start": 29047, - "end": 29057, + "start": 29562, + "end": 29572, "loc": { "start": { - "line": 751, + "line": 752, "column": 14 }, "end": { - "line": 751, + "line": 752, "column": 24 } } @@ -200748,15 +201068,15 @@ "updateContext": null }, "value": "=", - "start": 29058, - "end": 29059, + "start": 29573, + "end": 29574, "loc": { "start": { - "line": 751, + "line": 752, "column": 25 }, "end": { - "line": 751, + "line": 752, "column": 26 } } @@ -200774,15 +201094,15 @@ "binop": null }, "value": "params", - "start": 29060, - "end": 29066, + "start": 29575, + "end": 29581, "loc": { "start": { - "line": 751, + "line": 752, "column": 27 }, "end": { - "line": 751, + "line": 752, "column": 33 } } @@ -200800,15 +201120,15 @@ "binop": null, "updateContext": null }, - "start": 29066, - "end": 29067, + "start": 29581, + "end": 29582, "loc": { "start": { - "line": 751, + "line": 752, "column": 33 }, "end": { - "line": 751, + "line": 752, "column": 34 } } @@ -200826,15 +201146,15 @@ "binop": null }, "value": "geometryId", - "start": 29067, - "end": 29077, + "start": 29582, + "end": 29592, "loc": { "start": { - "line": 751, + "line": 752, "column": 34 }, "end": { - "line": 751, + "line": 752, "column": 44 } } @@ -200852,15 +201172,15 @@ "binop": null, "updateContext": null }, - "start": 29077, - "end": 29078, + "start": 29592, + "end": 29593, "loc": { "start": { - "line": 751, + "line": 752, "column": 44 }, "end": { - "line": 751, + "line": 752, "column": 45 } } @@ -200880,15 +201200,15 @@ "updateContext": null }, "value": "const", - "start": 29087, - "end": 29092, + "start": 29602, + "end": 29607, "loc": { "start": { - "line": 752, + "line": 753, "column": 8 }, "end": { - "line": 752, + "line": 753, "column": 13 } } @@ -200906,15 +201226,15 @@ "binop": null }, "value": "primitiveType", - "start": 29093, - "end": 29106, + "start": 29608, + "end": 29621, "loc": { "start": { - "line": 752, + "line": 753, "column": 14 }, "end": { - "line": 752, + "line": 753, "column": 27 } } @@ -200933,15 +201253,15 @@ "updateContext": null }, "value": "=", - "start": 29107, - "end": 29108, + "start": 29622, + "end": 29623, "loc": { "start": { - "line": 752, + "line": 753, "column": 28 }, "end": { - "line": 752, + "line": 753, "column": 29 } } @@ -200959,15 +201279,15 @@ "binop": null }, "value": "params", - "start": 29109, - "end": 29115, + "start": 29624, + "end": 29630, "loc": { "start": { - "line": 752, + "line": 753, "column": 30 }, "end": { - "line": 752, + "line": 753, "column": 36 } } @@ -200985,15 +201305,15 @@ "binop": null, "updateContext": null }, - "start": 29115, - "end": 29116, + "start": 29630, + "end": 29631, "loc": { "start": { - "line": 752, + "line": 753, "column": 36 }, "end": { - "line": 752, + "line": 753, "column": 37 } } @@ -201011,15 +201331,15 @@ "binop": null }, "value": "primitiveType", - "start": 29116, - "end": 29129, + "start": 29631, + "end": 29644, "loc": { "start": { - "line": 752, + "line": 753, "column": 37 }, "end": { - "line": 752, + "line": 753, "column": 50 } } @@ -201037,15 +201357,15 @@ "binop": null, "updateContext": null }, - "start": 29129, - "end": 29130, + "start": 29644, + "end": 29645, "loc": { "start": { - "line": 752, + "line": 753, "column": 50 }, "end": { - "line": 752, + "line": 753, "column": 51 } } @@ -201065,15 +201385,15 @@ "updateContext": null }, "value": "const", - "start": 29139, - "end": 29144, + "start": 29654, + "end": 29659, "loc": { "start": { - "line": 753, + "line": 754, "column": 8 }, "end": { - "line": 753, + "line": 754, "column": 13 } } @@ -201091,15 +201411,15 @@ "binop": null }, "value": "positions", - "start": 29145, - "end": 29154, + "start": 29660, + "end": 29669, "loc": { "start": { - "line": 753, + "line": 754, "column": 14 }, "end": { - "line": 753, + "line": 754, "column": 23 } } @@ -201118,15 +201438,15 @@ "updateContext": null }, "value": "=", - "start": 29155, - "end": 29156, + "start": 29670, + "end": 29671, "loc": { "start": { - "line": 753, + "line": 754, "column": 24 }, "end": { - "line": 753, + "line": 754, "column": 25 } } @@ -201146,15 +201466,15 @@ "updateContext": null }, "value": "new", - "start": 29157, - "end": 29160, + "start": 29672, + "end": 29675, "loc": { "start": { - "line": 753, + "line": 754, "column": 26 }, "end": { - "line": 753, + "line": 754, "column": 29 } } @@ -201172,15 +201492,15 @@ "binop": null }, "value": "Float64Array", - "start": 29161, - "end": 29173, + "start": 29676, + "end": 29688, "loc": { "start": { - "line": 753, + "line": 754, "column": 30 }, "end": { - "line": 753, + "line": 754, "column": 42 } } @@ -201197,15 +201517,15 @@ "postfix": false, "binop": null }, - "start": 29173, - "end": 29174, + "start": 29688, + "end": 29689, "loc": { "start": { - "line": 753, + "line": 754, "column": 42 }, "end": { - "line": 753, + "line": 754, "column": 43 } } @@ -201223,15 +201543,15 @@ "binop": null }, "value": "params", - "start": 29174, - "end": 29180, + "start": 29689, + "end": 29695, "loc": { "start": { - "line": 753, + "line": 754, "column": 43 }, "end": { - "line": 753, + "line": 754, "column": 49 } } @@ -201249,15 +201569,15 @@ "binop": null, "updateContext": null }, - "start": 29180, - "end": 29181, + "start": 29695, + "end": 29696, "loc": { "start": { - "line": 753, + "line": 754, "column": 49 }, "end": { - "line": 753, + "line": 754, "column": 50 } } @@ -201275,15 +201595,15 @@ "binop": null }, "value": "positions", - "start": 29181, - "end": 29190, + "start": 29696, + "end": 29705, "loc": { "start": { - "line": 753, + "line": 754, "column": 50 }, "end": { - "line": 753, + "line": 754, "column": 59 } } @@ -201300,15 +201620,15 @@ "postfix": false, "binop": null }, - "start": 29190, - "end": 29191, + "start": 29705, + "end": 29706, "loc": { "start": { - "line": 753, + "line": 754, "column": 59 }, "end": { - "line": 753, + "line": 754, "column": 60 } } @@ -201326,15 +201646,15 @@ "binop": null, "updateContext": null }, - "start": 29191, - "end": 29192, + "start": 29706, + "end": 29707, "loc": { "start": { - "line": 753, + "line": 754, "column": 60 }, "end": { - "line": 753, + "line": 754, "column": 61 } } @@ -201342,15 +201662,15 @@ { "type": "CommentLine", "value": " May modify in #finalize", - "start": 29193, - "end": 29219, + "start": 29708, + "end": 29734, "loc": { "start": { - "line": 753, + "line": 754, "column": 62 }, "end": { - "line": 753, + "line": 754, "column": 88 } } @@ -201370,15 +201690,15 @@ "updateContext": null }, "value": "const", - "start": 29229, - "end": 29234, + "start": 29744, + "end": 29749, "loc": { "start": { - "line": 755, + "line": 756, "column": 8 }, "end": { - "line": 755, + "line": 756, "column": 13 } } @@ -201396,15 +201716,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 29235, - "end": 29249, + "start": 29750, + "end": 29764, "loc": { "start": { - "line": 755, + "line": 756, "column": 14 }, "end": { - "line": 755, + "line": 756, "column": 28 } } @@ -201423,15 +201743,15 @@ "updateContext": null }, "value": "=", - "start": 29250, - "end": 29251, + "start": 29765, + "end": 29766, "loc": { "start": { - "line": 755, + "line": 756, "column": 29 }, "end": { - "line": 755, + "line": 756, "column": 30 } } @@ -201448,15 +201768,15 @@ "postfix": false, "binop": null }, - "start": 29252, - "end": 29253, + "start": 29767, + "end": 29768, "loc": { "start": { - "line": 755, + "line": 756, "column": 31 }, "end": { - "line": 755, + "line": 756, "column": 32 } } @@ -201474,15 +201794,15 @@ "binop": null }, "value": "geometryId", - "start": 29266, - "end": 29276, + "start": 29781, + "end": 29791, "loc": { "start": { - "line": 756, + "line": 757, "column": 12 }, "end": { - "line": 756, + "line": 757, "column": 22 } } @@ -201500,15 +201820,15 @@ "binop": null, "updateContext": null }, - "start": 29276, - "end": 29277, + "start": 29791, + "end": 29792, "loc": { "start": { - "line": 756, + "line": 757, "column": 22 }, "end": { - "line": 756, + "line": 757, "column": 23 } } @@ -201526,15 +201846,15 @@ "binop": null }, "value": "geometryId", - "start": 29278, - "end": 29288, + "start": 29793, + "end": 29803, "loc": { "start": { - "line": 756, + "line": 757, "column": 24 }, "end": { - "line": 756, + "line": 757, "column": 34 } } @@ -201552,15 +201872,15 @@ "binop": null, "updateContext": null }, - "start": 29288, - "end": 29289, + "start": 29803, + "end": 29804, "loc": { "start": { - "line": 756, + "line": 757, "column": 34 }, "end": { - "line": 756, + "line": 757, "column": 35 } } @@ -201578,15 +201898,15 @@ "binop": null }, "value": "geometryIndex", - "start": 29302, - "end": 29315, + "start": 29817, + "end": 29830, "loc": { "start": { - "line": 757, + "line": 758, "column": 12 }, "end": { - "line": 757, + "line": 758, "column": 25 } } @@ -201604,15 +201924,15 @@ "binop": null, "updateContext": null }, - "start": 29315, - "end": 29316, + "start": 29830, + "end": 29831, "loc": { "start": { - "line": 757, + "line": 758, "column": 25 }, "end": { - "line": 757, + "line": 758, "column": 26 } } @@ -201632,15 +201952,15 @@ "updateContext": null }, "value": "this", - "start": 29317, - "end": 29321, + "start": 29832, + "end": 29836, "loc": { "start": { - "line": 757, + "line": 758, "column": 27 }, "end": { - "line": 757, + "line": 758, "column": 31 } } @@ -201658,15 +201978,15 @@ "binop": null, "updateContext": null }, - "start": 29321, - "end": 29322, + "start": 29836, + "end": 29837, "loc": { "start": { - "line": 757, + "line": 758, "column": 31 }, "end": { - "line": 757, + "line": 758, "column": 32 } } @@ -201684,15 +202004,15 @@ "binop": null }, "value": "geometriesList", - "start": 29322, - "end": 29336, + "start": 29837, + "end": 29851, "loc": { "start": { - "line": 757, + "line": 758, "column": 32 }, "end": { - "line": 757, + "line": 758, "column": 46 } } @@ -201710,15 +202030,15 @@ "binop": null, "updateContext": null }, - "start": 29336, - "end": 29337, + "start": 29851, + "end": 29852, "loc": { "start": { - "line": 757, + "line": 758, "column": 46 }, "end": { - "line": 757, + "line": 758, "column": 47 } } @@ -201736,15 +202056,15 @@ "binop": null }, "value": "length", - "start": 29337, - "end": 29343, + "start": 29852, + "end": 29858, "loc": { "start": { - "line": 757, + "line": 758, "column": 47 }, "end": { - "line": 757, + "line": 758, "column": 53 } } @@ -201762,15 +202082,15 @@ "binop": null, "updateContext": null }, - "start": 29343, - "end": 29344, + "start": 29858, + "end": 29859, "loc": { "start": { - "line": 757, + "line": 758, "column": 53 }, "end": { - "line": 757, + "line": 758, "column": 54 } } @@ -201788,15 +202108,15 @@ "binop": null }, "value": "primitiveType", - "start": 29357, - "end": 29370, + "start": 29872, + "end": 29885, "loc": { "start": { - "line": 758, + "line": 759, "column": 12 }, "end": { - "line": 758, + "line": 759, "column": 25 } } @@ -201814,15 +202134,15 @@ "binop": null, "updateContext": null }, - "start": 29370, - "end": 29371, + "start": 29885, + "end": 29886, "loc": { "start": { - "line": 758, + "line": 759, "column": 25 }, "end": { - "line": 758, + "line": 759, "column": 26 } } @@ -201840,15 +202160,15 @@ "binop": null }, "value": "primitiveType", - "start": 29372, - "end": 29385, + "start": 29887, + "end": 29900, "loc": { "start": { - "line": 758, + "line": 759, "column": 27 }, "end": { - "line": 758, + "line": 759, "column": 40 } } @@ -201866,15 +202186,15 @@ "binop": null, "updateContext": null }, - "start": 29385, - "end": 29386, + "start": 29900, + "end": 29901, "loc": { "start": { - "line": 758, + "line": 759, "column": 40 }, "end": { - "line": 758, + "line": 759, "column": 41 } } @@ -201892,15 +202212,15 @@ "binop": null }, "value": "positions", - "start": 29399, - "end": 29408, + "start": 29914, + "end": 29923, "loc": { "start": { - "line": 759, + "line": 760, "column": 12 }, "end": { - "line": 759, + "line": 760, "column": 21 } } @@ -201918,15 +202238,15 @@ "binop": null, "updateContext": null }, - "start": 29408, - "end": 29409, + "start": 29923, + "end": 29924, "loc": { "start": { - "line": 759, + "line": 760, "column": 21 }, "end": { - "line": 759, + "line": 760, "column": 22 } } @@ -201944,15 +202264,15 @@ "binop": null }, "value": "positions", - "start": 29410, - "end": 29419, + "start": 29925, + "end": 29934, "loc": { "start": { - "line": 759, + "line": 760, "column": 23 }, "end": { - "line": 759, + "line": 760, "column": 32 } } @@ -201970,15 +202290,15 @@ "binop": null, "updateContext": null }, - "start": 29419, - "end": 29420, + "start": 29934, + "end": 29935, "loc": { "start": { - "line": 759, + "line": 760, "column": 32 }, "end": { - "line": 759, + "line": 760, "column": 33 } } @@ -201996,15 +202316,15 @@ "binop": null }, "value": "uvs", - "start": 29433, - "end": 29436, + "start": 29948, + "end": 29951, "loc": { "start": { - "line": 760, + "line": 761, "column": 12 }, "end": { - "line": 760, + "line": 761, "column": 15 } } @@ -202022,15 +202342,15 @@ "binop": null, "updateContext": null }, - "start": 29436, - "end": 29437, + "start": 29951, + "end": 29952, "loc": { "start": { - "line": 760, + "line": 761, "column": 15 }, "end": { - "line": 760, + "line": 761, "column": 16 } } @@ -202048,15 +202368,15 @@ "binop": null }, "value": "params", - "start": 29438, - "end": 29444, + "start": 29953, + "end": 29959, "loc": { "start": { - "line": 760, + "line": 761, "column": 17 }, "end": { - "line": 760, + "line": 761, "column": 23 } } @@ -202074,15 +202394,15 @@ "binop": null, "updateContext": null }, - "start": 29444, - "end": 29445, + "start": 29959, + "end": 29960, "loc": { "start": { - "line": 760, + "line": 761, "column": 23 }, "end": { - "line": 760, + "line": 761, "column": 24 } } @@ -202100,15 +202420,15 @@ "binop": null }, "value": "uvs", - "start": 29445, - "end": 29448, + "start": 29960, + "end": 29963, "loc": { "start": { - "line": 760, + "line": 761, "column": 24 }, "end": { - "line": 760, + "line": 761, "column": 27 } } @@ -202127,15 +202447,15 @@ "updateContext": null }, "value": "||", - "start": 29449, - "end": 29451, + "start": 29964, + "end": 29966, "loc": { "start": { - "line": 760, + "line": 761, "column": 28 }, "end": { - "line": 760, + "line": 761, "column": 30 } } @@ -202153,15 +202473,15 @@ "binop": null }, "value": "params", - "start": 29452, - "end": 29458, + "start": 29967, + "end": 29973, "loc": { "start": { - "line": 760, + "line": 761, "column": 31 }, "end": { - "line": 760, + "line": 761, "column": 37 } } @@ -202179,15 +202499,15 @@ "binop": null, "updateContext": null }, - "start": 29458, - "end": 29459, + "start": 29973, + "end": 29974, "loc": { "start": { - "line": 760, + "line": 761, "column": 37 }, "end": { - "line": 760, + "line": 761, "column": 38 } } @@ -202205,15 +202525,15 @@ "binop": null }, "value": "uv", - "start": 29459, - "end": 29461, + "start": 29974, + "end": 29976, "loc": { "start": { - "line": 760, + "line": 761, "column": 38 }, "end": { - "line": 760, + "line": 761, "column": 40 } } @@ -202230,15 +202550,15 @@ "postfix": false, "binop": null }, - "start": 29470, - "end": 29471, + "start": 29985, + "end": 29986, "loc": { "start": { - "line": 761, + "line": 762, "column": 8 }, "end": { - "line": 761, + "line": 762, "column": 9 } } @@ -202258,15 +202578,15 @@ "updateContext": null }, "value": "if", - "start": 29481, - "end": 29483, + "start": 29996, + "end": 29998, "loc": { "start": { - "line": 763, + "line": 764, "column": 8 }, "end": { - "line": 763, + "line": 764, "column": 10 } } @@ -202283,15 +202603,15 @@ "postfix": false, "binop": null }, - "start": 29484, - "end": 29485, + "start": 29999, + "end": 30000, "loc": { "start": { - "line": 763, + "line": 764, "column": 11 }, "end": { - "line": 763, + "line": 764, "column": 12 } } @@ -202309,15 +202629,15 @@ "binop": null }, "value": "triangles", - "start": 29485, - "end": 29494, + "start": 30000, + "end": 30009, "loc": { "start": { - "line": 763, + "line": 764, "column": 12 }, "end": { - "line": 763, + "line": 764, "column": 21 } } @@ -202334,15 +202654,15 @@ "postfix": false, "binop": null }, - "start": 29494, - "end": 29495, + "start": 30009, + "end": 30010, "loc": { "start": { - "line": 763, + "line": 764, "column": 21 }, "end": { - "line": 763, + "line": 764, "column": 22 } } @@ -202359,15 +202679,15 @@ "postfix": false, "binop": null }, - "start": 29496, - "end": 29497, + "start": 30011, + "end": 30012, "loc": { "start": { - "line": 763, + "line": 764, "column": 23 }, "end": { - "line": 763, + "line": 764, "column": 24 } } @@ -202387,15 +202707,15 @@ "updateContext": null }, "value": "if", - "start": 29510, - "end": 29512, + "start": 30025, + "end": 30027, "loc": { "start": { - "line": 764, + "line": 765, "column": 12 }, "end": { - "line": 764, + "line": 765, "column": 14 } } @@ -202412,15 +202732,15 @@ "postfix": false, "binop": null }, - "start": 29513, - "end": 29514, + "start": 30028, + "end": 30029, "loc": { "start": { - "line": 764, + "line": 765, "column": 15 }, "end": { - "line": 764, + "line": 765, "column": 16 } } @@ -202438,15 +202758,15 @@ "binop": null }, "value": "params", - "start": 29514, - "end": 29520, + "start": 30029, + "end": 30035, "loc": { "start": { - "line": 764, + "line": 765, "column": 16 }, "end": { - "line": 764, + "line": 765, "column": 22 } } @@ -202464,15 +202784,15 @@ "binop": null, "updateContext": null }, - "start": 29520, - "end": 29521, + "start": 30035, + "end": 30036, "loc": { "start": { - "line": 764, + "line": 765, "column": 22 }, "end": { - "line": 764, + "line": 765, "column": 23 } } @@ -202490,15 +202810,15 @@ "binop": null }, "value": "normals", - "start": 29521, - "end": 29528, + "start": 30036, + "end": 30043, "loc": { "start": { - "line": 764, + "line": 765, "column": 23 }, "end": { - "line": 764, + "line": 765, "column": 30 } } @@ -202515,15 +202835,15 @@ "postfix": false, "binop": null }, - "start": 29528, - "end": 29529, + "start": 30043, + "end": 30044, "loc": { "start": { - "line": 764, + "line": 765, "column": 30 }, "end": { - "line": 764, + "line": 765, "column": 31 } } @@ -202540,15 +202860,15 @@ "postfix": false, "binop": null }, - "start": 29530, - "end": 29531, + "start": 30045, + "end": 30046, "loc": { "start": { - "line": 764, + "line": 765, "column": 32 }, "end": { - "line": 764, + "line": 765, "column": 33 } } @@ -202566,15 +202886,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 29548, - "end": 29562, + "start": 30063, + "end": 30077, "loc": { "start": { - "line": 765, + "line": 766, "column": 16 }, "end": { - "line": 765, + "line": 766, "column": 30 } } @@ -202592,15 +202912,15 @@ "binop": null, "updateContext": null }, - "start": 29562, - "end": 29563, + "start": 30077, + "end": 30078, "loc": { "start": { - "line": 765, + "line": 766, "column": 30 }, "end": { - "line": 765, + "line": 766, "column": 31 } } @@ -202618,15 +202938,15 @@ "binop": null }, "value": "normals", - "start": 29563, - "end": 29570, + "start": 30078, + "end": 30085, "loc": { "start": { - "line": 765, + "line": 766, "column": 31 }, "end": { - "line": 765, + "line": 766, "column": 38 } } @@ -202645,15 +202965,15 @@ "updateContext": null }, "value": "=", - "start": 29571, - "end": 29572, + "start": 30086, + "end": 30087, "loc": { "start": { - "line": 765, + "line": 766, "column": 39 }, "end": { - "line": 765, + "line": 766, "column": 40 } } @@ -202673,15 +202993,15 @@ "updateContext": null }, "value": "new", - "start": 29573, - "end": 29576, + "start": 30088, + "end": 30091, "loc": { "start": { - "line": 765, + "line": 766, "column": 41 }, "end": { - "line": 765, + "line": 766, "column": 44 } } @@ -202699,15 +203019,15 @@ "binop": null }, "value": "Float32Array", - "start": 29577, - "end": 29589, + "start": 30092, + "end": 30104, "loc": { "start": { - "line": 765, + "line": 766, "column": 45 }, "end": { - "line": 765, + "line": 766, "column": 57 } } @@ -202724,15 +203044,15 @@ "postfix": false, "binop": null }, - "start": 29589, - "end": 29590, + "start": 30104, + "end": 30105, "loc": { "start": { - "line": 765, + "line": 766, "column": 57 }, "end": { - "line": 765, + "line": 766, "column": 58 } } @@ -202750,15 +203070,15 @@ "binop": null }, "value": "params", - "start": 29590, - "end": 29596, + "start": 30105, + "end": 30111, "loc": { "start": { - "line": 765, + "line": 766, "column": 58 }, "end": { - "line": 765, + "line": 766, "column": 64 } } @@ -202776,15 +203096,15 @@ "binop": null, "updateContext": null }, - "start": 29596, - "end": 29597, + "start": 30111, + "end": 30112, "loc": { "start": { - "line": 765, + "line": 766, "column": 64 }, "end": { - "line": 765, + "line": 766, "column": 65 } } @@ -202802,15 +203122,15 @@ "binop": null }, "value": "normals", - "start": 29597, - "end": 29604, + "start": 30112, + "end": 30119, "loc": { "start": { - "line": 765, + "line": 766, "column": 65 }, "end": { - "line": 765, + "line": 766, "column": 72 } } @@ -202827,15 +203147,15 @@ "postfix": false, "binop": null }, - "start": 29604, - "end": 29605, + "start": 30119, + "end": 30120, "loc": { "start": { - "line": 765, + "line": 766, "column": 72 }, "end": { - "line": 765, + "line": 766, "column": 73 } } @@ -202853,15 +203173,15 @@ "binop": null, "updateContext": null }, - "start": 29605, - "end": 29606, + "start": 30120, + "end": 30121, "loc": { "start": { - "line": 765, + "line": 766, "column": 73 }, "end": { - "line": 765, + "line": 766, "column": 74 } } @@ -202878,15 +203198,15 @@ "postfix": false, "binop": null }, - "start": 29619, - "end": 29620, + "start": 30134, + "end": 30135, "loc": { "start": { - "line": 766, + "line": 767, "column": 12 }, "end": { - "line": 766, + "line": 767, "column": 13 } } @@ -202906,15 +203226,15 @@ "updateContext": null }, "value": "if", - "start": 29633, - "end": 29635, + "start": 30148, + "end": 30150, "loc": { "start": { - "line": 767, + "line": 768, "column": 12 }, "end": { - "line": 767, + "line": 768, "column": 14 } } @@ -202931,15 +203251,15 @@ "postfix": false, "binop": null }, - "start": 29636, - "end": 29637, + "start": 30151, + "end": 30152, "loc": { "start": { - "line": 767, + "line": 768, "column": 15 }, "end": { - "line": 767, + "line": 768, "column": 16 } } @@ -202957,15 +203277,15 @@ "binop": null }, "value": "params", - "start": 29637, - "end": 29643, + "start": 30152, + "end": 30158, "loc": { "start": { - "line": 767, + "line": 768, "column": 16 }, "end": { - "line": 767, + "line": 768, "column": 22 } } @@ -202983,15 +203303,15 @@ "binop": null, "updateContext": null }, - "start": 29643, - "end": 29644, + "start": 30158, + "end": 30159, "loc": { "start": { - "line": 767, + "line": 768, "column": 22 }, "end": { - "line": 767, + "line": 768, "column": 23 } } @@ -203009,15 +203329,15 @@ "binop": null }, "value": "indices", - "start": 29644, - "end": 29651, + "start": 30159, + "end": 30166, "loc": { "start": { - "line": 767, + "line": 768, "column": 23 }, "end": { - "line": 767, + "line": 768, "column": 30 } } @@ -203034,15 +203354,15 @@ "postfix": false, "binop": null }, - "start": 29651, - "end": 29652, + "start": 30166, + "end": 30167, "loc": { "start": { - "line": 767, + "line": 768, "column": 30 }, "end": { - "line": 767, + "line": 768, "column": 31 } } @@ -203059,15 +203379,15 @@ "postfix": false, "binop": null }, - "start": 29653, - "end": 29654, + "start": 30168, + "end": 30169, "loc": { "start": { - "line": 767, + "line": 768, "column": 32 }, "end": { - "line": 767, + "line": 768, "column": 33 } } @@ -203085,15 +203405,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 29671, - "end": 29685, + "start": 30186, + "end": 30200, "loc": { "start": { - "line": 768, + "line": 769, "column": 16 }, "end": { - "line": 768, + "line": 769, "column": 30 } } @@ -203111,15 +203431,15 @@ "binop": null, "updateContext": null }, - "start": 29685, - "end": 29686, + "start": 30200, + "end": 30201, "loc": { "start": { - "line": 768, + "line": 769, "column": 30 }, "end": { - "line": 768, + "line": 769, "column": 31 } } @@ -203137,15 +203457,15 @@ "binop": null }, "value": "indices", - "start": 29686, - "end": 29693, + "start": 30201, + "end": 30208, "loc": { "start": { - "line": 768, + "line": 769, "column": 31 }, "end": { - "line": 768, + "line": 769, "column": 38 } } @@ -203164,15 +203484,15 @@ "updateContext": null }, "value": "=", - "start": 29694, - "end": 29695, + "start": 30209, + "end": 30210, "loc": { "start": { - "line": 768, + "line": 769, "column": 39 }, "end": { - "line": 768, + "line": 769, "column": 40 } } @@ -203190,15 +203510,15 @@ "binop": null }, "value": "params", - "start": 29696, - "end": 29702, + "start": 30211, + "end": 30217, "loc": { "start": { - "line": 768, + "line": 769, "column": 41 }, "end": { - "line": 768, + "line": 769, "column": 47 } } @@ -203216,15 +203536,15 @@ "binop": null, "updateContext": null }, - "start": 29702, - "end": 29703, + "start": 30217, + "end": 30218, "loc": { "start": { - "line": 768, + "line": 769, "column": 47 }, "end": { - "line": 768, + "line": 769, "column": 48 } } @@ -203242,15 +203562,15 @@ "binop": null }, "value": "indices", - "start": 29703, - "end": 29710, + "start": 30218, + "end": 30225, "loc": { "start": { - "line": 768, + "line": 769, "column": 48 }, "end": { - "line": 768, + "line": 769, "column": 55 } } @@ -203268,15 +203588,15 @@ "binop": null, "updateContext": null }, - "start": 29710, - "end": 29711, + "start": 30225, + "end": 30226, "loc": { "start": { - "line": 768, + "line": 769, "column": 55 }, "end": { - "line": 768, + "line": 769, "column": 56 } } @@ -203293,15 +203613,15 @@ "postfix": false, "binop": null }, - "start": 29724, - "end": 29725, + "start": 30239, + "end": 30240, "loc": { "start": { - "line": 769, + "line": 770, "column": 12 }, "end": { - "line": 769, + "line": 770, "column": 13 } } @@ -203321,15 +203641,15 @@ "updateContext": null }, "value": "else", - "start": 29726, - "end": 29730, + "start": 30241, + "end": 30245, "loc": { "start": { - "line": 769, + "line": 770, "column": 14 }, "end": { - "line": 769, + "line": 770, "column": 18 } } @@ -203346,15 +203666,15 @@ "postfix": false, "binop": null }, - "start": 29731, - "end": 29732, + "start": 30246, + "end": 30247, "loc": { "start": { - "line": 769, + "line": 770, "column": 19 }, "end": { - "line": 769, + "line": 770, "column": 20 } } @@ -203372,15 +203692,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 29749, - "end": 29763, + "start": 30264, + "end": 30278, "loc": { "start": { - "line": 770, + "line": 771, "column": 16 }, "end": { - "line": 770, + "line": 771, "column": 30 } } @@ -203398,15 +203718,15 @@ "binop": null, "updateContext": null }, - "start": 29763, - "end": 29764, + "start": 30278, + "end": 30279, "loc": { "start": { - "line": 770, + "line": 771, "column": 30 }, "end": { - "line": 770, + "line": 771, "column": 31 } } @@ -203424,15 +203744,15 @@ "binop": null }, "value": "indices", - "start": 29764, - "end": 29771, + "start": 30279, + "end": 30286, "loc": { "start": { - "line": 770, + "line": 771, "column": 31 }, "end": { - "line": 770, + "line": 771, "column": 38 } } @@ -203451,15 +203771,15 @@ "updateContext": null }, "value": "=", - "start": 29772, - "end": 29773, + "start": 30287, + "end": 30288, "loc": { "start": { - "line": 770, + "line": 771, "column": 39 }, "end": { - "line": 770, + "line": 771, "column": 40 } } @@ -203479,15 +203799,15 @@ "updateContext": null }, "value": "this", - "start": 29774, - "end": 29778, + "start": 30289, + "end": 30293, "loc": { "start": { - "line": 770, + "line": 771, "column": 41 }, "end": { - "line": 770, + "line": 771, "column": 45 } } @@ -203505,15 +203825,15 @@ "binop": null, "updateContext": null }, - "start": 29778, - "end": 29779, + "start": 30293, + "end": 30294, "loc": { "start": { - "line": 770, + "line": 771, "column": 45 }, "end": { - "line": 770, + "line": 771, "column": 46 } } @@ -203531,15 +203851,15 @@ "binop": null }, "value": "_createDefaultIndices", - "start": 29779, - "end": 29800, + "start": 30294, + "end": 30315, "loc": { "start": { - "line": 770, + "line": 771, "column": 46 }, "end": { - "line": 770, + "line": 771, "column": 67 } } @@ -203556,15 +203876,15 @@ "postfix": false, "binop": null }, - "start": 29800, - "end": 29801, + "start": 30315, + "end": 30316, "loc": { "start": { - "line": 770, + "line": 771, "column": 67 }, "end": { - "line": 770, + "line": 771, "column": 68 } } @@ -203582,15 +203902,15 @@ "binop": null }, "value": "positions", - "start": 29801, - "end": 29810, + "start": 30316, + "end": 30325, "loc": { "start": { - "line": 770, + "line": 771, "column": 68 }, "end": { - "line": 770, + "line": 771, "column": 77 } } @@ -203608,15 +203928,15 @@ "binop": null, "updateContext": null }, - "start": 29810, - "end": 29811, + "start": 30325, + "end": 30326, "loc": { "start": { - "line": 770, + "line": 771, "column": 77 }, "end": { - "line": 770, + "line": 771, "column": 78 } } @@ -203634,15 +203954,15 @@ "binop": null }, "value": "length", - "start": 29811, - "end": 29817, + "start": 30326, + "end": 30332, "loc": { "start": { - "line": 770, + "line": 771, "column": 78 }, "end": { - "line": 770, + "line": 771, "column": 84 } } @@ -203661,15 +203981,15 @@ "updateContext": null }, "value": "/", - "start": 29818, - "end": 29819, + "start": 30333, + "end": 30334, "loc": { "start": { - "line": 770, + "line": 771, "column": 85 }, "end": { - "line": 770, + "line": 771, "column": 86 } } @@ -203688,15 +204008,15 @@ "updateContext": null }, "value": 3, - "start": 29820, - "end": 29821, + "start": 30335, + "end": 30336, "loc": { "start": { - "line": 770, + "line": 771, "column": 87 }, "end": { - "line": 770, + "line": 771, "column": 88 } } @@ -203713,15 +204033,15 @@ "postfix": false, "binop": null }, - "start": 29821, - "end": 29822, + "start": 30336, + "end": 30337, "loc": { "start": { - "line": 770, + "line": 771, "column": 88 }, "end": { - "line": 770, + "line": 771, "column": 89 } } @@ -203739,15 +204059,15 @@ "binop": null, "updateContext": null }, - "start": 29822, - "end": 29823, + "start": 30337, + "end": 30338, "loc": { "start": { - "line": 770, + "line": 771, "column": 89 }, "end": { - "line": 770, + "line": 771, "column": 90 } } @@ -203764,15 +204084,15 @@ "postfix": false, "binop": null }, - "start": 29836, - "end": 29837, + "start": 30351, + "end": 30352, "loc": { "start": { - "line": 771, + "line": 772, "column": 12 }, "end": { - "line": 771, + "line": 772, "column": 13 } } @@ -203789,15 +204109,15 @@ "postfix": false, "binop": null }, - "start": 29846, - "end": 29847, + "start": 30361, + "end": 30362, "loc": { "start": { - "line": 772, + "line": 773, "column": 8 }, "end": { - "line": 772, + "line": 773, "column": 9 } } @@ -203817,15 +204137,15 @@ "updateContext": null }, "value": "if", - "start": 29857, - "end": 29859, + "start": 30372, + "end": 30374, "loc": { "start": { - "line": 774, + "line": 775, "column": 8 }, "end": { - "line": 774, + "line": 775, "column": 10 } } @@ -203842,15 +204162,15 @@ "postfix": false, "binop": null }, - "start": 29860, - "end": 29861, + "start": 30375, + "end": 30376, "loc": { "start": { - "line": 774, + "line": 775, "column": 11 }, "end": { - "line": 774, + "line": 775, "column": 12 } } @@ -203868,15 +204188,15 @@ "binop": null }, "value": "points", - "start": 29861, - "end": 29867, + "start": 30376, + "end": 30382, "loc": { "start": { - "line": 774, + "line": 775, "column": 12 }, "end": { - "line": 774, + "line": 775, "column": 18 } } @@ -203893,15 +204213,15 @@ "postfix": false, "binop": null }, - "start": 29867, - "end": 29868, + "start": 30382, + "end": 30383, "loc": { "start": { - "line": 774, + "line": 775, "column": 18 }, "end": { - "line": 774, + "line": 775, "column": 19 } } @@ -203918,15 +204238,15 @@ "postfix": false, "binop": null }, - "start": 29869, - "end": 29870, + "start": 30384, + "end": 30385, "loc": { "start": { - "line": 774, + "line": 775, "column": 20 }, "end": { - "line": 774, + "line": 775, "column": 21 } } @@ -203946,15 +204266,15 @@ "updateContext": null }, "value": "if", - "start": 29883, - "end": 29885, + "start": 30398, + "end": 30400, "loc": { "start": { - "line": 775, + "line": 776, "column": 12 }, "end": { - "line": 775, + "line": 776, "column": 14 } } @@ -203971,15 +204291,15 @@ "postfix": false, "binop": null }, - "start": 29886, - "end": 29887, + "start": 30401, + "end": 30402, "loc": { "start": { - "line": 775, + "line": 776, "column": 15 }, "end": { - "line": 775, + "line": 776, "column": 16 } } @@ -203997,15 +204317,15 @@ "binop": null }, "value": "params", - "start": 29887, - "end": 29893, + "start": 30402, + "end": 30408, "loc": { "start": { - "line": 775, + "line": 776, "column": 16 }, "end": { - "line": 775, + "line": 776, "column": 22 } } @@ -204023,15 +204343,15 @@ "binop": null, "updateContext": null }, - "start": 29893, - "end": 29894, + "start": 30408, + "end": 30409, "loc": { "start": { - "line": 775, + "line": 776, "column": 22 }, "end": { - "line": 775, + "line": 776, "column": 23 } } @@ -204049,15 +204369,15 @@ "binop": null }, "value": "colorsCompressed", - "start": 29894, - "end": 29910, + "start": 30409, + "end": 30425, "loc": { "start": { - "line": 775, + "line": 776, "column": 23 }, "end": { - "line": 775, + "line": 776, "column": 39 } } @@ -204074,15 +204394,15 @@ "postfix": false, "binop": null }, - "start": 29910, - "end": 29911, + "start": 30425, + "end": 30426, "loc": { "start": { - "line": 775, + "line": 776, "column": 39 }, "end": { - "line": 775, + "line": 776, "column": 40 } } @@ -204099,15 +204419,15 @@ "postfix": false, "binop": null }, - "start": 29912, - "end": 29913, + "start": 30427, + "end": 30428, "loc": { "start": { - "line": 775, + "line": 776, "column": 41 }, "end": { - "line": 775, + "line": 776, "column": 42 } } @@ -204125,15 +204445,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 29930, - "end": 29944, + "start": 30445, + "end": 30459, "loc": { "start": { - "line": 776, + "line": 777, "column": 16 }, "end": { - "line": 776, + "line": 777, "column": 30 } } @@ -204151,15 +204471,15 @@ "binop": null, "updateContext": null }, - "start": 29944, - "end": 29945, + "start": 30459, + "end": 30460, "loc": { "start": { - "line": 776, + "line": 777, "column": 30 }, "end": { - "line": 776, + "line": 777, "column": 31 } } @@ -204177,15 +204497,15 @@ "binop": null }, "value": "colorsCompressed", - "start": 29945, - "end": 29961, + "start": 30460, + "end": 30476, "loc": { "start": { - "line": 776, + "line": 777, "column": 31 }, "end": { - "line": 776, + "line": 777, "column": 47 } } @@ -204204,15 +204524,15 @@ "updateContext": null }, "value": "=", - "start": 29962, - "end": 29963, + "start": 30477, + "end": 30478, "loc": { "start": { - "line": 776, + "line": 777, "column": 48 }, "end": { - "line": 776, + "line": 777, "column": 49 } } @@ -204232,15 +204552,15 @@ "updateContext": null }, "value": "new", - "start": 29964, - "end": 29967, + "start": 30479, + "end": 30482, "loc": { "start": { - "line": 776, + "line": 777, "column": 50 }, "end": { - "line": 776, + "line": 777, "column": 53 } } @@ -204258,15 +204578,15 @@ "binop": null }, "value": "Uint8Array", - "start": 29968, - "end": 29978, + "start": 30483, + "end": 30493, "loc": { "start": { - "line": 776, + "line": 777, "column": 54 }, "end": { - "line": 776, + "line": 777, "column": 64 } } @@ -204283,15 +204603,15 @@ "postfix": false, "binop": null }, - "start": 29978, - "end": 29979, + "start": 30493, + "end": 30494, "loc": { "start": { - "line": 776, + "line": 777, "column": 64 }, "end": { - "line": 776, + "line": 777, "column": 65 } } @@ -204309,15 +204629,15 @@ "binop": null }, "value": "params", - "start": 29979, - "end": 29985, + "start": 30494, + "end": 30500, "loc": { "start": { - "line": 776, + "line": 777, "column": 65 }, "end": { - "line": 776, + "line": 777, "column": 71 } } @@ -204335,15 +204655,15 @@ "binop": null, "updateContext": null }, - "start": 29985, - "end": 29986, + "start": 30500, + "end": 30501, "loc": { "start": { - "line": 776, + "line": 777, "column": 71 }, "end": { - "line": 776, + "line": 777, "column": 72 } } @@ -204361,15 +204681,15 @@ "binop": null }, "value": "colorsCompressed", - "start": 29986, - "end": 30002, + "start": 30501, + "end": 30517, "loc": { "start": { - "line": 776, + "line": 777, "column": 72 }, "end": { - "line": 776, + "line": 777, "column": 88 } } @@ -204386,15 +204706,15 @@ "postfix": false, "binop": null }, - "start": 30002, - "end": 30003, + "start": 30517, + "end": 30518, "loc": { "start": { - "line": 776, + "line": 777, "column": 88 }, "end": { - "line": 776, + "line": 777, "column": 89 } } @@ -204412,15 +204732,15 @@ "binop": null, "updateContext": null }, - "start": 30003, - "end": 30004, + "start": 30518, + "end": 30519, "loc": { "start": { - "line": 776, + "line": 777, "column": 89 }, "end": { - "line": 776, + "line": 777, "column": 90 } } @@ -204437,15 +204757,15 @@ "postfix": false, "binop": null }, - "start": 30018, - "end": 30019, + "start": 30533, + "end": 30534, "loc": { "start": { - "line": 778, + "line": 779, "column": 12 }, "end": { - "line": 778, + "line": 779, "column": 13 } } @@ -204465,15 +204785,15 @@ "updateContext": null }, "value": "else", - "start": 30020, - "end": 30024, + "start": 30535, + "end": 30539, "loc": { "start": { - "line": 778, + "line": 779, "column": 14 }, "end": { - "line": 778, + "line": 779, "column": 18 } } @@ -204490,201 +204810,16 @@ "postfix": false, "binop": null }, - "start": 30025, - "end": 30026, - "loc": { - "start": { - "line": 778, - "column": 19 - }, - "end": { - "line": 778, - "column": 20 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 30043, - "end": 30048, - "loc": { - "start": { - "line": 779, - "column": 16 - }, - "end": { - "line": 779, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "colors", - "start": 30049, - "end": 30055, - "loc": { - "start": { - "line": 779, - "column": 22 - }, - "end": { - "line": 779, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 30056, - "end": 30057, - "loc": { - "start": { - "line": 779, - "column": 29 - }, - "end": { - "line": 779, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "params", - "start": 30058, - "end": 30064, - "loc": { - "start": { - "line": 779, - "column": 31 - }, - "end": { - "line": 779, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 30064, - "end": 30065, - "loc": { - "start": { - "line": 779, - "column": 37 - }, - "end": { - "line": 779, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "colors", - "start": 30065, - "end": 30071, - "loc": { - "start": { - "line": 779, - "column": 38 - }, - "end": { - "line": 779, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 30071, - "end": 30072, + "start": 30540, + "end": 30541, "loc": { "start": { "line": 779, - "column": 44 + "column": 19 }, "end": { "line": 779, - "column": 45 + "column": 20 } } }, @@ -204703,8 +204838,8 @@ "updateContext": null }, "value": "const", - "start": 30089, - "end": 30094, + "start": 30558, + "end": 30563, "loc": { "start": { "line": 780, @@ -204728,9 +204863,9 @@ "postfix": false, "binop": null }, - "value": "colorsCompressed", - "start": 30095, - "end": 30111, + "value": "colors", + "start": 30564, + "end": 30570, "loc": { "start": { "line": 780, @@ -204738,7 +204873,7 @@ }, "end": { "line": 780, - "column": 38 + "column": 28 } } }, @@ -204756,15 +204891,200 @@ "updateContext": null }, "value": "=", - "start": 30112, - "end": 30113, + "start": 30571, + "end": 30572, "loc": { "start": { "line": 780, - "column": 39 + "column": 29 + }, + "end": { + "line": 780, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "params", + "start": 30573, + "end": 30579, + "loc": { + "start": { + "line": 780, + "column": 31 + }, + "end": { + "line": 780, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 30579, + "end": 30580, + "loc": { + "start": { + "line": 780, + "column": 37 + }, + "end": { + "line": 780, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "colors", + "start": 30580, + "end": 30586, + "loc": { + "start": { + "line": 780, + "column": 38 }, "end": { "line": 780, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 30586, + "end": 30587, + "loc": { + "start": { + "line": 780, + "column": 44 + }, + "end": { + "line": 780, + "column": 45 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 30604, + "end": 30609, + "loc": { + "start": { + "line": 781, + "column": 16 + }, + "end": { + "line": 781, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "colorsCompressed", + "start": 30610, + "end": 30626, + "loc": { + "start": { + "line": 781, + "column": 22 + }, + "end": { + "line": 781, + "column": 38 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 30627, + "end": 30628, + "loc": { + "start": { + "line": 781, + "column": 39 + }, + "end": { + "line": 781, "column": 40 } } @@ -204784,15 +205104,15 @@ "updateContext": null }, "value": "new", - "start": 30114, - "end": 30117, + "start": 30629, + "end": 30632, "loc": { "start": { - "line": 780, + "line": 781, "column": 41 }, "end": { - "line": 780, + "line": 781, "column": 44 } } @@ -204810,15 +205130,15 @@ "binop": null }, "value": "Uint8Array", - "start": 30118, - "end": 30128, + "start": 30633, + "end": 30643, "loc": { "start": { - "line": 780, + "line": 781, "column": 45 }, "end": { - "line": 780, + "line": 781, "column": 55 } } @@ -204835,15 +205155,15 @@ "postfix": false, "binop": null }, - "start": 30128, - "end": 30129, + "start": 30643, + "end": 30644, "loc": { "start": { - "line": 780, + "line": 781, "column": 55 }, "end": { - "line": 780, + "line": 781, "column": 56 } } @@ -204861,15 +205181,15 @@ "binop": null }, "value": "colors", - "start": 30129, - "end": 30135, + "start": 30644, + "end": 30650, "loc": { "start": { - "line": 780, + "line": 781, "column": 56 }, "end": { - "line": 780, + "line": 781, "column": 62 } } @@ -204887,15 +205207,15 @@ "binop": null, "updateContext": null }, - "start": 30135, - "end": 30136, + "start": 30650, + "end": 30651, "loc": { "start": { - "line": 780, + "line": 781, "column": 62 }, "end": { - "line": 780, + "line": 781, "column": 63 } } @@ -204913,15 +205233,15 @@ "binop": null }, "value": "length", - "start": 30136, - "end": 30142, + "start": 30651, + "end": 30657, "loc": { "start": { - "line": 780, + "line": 781, "column": 63 }, "end": { - "line": 780, + "line": 781, "column": 69 } } @@ -204938,15 +205258,15 @@ "postfix": false, "binop": null }, - "start": 30142, - "end": 30143, + "start": 30657, + "end": 30658, "loc": { "start": { - "line": 780, + "line": 781, "column": 69 }, "end": { - "line": 780, + "line": 781, "column": 70 } } @@ -204964,15 +205284,15 @@ "binop": null, "updateContext": null }, - "start": 30143, - "end": 30144, + "start": 30658, + "end": 30659, "loc": { "start": { - "line": 780, + "line": 781, "column": 70 }, "end": { - "line": 780, + "line": 781, "column": 71 } } @@ -204992,15 +205312,15 @@ "updateContext": null }, "value": "for", - "start": 30161, - "end": 30164, + "start": 30676, + "end": 30679, "loc": { "start": { - "line": 781, + "line": 782, "column": 16 }, "end": { - "line": 781, + "line": 782, "column": 19 } } @@ -205017,15 +205337,15 @@ "postfix": false, "binop": null }, - "start": 30165, - "end": 30166, + "start": 30680, + "end": 30681, "loc": { "start": { - "line": 781, + "line": 782, "column": 20 }, "end": { - "line": 781, + "line": 782, "column": 21 } } @@ -205045,15 +205365,15 @@ "updateContext": null }, "value": "let", - "start": 30166, - "end": 30169, + "start": 30681, + "end": 30684, "loc": { "start": { - "line": 781, + "line": 782, "column": 21 }, "end": { - "line": 781, + "line": 782, "column": 24 } } @@ -205071,15 +205391,15 @@ "binop": null }, "value": "i", - "start": 30170, - "end": 30171, + "start": 30685, + "end": 30686, "loc": { "start": { - "line": 781, + "line": 782, "column": 25 }, "end": { - "line": 781, + "line": 782, "column": 26 } } @@ -205098,15 +205418,15 @@ "updateContext": null }, "value": "=", - "start": 30172, - "end": 30173, + "start": 30687, + "end": 30688, "loc": { "start": { - "line": 781, + "line": 782, "column": 27 }, "end": { - "line": 781, + "line": 782, "column": 28 } } @@ -205125,15 +205445,15 @@ "updateContext": null }, "value": 0, - "start": 30174, - "end": 30175, + "start": 30689, + "end": 30690, "loc": { "start": { - "line": 781, + "line": 782, "column": 29 }, "end": { - "line": 781, + "line": 782, "column": 30 } } @@ -205151,15 +205471,15 @@ "binop": null, "updateContext": null }, - "start": 30175, - "end": 30176, + "start": 30690, + "end": 30691, "loc": { "start": { - "line": 781, + "line": 782, "column": 30 }, "end": { - "line": 781, + "line": 782, "column": 31 } } @@ -205177,15 +205497,15 @@ "binop": null }, "value": "len", - "start": 30177, - "end": 30180, + "start": 30692, + "end": 30695, "loc": { "start": { - "line": 781, + "line": 782, "column": 32 }, "end": { - "line": 781, + "line": 782, "column": 35 } } @@ -205204,15 +205524,15 @@ "updateContext": null }, "value": "=", - "start": 30181, - "end": 30182, + "start": 30696, + "end": 30697, "loc": { "start": { - "line": 781, + "line": 782, "column": 36 }, "end": { - "line": 781, + "line": 782, "column": 37 } } @@ -205230,15 +205550,15 @@ "binop": null }, "value": "colors", - "start": 30183, - "end": 30189, + "start": 30698, + "end": 30704, "loc": { "start": { - "line": 781, + "line": 782, "column": 38 }, "end": { - "line": 781, + "line": 782, "column": 44 } } @@ -205256,15 +205576,15 @@ "binop": null, "updateContext": null }, - "start": 30189, - "end": 30190, + "start": 30704, + "end": 30705, "loc": { "start": { - "line": 781, + "line": 782, "column": 44 }, "end": { - "line": 781, + "line": 782, "column": 45 } } @@ -205282,15 +205602,15 @@ "binop": null }, "value": "length", - "start": 30190, - "end": 30196, + "start": 30705, + "end": 30711, "loc": { "start": { - "line": 781, + "line": 782, "column": 45 }, "end": { - "line": 781, + "line": 782, "column": 51 } } @@ -205308,15 +205628,15 @@ "binop": null, "updateContext": null }, - "start": 30196, - "end": 30197, + "start": 30711, + "end": 30712, "loc": { "start": { - "line": 781, + "line": 782, "column": 51 }, "end": { - "line": 781, + "line": 782, "column": 52 } } @@ -205334,15 +205654,15 @@ "binop": null }, "value": "i", - "start": 30198, - "end": 30199, + "start": 30713, + "end": 30714, "loc": { "start": { - "line": 781, + "line": 782, "column": 53 }, "end": { - "line": 781, + "line": 782, "column": 54 } } @@ -205361,15 +205681,15 @@ "updateContext": null }, "value": "<", - "start": 30200, - "end": 30201, + "start": 30715, + "end": 30716, "loc": { "start": { - "line": 781, + "line": 782, "column": 55 }, "end": { - "line": 781, + "line": 782, "column": 56 } } @@ -205387,15 +205707,15 @@ "binop": null }, "value": "len", - "start": 30202, - "end": 30205, + "start": 30717, + "end": 30720, "loc": { "start": { - "line": 781, + "line": 782, "column": 57 }, "end": { - "line": 781, + "line": 782, "column": 60 } } @@ -205413,15 +205733,15 @@ "binop": null, "updateContext": null }, - "start": 30205, - "end": 30206, + "start": 30720, + "end": 30721, "loc": { "start": { - "line": 781, + "line": 782, "column": 60 }, "end": { - "line": 781, + "line": 782, "column": 61 } } @@ -205439,15 +205759,15 @@ "binop": null }, "value": "i", - "start": 30207, - "end": 30208, + "start": 30722, + "end": 30723, "loc": { "start": { - "line": 781, + "line": 782, "column": 62 }, "end": { - "line": 781, + "line": 782, "column": 63 } } @@ -205465,15 +205785,15 @@ "binop": null }, "value": "++", - "start": 30208, - "end": 30210, + "start": 30723, + "end": 30725, "loc": { "start": { - "line": 781, + "line": 782, "column": 63 }, "end": { - "line": 781, + "line": 782, "column": 65 } } @@ -205490,15 +205810,15 @@ "postfix": false, "binop": null }, - "start": 30210, - "end": 30211, + "start": 30725, + "end": 30726, "loc": { "start": { - "line": 781, + "line": 782, "column": 65 }, "end": { - "line": 781, + "line": 782, "column": 66 } } @@ -205515,15 +205835,15 @@ "postfix": false, "binop": null }, - "start": 30212, - "end": 30213, + "start": 30727, + "end": 30728, "loc": { "start": { - "line": 781, + "line": 782, "column": 67 }, "end": { - "line": 781, + "line": 782, "column": 68 } } @@ -205541,15 +205861,15 @@ "binop": null }, "value": "colorsCompressed", - "start": 30234, - "end": 30250, + "start": 30749, + "end": 30765, "loc": { "start": { - "line": 782, + "line": 783, "column": 20 }, "end": { - "line": 782, + "line": 783, "column": 36 } } @@ -205567,15 +205887,15 @@ "binop": null, "updateContext": null }, - "start": 30250, - "end": 30251, + "start": 30765, + "end": 30766, "loc": { "start": { - "line": 782, + "line": 783, "column": 36 }, "end": { - "line": 782, + "line": 783, "column": 37 } } @@ -205593,15 +205913,15 @@ "binop": null }, "value": "i", - "start": 30251, - "end": 30252, + "start": 30766, + "end": 30767, "loc": { "start": { - "line": 782, + "line": 783, "column": 37 }, "end": { - "line": 782, + "line": 783, "column": 38 } } @@ -205619,15 +205939,15 @@ "binop": null, "updateContext": null }, - "start": 30252, - "end": 30253, + "start": 30767, + "end": 30768, "loc": { "start": { - "line": 782, + "line": 783, "column": 38 }, "end": { - "line": 782, + "line": 783, "column": 39 } } @@ -205646,15 +205966,15 @@ "updateContext": null }, "value": "=", - "start": 30254, - "end": 30255, + "start": 30769, + "end": 30770, "loc": { "start": { - "line": 782, + "line": 783, "column": 40 }, "end": { - "line": 782, + "line": 783, "column": 41 } } @@ -205672,15 +205992,15 @@ "binop": null }, "value": "Math", - "start": 30256, - "end": 30260, + "start": 30771, + "end": 30775, "loc": { "start": { - "line": 782, + "line": 783, "column": 42 }, "end": { - "line": 782, + "line": 783, "column": 46 } } @@ -205698,15 +206018,15 @@ "binop": null, "updateContext": null }, - "start": 30260, - "end": 30261, + "start": 30775, + "end": 30776, "loc": { "start": { - "line": 782, + "line": 783, "column": 46 }, "end": { - "line": 782, + "line": 783, "column": 47 } } @@ -205724,15 +206044,15 @@ "binop": null }, "value": "floor", - "start": 30261, - "end": 30266, + "start": 30776, + "end": 30781, "loc": { "start": { - "line": 782, + "line": 783, "column": 47 }, "end": { - "line": 782, + "line": 783, "column": 52 } } @@ -205749,15 +206069,15 @@ "postfix": false, "binop": null }, - "start": 30266, - "end": 30267, + "start": 30781, + "end": 30782, "loc": { "start": { - "line": 782, + "line": 783, "column": 52 }, "end": { - "line": 782, + "line": 783, "column": 53 } } @@ -205775,15 +206095,15 @@ "binop": null }, "value": "colors", - "start": 30267, - "end": 30273, + "start": 30782, + "end": 30788, "loc": { "start": { - "line": 782, + "line": 783, "column": 53 }, "end": { - "line": 782, + "line": 783, "column": 59 } } @@ -205801,15 +206121,15 @@ "binop": null, "updateContext": null }, - "start": 30273, - "end": 30274, + "start": 30788, + "end": 30789, "loc": { "start": { - "line": 782, + "line": 783, "column": 59 }, "end": { - "line": 782, + "line": 783, "column": 60 } } @@ -205827,15 +206147,15 @@ "binop": null }, "value": "i", - "start": 30274, - "end": 30275, + "start": 30789, + "end": 30790, "loc": { "start": { - "line": 782, + "line": 783, "column": 60 }, "end": { - "line": 782, + "line": 783, "column": 61 } } @@ -205853,15 +206173,15 @@ "binop": null, "updateContext": null }, - "start": 30275, - "end": 30276, + "start": 30790, + "end": 30791, "loc": { "start": { - "line": 782, + "line": 783, "column": 61 }, "end": { - "line": 782, + "line": 783, "column": 62 } } @@ -205880,15 +206200,15 @@ "updateContext": null }, "value": "*", - "start": 30277, - "end": 30278, + "start": 30792, + "end": 30793, "loc": { "start": { - "line": 782, + "line": 783, "column": 63 }, "end": { - "line": 782, + "line": 783, "column": 64 } } @@ -205907,15 +206227,15 @@ "updateContext": null }, "value": 255, - "start": 30279, - "end": 30282, + "start": 30794, + "end": 30797, "loc": { "start": { - "line": 782, + "line": 783, "column": 65 }, "end": { - "line": 782, + "line": 783, "column": 68 } } @@ -205932,15 +206252,15 @@ "postfix": false, "binop": null }, - "start": 30282, - "end": 30283, + "start": 30797, + "end": 30798, "loc": { "start": { - "line": 782, + "line": 783, "column": 68 }, "end": { - "line": 782, + "line": 783, "column": 69 } } @@ -205958,15 +206278,15 @@ "binop": null, "updateContext": null }, - "start": 30283, - "end": 30284, + "start": 30798, + "end": 30799, "loc": { "start": { - "line": 782, + "line": 783, "column": 69 }, "end": { - "line": 782, + "line": 783, "column": 70 } } @@ -205983,15 +206303,15 @@ "postfix": false, "binop": null }, - "start": 30301, - "end": 30302, + "start": 30816, + "end": 30817, "loc": { "start": { - "line": 783, + "line": 784, "column": 16 }, "end": { - "line": 783, + "line": 784, "column": 17 } } @@ -206009,15 +206329,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 30319, - "end": 30333, + "start": 30834, + "end": 30848, "loc": { "start": { - "line": 784, + "line": 785, "column": 16 }, "end": { - "line": 784, + "line": 785, "column": 30 } } @@ -206035,15 +206355,15 @@ "binop": null, "updateContext": null }, - "start": 30333, - "end": 30334, + "start": 30848, + "end": 30849, "loc": { "start": { - "line": 784, + "line": 785, "column": 30 }, "end": { - "line": 784, + "line": 785, "column": 31 } } @@ -206061,15 +206381,15 @@ "binop": null }, "value": "colorsCompressed", - "start": 30334, - "end": 30350, + "start": 30849, + "end": 30865, "loc": { "start": { - "line": 784, + "line": 785, "column": 31 }, "end": { - "line": 784, + "line": 785, "column": 47 } } @@ -206088,15 +206408,15 @@ "updateContext": null }, "value": "=", - "start": 30351, - "end": 30352, + "start": 30866, + "end": 30867, "loc": { "start": { - "line": 784, + "line": 785, "column": 48 }, "end": { - "line": 784, + "line": 785, "column": 49 } } @@ -206114,15 +206434,15 @@ "binop": null }, "value": "colorsCompressed", - "start": 30353, - "end": 30369, + "start": 30868, + "end": 30884, "loc": { "start": { - "line": 784, + "line": 785, "column": 50 }, "end": { - "line": 784, + "line": 785, "column": 66 } } @@ -206140,15 +206460,15 @@ "binop": null, "updateContext": null }, - "start": 30369, - "end": 30370, + "start": 30884, + "end": 30885, "loc": { "start": { - "line": 784, + "line": 785, "column": 66 }, "end": { - "line": 784, + "line": 785, "column": 67 } } @@ -206165,15 +206485,15 @@ "postfix": false, "binop": null }, - "start": 30383, - "end": 30384, + "start": 30898, + "end": 30899, "loc": { "start": { - "line": 785, + "line": 786, "column": 12 }, "end": { - "line": 785, + "line": 786, "column": 13 } } @@ -206190,15 +206510,15 @@ "postfix": false, "binop": null }, - "start": 30393, - "end": 30394, + "start": 30908, + "end": 30909, "loc": { "start": { - "line": 786, + "line": 787, "column": 8 }, "end": { - "line": 786, + "line": 787, "column": 9 } } @@ -206218,15 +206538,15 @@ "updateContext": null }, "value": "if", - "start": 30404, - "end": 30406, + "start": 30919, + "end": 30921, "loc": { "start": { - "line": 788, + "line": 789, "column": 8 }, "end": { - "line": 788, + "line": 789, "column": 10 } } @@ -206243,15 +206563,15 @@ "postfix": false, "binop": null }, - "start": 30407, - "end": 30408, + "start": 30922, + "end": 30923, "loc": { "start": { - "line": 788, + "line": 789, "column": 11 }, "end": { - "line": 788, + "line": 789, "column": 12 } } @@ -206269,15 +206589,15 @@ "binop": null }, "value": "lines", - "start": 30408, - "end": 30413, + "start": 30923, + "end": 30928, "loc": { "start": { - "line": 788, + "line": 789, "column": 12 }, "end": { - "line": 788, + "line": 789, "column": 17 } } @@ -206294,15 +206614,15 @@ "postfix": false, "binop": null }, - "start": 30413, - "end": 30414, + "start": 30928, + "end": 30929, "loc": { "start": { - "line": 788, + "line": 789, "column": 17 }, "end": { - "line": 788, + "line": 789, "column": 18 } } @@ -206319,15 +206639,15 @@ "postfix": false, "binop": null }, - "start": 30415, - "end": 30416, + "start": 30930, + "end": 30931, "loc": { "start": { - "line": 788, + "line": 789, "column": 19 }, "end": { - "line": 788, + "line": 789, "column": 20 } } @@ -206345,15 +206665,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 30429, - "end": 30443, + "start": 30944, + "end": 30958, "loc": { "start": { - "line": 789, + "line": 790, "column": 12 }, "end": { - "line": 789, + "line": 790, "column": 26 } } @@ -206371,15 +206691,15 @@ "binop": null, "updateContext": null }, - "start": 30443, - "end": 30444, + "start": 30958, + "end": 30959, "loc": { "start": { - "line": 789, + "line": 790, "column": 26 }, "end": { - "line": 789, + "line": 790, "column": 27 } } @@ -206397,15 +206717,15 @@ "binop": null }, "value": "indices", - "start": 30444, - "end": 30451, + "start": 30959, + "end": 30966, "loc": { "start": { - "line": 789, + "line": 790, "column": 27 }, "end": { - "line": 789, + "line": 790, "column": 34 } } @@ -206424,15 +206744,15 @@ "updateContext": null }, "value": "=", - "start": 30452, - "end": 30453, + "start": 30967, + "end": 30968, "loc": { "start": { - "line": 789, + "line": 790, "column": 35 }, "end": { - "line": 789, + "line": 790, "column": 36 } } @@ -206450,15 +206770,15 @@ "binop": null }, "value": "params", - "start": 30454, - "end": 30460, + "start": 30969, + "end": 30975, "loc": { "start": { - "line": 789, + "line": 790, "column": 37 }, "end": { - "line": 789, + "line": 790, "column": 43 } } @@ -206476,15 +206796,15 @@ "binop": null, "updateContext": null }, - "start": 30460, - "end": 30461, + "start": 30975, + "end": 30976, "loc": { "start": { - "line": 789, + "line": 790, "column": 43 }, "end": { - "line": 789, + "line": 790, "column": 44 } } @@ -206502,15 +206822,15 @@ "binop": null }, "value": "indices", - "start": 30461, - "end": 30468, + "start": 30976, + "end": 30983, "loc": { "start": { - "line": 789, + "line": 790, "column": 44 }, "end": { - "line": 789, + "line": 790, "column": 51 } } @@ -206528,15 +206848,15 @@ "binop": null, "updateContext": null }, - "start": 30468, - "end": 30469, + "start": 30983, + "end": 30984, "loc": { "start": { - "line": 789, + "line": 790, "column": 51 }, "end": { - "line": 789, + "line": 790, "column": 52 } } @@ -206553,15 +206873,15 @@ "postfix": false, "binop": null }, - "start": 30478, - "end": 30479, + "start": 30993, + "end": 30994, "loc": { "start": { - "line": 790, + "line": 791, "column": 8 }, "end": { - "line": 790, + "line": 791, "column": 9 } } @@ -206581,15 +206901,15 @@ "updateContext": null }, "value": "if", - "start": 30489, - "end": 30491, + "start": 31004, + "end": 31006, "loc": { "start": { - "line": 792, + "line": 793, "column": 8 }, "end": { - "line": 792, + "line": 793, "column": 10 } } @@ -206606,15 +206926,15 @@ "postfix": false, "binop": null }, - "start": 30492, - "end": 30493, + "start": 31007, + "end": 31008, "loc": { "start": { - "line": 792, + "line": 793, "column": 11 }, "end": { - "line": 792, + "line": 793, "column": 12 } } @@ -206632,15 +206952,15 @@ "binop": null }, "value": "triangles", - "start": 30493, - "end": 30502, + "start": 31008, + "end": 31017, "loc": { "start": { - "line": 792, + "line": 793, "column": 12 }, "end": { - "line": 792, + "line": 793, "column": 21 } } @@ -206657,15 +206977,15 @@ "postfix": false, "binop": null }, - "start": 30502, - "end": 30503, + "start": 31017, + "end": 31018, "loc": { "start": { - "line": 792, + "line": 793, "column": 21 }, "end": { - "line": 792, + "line": 793, "column": 22 } } @@ -206682,15 +207002,15 @@ "postfix": false, "binop": null }, - "start": 30504, - "end": 30505, + "start": 31019, + "end": 31020, "loc": { "start": { - "line": 792, + "line": 793, "column": 23 }, "end": { - "line": 792, + "line": 793, "column": 24 } } @@ -206710,15 +207030,15 @@ "updateContext": null }, "value": "if", - "start": 30519, - "end": 30521, + "start": 31034, + "end": 31036, "loc": { "start": { - "line": 794, + "line": 795, "column": 12 }, "end": { - "line": 794, + "line": 795, "column": 14 } } @@ -206735,15 +207055,15 @@ "postfix": false, "binop": null }, - "start": 30522, - "end": 30523, + "start": 31037, + "end": 31038, "loc": { "start": { - "line": 794, + "line": 795, "column": 15 }, "end": { - "line": 794, + "line": 795, "column": 16 } } @@ -206762,15 +207082,15 @@ "updateContext": null }, "value": "!", - "start": 30523, - "end": 30524, + "start": 31038, + "end": 31039, "loc": { "start": { - "line": 794, + "line": 795, "column": 16 }, "end": { - "line": 794, + "line": 795, "column": 17 } } @@ -206788,15 +207108,15 @@ "binop": null }, "value": "params", - "start": 30524, - "end": 30530, + "start": 31039, + "end": 31045, "loc": { "start": { - "line": 794, + "line": 795, "column": 17 }, "end": { - "line": 794, + "line": 795, "column": 23 } } @@ -206814,15 +207134,15 @@ "binop": null, "updateContext": null }, - "start": 30530, - "end": 30531, + "start": 31045, + "end": 31046, "loc": { "start": { - "line": 794, + "line": 795, "column": 23 }, "end": { - "line": 794, + "line": 795, "column": 24 } } @@ -206840,15 +207160,15 @@ "binop": null }, "value": "normals", - "start": 30531, - "end": 30538, + "start": 31046, + "end": 31053, "loc": { "start": { - "line": 794, + "line": 795, "column": 24 }, "end": { - "line": 794, + "line": 795, "column": 31 } } @@ -206867,15 +207187,15 @@ "updateContext": null }, "value": "&&", - "start": 30539, - "end": 30541, + "start": 31054, + "end": 31056, "loc": { "start": { - "line": 794, + "line": 795, "column": 32 }, "end": { - "line": 794, + "line": 795, "column": 34 } } @@ -206894,15 +207214,15 @@ "updateContext": null }, "value": "!", - "start": 30542, - "end": 30543, + "start": 31057, + "end": 31058, "loc": { "start": { - "line": 794, + "line": 795, "column": 35 }, "end": { - "line": 794, + "line": 795, "column": 36 } } @@ -206920,15 +207240,15 @@ "binop": null }, "value": "params", - "start": 30543, - "end": 30549, + "start": 31058, + "end": 31064, "loc": { "start": { - "line": 794, + "line": 795, "column": 36 }, "end": { - "line": 794, + "line": 795, "column": 42 } } @@ -206946,15 +207266,15 @@ "binop": null, "updateContext": null }, - "start": 30549, - "end": 30550, + "start": 31064, + "end": 31065, "loc": { "start": { - "line": 794, + "line": 795, "column": 42 }, "end": { - "line": 794, + "line": 795, "column": 43 } } @@ -206972,15 +207292,15 @@ "binop": null }, "value": "uv", - "start": 30550, - "end": 30552, + "start": 31065, + "end": 31067, "loc": { "start": { - "line": 794, + "line": 795, "column": 43 }, "end": { - "line": 794, + "line": 795, "column": 45 } } @@ -206999,15 +207319,15 @@ "updateContext": null }, "value": "&&", - "start": 30553, - "end": 30555, + "start": 31068, + "end": 31070, "loc": { "start": { - "line": 794, + "line": 795, "column": 46 }, "end": { - "line": 794, + "line": 795, "column": 48 } } @@ -207026,15 +207346,15 @@ "updateContext": null }, "value": "!", - "start": 30556, - "end": 30557, + "start": 31071, + "end": 31072, "loc": { "start": { - "line": 794, + "line": 795, "column": 49 }, "end": { - "line": 794, + "line": 795, "column": 50 } } @@ -207052,15 +207372,15 @@ "binop": null }, "value": "params", - "start": 30557, - "end": 30563, + "start": 31072, + "end": 31078, "loc": { "start": { - "line": 794, + "line": 795, "column": 50 }, "end": { - "line": 794, + "line": 795, "column": 56 } } @@ -207078,15 +207398,15 @@ "binop": null, "updateContext": null }, - "start": 30563, - "end": 30564, + "start": 31078, + "end": 31079, "loc": { "start": { - "line": 794, + "line": 795, "column": 56 }, "end": { - "line": 794, + "line": 795, "column": 57 } } @@ -207104,15 +207424,15 @@ "binop": null }, "value": "uvs", - "start": 30564, - "end": 30567, + "start": 31079, + "end": 31082, "loc": { "start": { - "line": 794, + "line": 795, "column": 57 }, "end": { - "line": 794, + "line": 795, "column": 60 } } @@ -207129,15 +207449,15 @@ "postfix": false, "binop": null }, - "start": 30567, - "end": 30568, + "start": 31082, + "end": 31083, "loc": { "start": { - "line": 794, + "line": 795, "column": 60 }, "end": { - "line": 794, + "line": 795, "column": 61 } } @@ -207154,15 +207474,15 @@ "postfix": false, "binop": null }, - "start": 30569, - "end": 30570, + "start": 31084, + "end": 31085, "loc": { "start": { - "line": 794, + "line": 795, "column": 62 }, "end": { - "line": 794, + "line": 795, "column": 63 } } @@ -207170,15 +207490,15 @@ { "type": "CommentLine", "value": " Building models often duplicate positions to allow face-aligned vertex normals; when we're not", - "start": 30588, - "end": 30685, + "start": 31103, + "end": 31200, "loc": { "start": { - "line": 796, + "line": 797, "column": 16 }, "end": { - "line": 796, + "line": 797, "column": 113 } } @@ -207186,15 +207506,15 @@ { "type": "CommentLine", "value": " providing normals for a geometry, it becomes possible to merge duplicate vertex positions within it.", - "start": 30702, - "end": 30805, + "start": 31217, + "end": 31320, "loc": { "start": { - "line": 797, + "line": 798, "column": 16 }, "end": { - "line": 797, + "line": 798, "column": 119 } } @@ -207202,15 +207522,15 @@ { "type": "CommentLine", "value": " TODO: Make vertex merging also merge normals?", - "start": 30823, - "end": 30871, + "start": 31338, + "end": 31386, "loc": { "start": { - "line": 799, + "line": 800, "column": 16 }, "end": { - "line": 799, + "line": 800, "column": 64 } } @@ -207230,15 +207550,15 @@ "updateContext": null }, "value": "const", - "start": 30889, - "end": 30894, + "start": 31404, + "end": 31409, "loc": { "start": { - "line": 801, + "line": 802, "column": 16 }, "end": { - "line": 801, + "line": 802, "column": 21 } } @@ -207256,15 +207576,15 @@ "binop": null }, "value": "mergedPositions", - "start": 30895, - "end": 30910, + "start": 31410, + "end": 31425, "loc": { "start": { - "line": 801, + "line": 802, "column": 22 }, "end": { - "line": 801, + "line": 802, "column": 37 } } @@ -207283,15 +207603,15 @@ "updateContext": null }, "value": "=", - "start": 30911, - "end": 30912, + "start": 31426, + "end": 31427, "loc": { "start": { - "line": 801, + "line": 802, "column": 38 }, "end": { - "line": 801, + "line": 802, "column": 39 } } @@ -207309,15 +207629,15 @@ "binop": null, "updateContext": null }, - "start": 30913, - "end": 30914, + "start": 31428, + "end": 31429, "loc": { "start": { - "line": 801, + "line": 802, "column": 40 }, "end": { - "line": 801, + "line": 802, "column": 41 } } @@ -207335,15 +207655,15 @@ "binop": null, "updateContext": null }, - "start": 30914, - "end": 30915, + "start": 31429, + "end": 31430, "loc": { "start": { - "line": 801, + "line": 802, "column": 41 }, "end": { - "line": 801, + "line": 802, "column": 42 } } @@ -207361,15 +207681,15 @@ "binop": null, "updateContext": null }, - "start": 30915, - "end": 30916, + "start": 31430, + "end": 31431, "loc": { "start": { - "line": 801, + "line": 802, "column": 42 }, "end": { - "line": 801, + "line": 802, "column": 43 } } @@ -207389,15 +207709,15 @@ "updateContext": null }, "value": "const", - "start": 30933, - "end": 30938, + "start": 31448, + "end": 31453, "loc": { "start": { - "line": 802, + "line": 803, "column": 16 }, "end": { - "line": 802, + "line": 803, "column": 21 } } @@ -207415,15 +207735,15 @@ "binop": null }, "value": "mergedIndices", - "start": 30939, - "end": 30952, + "start": 31454, + "end": 31467, "loc": { "start": { - "line": 802, + "line": 803, "column": 22 }, "end": { - "line": 802, + "line": 803, "column": 35 } } @@ -207442,15 +207762,15 @@ "updateContext": null }, "value": "=", - "start": 30953, - "end": 30954, + "start": 31468, + "end": 31469, "loc": { "start": { - "line": 802, + "line": 803, "column": 36 }, "end": { - "line": 802, + "line": 803, "column": 37 } } @@ -207468,15 +207788,15 @@ "binop": null, "updateContext": null }, - "start": 30955, - "end": 30956, + "start": 31470, + "end": 31471, "loc": { "start": { - "line": 802, + "line": 803, "column": 38 }, "end": { - "line": 802, + "line": 803, "column": 39 } } @@ -207494,15 +207814,15 @@ "binop": null, "updateContext": null }, - "start": 30956, - "end": 30957, + "start": 31471, + "end": 31472, "loc": { "start": { - "line": 802, + "line": 803, "column": 39 }, "end": { - "line": 802, + "line": 803, "column": 40 } } @@ -207520,15 +207840,15 @@ "binop": null, "updateContext": null }, - "start": 30957, - "end": 30958, + "start": 31472, + "end": 31473, "loc": { "start": { - "line": 802, + "line": 803, "column": 40 }, "end": { - "line": 802, + "line": 803, "column": 41 } } @@ -207546,15 +207866,15 @@ "binop": null }, "value": "mergeVertices", - "start": 30975, - "end": 30988, + "start": 31490, + "end": 31503, "loc": { "start": { - "line": 803, + "line": 804, "column": 16 }, "end": { - "line": 803, + "line": 804, "column": 29 } } @@ -207571,15 +207891,15 @@ "postfix": false, "binop": null }, - "start": 30988, - "end": 30989, + "start": 31503, + "end": 31504, "loc": { "start": { - "line": 803, + "line": 804, "column": 29 }, "end": { - "line": 803, + "line": 804, "column": 30 } } @@ -207597,15 +207917,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 30989, - "end": 31003, + "start": 31504, + "end": 31518, "loc": { "start": { - "line": 803, + "line": 804, "column": 30 }, "end": { - "line": 803, + "line": 804, "column": 44 } } @@ -207623,15 +207943,15 @@ "binop": null, "updateContext": null }, - "start": 31003, - "end": 31004, + "start": 31518, + "end": 31519, "loc": { "start": { - "line": 803, + "line": 804, "column": 44 }, "end": { - "line": 803, + "line": 804, "column": 45 } } @@ -207649,15 +207969,15 @@ "binop": null }, "value": "positions", - "start": 31004, - "end": 31013, + "start": 31519, + "end": 31528, "loc": { "start": { - "line": 803, + "line": 804, "column": 45 }, "end": { - "line": 803, + "line": 804, "column": 54 } } @@ -207675,15 +207995,15 @@ "binop": null, "updateContext": null }, - "start": 31013, - "end": 31014, + "start": 31528, + "end": 31529, "loc": { "start": { - "line": 803, + "line": 804, "column": 54 }, "end": { - "line": 803, + "line": 804, "column": 55 } } @@ -207701,15 +208021,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 31015, - "end": 31029, + "start": 31530, + "end": 31544, "loc": { "start": { - "line": 803, + "line": 804, "column": 56 }, "end": { - "line": 803, + "line": 804, "column": 70 } } @@ -207727,15 +208047,15 @@ "binop": null, "updateContext": null }, - "start": 31029, - "end": 31030, + "start": 31544, + "end": 31545, "loc": { "start": { - "line": 803, + "line": 804, "column": 70 }, "end": { - "line": 803, + "line": 804, "column": 71 } } @@ -207753,15 +208073,15 @@ "binop": null }, "value": "indices", - "start": 31030, - "end": 31037, + "start": 31545, + "end": 31552, "loc": { "start": { - "line": 803, + "line": 804, "column": 71 }, "end": { - "line": 803, + "line": 804, "column": 78 } } @@ -207779,15 +208099,15 @@ "binop": null, "updateContext": null }, - "start": 31037, - "end": 31038, + "start": 31552, + "end": 31553, "loc": { "start": { - "line": 803, + "line": 804, "column": 78 }, "end": { - "line": 803, + "line": 804, "column": 79 } } @@ -207805,15 +208125,15 @@ "binop": null }, "value": "mergedPositions", - "start": 31039, - "end": 31054, + "start": 31554, + "end": 31569, "loc": { "start": { - "line": 803, + "line": 804, "column": 80 }, "end": { - "line": 803, + "line": 804, "column": 95 } } @@ -207831,15 +208151,15 @@ "binop": null, "updateContext": null }, - "start": 31054, - "end": 31055, + "start": 31569, + "end": 31570, "loc": { "start": { - "line": 803, + "line": 804, "column": 95 }, "end": { - "line": 803, + "line": 804, "column": 96 } } @@ -207857,15 +208177,15 @@ "binop": null }, "value": "mergedIndices", - "start": 31056, - "end": 31069, + "start": 31571, + "end": 31584, "loc": { "start": { - "line": 803, + "line": 804, "column": 97 }, "end": { - "line": 803, + "line": 804, "column": 110 } } @@ -207882,15 +208202,15 @@ "postfix": false, "binop": null }, - "start": 31069, - "end": 31070, + "start": 31584, + "end": 31585, "loc": { "start": { - "line": 803, + "line": 804, "column": 110 }, "end": { - "line": 803, + "line": 804, "column": 111 } } @@ -207908,15 +208228,15 @@ "binop": null, "updateContext": null }, - "start": 31070, - "end": 31071, + "start": 31585, + "end": 31586, "loc": { "start": { - "line": 803, + "line": 804, "column": 111 }, "end": { - "line": 803, + "line": 804, "column": 112 } } @@ -207934,15 +208254,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 31088, - "end": 31102, + "start": 31603, + "end": 31617, "loc": { "start": { - "line": 804, + "line": 805, "column": 16 }, "end": { - "line": 804, + "line": 805, "column": 30 } } @@ -207960,15 +208280,15 @@ "binop": null, "updateContext": null }, - "start": 31102, - "end": 31103, + "start": 31617, + "end": 31618, "loc": { "start": { - "line": 804, + "line": 805, "column": 30 }, "end": { - "line": 804, + "line": 805, "column": 31 } } @@ -207986,15 +208306,15 @@ "binop": null }, "value": "positions", - "start": 31103, - "end": 31112, + "start": 31618, + "end": 31627, "loc": { "start": { - "line": 804, + "line": 805, "column": 31 }, "end": { - "line": 804, + "line": 805, "column": 40 } } @@ -208013,15 +208333,15 @@ "updateContext": null }, "value": "=", - "start": 31113, - "end": 31114, + "start": 31628, + "end": 31629, "loc": { "start": { - "line": 804, + "line": 805, "column": 41 }, "end": { - "line": 804, + "line": 805, "column": 42 } } @@ -208041,15 +208361,15 @@ "updateContext": null }, "value": "new", - "start": 31115, - "end": 31118, + "start": 31630, + "end": 31633, "loc": { "start": { - "line": 804, + "line": 805, "column": 43 }, "end": { - "line": 804, + "line": 805, "column": 46 } } @@ -208067,15 +208387,15 @@ "binop": null }, "value": "Float64Array", - "start": 31119, - "end": 31131, + "start": 31634, + "end": 31646, "loc": { "start": { - "line": 804, + "line": 805, "column": 47 }, "end": { - "line": 804, + "line": 805, "column": 59 } } @@ -208092,15 +208412,15 @@ "postfix": false, "binop": null }, - "start": 31131, - "end": 31132, + "start": 31646, + "end": 31647, "loc": { "start": { - "line": 804, + "line": 805, "column": 59 }, "end": { - "line": 804, + "line": 805, "column": 60 } } @@ -208118,15 +208438,15 @@ "binop": null }, "value": "mergedPositions", - "start": 31132, - "end": 31147, + "start": 31647, + "end": 31662, "loc": { "start": { - "line": 804, + "line": 805, "column": 60 }, "end": { - "line": 804, + "line": 805, "column": 75 } } @@ -208143,15 +208463,15 @@ "postfix": false, "binop": null }, - "start": 31147, - "end": 31148, + "start": 31662, + "end": 31663, "loc": { "start": { - "line": 804, + "line": 805, "column": 75 }, "end": { - "line": 804, + "line": 805, "column": 76 } } @@ -208169,15 +208489,15 @@ "binop": null, "updateContext": null }, - "start": 31148, - "end": 31149, + "start": 31663, + "end": 31664, "loc": { "start": { - "line": 804, + "line": 805, "column": 76 }, "end": { - "line": 804, + "line": 805, "column": 77 } } @@ -208195,15 +208515,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 31166, - "end": 31180, + "start": 31681, + "end": 31695, "loc": { "start": { - "line": 805, + "line": 806, "column": 16 }, "end": { - "line": 805, + "line": 806, "column": 30 } } @@ -208221,15 +208541,15 @@ "binop": null, "updateContext": null }, - "start": 31180, - "end": 31181, + "start": 31695, + "end": 31696, "loc": { "start": { - "line": 805, + "line": 806, "column": 30 }, "end": { - "line": 805, + "line": 806, "column": 31 } } @@ -208247,15 +208567,15 @@ "binop": null }, "value": "indices", - "start": 31181, - "end": 31188, + "start": 31696, + "end": 31703, "loc": { "start": { - "line": 805, + "line": 806, "column": 31 }, "end": { - "line": 805, + "line": 806, "column": 38 } } @@ -208274,15 +208594,15 @@ "updateContext": null }, "value": "=", - "start": 31189, - "end": 31190, + "start": 31704, + "end": 31705, "loc": { "start": { - "line": 805, + "line": 806, "column": 39 }, "end": { - "line": 805, + "line": 806, "column": 40 } } @@ -208300,15 +208620,15 @@ "binop": null }, "value": "mergedIndices", - "start": 31191, - "end": 31204, + "start": 31706, + "end": 31719, "loc": { "start": { - "line": 805, + "line": 806, "column": 41 }, "end": { - "line": 805, + "line": 806, "column": 54 } } @@ -208326,15 +208646,15 @@ "binop": null, "updateContext": null }, - "start": 31204, - "end": 31205, + "start": 31719, + "end": 31720, "loc": { "start": { - "line": 805, + "line": 806, "column": 54 }, "end": { - "line": 805, + "line": 806, "column": 55 } } @@ -208351,15 +208671,15 @@ "postfix": false, "binop": null }, - "start": 31218, - "end": 31219, + "start": 31733, + "end": 31734, "loc": { "start": { - "line": 806, + "line": 807, "column": 12 }, "end": { - "line": 806, + "line": 807, "column": 13 } } @@ -208377,15 +208697,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 31233, - "end": 31247, + "start": 31748, + "end": 31762, "loc": { "start": { - "line": 808, + "line": 809, "column": 12 }, "end": { - "line": 808, + "line": 809, "column": 26 } } @@ -208403,15 +208723,15 @@ "binop": null, "updateContext": null }, - "start": 31247, - "end": 31248, + "start": 31762, + "end": 31763, "loc": { "start": { - "line": 808, + "line": 809, "column": 26 }, "end": { - "line": 808, + "line": 809, "column": 27 } } @@ -208429,15 +208749,15 @@ "binop": null }, "value": "edgeIndices", - "start": 31248, - "end": 31259, + "start": 31763, + "end": 31774, "loc": { "start": { - "line": 808, + "line": 809, "column": 27 }, "end": { - "line": 808, + "line": 809, "column": 38 } } @@ -208456,15 +208776,15 @@ "updateContext": null }, "value": "=", - "start": 31260, - "end": 31261, + "start": 31775, + "end": 31776, "loc": { "start": { - "line": 808, + "line": 809, "column": 39 }, "end": { - "line": 808, + "line": 809, "column": 40 } } @@ -208482,15 +208802,15 @@ "binop": null }, "value": "buildEdgeIndices", - "start": 31262, - "end": 31278, + "start": 31777, + "end": 31793, "loc": { "start": { - "line": 808, + "line": 809, "column": 41 }, "end": { - "line": 808, + "line": 809, "column": 57 } } @@ -208507,15 +208827,15 @@ "postfix": false, "binop": null }, - "start": 31278, - "end": 31279, + "start": 31793, + "end": 31794, "loc": { "start": { - "line": 808, + "line": 809, "column": 57 }, "end": { - "line": 808, + "line": 809, "column": 58 } } @@ -208533,15 +208853,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 31279, - "end": 31293, + "start": 31794, + "end": 31808, "loc": { "start": { - "line": 808, + "line": 809, "column": 58 }, "end": { - "line": 808, + "line": 809, "column": 72 } } @@ -208559,15 +208879,15 @@ "binop": null, "updateContext": null }, - "start": 31293, - "end": 31294, + "start": 31808, + "end": 31809, "loc": { "start": { - "line": 808, + "line": 809, "column": 72 }, "end": { - "line": 808, + "line": 809, "column": 73 } } @@ -208585,15 +208905,15 @@ "binop": null }, "value": "positions", - "start": 31294, - "end": 31303, + "start": 31809, + "end": 31818, "loc": { "start": { - "line": 808, + "line": 809, "column": 73 }, "end": { - "line": 808, + "line": 809, "column": 82 } } @@ -208611,15 +208931,15 @@ "binop": null, "updateContext": null }, - "start": 31303, - "end": 31304, + "start": 31818, + "end": 31819, "loc": { "start": { - "line": 808, + "line": 809, "column": 82 }, "end": { - "line": 808, + "line": 809, "column": 83 } } @@ -208637,15 +208957,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 31305, - "end": 31319, + "start": 31820, + "end": 31834, "loc": { "start": { - "line": 808, + "line": 809, "column": 84 }, "end": { - "line": 808, + "line": 809, "column": 98 } } @@ -208663,15 +208983,15 @@ "binop": null, "updateContext": null }, - "start": 31319, - "end": 31320, + "start": 31834, + "end": 31835, "loc": { "start": { - "line": 808, + "line": 809, "column": 98 }, "end": { - "line": 808, + "line": 809, "column": 99 } } @@ -208689,15 +209009,15 @@ "binop": null }, "value": "indices", - "start": 31320, - "end": 31327, + "start": 31835, + "end": 31842, "loc": { "start": { - "line": 808, + "line": 809, "column": 99 }, "end": { - "line": 808, + "line": 809, "column": 106 } } @@ -208715,15 +209035,15 @@ "binop": null, "updateContext": null }, - "start": 31327, - "end": 31328, + "start": 31842, + "end": 31843, "loc": { "start": { - "line": 808, + "line": 809, "column": 106 }, "end": { - "line": 808, + "line": 809, "column": 107 } } @@ -208743,15 +209063,15 @@ "updateContext": null }, "value": "null", - "start": 31329, - "end": 31333, + "start": 31844, + "end": 31848, "loc": { "start": { - "line": 808, + "line": 809, "column": 108 }, "end": { - "line": 808, + "line": 809, "column": 112 } } @@ -208769,15 +209089,15 @@ "binop": null, "updateContext": null }, - "start": 31333, - "end": 31334, + "start": 31848, + "end": 31849, "loc": { "start": { - "line": 808, + "line": 809, "column": 112 }, "end": { - "line": 808, + "line": 809, "column": 113 } } @@ -208795,15 +209115,15 @@ "binop": null }, "value": "params", - "start": 31335, - "end": 31341, + "start": 31850, + "end": 31856, "loc": { "start": { - "line": 808, + "line": 809, "column": 114 }, "end": { - "line": 808, + "line": 809, "column": 120 } } @@ -208821,15 +209141,15 @@ "binop": null, "updateContext": null }, - "start": 31341, - "end": 31342, + "start": 31856, + "end": 31857, "loc": { "start": { - "line": 808, + "line": 809, "column": 120 }, "end": { - "line": 808, + "line": 809, "column": 121 } } @@ -208847,15 +209167,15 @@ "binop": null }, "value": "edgeThreshold", - "start": 31342, - "end": 31355, + "start": 31857, + "end": 31870, "loc": { "start": { - "line": 808, + "line": 809, "column": 121 }, "end": { - "line": 808, + "line": 809, "column": 134 } } @@ -208874,15 +209194,15 @@ "updateContext": null }, "value": "||", - "start": 31356, - "end": 31358, + "start": 31871, + "end": 31873, "loc": { "start": { - "line": 808, + "line": 809, "column": 135 }, "end": { - "line": 808, + "line": 809, "column": 137 } } @@ -208902,15 +209222,15 @@ "updateContext": null }, "value": "this", - "start": 31359, - "end": 31363, + "start": 31874, + "end": 31878, "loc": { "start": { - "line": 808, + "line": 809, "column": 138 }, "end": { - "line": 808, + "line": 809, "column": 142 } } @@ -208928,15 +209248,15 @@ "binop": null, "updateContext": null }, - "start": 31363, - "end": 31364, + "start": 31878, + "end": 31879, "loc": { "start": { - "line": 808, + "line": 809, "column": 142 }, "end": { - "line": 808, + "line": 809, "column": 143 } } @@ -208954,15 +209274,15 @@ "binop": null }, "value": "edgeThreshold", - "start": 31364, - "end": 31377, + "start": 31879, + "end": 31892, "loc": { "start": { - "line": 808, + "line": 809, "column": 143 }, "end": { - "line": 808, + "line": 809, "column": 156 } } @@ -208981,15 +209301,15 @@ "updateContext": null }, "value": "||", - "start": 31378, - "end": 31380, + "start": 31893, + "end": 31895, "loc": { "start": { - "line": 808, + "line": 809, "column": 157 }, "end": { - "line": 808, + "line": 809, "column": 159 } } @@ -209008,15 +209328,15 @@ "updateContext": null }, "value": 10, - "start": 31381, - "end": 31383, + "start": 31896, + "end": 31898, "loc": { "start": { - "line": 808, + "line": 809, "column": 160 }, "end": { - "line": 808, + "line": 809, "column": 162 } } @@ -209033,15 +209353,15 @@ "postfix": false, "binop": null }, - "start": 31383, - "end": 31384, + "start": 31898, + "end": 31899, "loc": { "start": { - "line": 808, + "line": 809, "column": 162 }, "end": { - "line": 808, + "line": 809, "column": 163 } } @@ -209059,15 +209379,15 @@ "binop": null, "updateContext": null }, - "start": 31384, - "end": 31385, + "start": 31899, + "end": 31900, "loc": { "start": { - "line": 808, + "line": 809, "column": 163 }, "end": { - "line": 808, + "line": 809, "column": 164 } } @@ -209084,15 +209404,15 @@ "postfix": false, "binop": null }, - "start": 31394, - "end": 31395, + "start": 31909, + "end": 31910, "loc": { "start": { - "line": 809, + "line": 810, "column": 8 }, "end": { - "line": 809, + "line": 810, "column": 9 } } @@ -209112,15 +209432,15 @@ "updateContext": null }, "value": "const", - "start": 31405, - "end": 31410, + "start": 31920, + "end": 31925, "loc": { "start": { - "line": 811, + "line": 812, "column": 8 }, "end": { - "line": 811, + "line": 812, "column": 13 } } @@ -209138,15 +209458,15 @@ "binop": null }, "value": "geometry", - "start": 31411, - "end": 31419, + "start": 31926, + "end": 31934, "loc": { "start": { - "line": 811, + "line": 812, "column": 14 }, "end": { - "line": 811, + "line": 812, "column": 22 } } @@ -209165,15 +209485,15 @@ "updateContext": null }, "value": "=", - "start": 31420, - "end": 31421, + "start": 31935, + "end": 31936, "loc": { "start": { - "line": 811, + "line": 812, "column": 23 }, "end": { - "line": 811, + "line": 812, "column": 24 } } @@ -209193,15 +209513,15 @@ "updateContext": null }, "value": "new", - "start": 31422, - "end": 31425, + "start": 31937, + "end": 31940, "loc": { "start": { - "line": 811, + "line": 812, "column": 25 }, "end": { - "line": 811, + "line": 812, "column": 28 } } @@ -209219,15 +209539,15 @@ "binop": null }, "value": "XKTGeometry", - "start": 31426, - "end": 31437, + "start": 31941, + "end": 31952, "loc": { "start": { - "line": 811, + "line": 812, "column": 29 }, "end": { - "line": 811, + "line": 812, "column": 40 } } @@ -209244,15 +209564,15 @@ "postfix": false, "binop": null }, - "start": 31437, - "end": 31438, + "start": 31952, + "end": 31953, "loc": { "start": { - "line": 811, + "line": 812, "column": 40 }, "end": { - "line": 811, + "line": 812, "column": 41 } } @@ -209270,15 +209590,15 @@ "binop": null }, "value": "xktGeometryCfg", - "start": 31438, - "end": 31452, + "start": 31953, + "end": 31967, "loc": { "start": { - "line": 811, + "line": 812, "column": 41 }, "end": { - "line": 811, + "line": 812, "column": 55 } } @@ -209295,15 +209615,15 @@ "postfix": false, "binop": null }, - "start": 31452, - "end": 31453, + "start": 31967, + "end": 31968, "loc": { "start": { - "line": 811, + "line": 812, "column": 55 }, "end": { - "line": 811, + "line": 812, "column": 56 } } @@ -209321,15 +209641,15 @@ "binop": null, "updateContext": null }, - "start": 31453, - "end": 31454, + "start": 31968, + "end": 31969, "loc": { "start": { - "line": 811, + "line": 812, "column": 56 }, "end": { - "line": 811, + "line": 812, "column": 57 } } @@ -209349,15 +209669,15 @@ "updateContext": null }, "value": "this", - "start": 31464, - "end": 31468, + "start": 31979, + "end": 31983, "loc": { "start": { - "line": 813, + "line": 814, "column": 8 }, "end": { - "line": 813, + "line": 814, "column": 12 } } @@ -209375,15 +209695,15 @@ "binop": null, "updateContext": null }, - "start": 31468, - "end": 31469, + "start": 31983, + "end": 31984, "loc": { "start": { - "line": 813, + "line": 814, "column": 12 }, "end": { - "line": 813, + "line": 814, "column": 13 } } @@ -209401,15 +209721,15 @@ "binop": null }, "value": "geometries", - "start": 31469, - "end": 31479, + "start": 31984, + "end": 31994, "loc": { "start": { - "line": 813, + "line": 814, "column": 13 }, "end": { - "line": 813, + "line": 814, "column": 23 } } @@ -209427,15 +209747,15 @@ "binop": null, "updateContext": null }, - "start": 31479, - "end": 31480, + "start": 31994, + "end": 31995, "loc": { "start": { - "line": 813, + "line": 814, "column": 23 }, "end": { - "line": 813, + "line": 814, "column": 24 } } @@ -209453,15 +209773,15 @@ "binop": null }, "value": "geometryId", - "start": 31480, - "end": 31490, + "start": 31995, + "end": 32005, "loc": { "start": { - "line": 813, + "line": 814, "column": 24 }, "end": { - "line": 813, + "line": 814, "column": 34 } } @@ -209479,15 +209799,15 @@ "binop": null, "updateContext": null }, - "start": 31490, - "end": 31491, + "start": 32005, + "end": 32006, "loc": { "start": { - "line": 813, + "line": 814, "column": 34 }, "end": { - "line": 813, + "line": 814, "column": 35 } } @@ -209506,15 +209826,15 @@ "updateContext": null }, "value": "=", - "start": 31492, - "end": 31493, + "start": 32007, + "end": 32008, "loc": { "start": { - "line": 813, + "line": 814, "column": 36 }, "end": { - "line": 813, + "line": 814, "column": 37 } } @@ -209532,15 +209852,15 @@ "binop": null }, "value": "geometry", - "start": 31494, - "end": 31502, + "start": 32009, + "end": 32017, "loc": { "start": { - "line": 813, + "line": 814, "column": 38 }, "end": { - "line": 813, + "line": 814, "column": 46 } } @@ -209558,15 +209878,15 @@ "binop": null, "updateContext": null }, - "start": 31502, - "end": 31503, + "start": 32017, + "end": 32018, "loc": { "start": { - "line": 813, + "line": 814, "column": 46 }, "end": { - "line": 813, + "line": 814, "column": 47 } } @@ -209586,15 +209906,15 @@ "updateContext": null }, "value": "this", - "start": 31512, - "end": 31516, + "start": 32027, + "end": 32031, "loc": { "start": { - "line": 814, + "line": 815, "column": 8 }, "end": { - "line": 814, + "line": 815, "column": 12 } } @@ -209612,15 +209932,15 @@ "binop": null, "updateContext": null }, - "start": 31516, - "end": 31517, + "start": 32031, + "end": 32032, "loc": { "start": { - "line": 814, + "line": 815, "column": 12 }, "end": { - "line": 814, + "line": 815, "column": 13 } } @@ -209638,15 +209958,15 @@ "binop": null }, "value": "geometriesList", - "start": 31517, - "end": 31531, + "start": 32032, + "end": 32046, "loc": { "start": { - "line": 814, + "line": 815, "column": 13 }, "end": { - "line": 814, + "line": 815, "column": 27 } } @@ -209664,15 +209984,15 @@ "binop": null, "updateContext": null }, - "start": 31531, - "end": 31532, + "start": 32046, + "end": 32047, "loc": { "start": { - "line": 814, + "line": 815, "column": 27 }, "end": { - "line": 814, + "line": 815, "column": 28 } } @@ -209690,15 +210010,15 @@ "binop": null }, "value": "push", - "start": 31532, - "end": 31536, + "start": 32047, + "end": 32051, "loc": { "start": { - "line": 814, + "line": 815, "column": 28 }, "end": { - "line": 814, + "line": 815, "column": 32 } } @@ -209715,15 +210035,15 @@ "postfix": false, "binop": null }, - "start": 31536, - "end": 31537, + "start": 32051, + "end": 32052, "loc": { "start": { - "line": 814, + "line": 815, "column": 32 }, "end": { - "line": 814, + "line": 815, "column": 33 } } @@ -209741,15 +210061,15 @@ "binop": null }, "value": "geometry", - "start": 31537, - "end": 31545, + "start": 32052, + "end": 32060, "loc": { "start": { - "line": 814, + "line": 815, "column": 33 }, "end": { - "line": 814, + "line": 815, "column": 41 } } @@ -209766,15 +210086,15 @@ "postfix": false, "binop": null }, - "start": 31545, - "end": 31546, + "start": 32060, + "end": 32061, "loc": { "start": { - "line": 814, + "line": 815, "column": 41 }, "end": { - "line": 814, + "line": 815, "column": 42 } } @@ -209792,15 +210112,15 @@ "binop": null, "updateContext": null }, - "start": 31546, - "end": 31547, + "start": 32061, + "end": 32062, "loc": { "start": { - "line": 814, + "line": 815, "column": 42 }, "end": { - "line": 814, + "line": 815, "column": 43 } } @@ -209820,15 +210140,15 @@ "updateContext": null }, "value": "return", - "start": 31557, - "end": 31563, + "start": 32072, + "end": 32078, "loc": { "start": { - "line": 816, + "line": 817, "column": 8 }, "end": { - "line": 816, + "line": 817, "column": 14 } } @@ -209846,15 +210166,15 @@ "binop": null }, "value": "geometry", - "start": 31564, - "end": 31572, + "start": 32079, + "end": 32087, "loc": { "start": { - "line": 816, + "line": 817, "column": 15 }, "end": { - "line": 816, + "line": 817, "column": 23 } } @@ -209872,15 +210192,15 @@ "binop": null, "updateContext": null }, - "start": 31572, - "end": 31573, + "start": 32087, + "end": 32088, "loc": { "start": { - "line": 816, + "line": 817, "column": 23 }, "end": { - "line": 816, + "line": 817, "column": 24 } } @@ -209897,15 +210217,15 @@ "postfix": false, "binop": null }, - "start": 31578, - "end": 31579, + "start": 32093, + "end": 32094, "loc": { "start": { - "line": 817, + "line": 818, "column": 4 }, "end": { - "line": 817, + "line": 818, "column": 5 } } @@ -209923,15 +210243,15 @@ "binop": null }, "value": "_createDefaultIndices", - "start": 31585, - "end": 31606, + "start": 32100, + "end": 32121, "loc": { "start": { - "line": 819, + "line": 820, "column": 4 }, "end": { - "line": 819, + "line": 820, "column": 25 } } @@ -209948,15 +210268,15 @@ "postfix": false, "binop": null }, - "start": 31606, - "end": 31607, + "start": 32121, + "end": 32122, "loc": { "start": { - "line": 819, + "line": 820, "column": 25 }, "end": { - "line": 819, + "line": 820, "column": 26 } } @@ -209974,15 +210294,15 @@ "binop": null }, "value": "numIndices", - "start": 31607, - "end": 31617, + "start": 32122, + "end": 32132, "loc": { "start": { - "line": 819, + "line": 820, "column": 26 }, "end": { - "line": 819, + "line": 820, "column": 36 } } @@ -209999,15 +210319,15 @@ "postfix": false, "binop": null }, - "start": 31617, - "end": 31618, + "start": 32132, + "end": 32133, "loc": { "start": { - "line": 819, + "line": 820, "column": 36 }, "end": { - "line": 819, + "line": 820, "column": 37 } } @@ -210024,15 +210344,15 @@ "postfix": false, "binop": null }, - "start": 31619, - "end": 31620, + "start": 32134, + "end": 32135, "loc": { "start": { - "line": 819, + "line": 820, "column": 38 }, "end": { - "line": 819, + "line": 820, "column": 39 } } @@ -210052,15 +210372,15 @@ "updateContext": null }, "value": "const", - "start": 31629, - "end": 31634, + "start": 32144, + "end": 32149, "loc": { "start": { - "line": 820, + "line": 821, "column": 8 }, "end": { - "line": 820, + "line": 821, "column": 13 } } @@ -210078,15 +210398,15 @@ "binop": null }, "value": "indices", - "start": 31635, - "end": 31642, + "start": 32150, + "end": 32157, "loc": { "start": { - "line": 820, + "line": 821, "column": 14 }, "end": { - "line": 820, + "line": 821, "column": 21 } } @@ -210105,15 +210425,15 @@ "updateContext": null }, "value": "=", - "start": 31643, - "end": 31644, + "start": 32158, + "end": 32159, "loc": { "start": { - "line": 820, + "line": 821, "column": 22 }, "end": { - "line": 820, + "line": 821, "column": 23 } } @@ -210131,15 +210451,15 @@ "binop": null, "updateContext": null }, - "start": 31645, - "end": 31646, + "start": 32160, + "end": 32161, "loc": { "start": { - "line": 820, + "line": 821, "column": 24 }, "end": { - "line": 820, + "line": 821, "column": 25 } } @@ -210157,15 +210477,15 @@ "binop": null, "updateContext": null }, - "start": 31646, - "end": 31647, + "start": 32161, + "end": 32162, "loc": { "start": { - "line": 820, + "line": 821, "column": 25 }, "end": { - "line": 820, + "line": 821, "column": 26 } } @@ -210183,15 +210503,15 @@ "binop": null, "updateContext": null }, - "start": 31647, - "end": 31648, + "start": 32162, + "end": 32163, "loc": { "start": { - "line": 820, + "line": 821, "column": 26 }, "end": { - "line": 820, + "line": 821, "column": 27 } } @@ -210211,15 +210531,15 @@ "updateContext": null }, "value": "for", - "start": 31657, - "end": 31660, + "start": 32172, + "end": 32175, "loc": { "start": { - "line": 821, + "line": 822, "column": 8 }, "end": { - "line": 821, + "line": 822, "column": 11 } } @@ -210236,15 +210556,15 @@ "postfix": false, "binop": null }, - "start": 31661, - "end": 31662, + "start": 32176, + "end": 32177, "loc": { "start": { - "line": 821, + "line": 822, "column": 12 }, "end": { - "line": 821, + "line": 822, "column": 13 } } @@ -210264,15 +210584,15 @@ "updateContext": null }, "value": "let", - "start": 31662, - "end": 31665, + "start": 32177, + "end": 32180, "loc": { "start": { - "line": 821, + "line": 822, "column": 13 }, "end": { - "line": 821, + "line": 822, "column": 16 } } @@ -210290,15 +210610,15 @@ "binop": null }, "value": "i", - "start": 31666, - "end": 31667, + "start": 32181, + "end": 32182, "loc": { "start": { - "line": 821, + "line": 822, "column": 17 }, "end": { - "line": 821, + "line": 822, "column": 18 } } @@ -210317,15 +210637,15 @@ "updateContext": null }, "value": "=", - "start": 31668, - "end": 31669, + "start": 32183, + "end": 32184, "loc": { "start": { - "line": 821, + "line": 822, "column": 19 }, "end": { - "line": 821, + "line": 822, "column": 20 } } @@ -210344,15 +210664,15 @@ "updateContext": null }, "value": 0, - "start": 31670, - "end": 31671, + "start": 32185, + "end": 32186, "loc": { "start": { - "line": 821, + "line": 822, "column": 21 }, "end": { - "line": 821, + "line": 822, "column": 22 } } @@ -210370,15 +210690,15 @@ "binop": null, "updateContext": null }, - "start": 31671, - "end": 31672, + "start": 32186, + "end": 32187, "loc": { "start": { - "line": 821, + "line": 822, "column": 22 }, "end": { - "line": 821, + "line": 822, "column": 23 } } @@ -210396,15 +210716,15 @@ "binop": null }, "value": "i", - "start": 31673, - "end": 31674, + "start": 32188, + "end": 32189, "loc": { "start": { - "line": 821, + "line": 822, "column": 24 }, "end": { - "line": 821, + "line": 822, "column": 25 } } @@ -210423,15 +210743,15 @@ "updateContext": null }, "value": "<", - "start": 31675, - "end": 31676, + "start": 32190, + "end": 32191, "loc": { "start": { - "line": 821, + "line": 822, "column": 26 }, "end": { - "line": 821, + "line": 822, "column": 27 } } @@ -210449,15 +210769,15 @@ "binop": null }, "value": "numIndices", - "start": 31677, - "end": 31687, + "start": 32192, + "end": 32202, "loc": { "start": { - "line": 821, + "line": 822, "column": 28 }, "end": { - "line": 821, + "line": 822, "column": 38 } } @@ -210475,15 +210795,15 @@ "binop": null, "updateContext": null }, - "start": 31687, - "end": 31688, + "start": 32202, + "end": 32203, "loc": { "start": { - "line": 821, + "line": 822, "column": 38 }, "end": { - "line": 821, + "line": 822, "column": 39 } } @@ -210501,15 +210821,15 @@ "binop": null }, "value": "i", - "start": 31689, - "end": 31690, + "start": 32204, + "end": 32205, "loc": { "start": { - "line": 821, + "line": 822, "column": 40 }, "end": { - "line": 821, + "line": 822, "column": 41 } } @@ -210527,15 +210847,15 @@ "binop": null }, "value": "++", - "start": 31690, - "end": 31692, + "start": 32205, + "end": 32207, "loc": { "start": { - "line": 821, + "line": 822, "column": 41 }, "end": { - "line": 821, + "line": 822, "column": 43 } } @@ -210552,15 +210872,15 @@ "postfix": false, "binop": null }, - "start": 31692, - "end": 31693, + "start": 32207, + "end": 32208, "loc": { "start": { - "line": 821, + "line": 822, "column": 43 }, "end": { - "line": 821, + "line": 822, "column": 44 } } @@ -210577,15 +210897,15 @@ "postfix": false, "binop": null }, - "start": 31694, - "end": 31695, + "start": 32209, + "end": 32210, "loc": { "start": { - "line": 821, + "line": 822, "column": 45 }, "end": { - "line": 821, + "line": 822, "column": 46 } } @@ -210603,15 +210923,15 @@ "binop": null }, "value": "indices", - "start": 31708, - "end": 31715, + "start": 32223, + "end": 32230, "loc": { "start": { - "line": 822, + "line": 823, "column": 12 }, "end": { - "line": 822, + "line": 823, "column": 19 } } @@ -210629,15 +210949,15 @@ "binop": null, "updateContext": null }, - "start": 31715, - "end": 31716, + "start": 32230, + "end": 32231, "loc": { "start": { - "line": 822, + "line": 823, "column": 19 }, "end": { - "line": 822, + "line": 823, "column": 20 } } @@ -210655,15 +210975,15 @@ "binop": null }, "value": "push", - "start": 31716, - "end": 31720, + "start": 32231, + "end": 32235, "loc": { "start": { - "line": 822, + "line": 823, "column": 20 }, "end": { - "line": 822, + "line": 823, "column": 24 } } @@ -210680,15 +211000,15 @@ "postfix": false, "binop": null }, - "start": 31720, - "end": 31721, + "start": 32235, + "end": 32236, "loc": { "start": { - "line": 822, + "line": 823, "column": 24 }, "end": { - "line": 822, + "line": 823, "column": 25 } } @@ -210706,15 +211026,15 @@ "binop": null }, "value": "i", - "start": 31721, - "end": 31722, + "start": 32236, + "end": 32237, "loc": { "start": { - "line": 822, + "line": 823, "column": 25 }, "end": { - "line": 822, + "line": 823, "column": 26 } } @@ -210731,15 +211051,15 @@ "postfix": false, "binop": null }, - "start": 31722, - "end": 31723, + "start": 32237, + "end": 32238, "loc": { "start": { - "line": 822, + "line": 823, "column": 26 }, "end": { - "line": 822, + "line": 823, "column": 27 } } @@ -210757,15 +211077,15 @@ "binop": null, "updateContext": null }, - "start": 31723, - "end": 31724, + "start": 32238, + "end": 32239, "loc": { "start": { - "line": 822, + "line": 823, "column": 27 }, "end": { - "line": 822, + "line": 823, "column": 28 } } @@ -210782,15 +211102,15 @@ "postfix": false, "binop": null }, - "start": 31733, - "end": 31734, + "start": 32248, + "end": 32249, "loc": { "start": { - "line": 823, + "line": 824, "column": 8 }, "end": { - "line": 823, + "line": 824, "column": 9 } } @@ -210810,15 +211130,15 @@ "updateContext": null }, "value": "return", - "start": 31743, - "end": 31749, + "start": 32258, + "end": 32264, "loc": { "start": { - "line": 824, + "line": 825, "column": 8 }, "end": { - "line": 824, + "line": 825, "column": 14 } } @@ -210836,15 +211156,15 @@ "binop": null }, "value": "indices", - "start": 31750, - "end": 31757, + "start": 32265, + "end": 32272, "loc": { "start": { - "line": 824, + "line": 825, "column": 15 }, "end": { - "line": 824, + "line": 825, "column": 22 } } @@ -210862,15 +211182,15 @@ "binop": null, "updateContext": null }, - "start": 31757, - "end": 31758, + "start": 32272, + "end": 32273, "loc": { "start": { - "line": 824, + "line": 825, "column": 22 }, "end": { - "line": 824, + "line": 825, "column": 23 } } @@ -210887,15 +211207,15 @@ "postfix": false, "binop": null }, - "start": 31763, - "end": 31764, + "start": 32278, + "end": 32279, "loc": { "start": { - "line": 825, + "line": 826, "column": 4 }, "end": { - "line": 825, + "line": 826, "column": 5 } } @@ -210903,15 +211223,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTMesh} within this XKTModel.\n *\n * An {@link XKTMesh} can be owned by one {@link XKTEntity}, which can own multiple {@link XKTMesh}es.\n *\n * Registers the new {@link XKTMesh} in {@link XKTModel#meshes} and {@link XKTModel#meshesList}.\n *\n * @param {*} params Method parameters.\n * @param {Number} params.meshId Unique ID for the {@link XKTMesh}.\n * @param {Number} params.geometryId ID of an existing {@link XKTGeometry} in {@link XKTModel#geometries}.\n * @param {Number} [params.textureSetId] Unique ID of an {@link XKTTextureSet} in {@link XKTModel#textureSets}.\n * @param {Float32Array} params.color RGB color for the {@link XKTMesh}, with each color component in range [0..1].\n * @param {Number} [params.metallic=0] How metallic the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully dielectric material, while ````1```` indicates fully metallic.\n * @param {Number} [params.roughness=1] How rough the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully smooth, while ````1```` indicates fully rough.\n * @param {Number} params.opacity Opacity factor for the {@link XKTMesh}, in range [0..1].\n * @param {Float64Array} [params.matrix] Modeling matrix for the {@link XKTMesh}. Overrides ````position````, ````scale```` and ````rotation```` parameters.\n * @param {Number[]} [params.position=[0,0,0]] Position of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.scale=[1,1,1]] Scale of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.rotation=[0,0,0]] Rotation of the {@link XKTMesh} as Euler angles given in degrees, for each of the X, Y and Z axis. Overridden by the ````matrix```` parameter.\n * @returns {XKTMesh} The new {@link XKTMesh}.\n ", - "start": 31770, - "end": 33656, + "start": 32285, + "end": 34171, "loc": { "start": { - "line": 827, + "line": 828, "column": 4 }, "end": { - "line": 847, + "line": 848, "column": 7 } } @@ -210929,15 +211249,15 @@ "binop": null }, "value": "createMesh", - "start": 33661, - "end": 33671, + "start": 34176, + "end": 34186, "loc": { "start": { - "line": 848, + "line": 849, "column": 4 }, "end": { - "line": 848, + "line": 849, "column": 14 } } @@ -210954,15 +211274,15 @@ "postfix": false, "binop": null }, - "start": 33671, - "end": 33672, + "start": 34186, + "end": 34187, "loc": { "start": { - "line": 848, + "line": 849, "column": 14 }, "end": { - "line": 848, + "line": 849, "column": 15 } } @@ -210980,15 +211300,15 @@ "binop": null }, "value": "params", - "start": 33672, - "end": 33678, + "start": 34187, + "end": 34193, "loc": { "start": { - "line": 848, + "line": 849, "column": 15 }, "end": { - "line": 848, + "line": 849, "column": 21 } } @@ -211005,15 +211325,15 @@ "postfix": false, "binop": null }, - "start": 33678, - "end": 33679, + "start": 34193, + "end": 34194, "loc": { "start": { - "line": 848, + "line": 849, "column": 21 }, "end": { - "line": 848, + "line": 849, "column": 22 } } @@ -211030,15 +211350,15 @@ "postfix": false, "binop": null }, - "start": 33680, - "end": 33681, + "start": 34195, + "end": 34196, "loc": { "start": { - "line": 848, + "line": 849, "column": 23 }, "end": { - "line": 848, + "line": 849, "column": 24 } } @@ -211058,15 +211378,15 @@ "updateContext": null }, "value": "if", - "start": 33691, - "end": 33693, + "start": 34206, + "end": 34208, "loc": { "start": { - "line": 850, + "line": 851, "column": 8 }, "end": { - "line": 850, + "line": 851, "column": 10 } } @@ -211083,15 +211403,15 @@ "postfix": false, "binop": null }, - "start": 33694, - "end": 33695, + "start": 34209, + "end": 34210, "loc": { "start": { - "line": 850, + "line": 851, "column": 11 }, "end": { - "line": 850, + "line": 851, "column": 12 } } @@ -211109,15 +211429,15 @@ "binop": null }, "value": "params", - "start": 33695, - "end": 33701, + "start": 34210, + "end": 34216, "loc": { "start": { - "line": 850, + "line": 851, "column": 12 }, "end": { - "line": 850, + "line": 851, "column": 18 } } @@ -211135,15 +211455,15 @@ "binop": null, "updateContext": null }, - "start": 33701, - "end": 33702, + "start": 34216, + "end": 34217, "loc": { "start": { - "line": 850, + "line": 851, "column": 18 }, "end": { - "line": 850, + "line": 851, "column": 19 } } @@ -211161,15 +211481,15 @@ "binop": null }, "value": "meshId", - "start": 33702, - "end": 33708, + "start": 34217, + "end": 34223, "loc": { "start": { - "line": 850, + "line": 851, "column": 19 }, "end": { - "line": 850, + "line": 851, "column": 25 } } @@ -211188,15 +211508,15 @@ "updateContext": null }, "value": "===", - "start": 33709, - "end": 33712, + "start": 34224, + "end": 34227, "loc": { "start": { - "line": 850, + "line": 851, "column": 26 }, "end": { - "line": 850, + "line": 851, "column": 29 } } @@ -211216,15 +211536,15 @@ "updateContext": null }, "value": "null", - "start": 33713, - "end": 33717, + "start": 34228, + "end": 34232, "loc": { "start": { - "line": 850, + "line": 851, "column": 30 }, "end": { - "line": 850, + "line": 851, "column": 34 } } @@ -211243,15 +211563,15 @@ "updateContext": null }, "value": "||", - "start": 33718, - "end": 33720, + "start": 34233, + "end": 34235, "loc": { "start": { - "line": 850, + "line": 851, "column": 35 }, "end": { - "line": 850, + "line": 851, "column": 37 } } @@ -211269,15 +211589,15 @@ "binop": null }, "value": "params", - "start": 33721, - "end": 33727, + "start": 34236, + "end": 34242, "loc": { "start": { - "line": 850, + "line": 851, "column": 38 }, "end": { - "line": 850, + "line": 851, "column": 44 } } @@ -211295,15 +211615,15 @@ "binop": null, "updateContext": null }, - "start": 33727, - "end": 33728, + "start": 34242, + "end": 34243, "loc": { "start": { - "line": 850, + "line": 851, "column": 44 }, "end": { - "line": 850, + "line": 851, "column": 45 } } @@ -211321,15 +211641,15 @@ "binop": null }, "value": "meshId", - "start": 33728, - "end": 33734, + "start": 34243, + "end": 34249, "loc": { "start": { - "line": 850, + "line": 851, "column": 45 }, "end": { - "line": 850, + "line": 851, "column": 51 } } @@ -211348,15 +211668,15 @@ "updateContext": null }, "value": "===", - "start": 33735, - "end": 33738, + "start": 34250, + "end": 34253, "loc": { "start": { - "line": 850, + "line": 851, "column": 52 }, "end": { - "line": 850, + "line": 851, "column": 55 } } @@ -211374,15 +211694,15 @@ "binop": null }, "value": "undefined", - "start": 33739, - "end": 33748, + "start": 34254, + "end": 34263, "loc": { "start": { - "line": 850, + "line": 851, "column": 56 }, "end": { - "line": 850, + "line": 851, "column": 65 } } @@ -211399,15 +211719,15 @@ "postfix": false, "binop": null }, - "start": 33748, - "end": 33749, + "start": 34263, + "end": 34264, "loc": { "start": { - "line": 850, + "line": 851, "column": 65 }, "end": { - "line": 850, + "line": 851, "column": 66 } } @@ -211424,15 +211744,15 @@ "postfix": false, "binop": null }, - "start": 33750, - "end": 33751, + "start": 34265, + "end": 34266, "loc": { "start": { - "line": 850, + "line": 851, "column": 67 }, "end": { - "line": 850, + "line": 851, "column": 68 } } @@ -211452,15 +211772,15 @@ "updateContext": null }, "value": "throw", - "start": 33764, - "end": 33769, + "start": 34279, + "end": 34284, "loc": { "start": { - "line": 851, + "line": 852, "column": 12 }, "end": { - "line": 851, + "line": 852, "column": 17 } } @@ -211478,17 +211798,17 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.meshId", - "start": 33770, - "end": 33805, + "value": "[XKTModel.createMesh] Parameter expected: params.meshId", + "start": 34285, + "end": 34342, "loc": { "start": { - "line": 851, + "line": 852, "column": 18 }, "end": { - "line": 851, - "column": 53 + "line": 852, + "column": 75 } } }, @@ -211505,16 +211825,16 @@ "binop": null, "updateContext": null }, - "start": 33805, - "end": 33806, + "start": 34342, + "end": 34343, "loc": { "start": { - "line": 851, - "column": 53 + "line": 852, + "column": 75 }, "end": { - "line": 851, - "column": 54 + "line": 852, + "column": 76 } } }, @@ -211530,15 +211850,15 @@ "postfix": false, "binop": null }, - "start": 33815, - "end": 33816, + "start": 34352, + "end": 34353, "loc": { "start": { - "line": 852, + "line": 853, "column": 8 }, "end": { - "line": 852, + "line": 853, "column": 9 } } @@ -211558,15 +211878,15 @@ "updateContext": null }, "value": "if", - "start": 33826, - "end": 33828, + "start": 34363, + "end": 34365, "loc": { "start": { - "line": 854, + "line": 855, "column": 8 }, "end": { - "line": 854, + "line": 855, "column": 10 } } @@ -211583,15 +211903,15 @@ "postfix": false, "binop": null }, - "start": 33829, - "end": 33830, + "start": 34366, + "end": 34367, "loc": { "start": { - "line": 854, + "line": 855, "column": 11 }, "end": { - "line": 854, + "line": 855, "column": 12 } } @@ -211609,15 +211929,15 @@ "binop": null }, "value": "params", - "start": 33830, - "end": 33836, + "start": 34367, + "end": 34373, "loc": { "start": { - "line": 854, + "line": 855, "column": 12 }, "end": { - "line": 854, + "line": 855, "column": 18 } } @@ -211635,15 +211955,15 @@ "binop": null, "updateContext": null }, - "start": 33836, - "end": 33837, + "start": 34373, + "end": 34374, "loc": { "start": { - "line": 854, + "line": 855, "column": 18 }, "end": { - "line": 854, + "line": 855, "column": 19 } } @@ -211661,15 +211981,15 @@ "binop": null }, "value": "geometryId", - "start": 33837, - "end": 33847, + "start": 34374, + "end": 34384, "loc": { "start": { - "line": 854, + "line": 855, "column": 19 }, "end": { - "line": 854, + "line": 855, "column": 29 } } @@ -211688,15 +212008,15 @@ "updateContext": null }, "value": "===", - "start": 33848, - "end": 33851, + "start": 34385, + "end": 34388, "loc": { "start": { - "line": 854, + "line": 855, "column": 30 }, "end": { - "line": 854, + "line": 855, "column": 33 } } @@ -211716,15 +212036,15 @@ "updateContext": null }, "value": "null", - "start": 33852, - "end": 33856, + "start": 34389, + "end": 34393, "loc": { "start": { - "line": 854, + "line": 855, "column": 34 }, "end": { - "line": 854, + "line": 855, "column": 38 } } @@ -211743,15 +212063,15 @@ "updateContext": null }, "value": "||", - "start": 33857, - "end": 33859, + "start": 34394, + "end": 34396, "loc": { "start": { - "line": 854, + "line": 855, "column": 39 }, "end": { - "line": 854, + "line": 855, "column": 41 } } @@ -211769,15 +212089,15 @@ "binop": null }, "value": "params", - "start": 33860, - "end": 33866, + "start": 34397, + "end": 34403, "loc": { "start": { - "line": 854, + "line": 855, "column": 42 }, "end": { - "line": 854, + "line": 855, "column": 48 } } @@ -211795,15 +212115,15 @@ "binop": null, "updateContext": null }, - "start": 33866, - "end": 33867, + "start": 34403, + "end": 34404, "loc": { "start": { - "line": 854, + "line": 855, "column": 48 }, "end": { - "line": 854, + "line": 855, "column": 49 } } @@ -211821,15 +212141,15 @@ "binop": null }, "value": "geometryId", - "start": 33867, - "end": 33877, + "start": 34404, + "end": 34414, "loc": { "start": { - "line": 854, + "line": 855, "column": 49 }, "end": { - "line": 854, + "line": 855, "column": 59 } } @@ -211848,15 +212168,15 @@ "updateContext": null }, "value": "===", - "start": 33878, - "end": 33881, + "start": 34415, + "end": 34418, "loc": { "start": { - "line": 854, + "line": 855, "column": 60 }, "end": { - "line": 854, + "line": 855, "column": 63 } } @@ -211874,15 +212194,15 @@ "binop": null }, "value": "undefined", - "start": 33882, - "end": 33891, + "start": 34419, + "end": 34428, "loc": { "start": { - "line": 854, + "line": 855, "column": 64 }, "end": { - "line": 854, + "line": 855, "column": 73 } } @@ -211899,15 +212219,15 @@ "postfix": false, "binop": null }, - "start": 33891, - "end": 33892, + "start": 34428, + "end": 34429, "loc": { "start": { - "line": 854, + "line": 855, "column": 73 }, "end": { - "line": 854, + "line": 855, "column": 74 } } @@ -211924,15 +212244,15 @@ "postfix": false, "binop": null }, - "start": 33893, - "end": 33894, + "start": 34430, + "end": 34431, "loc": { "start": { - "line": 854, + "line": 855, "column": 75 }, "end": { - "line": 854, + "line": 855, "column": 76 } } @@ -211952,15 +212272,15 @@ "updateContext": null }, "value": "throw", - "start": 33907, - "end": 33912, + "start": 34444, + "end": 34449, "loc": { "start": { - "line": 855, + "line": 856, "column": 12 }, "end": { - "line": 855, + "line": 856, "column": 17 } } @@ -211978,17 +212298,17 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.geometryId", - "start": 33913, - "end": 33952, + "value": "[XKTModel.createMesh] Parameter expected: params.geometryId", + "start": 34450, + "end": 34511, "loc": { "start": { - "line": 855, + "line": 856, "column": 18 }, "end": { - "line": 855, - "column": 57 + "line": 856, + "column": 79 } } }, @@ -212005,16 +212325,16 @@ "binop": null, "updateContext": null }, - "start": 33952, - "end": 33953, + "start": 34511, + "end": 34512, "loc": { "start": { - "line": 855, - "column": 57 + "line": 856, + "column": 79 }, "end": { - "line": 855, - "column": 58 + "line": 856, + "column": 80 } } }, @@ -212030,15 +212350,15 @@ "postfix": false, "binop": null }, - "start": 33962, - "end": 33963, + "start": 34521, + "end": 34522, "loc": { "start": { - "line": 856, + "line": 857, "column": 8 }, "end": { - "line": 856, + "line": 857, "column": 9 } } @@ -212058,15 +212378,15 @@ "updateContext": null }, "value": "if", - "start": 33973, - "end": 33975, + "start": 34532, + "end": 34534, "loc": { "start": { - "line": 858, + "line": 859, "column": 8 }, "end": { - "line": 858, + "line": 859, "column": 10 } } @@ -212083,15 +212403,15 @@ "postfix": false, "binop": null }, - "start": 33976, - "end": 33977, + "start": 34535, + "end": 34536, "loc": { "start": { - "line": 858, + "line": 859, "column": 11 }, "end": { - "line": 858, + "line": 859, "column": 12 } } @@ -212111,15 +212431,15 @@ "updateContext": null }, "value": "this", - "start": 33977, - "end": 33981, + "start": 34536, + "end": 34540, "loc": { "start": { - "line": 858, + "line": 859, "column": 12 }, "end": { - "line": 858, + "line": 859, "column": 16 } } @@ -212137,15 +212457,15 @@ "binop": null, "updateContext": null }, - "start": 33981, - "end": 33982, + "start": 34540, + "end": 34541, "loc": { "start": { - "line": 858, + "line": 859, "column": 16 }, "end": { - "line": 858, + "line": 859, "column": 17 } } @@ -212163,15 +212483,15 @@ "binop": null }, "value": "finalized", - "start": 33982, - "end": 33991, + "start": 34541, + "end": 34550, "loc": { "start": { - "line": 858, + "line": 859, "column": 17 }, "end": { - "line": 858, + "line": 859, "column": 26 } } @@ -212188,15 +212508,15 @@ "postfix": false, "binop": null }, - "start": 33991, - "end": 33992, + "start": 34550, + "end": 34551, "loc": { "start": { - "line": 858, + "line": 859, "column": 26 }, "end": { - "line": 858, + "line": 859, "column": 27 } } @@ -212213,15 +212533,15 @@ "postfix": false, "binop": null }, - "start": 33993, - "end": 33994, + "start": 34552, + "end": 34553, "loc": { "start": { - "line": 858, + "line": 859, "column": 28 }, "end": { - "line": 858, + "line": 859, "column": 29 } } @@ -212241,15 +212561,15 @@ "updateContext": null }, "value": "throw", - "start": 34007, - "end": 34012, + "start": 34566, + "end": 34571, "loc": { "start": { - "line": 859, + "line": 860, "column": 12 }, "end": { - "line": 859, + "line": 860, "column": 17 } } @@ -212267,17 +212587,17 @@ "binop": null, "updateContext": null }, - "value": "XKTModel has been finalized, can't add more meshes", - "start": 34013, - "end": 34065, + "value": "[XKTModel.createMesh] XKTModel has been finalized, can't add more meshes", + "start": 34572, + "end": 34646, "loc": { "start": { - "line": 859, + "line": 860, "column": 18 }, "end": { - "line": 859, - "column": 70 + "line": 860, + "column": 92 } } }, @@ -212294,16 +212614,16 @@ "binop": null, "updateContext": null }, - "start": 34065, - "end": 34066, + "start": 34646, + "end": 34647, "loc": { "start": { - "line": 859, - "column": 70 + "line": 860, + "column": 92 }, "end": { - "line": 859, - "column": 71 + "line": 860, + "column": 93 } } }, @@ -212319,15 +212639,15 @@ "postfix": false, "binop": null }, - "start": 34075, - "end": 34076, + "start": 34656, + "end": 34657, "loc": { "start": { - "line": 860, + "line": 861, "column": 8 }, "end": { - "line": 860, + "line": 861, "column": 9 } } @@ -212347,15 +212667,15 @@ "updateContext": null }, "value": "if", - "start": 34086, - "end": 34088, + "start": 34667, + "end": 34669, "loc": { "start": { - "line": 862, + "line": 863, "column": 8 }, "end": { - "line": 862, + "line": 863, "column": 10 } } @@ -212372,15 +212692,15 @@ "postfix": false, "binop": null }, - "start": 34089, - "end": 34090, + "start": 34670, + "end": 34671, "loc": { "start": { - "line": 862, + "line": 863, "column": 11 }, "end": { - "line": 862, + "line": 863, "column": 12 } } @@ -212400,15 +212720,15 @@ "updateContext": null }, "value": "this", - "start": 34090, - "end": 34094, + "start": 34671, + "end": 34675, "loc": { "start": { - "line": 862, + "line": 863, "column": 12 }, "end": { - "line": 862, + "line": 863, "column": 16 } } @@ -212426,15 +212746,15 @@ "binop": null, "updateContext": null }, - "start": 34094, - "end": 34095, + "start": 34675, + "end": 34676, "loc": { "start": { - "line": 862, + "line": 863, "column": 16 }, "end": { - "line": 862, + "line": 863, "column": 17 } } @@ -212452,15 +212772,15 @@ "binop": null }, "value": "meshes", - "start": 34095, - "end": 34101, + "start": 34676, + "end": 34682, "loc": { "start": { - "line": 862, + "line": 863, "column": 17 }, "end": { - "line": 862, + "line": 863, "column": 23 } } @@ -212478,15 +212798,15 @@ "binop": null, "updateContext": null }, - "start": 34101, - "end": 34102, + "start": 34682, + "end": 34683, "loc": { "start": { - "line": 862, + "line": 863, "column": 23 }, "end": { - "line": 862, + "line": 863, "column": 24 } } @@ -212504,15 +212824,15 @@ "binop": null }, "value": "params", - "start": 34102, - "end": 34108, + "start": 34683, + "end": 34689, "loc": { "start": { - "line": 862, + "line": 863, "column": 24 }, "end": { - "line": 862, + "line": 863, "column": 30 } } @@ -212530,15 +212850,15 @@ "binop": null, "updateContext": null }, - "start": 34108, - "end": 34109, + "start": 34689, + "end": 34690, "loc": { "start": { - "line": 862, + "line": 863, "column": 30 }, "end": { - "line": 862, + "line": 863, "column": 31 } } @@ -212556,15 +212876,15 @@ "binop": null }, "value": "meshId", - "start": 34109, - "end": 34115, + "start": 34690, + "end": 34696, "loc": { "start": { - "line": 862, + "line": 863, "column": 31 }, "end": { - "line": 862, + "line": 863, "column": 37 } } @@ -212582,15 +212902,15 @@ "binop": null, "updateContext": null }, - "start": 34115, - "end": 34116, + "start": 34696, + "end": 34697, "loc": { "start": { - "line": 862, + "line": 863, "column": 37 }, "end": { - "line": 862, + "line": 863, "column": 38 } } @@ -212607,15 +212927,15 @@ "postfix": false, "binop": null }, - "start": 34116, - "end": 34117, + "start": 34697, + "end": 34698, "loc": { "start": { - "line": 862, + "line": 863, "column": 38 }, "end": { - "line": 862, + "line": 863, "column": 39 } } @@ -212632,15 +212952,15 @@ "postfix": false, "binop": null }, - "start": 34118, - "end": 34119, + "start": 34699, + "end": 34700, "loc": { "start": { - "line": 862, + "line": 863, "column": 40 }, "end": { - "line": 862, + "line": 863, "column": 41 } } @@ -212658,15 +212978,15 @@ "binop": null }, "value": "console", - "start": 34132, - "end": 34139, + "start": 34713, + "end": 34720, "loc": { "start": { - "line": 863, + "line": 864, "column": 12 }, "end": { - "line": 863, + "line": 864, "column": 19 } } @@ -212684,15 +213004,15 @@ "binop": null, "updateContext": null }, - "start": 34139, - "end": 34140, + "start": 34720, + "end": 34721, "loc": { "start": { - "line": 863, + "line": 864, "column": 19 }, "end": { - "line": 863, + "line": 864, "column": 20 } } @@ -212710,15 +213030,15 @@ "binop": null }, "value": "error", - "start": 34140, - "end": 34145, + "start": 34721, + "end": 34726, "loc": { "start": { - "line": 863, + "line": 864, "column": 20 }, "end": { - "line": 863, + "line": 864, "column": 25 } } @@ -212735,15 +213055,15 @@ "postfix": false, "binop": null }, - "start": 34145, - "end": 34146, + "start": 34726, + "end": 34727, "loc": { "start": { - "line": 863, + "line": 864, "column": 25 }, "end": { - "line": 863, + "line": 864, "column": 26 } } @@ -212762,15 +213082,15 @@ "updateContext": null }, "value": "XKTMesh already exists with this ID: ", - "start": 34146, - "end": 34185, + "start": 34727, + "end": 34766, "loc": { "start": { - "line": 863, + "line": 864, "column": 26 }, "end": { - "line": 863, + "line": 864, "column": 65 } } @@ -212789,15 +213109,15 @@ "updateContext": null }, "value": "+", - "start": 34186, - "end": 34187, + "start": 34767, + "end": 34768, "loc": { "start": { - "line": 863, + "line": 864, "column": 66 }, "end": { - "line": 863, + "line": 864, "column": 67 } } @@ -212815,15 +213135,15 @@ "binop": null }, "value": "params", - "start": 34188, - "end": 34194, + "start": 34769, + "end": 34775, "loc": { "start": { - "line": 863, + "line": 864, "column": 68 }, "end": { - "line": 863, + "line": 864, "column": 74 } } @@ -212841,15 +213161,15 @@ "binop": null, "updateContext": null }, - "start": 34194, - "end": 34195, + "start": 34775, + "end": 34776, "loc": { "start": { - "line": 863, + "line": 864, "column": 74 }, "end": { - "line": 863, + "line": 864, "column": 75 } } @@ -212867,15 +213187,15 @@ "binop": null }, "value": "meshId", - "start": 34195, - "end": 34201, + "start": 34776, + "end": 34782, "loc": { "start": { - "line": 863, + "line": 864, "column": 75 }, "end": { - "line": 863, + "line": 864, "column": 81 } } @@ -212892,15 +213212,15 @@ "postfix": false, "binop": null }, - "start": 34201, - "end": 34202, + "start": 34782, + "end": 34783, "loc": { "start": { - "line": 863, + "line": 864, "column": 81 }, "end": { - "line": 863, + "line": 864, "column": 82 } } @@ -212918,15 +213238,15 @@ "binop": null, "updateContext": null }, - "start": 34202, - "end": 34203, + "start": 34783, + "end": 34784, "loc": { "start": { - "line": 863, + "line": 864, "column": 82 }, "end": { - "line": 863, + "line": 864, "column": 83 } } @@ -212946,15 +213266,15 @@ "updateContext": null }, "value": "return", - "start": 34216, - "end": 34222, + "start": 34797, + "end": 34803, "loc": { "start": { - "line": 864, + "line": 865, "column": 12 }, "end": { - "line": 864, + "line": 865, "column": 18 } } @@ -212972,15 +213292,15 @@ "binop": null, "updateContext": null }, - "start": 34222, - "end": 34223, + "start": 34803, + "end": 34804, "loc": { "start": { - "line": 864, + "line": 865, "column": 18 }, "end": { - "line": 864, + "line": 865, "column": 19 } } @@ -212997,15 +213317,15 @@ "postfix": false, "binop": null }, - "start": 34232, - "end": 34233, + "start": 34813, + "end": 34814, "loc": { "start": { - "line": 865, + "line": 866, "column": 8 }, "end": { - "line": 865, + "line": 866, "column": 9 } } @@ -213025,15 +213345,15 @@ "updateContext": null }, "value": "const", - "start": 34243, - "end": 34248, + "start": 34824, + "end": 34829, "loc": { "start": { - "line": 867, + "line": 868, "column": 8 }, "end": { - "line": 867, + "line": 868, "column": 13 } } @@ -213051,15 +213371,15 @@ "binop": null }, "value": "geometry", - "start": 34249, - "end": 34257, + "start": 34830, + "end": 34838, "loc": { "start": { - "line": 867, + "line": 868, "column": 14 }, "end": { - "line": 867, + "line": 868, "column": 22 } } @@ -213078,15 +213398,15 @@ "updateContext": null }, "value": "=", - "start": 34258, - "end": 34259, + "start": 34839, + "end": 34840, "loc": { "start": { - "line": 867, + "line": 868, "column": 23 }, "end": { - "line": 867, + "line": 868, "column": 24 } } @@ -213106,15 +213426,15 @@ "updateContext": null }, "value": "this", - "start": 34260, - "end": 34264, + "start": 34841, + "end": 34845, "loc": { "start": { - "line": 867, + "line": 868, "column": 25 }, "end": { - "line": 867, + "line": 868, "column": 29 } } @@ -213132,15 +213452,15 @@ "binop": null, "updateContext": null }, - "start": 34264, - "end": 34265, + "start": 34845, + "end": 34846, "loc": { "start": { - "line": 867, + "line": 868, "column": 29 }, "end": { - "line": 867, + "line": 868, "column": 30 } } @@ -213158,15 +213478,15 @@ "binop": null }, "value": "geometries", - "start": 34265, - "end": 34275, + "start": 34846, + "end": 34856, "loc": { "start": { - "line": 867, + "line": 868, "column": 30 }, "end": { - "line": 867, + "line": 868, "column": 40 } } @@ -213184,15 +213504,15 @@ "binop": null, "updateContext": null }, - "start": 34275, - "end": 34276, + "start": 34856, + "end": 34857, "loc": { "start": { - "line": 867, + "line": 868, "column": 40 }, "end": { - "line": 867, + "line": 868, "column": 41 } } @@ -213210,15 +213530,15 @@ "binop": null }, "value": "params", - "start": 34276, - "end": 34282, + "start": 34857, + "end": 34863, "loc": { "start": { - "line": 867, + "line": 868, "column": 41 }, "end": { - "line": 867, + "line": 868, "column": 47 } } @@ -213236,15 +213556,15 @@ "binop": null, "updateContext": null }, - "start": 34282, - "end": 34283, + "start": 34863, + "end": 34864, "loc": { "start": { - "line": 867, + "line": 868, "column": 47 }, "end": { - "line": 867, + "line": 868, "column": 48 } } @@ -213262,15 +213582,15 @@ "binop": null }, "value": "geometryId", - "start": 34283, - "end": 34293, + "start": 34864, + "end": 34874, "loc": { "start": { - "line": 867, + "line": 868, "column": 48 }, "end": { - "line": 867, + "line": 868, "column": 58 } } @@ -213288,15 +213608,15 @@ "binop": null, "updateContext": null }, - "start": 34293, - "end": 34294, + "start": 34874, + "end": 34875, "loc": { "start": { - "line": 867, + "line": 868, "column": 58 }, "end": { - "line": 867, + "line": 868, "column": 59 } } @@ -213314,15 +213634,15 @@ "binop": null, "updateContext": null }, - "start": 34294, - "end": 34295, + "start": 34875, + "end": 34876, "loc": { "start": { - "line": 867, + "line": 868, "column": 59 }, "end": { - "line": 867, + "line": 868, "column": 60 } } @@ -213342,15 +213662,15 @@ "updateContext": null }, "value": "if", - "start": 34305, - "end": 34307, + "start": 34886, + "end": 34888, "loc": { "start": { - "line": 869, + "line": 870, "column": 8 }, "end": { - "line": 869, + "line": 870, "column": 10 } } @@ -213367,15 +213687,15 @@ "postfix": false, "binop": null }, - "start": 34308, - "end": 34309, + "start": 34889, + "end": 34890, "loc": { "start": { - "line": 869, + "line": 870, "column": 11 }, "end": { - "line": 869, + "line": 870, "column": 12 } } @@ -213394,15 +213714,15 @@ "updateContext": null }, "value": "!", - "start": 34309, - "end": 34310, + "start": 34890, + "end": 34891, "loc": { "start": { - "line": 869, + "line": 870, "column": 12 }, "end": { - "line": 869, + "line": 870, "column": 13 } } @@ -213420,15 +213740,15 @@ "binop": null }, "value": "geometry", - "start": 34310, - "end": 34318, + "start": 34891, + "end": 34899, "loc": { "start": { - "line": 869, + "line": 870, "column": 13 }, "end": { - "line": 869, + "line": 870, "column": 21 } } @@ -213445,15 +213765,15 @@ "postfix": false, "binop": null }, - "start": 34318, - "end": 34319, + "start": 34899, + "end": 34900, "loc": { "start": { - "line": 869, + "line": 870, "column": 21 }, "end": { - "line": 869, + "line": 870, "column": 22 } } @@ -213470,15 +213790,15 @@ "postfix": false, "binop": null }, - "start": 34320, - "end": 34321, + "start": 34901, + "end": 34902, "loc": { "start": { - "line": 869, + "line": 870, "column": 23 }, "end": { - "line": 869, + "line": 870, "column": 24 } } @@ -213496,15 +213816,15 @@ "binop": null }, "value": "console", - "start": 34334, - "end": 34341, + "start": 34915, + "end": 34922, "loc": { "start": { - "line": 870, + "line": 871, "column": 12 }, "end": { - "line": 870, + "line": 871, "column": 19 } } @@ -213522,15 +213842,15 @@ "binop": null, "updateContext": null }, - "start": 34341, - "end": 34342, + "start": 34922, + "end": 34923, "loc": { "start": { - "line": 870, + "line": 871, "column": 19 }, "end": { - "line": 870, + "line": 871, "column": 20 } } @@ -213548,15 +213868,15 @@ "binop": null }, "value": "error", - "start": 34342, - "end": 34347, + "start": 34923, + "end": 34928, "loc": { "start": { - "line": 870, + "line": 871, "column": 20 }, "end": { - "line": 870, + "line": 871, "column": 25 } } @@ -213573,15 +213893,15 @@ "postfix": false, "binop": null }, - "start": 34347, - "end": 34348, + "start": 34928, + "end": 34929, "loc": { "start": { - "line": 870, + "line": 871, "column": 25 }, "end": { - "line": 870, + "line": 871, "column": 26 } } @@ -213600,15 +213920,15 @@ "updateContext": null }, "value": "XKTGeometry not found: ", - "start": 34348, - "end": 34373, + "start": 34929, + "end": 34954, "loc": { "start": { - "line": 870, + "line": 871, "column": 26 }, "end": { - "line": 870, + "line": 871, "column": 51 } } @@ -213627,15 +213947,15 @@ "updateContext": null }, "value": "+", - "start": 34374, - "end": 34375, + "start": 34955, + "end": 34956, "loc": { "start": { - "line": 870, + "line": 871, "column": 52 }, "end": { - "line": 870, + "line": 871, "column": 53 } } @@ -213653,15 +213973,15 @@ "binop": null }, "value": "params", - "start": 34376, - "end": 34382, + "start": 34957, + "end": 34963, "loc": { "start": { - "line": 870, + "line": 871, "column": 54 }, "end": { - "line": 870, + "line": 871, "column": 60 } } @@ -213679,15 +213999,15 @@ "binop": null, "updateContext": null }, - "start": 34382, - "end": 34383, + "start": 34963, + "end": 34964, "loc": { "start": { - "line": 870, + "line": 871, "column": 60 }, "end": { - "line": 870, + "line": 871, "column": 61 } } @@ -213705,15 +214025,15 @@ "binop": null }, "value": "geometryId", - "start": 34383, - "end": 34393, + "start": 34964, + "end": 34974, "loc": { "start": { - "line": 870, + "line": 871, "column": 61 }, "end": { - "line": 870, + "line": 871, "column": 71 } } @@ -213730,15 +214050,15 @@ "postfix": false, "binop": null }, - "start": 34393, - "end": 34394, + "start": 34974, + "end": 34975, "loc": { "start": { - "line": 870, + "line": 871, "column": 71 }, "end": { - "line": 870, + "line": 871, "column": 72 } } @@ -213756,15 +214076,15 @@ "binop": null, "updateContext": null }, - "start": 34394, - "end": 34395, + "start": 34975, + "end": 34976, "loc": { "start": { - "line": 870, + "line": 871, "column": 72 }, "end": { - "line": 870, + "line": 871, "column": 73 } } @@ -213784,15 +214104,15 @@ "updateContext": null }, "value": "return", - "start": 34408, - "end": 34414, + "start": 34989, + "end": 34995, "loc": { "start": { - "line": 871, + "line": 872, "column": 12 }, "end": { - "line": 871, + "line": 872, "column": 18 } } @@ -213810,15 +214130,15 @@ "binop": null, "updateContext": null }, - "start": 34414, - "end": 34415, + "start": 34995, + "end": 34996, "loc": { "start": { - "line": 871, + "line": 872, "column": 18 }, "end": { - "line": 871, + "line": 872, "column": 19 } } @@ -213835,15 +214155,15 @@ "postfix": false, "binop": null }, - "start": 34424, - "end": 34425, + "start": 35005, + "end": 35006, "loc": { "start": { - "line": 872, + "line": 873, "column": 8 }, "end": { - "line": 872, + "line": 873, "column": 9 } } @@ -213861,15 +214181,15 @@ "binop": null }, "value": "geometry", - "start": 34435, - "end": 34443, + "start": 35016, + "end": 35024, "loc": { "start": { - "line": 874, + "line": 875, "column": 8 }, "end": { - "line": 874, + "line": 875, "column": 16 } } @@ -213887,15 +214207,15 @@ "binop": null, "updateContext": null }, - "start": 34443, - "end": 34444, + "start": 35024, + "end": 35025, "loc": { "start": { - "line": 874, + "line": 875, "column": 16 }, "end": { - "line": 874, + "line": 875, "column": 17 } } @@ -213913,15 +214233,15 @@ "binop": null }, "value": "numInstances", - "start": 34444, - "end": 34456, + "start": 35025, + "end": 35037, "loc": { "start": { - "line": 874, + "line": 875, "column": 17 }, "end": { - "line": 874, + "line": 875, "column": 29 } } @@ -213939,15 +214259,15 @@ "binop": null }, "value": "++", - "start": 34456, - "end": 34458, + "start": 35037, + "end": 35039, "loc": { "start": { - "line": 874, + "line": 875, "column": 29 }, "end": { - "line": 874, + "line": 875, "column": 31 } } @@ -213965,15 +214285,15 @@ "binop": null, "updateContext": null }, - "start": 34458, - "end": 34459, + "start": 35039, + "end": 35040, "loc": { "start": { - "line": 874, + "line": 875, "column": 31 }, "end": { - "line": 874, + "line": 875, "column": 32 } } @@ -213993,15 +214313,15 @@ "updateContext": null }, "value": "let", - "start": 34469, - "end": 34472, + "start": 35050, + "end": 35053, "loc": { "start": { - "line": 876, + "line": 877, "column": 8 }, "end": { - "line": 876, + "line": 877, "column": 11 } } @@ -214019,15 +214339,15 @@ "binop": null }, "value": "textureSet", - "start": 34473, - "end": 34483, + "start": 35054, + "end": 35064, "loc": { "start": { - "line": 876, + "line": 877, "column": 12 }, "end": { - "line": 876, + "line": 877, "column": 22 } } @@ -214046,15 +214366,15 @@ "updateContext": null }, "value": "=", - "start": 34484, - "end": 34485, + "start": 35065, + "end": 35066, "loc": { "start": { - "line": 876, + "line": 877, "column": 23 }, "end": { - "line": 876, + "line": 877, "column": 24 } } @@ -214074,15 +214394,15 @@ "updateContext": null }, "value": "null", - "start": 34486, - "end": 34490, + "start": 35067, + "end": 35071, "loc": { "start": { - "line": 876, + "line": 877, "column": 25 }, "end": { - "line": 876, + "line": 877, "column": 29 } } @@ -214100,15 +214420,15 @@ "binop": null, "updateContext": null }, - "start": 34490, - "end": 34491, + "start": 35071, + "end": 35072, "loc": { "start": { - "line": 876, + "line": 877, "column": 29 }, "end": { - "line": 876, + "line": 877, "column": 30 } } @@ -214128,15 +214448,15 @@ "updateContext": null }, "value": "if", - "start": 34500, - "end": 34502, + "start": 35081, + "end": 35083, "loc": { "start": { - "line": 877, + "line": 878, "column": 8 }, "end": { - "line": 877, + "line": 878, "column": 10 } } @@ -214153,15 +214473,15 @@ "postfix": false, "binop": null }, - "start": 34503, - "end": 34504, + "start": 35084, + "end": 35085, "loc": { "start": { - "line": 877, + "line": 878, "column": 11 }, "end": { - "line": 877, + "line": 878, "column": 12 } } @@ -214179,15 +214499,15 @@ "binop": null }, "value": "params", - "start": 34504, - "end": 34510, + "start": 35085, + "end": 35091, "loc": { "start": { - "line": 877, + "line": 878, "column": 12 }, "end": { - "line": 877, + "line": 878, "column": 18 } } @@ -214205,15 +214525,15 @@ "binop": null, "updateContext": null }, - "start": 34510, - "end": 34511, + "start": 35091, + "end": 35092, "loc": { "start": { - "line": 877, + "line": 878, "column": 18 }, "end": { - "line": 877, + "line": 878, "column": 19 } } @@ -214231,15 +214551,15 @@ "binop": null }, "value": "textureSetId", - "start": 34511, - "end": 34523, + "start": 35092, + "end": 35104, "loc": { "start": { - "line": 877, + "line": 878, "column": 19 }, "end": { - "line": 877, + "line": 878, "column": 31 } } @@ -214256,15 +214576,15 @@ "postfix": false, "binop": null }, - "start": 34523, - "end": 34524, + "start": 35104, + "end": 35105, "loc": { "start": { - "line": 877, + "line": 878, "column": 31 }, "end": { - "line": 877, + "line": 878, "column": 32 } } @@ -214281,15 +214601,15 @@ "postfix": false, "binop": null }, - "start": 34525, - "end": 34526, + "start": 35106, + "end": 35107, "loc": { "start": { - "line": 877, + "line": 878, "column": 33 }, "end": { - "line": 877, + "line": 878, "column": 34 } } @@ -214307,15 +214627,15 @@ "binop": null }, "value": "textureSet", - "start": 34539, - "end": 34549, + "start": 35120, + "end": 35130, "loc": { "start": { - "line": 878, + "line": 879, "column": 12 }, "end": { - "line": 878, + "line": 879, "column": 22 } } @@ -214334,15 +214654,15 @@ "updateContext": null }, "value": "=", - "start": 34550, - "end": 34551, + "start": 35131, + "end": 35132, "loc": { "start": { - "line": 878, + "line": 879, "column": 23 }, "end": { - "line": 878, + "line": 879, "column": 24 } } @@ -214362,15 +214682,15 @@ "updateContext": null }, "value": "this", - "start": 34552, - "end": 34556, + "start": 35133, + "end": 35137, "loc": { "start": { - "line": 878, + "line": 879, "column": 25 }, "end": { - "line": 878, + "line": 879, "column": 29 } } @@ -214388,15 +214708,15 @@ "binop": null, "updateContext": null }, - "start": 34556, - "end": 34557, + "start": 35137, + "end": 35138, "loc": { "start": { - "line": 878, + "line": 879, "column": 29 }, "end": { - "line": 878, + "line": 879, "column": 30 } } @@ -214414,15 +214734,15 @@ "binop": null }, "value": "textureSets", - "start": 34557, - "end": 34568, + "start": 35138, + "end": 35149, "loc": { "start": { - "line": 878, + "line": 879, "column": 30 }, "end": { - "line": 878, + "line": 879, "column": 41 } } @@ -214440,15 +214760,15 @@ "binop": null, "updateContext": null }, - "start": 34568, - "end": 34569, + "start": 35149, + "end": 35150, "loc": { "start": { - "line": 878, + "line": 879, "column": 41 }, "end": { - "line": 878, + "line": 879, "column": 42 } } @@ -214466,15 +214786,15 @@ "binop": null }, "value": "params", - "start": 34569, - "end": 34575, + "start": 35150, + "end": 35156, "loc": { "start": { - "line": 878, + "line": 879, "column": 42 }, "end": { - "line": 878, + "line": 879, "column": 48 } } @@ -214492,15 +214812,15 @@ "binop": null, "updateContext": null }, - "start": 34575, - "end": 34576, + "start": 35156, + "end": 35157, "loc": { "start": { - "line": 878, + "line": 879, "column": 48 }, "end": { - "line": 878, + "line": 879, "column": 49 } } @@ -214518,15 +214838,15 @@ "binop": null }, "value": "textureSetId", - "start": 34576, - "end": 34588, + "start": 35157, + "end": 35169, "loc": { "start": { - "line": 878, + "line": 879, "column": 49 }, "end": { - "line": 878, + "line": 879, "column": 61 } } @@ -214544,15 +214864,15 @@ "binop": null, "updateContext": null }, - "start": 34588, - "end": 34589, + "start": 35169, + "end": 35170, "loc": { "start": { - "line": 878, + "line": 879, "column": 61 }, "end": { - "line": 878, + "line": 879, "column": 62 } } @@ -214570,15 +214890,15 @@ "binop": null, "updateContext": null }, - "start": 34589, - "end": 34590, + "start": 35170, + "end": 35171, "loc": { "start": { - "line": 878, + "line": 879, "column": 62 }, "end": { - "line": 878, + "line": 879, "column": 63 } } @@ -214598,15 +214918,15 @@ "updateContext": null }, "value": "if", - "start": 34603, - "end": 34605, + "start": 35184, + "end": 35186, "loc": { "start": { - "line": 879, + "line": 880, "column": 12 }, "end": { - "line": 879, + "line": 880, "column": 14 } } @@ -214623,15 +214943,15 @@ "postfix": false, "binop": null }, - "start": 34606, - "end": 34607, + "start": 35187, + "end": 35188, "loc": { "start": { - "line": 879, + "line": 880, "column": 15 }, "end": { - "line": 879, + "line": 880, "column": 16 } } @@ -214650,15 +214970,15 @@ "updateContext": null }, "value": "!", - "start": 34607, - "end": 34608, + "start": 35188, + "end": 35189, "loc": { "start": { - "line": 879, + "line": 880, "column": 16 }, "end": { - "line": 879, + "line": 880, "column": 17 } } @@ -214676,15 +214996,15 @@ "binop": null }, "value": "textureSet", - "start": 34608, - "end": 34618, + "start": 35189, + "end": 35199, "loc": { "start": { - "line": 879, + "line": 880, "column": 17 }, "end": { - "line": 879, + "line": 880, "column": 27 } } @@ -214701,15 +215021,15 @@ "postfix": false, "binop": null }, - "start": 34618, - "end": 34619, + "start": 35199, + "end": 35200, "loc": { "start": { - "line": 879, + "line": 880, "column": 27 }, "end": { - "line": 879, + "line": 880, "column": 28 } } @@ -214726,15 +215046,15 @@ "postfix": false, "binop": null }, - "start": 34620, - "end": 34621, + "start": 35201, + "end": 35202, "loc": { "start": { - "line": 879, + "line": 880, "column": 29 }, "end": { - "line": 879, + "line": 880, "column": 30 } } @@ -214752,15 +215072,15 @@ "binop": null }, "value": "console", - "start": 34638, - "end": 34645, + "start": 35219, + "end": 35226, "loc": { "start": { - "line": 880, + "line": 881, "column": 16 }, "end": { - "line": 880, + "line": 881, "column": 23 } } @@ -214778,15 +215098,15 @@ "binop": null, "updateContext": null }, - "start": 34645, - "end": 34646, + "start": 35226, + "end": 35227, "loc": { "start": { - "line": 880, + "line": 881, "column": 23 }, "end": { - "line": 880, + "line": 881, "column": 24 } } @@ -214804,15 +215124,15 @@ "binop": null }, "value": "error", - "start": 34646, - "end": 34651, + "start": 35227, + "end": 35232, "loc": { "start": { - "line": 880, + "line": 881, "column": 24 }, "end": { - "line": 880, + "line": 881, "column": 29 } } @@ -214829,15 +215149,15 @@ "postfix": false, "binop": null }, - "start": 34651, - "end": 34652, + "start": 35232, + "end": 35233, "loc": { "start": { - "line": 880, + "line": 881, "column": 29 }, "end": { - "line": 880, + "line": 881, "column": 30 } } @@ -214856,15 +215176,15 @@ "updateContext": null }, "value": "XKTTextureSet not found: ", - "start": 34652, - "end": 34679, + "start": 35233, + "end": 35260, "loc": { "start": { - "line": 880, + "line": 881, "column": 30 }, "end": { - "line": 880, + "line": 881, "column": 57 } } @@ -214883,15 +215203,15 @@ "updateContext": null }, "value": "+", - "start": 34680, - "end": 34681, + "start": 35261, + "end": 35262, "loc": { "start": { - "line": 880, + "line": 881, "column": 58 }, "end": { - "line": 880, + "line": 881, "column": 59 } } @@ -214909,15 +215229,15 @@ "binop": null }, "value": "params", - "start": 34682, - "end": 34688, + "start": 35263, + "end": 35269, "loc": { "start": { - "line": 880, + "line": 881, "column": 60 }, "end": { - "line": 880, + "line": 881, "column": 66 } } @@ -214935,15 +215255,15 @@ "binop": null, "updateContext": null }, - "start": 34688, - "end": 34689, + "start": 35269, + "end": 35270, "loc": { "start": { - "line": 880, + "line": 881, "column": 66 }, "end": { - "line": 880, + "line": 881, "column": 67 } } @@ -214961,15 +215281,15 @@ "binop": null }, "value": "textureSetId", - "start": 34689, - "end": 34701, + "start": 35270, + "end": 35282, "loc": { "start": { - "line": 880, + "line": 881, "column": 67 }, "end": { - "line": 880, + "line": 881, "column": 79 } } @@ -214986,15 +215306,15 @@ "postfix": false, "binop": null }, - "start": 34701, - "end": 34702, + "start": 35282, + "end": 35283, "loc": { "start": { - "line": 880, + "line": 881, "column": 79 }, "end": { - "line": 880, + "line": 881, "column": 80 } } @@ -215012,15 +215332,15 @@ "binop": null, "updateContext": null }, - "start": 34702, - "end": 34703, + "start": 35283, + "end": 35284, "loc": { "start": { - "line": 880, + "line": 881, "column": 80 }, "end": { - "line": 880, + "line": 881, "column": 81 } } @@ -215040,15 +215360,15 @@ "updateContext": null }, "value": "return", - "start": 34720, - "end": 34726, + "start": 35301, + "end": 35307, "loc": { "start": { - "line": 881, + "line": 882, "column": 16 }, "end": { - "line": 881, + "line": 882, "column": 22 } } @@ -215066,15 +215386,15 @@ "binop": null, "updateContext": null }, - "start": 34726, - "end": 34727, + "start": 35307, + "end": 35308, "loc": { "start": { - "line": 881, + "line": 882, "column": 22 }, "end": { - "line": 881, + "line": 882, "column": 23 } } @@ -215091,15 +215411,15 @@ "postfix": false, "binop": null }, - "start": 34740, - "end": 34741, + "start": 35321, + "end": 35322, "loc": { "start": { - "line": 882, + "line": 883, "column": 12 }, "end": { - "line": 882, + "line": 883, "column": 13 } } @@ -215117,15 +215437,15 @@ "binop": null }, "value": "textureSet", - "start": 34754, - "end": 34764, + "start": 35335, + "end": 35345, "loc": { "start": { - "line": 883, + "line": 884, "column": 12 }, "end": { - "line": 883, + "line": 884, "column": 22 } } @@ -215143,15 +215463,15 @@ "binop": null, "updateContext": null }, - "start": 34764, - "end": 34765, + "start": 35345, + "end": 35346, "loc": { "start": { - "line": 883, + "line": 884, "column": 22 }, "end": { - "line": 883, + "line": 884, "column": 23 } } @@ -215169,15 +215489,15 @@ "binop": null }, "value": "numInstances", - "start": 34765, - "end": 34777, + "start": 35346, + "end": 35358, "loc": { "start": { - "line": 883, + "line": 884, "column": 23 }, "end": { - "line": 883, + "line": 884, "column": 35 } } @@ -215195,15 +215515,15 @@ "binop": null }, "value": "++", - "start": 34777, - "end": 34779, + "start": 35358, + "end": 35360, "loc": { "start": { - "line": 883, + "line": 884, "column": 35 }, "end": { - "line": 883, + "line": 884, "column": 37 } } @@ -215221,15 +215541,15 @@ "binop": null, "updateContext": null }, - "start": 34779, - "end": 34780, + "start": 35360, + "end": 35361, "loc": { "start": { - "line": 883, + "line": 884, "column": 37 }, "end": { - "line": 883, + "line": 884, "column": 38 } } @@ -215246,15 +215566,15 @@ "postfix": false, "binop": null }, - "start": 34789, - "end": 34790, + "start": 35370, + "end": 35371, "loc": { "start": { - "line": 884, + "line": 885, "column": 8 }, "end": { - "line": 884, + "line": 885, "column": 9 } } @@ -215274,15 +215594,15 @@ "updateContext": null }, "value": "let", - "start": 34800, - "end": 34803, + "start": 35381, + "end": 35384, "loc": { "start": { - "line": 886, + "line": 887, "column": 8 }, "end": { - "line": 886, + "line": 887, "column": 11 } } @@ -215300,15 +215620,15 @@ "binop": null }, "value": "matrix", - "start": 34804, - "end": 34810, + "start": 35385, + "end": 35391, "loc": { "start": { - "line": 886, + "line": 887, "column": 12 }, "end": { - "line": 886, + "line": 887, "column": 18 } } @@ -215327,15 +215647,15 @@ "updateContext": null }, "value": "=", - "start": 34811, - "end": 34812, + "start": 35392, + "end": 35393, "loc": { "start": { - "line": 886, + "line": 887, "column": 19 }, "end": { - "line": 886, + "line": 887, "column": 20 } } @@ -215353,15 +215673,15 @@ "binop": null }, "value": "params", - "start": 34813, - "end": 34819, + "start": 35394, + "end": 35400, "loc": { "start": { - "line": 886, + "line": 887, "column": 21 }, "end": { - "line": 886, + "line": 887, "column": 27 } } @@ -215379,15 +215699,15 @@ "binop": null, "updateContext": null }, - "start": 34819, - "end": 34820, + "start": 35400, + "end": 35401, "loc": { "start": { - "line": 886, + "line": 887, "column": 27 }, "end": { - "line": 886, + "line": 887, "column": 28 } } @@ -215405,15 +215725,15 @@ "binop": null }, "value": "matrix", - "start": 34820, - "end": 34826, + "start": 35401, + "end": 35407, "loc": { "start": { - "line": 886, + "line": 887, "column": 28 }, "end": { - "line": 886, + "line": 887, "column": 34 } } @@ -215431,15 +215751,15 @@ "binop": null, "updateContext": null }, - "start": 34826, - "end": 34827, + "start": 35407, + "end": 35408, "loc": { "start": { - "line": 886, + "line": 887, "column": 34 }, "end": { - "line": 886, + "line": 887, "column": 35 } } @@ -215459,15 +215779,15 @@ "updateContext": null }, "value": "if", - "start": 34837, - "end": 34839, + "start": 35418, + "end": 35420, "loc": { "start": { - "line": 888, + "line": 889, "column": 8 }, "end": { - "line": 888, + "line": 889, "column": 10 } } @@ -215484,15 +215804,15 @@ "postfix": false, "binop": null }, - "start": 34840, - "end": 34841, + "start": 35421, + "end": 35422, "loc": { "start": { - "line": 888, + "line": 889, "column": 11 }, "end": { - "line": 888, + "line": 889, "column": 12 } } @@ -215511,15 +215831,15 @@ "updateContext": null }, "value": "!", - "start": 34841, - "end": 34842, + "start": 35422, + "end": 35423, "loc": { "start": { - "line": 888, + "line": 889, "column": 12 }, "end": { - "line": 888, + "line": 889, "column": 13 } } @@ -215537,15 +215857,15 @@ "binop": null }, "value": "matrix", - "start": 34842, - "end": 34848, + "start": 35423, + "end": 35429, "loc": { "start": { - "line": 888, + "line": 889, "column": 13 }, "end": { - "line": 888, + "line": 889, "column": 19 } } @@ -215562,15 +215882,15 @@ "postfix": false, "binop": null }, - "start": 34848, - "end": 34849, + "start": 35429, + "end": 35430, "loc": { "start": { - "line": 888, + "line": 889, "column": 19 }, "end": { - "line": 888, + "line": 889, "column": 20 } } @@ -215587,15 +215907,15 @@ "postfix": false, "binop": null }, - "start": 34850, - "end": 34851, + "start": 35431, + "end": 35432, "loc": { "start": { - "line": 888, + "line": 889, "column": 21 }, "end": { - "line": 888, + "line": 889, "column": 22 } } @@ -215615,15 +215935,15 @@ "updateContext": null }, "value": "const", - "start": 34865, - "end": 34870, + "start": 35446, + "end": 35451, "loc": { "start": { - "line": 890, + "line": 891, "column": 12 }, "end": { - "line": 890, + "line": 891, "column": 17 } } @@ -215641,15 +215961,15 @@ "binop": null }, "value": "position", - "start": 34871, - "end": 34879, + "start": 35452, + "end": 35460, "loc": { "start": { - "line": 890, + "line": 891, "column": 18 }, "end": { - "line": 890, + "line": 891, "column": 26 } } @@ -215668,15 +215988,15 @@ "updateContext": null }, "value": "=", - "start": 34880, - "end": 34881, + "start": 35461, + "end": 35462, "loc": { "start": { - "line": 890, + "line": 891, "column": 27 }, "end": { - "line": 890, + "line": 891, "column": 28 } } @@ -215694,15 +216014,15 @@ "binop": null }, "value": "params", - "start": 34882, - "end": 34888, + "start": 35463, + "end": 35469, "loc": { "start": { - "line": 890, + "line": 891, "column": 29 }, "end": { - "line": 890, + "line": 891, "column": 35 } } @@ -215720,15 +216040,15 @@ "binop": null, "updateContext": null }, - "start": 34888, - "end": 34889, + "start": 35469, + "end": 35470, "loc": { "start": { - "line": 890, + "line": 891, "column": 35 }, "end": { - "line": 890, + "line": 891, "column": 36 } } @@ -215746,15 +216066,15 @@ "binop": null }, "value": "position", - "start": 34889, - "end": 34897, + "start": 35470, + "end": 35478, "loc": { "start": { - "line": 890, + "line": 891, "column": 36 }, "end": { - "line": 890, + "line": 891, "column": 44 } } @@ -215772,15 +216092,15 @@ "binop": null, "updateContext": null }, - "start": 34897, - "end": 34898, + "start": 35478, + "end": 35479, "loc": { "start": { - "line": 890, + "line": 891, "column": 44 }, "end": { - "line": 890, + "line": 891, "column": 45 } } @@ -215800,15 +216120,15 @@ "updateContext": null }, "value": "const", - "start": 34911, - "end": 34916, + "start": 35492, + "end": 35497, "loc": { "start": { - "line": 891, + "line": 892, "column": 12 }, "end": { - "line": 891, + "line": 892, "column": 17 } } @@ -215826,15 +216146,15 @@ "binop": null }, "value": "scale", - "start": 34917, - "end": 34922, + "start": 35498, + "end": 35503, "loc": { "start": { - "line": 891, + "line": 892, "column": 18 }, "end": { - "line": 891, + "line": 892, "column": 23 } } @@ -215853,15 +216173,15 @@ "updateContext": null }, "value": "=", - "start": 34923, - "end": 34924, + "start": 35504, + "end": 35505, "loc": { "start": { - "line": 891, + "line": 892, "column": 24 }, "end": { - "line": 891, + "line": 892, "column": 25 } } @@ -215879,15 +216199,15 @@ "binop": null }, "value": "params", - "start": 34925, - "end": 34931, + "start": 35506, + "end": 35512, "loc": { "start": { - "line": 891, + "line": 892, "column": 26 }, "end": { - "line": 891, + "line": 892, "column": 32 } } @@ -215905,15 +216225,15 @@ "binop": null, "updateContext": null }, - "start": 34931, - "end": 34932, + "start": 35512, + "end": 35513, "loc": { "start": { - "line": 891, + "line": 892, "column": 32 }, "end": { - "line": 891, + "line": 892, "column": 33 } } @@ -215931,15 +216251,15 @@ "binop": null }, "value": "scale", - "start": 34932, - "end": 34937, + "start": 35513, + "end": 35518, "loc": { "start": { - "line": 891, + "line": 892, "column": 33 }, "end": { - "line": 891, + "line": 892, "column": 38 } } @@ -215957,15 +216277,15 @@ "binop": null, "updateContext": null }, - "start": 34937, - "end": 34938, + "start": 35518, + "end": 35519, "loc": { "start": { - "line": 891, + "line": 892, "column": 38 }, "end": { - "line": 891, + "line": 892, "column": 39 } } @@ -215985,15 +216305,15 @@ "updateContext": null }, "value": "const", - "start": 34951, - "end": 34956, + "start": 35532, + "end": 35537, "loc": { "start": { - "line": 892, + "line": 893, "column": 12 }, "end": { - "line": 892, + "line": 893, "column": 17 } } @@ -216011,15 +216331,15 @@ "binop": null }, "value": "rotation", - "start": 34957, - "end": 34965, + "start": 35538, + "end": 35546, "loc": { "start": { - "line": 892, + "line": 893, "column": 18 }, "end": { - "line": 892, + "line": 893, "column": 26 } } @@ -216038,15 +216358,15 @@ "updateContext": null }, "value": "=", - "start": 34966, - "end": 34967, + "start": 35547, + "end": 35548, "loc": { "start": { - "line": 892, + "line": 893, "column": 27 }, "end": { - "line": 892, + "line": 893, "column": 28 } } @@ -216064,15 +216384,15 @@ "binop": null }, "value": "params", - "start": 34968, - "end": 34974, + "start": 35549, + "end": 35555, "loc": { "start": { - "line": 892, + "line": 893, "column": 29 }, "end": { - "line": 892, + "line": 893, "column": 35 } } @@ -216090,15 +216410,15 @@ "binop": null, "updateContext": null }, - "start": 34974, - "end": 34975, + "start": 35555, + "end": 35556, "loc": { "start": { - "line": 892, + "line": 893, "column": 35 }, "end": { - "line": 892, + "line": 893, "column": 36 } } @@ -216116,15 +216436,15 @@ "binop": null }, "value": "rotation", - "start": 34975, - "end": 34983, + "start": 35556, + "end": 35564, "loc": { "start": { - "line": 892, + "line": 893, "column": 36 }, "end": { - "line": 892, + "line": 893, "column": 44 } } @@ -216142,15 +216462,15 @@ "binop": null, "updateContext": null }, - "start": 34983, - "end": 34984, + "start": 35564, + "end": 35565, "loc": { "start": { - "line": 892, + "line": 893, "column": 44 }, "end": { - "line": 892, + "line": 893, "column": 45 } } @@ -216170,15 +216490,15 @@ "updateContext": null }, "value": "if", - "start": 34998, - "end": 35000, + "start": 35579, + "end": 35581, "loc": { "start": { - "line": 894, + "line": 895, "column": 12 }, "end": { - "line": 894, + "line": 895, "column": 14 } } @@ -216195,15 +216515,15 @@ "postfix": false, "binop": null }, - "start": 35001, - "end": 35002, + "start": 35582, + "end": 35583, "loc": { "start": { - "line": 894, + "line": 895, "column": 15 }, "end": { - "line": 894, + "line": 895, "column": 16 } } @@ -216221,15 +216541,15 @@ "binop": null }, "value": "position", - "start": 35002, - "end": 35010, + "start": 35583, + "end": 35591, "loc": { "start": { - "line": 894, + "line": 895, "column": 16 }, "end": { - "line": 894, + "line": 895, "column": 24 } } @@ -216248,15 +216568,15 @@ "updateContext": null }, "value": "||", - "start": 35011, - "end": 35013, + "start": 35592, + "end": 35594, "loc": { "start": { - "line": 894, + "line": 895, "column": 25 }, "end": { - "line": 894, + "line": 895, "column": 27 } } @@ -216274,15 +216594,15 @@ "binop": null }, "value": "scale", - "start": 35014, - "end": 35019, + "start": 35595, + "end": 35600, "loc": { "start": { - "line": 894, + "line": 895, "column": 28 }, "end": { - "line": 894, + "line": 895, "column": 33 } } @@ -216301,15 +216621,15 @@ "updateContext": null }, "value": "||", - "start": 35020, - "end": 35022, + "start": 35601, + "end": 35603, "loc": { "start": { - "line": 894, + "line": 895, "column": 34 }, "end": { - "line": 894, + "line": 895, "column": 36 } } @@ -216327,15 +216647,15 @@ "binop": null }, "value": "rotation", - "start": 35023, - "end": 35031, + "start": 35604, + "end": 35612, "loc": { "start": { - "line": 894, + "line": 895, "column": 37 }, "end": { - "line": 894, + "line": 895, "column": 45 } } @@ -216352,15 +216672,15 @@ "postfix": false, "binop": null }, - "start": 35031, - "end": 35032, + "start": 35612, + "end": 35613, "loc": { "start": { - "line": 894, + "line": 895, "column": 45 }, "end": { - "line": 894, + "line": 895, "column": 46 } } @@ -216377,15 +216697,15 @@ "postfix": false, "binop": null }, - "start": 35033, - "end": 35034, + "start": 35614, + "end": 35615, "loc": { "start": { - "line": 894, + "line": 895, "column": 47 }, "end": { - "line": 894, + "line": 895, "column": 48 } } @@ -216403,15 +216723,15 @@ "binop": null }, "value": "matrix", - "start": 35051, - "end": 35057, + "start": 35632, + "end": 35638, "loc": { "start": { - "line": 895, + "line": 896, "column": 16 }, "end": { - "line": 895, + "line": 896, "column": 22 } } @@ -216430,15 +216750,15 @@ "updateContext": null }, "value": "=", - "start": 35058, - "end": 35059, + "start": 35639, + "end": 35640, "loc": { "start": { - "line": 895, + "line": 896, "column": 23 }, "end": { - "line": 895, + "line": 896, "column": 24 } } @@ -216456,15 +216776,15 @@ "binop": null }, "value": "math", - "start": 35060, - "end": 35064, + "start": 35641, + "end": 35645, "loc": { "start": { - "line": 895, + "line": 896, "column": 25 }, "end": { - "line": 895, + "line": 896, "column": 29 } } @@ -216482,15 +216802,15 @@ "binop": null, "updateContext": null }, - "start": 35064, - "end": 35065, + "start": 35645, + "end": 35646, "loc": { "start": { - "line": 895, + "line": 896, "column": 29 }, "end": { - "line": 895, + "line": 896, "column": 30 } } @@ -216508,15 +216828,15 @@ "binop": null }, "value": "identityMat4", - "start": 35065, - "end": 35077, + "start": 35646, + "end": 35658, "loc": { "start": { - "line": 895, + "line": 896, "column": 30 }, "end": { - "line": 895, + "line": 896, "column": 42 } } @@ -216533,15 +216853,15 @@ "postfix": false, "binop": null }, - "start": 35077, - "end": 35078, + "start": 35658, + "end": 35659, "loc": { "start": { - "line": 895, + "line": 896, "column": 42 }, "end": { - "line": 895, + "line": 896, "column": 43 } } @@ -216558,15 +216878,15 @@ "postfix": false, "binop": null }, - "start": 35078, - "end": 35079, + "start": 35659, + "end": 35660, "loc": { "start": { - "line": 895, + "line": 896, "column": 43 }, "end": { - "line": 895, + "line": 896, "column": 44 } } @@ -216584,15 +216904,15 @@ "binop": null, "updateContext": null }, - "start": 35079, - "end": 35080, + "start": 35660, + "end": 35661, "loc": { "start": { - "line": 895, + "line": 896, "column": 44 }, "end": { - "line": 895, + "line": 896, "column": 45 } } @@ -216612,15 +216932,15 @@ "updateContext": null }, "value": "const", - "start": 35097, - "end": 35102, + "start": 35678, + "end": 35683, "loc": { "start": { - "line": 896, + "line": 897, "column": 16 }, "end": { - "line": 896, + "line": 897, "column": 21 } } @@ -216638,15 +216958,15 @@ "binop": null }, "value": "quaternion", - "start": 35103, - "end": 35113, + "start": 35684, + "end": 35694, "loc": { "start": { - "line": 896, + "line": 897, "column": 22 }, "end": { - "line": 896, + "line": 897, "column": 32 } } @@ -216665,15 +216985,15 @@ "updateContext": null }, "value": "=", - "start": 35114, - "end": 35115, + "start": 35695, + "end": 35696, "loc": { "start": { - "line": 896, + "line": 897, "column": 33 }, "end": { - "line": 896, + "line": 897, "column": 34 } } @@ -216691,15 +217011,15 @@ "binop": null }, "value": "math", - "start": 35116, - "end": 35120, + "start": 35697, + "end": 35701, "loc": { "start": { - "line": 896, + "line": 897, "column": 35 }, "end": { - "line": 896, + "line": 897, "column": 39 } } @@ -216717,15 +217037,15 @@ "binop": null, "updateContext": null }, - "start": 35120, - "end": 35121, + "start": 35701, + "end": 35702, "loc": { "start": { - "line": 896, + "line": 897, "column": 39 }, "end": { - "line": 896, + "line": 897, "column": 40 } } @@ -216743,15 +217063,15 @@ "binop": null }, "value": "eulerToQuaternion", - "start": 35121, - "end": 35138, + "start": 35702, + "end": 35719, "loc": { "start": { - "line": 896, + "line": 897, "column": 40 }, "end": { - "line": 896, + "line": 897, "column": 57 } } @@ -216768,15 +217088,15 @@ "postfix": false, "binop": null }, - "start": 35138, - "end": 35139, + "start": 35719, + "end": 35720, "loc": { "start": { - "line": 896, + "line": 897, "column": 57 }, "end": { - "line": 896, + "line": 897, "column": 58 } } @@ -216794,15 +217114,15 @@ "binop": null }, "value": "rotation", - "start": 35139, - "end": 35147, + "start": 35720, + "end": 35728, "loc": { "start": { - "line": 896, + "line": 897, "column": 58 }, "end": { - "line": 896, + "line": 897, "column": 66 } } @@ -216821,15 +217141,15 @@ "updateContext": null }, "value": "||", - "start": 35148, - "end": 35150, + "start": 35729, + "end": 35731, "loc": { "start": { - "line": 896, + "line": 897, "column": 67 }, "end": { - "line": 896, + "line": 897, "column": 69 } } @@ -216847,15 +217167,15 @@ "binop": null, "updateContext": null }, - "start": 35151, - "end": 35152, + "start": 35732, + "end": 35733, "loc": { "start": { - "line": 896, + "line": 897, "column": 70 }, "end": { - "line": 896, + "line": 897, "column": 71 } } @@ -216874,15 +217194,15 @@ "updateContext": null }, "value": 0, - "start": 35152, - "end": 35153, + "start": 35733, + "end": 35734, "loc": { "start": { - "line": 896, + "line": 897, "column": 71 }, "end": { - "line": 896, + "line": 897, "column": 72 } } @@ -216900,15 +217220,15 @@ "binop": null, "updateContext": null }, - "start": 35153, - "end": 35154, + "start": 35734, + "end": 35735, "loc": { "start": { - "line": 896, + "line": 897, "column": 72 }, "end": { - "line": 896, + "line": 897, "column": 73 } } @@ -216927,15 +217247,15 @@ "updateContext": null }, "value": 0, - "start": 35155, - "end": 35156, + "start": 35736, + "end": 35737, "loc": { "start": { - "line": 896, + "line": 897, "column": 74 }, "end": { - "line": 896, + "line": 897, "column": 75 } } @@ -216953,15 +217273,15 @@ "binop": null, "updateContext": null }, - "start": 35156, - "end": 35157, + "start": 35737, + "end": 35738, "loc": { "start": { - "line": 896, + "line": 897, "column": 75 }, "end": { - "line": 896, + "line": 897, "column": 76 } } @@ -216980,15 +217300,15 @@ "updateContext": null }, "value": 0, - "start": 35158, - "end": 35159, + "start": 35739, + "end": 35740, "loc": { "start": { - "line": 896, + "line": 897, "column": 77 }, "end": { - "line": 896, + "line": 897, "column": 78 } } @@ -217006,15 +217326,15 @@ "binop": null, "updateContext": null }, - "start": 35159, - "end": 35160, + "start": 35740, + "end": 35741, "loc": { "start": { - "line": 896, + "line": 897, "column": 78 }, "end": { - "line": 896, + "line": 897, "column": 79 } } @@ -217032,15 +217352,15 @@ "binop": null, "updateContext": null }, - "start": 35160, - "end": 35161, + "start": 35741, + "end": 35742, "loc": { "start": { - "line": 896, + "line": 897, "column": 79 }, "end": { - "line": 896, + "line": 897, "column": 80 } } @@ -217059,15 +217379,15 @@ "updateContext": null }, "value": "XYZ", - "start": 35162, - "end": 35167, + "start": 35743, + "end": 35748, "loc": { "start": { - "line": 896, + "line": 897, "column": 81 }, "end": { - "line": 896, + "line": 897, "column": 86 } } @@ -217085,15 +217405,15 @@ "binop": null, "updateContext": null }, - "start": 35167, - "end": 35168, + "start": 35748, + "end": 35749, "loc": { "start": { - "line": 896, + "line": 897, "column": 86 }, "end": { - "line": 896, + "line": 897, "column": 87 } } @@ -217111,15 +217431,15 @@ "binop": null }, "value": "math", - "start": 35169, - "end": 35173, + "start": 35750, + "end": 35754, "loc": { "start": { - "line": 896, + "line": 897, "column": 88 }, "end": { - "line": 896, + "line": 897, "column": 92 } } @@ -217137,15 +217457,15 @@ "binop": null, "updateContext": null }, - "start": 35173, - "end": 35174, + "start": 35754, + "end": 35755, "loc": { "start": { - "line": 896, + "line": 897, "column": 92 }, "end": { - "line": 896, + "line": 897, "column": 93 } } @@ -217163,15 +217483,15 @@ "binop": null }, "value": "identityQuaternion", - "start": 35174, - "end": 35192, + "start": 35755, + "end": 35773, "loc": { "start": { - "line": 896, + "line": 897, "column": 93 }, "end": { - "line": 896, + "line": 897, "column": 111 } } @@ -217188,15 +217508,15 @@ "postfix": false, "binop": null }, - "start": 35192, - "end": 35193, + "start": 35773, + "end": 35774, "loc": { "start": { - "line": 896, + "line": 897, "column": 111 }, "end": { - "line": 896, + "line": 897, "column": 112 } } @@ -217213,15 +217533,15 @@ "postfix": false, "binop": null }, - "start": 35193, - "end": 35194, + "start": 35774, + "end": 35775, "loc": { "start": { - "line": 896, + "line": 897, "column": 112 }, "end": { - "line": 896, + "line": 897, "column": 113 } } @@ -217238,15 +217558,15 @@ "postfix": false, "binop": null }, - "start": 35194, - "end": 35195, + "start": 35775, + "end": 35776, "loc": { "start": { - "line": 896, + "line": 897, "column": 113 }, "end": { - "line": 896, + "line": 897, "column": 114 } } @@ -217264,15 +217584,15 @@ "binop": null, "updateContext": null }, - "start": 35195, - "end": 35196, + "start": 35776, + "end": 35777, "loc": { "start": { - "line": 896, + "line": 897, "column": 114 }, "end": { - "line": 896, + "line": 897, "column": 115 } } @@ -217290,15 +217610,15 @@ "binop": null }, "value": "math", - "start": 35213, - "end": 35217, + "start": 35794, + "end": 35798, "loc": { "start": { - "line": 897, + "line": 898, "column": 16 }, "end": { - "line": 897, + "line": 898, "column": 20 } } @@ -217316,15 +217636,15 @@ "binop": null, "updateContext": null }, - "start": 35217, - "end": 35218, + "start": 35798, + "end": 35799, "loc": { "start": { - "line": 897, + "line": 898, "column": 20 }, "end": { - "line": 897, + "line": 898, "column": 21 } } @@ -217342,15 +217662,15 @@ "binop": null }, "value": "composeMat4", - "start": 35218, - "end": 35229, + "start": 35799, + "end": 35810, "loc": { "start": { - "line": 897, + "line": 898, "column": 21 }, "end": { - "line": 897, + "line": 898, "column": 32 } } @@ -217367,15 +217687,15 @@ "postfix": false, "binop": null }, - "start": 35229, - "end": 35230, + "start": 35810, + "end": 35811, "loc": { "start": { - "line": 897, + "line": 898, "column": 32 }, "end": { - "line": 897, + "line": 898, "column": 33 } } @@ -217393,15 +217713,15 @@ "binop": null }, "value": "position", - "start": 35230, - "end": 35238, + "start": 35811, + "end": 35819, "loc": { "start": { - "line": 897, + "line": 898, "column": 33 }, "end": { - "line": 897, + "line": 898, "column": 41 } } @@ -217420,15 +217740,15 @@ "updateContext": null }, "value": "||", - "start": 35239, - "end": 35241, + "start": 35820, + "end": 35822, "loc": { "start": { - "line": 897, + "line": 898, "column": 42 }, "end": { - "line": 897, + "line": 898, "column": 44 } } @@ -217446,15 +217766,15 @@ "binop": null, "updateContext": null }, - "start": 35242, - "end": 35243, + "start": 35823, + "end": 35824, "loc": { "start": { - "line": 897, + "line": 898, "column": 45 }, "end": { - "line": 897, + "line": 898, "column": 46 } } @@ -217473,15 +217793,15 @@ "updateContext": null }, "value": 0, - "start": 35243, - "end": 35244, + "start": 35824, + "end": 35825, "loc": { "start": { - "line": 897, + "line": 898, "column": 46 }, "end": { - "line": 897, + "line": 898, "column": 47 } } @@ -217499,15 +217819,15 @@ "binop": null, "updateContext": null }, - "start": 35244, - "end": 35245, + "start": 35825, + "end": 35826, "loc": { "start": { - "line": 897, + "line": 898, "column": 47 }, "end": { - "line": 897, + "line": 898, "column": 48 } } @@ -217526,15 +217846,15 @@ "updateContext": null }, "value": 0, - "start": 35246, - "end": 35247, + "start": 35827, + "end": 35828, "loc": { "start": { - "line": 897, + "line": 898, "column": 49 }, "end": { - "line": 897, + "line": 898, "column": 50 } } @@ -217552,15 +217872,15 @@ "binop": null, "updateContext": null }, - "start": 35247, - "end": 35248, + "start": 35828, + "end": 35829, "loc": { "start": { - "line": 897, + "line": 898, "column": 50 }, "end": { - "line": 897, + "line": 898, "column": 51 } } @@ -217579,15 +217899,15 @@ "updateContext": null }, "value": 0, - "start": 35249, - "end": 35250, + "start": 35830, + "end": 35831, "loc": { "start": { - "line": 897, + "line": 898, "column": 52 }, "end": { - "line": 897, + "line": 898, "column": 53 } } @@ -217605,15 +217925,15 @@ "binop": null, "updateContext": null }, - "start": 35250, - "end": 35251, + "start": 35831, + "end": 35832, "loc": { "start": { - "line": 897, + "line": 898, "column": 53 }, "end": { - "line": 897, + "line": 898, "column": 54 } } @@ -217631,15 +217951,15 @@ "binop": null, "updateContext": null }, - "start": 35251, - "end": 35252, + "start": 35832, + "end": 35833, "loc": { "start": { - "line": 897, + "line": 898, "column": 54 }, "end": { - "line": 897, + "line": 898, "column": 55 } } @@ -217657,15 +217977,15 @@ "binop": null }, "value": "quaternion", - "start": 35253, - "end": 35263, + "start": 35834, + "end": 35844, "loc": { "start": { - "line": 897, + "line": 898, "column": 56 }, "end": { - "line": 897, + "line": 898, "column": 66 } } @@ -217683,15 +218003,15 @@ "binop": null, "updateContext": null }, - "start": 35263, - "end": 35264, + "start": 35844, + "end": 35845, "loc": { "start": { - "line": 897, + "line": 898, "column": 66 }, "end": { - "line": 897, + "line": 898, "column": 67 } } @@ -217709,15 +218029,15 @@ "binop": null }, "value": "scale", - "start": 35265, - "end": 35270, + "start": 35846, + "end": 35851, "loc": { "start": { - "line": 897, + "line": 898, "column": 68 }, "end": { - "line": 897, + "line": 898, "column": 73 } } @@ -217736,15 +218056,15 @@ "updateContext": null }, "value": "||", - "start": 35271, - "end": 35273, + "start": 35852, + "end": 35854, "loc": { "start": { - "line": 897, + "line": 898, "column": 74 }, "end": { - "line": 897, + "line": 898, "column": 76 } } @@ -217762,15 +218082,15 @@ "binop": null, "updateContext": null }, - "start": 35274, - "end": 35275, + "start": 35855, + "end": 35856, "loc": { "start": { - "line": 897, + "line": 898, "column": 77 }, "end": { - "line": 897, + "line": 898, "column": 78 } } @@ -217789,15 +218109,15 @@ "updateContext": null }, "value": 1, - "start": 35275, - "end": 35276, + "start": 35856, + "end": 35857, "loc": { "start": { - "line": 897, + "line": 898, "column": 78 }, "end": { - "line": 897, + "line": 898, "column": 79 } } @@ -217815,15 +218135,15 @@ "binop": null, "updateContext": null }, - "start": 35276, - "end": 35277, + "start": 35857, + "end": 35858, "loc": { "start": { - "line": 897, + "line": 898, "column": 79 }, "end": { - "line": 897, + "line": 898, "column": 80 } } @@ -217842,15 +218162,15 @@ "updateContext": null }, "value": 1, - "start": 35278, - "end": 35279, + "start": 35859, + "end": 35860, "loc": { "start": { - "line": 897, + "line": 898, "column": 81 }, "end": { - "line": 897, + "line": 898, "column": 82 } } @@ -217868,15 +218188,15 @@ "binop": null, "updateContext": null }, - "start": 35279, - "end": 35280, + "start": 35860, + "end": 35861, "loc": { "start": { - "line": 897, + "line": 898, "column": 82 }, "end": { - "line": 897, + "line": 898, "column": 83 } } @@ -217895,15 +218215,15 @@ "updateContext": null }, "value": 1, - "start": 35281, - "end": 35282, + "start": 35862, + "end": 35863, "loc": { "start": { - "line": 897, + "line": 898, "column": 84 }, "end": { - "line": 897, + "line": 898, "column": 85 } } @@ -217921,15 +218241,15 @@ "binop": null, "updateContext": null }, - "start": 35282, - "end": 35283, + "start": 35863, + "end": 35864, "loc": { "start": { - "line": 897, + "line": 898, "column": 85 }, "end": { - "line": 897, + "line": 898, "column": 86 } } @@ -217947,15 +218267,15 @@ "binop": null, "updateContext": null }, - "start": 35283, - "end": 35284, + "start": 35864, + "end": 35865, "loc": { "start": { - "line": 897, + "line": 898, "column": 86 }, "end": { - "line": 897, + "line": 898, "column": 87 } } @@ -217973,15 +218293,15 @@ "binop": null }, "value": "matrix", - "start": 35285, - "end": 35291, + "start": 35866, + "end": 35872, "loc": { "start": { - "line": 897, + "line": 898, "column": 88 }, "end": { - "line": 897, + "line": 898, "column": 94 } } @@ -217998,15 +218318,15 @@ "postfix": false, "binop": null }, - "start": 35291, - "end": 35292, + "start": 35872, + "end": 35873, "loc": { "start": { - "line": 897, + "line": 898, "column": 94 }, "end": { - "line": 897, + "line": 898, "column": 95 } } @@ -218023,15 +218343,15 @@ "postfix": false, "binop": null }, - "start": 35306, - "end": 35307, + "start": 35887, + "end": 35888, "loc": { "start": { - "line": 899, + "line": 900, "column": 12 }, "end": { - "line": 899, + "line": 900, "column": 13 } } @@ -218051,15 +218371,15 @@ "updateContext": null }, "value": "else", - "start": 35308, - "end": 35312, + "start": 35889, + "end": 35893, "loc": { "start": { - "line": 899, + "line": 900, "column": 14 }, "end": { - "line": 899, + "line": 900, "column": 18 } } @@ -218076,15 +218396,15 @@ "postfix": false, "binop": null }, - "start": 35313, - "end": 35314, + "start": 35894, + "end": 35895, "loc": { "start": { - "line": 899, + "line": 900, "column": 19 }, "end": { - "line": 899, + "line": 900, "column": 20 } } @@ -218102,15 +218422,15 @@ "binop": null }, "value": "matrix", - "start": 35331, - "end": 35337, + "start": 35912, + "end": 35918, "loc": { "start": { - "line": 900, + "line": 901, "column": 16 }, "end": { - "line": 900, + "line": 901, "column": 22 } } @@ -218129,15 +218449,15 @@ "updateContext": null }, "value": "=", - "start": 35338, - "end": 35339, + "start": 35919, + "end": 35920, "loc": { "start": { - "line": 900, + "line": 901, "column": 23 }, "end": { - "line": 900, + "line": 901, "column": 24 } } @@ -218155,15 +218475,15 @@ "binop": null }, "value": "math", - "start": 35340, - "end": 35344, + "start": 35921, + "end": 35925, "loc": { "start": { - "line": 900, + "line": 901, "column": 25 }, "end": { - "line": 900, + "line": 901, "column": 29 } } @@ -218181,15 +218501,15 @@ "binop": null, "updateContext": null }, - "start": 35344, - "end": 35345, + "start": 35925, + "end": 35926, "loc": { "start": { - "line": 900, + "line": 901, "column": 29 }, "end": { - "line": 900, + "line": 901, "column": 30 } } @@ -218207,15 +218527,15 @@ "binop": null }, "value": "identityMat4", - "start": 35345, - "end": 35357, + "start": 35926, + "end": 35938, "loc": { "start": { - "line": 900, + "line": 901, "column": 30 }, "end": { - "line": 900, + "line": 901, "column": 42 } } @@ -218232,15 +218552,15 @@ "postfix": false, "binop": null }, - "start": 35357, - "end": 35358, + "start": 35938, + "end": 35939, "loc": { "start": { - "line": 900, + "line": 901, "column": 42 }, "end": { - "line": 900, + "line": 901, "column": 43 } } @@ -218257,15 +218577,15 @@ "postfix": false, "binop": null }, - "start": 35358, - "end": 35359, + "start": 35939, + "end": 35940, "loc": { "start": { - "line": 900, + "line": 901, "column": 43 }, "end": { - "line": 900, + "line": 901, "column": 44 } } @@ -218283,15 +218603,15 @@ "binop": null, "updateContext": null }, - "start": 35359, - "end": 35360, + "start": 35940, + "end": 35941, "loc": { "start": { - "line": 900, + "line": 901, "column": 44 }, "end": { - "line": 900, + "line": 901, "column": 45 } } @@ -218308,15 +218628,15 @@ "postfix": false, "binop": null }, - "start": 35373, - "end": 35374, + "start": 35954, + "end": 35955, "loc": { "start": { - "line": 901, + "line": 902, "column": 12 }, "end": { - "line": 901, + "line": 902, "column": 13 } } @@ -218333,15 +218653,15 @@ "postfix": false, "binop": null }, - "start": 35383, - "end": 35384, + "start": 35964, + "end": 35965, "loc": { "start": { - "line": 902, + "line": 903, "column": 8 }, "end": { - "line": 902, + "line": 903, "column": 9 } } @@ -218361,15 +218681,15 @@ "updateContext": null }, "value": "const", - "start": 35394, - "end": 35399, + "start": 35975, + "end": 35980, "loc": { "start": { - "line": 904, + "line": 905, "column": 8 }, "end": { - "line": 904, + "line": 905, "column": 13 } } @@ -218387,15 +218707,15 @@ "binop": null }, "value": "meshIndex", - "start": 35400, - "end": 35409, + "start": 35981, + "end": 35990, "loc": { "start": { - "line": 904, + "line": 905, "column": 14 }, "end": { - "line": 904, + "line": 905, "column": 23 } } @@ -218414,15 +218734,15 @@ "updateContext": null }, "value": "=", - "start": 35410, - "end": 35411, + "start": 35991, + "end": 35992, "loc": { "start": { - "line": 904, + "line": 905, "column": 24 }, "end": { - "line": 904, + "line": 905, "column": 25 } } @@ -218442,15 +218762,15 @@ "updateContext": null }, "value": "this", - "start": 35412, - "end": 35416, + "start": 35993, + "end": 35997, "loc": { "start": { - "line": 904, + "line": 905, "column": 26 }, "end": { - "line": 904, + "line": 905, "column": 30 } } @@ -218468,15 +218788,15 @@ "binop": null, "updateContext": null }, - "start": 35416, - "end": 35417, + "start": 35997, + "end": 35998, "loc": { "start": { - "line": 904, + "line": 905, "column": 30 }, "end": { - "line": 904, + "line": 905, "column": 31 } } @@ -218494,15 +218814,15 @@ "binop": null }, "value": "meshesList", - "start": 35417, - "end": 35427, + "start": 35998, + "end": 36008, "loc": { "start": { - "line": 904, + "line": 905, "column": 31 }, "end": { - "line": 904, + "line": 905, "column": 41 } } @@ -218520,15 +218840,15 @@ "binop": null, "updateContext": null }, - "start": 35427, - "end": 35428, + "start": 36008, + "end": 36009, "loc": { "start": { - "line": 904, + "line": 905, "column": 41 }, "end": { - "line": 904, + "line": 905, "column": 42 } } @@ -218546,15 +218866,15 @@ "binop": null }, "value": "length", - "start": 35428, - "end": 35434, + "start": 36009, + "end": 36015, "loc": { "start": { - "line": 904, + "line": 905, "column": 42 }, "end": { - "line": 904, + "line": 905, "column": 48 } } @@ -218572,15 +218892,15 @@ "binop": null, "updateContext": null }, - "start": 35434, - "end": 35435, + "start": 36015, + "end": 36016, "loc": { "start": { - "line": 904, + "line": 905, "column": 48 }, "end": { - "line": 904, + "line": 905, "column": 49 } } @@ -218600,15 +218920,15 @@ "updateContext": null }, "value": "const", - "start": 35445, - "end": 35450, + "start": 36026, + "end": 36031, "loc": { "start": { - "line": 906, + "line": 907, "column": 8 }, "end": { - "line": 906, + "line": 907, "column": 13 } } @@ -218626,15 +218946,15 @@ "binop": null }, "value": "mesh", - "start": 35451, - "end": 35455, + "start": 36032, + "end": 36036, "loc": { "start": { - "line": 906, + "line": 907, "column": 14 }, "end": { - "line": 906, + "line": 907, "column": 18 } } @@ -218653,15 +218973,15 @@ "updateContext": null }, "value": "=", - "start": 35456, - "end": 35457, + "start": 36037, + "end": 36038, "loc": { "start": { - "line": 906, + "line": 907, "column": 19 }, "end": { - "line": 906, + "line": 907, "column": 20 } } @@ -218681,15 +219001,15 @@ "updateContext": null }, "value": "new", - "start": 35458, - "end": 35461, + "start": 36039, + "end": 36042, "loc": { "start": { - "line": 906, + "line": 907, "column": 21 }, "end": { - "line": 906, + "line": 907, "column": 24 } } @@ -218707,15 +219027,15 @@ "binop": null }, "value": "XKTMesh", - "start": 35462, - "end": 35469, + "start": 36043, + "end": 36050, "loc": { "start": { - "line": 906, + "line": 907, "column": 25 }, "end": { - "line": 906, + "line": 907, "column": 32 } } @@ -218732,15 +219052,15 @@ "postfix": false, "binop": null }, - "start": 35469, - "end": 35470, + "start": 36050, + "end": 36051, "loc": { "start": { - "line": 906, + "line": 907, "column": 32 }, "end": { - "line": 906, + "line": 907, "column": 33 } } @@ -218757,15 +219077,15 @@ "postfix": false, "binop": null }, - "start": 35470, - "end": 35471, + "start": 36051, + "end": 36052, "loc": { "start": { - "line": 906, + "line": 907, "column": 33 }, "end": { - "line": 906, + "line": 907, "column": 34 } } @@ -218783,15 +219103,15 @@ "binop": null }, "value": "meshId", - "start": 35484, - "end": 35490, + "start": 36065, + "end": 36071, "loc": { "start": { - "line": 907, + "line": 908, "column": 12 }, "end": { - "line": 907, + "line": 908, "column": 18 } } @@ -218809,15 +219129,15 @@ "binop": null, "updateContext": null }, - "start": 35490, - "end": 35491, + "start": 36071, + "end": 36072, "loc": { "start": { - "line": 907, + "line": 908, "column": 18 }, "end": { - "line": 907, + "line": 908, "column": 19 } } @@ -218835,15 +219155,15 @@ "binop": null }, "value": "params", - "start": 35492, - "end": 35498, + "start": 36073, + "end": 36079, "loc": { "start": { - "line": 907, + "line": 908, "column": 20 }, "end": { - "line": 907, + "line": 908, "column": 26 } } @@ -218861,15 +219181,15 @@ "binop": null, "updateContext": null }, - "start": 35498, - "end": 35499, + "start": 36079, + "end": 36080, "loc": { "start": { - "line": 907, + "line": 908, "column": 26 }, "end": { - "line": 907, + "line": 908, "column": 27 } } @@ -218887,15 +219207,15 @@ "binop": null }, "value": "meshId", - "start": 35499, - "end": 35505, + "start": 36080, + "end": 36086, "loc": { "start": { - "line": 907, + "line": 908, "column": 27 }, "end": { - "line": 907, + "line": 908, "column": 33 } } @@ -218913,15 +219233,15 @@ "binop": null, "updateContext": null }, - "start": 35505, - "end": 35506, + "start": 36086, + "end": 36087, "loc": { "start": { - "line": 907, + "line": 908, "column": 33 }, "end": { - "line": 907, + "line": 908, "column": 34 } } @@ -218939,15 +219259,15 @@ "binop": null }, "value": "meshIndex", - "start": 35519, - "end": 35528, + "start": 36100, + "end": 36109, "loc": { "start": { - "line": 908, + "line": 909, "column": 12 }, "end": { - "line": 908, + "line": 909, "column": 21 } } @@ -218965,15 +219285,15 @@ "binop": null, "updateContext": null }, - "start": 35528, - "end": 35529, + "start": 36109, + "end": 36110, "loc": { "start": { - "line": 908, + "line": 909, "column": 21 }, "end": { - "line": 908, + "line": 909, "column": 22 } } @@ -218991,15 +219311,15 @@ "binop": null }, "value": "matrix", - "start": 35542, - "end": 35548, + "start": 36123, + "end": 36129, "loc": { "start": { - "line": 909, + "line": 910, "column": 12 }, "end": { - "line": 909, + "line": 910, "column": 18 } } @@ -219017,15 +219337,15 @@ "binop": null, "updateContext": null }, - "start": 35548, - "end": 35549, + "start": 36129, + "end": 36130, "loc": { "start": { - "line": 909, + "line": 910, "column": 18 }, "end": { - "line": 909, + "line": 910, "column": 19 } } @@ -219043,15 +219363,15 @@ "binop": null }, "value": "geometry", - "start": 35562, - "end": 35570, + "start": 36143, + "end": 36151, "loc": { "start": { - "line": 910, + "line": 911, "column": 12 }, "end": { - "line": 910, + "line": 911, "column": 20 } } @@ -219069,15 +219389,15 @@ "binop": null, "updateContext": null }, - "start": 35570, - "end": 35571, + "start": 36151, + "end": 36152, "loc": { "start": { - "line": 910, + "line": 911, "column": 20 }, "end": { - "line": 910, + "line": 911, "column": 21 } } @@ -219095,15 +219415,15 @@ "binop": null }, "value": "color", - "start": 35584, - "end": 35589, + "start": 36165, + "end": 36170, "loc": { "start": { - "line": 911, + "line": 912, "column": 12 }, "end": { - "line": 911, + "line": 912, "column": 17 } } @@ -219121,15 +219441,15 @@ "binop": null, "updateContext": null }, - "start": 35589, - "end": 35590, + "start": 36170, + "end": 36171, "loc": { "start": { - "line": 911, + "line": 912, "column": 17 }, "end": { - "line": 911, + "line": 912, "column": 18 } } @@ -219147,15 +219467,15 @@ "binop": null }, "value": "params", - "start": 35591, - "end": 35597, + "start": 36172, + "end": 36178, "loc": { "start": { - "line": 911, + "line": 912, "column": 19 }, "end": { - "line": 911, + "line": 912, "column": 25 } } @@ -219173,15 +219493,15 @@ "binop": null, "updateContext": null }, - "start": 35597, - "end": 35598, + "start": 36178, + "end": 36179, "loc": { "start": { - "line": 911, + "line": 912, "column": 25 }, "end": { - "line": 911, + "line": 912, "column": 26 } } @@ -219199,15 +219519,15 @@ "binop": null }, "value": "color", - "start": 35598, - "end": 35603, + "start": 36179, + "end": 36184, "loc": { "start": { - "line": 911, + "line": 912, "column": 26 }, "end": { - "line": 911, + "line": 912, "column": 31 } } @@ -219225,15 +219545,15 @@ "binop": null, "updateContext": null }, - "start": 35603, - "end": 35604, + "start": 36184, + "end": 36185, "loc": { "start": { - "line": 911, + "line": 912, "column": 31 }, "end": { - "line": 911, + "line": 912, "column": 32 } } @@ -219251,15 +219571,15 @@ "binop": null }, "value": "metallic", - "start": 35617, - "end": 35625, + "start": 36198, + "end": 36206, "loc": { "start": { - "line": 912, + "line": 913, "column": 12 }, "end": { - "line": 912, + "line": 913, "column": 20 } } @@ -219277,15 +219597,15 @@ "binop": null, "updateContext": null }, - "start": 35625, - "end": 35626, + "start": 36206, + "end": 36207, "loc": { "start": { - "line": 912, + "line": 913, "column": 20 }, "end": { - "line": 912, + "line": 913, "column": 21 } } @@ -219303,15 +219623,15 @@ "binop": null }, "value": "params", - "start": 35627, - "end": 35633, + "start": 36208, + "end": 36214, "loc": { "start": { - "line": 912, + "line": 913, "column": 22 }, "end": { - "line": 912, + "line": 913, "column": 28 } } @@ -219329,15 +219649,15 @@ "binop": null, "updateContext": null }, - "start": 35633, - "end": 35634, + "start": 36214, + "end": 36215, "loc": { "start": { - "line": 912, + "line": 913, "column": 28 }, "end": { - "line": 912, + "line": 913, "column": 29 } } @@ -219355,15 +219675,15 @@ "binop": null }, "value": "metallic", - "start": 35634, - "end": 35642, + "start": 36215, + "end": 36223, "loc": { "start": { - "line": 912, + "line": 913, "column": 29 }, "end": { - "line": 912, + "line": 913, "column": 37 } } @@ -219381,15 +219701,15 @@ "binop": null, "updateContext": null }, - "start": 35642, - "end": 35643, + "start": 36223, + "end": 36224, "loc": { "start": { - "line": 912, + "line": 913, "column": 37 }, "end": { - "line": 912, + "line": 913, "column": 38 } } @@ -219407,15 +219727,15 @@ "binop": null }, "value": "roughness", - "start": 35656, - "end": 35665, + "start": 36237, + "end": 36246, "loc": { "start": { - "line": 913, + "line": 914, "column": 12 }, "end": { - "line": 913, + "line": 914, "column": 21 } } @@ -219433,15 +219753,15 @@ "binop": null, "updateContext": null }, - "start": 35665, - "end": 35666, + "start": 36246, + "end": 36247, "loc": { "start": { - "line": 913, + "line": 914, "column": 21 }, "end": { - "line": 913, + "line": 914, "column": 22 } } @@ -219459,15 +219779,15 @@ "binop": null }, "value": "params", - "start": 35667, - "end": 35673, + "start": 36248, + "end": 36254, "loc": { "start": { - "line": 913, + "line": 914, "column": 23 }, "end": { - "line": 913, + "line": 914, "column": 29 } } @@ -219485,15 +219805,15 @@ "binop": null, "updateContext": null }, - "start": 35673, - "end": 35674, + "start": 36254, + "end": 36255, "loc": { "start": { - "line": 913, + "line": 914, "column": 29 }, "end": { - "line": 913, + "line": 914, "column": 30 } } @@ -219511,15 +219831,15 @@ "binop": null }, "value": "roughness", - "start": 35674, - "end": 35683, + "start": 36255, + "end": 36264, "loc": { "start": { - "line": 913, + "line": 914, "column": 30 }, "end": { - "line": 913, + "line": 914, "column": 39 } } @@ -219537,15 +219857,15 @@ "binop": null, "updateContext": null }, - "start": 35683, - "end": 35684, + "start": 36264, + "end": 36265, "loc": { "start": { - "line": 913, + "line": 914, "column": 39 }, "end": { - "line": 913, + "line": 914, "column": 40 } } @@ -219563,15 +219883,15 @@ "binop": null }, "value": "opacity", - "start": 35697, - "end": 35704, + "start": 36278, + "end": 36285, "loc": { "start": { - "line": 914, + "line": 915, "column": 12 }, "end": { - "line": 914, + "line": 915, "column": 19 } } @@ -219589,15 +219909,15 @@ "binop": null, "updateContext": null }, - "start": 35704, - "end": 35705, + "start": 36285, + "end": 36286, "loc": { "start": { - "line": 914, + "line": 915, "column": 19 }, "end": { - "line": 914, + "line": 915, "column": 20 } } @@ -219615,15 +219935,15 @@ "binop": null }, "value": "params", - "start": 35706, - "end": 35712, + "start": 36287, + "end": 36293, "loc": { "start": { - "line": 914, + "line": 915, "column": 21 }, "end": { - "line": 914, + "line": 915, "column": 27 } } @@ -219641,15 +219961,15 @@ "binop": null, "updateContext": null }, - "start": 35712, - "end": 35713, + "start": 36293, + "end": 36294, "loc": { "start": { - "line": 914, + "line": 915, "column": 27 }, "end": { - "line": 914, + "line": 915, "column": 28 } } @@ -219667,15 +219987,15 @@ "binop": null }, "value": "opacity", - "start": 35713, - "end": 35720, + "start": 36294, + "end": 36301, "loc": { "start": { - "line": 914, + "line": 915, "column": 28 }, "end": { - "line": 914, + "line": 915, "column": 35 } } @@ -219693,15 +220013,15 @@ "binop": null, "updateContext": null }, - "start": 35720, - "end": 35721, + "start": 36301, + "end": 36302, "loc": { "start": { - "line": 914, + "line": 915, "column": 35 }, "end": { - "line": 914, + "line": 915, "column": 36 } } @@ -219719,15 +220039,15 @@ "binop": null }, "value": "textureSet", - "start": 35734, - "end": 35744, + "start": 36315, + "end": 36325, "loc": { "start": { - "line": 915, + "line": 916, "column": 12 }, "end": { - "line": 915, + "line": 916, "column": 22 } } @@ -219744,15 +220064,15 @@ "postfix": false, "binop": null }, - "start": 35753, - "end": 35754, + "start": 36334, + "end": 36335, "loc": { "start": { - "line": 916, + "line": 917, "column": 8 }, "end": { - "line": 916, + "line": 917, "column": 9 } } @@ -219769,15 +220089,15 @@ "postfix": false, "binop": null }, - "start": 35754, - "end": 35755, + "start": 36335, + "end": 36336, "loc": { "start": { - "line": 916, + "line": 917, "column": 9 }, "end": { - "line": 916, + "line": 917, "column": 10 } } @@ -219795,15 +220115,15 @@ "binop": null, "updateContext": null }, - "start": 35755, - "end": 35756, + "start": 36336, + "end": 36337, "loc": { "start": { - "line": 916, + "line": 917, "column": 10 }, "end": { - "line": 916, + "line": 917, "column": 11 } } @@ -219823,15 +220143,15 @@ "updateContext": null }, "value": "this", - "start": 35766, - "end": 35770, + "start": 36347, + "end": 36351, "loc": { "start": { - "line": 918, + "line": 919, "column": 8 }, "end": { - "line": 918, + "line": 919, "column": 12 } } @@ -219849,15 +220169,15 @@ "binop": null, "updateContext": null }, - "start": 35770, - "end": 35771, + "start": 36351, + "end": 36352, "loc": { "start": { - "line": 918, + "line": 919, "column": 12 }, "end": { - "line": 918, + "line": 919, "column": 13 } } @@ -219875,15 +220195,15 @@ "binop": null }, "value": "meshes", - "start": 35771, - "end": 35777, + "start": 36352, + "end": 36358, "loc": { "start": { - "line": 918, + "line": 919, "column": 13 }, "end": { - "line": 918, + "line": 919, "column": 19 } } @@ -219901,15 +220221,15 @@ "binop": null, "updateContext": null }, - "start": 35777, - "end": 35778, + "start": 36358, + "end": 36359, "loc": { "start": { - "line": 918, + "line": 919, "column": 19 }, "end": { - "line": 918, + "line": 919, "column": 20 } } @@ -219927,15 +220247,15 @@ "binop": null }, "value": "mesh", - "start": 35778, - "end": 35782, + "start": 36359, + "end": 36363, "loc": { "start": { - "line": 918, + "line": 919, "column": 20 }, "end": { - "line": 918, + "line": 919, "column": 24 } } @@ -219953,15 +220273,15 @@ "binop": null, "updateContext": null }, - "start": 35782, - "end": 35783, + "start": 36363, + "end": 36364, "loc": { "start": { - "line": 918, + "line": 919, "column": 24 }, "end": { - "line": 918, + "line": 919, "column": 25 } } @@ -219979,15 +220299,15 @@ "binop": null }, "value": "meshId", - "start": 35783, - "end": 35789, + "start": 36364, + "end": 36370, "loc": { "start": { - "line": 918, + "line": 919, "column": 25 }, "end": { - "line": 918, + "line": 919, "column": 31 } } @@ -220005,15 +220325,15 @@ "binop": null, "updateContext": null }, - "start": 35789, - "end": 35790, + "start": 36370, + "end": 36371, "loc": { "start": { - "line": 918, + "line": 919, "column": 31 }, "end": { - "line": 918, + "line": 919, "column": 32 } } @@ -220032,15 +220352,15 @@ "updateContext": null }, "value": "=", - "start": 35791, - "end": 35792, + "start": 36372, + "end": 36373, "loc": { "start": { - "line": 918, + "line": 919, "column": 33 }, "end": { - "line": 918, + "line": 919, "column": 34 } } @@ -220058,15 +220378,15 @@ "binop": null }, "value": "mesh", - "start": 35793, - "end": 35797, + "start": 36374, + "end": 36378, "loc": { "start": { - "line": 918, + "line": 919, "column": 35 }, "end": { - "line": 918, + "line": 919, "column": 39 } } @@ -220084,15 +220404,15 @@ "binop": null, "updateContext": null }, - "start": 35797, - "end": 35798, + "start": 36378, + "end": 36379, "loc": { "start": { - "line": 918, + "line": 919, "column": 39 }, "end": { - "line": 918, + "line": 919, "column": 40 } } @@ -220112,15 +220432,15 @@ "updateContext": null }, "value": "this", - "start": 35807, - "end": 35811, + "start": 36388, + "end": 36392, "loc": { "start": { - "line": 919, + "line": 920, "column": 8 }, "end": { - "line": 919, + "line": 920, "column": 12 } } @@ -220138,15 +220458,15 @@ "binop": null, "updateContext": null }, - "start": 35811, - "end": 35812, + "start": 36392, + "end": 36393, "loc": { "start": { - "line": 919, + "line": 920, "column": 12 }, "end": { - "line": 919, + "line": 920, "column": 13 } } @@ -220164,15 +220484,15 @@ "binop": null }, "value": "meshesList", - "start": 35812, - "end": 35822, + "start": 36393, + "end": 36403, "loc": { "start": { - "line": 919, + "line": 920, "column": 13 }, "end": { - "line": 919, + "line": 920, "column": 23 } } @@ -220190,15 +220510,15 @@ "binop": null, "updateContext": null }, - "start": 35822, - "end": 35823, + "start": 36403, + "end": 36404, "loc": { "start": { - "line": 919, + "line": 920, "column": 23 }, "end": { - "line": 919, + "line": 920, "column": 24 } } @@ -220216,15 +220536,15 @@ "binop": null }, "value": "push", - "start": 35823, - "end": 35827, + "start": 36404, + "end": 36408, "loc": { "start": { - "line": 919, + "line": 920, "column": 24 }, "end": { - "line": 919, + "line": 920, "column": 28 } } @@ -220241,15 +220561,15 @@ "postfix": false, "binop": null }, - "start": 35827, - "end": 35828, + "start": 36408, + "end": 36409, "loc": { "start": { - "line": 919, + "line": 920, "column": 28 }, "end": { - "line": 919, + "line": 920, "column": 29 } } @@ -220267,15 +220587,15 @@ "binop": null }, "value": "mesh", - "start": 35828, - "end": 35832, + "start": 36409, + "end": 36413, "loc": { "start": { - "line": 919, + "line": 920, "column": 29 }, "end": { - "line": 919, + "line": 920, "column": 33 } } @@ -220292,15 +220612,15 @@ "postfix": false, "binop": null }, - "start": 35832, - "end": 35833, + "start": 36413, + "end": 36414, "loc": { "start": { - "line": 919, + "line": 920, "column": 33 }, "end": { - "line": 919, + "line": 920, "column": 34 } } @@ -220318,15 +220638,15 @@ "binop": null, "updateContext": null }, - "start": 35833, - "end": 35834, + "start": 36414, + "end": 36415, "loc": { "start": { - "line": 919, + "line": 920, "column": 34 }, "end": { - "line": 919, + "line": 920, "column": 35 } } @@ -220346,15 +220666,15 @@ "updateContext": null }, "value": "return", - "start": 35844, - "end": 35850, + "start": 36425, + "end": 36431, "loc": { "start": { - "line": 921, + "line": 922, "column": 8 }, "end": { - "line": 921, + "line": 922, "column": 14 } } @@ -220372,15 +220692,15 @@ "binop": null }, "value": "mesh", - "start": 35851, - "end": 35855, + "start": 36432, + "end": 36436, "loc": { "start": { - "line": 921, + "line": 922, "column": 15 }, "end": { - "line": 921, + "line": 922, "column": 19 } } @@ -220398,15 +220718,15 @@ "binop": null, "updateContext": null }, - "start": 35855, - "end": 35856, + "start": 36436, + "end": 36437, "loc": { "start": { - "line": 921, + "line": 922, "column": 19 }, "end": { - "line": 921, + "line": 922, "column": 20 } } @@ -220423,15 +220743,15 @@ "postfix": false, "binop": null }, - "start": 35861, - "end": 35862, + "start": 36442, + "end": 36443, "loc": { "start": { - "line": 922, + "line": 923, "column": 4 }, "end": { - "line": 922, + "line": 923, "column": 5 } } @@ -220439,15 +220759,15 @@ { "type": "CommentBlock", "value": "*\n * Creates an {@link XKTEntity} within this XKTModel.\n *\n * Registers the new {@link XKTEntity} in {@link XKTModel#entities} and {@link XKTModel#entitiesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.entityId Unique ID for the {@link XKTEntity}.\n * @param {String[]} params.meshIds IDs of {@link XKTMesh}es used by the {@link XKTEntity}. Note that each {@link XKTMesh} can only be used by one {@link XKTEntity}.\n * @returns {XKTEntity} The new {@link XKTEntity}.\n ", - "start": 35868, - "end": 36515, + "start": 36449, + "end": 37096, "loc": { "start": { - "line": 924, + "line": 925, "column": 4 }, "end": { - "line": 935, + "line": 936, "column": 7 } } @@ -220465,15 +220785,15 @@ "binop": null }, "value": "createEntity", - "start": 36520, - "end": 36532, + "start": 37101, + "end": 37113, "loc": { "start": { - "line": 936, + "line": 937, "column": 4 }, "end": { - "line": 936, + "line": 937, "column": 16 } } @@ -220490,15 +220810,15 @@ "postfix": false, "binop": null }, - "start": 36532, - "end": 36533, + "start": 37113, + "end": 37114, "loc": { "start": { - "line": 936, + "line": 937, "column": 16 }, "end": { - "line": 936, + "line": 937, "column": 17 } } @@ -220516,15 +220836,15 @@ "binop": null }, "value": "params", - "start": 36533, - "end": 36539, + "start": 37114, + "end": 37120, "loc": { "start": { - "line": 936, + "line": 937, "column": 17 }, "end": { - "line": 936, + "line": 937, "column": 23 } } @@ -220541,15 +220861,15 @@ "postfix": false, "binop": null }, - "start": 36539, - "end": 36540, + "start": 37120, + "end": 37121, "loc": { "start": { - "line": 936, + "line": 937, "column": 23 }, "end": { - "line": 936, + "line": 937, "column": 24 } } @@ -220566,15 +220886,15 @@ "postfix": false, "binop": null }, - "start": 36541, - "end": 36542, + "start": 37122, + "end": 37123, "loc": { "start": { - "line": 936, + "line": 937, "column": 25 }, "end": { - "line": 936, + "line": 937, "column": 26 } } @@ -220594,15 +220914,15 @@ "updateContext": null }, "value": "if", - "start": 36552, - "end": 36554, + "start": 37133, + "end": 37135, "loc": { "start": { - "line": 938, + "line": 939, "column": 8 }, "end": { - "line": 938, + "line": 939, "column": 10 } } @@ -220619,15 +220939,15 @@ "postfix": false, "binop": null }, - "start": 36555, - "end": 36556, + "start": 37136, + "end": 37137, "loc": { "start": { - "line": 938, + "line": 939, "column": 11 }, "end": { - "line": 938, + "line": 939, "column": 12 } } @@ -220646,15 +220966,15 @@ "updateContext": null }, "value": "!", - "start": 36556, - "end": 36557, + "start": 37137, + "end": 37138, "loc": { "start": { - "line": 938, + "line": 939, "column": 12 }, "end": { - "line": 938, + "line": 939, "column": 13 } } @@ -220672,15 +220992,15 @@ "binop": null }, "value": "params", - "start": 36557, - "end": 36563, + "start": 37138, + "end": 37144, "loc": { "start": { - "line": 938, + "line": 939, "column": 13 }, "end": { - "line": 938, + "line": 939, "column": 19 } } @@ -220697,15 +221017,15 @@ "postfix": false, "binop": null }, - "start": 36563, - "end": 36564, + "start": 37144, + "end": 37145, "loc": { "start": { - "line": 938, + "line": 939, "column": 19 }, "end": { - "line": 938, + "line": 939, "column": 20 } } @@ -220722,15 +221042,15 @@ "postfix": false, "binop": null }, - "start": 36565, - "end": 36566, + "start": 37146, + "end": 37147, "loc": { "start": { - "line": 938, + "line": 939, "column": 21 }, "end": { - "line": 938, + "line": 939, "column": 22 } } @@ -220750,15 +221070,15 @@ "updateContext": null }, "value": "throw", - "start": 36579, - "end": 36584, + "start": 37160, + "end": 37165, "loc": { "start": { - "line": 939, + "line": 940, "column": 12 }, "end": { - "line": 939, + "line": 940, "column": 17 } } @@ -220776,17 +221096,17 @@ "binop": null, "updateContext": null }, - "value": "Parameters expected: params", - "start": 36585, - "end": 36614, + "value": "[XKTModel.createEntity] Parameters expected: params", + "start": 37166, + "end": 37219, "loc": { "start": { - "line": 939, + "line": 940, "column": 18 }, "end": { - "line": 939, - "column": 47 + "line": 940, + "column": 71 } } }, @@ -220803,16 +221123,16 @@ "binop": null, "updateContext": null }, - "start": 36614, - "end": 36615, + "start": 37219, + "end": 37220, "loc": { "start": { - "line": 939, - "column": 47 + "line": 940, + "column": 71 }, "end": { - "line": 939, - "column": 48 + "line": 940, + "column": 72 } } }, @@ -220828,15 +221148,15 @@ "postfix": false, "binop": null }, - "start": 36624, - "end": 36625, + "start": 37229, + "end": 37230, "loc": { "start": { - "line": 940, + "line": 941, "column": 8 }, "end": { - "line": 940, + "line": 941, "column": 9 } } @@ -220856,15 +221176,15 @@ "updateContext": null }, "value": "if", - "start": 36635, - "end": 36637, + "start": 37240, + "end": 37242, "loc": { "start": { - "line": 942, + "line": 943, "column": 8 }, "end": { - "line": 942, + "line": 943, "column": 10 } } @@ -220881,15 +221201,15 @@ "postfix": false, "binop": null }, - "start": 36638, - "end": 36639, + "start": 37243, + "end": 37244, "loc": { "start": { - "line": 942, + "line": 943, "column": 11 }, "end": { - "line": 942, + "line": 943, "column": 12 } } @@ -220907,15 +221227,15 @@ "binop": null }, "value": "params", - "start": 36639, - "end": 36645, + "start": 37244, + "end": 37250, "loc": { "start": { - "line": 942, + "line": 943, "column": 12 }, "end": { - "line": 942, + "line": 943, "column": 18 } } @@ -220933,15 +221253,15 @@ "binop": null, "updateContext": null }, - "start": 36645, - "end": 36646, + "start": 37250, + "end": 37251, "loc": { "start": { - "line": 942, + "line": 943, "column": 18 }, "end": { - "line": 942, + "line": 943, "column": 19 } } @@ -220959,15 +221279,15 @@ "binop": null }, "value": "entityId", - "start": 36646, - "end": 36654, + "start": 37251, + "end": 37259, "loc": { "start": { - "line": 942, + "line": 943, "column": 19 }, "end": { - "line": 942, + "line": 943, "column": 27 } } @@ -220986,15 +221306,15 @@ "updateContext": null }, "value": "===", - "start": 36655, - "end": 36658, + "start": 37260, + "end": 37263, "loc": { "start": { - "line": 942, + "line": 943, "column": 28 }, "end": { - "line": 942, + "line": 943, "column": 31 } } @@ -221014,15 +221334,15 @@ "updateContext": null }, "value": "null", - "start": 36659, - "end": 36663, + "start": 37264, + "end": 37268, "loc": { "start": { - "line": 942, + "line": 943, "column": 32 }, "end": { - "line": 942, + "line": 943, "column": 36 } } @@ -221041,15 +221361,15 @@ "updateContext": null }, "value": "||", - "start": 36664, - "end": 36666, + "start": 37269, + "end": 37271, "loc": { "start": { - "line": 942, + "line": 943, "column": 37 }, "end": { - "line": 942, + "line": 943, "column": 39 } } @@ -221067,15 +221387,15 @@ "binop": null }, "value": "params", - "start": 36667, - "end": 36673, + "start": 37272, + "end": 37278, "loc": { "start": { - "line": 942, + "line": 943, "column": 40 }, "end": { - "line": 942, + "line": 943, "column": 46 } } @@ -221093,15 +221413,15 @@ "binop": null, "updateContext": null }, - "start": 36673, - "end": 36674, + "start": 37278, + "end": 37279, "loc": { "start": { - "line": 942, + "line": 943, "column": 46 }, "end": { - "line": 942, + "line": 943, "column": 47 } } @@ -221119,15 +221439,15 @@ "binop": null }, "value": "entityId", - "start": 36674, - "end": 36682, + "start": 37279, + "end": 37287, "loc": { "start": { - "line": 942, + "line": 943, "column": 47 }, "end": { - "line": 942, + "line": 943, "column": 55 } } @@ -221146,15 +221466,15 @@ "updateContext": null }, "value": "===", - "start": 36683, - "end": 36686, + "start": 37288, + "end": 37291, "loc": { "start": { - "line": 942, + "line": 943, "column": 56 }, "end": { - "line": 942, + "line": 943, "column": 59 } } @@ -221172,15 +221492,15 @@ "binop": null }, "value": "undefined", - "start": 36687, - "end": 36696, + "start": 37292, + "end": 37301, "loc": { "start": { - "line": 942, + "line": 943, "column": 60 }, "end": { - "line": 942, + "line": 943, "column": 69 } } @@ -221197,15 +221517,15 @@ "postfix": false, "binop": null }, - "start": 36696, - "end": 36697, + "start": 37301, + "end": 37302, "loc": { "start": { - "line": 942, + "line": 943, "column": 69 }, "end": { - "line": 942, + "line": 943, "column": 70 } } @@ -221222,15 +221542,15 @@ "postfix": false, "binop": null }, - "start": 36698, - "end": 36699, + "start": 37303, + "end": 37304, "loc": { "start": { - "line": 942, + "line": 943, "column": 71 }, "end": { - "line": 942, + "line": 943, "column": 72 } } @@ -221250,15 +221570,15 @@ "updateContext": null }, "value": "throw", - "start": 36712, - "end": 36717, + "start": 37317, + "end": 37322, "loc": { "start": { - "line": 943, + "line": 944, "column": 12 }, "end": { - "line": 943, + "line": 944, "column": 17 } } @@ -221276,17 +221596,17 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.entityId", - "start": 36718, - "end": 36755, + "value": "[XKTModel.createEntity] Parameter expected: params.entityId", + "start": 37323, + "end": 37384, "loc": { "start": { - "line": 943, + "line": 944, "column": 18 }, "end": { - "line": 943, - "column": 55 + "line": 944, + "column": 79 } } }, @@ -221303,16 +221623,16 @@ "binop": null, "updateContext": null }, - "start": 36755, - "end": 36756, + "start": 37384, + "end": 37385, "loc": { "start": { - "line": 943, - "column": 55 + "line": 944, + "column": 79 }, "end": { - "line": 943, - "column": 56 + "line": 944, + "column": 80 } } }, @@ -221328,15 +221648,15 @@ "postfix": false, "binop": null }, - "start": 36765, - "end": 36766, + "start": 37394, + "end": 37395, "loc": { "start": { - "line": 944, + "line": 945, "column": 8 }, "end": { - "line": 944, + "line": 945, "column": 9 } } @@ -221356,15 +221676,15 @@ "updateContext": null }, "value": "if", - "start": 36776, - "end": 36778, + "start": 37405, + "end": 37407, "loc": { "start": { - "line": 946, + "line": 947, "column": 8 }, "end": { - "line": 946, + "line": 947, "column": 10 } } @@ -221381,15 +221701,15 @@ "postfix": false, "binop": null }, - "start": 36779, - "end": 36780, + "start": 37408, + "end": 37409, "loc": { "start": { - "line": 946, + "line": 947, "column": 11 }, "end": { - "line": 946, + "line": 947, "column": 12 } } @@ -221408,15 +221728,15 @@ "updateContext": null }, "value": "!", - "start": 36780, - "end": 36781, + "start": 37409, + "end": 37410, "loc": { "start": { - "line": 946, + "line": 947, "column": 12 }, "end": { - "line": 946, + "line": 947, "column": 13 } } @@ -221434,15 +221754,15 @@ "binop": null }, "value": "params", - "start": 36781, - "end": 36787, + "start": 37410, + "end": 37416, "loc": { "start": { - "line": 946, + "line": 947, "column": 13 }, "end": { - "line": 946, + "line": 947, "column": 19 } } @@ -221460,15 +221780,15 @@ "binop": null, "updateContext": null }, - "start": 36787, - "end": 36788, + "start": 37416, + "end": 37417, "loc": { "start": { - "line": 946, + "line": 947, "column": 19 }, "end": { - "line": 946, + "line": 947, "column": 20 } } @@ -221486,15 +221806,15 @@ "binop": null }, "value": "meshIds", - "start": 36788, - "end": 36795, + "start": 37417, + "end": 37424, "loc": { "start": { - "line": 946, + "line": 947, "column": 20 }, "end": { - "line": 946, + "line": 947, "column": 27 } } @@ -221511,15 +221831,15 @@ "postfix": false, "binop": null }, - "start": 36795, - "end": 36796, + "start": 37424, + "end": 37425, "loc": { "start": { - "line": 946, + "line": 947, "column": 27 }, "end": { - "line": 946, + "line": 947, "column": 28 } } @@ -221536,15 +221856,15 @@ "postfix": false, "binop": null }, - "start": 36797, - "end": 36798, + "start": 37426, + "end": 37427, "loc": { "start": { - "line": 946, + "line": 947, "column": 29 }, "end": { - "line": 946, + "line": 947, "column": 30 } } @@ -221564,15 +221884,15 @@ "updateContext": null }, "value": "throw", - "start": 36811, - "end": 36816, + "start": 37440, + "end": 37445, "loc": { "start": { - "line": 947, + "line": 948, "column": 12 }, "end": { - "line": 947, + "line": 948, "column": 17 } } @@ -221590,17 +221910,17 @@ "binop": null, "updateContext": null }, - "value": "Parameter expected: params.meshIds", - "start": 36817, - "end": 36853, + "value": "[XKTModel.createEntity] Parameter expected: params.meshIds", + "start": 37446, + "end": 37506, "loc": { "start": { - "line": 947, + "line": 948, "column": 18 }, "end": { - "line": 947, - "column": 54 + "line": 948, + "column": 78 } } }, @@ -221617,16 +221937,16 @@ "binop": null, "updateContext": null }, - "start": 36853, - "end": 36854, + "start": 37506, + "end": 37507, "loc": { "start": { - "line": 947, - "column": 54 + "line": 948, + "column": 78 }, "end": { - "line": 947, - "column": 55 + "line": 948, + "column": 79 } } }, @@ -221642,15 +221962,15 @@ "postfix": false, "binop": null }, - "start": 36863, - "end": 36864, + "start": 37516, + "end": 37517, "loc": { "start": { - "line": 948, + "line": 949, "column": 8 }, "end": { - "line": 948, + "line": 949, "column": 9 } } @@ -221670,15 +221990,15 @@ "updateContext": null }, "value": "if", - "start": 36874, - "end": 36876, + "start": 37527, + "end": 37529, "loc": { "start": { - "line": 950, + "line": 951, "column": 8 }, "end": { - "line": 950, + "line": 951, "column": 10 } } @@ -221695,15 +222015,15 @@ "postfix": false, "binop": null }, - "start": 36877, - "end": 36878, + "start": 37530, + "end": 37531, "loc": { "start": { - "line": 950, + "line": 951, "column": 11 }, "end": { - "line": 950, + "line": 951, "column": 12 } } @@ -221723,15 +222043,15 @@ "updateContext": null }, "value": "this", - "start": 36878, - "end": 36882, + "start": 37531, + "end": 37535, "loc": { "start": { - "line": 950, + "line": 951, "column": 12 }, "end": { - "line": 950, + "line": 951, "column": 16 } } @@ -221749,15 +222069,15 @@ "binop": null, "updateContext": null }, - "start": 36882, - "end": 36883, + "start": 37535, + "end": 37536, "loc": { "start": { - "line": 950, + "line": 951, "column": 16 }, "end": { - "line": 950, + "line": 951, "column": 17 } } @@ -221775,15 +222095,15 @@ "binop": null }, "value": "finalized", - "start": 36883, - "end": 36892, + "start": 37536, + "end": 37545, "loc": { "start": { - "line": 950, + "line": 951, "column": 17 }, "end": { - "line": 950, + "line": 951, "column": 26 } } @@ -221800,15 +222120,15 @@ "postfix": false, "binop": null }, - "start": 36892, - "end": 36893, + "start": 37545, + "end": 37546, "loc": { "start": { - "line": 950, + "line": 951, "column": 26 }, "end": { - "line": 950, + "line": 951, "column": 27 } } @@ -221825,15 +222145,15 @@ "postfix": false, "binop": null }, - "start": 36894, - "end": 36895, + "start": 37547, + "end": 37548, "loc": { "start": { - "line": 950, + "line": 951, "column": 28 }, "end": { - "line": 950, + "line": 951, "column": 29 } } @@ -221851,15 +222171,15 @@ "binop": null }, "value": "console", - "start": 36908, - "end": 36915, + "start": 37561, + "end": 37568, "loc": { "start": { - "line": 951, + "line": 952, "column": 12 }, "end": { - "line": 951, + "line": 952, "column": 19 } } @@ -221877,15 +222197,15 @@ "binop": null, "updateContext": null }, - "start": 36915, - "end": 36916, + "start": 37568, + "end": 37569, "loc": { "start": { - "line": 951, + "line": 952, "column": 19 }, "end": { - "line": 951, + "line": 952, "column": 20 } } @@ -221903,15 +222223,15 @@ "binop": null }, "value": "error", - "start": 36916, - "end": 36921, + "start": 37569, + "end": 37574, "loc": { "start": { - "line": 951, + "line": 952, "column": 20 }, "end": { - "line": 951, + "line": 952, "column": 25 } } @@ -221928,15 +222248,15 @@ "postfix": false, "binop": null }, - "start": 36921, - "end": 36922, + "start": 37574, + "end": 37575, "loc": { "start": { - "line": 951, + "line": 952, "column": 25 }, "end": { - "line": 951, + "line": 952, "column": 26 } } @@ -221955,15 +222275,15 @@ "updateContext": null }, "value": "XKTModel has been finalized, can't add more entities", - "start": 36922, - "end": 36976, + "start": 37575, + "end": 37629, "loc": { "start": { - "line": 951, + "line": 952, "column": 26 }, "end": { - "line": 951, + "line": 952, "column": 80 } } @@ -221980,15 +222300,15 @@ "postfix": false, "binop": null }, - "start": 36976, - "end": 36977, + "start": 37629, + "end": 37630, "loc": { "start": { - "line": 951, + "line": 952, "column": 80 }, "end": { - "line": 951, + "line": 952, "column": 81 } } @@ -222006,15 +222326,15 @@ "binop": null, "updateContext": null }, - "start": 36977, - "end": 36978, + "start": 37630, + "end": 37631, "loc": { "start": { - "line": 951, + "line": 952, "column": 81 }, "end": { - "line": 951, + "line": 952, "column": 82 } } @@ -222034,15 +222354,15 @@ "updateContext": null }, "value": "return", - "start": 36991, - "end": 36997, + "start": 37644, + "end": 37650, "loc": { "start": { - "line": 952, + "line": 953, "column": 12 }, "end": { - "line": 952, + "line": 953, "column": 18 } } @@ -222060,15 +222380,15 @@ "binop": null, "updateContext": null }, - "start": 36997, - "end": 36998, + "start": 37650, + "end": 37651, "loc": { "start": { - "line": 952, + "line": 953, "column": 18 }, "end": { - "line": 952, + "line": 953, "column": 19 } } @@ -222085,15 +222405,15 @@ "postfix": false, "binop": null }, - "start": 37007, - "end": 37008, + "start": 37660, + "end": 37661, "loc": { "start": { - "line": 953, + "line": 954, "column": 8 }, "end": { - "line": 953, + "line": 954, "column": 9 } } @@ -222113,15 +222433,15 @@ "updateContext": null }, "value": "if", - "start": 37018, - "end": 37020, + "start": 37671, + "end": 37673, "loc": { "start": { - "line": 955, + "line": 956, "column": 8 }, "end": { - "line": 955, + "line": 956, "column": 10 } } @@ -222138,15 +222458,15 @@ "postfix": false, "binop": null }, - "start": 37021, - "end": 37022, + "start": 37674, + "end": 37675, "loc": { "start": { - "line": 955, + "line": 956, "column": 11 }, "end": { - "line": 955, + "line": 956, "column": 12 } } @@ -222164,15 +222484,15 @@ "binop": null }, "value": "params", - "start": 37022, - "end": 37028, + "start": 37675, + "end": 37681, "loc": { "start": { - "line": 955, + "line": 956, "column": 12 }, "end": { - "line": 955, + "line": 956, "column": 18 } } @@ -222190,15 +222510,15 @@ "binop": null, "updateContext": null }, - "start": 37028, - "end": 37029, + "start": 37681, + "end": 37682, "loc": { "start": { - "line": 955, + "line": 956, "column": 18 }, "end": { - "line": 955, + "line": 956, "column": 19 } } @@ -222216,15 +222536,15 @@ "binop": null }, "value": "meshIds", - "start": 37029, - "end": 37036, + "start": 37682, + "end": 37689, "loc": { "start": { - "line": 955, + "line": 956, "column": 19 }, "end": { - "line": 955, + "line": 956, "column": 26 } } @@ -222242,15 +222562,15 @@ "binop": null, "updateContext": null }, - "start": 37036, - "end": 37037, + "start": 37689, + "end": 37690, "loc": { "start": { - "line": 955, + "line": 956, "column": 26 }, "end": { - "line": 955, + "line": 956, "column": 27 } } @@ -222268,15 +222588,15 @@ "binop": null }, "value": "length", - "start": 37037, - "end": 37043, + "start": 37690, + "end": 37696, "loc": { "start": { - "line": 955, + "line": 956, "column": 27 }, "end": { - "line": 955, + "line": 956, "column": 33 } } @@ -222295,15 +222615,15 @@ "updateContext": null }, "value": "===", - "start": 37044, - "end": 37047, + "start": 37697, + "end": 37700, "loc": { "start": { - "line": 955, + "line": 956, "column": 34 }, "end": { - "line": 955, + "line": 956, "column": 37 } } @@ -222322,15 +222642,15 @@ "updateContext": null }, "value": 0, - "start": 37048, - "end": 37049, + "start": 37701, + "end": 37702, "loc": { "start": { - "line": 955, + "line": 956, "column": 38 }, "end": { - "line": 955, + "line": 956, "column": 39 } } @@ -222347,15 +222667,15 @@ "postfix": false, "binop": null }, - "start": 37049, - "end": 37050, + "start": 37702, + "end": 37703, "loc": { "start": { - "line": 955, + "line": 956, "column": 39 }, "end": { - "line": 955, + "line": 956, "column": 40 } } @@ -222372,15 +222692,15 @@ "postfix": false, "binop": null }, - "start": 37051, - "end": 37052, + "start": 37704, + "end": 37705, "loc": { "start": { - "line": 955, + "line": 956, "column": 41 }, "end": { - "line": 955, + "line": 956, "column": 42 } } @@ -222398,15 +222718,15 @@ "binop": null }, "value": "console", - "start": 37065, - "end": 37072, + "start": 37718, + "end": 37725, "loc": { "start": { - "line": 956, + "line": 957, "column": 12 }, "end": { - "line": 956, + "line": 957, "column": 19 } } @@ -222424,15 +222744,15 @@ "binop": null, "updateContext": null }, - "start": 37072, - "end": 37073, + "start": 37725, + "end": 37726, "loc": { "start": { - "line": 956, + "line": 957, "column": 19 }, "end": { - "line": 956, + "line": 957, "column": 20 } } @@ -222450,15 +222770,15 @@ "binop": null }, "value": "warn", - "start": 37073, - "end": 37077, + "start": 37726, + "end": 37730, "loc": { "start": { - "line": 956, + "line": 957, "column": 20 }, "end": { - "line": 956, + "line": 957, "column": 24 } } @@ -222475,15 +222795,15 @@ "postfix": false, "binop": null }, - "start": 37077, - "end": 37078, + "start": 37730, + "end": 37731, "loc": { "start": { - "line": 956, + "line": 957, "column": 24 }, "end": { - "line": 956, + "line": 957, "column": 25 } } @@ -222502,15 +222822,15 @@ "updateContext": null }, "value": "XKTEntity has no meshes - won't create: ", - "start": 37078, - "end": 37120, + "start": 37731, + "end": 37773, "loc": { "start": { - "line": 956, + "line": 957, "column": 25 }, "end": { - "line": 956, + "line": 957, "column": 67 } } @@ -222529,15 +222849,15 @@ "updateContext": null }, "value": "+", - "start": 37121, - "end": 37122, + "start": 37774, + "end": 37775, "loc": { "start": { - "line": 956, + "line": 957, "column": 68 }, "end": { - "line": 956, + "line": 957, "column": 69 } } @@ -222555,15 +222875,15 @@ "binop": null }, "value": "params", - "start": 37123, - "end": 37129, + "start": 37776, + "end": 37782, "loc": { "start": { - "line": 956, + "line": 957, "column": 70 }, "end": { - "line": 956, + "line": 957, "column": 76 } } @@ -222581,15 +222901,15 @@ "binop": null, "updateContext": null }, - "start": 37129, - "end": 37130, + "start": 37782, + "end": 37783, "loc": { "start": { - "line": 956, + "line": 957, "column": 76 }, "end": { - "line": 956, + "line": 957, "column": 77 } } @@ -222607,15 +222927,15 @@ "binop": null }, "value": "entityId", - "start": 37130, - "end": 37138, + "start": 37783, + "end": 37791, "loc": { "start": { - "line": 956, + "line": 957, "column": 77 }, "end": { - "line": 956, + "line": 957, "column": 85 } } @@ -222632,15 +222952,15 @@ "postfix": false, "binop": null }, - "start": 37138, - "end": 37139, + "start": 37791, + "end": 37792, "loc": { "start": { - "line": 956, + "line": 957, "column": 85 }, "end": { - "line": 956, + "line": 957, "column": 86 } } @@ -222658,15 +222978,15 @@ "binop": null, "updateContext": null }, - "start": 37139, - "end": 37140, + "start": 37792, + "end": 37793, "loc": { "start": { - "line": 956, + "line": 957, "column": 86 }, "end": { - "line": 956, + "line": 957, "column": 87 } } @@ -222686,15 +223006,15 @@ "updateContext": null }, "value": "return", - "start": 37153, - "end": 37159, + "start": 37806, + "end": 37812, "loc": { "start": { - "line": 957, + "line": 958, "column": 12 }, "end": { - "line": 957, + "line": 958, "column": 18 } } @@ -222712,15 +223032,15 @@ "binop": null, "updateContext": null }, - "start": 37159, - "end": 37160, + "start": 37812, + "end": 37813, "loc": { "start": { - "line": 957, + "line": 958, "column": 18 }, "end": { - "line": 957, + "line": 958, "column": 19 } } @@ -222737,15 +223057,15 @@ "postfix": false, "binop": null }, - "start": 37169, - "end": 37170, + "start": 37822, + "end": 37823, "loc": { "start": { - "line": 958, + "line": 959, "column": 8 }, "end": { - "line": 958, + "line": 959, "column": 9 } } @@ -222765,15 +223085,15 @@ "updateContext": null }, "value": "let", - "start": 37180, - "end": 37183, + "start": 37833, + "end": 37836, "loc": { "start": { - "line": 960, + "line": 961, "column": 8 }, "end": { - "line": 960, + "line": 961, "column": 11 } } @@ -222791,15 +223111,15 @@ "binop": null }, "value": "entityId", - "start": 37184, - "end": 37192, + "start": 37837, + "end": 37845, "loc": { "start": { - "line": 960, + "line": 961, "column": 12 }, "end": { - "line": 960, + "line": 961, "column": 20 } } @@ -222818,15 +223138,15 @@ "updateContext": null }, "value": "=", - "start": 37193, - "end": 37194, + "start": 37846, + "end": 37847, "loc": { "start": { - "line": 960, + "line": 961, "column": 21 }, "end": { - "line": 960, + "line": 961, "column": 22 } } @@ -222844,15 +223164,15 @@ "binop": null }, "value": "params", - "start": 37195, - "end": 37201, + "start": 37848, + "end": 37854, "loc": { "start": { - "line": 960, + "line": 961, "column": 23 }, "end": { - "line": 960, + "line": 961, "column": 29 } } @@ -222870,15 +223190,15 @@ "binop": null, "updateContext": null }, - "start": 37201, - "end": 37202, + "start": 37854, + "end": 37855, "loc": { "start": { - "line": 960, + "line": 961, "column": 29 }, "end": { - "line": 960, + "line": 961, "column": 30 } } @@ -222896,15 +223216,15 @@ "binop": null }, "value": "entityId", - "start": 37202, - "end": 37210, + "start": 37855, + "end": 37863, "loc": { "start": { - "line": 960, + "line": 961, "column": 30 }, "end": { - "line": 960, + "line": 961, "column": 38 } } @@ -222922,15 +223242,15 @@ "binop": null, "updateContext": null }, - "start": 37210, - "end": 37211, + "start": 37863, + "end": 37864, "loc": { "start": { - "line": 960, + "line": 961, "column": 38 }, "end": { - "line": 960, + "line": 961, "column": 39 } } @@ -222950,15 +223270,15 @@ "updateContext": null }, "value": "if", - "start": 37221, - "end": 37223, + "start": 37874, + "end": 37876, "loc": { "start": { - "line": 962, + "line": 963, "column": 8 }, "end": { - "line": 962, + "line": 963, "column": 10 } } @@ -222975,15 +223295,15 @@ "postfix": false, "binop": null }, - "start": 37224, - "end": 37225, + "start": 37877, + "end": 37878, "loc": { "start": { - "line": 962, + "line": 963, "column": 11 }, "end": { - "line": 962, + "line": 963, "column": 12 } } @@ -223003,15 +223323,15 @@ "updateContext": null }, "value": "this", - "start": 37225, - "end": 37229, + "start": 37878, + "end": 37882, "loc": { "start": { - "line": 962, + "line": 963, "column": 12 }, "end": { - "line": 962, + "line": 963, "column": 16 } } @@ -223029,15 +223349,15 @@ "binop": null, "updateContext": null }, - "start": 37229, - "end": 37230, + "start": 37882, + "end": 37883, "loc": { "start": { - "line": 962, + "line": 963, "column": 16 }, "end": { - "line": 962, + "line": 963, "column": 17 } } @@ -223055,15 +223375,15 @@ "binop": null }, "value": "entities", - "start": 37230, - "end": 37238, + "start": 37883, + "end": 37891, "loc": { "start": { - "line": 962, + "line": 963, "column": 17 }, "end": { - "line": 962, + "line": 963, "column": 25 } } @@ -223081,15 +223401,15 @@ "binop": null, "updateContext": null }, - "start": 37238, - "end": 37239, + "start": 37891, + "end": 37892, "loc": { "start": { - "line": 962, + "line": 963, "column": 25 }, "end": { - "line": 962, + "line": 963, "column": 26 } } @@ -223107,15 +223427,15 @@ "binop": null }, "value": "entityId", - "start": 37239, - "end": 37247, + "start": 37892, + "end": 37900, "loc": { "start": { - "line": 962, + "line": 963, "column": 26 }, "end": { - "line": 962, + "line": 963, "column": 34 } } @@ -223133,15 +223453,15 @@ "binop": null, "updateContext": null }, - "start": 37247, - "end": 37248, + "start": 37900, + "end": 37901, "loc": { "start": { - "line": 962, + "line": 963, "column": 34 }, "end": { - "line": 962, + "line": 963, "column": 35 } } @@ -223158,15 +223478,15 @@ "postfix": false, "binop": null }, - "start": 37248, - "end": 37249, + "start": 37901, + "end": 37902, "loc": { "start": { - "line": 962, + "line": 963, "column": 35 }, "end": { - "line": 962, + "line": 963, "column": 36 } } @@ -223183,15 +223503,15 @@ "postfix": false, "binop": null }, - "start": 37250, - "end": 37251, + "start": 37903, + "end": 37904, "loc": { "start": { - "line": 962, + "line": 963, "column": 37 }, "end": { - "line": 962, + "line": 963, "column": 38 } } @@ -223211,15 +223531,15 @@ "updateContext": null }, "value": "while", - "start": 37264, - "end": 37269, + "start": 37917, + "end": 37922, "loc": { "start": { - "line": 963, + "line": 964, "column": 12 }, "end": { - "line": 963, + "line": 964, "column": 17 } } @@ -223236,15 +223556,15 @@ "postfix": false, "binop": null }, - "start": 37270, - "end": 37271, + "start": 37923, + "end": 37924, "loc": { "start": { - "line": 963, + "line": 964, "column": 18 }, "end": { - "line": 963, + "line": 964, "column": 19 } } @@ -223264,15 +223584,15 @@ "updateContext": null }, "value": "this", - "start": 37271, - "end": 37275, + "start": 37924, + "end": 37928, "loc": { "start": { - "line": 963, + "line": 964, "column": 19 }, "end": { - "line": 963, + "line": 964, "column": 23 } } @@ -223290,15 +223610,15 @@ "binop": null, "updateContext": null }, - "start": 37275, - "end": 37276, + "start": 37928, + "end": 37929, "loc": { "start": { - "line": 963, + "line": 964, "column": 23 }, "end": { - "line": 963, + "line": 964, "column": 24 } } @@ -223316,15 +223636,15 @@ "binop": null }, "value": "entities", - "start": 37276, - "end": 37284, + "start": 37929, + "end": 37937, "loc": { "start": { - "line": 963, + "line": 964, "column": 24 }, "end": { - "line": 963, + "line": 964, "column": 32 } } @@ -223342,15 +223662,15 @@ "binop": null, "updateContext": null }, - "start": 37284, - "end": 37285, + "start": 37937, + "end": 37938, "loc": { "start": { - "line": 963, + "line": 964, "column": 32 }, "end": { - "line": 963, + "line": 964, "column": 33 } } @@ -223368,15 +223688,15 @@ "binop": null }, "value": "entityId", - "start": 37285, - "end": 37293, + "start": 37938, + "end": 37946, "loc": { "start": { - "line": 963, + "line": 964, "column": 33 }, "end": { - "line": 963, + "line": 964, "column": 41 } } @@ -223394,15 +223714,15 @@ "binop": null, "updateContext": null }, - "start": 37293, - "end": 37294, + "start": 37946, + "end": 37947, "loc": { "start": { - "line": 963, + "line": 964, "column": 41 }, "end": { - "line": 963, + "line": 964, "column": 42 } } @@ -223419,15 +223739,15 @@ "postfix": false, "binop": null }, - "start": 37294, - "end": 37295, + "start": 37947, + "end": 37948, "loc": { "start": { - "line": 963, + "line": 964, "column": 42 }, "end": { - "line": 963, + "line": 964, "column": 43 } } @@ -223444,15 +223764,15 @@ "postfix": false, "binop": null }, - "start": 37296, - "end": 37297, + "start": 37949, + "end": 37950, "loc": { "start": { - "line": 963, + "line": 964, "column": 44 }, "end": { - "line": 963, + "line": 964, "column": 45 } } @@ -223470,15 +223790,15 @@ "binop": null }, "value": "entityId", - "start": 37314, - "end": 37322, + "start": 37967, + "end": 37975, "loc": { "start": { - "line": 964, + "line": 965, "column": 16 }, "end": { - "line": 964, + "line": 965, "column": 24 } } @@ -223497,15 +223817,15 @@ "updateContext": null }, "value": "=", - "start": 37323, - "end": 37324, + "start": 37976, + "end": 37977, "loc": { "start": { - "line": 964, + "line": 965, "column": 25 }, "end": { - "line": 964, + "line": 965, "column": 26 } } @@ -223523,15 +223843,15 @@ "binop": null }, "value": "math", - "start": 37325, - "end": 37329, + "start": 37978, + "end": 37982, "loc": { "start": { - "line": 964, + "line": 965, "column": 27 }, "end": { - "line": 964, + "line": 965, "column": 31 } } @@ -223549,15 +223869,15 @@ "binop": null, "updateContext": null }, - "start": 37329, - "end": 37330, + "start": 37982, + "end": 37983, "loc": { "start": { - "line": 964, + "line": 965, "column": 31 }, "end": { - "line": 964, + "line": 965, "column": 32 } } @@ -223575,15 +223895,15 @@ "binop": null }, "value": "createUUID", - "start": 37330, - "end": 37340, + "start": 37983, + "end": 37993, "loc": { "start": { - "line": 964, + "line": 965, "column": 32 }, "end": { - "line": 964, + "line": 965, "column": 42 } } @@ -223600,15 +223920,15 @@ "postfix": false, "binop": null }, - "start": 37340, - "end": 37341, + "start": 37993, + "end": 37994, "loc": { "start": { - "line": 964, + "line": 965, "column": 42 }, "end": { - "line": 964, + "line": 965, "column": 43 } } @@ -223625,15 +223945,15 @@ "postfix": false, "binop": null }, - "start": 37341, - "end": 37342, + "start": 37994, + "end": 37995, "loc": { "start": { - "line": 964, + "line": 965, "column": 43 }, "end": { - "line": 964, + "line": 965, "column": 44 } } @@ -223651,15 +223971,15 @@ "binop": null, "updateContext": null }, - "start": 37342, - "end": 37343, + "start": 37995, + "end": 37996, "loc": { "start": { - "line": 964, + "line": 965, "column": 44 }, "end": { - "line": 964, + "line": 965, "column": 45 } } @@ -223676,15 +223996,15 @@ "postfix": false, "binop": null }, - "start": 37356, - "end": 37357, + "start": 38009, + "end": 38010, "loc": { "start": { - "line": 965, + "line": 966, "column": 12 }, "end": { - "line": 965, + "line": 966, "column": 13 } } @@ -223702,15 +224022,15 @@ "binop": null }, "value": "console", - "start": 37370, - "end": 37377, + "start": 38023, + "end": 38030, "loc": { "start": { - "line": 966, + "line": 967, "column": 12 }, "end": { - "line": 966, + "line": 967, "column": 19 } } @@ -223728,15 +224048,15 @@ "binop": null, "updateContext": null }, - "start": 37377, - "end": 37378, + "start": 38030, + "end": 38031, "loc": { "start": { - "line": 966, + "line": 967, "column": 19 }, "end": { - "line": 966, + "line": 967, "column": 20 } } @@ -223754,15 +224074,15 @@ "binop": null }, "value": "error", - "start": 37378, - "end": 37383, + "start": 38031, + "end": 38036, "loc": { "start": { - "line": 966, + "line": 967, "column": 20 }, "end": { - "line": 966, + "line": 967, "column": 25 } } @@ -223779,15 +224099,15 @@ "postfix": false, "binop": null }, - "start": 37383, - "end": 37384, + "start": 38036, + "end": 38037, "loc": { "start": { - "line": 966, + "line": 967, "column": 25 }, "end": { - "line": 966, + "line": 967, "column": 26 } } @@ -223806,15 +224126,15 @@ "updateContext": null }, "value": "XKTEntity already exists with this ID: ", - "start": 37384, - "end": 37425, + "start": 38037, + "end": 38078, "loc": { "start": { - "line": 966, + "line": 967, "column": 26 }, "end": { - "line": 966, + "line": 967, "column": 67 } } @@ -223833,15 +224153,15 @@ "updateContext": null }, "value": "+", - "start": 37426, - "end": 37427, + "start": 38079, + "end": 38080, "loc": { "start": { - "line": 966, + "line": 967, "column": 68 }, "end": { - "line": 966, + "line": 967, "column": 69 } } @@ -223859,15 +224179,15 @@ "binop": null }, "value": "params", - "start": 37428, - "end": 37434, + "start": 38081, + "end": 38087, "loc": { "start": { - "line": 966, + "line": 967, "column": 70 }, "end": { - "line": 966, + "line": 967, "column": 76 } } @@ -223885,15 +224205,15 @@ "binop": null, "updateContext": null }, - "start": 37434, - "end": 37435, + "start": 38087, + "end": 38088, "loc": { "start": { - "line": 966, + "line": 967, "column": 76 }, "end": { - "line": 966, + "line": 967, "column": 77 } } @@ -223911,15 +224231,15 @@ "binop": null }, "value": "entityId", - "start": 37435, - "end": 37443, + "start": 38088, + "end": 38096, "loc": { "start": { - "line": 966, + "line": 967, "column": 77 }, "end": { - "line": 966, + "line": 967, "column": 85 } } @@ -223938,15 +224258,15 @@ "updateContext": null }, "value": "+", - "start": 37444, - "end": 37445, + "start": 38097, + "end": 38098, "loc": { "start": { - "line": 966, + "line": 967, "column": 86 }, "end": { - "line": 966, + "line": 967, "column": 87 } } @@ -223965,15 +224285,15 @@ "updateContext": null }, "value": " - substituting random ID instead: ", - "start": 37446, - "end": 37483, + "start": 38099, + "end": 38136, "loc": { "start": { - "line": 966, + "line": 967, "column": 88 }, "end": { - "line": 966, + "line": 967, "column": 125 } } @@ -223992,15 +224312,15 @@ "updateContext": null }, "value": "+", - "start": 37484, - "end": 37485, + "start": 38137, + "end": 38138, "loc": { "start": { - "line": 966, + "line": 967, "column": 126 }, "end": { - "line": 966, + "line": 967, "column": 127 } } @@ -224018,15 +224338,15 @@ "binop": null }, "value": "entityId", - "start": 37486, - "end": 37494, + "start": 38139, + "end": 38147, "loc": { "start": { - "line": 966, + "line": 967, "column": 128 }, "end": { - "line": 966, + "line": 967, "column": 136 } } @@ -224043,15 +224363,15 @@ "postfix": false, "binop": null }, - "start": 37494, - "end": 37495, + "start": 38147, + "end": 38148, "loc": { "start": { - "line": 966, + "line": 967, "column": 136 }, "end": { - "line": 966, + "line": 967, "column": 137 } } @@ -224069,15 +224389,15 @@ "binop": null, "updateContext": null }, - "start": 37495, - "end": 37496, + "start": 38148, + "end": 38149, "loc": { "start": { - "line": 966, + "line": 967, "column": 137 }, "end": { - "line": 966, + "line": 967, "column": 138 } } @@ -224094,15 +224414,15 @@ "postfix": false, "binop": null }, - "start": 37505, - "end": 37506, + "start": 38158, + "end": 38159, "loc": { "start": { - "line": 967, + "line": 968, "column": 8 }, "end": { - "line": 967, + "line": 968, "column": 9 } } @@ -224122,15 +224442,15 @@ "updateContext": null }, "value": "const", - "start": 37516, - "end": 37521, + "start": 38169, + "end": 38174, "loc": { "start": { - "line": 969, + "line": 970, "column": 8 }, "end": { - "line": 969, + "line": 970, "column": 13 } } @@ -224148,15 +224468,15 @@ "binop": null }, "value": "meshIds", - "start": 37522, - "end": 37529, + "start": 38175, + "end": 38182, "loc": { "start": { - "line": 969, + "line": 970, "column": 14 }, "end": { - "line": 969, + "line": 970, "column": 21 } } @@ -224175,15 +224495,15 @@ "updateContext": null }, "value": "=", - "start": 37530, - "end": 37531, + "start": 38183, + "end": 38184, "loc": { "start": { - "line": 969, + "line": 970, "column": 22 }, "end": { - "line": 969, + "line": 970, "column": 23 } } @@ -224201,15 +224521,15 @@ "binop": null }, "value": "params", - "start": 37532, - "end": 37538, + "start": 38185, + "end": 38191, "loc": { "start": { - "line": 969, + "line": 970, "column": 24 }, "end": { - "line": 969, + "line": 970, "column": 30 } } @@ -224227,15 +224547,15 @@ "binop": null, "updateContext": null }, - "start": 37538, - "end": 37539, + "start": 38191, + "end": 38192, "loc": { "start": { - "line": 969, + "line": 970, "column": 30 }, "end": { - "line": 969, + "line": 970, "column": 31 } } @@ -224253,15 +224573,15 @@ "binop": null }, "value": "meshIds", - "start": 37539, - "end": 37546, + "start": 38192, + "end": 38199, "loc": { "start": { - "line": 969, + "line": 970, "column": 31 }, "end": { - "line": 969, + "line": 970, "column": 38 } } @@ -224279,15 +224599,15 @@ "binop": null, "updateContext": null }, - "start": 37546, - "end": 37547, + "start": 38199, + "end": 38200, "loc": { "start": { - "line": 969, + "line": 970, "column": 38 }, "end": { - "line": 969, + "line": 970, "column": 39 } } @@ -224307,15 +224627,15 @@ "updateContext": null }, "value": "const", - "start": 37556, - "end": 37561, + "start": 38209, + "end": 38214, "loc": { "start": { - "line": 970, + "line": 971, "column": 8 }, "end": { - "line": 970, + "line": 971, "column": 13 } } @@ -224333,15 +224653,15 @@ "binop": null }, "value": "meshes", - "start": 37562, - "end": 37568, + "start": 38215, + "end": 38221, "loc": { "start": { - "line": 970, + "line": 971, "column": 14 }, "end": { - "line": 970, + "line": 971, "column": 20 } } @@ -224360,15 +224680,15 @@ "updateContext": null }, "value": "=", - "start": 37569, - "end": 37570, + "start": 38222, + "end": 38223, "loc": { "start": { - "line": 970, + "line": 971, "column": 21 }, "end": { - "line": 970, + "line": 971, "column": 22 } } @@ -224386,15 +224706,15 @@ "binop": null, "updateContext": null }, - "start": 37571, - "end": 37572, + "start": 38224, + "end": 38225, "loc": { "start": { - "line": 970, + "line": 971, "column": 23 }, "end": { - "line": 970, + "line": 971, "column": 24 } } @@ -224412,15 +224732,15 @@ "binop": null, "updateContext": null }, - "start": 37572, - "end": 37573, + "start": 38225, + "end": 38226, "loc": { "start": { - "line": 970, + "line": 971, "column": 24 }, "end": { - "line": 970, + "line": 971, "column": 25 } } @@ -224438,15 +224758,15 @@ "binop": null, "updateContext": null }, - "start": 37573, - "end": 37574, + "start": 38226, + "end": 38227, "loc": { "start": { - "line": 970, + "line": 971, "column": 25 }, "end": { - "line": 970, + "line": 971, "column": 26 } } @@ -224466,15 +224786,15 @@ "updateContext": null }, "value": "for", - "start": 37584, - "end": 37587, + "start": 38237, + "end": 38240, "loc": { "start": { - "line": 972, + "line": 973, "column": 8 }, "end": { - "line": 972, + "line": 973, "column": 11 } } @@ -224491,15 +224811,15 @@ "postfix": false, "binop": null }, - "start": 37588, - "end": 37589, + "start": 38241, + "end": 38242, "loc": { "start": { - "line": 972, + "line": 973, "column": 12 }, "end": { - "line": 972, + "line": 973, "column": 13 } } @@ -224519,15 +224839,15 @@ "updateContext": null }, "value": "let", - "start": 37589, - "end": 37592, + "start": 38242, + "end": 38245, "loc": { "start": { - "line": 972, + "line": 973, "column": 13 }, "end": { - "line": 972, + "line": 973, "column": 16 } } @@ -224545,15 +224865,15 @@ "binop": null }, "value": "meshIdIdx", - "start": 37593, - "end": 37602, + "start": 38246, + "end": 38255, "loc": { "start": { - "line": 972, + "line": 973, "column": 17 }, "end": { - "line": 972, + "line": 973, "column": 26 } } @@ -224572,15 +224892,15 @@ "updateContext": null }, "value": "=", - "start": 37603, - "end": 37604, + "start": 38256, + "end": 38257, "loc": { "start": { - "line": 972, + "line": 973, "column": 27 }, "end": { - "line": 972, + "line": 973, "column": 28 } } @@ -224599,15 +224919,15 @@ "updateContext": null }, "value": 0, - "start": 37605, - "end": 37606, + "start": 38258, + "end": 38259, "loc": { "start": { - "line": 972, + "line": 973, "column": 29 }, "end": { - "line": 972, + "line": 973, "column": 30 } } @@ -224625,15 +224945,15 @@ "binop": null, "updateContext": null }, - "start": 37606, - "end": 37607, + "start": 38259, + "end": 38260, "loc": { "start": { - "line": 972, + "line": 973, "column": 30 }, "end": { - "line": 972, + "line": 973, "column": 31 } } @@ -224651,15 +224971,15 @@ "binop": null }, "value": "meshIdLen", - "start": 37608, - "end": 37617, + "start": 38261, + "end": 38270, "loc": { "start": { - "line": 972, + "line": 973, "column": 32 }, "end": { - "line": 972, + "line": 973, "column": 41 } } @@ -224678,15 +224998,15 @@ "updateContext": null }, "value": "=", - "start": 37618, - "end": 37619, + "start": 38271, + "end": 38272, "loc": { "start": { - "line": 972, + "line": 973, "column": 42 }, "end": { - "line": 972, + "line": 973, "column": 43 } } @@ -224704,15 +225024,15 @@ "binop": null }, "value": "meshIds", - "start": 37620, - "end": 37627, + "start": 38273, + "end": 38280, "loc": { "start": { - "line": 972, + "line": 973, "column": 44 }, "end": { - "line": 972, + "line": 973, "column": 51 } } @@ -224730,15 +225050,15 @@ "binop": null, "updateContext": null }, - "start": 37627, - "end": 37628, + "start": 38280, + "end": 38281, "loc": { "start": { - "line": 972, + "line": 973, "column": 51 }, "end": { - "line": 972, + "line": 973, "column": 52 } } @@ -224756,15 +225076,15 @@ "binop": null }, "value": "length", - "start": 37628, - "end": 37634, + "start": 38281, + "end": 38287, "loc": { "start": { - "line": 972, + "line": 973, "column": 52 }, "end": { - "line": 972, + "line": 973, "column": 58 } } @@ -224782,15 +225102,15 @@ "binop": null, "updateContext": null }, - "start": 37634, - "end": 37635, + "start": 38287, + "end": 38288, "loc": { "start": { - "line": 972, + "line": 973, "column": 58 }, "end": { - "line": 972, + "line": 973, "column": 59 } } @@ -224808,15 +225128,15 @@ "binop": null }, "value": "meshIdIdx", - "start": 37636, - "end": 37645, + "start": 38289, + "end": 38298, "loc": { "start": { - "line": 972, + "line": 973, "column": 60 }, "end": { - "line": 972, + "line": 973, "column": 69 } } @@ -224835,15 +225155,15 @@ "updateContext": null }, "value": "<", - "start": 37646, - "end": 37647, + "start": 38299, + "end": 38300, "loc": { "start": { - "line": 972, + "line": 973, "column": 70 }, "end": { - "line": 972, + "line": 973, "column": 71 } } @@ -224861,15 +225181,15 @@ "binop": null }, "value": "meshIdLen", - "start": 37648, - "end": 37657, + "start": 38301, + "end": 38310, "loc": { "start": { - "line": 972, + "line": 973, "column": 72 }, "end": { - "line": 972, + "line": 973, "column": 81 } } @@ -224887,15 +225207,15 @@ "binop": null, "updateContext": null }, - "start": 37657, - "end": 37658, + "start": 38310, + "end": 38311, "loc": { "start": { - "line": 972, + "line": 973, "column": 81 }, "end": { - "line": 972, + "line": 973, "column": 82 } } @@ -224913,15 +225233,15 @@ "binop": null }, "value": "meshIdIdx", - "start": 37659, - "end": 37668, + "start": 38312, + "end": 38321, "loc": { "start": { - "line": 972, + "line": 973, "column": 83 }, "end": { - "line": 972, + "line": 973, "column": 92 } } @@ -224939,15 +225259,15 @@ "binop": null }, "value": "++", - "start": 37668, - "end": 37670, + "start": 38321, + "end": 38323, "loc": { "start": { - "line": 972, + "line": 973, "column": 92 }, "end": { - "line": 972, + "line": 973, "column": 94 } } @@ -224964,15 +225284,15 @@ "postfix": false, "binop": null }, - "start": 37670, - "end": 37671, + "start": 38323, + "end": 38324, "loc": { "start": { - "line": 972, + "line": 973, "column": 94 }, "end": { - "line": 972, + "line": 973, "column": 95 } } @@ -224989,15 +225309,15 @@ "postfix": false, "binop": null }, - "start": 37672, - "end": 37673, + "start": 38325, + "end": 38326, "loc": { "start": { - "line": 972, + "line": 973, "column": 96 }, "end": { - "line": 972, + "line": 973, "column": 97 } } @@ -225017,15 +225337,15 @@ "updateContext": null }, "value": "const", - "start": 37687, - "end": 37692, + "start": 38340, + "end": 38345, "loc": { "start": { - "line": 974, + "line": 975, "column": 12 }, "end": { - "line": 974, + "line": 975, "column": 17 } } @@ -225043,15 +225363,15 @@ "binop": null }, "value": "meshId", - "start": 37693, - "end": 37699, + "start": 38346, + "end": 38352, "loc": { "start": { - "line": 974, + "line": 975, "column": 18 }, "end": { - "line": 974, + "line": 975, "column": 24 } } @@ -225070,15 +225390,15 @@ "updateContext": null }, "value": "=", - "start": 37700, - "end": 37701, + "start": 38353, + "end": 38354, "loc": { "start": { - "line": 974, + "line": 975, "column": 25 }, "end": { - "line": 974, + "line": 975, "column": 26 } } @@ -225096,15 +225416,15 @@ "binop": null }, "value": "meshIds", - "start": 37702, - "end": 37709, + "start": 38355, + "end": 38362, "loc": { "start": { - "line": 974, + "line": 975, "column": 27 }, "end": { - "line": 974, + "line": 975, "column": 34 } } @@ -225122,15 +225442,15 @@ "binop": null, "updateContext": null }, - "start": 37709, - "end": 37710, + "start": 38362, + "end": 38363, "loc": { "start": { - "line": 974, + "line": 975, "column": 34 }, "end": { - "line": 974, + "line": 975, "column": 35 } } @@ -225148,15 +225468,15 @@ "binop": null }, "value": "meshIdIdx", - "start": 37710, - "end": 37719, + "start": 38363, + "end": 38372, "loc": { "start": { - "line": 974, + "line": 975, "column": 35 }, "end": { - "line": 974, + "line": 975, "column": 44 } } @@ -225174,15 +225494,15 @@ "binop": null, "updateContext": null }, - "start": 37719, - "end": 37720, + "start": 38372, + "end": 38373, "loc": { "start": { - "line": 974, + "line": 975, "column": 44 }, "end": { - "line": 974, + "line": 975, "column": 45 } } @@ -225200,15 +225520,15 @@ "binop": null, "updateContext": null }, - "start": 37720, - "end": 37721, + "start": 38373, + "end": 38374, "loc": { "start": { - "line": 974, + "line": 975, "column": 45 }, "end": { - "line": 974, + "line": 975, "column": 46 } } @@ -225228,15 +225548,15 @@ "updateContext": null }, "value": "const", - "start": 37734, - "end": 37739, + "start": 38387, + "end": 38392, "loc": { "start": { - "line": 975, + "line": 976, "column": 12 }, "end": { - "line": 975, + "line": 976, "column": 17 } } @@ -225254,15 +225574,15 @@ "binop": null }, "value": "mesh", - "start": 37740, - "end": 37744, + "start": 38393, + "end": 38397, "loc": { "start": { - "line": 975, + "line": 976, "column": 18 }, "end": { - "line": 975, + "line": 976, "column": 22 } } @@ -225281,15 +225601,15 @@ "updateContext": null }, "value": "=", - "start": 37745, - "end": 37746, + "start": 38398, + "end": 38399, "loc": { "start": { - "line": 975, + "line": 976, "column": 23 }, "end": { - "line": 975, + "line": 976, "column": 24 } } @@ -225309,15 +225629,15 @@ "updateContext": null }, "value": "this", - "start": 37747, - "end": 37751, + "start": 38400, + "end": 38404, "loc": { "start": { - "line": 975, + "line": 976, "column": 25 }, "end": { - "line": 975, + "line": 976, "column": 29 } } @@ -225335,15 +225655,15 @@ "binop": null, "updateContext": null }, - "start": 37751, - "end": 37752, + "start": 38404, + "end": 38405, "loc": { "start": { - "line": 975, + "line": 976, "column": 29 }, "end": { - "line": 975, + "line": 976, "column": 30 } } @@ -225361,15 +225681,15 @@ "binop": null }, "value": "meshes", - "start": 37752, - "end": 37758, + "start": 38405, + "end": 38411, "loc": { "start": { - "line": 975, + "line": 976, "column": 30 }, "end": { - "line": 975, + "line": 976, "column": 36 } } @@ -225387,15 +225707,15 @@ "binop": null, "updateContext": null }, - "start": 37758, - "end": 37759, + "start": 38411, + "end": 38412, "loc": { "start": { - "line": 975, + "line": 976, "column": 36 }, "end": { - "line": 975, + "line": 976, "column": 37 } } @@ -225413,15 +225733,15 @@ "binop": null }, "value": "meshId", - "start": 37759, - "end": 37765, + "start": 38412, + "end": 38418, "loc": { "start": { - "line": 975, + "line": 976, "column": 37 }, "end": { - "line": 975, + "line": 976, "column": 43 } } @@ -225439,15 +225759,15 @@ "binop": null, "updateContext": null }, - "start": 37765, - "end": 37766, + "start": 38418, + "end": 38419, "loc": { "start": { - "line": 975, + "line": 976, "column": 43 }, "end": { - "line": 975, + "line": 976, "column": 44 } } @@ -225465,15 +225785,15 @@ "binop": null, "updateContext": null }, - "start": 37766, - "end": 37767, + "start": 38419, + "end": 38420, "loc": { "start": { - "line": 975, + "line": 976, "column": 44 }, "end": { - "line": 975, + "line": 976, "column": 45 } } @@ -225493,15 +225813,15 @@ "updateContext": null }, "value": "if", - "start": 37781, - "end": 37783, + "start": 38434, + "end": 38436, "loc": { "start": { - "line": 977, + "line": 978, "column": 12 }, "end": { - "line": 977, + "line": 978, "column": 14 } } @@ -225518,15 +225838,15 @@ "postfix": false, "binop": null }, - "start": 37784, - "end": 37785, + "start": 38437, + "end": 38438, "loc": { "start": { - "line": 977, + "line": 978, "column": 15 }, "end": { - "line": 977, + "line": 978, "column": 16 } } @@ -225545,15 +225865,15 @@ "updateContext": null }, "value": "!", - "start": 37785, - "end": 37786, + "start": 38438, + "end": 38439, "loc": { "start": { - "line": 977, + "line": 978, "column": 16 }, "end": { - "line": 977, + "line": 978, "column": 17 } } @@ -225571,15 +225891,15 @@ "binop": null }, "value": "mesh", - "start": 37786, - "end": 37790, + "start": 38439, + "end": 38443, "loc": { "start": { - "line": 977, + "line": 978, "column": 17 }, "end": { - "line": 977, + "line": 978, "column": 21 } } @@ -225596,15 +225916,15 @@ "postfix": false, "binop": null }, - "start": 37790, - "end": 37791, + "start": 38443, + "end": 38444, "loc": { "start": { - "line": 977, + "line": 978, "column": 21 }, "end": { - "line": 977, + "line": 978, "column": 22 } } @@ -225621,15 +225941,15 @@ "postfix": false, "binop": null }, - "start": 37792, - "end": 37793, + "start": 38445, + "end": 38446, "loc": { "start": { - "line": 977, + "line": 978, "column": 23 }, "end": { - "line": 977, + "line": 978, "column": 24 } } @@ -225647,15 +225967,15 @@ "binop": null }, "value": "console", - "start": 37810, - "end": 37817, + "start": 38463, + "end": 38470, "loc": { "start": { - "line": 978, + "line": 979, "column": 16 }, "end": { - "line": 978, + "line": 979, "column": 23 } } @@ -225673,15 +225993,15 @@ "binop": null, "updateContext": null }, - "start": 37817, - "end": 37818, + "start": 38470, + "end": 38471, "loc": { "start": { - "line": 978, + "line": 979, "column": 23 }, "end": { - "line": 978, + "line": 979, "column": 24 } } @@ -225699,15 +226019,15 @@ "binop": null }, "value": "error", - "start": 37818, - "end": 37823, + "start": 38471, + "end": 38476, "loc": { "start": { - "line": 978, + "line": 979, "column": 24 }, "end": { - "line": 978, + "line": 979, "column": 29 } } @@ -225724,15 +226044,15 @@ "postfix": false, "binop": null }, - "start": 37823, - "end": 37824, + "start": 38476, + "end": 38477, "loc": { "start": { - "line": 978, + "line": 979, "column": 29 }, "end": { - "line": 978, + "line": 979, "column": 30 } } @@ -225751,15 +226071,15 @@ "updateContext": null }, "value": "XKTMesh found: ", - "start": 37824, - "end": 37841, + "start": 38477, + "end": 38494, "loc": { "start": { - "line": 978, + "line": 979, "column": 30 }, "end": { - "line": 978, + "line": 979, "column": 47 } } @@ -225778,15 +226098,15 @@ "updateContext": null }, "value": "+", - "start": 37842, - "end": 37843, + "start": 38495, + "end": 38496, "loc": { "start": { - "line": 978, + "line": 979, "column": 48 }, "end": { - "line": 978, + "line": 979, "column": 49 } } @@ -225804,15 +226124,15 @@ "binop": null }, "value": "meshId", - "start": 37844, - "end": 37850, + "start": 38497, + "end": 38503, "loc": { "start": { - "line": 978, + "line": 979, "column": 50 }, "end": { - "line": 978, + "line": 979, "column": 56 } } @@ -225829,15 +226149,15 @@ "postfix": false, "binop": null }, - "start": 37850, - "end": 37851, + "start": 38503, + "end": 38504, "loc": { "start": { - "line": 978, + "line": 979, "column": 56 }, "end": { - "line": 978, + "line": 979, "column": 57 } } @@ -225855,15 +226175,15 @@ "binop": null, "updateContext": null }, - "start": 37851, - "end": 37852, + "start": 38504, + "end": 38505, "loc": { "start": { - "line": 978, + "line": 979, "column": 57 }, "end": { - "line": 978, + "line": 979, "column": 58 } } @@ -225883,15 +226203,15 @@ "updateContext": null }, "value": "continue", - "start": 37869, - "end": 37877, + "start": 38522, + "end": 38530, "loc": { "start": { - "line": 979, + "line": 980, "column": 16 }, "end": { - "line": 979, + "line": 980, "column": 24 } } @@ -225909,15 +226229,15 @@ "binop": null, "updateContext": null }, - "start": 37877, - "end": 37878, + "start": 38530, + "end": 38531, "loc": { "start": { - "line": 979, + "line": 980, "column": 24 }, "end": { - "line": 979, + "line": 980, "column": 25 } } @@ -225934,15 +226254,15 @@ "postfix": false, "binop": null }, - "start": 37891, - "end": 37892, + "start": 38544, + "end": 38545, "loc": { "start": { - "line": 980, + "line": 981, "column": 12 }, "end": { - "line": 980, + "line": 981, "column": 13 } } @@ -225962,15 +226282,15 @@ "updateContext": null }, "value": "if", - "start": 37906, - "end": 37908, + "start": 38559, + "end": 38561, "loc": { "start": { - "line": 982, + "line": 983, "column": 12 }, "end": { - "line": 982, + "line": 983, "column": 14 } } @@ -225987,15 +226307,15 @@ "postfix": false, "binop": null }, - "start": 37909, - "end": 37910, + "start": 38562, + "end": 38563, "loc": { "start": { - "line": 982, + "line": 983, "column": 15 }, "end": { - "line": 982, + "line": 983, "column": 16 } } @@ -226013,15 +226333,15 @@ "binop": null }, "value": "mesh", - "start": 37910, - "end": 37914, + "start": 38563, + "end": 38567, "loc": { "start": { - "line": 982, + "line": 983, "column": 16 }, "end": { - "line": 982, + "line": 983, "column": 20 } } @@ -226039,15 +226359,15 @@ "binop": null, "updateContext": null }, - "start": 37914, - "end": 37915, + "start": 38567, + "end": 38568, "loc": { "start": { - "line": 982, + "line": 983, "column": 20 }, "end": { - "line": 982, + "line": 983, "column": 21 } } @@ -226065,15 +226385,15 @@ "binop": null }, "value": "entity", - "start": 37915, - "end": 37921, + "start": 38568, + "end": 38574, "loc": { "start": { - "line": 982, + "line": 983, "column": 21 }, "end": { - "line": 982, + "line": 983, "column": 27 } } @@ -226090,15 +226410,15 @@ "postfix": false, "binop": null }, - "start": 37921, - "end": 37922, + "start": 38574, + "end": 38575, "loc": { "start": { - "line": 982, + "line": 983, "column": 27 }, "end": { - "line": 982, + "line": 983, "column": 28 } } @@ -226115,15 +226435,15 @@ "postfix": false, "binop": null }, - "start": 37923, - "end": 37924, + "start": 38576, + "end": 38577, "loc": { "start": { - "line": 982, + "line": 983, "column": 29 }, "end": { - "line": 982, + "line": 983, "column": 30 } } @@ -226141,15 +226461,15 @@ "binop": null }, "value": "console", - "start": 37941, - "end": 37948, + "start": 38594, + "end": 38601, "loc": { "start": { - "line": 983, + "line": 984, "column": 16 }, "end": { - "line": 983, + "line": 984, "column": 23 } } @@ -226167,15 +226487,15 @@ "binop": null, "updateContext": null }, - "start": 37948, - "end": 37949, + "start": 38601, + "end": 38602, "loc": { "start": { - "line": 983, + "line": 984, "column": 23 }, "end": { - "line": 983, + "line": 984, "column": 24 } } @@ -226193,15 +226513,15 @@ "binop": null }, "value": "error", - "start": 37949, - "end": 37954, + "start": 38602, + "end": 38607, "loc": { "start": { - "line": 983, + "line": 984, "column": 24 }, "end": { - "line": 983, + "line": 984, "column": 29 } } @@ -226218,15 +226538,15 @@ "postfix": false, "binop": null }, - "start": 37954, - "end": 37955, + "start": 38607, + "end": 38608, "loc": { "start": { - "line": 983, + "line": 984, "column": 29 }, "end": { - "line": 983, + "line": 984, "column": 30 } } @@ -226245,15 +226565,15 @@ "updateContext": null }, "value": "XKTMesh ", - "start": 37955, - "end": 37965, + "start": 38608, + "end": 38618, "loc": { "start": { - "line": 983, + "line": 984, "column": 30 }, "end": { - "line": 983, + "line": 984, "column": 40 } } @@ -226272,15 +226592,15 @@ "updateContext": null }, "value": "+", - "start": 37966, - "end": 37967, + "start": 38619, + "end": 38620, "loc": { "start": { - "line": 983, + "line": 984, "column": 41 }, "end": { - "line": 983, + "line": 984, "column": 42 } } @@ -226298,15 +226618,15 @@ "binop": null }, "value": "meshId", - "start": 37968, - "end": 37974, + "start": 38621, + "end": 38627, "loc": { "start": { - "line": 983, + "line": 984, "column": 43 }, "end": { - "line": 983, + "line": 984, "column": 49 } } @@ -226325,15 +226645,15 @@ "updateContext": null }, "value": "+", - "start": 37975, - "end": 37976, + "start": 38628, + "end": 38629, "loc": { "start": { - "line": 983, + "line": 984, "column": 50 }, "end": { - "line": 983, + "line": 984, "column": 51 } } @@ -226352,15 +226672,15 @@ "updateContext": null }, "value": " already used by XKTEntity ", - "start": 37977, - "end": 38006, + "start": 38630, + "end": 38659, "loc": { "start": { - "line": 983, + "line": 984, "column": 52 }, "end": { - "line": 983, + "line": 984, "column": 81 } } @@ -226379,15 +226699,15 @@ "updateContext": null }, "value": "+", - "start": 38007, - "end": 38008, + "start": 38660, + "end": 38661, "loc": { "start": { - "line": 983, + "line": 984, "column": 82 }, "end": { - "line": 983, + "line": 984, "column": 83 } } @@ -226405,15 +226725,15 @@ "binop": null }, "value": "mesh", - "start": 38009, - "end": 38013, + "start": 38662, + "end": 38666, "loc": { "start": { - "line": 983, + "line": 984, "column": 84 }, "end": { - "line": 983, + "line": 984, "column": 88 } } @@ -226431,15 +226751,15 @@ "binop": null, "updateContext": null }, - "start": 38013, - "end": 38014, + "start": 38666, + "end": 38667, "loc": { "start": { - "line": 983, + "line": 984, "column": 88 }, "end": { - "line": 983, + "line": 984, "column": 89 } } @@ -226457,15 +226777,15 @@ "binop": null }, "value": "entity", - "start": 38014, - "end": 38020, + "start": 38667, + "end": 38673, "loc": { "start": { - "line": 983, + "line": 984, "column": 89 }, "end": { - "line": 983, + "line": 984, "column": 95 } } @@ -226483,15 +226803,15 @@ "binop": null, "updateContext": null }, - "start": 38020, - "end": 38021, + "start": 38673, + "end": 38674, "loc": { "start": { - "line": 983, + "line": 984, "column": 95 }, "end": { - "line": 983, + "line": 984, "column": 96 } } @@ -226509,15 +226829,15 @@ "binop": null }, "value": "entityId", - "start": 38021, - "end": 38029, + "start": 38674, + "end": 38682, "loc": { "start": { - "line": 983, + "line": 984, "column": 96 }, "end": { - "line": 983, + "line": 984, "column": 104 } } @@ -226534,15 +226854,15 @@ "postfix": false, "binop": null }, - "start": 38029, - "end": 38030, + "start": 38682, + "end": 38683, "loc": { "start": { - "line": 983, + "line": 984, "column": 104 }, "end": { - "line": 983, + "line": 984, "column": 105 } } @@ -226560,15 +226880,15 @@ "binop": null, "updateContext": null }, - "start": 38030, - "end": 38031, + "start": 38683, + "end": 38684, "loc": { "start": { - "line": 983, + "line": 984, "column": 105 }, "end": { - "line": 983, + "line": 984, "column": 106 } } @@ -226588,15 +226908,15 @@ "updateContext": null }, "value": "continue", - "start": 38048, - "end": 38056, + "start": 38701, + "end": 38709, "loc": { "start": { - "line": 984, + "line": 985, "column": 16 }, "end": { - "line": 984, + "line": 985, "column": 24 } } @@ -226614,15 +226934,15 @@ "binop": null, "updateContext": null }, - "start": 38056, - "end": 38057, + "start": 38709, + "end": 38710, "loc": { "start": { - "line": 984, + "line": 985, "column": 24 }, "end": { - "line": 984, + "line": 985, "column": 25 } } @@ -226639,15 +226959,15 @@ "postfix": false, "binop": null }, - "start": 38070, - "end": 38071, + "start": 38723, + "end": 38724, "loc": { "start": { - "line": 985, + "line": 986, "column": 12 }, "end": { - "line": 985, + "line": 986, "column": 13 } } @@ -226665,15 +226985,15 @@ "binop": null }, "value": "meshes", - "start": 38085, - "end": 38091, + "start": 38738, + "end": 38744, "loc": { "start": { - "line": 987, + "line": 988, "column": 12 }, "end": { - "line": 987, + "line": 988, "column": 18 } } @@ -226691,15 +227011,15 @@ "binop": null, "updateContext": null }, - "start": 38091, - "end": 38092, + "start": 38744, + "end": 38745, "loc": { "start": { - "line": 987, + "line": 988, "column": 18 }, "end": { - "line": 987, + "line": 988, "column": 19 } } @@ -226717,15 +227037,15 @@ "binop": null }, "value": "push", - "start": 38092, - "end": 38096, + "start": 38745, + "end": 38749, "loc": { "start": { - "line": 987, + "line": 988, "column": 19 }, "end": { - "line": 987, + "line": 988, "column": 23 } } @@ -226742,15 +227062,15 @@ "postfix": false, "binop": null }, - "start": 38096, - "end": 38097, + "start": 38749, + "end": 38750, "loc": { "start": { - "line": 987, + "line": 988, "column": 23 }, "end": { - "line": 987, + "line": 988, "column": 24 } } @@ -226768,15 +227088,15 @@ "binop": null }, "value": "mesh", - "start": 38097, - "end": 38101, + "start": 38750, + "end": 38754, "loc": { "start": { - "line": 987, + "line": 988, "column": 24 }, "end": { - "line": 987, + "line": 988, "column": 28 } } @@ -226793,15 +227113,15 @@ "postfix": false, "binop": null }, - "start": 38101, - "end": 38102, + "start": 38754, + "end": 38755, "loc": { "start": { - "line": 987, + "line": 988, "column": 28 }, "end": { - "line": 987, + "line": 988, "column": 29 } } @@ -226819,15 +227139,15 @@ "binop": null, "updateContext": null }, - "start": 38102, - "end": 38103, + "start": 38755, + "end": 38756, "loc": { "start": { - "line": 987, + "line": 988, "column": 29 }, "end": { - "line": 987, + "line": 988, "column": 30 } } @@ -226844,15 +227164,15 @@ "postfix": false, "binop": null }, - "start": 38112, - "end": 38113, + "start": 38765, + "end": 38766, "loc": { "start": { - "line": 988, + "line": 989, "column": 8 }, "end": { - "line": 988, + "line": 989, "column": 9 } } @@ -226872,15 +227192,15 @@ "updateContext": null }, "value": "const", - "start": 38123, - "end": 38128, + "start": 38776, + "end": 38781, "loc": { "start": { - "line": 990, + "line": 991, "column": 8 }, "end": { - "line": 990, + "line": 991, "column": 13 } } @@ -226898,15 +227218,15 @@ "binop": null }, "value": "entity", - "start": 38129, - "end": 38135, + "start": 38782, + "end": 38788, "loc": { "start": { - "line": 990, + "line": 991, "column": 14 }, "end": { - "line": 990, + "line": 991, "column": 20 } } @@ -226925,15 +227245,15 @@ "updateContext": null }, "value": "=", - "start": 38136, - "end": 38137, + "start": 38789, + "end": 38790, "loc": { "start": { - "line": 990, + "line": 991, "column": 21 }, "end": { - "line": 990, + "line": 991, "column": 22 } } @@ -226953,15 +227273,15 @@ "updateContext": null }, "value": "new", - "start": 38138, - "end": 38141, + "start": 38791, + "end": 38794, "loc": { "start": { - "line": 990, + "line": 991, "column": 23 }, "end": { - "line": 990, + "line": 991, "column": 26 } } @@ -226979,15 +227299,15 @@ "binop": null }, "value": "XKTEntity", - "start": 38142, - "end": 38151, + "start": 38795, + "end": 38804, "loc": { "start": { - "line": 990, + "line": 991, "column": 27 }, "end": { - "line": 990, + "line": 991, "column": 36 } } @@ -227004,15 +227324,15 @@ "postfix": false, "binop": null }, - "start": 38151, - "end": 38152, + "start": 38804, + "end": 38805, "loc": { "start": { - "line": 990, + "line": 991, "column": 36 }, "end": { - "line": 990, + "line": 991, "column": 37 } } @@ -227030,15 +227350,15 @@ "binop": null }, "value": "entityId", - "start": 38152, - "end": 38160, + "start": 38805, + "end": 38813, "loc": { "start": { - "line": 990, + "line": 991, "column": 37 }, "end": { - "line": 990, + "line": 991, "column": 45 } } @@ -227056,15 +227376,15 @@ "binop": null, "updateContext": null }, - "start": 38160, - "end": 38161, + "start": 38813, + "end": 38814, "loc": { "start": { - "line": 990, + "line": 991, "column": 45 }, "end": { - "line": 990, + "line": 991, "column": 46 } } @@ -227082,15 +227402,15 @@ "binop": null }, "value": "meshes", - "start": 38162, - "end": 38168, + "start": 38815, + "end": 38821, "loc": { "start": { - "line": 990, + "line": 991, "column": 47 }, "end": { - "line": 990, + "line": 991, "column": 53 } } @@ -227107,15 +227427,15 @@ "postfix": false, "binop": null }, - "start": 38168, - "end": 38169, + "start": 38821, + "end": 38822, "loc": { "start": { - "line": 990, + "line": 991, "column": 53 }, "end": { - "line": 990, + "line": 991, "column": 54 } } @@ -227133,15 +227453,15 @@ "binop": null, "updateContext": null }, - "start": 38169, - "end": 38170, + "start": 38822, + "end": 38823, "loc": { "start": { - "line": 990, + "line": 991, "column": 54 }, "end": { - "line": 990, + "line": 991, "column": 55 } } @@ -227161,15 +227481,15 @@ "updateContext": null }, "value": "for", - "start": 38180, - "end": 38183, + "start": 38833, + "end": 38836, "loc": { "start": { - "line": 992, + "line": 993, "column": 8 }, "end": { - "line": 992, + "line": 993, "column": 11 } } @@ -227186,15 +227506,15 @@ "postfix": false, "binop": null }, - "start": 38184, - "end": 38185, + "start": 38837, + "end": 38838, "loc": { "start": { - "line": 992, + "line": 993, "column": 12 }, "end": { - "line": 992, + "line": 993, "column": 13 } } @@ -227214,15 +227534,15 @@ "updateContext": null }, "value": "let", - "start": 38185, - "end": 38188, + "start": 38838, + "end": 38841, "loc": { "start": { - "line": 992, + "line": 993, "column": 13 }, "end": { - "line": 992, + "line": 993, "column": 16 } } @@ -227240,15 +227560,15 @@ "binop": null }, "value": "i", - "start": 38189, - "end": 38190, + "start": 38842, + "end": 38843, "loc": { "start": { - "line": 992, + "line": 993, "column": 17 }, "end": { - "line": 992, + "line": 993, "column": 18 } } @@ -227267,15 +227587,15 @@ "updateContext": null }, "value": "=", - "start": 38191, - "end": 38192, + "start": 38844, + "end": 38845, "loc": { "start": { - "line": 992, + "line": 993, "column": 19 }, "end": { - "line": 992, + "line": 993, "column": 20 } } @@ -227294,15 +227614,15 @@ "updateContext": null }, "value": 0, - "start": 38193, - "end": 38194, + "start": 38846, + "end": 38847, "loc": { "start": { - "line": 992, + "line": 993, "column": 21 }, "end": { - "line": 992, + "line": 993, "column": 22 } } @@ -227320,15 +227640,15 @@ "binop": null, "updateContext": null }, - "start": 38194, - "end": 38195, + "start": 38847, + "end": 38848, "loc": { "start": { - "line": 992, + "line": 993, "column": 22 }, "end": { - "line": 992, + "line": 993, "column": 23 } } @@ -227346,15 +227666,15 @@ "binop": null }, "value": "len", - "start": 38196, - "end": 38199, + "start": 38849, + "end": 38852, "loc": { "start": { - "line": 992, + "line": 993, "column": 24 }, "end": { - "line": 992, + "line": 993, "column": 27 } } @@ -227373,15 +227693,15 @@ "updateContext": null }, "value": "=", - "start": 38200, - "end": 38201, + "start": 38853, + "end": 38854, "loc": { "start": { - "line": 992, + "line": 993, "column": 28 }, "end": { - "line": 992, + "line": 993, "column": 29 } } @@ -227399,15 +227719,15 @@ "binop": null }, "value": "meshes", - "start": 38202, - "end": 38208, + "start": 38855, + "end": 38861, "loc": { "start": { - "line": 992, + "line": 993, "column": 30 }, "end": { - "line": 992, + "line": 993, "column": 36 } } @@ -227425,15 +227745,15 @@ "binop": null, "updateContext": null }, - "start": 38208, - "end": 38209, + "start": 38861, + "end": 38862, "loc": { "start": { - "line": 992, + "line": 993, "column": 36 }, "end": { - "line": 992, + "line": 993, "column": 37 } } @@ -227451,15 +227771,15 @@ "binop": null }, "value": "length", - "start": 38209, - "end": 38215, + "start": 38862, + "end": 38868, "loc": { "start": { - "line": 992, + "line": 993, "column": 37 }, "end": { - "line": 992, + "line": 993, "column": 43 } } @@ -227477,15 +227797,15 @@ "binop": null, "updateContext": null }, - "start": 38215, - "end": 38216, + "start": 38868, + "end": 38869, "loc": { "start": { - "line": 992, + "line": 993, "column": 43 }, "end": { - "line": 992, + "line": 993, "column": 44 } } @@ -227503,15 +227823,15 @@ "binop": null }, "value": "i", - "start": 38217, - "end": 38218, + "start": 38870, + "end": 38871, "loc": { "start": { - "line": 992, + "line": 993, "column": 45 }, "end": { - "line": 992, + "line": 993, "column": 46 } } @@ -227530,15 +227850,15 @@ "updateContext": null }, "value": "<", - "start": 38219, - "end": 38220, + "start": 38872, + "end": 38873, "loc": { "start": { - "line": 992, + "line": 993, "column": 47 }, "end": { - "line": 992, + "line": 993, "column": 48 } } @@ -227556,15 +227876,15 @@ "binop": null }, "value": "len", - "start": 38221, - "end": 38224, + "start": 38874, + "end": 38877, "loc": { "start": { - "line": 992, + "line": 993, "column": 49 }, "end": { - "line": 992, + "line": 993, "column": 52 } } @@ -227582,15 +227902,15 @@ "binop": null, "updateContext": null }, - "start": 38224, - "end": 38225, + "start": 38877, + "end": 38878, "loc": { "start": { - "line": 992, + "line": 993, "column": 52 }, "end": { - "line": 992, + "line": 993, "column": 53 } } @@ -227608,15 +227928,15 @@ "binop": null }, "value": "i", - "start": 38226, - "end": 38227, + "start": 38879, + "end": 38880, "loc": { "start": { - "line": 992, + "line": 993, "column": 54 }, "end": { - "line": 992, + "line": 993, "column": 55 } } @@ -227634,15 +227954,15 @@ "binop": null }, "value": "++", - "start": 38227, - "end": 38229, + "start": 38880, + "end": 38882, "loc": { "start": { - "line": 992, + "line": 993, "column": 55 }, "end": { - "line": 992, + "line": 993, "column": 57 } } @@ -227659,15 +227979,15 @@ "postfix": false, "binop": null }, - "start": 38229, - "end": 38230, + "start": 38882, + "end": 38883, "loc": { "start": { - "line": 992, + "line": 993, "column": 57 }, "end": { - "line": 992, + "line": 993, "column": 58 } } @@ -227684,15 +228004,15 @@ "postfix": false, "binop": null }, - "start": 38231, - "end": 38232, + "start": 38884, + "end": 38885, "loc": { "start": { - "line": 992, + "line": 993, "column": 59 }, "end": { - "line": 992, + "line": 993, "column": 60 } } @@ -227712,15 +228032,15 @@ "updateContext": null }, "value": "const", - "start": 38245, - "end": 38250, + "start": 38898, + "end": 38903, "loc": { "start": { - "line": 993, + "line": 994, "column": 12 }, "end": { - "line": 993, + "line": 994, "column": 17 } } @@ -227738,15 +228058,15 @@ "binop": null }, "value": "mesh", - "start": 38251, - "end": 38255, + "start": 38904, + "end": 38908, "loc": { "start": { - "line": 993, + "line": 994, "column": 18 }, "end": { - "line": 993, + "line": 994, "column": 22 } } @@ -227765,15 +228085,15 @@ "updateContext": null }, "value": "=", - "start": 38256, - "end": 38257, + "start": 38909, + "end": 38910, "loc": { "start": { - "line": 993, + "line": 994, "column": 23 }, "end": { - "line": 993, + "line": 994, "column": 24 } } @@ -227791,15 +228111,15 @@ "binop": null }, "value": "meshes", - "start": 38258, - "end": 38264, + "start": 38911, + "end": 38917, "loc": { "start": { - "line": 993, + "line": 994, "column": 25 }, "end": { - "line": 993, + "line": 994, "column": 31 } } @@ -227817,15 +228137,15 @@ "binop": null, "updateContext": null }, - "start": 38264, - "end": 38265, + "start": 38917, + "end": 38918, "loc": { "start": { - "line": 993, + "line": 994, "column": 31 }, "end": { - "line": 993, + "line": 994, "column": 32 } } @@ -227843,15 +228163,15 @@ "binop": null }, "value": "i", - "start": 38265, - "end": 38266, + "start": 38918, + "end": 38919, "loc": { "start": { - "line": 993, + "line": 994, "column": 32 }, "end": { - "line": 993, + "line": 994, "column": 33 } } @@ -227869,15 +228189,15 @@ "binop": null, "updateContext": null }, - "start": 38266, - "end": 38267, + "start": 38919, + "end": 38920, "loc": { "start": { - "line": 993, + "line": 994, "column": 33 }, "end": { - "line": 993, + "line": 994, "column": 34 } } @@ -227895,15 +228215,15 @@ "binop": null, "updateContext": null }, - "start": 38267, - "end": 38268, + "start": 38920, + "end": 38921, "loc": { "start": { - "line": 993, + "line": 994, "column": 34 }, "end": { - "line": 993, + "line": 994, "column": 35 } } @@ -227921,15 +228241,15 @@ "binop": null }, "value": "mesh", - "start": 38281, - "end": 38285, + "start": 38934, + "end": 38938, "loc": { "start": { - "line": 994, + "line": 995, "column": 12 }, "end": { - "line": 994, + "line": 995, "column": 16 } } @@ -227947,15 +228267,15 @@ "binop": null, "updateContext": null }, - "start": 38285, - "end": 38286, + "start": 38938, + "end": 38939, "loc": { "start": { - "line": 994, + "line": 995, "column": 16 }, "end": { - "line": 994, + "line": 995, "column": 17 } } @@ -227973,15 +228293,15 @@ "binop": null }, "value": "entity", - "start": 38286, - "end": 38292, + "start": 38939, + "end": 38945, "loc": { "start": { - "line": 994, + "line": 995, "column": 17 }, "end": { - "line": 994, + "line": 995, "column": 23 } } @@ -228000,15 +228320,15 @@ "updateContext": null }, "value": "=", - "start": 38293, - "end": 38294, + "start": 38946, + "end": 38947, "loc": { "start": { - "line": 994, + "line": 995, "column": 24 }, "end": { - "line": 994, + "line": 995, "column": 25 } } @@ -228026,15 +228346,15 @@ "binop": null }, "value": "entity", - "start": 38295, - "end": 38301, + "start": 38948, + "end": 38954, "loc": { "start": { - "line": 994, + "line": 995, "column": 26 }, "end": { - "line": 994, + "line": 995, "column": 32 } } @@ -228052,15 +228372,15 @@ "binop": null, "updateContext": null }, - "start": 38301, - "end": 38302, + "start": 38954, + "end": 38955, "loc": { "start": { - "line": 994, + "line": 995, "column": 32 }, "end": { - "line": 994, + "line": 995, "column": 33 } } @@ -228077,15 +228397,15 @@ "postfix": false, "binop": null }, - "start": 38311, - "end": 38312, + "start": 38964, + "end": 38965, "loc": { "start": { - "line": 995, + "line": 996, "column": 8 }, "end": { - "line": 995, + "line": 996, "column": 9 } } @@ -228105,15 +228425,15 @@ "updateContext": null }, "value": "this", - "start": 38322, - "end": 38326, + "start": 38975, + "end": 38979, "loc": { "start": { - "line": 997, + "line": 998, "column": 8 }, "end": { - "line": 997, + "line": 998, "column": 12 } } @@ -228131,15 +228451,15 @@ "binop": null, "updateContext": null }, - "start": 38326, - "end": 38327, + "start": 38979, + "end": 38980, "loc": { "start": { - "line": 997, + "line": 998, "column": 12 }, "end": { - "line": 997, + "line": 998, "column": 13 } } @@ -228157,15 +228477,15 @@ "binop": null }, "value": "entities", - "start": 38327, - "end": 38335, + "start": 38980, + "end": 38988, "loc": { "start": { - "line": 997, + "line": 998, "column": 13 }, "end": { - "line": 997, + "line": 998, "column": 21 } } @@ -228183,15 +228503,15 @@ "binop": null, "updateContext": null }, - "start": 38335, - "end": 38336, + "start": 38988, + "end": 38989, "loc": { "start": { - "line": 997, + "line": 998, "column": 21 }, "end": { - "line": 997, + "line": 998, "column": 22 } } @@ -228209,15 +228529,15 @@ "binop": null }, "value": "entityId", - "start": 38336, - "end": 38344, + "start": 38989, + "end": 38997, "loc": { "start": { - "line": 997, + "line": 998, "column": 22 }, "end": { - "line": 997, + "line": 998, "column": 30 } } @@ -228235,15 +228555,15 @@ "binop": null, "updateContext": null }, - "start": 38344, - "end": 38345, + "start": 38997, + "end": 38998, "loc": { "start": { - "line": 997, + "line": 998, "column": 30 }, "end": { - "line": 997, + "line": 998, "column": 31 } } @@ -228262,15 +228582,15 @@ "updateContext": null }, "value": "=", - "start": 38346, - "end": 38347, + "start": 38999, + "end": 39000, "loc": { "start": { - "line": 997, + "line": 998, "column": 32 }, "end": { - "line": 997, + "line": 998, "column": 33 } } @@ -228288,15 +228608,15 @@ "binop": null }, "value": "entity", - "start": 38348, - "end": 38354, + "start": 39001, + "end": 39007, "loc": { "start": { - "line": 997, + "line": 998, "column": 34 }, "end": { - "line": 997, + "line": 998, "column": 40 } } @@ -228314,15 +228634,15 @@ "binop": null, "updateContext": null }, - "start": 38354, - "end": 38355, + "start": 39007, + "end": 39008, "loc": { "start": { - "line": 997, + "line": 998, "column": 40 }, "end": { - "line": 997, + "line": 998, "column": 41 } } @@ -228342,15 +228662,15 @@ "updateContext": null }, "value": "this", - "start": 38364, - "end": 38368, + "start": 39017, + "end": 39021, "loc": { "start": { - "line": 998, + "line": 999, "column": 8 }, "end": { - "line": 998, + "line": 999, "column": 12 } } @@ -228368,15 +228688,15 @@ "binop": null, "updateContext": null }, - "start": 38368, - "end": 38369, + "start": 39021, + "end": 39022, "loc": { "start": { - "line": 998, + "line": 999, "column": 12 }, "end": { - "line": 998, + "line": 999, "column": 13 } } @@ -228394,15 +228714,15 @@ "binop": null }, "value": "entitiesList", - "start": 38369, - "end": 38381, + "start": 39022, + "end": 39034, "loc": { "start": { - "line": 998, + "line": 999, "column": 13 }, "end": { - "line": 998, + "line": 999, "column": 25 } } @@ -228420,15 +228740,15 @@ "binop": null, "updateContext": null }, - "start": 38381, - "end": 38382, + "start": 39034, + "end": 39035, "loc": { "start": { - "line": 998, + "line": 999, "column": 25 }, "end": { - "line": 998, + "line": 999, "column": 26 } } @@ -228446,15 +228766,15 @@ "binop": null }, "value": "push", - "start": 38382, - "end": 38386, + "start": 39035, + "end": 39039, "loc": { "start": { - "line": 998, + "line": 999, "column": 26 }, "end": { - "line": 998, + "line": 999, "column": 30 } } @@ -228471,15 +228791,15 @@ "postfix": false, "binop": null }, - "start": 38386, - "end": 38387, + "start": 39039, + "end": 39040, "loc": { "start": { - "line": 998, + "line": 999, "column": 30 }, "end": { - "line": 998, + "line": 999, "column": 31 } } @@ -228497,15 +228817,15 @@ "binop": null }, "value": "entity", - "start": 38387, - "end": 38393, + "start": 39040, + "end": 39046, "loc": { "start": { - "line": 998, + "line": 999, "column": 31 }, "end": { - "line": 998, + "line": 999, "column": 37 } } @@ -228522,15 +228842,15 @@ "postfix": false, "binop": null }, - "start": 38393, - "end": 38394, + "start": 39046, + "end": 39047, "loc": { "start": { - "line": 998, + "line": 999, "column": 37 }, "end": { - "line": 998, + "line": 999, "column": 38 } } @@ -228548,15 +228868,15 @@ "binop": null, "updateContext": null }, - "start": 38394, - "end": 38395, + "start": 39047, + "end": 39048, "loc": { "start": { - "line": 998, + "line": 999, "column": 38 }, "end": { - "line": 998, + "line": 999, "column": 39 } } @@ -228576,15 +228896,15 @@ "updateContext": null }, "value": "return", - "start": 38405, - "end": 38411, + "start": 39058, + "end": 39064, "loc": { "start": { - "line": 1000, + "line": 1001, "column": 8 }, "end": { - "line": 1000, + "line": 1001, "column": 14 } } @@ -228602,15 +228922,15 @@ "binop": null }, "value": "entity", - "start": 38412, - "end": 38418, + "start": 39065, + "end": 39071, "loc": { "start": { - "line": 1000, + "line": 1001, "column": 15 }, "end": { - "line": 1000, + "line": 1001, "column": 21 } } @@ -228628,15 +228948,15 @@ "binop": null, "updateContext": null }, - "start": 38418, - "end": 38419, + "start": 39071, + "end": 39072, "loc": { "start": { - "line": 1000, + "line": 1001, "column": 21 }, "end": { - "line": 1000, + "line": 1001, "column": 22 } } @@ -228653,15 +228973,15 @@ "postfix": false, "binop": null }, - "start": 38424, - "end": 38425, + "start": 39077, + "end": 39078, "loc": { "start": { - "line": 1001, + "line": 1002, "column": 4 }, "end": { - "line": 1001, + "line": 1002, "column": 5 } } @@ -228669,15 +228989,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a default {@link XKTMetaObject} for each {@link XKTEntity} that does not already have one.\n ", - "start": 38431, - "end": 38548, + "start": 39084, + "end": 39201, "loc": { "start": { - "line": 1003, + "line": 1004, "column": 4 }, "end": { - "line": 1005, + "line": 1006, "column": 7 } } @@ -228695,15 +229015,15 @@ "binop": null }, "value": "createDefaultMetaObjects", - "start": 38553, - "end": 38577, + "start": 39206, + "end": 39230, "loc": { "start": { - "line": 1006, + "line": 1007, "column": 4 }, "end": { - "line": 1006, + "line": 1007, "column": 28 } } @@ -228720,15 +229040,15 @@ "postfix": false, "binop": null }, - "start": 38577, - "end": 38578, + "start": 39230, + "end": 39231, "loc": { "start": { - "line": 1006, + "line": 1007, "column": 28 }, "end": { - "line": 1006, + "line": 1007, "column": 29 } } @@ -228745,15 +229065,15 @@ "postfix": false, "binop": null }, - "start": 38578, - "end": 38579, + "start": 39231, + "end": 39232, "loc": { "start": { - "line": 1006, + "line": 1007, "column": 29 }, "end": { - "line": 1006, + "line": 1007, "column": 30 } } @@ -228770,15 +229090,15 @@ "postfix": false, "binop": null }, - "start": 38580, - "end": 38581, + "start": 39233, + "end": 39234, "loc": { "start": { - "line": 1006, + "line": 1007, "column": 31 }, "end": { - "line": 1006, + "line": 1007, "column": 32 } } @@ -228798,15 +229118,15 @@ "updateContext": null }, "value": "for", - "start": 38591, - "end": 38594, + "start": 39244, + "end": 39247, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 8 }, "end": { - "line": 1008, + "line": 1009, "column": 11 } } @@ -228823,15 +229143,15 @@ "postfix": false, "binop": null }, - "start": 38595, - "end": 38596, + "start": 39248, + "end": 39249, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 12 }, "end": { - "line": 1008, + "line": 1009, "column": 13 } } @@ -228851,15 +229171,15 @@ "updateContext": null }, "value": "let", - "start": 38596, - "end": 38599, + "start": 39249, + "end": 39252, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 13 }, "end": { - "line": 1008, + "line": 1009, "column": 16 } } @@ -228877,15 +229197,15 @@ "binop": null }, "value": "i", - "start": 38600, - "end": 38601, + "start": 39253, + "end": 39254, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 17 }, "end": { - "line": 1008, + "line": 1009, "column": 18 } } @@ -228904,15 +229224,15 @@ "updateContext": null }, "value": "=", - "start": 38602, - "end": 38603, + "start": 39255, + "end": 39256, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 19 }, "end": { - "line": 1008, + "line": 1009, "column": 20 } } @@ -228931,15 +229251,15 @@ "updateContext": null }, "value": 0, - "start": 38604, - "end": 38605, + "start": 39257, + "end": 39258, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 21 }, "end": { - "line": 1008, + "line": 1009, "column": 22 } } @@ -228957,15 +229277,15 @@ "binop": null, "updateContext": null }, - "start": 38605, - "end": 38606, + "start": 39258, + "end": 39259, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 22 }, "end": { - "line": 1008, + "line": 1009, "column": 23 } } @@ -228983,15 +229303,15 @@ "binop": null }, "value": "len", - "start": 38607, - "end": 38610, + "start": 39260, + "end": 39263, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 24 }, "end": { - "line": 1008, + "line": 1009, "column": 27 } } @@ -229010,15 +229330,15 @@ "updateContext": null }, "value": "=", - "start": 38611, - "end": 38612, + "start": 39264, + "end": 39265, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 28 }, "end": { - "line": 1008, + "line": 1009, "column": 29 } } @@ -229038,15 +229358,15 @@ "updateContext": null }, "value": "this", - "start": 38613, - "end": 38617, + "start": 39266, + "end": 39270, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 30 }, "end": { - "line": 1008, + "line": 1009, "column": 34 } } @@ -229064,15 +229384,15 @@ "binop": null, "updateContext": null }, - "start": 38617, - "end": 38618, + "start": 39270, + "end": 39271, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 34 }, "end": { - "line": 1008, + "line": 1009, "column": 35 } } @@ -229090,15 +229410,15 @@ "binop": null }, "value": "entitiesList", - "start": 38618, - "end": 38630, + "start": 39271, + "end": 39283, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 35 }, "end": { - "line": 1008, + "line": 1009, "column": 47 } } @@ -229116,15 +229436,15 @@ "binop": null, "updateContext": null }, - "start": 38630, - "end": 38631, + "start": 39283, + "end": 39284, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 47 }, "end": { - "line": 1008, + "line": 1009, "column": 48 } } @@ -229142,15 +229462,15 @@ "binop": null }, "value": "length", - "start": 38631, - "end": 38637, + "start": 39284, + "end": 39290, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 48 }, "end": { - "line": 1008, + "line": 1009, "column": 54 } } @@ -229168,15 +229488,15 @@ "binop": null, "updateContext": null }, - "start": 38637, - "end": 38638, + "start": 39290, + "end": 39291, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 54 }, "end": { - "line": 1008, + "line": 1009, "column": 55 } } @@ -229194,15 +229514,15 @@ "binop": null }, "value": "i", - "start": 38639, - "end": 38640, + "start": 39292, + "end": 39293, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 56 }, "end": { - "line": 1008, + "line": 1009, "column": 57 } } @@ -229221,15 +229541,15 @@ "updateContext": null }, "value": "<", - "start": 38641, - "end": 38642, + "start": 39294, + "end": 39295, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 58 }, "end": { - "line": 1008, + "line": 1009, "column": 59 } } @@ -229247,15 +229567,15 @@ "binop": null }, "value": "len", - "start": 38643, - "end": 38646, + "start": 39296, + "end": 39299, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 60 }, "end": { - "line": 1008, + "line": 1009, "column": 63 } } @@ -229273,15 +229593,15 @@ "binop": null, "updateContext": null }, - "start": 38646, - "end": 38647, + "start": 39299, + "end": 39300, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 63 }, "end": { - "line": 1008, + "line": 1009, "column": 64 } } @@ -229299,15 +229619,15 @@ "binop": null }, "value": "i", - "start": 38648, - "end": 38649, + "start": 39301, + "end": 39302, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 65 }, "end": { - "line": 1008, + "line": 1009, "column": 66 } } @@ -229325,15 +229645,15 @@ "binop": null }, "value": "++", - "start": 38649, - "end": 38651, + "start": 39302, + "end": 39304, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 66 }, "end": { - "line": 1008, + "line": 1009, "column": 68 } } @@ -229350,15 +229670,15 @@ "postfix": false, "binop": null }, - "start": 38651, - "end": 38652, + "start": 39304, + "end": 39305, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 68 }, "end": { - "line": 1008, + "line": 1009, "column": 69 } } @@ -229375,15 +229695,15 @@ "postfix": false, "binop": null }, - "start": 38653, - "end": 38654, + "start": 39306, + "end": 39307, "loc": { "start": { - "line": 1008, + "line": 1009, "column": 70 }, "end": { - "line": 1008, + "line": 1009, "column": 71 } } @@ -229403,15 +229723,15 @@ "updateContext": null }, "value": "const", - "start": 38668, - "end": 38673, + "start": 39321, + "end": 39326, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 12 }, "end": { - "line": 1010, + "line": 1011, "column": 17 } } @@ -229429,15 +229749,15 @@ "binop": null }, "value": "entity", - "start": 38674, - "end": 38680, + "start": 39327, + "end": 39333, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 18 }, "end": { - "line": 1010, + "line": 1011, "column": 24 } } @@ -229456,15 +229776,15 @@ "updateContext": null }, "value": "=", - "start": 38681, - "end": 38682, + "start": 39334, + "end": 39335, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 25 }, "end": { - "line": 1010, + "line": 1011, "column": 26 } } @@ -229484,15 +229804,15 @@ "updateContext": null }, "value": "this", - "start": 38683, - "end": 38687, + "start": 39336, + "end": 39340, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 27 }, "end": { - "line": 1010, + "line": 1011, "column": 31 } } @@ -229510,15 +229830,15 @@ "binop": null, "updateContext": null }, - "start": 38687, - "end": 38688, + "start": 39340, + "end": 39341, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 31 }, "end": { - "line": 1010, + "line": 1011, "column": 32 } } @@ -229536,15 +229856,15 @@ "binop": null }, "value": "entitiesList", - "start": 38688, - "end": 38700, + "start": 39341, + "end": 39353, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 32 }, "end": { - "line": 1010, + "line": 1011, "column": 44 } } @@ -229562,15 +229882,15 @@ "binop": null, "updateContext": null }, - "start": 38700, - "end": 38701, + "start": 39353, + "end": 39354, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 44 }, "end": { - "line": 1010, + "line": 1011, "column": 45 } } @@ -229588,15 +229908,15 @@ "binop": null }, "value": "i", - "start": 38701, - "end": 38702, + "start": 39354, + "end": 39355, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 45 }, "end": { - "line": 1010, + "line": 1011, "column": 46 } } @@ -229614,15 +229934,15 @@ "binop": null, "updateContext": null }, - "start": 38702, - "end": 38703, + "start": 39355, + "end": 39356, "loc": { "start": { - "line": 1010, + "line": 1011, "column": 46 }, "end": { - "line": 1010, + "line": 1011, "column": 47 } } @@ -229640,171 +229960,12 @@ "binop": null, "updateContext": null }, - "start": 38703, - "end": 38704, - "loc": { - "start": { - "line": 1010, - "column": 47 - }, - "end": { - "line": 1010, - "column": 48 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 38717, - "end": 38722, - "loc": { - "start": { - "line": 1011, - "column": 12 - }, - "end": { - "line": 1011, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "metaObjectId", - "start": 38723, - "end": 38735, - "loc": { - "start": { - "line": 1011, - "column": 18 - }, - "end": { - "line": 1011, - "column": 30 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 38736, - "end": 38737, - "loc": { - "start": { - "line": 1011, - "column": 31 - }, - "end": { - "line": 1011, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "entity", - "start": 38738, - "end": 38744, + "start": 39356, + "end": 39357, "loc": { "start": { "line": 1011, - "column": 33 - }, - "end": { - "line": 1011, - "column": 39 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 38744, - "end": 38745, - "loc": { - "start": { - "line": 1011, - "column": 39 - }, - "end": { - "line": 1011, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "entityId", - "start": 38745, - "end": 38753, - "loc": { - "start": { - "line": 1011, - "column": 40 + "column": 47 }, "end": { "line": 1011, @@ -229812,32 +229973,6 @@ } } }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 38753, - "end": 38754, - "loc": { - "start": { - "line": 1011, - "column": 48 - }, - "end": { - "line": 1011, - "column": 49 - } - } - }, { "type": { "label": "const", @@ -229853,8 +229988,8 @@ "updateContext": null }, "value": "const", - "start": 38767, - "end": 38772, + "start": 39370, + "end": 39375, "loc": { "start": { "line": 1012, @@ -229878,9 +230013,9 @@ "postfix": false, "binop": null }, - "value": "metaObject", - "start": 38773, - "end": 38783, + "value": "metaObjectId", + "start": 39376, + "end": 39388, "loc": { "start": { "line": 1012, @@ -229888,7 +230023,7 @@ }, "end": { "line": 1012, - "column": 28 + "column": 30 } } }, @@ -229906,15 +230041,200 @@ "updateContext": null }, "value": "=", - "start": 38784, - "end": 38785, + "start": 39389, + "end": 39390, "loc": { "start": { "line": 1012, - "column": 29 + "column": 31 + }, + "end": { + "line": 1012, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entity", + "start": 39391, + "end": 39397, + "loc": { + "start": { + "line": 1012, + "column": 33 + }, + "end": { + "line": 1012, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 39397, + "end": 39398, + "loc": { + "start": { + "line": 1012, + "column": 39 }, "end": { "line": 1012, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entityId", + "start": 39398, + "end": 39406, + "loc": { + "start": { + "line": 1012, + "column": 40 + }, + "end": { + "line": 1012, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 39406, + "end": 39407, + "loc": { + "start": { + "line": 1012, + "column": 48 + }, + "end": { + "line": 1012, + "column": 49 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 39420, + "end": 39425, + "loc": { + "start": { + "line": 1013, + "column": 12 + }, + "end": { + "line": 1013, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metaObject", + "start": 39426, + "end": 39436, + "loc": { + "start": { + "line": 1013, + "column": 18 + }, + "end": { + "line": 1013, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 39437, + "end": 39438, + "loc": { + "start": { + "line": 1013, + "column": 29 + }, + "end": { + "line": 1013, "column": 30 } } @@ -229934,15 +230254,15 @@ "updateContext": null }, "value": "this", - "start": 38786, - "end": 38790, + "start": 39439, + "end": 39443, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 31 }, "end": { - "line": 1012, + "line": 1013, "column": 35 } } @@ -229960,15 +230280,15 @@ "binop": null, "updateContext": null }, - "start": 38790, - "end": 38791, + "start": 39443, + "end": 39444, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 35 }, "end": { - "line": 1012, + "line": 1013, "column": 36 } } @@ -229986,15 +230306,15 @@ "binop": null }, "value": "metaObjects", - "start": 38791, - "end": 38802, + "start": 39444, + "end": 39455, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 36 }, "end": { - "line": 1012, + "line": 1013, "column": 47 } } @@ -230012,15 +230332,15 @@ "binop": null, "updateContext": null }, - "start": 38802, - "end": 38803, + "start": 39455, + "end": 39456, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 47 }, "end": { - "line": 1012, + "line": 1013, "column": 48 } } @@ -230038,15 +230358,15 @@ "binop": null }, "value": "metaObjectId", - "start": 38803, - "end": 38815, + "start": 39456, + "end": 39468, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 48 }, "end": { - "line": 1012, + "line": 1013, "column": 60 } } @@ -230064,15 +230384,15 @@ "binop": null, "updateContext": null }, - "start": 38815, - "end": 38816, + "start": 39468, + "end": 39469, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 60 }, "end": { - "line": 1012, + "line": 1013, "column": 61 } } @@ -230090,15 +230410,15 @@ "binop": null, "updateContext": null }, - "start": 38816, - "end": 38817, + "start": 39469, + "end": 39470, "loc": { "start": { - "line": 1012, + "line": 1013, "column": 61 }, "end": { - "line": 1012, + "line": 1013, "column": 62 } } @@ -230118,15 +230438,15 @@ "updateContext": null }, "value": "if", - "start": 38831, - "end": 38833, + "start": 39484, + "end": 39486, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 12 }, "end": { - "line": 1014, + "line": 1015, "column": 14 } } @@ -230143,15 +230463,15 @@ "postfix": false, "binop": null }, - "start": 38834, - "end": 38835, + "start": 39487, + "end": 39488, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 15 }, "end": { - "line": 1014, + "line": 1015, "column": 16 } } @@ -230170,15 +230490,15 @@ "updateContext": null }, "value": "!", - "start": 38835, - "end": 38836, + "start": 39488, + "end": 39489, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 16 }, "end": { - "line": 1014, + "line": 1015, "column": 17 } } @@ -230196,15 +230516,15 @@ "binop": null }, "value": "metaObject", - "start": 38836, - "end": 38846, + "start": 39489, + "end": 39499, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 17 }, "end": { - "line": 1014, + "line": 1015, "column": 27 } } @@ -230221,15 +230541,15 @@ "postfix": false, "binop": null }, - "start": 38846, - "end": 38847, + "start": 39499, + "end": 39500, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 27 }, "end": { - "line": 1014, + "line": 1015, "column": 28 } } @@ -230246,15 +230566,15 @@ "postfix": false, "binop": null }, - "start": 38848, - "end": 38849, + "start": 39501, + "end": 39502, "loc": { "start": { - "line": 1014, + "line": 1015, "column": 29 }, "end": { - "line": 1014, + "line": 1015, "column": 30 } } @@ -230274,15 +230594,15 @@ "updateContext": null }, "value": "if", - "start": 38867, - "end": 38869, + "start": 39520, + "end": 39522, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 16 }, "end": { - "line": 1016, + "line": 1017, "column": 18 } } @@ -230299,15 +230619,15 @@ "postfix": false, "binop": null }, - "start": 38870, - "end": 38871, + "start": 39523, + "end": 39524, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 19 }, "end": { - "line": 1016, + "line": 1017, "column": 20 } } @@ -230326,15 +230646,15 @@ "updateContext": null }, "value": "!", - "start": 38871, - "end": 38872, + "start": 39524, + "end": 39525, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 20 }, "end": { - "line": 1016, + "line": 1017, "column": 21 } } @@ -230354,15 +230674,15 @@ "updateContext": null }, "value": "this", - "start": 38872, - "end": 38876, + "start": 39525, + "end": 39529, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 21 }, "end": { - "line": 1016, + "line": 1017, "column": 25 } } @@ -230380,15 +230700,15 @@ "binop": null, "updateContext": null }, - "start": 38876, - "end": 38877, + "start": 39529, + "end": 39530, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 25 }, "end": { - "line": 1016, + "line": 1017, "column": 26 } } @@ -230406,15 +230726,15 @@ "binop": null }, "value": "_rootMetaObject", - "start": 38877, - "end": 38892, + "start": 39530, + "end": 39545, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 26 }, "end": { - "line": 1016, + "line": 1017, "column": 41 } } @@ -230431,15 +230751,15 @@ "postfix": false, "binop": null }, - "start": 38892, - "end": 38893, + "start": 39545, + "end": 39546, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 41 }, "end": { - "line": 1016, + "line": 1017, "column": 42 } } @@ -230456,15 +230776,15 @@ "postfix": false, "binop": null }, - "start": 38894, - "end": 38895, + "start": 39547, + "end": 39548, "loc": { "start": { - "line": 1016, + "line": 1017, "column": 43 }, "end": { - "line": 1016, + "line": 1017, "column": 44 } } @@ -230484,15 +230804,15 @@ "updateContext": null }, "value": "this", - "start": 38916, - "end": 38920, + "start": 39569, + "end": 39573, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 20 }, "end": { - "line": 1017, + "line": 1018, "column": 24 } } @@ -230510,15 +230830,15 @@ "binop": null, "updateContext": null }, - "start": 38920, - "end": 38921, + "start": 39573, + "end": 39574, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 24 }, "end": { - "line": 1017, + "line": 1018, "column": 25 } } @@ -230536,15 +230856,15 @@ "binop": null }, "value": "_rootMetaObject", - "start": 38921, - "end": 38936, + "start": 39574, + "end": 39589, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 25 }, "end": { - "line": 1017, + "line": 1018, "column": 40 } } @@ -230563,15 +230883,15 @@ "updateContext": null }, "value": "=", - "start": 38937, - "end": 38938, + "start": 39590, + "end": 39591, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 41 }, "end": { - "line": 1017, + "line": 1018, "column": 42 } } @@ -230591,15 +230911,15 @@ "updateContext": null }, "value": "this", - "start": 38939, - "end": 38943, + "start": 39592, + "end": 39596, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 43 }, "end": { - "line": 1017, + "line": 1018, "column": 47 } } @@ -230617,15 +230937,15 @@ "binop": null, "updateContext": null }, - "start": 38943, - "end": 38944, + "start": 39596, + "end": 39597, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 47 }, "end": { - "line": 1017, + "line": 1018, "column": 48 } } @@ -230643,15 +230963,15 @@ "binop": null }, "value": "createMetaObject", - "start": 38944, - "end": 38960, + "start": 39597, + "end": 39613, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 48 }, "end": { - "line": 1017, + "line": 1018, "column": 64 } } @@ -230668,15 +230988,15 @@ "postfix": false, "binop": null }, - "start": 38960, - "end": 38961, + "start": 39613, + "end": 39614, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 64 }, "end": { - "line": 1017, + "line": 1018, "column": 65 } } @@ -230693,15 +231013,15 @@ "postfix": false, "binop": null }, - "start": 38961, - "end": 38962, + "start": 39614, + "end": 39615, "loc": { "start": { - "line": 1017, + "line": 1018, "column": 65 }, "end": { - "line": 1017, + "line": 1018, "column": 66 } } @@ -230719,15 +231039,15 @@ "binop": null }, "value": "metaObjectId", - "start": 38987, - "end": 38999, + "start": 39640, + "end": 39652, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 24 }, "end": { - "line": 1018, + "line": 1019, "column": 36 } } @@ -230745,15 +231065,15 @@ "binop": null, "updateContext": null }, - "start": 38999, - "end": 39000, + "start": 39652, + "end": 39653, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 36 }, "end": { - "line": 1018, + "line": 1019, "column": 37 } } @@ -230773,15 +231093,15 @@ "updateContext": null }, "value": "this", - "start": 39001, - "end": 39005, + "start": 39654, + "end": 39658, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 38 }, "end": { - "line": 1018, + "line": 1019, "column": 42 } } @@ -230799,15 +231119,15 @@ "binop": null, "updateContext": null }, - "start": 39005, - "end": 39006, + "start": 39658, + "end": 39659, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 42 }, "end": { - "line": 1018, + "line": 1019, "column": 43 } } @@ -230825,15 +231145,15 @@ "binop": null }, "value": "modelId", - "start": 39006, - "end": 39013, + "start": 39659, + "end": 39666, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 43 }, "end": { - "line": 1018, + "line": 1019, "column": 50 } } @@ -230851,15 +231171,15 @@ "binop": null, "updateContext": null }, - "start": 39013, - "end": 39014, + "start": 39666, + "end": 39667, "loc": { "start": { - "line": 1018, + "line": 1019, "column": 50 }, "end": { - "line": 1018, + "line": 1019, "column": 51 } } @@ -230877,15 +231197,15 @@ "binop": null }, "value": "metaObjectType", - "start": 39039, - "end": 39053, + "start": 39692, + "end": 39706, "loc": { "start": { - "line": 1019, + "line": 1020, "column": 24 }, "end": { - "line": 1019, + "line": 1020, "column": 38 } } @@ -230903,15 +231223,15 @@ "binop": null, "updateContext": null }, - "start": 39053, - "end": 39054, + "start": 39706, + "end": 39707, "loc": { "start": { - "line": 1019, + "line": 1020, "column": 38 }, "end": { - "line": 1019, + "line": 1020, "column": 39 } } @@ -230930,15 +231250,15 @@ "updateContext": null }, "value": "Default", - "start": 39055, - "end": 39064, + "start": 39708, + "end": 39717, "loc": { "start": { - "line": 1019, + "line": 1020, "column": 40 }, "end": { - "line": 1019, + "line": 1020, "column": 49 } } @@ -230956,15 +231276,15 @@ "binop": null, "updateContext": null }, - "start": 39064, - "end": 39065, + "start": 39717, + "end": 39718, "loc": { "start": { - "line": 1019, + "line": 1020, "column": 49 }, "end": { - "line": 1019, + "line": 1020, "column": 50 } } @@ -230982,15 +231302,15 @@ "binop": null }, "value": "metaObjectName", - "start": 39090, - "end": 39104, + "start": 39743, + "end": 39757, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 24 }, "end": { - "line": 1020, + "line": 1021, "column": 38 } } @@ -231008,15 +231328,15 @@ "binop": null, "updateContext": null }, - "start": 39104, - "end": 39105, + "start": 39757, + "end": 39758, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 38 }, "end": { - "line": 1020, + "line": 1021, "column": 39 } } @@ -231036,15 +231356,15 @@ "updateContext": null }, "value": "this", - "start": 39106, - "end": 39110, + "start": 39759, + "end": 39763, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 40 }, "end": { - "line": 1020, + "line": 1021, "column": 44 } } @@ -231062,15 +231382,15 @@ "binop": null, "updateContext": null }, - "start": 39110, - "end": 39111, + "start": 39763, + "end": 39764, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 44 }, "end": { - "line": 1020, + "line": 1021, "column": 45 } } @@ -231088,15 +231408,15 @@ "binop": null }, "value": "modelId", - "start": 39111, - "end": 39118, + "start": 39764, + "end": 39771, "loc": { "start": { - "line": 1020, + "line": 1021, "column": 45 }, "end": { - "line": 1020, + "line": 1021, "column": 52 } } @@ -231113,15 +231433,15 @@ "postfix": false, "binop": null }, - "start": 39139, - "end": 39140, + "start": 39792, + "end": 39793, "loc": { "start": { - "line": 1021, + "line": 1022, "column": 20 }, "end": { - "line": 1021, + "line": 1022, "column": 21 } } @@ -231138,15 +231458,15 @@ "postfix": false, "binop": null }, - "start": 39140, - "end": 39141, + "start": 39793, + "end": 39794, "loc": { "start": { - "line": 1021, + "line": 1022, "column": 21 }, "end": { - "line": 1021, + "line": 1022, "column": 22 } } @@ -231164,15 +231484,15 @@ "binop": null, "updateContext": null }, - "start": 39141, - "end": 39142, + "start": 39794, + "end": 39795, "loc": { "start": { - "line": 1021, + "line": 1022, "column": 22 }, "end": { - "line": 1021, + "line": 1022, "column": 23 } } @@ -231189,15 +231509,15 @@ "postfix": false, "binop": null }, - "start": 39159, - "end": 39160, + "start": 39812, + "end": 39813, "loc": { "start": { - "line": 1022, + "line": 1023, "column": 16 }, "end": { - "line": 1022, + "line": 1023, "column": 17 } } @@ -231217,15 +231537,15 @@ "updateContext": null }, "value": "this", - "start": 39178, - "end": 39182, + "start": 39831, + "end": 39835, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 16 }, "end": { - "line": 1024, + "line": 1025, "column": 20 } } @@ -231243,15 +231563,15 @@ "binop": null, "updateContext": null }, - "start": 39182, - "end": 39183, + "start": 39835, + "end": 39836, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 20 }, "end": { - "line": 1024, + "line": 1025, "column": 21 } } @@ -231269,15 +231589,15 @@ "binop": null }, "value": "createMetaObject", - "start": 39183, - "end": 39199, + "start": 39836, + "end": 39852, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 21 }, "end": { - "line": 1024, + "line": 1025, "column": 37 } } @@ -231294,15 +231614,15 @@ "postfix": false, "binop": null }, - "start": 39199, - "end": 39200, + "start": 39852, + "end": 39853, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 37 }, "end": { - "line": 1024, + "line": 1025, "column": 38 } } @@ -231319,15 +231639,15 @@ "postfix": false, "binop": null }, - "start": 39200, - "end": 39201, + "start": 39853, + "end": 39854, "loc": { "start": { - "line": 1024, + "line": 1025, "column": 38 }, "end": { - "line": 1024, + "line": 1025, "column": 39 } } @@ -231345,15 +231665,15 @@ "binop": null }, "value": "metaObjectId", - "start": 39222, - "end": 39234, + "start": 39875, + "end": 39887, "loc": { "start": { - "line": 1025, + "line": 1026, "column": 20 }, "end": { - "line": 1025, + "line": 1026, "column": 32 } } @@ -231371,15 +231691,15 @@ "binop": null, "updateContext": null }, - "start": 39234, - "end": 39235, + "start": 39887, + "end": 39888, "loc": { "start": { - "line": 1025, + "line": 1026, "column": 32 }, "end": { - "line": 1025, + "line": 1026, "column": 33 } } @@ -231397,15 +231717,15 @@ "binop": null }, "value": "metaObjectId", - "start": 39236, - "end": 39248, + "start": 39889, + "end": 39901, "loc": { "start": { - "line": 1025, + "line": 1026, "column": 34 }, "end": { - "line": 1025, + "line": 1026, "column": 46 } } @@ -231423,15 +231743,15 @@ "binop": null, "updateContext": null }, - "start": 39248, - "end": 39249, + "start": 39901, + "end": 39902, "loc": { "start": { - "line": 1025, + "line": 1026, "column": 46 }, "end": { - "line": 1025, + "line": 1026, "column": 47 } } @@ -231449,15 +231769,15 @@ "binop": null }, "value": "metaObjectType", - "start": 39270, - "end": 39284, + "start": 39923, + "end": 39937, "loc": { "start": { - "line": 1026, + "line": 1027, "column": 20 }, "end": { - "line": 1026, + "line": 1027, "column": 34 } } @@ -231475,15 +231795,15 @@ "binop": null, "updateContext": null }, - "start": 39284, - "end": 39285, + "start": 39937, + "end": 39938, "loc": { "start": { - "line": 1026, + "line": 1027, "column": 34 }, "end": { - "line": 1026, + "line": 1027, "column": 35 } } @@ -231502,15 +231822,15 @@ "updateContext": null }, "value": "Default", - "start": 39286, - "end": 39295, + "start": 39939, + "end": 39948, "loc": { "start": { - "line": 1026, + "line": 1027, "column": 36 }, "end": { - "line": 1026, + "line": 1027, "column": 45 } } @@ -231528,15 +231848,15 @@ "binop": null, "updateContext": null }, - "start": 39295, - "end": 39296, + "start": 39948, + "end": 39949, "loc": { "start": { - "line": 1026, + "line": 1027, "column": 45 }, "end": { - "line": 1026, + "line": 1027, "column": 46 } } @@ -231554,15 +231874,15 @@ "binop": null }, "value": "metaObjectName", - "start": 39317, - "end": 39331, + "start": 39970, + "end": 39984, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 20 }, "end": { - "line": 1027, + "line": 1028, "column": 34 } } @@ -231580,15 +231900,15 @@ "binop": null, "updateContext": null }, - "start": 39331, - "end": 39332, + "start": 39984, + "end": 39985, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 34 }, "end": { - "line": 1027, + "line": 1028, "column": 35 } } @@ -231607,15 +231927,15 @@ "updateContext": null }, "value": "", - "start": 39333, - "end": 39335, + "start": 39986, + "end": 39988, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 36 }, "end": { - "line": 1027, + "line": 1028, "column": 38 } } @@ -231634,15 +231954,15 @@ "updateContext": null }, "value": "+", - "start": 39336, - "end": 39337, + "start": 39989, + "end": 39990, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 39 }, "end": { - "line": 1027, + "line": 1028, "column": 40 } } @@ -231660,15 +231980,15 @@ "binop": null }, "value": "metaObjectId", - "start": 39338, - "end": 39350, + "start": 39991, + "end": 40003, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 41 }, "end": { - "line": 1027, + "line": 1028, "column": 53 } } @@ -231686,15 +232006,15 @@ "binop": null, "updateContext": null }, - "start": 39350, - "end": 39351, + "start": 40003, + "end": 40004, "loc": { "start": { - "line": 1027, + "line": 1028, "column": 53 }, "end": { - "line": 1027, + "line": 1028, "column": 54 } } @@ -231712,15 +232032,15 @@ "binop": null }, "value": "parentMetaObjectId", - "start": 39372, - "end": 39390, + "start": 40025, + "end": 40043, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 20 }, "end": { - "line": 1028, + "line": 1029, "column": 38 } } @@ -231738,15 +232058,15 @@ "binop": null, "updateContext": null }, - "start": 39390, - "end": 39391, + "start": 40043, + "end": 40044, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 38 }, "end": { - "line": 1028, + "line": 1029, "column": 39 } } @@ -231766,15 +232086,15 @@ "updateContext": null }, "value": "this", - "start": 39392, - "end": 39396, + "start": 40045, + "end": 40049, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 40 }, "end": { - "line": 1028, + "line": 1029, "column": 44 } } @@ -231792,15 +232112,15 @@ "binop": null, "updateContext": null }, - "start": 39396, - "end": 39397, + "start": 40049, + "end": 40050, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 44 }, "end": { - "line": 1028, + "line": 1029, "column": 45 } } @@ -231818,15 +232138,15 @@ "binop": null }, "value": "_rootMetaObject", - "start": 39397, - "end": 39412, + "start": 40050, + "end": 40065, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 45 }, "end": { - "line": 1028, + "line": 1029, "column": 60 } } @@ -231844,15 +232164,15 @@ "binop": null, "updateContext": null }, - "start": 39412, - "end": 39413, + "start": 40065, + "end": 40066, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 60 }, "end": { - "line": 1028, + "line": 1029, "column": 61 } } @@ -231870,15 +232190,15 @@ "binop": null }, "value": "metaObjectId", - "start": 39413, - "end": 39425, + "start": 40066, + "end": 40078, "loc": { "start": { - "line": 1028, + "line": 1029, "column": 61 }, "end": { - "line": 1028, + "line": 1029, "column": 73 } } @@ -231895,15 +232215,15 @@ "postfix": false, "binop": null }, - "start": 39442, - "end": 39443, + "start": 40095, + "end": 40096, "loc": { "start": { - "line": 1029, + "line": 1030, "column": 16 }, "end": { - "line": 1029, + "line": 1030, "column": 17 } } @@ -231920,15 +232240,15 @@ "postfix": false, "binop": null }, - "start": 39443, - "end": 39444, + "start": 40096, + "end": 40097, "loc": { "start": { - "line": 1029, + "line": 1030, "column": 17 }, "end": { - "line": 1029, + "line": 1030, "column": 18 } } @@ -231946,15 +232266,15 @@ "binop": null, "updateContext": null }, - "start": 39444, - "end": 39445, + "start": 40097, + "end": 40098, "loc": { "start": { - "line": 1029, + "line": 1030, "column": 18 }, "end": { - "line": 1029, + "line": 1030, "column": 19 } } @@ -231971,15 +232291,15 @@ "postfix": false, "binop": null }, - "start": 39458, - "end": 39459, + "start": 40111, + "end": 40112, "loc": { "start": { - "line": 1030, + "line": 1031, "column": 12 }, "end": { - "line": 1030, + "line": 1031, "column": 13 } } @@ -231996,15 +232316,15 @@ "postfix": false, "binop": null }, - "start": 39468, - "end": 39469, + "start": 40121, + "end": 40122, "loc": { "start": { - "line": 1031, + "line": 1032, "column": 8 }, "end": { - "line": 1031, + "line": 1032, "column": 9 } } @@ -232021,15 +232341,15 @@ "postfix": false, "binop": null }, - "start": 39474, - "end": 39475, + "start": 40127, + "end": 40128, "loc": { "start": { - "line": 1032, + "line": 1033, "column": 4 }, "end": { - "line": 1032, + "line": 1033, "column": 5 } } @@ -232037,15 +232357,15 @@ { "type": "CommentBlock", "value": "*\n * Finalizes this XKTModel.\n *\n * After finalizing, we may then serialize the model to an array buffer using {@link writeXKTModelToArrayBuffer}.\n *\n * Logs error and does nothing if this XKTModel has already been finalized.\n *\n * Internally, this method:\n *\n * * for each {@link XKTEntity} that doesn't already have a {@link XKTMetaObject}, creates one with {@link XKTMetaObject#metaObjectType} set to \"default\"\n * * sets each {@link XKTEntity}'s {@link XKTEntity#hasReusedGeometries} true if it shares its {@link XKTGeometry}s with other {@link XKTEntity}s,\n * * creates each {@link XKTEntity}'s {@link XKTEntity#aabb},\n * * creates {@link XKTTile}s in {@link XKTModel#tilesList}, and\n * * sets {@link XKTModel#finalized} ````true````.\n ", - "start": 39481, - "end": 40281, + "start": 40134, + "end": 40934, "loc": { "start": { - "line": 1034, + "line": 1035, "column": 4 }, "end": { - "line": 1048, + "line": 1049, "column": 7 } } @@ -232063,15 +232383,15 @@ "binop": null }, "value": "async", - "start": 40286, - "end": 40291, + "start": 40939, + "end": 40944, "loc": { "start": { - "line": 1049, + "line": 1050, "column": 4 }, "end": { - "line": 1049, + "line": 1050, "column": 9 } } @@ -232089,15 +232409,15 @@ "binop": null }, "value": "finalize", - "start": 40292, - "end": 40300, + "start": 40945, + "end": 40953, "loc": { "start": { - "line": 1049, + "line": 1050, "column": 10 }, "end": { - "line": 1049, + "line": 1050, "column": 18 } } @@ -232114,15 +232434,15 @@ "postfix": false, "binop": null }, - "start": 40300, - "end": 40301, + "start": 40953, + "end": 40954, "loc": { "start": { - "line": 1049, + "line": 1050, "column": 18 }, "end": { - "line": 1049, + "line": 1050, "column": 19 } } @@ -232139,15 +232459,15 @@ "postfix": false, "binop": null }, - "start": 40301, - "end": 40302, + "start": 40954, + "end": 40955, "loc": { "start": { - "line": 1049, + "line": 1050, "column": 19 }, "end": { - "line": 1049, + "line": 1050, "column": 20 } } @@ -232164,15 +232484,15 @@ "postfix": false, "binop": null }, - "start": 40303, - "end": 40304, + "start": 40956, + "end": 40957, "loc": { "start": { - "line": 1049, + "line": 1050, "column": 21 }, "end": { - "line": 1049, + "line": 1050, "column": 22 } } @@ -232192,15 +232512,15 @@ "updateContext": null }, "value": "if", - "start": 40314, - "end": 40316, + "start": 40967, + "end": 40969, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 8 }, "end": { - "line": 1051, + "line": 1052, "column": 10 } } @@ -232217,15 +232537,15 @@ "postfix": false, "binop": null }, - "start": 40317, - "end": 40318, + "start": 40970, + "end": 40971, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 11 }, "end": { - "line": 1051, + "line": 1052, "column": 12 } } @@ -232245,15 +232565,15 @@ "updateContext": null }, "value": "this", - "start": 40318, - "end": 40322, + "start": 40971, + "end": 40975, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 12 }, "end": { - "line": 1051, + "line": 1052, "column": 16 } } @@ -232271,15 +232591,15 @@ "binop": null, "updateContext": null }, - "start": 40322, - "end": 40323, + "start": 40975, + "end": 40976, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 16 }, "end": { - "line": 1051, + "line": 1052, "column": 17 } } @@ -232297,15 +232617,15 @@ "binop": null }, "value": "finalized", - "start": 40323, - "end": 40332, + "start": 40976, + "end": 40985, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 17 }, "end": { - "line": 1051, + "line": 1052, "column": 26 } } @@ -232322,15 +232642,15 @@ "postfix": false, "binop": null }, - "start": 40332, - "end": 40333, + "start": 40985, + "end": 40986, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 26 }, "end": { - "line": 1051, + "line": 1052, "column": 27 } } @@ -232347,15 +232667,15 @@ "postfix": false, "binop": null }, - "start": 40334, - "end": 40335, + "start": 40987, + "end": 40988, "loc": { "start": { - "line": 1051, + "line": 1052, "column": 28 }, "end": { - "line": 1051, + "line": 1052, "column": 29 } } @@ -232373,15 +232693,15 @@ "binop": null }, "value": "console", - "start": 40348, - "end": 40355, + "start": 41001, + "end": 41008, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 12 }, "end": { - "line": 1052, + "line": 1053, "column": 19 } } @@ -232399,15 +232719,15 @@ "binop": null, "updateContext": null }, - "start": 40355, - "end": 40356, + "start": 41008, + "end": 41009, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 19 }, "end": { - "line": 1052, + "line": 1053, "column": 20 } } @@ -232425,15 +232745,15 @@ "binop": null }, "value": "log", - "start": 40356, - "end": 40359, + "start": 41009, + "end": 41012, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 20 }, "end": { - "line": 1052, + "line": 1053, "column": 23 } } @@ -232450,15 +232770,15 @@ "postfix": false, "binop": null }, - "start": 40359, - "end": 40360, + "start": 41012, + "end": 41013, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 23 }, "end": { - "line": 1052, + "line": 1053, "column": 24 } } @@ -232477,15 +232797,15 @@ "updateContext": null }, "value": "XKTModel already finalized", - "start": 40360, - "end": 40388, + "start": 41013, + "end": 41041, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 24 }, "end": { - "line": 1052, + "line": 1053, "column": 52 } } @@ -232502,15 +232822,15 @@ "postfix": false, "binop": null }, - "start": 40388, - "end": 40389, + "start": 41041, + "end": 41042, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 52 }, "end": { - "line": 1052, + "line": 1053, "column": 53 } } @@ -232528,15 +232848,15 @@ "binop": null, "updateContext": null }, - "start": 40389, - "end": 40390, + "start": 41042, + "end": 41043, "loc": { "start": { - "line": 1052, + "line": 1053, "column": 53 }, "end": { - "line": 1052, + "line": 1053, "column": 54 } } @@ -232556,15 +232876,15 @@ "updateContext": null }, "value": "return", - "start": 40403, - "end": 40409, + "start": 41056, + "end": 41062, "loc": { "start": { - "line": 1053, + "line": 1054, "column": 12 }, "end": { - "line": 1053, + "line": 1054, "column": 18 } } @@ -232582,15 +232902,15 @@ "binop": null, "updateContext": null }, - "start": 40409, - "end": 40410, + "start": 41062, + "end": 41063, "loc": { "start": { - "line": 1053, + "line": 1054, "column": 18 }, "end": { - "line": 1053, + "line": 1054, "column": 19 } } @@ -232607,15 +232927,15 @@ "postfix": false, "binop": null }, - "start": 40419, - "end": 40420, + "start": 41072, + "end": 41073, "loc": { "start": { - "line": 1054, + "line": 1055, "column": 8 }, "end": { - "line": 1054, + "line": 1055, "column": 9 } } @@ -232635,15 +232955,15 @@ "updateContext": null }, "value": "this", - "start": 40430, - "end": 40434, + "start": 41083, + "end": 41087, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 8 }, "end": { - "line": 1056, + "line": 1057, "column": 12 } } @@ -232661,15 +232981,15 @@ "binop": null, "updateContext": null }, - "start": 40434, - "end": 40435, + "start": 41087, + "end": 41088, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 12 }, "end": { - "line": 1056, + "line": 1057, "column": 13 } } @@ -232687,15 +233007,15 @@ "binop": null }, "value": "_removeUnusedTextures", - "start": 40435, - "end": 40456, + "start": 41088, + "end": 41109, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 13 }, "end": { - "line": 1056, + "line": 1057, "column": 34 } } @@ -232712,15 +233032,15 @@ "postfix": false, "binop": null }, - "start": 40456, - "end": 40457, + "start": 41109, + "end": 41110, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 34 }, "end": { - "line": 1056, + "line": 1057, "column": 35 } } @@ -232737,15 +233057,15 @@ "postfix": false, "binop": null }, - "start": 40457, - "end": 40458, + "start": 41110, + "end": 41111, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 35 }, "end": { - "line": 1056, + "line": 1057, "column": 36 } } @@ -232763,15 +233083,15 @@ "binop": null, "updateContext": null }, - "start": 40458, - "end": 40459, + "start": 41111, + "end": 41112, "loc": { "start": { - "line": 1056, + "line": 1057, "column": 36 }, "end": { - "line": 1056, + "line": 1057, "column": 37 } } @@ -232789,15 +233109,15 @@ "binop": null }, "value": "await", - "start": 40469, - "end": 40474, + "start": 41122, + "end": 41127, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 8 }, "end": { - "line": 1058, + "line": 1059, "column": 13 } } @@ -232817,15 +233137,15 @@ "updateContext": null }, "value": "this", - "start": 40475, - "end": 40479, + "start": 41128, + "end": 41132, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 14 }, "end": { - "line": 1058, + "line": 1059, "column": 18 } } @@ -232843,15 +233163,15 @@ "binop": null, "updateContext": null }, - "start": 40479, - "end": 40480, + "start": 41132, + "end": 41133, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 18 }, "end": { - "line": 1058, + "line": 1059, "column": 19 } } @@ -232869,15 +233189,15 @@ "binop": null }, "value": "_compressTextures", - "start": 40480, - "end": 40497, + "start": 41133, + "end": 41150, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 19 }, "end": { - "line": 1058, + "line": 1059, "column": 36 } } @@ -232894,15 +233214,15 @@ "postfix": false, "binop": null }, - "start": 40497, - "end": 40498, + "start": 41150, + "end": 41151, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 36 }, "end": { - "line": 1058, + "line": 1059, "column": 37 } } @@ -232919,15 +233239,15 @@ "postfix": false, "binop": null }, - "start": 40498, - "end": 40499, + "start": 41151, + "end": 41152, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 37 }, "end": { - "line": 1058, + "line": 1059, "column": 38 } } @@ -232945,15 +233265,15 @@ "binop": null, "updateContext": null }, - "start": 40499, - "end": 40500, + "start": 41152, + "end": 41153, "loc": { "start": { - "line": 1058, + "line": 1059, "column": 38 }, "end": { - "line": 1058, + "line": 1059, "column": 39 } } @@ -232973,15 +233293,15 @@ "updateContext": null }, "value": "this", - "start": 40510, - "end": 40514, + "start": 41163, + "end": 41167, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 8 }, "end": { - "line": 1060, + "line": 1061, "column": 12 } } @@ -232999,15 +233319,15 @@ "binop": null, "updateContext": null }, - "start": 40514, - "end": 40515, + "start": 41167, + "end": 41168, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 12 }, "end": { - "line": 1060, + "line": 1061, "column": 13 } } @@ -233025,15 +233345,15 @@ "binop": null }, "value": "_bakeSingleUseGeometryPositions", - "start": 40515, - "end": 40546, + "start": 41168, + "end": 41199, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 13 }, "end": { - "line": 1060, + "line": 1061, "column": 44 } } @@ -233050,15 +233370,15 @@ "postfix": false, "binop": null }, - "start": 40546, - "end": 40547, + "start": 41199, + "end": 41200, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 44 }, "end": { - "line": 1060, + "line": 1061, "column": 45 } } @@ -233075,15 +233395,15 @@ "postfix": false, "binop": null }, - "start": 40547, - "end": 40548, + "start": 41200, + "end": 41201, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 45 }, "end": { - "line": 1060, + "line": 1061, "column": 46 } } @@ -233101,15 +233421,15 @@ "binop": null, "updateContext": null }, - "start": 40548, - "end": 40549, + "start": 41201, + "end": 41202, "loc": { "start": { - "line": 1060, + "line": 1061, "column": 46 }, "end": { - "line": 1060, + "line": 1061, "column": 47 } } @@ -233129,15 +233449,15 @@ "updateContext": null }, "value": "this", - "start": 40559, - "end": 40563, + "start": 41212, + "end": 41216, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 8 }, "end": { - "line": 1062, + "line": 1063, "column": 12 } } @@ -233155,15 +233475,15 @@ "binop": null, "updateContext": null }, - "start": 40563, - "end": 40564, + "start": 41216, + "end": 41217, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 12 }, "end": { - "line": 1062, + "line": 1063, "column": 13 } } @@ -233181,15 +233501,15 @@ "binop": null }, "value": "_bakeAndOctEncodeNormals", - "start": 40564, - "end": 40588, + "start": 41217, + "end": 41241, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 13 }, "end": { - "line": 1062, + "line": 1063, "column": 37 } } @@ -233206,15 +233526,15 @@ "postfix": false, "binop": null }, - "start": 40588, - "end": 40589, + "start": 41241, + "end": 41242, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 37 }, "end": { - "line": 1062, + "line": 1063, "column": 38 } } @@ -233231,15 +233551,15 @@ "postfix": false, "binop": null }, - "start": 40589, - "end": 40590, + "start": 41242, + "end": 41243, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 38 }, "end": { - "line": 1062, + "line": 1063, "column": 39 } } @@ -233257,15 +233577,15 @@ "binop": null, "updateContext": null }, - "start": 40590, - "end": 40591, + "start": 41243, + "end": 41244, "loc": { "start": { - "line": 1062, + "line": 1063, "column": 39 }, "end": { - "line": 1062, + "line": 1063, "column": 40 } } @@ -233285,15 +233605,15 @@ "updateContext": null }, "value": "this", - "start": 40601, - "end": 40605, + "start": 41254, + "end": 41258, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 8 }, "end": { - "line": 1064, + "line": 1065, "column": 12 } } @@ -233311,15 +233631,15 @@ "binop": null, "updateContext": null }, - "start": 40605, - "end": 40606, + "start": 41258, + "end": 41259, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 12 }, "end": { - "line": 1064, + "line": 1065, "column": 13 } } @@ -233337,15 +233657,15 @@ "binop": null }, "value": "_createEntityAABBs", - "start": 40606, - "end": 40624, + "start": 41259, + "end": 41277, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 13 }, "end": { - "line": 1064, + "line": 1065, "column": 31 } } @@ -233362,15 +233682,15 @@ "postfix": false, "binop": null }, - "start": 40624, - "end": 40625, + "start": 41277, + "end": 41278, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 31 }, "end": { - "line": 1064, + "line": 1065, "column": 32 } } @@ -233387,15 +233707,15 @@ "postfix": false, "binop": null }, - "start": 40625, - "end": 40626, + "start": 41278, + "end": 41279, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 32 }, "end": { - "line": 1064, + "line": 1065, "column": 33 } } @@ -233413,15 +233733,15 @@ "binop": null, "updateContext": null }, - "start": 40626, - "end": 40627, + "start": 41279, + "end": 41280, "loc": { "start": { - "line": 1064, + "line": 1065, "column": 33 }, "end": { - "line": 1064, + "line": 1065, "column": 34 } } @@ -233441,15 +233761,15 @@ "updateContext": null }, "value": "const", - "start": 40637, - "end": 40642, + "start": 41290, + "end": 41295, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 8 }, "end": { - "line": 1066, + "line": 1067, "column": 13 } } @@ -233467,15 +233787,15 @@ "binop": null }, "value": "rootKDNode", - "start": 40643, - "end": 40653, + "start": 41296, + "end": 41306, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 14 }, "end": { - "line": 1066, + "line": 1067, "column": 24 } } @@ -233494,15 +233814,15 @@ "updateContext": null }, "value": "=", - "start": 40654, - "end": 40655, + "start": 41307, + "end": 41308, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 25 }, "end": { - "line": 1066, + "line": 1067, "column": 26 } } @@ -233522,15 +233842,15 @@ "updateContext": null }, "value": "this", - "start": 40656, - "end": 40660, + "start": 41309, + "end": 41313, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 27 }, "end": { - "line": 1066, + "line": 1067, "column": 31 } } @@ -233548,15 +233868,15 @@ "binop": null, "updateContext": null }, - "start": 40660, - "end": 40661, + "start": 41313, + "end": 41314, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 31 }, "end": { - "line": 1066, + "line": 1067, "column": 32 } } @@ -233574,15 +233894,15 @@ "binop": null }, "value": "_createKDTree", - "start": 40661, - "end": 40674, + "start": 41314, + "end": 41327, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 32 }, "end": { - "line": 1066, + "line": 1067, "column": 45 } } @@ -233599,15 +233919,15 @@ "postfix": false, "binop": null }, - "start": 40674, - "end": 40675, + "start": 41327, + "end": 41328, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 45 }, "end": { - "line": 1066, + "line": 1067, "column": 46 } } @@ -233624,15 +233944,15 @@ "postfix": false, "binop": null }, - "start": 40675, - "end": 40676, + "start": 41328, + "end": 41329, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 46 }, "end": { - "line": 1066, + "line": 1067, "column": 47 } } @@ -233650,15 +233970,15 @@ "binop": null, "updateContext": null }, - "start": 40676, - "end": 40677, + "start": 41329, + "end": 41330, "loc": { "start": { - "line": 1066, + "line": 1067, "column": 47 }, "end": { - "line": 1066, + "line": 1067, "column": 48 } } @@ -233678,15 +233998,15 @@ "updateContext": null }, "value": "this", - "start": 40687, - "end": 40691, + "start": 41340, + "end": 41344, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 8 }, "end": { - "line": 1068, + "line": 1069, "column": 12 } } @@ -233704,15 +234024,15 @@ "binop": null, "updateContext": null }, - "start": 40691, - "end": 40692, + "start": 41344, + "end": 41345, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 12 }, "end": { - "line": 1068, + "line": 1069, "column": 13 } } @@ -233730,15 +234050,15 @@ "binop": null }, "value": "entitiesList", - "start": 40692, - "end": 40704, + "start": 41345, + "end": 41357, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 13 }, "end": { - "line": 1068, + "line": 1069, "column": 25 } } @@ -233757,15 +234077,15 @@ "updateContext": null }, "value": "=", - "start": 40705, - "end": 40706, + "start": 41358, + "end": 41359, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 26 }, "end": { - "line": 1068, + "line": 1069, "column": 27 } } @@ -233783,15 +234103,15 @@ "binop": null, "updateContext": null }, - "start": 40707, - "end": 40708, + "start": 41360, + "end": 41361, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 28 }, "end": { - "line": 1068, + "line": 1069, "column": 29 } } @@ -233809,15 +234129,15 @@ "binop": null, "updateContext": null }, - "start": 40708, - "end": 40709, + "start": 41361, + "end": 41362, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 29 }, "end": { - "line": 1068, + "line": 1069, "column": 30 } } @@ -233835,15 +234155,15 @@ "binop": null, "updateContext": null }, - "start": 40709, - "end": 40710, + "start": 41362, + "end": 41363, "loc": { "start": { - "line": 1068, + "line": 1069, "column": 30 }, "end": { - "line": 1068, + "line": 1069, "column": 31 } } @@ -233863,15 +234183,15 @@ "updateContext": null }, "value": "this", - "start": 40720, - "end": 40724, + "start": 41373, + "end": 41377, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 8 }, "end": { - "line": 1070, + "line": 1071, "column": 12 } } @@ -233889,15 +234209,15 @@ "binop": null, "updateContext": null }, - "start": 40724, - "end": 40725, + "start": 41377, + "end": 41378, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 12 }, "end": { - "line": 1070, + "line": 1071, "column": 13 } } @@ -233915,15 +234235,15 @@ "binop": null }, "value": "_createTilesFromKDTree", - "start": 40725, - "end": 40747, + "start": 41378, + "end": 41400, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 13 }, "end": { - "line": 1070, + "line": 1071, "column": 35 } } @@ -233940,15 +234260,15 @@ "postfix": false, "binop": null }, - "start": 40747, - "end": 40748, + "start": 41400, + "end": 41401, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 35 }, "end": { - "line": 1070, + "line": 1071, "column": 36 } } @@ -233966,15 +234286,15 @@ "binop": null }, "value": "rootKDNode", - "start": 40748, - "end": 40758, + "start": 41401, + "end": 41411, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 36 }, "end": { - "line": 1070, + "line": 1071, "column": 46 } } @@ -233991,15 +234311,15 @@ "postfix": false, "binop": null }, - "start": 40758, - "end": 40759, + "start": 41411, + "end": 41412, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 46 }, "end": { - "line": 1070, + "line": 1071, "column": 47 } } @@ -234017,15 +234337,15 @@ "binop": null, "updateContext": null }, - "start": 40759, - "end": 40760, + "start": 41412, + "end": 41413, "loc": { "start": { - "line": 1070, + "line": 1071, "column": 47 }, "end": { - "line": 1070, + "line": 1071, "column": 48 } } @@ -234045,15 +234365,15 @@ "updateContext": null }, "value": "this", - "start": 40770, - "end": 40774, + "start": 41423, + "end": 41427, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 8 }, "end": { - "line": 1072, + "line": 1073, "column": 12 } } @@ -234071,15 +234391,15 @@ "binop": null, "updateContext": null }, - "start": 40774, - "end": 40775, + "start": 41427, + "end": 41428, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 12 }, "end": { - "line": 1072, + "line": 1073, "column": 13 } } @@ -234097,15 +234417,15 @@ "binop": null }, "value": "_createReusedGeometriesDecodeMatrix", - "start": 40775, - "end": 40810, + "start": 41428, + "end": 41463, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 13 }, "end": { - "line": 1072, + "line": 1073, "column": 48 } } @@ -234122,15 +234442,15 @@ "postfix": false, "binop": null }, - "start": 40810, - "end": 40811, + "start": 41463, + "end": 41464, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 48 }, "end": { - "line": 1072, + "line": 1073, "column": 49 } } @@ -234147,15 +234467,15 @@ "postfix": false, "binop": null }, - "start": 40811, - "end": 40812, + "start": 41464, + "end": 41465, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 49 }, "end": { - "line": 1072, + "line": 1073, "column": 50 } } @@ -234173,15 +234493,15 @@ "binop": null, "updateContext": null }, - "start": 40812, - "end": 40813, + "start": 41465, + "end": 41466, "loc": { "start": { - "line": 1072, + "line": 1073, "column": 50 }, "end": { - "line": 1072, + "line": 1073, "column": 51 } } @@ -234201,15 +234521,15 @@ "updateContext": null }, "value": "this", - "start": 40823, - "end": 40827, + "start": 41476, + "end": 41480, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 8 }, "end": { - "line": 1074, + "line": 1075, "column": 12 } } @@ -234227,15 +234547,15 @@ "binop": null, "updateContext": null }, - "start": 40827, - "end": 40828, + "start": 41480, + "end": 41481, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 12 }, "end": { - "line": 1074, + "line": 1075, "column": 13 } } @@ -234253,15 +234573,15 @@ "binop": null }, "value": "_flagSolidGeometries", - "start": 40828, - "end": 40848, + "start": 41481, + "end": 41501, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 13 }, "end": { - "line": 1074, + "line": 1075, "column": 33 } } @@ -234278,15 +234598,15 @@ "postfix": false, "binop": null }, - "start": 40848, - "end": 40849, + "start": 41501, + "end": 41502, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 33 }, "end": { - "line": 1074, + "line": 1075, "column": 34 } } @@ -234303,15 +234623,15 @@ "postfix": false, "binop": null }, - "start": 40849, - "end": 40850, + "start": 41502, + "end": 41503, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 34 }, "end": { - "line": 1074, + "line": 1075, "column": 35 } } @@ -234329,15 +234649,15 @@ "binop": null, "updateContext": null }, - "start": 40850, - "end": 40851, + "start": 41503, + "end": 41504, "loc": { "start": { - "line": 1074, + "line": 1075, "column": 35 }, "end": { - "line": 1074, + "line": 1075, "column": 36 } } @@ -234357,15 +234677,15 @@ "updateContext": null }, "value": "this", - "start": 40861, - "end": 40865, + "start": 41514, + "end": 41518, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 8 }, "end": { - "line": 1076, + "line": 1077, "column": 12 } } @@ -234383,15 +234703,15 @@ "binop": null, "updateContext": null }, - "start": 40865, - "end": 40866, + "start": 41518, + "end": 41519, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 12 }, "end": { - "line": 1076, + "line": 1077, "column": 13 } } @@ -234409,15 +234729,15 @@ "binop": null }, "value": "aabb", - "start": 40866, - "end": 40870, + "start": 41519, + "end": 41523, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 13 }, "end": { - "line": 1076, + "line": 1077, "column": 17 } } @@ -234435,15 +234755,15 @@ "binop": null, "updateContext": null }, - "start": 40870, - "end": 40871, + "start": 41523, + "end": 41524, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 17 }, "end": { - "line": 1076, + "line": 1077, "column": 18 } } @@ -234461,15 +234781,15 @@ "binop": null }, "value": "set", - "start": 40871, - "end": 40874, + "start": 41524, + "end": 41527, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 18 }, "end": { - "line": 1076, + "line": 1077, "column": 21 } } @@ -234486,15 +234806,15 @@ "postfix": false, "binop": null }, - "start": 40874, - "end": 40875, + "start": 41527, + "end": 41528, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 21 }, "end": { - "line": 1076, + "line": 1077, "column": 22 } } @@ -234512,15 +234832,15 @@ "binop": null }, "value": "rootKDNode", - "start": 40875, - "end": 40885, + "start": 41528, + "end": 41538, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 22 }, "end": { - "line": 1076, + "line": 1077, "column": 32 } } @@ -234538,15 +234858,15 @@ "binop": null, "updateContext": null }, - "start": 40885, - "end": 40886, + "start": 41538, + "end": 41539, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 32 }, "end": { - "line": 1076, + "line": 1077, "column": 33 } } @@ -234564,15 +234884,15 @@ "binop": null }, "value": "aabb", - "start": 40886, - "end": 40890, + "start": 41539, + "end": 41543, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 33 }, "end": { - "line": 1076, + "line": 1077, "column": 37 } } @@ -234589,15 +234909,15 @@ "postfix": false, "binop": null }, - "start": 40890, - "end": 40891, + "start": 41543, + "end": 41544, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 37 }, "end": { - "line": 1076, + "line": 1077, "column": 38 } } @@ -234615,15 +234935,15 @@ "binop": null, "updateContext": null }, - "start": 40891, - "end": 40892, + "start": 41544, + "end": 41545, "loc": { "start": { - "line": 1076, + "line": 1077, "column": 38 }, "end": { - "line": 1076, + "line": 1077, "column": 39 } } @@ -234643,15 +234963,15 @@ "updateContext": null }, "value": "this", - "start": 40902, - "end": 40906, + "start": 41555, + "end": 41559, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 8 }, "end": { - "line": 1078, + "line": 1079, "column": 12 } } @@ -234669,15 +234989,15 @@ "binop": null, "updateContext": null }, - "start": 40906, - "end": 40907, + "start": 41559, + "end": 41560, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 12 }, "end": { - "line": 1078, + "line": 1079, "column": 13 } } @@ -234695,15 +235015,15 @@ "binop": null }, "value": "finalized", - "start": 40907, - "end": 40916, + "start": 41560, + "end": 41569, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 13 }, "end": { - "line": 1078, + "line": 1079, "column": 22 } } @@ -234722,15 +235042,15 @@ "updateContext": null }, "value": "=", - "start": 40917, - "end": 40918, + "start": 41570, + "end": 41571, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 23 }, "end": { - "line": 1078, + "line": 1079, "column": 24 } } @@ -234750,15 +235070,15 @@ "updateContext": null }, "value": "true", - "start": 40919, - "end": 40923, + "start": 41572, + "end": 41576, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 25 }, "end": { - "line": 1078, + "line": 1079, "column": 29 } } @@ -234776,15 +235096,15 @@ "binop": null, "updateContext": null }, - "start": 40923, - "end": 40924, + "start": 41576, + "end": 41577, "loc": { "start": { - "line": 1078, + "line": 1079, "column": 29 }, "end": { - "line": 1078, + "line": 1079, "column": 30 } } @@ -234801,15 +235121,15 @@ "postfix": false, "binop": null }, - "start": 40929, - "end": 40930, + "start": 41582, + "end": 41583, "loc": { "start": { - "line": 1079, + "line": 1080, "column": 4 }, "end": { - "line": 1079, + "line": 1080, "column": 5 } } @@ -234827,15 +235147,15 @@ "binop": null }, "value": "_removeUnusedTextures", - "start": 40936, - "end": 40957, + "start": 41589, + "end": 41610, "loc": { "start": { - "line": 1081, + "line": 1082, "column": 4 }, "end": { - "line": 1081, + "line": 1082, "column": 25 } } @@ -234852,15 +235172,15 @@ "postfix": false, "binop": null }, - "start": 40957, - "end": 40958, + "start": 41610, + "end": 41611, "loc": { "start": { - "line": 1081, + "line": 1082, "column": 25 }, "end": { - "line": 1081, + "line": 1082, "column": 26 } } @@ -234877,15 +235197,15 @@ "postfix": false, "binop": null }, - "start": 40958, - "end": 40959, + "start": 41611, + "end": 41612, "loc": { "start": { - "line": 1081, + "line": 1082, "column": 26 }, "end": { - "line": 1081, + "line": 1082, "column": 27 } } @@ -234902,15 +235222,15 @@ "postfix": false, "binop": null }, - "start": 40960, - "end": 40961, + "start": 41613, + "end": 41614, "loc": { "start": { - "line": 1081, + "line": 1082, "column": 28 }, "end": { - "line": 1081, + "line": 1082, "column": 29 } } @@ -234930,15 +235250,15 @@ "updateContext": null }, "value": "let", - "start": 40970, - "end": 40973, + "start": 41623, + "end": 41626, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 8 }, "end": { - "line": 1082, + "line": 1083, "column": 11 } } @@ -234956,15 +235276,15 @@ "binop": null }, "value": "texturesList", - "start": 40974, - "end": 40986, + "start": 41627, + "end": 41639, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 12 }, "end": { - "line": 1082, + "line": 1083, "column": 24 } } @@ -234983,15 +235303,15 @@ "updateContext": null }, "value": "=", - "start": 40987, - "end": 40988, + "start": 41640, + "end": 41641, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 25 }, "end": { - "line": 1082, + "line": 1083, "column": 26 } } @@ -235009,15 +235329,15 @@ "binop": null, "updateContext": null }, - "start": 40989, - "end": 40990, + "start": 41642, + "end": 41643, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 27 }, "end": { - "line": 1082, + "line": 1083, "column": 28 } } @@ -235035,15 +235355,15 @@ "binop": null, "updateContext": null }, - "start": 40990, - "end": 40991, + "start": 41643, + "end": 41644, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 28 }, "end": { - "line": 1082, + "line": 1083, "column": 29 } } @@ -235061,15 +235381,15 @@ "binop": null, "updateContext": null }, - "start": 40991, - "end": 40992, + "start": 41644, + "end": 41645, "loc": { "start": { - "line": 1082, + "line": 1083, "column": 29 }, "end": { - "line": 1082, + "line": 1083, "column": 30 } } @@ -235089,15 +235409,15 @@ "updateContext": null }, "value": "const", - "start": 41001, - "end": 41006, + "start": 41654, + "end": 41659, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 8 }, "end": { - "line": 1083, + "line": 1084, "column": 13 } } @@ -235115,15 +235435,15 @@ "binop": null }, "value": "textures", - "start": 41007, - "end": 41015, + "start": 41660, + "end": 41668, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 14 }, "end": { - "line": 1083, + "line": 1084, "column": 22 } } @@ -235142,15 +235462,15 @@ "updateContext": null }, "value": "=", - "start": 41016, - "end": 41017, + "start": 41669, + "end": 41670, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 23 }, "end": { - "line": 1083, + "line": 1084, "column": 24 } } @@ -235167,15 +235487,15 @@ "postfix": false, "binop": null }, - "start": 41018, - "end": 41019, + "start": 41671, + "end": 41672, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 25 }, "end": { - "line": 1083, + "line": 1084, "column": 26 } } @@ -235192,15 +235512,15 @@ "postfix": false, "binop": null }, - "start": 41019, - "end": 41020, + "start": 41672, + "end": 41673, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 26 }, "end": { - "line": 1083, + "line": 1084, "column": 27 } } @@ -235218,15 +235538,15 @@ "binop": null, "updateContext": null }, - "start": 41020, - "end": 41021, + "start": 41673, + "end": 41674, "loc": { "start": { - "line": 1083, + "line": 1084, "column": 27 }, "end": { - "line": 1083, + "line": 1084, "column": 28 } } @@ -235246,15 +235566,15 @@ "updateContext": null }, "value": "for", - "start": 41030, - "end": 41033, + "start": 41683, + "end": 41686, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 8 }, "end": { - "line": 1084, + "line": 1085, "column": 11 } } @@ -235271,15 +235591,15 @@ "postfix": false, "binop": null }, - "start": 41034, - "end": 41035, + "start": 41687, + "end": 41688, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 12 }, "end": { - "line": 1084, + "line": 1085, "column": 13 } } @@ -235299,15 +235619,15 @@ "updateContext": null }, "value": "let", - "start": 41035, - "end": 41038, + "start": 41688, + "end": 41691, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 13 }, "end": { - "line": 1084, + "line": 1085, "column": 16 } } @@ -235325,15 +235645,15 @@ "binop": null }, "value": "i", - "start": 41039, - "end": 41040, + "start": 41692, + "end": 41693, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 17 }, "end": { - "line": 1084, + "line": 1085, "column": 18 } } @@ -235352,15 +235672,15 @@ "updateContext": null }, "value": "=", - "start": 41041, - "end": 41042, + "start": 41694, + "end": 41695, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 19 }, "end": { - "line": 1084, + "line": 1085, "column": 20 } } @@ -235379,15 +235699,15 @@ "updateContext": null }, "value": 0, - "start": 41043, - "end": 41044, + "start": 41696, + "end": 41697, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 21 }, "end": { - "line": 1084, + "line": 1085, "column": 22 } } @@ -235405,15 +235725,15 @@ "binop": null, "updateContext": null }, - "start": 41044, - "end": 41045, + "start": 41697, + "end": 41698, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 22 }, "end": { - "line": 1084, + "line": 1085, "column": 23 } } @@ -235431,15 +235751,15 @@ "binop": null }, "value": "leni", - "start": 41046, - "end": 41050, + "start": 41699, + "end": 41703, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 24 }, "end": { - "line": 1084, + "line": 1085, "column": 28 } } @@ -235458,15 +235778,15 @@ "updateContext": null }, "value": "=", - "start": 41051, - "end": 41052, + "start": 41704, + "end": 41705, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 29 }, "end": { - "line": 1084, + "line": 1085, "column": 30 } } @@ -235486,15 +235806,15 @@ "updateContext": null }, "value": "this", - "start": 41053, - "end": 41057, + "start": 41706, + "end": 41710, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 31 }, "end": { - "line": 1084, + "line": 1085, "column": 35 } } @@ -235512,15 +235832,15 @@ "binop": null, "updateContext": null }, - "start": 41057, - "end": 41058, + "start": 41710, + "end": 41711, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 35 }, "end": { - "line": 1084, + "line": 1085, "column": 36 } } @@ -235538,15 +235858,15 @@ "binop": null }, "value": "texturesList", - "start": 41058, - "end": 41070, + "start": 41711, + "end": 41723, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 36 }, "end": { - "line": 1084, + "line": 1085, "column": 48 } } @@ -235564,15 +235884,15 @@ "binop": null, "updateContext": null }, - "start": 41070, - "end": 41071, + "start": 41723, + "end": 41724, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 48 }, "end": { - "line": 1084, + "line": 1085, "column": 49 } } @@ -235590,15 +235910,15 @@ "binop": null }, "value": "length", - "start": 41071, - "end": 41077, + "start": 41724, + "end": 41730, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 49 }, "end": { - "line": 1084, + "line": 1085, "column": 55 } } @@ -235616,15 +235936,15 @@ "binop": null, "updateContext": null }, - "start": 41077, - "end": 41078, + "start": 41730, + "end": 41731, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 55 }, "end": { - "line": 1084, + "line": 1085, "column": 56 } } @@ -235642,15 +235962,15 @@ "binop": null }, "value": "i", - "start": 41079, - "end": 41080, + "start": 41732, + "end": 41733, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 57 }, "end": { - "line": 1084, + "line": 1085, "column": 58 } } @@ -235669,15 +235989,15 @@ "updateContext": null }, "value": "<", - "start": 41081, - "end": 41082, + "start": 41734, + "end": 41735, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 59 }, "end": { - "line": 1084, + "line": 1085, "column": 60 } } @@ -235695,15 +236015,15 @@ "binop": null }, "value": "leni", - "start": 41083, - "end": 41087, + "start": 41736, + "end": 41740, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 61 }, "end": { - "line": 1084, + "line": 1085, "column": 65 } } @@ -235721,15 +236041,15 @@ "binop": null, "updateContext": null }, - "start": 41087, - "end": 41088, + "start": 41740, + "end": 41741, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 65 }, "end": { - "line": 1084, + "line": 1085, "column": 66 } } @@ -235747,15 +236067,15 @@ "binop": null }, "value": "i", - "start": 41089, - "end": 41090, + "start": 41742, + "end": 41743, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 67 }, "end": { - "line": 1084, + "line": 1085, "column": 68 } } @@ -235773,15 +236093,15 @@ "binop": null }, "value": "++", - "start": 41090, - "end": 41092, + "start": 41743, + "end": 41745, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 68 }, "end": { - "line": 1084, + "line": 1085, "column": 70 } } @@ -235798,15 +236118,15 @@ "postfix": false, "binop": null }, - "start": 41092, - "end": 41093, + "start": 41745, + "end": 41746, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 70 }, "end": { - "line": 1084, + "line": 1085, "column": 71 } } @@ -235823,15 +236143,15 @@ "postfix": false, "binop": null }, - "start": 41094, - "end": 41095, + "start": 41747, + "end": 41748, "loc": { "start": { - "line": 1084, + "line": 1085, "column": 72 }, "end": { - "line": 1084, + "line": 1085, "column": 73 } } @@ -235851,15 +236171,15 @@ "updateContext": null }, "value": "const", - "start": 41108, - "end": 41113, + "start": 41761, + "end": 41766, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 12 }, "end": { - "line": 1085, + "line": 1086, "column": 17 } } @@ -235877,15 +236197,15 @@ "binop": null }, "value": "texture", - "start": 41114, - "end": 41121, + "start": 41767, + "end": 41774, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 18 }, "end": { - "line": 1085, + "line": 1086, "column": 25 } } @@ -235904,15 +236224,15 @@ "updateContext": null }, "value": "=", - "start": 41122, - "end": 41123, + "start": 41775, + "end": 41776, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 26 }, "end": { - "line": 1085, + "line": 1086, "column": 27 } } @@ -235932,15 +236252,15 @@ "updateContext": null }, "value": "this", - "start": 41124, - "end": 41128, + "start": 41777, + "end": 41781, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 28 }, "end": { - "line": 1085, + "line": 1086, "column": 32 } } @@ -235958,15 +236278,15 @@ "binop": null, "updateContext": null }, - "start": 41128, - "end": 41129, + "start": 41781, + "end": 41782, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 32 }, "end": { - "line": 1085, + "line": 1086, "column": 33 } } @@ -235984,15 +236304,15 @@ "binop": null }, "value": "texturesList", - "start": 41129, - "end": 41141, + "start": 41782, + "end": 41794, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 33 }, "end": { - "line": 1085, + "line": 1086, "column": 45 } } @@ -236010,15 +236330,15 @@ "binop": null, "updateContext": null }, - "start": 41141, - "end": 41142, + "start": 41794, + "end": 41795, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 45 }, "end": { - "line": 1085, + "line": 1086, "column": 46 } } @@ -236036,15 +236356,15 @@ "binop": null }, "value": "i", - "start": 41142, - "end": 41143, + "start": 41795, + "end": 41796, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 46 }, "end": { - "line": 1085, + "line": 1086, "column": 47 } } @@ -236062,15 +236382,15 @@ "binop": null, "updateContext": null }, - "start": 41143, - "end": 41144, + "start": 41796, + "end": 41797, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 47 }, "end": { - "line": 1085, + "line": 1086, "column": 48 } } @@ -236088,15 +236408,15 @@ "binop": null, "updateContext": null }, - "start": 41144, - "end": 41145, + "start": 41797, + "end": 41798, "loc": { "start": { - "line": 1085, + "line": 1086, "column": 48 }, "end": { - "line": 1085, + "line": 1086, "column": 49 } } @@ -236116,15 +236436,15 @@ "updateContext": null }, "value": "if", - "start": 41158, - "end": 41160, + "start": 41811, + "end": 41813, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 12 }, "end": { - "line": 1086, + "line": 1087, "column": 14 } } @@ -236141,15 +236461,15 @@ "postfix": false, "binop": null }, - "start": 41161, - "end": 41162, + "start": 41814, + "end": 41815, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 15 }, "end": { - "line": 1086, + "line": 1087, "column": 16 } } @@ -236167,15 +236487,15 @@ "binop": null }, "value": "texture", - "start": 41162, - "end": 41169, + "start": 41815, + "end": 41822, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 16 }, "end": { - "line": 1086, + "line": 1087, "column": 23 } } @@ -236193,15 +236513,15 @@ "binop": null, "updateContext": null }, - "start": 41169, - "end": 41170, + "start": 41822, + "end": 41823, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 23 }, "end": { - "line": 1086, + "line": 1087, "column": 24 } } @@ -236219,15 +236539,15 @@ "binop": null }, "value": "channel", - "start": 41170, - "end": 41177, + "start": 41823, + "end": 41830, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 24 }, "end": { - "line": 1086, + "line": 1087, "column": 31 } } @@ -236246,15 +236566,15 @@ "updateContext": null }, "value": "!==", - "start": 41178, - "end": 41181, + "start": 41831, + "end": 41834, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 32 }, "end": { - "line": 1086, + "line": 1087, "column": 35 } } @@ -236274,15 +236594,15 @@ "updateContext": null }, "value": "null", - "start": 41182, - "end": 41186, + "start": 41835, + "end": 41839, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 36 }, "end": { - "line": 1086, + "line": 1087, "column": 40 } } @@ -236299,15 +236619,15 @@ "postfix": false, "binop": null }, - "start": 41186, - "end": 41187, + "start": 41839, + "end": 41840, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 40 }, "end": { - "line": 1086, + "line": 1087, "column": 41 } } @@ -236324,15 +236644,15 @@ "postfix": false, "binop": null }, - "start": 41188, - "end": 41189, + "start": 41841, + "end": 41842, "loc": { "start": { - "line": 1086, + "line": 1087, "column": 42 }, "end": { - "line": 1086, + "line": 1087, "column": 43 } } @@ -236350,15 +236670,15 @@ "binop": null }, "value": "texture", - "start": 41206, - "end": 41213, + "start": 41859, + "end": 41866, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 16 }, "end": { - "line": 1087, + "line": 1088, "column": 23 } } @@ -236376,15 +236696,15 @@ "binop": null, "updateContext": null }, - "start": 41213, - "end": 41214, + "start": 41866, + "end": 41867, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 23 }, "end": { - "line": 1087, + "line": 1088, "column": 24 } } @@ -236402,15 +236722,15 @@ "binop": null }, "value": "textureIndex", - "start": 41214, - "end": 41226, + "start": 41867, + "end": 41879, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 24 }, "end": { - "line": 1087, + "line": 1088, "column": 36 } } @@ -236429,15 +236749,15 @@ "updateContext": null }, "value": "=", - "start": 41227, - "end": 41228, + "start": 41880, + "end": 41881, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 37 }, "end": { - "line": 1087, + "line": 1088, "column": 38 } } @@ -236455,15 +236775,15 @@ "binop": null }, "value": "texturesList", - "start": 41229, - "end": 41241, + "start": 41882, + "end": 41894, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 39 }, "end": { - "line": 1087, + "line": 1088, "column": 51 } } @@ -236481,15 +236801,15 @@ "binop": null, "updateContext": null }, - "start": 41241, - "end": 41242, + "start": 41894, + "end": 41895, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 51 }, "end": { - "line": 1087, + "line": 1088, "column": 52 } } @@ -236507,15 +236827,15 @@ "binop": null }, "value": "length", - "start": 41242, - "end": 41248, + "start": 41895, + "end": 41901, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 52 }, "end": { - "line": 1087, + "line": 1088, "column": 58 } } @@ -236533,15 +236853,15 @@ "binop": null, "updateContext": null }, - "start": 41248, - "end": 41249, + "start": 41901, + "end": 41902, "loc": { "start": { - "line": 1087, + "line": 1088, "column": 58 }, "end": { - "line": 1087, + "line": 1088, "column": 59 } } @@ -236559,15 +236879,15 @@ "binop": null }, "value": "texturesList", - "start": 41266, - "end": 41278, + "start": 41919, + "end": 41931, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 16 }, "end": { - "line": 1088, + "line": 1089, "column": 28 } } @@ -236585,15 +236905,15 @@ "binop": null, "updateContext": null }, - "start": 41278, - "end": 41279, + "start": 41931, + "end": 41932, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 28 }, "end": { - "line": 1088, + "line": 1089, "column": 29 } } @@ -236611,15 +236931,15 @@ "binop": null }, "value": "push", - "start": 41279, - "end": 41283, + "start": 41932, + "end": 41936, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 29 }, "end": { - "line": 1088, + "line": 1089, "column": 33 } } @@ -236636,15 +236956,15 @@ "postfix": false, "binop": null }, - "start": 41283, - "end": 41284, + "start": 41936, + "end": 41937, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 33 }, "end": { - "line": 1088, + "line": 1089, "column": 34 } } @@ -236662,15 +236982,15 @@ "binop": null }, "value": "texture", - "start": 41284, - "end": 41291, + "start": 41937, + "end": 41944, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 34 }, "end": { - "line": 1088, + "line": 1089, "column": 41 } } @@ -236687,15 +237007,15 @@ "postfix": false, "binop": null }, - "start": 41291, - "end": 41292, + "start": 41944, + "end": 41945, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 41 }, "end": { - "line": 1088, + "line": 1089, "column": 42 } } @@ -236713,15 +237033,15 @@ "binop": null, "updateContext": null }, - "start": 41292, - "end": 41293, + "start": 41945, + "end": 41946, "loc": { "start": { - "line": 1088, + "line": 1089, "column": 42 }, "end": { - "line": 1088, + "line": 1089, "column": 43 } } @@ -236739,15 +237059,15 @@ "binop": null }, "value": "textures", - "start": 41310, - "end": 41318, + "start": 41963, + "end": 41971, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 16 }, "end": { - "line": 1089, + "line": 1090, "column": 24 } } @@ -236765,15 +237085,15 @@ "binop": null, "updateContext": null }, - "start": 41318, - "end": 41319, + "start": 41971, + "end": 41972, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 24 }, "end": { - "line": 1089, + "line": 1090, "column": 25 } } @@ -236791,15 +237111,15 @@ "binop": null }, "value": "texture", - "start": 41319, - "end": 41326, + "start": 41972, + "end": 41979, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 25 }, "end": { - "line": 1089, + "line": 1090, "column": 32 } } @@ -236817,15 +237137,15 @@ "binop": null, "updateContext": null }, - "start": 41326, - "end": 41327, + "start": 41979, + "end": 41980, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 32 }, "end": { - "line": 1089, + "line": 1090, "column": 33 } } @@ -236843,15 +237163,15 @@ "binop": null }, "value": "textureId", - "start": 41327, - "end": 41336, + "start": 41980, + "end": 41989, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 33 }, "end": { - "line": 1089, + "line": 1090, "column": 42 } } @@ -236869,15 +237189,15 @@ "binop": null, "updateContext": null }, - "start": 41336, - "end": 41337, + "start": 41989, + "end": 41990, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 42 }, "end": { - "line": 1089, + "line": 1090, "column": 43 } } @@ -236896,15 +237216,15 @@ "updateContext": null }, "value": "=", - "start": 41338, - "end": 41339, + "start": 41991, + "end": 41992, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 44 }, "end": { - "line": 1089, + "line": 1090, "column": 45 } } @@ -236922,15 +237242,15 @@ "binop": null }, "value": "texture", - "start": 41340, - "end": 41347, + "start": 41993, + "end": 42000, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 46 }, "end": { - "line": 1089, + "line": 1090, "column": 53 } } @@ -236948,15 +237268,15 @@ "binop": null, "updateContext": null }, - "start": 41347, - "end": 41348, + "start": 42000, + "end": 42001, "loc": { "start": { - "line": 1089, + "line": 1090, "column": 53 }, "end": { - "line": 1089, + "line": 1090, "column": 54 } } @@ -236973,15 +237293,15 @@ "postfix": false, "binop": null }, - "start": 41361, - "end": 41362, + "start": 42014, + "end": 42015, "loc": { "start": { - "line": 1090, + "line": 1091, "column": 12 }, "end": { - "line": 1090, + "line": 1091, "column": 13 } } @@ -236998,15 +237318,15 @@ "postfix": false, "binop": null }, - "start": 41371, - "end": 41372, + "start": 42024, + "end": 42025, "loc": { "start": { - "line": 1091, + "line": 1092, "column": 8 }, "end": { - "line": 1091, + "line": 1092, "column": 9 } } @@ -237026,15 +237346,15 @@ "updateContext": null }, "value": "this", - "start": 41381, - "end": 41385, + "start": 42034, + "end": 42038, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 8 }, "end": { - "line": 1092, + "line": 1093, "column": 12 } } @@ -237052,15 +237372,15 @@ "binop": null, "updateContext": null }, - "start": 41385, - "end": 41386, + "start": 42038, + "end": 42039, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 12 }, "end": { - "line": 1092, + "line": 1093, "column": 13 } } @@ -237078,15 +237398,15 @@ "binop": null }, "value": "texturesList", - "start": 41386, - "end": 41398, + "start": 42039, + "end": 42051, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 13 }, "end": { - "line": 1092, + "line": 1093, "column": 25 } } @@ -237105,15 +237425,15 @@ "updateContext": null }, "value": "=", - "start": 41399, - "end": 41400, + "start": 42052, + "end": 42053, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 26 }, "end": { - "line": 1092, + "line": 1093, "column": 27 } } @@ -237131,15 +237451,15 @@ "binop": null }, "value": "texturesList", - "start": 41401, - "end": 41413, + "start": 42054, + "end": 42066, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 28 }, "end": { - "line": 1092, + "line": 1093, "column": 40 } } @@ -237157,15 +237477,15 @@ "binop": null, "updateContext": null }, - "start": 41413, - "end": 41414, + "start": 42066, + "end": 42067, "loc": { "start": { - "line": 1092, + "line": 1093, "column": 40 }, "end": { - "line": 1092, + "line": 1093, "column": 41 } } @@ -237185,15 +237505,15 @@ "updateContext": null }, "value": "this", - "start": 41423, - "end": 41427, + "start": 42076, + "end": 42080, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 8 }, "end": { - "line": 1093, + "line": 1094, "column": 12 } } @@ -237211,15 +237531,15 @@ "binop": null, "updateContext": null }, - "start": 41427, - "end": 41428, + "start": 42080, + "end": 42081, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 12 }, "end": { - "line": 1093, + "line": 1094, "column": 13 } } @@ -237237,15 +237557,15 @@ "binop": null }, "value": "textures", - "start": 41428, - "end": 41436, + "start": 42081, + "end": 42089, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 13 }, "end": { - "line": 1093, + "line": 1094, "column": 21 } } @@ -237264,15 +237584,15 @@ "updateContext": null }, "value": "=", - "start": 41437, - "end": 41438, + "start": 42090, + "end": 42091, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 22 }, "end": { - "line": 1093, + "line": 1094, "column": 23 } } @@ -237290,15 +237610,15 @@ "binop": null }, "value": "textures", - "start": 41439, - "end": 41447, + "start": 42092, + "end": 42100, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 24 }, "end": { - "line": 1093, + "line": 1094, "column": 32 } } @@ -237316,15 +237636,15 @@ "binop": null, "updateContext": null }, - "start": 41447, - "end": 41448, + "start": 42100, + "end": 42101, "loc": { "start": { - "line": 1093, + "line": 1094, "column": 32 }, "end": { - "line": 1093, + "line": 1094, "column": 33 } } @@ -237341,15 +237661,15 @@ "postfix": false, "binop": null }, - "start": 41453, - "end": 41454, + "start": 42106, + "end": 42107, "loc": { "start": { - "line": 1094, + "line": 1095, "column": 4 }, "end": { - "line": 1094, + "line": 1095, "column": 5 } } @@ -237367,15 +237687,15 @@ "binop": null }, "value": "_compressTextures", - "start": 41460, - "end": 41477, + "start": 42113, + "end": 42130, "loc": { "start": { - "line": 1096, + "line": 1097, "column": 4 }, "end": { - "line": 1096, + "line": 1097, "column": 21 } } @@ -237392,15 +237712,15 @@ "postfix": false, "binop": null }, - "start": 41477, - "end": 41478, + "start": 42130, + "end": 42131, "loc": { "start": { - "line": 1096, + "line": 1097, "column": 21 }, "end": { - "line": 1096, + "line": 1097, "column": 22 } } @@ -237417,15 +237737,15 @@ "postfix": false, "binop": null }, - "start": 41478, - "end": 41479, + "start": 42131, + "end": 42132, "loc": { "start": { - "line": 1096, + "line": 1097, "column": 22 }, "end": { - "line": 1096, + "line": 1097, "column": 23 } } @@ -237442,15 +237762,15 @@ "postfix": false, "binop": null }, - "start": 41480, - "end": 41481, + "start": 42133, + "end": 42134, "loc": { "start": { - "line": 1096, + "line": 1097, "column": 24 }, "end": { - "line": 1096, + "line": 1097, "column": 25 } } @@ -237470,15 +237790,15 @@ "updateContext": null }, "value": "let", - "start": 41490, - "end": 41493, + "start": 42143, + "end": 42146, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 8 }, "end": { - "line": 1097, + "line": 1098, "column": 11 } } @@ -237496,15 +237816,15 @@ "binop": null }, "value": "countTextures", - "start": 41494, - "end": 41507, + "start": 42147, + "end": 42160, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 12 }, "end": { - "line": 1097, + "line": 1098, "column": 25 } } @@ -237523,15 +237843,15 @@ "updateContext": null }, "value": "=", - "start": 41508, - "end": 41509, + "start": 42161, + "end": 42162, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 26 }, "end": { - "line": 1097, + "line": 1098, "column": 27 } } @@ -237551,15 +237871,15 @@ "updateContext": null }, "value": "this", - "start": 41510, - "end": 41514, + "start": 42163, + "end": 42167, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 28 }, "end": { - "line": 1097, + "line": 1098, "column": 32 } } @@ -237577,15 +237897,15 @@ "binop": null, "updateContext": null }, - "start": 41514, - "end": 41515, + "start": 42167, + "end": 42168, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 32 }, "end": { - "line": 1097, + "line": 1098, "column": 33 } } @@ -237603,15 +237923,15 @@ "binop": null }, "value": "texturesList", - "start": 41515, - "end": 41527, + "start": 42168, + "end": 42180, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 33 }, "end": { - "line": 1097, + "line": 1098, "column": 45 } } @@ -237629,15 +237949,15 @@ "binop": null, "updateContext": null }, - "start": 41527, - "end": 41528, + "start": 42180, + "end": 42181, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 45 }, "end": { - "line": 1097, + "line": 1098, "column": 46 } } @@ -237655,15 +237975,15 @@ "binop": null }, "value": "length", - "start": 41528, - "end": 41534, + "start": 42181, + "end": 42187, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 46 }, "end": { - "line": 1097, + "line": 1098, "column": 52 } } @@ -237681,15 +238001,15 @@ "binop": null, "updateContext": null }, - "start": 41534, - "end": 41535, + "start": 42187, + "end": 42188, "loc": { "start": { - "line": 1097, + "line": 1098, "column": 52 }, "end": { - "line": 1097, + "line": 1098, "column": 53 } } @@ -237709,15 +238029,15 @@ "updateContext": null }, "value": "return", - "start": 41544, - "end": 41550, + "start": 42197, + "end": 42203, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 8 }, "end": { - "line": 1098, + "line": 1099, "column": 14 } } @@ -237737,15 +238057,15 @@ "updateContext": null }, "value": "new", - "start": 41551, - "end": 41554, + "start": 42204, + "end": 42207, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 15 }, "end": { - "line": 1098, + "line": 1099, "column": 18 } } @@ -237763,15 +238083,15 @@ "binop": null }, "value": "Promise", - "start": 41555, - "end": 41562, + "start": 42208, + "end": 42215, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 19 }, "end": { - "line": 1098, + "line": 1099, "column": 26 } } @@ -237788,15 +238108,15 @@ "postfix": false, "binop": null }, - "start": 41562, - "end": 41563, + "start": 42215, + "end": 42216, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 26 }, "end": { - "line": 1098, + "line": 1099, "column": 27 } } @@ -237813,15 +238133,15 @@ "postfix": false, "binop": null }, - "start": 41563, - "end": 41564, + "start": 42216, + "end": 42217, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 27 }, "end": { - "line": 1098, + "line": 1099, "column": 28 } } @@ -237839,15 +238159,15 @@ "binop": null }, "value": "resolve", - "start": 41564, - "end": 41571, + "start": 42217, + "end": 42224, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 28 }, "end": { - "line": 1098, + "line": 1099, "column": 35 } } @@ -237864,15 +238184,15 @@ "postfix": false, "binop": null }, - "start": 41571, - "end": 41572, + "start": 42224, + "end": 42225, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 35 }, "end": { - "line": 1098, + "line": 1099, "column": 36 } } @@ -237890,15 +238210,15 @@ "binop": null, "updateContext": null }, - "start": 41573, - "end": 41575, + "start": 42226, + "end": 42228, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 37 }, "end": { - "line": 1098, + "line": 1099, "column": 39 } } @@ -237915,15 +238235,15 @@ "postfix": false, "binop": null }, - "start": 41576, - "end": 41577, + "start": 42229, + "end": 42230, "loc": { "start": { - "line": 1098, + "line": 1099, "column": 40 }, "end": { - "line": 1098, + "line": 1099, "column": 41 } } @@ -237943,15 +238263,15 @@ "updateContext": null }, "value": "if", - "start": 41590, - "end": 41592, + "start": 42243, + "end": 42245, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 12 }, "end": { - "line": 1099, + "line": 1100, "column": 14 } } @@ -237968,15 +238288,15 @@ "postfix": false, "binop": null }, - "start": 41593, - "end": 41594, + "start": 42246, + "end": 42247, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 15 }, "end": { - "line": 1099, + "line": 1100, "column": 16 } } @@ -237994,15 +238314,15 @@ "binop": null }, "value": "countTextures", - "start": 41594, - "end": 41607, + "start": 42247, + "end": 42260, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 16 }, "end": { - "line": 1099, + "line": 1100, "column": 29 } } @@ -238021,15 +238341,15 @@ "updateContext": null }, "value": "===", - "start": 41608, - "end": 41611, + "start": 42261, + "end": 42264, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 30 }, "end": { - "line": 1099, + "line": 1100, "column": 33 } } @@ -238048,15 +238368,15 @@ "updateContext": null }, "value": 0, - "start": 41612, - "end": 41613, + "start": 42265, + "end": 42266, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 34 }, "end": { - "line": 1099, + "line": 1100, "column": 35 } } @@ -238073,15 +238393,15 @@ "postfix": false, "binop": null }, - "start": 41613, - "end": 41614, + "start": 42266, + "end": 42267, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 35 }, "end": { - "line": 1099, + "line": 1100, "column": 36 } } @@ -238098,15 +238418,15 @@ "postfix": false, "binop": null }, - "start": 41615, - "end": 41616, + "start": 42268, + "end": 42269, "loc": { "start": { - "line": 1099, + "line": 1100, "column": 37 }, "end": { - "line": 1099, + "line": 1100, "column": 38 } } @@ -238124,15 +238444,15 @@ "binop": null }, "value": "resolve", - "start": 41633, - "end": 41640, + "start": 42286, + "end": 42293, "loc": { "start": { - "line": 1100, + "line": 1101, "column": 16 }, "end": { - "line": 1100, + "line": 1101, "column": 23 } } @@ -238149,15 +238469,15 @@ "postfix": false, "binop": null }, - "start": 41640, - "end": 41641, + "start": 42293, + "end": 42294, "loc": { "start": { - "line": 1100, + "line": 1101, "column": 23 }, "end": { - "line": 1100, + "line": 1101, "column": 24 } } @@ -238174,15 +238494,15 @@ "postfix": false, "binop": null }, - "start": 41641, - "end": 41642, + "start": 42294, + "end": 42295, "loc": { "start": { - "line": 1100, + "line": 1101, "column": 24 }, "end": { - "line": 1100, + "line": 1101, "column": 25 } } @@ -238200,15 +238520,15 @@ "binop": null, "updateContext": null }, - "start": 41642, - "end": 41643, + "start": 42295, + "end": 42296, "loc": { "start": { - "line": 1100, + "line": 1101, "column": 25 }, "end": { - "line": 1100, + "line": 1101, "column": 26 } } @@ -238228,15 +238548,15 @@ "updateContext": null }, "value": "return", - "start": 41660, - "end": 41666, + "start": 42313, + "end": 42319, "loc": { "start": { - "line": 1101, + "line": 1102, "column": 16 }, "end": { - "line": 1101, + "line": 1102, "column": 22 } } @@ -238254,15 +238574,15 @@ "binop": null, "updateContext": null }, - "start": 41666, - "end": 41667, + "start": 42319, + "end": 42320, "loc": { "start": { - "line": 1101, + "line": 1102, "column": 22 }, "end": { - "line": 1101, + "line": 1102, "column": 23 } } @@ -238279,15 +238599,15 @@ "postfix": false, "binop": null }, - "start": 41680, - "end": 41681, + "start": 42333, + "end": 42334, "loc": { "start": { - "line": 1102, + "line": 1103, "column": 12 }, "end": { - "line": 1102, + "line": 1103, "column": 13 } } @@ -238307,15 +238627,15 @@ "updateContext": null }, "value": "for", - "start": 41694, - "end": 41697, + "start": 42347, + "end": 42350, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 12 }, "end": { - "line": 1103, + "line": 1104, "column": 15 } } @@ -238332,15 +238652,15 @@ "postfix": false, "binop": null }, - "start": 41698, - "end": 41699, + "start": 42351, + "end": 42352, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 16 }, "end": { - "line": 1103, + "line": 1104, "column": 17 } } @@ -238360,15 +238680,15 @@ "updateContext": null }, "value": "let", - "start": 41699, - "end": 41702, + "start": 42352, + "end": 42355, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 17 }, "end": { - "line": 1103, + "line": 1104, "column": 20 } } @@ -238386,15 +238706,15 @@ "binop": null }, "value": "i", - "start": 41703, - "end": 41704, + "start": 42356, + "end": 42357, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 21 }, "end": { - "line": 1103, + "line": 1104, "column": 22 } } @@ -238413,15 +238733,15 @@ "updateContext": null }, "value": "=", - "start": 41705, - "end": 41706, + "start": 42358, + "end": 42359, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 23 }, "end": { - "line": 1103, + "line": 1104, "column": 24 } } @@ -238440,15 +238760,15 @@ "updateContext": null }, "value": 0, - "start": 41707, - "end": 41708, + "start": 42360, + "end": 42361, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 25 }, "end": { - "line": 1103, + "line": 1104, "column": 26 } } @@ -238466,15 +238786,15 @@ "binop": null, "updateContext": null }, - "start": 41708, - "end": 41709, + "start": 42361, + "end": 42362, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 26 }, "end": { - "line": 1103, + "line": 1104, "column": 27 } } @@ -238492,15 +238812,15 @@ "binop": null }, "value": "leni", - "start": 41710, - "end": 41714, + "start": 42363, + "end": 42367, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 28 }, "end": { - "line": 1103, + "line": 1104, "column": 32 } } @@ -238519,15 +238839,15 @@ "updateContext": null }, "value": "=", - "start": 41715, - "end": 41716, + "start": 42368, + "end": 42369, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 33 }, "end": { - "line": 1103, + "line": 1104, "column": 34 } } @@ -238547,15 +238867,15 @@ "updateContext": null }, "value": "this", - "start": 41717, - "end": 41721, + "start": 42370, + "end": 42374, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 35 }, "end": { - "line": 1103, + "line": 1104, "column": 39 } } @@ -238573,15 +238893,15 @@ "binop": null, "updateContext": null }, - "start": 41721, - "end": 41722, + "start": 42374, + "end": 42375, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 39 }, "end": { - "line": 1103, + "line": 1104, "column": 40 } } @@ -238599,15 +238919,15 @@ "binop": null }, "value": "texturesList", - "start": 41722, - "end": 41734, + "start": 42375, + "end": 42387, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 40 }, "end": { - "line": 1103, + "line": 1104, "column": 52 } } @@ -238625,15 +238945,15 @@ "binop": null, "updateContext": null }, - "start": 41734, - "end": 41735, + "start": 42387, + "end": 42388, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 52 }, "end": { - "line": 1103, + "line": 1104, "column": 53 } } @@ -238651,15 +238971,15 @@ "binop": null }, "value": "length", - "start": 41735, - "end": 41741, + "start": 42388, + "end": 42394, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 53 }, "end": { - "line": 1103, + "line": 1104, "column": 59 } } @@ -238677,15 +238997,15 @@ "binop": null, "updateContext": null }, - "start": 41741, - "end": 41742, + "start": 42394, + "end": 42395, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 59 }, "end": { - "line": 1103, + "line": 1104, "column": 60 } } @@ -238703,15 +239023,15 @@ "binop": null }, "value": "i", - "start": 41743, - "end": 41744, + "start": 42396, + "end": 42397, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 61 }, "end": { - "line": 1103, + "line": 1104, "column": 62 } } @@ -238730,15 +239050,15 @@ "updateContext": null }, "value": "<", - "start": 41745, - "end": 41746, + "start": 42398, + "end": 42399, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 63 }, "end": { - "line": 1103, + "line": 1104, "column": 64 } } @@ -238756,15 +239076,15 @@ "binop": null }, "value": "leni", - "start": 41747, - "end": 41751, + "start": 42400, + "end": 42404, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 65 }, "end": { - "line": 1103, + "line": 1104, "column": 69 } } @@ -238782,15 +239102,15 @@ "binop": null, "updateContext": null }, - "start": 41751, - "end": 41752, + "start": 42404, + "end": 42405, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 69 }, "end": { - "line": 1103, + "line": 1104, "column": 70 } } @@ -238808,15 +239128,15 @@ "binop": null }, "value": "i", - "start": 41753, - "end": 41754, + "start": 42406, + "end": 42407, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 71 }, "end": { - "line": 1103, + "line": 1104, "column": 72 } } @@ -238834,15 +239154,15 @@ "binop": null }, "value": "++", - "start": 41754, - "end": 41756, + "start": 42407, + "end": 42409, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 72 }, "end": { - "line": 1103, + "line": 1104, "column": 74 } } @@ -238859,15 +239179,15 @@ "postfix": false, "binop": null }, - "start": 41756, - "end": 41757, + "start": 42409, + "end": 42410, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 74 }, "end": { - "line": 1103, + "line": 1104, "column": 75 } } @@ -238884,15 +239204,15 @@ "postfix": false, "binop": null }, - "start": 41758, - "end": 41759, + "start": 42411, + "end": 42412, "loc": { "start": { - "line": 1103, + "line": 1104, "column": 76 }, "end": { - "line": 1103, + "line": 1104, "column": 77 } } @@ -238912,15 +239232,15 @@ "updateContext": null }, "value": "const", - "start": 41776, - "end": 41781, + "start": 42429, + "end": 42434, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 16 }, "end": { - "line": 1104, + "line": 1105, "column": 21 } } @@ -238938,15 +239258,15 @@ "binop": null }, "value": "texture", - "start": 41782, - "end": 41789, + "start": 42435, + "end": 42442, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 22 }, "end": { - "line": 1104, + "line": 1105, "column": 29 } } @@ -238965,15 +239285,15 @@ "updateContext": null }, "value": "=", - "start": 41790, - "end": 41791, + "start": 42443, + "end": 42444, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 30 }, "end": { - "line": 1104, + "line": 1105, "column": 31 } } @@ -238993,15 +239313,15 @@ "updateContext": null }, "value": "this", - "start": 41792, - "end": 41796, + "start": 42445, + "end": 42449, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 32 }, "end": { - "line": 1104, + "line": 1105, "column": 36 } } @@ -239019,15 +239339,15 @@ "binop": null, "updateContext": null }, - "start": 41796, - "end": 41797, + "start": 42449, + "end": 42450, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 36 }, "end": { - "line": 1104, + "line": 1105, "column": 37 } } @@ -239045,15 +239365,15 @@ "binop": null }, "value": "texturesList", - "start": 41797, - "end": 41809, + "start": 42450, + "end": 42462, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 37 }, "end": { - "line": 1104, + "line": 1105, "column": 49 } } @@ -239071,15 +239391,15 @@ "binop": null, "updateContext": null }, - "start": 41809, - "end": 41810, + "start": 42462, + "end": 42463, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 49 }, "end": { - "line": 1104, + "line": 1105, "column": 50 } } @@ -239097,15 +239417,15 @@ "binop": null }, "value": "i", - "start": 41810, - "end": 41811, + "start": 42463, + "end": 42464, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 50 }, "end": { - "line": 1104, + "line": 1105, "column": 51 } } @@ -239123,15 +239443,15 @@ "binop": null, "updateContext": null }, - "start": 41811, - "end": 41812, + "start": 42464, + "end": 42465, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 51 }, "end": { - "line": 1104, + "line": 1105, "column": 52 } } @@ -239149,15 +239469,15 @@ "binop": null, "updateContext": null }, - "start": 41812, - "end": 41813, + "start": 42465, + "end": 42466, "loc": { "start": { - "line": 1104, + "line": 1105, "column": 52 }, "end": { - "line": 1104, + "line": 1105, "column": 53 } } @@ -239177,15 +239497,15 @@ "updateContext": null }, "value": "const", - "start": 41830, - "end": 41835, + "start": 42483, + "end": 42488, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 16 }, "end": { - "line": 1105, + "line": 1106, "column": 21 } } @@ -239203,15 +239523,15 @@ "binop": null }, "value": "encodingOptions", - "start": 41836, - "end": 41851, + "start": 42489, + "end": 42504, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 22 }, "end": { - "line": 1105, + "line": 1106, "column": 37 } } @@ -239230,15 +239550,15 @@ "updateContext": null }, "value": "=", - "start": 41852, - "end": 41853, + "start": 42505, + "end": 42506, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 38 }, "end": { - "line": 1105, + "line": 1106, "column": 39 } } @@ -239256,15 +239576,15 @@ "binop": null }, "value": "TEXTURE_ENCODING_OPTIONS", - "start": 41854, - "end": 41878, + "start": 42507, + "end": 42531, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 40 }, "end": { - "line": 1105, + "line": 1106, "column": 64 } } @@ -239282,15 +239602,15 @@ "binop": null, "updateContext": null }, - "start": 41878, - "end": 41879, + "start": 42531, + "end": 42532, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 64 }, "end": { - "line": 1105, + "line": 1106, "column": 65 } } @@ -239308,15 +239628,15 @@ "binop": null }, "value": "texture", - "start": 41879, - "end": 41886, + "start": 42532, + "end": 42539, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 65 }, "end": { - "line": 1105, + "line": 1106, "column": 72 } } @@ -239334,15 +239654,15 @@ "binop": null, "updateContext": null }, - "start": 41886, - "end": 41887, + "start": 42539, + "end": 42540, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 72 }, "end": { - "line": 1105, + "line": 1106, "column": 73 } } @@ -239360,15 +239680,15 @@ "binop": null }, "value": "channel", - "start": 41887, - "end": 41894, + "start": 42540, + "end": 42547, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 73 }, "end": { - "line": 1105, + "line": 1106, "column": 80 } } @@ -239386,15 +239706,15 @@ "binop": null, "updateContext": null }, - "start": 41894, - "end": 41895, + "start": 42547, + "end": 42548, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 80 }, "end": { - "line": 1105, + "line": 1106, "column": 81 } } @@ -239413,15 +239733,15 @@ "updateContext": null }, "value": "||", - "start": 41896, - "end": 41898, + "start": 42549, + "end": 42551, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 82 }, "end": { - "line": 1105, + "line": 1106, "column": 84 } } @@ -239438,15 +239758,15 @@ "postfix": false, "binop": null }, - "start": 41899, - "end": 41900, + "start": 42552, + "end": 42553, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 85 }, "end": { - "line": 1105, + "line": 1106, "column": 86 } } @@ -239463,15 +239783,15 @@ "postfix": false, "binop": null }, - "start": 41900, - "end": 41901, + "start": 42553, + "end": 42554, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 86 }, "end": { - "line": 1105, + "line": 1106, "column": 87 } } @@ -239489,15 +239809,15 @@ "binop": null, "updateContext": null }, - "start": 41901, - "end": 41902, + "start": 42554, + "end": 42555, "loc": { "start": { - "line": 1105, + "line": 1106, "column": 87 }, "end": { - "line": 1105, + "line": 1106, "column": 88 } } @@ -239517,15 +239837,15 @@ "updateContext": null }, "value": "if", - "start": 41920, - "end": 41922, + "start": 42573, + "end": 42575, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 16 }, "end": { - "line": 1107, + "line": 1108, "column": 18 } } @@ -239542,15 +239862,15 @@ "postfix": false, "binop": null }, - "start": 41923, - "end": 41924, + "start": 42576, + "end": 42577, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 19 }, "end": { - "line": 1107, + "line": 1108, "column": 20 } } @@ -239568,15 +239888,15 @@ "binop": null }, "value": "texture", - "start": 41924, - "end": 41931, + "start": 42577, + "end": 42584, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 20 }, "end": { - "line": 1107, + "line": 1108, "column": 27 } } @@ -239594,15 +239914,15 @@ "binop": null, "updateContext": null }, - "start": 41931, - "end": 41932, + "start": 42584, + "end": 42585, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 27 }, "end": { - "line": 1107, + "line": 1108, "column": 28 } } @@ -239620,15 +239940,15 @@ "binop": null }, "value": "src", - "start": 41932, - "end": 41935, + "start": 42585, + "end": 42588, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 28 }, "end": { - "line": 1107, + "line": 1108, "column": 31 } } @@ -239645,15 +239965,15 @@ "postfix": false, "binop": null }, - "start": 41935, - "end": 41936, + "start": 42588, + "end": 42589, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 31 }, "end": { - "line": 1107, + "line": 1108, "column": 32 } } @@ -239670,15 +239990,15 @@ "postfix": false, "binop": null }, - "start": 41937, - "end": 41938, + "start": 42590, + "end": 42591, "loc": { "start": { - "line": 1107, + "line": 1108, "column": 33 }, "end": { - "line": 1107, + "line": 1108, "column": 34 } } @@ -239686,15 +240006,15 @@ { "type": "CommentLine", "value": " XKTTexture created with XKTModel#createTexture({ src: ... })", - "start": 41960, - "end": 42023, + "start": 42613, + "end": 42676, "loc": { "start": { - "line": 1109, + "line": 1110, "column": 20 }, "end": { - "line": 1109, + "line": 1110, "column": 83 } } @@ -239714,15 +240034,15 @@ "updateContext": null }, "value": "const", - "start": 42045, - "end": 42050, + "start": 42698, + "end": 42703, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 20 }, "end": { - "line": 1111, + "line": 1112, "column": 25 } } @@ -239740,15 +240060,15 @@ "binop": null }, "value": "src", - "start": 42051, - "end": 42054, + "start": 42704, + "end": 42707, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 26 }, "end": { - "line": 1111, + "line": 1112, "column": 29 } } @@ -239767,15 +240087,15 @@ "updateContext": null }, "value": "=", - "start": 42055, - "end": 42056, + "start": 42708, + "end": 42709, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 30 }, "end": { - "line": 1111, + "line": 1112, "column": 31 } } @@ -239793,15 +240113,15 @@ "binop": null }, "value": "texture", - "start": 42057, - "end": 42064, + "start": 42710, + "end": 42717, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 32 }, "end": { - "line": 1111, + "line": 1112, "column": 39 } } @@ -239819,15 +240139,15 @@ "binop": null, "updateContext": null }, - "start": 42064, - "end": 42065, + "start": 42717, + "end": 42718, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 39 }, "end": { - "line": 1111, + "line": 1112, "column": 40 } } @@ -239845,15 +240165,15 @@ "binop": null }, "value": "src", - "start": 42065, - "end": 42068, + "start": 42718, + "end": 42721, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 40 }, "end": { - "line": 1111, + "line": 1112, "column": 43 } } @@ -239871,15 +240191,15 @@ "binop": null, "updateContext": null }, - "start": 42068, - "end": 42069, + "start": 42721, + "end": 42722, "loc": { "start": { - "line": 1111, + "line": 1112, "column": 43 }, "end": { - "line": 1111, + "line": 1112, "column": 44 } } @@ -239899,15 +240219,15 @@ "updateContext": null }, "value": "const", - "start": 42090, - "end": 42095, + "start": 42743, + "end": 42748, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 20 }, "end": { - "line": 1112, + "line": 1113, "column": 25 } } @@ -239925,15 +240245,15 @@ "binop": null }, "value": "fileExt", - "start": 42096, - "end": 42103, + "start": 42749, + "end": 42756, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 26 }, "end": { - "line": 1112, + "line": 1113, "column": 33 } } @@ -239952,15 +240272,15 @@ "updateContext": null }, "value": "=", - "start": 42104, - "end": 42105, + "start": 42757, + "end": 42758, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 34 }, "end": { - "line": 1112, + "line": 1113, "column": 35 } } @@ -239978,15 +240298,15 @@ "binop": null }, "value": "src", - "start": 42106, - "end": 42109, + "start": 42759, + "end": 42762, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 36 }, "end": { - "line": 1112, + "line": 1113, "column": 39 } } @@ -240004,15 +240324,15 @@ "binop": null, "updateContext": null }, - "start": 42109, - "end": 42110, + "start": 42762, + "end": 42763, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 39 }, "end": { - "line": 1112, + "line": 1113, "column": 40 } } @@ -240030,15 +240350,15 @@ "binop": null }, "value": "split", - "start": 42110, - "end": 42115, + "start": 42763, + "end": 42768, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 40 }, "end": { - "line": 1112, + "line": 1113, "column": 45 } } @@ -240055,15 +240375,15 @@ "postfix": false, "binop": null }, - "start": 42115, - "end": 42116, + "start": 42768, + "end": 42769, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 45 }, "end": { - "line": 1112, + "line": 1113, "column": 46 } } @@ -240082,15 +240402,15 @@ "updateContext": null }, "value": ".", - "start": 42116, - "end": 42119, + "start": 42769, + "end": 42772, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 46 }, "end": { - "line": 1112, + "line": 1113, "column": 49 } } @@ -240107,15 +240427,15 @@ "postfix": false, "binop": null }, - "start": 42119, - "end": 42120, + "start": 42772, + "end": 42773, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 49 }, "end": { - "line": 1112, + "line": 1113, "column": 50 } } @@ -240133,15 +240453,15 @@ "binop": null, "updateContext": null }, - "start": 42120, - "end": 42121, + "start": 42773, + "end": 42774, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 50 }, "end": { - "line": 1112, + "line": 1113, "column": 51 } } @@ -240159,15 +240479,15 @@ "binop": null }, "value": "pop", - "start": 42121, - "end": 42124, + "start": 42774, + "end": 42777, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 51 }, "end": { - "line": 1112, + "line": 1113, "column": 54 } } @@ -240184,15 +240504,15 @@ "postfix": false, "binop": null }, - "start": 42124, - "end": 42125, + "start": 42777, + "end": 42778, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 54 }, "end": { - "line": 1112, + "line": 1113, "column": 55 } } @@ -240209,15 +240529,15 @@ "postfix": false, "binop": null }, - "start": 42125, - "end": 42126, + "start": 42778, + "end": 42779, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 55 }, "end": { - "line": 1112, + "line": 1113, "column": 56 } } @@ -240235,15 +240555,15 @@ "binop": null, "updateContext": null }, - "start": 42126, - "end": 42127, + "start": 42779, + "end": 42780, "loc": { "start": { - "line": 1112, + "line": 1113, "column": 56 }, "end": { - "line": 1112, + "line": 1113, "column": 57 } } @@ -240263,15 +240583,15 @@ "updateContext": null }, "value": "switch", - "start": 42148, - "end": 42154, + "start": 42801, + "end": 42807, "loc": { "start": { - "line": 1113, + "line": 1114, "column": 20 }, "end": { - "line": 1113, + "line": 1114, "column": 26 } } @@ -240288,15 +240608,15 @@ "postfix": false, "binop": null }, - "start": 42155, - "end": 42156, + "start": 42808, + "end": 42809, "loc": { "start": { - "line": 1113, + "line": 1114, "column": 27 }, "end": { - "line": 1113, + "line": 1114, "column": 28 } } @@ -240314,15 +240634,15 @@ "binop": null }, "value": "fileExt", - "start": 42156, - "end": 42163, + "start": 42809, + "end": 42816, "loc": { "start": { - "line": 1113, + "line": 1114, "column": 28 }, "end": { - "line": 1113, + "line": 1114, "column": 35 } } @@ -240339,15 +240659,15 @@ "postfix": false, "binop": null }, - "start": 42163, - "end": 42164, + "start": 42816, + "end": 42817, "loc": { "start": { - "line": 1113, + "line": 1114, "column": 35 }, "end": { - "line": 1113, + "line": 1114, "column": 36 } } @@ -240364,15 +240684,15 @@ "postfix": false, "binop": null }, - "start": 42165, - "end": 42166, + "start": 42818, + "end": 42819, "loc": { "start": { - "line": 1113, + "line": 1114, "column": 37 }, "end": { - "line": 1113, + "line": 1114, "column": 38 } } @@ -240392,15 +240712,15 @@ "updateContext": null }, "value": "case", - "start": 42191, - "end": 42195, + "start": 42844, + "end": 42848, "loc": { "start": { - "line": 1114, + "line": 1115, "column": 24 }, "end": { - "line": 1114, + "line": 1115, "column": 28 } } @@ -240419,15 +240739,15 @@ "updateContext": null }, "value": "jpeg", - "start": 42196, - "end": 42202, + "start": 42849, + "end": 42855, "loc": { "start": { - "line": 1114, + "line": 1115, "column": 29 }, "end": { - "line": 1114, + "line": 1115, "column": 35 } } @@ -240445,15 +240765,15 @@ "binop": null, "updateContext": null }, - "start": 42202, - "end": 42203, + "start": 42855, + "end": 42856, "loc": { "start": { - "line": 1114, + "line": 1115, "column": 35 }, "end": { - "line": 1114, + "line": 1115, "column": 36 } } @@ -240473,15 +240793,15 @@ "updateContext": null }, "value": "case", - "start": 42228, - "end": 42232, + "start": 42881, + "end": 42885, "loc": { "start": { - "line": 1115, + "line": 1116, "column": 24 }, "end": { - "line": 1115, + "line": 1116, "column": 28 } } @@ -240500,15 +240820,15 @@ "updateContext": null }, "value": "jpg", - "start": 42233, - "end": 42238, + "start": 42886, + "end": 42891, "loc": { "start": { - "line": 1115, + "line": 1116, "column": 29 }, "end": { - "line": 1115, + "line": 1116, "column": 34 } } @@ -240526,15 +240846,15 @@ "binop": null, "updateContext": null }, - "start": 42238, - "end": 42239, + "start": 42891, + "end": 42892, "loc": { "start": { - "line": 1115, + "line": 1116, "column": 34 }, "end": { - "line": 1115, + "line": 1116, "column": 35 } } @@ -240554,15 +240874,15 @@ "updateContext": null }, "value": "case", - "start": 42264, - "end": 42268, + "start": 42917, + "end": 42921, "loc": { "start": { - "line": 1116, + "line": 1117, "column": 24 }, "end": { - "line": 1116, + "line": 1117, "column": 28 } } @@ -240581,15 +240901,15 @@ "updateContext": null }, "value": "png", - "start": 42269, - "end": 42274, + "start": 42922, + "end": 42927, "loc": { "start": { - "line": 1116, + "line": 1117, "column": 29 }, "end": { - "line": 1116, + "line": 1117, "column": 34 } } @@ -240607,15 +240927,15 @@ "binop": null, "updateContext": null }, - "start": 42274, - "end": 42275, + "start": 42927, + "end": 42928, "loc": { "start": { - "line": 1116, + "line": 1117, "column": 34 }, "end": { - "line": 1116, + "line": 1117, "column": 35 } } @@ -240633,15 +240953,15 @@ "binop": null }, "value": "load", - "start": 42304, - "end": 42308, + "start": 42957, + "end": 42961, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 28 }, "end": { - "line": 1117, + "line": 1118, "column": 32 } } @@ -240658,15 +240978,15 @@ "postfix": false, "binop": null }, - "start": 42308, - "end": 42309, + "start": 42961, + "end": 42962, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 32 }, "end": { - "line": 1117, + "line": 1118, "column": 33 } } @@ -240684,15 +241004,15 @@ "binop": null }, "value": "src", - "start": 42309, - "end": 42312, + "start": 42962, + "end": 42965, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 33 }, "end": { - "line": 1117, + "line": 1118, "column": 36 } } @@ -240710,15 +241030,15 @@ "binop": null, "updateContext": null }, - "start": 42312, - "end": 42313, + "start": 42965, + "end": 42966, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 36 }, "end": { - "line": 1117, + "line": 1118, "column": 37 } } @@ -240736,15 +241056,15 @@ "binop": null }, "value": "ImageLoader", - "start": 42314, - "end": 42325, + "start": 42967, + "end": 42978, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 38 }, "end": { - "line": 1117, + "line": 1118, "column": 49 } } @@ -240762,15 +241082,15 @@ "binop": null, "updateContext": null }, - "start": 42325, - "end": 42326, + "start": 42978, + "end": 42979, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 49 }, "end": { - "line": 1117, + "line": 1118, "column": 50 } } @@ -240787,15 +241107,15 @@ "postfix": false, "binop": null }, - "start": 42327, - "end": 42328, + "start": 42980, + "end": 42981, "loc": { "start": { - "line": 1117, + "line": 1118, "column": 51 }, "end": { - "line": 1117, + "line": 1118, "column": 52 } } @@ -240813,15 +241133,15 @@ "binop": null }, "value": "image", - "start": 42361, - "end": 42366, + "start": 43014, + "end": 43019, "loc": { "start": { - "line": 1118, + "line": 1119, "column": 32 }, "end": { - "line": 1118, + "line": 1119, "column": 37 } } @@ -240839,15 +241159,15 @@ "binop": null, "updateContext": null }, - "start": 42366, - "end": 42367, + "start": 43019, + "end": 43020, "loc": { "start": { - "line": 1118, + "line": 1119, "column": 37 }, "end": { - "line": 1118, + "line": 1119, "column": 38 } } @@ -240864,15 +241184,15 @@ "postfix": false, "binop": null }, - "start": 42368, - "end": 42369, + "start": 43021, + "end": 43022, "loc": { "start": { - "line": 1118, + "line": 1119, "column": 39 }, "end": { - "line": 1118, + "line": 1119, "column": 40 } } @@ -240890,15 +241210,15 @@ "binop": null }, "value": "type", - "start": 42406, - "end": 42410, + "start": 43059, + "end": 43063, "loc": { "start": { - "line": 1119, + "line": 1120, "column": 36 }, "end": { - "line": 1119, + "line": 1120, "column": 40 } } @@ -240916,15 +241236,15 @@ "binop": null, "updateContext": null }, - "start": 42410, - "end": 42411, + "start": 43063, + "end": 43064, "loc": { "start": { - "line": 1119, + "line": 1120, "column": 40 }, "end": { - "line": 1119, + "line": 1120, "column": 41 } } @@ -240943,15 +241263,15 @@ "updateContext": null }, "value": "data", - "start": 42412, - "end": 42418, + "start": 43065, + "end": 43071, "loc": { "start": { - "line": 1119, + "line": 1120, "column": 42 }, "end": { - "line": 1119, + "line": 1120, "column": 48 } } @@ -240968,15 +241288,15 @@ "postfix": false, "binop": null }, - "start": 42451, - "end": 42452, + "start": 43104, + "end": 43105, "loc": { "start": { - "line": 1120, + "line": 1121, "column": 32 }, "end": { - "line": 1120, + "line": 1121, "column": 33 } } @@ -240993,15 +241313,15 @@ "postfix": false, "binop": null }, - "start": 42481, - "end": 42482, + "start": 43134, + "end": 43135, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 28 }, "end": { - "line": 1121, + "line": 1122, "column": 29 } } @@ -241018,15 +241338,15 @@ "postfix": false, "binop": null }, - "start": 42482, - "end": 42483, + "start": 43135, + "end": 43136, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 29 }, "end": { - "line": 1121, + "line": 1122, "column": 30 } } @@ -241044,15 +241364,15 @@ "binop": null, "updateContext": null }, - "start": 42483, - "end": 42484, + "start": 43136, + "end": 43137, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 30 }, "end": { - "line": 1121, + "line": 1122, "column": 31 } } @@ -241070,15 +241390,15 @@ "binop": null }, "value": "then", - "start": 42484, - "end": 42488, + "start": 43137, + "end": 43141, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 31 }, "end": { - "line": 1121, + "line": 1122, "column": 35 } } @@ -241095,15 +241415,15 @@ "postfix": false, "binop": null }, - "start": 42488, - "end": 42489, + "start": 43141, + "end": 43142, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 35 }, "end": { - "line": 1121, + "line": 1122, "column": 36 } } @@ -241120,15 +241440,15 @@ "postfix": false, "binop": null }, - "start": 42489, - "end": 42490, + "start": 43142, + "end": 43143, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 36 }, "end": { - "line": 1121, + "line": 1122, "column": 37 } } @@ -241146,15 +241466,15 @@ "binop": null }, "value": "imageData", - "start": 42490, - "end": 42499, + "start": 43143, + "end": 43152, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 37 }, "end": { - "line": 1121, + "line": 1122, "column": 46 } } @@ -241171,15 +241491,15 @@ "postfix": false, "binop": null }, - "start": 42499, - "end": 42500, + "start": 43152, + "end": 43153, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 46 }, "end": { - "line": 1121, + "line": 1122, "column": 47 } } @@ -241197,15 +241517,15 @@ "binop": null, "updateContext": null }, - "start": 42501, - "end": 42503, + "start": 43154, + "end": 43156, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 48 }, "end": { - "line": 1121, + "line": 1122, "column": 50 } } @@ -241222,15 +241542,15 @@ "postfix": false, "binop": null }, - "start": 42504, - "end": 42505, + "start": 43157, + "end": 43158, "loc": { "start": { - "line": 1121, + "line": 1122, "column": 51 }, "end": { - "line": 1121, + "line": 1122, "column": 52 } } @@ -241250,15 +241570,15 @@ "updateContext": null }, "value": "if", - "start": 42538, - "end": 42540, + "start": 43191, + "end": 43193, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 32 }, "end": { - "line": 1122, + "line": 1123, "column": 34 } } @@ -241275,15 +241595,15 @@ "postfix": false, "binop": null }, - "start": 42541, - "end": 42542, + "start": 43194, + "end": 43195, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 35 }, "end": { - "line": 1122, + "line": 1123, "column": 36 } } @@ -241301,15 +241621,15 @@ "binop": null }, "value": "texture", - "start": 42542, - "end": 42549, + "start": 43195, + "end": 43202, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 36 }, "end": { - "line": 1122, + "line": 1123, "column": 43 } } @@ -241327,15 +241647,15 @@ "binop": null, "updateContext": null }, - "start": 42549, - "end": 42550, + "start": 43202, + "end": 43203, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 43 }, "end": { - "line": 1122, + "line": 1123, "column": 44 } } @@ -241353,15 +241673,15 @@ "binop": null }, "value": "compressed", - "start": 42550, - "end": 42560, + "start": 43203, + "end": 43213, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 44 }, "end": { - "line": 1122, + "line": 1123, "column": 54 } } @@ -241378,15 +241698,15 @@ "postfix": false, "binop": null }, - "start": 42560, - "end": 42561, + "start": 43213, + "end": 43214, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 54 }, "end": { - "line": 1122, + "line": 1123, "column": 55 } } @@ -241403,15 +241723,15 @@ "postfix": false, "binop": null }, - "start": 42562, - "end": 42563, + "start": 43215, + "end": 43216, "loc": { "start": { - "line": 1122, + "line": 1123, "column": 56 }, "end": { - "line": 1122, + "line": 1123, "column": 57 } } @@ -241429,15 +241749,15 @@ "binop": null }, "value": "encode", - "start": 42600, - "end": 42606, + "start": 43253, + "end": 43259, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 36 }, "end": { - "line": 1123, + "line": 1124, "column": 42 } } @@ -241454,15 +241774,15 @@ "postfix": false, "binop": null }, - "start": 42606, - "end": 42607, + "start": 43259, + "end": 43260, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 42 }, "end": { - "line": 1123, + "line": 1124, "column": 43 } } @@ -241480,15 +241800,15 @@ "binop": null }, "value": "imageData", - "start": 42607, - "end": 42616, + "start": 43260, + "end": 43269, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 43 }, "end": { - "line": 1123, + "line": 1124, "column": 52 } } @@ -241506,15 +241826,15 @@ "binop": null, "updateContext": null }, - "start": 42616, - "end": 42617, + "start": 43269, + "end": 43270, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 52 }, "end": { - "line": 1123, + "line": 1124, "column": 53 } } @@ -241532,15 +241852,15 @@ "binop": null }, "value": "KTX2BasisWriter", - "start": 42618, - "end": 42633, + "start": 43271, + "end": 43286, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 54 }, "end": { - "line": 1123, + "line": 1124, "column": 69 } } @@ -241558,15 +241878,15 @@ "binop": null, "updateContext": null }, - "start": 42633, - "end": 42634, + "start": 43286, + "end": 43287, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 69 }, "end": { - "line": 1123, + "line": 1124, "column": 70 } } @@ -241584,15 +241904,15 @@ "binop": null }, "value": "encodingOptions", - "start": 42635, - "end": 42650, + "start": 43288, + "end": 43303, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 71 }, "end": { - "line": 1123, + "line": 1124, "column": 86 } } @@ -241609,15 +241929,15 @@ "postfix": false, "binop": null }, - "start": 42650, - "end": 42651, + "start": 43303, + "end": 43304, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 86 }, "end": { - "line": 1123, + "line": 1124, "column": 87 } } @@ -241635,15 +241955,15 @@ "binop": null, "updateContext": null }, - "start": 42651, - "end": 42652, + "start": 43304, + "end": 43305, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 87 }, "end": { - "line": 1123, + "line": 1124, "column": 88 } } @@ -241661,15 +241981,15 @@ "binop": null }, "value": "then", - "start": 42652, - "end": 42656, + "start": 43305, + "end": 43309, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 88 }, "end": { - "line": 1123, + "line": 1124, "column": 92 } } @@ -241686,15 +242006,15 @@ "postfix": false, "binop": null }, - "start": 42656, - "end": 42657, + "start": 43309, + "end": 43310, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 92 }, "end": { - "line": 1123, + "line": 1124, "column": 93 } } @@ -241711,15 +242031,15 @@ "postfix": false, "binop": null }, - "start": 42657, - "end": 42658, + "start": 43310, + "end": 43311, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 93 }, "end": { - "line": 1123, + "line": 1124, "column": 94 } } @@ -241737,15 +242057,15 @@ "binop": null }, "value": "encodedData", - "start": 42658, - "end": 42669, + "start": 43311, + "end": 43322, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 94 }, "end": { - "line": 1123, + "line": 1124, "column": 105 } } @@ -241762,15 +242082,15 @@ "postfix": false, "binop": null }, - "start": 42669, - "end": 42670, + "start": 43322, + "end": 43323, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 105 }, "end": { - "line": 1123, + "line": 1124, "column": 106 } } @@ -241788,15 +242108,15 @@ "binop": null, "updateContext": null }, - "start": 42671, - "end": 42673, + "start": 43324, + "end": 43326, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 107 }, "end": { - "line": 1123, + "line": 1124, "column": 109 } } @@ -241813,15 +242133,15 @@ "postfix": false, "binop": null }, - "start": 42674, - "end": 42675, + "start": 43327, + "end": 43328, "loc": { "start": { - "line": 1123, + "line": 1124, "column": 110 }, "end": { - "line": 1123, + "line": 1124, "column": 111 } } @@ -241841,15 +242161,15 @@ "updateContext": null }, "value": "const", - "start": 42716, - "end": 42721, + "start": 43369, + "end": 43374, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 40 }, "end": { - "line": 1124, + "line": 1125, "column": 45 } } @@ -241867,15 +242187,15 @@ "binop": null }, "value": "encodedImageData", - "start": 42722, - "end": 42738, + "start": 43375, + "end": 43391, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 46 }, "end": { - "line": 1124, + "line": 1125, "column": 62 } } @@ -241894,15 +242214,15 @@ "updateContext": null }, "value": "=", - "start": 42739, - "end": 42740, + "start": 43392, + "end": 43393, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 63 }, "end": { - "line": 1124, + "line": 1125, "column": 64 } } @@ -241922,15 +242242,15 @@ "updateContext": null }, "value": "new", - "start": 42741, - "end": 42744, + "start": 43394, + "end": 43397, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 65 }, "end": { - "line": 1124, + "line": 1125, "column": 68 } } @@ -241948,15 +242268,15 @@ "binop": null }, "value": "Uint8Array", - "start": 42745, - "end": 42755, + "start": 43398, + "end": 43408, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 69 }, "end": { - "line": 1124, + "line": 1125, "column": 79 } } @@ -241973,15 +242293,15 @@ "postfix": false, "binop": null }, - "start": 42755, - "end": 42756, + "start": 43408, + "end": 43409, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 79 }, "end": { - "line": 1124, + "line": 1125, "column": 80 } } @@ -241999,15 +242319,15 @@ "binop": null }, "value": "encodedData", - "start": 42756, - "end": 42767, + "start": 43409, + "end": 43420, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 80 }, "end": { - "line": 1124, + "line": 1125, "column": 91 } } @@ -242024,15 +242344,15 @@ "postfix": false, "binop": null }, - "start": 42767, - "end": 42768, + "start": 43420, + "end": 43421, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 91 }, "end": { - "line": 1124, + "line": 1125, "column": 92 } } @@ -242050,15 +242370,15 @@ "binop": null, "updateContext": null }, - "start": 42768, - "end": 42769, + "start": 43421, + "end": 43422, "loc": { "start": { - "line": 1124, + "line": 1125, "column": 92 }, "end": { - "line": 1124, + "line": 1125, "column": 93 } } @@ -242076,15 +242396,15 @@ "binop": null }, "value": "texture", - "start": 42810, - "end": 42817, + "start": 43463, + "end": 43470, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 40 }, "end": { - "line": 1125, + "line": 1126, "column": 47 } } @@ -242102,15 +242422,15 @@ "binop": null, "updateContext": null }, - "start": 42817, - "end": 42818, + "start": 43470, + "end": 43471, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 47 }, "end": { - "line": 1125, + "line": 1126, "column": 48 } } @@ -242128,15 +242448,15 @@ "binop": null }, "value": "imageData", - "start": 42818, - "end": 42827, + "start": 43471, + "end": 43480, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 48 }, "end": { - "line": 1125, + "line": 1126, "column": 57 } } @@ -242155,15 +242475,15 @@ "updateContext": null }, "value": "=", - "start": 42828, - "end": 42829, + "start": 43481, + "end": 43482, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 58 }, "end": { - "line": 1125, + "line": 1126, "column": 59 } } @@ -242181,15 +242501,15 @@ "binop": null }, "value": "encodedImageData", - "start": 42830, - "end": 42846, + "start": 43483, + "end": 43499, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 60 }, "end": { - "line": 1125, + "line": 1126, "column": 76 } } @@ -242207,15 +242527,15 @@ "binop": null, "updateContext": null }, - "start": 42846, - "end": 42847, + "start": 43499, + "end": 43500, "loc": { "start": { - "line": 1125, + "line": 1126, "column": 76 }, "end": { - "line": 1125, + "line": 1126, "column": 77 } } @@ -242235,15 +242555,15 @@ "updateContext": null }, "value": "if", - "start": 42888, - "end": 42890, + "start": 43541, + "end": 43543, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 40 }, "end": { - "line": 1126, + "line": 1127, "column": 42 } } @@ -242260,15 +242580,15 @@ "postfix": false, "binop": null }, - "start": 42891, - "end": 42892, + "start": 43544, + "end": 43545, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 43 }, "end": { - "line": 1126, + "line": 1127, "column": 44 } } @@ -242286,15 +242606,15 @@ "binop": null }, "value": "--", - "start": 42892, - "end": 42894, + "start": 43545, + "end": 43547, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 44 }, "end": { - "line": 1126, + "line": 1127, "column": 46 } } @@ -242312,15 +242632,15 @@ "binop": null }, "value": "countTextures", - "start": 42894, - "end": 42907, + "start": 43547, + "end": 43560, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 46 }, "end": { - "line": 1126, + "line": 1127, "column": 59 } } @@ -242339,15 +242659,15 @@ "updateContext": null }, "value": "<=", - "start": 42908, - "end": 42910, + "start": 43561, + "end": 43563, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 60 }, "end": { - "line": 1126, + "line": 1127, "column": 62 } } @@ -242366,15 +242686,15 @@ "updateContext": null }, "value": 0, - "start": 42911, - "end": 42912, + "start": 43564, + "end": 43565, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 63 }, "end": { - "line": 1126, + "line": 1127, "column": 64 } } @@ -242391,15 +242711,15 @@ "postfix": false, "binop": null }, - "start": 42912, - "end": 42913, + "start": 43565, + "end": 43566, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 64 }, "end": { - "line": 1126, + "line": 1127, "column": 65 } } @@ -242416,15 +242736,15 @@ "postfix": false, "binop": null }, - "start": 42914, - "end": 42915, + "start": 43567, + "end": 43568, "loc": { "start": { - "line": 1126, + "line": 1127, "column": 66 }, "end": { - "line": 1126, + "line": 1127, "column": 67 } } @@ -242442,15 +242762,15 @@ "binop": null }, "value": "resolve", - "start": 42960, - "end": 42967, + "start": 43613, + "end": 43620, "loc": { "start": { - "line": 1127, + "line": 1128, "column": 44 }, "end": { - "line": 1127, + "line": 1128, "column": 51 } } @@ -242467,15 +242787,15 @@ "postfix": false, "binop": null }, - "start": 42967, - "end": 42968, + "start": 43620, + "end": 43621, "loc": { "start": { - "line": 1127, + "line": 1128, "column": 51 }, "end": { - "line": 1127, + "line": 1128, "column": 52 } } @@ -242492,15 +242812,15 @@ "postfix": false, "binop": null }, - "start": 42968, - "end": 42969, + "start": 43621, + "end": 43622, "loc": { "start": { - "line": 1127, + "line": 1128, "column": 52 }, "end": { - "line": 1127, + "line": 1128, "column": 53 } } @@ -242518,15 +242838,15 @@ "binop": null, "updateContext": null }, - "start": 42969, - "end": 42970, + "start": 43622, + "end": 43623, "loc": { "start": { - "line": 1127, + "line": 1128, "column": 53 }, "end": { - "line": 1127, + "line": 1128, "column": 54 } } @@ -242543,15 +242863,15 @@ "postfix": false, "binop": null }, - "start": 43011, - "end": 43012, + "start": 43664, + "end": 43665, "loc": { "start": { - "line": 1128, + "line": 1129, "column": 40 }, "end": { - "line": 1128, + "line": 1129, "column": 41 } } @@ -242568,15 +242888,15 @@ "postfix": false, "binop": null }, - "start": 43049, - "end": 43050, + "start": 43702, + "end": 43703, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 36 }, "end": { - "line": 1129, + "line": 1130, "column": 37 } } @@ -242593,15 +242913,15 @@ "postfix": false, "binop": null }, - "start": 43050, - "end": 43051, + "start": 43703, + "end": 43704, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 37 }, "end": { - "line": 1129, + "line": 1130, "column": 38 } } @@ -242619,15 +242939,15 @@ "binop": null, "updateContext": null }, - "start": 43051, - "end": 43052, + "start": 43704, + "end": 43705, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 38 }, "end": { - "line": 1129, + "line": 1130, "column": 39 } } @@ -242647,15 +242967,15 @@ "updateContext": null }, "value": "catch", - "start": 43052, - "end": 43057, + "start": 43705, + "end": 43710, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 39 }, "end": { - "line": 1129, + "line": 1130, "column": 44 } } @@ -242672,15 +242992,15 @@ "postfix": false, "binop": null }, - "start": 43057, - "end": 43058, + "start": 43710, + "end": 43711, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 44 }, "end": { - "line": 1129, + "line": 1130, "column": 45 } } @@ -242697,15 +243017,15 @@ "postfix": false, "binop": null }, - "start": 43058, - "end": 43059, + "start": 43711, + "end": 43712, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 45 }, "end": { - "line": 1129, + "line": 1130, "column": 46 } } @@ -242723,15 +243043,15 @@ "binop": null }, "value": "err", - "start": 43059, - "end": 43062, + "start": 43712, + "end": 43715, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 46 }, "end": { - "line": 1129, + "line": 1130, "column": 49 } } @@ -242748,15 +243068,15 @@ "postfix": false, "binop": null }, - "start": 43062, - "end": 43063, + "start": 43715, + "end": 43716, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 49 }, "end": { - "line": 1129, + "line": 1130, "column": 50 } } @@ -242774,15 +243094,15 @@ "binop": null, "updateContext": null }, - "start": 43064, - "end": 43066, + "start": 43717, + "end": 43719, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 51 }, "end": { - "line": 1129, + "line": 1130, "column": 53 } } @@ -242799,15 +243119,15 @@ "postfix": false, "binop": null }, - "start": 43067, - "end": 43068, + "start": 43720, + "end": 43721, "loc": { "start": { - "line": 1129, + "line": 1130, "column": 54 }, "end": { - "line": 1129, + "line": 1130, "column": 55 } } @@ -242825,15 +243145,15 @@ "binop": null }, "value": "console", - "start": 43109, - "end": 43116, + "start": 43762, + "end": 43769, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 40 }, "end": { - "line": 1130, + "line": 1131, "column": 47 } } @@ -242851,15 +243171,15 @@ "binop": null, "updateContext": null }, - "start": 43116, - "end": 43117, + "start": 43769, + "end": 43770, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 47 }, "end": { - "line": 1130, + "line": 1131, "column": 48 } } @@ -242877,15 +243197,15 @@ "binop": null }, "value": "error", - "start": 43117, - "end": 43122, + "start": 43770, + "end": 43775, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 48 }, "end": { - "line": 1130, + "line": 1131, "column": 53 } } @@ -242902,15 +243222,15 @@ "postfix": false, "binop": null }, - "start": 43122, - "end": 43123, + "start": 43775, + "end": 43776, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 53 }, "end": { - "line": 1130, + "line": 1131, "column": 54 } } @@ -242929,15 +243249,15 @@ "updateContext": null }, "value": "[XKTModel.finalize] Failed to encode image: ", - "start": 43123, - "end": 43169, + "start": 43776, + "end": 43822, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 54 }, "end": { - "line": 1130, + "line": 1131, "column": 100 } } @@ -242956,15 +243276,15 @@ "updateContext": null }, "value": "+", - "start": 43170, - "end": 43171, + "start": 43823, + "end": 43824, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 101 }, "end": { - "line": 1130, + "line": 1131, "column": 102 } } @@ -242982,15 +243302,15 @@ "binop": null }, "value": "err", - "start": 43172, - "end": 43175, + "start": 43825, + "end": 43828, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 103 }, "end": { - "line": 1130, + "line": 1131, "column": 106 } } @@ -243007,15 +243327,15 @@ "postfix": false, "binop": null }, - "start": 43175, - "end": 43176, + "start": 43828, + "end": 43829, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 106 }, "end": { - "line": 1130, + "line": 1131, "column": 107 } } @@ -243033,15 +243353,15 @@ "binop": null, "updateContext": null }, - "start": 43176, - "end": 43177, + "start": 43829, + "end": 43830, "loc": { "start": { - "line": 1130, + "line": 1131, "column": 107 }, "end": { - "line": 1130, + "line": 1131, "column": 108 } } @@ -243061,15 +243381,15 @@ "updateContext": null }, "value": "if", - "start": 43218, - "end": 43220, + "start": 43871, + "end": 43873, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 40 }, "end": { - "line": 1131, + "line": 1132, "column": 42 } } @@ -243086,15 +243406,15 @@ "postfix": false, "binop": null }, - "start": 43221, - "end": 43222, + "start": 43874, + "end": 43875, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 43 }, "end": { - "line": 1131, + "line": 1132, "column": 44 } } @@ -243112,15 +243432,15 @@ "binop": null }, "value": "--", - "start": 43222, - "end": 43224, + "start": 43875, + "end": 43877, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 44 }, "end": { - "line": 1131, + "line": 1132, "column": 46 } } @@ -243138,15 +243458,15 @@ "binop": null }, "value": "countTextures", - "start": 43224, - "end": 43237, + "start": 43877, + "end": 43890, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 46 }, "end": { - "line": 1131, + "line": 1132, "column": 59 } } @@ -243165,15 +243485,15 @@ "updateContext": null }, "value": "<=", - "start": 43238, - "end": 43240, + "start": 43891, + "end": 43893, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 60 }, "end": { - "line": 1131, + "line": 1132, "column": 62 } } @@ -243192,15 +243512,15 @@ "updateContext": null }, "value": 0, - "start": 43241, - "end": 43242, + "start": 43894, + "end": 43895, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 63 }, "end": { - "line": 1131, + "line": 1132, "column": 64 } } @@ -243217,15 +243537,15 @@ "postfix": false, "binop": null }, - "start": 43242, - "end": 43243, + "start": 43895, + "end": 43896, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 64 }, "end": { - "line": 1131, + "line": 1132, "column": 65 } } @@ -243242,15 +243562,15 @@ "postfix": false, "binop": null }, - "start": 43244, - "end": 43245, + "start": 43897, + "end": 43898, "loc": { "start": { - "line": 1131, + "line": 1132, "column": 66 }, "end": { - "line": 1131, + "line": 1132, "column": 67 } } @@ -243268,15 +243588,15 @@ "binop": null }, "value": "resolve", - "start": 43290, - "end": 43297, + "start": 43943, + "end": 43950, "loc": { "start": { - "line": 1132, + "line": 1133, "column": 44 }, "end": { - "line": 1132, + "line": 1133, "column": 51 } } @@ -243293,15 +243613,15 @@ "postfix": false, "binop": null }, - "start": 43297, - "end": 43298, + "start": 43950, + "end": 43951, "loc": { "start": { - "line": 1132, + "line": 1133, "column": 51 }, "end": { - "line": 1132, + "line": 1133, "column": 52 } } @@ -243318,15 +243638,15 @@ "postfix": false, "binop": null }, - "start": 43298, - "end": 43299, + "start": 43951, + "end": 43952, "loc": { "start": { - "line": 1132, + "line": 1133, "column": 52 }, "end": { - "line": 1132, + "line": 1133, "column": 53 } } @@ -243344,15 +243664,15 @@ "binop": null, "updateContext": null }, - "start": 43299, - "end": 43300, + "start": 43952, + "end": 43953, "loc": { "start": { - "line": 1132, + "line": 1133, "column": 53 }, "end": { - "line": 1132, + "line": 1133, "column": 54 } } @@ -243369,15 +243689,15 @@ "postfix": false, "binop": null }, - "start": 43341, - "end": 43342, + "start": 43994, + "end": 43995, "loc": { "start": { - "line": 1133, + "line": 1134, "column": 40 }, "end": { - "line": 1133, + "line": 1134, "column": 41 } } @@ -243394,15 +243714,15 @@ "postfix": false, "binop": null }, - "start": 43379, - "end": 43380, + "start": 44032, + "end": 44033, "loc": { "start": { - "line": 1134, + "line": 1135, "column": 36 }, "end": { - "line": 1134, + "line": 1135, "column": 37 } } @@ -243419,15 +243739,15 @@ "postfix": false, "binop": null }, - "start": 43380, - "end": 43381, + "start": 44033, + "end": 44034, "loc": { "start": { - "line": 1134, + "line": 1135, "column": 37 }, "end": { - "line": 1134, + "line": 1135, "column": 38 } } @@ -243445,15 +243765,15 @@ "binop": null, "updateContext": null }, - "start": 43381, - "end": 43382, + "start": 44034, + "end": 44035, "loc": { "start": { - "line": 1134, + "line": 1135, "column": 38 }, "end": { - "line": 1134, + "line": 1135, "column": 39 } } @@ -243470,15 +243790,15 @@ "postfix": false, "binop": null }, - "start": 43415, - "end": 43416, + "start": 44068, + "end": 44069, "loc": { "start": { - "line": 1135, + "line": 1136, "column": 32 }, "end": { - "line": 1135, + "line": 1136, "column": 33 } } @@ -243498,15 +243818,15 @@ "updateContext": null }, "value": "else", - "start": 43417, - "end": 43421, + "start": 44070, + "end": 44074, "loc": { "start": { - "line": 1135, + "line": 1136, "column": 34 }, "end": { - "line": 1135, + "line": 1136, "column": 38 } } @@ -243523,15 +243843,15 @@ "postfix": false, "binop": null }, - "start": 43422, - "end": 43423, + "start": 44075, + "end": 44076, "loc": { "start": { - "line": 1135, + "line": 1136, "column": 39 }, "end": { - "line": 1135, + "line": 1136, "column": 40 } } @@ -243549,15 +243869,15 @@ "binop": null }, "value": "texture", - "start": 43460, - "end": 43467, + "start": 44113, + "end": 44120, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 36 }, "end": { - "line": 1136, + "line": 1137, "column": 43 } } @@ -243575,15 +243895,15 @@ "binop": null, "updateContext": null }, - "start": 43467, - "end": 43468, + "start": 44120, + "end": 44121, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 43 }, "end": { - "line": 1136, + "line": 1137, "column": 44 } } @@ -243601,15 +243921,15 @@ "binop": null }, "value": "imageData", - "start": 43468, - "end": 43477, + "start": 44121, + "end": 44130, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 44 }, "end": { - "line": 1136, + "line": 1137, "column": 53 } } @@ -243628,15 +243948,15 @@ "updateContext": null }, "value": "=", - "start": 43478, - "end": 43479, + "start": 44131, + "end": 44132, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 54 }, "end": { - "line": 1136, + "line": 1137, "column": 55 } } @@ -243656,15 +243976,15 @@ "updateContext": null }, "value": "new", - "start": 43480, - "end": 43483, + "start": 44133, + "end": 44136, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 56 }, "end": { - "line": 1136, + "line": 1137, "column": 59 } } @@ -243682,15 +244002,15 @@ "binop": null }, "value": "Uint8Array", - "start": 43484, - "end": 43494, + "start": 44137, + "end": 44147, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 60 }, "end": { - "line": 1136, + "line": 1137, "column": 70 } } @@ -243707,15 +244027,15 @@ "postfix": false, "binop": null }, - "start": 43494, - "end": 43495, + "start": 44147, + "end": 44148, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 70 }, "end": { - "line": 1136, + "line": 1137, "column": 71 } } @@ -243734,15 +244054,15 @@ "updateContext": null }, "value": 1, - "start": 43495, - "end": 43496, + "start": 44148, + "end": 44149, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 71 }, "end": { - "line": 1136, + "line": 1137, "column": 72 } } @@ -243759,15 +244079,15 @@ "postfix": false, "binop": null }, - "start": 43496, - "end": 43497, + "start": 44149, + "end": 44150, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 72 }, "end": { - "line": 1136, + "line": 1137, "column": 73 } } @@ -243785,15 +244105,15 @@ "binop": null, "updateContext": null }, - "start": 43497, - "end": 43498, + "start": 44150, + "end": 44151, "loc": { "start": { - "line": 1136, + "line": 1137, "column": 73 }, "end": { - "line": 1136, + "line": 1137, "column": 74 } } @@ -243813,15 +244133,15 @@ "updateContext": null }, "value": "if", - "start": 43535, - "end": 43537, + "start": 44188, + "end": 44190, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 36 }, "end": { - "line": 1137, + "line": 1138, "column": 38 } } @@ -243838,15 +244158,15 @@ "postfix": false, "binop": null }, - "start": 43538, - "end": 43539, + "start": 44191, + "end": 44192, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 39 }, "end": { - "line": 1137, + "line": 1138, "column": 40 } } @@ -243864,15 +244184,15 @@ "binop": null }, "value": "--", - "start": 43539, - "end": 43541, + "start": 44192, + "end": 44194, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 40 }, "end": { - "line": 1137, + "line": 1138, "column": 42 } } @@ -243890,15 +244210,15 @@ "binop": null }, "value": "countTextures", - "start": 43541, - "end": 43554, + "start": 44194, + "end": 44207, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 42 }, "end": { - "line": 1137, + "line": 1138, "column": 55 } } @@ -243917,15 +244237,15 @@ "updateContext": null }, "value": "<=", - "start": 43555, - "end": 43557, + "start": 44208, + "end": 44210, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 56 }, "end": { - "line": 1137, + "line": 1138, "column": 58 } } @@ -243944,15 +244264,15 @@ "updateContext": null }, "value": 0, - "start": 43558, - "end": 43559, + "start": 44211, + "end": 44212, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 59 }, "end": { - "line": 1137, + "line": 1138, "column": 60 } } @@ -243969,15 +244289,15 @@ "postfix": false, "binop": null }, - "start": 43559, - "end": 43560, + "start": 44212, + "end": 44213, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 60 }, "end": { - "line": 1137, + "line": 1138, "column": 61 } } @@ -243994,15 +244314,15 @@ "postfix": false, "binop": null }, - "start": 43561, - "end": 43562, + "start": 44214, + "end": 44215, "loc": { "start": { - "line": 1137, + "line": 1138, "column": 62 }, "end": { - "line": 1137, + "line": 1138, "column": 63 } } @@ -244020,15 +244340,15 @@ "binop": null }, "value": "resolve", - "start": 43603, - "end": 43610, + "start": 44256, + "end": 44263, "loc": { "start": { - "line": 1138, + "line": 1139, "column": 40 }, "end": { - "line": 1138, + "line": 1139, "column": 47 } } @@ -244045,15 +244365,15 @@ "postfix": false, "binop": null }, - "start": 43610, - "end": 43611, + "start": 44263, + "end": 44264, "loc": { "start": { - "line": 1138, + "line": 1139, "column": 47 }, "end": { - "line": 1138, + "line": 1139, "column": 48 } } @@ -244070,15 +244390,15 @@ "postfix": false, "binop": null }, - "start": 43611, - "end": 43612, + "start": 44264, + "end": 44265, "loc": { "start": { - "line": 1138, + "line": 1139, "column": 48 }, "end": { - "line": 1138, + "line": 1139, "column": 49 } } @@ -244096,15 +244416,15 @@ "binop": null, "updateContext": null }, - "start": 43612, - "end": 43613, + "start": 44265, + "end": 44266, "loc": { "start": { - "line": 1138, + "line": 1139, "column": 49 }, "end": { - "line": 1138, + "line": 1139, "column": 50 } } @@ -244121,15 +244441,15 @@ "postfix": false, "binop": null }, - "start": 43650, - "end": 43651, + "start": 44303, + "end": 44304, "loc": { "start": { - "line": 1139, + "line": 1140, "column": 36 }, "end": { - "line": 1139, + "line": 1140, "column": 37 } } @@ -244146,15 +244466,15 @@ "postfix": false, "binop": null }, - "start": 43684, - "end": 43685, + "start": 44337, + "end": 44338, "loc": { "start": { - "line": 1140, + "line": 1141, "column": 32 }, "end": { - "line": 1140, + "line": 1141, "column": 33 } } @@ -244171,15 +244491,15 @@ "postfix": false, "binop": null }, - "start": 43714, - "end": 43715, + "start": 44367, + "end": 44368, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 28 }, "end": { - "line": 1141, + "line": 1142, "column": 29 } } @@ -244196,15 +244516,15 @@ "postfix": false, "binop": null }, - "start": 43715, - "end": 43716, + "start": 44368, + "end": 44369, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 29 }, "end": { - "line": 1141, + "line": 1142, "column": 30 } } @@ -244222,15 +244542,15 @@ "binop": null, "updateContext": null }, - "start": 43716, - "end": 43717, + "start": 44369, + "end": 44370, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 30 }, "end": { - "line": 1141, + "line": 1142, "column": 31 } } @@ -244250,15 +244570,15 @@ "updateContext": null }, "value": "catch", - "start": 43717, - "end": 43722, + "start": 44370, + "end": 44375, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 31 }, "end": { - "line": 1141, + "line": 1142, "column": 36 } } @@ -244275,15 +244595,15 @@ "postfix": false, "binop": null }, - "start": 43722, - "end": 43723, + "start": 44375, + "end": 44376, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 36 }, "end": { - "line": 1141, + "line": 1142, "column": 37 } } @@ -244300,15 +244620,15 @@ "postfix": false, "binop": null }, - "start": 43723, - "end": 43724, + "start": 44376, + "end": 44377, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 37 }, "end": { - "line": 1141, + "line": 1142, "column": 38 } } @@ -244326,15 +244646,15 @@ "binop": null }, "value": "err", - "start": 43724, - "end": 43727, + "start": 44377, + "end": 44380, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 38 }, "end": { - "line": 1141, + "line": 1142, "column": 41 } } @@ -244351,15 +244671,15 @@ "postfix": false, "binop": null }, - "start": 43727, - "end": 43728, + "start": 44380, + "end": 44381, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 41 }, "end": { - "line": 1141, + "line": 1142, "column": 42 } } @@ -244377,15 +244697,15 @@ "binop": null, "updateContext": null }, - "start": 43729, - "end": 43731, + "start": 44382, + "end": 44384, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 43 }, "end": { - "line": 1141, + "line": 1142, "column": 45 } } @@ -244402,15 +244722,15 @@ "postfix": false, "binop": null }, - "start": 43732, - "end": 43733, + "start": 44385, + "end": 44386, "loc": { "start": { - "line": 1141, + "line": 1142, "column": 46 }, "end": { - "line": 1141, + "line": 1142, "column": 47 } } @@ -244428,15 +244748,15 @@ "binop": null }, "value": "console", - "start": 43766, - "end": 43773, + "start": 44419, + "end": 44426, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 32 }, "end": { - "line": 1142, + "line": 1143, "column": 39 } } @@ -244454,15 +244774,15 @@ "binop": null, "updateContext": null }, - "start": 43773, - "end": 43774, + "start": 44426, + "end": 44427, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 39 }, "end": { - "line": 1142, + "line": 1143, "column": 40 } } @@ -244480,15 +244800,15 @@ "binop": null }, "value": "error", - "start": 43774, - "end": 43779, + "start": 44427, + "end": 44432, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 40 }, "end": { - "line": 1142, + "line": 1143, "column": 45 } } @@ -244505,15 +244825,15 @@ "postfix": false, "binop": null }, - "start": 43779, - "end": 43780, + "start": 44432, + "end": 44433, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 45 }, "end": { - "line": 1142, + "line": 1143, "column": 46 } } @@ -244532,15 +244852,15 @@ "updateContext": null }, "value": "[XKTModel.finalize] Failed to load image: ", - "start": 43780, - "end": 43824, + "start": 44433, + "end": 44477, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 46 }, "end": { - "line": 1142, + "line": 1143, "column": 90 } } @@ -244559,15 +244879,15 @@ "updateContext": null }, "value": "+", - "start": 43825, - "end": 43826, + "start": 44478, + "end": 44479, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 91 }, "end": { - "line": 1142, + "line": 1143, "column": 92 } } @@ -244585,15 +244905,15 @@ "binop": null }, "value": "err", - "start": 43827, - "end": 43830, + "start": 44480, + "end": 44483, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 93 }, "end": { - "line": 1142, + "line": 1143, "column": 96 } } @@ -244610,15 +244930,15 @@ "postfix": false, "binop": null }, - "start": 43830, - "end": 43831, + "start": 44483, + "end": 44484, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 96 }, "end": { - "line": 1142, + "line": 1143, "column": 97 } } @@ -244636,15 +244956,15 @@ "binop": null, "updateContext": null }, - "start": 43831, - "end": 43832, + "start": 44484, + "end": 44485, "loc": { "start": { - "line": 1142, + "line": 1143, "column": 97 }, "end": { - "line": 1142, + "line": 1143, "column": 98 } } @@ -244664,15 +244984,15 @@ "updateContext": null }, "value": "if", - "start": 43865, - "end": 43867, + "start": 44518, + "end": 44520, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 32 }, "end": { - "line": 1143, + "line": 1144, "column": 34 } } @@ -244689,15 +245009,15 @@ "postfix": false, "binop": null }, - "start": 43868, - "end": 43869, + "start": 44521, + "end": 44522, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 35 }, "end": { - "line": 1143, + "line": 1144, "column": 36 } } @@ -244715,15 +245035,15 @@ "binop": null }, "value": "--", - "start": 43869, - "end": 43871, + "start": 44522, + "end": 44524, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 36 }, "end": { - "line": 1143, + "line": 1144, "column": 38 } } @@ -244741,15 +245061,15 @@ "binop": null }, "value": "countTextures", - "start": 43871, - "end": 43884, + "start": 44524, + "end": 44537, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 38 }, "end": { - "line": 1143, + "line": 1144, "column": 51 } } @@ -244768,15 +245088,15 @@ "updateContext": null }, "value": "<=", - "start": 43885, - "end": 43887, + "start": 44538, + "end": 44540, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 52 }, "end": { - "line": 1143, + "line": 1144, "column": 54 } } @@ -244795,15 +245115,15 @@ "updateContext": null }, "value": 0, - "start": 43888, - "end": 43889, + "start": 44541, + "end": 44542, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 55 }, "end": { - "line": 1143, + "line": 1144, "column": 56 } } @@ -244820,15 +245140,15 @@ "postfix": false, "binop": null }, - "start": 43889, - "end": 43890, + "start": 44542, + "end": 44543, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 56 }, "end": { - "line": 1143, + "line": 1144, "column": 57 } } @@ -244845,15 +245165,15 @@ "postfix": false, "binop": null }, - "start": 43891, - "end": 43892, + "start": 44544, + "end": 44545, "loc": { "start": { - "line": 1143, + "line": 1144, "column": 58 }, "end": { - "line": 1143, + "line": 1144, "column": 59 } } @@ -244871,15 +245191,15 @@ "binop": null }, "value": "resolve", - "start": 43929, - "end": 43936, + "start": 44582, + "end": 44589, "loc": { "start": { - "line": 1144, + "line": 1145, "column": 36 }, "end": { - "line": 1144, + "line": 1145, "column": 43 } } @@ -244896,15 +245216,15 @@ "postfix": false, "binop": null }, - "start": 43936, - "end": 43937, + "start": 44589, + "end": 44590, "loc": { "start": { - "line": 1144, + "line": 1145, "column": 43 }, "end": { - "line": 1144, + "line": 1145, "column": 44 } } @@ -244921,15 +245241,15 @@ "postfix": false, "binop": null }, - "start": 43937, - "end": 43938, + "start": 44590, + "end": 44591, "loc": { "start": { - "line": 1144, + "line": 1145, "column": 44 }, "end": { - "line": 1144, + "line": 1145, "column": 45 } } @@ -244947,15 +245267,15 @@ "binop": null, "updateContext": null }, - "start": 43938, - "end": 43939, + "start": 44591, + "end": 44592, "loc": { "start": { - "line": 1144, + "line": 1145, "column": 45 }, "end": { - "line": 1144, + "line": 1145, "column": 46 } } @@ -244972,15 +245292,15 @@ "postfix": false, "binop": null }, - "start": 43972, - "end": 43973, + "start": 44625, + "end": 44626, "loc": { "start": { - "line": 1145, + "line": 1146, "column": 32 }, "end": { - "line": 1145, + "line": 1146, "column": 33 } } @@ -244997,15 +245317,15 @@ "postfix": false, "binop": null }, - "start": 44002, - "end": 44003, + "start": 44655, + "end": 44656, "loc": { "start": { - "line": 1146, + "line": 1147, "column": 28 }, "end": { - "line": 1146, + "line": 1147, "column": 29 } } @@ -245022,15 +245342,15 @@ "postfix": false, "binop": null }, - "start": 44003, - "end": 44004, + "start": 44656, + "end": 44657, "loc": { "start": { - "line": 1146, + "line": 1147, "column": 29 }, "end": { - "line": 1146, + "line": 1147, "column": 30 } } @@ -245048,15 +245368,15 @@ "binop": null, "updateContext": null }, - "start": 44004, - "end": 44005, + "start": 44657, + "end": 44658, "loc": { "start": { - "line": 1146, + "line": 1147, "column": 30 }, "end": { - "line": 1146, + "line": 1147, "column": 31 } } @@ -245076,15 +245396,15 @@ "updateContext": null }, "value": "break", - "start": 44034, - "end": 44039, + "start": 44687, + "end": 44692, "loc": { "start": { - "line": 1147, + "line": 1148, "column": 28 }, "end": { - "line": 1147, + "line": 1148, "column": 33 } } @@ -245102,15 +245422,15 @@ "binop": null, "updateContext": null }, - "start": 44039, - "end": 44040, + "start": 44692, + "end": 44693, "loc": { "start": { - "line": 1147, + "line": 1148, "column": 33 }, "end": { - "line": 1147, + "line": 1148, "column": 34 } } @@ -245130,15 +245450,15 @@ "updateContext": null }, "value": "default", - "start": 44065, - "end": 44072, + "start": 44718, + "end": 44725, "loc": { "start": { - "line": 1148, + "line": 1149, "column": 24 }, "end": { - "line": 1148, + "line": 1149, "column": 31 } } @@ -245156,15 +245476,15 @@ "binop": null, "updateContext": null }, - "start": 44072, - "end": 44073, + "start": 44725, + "end": 44726, "loc": { "start": { - "line": 1148, + "line": 1149, "column": 31 }, "end": { - "line": 1148, + "line": 1149, "column": 32 } } @@ -245184,15 +245504,15 @@ "updateContext": null }, "value": "if", - "start": 44102, - "end": 44104, + "start": 44755, + "end": 44757, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 28 }, "end": { - "line": 1149, + "line": 1150, "column": 30 } } @@ -245209,15 +245529,15 @@ "postfix": false, "binop": null }, - "start": 44105, - "end": 44106, + "start": 44758, + "end": 44759, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 31 }, "end": { - "line": 1149, + "line": 1150, "column": 32 } } @@ -245235,15 +245555,15 @@ "binop": null }, "value": "--", - "start": 44106, - "end": 44108, + "start": 44759, + "end": 44761, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 32 }, "end": { - "line": 1149, + "line": 1150, "column": 34 } } @@ -245261,15 +245581,15 @@ "binop": null }, "value": "countTextures", - "start": 44108, - "end": 44121, + "start": 44761, + "end": 44774, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 34 }, "end": { - "line": 1149, + "line": 1150, "column": 47 } } @@ -245288,15 +245608,15 @@ "updateContext": null }, "value": "<=", - "start": 44122, - "end": 44124, + "start": 44775, + "end": 44777, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 48 }, "end": { - "line": 1149, + "line": 1150, "column": 50 } } @@ -245315,15 +245635,15 @@ "updateContext": null }, "value": 0, - "start": 44125, - "end": 44126, + "start": 44778, + "end": 44779, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 51 }, "end": { - "line": 1149, + "line": 1150, "column": 52 } } @@ -245340,15 +245660,15 @@ "postfix": false, "binop": null }, - "start": 44126, - "end": 44127, + "start": 44779, + "end": 44780, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 52 }, "end": { - "line": 1149, + "line": 1150, "column": 53 } } @@ -245365,15 +245685,15 @@ "postfix": false, "binop": null }, - "start": 44128, - "end": 44129, + "start": 44781, + "end": 44782, "loc": { "start": { - "line": 1149, + "line": 1150, "column": 54 }, "end": { - "line": 1149, + "line": 1150, "column": 55 } } @@ -245391,15 +245711,15 @@ "binop": null }, "value": "resolve", - "start": 44162, - "end": 44169, + "start": 44815, + "end": 44822, "loc": { "start": { - "line": 1150, + "line": 1151, "column": 32 }, "end": { - "line": 1150, + "line": 1151, "column": 39 } } @@ -245416,15 +245736,15 @@ "postfix": false, "binop": null }, - "start": 44169, - "end": 44170, + "start": 44822, + "end": 44823, "loc": { "start": { - "line": 1150, + "line": 1151, "column": 39 }, "end": { - "line": 1150, + "line": 1151, "column": 40 } } @@ -245441,15 +245761,15 @@ "postfix": false, "binop": null }, - "start": 44170, - "end": 44171, + "start": 44823, + "end": 44824, "loc": { "start": { - "line": 1150, + "line": 1151, "column": 40 }, "end": { - "line": 1150, + "line": 1151, "column": 41 } } @@ -245467,15 +245787,15 @@ "binop": null, "updateContext": null }, - "start": 44171, - "end": 44172, + "start": 44824, + "end": 44825, "loc": { "start": { - "line": 1150, + "line": 1151, "column": 41 }, "end": { - "line": 1150, + "line": 1151, "column": 42 } } @@ -245492,15 +245812,15 @@ "postfix": false, "binop": null }, - "start": 44201, - "end": 44202, + "start": 44854, + "end": 44855, "loc": { "start": { - "line": 1151, + "line": 1152, "column": 28 }, "end": { - "line": 1151, + "line": 1152, "column": 29 } } @@ -245520,15 +245840,15 @@ "updateContext": null }, "value": "break", - "start": 44231, - "end": 44236, + "start": 44884, + "end": 44889, "loc": { "start": { - "line": 1152, + "line": 1153, "column": 28 }, "end": { - "line": 1152, + "line": 1153, "column": 33 } } @@ -245546,15 +245866,15 @@ "binop": null, "updateContext": null }, - "start": 44236, - "end": 44237, + "start": 44889, + "end": 44890, "loc": { "start": { - "line": 1152, + "line": 1153, "column": 33 }, "end": { - "line": 1152, + "line": 1153, "column": 34 } } @@ -245571,15 +245891,15 @@ "postfix": false, "binop": null }, - "start": 44258, - "end": 44259, + "start": 44911, + "end": 44912, "loc": { "start": { - "line": 1153, + "line": 1154, "column": 20 }, "end": { - "line": 1153, + "line": 1154, "column": 21 } } @@ -245596,15 +245916,15 @@ "postfix": false, "binop": null }, - "start": 44276, - "end": 44277, + "start": 44929, + "end": 44930, "loc": { "start": { - "line": 1154, + "line": 1155, "column": 16 }, "end": { - "line": 1154, + "line": 1155, "column": 17 } } @@ -245624,15 +245944,15 @@ "updateContext": null }, "value": "if", - "start": 44295, - "end": 44297, + "start": 44948, + "end": 44950, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 16 }, "end": { - "line": 1156, + "line": 1157, "column": 18 } } @@ -245649,15 +245969,15 @@ "postfix": false, "binop": null }, - "start": 44298, - "end": 44299, + "start": 44951, + "end": 44952, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 19 }, "end": { - "line": 1156, + "line": 1157, "column": 20 } } @@ -245675,15 +245995,15 @@ "binop": null }, "value": "texture", - "start": 44299, - "end": 44306, + "start": 44952, + "end": 44959, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 20 }, "end": { - "line": 1156, + "line": 1157, "column": 27 } } @@ -245701,15 +246021,15 @@ "binop": null, "updateContext": null }, - "start": 44306, - "end": 44307, + "start": 44959, + "end": 44960, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 27 }, "end": { - "line": 1156, + "line": 1157, "column": 28 } } @@ -245727,15 +246047,15 @@ "binop": null }, "value": "imageData", - "start": 44307, - "end": 44316, + "start": 44960, + "end": 44969, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 28 }, "end": { - "line": 1156, + "line": 1157, "column": 37 } } @@ -245752,15 +246072,15 @@ "postfix": false, "binop": null }, - "start": 44316, - "end": 44317, + "start": 44969, + "end": 44970, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 37 }, "end": { - "line": 1156, + "line": 1157, "column": 38 } } @@ -245777,15 +246097,15 @@ "postfix": false, "binop": null }, - "start": 44318, - "end": 44319, + "start": 44971, + "end": 44972, "loc": { "start": { - "line": 1156, + "line": 1157, "column": 39 }, "end": { - "line": 1156, + "line": 1157, "column": 40 } } @@ -245793,15 +246113,15 @@ { "type": "CommentLine", "value": " XKTTexture created with XKTModel#createTexture({ imageData: ... })", - "start": 44341, - "end": 44410, + "start": 44994, + "end": 45063, "loc": { "start": { - "line": 1158, + "line": 1159, "column": 20 }, "end": { - "line": 1158, + "line": 1159, "column": 89 } } @@ -245821,15 +246141,15 @@ "updateContext": null }, "value": "if", - "start": 44432, - "end": 44434, + "start": 45085, + "end": 45087, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 20 }, "end": { - "line": 1160, + "line": 1161, "column": 22 } } @@ -245846,15 +246166,15 @@ "postfix": false, "binop": null }, - "start": 44435, - "end": 44436, + "start": 45088, + "end": 45089, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 23 }, "end": { - "line": 1160, + "line": 1161, "column": 24 } } @@ -245872,15 +246192,15 @@ "binop": null }, "value": "texture", - "start": 44436, - "end": 44443, + "start": 45089, + "end": 45096, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 24 }, "end": { - "line": 1160, + "line": 1161, "column": 31 } } @@ -245898,15 +246218,15 @@ "binop": null, "updateContext": null }, - "start": 44443, - "end": 44444, + "start": 45096, + "end": 45097, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 31 }, "end": { - "line": 1160, + "line": 1161, "column": 32 } } @@ -245924,15 +246244,15 @@ "binop": null }, "value": "compressed", - "start": 44444, - "end": 44454, + "start": 45097, + "end": 45107, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 32 }, "end": { - "line": 1160, + "line": 1161, "column": 42 } } @@ -245949,15 +246269,15 @@ "postfix": false, "binop": null }, - "start": 44454, - "end": 44455, + "start": 45107, + "end": 45108, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 42 }, "end": { - "line": 1160, + "line": 1161, "column": 43 } } @@ -245974,15 +246294,15 @@ "postfix": false, "binop": null }, - "start": 44456, - "end": 44457, + "start": 45109, + "end": 45110, "loc": { "start": { - "line": 1160, + "line": 1161, "column": 44 }, "end": { - "line": 1160, + "line": 1161, "column": 45 } } @@ -246000,15 +246320,15 @@ "binop": null }, "value": "encode", - "start": 44482, - "end": 44488, + "start": 45135, + "end": 45141, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 24 }, "end": { - "line": 1161, + "line": 1162, "column": 30 } } @@ -246025,15 +246345,15 @@ "postfix": false, "binop": null }, - "start": 44488, - "end": 44489, + "start": 45141, + "end": 45142, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 30 }, "end": { - "line": 1161, + "line": 1162, "column": 31 } } @@ -246051,15 +246371,15 @@ "binop": null }, "value": "texture", - "start": 44489, - "end": 44496, + "start": 45142, + "end": 45149, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 31 }, "end": { - "line": 1161, + "line": 1162, "column": 38 } } @@ -246077,15 +246397,15 @@ "binop": null, "updateContext": null }, - "start": 44496, - "end": 44497, + "start": 45149, + "end": 45150, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 38 }, "end": { - "line": 1161, + "line": 1162, "column": 39 } } @@ -246103,15 +246423,15 @@ "binop": null }, "value": "imageData", - "start": 44497, - "end": 44506, + "start": 45150, + "end": 45159, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 39 }, "end": { - "line": 1161, + "line": 1162, "column": 48 } } @@ -246129,15 +246449,15 @@ "binop": null, "updateContext": null }, - "start": 44506, - "end": 44507, + "start": 45159, + "end": 45160, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 48 }, "end": { - "line": 1161, + "line": 1162, "column": 49 } } @@ -246155,15 +246475,15 @@ "binop": null }, "value": "KTX2BasisWriter", - "start": 44508, - "end": 44523, + "start": 45161, + "end": 45176, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 50 }, "end": { - "line": 1161, + "line": 1162, "column": 65 } } @@ -246181,15 +246501,15 @@ "binop": null, "updateContext": null }, - "start": 44523, - "end": 44524, + "start": 45176, + "end": 45177, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 65 }, "end": { - "line": 1161, + "line": 1162, "column": 66 } } @@ -246207,15 +246527,15 @@ "binop": null }, "value": "encodingOptions", - "start": 44525, - "end": 44540, + "start": 45178, + "end": 45193, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 67 }, "end": { - "line": 1161, + "line": 1162, "column": 82 } } @@ -246232,15 +246552,15 @@ "postfix": false, "binop": null }, - "start": 44540, - "end": 44541, + "start": 45193, + "end": 45194, "loc": { "start": { - "line": 1161, + "line": 1162, "column": 82 }, "end": { - "line": 1161, + "line": 1162, "column": 83 } } @@ -246258,15 +246578,15 @@ "binop": null, "updateContext": null }, - "start": 44570, - "end": 44571, + "start": 45223, + "end": 45224, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 28 }, "end": { - "line": 1162, + "line": 1163, "column": 29 } } @@ -246284,15 +246604,15 @@ "binop": null }, "value": "then", - "start": 44571, - "end": 44575, + "start": 45224, + "end": 45228, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 29 }, "end": { - "line": 1162, + "line": 1163, "column": 33 } } @@ -246309,15 +246629,15 @@ "postfix": false, "binop": null }, - "start": 44575, - "end": 44576, + "start": 45228, + "end": 45229, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 33 }, "end": { - "line": 1162, + "line": 1163, "column": 34 } } @@ -246334,15 +246654,15 @@ "postfix": false, "binop": null }, - "start": 44576, - "end": 44577, + "start": 45229, + "end": 45230, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 34 }, "end": { - "line": 1162, + "line": 1163, "column": 35 } } @@ -246360,15 +246680,15 @@ "binop": null }, "value": "encodedImageData", - "start": 44577, - "end": 44593, + "start": 45230, + "end": 45246, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 35 }, "end": { - "line": 1162, + "line": 1163, "column": 51 } } @@ -246385,15 +246705,15 @@ "postfix": false, "binop": null }, - "start": 44593, - "end": 44594, + "start": 45246, + "end": 45247, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 51 }, "end": { - "line": 1162, + "line": 1163, "column": 52 } } @@ -246411,15 +246731,15 @@ "binop": null, "updateContext": null }, - "start": 44595, - "end": 44597, + "start": 45248, + "end": 45250, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 53 }, "end": { - "line": 1162, + "line": 1163, "column": 55 } } @@ -246436,15 +246756,15 @@ "postfix": false, "binop": null }, - "start": 44598, - "end": 44599, + "start": 45251, + "end": 45252, "loc": { "start": { - "line": 1162, + "line": 1163, "column": 56 }, "end": { - "line": 1162, + "line": 1163, "column": 57 } } @@ -246462,15 +246782,15 @@ "binop": null }, "value": "texture", - "start": 44632, - "end": 44639, + "start": 45285, + "end": 45292, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 32 }, "end": { - "line": 1163, + "line": 1164, "column": 39 } } @@ -246488,15 +246808,15 @@ "binop": null, "updateContext": null }, - "start": 44639, - "end": 44640, + "start": 45292, + "end": 45293, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 39 }, "end": { - "line": 1163, + "line": 1164, "column": 40 } } @@ -246514,15 +246834,15 @@ "binop": null }, "value": "imageData", - "start": 44640, - "end": 44649, + "start": 45293, + "end": 45302, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 40 }, "end": { - "line": 1163, + "line": 1164, "column": 49 } } @@ -246541,15 +246861,15 @@ "updateContext": null }, "value": "=", - "start": 44650, - "end": 44651, + "start": 45303, + "end": 45304, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 50 }, "end": { - "line": 1163, + "line": 1164, "column": 51 } } @@ -246569,15 +246889,15 @@ "updateContext": null }, "value": "new", - "start": 44652, - "end": 44655, + "start": 45305, + "end": 45308, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 52 }, "end": { - "line": 1163, + "line": 1164, "column": 55 } } @@ -246595,15 +246915,15 @@ "binop": null }, "value": "Uint8Array", - "start": 44656, - "end": 44666, + "start": 45309, + "end": 45319, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 56 }, "end": { - "line": 1163, + "line": 1164, "column": 66 } } @@ -246620,15 +246940,15 @@ "postfix": false, "binop": null }, - "start": 44666, - "end": 44667, + "start": 45319, + "end": 45320, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 66 }, "end": { - "line": 1163, + "line": 1164, "column": 67 } } @@ -246646,15 +246966,15 @@ "binop": null }, "value": "encodedImageData", - "start": 44667, - "end": 44683, + "start": 45320, + "end": 45336, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 67 }, "end": { - "line": 1163, + "line": 1164, "column": 83 } } @@ -246671,15 +246991,15 @@ "postfix": false, "binop": null }, - "start": 44683, - "end": 44684, + "start": 45336, + "end": 45337, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 83 }, "end": { - "line": 1163, + "line": 1164, "column": 84 } } @@ -246697,15 +247017,15 @@ "binop": null, "updateContext": null }, - "start": 44684, - "end": 44685, + "start": 45337, + "end": 45338, "loc": { "start": { - "line": 1163, + "line": 1164, "column": 84 }, "end": { - "line": 1163, + "line": 1164, "column": 85 } } @@ -246725,15 +247045,15 @@ "updateContext": null }, "value": "if", - "start": 44718, - "end": 44720, + "start": 45371, + "end": 45373, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 32 }, "end": { - "line": 1164, + "line": 1165, "column": 34 } } @@ -246750,15 +247070,15 @@ "postfix": false, "binop": null }, - "start": 44721, - "end": 44722, + "start": 45374, + "end": 45375, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 35 }, "end": { - "line": 1164, + "line": 1165, "column": 36 } } @@ -246776,15 +247096,15 @@ "binop": null }, "value": "--", - "start": 44722, - "end": 44724, + "start": 45375, + "end": 45377, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 36 }, "end": { - "line": 1164, + "line": 1165, "column": 38 } } @@ -246802,15 +247122,15 @@ "binop": null }, "value": "countTextures", - "start": 44724, - "end": 44737, + "start": 45377, + "end": 45390, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 38 }, "end": { - "line": 1164, + "line": 1165, "column": 51 } } @@ -246829,15 +247149,15 @@ "updateContext": null }, "value": "<=", - "start": 44738, - "end": 44740, + "start": 45391, + "end": 45393, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 52 }, "end": { - "line": 1164, + "line": 1165, "column": 54 } } @@ -246856,15 +247176,15 @@ "updateContext": null }, "value": 0, - "start": 44741, - "end": 44742, + "start": 45394, + "end": 45395, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 55 }, "end": { - "line": 1164, + "line": 1165, "column": 56 } } @@ -246881,15 +247201,15 @@ "postfix": false, "binop": null }, - "start": 44742, - "end": 44743, + "start": 45395, + "end": 45396, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 56 }, "end": { - "line": 1164, + "line": 1165, "column": 57 } } @@ -246906,15 +247226,15 @@ "postfix": false, "binop": null }, - "start": 44744, - "end": 44745, + "start": 45397, + "end": 45398, "loc": { "start": { - "line": 1164, + "line": 1165, "column": 58 }, "end": { - "line": 1164, + "line": 1165, "column": 59 } } @@ -246932,15 +247252,15 @@ "binop": null }, "value": "resolve", - "start": 44782, - "end": 44789, + "start": 45435, + "end": 45442, "loc": { "start": { - "line": 1165, + "line": 1166, "column": 36 }, "end": { - "line": 1165, + "line": 1166, "column": 43 } } @@ -246957,15 +247277,15 @@ "postfix": false, "binop": null }, - "start": 44789, - "end": 44790, + "start": 45442, + "end": 45443, "loc": { "start": { - "line": 1165, + "line": 1166, "column": 43 }, "end": { - "line": 1165, + "line": 1166, "column": 44 } } @@ -246982,15 +247302,15 @@ "postfix": false, "binop": null }, - "start": 44790, - "end": 44791, + "start": 45443, + "end": 45444, "loc": { "start": { - "line": 1165, + "line": 1166, "column": 44 }, "end": { - "line": 1165, + "line": 1166, "column": 45 } } @@ -247008,15 +247328,15 @@ "binop": null, "updateContext": null }, - "start": 44791, - "end": 44792, + "start": 45444, + "end": 45445, "loc": { "start": { - "line": 1165, + "line": 1166, "column": 45 }, "end": { - "line": 1165, + "line": 1166, "column": 46 } } @@ -247033,15 +247353,15 @@ "postfix": false, "binop": null }, - "start": 44825, - "end": 44826, + "start": 45478, + "end": 45479, "loc": { "start": { - "line": 1166, + "line": 1167, "column": 32 }, "end": { - "line": 1166, + "line": 1167, "column": 33 } } @@ -247058,15 +247378,15 @@ "postfix": false, "binop": null }, - "start": 44855, - "end": 44856, + "start": 45508, + "end": 45509, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 28 }, "end": { - "line": 1167, + "line": 1168, "column": 29 } } @@ -247083,15 +247403,15 @@ "postfix": false, "binop": null }, - "start": 44856, - "end": 44857, + "start": 45509, + "end": 45510, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 29 }, "end": { - "line": 1167, + "line": 1168, "column": 30 } } @@ -247109,15 +247429,15 @@ "binop": null, "updateContext": null }, - "start": 44857, - "end": 44858, + "start": 45510, + "end": 45511, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 30 }, "end": { - "line": 1167, + "line": 1168, "column": 31 } } @@ -247137,15 +247457,15 @@ "updateContext": null }, "value": "catch", - "start": 44858, - "end": 44863, + "start": 45511, + "end": 45516, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 31 }, "end": { - "line": 1167, + "line": 1168, "column": 36 } } @@ -247162,15 +247482,15 @@ "postfix": false, "binop": null }, - "start": 44863, - "end": 44864, + "start": 45516, + "end": 45517, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 36 }, "end": { - "line": 1167, + "line": 1168, "column": 37 } } @@ -247187,15 +247507,15 @@ "postfix": false, "binop": null }, - "start": 44864, - "end": 44865, + "start": 45517, + "end": 45518, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 37 }, "end": { - "line": 1167, + "line": 1168, "column": 38 } } @@ -247213,15 +247533,15 @@ "binop": null }, "value": "err", - "start": 44865, - "end": 44868, + "start": 45518, + "end": 45521, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 38 }, "end": { - "line": 1167, + "line": 1168, "column": 41 } } @@ -247238,15 +247558,15 @@ "postfix": false, "binop": null }, - "start": 44868, - "end": 44869, + "start": 45521, + "end": 45522, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 41 }, "end": { - "line": 1167, + "line": 1168, "column": 42 } } @@ -247264,15 +247584,15 @@ "binop": null, "updateContext": null }, - "start": 44870, - "end": 44872, + "start": 45523, + "end": 45525, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 43 }, "end": { - "line": 1167, + "line": 1168, "column": 45 } } @@ -247289,15 +247609,15 @@ "postfix": false, "binop": null }, - "start": 44873, - "end": 44874, + "start": 45526, + "end": 45527, "loc": { "start": { - "line": 1167, + "line": 1168, "column": 46 }, "end": { - "line": 1167, + "line": 1168, "column": 47 } } @@ -247315,15 +247635,15 @@ "binop": null }, "value": "console", - "start": 44903, - "end": 44910, + "start": 45556, + "end": 45563, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 28 }, "end": { - "line": 1168, + "line": 1169, "column": 35 } } @@ -247341,15 +247661,15 @@ "binop": null, "updateContext": null }, - "start": 44910, - "end": 44911, + "start": 45563, + "end": 45564, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 35 }, "end": { - "line": 1168, + "line": 1169, "column": 36 } } @@ -247367,15 +247687,15 @@ "binop": null }, "value": "error", - "start": 44911, - "end": 44916, + "start": 45564, + "end": 45569, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 36 }, "end": { - "line": 1168, + "line": 1169, "column": 41 } } @@ -247392,15 +247712,15 @@ "postfix": false, "binop": null }, - "start": 44916, - "end": 44917, + "start": 45569, + "end": 45570, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 41 }, "end": { - "line": 1168, + "line": 1169, "column": 42 } } @@ -247419,15 +247739,15 @@ "updateContext": null }, "value": "[XKTModel.finalize] Failed to encode image: ", - "start": 44917, - "end": 44963, + "start": 45570, + "end": 45616, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 42 }, "end": { - "line": 1168, + "line": 1169, "column": 88 } } @@ -247446,15 +247766,15 @@ "updateContext": null }, "value": "+", - "start": 44964, - "end": 44965, + "start": 45617, + "end": 45618, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 89 }, "end": { - "line": 1168, + "line": 1169, "column": 90 } } @@ -247472,15 +247792,15 @@ "binop": null }, "value": "err", - "start": 44966, - "end": 44969, + "start": 45619, + "end": 45622, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 91 }, "end": { - "line": 1168, + "line": 1169, "column": 94 } } @@ -247497,15 +247817,15 @@ "postfix": false, "binop": null }, - "start": 44969, - "end": 44970, + "start": 45622, + "end": 45623, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 94 }, "end": { - "line": 1168, + "line": 1169, "column": 95 } } @@ -247523,15 +247843,15 @@ "binop": null, "updateContext": null }, - "start": 44970, - "end": 44971, + "start": 45623, + "end": 45624, "loc": { "start": { - "line": 1168, + "line": 1169, "column": 95 }, "end": { - "line": 1168, + "line": 1169, "column": 96 } } @@ -247551,15 +247871,15 @@ "updateContext": null }, "value": "if", - "start": 45000, - "end": 45002, + "start": 45653, + "end": 45655, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 28 }, "end": { - "line": 1169, + "line": 1170, "column": 30 } } @@ -247576,15 +247896,15 @@ "postfix": false, "binop": null }, - "start": 45003, - "end": 45004, + "start": 45656, + "end": 45657, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 31 }, "end": { - "line": 1169, + "line": 1170, "column": 32 } } @@ -247602,15 +247922,15 @@ "binop": null }, "value": "--", - "start": 45004, - "end": 45006, + "start": 45657, + "end": 45659, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 32 }, "end": { - "line": 1169, + "line": 1170, "column": 34 } } @@ -247628,15 +247948,15 @@ "binop": null }, "value": "countTextures", - "start": 45006, - "end": 45019, + "start": 45659, + "end": 45672, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 34 }, "end": { - "line": 1169, + "line": 1170, "column": 47 } } @@ -247655,15 +247975,15 @@ "updateContext": null }, "value": "<=", - "start": 45020, - "end": 45022, + "start": 45673, + "end": 45675, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 48 }, "end": { - "line": 1169, + "line": 1170, "column": 50 } } @@ -247682,15 +248002,15 @@ "updateContext": null }, "value": 0, - "start": 45023, - "end": 45024, + "start": 45676, + "end": 45677, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 51 }, "end": { - "line": 1169, + "line": 1170, "column": 52 } } @@ -247707,15 +248027,15 @@ "postfix": false, "binop": null }, - "start": 45024, - "end": 45025, + "start": 45677, + "end": 45678, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 52 }, "end": { - "line": 1169, + "line": 1170, "column": 53 } } @@ -247732,15 +248052,15 @@ "postfix": false, "binop": null }, - "start": 45026, - "end": 45027, + "start": 45679, + "end": 45680, "loc": { "start": { - "line": 1169, + "line": 1170, "column": 54 }, "end": { - "line": 1169, + "line": 1170, "column": 55 } } @@ -247758,15 +248078,15 @@ "binop": null }, "value": "resolve", - "start": 45060, - "end": 45067, + "start": 45713, + "end": 45720, "loc": { "start": { - "line": 1170, + "line": 1171, "column": 32 }, "end": { - "line": 1170, + "line": 1171, "column": 39 } } @@ -247783,15 +248103,15 @@ "postfix": false, "binop": null }, - "start": 45067, - "end": 45068, + "start": 45720, + "end": 45721, "loc": { "start": { - "line": 1170, + "line": 1171, "column": 39 }, "end": { - "line": 1170, + "line": 1171, "column": 40 } } @@ -247808,15 +248128,15 @@ "postfix": false, "binop": null }, - "start": 45068, - "end": 45069, + "start": 45721, + "end": 45722, "loc": { "start": { - "line": 1170, + "line": 1171, "column": 40 }, "end": { - "line": 1170, + "line": 1171, "column": 41 } } @@ -247834,15 +248154,15 @@ "binop": null, "updateContext": null }, - "start": 45069, - "end": 45070, + "start": 45722, + "end": 45723, "loc": { "start": { - "line": 1170, + "line": 1171, "column": 41 }, "end": { - "line": 1170, + "line": 1171, "column": 42 } } @@ -247859,15 +248179,15 @@ "postfix": false, "binop": null }, - "start": 45099, - "end": 45100, + "start": 45752, + "end": 45753, "loc": { "start": { - "line": 1171, + "line": 1172, "column": 28 }, "end": { - "line": 1171, + "line": 1172, "column": 29 } } @@ -247884,15 +248204,15 @@ "postfix": false, "binop": null }, - "start": 45125, - "end": 45126, + "start": 45778, + "end": 45779, "loc": { "start": { - "line": 1172, + "line": 1173, "column": 24 }, "end": { - "line": 1172, + "line": 1173, "column": 25 } } @@ -247909,15 +248229,15 @@ "postfix": false, "binop": null }, - "start": 45126, - "end": 45127, + "start": 45779, + "end": 45780, "loc": { "start": { - "line": 1172, + "line": 1173, "column": 25 }, "end": { - "line": 1172, + "line": 1173, "column": 26 } } @@ -247935,15 +248255,15 @@ "binop": null, "updateContext": null }, - "start": 45127, - "end": 45128, + "start": 45780, + "end": 45781, "loc": { "start": { - "line": 1172, + "line": 1173, "column": 26 }, "end": { - "line": 1172, + "line": 1173, "column": 27 } } @@ -247960,15 +248280,15 @@ "postfix": false, "binop": null }, - "start": 45149, - "end": 45150, + "start": 45802, + "end": 45803, "loc": { "start": { - "line": 1173, + "line": 1174, "column": 20 }, "end": { - "line": 1173, + "line": 1174, "column": 21 } } @@ -247988,15 +248308,15 @@ "updateContext": null }, "value": "else", - "start": 45151, - "end": 45155, + "start": 45804, + "end": 45808, "loc": { "start": { - "line": 1173, + "line": 1174, "column": 22 }, "end": { - "line": 1173, + "line": 1174, "column": 26 } } @@ -248013,15 +248333,15 @@ "postfix": false, "binop": null }, - "start": 45156, - "end": 45157, + "start": 45809, + "end": 45810, "loc": { "start": { - "line": 1173, + "line": 1174, "column": 27 }, "end": { - "line": 1173, + "line": 1174, "column": 28 } } @@ -248039,15 +248359,15 @@ "binop": null }, "value": "texture", - "start": 45182, - "end": 45189, + "start": 45835, + "end": 45842, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 24 }, "end": { - "line": 1174, + "line": 1175, "column": 31 } } @@ -248065,15 +248385,15 @@ "binop": null, "updateContext": null }, - "start": 45189, - "end": 45190, + "start": 45842, + "end": 45843, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 31 }, "end": { - "line": 1174, + "line": 1175, "column": 32 } } @@ -248091,15 +248411,15 @@ "binop": null }, "value": "imageData", - "start": 45190, - "end": 45199, + "start": 45843, + "end": 45852, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 32 }, "end": { - "line": 1174, + "line": 1175, "column": 41 } } @@ -248118,15 +248438,15 @@ "updateContext": null }, "value": "=", - "start": 45200, - "end": 45201, + "start": 45853, + "end": 45854, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 42 }, "end": { - "line": 1174, + "line": 1175, "column": 43 } } @@ -248146,15 +248466,15 @@ "updateContext": null }, "value": "new", - "start": 45202, - "end": 45205, + "start": 45855, + "end": 45858, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 44 }, "end": { - "line": 1174, + "line": 1175, "column": 47 } } @@ -248172,15 +248492,15 @@ "binop": null }, "value": "Uint8Array", - "start": 45206, - "end": 45216, + "start": 45859, + "end": 45869, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 48 }, "end": { - "line": 1174, + "line": 1175, "column": 58 } } @@ -248197,15 +248517,15 @@ "postfix": false, "binop": null }, - "start": 45216, - "end": 45217, + "start": 45869, + "end": 45870, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 58 }, "end": { - "line": 1174, + "line": 1175, "column": 59 } } @@ -248224,15 +248544,15 @@ "updateContext": null }, "value": 1, - "start": 45217, - "end": 45218, + "start": 45870, + "end": 45871, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 59 }, "end": { - "line": 1174, + "line": 1175, "column": 60 } } @@ -248249,15 +248569,15 @@ "postfix": false, "binop": null }, - "start": 45218, - "end": 45219, + "start": 45871, + "end": 45872, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 60 }, "end": { - "line": 1174, + "line": 1175, "column": 61 } } @@ -248275,15 +248595,15 @@ "binop": null, "updateContext": null }, - "start": 45219, - "end": 45220, + "start": 45872, + "end": 45873, "loc": { "start": { - "line": 1174, + "line": 1175, "column": 61 }, "end": { - "line": 1174, + "line": 1175, "column": 62 } } @@ -248303,15 +248623,15 @@ "updateContext": null }, "value": "if", - "start": 45245, - "end": 45247, + "start": 45898, + "end": 45900, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 24 }, "end": { - "line": 1175, + "line": 1176, "column": 26 } } @@ -248328,15 +248648,15 @@ "postfix": false, "binop": null }, - "start": 45248, - "end": 45249, + "start": 45901, + "end": 45902, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 27 }, "end": { - "line": 1175, + "line": 1176, "column": 28 } } @@ -248354,15 +248674,15 @@ "binop": null }, "value": "--", - "start": 45249, - "end": 45251, + "start": 45902, + "end": 45904, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 28 }, "end": { - "line": 1175, + "line": 1176, "column": 30 } } @@ -248380,15 +248700,15 @@ "binop": null }, "value": "countTextures", - "start": 45251, - "end": 45264, + "start": 45904, + "end": 45917, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 30 }, "end": { - "line": 1175, + "line": 1176, "column": 43 } } @@ -248407,15 +248727,15 @@ "updateContext": null }, "value": "<=", - "start": 45265, - "end": 45267, + "start": 45918, + "end": 45920, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 44 }, "end": { - "line": 1175, + "line": 1176, "column": 46 } } @@ -248434,15 +248754,15 @@ "updateContext": null }, "value": 0, - "start": 45268, - "end": 45269, + "start": 45921, + "end": 45922, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 47 }, "end": { - "line": 1175, + "line": 1176, "column": 48 } } @@ -248459,15 +248779,15 @@ "postfix": false, "binop": null }, - "start": 45269, - "end": 45270, + "start": 45922, + "end": 45923, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 48 }, "end": { - "line": 1175, + "line": 1176, "column": 49 } } @@ -248484,15 +248804,15 @@ "postfix": false, "binop": null }, - "start": 45271, - "end": 45272, + "start": 45924, + "end": 45925, "loc": { "start": { - "line": 1175, + "line": 1176, "column": 50 }, "end": { - "line": 1175, + "line": 1176, "column": 51 } } @@ -248510,15 +248830,15 @@ "binop": null }, "value": "resolve", - "start": 45301, - "end": 45308, + "start": 45954, + "end": 45961, "loc": { "start": { - "line": 1176, + "line": 1177, "column": 28 }, "end": { - "line": 1176, + "line": 1177, "column": 35 } } @@ -248535,15 +248855,15 @@ "postfix": false, "binop": null }, - "start": 45308, - "end": 45309, + "start": 45961, + "end": 45962, "loc": { "start": { - "line": 1176, + "line": 1177, "column": 35 }, "end": { - "line": 1176, + "line": 1177, "column": 36 } } @@ -248560,15 +248880,15 @@ "postfix": false, "binop": null }, - "start": 45309, - "end": 45310, + "start": 45962, + "end": 45963, "loc": { "start": { - "line": 1176, + "line": 1177, "column": 36 }, "end": { - "line": 1176, + "line": 1177, "column": 37 } } @@ -248586,15 +248906,15 @@ "binop": null, "updateContext": null }, - "start": 45310, - "end": 45311, + "start": 45963, + "end": 45964, "loc": { "start": { - "line": 1176, + "line": 1177, "column": 37 }, "end": { - "line": 1176, + "line": 1177, "column": 38 } } @@ -248611,15 +248931,15 @@ "postfix": false, "binop": null }, - "start": 45336, - "end": 45337, + "start": 45989, + "end": 45990, "loc": { "start": { - "line": 1177, + "line": 1178, "column": 24 }, "end": { - "line": 1177, + "line": 1178, "column": 25 } } @@ -248636,15 +248956,15 @@ "postfix": false, "binop": null }, - "start": 45358, - "end": 45359, + "start": 46011, + "end": 46012, "loc": { "start": { - "line": 1178, + "line": 1179, "column": 20 }, "end": { - "line": 1178, + "line": 1179, "column": 21 } } @@ -248661,15 +248981,15 @@ "postfix": false, "binop": null }, - "start": 45376, - "end": 45377, + "start": 46029, + "end": 46030, "loc": { "start": { - "line": 1179, + "line": 1180, "column": 16 }, "end": { - "line": 1179, + "line": 1180, "column": 17 } } @@ -248686,15 +249006,15 @@ "postfix": false, "binop": null }, - "start": 45390, - "end": 45391, + "start": 46043, + "end": 46044, "loc": { "start": { - "line": 1180, + "line": 1181, "column": 12 }, "end": { - "line": 1180, + "line": 1181, "column": 13 } } @@ -248711,15 +249031,15 @@ "postfix": false, "binop": null }, - "start": 45400, - "end": 45401, + "start": 46053, + "end": 46054, "loc": { "start": { - "line": 1181, + "line": 1182, "column": 8 }, "end": { - "line": 1181, + "line": 1182, "column": 9 } } @@ -248736,15 +249056,15 @@ "postfix": false, "binop": null }, - "start": 45401, - "end": 45402, + "start": 46054, + "end": 46055, "loc": { "start": { - "line": 1181, + "line": 1182, "column": 9 }, "end": { - "line": 1181, + "line": 1182, "column": 10 } } @@ -248762,15 +249082,15 @@ "binop": null, "updateContext": null }, - "start": 45402, - "end": 45403, + "start": 46055, + "end": 46056, "loc": { "start": { - "line": 1181, + "line": 1182, "column": 10 }, "end": { - "line": 1181, + "line": 1182, "column": 11 } } @@ -248787,15 +249107,15 @@ "postfix": false, "binop": null }, - "start": 45408, - "end": 45409, + "start": 46061, + "end": 46062, "loc": { "start": { - "line": 1182, + "line": 1183, "column": 4 }, "end": { - "line": 1182, + "line": 1183, "column": 5 } } @@ -248813,15 +249133,15 @@ "binop": null }, "value": "_bakeSingleUseGeometryPositions", - "start": 45415, - "end": 45446, + "start": 46068, + "end": 46099, "loc": { "start": { - "line": 1184, + "line": 1185, "column": 4 }, "end": { - "line": 1184, + "line": 1185, "column": 35 } } @@ -248838,15 +249158,15 @@ "postfix": false, "binop": null }, - "start": 45446, - "end": 45447, + "start": 46099, + "end": 46100, "loc": { "start": { - "line": 1184, + "line": 1185, "column": 35 }, "end": { - "line": 1184, + "line": 1185, "column": 36 } } @@ -248863,15 +249183,15 @@ "postfix": false, "binop": null }, - "start": 45447, - "end": 45448, + "start": 46100, + "end": 46101, "loc": { "start": { - "line": 1184, + "line": 1185, "column": 36 }, "end": { - "line": 1184, + "line": 1185, "column": 37 } } @@ -248888,15 +249208,15 @@ "postfix": false, "binop": null }, - "start": 45449, - "end": 45450, + "start": 46102, + "end": 46103, "loc": { "start": { - "line": 1184, + "line": 1185, "column": 38 }, "end": { - "line": 1184, + "line": 1185, "column": 39 } } @@ -248916,15 +249236,15 @@ "updateContext": null }, "value": "for", - "start": 45460, - "end": 45463, + "start": 46113, + "end": 46116, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 8 }, "end": { - "line": 1186, + "line": 1187, "column": 11 } } @@ -248941,15 +249261,15 @@ "postfix": false, "binop": null }, - "start": 45464, - "end": 45465, + "start": 46117, + "end": 46118, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 12 }, "end": { - "line": 1186, + "line": 1187, "column": 13 } } @@ -248969,15 +249289,15 @@ "updateContext": null }, "value": "let", - "start": 45465, - "end": 45468, + "start": 46118, + "end": 46121, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 13 }, "end": { - "line": 1186, + "line": 1187, "column": 16 } } @@ -248995,15 +249315,15 @@ "binop": null }, "value": "j", - "start": 45469, - "end": 45470, + "start": 46122, + "end": 46123, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 17 }, "end": { - "line": 1186, + "line": 1187, "column": 18 } } @@ -249022,15 +249342,15 @@ "updateContext": null }, "value": "=", - "start": 45471, - "end": 45472, + "start": 46124, + "end": 46125, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 19 }, "end": { - "line": 1186, + "line": 1187, "column": 20 } } @@ -249049,15 +249369,15 @@ "updateContext": null }, "value": 0, - "start": 45473, - "end": 45474, + "start": 46126, + "end": 46127, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 21 }, "end": { - "line": 1186, + "line": 1187, "column": 22 } } @@ -249075,15 +249395,15 @@ "binop": null, "updateContext": null }, - "start": 45474, - "end": 45475, + "start": 46127, + "end": 46128, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 22 }, "end": { - "line": 1186, + "line": 1187, "column": 23 } } @@ -249101,15 +249421,15 @@ "binop": null }, "value": "lenj", - "start": 45476, - "end": 45480, + "start": 46129, + "end": 46133, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 24 }, "end": { - "line": 1186, + "line": 1187, "column": 28 } } @@ -249128,15 +249448,15 @@ "updateContext": null }, "value": "=", - "start": 45481, - "end": 45482, + "start": 46134, + "end": 46135, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 29 }, "end": { - "line": 1186, + "line": 1187, "column": 30 } } @@ -249156,15 +249476,15 @@ "updateContext": null }, "value": "this", - "start": 45483, - "end": 45487, + "start": 46136, + "end": 46140, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 31 }, "end": { - "line": 1186, + "line": 1187, "column": 35 } } @@ -249182,15 +249502,15 @@ "binop": null, "updateContext": null }, - "start": 45487, - "end": 45488, + "start": 46140, + "end": 46141, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 35 }, "end": { - "line": 1186, + "line": 1187, "column": 36 } } @@ -249208,15 +249528,15 @@ "binop": null }, "value": "meshesList", - "start": 45488, - "end": 45498, + "start": 46141, + "end": 46151, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 36 }, "end": { - "line": 1186, + "line": 1187, "column": 46 } } @@ -249234,15 +249554,15 @@ "binop": null, "updateContext": null }, - "start": 45498, - "end": 45499, + "start": 46151, + "end": 46152, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 46 }, "end": { - "line": 1186, + "line": 1187, "column": 47 } } @@ -249260,15 +249580,15 @@ "binop": null }, "value": "length", - "start": 45499, - "end": 45505, + "start": 46152, + "end": 46158, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 47 }, "end": { - "line": 1186, + "line": 1187, "column": 53 } } @@ -249286,15 +249606,15 @@ "binop": null, "updateContext": null }, - "start": 45505, - "end": 45506, + "start": 46158, + "end": 46159, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 53 }, "end": { - "line": 1186, + "line": 1187, "column": 54 } } @@ -249312,15 +249632,15 @@ "binop": null }, "value": "j", - "start": 45507, - "end": 45508, + "start": 46160, + "end": 46161, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 55 }, "end": { - "line": 1186, + "line": 1187, "column": 56 } } @@ -249339,15 +249659,15 @@ "updateContext": null }, "value": "<", - "start": 45509, - "end": 45510, + "start": 46162, + "end": 46163, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 57 }, "end": { - "line": 1186, + "line": 1187, "column": 58 } } @@ -249365,15 +249685,15 @@ "binop": null }, "value": "lenj", - "start": 45511, - "end": 45515, + "start": 46164, + "end": 46168, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 59 }, "end": { - "line": 1186, + "line": 1187, "column": 63 } } @@ -249391,15 +249711,15 @@ "binop": null, "updateContext": null }, - "start": 45515, - "end": 45516, + "start": 46168, + "end": 46169, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 63 }, "end": { - "line": 1186, + "line": 1187, "column": 64 } } @@ -249417,15 +249737,15 @@ "binop": null }, "value": "j", - "start": 45517, - "end": 45518, + "start": 46170, + "end": 46171, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 65 }, "end": { - "line": 1186, + "line": 1187, "column": 66 } } @@ -249443,15 +249763,15 @@ "binop": null }, "value": "++", - "start": 45518, - "end": 45520, + "start": 46171, + "end": 46173, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 66 }, "end": { - "line": 1186, + "line": 1187, "column": 68 } } @@ -249468,15 +249788,15 @@ "postfix": false, "binop": null }, - "start": 45520, - "end": 45521, + "start": 46173, + "end": 46174, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 68 }, "end": { - "line": 1186, + "line": 1187, "column": 69 } } @@ -249493,15 +249813,15 @@ "postfix": false, "binop": null }, - "start": 45522, - "end": 45523, + "start": 46175, + "end": 46176, "loc": { "start": { - "line": 1186, + "line": 1187, "column": 70 }, "end": { - "line": 1186, + "line": 1187, "column": 71 } } @@ -249521,15 +249841,15 @@ "updateContext": null }, "value": "const", - "start": 45537, - "end": 45542, + "start": 46190, + "end": 46195, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 12 }, "end": { - "line": 1188, + "line": 1189, "column": 17 } } @@ -249547,15 +249867,15 @@ "binop": null }, "value": "mesh", - "start": 45543, - "end": 45547, + "start": 46196, + "end": 46200, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 18 }, "end": { - "line": 1188, + "line": 1189, "column": 22 } } @@ -249574,15 +249894,15 @@ "updateContext": null }, "value": "=", - "start": 45548, - "end": 45549, + "start": 46201, + "end": 46202, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 23 }, "end": { - "line": 1188, + "line": 1189, "column": 24 } } @@ -249602,15 +249922,15 @@ "updateContext": null }, "value": "this", - "start": 45550, - "end": 45554, + "start": 46203, + "end": 46207, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 25 }, "end": { - "line": 1188, + "line": 1189, "column": 29 } } @@ -249628,15 +249948,15 @@ "binop": null, "updateContext": null }, - "start": 45554, - "end": 45555, + "start": 46207, + "end": 46208, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 29 }, "end": { - "line": 1188, + "line": 1189, "column": 30 } } @@ -249654,15 +249974,15 @@ "binop": null }, "value": "meshesList", - "start": 45555, - "end": 45565, + "start": 46208, + "end": 46218, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 30 }, "end": { - "line": 1188, + "line": 1189, "column": 40 } } @@ -249680,15 +250000,15 @@ "binop": null, "updateContext": null }, - "start": 45565, - "end": 45566, + "start": 46218, + "end": 46219, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 40 }, "end": { - "line": 1188, + "line": 1189, "column": 41 } } @@ -249706,15 +250026,15 @@ "binop": null }, "value": "j", - "start": 45566, - "end": 45567, + "start": 46219, + "end": 46220, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 41 }, "end": { - "line": 1188, + "line": 1189, "column": 42 } } @@ -249732,15 +250052,15 @@ "binop": null, "updateContext": null }, - "start": 45567, - "end": 45568, + "start": 46220, + "end": 46221, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 42 }, "end": { - "line": 1188, + "line": 1189, "column": 43 } } @@ -249758,15 +250078,15 @@ "binop": null, "updateContext": null }, - "start": 45568, - "end": 45569, + "start": 46221, + "end": 46222, "loc": { "start": { - "line": 1188, + "line": 1189, "column": 43 }, "end": { - "line": 1188, + "line": 1189, "column": 44 } } @@ -249786,15 +250106,15 @@ "updateContext": null }, "value": "const", - "start": 45583, - "end": 45588, + "start": 46236, + "end": 46241, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 12 }, "end": { - "line": 1190, + "line": 1191, "column": 17 } } @@ -249812,15 +250132,15 @@ "binop": null }, "value": "geometry", - "start": 45589, - "end": 45597, + "start": 46242, + "end": 46250, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 18 }, "end": { - "line": 1190, + "line": 1191, "column": 26 } } @@ -249839,15 +250159,15 @@ "updateContext": null }, "value": "=", - "start": 45598, - "end": 45599, + "start": 46251, + "end": 46252, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 27 }, "end": { - "line": 1190, + "line": 1191, "column": 28 } } @@ -249865,15 +250185,15 @@ "binop": null }, "value": "mesh", - "start": 45600, - "end": 45604, + "start": 46253, + "end": 46257, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 29 }, "end": { - "line": 1190, + "line": 1191, "column": 33 } } @@ -249891,15 +250211,15 @@ "binop": null, "updateContext": null }, - "start": 45604, - "end": 45605, + "start": 46257, + "end": 46258, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 33 }, "end": { - "line": 1190, + "line": 1191, "column": 34 } } @@ -249917,15 +250237,15 @@ "binop": null }, "value": "geometry", - "start": 45605, - "end": 45613, + "start": 46258, + "end": 46266, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 34 }, "end": { - "line": 1190, + "line": 1191, "column": 42 } } @@ -249943,15 +250263,15 @@ "binop": null, "updateContext": null }, - "start": 45613, - "end": 45614, + "start": 46266, + "end": 46267, "loc": { "start": { - "line": 1190, + "line": 1191, "column": 42 }, "end": { - "line": 1190, + "line": 1191, "column": 43 } } @@ -249971,15 +250291,15 @@ "updateContext": null }, "value": "if", - "start": 45628, - "end": 45630, + "start": 46281, + "end": 46283, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 12 }, "end": { - "line": 1192, + "line": 1193, "column": 14 } } @@ -249996,15 +250316,15 @@ "postfix": false, "binop": null }, - "start": 45631, - "end": 45632, + "start": 46284, + "end": 46285, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 15 }, "end": { - "line": 1192, + "line": 1193, "column": 16 } } @@ -250022,15 +250342,15 @@ "binop": null }, "value": "geometry", - "start": 45632, - "end": 45640, + "start": 46285, + "end": 46293, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 16 }, "end": { - "line": 1192, + "line": 1193, "column": 24 } } @@ -250048,15 +250368,15 @@ "binop": null, "updateContext": null }, - "start": 45640, - "end": 45641, + "start": 46293, + "end": 46294, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 24 }, "end": { - "line": 1192, + "line": 1193, "column": 25 } } @@ -250074,15 +250394,15 @@ "binop": null }, "value": "numInstances", - "start": 45641, - "end": 45653, + "start": 46294, + "end": 46306, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 25 }, "end": { - "line": 1192, + "line": 1193, "column": 37 } } @@ -250101,15 +250421,15 @@ "updateContext": null }, "value": "===", - "start": 45654, - "end": 45657, + "start": 46307, + "end": 46310, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 38 }, "end": { - "line": 1192, + "line": 1193, "column": 41 } } @@ -250128,15 +250448,15 @@ "updateContext": null }, "value": 1, - "start": 45658, - "end": 45659, + "start": 46311, + "end": 46312, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 42 }, "end": { - "line": 1192, + "line": 1193, "column": 43 } } @@ -250153,15 +250473,15 @@ "postfix": false, "binop": null }, - "start": 45659, - "end": 45660, + "start": 46312, + "end": 46313, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 43 }, "end": { - "line": 1192, + "line": 1193, "column": 44 } } @@ -250178,15 +250498,15 @@ "postfix": false, "binop": null }, - "start": 45661, - "end": 45662, + "start": 46314, + "end": 46315, "loc": { "start": { - "line": 1192, + "line": 1193, "column": 45 }, "end": { - "line": 1192, + "line": 1193, "column": 46 } } @@ -250206,15 +250526,15 @@ "updateContext": null }, "value": "const", - "start": 45680, - "end": 45685, + "start": 46333, + "end": 46338, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 16 }, "end": { - "line": 1194, + "line": 1195, "column": 21 } } @@ -250232,15 +250552,15 @@ "binop": null }, "value": "matrix", - "start": 45686, - "end": 45692, + "start": 46339, + "end": 46345, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 22 }, "end": { - "line": 1194, + "line": 1195, "column": 28 } } @@ -250259,15 +250579,15 @@ "updateContext": null }, "value": "=", - "start": 45693, - "end": 45694, + "start": 46346, + "end": 46347, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 29 }, "end": { - "line": 1194, + "line": 1195, "column": 30 } } @@ -250285,15 +250605,15 @@ "binop": null }, "value": "mesh", - "start": 45695, - "end": 45699, + "start": 46348, + "end": 46352, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 31 }, "end": { - "line": 1194, + "line": 1195, "column": 35 } } @@ -250311,15 +250631,15 @@ "binop": null, "updateContext": null }, - "start": 45699, - "end": 45700, + "start": 46352, + "end": 46353, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 35 }, "end": { - "line": 1194, + "line": 1195, "column": 36 } } @@ -250337,15 +250657,15 @@ "binop": null }, "value": "matrix", - "start": 45700, - "end": 45706, + "start": 46353, + "end": 46359, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 36 }, "end": { - "line": 1194, + "line": 1195, "column": 42 } } @@ -250363,15 +250683,15 @@ "binop": null, "updateContext": null }, - "start": 45706, - "end": 45707, + "start": 46359, + "end": 46360, "loc": { "start": { - "line": 1194, + "line": 1195, "column": 42 }, "end": { - "line": 1194, + "line": 1195, "column": 43 } } @@ -250391,15 +250711,15 @@ "updateContext": null }, "value": "if", - "start": 45725, - "end": 45727, + "start": 46378, + "end": 46380, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 16 }, "end": { - "line": 1196, + "line": 1197, "column": 18 } } @@ -250416,15 +250736,15 @@ "postfix": false, "binop": null }, - "start": 45728, - "end": 45729, + "start": 46381, + "end": 46382, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 19 }, "end": { - "line": 1196, + "line": 1197, "column": 20 } } @@ -250442,15 +250762,15 @@ "binop": null }, "value": "matrix", - "start": 45729, - "end": 45735, + "start": 46382, + "end": 46388, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 20 }, "end": { - "line": 1196, + "line": 1197, "column": 26 } } @@ -250469,15 +250789,15 @@ "updateContext": null }, "value": "&&", - "start": 45736, - "end": 45738, + "start": 46389, + "end": 46391, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 27 }, "end": { - "line": 1196, + "line": 1197, "column": 29 } } @@ -250494,15 +250814,15 @@ "postfix": false, "binop": null }, - "start": 45739, - "end": 45740, + "start": 46392, + "end": 46393, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 30 }, "end": { - "line": 1196, + "line": 1197, "column": 31 } } @@ -250521,15 +250841,15 @@ "updateContext": null }, "value": "!", - "start": 45740, - "end": 45741, + "start": 46393, + "end": 46394, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 31 }, "end": { - "line": 1196, + "line": 1197, "column": 32 } } @@ -250547,15 +250867,15 @@ "binop": null }, "value": "math", - "start": 45741, - "end": 45745, + "start": 46394, + "end": 46398, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 32 }, "end": { - "line": 1196, + "line": 1197, "column": 36 } } @@ -250573,15 +250893,15 @@ "binop": null, "updateContext": null }, - "start": 45745, - "end": 45746, + "start": 46398, + "end": 46399, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 36 }, "end": { - "line": 1196, + "line": 1197, "column": 37 } } @@ -250599,15 +250919,15 @@ "binop": null }, "value": "isIdentityMat4", - "start": 45746, - "end": 45760, + "start": 46399, + "end": 46413, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 37 }, "end": { - "line": 1196, + "line": 1197, "column": 51 } } @@ -250624,15 +250944,15 @@ "postfix": false, "binop": null }, - "start": 45760, - "end": 45761, + "start": 46413, + "end": 46414, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 51 }, "end": { - "line": 1196, + "line": 1197, "column": 52 } } @@ -250650,15 +250970,15 @@ "binop": null }, "value": "matrix", - "start": 45761, - "end": 45767, + "start": 46414, + "end": 46420, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 52 }, "end": { - "line": 1196, + "line": 1197, "column": 58 } } @@ -250675,15 +250995,15 @@ "postfix": false, "binop": null }, - "start": 45767, - "end": 45768, + "start": 46420, + "end": 46421, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 58 }, "end": { - "line": 1196, + "line": 1197, "column": 59 } } @@ -250700,15 +251020,15 @@ "postfix": false, "binop": null }, - "start": 45768, - "end": 45769, + "start": 46421, + "end": 46422, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 59 }, "end": { - "line": 1196, + "line": 1197, "column": 60 } } @@ -250725,15 +251045,15 @@ "postfix": false, "binop": null }, - "start": 45769, - "end": 45770, + "start": 46422, + "end": 46423, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 60 }, "end": { - "line": 1196, + "line": 1197, "column": 61 } } @@ -250750,15 +251070,15 @@ "postfix": false, "binop": null }, - "start": 45771, - "end": 45772, + "start": 46424, + "end": 46425, "loc": { "start": { - "line": 1196, + "line": 1197, "column": 62 }, "end": { - "line": 1196, + "line": 1197, "column": 63 } } @@ -250778,15 +251098,15 @@ "updateContext": null }, "value": "const", - "start": 45794, - "end": 45799, + "start": 46447, + "end": 46452, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 20 }, "end": { - "line": 1198, + "line": 1199, "column": 25 } } @@ -250804,15 +251124,15 @@ "binop": null }, "value": "positions", - "start": 45800, - "end": 45809, + "start": 46453, + "end": 46462, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 26 }, "end": { - "line": 1198, + "line": 1199, "column": 35 } } @@ -250831,15 +251151,15 @@ "updateContext": null }, "value": "=", - "start": 45810, - "end": 45811, + "start": 46463, + "end": 46464, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 36 }, "end": { - "line": 1198, + "line": 1199, "column": 37 } } @@ -250857,15 +251177,15 @@ "binop": null }, "value": "geometry", - "start": 45812, - "end": 45820, + "start": 46465, + "end": 46473, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 38 }, "end": { - "line": 1198, + "line": 1199, "column": 46 } } @@ -250883,15 +251203,15 @@ "binop": null, "updateContext": null }, - "start": 45820, - "end": 45821, + "start": 46473, + "end": 46474, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 46 }, "end": { - "line": 1198, + "line": 1199, "column": 47 } } @@ -250909,15 +251229,15 @@ "binop": null }, "value": "positions", - "start": 45821, - "end": 45830, + "start": 46474, + "end": 46483, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 47 }, "end": { - "line": 1198, + "line": 1199, "column": 56 } } @@ -250935,15 +251255,15 @@ "binop": null, "updateContext": null }, - "start": 45830, - "end": 45831, + "start": 46483, + "end": 46484, "loc": { "start": { - "line": 1198, + "line": 1199, "column": 56 }, "end": { - "line": 1198, + "line": 1199, "column": 57 } } @@ -250963,15 +251283,15 @@ "updateContext": null }, "value": "for", - "start": 45853, - "end": 45856, + "start": 46506, + "end": 46509, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 20 }, "end": { - "line": 1200, + "line": 1201, "column": 23 } } @@ -250988,15 +251308,15 @@ "postfix": false, "binop": null }, - "start": 45857, - "end": 45858, + "start": 46510, + "end": 46511, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 24 }, "end": { - "line": 1200, + "line": 1201, "column": 25 } } @@ -251016,15 +251336,15 @@ "updateContext": null }, "value": "let", - "start": 45858, - "end": 45861, + "start": 46511, + "end": 46514, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 25 }, "end": { - "line": 1200, + "line": 1201, "column": 28 } } @@ -251042,15 +251362,15 @@ "binop": null }, "value": "i", - "start": 45862, - "end": 45863, + "start": 46515, + "end": 46516, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 29 }, "end": { - "line": 1200, + "line": 1201, "column": 30 } } @@ -251069,15 +251389,15 @@ "updateContext": null }, "value": "=", - "start": 45864, - "end": 45865, + "start": 46517, + "end": 46518, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 31 }, "end": { - "line": 1200, + "line": 1201, "column": 32 } } @@ -251096,15 +251416,15 @@ "updateContext": null }, "value": 0, - "start": 45866, - "end": 45867, + "start": 46519, + "end": 46520, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 33 }, "end": { - "line": 1200, + "line": 1201, "column": 34 } } @@ -251122,15 +251442,15 @@ "binop": null, "updateContext": null }, - "start": 45867, - "end": 45868, + "start": 46520, + "end": 46521, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 34 }, "end": { - "line": 1200, + "line": 1201, "column": 35 } } @@ -251148,15 +251468,15 @@ "binop": null }, "value": "len", - "start": 45869, - "end": 45872, + "start": 46522, + "end": 46525, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 36 }, "end": { - "line": 1200, + "line": 1201, "column": 39 } } @@ -251175,15 +251495,15 @@ "updateContext": null }, "value": "=", - "start": 45873, - "end": 45874, + "start": 46526, + "end": 46527, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 40 }, "end": { - "line": 1200, + "line": 1201, "column": 41 } } @@ -251201,15 +251521,15 @@ "binop": null }, "value": "positions", - "start": 45875, - "end": 45884, + "start": 46528, + "end": 46537, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 42 }, "end": { - "line": 1200, + "line": 1201, "column": 51 } } @@ -251227,15 +251547,15 @@ "binop": null, "updateContext": null }, - "start": 45884, - "end": 45885, + "start": 46537, + "end": 46538, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 51 }, "end": { - "line": 1200, + "line": 1201, "column": 52 } } @@ -251253,15 +251573,15 @@ "binop": null }, "value": "length", - "start": 45885, - "end": 45891, + "start": 46538, + "end": 46544, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 52 }, "end": { - "line": 1200, + "line": 1201, "column": 58 } } @@ -251279,15 +251599,15 @@ "binop": null, "updateContext": null }, - "start": 45891, - "end": 45892, + "start": 46544, + "end": 46545, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 58 }, "end": { - "line": 1200, + "line": 1201, "column": 59 } } @@ -251305,15 +251625,15 @@ "binop": null }, "value": "i", - "start": 45893, - "end": 45894, + "start": 46546, + "end": 46547, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 60 }, "end": { - "line": 1200, + "line": 1201, "column": 61 } } @@ -251332,15 +251652,15 @@ "updateContext": null }, "value": "<", - "start": 45895, - "end": 45896, + "start": 46548, + "end": 46549, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 62 }, "end": { - "line": 1200, + "line": 1201, "column": 63 } } @@ -251358,15 +251678,15 @@ "binop": null }, "value": "len", - "start": 45897, - "end": 45900, + "start": 46550, + "end": 46553, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 64 }, "end": { - "line": 1200, + "line": 1201, "column": 67 } } @@ -251384,15 +251704,15 @@ "binop": null, "updateContext": null }, - "start": 45900, - "end": 45901, + "start": 46553, + "end": 46554, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 67 }, "end": { - "line": 1200, + "line": 1201, "column": 68 } } @@ -251410,15 +251730,15 @@ "binop": null }, "value": "i", - "start": 45902, - "end": 45903, + "start": 46555, + "end": 46556, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 69 }, "end": { - "line": 1200, + "line": 1201, "column": 70 } } @@ -251437,15 +251757,15 @@ "updateContext": null }, "value": "+=", - "start": 45904, - "end": 45906, + "start": 46557, + "end": 46559, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 71 }, "end": { - "line": 1200, + "line": 1201, "column": 73 } } @@ -251464,15 +251784,15 @@ "updateContext": null }, "value": 3, - "start": 45907, - "end": 45908, + "start": 46560, + "end": 46561, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 74 }, "end": { - "line": 1200, + "line": 1201, "column": 75 } } @@ -251489,15 +251809,15 @@ "postfix": false, "binop": null }, - "start": 45908, - "end": 45909, + "start": 46561, + "end": 46562, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 75 }, "end": { - "line": 1200, + "line": 1201, "column": 76 } } @@ -251514,15 +251834,15 @@ "postfix": false, "binop": null }, - "start": 45910, - "end": 45911, + "start": 46563, + "end": 46564, "loc": { "start": { - "line": 1200, + "line": 1201, "column": 77 }, "end": { - "line": 1200, + "line": 1201, "column": 78 } } @@ -251540,324 +251860,8 @@ "binop": null }, "value": "tempVec4a", - "start": 45937, - "end": 45946, - "loc": { - "start": { - "line": 1202, - "column": 24 - }, - "end": { - "line": 1202, - "column": 33 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 45946, - "end": 45947, - "loc": { - "start": { - "line": 1202, - "column": 33 - }, - "end": { - "line": 1202, - "column": 34 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 45947, - "end": 45948, - "loc": { - "start": { - "line": 1202, - "column": 34 - }, - "end": { - "line": 1202, - "column": 35 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 45948, - "end": 45949, - "loc": { - "start": { - "line": 1202, - "column": 35 - }, - "end": { - "line": 1202, - "column": 36 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 45950, - "end": 45951, - "loc": { - "start": { - "line": 1202, - "column": 37 - }, - "end": { - "line": 1202, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "positions", - "start": 45952, - "end": 45961, - "loc": { - "start": { - "line": 1202, - "column": 39 - }, - "end": { - "line": 1202, - "column": 48 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 45961, - "end": 45962, - "loc": { - "start": { - "line": 1202, - "column": 48 - }, - "end": { - "line": 1202, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 45962, - "end": 45963, - "loc": { - "start": { - "line": 1202, - "column": 49 - }, - "end": { - "line": 1202, - "column": 50 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 45964, - "end": 45965, - "loc": { - "start": { - "line": 1202, - "column": 51 - }, - "end": { - "line": 1202, - "column": 52 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 45966, - "end": 45967, - "loc": { - "start": { - "line": 1202, - "column": 53 - }, - "end": { - "line": 1202, - "column": 54 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 45967, - "end": 45968, - "loc": { - "start": { - "line": 1202, - "column": 54 - }, - "end": { - "line": 1202, - "column": 55 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 45968, - "end": 45969, - "loc": { - "start": { - "line": 1202, - "column": 55 - }, - "end": { - "line": 1202, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tempVec4a", - "start": 45994, - "end": 46003, + "start": 46590, + "end": 46599, "loc": { "start": { "line": 1203, @@ -251882,8 +251886,8 @@ "binop": null, "updateContext": null }, - "start": 46003, - "end": 46004, + "start": 46599, + "end": 46600, "loc": { "start": { "line": 1203, @@ -251908,9 +251912,9 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 46004, - "end": 46005, + "value": 0, + "start": 46600, + "end": 46601, "loc": { "start": { "line": 1203, @@ -251935,8 +251939,8 @@ "binop": null, "updateContext": null }, - "start": 46005, - "end": 46006, + "start": 46601, + "end": 46602, "loc": { "start": { "line": 1203, @@ -251962,8 +251966,8 @@ "updateContext": null }, "value": "=", - "start": 46007, - "end": 46008, + "start": 46603, + "end": 46604, "loc": { "start": { "line": 1203, @@ -251988,8 +251992,8 @@ "binop": null }, "value": "positions", - "start": 46009, - "end": 46018, + "start": 46605, + "end": 46614, "loc": { "start": { "line": 1203, @@ -252014,8 +252018,8 @@ "binop": null, "updateContext": null }, - "start": 46018, - "end": 46019, + "start": 46614, + "end": 46615, "loc": { "start": { "line": 1203, @@ -252040,8 +252044,8 @@ "binop": null }, "value": "i", - "start": 46019, - "end": 46020, + "start": 46615, + "end": 46616, "loc": { "start": { "line": 1203, @@ -252067,8 +252071,8 @@ "updateContext": null }, "value": "+", - "start": 46021, - "end": 46022, + "start": 46617, + "end": 46618, "loc": { "start": { "line": 1203, @@ -252093,9 +252097,9 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 46023, - "end": 46024, + "value": 0, + "start": 46619, + "end": 46620, "loc": { "start": { "line": 1203, @@ -252120,8 +252124,8 @@ "binop": null, "updateContext": null }, - "start": 46024, - "end": 46025, + "start": 46620, + "end": 46621, "loc": { "start": { "line": 1203, @@ -252146,8 +252150,8 @@ "binop": null, "updateContext": null }, - "start": 46025, - "end": 46026, + "start": 46621, + "end": 46622, "loc": { "start": { "line": 1203, @@ -252172,8 +252176,8 @@ "binop": null }, "value": "tempVec4a", - "start": 46051, - "end": 46060, + "start": 46647, + "end": 46656, "loc": { "start": { "line": 1204, @@ -252198,8 +252202,8 @@ "binop": null, "updateContext": null }, - "start": 46060, - "end": 46061, + "start": 46656, + "end": 46657, "loc": { "start": { "line": 1204, @@ -252224,9 +252228,9 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 46061, - "end": 46062, + "value": 1, + "start": 46657, + "end": 46658, "loc": { "start": { "line": 1204, @@ -252251,8 +252255,8 @@ "binop": null, "updateContext": null }, - "start": 46062, - "end": 46063, + "start": 46658, + "end": 46659, "loc": { "start": { "line": 1204, @@ -252278,8 +252282,8 @@ "updateContext": null }, "value": "=", - "start": 46064, - "end": 46065, + "start": 46660, + "end": 46661, "loc": { "start": { "line": 1204, @@ -252304,8 +252308,8 @@ "binop": null }, "value": "positions", - "start": 46066, - "end": 46075, + "start": 46662, + "end": 46671, "loc": { "start": { "line": 1204, @@ -252330,8 +252334,8 @@ "binop": null, "updateContext": null }, - "start": 46075, - "end": 46076, + "start": 46671, + "end": 46672, "loc": { "start": { "line": 1204, @@ -252356,8 +252360,8 @@ "binop": null }, "value": "i", - "start": 46076, - "end": 46077, + "start": 46672, + "end": 46673, "loc": { "start": { "line": 1204, @@ -252383,8 +252387,8 @@ "updateContext": null }, "value": "+", - "start": 46078, - "end": 46079, + "start": 46674, + "end": 46675, "loc": { "start": { "line": 1204, @@ -252409,9 +252413,9 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 46080, - "end": 46081, + "value": 1, + "start": 46676, + "end": 46677, "loc": { "start": { "line": 1204, @@ -252436,8 +252440,8 @@ "binop": null, "updateContext": null }, - "start": 46081, - "end": 46082, + "start": 46677, + "end": 46678, "loc": { "start": { "line": 1204, @@ -252462,8 +252466,8 @@ "binop": null, "updateContext": null }, - "start": 46082, - "end": 46083, + "start": 46678, + "end": 46679, "loc": { "start": { "line": 1204, @@ -252488,8 +252492,8 @@ "binop": null }, "value": "tempVec4a", - "start": 46108, - "end": 46117, + "start": 46704, + "end": 46713, "loc": { "start": { "line": 1205, @@ -252514,8 +252518,8 @@ "binop": null, "updateContext": null }, - "start": 46117, - "end": 46118, + "start": 46713, + "end": 46714, "loc": { "start": { "line": 1205, @@ -252540,9 +252544,9 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 46118, - "end": 46119, + "value": 2, + "start": 46714, + "end": 46715, "loc": { "start": { "line": 1205, @@ -252567,8 +252571,8 @@ "binop": null, "updateContext": null }, - "start": 46119, - "end": 46120, + "start": 46715, + "end": 46716, "loc": { "start": { "line": 1205, @@ -252594,8 +252598,8 @@ "updateContext": null }, "value": "=", - "start": 46121, - "end": 46122, + "start": 46717, + "end": 46718, "loc": { "start": { "line": 1205, @@ -252609,7 +252613,7 @@ }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -252617,12 +252621,11 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 46123, - "end": 46124, + "value": "positions", + "start": 46719, + "end": 46728, "loc": { "start": { "line": 1205, @@ -252630,15 +252633,15 @@ }, "end": { "line": 1205, - "column": 40 + "column": 48 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -252647,16 +252650,16 @@ "binop": null, "updateContext": null }, - "start": 46124, - "end": 46125, + "start": 46728, + "end": 46729, "loc": { "start": { "line": 1205, - "column": 40 + "column": 48 }, "end": { "line": 1205, - "column": 41 + "column": 49 } } }, @@ -252672,25 +252675,52 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 46151, - "end": 46155, + "value": "i", + "start": 46729, + "end": 46730, "loc": { "start": { - "line": 1207, - "column": 24 + "line": 1205, + "column": 49 }, "end": { - "line": 1207, - "column": 28 + "line": 1205, + "column": 50 } } }, { "type": { - "label": ".", + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 46731, + "end": 46732, + "loc": { + "start": { + "line": 1205, + "column": 51 + }, + "end": { + "line": 1205, + "column": 52 + } + } + }, + { + "type": { + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -252699,67 +252729,69 @@ "binop": null, "updateContext": null }, - "start": 46155, - "end": 46156, + "value": 2, + "start": 46733, + "end": 46734, "loc": { "start": { - "line": 1207, - "column": 28 + "line": 1205, + "column": 53 }, "end": { - "line": 1207, - "column": 29 + "line": 1205, + "column": 54 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "transformPoint4", - "start": 46156, - "end": 46171, + "start": 46734, + "end": 46735, "loc": { "start": { - "line": 1207, - "column": 29 + "line": 1205, + "column": 54 }, "end": { - "line": 1207, - "column": 44 + "line": 1205, + "column": 55 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 46171, - "end": 46172, + "start": 46735, + "end": 46736, "loc": { "start": { - "line": 1207, - "column": 44 + "line": 1205, + "column": 55 }, "end": { - "line": 1207, - "column": 45 + "line": 1205, + "column": 56 } } }, @@ -252775,25 +252807,25 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 46172, - "end": 46178, + "value": "tempVec4a", + "start": 46761, + "end": 46770, "loc": { "start": { - "line": 1207, - "column": 45 + "line": 1206, + "column": 24 }, "end": { - "line": 1207, - "column": 51 + "line": 1206, + "column": 33 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -252802,22 +252834,22 @@ "binop": null, "updateContext": null }, - "start": 46178, - "end": 46179, + "start": 46770, + "end": 46771, "loc": { "start": { - "line": 1207, - "column": 51 + "line": 1206, + "column": 33 }, "end": { - "line": 1207, - "column": 52 + "line": 1206, + "column": 34 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -252825,26 +252857,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "tempVec4a", - "start": 46180, - "end": 46189, + "value": 3, + "start": 46771, + "end": 46772, "loc": { "start": { - "line": 1207, - "column": 53 + "line": 1206, + "column": 34 }, "end": { - "line": 1207, - "column": 62 + "line": 1206, + "column": 35 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -252854,67 +252887,70 @@ "binop": null, "updateContext": null }, - "start": 46189, - "end": 46190, + "start": 46772, + "end": 46773, "loc": { "start": { - "line": 1207, - "column": 62 + "line": 1206, + "column": 35 }, "end": { - "line": 1207, - "column": 63 + "line": 1206, + "column": 36 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "tempVec4b", - "start": 46191, - "end": 46200, + "value": "=", + "start": 46774, + "end": 46775, "loc": { "start": { - "line": 1207, - "column": 64 + "line": 1206, + "column": 37 }, "end": { - "line": 1207, - "column": 73 + "line": 1206, + "column": 38 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 46200, - "end": 46201, + "value": 1, + "start": 46776, + "end": 46777, "loc": { "start": { - "line": 1207, - "column": 73 + "line": 1206, + "column": 39 }, "end": { - "line": 1207, - "column": 74 + "line": 1206, + "column": 40 } } }, @@ -252931,16 +252967,16 @@ "binop": null, "updateContext": null }, - "start": 46201, - "end": 46202, + "start": 46777, + "end": 46778, "loc": { "start": { - "line": 1207, - "column": 74 + "line": 1206, + "column": 40 }, "end": { - "line": 1207, - "column": 75 + "line": 1206, + "column": 41 } } }, @@ -252956,25 +252992,25 @@ "postfix": false, "binop": null }, - "value": "positions", - "start": 46228, - "end": 46237, + "value": "math", + "start": 46804, + "end": 46808, "loc": { "start": { - "line": 1209, + "line": 1208, "column": 24 }, "end": { - "line": 1209, - "column": 33 + "line": 1208, + "column": 28 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -252983,16 +253019,16 @@ "binop": null, "updateContext": null }, - "start": 46237, - "end": 46238, + "start": 46808, + "end": 46809, "loc": { "start": { - "line": 1209, - "column": 33 + "line": 1208, + "column": 28 }, "end": { - "line": 1209, - "column": 34 + "line": 1208, + "column": 29 } } }, @@ -253008,124 +253044,94 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 46238, - "end": 46239, + "value": "transformPoint4", + "start": 46809, + "end": 46824, "loc": { "start": { - "line": 1209, - "column": 34 + "line": 1208, + "column": 29 }, "end": { - "line": 1209, - "column": 35 + "line": 1208, + "column": 44 } } }, { "type": { - "label": "+/-", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 46240, - "end": 46241, - "loc": { - "start": { - "line": 1209, - "column": 36 - }, - "end": { - "line": 1209, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 46242, - "end": 46243, + "start": 46824, + "end": 46825, "loc": { "start": { - "line": 1209, - "column": 38 + "line": 1208, + "column": 44 }, "end": { - "line": 1209, - "column": 39 + "line": 1208, + "column": 45 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 46243, - "end": 46244, + "value": "matrix", + "start": 46825, + "end": 46831, "loc": { "start": { - "line": 1209, - "column": 39 + "line": 1208, + "column": 45 }, "end": { - "line": 1209, - "column": 40 + "line": 1208, + "column": 51 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 46245, - "end": 46246, + "start": 46831, + "end": 46832, "loc": { "start": { - "line": 1209, - "column": 41 + "line": 1208, + "column": 51 }, "end": { - "line": 1209, - "column": 42 + "line": 1208, + "column": 52 } } }, @@ -253141,25 +253147,25 @@ "postfix": false, "binop": null }, - "value": "tempVec4b", - "start": 46247, - "end": 46256, + "value": "tempVec4a", + "start": 46833, + "end": 46842, "loc": { "start": { - "line": 1209, - "column": 43 + "line": 1208, + "column": 53 }, "end": { - "line": 1209, - "column": 52 + "line": 1208, + "column": 62 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -253168,22 +253174,22 @@ "binop": null, "updateContext": null }, - "start": 46256, - "end": 46257, + "start": 46842, + "end": 46843, "loc": { "start": { - "line": 1209, - "column": 52 + "line": 1208, + "column": 62 }, "end": { - "line": 1209, - "column": 53 + "line": 1208, + "column": 63 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -253191,26 +253197,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 46257, - "end": 46258, + "value": "tempVec4b", + "start": 46844, + "end": 46853, "loc": { "start": { - "line": 1209, - "column": 53 + "line": 1208, + "column": 64 }, "end": { - "line": 1209, - "column": 54 + "line": 1208, + "column": 73 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -253218,19 +253223,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 46258, - "end": 46259, + "start": 46853, + "end": 46854, "loc": { "start": { - "line": 1209, - "column": 54 + "line": 1208, + "column": 73 }, "end": { - "line": 1209, - "column": 55 + "line": 1208, + "column": 74 } } }, @@ -253247,16 +253251,16 @@ "binop": null, "updateContext": null }, - "start": 46259, - "end": 46260, + "start": 46854, + "end": 46855, "loc": { "start": { - "line": 1209, - "column": 55 + "line": 1208, + "column": 74 }, "end": { - "line": 1209, - "column": 56 + "line": 1208, + "column": 75 } } }, @@ -253273,8 +253277,8 @@ "binop": null }, "value": "positions", - "start": 46285, - "end": 46294, + "start": 46881, + "end": 46890, "loc": { "start": { "line": 1210, @@ -253299,8 +253303,8 @@ "binop": null, "updateContext": null }, - "start": 46294, - "end": 46295, + "start": 46890, + "end": 46891, "loc": { "start": { "line": 1210, @@ -253325,8 +253329,8 @@ "binop": null }, "value": "i", - "start": 46295, - "end": 46296, + "start": 46891, + "end": 46892, "loc": { "start": { "line": 1210, @@ -253352,8 +253356,8 @@ "updateContext": null }, "value": "+", - "start": 46297, - "end": 46298, + "start": 46893, + "end": 46894, "loc": { "start": { "line": 1210, @@ -253378,9 +253382,9 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 46299, - "end": 46300, + "value": 0, + "start": 46895, + "end": 46896, "loc": { "start": { "line": 1210, @@ -253405,8 +253409,8 @@ "binop": null, "updateContext": null }, - "start": 46300, - "end": 46301, + "start": 46896, + "end": 46897, "loc": { "start": { "line": 1210, @@ -253432,8 +253436,8 @@ "updateContext": null }, "value": "=", - "start": 46302, - "end": 46303, + "start": 46898, + "end": 46899, "loc": { "start": { "line": 1210, @@ -253458,8 +253462,8 @@ "binop": null }, "value": "tempVec4b", - "start": 46304, - "end": 46313, + "start": 46900, + "end": 46909, "loc": { "start": { "line": 1210, @@ -253484,8 +253488,8 @@ "binop": null, "updateContext": null }, - "start": 46313, - "end": 46314, + "start": 46909, + "end": 46910, "loc": { "start": { "line": 1210, @@ -253510,9 +253514,9 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 46314, - "end": 46315, + "value": 0, + "start": 46910, + "end": 46911, "loc": { "start": { "line": 1210, @@ -253537,8 +253541,8 @@ "binop": null, "updateContext": null }, - "start": 46315, - "end": 46316, + "start": 46911, + "end": 46912, "loc": { "start": { "line": 1210, @@ -253563,8 +253567,8 @@ "binop": null, "updateContext": null }, - "start": 46316, - "end": 46317, + "start": 46912, + "end": 46913, "loc": { "start": { "line": 1210, @@ -253589,8 +253593,8 @@ "binop": null }, "value": "positions", - "start": 46342, - "end": 46351, + "start": 46938, + "end": 46947, "loc": { "start": { "line": 1211, @@ -253615,8 +253619,8 @@ "binop": null, "updateContext": null }, - "start": 46351, - "end": 46352, + "start": 46947, + "end": 46948, "loc": { "start": { "line": 1211, @@ -253641,8 +253645,8 @@ "binop": null }, "value": "i", - "start": 46352, - "end": 46353, + "start": 46948, + "end": 46949, "loc": { "start": { "line": 1211, @@ -253668,8 +253672,8 @@ "updateContext": null }, "value": "+", - "start": 46354, - "end": 46355, + "start": 46950, + "end": 46951, "loc": { "start": { "line": 1211, @@ -253694,9 +253698,9 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 46356, - "end": 46357, + "value": 1, + "start": 46952, + "end": 46953, "loc": { "start": { "line": 1211, @@ -253721,8 +253725,8 @@ "binop": null, "updateContext": null }, - "start": 46357, - "end": 46358, + "start": 46953, + "end": 46954, "loc": { "start": { "line": 1211, @@ -253748,8 +253752,8 @@ "updateContext": null }, "value": "=", - "start": 46359, - "end": 46360, + "start": 46955, + "end": 46956, "loc": { "start": { "line": 1211, @@ -253774,8 +253778,8 @@ "binop": null }, "value": "tempVec4b", - "start": 46361, - "end": 46370, + "start": 46957, + "end": 46966, "loc": { "start": { "line": 1211, @@ -253800,8 +253804,8 @@ "binop": null, "updateContext": null }, - "start": 46370, - "end": 46371, + "start": 46966, + "end": 46967, "loc": { "start": { "line": 1211, @@ -253826,9 +253830,9 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 46371, - "end": 46372, + "value": 1, + "start": 46967, + "end": 46968, "loc": { "start": { "line": 1211, @@ -253853,8 +253857,8 @@ "binop": null, "updateContext": null }, - "start": 46372, - "end": 46373, + "start": 46968, + "end": 46969, "loc": { "start": { "line": 1211, @@ -253879,8 +253883,8 @@ "binop": null, "updateContext": null }, - "start": 46373, - "end": 46374, + "start": 46969, + "end": 46970, "loc": { "start": { "line": 1211, @@ -253894,26 +253898,317 @@ }, { "type": { - "label": "}", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "positions", + "start": 46995, + "end": 47004, + "loc": { + "start": { + "line": 1212, + "column": 24 + }, + "end": { + "line": 1212, + "column": 33 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 47004, + "end": 47005, + "loc": { + "start": { + "line": 1212, + "column": 33 + }, + "end": { + "line": 1212, + "column": 34 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 47005, + "end": 47006, + "loc": { + "start": { + "line": 1212, + "column": 34 + }, + "end": { + "line": 1212, + "column": 35 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 47007, + "end": 47008, + "loc": { + "start": { + "line": 1212, + "column": 36 + }, + "end": { + "line": 1212, + "column": 37 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 47009, + "end": 47010, + "loc": { + "start": { + "line": 1212, + "column": 38 + }, + "end": { + "line": 1212, + "column": 39 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 47010, + "end": 47011, + "loc": { + "start": { + "line": 1212, + "column": 39 + }, + "end": { + "line": 1212, + "column": 40 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 47012, + "end": 47013, + "loc": { + "start": { + "line": 1212, + "column": 41 + }, + "end": { + "line": 1212, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, - "start": 46395, - "end": 46396, + "value": "tempVec4b", + "start": 47014, + "end": 47023, "loc": { "start": { "line": 1212, - "column": 20 + "column": 43 }, "end": { "line": 1212, - "column": 21 + "column": 52 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 47023, + "end": 47024, + "loc": { + "start": { + "line": 1212, + "column": 52 + }, + "end": { + "line": 1212, + "column": 53 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 47024, + "end": 47025, + "loc": { + "start": { + "line": 1212, + "column": 53 + }, + "end": { + "line": 1212, + "column": 54 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 47025, + "end": 47026, + "loc": { + "start": { + "line": 1212, + "column": 54 + }, + "end": { + "line": 1212, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 47026, + "end": 47027, + "loc": { + "start": { + "line": 1212, + "column": 55 + }, + "end": { + "line": 1212, + "column": 56 } } }, @@ -253929,16 +254224,16 @@ "postfix": false, "binop": null }, - "start": 46413, - "end": 46414, + "start": 47048, + "end": 47049, "loc": { "start": { "line": 1213, - "column": 16 + "column": 20 }, "end": { "line": 1213, - "column": 17 + "column": 21 } } }, @@ -253954,16 +254249,16 @@ "postfix": false, "binop": null }, - "start": 46427, - "end": 46428, + "start": 47066, + "end": 47067, "loc": { "start": { "line": 1214, - "column": 12 + "column": 16 }, "end": { "line": 1214, - "column": 13 + "column": 17 } } }, @@ -253979,16 +254274,16 @@ "postfix": false, "binop": null }, - "start": 46437, - "end": 46438, + "start": 47080, + "end": 47081, "loc": { "start": { "line": 1215, - "column": 8 + "column": 12 }, "end": { "line": 1215, - "column": 9 + "column": 13 } } }, @@ -254004,15 +254299,40 @@ "postfix": false, "binop": null }, - "start": 46443, - "end": 46444, + "start": 47090, + "end": 47091, "loc": { "start": { "line": 1216, - "column": 4 + "column": 8 }, "end": { "line": 1216, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 47096, + "end": 47097, + "loc": { + "start": { + "line": 1217, + "column": 4 + }, + "end": { + "line": 1217, "column": 5 } } @@ -254030,15 +254350,15 @@ "binop": null }, "value": "_bakeAndOctEncodeNormals", - "start": 46450, - "end": 46474, + "start": 47103, + "end": 47127, "loc": { "start": { - "line": 1218, + "line": 1219, "column": 4 }, "end": { - "line": 1218, + "line": 1219, "column": 28 } } @@ -254055,15 +254375,15 @@ "postfix": false, "binop": null }, - "start": 46474, - "end": 46475, + "start": 47127, + "end": 47128, "loc": { "start": { - "line": 1218, + "line": 1219, "column": 28 }, "end": { - "line": 1218, + "line": 1219, "column": 29 } } @@ -254080,15 +254400,15 @@ "postfix": false, "binop": null }, - "start": 46475, - "end": 46476, + "start": 47128, + "end": 47129, "loc": { "start": { - "line": 1218, + "line": 1219, "column": 29 }, "end": { - "line": 1218, + "line": 1219, "column": 30 } } @@ -254105,15 +254425,15 @@ "postfix": false, "binop": null }, - "start": 46477, - "end": 46478, + "start": 47130, + "end": 47131, "loc": { "start": { - "line": 1218, + "line": 1219, "column": 31 }, "end": { - "line": 1218, + "line": 1219, "column": 32 } } @@ -254133,15 +254453,15 @@ "updateContext": null }, "value": "for", - "start": 46488, - "end": 46491, + "start": 47141, + "end": 47144, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 8 }, "end": { - "line": 1220, + "line": 1221, "column": 11 } } @@ -254158,15 +254478,15 @@ "postfix": false, "binop": null }, - "start": 46492, - "end": 46493, + "start": 47145, + "end": 47146, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 12 }, "end": { - "line": 1220, + "line": 1221, "column": 13 } } @@ -254186,15 +254506,15 @@ "updateContext": null }, "value": "let", - "start": 46493, - "end": 46496, + "start": 47146, + "end": 47149, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 13 }, "end": { - "line": 1220, + "line": 1221, "column": 16 } } @@ -254212,15 +254532,15 @@ "binop": null }, "value": "i", - "start": 46497, - "end": 46498, + "start": 47150, + "end": 47151, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 17 }, "end": { - "line": 1220, + "line": 1221, "column": 18 } } @@ -254239,15 +254559,15 @@ "updateContext": null }, "value": "=", - "start": 46499, - "end": 46500, + "start": 47152, + "end": 47153, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 19 }, "end": { - "line": 1220, + "line": 1221, "column": 20 } } @@ -254266,15 +254586,15 @@ "updateContext": null }, "value": 0, - "start": 46501, - "end": 46502, + "start": 47154, + "end": 47155, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 21 }, "end": { - "line": 1220, + "line": 1221, "column": 22 } } @@ -254292,15 +254612,15 @@ "binop": null, "updateContext": null }, - "start": 46502, - "end": 46503, + "start": 47155, + "end": 47156, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 22 }, "end": { - "line": 1220, + "line": 1221, "column": 23 } } @@ -254318,15 +254638,15 @@ "binop": null }, "value": "len", - "start": 46504, - "end": 46507, + "start": 47157, + "end": 47160, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 24 }, "end": { - "line": 1220, + "line": 1221, "column": 27 } } @@ -254345,15 +254665,15 @@ "updateContext": null }, "value": "=", - "start": 46508, - "end": 46509, + "start": 47161, + "end": 47162, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 28 }, "end": { - "line": 1220, + "line": 1221, "column": 29 } } @@ -254373,15 +254693,15 @@ "updateContext": null }, "value": "this", - "start": 46510, - "end": 46514, + "start": 47163, + "end": 47167, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 30 }, "end": { - "line": 1220, + "line": 1221, "column": 34 } } @@ -254399,15 +254719,15 @@ "binop": null, "updateContext": null }, - "start": 46514, - "end": 46515, + "start": 47167, + "end": 47168, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 34 }, "end": { - "line": 1220, + "line": 1221, "column": 35 } } @@ -254425,15 +254745,15 @@ "binop": null }, "value": "meshesList", - "start": 46515, - "end": 46525, + "start": 47168, + "end": 47178, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 35 }, "end": { - "line": 1220, + "line": 1221, "column": 45 } } @@ -254451,15 +254771,15 @@ "binop": null, "updateContext": null }, - "start": 46525, - "end": 46526, + "start": 47178, + "end": 47179, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 45 }, "end": { - "line": 1220, + "line": 1221, "column": 46 } } @@ -254477,15 +254797,15 @@ "binop": null }, "value": "length", - "start": 46526, - "end": 46532, + "start": 47179, + "end": 47185, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 46 }, "end": { - "line": 1220, + "line": 1221, "column": 52 } } @@ -254503,15 +254823,15 @@ "binop": null, "updateContext": null }, - "start": 46532, - "end": 46533, + "start": 47185, + "end": 47186, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 52 }, "end": { - "line": 1220, + "line": 1221, "column": 53 } } @@ -254529,15 +254849,15 @@ "binop": null }, "value": "i", - "start": 46534, - "end": 46535, + "start": 47187, + "end": 47188, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 54 }, "end": { - "line": 1220, + "line": 1221, "column": 55 } } @@ -254556,15 +254876,15 @@ "updateContext": null }, "value": "<", - "start": 46536, - "end": 46537, + "start": 47189, + "end": 47190, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 56 }, "end": { - "line": 1220, + "line": 1221, "column": 57 } } @@ -254582,15 +254902,15 @@ "binop": null }, "value": "len", - "start": 46538, - "end": 46541, + "start": 47191, + "end": 47194, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 58 }, "end": { - "line": 1220, + "line": 1221, "column": 61 } } @@ -254608,15 +254928,15 @@ "binop": null, "updateContext": null }, - "start": 46541, - "end": 46542, + "start": 47194, + "end": 47195, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 61 }, "end": { - "line": 1220, + "line": 1221, "column": 62 } } @@ -254634,15 +254954,15 @@ "binop": null }, "value": "i", - "start": 46543, - "end": 46544, + "start": 47196, + "end": 47197, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 63 }, "end": { - "line": 1220, + "line": 1221, "column": 64 } } @@ -254660,15 +254980,15 @@ "binop": null }, "value": "++", - "start": 46544, - "end": 46546, + "start": 47197, + "end": 47199, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 64 }, "end": { - "line": 1220, + "line": 1221, "column": 66 } } @@ -254685,15 +255005,15 @@ "postfix": false, "binop": null }, - "start": 46546, - "end": 46547, + "start": 47199, + "end": 47200, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 66 }, "end": { - "line": 1220, + "line": 1221, "column": 67 } } @@ -254710,15 +255030,15 @@ "postfix": false, "binop": null }, - "start": 46548, - "end": 46549, + "start": 47201, + "end": 47202, "loc": { "start": { - "line": 1220, + "line": 1221, "column": 68 }, "end": { - "line": 1220, + "line": 1221, "column": 69 } } @@ -254738,15 +255058,15 @@ "updateContext": null }, "value": "const", - "start": 46563, - "end": 46568, + "start": 47216, + "end": 47221, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 12 }, "end": { - "line": 1222, + "line": 1223, "column": 17 } } @@ -254764,15 +255084,15 @@ "binop": null }, "value": "mesh", - "start": 46569, - "end": 46573, + "start": 47222, + "end": 47226, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 18 }, "end": { - "line": 1222, + "line": 1223, "column": 22 } } @@ -254791,15 +255111,15 @@ "updateContext": null }, "value": "=", - "start": 46574, - "end": 46575, + "start": 47227, + "end": 47228, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 23 }, "end": { - "line": 1222, + "line": 1223, "column": 24 } } @@ -254819,15 +255139,15 @@ "updateContext": null }, "value": "this", - "start": 46576, - "end": 46580, + "start": 47229, + "end": 47233, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 25 }, "end": { - "line": 1222, + "line": 1223, "column": 29 } } @@ -254845,15 +255165,15 @@ "binop": null, "updateContext": null }, - "start": 46580, - "end": 46581, + "start": 47233, + "end": 47234, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 29 }, "end": { - "line": 1222, + "line": 1223, "column": 30 } } @@ -254871,15 +255191,15 @@ "binop": null }, "value": "meshesList", - "start": 46581, - "end": 46591, + "start": 47234, + "end": 47244, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 30 }, "end": { - "line": 1222, + "line": 1223, "column": 40 } } @@ -254897,15 +255217,15 @@ "binop": null, "updateContext": null }, - "start": 46591, - "end": 46592, + "start": 47244, + "end": 47245, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 40 }, "end": { - "line": 1222, + "line": 1223, "column": 41 } } @@ -254923,15 +255243,15 @@ "binop": null }, "value": "i", - "start": 46592, - "end": 46593, + "start": 47245, + "end": 47246, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 41 }, "end": { - "line": 1222, + "line": 1223, "column": 42 } } @@ -254949,15 +255269,15 @@ "binop": null, "updateContext": null }, - "start": 46593, - "end": 46594, + "start": 47246, + "end": 47247, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 42 }, "end": { - "line": 1222, + "line": 1223, "column": 43 } } @@ -254975,15 +255295,15 @@ "binop": null, "updateContext": null }, - "start": 46594, - "end": 46595, + "start": 47247, + "end": 47248, "loc": { "start": { - "line": 1222, + "line": 1223, "column": 43 }, "end": { - "line": 1222, + "line": 1223, "column": 44 } } @@ -255003,15 +255323,15 @@ "updateContext": null }, "value": "const", - "start": 46608, - "end": 46613, + "start": 47261, + "end": 47266, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 12 }, "end": { - "line": 1223, + "line": 1224, "column": 17 } } @@ -255029,15 +255349,15 @@ "binop": null }, "value": "geometry", - "start": 46614, - "end": 46622, + "start": 47267, + "end": 47275, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 18 }, "end": { - "line": 1223, + "line": 1224, "column": 26 } } @@ -255056,15 +255376,15 @@ "updateContext": null }, "value": "=", - "start": 46623, - "end": 46624, + "start": 47276, + "end": 47277, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 27 }, "end": { - "line": 1223, + "line": 1224, "column": 28 } } @@ -255082,15 +255402,15 @@ "binop": null }, "value": "mesh", - "start": 46625, - "end": 46629, + "start": 47278, + "end": 47282, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 29 }, "end": { - "line": 1223, + "line": 1224, "column": 33 } } @@ -255108,15 +255428,15 @@ "binop": null, "updateContext": null }, - "start": 46629, - "end": 46630, + "start": 47282, + "end": 47283, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 33 }, "end": { - "line": 1223, + "line": 1224, "column": 34 } } @@ -255134,15 +255454,15 @@ "binop": null }, "value": "geometry", - "start": 46630, - "end": 46638, + "start": 47283, + "end": 47291, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 34 }, "end": { - "line": 1223, + "line": 1224, "column": 42 } } @@ -255160,15 +255480,15 @@ "binop": null, "updateContext": null }, - "start": 46638, - "end": 46639, + "start": 47291, + "end": 47292, "loc": { "start": { - "line": 1223, + "line": 1224, "column": 42 }, "end": { - "line": 1223, + "line": 1224, "column": 43 } } @@ -255188,15 +255508,15 @@ "updateContext": null }, "value": "if", - "start": 46653, - "end": 46655, + "start": 47306, + "end": 47308, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 12 }, "end": { - "line": 1225, + "line": 1226, "column": 14 } } @@ -255213,15 +255533,15 @@ "postfix": false, "binop": null }, - "start": 46656, - "end": 46657, + "start": 47309, + "end": 47310, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 15 }, "end": { - "line": 1225, + "line": 1226, "column": 16 } } @@ -255239,15 +255559,15 @@ "binop": null }, "value": "geometry", - "start": 46657, - "end": 46665, + "start": 47310, + "end": 47318, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 16 }, "end": { - "line": 1225, + "line": 1226, "column": 24 } } @@ -255265,15 +255585,15 @@ "binop": null, "updateContext": null }, - "start": 46665, - "end": 46666, + "start": 47318, + "end": 47319, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 24 }, "end": { - "line": 1225, + "line": 1226, "column": 25 } } @@ -255291,15 +255611,15 @@ "binop": null }, "value": "normals", - "start": 46666, - "end": 46673, + "start": 47319, + "end": 47326, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 25 }, "end": { - "line": 1225, + "line": 1226, "column": 32 } } @@ -255318,15 +255638,15 @@ "updateContext": null }, "value": "&&", - "start": 46674, - "end": 46676, + "start": 47327, + "end": 47329, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 33 }, "end": { - "line": 1225, + "line": 1226, "column": 35 } } @@ -255345,15 +255665,15 @@ "updateContext": null }, "value": "!", - "start": 46677, - "end": 46678, + "start": 47330, + "end": 47331, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 36 }, "end": { - "line": 1225, + "line": 1226, "column": 37 } } @@ -255371,15 +255691,15 @@ "binop": null }, "value": "geometry", - "start": 46678, - "end": 46686, + "start": 47331, + "end": 47339, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 37 }, "end": { - "line": 1225, + "line": 1226, "column": 45 } } @@ -255397,15 +255717,15 @@ "binop": null, "updateContext": null }, - "start": 46686, - "end": 46687, + "start": 47339, + "end": 47340, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 45 }, "end": { - "line": 1225, + "line": 1226, "column": 46 } } @@ -255423,15 +255743,15 @@ "binop": null }, "value": "normalsOctEncoded", - "start": 46687, - "end": 46704, + "start": 47340, + "end": 47357, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 46 }, "end": { - "line": 1225, + "line": 1226, "column": 63 } } @@ -255448,15 +255768,15 @@ "postfix": false, "binop": null }, - "start": 46704, - "end": 46705, + "start": 47357, + "end": 47358, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 63 }, "end": { - "line": 1225, + "line": 1226, "column": 64 } } @@ -255473,15 +255793,15 @@ "postfix": false, "binop": null }, - "start": 46706, - "end": 46707, + "start": 47359, + "end": 47360, "loc": { "start": { - "line": 1225, + "line": 1226, "column": 65 }, "end": { - "line": 1225, + "line": 1226, "column": 66 } } @@ -255499,15 +255819,15 @@ "binop": null }, "value": "geometry", - "start": 46725, - "end": 46733, + "start": 47378, + "end": 47386, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 16 }, "end": { - "line": 1227, + "line": 1228, "column": 24 } } @@ -255525,15 +255845,15 @@ "binop": null, "updateContext": null }, - "start": 46733, - "end": 46734, + "start": 47386, + "end": 47387, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 24 }, "end": { - "line": 1227, + "line": 1228, "column": 25 } } @@ -255551,15 +255871,15 @@ "binop": null }, "value": "normalsOctEncoded", - "start": 46734, - "end": 46751, + "start": 47387, + "end": 47404, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 25 }, "end": { - "line": 1227, + "line": 1228, "column": 42 } } @@ -255578,15 +255898,15 @@ "updateContext": null }, "value": "=", - "start": 46752, - "end": 46753, + "start": 47405, + "end": 47406, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 43 }, "end": { - "line": 1227, + "line": 1228, "column": 44 } } @@ -255606,15 +255926,15 @@ "updateContext": null }, "value": "new", - "start": 46754, - "end": 46757, + "start": 47407, + "end": 47410, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 45 }, "end": { - "line": 1227, + "line": 1228, "column": 48 } } @@ -255632,15 +255952,15 @@ "binop": null }, "value": "Int8Array", - "start": 46758, - "end": 46767, + "start": 47411, + "end": 47420, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 49 }, "end": { - "line": 1227, + "line": 1228, "column": 58 } } @@ -255657,15 +255977,15 @@ "postfix": false, "binop": null }, - "start": 46767, - "end": 46768, + "start": 47420, + "end": 47421, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 58 }, "end": { - "line": 1227, + "line": 1228, "column": 59 } } @@ -255683,15 +256003,15 @@ "binop": null }, "value": "geometry", - "start": 46768, - "end": 46776, + "start": 47421, + "end": 47429, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 59 }, "end": { - "line": 1227, + "line": 1228, "column": 67 } } @@ -255709,15 +256029,15 @@ "binop": null, "updateContext": null }, - "start": 46776, - "end": 46777, + "start": 47429, + "end": 47430, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 67 }, "end": { - "line": 1227, + "line": 1228, "column": 68 } } @@ -255735,15 +256055,15 @@ "binop": null }, "value": "normals", - "start": 46777, - "end": 46784, + "start": 47430, + "end": 47437, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 68 }, "end": { - "line": 1227, + "line": 1228, "column": 75 } } @@ -255761,15 +256081,15 @@ "binop": null, "updateContext": null }, - "start": 46784, - "end": 46785, + "start": 47437, + "end": 47438, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 75 }, "end": { - "line": 1227, + "line": 1228, "column": 76 } } @@ -255787,15 +256107,15 @@ "binop": null }, "value": "length", - "start": 46785, - "end": 46791, + "start": 47438, + "end": 47444, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 76 }, "end": { - "line": 1227, + "line": 1228, "column": 82 } } @@ -255812,15 +256132,15 @@ "postfix": false, "binop": null }, - "start": 46791, - "end": 46792, + "start": 47444, + "end": 47445, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 82 }, "end": { - "line": 1227, + "line": 1228, "column": 83 } } @@ -255838,15 +256158,15 @@ "binop": null, "updateContext": null }, - "start": 46792, - "end": 46793, + "start": 47445, + "end": 47446, "loc": { "start": { - "line": 1227, + "line": 1228, "column": 83 }, "end": { - "line": 1227, + "line": 1228, "column": 84 } } @@ -255866,15 +256186,15 @@ "updateContext": null }, "value": "if", - "start": 46811, - "end": 46813, + "start": 47464, + "end": 47466, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 16 }, "end": { - "line": 1229, + "line": 1230, "column": 18 } } @@ -255891,15 +256211,15 @@ "postfix": false, "binop": null }, - "start": 46814, - "end": 46815, + "start": 47467, + "end": 47468, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 19 }, "end": { - "line": 1229, + "line": 1230, "column": 20 } } @@ -255917,15 +256237,15 @@ "binop": null }, "value": "geometry", - "start": 46815, - "end": 46823, + "start": 47468, + "end": 47476, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 20 }, "end": { - "line": 1229, + "line": 1230, "column": 28 } } @@ -255943,15 +256263,15 @@ "binop": null, "updateContext": null }, - "start": 46823, - "end": 46824, + "start": 47476, + "end": 47477, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 28 }, "end": { - "line": 1229, + "line": 1230, "column": 29 } } @@ -255969,15 +256289,15 @@ "binop": null }, "value": "numInstances", - "start": 46824, - "end": 46836, + "start": 47477, + "end": 47489, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 29 }, "end": { - "line": 1229, + "line": 1230, "column": 41 } } @@ -255996,15 +256316,15 @@ "updateContext": null }, "value": ">", - "start": 46837, - "end": 46838, + "start": 47490, + "end": 47491, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 42 }, "end": { - "line": 1229, + "line": 1230, "column": 43 } } @@ -256023,15 +256343,15 @@ "updateContext": null }, "value": 1, - "start": 46839, - "end": 46840, + "start": 47492, + "end": 47493, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 44 }, "end": { - "line": 1229, + "line": 1230, "column": 45 } } @@ -256048,15 +256368,15 @@ "postfix": false, "binop": null }, - "start": 46840, - "end": 46841, + "start": 47493, + "end": 47494, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 45 }, "end": { - "line": 1229, + "line": 1230, "column": 46 } } @@ -256073,15 +256393,15 @@ "postfix": false, "binop": null }, - "start": 46842, - "end": 46843, + "start": 47495, + "end": 47496, "loc": { "start": { - "line": 1229, + "line": 1230, "column": 47 }, "end": { - "line": 1229, + "line": 1230, "column": 48 } } @@ -256099,15 +256419,15 @@ "binop": null }, "value": "geometryCompression", - "start": 46864, - "end": 46883, + "start": 47517, + "end": 47536, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 20 }, "end": { - "line": 1230, + "line": 1231, "column": 39 } } @@ -256125,15 +256445,15 @@ "binop": null, "updateContext": null }, - "start": 46883, - "end": 46884, + "start": 47536, + "end": 47537, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 39 }, "end": { - "line": 1230, + "line": 1231, "column": 40 } } @@ -256151,15 +256471,15 @@ "binop": null }, "value": "octEncodeNormals", - "start": 46884, - "end": 46900, + "start": 47537, + "end": 47553, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 40 }, "end": { - "line": 1230, + "line": 1231, "column": 56 } } @@ -256176,15 +256496,15 @@ "postfix": false, "binop": null }, - "start": 46900, - "end": 46901, + "start": 47553, + "end": 47554, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 56 }, "end": { - "line": 1230, + "line": 1231, "column": 57 } } @@ -256202,15 +256522,15 @@ "binop": null }, "value": "geometry", - "start": 46901, - "end": 46909, + "start": 47554, + "end": 47562, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 57 }, "end": { - "line": 1230, + "line": 1231, "column": 65 } } @@ -256228,15 +256548,15 @@ "binop": null, "updateContext": null }, - "start": 46909, - "end": 46910, + "start": 47562, + "end": 47563, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 65 }, "end": { - "line": 1230, + "line": 1231, "column": 66 } } @@ -256254,15 +256574,15 @@ "binop": null }, "value": "normals", - "start": 46910, - "end": 46917, + "start": 47563, + "end": 47570, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 66 }, "end": { - "line": 1230, + "line": 1231, "column": 73 } } @@ -256280,15 +256600,15 @@ "binop": null, "updateContext": null }, - "start": 46917, - "end": 46918, + "start": 47570, + "end": 47571, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 73 }, "end": { - "line": 1230, + "line": 1231, "column": 74 } } @@ -256306,15 +256626,15 @@ "binop": null }, "value": "geometry", - "start": 46919, - "end": 46927, + "start": 47572, + "end": 47580, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 75 }, "end": { - "line": 1230, + "line": 1231, "column": 83 } } @@ -256332,15 +256652,15 @@ "binop": null, "updateContext": null }, - "start": 46927, - "end": 46928, + "start": 47580, + "end": 47581, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 83 }, "end": { - "line": 1230, + "line": 1231, "column": 84 } } @@ -256358,15 +256678,15 @@ "binop": null }, "value": "normals", - "start": 46928, - "end": 46935, + "start": 47581, + "end": 47588, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 84 }, "end": { - "line": 1230, + "line": 1231, "column": 91 } } @@ -256384,15 +256704,15 @@ "binop": null, "updateContext": null }, - "start": 46935, - "end": 46936, + "start": 47588, + "end": 47589, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 91 }, "end": { - "line": 1230, + "line": 1231, "column": 92 } } @@ -256410,15 +256730,15 @@ "binop": null }, "value": "length", - "start": 46936, - "end": 46942, + "start": 47589, + "end": 47595, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 92 }, "end": { - "line": 1230, + "line": 1231, "column": 98 } } @@ -256436,15 +256756,15 @@ "binop": null, "updateContext": null }, - "start": 46942, - "end": 46943, + "start": 47595, + "end": 47596, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 98 }, "end": { - "line": 1230, + "line": 1231, "column": 99 } } @@ -256462,15 +256782,15 @@ "binop": null }, "value": "geometry", - "start": 46944, - "end": 46952, + "start": 47597, + "end": 47605, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 100 }, "end": { - "line": 1230, + "line": 1231, "column": 108 } } @@ -256488,15 +256808,15 @@ "binop": null, "updateContext": null }, - "start": 46952, - "end": 46953, + "start": 47605, + "end": 47606, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 108 }, "end": { - "line": 1230, + "line": 1231, "column": 109 } } @@ -256514,15 +256834,15 @@ "binop": null }, "value": "normalsOctEncoded", - "start": 46953, - "end": 46970, + "start": 47606, + "end": 47623, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 109 }, "end": { - "line": 1230, + "line": 1231, "column": 126 } } @@ -256540,15 +256860,15 @@ "binop": null, "updateContext": null }, - "start": 46970, - "end": 46971, + "start": 47623, + "end": 47624, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 126 }, "end": { - "line": 1230, + "line": 1231, "column": 127 } } @@ -256567,15 +256887,15 @@ "updateContext": null }, "value": 0, - "start": 46972, - "end": 46973, + "start": 47625, + "end": 47626, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 128 }, "end": { - "line": 1230, + "line": 1231, "column": 129 } } @@ -256592,15 +256912,15 @@ "postfix": false, "binop": null }, - "start": 46973, - "end": 46974, + "start": 47626, + "end": 47627, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 129 }, "end": { - "line": 1230, + "line": 1231, "column": 130 } } @@ -256618,15 +256938,15 @@ "binop": null, "updateContext": null }, - "start": 46974, - "end": 46975, + "start": 47627, + "end": 47628, "loc": { "start": { - "line": 1230, + "line": 1231, "column": 130 }, "end": { - "line": 1230, + "line": 1231, "column": 131 } } @@ -256643,15 +256963,15 @@ "postfix": false, "binop": null }, - "start": 46993, - "end": 46994, + "start": 47646, + "end": 47647, "loc": { "start": { - "line": 1232, + "line": 1233, "column": 16 }, "end": { - "line": 1232, + "line": 1233, "column": 17 } } @@ -256671,15 +256991,15 @@ "updateContext": null }, "value": "else", - "start": 46995, - "end": 46999, + "start": 47648, + "end": 47652, "loc": { "start": { - "line": 1232, + "line": 1233, "column": 18 }, "end": { - "line": 1232, + "line": 1233, "column": 22 } } @@ -256696,15 +257016,15 @@ "postfix": false, "binop": null }, - "start": 47000, - "end": 47001, + "start": 47653, + "end": 47654, "loc": { "start": { - "line": 1232, + "line": 1233, "column": 23 }, "end": { - "line": 1232, + "line": 1233, "column": 24 } } @@ -256724,15 +257044,15 @@ "updateContext": null }, "value": "const", - "start": 47022, - "end": 47027, + "start": 47675, + "end": 47680, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 20 }, "end": { - "line": 1233, + "line": 1234, "column": 25 } } @@ -256750,15 +257070,15 @@ "binop": null }, "value": "modelNormalMatrix", - "start": 47028, - "end": 47045, + "start": 47681, + "end": 47698, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 26 }, "end": { - "line": 1233, + "line": 1234, "column": 43 } } @@ -256777,15 +257097,15 @@ "updateContext": null }, "value": "=", - "start": 47046, - "end": 47047, + "start": 47699, + "end": 47700, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 44 }, "end": { - "line": 1233, + "line": 1234, "column": 45 } } @@ -256803,15 +257123,15 @@ "binop": null }, "value": "math", - "start": 47048, - "end": 47052, + "start": 47701, + "end": 47705, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 46 }, "end": { - "line": 1233, + "line": 1234, "column": 50 } } @@ -256829,15 +257149,15 @@ "binop": null, "updateContext": null }, - "start": 47052, - "end": 47053, + "start": 47705, + "end": 47706, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 50 }, "end": { - "line": 1233, + "line": 1234, "column": 51 } } @@ -256855,15 +257175,15 @@ "binop": null }, "value": "inverseMat4", - "start": 47053, - "end": 47064, + "start": 47706, + "end": 47717, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 51 }, "end": { - "line": 1233, + "line": 1234, "column": 62 } } @@ -256880,15 +257200,15 @@ "postfix": false, "binop": null }, - "start": 47064, - "end": 47065, + "start": 47717, + "end": 47718, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 62 }, "end": { - "line": 1233, + "line": 1234, "column": 63 } } @@ -256906,15 +257226,15 @@ "binop": null }, "value": "math", - "start": 47065, - "end": 47069, + "start": 47718, + "end": 47722, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 63 }, "end": { - "line": 1233, + "line": 1234, "column": 67 } } @@ -256932,15 +257252,15 @@ "binop": null, "updateContext": null }, - "start": 47069, - "end": 47070, + "start": 47722, + "end": 47723, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 67 }, "end": { - "line": 1233, + "line": 1234, "column": 68 } } @@ -256958,15 +257278,15 @@ "binop": null }, "value": "transposeMat4", - "start": 47070, - "end": 47083, + "start": 47723, + "end": 47736, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 68 }, "end": { - "line": 1233, + "line": 1234, "column": 81 } } @@ -256983,15 +257303,15 @@ "postfix": false, "binop": null }, - "start": 47083, - "end": 47084, + "start": 47736, + "end": 47737, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 81 }, "end": { - "line": 1233, + "line": 1234, "column": 82 } } @@ -257009,15 +257329,15 @@ "binop": null }, "value": "mesh", - "start": 47084, - "end": 47088, + "start": 47737, + "end": 47741, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 82 }, "end": { - "line": 1233, + "line": 1234, "column": 86 } } @@ -257035,15 +257355,15 @@ "binop": null, "updateContext": null }, - "start": 47088, - "end": 47089, + "start": 47741, + "end": 47742, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 86 }, "end": { - "line": 1233, + "line": 1234, "column": 87 } } @@ -257061,15 +257381,15 @@ "binop": null }, "value": "matrix", - "start": 47089, - "end": 47095, + "start": 47742, + "end": 47748, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 87 }, "end": { - "line": 1233, + "line": 1234, "column": 93 } } @@ -257087,15 +257407,15 @@ "binop": null, "updateContext": null }, - "start": 47095, - "end": 47096, + "start": 47748, + "end": 47749, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 93 }, "end": { - "line": 1233, + "line": 1234, "column": 94 } } @@ -257113,15 +257433,15 @@ "binop": null }, "value": "tempMat4", - "start": 47097, - "end": 47105, + "start": 47750, + "end": 47758, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 95 }, "end": { - "line": 1233, + "line": 1234, "column": 103 } } @@ -257138,15 +257458,15 @@ "postfix": false, "binop": null }, - "start": 47105, - "end": 47106, + "start": 47758, + "end": 47759, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 103 }, "end": { - "line": 1233, + "line": 1234, "column": 104 } } @@ -257164,15 +257484,15 @@ "binop": null, "updateContext": null }, - "start": 47106, - "end": 47107, + "start": 47759, + "end": 47760, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 104 }, "end": { - "line": 1233, + "line": 1234, "column": 105 } } @@ -257190,15 +257510,15 @@ "binop": null }, "value": "tempMat4b", - "start": 47108, - "end": 47117, + "start": 47761, + "end": 47770, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 106 }, "end": { - "line": 1233, + "line": 1234, "column": 115 } } @@ -257215,15 +257535,15 @@ "postfix": false, "binop": null }, - "start": 47117, - "end": 47118, + "start": 47770, + "end": 47771, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 115 }, "end": { - "line": 1233, + "line": 1234, "column": 116 } } @@ -257241,15 +257561,15 @@ "binop": null, "updateContext": null }, - "start": 47118, - "end": 47119, + "start": 47771, + "end": 47772, "loc": { "start": { - "line": 1233, + "line": 1234, "column": 116 }, "end": { - "line": 1233, + "line": 1234, "column": 117 } } @@ -257267,15 +257587,15 @@ "binop": null }, "value": "geometryCompression", - "start": 47140, - "end": 47159, + "start": 47793, + "end": 47812, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 20 }, "end": { - "line": 1234, + "line": 1235, "column": 39 } } @@ -257293,15 +257613,15 @@ "binop": null, "updateContext": null }, - "start": 47159, - "end": 47160, + "start": 47812, + "end": 47813, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 39 }, "end": { - "line": 1234, + "line": 1235, "column": 40 } } @@ -257319,15 +257639,15 @@ "binop": null }, "value": "transformAndOctEncodeNormals", - "start": 47160, - "end": 47188, + "start": 47813, + "end": 47841, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 40 }, "end": { - "line": 1234, + "line": 1235, "column": 68 } } @@ -257344,15 +257664,15 @@ "postfix": false, "binop": null }, - "start": 47188, - "end": 47189, + "start": 47841, + "end": 47842, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 68 }, "end": { - "line": 1234, + "line": 1235, "column": 69 } } @@ -257370,15 +257690,15 @@ "binop": null }, "value": "modelNormalMatrix", - "start": 47189, - "end": 47206, + "start": 47842, + "end": 47859, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 69 }, "end": { - "line": 1234, + "line": 1235, "column": 86 } } @@ -257396,15 +257716,15 @@ "binop": null, "updateContext": null }, - "start": 47206, - "end": 47207, + "start": 47859, + "end": 47860, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 86 }, "end": { - "line": 1234, + "line": 1235, "column": 87 } } @@ -257422,15 +257742,15 @@ "binop": null }, "value": "geometry", - "start": 47208, - "end": 47216, + "start": 47861, + "end": 47869, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 88 }, "end": { - "line": 1234, + "line": 1235, "column": 96 } } @@ -257448,15 +257768,15 @@ "binop": null, "updateContext": null }, - "start": 47216, - "end": 47217, + "start": 47869, + "end": 47870, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 96 }, "end": { - "line": 1234, + "line": 1235, "column": 97 } } @@ -257474,15 +257794,15 @@ "binop": null }, "value": "normals", - "start": 47217, - "end": 47224, + "start": 47870, + "end": 47877, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 97 }, "end": { - "line": 1234, + "line": 1235, "column": 104 } } @@ -257500,15 +257820,15 @@ "binop": null, "updateContext": null }, - "start": 47224, - "end": 47225, + "start": 47877, + "end": 47878, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 104 }, "end": { - "line": 1234, + "line": 1235, "column": 105 } } @@ -257526,15 +257846,15 @@ "binop": null }, "value": "geometry", - "start": 47226, - "end": 47234, + "start": 47879, + "end": 47887, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 106 }, "end": { - "line": 1234, + "line": 1235, "column": 114 } } @@ -257552,15 +257872,15 @@ "binop": null, "updateContext": null }, - "start": 47234, - "end": 47235, + "start": 47887, + "end": 47888, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 114 }, "end": { - "line": 1234, + "line": 1235, "column": 115 } } @@ -257578,15 +257898,15 @@ "binop": null }, "value": "normals", - "start": 47235, - "end": 47242, + "start": 47888, + "end": 47895, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 115 }, "end": { - "line": 1234, + "line": 1235, "column": 122 } } @@ -257604,15 +257924,15 @@ "binop": null, "updateContext": null }, - "start": 47242, - "end": 47243, + "start": 47895, + "end": 47896, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 122 }, "end": { - "line": 1234, + "line": 1235, "column": 123 } } @@ -257630,15 +257950,15 @@ "binop": null }, "value": "length", - "start": 47243, - "end": 47249, + "start": 47896, + "end": 47902, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 123 }, "end": { - "line": 1234, + "line": 1235, "column": 129 } } @@ -257656,15 +257976,15 @@ "binop": null, "updateContext": null }, - "start": 47249, - "end": 47250, + "start": 47902, + "end": 47903, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 129 }, "end": { - "line": 1234, + "line": 1235, "column": 130 } } @@ -257682,15 +258002,15 @@ "binop": null }, "value": "geometry", - "start": 47251, - "end": 47259, + "start": 47904, + "end": 47912, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 131 }, "end": { - "line": 1234, + "line": 1235, "column": 139 } } @@ -257708,15 +258028,15 @@ "binop": null, "updateContext": null }, - "start": 47259, - "end": 47260, + "start": 47912, + "end": 47913, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 139 }, "end": { - "line": 1234, + "line": 1235, "column": 140 } } @@ -257734,15 +258054,15 @@ "binop": null }, "value": "normalsOctEncoded", - "start": 47260, - "end": 47277, + "start": 47913, + "end": 47930, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 140 }, "end": { - "line": 1234, + "line": 1235, "column": 157 } } @@ -257760,15 +258080,15 @@ "binop": null, "updateContext": null }, - "start": 47277, - "end": 47278, + "start": 47930, + "end": 47931, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 157 }, "end": { - "line": 1234, + "line": 1235, "column": 158 } } @@ -257787,15 +258107,15 @@ "updateContext": null }, "value": 0, - "start": 47279, - "end": 47280, + "start": 47932, + "end": 47933, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 159 }, "end": { - "line": 1234, + "line": 1235, "column": 160 } } @@ -257812,15 +258132,15 @@ "postfix": false, "binop": null }, - "start": 47280, - "end": 47281, + "start": 47933, + "end": 47934, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 160 }, "end": { - "line": 1234, + "line": 1235, "column": 161 } } @@ -257838,15 +258158,15 @@ "binop": null, "updateContext": null }, - "start": 47281, - "end": 47282, + "start": 47934, + "end": 47935, "loc": { "start": { - "line": 1234, + "line": 1235, "column": 161 }, "end": { - "line": 1234, + "line": 1235, "column": 162 } } @@ -257863,15 +258183,15 @@ "postfix": false, "binop": null }, - "start": 47299, - "end": 47300, + "start": 47952, + "end": 47953, "loc": { "start": { - "line": 1235, + "line": 1236, "column": 16 }, "end": { - "line": 1235, + "line": 1236, "column": 17 } } @@ -257888,15 +258208,15 @@ "postfix": false, "binop": null }, - "start": 47313, - "end": 47314, + "start": 47966, + "end": 47967, "loc": { "start": { - "line": 1236, + "line": 1237, "column": 12 }, "end": { - "line": 1236, + "line": 1237, "column": 13 } } @@ -257913,15 +258233,15 @@ "postfix": false, "binop": null }, - "start": 47323, - "end": 47324, + "start": 47976, + "end": 47977, "loc": { "start": { - "line": 1237, + "line": 1238, "column": 8 }, "end": { - "line": 1237, + "line": 1238, "column": 9 } } @@ -257938,15 +258258,15 @@ "postfix": false, "binop": null }, - "start": 47329, - "end": 47330, + "start": 47982, + "end": 47983, "loc": { "start": { - "line": 1238, + "line": 1239, "column": 4 }, "end": { - "line": 1238, + "line": 1239, "column": 5 } } @@ -257964,15 +258284,15 @@ "binop": null }, "value": "_createEntityAABBs", - "start": 47336, - "end": 47354, + "start": 47989, + "end": 48007, "loc": { "start": { - "line": 1240, + "line": 1241, "column": 4 }, "end": { - "line": 1240, + "line": 1241, "column": 22 } } @@ -257989,15 +258309,15 @@ "postfix": false, "binop": null }, - "start": 47354, - "end": 47355, + "start": 48007, + "end": 48008, "loc": { "start": { - "line": 1240, + "line": 1241, "column": 22 }, "end": { - "line": 1240, + "line": 1241, "column": 23 } } @@ -258014,15 +258334,15 @@ "postfix": false, "binop": null }, - "start": 47355, - "end": 47356, + "start": 48008, + "end": 48009, "loc": { "start": { - "line": 1240, + "line": 1241, "column": 23 }, "end": { - "line": 1240, + "line": 1241, "column": 24 } } @@ -258039,15 +258359,15 @@ "postfix": false, "binop": null }, - "start": 47357, - "end": 47358, + "start": 48010, + "end": 48011, "loc": { "start": { - "line": 1240, + "line": 1241, "column": 25 }, "end": { - "line": 1240, + "line": 1241, "column": 26 } } @@ -258067,15 +258387,15 @@ "updateContext": null }, "value": "for", - "start": 47368, - "end": 47371, + "start": 48021, + "end": 48024, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 8 }, "end": { - "line": 1242, + "line": 1243, "column": 11 } } @@ -258092,15 +258412,15 @@ "postfix": false, "binop": null }, - "start": 47372, - "end": 47373, + "start": 48025, + "end": 48026, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 12 }, "end": { - "line": 1242, + "line": 1243, "column": 13 } } @@ -258120,15 +258440,15 @@ "updateContext": null }, "value": "let", - "start": 47373, - "end": 47376, + "start": 48026, + "end": 48029, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 13 }, "end": { - "line": 1242, + "line": 1243, "column": 16 } } @@ -258146,15 +258466,15 @@ "binop": null }, "value": "i", - "start": 47377, - "end": 47378, + "start": 48030, + "end": 48031, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 17 }, "end": { - "line": 1242, + "line": 1243, "column": 18 } } @@ -258173,15 +258493,15 @@ "updateContext": null }, "value": "=", - "start": 47379, - "end": 47380, + "start": 48032, + "end": 48033, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 19 }, "end": { - "line": 1242, + "line": 1243, "column": 20 } } @@ -258200,15 +258520,15 @@ "updateContext": null }, "value": 0, - "start": 47381, - "end": 47382, + "start": 48034, + "end": 48035, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 21 }, "end": { - "line": 1242, + "line": 1243, "column": 22 } } @@ -258226,15 +258546,15 @@ "binop": null, "updateContext": null }, - "start": 47382, - "end": 47383, + "start": 48035, + "end": 48036, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 22 }, "end": { - "line": 1242, + "line": 1243, "column": 23 } } @@ -258252,15 +258572,15 @@ "binop": null }, "value": "len", - "start": 47384, - "end": 47387, + "start": 48037, + "end": 48040, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 24 }, "end": { - "line": 1242, + "line": 1243, "column": 27 } } @@ -258279,15 +258599,15 @@ "updateContext": null }, "value": "=", - "start": 47388, - "end": 47389, + "start": 48041, + "end": 48042, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 28 }, "end": { - "line": 1242, + "line": 1243, "column": 29 } } @@ -258307,15 +258627,15 @@ "updateContext": null }, "value": "this", - "start": 47390, - "end": 47394, + "start": 48043, + "end": 48047, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 30 }, "end": { - "line": 1242, + "line": 1243, "column": 34 } } @@ -258333,15 +258653,15 @@ "binop": null, "updateContext": null }, - "start": 47394, - "end": 47395, + "start": 48047, + "end": 48048, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 34 }, "end": { - "line": 1242, + "line": 1243, "column": 35 } } @@ -258359,15 +258679,15 @@ "binop": null }, "value": "entitiesList", - "start": 47395, - "end": 47407, + "start": 48048, + "end": 48060, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 35 }, "end": { - "line": 1242, + "line": 1243, "column": 47 } } @@ -258385,15 +258705,15 @@ "binop": null, "updateContext": null }, - "start": 47407, - "end": 47408, + "start": 48060, + "end": 48061, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 47 }, "end": { - "line": 1242, + "line": 1243, "column": 48 } } @@ -258411,15 +258731,15 @@ "binop": null }, "value": "length", - "start": 47408, - "end": 47414, + "start": 48061, + "end": 48067, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 48 }, "end": { - "line": 1242, + "line": 1243, "column": 54 } } @@ -258437,15 +258757,15 @@ "binop": null, "updateContext": null }, - "start": 47414, - "end": 47415, + "start": 48067, + "end": 48068, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 54 }, "end": { - "line": 1242, + "line": 1243, "column": 55 } } @@ -258463,15 +258783,15 @@ "binop": null }, "value": "i", - "start": 47416, - "end": 47417, + "start": 48069, + "end": 48070, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 56 }, "end": { - "line": 1242, + "line": 1243, "column": 57 } } @@ -258490,15 +258810,15 @@ "updateContext": null }, "value": "<", - "start": 47418, - "end": 47419, + "start": 48071, + "end": 48072, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 58 }, "end": { - "line": 1242, + "line": 1243, "column": 59 } } @@ -258516,15 +258836,15 @@ "binop": null }, "value": "len", - "start": 47420, - "end": 47423, + "start": 48073, + "end": 48076, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 60 }, "end": { - "line": 1242, + "line": 1243, "column": 63 } } @@ -258542,15 +258862,15 @@ "binop": null, "updateContext": null }, - "start": 47423, - "end": 47424, + "start": 48076, + "end": 48077, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 63 }, "end": { - "line": 1242, + "line": 1243, "column": 64 } } @@ -258568,15 +258888,15 @@ "binop": null }, "value": "i", - "start": 47425, - "end": 47426, + "start": 48078, + "end": 48079, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 65 }, "end": { - "line": 1242, + "line": 1243, "column": 66 } } @@ -258594,15 +258914,15 @@ "binop": null }, "value": "++", - "start": 47426, - "end": 47428, + "start": 48079, + "end": 48081, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 66 }, "end": { - "line": 1242, + "line": 1243, "column": 68 } } @@ -258619,15 +258939,15 @@ "postfix": false, "binop": null }, - "start": 47428, - "end": 47429, + "start": 48081, + "end": 48082, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 68 }, "end": { - "line": 1242, + "line": 1243, "column": 69 } } @@ -258644,15 +258964,15 @@ "postfix": false, "binop": null }, - "start": 47430, - "end": 47431, + "start": 48083, + "end": 48084, "loc": { "start": { - "line": 1242, + "line": 1243, "column": 70 }, "end": { - "line": 1242, + "line": 1243, "column": 71 } } @@ -258672,15 +258992,15 @@ "updateContext": null }, "value": "const", - "start": 47445, - "end": 47450, + "start": 48098, + "end": 48103, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 12 }, "end": { - "line": 1244, + "line": 1245, "column": 17 } } @@ -258698,15 +259018,15 @@ "binop": null }, "value": "entity", - "start": 47451, - "end": 47457, + "start": 48104, + "end": 48110, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 18 }, "end": { - "line": 1244, + "line": 1245, "column": 24 } } @@ -258725,15 +259045,15 @@ "updateContext": null }, "value": "=", - "start": 47458, - "end": 47459, + "start": 48111, + "end": 48112, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 25 }, "end": { - "line": 1244, + "line": 1245, "column": 26 } } @@ -258753,15 +259073,15 @@ "updateContext": null }, "value": "this", - "start": 47460, - "end": 47464, + "start": 48113, + "end": 48117, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 27 }, "end": { - "line": 1244, + "line": 1245, "column": 31 } } @@ -258779,15 +259099,15 @@ "binop": null, "updateContext": null }, - "start": 47464, - "end": 47465, + "start": 48117, + "end": 48118, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 31 }, "end": { - "line": 1244, + "line": 1245, "column": 32 } } @@ -258805,15 +259125,15 @@ "binop": null }, "value": "entitiesList", - "start": 47465, - "end": 47477, + "start": 48118, + "end": 48130, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 32 }, "end": { - "line": 1244, + "line": 1245, "column": 44 } } @@ -258831,15 +259151,15 @@ "binop": null, "updateContext": null }, - "start": 47477, - "end": 47478, + "start": 48130, + "end": 48131, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 44 }, "end": { - "line": 1244, + "line": 1245, "column": 45 } } @@ -258857,15 +259177,15 @@ "binop": null }, "value": "i", - "start": 47478, - "end": 47479, + "start": 48131, + "end": 48132, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 45 }, "end": { - "line": 1244, + "line": 1245, "column": 46 } } @@ -258883,15 +259203,15 @@ "binop": null, "updateContext": null }, - "start": 47479, - "end": 47480, + "start": 48132, + "end": 48133, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 46 }, "end": { - "line": 1244, + "line": 1245, "column": 47 } } @@ -258909,15 +259229,15 @@ "binop": null, "updateContext": null }, - "start": 47480, - "end": 47481, + "start": 48133, + "end": 48134, "loc": { "start": { - "line": 1244, + "line": 1245, "column": 47 }, "end": { - "line": 1244, + "line": 1245, "column": 48 } } @@ -258937,15 +259257,15 @@ "updateContext": null }, "value": "const", - "start": 47494, - "end": 47499, + "start": 48147, + "end": 48152, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 12 }, "end": { - "line": 1245, + "line": 1246, "column": 17 } } @@ -258963,15 +259283,15 @@ "binop": null }, "value": "entityAABB", - "start": 47500, - "end": 47510, + "start": 48153, + "end": 48163, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 18 }, "end": { - "line": 1245, + "line": 1246, "column": 28 } } @@ -258990,15 +259310,15 @@ "updateContext": null }, "value": "=", - "start": 47511, - "end": 47512, + "start": 48164, + "end": 48165, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 29 }, "end": { - "line": 1245, + "line": 1246, "column": 30 } } @@ -259016,15 +259336,15 @@ "binop": null }, "value": "entity", - "start": 47513, - "end": 47519, + "start": 48166, + "end": 48172, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 31 }, "end": { - "line": 1245, + "line": 1246, "column": 37 } } @@ -259042,15 +259362,15 @@ "binop": null, "updateContext": null }, - "start": 47519, - "end": 47520, + "start": 48172, + "end": 48173, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 37 }, "end": { - "line": 1245, + "line": 1246, "column": 38 } } @@ -259068,15 +259388,15 @@ "binop": null }, "value": "aabb", - "start": 47520, - "end": 47524, + "start": 48173, + "end": 48177, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 38 }, "end": { - "line": 1245, + "line": 1246, "column": 42 } } @@ -259094,15 +259414,15 @@ "binop": null, "updateContext": null }, - "start": 47524, - "end": 47525, + "start": 48177, + "end": 48178, "loc": { "start": { - "line": 1245, + "line": 1246, "column": 42 }, "end": { - "line": 1245, + "line": 1246, "column": 43 } } @@ -259122,15 +259442,15 @@ "updateContext": null }, "value": "const", - "start": 47538, - "end": 47543, + "start": 48191, + "end": 48196, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 12 }, "end": { - "line": 1246, + "line": 1247, "column": 17 } } @@ -259148,15 +259468,15 @@ "binop": null }, "value": "meshes", - "start": 47544, - "end": 47550, + "start": 48197, + "end": 48203, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 18 }, "end": { - "line": 1246, + "line": 1247, "column": 24 } } @@ -259175,15 +259495,15 @@ "updateContext": null }, "value": "=", - "start": 47551, - "end": 47552, + "start": 48204, + "end": 48205, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 25 }, "end": { - "line": 1246, + "line": 1247, "column": 26 } } @@ -259201,15 +259521,15 @@ "binop": null }, "value": "entity", - "start": 47553, - "end": 47559, + "start": 48206, + "end": 48212, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 27 }, "end": { - "line": 1246, + "line": 1247, "column": 33 } } @@ -259227,15 +259547,15 @@ "binop": null, "updateContext": null }, - "start": 47559, - "end": 47560, + "start": 48212, + "end": 48213, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 33 }, "end": { - "line": 1246, + "line": 1247, "column": 34 } } @@ -259253,15 +259573,15 @@ "binop": null }, "value": "meshes", - "start": 47560, - "end": 47566, + "start": 48213, + "end": 48219, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 34 }, "end": { - "line": 1246, + "line": 1247, "column": 40 } } @@ -259279,15 +259599,15 @@ "binop": null, "updateContext": null }, - "start": 47566, - "end": 47567, + "start": 48219, + "end": 48220, "loc": { "start": { - "line": 1246, + "line": 1247, "column": 40 }, "end": { - "line": 1246, + "line": 1247, "column": 41 } } @@ -259305,15 +259625,15 @@ "binop": null }, "value": "math", - "start": 47581, - "end": 47585, + "start": 48234, + "end": 48238, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 12 }, "end": { - "line": 1248, + "line": 1249, "column": 16 } } @@ -259331,15 +259651,15 @@ "binop": null, "updateContext": null }, - "start": 47585, - "end": 47586, + "start": 48238, + "end": 48239, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 16 }, "end": { - "line": 1248, + "line": 1249, "column": 17 } } @@ -259357,15 +259677,15 @@ "binop": null }, "value": "collapseAABB3", - "start": 47586, - "end": 47599, + "start": 48239, + "end": 48252, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 17 }, "end": { - "line": 1248, + "line": 1249, "column": 30 } } @@ -259382,15 +259702,15 @@ "postfix": false, "binop": null }, - "start": 47599, - "end": 47600, + "start": 48252, + "end": 48253, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 30 }, "end": { - "line": 1248, + "line": 1249, "column": 31 } } @@ -259408,15 +259728,15 @@ "binop": null }, "value": "entityAABB", - "start": 47600, - "end": 47610, + "start": 48253, + "end": 48263, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 31 }, "end": { - "line": 1248, + "line": 1249, "column": 41 } } @@ -259433,15 +259753,15 @@ "postfix": false, "binop": null }, - "start": 47610, - "end": 47611, + "start": 48263, + "end": 48264, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 41 }, "end": { - "line": 1248, + "line": 1249, "column": 42 } } @@ -259459,15 +259779,15 @@ "binop": null, "updateContext": null }, - "start": 47611, - "end": 47612, + "start": 48264, + "end": 48265, "loc": { "start": { - "line": 1248, + "line": 1249, "column": 42 }, "end": { - "line": 1248, + "line": 1249, "column": 43 } } @@ -259487,15 +259807,15 @@ "updateContext": null }, "value": "for", - "start": 47626, - "end": 47629, + "start": 48279, + "end": 48282, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 12 }, "end": { - "line": 1250, + "line": 1251, "column": 15 } } @@ -259512,15 +259832,15 @@ "postfix": false, "binop": null }, - "start": 47630, - "end": 47631, + "start": 48283, + "end": 48284, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 16 }, "end": { - "line": 1250, + "line": 1251, "column": 17 } } @@ -259540,15 +259860,15 @@ "updateContext": null }, "value": "let", - "start": 47631, - "end": 47634, + "start": 48284, + "end": 48287, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 17 }, "end": { - "line": 1250, + "line": 1251, "column": 20 } } @@ -259566,15 +259886,15 @@ "binop": null }, "value": "j", - "start": 47635, - "end": 47636, + "start": 48288, + "end": 48289, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 21 }, "end": { - "line": 1250, + "line": 1251, "column": 22 } } @@ -259593,15 +259913,15 @@ "updateContext": null }, "value": "=", - "start": 47637, - "end": 47638, + "start": 48290, + "end": 48291, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 23 }, "end": { - "line": 1250, + "line": 1251, "column": 24 } } @@ -259620,15 +259940,15 @@ "updateContext": null }, "value": 0, - "start": 47639, - "end": 47640, + "start": 48292, + "end": 48293, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 25 }, "end": { - "line": 1250, + "line": 1251, "column": 26 } } @@ -259646,15 +259966,15 @@ "binop": null, "updateContext": null }, - "start": 47640, - "end": 47641, + "start": 48293, + "end": 48294, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 26 }, "end": { - "line": 1250, + "line": 1251, "column": 27 } } @@ -259672,15 +259992,15 @@ "binop": null }, "value": "lenj", - "start": 47642, - "end": 47646, + "start": 48295, + "end": 48299, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 28 }, "end": { - "line": 1250, + "line": 1251, "column": 32 } } @@ -259699,15 +260019,15 @@ "updateContext": null }, "value": "=", - "start": 47647, - "end": 47648, + "start": 48300, + "end": 48301, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 33 }, "end": { - "line": 1250, + "line": 1251, "column": 34 } } @@ -259725,15 +260045,15 @@ "binop": null }, "value": "meshes", - "start": 47649, - "end": 47655, + "start": 48302, + "end": 48308, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 35 }, "end": { - "line": 1250, + "line": 1251, "column": 41 } } @@ -259751,15 +260071,15 @@ "binop": null, "updateContext": null }, - "start": 47655, - "end": 47656, + "start": 48308, + "end": 48309, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 41 }, "end": { - "line": 1250, + "line": 1251, "column": 42 } } @@ -259777,15 +260097,15 @@ "binop": null }, "value": "length", - "start": 47656, - "end": 47662, + "start": 48309, + "end": 48315, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 42 }, "end": { - "line": 1250, + "line": 1251, "column": 48 } } @@ -259803,15 +260123,15 @@ "binop": null, "updateContext": null }, - "start": 47662, - "end": 47663, + "start": 48315, + "end": 48316, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 48 }, "end": { - "line": 1250, + "line": 1251, "column": 49 } } @@ -259829,15 +260149,15 @@ "binop": null }, "value": "j", - "start": 47664, - "end": 47665, + "start": 48317, + "end": 48318, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 50 }, "end": { - "line": 1250, + "line": 1251, "column": 51 } } @@ -259856,15 +260176,15 @@ "updateContext": null }, "value": "<", - "start": 47666, - "end": 47667, + "start": 48319, + "end": 48320, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 52 }, "end": { - "line": 1250, + "line": 1251, "column": 53 } } @@ -259882,15 +260202,15 @@ "binop": null }, "value": "lenj", - "start": 47668, - "end": 47672, + "start": 48321, + "end": 48325, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 54 }, "end": { - "line": 1250, + "line": 1251, "column": 58 } } @@ -259908,15 +260228,15 @@ "binop": null, "updateContext": null }, - "start": 47672, - "end": 47673, + "start": 48325, + "end": 48326, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 58 }, "end": { - "line": 1250, + "line": 1251, "column": 59 } } @@ -259934,15 +260254,15 @@ "binop": null }, "value": "j", - "start": 47674, - "end": 47675, + "start": 48327, + "end": 48328, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 60 }, "end": { - "line": 1250, + "line": 1251, "column": 61 } } @@ -259960,15 +260280,15 @@ "binop": null }, "value": "++", - "start": 47675, - "end": 47677, + "start": 48328, + "end": 48330, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 61 }, "end": { - "line": 1250, + "line": 1251, "column": 63 } } @@ -259985,15 +260305,15 @@ "postfix": false, "binop": null }, - "start": 47677, - "end": 47678, + "start": 48330, + "end": 48331, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 63 }, "end": { - "line": 1250, + "line": 1251, "column": 64 } } @@ -260010,15 +260330,15 @@ "postfix": false, "binop": null }, - "start": 47679, - "end": 47680, + "start": 48332, + "end": 48333, "loc": { "start": { - "line": 1250, + "line": 1251, "column": 65 }, "end": { - "line": 1250, + "line": 1251, "column": 66 } } @@ -260038,219 +260358,8 @@ "updateContext": null }, "value": "const", - "start": 47698, - "end": 47703, - "loc": { - "start": { - "line": 1252, - "column": 16 - }, - "end": { - "line": 1252, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "mesh", - "start": 47704, - "end": 47708, - "loc": { - "start": { - "line": 1252, - "column": 22 - }, - "end": { - "line": 1252, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 47709, - "end": 47710, - "loc": { - "start": { - "line": 1252, - "column": 27 - }, - "end": { - "line": 1252, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "meshes", - "start": 47711, - "end": 47717, - "loc": { - "start": { - "line": 1252, - "column": 29 - }, - "end": { - "line": 1252, - "column": 35 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 47717, - "end": 47718, - "loc": { - "start": { - "line": 1252, - "column": 35 - }, - "end": { - "line": 1252, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "j", - "start": 47718, - "end": 47719, - "loc": { - "start": { - "line": 1252, - "column": 36 - }, - "end": { - "line": 1252, - "column": 37 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 47719, - "end": 47720, - "loc": { - "start": { - "line": 1252, - "column": 37 - }, - "end": { - "line": 1252, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 47720, - "end": 47721, - "loc": { - "start": { - "line": 1252, - "column": 38 - }, - "end": { - "line": 1252, - "column": 39 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 47738, - "end": 47743, + "start": 48351, + "end": 48356, "loc": { "start": { "line": 1253, @@ -260274,9 +260383,9 @@ "postfix": false, "binop": null }, - "value": "geometry", - "start": 47744, - "end": 47752, + "value": "mesh", + "start": 48357, + "end": 48361, "loc": { "start": { "line": 1253, @@ -260284,7 +260393,7 @@ }, "end": { "line": 1253, - "column": 30 + "column": 26 } } }, @@ -260302,16 +260411,16 @@ "updateContext": null }, "value": "=", - "start": 47753, - "end": 47754, + "start": 48362, + "end": 48363, "loc": { "start": { "line": 1253, - "column": 31 + "column": 27 }, "end": { "line": 1253, - "column": 32 + "column": 28 } } }, @@ -260327,13 +260436,65 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 47755, - "end": 47759, + "value": "meshes", + "start": 48364, + "end": 48370, "loc": { "start": { "line": 1253, - "column": 33 + "column": 29 + }, + "end": { + "line": 1253, + "column": 35 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48370, + "end": 48371, + "loc": { + "start": { + "line": 1253, + "column": 35 + }, + "end": { + "line": 1253, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "j", + "start": 48371, + "end": 48372, + "loc": { + "start": { + "line": 1253, + "column": 36 }, "end": { "line": 1253, @@ -260343,7 +260504,7 @@ }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -260354,8 +260515,8 @@ "binop": null, "updateContext": null }, - "start": 47759, - "end": 47760, + "start": 48372, + "end": 48373, "loc": { "start": { "line": 1253, @@ -260367,6 +260528,60 @@ } } }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48373, + "end": 48374, + "loc": { + "start": { + "line": 1253, + "column": 38 + }, + "end": { + "line": 1253, + "column": 39 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 48391, + "end": 48396, + "loc": { + "start": { + "line": 1254, + "column": 16 + }, + "end": { + "line": 1254, + "column": 21 + } + } + }, { "type": { "label": "name", @@ -260380,15 +260595,120 @@ "binop": null }, "value": "geometry", - "start": 47760, - "end": 47768, + "start": 48397, + "end": 48405, "loc": { "start": { - "line": 1253, + "line": 1254, + "column": 22 + }, + "end": { + "line": 1254, + "column": 30 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 48406, + "end": 48407, + "loc": { + "start": { + "line": 1254, + "column": 31 + }, + "end": { + "line": 1254, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mesh", + "start": 48408, + "end": 48412, + "loc": { + "start": { + "line": 1254, + "column": 33 + }, + "end": { + "line": 1254, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48412, + "end": 48413, + "loc": { + "start": { + "line": 1254, + "column": 37 + }, + "end": { + "line": 1254, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "geometry", + "start": 48413, + "end": 48421, + "loc": { + "start": { + "line": 1254, "column": 38 }, "end": { - "line": 1253, + "line": 1254, "column": 46 } } @@ -260406,15 +260726,15 @@ "binop": null, "updateContext": null }, - "start": 47768, - "end": 47769, + "start": 48421, + "end": 48422, "loc": { "start": { - "line": 1253, + "line": 1254, "column": 46 }, "end": { - "line": 1253, + "line": 1254, "column": 47 } } @@ -260434,15 +260754,15 @@ "updateContext": null }, "value": "const", - "start": 47786, - "end": 47791, + "start": 48439, + "end": 48444, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 16 }, "end": { - "line": 1254, + "line": 1255, "column": 21 } } @@ -260460,15 +260780,15 @@ "binop": null }, "value": "matrix", - "start": 47792, - "end": 47798, + "start": 48445, + "end": 48451, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 22 }, "end": { - "line": 1254, + "line": 1255, "column": 28 } } @@ -260487,15 +260807,15 @@ "updateContext": null }, "value": "=", - "start": 47799, - "end": 47800, + "start": 48452, + "end": 48453, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 29 }, "end": { - "line": 1254, + "line": 1255, "column": 30 } } @@ -260513,15 +260833,15 @@ "binop": null }, "value": "mesh", - "start": 47801, - "end": 47805, + "start": 48454, + "end": 48458, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 31 }, "end": { - "line": 1254, + "line": 1255, "column": 35 } } @@ -260539,15 +260859,15 @@ "binop": null, "updateContext": null }, - "start": 47805, - "end": 47806, + "start": 48458, + "end": 48459, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 35 }, "end": { - "line": 1254, + "line": 1255, "column": 36 } } @@ -260565,15 +260885,15 @@ "binop": null }, "value": "matrix", - "start": 47806, - "end": 47812, + "start": 48459, + "end": 48465, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 36 }, "end": { - "line": 1254, + "line": 1255, "column": 42 } } @@ -260591,15 +260911,15 @@ "binop": null, "updateContext": null }, - "start": 47812, - "end": 47813, + "start": 48465, + "end": 48466, "loc": { "start": { - "line": 1254, + "line": 1255, "column": 42 }, "end": { - "line": 1254, + "line": 1255, "column": 43 } } @@ -260619,15 +260939,15 @@ "updateContext": null }, "value": "if", - "start": 47831, - "end": 47833, + "start": 48484, + "end": 48486, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 16 }, "end": { - "line": 1256, + "line": 1257, "column": 18 } } @@ -260644,15 +260964,15 @@ "postfix": false, "binop": null }, - "start": 47834, - "end": 47835, + "start": 48487, + "end": 48488, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 19 }, "end": { - "line": 1256, + "line": 1257, "column": 20 } } @@ -260670,15 +260990,15 @@ "binop": null }, "value": "geometry", - "start": 47835, - "end": 47843, + "start": 48488, + "end": 48496, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 20 }, "end": { - "line": 1256, + "line": 1257, "column": 28 } } @@ -260696,15 +261016,15 @@ "binop": null, "updateContext": null }, - "start": 47843, - "end": 47844, + "start": 48496, + "end": 48497, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 28 }, "end": { - "line": 1256, + "line": 1257, "column": 29 } } @@ -260722,15 +261042,15 @@ "binop": null }, "value": "numInstances", - "start": 47844, - "end": 47856, + "start": 48497, + "end": 48509, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 29 }, "end": { - "line": 1256, + "line": 1257, "column": 41 } } @@ -260749,15 +261069,15 @@ "updateContext": null }, "value": ">", - "start": 47857, - "end": 47858, + "start": 48510, + "end": 48511, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 42 }, "end": { - "line": 1256, + "line": 1257, "column": 43 } } @@ -260776,15 +261096,15 @@ "updateContext": null }, "value": 1, - "start": 47859, - "end": 47860, + "start": 48512, + "end": 48513, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 44 }, "end": { - "line": 1256, + "line": 1257, "column": 45 } } @@ -260801,15 +261121,15 @@ "postfix": false, "binop": null }, - "start": 47860, - "end": 47861, + "start": 48513, + "end": 48514, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 45 }, "end": { - "line": 1256, + "line": 1257, "column": 46 } } @@ -260826,15 +261146,15 @@ "postfix": false, "binop": null }, - "start": 47862, - "end": 47863, + "start": 48515, + "end": 48516, "loc": { "start": { - "line": 1256, + "line": 1257, "column": 47 }, "end": { - "line": 1256, + "line": 1257, "column": 48 } } @@ -260854,15 +261174,15 @@ "updateContext": null }, "value": "const", - "start": 47885, - "end": 47890, + "start": 48538, + "end": 48543, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 20 }, "end": { - "line": 1258, + "line": 1259, "column": 25 } } @@ -260880,15 +261200,15 @@ "binop": null }, "value": "positions", - "start": 47891, - "end": 47900, + "start": 48544, + "end": 48553, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 26 }, "end": { - "line": 1258, + "line": 1259, "column": 35 } } @@ -260907,15 +261227,15 @@ "updateContext": null }, "value": "=", - "start": 47901, - "end": 47902, + "start": 48554, + "end": 48555, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 36 }, "end": { - "line": 1258, + "line": 1259, "column": 37 } } @@ -260933,15 +261253,15 @@ "binop": null }, "value": "geometry", - "start": 47903, - "end": 47911, + "start": 48556, + "end": 48564, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 38 }, "end": { - "line": 1258, + "line": 1259, "column": 46 } } @@ -260959,15 +261279,15 @@ "binop": null, "updateContext": null }, - "start": 47911, - "end": 47912, + "start": 48564, + "end": 48565, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 46 }, "end": { - "line": 1258, + "line": 1259, "column": 47 } } @@ -260985,15 +261305,15 @@ "binop": null }, "value": "positions", - "start": 47912, - "end": 47921, + "start": 48565, + "end": 48574, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 47 }, "end": { - "line": 1258, + "line": 1259, "column": 56 } } @@ -261011,15 +261331,15 @@ "binop": null, "updateContext": null }, - "start": 47921, - "end": 47922, + "start": 48574, + "end": 48575, "loc": { "start": { - "line": 1258, + "line": 1259, "column": 56 }, "end": { - "line": 1258, + "line": 1259, "column": 57 } } @@ -261039,15 +261359,15 @@ "updateContext": null }, "value": "for", - "start": 47943, - "end": 47946, + "start": 48596, + "end": 48599, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 20 }, "end": { - "line": 1259, + "line": 1260, "column": 23 } } @@ -261064,15 +261384,15 @@ "postfix": false, "binop": null }, - "start": 47947, - "end": 47948, + "start": 48600, + "end": 48601, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 24 }, "end": { - "line": 1259, + "line": 1260, "column": 25 } } @@ -261092,15 +261412,15 @@ "updateContext": null }, "value": "let", - "start": 47948, - "end": 47951, + "start": 48601, + "end": 48604, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 25 }, "end": { - "line": 1259, + "line": 1260, "column": 28 } } @@ -261118,15 +261438,15 @@ "binop": null }, "value": "i", - "start": 47952, - "end": 47953, + "start": 48605, + "end": 48606, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 29 }, "end": { - "line": 1259, + "line": 1260, "column": 30 } } @@ -261145,15 +261465,15 @@ "updateContext": null }, "value": "=", - "start": 47954, - "end": 47955, + "start": 48607, + "end": 48608, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 31 }, "end": { - "line": 1259, + "line": 1260, "column": 32 } } @@ -261172,15 +261492,15 @@ "updateContext": null }, "value": 0, - "start": 47956, - "end": 47957, + "start": 48609, + "end": 48610, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 33 }, "end": { - "line": 1259, + "line": 1260, "column": 34 } } @@ -261198,15 +261518,15 @@ "binop": null, "updateContext": null }, - "start": 47957, - "end": 47958, + "start": 48610, + "end": 48611, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 34 }, "end": { - "line": 1259, + "line": 1260, "column": 35 } } @@ -261224,15 +261544,15 @@ "binop": null }, "value": "len", - "start": 47959, - "end": 47962, + "start": 48612, + "end": 48615, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 36 }, "end": { - "line": 1259, + "line": 1260, "column": 39 } } @@ -261251,15 +261571,15 @@ "updateContext": null }, "value": "=", - "start": 47963, - "end": 47964, + "start": 48616, + "end": 48617, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 40 }, "end": { - "line": 1259, + "line": 1260, "column": 41 } } @@ -261277,15 +261597,15 @@ "binop": null }, "value": "positions", - "start": 47965, - "end": 47974, + "start": 48618, + "end": 48627, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 42 }, "end": { - "line": 1259, + "line": 1260, "column": 51 } } @@ -261303,15 +261623,15 @@ "binop": null, "updateContext": null }, - "start": 47974, - "end": 47975, + "start": 48627, + "end": 48628, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 51 }, "end": { - "line": 1259, + "line": 1260, "column": 52 } } @@ -261329,15 +261649,15 @@ "binop": null }, "value": "length", - "start": 47975, - "end": 47981, + "start": 48628, + "end": 48634, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 52 }, "end": { - "line": 1259, + "line": 1260, "column": 58 } } @@ -261355,15 +261675,15 @@ "binop": null, "updateContext": null }, - "start": 47981, - "end": 47982, + "start": 48634, + "end": 48635, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 58 }, "end": { - "line": 1259, + "line": 1260, "column": 59 } } @@ -261381,15 +261701,15 @@ "binop": null }, "value": "i", - "start": 47983, - "end": 47984, + "start": 48636, + "end": 48637, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 60 }, "end": { - "line": 1259, + "line": 1260, "column": 61 } } @@ -261408,15 +261728,15 @@ "updateContext": null }, "value": "<", - "start": 47985, - "end": 47986, + "start": 48638, + "end": 48639, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 62 }, "end": { - "line": 1259, + "line": 1260, "column": 63 } } @@ -261434,15 +261754,15 @@ "binop": null }, "value": "len", - "start": 47987, - "end": 47990, + "start": 48640, + "end": 48643, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 64 }, "end": { - "line": 1259, + "line": 1260, "column": 67 } } @@ -261460,15 +261780,15 @@ "binop": null, "updateContext": null }, - "start": 47990, - "end": 47991, + "start": 48643, + "end": 48644, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 67 }, "end": { - "line": 1259, + "line": 1260, "column": 68 } } @@ -261486,15 +261806,15 @@ "binop": null }, "value": "i", - "start": 47992, - "end": 47993, + "start": 48645, + "end": 48646, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 69 }, "end": { - "line": 1259, + "line": 1260, "column": 70 } } @@ -261513,15 +261833,15 @@ "updateContext": null }, "value": "+=", - "start": 47994, - "end": 47996, + "start": 48647, + "end": 48649, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 71 }, "end": { - "line": 1259, + "line": 1260, "column": 73 } } @@ -261540,15 +261860,15 @@ "updateContext": null }, "value": 3, - "start": 47997, - "end": 47998, + "start": 48650, + "end": 48651, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 74 }, "end": { - "line": 1259, + "line": 1260, "column": 75 } } @@ -261565,15 +261885,15 @@ "postfix": false, "binop": null }, - "start": 47998, - "end": 47999, + "start": 48651, + "end": 48652, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 75 }, "end": { - "line": 1259, + "line": 1260, "column": 76 } } @@ -261590,15 +261910,15 @@ "postfix": false, "binop": null }, - "start": 48000, - "end": 48001, + "start": 48653, + "end": 48654, "loc": { "start": { - "line": 1259, + "line": 1260, "column": 77 }, "end": { - "line": 1259, + "line": 1260, "column": 78 } } @@ -261616,15 +261936,15 @@ "binop": null }, "value": "tempVec4a", - "start": 48026, - "end": 48035, + "start": 48679, + "end": 48688, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 24 }, "end": { - "line": 1260, + "line": 1261, "column": 33 } } @@ -261642,15 +261962,15 @@ "binop": null, "updateContext": null }, - "start": 48035, - "end": 48036, + "start": 48688, + "end": 48689, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 33 }, "end": { - "line": 1260, + "line": 1261, "column": 34 } } @@ -261669,15 +261989,15 @@ "updateContext": null }, "value": 0, - "start": 48036, - "end": 48037, + "start": 48689, + "end": 48690, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 34 }, "end": { - "line": 1260, + "line": 1261, "column": 35 } } @@ -261695,15 +262015,15 @@ "binop": null, "updateContext": null }, - "start": 48037, - "end": 48038, + "start": 48690, + "end": 48691, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 35 }, "end": { - "line": 1260, + "line": 1261, "column": 36 } } @@ -261722,15 +262042,15 @@ "updateContext": null }, "value": "=", - "start": 48039, - "end": 48040, + "start": 48692, + "end": 48693, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 37 }, "end": { - "line": 1260, + "line": 1261, "column": 38 } } @@ -261748,15 +262068,15 @@ "binop": null }, "value": "positions", - "start": 48041, - "end": 48050, + "start": 48694, + "end": 48703, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 39 }, "end": { - "line": 1260, + "line": 1261, "column": 48 } } @@ -261774,15 +262094,15 @@ "binop": null, "updateContext": null }, - "start": 48050, - "end": 48051, + "start": 48703, + "end": 48704, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 48 }, "end": { - "line": 1260, + "line": 1261, "column": 49 } } @@ -261800,15 +262120,15 @@ "binop": null }, "value": "i", - "start": 48051, - "end": 48052, + "start": 48704, + "end": 48705, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 49 }, "end": { - "line": 1260, + "line": 1261, "column": 50 } } @@ -261827,15 +262147,15 @@ "updateContext": null }, "value": "+", - "start": 48053, - "end": 48054, + "start": 48706, + "end": 48707, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 51 }, "end": { - "line": 1260, + "line": 1261, "column": 52 } } @@ -261854,15 +262174,15 @@ "updateContext": null }, "value": 0, - "start": 48055, - "end": 48056, + "start": 48708, + "end": 48709, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 53 }, "end": { - "line": 1260, + "line": 1261, "column": 54 } } @@ -261880,15 +262200,15 @@ "binop": null, "updateContext": null }, - "start": 48056, - "end": 48057, + "start": 48709, + "end": 48710, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 54 }, "end": { - "line": 1260, + "line": 1261, "column": 55 } } @@ -261906,15 +262226,15 @@ "binop": null, "updateContext": null }, - "start": 48057, - "end": 48058, + "start": 48710, + "end": 48711, "loc": { "start": { - "line": 1260, + "line": 1261, "column": 55 }, "end": { - "line": 1260, + "line": 1261, "column": 56 } } @@ -261932,15 +262252,15 @@ "binop": null }, "value": "tempVec4a", - "start": 48083, - "end": 48092, + "start": 48736, + "end": 48745, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 24 }, "end": { - "line": 1261, + "line": 1262, "column": 33 } } @@ -261958,15 +262278,15 @@ "binop": null, "updateContext": null }, - "start": 48092, - "end": 48093, + "start": 48745, + "end": 48746, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 33 }, "end": { - "line": 1261, + "line": 1262, "column": 34 } } @@ -261985,15 +262305,15 @@ "updateContext": null }, "value": 1, - "start": 48093, - "end": 48094, + "start": 48746, + "end": 48747, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 34 }, "end": { - "line": 1261, + "line": 1262, "column": 35 } } @@ -262011,15 +262331,15 @@ "binop": null, "updateContext": null }, - "start": 48094, - "end": 48095, + "start": 48747, + "end": 48748, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 35 }, "end": { - "line": 1261, + "line": 1262, "column": 36 } } @@ -262038,15 +262358,15 @@ "updateContext": null }, "value": "=", - "start": 48096, - "end": 48097, + "start": 48749, + "end": 48750, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 37 }, "end": { - "line": 1261, + "line": 1262, "column": 38 } } @@ -262064,15 +262384,15 @@ "binop": null }, "value": "positions", - "start": 48098, - "end": 48107, + "start": 48751, + "end": 48760, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 39 }, "end": { - "line": 1261, + "line": 1262, "column": 48 } } @@ -262090,15 +262410,15 @@ "binop": null, "updateContext": null }, - "start": 48107, - "end": 48108, + "start": 48760, + "end": 48761, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 48 }, "end": { - "line": 1261, + "line": 1262, "column": 49 } } @@ -262116,15 +262436,15 @@ "binop": null }, "value": "i", - "start": 48108, - "end": 48109, + "start": 48761, + "end": 48762, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 49 }, "end": { - "line": 1261, + "line": 1262, "column": 50 } } @@ -262143,15 +262463,15 @@ "updateContext": null }, "value": "+", - "start": 48110, - "end": 48111, + "start": 48763, + "end": 48764, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 51 }, "end": { - "line": 1261, + "line": 1262, "column": 52 } } @@ -262170,15 +262490,15 @@ "updateContext": null }, "value": 1, - "start": 48112, - "end": 48113, + "start": 48765, + "end": 48766, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 53 }, "end": { - "line": 1261, + "line": 1262, "column": 54 } } @@ -262196,15 +262516,15 @@ "binop": null, "updateContext": null }, - "start": 48113, - "end": 48114, + "start": 48766, + "end": 48767, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 54 }, "end": { - "line": 1261, + "line": 1262, "column": 55 } } @@ -262222,15 +262542,15 @@ "binop": null, "updateContext": null }, - "start": 48114, - "end": 48115, + "start": 48767, + "end": 48768, "loc": { "start": { - "line": 1261, + "line": 1262, "column": 55 }, "end": { - "line": 1261, + "line": 1262, "column": 56 } } @@ -262248,15 +262568,15 @@ "binop": null }, "value": "tempVec4a", - "start": 48140, - "end": 48149, + "start": 48793, + "end": 48802, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 24 }, "end": { - "line": 1262, + "line": 1263, "column": 33 } } @@ -262274,15 +262594,15 @@ "binop": null, "updateContext": null }, - "start": 48149, - "end": 48150, + "start": 48802, + "end": 48803, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 33 }, "end": { - "line": 1262, + "line": 1263, "column": 34 } } @@ -262301,15 +262621,15 @@ "updateContext": null }, "value": 2, - "start": 48150, - "end": 48151, + "start": 48803, + "end": 48804, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 34 }, "end": { - "line": 1262, + "line": 1263, "column": 35 } } @@ -262327,15 +262647,15 @@ "binop": null, "updateContext": null }, - "start": 48151, - "end": 48152, + "start": 48804, + "end": 48805, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 35 }, "end": { - "line": 1262, + "line": 1263, "column": 36 } } @@ -262354,15 +262674,15 @@ "updateContext": null }, "value": "=", - "start": 48153, - "end": 48154, + "start": 48806, + "end": 48807, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 37 }, "end": { - "line": 1262, + "line": 1263, "column": 38 } } @@ -262380,15 +262700,15 @@ "binop": null }, "value": "positions", - "start": 48155, - "end": 48164, + "start": 48808, + "end": 48817, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 39 }, "end": { - "line": 1262, + "line": 1263, "column": 48 } } @@ -262406,15 +262726,15 @@ "binop": null, "updateContext": null }, - "start": 48164, - "end": 48165, + "start": 48817, + "end": 48818, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 48 }, "end": { - "line": 1262, + "line": 1263, "column": 49 } } @@ -262432,15 +262752,15 @@ "binop": null }, "value": "i", - "start": 48165, - "end": 48166, + "start": 48818, + "end": 48819, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 49 }, "end": { - "line": 1262, + "line": 1263, "column": 50 } } @@ -262459,15 +262779,15 @@ "updateContext": null }, "value": "+", - "start": 48167, - "end": 48168, + "start": 48820, + "end": 48821, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 51 }, "end": { - "line": 1262, + "line": 1263, "column": 52 } } @@ -262486,15 +262806,15 @@ "updateContext": null }, "value": 2, - "start": 48169, - "end": 48170, + "start": 48822, + "end": 48823, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 53 }, "end": { - "line": 1262, + "line": 1263, "column": 54 } } @@ -262512,15 +262832,15 @@ "binop": null, "updateContext": null }, - "start": 48170, - "end": 48171, + "start": 48823, + "end": 48824, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 54 }, "end": { - "line": 1262, + "line": 1263, "column": 55 } } @@ -262538,15 +262858,15 @@ "binop": null, "updateContext": null }, - "start": 48171, - "end": 48172, + "start": 48824, + "end": 48825, "loc": { "start": { - "line": 1262, + "line": 1263, "column": 55 }, "end": { - "line": 1262, + "line": 1263, "column": 56 } } @@ -262564,15 +262884,15 @@ "binop": null }, "value": "tempVec4a", - "start": 48197, - "end": 48206, + "start": 48850, + "end": 48859, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 24 }, "end": { - "line": 1263, + "line": 1264, "column": 33 } } @@ -262590,15 +262910,15 @@ "binop": null, "updateContext": null }, - "start": 48206, - "end": 48207, + "start": 48859, + "end": 48860, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 33 }, "end": { - "line": 1263, + "line": 1264, "column": 34 } } @@ -262617,15 +262937,15 @@ "updateContext": null }, "value": 3, - "start": 48207, - "end": 48208, + "start": 48860, + "end": 48861, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 34 }, "end": { - "line": 1263, + "line": 1264, "column": 35 } } @@ -262643,15 +262963,15 @@ "binop": null, "updateContext": null }, - "start": 48208, - "end": 48209, + "start": 48861, + "end": 48862, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 35 }, "end": { - "line": 1263, + "line": 1264, "column": 36 } } @@ -262670,15 +262990,15 @@ "updateContext": null }, "value": "=", - "start": 48210, - "end": 48211, + "start": 48863, + "end": 48864, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 37 }, "end": { - "line": 1263, + "line": 1264, "column": 38 } } @@ -262697,15 +263017,15 @@ "updateContext": null }, "value": 1, - "start": 48212, - "end": 48213, + "start": 48865, + "end": 48866, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 39 }, "end": { - "line": 1263, + "line": 1264, "column": 40 } } @@ -262723,15 +263043,15 @@ "binop": null, "updateContext": null }, - "start": 48213, - "end": 48214, + "start": 48866, + "end": 48867, "loc": { "start": { - "line": 1263, + "line": 1264, "column": 40 }, "end": { - "line": 1263, + "line": 1264, "column": 41 } } @@ -262749,15 +263069,15 @@ "binop": null }, "value": "math", - "start": 48239, - "end": 48243, + "start": 48892, + "end": 48896, "loc": { "start": { - "line": 1264, + "line": 1265, "column": 24 }, "end": { - "line": 1264, + "line": 1265, "column": 28 } } @@ -262775,15 +263095,15 @@ "binop": null, "updateContext": null }, - "start": 48243, - "end": 48244, + "start": 48896, + "end": 48897, "loc": { "start": { - "line": 1264, + "line": 1265, "column": 28 }, "end": { - "line": 1264, + "line": 1265, "column": 29 } } @@ -262801,15 +263121,15 @@ "binop": null }, "value": "transformPoint4", - "start": 48244, - "end": 48259, + "start": 48897, + "end": 48912, "loc": { "start": { - "line": 1264, + "line": 1265, "column": 29 }, "end": { - "line": 1264, + "line": 1265, "column": 44 } } @@ -262826,15 +263146,15 @@ "postfix": false, "binop": null }, - "start": 48259, - "end": 48260, + "start": 48912, + "end": 48913, "loc": { "start": { - "line": 1264, + "line": 1265, "column": 44 }, "end": { - "line": 1264, + "line": 1265, "column": 45 } } @@ -262852,15 +263172,15 @@ "binop": null }, "value": "matrix", - "start": 48260, - "end": 48266, + "start": 48913, + "end": 48919, "loc": { "start": { - "line": 1264, + "line": 1265, "column": 45 }, "end": { - "line": 1264, + "line": 1265, "column": 51 } } @@ -262878,15 +263198,15 @@ "binop": null, "updateContext": null }, - "start": 48266, - "end": 48267, + "start": 48919, + "end": 48920, "loc": { "start": { - "line": 1264, + "line": 1265, "column": 51 }, "end": { - "line": 1264, + "line": 1265, "column": 52 } } @@ -262904,15 +263224,15 @@ "binop": null }, "value": "tempVec4a", - "start": 48268, - "end": 48277, + "start": 48921, + "end": 48930, "loc": { "start": { - "line": 1264, + "line": 1265, "column": 53 }, "end": { - "line": 1264, + "line": 1265, "column": 62 } } @@ -262930,15 +263250,15 @@ "binop": null, "updateContext": null }, - "start": 48277, - "end": 48278, + "start": 48930, + "end": 48931, "loc": { "start": { - "line": 1264, + "line": 1265, "column": 62 }, "end": { - "line": 1264, + "line": 1265, "column": 63 } } @@ -262956,15 +263276,15 @@ "binop": null }, "value": "tempVec4b", - "start": 48279, - "end": 48288, + "start": 48932, + "end": 48941, "loc": { "start": { - "line": 1264, + "line": 1265, "column": 64 }, "end": { - "line": 1264, + "line": 1265, "column": 73 } } @@ -262981,15 +263301,15 @@ "postfix": false, "binop": null }, - "start": 48288, - "end": 48289, + "start": 48941, + "end": 48942, "loc": { "start": { - "line": 1264, + "line": 1265, "column": 73 }, "end": { - "line": 1264, + "line": 1265, "column": 74 } } @@ -263007,15 +263327,15 @@ "binop": null, "updateContext": null }, - "start": 48289, - "end": 48290, + "start": 48942, + "end": 48943, "loc": { "start": { - "line": 1264, + "line": 1265, "column": 74 }, "end": { - "line": 1264, + "line": 1265, "column": 75 } } @@ -263033,15 +263353,15 @@ "binop": null }, "value": "math", - "start": 48315, - "end": 48319, + "start": 48968, + "end": 48972, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 24 }, "end": { - "line": 1265, + "line": 1266, "column": 28 } } @@ -263059,15 +263379,15 @@ "binop": null, "updateContext": null }, - "start": 48319, - "end": 48320, + "start": 48972, + "end": 48973, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 28 }, "end": { - "line": 1265, + "line": 1266, "column": 29 } } @@ -263085,15 +263405,15 @@ "binop": null }, "value": "expandAABB3Point3", - "start": 48320, - "end": 48337, + "start": 48973, + "end": 48990, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 29 }, "end": { - "line": 1265, + "line": 1266, "column": 46 } } @@ -263110,15 +263430,15 @@ "postfix": false, "binop": null }, - "start": 48337, - "end": 48338, + "start": 48990, + "end": 48991, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 46 }, "end": { - "line": 1265, + "line": 1266, "column": 47 } } @@ -263136,15 +263456,15 @@ "binop": null }, "value": "entityAABB", - "start": 48338, - "end": 48348, + "start": 48991, + "end": 49001, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 47 }, "end": { - "line": 1265, + "line": 1266, "column": 57 } } @@ -263162,15 +263482,15 @@ "binop": null, "updateContext": null }, - "start": 48348, - "end": 48349, + "start": 49001, + "end": 49002, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 57 }, "end": { - "line": 1265, + "line": 1266, "column": 58 } } @@ -263188,15 +263508,15 @@ "binop": null }, "value": "tempVec4b", - "start": 48350, - "end": 48359, + "start": 49003, + "end": 49012, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 59 }, "end": { - "line": 1265, + "line": 1266, "column": 68 } } @@ -263213,15 +263533,15 @@ "postfix": false, "binop": null }, - "start": 48359, - "end": 48360, + "start": 49012, + "end": 49013, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 68 }, "end": { - "line": 1265, + "line": 1266, "column": 69 } } @@ -263239,15 +263559,15 @@ "binop": null, "updateContext": null }, - "start": 48360, - "end": 48361, + "start": 49013, + "end": 49014, "loc": { "start": { - "line": 1265, + "line": 1266, "column": 69 }, "end": { - "line": 1265, + "line": 1266, "column": 70 } } @@ -263264,15 +263584,15 @@ "postfix": false, "binop": null }, - "start": 48382, - "end": 48383, + "start": 49035, + "end": 49036, "loc": { "start": { - "line": 1266, + "line": 1267, "column": 20 }, "end": { - "line": 1266, + "line": 1267, "column": 21 } } @@ -263289,15 +263609,15 @@ "postfix": false, "binop": null }, - "start": 48401, - "end": 48402, + "start": 49054, + "end": 49055, "loc": { "start": { - "line": 1268, + "line": 1269, "column": 16 }, "end": { - "line": 1268, + "line": 1269, "column": 17 } } @@ -263317,15 +263637,15 @@ "updateContext": null }, "value": "else", - "start": 48403, - "end": 48407, + "start": 49056, + "end": 49060, "loc": { "start": { - "line": 1268, + "line": 1269, "column": 18 }, "end": { - "line": 1268, + "line": 1269, "column": 22 } } @@ -263342,15 +263662,15 @@ "postfix": false, "binop": null }, - "start": 48408, - "end": 48409, + "start": 49061, + "end": 49062, "loc": { "start": { - "line": 1268, + "line": 1269, "column": 23 }, "end": { - "line": 1268, + "line": 1269, "column": 24 } } @@ -263370,15 +263690,15 @@ "updateContext": null }, "value": "const", - "start": 48431, - "end": 48436, + "start": 49084, + "end": 49089, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 20 }, "end": { - "line": 1270, + "line": 1271, "column": 25 } } @@ -263396,15 +263716,15 @@ "binop": null }, "value": "positions", - "start": 48437, - "end": 48446, + "start": 49090, + "end": 49099, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 26 }, "end": { - "line": 1270, + "line": 1271, "column": 35 } } @@ -263423,15 +263743,15 @@ "updateContext": null }, "value": "=", - "start": 48447, - "end": 48448, + "start": 49100, + "end": 49101, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 36 }, "end": { - "line": 1270, + "line": 1271, "column": 37 } } @@ -263449,15 +263769,15 @@ "binop": null }, "value": "geometry", - "start": 48449, - "end": 48457, + "start": 49102, + "end": 49110, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 38 }, "end": { - "line": 1270, + "line": 1271, "column": 46 } } @@ -263475,15 +263795,15 @@ "binop": null, "updateContext": null }, - "start": 48457, - "end": 48458, + "start": 49110, + "end": 49111, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 46 }, "end": { - "line": 1270, + "line": 1271, "column": 47 } } @@ -263501,15 +263821,15 @@ "binop": null }, "value": "positions", - "start": 48458, - "end": 48467, + "start": 49111, + "end": 49120, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 47 }, "end": { - "line": 1270, + "line": 1271, "column": 56 } } @@ -263527,15 +263847,15 @@ "binop": null, "updateContext": null }, - "start": 48467, - "end": 48468, + "start": 49120, + "end": 49121, "loc": { "start": { - "line": 1270, + "line": 1271, "column": 56 }, "end": { - "line": 1270, + "line": 1271, "column": 57 } } @@ -263555,15 +263875,15 @@ "updateContext": null }, "value": "for", - "start": 48489, - "end": 48492, + "start": 49142, + "end": 49145, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 20 }, "end": { - "line": 1271, + "line": 1272, "column": 23 } } @@ -263580,15 +263900,15 @@ "postfix": false, "binop": null }, - "start": 48493, - "end": 48494, + "start": 49146, + "end": 49147, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 24 }, "end": { - "line": 1271, + "line": 1272, "column": 25 } } @@ -263608,15 +263928,15 @@ "updateContext": null }, "value": "let", - "start": 48494, - "end": 48497, + "start": 49147, + "end": 49150, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 25 }, "end": { - "line": 1271, + "line": 1272, "column": 28 } } @@ -263634,15 +263954,15 @@ "binop": null }, "value": "i", - "start": 48498, - "end": 48499, + "start": 49151, + "end": 49152, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 29 }, "end": { - "line": 1271, + "line": 1272, "column": 30 } } @@ -263661,15 +263981,15 @@ "updateContext": null }, "value": "=", - "start": 48500, - "end": 48501, + "start": 49153, + "end": 49154, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 31 }, "end": { - "line": 1271, + "line": 1272, "column": 32 } } @@ -263688,15 +264008,15 @@ "updateContext": null }, "value": 0, - "start": 48502, - "end": 48503, + "start": 49155, + "end": 49156, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 33 }, "end": { - "line": 1271, + "line": 1272, "column": 34 } } @@ -263714,15 +264034,15 @@ "binop": null, "updateContext": null }, - "start": 48503, - "end": 48504, + "start": 49156, + "end": 49157, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 34 }, "end": { - "line": 1271, + "line": 1272, "column": 35 } } @@ -263740,15 +264060,15 @@ "binop": null }, "value": "len", - "start": 48505, - "end": 48508, + "start": 49158, + "end": 49161, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 36 }, "end": { - "line": 1271, + "line": 1272, "column": 39 } } @@ -263767,15 +264087,15 @@ "updateContext": null }, "value": "=", - "start": 48509, - "end": 48510, + "start": 49162, + "end": 49163, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 40 }, "end": { - "line": 1271, + "line": 1272, "column": 41 } } @@ -263793,15 +264113,15 @@ "binop": null }, "value": "positions", - "start": 48511, - "end": 48520, + "start": 49164, + "end": 49173, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 42 }, "end": { - "line": 1271, + "line": 1272, "column": 51 } } @@ -263819,15 +264139,15 @@ "binop": null, "updateContext": null }, - "start": 48520, - "end": 48521, + "start": 49173, + "end": 49174, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 51 }, "end": { - "line": 1271, + "line": 1272, "column": 52 } } @@ -263845,15 +264165,15 @@ "binop": null }, "value": "length", - "start": 48521, - "end": 48527, + "start": 49174, + "end": 49180, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 52 }, "end": { - "line": 1271, + "line": 1272, "column": 58 } } @@ -263871,15 +264191,15 @@ "binop": null, "updateContext": null }, - "start": 48527, - "end": 48528, + "start": 49180, + "end": 49181, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 58 }, "end": { - "line": 1271, + "line": 1272, "column": 59 } } @@ -263897,15 +264217,15 @@ "binop": null }, "value": "i", - "start": 48529, - "end": 48530, + "start": 49182, + "end": 49183, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 60 }, "end": { - "line": 1271, + "line": 1272, "column": 61 } } @@ -263924,15 +264244,15 @@ "updateContext": null }, "value": "<", - "start": 48531, - "end": 48532, + "start": 49184, + "end": 49185, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 62 }, "end": { - "line": 1271, + "line": 1272, "column": 63 } } @@ -263950,15 +264270,15 @@ "binop": null }, "value": "len", - "start": 48533, - "end": 48536, + "start": 49186, + "end": 49189, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 64 }, "end": { - "line": 1271, + "line": 1272, "column": 67 } } @@ -263976,15 +264296,15 @@ "binop": null, "updateContext": null }, - "start": 48536, - "end": 48537, + "start": 49189, + "end": 49190, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 67 }, "end": { - "line": 1271, + "line": 1272, "column": 68 } } @@ -264002,15 +264322,15 @@ "binop": null }, "value": "i", - "start": 48538, - "end": 48539, + "start": 49191, + "end": 49192, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 69 }, "end": { - "line": 1271, + "line": 1272, "column": 70 } } @@ -264029,15 +264349,15 @@ "updateContext": null }, "value": "+=", - "start": 48540, - "end": 48542, + "start": 49193, + "end": 49195, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 71 }, "end": { - "line": 1271, + "line": 1272, "column": 73 } } @@ -264056,15 +264376,15 @@ "updateContext": null }, "value": 3, - "start": 48543, - "end": 48544, + "start": 49196, + "end": 49197, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 74 }, "end": { - "line": 1271, + "line": 1272, "column": 75 } } @@ -264081,15 +264401,15 @@ "postfix": false, "binop": null }, - "start": 48544, - "end": 48545, + "start": 49197, + "end": 49198, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 75 }, "end": { - "line": 1271, + "line": 1272, "column": 76 } } @@ -264106,15 +264426,15 @@ "postfix": false, "binop": null }, - "start": 48546, - "end": 48547, + "start": 49199, + "end": 49200, "loc": { "start": { - "line": 1271, + "line": 1272, "column": 77 }, "end": { - "line": 1271, + "line": 1272, "column": 78 } } @@ -264132,15 +264452,15 @@ "binop": null }, "value": "tempVec4a", - "start": 48572, - "end": 48581, + "start": 49225, + "end": 49234, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 24 }, "end": { - "line": 1272, + "line": 1273, "column": 33 } } @@ -264158,15 +264478,15 @@ "binop": null, "updateContext": null }, - "start": 48581, - "end": 48582, + "start": 49234, + "end": 49235, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 33 }, "end": { - "line": 1272, + "line": 1273, "column": 34 } } @@ -264185,15 +264505,15 @@ "updateContext": null }, "value": 0, - "start": 48582, - "end": 48583, + "start": 49235, + "end": 49236, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 34 }, "end": { - "line": 1272, + "line": 1273, "column": 35 } } @@ -264211,15 +264531,15 @@ "binop": null, "updateContext": null }, - "start": 48583, - "end": 48584, + "start": 49236, + "end": 49237, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 35 }, "end": { - "line": 1272, + "line": 1273, "column": 36 } } @@ -264238,15 +264558,15 @@ "updateContext": null }, "value": "=", - "start": 48585, - "end": 48586, + "start": 49238, + "end": 49239, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 37 }, "end": { - "line": 1272, + "line": 1273, "column": 38 } } @@ -264264,15 +264584,15 @@ "binop": null }, "value": "positions", - "start": 48587, - "end": 48596, + "start": 49240, + "end": 49249, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 39 }, "end": { - "line": 1272, + "line": 1273, "column": 48 } } @@ -264290,15 +264610,15 @@ "binop": null, "updateContext": null }, - "start": 48596, - "end": 48597, + "start": 49249, + "end": 49250, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 48 }, "end": { - "line": 1272, + "line": 1273, "column": 49 } } @@ -264316,15 +264636,15 @@ "binop": null }, "value": "i", - "start": 48597, - "end": 48598, + "start": 49250, + "end": 49251, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 49 }, "end": { - "line": 1272, + "line": 1273, "column": 50 } } @@ -264343,15 +264663,15 @@ "updateContext": null }, "value": "+", - "start": 48599, - "end": 48600, + "start": 49252, + "end": 49253, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 51 }, "end": { - "line": 1272, + "line": 1273, "column": 52 } } @@ -264370,15 +264690,15 @@ "updateContext": null }, "value": 0, - "start": 48601, - "end": 48602, + "start": 49254, + "end": 49255, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 53 }, "end": { - "line": 1272, + "line": 1273, "column": 54 } } @@ -264396,15 +264716,15 @@ "binop": null, "updateContext": null }, - "start": 48602, - "end": 48603, + "start": 49255, + "end": 49256, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 54 }, "end": { - "line": 1272, + "line": 1273, "column": 55 } } @@ -264422,15 +264742,15 @@ "binop": null, "updateContext": null }, - "start": 48603, - "end": 48604, + "start": 49256, + "end": 49257, "loc": { "start": { - "line": 1272, + "line": 1273, "column": 55 }, "end": { - "line": 1272, + "line": 1273, "column": 56 } } @@ -264448,15 +264768,15 @@ "binop": null }, "value": "tempVec4a", - "start": 48629, - "end": 48638, + "start": 49282, + "end": 49291, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 24 }, "end": { - "line": 1273, + "line": 1274, "column": 33 } } @@ -264474,15 +264794,15 @@ "binop": null, "updateContext": null }, - "start": 48638, - "end": 48639, + "start": 49291, + "end": 49292, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 33 }, "end": { - "line": 1273, + "line": 1274, "column": 34 } } @@ -264501,15 +264821,15 @@ "updateContext": null }, "value": 1, - "start": 48639, - "end": 48640, + "start": 49292, + "end": 49293, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 34 }, "end": { - "line": 1273, + "line": 1274, "column": 35 } } @@ -264527,15 +264847,15 @@ "binop": null, "updateContext": null }, - "start": 48640, - "end": 48641, + "start": 49293, + "end": 49294, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 35 }, "end": { - "line": 1273, + "line": 1274, "column": 36 } } @@ -264554,15 +264874,15 @@ "updateContext": null }, "value": "=", - "start": 48642, - "end": 48643, + "start": 49295, + "end": 49296, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 37 }, "end": { - "line": 1273, + "line": 1274, "column": 38 } } @@ -264580,15 +264900,15 @@ "binop": null }, "value": "positions", - "start": 48644, - "end": 48653, + "start": 49297, + "end": 49306, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 39 }, "end": { - "line": 1273, + "line": 1274, "column": 48 } } @@ -264606,15 +264926,15 @@ "binop": null, "updateContext": null }, - "start": 48653, - "end": 48654, + "start": 49306, + "end": 49307, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 48 }, "end": { - "line": 1273, + "line": 1274, "column": 49 } } @@ -264632,15 +264952,15 @@ "binop": null }, "value": "i", - "start": 48654, - "end": 48655, + "start": 49307, + "end": 49308, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 49 }, "end": { - "line": 1273, + "line": 1274, "column": 50 } } @@ -264659,15 +264979,15 @@ "updateContext": null }, "value": "+", - "start": 48656, - "end": 48657, + "start": 49309, + "end": 49310, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 51 }, "end": { - "line": 1273, + "line": 1274, "column": 52 } } @@ -264686,15 +265006,15 @@ "updateContext": null }, "value": 1, - "start": 48658, - "end": 48659, + "start": 49311, + "end": 49312, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 53 }, "end": { - "line": 1273, + "line": 1274, "column": 54 } } @@ -264712,15 +265032,15 @@ "binop": null, "updateContext": null }, - "start": 48659, - "end": 48660, + "start": 49312, + "end": 49313, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 54 }, "end": { - "line": 1273, + "line": 1274, "column": 55 } } @@ -264738,15 +265058,15 @@ "binop": null, "updateContext": null }, - "start": 48660, - "end": 48661, + "start": 49313, + "end": 49314, "loc": { "start": { - "line": 1273, + "line": 1274, "column": 55 }, "end": { - "line": 1273, + "line": 1274, "column": 56 } } @@ -264764,15 +265084,15 @@ "binop": null }, "value": "tempVec4a", - "start": 48686, - "end": 48695, + "start": 49339, + "end": 49348, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 24 }, "end": { - "line": 1274, + "line": 1275, "column": 33 } } @@ -264790,15 +265110,15 @@ "binop": null, "updateContext": null }, - "start": 48695, - "end": 48696, + "start": 49348, + "end": 49349, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 33 }, "end": { - "line": 1274, + "line": 1275, "column": 34 } } @@ -264817,15 +265137,15 @@ "updateContext": null }, "value": 2, - "start": 48696, - "end": 48697, + "start": 49349, + "end": 49350, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 34 }, "end": { - "line": 1274, + "line": 1275, "column": 35 } } @@ -264843,15 +265163,15 @@ "binop": null, "updateContext": null }, - "start": 48697, - "end": 48698, + "start": 49350, + "end": 49351, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 35 }, "end": { - "line": 1274, + "line": 1275, "column": 36 } } @@ -264870,15 +265190,15 @@ "updateContext": null }, "value": "=", - "start": 48699, - "end": 48700, + "start": 49352, + "end": 49353, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 37 }, "end": { - "line": 1274, + "line": 1275, "column": 38 } } @@ -264896,15 +265216,15 @@ "binop": null }, "value": "positions", - "start": 48701, - "end": 48710, + "start": 49354, + "end": 49363, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 39 }, "end": { - "line": 1274, + "line": 1275, "column": 48 } } @@ -264922,15 +265242,15 @@ "binop": null, "updateContext": null }, - "start": 48710, - "end": 48711, + "start": 49363, + "end": 49364, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 48 }, "end": { - "line": 1274, + "line": 1275, "column": 49 } } @@ -264948,15 +265268,15 @@ "binop": null }, "value": "i", - "start": 48711, - "end": 48712, + "start": 49364, + "end": 49365, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 49 }, "end": { - "line": 1274, + "line": 1275, "column": 50 } } @@ -264975,15 +265295,15 @@ "updateContext": null }, "value": "+", - "start": 48713, - "end": 48714, + "start": 49366, + "end": 49367, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 51 }, "end": { - "line": 1274, + "line": 1275, "column": 52 } } @@ -265002,15 +265322,15 @@ "updateContext": null }, "value": 2, - "start": 48715, - "end": 48716, + "start": 49368, + "end": 49369, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 53 }, "end": { - "line": 1274, + "line": 1275, "column": 54 } } @@ -265028,15 +265348,15 @@ "binop": null, "updateContext": null }, - "start": 48716, - "end": 48717, + "start": 49369, + "end": 49370, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 54 }, "end": { - "line": 1274, + "line": 1275, "column": 55 } } @@ -265054,15 +265374,15 @@ "binop": null, "updateContext": null }, - "start": 48717, - "end": 48718, + "start": 49370, + "end": 49371, "loc": { "start": { - "line": 1274, + "line": 1275, "column": 55 }, "end": { - "line": 1274, + "line": 1275, "column": 56 } } @@ -265080,15 +265400,15 @@ "binop": null }, "value": "math", - "start": 48743, - "end": 48747, + "start": 49396, + "end": 49400, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 24 }, "end": { - "line": 1275, + "line": 1276, "column": 28 } } @@ -265106,15 +265426,15 @@ "binop": null, "updateContext": null }, - "start": 48747, - "end": 48748, + "start": 49400, + "end": 49401, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 28 }, "end": { - "line": 1275, + "line": 1276, "column": 29 } } @@ -265132,15 +265452,15 @@ "binop": null }, "value": "expandAABB3Point3", - "start": 48748, - "end": 48765, + "start": 49401, + "end": 49418, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 29 }, "end": { - "line": 1275, + "line": 1276, "column": 46 } } @@ -265157,15 +265477,15 @@ "postfix": false, "binop": null }, - "start": 48765, - "end": 48766, + "start": 49418, + "end": 49419, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 46 }, "end": { - "line": 1275, + "line": 1276, "column": 47 } } @@ -265183,15 +265503,15 @@ "binop": null }, "value": "entityAABB", - "start": 48766, - "end": 48776, + "start": 49419, + "end": 49429, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 47 }, "end": { - "line": 1275, + "line": 1276, "column": 57 } } @@ -265209,15 +265529,15 @@ "binop": null, "updateContext": null }, - "start": 48776, - "end": 48777, + "start": 49429, + "end": 49430, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 57 }, "end": { - "line": 1275, + "line": 1276, "column": 58 } } @@ -265235,15 +265555,15 @@ "binop": null }, "value": "tempVec4a", - "start": 48778, - "end": 48787, + "start": 49431, + "end": 49440, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 59 }, "end": { - "line": 1275, + "line": 1276, "column": 68 } } @@ -265260,15 +265580,15 @@ "postfix": false, "binop": null }, - "start": 48787, - "end": 48788, + "start": 49440, + "end": 49441, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 68 }, "end": { - "line": 1275, + "line": 1276, "column": 69 } } @@ -265286,15 +265606,15 @@ "binop": null, "updateContext": null }, - "start": 48788, - "end": 48789, + "start": 49441, + "end": 49442, "loc": { "start": { - "line": 1275, + "line": 1276, "column": 69 }, "end": { - "line": 1275, + "line": 1276, "column": 70 } } @@ -265311,15 +265631,15 @@ "postfix": false, "binop": null }, - "start": 48810, - "end": 48811, + "start": 49463, + "end": 49464, "loc": { "start": { - "line": 1276, + "line": 1277, "column": 20 }, "end": { - "line": 1276, + "line": 1277, "column": 21 } } @@ -265336,15 +265656,15 @@ "postfix": false, "binop": null }, - "start": 48828, - "end": 48829, + "start": 49481, + "end": 49482, "loc": { "start": { - "line": 1277, + "line": 1278, "column": 16 }, "end": { - "line": 1277, + "line": 1278, "column": 17 } } @@ -265361,15 +265681,15 @@ "postfix": false, "binop": null }, - "start": 48842, - "end": 48843, + "start": 49495, + "end": 49496, "loc": { "start": { - "line": 1278, + "line": 1279, "column": 12 }, "end": { - "line": 1278, + "line": 1279, "column": 13 } } @@ -265386,15 +265706,15 @@ "postfix": false, "binop": null }, - "start": 48852, - "end": 48853, + "start": 49505, + "end": 49506, "loc": { "start": { - "line": 1279, + "line": 1280, "column": 8 }, "end": { - "line": 1279, + "line": 1280, "column": 9 } } @@ -265411,15 +265731,15 @@ "postfix": false, "binop": null }, - "start": 48858, - "end": 48859, + "start": 49511, + "end": 49512, "loc": { "start": { - "line": 1280, + "line": 1281, "column": 4 }, "end": { - "line": 1280, + "line": 1281, "column": 5 } } @@ -265437,15 +265757,15 @@ "binop": null }, "value": "_createKDTree", - "start": 48865, - "end": 48878, + "start": 49518, + "end": 49531, "loc": { "start": { - "line": 1282, + "line": 1283, "column": 4 }, "end": { - "line": 1282, + "line": 1283, "column": 17 } } @@ -265462,15 +265782,15 @@ "postfix": false, "binop": null }, - "start": 48878, - "end": 48879, + "start": 49531, + "end": 49532, "loc": { "start": { - "line": 1282, + "line": 1283, "column": 17 }, "end": { - "line": 1282, + "line": 1283, "column": 18 } } @@ -265487,15 +265807,15 @@ "postfix": false, "binop": null }, - "start": 48879, - "end": 48880, + "start": 49532, + "end": 49533, "loc": { "start": { - "line": 1282, + "line": 1283, "column": 18 }, "end": { - "line": 1282, + "line": 1283, "column": 19 } } @@ -265512,15 +265832,15 @@ "postfix": false, "binop": null }, - "start": 48881, - "end": 48882, + "start": 49534, + "end": 49535, "loc": { "start": { - "line": 1282, + "line": 1283, "column": 20 }, "end": { - "line": 1282, + "line": 1283, "column": 21 } } @@ -265540,15 +265860,15 @@ "updateContext": null }, "value": "let", - "start": 48892, - "end": 48895, + "start": 49545, + "end": 49548, "loc": { "start": { - "line": 1284, + "line": 1285, "column": 8 }, "end": { - "line": 1284, + "line": 1285, "column": 11 } } @@ -265566,15 +265886,15 @@ "binop": null }, "value": "aabb", - "start": 48896, - "end": 48900, + "start": 49549, + "end": 49553, "loc": { "start": { - "line": 1284, + "line": 1285, "column": 12 }, "end": { - "line": 1284, + "line": 1285, "column": 16 } } @@ -265592,15 +265912,15 @@ "binop": null, "updateContext": null }, - "start": 48900, - "end": 48901, + "start": 49553, + "end": 49554, "loc": { "start": { - "line": 1284, + "line": 1285, "column": 16 }, "end": { - "line": 1284, + "line": 1285, "column": 17 } } @@ -265620,15 +265940,15 @@ "updateContext": null }, "value": "if", - "start": 48910, - "end": 48912, + "start": 49563, + "end": 49565, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 8 }, "end": { - "line": 1285, + "line": 1286, "column": 10 } } @@ -265645,15 +265965,15 @@ "postfix": false, "binop": null }, - "start": 48913, - "end": 48914, + "start": 49566, + "end": 49567, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 11 }, "end": { - "line": 1285, + "line": 1286, "column": 12 } } @@ -265673,15 +265993,15 @@ "updateContext": null }, "value": "this", - "start": 48914, - "end": 48918, + "start": 49567, + "end": 49571, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 12 }, "end": { - "line": 1285, + "line": 1286, "column": 16 } } @@ -265699,15 +266019,15 @@ "binop": null, "updateContext": null }, - "start": 48918, - "end": 48919, + "start": 49571, + "end": 49572, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 16 }, "end": { - "line": 1285, + "line": 1286, "column": 17 } } @@ -265725,15 +266045,15 @@ "binop": null }, "value": "modelAABB", - "start": 48919, - "end": 48928, + "start": 49572, + "end": 49581, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 17 }, "end": { - "line": 1285, + "line": 1286, "column": 26 } } @@ -265750,15 +266070,15 @@ "postfix": false, "binop": null }, - "start": 48928, - "end": 48929, + "start": 49581, + "end": 49582, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 26 }, "end": { - "line": 1285, + "line": 1286, "column": 27 } } @@ -265775,15 +266095,15 @@ "postfix": false, "binop": null }, - "start": 48930, - "end": 48931, + "start": 49583, + "end": 49584, "loc": { "start": { - "line": 1285, + "line": 1286, "column": 28 }, "end": { - "line": 1285, + "line": 1286, "column": 29 } } @@ -265801,15 +266121,15 @@ "binop": null }, "value": "aabb", - "start": 48944, - "end": 48948, + "start": 49597, + "end": 49601, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 12 }, "end": { - "line": 1286, + "line": 1287, "column": 16 } } @@ -265828,15 +266148,15 @@ "updateContext": null }, "value": "=", - "start": 48949, - "end": 48950, + "start": 49602, + "end": 49603, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 17 }, "end": { - "line": 1286, + "line": 1287, "column": 18 } } @@ -265856,15 +266176,15 @@ "updateContext": null }, "value": "this", - "start": 48951, - "end": 48955, + "start": 49604, + "end": 49608, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 19 }, "end": { - "line": 1286, + "line": 1287, "column": 23 } } @@ -265882,15 +266202,15 @@ "binop": null, "updateContext": null }, - "start": 48955, - "end": 48956, + "start": 49608, + "end": 49609, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 23 }, "end": { - "line": 1286, + "line": 1287, "column": 24 } } @@ -265908,15 +266228,15 @@ "binop": null }, "value": "modelAABB", - "start": 48956, - "end": 48965, + "start": 49609, + "end": 49618, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 24 }, "end": { - "line": 1286, + "line": 1287, "column": 33 } } @@ -265934,15 +266254,15 @@ "binop": null, "updateContext": null }, - "start": 48965, - "end": 48966, + "start": 49618, + "end": 49619, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 33 }, "end": { - "line": 1286, + "line": 1287, "column": 34 } } @@ -265950,15 +266270,15 @@ { "type": "CommentLine", "value": " Pre-known uber AABB", - "start": 48967, - "end": 48989, + "start": 49620, + "end": 49642, "loc": { "start": { - "line": 1286, + "line": 1287, "column": 35 }, "end": { - "line": 1286, + "line": 1287, "column": 57 } } @@ -265975,15 +266295,15 @@ "postfix": false, "binop": null }, - "start": 48998, - "end": 48999, + "start": 49651, + "end": 49652, "loc": { "start": { - "line": 1287, + "line": 1288, "column": 8 }, "end": { - "line": 1287, + "line": 1288, "column": 9 } } @@ -266003,15 +266323,15 @@ "updateContext": null }, "value": "else", - "start": 49000, - "end": 49004, + "start": 49653, + "end": 49657, "loc": { "start": { - "line": 1287, + "line": 1288, "column": 10 }, "end": { - "line": 1287, + "line": 1288, "column": 14 } } @@ -266028,15 +266348,15 @@ "postfix": false, "binop": null }, - "start": 49005, - "end": 49006, + "start": 49658, + "end": 49659, "loc": { "start": { - "line": 1287, + "line": 1288, "column": 15 }, "end": { - "line": 1287, + "line": 1288, "column": 16 } } @@ -266054,15 +266374,15 @@ "binop": null }, "value": "aabb", - "start": 49019, - "end": 49023, + "start": 49672, + "end": 49676, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 12 }, "end": { - "line": 1288, + "line": 1289, "column": 16 } } @@ -266081,15 +266401,15 @@ "updateContext": null }, "value": "=", - "start": 49024, - "end": 49025, + "start": 49677, + "end": 49678, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 17 }, "end": { - "line": 1288, + "line": 1289, "column": 18 } } @@ -266107,15 +266427,15 @@ "binop": null }, "value": "math", - "start": 49026, - "end": 49030, + "start": 49679, + "end": 49683, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 19 }, "end": { - "line": 1288, + "line": 1289, "column": 23 } } @@ -266133,15 +266453,15 @@ "binop": null, "updateContext": null }, - "start": 49030, - "end": 49031, + "start": 49683, + "end": 49684, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 23 }, "end": { - "line": 1288, + "line": 1289, "column": 24 } } @@ -266159,15 +266479,15 @@ "binop": null }, "value": "collapseAABB3", - "start": 49031, - "end": 49044, + "start": 49684, + "end": 49697, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 24 }, "end": { - "line": 1288, + "line": 1289, "column": 37 } } @@ -266184,15 +266504,15 @@ "postfix": false, "binop": null }, - "start": 49044, - "end": 49045, + "start": 49697, + "end": 49698, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 37 }, "end": { - "line": 1288, + "line": 1289, "column": 38 } } @@ -266209,15 +266529,15 @@ "postfix": false, "binop": null }, - "start": 49045, - "end": 49046, + "start": 49698, + "end": 49699, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 38 }, "end": { - "line": 1288, + "line": 1289, "column": 39 } } @@ -266235,15 +266555,15 @@ "binop": null, "updateContext": null }, - "start": 49046, - "end": 49047, + "start": 49699, + "end": 49700, "loc": { "start": { - "line": 1288, + "line": 1289, "column": 39 }, "end": { - "line": 1288, + "line": 1289, "column": 40 } } @@ -266263,15 +266583,15 @@ "updateContext": null }, "value": "for", - "start": 49060, - "end": 49063, + "start": 49713, + "end": 49716, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 12 }, "end": { - "line": 1289, + "line": 1290, "column": 15 } } @@ -266288,15 +266608,15 @@ "postfix": false, "binop": null }, - "start": 49064, - "end": 49065, + "start": 49717, + "end": 49718, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 16 }, "end": { - "line": 1289, + "line": 1290, "column": 17 } } @@ -266316,15 +266636,15 @@ "updateContext": null }, "value": "let", - "start": 49065, - "end": 49068, + "start": 49718, + "end": 49721, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 17 }, "end": { - "line": 1289, + "line": 1290, "column": 20 } } @@ -266342,15 +266662,15 @@ "binop": null }, "value": "i", - "start": 49069, - "end": 49070, + "start": 49722, + "end": 49723, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 21 }, "end": { - "line": 1289, + "line": 1290, "column": 22 } } @@ -266369,15 +266689,15 @@ "updateContext": null }, "value": "=", - "start": 49071, - "end": 49072, + "start": 49724, + "end": 49725, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 23 }, "end": { - "line": 1289, + "line": 1290, "column": 24 } } @@ -266396,15 +266716,15 @@ "updateContext": null }, "value": 0, - "start": 49073, - "end": 49074, + "start": 49726, + "end": 49727, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 25 }, "end": { - "line": 1289, + "line": 1290, "column": 26 } } @@ -266422,15 +266742,15 @@ "binop": null, "updateContext": null }, - "start": 49074, - "end": 49075, + "start": 49727, + "end": 49728, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 26 }, "end": { - "line": 1289, + "line": 1290, "column": 27 } } @@ -266448,15 +266768,15 @@ "binop": null }, "value": "len", - "start": 49076, - "end": 49079, + "start": 49729, + "end": 49732, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 28 }, "end": { - "line": 1289, + "line": 1290, "column": 31 } } @@ -266475,15 +266795,15 @@ "updateContext": null }, "value": "=", - "start": 49080, - "end": 49081, + "start": 49733, + "end": 49734, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 32 }, "end": { - "line": 1289, + "line": 1290, "column": 33 } } @@ -266503,15 +266823,15 @@ "updateContext": null }, "value": "this", - "start": 49082, - "end": 49086, + "start": 49735, + "end": 49739, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 34 }, "end": { - "line": 1289, + "line": 1290, "column": 38 } } @@ -266529,15 +266849,15 @@ "binop": null, "updateContext": null }, - "start": 49086, - "end": 49087, + "start": 49739, + "end": 49740, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 38 }, "end": { - "line": 1289, + "line": 1290, "column": 39 } } @@ -266555,15 +266875,15 @@ "binop": null }, "value": "entitiesList", - "start": 49087, - "end": 49099, + "start": 49740, + "end": 49752, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 39 }, "end": { - "line": 1289, + "line": 1290, "column": 51 } } @@ -266581,15 +266901,15 @@ "binop": null, "updateContext": null }, - "start": 49099, - "end": 49100, + "start": 49752, + "end": 49753, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 51 }, "end": { - "line": 1289, + "line": 1290, "column": 52 } } @@ -266607,15 +266927,15 @@ "binop": null }, "value": "length", - "start": 49100, - "end": 49106, + "start": 49753, + "end": 49759, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 52 }, "end": { - "line": 1289, + "line": 1290, "column": 58 } } @@ -266633,15 +266953,15 @@ "binop": null, "updateContext": null }, - "start": 49106, - "end": 49107, + "start": 49759, + "end": 49760, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 58 }, "end": { - "line": 1289, + "line": 1290, "column": 59 } } @@ -266659,15 +266979,15 @@ "binop": null }, "value": "i", - "start": 49108, - "end": 49109, + "start": 49761, + "end": 49762, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 60 }, "end": { - "line": 1289, + "line": 1290, "column": 61 } } @@ -266686,15 +267006,15 @@ "updateContext": null }, "value": "<", - "start": 49110, - "end": 49111, + "start": 49763, + "end": 49764, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 62 }, "end": { - "line": 1289, + "line": 1290, "column": 63 } } @@ -266712,15 +267032,15 @@ "binop": null }, "value": "len", - "start": 49112, - "end": 49115, + "start": 49765, + "end": 49768, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 64 }, "end": { - "line": 1289, + "line": 1290, "column": 67 } } @@ -266738,15 +267058,15 @@ "binop": null, "updateContext": null }, - "start": 49115, - "end": 49116, + "start": 49768, + "end": 49769, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 67 }, "end": { - "line": 1289, + "line": 1290, "column": 68 } } @@ -266764,15 +267084,15 @@ "binop": null }, "value": "i", - "start": 49117, - "end": 49118, + "start": 49770, + "end": 49771, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 69 }, "end": { - "line": 1289, + "line": 1290, "column": 70 } } @@ -266790,15 +267110,15 @@ "binop": null }, "value": "++", - "start": 49118, - "end": 49120, + "start": 49771, + "end": 49773, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 70 }, "end": { - "line": 1289, + "line": 1290, "column": 72 } } @@ -266815,15 +267135,15 @@ "postfix": false, "binop": null }, - "start": 49120, - "end": 49121, + "start": 49773, + "end": 49774, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 72 }, "end": { - "line": 1289, + "line": 1290, "column": 73 } } @@ -266840,15 +267160,15 @@ "postfix": false, "binop": null }, - "start": 49122, - "end": 49123, + "start": 49775, + "end": 49776, "loc": { "start": { - "line": 1289, + "line": 1290, "column": 74 }, "end": { - "line": 1289, + "line": 1290, "column": 75 } } @@ -266868,15 +267188,15 @@ "updateContext": null }, "value": "const", - "start": 49140, - "end": 49145, + "start": 49793, + "end": 49798, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 16 }, "end": { - "line": 1290, + "line": 1291, "column": 21 } } @@ -266894,15 +267214,15 @@ "binop": null }, "value": "entity", - "start": 49146, - "end": 49152, + "start": 49799, + "end": 49805, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 22 }, "end": { - "line": 1290, + "line": 1291, "column": 28 } } @@ -266921,15 +267241,15 @@ "updateContext": null }, "value": "=", - "start": 49153, - "end": 49154, + "start": 49806, + "end": 49807, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 29 }, "end": { - "line": 1290, + "line": 1291, "column": 30 } } @@ -266949,15 +267269,15 @@ "updateContext": null }, "value": "this", - "start": 49155, - "end": 49159, + "start": 49808, + "end": 49812, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 31 }, "end": { - "line": 1290, + "line": 1291, "column": 35 } } @@ -266975,15 +267295,15 @@ "binop": null, "updateContext": null }, - "start": 49159, - "end": 49160, + "start": 49812, + "end": 49813, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 35 }, "end": { - "line": 1290, + "line": 1291, "column": 36 } } @@ -267001,15 +267321,15 @@ "binop": null }, "value": "entitiesList", - "start": 49160, - "end": 49172, + "start": 49813, + "end": 49825, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 36 }, "end": { - "line": 1290, + "line": 1291, "column": 48 } } @@ -267027,15 +267347,15 @@ "binop": null, "updateContext": null }, - "start": 49172, - "end": 49173, + "start": 49825, + "end": 49826, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 48 }, "end": { - "line": 1290, + "line": 1291, "column": 49 } } @@ -267053,15 +267373,15 @@ "binop": null }, "value": "i", - "start": 49173, - "end": 49174, + "start": 49826, + "end": 49827, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 49 }, "end": { - "line": 1290, + "line": 1291, "column": 50 } } @@ -267079,15 +267399,15 @@ "binop": null, "updateContext": null }, - "start": 49174, - "end": 49175, + "start": 49827, + "end": 49828, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 50 }, "end": { - "line": 1290, + "line": 1291, "column": 51 } } @@ -267105,15 +267425,15 @@ "binop": null, "updateContext": null }, - "start": 49175, - "end": 49176, + "start": 49828, + "end": 49829, "loc": { "start": { - "line": 1290, + "line": 1291, "column": 51 }, "end": { - "line": 1290, + "line": 1291, "column": 52 } } @@ -267131,15 +267451,15 @@ "binop": null }, "value": "math", - "start": 49193, - "end": 49197, + "start": 49846, + "end": 49850, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 16 }, "end": { - "line": 1291, + "line": 1292, "column": 20 } } @@ -267157,15 +267477,15 @@ "binop": null, "updateContext": null }, - "start": 49197, - "end": 49198, + "start": 49850, + "end": 49851, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 20 }, "end": { - "line": 1291, + "line": 1292, "column": 21 } } @@ -267183,15 +267503,15 @@ "binop": null }, "value": "expandAABB3", - "start": 49198, - "end": 49209, + "start": 49851, + "end": 49862, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 21 }, "end": { - "line": 1291, + "line": 1292, "column": 32 } } @@ -267208,15 +267528,15 @@ "postfix": false, "binop": null }, - "start": 49209, - "end": 49210, + "start": 49862, + "end": 49863, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 32 }, "end": { - "line": 1291, + "line": 1292, "column": 33 } } @@ -267234,15 +267554,15 @@ "binop": null }, "value": "aabb", - "start": 49210, - "end": 49214, + "start": 49863, + "end": 49867, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 33 }, "end": { - "line": 1291, + "line": 1292, "column": 37 } } @@ -267260,15 +267580,15 @@ "binop": null, "updateContext": null }, - "start": 49214, - "end": 49215, + "start": 49867, + "end": 49868, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 37 }, "end": { - "line": 1291, + "line": 1292, "column": 38 } } @@ -267286,15 +267606,15 @@ "binop": null }, "value": "entity", - "start": 49216, - "end": 49222, + "start": 49869, + "end": 49875, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 39 }, "end": { - "line": 1291, + "line": 1292, "column": 45 } } @@ -267312,15 +267632,15 @@ "binop": null, "updateContext": null }, - "start": 49222, - "end": 49223, + "start": 49875, + "end": 49876, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 45 }, "end": { - "line": 1291, + "line": 1292, "column": 46 } } @@ -267338,15 +267658,15 @@ "binop": null }, "value": "aabb", - "start": 49223, - "end": 49227, + "start": 49876, + "end": 49880, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 46 }, "end": { - "line": 1291, + "line": 1292, "column": 50 } } @@ -267363,15 +267683,15 @@ "postfix": false, "binop": null }, - "start": 49227, - "end": 49228, + "start": 49880, + "end": 49881, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 50 }, "end": { - "line": 1291, + "line": 1292, "column": 51 } } @@ -267389,15 +267709,15 @@ "binop": null, "updateContext": null }, - "start": 49228, - "end": 49229, + "start": 49881, + "end": 49882, "loc": { "start": { - "line": 1291, + "line": 1292, "column": 51 }, "end": { - "line": 1291, + "line": 1292, "column": 52 } } @@ -267414,15 +267734,15 @@ "postfix": false, "binop": null }, - "start": 49242, - "end": 49243, + "start": 49895, + "end": 49896, "loc": { "start": { - "line": 1292, + "line": 1293, "column": 12 }, "end": { - "line": 1292, + "line": 1293, "column": 13 } } @@ -267439,15 +267759,15 @@ "postfix": false, "binop": null }, - "start": 49252, - "end": 49253, + "start": 49905, + "end": 49906, "loc": { "start": { - "line": 1293, + "line": 1294, "column": 8 }, "end": { - "line": 1293, + "line": 1294, "column": 9 } } @@ -267467,15 +267787,15 @@ "updateContext": null }, "value": "const", - "start": 49263, - "end": 49268, + "start": 49916, + "end": 49921, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 8 }, "end": { - "line": 1295, + "line": 1296, "column": 13 } } @@ -267493,15 +267813,15 @@ "binop": null }, "value": "rootKDNode", - "start": 49269, - "end": 49279, + "start": 49922, + "end": 49932, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 14 }, "end": { - "line": 1295, + "line": 1296, "column": 24 } } @@ -267520,15 +267840,15 @@ "updateContext": null }, "value": "=", - "start": 49280, - "end": 49281, + "start": 49933, + "end": 49934, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 25 }, "end": { - "line": 1295, + "line": 1296, "column": 26 } } @@ -267548,15 +267868,15 @@ "updateContext": null }, "value": "new", - "start": 49282, - "end": 49285, + "start": 49935, + "end": 49938, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 27 }, "end": { - "line": 1295, + "line": 1296, "column": 30 } } @@ -267574,15 +267894,15 @@ "binop": null }, "value": "KDNode", - "start": 49286, - "end": 49292, + "start": 49939, + "end": 49945, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 31 }, "end": { - "line": 1295, + "line": 1296, "column": 37 } } @@ -267599,15 +267919,15 @@ "postfix": false, "binop": null }, - "start": 49292, - "end": 49293, + "start": 49945, + "end": 49946, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 37 }, "end": { - "line": 1295, + "line": 1296, "column": 38 } } @@ -267625,15 +267945,15 @@ "binop": null }, "value": "aabb", - "start": 49293, - "end": 49297, + "start": 49946, + "end": 49950, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 38 }, "end": { - "line": 1295, + "line": 1296, "column": 42 } } @@ -267650,15 +267970,15 @@ "postfix": false, "binop": null }, - "start": 49297, - "end": 49298, + "start": 49950, + "end": 49951, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 42 }, "end": { - "line": 1295, + "line": 1296, "column": 43 } } @@ -267676,15 +267996,15 @@ "binop": null, "updateContext": null }, - "start": 49298, - "end": 49299, + "start": 49951, + "end": 49952, "loc": { "start": { - "line": 1295, + "line": 1296, "column": 43 }, "end": { - "line": 1295, + "line": 1296, "column": 44 } } @@ -267704,15 +268024,15 @@ "updateContext": null }, "value": "for", - "start": 49309, - "end": 49312, + "start": 49962, + "end": 49965, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 8 }, "end": { - "line": 1297, + "line": 1298, "column": 11 } } @@ -267729,15 +268049,15 @@ "postfix": false, "binop": null }, - "start": 49313, - "end": 49314, + "start": 49966, + "end": 49967, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 12 }, "end": { - "line": 1297, + "line": 1298, "column": 13 } } @@ -267757,15 +268077,15 @@ "updateContext": null }, "value": "let", - "start": 49314, - "end": 49317, + "start": 49967, + "end": 49970, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 13 }, "end": { - "line": 1297, + "line": 1298, "column": 16 } } @@ -267783,15 +268103,15 @@ "binop": null }, "value": "i", - "start": 49318, - "end": 49319, + "start": 49971, + "end": 49972, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 17 }, "end": { - "line": 1297, + "line": 1298, "column": 18 } } @@ -267810,15 +268130,15 @@ "updateContext": null }, "value": "=", - "start": 49320, - "end": 49321, + "start": 49973, + "end": 49974, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 19 }, "end": { - "line": 1297, + "line": 1298, "column": 20 } } @@ -267837,15 +268157,15 @@ "updateContext": null }, "value": 0, - "start": 49322, - "end": 49323, + "start": 49975, + "end": 49976, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 21 }, "end": { - "line": 1297, + "line": 1298, "column": 22 } } @@ -267863,15 +268183,15 @@ "binop": null, "updateContext": null }, - "start": 49323, - "end": 49324, + "start": 49976, + "end": 49977, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 22 }, "end": { - "line": 1297, + "line": 1298, "column": 23 } } @@ -267889,15 +268209,15 @@ "binop": null }, "value": "len", - "start": 49325, - "end": 49328, + "start": 49978, + "end": 49981, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 24 }, "end": { - "line": 1297, + "line": 1298, "column": 27 } } @@ -267916,15 +268236,15 @@ "updateContext": null }, "value": "=", - "start": 49329, - "end": 49330, + "start": 49982, + "end": 49983, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 28 }, "end": { - "line": 1297, + "line": 1298, "column": 29 } } @@ -267944,15 +268264,15 @@ "updateContext": null }, "value": "this", - "start": 49331, - "end": 49335, + "start": 49984, + "end": 49988, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 30 }, "end": { - "line": 1297, + "line": 1298, "column": 34 } } @@ -267970,15 +268290,15 @@ "binop": null, "updateContext": null }, - "start": 49335, - "end": 49336, + "start": 49988, + "end": 49989, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 34 }, "end": { - "line": 1297, + "line": 1298, "column": 35 } } @@ -267996,15 +268316,15 @@ "binop": null }, "value": "entitiesList", - "start": 49336, - "end": 49348, + "start": 49989, + "end": 50001, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 35 }, "end": { - "line": 1297, + "line": 1298, "column": 47 } } @@ -268022,15 +268342,15 @@ "binop": null, "updateContext": null }, - "start": 49348, - "end": 49349, + "start": 50001, + "end": 50002, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 47 }, "end": { - "line": 1297, + "line": 1298, "column": 48 } } @@ -268048,15 +268368,15 @@ "binop": null }, "value": "length", - "start": 49349, - "end": 49355, + "start": 50002, + "end": 50008, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 48 }, "end": { - "line": 1297, + "line": 1298, "column": 54 } } @@ -268074,15 +268394,15 @@ "binop": null, "updateContext": null }, - "start": 49355, - "end": 49356, + "start": 50008, + "end": 50009, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 54 }, "end": { - "line": 1297, + "line": 1298, "column": 55 } } @@ -268100,15 +268420,15 @@ "binop": null }, "value": "i", - "start": 49357, - "end": 49358, + "start": 50010, + "end": 50011, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 56 }, "end": { - "line": 1297, + "line": 1298, "column": 57 } } @@ -268127,15 +268447,15 @@ "updateContext": null }, "value": "<", - "start": 49359, - "end": 49360, + "start": 50012, + "end": 50013, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 58 }, "end": { - "line": 1297, + "line": 1298, "column": 59 } } @@ -268153,15 +268473,15 @@ "binop": null }, "value": "len", - "start": 49361, - "end": 49364, + "start": 50014, + "end": 50017, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 60 }, "end": { - "line": 1297, + "line": 1298, "column": 63 } } @@ -268179,15 +268499,15 @@ "binop": null, "updateContext": null }, - "start": 49364, - "end": 49365, + "start": 50017, + "end": 50018, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 63 }, "end": { - "line": 1297, + "line": 1298, "column": 64 } } @@ -268205,15 +268525,15 @@ "binop": null }, "value": "i", - "start": 49366, - "end": 49367, + "start": 50019, + "end": 50020, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 65 }, "end": { - "line": 1297, + "line": 1298, "column": 66 } } @@ -268231,15 +268551,15 @@ "binop": null }, "value": "++", - "start": 49367, - "end": 49369, + "start": 50020, + "end": 50022, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 66 }, "end": { - "line": 1297, + "line": 1298, "column": 68 } } @@ -268256,15 +268576,15 @@ "postfix": false, "binop": null }, - "start": 49369, - "end": 49370, + "start": 50022, + "end": 50023, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 68 }, "end": { - "line": 1297, + "line": 1298, "column": 69 } } @@ -268281,15 +268601,15 @@ "postfix": false, "binop": null }, - "start": 49371, - "end": 49372, + "start": 50024, + "end": 50025, "loc": { "start": { - "line": 1297, + "line": 1298, "column": 70 }, "end": { - "line": 1297, + "line": 1298, "column": 71 } } @@ -268309,15 +268629,15 @@ "updateContext": null }, "value": "const", - "start": 49385, - "end": 49390, + "start": 50038, + "end": 50043, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 12 }, "end": { - "line": 1298, + "line": 1299, "column": 17 } } @@ -268335,15 +268655,15 @@ "binop": null }, "value": "entity", - "start": 49391, - "end": 49397, + "start": 50044, + "end": 50050, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 18 }, "end": { - "line": 1298, + "line": 1299, "column": 24 } } @@ -268362,15 +268682,15 @@ "updateContext": null }, "value": "=", - "start": 49398, - "end": 49399, + "start": 50051, + "end": 50052, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 25 }, "end": { - "line": 1298, + "line": 1299, "column": 26 } } @@ -268390,15 +268710,15 @@ "updateContext": null }, "value": "this", - "start": 49400, - "end": 49404, + "start": 50053, + "end": 50057, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 27 }, "end": { - "line": 1298, + "line": 1299, "column": 31 } } @@ -268416,15 +268736,15 @@ "binop": null, "updateContext": null }, - "start": 49404, - "end": 49405, + "start": 50057, + "end": 50058, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 31 }, "end": { - "line": 1298, + "line": 1299, "column": 32 } } @@ -268442,15 +268762,15 @@ "binop": null }, "value": "entitiesList", - "start": 49405, - "end": 49417, + "start": 50058, + "end": 50070, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 32 }, "end": { - "line": 1298, + "line": 1299, "column": 44 } } @@ -268468,15 +268788,15 @@ "binop": null, "updateContext": null }, - "start": 49417, - "end": 49418, + "start": 50070, + "end": 50071, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 44 }, "end": { - "line": 1298, + "line": 1299, "column": 45 } } @@ -268494,15 +268814,15 @@ "binop": null }, "value": "i", - "start": 49418, - "end": 49419, + "start": 50071, + "end": 50072, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 45 }, "end": { - "line": 1298, + "line": 1299, "column": 46 } } @@ -268520,15 +268840,15 @@ "binop": null, "updateContext": null }, - "start": 49419, - "end": 49420, + "start": 50072, + "end": 50073, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 46 }, "end": { - "line": 1298, + "line": 1299, "column": 47 } } @@ -268546,15 +268866,15 @@ "binop": null, "updateContext": null }, - "start": 49420, - "end": 49421, + "start": 50073, + "end": 50074, "loc": { "start": { - "line": 1298, + "line": 1299, "column": 47 }, "end": { - "line": 1298, + "line": 1299, "column": 48 } } @@ -268574,15 +268894,15 @@ "updateContext": null }, "value": "this", - "start": 49434, - "end": 49438, + "start": 50087, + "end": 50091, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 12 }, "end": { - "line": 1299, + "line": 1300, "column": 16 } } @@ -268600,15 +268920,15 @@ "binop": null, "updateContext": null }, - "start": 49438, - "end": 49439, + "start": 50091, + "end": 50092, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 16 }, "end": { - "line": 1299, + "line": 1300, "column": 17 } } @@ -268626,15 +268946,15 @@ "binop": null }, "value": "_insertEntityIntoKDTree", - "start": 49439, - "end": 49462, + "start": 50092, + "end": 50115, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 17 }, "end": { - "line": 1299, + "line": 1300, "column": 40 } } @@ -268651,15 +268971,15 @@ "postfix": false, "binop": null }, - "start": 49462, - "end": 49463, + "start": 50115, + "end": 50116, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 40 }, "end": { - "line": 1299, + "line": 1300, "column": 41 } } @@ -268677,15 +268997,15 @@ "binop": null }, "value": "rootKDNode", - "start": 49463, - "end": 49473, + "start": 50116, + "end": 50126, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 41 }, "end": { - "line": 1299, + "line": 1300, "column": 51 } } @@ -268703,15 +269023,15 @@ "binop": null, "updateContext": null }, - "start": 49473, - "end": 49474, + "start": 50126, + "end": 50127, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 51 }, "end": { - "line": 1299, + "line": 1300, "column": 52 } } @@ -268729,15 +269049,15 @@ "binop": null }, "value": "entity", - "start": 49475, - "end": 49481, + "start": 50128, + "end": 50134, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 53 }, "end": { - "line": 1299, + "line": 1300, "column": 59 } } @@ -268754,15 +269074,15 @@ "postfix": false, "binop": null }, - "start": 49481, - "end": 49482, + "start": 50134, + "end": 50135, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 59 }, "end": { - "line": 1299, + "line": 1300, "column": 60 } } @@ -268780,15 +269100,15 @@ "binop": null, "updateContext": null }, - "start": 49482, - "end": 49483, + "start": 50135, + "end": 50136, "loc": { "start": { - "line": 1299, + "line": 1300, "column": 60 }, "end": { - "line": 1299, + "line": 1300, "column": 61 } } @@ -268805,15 +269125,15 @@ "postfix": false, "binop": null }, - "start": 49492, - "end": 49493, + "start": 50145, + "end": 50146, "loc": { "start": { - "line": 1300, + "line": 1301, "column": 8 }, "end": { - "line": 1300, + "line": 1301, "column": 9 } } @@ -268833,15 +269153,15 @@ "updateContext": null }, "value": "return", - "start": 49503, - "end": 49509, + "start": 50156, + "end": 50162, "loc": { "start": { - "line": 1302, + "line": 1303, "column": 8 }, "end": { - "line": 1302, + "line": 1303, "column": 14 } } @@ -268859,15 +269179,15 @@ "binop": null }, "value": "rootKDNode", - "start": 49510, - "end": 49520, + "start": 50163, + "end": 50173, "loc": { "start": { - "line": 1302, + "line": 1303, "column": 15 }, "end": { - "line": 1302, + "line": 1303, "column": 25 } } @@ -268885,15 +269205,15 @@ "binop": null, "updateContext": null }, - "start": 49520, - "end": 49521, + "start": 50173, + "end": 50174, "loc": { "start": { - "line": 1302, + "line": 1303, "column": 25 }, "end": { - "line": 1302, + "line": 1303, "column": 26 } } @@ -268910,15 +269230,15 @@ "postfix": false, "binop": null }, - "start": 49526, - "end": 49527, + "start": 50179, + "end": 50180, "loc": { "start": { - "line": 1303, + "line": 1304, "column": 4 }, "end": { - "line": 1303, + "line": 1304, "column": 5 } } @@ -268936,15 +269256,15 @@ "binop": null }, "value": "_insertEntityIntoKDTree", - "start": 49533, - "end": 49556, + "start": 50186, + "end": 50209, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 4 }, "end": { - "line": 1305, + "line": 1306, "column": 27 } } @@ -268961,15 +269281,15 @@ "postfix": false, "binop": null }, - "start": 49556, - "end": 49557, + "start": 50209, + "end": 50210, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 27 }, "end": { - "line": 1305, + "line": 1306, "column": 28 } } @@ -268987,15 +269307,15 @@ "binop": null }, "value": "kdNode", - "start": 49557, - "end": 49563, + "start": 50210, + "end": 50216, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 28 }, "end": { - "line": 1305, + "line": 1306, "column": 34 } } @@ -269013,15 +269333,15 @@ "binop": null, "updateContext": null }, - "start": 49563, - "end": 49564, + "start": 50216, + "end": 50217, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 34 }, "end": { - "line": 1305, + "line": 1306, "column": 35 } } @@ -269039,15 +269359,15 @@ "binop": null }, "value": "entity", - "start": 49565, - "end": 49571, + "start": 50218, + "end": 50224, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 36 }, "end": { - "line": 1305, + "line": 1306, "column": 42 } } @@ -269064,15 +269384,15 @@ "postfix": false, "binop": null }, - "start": 49571, - "end": 49572, + "start": 50224, + "end": 50225, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 42 }, "end": { - "line": 1305, + "line": 1306, "column": 43 } } @@ -269089,15 +269409,15 @@ "postfix": false, "binop": null }, - "start": 49573, - "end": 49574, + "start": 50226, + "end": 50227, "loc": { "start": { - "line": 1305, + "line": 1306, "column": 44 }, "end": { - "line": 1305, + "line": 1306, "column": 45 } } @@ -269117,15 +269437,15 @@ "updateContext": null }, "value": "const", - "start": 49584, - "end": 49589, + "start": 50237, + "end": 50242, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 8 }, "end": { - "line": 1307, + "line": 1308, "column": 13 } } @@ -269143,15 +269463,15 @@ "binop": null }, "value": "nodeAABB", - "start": 49590, - "end": 49598, + "start": 50243, + "end": 50251, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 14 }, "end": { - "line": 1307, + "line": 1308, "column": 22 } } @@ -269170,15 +269490,15 @@ "updateContext": null }, "value": "=", - "start": 49599, - "end": 49600, + "start": 50252, + "end": 50253, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 23 }, "end": { - "line": 1307, + "line": 1308, "column": 24 } } @@ -269196,15 +269516,15 @@ "binop": null }, "value": "kdNode", - "start": 49601, - "end": 49607, + "start": 50254, + "end": 50260, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 25 }, "end": { - "line": 1307, + "line": 1308, "column": 31 } } @@ -269222,15 +269542,15 @@ "binop": null, "updateContext": null }, - "start": 49607, - "end": 49608, + "start": 50260, + "end": 50261, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 31 }, "end": { - "line": 1307, + "line": 1308, "column": 32 } } @@ -269248,15 +269568,15 @@ "binop": null }, "value": "aabb", - "start": 49608, - "end": 49612, + "start": 50261, + "end": 50265, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 32 }, "end": { - "line": 1307, + "line": 1308, "column": 36 } } @@ -269274,15 +269594,15 @@ "binop": null, "updateContext": null }, - "start": 49612, - "end": 49613, + "start": 50265, + "end": 50266, "loc": { "start": { - "line": 1307, + "line": 1308, "column": 36 }, "end": { - "line": 1307, + "line": 1308, "column": 37 } } @@ -269302,15 +269622,15 @@ "updateContext": null }, "value": "const", - "start": 49622, - "end": 49627, + "start": 50275, + "end": 50280, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 8 }, "end": { - "line": 1308, + "line": 1309, "column": 13 } } @@ -269328,15 +269648,15 @@ "binop": null }, "value": "entityAABB", - "start": 49628, - "end": 49638, + "start": 50281, + "end": 50291, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 14 }, "end": { - "line": 1308, + "line": 1309, "column": 24 } } @@ -269355,15 +269675,15 @@ "updateContext": null }, "value": "=", - "start": 49639, - "end": 49640, + "start": 50292, + "end": 50293, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 25 }, "end": { - "line": 1308, + "line": 1309, "column": 26 } } @@ -269381,15 +269701,15 @@ "binop": null }, "value": "entity", - "start": 49641, - "end": 49647, + "start": 50294, + "end": 50300, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 27 }, "end": { - "line": 1308, + "line": 1309, "column": 33 } } @@ -269407,15 +269727,15 @@ "binop": null, "updateContext": null }, - "start": 49647, - "end": 49648, + "start": 50300, + "end": 50301, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 33 }, "end": { - "line": 1308, + "line": 1309, "column": 34 } } @@ -269433,15 +269753,15 @@ "binop": null }, "value": "aabb", - "start": 49648, - "end": 49652, + "start": 50301, + "end": 50305, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 34 }, "end": { - "line": 1308, + "line": 1309, "column": 38 } } @@ -269459,15 +269779,15 @@ "binop": null, "updateContext": null }, - "start": 49652, - "end": 49653, + "start": 50305, + "end": 50306, "loc": { "start": { - "line": 1308, + "line": 1309, "column": 38 }, "end": { - "line": 1308, + "line": 1309, "column": 39 } } @@ -269487,15 +269807,15 @@ "updateContext": null }, "value": "const", - "start": 49663, - "end": 49668, + "start": 50316, + "end": 50321, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 8 }, "end": { - "line": 1310, + "line": 1311, "column": 13 } } @@ -269513,15 +269833,15 @@ "binop": null }, "value": "nodeAABBDiag", - "start": 49669, - "end": 49681, + "start": 50322, + "end": 50334, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 14 }, "end": { - "line": 1310, + "line": 1311, "column": 26 } } @@ -269540,15 +269860,15 @@ "updateContext": null }, "value": "=", - "start": 49682, - "end": 49683, + "start": 50335, + "end": 50336, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 27 }, "end": { - "line": 1310, + "line": 1311, "column": 28 } } @@ -269566,15 +269886,15 @@ "binop": null }, "value": "math", - "start": 49684, - "end": 49688, + "start": 50337, + "end": 50341, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 29 }, "end": { - "line": 1310, + "line": 1311, "column": 33 } } @@ -269592,15 +269912,15 @@ "binop": null, "updateContext": null }, - "start": 49688, - "end": 49689, + "start": 50341, + "end": 50342, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 33 }, "end": { - "line": 1310, + "line": 1311, "column": 34 } } @@ -269618,15 +269938,15 @@ "binop": null }, "value": "getAABB3Diag", - "start": 49689, - "end": 49701, + "start": 50342, + "end": 50354, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 34 }, "end": { - "line": 1310, + "line": 1311, "column": 46 } } @@ -269643,15 +269963,15 @@ "postfix": false, "binop": null }, - "start": 49701, - "end": 49702, + "start": 50354, + "end": 50355, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 46 }, "end": { - "line": 1310, + "line": 1311, "column": 47 } } @@ -269669,15 +269989,15 @@ "binop": null }, "value": "nodeAABB", - "start": 49702, - "end": 49710, + "start": 50355, + "end": 50363, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 47 }, "end": { - "line": 1310, + "line": 1311, "column": 55 } } @@ -269694,15 +270014,15 @@ "postfix": false, "binop": null }, - "start": 49710, - "end": 49711, + "start": 50363, + "end": 50364, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 55 }, "end": { - "line": 1310, + "line": 1311, "column": 56 } } @@ -269720,15 +270040,15 @@ "binop": null, "updateContext": null }, - "start": 49711, - "end": 49712, + "start": 50364, + "end": 50365, "loc": { "start": { - "line": 1310, + "line": 1311, "column": 56 }, "end": { - "line": 1310, + "line": 1311, "column": 57 } } @@ -269748,15 +270068,15 @@ "updateContext": null }, "value": "if", - "start": 49722, - "end": 49724, + "start": 50375, + "end": 50377, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 8 }, "end": { - "line": 1312, + "line": 1313, "column": 10 } } @@ -269773,15 +270093,15 @@ "postfix": false, "binop": null }, - "start": 49725, - "end": 49726, + "start": 50378, + "end": 50379, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 11 }, "end": { - "line": 1312, + "line": 1313, "column": 12 } } @@ -269799,15 +270119,15 @@ "binop": null }, "value": "nodeAABBDiag", - "start": 49726, - "end": 49738, + "start": 50379, + "end": 50391, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 12 }, "end": { - "line": 1312, + "line": 1313, "column": 24 } } @@ -269826,15 +270146,15 @@ "updateContext": null }, "value": "<", - "start": 49739, - "end": 49740, + "start": 50392, + "end": 50393, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 25 }, "end": { - "line": 1312, + "line": 1313, "column": 26 } } @@ -269854,15 +270174,15 @@ "updateContext": null }, "value": "this", - "start": 49741, - "end": 49745, + "start": 50394, + "end": 50398, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 27 }, "end": { - "line": 1312, + "line": 1313, "column": 31 } } @@ -269880,15 +270200,15 @@ "binop": null, "updateContext": null }, - "start": 49745, - "end": 49746, + "start": 50398, + "end": 50399, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 31 }, "end": { - "line": 1312, + "line": 1313, "column": 32 } } @@ -269906,15 +270226,15 @@ "binop": null }, "value": "minTileSize", - "start": 49746, - "end": 49757, + "start": 50399, + "end": 50410, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 32 }, "end": { - "line": 1312, + "line": 1313, "column": 43 } } @@ -269931,15 +270251,15 @@ "postfix": false, "binop": null }, - "start": 49757, - "end": 49758, + "start": 50410, + "end": 50411, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 43 }, "end": { - "line": 1312, + "line": 1313, "column": 44 } } @@ -269956,15 +270276,15 @@ "postfix": false, "binop": null }, - "start": 49759, - "end": 49760, + "start": 50412, + "end": 50413, "loc": { "start": { - "line": 1312, + "line": 1313, "column": 45 }, "end": { - "line": 1312, + "line": 1313, "column": 46 } } @@ -269982,15 +270302,15 @@ "binop": null }, "value": "kdNode", - "start": 49773, - "end": 49779, + "start": 50426, + "end": 50432, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 12 }, "end": { - "line": 1313, + "line": 1314, "column": 18 } } @@ -270008,15 +270328,15 @@ "binop": null, "updateContext": null }, - "start": 49779, - "end": 49780, + "start": 50432, + "end": 50433, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 18 }, "end": { - "line": 1313, + "line": 1314, "column": 19 } } @@ -270034,15 +270354,15 @@ "binop": null }, "value": "entities", - "start": 49780, - "end": 49788, + "start": 50433, + "end": 50441, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 19 }, "end": { - "line": 1313, + "line": 1314, "column": 27 } } @@ -270061,15 +270381,15 @@ "updateContext": null }, "value": "=", - "start": 49789, - "end": 49790, + "start": 50442, + "end": 50443, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 28 }, "end": { - "line": 1313, + "line": 1314, "column": 29 } } @@ -270087,15 +270407,15 @@ "binop": null }, "value": "kdNode", - "start": 49791, - "end": 49797, + "start": 50444, + "end": 50450, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 30 }, "end": { - "line": 1313, + "line": 1314, "column": 36 } } @@ -270113,15 +270433,15 @@ "binop": null, "updateContext": null }, - "start": 49797, - "end": 49798, + "start": 50450, + "end": 50451, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 36 }, "end": { - "line": 1313, + "line": 1314, "column": 37 } } @@ -270139,15 +270459,15 @@ "binop": null }, "value": "entities", - "start": 49798, - "end": 49806, + "start": 50451, + "end": 50459, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 37 }, "end": { - "line": 1313, + "line": 1314, "column": 45 } } @@ -270166,15 +270486,15 @@ "updateContext": null }, "value": "||", - "start": 49807, - "end": 49809, + "start": 50460, + "end": 50462, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 46 }, "end": { - "line": 1313, + "line": 1314, "column": 48 } } @@ -270192,15 +270512,15 @@ "binop": null, "updateContext": null }, - "start": 49810, - "end": 49811, + "start": 50463, + "end": 50464, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 49 }, "end": { - "line": 1313, + "line": 1314, "column": 50 } } @@ -270218,15 +270538,15 @@ "binop": null, "updateContext": null }, - "start": 49811, - "end": 49812, + "start": 50464, + "end": 50465, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 50 }, "end": { - "line": 1313, + "line": 1314, "column": 51 } } @@ -270244,15 +270564,15 @@ "binop": null, "updateContext": null }, - "start": 49812, - "end": 49813, + "start": 50465, + "end": 50466, "loc": { "start": { - "line": 1313, + "line": 1314, "column": 51 }, "end": { - "line": 1313, + "line": 1314, "column": 52 } } @@ -270270,15 +270590,15 @@ "binop": null }, "value": "kdNode", - "start": 49826, - "end": 49832, + "start": 50479, + "end": 50485, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 12 }, "end": { - "line": 1314, + "line": 1315, "column": 18 } } @@ -270296,15 +270616,15 @@ "binop": null, "updateContext": null }, - "start": 49832, - "end": 49833, + "start": 50485, + "end": 50486, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 18 }, "end": { - "line": 1314, + "line": 1315, "column": 19 } } @@ -270322,15 +270642,15 @@ "binop": null }, "value": "entities", - "start": 49833, - "end": 49841, + "start": 50486, + "end": 50494, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 19 }, "end": { - "line": 1314, + "line": 1315, "column": 27 } } @@ -270348,15 +270668,15 @@ "binop": null, "updateContext": null }, - "start": 49841, - "end": 49842, + "start": 50494, + "end": 50495, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 27 }, "end": { - "line": 1314, + "line": 1315, "column": 28 } } @@ -270374,15 +270694,15 @@ "binop": null }, "value": "push", - "start": 49842, - "end": 49846, + "start": 50495, + "end": 50499, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 28 }, "end": { - "line": 1314, + "line": 1315, "column": 32 } } @@ -270399,15 +270719,15 @@ "postfix": false, "binop": null }, - "start": 49846, - "end": 49847, + "start": 50499, + "end": 50500, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 32 }, "end": { - "line": 1314, + "line": 1315, "column": 33 } } @@ -270425,15 +270745,15 @@ "binop": null }, "value": "entity", - "start": 49847, - "end": 49853, + "start": 50500, + "end": 50506, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 33 }, "end": { - "line": 1314, + "line": 1315, "column": 39 } } @@ -270450,15 +270770,15 @@ "postfix": false, "binop": null }, - "start": 49853, - "end": 49854, + "start": 50506, + "end": 50507, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 39 }, "end": { - "line": 1314, + "line": 1315, "column": 40 } } @@ -270476,15 +270796,15 @@ "binop": null, "updateContext": null }, - "start": 49854, - "end": 49855, + "start": 50507, + "end": 50508, "loc": { "start": { - "line": 1314, + "line": 1315, "column": 40 }, "end": { - "line": 1314, + "line": 1315, "column": 41 } } @@ -270502,15 +270822,15 @@ "binop": null }, "value": "math", - "start": 49868, - "end": 49872, + "start": 50521, + "end": 50525, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 12 }, "end": { - "line": 1315, + "line": 1316, "column": 16 } } @@ -270528,15 +270848,15 @@ "binop": null, "updateContext": null }, - "start": 49872, - "end": 49873, + "start": 50525, + "end": 50526, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 16 }, "end": { - "line": 1315, + "line": 1316, "column": 17 } } @@ -270554,15 +270874,15 @@ "binop": null }, "value": "expandAABB3", - "start": 49873, - "end": 49884, + "start": 50526, + "end": 50537, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 17 }, "end": { - "line": 1315, + "line": 1316, "column": 28 } } @@ -270579,15 +270899,15 @@ "postfix": false, "binop": null }, - "start": 49884, - "end": 49885, + "start": 50537, + "end": 50538, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 28 }, "end": { - "line": 1315, + "line": 1316, "column": 29 } } @@ -270605,15 +270925,15 @@ "binop": null }, "value": "nodeAABB", - "start": 49885, - "end": 49893, + "start": 50538, + "end": 50546, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 29 }, "end": { - "line": 1315, + "line": 1316, "column": 37 } } @@ -270631,15 +270951,15 @@ "binop": null, "updateContext": null }, - "start": 49893, - "end": 49894, + "start": 50546, + "end": 50547, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 37 }, "end": { - "line": 1315, + "line": 1316, "column": 38 } } @@ -270657,15 +270977,15 @@ "binop": null }, "value": "entityAABB", - "start": 49895, - "end": 49905, + "start": 50548, + "end": 50558, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 39 }, "end": { - "line": 1315, + "line": 1316, "column": 49 } } @@ -270682,15 +271002,15 @@ "postfix": false, "binop": null }, - "start": 49905, - "end": 49906, + "start": 50558, + "end": 50559, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 49 }, "end": { - "line": 1315, + "line": 1316, "column": 50 } } @@ -270708,15 +271028,15 @@ "binop": null, "updateContext": null }, - "start": 49906, - "end": 49907, + "start": 50559, + "end": 50560, "loc": { "start": { - "line": 1315, + "line": 1316, "column": 50 }, "end": { - "line": 1315, + "line": 1316, "column": 51 } } @@ -270736,15 +271056,15 @@ "updateContext": null }, "value": "return", - "start": 49920, - "end": 49926, + "start": 50573, + "end": 50579, "loc": { "start": { - "line": 1316, + "line": 1317, "column": 12 }, "end": { - "line": 1316, + "line": 1317, "column": 18 } } @@ -270762,15 +271082,15 @@ "binop": null, "updateContext": null }, - "start": 49926, - "end": 49927, + "start": 50579, + "end": 50580, "loc": { "start": { - "line": 1316, + "line": 1317, "column": 18 }, "end": { - "line": 1316, + "line": 1317, "column": 19 } } @@ -270787,15 +271107,15 @@ "postfix": false, "binop": null }, - "start": 49936, - "end": 49937, + "start": 50589, + "end": 50590, "loc": { "start": { - "line": 1317, + "line": 1318, "column": 8 }, "end": { - "line": 1317, + "line": 1318, "column": 9 } } @@ -270815,15 +271135,15 @@ "updateContext": null }, "value": "if", - "start": 49947, - "end": 49949, + "start": 50600, + "end": 50602, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 8 }, "end": { - "line": 1319, + "line": 1320, "column": 10 } } @@ -270840,15 +271160,15 @@ "postfix": false, "binop": null }, - "start": 49950, - "end": 49951, + "start": 50603, + "end": 50604, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 11 }, "end": { - "line": 1319, + "line": 1320, "column": 12 } } @@ -270866,15 +271186,15 @@ "binop": null }, "value": "kdNode", - "start": 49951, - "end": 49957, + "start": 50604, + "end": 50610, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 12 }, "end": { - "line": 1319, + "line": 1320, "column": 18 } } @@ -270892,15 +271212,15 @@ "binop": null, "updateContext": null }, - "start": 49957, - "end": 49958, + "start": 50610, + "end": 50611, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 18 }, "end": { - "line": 1319, + "line": 1320, "column": 19 } } @@ -270918,15 +271238,15 @@ "binop": null }, "value": "left", - "start": 49958, - "end": 49962, + "start": 50611, + "end": 50615, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 19 }, "end": { - "line": 1319, + "line": 1320, "column": 23 } } @@ -270943,15 +271263,15 @@ "postfix": false, "binop": null }, - "start": 49962, - "end": 49963, + "start": 50615, + "end": 50616, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 23 }, "end": { - "line": 1319, + "line": 1320, "column": 24 } } @@ -270968,15 +271288,15 @@ "postfix": false, "binop": null }, - "start": 49964, - "end": 49965, + "start": 50617, + "end": 50618, "loc": { "start": { - "line": 1319, + "line": 1320, "column": 25 }, "end": { - "line": 1319, + "line": 1320, "column": 26 } } @@ -270996,15 +271316,15 @@ "updateContext": null }, "value": "if", - "start": 49978, - "end": 49980, + "start": 50631, + "end": 50633, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 12 }, "end": { - "line": 1320, + "line": 1321, "column": 14 } } @@ -271021,15 +271341,15 @@ "postfix": false, "binop": null }, - "start": 49981, - "end": 49982, + "start": 50634, + "end": 50635, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 15 }, "end": { - "line": 1320, + "line": 1321, "column": 16 } } @@ -271047,15 +271367,15 @@ "binop": null }, "value": "math", - "start": 49982, - "end": 49986, + "start": 50635, + "end": 50639, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 16 }, "end": { - "line": 1320, + "line": 1321, "column": 20 } } @@ -271073,15 +271393,15 @@ "binop": null, "updateContext": null }, - "start": 49986, - "end": 49987, + "start": 50639, + "end": 50640, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 20 }, "end": { - "line": 1320, + "line": 1321, "column": 21 } } @@ -271099,15 +271419,15 @@ "binop": null }, "value": "containsAABB3", - "start": 49987, - "end": 50000, + "start": 50640, + "end": 50653, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 21 }, "end": { - "line": 1320, + "line": 1321, "column": 34 } } @@ -271124,15 +271444,15 @@ "postfix": false, "binop": null }, - "start": 50000, - "end": 50001, + "start": 50653, + "end": 50654, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 34 }, "end": { - "line": 1320, + "line": 1321, "column": 35 } } @@ -271150,15 +271470,15 @@ "binop": null }, "value": "kdNode", - "start": 50001, - "end": 50007, + "start": 50654, + "end": 50660, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 35 }, "end": { - "line": 1320, + "line": 1321, "column": 41 } } @@ -271176,15 +271496,15 @@ "binop": null, "updateContext": null }, - "start": 50007, - "end": 50008, + "start": 50660, + "end": 50661, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 41 }, "end": { - "line": 1320, + "line": 1321, "column": 42 } } @@ -271202,15 +271522,15 @@ "binop": null }, "value": "left", - "start": 50008, - "end": 50012, + "start": 50661, + "end": 50665, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 42 }, "end": { - "line": 1320, + "line": 1321, "column": 46 } } @@ -271228,15 +271548,15 @@ "binop": null, "updateContext": null }, - "start": 50012, - "end": 50013, + "start": 50665, + "end": 50666, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 46 }, "end": { - "line": 1320, + "line": 1321, "column": 47 } } @@ -271254,15 +271574,15 @@ "binop": null }, "value": "aabb", - "start": 50013, - "end": 50017, + "start": 50666, + "end": 50670, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 47 }, "end": { - "line": 1320, + "line": 1321, "column": 51 } } @@ -271280,15 +271600,15 @@ "binop": null, "updateContext": null }, - "start": 50017, - "end": 50018, + "start": 50670, + "end": 50671, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 51 }, "end": { - "line": 1320, + "line": 1321, "column": 52 } } @@ -271306,15 +271626,15 @@ "binop": null }, "value": "entityAABB", - "start": 50019, - "end": 50029, + "start": 50672, + "end": 50682, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 53 }, "end": { - "line": 1320, + "line": 1321, "column": 63 } } @@ -271331,15 +271651,15 @@ "postfix": false, "binop": null }, - "start": 50029, - "end": 50030, + "start": 50682, + "end": 50683, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 63 }, "end": { - "line": 1320, + "line": 1321, "column": 64 } } @@ -271356,15 +271676,15 @@ "postfix": false, "binop": null }, - "start": 50030, - "end": 50031, + "start": 50683, + "end": 50684, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 64 }, "end": { - "line": 1320, + "line": 1321, "column": 65 } } @@ -271381,15 +271701,15 @@ "postfix": false, "binop": null }, - "start": 50032, - "end": 50033, + "start": 50685, + "end": 50686, "loc": { "start": { - "line": 1320, + "line": 1321, "column": 66 }, "end": { - "line": 1320, + "line": 1321, "column": 67 } } @@ -271409,15 +271729,15 @@ "updateContext": null }, "value": "this", - "start": 50050, - "end": 50054, + "start": 50703, + "end": 50707, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 16 }, "end": { - "line": 1321, + "line": 1322, "column": 20 } } @@ -271435,15 +271755,15 @@ "binop": null, "updateContext": null }, - "start": 50054, - "end": 50055, + "start": 50707, + "end": 50708, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 20 }, "end": { - "line": 1321, + "line": 1322, "column": 21 } } @@ -271461,15 +271781,15 @@ "binop": null }, "value": "_insertEntityIntoKDTree", - "start": 50055, - "end": 50078, + "start": 50708, + "end": 50731, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 21 }, "end": { - "line": 1321, + "line": 1322, "column": 44 } } @@ -271486,15 +271806,15 @@ "postfix": false, "binop": null }, - "start": 50078, - "end": 50079, + "start": 50731, + "end": 50732, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 44 }, "end": { - "line": 1321, + "line": 1322, "column": 45 } } @@ -271512,15 +271832,15 @@ "binop": null }, "value": "kdNode", - "start": 50079, - "end": 50085, + "start": 50732, + "end": 50738, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 45 }, "end": { - "line": 1321, + "line": 1322, "column": 51 } } @@ -271538,15 +271858,15 @@ "binop": null, "updateContext": null }, - "start": 50085, - "end": 50086, + "start": 50738, + "end": 50739, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 51 }, "end": { - "line": 1321, + "line": 1322, "column": 52 } } @@ -271564,15 +271884,15 @@ "binop": null }, "value": "left", - "start": 50086, - "end": 50090, + "start": 50739, + "end": 50743, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 52 }, "end": { - "line": 1321, + "line": 1322, "column": 56 } } @@ -271590,15 +271910,15 @@ "binop": null, "updateContext": null }, - "start": 50090, - "end": 50091, + "start": 50743, + "end": 50744, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 56 }, "end": { - "line": 1321, + "line": 1322, "column": 57 } } @@ -271616,15 +271936,15 @@ "binop": null }, "value": "entity", - "start": 50092, - "end": 50098, + "start": 50745, + "end": 50751, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 58 }, "end": { - "line": 1321, + "line": 1322, "column": 64 } } @@ -271641,15 +271961,15 @@ "postfix": false, "binop": null }, - "start": 50098, - "end": 50099, + "start": 50751, + "end": 50752, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 64 }, "end": { - "line": 1321, + "line": 1322, "column": 65 } } @@ -271667,15 +271987,15 @@ "binop": null, "updateContext": null }, - "start": 50099, - "end": 50100, + "start": 50752, + "end": 50753, "loc": { "start": { - "line": 1321, + "line": 1322, "column": 65 }, "end": { - "line": 1321, + "line": 1322, "column": 66 } } @@ -271695,15 +272015,15 @@ "updateContext": null }, "value": "return", - "start": 50117, - "end": 50123, + "start": 50770, + "end": 50776, "loc": { "start": { - "line": 1322, + "line": 1323, "column": 16 }, "end": { - "line": 1322, + "line": 1323, "column": 22 } } @@ -271721,15 +272041,15 @@ "binop": null, "updateContext": null }, - "start": 50123, - "end": 50124, + "start": 50776, + "end": 50777, "loc": { "start": { - "line": 1322, + "line": 1323, "column": 22 }, "end": { - "line": 1322, + "line": 1323, "column": 23 } } @@ -271746,15 +272066,15 @@ "postfix": false, "binop": null }, - "start": 50137, - "end": 50138, + "start": 50790, + "end": 50791, "loc": { "start": { - "line": 1323, + "line": 1324, "column": 12 }, "end": { - "line": 1323, + "line": 1324, "column": 13 } } @@ -271771,15 +272091,15 @@ "postfix": false, "binop": null }, - "start": 50147, - "end": 50148, + "start": 50800, + "end": 50801, "loc": { "start": { - "line": 1324, + "line": 1325, "column": 8 }, "end": { - "line": 1324, + "line": 1325, "column": 9 } } @@ -271799,15 +272119,15 @@ "updateContext": null }, "value": "if", - "start": 50158, - "end": 50160, + "start": 50811, + "end": 50813, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 8 }, "end": { - "line": 1326, + "line": 1327, "column": 10 } } @@ -271824,15 +272144,15 @@ "postfix": false, "binop": null }, - "start": 50161, - "end": 50162, + "start": 50814, + "end": 50815, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 11 }, "end": { - "line": 1326, + "line": 1327, "column": 12 } } @@ -271850,15 +272170,15 @@ "binop": null }, "value": "kdNode", - "start": 50162, - "end": 50168, + "start": 50815, + "end": 50821, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 12 }, "end": { - "line": 1326, + "line": 1327, "column": 18 } } @@ -271876,15 +272196,15 @@ "binop": null, "updateContext": null }, - "start": 50168, - "end": 50169, + "start": 50821, + "end": 50822, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 18 }, "end": { - "line": 1326, + "line": 1327, "column": 19 } } @@ -271902,15 +272222,15 @@ "binop": null }, "value": "right", - "start": 50169, - "end": 50174, + "start": 50822, + "end": 50827, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 19 }, "end": { - "line": 1326, + "line": 1327, "column": 24 } } @@ -271927,15 +272247,15 @@ "postfix": false, "binop": null }, - "start": 50174, - "end": 50175, + "start": 50827, + "end": 50828, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 24 }, "end": { - "line": 1326, + "line": 1327, "column": 25 } } @@ -271952,15 +272272,15 @@ "postfix": false, "binop": null }, - "start": 50176, - "end": 50177, + "start": 50829, + "end": 50830, "loc": { "start": { - "line": 1326, + "line": 1327, "column": 26 }, "end": { - "line": 1326, + "line": 1327, "column": 27 } } @@ -271980,15 +272300,15 @@ "updateContext": null }, "value": "if", - "start": 50190, - "end": 50192, + "start": 50843, + "end": 50845, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 12 }, "end": { - "line": 1327, + "line": 1328, "column": 14 } } @@ -272005,15 +272325,15 @@ "postfix": false, "binop": null }, - "start": 50193, - "end": 50194, + "start": 50846, + "end": 50847, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 15 }, "end": { - "line": 1327, + "line": 1328, "column": 16 } } @@ -272031,15 +272351,15 @@ "binop": null }, "value": "math", - "start": 50194, - "end": 50198, + "start": 50847, + "end": 50851, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 16 }, "end": { - "line": 1327, + "line": 1328, "column": 20 } } @@ -272057,15 +272377,15 @@ "binop": null, "updateContext": null }, - "start": 50198, - "end": 50199, + "start": 50851, + "end": 50852, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 20 }, "end": { - "line": 1327, + "line": 1328, "column": 21 } } @@ -272083,15 +272403,15 @@ "binop": null }, "value": "containsAABB3", - "start": 50199, - "end": 50212, + "start": 50852, + "end": 50865, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 21 }, "end": { - "line": 1327, + "line": 1328, "column": 34 } } @@ -272108,15 +272428,15 @@ "postfix": false, "binop": null }, - "start": 50212, - "end": 50213, + "start": 50865, + "end": 50866, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 34 }, "end": { - "line": 1327, + "line": 1328, "column": 35 } } @@ -272134,15 +272454,15 @@ "binop": null }, "value": "kdNode", - "start": 50213, - "end": 50219, + "start": 50866, + "end": 50872, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 35 }, "end": { - "line": 1327, + "line": 1328, "column": 41 } } @@ -272160,15 +272480,15 @@ "binop": null, "updateContext": null }, - "start": 50219, - "end": 50220, + "start": 50872, + "end": 50873, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 41 }, "end": { - "line": 1327, + "line": 1328, "column": 42 } } @@ -272186,15 +272506,15 @@ "binop": null }, "value": "right", - "start": 50220, - "end": 50225, + "start": 50873, + "end": 50878, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 42 }, "end": { - "line": 1327, + "line": 1328, "column": 47 } } @@ -272212,15 +272532,15 @@ "binop": null, "updateContext": null }, - "start": 50225, - "end": 50226, + "start": 50878, + "end": 50879, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 47 }, "end": { - "line": 1327, + "line": 1328, "column": 48 } } @@ -272238,15 +272558,15 @@ "binop": null }, "value": "aabb", - "start": 50226, - "end": 50230, + "start": 50879, + "end": 50883, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 48 }, "end": { - "line": 1327, + "line": 1328, "column": 52 } } @@ -272264,15 +272584,15 @@ "binop": null, "updateContext": null }, - "start": 50230, - "end": 50231, + "start": 50883, + "end": 50884, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 52 }, "end": { - "line": 1327, + "line": 1328, "column": 53 } } @@ -272290,15 +272610,15 @@ "binop": null }, "value": "entityAABB", - "start": 50232, - "end": 50242, + "start": 50885, + "end": 50895, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 54 }, "end": { - "line": 1327, + "line": 1328, "column": 64 } } @@ -272315,15 +272635,15 @@ "postfix": false, "binop": null }, - "start": 50242, - "end": 50243, + "start": 50895, + "end": 50896, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 64 }, "end": { - "line": 1327, + "line": 1328, "column": 65 } } @@ -272340,15 +272660,15 @@ "postfix": false, "binop": null }, - "start": 50243, - "end": 50244, + "start": 50896, + "end": 50897, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 65 }, "end": { - "line": 1327, + "line": 1328, "column": 66 } } @@ -272365,15 +272685,15 @@ "postfix": false, "binop": null }, - "start": 50245, - "end": 50246, + "start": 50898, + "end": 50899, "loc": { "start": { - "line": 1327, + "line": 1328, "column": 67 }, "end": { - "line": 1327, + "line": 1328, "column": 68 } } @@ -272393,15 +272713,15 @@ "updateContext": null }, "value": "this", - "start": 50263, - "end": 50267, + "start": 50916, + "end": 50920, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 16 }, "end": { - "line": 1328, + "line": 1329, "column": 20 } } @@ -272419,15 +272739,15 @@ "binop": null, "updateContext": null }, - "start": 50267, - "end": 50268, + "start": 50920, + "end": 50921, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 20 }, "end": { - "line": 1328, + "line": 1329, "column": 21 } } @@ -272445,15 +272765,15 @@ "binop": null }, "value": "_insertEntityIntoKDTree", - "start": 50268, - "end": 50291, + "start": 50921, + "end": 50944, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 21 }, "end": { - "line": 1328, + "line": 1329, "column": 44 } } @@ -272470,15 +272790,15 @@ "postfix": false, "binop": null }, - "start": 50291, - "end": 50292, + "start": 50944, + "end": 50945, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 44 }, "end": { - "line": 1328, + "line": 1329, "column": 45 } } @@ -272496,15 +272816,15 @@ "binop": null }, "value": "kdNode", - "start": 50292, - "end": 50298, + "start": 50945, + "end": 50951, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 45 }, "end": { - "line": 1328, + "line": 1329, "column": 51 } } @@ -272522,15 +272842,15 @@ "binop": null, "updateContext": null }, - "start": 50298, - "end": 50299, + "start": 50951, + "end": 50952, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 51 }, "end": { - "line": 1328, + "line": 1329, "column": 52 } } @@ -272548,15 +272868,15 @@ "binop": null }, "value": "right", - "start": 50299, - "end": 50304, + "start": 50952, + "end": 50957, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 52 }, "end": { - "line": 1328, + "line": 1329, "column": 57 } } @@ -272574,15 +272894,15 @@ "binop": null, "updateContext": null }, - "start": 50304, - "end": 50305, + "start": 50957, + "end": 50958, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 57 }, "end": { - "line": 1328, + "line": 1329, "column": 58 } } @@ -272600,15 +272920,15 @@ "binop": null }, "value": "entity", - "start": 50306, - "end": 50312, + "start": 50959, + "end": 50965, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 59 }, "end": { - "line": 1328, + "line": 1329, "column": 65 } } @@ -272625,15 +272945,15 @@ "postfix": false, "binop": null }, - "start": 50312, - "end": 50313, + "start": 50965, + "end": 50966, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 65 }, "end": { - "line": 1328, + "line": 1329, "column": 66 } } @@ -272651,15 +272971,15 @@ "binop": null, "updateContext": null }, - "start": 50313, - "end": 50314, + "start": 50966, + "end": 50967, "loc": { "start": { - "line": 1328, + "line": 1329, "column": 66 }, "end": { - "line": 1328, + "line": 1329, "column": 67 } } @@ -272679,15 +272999,15 @@ "updateContext": null }, "value": "return", - "start": 50331, - "end": 50337, + "start": 50984, + "end": 50990, "loc": { "start": { - "line": 1329, + "line": 1330, "column": 16 }, "end": { - "line": 1329, + "line": 1330, "column": 22 } } @@ -272705,15 +273025,15 @@ "binop": null, "updateContext": null }, - "start": 50337, - "end": 50338, + "start": 50990, + "end": 50991, "loc": { "start": { - "line": 1329, + "line": 1330, "column": 22 }, "end": { - "line": 1329, + "line": 1330, "column": 23 } } @@ -272730,15 +273050,15 @@ "postfix": false, "binop": null }, - "start": 50351, - "end": 50352, + "start": 51004, + "end": 51005, "loc": { "start": { - "line": 1330, + "line": 1331, "column": 12 }, "end": { - "line": 1330, + "line": 1331, "column": 13 } } @@ -272755,15 +273075,15 @@ "postfix": false, "binop": null }, - "start": 50361, - "end": 50362, + "start": 51014, + "end": 51015, "loc": { "start": { - "line": 1331, + "line": 1332, "column": 8 }, "end": { - "line": 1331, + "line": 1332, "column": 9 } } @@ -272781,15 +273101,15 @@ "binop": null }, "value": "kdTreeDimLength", - "start": 50372, - "end": 50387, + "start": 51025, + "end": 51040, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 8 }, "end": { - "line": 1333, + "line": 1334, "column": 23 } } @@ -272807,15 +273127,15 @@ "binop": null, "updateContext": null }, - "start": 50387, - "end": 50388, + "start": 51040, + "end": 51041, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 23 }, "end": { - "line": 1333, + "line": 1334, "column": 24 } } @@ -272834,15 +273154,15 @@ "updateContext": null }, "value": 0, - "start": 50388, - "end": 50389, + "start": 51041, + "end": 51042, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 24 }, "end": { - "line": 1333, + "line": 1334, "column": 25 } } @@ -272860,15 +273180,15 @@ "binop": null, "updateContext": null }, - "start": 50389, - "end": 50390, + "start": 51042, + "end": 51043, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 25 }, "end": { - "line": 1333, + "line": 1334, "column": 26 } } @@ -272887,15 +273207,15 @@ "updateContext": null }, "value": "=", - "start": 50391, - "end": 50392, + "start": 51044, + "end": 51045, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 27 }, "end": { - "line": 1333, + "line": 1334, "column": 28 } } @@ -272913,15 +273233,15 @@ "binop": null }, "value": "nodeAABB", - "start": 50393, - "end": 50401, + "start": 51046, + "end": 51054, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 29 }, "end": { - "line": 1333, + "line": 1334, "column": 37 } } @@ -272939,15 +273259,15 @@ "binop": null, "updateContext": null }, - "start": 50401, - "end": 50402, + "start": 51054, + "end": 51055, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 37 }, "end": { - "line": 1333, + "line": 1334, "column": 38 } } @@ -272966,15 +273286,15 @@ "updateContext": null }, "value": 3, - "start": 50402, - "end": 50403, + "start": 51055, + "end": 51056, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 38 }, "end": { - "line": 1333, + "line": 1334, "column": 39 } } @@ -272992,15 +273312,15 @@ "binop": null, "updateContext": null }, - "start": 50403, - "end": 50404, + "start": 51056, + "end": 51057, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 39 }, "end": { - "line": 1333, + "line": 1334, "column": 40 } } @@ -273019,15 +273339,15 @@ "updateContext": null }, "value": "-", - "start": 50405, - "end": 50406, + "start": 51058, + "end": 51059, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 41 }, "end": { - "line": 1333, + "line": 1334, "column": 42 } } @@ -273045,15 +273365,15 @@ "binop": null }, "value": "nodeAABB", - "start": 50407, - "end": 50415, + "start": 51060, + "end": 51068, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 43 }, "end": { - "line": 1333, + "line": 1334, "column": 51 } } @@ -273071,15 +273391,15 @@ "binop": null, "updateContext": null }, - "start": 50415, - "end": 50416, + "start": 51068, + "end": 51069, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 51 }, "end": { - "line": 1333, + "line": 1334, "column": 52 } } @@ -273098,15 +273418,15 @@ "updateContext": null }, "value": 0, - "start": 50416, - "end": 50417, + "start": 51069, + "end": 51070, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 52 }, "end": { - "line": 1333, + "line": 1334, "column": 53 } } @@ -273124,15 +273444,15 @@ "binop": null, "updateContext": null }, - "start": 50417, - "end": 50418, + "start": 51070, + "end": 51071, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 53 }, "end": { - "line": 1333, + "line": 1334, "column": 54 } } @@ -273150,15 +273470,15 @@ "binop": null, "updateContext": null }, - "start": 50418, - "end": 50419, + "start": 51071, + "end": 51072, "loc": { "start": { - "line": 1333, + "line": 1334, "column": 54 }, "end": { - "line": 1333, + "line": 1334, "column": 55 } } @@ -273176,15 +273496,15 @@ "binop": null }, "value": "kdTreeDimLength", - "start": 50428, - "end": 50443, + "start": 51081, + "end": 51096, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 8 }, "end": { - "line": 1334, + "line": 1335, "column": 23 } } @@ -273202,15 +273522,15 @@ "binop": null, "updateContext": null }, - "start": 50443, - "end": 50444, + "start": 51096, + "end": 51097, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 23 }, "end": { - "line": 1334, + "line": 1335, "column": 24 } } @@ -273229,15 +273549,15 @@ "updateContext": null }, "value": 1, - "start": 50444, - "end": 50445, + "start": 51097, + "end": 51098, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 24 }, "end": { - "line": 1334, + "line": 1335, "column": 25 } } @@ -273255,15 +273575,15 @@ "binop": null, "updateContext": null }, - "start": 50445, - "end": 50446, + "start": 51098, + "end": 51099, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 25 }, "end": { - "line": 1334, + "line": 1335, "column": 26 } } @@ -273282,15 +273602,15 @@ "updateContext": null }, "value": "=", - "start": 50447, - "end": 50448, + "start": 51100, + "end": 51101, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 27 }, "end": { - "line": 1334, + "line": 1335, "column": 28 } } @@ -273308,15 +273628,15 @@ "binop": null }, "value": "nodeAABB", - "start": 50449, - "end": 50457, + "start": 51102, + "end": 51110, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 29 }, "end": { - "line": 1334, + "line": 1335, "column": 37 } } @@ -273334,15 +273654,15 @@ "binop": null, "updateContext": null }, - "start": 50457, - "end": 50458, + "start": 51110, + "end": 51111, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 37 }, "end": { - "line": 1334, + "line": 1335, "column": 38 } } @@ -273361,15 +273681,15 @@ "updateContext": null }, "value": 4, - "start": 50458, - "end": 50459, + "start": 51111, + "end": 51112, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 38 }, "end": { - "line": 1334, + "line": 1335, "column": 39 } } @@ -273387,15 +273707,15 @@ "binop": null, "updateContext": null }, - "start": 50459, - "end": 50460, + "start": 51112, + "end": 51113, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 39 }, "end": { - "line": 1334, + "line": 1335, "column": 40 } } @@ -273414,15 +273734,15 @@ "updateContext": null }, "value": "-", - "start": 50461, - "end": 50462, + "start": 51114, + "end": 51115, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 41 }, "end": { - "line": 1334, + "line": 1335, "column": 42 } } @@ -273440,15 +273760,15 @@ "binop": null }, "value": "nodeAABB", - "start": 50463, - "end": 50471, + "start": 51116, + "end": 51124, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 43 }, "end": { - "line": 1334, + "line": 1335, "column": 51 } } @@ -273466,15 +273786,15 @@ "binop": null, "updateContext": null }, - "start": 50471, - "end": 50472, + "start": 51124, + "end": 51125, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 51 }, "end": { - "line": 1334, + "line": 1335, "column": 52 } } @@ -273493,15 +273813,15 @@ "updateContext": null }, "value": 1, - "start": 50472, - "end": 50473, + "start": 51125, + "end": 51126, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 52 }, "end": { - "line": 1334, + "line": 1335, "column": 53 } } @@ -273519,15 +273839,15 @@ "binop": null, "updateContext": null }, - "start": 50473, - "end": 50474, + "start": 51126, + "end": 51127, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 53 }, "end": { - "line": 1334, + "line": 1335, "column": 54 } } @@ -273545,15 +273865,15 @@ "binop": null, "updateContext": null }, - "start": 50474, - "end": 50475, + "start": 51127, + "end": 51128, "loc": { "start": { - "line": 1334, + "line": 1335, "column": 54 }, "end": { - "line": 1334, + "line": 1335, "column": 55 } } @@ -273571,15 +273891,15 @@ "binop": null }, "value": "kdTreeDimLength", - "start": 50484, - "end": 50499, + "start": 51137, + "end": 51152, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 8 }, "end": { - "line": 1335, + "line": 1336, "column": 23 } } @@ -273597,15 +273917,15 @@ "binop": null, "updateContext": null }, - "start": 50499, - "end": 50500, + "start": 51152, + "end": 51153, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 23 }, "end": { - "line": 1335, + "line": 1336, "column": 24 } } @@ -273624,15 +273944,15 @@ "updateContext": null }, "value": 2, - "start": 50500, - "end": 50501, + "start": 51153, + "end": 51154, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 24 }, "end": { - "line": 1335, + "line": 1336, "column": 25 } } @@ -273650,15 +273970,15 @@ "binop": null, "updateContext": null }, - "start": 50501, - "end": 50502, + "start": 51154, + "end": 51155, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 25 }, "end": { - "line": 1335, + "line": 1336, "column": 26 } } @@ -273677,15 +273997,15 @@ "updateContext": null }, "value": "=", - "start": 50503, - "end": 50504, + "start": 51156, + "end": 51157, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 27 }, "end": { - "line": 1335, + "line": 1336, "column": 28 } } @@ -273703,15 +274023,15 @@ "binop": null }, "value": "nodeAABB", - "start": 50505, - "end": 50513, + "start": 51158, + "end": 51166, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 29 }, "end": { - "line": 1335, + "line": 1336, "column": 37 } } @@ -273729,15 +274049,15 @@ "binop": null, "updateContext": null }, - "start": 50513, - "end": 50514, + "start": 51166, + "end": 51167, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 37 }, "end": { - "line": 1335, + "line": 1336, "column": 38 } } @@ -273756,15 +274076,15 @@ "updateContext": null }, "value": 5, - "start": 50514, - "end": 50515, + "start": 51167, + "end": 51168, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 38 }, "end": { - "line": 1335, + "line": 1336, "column": 39 } } @@ -273782,15 +274102,15 @@ "binop": null, "updateContext": null }, - "start": 50515, - "end": 50516, + "start": 51168, + "end": 51169, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 39 }, "end": { - "line": 1335, + "line": 1336, "column": 40 } } @@ -273809,15 +274129,15 @@ "updateContext": null }, "value": "-", - "start": 50517, - "end": 50518, + "start": 51170, + "end": 51171, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 41 }, "end": { - "line": 1335, + "line": 1336, "column": 42 } } @@ -273835,15 +274155,15 @@ "binop": null }, "value": "nodeAABB", - "start": 50519, - "end": 50527, + "start": 51172, + "end": 51180, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 43 }, "end": { - "line": 1335, + "line": 1336, "column": 51 } } @@ -273861,15 +274181,15 @@ "binop": null, "updateContext": null }, - "start": 50527, - "end": 50528, + "start": 51180, + "end": 51181, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 51 }, "end": { - "line": 1335, + "line": 1336, "column": 52 } } @@ -273888,15 +274208,15 @@ "updateContext": null }, "value": 2, - "start": 50528, - "end": 50529, + "start": 51181, + "end": 51182, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 52 }, "end": { - "line": 1335, + "line": 1336, "column": 53 } } @@ -273914,15 +274234,15 @@ "binop": null, "updateContext": null }, - "start": 50529, - "end": 50530, + "start": 51182, + "end": 51183, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 53 }, "end": { - "line": 1335, + "line": 1336, "column": 54 } } @@ -273940,15 +274260,15 @@ "binop": null, "updateContext": null }, - "start": 50530, - "end": 50531, + "start": 51183, + "end": 51184, "loc": { "start": { - "line": 1335, + "line": 1336, "column": 54 }, "end": { - "line": 1335, + "line": 1336, "column": 55 } } @@ -273968,15 +274288,15 @@ "updateContext": null }, "value": "let", - "start": 50541, - "end": 50544, + "start": 51194, + "end": 51197, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 8 }, "end": { - "line": 1337, + "line": 1338, "column": 11 } } @@ -273994,15 +274314,15 @@ "binop": null }, "value": "dim", - "start": 50545, - "end": 50548, + "start": 51198, + "end": 51201, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 12 }, "end": { - "line": 1337, + "line": 1338, "column": 15 } } @@ -274021,15 +274341,15 @@ "updateContext": null }, "value": "=", - "start": 50549, - "end": 50550, + "start": 51202, + "end": 51203, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 16 }, "end": { - "line": 1337, + "line": 1338, "column": 17 } } @@ -274048,15 +274368,15 @@ "updateContext": null }, "value": 0, - "start": 50551, - "end": 50552, + "start": 51204, + "end": 51205, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 18 }, "end": { - "line": 1337, + "line": 1338, "column": 19 } } @@ -274074,15 +274394,15 @@ "binop": null, "updateContext": null }, - "start": 50552, - "end": 50553, + "start": 51205, + "end": 51206, "loc": { "start": { - "line": 1337, + "line": 1338, "column": 19 }, "end": { - "line": 1337, + "line": 1338, "column": 20 } } @@ -274102,15 +274422,15 @@ "updateContext": null }, "value": "if", - "start": 50563, - "end": 50565, + "start": 51216, + "end": 51218, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 8 }, "end": { - "line": 1339, + "line": 1340, "column": 10 } } @@ -274127,15 +274447,15 @@ "postfix": false, "binop": null }, - "start": 50566, - "end": 50567, + "start": 51219, + "end": 51220, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 11 }, "end": { - "line": 1339, + "line": 1340, "column": 12 } } @@ -274153,15 +274473,15 @@ "binop": null }, "value": "kdTreeDimLength", - "start": 50567, - "end": 50582, + "start": 51220, + "end": 51235, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 12 }, "end": { - "line": 1339, + "line": 1340, "column": 27 } } @@ -274179,15 +274499,15 @@ "binop": null, "updateContext": null }, - "start": 50582, - "end": 50583, + "start": 51235, + "end": 51236, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 27 }, "end": { - "line": 1339, + "line": 1340, "column": 28 } } @@ -274206,15 +274526,15 @@ "updateContext": null }, "value": 1, - "start": 50583, - "end": 50584, + "start": 51236, + "end": 51237, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 28 }, "end": { - "line": 1339, + "line": 1340, "column": 29 } } @@ -274232,15 +274552,15 @@ "binop": null, "updateContext": null }, - "start": 50584, - "end": 50585, + "start": 51237, + "end": 51238, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 29 }, "end": { - "line": 1339, + "line": 1340, "column": 30 } } @@ -274259,15 +274579,15 @@ "updateContext": null }, "value": ">", - "start": 50586, - "end": 50587, + "start": 51239, + "end": 51240, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 31 }, "end": { - "line": 1339, + "line": 1340, "column": 32 } } @@ -274285,15 +274605,15 @@ "binop": null }, "value": "kdTreeDimLength", - "start": 50588, - "end": 50603, + "start": 51241, + "end": 51256, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 33 }, "end": { - "line": 1339, + "line": 1340, "column": 48 } } @@ -274311,15 +274631,15 @@ "binop": null, "updateContext": null }, - "start": 50603, - "end": 50604, + "start": 51256, + "end": 51257, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 48 }, "end": { - "line": 1339, + "line": 1340, "column": 49 } } @@ -274337,15 +274657,15 @@ "binop": null }, "value": "dim", - "start": 50604, - "end": 50607, + "start": 51257, + "end": 51260, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 49 }, "end": { - "line": 1339, + "line": 1340, "column": 52 } } @@ -274363,15 +274683,15 @@ "binop": null, "updateContext": null }, - "start": 50607, - "end": 50608, + "start": 51260, + "end": 51261, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 52 }, "end": { - "line": 1339, + "line": 1340, "column": 53 } } @@ -274388,15 +274708,15 @@ "postfix": false, "binop": null }, - "start": 50608, - "end": 50609, + "start": 51261, + "end": 51262, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 53 }, "end": { - "line": 1339, + "line": 1340, "column": 54 } } @@ -274413,15 +274733,15 @@ "postfix": false, "binop": null }, - "start": 50610, - "end": 50611, + "start": 51263, + "end": 51264, "loc": { "start": { - "line": 1339, + "line": 1340, "column": 55 }, "end": { - "line": 1339, + "line": 1340, "column": 56 } } @@ -274439,15 +274759,15 @@ "binop": null }, "value": "dim", - "start": 50624, - "end": 50627, + "start": 51277, + "end": 51280, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 12 }, "end": { - "line": 1340, + "line": 1341, "column": 15 } } @@ -274466,15 +274786,15 @@ "updateContext": null }, "value": "=", - "start": 50628, - "end": 50629, + "start": 51281, + "end": 51282, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 16 }, "end": { - "line": 1340, + "line": 1341, "column": 17 } } @@ -274493,15 +274813,15 @@ "updateContext": null }, "value": 1, - "start": 50630, - "end": 50631, + "start": 51283, + "end": 51284, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 18 }, "end": { - "line": 1340, + "line": 1341, "column": 19 } } @@ -274519,15 +274839,15 @@ "binop": null, "updateContext": null }, - "start": 50631, - "end": 50632, + "start": 51284, + "end": 51285, "loc": { "start": { - "line": 1340, + "line": 1341, "column": 19 }, "end": { - "line": 1340, + "line": 1341, "column": 20 } } @@ -274544,15 +274864,15 @@ "postfix": false, "binop": null }, - "start": 50641, - "end": 50642, + "start": 51294, + "end": 51295, "loc": { "start": { - "line": 1341, + "line": 1342, "column": 8 }, "end": { - "line": 1341, + "line": 1342, "column": 9 } } @@ -274572,15 +274892,15 @@ "updateContext": null }, "value": "if", - "start": 50652, - "end": 50654, + "start": 51305, + "end": 51307, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 8 }, "end": { - "line": 1343, + "line": 1344, "column": 10 } } @@ -274597,15 +274917,15 @@ "postfix": false, "binop": null }, - "start": 50655, - "end": 50656, + "start": 51308, + "end": 51309, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 11 }, "end": { - "line": 1343, + "line": 1344, "column": 12 } } @@ -274623,15 +274943,15 @@ "binop": null }, "value": "kdTreeDimLength", - "start": 50656, - "end": 50671, + "start": 51309, + "end": 51324, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 12 }, "end": { - "line": 1343, + "line": 1344, "column": 27 } } @@ -274649,15 +274969,15 @@ "binop": null, "updateContext": null }, - "start": 50671, - "end": 50672, + "start": 51324, + "end": 51325, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 27 }, "end": { - "line": 1343, + "line": 1344, "column": 28 } } @@ -274676,15 +274996,15 @@ "updateContext": null }, "value": 2, - "start": 50672, - "end": 50673, + "start": 51325, + "end": 51326, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 28 }, "end": { - "line": 1343, + "line": 1344, "column": 29 } } @@ -274702,15 +275022,15 @@ "binop": null, "updateContext": null }, - "start": 50673, - "end": 50674, + "start": 51326, + "end": 51327, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 29 }, "end": { - "line": 1343, + "line": 1344, "column": 30 } } @@ -274729,15 +275049,15 @@ "updateContext": null }, "value": ">", - "start": 50675, - "end": 50676, + "start": 51328, + "end": 51329, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 31 }, "end": { - "line": 1343, + "line": 1344, "column": 32 } } @@ -274755,15 +275075,15 @@ "binop": null }, "value": "kdTreeDimLength", - "start": 50677, - "end": 50692, + "start": 51330, + "end": 51345, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 33 }, "end": { - "line": 1343, + "line": 1344, "column": 48 } } @@ -274781,15 +275101,15 @@ "binop": null, "updateContext": null }, - "start": 50692, - "end": 50693, + "start": 51345, + "end": 51346, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 48 }, "end": { - "line": 1343, + "line": 1344, "column": 49 } } @@ -274807,15 +275127,15 @@ "binop": null }, "value": "dim", - "start": 50693, - "end": 50696, + "start": 51346, + "end": 51349, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 49 }, "end": { - "line": 1343, + "line": 1344, "column": 52 } } @@ -274833,15 +275153,15 @@ "binop": null, "updateContext": null }, - "start": 50696, - "end": 50697, + "start": 51349, + "end": 51350, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 52 }, "end": { - "line": 1343, + "line": 1344, "column": 53 } } @@ -274858,15 +275178,15 @@ "postfix": false, "binop": null }, - "start": 50697, - "end": 50698, + "start": 51350, + "end": 51351, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 53 }, "end": { - "line": 1343, + "line": 1344, "column": 54 } } @@ -274883,15 +275203,15 @@ "postfix": false, "binop": null }, - "start": 50699, - "end": 50700, + "start": 51352, + "end": 51353, "loc": { "start": { - "line": 1343, + "line": 1344, "column": 55 }, "end": { - "line": 1343, + "line": 1344, "column": 56 } } @@ -274909,15 +275229,15 @@ "binop": null }, "value": "dim", - "start": 50713, - "end": 50716, + "start": 51366, + "end": 51369, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 12 }, "end": { - "line": 1344, + "line": 1345, "column": 15 } } @@ -274936,15 +275256,15 @@ "updateContext": null }, "value": "=", - "start": 50717, - "end": 50718, + "start": 51370, + "end": 51371, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 16 }, "end": { - "line": 1344, + "line": 1345, "column": 17 } } @@ -274963,15 +275283,15 @@ "updateContext": null }, "value": 2, - "start": 50719, - "end": 50720, + "start": 51372, + "end": 51373, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 18 }, "end": { - "line": 1344, + "line": 1345, "column": 19 } } @@ -274989,15 +275309,15 @@ "binop": null, "updateContext": null }, - "start": 50720, - "end": 50721, + "start": 51373, + "end": 51374, "loc": { "start": { - "line": 1344, + "line": 1345, "column": 19 }, "end": { - "line": 1344, + "line": 1345, "column": 20 } } @@ -275014,15 +275334,15 @@ "postfix": false, "binop": null }, - "start": 50730, - "end": 50731, + "start": 51383, + "end": 51384, "loc": { "start": { - "line": 1345, + "line": 1346, "column": 8 }, "end": { - "line": 1345, + "line": 1346, "column": 9 } } @@ -275042,15 +275362,15 @@ "updateContext": null }, "value": "if", - "start": 50741, - "end": 50743, + "start": 51394, + "end": 51396, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 8 }, "end": { - "line": 1347, + "line": 1348, "column": 10 } } @@ -275067,15 +275387,15 @@ "postfix": false, "binop": null }, - "start": 50744, - "end": 50745, + "start": 51397, + "end": 51398, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 11 }, "end": { - "line": 1347, + "line": 1348, "column": 12 } } @@ -275094,15 +275414,15 @@ "updateContext": null }, "value": "!", - "start": 50745, - "end": 50746, + "start": 51398, + "end": 51399, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 12 }, "end": { - "line": 1347, + "line": 1348, "column": 13 } } @@ -275120,15 +275440,15 @@ "binop": null }, "value": "kdNode", - "start": 50746, - "end": 50752, + "start": 51399, + "end": 51405, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 13 }, "end": { - "line": 1347, + "line": 1348, "column": 19 } } @@ -275146,15 +275466,15 @@ "binop": null, "updateContext": null }, - "start": 50752, - "end": 50753, + "start": 51405, + "end": 51406, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 19 }, "end": { - "line": 1347, + "line": 1348, "column": 20 } } @@ -275172,15 +275492,15 @@ "binop": null }, "value": "left", - "start": 50753, - "end": 50757, + "start": 51406, + "end": 51410, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 20 }, "end": { - "line": 1347, + "line": 1348, "column": 24 } } @@ -275197,15 +275517,15 @@ "postfix": false, "binop": null }, - "start": 50757, - "end": 50758, + "start": 51410, + "end": 51411, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 24 }, "end": { - "line": 1347, + "line": 1348, "column": 25 } } @@ -275222,15 +275542,15 @@ "postfix": false, "binop": null }, - "start": 50759, - "end": 50760, + "start": 51412, + "end": 51413, "loc": { "start": { - "line": 1347, + "line": 1348, "column": 26 }, "end": { - "line": 1347, + "line": 1348, "column": 27 } } @@ -275250,15 +275570,15 @@ "updateContext": null }, "value": "const", - "start": 50773, - "end": 50778, + "start": 51426, + "end": 51431, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 12 }, "end": { - "line": 1348, + "line": 1349, "column": 17 } } @@ -275276,15 +275596,15 @@ "binop": null }, "value": "aabbLeft", - "start": 50779, - "end": 50787, + "start": 51432, + "end": 51440, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 18 }, "end": { - "line": 1348, + "line": 1349, "column": 26 } } @@ -275303,15 +275623,15 @@ "updateContext": null }, "value": "=", - "start": 50788, - "end": 50789, + "start": 51441, + "end": 51442, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 27 }, "end": { - "line": 1348, + "line": 1349, "column": 28 } } @@ -275329,15 +275649,15 @@ "binop": null }, "value": "nodeAABB", - "start": 50790, - "end": 50798, + "start": 51443, + "end": 51451, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 29 }, "end": { - "line": 1348, + "line": 1349, "column": 37 } } @@ -275355,15 +275675,15 @@ "binop": null, "updateContext": null }, - "start": 50798, - "end": 50799, + "start": 51451, + "end": 51452, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 37 }, "end": { - "line": 1348, + "line": 1349, "column": 38 } } @@ -275381,15 +275701,15 @@ "binop": null }, "value": "slice", - "start": 50799, - "end": 50804, + "start": 51452, + "end": 51457, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 38 }, "end": { - "line": 1348, + "line": 1349, "column": 43 } } @@ -275406,15 +275726,15 @@ "postfix": false, "binop": null }, - "start": 50804, - "end": 50805, + "start": 51457, + "end": 51458, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 43 }, "end": { - "line": 1348, + "line": 1349, "column": 44 } } @@ -275431,15 +275751,15 @@ "postfix": false, "binop": null }, - "start": 50805, - "end": 50806, + "start": 51458, + "end": 51459, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 44 }, "end": { - "line": 1348, + "line": 1349, "column": 45 } } @@ -275457,15 +275777,15 @@ "binop": null, "updateContext": null }, - "start": 50806, - "end": 50807, + "start": 51459, + "end": 51460, "loc": { "start": { - "line": 1348, + "line": 1349, "column": 45 }, "end": { - "line": 1348, + "line": 1349, "column": 46 } } @@ -275483,15 +275803,15 @@ "binop": null }, "value": "aabbLeft", - "start": 50820, - "end": 50828, + "start": 51473, + "end": 51481, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 12 }, "end": { - "line": 1349, + "line": 1350, "column": 20 } } @@ -275509,15 +275829,15 @@ "binop": null, "updateContext": null }, - "start": 50828, - "end": 50829, + "start": 51481, + "end": 51482, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 20 }, "end": { - "line": 1349, + "line": 1350, "column": 21 } } @@ -275535,15 +275855,15 @@ "binop": null }, "value": "dim", - "start": 50829, - "end": 50832, + "start": 51482, + "end": 51485, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 21 }, "end": { - "line": 1349, + "line": 1350, "column": 24 } } @@ -275562,15 +275882,15 @@ "updateContext": null }, "value": "+", - "start": 50833, - "end": 50834, + "start": 51486, + "end": 51487, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 25 }, "end": { - "line": 1349, + "line": 1350, "column": 26 } } @@ -275589,15 +275909,15 @@ "updateContext": null }, "value": 3, - "start": 50835, - "end": 50836, + "start": 51488, + "end": 51489, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 27 }, "end": { - "line": 1349, + "line": 1350, "column": 28 } } @@ -275615,15 +275935,15 @@ "binop": null, "updateContext": null }, - "start": 50836, - "end": 50837, + "start": 51489, + "end": 51490, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 28 }, "end": { - "line": 1349, + "line": 1350, "column": 29 } } @@ -275642,15 +275962,15 @@ "updateContext": null }, "value": "=", - "start": 50838, - "end": 50839, + "start": 51491, + "end": 51492, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 30 }, "end": { - "line": 1349, + "line": 1350, "column": 31 } } @@ -275667,15 +275987,15 @@ "postfix": false, "binop": null }, - "start": 50840, - "end": 50841, + "start": 51493, + "end": 51494, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 32 }, "end": { - "line": 1349, + "line": 1350, "column": 33 } } @@ -275692,15 +276012,15 @@ "postfix": false, "binop": null }, - "start": 50841, - "end": 50842, + "start": 51494, + "end": 51495, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 33 }, "end": { - "line": 1349, + "line": 1350, "column": 34 } } @@ -275718,15 +276038,15 @@ "binop": null }, "value": "nodeAABB", - "start": 50842, - "end": 50850, + "start": 51495, + "end": 51503, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 34 }, "end": { - "line": 1349, + "line": 1350, "column": 42 } } @@ -275744,15 +276064,15 @@ "binop": null, "updateContext": null }, - "start": 50850, - "end": 50851, + "start": 51503, + "end": 51504, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 42 }, "end": { - "line": 1349, + "line": 1350, "column": 43 } } @@ -275770,15 +276090,15 @@ "binop": null }, "value": "dim", - "start": 50851, - "end": 50854, + "start": 51504, + "end": 51507, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 43 }, "end": { - "line": 1349, + "line": 1350, "column": 46 } } @@ -275796,15 +276116,15 @@ "binop": null, "updateContext": null }, - "start": 50854, - "end": 50855, + "start": 51507, + "end": 51508, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 46 }, "end": { - "line": 1349, + "line": 1350, "column": 47 } } @@ -275823,15 +276143,15 @@ "updateContext": null }, "value": "+", - "start": 50856, - "end": 50857, + "start": 51509, + "end": 51510, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 48 }, "end": { - "line": 1349, + "line": 1350, "column": 49 } } @@ -275849,15 +276169,15 @@ "binop": null }, "value": "nodeAABB", - "start": 50858, - "end": 50866, + "start": 51511, + "end": 51519, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 50 }, "end": { - "line": 1349, + "line": 1350, "column": 58 } } @@ -275875,15 +276195,15 @@ "binop": null, "updateContext": null }, - "start": 50866, - "end": 50867, + "start": 51519, + "end": 51520, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 58 }, "end": { - "line": 1349, + "line": 1350, "column": 59 } } @@ -275901,15 +276221,15 @@ "binop": null }, "value": "dim", - "start": 50867, - "end": 50870, + "start": 51520, + "end": 51523, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 59 }, "end": { - "line": 1349, + "line": 1350, "column": 62 } } @@ -275928,15 +276248,15 @@ "updateContext": null }, "value": "+", - "start": 50871, - "end": 50872, + "start": 51524, + "end": 51525, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 63 }, "end": { - "line": 1349, + "line": 1350, "column": 64 } } @@ -275955,15 +276275,15 @@ "updateContext": null }, "value": 3, - "start": 50873, - "end": 50874, + "start": 51526, + "end": 51527, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 65 }, "end": { - "line": 1349, + "line": 1350, "column": 66 } } @@ -275981,15 +276301,15 @@ "binop": null, "updateContext": null }, - "start": 50874, - "end": 50875, + "start": 51527, + "end": 51528, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 66 }, "end": { - "line": 1349, + "line": 1350, "column": 67 } } @@ -276006,15 +276326,15 @@ "postfix": false, "binop": null }, - "start": 50875, - "end": 50876, + "start": 51528, + "end": 51529, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 67 }, "end": { - "line": 1349, + "line": 1350, "column": 68 } } @@ -276033,15 +276353,15 @@ "updateContext": null }, "value": "/", - "start": 50877, - "end": 50878, + "start": 51530, + "end": 51531, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 69 }, "end": { - "line": 1349, + "line": 1350, "column": 70 } } @@ -276060,15 +276380,15 @@ "updateContext": null }, "value": 2, - "start": 50879, - "end": 50882, + "start": 51532, + "end": 51535, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 71 }, "end": { - "line": 1349, + "line": 1350, "column": 74 } } @@ -276085,15 +276405,15 @@ "postfix": false, "binop": null }, - "start": 50882, - "end": 50883, + "start": 51535, + "end": 51536, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 74 }, "end": { - "line": 1349, + "line": 1350, "column": 75 } } @@ -276111,15 +276431,15 @@ "binop": null, "updateContext": null }, - "start": 50883, - "end": 50884, + "start": 51536, + "end": 51537, "loc": { "start": { - "line": 1349, + "line": 1350, "column": 75 }, "end": { - "line": 1349, + "line": 1350, "column": 76 } } @@ -276137,15 +276457,15 @@ "binop": null }, "value": "kdNode", - "start": 50897, - "end": 50903, + "start": 51550, + "end": 51556, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 12 }, "end": { - "line": 1350, + "line": 1351, "column": 18 } } @@ -276163,15 +276483,15 @@ "binop": null, "updateContext": null }, - "start": 50903, - "end": 50904, + "start": 51556, + "end": 51557, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 18 }, "end": { - "line": 1350, + "line": 1351, "column": 19 } } @@ -276189,15 +276509,15 @@ "binop": null }, "value": "left", - "start": 50904, - "end": 50908, + "start": 51557, + "end": 51561, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 19 }, "end": { - "line": 1350, + "line": 1351, "column": 23 } } @@ -276216,15 +276536,15 @@ "updateContext": null }, "value": "=", - "start": 50909, - "end": 50910, + "start": 51562, + "end": 51563, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 24 }, "end": { - "line": 1350, + "line": 1351, "column": 25 } } @@ -276244,15 +276564,15 @@ "updateContext": null }, "value": "new", - "start": 50911, - "end": 50914, + "start": 51564, + "end": 51567, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 26 }, "end": { - "line": 1350, + "line": 1351, "column": 29 } } @@ -276270,15 +276590,15 @@ "binop": null }, "value": "KDNode", - "start": 50915, - "end": 50921, + "start": 51568, + "end": 51574, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 30 }, "end": { - "line": 1350, + "line": 1351, "column": 36 } } @@ -276295,15 +276615,15 @@ "postfix": false, "binop": null }, - "start": 50921, - "end": 50922, + "start": 51574, + "end": 51575, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 36 }, "end": { - "line": 1350, + "line": 1351, "column": 37 } } @@ -276321,15 +276641,15 @@ "binop": null }, "value": "aabbLeft", - "start": 50922, - "end": 50930, + "start": 51575, + "end": 51583, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 37 }, "end": { - "line": 1350, + "line": 1351, "column": 45 } } @@ -276346,15 +276666,15 @@ "postfix": false, "binop": null }, - "start": 50930, - "end": 50931, + "start": 51583, + "end": 51584, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 45 }, "end": { - "line": 1350, + "line": 1351, "column": 46 } } @@ -276372,15 +276692,15 @@ "binop": null, "updateContext": null }, - "start": 50931, - "end": 50932, + "start": 51584, + "end": 51585, "loc": { "start": { - "line": 1350, + "line": 1351, "column": 46 }, "end": { - "line": 1350, + "line": 1351, "column": 47 } } @@ -276400,15 +276720,15 @@ "updateContext": null }, "value": "if", - "start": 50945, - "end": 50947, + "start": 51598, + "end": 51600, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 12 }, "end": { - "line": 1351, + "line": 1352, "column": 14 } } @@ -276425,15 +276745,15 @@ "postfix": false, "binop": null }, - "start": 50948, - "end": 50949, + "start": 51601, + "end": 51602, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 15 }, "end": { - "line": 1351, + "line": 1352, "column": 16 } } @@ -276451,15 +276771,15 @@ "binop": null }, "value": "math", - "start": 50949, - "end": 50953, + "start": 51602, + "end": 51606, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 16 }, "end": { - "line": 1351, + "line": 1352, "column": 20 } } @@ -276477,15 +276797,15 @@ "binop": null, "updateContext": null }, - "start": 50953, - "end": 50954, + "start": 51606, + "end": 51607, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 20 }, "end": { - "line": 1351, + "line": 1352, "column": 21 } } @@ -276503,15 +276823,15 @@ "binop": null }, "value": "containsAABB3", - "start": 50954, - "end": 50967, + "start": 51607, + "end": 51620, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 21 }, "end": { - "line": 1351, + "line": 1352, "column": 34 } } @@ -276528,15 +276848,15 @@ "postfix": false, "binop": null }, - "start": 50967, - "end": 50968, + "start": 51620, + "end": 51621, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 34 }, "end": { - "line": 1351, + "line": 1352, "column": 35 } } @@ -276554,15 +276874,15 @@ "binop": null }, "value": "aabbLeft", - "start": 50968, - "end": 50976, + "start": 51621, + "end": 51629, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 35 }, "end": { - "line": 1351, + "line": 1352, "column": 43 } } @@ -276580,15 +276900,15 @@ "binop": null, "updateContext": null }, - "start": 50976, - "end": 50977, + "start": 51629, + "end": 51630, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 43 }, "end": { - "line": 1351, + "line": 1352, "column": 44 } } @@ -276606,15 +276926,15 @@ "binop": null }, "value": "entityAABB", - "start": 50978, - "end": 50988, + "start": 51631, + "end": 51641, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 45 }, "end": { - "line": 1351, + "line": 1352, "column": 55 } } @@ -276631,15 +276951,15 @@ "postfix": false, "binop": null }, - "start": 50988, - "end": 50989, + "start": 51641, + "end": 51642, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 55 }, "end": { - "line": 1351, + "line": 1352, "column": 56 } } @@ -276656,15 +276976,15 @@ "postfix": false, "binop": null }, - "start": 50989, - "end": 50990, + "start": 51642, + "end": 51643, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 56 }, "end": { - "line": 1351, + "line": 1352, "column": 57 } } @@ -276681,15 +277001,15 @@ "postfix": false, "binop": null }, - "start": 50991, - "end": 50992, + "start": 51644, + "end": 51645, "loc": { "start": { - "line": 1351, + "line": 1352, "column": 58 }, "end": { - "line": 1351, + "line": 1352, "column": 59 } } @@ -276709,15 +277029,15 @@ "updateContext": null }, "value": "this", - "start": 51009, - "end": 51013, + "start": 51662, + "end": 51666, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 16 }, "end": { - "line": 1352, + "line": 1353, "column": 20 } } @@ -276735,15 +277055,15 @@ "binop": null, "updateContext": null }, - "start": 51013, - "end": 51014, + "start": 51666, + "end": 51667, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 20 }, "end": { - "line": 1352, + "line": 1353, "column": 21 } } @@ -276761,15 +277081,15 @@ "binop": null }, "value": "_insertEntityIntoKDTree", - "start": 51014, - "end": 51037, + "start": 51667, + "end": 51690, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 21 }, "end": { - "line": 1352, + "line": 1353, "column": 44 } } @@ -276786,15 +277106,15 @@ "postfix": false, "binop": null }, - "start": 51037, - "end": 51038, + "start": 51690, + "end": 51691, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 44 }, "end": { - "line": 1352, + "line": 1353, "column": 45 } } @@ -276812,15 +277132,15 @@ "binop": null }, "value": "kdNode", - "start": 51038, - "end": 51044, + "start": 51691, + "end": 51697, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 45 }, "end": { - "line": 1352, + "line": 1353, "column": 51 } } @@ -276838,15 +277158,15 @@ "binop": null, "updateContext": null }, - "start": 51044, - "end": 51045, + "start": 51697, + "end": 51698, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 51 }, "end": { - "line": 1352, + "line": 1353, "column": 52 } } @@ -276864,15 +277184,15 @@ "binop": null }, "value": "left", - "start": 51045, - "end": 51049, + "start": 51698, + "end": 51702, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 52 }, "end": { - "line": 1352, + "line": 1353, "column": 56 } } @@ -276890,15 +277210,15 @@ "binop": null, "updateContext": null }, - "start": 51049, - "end": 51050, + "start": 51702, + "end": 51703, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 56 }, "end": { - "line": 1352, + "line": 1353, "column": 57 } } @@ -276916,15 +277236,15 @@ "binop": null }, "value": "entity", - "start": 51051, - "end": 51057, + "start": 51704, + "end": 51710, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 58 }, "end": { - "line": 1352, + "line": 1353, "column": 64 } } @@ -276941,15 +277261,15 @@ "postfix": false, "binop": null }, - "start": 51057, - "end": 51058, + "start": 51710, + "end": 51711, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 64 }, "end": { - "line": 1352, + "line": 1353, "column": 65 } } @@ -276967,15 +277287,15 @@ "binop": null, "updateContext": null }, - "start": 51058, - "end": 51059, + "start": 51711, + "end": 51712, "loc": { "start": { - "line": 1352, + "line": 1353, "column": 65 }, "end": { - "line": 1352, + "line": 1353, "column": 66 } } @@ -276995,15 +277315,15 @@ "updateContext": null }, "value": "return", - "start": 51076, - "end": 51082, + "start": 51729, + "end": 51735, "loc": { "start": { - "line": 1353, + "line": 1354, "column": 16 }, "end": { - "line": 1353, + "line": 1354, "column": 22 } } @@ -277021,15 +277341,15 @@ "binop": null, "updateContext": null }, - "start": 51082, - "end": 51083, + "start": 51735, + "end": 51736, "loc": { "start": { - "line": 1353, + "line": 1354, "column": 22 }, "end": { - "line": 1353, + "line": 1354, "column": 23 } } @@ -277046,15 +277366,15 @@ "postfix": false, "binop": null }, - "start": 51096, - "end": 51097, + "start": 51749, + "end": 51750, "loc": { "start": { - "line": 1354, + "line": 1355, "column": 12 }, "end": { - "line": 1354, + "line": 1355, "column": 13 } } @@ -277071,15 +277391,15 @@ "postfix": false, "binop": null }, - "start": 51106, - "end": 51107, + "start": 51759, + "end": 51760, "loc": { "start": { - "line": 1355, + "line": 1356, "column": 8 }, "end": { - "line": 1355, + "line": 1356, "column": 9 } } @@ -277099,15 +277419,15 @@ "updateContext": null }, "value": "if", - "start": 51117, - "end": 51119, + "start": 51770, + "end": 51772, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 8 }, "end": { - "line": 1357, + "line": 1358, "column": 10 } } @@ -277124,15 +277444,15 @@ "postfix": false, "binop": null }, - "start": 51120, - "end": 51121, + "start": 51773, + "end": 51774, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 11 }, "end": { - "line": 1357, + "line": 1358, "column": 12 } } @@ -277151,15 +277471,15 @@ "updateContext": null }, "value": "!", - "start": 51121, - "end": 51122, + "start": 51774, + "end": 51775, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 12 }, "end": { - "line": 1357, + "line": 1358, "column": 13 } } @@ -277177,15 +277497,15 @@ "binop": null }, "value": "kdNode", - "start": 51122, - "end": 51128, + "start": 51775, + "end": 51781, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 13 }, "end": { - "line": 1357, + "line": 1358, "column": 19 } } @@ -277203,15 +277523,15 @@ "binop": null, "updateContext": null }, - "start": 51128, - "end": 51129, + "start": 51781, + "end": 51782, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 19 }, "end": { - "line": 1357, + "line": 1358, "column": 20 } } @@ -277229,15 +277549,15 @@ "binop": null }, "value": "right", - "start": 51129, - "end": 51134, + "start": 51782, + "end": 51787, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 20 }, "end": { - "line": 1357, + "line": 1358, "column": 25 } } @@ -277254,15 +277574,15 @@ "postfix": false, "binop": null }, - "start": 51134, - "end": 51135, + "start": 51787, + "end": 51788, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 25 }, "end": { - "line": 1357, + "line": 1358, "column": 26 } } @@ -277279,15 +277599,15 @@ "postfix": false, "binop": null }, - "start": 51136, - "end": 51137, + "start": 51789, + "end": 51790, "loc": { "start": { - "line": 1357, + "line": 1358, "column": 27 }, "end": { - "line": 1357, + "line": 1358, "column": 28 } } @@ -277307,15 +277627,15 @@ "updateContext": null }, "value": "const", - "start": 51150, - "end": 51155, + "start": 51803, + "end": 51808, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 12 }, "end": { - "line": 1358, + "line": 1359, "column": 17 } } @@ -277333,15 +277653,15 @@ "binop": null }, "value": "aabbRight", - "start": 51156, - "end": 51165, + "start": 51809, + "end": 51818, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 18 }, "end": { - "line": 1358, + "line": 1359, "column": 27 } } @@ -277360,15 +277680,15 @@ "updateContext": null }, "value": "=", - "start": 51166, - "end": 51167, + "start": 51819, + "end": 51820, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 28 }, "end": { - "line": 1358, + "line": 1359, "column": 29 } } @@ -277386,15 +277706,15 @@ "binop": null }, "value": "nodeAABB", - "start": 51168, - "end": 51176, + "start": 51821, + "end": 51829, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 30 }, "end": { - "line": 1358, + "line": 1359, "column": 38 } } @@ -277412,15 +277732,15 @@ "binop": null, "updateContext": null }, - "start": 51176, - "end": 51177, + "start": 51829, + "end": 51830, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 38 }, "end": { - "line": 1358, + "line": 1359, "column": 39 } } @@ -277438,15 +277758,15 @@ "binop": null }, "value": "slice", - "start": 51177, - "end": 51182, + "start": 51830, + "end": 51835, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 39 }, "end": { - "line": 1358, + "line": 1359, "column": 44 } } @@ -277463,15 +277783,15 @@ "postfix": false, "binop": null }, - "start": 51182, - "end": 51183, + "start": 51835, + "end": 51836, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 44 }, "end": { - "line": 1358, + "line": 1359, "column": 45 } } @@ -277488,15 +277808,15 @@ "postfix": false, "binop": null }, - "start": 51183, - "end": 51184, + "start": 51836, + "end": 51837, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 45 }, "end": { - "line": 1358, + "line": 1359, "column": 46 } } @@ -277514,15 +277834,15 @@ "binop": null, "updateContext": null }, - "start": 51184, - "end": 51185, + "start": 51837, + "end": 51838, "loc": { "start": { - "line": 1358, + "line": 1359, "column": 46 }, "end": { - "line": 1358, + "line": 1359, "column": 47 } } @@ -277540,15 +277860,15 @@ "binop": null }, "value": "aabbRight", - "start": 51198, - "end": 51207, + "start": 51851, + "end": 51860, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 12 }, "end": { - "line": 1359, + "line": 1360, "column": 21 } } @@ -277566,15 +277886,15 @@ "binop": null, "updateContext": null }, - "start": 51207, - "end": 51208, + "start": 51860, + "end": 51861, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 21 }, "end": { - "line": 1359, + "line": 1360, "column": 22 } } @@ -277592,15 +277912,15 @@ "binop": null }, "value": "dim", - "start": 51208, - "end": 51211, + "start": 51861, + "end": 51864, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 22 }, "end": { - "line": 1359, + "line": 1360, "column": 25 } } @@ -277618,15 +277938,15 @@ "binop": null, "updateContext": null }, - "start": 51211, - "end": 51212, + "start": 51864, + "end": 51865, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 25 }, "end": { - "line": 1359, + "line": 1360, "column": 26 } } @@ -277645,15 +277965,15 @@ "updateContext": null }, "value": "=", - "start": 51213, - "end": 51214, + "start": 51866, + "end": 51867, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 27 }, "end": { - "line": 1359, + "line": 1360, "column": 28 } } @@ -277670,15 +277990,15 @@ "postfix": false, "binop": null }, - "start": 51215, - "end": 51216, + "start": 51868, + "end": 51869, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 29 }, "end": { - "line": 1359, + "line": 1360, "column": 30 } } @@ -277695,15 +278015,15 @@ "postfix": false, "binop": null }, - "start": 51216, - "end": 51217, + "start": 51869, + "end": 51870, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 30 }, "end": { - "line": 1359, + "line": 1360, "column": 31 } } @@ -277721,15 +278041,15 @@ "binop": null }, "value": "nodeAABB", - "start": 51217, - "end": 51225, + "start": 51870, + "end": 51878, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 31 }, "end": { - "line": 1359, + "line": 1360, "column": 39 } } @@ -277747,15 +278067,15 @@ "binop": null, "updateContext": null }, - "start": 51225, - "end": 51226, + "start": 51878, + "end": 51879, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 39 }, "end": { - "line": 1359, + "line": 1360, "column": 40 } } @@ -277773,15 +278093,15 @@ "binop": null }, "value": "dim", - "start": 51226, - "end": 51229, + "start": 51879, + "end": 51882, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 40 }, "end": { - "line": 1359, + "line": 1360, "column": 43 } } @@ -277799,15 +278119,15 @@ "binop": null, "updateContext": null }, - "start": 51229, - "end": 51230, + "start": 51882, + "end": 51883, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 43 }, "end": { - "line": 1359, + "line": 1360, "column": 44 } } @@ -277826,15 +278146,15 @@ "updateContext": null }, "value": "+", - "start": 51231, - "end": 51232, + "start": 51884, + "end": 51885, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 45 }, "end": { - "line": 1359, + "line": 1360, "column": 46 } } @@ -277852,15 +278172,15 @@ "binop": null }, "value": "nodeAABB", - "start": 51233, - "end": 51241, + "start": 51886, + "end": 51894, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 47 }, "end": { - "line": 1359, + "line": 1360, "column": 55 } } @@ -277878,15 +278198,15 @@ "binop": null, "updateContext": null }, - "start": 51241, - "end": 51242, + "start": 51894, + "end": 51895, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 55 }, "end": { - "line": 1359, + "line": 1360, "column": 56 } } @@ -277904,15 +278224,15 @@ "binop": null }, "value": "dim", - "start": 51242, - "end": 51245, + "start": 51895, + "end": 51898, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 56 }, "end": { - "line": 1359, + "line": 1360, "column": 59 } } @@ -277931,15 +278251,15 @@ "updateContext": null }, "value": "+", - "start": 51246, - "end": 51247, + "start": 51899, + "end": 51900, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 60 }, "end": { - "line": 1359, + "line": 1360, "column": 61 } } @@ -277958,15 +278278,15 @@ "updateContext": null }, "value": 3, - "start": 51248, - "end": 51249, + "start": 51901, + "end": 51902, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 62 }, "end": { - "line": 1359, + "line": 1360, "column": 63 } } @@ -277984,15 +278304,15 @@ "binop": null, "updateContext": null }, - "start": 51249, - "end": 51250, + "start": 51902, + "end": 51903, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 63 }, "end": { - "line": 1359, + "line": 1360, "column": 64 } } @@ -278009,15 +278329,15 @@ "postfix": false, "binop": null }, - "start": 51250, - "end": 51251, + "start": 51903, + "end": 51904, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 64 }, "end": { - "line": 1359, + "line": 1360, "column": 65 } } @@ -278036,15 +278356,15 @@ "updateContext": null }, "value": "/", - "start": 51252, - "end": 51253, + "start": 51905, + "end": 51906, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 66 }, "end": { - "line": 1359, + "line": 1360, "column": 67 } } @@ -278063,15 +278383,15 @@ "updateContext": null }, "value": 2, - "start": 51254, - "end": 51257, + "start": 51907, + "end": 51910, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 68 }, "end": { - "line": 1359, + "line": 1360, "column": 71 } } @@ -278088,15 +278408,15 @@ "postfix": false, "binop": null }, - "start": 51257, - "end": 51258, + "start": 51910, + "end": 51911, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 71 }, "end": { - "line": 1359, + "line": 1360, "column": 72 } } @@ -278114,15 +278434,15 @@ "binop": null, "updateContext": null }, - "start": 51258, - "end": 51259, + "start": 51911, + "end": 51912, "loc": { "start": { - "line": 1359, + "line": 1360, "column": 72 }, "end": { - "line": 1359, + "line": 1360, "column": 73 } } @@ -278140,15 +278460,15 @@ "binop": null }, "value": "kdNode", - "start": 51272, - "end": 51278, + "start": 51925, + "end": 51931, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 12 }, "end": { - "line": 1360, + "line": 1361, "column": 18 } } @@ -278166,15 +278486,15 @@ "binop": null, "updateContext": null }, - "start": 51278, - "end": 51279, + "start": 51931, + "end": 51932, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 18 }, "end": { - "line": 1360, + "line": 1361, "column": 19 } } @@ -278192,15 +278512,15 @@ "binop": null }, "value": "right", - "start": 51279, - "end": 51284, + "start": 51932, + "end": 51937, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 19 }, "end": { - "line": 1360, + "line": 1361, "column": 24 } } @@ -278219,15 +278539,15 @@ "updateContext": null }, "value": "=", - "start": 51285, - "end": 51286, + "start": 51938, + "end": 51939, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 25 }, "end": { - "line": 1360, + "line": 1361, "column": 26 } } @@ -278247,15 +278567,15 @@ "updateContext": null }, "value": "new", - "start": 51287, - "end": 51290, + "start": 51940, + "end": 51943, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 27 }, "end": { - "line": 1360, + "line": 1361, "column": 30 } } @@ -278273,15 +278593,15 @@ "binop": null }, "value": "KDNode", - "start": 51291, - "end": 51297, + "start": 51944, + "end": 51950, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 31 }, "end": { - "line": 1360, + "line": 1361, "column": 37 } } @@ -278298,15 +278618,15 @@ "postfix": false, "binop": null }, - "start": 51297, - "end": 51298, + "start": 51950, + "end": 51951, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 37 }, "end": { - "line": 1360, + "line": 1361, "column": 38 } } @@ -278324,15 +278644,15 @@ "binop": null }, "value": "aabbRight", - "start": 51298, - "end": 51307, + "start": 51951, + "end": 51960, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 38 }, "end": { - "line": 1360, + "line": 1361, "column": 47 } } @@ -278349,15 +278669,15 @@ "postfix": false, "binop": null }, - "start": 51307, - "end": 51308, + "start": 51960, + "end": 51961, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 47 }, "end": { - "line": 1360, + "line": 1361, "column": 48 } } @@ -278375,15 +278695,15 @@ "binop": null, "updateContext": null }, - "start": 51308, - "end": 51309, + "start": 51961, + "end": 51962, "loc": { "start": { - "line": 1360, + "line": 1361, "column": 48 }, "end": { - "line": 1360, + "line": 1361, "column": 49 } } @@ -278403,15 +278723,15 @@ "updateContext": null }, "value": "if", - "start": 51322, - "end": 51324, + "start": 51975, + "end": 51977, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 12 }, "end": { - "line": 1361, + "line": 1362, "column": 14 } } @@ -278428,15 +278748,15 @@ "postfix": false, "binop": null }, - "start": 51325, - "end": 51326, + "start": 51978, + "end": 51979, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 15 }, "end": { - "line": 1361, + "line": 1362, "column": 16 } } @@ -278454,15 +278774,15 @@ "binop": null }, "value": "math", - "start": 51326, - "end": 51330, + "start": 51979, + "end": 51983, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 16 }, "end": { - "line": 1361, + "line": 1362, "column": 20 } } @@ -278480,15 +278800,15 @@ "binop": null, "updateContext": null }, - "start": 51330, - "end": 51331, + "start": 51983, + "end": 51984, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 20 }, "end": { - "line": 1361, + "line": 1362, "column": 21 } } @@ -278506,15 +278826,15 @@ "binop": null }, "value": "containsAABB3", - "start": 51331, - "end": 51344, + "start": 51984, + "end": 51997, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 21 }, "end": { - "line": 1361, + "line": 1362, "column": 34 } } @@ -278531,15 +278851,15 @@ "postfix": false, "binop": null }, - "start": 51344, - "end": 51345, + "start": 51997, + "end": 51998, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 34 }, "end": { - "line": 1361, + "line": 1362, "column": 35 } } @@ -278557,15 +278877,15 @@ "binop": null }, "value": "aabbRight", - "start": 51345, - "end": 51354, + "start": 51998, + "end": 52007, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 35 }, "end": { - "line": 1361, + "line": 1362, "column": 44 } } @@ -278583,15 +278903,15 @@ "binop": null, "updateContext": null }, - "start": 51354, - "end": 51355, + "start": 52007, + "end": 52008, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 44 }, "end": { - "line": 1361, + "line": 1362, "column": 45 } } @@ -278609,15 +278929,15 @@ "binop": null }, "value": "entityAABB", - "start": 51356, - "end": 51366, + "start": 52009, + "end": 52019, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 46 }, "end": { - "line": 1361, + "line": 1362, "column": 56 } } @@ -278634,15 +278954,15 @@ "postfix": false, "binop": null }, - "start": 51366, - "end": 51367, + "start": 52019, + "end": 52020, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 56 }, "end": { - "line": 1361, + "line": 1362, "column": 57 } } @@ -278659,15 +278979,15 @@ "postfix": false, "binop": null }, - "start": 51367, - "end": 51368, + "start": 52020, + "end": 52021, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 57 }, "end": { - "line": 1361, + "line": 1362, "column": 58 } } @@ -278684,15 +279004,15 @@ "postfix": false, "binop": null }, - "start": 51369, - "end": 51370, + "start": 52022, + "end": 52023, "loc": { "start": { - "line": 1361, + "line": 1362, "column": 59 }, "end": { - "line": 1361, + "line": 1362, "column": 60 } } @@ -278712,15 +279032,15 @@ "updateContext": null }, "value": "this", - "start": 51387, - "end": 51391, + "start": 52040, + "end": 52044, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 16 }, "end": { - "line": 1362, + "line": 1363, "column": 20 } } @@ -278738,15 +279058,15 @@ "binop": null, "updateContext": null }, - "start": 51391, - "end": 51392, + "start": 52044, + "end": 52045, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 20 }, "end": { - "line": 1362, + "line": 1363, "column": 21 } } @@ -278764,15 +279084,15 @@ "binop": null }, "value": "_insertEntityIntoKDTree", - "start": 51392, - "end": 51415, + "start": 52045, + "end": 52068, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 21 }, "end": { - "line": 1362, + "line": 1363, "column": 44 } } @@ -278789,15 +279109,15 @@ "postfix": false, "binop": null }, - "start": 51415, - "end": 51416, + "start": 52068, + "end": 52069, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 44 }, "end": { - "line": 1362, + "line": 1363, "column": 45 } } @@ -278815,15 +279135,15 @@ "binop": null }, "value": "kdNode", - "start": 51416, - "end": 51422, + "start": 52069, + "end": 52075, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 45 }, "end": { - "line": 1362, + "line": 1363, "column": 51 } } @@ -278841,15 +279161,15 @@ "binop": null, "updateContext": null }, - "start": 51422, - "end": 51423, + "start": 52075, + "end": 52076, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 51 }, "end": { - "line": 1362, + "line": 1363, "column": 52 } } @@ -278867,15 +279187,15 @@ "binop": null }, "value": "right", - "start": 51423, - "end": 51428, + "start": 52076, + "end": 52081, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 52 }, "end": { - "line": 1362, + "line": 1363, "column": 57 } } @@ -278893,15 +279213,15 @@ "binop": null, "updateContext": null }, - "start": 51428, - "end": 51429, + "start": 52081, + "end": 52082, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 57 }, "end": { - "line": 1362, + "line": 1363, "column": 58 } } @@ -278919,15 +279239,15 @@ "binop": null }, "value": "entity", - "start": 51430, - "end": 51436, + "start": 52083, + "end": 52089, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 59 }, "end": { - "line": 1362, + "line": 1363, "column": 65 } } @@ -278944,15 +279264,15 @@ "postfix": false, "binop": null }, - "start": 51436, - "end": 51437, + "start": 52089, + "end": 52090, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 65 }, "end": { - "line": 1362, + "line": 1363, "column": 66 } } @@ -278970,15 +279290,15 @@ "binop": null, "updateContext": null }, - "start": 51437, - "end": 51438, + "start": 52090, + "end": 52091, "loc": { "start": { - "line": 1362, + "line": 1363, "column": 66 }, "end": { - "line": 1362, + "line": 1363, "column": 67 } } @@ -278998,15 +279318,15 @@ "updateContext": null }, "value": "return", - "start": 51455, - "end": 51461, + "start": 52108, + "end": 52114, "loc": { "start": { - "line": 1363, + "line": 1364, "column": 16 }, "end": { - "line": 1363, + "line": 1364, "column": 22 } } @@ -279024,15 +279344,15 @@ "binop": null, "updateContext": null }, - "start": 51461, - "end": 51462, + "start": 52114, + "end": 52115, "loc": { "start": { - "line": 1363, + "line": 1364, "column": 22 }, "end": { - "line": 1363, + "line": 1364, "column": 23 } } @@ -279049,15 +279369,15 @@ "postfix": false, "binop": null }, - "start": 51475, - "end": 51476, + "start": 52128, + "end": 52129, "loc": { "start": { - "line": 1364, + "line": 1365, "column": 12 }, "end": { - "line": 1364, + "line": 1365, "column": 13 } } @@ -279074,15 +279394,15 @@ "postfix": false, "binop": null }, - "start": 51485, - "end": 51486, + "start": 52138, + "end": 52139, "loc": { "start": { - "line": 1365, + "line": 1366, "column": 8 }, "end": { - "line": 1365, + "line": 1366, "column": 9 } } @@ -279100,15 +279420,15 @@ "binop": null }, "value": "kdNode", - "start": 51496, - "end": 51502, + "start": 52149, + "end": 52155, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 8 }, "end": { - "line": 1367, + "line": 1368, "column": 14 } } @@ -279126,15 +279446,15 @@ "binop": null, "updateContext": null }, - "start": 51502, - "end": 51503, + "start": 52155, + "end": 52156, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 14 }, "end": { - "line": 1367, + "line": 1368, "column": 15 } } @@ -279152,15 +279472,15 @@ "binop": null }, "value": "entities", - "start": 51503, - "end": 51511, + "start": 52156, + "end": 52164, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 15 }, "end": { - "line": 1367, + "line": 1368, "column": 23 } } @@ -279179,15 +279499,15 @@ "updateContext": null }, "value": "=", - "start": 51512, - "end": 51513, + "start": 52165, + "end": 52166, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 24 }, "end": { - "line": 1367, + "line": 1368, "column": 25 } } @@ -279205,15 +279525,15 @@ "binop": null }, "value": "kdNode", - "start": 51514, - "end": 51520, + "start": 52167, + "end": 52173, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 26 }, "end": { - "line": 1367, + "line": 1368, "column": 32 } } @@ -279231,15 +279551,15 @@ "binop": null, "updateContext": null }, - "start": 51520, - "end": 51521, + "start": 52173, + "end": 52174, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 32 }, "end": { - "line": 1367, + "line": 1368, "column": 33 } } @@ -279257,15 +279577,15 @@ "binop": null }, "value": "entities", - "start": 51521, - "end": 51529, + "start": 52174, + "end": 52182, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 33 }, "end": { - "line": 1367, + "line": 1368, "column": 41 } } @@ -279284,15 +279604,15 @@ "updateContext": null }, "value": "||", - "start": 51530, - "end": 51532, + "start": 52183, + "end": 52185, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 42 }, "end": { - "line": 1367, + "line": 1368, "column": 44 } } @@ -279310,15 +279630,15 @@ "binop": null, "updateContext": null }, - "start": 51533, - "end": 51534, + "start": 52186, + "end": 52187, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 45 }, "end": { - "line": 1367, + "line": 1368, "column": 46 } } @@ -279336,15 +279656,15 @@ "binop": null, "updateContext": null }, - "start": 51534, - "end": 51535, + "start": 52187, + "end": 52188, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 46 }, "end": { - "line": 1367, + "line": 1368, "column": 47 } } @@ -279362,15 +279682,15 @@ "binop": null, "updateContext": null }, - "start": 51535, - "end": 51536, + "start": 52188, + "end": 52189, "loc": { "start": { - "line": 1367, + "line": 1368, "column": 47 }, "end": { - "line": 1367, + "line": 1368, "column": 48 } } @@ -279388,15 +279708,15 @@ "binop": null }, "value": "kdNode", - "start": 51545, - "end": 51551, + "start": 52198, + "end": 52204, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 8 }, "end": { - "line": 1368, + "line": 1369, "column": 14 } } @@ -279414,15 +279734,15 @@ "binop": null, "updateContext": null }, - "start": 51551, - "end": 51552, + "start": 52204, + "end": 52205, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 14 }, "end": { - "line": 1368, + "line": 1369, "column": 15 } } @@ -279440,15 +279760,15 @@ "binop": null }, "value": "entities", - "start": 51552, - "end": 51560, + "start": 52205, + "end": 52213, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 15 }, "end": { - "line": 1368, + "line": 1369, "column": 23 } } @@ -279466,15 +279786,15 @@ "binop": null, "updateContext": null }, - "start": 51560, - "end": 51561, + "start": 52213, + "end": 52214, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 23 }, "end": { - "line": 1368, + "line": 1369, "column": 24 } } @@ -279492,15 +279812,15 @@ "binop": null }, "value": "push", - "start": 51561, - "end": 51565, + "start": 52214, + "end": 52218, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 24 }, "end": { - "line": 1368, + "line": 1369, "column": 28 } } @@ -279517,15 +279837,15 @@ "postfix": false, "binop": null }, - "start": 51565, - "end": 51566, + "start": 52218, + "end": 52219, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 28 }, "end": { - "line": 1368, + "line": 1369, "column": 29 } } @@ -279543,15 +279863,15 @@ "binop": null }, "value": "entity", - "start": 51566, - "end": 51572, + "start": 52219, + "end": 52225, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 29 }, "end": { - "line": 1368, + "line": 1369, "column": 35 } } @@ -279568,15 +279888,15 @@ "postfix": false, "binop": null }, - "start": 51572, - "end": 51573, + "start": 52225, + "end": 52226, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 35 }, "end": { - "line": 1368, + "line": 1369, "column": 36 } } @@ -279594,15 +279914,15 @@ "binop": null, "updateContext": null }, - "start": 51573, - "end": 51574, + "start": 52226, + "end": 52227, "loc": { "start": { - "line": 1368, + "line": 1369, "column": 36 }, "end": { - "line": 1368, + "line": 1369, "column": 37 } } @@ -279620,15 +279940,15 @@ "binop": null }, "value": "math", - "start": 51584, - "end": 51588, + "start": 52237, + "end": 52241, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 8 }, "end": { - "line": 1370, + "line": 1371, "column": 12 } } @@ -279646,15 +279966,15 @@ "binop": null, "updateContext": null }, - "start": 51588, - "end": 51589, + "start": 52241, + "end": 52242, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 12 }, "end": { - "line": 1370, + "line": 1371, "column": 13 } } @@ -279672,15 +279992,15 @@ "binop": null }, "value": "expandAABB3", - "start": 51589, - "end": 51600, + "start": 52242, + "end": 52253, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 13 }, "end": { - "line": 1370, + "line": 1371, "column": 24 } } @@ -279697,15 +280017,15 @@ "postfix": false, "binop": null }, - "start": 51600, - "end": 51601, + "start": 52253, + "end": 52254, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 24 }, "end": { - "line": 1370, + "line": 1371, "column": 25 } } @@ -279723,15 +280043,15 @@ "binop": null }, "value": "nodeAABB", - "start": 51601, - "end": 51609, + "start": 52254, + "end": 52262, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 25 }, "end": { - "line": 1370, + "line": 1371, "column": 33 } } @@ -279749,15 +280069,15 @@ "binop": null, "updateContext": null }, - "start": 51609, - "end": 51610, + "start": 52262, + "end": 52263, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 33 }, "end": { - "line": 1370, + "line": 1371, "column": 34 } } @@ -279775,15 +280095,15 @@ "binop": null }, "value": "entityAABB", - "start": 51611, - "end": 51621, + "start": 52264, + "end": 52274, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 35 }, "end": { - "line": 1370, + "line": 1371, "column": 45 } } @@ -279800,15 +280120,15 @@ "postfix": false, "binop": null }, - "start": 51621, - "end": 51622, + "start": 52274, + "end": 52275, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 45 }, "end": { - "line": 1370, + "line": 1371, "column": 46 } } @@ -279826,15 +280146,15 @@ "binop": null, "updateContext": null }, - "start": 51622, - "end": 51623, + "start": 52275, + "end": 52276, "loc": { "start": { - "line": 1370, + "line": 1371, "column": 46 }, "end": { - "line": 1370, + "line": 1371, "column": 47 } } @@ -279851,15 +280171,15 @@ "postfix": false, "binop": null }, - "start": 51628, - "end": 51629, + "start": 52281, + "end": 52282, "loc": { "start": { - "line": 1371, + "line": 1372, "column": 4 }, "end": { - "line": 1371, + "line": 1372, "column": 5 } } @@ -279877,15 +280197,15 @@ "binop": null }, "value": "_createTilesFromKDTree", - "start": 51635, - "end": 51657, + "start": 52288, + "end": 52310, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 4 }, "end": { - "line": 1373, + "line": 1374, "column": 26 } } @@ -279902,15 +280222,15 @@ "postfix": false, "binop": null }, - "start": 51657, - "end": 51658, + "start": 52310, + "end": 52311, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 26 }, "end": { - "line": 1373, + "line": 1374, "column": 27 } } @@ -279928,15 +280248,15 @@ "binop": null }, "value": "rootKDNode", - "start": 51658, - "end": 51668, + "start": 52311, + "end": 52321, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 27 }, "end": { - "line": 1373, + "line": 1374, "column": 37 } } @@ -279953,15 +280273,15 @@ "postfix": false, "binop": null }, - "start": 51668, - "end": 51669, + "start": 52321, + "end": 52322, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 37 }, "end": { - "line": 1373, + "line": 1374, "column": 38 } } @@ -279978,15 +280298,15 @@ "postfix": false, "binop": null }, - "start": 51670, - "end": 51671, + "start": 52323, + "end": 52324, "loc": { "start": { - "line": 1373, + "line": 1374, "column": 39 }, "end": { - "line": 1373, + "line": 1374, "column": 40 } } @@ -280006,15 +280326,15 @@ "updateContext": null }, "value": "this", - "start": 51680, - "end": 51684, + "start": 52333, + "end": 52337, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 8 }, "end": { - "line": 1374, + "line": 1375, "column": 12 } } @@ -280032,15 +280352,15 @@ "binop": null, "updateContext": null }, - "start": 51684, - "end": 51685, + "start": 52337, + "end": 52338, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 12 }, "end": { - "line": 1374, + "line": 1375, "column": 13 } } @@ -280058,15 +280378,15 @@ "binop": null }, "value": "_createTilesFromKDNode", - "start": 51685, - "end": 51707, + "start": 52338, + "end": 52360, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 13 }, "end": { - "line": 1374, + "line": 1375, "column": 35 } } @@ -280083,15 +280403,15 @@ "postfix": false, "binop": null }, - "start": 51707, - "end": 51708, + "start": 52360, + "end": 52361, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 35 }, "end": { - "line": 1374, + "line": 1375, "column": 36 } } @@ -280109,15 +280429,15 @@ "binop": null }, "value": "rootKDNode", - "start": 51708, - "end": 51718, + "start": 52361, + "end": 52371, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 36 }, "end": { - "line": 1374, + "line": 1375, "column": 46 } } @@ -280134,15 +280454,15 @@ "postfix": false, "binop": null }, - "start": 51718, - "end": 51719, + "start": 52371, + "end": 52372, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 46 }, "end": { - "line": 1374, + "line": 1375, "column": 47 } } @@ -280160,15 +280480,15 @@ "binop": null, "updateContext": null }, - "start": 51719, - "end": 51720, + "start": 52372, + "end": 52373, "loc": { "start": { - "line": 1374, + "line": 1375, "column": 47 }, "end": { - "line": 1374, + "line": 1375, "column": 48 } } @@ -280185,15 +280505,15 @@ "postfix": false, "binop": null }, - "start": 51725, - "end": 51726, + "start": 52378, + "end": 52379, "loc": { "start": { - "line": 1375, + "line": 1376, "column": 4 }, "end": { - "line": 1375, + "line": 1376, "column": 5 } } @@ -280211,15 +280531,15 @@ "binop": null }, "value": "_createTilesFromKDNode", - "start": 51732, - "end": 51754, + "start": 52385, + "end": 52407, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 4 }, "end": { - "line": 1377, + "line": 1378, "column": 26 } } @@ -280236,15 +280556,15 @@ "postfix": false, "binop": null }, - "start": 51754, - "end": 51755, + "start": 52407, + "end": 52408, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 26 }, "end": { - "line": 1377, + "line": 1378, "column": 27 } } @@ -280262,15 +280582,15 @@ "binop": null }, "value": "kdNode", - "start": 51755, - "end": 51761, + "start": 52408, + "end": 52414, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 27 }, "end": { - "line": 1377, + "line": 1378, "column": 33 } } @@ -280287,15 +280607,15 @@ "postfix": false, "binop": null }, - "start": 51761, - "end": 51762, + "start": 52414, + "end": 52415, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 33 }, "end": { - "line": 1377, + "line": 1378, "column": 34 } } @@ -280312,15 +280632,15 @@ "postfix": false, "binop": null }, - "start": 51763, - "end": 51764, + "start": 52416, + "end": 52417, "loc": { "start": { - "line": 1377, + "line": 1378, "column": 35 }, "end": { - "line": 1377, + "line": 1378, "column": 36 } } @@ -280340,15 +280660,15 @@ "updateContext": null }, "value": "if", - "start": 51773, - "end": 51775, + "start": 52426, + "end": 52428, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 8 }, "end": { - "line": 1378, + "line": 1379, "column": 10 } } @@ -280365,15 +280685,15 @@ "postfix": false, "binop": null }, - "start": 51776, - "end": 51777, + "start": 52429, + "end": 52430, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 11 }, "end": { - "line": 1378, + "line": 1379, "column": 12 } } @@ -280391,15 +280711,15 @@ "binop": null }, "value": "kdNode", - "start": 51777, - "end": 51783, + "start": 52430, + "end": 52436, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 12 }, "end": { - "line": 1378, + "line": 1379, "column": 18 } } @@ -280417,15 +280737,15 @@ "binop": null, "updateContext": null }, - "start": 51783, - "end": 51784, + "start": 52436, + "end": 52437, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 18 }, "end": { - "line": 1378, + "line": 1379, "column": 19 } } @@ -280443,15 +280763,15 @@ "binop": null }, "value": "entities", - "start": 51784, - "end": 51792, + "start": 52437, + "end": 52445, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 19 }, "end": { - "line": 1378, + "line": 1379, "column": 27 } } @@ -280470,15 +280790,15 @@ "updateContext": null }, "value": "&&", - "start": 51793, - "end": 51795, + "start": 52446, + "end": 52448, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 28 }, "end": { - "line": 1378, + "line": 1379, "column": 30 } } @@ -280496,15 +280816,15 @@ "binop": null }, "value": "kdNode", - "start": 51796, - "end": 51802, + "start": 52449, + "end": 52455, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 31 }, "end": { - "line": 1378, + "line": 1379, "column": 37 } } @@ -280522,15 +280842,15 @@ "binop": null, "updateContext": null }, - "start": 51802, - "end": 51803, + "start": 52455, + "end": 52456, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 37 }, "end": { - "line": 1378, + "line": 1379, "column": 38 } } @@ -280548,15 +280868,15 @@ "binop": null }, "value": "entities", - "start": 51803, - "end": 51811, + "start": 52456, + "end": 52464, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 38 }, "end": { - "line": 1378, + "line": 1379, "column": 46 } } @@ -280574,15 +280894,15 @@ "binop": null, "updateContext": null }, - "start": 51811, - "end": 51812, + "start": 52464, + "end": 52465, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 46 }, "end": { - "line": 1378, + "line": 1379, "column": 47 } } @@ -280600,15 +280920,15 @@ "binop": null }, "value": "length", - "start": 51812, - "end": 51818, + "start": 52465, + "end": 52471, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 47 }, "end": { - "line": 1378, + "line": 1379, "column": 53 } } @@ -280627,15 +280947,15 @@ "updateContext": null }, "value": ">", - "start": 51819, - "end": 51820, + "start": 52472, + "end": 52473, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 54 }, "end": { - "line": 1378, + "line": 1379, "column": 55 } } @@ -280654,15 +280974,15 @@ "updateContext": null }, "value": 0, - "start": 51821, - "end": 51822, + "start": 52474, + "end": 52475, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 56 }, "end": { - "line": 1378, + "line": 1379, "column": 57 } } @@ -280679,15 +280999,15 @@ "postfix": false, "binop": null }, - "start": 51822, - "end": 51823, + "start": 52475, + "end": 52476, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 57 }, "end": { - "line": 1378, + "line": 1379, "column": 58 } } @@ -280704,15 +281024,15 @@ "postfix": false, "binop": null }, - "start": 51824, - "end": 51825, + "start": 52477, + "end": 52478, "loc": { "start": { - "line": 1378, + "line": 1379, "column": 59 }, "end": { - "line": 1378, + "line": 1379, "column": 60 } } @@ -280732,15 +281052,15 @@ "updateContext": null }, "value": "this", - "start": 51838, - "end": 51842, + "start": 52491, + "end": 52495, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 12 }, "end": { - "line": 1379, + "line": 1380, "column": 16 } } @@ -280758,15 +281078,15 @@ "binop": null, "updateContext": null }, - "start": 51842, - "end": 51843, + "start": 52495, + "end": 52496, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 16 }, "end": { - "line": 1379, + "line": 1380, "column": 17 } } @@ -280784,15 +281104,15 @@ "binop": null }, "value": "_createTileFromEntities", - "start": 51843, - "end": 51866, + "start": 52496, + "end": 52519, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 17 }, "end": { - "line": 1379, + "line": 1380, "column": 40 } } @@ -280809,15 +281129,15 @@ "postfix": false, "binop": null }, - "start": 51866, - "end": 51867, + "start": 52519, + "end": 52520, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 40 }, "end": { - "line": 1379, + "line": 1380, "column": 41 } } @@ -280835,15 +281155,15 @@ "binop": null }, "value": "kdNode", - "start": 51867, - "end": 51873, + "start": 52520, + "end": 52526, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 41 }, "end": { - "line": 1379, + "line": 1380, "column": 47 } } @@ -280860,15 +281180,15 @@ "postfix": false, "binop": null }, - "start": 51873, - "end": 51874, + "start": 52526, + "end": 52527, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 47 }, "end": { - "line": 1379, + "line": 1380, "column": 48 } } @@ -280886,15 +281206,15 @@ "binop": null, "updateContext": null }, - "start": 51874, - "end": 51875, + "start": 52527, + "end": 52528, "loc": { "start": { - "line": 1379, + "line": 1380, "column": 48 }, "end": { - "line": 1379, + "line": 1380, "column": 49 } } @@ -280911,15 +281231,15 @@ "postfix": false, "binop": null }, - "start": 51884, - "end": 51885, + "start": 52537, + "end": 52538, "loc": { "start": { - "line": 1380, + "line": 1381, "column": 8 }, "end": { - "line": 1380, + "line": 1381, "column": 9 } } @@ -280939,15 +281259,15 @@ "updateContext": null }, "value": "if", - "start": 51894, - "end": 51896, + "start": 52547, + "end": 52549, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 8 }, "end": { - "line": 1381, + "line": 1382, "column": 10 } } @@ -280964,15 +281284,15 @@ "postfix": false, "binop": null }, - "start": 51897, - "end": 51898, + "start": 52550, + "end": 52551, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 11 }, "end": { - "line": 1381, + "line": 1382, "column": 12 } } @@ -280990,15 +281310,15 @@ "binop": null }, "value": "kdNode", - "start": 51898, - "end": 51904, + "start": 52551, + "end": 52557, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 12 }, "end": { - "line": 1381, + "line": 1382, "column": 18 } } @@ -281016,15 +281336,15 @@ "binop": null, "updateContext": null }, - "start": 51904, - "end": 51905, + "start": 52557, + "end": 52558, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 18 }, "end": { - "line": 1381, + "line": 1382, "column": 19 } } @@ -281042,15 +281362,15 @@ "binop": null }, "value": "left", - "start": 51905, - "end": 51909, + "start": 52558, + "end": 52562, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 19 }, "end": { - "line": 1381, + "line": 1382, "column": 23 } } @@ -281067,15 +281387,15 @@ "postfix": false, "binop": null }, - "start": 51909, - "end": 51910, + "start": 52562, + "end": 52563, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 23 }, "end": { - "line": 1381, + "line": 1382, "column": 24 } } @@ -281092,15 +281412,15 @@ "postfix": false, "binop": null }, - "start": 51911, - "end": 51912, + "start": 52564, + "end": 52565, "loc": { "start": { - "line": 1381, + "line": 1382, "column": 25 }, "end": { - "line": 1381, + "line": 1382, "column": 26 } } @@ -281120,15 +281440,15 @@ "updateContext": null }, "value": "this", - "start": 51925, - "end": 51929, + "start": 52578, + "end": 52582, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 12 }, "end": { - "line": 1382, + "line": 1383, "column": 16 } } @@ -281146,15 +281466,15 @@ "binop": null, "updateContext": null }, - "start": 51929, - "end": 51930, + "start": 52582, + "end": 52583, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 16 }, "end": { - "line": 1382, + "line": 1383, "column": 17 } } @@ -281172,15 +281492,15 @@ "binop": null }, "value": "_createTilesFromKDNode", - "start": 51930, - "end": 51952, + "start": 52583, + "end": 52605, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 17 }, "end": { - "line": 1382, + "line": 1383, "column": 39 } } @@ -281197,15 +281517,15 @@ "postfix": false, "binop": null }, - "start": 51952, - "end": 51953, + "start": 52605, + "end": 52606, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 39 }, "end": { - "line": 1382, + "line": 1383, "column": 40 } } @@ -281223,15 +281543,15 @@ "binop": null }, "value": "kdNode", - "start": 51953, - "end": 51959, + "start": 52606, + "end": 52612, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 40 }, "end": { - "line": 1382, + "line": 1383, "column": 46 } } @@ -281249,15 +281569,15 @@ "binop": null, "updateContext": null }, - "start": 51959, - "end": 51960, + "start": 52612, + "end": 52613, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 46 }, "end": { - "line": 1382, + "line": 1383, "column": 47 } } @@ -281275,15 +281595,15 @@ "binop": null }, "value": "left", - "start": 51960, - "end": 51964, + "start": 52613, + "end": 52617, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 47 }, "end": { - "line": 1382, + "line": 1383, "column": 51 } } @@ -281300,15 +281620,15 @@ "postfix": false, "binop": null }, - "start": 51964, - "end": 51965, + "start": 52617, + "end": 52618, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 51 }, "end": { - "line": 1382, + "line": 1383, "column": 52 } } @@ -281326,15 +281646,15 @@ "binop": null, "updateContext": null }, - "start": 51965, - "end": 51966, + "start": 52618, + "end": 52619, "loc": { "start": { - "line": 1382, + "line": 1383, "column": 52 }, "end": { - "line": 1382, + "line": 1383, "column": 53 } } @@ -281351,15 +281671,15 @@ "postfix": false, "binop": null }, - "start": 51975, - "end": 51976, + "start": 52628, + "end": 52629, "loc": { "start": { - "line": 1383, + "line": 1384, "column": 8 }, "end": { - "line": 1383, + "line": 1384, "column": 9 } } @@ -281379,15 +281699,15 @@ "updateContext": null }, "value": "if", - "start": 51985, - "end": 51987, + "start": 52638, + "end": 52640, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 8 }, "end": { - "line": 1384, + "line": 1385, "column": 10 } } @@ -281404,15 +281724,15 @@ "postfix": false, "binop": null }, - "start": 51988, - "end": 51989, + "start": 52641, + "end": 52642, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 11 }, "end": { - "line": 1384, + "line": 1385, "column": 12 } } @@ -281430,15 +281750,15 @@ "binop": null }, "value": "kdNode", - "start": 51989, - "end": 51995, + "start": 52642, + "end": 52648, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 12 }, "end": { - "line": 1384, + "line": 1385, "column": 18 } } @@ -281456,15 +281776,15 @@ "binop": null, "updateContext": null }, - "start": 51995, - "end": 51996, + "start": 52648, + "end": 52649, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 18 }, "end": { - "line": 1384, + "line": 1385, "column": 19 } } @@ -281482,15 +281802,15 @@ "binop": null }, "value": "right", - "start": 51996, - "end": 52001, + "start": 52649, + "end": 52654, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 19 }, "end": { - "line": 1384, + "line": 1385, "column": 24 } } @@ -281507,15 +281827,15 @@ "postfix": false, "binop": null }, - "start": 52001, - "end": 52002, + "start": 52654, + "end": 52655, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 24 }, "end": { - "line": 1384, + "line": 1385, "column": 25 } } @@ -281532,15 +281852,15 @@ "postfix": false, "binop": null }, - "start": 52003, - "end": 52004, + "start": 52656, + "end": 52657, "loc": { "start": { - "line": 1384, + "line": 1385, "column": 26 }, "end": { - "line": 1384, + "line": 1385, "column": 27 } } @@ -281560,15 +281880,15 @@ "updateContext": null }, "value": "this", - "start": 52017, - "end": 52021, + "start": 52670, + "end": 52674, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 12 }, "end": { - "line": 1385, + "line": 1386, "column": 16 } } @@ -281586,15 +281906,15 @@ "binop": null, "updateContext": null }, - "start": 52021, - "end": 52022, + "start": 52674, + "end": 52675, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 16 }, "end": { - "line": 1385, + "line": 1386, "column": 17 } } @@ -281612,15 +281932,15 @@ "binop": null }, "value": "_createTilesFromKDNode", - "start": 52022, - "end": 52044, + "start": 52675, + "end": 52697, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 17 }, "end": { - "line": 1385, + "line": 1386, "column": 39 } } @@ -281637,15 +281957,15 @@ "postfix": false, "binop": null }, - "start": 52044, - "end": 52045, + "start": 52697, + "end": 52698, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 39 }, "end": { - "line": 1385, + "line": 1386, "column": 40 } } @@ -281663,15 +281983,15 @@ "binop": null }, "value": "kdNode", - "start": 52045, - "end": 52051, + "start": 52698, + "end": 52704, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 40 }, "end": { - "line": 1385, + "line": 1386, "column": 46 } } @@ -281689,15 +282009,15 @@ "binop": null, "updateContext": null }, - "start": 52051, - "end": 52052, + "start": 52704, + "end": 52705, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 46 }, "end": { - "line": 1385, + "line": 1386, "column": 47 } } @@ -281715,15 +282035,15 @@ "binop": null }, "value": "right", - "start": 52052, - "end": 52057, + "start": 52705, + "end": 52710, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 47 }, "end": { - "line": 1385, + "line": 1386, "column": 52 } } @@ -281740,15 +282060,15 @@ "postfix": false, "binop": null }, - "start": 52057, - "end": 52058, + "start": 52710, + "end": 52711, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 52 }, "end": { - "line": 1385, + "line": 1386, "column": 53 } } @@ -281766,15 +282086,15 @@ "binop": null, "updateContext": null }, - "start": 52058, - "end": 52059, + "start": 52711, + "end": 52712, "loc": { "start": { - "line": 1385, + "line": 1386, "column": 53 }, "end": { - "line": 1385, + "line": 1386, "column": 54 } } @@ -281791,15 +282111,15 @@ "postfix": false, "binop": null }, - "start": 52068, - "end": 52069, + "start": 52721, + "end": 52722, "loc": { "start": { - "line": 1386, + "line": 1387, "column": 8 }, "end": { - "line": 1386, + "line": 1387, "column": 9 } } @@ -281816,15 +282136,15 @@ "postfix": false, "binop": null }, - "start": 52074, - "end": 52075, + "start": 52727, + "end": 52728, "loc": { "start": { - "line": 1387, + "line": 1388, "column": 4 }, "end": { - "line": 1387, + "line": 1388, "column": 5 } } @@ -281832,15 +282152,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a tile from the given entities.\n *\n * For each single-use {@link XKTGeometry}, this method centers {@link XKTGeometry#positions} to make them relative to the\n * tile's center, then quantizes the positions to unsigned 16-bit integers, relative to the tile's boundary.\n *\n * @param kdNode\n ", - "start": 52081, - "end": 52414, + "start": 52734, + "end": 53067, "loc": { "start": { - "line": 1389, + "line": 1390, "column": 4 }, "end": { - "line": 1396, + "line": 1397, "column": 7 } } @@ -281858,15 +282178,15 @@ "binop": null }, "value": "_createTileFromEntities", - "start": 52419, - "end": 52442, + "start": 53072, + "end": 53095, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 4 }, "end": { - "line": 1397, + "line": 1398, "column": 27 } } @@ -281883,15 +282203,15 @@ "postfix": false, "binop": null }, - "start": 52442, - "end": 52443, + "start": 53095, + "end": 53096, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 27 }, "end": { - "line": 1397, + "line": 1398, "column": 28 } } @@ -281909,15 +282229,15 @@ "binop": null }, "value": "kdNode", - "start": 52443, - "end": 52449, + "start": 53096, + "end": 53102, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 28 }, "end": { - "line": 1397, + "line": 1398, "column": 34 } } @@ -281934,15 +282254,15 @@ "postfix": false, "binop": null }, - "start": 52449, - "end": 52450, + "start": 53102, + "end": 53103, "loc": { "start": { - "line": 1397, + "line": 1398, "column": 34 }, "end": { - "line": 1397, + "line": 1398, "column": 35 } } @@ -281959,200 +282279,15 @@ "postfix": false, "binop": null }, - "start": 52451, - "end": 52452, - "loc": { - "start": { - "line": 1397, - "column": 36 - }, - "end": { - "line": 1397, - "column": 37 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 52462, - "end": 52467, - "loc": { - "start": { - "line": 1399, - "column": 8 - }, - "end": { - "line": 1399, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tileAABB", - "start": 52468, - "end": 52476, - "loc": { - "start": { - "line": 1399, - "column": 14 - }, - "end": { - "line": 1399, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 52477, - "end": 52478, - "loc": { - "start": { - "line": 1399, - "column": 23 - }, - "end": { - "line": 1399, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "kdNode", - "start": 52479, - "end": 52485, - "loc": { - "start": { - "line": 1399, - "column": 25 - }, - "end": { - "line": 1399, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 52485, - "end": 52486, - "loc": { - "start": { - "line": 1399, - "column": 31 - }, - "end": { - "line": 1399, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "aabb", - "start": 52486, - "end": 52490, - "loc": { - "start": { - "line": 1399, - "column": 32 - }, - "end": { - "line": 1399, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 52490, - "end": 52491, + "start": 53104, + "end": 53105, "loc": { "start": { - "line": 1399, + "line": 1398, "column": 36 }, "end": { - "line": 1399, + "line": 1398, "column": 37 } } @@ -282172,8 +282307,8 @@ "updateContext": null }, "value": "const", - "start": 52500, - "end": 52505, + "start": 53115, + "end": 53120, "loc": { "start": { "line": 1400, @@ -282197,9 +282332,9 @@ "postfix": false, "binop": null }, - "value": "entities", - "start": 52506, - "end": 52514, + "value": "tileAABB", + "start": 53121, + "end": 53129, "loc": { "start": { "line": 1400, @@ -282225,8 +282360,8 @@ "updateContext": null }, "value": "=", - "start": 52515, - "end": 52516, + "start": 53130, + "end": 53131, "loc": { "start": { "line": 1400, @@ -282251,8 +282386,8 @@ "binop": null }, "value": "kdNode", - "start": 52517, - "end": 52523, + "start": 53132, + "end": 53138, "loc": { "start": { "line": 1400, @@ -282277,8 +282412,8 @@ "binop": null, "updateContext": null }, - "start": 52523, - "end": 52524, + "start": 53138, + "end": 53139, "loc": { "start": { "line": 1400, @@ -282302,9 +282437,9 @@ "postfix": false, "binop": null }, - "value": "entities", - "start": 52524, - "end": 52532, + "value": "aabb", + "start": 53139, + "end": 53143, "loc": { "start": { "line": 1400, @@ -282312,7 +282447,7 @@ }, "end": { "line": 1400, - "column": 40 + "column": 36 } } }, @@ -282329,15 +282464,200 @@ "binop": null, "updateContext": null }, - "start": 52532, - "end": 52533, + "start": 53143, + "end": 53144, "loc": { "start": { "line": 1400, - "column": 40 + "column": 36 }, "end": { "line": 1400, + "column": 37 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 53153, + "end": 53158, + "loc": { + "start": { + "line": 1401, + "column": 8 + }, + "end": { + "line": 1401, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entities", + "start": 53159, + "end": 53167, + "loc": { + "start": { + "line": 1401, + "column": 14 + }, + "end": { + "line": 1401, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 53168, + "end": 53169, + "loc": { + "start": { + "line": 1401, + "column": 23 + }, + "end": { + "line": 1401, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kdNode", + "start": 53170, + "end": 53176, + "loc": { + "start": { + "line": 1401, + "column": 25 + }, + "end": { + "line": 1401, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 53176, + "end": 53177, + "loc": { + "start": { + "line": 1401, + "column": 31 + }, + "end": { + "line": 1401, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entities", + "start": 53177, + "end": 53185, + "loc": { + "start": { + "line": 1401, + "column": 32 + }, + "end": { + "line": 1401, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 53185, + "end": 53186, + "loc": { + "start": { + "line": 1401, + "column": 40 + }, + "end": { + "line": 1401, "column": 41 } } @@ -282357,15 +282677,15 @@ "updateContext": null }, "value": "const", - "start": 52543, - "end": 52548, + "start": 53196, + "end": 53201, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 8 }, "end": { - "line": 1402, + "line": 1403, "column": 13 } } @@ -282383,15 +282703,15 @@ "binop": null }, "value": "tileCenter", - "start": 52549, - "end": 52559, + "start": 53202, + "end": 53212, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 14 }, "end": { - "line": 1402, + "line": 1403, "column": 24 } } @@ -282410,15 +282730,15 @@ "updateContext": null }, "value": "=", - "start": 52560, - "end": 52561, + "start": 53213, + "end": 53214, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 25 }, "end": { - "line": 1402, + "line": 1403, "column": 26 } } @@ -282436,15 +282756,15 @@ "binop": null }, "value": "math", - "start": 52562, - "end": 52566, + "start": 53215, + "end": 53219, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 27 }, "end": { - "line": 1402, + "line": 1403, "column": 31 } } @@ -282462,15 +282782,15 @@ "binop": null, "updateContext": null }, - "start": 52566, - "end": 52567, + "start": 53219, + "end": 53220, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 31 }, "end": { - "line": 1402, + "line": 1403, "column": 32 } } @@ -282488,15 +282808,15 @@ "binop": null }, "value": "getAABB3Center", - "start": 52567, - "end": 52581, + "start": 53220, + "end": 53234, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 32 }, "end": { - "line": 1402, + "line": 1403, "column": 46 } } @@ -282513,15 +282833,15 @@ "postfix": false, "binop": null }, - "start": 52581, - "end": 52582, + "start": 53234, + "end": 53235, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 46 }, "end": { - "line": 1402, + "line": 1403, "column": 47 } } @@ -282539,15 +282859,15 @@ "binop": null }, "value": "tileAABB", - "start": 52582, - "end": 52590, + "start": 53235, + "end": 53243, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 47 }, "end": { - "line": 1402, + "line": 1403, "column": 55 } } @@ -282564,15 +282884,15 @@ "postfix": false, "binop": null }, - "start": 52590, - "end": 52591, + "start": 53243, + "end": 53244, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 55 }, "end": { - "line": 1402, + "line": 1403, "column": 56 } } @@ -282590,15 +282910,15 @@ "binop": null, "updateContext": null }, - "start": 52591, - "end": 52592, + "start": 53244, + "end": 53245, "loc": { "start": { - "line": 1402, + "line": 1403, "column": 56 }, "end": { - "line": 1402, + "line": 1403, "column": 57 } } @@ -282618,15 +282938,15 @@ "updateContext": null }, "value": "const", - "start": 52601, - "end": 52606, + "start": 53254, + "end": 53259, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 8 }, "end": { - "line": 1403, + "line": 1404, "column": 13 } } @@ -282644,15 +282964,15 @@ "binop": null }, "value": "tileCenterNeg", - "start": 52607, - "end": 52620, + "start": 53260, + "end": 53273, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 14 }, "end": { - "line": 1403, + "line": 1404, "column": 27 } } @@ -282671,15 +282991,15 @@ "updateContext": null }, "value": "=", - "start": 52621, - "end": 52622, + "start": 53274, + "end": 53275, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 28 }, "end": { - "line": 1403, + "line": 1404, "column": 29 } } @@ -282697,15 +283017,15 @@ "binop": null }, "value": "math", - "start": 52623, - "end": 52627, + "start": 53276, + "end": 53280, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 30 }, "end": { - "line": 1403, + "line": 1404, "column": 34 } } @@ -282723,15 +283043,15 @@ "binop": null, "updateContext": null }, - "start": 52627, - "end": 52628, + "start": 53280, + "end": 53281, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 34 }, "end": { - "line": 1403, + "line": 1404, "column": 35 } } @@ -282749,15 +283069,15 @@ "binop": null }, "value": "mulVec3Scalar", - "start": 52628, - "end": 52641, + "start": 53281, + "end": 53294, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 35 }, "end": { - "line": 1403, + "line": 1404, "column": 48 } } @@ -282774,15 +283094,15 @@ "postfix": false, "binop": null }, - "start": 52641, - "end": 52642, + "start": 53294, + "end": 53295, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 48 }, "end": { - "line": 1403, + "line": 1404, "column": 49 } } @@ -282800,15 +283120,15 @@ "binop": null }, "value": "tileCenter", - "start": 52642, - "end": 52652, + "start": 53295, + "end": 53305, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 49 }, "end": { - "line": 1403, + "line": 1404, "column": 59 } } @@ -282826,15 +283146,15 @@ "binop": null, "updateContext": null }, - "start": 52652, - "end": 52653, + "start": 53305, + "end": 53306, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 59 }, "end": { - "line": 1403, + "line": 1404, "column": 60 } } @@ -282853,15 +283173,15 @@ "updateContext": null }, "value": "-", - "start": 52654, - "end": 52655, + "start": 53307, + "end": 53308, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 61 }, "end": { - "line": 1403, + "line": 1404, "column": 62 } } @@ -282880,15 +283200,15 @@ "updateContext": null }, "value": 1, - "start": 52655, - "end": 52656, + "start": 53308, + "end": 53309, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 62 }, "end": { - "line": 1403, + "line": 1404, "column": 63 } } @@ -282906,15 +283226,15 @@ "binop": null, "updateContext": null }, - "start": 52656, - "end": 52657, + "start": 53309, + "end": 53310, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 63 }, "end": { - "line": 1403, + "line": 1404, "column": 64 } } @@ -282932,15 +283252,15 @@ "binop": null }, "value": "math", - "start": 52658, - "end": 52662, + "start": 53311, + "end": 53315, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 65 }, "end": { - "line": 1403, + "line": 1404, "column": 69 } } @@ -282958,15 +283278,15 @@ "binop": null, "updateContext": null }, - "start": 52662, - "end": 52663, + "start": 53315, + "end": 53316, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 69 }, "end": { - "line": 1403, + "line": 1404, "column": 70 } } @@ -282984,15 +283304,15 @@ "binop": null }, "value": "vec3", - "start": 52663, - "end": 52667, + "start": 53316, + "end": 53320, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 70 }, "end": { - "line": 1403, + "line": 1404, "column": 74 } } @@ -283009,15 +283329,15 @@ "postfix": false, "binop": null }, - "start": 52667, - "end": 52668, + "start": 53320, + "end": 53321, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 74 }, "end": { - "line": 1403, + "line": 1404, "column": 75 } } @@ -283034,15 +283354,15 @@ "postfix": false, "binop": null }, - "start": 52668, - "end": 52669, + "start": 53321, + "end": 53322, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 75 }, "end": { - "line": 1403, + "line": 1404, "column": 76 } } @@ -283059,15 +283379,15 @@ "postfix": false, "binop": null }, - "start": 52669, - "end": 52670, + "start": 53322, + "end": 53323, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 76 }, "end": { - "line": 1403, + "line": 1404, "column": 77 } } @@ -283085,15 +283405,15 @@ "binop": null, "updateContext": null }, - "start": 52670, - "end": 52671, + "start": 53323, + "end": 53324, "loc": { "start": { - "line": 1403, + "line": 1404, "column": 77 }, "end": { - "line": 1403, + "line": 1404, "column": 78 } } @@ -283113,15 +283433,15 @@ "updateContext": null }, "value": "const", - "start": 52681, - "end": 52686, + "start": 53334, + "end": 53339, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 8 }, "end": { - "line": 1405, + "line": 1406, "column": 13 } } @@ -283139,15 +283459,15 @@ "binop": null }, "value": "rtcAABB", - "start": 52687, - "end": 52694, + "start": 53340, + "end": 53347, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 14 }, "end": { - "line": 1405, + "line": 1406, "column": 21 } } @@ -283166,15 +283486,15 @@ "updateContext": null }, "value": "=", - "start": 52695, - "end": 52696, + "start": 53348, + "end": 53349, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 22 }, "end": { - "line": 1405, + "line": 1406, "column": 23 } } @@ -283192,15 +283512,15 @@ "binop": null }, "value": "math", - "start": 52697, - "end": 52701, + "start": 53350, + "end": 53354, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 24 }, "end": { - "line": 1405, + "line": 1406, "column": 28 } } @@ -283218,15 +283538,15 @@ "binop": null, "updateContext": null }, - "start": 52701, - "end": 52702, + "start": 53354, + "end": 53355, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 28 }, "end": { - "line": 1405, + "line": 1406, "column": 29 } } @@ -283244,15 +283564,15 @@ "binop": null }, "value": "AABB3", - "start": 52702, - "end": 52707, + "start": 53355, + "end": 53360, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 29 }, "end": { - "line": 1405, + "line": 1406, "column": 34 } } @@ -283269,15 +283589,15 @@ "postfix": false, "binop": null }, - "start": 52707, - "end": 52708, + "start": 53360, + "end": 53361, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 34 }, "end": { - "line": 1405, + "line": 1406, "column": 35 } } @@ -283294,15 +283614,15 @@ "postfix": false, "binop": null }, - "start": 52708, - "end": 52709, + "start": 53361, + "end": 53362, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 35 }, "end": { - "line": 1405, + "line": 1406, "column": 36 } } @@ -283320,15 +283640,15 @@ "binop": null, "updateContext": null }, - "start": 52709, - "end": 52710, + "start": 53362, + "end": 53363, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 36 }, "end": { - "line": 1405, + "line": 1406, "column": 37 } } @@ -283336,15 +283656,15 @@ { "type": "CommentLine", "value": " AABB centered at the RTC origin", - "start": 52711, - "end": 52745, + "start": 53364, + "end": 53398, "loc": { "start": { - "line": 1405, + "line": 1406, "column": 38 }, "end": { - "line": 1405, + "line": 1406, "column": 72 } } @@ -283362,15 +283682,15 @@ "binop": null }, "value": "rtcAABB", - "start": 52755, - "end": 52762, + "start": 53408, + "end": 53415, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 8 }, "end": { - "line": 1407, + "line": 1408, "column": 15 } } @@ -283388,15 +283708,15 @@ "binop": null, "updateContext": null }, - "start": 52762, - "end": 52763, + "start": 53415, + "end": 53416, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 15 }, "end": { - "line": 1407, + "line": 1408, "column": 16 } } @@ -283415,15 +283735,15 @@ "updateContext": null }, "value": 0, - "start": 52763, - "end": 52764, + "start": 53416, + "end": 53417, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 16 }, "end": { - "line": 1407, + "line": 1408, "column": 17 } } @@ -283441,15 +283761,15 @@ "binop": null, "updateContext": null }, - "start": 52764, - "end": 52765, + "start": 53417, + "end": 53418, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 17 }, "end": { - "line": 1407, + "line": 1408, "column": 18 } } @@ -283468,15 +283788,15 @@ "updateContext": null }, "value": "=", - "start": 52766, - "end": 52767, + "start": 53419, + "end": 53420, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 19 }, "end": { - "line": 1407, + "line": 1408, "column": 20 } } @@ -283494,15 +283814,15 @@ "binop": null }, "value": "tileAABB", - "start": 52768, - "end": 52776, + "start": 53421, + "end": 53429, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 21 }, "end": { - "line": 1407, + "line": 1408, "column": 29 } } @@ -283520,15 +283840,15 @@ "binop": null, "updateContext": null }, - "start": 52776, - "end": 52777, + "start": 53429, + "end": 53430, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 29 }, "end": { - "line": 1407, + "line": 1408, "column": 30 } } @@ -283547,15 +283867,15 @@ "updateContext": null }, "value": 0, - "start": 52777, - "end": 52778, + "start": 53430, + "end": 53431, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 30 }, "end": { - "line": 1407, + "line": 1408, "column": 31 } } @@ -283573,15 +283893,15 @@ "binop": null, "updateContext": null }, - "start": 52778, - "end": 52779, + "start": 53431, + "end": 53432, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 31 }, "end": { - "line": 1407, + "line": 1408, "column": 32 } } @@ -283600,15 +283920,15 @@ "updateContext": null }, "value": "-", - "start": 52780, - "end": 52781, + "start": 53433, + "end": 53434, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 33 }, "end": { - "line": 1407, + "line": 1408, "column": 34 } } @@ -283626,15 +283946,15 @@ "binop": null }, "value": "tileCenter", - "start": 52782, - "end": 52792, + "start": 53435, + "end": 53445, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 35 }, "end": { - "line": 1407, + "line": 1408, "column": 45 } } @@ -283652,15 +283972,15 @@ "binop": null, "updateContext": null }, - "start": 52792, - "end": 52793, + "start": 53445, + "end": 53446, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 45 }, "end": { - "line": 1407, + "line": 1408, "column": 46 } } @@ -283679,15 +283999,15 @@ "updateContext": null }, "value": 0, - "start": 52793, - "end": 52794, + "start": 53446, + "end": 53447, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 46 }, "end": { - "line": 1407, + "line": 1408, "column": 47 } } @@ -283705,15 +284025,15 @@ "binop": null, "updateContext": null }, - "start": 52794, - "end": 52795, + "start": 53447, + "end": 53448, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 47 }, "end": { - "line": 1407, + "line": 1408, "column": 48 } } @@ -283731,15 +284051,15 @@ "binop": null, "updateContext": null }, - "start": 52795, - "end": 52796, + "start": 53448, + "end": 53449, "loc": { "start": { - "line": 1407, + "line": 1408, "column": 48 }, "end": { - "line": 1407, + "line": 1408, "column": 49 } } @@ -283757,15 +284077,15 @@ "binop": null }, "value": "rtcAABB", - "start": 52805, - "end": 52812, + "start": 53458, + "end": 53465, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 8 }, "end": { - "line": 1408, + "line": 1409, "column": 15 } } @@ -283783,15 +284103,15 @@ "binop": null, "updateContext": null }, - "start": 52812, - "end": 52813, + "start": 53465, + "end": 53466, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 15 }, "end": { - "line": 1408, + "line": 1409, "column": 16 } } @@ -283810,15 +284130,15 @@ "updateContext": null }, "value": 1, - "start": 52813, - "end": 52814, + "start": 53466, + "end": 53467, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 16 }, "end": { - "line": 1408, + "line": 1409, "column": 17 } } @@ -283836,15 +284156,15 @@ "binop": null, "updateContext": null }, - "start": 52814, - "end": 52815, + "start": 53467, + "end": 53468, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 17 }, "end": { - "line": 1408, + "line": 1409, "column": 18 } } @@ -283863,15 +284183,15 @@ "updateContext": null }, "value": "=", - "start": 52816, - "end": 52817, + "start": 53469, + "end": 53470, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 19 }, "end": { - "line": 1408, + "line": 1409, "column": 20 } } @@ -283889,15 +284209,15 @@ "binop": null }, "value": "tileAABB", - "start": 52818, - "end": 52826, + "start": 53471, + "end": 53479, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 21 }, "end": { - "line": 1408, + "line": 1409, "column": 29 } } @@ -283915,15 +284235,15 @@ "binop": null, "updateContext": null }, - "start": 52826, - "end": 52827, + "start": 53479, + "end": 53480, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 29 }, "end": { - "line": 1408, + "line": 1409, "column": 30 } } @@ -283942,15 +284262,15 @@ "updateContext": null }, "value": 1, - "start": 52827, - "end": 52828, + "start": 53480, + "end": 53481, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 30 }, "end": { - "line": 1408, + "line": 1409, "column": 31 } } @@ -283968,15 +284288,15 @@ "binop": null, "updateContext": null }, - "start": 52828, - "end": 52829, + "start": 53481, + "end": 53482, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 31 }, "end": { - "line": 1408, + "line": 1409, "column": 32 } } @@ -283995,15 +284315,15 @@ "updateContext": null }, "value": "-", - "start": 52830, - "end": 52831, + "start": 53483, + "end": 53484, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 33 }, "end": { - "line": 1408, + "line": 1409, "column": 34 } } @@ -284021,15 +284341,15 @@ "binop": null }, "value": "tileCenter", - "start": 52832, - "end": 52842, + "start": 53485, + "end": 53495, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 35 }, "end": { - "line": 1408, + "line": 1409, "column": 45 } } @@ -284047,15 +284367,15 @@ "binop": null, "updateContext": null }, - "start": 52842, - "end": 52843, + "start": 53495, + "end": 53496, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 45 }, "end": { - "line": 1408, + "line": 1409, "column": 46 } } @@ -284074,15 +284394,15 @@ "updateContext": null }, "value": 1, - "start": 52843, - "end": 52844, + "start": 53496, + "end": 53497, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 46 }, "end": { - "line": 1408, + "line": 1409, "column": 47 } } @@ -284100,15 +284420,15 @@ "binop": null, "updateContext": null }, - "start": 52844, - "end": 52845, + "start": 53497, + "end": 53498, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 47 }, "end": { - "line": 1408, + "line": 1409, "column": 48 } } @@ -284126,15 +284446,15 @@ "binop": null, "updateContext": null }, - "start": 52845, - "end": 52846, + "start": 53498, + "end": 53499, "loc": { "start": { - "line": 1408, + "line": 1409, "column": 48 }, "end": { - "line": 1408, + "line": 1409, "column": 49 } } @@ -284152,15 +284472,15 @@ "binop": null }, "value": "rtcAABB", - "start": 52855, - "end": 52862, + "start": 53508, + "end": 53515, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 8 }, "end": { - "line": 1409, + "line": 1410, "column": 15 } } @@ -284178,15 +284498,15 @@ "binop": null, "updateContext": null }, - "start": 52862, - "end": 52863, + "start": 53515, + "end": 53516, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 15 }, "end": { - "line": 1409, + "line": 1410, "column": 16 } } @@ -284205,15 +284525,15 @@ "updateContext": null }, "value": 2, - "start": 52863, - "end": 52864, + "start": 53516, + "end": 53517, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 16 }, "end": { - "line": 1409, + "line": 1410, "column": 17 } } @@ -284231,15 +284551,15 @@ "binop": null, "updateContext": null }, - "start": 52864, - "end": 52865, + "start": 53517, + "end": 53518, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 17 }, "end": { - "line": 1409, + "line": 1410, "column": 18 } } @@ -284258,15 +284578,15 @@ "updateContext": null }, "value": "=", - "start": 52866, - "end": 52867, + "start": 53519, + "end": 53520, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 19 }, "end": { - "line": 1409, + "line": 1410, "column": 20 } } @@ -284284,15 +284604,15 @@ "binop": null }, "value": "tileAABB", - "start": 52868, - "end": 52876, + "start": 53521, + "end": 53529, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 21 }, "end": { - "line": 1409, + "line": 1410, "column": 29 } } @@ -284310,15 +284630,15 @@ "binop": null, "updateContext": null }, - "start": 52876, - "end": 52877, + "start": 53529, + "end": 53530, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 29 }, "end": { - "line": 1409, + "line": 1410, "column": 30 } } @@ -284337,15 +284657,15 @@ "updateContext": null }, "value": 2, - "start": 52877, - "end": 52878, + "start": 53530, + "end": 53531, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 30 }, "end": { - "line": 1409, + "line": 1410, "column": 31 } } @@ -284363,15 +284683,15 @@ "binop": null, "updateContext": null }, - "start": 52878, - "end": 52879, + "start": 53531, + "end": 53532, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 31 }, "end": { - "line": 1409, + "line": 1410, "column": 32 } } @@ -284390,15 +284710,15 @@ "updateContext": null }, "value": "-", - "start": 52880, - "end": 52881, + "start": 53533, + "end": 53534, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 33 }, "end": { - "line": 1409, + "line": 1410, "column": 34 } } @@ -284416,15 +284736,15 @@ "binop": null }, "value": "tileCenter", - "start": 52882, - "end": 52892, + "start": 53535, + "end": 53545, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 35 }, "end": { - "line": 1409, + "line": 1410, "column": 45 } } @@ -284442,15 +284762,15 @@ "binop": null, "updateContext": null }, - "start": 52892, - "end": 52893, + "start": 53545, + "end": 53546, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 45 }, "end": { - "line": 1409, + "line": 1410, "column": 46 } } @@ -284469,15 +284789,15 @@ "updateContext": null }, "value": 2, - "start": 52893, - "end": 52894, + "start": 53546, + "end": 53547, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 46 }, "end": { - "line": 1409, + "line": 1410, "column": 47 } } @@ -284495,15 +284815,15 @@ "binop": null, "updateContext": null }, - "start": 52894, - "end": 52895, + "start": 53547, + "end": 53548, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 47 }, "end": { - "line": 1409, + "line": 1410, "column": 48 } } @@ -284521,15 +284841,15 @@ "binop": null, "updateContext": null }, - "start": 52895, - "end": 52896, + "start": 53548, + "end": 53549, "loc": { "start": { - "line": 1409, + "line": 1410, "column": 48 }, "end": { - "line": 1409, + "line": 1410, "column": 49 } } @@ -284547,15 +284867,15 @@ "binop": null }, "value": "rtcAABB", - "start": 52905, - "end": 52912, + "start": 53558, + "end": 53565, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 8 }, "end": { - "line": 1410, + "line": 1411, "column": 15 } } @@ -284573,15 +284893,15 @@ "binop": null, "updateContext": null }, - "start": 52912, - "end": 52913, + "start": 53565, + "end": 53566, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 15 }, "end": { - "line": 1410, + "line": 1411, "column": 16 } } @@ -284600,15 +284920,15 @@ "updateContext": null }, "value": 3, - "start": 52913, - "end": 52914, + "start": 53566, + "end": 53567, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 16 }, "end": { - "line": 1410, + "line": 1411, "column": 17 } } @@ -284626,15 +284946,15 @@ "binop": null, "updateContext": null }, - "start": 52914, - "end": 52915, + "start": 53567, + "end": 53568, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 17 }, "end": { - "line": 1410, + "line": 1411, "column": 18 } } @@ -284653,15 +284973,15 @@ "updateContext": null }, "value": "=", - "start": 52916, - "end": 52917, + "start": 53569, + "end": 53570, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 19 }, "end": { - "line": 1410, + "line": 1411, "column": 20 } } @@ -284679,15 +284999,15 @@ "binop": null }, "value": "tileAABB", - "start": 52918, - "end": 52926, + "start": 53571, + "end": 53579, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 21 }, "end": { - "line": 1410, + "line": 1411, "column": 29 } } @@ -284705,15 +285025,15 @@ "binop": null, "updateContext": null }, - "start": 52926, - "end": 52927, + "start": 53579, + "end": 53580, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 29 }, "end": { - "line": 1410, + "line": 1411, "column": 30 } } @@ -284732,15 +285052,15 @@ "updateContext": null }, "value": 3, - "start": 52927, - "end": 52928, + "start": 53580, + "end": 53581, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 30 }, "end": { - "line": 1410, + "line": 1411, "column": 31 } } @@ -284758,15 +285078,15 @@ "binop": null, "updateContext": null }, - "start": 52928, - "end": 52929, + "start": 53581, + "end": 53582, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 31 }, "end": { - "line": 1410, + "line": 1411, "column": 32 } } @@ -284785,15 +285105,15 @@ "updateContext": null }, "value": "-", - "start": 52930, - "end": 52931, + "start": 53583, + "end": 53584, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 33 }, "end": { - "line": 1410, + "line": 1411, "column": 34 } } @@ -284811,15 +285131,15 @@ "binop": null }, "value": "tileCenter", - "start": 52932, - "end": 52942, + "start": 53585, + "end": 53595, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 35 }, "end": { - "line": 1410, + "line": 1411, "column": 45 } } @@ -284837,15 +285157,15 @@ "binop": null, "updateContext": null }, - "start": 52942, - "end": 52943, + "start": 53595, + "end": 53596, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 45 }, "end": { - "line": 1410, + "line": 1411, "column": 46 } } @@ -284864,15 +285184,15 @@ "updateContext": null }, "value": 0, - "start": 52943, - "end": 52944, + "start": 53596, + "end": 53597, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 46 }, "end": { - "line": 1410, + "line": 1411, "column": 47 } } @@ -284890,15 +285210,15 @@ "binop": null, "updateContext": null }, - "start": 52944, - "end": 52945, + "start": 53597, + "end": 53598, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 47 }, "end": { - "line": 1410, + "line": 1411, "column": 48 } } @@ -284916,15 +285236,15 @@ "binop": null, "updateContext": null }, - "start": 52945, - "end": 52946, + "start": 53598, + "end": 53599, "loc": { "start": { - "line": 1410, + "line": 1411, "column": 48 }, "end": { - "line": 1410, + "line": 1411, "column": 49 } } @@ -284942,15 +285262,15 @@ "binop": null }, "value": "rtcAABB", - "start": 52955, - "end": 52962, + "start": 53608, + "end": 53615, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 8 }, "end": { - "line": 1411, + "line": 1412, "column": 15 } } @@ -284968,15 +285288,15 @@ "binop": null, "updateContext": null }, - "start": 52962, - "end": 52963, + "start": 53615, + "end": 53616, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 15 }, "end": { - "line": 1411, + "line": 1412, "column": 16 } } @@ -284995,15 +285315,15 @@ "updateContext": null }, "value": 4, - "start": 52963, - "end": 52964, + "start": 53616, + "end": 53617, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 16 }, "end": { - "line": 1411, + "line": 1412, "column": 17 } } @@ -285021,15 +285341,15 @@ "binop": null, "updateContext": null }, - "start": 52964, - "end": 52965, + "start": 53617, + "end": 53618, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 17 }, "end": { - "line": 1411, + "line": 1412, "column": 18 } } @@ -285048,15 +285368,15 @@ "updateContext": null }, "value": "=", - "start": 52966, - "end": 52967, + "start": 53619, + "end": 53620, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 19 }, "end": { - "line": 1411, + "line": 1412, "column": 20 } } @@ -285074,15 +285394,15 @@ "binop": null }, "value": "tileAABB", - "start": 52968, - "end": 52976, + "start": 53621, + "end": 53629, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 21 }, "end": { - "line": 1411, + "line": 1412, "column": 29 } } @@ -285100,15 +285420,15 @@ "binop": null, "updateContext": null }, - "start": 52976, - "end": 52977, + "start": 53629, + "end": 53630, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 29 }, "end": { - "line": 1411, + "line": 1412, "column": 30 } } @@ -285127,15 +285447,15 @@ "updateContext": null }, "value": 4, - "start": 52977, - "end": 52978, + "start": 53630, + "end": 53631, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 30 }, "end": { - "line": 1411, + "line": 1412, "column": 31 } } @@ -285153,15 +285473,15 @@ "binop": null, "updateContext": null }, - "start": 52978, - "end": 52979, + "start": 53631, + "end": 53632, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 31 }, "end": { - "line": 1411, + "line": 1412, "column": 32 } } @@ -285180,15 +285500,15 @@ "updateContext": null }, "value": "-", - "start": 52980, - "end": 52981, + "start": 53633, + "end": 53634, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 33 }, "end": { - "line": 1411, + "line": 1412, "column": 34 } } @@ -285206,15 +285526,15 @@ "binop": null }, "value": "tileCenter", - "start": 52982, - "end": 52992, + "start": 53635, + "end": 53645, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 35 }, "end": { - "line": 1411, + "line": 1412, "column": 45 } } @@ -285232,15 +285552,15 @@ "binop": null, "updateContext": null }, - "start": 52992, - "end": 52993, + "start": 53645, + "end": 53646, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 45 }, "end": { - "line": 1411, + "line": 1412, "column": 46 } } @@ -285259,15 +285579,15 @@ "updateContext": null }, "value": 1, - "start": 52993, - "end": 52994, + "start": 53646, + "end": 53647, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 46 }, "end": { - "line": 1411, + "line": 1412, "column": 47 } } @@ -285285,15 +285605,15 @@ "binop": null, "updateContext": null }, - "start": 52994, - "end": 52995, + "start": 53647, + "end": 53648, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 47 }, "end": { - "line": 1411, + "line": 1412, "column": 48 } } @@ -285311,15 +285631,15 @@ "binop": null, "updateContext": null }, - "start": 52995, - "end": 52996, + "start": 53648, + "end": 53649, "loc": { "start": { - "line": 1411, + "line": 1412, "column": 48 }, "end": { - "line": 1411, + "line": 1412, "column": 49 } } @@ -285337,15 +285657,15 @@ "binop": null }, "value": "rtcAABB", - "start": 53005, - "end": 53012, + "start": 53658, + "end": 53665, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 8 }, "end": { - "line": 1412, + "line": 1413, "column": 15 } } @@ -285363,15 +285683,15 @@ "binop": null, "updateContext": null }, - "start": 53012, - "end": 53013, + "start": 53665, + "end": 53666, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 15 }, "end": { - "line": 1412, + "line": 1413, "column": 16 } } @@ -285390,15 +285710,15 @@ "updateContext": null }, "value": 5, - "start": 53013, - "end": 53014, + "start": 53666, + "end": 53667, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 16 }, "end": { - "line": 1412, + "line": 1413, "column": 17 } } @@ -285416,15 +285736,15 @@ "binop": null, "updateContext": null }, - "start": 53014, - "end": 53015, + "start": 53667, + "end": 53668, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 17 }, "end": { - "line": 1412, + "line": 1413, "column": 18 } } @@ -285443,15 +285763,15 @@ "updateContext": null }, "value": "=", - "start": 53016, - "end": 53017, + "start": 53669, + "end": 53670, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 19 }, "end": { - "line": 1412, + "line": 1413, "column": 20 } } @@ -285469,15 +285789,15 @@ "binop": null }, "value": "tileAABB", - "start": 53018, - "end": 53026, + "start": 53671, + "end": 53679, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 21 }, "end": { - "line": 1412, + "line": 1413, "column": 29 } } @@ -285495,15 +285815,15 @@ "binop": null, "updateContext": null }, - "start": 53026, - "end": 53027, + "start": 53679, + "end": 53680, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 29 }, "end": { - "line": 1412, + "line": 1413, "column": 30 } } @@ -285522,15 +285842,15 @@ "updateContext": null }, "value": 5, - "start": 53027, - "end": 53028, + "start": 53680, + "end": 53681, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 30 }, "end": { - "line": 1412, + "line": 1413, "column": 31 } } @@ -285548,15 +285868,15 @@ "binop": null, "updateContext": null }, - "start": 53028, - "end": 53029, + "start": 53681, + "end": 53682, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 31 }, "end": { - "line": 1412, + "line": 1413, "column": 32 } } @@ -285575,15 +285895,15 @@ "updateContext": null }, "value": "-", - "start": 53030, - "end": 53031, + "start": 53683, + "end": 53684, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 33 }, "end": { - "line": 1412, + "line": 1413, "column": 34 } } @@ -285601,15 +285921,15 @@ "binop": null }, "value": "tileCenter", - "start": 53032, - "end": 53042, + "start": 53685, + "end": 53695, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 35 }, "end": { - "line": 1412, + "line": 1413, "column": 45 } } @@ -285627,15 +285947,15 @@ "binop": null, "updateContext": null }, - "start": 53042, - "end": 53043, + "start": 53695, + "end": 53696, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 45 }, "end": { - "line": 1412, + "line": 1413, "column": 46 } } @@ -285654,15 +285974,15 @@ "updateContext": null }, "value": 2, - "start": 53043, - "end": 53044, + "start": 53696, + "end": 53697, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 46 }, "end": { - "line": 1412, + "line": 1413, "column": 47 } } @@ -285680,15 +286000,15 @@ "binop": null, "updateContext": null }, - "start": 53044, - "end": 53045, + "start": 53697, + "end": 53698, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 47 }, "end": { - "line": 1412, + "line": 1413, "column": 48 } } @@ -285706,15 +286026,15 @@ "binop": null, "updateContext": null }, - "start": 53045, - "end": 53046, + "start": 53698, + "end": 53699, "loc": { "start": { - "line": 1412, + "line": 1413, "column": 48 }, "end": { - "line": 1412, + "line": 1413, "column": 49 } } @@ -285734,15 +286054,15 @@ "updateContext": null }, "value": "for", - "start": 53056, - "end": 53059, + "start": 53709, + "end": 53712, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 8 }, "end": { - "line": 1414, + "line": 1415, "column": 11 } } @@ -285759,15 +286079,15 @@ "postfix": false, "binop": null }, - "start": 53060, - "end": 53061, + "start": 53713, + "end": 53714, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 12 }, "end": { - "line": 1414, + "line": 1415, "column": 13 } } @@ -285787,15 +286107,15 @@ "updateContext": null }, "value": "let", - "start": 53061, - "end": 53064, + "start": 53714, + "end": 53717, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 13 }, "end": { - "line": 1414, + "line": 1415, "column": 16 } } @@ -285813,15 +286133,15 @@ "binop": null }, "value": "i", - "start": 53065, - "end": 53066, + "start": 53718, + "end": 53719, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 17 }, "end": { - "line": 1414, + "line": 1415, "column": 18 } } @@ -285840,15 +286160,15 @@ "updateContext": null }, "value": "=", - "start": 53067, - "end": 53068, + "start": 53720, + "end": 53721, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 19 }, "end": { - "line": 1414, + "line": 1415, "column": 20 } } @@ -285867,15 +286187,15 @@ "updateContext": null }, "value": 0, - "start": 53069, - "end": 53070, + "start": 53722, + "end": 53723, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 21 }, "end": { - "line": 1414, + "line": 1415, "column": 22 } } @@ -285893,15 +286213,15 @@ "binop": null, "updateContext": null }, - "start": 53070, - "end": 53071, + "start": 53723, + "end": 53724, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 22 }, "end": { - "line": 1414, + "line": 1415, "column": 23 } } @@ -285919,15 +286239,15 @@ "binop": null }, "value": "i", - "start": 53072, - "end": 53073, + "start": 53725, + "end": 53726, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 24 }, "end": { - "line": 1414, + "line": 1415, "column": 25 } } @@ -285946,15 +286266,15 @@ "updateContext": null }, "value": "<", - "start": 53074, - "end": 53075, + "start": 53727, + "end": 53728, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 26 }, "end": { - "line": 1414, + "line": 1415, "column": 27 } } @@ -285972,15 +286292,15 @@ "binop": null }, "value": "entities", - "start": 53076, - "end": 53084, + "start": 53729, + "end": 53737, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 28 }, "end": { - "line": 1414, + "line": 1415, "column": 36 } } @@ -285998,15 +286318,15 @@ "binop": null, "updateContext": null }, - "start": 53084, - "end": 53085, + "start": 53737, + "end": 53738, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 36 }, "end": { - "line": 1414, + "line": 1415, "column": 37 } } @@ -286024,15 +286344,15 @@ "binop": null }, "value": "length", - "start": 53085, - "end": 53091, + "start": 53738, + "end": 53744, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 37 }, "end": { - "line": 1414, + "line": 1415, "column": 43 } } @@ -286050,15 +286370,15 @@ "binop": null, "updateContext": null }, - "start": 53091, - "end": 53092, + "start": 53744, + "end": 53745, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 43 }, "end": { - "line": 1414, + "line": 1415, "column": 44 } } @@ -286076,15 +286396,15 @@ "binop": null }, "value": "i", - "start": 53093, - "end": 53094, + "start": 53746, + "end": 53747, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 45 }, "end": { - "line": 1414, + "line": 1415, "column": 46 } } @@ -286102,15 +286422,15 @@ "binop": null }, "value": "++", - "start": 53094, - "end": 53096, + "start": 53747, + "end": 53749, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 46 }, "end": { - "line": 1414, + "line": 1415, "column": 48 } } @@ -286127,15 +286447,15 @@ "postfix": false, "binop": null }, - "start": 53096, - "end": 53097, + "start": 53749, + "end": 53750, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 48 }, "end": { - "line": 1414, + "line": 1415, "column": 49 } } @@ -286152,15 +286472,15 @@ "postfix": false, "binop": null }, - "start": 53098, - "end": 53099, + "start": 53751, + "end": 53752, "loc": { "start": { - "line": 1414, + "line": 1415, "column": 50 }, "end": { - "line": 1414, + "line": 1415, "column": 51 } } @@ -286180,15 +286500,15 @@ "updateContext": null }, "value": "const", - "start": 53113, - "end": 53118, + "start": 53766, + "end": 53771, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 12 }, "end": { - "line": 1416, + "line": 1417, "column": 17 } } @@ -286206,15 +286526,15 @@ "binop": null }, "value": "entity", - "start": 53119, - "end": 53125, + "start": 53772, + "end": 53778, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 18 }, "end": { - "line": 1416, + "line": 1417, "column": 24 } } @@ -286233,15 +286553,15 @@ "updateContext": null }, "value": "=", - "start": 53126, - "end": 53127, + "start": 53779, + "end": 53780, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 25 }, "end": { - "line": 1416, + "line": 1417, "column": 26 } } @@ -286259,15 +286579,15 @@ "binop": null }, "value": "entities", - "start": 53128, - "end": 53136, + "start": 53781, + "end": 53789, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 27 }, "end": { - "line": 1416, + "line": 1417, "column": 35 } } @@ -286285,15 +286605,15 @@ "binop": null, "updateContext": null }, - "start": 53137, - "end": 53138, + "start": 53790, + "end": 53791, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 36 }, "end": { - "line": 1416, + "line": 1417, "column": 37 } } @@ -286311,15 +286631,15 @@ "binop": null }, "value": "i", - "start": 53138, - "end": 53139, + "start": 53791, + "end": 53792, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 37 }, "end": { - "line": 1416, + "line": 1417, "column": 38 } } @@ -286337,15 +286657,15 @@ "binop": null, "updateContext": null }, - "start": 53139, - "end": 53140, + "start": 53792, + "end": 53793, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 38 }, "end": { - "line": 1416, + "line": 1417, "column": 39 } } @@ -286363,15 +286683,15 @@ "binop": null, "updateContext": null }, - "start": 53140, - "end": 53141, + "start": 53793, + "end": 53794, "loc": { "start": { - "line": 1416, + "line": 1417, "column": 39 }, "end": { - "line": 1416, + "line": 1417, "column": 40 } } @@ -286391,15 +286711,15 @@ "updateContext": null }, "value": "const", - "start": 53155, - "end": 53160, + "start": 53808, + "end": 53813, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 12 }, "end": { - "line": 1418, + "line": 1419, "column": 17 } } @@ -286417,15 +286737,15 @@ "binop": null }, "value": "meshes", - "start": 53161, - "end": 53167, + "start": 53814, + "end": 53820, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 18 }, "end": { - "line": 1418, + "line": 1419, "column": 24 } } @@ -286444,15 +286764,15 @@ "updateContext": null }, "value": "=", - "start": 53168, - "end": 53169, + "start": 53821, + "end": 53822, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 25 }, "end": { - "line": 1418, + "line": 1419, "column": 26 } } @@ -286470,15 +286790,15 @@ "binop": null }, "value": "entity", - "start": 53170, - "end": 53176, + "start": 53823, + "end": 53829, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 27 }, "end": { - "line": 1418, + "line": 1419, "column": 33 } } @@ -286496,15 +286816,15 @@ "binop": null, "updateContext": null }, - "start": 53176, - "end": 53177, + "start": 53829, + "end": 53830, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 33 }, "end": { - "line": 1418, + "line": 1419, "column": 34 } } @@ -286522,15 +286842,15 @@ "binop": null }, "value": "meshes", - "start": 53177, - "end": 53183, + "start": 53830, + "end": 53836, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 34 }, "end": { - "line": 1418, + "line": 1419, "column": 40 } } @@ -286548,15 +286868,15 @@ "binop": null, "updateContext": null }, - "start": 53183, - "end": 53184, + "start": 53836, + "end": 53837, "loc": { "start": { - "line": 1418, + "line": 1419, "column": 40 }, "end": { - "line": 1418, + "line": 1419, "column": 41 } } @@ -286576,15 +286896,15 @@ "updateContext": null }, "value": "for", - "start": 53198, - "end": 53201, + "start": 53851, + "end": 53854, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 12 }, "end": { - "line": 1420, + "line": 1421, "column": 15 } } @@ -286601,15 +286921,15 @@ "postfix": false, "binop": null }, - "start": 53202, - "end": 53203, + "start": 53855, + "end": 53856, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 16 }, "end": { - "line": 1420, + "line": 1421, "column": 17 } } @@ -286629,15 +286949,15 @@ "updateContext": null }, "value": "let", - "start": 53203, - "end": 53206, + "start": 53856, + "end": 53859, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 17 }, "end": { - "line": 1420, + "line": 1421, "column": 20 } } @@ -286655,15 +286975,15 @@ "binop": null }, "value": "j", - "start": 53207, - "end": 53208, + "start": 53860, + "end": 53861, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 21 }, "end": { - "line": 1420, + "line": 1421, "column": 22 } } @@ -286682,15 +287002,15 @@ "updateContext": null }, "value": "=", - "start": 53209, - "end": 53210, + "start": 53862, + "end": 53863, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 23 }, "end": { - "line": 1420, + "line": 1421, "column": 24 } } @@ -286709,15 +287029,15 @@ "updateContext": null }, "value": 0, - "start": 53211, - "end": 53212, + "start": 53864, + "end": 53865, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 25 }, "end": { - "line": 1420, + "line": 1421, "column": 26 } } @@ -286735,15 +287055,15 @@ "binop": null, "updateContext": null }, - "start": 53212, - "end": 53213, + "start": 53865, + "end": 53866, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 26 }, "end": { - "line": 1420, + "line": 1421, "column": 27 } } @@ -286761,15 +287081,15 @@ "binop": null }, "value": "lenj", - "start": 53214, - "end": 53218, + "start": 53867, + "end": 53871, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 28 }, "end": { - "line": 1420, + "line": 1421, "column": 32 } } @@ -286788,15 +287108,15 @@ "updateContext": null }, "value": "=", - "start": 53219, - "end": 53220, + "start": 53872, + "end": 53873, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 33 }, "end": { - "line": 1420, + "line": 1421, "column": 34 } } @@ -286814,15 +287134,15 @@ "binop": null }, "value": "meshes", - "start": 53221, - "end": 53227, + "start": 53874, + "end": 53880, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 35 }, "end": { - "line": 1420, + "line": 1421, "column": 41 } } @@ -286840,15 +287160,15 @@ "binop": null, "updateContext": null }, - "start": 53227, - "end": 53228, + "start": 53880, + "end": 53881, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 41 }, "end": { - "line": 1420, + "line": 1421, "column": 42 } } @@ -286866,15 +287186,15 @@ "binop": null }, "value": "length", - "start": 53228, - "end": 53234, + "start": 53881, + "end": 53887, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 42 }, "end": { - "line": 1420, + "line": 1421, "column": 48 } } @@ -286892,15 +287212,15 @@ "binop": null, "updateContext": null }, - "start": 53234, - "end": 53235, + "start": 53887, + "end": 53888, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 48 }, "end": { - "line": 1420, + "line": 1421, "column": 49 } } @@ -286918,15 +287238,15 @@ "binop": null }, "value": "j", - "start": 53236, - "end": 53237, + "start": 53889, + "end": 53890, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 50 }, "end": { - "line": 1420, + "line": 1421, "column": 51 } } @@ -286945,15 +287265,15 @@ "updateContext": null }, "value": "<", - "start": 53238, - "end": 53239, + "start": 53891, + "end": 53892, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 52 }, "end": { - "line": 1420, + "line": 1421, "column": 53 } } @@ -286971,15 +287291,15 @@ "binop": null }, "value": "lenj", - "start": 53240, - "end": 53244, + "start": 53893, + "end": 53897, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 54 }, "end": { - "line": 1420, + "line": 1421, "column": 58 } } @@ -286997,15 +287317,15 @@ "binop": null, "updateContext": null }, - "start": 53244, - "end": 53245, + "start": 53897, + "end": 53898, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 58 }, "end": { - "line": 1420, + "line": 1421, "column": 59 } } @@ -287023,15 +287343,15 @@ "binop": null }, "value": "j", - "start": 53246, - "end": 53247, + "start": 53899, + "end": 53900, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 60 }, "end": { - "line": 1420, + "line": 1421, "column": 61 } } @@ -287049,15 +287369,15 @@ "binop": null }, "value": "++", - "start": 53247, - "end": 53249, + "start": 53900, + "end": 53902, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 61 }, "end": { - "line": 1420, + "line": 1421, "column": 63 } } @@ -287074,15 +287394,15 @@ "postfix": false, "binop": null }, - "start": 53249, - "end": 53250, + "start": 53902, + "end": 53903, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 63 }, "end": { - "line": 1420, + "line": 1421, "column": 64 } } @@ -287099,15 +287419,15 @@ "postfix": false, "binop": null }, - "start": 53251, - "end": 53252, + "start": 53904, + "end": 53905, "loc": { "start": { - "line": 1420, + "line": 1421, "column": 65 }, "end": { - "line": 1420, + "line": 1421, "column": 66 } } @@ -287127,15 +287447,15 @@ "updateContext": null }, "value": "const", - "start": 53270, - "end": 53275, + "start": 53923, + "end": 53928, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 16 }, "end": { - "line": 1422, + "line": 1423, "column": 21 } } @@ -287153,15 +287473,15 @@ "binop": null }, "value": "mesh", - "start": 53276, - "end": 53280, + "start": 53929, + "end": 53933, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 22 }, "end": { - "line": 1422, + "line": 1423, "column": 26 } } @@ -287180,15 +287500,15 @@ "updateContext": null }, "value": "=", - "start": 53281, - "end": 53282, + "start": 53934, + "end": 53935, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 27 }, "end": { - "line": 1422, + "line": 1423, "column": 28 } } @@ -287206,15 +287526,15 @@ "binop": null }, "value": "meshes", - "start": 53283, - "end": 53289, + "start": 53936, + "end": 53942, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 29 }, "end": { - "line": 1422, + "line": 1423, "column": 35 } } @@ -287232,15 +287552,15 @@ "binop": null, "updateContext": null }, - "start": 53289, - "end": 53290, + "start": 53942, + "end": 53943, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 35 }, "end": { - "line": 1422, + "line": 1423, "column": 36 } } @@ -287258,15 +287578,15 @@ "binop": null }, "value": "j", - "start": 53290, - "end": 53291, + "start": 53943, + "end": 53944, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 36 }, "end": { - "line": 1422, + "line": 1423, "column": 37 } } @@ -287284,15 +287604,15 @@ "binop": null, "updateContext": null }, - "start": 53291, - "end": 53292, + "start": 53944, + "end": 53945, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 37 }, "end": { - "line": 1422, + "line": 1423, "column": 38 } } @@ -287310,15 +287630,15 @@ "binop": null, "updateContext": null }, - "start": 53292, - "end": 53293, + "start": 53945, + "end": 53946, "loc": { "start": { - "line": 1422, + "line": 1423, "column": 38 }, "end": { - "line": 1422, + "line": 1423, "column": 39 } } @@ -287338,15 +287658,15 @@ "updateContext": null }, "value": "const", - "start": 53310, - "end": 53315, + "start": 53963, + "end": 53968, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 16 }, "end": { - "line": 1423, + "line": 1424, "column": 21 } } @@ -287364,15 +287684,15 @@ "binop": null }, "value": "geometry", - "start": 53316, - "end": 53324, + "start": 53969, + "end": 53977, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 22 }, "end": { - "line": 1423, + "line": 1424, "column": 30 } } @@ -287391,15 +287711,15 @@ "updateContext": null }, "value": "=", - "start": 53325, - "end": 53326, + "start": 53978, + "end": 53979, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 31 }, "end": { - "line": 1423, + "line": 1424, "column": 32 } } @@ -287417,15 +287737,15 @@ "binop": null }, "value": "mesh", - "start": 53327, - "end": 53331, + "start": 53980, + "end": 53984, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 33 }, "end": { - "line": 1423, + "line": 1424, "column": 37 } } @@ -287443,15 +287763,15 @@ "binop": null, "updateContext": null }, - "start": 53331, - "end": 53332, + "start": 53984, + "end": 53985, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 37 }, "end": { - "line": 1423, + "line": 1424, "column": 38 } } @@ -287469,15 +287789,15 @@ "binop": null }, "value": "geometry", - "start": 53332, - "end": 53340, + "start": 53985, + "end": 53993, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 38 }, "end": { - "line": 1423, + "line": 1424, "column": 46 } } @@ -287495,15 +287815,15 @@ "binop": null, "updateContext": null }, - "start": 53340, - "end": 53341, + "start": 53993, + "end": 53994, "loc": { "start": { - "line": 1423, + "line": 1424, "column": 46 }, "end": { - "line": 1423, + "line": 1424, "column": 47 } } @@ -287523,15 +287843,15 @@ "updateContext": null }, "value": "if", - "start": 53359, - "end": 53361, + "start": 54012, + "end": 54014, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 16 }, "end": { - "line": 1425, + "line": 1426, "column": 18 } } @@ -287548,15 +287868,15 @@ "postfix": false, "binop": null }, - "start": 53362, - "end": 53363, + "start": 54015, + "end": 54016, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 19 }, "end": { - "line": 1425, + "line": 1426, "column": 20 } } @@ -287575,15 +287895,15 @@ "updateContext": null }, "value": "!", - "start": 53363, - "end": 53364, + "start": 54016, + "end": 54017, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 20 }, "end": { - "line": 1425, + "line": 1426, "column": 21 } } @@ -287601,15 +287921,15 @@ "binop": null }, "value": "geometry", - "start": 53364, - "end": 53372, + "start": 54017, + "end": 54025, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 21 }, "end": { - "line": 1425, + "line": 1426, "column": 29 } } @@ -287627,15 +287947,15 @@ "binop": null, "updateContext": null }, - "start": 53372, - "end": 53373, + "start": 54025, + "end": 54026, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 29 }, "end": { - "line": 1425, + "line": 1426, "column": 30 } } @@ -287653,15 +287973,15 @@ "binop": null }, "value": "reused", - "start": 53373, - "end": 53379, + "start": 54026, + "end": 54032, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 30 }, "end": { - "line": 1425, + "line": 1426, "column": 36 } } @@ -287678,15 +287998,15 @@ "postfix": false, "binop": null }, - "start": 53379, - "end": 53380, + "start": 54032, + "end": 54033, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 36 }, "end": { - "line": 1425, + "line": 1426, "column": 37 } } @@ -287703,15 +288023,15 @@ "postfix": false, "binop": null }, - "start": 53381, - "end": 53382, + "start": 54034, + "end": 54035, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 38 }, "end": { - "line": 1425, + "line": 1426, "column": 39 } } @@ -287719,15 +288039,15 @@ { "type": "CommentLine", "value": " Batched geometry", - "start": 53383, - "end": 53402, + "start": 54036, + "end": 54055, "loc": { "start": { - "line": 1425, + "line": 1426, "column": 40 }, "end": { - "line": 1425, + "line": 1426, "column": 59 } } @@ -287747,15 +288067,15 @@ "updateContext": null }, "value": "const", - "start": 53424, - "end": 53429, + "start": 54077, + "end": 54082, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 20 }, "end": { - "line": 1427, + "line": 1428, "column": 25 } } @@ -287773,15 +288093,15 @@ "binop": null }, "value": "positions", - "start": 53430, - "end": 53439, + "start": 54083, + "end": 54092, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 26 }, "end": { - "line": 1427, + "line": 1428, "column": 35 } } @@ -287800,15 +288120,15 @@ "updateContext": null }, "value": "=", - "start": 53440, - "end": 53441, + "start": 54093, + "end": 54094, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 36 }, "end": { - "line": 1427, + "line": 1428, "column": 37 } } @@ -287826,15 +288146,15 @@ "binop": null }, "value": "geometry", - "start": 53442, - "end": 53450, + "start": 54095, + "end": 54103, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 38 }, "end": { - "line": 1427, + "line": 1428, "column": 46 } } @@ -287852,15 +288172,15 @@ "binop": null, "updateContext": null }, - "start": 53450, - "end": 53451, + "start": 54103, + "end": 54104, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 46 }, "end": { - "line": 1427, + "line": 1428, "column": 47 } } @@ -287878,15 +288198,15 @@ "binop": null }, "value": "positions", - "start": 53451, - "end": 53460, + "start": 54104, + "end": 54113, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 47 }, "end": { - "line": 1427, + "line": 1428, "column": 56 } } @@ -287904,15 +288224,15 @@ "binop": null, "updateContext": null }, - "start": 53460, - "end": 53461, + "start": 54113, + "end": 54114, "loc": { "start": { - "line": 1427, + "line": 1428, "column": 56 }, "end": { - "line": 1427, + "line": 1428, "column": 57 } } @@ -287920,15 +288240,15 @@ { "type": "CommentLine", "value": " Center positions relative to their tile's World-space center", - "start": 53483, - "end": 53546, + "start": 54136, + "end": 54199, "loc": { "start": { - "line": 1429, + "line": 1430, "column": 20 }, "end": { - "line": 1429, + "line": 1430, "column": 83 } } @@ -287948,15 +288268,15 @@ "updateContext": null }, "value": "for", - "start": 53568, - "end": 53571, + "start": 54221, + "end": 54224, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 20 }, "end": { - "line": 1431, + "line": 1432, "column": 23 } } @@ -287973,15 +288293,15 @@ "postfix": false, "binop": null }, - "start": 53572, - "end": 53573, + "start": 54225, + "end": 54226, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 24 }, "end": { - "line": 1431, + "line": 1432, "column": 25 } } @@ -288001,15 +288321,15 @@ "updateContext": null }, "value": "let", - "start": 53573, - "end": 53576, + "start": 54226, + "end": 54229, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 25 }, "end": { - "line": 1431, + "line": 1432, "column": 28 } } @@ -288027,15 +288347,15 @@ "binop": null }, "value": "k", - "start": 53577, - "end": 53578, + "start": 54230, + "end": 54231, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 29 }, "end": { - "line": 1431, + "line": 1432, "column": 30 } } @@ -288054,15 +288374,15 @@ "updateContext": null }, "value": "=", - "start": 53579, - "end": 53580, + "start": 54232, + "end": 54233, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 31 }, "end": { - "line": 1431, + "line": 1432, "column": 32 } } @@ -288081,15 +288401,15 @@ "updateContext": null }, "value": 0, - "start": 53581, - "end": 53582, + "start": 54234, + "end": 54235, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 33 }, "end": { - "line": 1431, + "line": 1432, "column": 34 } } @@ -288107,15 +288427,15 @@ "binop": null, "updateContext": null }, - "start": 53582, - "end": 53583, + "start": 54235, + "end": 54236, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 34 }, "end": { - "line": 1431, + "line": 1432, "column": 35 } } @@ -288133,15 +288453,15 @@ "binop": null }, "value": "lenk", - "start": 53584, - "end": 53588, + "start": 54237, + "end": 54241, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 36 }, "end": { - "line": 1431, + "line": 1432, "column": 40 } } @@ -288160,15 +288480,15 @@ "updateContext": null }, "value": "=", - "start": 53589, - "end": 53590, + "start": 54242, + "end": 54243, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 41 }, "end": { - "line": 1431, + "line": 1432, "column": 42 } } @@ -288186,15 +288506,15 @@ "binop": null }, "value": "positions", - "start": 53591, - "end": 53600, + "start": 54244, + "end": 54253, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 43 }, "end": { - "line": 1431, + "line": 1432, "column": 52 } } @@ -288212,15 +288532,15 @@ "binop": null, "updateContext": null }, - "start": 53600, - "end": 53601, + "start": 54253, + "end": 54254, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 52 }, "end": { - "line": 1431, + "line": 1432, "column": 53 } } @@ -288238,15 +288558,15 @@ "binop": null }, "value": "length", - "start": 53601, - "end": 53607, + "start": 54254, + "end": 54260, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 53 }, "end": { - "line": 1431, + "line": 1432, "column": 59 } } @@ -288264,15 +288584,15 @@ "binop": null, "updateContext": null }, - "start": 53607, - "end": 53608, + "start": 54260, + "end": 54261, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 59 }, "end": { - "line": 1431, + "line": 1432, "column": 60 } } @@ -288290,15 +288610,15 @@ "binop": null }, "value": "k", - "start": 53609, - "end": 53610, + "start": 54262, + "end": 54263, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 61 }, "end": { - "line": 1431, + "line": 1432, "column": 62 } } @@ -288317,15 +288637,15 @@ "updateContext": null }, "value": "<", - "start": 53611, - "end": 53612, + "start": 54264, + "end": 54265, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 63 }, "end": { - "line": 1431, + "line": 1432, "column": 64 } } @@ -288343,15 +288663,15 @@ "binop": null }, "value": "lenk", - "start": 53613, - "end": 53617, + "start": 54266, + "end": 54270, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 65 }, "end": { - "line": 1431, + "line": 1432, "column": 69 } } @@ -288369,15 +288689,15 @@ "binop": null, "updateContext": null }, - "start": 53617, - "end": 53618, + "start": 54270, + "end": 54271, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 69 }, "end": { - "line": 1431, + "line": 1432, "column": 70 } } @@ -288395,15 +288715,15 @@ "binop": null }, "value": "k", - "start": 53619, - "end": 53620, + "start": 54272, + "end": 54273, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 71 }, "end": { - "line": 1431, + "line": 1432, "column": 72 } } @@ -288422,15 +288742,15 @@ "updateContext": null }, "value": "+=", - "start": 53621, - "end": 53623, + "start": 54274, + "end": 54276, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 73 }, "end": { - "line": 1431, + "line": 1432, "column": 75 } } @@ -288449,15 +288769,15 @@ "updateContext": null }, "value": 3, - "start": 53624, - "end": 53625, + "start": 54277, + "end": 54278, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 76 }, "end": { - "line": 1431, + "line": 1432, "column": 77 } } @@ -288474,15 +288794,15 @@ "postfix": false, "binop": null }, - "start": 53625, - "end": 53626, + "start": 54278, + "end": 54279, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 77 }, "end": { - "line": 1431, + "line": 1432, "column": 78 } } @@ -288499,15 +288819,15 @@ "postfix": false, "binop": null }, - "start": 53627, - "end": 53628, + "start": 54280, + "end": 54281, "loc": { "start": { - "line": 1431, + "line": 1432, "column": 79 }, "end": { - "line": 1431, + "line": 1432, "column": 80 } } @@ -288525,15 +288845,15 @@ "binop": null }, "value": "positions", - "start": 53654, - "end": 53663, + "start": 54307, + "end": 54316, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 24 }, "end": { - "line": 1433, + "line": 1434, "column": 33 } } @@ -288551,15 +288871,15 @@ "binop": null, "updateContext": null }, - "start": 53663, - "end": 53664, + "start": 54316, + "end": 54317, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 33 }, "end": { - "line": 1433, + "line": 1434, "column": 34 } } @@ -288577,15 +288897,15 @@ "binop": null }, "value": "k", - "start": 53664, - "end": 53665, + "start": 54317, + "end": 54318, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 34 }, "end": { - "line": 1433, + "line": 1434, "column": 35 } } @@ -288604,15 +288924,15 @@ "updateContext": null }, "value": "+", - "start": 53666, - "end": 53667, + "start": 54319, + "end": 54320, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 36 }, "end": { - "line": 1433, + "line": 1434, "column": 37 } } @@ -288631,15 +288951,15 @@ "updateContext": null }, "value": 0, - "start": 53668, - "end": 53669, + "start": 54321, + "end": 54322, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 38 }, "end": { - "line": 1433, + "line": 1434, "column": 39 } } @@ -288657,15 +288977,15 @@ "binop": null, "updateContext": null }, - "start": 53669, - "end": 53670, + "start": 54322, + "end": 54323, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 39 }, "end": { - "line": 1433, + "line": 1434, "column": 40 } } @@ -288684,15 +289004,15 @@ "updateContext": null }, "value": "-=", - "start": 53671, - "end": 53673, + "start": 54324, + "end": 54326, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 41 }, "end": { - "line": 1433, + "line": 1434, "column": 43 } } @@ -288710,15 +289030,15 @@ "binop": null }, "value": "tileCenter", - "start": 53674, - "end": 53684, + "start": 54327, + "end": 54337, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 44 }, "end": { - "line": 1433, + "line": 1434, "column": 54 } } @@ -288736,15 +289056,15 @@ "binop": null, "updateContext": null }, - "start": 53684, - "end": 53685, + "start": 54337, + "end": 54338, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 54 }, "end": { - "line": 1433, + "line": 1434, "column": 55 } } @@ -288763,15 +289083,15 @@ "updateContext": null }, "value": 0, - "start": 53685, - "end": 53686, + "start": 54338, + "end": 54339, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 55 }, "end": { - "line": 1433, + "line": 1434, "column": 56 } } @@ -288789,15 +289109,15 @@ "binop": null, "updateContext": null }, - "start": 53686, - "end": 53687, + "start": 54339, + "end": 54340, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 56 }, "end": { - "line": 1433, + "line": 1434, "column": 57 } } @@ -288815,15 +289135,15 @@ "binop": null, "updateContext": null }, - "start": 53687, - "end": 53688, + "start": 54340, + "end": 54341, "loc": { "start": { - "line": 1433, + "line": 1434, "column": 57 }, "end": { - "line": 1433, + "line": 1434, "column": 58 } } @@ -288841,15 +289161,15 @@ "binop": null }, "value": "positions", - "start": 53713, - "end": 53722, + "start": 54366, + "end": 54375, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 24 }, "end": { - "line": 1434, + "line": 1435, "column": 33 } } @@ -288867,15 +289187,15 @@ "binop": null, "updateContext": null }, - "start": 53722, - "end": 53723, + "start": 54375, + "end": 54376, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 33 }, "end": { - "line": 1434, + "line": 1435, "column": 34 } } @@ -288893,15 +289213,15 @@ "binop": null }, "value": "k", - "start": 53723, - "end": 53724, + "start": 54376, + "end": 54377, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 34 }, "end": { - "line": 1434, + "line": 1435, "column": 35 } } @@ -288920,15 +289240,15 @@ "updateContext": null }, "value": "+", - "start": 53725, - "end": 53726, + "start": 54378, + "end": 54379, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 36 }, "end": { - "line": 1434, + "line": 1435, "column": 37 } } @@ -288947,15 +289267,15 @@ "updateContext": null }, "value": 1, - "start": 53727, - "end": 53728, + "start": 54380, + "end": 54381, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 38 }, "end": { - "line": 1434, + "line": 1435, "column": 39 } } @@ -288973,15 +289293,15 @@ "binop": null, "updateContext": null }, - "start": 53728, - "end": 53729, + "start": 54381, + "end": 54382, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 39 }, "end": { - "line": 1434, + "line": 1435, "column": 40 } } @@ -289000,15 +289320,15 @@ "updateContext": null }, "value": "-=", - "start": 53730, - "end": 53732, + "start": 54383, + "end": 54385, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 41 }, "end": { - "line": 1434, + "line": 1435, "column": 43 } } @@ -289026,15 +289346,15 @@ "binop": null }, "value": "tileCenter", - "start": 53733, - "end": 53743, + "start": 54386, + "end": 54396, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 44 }, "end": { - "line": 1434, + "line": 1435, "column": 54 } } @@ -289052,15 +289372,15 @@ "binop": null, "updateContext": null }, - "start": 53743, - "end": 53744, + "start": 54396, + "end": 54397, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 54 }, "end": { - "line": 1434, + "line": 1435, "column": 55 } } @@ -289079,15 +289399,15 @@ "updateContext": null }, "value": 1, - "start": 53744, - "end": 53745, + "start": 54397, + "end": 54398, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 55 }, "end": { - "line": 1434, + "line": 1435, "column": 56 } } @@ -289105,15 +289425,15 @@ "binop": null, "updateContext": null }, - "start": 53745, - "end": 53746, + "start": 54398, + "end": 54399, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 56 }, "end": { - "line": 1434, + "line": 1435, "column": 57 } } @@ -289131,15 +289451,15 @@ "binop": null, "updateContext": null }, - "start": 53746, - "end": 53747, + "start": 54399, + "end": 54400, "loc": { "start": { - "line": 1434, + "line": 1435, "column": 57 }, "end": { - "line": 1434, + "line": 1435, "column": 58 } } @@ -289157,15 +289477,15 @@ "binop": null }, "value": "positions", - "start": 53772, - "end": 53781, + "start": 54425, + "end": 54434, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 24 }, "end": { - "line": 1435, + "line": 1436, "column": 33 } } @@ -289183,15 +289503,15 @@ "binop": null, "updateContext": null }, - "start": 53781, - "end": 53782, + "start": 54434, + "end": 54435, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 33 }, "end": { - "line": 1435, + "line": 1436, "column": 34 } } @@ -289209,15 +289529,15 @@ "binop": null }, "value": "k", - "start": 53782, - "end": 53783, + "start": 54435, + "end": 54436, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 34 }, "end": { - "line": 1435, + "line": 1436, "column": 35 } } @@ -289236,15 +289556,15 @@ "updateContext": null }, "value": "+", - "start": 53784, - "end": 53785, + "start": 54437, + "end": 54438, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 36 }, "end": { - "line": 1435, + "line": 1436, "column": 37 } } @@ -289263,15 +289583,15 @@ "updateContext": null }, "value": 2, - "start": 53786, - "end": 53787, + "start": 54439, + "end": 54440, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 38 }, "end": { - "line": 1435, + "line": 1436, "column": 39 } } @@ -289289,15 +289609,15 @@ "binop": null, "updateContext": null }, - "start": 53787, - "end": 53788, + "start": 54440, + "end": 54441, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 39 }, "end": { - "line": 1435, + "line": 1436, "column": 40 } } @@ -289316,15 +289636,15 @@ "updateContext": null }, "value": "-=", - "start": 53789, - "end": 53791, + "start": 54442, + "end": 54444, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 41 }, "end": { - "line": 1435, + "line": 1436, "column": 43 } } @@ -289342,15 +289662,15 @@ "binop": null }, "value": "tileCenter", - "start": 53792, - "end": 53802, + "start": 54445, + "end": 54455, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 44 }, "end": { - "line": 1435, + "line": 1436, "column": 54 } } @@ -289368,15 +289688,15 @@ "binop": null, "updateContext": null }, - "start": 53802, - "end": 53803, + "start": 54455, + "end": 54456, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 54 }, "end": { - "line": 1435, + "line": 1436, "column": 55 } } @@ -289395,15 +289715,15 @@ "updateContext": null }, "value": 2, - "start": 53803, - "end": 53804, + "start": 54456, + "end": 54457, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 55 }, "end": { - "line": 1435, + "line": 1436, "column": 56 } } @@ -289421,15 +289741,15 @@ "binop": null, "updateContext": null }, - "start": 53804, - "end": 53805, + "start": 54457, + "end": 54458, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 56 }, "end": { - "line": 1435, + "line": 1436, "column": 57 } } @@ -289447,15 +289767,15 @@ "binop": null, "updateContext": null }, - "start": 53805, - "end": 53806, + "start": 54458, + "end": 54459, "loc": { "start": { - "line": 1435, + "line": 1436, "column": 57 }, "end": { - "line": 1435, + "line": 1436, "column": 58 } } @@ -289472,15 +289792,15 @@ "postfix": false, "binop": null }, - "start": 53827, - "end": 53828, + "start": 54480, + "end": 54481, "loc": { "start": { - "line": 1436, + "line": 1437, "column": 20 }, "end": { - "line": 1436, + "line": 1437, "column": 21 } } @@ -289488,15 +289808,15 @@ { "type": "CommentLine", "value": " Quantize positions relative to tile's RTC-space boundary", - "start": 53850, - "end": 53909, + "start": 54503, + "end": 54562, "loc": { "start": { - "line": 1438, + "line": 1439, "column": 20 }, "end": { - "line": 1438, + "line": 1439, "column": 79 } } @@ -289514,15 +289834,15 @@ "binop": null }, "value": "geometryCompression", - "start": 53931, - "end": 53950, + "start": 54584, + "end": 54603, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 20 }, "end": { - "line": 1440, + "line": 1441, "column": 39 } } @@ -289540,15 +289860,15 @@ "binop": null, "updateContext": null }, - "start": 53950, - "end": 53951, + "start": 54603, + "end": 54604, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 39 }, "end": { - "line": 1440, + "line": 1441, "column": 40 } } @@ -289566,15 +289886,15 @@ "binop": null }, "value": "quantizePositions", - "start": 53951, - "end": 53968, + "start": 54604, + "end": 54621, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 40 }, "end": { - "line": 1440, + "line": 1441, "column": 57 } } @@ -289591,15 +289911,15 @@ "postfix": false, "binop": null }, - "start": 53968, - "end": 53969, + "start": 54621, + "end": 54622, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 57 }, "end": { - "line": 1440, + "line": 1441, "column": 58 } } @@ -289617,15 +289937,15 @@ "binop": null }, "value": "positions", - "start": 53969, - "end": 53978, + "start": 54622, + "end": 54631, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 58 }, "end": { - "line": 1440, + "line": 1441, "column": 67 } } @@ -289643,15 +289963,15 @@ "binop": null, "updateContext": null }, - "start": 53978, - "end": 53979, + "start": 54631, + "end": 54632, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 67 }, "end": { - "line": 1440, + "line": 1441, "column": 68 } } @@ -289669,15 +289989,15 @@ "binop": null }, "value": "positions", - "start": 53980, - "end": 53989, + "start": 54633, + "end": 54642, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 69 }, "end": { - "line": 1440, + "line": 1441, "column": 78 } } @@ -289695,15 +290015,15 @@ "binop": null, "updateContext": null }, - "start": 53989, - "end": 53990, + "start": 54642, + "end": 54643, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 78 }, "end": { - "line": 1440, + "line": 1441, "column": 79 } } @@ -289721,15 +290041,15 @@ "binop": null }, "value": "length", - "start": 53990, - "end": 53996, + "start": 54643, + "end": 54649, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 79 }, "end": { - "line": 1440, + "line": 1441, "column": 85 } } @@ -289747,15 +290067,15 @@ "binop": null, "updateContext": null }, - "start": 53996, - "end": 53997, + "start": 54649, + "end": 54650, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 85 }, "end": { - "line": 1440, + "line": 1441, "column": 86 } } @@ -289773,15 +290093,15 @@ "binop": null }, "value": "rtcAABB", - "start": 53998, - "end": 54005, + "start": 54651, + "end": 54658, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 87 }, "end": { - "line": 1440, + "line": 1441, "column": 94 } } @@ -289799,15 +290119,15 @@ "binop": null, "updateContext": null }, - "start": 54005, - "end": 54006, + "start": 54658, + "end": 54659, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 94 }, "end": { - "line": 1440, + "line": 1441, "column": 95 } } @@ -289825,15 +290145,15 @@ "binop": null }, "value": "geometry", - "start": 54007, - "end": 54015, + "start": 54660, + "end": 54668, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 96 }, "end": { - "line": 1440, + "line": 1441, "column": 104 } } @@ -289851,15 +290171,15 @@ "binop": null, "updateContext": null }, - "start": 54015, - "end": 54016, + "start": 54668, + "end": 54669, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 104 }, "end": { - "line": 1440, + "line": 1441, "column": 105 } } @@ -289877,15 +290197,15 @@ "binop": null }, "value": "positionsQuantized", - "start": 54016, - "end": 54034, + "start": 54669, + "end": 54687, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 105 }, "end": { - "line": 1440, + "line": 1441, "column": 123 } } @@ -289902,15 +290222,15 @@ "postfix": false, "binop": null }, - "start": 54034, - "end": 54035, + "start": 54687, + "end": 54688, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 123 }, "end": { - "line": 1440, + "line": 1441, "column": 124 } } @@ -289928,15 +290248,15 @@ "binop": null, "updateContext": null }, - "start": 54035, - "end": 54036, + "start": 54688, + "end": 54689, "loc": { "start": { - "line": 1440, + "line": 1441, "column": 124 }, "end": { - "line": 1440, + "line": 1441, "column": 125 } } @@ -289953,15 +290273,15 @@ "postfix": false, "binop": null }, - "start": 54054, - "end": 54055, + "start": 54707, + "end": 54708, "loc": { "start": { - "line": 1442, + "line": 1443, "column": 16 }, "end": { - "line": 1442, + "line": 1443, "column": 17 } } @@ -289981,15 +290301,15 @@ "updateContext": null }, "value": "else", - "start": 54056, - "end": 54060, + "start": 54709, + "end": 54713, "loc": { "start": { - "line": 1442, + "line": 1443, "column": 18 }, "end": { - "line": 1442, + "line": 1443, "column": 22 } } @@ -290006,15 +290326,15 @@ "postfix": false, "binop": null }, - "start": 54061, - "end": 54062, + "start": 54714, + "end": 54715, "loc": { "start": { - "line": 1442, + "line": 1443, "column": 23 }, "end": { - "line": 1442, + "line": 1443, "column": 24 } } @@ -290022,15 +290342,15 @@ { "type": "CommentLine", "value": " Instanced geometry", - "start": 54063, - "end": 54084, + "start": 54716, + "end": 54737, "loc": { "start": { - "line": 1442, + "line": 1443, "column": 25 }, "end": { - "line": 1442, + "line": 1443, "column": 46 } } @@ -290038,15 +290358,15 @@ { "type": "CommentLine", "value": " Post-multiply a translation to the mesh's modeling matrix", - "start": 54106, - "end": 54166, + "start": 54759, + "end": 54819, "loc": { "start": { - "line": 1444, + "line": 1445, "column": 20 }, "end": { - "line": 1444, + "line": 1445, "column": 80 } } @@ -290054,15 +290374,15 @@ { "type": "CommentLine", "value": " to center the entity's geometry instances to the tile RTC center", - "start": 54187, - "end": 54254, + "start": 54840, + "end": 54907, "loc": { "start": { - "line": 1445, + "line": 1446, "column": 20 }, "end": { - "line": 1445, + "line": 1446, "column": 87 } } @@ -290070,15 +290390,15 @@ { "type": "CommentLine", "value": "////////////////////////////", - "start": 54276, - "end": 54306, + "start": 54929, + "end": 54959, "loc": { "start": { - "line": 1447, + "line": 1448, "column": 20 }, "end": { - "line": 1447, + "line": 1448, "column": 50 } } @@ -290086,15 +290406,15 @@ { "type": "CommentLine", "value": " Why do we do this?", - "start": 54327, - "end": 54348, + "start": 54980, + "end": 55001, "loc": { "start": { - "line": 1448, + "line": 1449, "column": 20 }, "end": { - "line": 1448, + "line": 1449, "column": 41 } } @@ -290102,15 +290422,15 @@ { "type": "CommentLine", "value": " Seems to break various models", - "start": 54369, - "end": 54401, + "start": 55022, + "end": 55054, "loc": { "start": { - "line": 1449, + "line": 1450, "column": 20 }, "end": { - "line": 1449, + "line": 1450, "column": 52 } } @@ -290118,15 +290438,15 @@ { "type": "CommentLine", "value": "///////////////////////////////", - "start": 54422, - "end": 54455, + "start": 55075, + "end": 55108, "loc": { "start": { - "line": 1450, + "line": 1451, "column": 20 }, "end": { - "line": 1450, + "line": 1451, "column": 53 } } @@ -290144,15 +290464,15 @@ "binop": null }, "value": "math", - "start": 54477, - "end": 54481, + "start": 55130, + "end": 55134, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 20 }, "end": { - "line": 1452, + "line": 1453, "column": 24 } } @@ -290170,15 +290490,15 @@ "binop": null, "updateContext": null }, - "start": 54481, - "end": 54482, + "start": 55134, + "end": 55135, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 24 }, "end": { - "line": 1452, + "line": 1453, "column": 25 } } @@ -290196,15 +290516,15 @@ "binop": null }, "value": "translateMat4v", - "start": 54482, - "end": 54496, + "start": 55135, + "end": 55149, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 25 }, "end": { - "line": 1452, + "line": 1453, "column": 39 } } @@ -290221,15 +290541,15 @@ "postfix": false, "binop": null }, - "start": 54496, - "end": 54497, + "start": 55149, + "end": 55150, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 39 }, "end": { - "line": 1452, + "line": 1453, "column": 40 } } @@ -290247,15 +290567,15 @@ "binop": null }, "value": "tileCenterNeg", - "start": 54497, - "end": 54510, + "start": 55150, + "end": 55163, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 40 }, "end": { - "line": 1452, + "line": 1453, "column": 53 } } @@ -290273,15 +290593,15 @@ "binop": null, "updateContext": null }, - "start": 54510, - "end": 54511, + "start": 55163, + "end": 55164, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 53 }, "end": { - "line": 1452, + "line": 1453, "column": 54 } } @@ -290299,15 +290619,15 @@ "binop": null }, "value": "mesh", - "start": 54512, - "end": 54516, + "start": 55165, + "end": 55169, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 55 }, "end": { - "line": 1452, + "line": 1453, "column": 59 } } @@ -290325,15 +290645,15 @@ "binop": null, "updateContext": null }, - "start": 54516, - "end": 54517, + "start": 55169, + "end": 55170, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 59 }, "end": { - "line": 1452, + "line": 1453, "column": 60 } } @@ -290351,15 +290671,15 @@ "binop": null }, "value": "matrix", - "start": 54517, - "end": 54523, + "start": 55170, + "end": 55176, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 60 }, "end": { - "line": 1452, + "line": 1453, "column": 66 } } @@ -290376,15 +290696,15 @@ "postfix": false, "binop": null }, - "start": 54523, - "end": 54524, + "start": 55176, + "end": 55177, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 66 }, "end": { - "line": 1452, + "line": 1453, "column": 67 } } @@ -290402,15 +290722,15 @@ "binop": null, "updateContext": null }, - "start": 54524, - "end": 54525, + "start": 55177, + "end": 55178, "loc": { "start": { - "line": 1452, + "line": 1453, "column": 67 }, "end": { - "line": 1452, + "line": 1453, "column": 68 } } @@ -290427,15 +290747,15 @@ "postfix": false, "binop": null }, - "start": 54542, - "end": 54543, + "start": 55195, + "end": 55196, "loc": { "start": { - "line": 1453, + "line": 1454, "column": 16 }, "end": { - "line": 1453, + "line": 1454, "column": 17 } } @@ -290452,15 +290772,15 @@ "postfix": false, "binop": null }, - "start": 54556, - "end": 54557, + "start": 55209, + "end": 55210, "loc": { "start": { - "line": 1454, + "line": 1455, "column": 12 }, "end": { - "line": 1454, + "line": 1455, "column": 13 } } @@ -290478,15 +290798,15 @@ "binop": null }, "value": "entity", - "start": 54571, - "end": 54577, + "start": 55224, + "end": 55230, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 12 }, "end": { - "line": 1456, + "line": 1457, "column": 18 } } @@ -290504,15 +290824,15 @@ "binop": null, "updateContext": null }, - "start": 54577, - "end": 54578, + "start": 55230, + "end": 55231, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 18 }, "end": { - "line": 1456, + "line": 1457, "column": 19 } } @@ -290530,15 +290850,15 @@ "binop": null }, "value": "entityIndex", - "start": 54578, - "end": 54589, + "start": 55231, + "end": 55242, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 19 }, "end": { - "line": 1456, + "line": 1457, "column": 30 } } @@ -290557,15 +290877,15 @@ "updateContext": null }, "value": "=", - "start": 54590, - "end": 54591, + "start": 55243, + "end": 55244, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 31 }, "end": { - "line": 1456, + "line": 1457, "column": 32 } } @@ -290585,15 +290905,15 @@ "updateContext": null }, "value": "this", - "start": 54592, - "end": 54596, + "start": 55245, + "end": 55249, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 33 }, "end": { - "line": 1456, + "line": 1457, "column": 37 } } @@ -290611,15 +290931,15 @@ "binop": null, "updateContext": null }, - "start": 54596, - "end": 54597, + "start": 55249, + "end": 55250, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 37 }, "end": { - "line": 1456, + "line": 1457, "column": 38 } } @@ -290637,15 +290957,15 @@ "binop": null }, "value": "entitiesList", - "start": 54597, - "end": 54609, + "start": 55250, + "end": 55262, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 38 }, "end": { - "line": 1456, + "line": 1457, "column": 50 } } @@ -290663,15 +290983,15 @@ "binop": null, "updateContext": null }, - "start": 54609, - "end": 54610, + "start": 55262, + "end": 55263, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 50 }, "end": { - "line": 1456, + "line": 1457, "column": 51 } } @@ -290689,15 +291009,15 @@ "binop": null }, "value": "length", - "start": 54610, - "end": 54616, + "start": 55263, + "end": 55269, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 51 }, "end": { - "line": 1456, + "line": 1457, "column": 57 } } @@ -290715,15 +291035,15 @@ "binop": null, "updateContext": null }, - "start": 54616, - "end": 54617, + "start": 55269, + "end": 55270, "loc": { "start": { - "line": 1456, + "line": 1457, "column": 57 }, "end": { - "line": 1456, + "line": 1457, "column": 58 } } @@ -290743,15 +291063,15 @@ "updateContext": null }, "value": "this", - "start": 54631, - "end": 54635, + "start": 55284, + "end": 55288, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 12 }, "end": { - "line": 1458, + "line": 1459, "column": 16 } } @@ -290769,15 +291089,15 @@ "binop": null, "updateContext": null }, - "start": 54635, - "end": 54636, + "start": 55288, + "end": 55289, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 16 }, "end": { - "line": 1458, + "line": 1459, "column": 17 } } @@ -290795,15 +291115,15 @@ "binop": null }, "value": "entitiesList", - "start": 54636, - "end": 54648, + "start": 55289, + "end": 55301, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 17 }, "end": { - "line": 1458, + "line": 1459, "column": 29 } } @@ -290821,15 +291141,15 @@ "binop": null, "updateContext": null }, - "start": 54648, - "end": 54649, + "start": 55301, + "end": 55302, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 29 }, "end": { - "line": 1458, + "line": 1459, "column": 30 } } @@ -290847,15 +291167,15 @@ "binop": null }, "value": "push", - "start": 54649, - "end": 54653, + "start": 55302, + "end": 55306, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 30 }, "end": { - "line": 1458, + "line": 1459, "column": 34 } } @@ -290872,15 +291192,15 @@ "postfix": false, "binop": null }, - "start": 54653, - "end": 54654, + "start": 55306, + "end": 55307, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 34 }, "end": { - "line": 1458, + "line": 1459, "column": 35 } } @@ -290898,15 +291218,15 @@ "binop": null }, "value": "entity", - "start": 54654, - "end": 54660, + "start": 55307, + "end": 55313, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 35 }, "end": { - "line": 1458, + "line": 1459, "column": 41 } } @@ -290923,15 +291243,15 @@ "postfix": false, "binop": null }, - "start": 54660, - "end": 54661, + "start": 55313, + "end": 55314, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 41 }, "end": { - "line": 1458, + "line": 1459, "column": 42 } } @@ -290949,15 +291269,15 @@ "binop": null, "updateContext": null }, - "start": 54661, - "end": 54662, + "start": 55314, + "end": 55315, "loc": { "start": { - "line": 1458, + "line": 1459, "column": 42 }, "end": { - "line": 1458, + "line": 1459, "column": 43 } } @@ -290974,15 +291294,15 @@ "postfix": false, "binop": null }, - "start": 54671, - "end": 54672, + "start": 55324, + "end": 55325, "loc": { "start": { - "line": 1459, + "line": 1460, "column": 8 }, "end": { - "line": 1459, + "line": 1460, "column": 9 } } @@ -291002,15 +291322,15 @@ "updateContext": null }, "value": "const", - "start": 54682, - "end": 54687, + "start": 55335, + "end": 55340, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 8 }, "end": { - "line": 1461, + "line": 1462, "column": 13 } } @@ -291028,15 +291348,15 @@ "binop": null }, "value": "tile", - "start": 54688, - "end": 54692, + "start": 55341, + "end": 55345, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 14 }, "end": { - "line": 1461, + "line": 1462, "column": 18 } } @@ -291055,15 +291375,15 @@ "updateContext": null }, "value": "=", - "start": 54693, - "end": 54694, + "start": 55346, + "end": 55347, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 19 }, "end": { - "line": 1461, + "line": 1462, "column": 20 } } @@ -291083,15 +291403,15 @@ "updateContext": null }, "value": "new", - "start": 54695, - "end": 54698, + "start": 55348, + "end": 55351, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 21 }, "end": { - "line": 1461, + "line": 1462, "column": 24 } } @@ -291109,15 +291429,15 @@ "binop": null }, "value": "XKTTile", - "start": 54699, - "end": 54706, + "start": 55352, + "end": 55359, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 25 }, "end": { - "line": 1461, + "line": 1462, "column": 32 } } @@ -291134,15 +291454,15 @@ "postfix": false, "binop": null }, - "start": 54706, - "end": 54707, + "start": 55359, + "end": 55360, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 32 }, "end": { - "line": 1461, + "line": 1462, "column": 33 } } @@ -291160,15 +291480,15 @@ "binop": null }, "value": "tileAABB", - "start": 54707, - "end": 54715, + "start": 55360, + "end": 55368, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 33 }, "end": { - "line": 1461, + "line": 1462, "column": 41 } } @@ -291186,15 +291506,15 @@ "binop": null, "updateContext": null }, - "start": 54715, - "end": 54716, + "start": 55368, + "end": 55369, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 41 }, "end": { - "line": 1461, + "line": 1462, "column": 42 } } @@ -291212,15 +291532,15 @@ "binop": null }, "value": "entities", - "start": 54717, - "end": 54725, + "start": 55370, + "end": 55378, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 43 }, "end": { - "line": 1461, + "line": 1462, "column": 51 } } @@ -291237,15 +291557,15 @@ "postfix": false, "binop": null }, - "start": 54725, - "end": 54726, + "start": 55378, + "end": 55379, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 51 }, "end": { - "line": 1461, + "line": 1462, "column": 52 } } @@ -291263,15 +291583,15 @@ "binop": null, "updateContext": null }, - "start": 54726, - "end": 54727, + "start": 55379, + "end": 55380, "loc": { "start": { - "line": 1461, + "line": 1462, "column": 52 }, "end": { - "line": 1461, + "line": 1462, "column": 53 } } @@ -291291,15 +291611,15 @@ "updateContext": null }, "value": "this", - "start": 54737, - "end": 54741, + "start": 55390, + "end": 55394, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 8 }, "end": { - "line": 1463, + "line": 1464, "column": 12 } } @@ -291317,15 +291637,15 @@ "binop": null, "updateContext": null }, - "start": 54741, - "end": 54742, + "start": 55394, + "end": 55395, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 12 }, "end": { - "line": 1463, + "line": 1464, "column": 13 } } @@ -291343,15 +291663,15 @@ "binop": null }, "value": "tilesList", - "start": 54742, - "end": 54751, + "start": 55395, + "end": 55404, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 13 }, "end": { - "line": 1463, + "line": 1464, "column": 22 } } @@ -291369,15 +291689,15 @@ "binop": null, "updateContext": null }, - "start": 54751, - "end": 54752, + "start": 55404, + "end": 55405, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 22 }, "end": { - "line": 1463, + "line": 1464, "column": 23 } } @@ -291395,15 +291715,15 @@ "binop": null }, "value": "push", - "start": 54752, - "end": 54756, + "start": 55405, + "end": 55409, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 23 }, "end": { - "line": 1463, + "line": 1464, "column": 27 } } @@ -291420,15 +291740,15 @@ "postfix": false, "binop": null }, - "start": 54756, - "end": 54757, + "start": 55409, + "end": 55410, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 27 }, "end": { - "line": 1463, + "line": 1464, "column": 28 } } @@ -291446,15 +291766,15 @@ "binop": null }, "value": "tile", - "start": 54757, - "end": 54761, + "start": 55410, + "end": 55414, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 28 }, "end": { - "line": 1463, + "line": 1464, "column": 32 } } @@ -291471,15 +291791,15 @@ "postfix": false, "binop": null }, - "start": 54761, - "end": 54762, + "start": 55414, + "end": 55415, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 32 }, "end": { - "line": 1463, + "line": 1464, "column": 33 } } @@ -291497,15 +291817,15 @@ "binop": null, "updateContext": null }, - "start": 54762, - "end": 54763, + "start": 55415, + "end": 55416, "loc": { "start": { - "line": 1463, + "line": 1464, "column": 33 }, "end": { - "line": 1463, + "line": 1464, "column": 34 } } @@ -291522,15 +291842,15 @@ "postfix": false, "binop": null }, - "start": 54768, - "end": 54769, + "start": 55421, + "end": 55422, "loc": { "start": { - "line": 1464, + "line": 1465, "column": 4 }, "end": { - "line": 1464, + "line": 1465, "column": 5 } } @@ -291548,15 +291868,15 @@ "binop": null }, "value": "_createReusedGeometriesDecodeMatrix", - "start": 54775, - "end": 54810, + "start": 55428, + "end": 55463, "loc": { "start": { - "line": 1466, + "line": 1467, "column": 4 }, "end": { - "line": 1466, + "line": 1467, "column": 39 } } @@ -291573,15 +291893,15 @@ "postfix": false, "binop": null }, - "start": 54810, - "end": 54811, + "start": 55463, + "end": 55464, "loc": { "start": { - "line": 1466, + "line": 1467, "column": 39 }, "end": { - "line": 1466, + "line": 1467, "column": 40 } } @@ -291598,15 +291918,15 @@ "postfix": false, "binop": null }, - "start": 54811, - "end": 54812, + "start": 55464, + "end": 55465, "loc": { "start": { - "line": 1466, + "line": 1467, "column": 40 }, "end": { - "line": 1466, + "line": 1467, "column": 41 } } @@ -291623,15 +291943,15 @@ "postfix": false, "binop": null }, - "start": 54813, - "end": 54814, + "start": 55466, + "end": 55467, "loc": { "start": { - "line": 1466, + "line": 1467, "column": 42 }, "end": { - "line": 1466, + "line": 1467, "column": 43 } } @@ -291651,15 +291971,15 @@ "updateContext": null }, "value": "const", - "start": 54824, - "end": 54829, + "start": 55477, + "end": 55482, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 8 }, "end": { - "line": 1468, + "line": 1469, "column": 13 } } @@ -291677,15 +291997,15 @@ "binop": null }, "value": "tempVec3a", - "start": 54830, - "end": 54839, + "start": 55483, + "end": 55492, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 14 }, "end": { - "line": 1468, + "line": 1469, "column": 23 } } @@ -291704,15 +292024,15 @@ "updateContext": null }, "value": "=", - "start": 54840, - "end": 54841, + "start": 55493, + "end": 55494, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 24 }, "end": { - "line": 1468, + "line": 1469, "column": 25 } } @@ -291730,15 +292050,15 @@ "binop": null }, "value": "math", - "start": 54842, - "end": 54846, + "start": 55495, + "end": 55499, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 26 }, "end": { - "line": 1468, + "line": 1469, "column": 30 } } @@ -291756,15 +292076,15 @@ "binop": null, "updateContext": null }, - "start": 54846, - "end": 54847, + "start": 55499, + "end": 55500, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 30 }, "end": { - "line": 1468, + "line": 1469, "column": 31 } } @@ -291782,15 +292102,15 @@ "binop": null }, "value": "vec3", - "start": 54847, - "end": 54851, + "start": 55500, + "end": 55504, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 31 }, "end": { - "line": 1468, + "line": 1469, "column": 35 } } @@ -291807,15 +292127,15 @@ "postfix": false, "binop": null }, - "start": 54851, - "end": 54852, + "start": 55504, + "end": 55505, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 35 }, "end": { - "line": 1468, + "line": 1469, "column": 36 } } @@ -291832,15 +292152,15 @@ "postfix": false, "binop": null }, - "start": 54852, - "end": 54853, + "start": 55505, + "end": 55506, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 36 }, "end": { - "line": 1468, + "line": 1469, "column": 37 } } @@ -291858,15 +292178,15 @@ "binop": null, "updateContext": null }, - "start": 54853, - "end": 54854, + "start": 55506, + "end": 55507, "loc": { "start": { - "line": 1468, + "line": 1469, "column": 37 }, "end": { - "line": 1468, + "line": 1469, "column": 38 } } @@ -291886,15 +292206,15 @@ "updateContext": null }, "value": "const", - "start": 54863, - "end": 54868, + "start": 55516, + "end": 55521, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 8 }, "end": { - "line": 1469, + "line": 1470, "column": 13 } } @@ -291912,15 +292232,15 @@ "binop": null }, "value": "reusedGeometriesAABB", - "start": 54869, - "end": 54889, + "start": 55522, + "end": 55542, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 14 }, "end": { - "line": 1469, + "line": 1470, "column": 34 } } @@ -291939,15 +292259,15 @@ "updateContext": null }, "value": "=", - "start": 54890, - "end": 54891, + "start": 55543, + "end": 55544, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 35 }, "end": { - "line": 1469, + "line": 1470, "column": 36 } } @@ -291965,15 +292285,15 @@ "binop": null }, "value": "math", - "start": 54892, - "end": 54896, + "start": 55545, + "end": 55549, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 37 }, "end": { - "line": 1469, + "line": 1470, "column": 41 } } @@ -291991,15 +292311,15 @@ "binop": null, "updateContext": null }, - "start": 54896, - "end": 54897, + "start": 55549, + "end": 55550, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 41 }, "end": { - "line": 1469, + "line": 1470, "column": 42 } } @@ -292017,15 +292337,15 @@ "binop": null }, "value": "collapseAABB3", - "start": 54897, - "end": 54910, + "start": 55550, + "end": 55563, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 42 }, "end": { - "line": 1469, + "line": 1470, "column": 55 } } @@ -292042,15 +292362,15 @@ "postfix": false, "binop": null }, - "start": 54910, - "end": 54911, + "start": 55563, + "end": 55564, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 55 }, "end": { - "line": 1469, + "line": 1470, "column": 56 } } @@ -292068,15 +292388,15 @@ "binop": null }, "value": "math", - "start": 54911, - "end": 54915, + "start": 55564, + "end": 55568, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 56 }, "end": { - "line": 1469, + "line": 1470, "column": 60 } } @@ -292094,15 +292414,15 @@ "binop": null, "updateContext": null }, - "start": 54915, - "end": 54916, + "start": 55568, + "end": 55569, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 60 }, "end": { - "line": 1469, + "line": 1470, "column": 61 } } @@ -292120,15 +292440,15 @@ "binop": null }, "value": "AABB3", - "start": 54916, - "end": 54921, + "start": 55569, + "end": 55574, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 61 }, "end": { - "line": 1469, + "line": 1470, "column": 66 } } @@ -292145,15 +292465,15 @@ "postfix": false, "binop": null }, - "start": 54921, - "end": 54922, + "start": 55574, + "end": 55575, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 66 }, "end": { - "line": 1469, + "line": 1470, "column": 67 } } @@ -292170,15 +292490,15 @@ "postfix": false, "binop": null }, - "start": 54922, - "end": 54923, + "start": 55575, + "end": 55576, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 67 }, "end": { - "line": 1469, + "line": 1470, "column": 68 } } @@ -292195,15 +292515,15 @@ "postfix": false, "binop": null }, - "start": 54923, - "end": 54924, + "start": 55576, + "end": 55577, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 68 }, "end": { - "line": 1469, + "line": 1470, "column": 69 } } @@ -292221,15 +292541,15 @@ "binop": null, "updateContext": null }, - "start": 54924, - "end": 54925, + "start": 55577, + "end": 55578, "loc": { "start": { - "line": 1469, + "line": 1470, "column": 69 }, "end": { - "line": 1469, + "line": 1470, "column": 70 } } @@ -292249,15 +292569,15 @@ "updateContext": null }, "value": "let", - "start": 54934, - "end": 54937, + "start": 55587, + "end": 55590, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 8 }, "end": { - "line": 1470, + "line": 1471, "column": 11 } } @@ -292275,15 +292595,15 @@ "binop": null }, "value": "countReusedGeometries", - "start": 54938, - "end": 54959, + "start": 55591, + "end": 55612, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 12 }, "end": { - "line": 1470, + "line": 1471, "column": 33 } } @@ -292302,15 +292622,15 @@ "updateContext": null }, "value": "=", - "start": 54960, - "end": 54961, + "start": 55613, + "end": 55614, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 34 }, "end": { - "line": 1470, + "line": 1471, "column": 35 } } @@ -292329,15 +292649,15 @@ "updateContext": null }, "value": 0, - "start": 54962, - "end": 54963, + "start": 55615, + "end": 55616, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 36 }, "end": { - "line": 1470, + "line": 1471, "column": 37 } } @@ -292355,15 +292675,15 @@ "binop": null, "updateContext": null }, - "start": 54963, - "end": 54964, + "start": 55616, + "end": 55617, "loc": { "start": { - "line": 1470, + "line": 1471, "column": 37 }, "end": { - "line": 1470, + "line": 1471, "column": 38 } } @@ -292383,15 +292703,15 @@ "updateContext": null }, "value": "for", - "start": 54974, - "end": 54977, + "start": 55627, + "end": 55630, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 8 }, "end": { - "line": 1472, + "line": 1473, "column": 11 } } @@ -292408,15 +292728,15 @@ "postfix": false, "binop": null }, - "start": 54978, - "end": 54979, + "start": 55631, + "end": 55632, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 12 }, "end": { - "line": 1472, + "line": 1473, "column": 13 } } @@ -292436,15 +292756,15 @@ "updateContext": null }, "value": "let", - "start": 54979, - "end": 54982, + "start": 55632, + "end": 55635, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 13 }, "end": { - "line": 1472, + "line": 1473, "column": 16 } } @@ -292462,15 +292782,15 @@ "binop": null }, "value": "geometryIndex", - "start": 54983, - "end": 54996, + "start": 55636, + "end": 55649, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 17 }, "end": { - "line": 1472, + "line": 1473, "column": 30 } } @@ -292489,15 +292809,15 @@ "updateContext": null }, "value": "=", - "start": 54997, - "end": 54998, + "start": 55650, + "end": 55651, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 31 }, "end": { - "line": 1472, + "line": 1473, "column": 32 } } @@ -292516,15 +292836,15 @@ "updateContext": null }, "value": 0, - "start": 54999, - "end": 55000, + "start": 55652, + "end": 55653, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 33 }, "end": { - "line": 1472, + "line": 1473, "column": 34 } } @@ -292542,15 +292862,15 @@ "binop": null, "updateContext": null }, - "start": 55000, - "end": 55001, + "start": 55653, + "end": 55654, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 34 }, "end": { - "line": 1472, + "line": 1473, "column": 35 } } @@ -292568,15 +292888,15 @@ "binop": null }, "value": "numGeometries", - "start": 55002, - "end": 55015, + "start": 55655, + "end": 55668, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 36 }, "end": { - "line": 1472, + "line": 1473, "column": 49 } } @@ -292595,15 +292915,15 @@ "updateContext": null }, "value": "=", - "start": 55016, - "end": 55017, + "start": 55669, + "end": 55670, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 50 }, "end": { - "line": 1472, + "line": 1473, "column": 51 } } @@ -292623,15 +292943,15 @@ "updateContext": null }, "value": "this", - "start": 55018, - "end": 55022, + "start": 55671, + "end": 55675, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 52 }, "end": { - "line": 1472, + "line": 1473, "column": 56 } } @@ -292649,15 +292969,15 @@ "binop": null, "updateContext": null }, - "start": 55022, - "end": 55023, + "start": 55675, + "end": 55676, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 56 }, "end": { - "line": 1472, + "line": 1473, "column": 57 } } @@ -292675,15 +292995,15 @@ "binop": null }, "value": "geometriesList", - "start": 55023, - "end": 55037, + "start": 55676, + "end": 55690, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 57 }, "end": { - "line": 1472, + "line": 1473, "column": 71 } } @@ -292701,15 +293021,15 @@ "binop": null, "updateContext": null }, - "start": 55037, - "end": 55038, + "start": 55690, + "end": 55691, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 71 }, "end": { - "line": 1472, + "line": 1473, "column": 72 } } @@ -292727,15 +293047,15 @@ "binop": null }, "value": "length", - "start": 55038, - "end": 55044, + "start": 55691, + "end": 55697, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 72 }, "end": { - "line": 1472, + "line": 1473, "column": 78 } } @@ -292753,15 +293073,15 @@ "binop": null, "updateContext": null }, - "start": 55044, - "end": 55045, + "start": 55697, + "end": 55698, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 78 }, "end": { - "line": 1472, + "line": 1473, "column": 79 } } @@ -292779,15 +293099,15 @@ "binop": null }, "value": "geometryIndex", - "start": 55046, - "end": 55059, + "start": 55699, + "end": 55712, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 80 }, "end": { - "line": 1472, + "line": 1473, "column": 93 } } @@ -292806,15 +293126,15 @@ "updateContext": null }, "value": "<", - "start": 55060, - "end": 55061, + "start": 55713, + "end": 55714, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 94 }, "end": { - "line": 1472, + "line": 1473, "column": 95 } } @@ -292832,15 +293152,15 @@ "binop": null }, "value": "numGeometries", - "start": 55062, - "end": 55075, + "start": 55715, + "end": 55728, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 96 }, "end": { - "line": 1472, + "line": 1473, "column": 109 } } @@ -292858,15 +293178,15 @@ "binop": null, "updateContext": null }, - "start": 55075, - "end": 55076, + "start": 55728, + "end": 55729, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 109 }, "end": { - "line": 1472, + "line": 1473, "column": 110 } } @@ -292884,15 +293204,15 @@ "binop": null }, "value": "geometryIndex", - "start": 55077, - "end": 55090, + "start": 55730, + "end": 55743, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 111 }, "end": { - "line": 1472, + "line": 1473, "column": 124 } } @@ -292910,15 +293230,15 @@ "binop": null }, "value": "++", - "start": 55090, - "end": 55092, + "start": 55743, + "end": 55745, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 124 }, "end": { - "line": 1472, + "line": 1473, "column": 126 } } @@ -292935,15 +293255,15 @@ "postfix": false, "binop": null }, - "start": 55092, - "end": 55093, + "start": 55745, + "end": 55746, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 126 }, "end": { - "line": 1472, + "line": 1473, "column": 127 } } @@ -292960,15 +293280,15 @@ "postfix": false, "binop": null }, - "start": 55094, - "end": 55095, + "start": 55747, + "end": 55748, "loc": { "start": { - "line": 1472, + "line": 1473, "column": 128 }, "end": { - "line": 1472, + "line": 1473, "column": 129 } } @@ -292988,15 +293308,15 @@ "updateContext": null }, "value": "const", - "start": 55109, - "end": 55114, + "start": 55762, + "end": 55767, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 12 }, "end": { - "line": 1474, + "line": 1475, "column": 17 } } @@ -293014,15 +293334,15 @@ "binop": null }, "value": "geometry", - "start": 55115, - "end": 55123, + "start": 55768, + "end": 55776, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 18 }, "end": { - "line": 1474, + "line": 1475, "column": 26 } } @@ -293041,15 +293361,15 @@ "updateContext": null }, "value": "=", - "start": 55124, - "end": 55125, + "start": 55777, + "end": 55778, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 27 }, "end": { - "line": 1474, + "line": 1475, "column": 28 } } @@ -293069,15 +293389,15 @@ "updateContext": null }, "value": "this", - "start": 55126, - "end": 55130, + "start": 55779, + "end": 55783, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 29 }, "end": { - "line": 1474, + "line": 1475, "column": 33 } } @@ -293095,15 +293415,15 @@ "binop": null, "updateContext": null }, - "start": 55130, - "end": 55131, + "start": 55783, + "end": 55784, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 33 }, "end": { - "line": 1474, + "line": 1475, "column": 34 } } @@ -293121,15 +293441,15 @@ "binop": null }, "value": "geometriesList", - "start": 55131, - "end": 55145, + "start": 55784, + "end": 55798, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 34 }, "end": { - "line": 1474, + "line": 1475, "column": 48 } } @@ -293147,15 +293467,15 @@ "binop": null, "updateContext": null }, - "start": 55146, - "end": 55147, + "start": 55799, + "end": 55800, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 49 }, "end": { - "line": 1474, + "line": 1475, "column": 50 } } @@ -293173,15 +293493,15 @@ "binop": null }, "value": "geometryIndex", - "start": 55147, - "end": 55160, + "start": 55800, + "end": 55813, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 50 }, "end": { - "line": 1474, + "line": 1475, "column": 63 } } @@ -293199,15 +293519,15 @@ "binop": null, "updateContext": null }, - "start": 55160, - "end": 55161, + "start": 55813, + "end": 55814, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 63 }, "end": { - "line": 1474, + "line": 1475, "column": 64 } } @@ -293225,15 +293545,15 @@ "binop": null, "updateContext": null }, - "start": 55161, - "end": 55162, + "start": 55814, + "end": 55815, "loc": { "start": { - "line": 1474, + "line": 1475, "column": 64 }, "end": { - "line": 1474, + "line": 1475, "column": 65 } } @@ -293253,15 +293573,15 @@ "updateContext": null }, "value": "if", - "start": 55176, - "end": 55178, + "start": 55829, + "end": 55831, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 12 }, "end": { - "line": 1476, + "line": 1477, "column": 14 } } @@ -293278,15 +293598,15 @@ "postfix": false, "binop": null }, - "start": 55179, - "end": 55180, + "start": 55832, + "end": 55833, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 15 }, "end": { - "line": 1476, + "line": 1477, "column": 16 } } @@ -293304,15 +293624,15 @@ "binop": null }, "value": "geometry", - "start": 55180, - "end": 55188, + "start": 55833, + "end": 55841, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 16 }, "end": { - "line": 1476, + "line": 1477, "column": 24 } } @@ -293330,15 +293650,15 @@ "binop": null, "updateContext": null }, - "start": 55188, - "end": 55189, + "start": 55841, + "end": 55842, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 24 }, "end": { - "line": 1476, + "line": 1477, "column": 25 } } @@ -293356,15 +293676,15 @@ "binop": null }, "value": "reused", - "start": 55189, - "end": 55195, + "start": 55842, + "end": 55848, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 25 }, "end": { - "line": 1476, + "line": 1477, "column": 31 } } @@ -293381,15 +293701,15 @@ "postfix": false, "binop": null }, - "start": 55195, - "end": 55196, + "start": 55848, + "end": 55849, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 31 }, "end": { - "line": 1476, + "line": 1477, "column": 32 } } @@ -293406,15 +293726,15 @@ "postfix": false, "binop": null }, - "start": 55197, - "end": 55198, + "start": 55850, + "end": 55851, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 33 }, "end": { - "line": 1476, + "line": 1477, "column": 34 } } @@ -293422,15 +293742,15 @@ { "type": "CommentLine", "value": " Instanced geometry", - "start": 55199, - "end": 55220, + "start": 55852, + "end": 55873, "loc": { "start": { - "line": 1476, + "line": 1477, "column": 35 }, "end": { - "line": 1476, + "line": 1477, "column": 56 } } @@ -293450,15 +293770,15 @@ "updateContext": null }, "value": "const", - "start": 55238, - "end": 55243, + "start": 55891, + "end": 55896, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 16 }, "end": { - "line": 1478, + "line": 1479, "column": 21 } } @@ -293476,15 +293796,15 @@ "binop": null }, "value": "positions", - "start": 55244, - "end": 55253, + "start": 55897, + "end": 55906, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 22 }, "end": { - "line": 1478, + "line": 1479, "column": 31 } } @@ -293503,15 +293823,15 @@ "updateContext": null }, "value": "=", - "start": 55254, - "end": 55255, + "start": 55907, + "end": 55908, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 32 }, "end": { - "line": 1478, + "line": 1479, "column": 33 } } @@ -293529,15 +293849,15 @@ "binop": null }, "value": "geometry", - "start": 55256, - "end": 55264, + "start": 55909, + "end": 55917, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 34 }, "end": { - "line": 1478, + "line": 1479, "column": 42 } } @@ -293555,15 +293875,15 @@ "binop": null, "updateContext": null }, - "start": 55264, - "end": 55265, + "start": 55917, + "end": 55918, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 42 }, "end": { - "line": 1478, + "line": 1479, "column": 43 } } @@ -293581,15 +293901,15 @@ "binop": null }, "value": "positions", - "start": 55265, - "end": 55274, + "start": 55918, + "end": 55927, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 43 }, "end": { - "line": 1478, + "line": 1479, "column": 52 } } @@ -293607,15 +293927,15 @@ "binop": null, "updateContext": null }, - "start": 55274, - "end": 55275, + "start": 55927, + "end": 55928, "loc": { "start": { - "line": 1478, + "line": 1479, "column": 52 }, "end": { - "line": 1478, + "line": 1479, "column": 53 } } @@ -293635,15 +293955,15 @@ "updateContext": null }, "value": "for", - "start": 55293, - "end": 55296, + "start": 55946, + "end": 55949, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 16 }, "end": { - "line": 1480, + "line": 1481, "column": 19 } } @@ -293660,15 +293980,15 @@ "postfix": false, "binop": null }, - "start": 55297, - "end": 55298, + "start": 55950, + "end": 55951, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 20 }, "end": { - "line": 1480, + "line": 1481, "column": 21 } } @@ -293688,15 +294008,15 @@ "updateContext": null }, "value": "let", - "start": 55298, - "end": 55301, + "start": 55951, + "end": 55954, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 21 }, "end": { - "line": 1480, + "line": 1481, "column": 24 } } @@ -293714,15 +294034,15 @@ "binop": null }, "value": "i", - "start": 55302, - "end": 55303, + "start": 55955, + "end": 55956, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 25 }, "end": { - "line": 1480, + "line": 1481, "column": 26 } } @@ -293741,15 +294061,15 @@ "updateContext": null }, "value": "=", - "start": 55304, - "end": 55305, + "start": 55957, + "end": 55958, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 27 }, "end": { - "line": 1480, + "line": 1481, "column": 28 } } @@ -293768,15 +294088,15 @@ "updateContext": null }, "value": 0, - "start": 55306, - "end": 55307, + "start": 55959, + "end": 55960, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 29 }, "end": { - "line": 1480, + "line": 1481, "column": 30 } } @@ -293794,15 +294114,15 @@ "binop": null, "updateContext": null }, - "start": 55307, - "end": 55308, + "start": 55960, + "end": 55961, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 30 }, "end": { - "line": 1480, + "line": 1481, "column": 31 } } @@ -293820,15 +294140,15 @@ "binop": null }, "value": "len", - "start": 55309, - "end": 55312, + "start": 55962, + "end": 55965, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 32 }, "end": { - "line": 1480, + "line": 1481, "column": 35 } } @@ -293847,15 +294167,15 @@ "updateContext": null }, "value": "=", - "start": 55313, - "end": 55314, + "start": 55966, + "end": 55967, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 36 }, "end": { - "line": 1480, + "line": 1481, "column": 37 } } @@ -293873,15 +294193,15 @@ "binop": null }, "value": "positions", - "start": 55315, - "end": 55324, + "start": 55968, + "end": 55977, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 38 }, "end": { - "line": 1480, + "line": 1481, "column": 47 } } @@ -293899,15 +294219,15 @@ "binop": null, "updateContext": null }, - "start": 55324, - "end": 55325, + "start": 55977, + "end": 55978, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 47 }, "end": { - "line": 1480, + "line": 1481, "column": 48 } } @@ -293925,15 +294245,15 @@ "binop": null }, "value": "length", - "start": 55325, - "end": 55331, + "start": 55978, + "end": 55984, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 48 }, "end": { - "line": 1480, + "line": 1481, "column": 54 } } @@ -293951,15 +294271,15 @@ "binop": null, "updateContext": null }, - "start": 55331, - "end": 55332, + "start": 55984, + "end": 55985, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 54 }, "end": { - "line": 1480, + "line": 1481, "column": 55 } } @@ -293977,15 +294297,15 @@ "binop": null }, "value": "i", - "start": 55333, - "end": 55334, + "start": 55986, + "end": 55987, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 56 }, "end": { - "line": 1480, + "line": 1481, "column": 57 } } @@ -294004,15 +294324,15 @@ "updateContext": null }, "value": "<", - "start": 55335, - "end": 55336, + "start": 55988, + "end": 55989, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 58 }, "end": { - "line": 1480, + "line": 1481, "column": 59 } } @@ -294030,15 +294350,15 @@ "binop": null }, "value": "len", - "start": 55337, - "end": 55340, + "start": 55990, + "end": 55993, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 60 }, "end": { - "line": 1480, + "line": 1481, "column": 63 } } @@ -294056,15 +294376,15 @@ "binop": null, "updateContext": null }, - "start": 55340, - "end": 55341, + "start": 55993, + "end": 55994, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 63 }, "end": { - "line": 1480, + "line": 1481, "column": 64 } } @@ -294082,15 +294402,15 @@ "binop": null }, "value": "i", - "start": 55342, - "end": 55343, + "start": 55995, + "end": 55996, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 65 }, "end": { - "line": 1480, + "line": 1481, "column": 66 } } @@ -294109,15 +294429,15 @@ "updateContext": null }, "value": "+=", - "start": 55344, - "end": 55346, + "start": 55997, + "end": 55999, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 67 }, "end": { - "line": 1480, + "line": 1481, "column": 69 } } @@ -294136,15 +294456,15 @@ "updateContext": null }, "value": 3, - "start": 55347, - "end": 55348, + "start": 56000, + "end": 56001, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 70 }, "end": { - "line": 1480, + "line": 1481, "column": 71 } } @@ -294161,15 +294481,15 @@ "postfix": false, "binop": null }, - "start": 55348, - "end": 55349, + "start": 56001, + "end": 56002, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 71 }, "end": { - "line": 1480, + "line": 1481, "column": 72 } } @@ -294186,15 +294506,15 @@ "postfix": false, "binop": null }, - "start": 55350, - "end": 55351, + "start": 56003, + "end": 56004, "loc": { "start": { - "line": 1480, + "line": 1481, "column": 73 }, "end": { - "line": 1480, + "line": 1481, "column": 74 } } @@ -294212,15 +294532,15 @@ "binop": null }, "value": "tempVec3a", - "start": 55373, - "end": 55382, + "start": 56026, + "end": 56035, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 20 }, "end": { - "line": 1482, + "line": 1483, "column": 29 } } @@ -294238,15 +294558,15 @@ "binop": null, "updateContext": null }, - "start": 55382, - "end": 55383, + "start": 56035, + "end": 56036, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 29 }, "end": { - "line": 1482, + "line": 1483, "column": 30 } } @@ -294265,15 +294585,15 @@ "updateContext": null }, "value": 0, - "start": 55383, - "end": 55384, + "start": 56036, + "end": 56037, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 30 }, "end": { - "line": 1482, + "line": 1483, "column": 31 } } @@ -294291,15 +294611,15 @@ "binop": null, "updateContext": null }, - "start": 55384, - "end": 55385, + "start": 56037, + "end": 56038, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 31 }, "end": { - "line": 1482, + "line": 1483, "column": 32 } } @@ -294318,15 +294638,15 @@ "updateContext": null }, "value": "=", - "start": 55386, - "end": 55387, + "start": 56039, + "end": 56040, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 33 }, "end": { - "line": 1482, + "line": 1483, "column": 34 } } @@ -294344,15 +294664,15 @@ "binop": null }, "value": "positions", - "start": 55388, - "end": 55397, + "start": 56041, + "end": 56050, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 35 }, "end": { - "line": 1482, + "line": 1483, "column": 44 } } @@ -294370,15 +294690,15 @@ "binop": null, "updateContext": null }, - "start": 55397, - "end": 55398, + "start": 56050, + "end": 56051, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 44 }, "end": { - "line": 1482, + "line": 1483, "column": 45 } } @@ -294396,15 +294716,15 @@ "binop": null }, "value": "i", - "start": 55398, - "end": 55399, + "start": 56051, + "end": 56052, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 45 }, "end": { - "line": 1482, + "line": 1483, "column": 46 } } @@ -294422,15 +294742,15 @@ "binop": null, "updateContext": null }, - "start": 55399, - "end": 55400, + "start": 56052, + "end": 56053, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 46 }, "end": { - "line": 1482, + "line": 1483, "column": 47 } } @@ -294448,15 +294768,15 @@ "binop": null, "updateContext": null }, - "start": 55400, - "end": 55401, + "start": 56053, + "end": 56054, "loc": { "start": { - "line": 1482, + "line": 1483, "column": 47 }, "end": { - "line": 1482, + "line": 1483, "column": 48 } } @@ -294474,15 +294794,15 @@ "binop": null }, "value": "tempVec3a", - "start": 55422, - "end": 55431, + "start": 56075, + "end": 56084, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 20 }, "end": { - "line": 1483, + "line": 1484, "column": 29 } } @@ -294500,15 +294820,15 @@ "binop": null, "updateContext": null }, - "start": 55431, - "end": 55432, + "start": 56084, + "end": 56085, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 29 }, "end": { - "line": 1483, + "line": 1484, "column": 30 } } @@ -294527,15 +294847,15 @@ "updateContext": null }, "value": 1, - "start": 55432, - "end": 55433, + "start": 56085, + "end": 56086, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 30 }, "end": { - "line": 1483, + "line": 1484, "column": 31 } } @@ -294553,15 +294873,15 @@ "binop": null, "updateContext": null }, - "start": 55433, - "end": 55434, + "start": 56086, + "end": 56087, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 31 }, "end": { - "line": 1483, + "line": 1484, "column": 32 } } @@ -294580,15 +294900,15 @@ "updateContext": null }, "value": "=", - "start": 55435, - "end": 55436, + "start": 56088, + "end": 56089, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 33 }, "end": { - "line": 1483, + "line": 1484, "column": 34 } } @@ -294606,15 +294926,15 @@ "binop": null }, "value": "positions", - "start": 55437, - "end": 55446, + "start": 56090, + "end": 56099, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 35 }, "end": { - "line": 1483, + "line": 1484, "column": 44 } } @@ -294632,15 +294952,15 @@ "binop": null, "updateContext": null }, - "start": 55446, - "end": 55447, + "start": 56099, + "end": 56100, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 44 }, "end": { - "line": 1483, + "line": 1484, "column": 45 } } @@ -294658,15 +294978,15 @@ "binop": null }, "value": "i", - "start": 55447, - "end": 55448, + "start": 56100, + "end": 56101, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 45 }, "end": { - "line": 1483, + "line": 1484, "column": 46 } } @@ -294685,15 +295005,15 @@ "updateContext": null }, "value": "+", - "start": 55449, - "end": 55450, + "start": 56102, + "end": 56103, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 47 }, "end": { - "line": 1483, + "line": 1484, "column": 48 } } @@ -294712,15 +295032,15 @@ "updateContext": null }, "value": 1, - "start": 55451, - "end": 55452, + "start": 56104, + "end": 56105, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 49 }, "end": { - "line": 1483, + "line": 1484, "column": 50 } } @@ -294738,15 +295058,15 @@ "binop": null, "updateContext": null }, - "start": 55452, - "end": 55453, + "start": 56105, + "end": 56106, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 50 }, "end": { - "line": 1483, + "line": 1484, "column": 51 } } @@ -294764,15 +295084,15 @@ "binop": null, "updateContext": null }, - "start": 55453, - "end": 55454, + "start": 56106, + "end": 56107, "loc": { "start": { - "line": 1483, + "line": 1484, "column": 51 }, "end": { - "line": 1483, + "line": 1484, "column": 52 } } @@ -294790,15 +295110,15 @@ "binop": null }, "value": "tempVec3a", - "start": 55475, - "end": 55484, + "start": 56128, + "end": 56137, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 20 }, "end": { - "line": 1484, + "line": 1485, "column": 29 } } @@ -294816,15 +295136,15 @@ "binop": null, "updateContext": null }, - "start": 55484, - "end": 55485, + "start": 56137, + "end": 56138, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 29 }, "end": { - "line": 1484, + "line": 1485, "column": 30 } } @@ -294843,15 +295163,15 @@ "updateContext": null }, "value": 2, - "start": 55485, - "end": 55486, + "start": 56138, + "end": 56139, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 30 }, "end": { - "line": 1484, + "line": 1485, "column": 31 } } @@ -294869,15 +295189,15 @@ "binop": null, "updateContext": null }, - "start": 55486, - "end": 55487, + "start": 56139, + "end": 56140, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 31 }, "end": { - "line": 1484, + "line": 1485, "column": 32 } } @@ -294896,15 +295216,15 @@ "updateContext": null }, "value": "=", - "start": 55488, - "end": 55489, + "start": 56141, + "end": 56142, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 33 }, "end": { - "line": 1484, + "line": 1485, "column": 34 } } @@ -294922,15 +295242,15 @@ "binop": null }, "value": "positions", - "start": 55490, - "end": 55499, + "start": 56143, + "end": 56152, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 35 }, "end": { - "line": 1484, + "line": 1485, "column": 44 } } @@ -294948,15 +295268,15 @@ "binop": null, "updateContext": null }, - "start": 55499, - "end": 55500, + "start": 56152, + "end": 56153, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 44 }, "end": { - "line": 1484, + "line": 1485, "column": 45 } } @@ -294974,15 +295294,15 @@ "binop": null }, "value": "i", - "start": 55500, - "end": 55501, + "start": 56153, + "end": 56154, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 45 }, "end": { - "line": 1484, + "line": 1485, "column": 46 } } @@ -295001,15 +295321,15 @@ "updateContext": null }, "value": "+", - "start": 55502, - "end": 55503, + "start": 56155, + "end": 56156, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 47 }, "end": { - "line": 1484, + "line": 1485, "column": 48 } } @@ -295028,15 +295348,15 @@ "updateContext": null }, "value": 2, - "start": 55504, - "end": 55505, + "start": 56157, + "end": 56158, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 49 }, "end": { - "line": 1484, + "line": 1485, "column": 50 } } @@ -295054,15 +295374,15 @@ "binop": null, "updateContext": null }, - "start": 55505, - "end": 55506, + "start": 56158, + "end": 56159, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 50 }, "end": { - "line": 1484, + "line": 1485, "column": 51 } } @@ -295080,15 +295400,15 @@ "binop": null, "updateContext": null }, - "start": 55506, - "end": 55507, + "start": 56159, + "end": 56160, "loc": { "start": { - "line": 1484, + "line": 1485, "column": 51 }, "end": { - "line": 1484, + "line": 1485, "column": 52 } } @@ -295106,15 +295426,15 @@ "binop": null }, "value": "math", - "start": 55529, - "end": 55533, + "start": 56182, + "end": 56186, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 20 }, "end": { - "line": 1486, + "line": 1487, "column": 24 } } @@ -295132,15 +295452,15 @@ "binop": null, "updateContext": null }, - "start": 55533, - "end": 55534, + "start": 56186, + "end": 56187, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 24 }, "end": { - "line": 1486, + "line": 1487, "column": 25 } } @@ -295158,15 +295478,15 @@ "binop": null }, "value": "expandAABB3Point3", - "start": 55534, - "end": 55551, + "start": 56187, + "end": 56204, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 25 }, "end": { - "line": 1486, + "line": 1487, "column": 42 } } @@ -295183,15 +295503,15 @@ "postfix": false, "binop": null }, - "start": 55551, - "end": 55552, + "start": 56204, + "end": 56205, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 42 }, "end": { - "line": 1486, + "line": 1487, "column": 43 } } @@ -295209,15 +295529,15 @@ "binop": null }, "value": "reusedGeometriesAABB", - "start": 55552, - "end": 55572, + "start": 56205, + "end": 56225, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 43 }, "end": { - "line": 1486, + "line": 1487, "column": 63 } } @@ -295235,15 +295555,15 @@ "binop": null, "updateContext": null }, - "start": 55572, - "end": 55573, + "start": 56225, + "end": 56226, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 63 }, "end": { - "line": 1486, + "line": 1487, "column": 64 } } @@ -295261,15 +295581,15 @@ "binop": null }, "value": "tempVec3a", - "start": 55574, - "end": 55583, + "start": 56227, + "end": 56236, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 65 }, "end": { - "line": 1486, + "line": 1487, "column": 74 } } @@ -295286,15 +295606,15 @@ "postfix": false, "binop": null }, - "start": 55583, - "end": 55584, + "start": 56236, + "end": 56237, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 74 }, "end": { - "line": 1486, + "line": 1487, "column": 75 } } @@ -295312,15 +295632,15 @@ "binop": null, "updateContext": null }, - "start": 55584, - "end": 55585, + "start": 56237, + "end": 56238, "loc": { "start": { - "line": 1486, + "line": 1487, "column": 75 }, "end": { - "line": 1486, + "line": 1487, "column": 76 } } @@ -295337,15 +295657,15 @@ "postfix": false, "binop": null }, - "start": 55602, - "end": 55603, + "start": 56255, + "end": 56256, "loc": { "start": { - "line": 1487, + "line": 1488, "column": 16 }, "end": { - "line": 1487, + "line": 1488, "column": 17 } } @@ -295363,15 +295683,15 @@ "binop": null }, "value": "countReusedGeometries", - "start": 55621, - "end": 55642, + "start": 56274, + "end": 56295, "loc": { "start": { - "line": 1489, + "line": 1490, "column": 16 }, "end": { - "line": 1489, + "line": 1490, "column": 37 } } @@ -295389,15 +295709,15 @@ "binop": null }, "value": "++", - "start": 55642, - "end": 55644, + "start": 56295, + "end": 56297, "loc": { "start": { - "line": 1489, + "line": 1490, "column": 37 }, "end": { - "line": 1489, + "line": 1490, "column": 39 } } @@ -295415,15 +295735,15 @@ "binop": null, "updateContext": null }, - "start": 55644, - "end": 55645, + "start": 56297, + "end": 56298, "loc": { "start": { - "line": 1489, + "line": 1490, "column": 39 }, "end": { - "line": 1489, + "line": 1490, "column": 40 } } @@ -295440,15 +295760,15 @@ "postfix": false, "binop": null }, - "start": 55658, - "end": 55659, + "start": 56311, + "end": 56312, "loc": { "start": { - "line": 1490, + "line": 1491, "column": 12 }, "end": { - "line": 1490, + "line": 1491, "column": 13 } } @@ -295465,15 +295785,15 @@ "postfix": false, "binop": null }, - "start": 55668, - "end": 55669, + "start": 56321, + "end": 56322, "loc": { "start": { - "line": 1491, + "line": 1492, "column": 8 }, "end": { - "line": 1491, + "line": 1492, "column": 9 } } @@ -295493,15 +295813,15 @@ "updateContext": null }, "value": "if", - "start": 55679, - "end": 55681, + "start": 56332, + "end": 56334, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 8 }, "end": { - "line": 1493, + "line": 1494, "column": 10 } } @@ -295518,15 +295838,15 @@ "postfix": false, "binop": null }, - "start": 55682, - "end": 55683, + "start": 56335, + "end": 56336, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 11 }, "end": { - "line": 1493, + "line": 1494, "column": 12 } } @@ -295544,15 +295864,15 @@ "binop": null }, "value": "countReusedGeometries", - "start": 55683, - "end": 55704, + "start": 56336, + "end": 56357, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 12 }, "end": { - "line": 1493, + "line": 1494, "column": 33 } } @@ -295571,15 +295891,15 @@ "updateContext": null }, "value": ">", - "start": 55705, - "end": 55706, + "start": 56358, + "end": 56359, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 34 }, "end": { - "line": 1493, + "line": 1494, "column": 35 } } @@ -295598,15 +295918,15 @@ "updateContext": null }, "value": 0, - "start": 55707, - "end": 55708, + "start": 56360, + "end": 56361, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 36 }, "end": { - "line": 1493, + "line": 1494, "column": 37 } } @@ -295623,15 +295943,15 @@ "postfix": false, "binop": null }, - "start": 55708, - "end": 55709, + "start": 56361, + "end": 56362, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 37 }, "end": { - "line": 1493, + "line": 1494, "column": 38 } } @@ -295648,15 +295968,15 @@ "postfix": false, "binop": null }, - "start": 55710, - "end": 55711, + "start": 56363, + "end": 56364, "loc": { "start": { - "line": 1493, + "line": 1494, "column": 39 }, "end": { - "line": 1493, + "line": 1494, "column": 40 } } @@ -295674,15 +295994,15 @@ "binop": null }, "value": "geometryCompression", - "start": 55725, - "end": 55744, + "start": 56378, + "end": 56397, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 12 }, "end": { - "line": 1495, + "line": 1496, "column": 31 } } @@ -295700,15 +296020,15 @@ "binop": null, "updateContext": null }, - "start": 55744, - "end": 55745, + "start": 56397, + "end": 56398, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 31 }, "end": { - "line": 1495, + "line": 1496, "column": 32 } } @@ -295726,15 +296046,15 @@ "binop": null }, "value": "createPositionsDecodeMatrix", - "start": 55745, - "end": 55772, + "start": 56398, + "end": 56425, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 32 }, "end": { - "line": 1495, + "line": 1496, "column": 59 } } @@ -295751,15 +296071,15 @@ "postfix": false, "binop": null }, - "start": 55772, - "end": 55773, + "start": 56425, + "end": 56426, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 59 }, "end": { - "line": 1495, + "line": 1496, "column": 60 } } @@ -295777,15 +296097,15 @@ "binop": null }, "value": "reusedGeometriesAABB", - "start": 55773, - "end": 55793, + "start": 56426, + "end": 56446, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 60 }, "end": { - "line": 1495, + "line": 1496, "column": 80 } } @@ -295803,15 +296123,15 @@ "binop": null, "updateContext": null }, - "start": 55793, - "end": 55794, + "start": 56446, + "end": 56447, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 80 }, "end": { - "line": 1495, + "line": 1496, "column": 81 } } @@ -295831,15 +296151,15 @@ "updateContext": null }, "value": "this", - "start": 55795, - "end": 55799, + "start": 56448, + "end": 56452, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 82 }, "end": { - "line": 1495, + "line": 1496, "column": 86 } } @@ -295857,15 +296177,15 @@ "binop": null, "updateContext": null }, - "start": 55799, - "end": 55800, + "start": 56452, + "end": 56453, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 86 }, "end": { - "line": 1495, + "line": 1496, "column": 87 } } @@ -295883,15 +296203,15 @@ "binop": null }, "value": "reusedGeometriesDecodeMatrix", - "start": 55800, - "end": 55828, + "start": 56453, + "end": 56481, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 87 }, "end": { - "line": 1495, + "line": 1496, "column": 115 } } @@ -295908,15 +296228,15 @@ "postfix": false, "binop": null }, - "start": 55828, - "end": 55829, + "start": 56481, + "end": 56482, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 115 }, "end": { - "line": 1495, + "line": 1496, "column": 116 } } @@ -295934,15 +296254,15 @@ "binop": null, "updateContext": null }, - "start": 55829, - "end": 55830, + "start": 56482, + "end": 56483, "loc": { "start": { - "line": 1495, + "line": 1496, "column": 116 }, "end": { - "line": 1495, + "line": 1496, "column": 117 } } @@ -295962,15 +296282,15 @@ "updateContext": null }, "value": "for", - "start": 55844, - "end": 55847, + "start": 56497, + "end": 56500, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 12 }, "end": { - "line": 1497, + "line": 1498, "column": 15 } } @@ -295987,15 +296307,15 @@ "postfix": false, "binop": null }, - "start": 55848, - "end": 55849, + "start": 56501, + "end": 56502, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 16 }, "end": { - "line": 1497, + "line": 1498, "column": 17 } } @@ -296015,15 +296335,15 @@ "updateContext": null }, "value": "let", - "start": 55849, - "end": 55852, + "start": 56502, + "end": 56505, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 17 }, "end": { - "line": 1497, + "line": 1498, "column": 20 } } @@ -296041,15 +296361,15 @@ "binop": null }, "value": "geometryIndex", - "start": 55853, - "end": 55866, + "start": 56506, + "end": 56519, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 21 }, "end": { - "line": 1497, + "line": 1498, "column": 34 } } @@ -296068,15 +296388,15 @@ "updateContext": null }, "value": "=", - "start": 55867, - "end": 55868, + "start": 56520, + "end": 56521, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 35 }, "end": { - "line": 1497, + "line": 1498, "column": 36 } } @@ -296095,15 +296415,15 @@ "updateContext": null }, "value": 0, - "start": 55869, - "end": 55870, + "start": 56522, + "end": 56523, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 37 }, "end": { - "line": 1497, + "line": 1498, "column": 38 } } @@ -296121,15 +296441,15 @@ "binop": null, "updateContext": null }, - "start": 55870, - "end": 55871, + "start": 56523, + "end": 56524, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 38 }, "end": { - "line": 1497, + "line": 1498, "column": 39 } } @@ -296147,15 +296467,15 @@ "binop": null }, "value": "numGeometries", - "start": 55872, - "end": 55885, + "start": 56525, + "end": 56538, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 40 }, "end": { - "line": 1497, + "line": 1498, "column": 53 } } @@ -296174,15 +296494,15 @@ "updateContext": null }, "value": "=", - "start": 55886, - "end": 55887, + "start": 56539, + "end": 56540, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 54 }, "end": { - "line": 1497, + "line": 1498, "column": 55 } } @@ -296202,15 +296522,15 @@ "updateContext": null }, "value": "this", - "start": 55888, - "end": 55892, + "start": 56541, + "end": 56545, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 56 }, "end": { - "line": 1497, + "line": 1498, "column": 60 } } @@ -296228,15 +296548,15 @@ "binop": null, "updateContext": null }, - "start": 55892, - "end": 55893, + "start": 56545, + "end": 56546, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 60 }, "end": { - "line": 1497, + "line": 1498, "column": 61 } } @@ -296254,15 +296574,15 @@ "binop": null }, "value": "geometriesList", - "start": 55893, - "end": 55907, + "start": 56546, + "end": 56560, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 61 }, "end": { - "line": 1497, + "line": 1498, "column": 75 } } @@ -296280,15 +296600,15 @@ "binop": null, "updateContext": null }, - "start": 55907, - "end": 55908, + "start": 56560, + "end": 56561, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 75 }, "end": { - "line": 1497, + "line": 1498, "column": 76 } } @@ -296306,15 +296626,15 @@ "binop": null }, "value": "length", - "start": 55908, - "end": 55914, + "start": 56561, + "end": 56567, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 76 }, "end": { - "line": 1497, + "line": 1498, "column": 82 } } @@ -296332,15 +296652,15 @@ "binop": null, "updateContext": null }, - "start": 55914, - "end": 55915, + "start": 56567, + "end": 56568, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 82 }, "end": { - "line": 1497, + "line": 1498, "column": 83 } } @@ -296358,15 +296678,15 @@ "binop": null }, "value": "geometryIndex", - "start": 55916, - "end": 55929, + "start": 56569, + "end": 56582, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 84 }, "end": { - "line": 1497, + "line": 1498, "column": 97 } } @@ -296385,15 +296705,15 @@ "updateContext": null }, "value": "<", - "start": 55930, - "end": 55931, + "start": 56583, + "end": 56584, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 98 }, "end": { - "line": 1497, + "line": 1498, "column": 99 } } @@ -296411,15 +296731,15 @@ "binop": null }, "value": "numGeometries", - "start": 55932, - "end": 55945, + "start": 56585, + "end": 56598, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 100 }, "end": { - "line": 1497, + "line": 1498, "column": 113 } } @@ -296437,15 +296757,15 @@ "binop": null, "updateContext": null }, - "start": 55945, - "end": 55946, + "start": 56598, + "end": 56599, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 113 }, "end": { - "line": 1497, + "line": 1498, "column": 114 } } @@ -296463,15 +296783,15 @@ "binop": null }, "value": "geometryIndex", - "start": 55947, - "end": 55960, + "start": 56600, + "end": 56613, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 115 }, "end": { - "line": 1497, + "line": 1498, "column": 128 } } @@ -296489,15 +296809,15 @@ "binop": null }, "value": "++", - "start": 55960, - "end": 55962, + "start": 56613, + "end": 56615, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 128 }, "end": { - "line": 1497, + "line": 1498, "column": 130 } } @@ -296514,15 +296834,15 @@ "postfix": false, "binop": null }, - "start": 55962, - "end": 55963, + "start": 56615, + "end": 56616, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 130 }, "end": { - "line": 1497, + "line": 1498, "column": 131 } } @@ -296539,15 +296859,15 @@ "postfix": false, "binop": null }, - "start": 55964, - "end": 55965, + "start": 56617, + "end": 56618, "loc": { "start": { - "line": 1497, + "line": 1498, "column": 132 }, "end": { - "line": 1497, + "line": 1498, "column": 133 } } @@ -296567,15 +296887,15 @@ "updateContext": null }, "value": "const", - "start": 55983, - "end": 55988, + "start": 56636, + "end": 56641, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 16 }, "end": { - "line": 1499, + "line": 1500, "column": 21 } } @@ -296593,15 +296913,15 @@ "binop": null }, "value": "geometry", - "start": 55989, - "end": 55997, + "start": 56642, + "end": 56650, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 22 }, "end": { - "line": 1499, + "line": 1500, "column": 30 } } @@ -296620,15 +296940,15 @@ "updateContext": null }, "value": "=", - "start": 55998, - "end": 55999, + "start": 56651, + "end": 56652, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 31 }, "end": { - "line": 1499, + "line": 1500, "column": 32 } } @@ -296648,15 +296968,15 @@ "updateContext": null }, "value": "this", - "start": 56000, - "end": 56004, + "start": 56653, + "end": 56657, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 33 }, "end": { - "line": 1499, + "line": 1500, "column": 37 } } @@ -296674,15 +296994,15 @@ "binop": null, "updateContext": null }, - "start": 56004, - "end": 56005, + "start": 56657, + "end": 56658, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 37 }, "end": { - "line": 1499, + "line": 1500, "column": 38 } } @@ -296700,15 +297020,15 @@ "binop": null }, "value": "geometriesList", - "start": 56005, - "end": 56019, + "start": 56658, + "end": 56672, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 38 }, "end": { - "line": 1499, + "line": 1500, "column": 52 } } @@ -296726,15 +297046,15 @@ "binop": null, "updateContext": null }, - "start": 56020, - "end": 56021, + "start": 56673, + "end": 56674, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 53 }, "end": { - "line": 1499, + "line": 1500, "column": 54 } } @@ -296752,15 +297072,15 @@ "binop": null }, "value": "geometryIndex", - "start": 56021, - "end": 56034, + "start": 56674, + "end": 56687, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 54 }, "end": { - "line": 1499, + "line": 1500, "column": 67 } } @@ -296778,15 +297098,15 @@ "binop": null, "updateContext": null }, - "start": 56034, - "end": 56035, + "start": 56687, + "end": 56688, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 67 }, "end": { - "line": 1499, + "line": 1500, "column": 68 } } @@ -296804,15 +297124,15 @@ "binop": null, "updateContext": null }, - "start": 56035, - "end": 56036, + "start": 56688, + "end": 56689, "loc": { "start": { - "line": 1499, + "line": 1500, "column": 68 }, "end": { - "line": 1499, + "line": 1500, "column": 69 } } @@ -296832,15 +297152,15 @@ "updateContext": null }, "value": "if", - "start": 56054, - "end": 56056, + "start": 56707, + "end": 56709, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 16 }, "end": { - "line": 1501, + "line": 1502, "column": 18 } } @@ -296857,15 +297177,15 @@ "postfix": false, "binop": null }, - "start": 56057, - "end": 56058, + "start": 56710, + "end": 56711, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 19 }, "end": { - "line": 1501, + "line": 1502, "column": 20 } } @@ -296883,15 +297203,15 @@ "binop": null }, "value": "geometry", - "start": 56058, - "end": 56066, + "start": 56711, + "end": 56719, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 20 }, "end": { - "line": 1501, + "line": 1502, "column": 28 } } @@ -296909,15 +297229,15 @@ "binop": null, "updateContext": null }, - "start": 56066, - "end": 56067, + "start": 56719, + "end": 56720, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 28 }, "end": { - "line": 1501, + "line": 1502, "column": 29 } } @@ -296935,15 +297255,15 @@ "binop": null }, "value": "reused", - "start": 56067, - "end": 56073, + "start": 56720, + "end": 56726, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 29 }, "end": { - "line": 1501, + "line": 1502, "column": 35 } } @@ -296960,15 +297280,15 @@ "postfix": false, "binop": null }, - "start": 56073, - "end": 56074, + "start": 56726, + "end": 56727, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 35 }, "end": { - "line": 1501, + "line": 1502, "column": 36 } } @@ -296985,15 +297305,15 @@ "postfix": false, "binop": null }, - "start": 56075, - "end": 56076, + "start": 56728, + "end": 56729, "loc": { "start": { - "line": 1501, + "line": 1502, "column": 37 }, "end": { - "line": 1501, + "line": 1502, "column": 38 } } @@ -297011,15 +297331,15 @@ "binop": null }, "value": "geometryCompression", - "start": 56097, - "end": 56116, + "start": 56750, + "end": 56769, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 20 }, "end": { - "line": 1502, + "line": 1503, "column": 39 } } @@ -297037,15 +297357,15 @@ "binop": null, "updateContext": null }, - "start": 56116, - "end": 56117, + "start": 56769, + "end": 56770, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 39 }, "end": { - "line": 1502, + "line": 1503, "column": 40 } } @@ -297063,15 +297383,15 @@ "binop": null }, "value": "quantizePositions", - "start": 56117, - "end": 56134, + "start": 56770, + "end": 56787, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 40 }, "end": { - "line": 1502, + "line": 1503, "column": 57 } } @@ -297088,15 +297408,15 @@ "postfix": false, "binop": null }, - "start": 56134, - "end": 56135, + "start": 56787, + "end": 56788, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 57 }, "end": { - "line": 1502, + "line": 1503, "column": 58 } } @@ -297114,15 +297434,15 @@ "binop": null }, "value": "geometry", - "start": 56135, - "end": 56143, + "start": 56788, + "end": 56796, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 58 }, "end": { - "line": 1502, + "line": 1503, "column": 66 } } @@ -297140,15 +297460,15 @@ "binop": null, "updateContext": null }, - "start": 56143, - "end": 56144, + "start": 56796, + "end": 56797, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 66 }, "end": { - "line": 1502, + "line": 1503, "column": 67 } } @@ -297166,15 +297486,15 @@ "binop": null }, "value": "positions", - "start": 56144, - "end": 56153, + "start": 56797, + "end": 56806, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 67 }, "end": { - "line": 1502, + "line": 1503, "column": 76 } } @@ -297192,15 +297512,15 @@ "binop": null, "updateContext": null }, - "start": 56153, - "end": 56154, + "start": 56806, + "end": 56807, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 76 }, "end": { - "line": 1502, + "line": 1503, "column": 77 } } @@ -297218,15 +297538,15 @@ "binop": null }, "value": "geometry", - "start": 56155, - "end": 56163, + "start": 56808, + "end": 56816, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 78 }, "end": { - "line": 1502, + "line": 1503, "column": 86 } } @@ -297244,15 +297564,15 @@ "binop": null, "updateContext": null }, - "start": 56163, - "end": 56164, + "start": 56816, + "end": 56817, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 86 }, "end": { - "line": 1502, + "line": 1503, "column": 87 } } @@ -297270,15 +297590,15 @@ "binop": null }, "value": "positions", - "start": 56164, - "end": 56173, + "start": 56817, + "end": 56826, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 87 }, "end": { - "line": 1502, + "line": 1503, "column": 96 } } @@ -297296,15 +297616,15 @@ "binop": null, "updateContext": null }, - "start": 56173, - "end": 56174, + "start": 56826, + "end": 56827, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 96 }, "end": { - "line": 1502, + "line": 1503, "column": 97 } } @@ -297322,15 +297642,15 @@ "binop": null }, "value": "length", - "start": 56174, - "end": 56180, + "start": 56827, + "end": 56833, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 97 }, "end": { - "line": 1502, + "line": 1503, "column": 103 } } @@ -297348,15 +297668,15 @@ "binop": null, "updateContext": null }, - "start": 56180, - "end": 56181, + "start": 56833, + "end": 56834, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 103 }, "end": { - "line": 1502, + "line": 1503, "column": 104 } } @@ -297374,15 +297694,15 @@ "binop": null }, "value": "reusedGeometriesAABB", - "start": 56182, - "end": 56202, + "start": 56835, + "end": 56855, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 105 }, "end": { - "line": 1502, + "line": 1503, "column": 125 } } @@ -297400,15 +297720,15 @@ "binop": null, "updateContext": null }, - "start": 56202, - "end": 56203, + "start": 56855, + "end": 56856, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 125 }, "end": { - "line": 1502, + "line": 1503, "column": 126 } } @@ -297426,15 +297746,15 @@ "binop": null }, "value": "geometry", - "start": 56204, - "end": 56212, + "start": 56857, + "end": 56865, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 127 }, "end": { - "line": 1502, + "line": 1503, "column": 135 } } @@ -297452,15 +297772,15 @@ "binop": null, "updateContext": null }, - "start": 56212, - "end": 56213, + "start": 56865, + "end": 56866, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 135 }, "end": { - "line": 1502, + "line": 1503, "column": 136 } } @@ -297478,15 +297798,15 @@ "binop": null }, "value": "positionsQuantized", - "start": 56213, - "end": 56231, + "start": 56866, + "end": 56884, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 136 }, "end": { - "line": 1502, + "line": 1503, "column": 154 } } @@ -297503,15 +297823,15 @@ "postfix": false, "binop": null }, - "start": 56231, - "end": 56232, + "start": 56884, + "end": 56885, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 154 }, "end": { - "line": 1502, + "line": 1503, "column": 155 } } @@ -297529,15 +297849,15 @@ "binop": null, "updateContext": null }, - "start": 56232, - "end": 56233, + "start": 56885, + "end": 56886, "loc": { "start": { - "line": 1502, + "line": 1503, "column": 155 }, "end": { - "line": 1502, + "line": 1503, "column": 156 } } @@ -297554,15 +297874,15 @@ "postfix": false, "binop": null }, - "start": 56250, - "end": 56251, + "start": 56903, + "end": 56904, "loc": { "start": { - "line": 1503, + "line": 1504, "column": 16 }, "end": { - "line": 1503, + "line": 1504, "column": 17 } } @@ -297579,15 +297899,15 @@ "postfix": false, "binop": null }, - "start": 56264, - "end": 56265, + "start": 56917, + "end": 56918, "loc": { "start": { - "line": 1504, + "line": 1505, "column": 12 }, "end": { - "line": 1504, + "line": 1505, "column": 13 } } @@ -297604,15 +297924,15 @@ "postfix": false, "binop": null }, - "start": 56275, - "end": 56276, + "start": 56928, + "end": 56929, "loc": { "start": { - "line": 1506, + "line": 1507, "column": 8 }, "end": { - "line": 1506, + "line": 1507, "column": 9 } } @@ -297632,15 +297952,15 @@ "updateContext": null }, "value": "else", - "start": 56277, - "end": 56281, + "start": 56930, + "end": 56934, "loc": { "start": { - "line": 1506, + "line": 1507, "column": 10 }, "end": { - "line": 1506, + "line": 1507, "column": 14 } } @@ -297657,15 +297977,15 @@ "postfix": false, "binop": null }, - "start": 56282, - "end": 56283, + "start": 56935, + "end": 56936, "loc": { "start": { - "line": 1506, + "line": 1507, "column": 15 }, "end": { - "line": 1506, + "line": 1507, "column": 16 } } @@ -297683,15 +298003,15 @@ "binop": null }, "value": "math", - "start": 56296, - "end": 56300, + "start": 56949, + "end": 56953, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 12 }, "end": { - "line": 1507, + "line": 1508, "column": 16 } } @@ -297709,15 +298029,15 @@ "binop": null, "updateContext": null }, - "start": 56300, - "end": 56301, + "start": 56953, + "end": 56954, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 16 }, "end": { - "line": 1507, + "line": 1508, "column": 17 } } @@ -297735,15 +298055,15 @@ "binop": null }, "value": "identityMat4", - "start": 56301, - "end": 56313, + "start": 56954, + "end": 56966, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 17 }, "end": { - "line": 1507, + "line": 1508, "column": 29 } } @@ -297760,15 +298080,15 @@ "postfix": false, "binop": null }, - "start": 56313, - "end": 56314, + "start": 56966, + "end": 56967, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 29 }, "end": { - "line": 1507, + "line": 1508, "column": 30 } } @@ -297788,15 +298108,15 @@ "updateContext": null }, "value": "this", - "start": 56314, - "end": 56318, + "start": 56967, + "end": 56971, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 30 }, "end": { - "line": 1507, + "line": 1508, "column": 34 } } @@ -297814,15 +298134,15 @@ "binop": null, "updateContext": null }, - "start": 56318, - "end": 56319, + "start": 56971, + "end": 56972, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 34 }, "end": { - "line": 1507, + "line": 1508, "column": 35 } } @@ -297840,15 +298160,15 @@ "binop": null }, "value": "reusedGeometriesDecodeMatrix", - "start": 56319, - "end": 56347, + "start": 56972, + "end": 57000, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 35 }, "end": { - "line": 1507, + "line": 1508, "column": 63 } } @@ -297865,15 +298185,15 @@ "postfix": false, "binop": null }, - "start": 56347, - "end": 56348, + "start": 57000, + "end": 57001, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 63 }, "end": { - "line": 1507, + "line": 1508, "column": 64 } } @@ -297891,15 +298211,15 @@ "binop": null, "updateContext": null }, - "start": 56348, - "end": 56349, + "start": 57001, + "end": 57002, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 64 }, "end": { - "line": 1507, + "line": 1508, "column": 65 } } @@ -297907,15 +298227,15 @@ { "type": "CommentLine", "value": " No need for this matrix, but we'll be tidy and set it to identity", - "start": 56350, - "end": 56418, + "start": 57003, + "end": 57071, "loc": { "start": { - "line": 1507, + "line": 1508, "column": 66 }, "end": { - "line": 1507, + "line": 1508, "column": 134 } } @@ -297932,15 +298252,15 @@ "postfix": false, "binop": null }, - "start": 56427, - "end": 56428, + "start": 57080, + "end": 57081, "loc": { "start": { - "line": 1508, + "line": 1509, "column": 8 }, "end": { - "line": 1508, + "line": 1509, "column": 9 } } @@ -297957,15 +298277,15 @@ "postfix": false, "binop": null }, - "start": 56433, - "end": 56434, + "start": 57086, + "end": 57087, "loc": { "start": { - "line": 1509, + "line": 1510, "column": 4 }, "end": { - "line": 1509, + "line": 1510, "column": 5 } } @@ -297983,15 +298303,15 @@ "binop": null }, "value": "_flagSolidGeometries", - "start": 56440, - "end": 56460, + "start": 57093, + "end": 57113, "loc": { "start": { - "line": 1511, + "line": 1512, "column": 4 }, "end": { - "line": 1511, + "line": 1512, "column": 24 } } @@ -298008,15 +298328,15 @@ "postfix": false, "binop": null }, - "start": 56460, - "end": 56461, + "start": 57113, + "end": 57114, "loc": { "start": { - "line": 1511, + "line": 1512, "column": 24 }, "end": { - "line": 1511, + "line": 1512, "column": 25 } } @@ -298033,15 +298353,15 @@ "postfix": false, "binop": null }, - "start": 56461, - "end": 56462, + "start": 57114, + "end": 57115, "loc": { "start": { - "line": 1511, + "line": 1512, "column": 25 }, "end": { - "line": 1511, + "line": 1512, "column": 26 } } @@ -298058,15 +298378,15 @@ "postfix": false, "binop": null }, - "start": 56463, - "end": 56464, + "start": 57116, + "end": 57117, "loc": { "start": { - "line": 1511, + "line": 1512, "column": 27 }, "end": { - "line": 1511, + "line": 1512, "column": 28 } } @@ -298086,15 +298406,15 @@ "updateContext": null }, "value": "let", - "start": 56473, - "end": 56476, + "start": 57126, + "end": 57129, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 8 }, "end": { - "line": 1512, + "line": 1513, "column": 11 } } @@ -298112,15 +298432,15 @@ "binop": null }, "value": "maxNumPositions", - "start": 56477, - "end": 56492, + "start": 57130, + "end": 57145, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 12 }, "end": { - "line": 1512, + "line": 1513, "column": 27 } } @@ -298139,15 +298459,15 @@ "updateContext": null }, "value": "=", - "start": 56493, - "end": 56494, + "start": 57146, + "end": 57147, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 28 }, "end": { - "line": 1512, + "line": 1513, "column": 29 } } @@ -298166,15 +298486,15 @@ "updateContext": null }, "value": 0, - "start": 56495, - "end": 56496, + "start": 57148, + "end": 57149, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 30 }, "end": { - "line": 1512, + "line": 1513, "column": 31 } } @@ -298192,15 +298512,15 @@ "binop": null, "updateContext": null }, - "start": 56496, - "end": 56497, + "start": 57149, + "end": 57150, "loc": { "start": { - "line": 1512, + "line": 1513, "column": 31 }, "end": { - "line": 1512, + "line": 1513, "column": 32 } } @@ -298220,15 +298540,15 @@ "updateContext": null }, "value": "let", - "start": 56506, - "end": 56509, + "start": 57159, + "end": 57162, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 8 }, "end": { - "line": 1513, + "line": 1514, "column": 11 } } @@ -298246,15 +298566,15 @@ "binop": null }, "value": "maxNumIndices", - "start": 56510, - "end": 56523, + "start": 57163, + "end": 57176, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 12 }, "end": { - "line": 1513, + "line": 1514, "column": 25 } } @@ -298273,15 +298593,15 @@ "updateContext": null }, "value": "=", - "start": 56524, - "end": 56525, + "start": 57177, + "end": 57178, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 26 }, "end": { - "line": 1513, + "line": 1514, "column": 27 } } @@ -298300,15 +298620,15 @@ "updateContext": null }, "value": 0, - "start": 56526, - "end": 56527, + "start": 57179, + "end": 57180, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 28 }, "end": { - "line": 1513, + "line": 1514, "column": 29 } } @@ -298326,15 +298646,15 @@ "binop": null, "updateContext": null }, - "start": 56527, - "end": 56528, + "start": 57180, + "end": 57181, "loc": { "start": { - "line": 1513, + "line": 1514, "column": 29 }, "end": { - "line": 1513, + "line": 1514, "column": 30 } } @@ -298354,15 +298674,15 @@ "updateContext": null }, "value": "for", - "start": 56537, - "end": 56540, + "start": 57190, + "end": 57193, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 8 }, "end": { - "line": 1514, + "line": 1515, "column": 11 } } @@ -298379,15 +298699,15 @@ "postfix": false, "binop": null }, - "start": 56541, - "end": 56542, + "start": 57194, + "end": 57195, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 12 }, "end": { - "line": 1514, + "line": 1515, "column": 13 } } @@ -298407,15 +298727,15 @@ "updateContext": null }, "value": "let", - "start": 56542, - "end": 56545, + "start": 57195, + "end": 57198, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 13 }, "end": { - "line": 1514, + "line": 1515, "column": 16 } } @@ -298433,15 +298753,15 @@ "binop": null }, "value": "i", - "start": 56546, - "end": 56547, + "start": 57199, + "end": 57200, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 17 }, "end": { - "line": 1514, + "line": 1515, "column": 18 } } @@ -298460,15 +298780,15 @@ "updateContext": null }, "value": "=", - "start": 56548, - "end": 56549, + "start": 57201, + "end": 57202, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 19 }, "end": { - "line": 1514, + "line": 1515, "column": 20 } } @@ -298487,15 +298807,15 @@ "updateContext": null }, "value": 0, - "start": 56550, - "end": 56551, + "start": 57203, + "end": 57204, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 21 }, "end": { - "line": 1514, + "line": 1515, "column": 22 } } @@ -298513,15 +298833,15 @@ "binop": null, "updateContext": null }, - "start": 56551, - "end": 56552, + "start": 57204, + "end": 57205, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 22 }, "end": { - "line": 1514, + "line": 1515, "column": 23 } } @@ -298539,15 +298859,15 @@ "binop": null }, "value": "len", - "start": 56553, - "end": 56556, + "start": 57206, + "end": 57209, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 24 }, "end": { - "line": 1514, + "line": 1515, "column": 27 } } @@ -298566,15 +298886,15 @@ "updateContext": null }, "value": "=", - "start": 56557, - "end": 56558, + "start": 57210, + "end": 57211, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 28 }, "end": { - "line": 1514, + "line": 1515, "column": 29 } } @@ -298594,15 +298914,15 @@ "updateContext": null }, "value": "this", - "start": 56559, - "end": 56563, + "start": 57212, + "end": 57216, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 30 }, "end": { - "line": 1514, + "line": 1515, "column": 34 } } @@ -298620,15 +298940,15 @@ "binop": null, "updateContext": null }, - "start": 56563, - "end": 56564, + "start": 57216, + "end": 57217, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 34 }, "end": { - "line": 1514, + "line": 1515, "column": 35 } } @@ -298646,15 +298966,15 @@ "binop": null }, "value": "geometriesList", - "start": 56564, - "end": 56578, + "start": 57217, + "end": 57231, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 35 }, "end": { - "line": 1514, + "line": 1515, "column": 49 } } @@ -298672,15 +298992,15 @@ "binop": null, "updateContext": null }, - "start": 56578, - "end": 56579, + "start": 57231, + "end": 57232, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 49 }, "end": { - "line": 1514, + "line": 1515, "column": 50 } } @@ -298698,15 +299018,15 @@ "binop": null }, "value": "length", - "start": 56579, - "end": 56585, + "start": 57232, + "end": 57238, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 50 }, "end": { - "line": 1514, + "line": 1515, "column": 56 } } @@ -298724,15 +299044,15 @@ "binop": null, "updateContext": null }, - "start": 56585, - "end": 56586, + "start": 57238, + "end": 57239, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 56 }, "end": { - "line": 1514, + "line": 1515, "column": 57 } } @@ -298750,15 +299070,15 @@ "binop": null }, "value": "i", - "start": 56587, - "end": 56588, + "start": 57240, + "end": 57241, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 58 }, "end": { - "line": 1514, + "line": 1515, "column": 59 } } @@ -298777,15 +299097,15 @@ "updateContext": null }, "value": "<", - "start": 56589, - "end": 56590, + "start": 57242, + "end": 57243, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 60 }, "end": { - "line": 1514, + "line": 1515, "column": 61 } } @@ -298803,15 +299123,15 @@ "binop": null }, "value": "len", - "start": 56591, - "end": 56594, + "start": 57244, + "end": 57247, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 62 }, "end": { - "line": 1514, + "line": 1515, "column": 65 } } @@ -298829,15 +299149,15 @@ "binop": null, "updateContext": null }, - "start": 56594, - "end": 56595, + "start": 57247, + "end": 57248, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 65 }, "end": { - "line": 1514, + "line": 1515, "column": 66 } } @@ -298855,15 +299175,15 @@ "binop": null }, "value": "i", - "start": 56596, - "end": 56597, + "start": 57249, + "end": 57250, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 67 }, "end": { - "line": 1514, + "line": 1515, "column": 68 } } @@ -298881,15 +299201,15 @@ "binop": null }, "value": "++", - "start": 56597, - "end": 56599, + "start": 57250, + "end": 57252, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 68 }, "end": { - "line": 1514, + "line": 1515, "column": 70 } } @@ -298906,15 +299226,15 @@ "postfix": false, "binop": null }, - "start": 56599, - "end": 56600, + "start": 57252, + "end": 57253, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 70 }, "end": { - "line": 1514, + "line": 1515, "column": 71 } } @@ -298931,15 +299251,15 @@ "postfix": false, "binop": null }, - "start": 56601, - "end": 56602, + "start": 57254, + "end": 57255, "loc": { "start": { - "line": 1514, + "line": 1515, "column": 72 }, "end": { - "line": 1514, + "line": 1515, "column": 73 } } @@ -298959,15 +299279,15 @@ "updateContext": null }, "value": "const", - "start": 56615, - "end": 56620, + "start": 57268, + "end": 57273, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 12 }, "end": { - "line": 1515, + "line": 1516, "column": 17 } } @@ -298985,15 +299305,15 @@ "binop": null }, "value": "geometry", - "start": 56621, - "end": 56629, + "start": 57274, + "end": 57282, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 18 }, "end": { - "line": 1515, + "line": 1516, "column": 26 } } @@ -299012,15 +299332,15 @@ "updateContext": null }, "value": "=", - "start": 56630, - "end": 56631, + "start": 57283, + "end": 57284, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 27 }, "end": { - "line": 1515, + "line": 1516, "column": 28 } } @@ -299040,15 +299360,15 @@ "updateContext": null }, "value": "this", - "start": 56632, - "end": 56636, + "start": 57285, + "end": 57289, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 29 }, "end": { - "line": 1515, + "line": 1516, "column": 33 } } @@ -299066,15 +299386,15 @@ "binop": null, "updateContext": null }, - "start": 56636, - "end": 56637, + "start": 57289, + "end": 57290, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 33 }, "end": { - "line": 1515, + "line": 1516, "column": 34 } } @@ -299092,15 +299412,15 @@ "binop": null }, "value": "geometriesList", - "start": 56637, - "end": 56651, + "start": 57290, + "end": 57304, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 34 }, "end": { - "line": 1515, + "line": 1516, "column": 48 } } @@ -299118,15 +299438,15 @@ "binop": null, "updateContext": null }, - "start": 56651, - "end": 56652, + "start": 57304, + "end": 57305, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 48 }, "end": { - "line": 1515, + "line": 1516, "column": 49 } } @@ -299144,15 +299464,15 @@ "binop": null }, "value": "i", - "start": 56652, - "end": 56653, + "start": 57305, + "end": 57306, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 49 }, "end": { - "line": 1515, + "line": 1516, "column": 50 } } @@ -299170,15 +299490,15 @@ "binop": null, "updateContext": null }, - "start": 56653, - "end": 56654, + "start": 57306, + "end": 57307, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 50 }, "end": { - "line": 1515, + "line": 1516, "column": 51 } } @@ -299196,15 +299516,15 @@ "binop": null, "updateContext": null }, - "start": 56654, - "end": 56655, + "start": 57307, + "end": 57308, "loc": { "start": { - "line": 1515, + "line": 1516, "column": 51 }, "end": { - "line": 1515, + "line": 1516, "column": 52 } } @@ -299224,15 +299544,15 @@ "updateContext": null }, "value": "if", - "start": 56668, - "end": 56670, + "start": 57321, + "end": 57323, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 12 }, "end": { - "line": 1516, + "line": 1517, "column": 14 } } @@ -299249,15 +299569,15 @@ "postfix": false, "binop": null }, - "start": 56671, - "end": 56672, + "start": 57324, + "end": 57325, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 15 }, "end": { - "line": 1516, + "line": 1517, "column": 16 } } @@ -299275,15 +299595,15 @@ "binop": null }, "value": "geometry", - "start": 56672, - "end": 56680, + "start": 57325, + "end": 57333, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 16 }, "end": { - "line": 1516, + "line": 1517, "column": 24 } } @@ -299301,15 +299621,15 @@ "binop": null, "updateContext": null }, - "start": 56680, - "end": 56681, + "start": 57333, + "end": 57334, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 24 }, "end": { - "line": 1516, + "line": 1517, "column": 25 } } @@ -299327,15 +299647,15 @@ "binop": null }, "value": "primitiveType", - "start": 56681, - "end": 56694, + "start": 57334, + "end": 57347, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 25 }, "end": { - "line": 1516, + "line": 1517, "column": 38 } } @@ -299354,15 +299674,15 @@ "updateContext": null }, "value": "===", - "start": 56695, - "end": 56698, + "start": 57348, + "end": 57351, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 39 }, "end": { - "line": 1516, + "line": 1517, "column": 42 } } @@ -299381,15 +299701,15 @@ "updateContext": null }, "value": "triangles", - "start": 56699, - "end": 56710, + "start": 57352, + "end": 57363, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 43 }, "end": { - "line": 1516, + "line": 1517, "column": 54 } } @@ -299406,15 +299726,15 @@ "postfix": false, "binop": null }, - "start": 56710, - "end": 56711, + "start": 57363, + "end": 57364, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 54 }, "end": { - "line": 1516, + "line": 1517, "column": 55 } } @@ -299431,15 +299751,15 @@ "postfix": false, "binop": null }, - "start": 56712, - "end": 56713, + "start": 57365, + "end": 57366, "loc": { "start": { - "line": 1516, + "line": 1517, "column": 56 }, "end": { - "line": 1516, + "line": 1517, "column": 57 } } @@ -299459,15 +299779,15 @@ "updateContext": null }, "value": "if", - "start": 56730, - "end": 56732, + "start": 57383, + "end": 57385, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 16 }, "end": { - "line": 1517, + "line": 1518, "column": 18 } } @@ -299484,15 +299804,15 @@ "postfix": false, "binop": null }, - "start": 56733, - "end": 56734, + "start": 57386, + "end": 57387, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 19 }, "end": { - "line": 1517, + "line": 1518, "column": 20 } } @@ -299510,15 +299830,15 @@ "binop": null }, "value": "geometry", - "start": 56734, - "end": 56742, + "start": 57387, + "end": 57395, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 20 }, "end": { - "line": 1517, + "line": 1518, "column": 28 } } @@ -299536,15 +299856,15 @@ "binop": null, "updateContext": null }, - "start": 56742, - "end": 56743, + "start": 57395, + "end": 57396, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 28 }, "end": { - "line": 1517, + "line": 1518, "column": 29 } } @@ -299562,15 +299882,15 @@ "binop": null }, "value": "positionsQuantized", - "start": 56743, - "end": 56761, + "start": 57396, + "end": 57414, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 29 }, "end": { - "line": 1517, + "line": 1518, "column": 47 } } @@ -299588,15 +299908,15 @@ "binop": null, "updateContext": null }, - "start": 56761, - "end": 56762, + "start": 57414, + "end": 57415, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 47 }, "end": { - "line": 1517, + "line": 1518, "column": 48 } } @@ -299614,15 +299934,15 @@ "binop": null }, "value": "length", - "start": 56762, - "end": 56768, + "start": 57415, + "end": 57421, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 48 }, "end": { - "line": 1517, + "line": 1518, "column": 54 } } @@ -299641,15 +299961,15 @@ "updateContext": null }, "value": ">", - "start": 56769, - "end": 56770, + "start": 57422, + "end": 57423, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 55 }, "end": { - "line": 1517, + "line": 1518, "column": 56 } } @@ -299667,15 +299987,15 @@ "binop": null }, "value": "maxNumPositions", - "start": 56771, - "end": 56786, + "start": 57424, + "end": 57439, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 57 }, "end": { - "line": 1517, + "line": 1518, "column": 72 } } @@ -299692,15 +300012,15 @@ "postfix": false, "binop": null }, - "start": 56786, - "end": 56787, + "start": 57439, + "end": 57440, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 72 }, "end": { - "line": 1517, + "line": 1518, "column": 73 } } @@ -299717,15 +300037,15 @@ "postfix": false, "binop": null }, - "start": 56788, - "end": 56789, + "start": 57441, + "end": 57442, "loc": { "start": { - "line": 1517, + "line": 1518, "column": 74 }, "end": { - "line": 1517, + "line": 1518, "column": 75 } } @@ -299743,15 +300063,15 @@ "binop": null }, "value": "maxNumPositions", - "start": 56810, - "end": 56825, + "start": 57463, + "end": 57478, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 20 }, "end": { - "line": 1518, + "line": 1519, "column": 35 } } @@ -299770,15 +300090,15 @@ "updateContext": null }, "value": "=", - "start": 56826, - "end": 56827, + "start": 57479, + "end": 57480, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 36 }, "end": { - "line": 1518, + "line": 1519, "column": 37 } } @@ -299796,15 +300116,15 @@ "binop": null }, "value": "geometry", - "start": 56828, - "end": 56836, + "start": 57481, + "end": 57489, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 38 }, "end": { - "line": 1518, + "line": 1519, "column": 46 } } @@ -299822,15 +300142,15 @@ "binop": null, "updateContext": null }, - "start": 56836, - "end": 56837, + "start": 57489, + "end": 57490, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 46 }, "end": { - "line": 1518, + "line": 1519, "column": 47 } } @@ -299848,15 +300168,15 @@ "binop": null }, "value": "positionsQuantized", - "start": 56837, - "end": 56855, + "start": 57490, + "end": 57508, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 47 }, "end": { - "line": 1518, + "line": 1519, "column": 65 } } @@ -299874,15 +300194,15 @@ "binop": null, "updateContext": null }, - "start": 56855, - "end": 56856, + "start": 57508, + "end": 57509, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 65 }, "end": { - "line": 1518, + "line": 1519, "column": 66 } } @@ -299900,15 +300220,15 @@ "binop": null }, "value": "length", - "start": 56856, - "end": 56862, + "start": 57509, + "end": 57515, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 66 }, "end": { - "line": 1518, + "line": 1519, "column": 72 } } @@ -299926,15 +300246,15 @@ "binop": null, "updateContext": null }, - "start": 56862, - "end": 56863, + "start": 57515, + "end": 57516, "loc": { "start": { - "line": 1518, + "line": 1519, "column": 72 }, "end": { - "line": 1518, + "line": 1519, "column": 73 } } @@ -299951,15 +300271,15 @@ "postfix": false, "binop": null }, - "start": 56880, - "end": 56881, + "start": 57533, + "end": 57534, "loc": { "start": { - "line": 1519, + "line": 1520, "column": 16 }, "end": { - "line": 1519, + "line": 1520, "column": 17 } } @@ -299979,15 +300299,15 @@ "updateContext": null }, "value": "if", - "start": 56898, - "end": 56900, + "start": 57551, + "end": 57553, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 16 }, "end": { - "line": 1520, + "line": 1521, "column": 18 } } @@ -300004,15 +300324,15 @@ "postfix": false, "binop": null }, - "start": 56901, - "end": 56902, + "start": 57554, + "end": 57555, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 19 }, "end": { - "line": 1520, + "line": 1521, "column": 20 } } @@ -300030,15 +300350,15 @@ "binop": null }, "value": "geometry", - "start": 56902, - "end": 56910, + "start": 57555, + "end": 57563, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 20 }, "end": { - "line": 1520, + "line": 1521, "column": 28 } } @@ -300056,15 +300376,15 @@ "binop": null, "updateContext": null }, - "start": 56910, - "end": 56911, + "start": 57563, + "end": 57564, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 28 }, "end": { - "line": 1520, + "line": 1521, "column": 29 } } @@ -300082,15 +300402,15 @@ "binop": null }, "value": "indices", - "start": 56911, - "end": 56918, + "start": 57564, + "end": 57571, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 29 }, "end": { - "line": 1520, + "line": 1521, "column": 36 } } @@ -300108,15 +300428,15 @@ "binop": null, "updateContext": null }, - "start": 56918, - "end": 56919, + "start": 57571, + "end": 57572, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 36 }, "end": { - "line": 1520, + "line": 1521, "column": 37 } } @@ -300134,15 +300454,15 @@ "binop": null }, "value": "length", - "start": 56919, - "end": 56925, + "start": 57572, + "end": 57578, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 37 }, "end": { - "line": 1520, + "line": 1521, "column": 43 } } @@ -300161,15 +300481,15 @@ "updateContext": null }, "value": ">", - "start": 56926, - "end": 56927, + "start": 57579, + "end": 57580, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 44 }, "end": { - "line": 1520, + "line": 1521, "column": 45 } } @@ -300187,15 +300507,15 @@ "binop": null }, "value": "maxNumIndices", - "start": 56928, - "end": 56941, + "start": 57581, + "end": 57594, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 46 }, "end": { - "line": 1520, + "line": 1521, "column": 59 } } @@ -300212,15 +300532,15 @@ "postfix": false, "binop": null }, - "start": 56941, - "end": 56942, + "start": 57594, + "end": 57595, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 59 }, "end": { - "line": 1520, + "line": 1521, "column": 60 } } @@ -300237,15 +300557,15 @@ "postfix": false, "binop": null }, - "start": 56943, - "end": 56944, + "start": 57596, + "end": 57597, "loc": { "start": { - "line": 1520, + "line": 1521, "column": 61 }, "end": { - "line": 1520, + "line": 1521, "column": 62 } } @@ -300263,15 +300583,15 @@ "binop": null }, "value": "maxNumIndices", - "start": 56965, - "end": 56978, + "start": 57618, + "end": 57631, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 20 }, "end": { - "line": 1521, + "line": 1522, "column": 33 } } @@ -300290,15 +300610,15 @@ "updateContext": null }, "value": "=", - "start": 56979, - "end": 56980, + "start": 57632, + "end": 57633, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 34 }, "end": { - "line": 1521, + "line": 1522, "column": 35 } } @@ -300316,15 +300636,15 @@ "binop": null }, "value": "geometry", - "start": 56981, - "end": 56989, + "start": 57634, + "end": 57642, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 36 }, "end": { - "line": 1521, + "line": 1522, "column": 44 } } @@ -300342,15 +300662,15 @@ "binop": null, "updateContext": null }, - "start": 56989, - "end": 56990, + "start": 57642, + "end": 57643, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 44 }, "end": { - "line": 1521, + "line": 1522, "column": 45 } } @@ -300368,15 +300688,15 @@ "binop": null }, "value": "indices", - "start": 56990, - "end": 56997, + "start": 57643, + "end": 57650, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 45 }, "end": { - "line": 1521, + "line": 1522, "column": 52 } } @@ -300394,15 +300714,15 @@ "binop": null, "updateContext": null }, - "start": 56997, - "end": 56998, + "start": 57650, + "end": 57651, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 52 }, "end": { - "line": 1521, + "line": 1522, "column": 53 } } @@ -300420,15 +300740,15 @@ "binop": null }, "value": "length", - "start": 56998, - "end": 57004, + "start": 57651, + "end": 57657, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 53 }, "end": { - "line": 1521, + "line": 1522, "column": 59 } } @@ -300446,15 +300766,15 @@ "binop": null, "updateContext": null }, - "start": 57004, - "end": 57005, + "start": 57657, + "end": 57658, "loc": { "start": { - "line": 1521, + "line": 1522, "column": 59 }, "end": { - "line": 1521, + "line": 1522, "column": 60 } } @@ -300471,15 +300791,15 @@ "postfix": false, "binop": null }, - "start": 57022, - "end": 57023, + "start": 57675, + "end": 57676, "loc": { "start": { - "line": 1522, + "line": 1523, "column": 16 }, "end": { - "line": 1522, + "line": 1523, "column": 17 } } @@ -300496,15 +300816,15 @@ "postfix": false, "binop": null }, - "start": 57036, - "end": 57037, + "start": 57689, + "end": 57690, "loc": { "start": { - "line": 1523, + "line": 1524, "column": 12 }, "end": { - "line": 1523, + "line": 1524, "column": 13 } } @@ -300521,15 +300841,15 @@ "postfix": false, "binop": null }, - "start": 57046, - "end": 57047, + "start": 57699, + "end": 57700, "loc": { "start": { - "line": 1524, + "line": 1525, "column": 8 }, "end": { - "line": 1524, + "line": 1525, "column": 9 } } @@ -300549,15 +300869,15 @@ "updateContext": null }, "value": "let", - "start": 57056, - "end": 57059, + "start": 57709, + "end": 57712, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 8 }, "end": { - "line": 1525, + "line": 1526, "column": 11 } } @@ -300575,15 +300895,15 @@ "binop": null }, "value": "vertexIndexMapping", - "start": 57060, - "end": 57078, + "start": 57713, + "end": 57731, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 12 }, "end": { - "line": 1525, + "line": 1526, "column": 30 } } @@ -300602,15 +300922,15 @@ "updateContext": null }, "value": "=", - "start": 57079, - "end": 57080, + "start": 57732, + "end": 57733, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 31 }, "end": { - "line": 1525, + "line": 1526, "column": 32 } } @@ -300630,15 +300950,15 @@ "updateContext": null }, "value": "new", - "start": 57081, - "end": 57084, + "start": 57734, + "end": 57737, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 33 }, "end": { - "line": 1525, + "line": 1526, "column": 36 } } @@ -300656,15 +300976,15 @@ "binop": null }, "value": "Array", - "start": 57085, - "end": 57090, + "start": 57738, + "end": 57743, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 37 }, "end": { - "line": 1525, + "line": 1526, "column": 42 } } @@ -300681,15 +301001,15 @@ "postfix": false, "binop": null }, - "start": 57090, - "end": 57091, + "start": 57743, + "end": 57744, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 42 }, "end": { - "line": 1525, + "line": 1526, "column": 43 } } @@ -300707,15 +301027,15 @@ "binop": null }, "value": "maxNumPositions", - "start": 57091, - "end": 57106, + "start": 57744, + "end": 57759, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 43 }, "end": { - "line": 1525, + "line": 1526, "column": 58 } } @@ -300734,15 +301054,15 @@ "updateContext": null }, "value": "/", - "start": 57107, - "end": 57108, + "start": 57760, + "end": 57761, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 59 }, "end": { - "line": 1525, + "line": 1526, "column": 60 } } @@ -300761,15 +301081,15 @@ "updateContext": null }, "value": 3, - "start": 57109, - "end": 57110, + "start": 57762, + "end": 57763, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 61 }, "end": { - "line": 1525, + "line": 1526, "column": 62 } } @@ -300786,15 +301106,15 @@ "postfix": false, "binop": null }, - "start": 57110, - "end": 57111, + "start": 57763, + "end": 57764, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 62 }, "end": { - "line": 1525, + "line": 1526, "column": 63 } } @@ -300812,15 +301132,15 @@ "binop": null, "updateContext": null }, - "start": 57111, - "end": 57112, + "start": 57764, + "end": 57765, "loc": { "start": { - "line": 1525, + "line": 1526, "column": 63 }, "end": { - "line": 1525, + "line": 1526, "column": 64 } } @@ -300840,15 +301160,15 @@ "updateContext": null }, "value": "let", - "start": 57121, - "end": 57124, + "start": 57774, + "end": 57777, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 8 }, "end": { - "line": 1526, + "line": 1527, "column": 11 } } @@ -300866,15 +301186,15 @@ "binop": null }, "value": "edges", - "start": 57125, - "end": 57130, + "start": 57778, + "end": 57783, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 12 }, "end": { - "line": 1526, + "line": 1527, "column": 17 } } @@ -300893,15 +301213,15 @@ "updateContext": null }, "value": "=", - "start": 57131, - "end": 57132, + "start": 57784, + "end": 57785, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 18 }, "end": { - "line": 1526, + "line": 1527, "column": 19 } } @@ -300921,15 +301241,15 @@ "updateContext": null }, "value": "new", - "start": 57133, - "end": 57136, + "start": 57786, + "end": 57789, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 20 }, "end": { - "line": 1526, + "line": 1527, "column": 23 } } @@ -300947,15 +301267,15 @@ "binop": null }, "value": "Array", - "start": 57137, - "end": 57142, + "start": 57790, + "end": 57795, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 24 }, "end": { - "line": 1526, + "line": 1527, "column": 29 } } @@ -300972,15 +301292,15 @@ "postfix": false, "binop": null }, - "start": 57142, - "end": 57143, + "start": 57795, + "end": 57796, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 29 }, "end": { - "line": 1526, + "line": 1527, "column": 30 } } @@ -300998,15 +301318,15 @@ "binop": null }, "value": "maxNumIndices", - "start": 57143, - "end": 57156, + "start": 57796, + "end": 57809, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 30 }, "end": { - "line": 1526, + "line": 1527, "column": 43 } } @@ -301023,15 +301343,15 @@ "postfix": false, "binop": null }, - "start": 57156, - "end": 57157, + "start": 57809, + "end": 57810, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 43 }, "end": { - "line": 1526, + "line": 1527, "column": 44 } } @@ -301049,15 +301369,15 @@ "binop": null, "updateContext": null }, - "start": 57157, - "end": 57158, + "start": 57810, + "end": 57811, "loc": { "start": { - "line": 1526, + "line": 1527, "column": 44 }, "end": { - "line": 1526, + "line": 1527, "column": 45 } } @@ -301077,15 +301397,15 @@ "updateContext": null }, "value": "for", - "start": 57167, - "end": 57170, + "start": 57820, + "end": 57823, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 8 }, "end": { - "line": 1527, + "line": 1528, "column": 11 } } @@ -301102,15 +301422,15 @@ "postfix": false, "binop": null }, - "start": 57171, - "end": 57172, + "start": 57824, + "end": 57825, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 12 }, "end": { - "line": 1527, + "line": 1528, "column": 13 } } @@ -301130,15 +301450,15 @@ "updateContext": null }, "value": "let", - "start": 57172, - "end": 57175, + "start": 57825, + "end": 57828, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 13 }, "end": { - "line": 1527, + "line": 1528, "column": 16 } } @@ -301156,15 +301476,15 @@ "binop": null }, "value": "i", - "start": 57176, - "end": 57177, + "start": 57829, + "end": 57830, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 17 }, "end": { - "line": 1527, + "line": 1528, "column": 18 } } @@ -301183,15 +301503,15 @@ "updateContext": null }, "value": "=", - "start": 57178, - "end": 57179, + "start": 57831, + "end": 57832, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 19 }, "end": { - "line": 1527, + "line": 1528, "column": 20 } } @@ -301210,15 +301530,15 @@ "updateContext": null }, "value": 0, - "start": 57180, - "end": 57181, + "start": 57833, + "end": 57834, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 21 }, "end": { - "line": 1527, + "line": 1528, "column": 22 } } @@ -301236,15 +301556,15 @@ "binop": null, "updateContext": null }, - "start": 57181, - "end": 57182, + "start": 57834, + "end": 57835, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 22 }, "end": { - "line": 1527, + "line": 1528, "column": 23 } } @@ -301262,15 +301582,15 @@ "binop": null }, "value": "len", - "start": 57183, - "end": 57186, + "start": 57836, + "end": 57839, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 24 }, "end": { - "line": 1527, + "line": 1528, "column": 27 } } @@ -301289,15 +301609,15 @@ "updateContext": null }, "value": "=", - "start": 57187, - "end": 57188, + "start": 57840, + "end": 57841, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 28 }, "end": { - "line": 1527, + "line": 1528, "column": 29 } } @@ -301317,15 +301637,15 @@ "updateContext": null }, "value": "this", - "start": 57189, - "end": 57193, + "start": 57842, + "end": 57846, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 30 }, "end": { - "line": 1527, + "line": 1528, "column": 34 } } @@ -301343,15 +301663,15 @@ "binop": null, "updateContext": null }, - "start": 57193, - "end": 57194, + "start": 57846, + "end": 57847, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 34 }, "end": { - "line": 1527, + "line": 1528, "column": 35 } } @@ -301369,15 +301689,15 @@ "binop": null }, "value": "geometriesList", - "start": 57194, - "end": 57208, + "start": 57847, + "end": 57861, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 35 }, "end": { - "line": 1527, + "line": 1528, "column": 49 } } @@ -301395,15 +301715,15 @@ "binop": null, "updateContext": null }, - "start": 57208, - "end": 57209, + "start": 57861, + "end": 57862, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 49 }, "end": { - "line": 1527, + "line": 1528, "column": 50 } } @@ -301421,15 +301741,15 @@ "binop": null }, "value": "length", - "start": 57209, - "end": 57215, + "start": 57862, + "end": 57868, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 50 }, "end": { - "line": 1527, + "line": 1528, "column": 56 } } @@ -301447,15 +301767,15 @@ "binop": null, "updateContext": null }, - "start": 57215, - "end": 57216, + "start": 57868, + "end": 57869, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 56 }, "end": { - "line": 1527, + "line": 1528, "column": 57 } } @@ -301473,15 +301793,15 @@ "binop": null }, "value": "i", - "start": 57217, - "end": 57218, + "start": 57870, + "end": 57871, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 58 }, "end": { - "line": 1527, + "line": 1528, "column": 59 } } @@ -301500,15 +301820,15 @@ "updateContext": null }, "value": "<", - "start": 57219, - "end": 57220, + "start": 57872, + "end": 57873, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 60 }, "end": { - "line": 1527, + "line": 1528, "column": 61 } } @@ -301526,15 +301846,15 @@ "binop": null }, "value": "len", - "start": 57221, - "end": 57224, + "start": 57874, + "end": 57877, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 62 }, "end": { - "line": 1527, + "line": 1528, "column": 65 } } @@ -301552,15 +301872,15 @@ "binop": null, "updateContext": null }, - "start": 57224, - "end": 57225, + "start": 57877, + "end": 57878, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 65 }, "end": { - "line": 1527, + "line": 1528, "column": 66 } } @@ -301578,15 +301898,15 @@ "binop": null }, "value": "i", - "start": 57226, - "end": 57227, + "start": 57879, + "end": 57880, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 67 }, "end": { - "line": 1527, + "line": 1528, "column": 68 } } @@ -301604,15 +301924,15 @@ "binop": null }, "value": "++", - "start": 57227, - "end": 57229, + "start": 57880, + "end": 57882, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 68 }, "end": { - "line": 1527, + "line": 1528, "column": 70 } } @@ -301629,15 +301949,15 @@ "postfix": false, "binop": null }, - "start": 57229, - "end": 57230, + "start": 57882, + "end": 57883, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 70 }, "end": { - "line": 1527, + "line": 1528, "column": 71 } } @@ -301654,15 +301974,15 @@ "postfix": false, "binop": null }, - "start": 57231, - "end": 57232, + "start": 57884, + "end": 57885, "loc": { "start": { - "line": 1527, + "line": 1528, "column": 72 }, "end": { - "line": 1527, + "line": 1528, "column": 73 } } @@ -301682,15 +302002,15 @@ "updateContext": null }, "value": "const", - "start": 57245, - "end": 57250, + "start": 57898, + "end": 57903, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 12 }, "end": { - "line": 1528, + "line": 1529, "column": 17 } } @@ -301708,15 +302028,15 @@ "binop": null }, "value": "geometry", - "start": 57251, - "end": 57259, + "start": 57904, + "end": 57912, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 18 }, "end": { - "line": 1528, + "line": 1529, "column": 26 } } @@ -301735,15 +302055,15 @@ "updateContext": null }, "value": "=", - "start": 57260, - "end": 57261, + "start": 57913, + "end": 57914, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 27 }, "end": { - "line": 1528, + "line": 1529, "column": 28 } } @@ -301763,15 +302083,15 @@ "updateContext": null }, "value": "this", - "start": 57262, - "end": 57266, + "start": 57915, + "end": 57919, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 29 }, "end": { - "line": 1528, + "line": 1529, "column": 33 } } @@ -301789,15 +302109,15 @@ "binop": null, "updateContext": null }, - "start": 57266, - "end": 57267, + "start": 57919, + "end": 57920, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 33 }, "end": { - "line": 1528, + "line": 1529, "column": 34 } } @@ -301815,15 +302135,15 @@ "binop": null }, "value": "geometriesList", - "start": 57267, - "end": 57281, + "start": 57920, + "end": 57934, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 34 }, "end": { - "line": 1528, + "line": 1529, "column": 48 } } @@ -301841,15 +302161,15 @@ "binop": null, "updateContext": null }, - "start": 57281, - "end": 57282, + "start": 57934, + "end": 57935, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 48 }, "end": { - "line": 1528, + "line": 1529, "column": 49 } } @@ -301867,15 +302187,15 @@ "binop": null }, "value": "i", - "start": 57282, - "end": 57283, + "start": 57935, + "end": 57936, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 49 }, "end": { - "line": 1528, + "line": 1529, "column": 50 } } @@ -301893,15 +302213,15 @@ "binop": null, "updateContext": null }, - "start": 57283, - "end": 57284, + "start": 57936, + "end": 57937, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 50 }, "end": { - "line": 1528, + "line": 1529, "column": 51 } } @@ -301919,15 +302239,15 @@ "binop": null, "updateContext": null }, - "start": 57284, - "end": 57285, + "start": 57937, + "end": 57938, "loc": { "start": { - "line": 1528, + "line": 1529, "column": 51 }, "end": { - "line": 1528, + "line": 1529, "column": 52 } } @@ -301947,15 +302267,15 @@ "updateContext": null }, "value": "if", - "start": 57298, - "end": 57300, + "start": 57951, + "end": 57953, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 12 }, "end": { - "line": 1529, + "line": 1530, "column": 14 } } @@ -301972,198 +302292,16 @@ "postfix": false, "binop": null }, - "start": 57301, - "end": 57302, + "start": 57954, + "end": 57955, "loc": { "start": { - "line": 1529, + "line": 1530, "column": 15 }, "end": { - "line": 1529, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "geometry", - "start": 57302, - "end": 57310, - "loc": { - "start": { - "line": 1529, + "line": 1530, "column": 16 - }, - "end": { - "line": 1529, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 57310, - "end": 57311, - "loc": { - "start": { - "line": 1529, - "column": 24 - }, - "end": { - "line": 1529, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "primitiveType", - "start": 57311, - "end": 57324, - "loc": { - "start": { - "line": 1529, - "column": 25 - }, - "end": { - "line": 1529, - "column": 38 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 57325, - "end": 57328, - "loc": { - "start": { - "line": 1529, - "column": 39 - }, - "end": { - "line": 1529, - "column": 42 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "triangles", - "start": 57329, - "end": 57340, - "loc": { - "start": { - "line": 1529, - "column": 43 - }, - "end": { - "line": 1529, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 57340, - "end": 57341, - "loc": { - "start": { - "line": 1529, - "column": 54 - }, - "end": { - "line": 1529, - "column": 55 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 57342, - "end": 57343, - "loc": { - "start": { - "line": 1529, - "column": 56 - }, - "end": { - "line": 1529, - "column": 57 } } }, @@ -302180,8 +302318,8 @@ "binop": null }, "value": "geometry", - "start": 57360, - "end": 57368, + "start": 57955, + "end": 57963, "loc": { "start": { "line": 1530, @@ -302206,8 +302344,8 @@ "binop": null, "updateContext": null }, - "start": 57368, - "end": 57369, + "start": 57963, + "end": 57964, "loc": { "start": { "line": 1530, @@ -302231,9 +302369,9 @@ "postfix": false, "binop": null }, - "value": "solid", - "start": 57369, - "end": 57374, + "value": "primitiveType", + "start": 57964, + "end": 57977, "loc": { "start": { "line": 1530, @@ -302241,6 +302379,188 @@ }, "end": { "line": 1530, + "column": 38 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 57978, + "end": 57981, + "loc": { + "start": { + "line": 1530, + "column": 39 + }, + "end": { + "line": 1530, + "column": 42 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "triangles", + "start": 57982, + "end": 57993, + "loc": { + "start": { + "line": 1530, + "column": 43 + }, + "end": { + "line": 1530, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 57993, + "end": 57994, + "loc": { + "start": { + "line": 1530, + "column": 54 + }, + "end": { + "line": 1530, + "column": 55 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 57995, + "end": 57996, + "loc": { + "start": { + "line": 1530, + "column": 56 + }, + "end": { + "line": 1530, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "geometry", + "start": 58013, + "end": 58021, + "loc": { + "start": { + "line": 1531, + "column": 16 + }, + "end": { + "line": 1531, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 58021, + "end": 58022, + "loc": { + "start": { + "line": 1531, + "column": 24 + }, + "end": { + "line": 1531, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "solid", + "start": 58022, + "end": 58027, + "loc": { + "start": { + "line": 1531, + "column": 25 + }, + "end": { + "line": 1531, "column": 30 } } @@ -302259,15 +302579,15 @@ "updateContext": null }, "value": "=", - "start": 57375, - "end": 57376, + "start": 58028, + "end": 58029, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 31 }, "end": { - "line": 1530, + "line": 1531, "column": 32 } } @@ -302285,15 +302605,15 @@ "binop": null }, "value": "isTriangleMeshSolid", - "start": 57377, - "end": 57396, + "start": 58030, + "end": 58049, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 33 }, "end": { - "line": 1530, + "line": 1531, "column": 52 } } @@ -302310,15 +302630,15 @@ "postfix": false, "binop": null }, - "start": 57396, - "end": 57397, + "start": 58049, + "end": 58050, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 52 }, "end": { - "line": 1530, + "line": 1531, "column": 53 } } @@ -302336,15 +302656,15 @@ "binop": null }, "value": "geometry", - "start": 57397, - "end": 57405, + "start": 58050, + "end": 58058, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 53 }, "end": { - "line": 1530, + "line": 1531, "column": 61 } } @@ -302362,15 +302682,15 @@ "binop": null, "updateContext": null }, - "start": 57405, - "end": 57406, + "start": 58058, + "end": 58059, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 61 }, "end": { - "line": 1530, + "line": 1531, "column": 62 } } @@ -302388,15 +302708,15 @@ "binop": null }, "value": "indices", - "start": 57406, - "end": 57413, + "start": 58059, + "end": 58066, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 62 }, "end": { - "line": 1530, + "line": 1531, "column": 69 } } @@ -302414,15 +302734,15 @@ "binop": null, "updateContext": null }, - "start": 57413, - "end": 57414, + "start": 58066, + "end": 58067, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 69 }, "end": { - "line": 1530, + "line": 1531, "column": 70 } } @@ -302440,15 +302760,15 @@ "binop": null }, "value": "geometry", - "start": 57415, - "end": 57423, + "start": 58068, + "end": 58076, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 71 }, "end": { - "line": 1530, + "line": 1531, "column": 79 } } @@ -302466,15 +302786,15 @@ "binop": null, "updateContext": null }, - "start": 57423, - "end": 57424, + "start": 58076, + "end": 58077, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 79 }, "end": { - "line": 1530, + "line": 1531, "column": 80 } } @@ -302492,15 +302812,15 @@ "binop": null }, "value": "positionsQuantized", - "start": 57424, - "end": 57442, + "start": 58077, + "end": 58095, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 80 }, "end": { - "line": 1530, + "line": 1531, "column": 98 } } @@ -302518,15 +302838,15 @@ "binop": null, "updateContext": null }, - "start": 57442, - "end": 57443, + "start": 58095, + "end": 58096, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 98 }, "end": { - "line": 1530, + "line": 1531, "column": 99 } } @@ -302544,15 +302864,15 @@ "binop": null }, "value": "vertexIndexMapping", - "start": 57444, - "end": 57462, + "start": 58097, + "end": 58115, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 100 }, "end": { - "line": 1530, + "line": 1531, "column": 118 } } @@ -302570,15 +302890,15 @@ "binop": null, "updateContext": null }, - "start": 57462, - "end": 57463, + "start": 58115, + "end": 58116, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 118 }, "end": { - "line": 1530, + "line": 1531, "column": 119 } } @@ -302596,15 +302916,15 @@ "binop": null }, "value": "edges", - "start": 57464, - "end": 57469, + "start": 58117, + "end": 58122, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 120 }, "end": { - "line": 1530, + "line": 1531, "column": 125 } } @@ -302621,15 +302941,15 @@ "postfix": false, "binop": null }, - "start": 57469, - "end": 57470, + "start": 58122, + "end": 58123, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 125 }, "end": { - "line": 1530, + "line": 1531, "column": 126 } } @@ -302647,15 +302967,15 @@ "binop": null, "updateContext": null }, - "start": 57470, - "end": 57471, + "start": 58123, + "end": 58124, "loc": { "start": { - "line": 1530, + "line": 1531, "column": 126 }, "end": { - "line": 1530, + "line": 1531, "column": 127 } } @@ -302672,15 +302992,15 @@ "postfix": false, "binop": null }, - "start": 57484, - "end": 57485, + "start": 58137, + "end": 58138, "loc": { "start": { - "line": 1531, + "line": 1532, "column": 12 }, "end": { - "line": 1531, + "line": 1532, "column": 13 } } @@ -302697,15 +303017,15 @@ "postfix": false, "binop": null }, - "start": 57494, - "end": 57495, + "start": 58147, + "end": 58148, "loc": { "start": { - "line": 1532, + "line": 1533, "column": 8 }, "end": { - "line": 1532, + "line": 1533, "column": 9 } } @@ -302722,15 +303042,15 @@ "postfix": false, "binop": null }, - "start": 57500, - "end": 57501, + "start": 58153, + "end": 58154, "loc": { "start": { - "line": 1533, + "line": 1534, "column": 4 }, "end": { - "line": 1533, + "line": 1534, "column": 5 } } @@ -302747,15 +303067,15 @@ "postfix": false, "binop": null }, - "start": 57502, - "end": 57503, + "start": 58155, + "end": 58156, "loc": { "start": { - "line": 1534, + "line": 1535, "column": 0 }, "end": { - "line": 1534, + "line": 1535, "column": 1 } } @@ -302775,15 +303095,15 @@ "updateContext": null }, "value": "export", - "start": 57505, - "end": 57511, + "start": 58158, + "end": 58164, "loc": { "start": { - "line": 1536, + "line": 1537, "column": 0 }, "end": { - "line": 1536, + "line": 1537, "column": 6 } } @@ -302800,15 +303120,15 @@ "postfix": false, "binop": null }, - "start": 57512, - "end": 57513, + "start": 58165, + "end": 58166, "loc": { "start": { - "line": 1536, + "line": 1537, "column": 7 }, "end": { - "line": 1536, + "line": 1537, "column": 8 } } @@ -302826,15 +303146,15 @@ "binop": null }, "value": "XKTModel", - "start": 57518, - "end": 57526, + "start": 58171, + "end": 58179, "loc": { "start": { - "line": 1537, + "line": 1538, "column": 4 }, "end": { - "line": 1537, + "line": 1538, "column": 12 } } @@ -302851,15 +303171,15 @@ "postfix": false, "binop": null }, - "start": 57527, - "end": 57528, + "start": 58180, + "end": 58181, "loc": { "start": { - "line": 1538, + "line": 1539, "column": 0 }, "end": { - "line": 1538, + "line": 1539, "column": 1 } } @@ -302877,15 +303197,15 @@ "binop": null, "updateContext": null }, - "start": 57528, - "end": 57528, + "start": 58181, + "end": 58181, "loc": { "start": { - "line": 1538, + "line": 1539, "column": 1 }, "end": { - "line": 1538, + "line": 1539, "column": 1 } } diff --git a/docs/ast/source/XKTModel/writeXKTModelToArrayBuffer.js.json b/docs/ast/source/XKTModel/writeXKTModelToArrayBuffer.js.json index 67a1425..13ac01f 100644 --- a/docs/ast/source/XKTModel/writeXKTModelToArrayBuffer.js.json +++ b/docs/ast/source/XKTModel/writeXKTModelToArrayBuffer.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 22741, + "end": 26198, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 462, + "line": 566, "column": 36 } }, "program": { "type": "Program", "start": 0, - "end": 22741, + "end": 26198, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 462, + "line": 566, "column": 36 } }, @@ -444,14 +444,14 @@ { "type": "Identifier", "start": 587, - "end": 942, + "end": 1060, "loc": { "start": { "line": 18, "column": 0 }, "end": { - "line": 24, + "line": 27, "column": 1 } }, @@ -549,37 +549,52 @@ "body": { "type": "BlockStatement", "start": 664, - "end": 942, + "end": 1060, "loc": { "start": { "line": 18, "column": 77 }, "end": { - "line": 24, + "line": 27, "column": 1 } }, "body": [ { - "type": "VariableDeclaration", + "type": "IfStatement", "start": 670, - "end": 728, + "end": 783, "loc": { "start": { "line": 19, "column": 4 }, "end": { - "line": 19, - "column": 62 + "line": 21, + "column": 5 } }, - "declarations": [ - { - "type": "VariableDeclarator", + "test": { + "type": "UnaryExpression", + "start": 674, + "end": 687, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 21 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", "start": 676, - "end": 727, + "end": 687, "loc": { "start": { "line": 19, @@ -587,13 +602,13 @@ }, "end": { "line": 19, - "column": 61 + "column": 21 } }, - "id": { + "object": { "type": "Identifier", "start": 676, - "end": 680, + "end": 683, "loc": { "start": { "line": 19, @@ -601,6 +616,195 @@ }, "end": { "line": 19, + "column": 17 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 684, + "end": 687, + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 21 + }, + "identifierName": "zip" + }, + "name": "zip" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 689, + "end": 783, + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 21, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 699, + "end": 777, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 86 + } + }, + "argument": { + "type": "CallExpression", + "start": 706, + "end": 776, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 85 + } + }, + "callee": { + "type": "Identifier", + "start": 706, + "end": 744, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 53 + }, + "identifierName": "writeXKTModelToArrayBufferUncompressed" + }, + "name": "writeXKTModelToArrayBufferUncompressed" + }, + "arguments": [ + { + "type": "Identifier", + "start": 745, + "end": 753, + "loc": { + "start": { + "line": 20, + "column": 54 + }, + "end": { + "line": 20, + "column": 62 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + { + "type": "Identifier", + "start": 755, + "end": 768, + "loc": { + "start": { + "line": 20, + "column": 64 + }, + "end": { + "line": 20, + "column": 77 + }, + "identifierName": "metaModelJSON" + }, + "name": "metaModelJSON" + }, + { + "type": "Identifier", + "start": 770, + "end": 775, + "loc": { + "start": { + "line": 20, + "column": 79 + }, + "end": { + "line": 20, + "column": 84 + }, + "identifierName": "stats" + }, + "name": "stats" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 788, + "end": 846, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 62 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 794, + "end": 845, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 61 + } + }, + "id": { + "type": "Identifier", + "start": 794, + "end": 798, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, "column": 14 }, "identifierName": "data" @@ -609,29 +813,29 @@ }, "init": { "type": "CallExpression", - "start": 683, - "end": 727, + "start": 801, + "end": 845, "loc": { "start": { - "line": 19, + "line": 22, "column": 17 }, "end": { - "line": 19, + "line": 22, "column": 61 } }, "callee": { "type": "Identifier", - "start": 683, - "end": 695, + "start": 801, + "end": 813, "loc": { "start": { - "line": 19, + "line": 22, "column": 17 }, "end": { - "line": 19, + "line": 22, "column": 29 }, "identifierName": "getModelData" @@ -641,15 +845,15 @@ "arguments": [ { "type": "Identifier", - "start": 696, - "end": 704, + "start": 814, + "end": 822, "loc": { "start": { - "line": 19, + "line": 22, "column": 30 }, "end": { - "line": 19, + "line": 22, "column": 38 }, "identifierName": "xktModel" @@ -658,15 +862,15 @@ }, { "type": "Identifier", - "start": 706, - "end": 719, + "start": 824, + "end": 837, "loc": { "start": { - "line": 19, + "line": 22, "column": 40 }, "end": { - "line": 19, + "line": 22, "column": 53 }, "identifierName": "metaModelJSON" @@ -675,15 +879,15 @@ }, { "type": "Identifier", - "start": 721, - "end": 726, + "start": 839, + "end": 844, "loc": { "start": { - "line": 19, + "line": 22, "column": 55 }, "end": { - "line": 19, + "line": 22, "column": 60 }, "identifierName": "stats" @@ -698,44 +902,44 @@ }, { "type": "VariableDeclaration", - "start": 733, - "end": 796, + "start": 851, + "end": 914, "loc": { "start": { - "line": 20, + "line": 23, "column": 4 }, "end": { - "line": 20, + "line": 23, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 739, - "end": 795, + "start": 857, + "end": 913, "loc": { "start": { - "line": 20, + "line": 23, "column": 10 }, "end": { - "line": 20, + "line": 23, "column": 66 } }, "id": { "type": "Identifier", - "start": 739, - "end": 751, + "start": 857, + "end": 869, "loc": { "start": { - "line": 20, + "line": 23, "column": 10 }, "end": { - "line": 20, + "line": 23, "column": 22 }, "identifierName": "deflatedData" @@ -744,29 +948,29 @@ }, "init": { "type": "CallExpression", - "start": 754, - "end": 795, + "start": 872, + "end": 913, "loc": { "start": { - "line": 20, + "line": 23, "column": 25 }, "end": { - "line": 20, + "line": 23, "column": 66 } }, "callee": { "type": "Identifier", - "start": 754, - "end": 765, + "start": 872, + "end": 883, "loc": { "start": { - "line": 20, + "line": 23, "column": 25 }, "end": { - "line": 20, + "line": 23, "column": 36 }, "identifierName": "deflateData" @@ -776,15 +980,15 @@ "arguments": [ { "type": "Identifier", - "start": 766, - "end": 770, + "start": 884, + "end": 888, "loc": { "start": { - "line": 20, + "line": 23, "column": 37 }, "end": { - "line": 20, + "line": 23, "column": 41 }, "identifierName": "data" @@ -793,15 +997,15 @@ }, { "type": "Identifier", - "start": 772, - "end": 785, + "start": 890, + "end": 903, "loc": { "start": { - "line": 20, + "line": 23, "column": 43 }, "end": { - "line": 20, + "line": 23, "column": 56 }, "identifierName": "metaModelJSON" @@ -810,15 +1014,15 @@ }, { "type": "Identifier", - "start": 787, - "end": 794, + "start": 905, + "end": 912, "loc": { "start": { - "line": 20, + "line": 23, "column": 58 }, "end": { - "line": 20, + "line": 23, "column": 65 }, "identifierName": "options" @@ -833,58 +1037,58 @@ }, { "type": "ExpressionStatement", - "start": 801, - "end": 859, + "start": 919, + "end": 977, "loc": { "start": { - "line": 21, + "line": 24, "column": 4 }, "end": { - "line": 21, + "line": 24, "column": 62 } }, "expression": { "type": "AssignmentExpression", - "start": 801, - "end": 858, + "start": 919, + "end": 976, "loc": { "start": { - "line": 21, + "line": 24, "column": 4 }, "end": { - "line": 21, + "line": 24, "column": 61 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 801, - "end": 819, + "start": 919, + "end": 937, "loc": { "start": { - "line": 21, + "line": 24, "column": 4 }, "end": { - "line": 21, + "line": 24, "column": 22 } }, "object": { "type": "Identifier", - "start": 801, - "end": 806, + "start": 919, + "end": 924, "loc": { "start": { - "line": 21, + "line": 24, "column": 4 }, "end": { - "line": 21, + "line": 24, "column": 9 }, "identifierName": "stats" @@ -893,15 +1097,15 @@ }, "property": { "type": "Identifier", - "start": 807, - "end": 819, + "start": 925, + "end": 937, "loc": { "start": { - "line": 21, + "line": 24, "column": 10 }, "end": { - "line": 21, + "line": 24, "column": 22 }, "identifierName": "texturesSize" @@ -912,43 +1116,43 @@ }, "right": { "type": "MemberExpression", - "start": 823, - "end": 858, + "start": 941, + "end": 976, "loc": { "start": { - "line": 21, + "line": 24, "column": 26 }, "end": { - "line": 21, + "line": 24, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 823, - "end": 847, + "start": 941, + "end": 965, "loc": { "start": { - "line": 21, + "line": 24, "column": 26 }, "end": { - "line": 21, + "line": 24, "column": 50 } }, "object": { "type": "Identifier", - "start": 823, - "end": 835, + "start": 941, + "end": 953, "loc": { "start": { - "line": 21, + "line": 24, "column": 26 }, "end": { - "line": 21, + "line": 24, "column": 38 }, "identifierName": "deflatedData" @@ -957,15 +1161,15 @@ }, "property": { "type": "Identifier", - "start": 836, - "end": 847, + "start": 954, + "end": 965, "loc": { "start": { - "line": 21, + "line": 24, "column": 39 }, "end": { - "line": 21, + "line": 24, "column": 50 }, "identifierName": "textureData" @@ -976,15 +1180,15 @@ }, "property": { "type": "Identifier", - "start": 848, - "end": 858, + "start": 966, + "end": 976, "loc": { "start": { - "line": 21, + "line": 24, "column": 51 }, "end": { - "line": 21, + "line": 24, "column": 61 }, "identifierName": "byteLength" @@ -997,44 +1201,44 @@ }, { "type": "VariableDeclaration", - "start": 864, - "end": 916, + "start": 982, + "end": 1034, "loc": { "start": { - "line": 22, + "line": 25, "column": 4 }, "end": { - "line": 22, + "line": 25, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 870, - "end": 915, + "start": 988, + "end": 1033, "loc": { "start": { - "line": 22, + "line": 25, "column": 10 }, "end": { - "line": 22, + "line": 25, "column": 55 } }, "id": { "type": "Identifier", - "start": 870, - "end": 881, + "start": 988, + "end": 999, "loc": { "start": { - "line": 22, + "line": 25, "column": 10 }, "end": { - "line": 22, + "line": 25, "column": 21 }, "identifierName": "arrayBuffer" @@ -1043,29 +1247,29 @@ }, "init": { "type": "CallExpression", - "start": 884, - "end": 915, + "start": 1002, + "end": 1033, "loc": { "start": { - "line": 22, + "line": 25, "column": 24 }, "end": { - "line": 22, + "line": 25, "column": 55 } }, "callee": { "type": "Identifier", - "start": 884, - "end": 901, + "start": 1002, + "end": 1019, "loc": { "start": { - "line": 22, + "line": 25, "column": 24 }, "end": { - "line": 22, + "line": 25, "column": 41 }, "identifierName": "createArrayBuffer" @@ -1075,15 +1279,15 @@ "arguments": [ { "type": "Identifier", - "start": 902, - "end": 914, + "start": 1020, + "end": 1032, "loc": { "start": { - "line": 22, + "line": 25, "column": 42 }, "end": { - "line": 22, + "line": 25, "column": 54 }, "identifierName": "deflatedData" @@ -1098,29 +1302,29 @@ }, { "type": "ReturnStatement", - "start": 921, - "end": 940, + "start": 1039, + "end": 1058, "loc": { "start": { - "line": 23, + "line": 26, "column": 4 }, "end": { - "line": 23, + "line": 26, "column": 23 } }, "argument": { "type": "Identifier", - "start": 928, - "end": 939, + "start": 1046, + "end": 1057, "loc": { "start": { - "line": 23, + "line": 26, "column": 11 }, "end": { - "line": 23, + "line": 26, "column": 22 }, "identifierName": "arrayBuffer" @@ -1129,42 +1333,44 @@ } } ], - "directives": [] + "directives": [], + "trailingComments": null }, "leadingComments": [], - "name": "_", - "trailingComments": [] + "trailingComments": [], + "name": "_" }, { "type": "FunctionDeclaration", - "start": 944, - "end": 17632, + "start": 1069, + "end": 4373, "loc": { "start": { - "line": 26, + "line": 30, "column": 0 }, "end": { - "line": 347, + "line": 128, "column": 1 } }, "id": { "type": "Identifier", - "start": 953, - "end": 965, + "start": 1078, + "end": 1116, "loc": { "start": { - "line": 26, + "line": 30, "column": 9 }, "end": { - "line": 26, - "column": 21 + "line": 30, + "column": 47 }, - "identifierName": "getModelData" + "identifierName": "writeXKTModelToArrayBufferUncompressed" }, - "name": "getModelData" + "name": "writeXKTModelToArrayBufferUncompressed", + "leadingComments": null }, "generator": false, "expression": false, @@ -1172,16 +1378,16 @@ "params": [ { "type": "Identifier", - "start": 966, - "end": 974, + "start": 1117, + "end": 1125, "loc": { "start": { - "line": 26, - "column": 22 + "line": 30, + "column": 48 }, "end": { - "line": 26, - "column": 30 + "line": 30, + "column": 56 }, "identifierName": "xktModel" }, @@ -1189,33 +1395,33 @@ }, { "type": "Identifier", - "start": 976, - "end": 992, + "start": 1127, + "end": 1140, "loc": { "start": { - "line": 26, - "column": 32 + "line": 30, + "column": 58 }, "end": { - "line": 26, - "column": 48 + "line": 30, + "column": 71 }, - "identifierName": "metaModelDataStr" + "identifierName": "metaModelJSON" }, - "name": "metaModelDataStr" + "name": "metaModelJSON" }, { "type": "Identifier", - "start": 994, - "end": 999, + "start": 1142, + "end": 1147, "loc": { "start": { - "line": 26, - "column": 50 + "line": 30, + "column": 73 }, "end": { - "line": 26, - "column": 55 + "line": 30, + "column": 78 }, "identifierName": "stats" }, @@ -1224,304 +1430,351 @@ ], "body": { "type": "BlockStatement", - "start": 1001, - "end": 17632, + "start": 1149, + "end": 4373, "loc": { "start": { - "line": 26, - "column": 57 + "line": 30, + "column": 80 }, "end": { - "line": 347, + "line": 128, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 1272, - "end": 1323, + "start": 1155, + "end": 1213, "loc": { "start": { - "line": 32, + "line": 31, "column": 4 }, "end": { - "line": 32, - "column": 55 + "line": 31, + "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1278, - "end": 1322, + "start": 1161, + "end": 1212, "loc": { "start": { - "line": 32, + "line": 31, "column": 10 }, "end": { - "line": 32, - "column": 54 + "line": 31, + "column": 61 } }, "id": { "type": "Identifier", - "start": 1278, - "end": 1294, + "start": 1161, + "end": 1165, "loc": { "start": { - "line": 32, + "line": 31, "column": 10 }, "end": { - "line": 32, - "column": 26 + "line": 31, + "column": 14 }, - "identifierName": "propertySetsList" + "identifierName": "data" }, - "name": "propertySetsList", - "leadingComments": null + "name": "data" }, "init": { - "type": "MemberExpression", - "start": 1297, - "end": 1322, + "type": "CallExpression", + "start": 1168, + "end": 1212, "loc": { "start": { - "line": 32, - "column": 29 + "line": 31, + "column": 17 }, "end": { - "line": 32, - "column": 54 + "line": 31, + "column": 61 } }, - "object": { + "callee": { "type": "Identifier", - "start": 1297, - "end": 1305, + "start": 1168, + "end": 1180, "loc": { "start": { - "line": 32, - "column": 29 + "line": 31, + "column": 17 }, "end": { - "line": 32, - "column": 37 + "line": 31, + "column": 29 }, - "identifierName": "xktModel" + "identifierName": "getModelData" }, - "name": "xktModel" + "name": "getModelData" }, - "property": { - "type": "Identifier", - "start": 1306, - "end": 1322, - "loc": { - "start": { - "line": 32, - "column": 38 + "arguments": [ + { + "type": "Identifier", + "start": 1181, + "end": 1189, + "loc": { + "start": { + "line": 31, + "column": 30 + }, + "end": { + "line": 31, + "column": 38 + }, + "identifierName": "xktModel" }, - "end": { - "line": 32, - "column": 54 + "name": "xktModel" + }, + { + "type": "Identifier", + "start": 1191, + "end": 1204, + "loc": { + "start": { + "line": 31, + "column": 40 + }, + "end": { + "line": 31, + "column": 53 + }, + "identifierName": "metaModelJSON" }, - "identifierName": "propertySetsList" + "name": "metaModelJSON" }, - "name": "propertySetsList" - }, - "computed": false - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": "------------------------------------------------------------------------------------------------------------------", - "start": 1008, - "end": 1124, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 28, - "column": 120 - } - } - }, - { - "type": "CommentLine", - "value": " Allocate data", - "start": 1129, - "end": 1145, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 29, - "column": 20 - } - } - }, - { - "type": "CommentLine", - "value": "------------------------------------------------------------------------------------------------------------------", - "start": 1150, - "end": 1266, - "loc": { - "start": { - "line": 30, - "column": 4 - }, - "end": { - "line": 30, - "column": 120 - } + { + "type": "Identifier", + "start": 1206, + "end": 1211, + "loc": { + "start": { + "line": 31, + "column": 55 + }, + "end": { + "line": 31, + "column": 60 + }, + "identifierName": "stats" + }, + "name": "stats" + } + ] } } - ] + ], + "kind": "const" }, { - "type": "VariableDeclaration", - "start": 1328, - "end": 1377, + "type": "ExpressionStatement", + "start": 1218, + "end": 1268, "loc": { "start": { - "line": 33, + "line": 32, "column": 4 }, "end": { - "line": 33, - "column": 53 + "line": 32, + "column": 54 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1334, - "end": 1376, + "expression": { + "type": "AssignmentExpression", + "start": 1218, + "end": 1267, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 53 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 1218, + "end": 1236, "loc": { "start": { - "line": 33, - "column": 10 + "line": 32, + "column": 4 }, "end": { - "line": 33, - "column": 52 + "line": 32, + "column": 22 } }, - "id": { + "object": { + "type": "Identifier", + "start": 1218, + "end": 1223, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 9 + }, + "identifierName": "stats" + }, + "name": "stats" + }, + "property": { "type": "Identifier", - "start": 1334, - "end": 1349, + "start": 1224, + "end": 1236, "loc": { "start": { - "line": 33, + "line": 32, "column": 10 }, "end": { - "line": 33, - "column": 25 + "line": 32, + "column": 22 }, - "identifierName": "metaObjectsList" + "identifierName": "texturesSize" }, - "name": "metaObjectsList" + "name": "texturesSize" }, - "init": { + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 1240, + "end": 1267, + "loc": { + "start": { + "line": 32, + "column": 26 + }, + "end": { + "line": 32, + "column": 53 + } + }, + "object": { "type": "MemberExpression", - "start": 1352, - "end": 1376, + "start": 1240, + "end": 1256, "loc": { "start": { - "line": 33, - "column": 28 + "line": 32, + "column": 26 }, "end": { - "line": 33, - "column": 52 + "line": 32, + "column": 42 } }, "object": { "type": "Identifier", - "start": 1352, - "end": 1360, + "start": 1240, + "end": 1244, "loc": { "start": { - "line": 33, - "column": 28 + "line": 32, + "column": 26 }, "end": { - "line": 33, - "column": 36 + "line": 32, + "column": 30 }, - "identifierName": "xktModel" + "identifierName": "data" }, - "name": "xktModel" + "name": "data" }, "property": { "type": "Identifier", - "start": 1361, - "end": 1376, + "start": 1245, + "end": 1256, "loc": { "start": { - "line": 33, - "column": 37 + "line": 32, + "column": 31 }, "end": { - "line": 33, - "column": 52 + "line": 32, + "column": 42 }, - "identifierName": "metaObjectsList" + "identifierName": "textureData" }, - "name": "metaObjectsList" + "name": "textureData" }, "computed": false - } + }, + "property": { + "type": "Identifier", + "start": 1257, + "end": 1267, + "loc": { + "start": { + "line": 32, + "column": 43 + }, + "end": { + "line": 32, + "column": 53 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false } - ], - "kind": "const" + } }, { "type": "VariableDeclaration", - "start": 1382, - "end": 1429, + "start": 1274, + "end": 1420, "loc": { "start": { "line": 34, "column": 4 }, "end": { - "line": 34, - "column": 51 + "line": 37, + "column": 9 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1388, - "end": 1428, + "start": 1280, + "end": 1419, "loc": { "start": { "line": 34, "column": 10 }, "end": { - "line": 34, - "column": 50 + "line": 37, + "column": 8 } }, "id": { "type": "Identifier", - "start": 1388, - "end": 1402, + "start": 1280, + "end": 1292, "loc": { "start": { "line": 34, @@ -1529,61 +1782,356 @@ }, "end": { "line": 34, - "column": 24 + "column": 22 }, - "identifierName": "geometriesList" + "identifierName": "object2Array" }, - "name": "geometriesList" + "name": "object2Array" }, "init": { - "type": "MemberExpression", - "start": 1405, - "end": 1428, + "type": "CallExpression", + "start": 1295, + "end": 1419, "loc": { "start": { "line": 34, - "column": 27 + "column": 25 }, "end": { - "line": 34, - "column": 50 + "line": 37, + "column": 8 } }, - "object": { - "type": "Identifier", - "start": 1405, - "end": 1413, + "callee": { + "type": "FunctionExpression", + "start": 1296, + "end": 1416, "loc": { "start": { "line": 34, - "column": 27 + "column": 26 }, "end": { - "line": 34, - "column": 35 - }, - "identifierName": "xktModel" + "line": 37, + "column": 5 + } }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 1414, - "end": 1428, - "loc": { - "start": { - "line": 34, - "column": 36 - }, - "end": { - "line": 34, - "column": 50 + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1307, + "end": 1416, + "loc": { + "start": { + "line": 34, + "column": 37 + }, + "end": { + "line": 37, + "column": 5 + } }, - "identifierName": "geometriesList" + "body": [ + { + "type": "VariableDeclaration", + "start": 1317, + "end": 1351, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 42 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1323, + "end": 1350, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 41 + } + }, + "id": { + "type": "Identifier", + "start": 1323, + "end": 1330, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 21 + }, + "identifierName": "encoder" + }, + "name": "encoder" + }, + "init": { + "type": "NewExpression", + "start": 1333, + "end": 1350, + "loc": { + "start": { + "line": 35, + "column": 24 + }, + "end": { + "line": 35, + "column": 41 + } + }, + "callee": { + "type": "Identifier", + "start": 1337, + "end": 1348, + "loc": { + "start": { + "line": 35, + "column": 28 + }, + "end": { + "line": 35, + "column": 39 + }, + "identifierName": "TextEncoder" + }, + "name": "TextEncoder" + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 1360, + "end": 1410, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 58 + } + }, + "argument": { + "type": "ArrowFunctionExpression", + "start": 1367, + "end": 1409, + "loc": { + "start": { + "line": 36, + "column": 15 + }, + "end": { + "line": 36, + "column": 57 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1367, + "end": 1370, + "loc": { + "start": { + "line": 36, + "column": 15 + }, + "end": { + "line": 36, + "column": 18 + }, + "identifierName": "obj" + }, + "name": "obj" + } + ], + "body": { + "type": "CallExpression", + "start": 1374, + "end": 1409, + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1374, + "end": 1388, + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 1374, + "end": 1381, + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 29 + }, + "identifierName": "encoder" + }, + "name": "encoder" + }, + "property": { + "type": "Identifier", + "start": 1382, + "end": 1388, + "loc": { + "start": { + "line": 36, + "column": 30 + }, + "end": { + "line": 36, + "column": 36 + }, + "identifierName": "encode" + }, + "name": "encode" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1389, + "end": 1408, + "loc": { + "start": { + "line": 36, + "column": 37 + }, + "end": { + "line": 36, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1389, + "end": 1403, + "loc": { + "start": { + "line": 36, + "column": 37 + }, + "end": { + "line": 36, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 1389, + "end": 1393, + "loc": { + "start": { + "line": 36, + "column": 37 + }, + "end": { + "line": 36, + "column": 41 + }, + "identifierName": "JSON" + }, + "name": "JSON" + }, + "property": { + "type": "Identifier", + "start": 1394, + "end": 1403, + "loc": { + "start": { + "line": 36, + "column": 42 + }, + "end": { + "line": 36, + "column": 51 + }, + "identifierName": "stringify" + }, + "name": "stringify" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1404, + "end": 1407, + "loc": { + "start": { + "line": 36, + "column": 52 + }, + "end": { + "line": 36, + "column": 55 + }, + "identifierName": "obj" + }, + "name": "obj" + } + ] + } + ] + } + } + } + ], + "directives": [] }, - "name": "geometriesList" + "extra": { + "parenthesized": true, + "parenStart": 1295 + } }, - "computed": false + "arguments": [] } } ], @@ -1591,999 +2139,1567 @@ }, { "type": "VariableDeclaration", - "start": 1434, - "end": 1477, + "start": 1426, + "end": 2420, "loc": { "start": { - "line": 35, + "line": 39, "column": 4 }, "end": { - "line": 35, - "column": 47 + "line": 68, + "column": 6 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1440, - "end": 1476, + "start": 1432, + "end": 2419, "loc": { "start": { - "line": 35, + "line": 39, "column": 10 }, "end": { - "line": 35, - "column": 46 + "line": 68, + "column": 5 } }, "id": { "type": "Identifier", - "start": 1440, - "end": 1452, + "start": 1432, + "end": 1438, "loc": { "start": { - "line": 35, + "line": 39, "column": 10 }, "end": { - "line": 35, - "column": 22 + "line": 39, + "column": 16 }, - "identifierName": "texturesList" + "identifierName": "arrays" }, - "name": "texturesList" + "name": "arrays" }, "init": { - "type": "MemberExpression", - "start": 1455, - "end": 1476, + "type": "ArrayExpression", + "start": 1441, + "end": 2419, "loc": { "start": { - "line": 35, - "column": 25 + "line": 39, + "column": 19 }, "end": { - "line": 35, - "column": 46 + "line": 68, + "column": 5 } }, - "object": { - "type": "Identifier", - "start": 1455, - "end": 1463, - "loc": { - "start": { - "line": 35, - "column": 25 + "elements": [ + { + "type": "CallExpression", + "start": 1451, + "end": 1495, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 52 + } }, - "end": { - "line": 35, - "column": 33 + "callee": { + "type": "Identifier", + "start": 1451, + "end": 1463, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 20 + }, + "identifierName": "object2Array" + }, + "name": "object2Array" }, - "identifierName": "xktModel" + "arguments": [ + { + "type": "LogicalExpression", + "start": 1464, + "end": 1494, + "loc": { + "start": { + "line": 40, + "column": 21 + }, + "end": { + "line": 40, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 1464, + "end": 1477, + "loc": { + "start": { + "line": 40, + "column": 21 + }, + "end": { + "line": 40, + "column": 34 + }, + "identifierName": "metaModelJSON" + }, + "name": "metaModelJSON" + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 1481, + "end": 1494, + "loc": { + "start": { + "line": 40, + "column": 38 + }, + "end": { + "line": 40, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 1481, + "end": 1485, + "loc": { + "start": { + "line": 40, + "column": 38 + }, + "end": { + "line": 40, + "column": 42 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 1486, + "end": 1494, + "loc": { + "start": { + "line": 40, + "column": 43 + }, + "end": { + "line": 40, + "column": 51 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + } + } + ] }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 1464, - "end": 1476, - "loc": { - "start": { - "line": 35, - "column": 34 - }, - "end": { - "line": 35, - "column": 46 + { + "type": "MemberExpression", + "start": 1505, + "end": 1521, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 24 + } }, - "identifierName": "texturesList" - }, - "name": "texturesList" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1482, - "end": 1531, - "loc": { - "start": { - "line": 36, - "column": 4 - }, - "end": { - "line": 36, - "column": 53 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1488, - "end": 1530, - "loc": { - "start": { - "line": 36, - "column": 10 - }, - "end": { - "line": 36, - "column": 52 - } - }, - "id": { - "type": "Identifier", - "start": 1488, - "end": 1503, - "loc": { - "start": { - "line": 36, - "column": 10 - }, - "end": { - "line": 36, - "column": 25 - }, - "identifierName": "textureSetsList" - }, - "name": "textureSetsList" - }, - "init": { - "type": "MemberExpression", - "start": 1506, - "end": 1530, - "loc": { - "start": { - "line": 36, - "column": 28 - }, - "end": { - "line": 36, - "column": 52 - } - }, - "object": { - "type": "Identifier", - "start": 1506, - "end": 1514, - "loc": { - "start": { - "line": 36, - "column": 28 + "object": { + "type": "Identifier", + "start": 1505, + "end": 1509, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "end": { - "line": 36, - "column": 36 + "property": { + "type": "Identifier", + "start": 1510, + "end": 1521, + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 24 + }, + "identifierName": "textureData" + }, + "name": "textureData" }, - "identifierName": "xktModel" + "computed": false }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 1515, - "end": 1530, - "loc": { - "start": { - "line": 36, - "column": 37 + { + "type": "MemberExpression", + "start": 1531, + "end": 1558, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 35 + } }, - "end": { - "line": 36, - "column": 52 + "object": { + "type": "Identifier", + "start": 1531, + "end": 1535, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "identifierName": "textureSetsList" + "property": { + "type": "Identifier", + "start": 1536, + "end": 1558, + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 35 + }, + "identifierName": "eachTextureDataPortion" + }, + "name": "eachTextureDataPortion" + }, + "computed": false }, - "name": "textureSetsList" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1536, - "end": 1575, - "loc": { - "start": { - "line": 37, - "column": 4 - }, - "end": { - "line": 37, - "column": 43 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1542, - "end": 1574, - "loc": { - "start": { - "line": 37, - "column": 10 - }, - "end": { - "line": 37, - "column": 42 - } - }, - "id": { - "type": "Identifier", - "start": 1542, - "end": 1552, - "loc": { - "start": { - "line": 37, - "column": 10 - }, - "end": { - "line": 37, - "column": 20 - }, - "identifierName": "meshesList" - }, - "name": "meshesList" - }, - "init": { - "type": "MemberExpression", - "start": 1555, - "end": 1574, - "loc": { - "start": { - "line": 37, - "column": 23 - }, - "end": { - "line": 37, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 1555, - "end": 1563, - "loc": { - "start": { - "line": 37, - "column": 23 - }, - "end": { - "line": 37, - "column": 31 + { + "type": "MemberExpression", + "start": 1568, + "end": 1594, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 34 + } }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 1564, - "end": 1574, - "loc": { - "start": { - "line": 37, - "column": 32 + "object": { + "type": "Identifier", + "start": 1568, + "end": 1572, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "end": { - "line": 37, - "column": 42 + "property": { + "type": "Identifier", + "start": 1573, + "end": 1594, + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 34 + }, + "identifierName": "eachTextureAttributes" + }, + "name": "eachTextureAttributes" }, - "identifierName": "meshesList" - }, - "name": "meshesList" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1580, - "end": 1623, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 38, - "column": 47 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1586, - "end": 1622, - "loc": { - "start": { - "line": 38, - "column": 10 - }, - "end": { - "line": 38, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 1586, - "end": 1598, - "loc": { - "start": { - "line": 38, - "column": 10 - }, - "end": { - "line": 38, - "column": 22 - }, - "identifierName": "entitiesList" - }, - "name": "entitiesList" - }, - "init": { - "type": "MemberExpression", - "start": 1601, - "end": 1622, - "loc": { - "start": { - "line": 38, - "column": 25 + "computed": false }, - "end": { - "line": 38, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 1601, - "end": 1609, - "loc": { - "start": { - "line": 38, - "column": 25 - }, - "end": { - "line": 38, - "column": 33 + { + "type": "MemberExpression", + "start": 1604, + "end": 1618, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 22 + } }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 1610, - "end": 1622, - "loc": { - "start": { - "line": 38, - "column": 34 + "object": { + "type": "Identifier", + "start": 1604, + "end": 1608, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "end": { - "line": 38, - "column": 46 + "property": { + "type": "Identifier", + "start": 1609, + "end": 1618, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 22 + }, + "identifierName": "positions" + }, + "name": "positions" }, - "identifierName": "entitiesList" - }, - "name": "entitiesList" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1628, - "end": 1665, - "loc": { - "start": { - "line": 39, - "column": 4 - }, - "end": { - "line": 39, - "column": 41 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1634, - "end": 1664, - "loc": { - "start": { - "line": 39, - "column": 10 - }, - "end": { - "line": 39, - "column": 40 - } - }, - "id": { - "type": "Identifier", - "start": 1634, - "end": 1643, - "loc": { - "start": { - "line": 39, - "column": 10 - }, - "end": { - "line": 39, - "column": 19 - }, - "identifierName": "tilesList" - }, - "name": "tilesList" - }, - "init": { - "type": "MemberExpression", - "start": 1646, - "end": 1664, - "loc": { - "start": { - "line": 39, - "column": 22 + "computed": false }, - "end": { - "line": 39, - "column": 40 - } - }, - "object": { - "type": "Identifier", - "start": 1646, - "end": 1654, - "loc": { - "start": { - "line": 39, - "column": 22 + { + "type": "MemberExpression", + "start": 1628, + "end": 1640, + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 20 + } }, - "end": { - "line": 39, - "column": 30 + "object": { + "type": "Identifier", + "start": 1628, + "end": 1632, + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "identifierName": "xktModel" + "property": { + "type": "Identifier", + "start": 1633, + "end": 1640, + "loc": { + "start": { + "line": 45, + "column": 13 + }, + "end": { + "line": 45, + "column": 20 + }, + "identifierName": "normals" + }, + "name": "normals" + }, + "computed": false }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 1655, - "end": 1664, - "loc": { - "start": { - "line": 39, - "column": 31 + { + "type": "MemberExpression", + "start": 1650, + "end": 1661, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 19 + } }, - "end": { - "line": 39, - "column": 40 + "object": { + "type": "Identifier", + "start": 1650, + "end": 1654, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "identifierName": "tilesList" - }, - "name": "tilesList" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1671, - "end": 1719, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 41, - "column": 52 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1677, - "end": 1718, - "loc": { - "start": { - "line": 41, - "column": 10 - }, - "end": { - "line": 41, - "column": 51 - } - }, - "id": { - "type": "Identifier", - "start": 1677, - "end": 1692, - "loc": { - "start": { - "line": 41, - "column": 10 - }, - "end": { - "line": 41, - "column": 25 - }, - "identifierName": "numPropertySets" - }, - "name": "numPropertySets" - }, - "init": { - "type": "MemberExpression", - "start": 1695, - "end": 1718, - "loc": { - "start": { - "line": 41, - "column": 28 + "property": { + "type": "Identifier", + "start": 1655, + "end": 1661, + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 19 + }, + "identifierName": "colors" + }, + "name": "colors" + }, + "computed": false }, - "end": { - "line": 41, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 1695, - "end": 1711, - "loc": { - "start": { - "line": 41, - "column": 28 + { + "type": "MemberExpression", + "start": 1671, + "end": 1679, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 16 + } }, - "end": { - "line": 41, - "column": 44 + "object": { + "type": "Identifier", + "start": 1671, + "end": 1675, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "identifierName": "propertySetsList" + "property": { + "type": "Identifier", + "start": 1676, + "end": 1679, + "loc": { + "start": { + "line": 47, + "column": 13 + }, + "end": { + "line": 47, + "column": 16 + }, + "identifierName": "uvs" + }, + "name": "uvs" + }, + "computed": false }, - "name": "propertySetsList" - }, - "property": { - "type": "Identifier", - "start": 1712, - "end": 1718, - "loc": { - "start": { - "line": 41, - "column": 45 + { + "type": "MemberExpression", + "start": 1689, + "end": 1701, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 20 + } }, - "end": { - "line": 41, - "column": 51 + "object": { + "type": "Identifier", + "start": 1689, + "end": 1693, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "identifierName": "length" + "property": { + "type": "Identifier", + "start": 1694, + "end": 1701, + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 20 + }, + "identifierName": "indices" + }, + "name": "indices" + }, + "computed": false }, - "name": "length" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1724, - "end": 1770, - "loc": { - "start": { - "line": 42, - "column": 4 - }, - "end": { - "line": 42, - "column": 50 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1730, - "end": 1769, - "loc": { - "start": { - "line": 42, - "column": 10 - }, - "end": { - "line": 42, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 1730, - "end": 1744, - "loc": { - "start": { - "line": 42, - "column": 10 - }, - "end": { - "line": 42, - "column": 24 - }, - "identifierName": "numMetaObjects" - }, - "name": "numMetaObjects" - }, - "init": { - "type": "MemberExpression", - "start": 1747, - "end": 1769, - "loc": { - "start": { - "line": 42, - "column": 27 - }, - "end": { - "line": 42, - "column": 49 - } - }, - "object": { - "type": "Identifier", - "start": 1747, - "end": 1762, - "loc": { - "start": { - "line": 42, - "column": 27 - }, - "end": { - "line": 42, - "column": 42 + { + "type": "MemberExpression", + "start": 1711, + "end": 1727, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 24 + } }, - "identifierName": "metaObjectsList" - }, - "name": "metaObjectsList" - }, - "property": { - "type": "Identifier", - "start": 1763, - "end": 1769, - "loc": { - "start": { - "line": 42, - "column": 43 + "object": { + "type": "Identifier", + "start": 1711, + "end": 1715, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "end": { - "line": 42, - "column": 49 + "property": { + "type": "Identifier", + "start": 1716, + "end": 1727, + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 24 + }, + "identifierName": "edgeIndices" + }, + "name": "edgeIndices" }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1775, - "end": 1819, - "loc": { - "start": { - "line": 43, - "column": 4 - }, - "end": { - "line": 43, - "column": 48 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1781, - "end": 1818, - "loc": { - "start": { - "line": 43, - "column": 10 - }, - "end": { - "line": 43, - "column": 47 - } - }, - "id": { - "type": "Identifier", - "start": 1781, - "end": 1794, - "loc": { - "start": { - "line": 43, - "column": 10 - }, - "end": { - "line": 43, - "column": 23 - }, - "identifierName": "numGeometries" - }, - "name": "numGeometries" - }, - "init": { - "type": "MemberExpression", - "start": 1797, - "end": 1818, - "loc": { - "start": { - "line": 43, - "column": 26 + "computed": false }, - "end": { - "line": 43, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 1797, - "end": 1811, - "loc": { - "start": { - "line": 43, - "column": 26 + { + "type": "MemberExpression", + "start": 1737, + "end": 1764, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 35 + } }, - "end": { - "line": 43, - "column": 40 + "object": { + "type": "Identifier", + "start": 1737, + "end": 1741, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "identifierName": "geometriesList" + "property": { + "type": "Identifier", + "start": 1742, + "end": 1764, + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 35 + }, + "identifierName": "eachTextureSetTextures" + }, + "name": "eachTextureSetTextures" + }, + "computed": false }, - "name": "geometriesList" - }, - "property": { - "type": "Identifier", - "start": 1812, - "end": 1818, - "loc": { - "start": { - "line": 43, - "column": 41 + { + "type": "MemberExpression", + "start": 1774, + "end": 1787, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 21 + } }, - "end": { - "line": 43, - "column": 47 + "object": { + "type": "Identifier", + "start": 1774, + "end": 1778, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1824, - "end": 1864, - "loc": { - "start": { - "line": 44, - "column": 4 - }, - "end": { - "line": 44, - "column": 44 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1830, - "end": 1863, - "loc": { - "start": { - "line": 44, - "column": 10 - }, - "end": { - "line": 44, - "column": 43 - } - }, - "id": { - "type": "Identifier", - "start": 1830, - "end": 1841, - "loc": { - "start": { - "line": 44, - "column": 10 - }, - "end": { - "line": 44, - "column": 21 - }, - "identifierName": "numTextures" - }, - "name": "numTextures" - }, - "init": { - "type": "MemberExpression", - "start": 1844, - "end": 1863, - "loc": { - "start": { - "line": 44, - "column": 24 + "property": { + "type": "Identifier", + "start": 1779, + "end": 1787, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 21 + }, + "identifierName": "matrices" + }, + "name": "matrices" + }, + "computed": false }, - "end": { - "line": 44, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 1844, - "end": 1856, - "loc": { - "start": { - "line": 44, - "column": 24 + { + "type": "MemberExpression", + "start": 1797, + "end": 1830, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 41 + } }, - "end": { - "line": 44, - "column": 36 + "object": { + "type": "Identifier", + "start": 1797, + "end": 1801, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "identifierName": "texturesList" + "property": { + "type": "Identifier", + "start": 1802, + "end": 1830, + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 41 + }, + "identifierName": "reusedGeometriesDecodeMatrix" + }, + "name": "reusedGeometriesDecodeMatrix" + }, + "computed": false }, - "name": "texturesList" - }, - "property": { - "type": "Identifier", - "start": 1857, - "end": 1863, - "loc": { - "start": { - "line": 44, - "column": 37 + { + "type": "MemberExpression", + "start": 1840, + "end": 1870, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 38 + } }, - "end": { - "line": 44, - "column": 43 + "object": { + "type": "Identifier", + "start": 1840, + "end": 1844, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1869, - "end": 1915, - "loc": { - "start": { - "line": 45, - "column": 4 - }, - "end": { - "line": 45, - "column": 50 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1875, - "end": 1914, - "loc": { - "start": { - "line": 45, - "column": 10 - }, - "end": { - "line": 45, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 1875, - "end": 1889, - "loc": { - "start": { - "line": 45, - "column": 10 - }, - "end": { - "line": 45, - "column": 24 - }, - "identifierName": "numTextureSets" - }, - "name": "numTextureSets" - }, - "init": { - "type": "MemberExpression", - "start": 1892, - "end": 1914, - "loc": { - "start": { - "line": 45, - "column": 27 + "property": { + "type": "Identifier", + "start": 1845, + "end": 1870, + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 38 + }, + "identifierName": "eachGeometryPrimitiveType" + }, + "name": "eachGeometryPrimitiveType" + }, + "computed": false }, - "end": { - "line": 45, - "column": 49 - } - }, - "object": { - "type": "Identifier", - "start": 1892, - "end": 1907, - "loc": { - "start": { - "line": 45, - "column": 27 + { + "type": "MemberExpression", + "start": 1880, + "end": 1913, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 41 + } }, - "end": { - "line": 45, - "column": 42 + "object": { + "type": "Identifier", + "start": 1880, + "end": 1884, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "identifierName": "textureSetsList" + "property": { + "type": "Identifier", + "start": 1885, + "end": 1913, + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 41 + }, + "identifierName": "eachGeometryPositionsPortion" + }, + "name": "eachGeometryPositionsPortion" + }, + "computed": false }, - "name": "textureSetsList" - }, - "property": { - "type": "Identifier", - "start": 1908, - "end": 1914, - "loc": { - "start": { - "line": 45, - "column": 43 + { + "type": "MemberExpression", + "start": 1923, + "end": 1954, + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 39 + } }, - "end": { - "line": 45, - "column": 49 + "object": { + "type": "Identifier", + "start": 1923, + "end": 1927, + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" }, - "identifierName": "length" + "property": { + "type": "Identifier", + "start": 1928, + "end": 1954, + "loc": { + "start": { + "line": 55, + "column": 13 + }, + "end": { + "line": 55, + "column": 39 + }, + "identifierName": "eachGeometryNormalsPortion" + }, + "name": "eachGeometryNormalsPortion" + }, + "computed": false }, - "name": "length" - }, - "computed": false + { + "type": "MemberExpression", + "start": 1964, + "end": 1994, + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 1964, + "end": 1968, + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 1969, + "end": 1994, + "loc": { + "start": { + "line": 56, + "column": 13 + }, + "end": { + "line": 56, + "column": 38 + }, + "identifierName": "eachGeometryColorsPortion" + }, + "name": "eachGeometryColorsPortion" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 2004, + "end": 2031, + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 2004, + "end": 2008, + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 2009, + "end": 2031, + "loc": { + "start": { + "line": 57, + "column": 13 + }, + "end": { + "line": 57, + "column": 35 + }, + "identifierName": "eachGeometryUVsPortion" + }, + "name": "eachGeometryUVsPortion" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 2041, + "end": 2072, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 2041, + "end": 2045, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 2046, + "end": 2072, + "loc": { + "start": { + "line": 58, + "column": 13 + }, + "end": { + "line": 58, + "column": 39 + }, + "identifierName": "eachGeometryIndicesPortion" + }, + "name": "eachGeometryIndicesPortion" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 2082, + "end": 2117, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 2082, + "end": 2086, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 2087, + "end": 2117, + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 43 + }, + "identifierName": "eachGeometryEdgeIndicesPortion" + }, + "name": "eachGeometryEdgeIndicesPortion" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 2127, + "end": 2157, + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 2127, + "end": 2131, + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 2132, + "end": 2157, + "loc": { + "start": { + "line": 60, + "column": 13 + }, + "end": { + "line": 60, + "column": 38 + }, + "identifierName": "eachMeshGeometriesPortion" + }, + "name": "eachMeshGeometriesPortion" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 2167, + "end": 2195, + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 2167, + "end": 2171, + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 2172, + "end": 2195, + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 36 + }, + "identifierName": "eachMeshMatricesPortion" + }, + "name": "eachMeshMatricesPortion" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 2205, + "end": 2228, + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 2205, + "end": 2209, + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 2210, + "end": 2228, + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 62, + "column": 31 + }, + "identifierName": "eachMeshTextureSet" + }, + "name": "eachMeshTextureSet" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 2238, + "end": 2269, + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 2238, + "end": 2242, + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 2243, + "end": 2269, + "loc": { + "start": { + "line": 63, + "column": 13 + }, + "end": { + "line": 63, + "column": 39 + }, + "identifierName": "eachMeshMaterialAttributes" + }, + "name": "eachMeshMaterialAttributes" + }, + "computed": false + }, + { + "type": "CallExpression", + "start": 2279, + "end": 2310, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 39 + } + }, + "callee": { + "type": "Identifier", + "start": 2279, + "end": 2291, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 20 + }, + "identifierName": "object2Array" + }, + "name": "object2Array" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2292, + "end": 2309, + "loc": { + "start": { + "line": 64, + "column": 21 + }, + "end": { + "line": 64, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 2292, + "end": 2296, + "loc": { + "start": { + "line": 64, + "column": 21 + }, + "end": { + "line": 64, + "column": 25 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 2297, + "end": 2309, + "loc": { + "start": { + "line": 64, + "column": 26 + }, + "end": { + "line": 64, + "column": 38 + }, + "identifierName": "eachEntityId" + }, + "name": "eachEntityId" + }, + "computed": false + } + ] + }, + { + "type": "MemberExpression", + "start": 2320, + "end": 2348, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 2320, + "end": 2324, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 2325, + "end": 2348, + "loc": { + "start": { + "line": 65, + "column": 13 + }, + "end": { + "line": 65, + "column": 36 + }, + "identifierName": "eachEntityMeshesPortion" + }, + "name": "eachEntityMeshesPortion" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 2358, + "end": 2375, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 2358, + "end": 2362, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 2363, + "end": 2375, + "loc": { + "start": { + "line": 66, + "column": 13 + }, + "end": { + "line": 66, + "column": 25 + }, + "identifierName": "eachTileAABB" + }, + "name": "eachTileAABB" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 2385, + "end": 2413, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 2385, + "end": 2389, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 2390, + "end": 2413, + "loc": { + "start": { + "line": 67, + "column": 13 + }, + "end": { + "line": 67, + "column": 36 + }, + "identifierName": "eachTileEntitiesPortion" + }, + "name": "eachTileEntitiesPortion" + }, + "computed": false + } + ] } } ], @@ -2591,93 +3707,93 @@ }, { "type": "VariableDeclaration", - "start": 1920, - "end": 1956, + "start": 2426, + "end": 2458, "loc": { "start": { - "line": 46, + "line": 70, "column": 4 }, "end": { - "line": 46, - "column": 40 + "line": 70, + "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1926, - "end": 1955, + "start": 2432, + "end": 2457, "loc": { "start": { - "line": 46, + "line": 70, "column": 10 }, "end": { - "line": 46, - "column": 39 + "line": 70, + "column": 35 } }, "id": { "type": "Identifier", - "start": 1926, - "end": 1935, + "start": 2432, + "end": 2441, "loc": { "start": { - "line": 46, + "line": 70, "column": 10 }, "end": { - "line": 46, + "line": 70, "column": 19 }, - "identifierName": "numMeshes" + "identifierName": "arraysCnt" }, - "name": "numMeshes" + "name": "arraysCnt" }, "init": { "type": "MemberExpression", - "start": 1938, - "end": 1955, + "start": 2444, + "end": 2457, "loc": { "start": { - "line": 46, + "line": 70, "column": 22 }, "end": { - "line": 46, - "column": 39 + "line": 70, + "column": 35 } }, "object": { "type": "Identifier", - "start": 1938, - "end": 1948, + "start": 2444, + "end": 2450, "loc": { "start": { - "line": 46, + "line": 70, "column": 22 }, "end": { - "line": 46, - "column": 32 + "line": 70, + "column": 28 }, - "identifierName": "meshesList" + "identifierName": "arrays" }, - "name": "meshesList" + "name": "arrays" }, "property": { "type": "Identifier", - "start": 1949, - "end": 1955, + "start": 2451, + "end": 2457, "loc": { "start": { - "line": 46, - "column": 33 + "line": 70, + "column": 29 }, "end": { - "line": 46, - "column": 39 + "line": 70, + "column": 35 }, "identifierName": "length" }, @@ -2691,261 +3807,341 @@ }, { "type": "VariableDeclaration", - "start": 1961, - "end": 2001, + "start": 2463, + "end": 2535, "loc": { "start": { - "line": 47, + "line": 71, "column": 4 }, "end": { - "line": 47, - "column": 44 + "line": 71, + "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1967, - "end": 2000, + "start": 2469, + "end": 2534, "loc": { "start": { - "line": 47, + "line": 71, "column": 10 }, "end": { - "line": 47, - "column": 43 + "line": 71, + "column": 75 } }, "id": { "type": "Identifier", - "start": 1967, - "end": 1978, + "start": 2469, + "end": 2477, "loc": { "start": { - "line": 47, + "line": 71, "column": 10 }, "end": { - "line": 47, - "column": 21 + "line": 71, + "column": 18 }, - "identifierName": "numEntities" + "identifierName": "dataView" }, - "name": "numEntities" + "name": "dataView" }, "init": { - "type": "MemberExpression", - "start": 1981, - "end": 2000, + "type": "NewExpression", + "start": 2480, + "end": 2534, "loc": { "start": { - "line": 47, - "column": 24 + "line": 71, + "column": 21 }, "end": { - "line": 47, - "column": 43 + "line": 71, + "column": 75 } }, - "object": { + "callee": { "type": "Identifier", - "start": 1981, - "end": 1993, + "start": 2484, + "end": 2492, "loc": { "start": { - "line": 47, - "column": 24 + "line": 71, + "column": 25 }, "end": { - "line": 47, - "column": 36 + "line": 71, + "column": 33 }, - "identifierName": "entitiesList" + "identifierName": "DataView" }, - "name": "entitiesList" + "name": "DataView" }, - "property": { - "type": "Identifier", - "start": 1994, - "end": 2000, - "loc": { - "start": { - "line": 47, - "column": 37 + "arguments": [ + { + "type": "NewExpression", + "start": 2493, + "end": 2533, + "loc": { + "start": { + "line": 71, + "column": 34 + }, + "end": { + "line": 71, + "column": 74 + } }, - "end": { - "line": 47, - "column": 43 + "callee": { + "type": "Identifier", + "start": 2497, + "end": 2508, + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 49 + }, + "identifierName": "ArrayBuffer" + }, + "name": "ArrayBuffer" }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false + "arguments": [ + { + "type": "BinaryExpression", + "start": 2509, + "end": 2532, + "loc": { + "start": { + "line": 71, + "column": 50 + }, + "end": { + "line": 71, + "column": 73 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2510, + "end": 2527, + "loc": { + "start": { + "line": 71, + "column": 51 + }, + "end": { + "line": 71, + "column": 68 + } + }, + "left": { + "type": "NumericLiteral", + "start": 2510, + "end": 2511, + "loc": { + "start": { + "line": 71, + "column": 51 + }, + "end": { + "line": 71, + "column": 52 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 2514, + "end": 2527, + "loc": { + "start": { + "line": 71, + "column": 55 + }, + "end": { + "line": 71, + "column": 68 + } + }, + "left": { + "type": "NumericLiteral", + "start": 2514, + "end": 2515, + "loc": { + "start": { + "line": 71, + "column": 55 + }, + "end": { + "line": 71, + "column": 56 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + "operator": "*", + "right": { + "type": "Identifier", + "start": 2518, + "end": 2527, + "loc": { + "start": { + "line": 71, + "column": 59 + }, + "end": { + "line": 71, + "column": 68 + }, + "identifierName": "arraysCnt" + }, + "name": "arraysCnt" + } + }, + "extra": { + "parenthesized": true, + "parenStart": 2509 + } + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 2531, + "end": 2532, + "loc": { + "start": { + "line": 71, + "column": 72 + }, + "end": { + "line": 71, + "column": 73 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + } + } + ] + } + ] } } ], "kind": "const" }, { - "type": "VariableDeclaration", - "start": 2006, - "end": 2040, + "type": "ExpressionStatement", + "start": 2541, + "end": 2582, "loc": { "start": { - "line": 48, + "line": 73, "column": 4 }, "end": { - "line": 48, - "column": 38 + "line": 73, + "column": 45 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2012, - "end": 2039, + "expression": { + "type": "CallExpression", + "start": 2541, + "end": 2581, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 44 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2541, + "end": 2559, "loc": { "start": { - "line": 48, - "column": 10 + "line": 73, + "column": 4 }, "end": { - "line": 48, - "column": 37 + "line": 73, + "column": 22 } }, - "id": { + "object": { "type": "Identifier", - "start": 2012, - "end": 2020, - "loc": { - "start": { - "line": 48, - "column": 10 - }, - "end": { - "line": 48, - "column": 18 - }, - "identifierName": "numTiles" - }, - "name": "numTiles" - }, - "init": { - "type": "MemberExpression", - "start": 2023, - "end": 2039, + "start": 2541, + "end": 2549, "loc": { "start": { - "line": 48, - "column": 21 + "line": 73, + "column": 4 }, "end": { - "line": 48, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 2023, - "end": 2032, - "loc": { - "start": { - "line": 48, - "column": 21 - }, - "end": { - "line": 48, - "column": 30 - }, - "identifierName": "tilesList" - }, - "name": "tilesList" - }, - "property": { - "type": "Identifier", - "start": 2033, - "end": 2039, - "loc": { - "start": { - "line": 48, - "column": 31 - }, - "end": { - "line": 48, - "column": 37 - }, - "identifierName": "length" + "line": 73, + "column": 12 }, - "name": "length" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 2046, - "end": 2067, - "loc": { - "start": { - "line": 50, - "column": 4 - }, - "end": { - "line": 50, - "column": 25 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2050, - "end": 2066, - "loc": { - "start": { - "line": 50, - "column": 8 + "identifierName": "dataView" }, - "end": { - "line": 50, - "column": 24 - } + "name": "dataView" }, - "id": { + "property": { "type": "Identifier", - "start": 2050, - "end": 2062, + "start": 2550, + "end": 2559, "loc": { "start": { - "line": 50, - "column": 8 + "line": 73, + "column": 13 }, "end": { - "line": 50, - "column": 20 + "line": 73, + "column": 22 }, - "identifierName": "lenPositions" + "identifierName": "setUint32" }, - "name": "lenPositions" + "name": "setUint32" }, - "init": { + "computed": false + }, + "arguments": [ + { "type": "NumericLiteral", - "start": 2065, - "end": 2066, + "start": 2560, + "end": 2561, "loc": { "start": { - "line": 50, + "line": 73, "column": 23 }, "end": { - "line": 50, + "line": 73, "column": 24 } }, @@ -2954,146 +4150,138 @@ "raw": "0" }, "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 2072, - "end": 2091, - "loc": { - "start": { - "line": 51, - "column": 4 - }, - "end": { - "line": 51, - "column": 23 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2076, - "end": 2090, - "loc": { - "start": { - "line": 51, - "column": 8 - }, - "end": { - "line": 51, - "column": 22 - } }, - "id": { + { "type": "Identifier", - "start": 2076, - "end": 2086, + "start": 2563, + "end": 2574, "loc": { "start": { - "line": 51, - "column": 8 + "line": 73, + "column": 26 }, "end": { - "line": 51, - "column": 18 + "line": 73, + "column": 37 }, - "identifierName": "lenNormals" + "identifierName": "XKT_VERSION" }, - "name": "lenNormals" + "name": "XKT_VERSION" }, - "init": { - "type": "NumericLiteral", - "start": 2089, - "end": 2090, + { + "type": "BooleanLiteral", + "start": 2576, + "end": 2580, "loc": { "start": { - "line": 51, - "column": 21 + "line": 73, + "column": 39 }, "end": { - "line": 51, - "column": 22 + "line": 73, + "column": 43 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "value": true } - } - ], - "kind": "let" + ] + } }, { "type": "VariableDeclaration", - "start": 2096, - "end": 2114, + "start": 2588, + "end": 2625, "loc": { "start": { - "line": 52, + "line": 75, "column": 4 }, "end": { - "line": 52, - "column": 22 + "line": 75, + "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2100, - "end": 2113, + "start": 2592, + "end": 2624, "loc": { "start": { - "line": 52, + "line": 75, "column": 8 }, "end": { - "line": 52, - "column": 21 + "line": 75, + "column": 40 } }, "id": { "type": "Identifier", - "start": 2100, - "end": 2109, + "start": 2592, + "end": 2602, "loc": { "start": { - "line": 52, + "line": 75, "column": 8 }, "end": { - "line": 52, - "column": 17 + "line": 75, + "column": 18 }, - "identifierName": "lenColors" + "identifierName": "byteOffset" }, - "name": "lenColors" + "name": "byteOffset" }, "init": { - "type": "NumericLiteral", - "start": 2112, - "end": 2113, + "type": "MemberExpression", + "start": 2605, + "end": 2624, "loc": { "start": { - "line": 52, - "column": 20 + "line": 75, + "column": 21 }, "end": { - "line": 52, - "column": 21 + "line": 75, + "column": 40 } }, - "extra": { - "rawValue": 0, - "raw": "0" + "object": { + "type": "Identifier", + "start": 2605, + "end": 2613, + "loc": { + "start": { + "line": 75, + "column": 21 + }, + "end": { + "line": 75, + "column": 29 + }, + "identifierName": "dataView" + }, + "name": "dataView" }, - "value": 0 + "property": { + "type": "Identifier", + "start": 2614, + "end": 2624, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 40 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false } } ], @@ -3101,426 +4289,161 @@ }, { "type": "VariableDeclaration", - "start": 2119, - "end": 2134, + "start": 2630, + "end": 2650, "loc": { "start": { - "line": 53, + "line": 76, "column": 4 }, "end": { - "line": 53, - "column": 19 + "line": 76, + "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2123, - "end": 2133, + "start": 2636, + "end": 2649, "loc": { "start": { - "line": 53, - "column": 8 + "line": 76, + "column": 10 }, "end": { - "line": 53, - "column": 18 + "line": 76, + "column": 23 } }, "id": { "type": "Identifier", - "start": 2123, - "end": 2129, + "start": 2636, + "end": 2643, "loc": { "start": { - "line": 53, - "column": 8 + "line": 76, + "column": 10 }, "end": { - "line": 53, - "column": 14 + "line": 76, + "column": 17 }, - "identifierName": "lenUVs" + "identifierName": "offsets" }, - "name": "lenUVs" + "name": "offsets" }, "init": { - "type": "NumericLiteral", - "start": 2132, - "end": 2133, + "type": "ArrayExpression", + "start": 2646, + "end": 2649, "loc": { "start": { - "line": 53, - "column": 17 + "line": 76, + "column": 20 }, "end": { - "line": 53, - "column": 18 + "line": 76, + "column": 23 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "elements": [] } } ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 2139, - "end": 2158, - "loc": { - "start": { - "line": 54, - "column": 4 - }, - "end": { - "line": 54, - "column": 23 - } - }, - "declarations": [ + "kind": "const", + "trailingComments": [ { - "type": "VariableDeclarator", - "start": 2143, - "end": 2157, + "type": "CommentLine", + "value": " Store arrays' offsets and lengths", + "start": 2656, + "end": 2692, "loc": { "start": { - "line": 54, - "column": 8 + "line": 78, + "column": 4 }, "end": { - "line": 54, - "column": 22 + "line": 78, + "column": 40 } - }, - "id": { - "type": "Identifier", - "start": 2143, - "end": 2153, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 18 - }, - "identifierName": "lenIndices" - }, - "name": "lenIndices" - }, - "init": { - "type": "NumericLiteral", - "start": 2156, - "end": 2157, - "loc": { - "start": { - "line": 54, - "column": 21 - }, - "end": { - "line": 54, - "column": 22 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 } } - ], - "kind": "let" + ] }, { - "type": "VariableDeclaration", - "start": 2163, - "end": 2186, + "type": "ForStatement", + "start": 2697, + "end": 3210, "loc": { "start": { - "line": 55, + "line": 79, "column": 4 }, "end": { - "line": 55, - "column": 27 + "line": 92, + "column": 5 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2167, - "end": 2185, - "loc": { - "start": { - "line": 55, - "column": 8 - }, - "end": { - "line": 55, - "column": 26 - } - }, - "id": { - "type": "Identifier", - "start": 2167, - "end": 2181, - "loc": { - "start": { - "line": 55, - "column": 8 - }, - "end": { - "line": 55, - "column": 22 - }, - "identifierName": "lenEdgeIndices" - }, - "name": "lenEdgeIndices" + "init": { + "type": "VariableDeclaration", + "start": 2702, + "end": 2711, + "loc": { + "start": { + "line": 79, + "column": 9 }, - "init": { - "type": "NumericLiteral", - "start": 2184, - "end": 2185, + "end": { + "line": 79, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2706, + "end": 2711, "loc": { "start": { - "line": 55, - "column": 25 + "line": 79, + "column": 13 }, "end": { - "line": 55, - "column": 26 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 2191, - "end": 2211, - "loc": { - "start": { - "line": 56, - "column": 4 - }, - "end": { - "line": 56, - "column": 24 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2195, - "end": 2210, - "loc": { - "start": { - "line": 56, - "column": 8 - }, - "end": { - "line": 56, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 2195, - "end": 2206, - "loc": { - "start": { - "line": 56, - "column": 8 - }, - "end": { - "line": 56, - "column": 19 - }, - "identifierName": "lenMatrices" - }, - "name": "lenMatrices" - }, - "init": { - "type": "NumericLiteral", - "start": 2209, - "end": 2210, - "loc": { - "start": { - "line": 56, - "column": 22 - }, - "end": { - "line": 56, - "column": 23 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 2216, - "end": 2236, - "loc": { - "start": { - "line": 57, - "column": 4 - }, - "end": { - "line": 57, - "column": 24 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2220, - "end": 2235, - "loc": { - "start": { - "line": 57, - "column": 8 - }, - "end": { - "line": 57, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 2220, - "end": 2231, - "loc": { - "start": { - "line": 57, - "column": 8 - }, - "end": { - "line": 57, - "column": 19 - }, - "identifierName": "lenTextures" - }, - "name": "lenTextures" - }, - "init": { - "type": "NumericLiteral", - "start": 2234, - "end": 2235, - "loc": { - "start": { - "line": 57, - "column": 22 - }, - "end": { - "line": 57, - "column": 23 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "ForStatement", - "start": 2242, - "end": 3001, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 79, - "column": 5 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 2247, - "end": 2268, - "loc": { - "start": { - "line": 59, - "column": 9 - }, - "end": { - "line": 59, - "column": 30 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2251, - "end": 2268, - "loc": { - "start": { - "line": 59, - "column": 13 - }, - "end": { - "line": 59, - "column": 30 + "line": 79, + "column": 18 } }, "id": { "type": "Identifier", - "start": 2251, - "end": 2264, + "start": 2706, + "end": 2707, "loc": { "start": { - "line": 59, + "line": 79, "column": 13 }, "end": { - "line": 59, - "column": 26 + "line": 79, + "column": 14 }, - "identifierName": "geometryIndex" + "identifierName": "i" }, - "name": "geometryIndex" + "name": "i", + "leadingComments": null }, "init": { "type": "NumericLiteral", - "start": 2267, - "end": 2268, + "start": 2710, + "end": 2711, "loc": { "start": { - "line": 59, - "column": 29 + "line": 79, + "column": 17 }, "end": { - "line": 59, - "column": 30 + "line": 79, + "column": 18 } }, "extra": { @@ -3528,203 +4451,205 @@ "raw": "0" }, "value": 0 - } + }, + "leadingComments": null } ], - "kind": "let" + "kind": "let", + "leadingComments": null }, "test": { "type": "BinaryExpression", - "start": 2270, - "end": 2299, + "start": 2713, + "end": 2726, "loc": { "start": { - "line": 59, - "column": 32 + "line": 79, + "column": 20 }, "end": { - "line": 59, - "column": 61 + "line": 79, + "column": 33 } }, "left": { "type": "Identifier", - "start": 2270, - "end": 2283, + "start": 2713, + "end": 2714, "loc": { "start": { - "line": 59, - "column": 32 + "line": 79, + "column": 20 }, "end": { - "line": 59, - "column": 45 + "line": 79, + "column": 21 }, - "identifierName": "geometryIndex" + "identifierName": "i" }, - "name": "geometryIndex" + "name": "i" }, "operator": "<", "right": { "type": "Identifier", - "start": 2286, - "end": 2299, + "start": 2717, + "end": 2726, "loc": { "start": { - "line": 59, - "column": 48 + "line": 79, + "column": 24 }, "end": { - "line": 59, - "column": 61 + "line": 79, + "column": 33 }, - "identifierName": "numGeometries" + "identifierName": "arraysCnt" }, - "name": "numGeometries" + "name": "arraysCnt" } }, "update": { "type": "UpdateExpression", - "start": 2301, - "end": 2316, + "start": 2728, + "end": 2731, "loc": { "start": { - "line": 59, - "column": 63 + "line": 79, + "column": 35 }, "end": { - "line": 59, - "column": 78 + "line": 79, + "column": 38 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", - "start": 2301, - "end": 2314, + "start": 2728, + "end": 2729, "loc": { "start": { - "line": 59, - "column": 63 + "line": 79, + "column": 35 }, "end": { - "line": 59, - "column": 76 + "line": 79, + "column": 36 }, - "identifierName": "geometryIndex" + "identifierName": "i" }, - "name": "geometryIndex" + "name": "i" } }, "body": { "type": "BlockStatement", - "start": 2318, - "end": 3001, + "start": 2733, + "end": 3210, "loc": { "start": { - "line": 59, - "column": 80 + "line": 79, + "column": 40 }, "end": { - "line": 79, + "line": 92, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 2328, - "end": 2376, + "start": 2743, + "end": 2765, "loc": { "start": { - "line": 60, + "line": 80, "column": 8 }, "end": { - "line": 60, - "column": 56 + "line": 80, + "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2334, - "end": 2375, + "start": 2749, + "end": 2764, "loc": { "start": { - "line": 60, + "line": 80, "column": 14 }, "end": { - "line": 60, - "column": 55 + "line": 80, + "column": 29 } }, "id": { "type": "Identifier", - "start": 2334, - "end": 2342, + "start": 2749, + "end": 2752, "loc": { "start": { - "line": 60, + "line": 80, "column": 14 }, "end": { - "line": 60, - "column": 22 + "line": 80, + "column": 17 }, - "identifierName": "geometry" + "identifierName": "arr" }, - "name": "geometry" + "name": "arr" }, "init": { "type": "MemberExpression", - "start": 2345, - "end": 2375, + "start": 2755, + "end": 2764, "loc": { "start": { - "line": 60, - "column": 25 + "line": 80, + "column": 20 }, "end": { - "line": 60, - "column": 55 + "line": 80, + "column": 29 } }, "object": { "type": "Identifier", - "start": 2345, - "end": 2359, + "start": 2755, + "end": 2761, "loc": { "start": { - "line": 60, - "column": 25 + "line": 80, + "column": 20 }, "end": { - "line": 60, - "column": 39 + "line": 80, + "column": 26 }, - "identifierName": "geometriesList" + "identifierName": "arrays" }, - "name": "geometriesList" + "name": "arrays" }, "property": { "type": "Identifier", - "start": 2361, - "end": 2374, + "start": 2762, + "end": 2763, "loc": { "start": { - "line": 60, - "column": 41 + "line": 80, + "column": 27 }, "end": { - "line": 60, - "column": 54 + "line": 80, + "column": 28 }, - "identifierName": "geometryIndex" + "identifierName": "i" }, - "name": "geometryIndex" + "name": "i" }, "computed": true } @@ -3733,2022 +4658,2008 @@ "kind": "const" }, { - "type": "IfStatement", - "start": 2385, - "end": 2493, + "type": "VariableDeclaration", + "start": 2774, + "end": 2808, "loc": { "start": { - "line": 61, + "line": 81, "column": 8 }, "end": { - "line": 63, - "column": 9 + "line": 81, + "column": 42 } }, - "test": { - "type": "MemberExpression", - "start": 2389, - "end": 2416, - "loc": { - "start": { - "line": 61, - "column": 12 - }, - "end": { - "line": 61, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 2389, - "end": 2397, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2780, + "end": 2807, "loc": { "start": { - "line": 61, - "column": 12 + "line": 81, + "column": 14 }, "end": { - "line": 61, - "column": 20 - }, - "identifierName": "geometry" + "line": 81, + "column": 41 + } }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 2398, - "end": 2416, - "loc": { - "start": { - "line": 61, - "column": 21 - }, - "end": { - "line": 61, - "column": 39 + "id": { + "type": "Identifier", + "start": 2780, + "end": 2783, + "loc": { + "start": { + "line": 81, + "column": 14 + }, + "end": { + "line": 81, + "column": 17 + }, + "identifierName": "BPE" }, - "identifierName": "positionsQuantized" - }, - "name": "positionsQuantized" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 2418, - "end": 2493, - "loc": { - "start": { - "line": 61, - "column": 41 + "name": "BPE" }, - "end": { - "line": 63, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2432, - "end": 2483, + "init": { + "type": "MemberExpression", + "start": 2786, + "end": 2807, "loc": { "start": { - "line": 62, - "column": 12 + "line": 81, + "column": 20 }, "end": { - "line": 62, - "column": 63 + "line": 81, + "column": 41 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2432, - "end": 2482, + "object": { + "type": "Identifier", + "start": 2786, + "end": 2789, "loc": { "start": { - "line": 62, - "column": 12 + "line": 81, + "column": 20 }, "end": { - "line": 62, - "column": 62 - } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 2432, - "end": 2444, - "loc": { - "start": { - "line": 62, - "column": 12 - }, - "end": { - "line": 62, - "column": 24 - }, - "identifierName": "lenPositions" + "line": 81, + "column": 23 }, - "name": "lenPositions" + "identifierName": "arr" }, - "right": { - "type": "MemberExpression", - "start": 2448, - "end": 2482, - "loc": { - "start": { - "line": 62, - "column": 28 - }, - "end": { - "line": 62, - "column": 62 - } - }, - "object": { - "type": "MemberExpression", - "start": 2448, - "end": 2475, - "loc": { - "start": { - "line": 62, - "column": 28 - }, - "end": { - "line": 62, - "column": 55 - } - }, - "object": { - "type": "Identifier", - "start": 2448, - "end": 2456, - "loc": { - "start": { - "line": 62, - "column": 28 - }, - "end": { - "line": 62, - "column": 36 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 2457, - "end": 2475, - "loc": { - "start": { - "line": 62, - "column": 37 - }, - "end": { - "line": 62, - "column": 55 - }, - "identifierName": "positionsQuantized" - }, - "name": "positionsQuantized" - }, - "computed": false + "name": "arr" + }, + "property": { + "type": "Identifier", + "start": 2790, + "end": 2807, + "loc": { + "start": { + "line": 81, + "column": 24 }, - "property": { - "type": "Identifier", - "start": 2476, - "end": 2482, - "loc": { - "start": { - "line": 62, - "column": 56 - }, - "end": { - "line": 62, - "column": 62 - }, - "identifierName": "length" - }, - "name": "length" + "end": { + "line": 81, + "column": 41 }, - "computed": false - } + "identifierName": "BYTES_PER_ELEMENT" + }, + "name": "BYTES_PER_ELEMENT" + }, + "computed": false + } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " align to BPE, so the arrayBuffer can be used for a typed array", + "start": 2817, + "end": 2882, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 73 } } - ], - "directives": [] - }, - "alternate": null + } + ] }, { - "type": "IfStatement", - "start": 2502, - "end": 2606, + "type": "ExpressionStatement", + "start": 2891, + "end": 2938, "loc": { "start": { - "line": 64, + "line": 83, "column": 8 }, "end": { - "line": 66, - "column": 9 + "line": 83, + "column": 55 } }, - "test": { - "type": "MemberExpression", - "start": 2506, - "end": 2532, + "expression": { + "type": "AssignmentExpression", + "start": 2891, + "end": 2937, "loc": { "start": { - "line": 64, - "column": 12 + "line": 83, + "column": 8 }, "end": { - "line": 64, - "column": 38 + "line": 83, + "column": 54 } }, - "object": { + "operator": "=", + "left": { "type": "Identifier", - "start": 2506, - "end": 2514, + "start": 2891, + "end": 2901, "loc": { "start": { - "line": 64, - "column": 12 + "line": 83, + "column": 8 }, "end": { - "line": 64, - "column": 20 + "line": 83, + "column": 18 }, - "identifierName": "geometry" + "identifierName": "byteOffset" }, - "name": "geometry" + "name": "byteOffset", + "leadingComments": null }, - "property": { - "type": "Identifier", - "start": 2515, - "end": 2532, + "right": { + "type": "BinaryExpression", + "start": 2904, + "end": 2937, "loc": { "start": { - "line": 64, + "line": 83, "column": 21 }, "end": { - "line": 64, - "column": 38 - }, - "identifierName": "normalsOctEncoded" - }, - "name": "normalsOctEncoded" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 2534, - "end": 2606, - "loc": { - "start": { - "line": 64, - "column": 40 + "line": 83, + "column": 54 + } }, - "end": { - "line": 66, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2548, - "end": 2596, + "left": { + "type": "CallExpression", + "start": 2904, + "end": 2931, "loc": { "start": { - "line": 65, - "column": 12 + "line": 83, + "column": 21 }, "end": { - "line": 65, - "column": 60 + "line": 83, + "column": 48 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2548, - "end": 2595, + "callee": { + "type": "MemberExpression", + "start": 2904, + "end": 2913, "loc": { "start": { - "line": 65, - "column": 12 + "line": 83, + "column": 21 }, "end": { - "line": 65, - "column": 59 + "line": 83, + "column": 30 } }, - "operator": "+=", - "left": { + "object": { "type": "Identifier", - "start": 2548, - "end": 2558, + "start": 2904, + "end": 2908, "loc": { "start": { - "line": 65, - "column": 12 + "line": 83, + "column": 21 }, "end": { - "line": 65, - "column": 22 + "line": 83, + "column": 25 }, - "identifierName": "lenNormals" + "identifierName": "Math" }, - "name": "lenNormals" + "name": "Math" }, - "right": { - "type": "MemberExpression", - "start": 2562, - "end": 2595, + "property": { + "type": "Identifier", + "start": 2909, + "end": 2913, "loc": { "start": { - "line": 65, + "line": 83, "column": 26 }, "end": { - "line": 65, - "column": 59 + "line": 83, + "column": 30 + }, + "identifierName": "ceil" + }, + "name": "ceil" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 2914, + "end": 2930, + "loc": { + "start": { + "line": 83, + "column": 31 + }, + "end": { + "line": 83, + "column": 47 } }, - "object": { - "type": "MemberExpression", - "start": 2562, - "end": 2588, + "left": { + "type": "Identifier", + "start": 2914, + "end": 2924, "loc": { "start": { - "line": 65, - "column": 26 + "line": 83, + "column": 31 }, "end": { - "line": 65, - "column": 52 - } - }, - "object": { - "type": "Identifier", - "start": 2562, - "end": 2570, - "loc": { - "start": { - "line": 65, - "column": 26 - }, - "end": { - "line": 65, - "column": 34 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 2571, - "end": 2588, - "loc": { - "start": { - "line": 65, - "column": 35 - }, - "end": { - "line": 65, - "column": 52 - }, - "identifierName": "normalsOctEncoded" + "line": 83, + "column": 41 }, - "name": "normalsOctEncoded" + "identifierName": "byteOffset" }, - "computed": false + "name": "byteOffset" }, - "property": { + "operator": "/", + "right": { "type": "Identifier", - "start": 2589, - "end": 2595, + "start": 2927, + "end": 2930, "loc": { "start": { - "line": 65, - "column": 53 + "line": 83, + "column": 44 }, "end": { - "line": 65, - "column": 59 + "line": 83, + "column": 47 }, - "identifierName": "length" + "identifierName": "BPE" }, - "name": "length" - }, - "computed": false + "name": "BPE" + } } - } + ] + }, + "operator": "*", + "right": { + "type": "Identifier", + "start": 2934, + "end": 2937, + "loc": { + "start": { + "line": 83, + "column": 51 + }, + "end": { + "line": 83, + "column": 54 + }, + "identifierName": "BPE" + }, + "name": "BPE" } - ], - "directives": [] + }, + "leadingComments": null }, - "alternate": null + "leadingComments": [ + { + "type": "CommentLine", + "value": " align to BPE, so the arrayBuffer can be used for a typed array", + "start": 2817, + "end": 2882, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 73 + } + } + } + ] }, { - "type": "IfStatement", - "start": 2615, - "end": 2716, + "type": "VariableDeclaration", + "start": 2947, + "end": 2981, "loc": { "start": { - "line": 67, + "line": 84, "column": 8 }, "end": { - "line": 69, - "column": 9 + "line": 84, + "column": 42 } }, - "test": { - "type": "MemberExpression", - "start": 2619, - "end": 2644, - "loc": { - "start": { - "line": 67, - "column": 12 - }, - "end": { - "line": 67, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 2619, - "end": 2627, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2953, + "end": 2980, "loc": { "start": { - "line": 67, - "column": 12 + "line": 84, + "column": 14 }, "end": { - "line": 67, - "column": 20 - }, - "identifierName": "geometry" + "line": 84, + "column": 41 + } }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 2628, - "end": 2644, - "loc": { - "start": { - "line": 67, - "column": 21 - }, - "end": { - "line": 67, - "column": 37 + "id": { + "type": "Identifier", + "start": 2953, + "end": 2963, + "loc": { + "start": { + "line": 84, + "column": 14 + }, + "end": { + "line": 84, + "column": 24 + }, + "identifierName": "byteLength" }, - "identifierName": "colorsCompressed" - }, - "name": "colorsCompressed" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 2646, - "end": 2716, - "loc": { - "start": { - "line": 67, - "column": 39 + "name": "byteLength" }, - "end": { - "line": 69, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2660, - "end": 2706, + "init": { + "type": "MemberExpression", + "start": 2966, + "end": 2980, "loc": { "start": { - "line": 68, - "column": 12 + "line": 84, + "column": 27 }, "end": { - "line": 68, - "column": 58 + "line": 84, + "column": 41 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2660, - "end": 2705, + "object": { + "type": "Identifier", + "start": 2966, + "end": 2969, "loc": { "start": { - "line": 68, - "column": 12 + "line": 84, + "column": 27 }, "end": { - "line": 68, - "column": 57 - } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 2660, - "end": 2669, - "loc": { - "start": { - "line": 68, - "column": 12 - }, - "end": { - "line": 68, - "column": 21 - }, - "identifierName": "lenColors" + "line": 84, + "column": 30 }, - "name": "lenColors" + "identifierName": "arr" }, - "right": { - "type": "MemberExpression", - "start": 2673, - "end": 2705, - "loc": { - "start": { - "line": 68, - "column": 25 - }, - "end": { - "line": 68, - "column": 57 - } - }, - "object": { - "type": "MemberExpression", - "start": 2673, - "end": 2698, - "loc": { - "start": { - "line": 68, - "column": 25 - }, - "end": { - "line": 68, - "column": 50 - } - }, - "object": { - "type": "Identifier", - "start": 2673, - "end": 2681, - "loc": { - "start": { - "line": 68, - "column": 25 - }, - "end": { - "line": 68, - "column": 33 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 2682, - "end": 2698, - "loc": { - "start": { - "line": 68, - "column": 34 - }, - "end": { - "line": 68, - "column": 50 - }, - "identifierName": "colorsCompressed" - }, - "name": "colorsCompressed" - }, - "computed": false + "name": "arr" + }, + "property": { + "type": "Identifier", + "start": 2970, + "end": 2980, + "loc": { + "start": { + "line": 84, + "column": 31 }, - "property": { - "type": "Identifier", - "start": 2699, - "end": 2705, - "loc": { - "start": { - "line": 68, - "column": 51 - }, - "end": { - "line": 68, - "column": 57 - }, - "identifierName": "length" - }, - "name": "length" + "end": { + "line": 84, + "column": 41 }, - "computed": false - } - } + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false } - ], - "directives": [] - }, - "alternate": null + } + ], + "kind": "const" }, { - "type": "IfStatement", - "start": 2725, - "end": 2797, + "type": "VariableDeclaration", + "start": 2991, + "end": 3013, "loc": { "start": { - "line": 70, + "line": 86, "column": 8 }, "end": { - "line": 72, - "column": 9 + "line": 86, + "column": 30 } }, - "test": { - "type": "MemberExpression", - "start": 2729, - "end": 2741, - "loc": { - "start": { - "line": 70, - "column": 12 - }, - "end": { - "line": 70, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 2729, - "end": 2737, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2997, + "end": 3012, "loc": { "start": { - "line": 70, - "column": 12 + "line": 86, + "column": 14 }, "end": { - "line": 70, - "column": 20 - }, - "identifierName": "geometry" + "line": 86, + "column": 29 + } }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 2738, - "end": 2741, - "loc": { - "start": { - "line": 70, - "column": 21 - }, - "end": { - "line": 70, - "column": 24 + "id": { + "type": "Identifier", + "start": 2997, + "end": 3000, + "loc": { + "start": { + "line": 86, + "column": 14 + }, + "end": { + "line": 86, + "column": 17 + }, + "identifierName": "idx" }, - "identifierName": "uvs" - }, - "name": "uvs" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 2743, - "end": 2797, - "loc": { - "start": { - "line": 70, - "column": 26 + "name": "idx" }, - "end": { - "line": 72, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2757, - "end": 2787, + "init": { + "type": "BinaryExpression", + "start": 3003, + "end": 3012, "loc": { "start": { - "line": 71, - "column": 12 + "line": 86, + "column": 20 }, "end": { - "line": 71, - "column": 42 + "line": 86, + "column": 29 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2757, - "end": 2786, + "left": { + "type": "NumericLiteral", + "start": 3003, + "end": 3004, "loc": { "start": { - "line": 71, - "column": 12 + "line": 86, + "column": 20 }, "end": { - "line": 71, - "column": 41 + "line": 86, + "column": 21 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 3007, + "end": 3012, + "loc": { + "start": { + "line": 86, + "column": 24 + }, + "end": { + "line": 86, + "column": 29 } }, - "operator": "+=", "left": { - "type": "Identifier", - "start": 2757, - "end": 2763, + "type": "NumericLiteral", + "start": 3007, + "end": 3008, "loc": { "start": { - "line": 71, - "column": 12 + "line": 86, + "column": 24 }, "end": { - "line": 71, - "column": 18 - }, - "identifierName": "lenUVs" + "line": 86, + "column": 25 + } }, - "name": "lenUVs" + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 }, + "operator": "*", "right": { - "type": "MemberExpression", - "start": 2767, - "end": 2786, + "type": "Identifier", + "start": 3011, + "end": 3012, "loc": { "start": { - "line": 71, - "column": 22 + "line": 86, + "column": 28 }, "end": { - "line": 71, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 2767, - "end": 2779, - "loc": { - "start": { - "line": 71, - "column": 22 - }, - "end": { - "line": 71, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 2767, - "end": 2775, - "loc": { - "start": { - "line": 71, - "column": 22 - }, - "end": { - "line": 71, - "column": 30 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 2776, - "end": 2779, - "loc": { - "start": { - "line": 71, - "column": 31 - }, - "end": { - "line": 71, - "column": 34 - }, - "identifierName": "uvs" - }, - "name": "uvs" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2780, - "end": 2786, - "loc": { - "start": { - "line": 71, - "column": 35 - }, - "end": { - "line": 71, - "column": 41 - }, - "identifierName": "length" + "line": 86, + "column": 29 }, - "name": "length" + "identifierName": "i" }, - "computed": false + "name": "i" } } } - ], - "directives": [] - }, - "alternate": null + } + ], + "kind": "const" }, { - "type": "IfStatement", - "start": 2806, - "end": 2890, + "type": "ExpressionStatement", + "start": 3022, + "end": 3074, "loc": { "start": { - "line": 73, + "line": 87, "column": 8 }, "end": { - "line": 75, - "column": 9 + "line": 87, + "column": 60 } }, - "test": { - "type": "MemberExpression", - "start": 2810, - "end": 2826, + "expression": { + "type": "CallExpression", + "start": 3022, + "end": 3073, "loc": { "start": { - "line": 73, - "column": 12 + "line": 87, + "column": 8 }, "end": { - "line": 73, - "column": 28 + "line": 87, + "column": 59 } }, - "object": { - "type": "Identifier", - "start": 2810, - "end": 2818, + "callee": { + "type": "MemberExpression", + "start": 3022, + "end": 3040, "loc": { "start": { - "line": 73, - "column": 12 + "line": 87, + "column": 8 }, "end": { - "line": 73, - "column": 20 - }, - "identifierName": "geometry" + "line": 87, + "column": 26 + } }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 2819, - "end": 2826, - "loc": { - "start": { - "line": 73, - "column": 21 - }, - "end": { - "line": 73, - "column": 28 + "object": { + "type": "Identifier", + "start": 3022, + "end": 3030, + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 16 + }, + "identifierName": "dataView" }, - "identifierName": "indices" + "name": "dataView" }, - "name": "indices" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 2828, - "end": 2890, - "loc": { - "start": { - "line": 73, - "column": 30 + "property": { + "type": "Identifier", + "start": 3031, + "end": 3040, + "loc": { + "start": { + "line": 87, + "column": 17 + }, + "end": { + "line": 87, + "column": 26 + }, + "identifierName": "setUint32" + }, + "name": "setUint32" }, - "end": { - "line": 75, - "column": 9 - } + "computed": false }, - "body": [ + "arguments": [ { - "type": "ExpressionStatement", - "start": 2842, - "end": 2880, + "type": "BinaryExpression", + "start": 3041, + "end": 3054, "loc": { "start": { - "line": 74, - "column": 12 + "line": 87, + "column": 27 }, "end": { - "line": 74, - "column": 50 + "line": 87, + "column": 40 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2842, - "end": 2879, + "left": { + "type": "Identifier", + "start": 3041, + "end": 3044, "loc": { "start": { - "line": 74, - "column": 12 + "line": 87, + "column": 27 }, "end": { - "line": 74, - "column": 49 - } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 2842, - "end": 2852, - "loc": { - "start": { - "line": 74, - "column": 12 - }, - "end": { - "line": 74, - "column": 22 - }, - "identifierName": "lenIndices" + "line": 87, + "column": 30 }, - "name": "lenIndices" + "identifierName": "idx" }, - "right": { - "type": "MemberExpression", - "start": 2856, - "end": 2879, - "loc": { - "start": { - "line": 74, - "column": 26 - }, - "end": { - "line": 74, - "column": 49 - } - }, - "object": { - "type": "MemberExpression", - "start": 2856, - "end": 2872, - "loc": { - "start": { - "line": 74, - "column": 26 - }, - "end": { - "line": 74, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 2856, - "end": 2864, - "loc": { - "start": { - "line": 74, - "column": 26 - }, - "end": { - "line": 74, - "column": 34 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 2865, - "end": 2872, - "loc": { - "start": { - "line": 74, - "column": 35 - }, - "end": { - "line": 74, - "column": 42 - }, - "identifierName": "indices" - }, - "name": "indices" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2873, - "end": 2879, - "loc": { - "start": { - "line": 74, - "column": 43 - }, - "end": { - "line": 74, - "column": 49 - }, - "identifierName": "length" - }, - "name": "length" + "name": "idx" + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 3053, + "end": 3054, + "loc": { + "start": { + "line": 87, + "column": 39 }, - "computed": false - } + "end": { + "line": 87, + "column": 40 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 } + }, + { + "type": "Identifier", + "start": 3056, + "end": 3066, + "loc": { + "start": { + "line": 87, + "column": 42 + }, + "end": { + "line": 87, + "column": 52 + }, + "identifierName": "byteOffset" + }, + "name": "byteOffset" + }, + { + "type": "BooleanLiteral", + "start": 3068, + "end": 3072, + "loc": { + "start": { + "line": 87, + "column": 54 + }, + "end": { + "line": 87, + "column": 58 + } + }, + "value": true } - ], - "directives": [] - }, - "alternate": null + ] + } }, { - "type": "IfStatement", - "start": 2899, - "end": 2995, + "type": "ExpressionStatement", + "start": 3083, + "end": 3135, "loc": { "start": { - "line": 76, + "line": 88, "column": 8 }, "end": { - "line": 78, - "column": 9 + "line": 88, + "column": 60 } }, - "test": { - "type": "MemberExpression", - "start": 2903, - "end": 2923, + "expression": { + "type": "CallExpression", + "start": 3083, + "end": 3134, "loc": { "start": { - "line": 76, - "column": 12 + "line": 88, + "column": 8 }, "end": { - "line": 76, - "column": 32 + "line": 88, + "column": 59 } }, - "object": { - "type": "Identifier", - "start": 2903, - "end": 2911, + "callee": { + "type": "MemberExpression", + "start": 3083, + "end": 3101, "loc": { "start": { - "line": 76, - "column": 12 + "line": 88, + "column": 8 }, "end": { - "line": 76, - "column": 20 - }, - "identifierName": "geometry" + "line": 88, + "column": 26 + } }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 2912, - "end": 2923, - "loc": { - "start": { - "line": 76, - "column": 21 - }, - "end": { - "line": 76, - "column": 32 + "object": { + "type": "Identifier", + "start": 3083, + "end": 3091, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 16 + }, + "identifierName": "dataView" }, - "identifierName": "edgeIndices" + "name": "dataView" }, - "name": "edgeIndices" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 2925, - "end": 2995, - "loc": { - "start": { - "line": 76, - "column": 34 + "property": { + "type": "Identifier", + "start": 3092, + "end": 3101, + "loc": { + "start": { + "line": 88, + "column": 17 + }, + "end": { + "line": 88, + "column": 26 + }, + "identifierName": "setUint32" + }, + "name": "setUint32" }, - "end": { - "line": 78, - "column": 9 - } + "computed": false }, - "body": [ + "arguments": [ { - "type": "ExpressionStatement", - "start": 2939, - "end": 2985, + "type": "BinaryExpression", + "start": 3102, + "end": 3115, "loc": { "start": { - "line": 77, - "column": 12 + "line": 88, + "column": 27 }, "end": { - "line": 77, - "column": 58 + "line": 88, + "column": 40 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2939, - "end": 2984, + "left": { + "type": "BinaryExpression", + "start": 3103, + "end": 3110, "loc": { "start": { - "line": 77, - "column": 12 + "line": 88, + "column": 28 }, "end": { - "line": 77, - "column": 57 + "line": 88, + "column": 35 } }, - "operator": "+=", "left": { "type": "Identifier", - "start": 2939, - "end": 2953, + "start": 3103, + "end": 3106, "loc": { "start": { - "line": 77, - "column": 12 + "line": 88, + "column": 28 }, "end": { - "line": 77, - "column": 26 + "line": 88, + "column": 31 }, - "identifierName": "lenEdgeIndices" + "identifierName": "idx" }, - "name": "lenEdgeIndices" + "name": "idx" }, + "operator": "+", "right": { - "type": "MemberExpression", - "start": 2957, - "end": 2984, + "type": "NumericLiteral", + "start": 3109, + "end": 3110, "loc": { "start": { - "line": 77, - "column": 30 + "line": 88, + "column": 34 }, "end": { - "line": 77, - "column": 57 + "line": 88, + "column": 35 } }, - "object": { - "type": "MemberExpression", - "start": 2957, - "end": 2977, - "loc": { - "start": { - "line": 77, - "column": 30 - }, - "end": { - "line": 77, - "column": 50 - } - }, - "object": { - "type": "Identifier", - "start": 2957, - "end": 2965, - "loc": { - "start": { - "line": 77, - "column": 30 - }, - "end": { - "line": 77, - "column": 38 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 2966, - "end": 2977, - "loc": { - "start": { - "line": 77, - "column": 39 - }, - "end": { - "line": 77, - "column": 50 - }, - "identifierName": "edgeIndices" - }, - "name": "edgeIndices" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2978, - "end": 2984, - "loc": { - "start": { - "line": 77, - "column": 51 - }, - "end": { - "line": 77, - "column": 57 - }, - "identifierName": "length" - }, - "name": "length" + "extra": { + "rawValue": 1, + "raw": "1" }, - "computed": false + "value": 1 + }, + "extra": { + "parenthesized": true, + "parenStart": 3102 } + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 3114, + "end": 3115, + "loc": { + "start": { + "line": 88, + "column": 39 + }, + "end": { + "line": 88, + "column": 40 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 } + }, + { + "type": "Identifier", + "start": 3117, + "end": 3127, + "loc": { + "start": { + "line": 88, + "column": 42 + }, + "end": { + "line": 88, + "column": 52 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + { + "type": "BooleanLiteral", + "start": 3129, + "end": 3133, + "loc": { + "start": { + "line": 88, + "column": 54 + }, + "end": { + "line": 88, + "column": 58 + } + }, + "value": true } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } - }, - { - "type": "ForStatement", - "start": 3007, - "end": 3324, - "loc": { - "start": { - "line": 81, - "column": 4 - }, - "end": { - "line": 89, - "column": 5 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 3012, - "end": 3032, - "loc": { - "start": { - "line": 81, - "column": 9 + ] + } }, - "end": { - "line": 81, - "column": 29 - } - }, - "declarations": [ { - "type": "VariableDeclarator", - "start": 3016, - "end": 3032, + "type": "ExpressionStatement", + "start": 3145, + "end": 3170, "loc": { "start": { - "line": 81, - "column": 13 + "line": 90, + "column": 8 }, "end": { - "line": 81, - "column": 29 + "line": 90, + "column": 33 } }, - "id": { - "type": "Identifier", - "start": 3016, - "end": 3028, + "expression": { + "type": "CallExpression", + "start": 3145, + "end": 3169, "loc": { "start": { - "line": 81, - "column": 13 + "line": 90, + "column": 8 }, "end": { - "line": 81, - "column": 25 + "line": 90, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3145, + "end": 3157, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 90, + "column": 20 + } }, - "identifierName": "textureIndex" + "object": { + "type": "Identifier", + "start": 3145, + "end": 3152, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 90, + "column": 15 + }, + "identifierName": "offsets" + }, + "name": "offsets" + }, + "property": { + "type": "Identifier", + "start": 3153, + "end": 3157, + "loc": { + "start": { + "line": 90, + "column": 16 + }, + "end": { + "line": 90, + "column": 20 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false }, - "name": "textureIndex" + "arguments": [ + { + "type": "Identifier", + "start": 3158, + "end": 3168, + "loc": { + "start": { + "line": 90, + "column": 21 + }, + "end": { + "line": 90, + "column": 31 + }, + "identifierName": "byteOffset" + }, + "name": "byteOffset" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 3179, + "end": 3204, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 33 + } }, - "init": { - "type": "NumericLiteral", - "start": 3031, - "end": 3032, + "expression": { + "type": "AssignmentExpression", + "start": 3179, + "end": 3203, "loc": { "start": { - "line": 81, - "column": 28 + "line": 91, + "column": 8 }, "end": { - "line": 81, - "column": 29 + "line": 91, + "column": 32 } }, - "extra": { - "rawValue": 0, - "raw": "0" + "operator": "+=", + "left": { + "type": "Identifier", + "start": 3179, + "end": 3189, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 18 + }, + "identifierName": "byteOffset" + }, + "name": "byteOffset" }, - "value": 0 + "right": { + "type": "Identifier", + "start": 3193, + "end": 3203, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 32 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + } } } ], - "kind": "let" + "directives": [] }, - "test": { - "type": "BinaryExpression", - "start": 3034, - "end": 3060, - "loc": { - "start": { - "line": 81, - "column": 31 - }, - "end": { - "line": 81, - "column": 57 - } - }, - "left": { - "type": "Identifier", - "start": 3034, - "end": 3046, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Store arrays' offsets and lengths", + "start": 2656, + "end": 2692, "loc": { "start": { - "line": 81, - "column": 31 + "line": 78, + "column": 4 }, "end": { - "line": 81, - "column": 43 - }, - "identifierName": "textureIndex" - }, - "name": "textureIndex" + "line": 78, + "column": 40 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 3216, + "end": 3261, + "loc": { + "start": { + "line": 94, + "column": 4 }, - "operator": "<", - "right": { - "type": "Identifier", - "start": 3049, - "end": 3060, + "end": { + "line": 94, + "column": 49 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3222, + "end": 3260, "loc": { "start": { - "line": 81, - "column": 46 + "line": 94, + "column": 10 }, "end": { - "line": 81, - "column": 57 + "line": 94, + "column": 48 + } + }, + "id": { + "type": "Identifier", + "start": 3222, + "end": 3231, + "loc": { + "start": { + "line": 94, + "column": 10 + }, + "end": { + "line": 94, + "column": 19 + }, + "identifierName": "dataArray" }, - "identifierName": "numTextures" + "name": "dataArray" }, - "name": "numTextures" + "init": { + "type": "NewExpression", + "start": 3234, + "end": 3260, + "loc": { + "start": { + "line": 94, + "column": 22 + }, + "end": { + "line": 94, + "column": 48 + } + }, + "callee": { + "type": "Identifier", + "start": 3238, + "end": 3248, + "loc": { + "start": { + "line": 94, + "column": 26 + }, + "end": { + "line": 94, + "column": 36 + }, + "identifierName": "Uint8Array" + }, + "name": "Uint8Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 3249, + "end": 3259, + "loc": { + "start": { + "line": 94, + "column": 37 + }, + "end": { + "line": 94, + "column": 47 + }, + "identifierName": "byteOffset" + }, + "name": "byteOffset" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 3266, + "end": 3316, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 54 } }, - "update": { - "type": "UpdateExpression", - "start": 3062, - "end": 3076, + "expression": { + "type": "CallExpression", + "start": 3266, + "end": 3315, "loc": { "start": { - "line": 81, - "column": 59 + "line": 95, + "column": 4 }, "end": { - "line": 81, - "column": 73 + "line": 95, + "column": 53 } }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 3062, - "end": 3074, + "callee": { + "type": "MemberExpression", + "start": 3266, + "end": 3279, "loc": { "start": { - "line": 81, - "column": 59 + "line": 95, + "column": 4 }, "end": { - "line": 81, - "column": 71 - }, - "identifierName": "textureIndex" - }, - "name": "textureIndex" - } - }, - "body": { - "type": "BlockStatement", - "start": 3078, - "end": 3324, - "loc": { - "start": { - "line": 81, - "column": 75 + "line": 95, + "column": 17 + } }, - "end": { - "line": 89, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3088, - "end": 3134, + "object": { + "type": "Identifier", + "start": 3266, + "end": 3275, "loc": { "start": { - "line": 82, - "column": 8 + "line": 95, + "column": 4 }, "end": { - "line": 82, - "column": 54 - } + "line": 95, + "column": 13 + }, + "identifierName": "dataArray" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3094, - "end": 3133, - "loc": { - "start": { - "line": 82, - "column": 14 - }, - "end": { - "line": 82, - "column": 53 - } - }, - "id": { - "type": "Identifier", - "start": 3094, - "end": 3104, - "loc": { - "start": { - "line": 82, - "column": 14 - }, - "end": { - "line": 82, - "column": 24 - }, - "identifierName": "xktTexture" - }, - "name": "xktTexture" - }, - "init": { - "type": "MemberExpression", - "start": 3107, - "end": 3133, - "loc": { - "start": { - "line": 82, - "column": 27 - }, - "end": { - "line": 82, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 3107, - "end": 3119, - "loc": { - "start": { - "line": 82, - "column": 27 - }, - "end": { - "line": 82, - "column": 39 - }, - "identifierName": "texturesList" - }, - "name": "texturesList" - }, - "property": { - "type": "Identifier", - "start": 3120, - "end": 3132, - "loc": { - "start": { - "line": 82, - "column": 40 - }, - "end": { - "line": 82, - "column": 52 - }, - "identifierName": "textureIndex" - }, - "name": "textureIndex" - }, - "computed": true - } - } - ], - "kind": "const" + "name": "dataArray" }, - { - "type": "VariableDeclaration", - "start": 3143, - "end": 3182, + "property": { + "type": "Identifier", + "start": 3276, + "end": 3279, "loc": { "start": { - "line": 83, - "column": 8 + "line": 95, + "column": 14 }, "end": { - "line": 83, - "column": 47 - } + "line": 95, + "column": 17 + }, + "identifierName": "set" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3149, - "end": 3181, - "loc": { - "start": { - "line": 83, - "column": 14 - }, - "end": { - "line": 83, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 3149, - "end": 3158, - "loc": { - "start": { - "line": 83, - "column": 14 - }, - "end": { - "line": 83, - "column": 23 - }, - "identifierName": "imageData" - }, - "name": "imageData" - }, - "init": { - "type": "MemberExpression", - "start": 3161, - "end": 3181, - "loc": { - "start": { - "line": 83, - "column": 26 - }, - "end": { - "line": 83, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 3161, - "end": 3171, - "loc": { - "start": { - "line": 83, - "column": 26 - }, - "end": { - "line": 83, - "column": 36 - }, - "identifierName": "xktTexture" - }, - "name": "xktTexture" - }, - "property": { - "type": "Identifier", - "start": 3172, - "end": 3181, - "loc": { - "start": { - "line": 83, - "column": 37 - }, - "end": { - "line": 83, - "column": 46 - }, - "identifierName": "imageData" - }, - "name": "imageData" - }, - "computed": false - } - } - ], - "kind": "const" + "name": "set" }, + "computed": false + }, + "arguments": [ { - "type": "ExpressionStatement", - "start": 3191, - "end": 3227, + "type": "NewExpression", + "start": 3280, + "end": 3311, "loc": { "start": { - "line": 84, - "column": 8 + "line": 95, + "column": 18 }, "end": { - "line": 84, - "column": 44 + "line": 95, + "column": 49 } }, - "expression": { - "type": "AssignmentExpression", - "start": 3191, - "end": 3226, + "callee": { + "type": "Identifier", + "start": 3284, + "end": 3294, "loc": { "start": { - "line": 84, - "column": 8 + "line": 95, + "column": 22 }, "end": { - "line": 84, - "column": 43 - } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 3191, - "end": 3202, - "loc": { - "start": { - "line": 84, - "column": 8 - }, - "end": { - "line": 84, - "column": 19 - }, - "identifierName": "lenTextures" + "line": 95, + "column": 32 }, - "name": "lenTextures" + "identifierName": "Uint8Array" }, - "right": { + "name": "Uint8Array" + }, + "arguments": [ + { "type": "MemberExpression", - "start": 3206, - "end": 3226, + "start": 3295, + "end": 3310, "loc": { "start": { - "line": 84, - "column": 23 + "line": 95, + "column": 33 }, "end": { - "line": 84, - "column": 43 + "line": 95, + "column": 48 } }, "object": { "type": "Identifier", - "start": 3206, - "end": 3215, + "start": 3295, + "end": 3303, "loc": { "start": { - "line": 84, - "column": 23 + "line": 95, + "column": 33 }, "end": { - "line": 84, - "column": 32 + "line": 95, + "column": 41 }, - "identifierName": "imageData" + "identifierName": "dataView" }, - "name": "imageData" + "name": "dataView" }, "property": { "type": "Identifier", - "start": 3216, - "end": 3226, + "start": 3304, + "end": 3310, "loc": { "start": { - "line": 84, - "column": 33 + "line": 95, + "column": 42 }, "end": { - "line": 84, - "column": 43 + "line": 95, + "column": 48 }, - "identifierName": "byteLength" + "identifierName": "buffer" }, - "name": "byteLength" + "name": "buffer" }, "computed": false } - } + ] }, { - "type": "IfStatement", - "start": 3237, - "end": 3318, + "type": "NumericLiteral", + "start": 3313, + "end": 3314, "loc": { "start": { - "line": 86, - "column": 8 + "line": 95, + "column": 51 }, "end": { - "line": 88, - "column": 9 + "line": 95, + "column": 52 } }, - "test": { - "type": "MemberExpression", - "start": 3241, - "end": 3262, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } + }, + { + "type": "VariableDeclaration", + "start": 3322, + "end": 3511, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 101, + "column": 9 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3328, + "end": 3510, + "loc": { + "start": { + "line": 97, + "column": 10 + }, + "end": { + "line": 101, + "column": 8 + } + }, + "id": { + "type": "Identifier", + "start": 3328, + "end": 3354, + "loc": { + "start": { + "line": 97, + "column": 10 + }, + "end": { + "line": 97, + "column": 36 + }, + "identifierName": "requiresSwapToLittleEndian" + }, + "name": "requiresSwapToLittleEndian" + }, + "init": { + "type": "CallExpression", + "start": 3357, + "end": 3510, + "loc": { + "start": { + "line": 97, + "column": 39 + }, + "end": { + "line": 101, + "column": 8 + } + }, + "callee": { + "type": "FunctionExpression", + "start": 3358, + "end": 3507, "loc": { "start": { - "line": 86, - "column": 12 + "line": 97, + "column": 40 }, "end": { - "line": 86, - "column": 33 + "line": 101, + "column": 5 } }, - "object": { - "type": "Identifier", - "start": 3241, - "end": 3251, - "loc": { - "start": { - "line": 86, - "column": 12 - }, - "end": { - "line": 86, - "column": 22 - }, - "identifierName": "xktTexture" - }, - "name": "xktTexture" - }, - "property": { - "type": "Identifier", - "start": 3252, - "end": 3262, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3369, + "end": 3507, "loc": { "start": { - "line": 86, - "column": 23 + "line": 97, + "column": 51 }, "end": { - "line": 86, - "column": 33 - }, - "identifierName": "compressed" - }, - "name": "compressed" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 3264, - "end": 3318, - "loc": { - "start": { - "line": 86, - "column": 35 + "line": 101, + "column": 5 + } }, - "end": { - "line": 88, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3278, - "end": 3308, - "loc": { - "start": { - "line": 87, - "column": 12 + "body": [ + { + "type": "VariableDeclaration", + "start": 3379, + "end": 3413, + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 42 + } }, - "end": { - "line": 87, - "column": 42 - } + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3385, + "end": 3412, + "loc": { + "start": { + "line": 98, + "column": 14 + }, + "end": { + "line": 98, + "column": 41 + } + }, + "id": { + "type": "Identifier", + "start": 3385, + "end": 3391, + "loc": { + "start": { + "line": 98, + "column": 14 + }, + "end": { + "line": 98, + "column": 20 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "init": { + "type": "NewExpression", + "start": 3394, + "end": 3412, + "loc": { + "start": { + "line": 98, + "column": 23 + }, + "end": { + "line": 98, + "column": 41 + } + }, + "callee": { + "type": "Identifier", + "start": 3398, + "end": 3409, + "loc": { + "start": { + "line": 98, + "column": 27 + }, + "end": { + "line": 98, + "column": 38 + }, + "identifierName": "ArrayBuffer" + }, + "name": "ArrayBuffer" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3410, + "end": 3411, + "loc": { + "start": { + "line": 98, + "column": 39 + }, + "end": { + "line": 98, + "column": 40 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + ] + } + } + ], + "kind": "const" }, - "expression": { - "type": "UpdateExpression", - "start": 3278, - "end": 3307, + { + "type": "ExpressionStatement", + "start": 3422, + "end": 3453, "loc": { "start": { - "line": 87, - "column": 12 + "line": 99, + "column": 8 }, "end": { - "line": 87, - "column": 41 + "line": 99, + "column": 39 } }, - "operator": "++", - "prefix": false, - "argument": { - "type": "MemberExpression", - "start": 3278, - "end": 3305, + "expression": { + "type": "AssignmentExpression", + "start": 3422, + "end": 3452, "loc": { "start": { - "line": 87, - "column": 12 + "line": 99, + "column": 8 }, "end": { - "line": 87, - "column": 39 + "line": 99, + "column": 38 } }, - "object": { - "type": "Identifier", - "start": 3278, - "end": 3283, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3422, + "end": 3448, "loc": { "start": { - "line": 87, - "column": 12 + "line": 99, + "column": 8 }, "end": { - "line": 87, - "column": 17 + "line": 99, + "column": 34 + } + }, + "object": { + "type": "NewExpression", + "start": 3422, + "end": 3445, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 31 + } }, - "identifierName": "stats" + "callee": { + "type": "Identifier", + "start": 3426, + "end": 3437, + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 23 + }, + "identifierName": "Uint16Array" + }, + "name": "Uint16Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 3438, + "end": 3444, + "loc": { + "start": { + "line": 99, + "column": 24 + }, + "end": { + "line": 99, + "column": 30 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + ] }, - "name": "stats" + "property": { + "type": "NumericLiteral", + "start": 3446, + "end": 3447, + "loc": { + "start": { + "line": 99, + "column": 32 + }, + "end": { + "line": 99, + "column": 33 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true }, - "property": { - "type": "Identifier", - "start": 3284, - "end": 3305, + "right": { + "type": "NumericLiteral", + "start": 3451, + "end": 3452, "loc": { "start": { - "line": 87, - "column": 18 + "line": 99, + "column": 37 }, "end": { - "line": 87, - "column": 39 + "line": 99, + "column": 38 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + }, + { + "type": "ReturnStatement", + "start": 3462, + "end": 3501, + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 47 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 3469, + "end": 3500, + "loc": { + "start": { + "line": 100, + "column": 15 + }, + "end": { + "line": 100, + "column": 46 + } + }, + "left": { + "type": "MemberExpression", + "start": 3469, + "end": 3494, + "loc": { + "start": { + "line": 100, + "column": 15 }, - "identifierName": "numCompressedTextures" + "end": { + "line": 100, + "column": 40 + } }, - "name": "numCompressedTextures" + "object": { + "type": "NewExpression", + "start": 3469, + "end": 3491, + "loc": { + "start": { + "line": 100, + "column": 15 + }, + "end": { + "line": 100, + "column": 37 + } + }, + "callee": { + "type": "Identifier", + "start": 3473, + "end": 3483, + "loc": { + "start": { + "line": 100, + "column": 19 + }, + "end": { + "line": 100, + "column": 29 + }, + "identifierName": "Uint8Array" + }, + "name": "Uint8Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 3484, + "end": 3490, + "loc": { + "start": { + "line": 100, + "column": 30 + }, + "end": { + "line": 100, + "column": 36 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + ] + }, + "property": { + "type": "NumericLiteral", + "start": 3492, + "end": 3493, + "loc": { + "start": { + "line": 100, + "column": 38 + }, + "end": { + "line": 100, + "column": 39 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true }, - "computed": false + "operator": "!==", + "right": { + "type": "NumericLiteral", + "start": 3499, + "end": 3500, + "loc": { + "start": { + "line": 100, + "column": 45 + }, + "end": { + "line": 100, + "column": 46 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } } } - } - ], - "directives": [] + ], + "directives": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 3357 + } }, - "alternate": null + "arguments": [] } - ], - "directives": [] - } + } + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " Store arrays themselves", + "start": 3517, + "end": 3543, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 30 + } + } + } + ] }, { "type": "ForStatement", - "start": 3330, - "end": 3528, + "start": 3548, + "end": 4341, "loc": { "start": { - "line": 91, + "line": 104, "column": 4 }, "end": { - "line": 96, + "line": 125, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 3335, - "end": 3352, + "start": 3553, + "end": 3562, "loc": { "start": { - "line": 91, + "line": 104, "column": 9 }, "end": { - "line": 91, - "column": 26 + "line": 104, + "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3339, - "end": 3352, + "start": 3557, + "end": 3562, "loc": { "start": { - "line": 91, + "line": 104, "column": 13 }, "end": { - "line": 91, - "column": 26 + "line": 104, + "column": 18 } }, "id": { "type": "Identifier", - "start": 3339, - "end": 3348, + "start": 3557, + "end": 3558, "loc": { "start": { - "line": 91, + "line": 104, "column": 13 }, "end": { - "line": 91, - "column": 22 + "line": 104, + "column": 14 }, - "identifierName": "meshIndex" + "identifierName": "i" }, - "name": "meshIndex" + "name": "i", + "leadingComments": null }, "init": { "type": "NumericLiteral", - "start": 3351, - "end": 3352, + "start": 3561, + "end": 3562, "loc": { "start": { - "line": 91, - "column": 25 + "line": 104, + "column": 17 }, "end": { - "line": 91, - "column": 26 + "line": 104, + "column": 18 } }, "extra": { @@ -5756,203 +6667,205 @@ "raw": "0" }, "value": 0 - } + }, + "leadingComments": null } ], - "kind": "let" + "kind": "let", + "leadingComments": null }, "test": { "type": "BinaryExpression", - "start": 3354, - "end": 3375, + "start": 3564, + "end": 3577, "loc": { "start": { - "line": 91, - "column": 28 + "line": 104, + "column": 20 }, "end": { - "line": 91, - "column": 49 + "line": 104, + "column": 33 } }, "left": { "type": "Identifier", - "start": 3354, - "end": 3363, + "start": 3564, + "end": 3565, "loc": { "start": { - "line": 91, - "column": 28 + "line": 104, + "column": 20 }, "end": { - "line": 91, - "column": 37 + "line": 104, + "column": 21 }, - "identifierName": "meshIndex" + "identifierName": "i" }, - "name": "meshIndex" + "name": "i" }, "operator": "<", "right": { "type": "Identifier", - "start": 3366, - "end": 3375, + "start": 3568, + "end": 3577, "loc": { "start": { - "line": 91, - "column": 40 + "line": 104, + "column": 24 }, "end": { - "line": 91, - "column": 49 + "line": 104, + "column": 33 }, - "identifierName": "numMeshes" + "identifierName": "arraysCnt" }, - "name": "numMeshes" + "name": "arraysCnt" } }, "update": { "type": "UpdateExpression", - "start": 3377, - "end": 3388, + "start": 3579, + "end": 3582, "loc": { "start": { - "line": 91, - "column": 51 + "line": 104, + "column": 35 }, "end": { - "line": 91, - "column": 62 + "line": 104, + "column": 38 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", - "start": 3377, - "end": 3386, + "start": 3579, + "end": 3580, "loc": { "start": { - "line": 91, - "column": 51 + "line": 104, + "column": 35 }, "end": { - "line": 91, - "column": 60 + "line": 104, + "column": 36 }, - "identifierName": "meshIndex" + "identifierName": "i" }, - "name": "meshIndex" + "name": "i" } }, "body": { "type": "BlockStatement", - "start": 3390, - "end": 3528, + "start": 3584, + "end": 4341, "loc": { "start": { - "line": 91, - "column": 64 + "line": 104, + "column": 40 }, "end": { - "line": 96, + "line": 125, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 3400, - "end": 3435, + "start": 3594, + "end": 3616, "loc": { "start": { - "line": 92, + "line": 105, "column": 8 }, "end": { - "line": 92, - "column": 43 + "line": 105, + "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3406, - "end": 3434, + "start": 3600, + "end": 3615, "loc": { "start": { - "line": 92, + "line": 105, "column": 14 }, "end": { - "line": 92, - "column": 42 + "line": 105, + "column": 29 } }, "id": { "type": "Identifier", - "start": 3406, - "end": 3410, + "start": 3600, + "end": 3603, "loc": { "start": { - "line": 92, + "line": 105, "column": 14 }, "end": { - "line": 92, - "column": 18 + "line": 105, + "column": 17 }, - "identifierName": "mesh" + "identifierName": "arr" }, - "name": "mesh" + "name": "arr" }, "init": { "type": "MemberExpression", - "start": 3413, - "end": 3434, + "start": 3606, + "end": 3615, "loc": { "start": { - "line": 92, - "column": 21 + "line": 105, + "column": 20 }, "end": { - "line": 92, - "column": 42 + "line": 105, + "column": 29 } }, "object": { "type": "Identifier", - "start": 3413, - "end": 3423, + "start": 3606, + "end": 3612, "loc": { "start": { - "line": 92, - "column": 21 + "line": 105, + "column": 20 }, "end": { - "line": 92, - "column": 31 + "line": 105, + "column": 26 }, - "identifierName": "meshesList" + "identifierName": "arrays" }, - "name": "meshesList" + "name": "arrays" }, "property": { "type": "Identifier", - "start": 3424, - "end": 3433, + "start": 3613, + "end": 3614, "loc": { "start": { - "line": 92, - "column": 32 + "line": 105, + "column": 27 }, "end": { - "line": 92, - "column": 41 + "line": 105, + "column": 28 }, - "identifierName": "meshIndex" + "identifierName": "i" }, - "name": "meshIndex" + "name": "i" }, "computed": true } @@ -5961,3200 +6874,2778 @@ "kind": "const" }, { - "type": "IfStatement", - "start": 3444, - "end": 3522, + "type": "VariableDeclaration", + "start": 3625, + "end": 3701, "loc": { "start": { - "line": 93, + "line": 106, "column": 8 }, "end": { - "line": 95, - "column": 9 + "line": 106, + "column": 84 } }, - "test": { - "type": "BinaryExpression", - "start": 3448, - "end": 3478, - "loc": { - "start": { - "line": 93, - "column": 12 - }, - "end": { - "line": 93, - "column": 42 - } - }, - "left": { - "type": "MemberExpression", - "start": 3448, - "end": 3474, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3631, + "end": 3700, "loc": { "start": { - "line": 93, - "column": 12 + "line": 106, + "column": 14 }, "end": { - "line": 93, - "column": 38 + "line": 106, + "column": 83 } }, - "object": { - "type": "MemberExpression", - "start": 3448, - "end": 3461, - "loc": { - "start": { - "line": 93, - "column": 12 - }, - "end": { - "line": 93, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 3448, - "end": 3452, - "loc": { - "start": { - "line": 93, - "column": 12 - }, - "end": { - "line": 93, - "column": 16 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 3453, - "end": 3461, - "loc": { - "start": { - "line": 93, - "column": 17 - }, - "end": { - "line": 93, - "column": 25 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "computed": false - }, - "property": { + "id": { "type": "Identifier", - "start": 3462, - "end": 3474, + "start": 3631, + "end": 3639, "loc": { "start": { - "line": 93, - "column": 26 + "line": 106, + "column": 14 }, "end": { - "line": 93, - "column": 38 + "line": 106, + "column": 22 }, - "identifierName": "numInstances" - }, - "name": "numInstances" - }, - "computed": false - }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 3477, - "end": 3478, - "loc": { - "start": { - "line": 93, - "column": 41 + "identifierName": "subarray" }, - "end": { - "line": 93, - "column": 42 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3480, - "end": 3522, - "loc": { - "start": { - "line": 93, - "column": 44 + "name": "subarray" }, - "end": { - "line": 95, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3494, - "end": 3512, + "init": { + "type": "NewExpression", + "start": 3642, + "end": 3700, "loc": { "start": { - "line": 94, - "column": 12 + "line": 106, + "column": 25 }, "end": { - "line": 94, - "column": 30 + "line": 106, + "column": 83 } }, - "expression": { - "type": "AssignmentExpression", - "start": 3494, - "end": 3511, + "callee": { + "type": "Identifier", + "start": 3646, + "end": 3656, "loc": { "start": { - "line": 94, - "column": 12 + "line": 106, + "column": 29 }, "end": { - "line": 94, - "column": 29 - } + "line": 106, + "column": 39 + }, + "identifierName": "Uint8Array" }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 3494, - "end": 3505, + "name": "Uint8Array" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 3657, + "end": 3667, "loc": { "start": { - "line": 94, - "column": 12 + "line": 106, + "column": 40 }, "end": { - "line": 94, - "column": 23 - }, - "identifierName": "lenMatrices" + "line": 106, + "column": 50 + } }, - "name": "lenMatrices" + "object": { + "type": "Identifier", + "start": 3657, + "end": 3660, + "loc": { + "start": { + "line": 106, + "column": 40 + }, + "end": { + "line": 106, + "column": 43 + }, + "identifierName": "arr" + }, + "name": "arr" + }, + "property": { + "type": "Identifier", + "start": 3661, + "end": 3667, + "loc": { + "start": { + "line": 106, + "column": 44 + }, + "end": { + "line": 106, + "column": 50 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false }, - "right": { - "type": "NumericLiteral", - "start": 3509, - "end": 3511, + { + "type": "MemberExpression", + "start": 3669, + "end": 3683, "loc": { "start": { - "line": 94, - "column": 27 + "line": 106, + "column": 52 }, "end": { - "line": 94, - "column": 29 + "line": 106, + "column": 66 } }, - "extra": { - "rawValue": 16, - "raw": "16" + "object": { + "type": "Identifier", + "start": 3669, + "end": 3672, + "loc": { + "start": { + "line": 106, + "column": 52 + }, + "end": { + "line": 106, + "column": 55 + }, + "identifierName": "arr" + }, + "name": "arr" }, - "value": 16 + "property": { + "type": "Identifier", + "start": 3673, + "end": 3683, + "loc": { + "start": { + "line": 106, + "column": 56 + }, + "end": { + "line": 106, + "column": 66 + }, + "identifierName": "byteOffset" + }, + "name": "byteOffset" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 3685, + "end": 3699, + "loc": { + "start": { + "line": 106, + "column": 68 + }, + "end": { + "line": 106, + "column": 82 + } + }, + "object": { + "type": "Identifier", + "start": 3685, + "end": 3688, + "loc": { + "start": { + "line": 106, + "column": 68 + }, + "end": { + "line": 106, + "column": 71 + }, + "identifierName": "arr" + }, + "name": "arr" + }, + "property": { + "type": "Identifier", + "start": 3689, + "end": 3699, + "loc": { + "start": { + "line": 106, + "column": 72 + }, + "end": { + "line": 106, + "column": 82 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false } - } + ] } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } - }, - { - "type": "VariableDeclaration", - "start": 3534, - "end": 7898, - "loc": { - "start": { - "line": 98, - "column": 4 - }, - "end": { - "line": 127, - "column": 6 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3540, - "end": 7897, - "loc": { - "start": { - "line": 98, - "column": 10 - }, - "end": { - "line": 127, - "column": 5 - } - }, - "id": { - "type": "Identifier", - "start": 3540, - "end": 3544, - "loc": { - "start": { - "line": 98, - "column": 10 - }, - "end": { - "line": 98, - "column": 14 - }, - "identifierName": "data" - }, - "name": "data" + } + ], + "kind": "const" }, - "init": { - "type": "ObjectExpression", - "start": 3547, - "end": 7897, + { + "type": "VariableDeclaration", + "start": 3711, + "end": 3745, "loc": { "start": { - "line": 98, - "column": 17 + "line": 108, + "column": 8 }, "end": { - "line": 127, - "column": 5 + "line": 108, + "column": 42 } }, - "properties": [ + "declarations": [ { - "type": "ObjectProperty", - "start": 3557, - "end": 3569, + "type": "VariableDeclarator", + "start": 3717, + "end": 3744, "loc": { "start": { - "line": 99, - "column": 8 + "line": 108, + "column": 14 }, "end": { - "line": 99, - "column": 20 + "line": 108, + "column": 41 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "id": { "type": "Identifier", - "start": 3557, - "end": 3565, + "start": 3717, + "end": 3720, "loc": { "start": { - "line": 99, - "column": 8 + "line": 108, + "column": 14 }, "end": { - "line": 99, - "column": 16 + "line": 108, + "column": 17 }, - "identifierName": "metadata" + "identifierName": "BPE" }, - "name": "metadata" + "name": "BPE" }, - "value": { - "type": "ObjectExpression", - "start": 3567, - "end": 3569, + "init": { + "type": "MemberExpression", + "start": 3723, + "end": 3744, "loc": { "start": { - "line": 99, - "column": 18 - }, - "end": { - "line": 99, + "line": 108, "column": 20 - } - }, - "properties": [] - } - }, - { - "type": "ObjectProperty", - "start": 3579, - "end": 3619, - "loc": { - "start": { - "line": 100, - "column": 8 - }, - "end": { - "line": 100, - "column": 48 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3579, - "end": 3590, - "loc": { - "start": { - "line": 100, - "column": 8 - }, - "end": { - "line": 100, - "column": 19 - }, - "identifierName": "textureData" - }, - "name": "textureData" - }, - "value": { - "type": "NewExpression", - "start": 3592, - "end": 3619, - "loc": { - "start": { - "line": 100, - "column": 21 }, "end": { - "line": 100, - "column": 48 + "line": 108, + "column": 41 } }, - "callee": { + "object": { "type": "Identifier", - "start": 3596, - "end": 3606, + "start": 3723, + "end": 3726, "loc": { "start": { - "line": 100, - "column": 25 + "line": 108, + "column": 20 }, "end": { - "line": 100, - "column": 35 - }, - "identifierName": "Uint8Array" - }, - "name": "Uint8Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 3607, - "end": 3618, - "loc": { - "start": { - "line": 100, - "column": 36 - }, - "end": { - "line": 100, - "column": 47 - }, - "identifierName": "lenTextures" + "line": 108, + "column": 23 }, - "name": "lenTextures" - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 3645, - "end": 3697, - "loc": { - "start": { - "line": 101, - "column": 8 - }, - "end": { - "line": 101, - "column": 60 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3645, - "end": 3667, - "loc": { - "start": { - "line": 101, - "column": 8 - }, - "end": { - "line": 101, - "column": 30 - }, - "identifierName": "eachTextureDataPortion" - }, - "name": "eachTextureDataPortion", - "leadingComments": null - }, - "value": { - "type": "NewExpression", - "start": 3669, - "end": 3697, - "loc": { - "start": { - "line": 101, - "column": 32 + "identifierName": "arr" }, - "end": { - "line": 101, - "column": 60 - } + "name": "arr" }, - "callee": { + "property": { "type": "Identifier", - "start": 3673, - "end": 3684, + "start": 3727, + "end": 3744, "loc": { "start": { - "line": 101, - "column": 36 + "line": 108, + "column": 24 }, "end": { - "line": 101, - "column": 47 + "line": 108, + "column": 41 }, - "identifierName": "Uint32Array" + "identifierName": "BYTES_PER_ELEMENT" }, - "name": "Uint32Array" + "name": "BYTES_PER_ELEMENT" }, - "arguments": [ - { - "type": "Identifier", - "start": 3685, - "end": 3696, - "loc": { - "start": { - "line": 101, - "column": 48 - }, - "end": { - "line": 101, - "column": 59 - }, - "identifierName": "numTextures" - }, - "name": "numTextures" - } - ] + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 3754, + "end": 4289, + "loc": { + "start": { + "line": 109, + "column": 8 + }, + "end": { + "line": 122, + "column": 9 + } + }, + "test": { + "type": "LogicalExpression", + "start": 3758, + "end": 3797, + "loc": { + "start": { + "line": 109, + "column": 12 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " All textures", - "start": 3621, - "end": 3636, - "loc": { - "start": { - "line": 100, - "column": 50 - }, - "end": { - "line": 100, - "column": 65 - } - } - } - ] + "end": { + "line": 109, + "column": 51 + } }, - { - "type": "ObjectProperty", - "start": 3773, - "end": 3849, + "left": { + "type": "Identifier", + "start": 3758, + "end": 3784, "loc": { "start": { - "line": 102, - "column": 8 + "line": 109, + "column": 12 }, "end": { - "line": 102, - "column": 84 + "line": 109, + "column": 38 + }, + "identifierName": "requiresSwapToLittleEndian" + }, + "name": "requiresSwapToLittleEndian" + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 3789, + "end": 3796, + "loc": { + "start": { + "line": 109, + "column": 43 + }, + "end": { + "line": 109, + "column": 50 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "left": { "type": "Identifier", - "start": 3773, - "end": 3794, + "start": 3789, + "end": 3792, "loc": { "start": { - "line": 102, - "column": 8 + "line": 109, + "column": 43 }, "end": { - "line": 102, - "column": 29 + "line": 109, + "column": 46 }, - "identifierName": "eachTextureAttributes" + "identifierName": "BPE" }, - "name": "eachTextureAttributes", - "leadingComments": null + "name": "BPE" }, - "value": { - "type": "NewExpression", - "start": 3796, - "end": 3849, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 3795, + "end": 3796, "loc": { "start": { - "line": 102, - "column": 31 + "line": 109, + "column": 49 }, "end": { - "line": 102, - "column": 84 + "line": 109, + "column": 50 } }, - "callee": { - "type": "Identifier", - "start": 3800, - "end": 3811, - "loc": { - "start": { - "line": 102, - "column": 35 - }, - "end": { - "line": 102, - "column": 46 - }, - "identifierName": "Uint16Array" + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesized": true, + "parenStart": 3788 + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 3799, + "end": 4289, + "loc": { + "start": { + "line": 109, + "column": 53 + }, + "end": { + "line": 122, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 3813, + "end": 3835, + "loc": { + "start": { + "line": 110, + "column": 12 }, - "name": "Uint16Array" + "end": { + "line": 110, + "column": 34 + } }, - "arguments": [ + "declarations": [ { - "type": "BinaryExpression", - "start": 3812, - "end": 3848, + "type": "VariableDeclarator", + "start": 3819, + "end": 3834, "loc": { "start": { - "line": 102, - "column": 47 + "line": 110, + "column": 18 }, "end": { - "line": 102, - "column": 83 + "line": 110, + "column": 33 } }, - "left": { + "id": { "type": "Identifier", - "start": 3812, - "end": 3823, + "start": 3819, + "end": 3824, "loc": { "start": { - "line": 102, - "column": 47 + "line": 110, + "column": 18 }, "end": { - "line": 102, - "column": 58 + "line": 110, + "column": 23 }, - "identifierName": "numTextures" + "identifierName": "swaps" }, - "name": "numTextures" + "name": "swaps" }, - "operator": "*", - "right": { - "type": "Identifier", - "start": 3826, - "end": 3848, + "init": { + "type": "BinaryExpression", + "start": 3827, + "end": 3834, "loc": { "start": { - "line": 102, - "column": 61 + "line": 110, + "column": 26 }, "end": { - "line": 102, - "column": 83 + "line": 110, + "column": 33 + } + }, + "left": { + "type": "Identifier", + "start": 3827, + "end": 3830, + "loc": { + "start": { + "line": 110, + "column": 26 + }, + "end": { + "line": 110, + "column": 29 + }, + "identifierName": "BPE" }, - "identifierName": "NUM_TEXTURE_ATTRIBUTES" + "name": "BPE" }, - "name": "NUM_TEXTURE_ATTRIBUTES" + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 3833, + "end": 3834, + "loc": { + "start": { + "line": 110, + "column": 32 + }, + "end": { + "line": 110, + "column": 33 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } } } - ] + ], + "kind": "const" }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each texture, an index to its first element in textureData", - "start": 3699, - "end": 3764, - "loc": { - "start": { - "line": 101, - "column": 62 - }, - "end": { - "line": 101, - "column": 127 - } - } - } - ] - }, - { - "type": "ObjectProperty", - "start": 3859, - "end": 3899, - "loc": { - "start": { - "line": 103, - "column": 8 - }, - "end": { - "line": 103, - "column": 48 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3859, - "end": 3868, - "loc": { - "start": { - "line": 103, - "column": 8 - }, - "end": { - "line": 103, - "column": 17 - }, - "identifierName": "positions" - }, - "name": "positions" - }, - "value": { - "type": "NewExpression", - "start": 3870, - "end": 3899, + { + "type": "VariableDeclaration", + "start": 3848, + "end": 3882, "loc": { "start": { - "line": 103, - "column": 19 + "line": 111, + "column": 12 }, "end": { - "line": 103, - "column": 48 + "line": 111, + "column": 46 } }, - "callee": { - "type": "Identifier", - "start": 3874, - "end": 3885, - "loc": { - "start": { - "line": 103, - "column": 23 - }, - "end": { - "line": 103, - "column": 34 - }, - "identifierName": "Uint16Array" - }, - "name": "Uint16Array" - }, - "arguments": [ + "declarations": [ { - "type": "Identifier", - "start": 3886, - "end": 3898, + "type": "VariableDeclarator", + "start": 3854, + "end": 3881, "loc": { "start": { - "line": 103, - "column": 35 + "line": 111, + "column": 18 }, "end": { - "line": 103, - "column": 47 + "line": 111, + "column": 45 + } + }, + "id": { + "type": "Identifier", + "start": 3854, + "end": 3857, + "loc": { + "start": { + "line": 111, + "column": 18 + }, + "end": { + "line": 111, + "column": 21 + }, + "identifierName": "cnt" }, - "identifierName": "lenPositions" + "name": "cnt" }, - "name": "lenPositions" + "init": { + "type": "BinaryExpression", + "start": 3860, + "end": 3881, + "loc": { + "start": { + "line": 111, + "column": 24 + }, + "end": { + "line": 111, + "column": 45 + } + }, + "left": { + "type": "MemberExpression", + "start": 3860, + "end": 3875, + "loc": { + "start": { + "line": 111, + "column": 24 + }, + "end": { + "line": 111, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 3860, + "end": 3868, + "loc": { + "start": { + "line": 111, + "column": 24 + }, + "end": { + "line": 111, + "column": 32 + }, + "identifierName": "subarray" + }, + "name": "subarray" + }, + "property": { + "type": "Identifier", + "start": 3869, + "end": 3875, + "loc": { + "start": { + "line": 111, + "column": 33 + }, + "end": { + "line": 111, + "column": 39 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "/", + "right": { + "type": "Identifier", + "start": 3878, + "end": 3881, + "loc": { + "start": { + "line": 111, + "column": 42 + }, + "end": { + "line": 111, + "column": 45 + }, + "identifierName": "BPE" + }, + "name": "BPE" + } + } } - ] - } - }, - { - "type": "ObjectProperty", - "start": 3932, - "end": 3966, - "loc": { - "start": { - "line": 104, - "column": 8 - }, - "end": { - "line": 104, - "column": 42 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3932, - "end": 3939, - "loc": { - "start": { - "line": 104, - "column": 8 - }, - "end": { - "line": 104, - "column": 15 - }, - "identifierName": "normals" - }, - "name": "normals", - "leadingComments": null + ], + "kind": "const" }, - "value": { - "type": "NewExpression", - "start": 3941, - "end": 3966, + { + "type": "ForStatement", + "start": 3895, + "end": 4279, "loc": { "start": { - "line": 104, - "column": 17 + "line": 112, + "column": 12 }, "end": { - "line": 104, - "column": 42 + "line": 121, + "column": 13 } }, - "callee": { - "type": "Identifier", - "start": 3945, - "end": 3954, + "init": { + "type": "VariableDeclaration", + "start": 3900, + "end": 3909, "loc": { "start": { - "line": 104, - "column": 21 + "line": 112, + "column": 17 }, "end": { - "line": 104, - "column": 30 - }, - "identifierName": "Int8Array" + "line": 112, + "column": 26 + } }, - "name": "Int8Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 3955, - "end": 3965, - "loc": { - "start": { - "line": 104, - "column": 31 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3904, + "end": 3909, + "loc": { + "start": { + "line": 112, + "column": 21 + }, + "end": { + "line": 112, + "column": 26 + } }, - "end": { - "line": 104, - "column": 41 + "id": { + "type": "Identifier", + "start": 3904, + "end": 3905, + "loc": { + "start": { + "line": 112, + "column": 21 + }, + "end": { + "line": 112, + "column": 22 + }, + "identifierName": "b" + }, + "name": "b" }, - "identifierName": "lenNormals" - }, - "name": "lenNormals" - } - ] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " All geometry arrays", - "start": 3901, - "end": 3923, - "loc": { - "start": { - "line": 103, - "column": 50 - }, - "end": { - "line": 103, - "column": 72 + "init": { + "type": "NumericLiteral", + "start": 3908, + "end": 3909, + "loc": { + "start": { + "line": 112, + "column": 25 + }, + "end": { + "line": 112, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } - } - } - ] - }, - { - "type": "ObjectProperty", - "start": 3976, - "end": 4009, - "loc": { - "start": { - "line": 105, - "column": 8 - }, - "end": { - "line": 105, - "column": 41 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3976, - "end": 3982, - "loc": { - "start": { - "line": 105, - "column": 8 - }, - "end": { - "line": 105, - "column": 14 - }, - "identifierName": "colors" - }, - "name": "colors" - }, - "value": { - "type": "NewExpression", - "start": 3984, - "end": 4009, - "loc": { - "start": { - "line": 105, - "column": 16 - }, - "end": { - "line": 105, - "column": 41 - } + ], + "kind": "let" }, - "callee": { - "type": "Identifier", - "start": 3988, - "end": 3998, + "test": { + "type": "BinaryExpression", + "start": 3911, + "end": 3918, "loc": { "start": { - "line": 105, - "column": 20 + "line": 112, + "column": 28 }, "end": { - "line": 105, - "column": 30 - }, - "identifierName": "Uint8Array" + "line": 112, + "column": 35 + } }, - "name": "Uint8Array" - }, - "arguments": [ - { + "left": { "type": "Identifier", - "start": 3999, - "end": 4008, + "start": 3911, + "end": 3912, "loc": { "start": { - "line": 105, - "column": 31 + "line": 112, + "column": 28 }, "end": { - "line": 105, - "column": 40 + "line": 112, + "column": 29 }, - "identifierName": "lenColors" - }, - "name": "lenColors" - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 4019, - "end": 4048, - "loc": { - "start": { - "line": 106, - "column": 8 - }, - "end": { - "line": 106, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4019, - "end": 4022, - "loc": { - "start": { - "line": 106, - "column": 8 - }, - "end": { - "line": 106, - "column": 11 - }, - "identifierName": "uvs" - }, - "name": "uvs" - }, - "value": { - "type": "NewExpression", - "start": 4024, - "end": 4048, - "loc": { - "start": { - "line": 106, - "column": 13 - }, - "end": { - "line": 106, - "column": 37 - } - }, - "callee": { - "type": "Identifier", - "start": 4028, - "end": 4040, - "loc": { - "start": { - "line": 106, - "column": 17 - }, - "end": { - "line": 106, - "column": 29 + "identifierName": "b" }, - "identifierName": "Float32Array" + "name": "b" }, - "name": "Float32Array" - }, - "arguments": [ - { + "operator": "<", + "right": { "type": "Identifier", - "start": 4041, - "end": 4047, + "start": 3915, + "end": 3918, "loc": { "start": { - "line": 106, - "column": 30 + "line": 112, + "column": 32 }, "end": { - "line": 106, - "column": 36 + "line": 112, + "column": 35 }, - "identifierName": "lenUVs" + "identifierName": "cnt" }, - "name": "lenUVs" - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 4058, - "end": 4094, - "loc": { - "start": { - "line": 107, - "column": 8 - }, - "end": { - "line": 107, - "column": 44 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4058, - "end": 4065, - "loc": { - "start": { - "line": 107, - "column": 8 - }, - "end": { - "line": 107, - "column": 15 - }, - "identifierName": "indices" - }, - "name": "indices" - }, - "value": { - "type": "NewExpression", - "start": 4067, - "end": 4094, - "loc": { - "start": { - "line": 107, - "column": 17 - }, - "end": { - "line": 107, - "column": 44 + "name": "cnt" } }, - "callee": { - "type": "Identifier", - "start": 4071, - "end": 4082, + "update": { + "type": "UpdateExpression", + "start": 3920, + "end": 3923, "loc": { "start": { - "line": 107, - "column": 21 + "line": 112, + "column": 37 }, "end": { - "line": 107, - "column": 32 - }, - "identifierName": "Uint32Array" + "line": 112, + "column": 40 + } }, - "name": "Uint32Array" - }, - "arguments": [ - { + "operator": "++", + "prefix": false, + "argument": { "type": "Identifier", - "start": 4083, - "end": 4093, + "start": 3920, + "end": 3921, "loc": { "start": { - "line": 107, - "column": 33 + "line": 112, + "column": 37 }, "end": { - "line": 107, - "column": 43 + "line": 112, + "column": 38 }, - "identifierName": "lenIndices" + "identifierName": "b" }, - "name": "lenIndices" + "name": "b" } - ] - } - }, - { - "type": "ObjectProperty", - "start": 4104, - "end": 4148, - "loc": { - "start": { - "line": 108, - "column": 8 }, - "end": { - "line": 108, - "column": 52 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4104, - "end": 4115, - "loc": { - "start": { - "line": 108, - "column": 8 - }, - "end": { - "line": 108, - "column": 19 + "body": { + "type": "BlockStatement", + "start": 3925, + "end": 4279, + "loc": { + "start": { + "line": 112, + "column": 42 + }, + "end": { + "line": 121, + "column": 13 + } }, - "identifierName": "edgeIndices" - }, - "name": "edgeIndices" - }, - "value": { - "type": "NewExpression", - "start": 4117, - "end": 4148, - "loc": { - "start": { - "line": 108, - "column": 21 - }, - "end": { - "line": 108, - "column": 52 - } - }, - "callee": { - "type": "Identifier", - "start": 4121, - "end": 4132, - "loc": { - "start": { - "line": 108, - "column": 25 - }, - "end": { - "line": 108, - "column": 36 - }, - "identifierName": "Uint32Array" - }, - "name": "Uint32Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 4133, - "end": 4147, - "loc": { - "start": { - "line": 108, - "column": 37 - }, - "end": { - "line": 108, - "column": 51 - }, - "identifierName": "lenEdgeIndices" - }, - "name": "lenEdgeIndices" - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 4158, - "end": 4216, - "loc": { - "start": { - "line": 109, - "column": 8 - }, - "end": { - "line": 109, - "column": 66 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4158, - "end": 4180, - "loc": { - "start": { - "line": 109, - "column": 8 - }, - "end": { - "line": 109, - "column": 30 - }, - "identifierName": "eachTextureSetTextures" - }, - "name": "eachTextureSetTextures" - }, - "value": { - "type": "NewExpression", - "start": 4182, - "end": 4216, - "loc": { - "start": { - "line": 109, - "column": 32 - }, - "end": { - "line": 109, - "column": 66 - } - }, - "callee": { - "type": "Identifier", - "start": 4186, - "end": 4196, - "loc": { - "start": { - "line": 109, - "column": 36 - }, - "end": { - "line": 109, - "column": 46 - }, - "identifierName": "Int32Array" - }, - "name": "Int32Array" - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 4197, - "end": 4215, - "loc": { - "start": { - "line": 109, - "column": 47 - }, - "end": { - "line": 109, - "column": 65 - } - }, - "left": { - "type": "Identifier", - "start": 4197, - "end": 4211, + "body": [ + { + "type": "VariableDeclaration", + "start": 3943, + "end": 3966, "loc": { "start": { - "line": 109, - "column": 47 + "line": 113, + "column": 16 }, "end": { - "line": 109, - "column": 61 - }, - "identifierName": "numTextureSets" + "line": 113, + "column": 39 + } }, - "name": "numTextureSets" + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3949, + "end": 3965, + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 38 + } + }, + "id": { + "type": "Identifier", + "start": 3949, + "end": 3955, + "loc": { + "start": { + "line": 113, + "column": 22 + }, + "end": { + "line": 113, + "column": 28 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "init": { + "type": "BinaryExpression", + "start": 3958, + "end": 3965, + "loc": { + "start": { + "line": 113, + "column": 31 + }, + "end": { + "line": 113, + "column": 38 + } + }, + "left": { + "type": "Identifier", + "start": 3958, + "end": 3959, + "loc": { + "start": { + "line": 113, + "column": 31 + }, + "end": { + "line": 113, + "column": 32 + }, + "identifierName": "b" + }, + "name": "b" + }, + "operator": "*", + "right": { + "type": "Identifier", + "start": 3962, + "end": 3965, + "loc": { + "start": { + "line": 113, + "column": 35 + }, + "end": { + "line": 113, + "column": 38 + }, + "identifierName": "BPE" + }, + "name": "BPE" + } + } + } + ], + "kind": "const" }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 4214, - "end": 4215, + { + "type": "ForStatement", + "start": 3983, + "end": 4265, "loc": { "start": { - "line": 109, - "column": 64 + "line": 114, + "column": 16 }, "end": { - "line": 109, - "column": 65 + "line": 120, + "column": 17 } }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 4372, - "end": 4411, - "loc": { - "start": { - "line": 110, - "column": 8 - }, - "end": { - "line": 110, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4372, - "end": 4380, - "loc": { - "start": { - "line": 110, - "column": 8 - }, - "end": { - "line": 110, - "column": 16 - }, - "identifierName": "matrices" - }, - "name": "matrices", - "leadingComments": null - }, - "value": { - "type": "NewExpression", - "start": 4382, - "end": 4411, - "loc": { - "start": { - "line": 110, - "column": 18 - }, - "end": { - "line": 110, - "column": 47 - } - }, - "callee": { - "type": "Identifier", - "start": 4386, - "end": 4398, - "loc": { - "start": { - "line": 110, - "column": 22 - }, - "end": { - "line": 110, - "column": 34 - }, - "identifierName": "Float32Array" - }, - "name": "Float32Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 4399, - "end": 4410, - "loc": { - "start": { - "line": 110, - "column": 35 - }, - "end": { - "line": 110, - "column": 46 - }, - "identifierName": "lenMatrices" - }, - "name": "lenMatrices" - } - ] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each texture set, a set of five Texture indices [color, metal/roughness,normals,emissive,occlusion]; each index has value -1 if no texture", - "start": 4218, - "end": 4363, - "loc": { - "start": { - "line": 109, - "column": 68 - }, - "end": { - "line": 109, - "column": 213 - } - } - } - ] - }, - { - "type": "ObjectProperty", - "start": 4698, - "end": 4783, - "loc": { - "start": { - "line": 111, - "column": 8 - }, - "end": { - "line": 111, - "column": 93 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4698, - "end": 4726, - "loc": { - "start": { - "line": 111, - "column": 8 - }, - "end": { - "line": 111, - "column": 36 - }, - "identifierName": "reusedGeometriesDecodeMatrix" - }, - "name": "reusedGeometriesDecodeMatrix", - "leadingComments": null - }, - "value": { - "type": "NewExpression", - "start": 4728, - "end": 4783, - "loc": { - "start": { - "line": 111, - "column": 38 - }, - "end": { - "line": 111, - "column": 93 - } - }, - "callee": { - "type": "Identifier", - "start": 4732, - "end": 4744, - "loc": { - "start": { - "line": 111, - "column": 42 - }, - "end": { - "line": 111, - "column": 54 - }, - "identifierName": "Float32Array" - }, - "name": "Float32Array" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 4745, - "end": 4782, - "loc": { - "start": { - "line": 111, - "column": 55 + "init": { + "type": "VariableDeclaration", + "start": 3988, + "end": 3997, + "loc": { + "start": { + "line": 114, + "column": 21 + }, + "end": { + "line": 114, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3992, + "end": 3997, + "loc": { + "start": { + "line": 114, + "column": 25 + }, + "end": { + "line": 114, + "column": 30 + } + }, + "id": { + "type": "Identifier", + "start": 3992, + "end": 3993, + "loc": { + "start": { + "line": 114, + "column": 25 + }, + "end": { + "line": 114, + "column": 26 + }, + "identifierName": "j" + }, + "name": "j" + }, + "init": { + "type": "NumericLiteral", + "start": 3996, + "end": 3997, + "loc": { + "start": { + "line": 114, + "column": 29 + }, + "end": { + "line": 114, + "column": 30 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" }, - "end": { - "line": 111, - "column": 92 - } - }, - "object": { - "type": "Identifier", - "start": 4745, - "end": 4753, - "loc": { - "start": { - "line": 111, - "column": 55 + "test": { + "type": "BinaryExpression", + "start": 3999, + "end": 4008, + "loc": { + "start": { + "line": 114, + "column": 32 + }, + "end": { + "line": 114, + "column": 41 + } }, - "end": { - "line": 111, - "column": 63 + "left": { + "type": "Identifier", + "start": 3999, + "end": 4000, + "loc": { + "start": { + "line": 114, + "column": 32 + }, + "end": { + "line": 114, + "column": 33 + }, + "identifierName": "j" + }, + "name": "j" }, - "identifierName": "xktModel" + "operator": "<", + "right": { + "type": "Identifier", + "start": 4003, + "end": 4008, + "loc": { + "start": { + "line": 114, + "column": 36 + }, + "end": { + "line": 114, + "column": 41 + }, + "identifierName": "swaps" + }, + "name": "swaps" + } }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 4754, - "end": 4782, - "loc": { - "start": { - "line": 111, - "column": 64 - }, - "end": { - "line": 111, - "column": 92 + "update": { + "type": "UpdateExpression", + "start": 4010, + "end": 4013, + "loc": { + "start": { + "line": 114, + "column": 43 + }, + "end": { + "line": 114, + "column": 46 + } }, - "identifierName": "reusedGeometriesDecodeMatrix" + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 4010, + "end": 4011, + "loc": { + "start": { + "line": 114, + "column": 43 + }, + "end": { + "line": 114, + "column": 44 + }, + "identifierName": "j" + }, + "name": "j" + } }, - "name": "reusedGeometriesDecodeMatrix" - }, - "computed": false - } - ] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Modeling matrices for entities that share geometries. Each entity either shares all it's geometries, or owns all its geometries exclusively. Exclusively-owned geometries are pre-transformed into World-space, and so their entities don't have modeling matrices in this array.", - "start": 4413, - "end": 4689, - "loc": { - "start": { - "line": 110, - "column": 49 - }, - "end": { - "line": 110, - "column": 325 - } - } - } - ] - }, - { - "type": "ObjectProperty", - "start": 4992, - "end": 5048, - "loc": { - "start": { - "line": 112, - "column": 8 - }, - "end": { - "line": 112, - "column": 64 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4992, - "end": 5017, - "loc": { - "start": { - "line": 112, - "column": 8 - }, - "end": { - "line": 112, - "column": 33 - }, - "identifierName": "eachGeometryPrimitiveType" - }, - "name": "eachGeometryPrimitiveType", - "leadingComments": null - }, - "value": { - "type": "NewExpression", - "start": 5019, - "end": 5048, - "loc": { - "start": { - "line": 112, - "column": 35 - }, - "end": { - "line": 112, - "column": 64 - } - }, - "callee": { - "type": "Identifier", - "start": 5023, - "end": 5033, - "loc": { - "start": { - "line": 112, - "column": 39 - }, - "end": { - "line": 112, - "column": 49 - }, - "identifierName": "Uint8Array" - }, - "name": "Uint8Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 5034, - "end": 5047, - "loc": { - "start": { - "line": 112, - "column": 50 - }, - "end": { - "line": 112, - "column": 63 - }, - "identifierName": "numGeometries" - }, - "name": "numGeometries" - } - ] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " A single, global vertex position de-quantization matrix for all reused geometries. Reused geometries are quantized to their collective Local-space AABB, and this matrix is derived from that AABB.", - "start": 4785, - "end": 4983, - "loc": { - "start": { - "line": 111, - "column": 95 - }, - "end": { - "line": 111, - "column": 293 + "body": { + "type": "BlockStatement", + "start": 4015, + "end": 4265, + "loc": { + "start": { + "line": 114, + "column": 48 + }, + "end": { + "line": 120, + "column": 17 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 4037, + "end": 4059, + "loc": { + "start": { + "line": 115, + "column": 20 + }, + "end": { + "line": 115, + "column": 42 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4043, + "end": 4058, + "loc": { + "start": { + "line": 115, + "column": 26 + }, + "end": { + "line": 115, + "column": 41 + } + }, + "id": { + "type": "Identifier", + "start": 4043, + "end": 4045, + "loc": { + "start": { + "line": 115, + "column": 26 + }, + "end": { + "line": 115, + "column": 28 + }, + "identifierName": "i1" + }, + "name": "i1" + }, + "init": { + "type": "BinaryExpression", + "start": 4048, + "end": 4058, + "loc": { + "start": { + "line": 115, + "column": 31 + }, + "end": { + "line": 115, + "column": 41 + } + }, + "left": { + "type": "Identifier", + "start": 4048, + "end": 4054, + "loc": { + "start": { + "line": 115, + "column": 31 + }, + "end": { + "line": 115, + "column": 37 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 4057, + "end": 4058, + "loc": { + "start": { + "line": 115, + "column": 40 + }, + "end": { + "line": 115, + "column": 41 + }, + "identifierName": "j" + }, + "name": "j" + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4080, + "end": 4112, + "loc": { + "start": { + "line": 116, + "column": 20 + }, + "end": { + "line": 116, + "column": 52 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4086, + "end": 4111, + "loc": { + "start": { + "line": 116, + "column": 26 + }, + "end": { + "line": 116, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 4086, + "end": 4088, + "loc": { + "start": { + "line": 116, + "column": 26 + }, + "end": { + "line": 116, + "column": 28 + }, + "identifierName": "i2" + }, + "name": "i2" + }, + "init": { + "type": "BinaryExpression", + "start": 4091, + "end": 4111, + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 51 + } + }, + "left": { + "type": "BinaryExpression", + "start": 4091, + "end": 4107, + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 47 + } + }, + "left": { + "type": "BinaryExpression", + "start": 4091, + "end": 4101, + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 41 + } + }, + "left": { + "type": "Identifier", + "start": 4091, + "end": 4097, + "loc": { + "start": { + "line": 116, + "column": 31 + }, + "end": { + "line": 116, + "column": 37 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 4100, + "end": 4101, + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 41 + }, + "identifierName": "j" + }, + "name": "j" + } + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 4104, + "end": 4107, + "loc": { + "start": { + "line": 116, + "column": 44 + }, + "end": { + "line": 116, + "column": 47 + }, + "identifierName": "BPE" + }, + "name": "BPE" + } + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 4110, + "end": 4111, + "loc": { + "start": { + "line": 116, + "column": 50 + }, + "end": { + "line": 116, + "column": 51 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4133, + "end": 4158, + "loc": { + "start": { + "line": 117, + "column": 20 + }, + "end": { + "line": 117, + "column": 45 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4139, + "end": 4157, + "loc": { + "start": { + "line": 117, + "column": 26 + }, + "end": { + "line": 117, + "column": 44 + } + }, + "id": { + "type": "Identifier", + "start": 4139, + "end": 4142, + "loc": { + "start": { + "line": 117, + "column": 26 + }, + "end": { + "line": 117, + "column": 29 + }, + "identifierName": "tmp" + }, + "name": "tmp" + }, + "init": { + "type": "MemberExpression", + "start": 4145, + "end": 4157, + "loc": { + "start": { + "line": 117, + "column": 32 + }, + "end": { + "line": 117, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 4145, + "end": 4153, + "loc": { + "start": { + "line": 117, + "column": 32 + }, + "end": { + "line": 117, + "column": 40 + }, + "identifierName": "subarray" + }, + "name": "subarray" + }, + "property": { + "type": "Identifier", + "start": 4154, + "end": 4156, + "loc": { + "start": { + "line": 117, + "column": 41 + }, + "end": { + "line": 117, + "column": 43 + }, + "identifierName": "i1" + }, + "name": "i1" + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 4179, + "end": 4207, + "loc": { + "start": { + "line": 118, + "column": 20 + }, + "end": { + "line": 118, + "column": 48 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4179, + "end": 4206, + "loc": { + "start": { + "line": 118, + "column": 20 + }, + "end": { + "line": 118, + "column": 47 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4179, + "end": 4191, + "loc": { + "start": { + "line": 118, + "column": 20 + }, + "end": { + "line": 118, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 4179, + "end": 4187, + "loc": { + "start": { + "line": 118, + "column": 20 + }, + "end": { + "line": 118, + "column": 28 + }, + "identifierName": "subarray" + }, + "name": "subarray" + }, + "property": { + "type": "Identifier", + "start": 4188, + "end": 4190, + "loc": { + "start": { + "line": 118, + "column": 29 + }, + "end": { + "line": 118, + "column": 31 + }, + "identifierName": "i1" + }, + "name": "i1" + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 4194, + "end": 4206, + "loc": { + "start": { + "line": 118, + "column": 35 + }, + "end": { + "line": 118, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 4194, + "end": 4202, + "loc": { + "start": { + "line": 118, + "column": 35 + }, + "end": { + "line": 118, + "column": 43 + }, + "identifierName": "subarray" + }, + "name": "subarray" + }, + "property": { + "type": "Identifier", + "start": 4203, + "end": 4205, + "loc": { + "start": { + "line": 118, + "column": 44 + }, + "end": { + "line": 118, + "column": 46 + }, + "identifierName": "i2" + }, + "name": "i2" + }, + "computed": true + } + } + }, + { + "type": "ExpressionStatement", + "start": 4228, + "end": 4247, + "loc": { + "start": { + "line": 119, + "column": 20 + }, + "end": { + "line": 119, + "column": 39 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4228, + "end": 4246, + "loc": { + "start": { + "line": 119, + "column": 20 + }, + "end": { + "line": 119, + "column": 38 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4228, + "end": 4240, + "loc": { + "start": { + "line": 119, + "column": 20 + }, + "end": { + "line": 119, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 4228, + "end": 4236, + "loc": { + "start": { + "line": 119, + "column": 20 + }, + "end": { + "line": 119, + "column": 28 + }, + "identifierName": "subarray" + }, + "name": "subarray" + }, + "property": { + "type": "Identifier", + "start": 4237, + "end": 4239, + "loc": { + "start": { + "line": 119, + "column": 29 + }, + "end": { + "line": 119, + "column": 31 + }, + "identifierName": "i2" + }, + "name": "i2" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 4243, + "end": 4246, + "loc": { + "start": { + "line": 119, + "column": 35 + }, + "end": { + "line": 119, + "column": 38 + }, + "identifierName": "tmp" + }, + "name": "tmp" + } + } + } + ], + "directives": [] + } } - } + ], + "directives": [] } - ] + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 4299, + "end": 4335, + "loc": { + "start": { + "line": 124, + "column": 8 }, - { - "type": "ObjectProperty", - "start": 5168, - "end": 5228, + "end": { + "line": 124, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 4299, + "end": 4334, + "loc": { + "start": { + "line": 124, + "column": 8 + }, + "end": { + "line": 124, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4299, + "end": 4312, "loc": { "start": { - "line": 113, + "line": 124, "column": 8 }, "end": { - "line": 113, - "column": 68 + "line": 124, + "column": 21 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "object": { "type": "Identifier", - "start": 5168, - "end": 5196, + "start": 4299, + "end": 4308, "loc": { "start": { - "line": 113, + "line": 124, "column": 8 }, "end": { - "line": 113, - "column": 36 + "line": 124, + "column": 17 }, - "identifierName": "eachGeometryPositionsPortion" + "identifierName": "dataArray" }, - "name": "eachGeometryPositionsPortion", - "leadingComments": null + "name": "dataArray" }, - "value": { - "type": "NewExpression", - "start": 5198, - "end": 5228, + "property": { + "type": "Identifier", + "start": 4309, + "end": 4312, "loc": { "start": { - "line": 113, - "column": 38 + "line": 124, + "column": 18 }, "end": { - "line": 113, - "column": 68 + "line": 124, + "column": 21 + }, + "identifierName": "set" + }, + "name": "set" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4313, + "end": 4321, + "loc": { + "start": { + "line": 124, + "column": 22 + }, + "end": { + "line": 124, + "column": 30 + }, + "identifierName": "subarray" + }, + "name": "subarray" + }, + { + "type": "MemberExpression", + "start": 4323, + "end": 4333, + "loc": { + "start": { + "line": 124, + "column": 32 + }, + "end": { + "line": 124, + "column": 42 } }, - "callee": { + "object": { "type": "Identifier", - "start": 5202, - "end": 5213, + "start": 4323, + "end": 4330, "loc": { "start": { - "line": 113, - "column": 42 + "line": 124, + "column": 32 }, "end": { - "line": 113, - "column": 53 + "line": 124, + "column": 39 }, - "identifierName": "Uint32Array" + "identifierName": "offsets" }, - "name": "Uint32Array" + "name": "offsets" }, - "arguments": [ - { - "type": "Identifier", - "start": 5214, - "end": 5227, - "loc": { - "start": { - "line": 113, - "column": 54 - }, - "end": { - "line": 113, - "column": 67 - }, - "identifierName": "numGeometries" - }, - "name": "numGeometries" - } - ] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Primitive type for each geometry (0=solid triangles, 1=surface triangles, 2=lines, 3=points, 4=line-strip)", - "start": 5050, - "end": 5159, - "loc": { - "start": { - "line": 112, - "column": 66 - }, - "end": { - "line": 112, - "column": 175 - } - } - } - ] - }, - { - "type": "ObjectProperty", - "start": 5345, - "end": 5403, - "loc": { - "start": { - "line": 114, - "column": 8 - }, - "end": { - "line": 114, - "column": 66 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5345, - "end": 5371, - "loc": { - "start": { - "line": 114, - "column": 8 - }, - "end": { - "line": 114, - "column": 34 - }, - "identifierName": "eachGeometryNormalsPortion" - }, - "name": "eachGeometryNormalsPortion", - "leadingComments": null - }, - "value": { - "type": "NewExpression", - "start": 5373, - "end": 5403, - "loc": { - "start": { - "line": 114, - "column": 36 - }, - "end": { - "line": 114, - "column": 66 - } - }, - "callee": { + "property": { "type": "Identifier", - "start": 5377, - "end": 5388, + "start": 4331, + "end": 4332, "loc": { "start": { - "line": 114, + "line": 124, "column": 40 }, "end": { - "line": 114, - "column": 51 + "line": 124, + "column": 41 }, - "identifierName": "Uint32Array" + "identifierName": "i" }, - "name": "Uint32Array" + "name": "i" }, - "arguments": [ - { - "type": "Identifier", - "start": 5389, - "end": 5402, - "loc": { - "start": { - "line": 114, - "column": 52 - }, - "end": { - "line": 114, - "column": 65 - }, - "identifierName": "numGeometries" - }, - "name": "numGeometries" - } - ] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.positions. Every primitive type has positions.", - "start": 5230, - "end": 5336, - "loc": { - "start": { - "line": 113, - "column": 70 - }, - "end": { - "line": 113, - "column": 176 - } - } - } - ] + "computed": true + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Store arrays themselves", + "start": 3517, + "end": 3543, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 30 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "start": 4347, + "end": 4371, + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 127, + "column": 28 + } + }, + "argument": { + "type": "MemberExpression", + "start": 4354, + "end": 4370, + "loc": { + "start": { + "line": 127, + "column": 11 + }, + "end": { + "line": 127, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 4354, + "end": 4363, + "loc": { + "start": { + "line": 127, + "column": 11 + }, + "end": { + "line": 127, + "column": 20 + }, + "identifierName": "dataArray" + }, + "name": "dataArray" + }, + "property": { + "type": "Identifier", + "start": 4364, + "end": 4370, + "loc": { + "start": { + "line": 127, + "column": 21 + }, + "end": { + "line": 127, + "column": 27 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " V11", + "start": 1062, + "end": 1068, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 6 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 4375, + "end": 21063, + "loc": { + "start": { + "line": 130, + "column": 0 + }, + "end": { + "line": 451, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 4384, + "end": 4396, + "loc": { + "start": { + "line": 130, + "column": 9 + }, + "end": { + "line": 130, + "column": 21 + }, + "identifierName": "getModelData" + }, + "name": "getModelData" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 4397, + "end": 4405, + "loc": { + "start": { + "line": 130, + "column": 22 + }, + "end": { + "line": 130, + "column": 30 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + { + "type": "Identifier", + "start": 4407, + "end": 4423, + "loc": { + "start": { + "line": 130, + "column": 32 + }, + "end": { + "line": 130, + "column": 48 + }, + "identifierName": "metaModelDataStr" + }, + "name": "metaModelDataStr" + }, + { + "type": "Identifier", + "start": 4425, + "end": 4430, + "loc": { + "start": { + "line": 130, + "column": 50 + }, + "end": { + "line": 130, + "column": 55 + }, + "identifierName": "stats" + }, + "name": "stats" + } + ], + "body": { + "type": "BlockStatement", + "start": 4432, + "end": 21063, + "loc": { + "start": { + "line": 130, + "column": 57 + }, + "end": { + "line": 451, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 4703, + "end": 4754, + "loc": { + "start": { + "line": 136, + "column": 4 + }, + "end": { + "line": 136, + "column": 55 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4709, + "end": 4753, + "loc": { + "start": { + "line": 136, + "column": 10 + }, + "end": { + "line": 136, + "column": 54 + } + }, + "id": { + "type": "Identifier", + "start": 4709, + "end": 4725, + "loc": { + "start": { + "line": 136, + "column": 10 }, - { - "type": "ObjectProperty", - "start": 5558, - "end": 5615, - "loc": { - "start": { - "line": 115, - "column": 8 - }, - "end": { - "line": 115, - "column": 65 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5558, - "end": 5583, - "loc": { - "start": { - "line": 115, - "column": 8 - }, - "end": { - "line": 115, - "column": 33 - }, - "identifierName": "eachGeometryColorsPortion" - }, - "name": "eachGeometryColorsPortion", - "leadingComments": null + "end": { + "line": 136, + "column": 26 + }, + "identifierName": "propertySetsList" + }, + "name": "propertySetsList", + "leadingComments": null + }, + "init": { + "type": "MemberExpression", + "start": 4728, + "end": 4753, + "loc": { + "start": { + "line": 136, + "column": 29 + }, + "end": { + "line": 136, + "column": 54 + } + }, + "object": { + "type": "Identifier", + "start": 4728, + "end": 4736, + "loc": { + "start": { + "line": 136, + "column": 29 }, - "value": { - "type": "NewExpression", - "start": 5585, - "end": 5615, - "loc": { - "start": { - "line": 115, - "column": 35 - }, - "end": { - "line": 115, - "column": 65 - } - }, - "callee": { - "type": "Identifier", - "start": 5589, - "end": 5600, - "loc": { - "start": { - "line": 115, - "column": 39 - }, - "end": { - "line": 115, - "column": 50 - }, - "identifierName": "Uint32Array" - }, - "name": "Uint32Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 5601, - "end": 5614, - "loc": { - "start": { - "line": 115, - "column": 51 - }, - "end": { - "line": 115, - "column": 64 - }, - "identifierName": "numGeometries" - }, - "name": "numGeometries" - } - ] + "end": { + "line": 136, + "column": 37 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.normals. If the next geometry has the same index, then this geometry has no normals.", - "start": 5405, - "end": 5549, - "loc": { - "start": { - "line": 114, - "column": 68 - }, - "end": { - "line": 114, - "column": 212 - } - } - } - ] + "identifierName": "xktModel" }, - { - "type": "ObjectProperty", - "start": 5768, - "end": 5822, - "loc": { - "start": { - "line": 116, - "column": 8 - }, - "end": { - "line": 116, - "column": 62 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5768, - "end": 5790, - "loc": { - "start": { - "line": 116, - "column": 8 - }, - "end": { - "line": 116, - "column": 30 - }, - "identifierName": "eachGeometryUVsPortion" - }, - "name": "eachGeometryUVsPortion", - "leadingComments": null + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 4737, + "end": 4753, + "loc": { + "start": { + "line": 136, + "column": 38 }, - "value": { - "type": "NewExpression", - "start": 5792, - "end": 5822, - "loc": { - "start": { - "line": 116, - "column": 32 - }, - "end": { - "line": 116, - "column": 62 - } - }, - "callee": { - "type": "Identifier", - "start": 5796, - "end": 5807, - "loc": { - "start": { - "line": 116, - "column": 36 - }, - "end": { - "line": 116, - "column": 47 - }, - "identifierName": "Uint32Array" - }, - "name": "Uint32Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 5808, - "end": 5821, - "loc": { - "start": { - "line": 116, - "column": 48 - }, - "end": { - "line": 116, - "column": 61 - }, - "identifierName": "numGeometries" - }, - "name": "numGeometries" - } - ] + "end": { + "line": 136, + "column": 54 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.colors. If the next geometry has the same index, then this geometry has no colors.", - "start": 5617, - "end": 5759, - "loc": { - "start": { - "line": 115, - "column": 67 - }, - "end": { - "line": 115, - "column": 209 - } - } - } - ] + "identifierName": "propertySetsList" }, - { - "type": "ObjectProperty", - "start": 5969, - "end": 6027, - "loc": { - "start": { - "line": 117, - "column": 8 - }, - "end": { - "line": 117, - "column": 66 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5969, - "end": 5995, - "loc": { - "start": { - "line": 117, - "column": 8 - }, - "end": { - "line": 117, - "column": 34 - }, - "identifierName": "eachGeometryIndicesPortion" - }, - "name": "eachGeometryIndicesPortion", - "leadingComments": null + "name": "propertySetsList" + }, + "computed": false + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": "------------------------------------------------------------------------------------------------------------------", + "start": 4439, + "end": 4555, + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 132, + "column": 120 + } + } + }, + { + "type": "CommentLine", + "value": " Allocate data", + "start": 4560, + "end": 4576, + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 133, + "column": 20 + } + } + }, + { + "type": "CommentLine", + "value": "------------------------------------------------------------------------------------------------------------------", + "start": 4581, + "end": 4697, + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 134, + "column": 120 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 4759, + "end": 4808, + "loc": { + "start": { + "line": 137, + "column": 4 + }, + "end": { + "line": 137, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4765, + "end": 4807, + "loc": { + "start": { + "line": 137, + "column": 10 + }, + "end": { + "line": 137, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 4765, + "end": 4780, + "loc": { + "start": { + "line": 137, + "column": 10 + }, + "end": { + "line": 137, + "column": 25 + }, + "identifierName": "metaObjectsList" + }, + "name": "metaObjectsList" + }, + "init": { + "type": "MemberExpression", + "start": 4783, + "end": 4807, + "loc": { + "start": { + "line": 137, + "column": 28 + }, + "end": { + "line": 137, + "column": 52 + } + }, + "object": { + "type": "Identifier", + "start": 4783, + "end": 4791, + "loc": { + "start": { + "line": 137, + "column": 28 }, - "value": { - "type": "NewExpression", - "start": 5997, - "end": 6027, - "loc": { - "start": { - "line": 117, - "column": 36 - }, - "end": { - "line": 117, - "column": 66 - } - }, - "callee": { - "type": "Identifier", - "start": 6001, - "end": 6012, - "loc": { - "start": { - "line": 117, - "column": 40 - }, - "end": { - "line": 117, - "column": 51 - }, - "identifierName": "Uint32Array" - }, - "name": "Uint32Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 6013, - "end": 6026, - "loc": { - "start": { - "line": 117, - "column": 52 - }, - "end": { - "line": 117, - "column": 65 - }, - "identifierName": "numGeometries" - }, - "name": "numGeometries" - } - ] + "end": { + "line": 137, + "column": 36 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.uvs. If the next geometry has the same index, then this geometry has no UVs.", - "start": 5824, - "end": 5960, - "loc": { - "start": { - "line": 116, - "column": 64 - }, - "end": { - "line": 116, - "column": 200 - } - } - } - ] + "identifierName": "xktModel" }, - { - "type": "ObjectProperty", - "start": 6182, - "end": 6244, - "loc": { - "start": { - "line": 118, - "column": 8 - }, - "end": { - "line": 118, - "column": 70 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6182, - "end": 6212, - "loc": { - "start": { - "line": 118, - "column": 8 - }, - "end": { - "line": 118, - "column": 38 - }, - "identifierName": "eachGeometryEdgeIndicesPortion" - }, - "name": "eachGeometryEdgeIndicesPortion", - "leadingComments": null + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 4792, + "end": 4807, + "loc": { + "start": { + "line": 137, + "column": 37 }, - "value": { - "type": "NewExpression", - "start": 6214, - "end": 6244, - "loc": { - "start": { - "line": 118, - "column": 40 - }, - "end": { - "line": 118, - "column": 70 - } - }, - "callee": { - "type": "Identifier", - "start": 6218, - "end": 6229, - "loc": { - "start": { - "line": 118, - "column": 44 - }, - "end": { - "line": 118, - "column": 55 - }, - "identifierName": "Uint32Array" - }, - "name": "Uint32Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 6230, - "end": 6243, - "loc": { - "start": { - "line": 118, - "column": 56 - }, - "end": { - "line": 118, - "column": 69 - }, - "identifierName": "numGeometries" - }, - "name": "numGeometries" - } - ] + "end": { + "line": 137, + "column": 52 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.indices. If the next geometry has the same index, then this geometry has no indices.", - "start": 6029, - "end": 6173, - "loc": { - "start": { - "line": 117, - "column": 68 - }, - "end": { - "line": 117, - "column": 212 - } - } - } - ] + "identifierName": "metaObjectsList" }, - { - "type": "ObjectProperty", - "start": 6408, - "end": 6461, - "loc": { - "start": { - "line": 119, - "column": 8 - }, - "end": { - "line": 119, - "column": 61 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6408, - "end": 6433, - "loc": { - "start": { - "line": 119, - "column": 8 - }, - "end": { - "line": 119, - "column": 33 - }, - "identifierName": "eachMeshGeometriesPortion" - }, - "name": "eachMeshGeometriesPortion", - "leadingComments": null + "name": "metaObjectsList" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4813, + "end": 4860, + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "column": 51 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4819, + "end": 4859, + "loc": { + "start": { + "line": 138, + "column": 10 + }, + "end": { + "line": 138, + "column": 50 + } + }, + "id": { + "type": "Identifier", + "start": 4819, + "end": 4833, + "loc": { + "start": { + "line": 138, + "column": 10 + }, + "end": { + "line": 138, + "column": 24 + }, + "identifierName": "geometriesList" + }, + "name": "geometriesList" + }, + "init": { + "type": "MemberExpression", + "start": 4836, + "end": 4859, + "loc": { + "start": { + "line": 138, + "column": 27 + }, + "end": { + "line": 138, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 4836, + "end": 4844, + "loc": { + "start": { + "line": 138, + "column": 27 }, - "value": { - "type": "NewExpression", - "start": 6435, - "end": 6461, - "loc": { - "start": { - "line": 119, - "column": 35 - }, - "end": { - "line": 119, - "column": 61 - } - }, - "callee": { - "type": "Identifier", - "start": 6439, - "end": 6450, - "loc": { - "start": { - "line": 119, - "column": 39 - }, - "end": { - "line": 119, - "column": 50 - }, - "identifierName": "Uint32Array" - }, - "name": "Uint32Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 6451, - "end": 6460, - "loc": { - "start": { - "line": 119, - "column": 51 - }, - "end": { - "line": 119, - "column": 60 - }, - "identifierName": "numMeshes" - }, - "name": "numMeshes" - } - ] + "end": { + "line": 138, + "column": 35 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.edgeIndices. If the next geometry has the same index, then this geometry has no edge indices.", - "start": 6246, - "end": 6399, - "loc": { - "start": { - "line": 118, - "column": 72 - }, - "end": { - "line": 118, - "column": 225 - } - } - } - ] + "identifierName": "xktModel" }, - { - "type": "ObjectProperty", - "start": 6528, - "end": 6579, - "loc": { - "start": { - "line": 120, - "column": 8 - }, - "end": { - "line": 120, - "column": 59 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6528, - "end": 6551, - "loc": { - "start": { - "line": 120, - "column": 8 - }, - "end": { - "line": 120, - "column": 31 - }, - "identifierName": "eachMeshMatricesPortion" - }, - "name": "eachMeshMatricesPortion", - "leadingComments": null + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 4845, + "end": 4859, + "loc": { + "start": { + "line": 138, + "column": 36 }, - "value": { - "type": "NewExpression", - "start": 6553, - "end": 6579, - "loc": { - "start": { - "line": 120, - "column": 33 - }, - "end": { - "line": 120, - "column": 59 - } - }, - "callee": { - "type": "Identifier", - "start": 6557, - "end": 6568, - "loc": { - "start": { - "line": 120, - "column": 37 - }, - "end": { - "line": 120, - "column": 48 - }, - "identifierName": "Uint32Array" - }, - "name": "Uint32Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 6569, - "end": 6578, - "loc": { - "start": { - "line": 120, - "column": 49 - }, - "end": { - "line": 120, - "column": 58 - }, - "identifierName": "numMeshes" - }, - "name": "numMeshes" - } - ] + "end": { + "line": 138, + "column": 50 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each mesh, an index into the eachGeometry* arrays", - "start": 6463, - "end": 6519, - "loc": { - "start": { - "line": 119, - "column": 63 - }, - "end": { - "line": 119, - "column": 119 - } - } - } - ] + "identifierName": "geometriesList" }, - { - "type": "ObjectProperty", - "start": 6926, - "end": 6971, - "loc": { - "start": { - "line": 121, - "column": 8 - }, - "end": { - "line": 121, - "column": 53 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6926, - "end": 6944, - "loc": { - "start": { - "line": 121, - "column": 8 - }, - "end": { - "line": 121, - "column": 26 - }, - "identifierName": "eachMeshTextureSet" - }, - "name": "eachMeshTextureSet", - "leadingComments": null + "name": "geometriesList" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4865, + "end": 4908, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 139, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4871, + "end": 4907, + "loc": { + "start": { + "line": 139, + "column": 10 + }, + "end": { + "line": 139, + "column": 46 + } + }, + "id": { + "type": "Identifier", + "start": 4871, + "end": 4883, + "loc": { + "start": { + "line": 139, + "column": 10 + }, + "end": { + "line": 139, + "column": 22 + }, + "identifierName": "texturesList" + }, + "name": "texturesList" + }, + "init": { + "type": "MemberExpression", + "start": 4886, + "end": 4907, + "loc": { + "start": { + "line": 139, + "column": 25 + }, + "end": { + "line": 139, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 4886, + "end": 4894, + "loc": { + "start": { + "line": 139, + "column": 25 }, - "value": { - "type": "NewExpression", - "start": 6946, - "end": 6971, - "loc": { - "start": { - "line": 121, - "column": 28 - }, - "end": { - "line": 121, - "column": 53 - } - }, - "callee": { - "type": "Identifier", - "start": 6950, - "end": 6960, - "loc": { - "start": { - "line": 121, - "column": 32 - }, - "end": { - "line": 121, - "column": 42 - }, - "identifierName": "Int32Array" - }, - "name": "Int32Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 6961, - "end": 6970, - "loc": { - "start": { - "line": 121, - "column": 43 - }, - "end": { - "line": 121, - "column": 52 - }, - "identifierName": "numMeshes" - }, - "name": "numMeshes" - } - ] + "end": { + "line": 139, + "column": 33 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each mesh that shares its geometry, an index to its first element in data.matrices, to indicate the modeling matrix that transforms the shared geometry Local-space vertex positions. This is ignored for meshes that don't share geometries, because the vertex positions of non-shared geometries are pre-transformed into World-space.", - "start": 6581, - "end": 6917, - "loc": { - "start": { - "line": 120, - "column": 61 - }, - "end": { - "line": 120, - "column": 397 - } - } - } - ] + "identifierName": "xktModel" }, - { - "type": "ObjectProperty", - "start": 7161, - "end": 7240, - "loc": { - "start": { - "line": 122, - "column": 8 - }, - "end": { - "line": 122, - "column": 87 - } + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 4895, + "end": 4907, + "loc": { + "start": { + "line": 139, + "column": 34 }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7161, - "end": 7187, - "loc": { - "start": { - "line": 122, - "column": 8 - }, - "end": { - "line": 122, - "column": 34 - }, - "identifierName": "eachMeshMaterialAttributes" - }, - "name": "eachMeshMaterialAttributes", - "leadingComments": null + "end": { + "line": 139, + "column": 46 }, - "value": { - "type": "NewExpression", - "start": 7189, - "end": 7240, - "loc": { - "start": { - "line": 122, - "column": 36 - }, - "end": { - "line": 122, - "column": 87 - } - }, - "callee": { - "type": "Identifier", - "start": 7193, - "end": 7203, - "loc": { - "start": { - "line": 122, - "column": 40 - }, - "end": { - "line": 122, - "column": 50 - }, - "identifierName": "Uint8Array" - }, - "name": "Uint8Array" - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 7204, - "end": 7239, - "loc": { - "start": { - "line": 122, - "column": 51 - }, - "end": { - "line": 122, - "column": 86 - } - }, - "left": { - "type": "Identifier", - "start": 7204, - "end": 7213, - "loc": { - "start": { - "line": 122, - "column": 51 - }, - "end": { - "line": 122, - "column": 60 - }, - "identifierName": "numMeshes" - }, - "name": "numMeshes" - }, - "operator": "*", - "right": { - "type": "Identifier", - "start": 7216, - "end": 7239, - "loc": { - "start": { - "line": 122, - "column": 63 - }, - "end": { - "line": 122, - "column": 86 - }, - "identifierName": "NUM_MATERIAL_ATTRIBUTES" - }, - "name": "NUM_MATERIAL_ATTRIBUTES" - } - } - ] + "identifierName": "texturesList" + }, + "name": "texturesList" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4913, + "end": 4962, + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 140, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4919, + "end": 4961, + "loc": { + "start": { + "line": 140, + "column": 10 + }, + "end": { + "line": 140, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 4919, + "end": 4934, + "loc": { + "start": { + "line": 140, + "column": 10 + }, + "end": { + "line": 140, + "column": 25 + }, + "identifierName": "textureSetsList" + }, + "name": "textureSetsList" + }, + "init": { + "type": "MemberExpression", + "start": 4937, + "end": 4961, + "loc": { + "start": { + "line": 140, + "column": 28 + }, + "end": { + "line": 140, + "column": 52 + } + }, + "object": { + "type": "Identifier", + "start": 4937, + "end": 4945, + "loc": { + "start": { + "line": 140, + "column": 28 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each mesh, the index of its texture set in data.eachTextureSetTextures; this array contains signed integers so that we can use -1 to indicate when a mesh has no texture set", - "start": 6973, - "end": 7152, - "loc": { - "start": { - "line": 121, - "column": 55 - }, - "end": { - "line": 121, - "column": 234 - } - } - } - ] + "end": { + "line": 140, + "column": 36 + }, + "identifierName": "xktModel" }, - { - "type": "ObjectProperty", - "start": 7401, - "end": 7417, - "loc": { - "start": { - "line": 123, - "column": 8 - }, - "end": { - "line": 123, - "column": 24 - } + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 4946, + "end": 4961, + "loc": { + "start": { + "line": 140, + "column": 37 }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7401, - "end": 7413, - "loc": { - "start": { - "line": 123, - "column": 8 - }, - "end": { - "line": 123, - "column": 20 - }, - "identifierName": "eachEntityId" - }, - "name": "eachEntityId", - "leadingComments": null + "end": { + "line": 140, + "column": 52 }, - "value": { - "type": "ArrayExpression", - "start": 7415, - "end": 7417, - "loc": { - "start": { - "line": 123, - "column": 22 - }, - "end": { - "line": 123, - "column": 24 - } - }, - "elements": [] + "identifierName": "textureSetsList" + }, + "name": "textureSetsList" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 4967, + "end": 5006, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 141, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4973, + "end": 5005, + "loc": { + "start": { + "line": 141, + "column": 10 + }, + "end": { + "line": 141, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 4973, + "end": 4983, + "loc": { + "start": { + "line": 141, + "column": 10 + }, + "end": { + "line": 141, + "column": 20 + }, + "identifierName": "meshesList" + }, + "name": "meshesList" + }, + "init": { + "type": "MemberExpression", + "start": 4986, + "end": 5005, + "loc": { + "start": { + "line": 141, + "column": 23 + }, + "end": { + "line": 141, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 4986, + "end": 4994, + "loc": { + "start": { + "line": 141, + "column": 23 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each mesh, an RGBA integer color of format [0..255, 0..255, 0..255, 0..255], and PBR metallic and roughness factors, of format [0..255, 0..255]", - "start": 7242, - "end": 7392, - "loc": { - "start": { - "line": 122, - "column": 89 - }, - "end": { - "line": 122, - "column": 239 - } - } - } - ] + "end": { + "line": 141, + "column": 31 + }, + "identifierName": "xktModel" }, - { - "type": "ObjectProperty", - "start": 7460, - "end": 7513, - "loc": { - "start": { - "line": 124, - "column": 8 - }, - "end": { - "line": 124, - "column": 61 - } + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 4995, + "end": 5005, + "loc": { + "start": { + "line": 141, + "column": 32 }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7460, - "end": 7483, - "loc": { - "start": { - "line": 124, - "column": 8 - }, - "end": { - "line": 124, - "column": 31 - }, - "identifierName": "eachEntityMeshesPortion" - }, - "name": "eachEntityMeshesPortion", - "leadingComments": null + "end": { + "line": 141, + "column": 42 }, - "value": { - "type": "NewExpression", - "start": 7485, - "end": 7513, - "loc": { - "start": { - "line": 124, - "column": 33 - }, - "end": { - "line": 124, - "column": 61 - } - }, - "callee": { - "type": "Identifier", - "start": 7489, - "end": 7500, - "loc": { - "start": { - "line": 124, - "column": 37 - }, - "end": { - "line": 124, - "column": 48 - }, - "identifierName": "Uint32Array" - }, - "name": "Uint32Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 7501, - "end": 7512, - "loc": { - "start": { - "line": 124, - "column": 49 - }, - "end": { - "line": 124, - "column": 60 - }, - "identifierName": "numEntities" - }, - "name": "numEntities" - } - ] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each entity, an ID string", - "start": 7419, - "end": 7451, - "loc": { - "start": { - "line": 123, - "column": 26 - }, - "end": { - "line": 123, - "column": 58 - } - } - } - ] - }, - { - "type": "ObjectProperty", - "start": 7603, - "end": 7647, - "loc": { - "start": { - "line": 125, - "column": 8 - }, - "end": { - "line": 125, - "column": 52 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7603, - "end": 7615, - "loc": { - "start": { - "line": 125, - "column": 8 - }, - "end": { - "line": 125, - "column": 20 - }, - "identifierName": "eachTileAABB" - }, - "name": "eachTileAABB", - "leadingComments": null - }, - "value": { - "type": "NewExpression", - "start": 7617, - "end": 7647, - "loc": { - "start": { - "line": 125, - "column": 22 - }, - "end": { - "line": 125, - "column": 52 - } - }, - "callee": { - "type": "Identifier", - "start": 7621, - "end": 7633, - "loc": { - "start": { - "line": 125, - "column": 26 - }, - "end": { - "line": 125, - "column": 38 - }, - "identifierName": "Float64Array" - }, - "name": "Float64Array" - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 7634, - "end": 7646, - "loc": { - "start": { - "line": 125, - "column": 39 - }, - "end": { - "line": 125, - "column": 51 - } - }, - "left": { - "type": "Identifier", - "start": 7634, - "end": 7642, - "loc": { - "start": { - "line": 125, - "column": 39 - }, - "end": { - "line": 125, - "column": 47 - }, - "identifierName": "numTiles" - }, - "name": "numTiles" - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 7645, - "end": 7646, - "loc": { - "start": { - "line": 125, - "column": 50 - }, - "end": { - "line": 125, - "column": 51 - } - }, - "extra": { - "rawValue": 6, - "raw": "6" - }, - "value": 6 - } - } - ] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each entity, the index of the first element of meshes used by the entity", - "start": 7515, - "end": 7594, - "loc": { - "start": { - "line": 124, - "column": 63 - }, - "end": { - "line": 124, - "column": 142 - } - } - } - ] + "identifierName": "meshesList" }, - { - "type": "ObjectProperty", - "start": 7704, - "end": 7754, - "loc": { - "start": { - "line": 126, - "column": 8 - }, - "end": { - "line": 126, - "column": 58 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7704, - "end": 7727, - "loc": { - "start": { - "line": 126, - "column": 8 - }, - "end": { - "line": 126, - "column": 31 - }, - "identifierName": "eachTileEntitiesPortion" - }, - "name": "eachTileEntitiesPortion", - "leadingComments": null - }, - "value": { - "type": "NewExpression", - "start": 7729, - "end": 7754, - "loc": { - "start": { - "line": 126, - "column": 33 - }, - "end": { - "line": 126, - "column": 58 - } - }, - "callee": { - "type": "Identifier", - "start": 7733, - "end": 7744, - "loc": { - "start": { - "line": 126, - "column": 37 - }, - "end": { - "line": 126, - "column": 48 - }, - "identifierName": "Uint32Array" - }, - "name": "Uint32Array" - }, - "arguments": [ - { - "type": "Identifier", - "start": 7745, - "end": 7753, - "loc": { - "start": { - "line": 126, - "column": 49 - }, - "end": { - "line": 126, - "column": 57 - }, - "identifierName": "numTiles" - }, - "name": "numTiles" - } - ], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For each tile, an axis-aligned bounding box", - "start": 7649, - "end": 7695, - "loc": { - "start": { - "line": 125, - "column": 54 - }, - "end": { - "line": 125, - "column": 100 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " For each tile, the index of the first element of eachEntityId, eachEntityMeshesPortion and eachEntityMatricesPortion used by the tile", - "start": 7755, - "end": 7891, - "loc": { - "start": { - "line": 126, - "column": 59 - }, - "end": { - "line": 126, - "column": 195 - } - } - } - ] - } - ] + "name": "meshesList" + }, + "computed": false } } ], @@ -9162,1349 +9653,1636 @@ }, { "type": "VariableDeclaration", - "start": 7904, - "end": 7927, + "start": 5011, + "end": 5054, "loc": { "start": { - "line": 129, + "line": 142, "column": 4 }, "end": { - "line": 129, - "column": 27 + "line": 142, + "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7908, - "end": 7926, + "start": 5017, + "end": 5053, "loc": { "start": { - "line": 129, - "column": 8 + "line": 142, + "column": 10 }, "end": { - "line": 129, - "column": 26 + "line": 142, + "column": 46 } }, "id": { "type": "Identifier", - "start": 7908, - "end": 7922, + "start": 5017, + "end": 5029, "loc": { "start": { - "line": 129, - "column": 8 + "line": 142, + "column": 10 }, "end": { - "line": 129, + "line": 142, "column": 22 }, - "identifierName": "countPositions" + "identifierName": "entitiesList" }, - "name": "countPositions" + "name": "entitiesList" }, "init": { - "type": "NumericLiteral", - "start": 7925, - "end": 7926, + "type": "MemberExpression", + "start": 5032, + "end": 5053, "loc": { "start": { - "line": 129, + "line": 142, "column": 25 }, "end": { - "line": 129, - "column": 26 + "line": 142, + "column": 46 } }, - "extra": { - "rawValue": 0, - "raw": "0" + "object": { + "type": "Identifier", + "start": 5032, + "end": 5040, + "loc": { + "start": { + "line": 142, + "column": 25 + }, + "end": { + "line": 142, + "column": 33 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" }, - "value": 0 + "property": { + "type": "Identifier", + "start": 5041, + "end": 5053, + "loc": { + "start": { + "line": 142, + "column": 34 + }, + "end": { + "line": 142, + "column": 46 + }, + "identifierName": "entitiesList" + }, + "name": "entitiesList" + }, + "computed": false } } ], - "kind": "let" + "kind": "const" }, { "type": "VariableDeclaration", - "start": 7932, - "end": 7953, + "start": 5059, + "end": 5096, "loc": { "start": { - "line": 130, + "line": 143, "column": 4 }, "end": { - "line": 130, - "column": 25 + "line": 143, + "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7936, - "end": 7952, + "start": 5065, + "end": 5095, "loc": { "start": { - "line": 130, - "column": 8 + "line": 143, + "column": 10 }, "end": { - "line": 130, - "column": 24 + "line": 143, + "column": 40 } }, "id": { "type": "Identifier", - "start": 7936, - "end": 7948, + "start": 5065, + "end": 5074, "loc": { "start": { - "line": 130, - "column": 8 + "line": 143, + "column": 10 }, "end": { - "line": 130, - "column": 20 + "line": 143, + "column": 19 }, - "identifierName": "countNormals" + "identifierName": "tilesList" }, - "name": "countNormals" + "name": "tilesList" }, "init": { - "type": "NumericLiteral", - "start": 7951, - "end": 7952, + "type": "MemberExpression", + "start": 5077, + "end": 5095, "loc": { "start": { - "line": 130, - "column": 23 + "line": 143, + "column": 22 }, "end": { - "line": 130, - "column": 24 + "line": 143, + "column": 40 } }, - "extra": { - "rawValue": 0, - "raw": "0" + "object": { + "type": "Identifier", + "start": 5077, + "end": 5085, + "loc": { + "start": { + "line": 143, + "column": 22 + }, + "end": { + "line": 143, + "column": 30 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" }, - "value": 0 + "property": { + "type": "Identifier", + "start": 5086, + "end": 5095, + "loc": { + "start": { + "line": 143, + "column": 31 + }, + "end": { + "line": 143, + "column": 40 + }, + "identifierName": "tilesList" + }, + "name": "tilesList" + }, + "computed": false } } ], - "kind": "let" + "kind": "const" }, { "type": "VariableDeclaration", - "start": 7958, - "end": 7978, + "start": 5102, + "end": 5150, "loc": { "start": { - "line": 131, + "line": 145, "column": 4 }, "end": { - "line": 131, - "column": 24 + "line": 145, + "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7962, - "end": 7977, + "start": 5108, + "end": 5149, "loc": { "start": { - "line": 131, - "column": 8 + "line": 145, + "column": 10 }, "end": { - "line": 131, - "column": 23 + "line": 145, + "column": 51 } }, "id": { "type": "Identifier", - "start": 7962, - "end": 7973, + "start": 5108, + "end": 5123, "loc": { "start": { - "line": 131, - "column": 8 + "line": 145, + "column": 10 }, "end": { - "line": 131, - "column": 19 + "line": 145, + "column": 25 }, - "identifierName": "countColors" + "identifierName": "numPropertySets" }, - "name": "countColors" + "name": "numPropertySets" }, "init": { - "type": "NumericLiteral", - "start": 7976, - "end": 7977, + "type": "MemberExpression", + "start": 5126, + "end": 5149, "loc": { "start": { - "line": 131, - "column": 22 + "line": 145, + "column": 28 }, "end": { - "line": 131, - "column": 23 + "line": 145, + "column": 51 } }, - "extra": { - "rawValue": 0, - "raw": "0" + "object": { + "type": "Identifier", + "start": 5126, + "end": 5142, + "loc": { + "start": { + "line": 145, + "column": 28 + }, + "end": { + "line": 145, + "column": 44 + }, + "identifierName": "propertySetsList" + }, + "name": "propertySetsList" }, - "value": 0 + "property": { + "type": "Identifier", + "start": 5143, + "end": 5149, + "loc": { + "start": { + "line": 145, + "column": 45 + }, + "end": { + "line": 145, + "column": 51 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } } ], - "kind": "let" + "kind": "const" }, { "type": "VariableDeclaration", - "start": 7983, - "end": 8000, + "start": 5155, + "end": 5201, "loc": { "start": { - "line": 132, + "line": 146, "column": 4 }, "end": { - "line": 132, - "column": 21 + "line": 146, + "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7987, - "end": 7999, + "start": 5161, + "end": 5200, "loc": { "start": { - "line": 132, - "column": 8 + "line": 146, + "column": 10 }, "end": { - "line": 132, - "column": 20 + "line": 146, + "column": 49 } }, "id": { "type": "Identifier", - "start": 7987, - "end": 7995, + "start": 5161, + "end": 5175, "loc": { "start": { - "line": 132, - "column": 8 + "line": 146, + "column": 10 }, "end": { - "line": 132, - "column": 16 + "line": 146, + "column": 24 }, - "identifierName": "countUVs" + "identifierName": "numMetaObjects" }, - "name": "countUVs" + "name": "numMetaObjects" }, "init": { - "type": "NumericLiteral", - "start": 7998, - "end": 7999, + "type": "MemberExpression", + "start": 5178, + "end": 5200, "loc": { "start": { - "line": 132, - "column": 19 + "line": 146, + "column": 27 }, "end": { - "line": 132, - "column": 20 + "line": 146, + "column": 49 } }, - "extra": { - "rawValue": 0, - "raw": "0" + "object": { + "type": "Identifier", + "start": 5178, + "end": 5193, + "loc": { + "start": { + "line": 146, + "column": 27 + }, + "end": { + "line": 146, + "column": 42 + }, + "identifierName": "metaObjectsList" + }, + "name": "metaObjectsList" }, - "value": 0 + "property": { + "type": "Identifier", + "start": 5194, + "end": 5200, + "loc": { + "start": { + "line": 146, + "column": 43 + }, + "end": { + "line": 146, + "column": 49 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } } ], - "kind": "let" + "kind": "const" }, { "type": "VariableDeclaration", - "start": 8005, - "end": 8026, + "start": 5206, + "end": 5250, "loc": { "start": { - "line": 133, + "line": 147, "column": 4 }, "end": { - "line": 133, - "column": 25 + "line": 147, + "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8009, - "end": 8025, + "start": 5212, + "end": 5249, "loc": { "start": { - "line": 133, - "column": 8 + "line": 147, + "column": 10 }, "end": { - "line": 133, - "column": 24 + "line": 147, + "column": 47 } }, "id": { "type": "Identifier", - "start": 8009, - "end": 8021, + "start": 5212, + "end": 5225, "loc": { "start": { - "line": 133, - "column": 8 + "line": 147, + "column": 10 }, "end": { - "line": 133, - "column": 20 + "line": 147, + "column": 23 }, - "identifierName": "countIndices" + "identifierName": "numGeometries" }, - "name": "countIndices" + "name": "numGeometries" }, "init": { - "type": "NumericLiteral", - "start": 8024, - "end": 8025, + "type": "MemberExpression", + "start": 5228, + "end": 5249, "loc": { "start": { - "line": 133, - "column": 23 + "line": 147, + "column": 26 }, "end": { - "line": 133, - "column": 24 + "line": 147, + "column": 47 } }, - "extra": { - "rawValue": 0, - "raw": "0" + "object": { + "type": "Identifier", + "start": 5228, + "end": 5242, + "loc": { + "start": { + "line": 147, + "column": 26 + }, + "end": { + "line": 147, + "column": 40 + }, + "identifierName": "geometriesList" + }, + "name": "geometriesList" }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 8031, - "end": 8056, - "loc": { - "start": { - "line": 134, + "property": { + "type": "Identifier", + "start": 5243, + "end": 5249, + "loc": { + "start": { + "line": 147, + "column": 41 + }, + "end": { + "line": 147, + "column": 47 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 5255, + "end": 5295, + "loc": { + "start": { + "line": 148, "column": 4 }, "end": { - "line": 134, - "column": 29 + "line": 148, + "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8035, - "end": 8055, + "start": 5261, + "end": 5294, "loc": { "start": { - "line": 134, - "column": 8 + "line": 148, + "column": 10 }, "end": { - "line": 134, - "column": 28 + "line": 148, + "column": 43 } }, "id": { "type": "Identifier", - "start": 8035, - "end": 8051, + "start": 5261, + "end": 5272, "loc": { "start": { - "line": 134, - "column": 8 + "line": 148, + "column": 10 }, "end": { - "line": 134, - "column": 24 + "line": 148, + "column": 21 }, - "identifierName": "countEdgeIndices" + "identifierName": "numTextures" }, - "name": "countEdgeIndices" + "name": "numTextures" }, "init": { - "type": "NumericLiteral", - "start": 8054, - "end": 8055, + "type": "MemberExpression", + "start": 5275, + "end": 5294, "loc": { "start": { - "line": 134, - "column": 27 + "line": 148, + "column": 24 }, "end": { - "line": 134, - "column": 28 + "line": 148, + "column": 43 } }, - "extra": { - "rawValue": 0, - "raw": "0" + "object": { + "type": "Identifier", + "start": 5275, + "end": 5287, + "loc": { + "start": { + "line": 148, + "column": 24 + }, + "end": { + "line": 148, + "column": 36 + }, + "identifierName": "texturesList" + }, + "name": "texturesList" }, - "value": 0 + "property": { + "type": "Identifier", + "start": 5288, + "end": 5294, + "loc": { + "start": { + "line": 148, + "column": 37 + }, + "end": { + "line": 148, + "column": 43 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } } ], - "kind": "let", - "trailingComments": [ + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 5300, + "end": 5346, + "loc": { + "start": { + "line": 149, + "column": 4 + }, + "end": { + "line": 149, + "column": 50 + } + }, + "declarations": [ { - "type": "CommentLine", - "value": " Metadata", - "start": 8062, - "end": 8073, + "type": "VariableDeclarator", + "start": 5306, + "end": 5345, "loc": { "start": { - "line": 136, - "column": 4 + "line": 149, + "column": 10 }, "end": { - "line": 136, - "column": 15 + "line": 149, + "column": 49 } + }, + "id": { + "type": "Identifier", + "start": 5306, + "end": 5320, + "loc": { + "start": { + "line": 149, + "column": 10 + }, + "end": { + "line": 149, + "column": 24 + }, + "identifierName": "numTextureSets" + }, + "name": "numTextureSets" + }, + "init": { + "type": "MemberExpression", + "start": 5323, + "end": 5345, + "loc": { + "start": { + "line": 149, + "column": 27 + }, + "end": { + "line": 149, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 5323, + "end": 5338, + "loc": { + "start": { + "line": 149, + "column": 27 + }, + "end": { + "line": 149, + "column": 42 + }, + "identifierName": "textureSetsList" + }, + "name": "textureSetsList" + }, + "property": { + "type": "Identifier", + "start": 5339, + "end": 5345, + "loc": { + "start": { + "line": 149, + "column": 43 + }, + "end": { + "line": 149, + "column": 49 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } } - ] + ], + "kind": "const" }, { - "type": "ExpressionStatement", - "start": 8079, - "end": 8427, + "type": "VariableDeclaration", + "start": 5351, + "end": 5387, "loc": { "start": { - "line": 138, + "line": 150, "column": 4 }, "end": { - "line": 148, - "column": 6 + "line": 150, + "column": 40 } }, - "expression": { - "type": "AssignmentExpression", - "start": 8079, - "end": 8426, - "loc": { - "start": { - "line": 138, - "column": 4 - }, - "end": { - "line": 148, - "column": 5 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 8079, - "end": 8092, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5357, + "end": 5386, "loc": { "start": { - "line": 138, - "column": 4 + "line": 150, + "column": 10 }, "end": { - "line": 138, - "column": 17 + "line": 150, + "column": 39 } }, - "object": { + "id": { "type": "Identifier", - "start": 8079, - "end": 8083, + "start": 5357, + "end": 5366, "loc": { "start": { - "line": 138, - "column": 4 + "line": 150, + "column": 10 }, "end": { - "line": 138, - "column": 8 + "line": 150, + "column": 19 }, - "identifierName": "data" + "identifierName": "numMeshes" }, - "name": "data", - "leadingComments": null + "name": "numMeshes" }, - "property": { - "type": "Identifier", - "start": 8084, - "end": 8092, + "init": { + "type": "MemberExpression", + "start": 5369, + "end": 5386, "loc": { "start": { - "line": 138, - "column": 9 + "line": 150, + "column": 22 }, "end": { - "line": 138, - "column": 17 + "line": 150, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 5369, + "end": 5379, + "loc": { + "start": { + "line": 150, + "column": 22 + }, + "end": { + "line": 150, + "column": 32 + }, + "identifierName": "meshesList" }, - "identifierName": "metadata" + "name": "meshesList" }, - "name": "metadata" - }, - "computed": false, - "leadingComments": null + "property": { + "type": "Identifier", + "start": 5380, + "end": 5386, + "loc": { + "start": { + "line": 150, + "column": 33 + }, + "end": { + "line": 150, + "column": 39 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 5392, + "end": 5432, + "loc": { + "start": { + "line": 151, + "column": 4 }, - "right": { - "type": "ObjectExpression", - "start": 8095, - "end": 8426, + "end": { + "line": 151, + "column": 44 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5398, + "end": 5431, "loc": { "start": { - "line": 138, - "column": 20 + "line": 151, + "column": 10 }, "end": { - "line": 148, - "column": 5 + "line": 151, + "column": 43 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 8105, - "end": 8125, + "id": { + "type": "Identifier", + "start": 5398, + "end": 5409, + "loc": { + "start": { + "line": 151, + "column": 10 + }, + "end": { + "line": 151, + "column": 21 + }, + "identifierName": "numEntities" + }, + "name": "numEntities" + }, + "init": { + "type": "MemberExpression", + "start": 5412, + "end": 5431, + "loc": { + "start": { + "line": 151, + "column": 24 + }, + "end": { + "line": 151, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 5412, + "end": 5424, "loc": { "start": { - "line": 139, - "column": 8 + "line": 151, + "column": 24 }, "end": { - "line": 139, - "column": 28 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8105, - "end": 8107, - "loc": { - "start": { - "line": 139, - "column": 8 - }, - "end": { - "line": 139, - "column": 10 - }, - "identifierName": "id" + "line": 151, + "column": 36 }, - "name": "id" + "identifierName": "entitiesList" }, - "value": { - "type": "MemberExpression", - "start": 8109, - "end": 8125, - "loc": { - "start": { - "line": 139, - "column": 12 - }, - "end": { - "line": 139, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 8109, - "end": 8117, - "loc": { - "start": { - "line": 139, - "column": 12 - }, - "end": { - "line": 139, - "column": 20 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" + "name": "entitiesList" + }, + "property": { + "type": "Identifier", + "start": 5425, + "end": 5431, + "loc": { + "start": { + "line": 151, + "column": 37 }, - "property": { - "type": "Identifier", - "start": 8118, - "end": 8125, - "loc": { - "start": { - "line": 139, - "column": 21 - }, - "end": { - "line": 139, - "column": 28 - }, - "identifierName": "modelId" - }, - "name": "modelId" + "end": { + "line": 151, + "column": 43 }, - "computed": false + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 5437, + "end": 5471, + "loc": { + "start": { + "line": 152, + "column": 4 + }, + "end": { + "line": 152, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5443, + "end": 5470, + "loc": { + "start": { + "line": 152, + "column": 10 + }, + "end": { + "line": 152, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 5443, + "end": 5451, + "loc": { + "start": { + "line": 152, + "column": 10 + }, + "end": { + "line": 152, + "column": 18 + }, + "identifierName": "numTiles" + }, + "name": "numTiles" + }, + "init": { + "type": "MemberExpression", + "start": 5454, + "end": 5470, + "loc": { + "start": { + "line": 152, + "column": 21 + }, + "end": { + "line": 152, + "column": 37 } }, - { - "type": "ObjectProperty", - "start": 8135, - "end": 8164, + "object": { + "type": "Identifier", + "start": 5454, + "end": 5463, "loc": { "start": { - "line": 140, - "column": 8 + "line": 152, + "column": 21 }, "end": { - "line": 140, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8135, - "end": 8144, - "loc": { - "start": { - "line": 140, - "column": 8 - }, - "end": { - "line": 140, - "column": 17 - }, - "identifierName": "projectId" + "line": 152, + "column": 30 }, - "name": "projectId" + "identifierName": "tilesList" }, - "value": { - "type": "MemberExpression", - "start": 8146, - "end": 8164, - "loc": { - "start": { - "line": 140, - "column": 19 - }, - "end": { - "line": 140, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 8146, - "end": 8154, - "loc": { - "start": { - "line": 140, - "column": 19 - }, - "end": { - "line": 140, - "column": 27 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 8155, - "end": 8164, - "loc": { - "start": { - "line": 140, - "column": 28 - }, - "end": { - "line": 140, - "column": 37 - }, - "identifierName": "projectId" - }, - "name": "projectId" - }, - "computed": false - } + "name": "tilesList" }, - { - "type": "ObjectProperty", - "start": 8174, - "end": 8205, + "property": { + "type": "Identifier", + "start": 5464, + "end": 5470, "loc": { "start": { - "line": 141, - "column": 8 + "line": 152, + "column": 31 }, "end": { - "line": 141, - "column": 39 - } + "line": 152, + "column": 37 + }, + "identifierName": "length" }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8174, - "end": 8184, - "loc": { - "start": { - "line": 141, - "column": 8 - }, - "end": { - "line": 141, - "column": 18 - }, - "identifierName": "revisionId" - }, - "name": "revisionId" - }, - "value": { - "type": "MemberExpression", - "start": 8186, - "end": 8205, - "loc": { - "start": { - "line": 141, - "column": 20 - }, - "end": { - "line": 141, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 8186, - "end": 8194, - "loc": { - "start": { - "line": 141, - "column": 20 - }, - "end": { - "line": 141, - "column": 28 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 8195, - "end": 8205, - "loc": { - "start": { - "line": 141, - "column": 29 - }, - "end": { - "line": 141, - "column": 39 - }, - "identifierName": "revisionId" - }, - "name": "revisionId" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 8215, - "end": 8238, - "loc": { - "start": { - "line": 142, - "column": 8 - }, - "end": { - "line": 142, - "column": 31 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8215, - "end": 8221, - "loc": { - "start": { - "line": 142, - "column": 8 - }, - "end": { - "line": 142, - "column": 14 - }, - "identifierName": "author" - }, - "name": "author" - }, - "value": { - "type": "MemberExpression", - "start": 8223, - "end": 8238, - "loc": { - "start": { - "line": 142, - "column": 16 - }, - "end": { - "line": 142, - "column": 31 - } - }, - "object": { - "type": "Identifier", - "start": 8223, - "end": 8231, - "loc": { - "start": { - "line": 142, - "column": 16 - }, - "end": { - "line": 142, - "column": 24 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 8232, - "end": 8238, - "loc": { - "start": { - "line": 142, - "column": 25 - }, - "end": { - "line": 142, - "column": 31 - }, - "identifierName": "author" - }, - "name": "author" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 8248, - "end": 8277, - "loc": { - "start": { - "line": 143, - "column": 8 - }, - "end": { - "line": 143, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8248, - "end": 8257, - "loc": { - "start": { - "line": 143, - "column": 8 - }, - "end": { - "line": 143, - "column": 17 - }, - "identifierName": "createdAt" - }, - "name": "createdAt" - }, - "value": { - "type": "MemberExpression", - "start": 8259, - "end": 8277, - "loc": { - "start": { - "line": 143, - "column": 19 - }, - "end": { - "line": 143, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 8259, - "end": 8267, - "loc": { - "start": { - "line": 143, - "column": 19 - }, - "end": { - "line": 143, - "column": 27 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 8268, - "end": 8277, - "loc": { - "start": { - "line": 143, - "column": 28 - }, - "end": { - "line": 143, - "column": 37 - }, - "identifierName": "createdAt" - }, - "name": "createdAt" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 8287, - "end": 8336, - "loc": { - "start": { - "line": 144, - "column": 8 - }, - "end": { - "line": 144, - "column": 57 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8287, - "end": 8306, - "loc": { - "start": { - "line": 144, - "column": 8 - }, - "end": { - "line": 144, - "column": 27 - }, - "identifierName": "creatingApplication" - }, - "name": "creatingApplication" - }, - "value": { - "type": "MemberExpression", - "start": 8308, - "end": 8336, - "loc": { - "start": { - "line": 144, - "column": 29 - }, - "end": { - "line": 144, - "column": 57 - } - }, - "object": { - "type": "Identifier", - "start": 8308, - "end": 8316, - "loc": { - "start": { - "line": 144, - "column": 29 - }, - "end": { - "line": 144, - "column": 37 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 8317, - "end": 8336, - "loc": { - "start": { - "line": 144, - "column": 38 - }, - "end": { - "line": 144, - "column": 57 - }, - "identifierName": "creatingApplication" - }, - "name": "creatingApplication" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 8346, - "end": 8369, - "loc": { - "start": { - "line": 145, - "column": 8 - }, - "end": { - "line": 145, - "column": 31 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8346, - "end": 8352, - "loc": { - "start": { - "line": 145, - "column": 8 - }, - "end": { - "line": 145, - "column": 14 - }, - "identifierName": "schema" - }, - "name": "schema" - }, - "value": { - "type": "MemberExpression", - "start": 8354, - "end": 8369, - "loc": { - "start": { - "line": 145, - "column": 16 - }, - "end": { - "line": 145, - "column": 31 - } - }, - "object": { - "type": "Identifier", - "start": 8354, - "end": 8362, - "loc": { - "start": { - "line": 145, - "column": 16 - }, - "end": { - "line": 145, - "column": 24 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 8363, - "end": 8369, - "loc": { - "start": { - "line": 145, - "column": 25 - }, - "end": { - "line": 145, - "column": 31 - }, - "identifierName": "schema" - }, - "name": "schema" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 8379, - "end": 8395, - "loc": { - "start": { - "line": 146, - "column": 8 - }, - "end": { - "line": 146, - "column": 24 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8379, - "end": 8391, - "loc": { - "start": { - "line": 146, - "column": 8 - }, - "end": { - "line": 146, - "column": 20 - }, - "identifierName": "propertySets" - }, - "name": "propertySets" - }, - "value": { - "type": "ArrayExpression", - "start": 8393, - "end": 8395, - "loc": { - "start": { - "line": 146, - "column": 22 - }, - "end": { - "line": 146, - "column": 24 - } - }, - "elements": [] - } - }, - { - "type": "ObjectProperty", - "start": 8405, - "end": 8420, - "loc": { - "start": { - "line": 147, - "column": 8 - }, - "end": { - "line": 147, - "column": 23 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8405, - "end": 8416, - "loc": { - "start": { - "line": 147, - "column": 8 - }, - "end": { - "line": 147, - "column": 19 - }, - "identifierName": "metaObjects" - }, - "name": "metaObjects" - }, - "value": { - "type": "ArrayExpression", - "start": 8418, - "end": 8420, - "loc": { - "start": { - "line": 147, - "column": 21 - }, - "end": { - "line": 147, - "column": 23 - } - }, - "elements": [] - } - } - ] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Metadata", - "start": 8062, - "end": 8073, - "loc": { - "start": { - "line": 136, - "column": 4 + "name": "length" }, - "end": { - "line": 136, - "column": 15 - } + "computed": false } } ], - "trailingComments": [ + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 5477, + "end": 5498, + "loc": { + "start": { + "line": 154, + "column": 4 + }, + "end": { + "line": 154, + "column": 25 + } + }, + "declarations": [ { - "type": "CommentLine", - "value": " Property sets", - "start": 8433, - "end": 8449, + "type": "VariableDeclarator", + "start": 5481, + "end": 5497, "loc": { "start": { - "line": 150, - "column": 4 + "line": 154, + "column": 8 }, "end": { - "line": 150, - "column": 20 + "line": 154, + "column": 24 } + }, + "id": { + "type": "Identifier", + "start": 5481, + "end": 5493, + "loc": { + "start": { + "line": 154, + "column": 8 + }, + "end": { + "line": 154, + "column": 20 + }, + "identifierName": "lenPositions" + }, + "name": "lenPositions" + }, + "init": { + "type": "NumericLiteral", + "start": 5496, + "end": 5497, + "loc": { + "start": { + "line": 154, + "column": 23 + }, + "end": { + "line": 154, + "column": 24 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 } } - ] + ], + "kind": "let" }, { - "type": "ForStatement", - "start": 8455, - "end": 8909, + "type": "VariableDeclaration", + "start": 5503, + "end": 5522, "loc": { "start": { - "line": 152, + "line": 155, "column": 4 }, "end": { - "line": 161, - "column": 5 + "line": 155, + "column": 23 } }, - "init": { - "type": "VariableDeclaration", - "start": 8460, - "end": 8485, - "loc": { - "start": { - "line": 152, - "column": 9 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5507, + "end": 5521, + "loc": { + "start": { + "line": 155, + "column": 8 + }, + "end": { + "line": 155, + "column": 22 + } }, - "end": { - "line": 152, - "column": 34 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8464, - "end": 8485, + "id": { + "type": "Identifier", + "start": 5507, + "end": 5517, "loc": { "start": { - "line": 152, - "column": 13 + "line": 155, + "column": 8 }, "end": { - "line": 152, - "column": 34 - } - }, + "line": 155, + "column": 18 + }, + "identifierName": "lenNormals" + }, + "name": "lenNormals" + }, + "init": { + "type": "NumericLiteral", + "start": 5520, + "end": 5521, + "loc": { + "start": { + "line": 155, + "column": 21 + }, + "end": { + "line": 155, + "column": 22 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 5527, + "end": 5545, + "loc": { + "start": { + "line": 156, + "column": 4 + }, + "end": { + "line": 156, + "column": 22 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5531, + "end": 5544, + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 21 + } + }, + "id": { + "type": "Identifier", + "start": 5531, + "end": 5540, + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 17 + }, + "identifierName": "lenColors" + }, + "name": "lenColors" + }, + "init": { + "type": "NumericLiteral", + "start": 5543, + "end": 5544, + "loc": { + "start": { + "line": 156, + "column": 20 + }, + "end": { + "line": 156, + "column": 21 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 5550, + "end": 5565, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 19 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5554, + "end": 5564, + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 5554, + "end": 5560, + "loc": { + "start": { + "line": 157, + "column": 8 + }, + "end": { + "line": 157, + "column": 14 + }, + "identifierName": "lenUVs" + }, + "name": "lenUVs" + }, + "init": { + "type": "NumericLiteral", + "start": 5563, + "end": 5564, + "loc": { + "start": { + "line": 157, + "column": 17 + }, + "end": { + "line": 157, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 5570, + "end": 5589, + "loc": { + "start": { + "line": 158, + "column": 4 + }, + "end": { + "line": 158, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5574, + "end": 5588, + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 5574, + "end": 5584, + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 18 + }, + "identifierName": "lenIndices" + }, + "name": "lenIndices" + }, + "init": { + "type": "NumericLiteral", + "start": 5587, + "end": 5588, + "loc": { + "start": { + "line": 158, + "column": 21 + }, + "end": { + "line": 158, + "column": 22 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 5594, + "end": 5617, + "loc": { + "start": { + "line": 159, + "column": 4 + }, + "end": { + "line": 159, + "column": 27 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5598, + "end": 5616, + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 26 + } + }, + "id": { + "type": "Identifier", + "start": 5598, + "end": 5612, + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 22 + }, + "identifierName": "lenEdgeIndices" + }, + "name": "lenEdgeIndices" + }, + "init": { + "type": "NumericLiteral", + "start": 5615, + "end": 5616, + "loc": { + "start": { + "line": 159, + "column": 25 + }, + "end": { + "line": 159, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 5622, + "end": 5642, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 160, + "column": 24 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5626, + "end": 5641, + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 23 + } + }, + "id": { + "type": "Identifier", + "start": 5626, + "end": 5637, + "loc": { + "start": { + "line": 160, + "column": 8 + }, + "end": { + "line": 160, + "column": 19 + }, + "identifierName": "lenMatrices" + }, + "name": "lenMatrices" + }, + "init": { + "type": "NumericLiteral", + "start": 5640, + "end": 5641, + "loc": { + "start": { + "line": 160, + "column": 22 + }, + "end": { + "line": 160, + "column": 23 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 5647, + "end": 5667, + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 161, + "column": 24 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5651, + "end": 5666, + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 23 + } + }, + "id": { + "type": "Identifier", + "start": 5651, + "end": 5662, + "loc": { + "start": { + "line": 161, + "column": 8 + }, + "end": { + "line": 161, + "column": 19 + }, + "identifierName": "lenTextures" + }, + "name": "lenTextures" + }, + "init": { + "type": "NumericLiteral", + "start": 5665, + "end": 5666, + "loc": { + "start": { + "line": 161, + "column": 22 + }, + "end": { + "line": 161, + "column": 23 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "ForStatement", + "start": 5673, + "end": 6432, + "loc": { + "start": { + "line": 163, + "column": 4 + }, + "end": { + "line": 183, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 5678, + "end": 5699, + "loc": { + "start": { + "line": 163, + "column": 9 + }, + "end": { + "line": 163, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 5682, + "end": 5699, + "loc": { + "start": { + "line": 163, + "column": 13 + }, + "end": { + "line": 163, + "column": 30 + } + }, "id": { "type": "Identifier", - "start": 8464, - "end": 8481, + "start": 5682, + "end": 5695, "loc": { "start": { - "line": 152, + "line": 163, "column": 13 }, "end": { - "line": 152, - "column": 30 + "line": 163, + "column": 26 }, - "identifierName": "propertySetsIndex" + "identifierName": "geometryIndex" }, - "name": "propertySetsIndex", - "leadingComments": null + "name": "geometryIndex" }, "init": { "type": "NumericLiteral", - "start": 8484, - "end": 8485, + "start": 5698, + "end": 5699, "loc": { "start": { - "line": 152, - "column": 33 + "line": 163, + "column": 29 }, "end": { - "line": 152, - "column": 34 + "line": 163, + "column": 30 } }, "extra": { @@ -10512,205 +11290,203 @@ "raw": "0" }, "value": 0 - }, - "leadingComments": null + } } ], - "kind": "let", - "leadingComments": null + "kind": "let" }, "test": { "type": "BinaryExpression", - "start": 8487, - "end": 8522, + "start": 5701, + "end": 5730, "loc": { "start": { - "line": 152, - "column": 36 + "line": 163, + "column": 32 }, "end": { - "line": 152, - "column": 71 + "line": 163, + "column": 61 } }, "left": { "type": "Identifier", - "start": 8487, - "end": 8504, + "start": 5701, + "end": 5714, "loc": { "start": { - "line": 152, - "column": 36 + "line": 163, + "column": 32 }, "end": { - "line": 152, - "column": 53 + "line": 163, + "column": 45 }, - "identifierName": "propertySetsIndex" + "identifierName": "geometryIndex" }, - "name": "propertySetsIndex" + "name": "geometryIndex" }, "operator": "<", "right": { "type": "Identifier", - "start": 8507, - "end": 8522, + "start": 5717, + "end": 5730, "loc": { "start": { - "line": 152, - "column": 56 + "line": 163, + "column": 48 }, "end": { - "line": 152, - "column": 71 + "line": 163, + "column": 61 }, - "identifierName": "numPropertySets" + "identifierName": "numGeometries" }, - "name": "numPropertySets" + "name": "numGeometries" } }, "update": { "type": "UpdateExpression", - "start": 8524, - "end": 8543, + "start": 5732, + "end": 5747, "loc": { "start": { - "line": 152, - "column": 73 + "line": 163, + "column": 63 }, "end": { - "line": 152, - "column": 92 + "line": 163, + "column": 78 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", - "start": 8524, - "end": 8541, + "start": 5732, + "end": 5745, "loc": { "start": { - "line": 152, - "column": 73 + "line": 163, + "column": 63 }, "end": { - "line": 152, - "column": 90 + "line": 163, + "column": 76 }, - "identifierName": "propertySetsIndex" + "identifierName": "geometryIndex" }, - "name": "propertySetsIndex" + "name": "geometryIndex" } }, "body": { "type": "BlockStatement", - "start": 8545, - "end": 8909, + "start": 5749, + "end": 6432, "loc": { "start": { - "line": 152, - "column": 94 + "line": 163, + "column": 80 }, "end": { - "line": 161, + "line": 183, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 8555, - "end": 8611, + "start": 5759, + "end": 5807, "loc": { "start": { - "line": 153, + "line": 164, "column": 8 }, "end": { - "line": 153, - "column": 64 + "line": 164, + "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8561, - "end": 8610, + "start": 5765, + "end": 5806, "loc": { "start": { - "line": 153, + "line": 164, "column": 14 }, "end": { - "line": 153, - "column": 63 + "line": 164, + "column": 55 } }, "id": { "type": "Identifier", - "start": 8561, - "end": 8572, + "start": 5765, + "end": 5773, "loc": { "start": { - "line": 153, + "line": 164, "column": 14 }, "end": { - "line": 153, - "column": 25 + "line": 164, + "column": 22 }, - "identifierName": "propertySet" + "identifierName": "geometry" }, - "name": "propertySet" + "name": "geometry" }, "init": { "type": "MemberExpression", - "start": 8575, - "end": 8610, + "start": 5776, + "end": 5806, "loc": { "start": { - "line": 153, - "column": 28 + "line": 164, + "column": 25 }, "end": { - "line": 153, - "column": 63 + "line": 164, + "column": 55 } }, "object": { "type": "Identifier", - "start": 8575, - "end": 8591, + "start": 5776, + "end": 5790, "loc": { "start": { - "line": 153, - "column": 28 + "line": 164, + "column": 25 }, "end": { - "line": 153, - "column": 44 + "line": 164, + "column": 39 }, - "identifierName": "propertySetsList" + "identifierName": "geometriesList" }, - "name": "propertySetsList" + "name": "geometriesList" }, "property": { "type": "Identifier", - "start": 8592, - "end": 8609, + "start": 5792, + "end": 5805, "loc": { "start": { - "line": 153, - "column": 45 + "line": 164, + "column": 41 }, "end": { - "line": 153, - "column": 62 + "line": 164, + "column": 54 }, - "identifierName": "propertySetsIndex" + "identifierName": "geometryIndex" }, - "name": "propertySetsIndex" + "name": "geometryIndex" }, "computed": true } @@ -10719,2593 +11495,2022 @@ "kind": "const" }, { - "type": "VariableDeclaration", - "start": 8620, - "end": 8845, + "type": "IfStatement", + "start": 5816, + "end": 5924, "loc": { "start": { - "line": 154, + "line": 165, "column": 8 }, "end": { - "line": 159, - "column": 10 + "line": 167, + "column": 9 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8626, - "end": 8844, + "test": { + "type": "MemberExpression", + "start": 5820, + "end": 5847, + "loc": { + "start": { + "line": 165, + "column": 12 + }, + "end": { + "line": 165, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 5820, + "end": 5828, "loc": { "start": { - "line": 154, - "column": 14 + "line": 165, + "column": 12 }, "end": { - "line": 159, - "column": 9 - } + "line": 165, + "column": 20 + }, + "identifierName": "geometry" }, - "id": { - "type": "Identifier", - "start": 8626, - "end": 8641, - "loc": { - "start": { - "line": 154, - "column": 14 - }, - "end": { - "line": 154, - "column": 29 - }, - "identifierName": "propertySetJSON" + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 5829, + "end": 5847, + "loc": { + "start": { + "line": 165, + "column": 21 }, - "name": "propertySetJSON" + "end": { + "line": 165, + "column": 39 + }, + "identifierName": "positionsQuantized" }, - "init": { - "type": "ObjectExpression", - "start": 8644, - "end": 8844, + "name": "positionsQuantized" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 5849, + "end": 5924, + "loc": { + "start": { + "line": 165, + "column": 41 + }, + "end": { + "line": 167, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5863, + "end": 5914, "loc": { "start": { - "line": 154, - "column": 32 + "line": 166, + "column": 12 }, "end": { - "line": 159, - "column": 9 + "line": 166, + "column": 63 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 8658, - "end": 8692, + "expression": { + "type": "AssignmentExpression", + "start": 5863, + "end": 5913, + "loc": { + "start": { + "line": 166, + "column": 12 + }, + "end": { + "line": 166, + "column": 62 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 5863, + "end": 5875, "loc": { "start": { - "line": 155, + "line": 166, "column": 12 }, "end": { - "line": 155, - "column": 46 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8658, - "end": 8660, - "loc": { - "start": { - "line": 155, - "column": 12 - }, - "end": { - "line": 155, - "column": 14 - }, - "identifierName": "id" + "line": 166, + "column": 24 }, - "name": "id" + "identifierName": "lenPositions" }, - "value": { - "type": "BinaryExpression", - "start": 8662, - "end": 8692, - "loc": { - "start": { - "line": 155, - "column": 16 - }, - "end": { - "line": 155, - "column": 46 - } - }, - "left": { - "type": "StringLiteral", - "start": 8662, - "end": 8664, - "loc": { - "start": { - "line": 155, - "column": 16 - }, - "end": { - "line": 155, - "column": 18 - } - }, - "extra": { - "rawValue": "", - "raw": "\"\"" - }, - "value": "" - }, - "operator": "+", - "right": { - "type": "MemberExpression", - "start": 8667, - "end": 8692, - "loc": { - "start": { - "line": 155, - "column": 21 - }, - "end": { - "line": 155, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 8667, - "end": 8678, - "loc": { - "start": { - "line": 155, - "column": 21 - }, - "end": { - "line": 155, - "column": 32 - }, - "identifierName": "propertySet" - }, - "name": "propertySet" - }, - "property": { - "type": "Identifier", - "start": 8679, - "end": 8692, - "loc": { - "start": { - "line": 155, - "column": 33 - }, - "end": { - "line": 155, - "column": 46 - }, - "identifierName": "propertySetId" - }, - "name": "propertySetId" - }, - "computed": false - } - } + "name": "lenPositions" }, - { - "type": "ObjectProperty", - "start": 8706, - "end": 8739, + "right": { + "type": "MemberExpression", + "start": 5879, + "end": 5913, "loc": { "start": { - "line": 156, - "column": 12 + "line": 166, + "column": 28 }, "end": { - "line": 156, - "column": 45 + "line": 166, + "column": 62 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8706, - "end": 8710, - "loc": { - "start": { - "line": 156, - "column": 12 - }, - "end": { - "line": 156, - "column": 16 - }, - "identifierName": "name" - }, - "name": "name" - }, - "value": { + "object": { "type": "MemberExpression", - "start": 8712, - "end": 8739, + "start": 5879, + "end": 5906, "loc": { "start": { - "line": 156, - "column": 18 + "line": 166, + "column": 28 }, "end": { - "line": 156, - "column": 45 + "line": 166, + "column": 55 } }, "object": { "type": "Identifier", - "start": 8712, - "end": 8723, + "start": 5879, + "end": 5887, "loc": { "start": { - "line": 156, - "column": 18 + "line": 166, + "column": 28 }, "end": { - "line": 156, - "column": 29 + "line": 166, + "column": 36 }, - "identifierName": "propertySet" + "identifierName": "geometry" }, - "name": "propertySet" + "name": "geometry" }, "property": { "type": "Identifier", - "start": 8724, - "end": 8739, + "start": 5888, + "end": 5906, "loc": { "start": { - "line": 156, - "column": 30 + "line": 166, + "column": 37 }, "end": { - "line": 156, - "column": 45 + "line": 166, + "column": 55 }, - "identifierName": "propertySetName" + "identifierName": "positionsQuantized" }, - "name": "propertySetName" + "name": "positionsQuantized" }, "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 8753, - "end": 8786, - "loc": { - "start": { - "line": 157, - "column": 12 - }, - "end": { - "line": 157, - "column": 45 - } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "property": { "type": "Identifier", - "start": 8753, - "end": 8757, + "start": 5907, + "end": 5913, "loc": { "start": { - "line": 157, - "column": 12 + "line": 166, + "column": 56 }, "end": { - "line": 157, - "column": 16 + "line": 166, + "column": 62 }, - "identifierName": "type" + "identifierName": "length" }, - "name": "type" + "name": "length" }, - "value": { - "type": "MemberExpression", - "start": 8759, - "end": 8786, - "loc": { - "start": { - "line": 157, - "column": 18 - }, - "end": { - "line": 157, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 8759, - "end": 8770, - "loc": { - "start": { - "line": 157, - "column": 18 - }, - "end": { - "line": 157, - "column": 29 - }, - "identifierName": "propertySet" - }, - "name": "propertySet" - }, - "property": { - "type": "Identifier", - "start": 8771, - "end": 8786, - "loc": { - "start": { - "line": 157, - "column": 30 - }, - "end": { - "line": 157, - "column": 45 - }, - "identifierName": "propertySetType" - }, - "name": "propertySetType" - }, - "computed": false + "computed": false + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 5933, + "end": 6037, + "loc": { + "start": { + "line": 168, + "column": 8 + }, + "end": { + "line": 170, + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 5937, + "end": 5963, + "loc": { + "start": { + "line": 168, + "column": 12 + }, + "end": { + "line": 168, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 5937, + "end": 5945, + "loc": { + "start": { + "line": 168, + "column": 12 + }, + "end": { + "line": 168, + "column": 20 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 5946, + "end": 5963, + "loc": { + "start": { + "line": 168, + "column": 21 + }, + "end": { + "line": 168, + "column": 38 + }, + "identifierName": "normalsOctEncoded" + }, + "name": "normalsOctEncoded" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 5965, + "end": 6037, + "loc": { + "start": { + "line": 168, + "column": 40 + }, + "end": { + "line": 170, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5979, + "end": 6027, + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 60 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 5979, + "end": 6026, + "loc": { + "start": { + "line": 169, + "column": 12 + }, + "end": { + "line": 169, + "column": 59 } }, - { - "type": "ObjectProperty", - "start": 8800, - "end": 8834, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 5979, + "end": 5989, "loc": { "start": { - "line": 158, + "line": 169, "column": 12 }, "end": { - "line": 158, - "column": 46 - } + "line": 169, + "column": 22 + }, + "identifierName": "lenNormals" }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8800, - "end": 8810, - "loc": { - "start": { - "line": 158, - "column": 12 - }, - "end": { - "line": 158, - "column": 22 - }, - "identifierName": "properties" + "name": "lenNormals" + }, + "right": { + "type": "MemberExpression", + "start": 5993, + "end": 6026, + "loc": { + "start": { + "line": 169, + "column": 26 }, - "name": "properties" + "end": { + "line": 169, + "column": 59 + } }, - "value": { + "object": { "type": "MemberExpression", - "start": 8812, - "end": 8834, + "start": 5993, + "end": 6019, "loc": { "start": { - "line": 158, - "column": 24 + "line": 169, + "column": 26 }, "end": { - "line": 158, - "column": 46 + "line": 169, + "column": 52 } }, "object": { "type": "Identifier", - "start": 8812, - "end": 8823, + "start": 5993, + "end": 6001, "loc": { "start": { - "line": 158, - "column": 24 + "line": 169, + "column": 26 }, "end": { - "line": 158, - "column": 35 + "line": 169, + "column": 34 }, - "identifierName": "propertySet" + "identifierName": "geometry" }, - "name": "propertySet" + "name": "geometry" }, "property": { "type": "Identifier", - "start": 8824, - "end": 8834, + "start": 6002, + "end": 6019, "loc": { "start": { - "line": 158, - "column": 36 + "line": 169, + "column": 35 }, "end": { - "line": 158, - "column": 46 + "line": 169, + "column": 52 }, - "identifierName": "properties" + "identifierName": "normalsOctEncoded" }, - "name": "properties" + "name": "normalsOctEncoded" }, "computed": false - } + }, + "property": { + "type": "Identifier", + "start": 6020, + "end": 6026, + "loc": { + "start": { + "line": 169, + "column": 53 + }, + "end": { + "line": 169, + "column": 59 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } - ] + } } - } - ], - "kind": "const" + ], + "directives": [] + }, + "alternate": null }, { - "type": "ExpressionStatement", - "start": 8854, - "end": 8903, + "type": "IfStatement", + "start": 6046, + "end": 6147, "loc": { "start": { - "line": 160, + "line": 171, "column": 8 }, "end": { - "line": 160, - "column": 57 + "line": 173, + "column": 9 } }, - "expression": { - "type": "CallExpression", - "start": 8854, - "end": 8902, + "test": { + "type": "MemberExpression", + "start": 6050, + "end": 6075, "loc": { "start": { - "line": 160, - "column": 8 + "line": 171, + "column": 12 }, "end": { - "line": 160, - "column": 56 + "line": 171, + "column": 37 } }, - "callee": { - "type": "MemberExpression", - "start": 8854, - "end": 8885, + "object": { + "type": "Identifier", + "start": 6050, + "end": 6058, "loc": { "start": { - "line": 160, - "column": 8 + "line": 171, + "column": 12 }, "end": { - "line": 160, - "column": 39 - } + "line": 171, + "column": 20 + }, + "identifierName": "geometry" }, - "object": { - "type": "MemberExpression", - "start": 8854, - "end": 8880, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 6059, + "end": 6075, + "loc": { + "start": { + "line": 171, + "column": 21 + }, + "end": { + "line": 171, + "column": 37 + }, + "identifierName": "colorsCompressed" + }, + "name": "colorsCompressed" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 6077, + "end": 6147, + "loc": { + "start": { + "line": 171, + "column": 39 + }, + "end": { + "line": 173, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 6091, + "end": 6137, "loc": { "start": { - "line": 160, - "column": 8 + "line": 172, + "column": 12 }, "end": { - "line": 160, - "column": 34 + "line": 172, + "column": 58 } }, - "object": { - "type": "MemberExpression", - "start": 8854, - "end": 8867, + "expression": { + "type": "AssignmentExpression", + "start": 6091, + "end": 6136, "loc": { "start": { - "line": 160, - "column": 8 + "line": 172, + "column": 12 }, "end": { - "line": 160, - "column": 21 + "line": 172, + "column": 57 } }, - "object": { + "operator": "+=", + "left": { "type": "Identifier", - "start": 8854, - "end": 8858, + "start": 6091, + "end": 6100, "loc": { "start": { - "line": 160, - "column": 8 + "line": 172, + "column": 12 }, "end": { - "line": 160, - "column": 12 + "line": 172, + "column": 21 }, - "identifierName": "data" + "identifierName": "lenColors" }, - "name": "data" + "name": "lenColors" }, - "property": { - "type": "Identifier", - "start": 8859, - "end": 8867, + "right": { + "type": "MemberExpression", + "start": 6104, + "end": 6136, "loc": { "start": { - "line": 160, - "column": 13 + "line": 172, + "column": 25 }, "end": { - "line": 160, - "column": 21 - }, - "identifierName": "metadata" + "line": 172, + "column": 57 + } }, - "name": "metadata" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8868, - "end": 8880, - "loc": { - "start": { - "line": 160, - "column": 22 + "object": { + "type": "MemberExpression", + "start": 6104, + "end": 6129, + "loc": { + "start": { + "line": 172, + "column": 25 + }, + "end": { + "line": 172, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 6104, + "end": 6112, + "loc": { + "start": { + "line": 172, + "column": 25 + }, + "end": { + "line": 172, + "column": 33 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 6113, + "end": 6129, + "loc": { + "start": { + "line": 172, + "column": 34 + }, + "end": { + "line": 172, + "column": 50 + }, + "identifierName": "colorsCompressed" + }, + "name": "colorsCompressed" + }, + "computed": false }, - "end": { - "line": 160, - "column": 34 + "property": { + "type": "Identifier", + "start": 6130, + "end": 6136, + "loc": { + "start": { + "line": 172, + "column": 51 + }, + "end": { + "line": 172, + "column": 57 + }, + "identifierName": "length" + }, + "name": "length" }, - "identifierName": "propertySets" - }, - "name": "propertySets" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8881, - "end": 8885, - "loc": { - "start": { - "line": 160, - "column": 35 - }, - "end": { - "line": 160, - "column": 39 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 8886, - "end": 8901, - "loc": { - "start": { - "line": 160, - "column": 40 - }, - "end": { - "line": 160, - "column": 55 - }, - "identifierName": "propertySetJSON" - }, - "name": "propertySetJSON" + "computed": false + } + } } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Property sets", - "start": 8433, - "end": 8449, - "loc": { - "start": { - "line": 150, - "column": 4 - }, - "end": { - "line": 150, - "column": 20 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Metaobjects", - "start": 8915, - "end": 8929, - "loc": { - "start": { - "line": 163, - "column": 4 - }, - "end": { - "line": 163, - "column": 18 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 8935, - "end": 9881, - "loc": { - "start": { - "line": 165, - "column": 4 - }, - "end": { - "line": 184, - "column": 5 - } - }, - "test": { - "type": "UnaryExpression", - "start": 8939, - "end": 8956, - "loc": { - "start": { - "line": 165, - "column": 8 - }, - "end": { - "line": 165, - "column": 25 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 8940, - "end": 8956, - "loc": { - "start": { - "line": 165, - "column": 9 - }, - "end": { - "line": 165, - "column": 25 + ], + "directives": [] }, - "identifierName": "metaModelDataStr" - }, - "name": "metaModelDataStr", - "leadingComments": null - }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 8958, - "end": 9881, - "loc": { - "start": { - "line": 165, - "column": 27 + "alternate": null }, - "end": { - "line": 184, - "column": 5 - } - }, - "body": [ { - "type": "ForStatement", - "start": 8968, - "end": 9875, + "type": "IfStatement", + "start": 6156, + "end": 6228, "loc": { "start": { - "line": 166, + "line": 174, "column": 8 }, "end": { - "line": 183, + "line": 176, "column": 9 } }, - "init": { - "type": "VariableDeclaration", - "start": 8973, - "end": 8997, + "test": { + "type": "MemberExpression", + "start": 6160, + "end": 6172, "loc": { "start": { - "line": 166, - "column": 13 + "line": 174, + "column": 12 }, "end": { - "line": 166, - "column": 37 + "line": 174, + "column": 24 } }, - "declarations": [ + "object": { + "type": "Identifier", + "start": 6160, + "end": 6168, + "loc": { + "start": { + "line": 174, + "column": 12 + }, + "end": { + "line": 174, + "column": 20 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 6169, + "end": 6172, + "loc": { + "start": { + "line": 174, + "column": 21 + }, + "end": { + "line": 174, + "column": 24 + }, + "identifierName": "uvs" + }, + "name": "uvs" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 6174, + "end": 6228, + "loc": { + "start": { + "line": 174, + "column": 26 + }, + "end": { + "line": 176, + "column": 9 + } + }, + "body": [ { - "type": "VariableDeclarator", - "start": 8977, - "end": 8997, + "type": "ExpressionStatement", + "start": 6188, + "end": 6218, "loc": { "start": { - "line": 166, - "column": 17 + "line": 175, + "column": 12 }, "end": { - "line": 166, - "column": 37 + "line": 175, + "column": 42 } }, - "id": { - "type": "Identifier", - "start": 8977, - "end": 8993, - "loc": { - "start": { - "line": 166, - "column": 17 - }, - "end": { - "line": 166, - "column": 33 - }, - "identifierName": "metaObjectsIndex" - }, - "name": "metaObjectsIndex" - }, - "init": { - "type": "NumericLiteral", - "start": 8996, - "end": 8997, + "expression": { + "type": "AssignmentExpression", + "start": 6188, + "end": 6217, "loc": { "start": { - "line": 166, - "column": 36 + "line": 175, + "column": 12 }, "end": { - "line": 166, - "column": 37 + "line": 175, + "column": 41 } }, - "extra": { - "rawValue": 0, - "raw": "0" + "operator": "+=", + "left": { + "type": "Identifier", + "start": 6188, + "end": 6194, + "loc": { + "start": { + "line": 175, + "column": 12 + }, + "end": { + "line": 175, + "column": 18 + }, + "identifierName": "lenUVs" + }, + "name": "lenUVs" }, - "value": 0 + "right": { + "type": "MemberExpression", + "start": 6198, + "end": 6217, + "loc": { + "start": { + "line": 175, + "column": 22 + }, + "end": { + "line": 175, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 6198, + "end": 6210, + "loc": { + "start": { + "line": 175, + "column": 22 + }, + "end": { + "line": 175, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 6198, + "end": 6206, + "loc": { + "start": { + "line": 175, + "column": 22 + }, + "end": { + "line": 175, + "column": 30 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 6207, + "end": 6210, + "loc": { + "start": { + "line": 175, + "column": 31 + }, + "end": { + "line": 175, + "column": 34 + }, + "identifierName": "uvs" + }, + "name": "uvs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 6211, + "end": 6217, + "loc": { + "start": { + "line": 175, + "column": 35 + }, + "end": { + "line": 175, + "column": 41 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } } } ], - "kind": "let" + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 6237, + "end": 6321, + "loc": { + "start": { + "line": 177, + "column": 8 + }, + "end": { + "line": 179, + "column": 9 + } }, "test": { - "type": "BinaryExpression", - "start": 8999, - "end": 9032, + "type": "MemberExpression", + "start": 6241, + "end": 6257, "loc": { "start": { - "line": 166, - "column": 39 + "line": 177, + "column": 12 }, "end": { - "line": 166, - "column": 72 + "line": 177, + "column": 28 } }, - "left": { + "object": { "type": "Identifier", - "start": 8999, - "end": 9015, + "start": 6241, + "end": 6249, "loc": { "start": { - "line": 166, - "column": 39 + "line": 177, + "column": 12 }, "end": { - "line": 166, - "column": 55 + "line": 177, + "column": 20 }, - "identifierName": "metaObjectsIndex" + "identifierName": "geometry" }, - "name": "metaObjectsIndex" + "name": "geometry" }, - "operator": "<", - "right": { + "property": { "type": "Identifier", - "start": 9018, - "end": 9032, + "start": 6250, + "end": 6257, "loc": { "start": { - "line": 166, - "column": 58 + "line": 177, + "column": 21 }, "end": { - "line": 166, - "column": 72 + "line": 177, + "column": 28 }, - "identifierName": "numMetaObjects" - }, - "name": "numMetaObjects" - } - }, - "update": { - "type": "UpdateExpression", - "start": 9034, - "end": 9052, - "loc": { - "start": { - "line": 166, - "column": 74 + "identifierName": "indices" }, - "end": { - "line": 166, - "column": 92 - } + "name": "indices" }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 9034, - "end": 9050, - "loc": { - "start": { - "line": 166, - "column": 74 - }, - "end": { - "line": 166, - "column": 90 - }, - "identifierName": "metaObjectsIndex" - }, - "name": "metaObjectsIndex" - } + "computed": false }, - "body": { + "consequent": { "type": "BlockStatement", - "start": 9054, - "end": 9875, + "start": 6259, + "end": 6321, "loc": { "start": { - "line": 166, - "column": 94 + "line": 177, + "column": 30 }, "end": { - "line": 183, + "line": 179, "column": 9 } }, "body": [ { - "type": "VariableDeclaration", - "start": 9068, - "end": 9121, + "type": "ExpressionStatement", + "start": 6273, + "end": 6311, "loc": { "start": { - "line": 167, + "line": 178, "column": 12 }, "end": { - "line": 167, - "column": 65 + "line": 178, + "column": 50 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 9074, - "end": 9120, + "expression": { + "type": "AssignmentExpression", + "start": 6273, + "end": 6310, + "loc": { + "start": { + "line": 178, + "column": 12 + }, + "end": { + "line": 178, + "column": 49 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 6273, + "end": 6283, "loc": { "start": { - "line": 167, - "column": 18 + "line": 178, + "column": 12 }, "end": { - "line": 167, - "column": 64 - } + "line": 178, + "column": 22 + }, + "identifierName": "lenIndices" }, - "id": { - "type": "Identifier", - "start": 9074, - "end": 9084, - "loc": { - "start": { - "line": 167, - "column": 18 - }, - "end": { - "line": 167, - "column": 28 - }, - "identifierName": "metaObject" + "name": "lenIndices" + }, + "right": { + "type": "MemberExpression", + "start": 6287, + "end": 6310, + "loc": { + "start": { + "line": 178, + "column": 26 }, - "name": "metaObject" + "end": { + "line": 178, + "column": 49 + } }, - "init": { + "object": { "type": "MemberExpression", - "start": 9087, - "end": 9120, + "start": 6287, + "end": 6303, "loc": { "start": { - "line": 167, - "column": 31 + "line": 178, + "column": 26 }, "end": { - "line": 167, - "column": 64 + "line": 178, + "column": 42 } }, "object": { "type": "Identifier", - "start": 9087, - "end": 9102, + "start": 6287, + "end": 6295, "loc": { "start": { - "line": 167, - "column": 31 + "line": 178, + "column": 26 }, "end": { - "line": 167, - "column": 46 + "line": 178, + "column": 34 }, - "identifierName": "metaObjectsList" + "identifierName": "geometry" }, - "name": "metaObjectsList" + "name": "geometry" }, "property": { "type": "Identifier", - "start": 9103, - "end": 9119, + "start": 6296, + "end": 6303, "loc": { "start": { - "line": 167, - "column": 47 + "line": 178, + "column": 35 }, "end": { - "line": 167, - "column": 63 + "line": 178, + "column": 42 }, - "identifierName": "metaObjectsIndex" + "identifierName": "indices" }, - "name": "metaObjectsIndex" - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 9134, - "end": 9320, - "loc": { - "start": { - "line": 168, - "column": 12 - }, - "end": { - "line": 172, - "column": 14 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 9140, - "end": 9319, - "loc": { - "start": { - "line": 168, - "column": 18 + "name": "indices" }, - "end": { - "line": 172, - "column": 13 - } + "computed": false }, - "id": { + "property": { "type": "Identifier", - "start": 9140, - "end": 9154, + "start": 6304, + "end": 6310, "loc": { "start": { - "line": 168, - "column": 18 + "line": 178, + "column": 43 }, "end": { - "line": 168, - "column": 32 + "line": 178, + "column": 49 }, - "identifierName": "metaObjectJSON" + "identifierName": "length" }, - "name": "metaObjectJSON" + "name": "length" }, - "init": { - "type": "ObjectExpression", - "start": 9157, - "end": 9319, - "loc": { - "start": { - "line": 168, - "column": 35 - }, - "end": { - "line": 172, - "column": 13 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 9175, - "end": 9206, - "loc": { - "start": { - "line": 169, - "column": 16 - }, - "end": { - "line": 169, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 9175, - "end": 9179, - "loc": { - "start": { - "line": 169, - "column": 16 - }, - "end": { - "line": 169, - "column": 20 - }, - "identifierName": "name" - }, - "name": "name" - }, - "value": { - "type": "MemberExpression", - "start": 9181, - "end": 9206, - "loc": { - "start": { - "line": 169, - "column": 22 - }, - "end": { - "line": 169, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 9181, - "end": 9191, - "loc": { - "start": { - "line": 169, - "column": 22 - }, - "end": { - "line": 169, - "column": 32 - }, - "identifierName": "metaObject" - }, - "name": "metaObject" - }, - "property": { - "type": "Identifier", - "start": 9192, - "end": 9206, - "loc": { - "start": { - "line": 169, - "column": 33 - }, - "end": { - "line": 169, - "column": 47 - }, - "identifierName": "metaObjectName" - }, - "name": "metaObjectName" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 9224, - "end": 9255, - "loc": { - "start": { - "line": 170, - "column": 16 - }, - "end": { - "line": 170, - "column": 47 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 9224, - "end": 9228, - "loc": { - "start": { - "line": 170, - "column": 16 - }, - "end": { - "line": 170, - "column": 20 - }, - "identifierName": "type" - }, - "name": "type" - }, - "value": { - "type": "MemberExpression", - "start": 9230, - "end": 9255, - "loc": { - "start": { - "line": 170, - "column": 22 - }, - "end": { - "line": 170, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 9230, - "end": 9240, - "loc": { - "start": { - "line": 170, - "column": 22 - }, - "end": { - "line": 170, - "column": 32 - }, - "identifierName": "metaObject" - }, - "name": "metaObject" - }, - "property": { - "type": "Identifier", - "start": 9241, - "end": 9255, - "loc": { - "start": { - "line": 170, - "column": 33 - }, - "end": { - "line": 170, - "column": 47 - }, - "identifierName": "metaObjectType" - }, - "name": "metaObjectType" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 9273, - "end": 9305, - "loc": { - "start": { - "line": 171, - "column": 16 - }, - "end": { - "line": 171, - "column": 48 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 9273, - "end": 9275, - "loc": { - "start": { - "line": 171, - "column": 16 - }, - "end": { - "line": 171, - "column": 18 - }, - "identifierName": "id" - }, - "name": "id" - }, - "value": { - "type": "BinaryExpression", - "start": 9277, - "end": 9305, - "loc": { - "start": { - "line": 171, - "column": 20 - }, - "end": { - "line": 171, - "column": 48 - } - }, - "left": { - "type": "StringLiteral", - "start": 9277, - "end": 9279, - "loc": { - "start": { - "line": 171, - "column": 20 - }, - "end": { - "line": 171, - "column": 22 - } - }, - "extra": { - "rawValue": "", - "raw": "\"\"" - }, - "value": "" - }, - "operator": "+", - "right": { - "type": "MemberExpression", - "start": 9282, - "end": 9305, - "loc": { - "start": { - "line": 171, - "column": 25 - }, - "end": { - "line": 171, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 9282, - "end": 9292, - "loc": { - "start": { - "line": 171, - "column": 25 - }, - "end": { - "line": 171, - "column": 35 - }, - "identifierName": "metaObject" - }, - "name": "metaObject" - }, - "property": { - "type": "Identifier", - "start": 9293, - "end": 9305, - "loc": { - "start": { - "line": 171, - "column": 36 - }, - "end": { - "line": 171, - "column": 48 - }, - "identifierName": "metaObjectId" - }, - "name": "metaObjectId" - }, - "computed": false - } - } - } - ] - } + "computed": false } - ], - "kind": "const" + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 6330, + "end": 6426, + "loc": { + "start": { + "line": 180, + "column": 8 + }, + "end": { + "line": 182, + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 6334, + "end": 6354, + "loc": { + "start": { + "line": 180, + "column": 12 + }, + "end": { + "line": 180, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 6334, + "end": 6342, + "loc": { + "start": { + "line": 180, + "column": 12 + }, + "end": { + "line": 180, + "column": 20 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 6343, + "end": 6354, + "loc": { + "start": { + "line": 180, + "column": 21 + }, + "end": { + "line": 180, + "column": 32 + }, + "identifierName": "edgeIndices" + }, + "name": "edgeIndices" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 6356, + "end": 6426, + "loc": { + "start": { + "line": 180, + "column": 34 }, + "end": { + "line": 182, + "column": 9 + } + }, + "body": [ { - "type": "IfStatement", - "start": 9333, - "end": 9515, + "type": "ExpressionStatement", + "start": 6370, + "end": 6416, "loc": { "start": { - "line": 173, + "line": 181, "column": 12 }, "end": { - "line": 175, - "column": 13 + "line": 181, + "column": 58 } }, - "test": { - "type": "LogicalExpression", - "start": 9337, - "end": 9422, + "expression": { + "type": "AssignmentExpression", + "start": 6370, + "end": 6415, "loc": { "start": { - "line": 173, - "column": 16 + "line": 181, + "column": 12 }, "end": { - "line": 173, - "column": 101 + "line": 181, + "column": 57 } }, + "operator": "+=", "left": { - "type": "BinaryExpression", - "start": 9337, - "end": 9380, + "type": "Identifier", + "start": 6370, + "end": 6384, "loc": { "start": { - "line": 173, - "column": 16 + "line": 181, + "column": 12 }, "end": { - "line": 173, - "column": 59 - } - }, - "left": { - "type": "MemberExpression", - "start": 9337, - "end": 9366, - "loc": { - "start": { - "line": 173, - "column": 16 - }, - "end": { - "line": 173, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 9337, - "end": 9347, - "loc": { - "start": { - "line": 173, - "column": 16 - }, - "end": { - "line": 173, - "column": 26 - }, - "identifierName": "metaObject" - }, - "name": "metaObject" - }, - "property": { - "type": "Identifier", - "start": 9348, - "end": 9366, - "loc": { - "start": { - "line": 173, - "column": 27 - }, - "end": { - "line": 173, - "column": 45 - }, - "identifierName": "parentMetaObjectId" - }, - "name": "parentMetaObjectId" + "line": 181, + "column": 26 }, - "computed": false + "identifierName": "lenEdgeIndices" }, - "operator": "!==", - "right": { - "type": "Identifier", - "start": 9371, - "end": 9380, - "loc": { - "start": { - "line": 173, - "column": 50 - }, - "end": { - "line": 173, - "column": 59 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } + "name": "lenEdgeIndices" }, - "operator": "&&", "right": { - "type": "BinaryExpression", - "start": 9384, - "end": 9422, + "type": "MemberExpression", + "start": 6388, + "end": 6415, "loc": { "start": { - "line": 173, - "column": 63 + "line": 181, + "column": 30 }, "end": { - "line": 173, - "column": 101 + "line": 181, + "column": 57 } }, - "left": { + "object": { "type": "MemberExpression", - "start": 9384, - "end": 9413, + "start": 6388, + "end": 6408, "loc": { "start": { - "line": 173, - "column": 63 + "line": 181, + "column": 30 }, "end": { - "line": 173, - "column": 92 + "line": 181, + "column": 50 } }, "object": { "type": "Identifier", - "start": 9384, - "end": 9394, + "start": 6388, + "end": 6396, "loc": { "start": { - "line": 173, - "column": 63 + "line": 181, + "column": 30 }, "end": { - "line": 173, - "column": 73 + "line": 181, + "column": 38 }, - "identifierName": "metaObject" + "identifierName": "geometry" }, - "name": "metaObject" + "name": "geometry" }, "property": { "type": "Identifier", - "start": 9395, - "end": 9413, + "start": 6397, + "end": 6408, "loc": { "start": { - "line": 173, - "column": 74 + "line": 181, + "column": 39 }, "end": { - "line": 173, - "column": 92 + "line": 181, + "column": 50 }, - "identifierName": "parentMetaObjectId" + "identifierName": "edgeIndices" }, - "name": "parentMetaObjectId" + "name": "edgeIndices" }, "computed": false }, - "operator": "!==", - "right": { - "type": "NullLiteral", - "start": 9418, - "end": 9422, + "property": { + "type": "Identifier", + "start": 6409, + "end": 6415, "loc": { "start": { - "line": 173, - "column": 97 + "line": 181, + "column": 51 }, "end": { - "line": 173, - "column": 101 - } - } - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 9424, - "end": 9515, - "loc": { - "start": { - "line": 173, - "column": 103 - }, - "end": { - "line": 175, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9442, - "end": 9501, - "loc": { - "start": { - "line": 174, - "column": 16 + "line": 181, + "column": 57 }, - "end": { - "line": 174, - "column": 75 - } + "identifierName": "length" }, - "expression": { - "type": "AssignmentExpression", - "start": 9442, - "end": 9500, - "loc": { - "start": { - "line": 174, - "column": 16 - }, - "end": { - "line": 174, - "column": 74 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9442, - "end": 9463, - "loc": { - "start": { - "line": 174, - "column": 16 - }, - "end": { - "line": 174, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 9442, - "end": 9456, - "loc": { - "start": { - "line": 174, - "column": 16 - }, - "end": { - "line": 174, - "column": 30 - }, - "identifierName": "metaObjectJSON" - }, - "name": "metaObjectJSON" - }, - "property": { - "type": "Identifier", - "start": 9457, - "end": 9463, - "loc": { - "start": { - "line": 174, - "column": 31 - }, - "end": { - "line": 174, - "column": 37 - }, - "identifierName": "parent" - }, - "name": "parent" - }, - "computed": false - }, - "right": { - "type": "BinaryExpression", - "start": 9466, - "end": 9500, - "loc": { - "start": { - "line": 174, - "column": 40 - }, - "end": { - "line": 174, - "column": 74 - } - }, - "left": { - "type": "StringLiteral", - "start": 9466, - "end": 9468, - "loc": { - "start": { - "line": 174, - "column": 40 - }, - "end": { - "line": 174, - "column": 42 - } - }, - "extra": { - "rawValue": "", - "raw": "\"\"" - }, - "value": "" - }, - "operator": "+", - "right": { - "type": "MemberExpression", - "start": 9471, - "end": 9500, - "loc": { - "start": { - "line": 174, - "column": 45 - }, - "end": { - "line": 174, - "column": 74 - } - }, - "object": { - "type": "Identifier", - "start": 9471, - "end": 9481, - "loc": { - "start": { - "line": 174, - "column": 45 - }, - "end": { - "line": 174, - "column": 55 - }, - "identifierName": "metaObject" - }, - "name": "metaObject" - }, - "property": { - "type": "Identifier", - "start": 9482, - "end": 9500, - "loc": { - "start": { - "line": 174, - "column": 56 - }, - "end": { - "line": 174, - "column": 74 - }, - "identifierName": "parentMetaObjectId" - }, - "name": "parentMetaObjectId" - }, - "computed": false - } - } - } - } - ], - "directives": [] + "name": "length" + }, + "computed": false + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + }, + { + "type": "ForStatement", + "start": 6438, + "end": 6755, + "loc": { + "start": { + "line": 185, + "column": 4 + }, + "end": { + "line": 193, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 6443, + "end": 6463, + "loc": { + "start": { + "line": 185, + "column": 9 + }, + "end": { + "line": 185, + "column": 29 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6447, + "end": 6463, + "loc": { + "start": { + "line": 185, + "column": 13 + }, + "end": { + "line": 185, + "column": 29 + } + }, + "id": { + "type": "Identifier", + "start": 6447, + "end": 6459, + "loc": { + "start": { + "line": 185, + "column": 13 + }, + "end": { + "line": 185, + "column": 25 + }, + "identifierName": "textureIndex" + }, + "name": "textureIndex" + }, + "init": { + "type": "NumericLiteral", + "start": 6462, + "end": 6463, + "loc": { + "start": { + "line": 185, + "column": 28 + }, + "end": { + "line": 185, + "column": 29 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 6465, + "end": 6491, + "loc": { + "start": { + "line": 185, + "column": 31 + }, + "end": { + "line": 185, + "column": 57 + } + }, + "left": { + "type": "Identifier", + "start": 6465, + "end": 6477, + "loc": { + "start": { + "line": 185, + "column": 31 + }, + "end": { + "line": 185, + "column": 43 + }, + "identifierName": "textureIndex" + }, + "name": "textureIndex" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 6480, + "end": 6491, + "loc": { + "start": { + "line": 185, + "column": 46 + }, + "end": { + "line": 185, + "column": 57 + }, + "identifierName": "numTextures" + }, + "name": "numTextures" + } + }, + "update": { + "type": "UpdateExpression", + "start": 6493, + "end": 6507, + "loc": { + "start": { + "line": 185, + "column": 59 + }, + "end": { + "line": 185, + "column": 73 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 6493, + "end": 6505, + "loc": { + "start": { + "line": 185, + "column": 59 + }, + "end": { + "line": 185, + "column": 71 + }, + "identifierName": "textureIndex" + }, + "name": "textureIndex" + } + }, + "body": { + "type": "BlockStatement", + "start": 6509, + "end": 6755, + "loc": { + "start": { + "line": 185, + "column": 75 + }, + "end": { + "line": 193, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 6519, + "end": 6565, + "loc": { + "start": { + "line": 186, + "column": 8 + }, + "end": { + "line": 186, + "column": 54 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6525, + "end": 6564, + "loc": { + "start": { + "line": 186, + "column": 14 }, - "alternate": null + "end": { + "line": 186, + "column": 53 + } }, - { - "type": "IfStatement", - "start": 9528, - "end": 9689, + "id": { + "type": "Identifier", + "start": 6525, + "end": 6535, "loc": { "start": { - "line": 176, - "column": 12 + "line": 186, + "column": 14 }, "end": { - "line": 178, - "column": 13 + "line": 186, + "column": 24 + }, + "identifierName": "xktTexture" + }, + "name": "xktTexture" + }, + "init": { + "type": "MemberExpression", + "start": 6538, + "end": 6564, + "loc": { + "start": { + "line": 186, + "column": 27 + }, + "end": { + "line": 186, + "column": 53 } }, - "test": { - "type": "LogicalExpression", - "start": 9532, - "end": 9597, + "object": { + "type": "Identifier", + "start": 6538, + "end": 6550, "loc": { "start": { - "line": 176, - "column": 16 + "line": 186, + "column": 27 }, "end": { - "line": 176, - "column": 81 - } - }, - "left": { - "type": "MemberExpression", - "start": 9532, - "end": 9557, - "loc": { - "start": { - "line": 176, - "column": 16 - }, - "end": { - "line": 176, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 9532, - "end": 9542, - "loc": { - "start": { - "line": 176, - "column": 16 - }, - "end": { - "line": 176, - "column": 26 - }, - "identifierName": "metaObject" - }, - "name": "metaObject" - }, - "property": { - "type": "Identifier", - "start": 9543, - "end": 9557, - "loc": { - "start": { - "line": 176, - "column": 27 - }, - "end": { - "line": 176, - "column": 41 - }, - "identifierName": "propertySetIds" - }, - "name": "propertySetIds" + "line": 186, + "column": 39 }, - "computed": false + "identifierName": "texturesList" }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 9561, - "end": 9597, - "loc": { - "start": { - "line": 176, - "column": 45 - }, - "end": { - "line": 176, - "column": 81 - } + "name": "texturesList" + }, + "property": { + "type": "Identifier", + "start": 6551, + "end": 6563, + "loc": { + "start": { + "line": 186, + "column": 40 }, - "left": { - "type": "MemberExpression", - "start": 9561, - "end": 9593, - "loc": { - "start": { - "line": 176, - "column": 45 - }, - "end": { - "line": 176, - "column": 77 - } - }, - "object": { - "type": "MemberExpression", - "start": 9561, - "end": 9586, - "loc": { - "start": { - "line": 176, - "column": 45 - }, - "end": { - "line": 176, - "column": 70 - } - }, - "object": { - "type": "Identifier", - "start": 9561, - "end": 9571, - "loc": { - "start": { - "line": 176, - "column": 45 - }, - "end": { - "line": 176, - "column": 55 - }, - "identifierName": "metaObject" - }, - "name": "metaObject" - }, - "property": { - "type": "Identifier", - "start": 9572, - "end": 9586, - "loc": { - "start": { - "line": 176, - "column": 56 - }, - "end": { - "line": 176, - "column": 70 - }, - "identifierName": "propertySetIds" - }, - "name": "propertySetIds" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 9587, - "end": 9593, - "loc": { - "start": { - "line": 176, - "column": 71 - }, - "end": { - "line": 176, - "column": 77 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false + "end": { + "line": 186, + "column": 52 }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 9596, - "end": 9597, - "loc": { - "start": { - "line": 176, - "column": 80 - }, - "end": { - "line": 176, - "column": 81 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } + "identifierName": "textureIndex" + }, + "name": "textureIndex" + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 6574, + "end": 6613, + "loc": { + "start": { + "line": 187, + "column": 8 + }, + "end": { + "line": 187, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6580, + "end": 6612, + "loc": { + "start": { + "line": 187, + "column": 14 + }, + "end": { + "line": 187, + "column": 46 + } + }, + "id": { + "type": "Identifier", + "start": 6580, + "end": 6589, + "loc": { + "start": { + "line": 187, + "column": 14 + }, + "end": { + "line": 187, + "column": 23 + }, + "identifierName": "imageData" + }, + "name": "imageData" + }, + "init": { + "type": "MemberExpression", + "start": 6592, + "end": 6612, + "loc": { + "start": { + "line": 187, + "column": 26 + }, + "end": { + "line": 187, + "column": 46 } }, - "consequent": { - "type": "BlockStatement", - "start": 9599, - "end": 9689, + "object": { + "type": "Identifier", + "start": 6592, + "end": 6602, "loc": { "start": { - "line": 176, - "column": 83 + "line": 187, + "column": 26 }, "end": { - "line": 178, - "column": 13 - } + "line": 187, + "column": 36 + }, + "identifierName": "xktTexture" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9617, - "end": 9675, - "loc": { - "start": { - "line": 177, - "column": 16 - }, - "end": { - "line": 177, - "column": 74 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9617, - "end": 9674, - "loc": { - "start": { - "line": 177, - "column": 16 - }, - "end": { - "line": 177, - "column": 73 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9617, - "end": 9646, - "loc": { - "start": { - "line": 177, - "column": 16 - }, - "end": { - "line": 177, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 9617, - "end": 9631, - "loc": { - "start": { - "line": 177, - "column": 16 - }, - "end": { - "line": 177, - "column": 30 - }, - "identifierName": "metaObjectJSON" - }, - "name": "metaObjectJSON" - }, - "property": { - "type": "Identifier", - "start": 9632, - "end": 9646, - "loc": { - "start": { - "line": 177, - "column": 31 - }, - "end": { - "line": 177, - "column": 45 - }, - "identifierName": "propertySetIds" - }, - "name": "propertySetIds" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 9649, - "end": 9674, - "loc": { - "start": { - "line": 177, - "column": 48 - }, - "end": { - "line": 177, - "column": 73 - } - }, - "object": { - "type": "Identifier", - "start": 9649, - "end": 9659, - "loc": { - "start": { - "line": 177, - "column": 48 - }, - "end": { - "line": 177, - "column": 58 - }, - "identifierName": "metaObject" - }, - "name": "metaObject" - }, - "property": { - "type": "Identifier", - "start": 9660, - "end": 9674, - "loc": { - "start": { - "line": 177, - "column": 59 - }, - "end": { - "line": 177, - "column": 73 - }, - "identifierName": "propertySetIds" - }, - "name": "propertySetIds" - }, - "computed": false - } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 9702, - "end": 9805, - "loc": { - "start": { - "line": 179, - "column": 12 - }, - "end": { - "line": 181, - "column": 13 - } + "name": "xktTexture" }, - "test": { - "type": "MemberExpression", - "start": 9706, - "end": 9725, + "property": { + "type": "Identifier", + "start": 6603, + "end": 6612, "loc": { "start": { - "line": 179, - "column": 16 + "line": 187, + "column": 37 }, "end": { - "line": 179, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 9706, - "end": 9716, - "loc": { - "start": { - "line": 179, - "column": 16 - }, - "end": { - "line": 179, - "column": 26 - }, - "identifierName": "metaObject" + "line": 187, + "column": 46 }, - "name": "metaObject" + "identifierName": "imageData" }, - "property": { - "type": "Identifier", - "start": 9717, - "end": 9725, - "loc": { - "start": { - "line": 179, - "column": 27 - }, - "end": { - "line": 179, - "column": 35 - }, - "identifierName": "external" - }, - "name": "external" + "name": "imageData" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 6622, + "end": 6658, + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 44 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 6622, + "end": 6657, + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 43 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 6622, + "end": 6633, + "loc": { + "start": { + "line": 188, + "column": 8 + }, + "end": { + "line": 188, + "column": 19 + }, + "identifierName": "lenTextures" + }, + "name": "lenTextures" + }, + "right": { + "type": "MemberExpression", + "start": 6637, + "end": 6657, + "loc": { + "start": { + "line": 188, + "column": 23 + }, + "end": { + "line": 188, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 6637, + "end": 6646, + "loc": { + "start": { + "line": 188, + "column": 23 }, - "computed": false + "end": { + "line": 188, + "column": 32 + }, + "identifierName": "imageData" }, - "consequent": { - "type": "BlockStatement", - "start": 9727, - "end": 9805, - "loc": { - "start": { - "line": 179, - "column": 37 - }, - "end": { - "line": 181, - "column": 13 - } + "name": "imageData" + }, + "property": { + "type": "Identifier", + "start": 6647, + "end": 6657, + "loc": { + "start": { + "line": 188, + "column": 33 }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9745, - "end": 9791, - "loc": { - "start": { - "line": 180, - "column": 16 - }, - "end": { - "line": 180, - "column": 62 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9745, - "end": 9790, - "loc": { - "start": { - "line": 180, - "column": 16 - }, - "end": { - "line": 180, - "column": 61 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 9745, - "end": 9768, - "loc": { - "start": { - "line": 180, - "column": 16 - }, - "end": { - "line": 180, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 9745, - "end": 9759, - "loc": { - "start": { - "line": 180, - "column": 16 - }, - "end": { - "line": 180, - "column": 30 - }, - "identifierName": "metaObjectJSON" - }, - "name": "metaObjectJSON" - }, - "property": { - "type": "Identifier", - "start": 9760, - "end": 9768, - "loc": { - "start": { - "line": 180, - "column": 31 - }, - "end": { - "line": 180, - "column": 39 - }, - "identifierName": "external" - }, - "name": "external" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 9771, - "end": 9790, - "loc": { - "start": { - "line": 180, - "column": 42 - }, - "end": { - "line": 180, - "column": 61 - } - }, - "object": { - "type": "Identifier", - "start": 9771, - "end": 9781, - "loc": { - "start": { - "line": 180, - "column": 42 - }, - "end": { - "line": 180, - "column": 52 - }, - "identifierName": "metaObject" - }, - "name": "metaObject" - }, - "property": { - "type": "Identifier", - "start": 9782, - "end": 9790, - "loc": { - "start": { - "line": 180, - "column": 53 - }, - "end": { - "line": 180, - "column": 61 - }, - "identifierName": "external" - }, - "name": "external" - }, - "computed": false - } - } - } - ], - "directives": [] + "end": { + "line": 188, + "column": 43 + }, + "identifierName": "byteLength" }, - "alternate": null + "name": "byteLength" + }, + "computed": false + } + } + }, + { + "type": "IfStatement", + "start": 6668, + "end": 6749, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 192, + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 6672, + "end": 6693, + "loc": { + "start": { + "line": 190, + "column": 12 + }, + "end": { + "line": 190, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 6672, + "end": 6682, + "loc": { + "start": { + "line": 190, + "column": 12 + }, + "end": { + "line": 190, + "column": 22 + }, + "identifierName": "xktTexture" + }, + "name": "xktTexture" + }, + "property": { + "type": "Identifier", + "start": 6683, + "end": 6693, + "loc": { + "start": { + "line": 190, + "column": 23 + }, + "end": { + "line": 190, + "column": 33 + }, + "identifierName": "compressed" + }, + "name": "compressed" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 6695, + "end": 6749, + "loc": { + "start": { + "line": 190, + "column": 35 }, + "end": { + "line": 192, + "column": 9 + } + }, + "body": [ { "type": "ExpressionStatement", - "start": 9818, - "end": 9865, + "start": 6709, + "end": 6739, "loc": { "start": { - "line": 182, + "line": 191, "column": 12 }, "end": { - "line": 182, - "column": 59 + "line": 191, + "column": 42 } }, "expression": { - "type": "CallExpression", - "start": 9818, - "end": 9864, + "type": "UpdateExpression", + "start": 6709, + "end": 6738, "loc": { "start": { - "line": 182, + "line": 191, "column": 12 }, "end": { - "line": 182, - "column": 58 + "line": 191, + "column": 41 } }, - "callee": { + "operator": "++", + "prefix": false, + "argument": { "type": "MemberExpression", - "start": 9818, - "end": 9848, + "start": 6709, + "end": 6736, "loc": { "start": { - "line": 182, + "line": 191, "column": 12 }, "end": { - "line": 182, - "column": 42 + "line": 191, + "column": 39 } }, "object": { - "type": "MemberExpression", - "start": 9818, - "end": 9843, + "type": "Identifier", + "start": 6709, + "end": 6714, "loc": { "start": { - "line": 182, + "line": 191, "column": 12 }, "end": { - "line": 182, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 9818, - "end": 9831, - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 9818, - "end": 9822, - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 16 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 9823, - "end": 9831, - "loc": { - "start": { - "line": 182, - "column": 17 - }, - "end": { - "line": 182, - "column": 25 - }, - "identifierName": "metadata" - }, - "name": "metadata" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 9832, - "end": 9843, - "loc": { - "start": { - "line": 182, - "column": 26 - }, - "end": { - "line": 182, - "column": 37 - }, - "identifierName": "metaObjects" + "line": 191, + "column": 17 }, - "name": "metaObjects" + "identifierName": "stats" }, - "computed": false + "name": "stats" }, "property": { "type": "Identifier", - "start": 9844, - "end": 9848, + "start": 6715, + "end": 6736, "loc": { "start": { - "line": 182, - "column": 38 + "line": 191, + "column": 18 }, "end": { - "line": 182, - "column": 42 + "line": 191, + "column": 39 }, - "identifierName": "push" + "identifierName": "numCompressedTextures" }, - "name": "push" + "name": "numCompressedTextures" }, "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 9849, - "end": 9863, - "loc": { - "start": { - "line": 182, - "column": 43 - }, - "end": { - "line": 182, - "column": 57 - }, - "identifierName": "metaObjectJSON" - }, - "name": "metaObjectJSON" - } - ] + } } } ], "directives": [] - } + }, + "alternate": null } ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Metaobjects", - "start": 8915, - "end": 8929, - "loc": { - "start": { - "line": 163, - "column": 4 - }, - "end": { - "line": 163, - "column": 18 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Geometries", - "start": 9887, - "end": 9900, - "loc": { - "start": { - "line": 186, - "column": 4 - }, - "end": { - "line": 186, - "column": 17 - } - } - } - ] + "directives": [] + } }, { "type": "ForStatement", - "start": 9906, - "end": 12306, + "start": 6761, + "end": 6959, "loc": { "start": { - "line": 188, + "line": 195, "column": 4 }, "end": { - "line": 245, + "line": 200, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 9911, - "end": 9932, + "start": 6766, + "end": 6783, "loc": { "start": { - "line": 188, + "line": 195, "column": 9 }, "end": { - "line": 188, - "column": 30 + "line": 195, + "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9915, - "end": 9932, + "start": 6770, + "end": 6783, "loc": { "start": { - "line": 188, + "line": 195, "column": 13 }, "end": { - "line": 188, - "column": 30 + "line": 195, + "column": 26 } }, "id": { "type": "Identifier", - "start": 9915, - "end": 9928, + "start": 6770, + "end": 6779, "loc": { "start": { - "line": 188, + "line": 195, "column": 13 }, "end": { - "line": 188, - "column": 26 + "line": 195, + "column": 22 }, - "identifierName": "geometryIndex" + "identifierName": "meshIndex" }, - "name": "geometryIndex", - "leadingComments": null + "name": "meshIndex" }, "init": { "type": "NumericLiteral", - "start": 9931, - "end": 9932, + "start": 6782, + "end": 6783, "loc": { "start": { - "line": 188, - "column": 29 + "line": 195, + "column": 25 }, "end": { - "line": 188, - "column": 30 + "line": 195, + "column": 26 } }, "extra": { @@ -13313,205 +13518,203 @@ "raw": "0" }, "value": 0 - }, - "leadingComments": null + } } ], - "kind": "let", - "leadingComments": null + "kind": "let" }, "test": { "type": "BinaryExpression", - "start": 9934, - "end": 9963, + "start": 6785, + "end": 6806, "loc": { "start": { - "line": 188, - "column": 32 + "line": 195, + "column": 28 }, "end": { - "line": 188, - "column": 61 + "line": 195, + "column": 49 } }, "left": { "type": "Identifier", - "start": 9934, - "end": 9947, + "start": 6785, + "end": 6794, "loc": { "start": { - "line": 188, - "column": 32 + "line": 195, + "column": 28 }, "end": { - "line": 188, - "column": 45 + "line": 195, + "column": 37 }, - "identifierName": "geometryIndex" + "identifierName": "meshIndex" }, - "name": "geometryIndex" + "name": "meshIndex" }, "operator": "<", "right": { "type": "Identifier", - "start": 9950, - "end": 9963, + "start": 6797, + "end": 6806, "loc": { "start": { - "line": 188, - "column": 48 + "line": 195, + "column": 40 }, "end": { - "line": 188, - "column": 61 + "line": 195, + "column": 49 }, - "identifierName": "numGeometries" + "identifierName": "numMeshes" }, - "name": "numGeometries" + "name": "numMeshes" } }, "update": { "type": "UpdateExpression", - "start": 9965, - "end": 9980, + "start": 6808, + "end": 6819, "loc": { "start": { - "line": 188, - "column": 63 + "line": 195, + "column": 51 }, "end": { - "line": 188, - "column": 78 + "line": 195, + "column": 62 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", - "start": 9965, - "end": 9978, + "start": 6808, + "end": 6817, "loc": { "start": { - "line": 188, - "column": 63 + "line": 195, + "column": 51 }, "end": { - "line": 188, - "column": 76 + "line": 195, + "column": 60 }, - "identifierName": "geometryIndex" + "identifierName": "meshIndex" }, - "name": "geometryIndex" + "name": "meshIndex" } }, "body": { "type": "BlockStatement", - "start": 9982, - "end": 12306, + "start": 6821, + "end": 6959, "loc": { "start": { - "line": 188, - "column": 80 + "line": 195, + "column": 64 }, "end": { - "line": 245, + "line": 200, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 9992, - "end": 10040, + "start": 6831, + "end": 6866, "loc": { "start": { - "line": 189, + "line": 196, "column": 8 }, "end": { - "line": 189, - "column": 56 + "line": 196, + "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9998, - "end": 10039, + "start": 6837, + "end": 6865, "loc": { "start": { - "line": 189, + "line": 196, "column": 14 }, "end": { - "line": 189, - "column": 55 + "line": 196, + "column": 42 } }, "id": { "type": "Identifier", - "start": 9998, - "end": 10006, + "start": 6837, + "end": 6841, "loc": { "start": { - "line": 189, + "line": 196, "column": 14 }, "end": { - "line": 189, - "column": 22 + "line": 196, + "column": 18 }, - "identifierName": "geometry" + "identifierName": "mesh" }, - "name": "geometry" + "name": "mesh" }, "init": { "type": "MemberExpression", - "start": 10009, - "end": 10039, + "start": 6844, + "end": 6865, "loc": { "start": { - "line": 189, - "column": 25 + "line": 196, + "column": 21 }, "end": { - "line": 189, - "column": 55 + "line": 196, + "column": 42 } }, "object": { "type": "Identifier", - "start": 10009, - "end": 10023, + "start": 6844, + "end": 6854, "loc": { "start": { - "line": 189, - "column": 25 + "line": 196, + "column": 21 }, "end": { - "line": 189, - "column": 39 + "line": 196, + "column": 31 }, - "identifierName": "geometriesList" + "identifierName": "meshesList" }, - "name": "geometriesList" + "name": "meshesList" }, "property": { "type": "Identifier", - "start": 10025, - "end": 10038, + "start": 6855, + "end": 6864, "loc": { "start": { - "line": 189, - "column": 41 + "line": 196, + "column": 32 }, "end": { - "line": 189, - "column": 54 + "line": 196, + "column": 41 }, - "identifierName": "geometryIndex" + "identifierName": "meshIndex" }, - "name": "geometryIndex" + "name": "meshIndex" }, "computed": true } @@ -13520,1108 +13723,1332 @@ "kind": "const" }, { - "type": "VariableDeclaration", - "start": 10049, - "end": 10071, + "type": "IfStatement", + "start": 6875, + "end": 6953, "loc": { "start": { - "line": 190, + "line": 197, "column": 8 }, "end": { - "line": 190, - "column": 30 + "line": 199, + "column": 9 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 10053, - "end": 10070, + "test": { + "type": "BinaryExpression", + "start": 6879, + "end": 6909, + "loc": { + "start": { + "line": 197, + "column": 12 + }, + "end": { + "line": 197, + "column": 42 + } + }, + "left": { + "type": "MemberExpression", + "start": 6879, + "end": 6905, "loc": { "start": { - "line": 190, + "line": 197, "column": 12 }, "end": { - "line": 190, - "column": 29 + "line": 197, + "column": 38 } }, - "id": { - "type": "Identifier", - "start": 10053, - "end": 10066, + "object": { + "type": "MemberExpression", + "start": 6879, + "end": 6892, "loc": { "start": { - "line": 190, + "line": 197, "column": 12 }, "end": { - "line": 190, + "line": 197, "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 6879, + "end": 6883, + "loc": { + "start": { + "line": 197, + "column": 12 + }, + "end": { + "line": 197, + "column": 16 + }, + "identifierName": "mesh" }, - "identifierName": "primitiveType" + "name": "mesh" }, - "name": "primitiveType" + "property": { + "type": "Identifier", + "start": 6884, + "end": 6892, + "loc": { + "start": { + "line": 197, + "column": 17 + }, + "end": { + "line": 197, + "column": 25 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "computed": false }, - "init": { - "type": "NumericLiteral", - "start": 10069, - "end": 10070, + "property": { + "type": "Identifier", + "start": 6893, + "end": 6905, "loc": { "start": { - "line": 190, - "column": 28 + "line": 197, + "column": 26 }, "end": { - "line": 190, - "column": 29 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" + "line": 197, + "column": 38 + }, + "identifierName": "numInstances" }, - "value": 1 - } - } - ], - "kind": "let" - }, - { - "type": "SwitchStatement", - "start": 10080, - "end": 10759, - "loc": { - "start": { - "line": 191, - "column": 8 + "name": "numInstances" + }, + "computed": false }, - "end": { - "line": 213, - "column": 9 + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 6908, + "end": 6909, + "loc": { + "start": { + "line": 197, + "column": 41 + }, + "end": { + "line": 197, + "column": 42 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 } }, - "discriminant": { - "type": "MemberExpression", - "start": 10088, - "end": 10110, + "consequent": { + "type": "BlockStatement", + "start": 6911, + "end": 6953, "loc": { "start": { - "line": 191, - "column": 16 + "line": 197, + "column": 44 }, "end": { - "line": 191, - "column": 38 + "line": 199, + "column": 9 } }, - "object": { - "type": "Identifier", - "start": 10088, - "end": 10096, - "loc": { - "start": { - "line": 191, - "column": 16 - }, - "end": { - "line": 191, - "column": 24 + "body": [ + { + "type": "ExpressionStatement", + "start": 6925, + "end": 6943, + "loc": { + "start": { + "line": 198, + "column": 12 + }, + "end": { + "line": 198, + "column": 30 + } }, - "identifierName": "geometry" - }, - "name": "geometry" + "expression": { + "type": "AssignmentExpression", + "start": 6925, + "end": 6942, + "loc": { + "start": { + "line": 198, + "column": 12 + }, + "end": { + "line": 198, + "column": 29 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 6925, + "end": 6936, + "loc": { + "start": { + "line": 198, + "column": 12 + }, + "end": { + "line": 198, + "column": 23 + }, + "identifierName": "lenMatrices" + }, + "name": "lenMatrices" + }, + "right": { + "type": "NumericLiteral", + "start": 6940, + "end": 6942, + "loc": { + "start": { + "line": 198, + "column": 27 + }, + "end": { + "line": 198, + "column": 29 + } + }, + "extra": { + "rawValue": 16, + "raw": "16" + }, + "value": 16 + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + }, + { + "type": "VariableDeclaration", + "start": 6965, + "end": 11329, + "loc": { + "start": { + "line": 202, + "column": 4 + }, + "end": { + "line": 231, + "column": 6 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6971, + "end": 11328, + "loc": { + "start": { + "line": 202, + "column": 10 + }, + "end": { + "line": 231, + "column": 5 + } + }, + "id": { + "type": "Identifier", + "start": 6971, + "end": 6975, + "loc": { + "start": { + "line": 202, + "column": 10 }, - "property": { - "type": "Identifier", - "start": 10097, - "end": 10110, + "end": { + "line": 202, + "column": 14 + }, + "identifierName": "data" + }, + "name": "data" + }, + "init": { + "type": "ObjectExpression", + "start": 6978, + "end": 11328, + "loc": { + "start": { + "line": 202, + "column": 17 + }, + "end": { + "line": 231, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 6988, + "end": 7000, "loc": { "start": { - "line": 191, - "column": 25 + "line": 203, + "column": 8 }, "end": { - "line": 191, - "column": 38 + "line": 203, + "column": 20 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6988, + "end": 6996, + "loc": { + "start": { + "line": 203, + "column": 8 + }, + "end": { + "line": 203, + "column": 16 + }, + "identifierName": "metadata" }, - "identifierName": "primitiveType" + "name": "metadata" }, - "name": "primitiveType" + "value": { + "type": "ObjectExpression", + "start": 6998, + "end": 7000, + "loc": { + "start": { + "line": 203, + "column": 18 + }, + "end": { + "line": 203, + "column": 20 + } + }, + "properties": [] + } }, - "computed": false - }, - "cases": [ { - "type": "SwitchCase", - "start": 10126, - "end": 10222, + "type": "ObjectProperty", + "start": 7010, + "end": 7050, "loc": { "start": { - "line": 192, - "column": 12 + "line": 204, + "column": 8 }, "end": { - "line": 194, - "column": 22 + "line": 204, + "column": 48 } }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 10160, - "end": 10199, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7010, + "end": 7021, + "loc": { + "start": { + "line": 204, + "column": 8 + }, + "end": { + "line": 204, + "column": 19 + }, + "identifierName": "textureData" + }, + "name": "textureData" + }, + "value": { + "type": "NewExpression", + "start": 7023, + "end": 7050, + "loc": { + "start": { + "line": 204, + "column": 21 + }, + "end": { + "line": 204, + "column": 48 + } + }, + "callee": { + "type": "Identifier", + "start": 7027, + "end": 7037, "loc": { "start": { - "line": 193, - "column": 16 + "line": 204, + "column": 25 }, "end": { - "line": 193, - "column": 55 - } + "line": 204, + "column": 35 + }, + "identifierName": "Uint8Array" }, - "expression": { - "type": "AssignmentExpression", - "start": 10160, - "end": 10198, + "name": "Uint8Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 7038, + "end": 7049, "loc": { "start": { - "line": 193, - "column": 16 + "line": 204, + "column": 36 }, "end": { - "line": 193, - "column": 54 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 10160, - "end": 10173, - "loc": { - "start": { - "line": 193, - "column": 16 - }, - "end": { - "line": 193, - "column": 29 - }, - "identifierName": "primitiveType" + "line": 204, + "column": 47 }, - "name": "primitiveType" + "identifierName": "lenTextures" }, - "right": { - "type": "ConditionalExpression", - "start": 10176, - "end": 10198, - "loc": { - "start": { - "line": 193, - "column": 32 - }, - "end": { - "line": 193, - "column": 54 - } - }, - "test": { - "type": "MemberExpression", - "start": 10176, - "end": 10190, - "loc": { - "start": { - "line": 193, - "column": 32 - }, - "end": { - "line": 193, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 10176, - "end": 10184, - "loc": { - "start": { - "line": 193, - "column": 32 - }, - "end": { - "line": 193, - "column": 40 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 10185, - "end": 10190, - "loc": { - "start": { - "line": 193, - "column": 41 - }, - "end": { - "line": 193, - "column": 46 - }, - "identifierName": "solid" - }, - "name": "solid" - }, - "computed": false - }, - "consequent": { - "type": "NumericLiteral", - "start": 10193, - "end": 10194, - "loc": { - "start": { - "line": 193, - "column": 49 - }, - "end": { - "line": 193, - "column": 50 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "alternate": { - "type": "NumericLiteral", - "start": 10197, - "end": 10198, - "loc": { - "start": { - "line": 193, - "column": 53 - }, - "end": { - "line": 193, - "column": 54 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - } - } - }, - { - "type": "BreakStatement", - "start": 10216, - "end": 10222, - "loc": { - "start": { - "line": 194, - "column": 16 - }, - "end": { - "line": 194, - "column": 22 - } - }, - "label": null - } - ], - "test": { - "type": "StringLiteral", - "start": 10131, - "end": 10142, - "loc": { - "start": { - "line": 192, - "column": 17 - }, - "end": { - "line": 192, - "column": 28 + "name": "lenTextures" } - }, - "extra": { - "rawValue": "triangles", - "raw": "\"triangles\"" - }, - "value": "triangles" + ] } }, { - "type": "SwitchCase", - "start": 10235, - "end": 10307, + "type": "ObjectProperty", + "start": 7076, + "end": 7128, "loc": { "start": { - "line": 195, - "column": 12 + "line": 205, + "column": 8 }, "end": { - "line": 197, - "column": 22 + "line": 205, + "column": 60 } }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 10266, - "end": 10284, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7076, + "end": 7098, + "loc": { + "start": { + "line": 205, + "column": 8 + }, + "end": { + "line": 205, + "column": 30 + }, + "identifierName": "eachTextureDataPortion" + }, + "name": "eachTextureDataPortion", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 7100, + "end": 7128, + "loc": { + "start": { + "line": 205, + "column": 32 + }, + "end": { + "line": 205, + "column": 60 + } + }, + "callee": { + "type": "Identifier", + "start": 7104, + "end": 7115, "loc": { "start": { - "line": 196, - "column": 16 + "line": 205, + "column": 36 }, "end": { - "line": 196, - "column": 34 - } + "line": 205, + "column": 47 + }, + "identifierName": "Uint32Array" }, - "expression": { - "type": "AssignmentExpression", - "start": 10266, - "end": 10283, + "name": "Uint32Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 7116, + "end": 7127, "loc": { "start": { - "line": 196, - "column": 16 + "line": 205, + "column": 48 }, "end": { - "line": 196, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 10266, - "end": 10279, - "loc": { - "start": { - "line": 196, - "column": 16 - }, - "end": { - "line": 196, - "column": 29 - }, - "identifierName": "primitiveType" + "line": 205, + "column": 59 }, - "name": "primitiveType" + "identifierName": "numTextures" }, - "right": { - "type": "NumericLiteral", - "start": 10282, - "end": 10283, - "loc": { - "start": { - "line": 196, - "column": 32 - }, - "end": { - "line": 196, - "column": 33 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } + "name": "numTextures" } - }, + ] + }, + "leadingComments": [ { - "type": "BreakStatement", - "start": 10301, - "end": 10307, + "type": "CommentLine", + "value": " All textures", + "start": 7052, + "end": 7067, "loc": { "start": { - "line": 197, - "column": 16 + "line": 204, + "column": 50 }, "end": { - "line": 197, - "column": 22 + "line": 204, + "column": 65 } - }, - "label": null - } - ], - "test": { - "type": "StringLiteral", - "start": 10240, - "end": 10248, - "loc": { - "start": { - "line": 195, - "column": 17 - }, - "end": { - "line": 195, - "column": 25 } - }, - "extra": { - "rawValue": "points", - "raw": "\"points\"" - }, - "value": "points" - } + } + ] }, { - "type": "SwitchCase", - "start": 10320, - "end": 10391, + "type": "ObjectProperty", + "start": 7204, + "end": 7280, "loc": { "start": { - "line": 198, - "column": 12 + "line": 206, + "column": 8 }, "end": { - "line": 200, - "column": 22 + "line": 206, + "column": 84 } }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 10350, - "end": 10368, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7204, + "end": 7225, + "loc": { + "start": { + "line": 206, + "column": 8 + }, + "end": { + "line": 206, + "column": 29 + }, + "identifierName": "eachTextureAttributes" + }, + "name": "eachTextureAttributes", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 7227, + "end": 7280, + "loc": { + "start": { + "line": 206, + "column": 31 + }, + "end": { + "line": 206, + "column": 84 + } + }, + "callee": { + "type": "Identifier", + "start": 7231, + "end": 7242, "loc": { "start": { - "line": 199, - "column": 16 + "line": 206, + "column": 35 }, "end": { - "line": 199, - "column": 34 - } + "line": 206, + "column": 46 + }, + "identifierName": "Uint16Array" }, - "expression": { - "type": "AssignmentExpression", - "start": 10350, - "end": 10367, + "name": "Uint16Array" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 7243, + "end": 7279, "loc": { "start": { - "line": 199, - "column": 16 + "line": 206, + "column": 47 }, "end": { - "line": 199, - "column": 33 + "line": 206, + "column": 83 } }, - "operator": "=", "left": { "type": "Identifier", - "start": 10350, - "end": 10363, + "start": 7243, + "end": 7254, "loc": { "start": { - "line": 199, - "column": 16 + "line": 206, + "column": 47 }, "end": { - "line": 199, - "column": 29 + "line": 206, + "column": 58 }, - "identifierName": "primitiveType" + "identifierName": "numTextures" }, - "name": "primitiveType" + "name": "numTextures" }, + "operator": "*", "right": { - "type": "NumericLiteral", - "start": 10366, - "end": 10367, + "type": "Identifier", + "start": 7257, + "end": 7279, "loc": { "start": { - "line": 199, - "column": 32 + "line": 206, + "column": 61 }, "end": { - "line": 199, - "column": 33 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" + "line": 206, + "column": 83 + }, + "identifierName": "NUM_TEXTURE_ATTRIBUTES" }, - "value": 3 + "name": "NUM_TEXTURE_ATTRIBUTES" } } - }, + ] + }, + "leadingComments": [ { - "type": "BreakStatement", - "start": 10385, - "end": 10391, + "type": "CommentLine", + "value": " For each texture, an index to its first element in textureData", + "start": 7130, + "end": 7195, "loc": { "start": { - "line": 200, - "column": 16 + "line": 205, + "column": 62 }, "end": { - "line": 200, - "column": 22 + "line": 205, + "column": 127 } - }, - "label": null - } - ], - "test": { - "type": "StringLiteral", - "start": 10325, - "end": 10332, - "loc": { - "start": { - "line": 198, - "column": 17 - }, - "end": { - "line": 198, - "column": 24 } - }, - "extra": { - "rawValue": "lines", - "raw": "\"lines\"" - }, - "value": "lines" - } + } + ] }, { - "type": "SwitchCase", - "start": 10404, - "end": 10422, + "type": "ObjectProperty", + "start": 7290, + "end": 7330, "loc": { "start": { - "line": 201, - "column": 12 + "line": 207, + "column": 8 }, "end": { - "line": 201, - "column": 30 + "line": 207, + "column": 48 } }, - "consequent": [], - "test": { - "type": "StringLiteral", - "start": 10409, - "end": 10421, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7290, + "end": 7299, "loc": { "start": { - "line": 201, + "line": 207, + "column": 8 + }, + "end": { + "line": 207, "column": 17 }, + "identifierName": "positions" + }, + "name": "positions" + }, + "value": { + "type": "NewExpression", + "start": 7301, + "end": 7330, + "loc": { + "start": { + "line": 207, + "column": 19 + }, "end": { - "line": 201, - "column": 29 + "line": 207, + "column": 48 } }, - "extra": { - "rawValue": "line-strip", - "raw": "\"line-strip\"" + "callee": { + "type": "Identifier", + "start": 7305, + "end": 7316, + "loc": { + "start": { + "line": 207, + "column": 23 + }, + "end": { + "line": 207, + "column": 34 + }, + "identifierName": "Uint16Array" + }, + "name": "Uint16Array" }, - "value": "line-strip" + "arguments": [ + { + "type": "Identifier", + "start": 7317, + "end": 7329, + "loc": { + "start": { + "line": 207, + "column": 35 + }, + "end": { + "line": 207, + "column": 47 + }, + "identifierName": "lenPositions" + }, + "name": "lenPositions" + } + ] } }, { - "type": "SwitchCase", - "start": 10435, - "end": 10510, + "type": "ObjectProperty", + "start": 7363, + "end": 7397, "loc": { "start": { - "line": 202, - "column": 12 + "line": 208, + "column": 8 }, "end": { - "line": 204, - "column": 22 + "line": 208, + "column": 42 } }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 10469, - "end": 10487, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7363, + "end": 7370, + "loc": { + "start": { + "line": 208, + "column": 8 + }, + "end": { + "line": 208, + "column": 15 + }, + "identifierName": "normals" + }, + "name": "normals", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 7372, + "end": 7397, + "loc": { + "start": { + "line": 208, + "column": 17 + }, + "end": { + "line": 208, + "column": 42 + } + }, + "callee": { + "type": "Identifier", + "start": 7376, + "end": 7385, "loc": { "start": { - "line": 203, - "column": 16 + "line": 208, + "column": 21 }, "end": { - "line": 203, - "column": 34 - } + "line": 208, + "column": 30 + }, + "identifierName": "Int8Array" }, - "expression": { - "type": "AssignmentExpression", - "start": 10469, - "end": 10486, + "name": "Int8Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 7386, + "end": 7396, "loc": { "start": { - "line": 203, - "column": 16 + "line": 208, + "column": 31 }, "end": { - "line": 203, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 10469, - "end": 10482, - "loc": { - "start": { - "line": 203, - "column": 16 - }, - "end": { - "line": 203, - "column": 29 - }, - "identifierName": "primitiveType" + "line": 208, + "column": 41 }, - "name": "primitiveType" + "identifierName": "lenNormals" }, - "right": { - "type": "NumericLiteral", - "start": 10485, - "end": 10486, - "loc": { - "start": { - "line": 203, - "column": 32 - }, - "end": { - "line": 203, - "column": 33 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } + "name": "lenNormals" } - }, + ] + }, + "leadingComments": [ { - "type": "BreakStatement", - "start": 10504, - "end": 10510, + "type": "CommentLine", + "value": " All geometry arrays", + "start": 7332, + "end": 7354, "loc": { "start": { - "line": 204, - "column": 16 + "line": 207, + "column": 50 }, "end": { - "line": 204, - "column": 22 + "line": 207, + "column": 72 } - }, - "label": null + } } - ], - "test": { - "type": "StringLiteral", - "start": 10440, - "end": 10451, - "loc": { - "start": { - "line": 202, - "column": 17 - }, - "end": { - "line": 202, - "column": 28 - } - }, - "extra": { - "rawValue": "line-loop", - "raw": "\"line-loop\"" - }, - "value": "line-loop" - } + ] }, { - "type": "SwitchCase", - "start": 10523, - "end": 10603, + "type": "ObjectProperty", + "start": 7407, + "end": 7440, "loc": { "start": { - "line": 205, - "column": 12 + "line": 209, + "column": 8 }, "end": { - "line": 207, - "column": 22 + "line": 209, + "column": 41 } }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 10562, - "end": 10580, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7407, + "end": 7413, + "loc": { + "start": { + "line": 209, + "column": 8 + }, + "end": { + "line": 209, + "column": 14 + }, + "identifierName": "colors" + }, + "name": "colors" + }, + "value": { + "type": "NewExpression", + "start": 7415, + "end": 7440, + "loc": { + "start": { + "line": 209, + "column": 16 + }, + "end": { + "line": 209, + "column": 41 + } + }, + "callee": { + "type": "Identifier", + "start": 7419, + "end": 7429, "loc": { "start": { - "line": 206, - "column": 16 + "line": 209, + "column": 20 }, "end": { - "line": 206, - "column": 34 - } + "line": 209, + "column": 30 + }, + "identifierName": "Uint8Array" }, - "expression": { - "type": "AssignmentExpression", - "start": 10562, - "end": 10579, + "name": "Uint8Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 7430, + "end": 7439, "loc": { "start": { - "line": 206, - "column": 16 + "line": 209, + "column": 31 }, "end": { - "line": 206, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 10562, - "end": 10575, - "loc": { - "start": { - "line": 206, - "column": 16 - }, - "end": { - "line": 206, - "column": 29 - }, - "identifierName": "primitiveType" + "line": 209, + "column": 40 }, - "name": "primitiveType" + "identifierName": "lenColors" }, - "right": { - "type": "NumericLiteral", - "start": 10578, - "end": 10579, - "loc": { - "start": { - "line": 206, - "column": 32 - }, - "end": { - "line": 206, - "column": 33 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } + "name": "lenColors" } + ] + } + }, + { + "type": "ObjectProperty", + "start": 7450, + "end": 7479, + "loc": { + "start": { + "line": 210, + "column": 8 }, - { - "type": "BreakStatement", - "start": 10597, - "end": 10603, - "loc": { - "start": { - "line": 207, - "column": 16 - }, - "end": { - "line": 207, - "column": 22 - } - }, - "label": null + "end": { + "line": 210, + "column": 37 } - ], - "test": { - "type": "StringLiteral", - "start": 10528, - "end": 10544, + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7450, + "end": 7453, "loc": { "start": { - "line": 205, - "column": 17 + "line": 210, + "column": 8 }, "end": { - "line": 205, - "column": 33 + "line": 210, + "column": 11 + }, + "identifierName": "uvs" + }, + "name": "uvs" + }, + "value": { + "type": "NewExpression", + "start": 7455, + "end": 7479, + "loc": { + "start": { + "line": 210, + "column": 13 + }, + "end": { + "line": 210, + "column": 37 } }, - "extra": { - "rawValue": "triangle-strip", - "raw": "\"triangle-strip\"" + "callee": { + "type": "Identifier", + "start": 7459, + "end": 7471, + "loc": { + "start": { + "line": 210, + "column": 17 + }, + "end": { + "line": 210, + "column": 29 + }, + "identifierName": "Float32Array" + }, + "name": "Float32Array" }, - "value": "triangle-strip" + "arguments": [ + { + "type": "Identifier", + "start": 7472, + "end": 7478, + "loc": { + "start": { + "line": 210, + "column": 30 + }, + "end": { + "line": 210, + "column": 36 + }, + "identifierName": "lenUVs" + }, + "name": "lenUVs" + } + ] } }, { - "type": "SwitchCase", - "start": 10616, - "end": 10694, + "type": "ObjectProperty", + "start": 7489, + "end": 7525, "loc": { "start": { - "line": 208, - "column": 12 + "line": 211, + "column": 8 }, "end": { - "line": 210, - "column": 22 + "line": 211, + "column": 44 } }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 10653, - "end": 10671, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7489, + "end": 7496, + "loc": { + "start": { + "line": 211, + "column": 8 + }, + "end": { + "line": 211, + "column": 15 + }, + "identifierName": "indices" + }, + "name": "indices" + }, + "value": { + "type": "NewExpression", + "start": 7498, + "end": 7525, + "loc": { + "start": { + "line": 211, + "column": 17 + }, + "end": { + "line": 211, + "column": 44 + } + }, + "callee": { + "type": "Identifier", + "start": 7502, + "end": 7513, "loc": { "start": { - "line": 209, - "column": 16 + "line": 211, + "column": 21 }, "end": { - "line": 209, - "column": 34 - } + "line": 211, + "column": 32 + }, + "identifierName": "Uint32Array" }, - "expression": { - "type": "AssignmentExpression", - "start": 10653, - "end": 10670, + "name": "Uint32Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 7514, + "end": 7524, "loc": { "start": { - "line": 209, - "column": 16 + "line": 211, + "column": 33 }, "end": { - "line": 209, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 10653, - "end": 10666, - "loc": { - "start": { - "line": 209, - "column": 16 - }, - "end": { - "line": 209, - "column": 29 - }, - "identifierName": "primitiveType" + "line": 211, + "column": 43 }, - "name": "primitiveType" + "identifierName": "lenIndices" }, - "right": { - "type": "NumericLiteral", - "start": 10669, - "end": 10670, - "loc": { - "start": { - "line": 209, - "column": 32 - }, - "end": { - "line": 209, - "column": 33 - } - }, - "extra": { - "rawValue": 6, - "raw": "6" - }, - "value": 6 - } + "name": "lenIndices" } + ] + } + }, + { + "type": "ObjectProperty", + "start": 7535, + "end": 7579, + "loc": { + "start": { + "line": 212, + "column": 8 }, - { - "type": "BreakStatement", - "start": 10688, - "end": 10694, - "loc": { - "start": { - "line": 210, - "column": 16 - }, - "end": { - "line": 210, - "column": 22 - } - }, - "label": null + "end": { + "line": 212, + "column": 52 } - ], - "test": { - "type": "StringLiteral", - "start": 10621, - "end": 10635, + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7535, + "end": 7546, "loc": { "start": { - "line": 208, - "column": 17 + "line": 212, + "column": 8 }, "end": { - "line": 208, - "column": 31 + "line": 212, + "column": 19 + }, + "identifierName": "edgeIndices" + }, + "name": "edgeIndices" + }, + "value": { + "type": "NewExpression", + "start": 7548, + "end": 7579, + "loc": { + "start": { + "line": 212, + "column": 21 + }, + "end": { + "line": 212, + "column": 52 } }, - "extra": { - "rawValue": "triangle-fan", - "raw": "\"triangle-fan\"" + "callee": { + "type": "Identifier", + "start": 7552, + "end": 7563, + "loc": { + "start": { + "line": 212, + "column": 25 + }, + "end": { + "line": 212, + "column": 36 + }, + "identifierName": "Uint32Array" + }, + "name": "Uint32Array" }, - "value": "triangle-fan" + "arguments": [ + { + "type": "Identifier", + "start": 7564, + "end": 7578, + "loc": { + "start": { + "line": 212, + "column": 37 + }, + "end": { + "line": 212, + "column": 51 + }, + "identifierName": "lenEdgeIndices" + }, + "name": "lenEdgeIndices" + } + ] } }, { - "type": "SwitchCase", - "start": 10707, - "end": 10749, + "type": "ObjectProperty", + "start": 7589, + "end": 7647, "loc": { "start": { - "line": 211, - "column": 12 + "line": 213, + "column": 8 }, "end": { - "line": 212, - "column": 33 + "line": 213, + "column": 66 } }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 10732, - "end": 10749, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7589, + "end": 7611, + "loc": { + "start": { + "line": 213, + "column": 8 + }, + "end": { + "line": 213, + "column": 30 + }, + "identifierName": "eachTextureSetTextures" + }, + "name": "eachTextureSetTextures" + }, + "value": { + "type": "NewExpression", + "start": 7613, + "end": 7647, + "loc": { + "start": { + "line": 213, + "column": 32 + }, + "end": { + "line": 213, + "column": 66 + } + }, + "callee": { + "type": "Identifier", + "start": 7617, + "end": 7627, "loc": { "start": { - "line": 212, - "column": 16 + "line": 213, + "column": 36 }, "end": { - "line": 212, - "column": 33 - } + "line": 213, + "column": 46 + }, + "identifierName": "Int32Array" }, - "expression": { - "type": "AssignmentExpression", - "start": 10732, - "end": 10749, + "name": "Int32Array" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 7628, + "end": 7646, "loc": { "start": { - "line": 212, - "column": 16 + "line": 213, + "column": 47 }, "end": { - "line": 212, - "column": 33 + "line": 213, + "column": 65 } }, - "operator": "=", "left": { "type": "Identifier", - "start": 10732, - "end": 10745, + "start": 7628, + "end": 7642, "loc": { "start": { - "line": 212, - "column": 16 + "line": 213, + "column": 47 }, "end": { - "line": 212, - "column": 29 + "line": 213, + "column": 61 }, - "identifierName": "primitiveType" + "identifierName": "numTextureSets" }, - "name": "primitiveType" + "name": "numTextureSets" }, + "operator": "*", "right": { "type": "NumericLiteral", - "start": 10748, - "end": 10749, + "start": 7645, + "end": 7646, "loc": { "start": { - "line": 212, - "column": 32 + "line": 213, + "column": 64 }, "end": { - "line": 212, - "column": 33 + "line": 213, + "column": 65 } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 5, + "raw": "5" }, - "value": 1 + "value": 5 } } - } - ], - "test": null - } - ] - }, - { - "type": "ExpressionStatement", - "start": 10768, - "end": 10831, - "loc": { - "start": { - "line": 214, - "column": 8 - }, - "end": { - "line": 214, - "column": 71 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 10768, - "end": 10830, - "loc": { - "start": { - "line": 214, - "column": 8 - }, - "end": { - "line": 214, - "column": 70 + ] } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 10768, - "end": 10814, + { + "type": "ObjectProperty", + "start": 7803, + "end": 7842, "loc": { "start": { "line": 214, @@ -14629,13 +15056,16 @@ }, "end": { "line": 214, - "column": 54 + "column": 47 } }, - "object": { - "type": "MemberExpression", - "start": 10768, - "end": 10798, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 7803, + "end": 7811, "loc": { "start": { "line": 214, @@ -14643,116 +15073,87 @@ }, "end": { "line": 214, - "column": 38 + "column": 16 + }, + "identifierName": "matrices" + }, + "name": "matrices", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 7813, + "end": 7842, + "loc": { + "start": { + "line": 214, + "column": 18 + }, + "end": { + "line": 214, + "column": 47 } }, - "object": { + "callee": { "type": "Identifier", - "start": 10768, - "end": 10772, + "start": 7817, + "end": 7829, "loc": { "start": { "line": 214, - "column": 8 + "column": 22 }, "end": { "line": 214, - "column": 12 + "column": 34 }, - "identifierName": "data" + "identifierName": "Float32Array" }, - "name": "data" + "name": "Float32Array" }, - "property": { - "type": "Identifier", - "start": 10773, - "end": 10798, + "arguments": [ + { + "type": "Identifier", + "start": 7830, + "end": 7841, + "loc": { + "start": { + "line": 214, + "column": 35 + }, + "end": { + "line": 214, + "column": 46 + }, + "identifierName": "lenMatrices" + }, + "name": "lenMatrices" + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each texture set, a set of five Texture indices [color, metal/roughness,normals,emissive,occlusion]; each index has value -1 if no texture", + "start": 7649, + "end": 7794, "loc": { "start": { - "line": 214, - "column": 13 + "line": 213, + "column": 68 }, "end": { - "line": 214, - "column": 38 - }, - "identifierName": "eachGeometryPrimitiveType" - }, - "name": "eachGeometryPrimitiveType" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 10800, - "end": 10813, - "loc": { - "start": { - "line": 214, - "column": 40 - }, - "end": { - "line": 214, - "column": 53 - }, - "identifierName": "geometryIndex" - }, - "name": "geometryIndex" - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 10817, - "end": 10830, - "loc": { - "start": { - "line": 214, - "column": 57 - }, - "end": { - "line": 214, - "column": 70 - }, - "identifierName": "primitiveType" - }, - "name": "primitiveType" - } - } - }, - { - "type": "ExpressionStatement", - "start": 10840, - "end": 10907, - "loc": { - "start": { - "line": 215, - "column": 8 - }, - "end": { - "line": 215, - "column": 75 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 10840, - "end": 10906, - "loc": { - "start": { - "line": 215, - "column": 8 - }, - "end": { - "line": 215, - "column": 74 - } + "line": 213, + "column": 213 + } + } + } + ] }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 10840, - "end": 10889, + { + "type": "ObjectProperty", + "start": 8129, + "end": 8214, "loc": { "start": { "line": 215, @@ -14760,13 +15161,16 @@ }, "end": { "line": 215, - "column": 57 + "column": 93 } }, - "object": { - "type": "MemberExpression", - "start": 10840, - "end": 10873, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8129, + "end": 8157, "loc": { "start": { "line": 215, @@ -14774,116 +15178,120 @@ }, "end": { "line": 215, - "column": 41 + "column": 36 + }, + "identifierName": "reusedGeometriesDecodeMatrix" + }, + "name": "reusedGeometriesDecodeMatrix", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 8159, + "end": 8214, + "loc": { + "start": { + "line": 215, + "column": 38 + }, + "end": { + "line": 215, + "column": 93 } }, - "object": { + "callee": { "type": "Identifier", - "start": 10840, - "end": 10844, + "start": 8163, + "end": 8175, "loc": { "start": { "line": 215, - "column": 8 + "column": 42 }, "end": { "line": 215, - "column": 12 + "column": 54 }, - "identifierName": "data" + "identifierName": "Float32Array" }, - "name": "data" + "name": "Float32Array" }, - "property": { - "type": "Identifier", - "start": 10845, - "end": 10873, + "arguments": [ + { + "type": "MemberExpression", + "start": 8176, + "end": 8213, + "loc": { + "start": { + "line": 215, + "column": 55 + }, + "end": { + "line": 215, + "column": 92 + } + }, + "object": { + "type": "Identifier", + "start": 8176, + "end": 8184, + "loc": { + "start": { + "line": 215, + "column": 55 + }, + "end": { + "line": 215, + "column": 63 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 8185, + "end": 8213, + "loc": { + "start": { + "line": 215, + "column": 64 + }, + "end": { + "line": 215, + "column": 92 + }, + "identifierName": "reusedGeometriesDecodeMatrix" + }, + "name": "reusedGeometriesDecodeMatrix" + }, + "computed": false + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Modeling matrices for entities that share geometries. Each entity either shares all it's geometries, or owns all its geometries exclusively. Exclusively-owned geometries are pre-transformed into World-space, and so their entities don't have modeling matrices in this array.", + "start": 7844, + "end": 8120, "loc": { "start": { - "line": 215, - "column": 13 + "line": 214, + "column": 49 }, "end": { - "line": 215, - "column": 41 - }, - "identifierName": "eachGeometryPositionsPortion" - }, - "name": "eachGeometryPositionsPortion" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 10875, - "end": 10888, - "loc": { - "start": { - "line": 215, - "column": 43 - }, - "end": { - "line": 215, - "column": 56 - }, - "identifierName": "geometryIndex" - }, - "name": "geometryIndex" - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 10892, - "end": 10906, - "loc": { - "start": { - "line": 215, - "column": 60 - }, - "end": { - "line": 215, - "column": 74 - }, - "identifierName": "countPositions" - }, - "name": "countPositions" - } - } - }, - { - "type": "ExpressionStatement", - "start": 10916, - "end": 10979, - "loc": { - "start": { - "line": 216, - "column": 8 - }, - "end": { - "line": 216, - "column": 71 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 10916, - "end": 10978, - "loc": { - "start": { - "line": 216, - "column": 8 - }, - "end": { - "line": 216, - "column": 70 - } + "line": 214, + "column": 325 + } + } + } + ] }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 10916, - "end": 10963, + { + "type": "ObjectProperty", + "start": 8423, + "end": 8479, "loc": { "start": { "line": 216, @@ -14891,13 +15299,16 @@ }, "end": { "line": 216, - "column": 55 + "column": 64 } }, - "object": { - "type": "MemberExpression", - "start": 10916, - "end": 10947, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8423, + "end": 8448, "loc": { "start": { "line": 216, @@ -14905,116 +15316,87 @@ }, "end": { "line": 216, - "column": 39 + "column": 33 + }, + "identifierName": "eachGeometryPrimitiveType" + }, + "name": "eachGeometryPrimitiveType", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 8450, + "end": 8479, + "loc": { + "start": { + "line": 216, + "column": 35 + }, + "end": { + "line": 216, + "column": 64 } }, - "object": { + "callee": { "type": "Identifier", - "start": 10916, - "end": 10920, + "start": 8454, + "end": 8464, "loc": { "start": { "line": 216, - "column": 8 + "column": 39 }, "end": { "line": 216, - "column": 12 + "column": 49 }, - "identifierName": "data" + "identifierName": "Uint8Array" }, - "name": "data" + "name": "Uint8Array" }, - "property": { - "type": "Identifier", - "start": 10921, - "end": 10947, + "arguments": [ + { + "type": "Identifier", + "start": 8465, + "end": 8478, + "loc": { + "start": { + "line": 216, + "column": 50 + }, + "end": { + "line": 216, + "column": 63 + }, + "identifierName": "numGeometries" + }, + "name": "numGeometries" + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " A single, global vertex position de-quantization matrix for all reused geometries. Reused geometries are quantized to their collective Local-space AABB, and this matrix is derived from that AABB.", + "start": 8216, + "end": 8414, "loc": { "start": { - "line": 216, - "column": 13 + "line": 215, + "column": 95 }, "end": { - "line": 216, - "column": 39 - }, - "identifierName": "eachGeometryNormalsPortion" - }, - "name": "eachGeometryNormalsPortion" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 10949, - "end": 10962, - "loc": { - "start": { - "line": 216, - "column": 41 - }, - "end": { - "line": 216, - "column": 54 - }, - "identifierName": "geometryIndex" - }, - "name": "geometryIndex" - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 10966, - "end": 10978, - "loc": { - "start": { - "line": 216, - "column": 58 - }, - "end": { - "line": 216, - "column": 70 - }, - "identifierName": "countNormals" - }, - "name": "countNormals" - } - } - }, - { - "type": "ExpressionStatement", - "start": 10988, - "end": 11049, - "loc": { - "start": { - "line": 217, - "column": 8 - }, - "end": { - "line": 217, - "column": 69 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 10988, - "end": 11048, - "loc": { - "start": { - "line": 217, - "column": 8 - }, - "end": { - "line": 217, - "column": 68 - } + "line": 215, + "column": 293 + } + } + } + ] }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 10988, - "end": 11034, + { + "type": "ObjectProperty", + "start": 8599, + "end": 8659, "loc": { "start": { "line": 217, @@ -15022,261 +15404,209 @@ }, "end": { "line": 217, - "column": 54 + "column": 68 } }, - "object": { - "type": "MemberExpression", - "start": 10988, - "end": 11018, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8599, + "end": 8627, "loc": { "start": { "line": 217, "column": 8 }, "end": { + "line": 217, + "column": 36 + }, + "identifierName": "eachGeometryPositionsPortion" + }, + "name": "eachGeometryPositionsPortion", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 8629, + "end": 8659, + "loc": { + "start": { "line": 217, "column": 38 + }, + "end": { + "line": 217, + "column": 68 } }, - "object": { + "callee": { "type": "Identifier", - "start": 10988, - "end": 10992, + "start": 8633, + "end": 8644, "loc": { "start": { "line": 217, - "column": 8 + "column": 42 }, "end": { "line": 217, - "column": 12 + "column": 53 }, - "identifierName": "data" + "identifierName": "Uint32Array" }, - "name": "data" + "name": "Uint32Array" }, - "property": { - "type": "Identifier", - "start": 10993, - "end": 11018, + "arguments": [ + { + "type": "Identifier", + "start": 8645, + "end": 8658, + "loc": { + "start": { + "line": 217, + "column": 54 + }, + "end": { + "line": 217, + "column": 67 + }, + "identifierName": "numGeometries" + }, + "name": "numGeometries" + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Primitive type for each geometry (0=solid triangles, 1=surface triangles, 2=lines, 3=points, 4=line-strip)", + "start": 8481, + "end": 8590, "loc": { "start": { - "line": 217, - "column": 13 + "line": 216, + "column": 66 }, "end": { - "line": 217, - "column": 38 - }, - "identifierName": "eachGeometryColorsPortion" - }, - "name": "eachGeometryColorsPortion" + "line": 216, + "column": 175 + } + } + } + ] + }, + { + "type": "ObjectProperty", + "start": 8776, + "end": 8834, + "loc": { + "start": { + "line": 218, + "column": 8 }, - "computed": false - }, - "property": { + "end": { + "line": 218, + "column": 66 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 11020, - "end": 11033, + "start": 8776, + "end": 8802, "loc": { "start": { - "line": 217, - "column": 40 + "line": 218, + "column": 8 }, "end": { - "line": 217, - "column": 53 + "line": 218, + "column": 34 }, - "identifierName": "geometryIndex" - }, - "name": "geometryIndex" - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 11037, - "end": 11048, - "loc": { - "start": { - "line": 217, - "column": 57 - }, - "end": { - "line": 217, - "column": 68 - }, - "identifierName": "countColors" - }, - "name": "countColors" - } - } - }, - { - "type": "ExpressionStatement", - "start": 11058, - "end": 11113, - "loc": { - "start": { - "line": 218, - "column": 8 - }, - "end": { - "line": 218, - "column": 63 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11058, - "end": 11112, - "loc": { - "start": { - "line": 218, - "column": 8 - }, - "end": { - "line": 218, - "column": 62 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 11058, - "end": 11101, - "loc": { - "start": { - "line": 218, - "column": 8 + "identifierName": "eachGeometryNormalsPortion" }, - "end": { - "line": 218, - "column": 51 - } + "name": "eachGeometryNormalsPortion", + "leadingComments": null }, - "object": { - "type": "MemberExpression", - "start": 11058, - "end": 11085, + "value": { + "type": "NewExpression", + "start": 8804, + "end": 8834, "loc": { "start": { "line": 218, - "column": 8 + "column": 36 }, "end": { "line": 218, - "column": 35 + "column": 66 } }, - "object": { + "callee": { "type": "Identifier", - "start": 11058, - "end": 11062, + "start": 8808, + "end": 8819, "loc": { "start": { "line": 218, - "column": 8 + "column": 40 }, "end": { "line": 218, - "column": 12 + "column": 51 }, - "identifierName": "data" + "identifierName": "Uint32Array" }, - "name": "data" + "name": "Uint32Array" }, - "property": { - "type": "Identifier", - "start": 11063, - "end": 11085, + "arguments": [ + { + "type": "Identifier", + "start": 8820, + "end": 8833, + "loc": { + "start": { + "line": 218, + "column": 52 + }, + "end": { + "line": 218, + "column": 65 + }, + "identifierName": "numGeometries" + }, + "name": "numGeometries" + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.positions. Every primitive type has positions.", + "start": 8661, + "end": 8767, "loc": { "start": { - "line": 218, - "column": 13 + "line": 217, + "column": 70 }, "end": { - "line": 218, - "column": 35 - }, - "identifierName": "eachGeometryUVsPortion" - }, - "name": "eachGeometryUVsPortion" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11087, - "end": 11100, - "loc": { - "start": { - "line": 218, - "column": 37 - }, - "end": { - "line": 218, - "column": 50 - }, - "identifierName": "geometryIndex" - }, - "name": "geometryIndex" - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 11104, - "end": 11112, - "loc": { - "start": { - "line": 218, - "column": 54 - }, - "end": { - "line": 218, - "column": 62 - }, - "identifierName": "countUVs" - }, - "name": "countUVs" - } - } - }, - { - "type": "ExpressionStatement", - "start": 11122, - "end": 11185, - "loc": { - "start": { - "line": 219, - "column": 8 - }, - "end": { - "line": 219, - "column": 71 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11122, - "end": 11184, - "loc": { - "start": { - "line": 219, - "column": 8 - }, - "end": { - "line": 219, - "column": 70 - } + "line": 217, + "column": 176 + } + } + } + ] }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 11122, - "end": 11169, + { + "type": "ObjectProperty", + "start": 8989, + "end": 9046, "loc": { "start": { "line": 219, @@ -15284,13 +15614,16 @@ }, "end": { "line": 219, - "column": 55 + "column": 65 } }, - "object": { - "type": "MemberExpression", - "start": 11122, - "end": 11153, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8989, + "end": 9014, "loc": { "start": { "line": 219, @@ -15298,2614 +15631,2546 @@ }, "end": { "line": 219, - "column": 39 + "column": 33 + }, + "identifierName": "eachGeometryColorsPortion" + }, + "name": "eachGeometryColorsPortion", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 9016, + "end": 9046, + "loc": { + "start": { + "line": 219, + "column": 35 + }, + "end": { + "line": 219, + "column": 65 } }, - "object": { + "callee": { "type": "Identifier", - "start": 11122, - "end": 11126, + "start": 9020, + "end": 9031, "loc": { "start": { "line": 219, - "column": 8 + "column": 39 }, "end": { "line": 219, - "column": 12 + "column": 50 }, - "identifierName": "data" + "identifierName": "Uint32Array" }, - "name": "data" + "name": "Uint32Array" }, - "property": { - "type": "Identifier", - "start": 11127, - "end": 11153, + "arguments": [ + { + "type": "Identifier", + "start": 9032, + "end": 9045, + "loc": { + "start": { + "line": 219, + "column": 51 + }, + "end": { + "line": 219, + "column": 64 + }, + "identifierName": "numGeometries" + }, + "name": "numGeometries" + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.normals. If the next geometry has the same index, then this geometry has no normals.", + "start": 8836, + "end": 8980, "loc": { "start": { - "line": 219, - "column": 13 + "line": 218, + "column": 68 }, "end": { - "line": 219, - "column": 39 - }, - "identifierName": "eachGeometryIndicesPortion" - }, - "name": "eachGeometryIndicesPortion" + "line": 218, + "column": 212 + } + } + } + ] + }, + { + "type": "ObjectProperty", + "start": 9199, + "end": 9253, + "loc": { + "start": { + "line": 220, + "column": 8 }, - "computed": false + "end": { + "line": 220, + "column": 62 + } }, - "property": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 11155, - "end": 11168, + "start": 9199, + "end": 9221, "loc": { "start": { - "line": 219, - "column": 41 + "line": 220, + "column": 8 }, "end": { - "line": 219, - "column": 54 + "line": 220, + "column": 30 }, - "identifierName": "geometryIndex" + "identifierName": "eachGeometryUVsPortion" }, - "name": "geometryIndex" + "name": "eachGeometryUVsPortion", + "leadingComments": null }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 11172, - "end": 11184, - "loc": { - "start": { - "line": 219, - "column": 58 + "value": { + "type": "NewExpression", + "start": 9223, + "end": 9253, + "loc": { + "start": { + "line": 220, + "column": 32 + }, + "end": { + "line": 220, + "column": 62 + } }, - "end": { - "line": 219, - "column": 70 + "callee": { + "type": "Identifier", + "start": 9227, + "end": 9238, + "loc": { + "start": { + "line": 220, + "column": 36 + }, + "end": { + "line": 220, + "column": 47 + }, + "identifierName": "Uint32Array" + }, + "name": "Uint32Array" }, - "identifierName": "countIndices" - }, - "name": "countIndices" - } - } - }, - { - "type": "ExpressionStatement", - "start": 11194, - "end": 11265, - "loc": { - "start": { - "line": 220, - "column": 8 - }, - "end": { - "line": 220, - "column": 79 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11194, - "end": 11264, - "loc": { - "start": { - "line": 220, - "column": 8 + "arguments": [ + { + "type": "Identifier", + "start": 9239, + "end": 9252, + "loc": { + "start": { + "line": 220, + "column": 48 + }, + "end": { + "line": 220, + "column": 61 + }, + "identifierName": "numGeometries" + }, + "name": "numGeometries" + } + ] }, - "end": { - "line": 220, - "column": 78 - } + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.colors. If the next geometry has the same index, then this geometry has no colors.", + "start": 9048, + "end": 9190, + "loc": { + "start": { + "line": 219, + "column": 67 + }, + "end": { + "line": 219, + "column": 209 + } + } + } + ] }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 11194, - "end": 11245, + { + "type": "ObjectProperty", + "start": 9400, + "end": 9458, "loc": { "start": { - "line": 220, + "line": 221, "column": 8 }, "end": { - "line": 220, - "column": 59 + "line": 221, + "column": 66 } }, - "object": { - "type": "MemberExpression", - "start": 11194, - "end": 11229, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 9400, + "end": 9426, "loc": { "start": { - "line": 220, + "line": 221, "column": 8 }, "end": { - "line": 220, - "column": 43 + "line": 221, + "column": 34 + }, + "identifierName": "eachGeometryIndicesPortion" + }, + "name": "eachGeometryIndicesPortion", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 9428, + "end": 9458, + "loc": { + "start": { + "line": 221, + "column": 36 + }, + "end": { + "line": 221, + "column": 66 } }, - "object": { + "callee": { "type": "Identifier", - "start": 11194, - "end": 11198, + "start": 9432, + "end": 9443, "loc": { "start": { - "line": 220, - "column": 8 + "line": 221, + "column": 40 }, "end": { - "line": 220, - "column": 12 + "line": 221, + "column": 51 }, - "identifierName": "data" + "identifierName": "Uint32Array" }, - "name": "data" + "name": "Uint32Array" }, - "property": { - "type": "Identifier", - "start": 11199, - "end": 11229, + "arguments": [ + { + "type": "Identifier", + "start": 9444, + "end": 9457, + "loc": { + "start": { + "line": 221, + "column": 52 + }, + "end": { + "line": 221, + "column": 65 + }, + "identifierName": "numGeometries" + }, + "name": "numGeometries" + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.uvs. If the next geometry has the same index, then this geometry has no UVs.", + "start": 9255, + "end": 9391, "loc": { "start": { "line": 220, - "column": 13 + "column": 64 }, "end": { "line": 220, - "column": 43 - }, - "identifierName": "eachGeometryEdgeIndicesPortion" - }, - "name": "eachGeometryEdgeIndicesPortion" + "column": 200 + } + } + } + ] + }, + { + "type": "ObjectProperty", + "start": 9613, + "end": 9675, + "loc": { + "start": { + "line": 222, + "column": 8 }, - "computed": false + "end": { + "line": 222, + "column": 70 + } }, - "property": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 11231, - "end": 11244, + "start": 9613, + "end": 9643, "loc": { "start": { - "line": 220, - "column": 45 + "line": 222, + "column": 8 }, "end": { - "line": 220, - "column": 58 + "line": 222, + "column": 38 }, - "identifierName": "geometryIndex" + "identifierName": "eachGeometryEdgeIndicesPortion" }, - "name": "geometryIndex" + "name": "eachGeometryEdgeIndicesPortion", + "leadingComments": null }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 11248, - "end": 11264, - "loc": { - "start": { - "line": 220, - "column": 62 - }, - "end": { - "line": 220, - "column": 78 - }, - "identifierName": "countEdgeIndices" - }, - "name": "countEdgeIndices" - } - } - }, - { - "type": "IfStatement", - "start": 11274, - "end": 11461, - "loc": { - "start": { - "line": 221, - "column": 8 - }, - "end": { - "line": 224, - "column": 9 - } - }, - "test": { - "type": "MemberExpression", - "start": 11278, - "end": 11305, - "loc": { - "start": { - "line": 221, - "column": 12 - }, - "end": { - "line": 221, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 11278, - "end": 11286, - "loc": { - "start": { - "line": 221, - "column": 12 - }, - "end": { - "line": 221, - "column": 20 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 11287, - "end": 11305, - "loc": { - "start": { - "line": 221, - "column": 21 - }, - "end": { - "line": 221, - "column": 39 - }, - "identifierName": "positionsQuantized" - }, - "name": "positionsQuantized" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 11307, - "end": 11461, - "loc": { - "start": { - "line": 221, - "column": 41 - }, - "end": { - "line": 224, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11321, - "end": 11385, + "value": { + "type": "NewExpression", + "start": 9645, + "end": 9675, "loc": { "start": { "line": 222, - "column": 12 + "column": 40 }, "end": { "line": 222, - "column": 76 + "column": 70 } }, - "expression": { - "type": "CallExpression", - "start": 11321, - "end": 11384, + "callee": { + "type": "Identifier", + "start": 9649, + "end": 9660, "loc": { "start": { "line": 222, - "column": 12 + "column": 44 }, "end": { "line": 222, - "column": 75 - } + "column": 55 + }, + "identifierName": "Uint32Array" }, - "callee": { - "type": "MemberExpression", - "start": 11321, - "end": 11339, + "name": "Uint32Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 9661, + "end": 9674, "loc": { "start": { "line": 222, - "column": 12 + "column": 56 }, "end": { "line": 222, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 11321, - "end": 11335, - "loc": { - "start": { - "line": 222, - "column": 12 - }, - "end": { - "line": 222, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 11321, - "end": 11325, - "loc": { - "start": { - "line": 222, - "column": 12 - }, - "end": { - "line": 222, - "column": 16 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 11326, - "end": 11335, - "loc": { - "start": { - "line": 222, - "column": 17 - }, - "end": { - "line": 222, - "column": 26 - }, - "identifierName": "positions" - }, - "name": "positions" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11336, - "end": 11339, - "loc": { - "start": { - "line": 222, - "column": 27 - }, - "end": { - "line": 222, - "column": 30 - }, - "identifierName": "set" + "column": 69 }, - "name": "set" + "identifierName": "numGeometries" }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 11340, - "end": 11367, - "loc": { - "start": { - "line": 222, - "column": 31 - }, - "end": { - "line": 222, - "column": 58 - } - }, - "object": { - "type": "Identifier", - "start": 11340, - "end": 11348, - "loc": { - "start": { - "line": 222, - "column": 31 - }, - "end": { - "line": 222, - "column": 39 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 11349, - "end": 11367, - "loc": { - "start": { - "line": 222, - "column": 40 - }, - "end": { - "line": 222, - "column": 58 - }, - "identifierName": "positionsQuantized" - }, - "name": "positionsQuantized" - }, - "computed": false + "name": "numGeometries" + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.indices. If the next geometry has the same index, then this geometry has no indices.", + "start": 9460, + "end": 9604, + "loc": { + "start": { + "line": 221, + "column": 68 }, - { - "type": "Identifier", - "start": 11369, - "end": 11383, - "loc": { - "start": { - "line": 222, - "column": 60 - }, - "end": { - "line": 222, - "column": 74 - }, - "identifierName": "countPositions" - }, - "name": "countPositions" + "end": { + "line": 221, + "column": 212 } - ] + } + } + ] + }, + { + "type": "ObjectProperty", + "start": 9839, + "end": 9892, + "loc": { + "start": { + "line": 223, + "column": 8 + }, + "end": { + "line": 223, + "column": 61 } }, - { - "type": "ExpressionStatement", - "start": 11398, - "end": 11451, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 9839, + "end": 9864, "loc": { "start": { "line": 223, - "column": 12 + "column": 8 }, "end": { "line": 223, - "column": 65 + "column": 33 + }, + "identifierName": "eachMeshGeometriesPortion" + }, + "name": "eachMeshGeometriesPortion", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 9866, + "end": 9892, + "loc": { + "start": { + "line": 223, + "column": 35 + }, + "end": { + "line": 223, + "column": 61 } }, - "expression": { - "type": "AssignmentExpression", - "start": 11398, - "end": 11450, + "callee": { + "type": "Identifier", + "start": 9870, + "end": 9881, "loc": { "start": { "line": 223, - "column": 12 + "column": 39 }, "end": { "line": 223, - "column": 64 - } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 11398, - "end": 11412, - "loc": { - "start": { - "line": 223, - "column": 12 - }, - "end": { - "line": 223, - "column": 26 - }, - "identifierName": "countPositions" + "column": 50 }, - "name": "countPositions" + "identifierName": "Uint32Array" }, - "right": { - "type": "MemberExpression", - "start": 11416, - "end": 11450, + "name": "Uint32Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 9882, + "end": 9891, "loc": { "start": { "line": 223, - "column": 30 + "column": 51 }, "end": { "line": 223, - "column": 64 - } - }, - "object": { - "type": "MemberExpression", - "start": 11416, - "end": 11443, - "loc": { - "start": { - "line": 223, - "column": 30 - }, - "end": { - "line": 223, - "column": 57 - } - }, - "object": { - "type": "Identifier", - "start": 11416, - "end": 11424, - "loc": { - "start": { - "line": 223, - "column": 30 - }, - "end": { - "line": 223, - "column": 38 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 11425, - "end": 11443, - "loc": { - "start": { - "line": 223, - "column": 39 - }, - "end": { - "line": 223, - "column": 57 - }, - "identifierName": "positionsQuantized" - }, - "name": "positionsQuantized" + "column": 60 }, - "computed": false + "identifierName": "numMeshes" }, - "property": { - "type": "Identifier", - "start": 11444, - "end": 11450, - "loc": { - "start": { - "line": 223, - "column": 58 - }, - "end": { - "line": 223, - "column": 64 - }, - "identifierName": "length" - }, - "name": "length" + "name": "numMeshes" + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.edgeIndices. If the next geometry has the same index, then this geometry has no edge indices.", + "start": 9677, + "end": 9830, + "loc": { + "start": { + "line": 222, + "column": 72 }, - "computed": false + "end": { + "line": 222, + "column": 225 + } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 11470, - "end": 11648, - "loc": { - "start": { - "line": 225, - "column": 8 - }, - "end": { - "line": 228, - "column": 9 - } - }, - "test": { - "type": "MemberExpression", - "start": 11474, - "end": 11500, - "loc": { - "start": { - "line": 225, - "column": 12 - }, - "end": { - "line": 225, - "column": 38 - } + ] }, - "object": { - "type": "Identifier", - "start": 11474, - "end": 11482, + { + "type": "ObjectProperty", + "start": 9959, + "end": 10010, "loc": { "start": { - "line": 225, - "column": 12 + "line": 224, + "column": 8 }, "end": { - "line": 225, - "column": 20 - }, - "identifierName": "geometry" + "line": 224, + "column": 59 + } }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 11483, - "end": 11500, - "loc": { - "start": { - "line": 225, - "column": 21 - }, - "end": { - "line": 225, - "column": 38 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 9959, + "end": 9982, + "loc": { + "start": { + "line": 224, + "column": 8 + }, + "end": { + "line": 224, + "column": 31 + }, + "identifierName": "eachMeshMatricesPortion" }, - "identifierName": "normalsOctEncoded" - }, - "name": "normalsOctEncoded" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 11502, - "end": 11648, - "loc": { - "start": { - "line": 225, - "column": 40 + "name": "eachMeshMatricesPortion", + "leadingComments": null }, - "end": { - "line": 228, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11516, - "end": 11575, + "value": { + "type": "NewExpression", + "start": 9984, + "end": 10010, "loc": { "start": { - "line": 226, - "column": 12 + "line": 224, + "column": 33 }, "end": { - "line": 226, - "column": 71 + "line": 224, + "column": 59 } }, - "expression": { - "type": "CallExpression", - "start": 11516, - "end": 11574, + "callee": { + "type": "Identifier", + "start": 9988, + "end": 9999, "loc": { "start": { - "line": 226, - "column": 12 + "line": 224, + "column": 37 }, "end": { - "line": 226, - "column": 70 - } + "line": 224, + "column": 48 + }, + "identifierName": "Uint32Array" }, - "callee": { - "type": "MemberExpression", - "start": 11516, - "end": 11532, + "name": "Uint32Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 10000, + "end": 10009, "loc": { "start": { - "line": 226, - "column": 12 + "line": 224, + "column": 49 }, "end": { - "line": 226, - "column": 28 - } - }, - "object": { - "type": "MemberExpression", - "start": 11516, - "end": 11528, - "loc": { - "start": { - "line": 226, - "column": 12 - }, - "end": { - "line": 226, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 11516, - "end": 11520, - "loc": { - "start": { - "line": 226, - "column": 12 - }, - "end": { - "line": 226, - "column": 16 - }, - "identifierName": "data" - }, - "name": "data" + "line": 224, + "column": 58 }, - "property": { - "type": "Identifier", - "start": 11521, - "end": 11528, - "loc": { - "start": { - "line": 226, - "column": 17 - }, - "end": { - "line": 226, - "column": 24 - }, - "identifierName": "normals" - }, - "name": "normals" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11529, - "end": 11532, - "loc": { - "start": { - "line": 226, - "column": 25 - }, - "end": { - "line": 226, - "column": 28 - }, - "identifierName": "set" - }, - "name": "set" + "identifierName": "numMeshes" }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 11533, - "end": 11559, - "loc": { - "start": { - "line": 226, - "column": 29 - }, - "end": { - "line": 226, - "column": 55 - } - }, - "object": { - "type": "Identifier", - "start": 11533, - "end": 11541, - "loc": { - "start": { - "line": 226, - "column": 29 - }, - "end": { - "line": 226, - "column": 37 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 11542, - "end": 11559, - "loc": { - "start": { - "line": 226, - "column": 38 - }, - "end": { - "line": 226, - "column": 55 - }, - "identifierName": "normalsOctEncoded" - }, - "name": "normalsOctEncoded" - }, - "computed": false + "name": "numMeshes" + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each mesh, an index into the eachGeometry* arrays", + "start": 9894, + "end": 9950, + "loc": { + "start": { + "line": 223, + "column": 63 }, - { - "type": "Identifier", - "start": 11561, - "end": 11573, - "loc": { - "start": { - "line": 226, - "column": 57 - }, - "end": { - "line": 226, - "column": 69 - }, - "identifierName": "countNormals" - }, - "name": "countNormals" + "end": { + "line": 223, + "column": 119 } - ] + } + } + ] + }, + { + "type": "ObjectProperty", + "start": 10357, + "end": 10402, + "loc": { + "start": { + "line": 225, + "column": 8 + }, + "end": { + "line": 225, + "column": 53 } }, - { - "type": "ExpressionStatement", - "start": 11588, - "end": 11638, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10357, + "end": 10375, "loc": { "start": { - "line": 227, - "column": 12 + "line": 225, + "column": 8 }, "end": { - "line": 227, - "column": 62 + "line": 225, + "column": 26 + }, + "identifierName": "eachMeshTextureSet" + }, + "name": "eachMeshTextureSet", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 10377, + "end": 10402, + "loc": { + "start": { + "line": 225, + "column": 28 + }, + "end": { + "line": 225, + "column": 53 } }, - "expression": { - "type": "AssignmentExpression", - "start": 11588, - "end": 11637, + "callee": { + "type": "Identifier", + "start": 10381, + "end": 10391, "loc": { "start": { - "line": 227, - "column": 12 + "line": 225, + "column": 32 }, "end": { - "line": 227, - "column": 61 - } + "line": 225, + "column": 42 + }, + "identifierName": "Int32Array" }, - "operator": "+=", - "left": { + "name": "Int32Array" + }, + "arguments": [ + { "type": "Identifier", - "start": 11588, - "end": 11600, + "start": 10392, + "end": 10401, "loc": { "start": { - "line": 227, - "column": 12 + "line": 225, + "column": 43 }, "end": { - "line": 227, - "column": 24 + "line": 225, + "column": 52 }, - "identifierName": "countNormals" + "identifierName": "numMeshes" }, - "name": "countNormals" + "name": "numMeshes" + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each mesh that shares its geometry, an index to its first element in data.matrices, to indicate the modeling matrix that transforms the shared geometry Local-space vertex positions. This is ignored for meshes that don't share geometries, because the vertex positions of non-shared geometries are pre-transformed into World-space.", + "start": 10012, + "end": 10348, + "loc": { + "start": { + "line": 224, + "column": 61 + }, + "end": { + "line": 224, + "column": 397 + } + } + } + ] + }, + { + "type": "ObjectProperty", + "start": 10592, + "end": 10671, + "loc": { + "start": { + "line": 226, + "column": 8 + }, + "end": { + "line": 226, + "column": 87 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10592, + "end": 10618, + "loc": { + "start": { + "line": 226, + "column": 8 }, - "right": { - "type": "MemberExpression", - "start": 11604, - "end": 11637, + "end": { + "line": 226, + "column": 34 + }, + "identifierName": "eachMeshMaterialAttributes" + }, + "name": "eachMeshMaterialAttributes", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 10620, + "end": 10671, + "loc": { + "start": { + "line": 226, + "column": 36 + }, + "end": { + "line": 226, + "column": 87 + } + }, + "callee": { + "type": "Identifier", + "start": 10624, + "end": 10634, + "loc": { + "start": { + "line": 226, + "column": 40 + }, + "end": { + "line": 226, + "column": 50 + }, + "identifierName": "Uint8Array" + }, + "name": "Uint8Array" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 10635, + "end": 10670, "loc": { "start": { - "line": 227, - "column": 28 + "line": 226, + "column": 51 }, "end": { - "line": 227, - "column": 61 + "line": 226, + "column": 86 } }, - "object": { - "type": "MemberExpression", - "start": 11604, - "end": 11630, + "left": { + "type": "Identifier", + "start": 10635, + "end": 10644, "loc": { "start": { - "line": 227, - "column": 28 + "line": 226, + "column": 51 }, "end": { - "line": 227, - "column": 54 - } - }, - "object": { - "type": "Identifier", - "start": 11604, - "end": 11612, - "loc": { - "start": { - "line": 227, - "column": 28 - }, - "end": { - "line": 227, - "column": 36 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 11613, - "end": 11630, - "loc": { - "start": { - "line": 227, - "column": 37 - }, - "end": { - "line": 227, - "column": 54 - }, - "identifierName": "normalsOctEncoded" + "line": 226, + "column": 60 }, - "name": "normalsOctEncoded" + "identifierName": "numMeshes" }, - "computed": false + "name": "numMeshes" }, - "property": { + "operator": "*", + "right": { "type": "Identifier", - "start": 11631, - "end": 11637, + "start": 10647, + "end": 10670, "loc": { "start": { - "line": 227, - "column": 55 + "line": 226, + "column": 63 }, "end": { - "line": 227, - "column": 61 + "line": 226, + "column": 86 }, - "identifierName": "length" + "identifierName": "NUM_MATERIAL_ATTRIBUTES" }, - "name": "length" + "name": "NUM_MATERIAL_ATTRIBUTES" + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each mesh, the index of its texture set in data.eachTextureSetTextures; this array contains signed integers so that we can use -1 to indicate when a mesh has no texture set", + "start": 10404, + "end": 10583, + "loc": { + "start": { + "line": 225, + "column": 55 }, - "computed": false + "end": { + "line": 225, + "column": 234 + } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 11657, - "end": 11829, - "loc": { - "start": { - "line": 229, - "column": 8 - }, - "end": { - "line": 232, - "column": 9 - } - }, - "test": { - "type": "MemberExpression", - "start": 11661, - "end": 11686, - "loc": { - "start": { - "line": 229, - "column": 12 - }, - "end": { - "line": 229, - "column": 37 - } + ] }, - "object": { - "type": "Identifier", - "start": 11661, - "end": 11669, + { + "type": "ObjectProperty", + "start": 10832, + "end": 10848, "loc": { "start": { - "line": 229, - "column": 12 + "line": 227, + "column": 8 }, "end": { - "line": 229, - "column": 20 + "line": 227, + "column": 24 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10832, + "end": 10844, + "loc": { + "start": { + "line": 227, + "column": 8 + }, + "end": { + "line": 227, + "column": 20 + }, + "identifierName": "eachEntityId" }, - "identifierName": "geometry" + "name": "eachEntityId", + "leadingComments": null }, - "name": "geometry" + "value": { + "type": "ArrayExpression", + "start": 10846, + "end": 10848, + "loc": { + "start": { + "line": 227, + "column": 22 + }, + "end": { + "line": 227, + "column": 24 + } + }, + "elements": [] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each mesh, an RGBA integer color of format [0..255, 0..255, 0..255, 0..255], and PBR metallic and roughness factors, of format [0..255, 0..255]", + "start": 10673, + "end": 10823, + "loc": { + "start": { + "line": 226, + "column": 89 + }, + "end": { + "line": 226, + "column": 239 + } + } + } + ] }, - "property": { - "type": "Identifier", - "start": 11670, - "end": 11686, + { + "type": "ObjectProperty", + "start": 10891, + "end": 10944, "loc": { "start": { - "line": 229, - "column": 21 + "line": 228, + "column": 8 }, "end": { - "line": 229, - "column": 37 - }, - "identifierName": "colorsCompressed" + "line": 228, + "column": 61 + } }, - "name": "colorsCompressed" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 11688, - "end": 11829, - "loc": { - "start": { - "line": 229, - "column": 39 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 10891, + "end": 10914, + "loc": { + "start": { + "line": 228, + "column": 8 + }, + "end": { + "line": 228, + "column": 31 + }, + "identifierName": "eachEntityMeshesPortion" + }, + "name": "eachEntityMeshesPortion", + "leadingComments": null }, - "end": { - "line": 232, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11702, - "end": 11758, + "value": { + "type": "NewExpression", + "start": 10916, + "end": 10944, "loc": { "start": { - "line": 230, - "column": 12 + "line": 228, + "column": 33 }, "end": { - "line": 230, - "column": 68 + "line": 228, + "column": 61 } }, - "expression": { - "type": "CallExpression", - "start": 11702, - "end": 11757, + "callee": { + "type": "Identifier", + "start": 10920, + "end": 10931, "loc": { "start": { - "line": 230, - "column": 12 + "line": 228, + "column": 37 }, "end": { - "line": 230, - "column": 67 - } + "line": 228, + "column": 48 + }, + "identifierName": "Uint32Array" }, - "callee": { - "type": "MemberExpression", - "start": 11702, - "end": 11717, + "name": "Uint32Array" + }, + "arguments": [ + { + "type": "Identifier", + "start": 10932, + "end": 10943, "loc": { "start": { - "line": 230, - "column": 12 + "line": 228, + "column": 49 }, "end": { - "line": 230, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 11702, - "end": 11713, - "loc": { - "start": { - "line": 230, - "column": 12 - }, - "end": { - "line": 230, - "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 11702, - "end": 11706, - "loc": { - "start": { - "line": 230, - "column": 12 - }, - "end": { - "line": 230, - "column": 16 - }, - "identifierName": "data" - }, - "name": "data" + "line": 228, + "column": 60 }, - "property": { - "type": "Identifier", - "start": 11707, - "end": 11713, - "loc": { - "start": { - "line": 230, - "column": 17 - }, - "end": { - "line": 230, - "column": 23 - }, - "identifierName": "colors" - }, - "name": "colors" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11714, - "end": 11717, - "loc": { - "start": { - "line": 230, - "column": 24 - }, - "end": { - "line": 230, - "column": 27 - }, - "identifierName": "set" - }, - "name": "set" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 11718, - "end": 11743, - "loc": { - "start": { - "line": 230, - "column": 28 - }, - "end": { - "line": 230, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 11718, - "end": 11726, - "loc": { - "start": { - "line": 230, - "column": 28 - }, - "end": { - "line": 230, - "column": 36 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 11727, - "end": 11743, - "loc": { - "start": { - "line": 230, - "column": 37 - }, - "end": { - "line": 230, - "column": 53 - }, - "identifierName": "colorsCompressed" - }, - "name": "colorsCompressed" - }, - "computed": false + "identifierName": "numEntities" }, - { - "type": "Identifier", - "start": 11745, - "end": 11756, - "loc": { - "start": { - "line": 230, - "column": 55 - }, - "end": { - "line": 230, - "column": 66 - }, - "identifierName": "countColors" - }, - "name": "countColors" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 11771, - "end": 11819, - "loc": { - "start": { - "line": 231, - "column": 12 - }, - "end": { - "line": 231, - "column": 60 + "name": "numEntities" } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11771, - "end": 11818, + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each entity, an ID string", + "start": 10850, + "end": 10882, "loc": { "start": { - "line": 231, - "column": 12 + "line": 227, + "column": 26 }, "end": { - "line": 231, - "column": 59 + "line": 227, + "column": 58 } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 11771, - "end": 11782, - "loc": { - "start": { - "line": 231, - "column": 12 - }, - "end": { - "line": 231, - "column": 23 - }, - "identifierName": "countColors" - }, - "name": "countColors" - }, - "right": { - "type": "MemberExpression", - "start": 11786, - "end": 11818, - "loc": { - "start": { - "line": 231, - "column": 27 - }, - "end": { - "line": 231, - "column": 59 - } - }, - "object": { - "type": "MemberExpression", - "start": 11786, - "end": 11811, - "loc": { - "start": { - "line": 231, - "column": 27 - }, - "end": { - "line": 231, - "column": 52 - } - }, - "object": { - "type": "Identifier", - "start": 11786, - "end": 11794, - "loc": { - "start": { - "line": 231, - "column": 27 - }, - "end": { - "line": 231, - "column": 35 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 11795, - "end": 11811, - "loc": { - "start": { - "line": 231, - "column": 36 - }, - "end": { - "line": 231, - "column": 52 - }, - "identifierName": "colorsCompressed" - }, - "name": "colorsCompressed" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11812, - "end": 11818, - "loc": { - "start": { - "line": 231, - "column": 53 - }, - "end": { - "line": 231, - "column": 59 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 11838, - "end": 11962, - "loc": { - "start": { - "line": 233, - "column": 8 - }, - "end": { - "line": 236, - "column": 9 - } - }, - "test": { - "type": "MemberExpression", - "start": 11842, - "end": 11854, - "loc": { - "start": { - "line": 233, - "column": 12 - }, - "end": { - "line": 233, - "column": 24 - } + ] }, - "object": { - "type": "Identifier", - "start": 11842, - "end": 11850, + { + "type": "ObjectProperty", + "start": 11034, + "end": 11078, "loc": { "start": { - "line": 233, - "column": 12 + "line": 229, + "column": 8 }, "end": { - "line": 233, - "column": 20 - }, - "identifierName": "geometry" + "line": 229, + "column": 52 + } }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 11851, - "end": 11854, - "loc": { - "start": { - "line": 233, - "column": 21 - }, - "end": { - "line": 233, - "column": 24 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11034, + "end": 11046, + "loc": { + "start": { + "line": 229, + "column": 8 + }, + "end": { + "line": 229, + "column": 20 + }, + "identifierName": "eachTileAABB" }, - "identifierName": "uvs" - }, - "name": "uvs" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 11856, - "end": 11962, - "loc": { - "start": { - "line": 233, - "column": 26 + "name": "eachTileAABB", + "leadingComments": null }, - "end": { - "line": 236, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11870, - "end": 11907, + "value": { + "type": "NewExpression", + "start": 11048, + "end": 11078, "loc": { "start": { - "line": 234, - "column": 12 + "line": 229, + "column": 22 }, "end": { - "line": 234, - "column": 49 + "line": 229, + "column": 52 } }, - "expression": { - "type": "CallExpression", - "start": 11870, - "end": 11906, + "callee": { + "type": "Identifier", + "start": 11052, + "end": 11064, "loc": { "start": { - "line": 234, - "column": 12 + "line": 229, + "column": 26 }, "end": { - "line": 234, - "column": 48 - } + "line": 229, + "column": 38 + }, + "identifierName": "Float64Array" }, - "callee": { - "type": "MemberExpression", - "start": 11870, - "end": 11882, + "name": "Float64Array" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 11065, + "end": 11077, "loc": { "start": { - "line": 234, - "column": 12 + "line": 229, + "column": 39 }, "end": { - "line": 234, - "column": 24 + "line": 229, + "column": 51 } }, - "object": { - "type": "MemberExpression", - "start": 11870, - "end": 11878, - "loc": { - "start": { - "line": 234, - "column": 12 - }, - "end": { - "line": 234, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 11870, - "end": 11874, - "loc": { - "start": { - "line": 234, - "column": 12 - }, - "end": { - "line": 234, - "column": 16 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 11875, - "end": 11878, - "loc": { - "start": { - "line": 234, - "column": 17 - }, - "end": { - "line": 234, - "column": 20 - }, - "identifierName": "uvs" - }, - "name": "uvs" - }, - "computed": false - }, - "property": { + "left": { "type": "Identifier", - "start": 11879, - "end": 11882, + "start": 11065, + "end": 11073, "loc": { "start": { - "line": 234, - "column": 21 + "line": 229, + "column": 39 }, "end": { - "line": 234, - "column": 24 + "line": 229, + "column": 47 }, - "identifierName": "set" + "identifierName": "numTiles" }, - "name": "set" + "name": "numTiles" }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 11883, - "end": 11895, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 11076, + "end": 11077, "loc": { "start": { - "line": 234, - "column": 25 + "line": 229, + "column": 50 }, "end": { - "line": 234, - "column": 37 + "line": 229, + "column": 51 } }, - "object": { - "type": "Identifier", - "start": 11883, - "end": 11891, - "loc": { - "start": { - "line": 234, - "column": 25 - }, - "end": { - "line": 234, - "column": 33 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 11892, - "end": 11895, - "loc": { - "start": { - "line": 234, - "column": 34 - }, - "end": { - "line": 234, - "column": 37 - }, - "identifierName": "uvs" - }, - "name": "uvs" + "extra": { + "rawValue": 6, + "raw": "6" }, - "computed": false + "value": 6 + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each entity, the index of the first element of meshes used by the entity", + "start": 10946, + "end": 11025, + "loc": { + "start": { + "line": 228, + "column": 63 }, - { - "type": "Identifier", - "start": 11897, - "end": 11905, - "loc": { - "start": { - "line": 234, - "column": 39 - }, - "end": { - "line": 234, - "column": 47 - }, - "identifierName": "countUVs" - }, - "name": "countUVs" + "end": { + "line": 228, + "column": 142 } - ] + } + } + ] + }, + { + "type": "ObjectProperty", + "start": 11135, + "end": 11185, + "loc": { + "start": { + "line": 230, + "column": 8 + }, + "end": { + "line": 230, + "column": 58 } }, - { - "type": "ExpressionStatement", - "start": 11920, - "end": 11952, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11135, + "end": 11158, "loc": { "start": { - "line": 235, - "column": 12 + "line": 230, + "column": 8 }, "end": { - "line": 235, - "column": 44 + "line": 230, + "column": 31 + }, + "identifierName": "eachTileEntitiesPortion" + }, + "name": "eachTileEntitiesPortion", + "leadingComments": null + }, + "value": { + "type": "NewExpression", + "start": 11160, + "end": 11185, + "loc": { + "start": { + "line": 230, + "column": 33 + }, + "end": { + "line": 230, + "column": 58 } }, - "expression": { - "type": "AssignmentExpression", - "start": 11920, - "end": 11951, + "callee": { + "type": "Identifier", + "start": 11164, + "end": 11175, "loc": { "start": { - "line": 235, - "column": 12 + "line": 230, + "column": 37 }, "end": { - "line": 235, - "column": 43 - } + "line": 230, + "column": 48 + }, + "identifierName": "Uint32Array" }, - "operator": "+=", - "left": { + "name": "Uint32Array" + }, + "arguments": [ + { "type": "Identifier", - "start": 11920, - "end": 11928, + "start": 11176, + "end": 11184, "loc": { "start": { - "line": 235, - "column": 12 + "line": 230, + "column": 49 }, "end": { - "line": 235, - "column": 20 + "line": 230, + "column": 57 }, - "identifierName": "countUVs" + "identifierName": "numTiles" }, - "name": "countUVs" - }, - "right": { - "type": "MemberExpression", - "start": 11932, - "end": 11951, - "loc": { - "start": { - "line": 235, - "column": 24 - }, - "end": { - "line": 235, - "column": 43 - } + "name": "numTiles" + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For each tile, an axis-aligned bounding box", + "start": 11080, + "end": 11126, + "loc": { + "start": { + "line": 229, + "column": 54 }, - "object": { - "type": "MemberExpression", - "start": 11932, - "end": 11944, - "loc": { - "start": { - "line": 235, - "column": 24 - }, - "end": { - "line": 235, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 11932, - "end": 11940, - "loc": { - "start": { - "line": 235, - "column": 24 - }, - "end": { - "line": 235, - "column": 32 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 11941, - "end": 11944, - "loc": { - "start": { - "line": 235, - "column": 33 - }, - "end": { - "line": 235, - "column": 36 - }, - "identifierName": "uvs" - }, - "name": "uvs" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11945, - "end": 11951, - "loc": { - "start": { - "line": 235, - "column": 37 - }, - "end": { - "line": 235, - "column": 43 - }, - "identifierName": "length" - }, - "name": "length" + "end": { + "line": 229, + "column": 100 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " For each tile, the index of the first element of eachEntityId, eachEntityMeshesPortion and eachEntityMatricesPortion used by the tile", + "start": 11186, + "end": 11322, + "loc": { + "start": { + "line": 230, + "column": 59 }, - "computed": false + "end": { + "line": 230, + "column": 195 + } } } - } - ], - "directives": [] + ] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 11335, + "end": 11358, + "loc": { + "start": { + "line": 233, + "column": 4 + }, + "end": { + "line": 233, + "column": 27 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 11339, + "end": 11357, + "loc": { + "start": { + "line": 233, + "column": 8 }, - "alternate": null + "end": { + "line": 233, + "column": 26 + } }, - { - "type": "IfStatement", - "start": 11971, - "end": 12119, + "id": { + "type": "Identifier", + "start": 11339, + "end": 11353, + "loc": { + "start": { + "line": 233, + "column": 8 + }, + "end": { + "line": 233, + "column": 22 + }, + "identifierName": "countPositions" + }, + "name": "countPositions" + }, + "init": { + "type": "NumericLiteral", + "start": 11356, + "end": 11357, + "loc": { + "start": { + "line": 233, + "column": 25 + }, + "end": { + "line": 233, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 11363, + "end": 11384, + "loc": { + "start": { + "line": 234, + "column": 4 + }, + "end": { + "line": 234, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 11367, + "end": 11383, + "loc": { + "start": { + "line": 234, + "column": 8 + }, + "end": { + "line": 234, + "column": 24 + } + }, + "id": { + "type": "Identifier", + "start": 11367, + "end": 11379, + "loc": { + "start": { + "line": 234, + "column": 8 + }, + "end": { + "line": 234, + "column": 20 + }, + "identifierName": "countNormals" + }, + "name": "countNormals" + }, + "init": { + "type": "NumericLiteral", + "start": 11382, + "end": 11383, + "loc": { + "start": { + "line": 234, + "column": 23 + }, + "end": { + "line": 234, + "column": 24 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 11389, + "end": 11409, + "loc": { + "start": { + "line": 235, + "column": 4 + }, + "end": { + "line": 235, + "column": 24 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 11393, + "end": 11408, + "loc": { + "start": { + "line": 235, + "column": 8 + }, + "end": { + "line": 235, + "column": 23 + } + }, + "id": { + "type": "Identifier", + "start": 11393, + "end": 11404, + "loc": { + "start": { + "line": 235, + "column": 8 + }, + "end": { + "line": 235, + "column": 19 + }, + "identifierName": "countColors" + }, + "name": "countColors" + }, + "init": { + "type": "NumericLiteral", + "start": 11407, + "end": 11408, + "loc": { + "start": { + "line": 235, + "column": 22 + }, + "end": { + "line": 235, + "column": 23 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 11414, + "end": 11431, + "loc": { + "start": { + "line": 236, + "column": 4 + }, + "end": { + "line": 236, + "column": 21 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 11418, + "end": 11430, + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 20 + } + }, + "id": { + "type": "Identifier", + "start": 11418, + "end": 11426, + "loc": { + "start": { + "line": 236, + "column": 8 + }, + "end": { + "line": 236, + "column": 16 + }, + "identifierName": "countUVs" + }, + "name": "countUVs" + }, + "init": { + "type": "NumericLiteral", + "start": 11429, + "end": 11430, + "loc": { + "start": { + "line": 236, + "column": 19 + }, + "end": { + "line": 236, + "column": 20 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 11436, + "end": 11457, + "loc": { + "start": { + "line": 237, + "column": 4 + }, + "end": { + "line": 237, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 11440, + "end": 11456, + "loc": { + "start": { + "line": 237, + "column": 8 + }, + "end": { + "line": 237, + "column": 24 + } + }, + "id": { + "type": "Identifier", + "start": 11440, + "end": 11452, "loc": { "start": { "line": 237, "column": 8 }, "end": { - "line": 240, - "column": 9 + "line": 237, + "column": 20 + }, + "identifierName": "countIndices" + }, + "name": "countIndices" + }, + "init": { + "type": "NumericLiteral", + "start": 11455, + "end": 11456, + "loc": { + "start": { + "line": 237, + "column": 23 + }, + "end": { + "line": 237, + "column": 24 } }, - "test": { - "type": "MemberExpression", - "start": 11975, - "end": 11991, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 11462, + "end": 11487, + "loc": { + "start": { + "line": 238, + "column": 4 + }, + "end": { + "line": 238, + "column": 29 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 11466, + "end": 11486, + "loc": { + "start": { + "line": 238, + "column": 8 + }, + "end": { + "line": 238, + "column": 28 + } + }, + "id": { + "type": "Identifier", + "start": 11466, + "end": 11482, + "loc": { + "start": { + "line": 238, + "column": 8 + }, + "end": { + "line": 238, + "column": 24 + }, + "identifierName": "countEdgeIndices" + }, + "name": "countEdgeIndices" + }, + "init": { + "type": "NumericLiteral", + "start": 11485, + "end": 11486, + "loc": { + "start": { + "line": 238, + "column": 27 + }, + "end": { + "line": 238, + "column": 28 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let", + "trailingComments": [ + { + "type": "CommentLine", + "value": " Metadata", + "start": 11493, + "end": 11504, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 15 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 11510, + "end": 11858, + "loc": { + "start": { + "line": 242, + "column": 4 + }, + "end": { + "line": 252, + "column": 6 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 11510, + "end": 11857, + "loc": { + "start": { + "line": 242, + "column": 4 + }, + "end": { + "line": 252, + "column": 5 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 11510, + "end": 11523, + "loc": { + "start": { + "line": 242, + "column": 4 + }, + "end": { + "line": 242, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 11510, + "end": 11514, + "loc": { + "start": { + "line": 242, + "column": 4 + }, + "end": { + "line": 242, + "column": 8 + }, + "identifierName": "data" + }, + "name": "data", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 11515, + "end": 11523, + "loc": { + "start": { + "line": 242, + "column": 9 + }, + "end": { + "line": 242, + "column": 17 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 11526, + "end": 11857, + "loc": { + "start": { + "line": 242, + "column": 20 + }, + "end": { + "line": 252, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 11536, + "end": 11556, "loc": { "start": { - "line": 237, - "column": 12 + "line": 243, + "column": 8 }, "end": { - "line": 237, + "line": 243, "column": 28 } }, - "object": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 11975, - "end": 11983, + "start": 11536, + "end": 11538, "loc": { "start": { - "line": 237, - "column": 12 + "line": 243, + "column": 8 }, "end": { - "line": 237, - "column": 20 + "line": 243, + "column": 10 }, - "identifierName": "geometry" + "identifierName": "id" }, - "name": "geometry" + "name": "id" }, - "property": { - "type": "Identifier", - "start": 11984, - "end": 11991, + "value": { + "type": "MemberExpression", + "start": 11540, + "end": 11556, "loc": { "start": { - "line": 237, - "column": 21 + "line": 243, + "column": 12 }, "end": { - "line": 237, + "line": 243, "column": 28 - }, - "identifierName": "indices" + } }, - "name": "indices" - }, - "computed": false + "object": { + "type": "Identifier", + "start": 11540, + "end": 11548, + "loc": { + "start": { + "line": 243, + "column": 12 + }, + "end": { + "line": 243, + "column": 20 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 11549, + "end": 11556, + "loc": { + "start": { + "line": 243, + "column": 21 + }, + "end": { + "line": 243, + "column": 28 + }, + "identifierName": "modelId" + }, + "name": "modelId" + }, + "computed": false + } }, - "consequent": { - "type": "BlockStatement", - "start": 11993, - "end": 12119, + { + "type": "ObjectProperty", + "start": 11566, + "end": 11595, "loc": { "start": { - "line": 237, - "column": 30 + "line": 244, + "column": 8 }, "end": { - "line": 240, - "column": 9 + "line": 244, + "column": 37 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12007, - "end": 12056, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11566, + "end": 11575, + "loc": { + "start": { + "line": 244, + "column": 8 + }, + "end": { + "line": 244, + "column": 17 + }, + "identifierName": "projectId" + }, + "name": "projectId" + }, + "value": { + "type": "MemberExpression", + "start": 11577, + "end": 11595, + "loc": { + "start": { + "line": 244, + "column": 19 + }, + "end": { + "line": 244, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 11577, + "end": 11585, "loc": { "start": { - "line": 238, - "column": 12 + "line": 244, + "column": 19 }, "end": { - "line": 238, - "column": 61 - } + "line": 244, + "column": 27 + }, + "identifierName": "xktModel" }, - "expression": { - "type": "CallExpression", - "start": 12007, - "end": 12055, - "loc": { - "start": { - "line": 238, - "column": 12 - }, - "end": { - "line": 238, - "column": 60 - } + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 11586, + "end": 11595, + "loc": { + "start": { + "line": 244, + "column": 28 }, - "callee": { - "type": "MemberExpression", - "start": 12007, - "end": 12023, - "loc": { - "start": { - "line": 238, - "column": 12 - }, - "end": { - "line": 238, - "column": 28 - } - }, - "object": { - "type": "MemberExpression", - "start": 12007, - "end": 12019, - "loc": { - "start": { - "line": 238, - "column": 12 - }, - "end": { - "line": 238, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 12007, - "end": 12011, - "loc": { - "start": { - "line": 238, - "column": 12 - }, - "end": { - "line": 238, - "column": 16 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 12012, - "end": 12019, - "loc": { - "start": { - "line": 238, - "column": 17 - }, - "end": { - "line": 238, - "column": 24 - }, - "identifierName": "indices" - }, - "name": "indices" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12020, - "end": 12023, - "loc": { - "start": { - "line": 238, - "column": 25 - }, - "end": { - "line": 238, - "column": 28 - }, - "identifierName": "set" - }, - "name": "set" - }, - "computed": false + "end": { + "line": 244, + "column": 37 }, - "arguments": [ - { - "type": "MemberExpression", - "start": 12024, - "end": 12040, - "loc": { - "start": { - "line": 238, - "column": 29 - }, - "end": { - "line": 238, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 12024, - "end": 12032, - "loc": { - "start": { - "line": 238, - "column": 29 - }, - "end": { - "line": 238, - "column": 37 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 12033, - "end": 12040, - "loc": { - "start": { - "line": 238, - "column": 38 - }, - "end": { - "line": 238, - "column": 45 - }, - "identifierName": "indices" - }, - "name": "indices" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 12042, - "end": 12054, - "loc": { - "start": { - "line": 238, - "column": 47 - }, - "end": { - "line": 238, - "column": 59 - }, - "identifierName": "countIndices" - }, - "name": "countIndices" - } - ] + "identifierName": "projectId" + }, + "name": "projectId" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 11605, + "end": 11636, + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 39 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11605, + "end": 11615, + "loc": { + "start": { + "line": 245, + "column": 8 + }, + "end": { + "line": 245, + "column": 18 + }, + "identifierName": "revisionId" + }, + "name": "revisionId" + }, + "value": { + "type": "MemberExpression", + "start": 11617, + "end": 11636, + "loc": { + "start": { + "line": 245, + "column": 20 + }, + "end": { + "line": 245, + "column": 39 } }, - { - "type": "ExpressionStatement", - "start": 12069, - "end": 12109, + "object": { + "type": "Identifier", + "start": 11617, + "end": 11625, "loc": { "start": { - "line": 239, - "column": 12 + "line": 245, + "column": 20 }, "end": { - "line": 239, - "column": 52 - } + "line": 245, + "column": 28 + }, + "identifierName": "xktModel" }, - "expression": { - "type": "AssignmentExpression", - "start": 12069, - "end": 12108, - "loc": { - "start": { - "line": 239, - "column": 12 - }, - "end": { - "line": 239, - "column": 51 - } + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 11626, + "end": 11636, + "loc": { + "start": { + "line": 245, + "column": 29 }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 12069, - "end": 12081, - "loc": { - "start": { - "line": 239, - "column": 12 - }, - "end": { - "line": 239, - "column": 24 - }, - "identifierName": "countIndices" - }, - "name": "countIndices" + "end": { + "line": 245, + "column": 39 }, - "right": { - "type": "MemberExpression", - "start": 12085, - "end": 12108, - "loc": { - "start": { - "line": 239, - "column": 28 - }, - "end": { - "line": 239, - "column": 51 - } - }, - "object": { - "type": "MemberExpression", - "start": 12085, - "end": 12101, - "loc": { - "start": { - "line": 239, - "column": 28 - }, - "end": { - "line": 239, - "column": 44 - } - }, - "object": { - "type": "Identifier", - "start": 12085, - "end": 12093, - "loc": { - "start": { - "line": 239, - "column": 28 - }, - "end": { - "line": 239, - "column": 36 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 12094, - "end": 12101, - "loc": { - "start": { - "line": 239, - "column": 37 - }, - "end": { - "line": 239, - "column": 44 - }, - "identifierName": "indices" - }, - "name": "indices" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12102, - "end": 12108, - "loc": { - "start": { - "line": 239, - "column": 45 - }, - "end": { - "line": 239, - "column": 51 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 12128, - "end": 12300, - "loc": { - "start": { - "line": 241, - "column": 8 - }, - "end": { - "line": 244, - "column": 9 + "identifierName": "revisionId" + }, + "name": "revisionId" + }, + "computed": false } }, - "test": { - "type": "MemberExpression", - "start": 12132, - "end": 12152, + { + "type": "ObjectProperty", + "start": 11646, + "end": 11669, "loc": { "start": { - "line": 241, - "column": 12 + "line": 246, + "column": 8 }, "end": { - "line": 241, - "column": 32 + "line": 246, + "column": 31 } }, - "object": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 12132, - "end": 12140, + "start": 11646, + "end": 11652, "loc": { "start": { - "line": 241, - "column": 12 + "line": 246, + "column": 8 }, "end": { - "line": 241, - "column": 20 + "line": 246, + "column": 14 }, - "identifierName": "geometry" + "identifierName": "author" }, - "name": "geometry" + "name": "author" }, - "property": { - "type": "Identifier", - "start": 12141, - "end": 12152, + "value": { + "type": "MemberExpression", + "start": 11654, + "end": 11669, "loc": { "start": { - "line": 241, - "column": 21 + "line": 246, + "column": 16 }, "end": { - "line": 241, - "column": 32 + "line": 246, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 11654, + "end": 11662, + "loc": { + "start": { + "line": 246, + "column": 16 + }, + "end": { + "line": 246, + "column": 24 + }, + "identifierName": "xktModel" }, - "identifierName": "edgeIndices" + "name": "xktModel" }, - "name": "edgeIndices" - }, - "computed": false + "property": { + "type": "Identifier", + "start": 11663, + "end": 11669, + "loc": { + "start": { + "line": 246, + "column": 25 + }, + "end": { + "line": 246, + "column": 31 + }, + "identifierName": "author" + }, + "name": "author" + }, + "computed": false + } }, - "consequent": { - "type": "BlockStatement", - "start": 12154, - "end": 12300, + { + "type": "ObjectProperty", + "start": 11679, + "end": 11708, "loc": { "start": { - "line": 241, - "column": 34 + "line": 247, + "column": 8 }, "end": { - "line": 244, - "column": 9 + "line": 247, + "column": 37 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12168, - "end": 12229, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11679, + "end": 11688, + "loc": { + "start": { + "line": 247, + "column": 8 + }, + "end": { + "line": 247, + "column": 17 + }, + "identifierName": "createdAt" + }, + "name": "createdAt" + }, + "value": { + "type": "MemberExpression", + "start": 11690, + "end": 11708, + "loc": { + "start": { + "line": 247, + "column": 19 + }, + "end": { + "line": 247, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 11690, + "end": 11698, "loc": { "start": { - "line": 242, - "column": 12 + "line": 247, + "column": 19 }, "end": { - "line": 242, - "column": 73 - } + "line": 247, + "column": 27 + }, + "identifierName": "xktModel" }, - "expression": { - "type": "CallExpression", - "start": 12168, - "end": 12228, - "loc": { - "start": { - "line": 242, - "column": 12 - }, - "end": { - "line": 242, - "column": 72 - } + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 11699, + "end": 11708, + "loc": { + "start": { + "line": 247, + "column": 28 }, - "callee": { - "type": "MemberExpression", - "start": 12168, - "end": 12188, - "loc": { - "start": { - "line": 242, - "column": 12 - }, - "end": { - "line": 242, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 12168, - "end": 12184, - "loc": { - "start": { - "line": 242, - "column": 12 - }, - "end": { - "line": 242, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 12168, - "end": 12172, - "loc": { - "start": { - "line": 242, - "column": 12 - }, - "end": { - "line": 242, - "column": 16 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 12173, - "end": 12184, - "loc": { - "start": { - "line": 242, - "column": 17 - }, - "end": { - "line": 242, - "column": 28 - }, - "identifierName": "edgeIndices" - }, - "name": "edgeIndices" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12185, - "end": 12188, - "loc": { - "start": { - "line": 242, - "column": 29 - }, - "end": { - "line": 242, - "column": 32 - }, - "identifierName": "set" - }, - "name": "set" - }, - "computed": false + "end": { + "line": 247, + "column": 37 }, - "arguments": [ - { - "type": "MemberExpression", - "start": 12189, - "end": 12209, - "loc": { - "start": { - "line": 242, - "column": 33 - }, - "end": { - "line": 242, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 12189, - "end": 12197, - "loc": { - "start": { - "line": 242, - "column": 33 - }, - "end": { - "line": 242, - "column": 41 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 12198, - "end": 12209, - "loc": { - "start": { - "line": 242, - "column": 42 - }, - "end": { - "line": 242, - "column": 53 - }, - "identifierName": "edgeIndices" - }, - "name": "edgeIndices" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 12211, - "end": 12227, - "loc": { - "start": { - "line": 242, - "column": 55 - }, - "end": { - "line": 242, - "column": 71 - }, - "identifierName": "countEdgeIndices" - }, - "name": "countEdgeIndices" - } - ] + "identifierName": "createdAt" + }, + "name": "createdAt" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 11718, + "end": 11767, + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 57 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11718, + "end": 11737, + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 27 + }, + "identifierName": "creatingApplication" + }, + "name": "creatingApplication" + }, + "value": { + "type": "MemberExpression", + "start": 11739, + "end": 11767, + "loc": { + "start": { + "line": 248, + "column": 29 + }, + "end": { + "line": 248, + "column": 57 } }, - { - "type": "ExpressionStatement", - "start": 12242, - "end": 12290, + "object": { + "type": "Identifier", + "start": 11739, + "end": 11747, "loc": { "start": { - "line": 243, - "column": 12 + "line": 248, + "column": 29 }, "end": { - "line": 243, - "column": 60 - } + "line": 248, + "column": 37 + }, + "identifierName": "xktModel" }, - "expression": { - "type": "AssignmentExpression", - "start": 12242, - "end": 12289, - "loc": { - "start": { - "line": 243, - "column": 12 - }, - "end": { - "line": 243, - "column": 59 - } + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 11748, + "end": 11767, + "loc": { + "start": { + "line": 248, + "column": 38 }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 12242, - "end": 12258, - "loc": { - "start": { - "line": 243, - "column": 12 - }, - "end": { - "line": 243, - "column": 28 - }, - "identifierName": "countEdgeIndices" - }, - "name": "countEdgeIndices" + "end": { + "line": 248, + "column": 57 }, - "right": { - "type": "MemberExpression", - "start": 12262, - "end": 12289, - "loc": { - "start": { - "line": 243, - "column": 32 - }, - "end": { - "line": 243, - "column": 59 - } - }, - "object": { - "type": "MemberExpression", - "start": 12262, - "end": 12282, - "loc": { - "start": { - "line": 243, - "column": 32 - }, - "end": { - "line": 243, - "column": 52 - } - }, - "object": { - "type": "Identifier", - "start": 12262, - "end": 12270, - "loc": { - "start": { - "line": 243, - "column": 32 - }, - "end": { - "line": 243, - "column": 40 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 12271, - "end": 12282, - "loc": { - "start": { - "line": 243, - "column": 41 - }, - "end": { - "line": 243, - "column": 52 - }, - "identifierName": "edgeIndices" - }, - "name": "edgeIndices" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12283, - "end": 12289, - "loc": { - "start": { - "line": 243, - "column": 53 - }, - "end": { - "line": 243, - "column": 59 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } + "identifierName": "creatingApplication" + }, + "name": "creatingApplication" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 11777, + "end": 11800, + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 249, + "column": 31 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11777, + "end": 11783, + "loc": { + "start": { + "line": 249, + "column": 8 + }, + "end": { + "line": 249, + "column": 14 + }, + "identifierName": "schema" + }, + "name": "schema" + }, + "value": { + "type": "MemberExpression", + "start": 11785, + "end": 11800, + "loc": { + "start": { + "line": 249, + "column": 16 + }, + "end": { + "line": 249, + "column": 31 } + }, + "object": { + "type": "Identifier", + "start": 11785, + "end": 11793, + "loc": { + "start": { + "line": 249, + "column": 16 + }, + "end": { + "line": 249, + "column": 24 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 11794, + "end": 11800, + "loc": { + "start": { + "line": 249, + "column": 25 + }, + "end": { + "line": 249, + "column": 31 + }, + "identifierName": "schema" + }, + "name": "schema" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 11810, + "end": 11826, + "loc": { + "start": { + "line": 250, + "column": 8 + }, + "end": { + "line": 250, + "column": 24 } - ], - "directives": [] + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11810, + "end": 11822, + "loc": { + "start": { + "line": 250, + "column": 8 + }, + "end": { + "line": 250, + "column": 20 + }, + "identifierName": "propertySets" + }, + "name": "propertySets" + }, + "value": { + "type": "ArrayExpression", + "start": 11824, + "end": 11826, + "loc": { + "start": { + "line": 250, + "column": 22 + }, + "end": { + "line": 250, + "column": 24 + } + }, + "elements": [] + } }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null + { + "type": "ObjectProperty", + "start": 11836, + "end": 11851, + "loc": { + "start": { + "line": 251, + "column": 8 + }, + "end": { + "line": 251, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 11836, + "end": 11847, + "loc": { + "start": { + "line": 251, + "column": 8 + }, + "end": { + "line": 251, + "column": 19 + }, + "identifierName": "metaObjects" + }, + "name": "metaObjects" + }, + "value": { + "type": "ArrayExpression", + "start": 11849, + "end": 11851, + "loc": { + "start": { + "line": 251, + "column": 21 + }, + "end": { + "line": 251, + "column": 23 + } + }, + "elements": [] + } + } + ] + }, + "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", - "value": " Geometries", - "start": 9887, - "end": 9900, + "value": " Metadata", + "start": 11493, + "end": 11504, "loc": { "start": { - "line": 186, + "line": 240, "column": 4 }, "end": { - "line": 186, - "column": 17 + "line": 240, + "column": 15 } } } @@ -17913,17 +18178,17 @@ "trailingComments": [ { "type": "CommentLine", - "value": " Textures", - "start": 12312, - "end": 12323, + "value": " Property sets", + "start": 11864, + "end": 11880, "loc": { "start": { - "line": 247, + "line": 254, "column": 4 }, "end": { - "line": 247, - "column": 15 + "line": 254, + "column": 20 } } } @@ -17931,77 +18196,77 @@ }, { "type": "ForStatement", - "start": 12329, - "end": 13907, + "start": 11886, + "end": 12340, "loc": { "start": { - "line": 249, + "line": 256, "column": 4 }, "end": { - "line": 267, + "line": 265, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 12334, - "end": 12414, + "start": 11891, + "end": 11916, "loc": { "start": { - "line": 249, + "line": 256, "column": 9 }, "end": { - "line": 249, - "column": 89 + "line": 256, + "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12338, - "end": 12354, + "start": 11895, + "end": 11916, "loc": { "start": { - "line": 249, + "line": 256, "column": 13 }, "end": { - "line": 249, - "column": 29 + "line": 256, + "column": 34 } }, "id": { "type": "Identifier", - "start": 12338, - "end": 12350, + "start": 11895, + "end": 11912, "loc": { "start": { - "line": 249, + "line": 256, "column": 13 }, "end": { - "line": 249, - "column": 25 + "line": 256, + "column": 30 }, - "identifierName": "textureIndex" + "identifierName": "propertySetsIndex" }, - "name": "textureIndex", + "name": "propertySetsIndex", "leadingComments": null }, "init": { "type": "NumericLiteral", - "start": 12353, - "end": 12354, + "start": 11915, + "end": 11916, "loc": { "start": { - "line": 249, - "column": 28 + "line": 256, + "column": 33 }, "end": { - "line": 249, - "column": 29 + "line": 256, + "column": 34 } }, "extra": { @@ -18011,403 +18276,203 @@ "value": 0 }, "leadingComments": null + } + ], + "kind": "let", + "leadingComments": null + }, + "test": { + "type": "BinaryExpression", + "start": 11918, + "end": 11953, + "loc": { + "start": { + "line": 256, + "column": 36 }, - { - "type": "VariableDeclarator", - "start": 12356, - "end": 12398, - "loc": { - "start": { - "line": 249, - "column": 31 - }, - "end": { - "line": 249, - "column": 73 - } + "end": { + "line": 256, + "column": 71 + } + }, + "left": { + "type": "Identifier", + "start": 11918, + "end": 11935, + "loc": { + "start": { + "line": 256, + "column": 36 }, - "id": { - "type": "Identifier", - "start": 12356, - "end": 12367, - "loc": { - "start": { - "line": 249, - "column": 31 - }, - "end": { - "line": 249, - "column": 42 - }, - "identifierName": "numTextures" - }, - "name": "numTextures" + "end": { + "line": 256, + "column": 53 }, - "init": { - "type": "MemberExpression", - "start": 12370, - "end": 12398, - "loc": { - "start": { - "line": 249, - "column": 45 - }, - "end": { - "line": 249, - "column": 73 - } - }, - "object": { - "type": "MemberExpression", - "start": 12370, - "end": 12391, - "loc": { - "start": { - "line": 249, - "column": 45 - }, - "end": { - "line": 249, - "column": 66 - } - }, - "object": { - "type": "Identifier", - "start": 12370, - "end": 12378, - "loc": { - "start": { - "line": 249, - "column": 45 - }, - "end": { - "line": 249, - "column": 53 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 12379, - "end": 12391, - "loc": { - "start": { - "line": 249, - "column": 54 - }, - "end": { - "line": 249, - "column": 66 - }, - "identifierName": "texturesList" - }, - "name": "texturesList" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12392, - "end": 12398, - "loc": { - "start": { - "line": 249, - "column": 67 - }, - "end": { - "line": 249, - "column": 73 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - }, - { - "type": "VariableDeclarator", - "start": 12400, - "end": 12414, - "loc": { - "start": { - "line": 249, - "column": 75 - }, - "end": { - "line": 249, - "column": 89 - } - }, - "id": { - "type": "Identifier", - "start": 12400, - "end": 12410, - "loc": { - "start": { - "line": 249, - "column": 75 - }, - "end": { - "line": 249, - "column": 85 - }, - "identifierName": "portionIdx" - }, - "name": "portionIdx" - }, - "init": { - "type": "NumericLiteral", - "start": 12413, - "end": 12414, - "loc": { - "start": { - "line": 249, - "column": 88 - }, - "end": { - "line": 249, - "column": 89 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let", - "leadingComments": null - }, - "test": { - "type": "BinaryExpression", - "start": 12416, - "end": 12442, - "loc": { - "start": { - "line": 249, - "column": 91 - }, - "end": { - "line": 249, - "column": 117 - } - }, - "left": { - "type": "Identifier", - "start": 12416, - "end": 12428, - "loc": { - "start": { - "line": 249, - "column": 91 - }, - "end": { - "line": 249, - "column": 103 - }, - "identifierName": "textureIndex" + "identifierName": "propertySetsIndex" }, - "name": "textureIndex" + "name": "propertySetsIndex" }, "operator": "<", "right": { "type": "Identifier", - "start": 12431, - "end": 12442, + "start": 11938, + "end": 11953, "loc": { "start": { - "line": 249, - "column": 106 + "line": 256, + "column": 56 }, "end": { - "line": 249, - "column": 117 + "line": 256, + "column": 71 }, - "identifierName": "numTextures" + "identifierName": "numPropertySets" }, - "name": "numTextures" + "name": "numPropertySets" } }, "update": { "type": "UpdateExpression", - "start": 12444, - "end": 12458, + "start": 11955, + "end": 11974, "loc": { "start": { - "line": 249, - "column": 119 + "line": 256, + "column": 73 }, "end": { - "line": 249, - "column": 133 + "line": 256, + "column": 92 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", - "start": 12444, - "end": 12456, + "start": 11955, + "end": 11972, "loc": { "start": { - "line": 249, - "column": 119 + "line": 256, + "column": 73 }, "end": { - "line": 249, - "column": 131 + "line": 256, + "column": 90 }, - "identifierName": "textureIndex" + "identifierName": "propertySetsIndex" }, - "name": "textureIndex" + "name": "propertySetsIndex" } }, "body": { "type": "BlockStatement", - "start": 12460, - "end": 13907, + "start": 11976, + "end": 12340, "loc": { "start": { - "line": 249, - "column": 135 + "line": 256, + "column": 94 }, "end": { - "line": 267, + "line": 265, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 12470, - "end": 12525, + "start": 11986, + "end": 12042, "loc": { "start": { - "line": 250, + "line": 257, "column": 8 }, "end": { - "line": 250, - "column": 63 + "line": 257, + "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12476, - "end": 12524, + "start": 11992, + "end": 12041, "loc": { "start": { - "line": 250, + "line": 257, "column": 14 }, "end": { - "line": 250, - "column": 62 + "line": 257, + "column": 63 } }, "id": { "type": "Identifier", - "start": 12476, - "end": 12486, + "start": 11992, + "end": 12003, "loc": { "start": { - "line": 250, + "line": 257, "column": 14 }, "end": { - "line": 250, - "column": 24 + "line": 257, + "column": 25 }, - "identifierName": "xktTexture" + "identifierName": "propertySet" }, - "name": "xktTexture" + "name": "propertySet" }, "init": { "type": "MemberExpression", - "start": 12489, - "end": 12524, + "start": 12006, + "end": 12041, "loc": { "start": { - "line": 250, - "column": 27 + "line": 257, + "column": 28 }, "end": { - "line": 250, - "column": 62 + "line": 257, + "column": 63 } }, "object": { - "type": "MemberExpression", - "start": 12489, - "end": 12510, + "type": "Identifier", + "start": 12006, + "end": 12022, "loc": { "start": { - "line": 250, - "column": 27 + "line": 257, + "column": 28 }, "end": { - "line": 250, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 12489, - "end": 12497, - "loc": { - "start": { - "line": 250, - "column": 27 - }, - "end": { - "line": 250, - "column": 35 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 12498, - "end": 12510, - "loc": { - "start": { - "line": 250, - "column": 36 - }, - "end": { - "line": 250, - "column": 48 - }, - "identifierName": "texturesList" + "line": 257, + "column": 44 }, - "name": "texturesList" + "identifierName": "propertySetsList" }, - "computed": false + "name": "propertySetsList" }, "property": { "type": "Identifier", - "start": 12511, - "end": 12523, + "start": 12023, + "end": 12040, "loc": { "start": { - "line": 250, - "column": 49 + "line": 257, + "column": 45 }, "end": { - "line": 250, - "column": 61 + "line": 257, + "column": 62 }, - "identifierName": "textureIndex" + "identifierName": "propertySetsIndex" }, - "name": "textureIndex" + "name": "propertySetsIndex" }, "computed": true } @@ -18417,3046 +18482,4467 @@ }, { "type": "VariableDeclaration", - "start": 12534, - "end": 12573, + "start": 12051, + "end": 12276, "loc": { "start": { - "line": 251, + "line": 258, "column": 8 }, "end": { - "line": 251, - "column": 47 + "line": 263, + "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12540, - "end": 12572, + "start": 12057, + "end": 12275, "loc": { "start": { - "line": 251, + "line": 258, "column": 14 }, "end": { - "line": 251, - "column": 46 + "line": 263, + "column": 9 } }, "id": { "type": "Identifier", - "start": 12540, - "end": 12549, + "start": 12057, + "end": 12072, "loc": { "start": { - "line": 251, + "line": 258, "column": 14 }, "end": { - "line": 251, - "column": 23 + "line": 258, + "column": 29 }, - "identifierName": "imageData" + "identifierName": "propertySetJSON" }, - "name": "imageData" + "name": "propertySetJSON" }, "init": { - "type": "MemberExpression", - "start": 12552, - "end": 12572, + "type": "ObjectExpression", + "start": 12075, + "end": 12275, "loc": { "start": { - "line": 251, - "column": 26 + "line": 258, + "column": 32 }, "end": { - "line": 251, - "column": 46 + "line": 263, + "column": 9 } }, - "object": { - "type": "Identifier", - "start": 12552, - "end": 12562, - "loc": { - "start": { - "line": 251, - "column": 26 + "properties": [ + { + "type": "ObjectProperty", + "start": 12089, + "end": 12123, + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 46 + } }, - "end": { - "line": 251, - "column": 36 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 12089, + "end": 12091, + "loc": { + "start": { + "line": 259, + "column": 12 + }, + "end": { + "line": 259, + "column": 14 + }, + "identifierName": "id" + }, + "name": "id" }, - "identifierName": "xktTexture" + "value": { + "type": "BinaryExpression", + "start": 12093, + "end": 12123, + "loc": { + "start": { + "line": 259, + "column": 16 + }, + "end": { + "line": 259, + "column": 46 + } + }, + "left": { + "type": "StringLiteral", + "start": 12093, + "end": 12095, + "loc": { + "start": { + "line": 259, + "column": 16 + }, + "end": { + "line": 259, + "column": 18 + } + }, + "extra": { + "rawValue": "", + "raw": "\"\"" + }, + "value": "" + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 12098, + "end": 12123, + "loc": { + "start": { + "line": 259, + "column": 21 + }, + "end": { + "line": 259, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 12098, + "end": 12109, + "loc": { + "start": { + "line": 259, + "column": 21 + }, + "end": { + "line": 259, + "column": 32 + }, + "identifierName": "propertySet" + }, + "name": "propertySet" + }, + "property": { + "type": "Identifier", + "start": 12110, + "end": 12123, + "loc": { + "start": { + "line": 259, + "column": 33 + }, + "end": { + "line": 259, + "column": 46 + }, + "identifierName": "propertySetId" + }, + "name": "propertySetId" + }, + "computed": false + } + } }, - "name": "xktTexture" - }, - "property": { - "type": "Identifier", - "start": 12563, - "end": 12572, - "loc": { - "start": { - "line": 251, - "column": 37 + { + "type": "ObjectProperty", + "start": 12137, + "end": 12170, + "loc": { + "start": { + "line": 260, + "column": 12 + }, + "end": { + "line": 260, + "column": 45 + } }, - "end": { - "line": 251, - "column": 46 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 12137, + "end": 12141, + "loc": { + "start": { + "line": 260, + "column": 12 + }, + "end": { + "line": 260, + "column": 16 + }, + "identifierName": "name" + }, + "name": "name" }, - "identifierName": "imageData" - }, - "name": "imageData" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 12582, - "end": 12626, - "loc": { - "start": { - "line": 252, - "column": 8 - }, - "end": { - "line": 252, - "column": 52 - } - }, - "expression": { - "type": "CallExpression", - "start": 12582, - "end": 12625, - "loc": { - "start": { - "line": 252, - "column": 8 - }, - "end": { - "line": 252, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12582, - "end": 12602, - "loc": { - "start": { - "line": 252, - "column": 8 - }, - "end": { - "line": 252, - "column": 28 - } - }, - "object": { - "type": "MemberExpression", - "start": 12582, - "end": 12598, - "loc": { - "start": { - "line": 252, - "column": 8 + "value": { + "type": "MemberExpression", + "start": 12143, + "end": 12170, + "loc": { + "start": { + "line": 260, + "column": 18 + }, + "end": { + "line": 260, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 12143, + "end": 12154, + "loc": { + "start": { + "line": 260, + "column": 18 + }, + "end": { + "line": 260, + "column": 29 + }, + "identifierName": "propertySet" + }, + "name": "propertySet" + }, + "property": { + "type": "Identifier", + "start": 12155, + "end": 12170, + "loc": { + "start": { + "line": 260, + "column": 30 + }, + "end": { + "line": 260, + "column": 45 + }, + "identifierName": "propertySetName" + }, + "name": "propertySetName" + }, + "computed": false + } }, - "end": { - "line": 252, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 12582, - "end": 12586, - "loc": { - "start": { - "line": 252, - "column": 8 + { + "type": "ObjectProperty", + "start": 12184, + "end": 12217, + "loc": { + "start": { + "line": 261, + "column": 12 + }, + "end": { + "line": 261, + "column": 45 + } }, - "end": { - "line": 252, - "column": 12 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 12184, + "end": 12188, + "loc": { + "start": { + "line": 261, + "column": 12 + }, + "end": { + "line": 261, + "column": 16 + }, + "identifierName": "type" + }, + "name": "type" }, - "identifierName": "data" + "value": { + "type": "MemberExpression", + "start": 12190, + "end": 12217, + "loc": { + "start": { + "line": 261, + "column": 18 + }, + "end": { + "line": 261, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 12190, + "end": 12201, + "loc": { + "start": { + "line": 261, + "column": 18 + }, + "end": { + "line": 261, + "column": 29 + }, + "identifierName": "propertySet" + }, + "name": "propertySet" + }, + "property": { + "type": "Identifier", + "start": 12202, + "end": 12217, + "loc": { + "start": { + "line": 261, + "column": 30 + }, + "end": { + "line": 261, + "column": 45 + }, + "identifierName": "propertySetType" + }, + "name": "propertySetType" + }, + "computed": false + } }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 12587, - "end": 12598, - "loc": { - "start": { - "line": 252, - "column": 13 + { + "type": "ObjectProperty", + "start": 12231, + "end": 12265, + "loc": { + "start": { + "line": 262, + "column": 12 + }, + "end": { + "line": 262, + "column": 46 + } }, - "end": { - "line": 252, - "column": 24 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 12231, + "end": 12241, + "loc": { + "start": { + "line": 262, + "column": 12 + }, + "end": { + "line": 262, + "column": 22 + }, + "identifierName": "properties" + }, + "name": "properties" }, - "identifierName": "textureData" - }, - "name": "textureData" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12599, - "end": 12602, - "loc": { - "start": { - "line": 252, - "column": 25 - }, - "end": { - "line": 252, - "column": 28 - }, - "identifierName": "set" - }, - "name": "set" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 12603, - "end": 12612, - "loc": { - "start": { - "line": 252, - "column": 29 - }, - "end": { - "line": 252, - "column": 38 - }, - "identifierName": "imageData" - }, - "name": "imageData" - }, - { - "type": "Identifier", - "start": 12614, - "end": 12624, - "loc": { - "start": { - "line": 252, - "column": 40 - }, - "end": { - "line": 252, - "column": 50 - }, - "identifierName": "portionIdx" - }, - "name": "portionIdx" + "value": { + "type": "MemberExpression", + "start": 12243, + "end": 12265, + "loc": { + "start": { + "line": 262, + "column": 24 + }, + "end": { + "line": 262, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 12243, + "end": 12254, + "loc": { + "start": { + "line": 262, + "column": 24 + }, + "end": { + "line": 262, + "column": 35 + }, + "identifierName": "propertySet" + }, + "name": "propertySet" + }, + "property": { + "type": "Identifier", + "start": 12255, + "end": 12265, + "loc": { + "start": { + "line": 262, + "column": 36 + }, + "end": { + "line": 262, + "column": 46 + }, + "identifierName": "properties" + }, + "name": "properties" + }, + "computed": false + } + } + ] } - ] - } + } + ], + "kind": "const" }, { "type": "ExpressionStatement", - "start": 12635, - "end": 12690, + "start": 12285, + "end": 12334, "loc": { "start": { - "line": 253, + "line": 264, "column": 8 }, "end": { - "line": 253, - "column": 63 + "line": 264, + "column": 57 } }, "expression": { - "type": "AssignmentExpression", - "start": 12635, - "end": 12689, + "type": "CallExpression", + "start": 12285, + "end": 12333, "loc": { "start": { - "line": 253, + "line": 264, "column": 8 }, "end": { - "line": 253, - "column": 62 + "line": 264, + "column": 56 } }, - "operator": "=", - "left": { + "callee": { "type": "MemberExpression", - "start": 12635, - "end": 12676, + "start": 12285, + "end": 12316, "loc": { "start": { - "line": 253, + "line": 264, "column": 8 }, "end": { - "line": 253, - "column": 49 + "line": 264, + "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12635, - "end": 12662, + "start": 12285, + "end": 12311, "loc": { "start": { - "line": 253, + "line": 264, "column": 8 }, "end": { - "line": 253, - "column": 35 + "line": 264, + "column": 34 } }, "object": { - "type": "Identifier", - "start": 12635, - "end": 12639, + "type": "MemberExpression", + "start": 12285, + "end": 12298, "loc": { "start": { - "line": 253, + "line": 264, "column": 8 }, "end": { - "line": 253, - "column": 12 + "line": 264, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 12285, + "end": 12289, + "loc": { + "start": { + "line": 264, + "column": 8 + }, + "end": { + "line": 264, + "column": 12 + }, + "identifierName": "data" }, - "identifierName": "data" + "name": "data" }, - "name": "data" + "property": { + "type": "Identifier", + "start": 12290, + "end": 12298, + "loc": { + "start": { + "line": 264, + "column": 13 + }, + "end": { + "line": 264, + "column": 21 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 12640, - "end": 12662, + "start": 12299, + "end": 12311, "loc": { "start": { - "line": 253, - "column": 13 + "line": 264, + "column": 22 }, "end": { - "line": 253, - "column": 35 + "line": 264, + "column": 34 }, - "identifierName": "eachTextureDataPortion" + "identifierName": "propertySets" }, - "name": "eachTextureDataPortion" + "name": "propertySets" }, "computed": false }, "property": { "type": "Identifier", - "start": 12663, - "end": 12675, + "start": 12312, + "end": 12316, "loc": { "start": { - "line": 253, - "column": 36 + "line": 264, + "column": 35 }, "end": { - "line": 253, - "column": 48 + "line": 264, + "column": 39 }, - "identifierName": "textureIndex" + "identifierName": "push" }, - "name": "textureIndex" + "name": "push" }, - "computed": true + "computed": false }, - "right": { - "type": "Identifier", - "start": 12679, - "end": 12689, - "loc": { - "start": { - "line": 253, - "column": 52 - }, - "end": { - "line": 253, - "column": 62 + "arguments": [ + { + "type": "Identifier", + "start": 12317, + "end": 12332, + "loc": { + "start": { + "line": 264, + "column": 40 + }, + "end": { + "line": 264, + "column": 55 + }, + "identifierName": "propertySetJSON" }, - "identifierName": "portionIdx" - }, - "name": "portionIdx" - } + "name": "propertySetJSON" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Property sets", + "start": 11864, + "end": 11880, + "loc": { + "start": { + "line": 254, + "column": 4 + }, + "end": { + "line": 254, + "column": 20 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Metaobjects", + "start": 12346, + "end": 12360, + "loc": { + "start": { + "line": 267, + "column": 4 + }, + "end": { + "line": 267, + "column": 18 } + } + } + ] + }, + { + "type": "IfStatement", + "start": 12366, + "end": 13312, + "loc": { + "start": { + "line": 269, + "column": 4 + }, + "end": { + "line": 288, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 12370, + "end": 12387, + "loc": { + "start": { + "line": 269, + "column": 8 + }, + "end": { + "line": 269, + "column": 25 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 12371, + "end": 12387, + "loc": { + "start": { + "line": 269, + "column": 9 + }, + "end": { + "line": 269, + "column": 25 + }, + "identifierName": "metaModelDataStr" + }, + "name": "metaModelDataStr", + "leadingComments": null + }, + "extra": { + "parenthesizedArgument": false + }, + "leadingComments": null + }, + "consequent": { + "type": "BlockStatement", + "start": 12389, + "end": 13312, + "loc": { + "start": { + "line": 269, + "column": 27 }, + "end": { + "line": 288, + "column": 5 + } + }, + "body": [ { - "type": "ExpressionStatement", - "start": 12700, - "end": 12735, + "type": "ForStatement", + "start": 12399, + "end": 13306, "loc": { "start": { - "line": 255, + "line": 270, "column": 8 }, "end": { - "line": 255, - "column": 43 + "line": 287, + "column": 9 } }, - "expression": { - "type": "AssignmentExpression", - "start": 12700, - "end": 12734, + "init": { + "type": "VariableDeclaration", + "start": 12404, + "end": 12428, "loc": { "start": { - "line": 255, - "column": 8 + "line": 270, + "column": 13 }, "end": { - "line": 255, - "column": 42 + "line": 270, + "column": 37 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 12408, + "end": 12428, + "loc": { + "start": { + "line": 270, + "column": 17 + }, + "end": { + "line": 270, + "column": 37 + } + }, + "id": { + "type": "Identifier", + "start": 12408, + "end": 12424, + "loc": { + "start": { + "line": 270, + "column": 17 + }, + "end": { + "line": 270, + "column": 33 + }, + "identifierName": "metaObjectsIndex" + }, + "name": "metaObjectsIndex" + }, + "init": { + "type": "NumericLiteral", + "start": 12427, + "end": 12428, + "loc": { + "start": { + "line": 270, + "column": 36 + }, + "end": { + "line": 270, + "column": 37 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 12430, + "end": 12463, + "loc": { + "start": { + "line": 270, + "column": 39 + }, + "end": { + "line": 270, + "column": 72 } }, - "operator": "+=", "left": { "type": "Identifier", - "start": 12700, - "end": 12710, + "start": 12430, + "end": 12446, "loc": { "start": { - "line": 255, - "column": 8 + "line": 270, + "column": 39 }, "end": { - "line": 255, - "column": 18 + "line": 270, + "column": 55 }, - "identifierName": "portionIdx" + "identifierName": "metaObjectsIndex" }, - "name": "portionIdx" + "name": "metaObjectsIndex" }, + "operator": "<", "right": { - "type": "MemberExpression", - "start": 12714, - "end": 12734, + "type": "Identifier", + "start": 12449, + "end": 12463, "loc": { "start": { - "line": 255, - "column": 22 + "line": 270, + "column": 58 }, "end": { - "line": 255, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 12714, - "end": 12723, - "loc": { - "start": { - "line": 255, - "column": 22 - }, - "end": { - "line": 255, - "column": 31 - }, - "identifierName": "imageData" - }, - "name": "imageData" - }, - "property": { - "type": "Identifier", - "start": 12724, - "end": 12734, - "loc": { - "start": { - "line": 255, - "column": 32 - }, - "end": { - "line": 255, - "column": 42 - }, - "identifierName": "byteLength" + "line": 270, + "column": 72 }, - "name": "byteLength" + "identifierName": "numMetaObjects" }, - "computed": false - } - } - }, - { - "type": "VariableDeclaration", - "start": 12745, - "end": 12804, - "loc": { - "start": { - "line": 257, - "column": 8 - }, - "end": { - "line": 257, - "column": 67 + "name": "numMetaObjects" } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 12749, - "end": 12803, + "update": { + "type": "UpdateExpression", + "start": 12465, + "end": 12483, + "loc": { + "start": { + "line": 270, + "column": 74 + }, + "end": { + "line": 270, + "column": 92 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 12465, + "end": 12481, "loc": { "start": { - "line": 257, - "column": 12 + "line": 270, + "column": 74 }, "end": { - "line": 257, - "column": 66 - } + "line": 270, + "column": 90 + }, + "identifierName": "metaObjectsIndex" }, - "id": { - "type": "Identifier", - "start": 12749, - "end": 12763, - "loc": { - "start": { - "line": 257, - "column": 12 - }, - "end": { - "line": 257, - "column": 26 - }, - "identifierName": "textureAttrIdx" - }, - "name": "textureAttrIdx" - }, - "init": { - "type": "BinaryExpression", - "start": 12766, - "end": 12803, - "loc": { - "start": { - "line": 257, - "column": 29 - }, - "end": { - "line": 257, - "column": 66 - } - }, - "left": { - "type": "Identifier", - "start": 12766, - "end": 12778, - "loc": { - "start": { - "line": 257, - "column": 29 - }, - "end": { - "line": 257, - "column": 41 - }, - "identifierName": "textureIndex" - }, - "name": "textureIndex" - }, - "operator": "*", - "right": { - "type": "Identifier", - "start": 12781, - "end": 12803, - "loc": { - "start": { - "line": 257, - "column": 44 - }, - "end": { - "line": 257, - "column": 66 - }, - "identifierName": "NUM_TEXTURE_ATTRIBUTES" - }, - "name": "NUM_TEXTURE_ATTRIBUTES" - } - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 12813, - "end": 12890, - "loc": { - "start": { - "line": 258, - "column": 8 - }, - "end": { - "line": 258, - "column": 85 + "name": "metaObjectsIndex" } }, - "expression": { - "type": "AssignmentExpression", - "start": 12813, - "end": 12889, + "body": { + "type": "BlockStatement", + "start": 12485, + "end": 13306, "loc": { "start": { - "line": 258, - "column": 8 + "line": 270, + "column": 94 }, "end": { - "line": 258, - "column": 84 + "line": 287, + "column": 9 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 12813, - "end": 12857, - "loc": { - "start": { - "line": 258, - "column": 8 - }, - "end": { - "line": 258, - "column": 52 - } - }, - "object": { - "type": "MemberExpression", - "start": 12813, - "end": 12839, + "body": [ + { + "type": "VariableDeclaration", + "start": 12499, + "end": 12552, "loc": { "start": { - "line": 258, - "column": 8 + "line": 271, + "column": 12 }, "end": { - "line": 258, - "column": 34 + "line": 271, + "column": 65 } }, - "object": { - "type": "Identifier", - "start": 12813, - "end": 12817, - "loc": { - "start": { - "line": 258, - "column": 8 - }, - "end": { - "line": 258, - "column": 12 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 12818, - "end": 12839, - "loc": { - "start": { - "line": 258, - "column": 13 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 12505, + "end": 12551, + "loc": { + "start": { + "line": 271, + "column": 18 + }, + "end": { + "line": 271, + "column": 64 + } }, - "end": { - "line": 258, - "column": 34 + "id": { + "type": "Identifier", + "start": 12505, + "end": 12515, + "loc": { + "start": { + "line": 271, + "column": 18 + }, + "end": { + "line": 271, + "column": 28 + }, + "identifierName": "metaObject" + }, + "name": "metaObject" }, - "identifierName": "eachTextureAttributes" - }, - "name": "eachTextureAttributes" - }, - "computed": false + "init": { + "type": "MemberExpression", + "start": 12518, + "end": 12551, + "loc": { + "start": { + "line": 271, + "column": 31 + }, + "end": { + "line": 271, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 12518, + "end": 12533, + "loc": { + "start": { + "line": 271, + "column": 31 + }, + "end": { + "line": 271, + "column": 46 + }, + "identifierName": "metaObjectsList" + }, + "name": "metaObjectsList" + }, + "property": { + "type": "Identifier", + "start": 12534, + "end": 12550, + "loc": { + "start": { + "line": 271, + "column": 47 + }, + "end": { + "line": 271, + "column": 63 + }, + "identifierName": "metaObjectsIndex" + }, + "name": "metaObjectsIndex" + }, + "computed": true + } + } + ], + "kind": "const" }, - "property": { - "type": "UpdateExpression", - "start": 12840, - "end": 12856, + { + "type": "VariableDeclaration", + "start": 12565, + "end": 12751, "loc": { "start": { - "line": 258, - "column": 35 + "line": 272, + "column": 12 }, "end": { - "line": 258, - "column": 51 + "line": 276, + "column": 14 } }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 12840, - "end": 12854, - "loc": { - "start": { - "line": 258, - "column": 35 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 12571, + "end": 12750, + "loc": { + "start": { + "line": 272, + "column": 18 + }, + "end": { + "line": 276, + "column": 13 + } }, - "end": { - "line": 258, - "column": 49 + "id": { + "type": "Identifier", + "start": 12571, + "end": 12585, + "loc": { + "start": { + "line": 272, + "column": 18 + }, + "end": { + "line": 272, + "column": 32 + }, + "identifierName": "metaObjectJSON" + }, + "name": "metaObjectJSON" }, - "identifierName": "textureAttrIdx" - }, - "name": "textureAttrIdx" - } - }, - "computed": true - }, - "right": { - "type": "ConditionalExpression", - "start": 12860, - "end": 12889, - "loc": { - "start": { - "line": 258, - "column": 55 - }, - "end": { - "line": 258, - "column": 84 - } + "init": { + "type": "ObjectExpression", + "start": 12588, + "end": 12750, + "loc": { + "start": { + "line": 272, + "column": 35 + }, + "end": { + "line": 276, + "column": 13 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 12606, + "end": 12637, + "loc": { + "start": { + "line": 273, + "column": 16 + }, + "end": { + "line": 273, + "column": 47 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 12606, + "end": 12610, + "loc": { + "start": { + "line": 273, + "column": 16 + }, + "end": { + "line": 273, + "column": 20 + }, + "identifierName": "name" + }, + "name": "name" + }, + "value": { + "type": "MemberExpression", + "start": 12612, + "end": 12637, + "loc": { + "start": { + "line": 273, + "column": 22 + }, + "end": { + "line": 273, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 12612, + "end": 12622, + "loc": { + "start": { + "line": 273, + "column": 22 + }, + "end": { + "line": 273, + "column": 32 + }, + "identifierName": "metaObject" + }, + "name": "metaObject" + }, + "property": { + "type": "Identifier", + "start": 12623, + "end": 12637, + "loc": { + "start": { + "line": 273, + "column": 33 + }, + "end": { + "line": 273, + "column": 47 + }, + "identifierName": "metaObjectName" + }, + "name": "metaObjectName" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 12655, + "end": 12686, + "loc": { + "start": { + "line": 274, + "column": 16 + }, + "end": { + "line": 274, + "column": 47 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 12655, + "end": 12659, + "loc": { + "start": { + "line": 274, + "column": 16 + }, + "end": { + "line": 274, + "column": 20 + }, + "identifierName": "type" + }, + "name": "type" + }, + "value": { + "type": "MemberExpression", + "start": 12661, + "end": 12686, + "loc": { + "start": { + "line": 274, + "column": 22 + }, + "end": { + "line": 274, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 12661, + "end": 12671, + "loc": { + "start": { + "line": 274, + "column": 22 + }, + "end": { + "line": 274, + "column": 32 + }, + "identifierName": "metaObject" + }, + "name": "metaObject" + }, + "property": { + "type": "Identifier", + "start": 12672, + "end": 12686, + "loc": { + "start": { + "line": 274, + "column": 33 + }, + "end": { + "line": 274, + "column": 47 + }, + "identifierName": "metaObjectType" + }, + "name": "metaObjectType" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 12704, + "end": 12736, + "loc": { + "start": { + "line": 275, + "column": 16 + }, + "end": { + "line": 275, + "column": 48 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 12704, + "end": 12706, + "loc": { + "start": { + "line": 275, + "column": 16 + }, + "end": { + "line": 275, + "column": 18 + }, + "identifierName": "id" + }, + "name": "id" + }, + "value": { + "type": "BinaryExpression", + "start": 12708, + "end": 12736, + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 48 + } + }, + "left": { + "type": "StringLiteral", + "start": 12708, + "end": 12710, + "loc": { + "start": { + "line": 275, + "column": 20 + }, + "end": { + "line": 275, + "column": 22 + } + }, + "extra": { + "rawValue": "", + "raw": "\"\"" + }, + "value": "" + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 12713, + "end": 12736, + "loc": { + "start": { + "line": 275, + "column": 25 + }, + "end": { + "line": 275, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 12713, + "end": 12723, + "loc": { + "start": { + "line": 275, + "column": 25 + }, + "end": { + "line": 275, + "column": 35 + }, + "identifierName": "metaObject" + }, + "name": "metaObject" + }, + "property": { + "type": "Identifier", + "start": 12724, + "end": 12736, + "loc": { + "start": { + "line": 275, + "column": 36 + }, + "end": { + "line": 275, + "column": 48 + }, + "identifierName": "metaObjectId" + }, + "name": "metaObjectId" + }, + "computed": false + } + } + } + ] + } + } + ], + "kind": "const" }, - "test": { - "type": "MemberExpression", - "start": 12860, - "end": 12881, + { + "type": "IfStatement", + "start": 12764, + "end": 12946, "loc": { "start": { - "line": 258, - "column": 55 + "line": 277, + "column": 12 }, "end": { - "line": 258, - "column": 76 + "line": 279, + "column": 13 } }, - "object": { - "type": "Identifier", - "start": 12860, - "end": 12870, + "test": { + "type": "LogicalExpression", + "start": 12768, + "end": 12853, "loc": { "start": { - "line": 258, - "column": 55 - }, + "line": 277, + "column": 16 + }, "end": { - "line": 258, - "column": 65 + "line": 277, + "column": 101 + } + }, + "left": { + "type": "BinaryExpression", + "start": 12768, + "end": 12811, + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 277, + "column": 59 + } }, - "identifierName": "xktTexture" + "left": { + "type": "MemberExpression", + "start": 12768, + "end": 12797, + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 277, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 12768, + "end": 12778, + "loc": { + "start": { + "line": 277, + "column": 16 + }, + "end": { + "line": 277, + "column": 26 + }, + "identifierName": "metaObject" + }, + "name": "metaObject" + }, + "property": { + "type": "Identifier", + "start": 12779, + "end": 12797, + "loc": { + "start": { + "line": 277, + "column": 27 + }, + "end": { + "line": 277, + "column": 45 + }, + "identifierName": "parentMetaObjectId" + }, + "name": "parentMetaObjectId" + }, + "computed": false + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 12802, + "end": 12811, + "loc": { + "start": { + "line": 277, + "column": 50 + }, + "end": { + "line": 277, + "column": 59 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } }, - "name": "xktTexture" + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 12815, + "end": 12853, + "loc": { + "start": { + "line": 277, + "column": 63 + }, + "end": { + "line": 277, + "column": 101 + } + }, + "left": { + "type": "MemberExpression", + "start": 12815, + "end": 12844, + "loc": { + "start": { + "line": 277, + "column": 63 + }, + "end": { + "line": 277, + "column": 92 + } + }, + "object": { + "type": "Identifier", + "start": 12815, + "end": 12825, + "loc": { + "start": { + "line": 277, + "column": 63 + }, + "end": { + "line": 277, + "column": 73 + }, + "identifierName": "metaObject" + }, + "name": "metaObject" + }, + "property": { + "type": "Identifier", + "start": 12826, + "end": 12844, + "loc": { + "start": { + "line": 277, + "column": 74 + }, + "end": { + "line": 277, + "column": 92 + }, + "identifierName": "parentMetaObjectId" + }, + "name": "parentMetaObjectId" + }, + "computed": false + }, + "operator": "!==", + "right": { + "type": "NullLiteral", + "start": 12849, + "end": 12853, + "loc": { + "start": { + "line": 277, + "column": 97 + }, + "end": { + "line": 277, + "column": 101 + } + } + } + } }, - "property": { - "type": "Identifier", - "start": 12871, - "end": 12881, + "consequent": { + "type": "BlockStatement", + "start": 12855, + "end": 12946, "loc": { "start": { - "line": 258, - "column": 66 + "line": 277, + "column": 103 }, "end": { - "line": 258, - "column": 76 - }, - "identifierName": "compressed" - }, - "name": "compressed" - }, - "computed": false - }, - "consequent": { - "type": "NumericLiteral", - "start": 12884, - "end": 12885, - "loc": { - "start": { - "line": 258, - "column": 79 - }, - "end": { - "line": 258, - "column": 80 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "alternate": { - "type": "NumericLiteral", - "start": 12888, - "end": 12889, - "loc": { - "start": { - "line": 258, - "column": 83 + "line": 279, + "column": 13 + } }, - "end": { - "line": 258, - "column": 84 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - } - }, - { - "type": "ExpressionStatement", - "start": 12899, - "end": 12967, - "loc": { - "start": { - "line": 259, - "column": 8 - }, - "end": { - "line": 259, - "column": 76 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 12899, - "end": 12966, - "loc": { - "start": { - "line": 259, - "column": 8 - }, - "end": { - "line": 259, - "column": 75 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 12899, - "end": 12943, - "loc": { - "start": { - "line": 259, - "column": 8 + "body": [ + { + "type": "ExpressionStatement", + "start": 12873, + "end": 12932, + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 278, + "column": 75 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 12873, + "end": 12931, + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 278, + "column": 74 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 12873, + "end": 12894, + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 278, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 12873, + "end": 12887, + "loc": { + "start": { + "line": 278, + "column": 16 + }, + "end": { + "line": 278, + "column": 30 + }, + "identifierName": "metaObjectJSON" + }, + "name": "metaObjectJSON" + }, + "property": { + "type": "Identifier", + "start": 12888, + "end": 12894, + "loc": { + "start": { + "line": 278, + "column": 31 + }, + "end": { + "line": 278, + "column": 37 + }, + "identifierName": "parent" + }, + "name": "parent" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 12897, + "end": 12931, + "loc": { + "start": { + "line": 278, + "column": 40 + }, + "end": { + "line": 278, + "column": 74 + } + }, + "left": { + "type": "StringLiteral", + "start": 12897, + "end": 12899, + "loc": { + "start": { + "line": 278, + "column": 40 + }, + "end": { + "line": 278, + "column": 42 + } + }, + "extra": { + "rawValue": "", + "raw": "\"\"" + }, + "value": "" + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 12902, + "end": 12931, + "loc": { + "start": { + "line": 278, + "column": 45 + }, + "end": { + "line": 278, + "column": 74 + } + }, + "object": { + "type": "Identifier", + "start": 12902, + "end": 12912, + "loc": { + "start": { + "line": 278, + "column": 45 + }, + "end": { + "line": 278, + "column": 55 + }, + "identifierName": "metaObject" + }, + "name": "metaObject" + }, + "property": { + "type": "Identifier", + "start": 12913, + "end": 12931, + "loc": { + "start": { + "line": 278, + "column": 56 + }, + "end": { + "line": 278, + "column": 74 + }, + "identifierName": "parentMetaObjectId" + }, + "name": "parentMetaObjectId" + }, + "computed": false + } + } + } + } + ], + "directives": [] }, - "end": { - "line": 259, - "column": 52 - } + "alternate": null }, - "object": { - "type": "MemberExpression", - "start": 12899, - "end": 12925, + { + "type": "IfStatement", + "start": 12959, + "end": 13120, "loc": { "start": { - "line": 259, - "column": 8 + "line": 280, + "column": 12 }, "end": { - "line": 259, - "column": 34 + "line": 282, + "column": 13 } }, - "object": { - "type": "Identifier", - "start": 12899, - "end": 12903, + "test": { + "type": "LogicalExpression", + "start": 12963, + "end": 13028, "loc": { "start": { - "line": 259, - "column": 8 + "line": 280, + "column": 16 }, "end": { - "line": 259, - "column": 12 + "line": 280, + "column": 81 + } + }, + "left": { + "type": "MemberExpression", + "start": 12963, + "end": 12988, + "loc": { + "start": { + "line": 280, + "column": 16 + }, + "end": { + "line": 280, + "column": 41 + } }, - "identifierName": "data" + "object": { + "type": "Identifier", + "start": 12963, + "end": 12973, + "loc": { + "start": { + "line": 280, + "column": 16 + }, + "end": { + "line": 280, + "column": 26 + }, + "identifierName": "metaObject" + }, + "name": "metaObject" + }, + "property": { + "type": "Identifier", + "start": 12974, + "end": 12988, + "loc": { + "start": { + "line": 280, + "column": 27 + }, + "end": { + "line": 280, + "column": 41 + }, + "identifierName": "propertySetIds" + }, + "name": "propertySetIds" + }, + "computed": false }, - "name": "data" + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 12992, + "end": 13028, + "loc": { + "start": { + "line": 280, + "column": 45 + }, + "end": { + "line": 280, + "column": 81 + } + }, + "left": { + "type": "MemberExpression", + "start": 12992, + "end": 13024, + "loc": { + "start": { + "line": 280, + "column": 45 + }, + "end": { + "line": 280, + "column": 77 + } + }, + "object": { + "type": "MemberExpression", + "start": 12992, + "end": 13017, + "loc": { + "start": { + "line": 280, + "column": 45 + }, + "end": { + "line": 280, + "column": 70 + } + }, + "object": { + "type": "Identifier", + "start": 12992, + "end": 13002, + "loc": { + "start": { + "line": 280, + "column": 45 + }, + "end": { + "line": 280, + "column": 55 + }, + "identifierName": "metaObject" + }, + "name": "metaObject" + }, + "property": { + "type": "Identifier", + "start": 13003, + "end": 13017, + "loc": { + "start": { + "line": 280, + "column": 56 + }, + "end": { + "line": 280, + "column": 70 + }, + "identifierName": "propertySetIds" + }, + "name": "propertySetIds" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13018, + "end": 13024, + "loc": { + "start": { + "line": 280, + "column": 71 + }, + "end": { + "line": 280, + "column": 77 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 13027, + "end": 13028, + "loc": { + "start": { + "line": 280, + "column": 80 + }, + "end": { + "line": 280, + "column": 81 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } }, - "property": { - "type": "Identifier", - "start": 12904, - "end": 12925, + "consequent": { + "type": "BlockStatement", + "start": 13030, + "end": 13120, "loc": { "start": { - "line": 259, - "column": 13 + "line": 280, + "column": 83 }, "end": { - "line": 259, - "column": 34 - }, - "identifierName": "eachTextureAttributes" + "line": 282, + "column": 13 + } }, - "name": "eachTextureAttributes" + "body": [ + { + "type": "ExpressionStatement", + "start": 13048, + "end": 13106, + "loc": { + "start": { + "line": 281, + "column": 16 + }, + "end": { + "line": 281, + "column": 74 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 13048, + "end": 13105, + "loc": { + "start": { + "line": 281, + "column": 16 + }, + "end": { + "line": 281, + "column": 73 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 13048, + "end": 13077, + "loc": { + "start": { + "line": 281, + "column": 16 + }, + "end": { + "line": 281, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 13048, + "end": 13062, + "loc": { + "start": { + "line": 281, + "column": 16 + }, + "end": { + "line": 281, + "column": 30 + }, + "identifierName": "metaObjectJSON" + }, + "name": "metaObjectJSON" + }, + "property": { + "type": "Identifier", + "start": 13063, + "end": 13077, + "loc": { + "start": { + "line": 281, + "column": 31 + }, + "end": { + "line": 281, + "column": 45 + }, + "identifierName": "propertySetIds" + }, + "name": "propertySetIds" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 13080, + "end": 13105, + "loc": { + "start": { + "line": 281, + "column": 48 + }, + "end": { + "line": 281, + "column": 73 + } + }, + "object": { + "type": "Identifier", + "start": 13080, + "end": 13090, + "loc": { + "start": { + "line": 281, + "column": 48 + }, + "end": { + "line": 281, + "column": 58 + }, + "identifierName": "metaObject" + }, + "name": "metaObject" + }, + "property": { + "type": "Identifier", + "start": 13091, + "end": 13105, + "loc": { + "start": { + "line": 281, + "column": 59 + }, + "end": { + "line": 281, + "column": 73 + }, + "identifierName": "propertySetIds" + }, + "name": "propertySetIds" + }, + "computed": false + } + } + } + ], + "directives": [] }, - "computed": false + "alternate": null }, - "property": { - "type": "UpdateExpression", - "start": 12926, - "end": 12942, + { + "type": "IfStatement", + "start": 13133, + "end": 13236, "loc": { "start": { - "line": 259, - "column": 35 + "line": 283, + "column": 12 }, "end": { - "line": 259, - "column": 51 + "line": 285, + "column": 13 } }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 12926, - "end": 12940, + "test": { + "type": "MemberExpression", + "start": 13137, + "end": 13156, "loc": { "start": { - "line": 259, - "column": 35 + "line": 283, + "column": 16 }, "end": { - "line": 259, - "column": 49 + "line": 283, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 13137, + "end": 13147, + "loc": { + "start": { + "line": 283, + "column": 16 + }, + "end": { + "line": 283, + "column": 26 + }, + "identifierName": "metaObject" }, - "identifierName": "textureAttrIdx" + "name": "metaObject" }, - "name": "textureAttrIdx" - } - }, - "computed": true - }, - "right": { - "type": "MemberExpression", - "start": 12946, - "end": 12966, - "loc": { - "start": { - "line": 259, - "column": 55 - }, - "end": { - "line": 259, - "column": 75 - } - }, - "object": { - "type": "Identifier", - "start": 12946, - "end": 12956, - "loc": { - "start": { - "line": 259, - "column": 55 + "property": { + "type": "Identifier", + "start": 13148, + "end": 13156, + "loc": { + "start": { + "line": 283, + "column": 27 + }, + "end": { + "line": 283, + "column": 35 + }, + "identifierName": "external" + }, + "name": "external" }, - "end": { - "line": 259, - "column": 65 + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 13158, + "end": 13236, + "loc": { + "start": { + "line": 283, + "column": 37 + }, + "end": { + "line": 285, + "column": 13 + } }, - "identifierName": "xktTexture" + "body": [ + { + "type": "ExpressionStatement", + "start": 13176, + "end": 13222, + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 62 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 13176, + "end": 13221, + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 61 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 13176, + "end": 13199, + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 13176, + "end": 13190, + "loc": { + "start": { + "line": 284, + "column": 16 + }, + "end": { + "line": 284, + "column": 30 + }, + "identifierName": "metaObjectJSON" + }, + "name": "metaObjectJSON" + }, + "property": { + "type": "Identifier", + "start": 13191, + "end": 13199, + "loc": { + "start": { + "line": 284, + "column": 31 + }, + "end": { + "line": 284, + "column": 39 + }, + "identifierName": "external" + }, + "name": "external" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 13202, + "end": 13221, + "loc": { + "start": { + "line": 284, + "column": 42 + }, + "end": { + "line": 284, + "column": 61 + } + }, + "object": { + "type": "Identifier", + "start": 13202, + "end": 13212, + "loc": { + "start": { + "line": 284, + "column": 42 + }, + "end": { + "line": 284, + "column": 52 + }, + "identifierName": "metaObject" + }, + "name": "metaObject" + }, + "property": { + "type": "Identifier", + "start": 13213, + "end": 13221, + "loc": { + "start": { + "line": 284, + "column": 53 + }, + "end": { + "line": 284, + "column": 61 + }, + "identifierName": "external" + }, + "name": "external" + }, + "computed": false + } + } + } + ], + "directives": [] }, - "name": "xktTexture" + "alternate": null }, - "property": { - "type": "Identifier", - "start": 12957, - "end": 12966, + { + "type": "ExpressionStatement", + "start": 13249, + "end": 13296, "loc": { "start": { - "line": 259, - "column": 66 + "line": 286, + "column": 12 }, "end": { - "line": 259, - "column": 75 - }, - "identifierName": "mediaType" - }, - "name": "mediaType" - }, - "computed": false - } - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " GIFMediaType | PNGMediaType | JPEGMediaType", - "start": 12968, - "end": 13014, - "loc": { - "start": { - "line": 259, - "column": 77 + "line": 286, + "column": 59 + } }, - "end": { - "line": 259, - "column": 123 + "expression": { + "type": "CallExpression", + "start": 13249, + "end": 13295, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 286, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 13249, + "end": 13279, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 286, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 13249, + "end": 13274, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 286, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 13249, + "end": 13262, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 286, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 13249, + "end": 13253, + "loc": { + "start": { + "line": 286, + "column": 12 + }, + "end": { + "line": 286, + "column": 16 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 13254, + "end": 13262, + "loc": { + "start": { + "line": 286, + "column": 17 + }, + "end": { + "line": 286, + "column": 25 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13263, + "end": 13274, + "loc": { + "start": { + "line": 286, + "column": 26 + }, + "end": { + "line": 286, + "column": 37 + }, + "identifierName": "metaObjects" + }, + "name": "metaObjects" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 13275, + "end": 13279, + "loc": { + "start": { + "line": 286, + "column": 38 + }, + "end": { + "line": 286, + "column": 42 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 13280, + "end": 13294, + "loc": { + "start": { + "line": 286, + "column": 43 + }, + "end": { + "line": 286, + "column": 57 + }, + "identifierName": "metaObjectJSON" + }, + "name": "metaObjectJSON" + } + ] } } - } - ] + ], + "directives": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Metaobjects", + "start": 12346, + "end": 12360, + "loc": { + "start": { + "line": 267, + "column": 4 + }, + "end": { + "line": 267, + "column": 18 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Geometries", + "start": 13318, + "end": 13331, + "loc": { + "start": { + "line": 290, + "column": 4 + }, + "end": { + "line": 290, + "column": 17 + } + } + } + ] + }, + { + "type": "ForStatement", + "start": 13337, + "end": 15737, + "loc": { + "start": { + "line": 292, + "column": 4 + }, + "end": { + "line": 349, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 13342, + "end": 13363, + "loc": { + "start": { + "line": 292, + "column": 9 }, + "end": { + "line": 292, + "column": 30 + } + }, + "declarations": [ { - "type": "ExpressionStatement", - "start": 13023, - "end": 13087, + "type": "VariableDeclarator", + "start": 13346, + "end": 13363, "loc": { "start": { - "line": 260, - "column": 8 + "line": 292, + "column": 13 }, "end": { - "line": 260, - "column": 72 + "line": 292, + "column": 30 } }, - "expression": { - "type": "AssignmentExpression", - "start": 13023, - "end": 13086, + "id": { + "type": "Identifier", + "start": 13346, + "end": 13359, "loc": { "start": { - "line": 260, - "column": 8 + "line": 292, + "column": 13 }, "end": { - "line": 260, - "column": 71 - } + "line": 292, + "column": 26 + }, + "identifierName": "geometryIndex" }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 13023, - "end": 13067, - "loc": { - "start": { - "line": 260, - "column": 8 - }, - "end": { - "line": 260, - "column": 52 - } - }, - "object": { - "type": "MemberExpression", - "start": 13023, - "end": 13049, - "loc": { - "start": { - "line": 260, - "column": 8 - }, - "end": { - "line": 260, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 13023, - "end": 13027, - "loc": { - "start": { - "line": 260, - "column": 8 - }, - "end": { - "line": 260, - "column": 12 - }, - "identifierName": "data" - }, - "name": "data", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 13028, - "end": 13049, - "loc": { - "start": { - "line": 260, - "column": 13 - }, - "end": { - "line": 260, - "column": 34 - }, - "identifierName": "eachTextureAttributes" - }, - "name": "eachTextureAttributes" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "UpdateExpression", - "start": 13050, - "end": 13066, - "loc": { - "start": { - "line": 260, - "column": 35 - }, - "end": { - "line": 260, - "column": 51 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 13050, - "end": 13064, - "loc": { - "start": { - "line": 260, - "column": 35 - }, - "end": { - "line": 260, - "column": 49 - }, - "identifierName": "textureAttrIdx" - }, - "name": "textureAttrIdx" - } + "name": "geometryIndex", + "leadingComments": null + }, + "init": { + "type": "NumericLiteral", + "start": 13362, + "end": 13363, + "loc": { + "start": { + "line": 292, + "column": 29 }, - "computed": true, - "leadingComments": null + "end": { + "line": 292, + "column": 30 + } }, - "right": { - "type": "MemberExpression", - "start": 13070, - "end": 13086, - "loc": { - "start": { - "line": 260, - "column": 55 - }, - "end": { - "line": 260, - "column": 71 - } - }, - "object": { - "type": "Identifier", - "start": 13070, - "end": 13080, - "loc": { - "start": { - "line": 260, - "column": 55 - }, - "end": { - "line": 260, - "column": 65 - }, - "identifierName": "xktTexture" - }, - "name": "xktTexture" - }, - "property": { - "type": "Identifier", - "start": 13081, - "end": 13086, - "loc": { - "start": { - "line": 260, - "column": 66 - }, - "end": { - "line": 260, - "column": 71 - }, - "identifierName": "width" - }, - "name": "width" - }, - "computed": false + "extra": { + "rawValue": 0, + "raw": "0" }, - "leadingComments": null + "value": 0 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " GIFMediaType | PNGMediaType | JPEGMediaType", - "start": 12968, - "end": 13014, - "loc": { - "start": { - "line": 259, - "column": 77 - }, - "end": { - "line": 259, - "column": 123 - } - } - } - ] + "leadingComments": null + } + ], + "kind": "let", + "leadingComments": null + }, + "test": { + "type": "BinaryExpression", + "start": 13365, + "end": 13394, + "loc": { + "start": { + "line": 292, + "column": 32 + }, + "end": { + "line": 292, + "column": 61 + } + }, + "left": { + "type": "Identifier", + "start": 13365, + "end": 13378, + "loc": { + "start": { + "line": 292, + "column": 32 + }, + "end": { + "line": 292, + "column": 45 + }, + "identifierName": "geometryIndex" + }, + "name": "geometryIndex" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 13381, + "end": 13394, + "loc": { + "start": { + "line": 292, + "column": 48 + }, + "end": { + "line": 292, + "column": 61 + }, + "identifierName": "numGeometries" + }, + "name": "numGeometries" + } + }, + "update": { + "type": "UpdateExpression", + "start": 13396, + "end": 13411, + "loc": { + "start": { + "line": 292, + "column": 63 + }, + "end": { + "line": 292, + "column": 78 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 13396, + "end": 13409, + "loc": { + "start": { + "line": 292, + "column": 63 + }, + "end": { + "line": 292, + "column": 76 + }, + "identifierName": "geometryIndex" + }, + "name": "geometryIndex" + } + }, + "body": { + "type": "BlockStatement", + "start": 13413, + "end": 15737, + "loc": { + "start": { + "line": 292, + "column": 80 }, + "end": { + "line": 349, + "column": 5 + } + }, + "body": [ { - "type": "ExpressionStatement", - "start": 13096, - "end": 13161, + "type": "VariableDeclaration", + "start": 13423, + "end": 13471, "loc": { "start": { - "line": 261, + "line": 293, "column": 8 }, "end": { - "line": 261, - "column": 73 + "line": 293, + "column": 56 } }, - "expression": { - "type": "AssignmentExpression", - "start": 13096, - "end": 13160, - "loc": { - "start": { - "line": 261, - "column": 8 - }, - "end": { - "line": 261, - "column": 72 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 13096, - "end": 13140, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 13429, + "end": 13470, "loc": { "start": { - "line": 261, - "column": 8 + "line": 293, + "column": 14 }, "end": { - "line": 261, - "column": 52 + "line": 293, + "column": 55 } }, - "object": { + "id": { + "type": "Identifier", + "start": 13429, + "end": 13437, + "loc": { + "start": { + "line": 293, + "column": 14 + }, + "end": { + "line": 293, + "column": 22 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "init": { "type": "MemberExpression", - "start": 13096, - "end": 13122, + "start": 13440, + "end": 13470, "loc": { "start": { - "line": 261, - "column": 8 + "line": 293, + "column": 25 }, "end": { - "line": 261, - "column": 34 + "line": 293, + "column": 55 } }, "object": { "type": "Identifier", - "start": 13096, - "end": 13100, + "start": 13440, + "end": 13454, "loc": { "start": { - "line": 261, - "column": 8 + "line": 293, + "column": 25 }, "end": { - "line": 261, - "column": 12 + "line": 293, + "column": 39 }, - "identifierName": "data" + "identifierName": "geometriesList" }, - "name": "data" + "name": "geometriesList" }, "property": { "type": "Identifier", - "start": 13101, - "end": 13122, + "start": 13456, + "end": 13469, "loc": { "start": { - "line": 261, - "column": 13 + "line": 293, + "column": 41 }, "end": { - "line": 261, - "column": 34 + "line": 293, + "column": 54 }, - "identifierName": "eachTextureAttributes" - }, - "name": "eachTextureAttributes" - }, - "computed": false - }, - "property": { - "type": "UpdateExpression", - "start": 13123, - "end": 13139, - "loc": { - "start": { - "line": 261, - "column": 35 + "identifierName": "geometryIndex" }, - "end": { - "line": 261, - "column": 51 - } + "name": "geometryIndex" }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 13123, - "end": 13137, - "loc": { - "start": { - "line": 261, - "column": 35 - }, - "end": { - "line": 261, - "column": 49 - }, - "identifierName": "textureAttrIdx" - }, - "name": "textureAttrIdx" - } - }, - "computed": true + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 13480, + "end": 13502, + "loc": { + "start": { + "line": 294, + "column": 8 }, - "right": { - "type": "MemberExpression", - "start": 13143, - "end": 13160, + "end": { + "line": 294, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 13484, + "end": 13501, "loc": { "start": { - "line": 261, - "column": 55 + "line": 294, + "column": 12 }, "end": { - "line": 261, - "column": 72 + "line": 294, + "column": 29 } }, - "object": { + "id": { "type": "Identifier", - "start": 13143, - "end": 13153, + "start": 13484, + "end": 13497, "loc": { "start": { - "line": 261, - "column": 55 + "line": 294, + "column": 12 }, "end": { - "line": 261, - "column": 65 + "line": 294, + "column": 25 }, - "identifierName": "xktTexture" + "identifierName": "primitiveType" }, - "name": "xktTexture" + "name": "primitiveType" }, - "property": { - "type": "Identifier", - "start": 13154, - "end": 13160, + "init": { + "type": "NumericLiteral", + "start": 13500, + "end": 13501, "loc": { "start": { - "line": 261, - "column": 66 + "line": 294, + "column": 28 }, "end": { - "line": 261, - "column": 72 - }, - "identifierName": "height" + "line": 294, + "column": 29 + } }, - "name": "height" - }, - "computed": false + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } } - } + ], + "kind": "let" }, { - "type": "ExpressionStatement", - "start": 13170, - "end": 13238, + "type": "SwitchStatement", + "start": 13511, + "end": 14190, "loc": { "start": { - "line": 262, + "line": 295, "column": 8 }, "end": { - "line": 262, - "column": 76 + "line": 317, + "column": 9 } }, - "expression": { - "type": "AssignmentExpression", - "start": 13170, - "end": 13237, + "discriminant": { + "type": "MemberExpression", + "start": 13519, + "end": 13541, "loc": { "start": { - "line": 262, - "column": 8 + "line": 295, + "column": 16 }, "end": { - "line": 262, - "column": 75 + "line": 295, + "column": 38 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 13170, - "end": 13214, + "object": { + "type": "Identifier", + "start": 13519, + "end": 13527, "loc": { "start": { - "line": 262, - "column": 8 + "line": 295, + "column": 16 }, "end": { - "line": 262, - "column": 52 - } - }, - "object": { - "type": "MemberExpression", - "start": 13170, - "end": 13196, - "loc": { - "start": { - "line": 262, - "column": 8 - }, - "end": { - "line": 262, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 13170, - "end": 13174, - "loc": { - "start": { - "line": 262, - "column": 8 - }, - "end": { - "line": 262, - "column": 12 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 13175, - "end": 13196, - "loc": { - "start": { - "line": 262, - "column": 13 - }, - "end": { - "line": 262, - "column": 34 - }, - "identifierName": "eachTextureAttributes" - }, - "name": "eachTextureAttributes" - }, - "computed": false - }, - "property": { - "type": "UpdateExpression", - "start": 13197, - "end": 13213, - "loc": { - "start": { - "line": 262, - "column": 35 - }, - "end": { - "line": 262, - "column": 51 - } + "line": 295, + "column": 24 }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 13197, - "end": 13211, - "loc": { - "start": { - "line": 262, - "column": 35 - }, - "end": { - "line": 262, - "column": 49 - }, - "identifierName": "textureAttrIdx" - }, - "name": "textureAttrIdx" - } + "identifierName": "geometry" }, - "computed": true + "name": "geometry" }, - "right": { - "type": "MemberExpression", - "start": 13217, - "end": 13237, + "property": { + "type": "Identifier", + "start": 13528, + "end": 13541, "loc": { "start": { - "line": 262, - "column": 55 + "line": 295, + "column": 25 }, "end": { - "line": 262, - "column": 75 - } - }, - "object": { - "type": "Identifier", - "start": 13217, - "end": 13227, - "loc": { - "start": { - "line": 262, - "column": 55 - }, - "end": { - "line": 262, - "column": 65 - }, - "identifierName": "xktTexture" - }, - "name": "xktTexture" - }, - "property": { - "type": "Identifier", - "start": 13228, - "end": 13237, - "loc": { - "start": { - "line": 262, - "column": 66 - }, - "end": { - "line": 262, - "column": 75 - }, - "identifierName": "minFilter" + "line": 295, + "column": 38 }, - "name": "minFilter" + "identifierName": "primitiveType" }, - "computed": false - } + "name": "primitiveType" + }, + "computed": false }, - "trailingComments": [ + "cases": [ { - "type": "CommentLine", - "value": " LinearMipmapLinearFilter | LinearMipMapNearestFilter | NearestMipMapNearestFilter | NearestMipMapLinearFilter | LinearMipMapLinearFilter", - "start": 13239, - "end": 13378, + "type": "SwitchCase", + "start": 13557, + "end": 13653, "loc": { "start": { - "line": 262, - "column": 77 + "line": 296, + "column": 12 }, "end": { - "line": 262, - "column": 216 + "line": 298, + "column": 22 } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 13387, - "end": 13455, - "loc": { - "start": { - "line": 263, - "column": 8 - }, - "end": { - "line": 263, - "column": 76 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 13387, - "end": 13454, - "loc": { - "start": { - "line": 263, - "column": 8 }, - "end": { - "line": 263, - "column": 75 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 13387, - "end": 13431, - "loc": { - "start": { - "line": 263, - "column": 8 + "consequent": [ + { + "type": "ExpressionStatement", + "start": 13591, + "end": 13630, + "loc": { + "start": { + "line": 297, + "column": 16 + }, + "end": { + "line": 297, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 13591, + "end": 13629, + "loc": { + "start": { + "line": 297, + "column": 16 + }, + "end": { + "line": 297, + "column": 54 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 13591, + "end": 13604, + "loc": { + "start": { + "line": 297, + "column": 16 + }, + "end": { + "line": 297, + "column": 29 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "right": { + "type": "ConditionalExpression", + "start": 13607, + "end": 13629, + "loc": { + "start": { + "line": 297, + "column": 32 + }, + "end": { + "line": 297, + "column": 54 + } + }, + "test": { + "type": "MemberExpression", + "start": 13607, + "end": 13621, + "loc": { + "start": { + "line": 297, + "column": 32 + }, + "end": { + "line": 297, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 13607, + "end": 13615, + "loc": { + "start": { + "line": 297, + "column": 32 + }, + "end": { + "line": 297, + "column": 40 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 13616, + "end": 13621, + "loc": { + "start": { + "line": 297, + "column": 41 + }, + "end": { + "line": 297, + "column": 46 + }, + "identifierName": "solid" + }, + "name": "solid" + }, + "computed": false + }, + "consequent": { + "type": "NumericLiteral", + "start": 13624, + "end": 13625, + "loc": { + "start": { + "line": 297, + "column": 49 + }, + "end": { + "line": 297, + "column": 50 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "alternate": { + "type": "NumericLiteral", + "start": 13628, + "end": 13629, + "loc": { + "start": { + "line": 297, + "column": 53 + }, + "end": { + "line": 297, + "column": 54 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } }, - "end": { - "line": 263, - "column": 52 + { + "type": "BreakStatement", + "start": 13647, + "end": 13653, + "loc": { + "start": { + "line": 298, + "column": 16 + }, + "end": { + "line": 298, + "column": 22 + } + }, + "label": null } - }, - "object": { - "type": "MemberExpression", - "start": 13387, - "end": 13413, + ], + "test": { + "type": "StringLiteral", + "start": 13562, + "end": 13573, "loc": { "start": { - "line": 263, - "column": 8 + "line": 296, + "column": 17 }, "end": { - "line": 263, - "column": 34 + "line": 296, + "column": 28 } }, - "object": { - "type": "Identifier", - "start": 13387, - "end": 13391, + "extra": { + "rawValue": "triangles", + "raw": "\"triangles\"" + }, + "value": "triangles" + } + }, + { + "type": "SwitchCase", + "start": 13666, + "end": 13738, + "loc": { + "start": { + "line": 299, + "column": 12 + }, + "end": { + "line": 301, + "column": 22 + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 13697, + "end": 13715, "loc": { "start": { - "line": 263, - "column": 8 + "line": 300, + "column": 16 }, "end": { - "line": 263, - "column": 12 - }, - "identifierName": "data" + "line": 300, + "column": 34 + } }, - "name": "data", - "leadingComments": null + "expression": { + "type": "AssignmentExpression", + "start": 13697, + "end": 13714, + "loc": { + "start": { + "line": 300, + "column": 16 + }, + "end": { + "line": 300, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 13697, + "end": 13710, + "loc": { + "start": { + "line": 300, + "column": 16 + }, + "end": { + "line": 300, + "column": 29 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "right": { + "type": "NumericLiteral", + "start": 13713, + "end": 13714, + "loc": { + "start": { + "line": 300, + "column": 32 + }, + "end": { + "line": 300, + "column": 33 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + } }, - "property": { - "type": "Identifier", - "start": 13392, - "end": 13413, + { + "type": "BreakStatement", + "start": 13732, + "end": 13738, "loc": { "start": { - "line": 263, - "column": 13 + "line": 301, + "column": 16 }, "end": { - "line": 263, - "column": 34 - }, - "identifierName": "eachTextureAttributes" + "line": 301, + "column": 22 + } }, - "name": "eachTextureAttributes" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "UpdateExpression", - "start": 13414, - "end": 13430, + "label": null + } + ], + "test": { + "type": "StringLiteral", + "start": 13671, + "end": 13679, "loc": { "start": { - "line": 263, - "column": 35 + "line": 299, + "column": 17 }, "end": { - "line": 263, - "column": 51 + "line": 299, + "column": 25 } }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 13414, - "end": 13428, - "loc": { - "start": { - "line": 263, - "column": 35 - }, - "end": { - "line": 263, - "column": 49 - }, - "identifierName": "textureAttrIdx" - }, - "name": "textureAttrIdx" - } - }, - "computed": true, - "leadingComments": null + "extra": { + "rawValue": "points", + "raw": "\"points\"" + }, + "value": "points" + } }, - "right": { - "type": "MemberExpression", - "start": 13434, - "end": 13454, + { + "type": "SwitchCase", + "start": 13751, + "end": 13822, "loc": { "start": { - "line": 263, - "column": 55 + "line": 302, + "column": 12 }, "end": { - "line": 263, - "column": 75 + "line": 304, + "column": 22 } }, - "object": { - "type": "Identifier", - "start": 13434, - "end": 13444, - "loc": { - "start": { - "line": 263, - "column": 55 - }, - "end": { - "line": 263, - "column": 65 + "consequent": [ + { + "type": "ExpressionStatement", + "start": 13781, + "end": 13799, + "loc": { + "start": { + "line": 303, + "column": 16 + }, + "end": { + "line": 303, + "column": 34 + } }, - "identifierName": "xktTexture" + "expression": { + "type": "AssignmentExpression", + "start": 13781, + "end": 13798, + "loc": { + "start": { + "line": 303, + "column": 16 + }, + "end": { + "line": 303, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 13781, + "end": 13794, + "loc": { + "start": { + "line": 303, + "column": 16 + }, + "end": { + "line": 303, + "column": 29 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "right": { + "type": "NumericLiteral", + "start": 13797, + "end": 13798, + "loc": { + "start": { + "line": 303, + "column": 32 + }, + "end": { + "line": 303, + "column": 33 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + } + } }, - "name": "xktTexture" - }, - "property": { - "type": "Identifier", - "start": 13445, - "end": 13454, + { + "type": "BreakStatement", + "start": 13816, + "end": 13822, + "loc": { + "start": { + "line": 304, + "column": 16 + }, + "end": { + "line": 304, + "column": 22 + } + }, + "label": null + } + ], + "test": { + "type": "StringLiteral", + "start": 13756, + "end": 13763, "loc": { "start": { - "line": 263, - "column": 66 + "line": 302, + "column": 17 }, "end": { - "line": 263, - "column": 75 - }, - "identifierName": "magFilter" + "line": 302, + "column": 24 + } }, - "name": "magFilter" - }, - "computed": false - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " LinearMipmapLinearFilter | LinearMipMapNearestFilter | NearestMipMapNearestFilter | NearestMipMapLinearFilter | LinearMipMapLinearFilter", - "start": 13239, - "end": 13378, - "loc": { - "start": { - "line": 262, - "column": 77 + "extra": { + "rawValue": "lines", + "raw": "\"lines\"" }, - "end": { - "line": 262, - "column": 216 - } + "value": "lines" } - } - ], - "trailingComments": [ + }, { - "type": "CommentLine", - "value": " LinearFilter | NearestFilter", - "start": 13456, - "end": 13487, + "type": "SwitchCase", + "start": 13835, + "end": 13853, "loc": { "start": { - "line": 263, - "column": 77 + "line": 305, + "column": 12 }, "end": { - "line": 263, - "column": 108 + "line": 305, + "column": 30 } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 13496, - "end": 13560, - "loc": { - "start": { - "line": 264, - "column": 8 - }, - "end": { - "line": 264, - "column": 72 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 13496, - "end": 13559, - "loc": { - "start": { - "line": 264, - "column": 8 }, - "end": { - "line": 264, - "column": 71 + "consequent": [], + "test": { + "type": "StringLiteral", + "start": 13840, + "end": 13852, + "loc": { + "start": { + "line": 305, + "column": 17 + }, + "end": { + "line": 305, + "column": 29 + } + }, + "extra": { + "rawValue": "line-strip", + "raw": "\"line-strip\"" + }, + "value": "line-strip" } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 13496, - "end": 13540, + { + "type": "SwitchCase", + "start": 13866, + "end": 13941, "loc": { "start": { - "line": 264, - "column": 8 + "line": 306, + "column": 12 }, "end": { - "line": 264, - "column": 52 + "line": 308, + "column": 22 } }, - "object": { - "type": "MemberExpression", - "start": 13496, - "end": 13522, - "loc": { - "start": { - "line": 264, - "column": 8 - }, - "end": { - "line": 264, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 13496, - "end": 13500, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 13900, + "end": 13918, "loc": { "start": { - "line": 264, - "column": 8 + "line": 307, + "column": 16 }, "end": { - "line": 264, - "column": 12 - }, - "identifierName": "data" + "line": 307, + "column": 34 + } }, - "name": "data", - "leadingComments": null + "expression": { + "type": "AssignmentExpression", + "start": 13900, + "end": 13917, + "loc": { + "start": { + "line": 307, + "column": 16 + }, + "end": { + "line": 307, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 13900, + "end": 13913, + "loc": { + "start": { + "line": 307, + "column": 16 + }, + "end": { + "line": 307, + "column": 29 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "right": { + "type": "NumericLiteral", + "start": 13916, + "end": 13917, + "loc": { + "start": { + "line": 307, + "column": 32 + }, + "end": { + "line": 307, + "column": 33 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + } + } }, - "property": { - "type": "Identifier", - "start": 13501, - "end": 13522, + { + "type": "BreakStatement", + "start": 13935, + "end": 13941, "loc": { "start": { - "line": 264, - "column": 13 + "line": 308, + "column": 16 }, "end": { - "line": 264, - "column": 34 - }, - "identifierName": "eachTextureAttributes" + "line": 308, + "column": 22 + } }, - "name": "eachTextureAttributes" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "UpdateExpression", - "start": 13523, - "end": 13539, + "label": null + } + ], + "test": { + "type": "StringLiteral", + "start": 13871, + "end": 13882, "loc": { "start": { - "line": 264, - "column": 35 + "line": 306, + "column": 17 }, "end": { - "line": 264, - "column": 51 + "line": 306, + "column": 28 } }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 13523, - "end": 13537, + "extra": { + "rawValue": "line-loop", + "raw": "\"line-loop\"" + }, + "value": "line-loop" + } + }, + { + "type": "SwitchCase", + "start": 13954, + "end": 14034, + "loc": { + "start": { + "line": 309, + "column": 12 + }, + "end": { + "line": 311, + "column": 22 + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 13993, + "end": 14011, "loc": { "start": { - "line": 264, - "column": 35 + "line": 310, + "column": 16 }, "end": { - "line": 264, - "column": 49 + "line": 310, + "column": 34 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 13993, + "end": 14010, + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 310, + "column": 33 + } }, - "identifierName": "textureAttrIdx" + "operator": "=", + "left": { + "type": "Identifier", + "start": 13993, + "end": 14006, + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 310, + "column": 29 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "right": { + "type": "NumericLiteral", + "start": 14009, + "end": 14010, + "loc": { + "start": { + "line": 310, + "column": 32 + }, + "end": { + "line": 310, + "column": 33 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + } + } + }, + { + "type": "BreakStatement", + "start": 14028, + "end": 14034, + "loc": { + "start": { + "line": 311, + "column": 16 + }, + "end": { + "line": 311, + "column": 22 + } }, - "name": "textureAttrIdx" + "label": null } - }, - "computed": true, - "leadingComments": null + ], + "test": { + "type": "StringLiteral", + "start": 13959, + "end": 13975, + "loc": { + "start": { + "line": 309, + "column": 17 + }, + "end": { + "line": 309, + "column": 33 + } + }, + "extra": { + "rawValue": "triangle-strip", + "raw": "\"triangle-strip\"" + }, + "value": "triangle-strip" + } }, - "right": { - "type": "MemberExpression", - "start": 13543, - "end": 13559, + { + "type": "SwitchCase", + "start": 14047, + "end": 14125, "loc": { "start": { - "line": 264, - "column": 55 + "line": 312, + "column": 12 }, "end": { - "line": 264, - "column": 71 + "line": 314, + "column": 22 } }, - "object": { - "type": "Identifier", - "start": 13543, - "end": 13553, - "loc": { - "start": { - "line": 264, - "column": 55 - }, - "end": { - "line": 264, - "column": 65 + "consequent": [ + { + "type": "ExpressionStatement", + "start": 14084, + "end": 14102, + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 34 + } }, - "identifierName": "xktTexture" + "expression": { + "type": "AssignmentExpression", + "start": 14084, + "end": 14101, + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 14084, + "end": 14097, + "loc": { + "start": { + "line": 313, + "column": 16 + }, + "end": { + "line": 313, + "column": 29 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "right": { + "type": "NumericLiteral", + "start": 14100, + "end": 14101, + "loc": { + "start": { + "line": 313, + "column": 32 + }, + "end": { + "line": 313, + "column": 33 + } + }, + "extra": { + "rawValue": 6, + "raw": "6" + }, + "value": 6 + } + } }, - "name": "xktTexture" - }, - "property": { - "type": "Identifier", - "start": 13554, - "end": 13559, + { + "type": "BreakStatement", + "start": 14119, + "end": 14125, + "loc": { + "start": { + "line": 314, + "column": 16 + }, + "end": { + "line": 314, + "column": 22 + } + }, + "label": null + } + ], + "test": { + "type": "StringLiteral", + "start": 14052, + "end": 14066, "loc": { "start": { - "line": 264, - "column": 66 + "line": 312, + "column": 17 }, "end": { - "line": 264, - "column": 71 - }, - "identifierName": "wrapS" + "line": 312, + "column": 31 + } }, - "name": "wrapS" - }, - "computed": false - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " LinearFilter | NearestFilter", - "start": 13456, - "end": 13487, - "loc": { - "start": { - "line": 263, - "column": 77 + "extra": { + "rawValue": "triangle-fan", + "raw": "\"triangle-fan\"" }, - "end": { - "line": 263, - "column": 108 - } + "value": "triangle-fan" } - } - ], - "trailingComments": [ + }, { - "type": "CommentLine", - "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", - "start": 13561, - "end": 13625, + "type": "SwitchCase", + "start": 14138, + "end": 14180, "loc": { "start": { - "line": 264, - "column": 73 + "line": 315, + "column": 12 }, "end": { - "line": 264, - "column": 137 + "line": 316, + "column": 33 } - } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 14163, + "end": 14180, + "loc": { + "start": { + "line": 316, + "column": 16 + }, + "end": { + "line": 316, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 14163, + "end": 14180, + "loc": { + "start": { + "line": 316, + "column": 16 + }, + "end": { + "line": 316, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 14163, + "end": 14176, + "loc": { + "start": { + "line": 316, + "column": 16 + }, + "end": { + "line": 316, + "column": 29 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "right": { + "type": "NumericLiteral", + "start": 14179, + "end": 14180, + "loc": { + "start": { + "line": 316, + "column": 32 + }, + "end": { + "line": 316, + "column": 33 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + ], + "test": null } ] }, { "type": "ExpressionStatement", - "start": 13634, - "end": 13698, + "start": 14199, + "end": 14262, "loc": { "start": { - "line": 265, + "line": 318, "column": 8 }, "end": { - "line": 265, - "column": 72 + "line": 318, + "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 13634, - "end": 13697, + "start": 14199, + "end": 14261, "loc": { "start": { - "line": 265, + "line": 318, "column": 8 }, "end": { - "line": 265, - "column": 71 + "line": 318, + "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 13634, - "end": 13678, + "start": 14199, + "end": 14245, "loc": { "start": { - "line": 265, + "line": 318, "column": 8 }, "end": { - "line": 265, - "column": 52 + "line": 318, + "column": 54 } }, "object": { "type": "MemberExpression", - "start": 13634, - "end": 13660, + "start": 14199, + "end": 14229, "loc": { "start": { - "line": 265, + "line": 318, "column": 8 }, "end": { - "line": 265, - "column": 34 + "line": 318, + "column": 38 } }, "object": { "type": "Identifier", - "start": 13634, - "end": 13638, + "start": 14199, + "end": 14203, "loc": { "start": { - "line": 265, + "line": 318, "column": 8 }, "end": { - "line": 265, + "line": 318, "column": 12 }, "identifierName": "data" }, - "name": "data", - "leadingComments": null + "name": "data" }, "property": { "type": "Identifier", - "start": 13639, - "end": 13660, + "start": 14204, + "end": 14229, "loc": { "start": { - "line": 265, + "line": 318, "column": 13 }, "end": { - "line": 265, - "column": 34 - }, - "identifierName": "eachTextureAttributes" - }, - "name": "eachTextureAttributes" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "UpdateExpression", - "start": 13661, - "end": 13677, - "loc": { - "start": { - "line": 265, - "column": 35 - }, - "end": { - "line": 265, - "column": 51 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 13661, - "end": 13675, - "loc": { - "start": { - "line": 265, - "column": 35 - }, - "end": { - "line": 265, - "column": 49 + "line": 318, + "column": 38 }, - "identifierName": "textureAttrIdx" - }, - "name": "textureAttrIdx" - } - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 13681, - "end": 13697, - "loc": { - "start": { - "line": 265, - "column": 55 - }, - "end": { - "line": 265, - "column": 71 - } - }, - "object": { - "type": "Identifier", - "start": 13681, - "end": 13691, - "loc": { - "start": { - "line": 265, - "column": 55 - }, - "end": { - "line": 265, - "column": 65 + "identifierName": "eachGeometryPrimitiveType" }, - "identifierName": "xktTexture" + "name": "eachGeometryPrimitiveType" }, - "name": "xktTexture" + "computed": false }, "property": { "type": "Identifier", - "start": 13692, - "end": 13697, + "start": 14231, + "end": 14244, "loc": { "start": { - "line": 265, - "column": 66 + "line": 318, + "column": 40 }, "end": { - "line": 265, - "column": 71 + "line": 318, + "column": 53 }, - "identifierName": "wrapT" + "identifierName": "geometryIndex" }, - "name": "wrapT" + "name": "geometryIndex" }, - "computed": false + "computed": true }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", - "start": 13561, - "end": 13625, + "right": { + "type": "Identifier", + "start": 14248, + "end": 14261, "loc": { "start": { - "line": 264, - "column": 73 + "line": 318, + "column": 57 }, "end": { - "line": 264, - "column": 137 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", - "start": 13699, - "end": 13763, - "loc": { - "start": { - "line": 265, - "column": 73 + "line": 318, + "column": 70 }, - "end": { - "line": 265, - "column": 137 - } - } + "identifierName": "primitiveType" + }, + "name": "primitiveType" } - ] + } }, { "type": "ExpressionStatement", - "start": 13772, - "end": 13836, + "start": 14271, + "end": 14338, "loc": { "start": { - "line": 266, + "line": 319, "column": 8 }, "end": { - "line": 266, - "column": 72 + "line": 319, + "column": 75 } }, "expression": { "type": "AssignmentExpression", - "start": 13772, - "end": 13835, + "start": 14271, + "end": 14337, "loc": { "start": { - "line": 266, + "line": 319, "column": 8 }, "end": { - "line": 266, - "column": 71 + "line": 319, + "column": 74 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 13772, - "end": 13816, + "start": 14271, + "end": 14320, "loc": { "start": { - "line": 266, + "line": 319, "column": 8 }, "end": { - "line": 266, - "column": 52 + "line": 319, + "column": 57 } }, "object": { "type": "MemberExpression", - "start": 13772, - "end": 13798, + "start": 14271, + "end": 14304, "loc": { "start": { - "line": 266, + "line": 319, "column": 8 }, "end": { - "line": 266, - "column": 34 + "line": 319, + "column": 41 } }, "object": { "type": "Identifier", - "start": 13772, - "end": 13776, + "start": 14271, + "end": 14275, "loc": { "start": { - "line": 266, + "line": 319, "column": 8 }, "end": { - "line": 266, + "line": 319, "column": 12 }, "identifierName": "data" }, - "name": "data", - "leadingComments": null + "name": "data" }, "property": { "type": "Identifier", - "start": 13777, - "end": 13798, + "start": 14276, + "end": 14304, "loc": { "start": { - "line": 266, + "line": 319, "column": 13 }, "end": { - "line": 266, - "column": 34 - }, - "identifierName": "eachTextureAttributes" - }, - "name": "eachTextureAttributes" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "UpdateExpression", - "start": 13799, - "end": 13815, - "loc": { - "start": { - "line": 266, - "column": 35 - }, - "end": { - "line": 266, - "column": 51 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 13799, - "end": 13813, - "loc": { - "start": { - "line": 266, - "column": 35 - }, - "end": { - "line": 266, - "column": 49 + "line": 319, + "column": 41 }, - "identifierName": "textureAttrIdx" - }, - "name": "textureAttrIdx" - } - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 13819, - "end": 13835, - "loc": { - "start": { - "line": 266, - "column": 55 - }, - "end": { - "line": 266, - "column": 71 - } - }, - "object": { - "type": "Identifier", - "start": 13819, - "end": 13829, - "loc": { - "start": { - "line": 266, - "column": 55 - }, - "end": { - "line": 266, - "column": 65 + "identifierName": "eachGeometryPositionsPortion" }, - "identifierName": "xktTexture" + "name": "eachGeometryPositionsPortion" }, - "name": "xktTexture" + "computed": false }, "property": { "type": "Identifier", - "start": 13830, - "end": 13835, + "start": 14306, + "end": 14319, "loc": { "start": { - "line": 266, - "column": 66 + "line": 319, + "column": 43 }, "end": { - "line": 266, - "column": 71 + "line": 319, + "column": 56 }, - "identifierName": "wrapR" + "identifierName": "geometryIndex" }, - "name": "wrapR" + "name": "geometryIndex" }, - "computed": false + "computed": true }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", - "start": 13699, - "end": 13763, + "right": { + "type": "Identifier", + "start": 14323, + "end": 14337, "loc": { "start": { - "line": 265, - "column": 73 + "line": 319, + "column": 60 }, "end": { - "line": 265, - "column": 137 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", - "start": 13837, - "end": 13901, - "loc": { - "start": { - "line": 266, - "column": 73 + "line": 319, + "column": 74 }, - "end": { - "line": 266, - "column": 137 - } - } + "identifierName": "countPositions" + }, + "name": "countPositions" } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Textures", - "start": 12312, - "end": 12323, - "loc": { - "start": { - "line": 247, - "column": 4 - }, - "end": { - "line": 247, - "column": 15 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Texture sets", - "start": 13913, - "end": 13928, - "loc": { - "start": { - "line": 269, - "column": 4 - }, - "end": { - "line": 269, - "column": 19 } - } - } - ] - }, - { - "type": "ForStatement", - "start": 13934, - "end": 14979, - "loc": { - "start": { - "line": 271, - "column": 4 - }, - "end": { - "line": 278, - "column": 5 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 13939, - "end": 14045, - "loc": { - "start": { - "line": 271, - "column": 9 - }, - "end": { - "line": 271, - "column": 115 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 13943, - "end": 13962, - "loc": { - "start": { - "line": 271, - "column": 13 - }, - "end": { - "line": 271, - "column": 32 - } - }, - "id": { - "type": "Identifier", - "start": 13943, - "end": 13958, - "loc": { - "start": { - "line": 271, - "column": 13 - }, - "end": { - "line": 271, - "column": 28 - }, - "identifierName": "textureSetIndex" - }, - "name": "textureSetIndex", - "leadingComments": null - }, - "init": { - "type": "NumericLiteral", - "start": 13961, - "end": 13962, - "loc": { - "start": { - "line": 271, - "column": 31 - }, - "end": { - "line": 271, - "column": 32 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "leadingComments": null }, { - "type": "VariableDeclarator", - "start": 13964, - "end": 14012, + "type": "ExpressionStatement", + "start": 14347, + "end": 14410, "loc": { "start": { - "line": 271, - "column": 34 + "line": 320, + "column": 8 }, "end": { - "line": 271, - "column": 82 + "line": 320, + "column": 71 } }, - "id": { - "type": "Identifier", - "start": 13964, - "end": 13978, - "loc": { - "start": { - "line": 271, - "column": 34 - }, - "end": { - "line": 271, - "column": 48 - }, - "identifierName": "numTextureSets" - }, - "name": "numTextureSets" - }, - "init": { - "type": "MemberExpression", - "start": 13981, - "end": 14012, + "expression": { + "type": "AssignmentExpression", + "start": 14347, + "end": 14409, "loc": { "start": { - "line": 271, - "column": 51 + "line": 320, + "column": 8 }, "end": { - "line": 271, - "column": 82 + "line": 320, + "column": 70 } }, - "object": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 13981, - "end": 14005, + "start": 14347, + "end": 14394, "loc": { "start": { - "line": 271, - "column": 51 + "line": 320, + "column": 8 }, "end": { - "line": 271, - "column": 75 + "line": 320, + "column": 55 } }, "object": { - "type": "Identifier", - "start": 13981, - "end": 13989, + "type": "MemberExpression", + "start": 14347, + "end": 14378, "loc": { "start": { - "line": 271, - "column": 51 + "line": 320, + "column": 8 }, "end": { - "line": 271, - "column": 59 + "line": 320, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 14347, + "end": 14351, + "loc": { + "start": { + "line": 320, + "column": 8 + }, + "end": { + "line": 320, + "column": 12 + }, + "identifierName": "data" }, - "identifierName": "xktModel" + "name": "data" }, - "name": "xktModel" + "property": { + "type": "Identifier", + "start": 14352, + "end": 14378, + "loc": { + "start": { + "line": 320, + "column": 13 + }, + "end": { + "line": 320, + "column": 39 + }, + "identifierName": "eachGeometryNormalsPortion" + }, + "name": "eachGeometryNormalsPortion" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 13990, - "end": 14005, + "start": 14380, + "end": 14393, "loc": { "start": { - "line": 271, - "column": 60 + "line": 320, + "column": 41 }, "end": { - "line": 271, - "column": 75 + "line": 320, + "column": 54 }, - "identifierName": "textureSetsList" + "identifierName": "geometryIndex" }, - "name": "textureSetsList" + "name": "geometryIndex" }, - "computed": false + "computed": true }, - "property": { + "right": { "type": "Identifier", - "start": 14006, - "end": 14012, + "start": 14397, + "end": 14409, "loc": { "start": { - "line": 271, - "column": 76 + "line": 320, + "column": 58 }, "end": { - "line": 271, - "column": 82 + "line": 320, + "column": 70 }, - "identifierName": "length" + "identifierName": "countNormals" }, - "name": "length" - }, - "computed": false + "name": "countNormals" + } } }, { - "type": "VariableDeclarator", - "start": 14014, - "end": 14045, + "type": "ExpressionStatement", + "start": 14419, + "end": 14480, "loc": { "start": { - "line": 271, - "column": 84 + "line": 321, + "column": 8 }, "end": { - "line": 271, - "column": 115 + "line": 321, + "column": 69 } }, - "id": { - "type": "Identifier", - "start": 14014, - "end": 14041, - "loc": { - "start": { - "line": 271, - "column": 84 - }, - "end": { - "line": 271, - "column": 111 - }, - "identifierName": "eachTextureSetTexturesIndex" - }, - "name": "eachTextureSetTexturesIndex" - }, - "init": { - "type": "NumericLiteral", - "start": 14044, - "end": 14045, + "expression": { + "type": "AssignmentExpression", + "start": 14419, + "end": 14479, "loc": { "start": { - "line": 271, - "column": 114 + "line": 321, + "column": 8 }, "end": { - "line": 271, - "column": 115 + "line": 321, + "column": 68 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let", - "leadingComments": null - }, - "test": { - "type": "BinaryExpression", - "start": 14047, - "end": 14079, - "loc": { - "start": { - "line": 271, - "column": 117 - }, - "end": { - "line": 271, - "column": 149 - } - }, - "left": { - "type": "Identifier", - "start": 14047, - "end": 14062, - "loc": { - "start": { - "line": 271, - "column": 117 - }, - "end": { - "line": 271, - "column": 132 - }, - "identifierName": "textureSetIndex" - }, - "name": "textureSetIndex" - }, - "operator": "<", - "right": { - "type": "Identifier", - "start": 14065, - "end": 14079, - "loc": { - "start": { - "line": 271, - "column": 135 - }, - "end": { - "line": 271, - "column": 149 - }, - "identifierName": "numTextureSets" - }, - "name": "numTextureSets" - } - }, - "update": { - "type": "UpdateExpression", - "start": 14081, - "end": 14098, - "loc": { - "start": { - "line": 271, - "column": 151 - }, - "end": { - "line": 271, - "column": 168 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 14081, - "end": 14096, - "loc": { - "start": { - "line": 271, - "column": 151 - }, - "end": { - "line": 271, - "column": 166 - }, - "identifierName": "textureSetIndex" - }, - "name": "textureSetIndex" - } - }, - "body": { - "type": "BlockStatement", - "start": 14100, - "end": 14979, - "loc": { - "start": { - "line": 271, - "column": 170 - }, - "end": { - "line": 278, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 14110, - "end": 14162, - "loc": { - "start": { - "line": 272, - "column": 8 - }, - "end": { - "line": 272, - "column": 60 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14116, - "end": 14161, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 14419, + "end": 14465, "loc": { "start": { - "line": 272, - "column": 14 + "line": 321, + "column": 8 }, "end": { - "line": 272, - "column": 59 + "line": 321, + "column": 54 } }, - "id": { - "type": "Identifier", - "start": 14116, - "end": 14126, - "loc": { - "start": { - "line": 272, - "column": 14 - }, - "end": { - "line": 272, - "column": 24 - }, - "identifierName": "textureSet" - }, - "name": "textureSet" - }, - "init": { + "object": { "type": "MemberExpression", - "start": 14129, - "end": 14161, + "start": 14419, + "end": 14449, "loc": { "start": { - "line": 272, - "column": 27 + "line": 321, + "column": 8 }, "end": { - "line": 272, - "column": 59 + "line": 321, + "column": 38 } }, "object": { "type": "Identifier", - "start": 14129, - "end": 14144, + "start": 14419, + "end": 14423, "loc": { "start": { - "line": 272, - "column": 27 + "line": 321, + "column": 8 }, "end": { - "line": 272, - "column": 42 + "line": 321, + "column": 12 }, - "identifierName": "textureSetsList" + "identifierName": "data" }, - "name": "textureSetsList" + "name": "data" }, "property": { "type": "Identifier", - "start": 14145, - "end": 14160, + "start": 14424, + "end": 14449, "loc": { "start": { - "line": 272, - "column": 43 + "line": 321, + "column": 13 }, "end": { - "line": 272, - "column": 58 + "line": 321, + "column": 38 }, - "identifierName": "textureSetIndex" + "identifierName": "eachGeometryColorsPortion" }, - "name": "textureSetIndex" + "name": "eachGeometryColorsPortion" }, - "computed": true - } + "computed": false + }, + "property": { + "type": "Identifier", + "start": 14451, + "end": 14464, + "loc": { + "start": { + "line": 321, + "column": 40 + }, + "end": { + "line": 321, + "column": 53 + }, + "identifierName": "geometryIndex" + }, + "name": "geometryIndex" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 14468, + "end": 14479, + "loc": { + "start": { + "line": 321, + "column": 57 + }, + "end": { + "line": 321, + "column": 68 + }, + "identifierName": "countColors" + }, + "name": "countColors" } - ], - "kind": "const" + } }, { "type": "ExpressionStatement", - "start": 14171, - "end": 14300, + "start": 14489, + "end": 14544, "loc": { "start": { - "line": 273, + "line": 322, "column": 8 }, "end": { - "line": 273, - "column": 137 + "line": 322, + "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 14171, - "end": 14299, + "start": 14489, + "end": 14543, "loc": { "start": { - "line": 273, + "line": 322, "column": 8 }, "end": { - "line": 273, - "column": 136 + "line": 322, + "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14171, - "end": 14229, + "start": 14489, + "end": 14532, "loc": { "start": { - "line": 273, + "line": 322, "column": 8 }, "end": { - "line": 273, - "column": 66 + "line": 322, + "column": 51 } }, "object": { "type": "MemberExpression", - "start": 14171, - "end": 14198, + "start": 14489, + "end": 14516, "loc": { "start": { - "line": 273, + "line": 322, "column": 8 }, "end": { - "line": 273, + "line": 322, "column": 35 } }, "object": { "type": "Identifier", - "start": 14171, - "end": 14175, + "start": 14489, + "end": 14493, "loc": { "start": { - "line": 273, + "line": 322, "column": 8 }, "end": { - "line": 273, + "line": 322, "column": 12 }, "identifierName": "data" @@ -21465,7163 +22951,3878 @@ }, "property": { "type": "Identifier", - "start": 14176, - "end": 14198, + "start": 14494, + "end": 14516, "loc": { "start": { - "line": 273, + "line": 322, "column": 13 }, "end": { - "line": 273, + "line": 322, "column": 35 }, - "identifierName": "eachTextureSetTextures" + "identifierName": "eachGeometryUVsPortion" }, - "name": "eachTextureSetTextures" + "name": "eachGeometryUVsPortion" }, "computed": false }, "property": { - "type": "UpdateExpression", - "start": 14199, - "end": 14228, + "type": "Identifier", + "start": 14518, + "end": 14531, "loc": { "start": { - "line": 273, - "column": 36 + "line": 322, + "column": 37 }, "end": { - "line": 273, - "column": 65 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 14199, - "end": 14226, - "loc": { - "start": { - "line": 273, - "column": 36 - }, - "end": { - "line": 273, - "column": 63 - }, - "identifierName": "eachTextureSetTexturesIndex" + "line": 322, + "column": 50 }, - "name": "eachTextureSetTexturesIndex" - } + "identifierName": "geometryIndex" + }, + "name": "geometryIndex" }, "computed": true }, "right": { - "type": "ConditionalExpression", - "start": 14232, - "end": 14299, + "type": "Identifier", + "start": 14535, + "end": 14543, "loc": { "start": { - "line": 273, - "column": 69 + "line": 322, + "column": 54 }, "end": { - "line": 273, - "column": 136 - } - }, - "test": { - "type": "MemberExpression", - "start": 14232, - "end": 14255, - "loc": { - "start": { - "line": 273, - "column": 69 - }, - "end": { - "line": 273, - "column": 92 - } - }, - "object": { - "type": "Identifier", - "start": 14232, - "end": 14242, - "loc": { - "start": { - "line": 273, - "column": 69 - }, - "end": { - "line": 273, - "column": 79 - }, - "identifierName": "textureSet" - }, - "name": "textureSet" - }, - "property": { - "type": "Identifier", - "start": 14243, - "end": 14255, - "loc": { - "start": { - "line": 273, - "column": 80 - }, - "end": { - "line": 273, - "column": 92 - }, - "identifierName": "colorTexture" - }, - "name": "colorTexture" - }, - "computed": false - }, - "consequent": { - "type": "MemberExpression", - "start": 14258, - "end": 14294, - "loc": { - "start": { - "line": 273, - "column": 95 - }, - "end": { - "line": 273, - "column": 131 - } - }, - "object": { - "type": "MemberExpression", - "start": 14258, - "end": 14281, - "loc": { - "start": { - "line": 273, - "column": 95 - }, - "end": { - "line": 273, - "column": 118 - } - }, - "object": { - "type": "Identifier", - "start": 14258, - "end": 14268, - "loc": { - "start": { - "line": 273, - "column": 95 - }, - "end": { - "line": 273, - "column": 105 - }, - "identifierName": "textureSet" - }, - "name": "textureSet" - }, - "property": { - "type": "Identifier", - "start": 14269, - "end": 14281, - "loc": { - "start": { - "line": 273, - "column": 106 - }, - "end": { - "line": 273, - "column": 118 - }, - "identifierName": "colorTexture" - }, - "name": "colorTexture" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 14282, - "end": 14294, - "loc": { - "start": { - "line": 273, - "column": 119 - }, - "end": { - "line": 273, - "column": 131 - }, - "identifierName": "textureIndex" - }, - "name": "textureIndex" + "line": 322, + "column": 62 }, - "computed": false + "identifierName": "countUVs" }, - "alternate": { - "type": "UnaryExpression", - "start": 14297, - "end": 14299, - "loc": { - "start": { - "line": 273, - "column": 134 - }, - "end": { - "line": 273, - "column": 136 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 14298, - "end": 14299, - "loc": { - "start": { - "line": 273, - "column": 135 - }, - "end": { - "line": 273, - "column": 136 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false - } - } - } - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " Color map", - "start": 14301, - "end": 14313, - "loc": { - "start": { - "line": 273, - "column": 138 - }, - "end": { - "line": 273, - "column": 150 - } - } + "name": "countUVs" } - ] + } }, { "type": "ExpressionStatement", - "start": 14322, - "end": 14475, + "start": 14553, + "end": 14616, "loc": { "start": { - "line": 274, + "line": 323, "column": 8 }, "end": { - "line": 274, - "column": 161 + "line": 323, + "column": 71 } }, "expression": { "type": "AssignmentExpression", - "start": 14322, - "end": 14474, + "start": 14553, + "end": 14615, "loc": { "start": { - "line": 274, + "line": 323, "column": 8 }, "end": { - "line": 274, - "column": 160 + "line": 323, + "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14322, - "end": 14380, + "start": 14553, + "end": 14600, "loc": { "start": { - "line": 274, + "line": 323, "column": 8 }, "end": { - "line": 274, - "column": 66 + "line": 323, + "column": 55 } }, "object": { "type": "MemberExpression", - "start": 14322, - "end": 14349, + "start": 14553, + "end": 14584, "loc": { "start": { - "line": 274, + "line": 323, "column": 8 }, "end": { - "line": 274, - "column": 35 + "line": 323, + "column": 39 } }, "object": { "type": "Identifier", - "start": 14322, - "end": 14326, + "start": 14553, + "end": 14557, "loc": { "start": { - "line": 274, + "line": 323, "column": 8 }, "end": { - "line": 274, + "line": 323, "column": 12 }, "identifierName": "data" }, - "name": "data", - "leadingComments": null + "name": "data" }, "property": { "type": "Identifier", - "start": 14327, - "end": 14349, + "start": 14558, + "end": 14584, "loc": { "start": { - "line": 274, + "line": 323, "column": 13 }, "end": { - "line": 274, - "column": 35 + "line": 323, + "column": 39 }, - "identifierName": "eachTextureSetTextures" + "identifierName": "eachGeometryIndicesPortion" }, - "name": "eachTextureSetTextures" + "name": "eachGeometryIndicesPortion" }, - "computed": false, - "leadingComments": null + "computed": false }, "property": { - "type": "UpdateExpression", - "start": 14350, - "end": 14379, + "type": "Identifier", + "start": 14586, + "end": 14599, "loc": { "start": { - "line": 274, - "column": 36 + "line": 323, + "column": 41 }, "end": { - "line": 274, - "column": 65 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 14350, - "end": 14377, - "loc": { - "start": { - "line": 274, - "column": 36 - }, - "end": { - "line": 274, - "column": 63 - }, - "identifierName": "eachTextureSetTexturesIndex" + "line": 323, + "column": 54 }, - "name": "eachTextureSetTexturesIndex" - } + "identifierName": "geometryIndex" + }, + "name": "geometryIndex" }, - "computed": true, - "leadingComments": null + "computed": true }, "right": { - "type": "ConditionalExpression", - "start": 14383, - "end": 14474, + "type": "Identifier", + "start": 14603, + "end": 14615, "loc": { "start": { - "line": 274, - "column": 69 + "line": 323, + "column": 58 }, "end": { - "line": 274, - "column": 160 - } - }, - "test": { - "type": "MemberExpression", - "start": 14383, - "end": 14418, - "loc": { - "start": { - "line": 274, - "column": 69 - }, - "end": { - "line": 274, - "column": 104 - } - }, - "object": { - "type": "Identifier", - "start": 14383, - "end": 14393, - "loc": { - "start": { - "line": 274, - "column": 69 - }, - "end": { - "line": 274, - "column": 79 - }, - "identifierName": "textureSet" - }, - "name": "textureSet" - }, - "property": { - "type": "Identifier", - "start": 14394, - "end": 14418, - "loc": { - "start": { - "line": 274, - "column": 80 - }, - "end": { - "line": 274, - "column": 104 - }, - "identifierName": "metallicRoughnessTexture" - }, - "name": "metallicRoughnessTexture" - }, - "computed": false - }, - "consequent": { - "type": "MemberExpression", - "start": 14421, - "end": 14469, - "loc": { - "start": { - "line": 274, - "column": 107 - }, - "end": { - "line": 274, - "column": 155 - } - }, - "object": { - "type": "MemberExpression", - "start": 14421, - "end": 14456, - "loc": { - "start": { - "line": 274, - "column": 107 - }, - "end": { - "line": 274, - "column": 142 - } - }, - "object": { - "type": "Identifier", - "start": 14421, - "end": 14431, - "loc": { - "start": { - "line": 274, - "column": 107 - }, - "end": { - "line": 274, - "column": 117 - }, - "identifierName": "textureSet" - }, - "name": "textureSet" - }, - "property": { - "type": "Identifier", - "start": 14432, - "end": 14456, - "loc": { - "start": { - "line": 274, - "column": 118 - }, - "end": { - "line": 274, - "column": 142 - }, - "identifierName": "metallicRoughnessTexture" - }, - "name": "metallicRoughnessTexture" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 14457, - "end": 14469, - "loc": { - "start": { - "line": 274, - "column": 143 - }, - "end": { - "line": 274, - "column": 155 - }, - "identifierName": "textureIndex" - }, - "name": "textureIndex" + "line": 323, + "column": 70 }, - "computed": false + "identifierName": "countIndices" }, - "alternate": { - "type": "UnaryExpression", - "start": 14472, - "end": 14474, - "loc": { - "start": { - "line": 274, - "column": 158 - }, - "end": { - "line": 274, - "column": 160 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 14473, - "end": 14474, - "loc": { - "start": { - "line": 274, - "column": 159 - }, - "end": { - "line": 274, - "column": 160 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false - } - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Color map", - "start": 14301, - "end": 14313, - "loc": { - "start": { - "line": 273, - "column": 138 - }, - "end": { - "line": 273, - "column": 150 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Metal/rough map", - "start": 14476, - "end": 14494, - "loc": { - "start": { - "line": 274, - "column": 162 - }, - "end": { - "line": 274, - "column": 180 - } - } + "name": "countIndices" } - ] + } }, { "type": "ExpressionStatement", - "start": 14503, - "end": 14636, + "start": 14625, + "end": 14696, "loc": { "start": { - "line": 275, + "line": 324, "column": 8 }, "end": { - "line": 275, - "column": 141 + "line": 324, + "column": 79 } }, "expression": { "type": "AssignmentExpression", - "start": 14503, - "end": 14635, + "start": 14625, + "end": 14695, "loc": { "start": { - "line": 275, + "line": 324, "column": 8 }, "end": { - "line": 275, - "column": 140 + "line": 324, + "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 14503, - "end": 14561, + "start": 14625, + "end": 14676, "loc": { "start": { - "line": 275, + "line": 324, "column": 8 }, "end": { - "line": 275, - "column": 66 + "line": 324, + "column": 59 } }, "object": { "type": "MemberExpression", - "start": 14503, - "end": 14530, + "start": 14625, + "end": 14660, "loc": { "start": { - "line": 275, + "line": 324, "column": 8 }, "end": { - "line": 275, - "column": 35 + "line": 324, + "column": 43 } }, "object": { "type": "Identifier", - "start": 14503, - "end": 14507, + "start": 14625, + "end": 14629, "loc": { "start": { - "line": 275, + "line": 324, "column": 8 }, "end": { - "line": 275, + "line": 324, "column": 12 }, "identifierName": "data" }, - "name": "data", - "leadingComments": null + "name": "data" }, "property": { "type": "Identifier", - "start": 14508, - "end": 14530, + "start": 14630, + "end": 14660, "loc": { "start": { - "line": 275, + "line": 324, "column": 13 }, "end": { - "line": 275, - "column": 35 + "line": 324, + "column": 43 }, - "identifierName": "eachTextureSetTextures" + "identifierName": "eachGeometryEdgeIndicesPortion" }, - "name": "eachTextureSetTextures" + "name": "eachGeometryEdgeIndicesPortion" }, - "computed": false, - "leadingComments": null + "computed": false }, "property": { - "type": "UpdateExpression", - "start": 14531, - "end": 14560, + "type": "Identifier", + "start": 14662, + "end": 14675, "loc": { "start": { - "line": 275, - "column": 36 + "line": 324, + "column": 45 }, "end": { - "line": 275, - "column": 65 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 14531, - "end": 14558, - "loc": { - "start": { - "line": 275, - "column": 36 - }, - "end": { - "line": 275, - "column": 63 - }, - "identifierName": "eachTextureSetTexturesIndex" + "line": 324, + "column": 58 }, - "name": "eachTextureSetTexturesIndex" - } + "identifierName": "geometryIndex" + }, + "name": "geometryIndex" }, - "computed": true, - "leadingComments": null + "computed": true }, "right": { - "type": "ConditionalExpression", - "start": 14564, - "end": 14635, + "type": "Identifier", + "start": 14679, + "end": 14695, "loc": { "start": { - "line": 275, - "column": 69 + "line": 324, + "column": 62 }, "end": { - "line": 275, - "column": 140 - } - }, - "test": { - "type": "MemberExpression", - "start": 14564, - "end": 14589, - "loc": { - "start": { - "line": 275, - "column": 69 - }, - "end": { - "line": 275, - "column": 94 - } - }, - "object": { - "type": "Identifier", - "start": 14564, - "end": 14574, - "loc": { - "start": { - "line": 275, - "column": 69 - }, - "end": { - "line": 275, - "column": 79 - }, - "identifierName": "textureSet" - }, - "name": "textureSet" - }, - "property": { - "type": "Identifier", - "start": 14575, - "end": 14589, - "loc": { - "start": { - "line": 275, - "column": 80 - }, - "end": { - "line": 275, - "column": 94 - }, - "identifierName": "normalsTexture" - }, - "name": "normalsTexture" + "line": 324, + "column": 78 }, - "computed": false + "identifierName": "countEdgeIndices" }, - "consequent": { - "type": "MemberExpression", - "start": 14592, - "end": 14630, - "loc": { - "start": { - "line": 275, - "column": 97 - }, - "end": { - "line": 275, - "column": 135 - } - }, - "object": { - "type": "MemberExpression", - "start": 14592, - "end": 14617, - "loc": { - "start": { - "line": 275, - "column": 97 - }, - "end": { - "line": 275, - "column": 122 - } - }, - "object": { - "type": "Identifier", - "start": 14592, - "end": 14602, - "loc": { - "start": { - "line": 275, - "column": 97 - }, - "end": { - "line": 275, - "column": 107 - }, - "identifierName": "textureSet" - }, - "name": "textureSet" - }, - "property": { - "type": "Identifier", - "start": 14603, - "end": 14617, - "loc": { - "start": { - "line": 275, - "column": 108 - }, - "end": { - "line": 275, - "column": 122 - }, - "identifierName": "normalsTexture" - }, - "name": "normalsTexture" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 14618, - "end": 14630, - "loc": { - "start": { - "line": 275, - "column": 123 - }, - "end": { - "line": 275, - "column": 135 - }, - "identifierName": "textureIndex" - }, - "name": "textureIndex" - }, - "computed": false - }, - "alternate": { - "type": "UnaryExpression", - "start": 14633, - "end": 14635, - "loc": { - "start": { - "line": 275, - "column": 138 - }, - "end": { - "line": 275, - "column": 140 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 14634, - "end": 14635, - "loc": { - "start": { - "line": 275, - "column": 139 - }, - "end": { - "line": 275, - "column": 140 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false - } - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Metal/rough map", - "start": 14476, - "end": 14494, - "loc": { - "start": { - "line": 274, - "column": 162 - }, - "end": { - "line": 274, - "column": 180 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Normal map", - "start": 14637, - "end": 14650, - "loc": { - "start": { - "line": 275, - "column": 142 - }, - "end": { - "line": 275, - "column": 155 - } - } + "name": "countEdgeIndices" } - ] + } }, { - "type": "ExpressionStatement", - "start": 14659, - "end": 14794, + "type": "IfStatement", + "start": 14705, + "end": 14892, "loc": { "start": { - "line": 276, + "line": 325, "column": 8 }, "end": { - "line": 276, - "column": 143 + "line": 328, + "column": 9 } }, - "expression": { - "type": "AssignmentExpression", - "start": 14659, - "end": 14793, + "test": { + "type": "MemberExpression", + "start": 14709, + "end": 14736, "loc": { "start": { - "line": 276, - "column": 8 + "line": 325, + "column": 12 }, "end": { - "line": 276, - "column": 142 + "line": 325, + "column": 39 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 14659, + "object": { + "type": "Identifier", + "start": 14709, "end": 14717, "loc": { "start": { - "line": 276, - "column": 8 + "line": 325, + "column": 12 }, "end": { - "line": 276, - "column": 66 - } - }, - "object": { - "type": "MemberExpression", - "start": 14659, - "end": 14686, - "loc": { - "start": { - "line": 276, - "column": 8 - }, - "end": { - "line": 276, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 14659, - "end": 14663, - "loc": { - "start": { - "line": 276, - "column": 8 - }, - "end": { - "line": 276, - "column": 12 - }, - "identifierName": "data" - }, - "name": "data", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 14664, - "end": 14686, - "loc": { - "start": { - "line": 276, - "column": 13 - }, - "end": { - "line": 276, - "column": 35 - }, - "identifierName": "eachTextureSetTextures" - }, - "name": "eachTextureSetTextures" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "UpdateExpression", - "start": 14687, - "end": 14716, - "loc": { - "start": { - "line": 276, - "column": 36 - }, - "end": { - "line": 276, - "column": 65 - } + "line": 325, + "column": 20 }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 14687, - "end": 14714, - "loc": { - "start": { - "line": 276, - "column": 36 - }, - "end": { - "line": 276, - "column": 63 - }, - "identifierName": "eachTextureSetTexturesIndex" - }, - "name": "eachTextureSetTexturesIndex" - } + "identifierName": "geometry" }, - "computed": true, - "leadingComments": null + "name": "geometry" }, - "right": { - "type": "ConditionalExpression", - "start": 14720, - "end": 14793, + "property": { + "type": "Identifier", + "start": 14718, + "end": 14736, "loc": { "start": { - "line": 276, - "column": 69 + "line": 325, + "column": 21 }, "end": { - "line": 276, - "column": 142 - } + "line": 325, + "column": 39 + }, + "identifierName": "positionsQuantized" }, - "test": { - "type": "MemberExpression", - "start": 14720, - "end": 14746, + "name": "positionsQuantized" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 14738, + "end": 14892, + "loc": { + "start": { + "line": 325, + "column": 41 + }, + "end": { + "line": 328, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14752, + "end": 14816, "loc": { "start": { - "line": 276, - "column": 69 + "line": 326, + "column": 12 }, "end": { - "line": 276, - "column": 95 + "line": 326, + "column": 76 } }, - "object": { - "type": "Identifier", - "start": 14720, - "end": 14730, + "expression": { + "type": "CallExpression", + "start": 14752, + "end": 14815, "loc": { "start": { - "line": 276, - "column": 69 + "line": 326, + "column": 12 }, "end": { - "line": 276, - "column": 79 - }, - "identifierName": "textureSet" + "line": 326, + "column": 75 + } }, - "name": "textureSet" - }, - "property": { - "type": "Identifier", - "start": 14731, - "end": 14746, - "loc": { - "start": { - "line": 276, - "column": 80 + "callee": { + "type": "MemberExpression", + "start": 14752, + "end": 14770, + "loc": { + "start": { + "line": 326, + "column": 12 + }, + "end": { + "line": 326, + "column": 30 + } }, - "end": { - "line": 276, - "column": 95 + "object": { + "type": "MemberExpression", + "start": 14752, + "end": 14766, + "loc": { + "start": { + "line": 326, + "column": 12 + }, + "end": { + "line": 326, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 14752, + "end": 14756, + "loc": { + "start": { + "line": 326, + "column": 12 + }, + "end": { + "line": 326, + "column": 16 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 14757, + "end": 14766, + "loc": { + "start": { + "line": 326, + "column": 17 + }, + "end": { + "line": 326, + "column": 26 + }, + "identifierName": "positions" + }, + "name": "positions" + }, + "computed": false }, - "identifierName": "emissiveTexture" + "property": { + "type": "Identifier", + "start": 14767, + "end": 14770, + "loc": { + "start": { + "line": 326, + "column": 27 + }, + "end": { + "line": 326, + "column": 30 + }, + "identifierName": "set" + }, + "name": "set" + }, + "computed": false }, - "name": "emissiveTexture" - }, - "computed": false + "arguments": [ + { + "type": "MemberExpression", + "start": 14771, + "end": 14798, + "loc": { + "start": { + "line": 326, + "column": 31 + }, + "end": { + "line": 326, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 14771, + "end": 14779, + "loc": { + "start": { + "line": 326, + "column": 31 + }, + "end": { + "line": 326, + "column": 39 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 14780, + "end": 14798, + "loc": { + "start": { + "line": 326, + "column": 40 + }, + "end": { + "line": 326, + "column": 58 + }, + "identifierName": "positionsQuantized" + }, + "name": "positionsQuantized" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 14800, + "end": 14814, + "loc": { + "start": { + "line": 326, + "column": 60 + }, + "end": { + "line": 326, + "column": 74 + }, + "identifierName": "countPositions" + }, + "name": "countPositions" + } + ] + } }, - "consequent": { - "type": "MemberExpression", - "start": 14749, - "end": 14788, + { + "type": "ExpressionStatement", + "start": 14829, + "end": 14882, "loc": { "start": { - "line": 276, - "column": 98 + "line": 327, + "column": 12 }, "end": { - "line": 276, - "column": 137 + "line": 327, + "column": 65 } }, - "object": { - "type": "MemberExpression", - "start": 14749, - "end": 14775, + "expression": { + "type": "AssignmentExpression", + "start": 14829, + "end": 14881, "loc": { "start": { - "line": 276, - "column": 98 + "line": 327, + "column": 12 }, "end": { - "line": 276, - "column": 124 + "line": 327, + "column": 64 } }, - "object": { + "operator": "+=", + "left": { "type": "Identifier", - "start": 14749, - "end": 14759, + "start": 14829, + "end": 14843, "loc": { "start": { - "line": 276, - "column": 98 + "line": 327, + "column": 12 }, "end": { - "line": 276, - "column": 108 + "line": 327, + "column": 26 }, - "identifierName": "textureSet" + "identifierName": "countPositions" }, - "name": "textureSet" + "name": "countPositions" }, - "property": { - "type": "Identifier", - "start": 14760, - "end": 14775, + "right": { + "type": "MemberExpression", + "start": 14847, + "end": 14881, "loc": { "start": { - "line": 276, - "column": 109 + "line": 327, + "column": 30 }, "end": { - "line": 276, - "column": 124 - }, - "identifierName": "emissiveTexture" + "line": 327, + "column": 64 + } }, - "name": "emissiveTexture" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 14776, - "end": 14788, - "loc": { - "start": { - "line": 276, - "column": 125 + "object": { + "type": "MemberExpression", + "start": 14847, + "end": 14874, + "loc": { + "start": { + "line": 327, + "column": 30 + }, + "end": { + "line": 327, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 14847, + "end": 14855, + "loc": { + "start": { + "line": 327, + "column": 30 + }, + "end": { + "line": 327, + "column": 38 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 14856, + "end": 14874, + "loc": { + "start": { + "line": 327, + "column": 39 + }, + "end": { + "line": 327, + "column": 57 + }, + "identifierName": "positionsQuantized" + }, + "name": "positionsQuantized" + }, + "computed": false }, - "end": { - "line": 276, - "column": 137 + "property": { + "type": "Identifier", + "start": 14875, + "end": 14881, + "loc": { + "start": { + "line": 327, + "column": 58 + }, + "end": { + "line": 327, + "column": 64 + }, + "identifierName": "length" + }, + "name": "length" }, - "identifierName": "textureIndex" - }, - "name": "textureIndex" - }, - "computed": false - }, - "alternate": { - "type": "UnaryExpression", - "start": 14791, - "end": 14793, - "loc": { - "start": { - "line": 276, - "column": 140 - }, - "end": { - "line": 276, - "column": 142 + "computed": false } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 14792, - "end": 14793, - "loc": { - "start": { - "line": 276, - "column": 141 - }, - "end": { - "line": 276, - "column": 142 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false } } - }, - "leadingComments": null + ], + "directives": [] }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Normal map", - "start": 14637, - "end": 14650, - "loc": { - "start": { - "line": 275, - "column": 142 - }, - "end": { - "line": 275, - "column": 155 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Emissive map", - "start": 14795, - "end": 14810, - "loc": { - "start": { - "line": 276, - "column": 144 - }, - "end": { - "line": 276, - "column": 159 - } - } - } - ] + "alternate": null }, { - "type": "ExpressionStatement", - "start": 14819, - "end": 14956, + "type": "IfStatement", + "start": 14901, + "end": 15079, "loc": { "start": { - "line": 277, + "line": 329, "column": 8 }, "end": { - "line": 277, - "column": 145 + "line": 332, + "column": 9 } }, - "expression": { - "type": "AssignmentExpression", - "start": 14819, - "end": 14955, + "test": { + "type": "MemberExpression", + "start": 14905, + "end": 14931, "loc": { "start": { - "line": 277, - "column": 8 + "line": 329, + "column": 12 }, "end": { - "line": 277, - "column": 144 + "line": 329, + "column": 38 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 14819, - "end": 14877, + "object": { + "type": "Identifier", + "start": 14905, + "end": 14913, "loc": { "start": { - "line": 277, - "column": 8 + "line": 329, + "column": 12 }, "end": { - "line": 277, - "column": 66 - } - }, - "object": { - "type": "MemberExpression", - "start": 14819, - "end": 14846, - "loc": { - "start": { - "line": 277, - "column": 8 - }, - "end": { - "line": 277, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 14819, - "end": 14823, - "loc": { - "start": { - "line": 277, - "column": 8 - }, - "end": { - "line": 277, - "column": 12 - }, - "identifierName": "data" - }, - "name": "data", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 14824, - "end": 14846, - "loc": { - "start": { - "line": 277, - "column": 13 - }, - "end": { - "line": 277, - "column": 35 - }, - "identifierName": "eachTextureSetTextures" - }, - "name": "eachTextureSetTextures" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "UpdateExpression", - "start": 14847, - "end": 14876, - "loc": { - "start": { - "line": 277, - "column": 36 - }, - "end": { - "line": 277, - "column": 65 - } + "line": 329, + "column": 20 }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 14847, - "end": 14874, - "loc": { - "start": { - "line": 277, - "column": 36 - }, - "end": { - "line": 277, - "column": 63 - }, - "identifierName": "eachTextureSetTexturesIndex" - }, - "name": "eachTextureSetTexturesIndex" - } + "identifierName": "geometry" }, - "computed": true, - "leadingComments": null + "name": "geometry" }, - "right": { - "type": "ConditionalExpression", - "start": 14880, - "end": 14955, + "property": { + "type": "Identifier", + "start": 14914, + "end": 14931, "loc": { "start": { - "line": 277, - "column": 69 + "line": 329, + "column": 21 }, "end": { - "line": 277, - "column": 144 - } + "line": 329, + "column": 38 + }, + "identifierName": "normalsOctEncoded" }, - "test": { - "type": "MemberExpression", - "start": 14880, - "end": 14907, + "name": "normalsOctEncoded" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 14933, + "end": 15079, + "loc": { + "start": { + "line": 329, + "column": 40 + }, + "end": { + "line": 332, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14947, + "end": 15006, "loc": { "start": { - "line": 277, - "column": 69 + "line": 330, + "column": 12 }, "end": { - "line": 277, - "column": 96 + "line": 330, + "column": 71 } }, - "object": { - "type": "Identifier", - "start": 14880, - "end": 14890, + "expression": { + "type": "CallExpression", + "start": 14947, + "end": 15005, "loc": { "start": { - "line": 277, - "column": 69 + "line": 330, + "column": 12 }, "end": { - "line": 277, - "column": 79 - }, - "identifierName": "textureSet" + "line": 330, + "column": 70 + } }, - "name": "textureSet" - }, - "property": { - "type": "Identifier", - "start": 14891, - "end": 14907, - "loc": { - "start": { - "line": 277, - "column": 80 + "callee": { + "type": "MemberExpression", + "start": 14947, + "end": 14963, + "loc": { + "start": { + "line": 330, + "column": 12 + }, + "end": { + "line": 330, + "column": 28 + } }, - "end": { - "line": 277, - "column": 96 + "object": { + "type": "MemberExpression", + "start": 14947, + "end": 14959, + "loc": { + "start": { + "line": 330, + "column": 12 + }, + "end": { + "line": 330, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 14947, + "end": 14951, + "loc": { + "start": { + "line": 330, + "column": 12 + }, + "end": { + "line": 330, + "column": 16 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 14952, + "end": 14959, + "loc": { + "start": { + "line": 330, + "column": 17 + }, + "end": { + "line": 330, + "column": 24 + }, + "identifierName": "normals" + }, + "name": "normals" + }, + "computed": false }, - "identifierName": "occlusionTexture" + "property": { + "type": "Identifier", + "start": 14960, + "end": 14963, + "loc": { + "start": { + "line": 330, + "column": 25 + }, + "end": { + "line": 330, + "column": 28 + }, + "identifierName": "set" + }, + "name": "set" + }, + "computed": false }, - "name": "occlusionTexture" - }, - "computed": false + "arguments": [ + { + "type": "MemberExpression", + "start": 14964, + "end": 14990, + "loc": { + "start": { + "line": 330, + "column": 29 + }, + "end": { + "line": 330, + "column": 55 + } + }, + "object": { + "type": "Identifier", + "start": 14964, + "end": 14972, + "loc": { + "start": { + "line": 330, + "column": 29 + }, + "end": { + "line": 330, + "column": 37 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 14973, + "end": 14990, + "loc": { + "start": { + "line": 330, + "column": 38 + }, + "end": { + "line": 330, + "column": 55 + }, + "identifierName": "normalsOctEncoded" + }, + "name": "normalsOctEncoded" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 14992, + "end": 15004, + "loc": { + "start": { + "line": 330, + "column": 57 + }, + "end": { + "line": 330, + "column": 69 + }, + "identifierName": "countNormals" + }, + "name": "countNormals" + } + ] + } }, - "consequent": { - "type": "MemberExpression", - "start": 14910, - "end": 14950, + { + "type": "ExpressionStatement", + "start": 15019, + "end": 15069, "loc": { "start": { - "line": 277, - "column": 99 + "line": 331, + "column": 12 }, "end": { - "line": 277, - "column": 139 + "line": 331, + "column": 62 } }, - "object": { - "type": "MemberExpression", - "start": 14910, - "end": 14937, + "expression": { + "type": "AssignmentExpression", + "start": 15019, + "end": 15068, "loc": { "start": { - "line": 277, - "column": 99 + "line": 331, + "column": 12 }, "end": { - "line": 277, - "column": 126 + "line": 331, + "column": 61 } }, - "object": { + "operator": "+=", + "left": { "type": "Identifier", - "start": 14910, - "end": 14920, + "start": 15019, + "end": 15031, "loc": { "start": { - "line": 277, - "column": 99 + "line": 331, + "column": 12 }, "end": { - "line": 277, - "column": 109 + "line": 331, + "column": 24 }, - "identifierName": "textureSet" + "identifierName": "countNormals" }, - "name": "textureSet" + "name": "countNormals" }, - "property": { - "type": "Identifier", - "start": 14921, - "end": 14937, + "right": { + "type": "MemberExpression", + "start": 15035, + "end": 15068, "loc": { "start": { - "line": 277, - "column": 110 + "line": 331, + "column": 28 }, "end": { - "line": 277, - "column": 126 - }, - "identifierName": "occlusionTexture" + "line": 331, + "column": 61 + } }, - "name": "occlusionTexture" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 14938, - "end": 14950, - "loc": { - "start": { - "line": 277, - "column": 127 + "object": { + "type": "MemberExpression", + "start": 15035, + "end": 15061, + "loc": { + "start": { + "line": 331, + "column": 28 + }, + "end": { + "line": 331, + "column": 54 + } + }, + "object": { + "type": "Identifier", + "start": 15035, + "end": 15043, + "loc": { + "start": { + "line": 331, + "column": 28 + }, + "end": { + "line": 331, + "column": 36 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 15044, + "end": 15061, + "loc": { + "start": { + "line": 331, + "column": 37 + }, + "end": { + "line": 331, + "column": 54 + }, + "identifierName": "normalsOctEncoded" + }, + "name": "normalsOctEncoded" + }, + "computed": false }, - "end": { - "line": 277, - "column": 139 + "property": { + "type": "Identifier", + "start": 15062, + "end": 15068, + "loc": { + "start": { + "line": 331, + "column": 55 + }, + "end": { + "line": 331, + "column": 61 + }, + "identifierName": "length" + }, + "name": "length" }, - "identifierName": "textureIndex" - }, - "name": "textureIndex" - }, - "computed": false - }, - "alternate": { - "type": "UnaryExpression", - "start": 14953, - "end": 14955, - "loc": { - "start": { - "line": 277, - "column": 142 - }, - "end": { - "line": 277, - "column": 144 + "computed": false } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 14954, - "end": 14955, - "loc": { - "start": { - "line": 277, - "column": 143 - }, - "end": { - "line": 277, - "column": 144 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false } } - }, - "leadingComments": null + ], + "directives": [] }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Emissive map", - "start": 14795, - "end": 14810, - "loc": { - "start": { - "line": 276, - "column": 144 - }, - "end": { - "line": 276, - "column": 159 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Occlusion map", - "start": 14957, - "end": 14973, - "loc": { - "start": { - "line": 277, - "column": 146 - }, - "end": { - "line": 277, - "column": 162 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Texture sets", - "start": 13913, - "end": 13928, - "loc": { - "start": { - "line": 269, - "column": 4 - }, - "end": { - "line": 269, - "column": 19 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Tiles -> Entities -> Meshes", - "start": 14985, - "end": 15015, - "loc": { - "start": { - "line": 280, - "column": 4 - }, - "end": { - "line": 280, - "column": 34 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 15021, - "end": 15041, - "loc": { - "start": { - "line": 282, - "column": 4 - }, - "end": { - "line": 282, - "column": 24 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15025, - "end": 15040, - "loc": { - "start": { - "line": 282, - "column": 8 - }, - "end": { - "line": 282, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 15025, - "end": 15036, - "loc": { - "start": { - "line": 282, - "column": 8 - }, - "end": { - "line": 282, - "column": 19 - }, - "identifierName": "entityIndex" - }, - "name": "entityIndex", - "leadingComments": null - }, - "init": { - "type": "NumericLiteral", - "start": 15039, - "end": 15040, - "loc": { - "start": { - "line": 282, - "column": 22 - }, - "end": { - "line": 282, - "column": 23 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentLine", - "value": " Tiles -> Entities -> Meshes", - "start": 14985, - "end": 15015, - "loc": { - "start": { - "line": 280, - "column": 4 - }, - "end": { - "line": 280, - "column": 34 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 15046, - "end": 15079, - "loc": { - "start": { - "line": 283, - "column": 4 - }, - "end": { - "line": 283, - "column": 37 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15050, - "end": 15078, - "loc": { - "start": { - "line": 283, - "column": 8 - }, - "end": { - "line": 283, - "column": 36 - } - }, - "id": { - "type": "Identifier", - "start": 15050, - "end": 15074, - "loc": { - "start": { - "line": 283, - "column": 8 - }, - "end": { - "line": 283, - "column": 32 - }, - "identifierName": "countEntityMeshesPortion" - }, - "name": "countEntityMeshesPortion" - }, - "init": { - "type": "NumericLiteral", - "start": 15077, - "end": 15078, - "loc": { - "start": { - "line": 283, - "column": 35 - }, - "end": { - "line": 283, - "column": 36 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 15084, - "end": 15124, - "loc": { - "start": { - "line": 284, - "column": 4 - }, - "end": { - "line": 284, - "column": 44 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15088, - "end": 15123, - "loc": { - "start": { - "line": 284, - "column": 8 - }, - "end": { - "line": 284, - "column": 43 - } + "alternate": null }, - "id": { - "type": "Identifier", + { + "type": "IfStatement", "start": 15088, - "end": 15119, - "loc": { - "start": { - "line": 284, - "column": 8 - }, - "end": { - "line": 284, - "column": 39 - }, - "identifierName": "eachMeshMaterialAttributesIndex" - }, - "name": "eachMeshMaterialAttributesIndex" - }, - "init": { - "type": "NumericLiteral", - "start": 15122, - "end": 15123, - "loc": { - "start": { - "line": 284, - "column": 42 - }, - "end": { - "line": 284, - "column": 43 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 15129, - "end": 15151, - "loc": { - "start": { - "line": 285, - "column": 4 - }, - "end": { - "line": 285, - "column": 26 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15133, - "end": 15150, - "loc": { - "start": { - "line": 285, - "column": 8 - }, - "end": { - "line": 285, - "column": 25 - } - }, - "id": { - "type": "Identifier", - "start": 15133, - "end": 15146, - "loc": { - "start": { - "line": 285, - "column": 8 - }, - "end": { - "line": 285, - "column": 21 - }, - "identifierName": "matricesIndex" - }, - "name": "matricesIndex" - }, - "init": { - "type": "NumericLiteral", - "start": 15149, - "end": 15150, - "loc": { - "start": { - "line": 285, - "column": 24 - }, - "end": { - "line": 285, - "column": 25 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 15156, - "end": 15174, - "loc": { - "start": { - "line": 286, - "column": 4 - }, - "end": { - "line": 286, - "column": 22 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15160, - "end": 15173, - "loc": { - "start": { - "line": 286, - "column": 8 - }, - "end": { - "line": 286, - "column": 21 - } - }, - "id": { - "type": "Identifier", - "start": 15160, - "end": 15169, + "end": 15260, "loc": { "start": { - "line": 286, + "line": 333, "column": 8 }, "end": { - "line": 286, - "column": 17 - }, - "identifierName": "meshIndex" - }, - "name": "meshIndex" - }, - "init": { - "type": "NumericLiteral", - "start": 15172, - "end": 15173, - "loc": { - "start": { - "line": 286, - "column": 20 - }, - "end": { - "line": 286, - "column": 21 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - { - "type": "ForStatement", - "start": 15180, - "end": 17612, - "loc": { - "start": { - "line": 288, - "column": 4 - }, - "end": { - "line": 344, - "column": 5 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 15185, - "end": 15202, - "loc": { - "start": { - "line": 288, - "column": 9 - }, - "end": { - "line": 288, - "column": 26 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15189, - "end": 15202, - "loc": { - "start": { - "line": 288, - "column": 13 - }, - "end": { - "line": 288, - "column": 26 + "line": 336, + "column": 9 } }, - "id": { - "type": "Identifier", - "start": 15189, - "end": 15198, + "test": { + "type": "MemberExpression", + "start": 15092, + "end": 15117, "loc": { "start": { - "line": 288, - "column": 13 + "line": 333, + "column": 12 }, "end": { - "line": 288, - "column": 22 + "line": 333, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 15092, + "end": 15100, + "loc": { + "start": { + "line": 333, + "column": 12 + }, + "end": { + "line": 333, + "column": 20 + }, + "identifierName": "geometry" }, - "identifierName": "tileIndex" + "name": "geometry" }, - "name": "tileIndex" + "property": { + "type": "Identifier", + "start": 15101, + "end": 15117, + "loc": { + "start": { + "line": 333, + "column": 21 + }, + "end": { + "line": 333, + "column": 37 + }, + "identifierName": "colorsCompressed" + }, + "name": "colorsCompressed" + }, + "computed": false }, - "init": { - "type": "NumericLiteral", - "start": 15201, - "end": 15202, + "consequent": { + "type": "BlockStatement", + "start": 15119, + "end": 15260, "loc": { "start": { - "line": 288, - "column": 25 + "line": 333, + "column": 39 }, "end": { - "line": 288, - "column": 26 + "line": 336, + "column": 9 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - "test": { - "type": "BinaryExpression", - "start": 15204, - "end": 15224, - "loc": { - "start": { - "line": 288, - "column": 28 - }, - "end": { - "line": 288, - "column": 48 - } - }, - "left": { - "type": "Identifier", - "start": 15204, - "end": 15213, - "loc": { - "start": { - "line": 288, - "column": 28 - }, - "end": { - "line": 288, - "column": 37 - }, - "identifierName": "tileIndex" - }, - "name": "tileIndex" - }, - "operator": "<", - "right": { - "type": "Identifier", - "start": 15216, - "end": 15224, - "loc": { - "start": { - "line": 288, - "column": 40 - }, - "end": { - "line": 288, - "column": 48 - }, - "identifierName": "numTiles" - }, - "name": "numTiles" - } - }, - "update": { - "type": "UpdateExpression", - "start": 15226, - "end": 15237, - "loc": { - "start": { - "line": 288, - "column": 50 - }, - "end": { - "line": 288, - "column": 61 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 15226, - "end": 15235, - "loc": { - "start": { - "line": 288, - "column": 50 - }, - "end": { - "line": 288, - "column": 59 - }, - "identifierName": "tileIndex" - }, - "name": "tileIndex" - } - }, - "body": { - "type": "BlockStatement", - "start": 15239, - "end": 17612, - "loc": { - "start": { - "line": 288, - "column": 63 - }, - "end": { - "line": 344, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 15250, - "end": 15285, - "loc": { - "start": { - "line": 290, - "column": 8 - }, - "end": { - "line": 290, - "column": 43 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15256, - "end": 15284, - "loc": { - "start": { - "line": 290, - "column": 14 - }, - "end": { - "line": 290, - "column": 42 - } - }, - "id": { - "type": "Identifier", - "start": 15256, - "end": 15260, - "loc": { - "start": { - "line": 290, - "column": 14 - }, - "end": { - "line": 290, - "column": 18 - }, - "identifierName": "tile" - }, - "name": "tile" - }, - "init": { - "type": "MemberExpression", - "start": 15263, - "end": 15284, + "body": [ + { + "type": "ExpressionStatement", + "start": 15133, + "end": 15189, "loc": { "start": { - "line": 290, - "column": 21 + "line": 334, + "column": 12 }, "end": { - "line": 290, - "column": 42 + "line": 334, + "column": 68 } }, - "object": { - "type": "Identifier", - "start": 15263, - "end": 15272, + "expression": { + "type": "CallExpression", + "start": 15133, + "end": 15188, "loc": { "start": { - "line": 290, - "column": 21 + "line": 334, + "column": 12 }, "end": { - "line": 290, - "column": 30 - }, - "identifierName": "tilesList" + "line": 334, + "column": 67 + } }, - "name": "tilesList" - }, - "property": { - "type": "Identifier", - "start": 15274, - "end": 15283, - "loc": { - "start": { - "line": 290, - "column": 32 - }, - "end": { - "line": 290, - "column": 41 + "callee": { + "type": "MemberExpression", + "start": 15133, + "end": 15148, + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 27 + } }, - "identifierName": "tileIndex" - }, - "name": "tileIndex" - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 15294, - "end": 15329, - "loc": { - "start": { - "line": 291, - "column": 8 - }, - "end": { - "line": 291, - "column": 43 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15300, - "end": 15328, - "loc": { - "start": { - "line": 291, - "column": 14 - }, - "end": { - "line": 291, - "column": 42 - } - }, - "id": { - "type": "Identifier", - "start": 15300, - "end": 15312, - "loc": { - "start": { - "line": 291, - "column": 14 - }, - "end": { - "line": 291, - "column": 26 - }, - "identifierName": "tileEntities" - }, - "name": "tileEntities" - }, - "init": { - "type": "MemberExpression", - "start": 15315, - "end": 15328, - "loc": { - "start": { - "line": 291, - "column": 29 - }, - "end": { - "line": 291, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 15315, - "end": 15319, - "loc": { - "start": { - "line": 291, - "column": 29 + "object": { + "type": "MemberExpression", + "start": 15133, + "end": 15144, + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 15133, + "end": 15137, + "loc": { + "start": { + "line": 334, + "column": 12 + }, + "end": { + "line": 334, + "column": 16 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 15138, + "end": 15144, + "loc": { + "start": { + "line": 334, + "column": 17 + }, + "end": { + "line": 334, + "column": 23 + }, + "identifierName": "colors" + }, + "name": "colors" + }, + "computed": false }, - "end": { - "line": 291, - "column": 33 + "property": { + "type": "Identifier", + "start": 15145, + "end": 15148, + "loc": { + "start": { + "line": 334, + "column": 24 + }, + "end": { + "line": 334, + "column": 27 + }, + "identifierName": "set" + }, + "name": "set" }, - "identifierName": "tile" + "computed": false }, - "name": "tile" - }, - "property": { - "type": "Identifier", - "start": 15320, - "end": 15328, - "loc": { - "start": { - "line": 291, - "column": 34 - }, - "end": { - "line": 291, - "column": 42 + "arguments": [ + { + "type": "MemberExpression", + "start": 15149, + "end": 15174, + "loc": { + "start": { + "line": 334, + "column": 28 + }, + "end": { + "line": 334, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 15149, + "end": 15157, + "loc": { + "start": { + "line": 334, + "column": 28 + }, + "end": { + "line": 334, + "column": 36 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 15158, + "end": 15174, + "loc": { + "start": { + "line": 334, + "column": 37 + }, + "end": { + "line": 334, + "column": 53 + }, + "identifierName": "colorsCompressed" + }, + "name": "colorsCompressed" + }, + "computed": false }, - "identifierName": "entities" - }, - "name": "entities" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 15338, - "end": 15382, - "loc": { - "start": { - "line": 292, - "column": 8 - }, - "end": { - "line": 292, - "column": 52 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15344, - "end": 15381, - "loc": { - "start": { - "line": 292, - "column": 14 - }, - "end": { - "line": 292, - "column": 51 + { + "type": "Identifier", + "start": 15176, + "end": 15187, + "loc": { + "start": { + "line": 334, + "column": 55 + }, + "end": { + "line": 334, + "column": 66 + }, + "identifierName": "countColors" + }, + "name": "countColors" + } + ] } }, - "id": { - "type": "Identifier", - "start": 15344, - "end": 15359, - "loc": { - "start": { - "line": 292, - "column": 14 - }, - "end": { - "line": 292, - "column": 29 - }, - "identifierName": "numTileEntities" - }, - "name": "numTileEntities" - }, - "init": { - "type": "MemberExpression", - "start": 15362, - "end": 15381, + { + "type": "ExpressionStatement", + "start": 15202, + "end": 15250, "loc": { "start": { - "line": 292, - "column": 32 + "line": 335, + "column": 12 }, "end": { - "line": 292, - "column": 51 + "line": 335, + "column": 60 } }, - "object": { - "type": "Identifier", - "start": 15362, - "end": 15374, + "expression": { + "type": "AssignmentExpression", + "start": 15202, + "end": 15249, "loc": { "start": { - "line": 292, - "column": 32 + "line": 335, + "column": 12 }, "end": { - "line": 292, - "column": 44 + "line": 335, + "column": 59 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 15202, + "end": 15213, + "loc": { + "start": { + "line": 335, + "column": 12 + }, + "end": { + "line": 335, + "column": 23 + }, + "identifierName": "countColors" }, - "identifierName": "tileEntities" + "name": "countColors" }, - "name": "tileEntities" - }, - "property": { - "type": "Identifier", - "start": 15375, - "end": 15381, - "loc": { - "start": { - "line": 292, - "column": 45 + "right": { + "type": "MemberExpression", + "start": 15217, + "end": 15249, + "loc": { + "start": { + "line": 335, + "column": 27 + }, + "end": { + "line": 335, + "column": 59 + } }, - "end": { - "line": 292, - "column": 51 + "object": { + "type": "MemberExpression", + "start": 15217, + "end": 15242, + "loc": { + "start": { + "line": 335, + "column": 27 + }, + "end": { + "line": 335, + "column": 52 + } + }, + "object": { + "type": "Identifier", + "start": 15217, + "end": 15225, + "loc": { + "start": { + "line": 335, + "column": 27 + }, + "end": { + "line": 335, + "column": 35 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 15226, + "end": 15242, + "loc": { + "start": { + "line": 335, + "column": 36 + }, + "end": { + "line": 335, + "column": 52 + }, + "identifierName": "colorsCompressed" + }, + "name": "colorsCompressed" + }, + "computed": false }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false + "property": { + "type": "Identifier", + "start": 15243, + "end": 15249, + "loc": { + "start": { + "line": 335, + "column": 53 + }, + "end": { + "line": 335, + "column": 59 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } } - } - ], - "kind": "const" + ], + "directives": [] + }, + "alternate": null }, { "type": "IfStatement", - "start": 15392, - "end": 15452, + "start": 15269, + "end": 15393, "loc": { "start": { - "line": 294, + "line": 337, "column": 8 }, "end": { - "line": 296, + "line": 340, "column": 9 } }, "test": { - "type": "BinaryExpression", - "start": 15396, - "end": 15417, + "type": "MemberExpression", + "start": 15273, + "end": 15285, "loc": { "start": { - "line": 294, + "line": 337, "column": 12 }, "end": { - "line": 294, - "column": 33 + "line": 337, + "column": 24 } }, - "left": { + "object": { "type": "Identifier", - "start": 15396, - "end": 15411, + "start": 15273, + "end": 15281, "loc": { "start": { - "line": 294, + "line": 337, "column": 12 }, "end": { - "line": 294, - "column": 27 + "line": 337, + "column": 20 }, - "identifierName": "numTileEntities" + "identifierName": "geometry" }, - "name": "numTileEntities" + "name": "geometry" }, - "operator": "===", - "right": { - "type": "NumericLiteral", - "start": 15416, - "end": 15417, + "property": { + "type": "Identifier", + "start": 15282, + "end": 15285, "loc": { "start": { - "line": 294, - "column": 32 + "line": 337, + "column": 21 }, "end": { - "line": 294, - "column": 33 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" + "line": 337, + "column": 24 + }, + "identifierName": "uvs" }, - "value": 0 - } + "name": "uvs" + }, + "computed": false }, "consequent": { "type": "BlockStatement", - "start": 15419, - "end": 15452, + "start": 15287, + "end": 15393, "loc": { "start": { - "line": 294, - "column": 35 + "line": 337, + "column": 26 }, "end": { - "line": 296, + "line": 340, "column": 9 } }, "body": [ { - "type": "ContinueStatement", - "start": 15433, - "end": 15442, + "type": "ExpressionStatement", + "start": 15301, + "end": 15338, "loc": { "start": { - "line": 295, + "line": 338, "column": 12 }, "end": { - "line": 295, - "column": 21 + "line": 338, + "column": 49 } }, - "label": null - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 15462, - "end": 15516, - "loc": { - "start": { - "line": 298, - "column": 8 - }, - "end": { - "line": 298, - "column": 62 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 15462, - "end": 15515, - "loc": { - "start": { - "line": 298, - "column": 8 - }, - "end": { - "line": 298, - "column": 61 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 15462, - "end": 15501, - "loc": { - "start": { - "line": 298, - "column": 8 - }, - "end": { - "line": 298, - "column": 47 - } - }, - "object": { - "type": "MemberExpression", - "start": 15462, - "end": 15490, - "loc": { - "start": { - "line": 298, - "column": 8 - }, - "end": { - "line": 298, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 15462, - "end": 15466, + "expression": { + "type": "CallExpression", + "start": 15301, + "end": 15337, "loc": { "start": { - "line": 298, - "column": 8 - }, - "end": { - "line": 298, + "line": 338, "column": 12 }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 15467, - "end": 15490, - "loc": { - "start": { - "line": 298, - "column": 13 - }, - "end": { - "line": 298, - "column": 36 - }, - "identifierName": "eachTileEntitiesPortion" - }, - "name": "eachTileEntitiesPortion" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15491, - "end": 15500, - "loc": { - "start": { - "line": 298, - "column": 37 - }, - "end": { - "line": 298, - "column": 46 - }, - "identifierName": "tileIndex" - }, - "name": "tileIndex" - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 15504, - "end": 15515, - "loc": { - "start": { - "line": 298, - "column": 50 - }, - "end": { - "line": 298, - "column": 61 - }, - "identifierName": "entityIndex" - }, - "name": "entityIndex" - } - } - }, - { - "type": "VariableDeclaration", - "start": 15526, - "end": 15553, - "loc": { - "start": { - "line": 300, - "column": 8 - }, - "end": { - "line": 300, - "column": 35 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15532, - "end": 15552, - "loc": { - "start": { - "line": 300, - "column": 14 - }, - "end": { - "line": 300, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 15532, - "end": 15540, - "loc": { - "start": { - "line": 300, - "column": 14 - }, - "end": { - "line": 300, - "column": 22 - }, - "identifierName": "tileAABB" - }, - "name": "tileAABB" - }, - "init": { - "type": "MemberExpression", - "start": 15543, - "end": 15552, - "loc": { - "start": { - "line": 300, - "column": 25 - }, - "end": { - "line": 300, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 15543, - "end": 15547, - "loc": { - "start": { - "line": 300, - "column": 25 - }, - "end": { - "line": 300, - "column": 29 - }, - "identifierName": "tile" - }, - "name": "tile" - }, - "property": { - "type": "Identifier", - "start": 15548, - "end": 15552, - "loc": { - "start": { - "line": 300, - "column": 30 - }, - "end": { - "line": 300, - "column": 34 - }, - "identifierName": "aabb" - }, - "name": "aabb" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "ForStatement", - "start": 15563, - "end": 17503, - "loc": { - "start": { - "line": 302, - "column": 8 - }, - "end": { - "line": 339, - "column": 9 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 15568, - "end": 15577, - "loc": { - "start": { - "line": 302, - "column": 13 - }, - "end": { - "line": 302, - "column": 22 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15572, - "end": 15577, - "loc": { - "start": { - "line": 302, - "column": 17 - }, - "end": { - "line": 302, - "column": 22 - } - }, - "id": { - "type": "Identifier", - "start": 15572, - "end": 15573, - "loc": { - "start": { - "line": 302, - "column": 17 - }, - "end": { - "line": 302, - "column": 18 - }, - "identifierName": "j" - }, - "name": "j" - }, - "init": { - "type": "NumericLiteral", - "start": 15576, - "end": 15577, - "loc": { - "start": { - "line": 302, - "column": 21 - }, "end": { - "line": 302, - "column": 22 + "line": 338, + "column": 48 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - "test": { - "type": "BinaryExpression", - "start": 15579, - "end": 15598, - "loc": { - "start": { - "line": 302, - "column": 24 - }, - "end": { - "line": 302, - "column": 43 - } - }, - "left": { - "type": "Identifier", - "start": 15579, - "end": 15580, - "loc": { - "start": { - "line": 302, - "column": 24 - }, - "end": { - "line": 302, - "column": 25 - }, - "identifierName": "j" - }, - "name": "j" - }, - "operator": "<", - "right": { - "type": "Identifier", - "start": 15583, - "end": 15598, - "loc": { - "start": { - "line": 302, - "column": 28 - }, - "end": { - "line": 302, - "column": 43 - }, - "identifierName": "numTileEntities" - }, - "name": "numTileEntities" - } - }, - "update": { - "type": "UpdateExpression", - "start": 15600, - "end": 15603, - "loc": { - "start": { - "line": 302, - "column": 45 - }, - "end": { - "line": 302, - "column": 48 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 15600, - "end": 15601, - "loc": { - "start": { - "line": 302, - "column": 45 - }, - "end": { - "line": 302, - "column": 46 - }, - "identifierName": "j" - }, - "name": "j" - } - }, - "body": { - "type": "BlockStatement", - "start": 15605, - "end": 17503, - "loc": { - "start": { - "line": 302, - "column": 50 - }, - "end": { - "line": 339, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 15620, - "end": 15651, - "loc": { - "start": { - "line": 304, - "column": 12 - }, - "end": { - "line": 304, - "column": 43 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15626, - "end": 15650, + "callee": { + "type": "MemberExpression", + "start": 15301, + "end": 15313, "loc": { "start": { - "line": 304, - "column": 18 + "line": 338, + "column": 12 }, "end": { - "line": 304, - "column": 42 + "line": 338, + "column": 24 } }, - "id": { - "type": "Identifier", - "start": 15626, - "end": 15632, - "loc": { - "start": { - "line": 304, - "column": 18 - }, - "end": { - "line": 304, - "column": 24 - }, - "identifierName": "entity" - }, - "name": "entity" - }, - "init": { + "object": { "type": "MemberExpression", - "start": 15635, - "end": 15650, + "start": 15301, + "end": 15309, "loc": { "start": { - "line": 304, - "column": 27 + "line": 338, + "column": 12 }, "end": { - "line": 304, - "column": 42 + "line": 338, + "column": 20 } }, "object": { "type": "Identifier", - "start": 15635, - "end": 15647, + "start": 15301, + "end": 15305, "loc": { "start": { - "line": 304, - "column": 27 + "line": 338, + "column": 12 }, "end": { - "line": 304, - "column": 39 + "line": 338, + "column": 16 }, - "identifierName": "tileEntities" + "identifierName": "data" }, - "name": "tileEntities" + "name": "data" }, "property": { "type": "Identifier", - "start": 15648, - "end": 15649, + "start": 15306, + "end": 15309, "loc": { "start": { - "line": 304, - "column": 40 + "line": 338, + "column": 17 }, "end": { - "line": 304, - "column": 41 + "line": 338, + "column": 20 }, - "identifierName": "j" + "identifierName": "uvs" }, - "name": "j" - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 15664, - "end": 15699, - "loc": { - "start": { - "line": 305, - "column": 12 - }, - "end": { - "line": 305, - "column": 47 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15670, - "end": 15698, - "loc": { - "start": { - "line": 305, - "column": 18 + "name": "uvs" }, - "end": { - "line": 305, - "column": 46 - } + "computed": false }, - "id": { + "property": { "type": "Identifier", - "start": 15670, - "end": 15682, + "start": 15310, + "end": 15313, "loc": { "start": { - "line": 305, - "column": 18 + "line": 338, + "column": 21 }, "end": { - "line": 305, - "column": 30 + "line": 338, + "column": 24 }, - "identifierName": "entityMeshes" + "identifierName": "set" }, - "name": "entityMeshes" + "name": "set" }, - "init": { + "computed": false + }, + "arguments": [ + { "type": "MemberExpression", - "start": 15685, - "end": 15698, + "start": 15314, + "end": 15326, "loc": { "start": { - "line": 305, - "column": 33 + "line": 338, + "column": 25 }, "end": { - "line": 305, - "column": 46 + "line": 338, + "column": 37 } }, "object": { "type": "Identifier", - "start": 15685, - "end": 15691, + "start": 15314, + "end": 15322, "loc": { "start": { - "line": 305, - "column": 33 + "line": 338, + "column": 25 }, "end": { - "line": 305, - "column": 39 + "line": 338, + "column": 33 }, - "identifierName": "entity" + "identifierName": "geometry" }, - "name": "entity" + "name": "geometry" }, "property": { "type": "Identifier", - "start": 15692, - "end": 15698, + "start": 15323, + "end": 15326, "loc": { "start": { - "line": 305, - "column": 40 + "line": 338, + "column": 34 }, "end": { - "line": 305, - "column": 46 + "line": 338, + "column": 37 }, - "identifierName": "meshes" + "identifierName": "uvs" }, - "name": "meshes" + "name": "uvs" }, "computed": false + }, + { + "type": "Identifier", + "start": 15328, + "end": 15336, + "loc": { + "start": { + "line": 338, + "column": 39 + }, + "end": { + "line": 338, + "column": 47 + }, + "identifierName": "countUVs" + }, + "name": "countUVs" } - } - ], - "kind": "const" + ] + } }, { - "type": "VariableDeclaration", - "start": 15712, - "end": 15756, + "type": "ExpressionStatement", + "start": 15351, + "end": 15383, "loc": { "start": { - "line": 306, + "line": 339, "column": 12 }, "end": { - "line": 306, - "column": 56 + "line": 339, + "column": 44 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15718, - "end": 15755, + "expression": { + "type": "AssignmentExpression", + "start": 15351, + "end": 15382, + "loc": { + "start": { + "line": 339, + "column": 12 + }, + "end": { + "line": 339, + "column": 43 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 15351, + "end": 15359, "loc": { "start": { - "line": 306, - "column": 18 + "line": 339, + "column": 12 }, "end": { - "line": 306, - "column": 55 - } + "line": 339, + "column": 20 + }, + "identifierName": "countUVs" }, - "id": { - "type": "Identifier", - "start": 15718, - "end": 15733, - "loc": { - "start": { - "line": 306, - "column": 18 - }, - "end": { - "line": 306, - "column": 33 - }, - "identifierName": "numEntityMeshes" + "name": "countUVs" + }, + "right": { + "type": "MemberExpression", + "start": 15363, + "end": 15382, + "loc": { + "start": { + "line": 339, + "column": 24 }, - "name": "numEntityMeshes" + "end": { + "line": 339, + "column": 43 + } }, - "init": { + "object": { "type": "MemberExpression", - "start": 15736, - "end": 15755, + "start": 15363, + "end": 15375, "loc": { "start": { - "line": 306, - "column": 36 + "line": 339, + "column": 24 }, "end": { - "line": 306, - "column": 55 + "line": 339, + "column": 36 } }, "object": { "type": "Identifier", - "start": 15736, - "end": 15748, + "start": 15363, + "end": 15371, "loc": { "start": { - "line": 306, - "column": 36 + "line": 339, + "column": 24 }, "end": { - "line": 306, - "column": 48 + "line": 339, + "column": 32 }, - "identifierName": "entityMeshes" + "identifierName": "geometry" }, - "name": "entityMeshes" + "name": "geometry" }, "property": { "type": "Identifier", - "start": 15749, - "end": 15755, + "start": 15372, + "end": 15375, "loc": { "start": { - "line": 306, - "column": 49 + "line": 339, + "column": 33 }, "end": { - "line": 306, - "column": 55 + "line": 339, + "column": 36 }, - "identifierName": "length" + "identifierName": "uvs" }, - "name": "length" + "name": "uvs" }, "computed": false - } + }, + "property": { + "type": "Identifier", + "start": 15376, + "end": 15382, + "loc": { + "start": { + "line": 339, + "column": 37 + }, + "end": { + "line": 339, + "column": 43 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } - ], - "kind": "const" + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 15402, + "end": 15550, + "loc": { + "start": { + "line": 341, + "column": 8 + }, + "end": { + "line": 344, + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 15406, + "end": 15422, + "loc": { + "start": { + "line": 341, + "column": 12 + }, + "end": { + "line": 341, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 15406, + "end": 15414, + "loc": { + "start": { + "line": 341, + "column": 12 + }, + "end": { + "line": 341, + "column": 20 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 15415, + "end": 15422, + "loc": { + "start": { + "line": 341, + "column": 21 + }, + "end": { + "line": 341, + "column": 28 + }, + "identifierName": "indices" + }, + "name": "indices" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 15424, + "end": 15550, + "loc": { + "start": { + "line": 341, + "column": 30 }, + "end": { + "line": 344, + "column": 9 + } + }, + "body": [ { - "type": "ForStatement", - "start": 15770, - "end": 17177, + "type": "ExpressionStatement", + "start": 15438, + "end": 15487, "loc": { "start": { - "line": 308, + "line": 342, "column": 12 }, "end": { - "line": 332, - "column": 13 + "line": 342, + "column": 61 } }, - "init": { - "type": "VariableDeclaration", - "start": 15775, - "end": 15784, + "expression": { + "type": "CallExpression", + "start": 15438, + "end": 15486, "loc": { "start": { - "line": 308, - "column": 17 + "line": 342, + "column": 12 }, "end": { - "line": 308, - "column": 26 + "line": 342, + "column": 60 } }, - "declarations": [ + "callee": { + "type": "MemberExpression", + "start": 15438, + "end": 15454, + "loc": { + "start": { + "line": 342, + "column": 12 + }, + "end": { + "line": 342, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 15438, + "end": 15450, + "loc": { + "start": { + "line": 342, + "column": 12 + }, + "end": { + "line": 342, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 15438, + "end": 15442, + "loc": { + "start": { + "line": 342, + "column": 12 + }, + "end": { + "line": 342, + "column": 16 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 15443, + "end": 15450, + "loc": { + "start": { + "line": 342, + "column": 17 + }, + "end": { + "line": 342, + "column": 24 + }, + "identifierName": "indices" + }, + "name": "indices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15451, + "end": 15454, + "loc": { + "start": { + "line": 342, + "column": 25 + }, + "end": { + "line": 342, + "column": 28 + }, + "identifierName": "set" + }, + "name": "set" + }, + "computed": false + }, + "arguments": [ { - "type": "VariableDeclarator", - "start": 15779, - "end": 15784, + "type": "MemberExpression", + "start": 15455, + "end": 15471, "loc": { "start": { - "line": 308, - "column": 21 + "line": 342, + "column": 29 }, "end": { - "line": 308, - "column": 26 + "line": 342, + "column": 45 } }, - "id": { + "object": { "type": "Identifier", - "start": 15779, - "end": 15780, + "start": 15455, + "end": 15463, "loc": { "start": { - "line": 308, - "column": 21 + "line": 342, + "column": 29 }, "end": { - "line": 308, - "column": 22 + "line": 342, + "column": 37 }, - "identifierName": "k" + "identifierName": "geometry" }, - "name": "k" + "name": "geometry" }, - "init": { - "type": "NumericLiteral", - "start": 15783, - "end": 15784, + "property": { + "type": "Identifier", + "start": 15464, + "end": 15471, "loc": { "start": { - "line": 308, - "column": 25 + "line": 342, + "column": 38 }, "end": { - "line": 308, - "column": 26 - } + "line": 342, + "column": 45 + }, + "identifierName": "indices" }, - "extra": { - "rawValue": 0, - "raw": "0" + "name": "indices" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 15473, + "end": 15485, + "loc": { + "start": { + "line": 342, + "column": 47 }, - "value": 0 - } + "end": { + "line": 342, + "column": 59 + }, + "identifierName": "countIndices" + }, + "name": "countIndices" } - ], - "kind": "let" + ] + } + }, + { + "type": "ExpressionStatement", + "start": 15500, + "end": 15540, + "loc": { + "start": { + "line": 343, + "column": 12 + }, + "end": { + "line": 343, + "column": 52 + } }, - "test": { - "type": "BinaryExpression", - "start": 15786, - "end": 15805, + "expression": { + "type": "AssignmentExpression", + "start": 15500, + "end": 15539, "loc": { "start": { - "line": 308, - "column": 28 + "line": 343, + "column": 12 }, "end": { - "line": 308, - "column": 47 + "line": 343, + "column": 51 } }, + "operator": "+=", "left": { "type": "Identifier", - "start": 15786, - "end": 15787, + "start": 15500, + "end": 15512, "loc": { "start": { - "line": 308, - "column": 28 + "line": 343, + "column": 12 }, "end": { - "line": 308, - "column": 29 + "line": 343, + "column": 24 }, - "identifierName": "k" + "identifierName": "countIndices" }, - "name": "k" + "name": "countIndices" }, - "operator": "<", "right": { - "type": "Identifier", - "start": 15790, - "end": 15805, + "type": "MemberExpression", + "start": 15516, + "end": 15539, "loc": { "start": { - "line": 308, - "column": 32 + "line": 343, + "column": 28 }, "end": { - "line": 308, - "column": 47 + "line": 343, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 15516, + "end": 15532, + "loc": { + "start": { + "line": 343, + "column": 28 + }, + "end": { + "line": 343, + "column": 44 + } }, - "identifierName": "numEntityMeshes" + "object": { + "type": "Identifier", + "start": 15516, + "end": 15524, + "loc": { + "start": { + "line": 343, + "column": 28 + }, + "end": { + "line": 343, + "column": 36 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 15525, + "end": 15532, + "loc": { + "start": { + "line": 343, + "column": 37 + }, + "end": { + "line": 343, + "column": 44 + }, + "identifierName": "indices" + }, + "name": "indices" + }, + "computed": false }, - "name": "numEntityMeshes" + "property": { + "type": "Identifier", + "start": 15533, + "end": 15539, + "loc": { + "start": { + "line": 343, + "column": 45 + }, + "end": { + "line": 343, + "column": 51 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 15559, + "end": 15731, + "loc": { + "start": { + "line": 345, + "column": 8 + }, + "end": { + "line": 348, + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 15563, + "end": 15583, + "loc": { + "start": { + "line": 345, + "column": 12 + }, + "end": { + "line": 345, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 15563, + "end": 15571, + "loc": { + "start": { + "line": 345, + "column": 12 }, - "update": { - "type": "UpdateExpression", - "start": 15807, - "end": 15810, + "end": { + "line": 345, + "column": 20 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 15572, + "end": 15583, + "loc": { + "start": { + "line": 345, + "column": 21 + }, + "end": { + "line": 345, + "column": 32 + }, + "identifierName": "edgeIndices" + }, + "name": "edgeIndices" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 15585, + "end": 15731, + "loc": { + "start": { + "line": 345, + "column": 34 + }, + "end": { + "line": 348, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15599, + "end": 15660, + "loc": { + "start": { + "line": 346, + "column": 12 + }, + "end": { + "line": 346, + "column": 73 + } + }, + "expression": { + "type": "CallExpression", + "start": 15599, + "end": 15659, "loc": { "start": { - "line": 308, - "column": 49 + "line": 346, + "column": 12 }, "end": { - "line": 308, - "column": 52 + "line": 346, + "column": 72 } }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 15807, - "end": 15808, + "callee": { + "type": "MemberExpression", + "start": 15599, + "end": 15619, "loc": { "start": { - "line": 308, - "column": 49 + "line": 346, + "column": 12 }, "end": { - "line": 308, - "column": 50 + "line": 346, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 15599, + "end": 15615, + "loc": { + "start": { + "line": 346, + "column": 12 + }, + "end": { + "line": 346, + "column": 28 + } }, - "identifierName": "k" + "object": { + "type": "Identifier", + "start": 15599, + "end": 15603, + "loc": { + "start": { + "line": 346, + "column": 12 + }, + "end": { + "line": 346, + "column": 16 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 15604, + "end": 15615, + "loc": { + "start": { + "line": 346, + "column": 17 + }, + "end": { + "line": 346, + "column": 28 + }, + "identifierName": "edgeIndices" + }, + "name": "edgeIndices" + }, + "computed": false }, - "name": "k" - } - }, - "body": { - "type": "BlockStatement", - "start": 15812, - "end": 17177, - "loc": { - "start": { - "line": 308, - "column": 54 + "property": { + "type": "Identifier", + "start": 15616, + "end": 15619, + "loc": { + "start": { + "line": 346, + "column": 29 + }, + "end": { + "line": 346, + "column": 32 + }, + "identifierName": "set" + }, + "name": "set" }, - "end": { - "line": 332, - "column": 13 - } + "computed": false }, - "body": [ + "arguments": [ { - "type": "VariableDeclaration", - "start": 15831, - "end": 15860, + "type": "MemberExpression", + "start": 15620, + "end": 15640, "loc": { "start": { - "line": 310, - "column": 16 + "line": 346, + "column": 33 }, "end": { - "line": 310, - "column": 45 + "line": 346, + "column": 53 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15837, - "end": 15859, - "loc": { - "start": { - "line": 310, - "column": 22 - }, - "end": { - "line": 310, - "column": 44 - } + "object": { + "type": "Identifier", + "start": 15620, + "end": 15628, + "loc": { + "start": { + "line": 346, + "column": 33 }, - "id": { - "type": "Identifier", - "start": 15837, - "end": 15841, - "loc": { - "start": { - "line": 310, - "column": 22 - }, - "end": { - "line": 310, - "column": 26 - }, - "identifierName": "mesh" - }, - "name": "mesh" + "end": { + "line": 346, + "column": 41 }, - "init": { - "type": "MemberExpression", - "start": 15844, - "end": 15859, - "loc": { - "start": { - "line": 310, - "column": 29 - }, - "end": { - "line": 310, - "column": 44 - } - }, - "object": { - "type": "Identifier", - "start": 15844, - "end": 15856, - "loc": { - "start": { - "line": 310, - "column": 29 - }, - "end": { - "line": 310, - "column": 41 - }, - "identifierName": "entityMeshes" - }, - "name": "entityMeshes" - }, - "property": { - "type": "Identifier", - "start": 15857, - "end": 15858, - "loc": { - "start": { - "line": 310, - "column": 42 - }, - "end": { - "line": 310, - "column": 43 - }, - "identifierName": "k" - }, - "name": "k" - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 15877, - "end": 15908, - "loc": { - "start": { - "line": 311, - "column": 16 + "identifierName": "geometry" }, - "end": { - "line": 311, - "column": 47 - } + "name": "geometry" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15883, - "end": 15907, - "loc": { - "start": { - "line": 311, - "column": 22 - }, - "end": { - "line": 311, - "column": 46 - } + "property": { + "type": "Identifier", + "start": 15629, + "end": 15640, + "loc": { + "start": { + "line": 346, + "column": 42 }, - "id": { - "type": "Identifier", - "start": 15883, - "end": 15891, - "loc": { - "start": { - "line": 311, - "column": 22 - }, - "end": { - "line": 311, - "column": 30 - }, - "identifierName": "geometry" - }, - "name": "geometry" + "end": { + "line": 346, + "column": 53 }, - "init": { - "type": "MemberExpression", - "start": 15894, - "end": 15907, - "loc": { - "start": { - "line": 311, - "column": 33 - }, - "end": { - "line": 311, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 15894, - "end": 15898, - "loc": { - "start": { - "line": 311, - "column": 33 - }, - "end": { - "line": 311, - "column": 37 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 15899, - "end": 15907, - "loc": { - "start": { - "line": 311, - "column": 38 - }, - "end": { - "line": 311, - "column": 46 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 15925, - "end": 15970, - "loc": { - "start": { - "line": 312, - "column": 16 + "identifierName": "edgeIndices" }, - "end": { - "line": 312, - "column": 61 - } + "name": "edgeIndices" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15931, - "end": 15969, - "loc": { - "start": { - "line": 312, - "column": 22 - }, - "end": { - "line": 312, - "column": 60 - } - }, - "id": { - "type": "Identifier", - "start": 15931, - "end": 15944, - "loc": { - "start": { - "line": 312, - "column": 22 - }, - "end": { - "line": 312, - "column": 35 - }, - "identifierName": "geometryIndex" - }, - "name": "geometryIndex" - }, - "init": { - "type": "MemberExpression", - "start": 15947, - "end": 15969, - "loc": { - "start": { - "line": 312, - "column": 38 - }, - "end": { - "line": 312, - "column": 60 - } - }, - "object": { - "type": "Identifier", - "start": 15947, - "end": 15955, - "loc": { - "start": { - "line": 312, - "column": 38 - }, - "end": { - "line": 312, - "column": 46 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "property": { - "type": "Identifier", - "start": 15956, - "end": 15969, - "loc": { - "start": { - "line": 312, - "column": 47 - }, - "end": { - "line": 312, - "column": 60 - }, - "identifierName": "geometryIndex" - }, - "name": "geometryIndex" - }, - "computed": false - } - } - ], - "kind": "const" + "computed": false }, { - "type": "ExpressionStatement", - "start": 15988, - "end": 16066, + "type": "Identifier", + "start": 15642, + "end": 15658, "loc": { "start": { - "line": 314, - "column": 16 + "line": 346, + "column": 55 }, "end": { - "line": 314, - "column": 94 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 15988, - "end": 16065, - "loc": { - "start": { - "line": 314, - "column": 16 - }, - "end": { - "line": 314, - "column": 93 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 15988, - "end": 16049, - "loc": { - "start": { - "line": 314, - "column": 16 - }, - "end": { - "line": 314, - "column": 77 - } - }, - "object": { - "type": "MemberExpression", - "start": 15988, - "end": 16018, - "loc": { - "start": { - "line": 314, - "column": 16 - }, - "end": { - "line": 314, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 15988, - "end": 15992, - "loc": { - "start": { - "line": 314, - "column": 16 - }, - "end": { - "line": 314, - "column": 20 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 15993, - "end": 16018, - "loc": { - "start": { - "line": 314, - "column": 21 - }, - "end": { - "line": 314, - "column": 46 - }, - "identifierName": "eachMeshGeometriesPortion" - }, - "name": "eachMeshGeometriesPortion" - }, - "computed": false - }, - "property": { - "type": "BinaryExpression", - "start": 16020, - "end": 16048, - "loc": { - "start": { - "line": 314, - "column": 48 - }, - "end": { - "line": 314, - "column": 76 - } - }, - "left": { - "type": "Identifier", - "start": 16020, - "end": 16044, - "loc": { - "start": { - "line": 314, - "column": 48 - }, - "end": { - "line": 314, - "column": 72 - }, - "identifierName": "countEntityMeshesPortion" - }, - "name": "countEntityMeshesPortion" - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 16047, - "end": 16048, - "loc": { - "start": { - "line": 314, - "column": 75 - }, - "end": { - "line": 314, - "column": 76 - }, - "identifierName": "k" - }, - "name": "k" - } - }, - "computed": true + "line": 346, + "column": 71 }, - "right": { - "type": "Identifier", - "start": 16052, - "end": 16065, - "loc": { - "start": { - "line": 314, - "column": 80 - }, - "end": { - "line": 314, - "column": 93 - }, - "identifierName": "geometryIndex" - }, - "name": "geometryIndex" - } + "identifierName": "countEdgeIndices" + }, + "name": "countEdgeIndices" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 15673, + "end": 15721, + "loc": { + "start": { + "line": 347, + "column": 12 + }, + "end": { + "line": 347, + "column": 60 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 15673, + "end": 15720, + "loc": { + "start": { + "line": 347, + "column": 12 + }, + "end": { + "line": 347, + "column": 59 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 15673, + "end": 15689, + "loc": { + "start": { + "line": 347, + "column": 12 + }, + "end": { + "line": 347, + "column": 28 + }, + "identifierName": "countEdgeIndices" + }, + "name": "countEdgeIndices" + }, + "right": { + "type": "MemberExpression", + "start": 15693, + "end": 15720, + "loc": { + "start": { + "line": 347, + "column": 32 + }, + "end": { + "line": 347, + "column": 59 } }, - { - "type": "IfStatement", - "start": 16084, - "end": 16325, + "object": { + "type": "MemberExpression", + "start": 15693, + "end": 15713, "loc": { "start": { - "line": 316, - "column": 16 + "line": 347, + "column": 32 }, "end": { - "line": 320, - "column": 17 + "line": 347, + "column": 52 } }, - "test": { - "type": "BinaryExpression", - "start": 16088, - "end": 16118, + "object": { + "type": "Identifier", + "start": 15693, + "end": 15701, "loc": { "start": { - "line": 316, - "column": 20 + "line": 347, + "column": 32 }, "end": { - "line": 316, - "column": 50 - } - }, - "left": { - "type": "MemberExpression", - "start": 16088, - "end": 16114, - "loc": { - "start": { - "line": 316, - "column": 20 - }, - "end": { - "line": 316, - "column": 46 - } - }, - "object": { - "type": "MemberExpression", - "start": 16088, - "end": 16101, - "loc": { - "start": { - "line": 316, - "column": 20 - }, - "end": { - "line": 316, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 16088, - "end": 16092, - "loc": { - "start": { - "line": 316, - "column": 20 - }, - "end": { - "line": 316, - "column": 24 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 16093, - "end": 16101, - "loc": { - "start": { - "line": 316, - "column": 25 - }, - "end": { - "line": 316, - "column": 33 - }, - "identifierName": "geometry" - }, - "name": "geometry" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16102, - "end": 16114, - "loc": { - "start": { - "line": 316, - "column": 34 - }, - "end": { - "line": 316, - "column": 46 - }, - "identifierName": "numInstances" - }, - "name": "numInstances" + "line": 347, + "column": 40 }, - "computed": false + "identifierName": "geometry" }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 16117, - "end": 16118, - "loc": { - "start": { - "line": 316, - "column": 49 - }, - "end": { - "line": 316, - "column": 50 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } + "name": "geometry" }, - "consequent": { - "type": "BlockStatement", - "start": 16120, - "end": 16325, + "property": { + "type": "Identifier", + "start": 15702, + "end": 15713, "loc": { "start": { - "line": 316, - "column": 52 + "line": 347, + "column": 41 }, "end": { - "line": 320, - "column": 17 - } + "line": 347, + "column": 52 + }, + "identifierName": "edgeIndices" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16142, - "end": 16188, - "loc": { - "start": { - "line": 317, - "column": 20 - }, - "end": { - "line": 317, - "column": 66 - } - }, - "expression": { - "type": "CallExpression", - "start": 16142, - "end": 16187, - "loc": { - "start": { - "line": 317, - "column": 20 - }, - "end": { - "line": 317, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16142, - "end": 16159, - "loc": { - "start": { - "line": 317, - "column": 20 - }, - "end": { - "line": 317, - "column": 37 - } - }, - "object": { - "type": "MemberExpression", - "start": 16142, - "end": 16155, - "loc": { - "start": { - "line": 317, - "column": 20 - }, - "end": { - "line": 317, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 16142, - "end": 16146, - "loc": { - "start": { - "line": 317, - "column": 20 - }, - "end": { - "line": 317, - "column": 24 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 16147, - "end": 16155, - "loc": { - "start": { - "line": 317, - "column": 25 - }, - "end": { - "line": 317, - "column": 33 - }, - "identifierName": "matrices" - }, - "name": "matrices" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16156, - "end": 16159, - "loc": { - "start": { - "line": 317, - "column": 34 - }, - "end": { - "line": 317, - "column": 37 - }, - "identifierName": "set" - }, - "name": "set" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 16160, - "end": 16171, - "loc": { - "start": { - "line": 317, - "column": 38 - }, - "end": { - "line": 317, - "column": 49 - } - }, - "object": { - "type": "Identifier", - "start": 16160, - "end": 16164, - "loc": { - "start": { - "line": 317, - "column": 38 - }, - "end": { - "line": 317, - "column": 42 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 16165, - "end": 16171, - "loc": { - "start": { - "line": 317, - "column": 43 - }, - "end": { - "line": 317, - "column": 49 - }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 16173, - "end": 16186, - "loc": { - "start": { - "line": 317, - "column": 51 - }, - "end": { - "line": 317, - "column": 64 - }, - "identifierName": "matricesIndex" - }, - "name": "matricesIndex" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 16209, - "end": 16266, - "loc": { - "start": { - "line": 318, - "column": 20 - }, - "end": { - "line": 318, - "column": 77 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 16209, - "end": 16265, - "loc": { - "start": { - "line": 318, - "column": 20 - }, - "end": { - "line": 318, - "column": 76 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 16209, - "end": 16249, - "loc": { - "start": { - "line": 318, - "column": 20 - }, - "end": { - "line": 318, - "column": 60 - } - }, - "object": { - "type": "MemberExpression", - "start": 16209, - "end": 16237, - "loc": { - "start": { - "line": 318, - "column": 20 - }, - "end": { - "line": 318, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 16209, - "end": 16213, - "loc": { - "start": { - "line": 318, - "column": 20 - }, - "end": { - "line": 318, - "column": 24 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 16214, - "end": 16237, - "loc": { - "start": { - "line": 318, - "column": 25 - }, - "end": { - "line": 318, - "column": 48 - }, - "identifierName": "eachMeshMatricesPortion" - }, - "name": "eachMeshMatricesPortion" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16239, - "end": 16248, - "loc": { - "start": { - "line": 318, - "column": 50 - }, - "end": { - "line": 318, - "column": 59 - }, - "identifierName": "meshIndex" - }, - "name": "meshIndex" - }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 16252, - "end": 16265, - "loc": { - "start": { - "line": 318, - "column": 63 - }, - "end": { - "line": 318, - "column": 76 - }, - "identifierName": "matricesIndex" - }, - "name": "matricesIndex" - } - } - }, - { - "type": "ExpressionStatement", - "start": 16287, - "end": 16307, - "loc": { - "start": { - "line": 319, - "column": 20 - }, - "end": { - "line": 319, - "column": 40 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 16287, - "end": 16306, - "loc": { - "start": { - "line": 319, - "column": 20 - }, - "end": { - "line": 319, - "column": 39 - } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 16287, - "end": 16300, - "loc": { - "start": { - "line": 319, - "column": 20 - }, - "end": { - "line": 319, - "column": 33 - }, - "identifierName": "matricesIndex" - }, - "name": "matricesIndex" - }, - "right": { - "type": "NumericLiteral", - "start": 16304, - "end": 16306, - "loc": { - "start": { - "line": 319, - "column": 37 - }, - "end": { - "line": 319, - "column": 39 - } - }, - "extra": { - "rawValue": 16, - "raw": "16" - }, - "value": 16 - } - } - } - ], - "directives": [] + "name": "edgeIndices" }, - "alternate": null + "computed": false }, - { - "type": "ExpressionStatement", - "start": 16343, - "end": 16435, + "property": { + "type": "Identifier", + "start": 15714, + "end": 15720, "loc": { "start": { - "line": 322, - "column": 16 + "line": 347, + "column": 53 }, "end": { - "line": 322, - "column": 108 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 16343, - "end": 16434, - "loc": { - "start": { - "line": 322, - "column": 16 - }, - "end": { - "line": 322, - "column": 107 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 16343, - "end": 16377, - "loc": { - "start": { - "line": 322, - "column": 16 - }, - "end": { - "line": 322, - "column": 50 - } - }, - "object": { - "type": "MemberExpression", - "start": 16343, - "end": 16366, - "loc": { - "start": { - "line": 322, - "column": 16 - }, - "end": { - "line": 322, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 16343, - "end": 16347, - "loc": { - "start": { - "line": 322, - "column": 16 - }, - "end": { - "line": 322, - "column": 20 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 16348, - "end": 16366, - "loc": { - "start": { - "line": 322, - "column": 21 - }, - "end": { - "line": 322, - "column": 39 - }, - "identifierName": "eachMeshTextureSet" - }, - "name": "eachMeshTextureSet" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16367, - "end": 16376, - "loc": { - "start": { - "line": 322, - "column": 40 - }, - "end": { - "line": 322, - "column": 49 - }, - "identifierName": "meshIndex" - }, - "name": "meshIndex" - }, - "computed": true - }, - "right": { - "type": "ConditionalExpression", - "start": 16380, - "end": 16434, - "loc": { - "start": { - "line": 322, - "column": 53 - }, - "end": { - "line": 322, - "column": 107 - } - }, - "test": { - "type": "MemberExpression", - "start": 16380, - "end": 16395, - "loc": { - "start": { - "line": 322, - "column": 53 - }, - "end": { - "line": 322, - "column": 68 - } - }, - "object": { - "type": "Identifier", - "start": 16380, - "end": 16384, - "loc": { - "start": { - "line": 322, - "column": 53 - }, - "end": { - "line": 322, - "column": 57 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 16385, - "end": 16395, - "loc": { - "start": { - "line": 322, - "column": 58 - }, - "end": { - "line": 322, - "column": 68 - }, - "identifierName": "textureSet" - }, - "name": "textureSet" - }, - "computed": false - }, - "consequent": { - "type": "MemberExpression", - "start": 16398, - "end": 16429, - "loc": { - "start": { - "line": 322, - "column": 71 - }, - "end": { - "line": 322, - "column": 102 - } - }, - "object": { - "type": "MemberExpression", - "start": 16398, - "end": 16413, - "loc": { - "start": { - "line": 322, - "column": 71 - }, - "end": { - "line": 322, - "column": 86 - } - }, - "object": { - "type": "Identifier", - "start": 16398, - "end": 16402, - "loc": { - "start": { - "line": 322, - "column": 71 - }, - "end": { - "line": 322, - "column": 75 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 16403, - "end": 16413, - "loc": { - "start": { - "line": 322, - "column": 76 - }, - "end": { - "line": 322, - "column": 86 - }, - "identifierName": "textureSet" - }, - "name": "textureSet" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16414, - "end": 16429, - "loc": { - "start": { - "line": 322, - "column": 87 - }, - "end": { - "line": 322, - "column": 102 - }, - "identifierName": "textureSetIndex" - }, - "name": "textureSetIndex" - }, - "computed": false - }, - "alternate": { - "type": "UnaryExpression", - "start": 16432, - "end": 16434, - "loc": { - "start": { - "line": 322, - "column": 105 - }, - "end": { - "line": 322, - "column": 107 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 16433, - "end": 16434, - "loc": { - "start": { - "line": 322, - "column": 106 - }, - "end": { - "line": 322, - "column": 107 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false - } - } - } - } - }, - { - "type": "ExpressionStatement", - "start": 16453, - "end": 16544, - "loc": { - "start": { - "line": 324, - "column": 16 + "line": 347, + "column": 59 }, - "end": { - "line": 324, - "column": 107 - } + "identifierName": "length" }, - "expression": { - "type": "AssignmentExpression", - "start": 16453, - "end": 16543, - "loc": { - "start": { - "line": 324, - "column": 16 - }, - "end": { - "line": 324, - "column": 106 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 16453, - "end": 16519, - "loc": { - "start": { - "line": 324, - "column": 16 - }, - "end": { - "line": 324, - "column": 82 - } - }, - "object": { - "type": "MemberExpression", - "start": 16453, - "end": 16484, - "loc": { - "start": { - "line": 324, - "column": 16 - }, - "end": { - "line": 324, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 16453, - "end": 16457, - "loc": { - "start": { - "line": 324, - "column": 16 - }, - "end": { - "line": 324, - "column": 20 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 16458, - "end": 16484, - "loc": { - "start": { - "line": 324, - "column": 21 - }, - "end": { - "line": 324, - "column": 47 - }, - "identifierName": "eachMeshMaterialAttributes" - }, - "name": "eachMeshMaterialAttributes" - }, - "computed": false - }, - "property": { - "type": "UpdateExpression", - "start": 16485, - "end": 16518, - "loc": { - "start": { - "line": 324, - "column": 48 - }, - "end": { - "line": 324, - "column": 81 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 16485, - "end": 16516, - "loc": { - "start": { - "line": 324, - "column": 48 - }, - "end": { - "line": 324, - "column": 79 - }, - "identifierName": "eachMeshMaterialAttributesIndex" - }, - "name": "eachMeshMaterialAttributesIndex" - } - }, - "computed": true - }, - "right": { - "type": "BinaryExpression", - "start": 16523, - "end": 16542, - "loc": { - "start": { - "line": 324, - "column": 86 - }, - "end": { - "line": 324, - "column": 105 - } - }, - "left": { - "type": "MemberExpression", - "start": 16523, - "end": 16536, - "loc": { - "start": { - "line": 324, - "column": 86 - }, - "end": { - "line": 324, - "column": 99 - } - }, - "object": { - "type": "MemberExpression", - "start": 16523, - "end": 16533, - "loc": { - "start": { - "line": 324, - "column": 86 - }, - "end": { - "line": 324, - "column": 96 - } - }, - "object": { - "type": "Identifier", - "start": 16523, - "end": 16527, - "loc": { - "start": { - "line": 324, - "column": 86 - }, - "end": { - "line": 324, - "column": 90 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 16528, - "end": 16533, - "loc": { - "start": { - "line": 324, - "column": 91 - }, - "end": { - "line": 324, - "column": 96 - }, - "identifierName": "color" - }, - "name": "color" - }, - "computed": false - }, - "property": { - "type": "NumericLiteral", - "start": 16534, - "end": 16535, - "loc": { - "start": { - "line": 324, - "column": 97 - }, - "end": { - "line": 324, - "column": 98 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 16539, - "end": 16542, - "loc": { - "start": { - "line": 324, - "column": 102 - }, - "end": { - "line": 324, - "column": 105 - } - }, - "extra": { - "rawValue": 255, - "raw": "255" - }, - "value": 255 - }, - "extra": { - "parenthesized": true, - "parenStart": 16522 - } - } - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " Color RGB", - "start": 16545, - "end": 16557, - "loc": { - "start": { - "line": 324, - "column": 108 - }, - "end": { - "line": 324, - "column": 120 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 16574, - "end": 16665, - "loc": { - "start": { - "line": 325, - "column": 16 - }, - "end": { - "line": 325, - "column": 107 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 16574, - "end": 16664, - "loc": { - "start": { - "line": 325, - "column": 16 - }, - "end": { - "line": 325, - "column": 106 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 16574, - "end": 16640, - "loc": { - "start": { - "line": 325, - "column": 16 - }, - "end": { - "line": 325, - "column": 82 - } - }, - "object": { - "type": "MemberExpression", - "start": 16574, - "end": 16605, - "loc": { - "start": { - "line": 325, - "column": 16 - }, - "end": { - "line": 325, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 16574, - "end": 16578, - "loc": { - "start": { - "line": 325, - "column": 16 - }, - "end": { - "line": 325, - "column": 20 - }, - "identifierName": "data" - }, - "name": "data", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 16579, - "end": 16605, - "loc": { - "start": { - "line": 325, - "column": 21 - }, - "end": { - "line": 325, - "column": 47 - }, - "identifierName": "eachMeshMaterialAttributes" - }, - "name": "eachMeshMaterialAttributes" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "UpdateExpression", - "start": 16606, - "end": 16639, - "loc": { - "start": { - "line": 325, - "column": 48 - }, - "end": { - "line": 325, - "column": 81 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 16606, - "end": 16637, - "loc": { - "start": { - "line": 325, - "column": 48 - }, - "end": { - "line": 325, - "column": 79 - }, - "identifierName": "eachMeshMaterialAttributesIndex" - }, - "name": "eachMeshMaterialAttributesIndex" - } - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 16644, - "end": 16663, - "loc": { - "start": { - "line": 325, - "column": 86 - }, - "end": { - "line": 325, - "column": 105 - } - }, - "left": { - "type": "MemberExpression", - "start": 16644, - "end": 16657, - "loc": { - "start": { - "line": 325, - "column": 86 - }, - "end": { - "line": 325, - "column": 99 - } - }, - "object": { - "type": "MemberExpression", - "start": 16644, - "end": 16654, - "loc": { - "start": { - "line": 325, - "column": 86 - }, - "end": { - "line": 325, - "column": 96 - } - }, - "object": { - "type": "Identifier", - "start": 16644, - "end": 16648, - "loc": { - "start": { - "line": 325, - "column": 86 - }, - "end": { - "line": 325, - "column": 90 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 16649, - "end": 16654, - "loc": { - "start": { - "line": 325, - "column": 91 - }, - "end": { - "line": 325, - "column": 96 - }, - "identifierName": "color" - }, - "name": "color" - }, - "computed": false - }, - "property": { - "type": "NumericLiteral", - "start": 16655, - "end": 16656, - "loc": { - "start": { - "line": 325, - "column": 97 - }, - "end": { - "line": 325, - "column": 98 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 16660, - "end": 16663, - "loc": { - "start": { - "line": 325, - "column": 102 - }, - "end": { - "line": 325, - "column": 105 - } - }, - "extra": { - "rawValue": 255, - "raw": "255" - }, - "value": 255 - }, - "extra": { - "parenthesized": true, - "parenStart": 16643 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Color RGB", - "start": 16545, - "end": 16557, - "loc": { - "start": { - "line": 324, - "column": 108 - }, - "end": { - "line": 324, - "column": 120 - } - } - } - ] + "name": "length" }, - { - "type": "ExpressionStatement", - "start": 16682, - "end": 16773, - "loc": { - "start": { - "line": 326, - "column": 16 - }, - "end": { - "line": 326, - "column": 107 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 16682, - "end": 16772, - "loc": { - "start": { - "line": 326, - "column": 16 - }, - "end": { - "line": 326, - "column": 106 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 16682, - "end": 16748, - "loc": { - "start": { - "line": 326, - "column": 16 - }, - "end": { - "line": 326, - "column": 82 - } - }, - "object": { - "type": "MemberExpression", - "start": 16682, - "end": 16713, - "loc": { - "start": { - "line": 326, - "column": 16 - }, - "end": { - "line": 326, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 16682, - "end": 16686, - "loc": { - "start": { - "line": 326, - "column": 16 - }, - "end": { - "line": 326, - "column": 20 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 16687, - "end": 16713, - "loc": { - "start": { - "line": 326, - "column": 21 - }, - "end": { - "line": 326, - "column": 47 - }, - "identifierName": "eachMeshMaterialAttributes" - }, - "name": "eachMeshMaterialAttributes" - }, - "computed": false - }, - "property": { - "type": "UpdateExpression", - "start": 16714, - "end": 16747, - "loc": { - "start": { - "line": 326, - "column": 48 - }, - "end": { - "line": 326, - "column": 81 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 16714, - "end": 16745, - "loc": { - "start": { - "line": 326, - "column": 48 - }, - "end": { - "line": 326, - "column": 79 - }, - "identifierName": "eachMeshMaterialAttributesIndex" - }, - "name": "eachMeshMaterialAttributesIndex" - } - }, - "computed": true - }, - "right": { - "type": "BinaryExpression", - "start": 16752, - "end": 16771, - "loc": { - "start": { - "line": 326, - "column": 86 - }, - "end": { - "line": 326, - "column": 105 - } - }, - "left": { - "type": "MemberExpression", - "start": 16752, - "end": 16765, - "loc": { - "start": { - "line": 326, - "column": 86 - }, - "end": { - "line": 326, - "column": 99 - } - }, - "object": { - "type": "MemberExpression", - "start": 16752, - "end": 16762, - "loc": { - "start": { - "line": 326, - "column": 86 - }, - "end": { - "line": 326, - "column": 96 - } - }, - "object": { - "type": "Identifier", - "start": 16752, - "end": 16756, - "loc": { - "start": { - "line": 326, - "column": 86 - }, - "end": { - "line": 326, - "column": 90 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 16757, - "end": 16762, - "loc": { - "start": { - "line": 326, - "column": 91 - }, - "end": { - "line": 326, - "column": 96 - }, - "identifierName": "color" - }, - "name": "color" - }, - "computed": false - }, - "property": { - "type": "NumericLiteral", - "start": 16763, - "end": 16764, - "loc": { - "start": { - "line": 326, - "column": 97 - }, - "end": { - "line": 326, - "column": 98 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - "computed": true - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 16768, - "end": 16771, - "loc": { - "start": { - "line": 326, - "column": 102 - }, - "end": { - "line": 326, - "column": 105 - } - }, - "extra": { - "rawValue": 255, - "raw": "255" - }, - "value": 255 - }, - "extra": { - "parenthesized": true, - "parenStart": 16751 - } - } - } + "computed": false + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Geometries", + "start": 13318, + "end": 13331, + "loc": { + "start": { + "line": 290, + "column": 4 + }, + "end": { + "line": 290, + "column": 17 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Textures", + "start": 15743, + "end": 15754, + "loc": { + "start": { + "line": 351, + "column": 4 + }, + "end": { + "line": 351, + "column": 15 + } + } + } + ] + }, + { + "type": "ForStatement", + "start": 15760, + "end": 17338, + "loc": { + "start": { + "line": 353, + "column": 4 + }, + "end": { + "line": 371, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 15765, + "end": 15845, + "loc": { + "start": { + "line": 353, + "column": 9 + }, + "end": { + "line": 353, + "column": 89 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15769, + "end": 15785, + "loc": { + "start": { + "line": 353, + "column": 13 + }, + "end": { + "line": 353, + "column": 29 + } + }, + "id": { + "type": "Identifier", + "start": 15769, + "end": 15781, + "loc": { + "start": { + "line": 353, + "column": 13 + }, + "end": { + "line": 353, + "column": 25 + }, + "identifierName": "textureIndex" + }, + "name": "textureIndex", + "leadingComments": null + }, + "init": { + "type": "NumericLiteral", + "start": 15784, + "end": 15785, + "loc": { + "start": { + "line": 353, + "column": 28 + }, + "end": { + "line": 353, + "column": 29 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + }, + { + "type": "VariableDeclarator", + "start": 15787, + "end": 15829, + "loc": { + "start": { + "line": 353, + "column": 31 + }, + "end": { + "line": 353, + "column": 73 + } + }, + "id": { + "type": "Identifier", + "start": 15787, + "end": 15798, + "loc": { + "start": { + "line": 353, + "column": 31 + }, + "end": { + "line": 353, + "column": 42 + }, + "identifierName": "numTextures" + }, + "name": "numTextures" + }, + "init": { + "type": "MemberExpression", + "start": 15801, + "end": 15829, + "loc": { + "start": { + "line": 353, + "column": 45 + }, + "end": { + "line": 353, + "column": 73 + } + }, + "object": { + "type": "MemberExpression", + "start": 15801, + "end": 15822, + "loc": { + "start": { + "line": 353, + "column": 45 + }, + "end": { + "line": 353, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 15801, + "end": 15809, + "loc": { + "start": { + "line": 353, + "column": 45 + }, + "end": { + "line": 353, + "column": 53 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 15810, + "end": 15822, + "loc": { + "start": { + "line": 353, + "column": 54 + }, + "end": { + "line": 353, + "column": 66 + }, + "identifierName": "texturesList" + }, + "name": "texturesList" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 15823, + "end": 15829, + "loc": { + "start": { + "line": 353, + "column": 67 + }, + "end": { + "line": 353, + "column": 73 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + }, + { + "type": "VariableDeclarator", + "start": 15831, + "end": 15845, + "loc": { + "start": { + "line": 353, + "column": 75 + }, + "end": { + "line": 353, + "column": 89 + } + }, + "id": { + "type": "Identifier", + "start": 15831, + "end": 15841, + "loc": { + "start": { + "line": 353, + "column": 75 + }, + "end": { + "line": 353, + "column": 85 + }, + "identifierName": "portionIdx" + }, + "name": "portionIdx" + }, + "init": { + "type": "NumericLiteral", + "start": 15844, + "end": 15845, + "loc": { + "start": { + "line": 353, + "column": 88 + }, + "end": { + "line": 353, + "column": 89 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let", + "leadingComments": null + }, + "test": { + "type": "BinaryExpression", + "start": 15847, + "end": 15873, + "loc": { + "start": { + "line": 353, + "column": 91 + }, + "end": { + "line": 353, + "column": 117 + } + }, + "left": { + "type": "Identifier", + "start": 15847, + "end": 15859, + "loc": { + "start": { + "line": 353, + "column": 91 + }, + "end": { + "line": 353, + "column": 103 + }, + "identifierName": "textureIndex" + }, + "name": "textureIndex" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 15862, + "end": 15873, + "loc": { + "start": { + "line": 353, + "column": 106 + }, + "end": { + "line": 353, + "column": 117 + }, + "identifierName": "numTextures" + }, + "name": "numTextures" + } + }, + "update": { + "type": "UpdateExpression", + "start": 15875, + "end": 15889, + "loc": { + "start": { + "line": 353, + "column": 119 + }, + "end": { + "line": 353, + "column": 133 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 15875, + "end": 15887, + "loc": { + "start": { + "line": 353, + "column": 119 + }, + "end": { + "line": 353, + "column": 131 + }, + "identifierName": "textureIndex" + }, + "name": "textureIndex" + } + }, + "body": { + "type": "BlockStatement", + "start": 15891, + "end": 17338, + "loc": { + "start": { + "line": 353, + "column": 135 + }, + "end": { + "line": 371, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 15901, + "end": 15956, + "loc": { + "start": { + "line": 354, + "column": 8 + }, + "end": { + "line": 354, + "column": 63 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15907, + "end": 15955, + "loc": { + "start": { + "line": 354, + "column": 14 + }, + "end": { + "line": 354, + "column": 62 + } + }, + "id": { + "type": "Identifier", + "start": 15907, + "end": 15917, + "loc": { + "start": { + "line": 354, + "column": 14 + }, + "end": { + "line": 354, + "column": 24 + }, + "identifierName": "xktTexture" + }, + "name": "xktTexture" + }, + "init": { + "type": "MemberExpression", + "start": 15920, + "end": 15955, + "loc": { + "start": { + "line": 354, + "column": 27 + }, + "end": { + "line": 354, + "column": 62 + } + }, + "object": { + "type": "MemberExpression", + "start": 15920, + "end": 15941, + "loc": { + "start": { + "line": 354, + "column": 27 }, - { - "type": "ExpressionStatement", - "start": 16790, - "end": 16880, - "loc": { - "start": { - "line": 327, - "column": 16 - }, - "end": { - "line": 327, - "column": 106 - } + "end": { + "line": 354, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 15920, + "end": 15928, + "loc": { + "start": { + "line": 354, + "column": 27 }, - "expression": { - "type": "AssignmentExpression", - "start": 16790, - "end": 16879, - "loc": { - "start": { - "line": 327, - "column": 16 - }, - "end": { - "line": 327, - "column": 105 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 16790, - "end": 16856, - "loc": { - "start": { - "line": 327, - "column": 16 - }, - "end": { - "line": 327, - "column": 82 - } - }, - "object": { - "type": "MemberExpression", - "start": 16790, - "end": 16821, - "loc": { - "start": { - "line": 327, - "column": 16 - }, - "end": { - "line": 327, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 16790, - "end": 16794, - "loc": { - "start": { - "line": 327, - "column": 16 - }, - "end": { - "line": 327, - "column": 20 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 16795, - "end": 16821, - "loc": { - "start": { - "line": 327, - "column": 21 - }, - "end": { - "line": 327, - "column": 47 - }, - "identifierName": "eachMeshMaterialAttributes" - }, - "name": "eachMeshMaterialAttributes" - }, - "computed": false - }, - "property": { - "type": "UpdateExpression", - "start": 16822, - "end": 16855, - "loc": { - "start": { - "line": 327, - "column": 48 - }, - "end": { - "line": 327, - "column": 81 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 16822, - "end": 16853, - "loc": { - "start": { - "line": 327, - "column": 48 - }, - "end": { - "line": 327, - "column": 79 - }, - "identifierName": "eachMeshMaterialAttributesIndex" - }, - "name": "eachMeshMaterialAttributesIndex" - } - }, - "computed": true - }, - "right": { - "type": "BinaryExpression", - "start": 16860, - "end": 16878, - "loc": { - "start": { - "line": 327, - "column": 86 - }, - "end": { - "line": 327, - "column": 104 - } - }, - "left": { - "type": "MemberExpression", - "start": 16860, - "end": 16872, - "loc": { - "start": { - "line": 327, - "column": 86 - }, - "end": { - "line": 327, - "column": 98 - } - }, - "object": { - "type": "Identifier", - "start": 16860, - "end": 16864, - "loc": { - "start": { - "line": 327, - "column": 86 - }, - "end": { - "line": 327, - "column": 90 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 16865, - "end": 16872, - "loc": { - "start": { - "line": 327, - "column": 91 - }, - "end": { - "line": 327, - "column": 98 - }, - "identifierName": "opacity" - }, - "name": "opacity" - }, - "computed": false - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 16875, - "end": 16878, - "loc": { - "start": { - "line": 327, - "column": 101 - }, - "end": { - "line": 327, - "column": 104 - } - }, - "extra": { - "rawValue": 255, - "raw": "255" - }, - "value": 255 - }, - "extra": { - "parenthesized": true, - "parenStart": 16859 - } - } + "end": { + "line": 354, + "column": 35 }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " Opacity", - "start": 16881, - "end": 16891, - "loc": { - "start": { - "line": 327, - "column": 107 - }, - "end": { - "line": 327, - "column": 117 - } - } - } - ] + "identifierName": "xktModel" }, - { - "type": "ExpressionStatement", - "start": 16908, - "end": 16999, - "loc": { - "start": { - "line": 328, - "column": 16 - }, - "end": { - "line": 328, - "column": 107 - } + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 15929, + "end": 15941, + "loc": { + "start": { + "line": 354, + "column": 36 }, - "expression": { - "type": "AssignmentExpression", - "start": 16908, - "end": 16998, - "loc": { - "start": { - "line": 328, - "column": 16 - }, - "end": { - "line": 328, - "column": 106 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 16908, - "end": 16974, - "loc": { - "start": { - "line": 328, - "column": 16 - }, - "end": { - "line": 328, - "column": 82 - } - }, - "object": { - "type": "MemberExpression", - "start": 16908, - "end": 16939, - "loc": { - "start": { - "line": 328, - "column": 16 - }, - "end": { - "line": 328, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 16908, - "end": 16912, - "loc": { - "start": { - "line": 328, - "column": 16 - }, - "end": { - "line": 328, - "column": 20 - }, - "identifierName": "data" - }, - "name": "data", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 16913, - "end": 16939, - "loc": { - "start": { - "line": 328, - "column": 21 - }, - "end": { - "line": 328, - "column": 47 - }, - "identifierName": "eachMeshMaterialAttributes" - }, - "name": "eachMeshMaterialAttributes" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "UpdateExpression", - "start": 16940, - "end": 16973, - "loc": { - "start": { - "line": 328, - "column": 48 - }, - "end": { - "line": 328, - "column": 81 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 16940, - "end": 16971, - "loc": { - "start": { - "line": 328, - "column": 48 - }, - "end": { - "line": 328, - "column": 79 - }, - "identifierName": "eachMeshMaterialAttributesIndex" - }, - "name": "eachMeshMaterialAttributesIndex" - } - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 16978, - "end": 16997, - "loc": { - "start": { - "line": 328, - "column": 86 - }, - "end": { - "line": 328, - "column": 105 - } - }, - "left": { - "type": "MemberExpression", - "start": 16978, - "end": 16991, - "loc": { - "start": { - "line": 328, - "column": 86 - }, - "end": { - "line": 328, - "column": 99 - } - }, - "object": { - "type": "Identifier", - "start": 16978, - "end": 16982, - "loc": { - "start": { - "line": 328, - "column": 86 - }, - "end": { - "line": 328, - "column": 90 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 16983, - "end": 16991, - "loc": { - "start": { - "line": 328, - "column": 91 - }, - "end": { - "line": 328, - "column": 99 - }, - "identifierName": "metallic" - }, - "name": "metallic" - }, - "computed": false - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 16994, - "end": 16997, - "loc": { - "start": { - "line": 328, - "column": 102 - }, - "end": { - "line": 328, - "column": 105 - } - }, - "extra": { - "rawValue": 255, - "raw": "255" - }, - "value": 255 - }, - "extra": { - "parenthesized": true, - "parenStart": 16977 - } - }, - "leadingComments": null + "end": { + "line": 354, + "column": 48 }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Opacity", - "start": 16881, - "end": 16891, - "loc": { - "start": { - "line": 327, - "column": 107 - }, - "end": { - "line": 327, - "column": 117 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Metallic", - "start": 17000, - "end": 17011, - "loc": { - "start": { - "line": 328, - "column": 108 - }, - "end": { - "line": 328, - "column": 119 - } - } - } - ] + "identifierName": "texturesList" }, - { - "type": "ExpressionStatement", - "start": 17028, - "end": 17120, - "loc": { - "start": { - "line": 329, - "column": 16 - }, - "end": { - "line": 329, - "column": 108 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17028, - "end": 17119, - "loc": { - "start": { - "line": 329, - "column": 16 - }, - "end": { - "line": 329, - "column": 107 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17028, - "end": 17094, - "loc": { - "start": { - "line": 329, - "column": 16 - }, - "end": { - "line": 329, - "column": 82 - } - }, - "object": { - "type": "MemberExpression", - "start": 17028, - "end": 17059, - "loc": { - "start": { - "line": 329, - "column": 16 - }, - "end": { - "line": 329, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 17028, - "end": 17032, - "loc": { - "start": { - "line": 329, - "column": 16 - }, - "end": { - "line": 329, - "column": 20 - }, - "identifierName": "data" - }, - "name": "data", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17033, - "end": 17059, - "loc": { - "start": { - "line": 329, - "column": 21 - }, - "end": { - "line": 329, - "column": 47 - }, - "identifierName": "eachMeshMaterialAttributes" - }, - "name": "eachMeshMaterialAttributes" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "UpdateExpression", - "start": 17060, - "end": 17093, - "loc": { - "start": { - "line": 329, - "column": 48 - }, - "end": { - "line": 329, - "column": 81 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 17060, - "end": 17091, - "loc": { - "start": { - "line": 329, - "column": 48 - }, - "end": { - "line": 329, - "column": 79 - }, - "identifierName": "eachMeshMaterialAttributesIndex" - }, - "name": "eachMeshMaterialAttributesIndex" - } - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 17098, - "end": 17118, - "loc": { - "start": { - "line": 329, - "column": 86 - }, - "end": { - "line": 329, - "column": 106 - } - }, - "left": { - "type": "MemberExpression", - "start": 17098, - "end": 17112, - "loc": { - "start": { - "line": 329, - "column": 86 - }, - "end": { - "line": 329, - "column": 100 - } - }, - "object": { - "type": "Identifier", - "start": 17098, - "end": 17102, - "loc": { - "start": { - "line": 329, - "column": 86 - }, - "end": { - "line": 329, - "column": 90 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 17103, - "end": 17112, - "loc": { - "start": { - "line": 329, - "column": 91 - }, - "end": { - "line": 329, - "column": 100 - }, - "identifierName": "roughness" - }, - "name": "roughness" - }, - "computed": false - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 17115, - "end": 17118, - "loc": { - "start": { - "line": 329, - "column": 103 - }, - "end": { - "line": 329, - "column": 106 - } - }, - "extra": { - "rawValue": 255, - "raw": "255" - }, - "value": 255 - }, - "extra": { - "parenthesized": true, - "parenStart": 17097 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Metallic", - "start": 17000, - "end": 17011, - "loc": { - "start": { - "line": 328, - "column": 108 - }, - "end": { - "line": 328, - "column": 119 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Roughness", - "start": 17121, - "end": 17133, - "loc": { - "start": { - "line": 329, - "column": 109 - }, - "end": { - "line": 329, - "column": 121 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17151, - "end": 17163, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 28 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 17151, - "end": 17162, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 27 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 17151, - "end": 17160, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 25 - }, - "identifierName": "meshIndex" - }, - "name": "meshIndex", - "leadingComments": null - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Roughness", - "start": 17121, - "end": 17133, - "loc": { - "start": { - "line": 329, - "column": 109 - }, - "end": { - "line": 329, - "column": 121 - } - } - } - ] - } - ], - "directives": [] - } - }, - { - "type": "ExpressionStatement", - "start": 17191, - "end": 17241, - "loc": { - "start": { - "line": 334, - "column": 12 + "name": "texturesList" }, - "end": { - "line": 334, - "column": 62 - } + "computed": false }, - "expression": { - "type": "AssignmentExpression", - "start": 17191, - "end": 17240, + "property": { + "type": "Identifier", + "start": 15942, + "end": 15954, "loc": { "start": { - "line": 334, - "column": 12 + "line": 354, + "column": 49 }, "end": { - "line": 334, + "line": 354, "column": 61 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17191, - "end": 17222, - "loc": { - "start": { - "line": 334, - "column": 12 - }, - "end": { - "line": 334, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 17191, - "end": 17208, - "loc": { - "start": { - "line": 334, - "column": 12 - }, - "end": { - "line": 334, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 17191, - "end": 17195, - "loc": { - "start": { - "line": 334, - "column": 12 - }, - "end": { - "line": 334, - "column": 16 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 17196, - "end": 17208, - "loc": { - "start": { - "line": 334, - "column": 17 - }, - "end": { - "line": 334, - "column": 29 - }, - "identifierName": "eachEntityId" - }, - "name": "eachEntityId" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 17210, - "end": 17221, - "loc": { - "start": { - "line": 334, - "column": 31 - }, - "end": { - "line": 334, - "column": 42 - }, - "identifierName": "entityIndex" - }, - "name": "entityIndex" }, - "computed": true + "identifierName": "textureIndex" }, - "right": { - "type": "MemberExpression", - "start": 17225, - "end": 17240, - "loc": { - "start": { - "line": 334, - "column": 46 - }, - "end": { - "line": 334, - "column": 61 - } - }, - "object": { - "type": "Identifier", - "start": 17225, - "end": 17231, - "loc": { - "start": { - "line": 334, - "column": 46 - }, - "end": { - "line": 334, - "column": 52 - }, - "identifierName": "entity" - }, - "name": "entity" - }, - "property": { - "type": "Identifier", - "start": 17232, - "end": 17240, - "loc": { - "start": { - "line": 334, - "column": 53 - }, - "end": { - "line": 334, - "column": 61 - }, - "identifierName": "entityId" - }, - "name": "entityId" - }, - "computed": false - } + "name": "textureIndex" + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 15965, + "end": 16004, + "loc": { + "start": { + "line": 355, + "column": 8 + }, + "end": { + "line": 355, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15971, + "end": 16003, + "loc": { + "start": { + "line": 355, + "column": 14 + }, + "end": { + "line": 355, + "column": 46 } }, - { - "type": "ExpressionStatement", - "start": 17254, - "end": 17323, + "id": { + "type": "Identifier", + "start": 15971, + "end": 15980, "loc": { "start": { - "line": 335, - "column": 12 + "line": 355, + "column": 14 }, "end": { - "line": 335, - "column": 81 + "line": 355, + "column": 23 + }, + "identifierName": "imageData" + }, + "name": "imageData" + }, + "init": { + "type": "MemberExpression", + "start": 15983, + "end": 16003, + "loc": { + "start": { + "line": 355, + "column": 26 + }, + "end": { + "line": 355, + "column": 46 } }, - "expression": { - "type": "AssignmentExpression", - "start": 17254, - "end": 17322, + "object": { + "type": "Identifier", + "start": 15983, + "end": 15993, "loc": { "start": { - "line": 335, - "column": 12 + "line": 355, + "column": 26 }, "end": { - "line": 335, - "column": 80 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17254, - "end": 17295, - "loc": { - "start": { - "line": 335, - "column": 12 - }, - "end": { - "line": 335, - "column": 53 - } + "line": 355, + "column": 36 }, - "object": { - "type": "MemberExpression", - "start": 17254, - "end": 17282, - "loc": { - "start": { - "line": 335, - "column": 12 - }, - "end": { - "line": 335, - "column": 40 - } - }, - "object": { - "type": "Identifier", - "start": 17254, - "end": 17258, - "loc": { - "start": { - "line": 335, - "column": 12 - }, - "end": { - "line": 335, - "column": 16 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 17259, - "end": 17282, - "loc": { - "start": { - "line": 335, - "column": 17 - }, - "end": { - "line": 335, - "column": 40 - }, - "identifierName": "eachEntityMeshesPortion" - }, - "name": "eachEntityMeshesPortion" - }, - "computed": false + "identifierName": "xktTexture" + }, + "name": "xktTexture" + }, + "property": { + "type": "Identifier", + "start": 15994, + "end": 16003, + "loc": { + "start": { + "line": 355, + "column": 37 }, - "property": { - "type": "Identifier", - "start": 17283, - "end": 17294, - "loc": { - "start": { - "line": 335, - "column": 41 - }, - "end": { - "line": 335, - "column": 52 - }, - "identifierName": "entityIndex" - }, - "name": "entityIndex" + "end": { + "line": 355, + "column": 46 }, - "computed": true + "identifierName": "imageData" }, - "right": { - "type": "Identifier", - "start": 17298, - "end": 17322, - "loc": { - "start": { - "line": 335, - "column": 56 - }, - "end": { - "line": 335, - "column": 80 - }, - "identifierName": "countEntityMeshesPortion" - }, - "name": "countEntityMeshesPortion" - } + "name": "imageData" }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " <<<<<<<<<<<<<<<<<<<< Error here? Order/value of countEntityMeshesPortion correct?", - "start": 17324, - "end": 17408, - "loc": { - "start": { - "line": 335, - "column": 82 - }, - "end": { - "line": 335, - "column": 166 - } - } - } - ] + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 16013, + "end": 16057, + "loc": { + "start": { + "line": 356, + "column": 8 + }, + "end": { + "line": 356, + "column": 52 + } + }, + "expression": { + "type": "CallExpression", + "start": 16013, + "end": 16056, + "loc": { + "start": { + "line": 356, + "column": 8 }, - { - "type": "ExpressionStatement", - "start": 17422, - "end": 17436, + "end": { + "line": 356, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16013, + "end": 16033, + "loc": { + "start": { + "line": 356, + "column": 8 + }, + "end": { + "line": 356, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 16013, + "end": 16029, "loc": { "start": { - "line": 337, - "column": 12 + "line": 356, + "column": 8 }, "end": { - "line": 337, - "column": 26 + "line": 356, + "column": 24 } }, - "expression": { - "type": "UpdateExpression", - "start": 17422, - "end": 17435, + "object": { + "type": "Identifier", + "start": 16013, + "end": 16017, "loc": { "start": { - "line": 337, - "column": 12 + "line": 356, + "column": 8 }, "end": { - "line": 337, - "column": 25 - } + "line": 356, + "column": 12 + }, + "identifierName": "data" }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 17422, - "end": 17433, - "loc": { - "start": { - "line": 337, - "column": 12 - }, - "end": { - "line": 337, - "column": 23 - }, - "identifierName": "entityIndex" + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 16018, + "end": 16029, + "loc": { + "start": { + "line": 356, + "column": 13 }, - "name": "entityIndex", - "leadingComments": null + "end": { + "line": 356, + "column": 24 + }, + "identifierName": "textureData" }, - "leadingComments": null + "name": "textureData" }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " <<<<<<<<<<<<<<<<<<<< Error here? Order/value of countEntityMeshesPortion correct?", - "start": 17324, - "end": 17408, - "loc": { - "start": { - "line": 335, - "column": 82 - }, - "end": { - "line": 335, - "column": 166 - } - } - } - ] + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16030, + "end": 16033, + "loc": { + "start": { + "line": 356, + "column": 25 + }, + "end": { + "line": 356, + "column": 28 + }, + "identifierName": "set" + }, + "name": "set" }, + "computed": false + }, + "arguments": [ { - "type": "ExpressionStatement", - "start": 17449, - "end": 17493, + "type": "Identifier", + "start": 16034, + "end": 16043, "loc": { "start": { - "line": 338, - "column": 12 + "line": 356, + "column": 29 }, "end": { - "line": 338, - "column": 56 + "line": 356, + "column": 38 + }, + "identifierName": "imageData" + }, + "name": "imageData" + }, + { + "type": "Identifier", + "start": 16045, + "end": 16055, + "loc": { + "start": { + "line": 356, + "column": 40 + }, + "end": { + "line": 356, + "column": 50 + }, + "identifierName": "portionIdx" + }, + "name": "portionIdx" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 16066, + "end": 16121, + "loc": { + "start": { + "line": 357, + "column": 8 + }, + "end": { + "line": 357, + "column": 63 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 16066, + "end": 16120, + "loc": { + "start": { + "line": 357, + "column": 8 + }, + "end": { + "line": 357, + "column": 62 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 16066, + "end": 16107, + "loc": { + "start": { + "line": 357, + "column": 8 + }, + "end": { + "line": 357, + "column": 49 + } + }, + "object": { + "type": "MemberExpression", + "start": 16066, + "end": 16093, + "loc": { + "start": { + "line": 357, + "column": 8 + }, + "end": { + "line": 357, + "column": 35 } }, - "expression": { - "type": "AssignmentExpression", - "start": 17449, - "end": 17492, + "object": { + "type": "Identifier", + "start": 16066, + "end": 16070, "loc": { "start": { - "line": 338, - "column": 12 + "line": 357, + "column": 8 }, "end": { - "line": 338, - "column": 55 - } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 17449, - "end": 17473, - "loc": { - "start": { - "line": 338, - "column": 12 - }, - "end": { - "line": 338, - "column": 36 - }, - "identifierName": "countEntityMeshesPortion" + "line": 357, + "column": 12 }, - "name": "countEntityMeshesPortion" + "identifierName": "data" }, - "right": { - "type": "Identifier", - "start": 17477, - "end": 17492, - "loc": { - "start": { - "line": 338, - "column": 40 - }, - "end": { - "line": 338, - "column": 55 - }, - "identifierName": "numEntityMeshes" + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 16071, + "end": 16093, + "loc": { + "start": { + "line": 357, + "column": 13 }, - "name": "numEntityMeshes" - } - } + "end": { + "line": 357, + "column": 35 + }, + "identifierName": "eachTextureDataPortion" + }, + "name": "eachTextureDataPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16094, + "end": 16106, + "loc": { + "start": { + "line": 357, + "column": 36 + }, + "end": { + "line": 357, + "column": 48 + }, + "identifierName": "textureIndex" + }, + "name": "textureIndex" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 16110, + "end": 16120, + "loc": { + "start": { + "line": 357, + "column": 52 + }, + "end": { + "line": 357, + "column": 62 + }, + "identifierName": "portionIdx" + }, + "name": "portionIdx" + } + } + }, + { + "type": "ExpressionStatement", + "start": 16131, + "end": 16166, + "loc": { + "start": { + "line": 359, + "column": 8 + }, + "end": { + "line": 359, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 16131, + "end": 16165, + "loc": { + "start": { + "line": 359, + "column": 8 + }, + "end": { + "line": 359, + "column": 42 } - ], - "directives": [] + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 16131, + "end": 16141, + "loc": { + "start": { + "line": 359, + "column": 8 + }, + "end": { + "line": 359, + "column": 18 + }, + "identifierName": "portionIdx" + }, + "name": "portionIdx" + }, + "right": { + "type": "MemberExpression", + "start": 16145, + "end": 16165, + "loc": { + "start": { + "line": 359, + "column": 22 + }, + "end": { + "line": 359, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 16145, + "end": 16154, + "loc": { + "start": { + "line": 359, + "column": 22 + }, + "end": { + "line": 359, + "column": 31 + }, + "identifierName": "imageData" + }, + "name": "imageData" + }, + "property": { + "type": "Identifier", + "start": 16155, + "end": 16165, + "loc": { + "start": { + "line": 359, + "column": 32 + }, + "end": { + "line": 359, + "column": 42 + }, + "identifierName": "byteLength" + }, + "name": "byteLength" + }, + "computed": false + } } }, { "type": "VariableDeclaration", - "start": 17513, - "end": 17549, + "start": 16176, + "end": 16235, "loc": { "start": { - "line": 341, + "line": 361, "column": 8 }, "end": { - "line": 341, - "column": 44 + "line": 361, + "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17519, - "end": 17548, + "start": 16180, + "end": 16234, "loc": { "start": { - "line": 341, - "column": 14 + "line": 361, + "column": 12 }, "end": { - "line": 341, - "column": 43 + "line": 361, + "column": 66 } }, "id": { "type": "Identifier", - "start": 17519, - "end": 17532, + "start": 16180, + "end": 16194, "loc": { "start": { - "line": 341, - "column": 14 + "line": 361, + "column": 12 }, "end": { - "line": 341, - "column": 27 + "line": 361, + "column": 26 }, - "identifierName": "tileAABBIndex" + "identifierName": "textureAttrIdx" }, - "name": "tileAABBIndex" + "name": "textureAttrIdx" }, "init": { "type": "BinaryExpression", - "start": 17535, - "end": 17548, + "start": 16197, + "end": 16234, "loc": { "start": { - "line": 341, - "column": 30 + "line": 361, + "column": 29 }, "end": { - "line": 341, - "column": 43 + "line": 361, + "column": 66 } }, "left": { "type": "Identifier", - "start": 17535, - "end": 17544, + "start": 16197, + "end": 16209, "loc": { "start": { - "line": 341, - "column": 30 + "line": 361, + "column": 29 }, "end": { - "line": 341, - "column": 39 + "line": 361, + "column": 41 }, - "identifierName": "tileIndex" + "identifierName": "textureIndex" }, - "name": "tileIndex" + "name": "textureIndex" }, "operator": "*", "right": { - "type": "NumericLiteral", - "start": 17547, - "end": 17548, + "type": "Identifier", + "start": 16212, + "end": 16234, "loc": { "start": { - "line": 341, - "column": 42 + "line": 361, + "column": 44 }, "end": { - "line": 341, - "column": 43 - } - }, - "extra": { - "rawValue": 6, - "raw": "6" + "line": 361, + "column": 66 + }, + "identifierName": "NUM_TEXTURE_ATTRIBUTES" }, - "value": 6 + "name": "NUM_TEXTURE_ATTRIBUTES" } } } ], - "kind": "const" + "kind": "let" }, { "type": "ExpressionStatement", - "start": 17559, - "end": 17606, + "start": 16244, + "end": 16321, "loc": { "start": { - "line": 343, + "line": 362, "column": 8 }, "end": { - "line": 343, - "column": 55 + "line": 362, + "column": 85 } }, "expression": { - "type": "CallExpression", - "start": 17559, - "end": 17605, + "type": "AssignmentExpression", + "start": 16244, + "end": 16320, "loc": { "start": { - "line": 343, + "line": 362, "column": 8 }, "end": { - "line": 343, - "column": 54 + "line": 362, + "column": 84 } }, - "callee": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 17559, - "end": 17580, + "start": 16244, + "end": 16288, "loc": { "start": { - "line": 343, + "line": 362, "column": 8 }, "end": { - "line": 343, - "column": 29 + "line": 362, + "column": 52 } }, "object": { "type": "MemberExpression", - "start": 17559, - "end": 17576, + "start": 16244, + "end": 16270, "loc": { "start": { - "line": 343, + "line": 362, "column": 8 }, "end": { - "line": 343, - "column": 25 + "line": 362, + "column": 34 } }, "object": { "type": "Identifier", - "start": 17559, - "end": 17563, + "start": 16244, + "end": 16248, "loc": { "start": { - "line": 343, + "line": 362, "column": 8 }, "end": { - "line": 343, + "line": 362, "column": 12 }, "identifierName": "data" @@ -28630,1148 +26831,753 @@ }, "property": { "type": "Identifier", - "start": 17564, - "end": 17576, + "start": 16249, + "end": 16270, "loc": { "start": { - "line": 343, + "line": 362, "column": 13 }, "end": { - "line": 343, - "column": 25 + "line": 362, + "column": 34 }, - "identifierName": "eachTileAABB" + "identifierName": "eachTextureAttributes" }, - "name": "eachTileAABB" + "name": "eachTextureAttributes" }, "computed": false }, "property": { - "type": "Identifier", - "start": 17577, - "end": 17580, + "type": "UpdateExpression", + "start": 16271, + "end": 16287, "loc": { "start": { - "line": 343, - "column": 26 + "line": 362, + "column": 35 }, "end": { - "line": 343, - "column": 29 - }, - "identifierName": "set" + "line": 362, + "column": 51 + } }, - "name": "set" + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 16271, + "end": 16285, + "loc": { + "start": { + "line": 362, + "column": 35 + }, + "end": { + "line": 362, + "column": 49 + }, + "identifierName": "textureAttrIdx" + }, + "name": "textureAttrIdx" + } }, - "computed": false + "computed": true }, - "arguments": [ - { - "type": "Identifier", - "start": 17581, - "end": 17589, + "right": { + "type": "ConditionalExpression", + "start": 16291, + "end": 16320, + "loc": { + "start": { + "line": 362, + "column": 55 + }, + "end": { + "line": 362, + "column": 84 + } + }, + "test": { + "type": "MemberExpression", + "start": 16291, + "end": 16312, "loc": { "start": { - "line": 343, - "column": 30 + "line": 362, + "column": 55 }, "end": { - "line": 343, - "column": 38 + "line": 362, + "column": 76 + } + }, + "object": { + "type": "Identifier", + "start": 16291, + "end": 16301, + "loc": { + "start": { + "line": 362, + "column": 55 + }, + "end": { + "line": 362, + "column": 65 + }, + "identifierName": "xktTexture" }, - "identifierName": "tileAABB" + "name": "xktTexture" }, - "name": "tileAABB" + "property": { + "type": "Identifier", + "start": 16302, + "end": 16312, + "loc": { + "start": { + "line": 362, + "column": 66 + }, + "end": { + "line": 362, + "column": 76 + }, + "identifierName": "compressed" + }, + "name": "compressed" + }, + "computed": false }, - { - "type": "Identifier", - "start": 17591, - "end": 17604, + "consequent": { + "type": "NumericLiteral", + "start": 16315, + "end": 16316, "loc": { "start": { - "line": 343, - "column": 40 + "line": 362, + "column": 79 }, "end": { - "line": 343, - "column": 53 + "line": 362, + "column": 80 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "alternate": { + "type": "NumericLiteral", + "start": 16319, + "end": 16320, + "loc": { + "start": { + "line": 362, + "column": 83 }, - "identifierName": "tileAABBIndex" + "end": { + "line": 362, + "column": 84 + } }, - "name": "tileAABBIndex" + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 } - ] + } } - } - ], - "directives": [] - } - }, - { - "type": "ReturnStatement", - "start": 17618, - "end": 17630, - "loc": { - "start": { - "line": 346, - "column": 4 - }, - "end": { - "line": 346, - "column": 16 - } - }, - "argument": { - "type": "Identifier", - "start": 17625, - "end": 17629, - "loc": { - "start": { - "line": 346, - "column": 11 - }, - "end": { - "line": 346, - "column": 15 }, - "identifierName": "data" - }, - "name": "data" - } - } - ], - "directives": [] - } - }, - { - "type": "FunctionDeclaration", - "start": 17634, - "end": 20252, - "loc": { - "start": { - "line": 349, - "column": 0 - }, - "end": { - "line": 397, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 17643, - "end": 17654, - "loc": { - "start": { - "line": 349, - "column": 9 - }, - "end": { - "line": 349, - "column": 20 - }, - "identifierName": "deflateData" - }, - "name": "deflateData" - }, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 17655, - "end": 17659, - "loc": { - "start": { - "line": 349, - "column": 21 - }, - "end": { - "line": 349, - "column": 25 - }, - "identifierName": "data" - }, - "name": "data" - }, - { - "type": "Identifier", - "start": 17661, - "end": 17674, - "loc": { - "start": { - "line": 349, - "column": 27 - }, - "end": { - "line": 349, - "column": 40 - }, - "identifierName": "metaModelJSON" - }, - "name": "metaModelJSON" - }, - { - "type": "Identifier", - "start": 17676, - "end": 17683, - "loc": { - "start": { - "line": 349, - "column": 42 - }, - "end": { - "line": 349, - "column": 49 - }, - "identifierName": "options" - }, - "name": "options" - } - ], - "body": { - "type": "BlockStatement", - "start": 17685, - "end": 20252, - "loc": { - "start": { - "line": 349, - "column": 51 - }, - "end": { - "line": 397, - "column": 1 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 17692, - "end": 17796, - "loc": { - "start": { - "line": 351, - "column": 4 - }, - "end": { - "line": 353, - "column": 5 - } - }, - "id": { - "type": "Identifier", - "start": 17701, - "end": 17708, - "loc": { - "start": { - "line": 351, - "column": 13 - }, - "end": { - "line": 351, - "column": 20 - }, - "identifierName": "deflate" - }, - "name": "deflate" - }, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 17709, - "end": 17715, - "loc": { - "start": { - "line": 351, - "column": 21 - }, - "end": { - "line": 351, - "column": 27 - }, - "identifierName": "buffer" - }, - "name": "buffer" - } - ], - "body": { - "type": "BlockStatement", - "start": 17717, - "end": 17796, - "loc": { - "start": { - "line": 351, - "column": 29 - }, - "end": { - "line": 353, - "column": 5 - } - }, - "body": [ { - "type": "ReturnStatement", - "start": 17727, - "end": 17790, + "type": "ExpressionStatement", + "start": 16330, + "end": 16398, "loc": { "start": { - "line": 352, + "line": 363, "column": 8 }, "end": { - "line": 352, - "column": 71 + "line": 363, + "column": 76 } }, - "argument": { - "type": "ConditionalExpression", - "start": 17734, - "end": 17789, + "expression": { + "type": "AssignmentExpression", + "start": 16330, + "end": 16397, "loc": { "start": { - "line": 352, - "column": 15 + "line": 363, + "column": 8 }, "end": { - "line": 352, - "column": 70 + "line": 363, + "column": 75 } }, - "test": { - "type": "BinaryExpression", - "start": 17735, - "end": 17756, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 16330, + "end": 16374, "loc": { "start": { - "line": 352, - "column": 16 + "line": 363, + "column": 8 }, "end": { - "line": 352, - "column": 37 + "line": 363, + "column": 52 } }, - "left": { + "object": { "type": "MemberExpression", - "start": 17735, - "end": 17746, + "start": 16330, + "end": 16356, "loc": { "start": { - "line": 352, - "column": 16 + "line": 363, + "column": 8 }, "end": { - "line": 352, - "column": 27 + "line": 363, + "column": 34 } }, "object": { "type": "Identifier", - "start": 17735, - "end": 17742, + "start": 16330, + "end": 16334, "loc": { "start": { - "line": 352, - "column": 16 + "line": 363, + "column": 8 }, "end": { - "line": 352, - "column": 23 + "line": 363, + "column": 12 }, - "identifierName": "options" + "identifierName": "data" }, - "name": "options" + "name": "data" }, "property": { "type": "Identifier", - "start": 17743, - "end": 17746, + "start": 16335, + "end": 16356, "loc": { "start": { - "line": 352, - "column": 24 + "line": 363, + "column": 13 }, "end": { - "line": 352, - "column": 27 + "line": 363, + "column": 34 }, - "identifierName": "zip" + "identifierName": "eachTextureAttributes" }, - "name": "zip" + "name": "eachTextureAttributes" }, "computed": false }, - "operator": "!==", - "right": { - "type": "BooleanLiteral", - "start": 17751, - "end": 17756, - "loc": { - "start": { - "line": 352, - "column": 32 - }, - "end": { - "line": 352, - "column": 37 - } - }, - "value": false - }, - "extra": { - "parenthesized": true, - "parenStart": 17734 - } - }, - "consequent": { - "type": "CallExpression", - "start": 17760, - "end": 17780, - "loc": { - "start": { - "line": 352, - "column": 41 - }, - "end": { - "line": 352, - "column": 61 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17760, - "end": 17772, + "property": { + "type": "UpdateExpression", + "start": 16357, + "end": 16373, "loc": { "start": { - "line": 352, - "column": 41 + "line": 363, + "column": 35 }, "end": { - "line": 352, - "column": 53 + "line": 363, + "column": 51 } }, - "object": { - "type": "Identifier", - "start": 17760, - "end": 17764, - "loc": { - "start": { - "line": 352, - "column": 41 - }, - "end": { - "line": 352, - "column": 45 - }, - "identifierName": "pako" - }, - "name": "pako" - }, - "property": { - "type": "Identifier", - "start": 17765, - "end": 17772, - "loc": { - "start": { - "line": 352, - "column": 46 - }, - "end": { - "line": 352, - "column": 53 - }, - "identifierName": "deflate" - }, - "name": "deflate" - }, - "computed": false - }, - "arguments": [ - { + "operator": "++", + "prefix": false, + "argument": { "type": "Identifier", - "start": 17773, - "end": 17779, + "start": 16357, + "end": 16371, "loc": { "start": { - "line": 352, - "column": 54 + "line": 363, + "column": 35 }, "end": { - "line": 352, - "column": 60 + "line": 363, + "column": 49 }, - "identifierName": "buffer" + "identifierName": "textureAttrIdx" }, - "name": "buffer" + "name": "textureAttrIdx" } - ] - }, - "alternate": { - "type": "Identifier", - "start": 17783, - "end": 17789, - "loc": { - "start": { - "line": 352, - "column": 64 - }, - "end": { - "line": 352, - "column": 70 - }, - "identifierName": "buffer" }, - "name": "buffer" - } - } - } - ], - "directives": [] - } - }, - { - "type": "VariableDeclaration", - "start": 17802, - "end": 17821, - "loc": { - "start": { - "line": 355, - "column": 4 - }, - "end": { - "line": 355, - "column": 23 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17806, - "end": 17820, - "loc": { - "start": { - "line": 355, - "column": 8 - }, - "end": { - "line": 355, - "column": 22 - } - }, - "id": { - "type": "Identifier", - "start": 17806, - "end": 17820, - "loc": { - "start": { - "line": 355, - "column": 8 - }, - "end": { - "line": 355, - "column": 22 - }, - "identifierName": "metaModelBytes" - }, - "name": "metaModelBytes" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 17826, - "end": 18073, - "loc": { - "start": { - "line": 356, - "column": 4 - }, - "end": { - "line": 362, - "column": 5 - } - }, - "test": { - "type": "Identifier", - "start": 17830, - "end": 17843, - "loc": { - "start": { - "line": 356, - "column": 8 - }, - "end": { - "line": 356, - "column": 21 - }, - "identifierName": "metaModelJSON" - }, - "name": "metaModelJSON" - }, - "consequent": { - "type": "BlockStatement", - "start": 17845, - "end": 17956, - "loc": { - "start": { - "line": 356, - "column": 23 - }, - "end": { - "line": 359, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 17855, - "end": 17903, - "loc": { - "start": { - "line": 357, - "column": 8 + "computed": true }, - "end": { - "line": 357, - "column": 56 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17861, - "end": 17902, + "right": { + "type": "MemberExpression", + "start": 16377, + "end": 16397, "loc": { "start": { - "line": 357, - "column": 14 + "line": 363, + "column": 55 }, "end": { - "line": 357, - "column": 55 + "line": 363, + "column": 75 } }, - "id": { + "object": { "type": "Identifier", - "start": 17861, - "end": 17873, + "start": 16377, + "end": 16387, "loc": { "start": { - "line": 357, - "column": 14 + "line": 363, + "column": 55 }, "end": { - "line": 357, - "column": 26 + "line": 363, + "column": 65 }, - "identifierName": "deflatedJSON" + "identifierName": "xktTexture" }, - "name": "deflatedJSON" + "name": "xktTexture" }, - "init": { - "type": "CallExpression", - "start": 17876, - "end": 17902, + "property": { + "type": "Identifier", + "start": 16388, + "end": 16397, "loc": { "start": { - "line": 357, - "column": 29 + "line": 363, + "column": 66 }, "end": { - "line": 357, - "column": 55 - } - }, - "callee": { - "type": "Identifier", - "start": 17876, - "end": 17887, - "loc": { - "start": { - "line": 357, - "column": 29 - }, - "end": { - "line": 357, - "column": 40 - }, - "identifierName": "deflateJSON" + "line": 363, + "column": 75 }, - "name": "deflateJSON" + "identifierName": "mediaType" }, - "arguments": [ - { - "type": "Identifier", - "start": 17888, - "end": 17901, - "loc": { - "start": { - "line": 357, - "column": 41 - }, - "end": { - "line": 357, - "column": 54 - }, - "identifierName": "metaModelJSON" - }, - "name": "metaModelJSON" - } - ] + "name": "mediaType" + }, + "computed": false + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " GIFMediaType | PNGMediaType | JPEGMediaType", + "start": 16399, + "end": 16445, + "loc": { + "start": { + "line": 363, + "column": 77 + }, + "end": { + "line": 363, + "column": 123 + } } } - ], - "kind": "const" + ] }, { "type": "ExpressionStatement", - "start": 17912, - "end": 17950, + "start": 16454, + "end": 16518, "loc": { "start": { - "line": 358, + "line": 364, "column": 8 }, "end": { - "line": 358, - "column": 46 + "line": 364, + "column": 72 } }, "expression": { "type": "AssignmentExpression", - "start": 17912, - "end": 17950, + "start": 16454, + "end": 16517, "loc": { "start": { - "line": 358, + "line": 364, "column": 8 }, "end": { - "line": 358, - "column": 46 + "line": 364, + "column": 71 } }, "operator": "=", "left": { - "type": "Identifier", - "start": 17912, - "end": 17926, + "type": "MemberExpression", + "start": 16454, + "end": 16498, "loc": { "start": { - "line": 358, + "line": 364, "column": 8 }, "end": { - "line": 358, - "column": 22 - }, - "identifierName": "metaModelBytes" - }, - "name": "metaModelBytes" - }, - "right": { - "type": "CallExpression", - "start": 17929, - "end": 17950, - "loc": { - "start": { - "line": 358, - "column": 25 - }, - "end": { - "line": 358, - "column": 46 + "line": 364, + "column": 52 } }, - "callee": { - "type": "Identifier", - "start": 17929, - "end": 17936, + "object": { + "type": "MemberExpression", + "start": 16454, + "end": 16480, "loc": { "start": { - "line": 358, - "column": 25 + "line": 364, + "column": 8 }, "end": { - "line": 358, - "column": 32 + "line": 364, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 16454, + "end": 16458, + "loc": { + "start": { + "line": 364, + "column": 8 + }, + "end": { + "line": 364, + "column": 12 + }, + "identifierName": "data" }, - "identifierName": "deflate" + "name": "data", + "leadingComments": null }, - "name": "deflate" - }, - "arguments": [ - { + "property": { "type": "Identifier", - "start": 17937, - "end": 17949, + "start": 16459, + "end": 16480, "loc": { "start": { - "line": 358, - "column": 33 + "line": 364, + "column": 13 }, "end": { - "line": 358, - "column": 45 + "line": 364, + "column": 34 }, - "identifierName": "deflatedJSON" + "identifierName": "eachTextureAttributes" }, - "name": "deflatedJSON" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 17962, - "end": 18073, - "loc": { - "start": { - "line": 359, - "column": 11 - }, - "end": { - "line": 362, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 17972, - "end": 18020, - "loc": { - "start": { - "line": 360, - "column": 8 + "name": "eachTextureAttributes" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "UpdateExpression", + "start": 16481, + "end": 16497, + "loc": { + "start": { + "line": 364, + "column": 35 + }, + "end": { + "line": 364, + "column": 51 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 16481, + "end": 16495, + "loc": { + "start": { + "line": 364, + "column": 35 + }, + "end": { + "line": 364, + "column": 49 + }, + "identifierName": "textureAttrIdx" + }, + "name": "textureAttrIdx" + } + }, + "computed": true, + "leadingComments": null }, - "end": { - "line": 360, - "column": 56 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17978, - "end": 18019, + "right": { + "type": "MemberExpression", + "start": 16501, + "end": 16517, "loc": { "start": { - "line": 360, - "column": 14 + "line": 364, + "column": 55 }, "end": { - "line": 360, - "column": 55 + "line": 364, + "column": 71 } }, - "id": { + "object": { "type": "Identifier", - "start": 17978, - "end": 17990, + "start": 16501, + "end": 16511, "loc": { "start": { - "line": 360, - "column": 14 + "line": 364, + "column": 55 }, "end": { - "line": 360, - "column": 26 + "line": 364, + "column": 65 }, - "identifierName": "deflatedJSON" + "identifierName": "xktTexture" }, - "name": "deflatedJSON" + "name": "xktTexture" }, - "init": { - "type": "CallExpression", - "start": 17993, - "end": 18019, + "property": { + "type": "Identifier", + "start": 16512, + "end": 16517, "loc": { "start": { - "line": 360, - "column": 29 + "line": 364, + "column": 66 }, "end": { - "line": 360, - "column": 55 - } - }, - "callee": { - "type": "Identifier", - "start": 17993, - "end": 18004, - "loc": { - "start": { - "line": 360, - "column": 29 - }, - "end": { - "line": 360, - "column": 40 - }, - "identifierName": "deflateJSON" + "line": 364, + "column": 71 }, - "name": "deflateJSON" + "identifierName": "width" }, - "arguments": [ - { - "type": "MemberExpression", - "start": 18005, - "end": 18018, - "loc": { - "start": { - "line": 360, - "column": 41 - }, - "end": { - "line": 360, - "column": 54 - } - }, - "object": { - "type": "Identifier", - "start": 18005, - "end": 18009, - "loc": { - "start": { - "line": 360, - "column": 41 - }, - "end": { - "line": 360, - "column": 45 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 18010, - "end": 18018, - "loc": { - "start": { - "line": 360, - "column": 46 - }, - "end": { - "line": 360, - "column": 54 - }, - "identifierName": "metadata" - }, - "name": "metadata" - }, - "computed": false - } - ] + "name": "width" + }, + "computed": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " GIFMediaType | PNGMediaType | JPEGMediaType", + "start": 16399, + "end": 16445, + "loc": { + "start": { + "line": 363, + "column": 77 + }, + "end": { + "line": 363, + "column": 123 + } } } - ], - "kind": "const" + ] }, { "type": "ExpressionStatement", - "start": 18029, - "end": 18067, + "start": 16527, + "end": 16592, "loc": { "start": { - "line": 361, + "line": 365, "column": 8 }, "end": { - "line": 361, - "column": 46 + "line": 365, + "column": 73 } }, "expression": { "type": "AssignmentExpression", - "start": 18029, - "end": 18067, + "start": 16527, + "end": 16591, "loc": { "start": { - "line": 361, + "line": 365, "column": 8 }, "end": { - "line": 361, - "column": 46 + "line": 365, + "column": 72 } }, "operator": "=", "left": { - "type": "Identifier", - "start": 18029, - "end": 18043, + "type": "MemberExpression", + "start": 16527, + "end": 16571, "loc": { "start": { - "line": 361, + "line": 365, "column": 8 }, "end": { - "line": 361, - "column": 22 - }, - "identifierName": "metaModelBytes" - }, - "name": "metaModelBytes" - }, - "right": { - "type": "CallExpression", - "start": 18046, - "end": 18067, - "loc": { - "start": { - "line": 361, - "column": 25 - }, - "end": { - "line": 361, - "column": 46 + "line": 365, + "column": 52 } }, - "callee": { - "type": "Identifier", - "start": 18046, - "end": 18053, + "object": { + "type": "MemberExpression", + "start": 16527, + "end": 16553, "loc": { "start": { - "line": 361, - "column": 25 + "line": 365, + "column": 8 }, "end": { - "line": 361, - "column": 32 + "line": 365, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 16527, + "end": 16531, + "loc": { + "start": { + "line": 365, + "column": 8 + }, + "end": { + "line": 365, + "column": 12 + }, + "identifierName": "data" }, - "identifierName": "deflate" + "name": "data" }, - "name": "deflate" + "property": { + "type": "Identifier", + "start": 16532, + "end": 16553, + "loc": { + "start": { + "line": 365, + "column": 13 + }, + "end": { + "line": 365, + "column": 34 + }, + "identifierName": "eachTextureAttributes" + }, + "name": "eachTextureAttributes" + }, + "computed": false }, - "arguments": [ - { + "property": { + "type": "UpdateExpression", + "start": 16554, + "end": 16570, + "loc": { + "start": { + "line": 365, + "column": 35 + }, + "end": { + "line": 365, + "column": 51 + } + }, + "operator": "++", + "prefix": false, + "argument": { "type": "Identifier", - "start": 18054, - "end": 18066, + "start": 16554, + "end": 16568, "loc": { "start": { - "line": 361, - "column": 33 + "line": 365, + "column": 35 }, "end": { - "line": 361, - "column": 45 + "line": 365, + "column": 49 }, - "identifierName": "deflatedJSON" + "identifierName": "textureAttrIdx" }, - "name": "deflatedJSON" + "name": "textureAttrIdx" } - ] - } - } - } - ], - "directives": [] - } - }, - { - "type": "ReturnStatement", - "start": 18079, - "end": 20250, - "loc": { - "start": { - "line": 364, - "column": 4 - }, - "end": { - "line": 396, - "column": 6 - } - }, - "argument": { - "type": "ObjectExpression", - "start": 18086, - "end": 20249, - "loc": { - "start": { - "line": 364, - "column": 11 - }, - "end": { - "line": 396, - "column": 5 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 18096, - "end": 18120, - "loc": { - "start": { - "line": 365, - "column": 8 - }, - "end": { - "line": 365, - "column": 32 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18096, - "end": 18104, - "loc": { - "start": { - "line": 365, - "column": 8 - }, - "end": { - "line": 365, - "column": 16 }, - "identifierName": "metadata" + "computed": true }, - "name": "metadata" - }, - "value": { - "type": "Identifier", - "start": 18106, - "end": 18120, - "loc": { - "start": { - "line": 365, - "column": 18 + "right": { + "type": "MemberExpression", + "start": 16574, + "end": 16591, + "loc": { + "start": { + "line": 365, + "column": 55 + }, + "end": { + "line": 365, + "column": 72 + } }, - "end": { - "line": 365, - "column": 32 + "object": { + "type": "Identifier", + "start": 16574, + "end": 16584, + "loc": { + "start": { + "line": 365, + "column": 55 + }, + "end": { + "line": 365, + "column": 65 + }, + "identifierName": "xktTexture" + }, + "name": "xktTexture" }, - "identifierName": "metaModelBytes" - }, - "name": "metaModelBytes" + "property": { + "type": "Identifier", + "start": 16585, + "end": 16591, + "loc": { + "start": { + "line": 365, + "column": 66 + }, + "end": { + "line": 365, + "column": 72 + }, + "identifierName": "height" + }, + "name": "height" + }, + "computed": false + } } }, { - "type": "ObjectProperty", - "start": 18130, - "end": 18175, + "type": "ExpressionStatement", + "start": 16601, + "end": 16669, "loc": { "start": { "line": 366, @@ -29779,16 +27585,13 @@ }, "end": { "line": 366, - "column": 53 + "column": 76 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18130, - "end": 18141, + "expression": { + "type": "AssignmentExpression", + "start": 16601, + "end": 16668, "loc": { "start": { "line": 366, @@ -29796,1654 +27599,1562 @@ }, "end": { "line": 366, - "column": 19 - }, - "identifierName": "textureData" - }, - "name": "textureData" - }, - "value": { - "type": "CallExpression", - "start": 18143, - "end": 18175, - "loc": { - "start": { - "line": 366, - "column": 21 - }, - "end": { - "line": 366, - "column": 53 + "column": 75 } }, - "callee": { - "type": "Identifier", - "start": 18143, - "end": 18150, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 16601, + "end": 16645, "loc": { "start": { "line": 366, - "column": 21 + "column": 8 }, "end": { "line": 366, - "column": 28 - }, - "identifierName": "deflate" + "column": 52 + } }, - "name": "deflate" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 18151, - "end": 18174, + "start": 16601, + "end": 16627, "loc": { "start": { "line": 366, - "column": 29 + "column": 8 }, "end": { "line": 366, - "column": 52 + "column": 34 } }, "object": { - "type": "MemberExpression", - "start": 18151, - "end": 18167, + "type": "Identifier", + "start": 16601, + "end": 16605, "loc": { "start": { "line": 366, - "column": 29 + "column": 8 }, "end": { "line": 366, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 18151, - "end": 18155, - "loc": { - "start": { - "line": 366, - "column": 29 - }, - "end": { - "line": 366, - "column": 33 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 18156, - "end": 18167, - "loc": { - "start": { - "line": 366, - "column": 34 - }, - "end": { - "line": 366, - "column": 45 - }, - "identifierName": "textureData" + "column": 12 }, - "name": "textureData" + "identifierName": "data" }, - "computed": false + "name": "data" }, "property": { "type": "Identifier", - "start": 18168, - "end": 18174, + "start": 16606, + "end": 16627, "loc": { "start": { "line": 366, - "column": 46 + "column": 13 }, "end": { "line": 366, - "column": 52 + "column": 34 }, - "identifierName": "buffer" + "identifierName": "eachTextureAttributes" }, - "name": "buffer" + "name": "eachTextureAttributes" }, "computed": false - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 18185, - "end": 18252, - "loc": { - "start": { - "line": 367, - "column": 8 - }, - "end": { - "line": 367, - "column": 75 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18185, - "end": 18207, - "loc": { - "start": { - "line": 367, - "column": 8 - }, - "end": { - "line": 367, - "column": 30 - }, - "identifierName": "eachTextureDataPortion" - }, - "name": "eachTextureDataPortion" - }, - "value": { - "type": "CallExpression", - "start": 18209, - "end": 18252, - "loc": { - "start": { - "line": 367, - "column": 32 - }, - "end": { - "line": 367, - "column": 75 - } - }, - "callee": { - "type": "Identifier", - "start": 18209, - "end": 18216, - "loc": { - "start": { - "line": 367, - "column": 32 - }, - "end": { - "line": 367, - "column": 39 - }, - "identifierName": "deflate" }, - "name": "deflate" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 18217, - "end": 18251, + "property": { + "type": "UpdateExpression", + "start": 16628, + "end": 16644, "loc": { "start": { - "line": 367, - "column": 40 + "line": 366, + "column": 35 }, "end": { - "line": 367, - "column": 74 + "line": 366, + "column": 51 } }, - "object": { - "type": "MemberExpression", - "start": 18217, - "end": 18244, - "loc": { + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 16628, + "end": 16642, + "loc": { "start": { - "line": 367, - "column": 40 + "line": 366, + "column": 35 }, "end": { - "line": 367, - "column": 67 - } - }, - "object": { - "type": "Identifier", - "start": 18217, - "end": 18221, - "loc": { - "start": { - "line": 367, - "column": 40 - }, - "end": { - "line": 367, - "column": 44 - }, - "identifierName": "data" + "line": 366, + "column": 49 }, - "name": "data" + "identifierName": "textureAttrIdx" }, - "property": { - "type": "Identifier", - "start": 18222, - "end": 18244, - "loc": { - "start": { - "line": 367, - "column": 45 - }, - "end": { - "line": 367, - "column": 67 - }, - "identifierName": "eachTextureDataPortion" - }, - "name": "eachTextureDataPortion" + "name": "textureAttrIdx" + } + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 16648, + "end": 16668, + "loc": { + "start": { + "line": 366, + "column": 55 + }, + "end": { + "line": 366, + "column": 75 + } + }, + "object": { + "type": "Identifier", + "start": 16648, + "end": 16658, + "loc": { + "start": { + "line": 366, + "column": 55 }, - "computed": false + "end": { + "line": 366, + "column": 65 + }, + "identifierName": "xktTexture" }, - "property": { - "type": "Identifier", - "start": 18245, - "end": 18251, - "loc": { - "start": { - "line": 367, - "column": 68 - }, - "end": { - "line": 367, - "column": 74 - }, - "identifierName": "buffer" + "name": "xktTexture" + }, + "property": { + "type": "Identifier", + "start": 16659, + "end": 16668, + "loc": { + "start": { + "line": 366, + "column": 66 }, - "name": "buffer" + "end": { + "line": 366, + "column": 75 + }, + "identifierName": "minFilter" }, - "computed": false + "name": "minFilter" + }, + "computed": false + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " LinearMipmapLinearFilter | LinearMipMapNearestFilter | NearestMipMapNearestFilter | NearestMipMapLinearFilter | LinearMipMapLinearFilter", + "start": 16670, + "end": 16809, + "loc": { + "start": { + "line": 366, + "column": 77 + }, + "end": { + "line": 366, + "column": 216 + } } - ] - } + } + ] }, { - "type": "ObjectProperty", - "start": 18262, - "end": 18327, + "type": "ExpressionStatement", + "start": 16818, + "end": 16886, "loc": { "start": { - "line": 368, + "line": 367, "column": 8 }, "end": { - "line": 368, - "column": 73 + "line": 367, + "column": 76 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18262, - "end": 18283, + "expression": { + "type": "AssignmentExpression", + "start": 16818, + "end": 16885, "loc": { "start": { - "line": 368, + "line": 367, "column": 8 }, "end": { - "line": 368, - "column": 29 - }, - "identifierName": "eachTextureAttributes" - }, - "name": "eachTextureAttributes" - }, - "value": { - "type": "CallExpression", - "start": 18285, - "end": 18327, - "loc": { - "start": { - "line": 368, - "column": 31 - }, - "end": { - "line": 368, - "column": 73 + "line": 367, + "column": 75 } }, - "callee": { - "type": "Identifier", - "start": 18285, - "end": 18292, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 16818, + "end": 16862, "loc": { "start": { - "line": 368, - "column": 31 + "line": 367, + "column": 8 }, "end": { - "line": 368, - "column": 38 - }, - "identifierName": "deflate" + "line": 367, + "column": 52 + } }, - "name": "deflate" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 18293, - "end": 18326, + "start": 16818, + "end": 16844, "loc": { "start": { - "line": 368, - "column": 39 + "line": 367, + "column": 8 }, "end": { - "line": 368, - "column": 72 + "line": 367, + "column": 34 } }, "object": { - "type": "MemberExpression", - "start": 18293, - "end": 18319, + "type": "Identifier", + "start": 16818, + "end": 16822, "loc": { "start": { - "line": 368, - "column": 39 + "line": 367, + "column": 8 }, "end": { - "line": 368, - "column": 65 - } - }, - "object": { - "type": "Identifier", - "start": 18293, - "end": 18297, - "loc": { - "start": { - "line": 368, - "column": 39 - }, - "end": { - "line": 368, - "column": 43 - }, - "identifierName": "data" + "line": 367, + "column": 12 }, - "name": "data" + "identifierName": "data" }, - "property": { - "type": "Identifier", - "start": 18298, - "end": 18319, - "loc": { - "start": { - "line": 368, - "column": 44 - }, - "end": { - "line": 368, - "column": 65 - }, - "identifierName": "eachTextureAttributes" + "name": "data", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 16823, + "end": 16844, + "loc": { + "start": { + "line": 367, + "column": 13 }, - "name": "eachTextureAttributes" + "end": { + "line": 367, + "column": 34 + }, + "identifierName": "eachTextureAttributes" }, - "computed": false + "name": "eachTextureAttributes" }, - "property": { + "computed": false, + "leadingComments": null + }, + "property": { + "type": "UpdateExpression", + "start": 16845, + "end": 16861, + "loc": { + "start": { + "line": 367, + "column": 35 + }, + "end": { + "line": 367, + "column": 51 + } + }, + "operator": "++", + "prefix": false, + "argument": { "type": "Identifier", - "start": 18320, - "end": 18326, + "start": 16845, + "end": 16859, "loc": { "start": { - "line": 368, - "column": 66 + "line": 367, + "column": 35 }, "end": { - "line": 368, - "column": 72 + "line": 367, + "column": 49 }, - "identifierName": "buffer" + "identifierName": "textureAttrIdx" }, - "name": "buffer" + "name": "textureAttrIdx" + } + }, + "computed": true, + "leadingComments": null + }, + "right": { + "type": "MemberExpression", + "start": 16865, + "end": 16885, + "loc": { + "start": { + "line": 367, + "column": 55 }, - "computed": false + "end": { + "line": 367, + "column": 75 + } + }, + "object": { + "type": "Identifier", + "start": 16865, + "end": 16875, + "loc": { + "start": { + "line": 367, + "column": 55 + }, + "end": { + "line": 367, + "column": 65 + }, + "identifierName": "xktTexture" + }, + "name": "xktTexture" + }, + "property": { + "type": "Identifier", + "start": 16876, + "end": 16885, + "loc": { + "start": { + "line": 367, + "column": 66 + }, + "end": { + "line": 367, + "column": 75 + }, + "identifierName": "magFilter" + }, + "name": "magFilter" + }, + "computed": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " LinearMipmapLinearFilter | LinearMipMapNearestFilter | NearestMipMapNearestFilter | NearestMipMapLinearFilter | LinearMipMapLinearFilter", + "start": 16670, + "end": 16809, + "loc": { + "start": { + "line": 366, + "column": 77 + }, + "end": { + "line": 366, + "column": 216 + } } - ] - } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " LinearFilter | NearestFilter", + "start": 16887, + "end": 16918, + "loc": { + "start": { + "line": 367, + "column": 77 + }, + "end": { + "line": 367, + "column": 108 + } + } + } + ] }, { - "type": "ObjectProperty", - "start": 18337, - "end": 18378, + "type": "ExpressionStatement", + "start": 16927, + "end": 16991, "loc": { "start": { - "line": 369, + "line": 368, "column": 8 }, "end": { - "line": 369, - "column": 49 + "line": 368, + "column": 72 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18337, - "end": 18346, + "expression": { + "type": "AssignmentExpression", + "start": 16927, + "end": 16990, "loc": { "start": { - "line": 369, + "line": 368, "column": 8 }, "end": { - "line": 369, - "column": 17 - }, - "identifierName": "positions" - }, - "name": "positions" - }, - "value": { - "type": "CallExpression", - "start": 18348, - "end": 18378, - "loc": { - "start": { - "line": 369, - "column": 19 - }, - "end": { - "line": 369, - "column": 49 + "line": 368, + "column": 71 } }, - "callee": { - "type": "Identifier", - "start": 18348, - "end": 18355, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 16927, + "end": 16971, "loc": { "start": { - "line": 369, - "column": 19 + "line": 368, + "column": 8 }, "end": { - "line": 369, - "column": 26 - }, - "identifierName": "deflate" + "line": 368, + "column": 52 + } }, - "name": "deflate" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 18356, - "end": 18377, + "start": 16927, + "end": 16953, "loc": { "start": { - "line": 369, - "column": 27 + "line": 368, + "column": 8 }, "end": { - "line": 369, - "column": 48 + "line": 368, + "column": 34 } }, "object": { - "type": "MemberExpression", - "start": 18356, - "end": 18370, + "type": "Identifier", + "start": 16927, + "end": 16931, "loc": { "start": { - "line": 369, - "column": 27 + "line": 368, + "column": 8 }, "end": { - "line": 369, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 18356, - "end": 18360, - "loc": { - "start": { - "line": 369, - "column": 27 - }, - "end": { - "line": 369, - "column": 31 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 18361, - "end": 18370, - "loc": { - "start": { - "line": 369, - "column": 32 - }, - "end": { - "line": 369, - "column": 41 - }, - "identifierName": "positions" + "line": 368, + "column": 12 }, - "name": "positions" + "identifierName": "data" }, - "computed": false + "name": "data", + "leadingComments": null }, "property": { "type": "Identifier", - "start": 18371, - "end": 18377, + "start": 16932, + "end": 16953, "loc": { "start": { - "line": 369, - "column": 42 + "line": 368, + "column": 13 }, "end": { - "line": 369, - "column": 48 + "line": 368, + "column": 34 }, - "identifierName": "buffer" + "identifierName": "eachTextureAttributes" }, - "name": "buffer" + "name": "eachTextureAttributes" }, - "computed": false - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 18388, - "end": 18425, - "loc": { - "start": { - "line": 370, - "column": 8 - }, - "end": { - "line": 370, - "column": 45 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18388, - "end": 18395, - "loc": { - "start": { - "line": 370, - "column": 8 - }, - "end": { - "line": 370, - "column": 15 - }, - "identifierName": "normals" - }, - "name": "normals" - }, - "value": { - "type": "CallExpression", - "start": 18397, - "end": 18425, - "loc": { - "start": { - "line": 370, - "column": 17 + "computed": false, + "leadingComments": null }, - "end": { - "line": 370, - "column": 45 - } - }, - "callee": { - "type": "Identifier", - "start": 18397, - "end": 18404, - "loc": { - "start": { - "line": 370, - "column": 17 - }, - "end": { - "line": 370, - "column": 24 - }, - "identifierName": "deflate" - }, - "name": "deflate" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 18405, - "end": 18424, + "property": { + "type": "UpdateExpression", + "start": 16954, + "end": 16970, "loc": { "start": { - "line": 370, - "column": 25 + "line": 368, + "column": 35 }, "end": { - "line": 370, - "column": 44 + "line": 368, + "column": 51 } }, - "object": { - "type": "MemberExpression", - "start": 18405, - "end": 18417, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 16954, + "end": 16968, "loc": { "start": { - "line": 370, - "column": 25 + "line": 368, + "column": 35 }, "end": { - "line": 370, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 18405, - "end": 18409, - "loc": { - "start": { - "line": 370, - "column": 25 - }, - "end": { - "line": 370, - "column": 29 - }, - "identifierName": "data" + "line": 368, + "column": 49 }, - "name": "data" + "identifierName": "textureAttrIdx" }, - "property": { - "type": "Identifier", - "start": 18410, - "end": 18417, - "loc": { - "start": { - "line": 370, - "column": 30 - }, - "end": { - "line": 370, - "column": 37 - }, - "identifierName": "normals" - }, - "name": "normals" + "name": "textureAttrIdx" + } + }, + "computed": true, + "leadingComments": null + }, + "right": { + "type": "MemberExpression", + "start": 16974, + "end": 16990, + "loc": { + "start": { + "line": 368, + "column": 55 + }, + "end": { + "line": 368, + "column": 71 + } + }, + "object": { + "type": "Identifier", + "start": 16974, + "end": 16984, + "loc": { + "start": { + "line": 368, + "column": 55 }, - "computed": false + "end": { + "line": 368, + "column": 65 + }, + "identifierName": "xktTexture" }, - "property": { - "type": "Identifier", - "start": 18418, - "end": 18424, - "loc": { - "start": { - "line": 370, - "column": 38 - }, - "end": { - "line": 370, - "column": 44 - }, - "identifierName": "buffer" + "name": "xktTexture" + }, + "property": { + "type": "Identifier", + "start": 16985, + "end": 16990, + "loc": { + "start": { + "line": 368, + "column": 66 }, - "name": "buffer" + "end": { + "line": 368, + "column": 71 + }, + "identifierName": "wrapS" }, - "computed": false + "name": "wrapS" + }, + "computed": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " LinearFilter | NearestFilter", + "start": 16887, + "end": 16918, + "loc": { + "start": { + "line": 367, + "column": 77 + }, + "end": { + "line": 367, + "column": 108 + } } - ] - } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", + "start": 16992, + "end": 17056, + "loc": { + "start": { + "line": 368, + "column": 73 + }, + "end": { + "line": 368, + "column": 137 + } + } + } + ] }, { - "type": "ObjectProperty", - "start": 18435, - "end": 18470, + "type": "ExpressionStatement", + "start": 17065, + "end": 17129, "loc": { "start": { - "line": 371, + "line": 369, "column": 8 }, "end": { - "line": 371, - "column": 43 + "line": 369, + "column": 72 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18435, - "end": 18441, + "expression": { + "type": "AssignmentExpression", + "start": 17065, + "end": 17128, "loc": { "start": { - "line": 371, + "line": 369, "column": 8 }, "end": { - "line": 371, - "column": 14 - }, - "identifierName": "colors" - }, - "name": "colors" - }, - "value": { - "type": "CallExpression", - "start": 18443, - "end": 18470, - "loc": { - "start": { - "line": 371, - "column": 16 - }, - "end": { - "line": 371, - "column": 43 + "line": 369, + "column": 71 } }, - "callee": { - "type": "Identifier", - "start": 18443, - "end": 18450, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 17065, + "end": 17109, "loc": { "start": { - "line": 371, - "column": 16 + "line": 369, + "column": 8 }, "end": { - "line": 371, - "column": 23 - }, - "identifierName": "deflate" + "line": 369, + "column": 52 + } }, - "name": "deflate" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 18451, - "end": 18469, + "start": 17065, + "end": 17091, "loc": { "start": { - "line": 371, - "column": 24 + "line": 369, + "column": 8 }, "end": { - "line": 371, - "column": 42 + "line": 369, + "column": 34 } }, "object": { - "type": "MemberExpression", - "start": 18451, - "end": 18462, + "type": "Identifier", + "start": 17065, + "end": 17069, "loc": { "start": { - "line": 371, - "column": 24 + "line": 369, + "column": 8 }, "end": { - "line": 371, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 18451, - "end": 18455, - "loc": { - "start": { - "line": 371, - "column": 24 - }, - "end": { - "line": 371, - "column": 28 - }, - "identifierName": "data" + "line": 369, + "column": 12 }, - "name": "data" + "identifierName": "data" }, - "property": { - "type": "Identifier", - "start": 18456, - "end": 18462, - "loc": { - "start": { - "line": 371, - "column": 29 - }, - "end": { - "line": 371, - "column": 35 - }, - "identifierName": "colors" + "name": "data", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 17070, + "end": 17091, + "loc": { + "start": { + "line": 369, + "column": 13 }, - "name": "colors" + "end": { + "line": 369, + "column": 34 + }, + "identifierName": "eachTextureAttributes" }, - "computed": false + "name": "eachTextureAttributes" }, - "property": { + "computed": false, + "leadingComments": null + }, + "property": { + "type": "UpdateExpression", + "start": 17092, + "end": 17108, + "loc": { + "start": { + "line": 369, + "column": 35 + }, + "end": { + "line": 369, + "column": 51 + } + }, + "operator": "++", + "prefix": false, + "argument": { "type": "Identifier", - "start": 18463, - "end": 18469, + "start": 17092, + "end": 17106, "loc": { "start": { - "line": 371, - "column": 36 + "line": 369, + "column": 35 }, "end": { - "line": 371, - "column": 42 + "line": 369, + "column": 49 }, - "identifierName": "buffer" + "identifierName": "textureAttrIdx" }, - "name": "buffer" + "name": "textureAttrIdx" + } + }, + "computed": true, + "leadingComments": null + }, + "right": { + "type": "MemberExpression", + "start": 17112, + "end": 17128, + "loc": { + "start": { + "line": 369, + "column": 55 }, - "computed": false + "end": { + "line": 369, + "column": 71 + } + }, + "object": { + "type": "Identifier", + "start": 17112, + "end": 17122, + "loc": { + "start": { + "line": 369, + "column": 55 + }, + "end": { + "line": 369, + "column": 65 + }, + "identifierName": "xktTexture" + }, + "name": "xktTexture" + }, + "property": { + "type": "Identifier", + "start": 17123, + "end": 17128, + "loc": { + "start": { + "line": 369, + "column": 66 + }, + "end": { + "line": 369, + "column": 71 + }, + "identifierName": "wrapT" + }, + "name": "wrapT" + }, + "computed": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", + "start": 16992, + "end": 17056, + "loc": { + "start": { + "line": 368, + "column": 73 + }, + "end": { + "line": 368, + "column": 137 + } } - ] - } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", + "start": 17130, + "end": 17194, + "loc": { + "start": { + "line": 369, + "column": 73 + }, + "end": { + "line": 369, + "column": 137 + } + } + } + ] }, { - "type": "ObjectProperty", - "start": 18480, - "end": 18509, + "type": "ExpressionStatement", + "start": 17203, + "end": 17267, "loc": { "start": { - "line": 372, + "line": 370, "column": 8 }, "end": { - "line": 372, - "column": 37 + "line": 370, + "column": 72 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18480, - "end": 18483, + "expression": { + "type": "AssignmentExpression", + "start": 17203, + "end": 17266, "loc": { "start": { - "line": 372, + "line": 370, "column": 8 }, "end": { - "line": 372, - "column": 11 - }, - "identifierName": "uvs" - }, - "name": "uvs" - }, - "value": { - "type": "CallExpression", - "start": 18485, - "end": 18509, - "loc": { - "start": { - "line": 372, - "column": 13 - }, - "end": { - "line": 372, - "column": 37 + "line": 370, + "column": 71 } }, - "callee": { - "type": "Identifier", - "start": 18485, - "end": 18492, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 17203, + "end": 17247, "loc": { "start": { - "line": 372, - "column": 13 + "line": 370, + "column": 8 }, "end": { - "line": 372, - "column": 20 - }, - "identifierName": "deflate" + "line": 370, + "column": 52 + } }, - "name": "deflate" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 18493, - "end": 18508, + "start": 17203, + "end": 17229, "loc": { "start": { - "line": 372, - "column": 21 + "line": 370, + "column": 8 }, "end": { - "line": 372, - "column": 36 + "line": 370, + "column": 34 } }, "object": { - "type": "MemberExpression", - "start": 18493, - "end": 18501, + "type": "Identifier", + "start": 17203, + "end": 17207, "loc": { "start": { - "line": 372, - "column": 21 + "line": 370, + "column": 8 }, "end": { - "line": 372, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 18493, - "end": 18497, - "loc": { - "start": { - "line": 372, - "column": 21 - }, - "end": { - "line": 372, - "column": 25 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 18498, - "end": 18501, - "loc": { - "start": { - "line": 372, - "column": 26 - }, - "end": { - "line": 372, - "column": 29 - }, - "identifierName": "uvs" + "line": 370, + "column": 12 }, - "name": "uvs" + "identifierName": "data" }, - "computed": false + "name": "data", + "leadingComments": null }, "property": { "type": "Identifier", - "start": 18502, - "end": 18508, + "start": 17208, + "end": 17229, "loc": { "start": { - "line": 372, - "column": 30 + "line": 370, + "column": 13 }, "end": { - "line": 372, - "column": 36 + "line": 370, + "column": 34 }, - "identifierName": "buffer" + "identifierName": "eachTextureAttributes" }, - "name": "buffer" + "name": "eachTextureAttributes" }, - "computed": false - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 18519, - "end": 18556, - "loc": { - "start": { - "line": 373, - "column": 8 - }, - "end": { - "line": 373, - "column": 45 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18519, - "end": 18526, - "loc": { - "start": { - "line": 373, - "column": 8 - }, - "end": { - "line": 373, - "column": 15 - }, - "identifierName": "indices" - }, - "name": "indices" - }, - "value": { - "type": "CallExpression", - "start": 18528, - "end": 18556, - "loc": { - "start": { - "line": 373, - "column": 17 - }, - "end": { - "line": 373, - "column": 45 - } - }, - "callee": { - "type": "Identifier", - "start": 18528, - "end": 18535, - "loc": { - "start": { - "line": 373, - "column": 17 - }, - "end": { - "line": 373, - "column": 24 - }, - "identifierName": "deflate" + "computed": false, + "leadingComments": null }, - "name": "deflate" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 18536, - "end": 18555, + "property": { + "type": "UpdateExpression", + "start": 17230, + "end": 17246, "loc": { "start": { - "line": 373, - "column": 25 + "line": 370, + "column": 35 }, "end": { - "line": 373, - "column": 44 + "line": 370, + "column": 51 } }, - "object": { - "type": "MemberExpression", - "start": 18536, - "end": 18548, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 17230, + "end": 17244, "loc": { "start": { - "line": 373, - "column": 25 + "line": 370, + "column": 35 }, "end": { - "line": 373, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 18536, - "end": 18540, - "loc": { - "start": { - "line": 373, - "column": 25 - }, - "end": { - "line": 373, - "column": 29 - }, - "identifierName": "data" + "line": 370, + "column": 49 }, - "name": "data" + "identifierName": "textureAttrIdx" }, - "property": { - "type": "Identifier", - "start": 18541, - "end": 18548, - "loc": { - "start": { - "line": 373, - "column": 30 - }, - "end": { - "line": 373, - "column": 37 - }, - "identifierName": "indices" - }, - "name": "indices" + "name": "textureAttrIdx" + } + }, + "computed": true, + "leadingComments": null + }, + "right": { + "type": "MemberExpression", + "start": 17250, + "end": 17266, + "loc": { + "start": { + "line": 370, + "column": 55 + }, + "end": { + "line": 370, + "column": 71 + } + }, + "object": { + "type": "Identifier", + "start": 17250, + "end": 17260, + "loc": { + "start": { + "line": 370, + "column": 55 }, - "computed": false + "end": { + "line": 370, + "column": 65 + }, + "identifierName": "xktTexture" }, - "property": { - "type": "Identifier", - "start": 18549, - "end": 18555, - "loc": { - "start": { - "line": 373, - "column": 38 - }, - "end": { - "line": 373, - "column": 44 - }, - "identifierName": "buffer" + "name": "xktTexture" + }, + "property": { + "type": "Identifier", + "start": 17261, + "end": 17266, + "loc": { + "start": { + "line": 370, + "column": 66 }, - "name": "buffer" + "end": { + "line": 370, + "column": 71 + }, + "identifierName": "wrapR" }, - "computed": false + "name": "wrapR" + }, + "computed": false + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", + "start": 17130, + "end": 17194, + "loc": { + "start": { + "line": 369, + "column": 73 + }, + "end": { + "line": 369, + "column": 137 + } } - ] + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", + "start": 17268, + "end": 17332, + "loc": { + "start": { + "line": 370, + "column": 73 + }, + "end": { + "line": 370, + "column": 137 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Textures", + "start": 15743, + "end": 15754, + "loc": { + "start": { + "line": 351, + "column": 4 + }, + "end": { + "line": 351, + "column": 15 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Texture sets", + "start": 17344, + "end": 17359, + "loc": { + "start": { + "line": 373, + "column": 4 + }, + "end": { + "line": 373, + "column": 19 } + } + } + ] + }, + { + "type": "ForStatement", + "start": 17365, + "end": 18410, + "loc": { + "start": { + "line": 375, + "column": 4 + }, + "end": { + "line": 382, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 17370, + "end": 17476, + "loc": { + "start": { + "line": 375, + "column": 9 }, + "end": { + "line": 375, + "column": 115 + } + }, + "declarations": [ { - "type": "ObjectProperty", - "start": 18566, - "end": 18611, + "type": "VariableDeclarator", + "start": 17374, + "end": 17393, "loc": { "start": { - "line": 374, - "column": 8 + "line": 375, + "column": 13 }, "end": { - "line": 374, - "column": 53 + "line": 375, + "column": 32 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "id": { "type": "Identifier", - "start": 18566, - "end": 18577, + "start": 17374, + "end": 17389, "loc": { "start": { - "line": 374, - "column": 8 + "line": 375, + "column": 13 }, "end": { - "line": 374, - "column": 19 + "line": 375, + "column": 28 }, - "identifierName": "edgeIndices" + "identifierName": "textureSetIndex" }, - "name": "edgeIndices" + "name": "textureSetIndex", + "leadingComments": null }, - "value": { - "type": "CallExpression", - "start": 18579, - "end": 18611, + "init": { + "type": "NumericLiteral", + "start": 17392, + "end": 17393, "loc": { "start": { - "line": 374, - "column": 21 + "line": 375, + "column": 31 }, "end": { - "line": 374, - "column": 53 + "line": 375, + "column": 32 } }, - "callee": { - "type": "Identifier", - "start": 18579, - "end": 18586, - "loc": { - "start": { - "line": 374, - "column": 21 - }, - "end": { - "line": 374, - "column": 28 - }, - "identifierName": "deflate" - }, - "name": "deflate" + "extra": { + "rawValue": 0, + "raw": "0" }, - "arguments": [ - { - "type": "MemberExpression", - "start": 18587, - "end": 18610, - "loc": { - "start": { - "line": 374, - "column": 29 - }, - "end": { - "line": 374, - "column": 52 - } - }, - "object": { - "type": "MemberExpression", - "start": 18587, - "end": 18603, - "loc": { - "start": { - "line": 374, - "column": 29 - }, - "end": { - "line": 374, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 18587, - "end": 18591, - "loc": { - "start": { - "line": 374, - "column": 29 - }, - "end": { - "line": 374, - "column": 33 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 18592, - "end": 18603, - "loc": { - "start": { - "line": 374, - "column": 34 - }, - "end": { - "line": 374, - "column": 45 - }, - "identifierName": "edgeIndices" - }, - "name": "edgeIndices" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18604, - "end": 18610, - "loc": { - "start": { - "line": 374, - "column": 46 - }, - "end": { - "line": 374, - "column": 52 - }, - "identifierName": "buffer" - }, - "name": "buffer" - }, - "computed": false - } - ] - } + "value": 0 + }, + "leadingComments": null }, { - "type": "ObjectProperty", - "start": 18621, - "end": 18688, + "type": "VariableDeclarator", + "start": 17395, + "end": 17443, "loc": { "start": { "line": 375, - "column": 8 + "column": 34 }, "end": { "line": 375, - "column": 75 + "column": 82 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "id": { "type": "Identifier", - "start": 18621, - "end": 18643, + "start": 17395, + "end": 17409, "loc": { "start": { "line": 375, - "column": 8 + "column": 34 }, "end": { "line": 375, - "column": 30 + "column": 48 }, - "identifierName": "eachTextureSetTextures" + "identifierName": "numTextureSets" }, - "name": "eachTextureSetTextures" + "name": "numTextureSets" }, - "value": { - "type": "CallExpression", - "start": 18645, - "end": 18688, + "init": { + "type": "MemberExpression", + "start": 17412, + "end": 17443, "loc": { "start": { "line": 375, - "column": 32 + "column": 51 }, "end": { "line": 375, - "column": 75 + "column": 82 } }, - "callee": { - "type": "Identifier", - "start": 18645, - "end": 18652, + "object": { + "type": "MemberExpression", + "start": 17412, + "end": 17436, "loc": { "start": { "line": 375, - "column": 32 + "column": 51 }, "end": { "line": 375, - "column": 39 - }, - "identifierName": "deflate" + "column": 75 + } }, - "name": "deflate" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 18653, - "end": 18687, + "object": { + "type": "Identifier", + "start": 17412, + "end": 17420, "loc": { "start": { "line": 375, - "column": 40 + "column": 51 }, "end": { "line": 375, - "column": 74 - } - }, - "object": { - "type": "MemberExpression", - "start": 18653, - "end": 18680, - "loc": { - "start": { - "line": 375, - "column": 40 - }, - "end": { - "line": 375, - "column": 67 - } + "column": 59 }, - "object": { - "type": "Identifier", - "start": 18653, - "end": 18657, - "loc": { - "start": { - "line": 375, - "column": 40 - }, - "end": { - "line": 375, - "column": 44 - }, - "identifierName": "data" - }, - "name": "data" + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 17421, + "end": 17436, + "loc": { + "start": { + "line": 375, + "column": 60 }, - "property": { - "type": "Identifier", - "start": 18658, - "end": 18680, - "loc": { - "start": { - "line": 375, - "column": 45 - }, - "end": { - "line": 375, - "column": 67 - }, - "identifierName": "eachTextureSetTextures" - }, - "name": "eachTextureSetTextures" + "end": { + "line": 375, + "column": 75 }, - "computed": false + "identifierName": "textureSetsList" }, - "property": { - "type": "Identifier", - "start": 18681, - "end": 18687, - "loc": { - "start": { - "line": 375, - "column": 68 - }, - "end": { - "line": 375, - "column": 74 - }, - "identifierName": "buffer" - }, - "name": "buffer" + "name": "textureSetsList" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17437, + "end": 17443, + "loc": { + "start": { + "line": 375, + "column": 76 }, - "computed": false - } - ] + "end": { + "line": 375, + "column": 82 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } }, { - "type": "ObjectProperty", - "start": 18698, - "end": 18737, + "type": "VariableDeclarator", + "start": 17445, + "end": 17476, "loc": { "start": { - "line": 376, - "column": 8 + "line": 375, + "column": 84 }, "end": { - "line": 376, - "column": 47 + "line": 375, + "column": 115 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "id": { "type": "Identifier", - "start": 18698, - "end": 18706, + "start": 17445, + "end": 17472, "loc": { "start": { - "line": 376, - "column": 8 + "line": 375, + "column": 84 }, "end": { - "line": 376, - "column": 16 + "line": 375, + "column": 111 }, - "identifierName": "matrices" + "identifierName": "eachTextureSetTexturesIndex" }, - "name": "matrices" + "name": "eachTextureSetTexturesIndex" }, - "value": { - "type": "CallExpression", - "start": 18708, - "end": 18737, + "init": { + "type": "NumericLiteral", + "start": 17475, + "end": 17476, "loc": { "start": { - "line": 376, - "column": 18 + "line": 375, + "column": 114 }, "end": { - "line": 376, - "column": 47 + "line": 375, + "column": 115 } }, - "callee": { - "type": "Identifier", - "start": 18708, - "end": 18715, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let", + "leadingComments": null + }, + "test": { + "type": "BinaryExpression", + "start": 17478, + "end": 17510, + "loc": { + "start": { + "line": 375, + "column": 117 + }, + "end": { + "line": 375, + "column": 149 + } + }, + "left": { + "type": "Identifier", + "start": 17478, + "end": 17493, + "loc": { + "start": { + "line": 375, + "column": 117 + }, + "end": { + "line": 375, + "column": 132 + }, + "identifierName": "textureSetIndex" + }, + "name": "textureSetIndex" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 17496, + "end": 17510, + "loc": { + "start": { + "line": 375, + "column": 135 + }, + "end": { + "line": 375, + "column": 149 + }, + "identifierName": "numTextureSets" + }, + "name": "numTextureSets" + } + }, + "update": { + "type": "UpdateExpression", + "start": 17512, + "end": 17529, + "loc": { + "start": { + "line": 375, + "column": 151 + }, + "end": { + "line": 375, + "column": 168 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 17512, + "end": 17527, + "loc": { + "start": { + "line": 375, + "column": 151 + }, + "end": { + "line": 375, + "column": 166 + }, + "identifierName": "textureSetIndex" + }, + "name": "textureSetIndex" + } + }, + "body": { + "type": "BlockStatement", + "start": 17531, + "end": 18410, + "loc": { + "start": { + "line": 375, + "column": 170 + }, + "end": { + "line": 382, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 17541, + "end": 17593, + "loc": { + "start": { + "line": 376, + "column": 8 + }, + "end": { + "line": 376, + "column": 60 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17547, + "end": 17592, "loc": { "start": { "line": 376, - "column": 18 + "column": 14 }, "end": { "line": 376, - "column": 25 + "column": 59 + } + }, + "id": { + "type": "Identifier", + "start": 17547, + "end": 17557, + "loc": { + "start": { + "line": 376, + "column": 14 + }, + "end": { + "line": 376, + "column": 24 + }, + "identifierName": "textureSet" }, - "identifierName": "deflate" + "name": "textureSet" }, - "name": "deflate" - }, - "arguments": [ - { + "init": { "type": "MemberExpression", - "start": 18716, - "end": 18736, + "start": 17560, + "end": 17592, "loc": { "start": { "line": 376, - "column": 26 + "column": 27 }, "end": { "line": 376, - "column": 46 + "column": 59 } }, "object": { - "type": "MemberExpression", - "start": 18716, - "end": 18729, + "type": "Identifier", + "start": 17560, + "end": 17575, "loc": { "start": { "line": 376, - "column": 26 + "column": 27 }, "end": { "line": 376, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 18716, - "end": 18720, - "loc": { - "start": { - "line": 376, - "column": 26 - }, - "end": { - "line": 376, - "column": 30 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 18721, - "end": 18729, - "loc": { - "start": { - "line": 376, - "column": 31 - }, - "end": { - "line": 376, - "column": 39 - }, - "identifierName": "matrices" + "column": 42 }, - "name": "matrices" + "identifierName": "textureSetsList" }, - "computed": false + "name": "textureSetsList" }, "property": { "type": "Identifier", - "start": 18730, - "end": 18736, + "start": 17576, + "end": 17591, "loc": { "start": { "line": 376, - "column": 40 + "column": 43 }, "end": { "line": 376, - "column": 46 + "column": 58 }, - "identifierName": "buffer" + "identifierName": "textureSetIndex" }, - "name": "buffer" + "name": "textureSetIndex" }, - "computed": false + "computed": true } - ] - } + } + ], + "kind": "const" }, { - "type": "ObjectProperty", - "start": 18747, - "end": 18826, + "type": "ExpressionStatement", + "start": 17602, + "end": 17731, "loc": { "start": { "line": 377, @@ -31451,16 +29162,13 @@ }, "end": { "line": 377, - "column": 87 + "column": 137 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18747, - "end": 18775, + "expression": { + "type": "AssignmentExpression", + "start": 17602, + "end": 17730, "loc": { "start": { "line": 377, @@ -31468,134 +29176,322 @@ }, "end": { "line": 377, - "column": 36 - }, - "identifierName": "reusedGeometriesDecodeMatrix" - }, - "name": "reusedGeometriesDecodeMatrix" - }, - "value": { - "type": "CallExpression", - "start": 18777, - "end": 18826, - "loc": { - "start": { - "line": 377, - "column": 38 - }, - "end": { - "line": 377, - "column": 87 + "column": 136 } }, - "callee": { - "type": "Identifier", - "start": 18777, - "end": 18784, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 17602, + "end": 17660, "loc": { "start": { "line": 377, - "column": 38 + "column": 8 }, "end": { "line": 377, - "column": 45 + "column": 66 + } + }, + "object": { + "type": "MemberExpression", + "start": 17602, + "end": 17629, + "loc": { + "start": { + "line": 377, + "column": 8 + }, + "end": { + "line": 377, + "column": 35 + } }, - "identifierName": "deflate" + "object": { + "type": "Identifier", + "start": 17602, + "end": 17606, + "loc": { + "start": { + "line": 377, + "column": 8 + }, + "end": { + "line": 377, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 17607, + "end": 17629, + "loc": { + "start": { + "line": 377, + "column": 13 + }, + "end": { + "line": 377, + "column": 35 + }, + "identifierName": "eachTextureSetTextures" + }, + "name": "eachTextureSetTextures" + }, + "computed": false }, - "name": "deflate" + "property": { + "type": "UpdateExpression", + "start": 17630, + "end": 17659, + "loc": { + "start": { + "line": 377, + "column": 36 + }, + "end": { + "line": 377, + "column": 65 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 17630, + "end": 17657, + "loc": { + "start": { + "line": 377, + "column": 36 + }, + "end": { + "line": 377, + "column": 63 + }, + "identifierName": "eachTextureSetTexturesIndex" + }, + "name": "eachTextureSetTexturesIndex" + } + }, + "computed": true }, - "arguments": [ - { + "right": { + "type": "ConditionalExpression", + "start": 17663, + "end": 17730, + "loc": { + "start": { + "line": 377, + "column": 69 + }, + "end": { + "line": 377, + "column": 136 + } + }, + "test": { "type": "MemberExpression", - "start": 18785, - "end": 18825, + "start": 17663, + "end": 17686, "loc": { "start": { "line": 377, - "column": 46 + "column": 69 }, "end": { "line": 377, - "column": 86 + "column": 92 } }, "object": { - "type": "MemberExpression", - "start": 18785, - "end": 18818, + "type": "Identifier", + "start": 17663, + "end": 17673, "loc": { "start": { "line": 377, - "column": 46 + "column": 69 }, "end": { "line": 377, "column": 79 + }, + "identifierName": "textureSet" + }, + "name": "textureSet" + }, + "property": { + "type": "Identifier", + "start": 17674, + "end": 17686, + "loc": { + "start": { + "line": 377, + "column": 80 + }, + "end": { + "line": 377, + "column": 92 + }, + "identifierName": "colorTexture" + }, + "name": "colorTexture" + }, + "computed": false + }, + "consequent": { + "type": "MemberExpression", + "start": 17689, + "end": 17725, + "loc": { + "start": { + "line": 377, + "column": 95 + }, + "end": { + "line": 377, + "column": 131 + } + }, + "object": { + "type": "MemberExpression", + "start": 17689, + "end": 17712, + "loc": { + "start": { + "line": 377, + "column": 95 + }, + "end": { + "line": 377, + "column": 118 } }, "object": { "type": "Identifier", - "start": 18785, - "end": 18789, + "start": 17689, + "end": 17699, "loc": { "start": { "line": 377, - "column": 46 + "column": 95 }, "end": { "line": 377, - "column": 50 + "column": 105 }, - "identifierName": "data" + "identifierName": "textureSet" }, - "name": "data" + "name": "textureSet" }, "property": { "type": "Identifier", - "start": 18790, - "end": 18818, + "start": 17700, + "end": 17712, "loc": { "start": { "line": 377, - "column": 51 + "column": 106 }, "end": { "line": 377, - "column": 79 + "column": 118 }, - "identifierName": "reusedGeometriesDecodeMatrix" + "identifierName": "colorTexture" }, - "name": "reusedGeometriesDecodeMatrix" + "name": "colorTexture" }, "computed": false }, "property": { "type": "Identifier", - "start": 18819, - "end": 18825, + "start": 17713, + "end": 17725, "loc": { "start": { "line": 377, - "column": 80 + "column": 119 }, "end": { "line": 377, - "column": 86 + "column": 131 }, - "identifierName": "buffer" + "identifierName": "textureIndex" }, - "name": "buffer" + "name": "textureIndex" }, "computed": false + }, + "alternate": { + "type": "UnaryExpression", + "start": 17728, + "end": 17730, + "loc": { + "start": { + "line": 377, + "column": 134 + }, + "end": { + "line": 377, + "column": 136 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 17729, + "end": 17730, + "loc": { + "start": { + "line": 377, + "column": 135 + }, + "end": { + "line": 377, + "column": 136 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } } - ] - } + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Color map", + "start": 17732, + "end": 17744, + "loc": { + "start": { + "line": 377, + "column": 138 + }, + "end": { + "line": 377, + "column": 150 + } + } + } + ] }, { - "type": "ObjectProperty", - "start": 18836, - "end": 18909, + "type": "ExpressionStatement", + "start": 17753, + "end": 17906, "loc": { "start": { "line": 378, @@ -31603,16 +29499,13 @@ }, "end": { "line": 378, - "column": 81 + "column": 161 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18836, - "end": 18861, + "expression": { + "type": "AssignmentExpression", + "start": 17753, + "end": 17905, "loc": { "start": { "line": 378, @@ -31620,3842 +29513,13711 @@ }, "end": { "line": 378, - "column": 33 - }, - "identifierName": "eachGeometryPrimitiveType" - }, - "name": "eachGeometryPrimitiveType" - }, - "value": { - "type": "CallExpression", - "start": 18863, - "end": 18909, - "loc": { - "start": { - "line": 378, - "column": 35 - }, - "end": { - "line": 378, - "column": 81 + "column": 160 } }, - "callee": { - "type": "Identifier", - "start": 18863, - "end": 18870, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 17753, + "end": 17811, "loc": { "start": { "line": 378, - "column": 35 + "column": 8 }, "end": { "line": 378, - "column": 42 - }, - "identifierName": "deflate" + "column": 66 + } }, - "name": "deflate" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 18871, - "end": 18908, + "start": 17753, + "end": 17780, "loc": { "start": { "line": 378, - "column": 43 + "column": 8 }, "end": { "line": 378, - "column": 80 + "column": 35 } }, "object": { - "type": "MemberExpression", - "start": 18871, - "end": 18901, + "type": "Identifier", + "start": 17753, + "end": 17757, "loc": { "start": { "line": 378, - "column": 43 + "column": 8 }, "end": { "line": 378, - "column": 73 - } + "column": 12 + }, + "identifierName": "data" }, - "object": { - "type": "Identifier", - "start": 18871, - "end": 18875, - "loc": { - "start": { - "line": 378, - "column": 43 - }, - "end": { - "line": 378, - "column": 47 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 18876, - "end": 18901, - "loc": { - "start": { - "line": 378, - "column": 48 - }, - "end": { - "line": 378, - "column": 73 - }, - "identifierName": "eachGeometryPrimitiveType" - }, - "name": "eachGeometryPrimitiveType" - }, - "computed": false + "name": "data", + "leadingComments": null }, "property": { "type": "Identifier", - "start": 18902, - "end": 18908, + "start": 17758, + "end": 17780, "loc": { "start": { "line": 378, - "column": 74 + "column": 13 }, "end": { "line": 378, - "column": 80 + "column": 35 }, - "identifierName": "buffer" + "identifierName": "eachTextureSetTextures" }, - "name": "buffer" + "name": "eachTextureSetTextures" }, - "computed": false - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 18919, - "end": 18998, - "loc": { - "start": { - "line": 379, - "column": 8 - }, - "end": { - "line": 379, - "column": 87 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18919, - "end": 18947, - "loc": { - "start": { - "line": 379, - "column": 8 - }, - "end": { - "line": 379, - "column": 36 + "computed": false, + "leadingComments": null }, - "identifierName": "eachGeometryPositionsPortion" - }, - "name": "eachGeometryPositionsPortion" - }, - "value": { - "type": "CallExpression", - "start": 18949, - "end": 18998, - "loc": { - "start": { - "line": 379, - "column": 38 + "property": { + "type": "UpdateExpression", + "start": 17781, + "end": 17810, + "loc": { + "start": { + "line": 378, + "column": 36 + }, + "end": { + "line": 378, + "column": 65 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 17781, + "end": 17808, + "loc": { + "start": { + "line": 378, + "column": 36 + }, + "end": { + "line": 378, + "column": 63 + }, + "identifierName": "eachTextureSetTexturesIndex" + }, + "name": "eachTextureSetTexturesIndex" + } }, - "end": { - "line": 379, - "column": 87 - } + "computed": true, + "leadingComments": null }, - "callee": { - "type": "Identifier", - "start": 18949, - "end": 18956, + "right": { + "type": "ConditionalExpression", + "start": 17814, + "end": 17905, "loc": { "start": { - "line": 379, - "column": 38 + "line": 378, + "column": 69 }, "end": { - "line": 379, - "column": 45 - }, - "identifierName": "deflate" + "line": 378, + "column": 160 + } }, - "name": "deflate" - }, - "arguments": [ - { + "test": { "type": "MemberExpression", - "start": 18957, - "end": 18997, + "start": 17814, + "end": 17849, "loc": { "start": { - "line": 379, - "column": 46 + "line": 378, + "column": 69 }, "end": { - "line": 379, - "column": 86 + "line": 378, + "column": 104 } }, "object": { - "type": "MemberExpression", - "start": 18957, - "end": 18990, + "type": "Identifier", + "start": 17814, + "end": 17824, "loc": { "start": { - "line": 379, - "column": 46 + "line": 378, + "column": 69 }, "end": { - "line": 379, + "line": 378, "column": 79 - } - }, - "object": { - "type": "Identifier", - "start": 18957, - "end": 18961, - "loc": { - "start": { - "line": 379, - "column": 46 - }, - "end": { - "line": 379, - "column": 50 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 18962, - "end": 18990, - "loc": { - "start": { - "line": 379, - "column": 51 - }, - "end": { - "line": 379, - "column": 79 - }, - "identifierName": "eachGeometryPositionsPortion" }, - "name": "eachGeometryPositionsPortion" + "identifierName": "textureSet" }, - "computed": false + "name": "textureSet" }, "property": { "type": "Identifier", - "start": 18991, - "end": 18997, + "start": 17825, + "end": 17849, "loc": { "start": { - "line": 379, + "line": 378, "column": 80 }, "end": { - "line": 379, - "column": 86 + "line": 378, + "column": 104 }, - "identifierName": "buffer" + "identifierName": "metallicRoughnessTexture" }, - "name": "buffer" + "name": "metallicRoughnessTexture" }, "computed": false - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 19008, - "end": 19083, - "loc": { - "start": { - "line": 380, - "column": 8 - }, - "end": { - "line": 380, - "column": 83 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19008, - "end": 19034, - "loc": { - "start": { - "line": 380, - "column": 8 - }, - "end": { - "line": 380, - "column": 34 - }, - "identifierName": "eachGeometryNormalsPortion" - }, - "name": "eachGeometryNormalsPortion" - }, - "value": { - "type": "CallExpression", - "start": 19036, - "end": 19083, - "loc": { - "start": { - "line": 380, - "column": 36 - }, - "end": { - "line": 380, - "column": 83 - } - }, - "callee": { - "type": "Identifier", - "start": 19036, - "end": 19043, - "loc": { - "start": { - "line": 380, - "column": 36 - }, - "end": { - "line": 380, - "column": 43 - }, - "identifierName": "deflate" }, - "name": "deflate" - }, - "arguments": [ - { + "consequent": { "type": "MemberExpression", - "start": 19044, - "end": 19082, + "start": 17852, + "end": 17900, "loc": { "start": { - "line": 380, - "column": 44 + "line": 378, + "column": 107 }, "end": { - "line": 380, - "column": 82 + "line": 378, + "column": 155 } }, "object": { "type": "MemberExpression", - "start": 19044, - "end": 19075, + "start": 17852, + "end": 17887, "loc": { "start": { - "line": 380, - "column": 44 + "line": 378, + "column": 107 }, "end": { - "line": 380, - "column": 75 + "line": 378, + "column": 142 } }, "object": { "type": "Identifier", - "start": 19044, - "end": 19048, + "start": 17852, + "end": 17862, "loc": { "start": { - "line": 380, - "column": 44 + "line": 378, + "column": 107 }, "end": { - "line": 380, - "column": 48 + "line": 378, + "column": 117 }, - "identifierName": "data" + "identifierName": "textureSet" }, - "name": "data" + "name": "textureSet" }, "property": { "type": "Identifier", - "start": 19049, - "end": 19075, + "start": 17863, + "end": 17887, "loc": { "start": { - "line": 380, - "column": 49 + "line": 378, + "column": 118 }, "end": { - "line": 380, - "column": 75 + "line": 378, + "column": 142 }, - "identifierName": "eachGeometryNormalsPortion" + "identifierName": "metallicRoughnessTexture" }, - "name": "eachGeometryNormalsPortion" + "name": "metallicRoughnessTexture" }, "computed": false }, "property": { "type": "Identifier", - "start": 19076, - "end": 19082, + "start": 17888, + "end": 17900, "loc": { "start": { - "line": 380, - "column": 76 + "line": 378, + "column": 143 }, "end": { - "line": 380, - "column": 82 + "line": 378, + "column": 155 }, - "identifierName": "buffer" + "identifierName": "textureIndex" }, - "name": "buffer" + "name": "textureIndex" }, "computed": false + }, + "alternate": { + "type": "UnaryExpression", + "start": 17903, + "end": 17905, + "loc": { + "start": { + "line": 378, + "column": 158 + }, + "end": { + "line": 378, + "column": 160 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 17904, + "end": 17905, + "loc": { + "start": { + "line": 378, + "column": 159 + }, + "end": { + "line": 378, + "column": 160 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } } - ] - } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Color map", + "start": 17732, + "end": 17744, + "loc": { + "start": { + "line": 377, + "column": 138 + }, + "end": { + "line": 377, + "column": 150 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Metal/rough map", + "start": 17907, + "end": 17925, + "loc": { + "start": { + "line": 378, + "column": 162 + }, + "end": { + "line": 378, + "column": 180 + } + } + } + ] }, { - "type": "ObjectProperty", - "start": 19093, - "end": 19166, + "type": "ExpressionStatement", + "start": 17934, + "end": 18067, "loc": { "start": { - "line": 381, + "line": 379, "column": 8 }, "end": { - "line": 381, - "column": 81 + "line": 379, + "column": 141 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19093, - "end": 19118, + "expression": { + "type": "AssignmentExpression", + "start": 17934, + "end": 18066, "loc": { "start": { - "line": 381, + "line": 379, "column": 8 }, "end": { - "line": 381, - "column": 33 - }, - "identifierName": "eachGeometryColorsPortion" - }, - "name": "eachGeometryColorsPortion" - }, - "value": { - "type": "CallExpression", - "start": 19120, - "end": 19166, - "loc": { - "start": { - "line": 381, - "column": 35 - }, - "end": { - "line": 381, - "column": 81 + "line": 379, + "column": 140 } }, - "callee": { - "type": "Identifier", - "start": 19120, - "end": 19127, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 17934, + "end": 17992, "loc": { "start": { - "line": 381, - "column": 35 + "line": 379, + "column": 8 }, "end": { - "line": 381, - "column": 42 - }, - "identifierName": "deflate" + "line": 379, + "column": 66 + } }, - "name": "deflate" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 19128, - "end": 19165, + "start": 17934, + "end": 17961, "loc": { "start": { - "line": 381, - "column": 43 + "line": 379, + "column": 8 }, "end": { - "line": 381, - "column": 80 + "line": 379, + "column": 35 } }, "object": { - "type": "MemberExpression", - "start": 19128, - "end": 19158, + "type": "Identifier", + "start": 17934, + "end": 17938, "loc": { "start": { - "line": 381, - "column": 43 + "line": 379, + "column": 8 }, "end": { - "line": 381, - "column": 73 - } - }, - "object": { - "type": "Identifier", - "start": 19128, - "end": 19132, - "loc": { - "start": { - "line": 381, - "column": 43 - }, - "end": { - "line": 381, - "column": 47 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 19133, - "end": 19158, - "loc": { - "start": { - "line": 381, - "column": 48 - }, - "end": { - "line": 381, - "column": 73 - }, - "identifierName": "eachGeometryColorsPortion" + "line": 379, + "column": 12 }, - "name": "eachGeometryColorsPortion" + "identifierName": "data" }, - "computed": false + "name": "data", + "leadingComments": null }, "property": { "type": "Identifier", - "start": 19159, - "end": 19165, + "start": 17939, + "end": 17961, "loc": { "start": { - "line": 381, - "column": 74 + "line": 379, + "column": 13 }, "end": { - "line": 381, - "column": 80 + "line": 379, + "column": 35 }, - "identifierName": "buffer" + "identifierName": "eachTextureSetTextures" }, - "name": "buffer" + "name": "eachTextureSetTextures" }, - "computed": false - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 19176, - "end": 19243, - "loc": { - "start": { - "line": 382, - "column": 8 - }, - "end": { - "line": 382, - "column": 75 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19176, - "end": 19198, - "loc": { - "start": { - "line": 382, - "column": 8 - }, - "end": { - "line": 382, - "column": 30 + "computed": false, + "leadingComments": null }, - "identifierName": "eachGeometryUVsPortion" - }, - "name": "eachGeometryUVsPortion" - }, - "value": { - "type": "CallExpression", - "start": 19200, - "end": 19243, - "loc": { - "start": { - "line": 382, - "column": 32 + "property": { + "type": "UpdateExpression", + "start": 17962, + "end": 17991, + "loc": { + "start": { + "line": 379, + "column": 36 + }, + "end": { + "line": 379, + "column": 65 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 17962, + "end": 17989, + "loc": { + "start": { + "line": 379, + "column": 36 + }, + "end": { + "line": 379, + "column": 63 + }, + "identifierName": "eachTextureSetTexturesIndex" + }, + "name": "eachTextureSetTexturesIndex" + } }, - "end": { - "line": 382, - "column": 75 - } + "computed": true, + "leadingComments": null }, - "callee": { - "type": "Identifier", - "start": 19200, - "end": 19207, + "right": { + "type": "ConditionalExpression", + "start": 17995, + "end": 18066, "loc": { "start": { - "line": 382, - "column": 32 + "line": 379, + "column": 69 }, "end": { - "line": 382, - "column": 39 + "line": 379, + "column": 140 + } + }, + "test": { + "type": "MemberExpression", + "start": 17995, + "end": 18020, + "loc": { + "start": { + "line": 379, + "column": 69 + }, + "end": { + "line": 379, + "column": 94 + } }, - "identifierName": "deflate" + "object": { + "type": "Identifier", + "start": 17995, + "end": 18005, + "loc": { + "start": { + "line": 379, + "column": 69 + }, + "end": { + "line": 379, + "column": 79 + }, + "identifierName": "textureSet" + }, + "name": "textureSet" + }, + "property": { + "type": "Identifier", + "start": 18006, + "end": 18020, + "loc": { + "start": { + "line": 379, + "column": 80 + }, + "end": { + "line": 379, + "column": 94 + }, + "identifierName": "normalsTexture" + }, + "name": "normalsTexture" + }, + "computed": false }, - "name": "deflate" - }, - "arguments": [ - { + "consequent": { "type": "MemberExpression", - "start": 19208, - "end": 19242, + "start": 18023, + "end": 18061, "loc": { "start": { - "line": 382, - "column": 40 + "line": 379, + "column": 97 }, "end": { - "line": 382, - "column": 74 + "line": 379, + "column": 135 } }, "object": { "type": "MemberExpression", - "start": 19208, - "end": 19235, + "start": 18023, + "end": 18048, "loc": { "start": { - "line": 382, - "column": 40 + "line": 379, + "column": 97 }, "end": { - "line": 382, - "column": 67 + "line": 379, + "column": 122 } }, "object": { "type": "Identifier", - "start": 19208, - "end": 19212, + "start": 18023, + "end": 18033, "loc": { "start": { - "line": 382, - "column": 40 + "line": 379, + "column": 97 }, "end": { - "line": 382, - "column": 44 + "line": 379, + "column": 107 }, - "identifierName": "data" + "identifierName": "textureSet" }, - "name": "data" + "name": "textureSet" }, "property": { "type": "Identifier", - "start": 19213, - "end": 19235, + "start": 18034, + "end": 18048, "loc": { "start": { - "line": 382, - "column": 45 + "line": 379, + "column": 108 }, "end": { - "line": 382, - "column": 67 + "line": 379, + "column": 122 }, - "identifierName": "eachGeometryUVsPortion" + "identifierName": "normalsTexture" }, - "name": "eachGeometryUVsPortion" + "name": "normalsTexture" }, "computed": false }, "property": { "type": "Identifier", - "start": 19236, - "end": 19242, + "start": 18049, + "end": 18061, "loc": { "start": { - "line": 382, - "column": 68 + "line": 379, + "column": 123 }, "end": { - "line": 382, - "column": 74 + "line": 379, + "column": 135 }, - "identifierName": "buffer" + "identifierName": "textureIndex" }, - "name": "buffer" + "name": "textureIndex" }, "computed": false + }, + "alternate": { + "type": "UnaryExpression", + "start": 18064, + "end": 18066, + "loc": { + "start": { + "line": 379, + "column": 138 + }, + "end": { + "line": 379, + "column": 140 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 18065, + "end": 18066, + "loc": { + "start": { + "line": 379, + "column": 139 + }, + "end": { + "line": 379, + "column": 140 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } } - ] - } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Metal/rough map", + "start": 17907, + "end": 17925, + "loc": { + "start": { + "line": 378, + "column": 162 + }, + "end": { + "line": 378, + "column": 180 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Normal map", + "start": 18068, + "end": 18081, + "loc": { + "start": { + "line": 379, + "column": 142 + }, + "end": { + "line": 379, + "column": 155 + } + } + } + ] }, { - "type": "ObjectProperty", - "start": 19253, - "end": 19328, + "type": "ExpressionStatement", + "start": 18090, + "end": 18225, "loc": { "start": { - "line": 383, + "line": 380, "column": 8 }, "end": { - "line": 383, - "column": 83 + "line": 380, + "column": 143 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19253, - "end": 19279, + "expression": { + "type": "AssignmentExpression", + "start": 18090, + "end": 18224, "loc": { "start": { - "line": 383, + "line": 380, "column": 8 }, "end": { - "line": 383, - "column": 34 - }, - "identifierName": "eachGeometryIndicesPortion" - }, - "name": "eachGeometryIndicesPortion" - }, - "value": { - "type": "CallExpression", - "start": 19281, - "end": 19328, - "loc": { - "start": { - "line": 383, - "column": 36 - }, - "end": { - "line": 383, - "column": 83 + "line": 380, + "column": 142 } }, - "callee": { - "type": "Identifier", - "start": 19281, - "end": 19288, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 18090, + "end": 18148, "loc": { "start": { - "line": 383, - "column": 36 + "line": 380, + "column": 8 }, "end": { - "line": 383, - "column": 43 - }, - "identifierName": "deflate" + "line": 380, + "column": 66 + } }, - "name": "deflate" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 19289, - "end": 19327, + "start": 18090, + "end": 18117, "loc": { "start": { - "line": 383, - "column": 44 + "line": 380, + "column": 8 }, "end": { - "line": 383, - "column": 82 + "line": 380, + "column": 35 } }, "object": { - "type": "MemberExpression", - "start": 19289, - "end": 19320, + "type": "Identifier", + "start": 18090, + "end": 18094, "loc": { "start": { - "line": 383, - "column": 44 + "line": 380, + "column": 8 }, "end": { - "line": 383, - "column": 75 - } - }, - "object": { - "type": "Identifier", - "start": 19289, - "end": 19293, - "loc": { - "start": { - "line": 383, - "column": 44 - }, - "end": { - "line": 383, - "column": 48 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 19294, - "end": 19320, - "loc": { - "start": { - "line": 383, - "column": 49 - }, - "end": { - "line": 383, - "column": 75 - }, - "identifierName": "eachGeometryIndicesPortion" + "line": 380, + "column": 12 }, - "name": "eachGeometryIndicesPortion" + "identifierName": "data" }, - "computed": false + "name": "data", + "leadingComments": null }, "property": { "type": "Identifier", - "start": 19321, - "end": 19327, + "start": 18095, + "end": 18117, "loc": { "start": { - "line": 383, - "column": 76 + "line": 380, + "column": 13 }, "end": { - "line": 383, - "column": 82 + "line": 380, + "column": 35 }, - "identifierName": "buffer" + "identifierName": "eachTextureSetTextures" }, - "name": "buffer" + "name": "eachTextureSetTextures" }, - "computed": false - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 19338, - "end": 19421, - "loc": { - "start": { - "line": 384, - "column": 8 - }, - "end": { - "line": 384, - "column": 91 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19338, - "end": 19368, - "loc": { - "start": { - "line": 384, - "column": 8 - }, - "end": { - "line": 384, - "column": 38 + "computed": false, + "leadingComments": null }, - "identifierName": "eachGeometryEdgeIndicesPortion" - }, - "name": "eachGeometryEdgeIndicesPortion" - }, - "value": { - "type": "CallExpression", - "start": 19370, - "end": 19421, - "loc": { - "start": { - "line": 384, - "column": 40 + "property": { + "type": "UpdateExpression", + "start": 18118, + "end": 18147, + "loc": { + "start": { + "line": 380, + "column": 36 + }, + "end": { + "line": 380, + "column": 65 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 18118, + "end": 18145, + "loc": { + "start": { + "line": 380, + "column": 36 + }, + "end": { + "line": 380, + "column": 63 + }, + "identifierName": "eachTextureSetTexturesIndex" + }, + "name": "eachTextureSetTexturesIndex" + } }, - "end": { - "line": 384, - "column": 91 - } + "computed": true, + "leadingComments": null }, - "callee": { - "type": "Identifier", - "start": 19370, - "end": 19377, + "right": { + "type": "ConditionalExpression", + "start": 18151, + "end": 18224, "loc": { "start": { - "line": 384, - "column": 40 + "line": 380, + "column": 69 }, "end": { - "line": 384, - "column": 47 + "line": 380, + "column": 142 + } + }, + "test": { + "type": "MemberExpression", + "start": 18151, + "end": 18177, + "loc": { + "start": { + "line": 380, + "column": 69 + }, + "end": { + "line": 380, + "column": 95 + } }, - "identifierName": "deflate" + "object": { + "type": "Identifier", + "start": 18151, + "end": 18161, + "loc": { + "start": { + "line": 380, + "column": 69 + }, + "end": { + "line": 380, + "column": 79 + }, + "identifierName": "textureSet" + }, + "name": "textureSet" + }, + "property": { + "type": "Identifier", + "start": 18162, + "end": 18177, + "loc": { + "start": { + "line": 380, + "column": 80 + }, + "end": { + "line": 380, + "column": 95 + }, + "identifierName": "emissiveTexture" + }, + "name": "emissiveTexture" + }, + "computed": false }, - "name": "deflate" - }, - "arguments": [ - { + "consequent": { "type": "MemberExpression", - "start": 19378, - "end": 19420, + "start": 18180, + "end": 18219, "loc": { "start": { - "line": 384, - "column": 48 + "line": 380, + "column": 98 }, "end": { - "line": 384, - "column": 90 + "line": 380, + "column": 137 } }, "object": { "type": "MemberExpression", - "start": 19378, - "end": 19413, + "start": 18180, + "end": 18206, "loc": { "start": { - "line": 384, - "column": 48 + "line": 380, + "column": 98 }, "end": { - "line": 384, - "column": 83 + "line": 380, + "column": 124 } }, "object": { "type": "Identifier", - "start": 19378, - "end": 19382, + "start": 18180, + "end": 18190, "loc": { "start": { - "line": 384, - "column": 48 + "line": 380, + "column": 98 }, "end": { - "line": 384, - "column": 52 + "line": 380, + "column": 108 }, - "identifierName": "data" + "identifierName": "textureSet" }, - "name": "data" + "name": "textureSet" }, "property": { "type": "Identifier", - "start": 19383, - "end": 19413, + "start": 18191, + "end": 18206, "loc": { "start": { - "line": 384, - "column": 53 + "line": 380, + "column": 109 }, "end": { - "line": 384, - "column": 83 + "line": 380, + "column": 124 }, - "identifierName": "eachGeometryEdgeIndicesPortion" + "identifierName": "emissiveTexture" }, - "name": "eachGeometryEdgeIndicesPortion" + "name": "emissiveTexture" }, "computed": false }, "property": { "type": "Identifier", - "start": 19414, - "end": 19420, + "start": 18207, + "end": 18219, "loc": { "start": { - "line": 384, - "column": 84 + "line": 380, + "column": 125 }, "end": { - "line": 384, - "column": 90 - }, - "identifierName": "buffer" + "line": 380, + "column": 137 + }, + "identifierName": "textureIndex" }, - "name": "buffer" + "name": "textureIndex" }, "computed": false - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 19431, - "end": 19504, - "loc": { - "start": { - "line": 385, - "column": 8 - }, - "end": { - "line": 385, - "column": 81 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19431, - "end": 19456, - "loc": { - "start": { - "line": 385, - "column": 8 - }, - "end": { - "line": 385, - "column": 33 }, - "identifierName": "eachMeshGeometriesPortion" - }, - "name": "eachMeshGeometriesPortion" - }, - "value": { - "type": "CallExpression", - "start": 19458, - "end": 19504, - "loc": { - "start": { - "line": 385, - "column": 35 - }, - "end": { - "line": 385, - "column": 81 - } - }, - "callee": { - "type": "Identifier", - "start": 19458, - "end": 19465, - "loc": { - "start": { - "line": 385, - "column": 35 - }, - "end": { - "line": 385, - "column": 42 - }, - "identifierName": "deflate" - }, - "name": "deflate" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 19466, - "end": 19503, + "alternate": { + "type": "UnaryExpression", + "start": 18222, + "end": 18224, "loc": { "start": { - "line": 385, - "column": 43 + "line": 380, + "column": 140 }, "end": { - "line": 385, - "column": 80 + "line": 380, + "column": 142 } }, - "object": { - "type": "MemberExpression", - "start": 19466, - "end": 19496, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 18223, + "end": 18224, "loc": { "start": { - "line": 385, - "column": 43 + "line": 380, + "column": 141 }, "end": { - "line": 385, - "column": 73 + "line": 380, + "column": 142 } }, - "object": { - "type": "Identifier", - "start": 19466, - "end": 19470, - "loc": { - "start": { - "line": 385, - "column": 43 - }, - "end": { - "line": 385, - "column": 47 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 19471, - "end": 19496, - "loc": { - "start": { - "line": 385, - "column": 48 - }, - "end": { - "line": 385, - "column": 73 - }, - "identifierName": "eachMeshGeometriesPortion" - }, - "name": "eachMeshGeometriesPortion" + "extra": { + "rawValue": 1, + "raw": "1" }, - "computed": false + "value": 1 }, - "property": { - "type": "Identifier", - "start": 19497, - "end": 19503, - "loc": { - "start": { - "line": 385, - "column": 74 - }, - "end": { - "line": 385, - "column": 80 - }, - "identifierName": "buffer" - }, - "name": "buffer" + "extra": { + "parenthesizedArgument": false + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Normal map", + "start": 18068, + "end": 18081, + "loc": { + "start": { + "line": 379, + "column": 142 }, - "computed": false + "end": { + "line": 379, + "column": 155 + } } - ] - } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Emissive map", + "start": 18226, + "end": 18241, + "loc": { + "start": { + "line": 380, + "column": 144 + }, + "end": { + "line": 380, + "column": 159 + } + } + } + ] }, { - "type": "ObjectProperty", - "start": 19514, - "end": 19583, + "type": "ExpressionStatement", + "start": 18250, + "end": 18387, "loc": { "start": { - "line": 386, + "line": 381, "column": 8 }, "end": { - "line": 386, - "column": 77 + "line": 381, + "column": 145 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19514, - "end": 19537, + "expression": { + "type": "AssignmentExpression", + "start": 18250, + "end": 18386, "loc": { "start": { - "line": 386, + "line": 381, "column": 8 }, "end": { - "line": 386, - "column": 31 - }, - "identifierName": "eachMeshMatricesPortion" - }, - "name": "eachMeshMatricesPortion" - }, - "value": { - "type": "CallExpression", - "start": 19539, - "end": 19583, - "loc": { - "start": { - "line": 386, - "column": 33 - }, - "end": { - "line": 386, - "column": 77 + "line": 381, + "column": 144 } }, - "callee": { - "type": "Identifier", - "start": 19539, - "end": 19546, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 18250, + "end": 18308, "loc": { "start": { - "line": 386, - "column": 33 + "line": 381, + "column": 8 }, "end": { - "line": 386, - "column": 40 - }, - "identifierName": "deflate" + "line": 381, + "column": 66 + } }, - "name": "deflate" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 19547, - "end": 19582, + "start": 18250, + "end": 18277, "loc": { "start": { - "line": 386, - "column": 41 + "line": 381, + "column": 8 }, "end": { - "line": 386, - "column": 76 + "line": 381, + "column": 35 } }, "object": { - "type": "MemberExpression", - "start": 19547, - "end": 19575, + "type": "Identifier", + "start": 18250, + "end": 18254, "loc": { "start": { - "line": 386, - "column": 41 + "line": 381, + "column": 8 }, "end": { - "line": 386, - "column": 69 - } - }, - "object": { - "type": "Identifier", - "start": 19547, - "end": 19551, - "loc": { - "start": { - "line": 386, - "column": 41 - }, - "end": { - "line": 386, - "column": 45 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 19552, - "end": 19575, - "loc": { - "start": { - "line": 386, - "column": 46 - }, - "end": { - "line": 386, - "column": 69 - }, - "identifierName": "eachMeshMatricesPortion" + "line": 381, + "column": 12 }, - "name": "eachMeshMatricesPortion" + "identifierName": "data" }, - "computed": false + "name": "data", + "leadingComments": null }, "property": { "type": "Identifier", - "start": 19576, - "end": 19582, + "start": 18255, + "end": 18277, "loc": { "start": { - "line": 386, - "column": 70 + "line": 381, + "column": 13 }, "end": { - "line": 386, - "column": 76 + "line": 381, + "column": 35 }, - "identifierName": "buffer" + "identifierName": "eachTextureSetTextures" }, - "name": "buffer" + "name": "eachTextureSetTextures" }, - "computed": false - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 19593, - "end": 19652, - "loc": { - "start": { - "line": 387, - "column": 8 - }, - "end": { - "line": 387, - "column": 67 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19593, - "end": 19611, - "loc": { - "start": { - "line": 387, - "column": 8 - }, - "end": { - "line": 387, - "column": 26 + "computed": false, + "leadingComments": null }, - "identifierName": "eachMeshTextureSet" - }, - "name": "eachMeshTextureSet" - }, - "value": { - "type": "CallExpression", - "start": 19613, - "end": 19652, - "loc": { - "start": { - "line": 387, - "column": 28 + "property": { + "type": "UpdateExpression", + "start": 18278, + "end": 18307, + "loc": { + "start": { + "line": 381, + "column": 36 + }, + "end": { + "line": 381, + "column": 65 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 18278, + "end": 18305, + "loc": { + "start": { + "line": 381, + "column": 36 + }, + "end": { + "line": 381, + "column": 63 + }, + "identifierName": "eachTextureSetTexturesIndex" + }, + "name": "eachTextureSetTexturesIndex" + } }, - "end": { - "line": 387, - "column": 67 - } + "computed": true, + "leadingComments": null }, - "callee": { - "type": "Identifier", - "start": 19613, - "end": 19620, + "right": { + "type": "ConditionalExpression", + "start": 18311, + "end": 18386, "loc": { "start": { - "line": 387, - "column": 28 + "line": 381, + "column": 69 }, "end": { - "line": 387, - "column": 35 - }, - "identifierName": "deflate" + "line": 381, + "column": 144 + } }, - "name": "deflate" - }, - "arguments": [ - { + "test": { "type": "MemberExpression", - "start": 19621, - "end": 19651, + "start": 18311, + "end": 18338, "loc": { "start": { - "line": 387, - "column": 36 + "line": 381, + "column": 69 }, "end": { - "line": 387, - "column": 66 + "line": 381, + "column": 96 } }, "object": { - "type": "MemberExpression", - "start": 19621, - "end": 19644, + "type": "Identifier", + "start": 18311, + "end": 18321, "loc": { "start": { - "line": 387, - "column": 36 + "line": 381, + "column": 69 }, "end": { - "line": 387, - "column": 59 - } - }, - "object": { - "type": "Identifier", - "start": 19621, - "end": 19625, - "loc": { - "start": { - "line": 387, - "column": 36 - }, - "end": { - "line": 387, - "column": 40 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 19626, - "end": 19644, - "loc": { - "start": { - "line": 387, - "column": 41 - }, - "end": { - "line": 387, - "column": 59 - }, - "identifierName": "eachMeshTextureSet" + "line": 381, + "column": 79 }, - "name": "eachMeshTextureSet" + "identifierName": "textureSet" }, - "computed": false + "name": "textureSet" }, "property": { "type": "Identifier", - "start": 19645, - "end": 19651, + "start": 18322, + "end": 18338, "loc": { "start": { - "line": 387, - "column": 60 + "line": 381, + "column": 80 }, "end": { - "line": 387, - "column": 66 + "line": 381, + "column": 96 }, - "identifierName": "buffer" + "identifierName": "occlusionTexture" }, - "name": "buffer" + "name": "occlusionTexture" }, "computed": false - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 19662, - "end": 19737, - "loc": { - "start": { - "line": 388, - "column": 8 - }, - "end": { - "line": 388, - "column": 83 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19662, - "end": 19688, - "loc": { - "start": { - "line": 388, - "column": 8 - }, - "end": { - "line": 388, - "column": 34 - }, - "identifierName": "eachMeshMaterialAttributes" - }, - "name": "eachMeshMaterialAttributes" - }, - "value": { - "type": "CallExpression", - "start": 19690, - "end": 19737, - "loc": { - "start": { - "line": 388, - "column": 36 - }, - "end": { - "line": 388, - "column": 83 - } - }, - "callee": { - "type": "Identifier", - "start": 19690, - "end": 19697, - "loc": { - "start": { - "line": 388, - "column": 36 - }, - "end": { - "line": 388, - "column": 43 - }, - "identifierName": "deflate" }, - "name": "deflate" - }, - "arguments": [ - { + "consequent": { "type": "MemberExpression", - "start": 19698, - "end": 19736, + "start": 18341, + "end": 18381, "loc": { "start": { - "line": 388, - "column": 44 + "line": 381, + "column": 99 }, "end": { - "line": 388, - "column": 82 + "line": 381, + "column": 139 } }, "object": { "type": "MemberExpression", - "start": 19698, - "end": 19729, + "start": 18341, + "end": 18368, "loc": { "start": { - "line": 388, - "column": 44 + "line": 381, + "column": 99 }, "end": { - "line": 388, - "column": 75 + "line": 381, + "column": 126 } }, "object": { "type": "Identifier", - "start": 19698, - "end": 19702, + "start": 18341, + "end": 18351, "loc": { "start": { - "line": 388, - "column": 44 + "line": 381, + "column": 99 }, "end": { - "line": 388, - "column": 48 + "line": 381, + "column": 109 }, - "identifierName": "data" + "identifierName": "textureSet" }, - "name": "data" + "name": "textureSet" }, "property": { "type": "Identifier", - "start": 19703, - "end": 19729, + "start": 18352, + "end": 18368, "loc": { "start": { - "line": 388, - "column": 49 + "line": 381, + "column": 110 }, "end": { - "line": 388, - "column": 75 + "line": 381, + "column": 126 }, - "identifierName": "eachMeshMaterialAttributes" + "identifierName": "occlusionTexture" }, - "name": "eachMeshMaterialAttributes" + "name": "occlusionTexture" }, "computed": false }, "property": { "type": "Identifier", - "start": 19730, - "end": 19736, + "start": 18369, + "end": 18381, "loc": { "start": { - "line": 388, - "column": 76 + "line": 381, + "column": 127 }, "end": { - "line": 388, - "column": 82 + "line": 381, + "column": 139 }, - "identifierName": "buffer" + "identifierName": "textureIndex" }, - "name": "buffer" + "name": "textureIndex" }, "computed": false + }, + "alternate": { + "type": "UnaryExpression", + "start": 18384, + "end": 18386, + "loc": { + "start": { + "line": 381, + "column": 142 + }, + "end": { + "line": 381, + "column": 144 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 18385, + "end": 18386, + "loc": { + "start": { + "line": 381, + "column": 143 + }, + "end": { + "line": 381, + "column": 144 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } } - ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Emissive map", + "start": 18226, + "end": 18241, + "loc": { + "start": { + "line": 380, + "column": 144 + }, + "end": { + "line": 380, + "column": 159 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Occlusion map", + "start": 18388, + "end": 18404, + "loc": { + "start": { + "line": 381, + "column": 146 + }, + "end": { + "line": 381, + "column": 162 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Texture sets", + "start": 17344, + "end": 17359, + "loc": { + "start": { + "line": 373, + "column": 4 + }, + "end": { + "line": 373, + "column": 19 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Tiles -> Entities -> Meshes", + "start": 18416, + "end": 18446, + "loc": { + "start": { + "line": 384, + "column": 4 + }, + "end": { + "line": 384, + "column": 34 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 18452, + "end": 18472, + "loc": { + "start": { + "line": 386, + "column": 4 + }, + "end": { + "line": 386, + "column": 24 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18456, + "end": 18471, + "loc": { + "start": { + "line": 386, + "column": 8 + }, + "end": { + "line": 386, + "column": 23 } }, - { - "type": "ObjectProperty", - "start": 19747, - "end": 20028, + "id": { + "type": "Identifier", + "start": 18456, + "end": 18467, + "loc": { + "start": { + "line": 386, + "column": 8 + }, + "end": { + "line": 386, + "column": 19 + }, + "identifierName": "entityIndex" + }, + "name": "entityIndex", + "leadingComments": null + }, + "init": { + "type": "NumericLiteral", + "start": 18470, + "end": 18471, + "loc": { + "start": { + "line": 386, + "column": 22 + }, + "end": { + "line": 386, + "column": 23 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "leadingComments": null + } + ], + "kind": "let", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Tiles -> Entities -> Meshes", + "start": 18416, + "end": 18446, + "loc": { + "start": { + "line": 384, + "column": 4 + }, + "end": { + "line": 384, + "column": 34 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 18477, + "end": 18510, + "loc": { + "start": { + "line": 387, + "column": 4 + }, + "end": { + "line": 387, + "column": 37 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18481, + "end": 18509, + "loc": { + "start": { + "line": 387, + "column": 8 + }, + "end": { + "line": 387, + "column": 36 + } + }, + "id": { + "type": "Identifier", + "start": 18481, + "end": 18505, + "loc": { + "start": { + "line": 387, + "column": 8 + }, + "end": { + "line": 387, + "column": 32 + }, + "identifierName": "countEntityMeshesPortion" + }, + "name": "countEntityMeshesPortion" + }, + "init": { + "type": "NumericLiteral", + "start": 18508, + "end": 18509, + "loc": { + "start": { + "line": 387, + "column": 35 + }, + "end": { + "line": 387, + "column": 36 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 18515, + "end": 18555, + "loc": { + "start": { + "line": 388, + "column": 4 + }, + "end": { + "line": 388, + "column": 44 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18519, + "end": 18554, + "loc": { + "start": { + "line": 388, + "column": 8 + }, + "end": { + "line": 388, + "column": 43 + } + }, + "id": { + "type": "Identifier", + "start": 18519, + "end": 18550, + "loc": { + "start": { + "line": 388, + "column": 8 + }, + "end": { + "line": 388, + "column": 39 + }, + "identifierName": "eachMeshMaterialAttributesIndex" + }, + "name": "eachMeshMaterialAttributesIndex" + }, + "init": { + "type": "NumericLiteral", + "start": 18553, + "end": 18554, + "loc": { + "start": { + "line": 388, + "column": 42 + }, + "end": { + "line": 388, + "column": 43 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 18560, + "end": 18582, + "loc": { + "start": { + "line": 389, + "column": 4 + }, + "end": { + "line": 389, + "column": 26 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18564, + "end": 18581, + "loc": { + "start": { + "line": 389, + "column": 8 + }, + "end": { + "line": 389, + "column": 25 + } + }, + "id": { + "type": "Identifier", + "start": 18564, + "end": 18577, + "loc": { + "start": { + "line": 389, + "column": 8 + }, + "end": { + "line": 389, + "column": 21 + }, + "identifierName": "matricesIndex" + }, + "name": "matricesIndex" + }, + "init": { + "type": "NumericLiteral", + "start": 18580, + "end": 18581, "loc": { "start": { "line": 389, + "column": 24 + }, + "end": { + "line": 389, + "column": 25 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 18587, + "end": 18605, + "loc": { + "start": { + "line": 390, + "column": 4 + }, + "end": { + "line": 390, + "column": 22 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18591, + "end": 18604, + "loc": { + "start": { + "line": 390, + "column": 8 + }, + "end": { + "line": 390, + "column": 21 + } + }, + "id": { + "type": "Identifier", + "start": 18591, + "end": 18600, + "loc": { + "start": { + "line": 390, "column": 8 }, + "end": { + "line": 390, + "column": 17 + }, + "identifierName": "meshIndex" + }, + "name": "meshIndex" + }, + "init": { + "type": "NumericLiteral", + "start": 18603, + "end": 18604, + "loc": { + "start": { + "line": 390, + "column": 20 + }, + "end": { + "line": 390, + "column": 21 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + { + "type": "ForStatement", + "start": 18611, + "end": 21043, + "loc": { + "start": { + "line": 392, + "column": 4 + }, + "end": { + "line": 448, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 18616, + "end": 18633, + "loc": { + "start": { + "line": 392, + "column": 9 + }, + "end": { + "line": 392, + "column": 26 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18620, + "end": 18633, + "loc": { + "start": { + "line": 392, + "column": 13 + }, "end": { "line": 392, - "column": 15 + "column": 26 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "id": { "type": "Identifier", - "start": 19747, - "end": 19759, + "start": 18620, + "end": 18629, "loc": { "start": { - "line": 389, - "column": 8 + "line": 392, + "column": 13 }, "end": { - "line": 389, - "column": 20 + "line": 392, + "column": 22 }, - "identifierName": "eachEntityId" + "identifierName": "tileIndex" }, - "name": "eachEntityId" + "name": "tileIndex" }, - "value": { - "type": "CallExpression", - "start": 19761, - "end": 20028, + "init": { + "type": "NumericLiteral", + "start": 18632, + "end": 18633, "loc": { "start": { - "line": 389, - "column": 22 + "line": 392, + "column": 25 }, "end": { "line": 392, - "column": 15 + "column": 26 } }, - "callee": { - "type": "Identifier", - "start": 19761, - "end": 19768, - "loc": { - "start": { - "line": 389, - "column": 22 - }, - "end": { - "line": 389, - "column": 29 - }, - "identifierName": "deflate" - }, - "name": "deflate" + "extra": { + "rawValue": 0, + "raw": "0" }, - "arguments": [ - { - "type": "CallExpression", - "start": 19769, - "end": 20027, - "loc": { - "start": { - "line": 389, - "column": 30 - }, - "end": { - "line": 392, - "column": 14 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19769, - "end": 19823, - "loc": { - "start": { - "line": 389, - "column": 30 - }, - "end": { - "line": 390, - "column": 20 - } - }, - "object": { - "type": "CallExpression", - "start": 19769, - "end": 19802, - "loc": { - "start": { - "line": 389, - "column": 30 - }, - "end": { - "line": 389, - "column": 63 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19769, - "end": 19783, - "loc": { - "start": { - "line": 389, - "column": 30 - }, - "end": { - "line": 389, - "column": 44 - } - }, - "object": { - "type": "Identifier", - "start": 19769, - "end": 19773, - "loc": { - "start": { - "line": 389, - "column": 30 - }, - "end": { - "line": 389, - "column": 34 - }, - "identifierName": "JSON" - }, - "name": "JSON" - }, - "property": { - "type": "Identifier", - "start": 19774, - "end": 19783, - "loc": { - "start": { - "line": 389, - "column": 35 - }, - "end": { - "line": 389, - "column": 44 - }, - "identifierName": "stringify" - }, - "name": "stringify" - }, - "computed": false + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 18635, + "end": 18655, + "loc": { + "start": { + "line": 392, + "column": 28 + }, + "end": { + "line": 392, + "column": 48 + } + }, + "left": { + "type": "Identifier", + "start": 18635, + "end": 18644, + "loc": { + "start": { + "line": 392, + "column": 28 + }, + "end": { + "line": 392, + "column": 37 + }, + "identifierName": "tileIndex" + }, + "name": "tileIndex" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 18647, + "end": 18655, + "loc": { + "start": { + "line": 392, + "column": 40 + }, + "end": { + "line": 392, + "column": 48 + }, + "identifierName": "numTiles" + }, + "name": "numTiles" + } + }, + "update": { + "type": "UpdateExpression", + "start": 18657, + "end": 18668, + "loc": { + "start": { + "line": 392, + "column": 50 + }, + "end": { + "line": 392, + "column": 61 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 18657, + "end": 18666, + "loc": { + "start": { + "line": 392, + "column": 50 + }, + "end": { + "line": 392, + "column": 59 + }, + "identifierName": "tileIndex" + }, + "name": "tileIndex" + } + }, + "body": { + "type": "BlockStatement", + "start": 18670, + "end": 21043, + "loc": { + "start": { + "line": 392, + "column": 63 + }, + "end": { + "line": 448, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 18681, + "end": 18716, + "loc": { + "start": { + "line": 394, + "column": 8 + }, + "end": { + "line": 394, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18687, + "end": 18715, + "loc": { + "start": { + "line": 394, + "column": 14 + }, + "end": { + "line": 394, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 18687, + "end": 18691, + "loc": { + "start": { + "line": 394, + "column": 14 + }, + "end": { + "line": 394, + "column": 18 + }, + "identifierName": "tile" + }, + "name": "tile" + }, + "init": { + "type": "MemberExpression", + "start": 18694, + "end": 18715, + "loc": { + "start": { + "line": 394, + "column": 21 + }, + "end": { + "line": 394, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 18694, + "end": 18703, + "loc": { + "start": { + "line": 394, + "column": 21 }, - "arguments": [ - { - "type": "MemberExpression", - "start": 19784, - "end": 19801, - "loc": { - "start": { - "line": 389, - "column": 45 - }, - "end": { - "line": 389, - "column": 62 - } - }, - "object": { - "type": "Identifier", - "start": 19784, - "end": 19788, - "loc": { - "start": { - "line": 389, - "column": 45 - }, - "end": { - "line": 389, - "column": 49 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 19789, - "end": 19801, - "loc": { - "start": { - "line": 389, - "column": 50 - }, - "end": { - "line": 389, - "column": 62 - }, - "identifierName": "eachEntityId" - }, - "name": "eachEntityId" - }, - "computed": false - } - ] + "end": { + "line": 394, + "column": 30 + }, + "identifierName": "tilesList" }, - "property": { - "type": "Identifier", - "start": 19816, - "end": 19823, - "loc": { - "start": { - "line": 390, - "column": 13 - }, - "end": { - "line": 390, - "column": 20 - }, - "identifierName": "replace" + "name": "tilesList" + }, + "property": { + "type": "Identifier", + "start": 18705, + "end": 18714, + "loc": { + "start": { + "line": 394, + "column": 32 }, - "name": "replace" + "end": { + "line": 394, + "column": 41 + }, + "identifierName": "tileIndex" }, - "computed": false + "name": "tileIndex" }, - "arguments": [ - { - "type": "RegExpLiteral", - "start": 19824, - "end": 19842, - "loc": { - "start": { - "line": 390, - "column": 21 - }, - "end": { - "line": 390, - "column": 39 - } + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 18725, + "end": 18760, + "loc": { + "start": { + "line": 395, + "column": 8 + }, + "end": { + "line": 395, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18731, + "end": 18759, + "loc": { + "start": { + "line": 395, + "column": 14 + }, + "end": { + "line": 395, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 18731, + "end": 18743, + "loc": { + "start": { + "line": 395, + "column": 14 + }, + "end": { + "line": 395, + "column": 26 + }, + "identifierName": "tileEntities" + }, + "name": "tileEntities" + }, + "init": { + "type": "MemberExpression", + "start": 18746, + "end": 18759, + "loc": { + "start": { + "line": 395, + "column": 29 + }, + "end": { + "line": 395, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 18746, + "end": 18750, + "loc": { + "start": { + "line": 395, + "column": 29 }, - "extra": { - "raw": "/[\\u007F-\\uFFFF]/g" + "end": { + "line": 395, + "column": 33 }, - "pattern": "[\\u007F-\\uFFFF]", - "flags": "g" + "identifierName": "tile" }, - { - "type": "FunctionExpression", - "start": 19844, - "end": 20026, - "loc": { - "start": { - "line": 390, - "column": 41 - }, - "end": { - "line": 392, - "column": 13 - } + "name": "tile" + }, + "property": { + "type": "Identifier", + "start": 18751, + "end": 18759, + "loc": { + "start": { + "line": 395, + "column": 34 }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 19854, - "end": 19857, - "loc": { - "start": { - "line": 390, - "column": 51 - }, - "end": { - "line": 390, - "column": 54 - }, - "identifierName": "chr" - }, - "name": "chr" - } - ], - "body": { - "type": "BlockStatement", - "start": 19859, - "end": 20026, - "loc": { - "start": { - "line": 390, - "column": 56 - }, - "end": { - "line": 392, - "column": 13 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 19945, - "end": 20012, - "loc": { - "start": { - "line": 391, - "column": 16 - }, - "end": { - "line": 391, - "column": 83 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 19952, - "end": 20012, - "loc": { - "start": { - "line": 391, - "column": 23 - }, - "end": { - "line": 391, - "column": 83 - } - }, - "left": { - "type": "StringLiteral", - "start": 19952, - "end": 19957, - "loc": { - "start": { - "line": 391, - "column": 23 - }, - "end": { - "line": 391, - "column": 28 - } - }, - "extra": { - "rawValue": "\\u", - "raw": "\"\\\\u\"" - }, - "value": "\\u", - "leadingComments": null - }, - "operator": "+", - "right": { - "type": "CallExpression", - "start": 19960, - "end": 20012, - "loc": { - "start": { - "line": 391, - "column": 31 - }, - "end": { - "line": 391, - "column": 83 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19960, - "end": 20008, - "loc": { - "start": { - "line": 391, - "column": 31 - }, - "end": { - "line": 391, - "column": 79 - } - }, - "object": { - "type": "BinaryExpression", - "start": 19961, - "end": 20000, - "loc": { - "start": { - "line": 391, - "column": 32 - }, - "end": { - "line": 391, - "column": 71 - } - }, - "left": { - "type": "StringLiteral", - "start": 19961, - "end": 19967, - "loc": { - "start": { - "line": 391, - "column": 32 - }, - "end": { - "line": 391, - "column": 38 - } - }, - "extra": { - "rawValue": "0000", - "raw": "\"0000\"" - }, - "value": "0000" - }, - "operator": "+", - "right": { - "type": "CallExpression", - "start": 19970, - "end": 20000, - "loc": { - "start": { - "line": 391, - "column": 41 - }, - "end": { - "line": 391, - "column": 71 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19970, - "end": 19996, - "loc": { - "start": { - "line": 391, - "column": 41 - }, - "end": { - "line": 391, - "column": 67 - } - }, - "object": { - "type": "CallExpression", - "start": 19970, - "end": 19987, - "loc": { - "start": { - "line": 391, - "column": 41 - }, - "end": { - "line": 391, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19970, - "end": 19984, - "loc": { - "start": { - "line": 391, - "column": 41 - }, - "end": { - "line": 391, - "column": 55 - } - }, - "object": { - "type": "Identifier", - "start": 19970, - "end": 19973, - "loc": { - "start": { - "line": 391, - "column": 41 - }, - "end": { - "line": 391, - "column": 44 - }, - "identifierName": "chr" - }, - "name": "chr" - }, - "property": { - "type": "Identifier", - "start": 19974, - "end": 19984, - "loc": { - "start": { - "line": 391, - "column": 45 - }, - "end": { - "line": 391, - "column": 55 - }, - "identifierName": "charCodeAt" - }, - "name": "charCodeAt" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 19985, - "end": 19986, - "loc": { - "start": { - "line": 391, - "column": 56 - }, - "end": { - "line": 391, - "column": 57 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - ] - }, - "property": { - "type": "Identifier", - "start": 19988, - "end": 19996, - "loc": { - "start": { - "line": 391, - "column": 59 - }, - "end": { - "line": 391, - "column": 67 - }, - "identifierName": "toString" - }, - "name": "toString" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 19997, - "end": 19999, - "loc": { - "start": { - "line": 391, - "column": 68 - }, - "end": { - "line": 391, - "column": 70 - } - }, - "extra": { - "rawValue": 16, - "raw": "16" - }, - "value": 16 - } - ] - }, - "extra": { - "parenthesized": true, - "parenStart": 19960 - } - }, - "property": { - "type": "Identifier", - "start": 20002, - "end": 20008, - "loc": { - "start": { - "line": 391, - "column": 73 - }, - "end": { - "line": 391, - "column": 79 - }, - "identifierName": "substr" - }, - "name": "substr" - }, - "computed": false - }, - "arguments": [ - { - "type": "UnaryExpression", - "start": 20009, - "end": 20011, - "loc": { - "start": { - "line": 391, - "column": 80 - }, - "end": { - "line": 391, - "column": 82 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 20010, - "end": 20011, - "loc": { - "start": { - "line": 391, - "column": 81 - }, - "end": { - "line": 391, - "column": 82 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - }, - "extra": { - "parenthesizedArgument": false - } - } - ] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Produce only ASCII-chars, so that the data can be inflated later", - "start": 19861, - "end": 19928, - "loc": { - "start": { - "line": 390, - "column": 58 - }, - "end": { - "line": 390, - "column": 125 - } - } - } - ] - } - ], - "directives": [] - } - } - ] + "end": { + "line": 395, + "column": 42 + }, + "identifierName": "entities" + }, + "name": "entities" + }, + "computed": false } - ] - } + } + ], + "kind": "const" }, { - "type": "ObjectProperty", - "start": 20038, - "end": 20107, + "type": "VariableDeclaration", + "start": 18769, + "end": 18813, "loc": { "start": { - "line": 393, + "line": 396, "column": 8 }, "end": { - "line": 393, - "column": 77 + "line": 396, + "column": 52 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 20038, - "end": 20061, - "loc": { - "start": { - "line": 393, - "column": 8 - }, - "end": { - "line": 393, - "column": 31 - }, - "identifierName": "eachEntityMeshesPortion" - }, - "name": "eachEntityMeshesPortion" - }, - "value": { - "type": "CallExpression", - "start": 20063, - "end": 20107, - "loc": { - "start": { - "line": 393, - "column": 33 - }, - "end": { - "line": 393, - "column": 77 - } - }, - "callee": { - "type": "Identifier", - "start": 20063, - "end": 20070, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18775, + "end": 18812, "loc": { "start": { - "line": 393, - "column": 33 + "line": 396, + "column": 14 }, "end": { - "line": 393, - "column": 40 + "line": 396, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 18775, + "end": 18790, + "loc": { + "start": { + "line": 396, + "column": 14 + }, + "end": { + "line": 396, + "column": 29 + }, + "identifierName": "numTileEntities" }, - "identifierName": "deflate" + "name": "numTileEntities" }, - "name": "deflate" - }, - "arguments": [ - { + "init": { "type": "MemberExpression", - "start": 20071, - "end": 20106, + "start": 18793, + "end": 18812, "loc": { "start": { - "line": 393, - "column": 41 + "line": 396, + "column": 32 }, "end": { - "line": 393, - "column": 76 + "line": 396, + "column": 51 } }, "object": { - "type": "MemberExpression", - "start": 20071, - "end": 20099, + "type": "Identifier", + "start": 18793, + "end": 18805, "loc": { "start": { - "line": 393, - "column": 41 + "line": 396, + "column": 32 }, "end": { - "line": 393, - "column": 69 - } - }, - "object": { - "type": "Identifier", - "start": 20071, - "end": 20075, - "loc": { - "start": { - "line": 393, - "column": 41 - }, - "end": { - "line": 393, - "column": 45 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 20076, - "end": 20099, - "loc": { - "start": { - "line": 393, - "column": 46 - }, - "end": { - "line": 393, - "column": 69 - }, - "identifierName": "eachEntityMeshesPortion" + "line": 396, + "column": 44 }, - "name": "eachEntityMeshesPortion" + "identifierName": "tileEntities" }, - "computed": false + "name": "tileEntities" }, "property": { "type": "Identifier", - "start": 20100, - "end": 20106, + "start": 18806, + "end": 18812, "loc": { "start": { - "line": 393, - "column": 70 + "line": 396, + "column": 45 }, "end": { - "line": 393, - "column": 76 + "line": 396, + "column": 51 }, - "identifierName": "buffer" + "identifierName": "length" }, - "name": "buffer" + "name": "length" }, "computed": false } - ] - } + } + ], + "kind": "const" }, { - "type": "ObjectProperty", - "start": 20117, - "end": 20164, + "type": "IfStatement", + "start": 18823, + "end": 18883, "loc": { "start": { - "line": 394, + "line": 398, "column": 8 }, "end": { - "line": 394, - "column": 55 + "line": 400, + "column": 9 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 20117, - "end": 20129, - "loc": { - "start": { - "line": 394, - "column": 8 - }, - "end": { - "line": 394, - "column": 20 - }, - "identifierName": "eachTileAABB" - }, - "name": "eachTileAABB" - }, - "value": { - "type": "CallExpression", - "start": 20131, - "end": 20164, + "test": { + "type": "BinaryExpression", + "start": 18827, + "end": 18848, "loc": { "start": { - "line": 394, - "column": 22 + "line": 398, + "column": 12 }, "end": { - "line": 394, - "column": 55 + "line": 398, + "column": 33 } }, - "callee": { + "left": { "type": "Identifier", - "start": 20131, - "end": 20138, + "start": 18827, + "end": 18842, "loc": { "start": { - "line": 394, - "column": 22 + "line": 398, + "column": 12 }, "end": { - "line": 394, - "column": 29 + "line": 398, + "column": 27 }, - "identifierName": "deflate" + "identifierName": "numTileEntities" }, - "name": "deflate" + "name": "numTileEntities" }, - "arguments": [ + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 18847, + "end": 18848, + "loc": { + "start": { + "line": 398, + "column": 32 + }, + "end": { + "line": 398, + "column": 33 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 18850, + "end": 18883, + "loc": { + "start": { + "line": 398, + "column": 35 + }, + "end": { + "line": 400, + "column": 9 + } + }, + "body": [ { - "type": "MemberExpression", - "start": 20139, - "end": 20163, + "type": "ContinueStatement", + "start": 18864, + "end": 18873, "loc": { "start": { - "line": 394, - "column": 30 + "line": 399, + "column": 12 }, "end": { - "line": 394, - "column": 54 + "line": 399, + "column": 21 } }, - "object": { - "type": "MemberExpression", - "start": 20139, - "end": 20156, - "loc": { - "start": { - "line": 394, - "column": 30 - }, - "end": { - "line": 394, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 20139, - "end": 20143, - "loc": { - "start": { - "line": 394, - "column": 30 - }, - "end": { - "line": 394, - "column": 34 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 20144, - "end": 20156, - "loc": { - "start": { - "line": 394, - "column": 35 - }, - "end": { - "line": 394, - "column": 47 - }, - "identifierName": "eachTileAABB" - }, - "name": "eachTileAABB" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 20157, - "end": 20163, - "loc": { - "start": { - "line": 394, - "column": 48 - }, - "end": { - "line": 394, - "column": 54 - }, - "identifierName": "buffer" - }, - "name": "buffer" - }, - "computed": false + "label": null } - ] - } + ], + "directives": [] + }, + "alternate": null }, { - "type": "ObjectProperty", - "start": 20174, - "end": 20243, + "type": "ExpressionStatement", + "start": 18893, + "end": 18947, "loc": { "start": { - "line": 395, + "line": 402, "column": 8 }, "end": { - "line": 395, - "column": 77 + "line": 402, + "column": 62 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 20174, - "end": 20197, + "expression": { + "type": "AssignmentExpression", + "start": 18893, + "end": 18946, "loc": { "start": { - "line": 395, + "line": 402, "column": 8 }, "end": { - "line": 395, - "column": 31 - }, - "identifierName": "eachTileEntitiesPortion" - }, - "name": "eachTileEntitiesPortion" - }, - "value": { - "type": "CallExpression", - "start": 20199, - "end": 20243, - "loc": { - "start": { - "line": 395, - "column": 33 - }, - "end": { - "line": 395, - "column": 77 + "line": 402, + "column": 61 } }, - "callee": { - "type": "Identifier", - "start": 20199, - "end": 20206, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 18893, + "end": 18932, "loc": { "start": { - "line": 395, - "column": 33 + "line": 402, + "column": 8 }, "end": { - "line": 395, - "column": 40 - }, - "identifierName": "deflate" + "line": 402, + "column": 47 + } }, - "name": "deflate" - }, - "arguments": [ - { + "object": { "type": "MemberExpression", - "start": 20207, - "end": 20242, + "start": 18893, + "end": 18921, "loc": { "start": { - "line": 395, - "column": 41 + "line": 402, + "column": 8 }, "end": { - "line": 395, - "column": 76 + "line": 402, + "column": 36 } }, "object": { - "type": "MemberExpression", - "start": 20207, - "end": 20235, + "type": "Identifier", + "start": 18893, + "end": 18897, "loc": { "start": { - "line": 395, - "column": 41 + "line": 402, + "column": 8 }, "end": { - "line": 395, - "column": 69 - } - }, - "object": { - "type": "Identifier", - "start": 20207, - "end": 20211, - "loc": { - "start": { - "line": 395, - "column": 41 - }, - "end": { - "line": 395, - "column": 45 - }, - "identifierName": "data" - }, - "name": "data" - }, - "property": { - "type": "Identifier", - "start": 20212, - "end": 20235, - "loc": { - "start": { - "line": 395, - "column": 46 - }, - "end": { - "line": 395, - "column": 69 - }, - "identifierName": "eachTileEntitiesPortion" + "line": 402, + "column": 12 }, - "name": "eachTileEntitiesPortion" + "identifierName": "data" }, - "computed": false + "name": "data" }, "property": { "type": "Identifier", - "start": 20236, - "end": 20242, + "start": 18898, + "end": 18921, "loc": { "start": { - "line": 395, - "column": 70 + "line": 402, + "column": 13 }, "end": { - "line": 395, - "column": 76 - }, - "identifierName": "buffer" + "line": 402, + "column": 36 + }, + "identifierName": "eachTileEntitiesPortion" }, - "name": "buffer" + "name": "eachTileEntitiesPortion" }, "computed": false - } - ] + }, + "property": { + "type": "Identifier", + "start": 18922, + "end": 18931, + "loc": { + "start": { + "line": 402, + "column": 37 + }, + "end": { + "line": 402, + "column": 46 + }, + "identifierName": "tileIndex" + }, + "name": "tileIndex" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 18935, + "end": 18946, + "loc": { + "start": { + "line": 402, + "column": 50 + }, + "end": { + "line": 402, + "column": 61 + }, + "identifierName": "entityIndex" + }, + "name": "entityIndex" + } } - } - ] - } - } - ], - "directives": [] - } - }, - { - "type": "FunctionDeclaration", - "start": 20254, - "end": 20536, - "loc": { - "start": { - "line": 399, - "column": 0 - }, - "end": { - "line": 404, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 20263, - "end": 20274, - "loc": { - "start": { - "line": 399, - "column": 9 - }, - "end": { - "line": 399, - "column": 20 - }, - "identifierName": "deflateJSON" - }, - "name": "deflateJSON" - }, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 20275, - "end": 20282, - "loc": { - "start": { - "line": 399, - "column": 21 - }, - "end": { - "line": 399, - "column": 28 - }, - "identifierName": "strings" - }, - "name": "strings" - } - ], - "body": { - "type": "BlockStatement", - "start": 20284, - "end": 20536, - "loc": { - "start": { - "line": 399, - "column": 30 - }, - "end": { - "line": 404, - "column": 1 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 20290, - "end": 20534, - "loc": { - "start": { - "line": 400, - "column": 4 - }, - "end": { - "line": 403, - "column": 11 - } - }, - "argument": { - "type": "CallExpression", - "start": 20297, - "end": 20533, - "loc": { - "start": { - "line": 400, - "column": 11 }, - "end": { - "line": 403, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 20297, - "end": 20337, - "loc": { - "start": { - "line": 400, - "column": 11 + { + "type": "VariableDeclaration", + "start": 18957, + "end": 18984, + "loc": { + "start": { + "line": 404, + "column": 8 + }, + "end": { + "line": 404, + "column": 35 + } }, - "end": { - "line": 401, - "column": 16 - } + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18963, + "end": 18983, + "loc": { + "start": { + "line": 404, + "column": 14 + }, + "end": { + "line": 404, + "column": 34 + } + }, + "id": { + "type": "Identifier", + "start": 18963, + "end": 18971, + "loc": { + "start": { + "line": 404, + "column": 14 + }, + "end": { + "line": 404, + "column": 22 + }, + "identifierName": "tileAABB" + }, + "name": "tileAABB" + }, + "init": { + "type": "MemberExpression", + "start": 18974, + "end": 18983, + "loc": { + "start": { + "line": 404, + "column": 25 + }, + "end": { + "line": 404, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 18974, + "end": 18978, + "loc": { + "start": { + "line": 404, + "column": 25 + }, + "end": { + "line": 404, + "column": 29 + }, + "identifierName": "tile" + }, + "name": "tile" + }, + "property": { + "type": "Identifier", + "start": 18979, + "end": 18983, + "loc": { + "start": { + "line": 404, + "column": 30 + }, + "end": { + "line": 404, + "column": 34 + }, + "identifierName": "aabb" + }, + "name": "aabb" + }, + "computed": false + } + } + ], + "kind": "const" }, - "object": { - "type": "CallExpression", - "start": 20297, - "end": 20320, + { + "type": "ForStatement", + "start": 18994, + "end": 20934, "loc": { "start": { - "line": 400, - "column": 11 + "line": 406, + "column": 8 }, "end": { - "line": 400, - "column": 34 + "line": 443, + "column": 9 } }, - "callee": { - "type": "MemberExpression", - "start": 20297, - "end": 20311, + "init": { + "type": "VariableDeclaration", + "start": 18999, + "end": 19008, "loc": { "start": { - "line": 400, - "column": 11 + "line": 406, + "column": 13 }, "end": { - "line": 400, - "column": 25 + "line": 406, + "column": 22 } }, - "object": { - "type": "Identifier", - "start": 20297, - "end": 20301, - "loc": { - "start": { - "line": 400, - "column": 11 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19003, + "end": 19008, + "loc": { + "start": { + "line": 406, + "column": 17 + }, + "end": { + "line": 406, + "column": 22 + } }, - "end": { - "line": 400, - "column": 15 + "id": { + "type": "Identifier", + "start": 19003, + "end": 19004, + "loc": { + "start": { + "line": 406, + "column": 17 + }, + "end": { + "line": 406, + "column": 18 + }, + "identifierName": "j" + }, + "name": "j" }, - "identifierName": "JSON" + "init": { + "type": "NumericLiteral", + "start": 19007, + "end": 19008, + "loc": { + "start": { + "line": 406, + "column": 21 + }, + "end": { + "line": 406, + "column": 22 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 19010, + "end": 19029, + "loc": { + "start": { + "line": 406, + "column": 24 }, - "name": "JSON" + "end": { + "line": 406, + "column": 43 + } }, - "property": { + "left": { "type": "Identifier", - "start": 20302, - "end": 20311, + "start": 19010, + "end": 19011, "loc": { "start": { - "line": 400, - "column": 16 + "line": 406, + "column": 24 }, "end": { - "line": 400, + "line": 406, "column": 25 }, - "identifierName": "stringify" + "identifierName": "j" }, - "name": "stringify" + "name": "j" }, - "computed": false - }, - "arguments": [ - { + "operator": "<", + "right": { "type": "Identifier", - "start": 20312, - "end": 20319, + "start": 19014, + "end": 19029, "loc": { "start": { - "line": 400, - "column": 26 + "line": 406, + "column": 28 }, "end": { - "line": 400, - "column": 33 + "line": 406, + "column": 43 }, - "identifierName": "strings" + "identifierName": "numTileEntities" }, - "name": "strings" - } - ] - }, - "property": { - "type": "Identifier", - "start": 20330, - "end": 20337, - "loc": { - "start": { - "line": 401, - "column": 9 - }, - "end": { - "line": 401, - "column": 16 - }, - "identifierName": "replace" - }, - "name": "replace" - }, - "computed": false - }, - "arguments": [ - { - "type": "RegExpLiteral", - "start": 20338, - "end": 20356, - "loc": { - "start": { - "line": 401, - "column": 17 - }, - "end": { - "line": 401, - "column": 35 + "name": "numTileEntities" } }, - "extra": { - "raw": "/[\\u007F-\\uFFFF]/g" - }, - "pattern": "[\\u007F-\\uFFFF]", - "flags": "g" - }, - { - "type": "FunctionExpression", - "start": 20358, - "end": 20532, - "loc": { - "start": { - "line": 401, - "column": 37 + "update": { + "type": "UpdateExpression", + "start": 19031, + "end": 19034, + "loc": { + "start": { + "line": 406, + "column": 45 + }, + "end": { + "line": 406, + "column": 48 + } }, - "end": { - "line": 403, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "operator": "++", + "prefix": false, + "argument": { "type": "Identifier", - "start": 20368, - "end": 20371, + "start": 19031, + "end": 19032, "loc": { "start": { - "line": 401, - "column": 47 + "line": 406, + "column": 45 }, "end": { - "line": 401, - "column": 50 + "line": 406, + "column": 46 }, - "identifierName": "chr" + "identifierName": "j" }, - "name": "chr" + "name": "j" } - ], + }, "body": { "type": "BlockStatement", - "start": 20373, - "end": 20532, + "start": 19036, + "end": 20934, "loc": { "start": { - "line": 401, - "column": 52 + "line": 406, + "column": 50 }, "end": { - "line": 403, + "line": 443, "column": 9 } }, "body": [ { - "type": "ReturnStatement", - "start": 20455, - "end": 20522, + "type": "VariableDeclaration", + "start": 19051, + "end": 19082, "loc": { "start": { - "line": 402, + "line": 408, "column": 12 }, "end": { - "line": 402, - "column": 79 + "line": 408, + "column": 43 } }, - "argument": { - "type": "BinaryExpression", - "start": 20462, - "end": 20522, - "loc": { - "start": { - "line": 402, - "column": 19 - }, - "end": { - "line": 402, - "column": 79 - } - }, - "left": { - "type": "StringLiteral", - "start": 20462, - "end": 20467, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19057, + "end": 19081, "loc": { "start": { - "line": 402, - "column": 19 + "line": 408, + "column": 18 }, "end": { - "line": 402, - "column": 24 + "line": 408, + "column": 42 } }, - "extra": { - "rawValue": "\\u", - "raw": "\"\\\\u\"" + "id": { + "type": "Identifier", + "start": 19057, + "end": 19063, + "loc": { + "start": { + "line": 408, + "column": 18 + }, + "end": { + "line": 408, + "column": 24 + }, + "identifierName": "entity" + }, + "name": "entity" }, - "value": "\\u", - "leadingComments": null + "init": { + "type": "MemberExpression", + "start": 19066, + "end": 19081, + "loc": { + "start": { + "line": 408, + "column": 27 + }, + "end": { + "line": 408, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 19066, + "end": 19078, + "loc": { + "start": { + "line": 408, + "column": 27 + }, + "end": { + "line": 408, + "column": 39 + }, + "identifierName": "tileEntities" + }, + "name": "tileEntities" + }, + "property": { + "type": "Identifier", + "start": 19079, + "end": 19080, + "loc": { + "start": { + "line": 408, + "column": 40 + }, + "end": { + "line": 408, + "column": 41 + }, + "identifierName": "j" + }, + "name": "j" + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 19095, + "end": 19130, + "loc": { + "start": { + "line": 409, + "column": 12 }, - "operator": "+", - "right": { - "type": "CallExpression", - "start": 20470, - "end": 20522, + "end": { + "line": 409, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19101, + "end": 19129, "loc": { "start": { - "line": 402, - "column": 27 + "line": 409, + "column": 18 }, "end": { - "line": 402, - "column": 79 + "line": 409, + "column": 46 } }, - "callee": { + "id": { + "type": "Identifier", + "start": 19101, + "end": 19113, + "loc": { + "start": { + "line": 409, + "column": 18 + }, + "end": { + "line": 409, + "column": 30 + }, + "identifierName": "entityMeshes" + }, + "name": "entityMeshes" + }, + "init": { "type": "MemberExpression", - "start": 20470, - "end": 20518, + "start": 19116, + "end": 19129, "loc": { "start": { - "line": 402, - "column": 27 + "line": 409, + "column": 33 }, "end": { - "line": 402, - "column": 75 + "line": 409, + "column": 46 } }, "object": { - "type": "BinaryExpression", - "start": 20471, - "end": 20510, + "type": "Identifier", + "start": 19116, + "end": 19122, "loc": { "start": { - "line": 402, - "column": 28 + "line": 409, + "column": 33 }, "end": { - "line": 402, - "column": 67 - } + "line": 409, + "column": 39 + }, + "identifierName": "entity" }, - "left": { - "type": "StringLiteral", - "start": 20471, - "end": 20477, - "loc": { - "start": { - "line": 402, - "column": 28 - }, - "end": { - "line": 402, - "column": 34 - } + "name": "entity" + }, + "property": { + "type": "Identifier", + "start": 19123, + "end": 19129, + "loc": { + "start": { + "line": 409, + "column": 40 }, - "extra": { - "rawValue": "0000", - "raw": "\"0000\"" + "end": { + "line": 409, + "column": 46 }, - "value": "0000" + "identifierName": "meshes" }, - "operator": "+", - "right": { - "type": "CallExpression", - "start": 20480, - "end": 20510, + "name": "meshes" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 19143, + "end": 19187, + "loc": { + "start": { + "line": 410, + "column": 12 + }, + "end": { + "line": 410, + "column": 56 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19149, + "end": 19186, + "loc": { + "start": { + "line": 410, + "column": 18 + }, + "end": { + "line": 410, + "column": 55 + } + }, + "id": { + "type": "Identifier", + "start": 19149, + "end": 19164, + "loc": { + "start": { + "line": 410, + "column": 18 + }, + "end": { + "line": 410, + "column": 33 + }, + "identifierName": "numEntityMeshes" + }, + "name": "numEntityMeshes" + }, + "init": { + "type": "MemberExpression", + "start": 19167, + "end": 19186, + "loc": { + "start": { + "line": 410, + "column": 36 + }, + "end": { + "line": 410, + "column": 55 + } + }, + "object": { + "type": "Identifier", + "start": 19167, + "end": 19179, + "loc": { + "start": { + "line": 410, + "column": 36 + }, + "end": { + "line": 410, + "column": 48 + }, + "identifierName": "entityMeshes" + }, + "name": "entityMeshes" + }, + "property": { + "type": "Identifier", + "start": 19180, + "end": 19186, + "loc": { + "start": { + "line": 410, + "column": 49 + }, + "end": { + "line": 410, + "column": 55 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ForStatement", + "start": 19201, + "end": 20608, + "loc": { + "start": { + "line": 412, + "column": 12 + }, + "end": { + "line": 436, + "column": 13 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 19206, + "end": 19215, + "loc": { + "start": { + "line": 412, + "column": 17 + }, + "end": { + "line": 412, + "column": 26 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19210, + "end": 19215, + "loc": { + "start": { + "line": 412, + "column": 21 + }, + "end": { + "line": 412, + "column": 26 + } + }, + "id": { + "type": "Identifier", + "start": 19210, + "end": 19211, + "loc": { + "start": { + "line": 412, + "column": 21 + }, + "end": { + "line": 412, + "column": 22 + }, + "identifierName": "k" + }, + "name": "k" + }, + "init": { + "type": "NumericLiteral", + "start": 19214, + "end": 19215, + "loc": { + "start": { + "line": 412, + "column": 25 + }, + "end": { + "line": 412, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 19217, + "end": 19236, + "loc": { + "start": { + "line": 412, + "column": 28 + }, + "end": { + "line": 412, + "column": 47 + } + }, + "left": { + "type": "Identifier", + "start": 19217, + "end": 19218, + "loc": { + "start": { + "line": 412, + "column": 28 + }, + "end": { + "line": 412, + "column": 29 + }, + "identifierName": "k" + }, + "name": "k" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 19221, + "end": 19236, + "loc": { + "start": { + "line": 412, + "column": 32 + }, + "end": { + "line": 412, + "column": 47 + }, + "identifierName": "numEntityMeshes" + }, + "name": "numEntityMeshes" + } + }, + "update": { + "type": "UpdateExpression", + "start": 19238, + "end": 19241, + "loc": { + "start": { + "line": 412, + "column": 49 + }, + "end": { + "line": 412, + "column": 52 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 19238, + "end": 19239, + "loc": { + "start": { + "line": 412, + "column": 49 + }, + "end": { + "line": 412, + "column": 50 + }, + "identifierName": "k" + }, + "name": "k" + } + }, + "body": { + "type": "BlockStatement", + "start": 19243, + "end": 20608, + "loc": { + "start": { + "line": 412, + "column": 54 + }, + "end": { + "line": 436, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 19262, + "end": 19291, + "loc": { + "start": { + "line": 414, + "column": 16 + }, + "end": { + "line": 414, + "column": 45 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19268, + "end": 19290, "loc": { "start": { - "line": 402, - "column": 37 + "line": 414, + "column": 22 }, "end": { - "line": 402, - "column": 67 + "line": 414, + "column": 44 } }, - "callee": { + "id": { + "type": "Identifier", + "start": 19268, + "end": 19272, + "loc": { + "start": { + "line": 414, + "column": 22 + }, + "end": { + "line": 414, + "column": 26 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "init": { "type": "MemberExpression", - "start": 20480, - "end": 20506, + "start": 19275, + "end": 19290, "loc": { "start": { - "line": 402, - "column": 37 + "line": 414, + "column": 29 }, "end": { - "line": 402, - "column": 63 + "line": 414, + "column": 44 } }, "object": { - "type": "CallExpression", - "start": 20480, - "end": 20497, + "type": "Identifier", + "start": 19275, + "end": 19287, "loc": { "start": { - "line": 402, - "column": 37 + "line": 414, + "column": 29 }, "end": { - "line": 402, - "column": 54 - } - }, - "callee": { - "type": "MemberExpression", - "start": 20480, - "end": 20494, - "loc": { - "start": { - "line": 402, - "column": 37 - }, - "end": { - "line": 402, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 20480, - "end": 20483, - "loc": { - "start": { - "line": 402, - "column": 37 - }, - "end": { - "line": 402, - "column": 40 - }, - "identifierName": "chr" - }, - "name": "chr" - }, - "property": { - "type": "Identifier", - "start": 20484, - "end": 20494, - "loc": { - "start": { - "line": 402, - "column": 41 - }, - "end": { - "line": 402, - "column": 51 - }, - "identifierName": "charCodeAt" - }, - "name": "charCodeAt" + "line": 414, + "column": 41 }, - "computed": false + "identifierName": "entityMeshes" }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 20495, - "end": 20496, - "loc": { - "start": { - "line": 402, - "column": 52 - }, - "end": { - "line": 402, - "column": 53 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - ] + "name": "entityMeshes" }, "property": { "type": "Identifier", - "start": 20498, - "end": 20506, + "start": 19288, + "end": 19289, "loc": { "start": { - "line": 402, - "column": 55 + "line": 414, + "column": 42 }, "end": { - "line": 402, - "column": 63 + "line": 414, + "column": 43 }, - "identifierName": "toString" + "identifierName": "k" }, - "name": "toString" + "name": "k" }, - "computed": false + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 19308, + "end": 19339, + "loc": { + "start": { + "line": 415, + "column": 16 + }, + "end": { + "line": 415, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19314, + "end": 19338, + "loc": { + "start": { + "line": 415, + "column": 22 + }, + "end": { + "line": 415, + "column": 46 + } }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 20507, - "end": 20509, + "id": { + "type": "Identifier", + "start": 19314, + "end": 19322, + "loc": { + "start": { + "line": 415, + "column": 22 + }, + "end": { + "line": 415, + "column": 30 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "init": { + "type": "MemberExpression", + "start": 19325, + "end": 19338, + "loc": { + "start": { + "line": 415, + "column": 33 + }, + "end": { + "line": 415, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 19325, + "end": 19329, "loc": { "start": { - "line": 402, - "column": 64 + "line": 415, + "column": 33 }, "end": { - "line": 402, - "column": 66 - } + "line": 415, + "column": 37 + }, + "identifierName": "mesh" }, - "extra": { - "rawValue": 16, - "raw": "16" + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 19330, + "end": 19338, + "loc": { + "start": { + "line": 415, + "column": 38 + }, + "end": { + "line": 415, + "column": 46 + }, + "identifierName": "geometry" }, - "value": 16 - } - ] - }, - "extra": { - "parenthesized": true, - "parenStart": 20470 + "name": "geometry" + }, + "computed": false + } } - }, - "property": { - "type": "Identifier", - "start": 20512, - "end": 20518, - "loc": { - "start": { - "line": 402, - "column": 69 - }, - "end": { - "line": 402, - "column": 75 - }, - "identifierName": "substr" - }, - "name": "substr" - }, - "computed": false + ], + "kind": "const" }, - "arguments": [ - { - "type": "UnaryExpression", - "start": 20519, - "end": 20521, - "loc": { - "start": { - "line": 402, - "column": 76 - }, - "end": { - "line": 402, - "column": 78 - } + { + "type": "VariableDeclaration", + "start": 19356, + "end": 19401, + "loc": { + "start": { + "line": 416, + "column": 16 }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 20520, - "end": 20521, + "end": { + "line": 416, + "column": 61 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 19362, + "end": 19400, "loc": { "start": { - "line": 402, - "column": 77 + "line": 416, + "column": 22 }, "end": { - "line": 402, - "column": 78 + "line": 416, + "column": 60 } }, - "extra": { - "rawValue": 4, - "raw": "4" + "id": { + "type": "Identifier", + "start": 19362, + "end": 19375, + "loc": { + "start": { + "line": 416, + "column": 22 + }, + "end": { + "line": 416, + "column": 35 + }, + "identifierName": "geometryIndex" + }, + "name": "geometryIndex" }, - "value": 4 + "init": { + "type": "MemberExpression", + "start": 19378, + "end": 19400, + "loc": { + "start": { + "line": 416, + "column": 38 + }, + "end": { + "line": 416, + "column": 60 + } + }, + "object": { + "type": "Identifier", + "start": 19378, + "end": 19386, + "loc": { + "start": { + "line": 416, + "column": 38 + }, + "end": { + "line": 416, + "column": 46 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "property": { + "type": "Identifier", + "start": 19387, + "end": 19400, + "loc": { + "start": { + "line": 416, + "column": 47 + }, + "end": { + "line": 416, + "column": 60 + }, + "identifierName": "geometryIndex" + }, + "name": "geometryIndex" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 19419, + "end": 19497, + "loc": { + "start": { + "line": 418, + "column": 16 }, - "extra": { - "parenthesizedArgument": false + "end": { + "line": 418, + "column": 94 } - } - ] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Produce only ASCII-chars, so that the data can be inflated later", - "start": 20375, - "end": 20442, - "loc": { - "start": { - "line": 401, - "column": 54 }, - "end": { - "line": 401, - "column": 121 + "expression": { + "type": "AssignmentExpression", + "start": 19419, + "end": 19496, + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 93 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 19419, + "end": 19480, + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 77 + } + }, + "object": { + "type": "MemberExpression", + "start": 19419, + "end": 19449, + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 46 + } + }, + "object": { + "type": "Identifier", + "start": 19419, + "end": 19423, + "loc": { + "start": { + "line": 418, + "column": 16 + }, + "end": { + "line": 418, + "column": 20 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 19424, + "end": 19449, + "loc": { + "start": { + "line": 418, + "column": 21 + }, + "end": { + "line": 418, + "column": 46 + }, + "identifierName": "eachMeshGeometriesPortion" + }, + "name": "eachMeshGeometriesPortion" + }, + "computed": false + }, + "property": { + "type": "BinaryExpression", + "start": 19451, + "end": 19479, + "loc": { + "start": { + "line": 418, + "column": 48 + }, + "end": { + "line": 418, + "column": 76 + } + }, + "left": { + "type": "Identifier", + "start": 19451, + "end": 19475, + "loc": { + "start": { + "line": 418, + "column": 48 + }, + "end": { + "line": 418, + "column": 72 + }, + "identifierName": "countEntityMeshesPortion" + }, + "name": "countEntityMeshesPortion" + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 19478, + "end": 19479, + "loc": { + "start": { + "line": 418, + "column": 75 + }, + "end": { + "line": 418, + "column": 76 + }, + "identifierName": "k" + }, + "name": "k" + } + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 19483, + "end": 19496, + "loc": { + "start": { + "line": 418, + "column": 80 + }, + "end": { + "line": 418, + "column": 93 + }, + "identifierName": "geometryIndex" + }, + "name": "geometryIndex" + } } - } - } - ] - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [] - } - }, - { - "type": "FunctionDeclaration", - "start": 20538, - "end": 21767, - "loc": { - "start": { - "line": 406, - "column": 0 - }, - "end": { - "line": 437, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 20547, - "end": 20564, - "loc": { - "start": { - "line": 406, - "column": 9 - }, - "end": { - "line": 406, - "column": 26 - }, - "identifierName": "createArrayBuffer" - }, - "name": "createArrayBuffer" - }, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 20565, - "end": 20577, - "loc": { - "start": { - "line": 406, - "column": 27 - }, - "end": { - "line": 406, - "column": 39 - }, - "identifierName": "deflatedData" - }, - "name": "deflatedData" - } - ], - "body": { - "type": "BlockStatement", - "start": 20579, - "end": 21767, - "loc": { - "start": { - "line": 406, - "column": 41 - }, - "end": { - "line": 437, - "column": 1 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 20585, - "end": 21765, - "loc": { - "start": { - "line": 407, - "column": 4 - }, - "end": { - "line": 436, - "column": 7 - } - }, - "argument": { - "type": "CallExpression", - "start": 20592, - "end": 21764, - "loc": { - "start": { - "line": 407, - "column": 11 - }, - "end": { - "line": 436, - "column": 6 - } - }, - "callee": { - "type": "Identifier", - "start": 20592, - "end": 20605, - "loc": { - "start": { - "line": 407, - "column": 11 - }, - "end": { - "line": 407, - "column": 24 - }, - "identifierName": "toArrayBuffer" - }, - "name": "toArrayBuffer" - }, - "arguments": [ - { - "type": "ArrayExpression", - "start": 20606, - "end": 21763, - "loc": { - "start": { - "line": 407, - "column": 25 - }, - "end": { - "line": 436, - "column": 5 - } - }, - "elements": [ - { - "type": "MemberExpression", - "start": 20616, - "end": 20637, - "loc": { - "start": { - "line": 408, - "column": 8 - }, - "end": { - "line": 408, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 20616, - "end": 20628, - "loc": { - "start": { - "line": 408, - "column": 8 - }, - "end": { - "line": 408, - "column": 20 - }, - "identifierName": "deflatedData" - }, - "name": "deflatedData" - }, - "property": { - "type": "Identifier", - "start": 20629, - "end": 20637, - "loc": { - "start": { - "line": 408, - "column": 21 - }, - "end": { - "line": 408, - "column": 29 - }, - "identifierName": "metadata" - }, - "name": "metadata" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 20647, - "end": 20671, - "loc": { - "start": { - "line": 409, - "column": 8 - }, - "end": { - "line": 409, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 20647, - "end": 20659, - "loc": { - "start": { - "line": 409, - "column": 8 - }, - "end": { - "line": 409, - "column": 20 - }, - "identifierName": "deflatedData" - }, - "name": "deflatedData" - }, - "property": { - "type": "Identifier", - "start": 20660, - "end": 20671, - "loc": { - "start": { - "line": 409, - "column": 21 - }, - "end": { - "line": 409, - "column": 32 - }, - "identifierName": "textureData" - }, - "name": "textureData" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 20681, - "end": 20716, - "loc": { - "start": { - "line": 410, - "column": 8 - }, - "end": { - "line": 410, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 20681, - "end": 20693, - "loc": { - "start": { - "line": 410, - "column": 8 - }, - "end": { - "line": 410, - "column": 20 - }, - "identifierName": "deflatedData" - }, - "name": "deflatedData" - }, - "property": { - "type": "Identifier", - "start": 20694, - "end": 20716, - "loc": { - "start": { - "line": 410, - "column": 21 - }, - "end": { - "line": 410, - "column": 43 - }, - "identifierName": "eachTextureDataPortion" - }, - "name": "eachTextureDataPortion" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 20726, - "end": 20760, - "loc": { - "start": { - "line": 411, - "column": 8 - }, - "end": { - "line": 411, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 20726, - "end": 20738, - "loc": { - "start": { - "line": 411, - "column": 8 - }, - "end": { - "line": 411, - "column": 20 - }, - "identifierName": "deflatedData" - }, - "name": "deflatedData" - }, - "property": { - "type": "Identifier", - "start": 20739, - "end": 20760, - "loc": { - "start": { - "line": 411, - "column": 21 - }, - "end": { - "line": 411, - "column": 42 - }, - "identifierName": "eachTextureAttributes" - }, - "name": "eachTextureAttributes" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 20770, - "end": 20792, - "loc": { - "start": { - "line": 412, - "column": 8 - }, - "end": { - "line": 412, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 20770, - "end": 20782, - "loc": { - "start": { - "line": 412, - "column": 8 - }, - "end": { - "line": 412, - "column": 20 - }, - "identifierName": "deflatedData" - }, - "name": "deflatedData" - }, - "property": { - "type": "Identifier", - "start": 20783, - "end": 20792, - "loc": { - "start": { - "line": 412, - "column": 21 - }, - "end": { - "line": 412, - "column": 30 - }, - "identifierName": "positions" - }, - "name": "positions" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 20802, - "end": 20822, - "loc": { - "start": { - "line": 413, - "column": 8 - }, - "end": { - "line": 413, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 20802, - "end": 20814, - "loc": { - "start": { - "line": 413, - "column": 8 - }, + }, + { + "type": "IfStatement", + "start": 19515, + "end": 19756, + "loc": { + "start": { + "line": 420, + "column": 16 + }, + "end": { + "line": 424, + "column": 17 + } + }, + "test": { + "type": "BinaryExpression", + "start": 19519, + "end": 19549, + "loc": { + "start": { + "line": 420, + "column": 20 + }, + "end": { + "line": 420, + "column": 50 + } + }, + "left": { + "type": "MemberExpression", + "start": 19519, + "end": 19545, + "loc": { + "start": { + "line": 420, + "column": 20 + }, + "end": { + "line": 420, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 19519, + "end": 19532, + "loc": { + "start": { + "line": 420, + "column": 20 + }, + "end": { + "line": 420, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 19519, + "end": 19523, + "loc": { + "start": { + "line": 420, + "column": 20 + }, + "end": { + "line": 420, + "column": 24 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 19524, + "end": 19532, + "loc": { + "start": { + "line": 420, + "column": 25 + }, + "end": { + "line": 420, + "column": 33 + }, + "identifierName": "geometry" + }, + "name": "geometry" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19533, + "end": 19545, + "loc": { + "start": { + "line": 420, + "column": 34 + }, + "end": { + "line": 420, + "column": 46 + }, + "identifierName": "numInstances" + }, + "name": "numInstances" + }, + "computed": false + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 19548, + "end": 19549, + "loc": { + "start": { + "line": 420, + "column": 49 + }, + "end": { + "line": 420, + "column": 50 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 19551, + "end": 19756, + "loc": { + "start": { + "line": 420, + "column": 52 + }, + "end": { + "line": 424, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19573, + "end": 19619, + "loc": { + "start": { + "line": 421, + "column": 20 + }, + "end": { + "line": 421, + "column": 66 + } + }, + "expression": { + "type": "CallExpression", + "start": 19573, + "end": 19618, + "loc": { + "start": { + "line": 421, + "column": 20 + }, + "end": { + "line": 421, + "column": 65 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19573, + "end": 19590, + "loc": { + "start": { + "line": 421, + "column": 20 + }, + "end": { + "line": 421, + "column": 37 + } + }, + "object": { + "type": "MemberExpression", + "start": 19573, + "end": 19586, + "loc": { + "start": { + "line": 421, + "column": 20 + }, + "end": { + "line": 421, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 19573, + "end": 19577, + "loc": { + "start": { + "line": 421, + "column": 20 + }, + "end": { + "line": 421, + "column": 24 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 19578, + "end": 19586, + "loc": { + "start": { + "line": 421, + "column": 25 + }, + "end": { + "line": 421, + "column": 33 + }, + "identifierName": "matrices" + }, + "name": "matrices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19587, + "end": 19590, + "loc": { + "start": { + "line": 421, + "column": 34 + }, + "end": { + "line": 421, + "column": 37 + }, + "identifierName": "set" + }, + "name": "set" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 19591, + "end": 19602, + "loc": { + "start": { + "line": 421, + "column": 38 + }, + "end": { + "line": 421, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 19591, + "end": 19595, + "loc": { + "start": { + "line": 421, + "column": 38 + }, + "end": { + "line": 421, + "column": 42 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 19596, + "end": 19602, + "loc": { + "start": { + "line": 421, + "column": 43 + }, + "end": { + "line": 421, + "column": 49 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 19604, + "end": 19617, + "loc": { + "start": { + "line": 421, + "column": 51 + }, + "end": { + "line": 421, + "column": 64 + }, + "identifierName": "matricesIndex" + }, + "name": "matricesIndex" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 19640, + "end": 19697, + "loc": { + "start": { + "line": 422, + "column": 20 + }, + "end": { + "line": 422, + "column": 77 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19640, + "end": 19696, + "loc": { + "start": { + "line": 422, + "column": 20 + }, + "end": { + "line": 422, + "column": 76 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 19640, + "end": 19680, + "loc": { + "start": { + "line": 422, + "column": 20 + }, + "end": { + "line": 422, + "column": 60 + } + }, + "object": { + "type": "MemberExpression", + "start": 19640, + "end": 19668, + "loc": { + "start": { + "line": 422, + "column": 20 + }, + "end": { + "line": 422, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 19640, + "end": 19644, + "loc": { + "start": { + "line": 422, + "column": 20 + }, + "end": { + "line": 422, + "column": 24 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 19645, + "end": 19668, + "loc": { + "start": { + "line": 422, + "column": 25 + }, + "end": { + "line": 422, + "column": 48 + }, + "identifierName": "eachMeshMatricesPortion" + }, + "name": "eachMeshMatricesPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19670, + "end": 19679, + "loc": { + "start": { + "line": 422, + "column": 50 + }, + "end": { + "line": 422, + "column": 59 + }, + "identifierName": "meshIndex" + }, + "name": "meshIndex" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 19683, + "end": 19696, + "loc": { + "start": { + "line": 422, + "column": 63 + }, + "end": { + "line": 422, + "column": 76 + }, + "identifierName": "matricesIndex" + }, + "name": "matricesIndex" + } + } + }, + { + "type": "ExpressionStatement", + "start": 19718, + "end": 19738, + "loc": { + "start": { + "line": 423, + "column": 20 + }, + "end": { + "line": 423, + "column": 40 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19718, + "end": 19737, + "loc": { + "start": { + "line": 423, + "column": 20 + }, + "end": { + "line": 423, + "column": 39 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 19718, + "end": 19731, + "loc": { + "start": { + "line": 423, + "column": 20 + }, + "end": { + "line": 423, + "column": 33 + }, + "identifierName": "matricesIndex" + }, + "name": "matricesIndex" + }, + "right": { + "type": "NumericLiteral", + "start": 19735, + "end": 19737, + "loc": { + "start": { + "line": 423, + "column": 37 + }, + "end": { + "line": 423, + "column": 39 + } + }, + "extra": { + "rawValue": 16, + "raw": "16" + }, + "value": 16 + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 19774, + "end": 19866, + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 108 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19774, + "end": 19865, + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 107 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 19774, + "end": 19808, + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 19774, + "end": 19797, + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 19774, + "end": 19778, + "loc": { + "start": { + "line": 426, + "column": 16 + }, + "end": { + "line": 426, + "column": 20 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 19779, + "end": 19797, + "loc": { + "start": { + "line": 426, + "column": 21 + }, + "end": { + "line": 426, + "column": 39 + }, + "identifierName": "eachMeshTextureSet" + }, + "name": "eachMeshTextureSet" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19798, + "end": 19807, + "loc": { + "start": { + "line": 426, + "column": 40 + }, + "end": { + "line": 426, + "column": 49 + }, + "identifierName": "meshIndex" + }, + "name": "meshIndex" + }, + "computed": true + }, + "right": { + "type": "ConditionalExpression", + "start": 19811, + "end": 19865, + "loc": { + "start": { + "line": 426, + "column": 53 + }, + "end": { + "line": 426, + "column": 107 + } + }, + "test": { + "type": "MemberExpression", + "start": 19811, + "end": 19826, + "loc": { + "start": { + "line": 426, + "column": 53 + }, + "end": { + "line": 426, + "column": 68 + } + }, + "object": { + "type": "Identifier", + "start": 19811, + "end": 19815, + "loc": { + "start": { + "line": 426, + "column": 53 + }, + "end": { + "line": 426, + "column": 57 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 19816, + "end": 19826, + "loc": { + "start": { + "line": 426, + "column": 58 + }, + "end": { + "line": 426, + "column": 68 + }, + "identifierName": "textureSet" + }, + "name": "textureSet" + }, + "computed": false + }, + "consequent": { + "type": "MemberExpression", + "start": 19829, + "end": 19860, + "loc": { + "start": { + "line": 426, + "column": 71 + }, + "end": { + "line": 426, + "column": 102 + } + }, + "object": { + "type": "MemberExpression", + "start": 19829, + "end": 19844, + "loc": { + "start": { + "line": 426, + "column": 71 + }, + "end": { + "line": 426, + "column": 86 + } + }, + "object": { + "type": "Identifier", + "start": 19829, + "end": 19833, + "loc": { + "start": { + "line": 426, + "column": 71 + }, + "end": { + "line": 426, + "column": 75 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 19834, + "end": 19844, + "loc": { + "start": { + "line": 426, + "column": 76 + }, + "end": { + "line": 426, + "column": 86 + }, + "identifierName": "textureSet" + }, + "name": "textureSet" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 19845, + "end": 19860, + "loc": { + "start": { + "line": 426, + "column": 87 + }, + "end": { + "line": 426, + "column": 102 + }, + "identifierName": "textureSetIndex" + }, + "name": "textureSetIndex" + }, + "computed": false + }, + "alternate": { + "type": "UnaryExpression", + "start": 19863, + "end": 19865, + "loc": { + "start": { + "line": 426, + "column": 105 + }, + "end": { + "line": 426, + "column": 107 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 19864, + "end": 19865, + "loc": { + "start": { + "line": 426, + "column": 106 + }, + "end": { + "line": 426, + "column": 107 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 19884, + "end": 19975, + "loc": { + "start": { + "line": 428, + "column": 16 + }, + "end": { + "line": 428, + "column": 107 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19884, + "end": 19974, + "loc": { + "start": { + "line": 428, + "column": 16 + }, + "end": { + "line": 428, + "column": 106 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 19884, + "end": 19950, + "loc": { + "start": { + "line": 428, + "column": 16 + }, + "end": { + "line": 428, + "column": 82 + } + }, + "object": { + "type": "MemberExpression", + "start": 19884, + "end": 19915, + "loc": { + "start": { + "line": 428, + "column": 16 + }, + "end": { + "line": 428, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 19884, + "end": 19888, + "loc": { + "start": { + "line": 428, + "column": 16 + }, + "end": { + "line": 428, + "column": 20 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 19889, + "end": 19915, + "loc": { + "start": { + "line": 428, + "column": 21 + }, + "end": { + "line": 428, + "column": 47 + }, + "identifierName": "eachMeshMaterialAttributes" + }, + "name": "eachMeshMaterialAttributes" + }, + "computed": false + }, + "property": { + "type": "UpdateExpression", + "start": 19916, + "end": 19949, + "loc": { + "start": { + "line": 428, + "column": 48 + }, + "end": { + "line": 428, + "column": 81 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 19916, + "end": 19947, + "loc": { + "start": { + "line": 428, + "column": 48 + }, + "end": { + "line": 428, + "column": 79 + }, + "identifierName": "eachMeshMaterialAttributesIndex" + }, + "name": "eachMeshMaterialAttributesIndex" + } + }, + "computed": true + }, + "right": { + "type": "BinaryExpression", + "start": 19954, + "end": 19973, + "loc": { + "start": { + "line": 428, + "column": 86 + }, + "end": { + "line": 428, + "column": 105 + } + }, + "left": { + "type": "MemberExpression", + "start": 19954, + "end": 19967, + "loc": { + "start": { + "line": 428, + "column": 86 + }, + "end": { + "line": 428, + "column": 99 + } + }, + "object": { + "type": "MemberExpression", + "start": 19954, + "end": 19964, + "loc": { + "start": { + "line": 428, + "column": 86 + }, + "end": { + "line": 428, + "column": 96 + } + }, + "object": { + "type": "Identifier", + "start": 19954, + "end": 19958, + "loc": { + "start": { + "line": 428, + "column": 86 + }, + "end": { + "line": 428, + "column": 90 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 19959, + "end": 19964, + "loc": { + "start": { + "line": 428, + "column": 91 + }, + "end": { + "line": 428, + "column": 96 + }, + "identifierName": "color" + }, + "name": "color" + }, + "computed": false + }, + "property": { + "type": "NumericLiteral", + "start": 19965, + "end": 19966, + "loc": { + "start": { + "line": 428, + "column": 97 + }, + "end": { + "line": 428, + "column": 98 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 19970, + "end": 19973, + "loc": { + "start": { + "line": 428, + "column": 102 + }, + "end": { + "line": 428, + "column": 105 + } + }, + "extra": { + "rawValue": 255, + "raw": "255" + }, + "value": 255 + }, + "extra": { + "parenthesized": true, + "parenStart": 19953 + } + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Color RGB", + "start": 19976, + "end": 19988, + "loc": { + "start": { + "line": 428, + "column": 108 + }, + "end": { + "line": 428, + "column": 120 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20005, + "end": 20096, + "loc": { + "start": { + "line": 429, + "column": 16 + }, + "end": { + "line": 429, + "column": 107 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20005, + "end": 20095, + "loc": { + "start": { + "line": 429, + "column": 16 + }, + "end": { + "line": 429, + "column": 106 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20005, + "end": 20071, + "loc": { + "start": { + "line": 429, + "column": 16 + }, + "end": { + "line": 429, + "column": 82 + } + }, + "object": { + "type": "MemberExpression", + "start": 20005, + "end": 20036, + "loc": { + "start": { + "line": 429, + "column": 16 + }, + "end": { + "line": 429, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 20005, + "end": 20009, + "loc": { + "start": { + "line": 429, + "column": 16 + }, + "end": { + "line": 429, + "column": 20 + }, + "identifierName": "data" + }, + "name": "data", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20010, + "end": 20036, + "loc": { + "start": { + "line": 429, + "column": 21 + }, + "end": { + "line": 429, + "column": 47 + }, + "identifierName": "eachMeshMaterialAttributes" + }, + "name": "eachMeshMaterialAttributes" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "UpdateExpression", + "start": 20037, + "end": 20070, + "loc": { + "start": { + "line": 429, + "column": 48 + }, + "end": { + "line": 429, + "column": 81 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 20037, + "end": 20068, + "loc": { + "start": { + "line": 429, + "column": 48 + }, + "end": { + "line": 429, + "column": 79 + }, + "identifierName": "eachMeshMaterialAttributesIndex" + }, + "name": "eachMeshMaterialAttributesIndex" + } + }, + "computed": true, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 20075, + "end": 20094, + "loc": { + "start": { + "line": 429, + "column": 86 + }, + "end": { + "line": 429, + "column": 105 + } + }, + "left": { + "type": "MemberExpression", + "start": 20075, + "end": 20088, + "loc": { + "start": { + "line": 429, + "column": 86 + }, + "end": { + "line": 429, + "column": 99 + } + }, + "object": { + "type": "MemberExpression", + "start": 20075, + "end": 20085, + "loc": { + "start": { + "line": 429, + "column": 86 + }, + "end": { + "line": 429, + "column": 96 + } + }, + "object": { + "type": "Identifier", + "start": 20075, + "end": 20079, + "loc": { + "start": { + "line": 429, + "column": 86 + }, + "end": { + "line": 429, + "column": 90 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 20080, + "end": 20085, + "loc": { + "start": { + "line": 429, + "column": 91 + }, + "end": { + "line": 429, + "column": 96 + }, + "identifierName": "color" + }, + "name": "color" + }, + "computed": false + }, + "property": { + "type": "NumericLiteral", + "start": 20086, + "end": 20087, + "loc": { + "start": { + "line": 429, + "column": 97 + }, + "end": { + "line": 429, + "column": 98 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 20091, + "end": 20094, + "loc": { + "start": { + "line": 429, + "column": 102 + }, + "end": { + "line": 429, + "column": 105 + } + }, + "extra": { + "rawValue": 255, + "raw": "255" + }, + "value": 255 + }, + "extra": { + "parenthesized": true, + "parenStart": 20074 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Color RGB", + "start": 19976, + "end": 19988, + "loc": { + "start": { + "line": 428, + "column": 108 + }, + "end": { + "line": 428, + "column": 120 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20113, + "end": 20204, + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 107 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20113, + "end": 20203, + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 106 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20113, + "end": 20179, + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 82 + } + }, + "object": { + "type": "MemberExpression", + "start": 20113, + "end": 20144, + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 20113, + "end": 20117, + "loc": { + "start": { + "line": 430, + "column": 16 + }, + "end": { + "line": 430, + "column": 20 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 20118, + "end": 20144, + "loc": { + "start": { + "line": 430, + "column": 21 + }, + "end": { + "line": 430, + "column": 47 + }, + "identifierName": "eachMeshMaterialAttributes" + }, + "name": "eachMeshMaterialAttributes" + }, + "computed": false + }, + "property": { + "type": "UpdateExpression", + "start": 20145, + "end": 20178, + "loc": { + "start": { + "line": 430, + "column": 48 + }, + "end": { + "line": 430, + "column": 81 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 20145, + "end": 20176, + "loc": { + "start": { + "line": 430, + "column": 48 + }, + "end": { + "line": 430, + "column": 79 + }, + "identifierName": "eachMeshMaterialAttributesIndex" + }, + "name": "eachMeshMaterialAttributesIndex" + } + }, + "computed": true + }, + "right": { + "type": "BinaryExpression", + "start": 20183, + "end": 20202, + "loc": { + "start": { + "line": 430, + "column": 86 + }, + "end": { + "line": 430, + "column": 105 + } + }, + "left": { + "type": "MemberExpression", + "start": 20183, + "end": 20196, + "loc": { + "start": { + "line": 430, + "column": 86 + }, + "end": { + "line": 430, + "column": 99 + } + }, + "object": { + "type": "MemberExpression", + "start": 20183, + "end": 20193, + "loc": { + "start": { + "line": 430, + "column": 86 + }, + "end": { + "line": 430, + "column": 96 + } + }, + "object": { + "type": "Identifier", + "start": 20183, + "end": 20187, + "loc": { + "start": { + "line": 430, + "column": 86 + }, + "end": { + "line": 430, + "column": 90 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 20188, + "end": 20193, + "loc": { + "start": { + "line": 430, + "column": 91 + }, + "end": { + "line": 430, + "column": 96 + }, + "identifierName": "color" + }, + "name": "color" + }, + "computed": false + }, + "property": { + "type": "NumericLiteral", + "start": 20194, + "end": 20195, + "loc": { + "start": { + "line": 430, + "column": 97 + }, + "end": { + "line": 430, + "column": 98 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + }, + "computed": true + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 20199, + "end": 20202, + "loc": { + "start": { + "line": 430, + "column": 102 + }, + "end": { + "line": 430, + "column": 105 + } + }, + "extra": { + "rawValue": 255, + "raw": "255" + }, + "value": 255 + }, + "extra": { + "parenthesized": true, + "parenStart": 20182 + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 20221, + "end": 20311, + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 106 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20221, + "end": 20310, + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 105 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20221, + "end": 20287, + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 82 + } + }, + "object": { + "type": "MemberExpression", + "start": 20221, + "end": 20252, + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 20221, + "end": 20225, + "loc": { + "start": { + "line": 431, + "column": 16 + }, + "end": { + "line": 431, + "column": 20 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 20226, + "end": 20252, + "loc": { + "start": { + "line": 431, + "column": 21 + }, + "end": { + "line": 431, + "column": 47 + }, + "identifierName": "eachMeshMaterialAttributes" + }, + "name": "eachMeshMaterialAttributes" + }, + "computed": false + }, + "property": { + "type": "UpdateExpression", + "start": 20253, + "end": 20286, + "loc": { + "start": { + "line": 431, + "column": 48 + }, + "end": { + "line": 431, + "column": 81 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 20253, + "end": 20284, + "loc": { + "start": { + "line": 431, + "column": 48 + }, + "end": { + "line": 431, + "column": 79 + }, + "identifierName": "eachMeshMaterialAttributesIndex" + }, + "name": "eachMeshMaterialAttributesIndex" + } + }, + "computed": true + }, + "right": { + "type": "BinaryExpression", + "start": 20291, + "end": 20309, + "loc": { + "start": { + "line": 431, + "column": 86 + }, + "end": { + "line": 431, + "column": 104 + } + }, + "left": { + "type": "MemberExpression", + "start": 20291, + "end": 20303, + "loc": { + "start": { + "line": 431, + "column": 86 + }, + "end": { + "line": 431, + "column": 98 + } + }, + "object": { + "type": "Identifier", + "start": 20291, + "end": 20295, + "loc": { + "start": { + "line": 431, + "column": 86 + }, + "end": { + "line": 431, + "column": 90 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 20296, + "end": 20303, + "loc": { + "start": { + "line": 431, + "column": 91 + }, + "end": { + "line": 431, + "column": 98 + }, + "identifierName": "opacity" + }, + "name": "opacity" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 20306, + "end": 20309, + "loc": { + "start": { + "line": 431, + "column": 101 + }, + "end": { + "line": 431, + "column": 104 + } + }, + "extra": { + "rawValue": 255, + "raw": "255" + }, + "value": 255 + }, + "extra": { + "parenthesized": true, + "parenStart": 20290 + } + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " Opacity", + "start": 20312, + "end": 20322, + "loc": { + "start": { + "line": 431, + "column": 107 + }, + "end": { + "line": 431, + "column": 117 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20339, + "end": 20430, + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 107 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20339, + "end": 20429, + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 106 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20339, + "end": 20405, + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 82 + } + }, + "object": { + "type": "MemberExpression", + "start": 20339, + "end": 20370, + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 20339, + "end": 20343, + "loc": { + "start": { + "line": 432, + "column": 16 + }, + "end": { + "line": 432, + "column": 20 + }, + "identifierName": "data" + }, + "name": "data", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20344, + "end": 20370, + "loc": { + "start": { + "line": 432, + "column": 21 + }, + "end": { + "line": 432, + "column": 47 + }, + "identifierName": "eachMeshMaterialAttributes" + }, + "name": "eachMeshMaterialAttributes" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "UpdateExpression", + "start": 20371, + "end": 20404, + "loc": { + "start": { + "line": 432, + "column": 48 + }, + "end": { + "line": 432, + "column": 81 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 20371, + "end": 20402, + "loc": { + "start": { + "line": 432, + "column": 48 + }, + "end": { + "line": 432, + "column": 79 + }, + "identifierName": "eachMeshMaterialAttributesIndex" + }, + "name": "eachMeshMaterialAttributesIndex" + } + }, + "computed": true, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 20409, + "end": 20428, + "loc": { + "start": { + "line": 432, + "column": 86 + }, + "end": { + "line": 432, + "column": 105 + } + }, + "left": { + "type": "MemberExpression", + "start": 20409, + "end": 20422, + "loc": { + "start": { + "line": 432, + "column": 86 + }, + "end": { + "line": 432, + "column": 99 + } + }, + "object": { + "type": "Identifier", + "start": 20409, + "end": 20413, + "loc": { + "start": { + "line": 432, + "column": 86 + }, + "end": { + "line": 432, + "column": 90 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 20414, + "end": 20422, + "loc": { + "start": { + "line": 432, + "column": 91 + }, + "end": { + "line": 432, + "column": 99 + }, + "identifierName": "metallic" + }, + "name": "metallic" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 20425, + "end": 20428, + "loc": { + "start": { + "line": 432, + "column": 102 + }, + "end": { + "line": 432, + "column": 105 + } + }, + "extra": { + "rawValue": 255, + "raw": "255" + }, + "value": 255 + }, + "extra": { + "parenthesized": true, + "parenStart": 20408 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Opacity", + "start": 20312, + "end": 20322, + "loc": { + "start": { + "line": 431, + "column": 107 + }, + "end": { + "line": 431, + "column": 117 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Metallic", + "start": 20431, + "end": 20442, + "loc": { + "start": { + "line": 432, + "column": 108 + }, + "end": { + "line": 432, + "column": 119 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20459, + "end": 20551, + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 108 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20459, + "end": 20550, + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 107 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20459, + "end": 20525, + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 82 + } + }, + "object": { + "type": "MemberExpression", + "start": 20459, + "end": 20490, + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 20459, + "end": 20463, + "loc": { + "start": { + "line": 433, + "column": 16 + }, + "end": { + "line": 433, + "column": 20 + }, + "identifierName": "data" + }, + "name": "data", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20464, + "end": 20490, + "loc": { + "start": { + "line": 433, + "column": 21 + }, + "end": { + "line": 433, + "column": 47 + }, + "identifierName": "eachMeshMaterialAttributes" + }, + "name": "eachMeshMaterialAttributes" + }, + "computed": false, + "leadingComments": null + }, + "property": { + "type": "UpdateExpression", + "start": 20491, + "end": 20524, + "loc": { + "start": { + "line": 433, + "column": 48 + }, + "end": { + "line": 433, + "column": 81 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 20491, + "end": 20522, + "loc": { + "start": { + "line": 433, + "column": 48 + }, + "end": { + "line": 433, + "column": 79 + }, + "identifierName": "eachMeshMaterialAttributesIndex" + }, + "name": "eachMeshMaterialAttributesIndex" + } + }, + "computed": true, + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 20529, + "end": 20549, + "loc": { + "start": { + "line": 433, + "column": 86 + }, + "end": { + "line": 433, + "column": 106 + } + }, + "left": { + "type": "MemberExpression", + "start": 20529, + "end": 20543, + "loc": { + "start": { + "line": 433, + "column": 86 + }, + "end": { + "line": 433, + "column": 100 + } + }, + "object": { + "type": "Identifier", + "start": 20529, + "end": 20533, + "loc": { + "start": { + "line": 433, + "column": 86 + }, + "end": { + "line": 433, + "column": 90 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 20534, + "end": 20543, + "loc": { + "start": { + "line": 433, + "column": 91 + }, + "end": { + "line": 433, + "column": 100 + }, + "identifierName": "roughness" + }, + "name": "roughness" + }, + "computed": false + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 20546, + "end": 20549, + "loc": { + "start": { + "line": 433, + "column": 103 + }, + "end": { + "line": 433, + "column": 106 + } + }, + "extra": { + "rawValue": 255, + "raw": "255" + }, + "value": 255 + }, + "extra": { + "parenthesized": true, + "parenStart": 20528 + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Metallic", + "start": 20431, + "end": 20442, + "loc": { + "start": { + "line": 432, + "column": 108 + }, + "end": { + "line": 432, + "column": 119 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " Roughness", + "start": 20552, + "end": 20564, + "loc": { + "start": { + "line": 433, + "column": 109 + }, + "end": { + "line": 433, + "column": 121 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20582, + "end": 20594, + "loc": { + "start": { + "line": 435, + "column": 16 + }, + "end": { + "line": 435, + "column": 28 + } + }, + "expression": { + "type": "UpdateExpression", + "start": 20582, + "end": 20593, + "loc": { + "start": { + "line": 435, + "column": 16 + }, + "end": { + "line": 435, + "column": 27 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 20582, + "end": 20591, + "loc": { + "start": { + "line": 435, + "column": 16 + }, + "end": { + "line": 435, + "column": 25 + }, + "identifierName": "meshIndex" + }, + "name": "meshIndex", + "leadingComments": null + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Roughness", + "start": 20552, + "end": 20564, + "loc": { + "start": { + "line": 433, + "column": 109 + }, + "end": { + "line": 433, + "column": 121 + } + } + } + ] + } + ], + "directives": [] + } + }, + { + "type": "ExpressionStatement", + "start": 20622, + "end": 20672, + "loc": { + "start": { + "line": 438, + "column": 12 + }, + "end": { + "line": 438, + "column": 62 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20622, + "end": 20671, + "loc": { + "start": { + "line": 438, + "column": 12 + }, + "end": { + "line": 438, + "column": 61 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20622, + "end": 20653, + "loc": { + "start": { + "line": 438, + "column": 12 + }, + "end": { + "line": 438, + "column": 43 + } + }, + "object": { + "type": "MemberExpression", + "start": 20622, + "end": 20639, + "loc": { + "start": { + "line": 438, + "column": 12 + }, + "end": { + "line": 438, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 20622, + "end": 20626, + "loc": { + "start": { + "line": 438, + "column": 12 + }, + "end": { + "line": 438, + "column": 16 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 20627, + "end": 20639, + "loc": { + "start": { + "line": 438, + "column": 17 + }, + "end": { + "line": 438, + "column": 29 + }, + "identifierName": "eachEntityId" + }, + "name": "eachEntityId" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 20641, + "end": 20652, + "loc": { + "start": { + "line": 438, + "column": 31 + }, + "end": { + "line": 438, + "column": 42 + }, + "identifierName": "entityIndex" + }, + "name": "entityIndex" + }, + "computed": true + }, + "right": { + "type": "MemberExpression", + "start": 20656, + "end": 20671, + "loc": { + "start": { + "line": 438, + "column": 46 + }, + "end": { + "line": 438, + "column": 61 + } + }, + "object": { + "type": "Identifier", + "start": 20656, + "end": 20662, + "loc": { + "start": { + "line": 438, + "column": 46 + }, + "end": { + "line": 438, + "column": 52 + }, + "identifierName": "entity" + }, + "name": "entity" + }, + "property": { + "type": "Identifier", + "start": 20663, + "end": 20671, + "loc": { + "start": { + "line": 438, + "column": 53 + }, + "end": { + "line": 438, + "column": 61 + }, + "identifierName": "entityId" + }, + "name": "entityId" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 20685, + "end": 20754, + "loc": { + "start": { + "line": 439, + "column": 12 + }, + "end": { + "line": 439, + "column": 81 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20685, + "end": 20753, + "loc": { + "start": { + "line": 439, + "column": 12 + }, + "end": { + "line": 439, + "column": 80 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20685, + "end": 20726, + "loc": { + "start": { + "line": 439, + "column": 12 + }, + "end": { + "line": 439, + "column": 53 + } + }, + "object": { + "type": "MemberExpression", + "start": 20685, + "end": 20713, + "loc": { + "start": { + "line": 439, + "column": 12 + }, + "end": { + "line": 439, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 20685, + "end": 20689, + "loc": { + "start": { + "line": 439, + "column": 12 + }, + "end": { + "line": 439, + "column": 16 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 20690, + "end": 20713, + "loc": { + "start": { + "line": 439, + "column": 17 + }, + "end": { + "line": 439, + "column": 40 + }, + "identifierName": "eachEntityMeshesPortion" + }, + "name": "eachEntityMeshesPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 20714, + "end": 20725, + "loc": { + "start": { + "line": 439, + "column": 41 + }, + "end": { + "line": 439, + "column": 52 + }, + "identifierName": "entityIndex" + }, + "name": "entityIndex" + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 20729, + "end": 20753, + "loc": { + "start": { + "line": 439, + "column": 56 + }, + "end": { + "line": 439, + "column": 80 + }, + "identifierName": "countEntityMeshesPortion" + }, + "name": "countEntityMeshesPortion" + } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " <<<<<<<<<<<<<<<<<<<< Error here? Order/value of countEntityMeshesPortion correct?", + "start": 20755, + "end": 20839, + "loc": { + "start": { + "line": 439, + "column": 82 + }, + "end": { + "line": 439, + "column": 166 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20853, + "end": 20867, + "loc": { + "start": { + "line": 441, + "column": 12 + }, + "end": { + "line": 441, + "column": 26 + } + }, + "expression": { + "type": "UpdateExpression", + "start": 20853, + "end": 20866, + "loc": { + "start": { + "line": 441, + "column": 12 + }, + "end": { + "line": 441, + "column": 25 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 20853, + "end": 20864, + "loc": { + "start": { + "line": 441, + "column": 12 + }, + "end": { + "line": 441, + "column": 23 + }, + "identifierName": "entityIndex" + }, + "name": "entityIndex", + "leadingComments": null + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " <<<<<<<<<<<<<<<<<<<< Error here? Order/value of countEntityMeshesPortion correct?", + "start": 20755, + "end": 20839, + "loc": { + "start": { + "line": 439, + "column": 82 + }, + "end": { + "line": 439, + "column": 166 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 20880, + "end": 20924, + "loc": { + "start": { + "line": 442, + "column": 12 + }, + "end": { + "line": 442, + "column": 56 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20880, + "end": 20923, + "loc": { + "start": { + "line": 442, + "column": 12 + }, + "end": { + "line": 442, + "column": 55 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 20880, + "end": 20904, + "loc": { + "start": { + "line": 442, + "column": 12 + }, + "end": { + "line": 442, + "column": 36 + }, + "identifierName": "countEntityMeshesPortion" + }, + "name": "countEntityMeshesPortion" + }, + "right": { + "type": "Identifier", + "start": 20908, + "end": 20923, + "loc": { + "start": { + "line": 442, + "column": 40 + }, + "end": { + "line": 442, + "column": 55 + }, + "identifierName": "numEntityMeshes" + }, + "name": "numEntityMeshes" + } + } + } + ], + "directives": [] + } + }, + { + "type": "VariableDeclaration", + "start": 20944, + "end": 20980, + "loc": { + "start": { + "line": 445, + "column": 8 + }, + "end": { + "line": 445, + "column": 44 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 20950, + "end": 20979, + "loc": { + "start": { + "line": 445, + "column": 14 + }, + "end": { + "line": 445, + "column": 43 + } + }, + "id": { + "type": "Identifier", + "start": 20950, + "end": 20963, + "loc": { + "start": { + "line": 445, + "column": 14 + }, + "end": { + "line": 445, + "column": 27 + }, + "identifierName": "tileAABBIndex" + }, + "name": "tileAABBIndex" + }, + "init": { + "type": "BinaryExpression", + "start": 20966, + "end": 20979, + "loc": { + "start": { + "line": 445, + "column": 30 + }, + "end": { + "line": 445, + "column": 43 + } + }, + "left": { + "type": "Identifier", + "start": 20966, + "end": 20975, + "loc": { + "start": { + "line": 445, + "column": 30 + }, + "end": { + "line": 445, + "column": 39 + }, + "identifierName": "tileIndex" + }, + "name": "tileIndex" + }, + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 20978, + "end": 20979, + "loc": { + "start": { + "line": 445, + "column": 42 + }, + "end": { + "line": 445, + "column": 43 + } + }, + "extra": { + "rawValue": 6, + "raw": "6" + }, + "value": 6 + } + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 20990, + "end": 21037, + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 55 + } + }, + "expression": { + "type": "CallExpression", + "start": 20990, + "end": 21036, + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 20990, + "end": 21011, + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 20990, + "end": 21007, + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 20990, + "end": 20994, + "loc": { + "start": { + "line": 447, + "column": 8 + }, + "end": { + "line": 447, + "column": 12 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 20995, + "end": 21007, + "loc": { + "start": { + "line": 447, + "column": 13 + }, + "end": { + "line": 447, + "column": 25 + }, + "identifierName": "eachTileAABB" + }, + "name": "eachTileAABB" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21008, + "end": 21011, + "loc": { + "start": { + "line": 447, + "column": 26 + }, + "end": { + "line": 447, + "column": 29 + }, + "identifierName": "set" + }, + "name": "set" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 21012, + "end": 21020, + "loc": { + "start": { + "line": 447, + "column": 30 + }, + "end": { + "line": 447, + "column": 38 + }, + "identifierName": "tileAABB" + }, + "name": "tileAABB" + }, + { + "type": "Identifier", + "start": 21022, + "end": 21035, + "loc": { + "start": { + "line": 447, + "column": 40 + }, + "end": { + "line": 447, + "column": 53 + }, + "identifierName": "tileAABBIndex" + }, + "name": "tileAABBIndex" + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 21049, + "end": 21061, + "loc": { + "start": { + "line": 450, + "column": 4 + }, + "end": { + "line": 450, + "column": 16 + } + }, + "argument": { + "type": "Identifier", + "start": 21056, + "end": 21060, + "loc": { + "start": { + "line": 450, + "column": 11 + }, + "end": { + "line": 450, + "column": 15 + }, + "identifierName": "data" + }, + "name": "data" + } + } + ], + "directives": [] + } + }, + { + "type": "FunctionDeclaration", + "start": 21065, + "end": 23683, + "loc": { + "start": { + "line": 453, + "column": 0 + }, + "end": { + "line": 501, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 21074, + "end": 21085, + "loc": { + "start": { + "line": 453, + "column": 9 + }, + "end": { + "line": 453, + "column": 20 + }, + "identifierName": "deflateData" + }, + "name": "deflateData" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 21086, + "end": 21090, + "loc": { + "start": { + "line": 453, + "column": 21 + }, + "end": { + "line": 453, + "column": 25 + }, + "identifierName": "data" + }, + "name": "data" + }, + { + "type": "Identifier", + "start": 21092, + "end": 21105, + "loc": { + "start": { + "line": 453, + "column": 27 + }, + "end": { + "line": 453, + "column": 40 + }, + "identifierName": "metaModelJSON" + }, + "name": "metaModelJSON" + }, + { + "type": "Identifier", + "start": 21107, + "end": 21114, + "loc": { + "start": { + "line": 453, + "column": 42 + }, + "end": { + "line": 453, + "column": 49 + }, + "identifierName": "options" + }, + "name": "options" + } + ], + "body": { + "type": "BlockStatement", + "start": 21116, + "end": 23683, + "loc": { + "start": { + "line": 453, + "column": 51 + }, + "end": { + "line": 501, + "column": 1 + } + }, + "body": [ + { + "type": "FunctionDeclaration", + "start": 21123, + "end": 21227, + "loc": { + "start": { + "line": 455, + "column": 4 + }, + "end": { + "line": 457, + "column": 5 + } + }, + "id": { + "type": "Identifier", + "start": 21132, + "end": 21139, + "loc": { + "start": { + "line": 455, + "column": 13 + }, + "end": { + "line": 455, + "column": 20 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 21140, + "end": 21146, + "loc": { + "start": { + "line": 455, + "column": 21 + }, + "end": { + "line": 455, + "column": 27 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + ], + "body": { + "type": "BlockStatement", + "start": 21148, + "end": 21227, + "loc": { + "start": { + "line": 455, + "column": 29 + }, + "end": { + "line": 457, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 21158, + "end": 21221, + "loc": { + "start": { + "line": 456, + "column": 8 + }, + "end": { + "line": 456, + "column": 71 + } + }, + "argument": { + "type": "ConditionalExpression", + "start": 21165, + "end": 21220, + "loc": { + "start": { + "line": 456, + "column": 15 + }, + "end": { + "line": 456, + "column": 70 + } + }, + "test": { + "type": "BinaryExpression", + "start": 21166, + "end": 21187, + "loc": { + "start": { + "line": 456, + "column": 16 + }, + "end": { + "line": 456, + "column": 37 + } + }, + "left": { + "type": "MemberExpression", + "start": 21166, + "end": 21177, + "loc": { + "start": { + "line": 456, + "column": 16 + }, + "end": { + "line": 456, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 21166, + "end": 21173, + "loc": { + "start": { + "line": 456, + "column": 16 + }, + "end": { + "line": 456, + "column": 23 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 21174, + "end": 21177, + "loc": { + "start": { + "line": 456, + "column": 24 + }, + "end": { + "line": 456, + "column": 27 + }, + "identifierName": "zip" + }, + "name": "zip" + }, + "computed": false + }, + "operator": "!==", + "right": { + "type": "BooleanLiteral", + "start": 21182, + "end": 21187, + "loc": { + "start": { + "line": 456, + "column": 32 + }, + "end": { + "line": 456, + "column": 37 + } + }, + "value": false + }, + "extra": { + "parenthesized": true, + "parenStart": 21165 + } + }, + "consequent": { + "type": "CallExpression", + "start": 21191, + "end": 21211, + "loc": { + "start": { + "line": 456, + "column": 41 + }, + "end": { + "line": 456, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 21191, + "end": 21203, + "loc": { + "start": { + "line": 456, + "column": 41 + }, + "end": { + "line": 456, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 21191, + "end": 21195, + "loc": { + "start": { + "line": 456, + "column": 41 + }, + "end": { + "line": 456, + "column": 45 + }, + "identifierName": "pako" + }, + "name": "pako" + }, + "property": { + "type": "Identifier", + "start": 21196, + "end": 21203, + "loc": { + "start": { + "line": 456, + "column": 46 + }, + "end": { + "line": 456, + "column": 53 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 21204, + "end": 21210, + "loc": { + "start": { + "line": 456, + "column": 54 + }, + "end": { + "line": 456, + "column": 60 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + ] + }, + "alternate": { + "type": "Identifier", + "start": 21214, + "end": 21220, + "loc": { + "start": { + "line": 456, + "column": 64 + }, + "end": { + "line": 456, + "column": 70 + }, + "identifierName": "buffer" + }, + "name": "buffer" + } + } + } + ], + "directives": [] + } + }, + { + "type": "VariableDeclaration", + "start": 21233, + "end": 21252, + "loc": { + "start": { + "line": 459, + "column": 4 + }, + "end": { + "line": 459, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 21237, + "end": 21251, + "loc": { + "start": { + "line": 459, + "column": 8 + }, + "end": { + "line": 459, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 21237, + "end": 21251, + "loc": { + "start": { + "line": 459, + "column": 8 + }, + "end": { + "line": 459, + "column": 22 + }, + "identifierName": "metaModelBytes" + }, + "name": "metaModelBytes" + }, + "init": null + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 21257, + "end": 21504, + "loc": { + "start": { + "line": 460, + "column": 4 + }, + "end": { + "line": 466, + "column": 5 + } + }, + "test": { + "type": "Identifier", + "start": 21261, + "end": 21274, + "loc": { + "start": { + "line": 460, + "column": 8 + }, + "end": { + "line": 460, + "column": 21 + }, + "identifierName": "metaModelJSON" + }, + "name": "metaModelJSON" + }, + "consequent": { + "type": "BlockStatement", + "start": 21276, + "end": 21387, + "loc": { + "start": { + "line": 460, + "column": 23 + }, + "end": { + "line": 463, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 21286, + "end": 21334, + "loc": { + "start": { + "line": 461, + "column": 8 + }, + "end": { + "line": 461, + "column": 56 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 21292, + "end": 21333, + "loc": { + "start": { + "line": 461, + "column": 14 + }, + "end": { + "line": 461, + "column": 55 + } + }, + "id": { + "type": "Identifier", + "start": 21292, + "end": 21304, + "loc": { + "start": { + "line": 461, + "column": 14 + }, + "end": { + "line": 461, + "column": 26 + }, + "identifierName": "deflatedJSON" + }, + "name": "deflatedJSON" + }, + "init": { + "type": "CallExpression", + "start": 21307, + "end": 21333, + "loc": { + "start": { + "line": 461, + "column": 29 + }, + "end": { + "line": 461, + "column": 55 + } + }, + "callee": { + "type": "Identifier", + "start": 21307, + "end": 21318, + "loc": { + "start": { + "line": 461, + "column": 29 + }, + "end": { + "line": 461, + "column": 40 + }, + "identifierName": "deflateJSON" + }, + "name": "deflateJSON" + }, + "arguments": [ + { + "type": "Identifier", + "start": 21319, + "end": 21332, + "loc": { + "start": { + "line": 461, + "column": 41 + }, + "end": { + "line": 461, + "column": 54 + }, + "identifierName": "metaModelJSON" + }, + "name": "metaModelJSON" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 21343, + "end": 21381, + "loc": { + "start": { + "line": 462, + "column": 8 + }, + "end": { + "line": 462, + "column": 46 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21343, + "end": 21381, + "loc": { + "start": { + "line": 462, + "column": 8 + }, + "end": { + "line": 462, + "column": 46 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 21343, + "end": 21357, + "loc": { + "start": { + "line": 462, + "column": 8 + }, + "end": { + "line": 462, + "column": 22 + }, + "identifierName": "metaModelBytes" + }, + "name": "metaModelBytes" + }, + "right": { + "type": "CallExpression", + "start": 21360, + "end": 21381, + "loc": { + "start": { + "line": 462, + "column": 25 + }, + "end": { + "line": 462, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 21360, + "end": 21367, + "loc": { + "start": { + "line": 462, + "column": 25 + }, + "end": { + "line": 462, + "column": 32 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "Identifier", + "start": 21368, + "end": 21380, + "loc": { + "start": { + "line": 462, + "column": 33 + }, + "end": { + "line": 462, + "column": 45 + }, + "identifierName": "deflatedJSON" + }, + "name": "deflatedJSON" + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 21393, + "end": 21504, + "loc": { + "start": { + "line": 463, + "column": 11 + }, + "end": { + "line": 466, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 21403, + "end": 21451, + "loc": { + "start": { + "line": 464, + "column": 8 + }, + "end": { + "line": 464, + "column": 56 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 21409, + "end": 21450, + "loc": { + "start": { + "line": 464, + "column": 14 + }, + "end": { + "line": 464, + "column": 55 + } + }, + "id": { + "type": "Identifier", + "start": 21409, + "end": 21421, + "loc": { + "start": { + "line": 464, + "column": 14 + }, + "end": { + "line": 464, + "column": 26 + }, + "identifierName": "deflatedJSON" + }, + "name": "deflatedJSON" + }, + "init": { + "type": "CallExpression", + "start": 21424, + "end": 21450, + "loc": { + "start": { + "line": 464, + "column": 29 + }, + "end": { + "line": 464, + "column": 55 + } + }, + "callee": { + "type": "Identifier", + "start": 21424, + "end": 21435, + "loc": { + "start": { + "line": 464, + "column": 29 + }, + "end": { + "line": 464, + "column": 40 + }, + "identifierName": "deflateJSON" + }, + "name": "deflateJSON" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 21436, + "end": 21449, + "loc": { + "start": { + "line": 464, + "column": 41 + }, + "end": { + "line": 464, + "column": 54 + } + }, + "object": { + "type": "Identifier", + "start": 21436, + "end": 21440, + "loc": { + "start": { + "line": 464, + "column": 41 + }, + "end": { + "line": 464, + "column": 45 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 21441, + "end": 21449, + "loc": { + "start": { + "line": 464, + "column": 46 + }, + "end": { + "line": 464, + "column": 54 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 21460, + "end": 21498, + "loc": { + "start": { + "line": 465, + "column": 8 + }, + "end": { + "line": 465, + "column": 46 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21460, + "end": 21498, + "loc": { + "start": { + "line": 465, + "column": 8 + }, + "end": { + "line": 465, + "column": 46 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 21460, + "end": 21474, + "loc": { + "start": { + "line": 465, + "column": 8 + }, + "end": { + "line": 465, + "column": 22 + }, + "identifierName": "metaModelBytes" + }, + "name": "metaModelBytes" + }, + "right": { + "type": "CallExpression", + "start": 21477, + "end": 21498, + "loc": { + "start": { + "line": 465, + "column": 25 + }, + "end": { + "line": 465, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 21477, + "end": 21484, + "loc": { + "start": { + "line": 465, + "column": 25 + }, + "end": { + "line": 465, + "column": 32 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "Identifier", + "start": 21485, + "end": 21497, + "loc": { + "start": { + "line": 465, + "column": 33 + }, + "end": { + "line": 465, + "column": 45 + }, + "identifierName": "deflatedJSON" + }, + "name": "deflatedJSON" + } + ] + } + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 21510, + "end": 23681, + "loc": { + "start": { + "line": 468, + "column": 4 + }, + "end": { + "line": 500, + "column": 6 + } + }, + "argument": { + "type": "ObjectExpression", + "start": 21517, + "end": 23680, + "loc": { + "start": { + "line": 468, + "column": 11 + }, + "end": { + "line": 500, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 21527, + "end": 21551, + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 32 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 21527, + "end": 21535, + "loc": { + "start": { + "line": 469, + "column": 8 + }, + "end": { + "line": 469, + "column": 16 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "value": { + "type": "Identifier", + "start": 21537, + "end": 21551, + "loc": { + "start": { + "line": 469, + "column": 18 + }, + "end": { + "line": 469, + "column": 32 + }, + "identifierName": "metaModelBytes" + }, + "name": "metaModelBytes" + } + }, + { + "type": "ObjectProperty", + "start": 21561, + "end": 21606, + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 53 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 21561, + "end": 21572, + "loc": { + "start": { + "line": 470, + "column": 8 + }, + "end": { + "line": 470, + "column": 19 + }, + "identifierName": "textureData" + }, + "name": "textureData" + }, + "value": { + "type": "CallExpression", + "start": 21574, + "end": 21606, + "loc": { + "start": { + "line": 470, + "column": 21 + }, + "end": { + "line": 470, + "column": 53 + } + }, + "callee": { + "type": "Identifier", + "start": 21574, + "end": 21581, + "loc": { + "start": { + "line": 470, + "column": 21 + }, + "end": { + "line": 470, + "column": 28 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 21582, + "end": 21605, + "loc": { + "start": { + "line": 470, + "column": 29 + }, + "end": { + "line": 470, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 21582, + "end": 21598, + "loc": { + "start": { + "line": 470, + "column": 29 + }, + "end": { + "line": 470, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 21582, + "end": 21586, + "loc": { + "start": { + "line": 470, + "column": 29 + }, + "end": { + "line": 470, + "column": 33 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 21587, + "end": 21598, + "loc": { + "start": { + "line": 470, + "column": 34 + }, + "end": { + "line": 470, + "column": 45 + }, + "identifierName": "textureData" + }, + "name": "textureData" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21599, + "end": 21605, + "loc": { + "start": { + "line": 470, + "column": 46 + }, + "end": { + "line": 470, + "column": 52 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 21616, + "end": 21683, + "loc": { + "start": { + "line": 471, + "column": 8 + }, + "end": { + "line": 471, + "column": 75 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 21616, + "end": 21638, + "loc": { + "start": { + "line": 471, + "column": 8 + }, + "end": { + "line": 471, + "column": 30 + }, + "identifierName": "eachTextureDataPortion" + }, + "name": "eachTextureDataPortion" + }, + "value": { + "type": "CallExpression", + "start": 21640, + "end": 21683, + "loc": { + "start": { + "line": 471, + "column": 32 + }, + "end": { + "line": 471, + "column": 75 + } + }, + "callee": { + "type": "Identifier", + "start": 21640, + "end": 21647, + "loc": { + "start": { + "line": 471, + "column": 32 + }, + "end": { + "line": 471, + "column": 39 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 21648, + "end": 21682, + "loc": { + "start": { + "line": 471, + "column": 40 + }, + "end": { + "line": 471, + "column": 74 + } + }, + "object": { + "type": "MemberExpression", + "start": 21648, + "end": 21675, + "loc": { + "start": { + "line": 471, + "column": 40 + }, + "end": { + "line": 471, + "column": 67 + } + }, + "object": { + "type": "Identifier", + "start": 21648, + "end": 21652, + "loc": { + "start": { + "line": 471, + "column": 40 + }, + "end": { + "line": 471, + "column": 44 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 21653, + "end": 21675, + "loc": { + "start": { + "line": 471, + "column": 45 + }, + "end": { + "line": 471, + "column": 67 + }, + "identifierName": "eachTextureDataPortion" + }, + "name": "eachTextureDataPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21676, + "end": 21682, + "loc": { + "start": { + "line": 471, + "column": 68 + }, + "end": { + "line": 471, + "column": 74 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 21693, + "end": 21758, + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 73 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 21693, + "end": 21714, + "loc": { + "start": { + "line": 472, + "column": 8 + }, + "end": { + "line": 472, + "column": 29 + }, + "identifierName": "eachTextureAttributes" + }, + "name": "eachTextureAttributes" + }, + "value": { + "type": "CallExpression", + "start": 21716, + "end": 21758, + "loc": { + "start": { + "line": 472, + "column": 31 + }, + "end": { + "line": 472, + "column": 73 + } + }, + "callee": { + "type": "Identifier", + "start": 21716, + "end": 21723, + "loc": { + "start": { + "line": 472, + "column": 31 + }, + "end": { + "line": 472, + "column": 38 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 21724, + "end": 21757, + "loc": { + "start": { + "line": 472, + "column": 39 + }, + "end": { + "line": 472, + "column": 72 + } + }, + "object": { + "type": "MemberExpression", + "start": 21724, + "end": 21750, + "loc": { + "start": { + "line": 472, + "column": 39 + }, + "end": { + "line": 472, + "column": 65 + } + }, + "object": { + "type": "Identifier", + "start": 21724, + "end": 21728, + "loc": { + "start": { + "line": 472, + "column": 39 + }, + "end": { + "line": 472, + "column": 43 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 21729, + "end": 21750, + "loc": { + "start": { + "line": 472, + "column": 44 + }, + "end": { + "line": 472, + "column": 65 + }, + "identifierName": "eachTextureAttributes" + }, + "name": "eachTextureAttributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21751, + "end": 21757, + "loc": { + "start": { + "line": 472, + "column": 66 + }, + "end": { + "line": 472, + "column": 72 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 21768, + "end": 21809, + "loc": { + "start": { + "line": 473, + "column": 8 + }, + "end": { + "line": 473, + "column": 49 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 21768, + "end": 21777, + "loc": { + "start": { + "line": 473, + "column": 8 + }, + "end": { + "line": 473, + "column": 17 + }, + "identifierName": "positions" + }, + "name": "positions" + }, + "value": { + "type": "CallExpression", + "start": 21779, + "end": 21809, + "loc": { + "start": { + "line": 473, + "column": 19 + }, + "end": { + "line": 473, + "column": 49 + } + }, + "callee": { + "type": "Identifier", + "start": 21779, + "end": 21786, + "loc": { + "start": { + "line": 473, + "column": 19 + }, + "end": { + "line": 473, + "column": 26 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 21787, + "end": 21808, + "loc": { + "start": { + "line": 473, + "column": 27 + }, + "end": { + "line": 473, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 21787, + "end": 21801, + "loc": { + "start": { + "line": 473, + "column": 27 + }, + "end": { + "line": 473, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 21787, + "end": 21791, + "loc": { + "start": { + "line": 473, + "column": 27 + }, + "end": { + "line": 473, + "column": 31 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 21792, + "end": 21801, + "loc": { + "start": { + "line": 473, + "column": 32 + }, + "end": { + "line": 473, + "column": 41 + }, + "identifierName": "positions" + }, + "name": "positions" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21802, + "end": 21808, + "loc": { + "start": { + "line": 473, + "column": 42 + }, + "end": { + "line": 473, + "column": 48 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 21819, + "end": 21856, + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 45 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 21819, + "end": 21826, + "loc": { + "start": { + "line": 474, + "column": 8 + }, + "end": { + "line": 474, + "column": 15 + }, + "identifierName": "normals" + }, + "name": "normals" + }, + "value": { + "type": "CallExpression", + "start": 21828, + "end": 21856, + "loc": { + "start": { + "line": 474, + "column": 17 + }, + "end": { + "line": 474, + "column": 45 + } + }, + "callee": { + "type": "Identifier", + "start": 21828, + "end": 21835, + "loc": { + "start": { + "line": 474, + "column": 17 + }, + "end": { + "line": 474, + "column": 24 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 21836, + "end": 21855, + "loc": { + "start": { + "line": 474, + "column": 25 + }, + "end": { + "line": 474, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 21836, + "end": 21848, + "loc": { + "start": { + "line": 474, + "column": 25 + }, + "end": { + "line": 474, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 21836, + "end": 21840, + "loc": { + "start": { + "line": 474, + "column": 25 + }, + "end": { + "line": 474, + "column": 29 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 21841, + "end": 21848, + "loc": { + "start": { + "line": 474, + "column": 30 + }, + "end": { + "line": 474, + "column": 37 + }, + "identifierName": "normals" + }, + "name": "normals" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21849, + "end": 21855, + "loc": { + "start": { + "line": 474, + "column": 38 + }, + "end": { + "line": 474, + "column": 44 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 21866, + "end": 21901, + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 475, + "column": 43 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 21866, + "end": 21872, + "loc": { + "start": { + "line": 475, + "column": 8 + }, + "end": { + "line": 475, + "column": 14 + }, + "identifierName": "colors" + }, + "name": "colors" + }, + "value": { + "type": "CallExpression", + "start": 21874, + "end": 21901, + "loc": { + "start": { + "line": 475, + "column": 16 + }, + "end": { + "line": 475, + "column": 43 + } + }, + "callee": { + "type": "Identifier", + "start": 21874, + "end": 21881, + "loc": { + "start": { + "line": 475, + "column": 16 + }, + "end": { + "line": 475, + "column": 23 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 21882, + "end": 21900, + "loc": { + "start": { + "line": 475, + "column": 24 + }, + "end": { + "line": 475, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 21882, + "end": 21893, + "loc": { + "start": { + "line": 475, + "column": 24 + }, + "end": { + "line": 475, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 21882, + "end": 21886, + "loc": { + "start": { + "line": 475, + "column": 24 + }, + "end": { + "line": 475, + "column": 28 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 21887, + "end": 21893, + "loc": { + "start": { + "line": 475, + "column": 29 + }, + "end": { + "line": 475, + "column": 35 + }, + "identifierName": "colors" + }, + "name": "colors" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21894, + "end": 21900, + "loc": { + "start": { + "line": 475, + "column": 36 + }, + "end": { + "line": 475, + "column": 42 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 21911, + "end": 21940, + "loc": { + "start": { + "line": 476, + "column": 8 + }, + "end": { + "line": 476, + "column": 37 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 21911, + "end": 21914, + "loc": { + "start": { + "line": 476, + "column": 8 + }, + "end": { + "line": 476, + "column": 11 + }, + "identifierName": "uvs" + }, + "name": "uvs" + }, + "value": { + "type": "CallExpression", + "start": 21916, + "end": 21940, + "loc": { + "start": { + "line": 476, + "column": 13 + }, + "end": { + "line": 476, + "column": 37 + } + }, + "callee": { + "type": "Identifier", + "start": 21916, + "end": 21923, + "loc": { + "start": { + "line": 476, + "column": 13 + }, + "end": { + "line": 476, + "column": 20 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 21924, + "end": 21939, + "loc": { + "start": { + "line": 476, + "column": 21 + }, + "end": { + "line": 476, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 21924, + "end": 21932, + "loc": { + "start": { + "line": 476, + "column": 21 + }, + "end": { + "line": 476, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 21924, + "end": 21928, + "loc": { + "start": { + "line": 476, + "column": 21 + }, + "end": { + "line": 476, + "column": 25 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 21929, + "end": 21932, + "loc": { + "start": { + "line": 476, + "column": 26 + }, + "end": { + "line": 476, + "column": 29 + }, + "identifierName": "uvs" + }, + "name": "uvs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21933, + "end": 21939, + "loc": { + "start": { + "line": 476, + "column": 30 + }, + "end": { + "line": 476, + "column": 36 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 21950, + "end": 21987, + "loc": { + "start": { + "line": 477, + "column": 8 + }, + "end": { + "line": 477, + "column": 45 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 21950, + "end": 21957, + "loc": { + "start": { + "line": 477, + "column": 8 + }, + "end": { + "line": 477, + "column": 15 + }, + "identifierName": "indices" + }, + "name": "indices" + }, + "value": { + "type": "CallExpression", + "start": 21959, + "end": 21987, + "loc": { + "start": { + "line": 477, + "column": 17 + }, + "end": { + "line": 477, + "column": 45 + } + }, + "callee": { + "type": "Identifier", + "start": 21959, + "end": 21966, + "loc": { + "start": { + "line": 477, + "column": 17 + }, + "end": { + "line": 477, + "column": 24 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 21967, + "end": 21986, + "loc": { + "start": { + "line": 477, + "column": 25 + }, + "end": { + "line": 477, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 21967, + "end": 21979, + "loc": { + "start": { + "line": 477, + "column": 25 + }, + "end": { + "line": 477, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 21967, + "end": 21971, + "loc": { + "start": { + "line": 477, + "column": 25 + }, + "end": { + "line": 477, + "column": 29 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 21972, + "end": 21979, + "loc": { + "start": { + "line": 477, + "column": 30 + }, + "end": { + "line": 477, + "column": 37 + }, + "identifierName": "indices" + }, + "name": "indices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21980, + "end": 21986, + "loc": { + "start": { + "line": 477, + "column": 38 + }, + "end": { + "line": 477, + "column": 44 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 21997, + "end": 22042, + "loc": { + "start": { + "line": 478, + "column": 8 + }, + "end": { + "line": 478, + "column": 53 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 21997, + "end": 22008, + "loc": { + "start": { + "line": 478, + "column": 8 + }, + "end": { + "line": 478, + "column": 19 + }, + "identifierName": "edgeIndices" + }, + "name": "edgeIndices" + }, + "value": { + "type": "CallExpression", + "start": 22010, + "end": 22042, + "loc": { + "start": { + "line": 478, + "column": 21 + }, + "end": { + "line": 478, + "column": 53 + } + }, + "callee": { + "type": "Identifier", + "start": 22010, + "end": 22017, + "loc": { + "start": { + "line": 478, + "column": 21 + }, + "end": { + "line": 478, + "column": 28 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22018, + "end": 22041, + "loc": { + "start": { + "line": 478, + "column": 29 + }, + "end": { + "line": 478, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 22018, + "end": 22034, + "loc": { + "start": { + "line": 478, + "column": 29 + }, + "end": { + "line": 478, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 22018, + "end": 22022, + "loc": { + "start": { + "line": 478, + "column": 29 + }, + "end": { + "line": 478, + "column": 33 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22023, + "end": 22034, + "loc": { + "start": { + "line": 478, + "column": 34 + }, + "end": { + "line": 478, + "column": 45 + }, + "identifierName": "edgeIndices" + }, + "name": "edgeIndices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22035, + "end": 22041, + "loc": { + "start": { + "line": 478, + "column": 46 + }, + "end": { + "line": 478, + "column": 52 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22052, + "end": 22119, + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 75 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22052, + "end": 22074, + "loc": { + "start": { + "line": 479, + "column": 8 + }, + "end": { + "line": 479, + "column": 30 + }, + "identifierName": "eachTextureSetTextures" + }, + "name": "eachTextureSetTextures" + }, + "value": { + "type": "CallExpression", + "start": 22076, + "end": 22119, + "loc": { + "start": { + "line": 479, + "column": 32 + }, + "end": { + "line": 479, + "column": 75 + } + }, + "callee": { + "type": "Identifier", + "start": 22076, + "end": 22083, + "loc": { + "start": { + "line": 479, + "column": 32 + }, + "end": { + "line": 479, + "column": 39 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22084, + "end": 22118, + "loc": { + "start": { + "line": 479, + "column": 40 + }, + "end": { + "line": 479, + "column": 74 + } + }, + "object": { + "type": "MemberExpression", + "start": 22084, + "end": 22111, + "loc": { + "start": { + "line": 479, + "column": 40 + }, + "end": { + "line": 479, + "column": 67 + } + }, + "object": { + "type": "Identifier", + "start": 22084, + "end": 22088, + "loc": { + "start": { + "line": 479, + "column": 40 + }, + "end": { + "line": 479, + "column": 44 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22089, + "end": 22111, + "loc": { + "start": { + "line": 479, + "column": 45 + }, + "end": { + "line": 479, + "column": 67 + }, + "identifierName": "eachTextureSetTextures" + }, + "name": "eachTextureSetTextures" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22112, + "end": 22118, + "loc": { + "start": { + "line": 479, + "column": 68 + }, + "end": { + "line": 479, + "column": 74 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22129, + "end": 22168, + "loc": { + "start": { + "line": 480, + "column": 8 + }, + "end": { + "line": 480, + "column": 47 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22129, + "end": 22137, + "loc": { + "start": { + "line": 480, + "column": 8 + }, + "end": { + "line": 480, + "column": 16 + }, + "identifierName": "matrices" + }, + "name": "matrices" + }, + "value": { + "type": "CallExpression", + "start": 22139, + "end": 22168, + "loc": { + "start": { + "line": 480, + "column": 18 + }, + "end": { + "line": 480, + "column": 47 + } + }, + "callee": { + "type": "Identifier", + "start": 22139, + "end": 22146, + "loc": { + "start": { + "line": 480, + "column": 18 + }, + "end": { + "line": 480, + "column": 25 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22147, + "end": 22167, + "loc": { + "start": { + "line": 480, + "column": 26 + }, + "end": { + "line": 480, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 22147, + "end": 22160, + "loc": { + "start": { + "line": 480, + "column": 26 + }, + "end": { + "line": 480, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 22147, + "end": 22151, + "loc": { + "start": { + "line": 480, + "column": 26 + }, + "end": { + "line": 480, + "column": 30 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22152, + "end": 22160, + "loc": { + "start": { + "line": 480, + "column": 31 + }, + "end": { + "line": 480, + "column": 39 + }, + "identifierName": "matrices" + }, + "name": "matrices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22161, + "end": 22167, + "loc": { + "start": { + "line": 480, + "column": 40 + }, + "end": { + "line": 480, + "column": 46 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22178, + "end": 22257, + "loc": { + "start": { + "line": 481, + "column": 8 + }, + "end": { + "line": 481, + "column": 87 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22178, + "end": 22206, + "loc": { + "start": { + "line": 481, + "column": 8 + }, + "end": { + "line": 481, + "column": 36 + }, + "identifierName": "reusedGeometriesDecodeMatrix" + }, + "name": "reusedGeometriesDecodeMatrix" + }, + "value": { + "type": "CallExpression", + "start": 22208, + "end": 22257, + "loc": { + "start": { + "line": 481, + "column": 38 + }, + "end": { + "line": 481, + "column": 87 + } + }, + "callee": { + "type": "Identifier", + "start": 22208, + "end": 22215, + "loc": { + "start": { + "line": 481, + "column": 38 + }, + "end": { + "line": 481, + "column": 45 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22216, + "end": 22256, + "loc": { + "start": { + "line": 481, + "column": 46 + }, + "end": { + "line": 481, + "column": 86 + } + }, + "object": { + "type": "MemberExpression", + "start": 22216, + "end": 22249, + "loc": { + "start": { + "line": 481, + "column": 46 + }, + "end": { + "line": 481, + "column": 79 + } + }, + "object": { + "type": "Identifier", + "start": 22216, + "end": 22220, + "loc": { + "start": { + "line": 481, + "column": 46 + }, + "end": { + "line": 481, + "column": 50 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22221, + "end": 22249, + "loc": { + "start": { + "line": 481, + "column": 51 + }, + "end": { + "line": 481, + "column": 79 + }, + "identifierName": "reusedGeometriesDecodeMatrix" + }, + "name": "reusedGeometriesDecodeMatrix" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22250, + "end": 22256, + "loc": { + "start": { + "line": 481, + "column": 80 + }, + "end": { + "line": 481, + "column": 86 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22267, + "end": 22340, + "loc": { + "start": { + "line": 482, + "column": 8 + }, + "end": { + "line": 482, + "column": 81 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22267, + "end": 22292, + "loc": { + "start": { + "line": 482, + "column": 8 + }, + "end": { + "line": 482, + "column": 33 + }, + "identifierName": "eachGeometryPrimitiveType" + }, + "name": "eachGeometryPrimitiveType" + }, + "value": { + "type": "CallExpression", + "start": 22294, + "end": 22340, + "loc": { + "start": { + "line": 482, + "column": 35 + }, + "end": { + "line": 482, + "column": 81 + } + }, + "callee": { + "type": "Identifier", + "start": 22294, + "end": 22301, + "loc": { + "start": { + "line": 482, + "column": 35 + }, + "end": { + "line": 482, + "column": 42 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22302, + "end": 22339, + "loc": { + "start": { + "line": 482, + "column": 43 + }, + "end": { + "line": 482, + "column": 80 + } + }, + "object": { + "type": "MemberExpression", + "start": 22302, + "end": 22332, + "loc": { + "start": { + "line": 482, + "column": 43 + }, + "end": { + "line": 482, + "column": 73 + } + }, + "object": { + "type": "Identifier", + "start": 22302, + "end": 22306, + "loc": { + "start": { + "line": 482, + "column": 43 + }, + "end": { + "line": 482, + "column": 47 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22307, + "end": 22332, + "loc": { + "start": { + "line": 482, + "column": 48 + }, + "end": { + "line": 482, + "column": 73 + }, + "identifierName": "eachGeometryPrimitiveType" + }, + "name": "eachGeometryPrimitiveType" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22333, + "end": 22339, + "loc": { + "start": { + "line": 482, + "column": 74 + }, + "end": { + "line": 482, + "column": 80 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22350, + "end": 22429, + "loc": { + "start": { + "line": 483, + "column": 8 + }, + "end": { + "line": 483, + "column": 87 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22350, + "end": 22378, + "loc": { + "start": { + "line": 483, + "column": 8 + }, + "end": { + "line": 483, + "column": 36 + }, + "identifierName": "eachGeometryPositionsPortion" + }, + "name": "eachGeometryPositionsPortion" + }, + "value": { + "type": "CallExpression", + "start": 22380, + "end": 22429, + "loc": { + "start": { + "line": 483, + "column": 38 + }, + "end": { + "line": 483, + "column": 87 + } + }, + "callee": { + "type": "Identifier", + "start": 22380, + "end": 22387, + "loc": { + "start": { + "line": 483, + "column": 38 + }, + "end": { + "line": 483, + "column": 45 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22388, + "end": 22428, + "loc": { + "start": { + "line": 483, + "column": 46 + }, + "end": { + "line": 483, + "column": 86 + } + }, + "object": { + "type": "MemberExpression", + "start": 22388, + "end": 22421, + "loc": { + "start": { + "line": 483, + "column": 46 + }, + "end": { + "line": 483, + "column": 79 + } + }, + "object": { + "type": "Identifier", + "start": 22388, + "end": 22392, + "loc": { + "start": { + "line": 483, + "column": 46 + }, + "end": { + "line": 483, + "column": 50 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22393, + "end": 22421, + "loc": { + "start": { + "line": 483, + "column": 51 + }, + "end": { + "line": 483, + "column": 79 + }, + "identifierName": "eachGeometryPositionsPortion" + }, + "name": "eachGeometryPositionsPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22422, + "end": 22428, + "loc": { + "start": { + "line": 483, + "column": 80 + }, + "end": { + "line": 483, + "column": 86 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22439, + "end": 22514, + "loc": { + "start": { + "line": 484, + "column": 8 + }, + "end": { + "line": 484, + "column": 83 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22439, + "end": 22465, + "loc": { + "start": { + "line": 484, + "column": 8 + }, + "end": { + "line": 484, + "column": 34 + }, + "identifierName": "eachGeometryNormalsPortion" + }, + "name": "eachGeometryNormalsPortion" + }, + "value": { + "type": "CallExpression", + "start": 22467, + "end": 22514, + "loc": { + "start": { + "line": 484, + "column": 36 + }, + "end": { + "line": 484, + "column": 83 + } + }, + "callee": { + "type": "Identifier", + "start": 22467, + "end": 22474, + "loc": { + "start": { + "line": 484, + "column": 36 + }, + "end": { + "line": 484, + "column": 43 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22475, + "end": 22513, + "loc": { + "start": { + "line": 484, + "column": 44 + }, + "end": { + "line": 484, + "column": 82 + } + }, + "object": { + "type": "MemberExpression", + "start": 22475, + "end": 22506, + "loc": { + "start": { + "line": 484, + "column": 44 + }, + "end": { + "line": 484, + "column": 75 + } + }, + "object": { + "type": "Identifier", + "start": 22475, + "end": 22479, + "loc": { + "start": { + "line": 484, + "column": 44 + }, + "end": { + "line": 484, + "column": 48 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22480, + "end": 22506, + "loc": { + "start": { + "line": 484, + "column": 49 + }, + "end": { + "line": 484, + "column": 75 + }, + "identifierName": "eachGeometryNormalsPortion" + }, + "name": "eachGeometryNormalsPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22507, + "end": 22513, + "loc": { + "start": { + "line": 484, + "column": 76 + }, + "end": { + "line": 484, + "column": 82 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22524, + "end": 22597, + "loc": { + "start": { + "line": 485, + "column": 8 + }, + "end": { + "line": 485, + "column": 81 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22524, + "end": 22549, + "loc": { + "start": { + "line": 485, + "column": 8 + }, + "end": { + "line": 485, + "column": 33 + }, + "identifierName": "eachGeometryColorsPortion" + }, + "name": "eachGeometryColorsPortion" + }, + "value": { + "type": "CallExpression", + "start": 22551, + "end": 22597, + "loc": { + "start": { + "line": 485, + "column": 35 + }, + "end": { + "line": 485, + "column": 81 + } + }, + "callee": { + "type": "Identifier", + "start": 22551, + "end": 22558, + "loc": { + "start": { + "line": 485, + "column": 35 + }, + "end": { + "line": 485, + "column": 42 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22559, + "end": 22596, + "loc": { + "start": { + "line": 485, + "column": 43 + }, + "end": { + "line": 485, + "column": 80 + } + }, + "object": { + "type": "MemberExpression", + "start": 22559, + "end": 22589, + "loc": { + "start": { + "line": 485, + "column": 43 + }, + "end": { + "line": 485, + "column": 73 + } + }, + "object": { + "type": "Identifier", + "start": 22559, + "end": 22563, + "loc": { + "start": { + "line": 485, + "column": 43 + }, + "end": { + "line": 485, + "column": 47 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22564, + "end": 22589, + "loc": { + "start": { + "line": 485, + "column": 48 + }, + "end": { + "line": 485, + "column": 73 + }, + "identifierName": "eachGeometryColorsPortion" + }, + "name": "eachGeometryColorsPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22590, + "end": 22596, + "loc": { + "start": { + "line": 485, + "column": 74 + }, + "end": { + "line": 485, + "column": 80 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22607, + "end": 22674, + "loc": { + "start": { + "line": 486, + "column": 8 + }, + "end": { + "line": 486, + "column": 75 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22607, + "end": 22629, + "loc": { + "start": { + "line": 486, + "column": 8 + }, + "end": { + "line": 486, + "column": 30 + }, + "identifierName": "eachGeometryUVsPortion" + }, + "name": "eachGeometryUVsPortion" + }, + "value": { + "type": "CallExpression", + "start": 22631, + "end": 22674, + "loc": { + "start": { + "line": 486, + "column": 32 + }, + "end": { + "line": 486, + "column": 75 + } + }, + "callee": { + "type": "Identifier", + "start": 22631, + "end": 22638, + "loc": { + "start": { + "line": 486, + "column": 32 + }, + "end": { + "line": 486, + "column": 39 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22639, + "end": 22673, + "loc": { + "start": { + "line": 486, + "column": 40 + }, + "end": { + "line": 486, + "column": 74 + } + }, + "object": { + "type": "MemberExpression", + "start": 22639, + "end": 22666, + "loc": { + "start": { + "line": 486, + "column": 40 + }, + "end": { + "line": 486, + "column": 67 + } + }, + "object": { + "type": "Identifier", + "start": 22639, + "end": 22643, + "loc": { + "start": { + "line": 486, + "column": 40 + }, + "end": { + "line": 486, + "column": 44 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22644, + "end": 22666, + "loc": { + "start": { + "line": 486, + "column": 45 + }, + "end": { + "line": 486, + "column": 67 + }, + "identifierName": "eachGeometryUVsPortion" + }, + "name": "eachGeometryUVsPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22667, + "end": 22673, + "loc": { + "start": { + "line": 486, + "column": 68 + }, + "end": { + "line": 486, + "column": 74 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22684, + "end": 22759, + "loc": { + "start": { + "line": 487, + "column": 8 + }, + "end": { + "line": 487, + "column": 83 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22684, + "end": 22710, + "loc": { + "start": { + "line": 487, + "column": 8 + }, + "end": { + "line": 487, + "column": 34 + }, + "identifierName": "eachGeometryIndicesPortion" + }, + "name": "eachGeometryIndicesPortion" + }, + "value": { + "type": "CallExpression", + "start": 22712, + "end": 22759, + "loc": { + "start": { + "line": 487, + "column": 36 + }, + "end": { + "line": 487, + "column": 83 + } + }, + "callee": { + "type": "Identifier", + "start": 22712, + "end": 22719, + "loc": { + "start": { + "line": 487, + "column": 36 + }, + "end": { + "line": 487, + "column": 43 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22720, + "end": 22758, + "loc": { + "start": { + "line": 487, + "column": 44 + }, + "end": { + "line": 487, + "column": 82 + } + }, + "object": { + "type": "MemberExpression", + "start": 22720, + "end": 22751, + "loc": { + "start": { + "line": 487, + "column": 44 + }, + "end": { + "line": 487, + "column": 75 + } + }, + "object": { + "type": "Identifier", + "start": 22720, + "end": 22724, + "loc": { + "start": { + "line": 487, + "column": 44 + }, + "end": { + "line": 487, + "column": 48 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22725, + "end": 22751, + "loc": { + "start": { + "line": 487, + "column": 49 + }, + "end": { + "line": 487, + "column": 75 + }, + "identifierName": "eachGeometryIndicesPortion" + }, + "name": "eachGeometryIndicesPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22752, + "end": 22758, + "loc": { + "start": { + "line": 487, + "column": 76 + }, + "end": { + "line": 487, + "column": 82 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22769, + "end": 22852, + "loc": { + "start": { + "line": 488, + "column": 8 + }, + "end": { + "line": 488, + "column": 91 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22769, + "end": 22799, + "loc": { + "start": { + "line": 488, + "column": 8 + }, + "end": { + "line": 488, + "column": 38 + }, + "identifierName": "eachGeometryEdgeIndicesPortion" + }, + "name": "eachGeometryEdgeIndicesPortion" + }, + "value": { + "type": "CallExpression", + "start": 22801, + "end": 22852, + "loc": { + "start": { + "line": 488, + "column": 40 + }, + "end": { + "line": 488, + "column": 91 + } + }, + "callee": { + "type": "Identifier", + "start": 22801, + "end": 22808, + "loc": { + "start": { + "line": 488, + "column": 40 + }, + "end": { + "line": 488, + "column": 47 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22809, + "end": 22851, + "loc": { + "start": { + "line": 488, + "column": 48 + }, + "end": { + "line": 488, + "column": 90 + } + }, + "object": { + "type": "MemberExpression", + "start": 22809, + "end": 22844, + "loc": { + "start": { + "line": 488, + "column": 48 + }, + "end": { + "line": 488, + "column": 83 + } + }, + "object": { + "type": "Identifier", + "start": 22809, + "end": 22813, + "loc": { + "start": { + "line": 488, + "column": 48 + }, + "end": { + "line": 488, + "column": 52 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22814, + "end": 22844, + "loc": { + "start": { + "line": 488, + "column": 53 + }, + "end": { + "line": 488, + "column": 83 + }, + "identifierName": "eachGeometryEdgeIndicesPortion" + }, + "name": "eachGeometryEdgeIndicesPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22845, + "end": 22851, + "loc": { + "start": { + "line": 488, + "column": 84 + }, + "end": { + "line": 488, + "column": 90 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22862, + "end": 22935, + "loc": { + "start": { + "line": 489, + "column": 8 + }, + "end": { + "line": 489, + "column": 81 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22862, + "end": 22887, + "loc": { + "start": { + "line": 489, + "column": 8 + }, + "end": { + "line": 489, + "column": 33 + }, + "identifierName": "eachMeshGeometriesPortion" + }, + "name": "eachMeshGeometriesPortion" + }, + "value": { + "type": "CallExpression", + "start": 22889, + "end": 22935, + "loc": { + "start": { + "line": 489, + "column": 35 + }, + "end": { + "line": 489, + "column": 81 + } + }, + "callee": { + "type": "Identifier", + "start": 22889, + "end": 22896, + "loc": { + "start": { + "line": 489, + "column": 35 + }, + "end": { + "line": 489, + "column": 42 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22897, + "end": 22934, + "loc": { + "start": { + "line": 489, + "column": 43 + }, + "end": { + "line": 489, + "column": 80 + } + }, + "object": { + "type": "MemberExpression", + "start": 22897, + "end": 22927, + "loc": { + "start": { + "line": 489, + "column": 43 + }, + "end": { + "line": 489, + "column": 73 + } + }, + "object": { + "type": "Identifier", + "start": 22897, + "end": 22901, + "loc": { + "start": { + "line": 489, + "column": 43 + }, + "end": { + "line": 489, + "column": 47 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22902, + "end": 22927, + "loc": { + "start": { + "line": 489, + "column": 48 + }, + "end": { + "line": 489, + "column": 73 + }, + "identifierName": "eachMeshGeometriesPortion" + }, + "name": "eachMeshGeometriesPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22928, + "end": 22934, + "loc": { + "start": { + "line": 489, + "column": 74 + }, + "end": { + "line": 489, + "column": 80 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 22945, + "end": 23014, + "loc": { + "start": { + "line": 490, + "column": 8 + }, + "end": { + "line": 490, + "column": 77 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 22945, + "end": 22968, + "loc": { + "start": { + "line": 490, + "column": 8 + }, + "end": { + "line": 490, + "column": 31 + }, + "identifierName": "eachMeshMatricesPortion" + }, + "name": "eachMeshMatricesPortion" + }, + "value": { + "type": "CallExpression", + "start": 22970, + "end": 23014, + "loc": { + "start": { + "line": 490, + "column": 33 + }, + "end": { + "line": 490, + "column": 77 + } + }, + "callee": { + "type": "Identifier", + "start": 22970, + "end": 22977, + "loc": { + "start": { + "line": 490, + "column": 33 + }, + "end": { + "line": 490, + "column": 40 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 22978, + "end": 23013, + "loc": { + "start": { + "line": 490, + "column": 41 + }, + "end": { + "line": 490, + "column": 76 + } + }, + "object": { + "type": "MemberExpression", + "start": 22978, + "end": 23006, + "loc": { + "start": { + "line": 490, + "column": 41 + }, + "end": { + "line": 490, + "column": 69 + } + }, + "object": { + "type": "Identifier", + "start": 22978, + "end": 22982, + "loc": { + "start": { + "line": 490, + "column": 41 + }, + "end": { + "line": 490, + "column": 45 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 22983, + "end": 23006, + "loc": { + "start": { + "line": 490, + "column": 46 + }, + "end": { + "line": 490, + "column": 69 + }, + "identifierName": "eachMeshMatricesPortion" + }, + "name": "eachMeshMatricesPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23007, + "end": 23013, + "loc": { + "start": { + "line": 490, + "column": 70 + }, + "end": { + "line": 490, + "column": 76 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 23024, + "end": 23083, + "loc": { + "start": { + "line": 491, + "column": 8 + }, + "end": { + "line": 491, + "column": 67 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 23024, + "end": 23042, + "loc": { + "start": { + "line": 491, + "column": 8 + }, + "end": { + "line": 491, + "column": 26 + }, + "identifierName": "eachMeshTextureSet" + }, + "name": "eachMeshTextureSet" + }, + "value": { + "type": "CallExpression", + "start": 23044, + "end": 23083, + "loc": { + "start": { + "line": 491, + "column": 28 + }, + "end": { + "line": 491, + "column": 67 + } + }, + "callee": { + "type": "Identifier", + "start": 23044, + "end": 23051, + "loc": { + "start": { + "line": 491, + "column": 28 + }, + "end": { + "line": 491, + "column": 35 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 23052, + "end": 23082, + "loc": { + "start": { + "line": 491, + "column": 36 + }, + "end": { + "line": 491, + "column": 66 + } + }, + "object": { + "type": "MemberExpression", + "start": 23052, + "end": 23075, + "loc": { + "start": { + "line": 491, + "column": 36 + }, + "end": { + "line": 491, + "column": 59 + } + }, + "object": { + "type": "Identifier", + "start": 23052, + "end": 23056, + "loc": { + "start": { + "line": 491, + "column": 36 + }, + "end": { + "line": 491, + "column": 40 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 23057, + "end": 23075, + "loc": { + "start": { + "line": 491, + "column": 41 + }, + "end": { + "line": 491, + "column": 59 + }, + "identifierName": "eachMeshTextureSet" + }, + "name": "eachMeshTextureSet" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23076, + "end": 23082, + "loc": { + "start": { + "line": 491, + "column": 60 + }, + "end": { + "line": 491, + "column": 66 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 23093, + "end": 23168, + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 83 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 23093, + "end": 23119, + "loc": { + "start": { + "line": 492, + "column": 8 + }, + "end": { + "line": 492, + "column": 34 + }, + "identifierName": "eachMeshMaterialAttributes" + }, + "name": "eachMeshMaterialAttributes" + }, + "value": { + "type": "CallExpression", + "start": 23121, + "end": 23168, + "loc": { + "start": { + "line": 492, + "column": 36 + }, + "end": { + "line": 492, + "column": 83 + } + }, + "callee": { + "type": "Identifier", + "start": 23121, + "end": 23128, + "loc": { + "start": { + "line": 492, + "column": 36 + }, + "end": { + "line": 492, + "column": 43 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 23129, + "end": 23167, + "loc": { + "start": { + "line": 492, + "column": 44 + }, + "end": { + "line": 492, + "column": 82 + } + }, + "object": { + "type": "MemberExpression", + "start": 23129, + "end": 23160, + "loc": { + "start": { + "line": 492, + "column": 44 + }, + "end": { + "line": 492, + "column": 75 + } + }, + "object": { + "type": "Identifier", + "start": 23129, + "end": 23133, + "loc": { + "start": { + "line": 492, + "column": 44 + }, + "end": { + "line": 492, + "column": 48 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 23134, + "end": 23160, + "loc": { + "start": { + "line": 492, + "column": 49 + }, + "end": { + "line": 492, + "column": 75 + }, + "identifierName": "eachMeshMaterialAttributes" + }, + "name": "eachMeshMaterialAttributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23161, + "end": 23167, + "loc": { + "start": { + "line": 492, + "column": 76 + }, + "end": { + "line": 492, + "column": 82 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 23178, + "end": 23459, + "loc": { + "start": { + "line": 493, + "column": 8 + }, + "end": { + "line": 496, + "column": 15 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 23178, + "end": 23190, + "loc": { + "start": { + "line": 493, + "column": 8 + }, + "end": { + "line": 493, + "column": 20 + }, + "identifierName": "eachEntityId" + }, + "name": "eachEntityId" + }, + "value": { + "type": "CallExpression", + "start": 23192, + "end": 23459, + "loc": { + "start": { + "line": 493, + "column": 22 + }, + "end": { + "line": 496, + "column": 15 + } + }, + "callee": { + "type": "Identifier", + "start": 23192, + "end": 23199, + "loc": { + "start": { + "line": 493, + "column": 22 + }, + "end": { + "line": 493, + "column": 29 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 23200, + "end": 23458, + "loc": { + "start": { + "line": 493, + "column": 30 + }, + "end": { + "line": 496, + "column": 14 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23200, + "end": 23254, + "loc": { + "start": { + "line": 493, + "column": 30 + }, + "end": { + "line": 494, + "column": 20 + } + }, + "object": { + "type": "CallExpression", + "start": 23200, + "end": 23233, + "loc": { + "start": { + "line": 493, + "column": 30 + }, + "end": { + "line": 493, + "column": 63 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23200, + "end": 23214, + "loc": { + "start": { + "line": 493, + "column": 30 + }, + "end": { + "line": 493, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 23200, + "end": 23204, + "loc": { + "start": { + "line": 493, + "column": 30 + }, + "end": { + "line": 493, + "column": 34 + }, + "identifierName": "JSON" + }, + "name": "JSON" + }, + "property": { + "type": "Identifier", + "start": 23205, + "end": 23214, + "loc": { + "start": { + "line": 493, + "column": 35 + }, + "end": { + "line": 493, + "column": 44 + }, + "identifierName": "stringify" + }, + "name": "stringify" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 23215, + "end": 23232, + "loc": { + "start": { + "line": 493, + "column": 45 + }, + "end": { + "line": 493, + "column": 62 + } + }, + "object": { + "type": "Identifier", + "start": 23215, + "end": 23219, + "loc": { + "start": { + "line": 493, + "column": 45 + }, + "end": { + "line": 493, + "column": 49 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 23220, + "end": 23232, + "loc": { + "start": { + "line": 493, + "column": 50 + }, + "end": { + "line": 493, + "column": 62 + }, + "identifierName": "eachEntityId" + }, + "name": "eachEntityId" + }, + "computed": false + } + ] + }, + "property": { + "type": "Identifier", + "start": 23247, + "end": 23254, + "loc": { + "start": { + "line": 494, + "column": 13 + }, + "end": { + "line": 494, + "column": 20 + }, + "identifierName": "replace" + }, + "name": "replace" + }, + "computed": false + }, + "arguments": [ + { + "type": "RegExpLiteral", + "start": 23255, + "end": 23273, + "loc": { + "start": { + "line": 494, + "column": 21 + }, + "end": { + "line": 494, + "column": 39 + } + }, + "extra": { + "raw": "/[\\u007F-\\uFFFF]/g" + }, + "pattern": "[\\u007F-\\uFFFF]", + "flags": "g" + }, + { + "type": "FunctionExpression", + "start": 23275, + "end": 23457, + "loc": { + "start": { + "line": 494, + "column": 41 + }, + "end": { + "line": 496, + "column": 13 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 23285, + "end": 23288, + "loc": { + "start": { + "line": 494, + "column": 51 + }, + "end": { + "line": 494, + "column": 54 + }, + "identifierName": "chr" + }, + "name": "chr" + } + ], + "body": { + "type": "BlockStatement", + "start": 23290, + "end": 23457, + "loc": { + "start": { + "line": 494, + "column": 56 + }, + "end": { + "line": 496, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 23376, + "end": 23443, + "loc": { + "start": { + "line": 495, + "column": 16 + }, + "end": { + "line": 495, + "column": 83 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 23383, + "end": 23443, + "loc": { + "start": { + "line": 495, + "column": 23 + }, + "end": { + "line": 495, + "column": 83 + } + }, + "left": { + "type": "StringLiteral", + "start": 23383, + "end": 23388, + "loc": { + "start": { + "line": 495, + "column": 23 + }, + "end": { + "line": 495, + "column": 28 + } + }, + "extra": { + "rawValue": "\\u", + "raw": "\"\\\\u\"" + }, + "value": "\\u", + "leadingComments": null + }, + "operator": "+", + "right": { + "type": "CallExpression", + "start": 23391, + "end": 23443, + "loc": { + "start": { + "line": 495, + "column": 31 + }, + "end": { + "line": 495, + "column": 83 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23391, + "end": 23439, + "loc": { + "start": { + "line": 495, + "column": 31 + }, + "end": { + "line": 495, + "column": 79 + } + }, + "object": { + "type": "BinaryExpression", + "start": 23392, + "end": 23431, + "loc": { + "start": { + "line": 495, + "column": 32 + }, + "end": { + "line": 495, + "column": 71 + } + }, + "left": { + "type": "StringLiteral", + "start": 23392, + "end": 23398, + "loc": { + "start": { + "line": 495, + "column": 32 + }, + "end": { + "line": 495, + "column": 38 + } + }, + "extra": { + "rawValue": "0000", + "raw": "\"0000\"" + }, + "value": "0000" + }, + "operator": "+", + "right": { + "type": "CallExpression", + "start": 23401, + "end": 23431, + "loc": { + "start": { + "line": 495, + "column": 41 + }, + "end": { + "line": 495, + "column": 71 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23401, + "end": 23427, + "loc": { + "start": { + "line": 495, + "column": 41 + }, + "end": { + "line": 495, + "column": 67 + } + }, + "object": { + "type": "CallExpression", + "start": 23401, + "end": 23418, + "loc": { + "start": { + "line": 495, + "column": 41 + }, + "end": { + "line": 495, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23401, + "end": 23415, + "loc": { + "start": { + "line": 495, + "column": 41 + }, + "end": { + "line": 495, + "column": 55 + } + }, + "object": { + "type": "Identifier", + "start": 23401, + "end": 23404, + "loc": { + "start": { + "line": 495, + "column": 41 + }, + "end": { + "line": 495, + "column": 44 + }, + "identifierName": "chr" + }, + "name": "chr" + }, + "property": { + "type": "Identifier", + "start": 23405, + "end": 23415, + "loc": { + "start": { + "line": 495, + "column": 45 + }, + "end": { + "line": 495, + "column": 55 + }, + "identifierName": "charCodeAt" + }, + "name": "charCodeAt" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 23416, + "end": 23417, + "loc": { + "start": { + "line": 495, + "column": 56 + }, + "end": { + "line": 495, + "column": 57 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + }, + "property": { + "type": "Identifier", + "start": 23419, + "end": 23427, + "loc": { + "start": { + "line": 495, + "column": 59 + }, + "end": { + "line": 495, + "column": 67 + }, + "identifierName": "toString" + }, + "name": "toString" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 23428, + "end": 23430, + "loc": { + "start": { + "line": 495, + "column": 68 + }, + "end": { + "line": 495, + "column": 70 + } + }, + "extra": { + "rawValue": 16, + "raw": "16" + }, + "value": 16 + } + ] + }, + "extra": { + "parenthesized": true, + "parenStart": 23391 + } + }, + "property": { + "type": "Identifier", + "start": 23433, + "end": 23439, + "loc": { + "start": { + "line": 495, + "column": 73 + }, + "end": { + "line": 495, + "column": 79 + }, + "identifierName": "substr" + }, + "name": "substr" + }, + "computed": false + }, + "arguments": [ + { + "type": "UnaryExpression", + "start": 23440, + "end": 23442, + "loc": { + "start": { + "line": 495, + "column": 80 + }, + "end": { + "line": 495, + "column": 82 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 23441, + "end": 23442, + "loc": { + "start": { + "line": 495, + "column": 81 + }, + "end": { + "line": 495, + "column": 82 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + }, + "extra": { + "parenthesizedArgument": false + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Produce only ASCII-chars, so that the data can be inflated later", + "start": 23292, + "end": 23359, + "loc": { + "start": { + "line": 494, + "column": 58 + }, + "end": { + "line": 494, + "column": 125 + } + } + } + ] + } + ], + "directives": [] + } + } + ] + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 23469, + "end": 23538, + "loc": { + "start": { + "line": 497, + "column": 8 + }, + "end": { + "line": 497, + "column": 77 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 23469, + "end": 23492, + "loc": { + "start": { + "line": 497, + "column": 8 + }, + "end": { + "line": 497, + "column": 31 + }, + "identifierName": "eachEntityMeshesPortion" + }, + "name": "eachEntityMeshesPortion" + }, + "value": { + "type": "CallExpression", + "start": 23494, + "end": 23538, + "loc": { + "start": { + "line": 497, + "column": 33 + }, + "end": { + "line": 497, + "column": 77 + } + }, + "callee": { + "type": "Identifier", + "start": 23494, + "end": 23501, + "loc": { + "start": { + "line": 497, + "column": 33 + }, + "end": { + "line": 497, + "column": 40 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 23502, + "end": 23537, + "loc": { + "start": { + "line": 497, + "column": 41 + }, + "end": { + "line": 497, + "column": 76 + } + }, + "object": { + "type": "MemberExpression", + "start": 23502, + "end": 23530, + "loc": { + "start": { + "line": 497, + "column": 41 + }, + "end": { + "line": 497, + "column": 69 + } + }, + "object": { + "type": "Identifier", + "start": 23502, + "end": 23506, + "loc": { + "start": { + "line": 497, + "column": 41 + }, + "end": { + "line": 497, + "column": 45 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 23507, + "end": 23530, + "loc": { + "start": { + "line": 497, + "column": 46 + }, + "end": { + "line": 497, + "column": 69 + }, + "identifierName": "eachEntityMeshesPortion" + }, + "name": "eachEntityMeshesPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23531, + "end": 23537, + "loc": { + "start": { + "line": 497, + "column": 70 + }, + "end": { + "line": 497, + "column": 76 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 23548, + "end": 23595, + "loc": { + "start": { + "line": 498, + "column": 8 + }, + "end": { + "line": 498, + "column": 55 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 23548, + "end": 23560, + "loc": { + "start": { + "line": 498, + "column": 8 + }, + "end": { + "line": 498, + "column": 20 + }, + "identifierName": "eachTileAABB" + }, + "name": "eachTileAABB" + }, + "value": { + "type": "CallExpression", + "start": 23562, + "end": 23595, + "loc": { + "start": { + "line": 498, + "column": 22 + }, + "end": { + "line": 498, + "column": 55 + } + }, + "callee": { + "type": "Identifier", + "start": 23562, + "end": 23569, + "loc": { + "start": { + "line": 498, + "column": 22 + }, + "end": { + "line": 498, + "column": 29 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 23570, + "end": 23594, + "loc": { + "start": { + "line": 498, + "column": 30 + }, + "end": { + "line": 498, + "column": 54 + } + }, + "object": { + "type": "MemberExpression", + "start": 23570, + "end": 23587, + "loc": { + "start": { + "line": 498, + "column": 30 + }, + "end": { + "line": 498, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 23570, + "end": 23574, + "loc": { + "start": { + "line": 498, + "column": 30 + }, + "end": { + "line": 498, + "column": 34 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 23575, + "end": 23587, + "loc": { + "start": { + "line": 498, + "column": 35 + }, + "end": { + "line": 498, + "column": 47 + }, + "identifierName": "eachTileAABB" + }, + "name": "eachTileAABB" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23588, + "end": 23594, + "loc": { + "start": { + "line": 498, + "column": 48 + }, + "end": { + "line": 498, + "column": 54 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 23605, + "end": 23674, + "loc": { + "start": { + "line": 499, + "column": 8 + }, + "end": { + "line": 499, + "column": 77 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 23605, + "end": 23628, + "loc": { + "start": { + "line": 499, + "column": 8 + }, + "end": { + "line": 499, + "column": 31 + }, + "identifierName": "eachTileEntitiesPortion" + }, + "name": "eachTileEntitiesPortion" + }, + "value": { + "type": "CallExpression", + "start": 23630, + "end": 23674, + "loc": { + "start": { + "line": 499, + "column": 33 + }, + "end": { + "line": 499, + "column": 77 + } + }, + "callee": { + "type": "Identifier", + "start": 23630, + "end": 23637, + "loc": { + "start": { + "line": 499, + "column": 33 + }, + "end": { + "line": 499, + "column": 40 + }, + "identifierName": "deflate" + }, + "name": "deflate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 23638, + "end": 23673, + "loc": { + "start": { + "line": 499, + "column": 41 + }, + "end": { + "line": 499, + "column": 76 + } + }, + "object": { + "type": "MemberExpression", + "start": 23638, + "end": 23666, + "loc": { + "start": { + "line": 499, + "column": 41 + }, + "end": { + "line": 499, + "column": 69 + } + }, + "object": { + "type": "Identifier", + "start": 23638, + "end": 23642, + "loc": { + "start": { + "line": 499, + "column": 41 + }, + "end": { + "line": 499, + "column": 45 + }, + "identifierName": "data" + }, + "name": "data" + }, + "property": { + "type": "Identifier", + "start": 23643, + "end": 23666, + "loc": { + "start": { + "line": 499, + "column": 46 + }, + "end": { + "line": 499, + "column": 69 + }, + "identifierName": "eachTileEntitiesPortion" + }, + "name": "eachTileEntitiesPortion" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23667, + "end": 23673, + "loc": { + "start": { + "line": 499, + "column": 70 + }, + "end": { + "line": 499, + "column": 76 + }, + "identifierName": "buffer" + }, + "name": "buffer" + }, + "computed": false + } + ] + } + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "FunctionDeclaration", + "start": 23685, + "end": 23967, + "loc": { + "start": { + "line": 503, + "column": 0 + }, + "end": { + "line": 508, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 23694, + "end": 23705, + "loc": { + "start": { + "line": 503, + "column": 9 + }, + "end": { + "line": 503, + "column": 20 + }, + "identifierName": "deflateJSON" + }, + "name": "deflateJSON" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 23706, + "end": 23713, + "loc": { + "start": { + "line": 503, + "column": 21 + }, + "end": { + "line": 503, + "column": 28 + }, + "identifierName": "strings" + }, + "name": "strings" + } + ], + "body": { + "type": "BlockStatement", + "start": 23715, + "end": 23967, + "loc": { + "start": { + "line": 503, + "column": 30 + }, + "end": { + "line": 508, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 23721, + "end": 23965, + "loc": { + "start": { + "line": 504, + "column": 4 + }, + "end": { + "line": 507, + "column": 11 + } + }, + "argument": { + "type": "CallExpression", + "start": 23728, + "end": 23964, + "loc": { + "start": { + "line": 504, + "column": 11 + }, + "end": { + "line": 507, + "column": 10 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23728, + "end": 23768, + "loc": { + "start": { + "line": 504, + "column": 11 + }, + "end": { + "line": 505, + "column": 16 + } + }, + "object": { + "type": "CallExpression", + "start": 23728, + "end": 23751, + "loc": { + "start": { + "line": 504, + "column": 11 + }, + "end": { + "line": 504, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23728, + "end": 23742, + "loc": { + "start": { + "line": 504, + "column": 11 + }, + "end": { + "line": 504, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 23728, + "end": 23732, + "loc": { + "start": { + "line": 504, + "column": 11 + }, + "end": { + "line": 504, + "column": 15 + }, + "identifierName": "JSON" + }, + "name": "JSON" + }, + "property": { + "type": "Identifier", + "start": 23733, + "end": 23742, + "loc": { + "start": { + "line": 504, + "column": 16 + }, + "end": { + "line": 504, + "column": 25 + }, + "identifierName": "stringify" + }, + "name": "stringify" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 23743, + "end": 23750, + "loc": { + "start": { + "line": 504, + "column": 26 + }, + "end": { + "line": 504, + "column": 33 + }, + "identifierName": "strings" + }, + "name": "strings" + } + ] + }, + "property": { + "type": "Identifier", + "start": 23761, + "end": 23768, + "loc": { + "start": { + "line": 505, + "column": 9 + }, + "end": { + "line": 505, + "column": 16 + }, + "identifierName": "replace" + }, + "name": "replace" + }, + "computed": false + }, + "arguments": [ + { + "type": "RegExpLiteral", + "start": 23769, + "end": 23787, + "loc": { + "start": { + "line": 505, + "column": 17 + }, + "end": { + "line": 505, + "column": 35 + } + }, + "extra": { + "raw": "/[\\u007F-\\uFFFF]/g" + }, + "pattern": "[\\u007F-\\uFFFF]", + "flags": "g" + }, + { + "type": "FunctionExpression", + "start": 23789, + "end": 23963, + "loc": { + "start": { + "line": 505, + "column": 37 + }, + "end": { + "line": 507, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 23799, + "end": 23802, + "loc": { + "start": { + "line": 505, + "column": 47 + }, + "end": { + "line": 505, + "column": 50 + }, + "identifierName": "chr" + }, + "name": "chr" + } + ], + "body": { + "type": "BlockStatement", + "start": 23804, + "end": 23963, + "loc": { + "start": { + "line": 505, + "column": 52 + }, + "end": { + "line": 507, + "column": 9 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 23886, + "end": 23953, + "loc": { + "start": { + "line": 506, + "column": 12 + }, + "end": { + "line": 506, + "column": 79 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 23893, + "end": 23953, + "loc": { + "start": { + "line": 506, + "column": 19 + }, + "end": { + "line": 506, + "column": 79 + } + }, + "left": { + "type": "StringLiteral", + "start": 23893, + "end": 23898, + "loc": { + "start": { + "line": 506, + "column": 19 + }, + "end": { + "line": 506, + "column": 24 + } + }, + "extra": { + "rawValue": "\\u", + "raw": "\"\\\\u\"" + }, + "value": "\\u", + "leadingComments": null + }, + "operator": "+", + "right": { + "type": "CallExpression", + "start": 23901, + "end": 23953, + "loc": { + "start": { + "line": 506, + "column": 27 + }, + "end": { + "line": 506, + "column": 79 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23901, + "end": 23949, + "loc": { + "start": { + "line": 506, + "column": 27 + }, + "end": { + "line": 506, + "column": 75 + } + }, + "object": { + "type": "BinaryExpression", + "start": 23902, + "end": 23941, + "loc": { + "start": { + "line": 506, + "column": 28 + }, + "end": { + "line": 506, + "column": 67 + } + }, + "left": { + "type": "StringLiteral", + "start": 23902, + "end": 23908, + "loc": { + "start": { + "line": 506, + "column": 28 + }, + "end": { + "line": 506, + "column": 34 + } + }, + "extra": { + "rawValue": "0000", + "raw": "\"0000\"" + }, + "value": "0000" + }, + "operator": "+", + "right": { + "type": "CallExpression", + "start": 23911, + "end": 23941, + "loc": { + "start": { + "line": 506, + "column": 37 + }, + "end": { + "line": 506, + "column": 67 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23911, + "end": 23937, + "loc": { + "start": { + "line": 506, + "column": 37 + }, + "end": { + "line": 506, + "column": 63 + } + }, + "object": { + "type": "CallExpression", + "start": 23911, + "end": 23928, + "loc": { + "start": { + "line": 506, + "column": 37 + }, + "end": { + "line": 506, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23911, + "end": 23925, + "loc": { + "start": { + "line": 506, + "column": 37 + }, + "end": { + "line": 506, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 23911, + "end": 23914, + "loc": { + "start": { + "line": 506, + "column": 37 + }, + "end": { + "line": 506, + "column": 40 + }, + "identifierName": "chr" + }, + "name": "chr" + }, + "property": { + "type": "Identifier", + "start": 23915, + "end": 23925, + "loc": { + "start": { + "line": 506, + "column": 41 + }, + "end": { + "line": 506, + "column": 51 + }, + "identifierName": "charCodeAt" + }, + "name": "charCodeAt" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 23926, + "end": 23927, + "loc": { + "start": { + "line": 506, + "column": 52 + }, + "end": { + "line": 506, + "column": 53 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + }, + "property": { + "type": "Identifier", + "start": 23929, + "end": 23937, + "loc": { + "start": { + "line": 506, + "column": 55 + }, + "end": { + "line": 506, + "column": 63 + }, + "identifierName": "toString" + }, + "name": "toString" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 23938, + "end": 23940, + "loc": { + "start": { + "line": 506, + "column": 64 + }, + "end": { + "line": 506, + "column": 66 + } + }, + "extra": { + "rawValue": 16, + "raw": "16" + }, + "value": 16 + } + ] + }, + "extra": { + "parenthesized": true, + "parenStart": 23901 + } + }, + "property": { + "type": "Identifier", + "start": 23943, + "end": 23949, + "loc": { + "start": { + "line": 506, + "column": 69 + }, + "end": { + "line": 506, + "column": 75 + }, + "identifierName": "substr" + }, + "name": "substr" + }, + "computed": false + }, + "arguments": [ + { + "type": "UnaryExpression", + "start": 23950, + "end": 23952, + "loc": { + "start": { + "line": 506, + "column": 76 + }, + "end": { + "line": 506, + "column": 78 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 23951, + "end": 23952, + "loc": { + "start": { + "line": 506, + "column": 77 + }, + "end": { + "line": 506, + "column": 78 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + }, + "extra": { + "parenthesizedArgument": false + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Produce only ASCII-chars, so that the data can be inflated later", + "start": 23806, + "end": 23873, + "loc": { + "start": { + "line": 505, + "column": 54 + }, + "end": { + "line": 505, + "column": 121 + } + } + } + ] + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "FunctionDeclaration", + "start": 23969, + "end": 25198, + "loc": { + "start": { + "line": 510, + "column": 0 + }, + "end": { + "line": 541, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 23978, + "end": 23995, + "loc": { + "start": { + "line": 510, + "column": 9 + }, + "end": { + "line": 510, + "column": 26 + }, + "identifierName": "createArrayBuffer" + }, + "name": "createArrayBuffer" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 23996, + "end": 24008, + "loc": { + "start": { + "line": 510, + "column": 27 + }, + "end": { + "line": 510, + "column": 39 + }, + "identifierName": "deflatedData" + }, + "name": "deflatedData" + } + ], + "body": { + "type": "BlockStatement", + "start": 24010, + "end": 25198, + "loc": { + "start": { + "line": 510, + "column": 41 + }, + "end": { + "line": 541, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 24016, + "end": 25196, + "loc": { + "start": { + "line": 511, + "column": 4 + }, + "end": { + "line": 540, + "column": 7 + } + }, + "argument": { + "type": "CallExpression", + "start": 24023, + "end": 25195, + "loc": { + "start": { + "line": 511, + "column": 11 + }, + "end": { + "line": 540, + "column": 6 + } + }, + "callee": { + "type": "Identifier", + "start": 24023, + "end": 24036, + "loc": { + "start": { + "line": 511, + "column": 11 + }, + "end": { + "line": 511, + "column": 24 + }, + "identifierName": "toArrayBuffer" + }, + "name": "toArrayBuffer" + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 24037, + "end": 25194, + "loc": { + "start": { + "line": 511, + "column": 25 + }, + "end": { + "line": 540, + "column": 5 + } + }, + "elements": [ + { + "type": "MemberExpression", + "start": 24047, + "end": 24068, + "loc": { + "start": { + "line": 512, + "column": 8 + }, + "end": { + "line": 512, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 24047, + "end": 24059, + "loc": { + "start": { + "line": 512, + "column": 8 + }, + "end": { + "line": 512, + "column": 20 + }, + "identifierName": "deflatedData" + }, + "name": "deflatedData" + }, + "property": { + "type": "Identifier", + "start": 24060, + "end": 24068, + "loc": { + "start": { + "line": 512, + "column": 21 + }, + "end": { + "line": 512, + "column": 29 + }, + "identifierName": "metadata" + }, + "name": "metadata" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 24078, + "end": 24102, + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 513, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 24078, + "end": 24090, + "loc": { + "start": { + "line": 513, + "column": 8 + }, + "end": { + "line": 513, + "column": 20 + }, + "identifierName": "deflatedData" + }, + "name": "deflatedData" + }, + "property": { + "type": "Identifier", + "start": 24091, + "end": 24102, + "loc": { + "start": { + "line": 513, + "column": 21 + }, + "end": { + "line": 513, + "column": 32 + }, + "identifierName": "textureData" + }, + "name": "textureData" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 24112, + "end": 24147, + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 514, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 24112, + "end": 24124, + "loc": { + "start": { + "line": 514, + "column": 8 + }, + "end": { + "line": 514, + "column": 20 + }, + "identifierName": "deflatedData" + }, + "name": "deflatedData" + }, + "property": { + "type": "Identifier", + "start": 24125, + "end": 24147, + "loc": { + "start": { + "line": 514, + "column": 21 + }, + "end": { + "line": 514, + "column": 43 + }, + "identifierName": "eachTextureDataPortion" + }, + "name": "eachTextureDataPortion" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 24157, + "end": 24191, + "loc": { + "start": { + "line": 515, + "column": 8 + }, + "end": { + "line": 515, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 24157, + "end": 24169, + "loc": { + "start": { + "line": 515, + "column": 8 + }, + "end": { + "line": 515, + "column": 20 + }, + "identifierName": "deflatedData" + }, + "name": "deflatedData" + }, + "property": { + "type": "Identifier", + "start": 24170, + "end": 24191, + "loc": { + "start": { + "line": 515, + "column": 21 + }, + "end": { + "line": 515, + "column": 42 + }, + "identifierName": "eachTextureAttributes" + }, + "name": "eachTextureAttributes" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 24201, + "end": 24223, + "loc": { + "start": { + "line": 516, + "column": 8 + }, + "end": { + "line": 516, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 24201, + "end": 24213, + "loc": { + "start": { + "line": 516, + "column": 8 + }, + "end": { + "line": 516, + "column": 20 + }, + "identifierName": "deflatedData" + }, + "name": "deflatedData" + }, + "property": { + "type": "Identifier", + "start": 24214, + "end": 24223, + "loc": { + "start": { + "line": 516, + "column": 21 + }, + "end": { + "line": 516, + "column": 30 + }, + "identifierName": "positions" + }, + "name": "positions" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 24233, + "end": 24253, + "loc": { + "start": { + "line": 517, + "column": 8 + }, + "end": { + "line": 517, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 24233, + "end": 24245, + "loc": { + "start": { + "line": 517, + "column": 8 + }, "end": { - "line": 413, + "line": 517, "column": 20 }, "identifierName": "deflatedData" @@ -35464,15 +43226,15 @@ }, "property": { "type": "Identifier", - "start": 20815, - "end": 20822, + "start": 24246, + "end": 24253, "loc": { "start": { - "line": 413, + "line": 517, "column": 21 }, "end": { - "line": 413, + "line": 517, "column": 28 }, "identifierName": "normals" @@ -35483,29 +43245,29 @@ }, { "type": "MemberExpression", - "start": 20832, - "end": 20851, + "start": 24263, + "end": 24282, "loc": { "start": { - "line": 414, + "line": 518, "column": 8 }, "end": { - "line": 414, + "line": 518, "column": 27 } }, "object": { "type": "Identifier", - "start": 20832, - "end": 20844, + "start": 24263, + "end": 24275, "loc": { "start": { - "line": 414, + "line": 518, "column": 8 }, "end": { - "line": 414, + "line": 518, "column": 20 }, "identifierName": "deflatedData" @@ -35514,15 +43276,15 @@ }, "property": { "type": "Identifier", - "start": 20845, - "end": 20851, + "start": 24276, + "end": 24282, "loc": { "start": { - "line": 414, + "line": 518, "column": 21 }, "end": { - "line": 414, + "line": 518, "column": 27 }, "identifierName": "colors" @@ -35533,29 +43295,29 @@ }, { "type": "MemberExpression", - "start": 20861, - "end": 20877, + "start": 24292, + "end": 24308, "loc": { "start": { - "line": 415, + "line": 519, "column": 8 }, "end": { - "line": 415, + "line": 519, "column": 24 } }, "object": { "type": "Identifier", - "start": 20861, - "end": 20873, + "start": 24292, + "end": 24304, "loc": { "start": { - "line": 415, + "line": 519, "column": 8 }, "end": { - "line": 415, + "line": 519, "column": 20 }, "identifierName": "deflatedData" @@ -35564,15 +43326,15 @@ }, "property": { "type": "Identifier", - "start": 20874, - "end": 20877, + "start": 24305, + "end": 24308, "loc": { "start": { - "line": 415, + "line": 519, "column": 21 }, "end": { - "line": 415, + "line": 519, "column": 24 }, "identifierName": "uvs" @@ -35583,29 +43345,29 @@ }, { "type": "MemberExpression", - "start": 20887, - "end": 20907, + "start": 24318, + "end": 24338, "loc": { "start": { - "line": 416, + "line": 520, "column": 8 }, "end": { - "line": 416, + "line": 520, "column": 28 } }, "object": { "type": "Identifier", - "start": 20887, - "end": 20899, + "start": 24318, + "end": 24330, "loc": { "start": { - "line": 416, + "line": 520, "column": 8 }, "end": { - "line": 416, + "line": 520, "column": 20 }, "identifierName": "deflatedData" @@ -35614,15 +43376,15 @@ }, "property": { "type": "Identifier", - "start": 20900, - "end": 20907, + "start": 24331, + "end": 24338, "loc": { "start": { - "line": 416, + "line": 520, "column": 21 }, "end": { - "line": 416, + "line": 520, "column": 28 }, "identifierName": "indices" @@ -35633,29 +43395,29 @@ }, { "type": "MemberExpression", - "start": 20917, - "end": 20941, + "start": 24348, + "end": 24372, "loc": { "start": { - "line": 417, + "line": 521, "column": 8 }, "end": { - "line": 417, + "line": 521, "column": 32 } }, "object": { "type": "Identifier", - "start": 20917, - "end": 20929, + "start": 24348, + "end": 24360, "loc": { "start": { - "line": 417, + "line": 521, "column": 8 }, "end": { - "line": 417, + "line": 521, "column": 20 }, "identifierName": "deflatedData" @@ -35664,15 +43426,15 @@ }, "property": { "type": "Identifier", - "start": 20930, - "end": 20941, + "start": 24361, + "end": 24372, "loc": { "start": { - "line": 417, + "line": 521, "column": 21 }, "end": { - "line": 417, + "line": 521, "column": 32 }, "identifierName": "edgeIndices" @@ -35683,29 +43445,29 @@ }, { "type": "MemberExpression", - "start": 20951, - "end": 20986, + "start": 24382, + "end": 24417, "loc": { "start": { - "line": 418, + "line": 522, "column": 8 }, "end": { - "line": 418, + "line": 522, "column": 43 } }, "object": { "type": "Identifier", - "start": 20951, - "end": 20963, + "start": 24382, + "end": 24394, "loc": { "start": { - "line": 418, + "line": 522, "column": 8 }, "end": { - "line": 418, + "line": 522, "column": 20 }, "identifierName": "deflatedData" @@ -35714,15 +43476,15 @@ }, "property": { "type": "Identifier", - "start": 20964, - "end": 20986, + "start": 24395, + "end": 24417, "loc": { "start": { - "line": 418, + "line": 522, "column": 21 }, "end": { - "line": 418, + "line": 522, "column": 43 }, "identifierName": "eachTextureSetTextures" @@ -35733,29 +43495,29 @@ }, { "type": "MemberExpression", - "start": 20996, - "end": 21017, + "start": 24427, + "end": 24448, "loc": { "start": { - "line": 419, + "line": 523, "column": 8 }, "end": { - "line": 419, + "line": 523, "column": 29 } }, "object": { "type": "Identifier", - "start": 20996, - "end": 21008, + "start": 24427, + "end": 24439, "loc": { "start": { - "line": 419, + "line": 523, "column": 8 }, "end": { - "line": 419, + "line": 523, "column": 20 }, "identifierName": "deflatedData" @@ -35764,15 +43526,15 @@ }, "property": { "type": "Identifier", - "start": 21009, - "end": 21017, + "start": 24440, + "end": 24448, "loc": { "start": { - "line": 419, + "line": 523, "column": 21 }, "end": { - "line": 419, + "line": 523, "column": 29 }, "identifierName": "matrices" @@ -35783,29 +43545,29 @@ }, { "type": "MemberExpression", - "start": 21027, - "end": 21068, + "start": 24458, + "end": 24499, "loc": { "start": { - "line": 420, + "line": 524, "column": 8 }, "end": { - "line": 420, + "line": 524, "column": 49 } }, "object": { "type": "Identifier", - "start": 21027, - "end": 21039, + "start": 24458, + "end": 24470, "loc": { "start": { - "line": 420, + "line": 524, "column": 8 }, "end": { - "line": 420, + "line": 524, "column": 20 }, "identifierName": "deflatedData" @@ -35814,15 +43576,15 @@ }, "property": { "type": "Identifier", - "start": 21040, - "end": 21068, + "start": 24471, + "end": 24499, "loc": { "start": { - "line": 420, + "line": 524, "column": 21 }, "end": { - "line": 420, + "line": 524, "column": 49 }, "identifierName": "reusedGeometriesDecodeMatrix" @@ -35833,29 +43595,29 @@ }, { "type": "MemberExpression", - "start": 21078, - "end": 21116, + "start": 24509, + "end": 24547, "loc": { "start": { - "line": 421, + "line": 525, "column": 8 }, "end": { - "line": 421, + "line": 525, "column": 46 } }, "object": { "type": "Identifier", - "start": 21078, - "end": 21090, + "start": 24509, + "end": 24521, "loc": { "start": { - "line": 421, + "line": 525, "column": 8 }, "end": { - "line": 421, + "line": 525, "column": 20 }, "identifierName": "deflatedData" @@ -35864,15 +43626,15 @@ }, "property": { "type": "Identifier", - "start": 21091, - "end": 21116, + "start": 24522, + "end": 24547, "loc": { "start": { - "line": 421, + "line": 525, "column": 21 }, "end": { - "line": 421, + "line": 525, "column": 46 }, "identifierName": "eachGeometryPrimitiveType" @@ -35883,29 +43645,29 @@ }, { "type": "MemberExpression", - "start": 21126, - "end": 21167, + "start": 24557, + "end": 24598, "loc": { "start": { - "line": 422, + "line": 526, "column": 8 }, "end": { - "line": 422, + "line": 526, "column": 49 } }, "object": { "type": "Identifier", - "start": 21126, - "end": 21138, + "start": 24557, + "end": 24569, "loc": { "start": { - "line": 422, + "line": 526, "column": 8 }, "end": { - "line": 422, + "line": 526, "column": 20 }, "identifierName": "deflatedData" @@ -35914,15 +43676,15 @@ }, "property": { "type": "Identifier", - "start": 21139, - "end": 21167, + "start": 24570, + "end": 24598, "loc": { "start": { - "line": 422, + "line": 526, "column": 21 }, "end": { - "line": 422, + "line": 526, "column": 49 }, "identifierName": "eachGeometryPositionsPortion" @@ -35933,29 +43695,29 @@ }, { "type": "MemberExpression", - "start": 21177, - "end": 21216, + "start": 24608, + "end": 24647, "loc": { "start": { - "line": 423, + "line": 527, "column": 8 }, "end": { - "line": 423, + "line": 527, "column": 47 } }, "object": { "type": "Identifier", - "start": 21177, - "end": 21189, + "start": 24608, + "end": 24620, "loc": { "start": { - "line": 423, + "line": 527, "column": 8 }, "end": { - "line": 423, + "line": 527, "column": 20 }, "identifierName": "deflatedData" @@ -35964,15 +43726,15 @@ }, "property": { "type": "Identifier", - "start": 21190, - "end": 21216, + "start": 24621, + "end": 24647, "loc": { "start": { - "line": 423, + "line": 527, "column": 21 }, "end": { - "line": 423, + "line": 527, "column": 47 }, "identifierName": "eachGeometryNormalsPortion" @@ -35983,29 +43745,29 @@ }, { "type": "MemberExpression", - "start": 21226, - "end": 21264, + "start": 24657, + "end": 24695, "loc": { "start": { - "line": 424, + "line": 528, "column": 8 }, "end": { - "line": 424, + "line": 528, "column": 46 } }, "object": { "type": "Identifier", - "start": 21226, - "end": 21238, + "start": 24657, + "end": 24669, "loc": { "start": { - "line": 424, + "line": 528, "column": 8 }, "end": { - "line": 424, + "line": 528, "column": 20 }, "identifierName": "deflatedData" @@ -36014,15 +43776,15 @@ }, "property": { "type": "Identifier", - "start": 21239, - "end": 21264, + "start": 24670, + "end": 24695, "loc": { "start": { - "line": 424, + "line": 528, "column": 21 }, "end": { - "line": 424, + "line": 528, "column": 46 }, "identifierName": "eachGeometryColorsPortion" @@ -36033,29 +43795,29 @@ }, { "type": "MemberExpression", - "start": 21274, - "end": 21309, + "start": 24705, + "end": 24740, "loc": { "start": { - "line": 425, + "line": 529, "column": 8 }, "end": { - "line": 425, + "line": 529, "column": 43 } }, "object": { "type": "Identifier", - "start": 21274, - "end": 21286, + "start": 24705, + "end": 24717, "loc": { "start": { - "line": 425, + "line": 529, "column": 8 }, "end": { - "line": 425, + "line": 529, "column": 20 }, "identifierName": "deflatedData" @@ -36064,15 +43826,15 @@ }, "property": { "type": "Identifier", - "start": 21287, - "end": 21309, + "start": 24718, + "end": 24740, "loc": { "start": { - "line": 425, + "line": 529, "column": 21 }, "end": { - "line": 425, + "line": 529, "column": 43 }, "identifierName": "eachGeometryUVsPortion" @@ -36083,29 +43845,29 @@ }, { "type": "MemberExpression", - "start": 21319, - "end": 21358, + "start": 24750, + "end": 24789, "loc": { "start": { - "line": 426, + "line": 530, "column": 8 }, "end": { - "line": 426, + "line": 530, "column": 47 } }, "object": { "type": "Identifier", - "start": 21319, - "end": 21331, + "start": 24750, + "end": 24762, "loc": { "start": { - "line": 426, + "line": 530, "column": 8 }, "end": { - "line": 426, + "line": 530, "column": 20 }, "identifierName": "deflatedData" @@ -36114,15 +43876,15 @@ }, "property": { "type": "Identifier", - "start": 21332, - "end": 21358, + "start": 24763, + "end": 24789, "loc": { "start": { - "line": 426, + "line": 530, "column": 21 }, "end": { - "line": 426, + "line": 530, "column": 47 }, "identifierName": "eachGeometryIndicesPortion" @@ -36133,29 +43895,29 @@ }, { "type": "MemberExpression", - "start": 21368, - "end": 21411, + "start": 24799, + "end": 24842, "loc": { "start": { - "line": 427, + "line": 531, "column": 8 }, "end": { - "line": 427, + "line": 531, "column": 51 } }, "object": { "type": "Identifier", - "start": 21368, - "end": 21380, + "start": 24799, + "end": 24811, "loc": { "start": { - "line": 427, + "line": 531, "column": 8 }, "end": { - "line": 427, + "line": 531, "column": 20 }, "identifierName": "deflatedData" @@ -36164,15 +43926,15 @@ }, "property": { "type": "Identifier", - "start": 21381, - "end": 21411, + "start": 24812, + "end": 24842, "loc": { "start": { - "line": 427, + "line": 531, "column": 21 }, "end": { - "line": 427, + "line": 531, "column": 51 }, "identifierName": "eachGeometryEdgeIndicesPortion" @@ -36183,29 +43945,29 @@ }, { "type": "MemberExpression", - "start": 21421, - "end": 21459, + "start": 24852, + "end": 24890, "loc": { "start": { - "line": 428, + "line": 532, "column": 8 }, "end": { - "line": 428, + "line": 532, "column": 46 } }, "object": { "type": "Identifier", - "start": 21421, - "end": 21433, + "start": 24852, + "end": 24864, "loc": { "start": { - "line": 428, + "line": 532, "column": 8 }, "end": { - "line": 428, + "line": 532, "column": 20 }, "identifierName": "deflatedData" @@ -36214,15 +43976,15 @@ }, "property": { "type": "Identifier", - "start": 21434, - "end": 21459, + "start": 24865, + "end": 24890, "loc": { "start": { - "line": 428, + "line": 532, "column": 21 }, "end": { - "line": 428, + "line": 532, "column": 46 }, "identifierName": "eachMeshGeometriesPortion" @@ -36233,29 +43995,29 @@ }, { "type": "MemberExpression", - "start": 21469, - "end": 21505, + "start": 24900, + "end": 24936, "loc": { "start": { - "line": 429, + "line": 533, "column": 8 }, "end": { - "line": 429, + "line": 533, "column": 44 } }, "object": { "type": "Identifier", - "start": 21469, - "end": 21481, + "start": 24900, + "end": 24912, "loc": { "start": { - "line": 429, + "line": 533, "column": 8 }, "end": { - "line": 429, + "line": 533, "column": 20 }, "identifierName": "deflatedData" @@ -36264,15 +44026,15 @@ }, "property": { "type": "Identifier", - "start": 21482, - "end": 21505, + "start": 24913, + "end": 24936, "loc": { "start": { - "line": 429, + "line": 533, "column": 21 }, "end": { - "line": 429, + "line": 533, "column": 44 }, "identifierName": "eachMeshMatricesPortion" @@ -36283,29 +44045,29 @@ }, { "type": "MemberExpression", - "start": 21515, - "end": 21546, + "start": 24946, + "end": 24977, "loc": { "start": { - "line": 430, + "line": 534, "column": 8 }, "end": { - "line": 430, + "line": 534, "column": 39 } }, "object": { "type": "Identifier", - "start": 21515, - "end": 21527, + "start": 24946, + "end": 24958, "loc": { "start": { - "line": 430, + "line": 534, "column": 8 }, "end": { - "line": 430, + "line": 534, "column": 20 }, "identifierName": "deflatedData" @@ -36314,15 +44076,15 @@ }, "property": { "type": "Identifier", - "start": 21528, - "end": 21546, + "start": 24959, + "end": 24977, "loc": { "start": { - "line": 430, + "line": 534, "column": 21 }, "end": { - "line": 430, + "line": 534, "column": 39 }, "identifierName": "eachMeshTextureSet" @@ -36333,29 +44095,29 @@ }, { "type": "MemberExpression", - "start": 21556, - "end": 21595, + "start": 24987, + "end": 25026, "loc": { "start": { - "line": 431, + "line": 535, "column": 8 }, "end": { - "line": 431, + "line": 535, "column": 47 } }, "object": { "type": "Identifier", - "start": 21556, - "end": 21568, + "start": 24987, + "end": 24999, "loc": { "start": { - "line": 431, + "line": 535, "column": 8 }, "end": { - "line": 431, + "line": 535, "column": 20 }, "identifierName": "deflatedData" @@ -36364,15 +44126,15 @@ }, "property": { "type": "Identifier", - "start": 21569, - "end": 21595, + "start": 25000, + "end": 25026, "loc": { "start": { - "line": 431, + "line": 535, "column": 21 }, "end": { - "line": 431, + "line": 535, "column": 47 }, "identifierName": "eachMeshMaterialAttributes" @@ -36383,29 +44145,29 @@ }, { "type": "MemberExpression", - "start": 21605, - "end": 21630, + "start": 25036, + "end": 25061, "loc": { "start": { - "line": 432, + "line": 536, "column": 8 }, "end": { - "line": 432, + "line": 536, "column": 33 } }, "object": { "type": "Identifier", - "start": 21605, - "end": 21617, + "start": 25036, + "end": 25048, "loc": { "start": { - "line": 432, + "line": 536, "column": 8 }, "end": { - "line": 432, + "line": 536, "column": 20 }, "identifierName": "deflatedData" @@ -36414,15 +44176,15 @@ }, "property": { "type": "Identifier", - "start": 21618, - "end": 21630, + "start": 25049, + "end": 25061, "loc": { "start": { - "line": 432, + "line": 536, "column": 21 }, "end": { - "line": 432, + "line": 536, "column": 33 }, "identifierName": "eachEntityId" @@ -36433,29 +44195,29 @@ }, { "type": "MemberExpression", - "start": 21640, - "end": 21676, + "start": 25071, + "end": 25107, "loc": { "start": { - "line": 433, + "line": 537, "column": 8 }, "end": { - "line": 433, + "line": 537, "column": 44 } }, "object": { "type": "Identifier", - "start": 21640, - "end": 21652, + "start": 25071, + "end": 25083, "loc": { "start": { - "line": 433, + "line": 537, "column": 8 }, "end": { - "line": 433, + "line": 537, "column": 20 }, "identifierName": "deflatedData" @@ -36464,15 +44226,15 @@ }, "property": { "type": "Identifier", - "start": 21653, - "end": 21676, + "start": 25084, + "end": 25107, "loc": { "start": { - "line": 433, + "line": 537, "column": 21 }, "end": { - "line": 433, + "line": 537, "column": 44 }, "identifierName": "eachEntityMeshesPortion" @@ -36483,29 +44245,29 @@ }, { "type": "MemberExpression", - "start": 21686, - "end": 21711, + "start": 25117, + "end": 25142, "loc": { "start": { - "line": 434, + "line": 538, "column": 8 }, "end": { - "line": 434, + "line": 538, "column": 33 } }, "object": { "type": "Identifier", - "start": 21686, - "end": 21698, + "start": 25117, + "end": 25129, "loc": { "start": { - "line": 434, + "line": 538, "column": 8 }, "end": { - "line": 434, + "line": 538, "column": 20 }, "identifierName": "deflatedData" @@ -36514,15 +44276,15 @@ }, "property": { "type": "Identifier", - "start": 21699, - "end": 21711, + "start": 25130, + "end": 25142, "loc": { "start": { - "line": 434, + "line": 538, "column": 21 }, "end": { - "line": 434, + "line": 538, "column": 33 }, "identifierName": "eachTileAABB" @@ -36533,29 +44295,29 @@ }, { "type": "MemberExpression", - "start": 21721, - "end": 21757, + "start": 25152, + "end": 25188, "loc": { "start": { - "line": 435, + "line": 539, "column": 8 }, "end": { - "line": 435, + "line": 539, "column": 44 } }, "object": { "type": "Identifier", - "start": 21721, - "end": 21733, + "start": 25152, + "end": 25164, "loc": { "start": { - "line": 435, + "line": 539, "column": 8 }, "end": { - "line": 435, + "line": 539, "column": 20 }, "identifierName": "deflatedData" @@ -36564,15 +44326,15 @@ }, "property": { "type": "Identifier", - "start": 21734, - "end": 21757, + "start": 25165, + "end": 25188, "loc": { "start": { - "line": 435, + "line": 539, "column": 21 }, "end": { - "line": 435, + "line": 539, "column": 44 }, "identifierName": "eachTileEntitiesPortion" @@ -36592,29 +44354,29 @@ }, { "type": "FunctionDeclaration", - "start": 21769, - "end": 22703, + "start": 25200, + "end": 26160, "loc": { "start": { - "line": 439, + "line": 543, "column": 0 }, "end": { - "line": 460, + "line": 564, "column": 1 } }, "id": { "type": "Identifier", - "start": 21778, - "end": 21791, + "start": 25209, + "end": 25222, "loc": { "start": { - "line": 439, + "line": 543, "column": 9 }, "end": { - "line": 439, + "line": 543, "column": 22 }, "identifierName": "toArrayBuffer" @@ -36627,15 +44389,15 @@ "params": [ { "type": "Identifier", - "start": 21792, - "end": 21800, + "start": 25223, + "end": 25231, "loc": { "start": { - "line": 439, + "line": 543, "column": 23 }, "end": { - "line": 439, + "line": 543, "column": 31 }, "identifierName": "elements" @@ -36645,59 +44407,59 @@ ], "body": { "type": "BlockStatement", - "start": 21802, - "end": 22703, + "start": 25233, + "end": 26160, "loc": { "start": { - "line": 439, + "line": 543, "column": 33 }, "end": { - "line": 460, + "line": 564, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 21808, - "end": 21863, + "start": 25239, + "end": 25294, "loc": { "start": { - "line": 440, + "line": 544, "column": 4 }, "end": { - "line": 440, + "line": 544, "column": 59 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 21814, - "end": 21862, + "start": 25245, + "end": 25293, "loc": { "start": { - "line": 440, + "line": 544, "column": 10 }, "end": { - "line": 440, + "line": 544, "column": 58 } }, "id": { "type": "Identifier", - "start": 21814, - "end": 21823, + "start": 25245, + "end": 25254, "loc": { "start": { - "line": 440, + "line": 544, "column": 10 }, "end": { - "line": 440, + "line": 544, "column": 19 }, "identifierName": "indexData" @@ -36706,29 +44468,29 @@ }, "init": { "type": "NewExpression", - "start": 21826, - "end": 21862, + "start": 25257, + "end": 25293, "loc": { "start": { - "line": 440, + "line": 544, "column": 22 }, "end": { - "line": 440, + "line": 544, "column": 58 } }, "callee": { "type": "Identifier", - "start": 21830, - "end": 21841, + "start": 25261, + "end": 25272, "loc": { "start": { - "line": 440, + "line": 544, "column": 26 }, "end": { - "line": 440, + "line": 544, "column": 37 }, "identifierName": "Uint32Array" @@ -36738,43 +44500,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 21842, - "end": 21861, + "start": 25273, + "end": 25292, "loc": { "start": { - "line": 440, + "line": 544, "column": 38 }, "end": { - "line": 440, + "line": 544, "column": 57 } }, "left": { "type": "MemberExpression", - "start": 21842, - "end": 21857, + "start": 25273, + "end": 25288, "loc": { "start": { - "line": 440, + "line": 544, "column": 38 }, "end": { - "line": 440, + "line": 544, "column": 53 } }, "object": { "type": "Identifier", - "start": 21842, - "end": 21850, + "start": 25273, + "end": 25281, "loc": { "start": { - "line": 440, + "line": 544, "column": 38 }, "end": { - "line": 440, + "line": 544, "column": 46 }, "identifierName": "elements" @@ -36783,15 +44545,15 @@ }, "property": { "type": "Identifier", - "start": 21851, - "end": 21857, + "start": 25282, + "end": 25288, "loc": { "start": { - "line": 440, + "line": 544, "column": 47 }, "end": { - "line": 440, + "line": 544, "column": 53 }, "identifierName": "length" @@ -36803,15 +44565,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 21860, - "end": 21861, + "start": 25291, + "end": 25292, "loc": { "start": { - "line": 440, + "line": 544, "column": 56 }, "end": { - "line": 440, + "line": 544, "column": 57 } }, @@ -36830,58 +44592,58 @@ }, { "type": "ExpressionStatement", - "start": 21868, - "end": 21895, + "start": 25299, + "end": 25317, "loc": { "start": { - "line": 441, + "line": 545, "column": 4 }, "end": { - "line": 441, - "column": 31 + "line": 545, + "column": 22 } }, "expression": { "type": "AssignmentExpression", - "start": 21868, - "end": 21894, + "start": 25299, + "end": 25316, "loc": { "start": { - "line": 441, + "line": 545, "column": 4 }, "end": { - "line": 441, - "column": 30 + "line": 545, + "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21868, - "end": 21880, + "start": 25299, + "end": 25311, "loc": { "start": { - "line": 441, + "line": 545, "column": 4 }, "end": { - "line": 441, + "line": 545, "column": 16 } }, "object": { "type": "Identifier", - "start": 21868, - "end": 21877, + "start": 25299, + "end": 25308, "loc": { "start": { - "line": 441, + "line": 545, "column": 4 }, "end": { - "line": 441, + "line": 545, "column": 13 }, "identifierName": "indexData" @@ -36890,15 +44652,15 @@ }, "property": { "type": "NumericLiteral", - "start": 21878, - "end": 21879, + "start": 25309, + "end": 25310, "loc": { "start": { - "line": 441, + "line": 545, "column": 14 }, "end": { - "line": 441, + "line": 545, "column": 15 } }, @@ -36911,95 +44673,117 @@ "computed": true }, "right": { - "type": "Identifier", - "start": 21883, - "end": 21894, + "type": "NumericLiteral", + "start": 25314, + "end": 25316, "loc": { "start": { - "line": 441, + "line": 545, "column": 19 }, "end": { - "line": 441, - "column": 30 - }, - "identifierName": "XKT_VERSION" + "line": 545, + "column": 21 + } }, - "name": "XKT_VERSION" + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 } - } + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " XKT_VERSION for legacy v10 mode", + "start": 25318, + "end": 25352, + "loc": { + "start": { + "line": 545, + "column": 23 + }, + "end": { + "line": 545, + "column": 57 + } + } + } + ] }, { "type": "ExpressionStatement", - "start": 21900, - "end": 21932, + "start": 25357, + "end": 25389, "loc": { "start": { - "line": 442, + "line": 546, "column": 4 }, "end": { - "line": 442, + "line": 546, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 21900, - "end": 21931, + "start": 25357, + "end": 25388, "loc": { "start": { - "line": 442, + "line": 546, "column": 4 }, "end": { - "line": 442, + "line": 546, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 21900, - "end": 21913, + "start": 25357, + "end": 25370, "loc": { "start": { - "line": 442, + "line": 546, "column": 4 }, "end": { - "line": 442, + "line": 546, "column": 17 } }, "object": { "type": "Identifier", - "start": 21900, - "end": 21909, + "start": 25357, + "end": 25366, "loc": { "start": { - "line": 442, + "line": 546, "column": 4 }, "end": { - "line": 442, + "line": 546, "column": 13 }, "identifierName": "indexData" }, - "name": "indexData" + "name": "indexData", + "leadingComments": null }, "property": { "type": "NumericLiteral", - "start": 21911, - "end": 21912, + "start": 25368, + "end": 25369, "loc": { "start": { - "line": 442, + "line": 546, "column": 15 }, "end": { - "line": 442, + "line": 546, "column": 16 } }, @@ -37009,33 +44793,34 @@ }, "value": 1 }, - "computed": true + "computed": true, + "leadingComments": null }, "right": { "type": "MemberExpression", - "start": 21916, - "end": 21931, + "start": 25373, + "end": 25388, "loc": { "start": { - "line": 442, + "line": 546, "column": 20 }, "end": { - "line": 442, + "line": 546, "column": 35 } }, "object": { "type": "Identifier", - "start": 21916, - "end": 21924, + "start": 25373, + "end": 25381, "loc": { "start": { - "line": 442, + "line": 546, "column": 20 }, "end": { - "line": 442, + "line": 546, "column": 28 }, "identifierName": "elements" @@ -37044,15 +44829,15 @@ }, "property": { "type": "Identifier", - "start": 21925, - "end": 21931, + "start": 25382, + "end": 25388, "loc": { "start": { - "line": 442, + "line": 546, "column": 29 }, "end": { - "line": 442, + "line": 546, "column": 35 }, "identifierName": "length" @@ -37060,21 +44845,40 @@ "name": "length" }, "computed": false - } + }, + "leadingComments": null }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " XKT_VERSION for legacy v10 mode", + "start": 25318, + "end": 25352, + "loc": { + "start": { + "line": 545, + "column": 23 + }, + "end": { + "line": 545, + "column": 57 + } + } + } + ], "trailingComments": [ { "type": "CommentLine", "value": " Stored Data 1.1: number of stored elements", - "start": 21934, - "end": 21979, + "start": 25391, + "end": 25436, "loc": { "start": { - "line": 442, + "line": 546, "column": 38 }, "end": { - "line": 442, + "line": 546, "column": 83 } } @@ -37083,44 +44887,44 @@ }, { "type": "VariableDeclaration", - "start": 21984, - "end": 22000, + "start": 25441, + "end": 25457, "loc": { "start": { - "line": 443, + "line": 547, "column": 4 }, "end": { - "line": 443, + "line": 547, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 21988, - "end": 21999, + "start": 25445, + "end": 25456, "loc": { "start": { - "line": 443, + "line": 547, "column": 8 }, "end": { - "line": 443, + "line": 547, "column": 19 } }, "id": { "type": "Identifier", - "start": 21988, - "end": 21995, + "start": 25445, + "end": 25452, "loc": { "start": { - "line": 443, + "line": 547, "column": 8 }, "end": { - "line": 443, + "line": 547, "column": 15 }, "identifierName": "dataLen" @@ -37130,15 +44934,15 @@ }, "init": { "type": "NumericLiteral", - "start": 21998, - "end": 21999, + "start": 25455, + "end": 25456, "loc": { "start": { - "line": 443, + "line": 547, "column": 18 }, "end": { - "line": 443, + "line": 547, "column": 19 } }, @@ -37156,15 +44960,15 @@ { "type": "CommentLine", "value": " Stored Data 1.1: number of stored elements", - "start": 21934, - "end": 21979, + "start": 25391, + "end": 25436, "loc": { "start": { - "line": 442, + "line": 546, "column": 38 }, "end": { - "line": 442, + "line": 546, "column": 83 } } @@ -37174,15 +44978,15 @@ { "type": "CommentLine", "value": " Stored Data 1.2: length of stored elements", - "start": 22004, - "end": 22049, + "start": 25461, + "end": 25506, "loc": { "start": { - "line": 443, + "line": 547, "column": 24 }, "end": { - "line": 443, + "line": 547, "column": 69 } } @@ -37191,58 +44995,58 @@ }, { "type": "ForStatement", - "start": 22054, - "end": 22267, + "start": 25511, + "end": 25724, "loc": { "start": { - "line": 444, + "line": 548, "column": 4 }, "end": { - "line": 449, + "line": 553, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 22059, - "end": 22091, + "start": 25516, + "end": 25548, "loc": { "start": { - "line": 444, + "line": 548, "column": 9 }, "end": { - "line": 444, + "line": 548, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22063, - "end": 22068, + "start": 25520, + "end": 25525, "loc": { "start": { - "line": 444, + "line": 548, "column": 13 }, "end": { - "line": 444, + "line": 548, "column": 18 } }, "id": { "type": "Identifier", - "start": 22063, - "end": 22064, + "start": 25520, + "end": 25521, "loc": { "start": { - "line": 444, + "line": 548, "column": 13 }, "end": { - "line": 444, + "line": 548, "column": 14 }, "identifierName": "i" @@ -37252,15 +45056,15 @@ }, "init": { "type": "NumericLiteral", - "start": 22067, - "end": 22068, + "start": 25524, + "end": 25525, "loc": { "start": { - "line": 444, + "line": 548, "column": 17 }, "end": { - "line": 444, + "line": 548, "column": 18 } }, @@ -37274,29 +45078,29 @@ }, { "type": "VariableDeclarator", - "start": 22070, - "end": 22091, + "start": 25527, + "end": 25548, "loc": { "start": { - "line": 444, + "line": 548, "column": 20 }, "end": { - "line": 444, + "line": 548, "column": 41 } }, "id": { "type": "Identifier", - "start": 22070, - "end": 22073, + "start": 25527, + "end": 25530, "loc": { "start": { - "line": 444, + "line": 548, "column": 20 }, "end": { - "line": 444, + "line": 548, "column": 23 }, "identifierName": "len" @@ -37305,29 +45109,29 @@ }, "init": { "type": "MemberExpression", - "start": 22076, - "end": 22091, + "start": 25533, + "end": 25548, "loc": { "start": { - "line": 444, + "line": 548, "column": 26 }, "end": { - "line": 444, + "line": 548, "column": 41 } }, "object": { "type": "Identifier", - "start": 22076, - "end": 22084, + "start": 25533, + "end": 25541, "loc": { "start": { - "line": 444, + "line": 548, "column": 26 }, "end": { - "line": 444, + "line": 548, "column": 34 }, "identifierName": "elements" @@ -37336,15 +45140,15 @@ }, "property": { "type": "Identifier", - "start": 22085, - "end": 22091, + "start": 25542, + "end": 25548, "loc": { "start": { - "line": 444, + "line": 548, "column": 35 }, "end": { - "line": 444, + "line": 548, "column": 41 }, "identifierName": "length" @@ -37360,29 +45164,29 @@ }, "test": { "type": "BinaryExpression", - "start": 22093, - "end": 22100, + "start": 25550, + "end": 25557, "loc": { "start": { - "line": 444, + "line": 548, "column": 43 }, "end": { - "line": 444, + "line": 548, "column": 50 } }, "left": { "type": "Identifier", - "start": 22093, - "end": 22094, + "start": 25550, + "end": 25551, "loc": { "start": { - "line": 444, + "line": 548, "column": 43 }, "end": { - "line": 444, + "line": 548, "column": 44 }, "identifierName": "i" @@ -37392,15 +45196,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 22097, - "end": 22100, + "start": 25554, + "end": 25557, "loc": { "start": { - "line": 444, + "line": 548, "column": 47 }, "end": { - "line": 444, + "line": 548, "column": 50 }, "identifierName": "len" @@ -37410,15 +45214,15 @@ }, "update": { "type": "UpdateExpression", - "start": 22102, - "end": 22105, + "start": 25559, + "end": 25562, "loc": { "start": { - "line": 444, + "line": 548, "column": 52 }, "end": { - "line": 444, + "line": 548, "column": 55 } }, @@ -37426,15 +45230,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 22102, - "end": 22103, + "start": 25559, + "end": 25560, "loc": { "start": { - "line": 444, + "line": 548, "column": 52 }, "end": { - "line": 444, + "line": 548, "column": 53 }, "identifierName": "i" @@ -37444,59 +45248,59 @@ }, "body": { "type": "BlockStatement", - "start": 22107, - "end": 22267, + "start": 25564, + "end": 25724, "loc": { "start": { - "line": 444, + "line": 548, "column": 57 }, "end": { - "line": 449, + "line": 553, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 22117, - "end": 22145, + "start": 25574, + "end": 25602, "loc": { "start": { - "line": 445, + "line": 549, "column": 8 }, "end": { - "line": 445, + "line": 549, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22123, - "end": 22144, + "start": 25580, + "end": 25601, "loc": { "start": { - "line": 445, + "line": 549, "column": 14 }, "end": { - "line": 445, + "line": 549, "column": 35 } }, "id": { "type": "Identifier", - "start": 22123, - "end": 22130, + "start": 25580, + "end": 25587, "loc": { "start": { - "line": 445, + "line": 549, "column": 14 }, "end": { - "line": 445, + "line": 549, "column": 21 }, "identifierName": "element" @@ -37505,29 +45309,29 @@ }, "init": { "type": "MemberExpression", - "start": 22133, - "end": 22144, + "start": 25590, + "end": 25601, "loc": { "start": { - "line": 445, + "line": 549, "column": 24 }, "end": { - "line": 445, + "line": 549, "column": 35 } }, "object": { "type": "Identifier", - "start": 22133, - "end": 22141, + "start": 25590, + "end": 25598, "loc": { "start": { - "line": 445, + "line": 549, "column": 24 }, "end": { - "line": 445, + "line": 549, "column": 32 }, "identifierName": "elements" @@ -37536,15 +45340,15 @@ }, "property": { "type": "Identifier", - "start": 22142, - "end": 22143, + "start": 25599, + "end": 25600, "loc": { "start": { - "line": 445, + "line": 549, "column": 33 }, "end": { - "line": 445, + "line": 549, "column": 34 }, "identifierName": "i" @@ -37559,44 +45363,44 @@ }, { "type": "VariableDeclaration", - "start": 22154, - "end": 22189, + "start": 25611, + "end": 25646, "loc": { "start": { - "line": 446, + "line": 550, "column": 8 }, "end": { - "line": 446, + "line": 550, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22160, - "end": 22188, + "start": 25617, + "end": 25645, "loc": { "start": { - "line": 446, + "line": 550, "column": 14 }, "end": { - "line": 446, + "line": 550, "column": 42 } }, "id": { "type": "Identifier", - "start": 22160, - "end": 22171, + "start": 25617, + "end": 25628, "loc": { "start": { - "line": 446, + "line": 550, "column": 14 }, "end": { - "line": 446, + "line": 550, "column": 25 }, "identifierName": "elementsize" @@ -37605,29 +45409,29 @@ }, "init": { "type": "MemberExpression", - "start": 22174, - "end": 22188, + "start": 25631, + "end": 25645, "loc": { "start": { - "line": 446, + "line": 550, "column": 28 }, "end": { - "line": 446, + "line": 550, "column": 42 } }, "object": { "type": "Identifier", - "start": 22174, - "end": 22181, + "start": 25631, + "end": 25638, "loc": { "start": { - "line": 446, + "line": 550, "column": 28 }, "end": { - "line": 446, + "line": 550, "column": 35 }, "identifierName": "element" @@ -37636,15 +45440,15 @@ }, "property": { "type": "Identifier", - "start": 22182, - "end": 22188, + "start": 25639, + "end": 25645, "loc": { "start": { - "line": 446, + "line": 550, "column": 36 }, "end": { - "line": 446, + "line": 550, "column": 42 }, "identifierName": "length" @@ -37659,58 +45463,58 @@ }, { "type": "ExpressionStatement", - "start": 22198, - "end": 22229, + "start": 25655, + "end": 25686, "loc": { "start": { - "line": 447, + "line": 551, "column": 8 }, "end": { - "line": 447, + "line": 551, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 22198, - "end": 22228, + "start": 25655, + "end": 25685, "loc": { "start": { - "line": 447, + "line": 551, "column": 8 }, "end": { - "line": 447, + "line": 551, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 22198, - "end": 22214, + "start": 25655, + "end": 25671, "loc": { "start": { - "line": 447, + "line": 551, "column": 8 }, "end": { - "line": 447, + "line": 551, "column": 24 } }, "object": { "type": "Identifier", - "start": 22198, - "end": 22207, + "start": 25655, + "end": 25664, "loc": { "start": { - "line": 447, + "line": 551, "column": 8 }, "end": { - "line": 447, + "line": 551, "column": 17 }, "identifierName": "indexData" @@ -37719,29 +45523,29 @@ }, "property": { "type": "BinaryExpression", - "start": 22208, - "end": 22213, + "start": 25665, + "end": 25670, "loc": { "start": { - "line": 447, + "line": 551, "column": 18 }, "end": { - "line": 447, + "line": 551, "column": 23 } }, "left": { "type": "Identifier", - "start": 22208, - "end": 22209, + "start": 25665, + "end": 25666, "loc": { "start": { - "line": 447, + "line": 551, "column": 18 }, "end": { - "line": 447, + "line": 551, "column": 19 }, "identifierName": "i" @@ -37751,15 +45555,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 22212, - "end": 22213, + "start": 25669, + "end": 25670, "loc": { "start": { - "line": 447, + "line": 551, "column": 22 }, "end": { - "line": 447, + "line": 551, "column": 23 } }, @@ -37774,15 +45578,15 @@ }, "right": { "type": "Identifier", - "start": 22217, - "end": 22228, + "start": 25674, + "end": 25685, "loc": { "start": { - "line": 447, + "line": 551, "column": 27 }, "end": { - "line": 447, + "line": 551, "column": 38 }, "identifierName": "elementsize" @@ -37793,44 +45597,44 @@ }, { "type": "ExpressionStatement", - "start": 22238, - "end": 22261, + "start": 25695, + "end": 25718, "loc": { "start": { - "line": 448, + "line": 552, "column": 8 }, "end": { - "line": 448, + "line": 552, "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 22238, - "end": 22260, + "start": 25695, + "end": 25717, "loc": { "start": { - "line": 448, + "line": 552, "column": 8 }, "end": { - "line": 448, + "line": 552, "column": 30 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 22238, - "end": 22245, + "start": 25695, + "end": 25702, "loc": { "start": { - "line": 448, + "line": 552, "column": 8 }, "end": { - "line": 448, + "line": 552, "column": 15 }, "identifierName": "dataLen" @@ -37839,15 +45643,15 @@ }, "right": { "type": "Identifier", - "start": 22249, - "end": 22260, + "start": 25706, + "end": 25717, "loc": { "start": { - "line": 448, + "line": 552, "column": 19 }, "end": { - "line": 448, + "line": 552, "column": 30 }, "identifierName": "elementsize" @@ -37863,15 +45667,15 @@ { "type": "CommentLine", "value": " Stored Data 1.2: length of stored elements", - "start": 22004, - "end": 22049, + "start": 25461, + "end": 25506, "loc": { "start": { - "line": 443, + "line": 547, "column": 24 }, "end": { - "line": 443, + "line": 547, "column": 69 } } @@ -37880,44 +45684,44 @@ }, { "type": "VariableDeclaration", - "start": 22272, - "end": 22322, + "start": 25729, + "end": 25779, "loc": { "start": { - "line": 450, + "line": 554, "column": 4 }, "end": { - "line": 450, + "line": 554, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22278, - "end": 22321, + "start": 25735, + "end": 25778, "loc": { "start": { - "line": 450, + "line": 554, "column": 10 }, "end": { - "line": 450, + "line": 554, "column": 53 } }, "id": { "type": "Identifier", - "start": 22278, - "end": 22286, + "start": 25735, + "end": 25743, "loc": { "start": { - "line": 450, + "line": 554, "column": 10 }, "end": { - "line": 450, + "line": 554, "column": 18 }, "identifierName": "indexBuf" @@ -37926,29 +45730,29 @@ }, "init": { "type": "NewExpression", - "start": 22289, - "end": 22321, + "start": 25746, + "end": 25778, "loc": { "start": { - "line": 450, + "line": 554, "column": 21 }, "end": { - "line": 450, + "line": 554, "column": 53 } }, "callee": { "type": "Identifier", - "start": 22293, - "end": 22303, + "start": 25750, + "end": 25760, "loc": { "start": { - "line": 450, + "line": 554, "column": 25 }, "end": { - "line": 450, + "line": 554, "column": 35 }, "identifierName": "Uint8Array" @@ -37958,29 +45762,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 22304, - "end": 22320, + "start": 25761, + "end": 25777, "loc": { "start": { - "line": 450, + "line": 554, "column": 36 }, "end": { - "line": 450, + "line": 554, "column": 52 } }, "object": { "type": "Identifier", - "start": 22304, - "end": 22313, + "start": 25761, + "end": 25770, "loc": { "start": { - "line": 450, + "line": 554, "column": 36 }, "end": { - "line": 450, + "line": 554, "column": 45 }, "identifierName": "indexData" @@ -37989,15 +45793,15 @@ }, "property": { "type": "Identifier", - "start": 22314, - "end": 22320, + "start": 25771, + "end": 25777, "loc": { "start": { - "line": 450, + "line": 554, "column": 46 }, "end": { - "line": 450, + "line": 554, "column": 52 }, "identifierName": "buffer" @@ -38014,44 +45818,44 @@ }, { "type": "VariableDeclaration", - "start": 22327, - "end": 22387, + "start": 25784, + "end": 25844, "loc": { "start": { - "line": 451, + "line": 555, "column": 4 }, "end": { - "line": 451, + "line": 555, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22333, - "end": 22386, + "start": 25790, + "end": 25843, "loc": { "start": { - "line": 451, + "line": 555, "column": 10 }, "end": { - "line": 451, + "line": 555, "column": 63 } }, "id": { "type": "Identifier", - "start": 22333, - "end": 22342, + "start": 25790, + "end": 25799, "loc": { "start": { - "line": 451, + "line": 555, "column": 10 }, "end": { - "line": 451, + "line": 555, "column": 19 }, "identifierName": "dataArray" @@ -38060,29 +45864,29 @@ }, "init": { "type": "NewExpression", - "start": 22345, - "end": 22386, + "start": 25802, + "end": 25843, "loc": { "start": { - "line": 451, + "line": 555, "column": 22 }, "end": { - "line": 451, + "line": 555, "column": 63 } }, "callee": { "type": "Identifier", - "start": 22349, - "end": 22359, + "start": 25806, + "end": 25816, "loc": { "start": { - "line": 451, + "line": 555, "column": 26 }, "end": { - "line": 451, + "line": 555, "column": 36 }, "identifierName": "Uint8Array" @@ -38092,43 +45896,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 22360, - "end": 22385, + "start": 25817, + "end": 25842, "loc": { "start": { - "line": 451, + "line": 555, "column": 37 }, "end": { - "line": 451, + "line": 555, "column": 62 } }, "left": { "type": "MemberExpression", - "start": 22360, - "end": 22375, + "start": 25817, + "end": 25832, "loc": { "start": { - "line": 451, + "line": 555, "column": 37 }, "end": { - "line": 451, + "line": 555, "column": 52 } }, "object": { "type": "Identifier", - "start": 22360, - "end": 22368, + "start": 25817, + "end": 25825, "loc": { "start": { - "line": 451, + "line": 555, "column": 37 }, "end": { - "line": 451, + "line": 555, "column": 45 }, "identifierName": "indexBuf" @@ -38137,15 +45941,15 @@ }, "property": { "type": "Identifier", - "start": 22369, - "end": 22375, + "start": 25826, + "end": 25832, "loc": { "start": { - "line": 451, + "line": 555, "column": 46 }, "end": { - "line": 451, + "line": 555, "column": 52 }, "identifierName": "length" @@ -38157,15 +45961,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 22378, - "end": 22385, + "start": 25835, + "end": 25842, "loc": { "start": { - "line": 451, + "line": 555, "column": 55 }, "end": { - "line": 451, + "line": 555, "column": 62 }, "identifierName": "dataLen" @@ -38181,57 +45985,57 @@ }, { "type": "ExpressionStatement", - "start": 22392, - "end": 22416, + "start": 25849, + "end": 25873, "loc": { "start": { - "line": 452, + "line": 556, "column": 4 }, "end": { - "line": 452, + "line": 556, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 22392, - "end": 22415, + "start": 25849, + "end": 25872, "loc": { "start": { - "line": 452, + "line": 556, "column": 4 }, "end": { - "line": 452, + "line": 556, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 22392, - "end": 22405, + "start": 25849, + "end": 25862, "loc": { "start": { - "line": 452, + "line": 556, "column": 4 }, "end": { - "line": 452, + "line": 556, "column": 17 } }, "object": { "type": "Identifier", - "start": 22392, - "end": 22401, + "start": 25849, + "end": 25858, "loc": { "start": { - "line": 452, + "line": 556, "column": 4 }, "end": { - "line": 452, + "line": 556, "column": 13 }, "identifierName": "dataArray" @@ -38240,15 +46044,15 @@ }, "property": { "type": "Identifier", - "start": 22402, - "end": 22405, + "start": 25859, + "end": 25862, "loc": { "start": { - "line": 452, + "line": 556, "column": 14 }, "end": { - "line": 452, + "line": 556, "column": 17 }, "identifierName": "set" @@ -38260,15 +46064,15 @@ "arguments": [ { "type": "Identifier", - "start": 22406, - "end": 22414, + "start": 25863, + "end": 25871, "loc": { "start": { - "line": 452, + "line": 556, "column": 18 }, "end": { - "line": 452, + "line": 556, "column": 26 }, "identifierName": "indexBuf" @@ -38280,44 +46084,44 @@ }, { "type": "VariableDeclaration", - "start": 22421, - "end": 22450, + "start": 25878, + "end": 25907, "loc": { "start": { - "line": 453, + "line": 557, "column": 4 }, "end": { - "line": 453, + "line": 557, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22425, - "end": 22449, + "start": 25882, + "end": 25906, "loc": { "start": { - "line": 453, + "line": 557, "column": 8 }, "end": { - "line": 453, + "line": 557, "column": 32 } }, "id": { "type": "Identifier", - "start": 22425, - "end": 22431, + "start": 25882, + "end": 25888, "loc": { "start": { - "line": 453, + "line": 557, "column": 8 }, "end": { - "line": 453, + "line": 557, "column": 14 }, "identifierName": "offset" @@ -38326,29 +46130,29 @@ }, "init": { "type": "MemberExpression", - "start": 22434, - "end": 22449, + "start": 25891, + "end": 25906, "loc": { "start": { - "line": 453, + "line": 557, "column": 17 }, "end": { - "line": 453, + "line": 557, "column": 32 } }, "object": { "type": "Identifier", - "start": 22434, - "end": 22442, + "start": 25891, + "end": 25899, "loc": { "start": { - "line": 453, + "line": 557, "column": 17 }, "end": { - "line": 453, + "line": 557, "column": 25 }, "identifierName": "indexBuf" @@ -38357,15 +46161,15 @@ }, "property": { "type": "Identifier", - "start": 22443, - "end": 22449, + "start": 25900, + "end": 25906, "loc": { "start": { - "line": 453, + "line": 557, "column": 26 }, "end": { - "line": 453, + "line": 557, "column": 32 }, "identifierName": "length" @@ -38380,58 +46184,58 @@ }, { "type": "ForStatement", - "start": 22455, - "end": 22672, + "start": 25912, + "end": 26129, "loc": { "start": { - "line": 454, + "line": 558, "column": 4 }, "end": { - "line": 458, + "line": 562, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 22460, - "end": 22492, + "start": 25917, + "end": 25949, "loc": { "start": { - "line": 454, + "line": 558, "column": 9 }, "end": { - "line": 454, + "line": 558, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22464, - "end": 22469, + "start": 25921, + "end": 25926, "loc": { "start": { - "line": 454, + "line": 558, "column": 13 }, "end": { - "line": 454, + "line": 558, "column": 18 } }, "id": { "type": "Identifier", - "start": 22464, - "end": 22465, + "start": 25921, + "end": 25922, "loc": { "start": { - "line": 454, + "line": 558, "column": 13 }, "end": { - "line": 454, + "line": 558, "column": 14 }, "identifierName": "i" @@ -38440,15 +46244,15 @@ }, "init": { "type": "NumericLiteral", - "start": 22468, - "end": 22469, + "start": 25925, + "end": 25926, "loc": { "start": { - "line": 454, + "line": 558, "column": 17 }, "end": { - "line": 454, + "line": 558, "column": 18 } }, @@ -38461,29 +46265,29 @@ }, { "type": "VariableDeclarator", - "start": 22471, - "end": 22492, + "start": 25928, + "end": 25949, "loc": { "start": { - "line": 454, + "line": 558, "column": 20 }, "end": { - "line": 454, + "line": 558, "column": 41 } }, "id": { "type": "Identifier", - "start": 22471, - "end": 22474, + "start": 25928, + "end": 25931, "loc": { "start": { - "line": 454, + "line": 558, "column": 20 }, "end": { - "line": 454, + "line": 558, "column": 23 }, "identifierName": "len" @@ -38492,29 +46296,29 @@ }, "init": { "type": "MemberExpression", - "start": 22477, - "end": 22492, + "start": 25934, + "end": 25949, "loc": { "start": { - "line": 454, + "line": 558, "column": 26 }, "end": { - "line": 454, + "line": 558, "column": 41 } }, "object": { "type": "Identifier", - "start": 22477, - "end": 22485, + "start": 25934, + "end": 25942, "loc": { "start": { - "line": 454, + "line": 558, "column": 26 }, "end": { - "line": 454, + "line": 558, "column": 34 }, "identifierName": "elements" @@ -38523,15 +46327,15 @@ }, "property": { "type": "Identifier", - "start": 22486, - "end": 22492, + "start": 25943, + "end": 25949, "loc": { "start": { - "line": 454, + "line": 558, "column": 35 }, "end": { - "line": 454, + "line": 558, "column": 41 }, "identifierName": "length" @@ -38546,29 +46350,29 @@ }, "test": { "type": "BinaryExpression", - "start": 22494, - "end": 22501, + "start": 25951, + "end": 25958, "loc": { "start": { - "line": 454, + "line": 558, "column": 43 }, "end": { - "line": 454, + "line": 558, "column": 50 } }, "left": { "type": "Identifier", - "start": 22494, - "end": 22495, + "start": 25951, + "end": 25952, "loc": { "start": { - "line": 454, + "line": 558, "column": 43 }, "end": { - "line": 454, + "line": 558, "column": 44 }, "identifierName": "i" @@ -38578,15 +46382,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 22498, - "end": 22501, + "start": 25955, + "end": 25958, "loc": { "start": { - "line": 454, + "line": 558, "column": 47 }, "end": { - "line": 454, + "line": 558, "column": 50 }, "identifierName": "len" @@ -38596,15 +46400,15 @@ }, "update": { "type": "UpdateExpression", - "start": 22503, - "end": 22506, + "start": 25960, + "end": 25963, "loc": { "start": { - "line": 454, + "line": 558, "column": 52 }, "end": { - "line": 454, + "line": 558, "column": 55 } }, @@ -38612,15 +46416,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 22503, - "end": 22504, + "start": 25960, + "end": 25961, "loc": { "start": { - "line": 454, + "line": 558, "column": 52 }, "end": { - "line": 454, + "line": 558, "column": 53 }, "identifierName": "i" @@ -38630,59 +46434,59 @@ }, "body": { "type": "BlockStatement", - "start": 22508, - "end": 22672, + "start": 25965, + "end": 26129, "loc": { "start": { - "line": 454, + "line": 558, "column": 57 }, "end": { - "line": 458, + "line": 562, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 22564, - "end": 22592, + "start": 26021, + "end": 26049, "loc": { "start": { - "line": 455, + "line": 559, "column": 8 }, "end": { - "line": 455, + "line": 559, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 22570, - "end": 22591, + "start": 26027, + "end": 26048, "loc": { "start": { - "line": 455, + "line": 559, "column": 14 }, "end": { - "line": 455, + "line": 559, "column": 35 } }, "id": { "type": "Identifier", - "start": 22570, - "end": 22577, + "start": 26027, + "end": 26034, "loc": { "start": { - "line": 455, + "line": 559, "column": 14 }, "end": { - "line": 455, + "line": 559, "column": 21 }, "identifierName": "element" @@ -38692,29 +46496,29 @@ }, "init": { "type": "MemberExpression", - "start": 22580, - "end": 22591, + "start": 26037, + "end": 26048, "loc": { "start": { - "line": 455, + "line": 559, "column": 24 }, "end": { - "line": 455, + "line": 559, "column": 35 } }, "object": { "type": "Identifier", - "start": 22580, - "end": 22588, + "start": 26037, + "end": 26045, "loc": { "start": { - "line": 455, + "line": 559, "column": 24 }, "end": { - "line": 455, + "line": 559, "column": 32 }, "identifierName": "elements" @@ -38723,15 +46527,15 @@ }, "property": { "type": "Identifier", - "start": 22589, - "end": 22590, + "start": 26046, + "end": 26047, "loc": { "start": { - "line": 455, + "line": 559, "column": 33 }, "end": { - "line": 455, + "line": 559, "column": 34 }, "identifierName": "i" @@ -38748,15 +46552,15 @@ { "type": "CommentLine", "value": " Stored Data 2: the elements themselves", - "start": 22514, - "end": 22555, + "start": 25971, + "end": 26012, "loc": { "start": { - "line": 454, + "line": 558, "column": 63 }, "end": { - "line": 454, + "line": 558, "column": 104 } } @@ -38765,57 +46569,57 @@ }, { "type": "ExpressionStatement", - "start": 22601, - "end": 22632, + "start": 26058, + "end": 26089, "loc": { "start": { - "line": 456, + "line": 560, "column": 8 }, "end": { - "line": 456, + "line": 560, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 22601, - "end": 22631, + "start": 26058, + "end": 26088, "loc": { "start": { - "line": 456, + "line": 560, "column": 8 }, "end": { - "line": 456, + "line": 560, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 22601, - "end": 22614, + "start": 26058, + "end": 26071, "loc": { "start": { - "line": 456, + "line": 560, "column": 8 }, "end": { - "line": 456, + "line": 560, "column": 21 } }, "object": { "type": "Identifier", - "start": 22601, - "end": 22610, + "start": 26058, + "end": 26067, "loc": { "start": { - "line": 456, + "line": 560, "column": 8 }, "end": { - "line": 456, + "line": 560, "column": 17 }, "identifierName": "dataArray" @@ -38824,15 +46628,15 @@ }, "property": { "type": "Identifier", - "start": 22611, - "end": 22614, + "start": 26068, + "end": 26071, "loc": { "start": { - "line": 456, + "line": 560, "column": 18 }, "end": { - "line": 456, + "line": 560, "column": 21 }, "identifierName": "set" @@ -38844,15 +46648,15 @@ "arguments": [ { "type": "Identifier", - "start": 22615, - "end": 22622, + "start": 26072, + "end": 26079, "loc": { "start": { - "line": 456, + "line": 560, "column": 22 }, "end": { - "line": 456, + "line": 560, "column": 29 }, "identifierName": "element" @@ -38861,15 +46665,15 @@ }, { "type": "Identifier", - "start": 22624, - "end": 22630, + "start": 26081, + "end": 26087, "loc": { "start": { - "line": 456, + "line": 560, "column": 31 }, "end": { - "line": 456, + "line": 560, "column": 37 }, "identifierName": "offset" @@ -38881,44 +46685,44 @@ }, { "type": "ExpressionStatement", - "start": 22641, - "end": 22666, + "start": 26098, + "end": 26123, "loc": { "start": { - "line": 457, + "line": 561, "column": 8 }, "end": { - "line": 457, + "line": 561, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 22641, - "end": 22665, + "start": 26098, + "end": 26122, "loc": { "start": { - "line": 457, + "line": 561, "column": 8 }, "end": { - "line": 457, + "line": 561, "column": 32 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 22641, - "end": 22647, + "start": 26098, + "end": 26104, "loc": { "start": { - "line": 457, + "line": 561, "column": 8 }, "end": { - "line": 457, + "line": 561, "column": 14 }, "identifierName": "offset" @@ -38927,29 +46731,29 @@ }, "right": { "type": "MemberExpression", - "start": 22651, - "end": 22665, + "start": 26108, + "end": 26122, "loc": { "start": { - "line": 457, + "line": 561, "column": 18 }, "end": { - "line": 457, + "line": 561, "column": 32 } }, "object": { "type": "Identifier", - "start": 22651, - "end": 22658, + "start": 26108, + "end": 26115, "loc": { "start": { - "line": 457, + "line": 561, "column": 18 }, "end": { - "line": 457, + "line": 561, "column": 25 }, "identifierName": "element" @@ -38958,15 +46762,15 @@ }, "property": { "type": "Identifier", - "start": 22659, - "end": 22665, + "start": 26116, + "end": 26122, "loc": { "start": { - "line": 457, + "line": 561, "column": 26 }, "end": { - "line": 457, + "line": 561, "column": 32 }, "identifierName": "length" @@ -38983,43 +46787,43 @@ }, { "type": "ReturnStatement", - "start": 22677, - "end": 22701, + "start": 26134, + "end": 26158, "loc": { "start": { - "line": 459, + "line": 563, "column": 4 }, "end": { - "line": 459, + "line": 563, "column": 28 } }, "argument": { "type": "MemberExpression", - "start": 22684, - "end": 22700, + "start": 26141, + "end": 26157, "loc": { "start": { - "line": 459, + "line": 563, "column": 11 }, "end": { - "line": 459, + "line": 563, "column": 27 } }, "object": { "type": "Identifier", - "start": 22684, - "end": 22693, + "start": 26141, + "end": 26150, "loc": { "start": { - "line": 459, + "line": 563, "column": 11 }, "end": { - "line": 459, + "line": 563, "column": 20 }, "identifierName": "dataArray" @@ -39028,15 +46832,15 @@ }, "property": { "type": "Identifier", - "start": 22694, - "end": 22700, + "start": 26151, + "end": 26157, "loc": { "start": { - "line": 459, + "line": 563, "column": 21 }, "end": { - "line": 459, + "line": 563, "column": 27 }, "identifierName": "buffer" @@ -39052,15 +46856,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 22705, - "end": 22741, + "start": 26162, + "end": 26198, "loc": { "start": { - "line": 462, + "line": 566, "column": 0 }, "end": { - "line": 462, + "line": 566, "column": 36 } }, @@ -39068,29 +46872,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 22713, - "end": 22739, + "start": 26170, + "end": 26196, "loc": { "start": { - "line": 462, + "line": 566, "column": 8 }, "end": { - "line": 462, + "line": 566, "column": 34 } }, "local": { "type": "Identifier", - "start": 22713, - "end": 22739, + "start": 26170, + "end": 26196, "loc": { "start": { - "line": 462, + "line": 566, "column": 8 }, "end": { - "line": 462, + "line": 566, "column": 34 }, "identifierName": "writeXKTModelToArrayBuffer" @@ -39099,15 +46903,15 @@ }, "exported": { "type": "Identifier", - "start": 22713, - "end": 22739, + "start": 26170, + "end": 26196, "loc": { "start": { - "line": 462, + "line": 566, "column": 8 }, "end": { - "line": 462, + "line": 566, "column": 34 }, "identifierName": "writeXKTModelToArrayBuffer" @@ -39120,29 +46924,29 @@ }, { "type": "ExportNamedDeclaration", - "start": 22705, - "end": 22741, + "start": 26162, + "end": 26198, "loc": { "start": { - "line": 462, + "line": 566, "column": 0 }, "end": { - "line": 462, + "line": 566, "column": 36 } }, "declaration": { "type": "FunctionDeclaration", "start": 587, - "end": 942, + "end": 1060, "loc": { "start": { "line": 18, "column": 0 }, "end": { - "line": 24, + "line": 27, "column": 1 } }, @@ -39240,37 +47044,52 @@ "body": { "type": "BlockStatement", "start": 664, - "end": 942, + "end": 1060, "loc": { "start": { "line": 18, "column": 77 }, "end": { - "line": 24, + "line": 27, "column": 1 } }, "body": [ { - "type": "VariableDeclaration", + "type": "IfStatement", "start": 670, - "end": 728, + "end": 783, "loc": { "start": { "line": 19, "column": 4 }, "end": { - "line": 19, - "column": 62 + "line": 21, + "column": 5 } }, - "declarations": [ - { - "type": "VariableDeclarator", + "test": { + "type": "UnaryExpression", + "start": 674, + "end": 687, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 21 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", "start": 676, - "end": 727, + "end": 687, "loc": { "start": { "line": 19, @@ -39278,13 +47097,13 @@ }, "end": { "line": 19, - "column": 61 + "column": 21 } }, - "id": { + "object": { "type": "Identifier", "start": 676, - "end": 680, + "end": 683, "loc": { "start": { "line": 19, @@ -39292,6 +47111,195 @@ }, "end": { "line": 19, + "column": 17 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 684, + "end": 687, + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 21 + }, + "identifierName": "zip" + }, + "name": "zip" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 689, + "end": 783, + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 21, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 699, + "end": 777, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 86 + } + }, + "argument": { + "type": "CallExpression", + "start": 706, + "end": 776, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 85 + } + }, + "callee": { + "type": "Identifier", + "start": 706, + "end": 744, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 53 + }, + "identifierName": "writeXKTModelToArrayBufferUncompressed" + }, + "name": "writeXKTModelToArrayBufferUncompressed" + }, + "arguments": [ + { + "type": "Identifier", + "start": 745, + "end": 753, + "loc": { + "start": { + "line": 20, + "column": 54 + }, + "end": { + "line": 20, + "column": 62 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + { + "type": "Identifier", + "start": 755, + "end": 768, + "loc": { + "start": { + "line": 20, + "column": 64 + }, + "end": { + "line": 20, + "column": 77 + }, + "identifierName": "metaModelJSON" + }, + "name": "metaModelJSON" + }, + { + "type": "Identifier", + "start": 770, + "end": 775, + "loc": { + "start": { + "line": 20, + "column": 79 + }, + "end": { + "line": 20, + "column": 84 + }, + "identifierName": "stats" + }, + "name": "stats" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 788, + "end": 846, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 62 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 794, + "end": 845, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 61 + } + }, + "id": { + "type": "Identifier", + "start": 794, + "end": 798, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, "column": 14 }, "identifierName": "data" @@ -39300,29 +47308,29 @@ }, "init": { "type": "CallExpression", - "start": 683, - "end": 727, + "start": 801, + "end": 845, "loc": { "start": { - "line": 19, + "line": 22, "column": 17 }, "end": { - "line": 19, + "line": 22, "column": 61 } }, "callee": { "type": "Identifier", - "start": 683, - "end": 695, + "start": 801, + "end": 813, "loc": { "start": { - "line": 19, + "line": 22, "column": 17 }, "end": { - "line": 19, + "line": 22, "column": 29 }, "identifierName": "getModelData" @@ -39332,15 +47340,15 @@ "arguments": [ { "type": "Identifier", - "start": 696, - "end": 704, + "start": 814, + "end": 822, "loc": { "start": { - "line": 19, + "line": 22, "column": 30 }, "end": { - "line": 19, + "line": 22, "column": 38 }, "identifierName": "xktModel" @@ -39349,15 +47357,15 @@ }, { "type": "Identifier", - "start": 706, - "end": 719, + "start": 824, + "end": 837, "loc": { "start": { - "line": 19, + "line": 22, "column": 40 }, "end": { - "line": 19, + "line": 22, "column": 53 }, "identifierName": "metaModelJSON" @@ -39366,15 +47374,15 @@ }, { "type": "Identifier", - "start": 721, - "end": 726, + "start": 839, + "end": 844, "loc": { "start": { - "line": 19, + "line": 22, "column": 55 }, "end": { - "line": 19, + "line": 22, "column": 60 }, "identifierName": "stats" @@ -39389,44 +47397,44 @@ }, { "type": "VariableDeclaration", - "start": 733, - "end": 796, + "start": 851, + "end": 914, "loc": { "start": { - "line": 20, + "line": 23, "column": 4 }, "end": { - "line": 20, + "line": 23, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 739, - "end": 795, + "start": 857, + "end": 913, "loc": { "start": { - "line": 20, + "line": 23, "column": 10 }, "end": { - "line": 20, + "line": 23, "column": 66 } }, "id": { "type": "Identifier", - "start": 739, - "end": 751, + "start": 857, + "end": 869, "loc": { "start": { - "line": 20, + "line": 23, "column": 10 }, "end": { - "line": 20, + "line": 23, "column": 22 }, "identifierName": "deflatedData" @@ -39435,29 +47443,29 @@ }, "init": { "type": "CallExpression", - "start": 754, - "end": 795, + "start": 872, + "end": 913, "loc": { "start": { - "line": 20, + "line": 23, "column": 25 }, "end": { - "line": 20, + "line": 23, "column": 66 } }, "callee": { "type": "Identifier", - "start": 754, - "end": 765, + "start": 872, + "end": 883, "loc": { "start": { - "line": 20, + "line": 23, "column": 25 }, "end": { - "line": 20, + "line": 23, "column": 36 }, "identifierName": "deflateData" @@ -39467,15 +47475,15 @@ "arguments": [ { "type": "Identifier", - "start": 766, - "end": 770, + "start": 884, + "end": 888, "loc": { "start": { - "line": 20, + "line": 23, "column": 37 }, "end": { - "line": 20, + "line": 23, "column": 41 }, "identifierName": "data" @@ -39484,15 +47492,15 @@ }, { "type": "Identifier", - "start": 772, - "end": 785, + "start": 890, + "end": 903, "loc": { "start": { - "line": 20, + "line": 23, "column": 43 }, "end": { - "line": 20, + "line": 23, "column": 56 }, "identifierName": "metaModelJSON" @@ -39501,15 +47509,15 @@ }, { "type": "Identifier", - "start": 787, - "end": 794, + "start": 905, + "end": 912, "loc": { "start": { - "line": 20, + "line": 23, "column": 58 }, "end": { - "line": 20, + "line": 23, "column": 65 }, "identifierName": "options" @@ -39524,58 +47532,58 @@ }, { "type": "ExpressionStatement", - "start": 801, - "end": 859, + "start": 919, + "end": 977, "loc": { "start": { - "line": 21, + "line": 24, "column": 4 }, "end": { - "line": 21, + "line": 24, "column": 62 } }, "expression": { "type": "AssignmentExpression", - "start": 801, - "end": 858, + "start": 919, + "end": 976, "loc": { "start": { - "line": 21, + "line": 24, "column": 4 }, "end": { - "line": 21, + "line": 24, "column": 61 } }, "operator": "+=", "left": { "type": "MemberExpression", - "start": 801, - "end": 819, + "start": 919, + "end": 937, "loc": { "start": { - "line": 21, + "line": 24, "column": 4 }, "end": { - "line": 21, + "line": 24, "column": 22 } }, "object": { "type": "Identifier", - "start": 801, - "end": 806, + "start": 919, + "end": 924, "loc": { "start": { - "line": 21, + "line": 24, "column": 4 }, "end": { - "line": 21, + "line": 24, "column": 9 }, "identifierName": "stats" @@ -39584,15 +47592,15 @@ }, "property": { "type": "Identifier", - "start": 807, - "end": 819, + "start": 925, + "end": 937, "loc": { "start": { - "line": 21, + "line": 24, "column": 10 }, "end": { - "line": 21, + "line": 24, "column": 22 }, "identifierName": "texturesSize" @@ -39603,43 +47611,43 @@ }, "right": { "type": "MemberExpression", - "start": 823, - "end": 858, + "start": 941, + "end": 976, "loc": { "start": { - "line": 21, + "line": 24, "column": 26 }, "end": { - "line": 21, + "line": 24, "column": 61 } }, "object": { "type": "MemberExpression", - "start": 823, - "end": 847, + "start": 941, + "end": 965, "loc": { "start": { - "line": 21, + "line": 24, "column": 26 }, "end": { - "line": 21, + "line": 24, "column": 50 } }, "object": { "type": "Identifier", - "start": 823, - "end": 835, + "start": 941, + "end": 953, "loc": { "start": { - "line": 21, + "line": 24, "column": 26 }, "end": { - "line": 21, + "line": 24, "column": 38 }, "identifierName": "deflatedData" @@ -39648,15 +47656,15 @@ }, "property": { "type": "Identifier", - "start": 836, - "end": 847, + "start": 954, + "end": 965, "loc": { "start": { - "line": 21, + "line": 24, "column": 39 }, "end": { - "line": 21, + "line": 24, "column": 50 }, "identifierName": "textureData" @@ -39667,15 +47675,15 @@ }, "property": { "type": "Identifier", - "start": 848, - "end": 858, + "start": 966, + "end": 976, "loc": { "start": { - "line": 21, + "line": 24, "column": 51 }, "end": { - "line": 21, + "line": 24, "column": 61 }, "identifierName": "byteLength" @@ -39688,44 +47696,44 @@ }, { "type": "VariableDeclaration", - "start": 864, - "end": 916, + "start": 982, + "end": 1034, "loc": { "start": { - "line": 22, + "line": 25, "column": 4 }, "end": { - "line": 22, + "line": 25, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 870, - "end": 915, + "start": 988, + "end": 1033, "loc": { "start": { - "line": 22, + "line": 25, "column": 10 }, "end": { - "line": 22, + "line": 25, "column": 55 } }, "id": { "type": "Identifier", - "start": 870, - "end": 881, + "start": 988, + "end": 999, "loc": { "start": { - "line": 22, + "line": 25, "column": 10 }, "end": { - "line": 22, + "line": 25, "column": 21 }, "identifierName": "arrayBuffer" @@ -39734,29 +47742,29 @@ }, "init": { "type": "CallExpression", - "start": 884, - "end": 915, + "start": 1002, + "end": 1033, "loc": { "start": { - "line": 22, + "line": 25, "column": 24 }, "end": { - "line": 22, + "line": 25, "column": 55 } }, "callee": { "type": "Identifier", - "start": 884, - "end": 901, + "start": 1002, + "end": 1019, "loc": { "start": { - "line": 22, + "line": 25, "column": 24 }, "end": { - "line": 22, + "line": 25, "column": 41 }, "identifierName": "createArrayBuffer" @@ -39766,15 +47774,15 @@ "arguments": [ { "type": "Identifier", - "start": 902, - "end": 914, + "start": 1020, + "end": 1032, "loc": { "start": { - "line": 22, + "line": 25, "column": 42 }, "end": { - "line": 22, + "line": 25, "column": 54 }, "identifierName": "deflatedData" @@ -39789,29 +47797,29 @@ }, { "type": "ReturnStatement", - "start": 921, - "end": 940, + "start": 1039, + "end": 1058, "loc": { "start": { - "line": 23, + "line": 26, "column": 4 }, "end": { - "line": 23, + "line": 26, "column": 23 } }, "argument": { "type": "Identifier", - "start": 928, - "end": 939, + "start": 1046, + "end": 1057, "loc": { "start": { - "line": 23, + "line": 26, "column": 11 }, "end": { - "line": 23, + "line": 26, "column": 22 }, "identifierName": "arrayBuffer" @@ -39820,7 +47828,8 @@ } } ], - "directives": [] + "directives": [], + "trailingComments": null }, "leadingComments": [ { @@ -39840,870 +47849,16947 @@ } } ], - "trailingComments": [] + "trailingComments": [ + { + "type": "CommentLine", + "value": " V11", + "start": 1062, + "end": 1068, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 6 + } + } + } + ] + }, + "specifiers": null, + "source": null, + "leadingComments": null + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * Writes an {@link XKTModel} to an {@link ArrayBuffer}.\n *\n * @param {XKTModel} xktModel The {@link XKTModel}.\n * @param {String} metaModelJSON The metamodel JSON in a string.\n * @param {Object} [stats] Collects statistics.\n * @param {Object} options Options for how the XKT is written.\n * @param {Boolean} [options.zip=true] ZIP the contents?\n * @returns {ArrayBuffer} The {@link ArrayBuffer}.\n ", + "start": 183, + "end": 586, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 17, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " V11", + "start": 1062, + "end": 1068, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + { + "type": "CommentLine", + "value": " Store arrays' offsets and lengths", + "start": 2656, + "end": 2692, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 40 + } + } + }, + { + "type": "CommentLine", + "value": " align to BPE, so the arrayBuffer can be used for a typed array", + "start": 2817, + "end": 2882, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 73 + } + } + }, + { + "type": "CommentLine", + "value": " Store arrays themselves", + "start": 3517, + "end": 3543, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 30 + } + } + }, + { + "type": "CommentLine", + "value": "------------------------------------------------------------------------------------------------------------------", + "start": 4439, + "end": 4555, + "loc": { + "start": { + "line": 132, + "column": 4 + }, + "end": { + "line": 132, + "column": 120 + } + } + }, + { + "type": "CommentLine", + "value": " Allocate data", + "start": 4560, + "end": 4576, + "loc": { + "start": { + "line": 133, + "column": 4 + }, + "end": { + "line": 133, + "column": 20 + } + } + }, + { + "type": "CommentLine", + "value": "------------------------------------------------------------------------------------------------------------------", + "start": 4581, + "end": 4697, + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 134, + "column": 120 + } + } + }, + { + "type": "CommentLine", + "value": " All textures", + "start": 7052, + "end": 7067, + "loc": { + "start": { + "line": 204, + "column": 50 + }, + "end": { + "line": 204, + "column": 65 + } + } + }, + { + "type": "CommentLine", + "value": " For each texture, an index to its first element in textureData", + "start": 7130, + "end": 7195, + "loc": { + "start": { + "line": 205, + "column": 62 + }, + "end": { + "line": 205, + "column": 127 + } + } + }, + { + "type": "CommentLine", + "value": " All geometry arrays", + "start": 7332, + "end": 7354, + "loc": { + "start": { + "line": 207, + "column": 50 + }, + "end": { + "line": 207, + "column": 72 + } + } + }, + { + "type": "CommentLine", + "value": " For each texture set, a set of five Texture indices [color, metal/roughness,normals,emissive,occlusion]; each index has value -1 if no texture", + "start": 7649, + "end": 7794, + "loc": { + "start": { + "line": 213, + "column": 68 + }, + "end": { + "line": 213, + "column": 213 + } + } + }, + { + "type": "CommentLine", + "value": " Modeling matrices for entities that share geometries. Each entity either shares all it's geometries, or owns all its geometries exclusively. Exclusively-owned geometries are pre-transformed into World-space, and so their entities don't have modeling matrices in this array.", + "start": 7844, + "end": 8120, + "loc": { + "start": { + "line": 214, + "column": 49 + }, + "end": { + "line": 214, + "column": 325 + } + } + }, + { + "type": "CommentLine", + "value": " A single, global vertex position de-quantization matrix for all reused geometries. Reused geometries are quantized to their collective Local-space AABB, and this matrix is derived from that AABB.", + "start": 8216, + "end": 8414, + "loc": { + "start": { + "line": 215, + "column": 95 + }, + "end": { + "line": 215, + "column": 293 + } + } + }, + { + "type": "CommentLine", + "value": " Primitive type for each geometry (0=solid triangles, 1=surface triangles, 2=lines, 3=points, 4=line-strip)", + "start": 8481, + "end": 8590, + "loc": { + "start": { + "line": 216, + "column": 66 + }, + "end": { + "line": 216, + "column": 175 + } + } + }, + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.positions. Every primitive type has positions.", + "start": 8661, + "end": 8767, + "loc": { + "start": { + "line": 217, + "column": 70 + }, + "end": { + "line": 217, + "column": 176 + } + } + }, + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.normals. If the next geometry has the same index, then this geometry has no normals.", + "start": 8836, + "end": 8980, + "loc": { + "start": { + "line": 218, + "column": 68 + }, + "end": { + "line": 218, + "column": 212 + } + } + }, + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.colors. If the next geometry has the same index, then this geometry has no colors.", + "start": 9048, + "end": 9190, + "loc": { + "start": { + "line": 219, + "column": 67 + }, + "end": { + "line": 219, + "column": 209 + } + } + }, + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.uvs. If the next geometry has the same index, then this geometry has no UVs.", + "start": 9255, + "end": 9391, + "loc": { + "start": { + "line": 220, + "column": 64 + }, + "end": { + "line": 220, + "column": 200 + } + } + }, + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.indices. If the next geometry has the same index, then this geometry has no indices.", + "start": 9460, + "end": 9604, + "loc": { + "start": { + "line": 221, + "column": 68 + }, + "end": { + "line": 221, + "column": 212 + } + } + }, + { + "type": "CommentLine", + "value": " For each geometry, an index to its first element in data.edgeIndices. If the next geometry has the same index, then this geometry has no edge indices.", + "start": 9677, + "end": 9830, + "loc": { + "start": { + "line": 222, + "column": 72 + }, + "end": { + "line": 222, + "column": 225 + } + } + }, + { + "type": "CommentLine", + "value": " For each mesh, an index into the eachGeometry* arrays", + "start": 9894, + "end": 9950, + "loc": { + "start": { + "line": 223, + "column": 63 + }, + "end": { + "line": 223, + "column": 119 + } + } + }, + { + "type": "CommentLine", + "value": " For each mesh that shares its geometry, an index to its first element in data.matrices, to indicate the modeling matrix that transforms the shared geometry Local-space vertex positions. This is ignored for meshes that don't share geometries, because the vertex positions of non-shared geometries are pre-transformed into World-space.", + "start": 10012, + "end": 10348, + "loc": { + "start": { + "line": 224, + "column": 61 + }, + "end": { + "line": 224, + "column": 397 + } + } + }, + { + "type": "CommentLine", + "value": " For each mesh, the index of its texture set in data.eachTextureSetTextures; this array contains signed integers so that we can use -1 to indicate when a mesh has no texture set", + "start": 10404, + "end": 10583, + "loc": { + "start": { + "line": 225, + "column": 55 + }, + "end": { + "line": 225, + "column": 234 + } + } + }, + { + "type": "CommentLine", + "value": " For each mesh, an RGBA integer color of format [0..255, 0..255, 0..255, 0..255], and PBR metallic and roughness factors, of format [0..255, 0..255]", + "start": 10673, + "end": 10823, + "loc": { + "start": { + "line": 226, + "column": 89 + }, + "end": { + "line": 226, + "column": 239 + } + } + }, + { + "type": "CommentLine", + "value": " For each entity, an ID string", + "start": 10850, + "end": 10882, + "loc": { + "start": { + "line": 227, + "column": 26 + }, + "end": { + "line": 227, + "column": 58 + } + } + }, + { + "type": "CommentLine", + "value": " For each entity, the index of the first element of meshes used by the entity", + "start": 10946, + "end": 11025, + "loc": { + "start": { + "line": 228, + "column": 63 + }, + "end": { + "line": 228, + "column": 142 + } + } + }, + { + "type": "CommentLine", + "value": " For each tile, an axis-aligned bounding box", + "start": 11080, + "end": 11126, + "loc": { + "start": { + "line": 229, + "column": 54 + }, + "end": { + "line": 229, + "column": 100 + } + } + }, + { + "type": "CommentLine", + "value": " For each tile, the index of the first element of eachEntityId, eachEntityMeshesPortion and eachEntityMatricesPortion used by the tile", + "start": 11186, + "end": 11322, + "loc": { + "start": { + "line": 230, + "column": 59 + }, + "end": { + "line": 230, + "column": 195 + } + } + }, + { + "type": "CommentLine", + "value": " Metadata", + "start": 11493, + "end": 11504, + "loc": { + "start": { + "line": 240, + "column": 4 + }, + "end": { + "line": 240, + "column": 15 + } + } + }, + { + "type": "CommentLine", + "value": " Property sets", + "start": 11864, + "end": 11880, + "loc": { + "start": { + "line": 254, + "column": 4 + }, + "end": { + "line": 254, + "column": 20 + } + } + }, + { + "type": "CommentLine", + "value": " Metaobjects", + "start": 12346, + "end": 12360, + "loc": { + "start": { + "line": 267, + "column": 4 + }, + "end": { + "line": 267, + "column": 18 + } + } + }, + { + "type": "CommentLine", + "value": " Geometries", + "start": 13318, + "end": 13331, + "loc": { + "start": { + "line": 290, + "column": 4 + }, + "end": { + "line": 290, + "column": 17 + } + } + }, + { + "type": "CommentLine", + "value": " Textures", + "start": 15743, + "end": 15754, + "loc": { + "start": { + "line": 351, + "column": 4 + }, + "end": { + "line": 351, + "column": 15 + } + } + }, + { + "type": "CommentLine", + "value": " GIFMediaType | PNGMediaType | JPEGMediaType", + "start": 16399, + "end": 16445, + "loc": { + "start": { + "line": 363, + "column": 77 + }, + "end": { + "line": 363, + "column": 123 + } + } + }, + { + "type": "CommentLine", + "value": " LinearMipmapLinearFilter | LinearMipMapNearestFilter | NearestMipMapNearestFilter | NearestMipMapLinearFilter | LinearMipMapLinearFilter", + "start": 16670, + "end": 16809, + "loc": { + "start": { + "line": 366, + "column": 77 + }, + "end": { + "line": 366, + "column": 216 + } + } + }, + { + "type": "CommentLine", + "value": " LinearFilter | NearestFilter", + "start": 16887, + "end": 16918, + "loc": { + "start": { + "line": 367, + "column": 77 + }, + "end": { + "line": 367, + "column": 108 + } + } + }, + { + "type": "CommentLine", + "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", + "start": 16992, + "end": 17056, + "loc": { + "start": { + "line": 368, + "column": 73 + }, + "end": { + "line": 368, + "column": 137 + } + } + }, + { + "type": "CommentLine", + "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", + "start": 17130, + "end": 17194, + "loc": { + "start": { + "line": 369, + "column": 73 + }, + "end": { + "line": 369, + "column": 137 + } + } + }, + { + "type": "CommentLine", + "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", + "start": 17268, + "end": 17332, + "loc": { + "start": { + "line": 370, + "column": 73 + }, + "end": { + "line": 370, + "column": 137 + } + } + }, + { + "type": "CommentLine", + "value": " Texture sets", + "start": 17344, + "end": 17359, + "loc": { + "start": { + "line": 373, + "column": 4 + }, + "end": { + "line": 373, + "column": 19 + } + } + }, + { + "type": "CommentLine", + "value": " Color map", + "start": 17732, + "end": 17744, + "loc": { + "start": { + "line": 377, + "column": 138 + }, + "end": { + "line": 377, + "column": 150 + } + } + }, + { + "type": "CommentLine", + "value": " Metal/rough map", + "start": 17907, + "end": 17925, + "loc": { + "start": { + "line": 378, + "column": 162 + }, + "end": { + "line": 378, + "column": 180 + } + } + }, + { + "type": "CommentLine", + "value": " Normal map", + "start": 18068, + "end": 18081, + "loc": { + "start": { + "line": 379, + "column": 142 + }, + "end": { + "line": 379, + "column": 155 + } + } + }, + { + "type": "CommentLine", + "value": " Emissive map", + "start": 18226, + "end": 18241, + "loc": { + "start": { + "line": 380, + "column": 144 + }, + "end": { + "line": 380, + "column": 159 + } + } + }, + { + "type": "CommentLine", + "value": " Occlusion map", + "start": 18388, + "end": 18404, + "loc": { + "start": { + "line": 381, + "column": 146 + }, + "end": { + "line": 381, + "column": 162 + } + } + }, + { + "type": "CommentLine", + "value": " Tiles -> Entities -> Meshes", + "start": 18416, + "end": 18446, + "loc": { + "start": { + "line": 384, + "column": 4 + }, + "end": { + "line": 384, + "column": 34 + } + } + }, + { + "type": "CommentLine", + "value": " Color RGB", + "start": 19976, + "end": 19988, + "loc": { + "start": { + "line": 428, + "column": 108 + }, + "end": { + "line": 428, + "column": 120 + } + } + }, + { + "type": "CommentLine", + "value": " Opacity", + "start": 20312, + "end": 20322, + "loc": { + "start": { + "line": 431, + "column": 107 + }, + "end": { + "line": 431, + "column": 117 + } + } + }, + { + "type": "CommentLine", + "value": " Metallic", + "start": 20431, + "end": 20442, + "loc": { + "start": { + "line": 432, + "column": 108 + }, + "end": { + "line": 432, + "column": 119 + } + } + }, + { + "type": "CommentLine", + "value": " Roughness", + "start": 20552, + "end": 20564, + "loc": { + "start": { + "line": 433, + "column": 109 + }, + "end": { + "line": 433, + "column": 121 + } + } + }, + { + "type": "CommentLine", + "value": " <<<<<<<<<<<<<<<<<<<< Error here? Order/value of countEntityMeshesPortion correct?", + "start": 20755, + "end": 20839, + "loc": { + "start": { + "line": 439, + "column": 82 + }, + "end": { + "line": 439, + "column": 166 + } + } + }, + { + "type": "CommentLine", + "value": " Produce only ASCII-chars, so that the data can be inflated later", + "start": 23292, + "end": 23359, + "loc": { + "start": { + "line": 494, + "column": 58 + }, + "end": { + "line": 494, + "column": 125 + } + } + }, + { + "type": "CommentLine", + "value": " Produce only ASCII-chars, so that the data can be inflated later", + "start": 23806, + "end": 23873, + "loc": { + "start": { + "line": 505, + "column": 54 + }, + "end": { + "line": 505, + "column": 121 + } + } + }, + { + "type": "CommentLine", + "value": " XKT_VERSION for legacy v10 mode", + "start": 25318, + "end": 25352, + "loc": { + "start": { + "line": 545, + "column": 23 + }, + "end": { + "line": 545, + "column": 57 + } + } + }, + { + "type": "CommentLine", + "value": " Stored Data 1.1: number of stored elements", + "start": 25391, + "end": 25436, + "loc": { + "start": { + "line": 546, + "column": 38 + }, + "end": { + "line": 546, + "column": 83 + } + } + }, + { + "type": "CommentLine", + "value": " Stored Data 1.2: length of stored elements", + "start": 25461, + "end": 25506, + "loc": { + "start": { + "line": 547, + "column": 24 + }, + "end": { + "line": 547, + "column": 69 + } + } + }, + { + "type": "CommentLine", + "value": " Stored Data 2: the elements themselves", + "start": 25971, + "end": 26012, + "loc": { + "start": { + "line": 558, + "column": 63 + }, + "end": { + "line": 558, + "column": 104 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "XKT_INFO", + "start": 8, + "end": 16, + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16, + "end": 17, + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 18, + "end": 22, + "loc": { + "start": { + "line": 1, + "column": 18 + }, + "end": { + "line": 1, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../XKT_INFO.js", + "start": 23, + "end": 39, + "loc": { + "start": { + "line": 1, + "column": 23 + }, + "end": { + "line": 1, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 39, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 39 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 41, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "as", + "start": 50, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 9 + }, + "end": { + "line": 2, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pako", + "start": 53, + "end": 57, + "loc": { + "start": { + "line": 2, + "column": 12 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 58, + "end": 62, + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "pako", + "start": 63, + "end": 69, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 69, + "end": 70, + "loc": { + "start": { + "line": 2, + "column": 28 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 72, + "end": 77, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "XKT_VERSION", + "start": 78, + "end": 89, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 90, + "end": 91, + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "XKT_INFO", + "start": 92, + "end": 100, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 100, + "end": 101, + "loc": { + "start": { + "line": 4, + "column": 28 + }, + "end": { + "line": 4, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xktVersion", + "start": 101, + "end": 111, + "loc": { + "start": { + "line": 4, + "column": 29 + }, + "end": { + "line": 4, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 111, + "end": 112, + "loc": { + "start": { + "line": 4, + "column": 39 + }, + "end": { + "line": 4, + "column": 40 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 113, + "end": 118, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NUM_TEXTURE_ATTRIBUTES", + "start": 119, + "end": 141, + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 142, + "end": 143, + "loc": { + "start": { + "line": 5, + "column": 29 + }, + "end": { + "line": 5, + "column": 30 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 9, + "start": 144, + "end": 145, + "loc": { + "start": { + "line": 5, + "column": 31 + }, + "end": { + "line": 5, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 145, + "end": 146, + "loc": { + "start": { + "line": 5, + "column": 32 + }, + "end": { + "line": 5, + "column": 33 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 147, + "end": 152, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NUM_MATERIAL_ATTRIBUTES", + "start": 153, + "end": 176, + "loc": { + "start": { + "line": 6, + "column": 6 + }, + "end": { + "line": 6, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 177, + "end": 178, + "loc": { + "start": { + "line": 6, + "column": 30 + }, + "end": { + "line": 6, + "column": 31 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 6, + "start": 179, + "end": 180, + "loc": { + "start": { + "line": 6, + "column": 32 + }, + "end": { + "line": 6, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 180, + "end": 181, + "loc": { + "start": { + "line": 6, + "column": 33 + }, + "end": { + "line": 6, + "column": 34 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Writes an {@link XKTModel} to an {@link ArrayBuffer}.\n *\n * @param {XKTModel} xktModel The {@link XKTModel}.\n * @param {String} metaModelJSON The metamodel JSON in a string.\n * @param {Object} [stats] Collects statistics.\n * @param {Object} options Options for how the XKT is written.\n * @param {Boolean} [options.zip=true] ZIP the contents?\n * @returns {ArrayBuffer} The {@link ArrayBuffer}.\n ", + "start": 183, + "end": 586, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 17, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 587, + "end": 595, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 18, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "writeXKTModelToArrayBuffer", + "start": 596, + "end": 622, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 622, + "end": 623, + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 18, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xktModel", + "start": 623, + "end": 631, + "loc": { + "start": { + "line": 18, + "column": 36 + }, + "end": { + "line": 18, + "column": 44 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 631, + "end": 632, + "loc": { + "start": { + "line": 18, + "column": 44 + }, + "end": { + "line": 18, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metaModelJSON", + "start": 633, + "end": 646, + "loc": { + "start": { + "line": 18, + "column": 46 + }, + "end": { + "line": 18, + "column": 59 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 646, + "end": 647, + "loc": { + "start": { + "line": 18, + "column": 59 + }, + "end": { + "line": 18, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 648, + "end": 653, + "loc": { + "start": { + "line": 18, + "column": 61 + }, + "end": { + "line": 18, + "column": 66 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 653, + "end": 654, + "loc": { + "start": { + "line": 18, + "column": 66 + }, + "end": { + "line": 18, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 655, + "end": 662, + "loc": { + "start": { + "line": 18, + "column": 68 + }, + "end": { + "line": 18, + "column": 75 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 662, + "end": 663, + "loc": { + "start": { + "line": 18, + "column": 75 + }, + "end": { + "line": 18, + "column": 76 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 664, + "end": 665, + "loc": { + "start": { + "line": 18, + "column": 77 + }, + "end": { + "line": 18, + "column": 78 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 670, + "end": 672, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 673, + "end": 674, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 674, + "end": 675, + "loc": { + "start": { + "line": 19, + "column": 8 + }, + "end": { + "line": 19, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 676, + "end": 683, + "loc": { + "start": { + "line": 19, + "column": 10 + }, + "end": { + "line": 19, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 683, + "end": 684, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "zip", + "start": 684, + "end": 687, + "loc": { + "start": { + "line": 19, + "column": 18 + }, + "end": { + "line": 19, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 687, + "end": 688, + "loc": { + "start": { + "line": 19, + "column": 21 + }, + "end": { + "line": 19, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 689, + "end": 690, + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 24 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 699, + "end": 705, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "writeXKTModelToArrayBufferUncompressed", + "start": 706, + "end": 744, + "loc": { + "start": { + "line": 20, + "column": 15 + }, + "end": { + "line": 20, + "column": 53 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 744, + "end": 745, + "loc": { + "start": { + "line": 20, + "column": 53 + }, + "end": { + "line": 20, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xktModel", + "start": 745, + "end": 753, + "loc": { + "start": { + "line": 20, + "column": 54 + }, + "end": { + "line": 20, + "column": 62 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 753, + "end": 754, + "loc": { + "start": { + "line": 20, + "column": 62 + }, + "end": { + "line": 20, + "column": 63 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metaModelJSON", + "start": 755, + "end": 768, + "loc": { + "start": { + "line": 20, + "column": 64 + }, + "end": { + "line": 20, + "column": 77 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 768, + "end": 769, + "loc": { + "start": { + "line": 20, + "column": 77 + }, + "end": { + "line": 20, + "column": 78 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 770, + "end": 775, + "loc": { + "start": { + "line": 20, + "column": 79 + }, + "end": { + "line": 20, + "column": 84 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 775, + "end": 776, + "loc": { + "start": { + "line": 20, + "column": 84 + }, + "end": { + "line": 20, + "column": 85 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 776, + "end": 777, + "loc": { + "start": { + "line": 20, + "column": 85 + }, + "end": { + "line": 20, + "column": 86 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 782, + "end": 783, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 5 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 788, + "end": 793, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 794, + "end": 798, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 799, + "end": 800, + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 22, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getModelData", + "start": 801, + "end": 813, + "loc": { + "start": { + "line": 22, + "column": 17 + }, + "end": { + "line": 22, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 813, + "end": 814, + "loc": { + "start": { + "line": 22, + "column": 29 + }, + "end": { + "line": 22, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xktModel", + "start": 814, + "end": 822, + "loc": { + "start": { + "line": 22, + "column": 30 + }, + "end": { + "line": 22, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 822, + "end": 823, + "loc": { + "start": { + "line": 22, + "column": 38 + }, + "end": { + "line": 22, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metaModelJSON", + "start": 824, + "end": 837, + "loc": { + "start": { + "line": 22, + "column": 40 + }, + "end": { + "line": 22, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 837, + "end": 838, + "loc": { + "start": { + "line": 22, + "column": 53 + }, + "end": { + "line": 22, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 839, + "end": 844, + "loc": { + "start": { + "line": 22, + "column": 55 + }, + "end": { + "line": 22, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 844, + "end": 845, + "loc": { + "start": { + "line": 22, + "column": 60 + }, + "end": { + "line": 22, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 845, + "end": 846, + "loc": { + "start": { + "line": 22, + "column": 61 + }, + "end": { + "line": 22, + "column": 62 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 851, + "end": 856, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deflatedData", + "start": 857, + "end": 869, + "loc": { + "start": { + "line": 23, + "column": 10 + }, + "end": { + "line": 23, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 870, + "end": 871, + "loc": { + "start": { + "line": 23, + "column": 23 + }, + "end": { + "line": 23, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deflateData", + "start": 872, + "end": 883, + "loc": { + "start": { + "line": 23, + "column": 25 + }, + "end": { + "line": 23, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 883, + "end": 884, + "loc": { + "start": { + "line": 23, + "column": 36 + }, + "end": { + "line": 23, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 884, + "end": 888, + "loc": { + "start": { + "line": 23, + "column": 37 + }, + "end": { + "line": 23, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 888, + "end": 889, + "loc": { + "start": { + "line": 23, + "column": 41 + }, + "end": { + "line": 23, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metaModelJSON", + "start": 890, + "end": 903, + "loc": { + "start": { + "line": 23, + "column": 43 + }, + "end": { + "line": 23, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 903, + "end": 904, + "loc": { + "start": { + "line": 23, + "column": 56 + }, + "end": { + "line": 23, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 905, + "end": 912, + "loc": { + "start": { + "line": 23, + "column": 58 + }, + "end": { + "line": 23, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 912, + "end": 913, + "loc": { + "start": { + "line": 23, + "column": 65 + }, + "end": { + "line": 23, + "column": 66 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 913, + "end": 914, + "loc": { + "start": { + "line": 23, + "column": 66 + }, + "end": { + "line": 23, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 919, + "end": 924, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 924, + "end": 925, + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "texturesSize", + "start": 925, + "end": 937, + "loc": { + "start": { + "line": 24, + "column": 10 + }, + "end": { + "line": 24, + "column": 22 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 938, + "end": 940, + "loc": { + "start": { + "line": 24, + "column": 23 + }, + "end": { + "line": 24, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deflatedData", + "start": 941, + "end": 953, + "loc": { + "start": { + "line": 24, + "column": 26 + }, + "end": { + "line": 24, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 953, + "end": 954, + "loc": { + "start": { + "line": 24, + "column": 38 + }, + "end": { + "line": 24, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textureData", + "start": 954, + "end": 965, + "loc": { + "start": { + "line": 24, + "column": 39 + }, + "end": { + "line": 24, + "column": 50 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 24, + "column": 50 + }, + "end": { + "line": 24, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 966, + "end": 976, + "loc": { + "start": { + "line": 24, + "column": 51 + }, + "end": { + "line": 24, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 976, + "end": 977, + "loc": { + "start": { + "line": 24, + "column": 61 + }, + "end": { + "line": 24, + "column": 62 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 982, + "end": 987, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arrayBuffer", + "start": 988, + "end": 999, + "loc": { + "start": { + "line": 25, + "column": 10 + }, + "end": { + "line": 25, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1000, + "end": 1001, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 25, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createArrayBuffer", + "start": 1002, + "end": 1019, + "loc": { + "start": { + "line": 25, + "column": 24 + }, + "end": { + "line": 25, + "column": 41 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1019, + "end": 1020, + "loc": { + "start": { + "line": 25, + "column": 41 + }, + "end": { + "line": 25, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "deflatedData", + "start": 1020, + "end": 1032, + "loc": { + "start": { + "line": 25, + "column": 42 + }, + "end": { + "line": 25, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1032, + "end": 1033, + "loc": { + "start": { + "line": 25, + "column": 54 + }, + "end": { + "line": 25, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1033, + "end": 1034, + "loc": { + "start": { + "line": 25, + "column": 55 + }, + "end": { + "line": 25, + "column": 56 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1039, + "end": 1045, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 26, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arrayBuffer", + "start": 1046, + "end": 1057, + "loc": { + "start": { + "line": 26, + "column": 11 + }, + "end": { + "line": 26, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1057, + "end": 1058, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1059, + "end": 1060, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 1 + } + } + }, + { + "type": "CommentLine", + "value": " V11", + "start": 1062, + "end": 1068, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1069, + "end": 1077, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 30, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "writeXKTModelToArrayBufferUncompressed", + "start": 1078, + "end": 1116, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1116, + "end": 1117, + "loc": { + "start": { + "line": 30, + "column": 47 + }, + "end": { + "line": 30, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xktModel", + "start": 1117, + "end": 1125, + "loc": { + "start": { + "line": 30, + "column": 48 + }, + "end": { + "line": 30, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1125, + "end": 1126, + "loc": { + "start": { + "line": 30, + "column": 56 + }, + "end": { + "line": 30, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metaModelJSON", + "start": 1127, + "end": 1140, + "loc": { + "start": { + "line": 30, + "column": 58 + }, + "end": { + "line": 30, + "column": 71 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1140, + "end": 1141, + "loc": { + "start": { + "line": 30, + "column": 71 + }, + "end": { + "line": 30, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 1142, + "end": 1147, + "loc": { + "start": { + "line": 30, + "column": 73 + }, + "end": { + "line": 30, + "column": 78 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1147, + "end": 1148, + "loc": { + "start": { + "line": 30, + "column": 78 + }, + "end": { + "line": 30, + "column": 79 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1149, + "end": 1150, + "loc": { + "start": { + "line": 30, + "column": 80 + }, + "end": { + "line": 30, + "column": 81 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1155, + "end": 1160, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1161, + "end": 1165, + "loc": { + "start": { + "line": 31, + "column": 10 + }, + "end": { + "line": 31, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1166, + "end": 1167, + "loc": { + "start": { + "line": 31, + "column": 15 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getModelData", + "start": 1168, + "end": 1180, + "loc": { + "start": { + "line": 31, + "column": 17 + }, + "end": { + "line": 31, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1180, + "end": 1181, + "loc": { + "start": { + "line": 31, + "column": 29 + }, + "end": { + "line": 31, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xktModel", + "start": 1181, + "end": 1189, + "loc": { + "start": { + "line": 31, + "column": 30 + }, + "end": { + "line": 31, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1189, + "end": 1190, + "loc": { + "start": { + "line": 31, + "column": 38 + }, + "end": { + "line": 31, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metaModelJSON", + "start": 1191, + "end": 1204, + "loc": { + "start": { + "line": 31, + "column": 40 + }, + "end": { + "line": 31, + "column": 53 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1204, + "end": 1205, + "loc": { + "start": { + "line": 31, + "column": 53 + }, + "end": { + "line": 31, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 1206, + "end": 1211, + "loc": { + "start": { + "line": 31, + "column": 55 + }, + "end": { + "line": 31, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1211, + "end": 1212, + "loc": { + "start": { + "line": 31, + "column": 60 + }, + "end": { + "line": 31, + "column": 61 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1212, + "end": 1213, + "loc": { + "start": { + "line": 31, + "column": 61 + }, + "end": { + "line": 31, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 1218, + "end": 1223, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1223, + "end": 1224, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "texturesSize", + "start": 1224, + "end": 1236, + "loc": { + "start": { + "line": 32, + "column": 10 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 1237, + "end": 1239, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 32, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1240, + "end": 1244, + "loc": { + "start": { + "line": 32, + "column": 26 + }, + "end": { + "line": 32, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1244, + "end": 1245, + "loc": { + "start": { + "line": 32, + "column": 30 + }, + "end": { + "line": 32, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textureData", + "start": 1245, + "end": 1256, + "loc": { + "start": { + "line": 32, + "column": 31 + }, + "end": { + "line": 32, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1256, + "end": 1257, + "loc": { + "start": { + "line": 32, + "column": 42 + }, + "end": { + "line": 32, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 1257, + "end": 1267, + "loc": { + "start": { + "line": 32, + "column": 43 + }, + "end": { + "line": 32, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1267, + "end": 1268, + "loc": { + "start": { + "line": 32, + "column": 53 + }, + "end": { + "line": 32, + "column": 54 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1274, + "end": 1279, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object2Array", + "start": 1280, + "end": 1292, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1293, + "end": 1294, + "loc": { + "start": { + "line": 34, + "column": 23 + }, + "end": { + "line": 34, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1295, + "end": 1296, + "loc": { + "start": { + "line": 34, + "column": 25 + }, + "end": { + "line": 34, + "column": 26 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 1296, + "end": 1304, + "loc": { + "start": { + "line": 34, + "column": 26 + }, + "end": { + "line": 34, + "column": 34 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1304, + "end": 1305, + "loc": { + "start": { + "line": 34, + "column": 34 + }, + "end": { + "line": 34, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1305, + "end": 1306, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 34, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1307, + "end": 1308, + "loc": { + "start": { + "line": 34, + "column": 37 + }, + "end": { + "line": 34, + "column": 38 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1317, + "end": 1322, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoder", + "start": 1323, + "end": 1330, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1331, + "end": 1332, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 23 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 1333, + "end": 1336, + "loc": { + "start": { + "line": 35, + "column": 24 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "TextEncoder", + "start": 1337, + "end": 1348, + "loc": { + "start": { + "line": 35, + "column": 28 + }, + "end": { + "line": 35, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1348, + "end": 1349, + "loc": { + "start": { + "line": 35, + "column": 39 + }, + "end": { + "line": 35, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1349, + "end": 1350, + "loc": { + "start": { + "line": 35, + "column": 40 + }, + "end": { + "line": 35, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1350, + "end": 1351, + "loc": { + "start": { + "line": 35, + "column": 41 + }, + "end": { + "line": 35, + "column": 42 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1360, + "end": 1366, + "loc": { + "start": { + "line": 36, + "column": 8 + }, + "end": { + "line": 36, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "obj", + "start": 1367, + "end": 1370, + "loc": { + "start": { + "line": 36, + "column": 15 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1371, + "end": 1373, + "loc": { + "start": { + "line": 36, + "column": 19 + }, + "end": { + "line": 36, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encoder", + "start": 1374, + "end": 1381, + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 36, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1381, + "end": 1382, + "loc": { + "start": { + "line": 36, + "column": 29 + }, + "end": { + "line": 36, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "encode", + "start": 1382, + "end": 1388, + "loc": { + "start": { + "line": 36, + "column": 30 + }, + "end": { + "line": 36, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1388, + "end": 1389, + "loc": { + "start": { + "line": 36, + "column": 36 + }, + "end": { + "line": 36, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "JSON", + "start": 1389, + "end": 1393, + "loc": { + "start": { + "line": 36, + "column": 37 + }, + "end": { + "line": 36, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1393, + "end": 1394, + "loc": { + "start": { + "line": 36, + "column": 41 + }, + "end": { + "line": 36, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stringify", + "start": 1394, + "end": 1403, + "loc": { + "start": { + "line": 36, + "column": 42 + }, + "end": { + "line": 36, + "column": 51 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1403, + "end": 1404, + "loc": { + "start": { + "line": 36, + "column": 51 + }, + "end": { + "line": 36, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "obj", + "start": 1404, + "end": 1407, + "loc": { + "start": { + "line": 36, + "column": 52 + }, + "end": { + "line": 36, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1407, + "end": 1408, + "loc": { + "start": { + "line": 36, + "column": 55 + }, + "end": { + "line": 36, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1408, + "end": 1409, + "loc": { + "start": { + "line": 36, + "column": 56 + }, + "end": { + "line": 36, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1409, + "end": 1410, + "loc": { + "start": { + "line": 36, + "column": 57 + }, + "end": { + "line": 36, + "column": 58 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1415, + "end": 1416, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1416, + "end": 1417, + "loc": { + "start": { + "line": 37, + "column": 5 + }, + "end": { + "line": 37, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1417, + "end": 1418, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1418, + "end": 1419, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1419, + "end": 1420, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 9 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 1426, + "end": 1431, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arrays", + "start": 1432, + "end": 1438, + "loc": { + "start": { + "line": 39, + "column": 10 + }, + "end": { + "line": 39, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1439, + "end": 1440, + "loc": { + "start": { + "line": 39, + "column": 17 + }, + "end": { + "line": 39, + "column": 18 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1441, + "end": 1442, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object2Array", + "start": 1451, + "end": 1463, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1463, + "end": 1464, + "loc": { + "start": { + "line": 40, + "column": 20 + }, + "end": { + "line": 40, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metaModelJSON", + "start": 1464, + "end": 1477, + "loc": { + "start": { + "line": 40, + "column": 21 + }, + "end": { + "line": 40, + "column": 34 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 1478, + "end": 1480, + "loc": { + "start": { + "line": 40, + "column": 35 + }, + "end": { + "line": 40, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1481, + "end": 1485, + "loc": { + "start": { + "line": 40, + "column": 38 + }, + "end": { + "line": 40, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1485, + "end": 1486, + "loc": { + "start": { + "line": 40, + "column": 42 + }, + "end": { + "line": 40, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metadata", + "start": 1486, + "end": 1494, + "loc": { + "start": { + "line": 40, + "column": 43 + }, + "end": { + "line": 40, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1494, + "end": 1495, + "loc": { + "start": { + "line": 40, + "column": 51 + }, + "end": { + "line": 40, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1495, + "end": 1496, + "loc": { + "start": { + "line": 40, + "column": 52 + }, + "end": { + "line": 40, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1505, + "end": 1509, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1509, + "end": 1510, + "loc": { + "start": { + "line": 41, + "column": 12 + }, + "end": { + "line": 41, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textureData", + "start": 1510, + "end": 1521, + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1521, + "end": 1522, + "loc": { + "start": { + "line": 41, + "column": 24 + }, + "end": { + "line": 41, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1531, + "end": 1535, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1535, + "end": 1536, + "loc": { + "start": { + "line": 42, + "column": 12 + }, + "end": { + "line": 42, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachTextureDataPortion", + "start": 1536, + "end": 1558, + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1558, + "end": 1559, + "loc": { + "start": { + "line": 42, + "column": 35 + }, + "end": { + "line": 42, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1568, + "end": 1572, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1572, + "end": 1573, + "loc": { + "start": { + "line": 43, + "column": 12 + }, + "end": { + "line": 43, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachTextureAttributes", + "start": 1573, + "end": 1594, + "loc": { + "start": { + "line": 43, + "column": 13 + }, + "end": { + "line": 43, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1594, + "end": 1595, + "loc": { + "start": { + "line": 43, + "column": 34 + }, + "end": { + "line": 43, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1604, + "end": 1608, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1608, + "end": 1609, + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 44, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "positions", + "start": 1609, + "end": 1618, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1618, + "end": 1619, + "loc": { + "start": { + "line": 44, + "column": 22 + }, + "end": { + "line": 44, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1628, + "end": 1632, + "loc": { + "start": { + "line": 45, + "column": 8 + }, + "end": { + "line": 45, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1632, + "end": 1633, + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "normals", + "start": 1633, + "end": 1640, + "loc": { + "start": { + "line": 45, + "column": 13 + }, + "end": { + "line": 45, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1640, + "end": 1641, + "loc": { + "start": { + "line": 45, + "column": 20 + }, + "end": { + "line": 45, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1650, + "end": 1654, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1654, + "end": 1655, + "loc": { + "start": { + "line": 46, + "column": 12 + }, + "end": { + "line": 46, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "colors", + "start": 1655, + "end": 1661, + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1661, + "end": 1662, + "loc": { + "start": { + "line": 46, + "column": 19 + }, + "end": { + "line": 46, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1671, + "end": 1675, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1675, + "end": 1676, + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 47, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "uvs", + "start": 1676, + "end": 1679, + "loc": { + "start": { + "line": 47, + "column": 13 + }, + "end": { + "line": 47, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1679, + "end": 1680, + "loc": { + "start": { + "line": 47, + "column": 16 + }, + "end": { + "line": 47, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1689, + "end": 1693, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1693, + "end": 1694, + "loc": { + "start": { + "line": 48, + "column": 12 + }, + "end": { + "line": 48, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "indices", + "start": 1694, + "end": 1701, + "loc": { + "start": { + "line": 48, + "column": 13 + }, + "end": { + "line": 48, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1701, + "end": 1702, + "loc": { + "start": { + "line": 48, + "column": 20 + }, + "end": { + "line": 48, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1711, + "end": 1715, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1715, + "end": 1716, + "loc": { + "start": { + "line": 49, + "column": 12 + }, + "end": { + "line": 49, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "edgeIndices", + "start": 1716, + "end": 1727, + "loc": { + "start": { + "line": 49, + "column": 13 + }, + "end": { + "line": 49, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1727, + "end": 1728, + "loc": { + "start": { + "line": 49, + "column": 24 + }, + "end": { + "line": 49, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1737, + "end": 1741, + "loc": { + "start": { + "line": 50, + "column": 8 + }, + "end": { + "line": 50, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1741, + "end": 1742, + "loc": { + "start": { + "line": 50, + "column": 12 + }, + "end": { + "line": 50, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachTextureSetTextures", + "start": 1742, + "end": 1764, + "loc": { + "start": { + "line": 50, + "column": 13 + }, + "end": { + "line": 50, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1764, + "end": 1765, + "loc": { + "start": { + "line": 50, + "column": 35 + }, + "end": { + "line": 50, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1774, + "end": 1778, + "loc": { + "start": { + "line": 51, + "column": 8 + }, + "end": { + "line": 51, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1778, + "end": 1779, + "loc": { + "start": { + "line": 51, + "column": 12 + }, + "end": { + "line": 51, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "matrices", + "start": 1779, + "end": 1787, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1787, + "end": 1788, + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1797, + "end": 1801, + "loc": { + "start": { + "line": 52, + "column": 8 + }, + "end": { + "line": 52, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1801, + "end": 1802, + "loc": { + "start": { + "line": 52, + "column": 12 + }, + "end": { + "line": 52, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reusedGeometriesDecodeMatrix", + "start": 1802, + "end": 1830, + "loc": { + "start": { + "line": 52, + "column": 13 + }, + "end": { + "line": 52, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1830, + "end": 1831, + "loc": { + "start": { + "line": 52, + "column": 41 + }, + "end": { + "line": 52, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1840, + "end": 1844, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1844, + "end": 1845, + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 53, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachGeometryPrimitiveType", + "start": 1845, + "end": 1870, + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1870, + "end": 1871, + "loc": { + "start": { + "line": 53, + "column": 38 + }, + "end": { + "line": 53, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1880, + "end": 1884, + "loc": { + "start": { + "line": 54, + "column": 8 + }, + "end": { + "line": 54, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1884, + "end": 1885, + "loc": { + "start": { + "line": 54, + "column": 12 + }, + "end": { + "line": 54, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachGeometryPositionsPortion", + "start": 1885, + "end": 1913, + "loc": { + "start": { + "line": 54, + "column": 13 + }, + "end": { + "line": 54, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1913, + "end": 1914, + "loc": { + "start": { + "line": 54, + "column": 41 + }, + "end": { + "line": 54, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1923, + "end": 1927, + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1927, + "end": 1928, + "loc": { + "start": { + "line": 55, + "column": 12 + }, + "end": { + "line": 55, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachGeometryNormalsPortion", + "start": 1928, + "end": 1954, + "loc": { + "start": { + "line": 55, + "column": 13 + }, + "end": { + "line": 55, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1954, + "end": 1955, + "loc": { + "start": { + "line": 55, + "column": 39 + }, + "end": { + "line": 55, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 1964, + "end": 1968, + "loc": { + "start": { + "line": 56, + "column": 8 + }, + "end": { + "line": 56, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1968, + "end": 1969, + "loc": { + "start": { + "line": 56, + "column": 12 + }, + "end": { + "line": 56, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachGeometryColorsPortion", + "start": 1969, + "end": 1994, + "loc": { + "start": { + "line": 56, + "column": 13 + }, + "end": { + "line": 56, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1994, + "end": 1995, + "loc": { + "start": { + "line": 56, + "column": 38 + }, + "end": { + "line": 56, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2004, + "end": 2008, + "loc": { + "start": { + "line": 57, + "column": 8 + }, + "end": { + "line": 57, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2008, + "end": 2009, + "loc": { + "start": { + "line": 57, + "column": 12 + }, + "end": { + "line": 57, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachGeometryUVsPortion", + "start": 2009, + "end": 2031, + "loc": { + "start": { + "line": 57, + "column": 13 + }, + "end": { + "line": 57, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2031, + "end": 2032, + "loc": { + "start": { + "line": 57, + "column": 35 + }, + "end": { + "line": 57, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2041, + "end": 2045, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2045, + "end": 2046, + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachGeometryIndicesPortion", + "start": 2046, + "end": 2072, + "loc": { + "start": { + "line": 58, + "column": 13 + }, + "end": { + "line": 58, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2072, + "end": 2073, + "loc": { + "start": { + "line": 58, + "column": 39 + }, + "end": { + "line": 58, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2082, + "end": 2086, + "loc": { + "start": { + "line": 59, + "column": 8 + }, + "end": { + "line": 59, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2086, + "end": 2087, + "loc": { + "start": { + "line": 59, + "column": 12 + }, + "end": { + "line": 59, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachGeometryEdgeIndicesPortion", + "start": 2087, + "end": 2117, + "loc": { + "start": { + "line": 59, + "column": 13 + }, + "end": { + "line": 59, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2117, + "end": 2118, + "loc": { + "start": { + "line": 59, + "column": 43 + }, + "end": { + "line": 59, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2127, + "end": 2131, + "loc": { + "start": { + "line": 60, + "column": 8 + }, + "end": { + "line": 60, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2131, + "end": 2132, + "loc": { + "start": { + "line": 60, + "column": 12 + }, + "end": { + "line": 60, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachMeshGeometriesPortion", + "start": 2132, + "end": 2157, + "loc": { + "start": { + "line": 60, + "column": 13 + }, + "end": { + "line": 60, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2157, + "end": 2158, + "loc": { + "start": { + "line": 60, + "column": 38 + }, + "end": { + "line": 60, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2167, + "end": 2171, + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2171, + "end": 2172, + "loc": { + "start": { + "line": 61, + "column": 12 + }, + "end": { + "line": 61, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachMeshMatricesPortion", + "start": 2172, + "end": 2195, + "loc": { + "start": { + "line": 61, + "column": 13 + }, + "end": { + "line": 61, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2195, + "end": 2196, + "loc": { + "start": { + "line": 61, + "column": 36 + }, + "end": { + "line": 61, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2205, + "end": 2209, + "loc": { + "start": { + "line": 62, + "column": 8 + }, + "end": { + "line": 62, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2209, + "end": 2210, + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachMeshTextureSet", + "start": 2210, + "end": 2228, + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 62, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2228, + "end": 2229, + "loc": { + "start": { + "line": 62, + "column": 31 + }, + "end": { + "line": 62, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2238, + "end": 2242, + "loc": { + "start": { + "line": 63, + "column": 8 + }, + "end": { + "line": 63, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2242, + "end": 2243, + "loc": { + "start": { + "line": 63, + "column": 12 + }, + "end": { + "line": 63, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachMeshMaterialAttributes", + "start": 2243, + "end": 2269, + "loc": { + "start": { + "line": 63, + "column": 13 + }, + "end": { + "line": 63, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2269, + "end": 2270, + "loc": { + "start": { + "line": 63, + "column": 39 + }, + "end": { + "line": 63, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "object2Array", + "start": 2279, + "end": 2291, + "loc": { + "start": { + "line": 64, + "column": 8 + }, + "end": { + "line": 64, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2291, + "end": 2292, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2292, + "end": 2296, + "loc": { + "start": { + "line": 64, + "column": 21 + }, + "end": { + "line": 64, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2296, + "end": 2297, + "loc": { + "start": { + "line": 64, + "column": 25 + }, + "end": { + "line": 64, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachEntityId", + "start": 2297, + "end": 2309, + "loc": { + "start": { + "line": 64, + "column": 26 + }, + "end": { + "line": 64, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2309, + "end": 2310, + "loc": { + "start": { + "line": 64, + "column": 38 + }, + "end": { + "line": 64, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2310, + "end": 2311, + "loc": { + "start": { + "line": 64, + "column": 39 + }, + "end": { + "line": 64, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2320, + "end": 2324, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2324, + "end": 2325, + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachEntityMeshesPortion", + "start": 2325, + "end": 2348, + "loc": { + "start": { + "line": 65, + "column": 13 + }, + "end": { + "line": 65, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2348, + "end": 2349, + "loc": { + "start": { + "line": 65, + "column": 36 + }, + "end": { + "line": 65, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2358, + "end": 2362, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2362, + "end": 2363, + "loc": { + "start": { + "line": 66, + "column": 12 + }, + "end": { + "line": 66, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachTileAABB", + "start": 2363, + "end": 2375, + "loc": { + "start": { + "line": 66, + "column": 13 + }, + "end": { + "line": 66, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2375, + "end": 2376, + "loc": { + "start": { + "line": 66, + "column": 25 + }, + "end": { + "line": 66, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2385, + "end": 2389, + "loc": { + "start": { + "line": 67, + "column": 8 + }, + "end": { + "line": 67, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2389, + "end": 2390, + "loc": { + "start": { + "line": 67, + "column": 12 + }, + "end": { + "line": 67, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "eachTileEntitiesPortion", + "start": 2390, + "end": 2413, + "loc": { + "start": { + "line": 67, + "column": 13 + }, + "end": { + "line": 67, + "column": 36 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2418, + "end": 2419, + "loc": { + "start": { + "line": 68, + "column": 4 + }, + "end": { + "line": 68, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2419, + "end": 2420, + "loc": { + "start": { + "line": 68, + "column": 5 + }, + "end": { + "line": 68, + "column": 6 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2426, + "end": 2431, + "loc": { + "start": { + "line": 70, + "column": 4 + }, + "end": { + "line": 70, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arraysCnt", + "start": 2432, + "end": 2441, + "loc": { + "start": { + "line": 70, + "column": 10 + }, + "end": { + "line": 70, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2442, + "end": 2443, + "loc": { + "start": { + "line": 70, + "column": 20 + }, + "end": { + "line": 70, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arrays", + "start": 2444, + "end": 2450, + "loc": { + "start": { + "line": 70, + "column": 22 + }, + "end": { + "line": 70, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2450, + "end": 2451, + "loc": { + "start": { + "line": 70, + "column": 28 + }, + "end": { + "line": 70, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2451, + "end": 2457, + "loc": { + "start": { + "line": 70, + "column": 29 + }, + "end": { + "line": 70, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2457, + "end": 2458, + "loc": { + "start": { + "line": 70, + "column": 35 + }, + "end": { + "line": 70, + "column": 36 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2463, + "end": 2468, + "loc": { + "start": { + "line": 71, + "column": 4 + }, + "end": { + "line": 71, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dataView", + "start": 2469, + "end": 2477, + "loc": { + "start": { + "line": 71, + "column": 10 + }, + "end": { + "line": 71, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2478, + "end": 2479, + "loc": { + "start": { + "line": 71, + "column": 19 + }, + "end": { + "line": 71, + "column": 20 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2480, + "end": 2483, + "loc": { + "start": { + "line": 71, + "column": 21 + }, + "end": { + "line": 71, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "DataView", + "start": 2484, + "end": 2492, + "loc": { + "start": { + "line": 71, + "column": 25 + }, + "end": { + "line": 71, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2492, + "end": 2493, + "loc": { + "start": { + "line": 71, + "column": 33 + }, + "end": { + "line": 71, + "column": 34 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2493, + "end": 2496, + "loc": { + "start": { + "line": 71, + "column": 34 + }, + "end": { + "line": 71, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ArrayBuffer", + "start": 2497, + "end": 2508, + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2508, + "end": 2509, + "loc": { + "start": { + "line": 71, + "column": 49 + }, + "end": { + "line": 71, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2509, + "end": 2510, + "loc": { + "start": { + "line": 71, + "column": 50 + }, + "end": { + "line": 71, + "column": 51 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 2510, + "end": 2511, + "loc": { + "start": { + "line": 71, + "column": 51 + }, + "end": { + "line": 71, + "column": 52 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 2512, + "end": 2513, + "loc": { + "start": { + "line": 71, + "column": 53 + }, + "end": { + "line": 71, + "column": 54 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 2514, + "end": 2515, + "loc": { + "start": { + "line": 71, + "column": 55 + }, + "end": { + "line": 71, + "column": 56 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 2516, + "end": 2517, + "loc": { + "start": { + "line": 71, + "column": 57 + }, + "end": { + "line": 71, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arraysCnt", + "start": 2518, + "end": 2527, + "loc": { + "start": { + "line": 71, + "column": 59 + }, + "end": { + "line": 71, + "column": 68 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2527, + "end": 2528, + "loc": { + "start": { + "line": 71, + "column": 68 + }, + "end": { + "line": 71, + "column": 69 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 2529, + "end": 2530, + "loc": { + "start": { + "line": 71, + "column": 70 + }, + "end": { + "line": 71, + "column": 71 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 4, + "start": 2531, + "end": 2532, + "loc": { + "start": { + "line": 71, + "column": 72 + }, + "end": { + "line": 71, + "column": 73 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2532, + "end": 2533, + "loc": { + "start": { + "line": 71, + "column": 73 + }, + "end": { + "line": 71, + "column": 74 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2533, + "end": 2534, + "loc": { + "start": { + "line": 71, + "column": 74 + }, + "end": { + "line": 71, + "column": 75 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2534, + "end": 2535, + "loc": { + "start": { + "line": 71, + "column": 75 + }, + "end": { + "line": 71, + "column": 76 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dataView", + "start": 2541, + "end": 2549, + "loc": { + "start": { + "line": 73, + "column": 4 + }, + "end": { + "line": 73, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2549, + "end": 2550, + "loc": { + "start": { + "line": 73, + "column": 12 + }, + "end": { + "line": 73, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setUint32", + "start": 2550, + "end": 2559, + "loc": { + "start": { + "line": 73, + "column": 13 + }, + "end": { + "line": 73, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2559, + "end": 2560, + "loc": { + "start": { + "line": 73, + "column": 22 + }, + "end": { + "line": 73, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2560, + "end": 2561, + "loc": { + "start": { + "line": 73, + "column": 23 + }, + "end": { + "line": 73, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2561, + "end": 2562, + "loc": { + "start": { + "line": 73, + "column": 24 + }, + "end": { + "line": 73, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "XKT_VERSION", + "start": 2563, + "end": 2574, + "loc": { + "start": { + "line": 73, + "column": 26 + }, + "end": { + "line": 73, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2574, + "end": 2575, + "loc": { + "start": { + "line": 73, + "column": 37 + }, + "end": { + "line": 73, + "column": 38 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 2576, + "end": 2580, + "loc": { + "start": { + "line": 73, + "column": 39 + }, + "end": { + "line": 73, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2580, + "end": 2581, + "loc": { + "start": { + "line": 73, + "column": 43 + }, + "end": { + "line": 73, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2581, + "end": 2582, + "loc": { + "start": { + "line": 73, + "column": 44 + }, + "end": { + "line": 73, + "column": 45 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 2588, + "end": 2591, + "loc": { + "start": { + "line": 75, + "column": 4 + }, + "end": { + "line": 75, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteOffset", + "start": 2592, + "end": 2602, + "loc": { + "start": { + "line": 75, + "column": 8 + }, + "end": { + "line": 75, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2603, + "end": 2604, + "loc": { + "start": { + "line": 75, + "column": 19 + }, + "end": { + "line": 75, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dataView", + "start": 2605, + "end": 2613, + "loc": { + "start": { + "line": 75, + "column": 21 + }, + "end": { + "line": 75, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2613, + "end": 2614, + "loc": { + "start": { + "line": 75, + "column": 29 + }, + "end": { + "line": 75, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 2614, + "end": 2624, + "loc": { + "start": { + "line": 75, + "column": 30 + }, + "end": { + "line": 75, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2624, + "end": 2625, + "loc": { + "start": { + "line": 75, + "column": 40 + }, + "end": { + "line": 75, + "column": 41 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2630, + "end": 2635, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offsets", + "start": 2636, + "end": 2643, + "loc": { + "start": { + "line": 76, + "column": 10 + }, + "end": { + "line": 76, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2644, + "end": 2645, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 19 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2646, + "end": 2647, + "loc": { + "start": { + "line": 76, + "column": 20 + }, + "end": { + "line": 76, + "column": 21 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2648, + "end": 2649, + "loc": { + "start": { + "line": 76, + "column": 22 + }, + "end": { + "line": 76, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2649, + "end": 2650, + "loc": { + "start": { + "line": 76, + "column": 23 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + { + "type": "CommentLine", + "value": " Store arrays' offsets and lengths", + "start": 2656, + "end": 2692, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 40 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 2697, + "end": 2700, + "loc": { + "start": { + "line": 79, + "column": 4 + }, + "end": { + "line": 79, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2701, + "end": 2702, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 9 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 2702, + "end": 2705, + "loc": { + "start": { + "line": 79, + "column": 9 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 2706, + "end": 2707, + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 79, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2708, + "end": 2709, + "loc": { + "start": { + "line": 79, + "column": 15 + }, + "end": { + "line": 79, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 2710, + "end": 2711, + "loc": { + "start": { + "line": 79, + "column": 17 + }, + "end": { + "line": 79, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2711, + "end": 2712, + "loc": { + "start": { + "line": 79, + "column": 18 + }, + "end": { + "line": 79, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 2713, + "end": 2714, + "loc": { + "start": { + "line": 79, + "column": 20 + }, + "end": { + "line": 79, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 2715, + "end": 2716, + "loc": { + "start": { + "line": 79, + "column": 22 + }, + "end": { + "line": 79, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arraysCnt", + "start": 2717, + "end": 2726, + "loc": { + "start": { + "line": 79, + "column": 24 + }, + "end": { + "line": 79, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2726, + "end": 2727, + "loc": { + "start": { + "line": 79, + "column": 33 + }, + "end": { + "line": 79, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 2728, + "end": 2729, + "loc": { + "start": { + "line": 79, + "column": 35 + }, + "end": { + "line": 79, + "column": 36 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 2729, + "end": 2731, + "loc": { + "start": { + "line": 79, + "column": 36 + }, + "end": { + "line": 79, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2731, + "end": 2732, + "loc": { + "start": { + "line": 79, + "column": 38 + }, + "end": { + "line": 79, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2733, + "end": 2734, + "loc": { + "start": { + "line": 79, + "column": 40 + }, + "end": { + "line": 79, + "column": 41 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2743, + "end": 2748, + "loc": { + "start": { + "line": 80, + "column": 8 + }, + "end": { + "line": 80, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arr", + "start": 2749, + "end": 2752, + "loc": { + "start": { + "line": 80, + "column": 14 + }, + "end": { + "line": 80, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2753, + "end": 2754, + "loc": { + "start": { + "line": 80, + "column": 18 + }, + "end": { + "line": 80, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arrays", + "start": 2755, + "end": 2761, + "loc": { + "start": { + "line": 80, + "column": 20 + }, + "end": { + "line": 80, + "column": 26 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2761, + "end": 2762, + "loc": { + "start": { + "line": 80, + "column": 26 + }, + "end": { + "line": 80, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 2762, + "end": 2763, + "loc": { + "start": { + "line": 80, + "column": 27 + }, + "end": { + "line": 80, + "column": 28 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2763, + "end": 2764, + "loc": { + "start": { + "line": 80, + "column": 28 + }, + "end": { + "line": 80, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2764, + "end": 2765, + "loc": { + "start": { + "line": 80, + "column": 29 + }, + "end": { + "line": 80, + "column": 30 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2774, + "end": 2779, + "loc": { + "start": { + "line": 81, + "column": 8 + }, + "end": { + "line": 81, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BPE", + "start": 2780, + "end": 2783, + "loc": { + "start": { + "line": 81, + "column": 14 + }, + "end": { + "line": 81, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2784, + "end": 2785, + "loc": { + "start": { + "line": 81, + "column": 18 + }, + "end": { + "line": 81, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arr", + "start": 2786, + "end": 2789, + "loc": { + "start": { + "line": 81, + "column": 20 + }, + "end": { + "line": 81, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2789, + "end": 2790, + "loc": { + "start": { + "line": 81, + "column": 23 + }, + "end": { + "line": 81, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BYTES_PER_ELEMENT", + "start": 2790, + "end": 2807, + "loc": { + "start": { + "line": 81, + "column": 24 + }, + "end": { + "line": 81, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2807, + "end": 2808, + "loc": { + "start": { + "line": 81, + "column": 41 + }, + "end": { + "line": 81, + "column": 42 + } + } + }, + { + "type": "CommentLine", + "value": " align to BPE, so the arrayBuffer can be used for a typed array", + "start": 2817, + "end": 2882, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 73 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteOffset", + "start": 2891, + "end": 2901, + "loc": { + "start": { + "line": 83, + "column": 8 + }, + "end": { + "line": 83, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2902, + "end": 2903, + "loc": { + "start": { + "line": 83, + "column": 19 + }, + "end": { + "line": 83, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Math", + "start": 2904, + "end": 2908, + "loc": { + "start": { + "line": 83, + "column": 21 + }, + "end": { + "line": 83, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2908, + "end": 2909, + "loc": { + "start": { + "line": 83, + "column": 25 + }, + "end": { + "line": 83, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ceil", + "start": 2909, + "end": 2913, + "loc": { + "start": { + "line": 83, + "column": 26 + }, + "end": { + "line": 83, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2913, + "end": 2914, + "loc": { + "start": { + "line": 83, + "column": 30 + }, + "end": { + "line": 83, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteOffset", + "start": 2914, + "end": 2924, + "loc": { + "start": { + "line": 83, + "column": 31 + }, + "end": { + "line": 83, + "column": 41 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 2925, + "end": 2926, + "loc": { + "start": { + "line": 83, + "column": 42 + }, + "end": { + "line": 83, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BPE", + "start": 2927, + "end": 2930, + "loc": { + "start": { + "line": 83, + "column": 44 + }, + "end": { + "line": 83, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2930, + "end": 2931, + "loc": { + "start": { + "line": 83, + "column": 47 + }, + "end": { + "line": 83, + "column": 48 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 2932, + "end": 2933, + "loc": { + "start": { + "line": 83, + "column": 49 + }, + "end": { + "line": 83, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BPE", + "start": 2934, + "end": 2937, + "loc": { + "start": { + "line": 83, + "column": 51 + }, + "end": { + "line": 83, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2937, + "end": 2938, + "loc": { + "start": { + "line": 83, + "column": 54 + }, + "end": { + "line": 83, + "column": 55 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2947, + "end": 2952, + "loc": { + "start": { + "line": 84, + "column": 8 + }, + "end": { + "line": 84, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 2953, + "end": 2963, + "loc": { + "start": { + "line": 84, + "column": 14 + }, + "end": { + "line": 84, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2964, + "end": 2965, + "loc": { + "start": { + "line": 84, + "column": 25 + }, + "end": { + "line": 84, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arr", + "start": 2966, + "end": 2969, + "loc": { + "start": { + "line": 84, + "column": 27 + }, + "end": { + "line": 84, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2969, + "end": 2970, + "loc": { + "start": { + "line": 84, + "column": 30 + }, + "end": { + "line": 84, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 2970, + "end": 2980, + "loc": { + "start": { + "line": 84, + "column": 31 + }, + "end": { + "line": 84, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2980, + "end": 2981, + "loc": { + "start": { + "line": 84, + "column": 41 + }, + "end": { + "line": 84, + "column": 42 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 2991, + "end": 2996, + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "idx", + "start": 2997, + "end": 3000, + "loc": { + "start": { + "line": 86, + "column": 14 + }, + "end": { + "line": 86, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3001, + "end": 3002, + "loc": { + "start": { + "line": 86, + "column": 18 + }, + "end": { + "line": 86, + "column": 19 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3003, + "end": 3004, + "loc": { + "start": { + "line": 86, + "column": 20 + }, + "end": { + "line": 86, + "column": 21 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 3005, + "end": 3006, + "loc": { + "start": { + "line": 86, + "column": 22 + }, + "end": { + "line": 86, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 3007, + "end": 3008, + "loc": { + "start": { + "line": 86, + "column": 24 + }, + "end": { + "line": 86, + "column": 25 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 3009, + "end": 3010, + "loc": { + "start": { + "line": 86, + "column": 26 + }, + "end": { + "line": 86, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3011, + "end": 3012, + "loc": { + "start": { + "line": 86, + "column": 28 + }, + "end": { + "line": 86, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3012, + "end": 3013, + "loc": { + "start": { + "line": 86, + "column": 29 + }, + "end": { + "line": 86, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dataView", + "start": 3022, + "end": 3030, + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3030, + "end": 3031, + "loc": { + "start": { + "line": 87, + "column": 16 + }, + "end": { + "line": 87, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setUint32", + "start": 3031, + "end": 3040, + "loc": { + "start": { + "line": 87, + "column": 17 + }, + "end": { + "line": 87, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3040, + "end": 3041, + "loc": { + "start": { + "line": 87, + "column": 26 + }, + "end": { + "line": 87, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "idx", + "start": 3041, + "end": 3044, + "loc": { + "start": { + "line": 87, + "column": 27 + }, + "end": { + "line": 87, + "column": 30 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 3051, + "end": 3052, + "loc": { + "start": { + "line": 87, + "column": 37 + }, + "end": { + "line": 87, + "column": 38 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 4, + "start": 3053, + "end": 3054, + "loc": { + "start": { + "line": 87, + "column": 39 + }, + "end": { + "line": 87, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3054, + "end": 3055, + "loc": { + "start": { + "line": 87, + "column": 40 + }, + "end": { + "line": 87, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteOffset", + "start": 3056, + "end": 3066, + "loc": { + "start": { + "line": 87, + "column": 42 + }, + "end": { + "line": 87, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3066, + "end": 3067, + "loc": { + "start": { + "line": 87, + "column": 52 + }, + "end": { + "line": 87, + "column": 53 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 3068, + "end": 3072, + "loc": { + "start": { + "line": 87, + "column": 54 + }, + "end": { + "line": 87, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3072, + "end": 3073, + "loc": { + "start": { + "line": 87, + "column": 58 + }, + "end": { + "line": 87, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3073, + "end": 3074, + "loc": { + "start": { + "line": 87, + "column": 59 + }, + "end": { + "line": 87, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dataView", + "start": 3083, + "end": 3091, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3091, + "end": 3092, + "loc": { + "start": { + "line": 88, + "column": 16 + }, + "end": { + "line": 88, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setUint32", + "start": 3092, + "end": 3101, + "loc": { + "start": { + "line": 88, + "column": 17 + }, + "end": { + "line": 88, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3101, + "end": 3102, + "loc": { + "start": { + "line": 88, + "column": 26 + }, + "end": { + "line": 88, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3102, + "end": 3103, + "loc": { + "start": { + "line": 88, + "column": 27 + }, + "end": { + "line": 88, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "idx", + "start": 3103, + "end": 3106, + "loc": { + "start": { + "line": 88, + "column": 28 + }, + "end": { + "line": 88, + "column": 31 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 3107, + "end": 3108, + "loc": { + "start": { + "line": 88, + "column": 32 + }, + "end": { + "line": 88, + "column": 33 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3109, + "end": 3110, + "loc": { + "start": { + "line": 88, + "column": 34 + }, + "end": { + "line": 88, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3110, + "end": 3111, + "loc": { + "start": { + "line": 88, + "column": 35 + }, + "end": { + "line": 88, + "column": 36 + } + } + }, + { + "type": { + "label": "*", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "*", + "start": 3112, + "end": 3113, + "loc": { + "start": { + "line": 88, + "column": 37 + }, + "end": { + "line": 88, + "column": 38 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 4, + "start": 3114, + "end": 3115, + "loc": { + "start": { + "line": 88, + "column": 39 + }, + "end": { + "line": 88, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3115, + "end": 3116, + "loc": { + "start": { + "line": 88, + "column": 40 + }, + "end": { + "line": 88, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 3117, + "end": 3127, + "loc": { + "start": { + "line": 88, + "column": 42 + }, + "end": { + "line": 88, + "column": 52 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3127, + "end": 3128, + "loc": { + "start": { + "line": 88, + "column": 52 + }, + "end": { + "line": 88, + "column": 53 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 3129, + "end": 3133, + "loc": { + "start": { + "line": 88, + "column": 54 + }, + "end": { + "line": 88, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3133, + "end": 3134, + "loc": { + "start": { + "line": 88, + "column": 58 + }, + "end": { + "line": 88, + "column": 59 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3134, + "end": 3135, + "loc": { + "start": { + "line": 88, + "column": 59 + }, + "end": { + "line": 88, + "column": 60 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offsets", + "start": 3145, + "end": 3152, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 90, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3152, + "end": 3153, + "loc": { + "start": { + "line": 90, + "column": 15 + }, + "end": { + "line": 90, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 3153, + "end": 3157, + "loc": { + "start": { + "line": 90, + "column": 16 + }, + "end": { + "line": 90, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3157, + "end": 3158, + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteOffset", + "start": 3158, + "end": 3168, + "loc": { + "start": { + "line": 90, + "column": 21 + }, + "end": { + "line": 90, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3168, + "end": 3169, + "loc": { + "start": { + "line": 90, + "column": 31 + }, + "end": { + "line": 90, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3169, + "end": 3170, + "loc": { + "start": { + "line": 90, + "column": 32 + }, + "end": { + "line": 90, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteOffset", + "start": 3179, + "end": 3189, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 18 + } + } + }, + { + "type": { + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 3190, + "end": 3192, + "loc": { + "start": { + "line": 91, + "column": 19 + }, + "end": { + "line": 91, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 3193, + "end": 3203, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3203, + "end": 3204, + "loc": { + "start": { + "line": 91, + "column": 32 + }, + "end": { + "line": 91, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3209, + "end": 3210, + "loc": { + "start": { + "line": 92, + "column": 4 + }, + "end": { + "line": 92, + "column": 5 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3216, + "end": 3221, + "loc": { + "start": { + "line": 94, + "column": 4 + }, + "end": { + "line": 94, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dataArray", + "start": 3222, + "end": 3231, + "loc": { + "start": { + "line": 94, + "column": 10 + }, + "end": { + "line": 94, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3232, + "end": 3233, + "loc": { + "start": { + "line": 94, + "column": 20 + }, + "end": { + "line": 94, + "column": 21 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3234, + "end": 3237, + "loc": { + "start": { + "line": 94, + "column": 22 + }, + "end": { + "line": 94, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Uint8Array", + "start": 3238, + "end": 3248, + "loc": { + "start": { + "line": 94, + "column": 26 + }, + "end": { + "line": 94, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3248, + "end": 3249, + "loc": { + "start": { + "line": 94, + "column": 36 + }, + "end": { + "line": 94, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteOffset", + "start": 3249, + "end": 3259, + "loc": { + "start": { + "line": 94, + "column": 37 + }, + "end": { + "line": 94, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3259, + "end": 3260, + "loc": { + "start": { + "line": 94, + "column": 47 + }, + "end": { + "line": 94, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3260, + "end": 3261, + "loc": { + "start": { + "line": 94, + "column": 48 + }, + "end": { + "line": 94, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dataArray", + "start": 3266, + "end": 3275, + "loc": { + "start": { + "line": 95, + "column": 4 + }, + "end": { + "line": 95, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3275, + "end": 3276, + "loc": { + "start": { + "line": 95, + "column": 13 + }, + "end": { + "line": 95, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "set", + "start": 3276, + "end": 3279, + "loc": { + "start": { + "line": 95, + "column": 14 + }, + "end": { + "line": 95, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3279, + "end": 3280, + "loc": { + "start": { + "line": 95, + "column": 17 + }, + "end": { + "line": 95, + "column": 18 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3280, + "end": 3283, + "loc": { + "start": { + "line": 95, + "column": 18 + }, + "end": { + "line": 95, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Uint8Array", + "start": 3284, + "end": 3294, + "loc": { + "start": { + "line": 95, + "column": 22 + }, + "end": { + "line": 95, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3294, + "end": 3295, + "loc": { + "start": { + "line": 95, + "column": 32 + }, + "end": { + "line": 95, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dataView", + "start": 3295, + "end": 3303, + "loc": { + "start": { + "line": 95, + "column": 33 + }, + "end": { + "line": 95, + "column": 41 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3303, + "end": 3304, + "loc": { + "start": { + "line": 95, + "column": 41 + }, + "end": { + "line": 95, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3304, + "end": 3310, + "loc": { + "start": { + "line": 95, + "column": 42 + }, + "end": { + "line": 95, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3310, + "end": 3311, + "loc": { + "start": { + "line": 95, + "column": 48 + }, + "end": { + "line": 95, + "column": 49 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3311, + "end": 3312, + "loc": { + "start": { + "line": 95, + "column": 49 + }, + "end": { + "line": 95, + "column": 50 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3313, + "end": 3314, + "loc": { + "start": { + "line": 95, + "column": 51 + }, + "end": { + "line": 95, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3314, + "end": 3315, + "loc": { + "start": { + "line": 95, + "column": 52 + }, + "end": { + "line": 95, + "column": 53 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3315, + "end": 3316, + "loc": { + "start": { + "line": 95, + "column": 53 + }, + "end": { + "line": 95, + "column": 54 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3322, + "end": 3327, + "loc": { + "start": { + "line": 97, + "column": 4 + }, + "end": { + "line": 97, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requiresSwapToLittleEndian", + "start": 3328, + "end": 3354, + "loc": { + "start": { + "line": 97, + "column": 10 + }, + "end": { + "line": 97, + "column": 36 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3355, + "end": 3356, + "loc": { + "start": { + "line": 97, + "column": 37 + }, + "end": { + "line": 97, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3357, + "end": 3358, + "loc": { + "start": { + "line": 97, + "column": 39 + }, + "end": { + "line": 97, + "column": 40 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 3358, + "end": 3366, + "loc": { + "start": { + "line": 97, + "column": 40 + }, + "end": { + "line": 97, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3366, + "end": 3367, + "loc": { + "start": { + "line": 97, + "column": 48 + }, + "end": { + "line": 97, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3367, + "end": 3368, + "loc": { + "start": { + "line": 97, + "column": 49 + }, + "end": { + "line": 97, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3369, + "end": 3370, + "loc": { + "start": { + "line": 97, + "column": 51 + }, + "end": { + "line": 97, + "column": 52 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3379, + "end": 3384, + "loc": { + "start": { + "line": 98, + "column": 8 + }, + "end": { + "line": 98, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3385, + "end": 3391, + "loc": { + "start": { + "line": 98, + "column": 14 + }, + "end": { + "line": 98, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3392, + "end": 3393, + "loc": { + "start": { + "line": 98, + "column": 21 + }, + "end": { + "line": 98, + "column": 22 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3394, + "end": 3397, + "loc": { + "start": { + "line": 98, + "column": 23 + }, + "end": { + "line": 98, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ArrayBuffer", + "start": 3398, + "end": 3409, + "loc": { + "start": { + "line": 98, + "column": 27 + }, + "end": { + "line": 98, + "column": 38 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3409, + "end": 3410, + "loc": { + "start": { + "line": 98, + "column": 38 + }, + "end": { + "line": 98, + "column": 39 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 3410, + "end": 3411, + "loc": { + "start": { + "line": 98, + "column": 39 + }, + "end": { + "line": 98, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3411, + "end": 3412, + "loc": { + "start": { + "line": 98, + "column": 40 + }, + "end": { + "line": 98, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3412, + "end": 3413, + "loc": { + "start": { + "line": 98, + "column": 41 + }, + "end": { + "line": 98, + "column": 42 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3422, + "end": 3425, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Uint16Array", + "start": 3426, + "end": 3437, + "loc": { + "start": { + "line": 99, + "column": 12 + }, + "end": { + "line": 99, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3437, + "end": 3438, + "loc": { + "start": { + "line": 99, + "column": 23 + }, + "end": { + "line": 99, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3438, + "end": 3444, + "loc": { + "start": { + "line": 99, + "column": 24 + }, + "end": { + "line": 99, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3444, + "end": 3445, + "loc": { + "start": { + "line": 99, + "column": 30 + }, + "end": { + "line": 99, + "column": 31 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3445, + "end": 3446, + "loc": { + "start": { + "line": 99, + "column": 31 + }, + "end": { + "line": 99, + "column": 32 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3446, + "end": 3447, + "loc": { + "start": { + "line": 99, + "column": 32 + }, + "end": { + "line": 99, + "column": 33 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3447, + "end": 3448, + "loc": { + "start": { + "line": 99, + "column": 33 + }, + "end": { + "line": 99, + "column": 34 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3449, + "end": 3450, + "loc": { + "start": { + "line": 99, + "column": 35 + }, + "end": { + "line": 99, + "column": 36 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3451, + "end": 3452, + "loc": { + "start": { + "line": 99, + "column": 37 + }, + "end": { + "line": 99, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3452, + "end": 3453, + "loc": { + "start": { + "line": 99, + "column": 38 + }, + "end": { + "line": 99, + "column": 39 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3462, + "end": 3468, + "loc": { + "start": { + "line": 100, + "column": 8 + }, + "end": { + "line": 100, + "column": 14 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3469, + "end": 3472, + "loc": { + "start": { + "line": 100, + "column": 15 + }, + "end": { + "line": 100, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Uint8Array", + "start": 3473, + "end": 3483, + "loc": { + "start": { + "line": 100, + "column": 19 + }, + "end": { + "line": 100, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3483, + "end": 3484, + "loc": { + "start": { + "line": 100, + "column": 29 + }, + "end": { + "line": 100, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3484, + "end": 3490, + "loc": { + "start": { + "line": 100, + "column": 30 + }, + "end": { + "line": 100, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3490, + "end": 3491, + "loc": { + "start": { + "line": 100, + "column": 36 + }, + "end": { + "line": 100, + "column": 37 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3491, + "end": 3492, + "loc": { + "start": { + "line": 100, + "column": 37 + }, + "end": { + "line": 100, + "column": 38 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3492, + "end": 3493, + "loc": { + "start": { + "line": 100, + "column": 38 + }, + "end": { + "line": 100, + "column": 39 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3493, + "end": 3494, + "loc": { + "start": { + "line": 100, + "column": 39 + }, + "end": { + "line": 100, + "column": 40 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 3495, + "end": 3498, + "loc": { + "start": { + "line": 100, + "column": 41 + }, + "end": { + "line": 100, + "column": 44 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3499, + "end": 3500, + "loc": { + "start": { + "line": 100, + "column": 45 + }, + "end": { + "line": 100, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3500, + "end": 3501, + "loc": { + "start": { + "line": 100, + "column": 46 + }, + "end": { + "line": 100, + "column": 47 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3506, + "end": 3507, + "loc": { + "start": { + "line": 101, + "column": 4 + }, + "end": { + "line": 101, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3507, + "end": 3508, + "loc": { + "start": { + "line": 101, + "column": 5 + }, + "end": { + "line": 101, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3508, + "end": 3509, + "loc": { + "start": { + "line": 101, + "column": 6 + }, + "end": { + "line": 101, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3509, + "end": 3510, + "loc": { + "start": { + "line": 101, + "column": 7 + }, + "end": { + "line": 101, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3510, + "end": 3511, + "loc": { + "start": { + "line": 101, + "column": 8 + }, + "end": { + "line": 101, + "column": 9 + } + } + }, + { + "type": "CommentLine", + "value": " Store arrays themselves", + "start": 3517, + "end": 3543, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 30 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 3548, + "end": 3551, + "loc": { + "start": { + "line": 104, + "column": 4 + }, + "end": { + "line": 104, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3552, + "end": 3553, + "loc": { + "start": { + "line": 104, + "column": 8 + }, + "end": { + "line": 104, + "column": 9 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 3553, + "end": 3556, + "loc": { + "start": { + "line": 104, + "column": 9 + }, + "end": { + "line": 104, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3557, + "end": 3558, + "loc": { + "start": { + "line": 104, + "column": 13 + }, + "end": { + "line": 104, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3559, + "end": 3560, + "loc": { + "start": { + "line": 104, + "column": 15 + }, + "end": { + "line": 104, + "column": 16 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3561, + "end": 3562, + "loc": { + "start": { + "line": 104, + "column": 17 + }, + "end": { + "line": 104, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3562, + "end": 3563, + "loc": { + "start": { + "line": 104, + "column": 18 + }, + "end": { + "line": 104, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3564, + "end": 3565, + "loc": { + "start": { + "line": 104, + "column": 20 + }, + "end": { + "line": 104, + "column": 21 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 3566, + "end": 3567, + "loc": { + "start": { + "line": 104, + "column": 22 + }, + "end": { + "line": 104, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arraysCnt", + "start": 3568, + "end": 3577, + "loc": { + "start": { + "line": 104, + "column": 24 + }, + "end": { + "line": 104, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3577, + "end": 3578, + "loc": { + "start": { + "line": 104, + "column": 33 + }, + "end": { + "line": 104, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3579, + "end": 3580, + "loc": { + "start": { + "line": 104, + "column": 35 + }, + "end": { + "line": 104, + "column": 36 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 3580, + "end": 3582, + "loc": { + "start": { + "line": 104, + "column": 36 + }, + "end": { + "line": 104, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3582, + "end": 3583, + "loc": { + "start": { + "line": 104, + "column": 38 + }, + "end": { + "line": 104, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3584, + "end": 3585, + "loc": { + "start": { + "line": 104, + "column": 40 + }, + "end": { + "line": 104, + "column": 41 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3594, + "end": 3599, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arr", + "start": 3600, + "end": 3603, + "loc": { + "start": { + "line": 105, + "column": 14 }, - "specifiers": null, - "source": null, - "leadingComments": null + "end": { + "line": 105, + "column": 17 + } } - ], - "directives": [] - }, - "comments": [ + }, { - "type": "CommentBlock", - "value": "*\n * Writes an {@link XKTModel} to an {@link ArrayBuffer}.\n *\n * @param {XKTModel} xktModel The {@link XKTModel}.\n * @param {String} metaModelJSON The metamodel JSON in a string.\n * @param {Object} [stats] Collects statistics.\n * @param {Object} options Options for how the XKT is written.\n * @param {Boolean} [options.zip=true] ZIP the contents?\n * @returns {ArrayBuffer} The {@link ArrayBuffer}.\n ", - "start": 183, - "end": 586, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3604, + "end": 3605, "loc": { "start": { - "line": 8, - "column": 0 + "line": 105, + "column": 18 }, "end": { - "line": 17, - "column": 3 + "line": 105, + "column": 19 } } }, { - "type": "CommentLine", - "value": "------------------------------------------------------------------------------------------------------------------", - "start": 1008, - "end": 1124, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arrays", + "start": 3606, + "end": 3612, "loc": { "start": { - "line": 28, - "column": 4 + "line": 105, + "column": 20 }, "end": { - "line": 28, - "column": 120 + "line": 105, + "column": 26 } } }, { - "type": "CommentLine", - "value": " Allocate data", - "start": 1129, - "end": 1145, + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3612, + "end": 3613, "loc": { "start": { - "line": 29, - "column": 4 + "line": 105, + "column": 26 }, "end": { - "line": 29, - "column": 20 + "line": 105, + "column": 27 } } }, { - "type": "CommentLine", - "value": "------------------------------------------------------------------------------------------------------------------", - "start": 1150, - "end": 1266, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 3613, + "end": 3614, "loc": { "start": { - "line": 30, - "column": 4 + "line": 105, + "column": 27 }, "end": { - "line": 30, - "column": 120 + "line": 105, + "column": 28 } } }, { - "type": "CommentLine", - "value": " All textures", - "start": 3621, - "end": 3636, + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3614, + "end": 3615, "loc": { "start": { - "line": 100, + "line": 105, + "column": 28 + }, + "end": { + "line": 105, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3615, + "end": 3616, + "loc": { + "start": { + "line": 105, + "column": 29 + }, + "end": { + "line": 105, + "column": 30 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3625, + "end": 3630, + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subarray", + "start": 3631, + "end": 3639, + "loc": { + "start": { + "line": 106, + "column": 14 + }, + "end": { + "line": 106, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3640, + "end": 3641, + "loc": { + "start": { + "line": 106, + "column": 23 + }, + "end": { + "line": 106, + "column": 24 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3642, + "end": 3645, + "loc": { + "start": { + "line": 106, + "column": 25 + }, + "end": { + "line": 106, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Uint8Array", + "start": 3646, + "end": 3656, + "loc": { + "start": { + "line": 106, + "column": 29 + }, + "end": { + "line": 106, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3656, + "end": 3657, + "loc": { + "start": { + "line": 106, + "column": 39 + }, + "end": { + "line": 106, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arr", + "start": 3657, + "end": 3660, + "loc": { + "start": { + "line": 106, + "column": 40 + }, + "end": { + "line": 106, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3660, + "end": 3661, + "loc": { + "start": { + "line": 106, + "column": 43 + }, + "end": { + "line": 106, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "buffer", + "start": 3661, + "end": 3667, + "loc": { + "start": { + "line": 106, + "column": 44 + }, + "end": { + "line": 106, + "column": 50 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3667, + "end": 3668, + "loc": { + "start": { + "line": 106, "column": 50 }, "end": { - "line": 100, - "column": 65 + "line": 106, + "column": 51 } } }, { - "type": "CommentLine", - "value": " For each texture, an index to its first element in textureData", - "start": 3699, - "end": 3764, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arr", + "start": 3669, + "end": 3672, "loc": { "start": { - "line": 101, - "column": 62 + "line": 106, + "column": 52 }, "end": { - "line": 101, - "column": 127 + "line": 106, + "column": 55 } } }, { - "type": "CommentLine", - "value": " All geometry arrays", - "start": 3901, - "end": 3923, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3672, + "end": 3673, + "loc": { + "start": { + "line": 106, + "column": 55 + }, + "end": { + "line": 106, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteOffset", + "start": 3673, + "end": 3683, + "loc": { + "start": { + "line": 106, + "column": 56 + }, + "end": { + "line": 106, + "column": 66 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3683, + "end": 3684, + "loc": { + "start": { + "line": 106, + "column": 66 + }, + "end": { + "line": 106, + "column": 67 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arr", + "start": 3685, + "end": 3688, + "loc": { + "start": { + "line": 106, + "column": 68 + }, + "end": { + "line": 106, + "column": 71 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3688, + "end": 3689, "loc": { "start": { - "line": 103, - "column": 50 + "line": 106, + "column": 71 }, "end": { - "line": 103, + "line": 106, "column": 72 } } }, { - "type": "CommentLine", - "value": " For each texture set, a set of five Texture indices [color, metal/roughness,normals,emissive,occlusion]; each index has value -1 if no texture", - "start": 4218, - "end": 4363, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "byteLength", + "start": 3689, + "end": 3699, "loc": { "start": { - "line": 109, - "column": 68 + "line": 106, + "column": 72 }, "end": { - "line": 109, - "column": 213 + "line": 106, + "column": 82 } } }, { - "type": "CommentLine", - "value": " Modeling matrices for entities that share geometries. Each entity either shares all it's geometries, or owns all its geometries exclusively. Exclusively-owned geometries are pre-transformed into World-space, and so their entities don't have modeling matrices in this array.", - "start": 4413, - "end": 4689, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3699, + "end": 3700, "loc": { "start": { - "line": 110, - "column": 49 + "line": 106, + "column": 82 }, "end": { - "line": 110, - "column": 325 + "line": 106, + "column": 83 } } }, { - "type": "CommentLine", - "value": " A single, global vertex position de-quantization matrix for all reused geometries. Reused geometries are quantized to their collective Local-space AABB, and this matrix is derived from that AABB.", - "start": 4785, - "end": 4983, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3700, + "end": 3701, "loc": { "start": { - "line": 111, - "column": 95 + "line": 106, + "column": 83 }, "end": { - "line": 111, - "column": 293 + "line": 106, + "column": 84 } } }, { - "type": "CommentLine", - "value": " Primitive type for each geometry (0=solid triangles, 1=surface triangles, 2=lines, 3=points, 4=line-strip)", - "start": 5050, - "end": 5159, + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3711, + "end": 3716, "loc": { "start": { - "line": 112, - "column": 66 + "line": 108, + "column": 8 }, "end": { - "line": 112, - "column": 175 + "line": 108, + "column": 13 } } }, { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.positions. Every primitive type has positions.", - "start": 5230, - "end": 5336, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BPE", + "start": 3717, + "end": 3720, "loc": { "start": { - "line": 113, - "column": 70 + "line": 108, + "column": 14 }, "end": { - "line": 113, - "column": 176 + "line": 108, + "column": 17 } } }, { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.normals. If the next geometry has the same index, then this geometry has no normals.", - "start": 5405, - "end": 5549, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3721, + "end": 3722, "loc": { "start": { - "line": 114, - "column": 68 + "line": 108, + "column": 18 }, "end": { - "line": 114, - "column": 212 + "line": 108, + "column": 19 } } }, { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.colors. If the next geometry has the same index, then this geometry has no colors.", - "start": 5617, - "end": 5759, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arr", + "start": 3723, + "end": 3726, "loc": { "start": { - "line": 115, - "column": 67 + "line": 108, + "column": 20 }, "end": { - "line": 115, - "column": 209 + "line": 108, + "column": 23 } } }, { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.uvs. If the next geometry has the same index, then this geometry has no UVs.", - "start": 5824, - "end": 5960, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3726, + "end": 3727, "loc": { "start": { - "line": 116, - "column": 64 + "line": 108, + "column": 23 }, "end": { - "line": 116, - "column": 200 + "line": 108, + "column": 24 } } }, { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.indices. If the next geometry has the same index, then this geometry has no indices.", - "start": 6029, - "end": 6173, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BYTES_PER_ELEMENT", + "start": 3727, + "end": 3744, "loc": { "start": { - "line": 117, - "column": 68 + "line": 108, + "column": 24 }, "end": { - "line": 117, - "column": 212 + "line": 108, + "column": 41 } } }, { - "type": "CommentLine", - "value": " For each geometry, an index to its first element in data.edgeIndices. If the next geometry has the same index, then this geometry has no edge indices.", - "start": 6246, - "end": 6399, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3744, + "end": 3745, "loc": { "start": { - "line": 118, - "column": 72 + "line": 108, + "column": 41 }, "end": { - "line": 118, - "column": 225 + "line": 108, + "column": 42 } } }, { - "type": "CommentLine", - "value": " For each mesh, an index into the eachGeometry* arrays", - "start": 6463, - "end": 6519, + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 3754, + "end": 3756, "loc": { "start": { - "line": 119, - "column": 63 + "line": 109, + "column": 8 }, "end": { - "line": 119, - "column": 119 + "line": 109, + "column": 10 } } }, { - "type": "CommentLine", - "value": " For each mesh that shares its geometry, an index to its first element in data.matrices, to indicate the modeling matrix that transforms the shared geometry Local-space vertex positions. This is ignored for meshes that don't share geometries, because the vertex positions of non-shared geometries are pre-transformed into World-space.", - "start": 6581, - "end": 6917, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3757, + "end": 3758, "loc": { "start": { - "line": 120, - "column": 61 + "line": 109, + "column": 11 }, "end": { - "line": 120, - "column": 397 + "line": 109, + "column": 12 } } }, { - "type": "CommentLine", - "value": " For each mesh, the index of its texture set in data.eachTextureSetTextures; this array contains signed integers so that we can use -1 to indicate when a mesh has no texture set", - "start": 6973, - "end": 7152, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "requiresSwapToLittleEndian", + "start": 3758, + "end": 3784, "loc": { "start": { - "line": 121, - "column": 55 + "line": 109, + "column": 12 }, "end": { - "line": 121, - "column": 234 + "line": 109, + "column": 38 } } }, { - "type": "CommentLine", - "value": " For each mesh, an RGBA integer color of format [0..255, 0..255, 0..255, 0..255], and PBR metallic and roughness factors, of format [0..255, 0..255]", - "start": 7242, - "end": 7392, + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 3785, + "end": 3787, "loc": { "start": { - "line": 122, - "column": 89 + "line": 109, + "column": 39 }, "end": { - "line": 122, - "column": 239 + "line": 109, + "column": 41 } } }, { - "type": "CommentLine", - "value": " For each entity, an ID string", - "start": 7419, - "end": 7451, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3788, + "end": 3789, "loc": { "start": { - "line": 123, - "column": 26 + "line": 109, + "column": 42 }, "end": { - "line": 123, - "column": 58 + "line": 109, + "column": 43 } } }, { - "type": "CommentLine", - "value": " For each entity, the index of the first element of meshes used by the entity", - "start": 7515, - "end": 7594, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BPE", + "start": 3789, + "end": 3792, "loc": { "start": { - "line": 124, - "column": 63 + "line": 109, + "column": 43 }, "end": { - "line": 124, - "column": 142 + "line": 109, + "column": 46 } } }, { - "type": "CommentLine", - "value": " For each tile, an axis-aligned bounding box", - "start": 7649, - "end": 7695, + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": ">", + "start": 3793, + "end": 3794, "loc": { "start": { - "line": 125, - "column": 54 + "line": 109, + "column": 47 }, "end": { - "line": 125, - "column": 100 + "line": 109, + "column": 48 } } }, { - "type": "CommentLine", - "value": " For each tile, the index of the first element of eachEntityId, eachEntityMeshesPortion and eachEntityMatricesPortion used by the tile", - "start": 7755, - "end": 7891, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 3795, + "end": 3796, "loc": { "start": { - "line": 126, - "column": 59 + "line": 109, + "column": 49 }, "end": { - "line": 126, - "column": 195 + "line": 109, + "column": 50 } } }, { - "type": "CommentLine", - "value": " Metadata", - "start": 8062, - "end": 8073, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3796, + "end": 3797, "loc": { "start": { - "line": 136, - "column": 4 + "line": 109, + "column": 50 }, "end": { - "line": 136, - "column": 15 + "line": 109, + "column": 51 } } }, { - "type": "CommentLine", - "value": " Property sets", - "start": 8433, - "end": 8449, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3797, + "end": 3798, "loc": { "start": { - "line": 150, - "column": 4 + "line": 109, + "column": 51 }, "end": { - "line": 150, - "column": 20 + "line": 109, + "column": 52 } } }, { - "type": "CommentLine", - "value": " Metaobjects", - "start": 8915, - "end": 8929, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3799, + "end": 3800, "loc": { "start": { - "line": 163, - "column": 4 + "line": 109, + "column": 53 }, "end": { - "line": 163, - "column": 18 + "line": 109, + "column": 54 } } }, { - "type": "CommentLine", - "value": " Geometries", - "start": 9887, - "end": 9900, + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3813, + "end": 3818, "loc": { "start": { - "line": 186, - "column": 4 + "line": 110, + "column": 12 }, "end": { - "line": 186, + "line": 110, "column": 17 } } }, { - "type": "CommentLine", - "value": " Textures", - "start": 12312, - "end": 12323, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "swaps", + "start": 3819, + "end": 3824, "loc": { "start": { - "line": 247, - "column": 4 + "line": 110, + "column": 18 }, "end": { - "line": 247, - "column": 15 + "line": 110, + "column": 23 } } }, { - "type": "CommentLine", - "value": " GIFMediaType | PNGMediaType | JPEGMediaType", - "start": 12968, - "end": 13014, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3825, + "end": 3826, "loc": { "start": { - "line": 259, - "column": 77 + "line": 110, + "column": 24 }, "end": { - "line": 259, - "column": 123 + "line": 110, + "column": 25 } } }, { - "type": "CommentLine", - "value": " LinearMipmapLinearFilter | LinearMipMapNearestFilter | NearestMipMapNearestFilter | NearestMipMapLinearFilter | LinearMipMapLinearFilter", - "start": 13239, - "end": 13378, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BPE", + "start": 3827, + "end": 3830, "loc": { "start": { - "line": 262, - "column": 77 + "line": 110, + "column": 26 }, "end": { - "line": 262, - "column": 216 + "line": 110, + "column": 29 } } }, { - "type": "CommentLine", - "value": " LinearFilter | NearestFilter", - "start": 13456, - "end": 13487, + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 3831, + "end": 3832, "loc": { "start": { - "line": 263, - "column": 77 + "line": 110, + "column": 30 }, "end": { - "line": 263, - "column": 108 + "line": 110, + "column": 31 } } }, { - "type": "CommentLine", - "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", - "start": 13561, - "end": 13625, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 3833, + "end": 3834, "loc": { "start": { - "line": 264, - "column": 73 + "line": 110, + "column": 32 }, "end": { - "line": 264, - "column": 137 + "line": 110, + "column": 33 } } }, { - "type": "CommentLine", - "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", - "start": 13699, - "end": 13763, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3834, + "end": 3835, "loc": { "start": { - "line": 265, - "column": 73 + "line": 110, + "column": 33 }, "end": { - "line": 265, - "column": 137 + "line": 110, + "column": 34 } } }, { - "type": "CommentLine", - "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", - "start": 13837, - "end": 13901, + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3848, + "end": 3853, "loc": { "start": { - "line": 266, - "column": 73 + "line": 111, + "column": 12 }, "end": { - "line": 266, - "column": 137 + "line": 111, + "column": 17 } } }, { - "type": "CommentLine", - "value": " Texture sets", - "start": 13913, - "end": 13928, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cnt", + "start": 3854, + "end": 3857, "loc": { "start": { - "line": 269, - "column": 4 + "line": 111, + "column": 18 }, "end": { - "line": 269, - "column": 19 + "line": 111, + "column": 21 } } }, { - "type": "CommentLine", - "value": " Color map", - "start": 14301, - "end": 14313, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3858, + "end": 3859, "loc": { "start": { - "line": 273, - "column": 138 + "line": 111, + "column": 22 }, "end": { - "line": 273, - "column": 150 + "line": 111, + "column": 23 } } }, { - "type": "CommentLine", - "value": " Metal/rough map", - "start": 14476, - "end": 14494, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "subarray", + "start": 3860, + "end": 3868, "loc": { "start": { - "line": 274, - "column": 162 + "line": 111, + "column": 24 }, "end": { - "line": 274, - "column": 180 + "line": 111, + "column": 32 } } }, { - "type": "CommentLine", - "value": " Normal map", - "start": 14637, - "end": 14650, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3868, + "end": 3869, "loc": { "start": { - "line": 275, - "column": 142 + "line": 111, + "column": 32 }, "end": { - "line": 275, - "column": 155 + "line": 111, + "column": 33 } } }, { - "type": "CommentLine", - "value": " Emissive map", - "start": 14795, - "end": 14810, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 3869, + "end": 3875, "loc": { "start": { - "line": 276, - "column": 144 + "line": 111, + "column": 33 }, "end": { - "line": 276, - "column": 159 + "line": 111, + "column": 39 } } }, { - "type": "CommentLine", - "value": " Occlusion map", - "start": 14957, - "end": 14973, + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 3876, + "end": 3877, "loc": { "start": { - "line": 277, - "column": 146 + "line": 111, + "column": 40 }, "end": { - "line": 277, - "column": 162 + "line": 111, + "column": 41 } } }, { - "type": "CommentLine", - "value": " Tiles -> Entities -> Meshes", - "start": 14985, - "end": 15015, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "BPE", + "start": 3878, + "end": 3881, "loc": { "start": { - "line": 280, - "column": 4 + "line": 111, + "column": 42 }, "end": { - "line": 280, - "column": 34 + "line": 111, + "column": 45 } } }, { - "type": "CommentLine", - "value": " Color RGB", - "start": 16545, - "end": 16557, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3881, + "end": 3882, "loc": { "start": { - "line": 324, - "column": 108 + "line": 111, + "column": 45 }, "end": { - "line": 324, - "column": 120 + "line": 111, + "column": 46 } } }, { - "type": "CommentLine", - "value": " Opacity", - "start": 16881, - "end": 16891, + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 3895, + "end": 3898, "loc": { "start": { - "line": 327, - "column": 107 + "line": 112, + "column": 12 }, "end": { - "line": 327, - "column": 117 + "line": 112, + "column": 15 } } }, { - "type": "CommentLine", - "value": " Metallic", - "start": 17000, - "end": 17011, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3899, + "end": 3900, "loc": { "start": { - "line": 328, - "column": 108 + "line": 112, + "column": 16 }, "end": { - "line": 328, - "column": 119 + "line": 112, + "column": 17 } } }, { - "type": "CommentLine", - "value": " Roughness", - "start": 17121, - "end": 17133, + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 3900, + "end": 3903, "loc": { "start": { - "line": 329, - "column": 109 + "line": 112, + "column": 17 }, "end": { - "line": 329, - "column": 121 + "line": 112, + "column": 20 } } }, { - "type": "CommentLine", - "value": " <<<<<<<<<<<<<<<<<<<< Error here? Order/value of countEntityMeshesPortion correct?", - "start": 17324, - "end": 17408, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 3904, + "end": 3905, "loc": { "start": { - "line": 335, - "column": 82 + "line": 112, + "column": 21 }, "end": { - "line": 335, - "column": 166 + "line": 112, + "column": 22 } } }, { - "type": "CommentLine", - "value": " Produce only ASCII-chars, so that the data can be inflated later", - "start": 19861, - "end": 19928, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3906, + "end": 3907, "loc": { "start": { - "line": 390, - "column": 58 + "line": 112, + "column": 23 }, "end": { - "line": 390, - "column": 125 + "line": 112, + "column": 24 } } }, { - "type": "CommentLine", - "value": " Produce only ASCII-chars, so that the data can be inflated later", - "start": 20375, - "end": 20442, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3908, + "end": 3909, "loc": { "start": { - "line": 401, - "column": 54 + "line": 112, + "column": 25 }, "end": { - "line": 401, - "column": 121 + "line": 112, + "column": 26 } } }, { - "type": "CommentLine", - "value": " Stored Data 1.1: number of stored elements", - "start": 21934, - "end": 21979, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3909, + "end": 3910, "loc": { "start": { - "line": 442, - "column": 38 + "line": 112, + "column": 26 }, "end": { - "line": 442, - "column": 83 + "line": 112, + "column": 27 } } }, { - "type": "CommentLine", - "value": " Stored Data 1.2: length of stored elements", - "start": 22004, - "end": 22049, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "b", + "start": 3911, + "end": 3912, "loc": { "start": { - "line": 443, - "column": 24 + "line": 112, + "column": 28 }, "end": { - "line": 443, - "column": 69 + "line": 112, + "column": 29 } } }, { - "type": "CommentLine", - "value": " Stored Data 2: the elements themselves", - "start": 22514, - "end": 22555, + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 3913, + "end": 3914, "loc": { "start": { - "line": 454, - "column": 63 + "line": 112, + "column": 30 }, "end": { - "line": 454, - "column": 104 + "line": 112, + "column": 31 } } - } - ], - "tokens": [ + }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40711,45 +64797,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 0, - "end": 6, + "value": "cnt", + "start": 3915, + "end": 3918, "loc": { "start": { - "line": 1, - "column": 0 + "line": 112, + "column": 32 }, "end": { - "line": 1, - "column": 6 + "line": 112, + "column": 35 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7, - "end": 8, + "start": 3918, + "end": 3919, "loc": { "start": { - "line": 1, - "column": 7 + "line": 112, + "column": 35 }, "end": { - "line": 1, - "column": 8 + "line": 112, + "column": 36 } } }, @@ -40765,50 +64851,51 @@ "postfix": false, "binop": null }, - "value": "XKT_INFO", - "start": 8, - "end": 16, + "value": "b", + "start": 3920, + "end": 3921, "loc": { "start": { - "line": 1, - "column": 8 + "line": 112, + "column": 37 }, "end": { - "line": 1, - "column": 16 + "line": 112, + "column": 38 } } }, { "type": { - "label": "}", + "label": "++/--", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, + "prefix": true, + "postfix": true, "binop": null }, - "start": 16, - "end": 17, + "value": "++", + "start": 3921, + "end": 3923, "loc": { "start": { - "line": 1, - "column": 16 + "line": 112, + "column": 38 }, "end": { - "line": 1, - "column": 17 + "line": 112, + "column": 40 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40816,51 +64903,49 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 18, - "end": 22, + "start": 3923, + "end": 3924, "loc": { "start": { - "line": 1, - "column": 18 + "line": 112, + "column": 40 }, "end": { - "line": 1, - "column": 22 + "line": 112, + "column": 41 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "../XKT_INFO.js", - "start": 23, - "end": 39, + "start": 3925, + "end": 3926, "loc": { "start": { - "line": 1, - "column": 23 + "line": 112, + "column": 42 }, "end": { - "line": 1, - "column": 39 + "line": 112, + "column": 43 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -40870,23 +64955,23 @@ "binop": null, "updateContext": null }, - "start": 39, - "end": 40, + "value": "const", + "start": 3943, + "end": 3948, "loc": { "start": { - "line": 1, - "column": 39 + "line": 113, + "column": 16 }, "end": { - "line": 1, - "column": 40 + "line": 113, + "column": 21 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40894,47 +64979,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 41, - "end": 47, + "value": "offset", + "start": 3949, + "end": 3955, "loc": { "start": { - "line": 2, - "column": 0 + "line": 113, + "column": 22 }, "end": { - "line": 2, - "column": 6 + "line": 113, + "column": 28 } } }, { "type": { - "label": "*", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "*", - "start": 48, - "end": 49, + "value": "=", + "start": 3956, + "end": 3957, "loc": { "start": { - "line": 2, - "column": 7 + "line": 113, + "column": 29 }, "end": { - "line": 2, - "column": 8 + "line": 113, + "column": 30 } } }, @@ -40950,43 +65034,44 @@ "postfix": false, "binop": null }, - "value": "as", - "start": 50, - "end": 52, + "value": "b", + "start": 3958, + "end": 3959, "loc": { "start": { - "line": 2, - "column": 9 + "line": 113, + "column": 31 }, "end": { - "line": 2, - "column": 11 + "line": 113, + "column": 32 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "*", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "value": "pako", - "start": 53, - "end": 57, + "value": "*", + "start": 3960, + "end": 3961, "loc": { "start": { - "line": 2, - "column": 12 + "line": 113, + "column": 33 }, "end": { - "line": 2, - "column": 16 + "line": 113, + "column": 34 } } }, @@ -41002,25 +65087,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 58, - "end": 62, + "value": "BPE", + "start": 3962, + "end": 3965, "loc": { "start": { - "line": 2, - "column": 17 + "line": 113, + "column": 35 }, "end": { - "line": 2, - "column": 21 + "line": 113, + "column": 38 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -41029,50 +65114,76 @@ "binop": null, "updateContext": null }, - "value": "pako", - "start": 63, - "end": 69, + "start": 3965, + "end": 3966, "loc": { "start": { - "line": 2, - "column": 22 + "line": 113, + "column": 38 }, "end": { - "line": 2, - "column": 28 + "line": 113, + "column": 39 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "for", + "keyword": "for", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 69, - "end": 70, + "value": "for", + "start": 3983, + "end": 3986, "loc": { "start": { - "line": 2, - "column": 28 + "line": 114, + "column": 16 }, "end": { - "line": 2, - "column": 29 + "line": 114, + "column": 19 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3987, + "end": 3988, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 21 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -41083,17 +65194,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 72, - "end": 77, + "value": "let", + "start": 3988, + "end": 3991, "loc": { "start": { - "line": 4, - "column": 0 + "line": 114, + "column": 21 }, "end": { - "line": 4, - "column": 5 + "line": 114, + "column": 24 } } }, @@ -41109,17 +65220,17 @@ "postfix": false, "binop": null }, - "value": "XKT_VERSION", - "start": 78, - "end": 89, + "value": "j", + "start": 3992, + "end": 3993, "loc": { "start": { - "line": 4, - "column": 6 + "line": 114, + "column": 25 }, "end": { - "line": 4, - "column": 17 + "line": 114, + "column": 26 } } }, @@ -41137,22 +65248,22 @@ "updateContext": null }, "value": "=", - "start": 90, - "end": 91, + "start": 3994, + "end": 3995, "loc": { "start": { - "line": 4, - "column": 18 + "line": 114, + "column": 27 }, "end": { - "line": 4, - "column": 19 + "line": 114, + "column": 28 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41160,26 +65271,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "XKT_INFO", - "start": 92, - "end": 100, + "value": 0, + "start": 3996, + "end": 3997, "loc": { "start": { - "line": 4, - "column": 20 + "line": 114, + "column": 29 }, "end": { - "line": 4, - "column": 28 + "line": 114, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -41189,16 +65301,16 @@ "binop": null, "updateContext": null }, - "start": 100, - "end": 101, + "start": 3997, + "end": 3998, "loc": { "start": { - "line": 4, - "column": 28 + "line": 114, + "column": 30 }, "end": { - "line": 4, - "column": 29 + "line": 114, + "column": 31 } } }, @@ -41214,23 +65326,23 @@ "postfix": false, "binop": null }, - "value": "xktVersion", - "start": 101, - "end": 111, + "value": "j", + "start": 3999, + "end": 4000, "loc": { "start": { - "line": 4, - "column": 29 + "line": 114, + "column": 32 }, "end": { - "line": 4, - "column": 39 + "line": 114, + "column": 33 } } }, { "type": { - "label": ";", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -41238,27 +65350,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 111, - "end": 112, + "value": "<", + "start": 4001, + "end": 4002, "loc": { "start": { - "line": 4, - "column": 39 + "line": 114, + "column": 34 }, "end": { - "line": 4, - "column": 40 + "line": 114, + "column": 35 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "swaps", + "start": 4003, + "end": 4008, + "loc": { + "start": { + "line": 114, + "column": 36 + }, + "end": { + "line": 114, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -41268,17 +65406,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 113, - "end": 118, + "start": 4008, + "end": 4009, "loc": { "start": { - "line": 5, - "column": 0 + "line": 114, + "column": 41 }, "end": { - "line": 5, - "column": 5 + "line": 114, + "column": 42 } } }, @@ -41294,97 +65431,93 @@ "postfix": false, "binop": null }, - "value": "NUM_TEXTURE_ATTRIBUTES", - "start": 119, - "end": 141, + "value": "j", + "start": 4010, + "end": 4011, "loc": { "start": { - "line": 5, - "column": 6 + "line": 114, + "column": 43 }, "end": { - "line": 5, - "column": 28 + "line": 114, + "column": 44 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null }, - "value": "=", - "start": 142, - "end": 143, + "value": "++", + "start": 4011, + "end": 4013, "loc": { "start": { - "line": 5, - "column": 29 + "line": 114, + "column": 44 }, "end": { - "line": 5, - "column": 30 + "line": 114, + "column": 46 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 9, - "start": 144, - "end": 145, + "start": 4013, + "end": 4014, "loc": { "start": { - "line": 5, - "column": 31 + "line": 114, + "column": 46 }, "end": { - "line": 5, - "column": 32 + "line": 114, + "column": 47 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 145, - "end": 146, + "start": 4015, + "end": 4016, "loc": { "start": { - "line": 5, - "column": 32 + "line": 114, + "column": 48 }, "end": { - "line": 5, - "column": 33 + "line": 114, + "column": 49 } } }, @@ -41403,16 +65536,16 @@ "updateContext": null }, "value": "const", - "start": 147, - "end": 152, + "start": 4037, + "end": 4042, "loc": { "start": { - "line": 6, - "column": 0 + "line": 115, + "column": 20 }, "end": { - "line": 6, - "column": 5 + "line": 115, + "column": 25 } } }, @@ -41427,18 +65560,18 @@ "prefix": false, "postfix": false, "binop": null - }, - "value": "NUM_MATERIAL_ATTRIBUTES", - "start": 153, - "end": 176, + }, + "value": "i1", + "start": 4043, + "end": 4045, "loc": { "start": { - "line": 6, - "column": 6 + "line": 115, + "column": 26 }, "end": { - "line": 6, - "column": 29 + "line": 115, + "column": 28 } } }, @@ -41456,22 +65589,22 @@ "updateContext": null }, "value": "=", - "start": 177, - "end": 178, + "start": 4046, + "end": 4047, "loc": { "start": { - "line": 6, - "column": 30 + "line": 115, + "column": 29 }, "end": { - "line": 6, - "column": 31 + "line": 115, + "column": 30 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41479,69 +65612,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 6, - "start": 179, - "end": 180, + "value": "offset", + "start": 4048, + "end": 4054, "loc": { "start": { - "line": 6, - "column": 32 + "line": 115, + "column": 31 }, "end": { - "line": 6, - "column": 33 + "line": 115, + "column": 37 } } }, { "type": { - "label": ";", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 180, - "end": 181, - "loc": { - "start": { - "line": 6, - "column": 33 - }, - "end": { - "line": 6, - "column": 34 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Writes an {@link XKTModel} to an {@link ArrayBuffer}.\n *\n * @param {XKTModel} xktModel The {@link XKTModel}.\n * @param {String} metaModelJSON The metamodel JSON in a string.\n * @param {Object} [stats] Collects statistics.\n * @param {Object} options Options for how the XKT is written.\n * @param {Boolean} [options.zip=true] ZIP the contents?\n * @returns {ArrayBuffer} The {@link ArrayBuffer}.\n ", - "start": 183, - "end": 586, + "value": "+", + "start": 4055, + "end": 4056, "loc": { "start": { - "line": 8, - "column": 0 + "line": 115, + "column": 38 }, "end": { - "line": 17, - "column": 3 + "line": 115, + "column": 39 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -41551,68 +65667,71 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 587, - "end": 595, + "value": "j", + "start": 4057, + "end": 4058, "loc": { "start": { - "line": 18, - "column": 0 + "line": 115, + "column": 40 }, "end": { - "line": 18, - "column": 8 + "line": 115, + "column": 41 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "writeXKTModelToArrayBuffer", - "start": 596, - "end": 622, + "start": 4058, + "end": 4059, "loc": { "start": { - "line": 18, - "column": 9 + "line": 115, + "column": 41 }, "end": { - "line": 18, - "column": 35 + "line": 115, + "column": 42 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 622, - "end": 623, + "value": "const", + "start": 4080, + "end": 4085, "loc": { "start": { - "line": 18, - "column": 35 + "line": 116, + "column": 20 }, "end": { - "line": 18, - "column": 36 + "line": 116, + "column": 25 } } }, @@ -41628,43 +65747,44 @@ "postfix": false, "binop": null }, - "value": "xktModel", - "start": 623, - "end": 631, + "value": "i2", + "start": 4086, + "end": 4088, "loc": { "start": { - "line": 18, - "column": 36 + "line": 116, + "column": 26 }, "end": { - "line": 18, - "column": 44 + "line": 116, + "column": 28 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 631, - "end": 632, + "value": "=", + "start": 4089, + "end": 4090, "loc": { "start": { - "line": 18, - "column": 44 + "line": 116, + "column": 29 }, "end": { - "line": 18, - "column": 45 + "line": 116, + "column": 30 } } }, @@ -41680,43 +65800,44 @@ "postfix": false, "binop": null }, - "value": "metaModelJSON", - "start": 633, - "end": 646, + "value": "offset", + "start": 4091, + "end": 4097, "loc": { "start": { - "line": 18, - "column": 46 + "line": 116, + "column": 31 }, "end": { - "line": 18, - "column": 59 + "line": 116, + "column": 37 } } }, { "type": { - "label": ",", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 646, - "end": 647, + "value": "-", + "start": 4098, + "end": 4099, "loc": { "start": { - "line": 18, - "column": 59 + "line": 116, + "column": 38 }, "end": { - "line": 18, - "column": 60 + "line": 116, + "column": 39 } } }, @@ -41732,43 +65853,44 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 648, - "end": 653, + "value": "j", + "start": 4100, + "end": 4101, "loc": { "start": { - "line": 18, - "column": 61 + "line": 116, + "column": 40 }, "end": { - "line": 18, - "column": 66 + "line": 116, + "column": 41 } } }, { "type": { - "label": ",", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 653, - "end": 654, + "value": "+", + "start": 4102, + "end": 4103, "loc": { "start": { - "line": 18, - "column": 66 + "line": 116, + "column": 42 }, "end": { - "line": 18, - "column": 67 + "line": 116, + "column": 43 } } }, @@ -41784,67 +65906,97 @@ "postfix": false, "binop": null }, - "value": "options", - "start": 655, - "end": 662, + "value": "BPE", + "start": 4104, + "end": 4107, "loc": { "start": { - "line": 18, - "column": 68 + "line": 116, + "column": 44 }, "end": { - "line": 18, - "column": 75 + "line": 116, + "column": 47 } } }, { "type": { - "label": ")", + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 4108, + "end": 4109, + "loc": { + "start": { + "line": 116, + "column": 48 + }, + "end": { + "line": 116, + "column": 49 + } + } + }, + { + "type": { + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 662, - "end": 663, + "value": 1, + "start": 4110, + "end": 4111, "loc": { "start": { - "line": 18, - "column": 75 + "line": 116, + "column": 50 }, "end": { - "line": 18, - "column": 76 + "line": 116, + "column": 51 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 664, - "end": 665, + "start": 4111, + "end": 4112, "loc": { "start": { - "line": 18, - "column": 77 + "line": 116, + "column": 51 }, "end": { - "line": 18, - "column": 78 + "line": 116, + "column": 52 } } }, @@ -41863,16 +66015,16 @@ "updateContext": null }, "value": "const", - "start": 670, - "end": 675, + "start": 4133, + "end": 4138, "loc": { "start": { - "line": 19, - "column": 4 + "line": 117, + "column": 20 }, "end": { - "line": 19, - "column": 9 + "line": 117, + "column": 25 } } }, @@ -41888,17 +66040,17 @@ "postfix": false, "binop": null }, - "value": "data", - "start": 676, - "end": 680, + "value": "tmp", + "start": 4139, + "end": 4142, "loc": { "start": { - "line": 19, - "column": 10 + "line": 117, + "column": 26 }, "end": { - "line": 19, - "column": 14 + "line": 117, + "column": 29 } } }, @@ -41916,16 +66068,16 @@ "updateContext": null }, "value": "=", - "start": 681, - "end": 682, + "start": 4143, + "end": 4144, "loc": { "start": { - "line": 19, - "column": 15 + "line": 117, + "column": 30 }, "end": { - "line": 19, - "column": 16 + "line": 117, + "column": 31 } } }, @@ -41941,23 +66093,23 @@ "postfix": false, "binop": null }, - "value": "getModelData", - "start": 683, - "end": 695, + "value": "subarray", + "start": 4145, + "end": 4153, "loc": { "start": { - "line": 19, - "column": 17 + "line": 117, + "column": 32 }, "end": { - "line": 19, - "column": 29 + "line": 117, + "column": 40 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -41965,18 +66117,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 695, - "end": 696, + "start": 4153, + "end": 4154, "loc": { "start": { - "line": 19, - "column": 29 + "line": 117, + "column": 40 }, "end": { - "line": 19, - "column": 30 + "line": 117, + "column": 41 } } }, @@ -41992,24 +66145,24 @@ "postfix": false, "binop": null }, - "value": "xktModel", - "start": 696, - "end": 704, + "value": "i1", + "start": 4154, + "end": 4156, "loc": { "start": { - "line": 19, - "column": 30 + "line": 117, + "column": 41 }, "end": { - "line": 19, - "column": 38 + "line": 117, + "column": 43 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -42019,102 +66172,102 @@ "binop": null, "updateContext": null }, - "start": 704, - "end": 705, + "start": 4156, + "end": 4157, "loc": { "start": { - "line": 19, - "column": 38 + "line": 117, + "column": 43 }, "end": { - "line": 19, - "column": 39 + "line": 117, + "column": 44 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "metaModelJSON", - "start": 706, - "end": 719, + "start": 4157, + "end": 4158, "loc": { "start": { - "line": 19, - "column": 40 + "line": 117, + "column": 44 }, "end": { - "line": 19, - "column": 53 + "line": 117, + "column": 45 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 719, - "end": 720, + "value": "subarray", + "start": 4179, + "end": 4187, "loc": { "start": { - "line": 19, - "column": 53 + "line": 118, + "column": 20 }, "end": { - "line": 19, - "column": 54 + "line": 118, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "stats", - "start": 721, - "end": 726, + "start": 4187, + "end": 4188, "loc": { "start": { - "line": 19, - "column": 55 + "line": 118, + "column": 28 }, "end": { - "line": 19, - "column": 60 + "line": 118, + "column": 29 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42122,23 +66275,24 @@ "postfix": false, "binop": null }, - "start": 726, - "end": 727, + "value": "i1", + "start": 4188, + "end": 4190, "loc": { "start": { - "line": 19, - "column": 60 + "line": 118, + "column": 29 }, "end": { - "line": 19, - "column": 61 + "line": 118, + "column": 31 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -42148,44 +66302,43 @@ "binop": null, "updateContext": null }, - "start": 727, - "end": 728, + "start": 4190, + "end": 4191, "loc": { "start": { - "line": 19, - "column": 61 + "line": 118, + "column": 31 }, "end": { - "line": 19, - "column": 62 + "line": 118, + "column": 32 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 733, - "end": 738, + "value": "=", + "start": 4192, + "end": 4193, "loc": { "start": { - "line": 20, - "column": 4 + "line": 118, + "column": 33 }, "end": { - "line": 20, - "column": 9 + "line": 118, + "column": 34 } } }, @@ -42201,44 +66354,43 @@ "postfix": false, "binop": null }, - "value": "deflatedData", - "start": 739, - "end": 751, + "value": "subarray", + "start": 4194, + "end": 4202, "loc": { "start": { - "line": 20, - "column": 10 + "line": 118, + "column": 35 }, "end": { - "line": 20, - "column": 22 + "line": 118, + "column": 43 } } }, { "type": { - "label": "=", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 752, - "end": 753, + "start": 4202, + "end": 4203, "loc": { "start": { - "line": 20, - "column": 23 + "line": 118, + "column": 43 }, "end": { - "line": 20, - "column": 24 + "line": 118, + "column": 44 } } }, @@ -42254,74 +66406,49 @@ "postfix": false, "binop": null }, - "value": "deflateData", - "start": 754, - "end": 765, - "loc": { - "start": { - "line": 20, - "column": 25 - }, - "end": { - "line": 20, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 765, - "end": 766, + "value": "i2", + "start": 4203, + "end": 4205, "loc": { "start": { - "line": 20, - "column": 36 + "line": 118, + "column": 44 }, "end": { - "line": 20, - "column": 37 + "line": 118, + "column": 46 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "data", - "start": 766, - "end": 770, + "start": 4205, + "end": 4206, "loc": { "start": { - "line": 20, - "column": 37 + "line": 118, + "column": 46 }, "end": { - "line": 20, - "column": 41 + "line": 118, + "column": 47 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -42332,16 +66459,16 @@ "binop": null, "updateContext": null }, - "start": 770, - "end": 771, + "start": 4206, + "end": 4207, "loc": { "start": { - "line": 20, - "column": 41 + "line": 118, + "column": 47 }, "end": { - "line": 20, - "column": 42 + "line": 118, + "column": 48 } } }, @@ -42357,25 +66484,25 @@ "postfix": false, "binop": null }, - "value": "metaModelJSON", - "start": 772, - "end": 785, + "value": "subarray", + "start": 4228, + "end": 4236, "loc": { "start": { - "line": 20, - "column": 43 + "line": 119, + "column": 20 }, "end": { - "line": 20, - "column": 56 + "line": 119, + "column": 28 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42384,16 +66511,16 @@ "binop": null, "updateContext": null }, - "start": 785, - "end": 786, + "start": 4236, + "end": 4237, "loc": { "start": { - "line": 20, - "column": 56 + "line": 119, + "column": 28 }, "end": { - "line": 20, - "column": 57 + "line": 119, + "column": 29 } } }, @@ -42409,23 +66536,23 @@ "postfix": false, "binop": null }, - "value": "options", - "start": 787, - "end": 794, + "value": "i2", + "start": 4237, + "end": 4239, "loc": { "start": { - "line": 20, - "column": 58 + "line": 119, + "column": 29 }, "end": { - "line": 20, - "column": 65 + "line": 119, + "column": 31 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -42433,44 +66560,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 794, - "end": 795, + "start": 4239, + "end": 4240, "loc": { "start": { - "line": 20, - "column": 65 + "line": 119, + "column": 31 }, "end": { - "line": 20, - "column": 66 + "line": 119, + "column": 32 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 795, - "end": 796, + "value": "=", + "start": 4241, + "end": 4242, "loc": { "start": { - "line": 20, - "column": 66 + "line": 119, + "column": 33 }, "end": { - "line": 20, - "column": 67 + "line": 119, + "column": 34 } } }, @@ -42486,24 +66615,24 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 801, - "end": 806, + "value": "tmp", + "start": 4243, + "end": 4246, "loc": { "start": { - "line": 21, - "column": 4 + "line": 119, + "column": 35 }, "end": { - "line": 21, - "column": 9 + "line": 119, + "column": 38 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -42513,24 +66642,24 @@ "binop": null, "updateContext": null }, - "start": 806, - "end": 807, + "start": 4246, + "end": 4247, "loc": { "start": { - "line": 21, - "column": 9 + "line": 119, + "column": 38 }, "end": { - "line": 21, - "column": 10 + "line": 119, + "column": 39 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42538,44 +66667,66 @@ "postfix": false, "binop": null }, - "value": "texturesSize", - "start": 807, - "end": 819, + "start": 4264, + "end": 4265, "loc": { "start": { - "line": 21, - "column": 10 + "line": 120, + "column": 16 }, "end": { - "line": 21, - "column": 22 + "line": 120, + "column": 17 } } }, { "type": { - "label": "_=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "+=", - "start": 820, - "end": 822, + "start": 4278, + "end": 4279, "loc": { "start": { - "line": 21, - "column": 23 + "line": 121, + "column": 12 }, "end": { - "line": 21, - "column": 25 + "line": 121, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4288, + "end": 4289, + "loc": { + "start": { + "line": 122, + "column": 8 + }, + "end": { + "line": 122, + "column": 9 } } }, @@ -42591,17 +66742,17 @@ "postfix": false, "binop": null }, - "value": "deflatedData", - "start": 823, - "end": 835, + "value": "dataArray", + "start": 4299, + "end": 4308, "loc": { "start": { - "line": 21, - "column": 26 + "line": 124, + "column": 8 }, "end": { - "line": 21, - "column": 38 + "line": 124, + "column": 17 } } }, @@ -42618,16 +66769,16 @@ "binop": null, "updateContext": null }, - "start": 835, - "end": 836, + "start": 4308, + "end": 4309, "loc": { "start": { - "line": 21, - "column": 38 + "line": 124, + "column": 17 }, "end": { - "line": 21, - "column": 39 + "line": 124, + "column": 18 } } }, @@ -42643,43 +66794,42 @@ "postfix": false, "binop": null }, - "value": "textureData", - "start": 836, - "end": 847, + "value": "set", + "start": 4309, + "end": 4312, "loc": { "start": { - "line": 21, - "column": 39 + "line": 124, + "column": 18 }, "end": { - "line": 21, - "column": 50 + "line": 124, + "column": 21 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 847, - "end": 848, + "start": 4312, + "end": 4313, "loc": { "start": { - "line": 21, - "column": 50 + "line": 124, + "column": 21 }, "end": { - "line": 21, - "column": 51 + "line": 124, + "column": 22 } } }, @@ -42695,23 +66845,23 @@ "postfix": false, "binop": null }, - "value": "byteLength", - "start": 848, - "end": 858, + "value": "subarray", + "start": 4313, + "end": 4321, "loc": { "start": { - "line": 21, - "column": 51 + "line": 124, + "column": 22 }, "end": { - "line": 21, - "column": 61 + "line": 124, + "column": 30 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -42722,25 +66872,50 @@ "binop": null, "updateContext": null }, - "start": 858, - "end": 859, + "start": 4321, + "end": 4322, "loc": { "start": { - "line": 21, - "column": 61 + "line": 124, + "column": 30 }, "end": { - "line": 21, - "column": 62 + "line": 124, + "column": 31 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "offsets", + "start": 4323, + "end": 4330, + "loc": { + "start": { + "line": 124, + "column": 32 + }, + "end": { + "line": 124, + "column": 39 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42749,17 +66924,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 864, - "end": 869, + "start": 4330, + "end": 4331, "loc": { "start": { - "line": 22, - "column": 4 + "line": 124, + "column": 39 }, "end": { - "line": 22, - "column": 9 + "line": 124, + "column": 40 } } }, @@ -42775,52 +66949,51 @@ "postfix": false, "binop": null }, - "value": "arrayBuffer", - "start": 870, - "end": 881, + "value": "i", + "start": 4331, + "end": 4332, "loc": { "start": { - "line": 22, - "column": 10 + "line": 124, + "column": 40 }, "end": { - "line": 22, - "column": 21 + "line": 124, + "column": 41 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 882, - "end": 883, + "start": 4332, + "end": 4333, "loc": { "start": { - "line": 22, - "column": 22 + "line": 124, + "column": 41 }, "end": { - "line": 22, - "column": 23 + "line": 124, + "column": 42 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42828,50 +67001,50 @@ "postfix": false, "binop": null }, - "value": "createArrayBuffer", - "start": 884, - "end": 901, + "start": 4333, + "end": 4334, "loc": { "start": { - "line": 22, - "column": 24 + "line": 124, + "column": 42 }, "end": { - "line": 22, - "column": 41 + "line": 124, + "column": 43 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 901, - "end": 902, + "start": 4334, + "end": 4335, "loc": { "start": { - "line": 22, - "column": 41 + "line": 124, + "column": 43 }, "end": { - "line": 22, - "column": 42 + "line": 124, + "column": 44 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -42879,76 +67052,77 @@ "postfix": false, "binop": null }, - "value": "deflatedData", - "start": 902, - "end": 914, + "start": 4340, + "end": 4341, "loc": { "start": { - "line": 22, - "column": 42 + "line": 125, + "column": 4 }, "end": { - "line": 22, - "column": 54 + "line": 125, + "column": 5 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 914, - "end": 915, + "value": "return", + "start": 4347, + "end": 4353, "loc": { "start": { - "line": 22, - "column": 54 + "line": 127, + "column": 4 }, "end": { - "line": 22, - "column": 55 + "line": 127, + "column": 10 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 915, - "end": 916, + "value": "dataArray", + "start": 4354, + "end": 4363, "loc": { "start": { - "line": 22, - "column": 55 + "line": 127, + "column": 11 }, "end": { - "line": 22, - "column": 56 + "line": 127, + "column": 20 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -42958,17 +67132,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 921, - "end": 927, + "start": 4363, + "end": 4364, "loc": { "start": { - "line": 23, - "column": 4 + "line": 127, + "column": 20 }, "end": { - "line": 23, - "column": 10 + "line": 127, + "column": 21 } } }, @@ -42984,17 +67157,17 @@ "postfix": false, "binop": null }, - "value": "arrayBuffer", - "start": 928, - "end": 939, + "value": "buffer", + "start": 4364, + "end": 4370, "loc": { "start": { - "line": 23, - "column": 11 + "line": 127, + "column": 21 }, "end": { - "line": 23, - "column": 22 + "line": 127, + "column": 27 } } }, @@ -43011,16 +67184,16 @@ "binop": null, "updateContext": null }, - "start": 939, - "end": 940, + "start": 4370, + "end": 4371, "loc": { "start": { - "line": 23, - "column": 22 + "line": 127, + "column": 27 }, "end": { - "line": 23, - "column": 23 + "line": 127, + "column": 28 } } }, @@ -43036,15 +67209,15 @@ "postfix": false, "binop": null }, - "start": 941, - "end": 942, + "start": 4372, + "end": 4373, "loc": { "start": { - "line": 24, + "line": 128, "column": 0 }, "end": { - "line": 24, + "line": 128, "column": 1 } } @@ -43063,15 +67236,15 @@ "binop": null }, "value": "function", - "start": 944, - "end": 952, + "start": 4375, + "end": 4383, "loc": { "start": { - "line": 26, + "line": 130, "column": 0 }, "end": { - "line": 26, + "line": 130, "column": 8 } } @@ -43089,15 +67262,15 @@ "binop": null }, "value": "getModelData", - "start": 953, - "end": 965, + "start": 4384, + "end": 4396, "loc": { "start": { - "line": 26, + "line": 130, "column": 9 }, "end": { - "line": 26, + "line": 130, "column": 21 } } @@ -43114,15 +67287,15 @@ "postfix": false, "binop": null }, - "start": 965, - "end": 966, + "start": 4396, + "end": 4397, "loc": { "start": { - "line": 26, + "line": 130, "column": 21 }, "end": { - "line": 26, + "line": 130, "column": 22 } } @@ -43140,15 +67313,15 @@ "binop": null }, "value": "xktModel", - "start": 966, - "end": 974, + "start": 4397, + "end": 4405, "loc": { "start": { - "line": 26, + "line": 130, "column": 22 }, "end": { - "line": 26, + "line": 130, "column": 30 } } @@ -43166,15 +67339,15 @@ "binop": null, "updateContext": null }, - "start": 974, - "end": 975, + "start": 4405, + "end": 4406, "loc": { "start": { - "line": 26, + "line": 130, "column": 30 }, "end": { - "line": 26, + "line": 130, "column": 31 } } @@ -43192,15 +67365,15 @@ "binop": null }, "value": "metaModelDataStr", - "start": 976, - "end": 992, + "start": 4407, + "end": 4423, "loc": { "start": { - "line": 26, + "line": 130, "column": 32 }, "end": { - "line": 26, + "line": 130, "column": 48 } } @@ -43218,15 +67391,15 @@ "binop": null, "updateContext": null }, - "start": 992, - "end": 993, + "start": 4423, + "end": 4424, "loc": { "start": { - "line": 26, + "line": 130, "column": 48 }, "end": { - "line": 26, + "line": 130, "column": 49 } } @@ -43244,15 +67417,15 @@ "binop": null }, "value": "stats", - "start": 994, - "end": 999, + "start": 4425, + "end": 4430, "loc": { "start": { - "line": 26, + "line": 130, "column": 50 }, "end": { - "line": 26, + "line": 130, "column": 55 } } @@ -43269,15 +67442,15 @@ "postfix": false, "binop": null }, - "start": 999, - "end": 1000, + "start": 4430, + "end": 4431, "loc": { "start": { - "line": 26, + "line": 130, "column": 55 }, "end": { - "line": 26, + "line": 130, "column": 56 } } @@ -43294,15 +67467,15 @@ "postfix": false, "binop": null }, - "start": 1001, - "end": 1002, + "start": 4432, + "end": 4433, "loc": { "start": { - "line": 26, + "line": 130, "column": 57 }, "end": { - "line": 26, + "line": 130, "column": 58 } } @@ -43310,15 +67483,15 @@ { "type": "CommentLine", "value": "------------------------------------------------------------------------------------------------------------------", - "start": 1008, - "end": 1124, + "start": 4439, + "end": 4555, "loc": { "start": { - "line": 28, + "line": 132, "column": 4 }, "end": { - "line": 28, + "line": 132, "column": 120 } } @@ -43326,15 +67499,15 @@ { "type": "CommentLine", "value": " Allocate data", - "start": 1129, - "end": 1145, + "start": 4560, + "end": 4576, "loc": { "start": { - "line": 29, + "line": 133, "column": 4 }, "end": { - "line": 29, + "line": 133, "column": 20 } } @@ -43342,15 +67515,15 @@ { "type": "CommentLine", "value": "------------------------------------------------------------------------------------------------------------------", - "start": 1150, - "end": 1266, + "start": 4581, + "end": 4697, "loc": { "start": { - "line": 30, + "line": 134, "column": 4 }, "end": { - "line": 30, + "line": 134, "column": 120 } } @@ -43370,15 +67543,15 @@ "updateContext": null }, "value": "const", - "start": 1272, - "end": 1277, + "start": 4703, + "end": 4708, "loc": { "start": { - "line": 32, + "line": 136, "column": 4 }, "end": { - "line": 32, + "line": 136, "column": 9 } } @@ -43396,15 +67569,15 @@ "binop": null }, "value": "propertySetsList", - "start": 1278, - "end": 1294, + "start": 4709, + "end": 4725, "loc": { "start": { - "line": 32, + "line": 136, "column": 10 }, "end": { - "line": 32, + "line": 136, "column": 26 } } @@ -43423,15 +67596,15 @@ "updateContext": null }, "value": "=", - "start": 1295, - "end": 1296, + "start": 4726, + "end": 4727, "loc": { "start": { - "line": 32, + "line": 136, "column": 27 }, "end": { - "line": 32, + "line": 136, "column": 28 } } @@ -43449,15 +67622,15 @@ "binop": null }, "value": "xktModel", - "start": 1297, - "end": 1305, + "start": 4728, + "end": 4736, "loc": { "start": { - "line": 32, + "line": 136, "column": 29 }, "end": { - "line": 32, + "line": 136, "column": 37 } } @@ -43475,15 +67648,15 @@ "binop": null, "updateContext": null }, - "start": 1305, - "end": 1306, + "start": 4736, + "end": 4737, "loc": { "start": { - "line": 32, + "line": 136, "column": 37 }, "end": { - "line": 32, + "line": 136, "column": 38 } } @@ -43501,15 +67674,15 @@ "binop": null }, "value": "propertySetsList", - "start": 1306, - "end": 1322, + "start": 4737, + "end": 4753, "loc": { "start": { - "line": 32, + "line": 136, "column": 38 }, "end": { - "line": 32, + "line": 136, "column": 54 } } @@ -43527,15 +67700,15 @@ "binop": null, "updateContext": null }, - "start": 1322, - "end": 1323, + "start": 4753, + "end": 4754, "loc": { "start": { - "line": 32, + "line": 136, "column": 54 }, "end": { - "line": 32, + "line": 136, "column": 55 } } @@ -43555,15 +67728,15 @@ "updateContext": null }, "value": "const", - "start": 1328, - "end": 1333, + "start": 4759, + "end": 4764, "loc": { "start": { - "line": 33, + "line": 137, "column": 4 }, "end": { - "line": 33, + "line": 137, "column": 9 } } @@ -43581,15 +67754,15 @@ "binop": null }, "value": "metaObjectsList", - "start": 1334, - "end": 1349, + "start": 4765, + "end": 4780, "loc": { "start": { - "line": 33, + "line": 137, "column": 10 }, "end": { - "line": 33, + "line": 137, "column": 25 } } @@ -43608,15 +67781,15 @@ "updateContext": null }, "value": "=", - "start": 1350, - "end": 1351, + "start": 4781, + "end": 4782, "loc": { "start": { - "line": 33, + "line": 137, "column": 26 }, "end": { - "line": 33, + "line": 137, "column": 27 } } @@ -43634,15 +67807,15 @@ "binop": null }, "value": "xktModel", - "start": 1352, - "end": 1360, + "start": 4783, + "end": 4791, "loc": { "start": { - "line": 33, + "line": 137, "column": 28 }, "end": { - "line": 33, + "line": 137, "column": 36 } } @@ -43660,15 +67833,15 @@ "binop": null, "updateContext": null }, - "start": 1360, - "end": 1361, + "start": 4791, + "end": 4792, "loc": { "start": { - "line": 33, + "line": 137, "column": 36 }, "end": { - "line": 33, + "line": 137, "column": 37 } } @@ -43686,15 +67859,15 @@ "binop": null }, "value": "metaObjectsList", - "start": 1361, - "end": 1376, + "start": 4792, + "end": 4807, "loc": { "start": { - "line": 33, + "line": 137, "column": 37 }, "end": { - "line": 33, + "line": 137, "column": 52 } } @@ -43712,15 +67885,15 @@ "binop": null, "updateContext": null }, - "start": 1376, - "end": 1377, + "start": 4807, + "end": 4808, "loc": { "start": { - "line": 33, + "line": 137, "column": 52 }, "end": { - "line": 33, + "line": 137, "column": 53 } } @@ -43740,15 +67913,15 @@ "updateContext": null }, "value": "const", - "start": 1382, - "end": 1387, + "start": 4813, + "end": 4818, "loc": { "start": { - "line": 34, + "line": 138, "column": 4 }, "end": { - "line": 34, + "line": 138, "column": 9 } } @@ -43766,15 +67939,15 @@ "binop": null }, "value": "geometriesList", - "start": 1388, - "end": 1402, + "start": 4819, + "end": 4833, "loc": { "start": { - "line": 34, + "line": 138, "column": 10 }, "end": { - "line": 34, + "line": 138, "column": 24 } } @@ -43793,15 +67966,15 @@ "updateContext": null }, "value": "=", - "start": 1403, - "end": 1404, + "start": 4834, + "end": 4835, "loc": { "start": { - "line": 34, + "line": 138, "column": 25 }, "end": { - "line": 34, + "line": 138, "column": 26 } } @@ -43819,15 +67992,15 @@ "binop": null }, "value": "xktModel", - "start": 1405, - "end": 1413, + "start": 4836, + "end": 4844, "loc": { "start": { - "line": 34, + "line": 138, "column": 27 }, "end": { - "line": 34, + "line": 138, "column": 35 } } @@ -43845,15 +68018,15 @@ "binop": null, "updateContext": null }, - "start": 1413, - "end": 1414, + "start": 4844, + "end": 4845, "loc": { "start": { - "line": 34, + "line": 138, "column": 35 }, "end": { - "line": 34, + "line": 138, "column": 36 } } @@ -43871,15 +68044,15 @@ "binop": null }, "value": "geometriesList", - "start": 1414, - "end": 1428, + "start": 4845, + "end": 4859, "loc": { "start": { - "line": 34, + "line": 138, "column": 36 }, "end": { - "line": 34, + "line": 138, "column": 50 } } @@ -43897,15 +68070,15 @@ "binop": null, "updateContext": null }, - "start": 1428, - "end": 1429, + "start": 4859, + "end": 4860, "loc": { "start": { - "line": 34, + "line": 138, "column": 50 }, "end": { - "line": 34, + "line": 138, "column": 51 } } @@ -43925,15 +68098,15 @@ "updateContext": null }, "value": "const", - "start": 1434, - "end": 1439, + "start": 4865, + "end": 4870, "loc": { "start": { - "line": 35, + "line": 139, "column": 4 }, "end": { - "line": 35, + "line": 139, "column": 9 } } @@ -43951,15 +68124,15 @@ "binop": null }, "value": "texturesList", - "start": 1440, - "end": 1452, + "start": 4871, + "end": 4883, "loc": { "start": { - "line": 35, + "line": 139, "column": 10 }, "end": { - "line": 35, + "line": 139, "column": 22 } } @@ -43978,15 +68151,15 @@ "updateContext": null }, "value": "=", - "start": 1453, - "end": 1454, + "start": 4884, + "end": 4885, "loc": { "start": { - "line": 35, + "line": 139, "column": 23 }, "end": { - "line": 35, + "line": 139, "column": 24 } } @@ -44004,15 +68177,15 @@ "binop": null }, "value": "xktModel", - "start": 1455, - "end": 1463, + "start": 4886, + "end": 4894, "loc": { "start": { - "line": 35, + "line": 139, "column": 25 }, "end": { - "line": 35, + "line": 139, "column": 33 } } @@ -44030,15 +68203,15 @@ "binop": null, "updateContext": null }, - "start": 1463, - "end": 1464, + "start": 4894, + "end": 4895, "loc": { "start": { - "line": 35, + "line": 139, "column": 33 }, "end": { - "line": 35, + "line": 139, "column": 34 } } @@ -44056,15 +68229,15 @@ "binop": null }, "value": "texturesList", - "start": 1464, - "end": 1476, + "start": 4895, + "end": 4907, "loc": { "start": { - "line": 35, + "line": 139, "column": 34 }, "end": { - "line": 35, + "line": 139, "column": 46 } } @@ -44082,15 +68255,15 @@ "binop": null, "updateContext": null }, - "start": 1476, - "end": 1477, + "start": 4907, + "end": 4908, "loc": { "start": { - "line": 35, + "line": 139, "column": 46 }, "end": { - "line": 35, + "line": 139, "column": 47 } } @@ -44110,15 +68283,15 @@ "updateContext": null }, "value": "const", - "start": 1482, - "end": 1487, + "start": 4913, + "end": 4918, "loc": { "start": { - "line": 36, + "line": 140, "column": 4 }, "end": { - "line": 36, + "line": 140, "column": 9 } } @@ -44136,15 +68309,15 @@ "binop": null }, "value": "textureSetsList", - "start": 1488, - "end": 1503, + "start": 4919, + "end": 4934, "loc": { "start": { - "line": 36, + "line": 140, "column": 10 }, "end": { - "line": 36, + "line": 140, "column": 25 } } @@ -44163,15 +68336,15 @@ "updateContext": null }, "value": "=", - "start": 1504, - "end": 1505, + "start": 4935, + "end": 4936, "loc": { "start": { - "line": 36, + "line": 140, "column": 26 }, "end": { - "line": 36, + "line": 140, "column": 27 } } @@ -44189,15 +68362,15 @@ "binop": null }, "value": "xktModel", - "start": 1506, - "end": 1514, + "start": 4937, + "end": 4945, "loc": { "start": { - "line": 36, + "line": 140, "column": 28 }, "end": { - "line": 36, + "line": 140, "column": 36 } } @@ -44215,15 +68388,15 @@ "binop": null, "updateContext": null }, - "start": 1514, - "end": 1515, + "start": 4945, + "end": 4946, "loc": { "start": { - "line": 36, + "line": 140, "column": 36 }, "end": { - "line": 36, + "line": 140, "column": 37 } } @@ -44241,15 +68414,15 @@ "binop": null }, "value": "textureSetsList", - "start": 1515, - "end": 1530, + "start": 4946, + "end": 4961, "loc": { "start": { - "line": 36, + "line": 140, "column": 37 }, "end": { - "line": 36, + "line": 140, "column": 52 } } @@ -44267,15 +68440,15 @@ "binop": null, "updateContext": null }, - "start": 1530, - "end": 1531, + "start": 4961, + "end": 4962, "loc": { "start": { - "line": 36, + "line": 140, "column": 52 }, "end": { - "line": 36, + "line": 140, "column": 53 } } @@ -44295,15 +68468,15 @@ "updateContext": null }, "value": "const", - "start": 1536, - "end": 1541, + "start": 4967, + "end": 4972, "loc": { "start": { - "line": 37, + "line": 141, "column": 4 }, "end": { - "line": 37, + "line": 141, "column": 9 } } @@ -44321,15 +68494,15 @@ "binop": null }, "value": "meshesList", - "start": 1542, - "end": 1552, + "start": 4973, + "end": 4983, "loc": { "start": { - "line": 37, + "line": 141, "column": 10 }, "end": { - "line": 37, + "line": 141, "column": 20 } } @@ -44348,15 +68521,15 @@ "updateContext": null }, "value": "=", - "start": 1553, - "end": 1554, + "start": 4984, + "end": 4985, "loc": { "start": { - "line": 37, + "line": 141, "column": 21 }, "end": { - "line": 37, + "line": 141, "column": 22 } } @@ -44374,15 +68547,15 @@ "binop": null }, "value": "xktModel", - "start": 1555, - "end": 1563, + "start": 4986, + "end": 4994, "loc": { "start": { - "line": 37, + "line": 141, "column": 23 }, "end": { - "line": 37, + "line": 141, "column": 31 } } @@ -44400,15 +68573,15 @@ "binop": null, "updateContext": null }, - "start": 1563, - "end": 1564, + "start": 4994, + "end": 4995, "loc": { "start": { - "line": 37, + "line": 141, "column": 31 }, "end": { - "line": 37, + "line": 141, "column": 32 } } @@ -44426,15 +68599,15 @@ "binop": null }, "value": "meshesList", - "start": 1564, - "end": 1574, + "start": 4995, + "end": 5005, "loc": { "start": { - "line": 37, + "line": 141, "column": 32 }, "end": { - "line": 37, + "line": 141, "column": 42 } } @@ -44452,15 +68625,15 @@ "binop": null, "updateContext": null }, - "start": 1574, - "end": 1575, + "start": 5005, + "end": 5006, "loc": { "start": { - "line": 37, + "line": 141, "column": 42 }, "end": { - "line": 37, + "line": 141, "column": 43 } } @@ -44480,15 +68653,15 @@ "updateContext": null }, "value": "const", - "start": 1580, - "end": 1585, + "start": 5011, + "end": 5016, "loc": { "start": { - "line": 38, + "line": 142, "column": 4 }, "end": { - "line": 38, + "line": 142, "column": 9 } } @@ -44506,15 +68679,15 @@ "binop": null }, "value": "entitiesList", - "start": 1586, - "end": 1598, + "start": 5017, + "end": 5029, "loc": { "start": { - "line": 38, + "line": 142, "column": 10 }, "end": { - "line": 38, + "line": 142, "column": 22 } } @@ -44533,15 +68706,15 @@ "updateContext": null }, "value": "=", - "start": 1599, - "end": 1600, + "start": 5030, + "end": 5031, "loc": { "start": { - "line": 38, + "line": 142, "column": 23 }, "end": { - "line": 38, + "line": 142, "column": 24 } } @@ -44559,15 +68732,15 @@ "binop": null }, "value": "xktModel", - "start": 1601, - "end": 1609, + "start": 5032, + "end": 5040, "loc": { "start": { - "line": 38, + "line": 142, "column": 25 }, "end": { - "line": 38, + "line": 142, "column": 33 } } @@ -44585,15 +68758,15 @@ "binop": null, "updateContext": null }, - "start": 1609, - "end": 1610, + "start": 5040, + "end": 5041, "loc": { "start": { - "line": 38, + "line": 142, "column": 33 }, "end": { - "line": 38, + "line": 142, "column": 34 } } @@ -44611,15 +68784,15 @@ "binop": null }, "value": "entitiesList", - "start": 1610, - "end": 1622, + "start": 5041, + "end": 5053, "loc": { "start": { - "line": 38, + "line": 142, "column": 34 }, "end": { - "line": 38, + "line": 142, "column": 46 } } @@ -44637,15 +68810,15 @@ "binop": null, "updateContext": null }, - "start": 1622, - "end": 1623, + "start": 5053, + "end": 5054, "loc": { "start": { - "line": 38, + "line": 142, "column": 46 }, "end": { - "line": 38, + "line": 142, "column": 47 } } @@ -44665,15 +68838,15 @@ "updateContext": null }, "value": "const", - "start": 1628, - "end": 1633, + "start": 5059, + "end": 5064, "loc": { "start": { - "line": 39, + "line": 143, "column": 4 }, "end": { - "line": 39, + "line": 143, "column": 9 } } @@ -44691,15 +68864,15 @@ "binop": null }, "value": "tilesList", - "start": 1634, - "end": 1643, + "start": 5065, + "end": 5074, "loc": { "start": { - "line": 39, + "line": 143, "column": 10 }, "end": { - "line": 39, + "line": 143, "column": 19 } } @@ -44718,15 +68891,15 @@ "updateContext": null }, "value": "=", - "start": 1644, - "end": 1645, + "start": 5075, + "end": 5076, "loc": { "start": { - "line": 39, + "line": 143, "column": 20 }, "end": { - "line": 39, + "line": 143, "column": 21 } } @@ -44744,15 +68917,15 @@ "binop": null }, "value": "xktModel", - "start": 1646, - "end": 1654, + "start": 5077, + "end": 5085, "loc": { "start": { - "line": 39, + "line": 143, "column": 22 }, "end": { - "line": 39, + "line": 143, "column": 30 } } @@ -44770,15 +68943,15 @@ "binop": null, "updateContext": null }, - "start": 1654, - "end": 1655, + "start": 5085, + "end": 5086, "loc": { "start": { - "line": 39, + "line": 143, "column": 30 }, "end": { - "line": 39, + "line": 143, "column": 31 } } @@ -44796,15 +68969,15 @@ "binop": null }, "value": "tilesList", - "start": 1655, - "end": 1664, + "start": 5086, + "end": 5095, "loc": { "start": { - "line": 39, + "line": 143, "column": 31 }, "end": { - "line": 39, + "line": 143, "column": 40 } } @@ -44822,15 +68995,15 @@ "binop": null, "updateContext": null }, - "start": 1664, - "end": 1665, + "start": 5095, + "end": 5096, "loc": { "start": { - "line": 39, + "line": 143, "column": 40 }, "end": { - "line": 39, + "line": 143, "column": 41 } } @@ -44850,15 +69023,15 @@ "updateContext": null }, "value": "const", - "start": 1671, - "end": 1676, + "start": 5102, + "end": 5107, "loc": { "start": { - "line": 41, + "line": 145, "column": 4 }, "end": { - "line": 41, + "line": 145, "column": 9 } } @@ -44876,15 +69049,15 @@ "binop": null }, "value": "numPropertySets", - "start": 1677, - "end": 1692, + "start": 5108, + "end": 5123, "loc": { "start": { - "line": 41, + "line": 145, "column": 10 }, "end": { - "line": 41, + "line": 145, "column": 25 } } @@ -44903,15 +69076,15 @@ "updateContext": null }, "value": "=", - "start": 1693, - "end": 1694, + "start": 5124, + "end": 5125, "loc": { "start": { - "line": 41, + "line": 145, "column": 26 }, "end": { - "line": 41, + "line": 145, "column": 27 } } @@ -44929,15 +69102,15 @@ "binop": null }, "value": "propertySetsList", - "start": 1695, - "end": 1711, + "start": 5126, + "end": 5142, "loc": { "start": { - "line": 41, + "line": 145, "column": 28 }, "end": { - "line": 41, + "line": 145, "column": 44 } } @@ -44955,15 +69128,15 @@ "binop": null, "updateContext": null }, - "start": 1711, - "end": 1712, + "start": 5142, + "end": 5143, "loc": { "start": { - "line": 41, + "line": 145, "column": 44 }, "end": { - "line": 41, + "line": 145, "column": 45 } } @@ -44981,15 +69154,15 @@ "binop": null }, "value": "length", - "start": 1712, - "end": 1718, + "start": 5143, + "end": 5149, "loc": { "start": { - "line": 41, + "line": 145, "column": 45 }, "end": { - "line": 41, + "line": 145, "column": 51 } } @@ -45007,15 +69180,15 @@ "binop": null, "updateContext": null }, - "start": 1718, - "end": 1719, + "start": 5149, + "end": 5150, "loc": { "start": { - "line": 41, + "line": 145, "column": 51 }, "end": { - "line": 41, + "line": 145, "column": 52 } } @@ -45035,15 +69208,15 @@ "updateContext": null }, "value": "const", - "start": 1724, - "end": 1729, + "start": 5155, + "end": 5160, "loc": { "start": { - "line": 42, + "line": 146, "column": 4 }, "end": { - "line": 42, + "line": 146, "column": 9 } } @@ -45061,15 +69234,15 @@ "binop": null }, "value": "numMetaObjects", - "start": 1730, - "end": 1744, + "start": 5161, + "end": 5175, "loc": { "start": { - "line": 42, + "line": 146, "column": 10 }, "end": { - "line": 42, + "line": 146, "column": 24 } } @@ -45088,15 +69261,15 @@ "updateContext": null }, "value": "=", - "start": 1745, - "end": 1746, + "start": 5176, + "end": 5177, "loc": { "start": { - "line": 42, + "line": 146, "column": 25 }, "end": { - "line": 42, + "line": 146, "column": 26 } } @@ -45114,15 +69287,15 @@ "binop": null }, "value": "metaObjectsList", - "start": 1747, - "end": 1762, + "start": 5178, + "end": 5193, "loc": { "start": { - "line": 42, + "line": 146, "column": 27 }, "end": { - "line": 42, + "line": 146, "column": 42 } } @@ -45140,15 +69313,15 @@ "binop": null, "updateContext": null }, - "start": 1762, - "end": 1763, + "start": 5193, + "end": 5194, "loc": { "start": { - "line": 42, + "line": 146, "column": 42 }, "end": { - "line": 42, + "line": 146, "column": 43 } } @@ -45166,15 +69339,15 @@ "binop": null }, "value": "length", - "start": 1763, - "end": 1769, + "start": 5194, + "end": 5200, "loc": { "start": { - "line": 42, + "line": 146, "column": 43 }, "end": { - "line": 42, + "line": 146, "column": 49 } } @@ -45192,15 +69365,15 @@ "binop": null, "updateContext": null }, - "start": 1769, - "end": 1770, + "start": 5200, + "end": 5201, "loc": { "start": { - "line": 42, + "line": 146, "column": 49 }, "end": { - "line": 42, + "line": 146, "column": 50 } } @@ -45220,15 +69393,15 @@ "updateContext": null }, "value": "const", - "start": 1775, - "end": 1780, + "start": 5206, + "end": 5211, "loc": { "start": { - "line": 43, + "line": 147, "column": 4 }, "end": { - "line": 43, + "line": 147, "column": 9 } } @@ -45246,15 +69419,15 @@ "binop": null }, "value": "numGeometries", - "start": 1781, - "end": 1794, + "start": 5212, + "end": 5225, "loc": { "start": { - "line": 43, + "line": 147, "column": 10 }, "end": { - "line": 43, + "line": 147, "column": 23 } } @@ -45273,15 +69446,15 @@ "updateContext": null }, "value": "=", - "start": 1795, - "end": 1796, + "start": 5226, + "end": 5227, "loc": { "start": { - "line": 43, + "line": 147, "column": 24 }, "end": { - "line": 43, + "line": 147, "column": 25 } } @@ -45299,15 +69472,15 @@ "binop": null }, "value": "geometriesList", - "start": 1797, - "end": 1811, + "start": 5228, + "end": 5242, "loc": { "start": { - "line": 43, + "line": 147, "column": 26 }, "end": { - "line": 43, + "line": 147, "column": 40 } } @@ -45325,15 +69498,15 @@ "binop": null, "updateContext": null }, - "start": 1811, - "end": 1812, + "start": 5242, + "end": 5243, "loc": { "start": { - "line": 43, + "line": 147, "column": 40 }, "end": { - "line": 43, + "line": 147, "column": 41 } } @@ -45351,15 +69524,15 @@ "binop": null }, "value": "length", - "start": 1812, - "end": 1818, + "start": 5243, + "end": 5249, "loc": { "start": { - "line": 43, + "line": 147, "column": 41 }, "end": { - "line": 43, + "line": 147, "column": 47 } } @@ -45377,15 +69550,15 @@ "binop": null, "updateContext": null }, - "start": 1818, - "end": 1819, + "start": 5249, + "end": 5250, "loc": { "start": { - "line": 43, + "line": 147, "column": 47 }, "end": { - "line": 43, + "line": 147, "column": 48 } } @@ -45405,15 +69578,15 @@ "updateContext": null }, "value": "const", - "start": 1824, - "end": 1829, + "start": 5255, + "end": 5260, "loc": { "start": { - "line": 44, + "line": 148, "column": 4 }, "end": { - "line": 44, + "line": 148, "column": 9 } } @@ -45431,15 +69604,15 @@ "binop": null }, "value": "numTextures", - "start": 1830, - "end": 1841, + "start": 5261, + "end": 5272, "loc": { "start": { - "line": 44, + "line": 148, "column": 10 }, "end": { - "line": 44, + "line": 148, "column": 21 } } @@ -45458,15 +69631,15 @@ "updateContext": null }, "value": "=", - "start": 1842, - "end": 1843, + "start": 5273, + "end": 5274, "loc": { "start": { - "line": 44, + "line": 148, "column": 22 }, "end": { - "line": 44, + "line": 148, "column": 23 } } @@ -45484,15 +69657,15 @@ "binop": null }, "value": "texturesList", - "start": 1844, - "end": 1856, + "start": 5275, + "end": 5287, "loc": { "start": { - "line": 44, + "line": 148, "column": 24 }, "end": { - "line": 44, + "line": 148, "column": 36 } } @@ -45510,15 +69683,15 @@ "binop": null, "updateContext": null }, - "start": 1856, - "end": 1857, + "start": 5287, + "end": 5288, "loc": { "start": { - "line": 44, + "line": 148, "column": 36 }, "end": { - "line": 44, + "line": 148, "column": 37 } } @@ -45536,15 +69709,15 @@ "binop": null }, "value": "length", - "start": 1857, - "end": 1863, + "start": 5288, + "end": 5294, "loc": { "start": { - "line": 44, + "line": 148, "column": 37 }, "end": { - "line": 44, + "line": 148, "column": 43 } } @@ -45562,15 +69735,15 @@ "binop": null, "updateContext": null }, - "start": 1863, - "end": 1864, + "start": 5294, + "end": 5295, "loc": { "start": { - "line": 44, + "line": 148, "column": 43 }, "end": { - "line": 44, + "line": 148, "column": 44 } } @@ -45590,15 +69763,15 @@ "updateContext": null }, "value": "const", - "start": 1869, - "end": 1874, + "start": 5300, + "end": 5305, "loc": { "start": { - "line": 45, + "line": 149, "column": 4 }, "end": { - "line": 45, + "line": 149, "column": 9 } } @@ -45616,15 +69789,15 @@ "binop": null }, "value": "numTextureSets", - "start": 1875, - "end": 1889, + "start": 5306, + "end": 5320, "loc": { "start": { - "line": 45, + "line": 149, "column": 10 }, "end": { - "line": 45, + "line": 149, "column": 24 } } @@ -45643,15 +69816,15 @@ "updateContext": null }, "value": "=", - "start": 1890, - "end": 1891, + "start": 5321, + "end": 5322, "loc": { "start": { - "line": 45, + "line": 149, "column": 25 }, "end": { - "line": 45, + "line": 149, "column": 26 } } @@ -45669,15 +69842,15 @@ "binop": null }, "value": "textureSetsList", - "start": 1892, - "end": 1907, + "start": 5323, + "end": 5338, "loc": { "start": { - "line": 45, + "line": 149, "column": 27 }, "end": { - "line": 45, + "line": 149, "column": 42 } } @@ -45695,15 +69868,15 @@ "binop": null, "updateContext": null }, - "start": 1907, - "end": 1908, + "start": 5338, + "end": 5339, "loc": { "start": { - "line": 45, + "line": 149, "column": 42 }, "end": { - "line": 45, + "line": 149, "column": 43 } } @@ -45721,15 +69894,15 @@ "binop": null }, "value": "length", - "start": 1908, - "end": 1914, + "start": 5339, + "end": 5345, "loc": { "start": { - "line": 45, + "line": 149, "column": 43 }, "end": { - "line": 45, + "line": 149, "column": 49 } } @@ -45747,15 +69920,15 @@ "binop": null, "updateContext": null }, - "start": 1914, - "end": 1915, + "start": 5345, + "end": 5346, "loc": { "start": { - "line": 45, + "line": 149, "column": 49 }, "end": { - "line": 45, + "line": 149, "column": 50 } } @@ -45775,15 +69948,15 @@ "updateContext": null }, "value": "const", - "start": 1920, - "end": 1925, + "start": 5351, + "end": 5356, "loc": { "start": { - "line": 46, + "line": 150, "column": 4 }, "end": { - "line": 46, + "line": 150, "column": 9 } } @@ -45801,15 +69974,15 @@ "binop": null }, "value": "numMeshes", - "start": 1926, - "end": 1935, + "start": 5357, + "end": 5366, "loc": { "start": { - "line": 46, + "line": 150, "column": 10 }, "end": { - "line": 46, + "line": 150, "column": 19 } } @@ -45828,15 +70001,15 @@ "updateContext": null }, "value": "=", - "start": 1936, - "end": 1937, + "start": 5367, + "end": 5368, "loc": { "start": { - "line": 46, + "line": 150, "column": 20 }, "end": { - "line": 46, + "line": 150, "column": 21 } } @@ -45854,15 +70027,15 @@ "binop": null }, "value": "meshesList", - "start": 1938, - "end": 1948, + "start": 5369, + "end": 5379, "loc": { "start": { - "line": 46, + "line": 150, "column": 22 }, "end": { - "line": 46, + "line": 150, "column": 32 } } @@ -45880,15 +70053,15 @@ "binop": null, "updateContext": null }, - "start": 1948, - "end": 1949, + "start": 5379, + "end": 5380, "loc": { "start": { - "line": 46, + "line": 150, "column": 32 }, "end": { - "line": 46, + "line": 150, "column": 33 } } @@ -45906,15 +70079,15 @@ "binop": null }, "value": "length", - "start": 1949, - "end": 1955, + "start": 5380, + "end": 5386, "loc": { "start": { - "line": 46, + "line": 150, "column": 33 }, "end": { - "line": 46, + "line": 150, "column": 39 } } @@ -45932,15 +70105,15 @@ "binop": null, "updateContext": null }, - "start": 1955, - "end": 1956, + "start": 5386, + "end": 5387, "loc": { "start": { - "line": 46, + "line": 150, "column": 39 }, "end": { - "line": 46, + "line": 150, "column": 40 } } @@ -45960,15 +70133,15 @@ "updateContext": null }, "value": "const", - "start": 1961, - "end": 1966, + "start": 5392, + "end": 5397, "loc": { "start": { - "line": 47, + "line": 151, "column": 4 }, "end": { - "line": 47, + "line": 151, "column": 9 } } @@ -45986,15 +70159,15 @@ "binop": null }, "value": "numEntities", - "start": 1967, - "end": 1978, + "start": 5398, + "end": 5409, "loc": { "start": { - "line": 47, + "line": 151, "column": 10 }, "end": { - "line": 47, + "line": 151, "column": 21 } } @@ -46013,15 +70186,15 @@ "updateContext": null }, "value": "=", - "start": 1979, - "end": 1980, + "start": 5410, + "end": 5411, "loc": { "start": { - "line": 47, + "line": 151, "column": 22 }, "end": { - "line": 47, + "line": 151, "column": 23 } } @@ -46039,15 +70212,15 @@ "binop": null }, "value": "entitiesList", - "start": 1981, - "end": 1993, + "start": 5412, + "end": 5424, "loc": { "start": { - "line": 47, + "line": 151, "column": 24 }, "end": { - "line": 47, + "line": 151, "column": 36 } } @@ -46065,15 +70238,15 @@ "binop": null, "updateContext": null }, - "start": 1993, - "end": 1994, + "start": 5424, + "end": 5425, "loc": { "start": { - "line": 47, + "line": 151, "column": 36 }, "end": { - "line": 47, + "line": 151, "column": 37 } } @@ -46091,15 +70264,15 @@ "binop": null }, "value": "length", - "start": 1994, - "end": 2000, + "start": 5425, + "end": 5431, "loc": { "start": { - "line": 47, + "line": 151, "column": 37 }, "end": { - "line": 47, + "line": 151, "column": 43 } } @@ -46117,15 +70290,15 @@ "binop": null, "updateContext": null }, - "start": 2000, - "end": 2001, + "start": 5431, + "end": 5432, "loc": { "start": { - "line": 47, + "line": 151, "column": 43 }, "end": { - "line": 47, + "line": 151, "column": 44 } } @@ -46145,15 +70318,15 @@ "updateContext": null }, "value": "const", - "start": 2006, - "end": 2011, + "start": 5437, + "end": 5442, "loc": { "start": { - "line": 48, + "line": 152, "column": 4 }, "end": { - "line": 48, + "line": 152, "column": 9 } } @@ -46171,15 +70344,15 @@ "binop": null }, "value": "numTiles", - "start": 2012, - "end": 2020, + "start": 5443, + "end": 5451, "loc": { "start": { - "line": 48, + "line": 152, "column": 10 }, "end": { - "line": 48, + "line": 152, "column": 18 } } @@ -46198,15 +70371,15 @@ "updateContext": null }, "value": "=", - "start": 2021, - "end": 2022, + "start": 5452, + "end": 5453, "loc": { "start": { - "line": 48, + "line": 152, "column": 19 }, "end": { - "line": 48, + "line": 152, "column": 20 } } @@ -46224,15 +70397,15 @@ "binop": null }, "value": "tilesList", - "start": 2023, - "end": 2032, + "start": 5454, + "end": 5463, "loc": { "start": { - "line": 48, + "line": 152, "column": 21 }, "end": { - "line": 48, + "line": 152, "column": 30 } } @@ -46250,15 +70423,15 @@ "binop": null, "updateContext": null }, - "start": 2032, - "end": 2033, + "start": 5463, + "end": 5464, "loc": { "start": { - "line": 48, + "line": 152, "column": 30 }, "end": { - "line": 48, + "line": 152, "column": 31 } } @@ -46276,15 +70449,15 @@ "binop": null }, "value": "length", - "start": 2033, - "end": 2039, + "start": 5464, + "end": 5470, "loc": { "start": { - "line": 48, + "line": 152, "column": 31 }, "end": { - "line": 48, + "line": 152, "column": 37 } } @@ -46302,15 +70475,15 @@ "binop": null, "updateContext": null }, - "start": 2039, - "end": 2040, + "start": 5470, + "end": 5471, "loc": { "start": { - "line": 48, + "line": 152, "column": 37 }, "end": { - "line": 48, + "line": 152, "column": 38 } } @@ -46330,15 +70503,15 @@ "updateContext": null }, "value": "let", - "start": 2046, - "end": 2049, + "start": 5477, + "end": 5480, "loc": { "start": { - "line": 50, + "line": 154, "column": 4 }, "end": { - "line": 50, + "line": 154, "column": 7 } } @@ -46356,15 +70529,15 @@ "binop": null }, "value": "lenPositions", - "start": 2050, - "end": 2062, + "start": 5481, + "end": 5493, "loc": { "start": { - "line": 50, + "line": 154, "column": 8 }, "end": { - "line": 50, + "line": 154, "column": 20 } } @@ -46383,15 +70556,15 @@ "updateContext": null }, "value": "=", - "start": 2063, - "end": 2064, + "start": 5494, + "end": 5495, "loc": { "start": { - "line": 50, + "line": 154, "column": 21 }, "end": { - "line": 50, + "line": 154, "column": 22 } } @@ -46410,15 +70583,15 @@ "updateContext": null }, "value": 0, - "start": 2065, - "end": 2066, + "start": 5496, + "end": 5497, "loc": { "start": { - "line": 50, + "line": 154, "column": 23 }, "end": { - "line": 50, + "line": 154, "column": 24 } } @@ -46436,15 +70609,15 @@ "binop": null, "updateContext": null }, - "start": 2066, - "end": 2067, + "start": 5497, + "end": 5498, "loc": { "start": { - "line": 50, + "line": 154, "column": 24 }, "end": { - "line": 50, + "line": 154, "column": 25 } } @@ -46464,15 +70637,15 @@ "updateContext": null }, "value": "let", - "start": 2072, - "end": 2075, + "start": 5503, + "end": 5506, "loc": { "start": { - "line": 51, + "line": 155, "column": 4 }, "end": { - "line": 51, + "line": 155, "column": 7 } } @@ -46490,15 +70663,15 @@ "binop": null }, "value": "lenNormals", - "start": 2076, - "end": 2086, + "start": 5507, + "end": 5517, "loc": { "start": { - "line": 51, + "line": 155, "column": 8 }, "end": { - "line": 51, + "line": 155, "column": 18 } } @@ -46517,15 +70690,15 @@ "updateContext": null }, "value": "=", - "start": 2087, - "end": 2088, + "start": 5518, + "end": 5519, "loc": { "start": { - "line": 51, + "line": 155, "column": 19 }, "end": { - "line": 51, + "line": 155, "column": 20 } } @@ -46544,15 +70717,15 @@ "updateContext": null }, "value": 0, - "start": 2089, - "end": 2090, + "start": 5520, + "end": 5521, "loc": { "start": { - "line": 51, + "line": 155, "column": 21 }, "end": { - "line": 51, + "line": 155, "column": 22 } } @@ -46570,15 +70743,15 @@ "binop": null, "updateContext": null }, - "start": 2090, - "end": 2091, + "start": 5521, + "end": 5522, "loc": { "start": { - "line": 51, + "line": 155, "column": 22 }, "end": { - "line": 51, + "line": 155, "column": 23 } } @@ -46598,15 +70771,15 @@ "updateContext": null }, "value": "let", - "start": 2096, - "end": 2099, + "start": 5527, + "end": 5530, "loc": { "start": { - "line": 52, + "line": 156, "column": 4 }, "end": { - "line": 52, + "line": 156, "column": 7 } } @@ -46624,15 +70797,15 @@ "binop": null }, "value": "lenColors", - "start": 2100, - "end": 2109, + "start": 5531, + "end": 5540, "loc": { "start": { - "line": 52, + "line": 156, "column": 8 }, "end": { - "line": 52, + "line": 156, "column": 17 } } @@ -46651,15 +70824,15 @@ "updateContext": null }, "value": "=", - "start": 2110, - "end": 2111, + "start": 5541, + "end": 5542, "loc": { "start": { - "line": 52, + "line": 156, "column": 18 }, "end": { - "line": 52, + "line": 156, "column": 19 } } @@ -46678,15 +70851,15 @@ "updateContext": null }, "value": 0, - "start": 2112, - "end": 2113, + "start": 5543, + "end": 5544, "loc": { "start": { - "line": 52, + "line": 156, "column": 20 }, "end": { - "line": 52, + "line": 156, "column": 21 } } @@ -46704,15 +70877,15 @@ "binop": null, "updateContext": null }, - "start": 2113, - "end": 2114, + "start": 5544, + "end": 5545, "loc": { "start": { - "line": 52, + "line": 156, "column": 21 }, "end": { - "line": 52, + "line": 156, "column": 22 } } @@ -46732,15 +70905,15 @@ "updateContext": null }, "value": "let", - "start": 2119, - "end": 2122, + "start": 5550, + "end": 5553, "loc": { "start": { - "line": 53, + "line": 157, "column": 4 }, "end": { - "line": 53, + "line": 157, "column": 7 } } @@ -46758,15 +70931,15 @@ "binop": null }, "value": "lenUVs", - "start": 2123, - "end": 2129, + "start": 5554, + "end": 5560, "loc": { "start": { - "line": 53, + "line": 157, "column": 8 }, "end": { - "line": 53, + "line": 157, "column": 14 } } @@ -46785,15 +70958,15 @@ "updateContext": null }, "value": "=", - "start": 2130, - "end": 2131, + "start": 5561, + "end": 5562, "loc": { "start": { - "line": 53, + "line": 157, "column": 15 }, "end": { - "line": 53, + "line": 157, "column": 16 } } @@ -46812,15 +70985,15 @@ "updateContext": null }, "value": 0, - "start": 2132, - "end": 2133, + "start": 5563, + "end": 5564, "loc": { "start": { - "line": 53, + "line": 157, "column": 17 }, "end": { - "line": 53, + "line": 157, "column": 18 } } @@ -46838,15 +71011,15 @@ "binop": null, "updateContext": null }, - "start": 2133, - "end": 2134, + "start": 5564, + "end": 5565, "loc": { "start": { - "line": 53, + "line": 157, "column": 18 }, "end": { - "line": 53, + "line": 157, "column": 19 } } @@ -46866,15 +71039,15 @@ "updateContext": null }, "value": "let", - "start": 2139, - "end": 2142, + "start": 5570, + "end": 5573, "loc": { "start": { - "line": 54, + "line": 158, "column": 4 }, "end": { - "line": 54, + "line": 158, "column": 7 } } @@ -46892,15 +71065,15 @@ "binop": null }, "value": "lenIndices", - "start": 2143, - "end": 2153, + "start": 5574, + "end": 5584, "loc": { "start": { - "line": 54, + "line": 158, "column": 8 }, "end": { - "line": 54, + "line": 158, "column": 18 } } @@ -46919,15 +71092,15 @@ "updateContext": null }, "value": "=", - "start": 2154, - "end": 2155, + "start": 5585, + "end": 5586, "loc": { "start": { - "line": 54, + "line": 158, "column": 19 }, "end": { - "line": 54, + "line": 158, "column": 20 } } @@ -46946,15 +71119,15 @@ "updateContext": null }, "value": 0, - "start": 2156, - "end": 2157, + "start": 5587, + "end": 5588, "loc": { "start": { - "line": 54, + "line": 158, "column": 21 }, "end": { - "line": 54, + "line": 158, "column": 22 } } @@ -46972,15 +71145,15 @@ "binop": null, "updateContext": null }, - "start": 2157, - "end": 2158, + "start": 5588, + "end": 5589, "loc": { "start": { - "line": 54, + "line": 158, "column": 22 }, "end": { - "line": 54, + "line": 158, "column": 23 } } @@ -47000,15 +71173,15 @@ "updateContext": null }, "value": "let", - "start": 2163, - "end": 2166, + "start": 5594, + "end": 5597, "loc": { "start": { - "line": 55, + "line": 159, "column": 4 }, "end": { - "line": 55, + "line": 159, "column": 7 } } @@ -47026,15 +71199,15 @@ "binop": null }, "value": "lenEdgeIndices", - "start": 2167, - "end": 2181, + "start": 5598, + "end": 5612, "loc": { "start": { - "line": 55, + "line": 159, "column": 8 }, "end": { - "line": 55, + "line": 159, "column": 22 } } @@ -47053,15 +71226,15 @@ "updateContext": null }, "value": "=", - "start": 2182, - "end": 2183, + "start": 5613, + "end": 5614, "loc": { "start": { - "line": 55, + "line": 159, "column": 23 }, "end": { - "line": 55, + "line": 159, "column": 24 } } @@ -47080,15 +71253,15 @@ "updateContext": null }, "value": 0, - "start": 2184, - "end": 2185, + "start": 5615, + "end": 5616, "loc": { "start": { - "line": 55, + "line": 159, "column": 25 }, "end": { - "line": 55, + "line": 159, "column": 26 } } @@ -47106,15 +71279,15 @@ "binop": null, "updateContext": null }, - "start": 2185, - "end": 2186, + "start": 5616, + "end": 5617, "loc": { "start": { - "line": 55, + "line": 159, "column": 26 }, "end": { - "line": 55, + "line": 159, "column": 27 } } @@ -47134,15 +71307,15 @@ "updateContext": null }, "value": "let", - "start": 2191, - "end": 2194, + "start": 5622, + "end": 5625, "loc": { "start": { - "line": 56, + "line": 160, "column": 4 }, "end": { - "line": 56, + "line": 160, "column": 7 } } @@ -47160,15 +71333,15 @@ "binop": null }, "value": "lenMatrices", - "start": 2195, - "end": 2206, + "start": 5626, + "end": 5637, "loc": { "start": { - "line": 56, + "line": 160, "column": 8 }, "end": { - "line": 56, + "line": 160, "column": 19 } } @@ -47187,15 +71360,15 @@ "updateContext": null }, "value": "=", - "start": 2207, - "end": 2208, + "start": 5638, + "end": 5639, "loc": { "start": { - "line": 56, + "line": 160, "column": 20 }, "end": { - "line": 56, + "line": 160, "column": 21 } } @@ -47214,15 +71387,15 @@ "updateContext": null }, "value": 0, - "start": 2209, - "end": 2210, + "start": 5640, + "end": 5641, "loc": { "start": { - "line": 56, + "line": 160, "column": 22 }, "end": { - "line": 56, + "line": 160, "column": 23 } } @@ -47240,15 +71413,15 @@ "binop": null, "updateContext": null }, - "start": 2210, - "end": 2211, + "start": 5641, + "end": 5642, "loc": { "start": { - "line": 56, + "line": 160, "column": 23 }, "end": { - "line": 56, + "line": 160, "column": 24 } } @@ -47268,15 +71441,15 @@ "updateContext": null }, "value": "let", - "start": 2216, - "end": 2219, + "start": 5647, + "end": 5650, "loc": { "start": { - "line": 57, + "line": 161, "column": 4 }, "end": { - "line": 57, + "line": 161, "column": 7 } } @@ -47294,15 +71467,15 @@ "binop": null }, "value": "lenTextures", - "start": 2220, - "end": 2231, + "start": 5651, + "end": 5662, "loc": { "start": { - "line": 57, + "line": 161, "column": 8 }, "end": { - "line": 57, + "line": 161, "column": 19 } } @@ -47321,15 +71494,15 @@ "updateContext": null }, "value": "=", - "start": 2232, - "end": 2233, + "start": 5663, + "end": 5664, "loc": { "start": { - "line": 57, + "line": 161, "column": 20 }, "end": { - "line": 57, + "line": 161, "column": 21 } } @@ -47348,15 +71521,15 @@ "updateContext": null }, "value": 0, - "start": 2234, - "end": 2235, + "start": 5665, + "end": 5666, "loc": { "start": { - "line": 57, + "line": 161, "column": 22 }, "end": { - "line": 57, + "line": 161, "column": 23 } } @@ -47374,15 +71547,15 @@ "binop": null, "updateContext": null }, - "start": 2235, - "end": 2236, + "start": 5666, + "end": 5667, "loc": { "start": { - "line": 57, + "line": 161, "column": 23 }, "end": { - "line": 57, + "line": 161, "column": 24 } } @@ -47402,15 +71575,15 @@ "updateContext": null }, "value": "for", - "start": 2242, - "end": 2245, + "start": 5673, + "end": 5676, "loc": { "start": { - "line": 59, + "line": 163, "column": 4 }, "end": { - "line": 59, + "line": 163, "column": 7 } } @@ -47427,15 +71600,15 @@ "postfix": false, "binop": null }, - "start": 2246, - "end": 2247, + "start": 5677, + "end": 5678, "loc": { "start": { - "line": 59, + "line": 163, "column": 8 }, "end": { - "line": 59, + "line": 163, "column": 9 } } @@ -47455,15 +71628,15 @@ "updateContext": null }, "value": "let", - "start": 2247, - "end": 2250, + "start": 5678, + "end": 5681, "loc": { "start": { - "line": 59, + "line": 163, "column": 9 }, "end": { - "line": 59, + "line": 163, "column": 12 } } @@ -47481,15 +71654,15 @@ "binop": null }, "value": "geometryIndex", - "start": 2251, - "end": 2264, + "start": 5682, + "end": 5695, "loc": { "start": { - "line": 59, + "line": 163, "column": 13 }, "end": { - "line": 59, + "line": 163, "column": 26 } } @@ -47508,15 +71681,15 @@ "updateContext": null }, "value": "=", - "start": 2265, - "end": 2266, + "start": 5696, + "end": 5697, "loc": { "start": { - "line": 59, + "line": 163, "column": 27 }, "end": { - "line": 59, + "line": 163, "column": 28 } } @@ -47535,15 +71708,15 @@ "updateContext": null }, "value": 0, - "start": 2267, - "end": 2268, + "start": 5698, + "end": 5699, "loc": { "start": { - "line": 59, + "line": 163, "column": 29 }, "end": { - "line": 59, + "line": 163, "column": 30 } } @@ -47561,15 +71734,15 @@ "binop": null, "updateContext": null }, - "start": 2268, - "end": 2269, + "start": 5699, + "end": 5700, "loc": { "start": { - "line": 59, + "line": 163, "column": 30 }, "end": { - "line": 59, + "line": 163, "column": 31 } } @@ -47587,15 +71760,15 @@ "binop": null }, "value": "geometryIndex", - "start": 2270, - "end": 2283, + "start": 5701, + "end": 5714, "loc": { "start": { - "line": 59, + "line": 163, "column": 32 }, "end": { - "line": 59, + "line": 163, "column": 45 } } @@ -47614,15 +71787,15 @@ "updateContext": null }, "value": "<", - "start": 2284, - "end": 2285, + "start": 5715, + "end": 5716, "loc": { "start": { - "line": 59, + "line": 163, "column": 46 }, "end": { - "line": 59, + "line": 163, "column": 47 } } @@ -47640,15 +71813,15 @@ "binop": null }, "value": "numGeometries", - "start": 2286, - "end": 2299, + "start": 5717, + "end": 5730, "loc": { "start": { - "line": 59, + "line": 163, "column": 48 }, "end": { - "line": 59, + "line": 163, "column": 61 } } @@ -47666,15 +71839,15 @@ "binop": null, "updateContext": null }, - "start": 2299, - "end": 2300, + "start": 5730, + "end": 5731, "loc": { "start": { - "line": 59, + "line": 163, "column": 61 }, "end": { - "line": 59, + "line": 163, "column": 62 } } @@ -47692,15 +71865,15 @@ "binop": null }, "value": "geometryIndex", - "start": 2301, - "end": 2314, + "start": 5732, + "end": 5745, "loc": { "start": { - "line": 59, + "line": 163, "column": 63 }, "end": { - "line": 59, + "line": 163, "column": 76 } } @@ -47718,15 +71891,15 @@ "binop": null }, "value": "++", - "start": 2314, - "end": 2316, + "start": 5745, + "end": 5747, "loc": { "start": { - "line": 59, + "line": 163, "column": 76 }, "end": { - "line": 59, + "line": 163, "column": 78 } } @@ -47743,15 +71916,15 @@ "postfix": false, "binop": null }, - "start": 2316, - "end": 2317, + "start": 5747, + "end": 5748, "loc": { "start": { - "line": 59, + "line": 163, "column": 78 }, "end": { - "line": 59, + "line": 163, "column": 79 } } @@ -47768,15 +71941,15 @@ "postfix": false, "binop": null }, - "start": 2318, - "end": 2319, + "start": 5749, + "end": 5750, "loc": { "start": { - "line": 59, + "line": 163, "column": 80 }, "end": { - "line": 59, + "line": 163, "column": 81 } } @@ -47796,15 +71969,15 @@ "updateContext": null }, "value": "const", - "start": 2328, - "end": 2333, + "start": 5759, + "end": 5764, "loc": { "start": { - "line": 60, + "line": 164, "column": 8 }, "end": { - "line": 60, + "line": 164, "column": 13 } } @@ -47822,15 +71995,15 @@ "binop": null }, "value": "geometry", - "start": 2334, - "end": 2342, + "start": 5765, + "end": 5773, "loc": { "start": { - "line": 60, + "line": 164, "column": 14 }, "end": { - "line": 60, + "line": 164, "column": 22 } } @@ -47849,15 +72022,15 @@ "updateContext": null }, "value": "=", - "start": 2343, - "end": 2344, + "start": 5774, + "end": 5775, "loc": { "start": { - "line": 60, + "line": 164, "column": 23 }, "end": { - "line": 60, + "line": 164, "column": 24 } } @@ -47875,15 +72048,15 @@ "binop": null }, "value": "geometriesList", - "start": 2345, - "end": 2359, + "start": 5776, + "end": 5790, "loc": { "start": { - "line": 60, + "line": 164, "column": 25 }, "end": { - "line": 60, + "line": 164, "column": 39 } } @@ -47901,15 +72074,15 @@ "binop": null, "updateContext": null }, - "start": 2360, - "end": 2361, + "start": 5791, + "end": 5792, "loc": { "start": { - "line": 60, + "line": 164, "column": 40 }, "end": { - "line": 60, + "line": 164, "column": 41 } } @@ -47927,15 +72100,15 @@ "binop": null }, "value": "geometryIndex", - "start": 2361, - "end": 2374, + "start": 5792, + "end": 5805, "loc": { "start": { - "line": 60, + "line": 164, "column": 41 }, "end": { - "line": 60, + "line": 164, "column": 54 } } @@ -47953,15 +72126,15 @@ "binop": null, "updateContext": null }, - "start": 2374, - "end": 2375, + "start": 5805, + "end": 5806, "loc": { "start": { - "line": 60, + "line": 164, "column": 54 }, "end": { - "line": 60, + "line": 164, "column": 55 } } @@ -47979,15 +72152,15 @@ "binop": null, "updateContext": null }, - "start": 2375, - "end": 2376, + "start": 5806, + "end": 5807, "loc": { "start": { - "line": 60, + "line": 164, "column": 55 }, "end": { - "line": 60, + "line": 164, "column": 56 } } @@ -48007,15 +72180,15 @@ "updateContext": null }, "value": "if", - "start": 2385, - "end": 2387, + "start": 5816, + "end": 5818, "loc": { "start": { - "line": 61, + "line": 165, "column": 8 }, "end": { - "line": 61, + "line": 165, "column": 10 } } @@ -48032,15 +72205,15 @@ "postfix": false, "binop": null }, - "start": 2388, - "end": 2389, + "start": 5819, + "end": 5820, "loc": { "start": { - "line": 61, + "line": 165, "column": 11 }, "end": { - "line": 61, + "line": 165, "column": 12 } } @@ -48058,15 +72231,15 @@ "binop": null }, "value": "geometry", - "start": 2389, - "end": 2397, + "start": 5820, + "end": 5828, "loc": { "start": { - "line": 61, + "line": 165, "column": 12 }, "end": { - "line": 61, + "line": 165, "column": 20 } } @@ -48084,15 +72257,15 @@ "binop": null, "updateContext": null }, - "start": 2397, - "end": 2398, + "start": 5828, + "end": 5829, "loc": { "start": { - "line": 61, + "line": 165, "column": 20 }, "end": { - "line": 61, + "line": 165, "column": 21 } } @@ -48110,15 +72283,15 @@ "binop": null }, "value": "positionsQuantized", - "start": 2398, - "end": 2416, + "start": 5829, + "end": 5847, "loc": { "start": { - "line": 61, + "line": 165, "column": 21 }, "end": { - "line": 61, + "line": 165, "column": 39 } } @@ -48135,15 +72308,15 @@ "postfix": false, "binop": null }, - "start": 2416, - "end": 2417, + "start": 5847, + "end": 5848, "loc": { "start": { - "line": 61, + "line": 165, "column": 39 }, "end": { - "line": 61, + "line": 165, "column": 40 } } @@ -48160,15 +72333,15 @@ "postfix": false, "binop": null }, - "start": 2418, - "end": 2419, + "start": 5849, + "end": 5850, "loc": { "start": { - "line": 61, + "line": 165, "column": 41 }, "end": { - "line": 61, + "line": 165, "column": 42 } } @@ -48186,15 +72359,15 @@ "binop": null }, "value": "lenPositions", - "start": 2432, - "end": 2444, + "start": 5863, + "end": 5875, "loc": { "start": { - "line": 62, + "line": 166, "column": 12 }, "end": { - "line": 62, + "line": 166, "column": 24 } } @@ -48213,15 +72386,15 @@ "updateContext": null }, "value": "+=", - "start": 2445, - "end": 2447, + "start": 5876, + "end": 5878, "loc": { "start": { - "line": 62, + "line": 166, "column": 25 }, "end": { - "line": 62, + "line": 166, "column": 27 } } @@ -48239,15 +72412,15 @@ "binop": null }, "value": "geometry", - "start": 2448, - "end": 2456, + "start": 5879, + "end": 5887, "loc": { "start": { - "line": 62, + "line": 166, "column": 28 }, "end": { - "line": 62, + "line": 166, "column": 36 } } @@ -48265,15 +72438,15 @@ "binop": null, "updateContext": null }, - "start": 2456, - "end": 2457, + "start": 5887, + "end": 5888, "loc": { "start": { - "line": 62, + "line": 166, "column": 36 }, "end": { - "line": 62, + "line": 166, "column": 37 } } @@ -48291,15 +72464,15 @@ "binop": null }, "value": "positionsQuantized", - "start": 2457, - "end": 2475, + "start": 5888, + "end": 5906, "loc": { "start": { - "line": 62, + "line": 166, "column": 37 }, "end": { - "line": 62, + "line": 166, "column": 55 } } @@ -48317,15 +72490,15 @@ "binop": null, "updateContext": null }, - "start": 2475, - "end": 2476, + "start": 5906, + "end": 5907, "loc": { "start": { - "line": 62, + "line": 166, "column": 55 }, "end": { - "line": 62, + "line": 166, "column": 56 } } @@ -48343,15 +72516,15 @@ "binop": null }, "value": "length", - "start": 2476, - "end": 2482, + "start": 5907, + "end": 5913, "loc": { "start": { - "line": 62, + "line": 166, "column": 56 }, "end": { - "line": 62, + "line": 166, "column": 62 } } @@ -48369,15 +72542,15 @@ "binop": null, "updateContext": null }, - "start": 2482, - "end": 2483, + "start": 5913, + "end": 5914, "loc": { "start": { - "line": 62, + "line": 166, "column": 62 }, "end": { - "line": 62, + "line": 166, "column": 63 } } @@ -48394,15 +72567,15 @@ "postfix": false, "binop": null }, - "start": 2492, - "end": 2493, + "start": 5923, + "end": 5924, "loc": { "start": { - "line": 63, + "line": 167, "column": 8 }, "end": { - "line": 63, + "line": 167, "column": 9 } } @@ -48422,15 +72595,15 @@ "updateContext": null }, "value": "if", - "start": 2502, - "end": 2504, + "start": 5933, + "end": 5935, "loc": { "start": { - "line": 64, + "line": 168, "column": 8 }, "end": { - "line": 64, + "line": 168, "column": 10 } } @@ -48447,15 +72620,15 @@ "postfix": false, "binop": null }, - "start": 2505, - "end": 2506, + "start": 5936, + "end": 5937, "loc": { "start": { - "line": 64, + "line": 168, "column": 11 }, "end": { - "line": 64, + "line": 168, "column": 12 } } @@ -48473,15 +72646,15 @@ "binop": null }, "value": "geometry", - "start": 2506, - "end": 2514, + "start": 5937, + "end": 5945, "loc": { "start": { - "line": 64, + "line": 168, "column": 12 }, "end": { - "line": 64, + "line": 168, "column": 20 } } @@ -48499,15 +72672,15 @@ "binop": null, "updateContext": null }, - "start": 2514, - "end": 2515, + "start": 5945, + "end": 5946, "loc": { "start": { - "line": 64, + "line": 168, "column": 20 }, "end": { - "line": 64, + "line": 168, "column": 21 } } @@ -48525,15 +72698,15 @@ "binop": null }, "value": "normalsOctEncoded", - "start": 2515, - "end": 2532, + "start": 5946, + "end": 5963, "loc": { "start": { - "line": 64, + "line": 168, "column": 21 }, "end": { - "line": 64, + "line": 168, "column": 38 } } @@ -48550,15 +72723,15 @@ "postfix": false, "binop": null }, - "start": 2532, - "end": 2533, + "start": 5963, + "end": 5964, "loc": { "start": { - "line": 64, + "line": 168, "column": 38 }, "end": { - "line": 64, + "line": 168, "column": 39 } } @@ -48575,15 +72748,15 @@ "postfix": false, "binop": null }, - "start": 2534, - "end": 2535, + "start": 5965, + "end": 5966, "loc": { "start": { - "line": 64, + "line": 168, "column": 40 }, "end": { - "line": 64, + "line": 168, "column": 41 } } @@ -48601,15 +72774,15 @@ "binop": null }, "value": "lenNormals", - "start": 2548, - "end": 2558, + "start": 5979, + "end": 5989, "loc": { "start": { - "line": 65, + "line": 169, "column": 12 }, "end": { - "line": 65, + "line": 169, "column": 22 } } @@ -48628,15 +72801,15 @@ "updateContext": null }, "value": "+=", - "start": 2559, - "end": 2561, + "start": 5990, + "end": 5992, "loc": { "start": { - "line": 65, + "line": 169, "column": 23 }, "end": { - "line": 65, + "line": 169, "column": 25 } } @@ -48654,15 +72827,15 @@ "binop": null }, "value": "geometry", - "start": 2562, - "end": 2570, + "start": 5993, + "end": 6001, "loc": { "start": { - "line": 65, + "line": 169, "column": 26 }, "end": { - "line": 65, + "line": 169, "column": 34 } } @@ -48680,15 +72853,15 @@ "binop": null, "updateContext": null }, - "start": 2570, - "end": 2571, + "start": 6001, + "end": 6002, "loc": { "start": { - "line": 65, + "line": 169, "column": 34 }, "end": { - "line": 65, + "line": 169, "column": 35 } } @@ -48706,15 +72879,15 @@ "binop": null }, "value": "normalsOctEncoded", - "start": 2571, - "end": 2588, + "start": 6002, + "end": 6019, "loc": { "start": { - "line": 65, + "line": 169, "column": 35 }, "end": { - "line": 65, + "line": 169, "column": 52 } } @@ -48732,15 +72905,15 @@ "binop": null, "updateContext": null }, - "start": 2588, - "end": 2589, + "start": 6019, + "end": 6020, "loc": { "start": { - "line": 65, + "line": 169, "column": 52 }, "end": { - "line": 65, + "line": 169, "column": 53 } } @@ -48758,15 +72931,15 @@ "binop": null }, "value": "length", - "start": 2589, - "end": 2595, + "start": 6020, + "end": 6026, "loc": { "start": { - "line": 65, + "line": 169, "column": 53 }, "end": { - "line": 65, + "line": 169, "column": 59 } } @@ -48784,15 +72957,15 @@ "binop": null, "updateContext": null }, - "start": 2595, - "end": 2596, + "start": 6026, + "end": 6027, "loc": { "start": { - "line": 65, + "line": 169, "column": 59 }, "end": { - "line": 65, + "line": 169, "column": 60 } } @@ -48809,15 +72982,15 @@ "postfix": false, "binop": null }, - "start": 2605, - "end": 2606, + "start": 6036, + "end": 6037, "loc": { "start": { - "line": 66, + "line": 170, "column": 8 }, "end": { - "line": 66, + "line": 170, "column": 9 } } @@ -48837,15 +73010,15 @@ "updateContext": null }, "value": "if", - "start": 2615, - "end": 2617, + "start": 6046, + "end": 6048, "loc": { "start": { - "line": 67, + "line": 171, "column": 8 }, "end": { - "line": 67, + "line": 171, "column": 10 } } @@ -48862,15 +73035,15 @@ "postfix": false, "binop": null }, - "start": 2618, - "end": 2619, + "start": 6049, + "end": 6050, "loc": { "start": { - "line": 67, + "line": 171, "column": 11 }, "end": { - "line": 67, + "line": 171, "column": 12 } } @@ -48888,15 +73061,15 @@ "binop": null }, "value": "geometry", - "start": 2619, - "end": 2627, + "start": 6050, + "end": 6058, "loc": { "start": { - "line": 67, + "line": 171, "column": 12 }, "end": { - "line": 67, + "line": 171, "column": 20 } } @@ -48914,15 +73087,15 @@ "binop": null, "updateContext": null }, - "start": 2627, - "end": 2628, + "start": 6058, + "end": 6059, "loc": { "start": { - "line": 67, + "line": 171, "column": 20 }, "end": { - "line": 67, + "line": 171, "column": 21 } } @@ -48940,15 +73113,15 @@ "binop": null }, "value": "colorsCompressed", - "start": 2628, - "end": 2644, + "start": 6059, + "end": 6075, "loc": { "start": { - "line": 67, + "line": 171, "column": 21 }, "end": { - "line": 67, + "line": 171, "column": 37 } } @@ -48965,15 +73138,15 @@ "postfix": false, "binop": null }, - "start": 2644, - "end": 2645, + "start": 6075, + "end": 6076, "loc": { "start": { - "line": 67, + "line": 171, "column": 37 }, "end": { - "line": 67, + "line": 171, "column": 38 } } @@ -48990,15 +73163,15 @@ "postfix": false, "binop": null }, - "start": 2646, - "end": 2647, + "start": 6077, + "end": 6078, "loc": { "start": { - "line": 67, + "line": 171, "column": 39 }, "end": { - "line": 67, + "line": 171, "column": 40 } } @@ -49016,15 +73189,15 @@ "binop": null }, "value": "lenColors", - "start": 2660, - "end": 2669, + "start": 6091, + "end": 6100, "loc": { "start": { - "line": 68, + "line": 172, "column": 12 }, "end": { - "line": 68, + "line": 172, "column": 21 } } @@ -49043,15 +73216,15 @@ "updateContext": null }, "value": "+=", - "start": 2670, - "end": 2672, + "start": 6101, + "end": 6103, "loc": { "start": { - "line": 68, + "line": 172, "column": 22 }, "end": { - "line": 68, + "line": 172, "column": 24 } } @@ -49069,15 +73242,15 @@ "binop": null }, "value": "geometry", - "start": 2673, - "end": 2681, + "start": 6104, + "end": 6112, "loc": { "start": { - "line": 68, + "line": 172, "column": 25 }, "end": { - "line": 68, + "line": 172, "column": 33 } } @@ -49095,15 +73268,15 @@ "binop": null, "updateContext": null }, - "start": 2681, - "end": 2682, + "start": 6112, + "end": 6113, "loc": { "start": { - "line": 68, + "line": 172, "column": 33 }, "end": { - "line": 68, + "line": 172, "column": 34 } } @@ -49121,15 +73294,15 @@ "binop": null }, "value": "colorsCompressed", - "start": 2682, - "end": 2698, + "start": 6113, + "end": 6129, "loc": { "start": { - "line": 68, + "line": 172, "column": 34 }, "end": { - "line": 68, + "line": 172, "column": 50 } } @@ -49147,15 +73320,15 @@ "binop": null, "updateContext": null }, - "start": 2698, - "end": 2699, + "start": 6129, + "end": 6130, "loc": { "start": { - "line": 68, + "line": 172, "column": 50 }, "end": { - "line": 68, + "line": 172, "column": 51 } } @@ -49173,15 +73346,15 @@ "binop": null }, "value": "length", - "start": 2699, - "end": 2705, + "start": 6130, + "end": 6136, "loc": { "start": { - "line": 68, + "line": 172, "column": 51 }, "end": { - "line": 68, + "line": 172, "column": 57 } } @@ -49199,15 +73372,15 @@ "binop": null, "updateContext": null }, - "start": 2705, - "end": 2706, + "start": 6136, + "end": 6137, "loc": { "start": { - "line": 68, + "line": 172, "column": 57 }, "end": { - "line": 68, + "line": 172, "column": 58 } } @@ -49224,15 +73397,15 @@ "postfix": false, "binop": null }, - "start": 2715, - "end": 2716, + "start": 6146, + "end": 6147, "loc": { "start": { - "line": 69, + "line": 173, "column": 8 }, "end": { - "line": 69, + "line": 173, "column": 9 } } @@ -49252,15 +73425,15 @@ "updateContext": null }, "value": "if", - "start": 2725, - "end": 2727, + "start": 6156, + "end": 6158, "loc": { "start": { - "line": 70, + "line": 174, "column": 8 }, "end": { - "line": 70, + "line": 174, "column": 10 } } @@ -49277,15 +73450,15 @@ "postfix": false, "binop": null }, - "start": 2728, - "end": 2729, + "start": 6159, + "end": 6160, "loc": { "start": { - "line": 70, + "line": 174, "column": 11 }, "end": { - "line": 70, + "line": 174, "column": 12 } } @@ -49303,15 +73476,15 @@ "binop": null }, "value": "geometry", - "start": 2729, - "end": 2737, + "start": 6160, + "end": 6168, "loc": { "start": { - "line": 70, + "line": 174, "column": 12 }, "end": { - "line": 70, + "line": 174, "column": 20 } } @@ -49329,15 +73502,15 @@ "binop": null, "updateContext": null }, - "start": 2737, - "end": 2738, + "start": 6168, + "end": 6169, "loc": { "start": { - "line": 70, + "line": 174, "column": 20 }, "end": { - "line": 70, + "line": 174, "column": 21 } } @@ -49355,15 +73528,15 @@ "binop": null }, "value": "uvs", - "start": 2738, - "end": 2741, + "start": 6169, + "end": 6172, "loc": { "start": { - "line": 70, + "line": 174, "column": 21 }, "end": { - "line": 70, + "line": 174, "column": 24 } } @@ -49380,15 +73553,15 @@ "postfix": false, "binop": null }, - "start": 2741, - "end": 2742, + "start": 6172, + "end": 6173, "loc": { "start": { - "line": 70, + "line": 174, "column": 24 }, "end": { - "line": 70, + "line": 174, "column": 25 } } @@ -49405,15 +73578,15 @@ "postfix": false, "binop": null }, - "start": 2743, - "end": 2744, + "start": 6174, + "end": 6175, "loc": { "start": { - "line": 70, + "line": 174, "column": 26 }, "end": { - "line": 70, + "line": 174, "column": 27 } } @@ -49431,15 +73604,15 @@ "binop": null }, "value": "lenUVs", - "start": 2757, - "end": 2763, + "start": 6188, + "end": 6194, "loc": { "start": { - "line": 71, + "line": 175, "column": 12 }, "end": { - "line": 71, + "line": 175, "column": 18 } } @@ -49458,15 +73631,15 @@ "updateContext": null }, "value": "+=", - "start": 2764, - "end": 2766, + "start": 6195, + "end": 6197, "loc": { "start": { - "line": 71, + "line": 175, "column": 19 }, "end": { - "line": 71, + "line": 175, "column": 21 } } @@ -49484,15 +73657,15 @@ "binop": null }, "value": "geometry", - "start": 2767, - "end": 2775, + "start": 6198, + "end": 6206, "loc": { "start": { - "line": 71, + "line": 175, "column": 22 }, "end": { - "line": 71, + "line": 175, "column": 30 } } @@ -49510,15 +73683,15 @@ "binop": null, "updateContext": null }, - "start": 2775, - "end": 2776, + "start": 6206, + "end": 6207, "loc": { "start": { - "line": 71, + "line": 175, "column": 30 }, "end": { - "line": 71, + "line": 175, "column": 31 } } @@ -49536,15 +73709,15 @@ "binop": null }, "value": "uvs", - "start": 2776, - "end": 2779, + "start": 6207, + "end": 6210, "loc": { "start": { - "line": 71, + "line": 175, "column": 31 }, "end": { - "line": 71, + "line": 175, "column": 34 } } @@ -49562,15 +73735,15 @@ "binop": null, "updateContext": null }, - "start": 2779, - "end": 2780, + "start": 6210, + "end": 6211, "loc": { "start": { - "line": 71, + "line": 175, "column": 34 }, "end": { - "line": 71, + "line": 175, "column": 35 } } @@ -49588,15 +73761,15 @@ "binop": null }, "value": "length", - "start": 2780, - "end": 2786, + "start": 6211, + "end": 6217, "loc": { "start": { - "line": 71, + "line": 175, "column": 35 }, "end": { - "line": 71, + "line": 175, "column": 41 } } @@ -49614,15 +73787,15 @@ "binop": null, "updateContext": null }, - "start": 2786, - "end": 2787, + "start": 6217, + "end": 6218, "loc": { "start": { - "line": 71, + "line": 175, "column": 41 }, "end": { - "line": 71, + "line": 175, "column": 42 } } @@ -49639,15 +73812,15 @@ "postfix": false, "binop": null }, - "start": 2796, - "end": 2797, + "start": 6227, + "end": 6228, "loc": { "start": { - "line": 72, + "line": 176, "column": 8 }, "end": { - "line": 72, + "line": 176, "column": 9 } } @@ -49667,15 +73840,15 @@ "updateContext": null }, "value": "if", - "start": 2806, - "end": 2808, + "start": 6237, + "end": 6239, "loc": { "start": { - "line": 73, + "line": 177, "column": 8 }, "end": { - "line": 73, + "line": 177, "column": 10 } } @@ -49692,15 +73865,15 @@ "postfix": false, "binop": null }, - "start": 2809, - "end": 2810, + "start": 6240, + "end": 6241, "loc": { "start": { - "line": 73, + "line": 177, "column": 11 }, "end": { - "line": 73, + "line": 177, "column": 12 } } @@ -49718,15 +73891,15 @@ "binop": null }, "value": "geometry", - "start": 2810, - "end": 2818, + "start": 6241, + "end": 6249, "loc": { "start": { - "line": 73, + "line": 177, "column": 12 }, "end": { - "line": 73, + "line": 177, "column": 20 } } @@ -49744,15 +73917,15 @@ "binop": null, "updateContext": null }, - "start": 2818, - "end": 2819, + "start": 6249, + "end": 6250, "loc": { "start": { - "line": 73, + "line": 177, "column": 20 }, "end": { - "line": 73, + "line": 177, "column": 21 } } @@ -49770,15 +73943,15 @@ "binop": null }, "value": "indices", - "start": 2819, - "end": 2826, + "start": 6250, + "end": 6257, "loc": { "start": { - "line": 73, + "line": 177, "column": 21 }, "end": { - "line": 73, + "line": 177, "column": 28 } } @@ -49795,15 +73968,15 @@ "postfix": false, "binop": null }, - "start": 2826, - "end": 2827, + "start": 6257, + "end": 6258, "loc": { "start": { - "line": 73, + "line": 177, "column": 28 }, "end": { - "line": 73, + "line": 177, "column": 29 } } @@ -49820,15 +73993,15 @@ "postfix": false, "binop": null }, - "start": 2828, - "end": 2829, + "start": 6259, + "end": 6260, "loc": { "start": { - "line": 73, + "line": 177, "column": 30 }, "end": { - "line": 73, + "line": 177, "column": 31 } } @@ -49846,15 +74019,15 @@ "binop": null }, "value": "lenIndices", - "start": 2842, - "end": 2852, + "start": 6273, + "end": 6283, "loc": { "start": { - "line": 74, + "line": 178, "column": 12 }, "end": { - "line": 74, + "line": 178, "column": 22 } } @@ -49873,15 +74046,15 @@ "updateContext": null }, "value": "+=", - "start": 2853, - "end": 2855, + "start": 6284, + "end": 6286, "loc": { "start": { - "line": 74, + "line": 178, "column": 23 }, "end": { - "line": 74, + "line": 178, "column": 25 } } @@ -49899,15 +74072,15 @@ "binop": null }, "value": "geometry", - "start": 2856, - "end": 2864, + "start": 6287, + "end": 6295, "loc": { "start": { - "line": 74, + "line": 178, "column": 26 }, "end": { - "line": 74, + "line": 178, "column": 34 } } @@ -49925,15 +74098,15 @@ "binop": null, "updateContext": null }, - "start": 2864, - "end": 2865, + "start": 6295, + "end": 6296, "loc": { "start": { - "line": 74, + "line": 178, "column": 34 }, "end": { - "line": 74, + "line": 178, "column": 35 } } @@ -49951,15 +74124,15 @@ "binop": null }, "value": "indices", - "start": 2865, - "end": 2872, + "start": 6296, + "end": 6303, "loc": { "start": { - "line": 74, + "line": 178, "column": 35 }, "end": { - "line": 74, + "line": 178, "column": 42 } } @@ -49977,15 +74150,15 @@ "binop": null, "updateContext": null }, - "start": 2872, - "end": 2873, + "start": 6303, + "end": 6304, "loc": { "start": { - "line": 74, + "line": 178, "column": 42 }, "end": { - "line": 74, + "line": 178, "column": 43 } } @@ -50003,15 +74176,15 @@ "binop": null }, "value": "length", - "start": 2873, - "end": 2879, + "start": 6304, + "end": 6310, "loc": { "start": { - "line": 74, + "line": 178, "column": 43 }, "end": { - "line": 74, + "line": 178, "column": 49 } } @@ -50029,15 +74202,15 @@ "binop": null, "updateContext": null }, - "start": 2879, - "end": 2880, + "start": 6310, + "end": 6311, "loc": { "start": { - "line": 74, + "line": 178, "column": 49 }, "end": { - "line": 74, + "line": 178, "column": 50 } } @@ -50054,15 +74227,15 @@ "postfix": false, "binop": null }, - "start": 2889, - "end": 2890, + "start": 6320, + "end": 6321, "loc": { "start": { - "line": 75, + "line": 179, "column": 8 }, "end": { - "line": 75, + "line": 179, "column": 9 } } @@ -50082,15 +74255,15 @@ "updateContext": null }, "value": "if", - "start": 2899, - "end": 2901, + "start": 6330, + "end": 6332, "loc": { "start": { - "line": 76, + "line": 180, "column": 8 }, "end": { - "line": 76, + "line": 180, "column": 10 } } @@ -50107,15 +74280,15 @@ "postfix": false, "binop": null }, - "start": 2902, - "end": 2903, + "start": 6333, + "end": 6334, "loc": { "start": { - "line": 76, + "line": 180, "column": 11 }, "end": { - "line": 76, + "line": 180, "column": 12 } } @@ -50133,15 +74306,15 @@ "binop": null }, "value": "geometry", - "start": 2903, - "end": 2911, + "start": 6334, + "end": 6342, "loc": { "start": { - "line": 76, + "line": 180, "column": 12 }, "end": { - "line": 76, + "line": 180, "column": 20 } } @@ -50159,15 +74332,15 @@ "binop": null, "updateContext": null }, - "start": 2911, - "end": 2912, + "start": 6342, + "end": 6343, "loc": { "start": { - "line": 76, + "line": 180, "column": 20 }, "end": { - "line": 76, + "line": 180, "column": 21 } } @@ -50185,15 +74358,15 @@ "binop": null }, "value": "edgeIndices", - "start": 2912, - "end": 2923, + "start": 6343, + "end": 6354, "loc": { "start": { - "line": 76, + "line": 180, "column": 21 }, "end": { - "line": 76, + "line": 180, "column": 32 } } @@ -50210,15 +74383,15 @@ "postfix": false, "binop": null }, - "start": 2923, - "end": 2924, + "start": 6354, + "end": 6355, "loc": { "start": { - "line": 76, + "line": 180, "column": 32 }, "end": { - "line": 76, + "line": 180, "column": 33 } } @@ -50235,15 +74408,15 @@ "postfix": false, "binop": null }, - "start": 2925, - "end": 2926, + "start": 6356, + "end": 6357, "loc": { "start": { - "line": 76, + "line": 180, "column": 34 }, "end": { - "line": 76, + "line": 180, "column": 35 } } @@ -50261,15 +74434,15 @@ "binop": null }, "value": "lenEdgeIndices", - "start": 2939, - "end": 2953, + "start": 6370, + "end": 6384, "loc": { "start": { - "line": 77, + "line": 181, "column": 12 }, "end": { - "line": 77, + "line": 181, "column": 26 } } @@ -50288,15 +74461,15 @@ "updateContext": null }, "value": "+=", - "start": 2954, - "end": 2956, + "start": 6385, + "end": 6387, "loc": { "start": { - "line": 77, + "line": 181, "column": 27 }, "end": { - "line": 77, + "line": 181, "column": 29 } } @@ -50314,15 +74487,15 @@ "binop": null }, "value": "geometry", - "start": 2957, - "end": 2965, + "start": 6388, + "end": 6396, "loc": { "start": { - "line": 77, + "line": 181, "column": 30 }, "end": { - "line": 77, + "line": 181, "column": 38 } } @@ -50340,15 +74513,15 @@ "binop": null, "updateContext": null }, - "start": 2965, - "end": 2966, + "start": 6396, + "end": 6397, "loc": { "start": { - "line": 77, + "line": 181, "column": 38 }, "end": { - "line": 77, + "line": 181, "column": 39 } } @@ -50366,15 +74539,15 @@ "binop": null }, "value": "edgeIndices", - "start": 2966, - "end": 2977, + "start": 6397, + "end": 6408, "loc": { "start": { - "line": 77, + "line": 181, "column": 39 }, "end": { - "line": 77, + "line": 181, "column": 50 } } @@ -50392,15 +74565,15 @@ "binop": null, "updateContext": null }, - "start": 2977, - "end": 2978, + "start": 6408, + "end": 6409, "loc": { "start": { - "line": 77, + "line": 181, "column": 50 }, "end": { - "line": 77, + "line": 181, "column": 51 } } @@ -50418,15 +74591,15 @@ "binop": null }, "value": "length", - "start": 2978, - "end": 2984, + "start": 6409, + "end": 6415, "loc": { "start": { - "line": 77, + "line": 181, "column": 51 }, "end": { - "line": 77, + "line": 181, "column": 57 } } @@ -50444,15 +74617,15 @@ "binop": null, "updateContext": null }, - "start": 2984, - "end": 2985, + "start": 6415, + "end": 6416, "loc": { "start": { - "line": 77, + "line": 181, "column": 57 }, "end": { - "line": 77, + "line": 181, "column": 58 } } @@ -50469,15 +74642,15 @@ "postfix": false, "binop": null }, - "start": 2994, - "end": 2995, + "start": 6425, + "end": 6426, "loc": { "start": { - "line": 78, + "line": 182, "column": 8 }, "end": { - "line": 78, + "line": 182, "column": 9 } } @@ -50494,15 +74667,15 @@ "postfix": false, "binop": null }, - "start": 3000, - "end": 3001, + "start": 6431, + "end": 6432, "loc": { "start": { - "line": 79, + "line": 183, "column": 4 }, "end": { - "line": 79, + "line": 183, "column": 5 } } @@ -50522,15 +74695,15 @@ "updateContext": null }, "value": "for", - "start": 3007, - "end": 3010, + "start": 6438, + "end": 6441, "loc": { "start": { - "line": 81, + "line": 185, "column": 4 }, "end": { - "line": 81, + "line": 185, "column": 7 } } @@ -50547,15 +74720,15 @@ "postfix": false, "binop": null }, - "start": 3011, - "end": 3012, + "start": 6442, + "end": 6443, "loc": { "start": { - "line": 81, + "line": 185, "column": 8 }, "end": { - "line": 81, + "line": 185, "column": 9 } } @@ -50575,15 +74748,15 @@ "updateContext": null }, "value": "let", - "start": 3012, - "end": 3015, + "start": 6443, + "end": 6446, "loc": { "start": { - "line": 81, + "line": 185, "column": 9 }, "end": { - "line": 81, + "line": 185, "column": 12 } } @@ -50601,15 +74774,15 @@ "binop": null }, "value": "textureIndex", - "start": 3016, - "end": 3028, + "start": 6447, + "end": 6459, "loc": { "start": { - "line": 81, + "line": 185, "column": 13 }, "end": { - "line": 81, + "line": 185, "column": 25 } } @@ -50628,15 +74801,15 @@ "updateContext": null }, "value": "=", - "start": 3029, - "end": 3030, + "start": 6460, + "end": 6461, "loc": { "start": { - "line": 81, + "line": 185, "column": 26 }, "end": { - "line": 81, + "line": 185, "column": 27 } } @@ -50655,15 +74828,15 @@ "updateContext": null }, "value": 0, - "start": 3031, - "end": 3032, + "start": 6462, + "end": 6463, "loc": { "start": { - "line": 81, + "line": 185, "column": 28 }, "end": { - "line": 81, + "line": 185, "column": 29 } } @@ -50681,15 +74854,15 @@ "binop": null, "updateContext": null }, - "start": 3032, - "end": 3033, + "start": 6463, + "end": 6464, "loc": { "start": { - "line": 81, + "line": 185, "column": 29 }, "end": { - "line": 81, + "line": 185, "column": 30 } } @@ -50707,15 +74880,15 @@ "binop": null }, "value": "textureIndex", - "start": 3034, - "end": 3046, + "start": 6465, + "end": 6477, "loc": { "start": { - "line": 81, + "line": 185, "column": 31 }, "end": { - "line": 81, + "line": 185, "column": 43 } } @@ -50734,15 +74907,15 @@ "updateContext": null }, "value": "<", - "start": 3047, - "end": 3048, + "start": 6478, + "end": 6479, "loc": { "start": { - "line": 81, + "line": 185, "column": 44 }, "end": { - "line": 81, + "line": 185, "column": 45 } } @@ -50760,15 +74933,15 @@ "binop": null }, "value": "numTextures", - "start": 3049, - "end": 3060, + "start": 6480, + "end": 6491, "loc": { "start": { - "line": 81, + "line": 185, "column": 46 }, "end": { - "line": 81, + "line": 185, "column": 57 } } @@ -50786,15 +74959,15 @@ "binop": null, "updateContext": null }, - "start": 3060, - "end": 3061, + "start": 6491, + "end": 6492, "loc": { "start": { - "line": 81, + "line": 185, "column": 57 }, "end": { - "line": 81, + "line": 185, "column": 58 } } @@ -50812,15 +74985,15 @@ "binop": null }, "value": "textureIndex", - "start": 3062, - "end": 3074, + "start": 6493, + "end": 6505, "loc": { "start": { - "line": 81, + "line": 185, "column": 59 }, "end": { - "line": 81, + "line": 185, "column": 71 } } @@ -50838,15 +75011,15 @@ "binop": null }, "value": "++", - "start": 3074, - "end": 3076, + "start": 6505, + "end": 6507, "loc": { "start": { - "line": 81, + "line": 185, "column": 71 }, "end": { - "line": 81, + "line": 185, "column": 73 } } @@ -50863,15 +75036,15 @@ "postfix": false, "binop": null }, - "start": 3076, - "end": 3077, + "start": 6507, + "end": 6508, "loc": { "start": { - "line": 81, + "line": 185, "column": 73 }, "end": { - "line": 81, + "line": 185, "column": 74 } } @@ -50888,15 +75061,15 @@ "postfix": false, "binop": null }, - "start": 3078, - "end": 3079, + "start": 6509, + "end": 6510, "loc": { "start": { - "line": 81, + "line": 185, "column": 75 }, "end": { - "line": 81, + "line": 185, "column": 76 } } @@ -50916,15 +75089,15 @@ "updateContext": null }, "value": "const", - "start": 3088, - "end": 3093, + "start": 6519, + "end": 6524, "loc": { "start": { - "line": 82, + "line": 186, "column": 8 }, "end": { - "line": 82, + "line": 186, "column": 13 } } @@ -50942,15 +75115,15 @@ "binop": null }, "value": "xktTexture", - "start": 3094, - "end": 3104, + "start": 6525, + "end": 6535, "loc": { "start": { - "line": 82, + "line": 186, "column": 14 }, "end": { - "line": 82, + "line": 186, "column": 24 } } @@ -50969,15 +75142,15 @@ "updateContext": null }, "value": "=", - "start": 3105, - "end": 3106, + "start": 6536, + "end": 6537, "loc": { "start": { - "line": 82, + "line": 186, "column": 25 }, "end": { - "line": 82, + "line": 186, "column": 26 } } @@ -50995,15 +75168,15 @@ "binop": null }, "value": "texturesList", - "start": 3107, - "end": 3119, + "start": 6538, + "end": 6550, "loc": { "start": { - "line": 82, + "line": 186, "column": 27 }, "end": { - "line": 82, + "line": 186, "column": 39 } } @@ -51021,15 +75194,15 @@ "binop": null, "updateContext": null }, - "start": 3119, - "end": 3120, + "start": 6550, + "end": 6551, "loc": { "start": { - "line": 82, + "line": 186, "column": 39 }, "end": { - "line": 82, + "line": 186, "column": 40 } } @@ -51047,15 +75220,15 @@ "binop": null }, "value": "textureIndex", - "start": 3120, - "end": 3132, + "start": 6551, + "end": 6563, "loc": { "start": { - "line": 82, + "line": 186, "column": 40 }, "end": { - "line": 82, + "line": 186, "column": 52 } } @@ -51073,15 +75246,15 @@ "binop": null, "updateContext": null }, - "start": 3132, - "end": 3133, + "start": 6563, + "end": 6564, "loc": { "start": { - "line": 82, + "line": 186, "column": 52 }, "end": { - "line": 82, + "line": 186, "column": 53 } } @@ -51099,15 +75272,15 @@ "binop": null, "updateContext": null }, - "start": 3133, - "end": 3134, + "start": 6564, + "end": 6565, "loc": { "start": { - "line": 82, + "line": 186, "column": 53 }, "end": { - "line": 82, + "line": 186, "column": 54 } } @@ -51127,15 +75300,15 @@ "updateContext": null }, "value": "const", - "start": 3143, - "end": 3148, + "start": 6574, + "end": 6579, "loc": { "start": { - "line": 83, + "line": 187, "column": 8 }, "end": { - "line": 83, + "line": 187, "column": 13 } } @@ -51153,15 +75326,15 @@ "binop": null }, "value": "imageData", - "start": 3149, - "end": 3158, + "start": 6580, + "end": 6589, "loc": { "start": { - "line": 83, + "line": 187, "column": 14 }, "end": { - "line": 83, + "line": 187, "column": 23 } } @@ -51180,15 +75353,15 @@ "updateContext": null }, "value": "=", - "start": 3159, - "end": 3160, + "start": 6590, + "end": 6591, "loc": { "start": { - "line": 83, + "line": 187, "column": 24 }, "end": { - "line": 83, + "line": 187, "column": 25 } } @@ -51206,15 +75379,15 @@ "binop": null }, "value": "xktTexture", - "start": 3161, - "end": 3171, + "start": 6592, + "end": 6602, "loc": { "start": { - "line": 83, + "line": 187, "column": 26 }, "end": { - "line": 83, + "line": 187, "column": 36 } } @@ -51232,15 +75405,15 @@ "binop": null, "updateContext": null }, - "start": 3171, - "end": 3172, + "start": 6602, + "end": 6603, "loc": { "start": { - "line": 83, + "line": 187, "column": 36 }, "end": { - "line": 83, + "line": 187, "column": 37 } } @@ -51258,15 +75431,15 @@ "binop": null }, "value": "imageData", - "start": 3172, - "end": 3181, + "start": 6603, + "end": 6612, "loc": { "start": { - "line": 83, + "line": 187, "column": 37 }, "end": { - "line": 83, + "line": 187, "column": 46 } } @@ -51284,15 +75457,15 @@ "binop": null, "updateContext": null }, - "start": 3181, - "end": 3182, + "start": 6612, + "end": 6613, "loc": { "start": { - "line": 83, + "line": 187, "column": 46 }, "end": { - "line": 83, + "line": 187, "column": 47 } } @@ -51310,15 +75483,15 @@ "binop": null }, "value": "lenTextures", - "start": 3191, - "end": 3202, + "start": 6622, + "end": 6633, "loc": { "start": { - "line": 84, + "line": 188, "column": 8 }, "end": { - "line": 84, + "line": 188, "column": 19 } } @@ -51337,15 +75510,15 @@ "updateContext": null }, "value": "+=", - "start": 3203, - "end": 3205, + "start": 6634, + "end": 6636, "loc": { "start": { - "line": 84, + "line": 188, "column": 20 }, "end": { - "line": 84, + "line": 188, "column": 22 } } @@ -51363,15 +75536,15 @@ "binop": null }, "value": "imageData", - "start": 3206, - "end": 3215, + "start": 6637, + "end": 6646, "loc": { "start": { - "line": 84, + "line": 188, "column": 23 }, "end": { - "line": 84, + "line": 188, "column": 32 } } @@ -51389,15 +75562,15 @@ "binop": null, "updateContext": null }, - "start": 3215, - "end": 3216, + "start": 6646, + "end": 6647, "loc": { "start": { - "line": 84, + "line": 188, "column": 32 }, "end": { - "line": 84, + "line": 188, "column": 33 } } @@ -51415,15 +75588,15 @@ "binop": null }, "value": "byteLength", - "start": 3216, - "end": 3226, + "start": 6647, + "end": 6657, "loc": { "start": { - "line": 84, + "line": 188, "column": 33 }, "end": { - "line": 84, + "line": 188, "column": 43 } } @@ -51441,15 +75614,15 @@ "binop": null, "updateContext": null }, - "start": 3226, - "end": 3227, + "start": 6657, + "end": 6658, "loc": { "start": { - "line": 84, + "line": 188, "column": 43 }, "end": { - "line": 84, + "line": 188, "column": 44 } } @@ -51469,15 +75642,15 @@ "updateContext": null }, "value": "if", - "start": 3237, - "end": 3239, + "start": 6668, + "end": 6670, "loc": { "start": { - "line": 86, + "line": 190, "column": 8 }, "end": { - "line": 86, + "line": 190, "column": 10 } } @@ -51494,15 +75667,15 @@ "postfix": false, "binop": null }, - "start": 3240, - "end": 3241, + "start": 6671, + "end": 6672, "loc": { "start": { - "line": 86, + "line": 190, "column": 11 }, "end": { - "line": 86, + "line": 190, "column": 12 } } @@ -51520,15 +75693,15 @@ "binop": null }, "value": "xktTexture", - "start": 3241, - "end": 3251, + "start": 6672, + "end": 6682, "loc": { "start": { - "line": 86, + "line": 190, "column": 12 }, "end": { - "line": 86, + "line": 190, "column": 22 } } @@ -51546,15 +75719,15 @@ "binop": null, "updateContext": null }, - "start": 3251, - "end": 3252, + "start": 6682, + "end": 6683, "loc": { "start": { - "line": 86, + "line": 190, "column": 22 }, "end": { - "line": 86, + "line": 190, "column": 23 } } @@ -51572,15 +75745,15 @@ "binop": null }, "value": "compressed", - "start": 3252, - "end": 3262, + "start": 6683, + "end": 6693, "loc": { "start": { - "line": 86, + "line": 190, "column": 23 }, "end": { - "line": 86, + "line": 190, "column": 33 } } @@ -51597,15 +75770,15 @@ "postfix": false, "binop": null }, - "start": 3262, - "end": 3263, + "start": 6693, + "end": 6694, "loc": { "start": { - "line": 86, + "line": 190, "column": 33 }, "end": { - "line": 86, + "line": 190, "column": 34 } } @@ -51622,15 +75795,15 @@ "postfix": false, "binop": null }, - "start": 3264, - "end": 3265, + "start": 6695, + "end": 6696, "loc": { "start": { - "line": 86, + "line": 190, "column": 35 }, "end": { - "line": 86, + "line": 190, "column": 36 } } @@ -51648,15 +75821,15 @@ "binop": null }, "value": "stats", - "start": 3278, - "end": 3283, + "start": 6709, + "end": 6714, "loc": { "start": { - "line": 87, + "line": 191, "column": 12 }, "end": { - "line": 87, + "line": 191, "column": 17 } } @@ -51674,15 +75847,15 @@ "binop": null, "updateContext": null }, - "start": 3283, - "end": 3284, + "start": 6714, + "end": 6715, "loc": { "start": { - "line": 87, + "line": 191, "column": 17 }, "end": { - "line": 87, + "line": 191, "column": 18 } } @@ -51700,15 +75873,15 @@ "binop": null }, "value": "numCompressedTextures", - "start": 3284, - "end": 3305, + "start": 6715, + "end": 6736, "loc": { "start": { - "line": 87, + "line": 191, "column": 18 }, "end": { - "line": 87, + "line": 191, "column": 39 } } @@ -51726,15 +75899,15 @@ "binop": null }, "value": "++", - "start": 3305, - "end": 3307, + "start": 6736, + "end": 6738, "loc": { "start": { - "line": 87, + "line": 191, "column": 39 }, "end": { - "line": 87, + "line": 191, "column": 41 } } @@ -51752,15 +75925,15 @@ "binop": null, "updateContext": null }, - "start": 3307, - "end": 3308, + "start": 6738, + "end": 6739, "loc": { "start": { - "line": 87, + "line": 191, "column": 41 }, "end": { - "line": 87, + "line": 191, "column": 42 } } @@ -51777,15 +75950,15 @@ "postfix": false, "binop": null }, - "start": 3317, - "end": 3318, + "start": 6748, + "end": 6749, "loc": { "start": { - "line": 88, + "line": 192, "column": 8 }, "end": { - "line": 88, + "line": 192, "column": 9 } } @@ -51802,15 +75975,15 @@ "postfix": false, "binop": null }, - "start": 3323, - "end": 3324, + "start": 6754, + "end": 6755, "loc": { "start": { - "line": 89, + "line": 193, "column": 4 }, "end": { - "line": 89, + "line": 193, "column": 5 } } @@ -51830,15 +76003,15 @@ "updateContext": null }, "value": "for", - "start": 3330, - "end": 3333, + "start": 6761, + "end": 6764, "loc": { "start": { - "line": 91, + "line": 195, "column": 4 }, "end": { - "line": 91, + "line": 195, "column": 7 } } @@ -51855,15 +76028,15 @@ "postfix": false, "binop": null }, - "start": 3334, - "end": 3335, + "start": 6765, + "end": 6766, "loc": { "start": { - "line": 91, + "line": 195, "column": 8 }, "end": { - "line": 91, + "line": 195, "column": 9 } } @@ -51883,15 +76056,15 @@ "updateContext": null }, "value": "let", - "start": 3335, - "end": 3338, + "start": 6766, + "end": 6769, "loc": { "start": { - "line": 91, + "line": 195, "column": 9 }, "end": { - "line": 91, + "line": 195, "column": 12 } } @@ -51909,15 +76082,15 @@ "binop": null }, "value": "meshIndex", - "start": 3339, - "end": 3348, + "start": 6770, + "end": 6779, "loc": { "start": { - "line": 91, + "line": 195, "column": 13 }, "end": { - "line": 91, + "line": 195, "column": 22 } } @@ -51936,15 +76109,15 @@ "updateContext": null }, "value": "=", - "start": 3349, - "end": 3350, + "start": 6780, + "end": 6781, "loc": { "start": { - "line": 91, + "line": 195, "column": 23 }, "end": { - "line": 91, + "line": 195, "column": 24 } } @@ -51963,15 +76136,15 @@ "updateContext": null }, "value": 0, - "start": 3351, - "end": 3352, + "start": 6782, + "end": 6783, "loc": { "start": { - "line": 91, + "line": 195, "column": 25 }, "end": { - "line": 91, + "line": 195, "column": 26 } } @@ -51989,15 +76162,15 @@ "binop": null, "updateContext": null }, - "start": 3352, - "end": 3353, + "start": 6783, + "end": 6784, "loc": { "start": { - "line": 91, + "line": 195, "column": 26 }, "end": { - "line": 91, + "line": 195, "column": 27 } } @@ -52015,15 +76188,15 @@ "binop": null }, "value": "meshIndex", - "start": 3354, - "end": 3363, + "start": 6785, + "end": 6794, "loc": { "start": { - "line": 91, + "line": 195, "column": 28 }, "end": { - "line": 91, + "line": 195, "column": 37 } } @@ -52042,15 +76215,15 @@ "updateContext": null }, "value": "<", - "start": 3364, - "end": 3365, + "start": 6795, + "end": 6796, "loc": { "start": { - "line": 91, + "line": 195, "column": 38 }, "end": { - "line": 91, + "line": 195, "column": 39 } } @@ -52068,15 +76241,15 @@ "binop": null }, "value": "numMeshes", - "start": 3366, - "end": 3375, + "start": 6797, + "end": 6806, "loc": { "start": { - "line": 91, + "line": 195, "column": 40 }, "end": { - "line": 91, + "line": 195, "column": 49 } } @@ -52094,15 +76267,15 @@ "binop": null, "updateContext": null }, - "start": 3375, - "end": 3376, + "start": 6806, + "end": 6807, "loc": { "start": { - "line": 91, + "line": 195, "column": 49 }, "end": { - "line": 91, + "line": 195, "column": 50 } } @@ -52120,15 +76293,15 @@ "binop": null }, "value": "meshIndex", - "start": 3377, - "end": 3386, + "start": 6808, + "end": 6817, "loc": { "start": { - "line": 91, + "line": 195, "column": 51 }, "end": { - "line": 91, + "line": 195, "column": 60 } } @@ -52146,15 +76319,15 @@ "binop": null }, "value": "++", - "start": 3386, - "end": 3388, + "start": 6817, + "end": 6819, "loc": { "start": { - "line": 91, + "line": 195, "column": 60 }, "end": { - "line": 91, + "line": 195, "column": 62 } } @@ -52171,15 +76344,15 @@ "postfix": false, "binop": null }, - "start": 3388, - "end": 3389, + "start": 6819, + "end": 6820, "loc": { "start": { - "line": 91, + "line": 195, "column": 62 }, "end": { - "line": 91, + "line": 195, "column": 63 } } @@ -52196,15 +76369,15 @@ "postfix": false, "binop": null }, - "start": 3390, - "end": 3391, + "start": 6821, + "end": 6822, "loc": { "start": { - "line": 91, + "line": 195, "column": 64 }, "end": { - "line": 91, + "line": 195, "column": 65 } } @@ -52224,15 +76397,15 @@ "updateContext": null }, "value": "const", - "start": 3400, - "end": 3405, + "start": 6831, + "end": 6836, "loc": { "start": { - "line": 92, + "line": 196, "column": 8 }, "end": { - "line": 92, + "line": 196, "column": 13 } } @@ -52250,15 +76423,15 @@ "binop": null }, "value": "mesh", - "start": 3406, - "end": 3410, + "start": 6837, + "end": 6841, "loc": { "start": { - "line": 92, + "line": 196, "column": 14 }, "end": { - "line": 92, + "line": 196, "column": 18 } } @@ -52277,15 +76450,15 @@ "updateContext": null }, "value": "=", - "start": 3411, - "end": 3412, + "start": 6842, + "end": 6843, "loc": { "start": { - "line": 92, + "line": 196, "column": 19 }, "end": { - "line": 92, + "line": 196, "column": 20 } } @@ -52303,15 +76476,15 @@ "binop": null }, "value": "meshesList", - "start": 3413, - "end": 3423, + "start": 6844, + "end": 6854, "loc": { "start": { - "line": 92, + "line": 196, "column": 21 }, "end": { - "line": 92, + "line": 196, "column": 31 } } @@ -52329,15 +76502,15 @@ "binop": null, "updateContext": null }, - "start": 3423, - "end": 3424, + "start": 6854, + "end": 6855, "loc": { "start": { - "line": 92, + "line": 196, "column": 31 }, "end": { - "line": 92, + "line": 196, "column": 32 } } @@ -52355,15 +76528,15 @@ "binop": null }, "value": "meshIndex", - "start": 3424, - "end": 3433, + "start": 6855, + "end": 6864, "loc": { "start": { - "line": 92, + "line": 196, "column": 32 }, "end": { - "line": 92, + "line": 196, "column": 41 } } @@ -52381,15 +76554,15 @@ "binop": null, "updateContext": null }, - "start": 3433, - "end": 3434, + "start": 6864, + "end": 6865, "loc": { "start": { - "line": 92, + "line": 196, "column": 41 }, "end": { - "line": 92, + "line": 196, "column": 42 } } @@ -52407,15 +76580,15 @@ "binop": null, "updateContext": null }, - "start": 3434, - "end": 3435, + "start": 6865, + "end": 6866, "loc": { "start": { - "line": 92, + "line": 196, "column": 42 }, "end": { - "line": 92, + "line": 196, "column": 43 } } @@ -52435,15 +76608,15 @@ "updateContext": null }, "value": "if", - "start": 3444, - "end": 3446, + "start": 6875, + "end": 6877, "loc": { "start": { - "line": 93, + "line": 197, "column": 8 }, "end": { - "line": 93, + "line": 197, "column": 10 } } @@ -52460,15 +76633,15 @@ "postfix": false, "binop": null }, - "start": 3447, - "end": 3448, + "start": 6878, + "end": 6879, "loc": { "start": { - "line": 93, + "line": 197, "column": 11 }, "end": { - "line": 93, + "line": 197, "column": 12 } } @@ -52486,15 +76659,15 @@ "binop": null }, "value": "mesh", - "start": 3448, - "end": 3452, + "start": 6879, + "end": 6883, "loc": { "start": { - "line": 93, + "line": 197, "column": 12 }, "end": { - "line": 93, + "line": 197, "column": 16 } } @@ -52512,15 +76685,15 @@ "binop": null, "updateContext": null }, - "start": 3452, - "end": 3453, + "start": 6883, + "end": 6884, "loc": { "start": { - "line": 93, + "line": 197, "column": 16 }, "end": { - "line": 93, + "line": 197, "column": 17 } } @@ -52538,15 +76711,15 @@ "binop": null }, "value": "geometry", - "start": 3453, - "end": 3461, + "start": 6884, + "end": 6892, "loc": { "start": { - "line": 93, + "line": 197, "column": 17 }, "end": { - "line": 93, + "line": 197, "column": 25 } } @@ -52564,15 +76737,15 @@ "binop": null, "updateContext": null }, - "start": 3461, - "end": 3462, + "start": 6892, + "end": 6893, "loc": { "start": { - "line": 93, + "line": 197, "column": 25 }, "end": { - "line": 93, + "line": 197, "column": 26 } } @@ -52590,15 +76763,15 @@ "binop": null }, "value": "numInstances", - "start": 3462, - "end": 3474, + "start": 6893, + "end": 6905, "loc": { "start": { - "line": 93, + "line": 197, "column": 26 }, "end": { - "line": 93, + "line": 197, "column": 38 } } @@ -52617,15 +76790,15 @@ "updateContext": null }, "value": ">", - "start": 3475, - "end": 3476, + "start": 6906, + "end": 6907, "loc": { "start": { - "line": 93, + "line": 197, "column": 39 }, "end": { - "line": 93, + "line": 197, "column": 40 } } @@ -52644,15 +76817,15 @@ "updateContext": null }, "value": 1, - "start": 3477, - "end": 3478, + "start": 6908, + "end": 6909, "loc": { "start": { - "line": 93, + "line": 197, "column": 41 }, "end": { - "line": 93, + "line": 197, "column": 42 } } @@ -52669,15 +76842,15 @@ "postfix": false, "binop": null }, - "start": 3478, - "end": 3479, + "start": 6909, + "end": 6910, "loc": { "start": { - "line": 93, + "line": 197, "column": 42 }, "end": { - "line": 93, + "line": 197, "column": 43 } } @@ -52694,15 +76867,15 @@ "postfix": false, "binop": null }, - "start": 3480, - "end": 3481, + "start": 6911, + "end": 6912, "loc": { "start": { - "line": 93, + "line": 197, "column": 44 }, "end": { - "line": 93, + "line": 197, "column": 45 } } @@ -52720,15 +76893,15 @@ "binop": null }, "value": "lenMatrices", - "start": 3494, - "end": 3505, + "start": 6925, + "end": 6936, "loc": { "start": { - "line": 94, + "line": 198, "column": 12 }, "end": { - "line": 94, + "line": 198, "column": 23 } } @@ -52747,15 +76920,15 @@ "updateContext": null }, "value": "+=", - "start": 3506, - "end": 3508, + "start": 6937, + "end": 6939, "loc": { "start": { - "line": 94, + "line": 198, "column": 24 }, "end": { - "line": 94, + "line": 198, "column": 26 } } @@ -52774,15 +76947,15 @@ "updateContext": null }, "value": 16, - "start": 3509, - "end": 3511, + "start": 6940, + "end": 6942, "loc": { "start": { - "line": 94, + "line": 198, "column": 27 }, "end": { - "line": 94, + "line": 198, "column": 29 } } @@ -52800,15 +76973,15 @@ "binop": null, "updateContext": null }, - "start": 3511, - "end": 3512, + "start": 6942, + "end": 6943, "loc": { "start": { - "line": 94, + "line": 198, "column": 29 }, "end": { - "line": 94, + "line": 198, "column": 30 } } @@ -52825,15 +76998,15 @@ "postfix": false, "binop": null }, - "start": 3521, - "end": 3522, + "start": 6952, + "end": 6953, "loc": { "start": { - "line": 95, + "line": 199, "column": 8 }, "end": { - "line": 95, + "line": 199, "column": 9 } } @@ -52850,15 +77023,15 @@ "postfix": false, "binop": null }, - "start": 3527, - "end": 3528, + "start": 6958, + "end": 6959, "loc": { "start": { - "line": 96, + "line": 200, "column": 4 }, "end": { - "line": 96, + "line": 200, "column": 5 } } @@ -52878,15 +77051,15 @@ "updateContext": null }, "value": "const", - "start": 3534, - "end": 3539, + "start": 6965, + "end": 6970, "loc": { "start": { - "line": 98, + "line": 202, "column": 4 }, "end": { - "line": 98, + "line": 202, "column": 9 } } @@ -52904,15 +77077,15 @@ "binop": null }, "value": "data", - "start": 3540, - "end": 3544, + "start": 6971, + "end": 6975, "loc": { "start": { - "line": 98, + "line": 202, "column": 10 }, "end": { - "line": 98, + "line": 202, "column": 14 } } @@ -52931,15 +77104,15 @@ "updateContext": null }, "value": "=", - "start": 3545, - "end": 3546, + "start": 6976, + "end": 6977, "loc": { "start": { - "line": 98, + "line": 202, "column": 15 }, "end": { - "line": 98, + "line": 202, "column": 16 } } @@ -52956,15 +77129,15 @@ "postfix": false, "binop": null }, - "start": 3547, - "end": 3548, + "start": 6978, + "end": 6979, "loc": { "start": { - "line": 98, + "line": 202, "column": 17 }, "end": { - "line": 98, + "line": 202, "column": 18 } } @@ -52982,15 +77155,15 @@ "binop": null }, "value": "metadata", - "start": 3557, - "end": 3565, + "start": 6988, + "end": 6996, "loc": { "start": { - "line": 99, + "line": 203, "column": 8 }, "end": { - "line": 99, + "line": 203, "column": 16 } } @@ -53008,15 +77181,15 @@ "binop": null, "updateContext": null }, - "start": 3565, - "end": 3566, + "start": 6996, + "end": 6997, "loc": { "start": { - "line": 99, + "line": 203, "column": 16 }, "end": { - "line": 99, + "line": 203, "column": 17 } } @@ -53033,15 +77206,15 @@ "postfix": false, "binop": null }, - "start": 3567, - "end": 3568, + "start": 6998, + "end": 6999, "loc": { "start": { - "line": 99, + "line": 203, "column": 18 }, "end": { - "line": 99, + "line": 203, "column": 19 } } @@ -53058,15 +77231,15 @@ "postfix": false, "binop": null }, - "start": 3568, - "end": 3569, + "start": 6999, + "end": 7000, "loc": { "start": { - "line": 99, + "line": 203, "column": 19 }, "end": { - "line": 99, + "line": 203, "column": 20 } } @@ -53084,15 +77257,15 @@ "binop": null, "updateContext": null }, - "start": 3569, - "end": 3570, + "start": 7000, + "end": 7001, "loc": { "start": { - "line": 99, + "line": 203, "column": 20 }, "end": { - "line": 99, + "line": 203, "column": 21 } } @@ -53110,15 +77283,15 @@ "binop": null }, "value": "textureData", - "start": 3579, - "end": 3590, + "start": 7010, + "end": 7021, "loc": { "start": { - "line": 100, + "line": 204, "column": 8 }, "end": { - "line": 100, + "line": 204, "column": 19 } } @@ -53136,15 +77309,15 @@ "binop": null, "updateContext": null }, - "start": 3590, - "end": 3591, + "start": 7021, + "end": 7022, "loc": { "start": { - "line": 100, + "line": 204, "column": 19 }, "end": { - "line": 100, + "line": 204, "column": 20 } } @@ -53164,15 +77337,15 @@ "updateContext": null }, "value": "new", - "start": 3592, - "end": 3595, + "start": 7023, + "end": 7026, "loc": { "start": { - "line": 100, + "line": 204, "column": 21 }, "end": { - "line": 100, + "line": 204, "column": 24 } } @@ -53190,15 +77363,15 @@ "binop": null }, "value": "Uint8Array", - "start": 3596, - "end": 3606, + "start": 7027, + "end": 7037, "loc": { "start": { - "line": 100, + "line": 204, "column": 25 }, "end": { - "line": 100, + "line": 204, "column": 35 } } @@ -53215,15 +77388,15 @@ "postfix": false, "binop": null }, - "start": 3606, - "end": 3607, + "start": 7037, + "end": 7038, "loc": { "start": { - "line": 100, + "line": 204, "column": 35 }, "end": { - "line": 100, + "line": 204, "column": 36 } } @@ -53241,15 +77414,15 @@ "binop": null }, "value": "lenTextures", - "start": 3607, - "end": 3618, + "start": 7038, + "end": 7049, "loc": { "start": { - "line": 100, + "line": 204, "column": 36 }, "end": { - "line": 100, + "line": 204, "column": 47 } } @@ -53266,15 +77439,15 @@ "postfix": false, "binop": null }, - "start": 3618, - "end": 3619, + "start": 7049, + "end": 7050, "loc": { "start": { - "line": 100, + "line": 204, "column": 47 }, "end": { - "line": 100, + "line": 204, "column": 48 } } @@ -53292,15 +77465,15 @@ "binop": null, "updateContext": null }, - "start": 3619, - "end": 3620, + "start": 7050, + "end": 7051, "loc": { "start": { - "line": 100, + "line": 204, "column": 48 }, "end": { - "line": 100, + "line": 204, "column": 49 } } @@ -53308,15 +77481,15 @@ { "type": "CommentLine", "value": " All textures", - "start": 3621, - "end": 3636, + "start": 7052, + "end": 7067, "loc": { "start": { - "line": 100, + "line": 204, "column": 50 }, "end": { - "line": 100, + "line": 204, "column": 65 } } @@ -53334,15 +77507,15 @@ "binop": null }, "value": "eachTextureDataPortion", - "start": 3645, - "end": 3667, + "start": 7076, + "end": 7098, "loc": { "start": { - "line": 101, + "line": 205, "column": 8 }, "end": { - "line": 101, + "line": 205, "column": 30 } } @@ -53360,15 +77533,15 @@ "binop": null, "updateContext": null }, - "start": 3667, - "end": 3668, + "start": 7098, + "end": 7099, "loc": { "start": { - "line": 101, + "line": 205, "column": 30 }, "end": { - "line": 101, + "line": 205, "column": 31 } } @@ -53388,15 +77561,15 @@ "updateContext": null }, "value": "new", - "start": 3669, - "end": 3672, + "start": 7100, + "end": 7103, "loc": { "start": { - "line": 101, + "line": 205, "column": 32 }, "end": { - "line": 101, + "line": 205, "column": 35 } } @@ -53414,15 +77587,15 @@ "binop": null }, "value": "Uint32Array", - "start": 3673, - "end": 3684, + "start": 7104, + "end": 7115, "loc": { "start": { - "line": 101, + "line": 205, "column": 36 }, "end": { - "line": 101, + "line": 205, "column": 47 } } @@ -53439,15 +77612,15 @@ "postfix": false, "binop": null }, - "start": 3684, - "end": 3685, + "start": 7115, + "end": 7116, "loc": { "start": { - "line": 101, + "line": 205, "column": 47 }, "end": { - "line": 101, + "line": 205, "column": 48 } } @@ -53465,15 +77638,15 @@ "binop": null }, "value": "numTextures", - "start": 3685, - "end": 3696, + "start": 7116, + "end": 7127, "loc": { "start": { - "line": 101, + "line": 205, "column": 48 }, "end": { - "line": 101, + "line": 205, "column": 59 } } @@ -53490,15 +77663,15 @@ "postfix": false, "binop": null }, - "start": 3696, - "end": 3697, + "start": 7127, + "end": 7128, "loc": { "start": { - "line": 101, + "line": 205, "column": 59 }, "end": { - "line": 101, + "line": 205, "column": 60 } } @@ -53516,15 +77689,15 @@ "binop": null, "updateContext": null }, - "start": 3697, - "end": 3698, + "start": 7128, + "end": 7129, "loc": { "start": { - "line": 101, + "line": 205, "column": 60 }, "end": { - "line": 101, + "line": 205, "column": 61 } } @@ -53532,15 +77705,15 @@ { "type": "CommentLine", "value": " For each texture, an index to its first element in textureData", - "start": 3699, - "end": 3764, + "start": 7130, + "end": 7195, "loc": { "start": { - "line": 101, + "line": 205, "column": 62 }, "end": { - "line": 101, + "line": 205, "column": 127 } } @@ -53558,15 +77731,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 3773, - "end": 3794, + "start": 7204, + "end": 7225, "loc": { "start": { - "line": 102, + "line": 206, "column": 8 }, "end": { - "line": 102, + "line": 206, "column": 29 } } @@ -53584,15 +77757,15 @@ "binop": null, "updateContext": null }, - "start": 3794, - "end": 3795, + "start": 7225, + "end": 7226, "loc": { "start": { - "line": 102, + "line": 206, "column": 29 }, "end": { - "line": 102, + "line": 206, "column": 30 } } @@ -53612,15 +77785,15 @@ "updateContext": null }, "value": "new", - "start": 3796, - "end": 3799, + "start": 7227, + "end": 7230, "loc": { "start": { - "line": 102, + "line": 206, "column": 31 }, "end": { - "line": 102, + "line": 206, "column": 34 } } @@ -53638,15 +77811,15 @@ "binop": null }, "value": "Uint16Array", - "start": 3800, - "end": 3811, + "start": 7231, + "end": 7242, "loc": { "start": { - "line": 102, + "line": 206, "column": 35 }, "end": { - "line": 102, + "line": 206, "column": 46 } } @@ -53663,15 +77836,15 @@ "postfix": false, "binop": null }, - "start": 3811, - "end": 3812, + "start": 7242, + "end": 7243, "loc": { "start": { - "line": 102, + "line": 206, "column": 46 }, "end": { - "line": 102, + "line": 206, "column": 47 } } @@ -53689,15 +77862,15 @@ "binop": null }, "value": "numTextures", - "start": 3812, - "end": 3823, + "start": 7243, + "end": 7254, "loc": { "start": { - "line": 102, + "line": 206, "column": 47 }, "end": { - "line": 102, + "line": 206, "column": 58 } } @@ -53716,15 +77889,15 @@ "updateContext": null }, "value": "*", - "start": 3824, - "end": 3825, + "start": 7255, + "end": 7256, "loc": { "start": { - "line": 102, + "line": 206, "column": 59 }, "end": { - "line": 102, + "line": 206, "column": 60 } } @@ -53742,15 +77915,15 @@ "binop": null }, "value": "NUM_TEXTURE_ATTRIBUTES", - "start": 3826, - "end": 3848, + "start": 7257, + "end": 7279, "loc": { "start": { - "line": 102, + "line": 206, "column": 61 }, "end": { - "line": 102, + "line": 206, "column": 83 } } @@ -53767,15 +77940,15 @@ "postfix": false, "binop": null }, - "start": 3848, - "end": 3849, + "start": 7279, + "end": 7280, "loc": { "start": { - "line": 102, + "line": 206, "column": 83 }, "end": { - "line": 102, + "line": 206, "column": 84 } } @@ -53793,15 +77966,15 @@ "binop": null, "updateContext": null }, - "start": 3849, - "end": 3850, + "start": 7280, + "end": 7281, "loc": { "start": { - "line": 102, + "line": 206, "column": 84 }, "end": { - "line": 102, + "line": 206, "column": 85 } } @@ -53819,15 +77992,15 @@ "binop": null }, "value": "positions", - "start": 3859, - "end": 3868, + "start": 7290, + "end": 7299, "loc": { "start": { - "line": 103, + "line": 207, "column": 8 }, "end": { - "line": 103, + "line": 207, "column": 17 } } @@ -53845,15 +78018,15 @@ "binop": null, "updateContext": null }, - "start": 3868, - "end": 3869, + "start": 7299, + "end": 7300, "loc": { "start": { - "line": 103, + "line": 207, "column": 17 }, "end": { - "line": 103, + "line": 207, "column": 18 } } @@ -53873,15 +78046,15 @@ "updateContext": null }, "value": "new", - "start": 3870, - "end": 3873, + "start": 7301, + "end": 7304, "loc": { "start": { - "line": 103, + "line": 207, "column": 19 }, "end": { - "line": 103, + "line": 207, "column": 22 } } @@ -53899,15 +78072,15 @@ "binop": null }, "value": "Uint16Array", - "start": 3874, - "end": 3885, + "start": 7305, + "end": 7316, "loc": { "start": { - "line": 103, + "line": 207, "column": 23 }, "end": { - "line": 103, + "line": 207, "column": 34 } } @@ -53924,15 +78097,15 @@ "postfix": false, "binop": null }, - "start": 3885, - "end": 3886, + "start": 7316, + "end": 7317, "loc": { "start": { - "line": 103, + "line": 207, "column": 34 }, "end": { - "line": 103, + "line": 207, "column": 35 } } @@ -53950,15 +78123,15 @@ "binop": null }, "value": "lenPositions", - "start": 3886, - "end": 3898, + "start": 7317, + "end": 7329, "loc": { "start": { - "line": 103, + "line": 207, "column": 35 }, "end": { - "line": 103, + "line": 207, "column": 47 } } @@ -53975,15 +78148,15 @@ "postfix": false, "binop": null }, - "start": 3898, - "end": 3899, + "start": 7329, + "end": 7330, "loc": { "start": { - "line": 103, + "line": 207, "column": 47 }, "end": { - "line": 103, + "line": 207, "column": 48 } } @@ -54001,15 +78174,15 @@ "binop": null, "updateContext": null }, - "start": 3899, - "end": 3900, + "start": 7330, + "end": 7331, "loc": { "start": { - "line": 103, + "line": 207, "column": 48 }, "end": { - "line": 103, + "line": 207, "column": 49 } } @@ -54017,15 +78190,15 @@ { "type": "CommentLine", "value": " All geometry arrays", - "start": 3901, - "end": 3923, + "start": 7332, + "end": 7354, "loc": { "start": { - "line": 103, + "line": 207, "column": 50 }, "end": { - "line": 103, + "line": 207, "column": 72 } } @@ -54043,15 +78216,15 @@ "binop": null }, "value": "normals", - "start": 3932, - "end": 3939, + "start": 7363, + "end": 7370, "loc": { "start": { - "line": 104, + "line": 208, "column": 8 }, "end": { - "line": 104, + "line": 208, "column": 15 } } @@ -54069,15 +78242,15 @@ "binop": null, "updateContext": null }, - "start": 3939, - "end": 3940, + "start": 7370, + "end": 7371, "loc": { "start": { - "line": 104, + "line": 208, "column": 15 }, "end": { - "line": 104, + "line": 208, "column": 16 } } @@ -54097,15 +78270,15 @@ "updateContext": null }, "value": "new", - "start": 3941, - "end": 3944, + "start": 7372, + "end": 7375, "loc": { "start": { - "line": 104, + "line": 208, "column": 17 }, "end": { - "line": 104, + "line": 208, "column": 20 } } @@ -54123,15 +78296,15 @@ "binop": null }, "value": "Int8Array", - "start": 3945, - "end": 3954, + "start": 7376, + "end": 7385, "loc": { "start": { - "line": 104, + "line": 208, "column": 21 }, "end": { - "line": 104, + "line": 208, "column": 30 } } @@ -54148,15 +78321,15 @@ "postfix": false, "binop": null }, - "start": 3954, - "end": 3955, + "start": 7385, + "end": 7386, "loc": { "start": { - "line": 104, + "line": 208, "column": 30 }, "end": { - "line": 104, + "line": 208, "column": 31 } } @@ -54174,15 +78347,15 @@ "binop": null }, "value": "lenNormals", - "start": 3955, - "end": 3965, + "start": 7386, + "end": 7396, "loc": { "start": { - "line": 104, + "line": 208, "column": 31 }, "end": { - "line": 104, + "line": 208, "column": 41 } } @@ -54199,15 +78372,15 @@ "postfix": false, "binop": null }, - "start": 3965, - "end": 3966, + "start": 7396, + "end": 7397, "loc": { "start": { - "line": 104, + "line": 208, "column": 41 }, "end": { - "line": 104, + "line": 208, "column": 42 } } @@ -54225,15 +78398,15 @@ "binop": null, "updateContext": null }, - "start": 3966, - "end": 3967, + "start": 7397, + "end": 7398, "loc": { "start": { - "line": 104, + "line": 208, "column": 42 }, "end": { - "line": 104, + "line": 208, "column": 43 } } @@ -54251,15 +78424,15 @@ "binop": null }, "value": "colors", - "start": 3976, - "end": 3982, + "start": 7407, + "end": 7413, "loc": { "start": { - "line": 105, + "line": 209, "column": 8 }, "end": { - "line": 105, + "line": 209, "column": 14 } } @@ -54277,15 +78450,15 @@ "binop": null, "updateContext": null }, - "start": 3982, - "end": 3983, + "start": 7413, + "end": 7414, "loc": { "start": { - "line": 105, + "line": 209, "column": 14 }, "end": { - "line": 105, + "line": 209, "column": 15 } } @@ -54305,15 +78478,15 @@ "updateContext": null }, "value": "new", - "start": 3984, - "end": 3987, + "start": 7415, + "end": 7418, "loc": { "start": { - "line": 105, + "line": 209, "column": 16 }, "end": { - "line": 105, + "line": 209, "column": 19 } } @@ -54331,15 +78504,15 @@ "binop": null }, "value": "Uint8Array", - "start": 3988, - "end": 3998, + "start": 7419, + "end": 7429, "loc": { "start": { - "line": 105, + "line": 209, "column": 20 }, "end": { - "line": 105, + "line": 209, "column": 30 } } @@ -54356,15 +78529,15 @@ "postfix": false, "binop": null }, - "start": 3998, - "end": 3999, + "start": 7429, + "end": 7430, "loc": { "start": { - "line": 105, + "line": 209, "column": 30 }, "end": { - "line": 105, + "line": 209, "column": 31 } } @@ -54382,15 +78555,15 @@ "binop": null }, "value": "lenColors", - "start": 3999, - "end": 4008, + "start": 7430, + "end": 7439, "loc": { "start": { - "line": 105, + "line": 209, "column": 31 }, "end": { - "line": 105, + "line": 209, "column": 40 } } @@ -54407,15 +78580,15 @@ "postfix": false, "binop": null }, - "start": 4008, - "end": 4009, + "start": 7439, + "end": 7440, "loc": { "start": { - "line": 105, + "line": 209, "column": 40 }, "end": { - "line": 105, + "line": 209, "column": 41 } } @@ -54433,15 +78606,15 @@ "binop": null, "updateContext": null }, - "start": 4009, - "end": 4010, + "start": 7440, + "end": 7441, "loc": { "start": { - "line": 105, + "line": 209, "column": 41 }, "end": { - "line": 105, + "line": 209, "column": 42 } } @@ -54459,15 +78632,15 @@ "binop": null }, "value": "uvs", - "start": 4019, - "end": 4022, + "start": 7450, + "end": 7453, "loc": { "start": { - "line": 106, + "line": 210, "column": 8 }, "end": { - "line": 106, + "line": 210, "column": 11 } } @@ -54485,15 +78658,15 @@ "binop": null, "updateContext": null }, - "start": 4022, - "end": 4023, + "start": 7453, + "end": 7454, "loc": { "start": { - "line": 106, + "line": 210, "column": 11 }, "end": { - "line": 106, + "line": 210, "column": 12 } } @@ -54513,15 +78686,15 @@ "updateContext": null }, "value": "new", - "start": 4024, - "end": 4027, + "start": 7455, + "end": 7458, "loc": { "start": { - "line": 106, + "line": 210, "column": 13 }, "end": { - "line": 106, + "line": 210, "column": 16 } } @@ -54539,15 +78712,15 @@ "binop": null }, "value": "Float32Array", - "start": 4028, - "end": 4040, + "start": 7459, + "end": 7471, "loc": { "start": { - "line": 106, + "line": 210, "column": 17 }, "end": { - "line": 106, + "line": 210, "column": 29 } } @@ -54564,15 +78737,15 @@ "postfix": false, "binop": null }, - "start": 4040, - "end": 4041, + "start": 7471, + "end": 7472, "loc": { "start": { - "line": 106, + "line": 210, "column": 29 }, "end": { - "line": 106, + "line": 210, "column": 30 } } @@ -54590,15 +78763,15 @@ "binop": null }, "value": "lenUVs", - "start": 4041, - "end": 4047, + "start": 7472, + "end": 7478, "loc": { "start": { - "line": 106, + "line": 210, "column": 30 }, "end": { - "line": 106, + "line": 210, "column": 36 } } @@ -54615,15 +78788,15 @@ "postfix": false, "binop": null }, - "start": 4047, - "end": 4048, + "start": 7478, + "end": 7479, "loc": { "start": { - "line": 106, + "line": 210, "column": 36 }, "end": { - "line": 106, + "line": 210, "column": 37 } } @@ -54641,15 +78814,15 @@ "binop": null, "updateContext": null }, - "start": 4048, - "end": 4049, + "start": 7479, + "end": 7480, "loc": { "start": { - "line": 106, + "line": 210, "column": 37 }, "end": { - "line": 106, + "line": 210, "column": 38 } } @@ -54667,15 +78840,15 @@ "binop": null }, "value": "indices", - "start": 4058, - "end": 4065, + "start": 7489, + "end": 7496, "loc": { "start": { - "line": 107, + "line": 211, "column": 8 }, "end": { - "line": 107, + "line": 211, "column": 15 } } @@ -54693,15 +78866,15 @@ "binop": null, "updateContext": null }, - "start": 4065, - "end": 4066, + "start": 7496, + "end": 7497, "loc": { "start": { - "line": 107, + "line": 211, "column": 15 }, "end": { - "line": 107, + "line": 211, "column": 16 } } @@ -54721,15 +78894,15 @@ "updateContext": null }, "value": "new", - "start": 4067, - "end": 4070, + "start": 7498, + "end": 7501, "loc": { "start": { - "line": 107, + "line": 211, "column": 17 }, "end": { - "line": 107, + "line": 211, "column": 20 } } @@ -54747,15 +78920,15 @@ "binop": null }, "value": "Uint32Array", - "start": 4071, - "end": 4082, + "start": 7502, + "end": 7513, "loc": { "start": { - "line": 107, + "line": 211, "column": 21 }, "end": { - "line": 107, + "line": 211, "column": 32 } } @@ -54772,15 +78945,15 @@ "postfix": false, "binop": null }, - "start": 4082, - "end": 4083, + "start": 7513, + "end": 7514, "loc": { "start": { - "line": 107, + "line": 211, "column": 32 }, "end": { - "line": 107, + "line": 211, "column": 33 } } @@ -54798,15 +78971,15 @@ "binop": null }, "value": "lenIndices", - "start": 4083, - "end": 4093, + "start": 7514, + "end": 7524, "loc": { "start": { - "line": 107, + "line": 211, "column": 33 }, "end": { - "line": 107, + "line": 211, "column": 43 } } @@ -54823,15 +78996,15 @@ "postfix": false, "binop": null }, - "start": 4093, - "end": 4094, + "start": 7524, + "end": 7525, "loc": { "start": { - "line": 107, + "line": 211, "column": 43 }, "end": { - "line": 107, + "line": 211, "column": 44 } } @@ -54849,15 +79022,15 @@ "binop": null, "updateContext": null }, - "start": 4094, - "end": 4095, + "start": 7525, + "end": 7526, "loc": { "start": { - "line": 107, + "line": 211, "column": 44 }, "end": { - "line": 107, + "line": 211, "column": 45 } } @@ -54875,15 +79048,15 @@ "binop": null }, "value": "edgeIndices", - "start": 4104, - "end": 4115, + "start": 7535, + "end": 7546, "loc": { "start": { - "line": 108, + "line": 212, "column": 8 }, "end": { - "line": 108, + "line": 212, "column": 19 } } @@ -54901,15 +79074,15 @@ "binop": null, "updateContext": null }, - "start": 4115, - "end": 4116, + "start": 7546, + "end": 7547, "loc": { "start": { - "line": 108, + "line": 212, "column": 19 }, "end": { - "line": 108, + "line": 212, "column": 20 } } @@ -54929,15 +79102,15 @@ "updateContext": null }, "value": "new", - "start": 4117, - "end": 4120, + "start": 7548, + "end": 7551, "loc": { "start": { - "line": 108, + "line": 212, "column": 21 }, "end": { - "line": 108, + "line": 212, "column": 24 } } @@ -54955,15 +79128,15 @@ "binop": null }, "value": "Uint32Array", - "start": 4121, - "end": 4132, + "start": 7552, + "end": 7563, "loc": { "start": { - "line": 108, + "line": 212, "column": 25 }, "end": { - "line": 108, + "line": 212, "column": 36 } } @@ -54980,15 +79153,15 @@ "postfix": false, "binop": null }, - "start": 4132, - "end": 4133, + "start": 7563, + "end": 7564, "loc": { "start": { - "line": 108, + "line": 212, "column": 36 }, "end": { - "line": 108, + "line": 212, "column": 37 } } @@ -55006,15 +79179,15 @@ "binop": null }, "value": "lenEdgeIndices", - "start": 4133, - "end": 4147, + "start": 7564, + "end": 7578, "loc": { "start": { - "line": 108, + "line": 212, "column": 37 }, "end": { - "line": 108, + "line": 212, "column": 51 } } @@ -55031,15 +79204,15 @@ "postfix": false, "binop": null }, - "start": 4147, - "end": 4148, + "start": 7578, + "end": 7579, "loc": { "start": { - "line": 108, + "line": 212, "column": 51 }, "end": { - "line": 108, + "line": 212, "column": 52 } } @@ -55057,15 +79230,15 @@ "binop": null, "updateContext": null }, - "start": 4148, - "end": 4149, + "start": 7579, + "end": 7580, "loc": { "start": { - "line": 108, + "line": 212, "column": 52 }, "end": { - "line": 108, + "line": 212, "column": 53 } } @@ -55083,15 +79256,15 @@ "binop": null }, "value": "eachTextureSetTextures", - "start": 4158, - "end": 4180, + "start": 7589, + "end": 7611, "loc": { "start": { - "line": 109, + "line": 213, "column": 8 }, "end": { - "line": 109, + "line": 213, "column": 30 } } @@ -55109,15 +79282,15 @@ "binop": null, "updateContext": null }, - "start": 4180, - "end": 4181, + "start": 7611, + "end": 7612, "loc": { "start": { - "line": 109, + "line": 213, "column": 30 }, "end": { - "line": 109, + "line": 213, "column": 31 } } @@ -55137,15 +79310,15 @@ "updateContext": null }, "value": "new", - "start": 4182, - "end": 4185, + "start": 7613, + "end": 7616, "loc": { "start": { - "line": 109, + "line": 213, "column": 32 }, "end": { - "line": 109, + "line": 213, "column": 35 } } @@ -55163,15 +79336,15 @@ "binop": null }, "value": "Int32Array", - "start": 4186, - "end": 4196, + "start": 7617, + "end": 7627, "loc": { "start": { - "line": 109, + "line": 213, "column": 36 }, "end": { - "line": 109, + "line": 213, "column": 46 } } @@ -55188,15 +79361,15 @@ "postfix": false, "binop": null }, - "start": 4196, - "end": 4197, + "start": 7627, + "end": 7628, "loc": { "start": { - "line": 109, + "line": 213, "column": 46 }, "end": { - "line": 109, + "line": 213, "column": 47 } } @@ -55214,15 +79387,15 @@ "binop": null }, "value": "numTextureSets", - "start": 4197, - "end": 4211, + "start": 7628, + "end": 7642, "loc": { "start": { - "line": 109, + "line": 213, "column": 47 }, "end": { - "line": 109, + "line": 213, "column": 61 } } @@ -55241,15 +79414,15 @@ "updateContext": null }, "value": "*", - "start": 4212, - "end": 4213, + "start": 7643, + "end": 7644, "loc": { "start": { - "line": 109, + "line": 213, "column": 62 }, "end": { - "line": 109, + "line": 213, "column": 63 } } @@ -55268,15 +79441,15 @@ "updateContext": null }, "value": 5, - "start": 4214, - "end": 4215, + "start": 7645, + "end": 7646, "loc": { "start": { - "line": 109, + "line": 213, "column": 64 }, "end": { - "line": 109, + "line": 213, "column": 65 } } @@ -55293,15 +79466,15 @@ "postfix": false, "binop": null }, - "start": 4215, - "end": 4216, + "start": 7646, + "end": 7647, "loc": { "start": { - "line": 109, + "line": 213, "column": 65 }, "end": { - "line": 109, + "line": 213, "column": 66 } } @@ -55319,15 +79492,15 @@ "binop": null, "updateContext": null }, - "start": 4216, - "end": 4217, + "start": 7647, + "end": 7648, "loc": { "start": { - "line": 109, + "line": 213, "column": 66 }, "end": { - "line": 109, + "line": 213, "column": 67 } } @@ -55335,15 +79508,15 @@ { "type": "CommentLine", "value": " For each texture set, a set of five Texture indices [color, metal/roughness,normals,emissive,occlusion]; each index has value -1 if no texture", - "start": 4218, - "end": 4363, + "start": 7649, + "end": 7794, "loc": { "start": { - "line": 109, + "line": 213, "column": 68 }, "end": { - "line": 109, + "line": 213, "column": 213 } } @@ -55361,15 +79534,15 @@ "binop": null }, "value": "matrices", - "start": 4372, - "end": 4380, + "start": 7803, + "end": 7811, "loc": { "start": { - "line": 110, + "line": 214, "column": 8 }, "end": { - "line": 110, + "line": 214, "column": 16 } } @@ -55387,15 +79560,15 @@ "binop": null, "updateContext": null }, - "start": 4380, - "end": 4381, + "start": 7811, + "end": 7812, "loc": { "start": { - "line": 110, + "line": 214, "column": 16 }, "end": { - "line": 110, + "line": 214, "column": 17 } } @@ -55415,15 +79588,15 @@ "updateContext": null }, "value": "new", - "start": 4382, - "end": 4385, + "start": 7813, + "end": 7816, "loc": { "start": { - "line": 110, + "line": 214, "column": 18 }, "end": { - "line": 110, + "line": 214, "column": 21 } } @@ -55441,15 +79614,15 @@ "binop": null }, "value": "Float32Array", - "start": 4386, - "end": 4398, + "start": 7817, + "end": 7829, "loc": { "start": { - "line": 110, + "line": 214, "column": 22 }, "end": { - "line": 110, + "line": 214, "column": 34 } } @@ -55466,15 +79639,15 @@ "postfix": false, "binop": null }, - "start": 4398, - "end": 4399, + "start": 7829, + "end": 7830, "loc": { "start": { - "line": 110, + "line": 214, "column": 34 }, "end": { - "line": 110, + "line": 214, "column": 35 } } @@ -55492,15 +79665,15 @@ "binop": null }, "value": "lenMatrices", - "start": 4399, - "end": 4410, + "start": 7830, + "end": 7841, "loc": { "start": { - "line": 110, + "line": 214, "column": 35 }, "end": { - "line": 110, + "line": 214, "column": 46 } } @@ -55517,15 +79690,15 @@ "postfix": false, "binop": null }, - "start": 4410, - "end": 4411, + "start": 7841, + "end": 7842, "loc": { "start": { - "line": 110, + "line": 214, "column": 46 }, "end": { - "line": 110, + "line": 214, "column": 47 } } @@ -55543,15 +79716,15 @@ "binop": null, "updateContext": null }, - "start": 4411, - "end": 4412, + "start": 7842, + "end": 7843, "loc": { "start": { - "line": 110, + "line": 214, "column": 47 }, "end": { - "line": 110, + "line": 214, "column": 48 } } @@ -55559,15 +79732,15 @@ { "type": "CommentLine", "value": " Modeling matrices for entities that share geometries. Each entity either shares all it's geometries, or owns all its geometries exclusively. Exclusively-owned geometries are pre-transformed into World-space, and so their entities don't have modeling matrices in this array.", - "start": 4413, - "end": 4689, + "start": 7844, + "end": 8120, "loc": { "start": { - "line": 110, + "line": 214, "column": 49 }, "end": { - "line": 110, + "line": 214, "column": 325 } } @@ -55585,15 +79758,15 @@ "binop": null }, "value": "reusedGeometriesDecodeMatrix", - "start": 4698, - "end": 4726, + "start": 8129, + "end": 8157, "loc": { "start": { - "line": 111, + "line": 215, "column": 8 }, "end": { - "line": 111, + "line": 215, "column": 36 } } @@ -55611,15 +79784,15 @@ "binop": null, "updateContext": null }, - "start": 4726, - "end": 4727, + "start": 8157, + "end": 8158, "loc": { "start": { - "line": 111, + "line": 215, "column": 36 }, "end": { - "line": 111, + "line": 215, "column": 37 } } @@ -55639,15 +79812,15 @@ "updateContext": null }, "value": "new", - "start": 4728, - "end": 4731, + "start": 8159, + "end": 8162, "loc": { "start": { - "line": 111, + "line": 215, "column": 38 }, "end": { - "line": 111, + "line": 215, "column": 41 } } @@ -55665,15 +79838,15 @@ "binop": null }, "value": "Float32Array", - "start": 4732, - "end": 4744, + "start": 8163, + "end": 8175, "loc": { "start": { - "line": 111, + "line": 215, "column": 42 }, "end": { - "line": 111, + "line": 215, "column": 54 } } @@ -55690,15 +79863,15 @@ "postfix": false, "binop": null }, - "start": 4744, - "end": 4745, + "start": 8175, + "end": 8176, "loc": { "start": { - "line": 111, + "line": 215, "column": 54 }, "end": { - "line": 111, + "line": 215, "column": 55 } } @@ -55716,15 +79889,15 @@ "binop": null }, "value": "xktModel", - "start": 4745, - "end": 4753, + "start": 8176, + "end": 8184, "loc": { "start": { - "line": 111, + "line": 215, "column": 55 }, "end": { - "line": 111, + "line": 215, "column": 63 } } @@ -55742,15 +79915,15 @@ "binop": null, "updateContext": null }, - "start": 4753, - "end": 4754, + "start": 8184, + "end": 8185, "loc": { "start": { - "line": 111, + "line": 215, "column": 63 }, "end": { - "line": 111, + "line": 215, "column": 64 } } @@ -55768,15 +79941,15 @@ "binop": null }, "value": "reusedGeometriesDecodeMatrix", - "start": 4754, - "end": 4782, + "start": 8185, + "end": 8213, "loc": { "start": { - "line": 111, + "line": 215, "column": 64 }, "end": { - "line": 111, + "line": 215, "column": 92 } } @@ -55793,15 +79966,15 @@ "postfix": false, "binop": null }, - "start": 4782, - "end": 4783, + "start": 8213, + "end": 8214, "loc": { "start": { - "line": 111, + "line": 215, "column": 92 }, "end": { - "line": 111, + "line": 215, "column": 93 } } @@ -55819,15 +79992,15 @@ "binop": null, "updateContext": null }, - "start": 4783, - "end": 4784, + "start": 8214, + "end": 8215, "loc": { "start": { - "line": 111, + "line": 215, "column": 93 }, "end": { - "line": 111, + "line": 215, "column": 94 } } @@ -55835,15 +80008,15 @@ { "type": "CommentLine", "value": " A single, global vertex position de-quantization matrix for all reused geometries. Reused geometries are quantized to their collective Local-space AABB, and this matrix is derived from that AABB.", - "start": 4785, - "end": 4983, + "start": 8216, + "end": 8414, "loc": { "start": { - "line": 111, + "line": 215, "column": 95 }, "end": { - "line": 111, + "line": 215, "column": 293 } } @@ -55861,15 +80034,15 @@ "binop": null }, "value": "eachGeometryPrimitiveType", - "start": 4992, - "end": 5017, + "start": 8423, + "end": 8448, "loc": { "start": { - "line": 112, + "line": 216, "column": 8 }, "end": { - "line": 112, + "line": 216, "column": 33 } } @@ -55887,15 +80060,15 @@ "binop": null, "updateContext": null }, - "start": 5017, - "end": 5018, + "start": 8448, + "end": 8449, "loc": { "start": { - "line": 112, + "line": 216, "column": 33 }, "end": { - "line": 112, + "line": 216, "column": 34 } } @@ -55915,15 +80088,15 @@ "updateContext": null }, "value": "new", - "start": 5019, - "end": 5022, + "start": 8450, + "end": 8453, "loc": { "start": { - "line": 112, + "line": 216, "column": 35 }, "end": { - "line": 112, + "line": 216, "column": 38 } } @@ -55941,15 +80114,15 @@ "binop": null }, "value": "Uint8Array", - "start": 5023, - "end": 5033, + "start": 8454, + "end": 8464, "loc": { "start": { - "line": 112, + "line": 216, "column": 39 }, "end": { - "line": 112, + "line": 216, "column": 49 } } @@ -55966,15 +80139,15 @@ "postfix": false, "binop": null }, - "start": 5033, - "end": 5034, + "start": 8464, + "end": 8465, "loc": { "start": { - "line": 112, + "line": 216, "column": 49 }, "end": { - "line": 112, + "line": 216, "column": 50 } } @@ -55992,15 +80165,15 @@ "binop": null }, "value": "numGeometries", - "start": 5034, - "end": 5047, + "start": 8465, + "end": 8478, "loc": { "start": { - "line": 112, + "line": 216, "column": 50 }, "end": { - "line": 112, + "line": 216, "column": 63 } } @@ -56017,15 +80190,15 @@ "postfix": false, "binop": null }, - "start": 5047, - "end": 5048, + "start": 8478, + "end": 8479, "loc": { "start": { - "line": 112, + "line": 216, "column": 63 }, "end": { - "line": 112, + "line": 216, "column": 64 } } @@ -56043,15 +80216,15 @@ "binop": null, "updateContext": null }, - "start": 5048, - "end": 5049, + "start": 8479, + "end": 8480, "loc": { "start": { - "line": 112, + "line": 216, "column": 64 }, "end": { - "line": 112, + "line": 216, "column": 65 } } @@ -56059,15 +80232,15 @@ { "type": "CommentLine", "value": " Primitive type for each geometry (0=solid triangles, 1=surface triangles, 2=lines, 3=points, 4=line-strip)", - "start": 5050, - "end": 5159, + "start": 8481, + "end": 8590, "loc": { "start": { - "line": 112, + "line": 216, "column": 66 }, "end": { - "line": 112, + "line": 216, "column": 175 } } @@ -56085,15 +80258,15 @@ "binop": null }, "value": "eachGeometryPositionsPortion", - "start": 5168, - "end": 5196, + "start": 8599, + "end": 8627, "loc": { "start": { - "line": 113, + "line": 217, "column": 8 }, "end": { - "line": 113, + "line": 217, "column": 36 } } @@ -56111,15 +80284,15 @@ "binop": null, "updateContext": null }, - "start": 5196, - "end": 5197, + "start": 8627, + "end": 8628, "loc": { "start": { - "line": 113, + "line": 217, "column": 36 }, "end": { - "line": 113, + "line": 217, "column": 37 } } @@ -56139,15 +80312,15 @@ "updateContext": null }, "value": "new", - "start": 5198, - "end": 5201, + "start": 8629, + "end": 8632, "loc": { "start": { - "line": 113, + "line": 217, "column": 38 }, "end": { - "line": 113, + "line": 217, "column": 41 } } @@ -56165,15 +80338,15 @@ "binop": null }, "value": "Uint32Array", - "start": 5202, - "end": 5213, + "start": 8633, + "end": 8644, "loc": { "start": { - "line": 113, + "line": 217, "column": 42 }, "end": { - "line": 113, + "line": 217, "column": 53 } } @@ -56190,15 +80363,15 @@ "postfix": false, "binop": null }, - "start": 5213, - "end": 5214, + "start": 8644, + "end": 8645, "loc": { "start": { - "line": 113, + "line": 217, "column": 53 }, "end": { - "line": 113, + "line": 217, "column": 54 } } @@ -56216,15 +80389,15 @@ "binop": null }, "value": "numGeometries", - "start": 5214, - "end": 5227, + "start": 8645, + "end": 8658, "loc": { "start": { - "line": 113, + "line": 217, "column": 54 }, "end": { - "line": 113, + "line": 217, "column": 67 } } @@ -56241,15 +80414,15 @@ "postfix": false, "binop": null }, - "start": 5227, - "end": 5228, + "start": 8658, + "end": 8659, "loc": { "start": { - "line": 113, + "line": 217, "column": 67 }, "end": { - "line": 113, + "line": 217, "column": 68 } } @@ -56267,15 +80440,15 @@ "binop": null, "updateContext": null }, - "start": 5228, - "end": 5229, + "start": 8659, + "end": 8660, "loc": { "start": { - "line": 113, + "line": 217, "column": 68 }, "end": { - "line": 113, + "line": 217, "column": 69 } } @@ -56283,15 +80456,15 @@ { "type": "CommentLine", "value": " For each geometry, an index to its first element in data.positions. Every primitive type has positions.", - "start": 5230, - "end": 5336, + "start": 8661, + "end": 8767, "loc": { "start": { - "line": 113, + "line": 217, "column": 70 }, "end": { - "line": 113, + "line": 217, "column": 176 } } @@ -56309,15 +80482,15 @@ "binop": null }, "value": "eachGeometryNormalsPortion", - "start": 5345, - "end": 5371, + "start": 8776, + "end": 8802, "loc": { "start": { - "line": 114, + "line": 218, "column": 8 }, "end": { - "line": 114, + "line": 218, "column": 34 } } @@ -56335,15 +80508,15 @@ "binop": null, "updateContext": null }, - "start": 5371, - "end": 5372, + "start": 8802, + "end": 8803, "loc": { "start": { - "line": 114, + "line": 218, "column": 34 }, "end": { - "line": 114, + "line": 218, "column": 35 } } @@ -56363,15 +80536,15 @@ "updateContext": null }, "value": "new", - "start": 5373, - "end": 5376, + "start": 8804, + "end": 8807, "loc": { "start": { - "line": 114, + "line": 218, "column": 36 }, "end": { - "line": 114, + "line": 218, "column": 39 } } @@ -56389,15 +80562,15 @@ "binop": null }, "value": "Uint32Array", - "start": 5377, - "end": 5388, + "start": 8808, + "end": 8819, "loc": { "start": { - "line": 114, + "line": 218, "column": 40 }, "end": { - "line": 114, + "line": 218, "column": 51 } } @@ -56414,15 +80587,15 @@ "postfix": false, "binop": null }, - "start": 5388, - "end": 5389, + "start": 8819, + "end": 8820, "loc": { "start": { - "line": 114, + "line": 218, "column": 51 }, "end": { - "line": 114, + "line": 218, "column": 52 } } @@ -56440,15 +80613,15 @@ "binop": null }, "value": "numGeometries", - "start": 5389, - "end": 5402, + "start": 8820, + "end": 8833, "loc": { "start": { - "line": 114, + "line": 218, "column": 52 }, "end": { - "line": 114, + "line": 218, "column": 65 } } @@ -56465,15 +80638,15 @@ "postfix": false, "binop": null }, - "start": 5402, - "end": 5403, + "start": 8833, + "end": 8834, "loc": { "start": { - "line": 114, + "line": 218, "column": 65 }, "end": { - "line": 114, + "line": 218, "column": 66 } } @@ -56491,15 +80664,15 @@ "binop": null, "updateContext": null }, - "start": 5403, - "end": 5404, + "start": 8834, + "end": 8835, "loc": { "start": { - "line": 114, + "line": 218, "column": 66 }, "end": { - "line": 114, + "line": 218, "column": 67 } } @@ -56507,15 +80680,15 @@ { "type": "CommentLine", "value": " For each geometry, an index to its first element in data.normals. If the next geometry has the same index, then this geometry has no normals.", - "start": 5405, - "end": 5549, + "start": 8836, + "end": 8980, "loc": { "start": { - "line": 114, + "line": 218, "column": 68 }, "end": { - "line": 114, + "line": 218, "column": 212 } } @@ -56533,15 +80706,15 @@ "binop": null }, "value": "eachGeometryColorsPortion", - "start": 5558, - "end": 5583, + "start": 8989, + "end": 9014, "loc": { "start": { - "line": 115, + "line": 219, "column": 8 }, "end": { - "line": 115, + "line": 219, "column": 33 } } @@ -56559,15 +80732,15 @@ "binop": null, "updateContext": null }, - "start": 5583, - "end": 5584, + "start": 9014, + "end": 9015, "loc": { "start": { - "line": 115, + "line": 219, "column": 33 }, "end": { - "line": 115, + "line": 219, "column": 34 } } @@ -56587,15 +80760,15 @@ "updateContext": null }, "value": "new", - "start": 5585, - "end": 5588, + "start": 9016, + "end": 9019, "loc": { "start": { - "line": 115, + "line": 219, "column": 35 }, "end": { - "line": 115, + "line": 219, "column": 38 } } @@ -56613,15 +80786,15 @@ "binop": null }, "value": "Uint32Array", - "start": 5589, - "end": 5600, + "start": 9020, + "end": 9031, "loc": { "start": { - "line": 115, + "line": 219, "column": 39 }, "end": { - "line": 115, + "line": 219, "column": 50 } } @@ -56638,15 +80811,15 @@ "postfix": false, "binop": null }, - "start": 5600, - "end": 5601, + "start": 9031, + "end": 9032, "loc": { "start": { - "line": 115, + "line": 219, "column": 50 }, "end": { - "line": 115, + "line": 219, "column": 51 } } @@ -56664,15 +80837,15 @@ "binop": null }, "value": "numGeometries", - "start": 5601, - "end": 5614, + "start": 9032, + "end": 9045, "loc": { "start": { - "line": 115, + "line": 219, "column": 51 }, "end": { - "line": 115, + "line": 219, "column": 64 } } @@ -56689,15 +80862,15 @@ "postfix": false, "binop": null }, - "start": 5614, - "end": 5615, + "start": 9045, + "end": 9046, "loc": { "start": { - "line": 115, + "line": 219, "column": 64 }, "end": { - "line": 115, + "line": 219, "column": 65 } } @@ -56715,15 +80888,15 @@ "binop": null, "updateContext": null }, - "start": 5615, - "end": 5616, + "start": 9046, + "end": 9047, "loc": { "start": { - "line": 115, + "line": 219, "column": 65 }, "end": { - "line": 115, + "line": 219, "column": 66 } } @@ -56731,15 +80904,15 @@ { "type": "CommentLine", "value": " For each geometry, an index to its first element in data.colors. If the next geometry has the same index, then this geometry has no colors.", - "start": 5617, - "end": 5759, + "start": 9048, + "end": 9190, "loc": { "start": { - "line": 115, + "line": 219, "column": 67 }, "end": { - "line": 115, + "line": 219, "column": 209 } } @@ -56757,15 +80930,15 @@ "binop": null }, "value": "eachGeometryUVsPortion", - "start": 5768, - "end": 5790, + "start": 9199, + "end": 9221, "loc": { "start": { - "line": 116, + "line": 220, "column": 8 }, "end": { - "line": 116, + "line": 220, "column": 30 } } @@ -56783,15 +80956,15 @@ "binop": null, "updateContext": null }, - "start": 5790, - "end": 5791, + "start": 9221, + "end": 9222, "loc": { "start": { - "line": 116, + "line": 220, "column": 30 }, "end": { - "line": 116, + "line": 220, "column": 31 } } @@ -56811,15 +80984,15 @@ "updateContext": null }, "value": "new", - "start": 5792, - "end": 5795, + "start": 9223, + "end": 9226, "loc": { "start": { - "line": 116, + "line": 220, "column": 32 }, "end": { - "line": 116, + "line": 220, "column": 35 } } @@ -56837,15 +81010,15 @@ "binop": null }, "value": "Uint32Array", - "start": 5796, - "end": 5807, + "start": 9227, + "end": 9238, "loc": { "start": { - "line": 116, + "line": 220, "column": 36 }, "end": { - "line": 116, + "line": 220, "column": 47 } } @@ -56862,15 +81035,15 @@ "postfix": false, "binop": null }, - "start": 5807, - "end": 5808, + "start": 9238, + "end": 9239, "loc": { "start": { - "line": 116, + "line": 220, "column": 47 }, "end": { - "line": 116, + "line": 220, "column": 48 } } @@ -56888,15 +81061,15 @@ "binop": null }, "value": "numGeometries", - "start": 5808, - "end": 5821, + "start": 9239, + "end": 9252, "loc": { "start": { - "line": 116, + "line": 220, "column": 48 }, "end": { - "line": 116, + "line": 220, "column": 61 } } @@ -56913,15 +81086,15 @@ "postfix": false, "binop": null }, - "start": 5821, - "end": 5822, + "start": 9252, + "end": 9253, "loc": { "start": { - "line": 116, + "line": 220, "column": 61 }, "end": { - "line": 116, + "line": 220, "column": 62 } } @@ -56939,15 +81112,15 @@ "binop": null, "updateContext": null }, - "start": 5822, - "end": 5823, + "start": 9253, + "end": 9254, "loc": { "start": { - "line": 116, + "line": 220, "column": 62 }, "end": { - "line": 116, + "line": 220, "column": 63 } } @@ -56955,15 +81128,15 @@ { "type": "CommentLine", "value": " For each geometry, an index to its first element in data.uvs. If the next geometry has the same index, then this geometry has no UVs.", - "start": 5824, - "end": 5960, + "start": 9255, + "end": 9391, "loc": { "start": { - "line": 116, + "line": 220, "column": 64 }, "end": { - "line": 116, + "line": 220, "column": 200 } } @@ -56981,15 +81154,15 @@ "binop": null }, "value": "eachGeometryIndicesPortion", - "start": 5969, - "end": 5995, + "start": 9400, + "end": 9426, "loc": { "start": { - "line": 117, + "line": 221, "column": 8 }, "end": { - "line": 117, + "line": 221, "column": 34 } } @@ -57007,15 +81180,15 @@ "binop": null, "updateContext": null }, - "start": 5995, - "end": 5996, + "start": 9426, + "end": 9427, "loc": { "start": { - "line": 117, + "line": 221, "column": 34 }, "end": { - "line": 117, + "line": 221, "column": 35 } } @@ -57035,15 +81208,15 @@ "updateContext": null }, "value": "new", - "start": 5997, - "end": 6000, + "start": 9428, + "end": 9431, "loc": { "start": { - "line": 117, + "line": 221, "column": 36 }, "end": { - "line": 117, + "line": 221, "column": 39 } } @@ -57061,15 +81234,15 @@ "binop": null }, "value": "Uint32Array", - "start": 6001, - "end": 6012, + "start": 9432, + "end": 9443, "loc": { "start": { - "line": 117, + "line": 221, "column": 40 }, "end": { - "line": 117, + "line": 221, "column": 51 } } @@ -57086,15 +81259,15 @@ "postfix": false, "binop": null }, - "start": 6012, - "end": 6013, + "start": 9443, + "end": 9444, "loc": { "start": { - "line": 117, + "line": 221, "column": 51 }, "end": { - "line": 117, + "line": 221, "column": 52 } } @@ -57112,15 +81285,15 @@ "binop": null }, "value": "numGeometries", - "start": 6013, - "end": 6026, + "start": 9444, + "end": 9457, "loc": { "start": { - "line": 117, + "line": 221, "column": 52 }, "end": { - "line": 117, + "line": 221, "column": 65 } } @@ -57137,15 +81310,15 @@ "postfix": false, "binop": null }, - "start": 6026, - "end": 6027, + "start": 9457, + "end": 9458, "loc": { "start": { - "line": 117, + "line": 221, "column": 65 }, "end": { - "line": 117, + "line": 221, "column": 66 } } @@ -57163,15 +81336,15 @@ "binop": null, "updateContext": null }, - "start": 6027, - "end": 6028, + "start": 9458, + "end": 9459, "loc": { "start": { - "line": 117, + "line": 221, "column": 66 }, "end": { - "line": 117, + "line": 221, "column": 67 } } @@ -57179,15 +81352,15 @@ { "type": "CommentLine", "value": " For each geometry, an index to its first element in data.indices. If the next geometry has the same index, then this geometry has no indices.", - "start": 6029, - "end": 6173, + "start": 9460, + "end": 9604, "loc": { "start": { - "line": 117, + "line": 221, "column": 68 }, "end": { - "line": 117, + "line": 221, "column": 212 } } @@ -57205,15 +81378,15 @@ "binop": null }, "value": "eachGeometryEdgeIndicesPortion", - "start": 6182, - "end": 6212, + "start": 9613, + "end": 9643, "loc": { "start": { - "line": 118, + "line": 222, "column": 8 }, "end": { - "line": 118, + "line": 222, "column": 38 } } @@ -57231,15 +81404,15 @@ "binop": null, "updateContext": null }, - "start": 6212, - "end": 6213, + "start": 9643, + "end": 9644, "loc": { "start": { - "line": 118, + "line": 222, "column": 38 }, "end": { - "line": 118, + "line": 222, "column": 39 } } @@ -57259,15 +81432,15 @@ "updateContext": null }, "value": "new", - "start": 6214, - "end": 6217, + "start": 9645, + "end": 9648, "loc": { "start": { - "line": 118, + "line": 222, "column": 40 }, "end": { - "line": 118, + "line": 222, "column": 43 } } @@ -57285,15 +81458,15 @@ "binop": null }, "value": "Uint32Array", - "start": 6218, - "end": 6229, + "start": 9649, + "end": 9660, "loc": { "start": { - "line": 118, + "line": 222, "column": 44 }, "end": { - "line": 118, + "line": 222, "column": 55 } } @@ -57310,15 +81483,15 @@ "postfix": false, "binop": null }, - "start": 6229, - "end": 6230, + "start": 9660, + "end": 9661, "loc": { "start": { - "line": 118, + "line": 222, "column": 55 }, "end": { - "line": 118, + "line": 222, "column": 56 } } @@ -57336,15 +81509,15 @@ "binop": null }, "value": "numGeometries", - "start": 6230, - "end": 6243, + "start": 9661, + "end": 9674, "loc": { "start": { - "line": 118, + "line": 222, "column": 56 }, "end": { - "line": 118, + "line": 222, "column": 69 } } @@ -57361,15 +81534,15 @@ "postfix": false, "binop": null }, - "start": 6243, - "end": 6244, + "start": 9674, + "end": 9675, "loc": { "start": { - "line": 118, + "line": 222, "column": 69 }, "end": { - "line": 118, + "line": 222, "column": 70 } } @@ -57387,15 +81560,15 @@ "binop": null, "updateContext": null }, - "start": 6244, - "end": 6245, + "start": 9675, + "end": 9676, "loc": { "start": { - "line": 118, + "line": 222, "column": 70 }, "end": { - "line": 118, + "line": 222, "column": 71 } } @@ -57403,15 +81576,15 @@ { "type": "CommentLine", "value": " For each geometry, an index to its first element in data.edgeIndices. If the next geometry has the same index, then this geometry has no edge indices.", - "start": 6246, - "end": 6399, + "start": 9677, + "end": 9830, "loc": { "start": { - "line": 118, + "line": 222, "column": 72 }, "end": { - "line": 118, + "line": 222, "column": 225 } } @@ -57429,15 +81602,15 @@ "binop": null }, "value": "eachMeshGeometriesPortion", - "start": 6408, - "end": 6433, + "start": 9839, + "end": 9864, "loc": { "start": { - "line": 119, + "line": 223, "column": 8 }, "end": { - "line": 119, + "line": 223, "column": 33 } } @@ -57455,15 +81628,15 @@ "binop": null, "updateContext": null }, - "start": 6433, - "end": 6434, + "start": 9864, + "end": 9865, "loc": { "start": { - "line": 119, + "line": 223, "column": 33 }, "end": { - "line": 119, + "line": 223, "column": 34 } } @@ -57483,15 +81656,15 @@ "updateContext": null }, "value": "new", - "start": 6435, - "end": 6438, + "start": 9866, + "end": 9869, "loc": { "start": { - "line": 119, + "line": 223, "column": 35 }, "end": { - "line": 119, + "line": 223, "column": 38 } } @@ -57509,15 +81682,15 @@ "binop": null }, "value": "Uint32Array", - "start": 6439, - "end": 6450, + "start": 9870, + "end": 9881, "loc": { "start": { - "line": 119, + "line": 223, "column": 39 }, "end": { - "line": 119, + "line": 223, "column": 50 } } @@ -57534,15 +81707,15 @@ "postfix": false, "binop": null }, - "start": 6450, - "end": 6451, + "start": 9881, + "end": 9882, "loc": { "start": { - "line": 119, + "line": 223, "column": 50 }, "end": { - "line": 119, + "line": 223, "column": 51 } } @@ -57560,15 +81733,15 @@ "binop": null }, "value": "numMeshes", - "start": 6451, - "end": 6460, + "start": 9882, + "end": 9891, "loc": { "start": { - "line": 119, + "line": 223, "column": 51 }, "end": { - "line": 119, + "line": 223, "column": 60 } } @@ -57585,15 +81758,15 @@ "postfix": false, "binop": null }, - "start": 6460, - "end": 6461, + "start": 9891, + "end": 9892, "loc": { "start": { - "line": 119, + "line": 223, "column": 60 }, "end": { - "line": 119, + "line": 223, "column": 61 } } @@ -57611,15 +81784,15 @@ "binop": null, "updateContext": null }, - "start": 6461, - "end": 6462, + "start": 9892, + "end": 9893, "loc": { "start": { - "line": 119, + "line": 223, "column": 61 }, "end": { - "line": 119, + "line": 223, "column": 62 } } @@ -57627,15 +81800,15 @@ { "type": "CommentLine", "value": " For each mesh, an index into the eachGeometry* arrays", - "start": 6463, - "end": 6519, + "start": 9894, + "end": 9950, "loc": { "start": { - "line": 119, + "line": 223, "column": 63 }, "end": { - "line": 119, + "line": 223, "column": 119 } } @@ -57653,15 +81826,15 @@ "binop": null }, "value": "eachMeshMatricesPortion", - "start": 6528, - "end": 6551, + "start": 9959, + "end": 9982, "loc": { "start": { - "line": 120, + "line": 224, "column": 8 }, "end": { - "line": 120, + "line": 224, "column": 31 } } @@ -57679,15 +81852,15 @@ "binop": null, "updateContext": null }, - "start": 6551, - "end": 6552, + "start": 9982, + "end": 9983, "loc": { "start": { - "line": 120, + "line": 224, "column": 31 }, "end": { - "line": 120, + "line": 224, "column": 32 } } @@ -57707,15 +81880,15 @@ "updateContext": null }, "value": "new", - "start": 6553, - "end": 6556, + "start": 9984, + "end": 9987, "loc": { "start": { - "line": 120, + "line": 224, "column": 33 }, "end": { - "line": 120, + "line": 224, "column": 36 } } @@ -57733,15 +81906,15 @@ "binop": null }, "value": "Uint32Array", - "start": 6557, - "end": 6568, + "start": 9988, + "end": 9999, "loc": { "start": { - "line": 120, + "line": 224, "column": 37 }, "end": { - "line": 120, + "line": 224, "column": 48 } } @@ -57758,15 +81931,15 @@ "postfix": false, "binop": null }, - "start": 6568, - "end": 6569, + "start": 9999, + "end": 10000, "loc": { "start": { - "line": 120, + "line": 224, "column": 48 }, "end": { - "line": 120, + "line": 224, "column": 49 } } @@ -57784,15 +81957,15 @@ "binop": null }, "value": "numMeshes", - "start": 6569, - "end": 6578, + "start": 10000, + "end": 10009, "loc": { "start": { - "line": 120, + "line": 224, "column": 49 }, "end": { - "line": 120, + "line": 224, "column": 58 } } @@ -57809,15 +81982,15 @@ "postfix": false, "binop": null }, - "start": 6578, - "end": 6579, + "start": 10009, + "end": 10010, "loc": { "start": { - "line": 120, + "line": 224, "column": 58 }, "end": { - "line": 120, + "line": 224, "column": 59 } } @@ -57835,15 +82008,15 @@ "binop": null, "updateContext": null }, - "start": 6579, - "end": 6580, + "start": 10010, + "end": 10011, "loc": { "start": { - "line": 120, + "line": 224, "column": 59 }, "end": { - "line": 120, + "line": 224, "column": 60 } } @@ -57851,15 +82024,15 @@ { "type": "CommentLine", "value": " For each mesh that shares its geometry, an index to its first element in data.matrices, to indicate the modeling matrix that transforms the shared geometry Local-space vertex positions. This is ignored for meshes that don't share geometries, because the vertex positions of non-shared geometries are pre-transformed into World-space.", - "start": 6581, - "end": 6917, + "start": 10012, + "end": 10348, "loc": { "start": { - "line": 120, + "line": 224, "column": 61 }, "end": { - "line": 120, + "line": 224, "column": 397 } } @@ -57877,15 +82050,15 @@ "binop": null }, "value": "eachMeshTextureSet", - "start": 6926, - "end": 6944, + "start": 10357, + "end": 10375, "loc": { "start": { - "line": 121, + "line": 225, "column": 8 }, "end": { - "line": 121, + "line": 225, "column": 26 } } @@ -57903,15 +82076,15 @@ "binop": null, "updateContext": null }, - "start": 6944, - "end": 6945, + "start": 10375, + "end": 10376, "loc": { "start": { - "line": 121, + "line": 225, "column": 26 }, "end": { - "line": 121, + "line": 225, "column": 27 } } @@ -57931,15 +82104,15 @@ "updateContext": null }, "value": "new", - "start": 6946, - "end": 6949, + "start": 10377, + "end": 10380, "loc": { "start": { - "line": 121, + "line": 225, "column": 28 }, "end": { - "line": 121, + "line": 225, "column": 31 } } @@ -57957,15 +82130,15 @@ "binop": null }, "value": "Int32Array", - "start": 6950, - "end": 6960, + "start": 10381, + "end": 10391, "loc": { "start": { - "line": 121, + "line": 225, "column": 32 }, "end": { - "line": 121, + "line": 225, "column": 42 } } @@ -57982,15 +82155,15 @@ "postfix": false, "binop": null }, - "start": 6960, - "end": 6961, + "start": 10391, + "end": 10392, "loc": { "start": { - "line": 121, + "line": 225, "column": 42 }, "end": { - "line": 121, + "line": 225, "column": 43 } } @@ -58008,15 +82181,15 @@ "binop": null }, "value": "numMeshes", - "start": 6961, - "end": 6970, + "start": 10392, + "end": 10401, "loc": { "start": { - "line": 121, + "line": 225, "column": 43 }, "end": { - "line": 121, + "line": 225, "column": 52 } } @@ -58033,15 +82206,15 @@ "postfix": false, "binop": null }, - "start": 6970, - "end": 6971, + "start": 10401, + "end": 10402, "loc": { "start": { - "line": 121, + "line": 225, "column": 52 }, "end": { - "line": 121, + "line": 225, "column": 53 } } @@ -58059,15 +82232,15 @@ "binop": null, "updateContext": null }, - "start": 6971, - "end": 6972, + "start": 10402, + "end": 10403, "loc": { "start": { - "line": 121, + "line": 225, "column": 53 }, "end": { - "line": 121, + "line": 225, "column": 54 } } @@ -58075,15 +82248,15 @@ { "type": "CommentLine", "value": " For each mesh, the index of its texture set in data.eachTextureSetTextures; this array contains signed integers so that we can use -1 to indicate when a mesh has no texture set", - "start": 6973, - "end": 7152, + "start": 10404, + "end": 10583, "loc": { "start": { - "line": 121, + "line": 225, "column": 55 }, "end": { - "line": 121, + "line": 225, "column": 234 } } @@ -58101,15 +82274,15 @@ "binop": null }, "value": "eachMeshMaterialAttributes", - "start": 7161, - "end": 7187, + "start": 10592, + "end": 10618, "loc": { "start": { - "line": 122, + "line": 226, "column": 8 }, "end": { - "line": 122, + "line": 226, "column": 34 } } @@ -58127,15 +82300,15 @@ "binop": null, "updateContext": null }, - "start": 7187, - "end": 7188, + "start": 10618, + "end": 10619, "loc": { "start": { - "line": 122, + "line": 226, "column": 34 }, "end": { - "line": 122, + "line": 226, "column": 35 } } @@ -58155,15 +82328,15 @@ "updateContext": null }, "value": "new", - "start": 7189, - "end": 7192, + "start": 10620, + "end": 10623, "loc": { "start": { - "line": 122, + "line": 226, "column": 36 }, "end": { - "line": 122, + "line": 226, "column": 39 } } @@ -58181,15 +82354,15 @@ "binop": null }, "value": "Uint8Array", - "start": 7193, - "end": 7203, + "start": 10624, + "end": 10634, "loc": { "start": { - "line": 122, + "line": 226, "column": 40 }, "end": { - "line": 122, + "line": 226, "column": 50 } } @@ -58206,15 +82379,15 @@ "postfix": false, "binop": null }, - "start": 7203, - "end": 7204, + "start": 10634, + "end": 10635, "loc": { "start": { - "line": 122, + "line": 226, "column": 50 }, "end": { - "line": 122, + "line": 226, "column": 51 } } @@ -58232,15 +82405,15 @@ "binop": null }, "value": "numMeshes", - "start": 7204, - "end": 7213, + "start": 10635, + "end": 10644, "loc": { "start": { - "line": 122, + "line": 226, "column": 51 }, "end": { - "line": 122, + "line": 226, "column": 60 } } @@ -58259,15 +82432,15 @@ "updateContext": null }, "value": "*", - "start": 7214, - "end": 7215, + "start": 10645, + "end": 10646, "loc": { "start": { - "line": 122, + "line": 226, "column": 61 }, "end": { - "line": 122, + "line": 226, "column": 62 } } @@ -58285,15 +82458,15 @@ "binop": null }, "value": "NUM_MATERIAL_ATTRIBUTES", - "start": 7216, - "end": 7239, + "start": 10647, + "end": 10670, "loc": { "start": { - "line": 122, + "line": 226, "column": 63 }, "end": { - "line": 122, + "line": 226, "column": 86 } } @@ -58310,15 +82483,15 @@ "postfix": false, "binop": null }, - "start": 7239, - "end": 7240, + "start": 10670, + "end": 10671, "loc": { "start": { - "line": 122, + "line": 226, "column": 86 }, "end": { - "line": 122, + "line": 226, "column": 87 } } @@ -58336,15 +82509,15 @@ "binop": null, "updateContext": null }, - "start": 7240, - "end": 7241, + "start": 10671, + "end": 10672, "loc": { "start": { - "line": 122, + "line": 226, "column": 87 }, "end": { - "line": 122, + "line": 226, "column": 88 } } @@ -58352,15 +82525,15 @@ { "type": "CommentLine", "value": " For each mesh, an RGBA integer color of format [0..255, 0..255, 0..255, 0..255], and PBR metallic and roughness factors, of format [0..255, 0..255]", - "start": 7242, - "end": 7392, + "start": 10673, + "end": 10823, "loc": { "start": { - "line": 122, + "line": 226, "column": 89 }, "end": { - "line": 122, + "line": 226, "column": 239 } } @@ -58378,15 +82551,15 @@ "binop": null }, "value": "eachEntityId", - "start": 7401, - "end": 7413, + "start": 10832, + "end": 10844, "loc": { "start": { - "line": 123, + "line": 227, "column": 8 }, "end": { - "line": 123, + "line": 227, "column": 20 } } @@ -58404,15 +82577,15 @@ "binop": null, "updateContext": null }, - "start": 7413, - "end": 7414, + "start": 10844, + "end": 10845, "loc": { "start": { - "line": 123, + "line": 227, "column": 20 }, "end": { - "line": 123, + "line": 227, "column": 21 } } @@ -58430,15 +82603,15 @@ "binop": null, "updateContext": null }, - "start": 7415, - "end": 7416, + "start": 10846, + "end": 10847, "loc": { "start": { - "line": 123, + "line": 227, "column": 22 }, "end": { - "line": 123, + "line": 227, "column": 23 } } @@ -58456,15 +82629,15 @@ "binop": null, "updateContext": null }, - "start": 7416, - "end": 7417, + "start": 10847, + "end": 10848, "loc": { "start": { - "line": 123, + "line": 227, "column": 23 }, "end": { - "line": 123, + "line": 227, "column": 24 } } @@ -58482,15 +82655,15 @@ "binop": null, "updateContext": null }, - "start": 7417, - "end": 7418, + "start": 10848, + "end": 10849, "loc": { "start": { - "line": 123, + "line": 227, "column": 24 }, "end": { - "line": 123, + "line": 227, "column": 25 } } @@ -58498,15 +82671,15 @@ { "type": "CommentLine", "value": " For each entity, an ID string", - "start": 7419, - "end": 7451, + "start": 10850, + "end": 10882, "loc": { "start": { - "line": 123, + "line": 227, "column": 26 }, "end": { - "line": 123, + "line": 227, "column": 58 } } @@ -58524,15 +82697,15 @@ "binop": null }, "value": "eachEntityMeshesPortion", - "start": 7460, - "end": 7483, + "start": 10891, + "end": 10914, "loc": { "start": { - "line": 124, + "line": 228, "column": 8 }, "end": { - "line": 124, + "line": 228, "column": 31 } } @@ -58550,15 +82723,15 @@ "binop": null, "updateContext": null }, - "start": 7483, - "end": 7484, + "start": 10914, + "end": 10915, "loc": { "start": { - "line": 124, + "line": 228, "column": 31 }, "end": { - "line": 124, + "line": 228, "column": 32 } } @@ -58578,15 +82751,15 @@ "updateContext": null }, "value": "new", - "start": 7485, - "end": 7488, + "start": 10916, + "end": 10919, "loc": { "start": { - "line": 124, + "line": 228, "column": 33 }, "end": { - "line": 124, + "line": 228, "column": 36 } } @@ -58604,15 +82777,15 @@ "binop": null }, "value": "Uint32Array", - "start": 7489, - "end": 7500, + "start": 10920, + "end": 10931, "loc": { "start": { - "line": 124, + "line": 228, "column": 37 }, "end": { - "line": 124, + "line": 228, "column": 48 } } @@ -58629,15 +82802,15 @@ "postfix": false, "binop": null }, - "start": 7500, - "end": 7501, + "start": 10931, + "end": 10932, "loc": { "start": { - "line": 124, + "line": 228, "column": 48 }, "end": { - "line": 124, + "line": 228, "column": 49 } } @@ -58655,15 +82828,15 @@ "binop": null }, "value": "numEntities", - "start": 7501, - "end": 7512, + "start": 10932, + "end": 10943, "loc": { "start": { - "line": 124, + "line": 228, "column": 49 }, "end": { - "line": 124, + "line": 228, "column": 60 } } @@ -58680,15 +82853,15 @@ "postfix": false, "binop": null }, - "start": 7512, - "end": 7513, + "start": 10943, + "end": 10944, "loc": { "start": { - "line": 124, + "line": 228, "column": 60 }, "end": { - "line": 124, + "line": 228, "column": 61 } } @@ -58706,15 +82879,15 @@ "binop": null, "updateContext": null }, - "start": 7513, - "end": 7514, + "start": 10944, + "end": 10945, "loc": { "start": { - "line": 124, + "line": 228, "column": 61 }, "end": { - "line": 124, + "line": 228, "column": 62 } } @@ -58722,15 +82895,15 @@ { "type": "CommentLine", "value": " For each entity, the index of the first element of meshes used by the entity", - "start": 7515, - "end": 7594, + "start": 10946, + "end": 11025, "loc": { "start": { - "line": 124, + "line": 228, "column": 63 }, "end": { - "line": 124, + "line": 228, "column": 142 } } @@ -58748,15 +82921,15 @@ "binop": null }, "value": "eachTileAABB", - "start": 7603, - "end": 7615, + "start": 11034, + "end": 11046, "loc": { "start": { - "line": 125, + "line": 229, "column": 8 }, "end": { - "line": 125, + "line": 229, "column": 20 } } @@ -58774,15 +82947,15 @@ "binop": null, "updateContext": null }, - "start": 7615, - "end": 7616, + "start": 11046, + "end": 11047, "loc": { "start": { - "line": 125, + "line": 229, "column": 20 }, "end": { - "line": 125, + "line": 229, "column": 21 } } @@ -58802,15 +82975,15 @@ "updateContext": null }, "value": "new", - "start": 7617, - "end": 7620, + "start": 11048, + "end": 11051, "loc": { "start": { - "line": 125, + "line": 229, "column": 22 }, "end": { - "line": 125, + "line": 229, "column": 25 } } @@ -58828,15 +83001,15 @@ "binop": null }, "value": "Float64Array", - "start": 7621, - "end": 7633, + "start": 11052, + "end": 11064, "loc": { "start": { - "line": 125, + "line": 229, "column": 26 }, "end": { - "line": 125, + "line": 229, "column": 38 } } @@ -58853,15 +83026,15 @@ "postfix": false, "binop": null }, - "start": 7633, - "end": 7634, + "start": 11064, + "end": 11065, "loc": { "start": { - "line": 125, + "line": 229, "column": 38 }, "end": { - "line": 125, + "line": 229, "column": 39 } } @@ -58879,15 +83052,15 @@ "binop": null }, "value": "numTiles", - "start": 7634, - "end": 7642, + "start": 11065, + "end": 11073, "loc": { "start": { - "line": 125, + "line": 229, "column": 39 }, "end": { - "line": 125, + "line": 229, "column": 47 } } @@ -58906,15 +83079,15 @@ "updateContext": null }, "value": "*", - "start": 7643, - "end": 7644, + "start": 11074, + "end": 11075, "loc": { "start": { - "line": 125, + "line": 229, "column": 48 }, "end": { - "line": 125, + "line": 229, "column": 49 } } @@ -58933,15 +83106,15 @@ "updateContext": null }, "value": 6, - "start": 7645, - "end": 7646, + "start": 11076, + "end": 11077, "loc": { "start": { - "line": 125, + "line": 229, "column": 50 }, "end": { - "line": 125, + "line": 229, "column": 51 } } @@ -58958,15 +83131,15 @@ "postfix": false, "binop": null }, - "start": 7646, - "end": 7647, + "start": 11077, + "end": 11078, "loc": { "start": { - "line": 125, + "line": 229, "column": 51 }, "end": { - "line": 125, + "line": 229, "column": 52 } } @@ -58984,15 +83157,15 @@ "binop": null, "updateContext": null }, - "start": 7647, - "end": 7648, + "start": 11078, + "end": 11079, "loc": { "start": { - "line": 125, + "line": 229, "column": 52 }, "end": { - "line": 125, + "line": 229, "column": 53 } } @@ -59000,15 +83173,15 @@ { "type": "CommentLine", "value": " For each tile, an axis-aligned bounding box", - "start": 7649, - "end": 7695, + "start": 11080, + "end": 11126, "loc": { "start": { - "line": 125, + "line": 229, "column": 54 }, "end": { - "line": 125, + "line": 229, "column": 100 } } @@ -59026,15 +83199,15 @@ "binop": null }, "value": "eachTileEntitiesPortion", - "start": 7704, - "end": 7727, + "start": 11135, + "end": 11158, "loc": { "start": { - "line": 126, + "line": 230, "column": 8 }, "end": { - "line": 126, + "line": 230, "column": 31 } } @@ -59052,15 +83225,15 @@ "binop": null, "updateContext": null }, - "start": 7727, - "end": 7728, + "start": 11158, + "end": 11159, "loc": { "start": { - "line": 126, + "line": 230, "column": 31 }, "end": { - "line": 126, + "line": 230, "column": 32 } } @@ -59080,15 +83253,15 @@ "updateContext": null }, "value": "new", - "start": 7729, - "end": 7732, + "start": 11160, + "end": 11163, "loc": { "start": { - "line": 126, + "line": 230, "column": 33 }, "end": { - "line": 126, + "line": 230, "column": 36 } } @@ -59106,15 +83279,15 @@ "binop": null }, "value": "Uint32Array", - "start": 7733, - "end": 7744, + "start": 11164, + "end": 11175, "loc": { "start": { - "line": 126, + "line": 230, "column": 37 }, "end": { - "line": 126, + "line": 230, "column": 48 } } @@ -59131,15 +83304,15 @@ "postfix": false, "binop": null }, - "start": 7744, - "end": 7745, + "start": 11175, + "end": 11176, "loc": { "start": { - "line": 126, + "line": 230, "column": 48 }, "end": { - "line": 126, + "line": 230, "column": 49 } } @@ -59157,15 +83330,15 @@ "binop": null }, "value": "numTiles", - "start": 7745, - "end": 7753, + "start": 11176, + "end": 11184, "loc": { "start": { - "line": 126, + "line": 230, "column": 49 }, "end": { - "line": 126, + "line": 230, "column": 57 } } @@ -59182,15 +83355,15 @@ "postfix": false, "binop": null }, - "start": 7753, - "end": 7754, + "start": 11184, + "end": 11185, "loc": { "start": { - "line": 126, + "line": 230, "column": 57 }, "end": { - "line": 126, + "line": 230, "column": 58 } } @@ -59198,15 +83371,15 @@ { "type": "CommentLine", "value": " For each tile, the index of the first element of eachEntityId, eachEntityMeshesPortion and eachEntityMatricesPortion used by the tile", - "start": 7755, - "end": 7891, + "start": 11186, + "end": 11322, "loc": { "start": { - "line": 126, + "line": 230, "column": 59 }, "end": { - "line": 126, + "line": 230, "column": 195 } } @@ -59223,15 +83396,15 @@ "postfix": false, "binop": null }, - "start": 7896, - "end": 7897, + "start": 11327, + "end": 11328, "loc": { "start": { - "line": 127, + "line": 231, "column": 4 }, "end": { - "line": 127, + "line": 231, "column": 5 } } @@ -59249,15 +83422,15 @@ "binop": null, "updateContext": null }, - "start": 7897, - "end": 7898, + "start": 11328, + "end": 11329, "loc": { "start": { - "line": 127, + "line": 231, "column": 5 }, "end": { - "line": 127, + "line": 231, "column": 6 } } @@ -59277,15 +83450,15 @@ "updateContext": null }, "value": "let", - "start": 7904, - "end": 7907, + "start": 11335, + "end": 11338, "loc": { "start": { - "line": 129, + "line": 233, "column": 4 }, "end": { - "line": 129, + "line": 233, "column": 7 } } @@ -59303,15 +83476,15 @@ "binop": null }, "value": "countPositions", - "start": 7908, - "end": 7922, + "start": 11339, + "end": 11353, "loc": { "start": { - "line": 129, + "line": 233, "column": 8 }, "end": { - "line": 129, + "line": 233, "column": 22 } } @@ -59330,15 +83503,15 @@ "updateContext": null }, "value": "=", - "start": 7923, - "end": 7924, + "start": 11354, + "end": 11355, "loc": { "start": { - "line": 129, + "line": 233, "column": 23 }, "end": { - "line": 129, + "line": 233, "column": 24 } } @@ -59357,15 +83530,15 @@ "updateContext": null }, "value": 0, - "start": 7925, - "end": 7926, + "start": 11356, + "end": 11357, "loc": { "start": { - "line": 129, + "line": 233, "column": 25 }, "end": { - "line": 129, + "line": 233, "column": 26 } } @@ -59383,15 +83556,15 @@ "binop": null, "updateContext": null }, - "start": 7926, - "end": 7927, + "start": 11357, + "end": 11358, "loc": { "start": { - "line": 129, + "line": 233, "column": 26 }, "end": { - "line": 129, + "line": 233, "column": 27 } } @@ -59411,15 +83584,15 @@ "updateContext": null }, "value": "let", - "start": 7932, - "end": 7935, + "start": 11363, + "end": 11366, "loc": { "start": { - "line": 130, + "line": 234, "column": 4 }, "end": { - "line": 130, + "line": 234, "column": 7 } } @@ -59437,15 +83610,15 @@ "binop": null }, "value": "countNormals", - "start": 7936, - "end": 7948, + "start": 11367, + "end": 11379, "loc": { "start": { - "line": 130, + "line": 234, "column": 8 }, "end": { - "line": 130, + "line": 234, "column": 20 } } @@ -59464,15 +83637,15 @@ "updateContext": null }, "value": "=", - "start": 7949, - "end": 7950, + "start": 11380, + "end": 11381, "loc": { "start": { - "line": 130, + "line": 234, "column": 21 }, "end": { - "line": 130, + "line": 234, "column": 22 } } @@ -59491,15 +83664,15 @@ "updateContext": null }, "value": 0, - "start": 7951, - "end": 7952, + "start": 11382, + "end": 11383, "loc": { "start": { - "line": 130, + "line": 234, "column": 23 }, "end": { - "line": 130, + "line": 234, "column": 24 } } @@ -59517,15 +83690,15 @@ "binop": null, "updateContext": null }, - "start": 7952, - "end": 7953, + "start": 11383, + "end": 11384, "loc": { "start": { - "line": 130, + "line": 234, "column": 24 }, "end": { - "line": 130, + "line": 234, "column": 25 } } @@ -59545,15 +83718,15 @@ "updateContext": null }, "value": "let", - "start": 7958, - "end": 7961, + "start": 11389, + "end": 11392, "loc": { "start": { - "line": 131, + "line": 235, "column": 4 }, "end": { - "line": 131, + "line": 235, "column": 7 } } @@ -59571,15 +83744,15 @@ "binop": null }, "value": "countColors", - "start": 7962, - "end": 7973, + "start": 11393, + "end": 11404, "loc": { "start": { - "line": 131, + "line": 235, "column": 8 }, "end": { - "line": 131, + "line": 235, "column": 19 } } @@ -59598,15 +83771,15 @@ "updateContext": null }, "value": "=", - "start": 7974, - "end": 7975, + "start": 11405, + "end": 11406, "loc": { "start": { - "line": 131, + "line": 235, "column": 20 }, "end": { - "line": 131, + "line": 235, "column": 21 } } @@ -59625,15 +83798,15 @@ "updateContext": null }, "value": 0, - "start": 7976, - "end": 7977, + "start": 11407, + "end": 11408, "loc": { "start": { - "line": 131, + "line": 235, "column": 22 }, "end": { - "line": 131, + "line": 235, "column": 23 } } @@ -59651,15 +83824,15 @@ "binop": null, "updateContext": null }, - "start": 7977, - "end": 7978, + "start": 11408, + "end": 11409, "loc": { "start": { - "line": 131, + "line": 235, "column": 23 }, "end": { - "line": 131, + "line": 235, "column": 24 } } @@ -59679,15 +83852,15 @@ "updateContext": null }, "value": "let", - "start": 7983, - "end": 7986, + "start": 11414, + "end": 11417, "loc": { "start": { - "line": 132, + "line": 236, "column": 4 }, "end": { - "line": 132, + "line": 236, "column": 7 } } @@ -59705,15 +83878,15 @@ "binop": null }, "value": "countUVs", - "start": 7987, - "end": 7995, + "start": 11418, + "end": 11426, "loc": { "start": { - "line": 132, + "line": 236, "column": 8 }, "end": { - "line": 132, + "line": 236, "column": 16 } } @@ -59732,15 +83905,15 @@ "updateContext": null }, "value": "=", - "start": 7996, - "end": 7997, + "start": 11427, + "end": 11428, "loc": { "start": { - "line": 132, + "line": 236, "column": 17 }, "end": { - "line": 132, + "line": 236, "column": 18 } } @@ -59759,15 +83932,15 @@ "updateContext": null }, "value": 0, - "start": 7998, - "end": 7999, + "start": 11429, + "end": 11430, "loc": { "start": { - "line": 132, + "line": 236, "column": 19 }, "end": { - "line": 132, + "line": 236, "column": 20 } } @@ -59785,15 +83958,15 @@ "binop": null, "updateContext": null }, - "start": 7999, - "end": 8000, + "start": 11430, + "end": 11431, "loc": { "start": { - "line": 132, + "line": 236, "column": 20 }, "end": { - "line": 132, + "line": 236, "column": 21 } } @@ -59813,15 +83986,15 @@ "updateContext": null }, "value": "let", - "start": 8005, - "end": 8008, + "start": 11436, + "end": 11439, "loc": { "start": { - "line": 133, + "line": 237, "column": 4 }, "end": { - "line": 133, + "line": 237, "column": 7 } } @@ -59839,15 +84012,15 @@ "binop": null }, "value": "countIndices", - "start": 8009, - "end": 8021, + "start": 11440, + "end": 11452, "loc": { "start": { - "line": 133, + "line": 237, "column": 8 }, "end": { - "line": 133, + "line": 237, "column": 20 } } @@ -59866,15 +84039,15 @@ "updateContext": null }, "value": "=", - "start": 8022, - "end": 8023, + "start": 11453, + "end": 11454, "loc": { "start": { - "line": 133, + "line": 237, "column": 21 }, "end": { - "line": 133, + "line": 237, "column": 22 } } @@ -59893,15 +84066,15 @@ "updateContext": null }, "value": 0, - "start": 8024, - "end": 8025, + "start": 11455, + "end": 11456, "loc": { "start": { - "line": 133, + "line": 237, "column": 23 }, "end": { - "line": 133, + "line": 237, "column": 24 } } @@ -59919,15 +84092,15 @@ "binop": null, "updateContext": null }, - "start": 8025, - "end": 8026, + "start": 11456, + "end": 11457, "loc": { "start": { - "line": 133, + "line": 237, "column": 24 }, "end": { - "line": 133, + "line": 237, "column": 25 } } @@ -59947,15 +84120,15 @@ "updateContext": null }, "value": "let", - "start": 8031, - "end": 8034, + "start": 11462, + "end": 11465, "loc": { "start": { - "line": 134, + "line": 238, "column": 4 }, "end": { - "line": 134, + "line": 238, "column": 7 } } @@ -59973,15 +84146,15 @@ "binop": null }, "value": "countEdgeIndices", - "start": 8035, - "end": 8051, + "start": 11466, + "end": 11482, "loc": { "start": { - "line": 134, + "line": 238, "column": 8 }, "end": { - "line": 134, + "line": 238, "column": 24 } } @@ -60000,15 +84173,15 @@ "updateContext": null }, "value": "=", - "start": 8052, - "end": 8053, + "start": 11483, + "end": 11484, "loc": { "start": { - "line": 134, + "line": 238, "column": 25 }, "end": { - "line": 134, + "line": 238, "column": 26 } } @@ -60027,15 +84200,15 @@ "updateContext": null }, "value": 0, - "start": 8054, - "end": 8055, + "start": 11485, + "end": 11486, "loc": { "start": { - "line": 134, + "line": 238, "column": 27 }, "end": { - "line": 134, + "line": 238, "column": 28 } } @@ -60053,15 +84226,15 @@ "binop": null, "updateContext": null }, - "start": 8055, - "end": 8056, + "start": 11486, + "end": 11487, "loc": { "start": { - "line": 134, + "line": 238, "column": 28 }, "end": { - "line": 134, + "line": 238, "column": 29 } } @@ -60069,15 +84242,15 @@ { "type": "CommentLine", "value": " Metadata", - "start": 8062, - "end": 8073, + "start": 11493, + "end": 11504, "loc": { "start": { - "line": 136, + "line": 240, "column": 4 }, "end": { - "line": 136, + "line": 240, "column": 15 } } @@ -60095,15 +84268,15 @@ "binop": null }, "value": "data", - "start": 8079, - "end": 8083, + "start": 11510, + "end": 11514, "loc": { "start": { - "line": 138, + "line": 242, "column": 4 }, "end": { - "line": 138, + "line": 242, "column": 8 } } @@ -60121,15 +84294,15 @@ "binop": null, "updateContext": null }, - "start": 8083, - "end": 8084, + "start": 11514, + "end": 11515, "loc": { "start": { - "line": 138, + "line": 242, "column": 8 }, "end": { - "line": 138, + "line": 242, "column": 9 } } @@ -60147,15 +84320,15 @@ "binop": null }, "value": "metadata", - "start": 8084, - "end": 8092, + "start": 11515, + "end": 11523, "loc": { "start": { - "line": 138, + "line": 242, "column": 9 }, "end": { - "line": 138, + "line": 242, "column": 17 } } @@ -60174,15 +84347,15 @@ "updateContext": null }, "value": "=", - "start": 8093, - "end": 8094, + "start": 11524, + "end": 11525, "loc": { "start": { - "line": 138, + "line": 242, "column": 18 }, "end": { - "line": 138, + "line": 242, "column": 19 } } @@ -60199,15 +84372,15 @@ "postfix": false, "binop": null }, - "start": 8095, - "end": 8096, + "start": 11526, + "end": 11527, "loc": { "start": { - "line": 138, + "line": 242, "column": 20 }, "end": { - "line": 138, + "line": 242, "column": 21 } } @@ -60225,15 +84398,15 @@ "binop": null }, "value": "id", - "start": 8105, - "end": 8107, + "start": 11536, + "end": 11538, "loc": { "start": { - "line": 139, + "line": 243, "column": 8 }, "end": { - "line": 139, + "line": 243, "column": 10 } } @@ -60251,15 +84424,15 @@ "binop": null, "updateContext": null }, - "start": 8107, - "end": 8108, + "start": 11538, + "end": 11539, "loc": { "start": { - "line": 139, + "line": 243, "column": 10 }, "end": { - "line": 139, + "line": 243, "column": 11 } } @@ -60277,15 +84450,15 @@ "binop": null }, "value": "xktModel", - "start": 8109, - "end": 8117, + "start": 11540, + "end": 11548, "loc": { "start": { - "line": 139, + "line": 243, "column": 12 }, "end": { - "line": 139, + "line": 243, "column": 20 } } @@ -60303,15 +84476,15 @@ "binop": null, "updateContext": null }, - "start": 8117, - "end": 8118, + "start": 11548, + "end": 11549, "loc": { "start": { - "line": 139, + "line": 243, "column": 20 }, "end": { - "line": 139, + "line": 243, "column": 21 } } @@ -60329,15 +84502,15 @@ "binop": null }, "value": "modelId", - "start": 8118, - "end": 8125, + "start": 11549, + "end": 11556, "loc": { "start": { - "line": 139, + "line": 243, "column": 21 }, "end": { - "line": 139, + "line": 243, "column": 28 } } @@ -60355,15 +84528,15 @@ "binop": null, "updateContext": null }, - "start": 8125, - "end": 8126, + "start": 11556, + "end": 11557, "loc": { "start": { - "line": 139, + "line": 243, "column": 28 }, "end": { - "line": 139, + "line": 243, "column": 29 } } @@ -60381,15 +84554,15 @@ "binop": null }, "value": "projectId", - "start": 8135, - "end": 8144, + "start": 11566, + "end": 11575, "loc": { "start": { - "line": 140, + "line": 244, "column": 8 }, "end": { - "line": 140, + "line": 244, "column": 17 } } @@ -60407,15 +84580,15 @@ "binop": null, "updateContext": null }, - "start": 8144, - "end": 8145, + "start": 11575, + "end": 11576, "loc": { "start": { - "line": 140, + "line": 244, "column": 17 }, "end": { - "line": 140, + "line": 244, "column": 18 } } @@ -60433,15 +84606,15 @@ "binop": null }, "value": "xktModel", - "start": 8146, - "end": 8154, + "start": 11577, + "end": 11585, "loc": { "start": { - "line": 140, + "line": 244, "column": 19 }, "end": { - "line": 140, + "line": 244, "column": 27 } } @@ -60459,15 +84632,15 @@ "binop": null, "updateContext": null }, - "start": 8154, - "end": 8155, + "start": 11585, + "end": 11586, "loc": { "start": { - "line": 140, + "line": 244, "column": 27 }, "end": { - "line": 140, + "line": 244, "column": 28 } } @@ -60485,15 +84658,15 @@ "binop": null }, "value": "projectId", - "start": 8155, - "end": 8164, + "start": 11586, + "end": 11595, "loc": { "start": { - "line": 140, + "line": 244, "column": 28 }, "end": { - "line": 140, + "line": 244, "column": 37 } } @@ -60511,15 +84684,15 @@ "binop": null, "updateContext": null }, - "start": 8164, - "end": 8165, + "start": 11595, + "end": 11596, "loc": { "start": { - "line": 140, + "line": 244, "column": 37 }, "end": { - "line": 140, + "line": 244, "column": 38 } } @@ -60537,15 +84710,15 @@ "binop": null }, "value": "revisionId", - "start": 8174, - "end": 8184, + "start": 11605, + "end": 11615, "loc": { "start": { - "line": 141, + "line": 245, "column": 8 }, "end": { - "line": 141, + "line": 245, "column": 18 } } @@ -60563,15 +84736,15 @@ "binop": null, "updateContext": null }, - "start": 8184, - "end": 8185, + "start": 11615, + "end": 11616, "loc": { "start": { - "line": 141, + "line": 245, "column": 18 }, "end": { - "line": 141, + "line": 245, "column": 19 } } @@ -60589,15 +84762,15 @@ "binop": null }, "value": "xktModel", - "start": 8186, - "end": 8194, + "start": 11617, + "end": 11625, "loc": { "start": { - "line": 141, + "line": 245, "column": 20 }, "end": { - "line": 141, + "line": 245, "column": 28 } } @@ -60615,15 +84788,15 @@ "binop": null, "updateContext": null }, - "start": 8194, - "end": 8195, + "start": 11625, + "end": 11626, "loc": { "start": { - "line": 141, + "line": 245, "column": 28 }, "end": { - "line": 141, + "line": 245, "column": 29 } } @@ -60641,15 +84814,15 @@ "binop": null }, "value": "revisionId", - "start": 8195, - "end": 8205, + "start": 11626, + "end": 11636, "loc": { "start": { - "line": 141, + "line": 245, "column": 29 }, "end": { - "line": 141, + "line": 245, "column": 39 } } @@ -60667,15 +84840,15 @@ "binop": null, "updateContext": null }, - "start": 8205, - "end": 8206, + "start": 11636, + "end": 11637, "loc": { "start": { - "line": 141, + "line": 245, "column": 39 }, "end": { - "line": 141, + "line": 245, "column": 40 } } @@ -60693,15 +84866,15 @@ "binop": null }, "value": "author", - "start": 8215, - "end": 8221, + "start": 11646, + "end": 11652, "loc": { "start": { - "line": 142, + "line": 246, "column": 8 }, "end": { - "line": 142, + "line": 246, "column": 14 } } @@ -60719,15 +84892,15 @@ "binop": null, "updateContext": null }, - "start": 8221, - "end": 8222, + "start": 11652, + "end": 11653, "loc": { "start": { - "line": 142, + "line": 246, "column": 14 }, "end": { - "line": 142, + "line": 246, "column": 15 } } @@ -60745,15 +84918,15 @@ "binop": null }, "value": "xktModel", - "start": 8223, - "end": 8231, + "start": 11654, + "end": 11662, "loc": { "start": { - "line": 142, + "line": 246, "column": 16 }, "end": { - "line": 142, + "line": 246, "column": 24 } } @@ -60771,15 +84944,15 @@ "binop": null, "updateContext": null }, - "start": 8231, - "end": 8232, + "start": 11662, + "end": 11663, "loc": { "start": { - "line": 142, + "line": 246, "column": 24 }, "end": { - "line": 142, + "line": 246, "column": 25 } } @@ -60797,15 +84970,15 @@ "binop": null }, "value": "author", - "start": 8232, - "end": 8238, + "start": 11663, + "end": 11669, "loc": { "start": { - "line": 142, + "line": 246, "column": 25 }, "end": { - "line": 142, + "line": 246, "column": 31 } } @@ -60823,15 +84996,15 @@ "binop": null, "updateContext": null }, - "start": 8238, - "end": 8239, + "start": 11669, + "end": 11670, "loc": { "start": { - "line": 142, + "line": 246, "column": 31 }, "end": { - "line": 142, + "line": 246, "column": 32 } } @@ -60849,15 +85022,15 @@ "binop": null }, "value": "createdAt", - "start": 8248, - "end": 8257, + "start": 11679, + "end": 11688, "loc": { "start": { - "line": 143, + "line": 247, "column": 8 }, "end": { - "line": 143, + "line": 247, "column": 17 } } @@ -60875,15 +85048,15 @@ "binop": null, "updateContext": null }, - "start": 8257, - "end": 8258, + "start": 11688, + "end": 11689, "loc": { "start": { - "line": 143, + "line": 247, "column": 17 }, "end": { - "line": 143, + "line": 247, "column": 18 } } @@ -60901,15 +85074,15 @@ "binop": null }, "value": "xktModel", - "start": 8259, - "end": 8267, + "start": 11690, + "end": 11698, "loc": { "start": { - "line": 143, + "line": 247, "column": 19 }, "end": { - "line": 143, + "line": 247, "column": 27 } } @@ -60927,15 +85100,15 @@ "binop": null, "updateContext": null }, - "start": 8267, - "end": 8268, + "start": 11698, + "end": 11699, "loc": { "start": { - "line": 143, + "line": 247, "column": 27 }, "end": { - "line": 143, + "line": 247, "column": 28 } } @@ -60953,15 +85126,15 @@ "binop": null }, "value": "createdAt", - "start": 8268, - "end": 8277, + "start": 11699, + "end": 11708, "loc": { "start": { - "line": 143, + "line": 247, "column": 28 }, "end": { - "line": 143, + "line": 247, "column": 37 } } @@ -60979,15 +85152,15 @@ "binop": null, "updateContext": null }, - "start": 8277, - "end": 8278, + "start": 11708, + "end": 11709, "loc": { "start": { - "line": 143, + "line": 247, "column": 37 }, "end": { - "line": 143, + "line": 247, "column": 38 } } @@ -61005,15 +85178,15 @@ "binop": null }, "value": "creatingApplication", - "start": 8287, - "end": 8306, + "start": 11718, + "end": 11737, "loc": { "start": { - "line": 144, + "line": 248, "column": 8 }, "end": { - "line": 144, + "line": 248, "column": 27 } } @@ -61031,15 +85204,15 @@ "binop": null, "updateContext": null }, - "start": 8306, - "end": 8307, + "start": 11737, + "end": 11738, "loc": { "start": { - "line": 144, + "line": 248, "column": 27 }, "end": { - "line": 144, + "line": 248, "column": 28 } } @@ -61057,15 +85230,15 @@ "binop": null }, "value": "xktModel", - "start": 8308, - "end": 8316, + "start": 11739, + "end": 11747, "loc": { "start": { - "line": 144, + "line": 248, "column": 29 }, "end": { - "line": 144, + "line": 248, "column": 37 } } @@ -61083,15 +85256,15 @@ "binop": null, "updateContext": null }, - "start": 8316, - "end": 8317, + "start": 11747, + "end": 11748, "loc": { "start": { - "line": 144, + "line": 248, "column": 37 }, "end": { - "line": 144, + "line": 248, "column": 38 } } @@ -61109,15 +85282,15 @@ "binop": null }, "value": "creatingApplication", - "start": 8317, - "end": 8336, + "start": 11748, + "end": 11767, "loc": { "start": { - "line": 144, + "line": 248, "column": 38 }, "end": { - "line": 144, + "line": 248, "column": 57 } } @@ -61135,15 +85308,15 @@ "binop": null, "updateContext": null }, - "start": 8336, - "end": 8337, + "start": 11767, + "end": 11768, "loc": { "start": { - "line": 144, + "line": 248, "column": 57 }, "end": { - "line": 144, + "line": 248, "column": 58 } } @@ -61161,15 +85334,15 @@ "binop": null }, "value": "schema", - "start": 8346, - "end": 8352, + "start": 11777, + "end": 11783, "loc": { "start": { - "line": 145, + "line": 249, "column": 8 }, "end": { - "line": 145, + "line": 249, "column": 14 } } @@ -61187,15 +85360,15 @@ "binop": null, "updateContext": null }, - "start": 8352, - "end": 8353, + "start": 11783, + "end": 11784, "loc": { "start": { - "line": 145, + "line": 249, "column": 14 }, "end": { - "line": 145, + "line": 249, "column": 15 } } @@ -61213,15 +85386,15 @@ "binop": null }, "value": "xktModel", - "start": 8354, - "end": 8362, + "start": 11785, + "end": 11793, "loc": { "start": { - "line": 145, + "line": 249, "column": 16 }, "end": { - "line": 145, + "line": 249, "column": 24 } } @@ -61239,15 +85412,15 @@ "binop": null, "updateContext": null }, - "start": 8362, - "end": 8363, + "start": 11793, + "end": 11794, "loc": { "start": { - "line": 145, + "line": 249, "column": 24 }, "end": { - "line": 145, + "line": 249, "column": 25 } } @@ -61265,15 +85438,15 @@ "binop": null }, "value": "schema", - "start": 8363, - "end": 8369, + "start": 11794, + "end": 11800, "loc": { "start": { - "line": 145, + "line": 249, "column": 25 }, "end": { - "line": 145, + "line": 249, "column": 31 } } @@ -61291,15 +85464,15 @@ "binop": null, "updateContext": null }, - "start": 8369, - "end": 8370, + "start": 11800, + "end": 11801, "loc": { "start": { - "line": 145, + "line": 249, "column": 31 }, "end": { - "line": 145, + "line": 249, "column": 32 } } @@ -61317,15 +85490,15 @@ "binop": null }, "value": "propertySets", - "start": 8379, - "end": 8391, + "start": 11810, + "end": 11822, "loc": { "start": { - "line": 146, + "line": 250, "column": 8 }, "end": { - "line": 146, + "line": 250, "column": 20 } } @@ -61343,15 +85516,15 @@ "binop": null, "updateContext": null }, - "start": 8391, - "end": 8392, + "start": 11822, + "end": 11823, "loc": { "start": { - "line": 146, + "line": 250, "column": 20 }, "end": { - "line": 146, + "line": 250, "column": 21 } } @@ -61369,15 +85542,15 @@ "binop": null, "updateContext": null }, - "start": 8393, - "end": 8394, + "start": 11824, + "end": 11825, "loc": { "start": { - "line": 146, + "line": 250, "column": 22 }, "end": { - "line": 146, + "line": 250, "column": 23 } } @@ -61395,15 +85568,15 @@ "binop": null, "updateContext": null }, - "start": 8394, - "end": 8395, + "start": 11825, + "end": 11826, "loc": { "start": { - "line": 146, + "line": 250, "column": 23 }, "end": { - "line": 146, + "line": 250, "column": 24 } } @@ -61421,15 +85594,15 @@ "binop": null, "updateContext": null }, - "start": 8395, - "end": 8396, + "start": 11826, + "end": 11827, "loc": { "start": { - "line": 146, + "line": 250, "column": 24 }, "end": { - "line": 146, + "line": 250, "column": 25 } } @@ -61447,15 +85620,15 @@ "binop": null }, "value": "metaObjects", - "start": 8405, - "end": 8416, + "start": 11836, + "end": 11847, "loc": { "start": { - "line": 147, + "line": 251, "column": 8 }, "end": { - "line": 147, + "line": 251, "column": 19 } } @@ -61473,15 +85646,15 @@ "binop": null, "updateContext": null }, - "start": 8416, - "end": 8417, + "start": 11847, + "end": 11848, "loc": { "start": { - "line": 147, + "line": 251, "column": 19 }, "end": { - "line": 147, + "line": 251, "column": 20 } } @@ -61499,15 +85672,15 @@ "binop": null, "updateContext": null }, - "start": 8418, - "end": 8419, + "start": 11849, + "end": 11850, "loc": { "start": { - "line": 147, + "line": 251, "column": 21 }, "end": { - "line": 147, + "line": 251, "column": 22 } } @@ -61525,15 +85698,15 @@ "binop": null, "updateContext": null }, - "start": 8419, - "end": 8420, + "start": 11850, + "end": 11851, "loc": { "start": { - "line": 147, + "line": 251, "column": 22 }, "end": { - "line": 147, + "line": 251, "column": 23 } } @@ -61550,15 +85723,15 @@ "postfix": false, "binop": null }, - "start": 8425, - "end": 8426, + "start": 11856, + "end": 11857, "loc": { "start": { - "line": 148, + "line": 252, "column": 4 }, "end": { - "line": 148, + "line": 252, "column": 5 } } @@ -61576,15 +85749,15 @@ "binop": null, "updateContext": null }, - "start": 8426, - "end": 8427, + "start": 11857, + "end": 11858, "loc": { "start": { - "line": 148, + "line": 252, "column": 5 }, "end": { - "line": 148, + "line": 252, "column": 6 } } @@ -61592,15 +85765,15 @@ { "type": "CommentLine", "value": " Property sets", - "start": 8433, - "end": 8449, + "start": 11864, + "end": 11880, "loc": { "start": { - "line": 150, + "line": 254, "column": 4 }, "end": { - "line": 150, + "line": 254, "column": 20 } } @@ -61620,15 +85793,15 @@ "updateContext": null }, "value": "for", - "start": 8455, - "end": 8458, + "start": 11886, + "end": 11889, "loc": { "start": { - "line": 152, + "line": 256, "column": 4 }, "end": { - "line": 152, + "line": 256, "column": 7 } } @@ -61645,15 +85818,15 @@ "postfix": false, "binop": null }, - "start": 8459, - "end": 8460, + "start": 11890, + "end": 11891, "loc": { "start": { - "line": 152, + "line": 256, "column": 8 }, "end": { - "line": 152, + "line": 256, "column": 9 } } @@ -61673,15 +85846,15 @@ "updateContext": null }, "value": "let", - "start": 8460, - "end": 8463, + "start": 11891, + "end": 11894, "loc": { "start": { - "line": 152, + "line": 256, "column": 9 }, "end": { - "line": 152, + "line": 256, "column": 12 } } @@ -61699,15 +85872,15 @@ "binop": null }, "value": "propertySetsIndex", - "start": 8464, - "end": 8481, + "start": 11895, + "end": 11912, "loc": { "start": { - "line": 152, + "line": 256, "column": 13 }, "end": { - "line": 152, + "line": 256, "column": 30 } } @@ -61726,15 +85899,15 @@ "updateContext": null }, "value": "=", - "start": 8482, - "end": 8483, + "start": 11913, + "end": 11914, "loc": { "start": { - "line": 152, + "line": 256, "column": 31 }, "end": { - "line": 152, + "line": 256, "column": 32 } } @@ -61753,15 +85926,15 @@ "updateContext": null }, "value": 0, - "start": 8484, - "end": 8485, + "start": 11915, + "end": 11916, "loc": { "start": { - "line": 152, + "line": 256, "column": 33 }, "end": { - "line": 152, + "line": 256, "column": 34 } } @@ -61779,15 +85952,15 @@ "binop": null, "updateContext": null }, - "start": 8485, - "end": 8486, + "start": 11916, + "end": 11917, "loc": { "start": { - "line": 152, + "line": 256, "column": 34 }, "end": { - "line": 152, + "line": 256, "column": 35 } } @@ -61805,15 +85978,15 @@ "binop": null }, "value": "propertySetsIndex", - "start": 8487, - "end": 8504, + "start": 11918, + "end": 11935, "loc": { "start": { - "line": 152, + "line": 256, "column": 36 }, "end": { - "line": 152, + "line": 256, "column": 53 } } @@ -61832,15 +86005,15 @@ "updateContext": null }, "value": "<", - "start": 8505, - "end": 8506, + "start": 11936, + "end": 11937, "loc": { "start": { - "line": 152, + "line": 256, "column": 54 }, "end": { - "line": 152, + "line": 256, "column": 55 } } @@ -61858,15 +86031,15 @@ "binop": null }, "value": "numPropertySets", - "start": 8507, - "end": 8522, + "start": 11938, + "end": 11953, "loc": { "start": { - "line": 152, + "line": 256, "column": 56 }, "end": { - "line": 152, + "line": 256, "column": 71 } } @@ -61884,15 +86057,15 @@ "binop": null, "updateContext": null }, - "start": 8522, - "end": 8523, + "start": 11953, + "end": 11954, "loc": { "start": { - "line": 152, + "line": 256, "column": 71 }, "end": { - "line": 152, + "line": 256, "column": 72 } } @@ -61910,15 +86083,15 @@ "binop": null }, "value": "propertySetsIndex", - "start": 8524, - "end": 8541, + "start": 11955, + "end": 11972, "loc": { "start": { - "line": 152, + "line": 256, "column": 73 }, "end": { - "line": 152, + "line": 256, "column": 90 } } @@ -61936,15 +86109,15 @@ "binop": null }, "value": "++", - "start": 8541, - "end": 8543, + "start": 11972, + "end": 11974, "loc": { "start": { - "line": 152, + "line": 256, "column": 90 }, "end": { - "line": 152, + "line": 256, "column": 92 } } @@ -61961,15 +86134,15 @@ "postfix": false, "binop": null }, - "start": 8543, - "end": 8544, + "start": 11974, + "end": 11975, "loc": { "start": { - "line": 152, + "line": 256, "column": 92 }, "end": { - "line": 152, + "line": 256, "column": 93 } } @@ -61986,15 +86159,15 @@ "postfix": false, "binop": null }, - "start": 8545, - "end": 8546, + "start": 11976, + "end": 11977, "loc": { "start": { - "line": 152, + "line": 256, "column": 94 }, "end": { - "line": 152, + "line": 256, "column": 95 } } @@ -62014,15 +86187,15 @@ "updateContext": null }, "value": "const", - "start": 8555, - "end": 8560, + "start": 11986, + "end": 11991, "loc": { "start": { - "line": 153, + "line": 257, "column": 8 }, "end": { - "line": 153, + "line": 257, "column": 13 } } @@ -62040,15 +86213,15 @@ "binop": null }, "value": "propertySet", - "start": 8561, - "end": 8572, + "start": 11992, + "end": 12003, "loc": { "start": { - "line": 153, + "line": 257, "column": 14 }, "end": { - "line": 153, + "line": 257, "column": 25 } } @@ -62067,15 +86240,15 @@ "updateContext": null }, "value": "=", - "start": 8573, - "end": 8574, + "start": 12004, + "end": 12005, "loc": { "start": { - "line": 153, + "line": 257, "column": 26 }, "end": { - "line": 153, + "line": 257, "column": 27 } } @@ -62093,15 +86266,15 @@ "binop": null }, "value": "propertySetsList", - "start": 8575, - "end": 8591, + "start": 12006, + "end": 12022, "loc": { "start": { - "line": 153, + "line": 257, "column": 28 }, "end": { - "line": 153, + "line": 257, "column": 44 } } @@ -62119,15 +86292,15 @@ "binop": null, "updateContext": null }, - "start": 8591, - "end": 8592, + "start": 12022, + "end": 12023, "loc": { "start": { - "line": 153, + "line": 257, "column": 44 }, "end": { - "line": 153, + "line": 257, "column": 45 } } @@ -62145,15 +86318,15 @@ "binop": null }, "value": "propertySetsIndex", - "start": 8592, - "end": 8609, + "start": 12023, + "end": 12040, "loc": { "start": { - "line": 153, + "line": 257, "column": 45 }, "end": { - "line": 153, + "line": 257, "column": 62 } } @@ -62171,15 +86344,15 @@ "binop": null, "updateContext": null }, - "start": 8609, - "end": 8610, + "start": 12040, + "end": 12041, "loc": { "start": { - "line": 153, + "line": 257, "column": 62 }, "end": { - "line": 153, + "line": 257, "column": 63 } } @@ -62197,15 +86370,15 @@ "binop": null, "updateContext": null }, - "start": 8610, - "end": 8611, + "start": 12041, + "end": 12042, "loc": { "start": { - "line": 153, + "line": 257, "column": 63 }, "end": { - "line": 153, + "line": 257, "column": 64 } } @@ -62225,15 +86398,15 @@ "updateContext": null }, "value": "const", - "start": 8620, - "end": 8625, + "start": 12051, + "end": 12056, "loc": { "start": { - "line": 154, + "line": 258, "column": 8 }, "end": { - "line": 154, + "line": 258, "column": 13 } } @@ -62251,15 +86424,15 @@ "binop": null }, "value": "propertySetJSON", - "start": 8626, - "end": 8641, + "start": 12057, + "end": 12072, "loc": { "start": { - "line": 154, + "line": 258, "column": 14 }, "end": { - "line": 154, + "line": 258, "column": 29 } } @@ -62278,15 +86451,15 @@ "updateContext": null }, "value": "=", - "start": 8642, - "end": 8643, + "start": 12073, + "end": 12074, "loc": { "start": { - "line": 154, + "line": 258, "column": 30 }, "end": { - "line": 154, + "line": 258, "column": 31 } } @@ -62303,15 +86476,15 @@ "postfix": false, "binop": null }, - "start": 8644, - "end": 8645, + "start": 12075, + "end": 12076, "loc": { "start": { - "line": 154, + "line": 258, "column": 32 }, "end": { - "line": 154, + "line": 258, "column": 33 } } @@ -62329,15 +86502,15 @@ "binop": null }, "value": "id", - "start": 8658, - "end": 8660, + "start": 12089, + "end": 12091, "loc": { "start": { - "line": 155, + "line": 259, "column": 12 }, "end": { - "line": 155, + "line": 259, "column": 14 } } @@ -62355,15 +86528,15 @@ "binop": null, "updateContext": null }, - "start": 8660, - "end": 8661, + "start": 12091, + "end": 12092, "loc": { "start": { - "line": 155, + "line": 259, "column": 14 }, "end": { - "line": 155, + "line": 259, "column": 15 } } @@ -62382,15 +86555,15 @@ "updateContext": null }, "value": "", - "start": 8662, - "end": 8664, + "start": 12093, + "end": 12095, "loc": { "start": { - "line": 155, + "line": 259, "column": 16 }, "end": { - "line": 155, + "line": 259, "column": 18 } } @@ -62409,15 +86582,15 @@ "updateContext": null }, "value": "+", - "start": 8665, - "end": 8666, + "start": 12096, + "end": 12097, "loc": { "start": { - "line": 155, + "line": 259, "column": 19 }, "end": { - "line": 155, + "line": 259, "column": 20 } } @@ -62435,15 +86608,15 @@ "binop": null }, "value": "propertySet", - "start": 8667, - "end": 8678, + "start": 12098, + "end": 12109, "loc": { "start": { - "line": 155, + "line": 259, "column": 21 }, "end": { - "line": 155, + "line": 259, "column": 32 } } @@ -62461,15 +86634,15 @@ "binop": null, "updateContext": null }, - "start": 8678, - "end": 8679, + "start": 12109, + "end": 12110, "loc": { "start": { - "line": 155, + "line": 259, "column": 32 }, "end": { - "line": 155, + "line": 259, "column": 33 } } @@ -62487,15 +86660,15 @@ "binop": null }, "value": "propertySetId", - "start": 8679, - "end": 8692, + "start": 12110, + "end": 12123, "loc": { "start": { - "line": 155, + "line": 259, "column": 33 }, "end": { - "line": 155, + "line": 259, "column": 46 } } @@ -62513,15 +86686,15 @@ "binop": null, "updateContext": null }, - "start": 8692, - "end": 8693, + "start": 12123, + "end": 12124, "loc": { "start": { - "line": 155, + "line": 259, "column": 46 }, "end": { - "line": 155, + "line": 259, "column": 47 } } @@ -62539,15 +86712,15 @@ "binop": null }, "value": "name", - "start": 8706, - "end": 8710, + "start": 12137, + "end": 12141, "loc": { "start": { - "line": 156, + "line": 260, "column": 12 }, "end": { - "line": 156, + "line": 260, "column": 16 } } @@ -62565,15 +86738,15 @@ "binop": null, "updateContext": null }, - "start": 8710, - "end": 8711, + "start": 12141, + "end": 12142, "loc": { "start": { - "line": 156, + "line": 260, "column": 16 }, "end": { - "line": 156, + "line": 260, "column": 17 } } @@ -62591,15 +86764,15 @@ "binop": null }, "value": "propertySet", - "start": 8712, - "end": 8723, + "start": 12143, + "end": 12154, "loc": { "start": { - "line": 156, + "line": 260, "column": 18 }, "end": { - "line": 156, + "line": 260, "column": 29 } } @@ -62617,15 +86790,15 @@ "binop": null, "updateContext": null }, - "start": 8723, - "end": 8724, + "start": 12154, + "end": 12155, "loc": { "start": { - "line": 156, + "line": 260, "column": 29 }, "end": { - "line": 156, + "line": 260, "column": 30 } } @@ -62643,15 +86816,15 @@ "binop": null }, "value": "propertySetName", - "start": 8724, - "end": 8739, + "start": 12155, + "end": 12170, "loc": { "start": { - "line": 156, + "line": 260, "column": 30 }, "end": { - "line": 156, + "line": 260, "column": 45 } } @@ -62669,15 +86842,15 @@ "binop": null, "updateContext": null }, - "start": 8739, - "end": 8740, + "start": 12170, + "end": 12171, "loc": { "start": { - "line": 156, + "line": 260, "column": 45 }, "end": { - "line": 156, + "line": 260, "column": 46 } } @@ -62695,15 +86868,15 @@ "binop": null }, "value": "type", - "start": 8753, - "end": 8757, + "start": 12184, + "end": 12188, "loc": { "start": { - "line": 157, + "line": 261, "column": 12 }, "end": { - "line": 157, + "line": 261, "column": 16 } } @@ -62721,15 +86894,15 @@ "binop": null, "updateContext": null }, - "start": 8757, - "end": 8758, + "start": 12188, + "end": 12189, "loc": { "start": { - "line": 157, + "line": 261, "column": 16 }, "end": { - "line": 157, + "line": 261, "column": 17 } } @@ -62747,15 +86920,15 @@ "binop": null }, "value": "propertySet", - "start": 8759, - "end": 8770, + "start": 12190, + "end": 12201, "loc": { "start": { - "line": 157, + "line": 261, "column": 18 }, "end": { - "line": 157, + "line": 261, "column": 29 } } @@ -62773,15 +86946,15 @@ "binop": null, "updateContext": null }, - "start": 8770, - "end": 8771, + "start": 12201, + "end": 12202, "loc": { "start": { - "line": 157, + "line": 261, "column": 29 }, "end": { - "line": 157, + "line": 261, "column": 30 } } @@ -62799,15 +86972,15 @@ "binop": null }, "value": "propertySetType", - "start": 8771, - "end": 8786, + "start": 12202, + "end": 12217, "loc": { "start": { - "line": 157, + "line": 261, "column": 30 }, "end": { - "line": 157, + "line": 261, "column": 45 } } @@ -62825,15 +86998,15 @@ "binop": null, "updateContext": null }, - "start": 8786, - "end": 8787, + "start": 12217, + "end": 12218, "loc": { "start": { - "line": 157, + "line": 261, "column": 45 }, "end": { - "line": 157, + "line": 261, "column": 46 } } @@ -62851,15 +87024,15 @@ "binop": null }, "value": "properties", - "start": 8800, - "end": 8810, + "start": 12231, + "end": 12241, "loc": { "start": { - "line": 158, + "line": 262, "column": 12 }, "end": { - "line": 158, + "line": 262, "column": 22 } } @@ -62877,15 +87050,15 @@ "binop": null, "updateContext": null }, - "start": 8810, - "end": 8811, + "start": 12241, + "end": 12242, "loc": { "start": { - "line": 158, + "line": 262, "column": 22 }, "end": { - "line": 158, + "line": 262, "column": 23 } } @@ -62903,15 +87076,15 @@ "binop": null }, "value": "propertySet", - "start": 8812, - "end": 8823, + "start": 12243, + "end": 12254, "loc": { "start": { - "line": 158, + "line": 262, "column": 24 }, "end": { - "line": 158, + "line": 262, "column": 35 } } @@ -62929,15 +87102,15 @@ "binop": null, "updateContext": null }, - "start": 8823, - "end": 8824, + "start": 12254, + "end": 12255, "loc": { "start": { - "line": 158, + "line": 262, "column": 35 }, "end": { - "line": 158, + "line": 262, "column": 36 } } @@ -62955,15 +87128,15 @@ "binop": null }, "value": "properties", - "start": 8824, - "end": 8834, + "start": 12255, + "end": 12265, "loc": { "start": { - "line": 158, + "line": 262, "column": 36 }, "end": { - "line": 158, + "line": 262, "column": 46 } } @@ -62980,15 +87153,15 @@ "postfix": false, "binop": null }, - "start": 8843, - "end": 8844, + "start": 12274, + "end": 12275, "loc": { "start": { - "line": 159, + "line": 263, "column": 8 }, "end": { - "line": 159, + "line": 263, "column": 9 } } @@ -63006,15 +87179,15 @@ "binop": null, "updateContext": null }, - "start": 8844, - "end": 8845, + "start": 12275, + "end": 12276, "loc": { "start": { - "line": 159, + "line": 263, "column": 9 }, "end": { - "line": 159, + "line": 263, "column": 10 } } @@ -63032,15 +87205,15 @@ "binop": null }, "value": "data", - "start": 8854, - "end": 8858, + "start": 12285, + "end": 12289, "loc": { "start": { - "line": 160, + "line": 264, "column": 8 }, "end": { - "line": 160, + "line": 264, "column": 12 } } @@ -63058,15 +87231,15 @@ "binop": null, "updateContext": null }, - "start": 8858, - "end": 8859, + "start": 12289, + "end": 12290, "loc": { "start": { - "line": 160, + "line": 264, "column": 12 }, "end": { - "line": 160, + "line": 264, "column": 13 } } @@ -63084,15 +87257,15 @@ "binop": null }, "value": "metadata", - "start": 8859, - "end": 8867, + "start": 12290, + "end": 12298, "loc": { "start": { - "line": 160, + "line": 264, "column": 13 }, "end": { - "line": 160, + "line": 264, "column": 21 } } @@ -63110,15 +87283,15 @@ "binop": null, "updateContext": null }, - "start": 8867, - "end": 8868, + "start": 12298, + "end": 12299, "loc": { "start": { - "line": 160, + "line": 264, "column": 21 }, "end": { - "line": 160, + "line": 264, "column": 22 } } @@ -63136,15 +87309,15 @@ "binop": null }, "value": "propertySets", - "start": 8868, - "end": 8880, + "start": 12299, + "end": 12311, "loc": { "start": { - "line": 160, + "line": 264, "column": 22 }, "end": { - "line": 160, + "line": 264, "column": 34 } } @@ -63162,15 +87335,15 @@ "binop": null, "updateContext": null }, - "start": 8880, - "end": 8881, + "start": 12311, + "end": 12312, "loc": { "start": { - "line": 160, + "line": 264, "column": 34 }, "end": { - "line": 160, + "line": 264, "column": 35 } } @@ -63188,15 +87361,15 @@ "binop": null }, "value": "push", - "start": 8881, - "end": 8885, + "start": 12312, + "end": 12316, "loc": { "start": { - "line": 160, + "line": 264, "column": 35 }, "end": { - "line": 160, + "line": 264, "column": 39 } } @@ -63213,15 +87386,15 @@ "postfix": false, "binop": null }, - "start": 8885, - "end": 8886, + "start": 12316, + "end": 12317, "loc": { "start": { - "line": 160, + "line": 264, "column": 39 }, "end": { - "line": 160, + "line": 264, "column": 40 } } @@ -63239,15 +87412,15 @@ "binop": null }, "value": "propertySetJSON", - "start": 8886, - "end": 8901, + "start": 12317, + "end": 12332, "loc": { "start": { - "line": 160, + "line": 264, "column": 40 }, "end": { - "line": 160, + "line": 264, "column": 55 } } @@ -63264,15 +87437,15 @@ "postfix": false, "binop": null }, - "start": 8901, - "end": 8902, + "start": 12332, + "end": 12333, "loc": { "start": { - "line": 160, + "line": 264, "column": 55 }, "end": { - "line": 160, + "line": 264, "column": 56 } } @@ -63290,15 +87463,15 @@ "binop": null, "updateContext": null }, - "start": 8902, - "end": 8903, + "start": 12333, + "end": 12334, "loc": { "start": { - "line": 160, + "line": 264, "column": 56 }, "end": { - "line": 160, + "line": 264, "column": 57 } } @@ -63315,15 +87488,15 @@ "postfix": false, "binop": null }, - "start": 8908, - "end": 8909, + "start": 12339, + "end": 12340, "loc": { "start": { - "line": 161, + "line": 265, "column": 4 }, "end": { - "line": 161, + "line": 265, "column": 5 } } @@ -63331,15 +87504,15 @@ { "type": "CommentLine", "value": " Metaobjects", - "start": 8915, - "end": 8929, + "start": 12346, + "end": 12360, "loc": { "start": { - "line": 163, + "line": 267, "column": 4 }, "end": { - "line": 163, + "line": 267, "column": 18 } } @@ -63359,15 +87532,15 @@ "updateContext": null }, "value": "if", - "start": 8935, - "end": 8937, + "start": 12366, + "end": 12368, "loc": { "start": { - "line": 165, + "line": 269, "column": 4 }, "end": { - "line": 165, + "line": 269, "column": 6 } } @@ -63384,15 +87557,15 @@ "postfix": false, "binop": null }, - "start": 8938, - "end": 8939, + "start": 12369, + "end": 12370, "loc": { "start": { - "line": 165, + "line": 269, "column": 7 }, "end": { - "line": 165, + "line": 269, "column": 8 } } @@ -63411,15 +87584,15 @@ "updateContext": null }, "value": "!", - "start": 8939, - "end": 8940, + "start": 12370, + "end": 12371, "loc": { "start": { - "line": 165, + "line": 269, "column": 8 }, "end": { - "line": 165, + "line": 269, "column": 9 } } @@ -63437,15 +87610,15 @@ "binop": null }, "value": "metaModelDataStr", - "start": 8940, - "end": 8956, + "start": 12371, + "end": 12387, "loc": { "start": { - "line": 165, + "line": 269, "column": 9 }, "end": { - "line": 165, + "line": 269, "column": 25 } } @@ -63462,15 +87635,15 @@ "postfix": false, "binop": null }, - "start": 8956, - "end": 8957, + "start": 12387, + "end": 12388, "loc": { "start": { - "line": 165, + "line": 269, "column": 25 }, "end": { - "line": 165, + "line": 269, "column": 26 } } @@ -63487,15 +87660,15 @@ "postfix": false, "binop": null }, - "start": 8958, - "end": 8959, + "start": 12389, + "end": 12390, "loc": { "start": { - "line": 165, + "line": 269, "column": 27 }, "end": { - "line": 165, + "line": 269, "column": 28 } } @@ -63515,15 +87688,15 @@ "updateContext": null }, "value": "for", - "start": 8968, - "end": 8971, + "start": 12399, + "end": 12402, "loc": { "start": { - "line": 166, + "line": 270, "column": 8 }, "end": { - "line": 166, + "line": 270, "column": 11 } } @@ -63540,15 +87713,15 @@ "postfix": false, "binop": null }, - "start": 8972, - "end": 8973, + "start": 12403, + "end": 12404, "loc": { "start": { - "line": 166, + "line": 270, "column": 12 }, "end": { - "line": 166, + "line": 270, "column": 13 } } @@ -63568,15 +87741,15 @@ "updateContext": null }, "value": "let", - "start": 8973, - "end": 8976, + "start": 12404, + "end": 12407, "loc": { "start": { - "line": 166, + "line": 270, "column": 13 }, "end": { - "line": 166, + "line": 270, "column": 16 } } @@ -63594,15 +87767,15 @@ "binop": null }, "value": "metaObjectsIndex", - "start": 8977, - "end": 8993, + "start": 12408, + "end": 12424, "loc": { "start": { - "line": 166, + "line": 270, "column": 17 }, "end": { - "line": 166, + "line": 270, "column": 33 } } @@ -63621,15 +87794,15 @@ "updateContext": null }, "value": "=", - "start": 8994, - "end": 8995, + "start": 12425, + "end": 12426, "loc": { "start": { - "line": 166, + "line": 270, "column": 34 }, "end": { - "line": 166, + "line": 270, "column": 35 } } @@ -63648,15 +87821,15 @@ "updateContext": null }, "value": 0, - "start": 8996, - "end": 8997, + "start": 12427, + "end": 12428, "loc": { "start": { - "line": 166, + "line": 270, "column": 36 }, "end": { - "line": 166, + "line": 270, "column": 37 } } @@ -63674,15 +87847,15 @@ "binop": null, "updateContext": null }, - "start": 8997, - "end": 8998, + "start": 12428, + "end": 12429, "loc": { "start": { - "line": 166, + "line": 270, "column": 37 }, "end": { - "line": 166, + "line": 270, "column": 38 } } @@ -63700,15 +87873,15 @@ "binop": null }, "value": "metaObjectsIndex", - "start": 8999, - "end": 9015, + "start": 12430, + "end": 12446, "loc": { "start": { - "line": 166, + "line": 270, "column": 39 }, "end": { - "line": 166, + "line": 270, "column": 55 } } @@ -63727,15 +87900,15 @@ "updateContext": null }, "value": "<", - "start": 9016, - "end": 9017, + "start": 12447, + "end": 12448, "loc": { "start": { - "line": 166, + "line": 270, "column": 56 }, "end": { - "line": 166, + "line": 270, "column": 57 } } @@ -63753,15 +87926,15 @@ "binop": null }, "value": "numMetaObjects", - "start": 9018, - "end": 9032, + "start": 12449, + "end": 12463, "loc": { "start": { - "line": 166, + "line": 270, "column": 58 }, "end": { - "line": 166, + "line": 270, "column": 72 } } @@ -63779,15 +87952,15 @@ "binop": null, "updateContext": null }, - "start": 9032, - "end": 9033, + "start": 12463, + "end": 12464, "loc": { "start": { - "line": 166, + "line": 270, "column": 72 }, "end": { - "line": 166, + "line": 270, "column": 73 } } @@ -63805,15 +87978,15 @@ "binop": null }, "value": "metaObjectsIndex", - "start": 9034, - "end": 9050, + "start": 12465, + "end": 12481, "loc": { "start": { - "line": 166, + "line": 270, "column": 74 }, "end": { - "line": 166, + "line": 270, "column": 90 } } @@ -63831,15 +88004,15 @@ "binop": null }, "value": "++", - "start": 9050, - "end": 9052, + "start": 12481, + "end": 12483, "loc": { "start": { - "line": 166, + "line": 270, "column": 90 }, "end": { - "line": 166, + "line": 270, "column": 92 } } @@ -63856,15 +88029,15 @@ "postfix": false, "binop": null }, - "start": 9052, - "end": 9053, + "start": 12483, + "end": 12484, "loc": { "start": { - "line": 166, + "line": 270, "column": 92 }, "end": { - "line": 166, + "line": 270, "column": 93 } } @@ -63881,15 +88054,15 @@ "postfix": false, "binop": null }, - "start": 9054, - "end": 9055, + "start": 12485, + "end": 12486, "loc": { "start": { - "line": 166, + "line": 270, "column": 94 }, "end": { - "line": 166, + "line": 270, "column": 95 } } @@ -63909,15 +88082,15 @@ "updateContext": null }, "value": "const", - "start": 9068, - "end": 9073, + "start": 12499, + "end": 12504, "loc": { "start": { - "line": 167, + "line": 271, "column": 12 }, "end": { - "line": 167, + "line": 271, "column": 17 } } @@ -63935,15 +88108,15 @@ "binop": null }, "value": "metaObject", - "start": 9074, - "end": 9084, + "start": 12505, + "end": 12515, "loc": { "start": { - "line": 167, + "line": 271, "column": 18 }, "end": { - "line": 167, + "line": 271, "column": 28 } } @@ -63962,15 +88135,15 @@ "updateContext": null }, "value": "=", - "start": 9085, - "end": 9086, + "start": 12516, + "end": 12517, "loc": { "start": { - "line": 167, + "line": 271, "column": 29 }, "end": { - "line": 167, + "line": 271, "column": 30 } } @@ -63988,15 +88161,15 @@ "binop": null }, "value": "metaObjectsList", - "start": 9087, - "end": 9102, + "start": 12518, + "end": 12533, "loc": { "start": { - "line": 167, + "line": 271, "column": 31 }, "end": { - "line": 167, + "line": 271, "column": 46 } } @@ -64014,15 +88187,15 @@ "binop": null, "updateContext": null }, - "start": 9102, - "end": 9103, + "start": 12533, + "end": 12534, "loc": { "start": { - "line": 167, + "line": 271, "column": 46 }, "end": { - "line": 167, + "line": 271, "column": 47 } } @@ -64040,15 +88213,15 @@ "binop": null }, "value": "metaObjectsIndex", - "start": 9103, - "end": 9119, + "start": 12534, + "end": 12550, "loc": { "start": { - "line": 167, + "line": 271, "column": 47 }, "end": { - "line": 167, + "line": 271, "column": 63 } } @@ -64066,15 +88239,15 @@ "binop": null, "updateContext": null }, - "start": 9119, - "end": 9120, + "start": 12550, + "end": 12551, "loc": { "start": { - "line": 167, + "line": 271, "column": 63 }, "end": { - "line": 167, + "line": 271, "column": 64 } } @@ -64092,15 +88265,15 @@ "binop": null, "updateContext": null }, - "start": 9120, - "end": 9121, + "start": 12551, + "end": 12552, "loc": { "start": { - "line": 167, + "line": 271, "column": 64 }, "end": { - "line": 167, + "line": 271, "column": 65 } } @@ -64120,15 +88293,15 @@ "updateContext": null }, "value": "const", - "start": 9134, - "end": 9139, + "start": 12565, + "end": 12570, "loc": { "start": { - "line": 168, + "line": 272, "column": 12 }, "end": { - "line": 168, + "line": 272, "column": 17 } } @@ -64146,15 +88319,15 @@ "binop": null }, "value": "metaObjectJSON", - "start": 9140, - "end": 9154, + "start": 12571, + "end": 12585, "loc": { "start": { - "line": 168, + "line": 272, "column": 18 }, "end": { - "line": 168, + "line": 272, "column": 32 } } @@ -64173,15 +88346,15 @@ "updateContext": null }, "value": "=", - "start": 9155, - "end": 9156, + "start": 12586, + "end": 12587, "loc": { "start": { - "line": 168, + "line": 272, "column": 33 }, "end": { - "line": 168, + "line": 272, "column": 34 } } @@ -64198,15 +88371,15 @@ "postfix": false, "binop": null }, - "start": 9157, - "end": 9158, + "start": 12588, + "end": 12589, "loc": { "start": { - "line": 168, + "line": 272, "column": 35 }, "end": { - "line": 168, + "line": 272, "column": 36 } } @@ -64224,15 +88397,15 @@ "binop": null }, "value": "name", - "start": 9175, - "end": 9179, + "start": 12606, + "end": 12610, "loc": { "start": { - "line": 169, + "line": 273, "column": 16 }, "end": { - "line": 169, + "line": 273, "column": 20 } } @@ -64250,15 +88423,15 @@ "binop": null, "updateContext": null }, - "start": 9179, - "end": 9180, + "start": 12610, + "end": 12611, "loc": { "start": { - "line": 169, + "line": 273, "column": 20 }, "end": { - "line": 169, + "line": 273, "column": 21 } } @@ -64276,15 +88449,15 @@ "binop": null }, "value": "metaObject", - "start": 9181, - "end": 9191, + "start": 12612, + "end": 12622, "loc": { "start": { - "line": 169, + "line": 273, "column": 22 }, "end": { - "line": 169, + "line": 273, "column": 32 } } @@ -64302,15 +88475,15 @@ "binop": null, "updateContext": null }, - "start": 9191, - "end": 9192, + "start": 12622, + "end": 12623, "loc": { "start": { - "line": 169, + "line": 273, "column": 32 }, "end": { - "line": 169, + "line": 273, "column": 33 } } @@ -64328,15 +88501,15 @@ "binop": null }, "value": "metaObjectName", - "start": 9192, - "end": 9206, + "start": 12623, + "end": 12637, "loc": { "start": { - "line": 169, + "line": 273, "column": 33 }, "end": { - "line": 169, + "line": 273, "column": 47 } } @@ -64354,15 +88527,15 @@ "binop": null, "updateContext": null }, - "start": 9206, - "end": 9207, + "start": 12637, + "end": 12638, "loc": { "start": { - "line": 169, + "line": 273, "column": 47 }, "end": { - "line": 169, + "line": 273, "column": 48 } } @@ -64380,15 +88553,15 @@ "binop": null }, "value": "type", - "start": 9224, - "end": 9228, + "start": 12655, + "end": 12659, "loc": { "start": { - "line": 170, + "line": 274, "column": 16 }, "end": { - "line": 170, + "line": 274, "column": 20 } } @@ -64406,15 +88579,15 @@ "binop": null, "updateContext": null }, - "start": 9228, - "end": 9229, + "start": 12659, + "end": 12660, "loc": { "start": { - "line": 170, + "line": 274, "column": 20 }, "end": { - "line": 170, + "line": 274, "column": 21 } } @@ -64432,15 +88605,15 @@ "binop": null }, "value": "metaObject", - "start": 9230, - "end": 9240, + "start": 12661, + "end": 12671, "loc": { "start": { - "line": 170, + "line": 274, "column": 22 }, "end": { - "line": 170, + "line": 274, "column": 32 } } @@ -64458,15 +88631,15 @@ "binop": null, "updateContext": null }, - "start": 9240, - "end": 9241, + "start": 12671, + "end": 12672, "loc": { "start": { - "line": 170, + "line": 274, "column": 32 }, "end": { - "line": 170, + "line": 274, "column": 33 } } @@ -64484,15 +88657,15 @@ "binop": null }, "value": "metaObjectType", - "start": 9241, - "end": 9255, + "start": 12672, + "end": 12686, "loc": { "start": { - "line": 170, + "line": 274, "column": 33 }, "end": { - "line": 170, + "line": 274, "column": 47 } } @@ -64510,15 +88683,15 @@ "binop": null, "updateContext": null }, - "start": 9255, - "end": 9256, + "start": 12686, + "end": 12687, "loc": { "start": { - "line": 170, + "line": 274, "column": 47 }, "end": { - "line": 170, + "line": 274, "column": 48 } } @@ -64536,15 +88709,15 @@ "binop": null }, "value": "id", - "start": 9273, - "end": 9275, + "start": 12704, + "end": 12706, "loc": { "start": { - "line": 171, + "line": 275, "column": 16 }, "end": { - "line": 171, + "line": 275, "column": 18 } } @@ -64562,15 +88735,15 @@ "binop": null, "updateContext": null }, - "start": 9275, - "end": 9276, + "start": 12706, + "end": 12707, "loc": { "start": { - "line": 171, + "line": 275, "column": 18 }, "end": { - "line": 171, + "line": 275, "column": 19 } } @@ -64589,15 +88762,15 @@ "updateContext": null }, "value": "", - "start": 9277, - "end": 9279, + "start": 12708, + "end": 12710, "loc": { "start": { - "line": 171, + "line": 275, "column": 20 }, "end": { - "line": 171, + "line": 275, "column": 22 } } @@ -64616,15 +88789,15 @@ "updateContext": null }, "value": "+", - "start": 9280, - "end": 9281, + "start": 12711, + "end": 12712, "loc": { "start": { - "line": 171, + "line": 275, "column": 23 }, "end": { - "line": 171, + "line": 275, "column": 24 } } @@ -64642,15 +88815,15 @@ "binop": null }, "value": "metaObject", - "start": 9282, - "end": 9292, + "start": 12713, + "end": 12723, "loc": { "start": { - "line": 171, + "line": 275, "column": 25 }, "end": { - "line": 171, + "line": 275, "column": 35 } } @@ -64668,15 +88841,15 @@ "binop": null, "updateContext": null }, - "start": 9292, - "end": 9293, + "start": 12723, + "end": 12724, "loc": { "start": { - "line": 171, + "line": 275, "column": 35 }, "end": { - "line": 171, + "line": 275, "column": 36 } } @@ -64694,15 +88867,15 @@ "binop": null }, "value": "metaObjectId", - "start": 9293, - "end": 9305, + "start": 12724, + "end": 12736, "loc": { "start": { - "line": 171, + "line": 275, "column": 36 }, "end": { - "line": 171, + "line": 275, "column": 48 } } @@ -64719,15 +88892,15 @@ "postfix": false, "binop": null }, - "start": 9318, - "end": 9319, + "start": 12749, + "end": 12750, "loc": { "start": { - "line": 172, + "line": 276, "column": 12 }, "end": { - "line": 172, + "line": 276, "column": 13 } } @@ -64745,15 +88918,15 @@ "binop": null, "updateContext": null }, - "start": 9319, - "end": 9320, + "start": 12750, + "end": 12751, "loc": { "start": { - "line": 172, + "line": 276, "column": 13 }, "end": { - "line": 172, + "line": 276, "column": 14 } } @@ -64773,15 +88946,15 @@ "updateContext": null }, "value": "if", - "start": 9333, - "end": 9335, + "start": 12764, + "end": 12766, "loc": { "start": { - "line": 173, + "line": 277, "column": 12 }, "end": { - "line": 173, + "line": 277, "column": 14 } } @@ -64798,15 +88971,15 @@ "postfix": false, "binop": null }, - "start": 9336, - "end": 9337, + "start": 12767, + "end": 12768, "loc": { "start": { - "line": 173, + "line": 277, "column": 15 }, "end": { - "line": 173, + "line": 277, "column": 16 } } @@ -64824,15 +88997,15 @@ "binop": null }, "value": "metaObject", - "start": 9337, - "end": 9347, + "start": 12768, + "end": 12778, "loc": { "start": { - "line": 173, + "line": 277, "column": 16 }, "end": { - "line": 173, + "line": 277, "column": 26 } } @@ -64850,15 +89023,15 @@ "binop": null, "updateContext": null }, - "start": 9347, - "end": 9348, + "start": 12778, + "end": 12779, "loc": { "start": { - "line": 173, + "line": 277, "column": 26 }, "end": { - "line": 173, + "line": 277, "column": 27 } } @@ -64876,15 +89049,15 @@ "binop": null }, "value": "parentMetaObjectId", - "start": 9348, - "end": 9366, + "start": 12779, + "end": 12797, "loc": { "start": { - "line": 173, + "line": 277, "column": 27 }, "end": { - "line": 173, + "line": 277, "column": 45 } } @@ -64903,15 +89076,15 @@ "updateContext": null }, "value": "!==", - "start": 9367, - "end": 9370, + "start": 12798, + "end": 12801, "loc": { "start": { - "line": 173, + "line": 277, "column": 46 }, "end": { - "line": 173, + "line": 277, "column": 49 } } @@ -64929,15 +89102,15 @@ "binop": null }, "value": "undefined", - "start": 9371, - "end": 9380, + "start": 12802, + "end": 12811, "loc": { "start": { - "line": 173, + "line": 277, "column": 50 }, "end": { - "line": 173, + "line": 277, "column": 59 } } @@ -64956,15 +89129,15 @@ "updateContext": null }, "value": "&&", - "start": 9381, - "end": 9383, + "start": 12812, + "end": 12814, "loc": { "start": { - "line": 173, + "line": 277, "column": 60 }, "end": { - "line": 173, + "line": 277, "column": 62 } } @@ -64982,15 +89155,15 @@ "binop": null }, "value": "metaObject", - "start": 9384, - "end": 9394, + "start": 12815, + "end": 12825, "loc": { "start": { - "line": 173, + "line": 277, "column": 63 }, "end": { - "line": 173, + "line": 277, "column": 73 } } @@ -65008,15 +89181,15 @@ "binop": null, "updateContext": null }, - "start": 9394, - "end": 9395, + "start": 12825, + "end": 12826, "loc": { "start": { - "line": 173, + "line": 277, "column": 73 }, "end": { - "line": 173, + "line": 277, "column": 74 } } @@ -65034,15 +89207,15 @@ "binop": null }, "value": "parentMetaObjectId", - "start": 9395, - "end": 9413, + "start": 12826, + "end": 12844, "loc": { "start": { - "line": 173, + "line": 277, "column": 74 }, "end": { - "line": 173, + "line": 277, "column": 92 } } @@ -65061,15 +89234,15 @@ "updateContext": null }, "value": "!==", - "start": 9414, - "end": 9417, + "start": 12845, + "end": 12848, "loc": { "start": { - "line": 173, + "line": 277, "column": 93 }, "end": { - "line": 173, + "line": 277, "column": 96 } } @@ -65089,15 +89262,15 @@ "updateContext": null }, "value": "null", - "start": 9418, - "end": 9422, + "start": 12849, + "end": 12853, "loc": { "start": { - "line": 173, + "line": 277, "column": 97 }, "end": { - "line": 173, + "line": 277, "column": 101 } } @@ -65114,15 +89287,15 @@ "postfix": false, "binop": null }, - "start": 9422, - "end": 9423, + "start": 12853, + "end": 12854, "loc": { "start": { - "line": 173, + "line": 277, "column": 101 }, "end": { - "line": 173, + "line": 277, "column": 102 } } @@ -65139,15 +89312,15 @@ "postfix": false, "binop": null }, - "start": 9424, - "end": 9425, + "start": 12855, + "end": 12856, "loc": { "start": { - "line": 173, + "line": 277, "column": 103 }, "end": { - "line": 173, + "line": 277, "column": 104 } } @@ -65165,15 +89338,15 @@ "binop": null }, "value": "metaObjectJSON", - "start": 9442, - "end": 9456, + "start": 12873, + "end": 12887, "loc": { "start": { - "line": 174, + "line": 278, "column": 16 }, "end": { - "line": 174, + "line": 278, "column": 30 } } @@ -65191,15 +89364,15 @@ "binop": null, "updateContext": null }, - "start": 9456, - "end": 9457, + "start": 12887, + "end": 12888, "loc": { "start": { - "line": 174, + "line": 278, "column": 30 }, "end": { - "line": 174, + "line": 278, "column": 31 } } @@ -65217,15 +89390,15 @@ "binop": null }, "value": "parent", - "start": 9457, - "end": 9463, + "start": 12888, + "end": 12894, "loc": { "start": { - "line": 174, + "line": 278, "column": 31 }, "end": { - "line": 174, + "line": 278, "column": 37 } } @@ -65244,15 +89417,15 @@ "updateContext": null }, "value": "=", - "start": 9464, - "end": 9465, + "start": 12895, + "end": 12896, "loc": { "start": { - "line": 174, + "line": 278, "column": 38 }, "end": { - "line": 174, + "line": 278, "column": 39 } } @@ -65271,15 +89444,15 @@ "updateContext": null }, "value": "", - "start": 9466, - "end": 9468, + "start": 12897, + "end": 12899, "loc": { "start": { - "line": 174, + "line": 278, "column": 40 }, "end": { - "line": 174, + "line": 278, "column": 42 } } @@ -65298,15 +89471,15 @@ "updateContext": null }, "value": "+", - "start": 9469, - "end": 9470, + "start": 12900, + "end": 12901, "loc": { "start": { - "line": 174, + "line": 278, "column": 43 }, "end": { - "line": 174, + "line": 278, "column": 44 } } @@ -65324,15 +89497,15 @@ "binop": null }, "value": "metaObject", - "start": 9471, - "end": 9481, + "start": 12902, + "end": 12912, "loc": { "start": { - "line": 174, + "line": 278, "column": 45 }, "end": { - "line": 174, + "line": 278, "column": 55 } } @@ -65350,15 +89523,15 @@ "binop": null, "updateContext": null }, - "start": 9481, - "end": 9482, + "start": 12912, + "end": 12913, "loc": { "start": { - "line": 174, + "line": 278, "column": 55 }, "end": { - "line": 174, + "line": 278, "column": 56 } } @@ -65376,15 +89549,15 @@ "binop": null }, "value": "parentMetaObjectId", - "start": 9482, - "end": 9500, + "start": 12913, + "end": 12931, "loc": { "start": { - "line": 174, + "line": 278, "column": 56 }, "end": { - "line": 174, + "line": 278, "column": 74 } } @@ -65402,15 +89575,15 @@ "binop": null, "updateContext": null }, - "start": 9500, - "end": 9501, + "start": 12931, + "end": 12932, "loc": { "start": { - "line": 174, + "line": 278, "column": 74 }, "end": { - "line": 174, + "line": 278, "column": 75 } } @@ -65427,15 +89600,15 @@ "postfix": false, "binop": null }, - "start": 9514, - "end": 9515, + "start": 12945, + "end": 12946, "loc": { "start": { - "line": 175, + "line": 279, "column": 12 }, "end": { - "line": 175, + "line": 279, "column": 13 } } @@ -65455,15 +89628,15 @@ "updateContext": null }, "value": "if", - "start": 9528, - "end": 9530, + "start": 12959, + "end": 12961, "loc": { "start": { - "line": 176, + "line": 280, "column": 12 }, "end": { - "line": 176, + "line": 280, "column": 14 } } @@ -65480,15 +89653,15 @@ "postfix": false, "binop": null }, - "start": 9531, - "end": 9532, + "start": 12962, + "end": 12963, "loc": { "start": { - "line": 176, + "line": 280, "column": 15 }, "end": { - "line": 176, + "line": 280, "column": 16 } } @@ -65506,15 +89679,15 @@ "binop": null }, "value": "metaObject", - "start": 9532, - "end": 9542, + "start": 12963, + "end": 12973, "loc": { "start": { - "line": 176, + "line": 280, "column": 16 }, "end": { - "line": 176, + "line": 280, "column": 26 } } @@ -65532,15 +89705,15 @@ "binop": null, "updateContext": null }, - "start": 9542, - "end": 9543, + "start": 12973, + "end": 12974, "loc": { "start": { - "line": 176, + "line": 280, "column": 26 }, "end": { - "line": 176, + "line": 280, "column": 27 } } @@ -65558,15 +89731,15 @@ "binop": null }, "value": "propertySetIds", - "start": 9543, - "end": 9557, + "start": 12974, + "end": 12988, "loc": { "start": { - "line": 176, + "line": 280, "column": 27 }, "end": { - "line": 176, + "line": 280, "column": 41 } } @@ -65585,15 +89758,15 @@ "updateContext": null }, "value": "&&", - "start": 9558, - "end": 9560, + "start": 12989, + "end": 12991, "loc": { "start": { - "line": 176, + "line": 280, "column": 42 }, "end": { - "line": 176, + "line": 280, "column": 44 } } @@ -65611,15 +89784,15 @@ "binop": null }, "value": "metaObject", - "start": 9561, - "end": 9571, + "start": 12992, + "end": 13002, "loc": { "start": { - "line": 176, + "line": 280, "column": 45 }, "end": { - "line": 176, + "line": 280, "column": 55 } } @@ -65637,15 +89810,15 @@ "binop": null, "updateContext": null }, - "start": 9571, - "end": 9572, + "start": 13002, + "end": 13003, "loc": { "start": { - "line": 176, + "line": 280, "column": 55 }, "end": { - "line": 176, + "line": 280, "column": 56 } } @@ -65663,15 +89836,15 @@ "binop": null }, "value": "propertySetIds", - "start": 9572, - "end": 9586, + "start": 13003, + "end": 13017, "loc": { "start": { - "line": 176, + "line": 280, "column": 56 }, "end": { - "line": 176, + "line": 280, "column": 70 } } @@ -65689,15 +89862,15 @@ "binop": null, "updateContext": null }, - "start": 9586, - "end": 9587, + "start": 13017, + "end": 13018, "loc": { "start": { - "line": 176, + "line": 280, "column": 70 }, "end": { - "line": 176, + "line": 280, "column": 71 } } @@ -65715,15 +89888,15 @@ "binop": null }, "value": "length", - "start": 9587, - "end": 9593, + "start": 13018, + "end": 13024, "loc": { "start": { - "line": 176, + "line": 280, "column": 71 }, "end": { - "line": 176, + "line": 280, "column": 77 } } @@ -65742,15 +89915,15 @@ "updateContext": null }, "value": ">", - "start": 9594, - "end": 9595, + "start": 13025, + "end": 13026, "loc": { "start": { - "line": 176, + "line": 280, "column": 78 }, "end": { - "line": 176, + "line": 280, "column": 79 } } @@ -65769,15 +89942,15 @@ "updateContext": null }, "value": 0, - "start": 9596, - "end": 9597, + "start": 13027, + "end": 13028, "loc": { "start": { - "line": 176, + "line": 280, "column": 80 }, "end": { - "line": 176, + "line": 280, "column": 81 } } @@ -65794,15 +89967,15 @@ "postfix": false, "binop": null }, - "start": 9597, - "end": 9598, + "start": 13028, + "end": 13029, "loc": { "start": { - "line": 176, + "line": 280, "column": 81 }, "end": { - "line": 176, + "line": 280, "column": 82 } } @@ -65819,15 +89992,15 @@ "postfix": false, "binop": null }, - "start": 9599, - "end": 9600, + "start": 13030, + "end": 13031, "loc": { "start": { - "line": 176, + "line": 280, "column": 83 }, "end": { - "line": 176, + "line": 280, "column": 84 } } @@ -65845,15 +90018,15 @@ "binop": null }, "value": "metaObjectJSON", - "start": 9617, - "end": 9631, + "start": 13048, + "end": 13062, "loc": { "start": { - "line": 177, + "line": 281, "column": 16 }, "end": { - "line": 177, + "line": 281, "column": 30 } } @@ -65871,15 +90044,15 @@ "binop": null, "updateContext": null }, - "start": 9631, - "end": 9632, + "start": 13062, + "end": 13063, "loc": { "start": { - "line": 177, + "line": 281, "column": 30 }, "end": { - "line": 177, + "line": 281, "column": 31 } } @@ -65897,15 +90070,15 @@ "binop": null }, "value": "propertySetIds", - "start": 9632, - "end": 9646, + "start": 13063, + "end": 13077, "loc": { "start": { - "line": 177, + "line": 281, "column": 31 }, "end": { - "line": 177, + "line": 281, "column": 45 } } @@ -65924,15 +90097,15 @@ "updateContext": null }, "value": "=", - "start": 9647, - "end": 9648, + "start": 13078, + "end": 13079, "loc": { "start": { - "line": 177, + "line": 281, "column": 46 }, "end": { - "line": 177, + "line": 281, "column": 47 } } @@ -65950,15 +90123,15 @@ "binop": null }, "value": "metaObject", - "start": 9649, - "end": 9659, + "start": 13080, + "end": 13090, "loc": { "start": { - "line": 177, + "line": 281, "column": 48 }, "end": { - "line": 177, + "line": 281, "column": 58 } } @@ -65976,15 +90149,15 @@ "binop": null, "updateContext": null }, - "start": 9659, - "end": 9660, + "start": 13090, + "end": 13091, "loc": { "start": { - "line": 177, + "line": 281, "column": 58 }, "end": { - "line": 177, + "line": 281, "column": 59 } } @@ -66002,15 +90175,15 @@ "binop": null }, "value": "propertySetIds", - "start": 9660, - "end": 9674, + "start": 13091, + "end": 13105, "loc": { "start": { - "line": 177, + "line": 281, "column": 59 }, "end": { - "line": 177, + "line": 281, "column": 73 } } @@ -66028,15 +90201,15 @@ "binop": null, "updateContext": null }, - "start": 9674, - "end": 9675, + "start": 13105, + "end": 13106, "loc": { "start": { - "line": 177, + "line": 281, "column": 73 }, "end": { - "line": 177, + "line": 281, "column": 74 } } @@ -66053,15 +90226,15 @@ "postfix": false, "binop": null }, - "start": 9688, - "end": 9689, + "start": 13119, + "end": 13120, "loc": { "start": { - "line": 178, + "line": 282, "column": 12 }, "end": { - "line": 178, + "line": 282, "column": 13 } } @@ -66081,15 +90254,15 @@ "updateContext": null }, "value": "if", - "start": 9702, - "end": 9704, + "start": 13133, + "end": 13135, "loc": { "start": { - "line": 179, + "line": 283, "column": 12 }, "end": { - "line": 179, + "line": 283, "column": 14 } } @@ -66106,15 +90279,15 @@ "postfix": false, "binop": null }, - "start": 9705, - "end": 9706, + "start": 13136, + "end": 13137, "loc": { "start": { - "line": 179, + "line": 283, "column": 15 }, "end": { - "line": 179, + "line": 283, "column": 16 } } @@ -66132,15 +90305,15 @@ "binop": null }, "value": "metaObject", - "start": 9706, - "end": 9716, + "start": 13137, + "end": 13147, "loc": { "start": { - "line": 179, + "line": 283, "column": 16 }, "end": { - "line": 179, + "line": 283, "column": 26 } } @@ -66158,15 +90331,15 @@ "binop": null, "updateContext": null }, - "start": 9716, - "end": 9717, + "start": 13147, + "end": 13148, "loc": { "start": { - "line": 179, + "line": 283, "column": 26 }, "end": { - "line": 179, + "line": 283, "column": 27 } } @@ -66184,15 +90357,15 @@ "binop": null }, "value": "external", - "start": 9717, - "end": 9725, + "start": 13148, + "end": 13156, "loc": { "start": { - "line": 179, + "line": 283, "column": 27 }, "end": { - "line": 179, + "line": 283, "column": 35 } } @@ -66209,15 +90382,15 @@ "postfix": false, "binop": null }, - "start": 9725, - "end": 9726, + "start": 13156, + "end": 13157, "loc": { "start": { - "line": 179, + "line": 283, "column": 35 }, "end": { - "line": 179, + "line": 283, "column": 36 } } @@ -66234,15 +90407,15 @@ "postfix": false, "binop": null }, - "start": 9727, - "end": 9728, + "start": 13158, + "end": 13159, "loc": { "start": { - "line": 179, + "line": 283, "column": 37 }, "end": { - "line": 179, + "line": 283, "column": 38 } } @@ -66260,15 +90433,15 @@ "binop": null }, "value": "metaObjectJSON", - "start": 9745, - "end": 9759, + "start": 13176, + "end": 13190, "loc": { "start": { - "line": 180, + "line": 284, "column": 16 }, "end": { - "line": 180, + "line": 284, "column": 30 } } @@ -66286,15 +90459,15 @@ "binop": null, "updateContext": null }, - "start": 9759, - "end": 9760, + "start": 13190, + "end": 13191, "loc": { "start": { - "line": 180, + "line": 284, "column": 30 }, "end": { - "line": 180, + "line": 284, "column": 31 } } @@ -66312,15 +90485,15 @@ "binop": null }, "value": "external", - "start": 9760, - "end": 9768, + "start": 13191, + "end": 13199, "loc": { "start": { - "line": 180, + "line": 284, "column": 31 }, "end": { - "line": 180, + "line": 284, "column": 39 } } @@ -66339,15 +90512,15 @@ "updateContext": null }, "value": "=", - "start": 9769, - "end": 9770, + "start": 13200, + "end": 13201, "loc": { "start": { - "line": 180, + "line": 284, "column": 40 }, "end": { - "line": 180, + "line": 284, "column": 41 } } @@ -66365,15 +90538,15 @@ "binop": null }, "value": "metaObject", - "start": 9771, - "end": 9781, + "start": 13202, + "end": 13212, "loc": { "start": { - "line": 180, + "line": 284, "column": 42 }, "end": { - "line": 180, + "line": 284, "column": 52 } } @@ -66391,15 +90564,15 @@ "binop": null, "updateContext": null }, - "start": 9781, - "end": 9782, + "start": 13212, + "end": 13213, "loc": { "start": { - "line": 180, + "line": 284, "column": 52 }, "end": { - "line": 180, + "line": 284, "column": 53 } } @@ -66417,15 +90590,15 @@ "binop": null }, "value": "external", - "start": 9782, - "end": 9790, + "start": 13213, + "end": 13221, "loc": { "start": { - "line": 180, + "line": 284, "column": 53 }, "end": { - "line": 180, + "line": 284, "column": 61 } } @@ -66443,15 +90616,15 @@ "binop": null, "updateContext": null }, - "start": 9790, - "end": 9791, + "start": 13221, + "end": 13222, "loc": { "start": { - "line": 180, + "line": 284, "column": 61 }, "end": { - "line": 180, + "line": 284, "column": 62 } } @@ -66468,15 +90641,15 @@ "postfix": false, "binop": null }, - "start": 9804, - "end": 9805, + "start": 13235, + "end": 13236, "loc": { "start": { - "line": 181, + "line": 285, "column": 12 }, "end": { - "line": 181, + "line": 285, "column": 13 } } @@ -66494,15 +90667,15 @@ "binop": null }, "value": "data", - "start": 9818, - "end": 9822, + "start": 13249, + "end": 13253, "loc": { "start": { - "line": 182, + "line": 286, "column": 12 }, "end": { - "line": 182, + "line": 286, "column": 16 } } @@ -66520,15 +90693,15 @@ "binop": null, "updateContext": null }, - "start": 9822, - "end": 9823, + "start": 13253, + "end": 13254, "loc": { "start": { - "line": 182, + "line": 286, "column": 16 }, "end": { - "line": 182, + "line": 286, "column": 17 } } @@ -66546,15 +90719,15 @@ "binop": null }, "value": "metadata", - "start": 9823, - "end": 9831, + "start": 13254, + "end": 13262, "loc": { "start": { - "line": 182, + "line": 286, "column": 17 }, "end": { - "line": 182, + "line": 286, "column": 25 } } @@ -66572,15 +90745,15 @@ "binop": null, "updateContext": null }, - "start": 9831, - "end": 9832, + "start": 13262, + "end": 13263, "loc": { "start": { - "line": 182, + "line": 286, "column": 25 }, "end": { - "line": 182, + "line": 286, "column": 26 } } @@ -66598,15 +90771,15 @@ "binop": null }, "value": "metaObjects", - "start": 9832, - "end": 9843, + "start": 13263, + "end": 13274, "loc": { "start": { - "line": 182, + "line": 286, "column": 26 }, "end": { - "line": 182, + "line": 286, "column": 37 } } @@ -66624,15 +90797,15 @@ "binop": null, "updateContext": null }, - "start": 9843, - "end": 9844, + "start": 13274, + "end": 13275, "loc": { "start": { - "line": 182, + "line": 286, "column": 37 }, "end": { - "line": 182, + "line": 286, "column": 38 } } @@ -66650,15 +90823,15 @@ "binop": null }, "value": "push", - "start": 9844, - "end": 9848, + "start": 13275, + "end": 13279, "loc": { "start": { - "line": 182, + "line": 286, "column": 38 }, "end": { - "line": 182, + "line": 286, "column": 42 } } @@ -66675,15 +90848,15 @@ "postfix": false, "binop": null }, - "start": 9848, - "end": 9849, + "start": 13279, + "end": 13280, "loc": { "start": { - "line": 182, + "line": 286, "column": 42 }, "end": { - "line": 182, + "line": 286, "column": 43 } } @@ -66701,15 +90874,15 @@ "binop": null }, "value": "metaObjectJSON", - "start": 9849, - "end": 9863, + "start": 13280, + "end": 13294, "loc": { "start": { - "line": 182, + "line": 286, "column": 43 }, "end": { - "line": 182, + "line": 286, "column": 57 } } @@ -66726,15 +90899,15 @@ "postfix": false, "binop": null }, - "start": 9863, - "end": 9864, + "start": 13294, + "end": 13295, "loc": { "start": { - "line": 182, + "line": 286, "column": 57 }, "end": { - "line": 182, + "line": 286, "column": 58 } } @@ -66752,15 +90925,15 @@ "binop": null, "updateContext": null }, - "start": 9864, - "end": 9865, + "start": 13295, + "end": 13296, "loc": { "start": { - "line": 182, + "line": 286, "column": 58 }, "end": { - "line": 182, + "line": 286, "column": 59 } } @@ -66777,15 +90950,15 @@ "postfix": false, "binop": null }, - "start": 9874, - "end": 9875, + "start": 13305, + "end": 13306, "loc": { "start": { - "line": 183, + "line": 287, "column": 8 }, "end": { - "line": 183, + "line": 287, "column": 9 } } @@ -66802,15 +90975,15 @@ "postfix": false, "binop": null }, - "start": 9880, - "end": 9881, + "start": 13311, + "end": 13312, "loc": { "start": { - "line": 184, + "line": 288, "column": 4 }, "end": { - "line": 184, + "line": 288, "column": 5 } } @@ -66818,15 +90991,15 @@ { "type": "CommentLine", "value": " Geometries", - "start": 9887, - "end": 9900, + "start": 13318, + "end": 13331, "loc": { "start": { - "line": 186, + "line": 290, "column": 4 }, "end": { - "line": 186, + "line": 290, "column": 17 } } @@ -66846,15 +91019,15 @@ "updateContext": null }, "value": "for", - "start": 9906, - "end": 9909, + "start": 13337, + "end": 13340, "loc": { "start": { - "line": 188, + "line": 292, "column": 4 }, "end": { - "line": 188, + "line": 292, "column": 7 } } @@ -66871,15 +91044,15 @@ "postfix": false, "binop": null }, - "start": 9910, - "end": 9911, + "start": 13341, + "end": 13342, "loc": { "start": { - "line": 188, + "line": 292, "column": 8 }, "end": { - "line": 188, + "line": 292, "column": 9 } } @@ -66899,15 +91072,15 @@ "updateContext": null }, "value": "let", - "start": 9911, - "end": 9914, + "start": 13342, + "end": 13345, "loc": { "start": { - "line": 188, + "line": 292, "column": 9 }, "end": { - "line": 188, + "line": 292, "column": 12 } } @@ -66925,15 +91098,15 @@ "binop": null }, "value": "geometryIndex", - "start": 9915, - "end": 9928, + "start": 13346, + "end": 13359, "loc": { "start": { - "line": 188, + "line": 292, "column": 13 }, "end": { - "line": 188, + "line": 292, "column": 26 } } @@ -66952,15 +91125,15 @@ "updateContext": null }, "value": "=", - "start": 9929, - "end": 9930, + "start": 13360, + "end": 13361, "loc": { "start": { - "line": 188, + "line": 292, "column": 27 }, "end": { - "line": 188, + "line": 292, "column": 28 } } @@ -66979,15 +91152,15 @@ "updateContext": null }, "value": 0, - "start": 9931, - "end": 9932, + "start": 13362, + "end": 13363, "loc": { "start": { - "line": 188, + "line": 292, "column": 29 }, "end": { - "line": 188, + "line": 292, "column": 30 } } @@ -67005,15 +91178,15 @@ "binop": null, "updateContext": null }, - "start": 9932, - "end": 9933, + "start": 13363, + "end": 13364, "loc": { "start": { - "line": 188, + "line": 292, "column": 30 }, "end": { - "line": 188, + "line": 292, "column": 31 } } @@ -67031,15 +91204,15 @@ "binop": null }, "value": "geometryIndex", - "start": 9934, - "end": 9947, + "start": 13365, + "end": 13378, "loc": { "start": { - "line": 188, + "line": 292, "column": 32 }, "end": { - "line": 188, + "line": 292, "column": 45 } } @@ -67058,15 +91231,15 @@ "updateContext": null }, "value": "<", - "start": 9948, - "end": 9949, + "start": 13379, + "end": 13380, "loc": { "start": { - "line": 188, + "line": 292, "column": 46 }, "end": { - "line": 188, + "line": 292, "column": 47 } } @@ -67084,15 +91257,15 @@ "binop": null }, "value": "numGeometries", - "start": 9950, - "end": 9963, + "start": 13381, + "end": 13394, "loc": { "start": { - "line": 188, + "line": 292, "column": 48 }, "end": { - "line": 188, + "line": 292, "column": 61 } } @@ -67110,15 +91283,15 @@ "binop": null, "updateContext": null }, - "start": 9963, - "end": 9964, + "start": 13394, + "end": 13395, "loc": { "start": { - "line": 188, + "line": 292, "column": 61 }, "end": { - "line": 188, + "line": 292, "column": 62 } } @@ -67136,15 +91309,15 @@ "binop": null }, "value": "geometryIndex", - "start": 9965, - "end": 9978, + "start": 13396, + "end": 13409, "loc": { "start": { - "line": 188, + "line": 292, "column": 63 }, "end": { - "line": 188, + "line": 292, "column": 76 } } @@ -67162,15 +91335,15 @@ "binop": null }, "value": "++", - "start": 9978, - "end": 9980, + "start": 13409, + "end": 13411, "loc": { "start": { - "line": 188, + "line": 292, "column": 76 }, "end": { - "line": 188, + "line": 292, "column": 78 } } @@ -67187,15 +91360,15 @@ "postfix": false, "binop": null }, - "start": 9980, - "end": 9981, + "start": 13411, + "end": 13412, "loc": { "start": { - "line": 188, + "line": 292, "column": 78 }, "end": { - "line": 188, + "line": 292, "column": 79 } } @@ -67212,15 +91385,15 @@ "postfix": false, "binop": null }, - "start": 9982, - "end": 9983, + "start": 13413, + "end": 13414, "loc": { "start": { - "line": 188, + "line": 292, "column": 80 }, "end": { - "line": 188, + "line": 292, "column": 81 } } @@ -67240,15 +91413,15 @@ "updateContext": null }, "value": "const", - "start": 9992, - "end": 9997, + "start": 13423, + "end": 13428, "loc": { "start": { - "line": 189, + "line": 293, "column": 8 }, "end": { - "line": 189, + "line": 293, "column": 13 } } @@ -67266,15 +91439,15 @@ "binop": null }, "value": "geometry", - "start": 9998, - "end": 10006, + "start": 13429, + "end": 13437, "loc": { "start": { - "line": 189, + "line": 293, "column": 14 }, "end": { - "line": 189, + "line": 293, "column": 22 } } @@ -67293,15 +91466,15 @@ "updateContext": null }, "value": "=", - "start": 10007, - "end": 10008, + "start": 13438, + "end": 13439, "loc": { "start": { - "line": 189, + "line": 293, "column": 23 }, "end": { - "line": 189, + "line": 293, "column": 24 } } @@ -67319,15 +91492,15 @@ "binop": null }, "value": "geometriesList", - "start": 10009, - "end": 10023, + "start": 13440, + "end": 13454, "loc": { "start": { - "line": 189, + "line": 293, "column": 25 }, "end": { - "line": 189, + "line": 293, "column": 39 } } @@ -67345,15 +91518,15 @@ "binop": null, "updateContext": null }, - "start": 10024, - "end": 10025, + "start": 13455, + "end": 13456, "loc": { "start": { - "line": 189, + "line": 293, "column": 40 }, "end": { - "line": 189, + "line": 293, "column": 41 } } @@ -67371,15 +91544,15 @@ "binop": null }, "value": "geometryIndex", - "start": 10025, - "end": 10038, + "start": 13456, + "end": 13469, "loc": { "start": { - "line": 189, + "line": 293, "column": 41 }, "end": { - "line": 189, + "line": 293, "column": 54 } } @@ -67397,15 +91570,15 @@ "binop": null, "updateContext": null }, - "start": 10038, - "end": 10039, + "start": 13469, + "end": 13470, "loc": { "start": { - "line": 189, + "line": 293, "column": 54 }, "end": { - "line": 189, + "line": 293, "column": 55 } } @@ -67423,15 +91596,15 @@ "binop": null, "updateContext": null }, - "start": 10039, - "end": 10040, + "start": 13470, + "end": 13471, "loc": { "start": { - "line": 189, + "line": 293, "column": 55 }, "end": { - "line": 189, + "line": 293, "column": 56 } } @@ -67451,15 +91624,15 @@ "updateContext": null }, "value": "let", - "start": 10049, - "end": 10052, + "start": 13480, + "end": 13483, "loc": { "start": { - "line": 190, + "line": 294, "column": 8 }, "end": { - "line": 190, + "line": 294, "column": 11 } } @@ -67477,15 +91650,15 @@ "binop": null }, "value": "primitiveType", - "start": 10053, - "end": 10066, + "start": 13484, + "end": 13497, "loc": { "start": { - "line": 190, + "line": 294, "column": 12 }, "end": { - "line": 190, + "line": 294, "column": 25 } } @@ -67504,15 +91677,15 @@ "updateContext": null }, "value": "=", - "start": 10067, - "end": 10068, + "start": 13498, + "end": 13499, "loc": { "start": { - "line": 190, + "line": 294, "column": 26 }, "end": { - "line": 190, + "line": 294, "column": 27 } } @@ -67531,15 +91704,15 @@ "updateContext": null }, "value": 1, - "start": 10069, - "end": 10070, + "start": 13500, + "end": 13501, "loc": { "start": { - "line": 190, + "line": 294, "column": 28 }, "end": { - "line": 190, + "line": 294, "column": 29 } } @@ -67557,15 +91730,15 @@ "binop": null, "updateContext": null }, - "start": 10070, - "end": 10071, + "start": 13501, + "end": 13502, "loc": { "start": { - "line": 190, + "line": 294, "column": 29 }, "end": { - "line": 190, + "line": 294, "column": 30 } } @@ -67585,15 +91758,15 @@ "updateContext": null }, "value": "switch", - "start": 10080, - "end": 10086, + "start": 13511, + "end": 13517, "loc": { "start": { - "line": 191, + "line": 295, "column": 8 }, "end": { - "line": 191, + "line": 295, "column": 14 } } @@ -67610,15 +91783,15 @@ "postfix": false, "binop": null }, - "start": 10087, - "end": 10088, + "start": 13518, + "end": 13519, "loc": { "start": { - "line": 191, + "line": 295, "column": 15 }, "end": { - "line": 191, + "line": 295, "column": 16 } } @@ -67636,15 +91809,15 @@ "binop": null }, "value": "geometry", - "start": 10088, - "end": 10096, + "start": 13519, + "end": 13527, "loc": { "start": { - "line": 191, + "line": 295, "column": 16 }, "end": { - "line": 191, + "line": 295, "column": 24 } } @@ -67662,15 +91835,15 @@ "binop": null, "updateContext": null }, - "start": 10096, - "end": 10097, + "start": 13527, + "end": 13528, "loc": { "start": { - "line": 191, + "line": 295, "column": 24 }, "end": { - "line": 191, + "line": 295, "column": 25 } } @@ -67688,15 +91861,15 @@ "binop": null }, "value": "primitiveType", - "start": 10097, - "end": 10110, + "start": 13528, + "end": 13541, "loc": { "start": { - "line": 191, + "line": 295, "column": 25 }, "end": { - "line": 191, + "line": 295, "column": 38 } } @@ -67713,15 +91886,15 @@ "postfix": false, "binop": null }, - "start": 10110, - "end": 10111, + "start": 13541, + "end": 13542, "loc": { "start": { - "line": 191, + "line": 295, "column": 38 }, "end": { - "line": 191, + "line": 295, "column": 39 } } @@ -67738,15 +91911,15 @@ "postfix": false, "binop": null }, - "start": 10112, - "end": 10113, + "start": 13543, + "end": 13544, "loc": { "start": { - "line": 191, + "line": 295, "column": 40 }, "end": { - "line": 191, + "line": 295, "column": 41 } } @@ -67766,15 +91939,15 @@ "updateContext": null }, "value": "case", - "start": 10126, - "end": 10130, + "start": 13557, + "end": 13561, "loc": { "start": { - "line": 192, + "line": 296, "column": 12 }, "end": { - "line": 192, + "line": 296, "column": 16 } } @@ -67793,15 +91966,15 @@ "updateContext": null }, "value": "triangles", - "start": 10131, - "end": 10142, + "start": 13562, + "end": 13573, "loc": { "start": { - "line": 192, + "line": 296, "column": 17 }, "end": { - "line": 192, + "line": 296, "column": 28 } } @@ -67819,15 +91992,15 @@ "binop": null, "updateContext": null }, - "start": 10142, - "end": 10143, + "start": 13573, + "end": 13574, "loc": { "start": { - "line": 192, + "line": 296, "column": 28 }, "end": { - "line": 192, + "line": 296, "column": 29 } } @@ -67845,15 +92018,15 @@ "binop": null }, "value": "primitiveType", - "start": 10160, - "end": 10173, + "start": 13591, + "end": 13604, "loc": { "start": { - "line": 193, + "line": 297, "column": 16 }, "end": { - "line": 193, + "line": 297, "column": 29 } } @@ -67872,15 +92045,15 @@ "updateContext": null }, "value": "=", - "start": 10174, - "end": 10175, + "start": 13605, + "end": 13606, "loc": { "start": { - "line": 193, + "line": 297, "column": 30 }, "end": { - "line": 193, + "line": 297, "column": 31 } } @@ -67898,15 +92071,15 @@ "binop": null }, "value": "geometry", - "start": 10176, - "end": 10184, + "start": 13607, + "end": 13615, "loc": { "start": { - "line": 193, + "line": 297, "column": 32 }, "end": { - "line": 193, + "line": 297, "column": 40 } } @@ -67924,15 +92097,15 @@ "binop": null, "updateContext": null }, - "start": 10184, - "end": 10185, + "start": 13615, + "end": 13616, "loc": { "start": { - "line": 193, + "line": 297, "column": 40 }, "end": { - "line": 193, + "line": 297, "column": 41 } } @@ -67950,15 +92123,15 @@ "binop": null }, "value": "solid", - "start": 10185, - "end": 10190, + "start": 13616, + "end": 13621, "loc": { "start": { - "line": 193, + "line": 297, "column": 41 }, "end": { - "line": 193, + "line": 297, "column": 46 } } @@ -67976,15 +92149,15 @@ "binop": null, "updateContext": null }, - "start": 10191, - "end": 10192, + "start": 13622, + "end": 13623, "loc": { "start": { - "line": 193, + "line": 297, "column": 47 }, "end": { - "line": 193, + "line": 297, "column": 48 } } @@ -68003,15 +92176,15 @@ "updateContext": null }, "value": 0, - "start": 10193, - "end": 10194, + "start": 13624, + "end": 13625, "loc": { "start": { - "line": 193, + "line": 297, "column": 49 }, "end": { - "line": 193, + "line": 297, "column": 50 } } @@ -68029,15 +92202,15 @@ "binop": null, "updateContext": null }, - "start": 10195, - "end": 10196, + "start": 13626, + "end": 13627, "loc": { "start": { - "line": 193, + "line": 297, "column": 51 }, "end": { - "line": 193, + "line": 297, "column": 52 } } @@ -68056,15 +92229,15 @@ "updateContext": null }, "value": 1, - "start": 10197, - "end": 10198, + "start": 13628, + "end": 13629, "loc": { "start": { - "line": 193, + "line": 297, "column": 53 }, "end": { - "line": 193, + "line": 297, "column": 54 } } @@ -68082,15 +92255,15 @@ "binop": null, "updateContext": null }, - "start": 10198, - "end": 10199, + "start": 13629, + "end": 13630, "loc": { "start": { - "line": 193, + "line": 297, "column": 54 }, "end": { - "line": 193, + "line": 297, "column": 55 } } @@ -68110,15 +92283,15 @@ "updateContext": null }, "value": "break", - "start": 10216, - "end": 10221, + "start": 13647, + "end": 13652, "loc": { "start": { - "line": 194, + "line": 298, "column": 16 }, "end": { - "line": 194, + "line": 298, "column": 21 } } @@ -68136,15 +92309,15 @@ "binop": null, "updateContext": null }, - "start": 10221, - "end": 10222, + "start": 13652, + "end": 13653, "loc": { "start": { - "line": 194, + "line": 298, "column": 21 }, "end": { - "line": 194, + "line": 298, "column": 22 } } @@ -68164,15 +92337,15 @@ "updateContext": null }, "value": "case", - "start": 10235, - "end": 10239, + "start": 13666, + "end": 13670, "loc": { "start": { - "line": 195, + "line": 299, "column": 12 }, "end": { - "line": 195, + "line": 299, "column": 16 } } @@ -68191,15 +92364,15 @@ "updateContext": null }, "value": "points", - "start": 10240, - "end": 10248, + "start": 13671, + "end": 13679, "loc": { "start": { - "line": 195, + "line": 299, "column": 17 }, "end": { - "line": 195, + "line": 299, "column": 25 } } @@ -68217,15 +92390,15 @@ "binop": null, "updateContext": null }, - "start": 10248, - "end": 10249, + "start": 13679, + "end": 13680, "loc": { "start": { - "line": 195, + "line": 299, "column": 25 }, "end": { - "line": 195, + "line": 299, "column": 26 } } @@ -68243,15 +92416,15 @@ "binop": null }, "value": "primitiveType", - "start": 10266, - "end": 10279, + "start": 13697, + "end": 13710, "loc": { "start": { - "line": 196, + "line": 300, "column": 16 }, "end": { - "line": 196, + "line": 300, "column": 29 } } @@ -68270,15 +92443,15 @@ "updateContext": null }, "value": "=", - "start": 10280, - "end": 10281, + "start": 13711, + "end": 13712, "loc": { "start": { - "line": 196, + "line": 300, "column": 30 }, "end": { - "line": 196, + "line": 300, "column": 31 } } @@ -68297,15 +92470,15 @@ "updateContext": null }, "value": 2, - "start": 10282, - "end": 10283, + "start": 13713, + "end": 13714, "loc": { "start": { - "line": 196, + "line": 300, "column": 32 }, "end": { - "line": 196, + "line": 300, "column": 33 } } @@ -68323,15 +92496,15 @@ "binop": null, "updateContext": null }, - "start": 10283, - "end": 10284, + "start": 13714, + "end": 13715, "loc": { "start": { - "line": 196, + "line": 300, "column": 33 }, "end": { - "line": 196, + "line": 300, "column": 34 } } @@ -68351,15 +92524,15 @@ "updateContext": null }, "value": "break", - "start": 10301, - "end": 10306, + "start": 13732, + "end": 13737, "loc": { "start": { - "line": 197, + "line": 301, "column": 16 }, "end": { - "line": 197, + "line": 301, "column": 21 } } @@ -68377,15 +92550,15 @@ "binop": null, "updateContext": null }, - "start": 10306, - "end": 10307, + "start": 13737, + "end": 13738, "loc": { "start": { - "line": 197, + "line": 301, "column": 21 }, "end": { - "line": 197, + "line": 301, "column": 22 } } @@ -68405,15 +92578,15 @@ "updateContext": null }, "value": "case", - "start": 10320, - "end": 10324, + "start": 13751, + "end": 13755, "loc": { "start": { - "line": 198, + "line": 302, "column": 12 }, "end": { - "line": 198, + "line": 302, "column": 16 } } @@ -68432,15 +92605,15 @@ "updateContext": null }, "value": "lines", - "start": 10325, - "end": 10332, + "start": 13756, + "end": 13763, "loc": { "start": { - "line": 198, + "line": 302, "column": 17 }, "end": { - "line": 198, + "line": 302, "column": 24 } } @@ -68458,15 +92631,15 @@ "binop": null, "updateContext": null }, - "start": 10332, - "end": 10333, + "start": 13763, + "end": 13764, "loc": { "start": { - "line": 198, + "line": 302, "column": 24 }, "end": { - "line": 198, + "line": 302, "column": 25 } } @@ -68484,15 +92657,15 @@ "binop": null }, "value": "primitiveType", - "start": 10350, - "end": 10363, + "start": 13781, + "end": 13794, "loc": { "start": { - "line": 199, + "line": 303, "column": 16 }, "end": { - "line": 199, + "line": 303, "column": 29 } } @@ -68511,15 +92684,15 @@ "updateContext": null }, "value": "=", - "start": 10364, - "end": 10365, + "start": 13795, + "end": 13796, "loc": { "start": { - "line": 199, + "line": 303, "column": 30 }, "end": { - "line": 199, + "line": 303, "column": 31 } } @@ -68538,15 +92711,15 @@ "updateContext": null }, "value": 3, - "start": 10366, - "end": 10367, + "start": 13797, + "end": 13798, "loc": { "start": { - "line": 199, + "line": 303, "column": 32 }, "end": { - "line": 199, + "line": 303, "column": 33 } } @@ -68564,15 +92737,15 @@ "binop": null, "updateContext": null }, - "start": 10367, - "end": 10368, + "start": 13798, + "end": 13799, "loc": { "start": { - "line": 199, + "line": 303, "column": 33 }, "end": { - "line": 199, + "line": 303, "column": 34 } } @@ -68592,15 +92765,15 @@ "updateContext": null }, "value": "break", - "start": 10385, - "end": 10390, + "start": 13816, + "end": 13821, "loc": { "start": { - "line": 200, + "line": 304, "column": 16 }, "end": { - "line": 200, + "line": 304, "column": 21 } } @@ -68618,15 +92791,15 @@ "binop": null, "updateContext": null }, - "start": 10390, - "end": 10391, + "start": 13821, + "end": 13822, "loc": { "start": { - "line": 200, + "line": 304, "column": 21 }, "end": { - "line": 200, + "line": 304, "column": 22 } } @@ -68646,15 +92819,15 @@ "updateContext": null }, "value": "case", - "start": 10404, - "end": 10408, + "start": 13835, + "end": 13839, "loc": { "start": { - "line": 201, + "line": 305, "column": 12 }, "end": { - "line": 201, + "line": 305, "column": 16 } } @@ -68673,15 +92846,15 @@ "updateContext": null }, "value": "line-strip", - "start": 10409, - "end": 10421, + "start": 13840, + "end": 13852, "loc": { "start": { - "line": 201, + "line": 305, "column": 17 }, "end": { - "line": 201, + "line": 305, "column": 29 } } @@ -68699,15 +92872,15 @@ "binop": null, "updateContext": null }, - "start": 10421, - "end": 10422, + "start": 13852, + "end": 13853, "loc": { "start": { - "line": 201, + "line": 305, "column": 29 }, "end": { - "line": 201, + "line": 305, "column": 30 } } @@ -68727,15 +92900,15 @@ "updateContext": null }, "value": "case", - "start": 10435, - "end": 10439, + "start": 13866, + "end": 13870, "loc": { "start": { - "line": 202, + "line": 306, "column": 12 }, "end": { - "line": 202, + "line": 306, "column": 16 } } @@ -68754,15 +92927,15 @@ "updateContext": null }, "value": "line-loop", - "start": 10440, - "end": 10451, + "start": 13871, + "end": 13882, "loc": { "start": { - "line": 202, + "line": 306, "column": 17 }, "end": { - "line": 202, + "line": 306, "column": 28 } } @@ -68780,15 +92953,15 @@ "binop": null, "updateContext": null }, - "start": 10451, - "end": 10452, + "start": 13882, + "end": 13883, "loc": { "start": { - "line": 202, + "line": 306, "column": 28 }, "end": { - "line": 202, + "line": 306, "column": 29 } } @@ -68806,15 +92979,15 @@ "binop": null }, "value": "primitiveType", - "start": 10469, - "end": 10482, + "start": 13900, + "end": 13913, "loc": { "start": { - "line": 203, + "line": 307, "column": 16 }, "end": { - "line": 203, + "line": 307, "column": 29 } } @@ -68833,15 +93006,15 @@ "updateContext": null }, "value": "=", - "start": 10483, - "end": 10484, + "start": 13914, + "end": 13915, "loc": { "start": { - "line": 203, + "line": 307, "column": 30 }, "end": { - "line": 203, + "line": 307, "column": 31 } } @@ -68860,15 +93033,15 @@ "updateContext": null }, "value": 4, - "start": 10485, - "end": 10486, + "start": 13916, + "end": 13917, "loc": { "start": { - "line": 203, + "line": 307, "column": 32 }, "end": { - "line": 203, + "line": 307, "column": 33 } } @@ -68886,15 +93059,15 @@ "binop": null, "updateContext": null }, - "start": 10486, - "end": 10487, + "start": 13917, + "end": 13918, "loc": { "start": { - "line": 203, + "line": 307, "column": 33 }, "end": { - "line": 203, + "line": 307, "column": 34 } } @@ -68914,15 +93087,15 @@ "updateContext": null }, "value": "break", - "start": 10504, - "end": 10509, + "start": 13935, + "end": 13940, "loc": { "start": { - "line": 204, + "line": 308, "column": 16 }, "end": { - "line": 204, + "line": 308, "column": 21 } } @@ -68940,15 +93113,15 @@ "binop": null, "updateContext": null }, - "start": 10509, - "end": 10510, + "start": 13940, + "end": 13941, "loc": { "start": { - "line": 204, + "line": 308, "column": 21 }, "end": { - "line": 204, + "line": 308, "column": 22 } } @@ -68968,15 +93141,15 @@ "updateContext": null }, "value": "case", - "start": 10523, - "end": 10527, + "start": 13954, + "end": 13958, "loc": { "start": { - "line": 205, + "line": 309, "column": 12 }, "end": { - "line": 205, + "line": 309, "column": 16 } } @@ -68995,15 +93168,15 @@ "updateContext": null }, "value": "triangle-strip", - "start": 10528, - "end": 10544, + "start": 13959, + "end": 13975, "loc": { "start": { - "line": 205, + "line": 309, "column": 17 }, "end": { - "line": 205, + "line": 309, "column": 33 } } @@ -69021,15 +93194,15 @@ "binop": null, "updateContext": null }, - "start": 10544, - "end": 10545, + "start": 13975, + "end": 13976, "loc": { "start": { - "line": 205, + "line": 309, "column": 33 }, "end": { - "line": 205, + "line": 309, "column": 34 } } @@ -69047,15 +93220,15 @@ "binop": null }, "value": "primitiveType", - "start": 10562, - "end": 10575, + "start": 13993, + "end": 14006, "loc": { "start": { - "line": 206, + "line": 310, "column": 16 }, "end": { - "line": 206, + "line": 310, "column": 29 } } @@ -69074,15 +93247,15 @@ "updateContext": null }, "value": "=", - "start": 10576, - "end": 10577, + "start": 14007, + "end": 14008, "loc": { "start": { - "line": 206, + "line": 310, "column": 30 }, "end": { - "line": 206, + "line": 310, "column": 31 } } @@ -69101,15 +93274,15 @@ "updateContext": null }, "value": 5, - "start": 10578, - "end": 10579, + "start": 14009, + "end": 14010, "loc": { "start": { - "line": 206, + "line": 310, "column": 32 }, "end": { - "line": 206, + "line": 310, "column": 33 } } @@ -69127,15 +93300,15 @@ "binop": null, "updateContext": null }, - "start": 10579, - "end": 10580, + "start": 14010, + "end": 14011, "loc": { "start": { - "line": 206, + "line": 310, "column": 33 }, "end": { - "line": 206, + "line": 310, "column": 34 } } @@ -69155,15 +93328,15 @@ "updateContext": null }, "value": "break", - "start": 10597, - "end": 10602, + "start": 14028, + "end": 14033, "loc": { "start": { - "line": 207, + "line": 311, "column": 16 }, "end": { - "line": 207, + "line": 311, "column": 21 } } @@ -69181,15 +93354,15 @@ "binop": null, "updateContext": null }, - "start": 10602, - "end": 10603, + "start": 14033, + "end": 14034, "loc": { "start": { - "line": 207, + "line": 311, "column": 21 }, "end": { - "line": 207, + "line": 311, "column": 22 } } @@ -69209,15 +93382,15 @@ "updateContext": null }, "value": "case", - "start": 10616, - "end": 10620, + "start": 14047, + "end": 14051, "loc": { "start": { - "line": 208, + "line": 312, "column": 12 }, "end": { - "line": 208, + "line": 312, "column": 16 } } @@ -69236,15 +93409,15 @@ "updateContext": null }, "value": "triangle-fan", - "start": 10621, - "end": 10635, + "start": 14052, + "end": 14066, "loc": { "start": { - "line": 208, + "line": 312, "column": 17 }, "end": { - "line": 208, + "line": 312, "column": 31 } } @@ -69262,15 +93435,15 @@ "binop": null, "updateContext": null }, - "start": 10635, - "end": 10636, + "start": 14066, + "end": 14067, "loc": { "start": { - "line": 208, + "line": 312, "column": 31 }, "end": { - "line": 208, + "line": 312, "column": 32 } } @@ -69288,15 +93461,15 @@ "binop": null }, "value": "primitiveType", - "start": 10653, - "end": 10666, + "start": 14084, + "end": 14097, "loc": { "start": { - "line": 209, + "line": 313, "column": 16 }, "end": { - "line": 209, + "line": 313, "column": 29 } } @@ -69315,15 +93488,15 @@ "updateContext": null }, "value": "=", - "start": 10667, - "end": 10668, + "start": 14098, + "end": 14099, "loc": { "start": { - "line": 209, + "line": 313, "column": 30 }, "end": { - "line": 209, + "line": 313, "column": 31 } } @@ -69342,15 +93515,15 @@ "updateContext": null }, "value": 6, - "start": 10669, - "end": 10670, + "start": 14100, + "end": 14101, "loc": { "start": { - "line": 209, + "line": 313, "column": 32 }, "end": { - "line": 209, + "line": 313, "column": 33 } } @@ -69368,15 +93541,15 @@ "binop": null, "updateContext": null }, - "start": 10670, - "end": 10671, + "start": 14101, + "end": 14102, "loc": { "start": { - "line": 209, + "line": 313, "column": 33 }, "end": { - "line": 209, + "line": 313, "column": 34 } } @@ -69396,15 +93569,15 @@ "updateContext": null }, "value": "break", - "start": 10688, - "end": 10693, + "start": 14119, + "end": 14124, "loc": { "start": { - "line": 210, + "line": 314, "column": 16 }, "end": { - "line": 210, + "line": 314, "column": 21 } } @@ -69422,15 +93595,15 @@ "binop": null, "updateContext": null }, - "start": 10693, - "end": 10694, + "start": 14124, + "end": 14125, "loc": { "start": { - "line": 210, + "line": 314, "column": 21 }, "end": { - "line": 210, + "line": 314, "column": 22 } } @@ -69450,15 +93623,15 @@ "updateContext": null }, "value": "default", - "start": 10707, - "end": 10714, + "start": 14138, + "end": 14145, "loc": { "start": { - "line": 211, + "line": 315, "column": 12 }, "end": { - "line": 211, + "line": 315, "column": 19 } } @@ -69476,15 +93649,15 @@ "binop": null, "updateContext": null }, - "start": 10714, - "end": 10715, + "start": 14145, + "end": 14146, "loc": { "start": { - "line": 211, + "line": 315, "column": 19 }, "end": { - "line": 211, + "line": 315, "column": 20 } } @@ -69502,15 +93675,15 @@ "binop": null }, "value": "primitiveType", - "start": 10732, - "end": 10745, + "start": 14163, + "end": 14176, "loc": { "start": { - "line": 212, + "line": 316, "column": 16 }, "end": { - "line": 212, + "line": 316, "column": 29 } } @@ -69529,15 +93702,15 @@ "updateContext": null }, "value": "=", - "start": 10746, - "end": 10747, + "start": 14177, + "end": 14178, "loc": { "start": { - "line": 212, + "line": 316, "column": 30 }, "end": { - "line": 212, + "line": 316, "column": 31 } } @@ -69556,15 +93729,15 @@ "updateContext": null }, "value": 1, - "start": 10748, - "end": 10749, + "start": 14179, + "end": 14180, "loc": { "start": { - "line": 212, + "line": 316, "column": 32 }, "end": { - "line": 212, + "line": 316, "column": 33 } } @@ -69581,15 +93754,15 @@ "postfix": false, "binop": null }, - "start": 10758, - "end": 10759, + "start": 14189, + "end": 14190, "loc": { "start": { - "line": 213, + "line": 317, "column": 8 }, "end": { - "line": 213, + "line": 317, "column": 9 } } @@ -69607,15 +93780,15 @@ "binop": null }, "value": "data", - "start": 10768, - "end": 10772, + "start": 14199, + "end": 14203, "loc": { "start": { - "line": 214, + "line": 318, "column": 8 }, "end": { - "line": 214, + "line": 318, "column": 12 } } @@ -69633,15 +93806,15 @@ "binop": null, "updateContext": null }, - "start": 10772, - "end": 10773, + "start": 14203, + "end": 14204, "loc": { "start": { - "line": 214, + "line": 318, "column": 12 }, "end": { - "line": 214, + "line": 318, "column": 13 } } @@ -69659,15 +93832,15 @@ "binop": null }, "value": "eachGeometryPrimitiveType", - "start": 10773, - "end": 10798, + "start": 14204, + "end": 14229, "loc": { "start": { - "line": 214, + "line": 318, "column": 13 }, "end": { - "line": 214, + "line": 318, "column": 38 } } @@ -69685,15 +93858,15 @@ "binop": null, "updateContext": null }, - "start": 10799, - "end": 10800, + "start": 14230, + "end": 14231, "loc": { "start": { - "line": 214, + "line": 318, "column": 39 }, "end": { - "line": 214, + "line": 318, "column": 40 } } @@ -69711,15 +93884,15 @@ "binop": null }, "value": "geometryIndex", - "start": 10800, - "end": 10813, + "start": 14231, + "end": 14244, "loc": { "start": { - "line": 214, + "line": 318, "column": 40 }, "end": { - "line": 214, + "line": 318, "column": 53 } } @@ -69737,15 +93910,15 @@ "binop": null, "updateContext": null }, - "start": 10813, - "end": 10814, + "start": 14244, + "end": 14245, "loc": { "start": { - "line": 214, + "line": 318, "column": 53 }, "end": { - "line": 214, + "line": 318, "column": 54 } } @@ -69764,15 +93937,15 @@ "updateContext": null }, "value": "=", - "start": 10815, - "end": 10816, + "start": 14246, + "end": 14247, "loc": { "start": { - "line": 214, + "line": 318, "column": 55 }, "end": { - "line": 214, + "line": 318, "column": 56 } } @@ -69790,15 +93963,15 @@ "binop": null }, "value": "primitiveType", - "start": 10817, - "end": 10830, + "start": 14248, + "end": 14261, "loc": { "start": { - "line": 214, + "line": 318, "column": 57 }, "end": { - "line": 214, + "line": 318, "column": 70 } } @@ -69816,15 +93989,15 @@ "binop": null, "updateContext": null }, - "start": 10830, - "end": 10831, + "start": 14261, + "end": 14262, "loc": { "start": { - "line": 214, + "line": 318, "column": 70 }, "end": { - "line": 214, + "line": 318, "column": 71 } } @@ -69842,15 +94015,15 @@ "binop": null }, "value": "data", - "start": 10840, - "end": 10844, + "start": 14271, + "end": 14275, "loc": { "start": { - "line": 215, + "line": 319, "column": 8 }, "end": { - "line": 215, + "line": 319, "column": 12 } } @@ -69868,15 +94041,15 @@ "binop": null, "updateContext": null }, - "start": 10844, - "end": 10845, + "start": 14275, + "end": 14276, "loc": { "start": { - "line": 215, + "line": 319, "column": 12 }, "end": { - "line": 215, + "line": 319, "column": 13 } } @@ -69894,15 +94067,15 @@ "binop": null }, "value": "eachGeometryPositionsPortion", - "start": 10845, - "end": 10873, + "start": 14276, + "end": 14304, "loc": { "start": { - "line": 215, + "line": 319, "column": 13 }, "end": { - "line": 215, + "line": 319, "column": 41 } } @@ -69920,15 +94093,15 @@ "binop": null, "updateContext": null }, - "start": 10874, - "end": 10875, + "start": 14305, + "end": 14306, "loc": { "start": { - "line": 215, + "line": 319, "column": 42 }, "end": { - "line": 215, + "line": 319, "column": 43 } } @@ -69946,15 +94119,15 @@ "binop": null }, "value": "geometryIndex", - "start": 10875, - "end": 10888, + "start": 14306, + "end": 14319, "loc": { "start": { - "line": 215, + "line": 319, "column": 43 }, "end": { - "line": 215, + "line": 319, "column": 56 } } @@ -69972,15 +94145,15 @@ "binop": null, "updateContext": null }, - "start": 10888, - "end": 10889, + "start": 14319, + "end": 14320, "loc": { "start": { - "line": 215, + "line": 319, "column": 56 }, "end": { - "line": 215, + "line": 319, "column": 57 } } @@ -69999,15 +94172,15 @@ "updateContext": null }, "value": "=", - "start": 10890, - "end": 10891, + "start": 14321, + "end": 14322, "loc": { "start": { - "line": 215, + "line": 319, "column": 58 }, "end": { - "line": 215, + "line": 319, "column": 59 } } @@ -70025,15 +94198,15 @@ "binop": null }, "value": "countPositions", - "start": 10892, - "end": 10906, + "start": 14323, + "end": 14337, "loc": { "start": { - "line": 215, + "line": 319, "column": 60 }, "end": { - "line": 215, + "line": 319, "column": 74 } } @@ -70051,15 +94224,15 @@ "binop": null, "updateContext": null }, - "start": 10906, - "end": 10907, + "start": 14337, + "end": 14338, "loc": { "start": { - "line": 215, + "line": 319, "column": 74 }, "end": { - "line": 215, + "line": 319, "column": 75 } } @@ -70077,15 +94250,15 @@ "binop": null }, "value": "data", - "start": 10916, - "end": 10920, + "start": 14347, + "end": 14351, "loc": { "start": { - "line": 216, + "line": 320, "column": 8 }, "end": { - "line": 216, + "line": 320, "column": 12 } } @@ -70103,15 +94276,15 @@ "binop": null, "updateContext": null }, - "start": 10920, - "end": 10921, + "start": 14351, + "end": 14352, "loc": { "start": { - "line": 216, + "line": 320, "column": 12 }, "end": { - "line": 216, + "line": 320, "column": 13 } } @@ -70129,15 +94302,15 @@ "binop": null }, "value": "eachGeometryNormalsPortion", - "start": 10921, - "end": 10947, + "start": 14352, + "end": 14378, "loc": { "start": { - "line": 216, + "line": 320, "column": 13 }, "end": { - "line": 216, + "line": 320, "column": 39 } } @@ -70155,15 +94328,15 @@ "binop": null, "updateContext": null }, - "start": 10948, - "end": 10949, + "start": 14379, + "end": 14380, "loc": { "start": { - "line": 216, + "line": 320, "column": 40 }, "end": { - "line": 216, + "line": 320, "column": 41 } } @@ -70181,15 +94354,15 @@ "binop": null }, "value": "geometryIndex", - "start": 10949, - "end": 10962, + "start": 14380, + "end": 14393, "loc": { "start": { - "line": 216, + "line": 320, "column": 41 }, "end": { - "line": 216, + "line": 320, "column": 54 } } @@ -70207,15 +94380,15 @@ "binop": null, "updateContext": null }, - "start": 10962, - "end": 10963, + "start": 14393, + "end": 14394, "loc": { "start": { - "line": 216, + "line": 320, "column": 54 }, "end": { - "line": 216, + "line": 320, "column": 55 } } @@ -70234,15 +94407,15 @@ "updateContext": null }, "value": "=", - "start": 10964, - "end": 10965, + "start": 14395, + "end": 14396, "loc": { "start": { - "line": 216, + "line": 320, "column": 56 }, "end": { - "line": 216, + "line": 320, "column": 57 } } @@ -70260,15 +94433,15 @@ "binop": null }, "value": "countNormals", - "start": 10966, - "end": 10978, + "start": 14397, + "end": 14409, "loc": { "start": { - "line": 216, + "line": 320, "column": 58 }, "end": { - "line": 216, + "line": 320, "column": 70 } } @@ -70286,15 +94459,15 @@ "binop": null, "updateContext": null }, - "start": 10978, - "end": 10979, + "start": 14409, + "end": 14410, "loc": { "start": { - "line": 216, + "line": 320, "column": 70 }, "end": { - "line": 216, + "line": 320, "column": 71 } } @@ -70312,15 +94485,15 @@ "binop": null }, "value": "data", - "start": 10988, - "end": 10992, + "start": 14419, + "end": 14423, "loc": { "start": { - "line": 217, + "line": 321, "column": 8 }, "end": { - "line": 217, + "line": 321, "column": 12 } } @@ -70338,15 +94511,15 @@ "binop": null, "updateContext": null }, - "start": 10992, - "end": 10993, + "start": 14423, + "end": 14424, "loc": { "start": { - "line": 217, + "line": 321, "column": 12 }, "end": { - "line": 217, + "line": 321, "column": 13 } } @@ -70364,15 +94537,15 @@ "binop": null }, "value": "eachGeometryColorsPortion", - "start": 10993, - "end": 11018, + "start": 14424, + "end": 14449, "loc": { "start": { - "line": 217, + "line": 321, "column": 13 }, "end": { - "line": 217, + "line": 321, "column": 38 } } @@ -70390,15 +94563,15 @@ "binop": null, "updateContext": null }, - "start": 11019, - "end": 11020, + "start": 14450, + "end": 14451, "loc": { "start": { - "line": 217, + "line": 321, "column": 39 }, "end": { - "line": 217, + "line": 321, "column": 40 } } @@ -70416,15 +94589,15 @@ "binop": null }, "value": "geometryIndex", - "start": 11020, - "end": 11033, + "start": 14451, + "end": 14464, "loc": { "start": { - "line": 217, + "line": 321, "column": 40 }, "end": { - "line": 217, + "line": 321, "column": 53 } } @@ -70442,15 +94615,15 @@ "binop": null, "updateContext": null }, - "start": 11033, - "end": 11034, + "start": 14464, + "end": 14465, "loc": { "start": { - "line": 217, + "line": 321, "column": 53 }, "end": { - "line": 217, + "line": 321, "column": 54 } } @@ -70469,15 +94642,15 @@ "updateContext": null }, "value": "=", - "start": 11035, - "end": 11036, + "start": 14466, + "end": 14467, "loc": { "start": { - "line": 217, + "line": 321, "column": 55 }, "end": { - "line": 217, + "line": 321, "column": 56 } } @@ -70495,15 +94668,15 @@ "binop": null }, "value": "countColors", - "start": 11037, - "end": 11048, + "start": 14468, + "end": 14479, "loc": { "start": { - "line": 217, + "line": 321, "column": 57 }, "end": { - "line": 217, + "line": 321, "column": 68 } } @@ -70521,15 +94694,15 @@ "binop": null, "updateContext": null }, - "start": 11048, - "end": 11049, + "start": 14479, + "end": 14480, "loc": { "start": { - "line": 217, + "line": 321, "column": 68 }, "end": { - "line": 217, + "line": 321, "column": 69 } } @@ -70547,15 +94720,15 @@ "binop": null }, "value": "data", - "start": 11058, - "end": 11062, + "start": 14489, + "end": 14493, "loc": { "start": { - "line": 218, + "line": 322, "column": 8 }, "end": { - "line": 218, + "line": 322, "column": 12 } } @@ -70573,15 +94746,15 @@ "binop": null, "updateContext": null }, - "start": 11062, - "end": 11063, + "start": 14493, + "end": 14494, "loc": { "start": { - "line": 218, + "line": 322, "column": 12 }, "end": { - "line": 218, + "line": 322, "column": 13 } } @@ -70599,15 +94772,15 @@ "binop": null }, "value": "eachGeometryUVsPortion", - "start": 11063, - "end": 11085, + "start": 14494, + "end": 14516, "loc": { "start": { - "line": 218, + "line": 322, "column": 13 }, "end": { - "line": 218, + "line": 322, "column": 35 } } @@ -70625,15 +94798,15 @@ "binop": null, "updateContext": null }, - "start": 11086, - "end": 11087, + "start": 14517, + "end": 14518, "loc": { "start": { - "line": 218, + "line": 322, "column": 36 }, "end": { - "line": 218, + "line": 322, "column": 37 } } @@ -70651,15 +94824,15 @@ "binop": null }, "value": "geometryIndex", - "start": 11087, - "end": 11100, + "start": 14518, + "end": 14531, "loc": { "start": { - "line": 218, + "line": 322, "column": 37 }, "end": { - "line": 218, + "line": 322, "column": 50 } } @@ -70677,15 +94850,15 @@ "binop": null, "updateContext": null }, - "start": 11100, - "end": 11101, + "start": 14531, + "end": 14532, "loc": { "start": { - "line": 218, + "line": 322, "column": 50 }, "end": { - "line": 218, + "line": 322, "column": 51 } } @@ -70704,15 +94877,15 @@ "updateContext": null }, "value": "=", - "start": 11102, - "end": 11103, + "start": 14533, + "end": 14534, "loc": { "start": { - "line": 218, + "line": 322, "column": 52 }, "end": { - "line": 218, + "line": 322, "column": 53 } } @@ -70730,15 +94903,15 @@ "binop": null }, "value": "countUVs", - "start": 11104, - "end": 11112, + "start": 14535, + "end": 14543, "loc": { "start": { - "line": 218, + "line": 322, "column": 54 }, "end": { - "line": 218, + "line": 322, "column": 62 } } @@ -70756,15 +94929,15 @@ "binop": null, "updateContext": null }, - "start": 11112, - "end": 11113, + "start": 14543, + "end": 14544, "loc": { "start": { - "line": 218, + "line": 322, "column": 62 }, "end": { - "line": 218, + "line": 322, "column": 63 } } @@ -70782,15 +94955,15 @@ "binop": null }, "value": "data", - "start": 11122, - "end": 11126, + "start": 14553, + "end": 14557, "loc": { "start": { - "line": 219, + "line": 323, "column": 8 }, "end": { - "line": 219, + "line": 323, "column": 12 } } @@ -70808,15 +94981,15 @@ "binop": null, "updateContext": null }, - "start": 11126, - "end": 11127, + "start": 14557, + "end": 14558, "loc": { "start": { - "line": 219, + "line": 323, "column": 12 }, "end": { - "line": 219, + "line": 323, "column": 13 } } @@ -70834,15 +95007,15 @@ "binop": null }, "value": "eachGeometryIndicesPortion", - "start": 11127, - "end": 11153, + "start": 14558, + "end": 14584, "loc": { "start": { - "line": 219, + "line": 323, "column": 13 }, "end": { - "line": 219, + "line": 323, "column": 39 } } @@ -70860,15 +95033,15 @@ "binop": null, "updateContext": null }, - "start": 11154, - "end": 11155, + "start": 14585, + "end": 14586, "loc": { "start": { - "line": 219, + "line": 323, "column": 40 }, "end": { - "line": 219, + "line": 323, "column": 41 } } @@ -70886,15 +95059,15 @@ "binop": null }, "value": "geometryIndex", - "start": 11155, - "end": 11168, + "start": 14586, + "end": 14599, "loc": { "start": { - "line": 219, + "line": 323, "column": 41 }, "end": { - "line": 219, + "line": 323, "column": 54 } } @@ -70912,15 +95085,15 @@ "binop": null, "updateContext": null }, - "start": 11168, - "end": 11169, + "start": 14599, + "end": 14600, "loc": { "start": { - "line": 219, + "line": 323, "column": 54 }, "end": { - "line": 219, + "line": 323, "column": 55 } } @@ -70939,15 +95112,15 @@ "updateContext": null }, "value": "=", - "start": 11170, - "end": 11171, + "start": 14601, + "end": 14602, "loc": { "start": { - "line": 219, + "line": 323, "column": 56 }, "end": { - "line": 219, + "line": 323, "column": 57 } } @@ -70965,15 +95138,15 @@ "binop": null }, "value": "countIndices", - "start": 11172, - "end": 11184, + "start": 14603, + "end": 14615, "loc": { "start": { - "line": 219, + "line": 323, "column": 58 }, "end": { - "line": 219, + "line": 323, "column": 70 } } @@ -70991,15 +95164,15 @@ "binop": null, "updateContext": null }, - "start": 11184, - "end": 11185, + "start": 14615, + "end": 14616, "loc": { "start": { - "line": 219, + "line": 323, "column": 70 }, "end": { - "line": 219, + "line": 323, "column": 71 } } @@ -71017,15 +95190,15 @@ "binop": null }, "value": "data", - "start": 11194, - "end": 11198, + "start": 14625, + "end": 14629, "loc": { "start": { - "line": 220, + "line": 324, "column": 8 }, "end": { - "line": 220, + "line": 324, "column": 12 } } @@ -71043,15 +95216,15 @@ "binop": null, "updateContext": null }, - "start": 11198, - "end": 11199, + "start": 14629, + "end": 14630, "loc": { "start": { - "line": 220, + "line": 324, "column": 12 }, "end": { - "line": 220, + "line": 324, "column": 13 } } @@ -71069,15 +95242,15 @@ "binop": null }, "value": "eachGeometryEdgeIndicesPortion", - "start": 11199, - "end": 11229, + "start": 14630, + "end": 14660, "loc": { "start": { - "line": 220, + "line": 324, "column": 13 }, "end": { - "line": 220, + "line": 324, "column": 43 } } @@ -71095,15 +95268,15 @@ "binop": null, "updateContext": null }, - "start": 11230, - "end": 11231, + "start": 14661, + "end": 14662, "loc": { "start": { - "line": 220, + "line": 324, "column": 44 }, "end": { - "line": 220, + "line": 324, "column": 45 } } @@ -71121,15 +95294,15 @@ "binop": null }, "value": "geometryIndex", - "start": 11231, - "end": 11244, + "start": 14662, + "end": 14675, "loc": { "start": { - "line": 220, + "line": 324, "column": 45 }, "end": { - "line": 220, + "line": 324, "column": 58 } } @@ -71147,15 +95320,15 @@ "binop": null, "updateContext": null }, - "start": 11244, - "end": 11245, + "start": 14675, + "end": 14676, "loc": { "start": { - "line": 220, + "line": 324, "column": 58 }, "end": { - "line": 220, + "line": 324, "column": 59 } } @@ -71174,15 +95347,15 @@ "updateContext": null }, "value": "=", - "start": 11246, - "end": 11247, + "start": 14677, + "end": 14678, "loc": { "start": { - "line": 220, + "line": 324, "column": 60 }, "end": { - "line": 220, + "line": 324, "column": 61 } } @@ -71200,15 +95373,15 @@ "binop": null }, "value": "countEdgeIndices", - "start": 11248, - "end": 11264, + "start": 14679, + "end": 14695, "loc": { "start": { - "line": 220, + "line": 324, "column": 62 }, "end": { - "line": 220, + "line": 324, "column": 78 } } @@ -71226,15 +95399,15 @@ "binop": null, "updateContext": null }, - "start": 11264, - "end": 11265, + "start": 14695, + "end": 14696, "loc": { "start": { - "line": 220, + "line": 324, "column": 78 }, "end": { - "line": 220, + "line": 324, "column": 79 } } @@ -71254,15 +95427,15 @@ "updateContext": null }, "value": "if", - "start": 11274, - "end": 11276, + "start": 14705, + "end": 14707, "loc": { "start": { - "line": 221, + "line": 325, "column": 8 }, "end": { - "line": 221, + "line": 325, "column": 10 } } @@ -71279,15 +95452,15 @@ "postfix": false, "binop": null }, - "start": 11277, - "end": 11278, + "start": 14708, + "end": 14709, "loc": { "start": { - "line": 221, + "line": 325, "column": 11 }, "end": { - "line": 221, + "line": 325, "column": 12 } } @@ -71305,15 +95478,15 @@ "binop": null }, "value": "geometry", - "start": 11278, - "end": 11286, + "start": 14709, + "end": 14717, "loc": { "start": { - "line": 221, + "line": 325, "column": 12 }, "end": { - "line": 221, + "line": 325, "column": 20 } } @@ -71331,15 +95504,15 @@ "binop": null, "updateContext": null }, - "start": 11286, - "end": 11287, + "start": 14717, + "end": 14718, "loc": { "start": { - "line": 221, + "line": 325, "column": 20 }, "end": { - "line": 221, + "line": 325, "column": 21 } } @@ -71357,15 +95530,15 @@ "binop": null }, "value": "positionsQuantized", - "start": 11287, - "end": 11305, + "start": 14718, + "end": 14736, "loc": { "start": { - "line": 221, + "line": 325, "column": 21 }, "end": { - "line": 221, + "line": 325, "column": 39 } } @@ -71382,15 +95555,15 @@ "postfix": false, "binop": null }, - "start": 11305, - "end": 11306, + "start": 14736, + "end": 14737, "loc": { "start": { - "line": 221, + "line": 325, "column": 39 }, "end": { - "line": 221, + "line": 325, "column": 40 } } @@ -71407,15 +95580,15 @@ "postfix": false, "binop": null }, - "start": 11307, - "end": 11308, + "start": 14738, + "end": 14739, "loc": { "start": { - "line": 221, + "line": 325, "column": 41 }, "end": { - "line": 221, + "line": 325, "column": 42 } } @@ -71433,15 +95606,15 @@ "binop": null }, "value": "data", - "start": 11321, - "end": 11325, + "start": 14752, + "end": 14756, "loc": { "start": { - "line": 222, + "line": 326, "column": 12 }, "end": { - "line": 222, + "line": 326, "column": 16 } } @@ -71459,15 +95632,15 @@ "binop": null, "updateContext": null }, - "start": 11325, - "end": 11326, + "start": 14756, + "end": 14757, "loc": { "start": { - "line": 222, + "line": 326, "column": 16 }, "end": { - "line": 222, + "line": 326, "column": 17 } } @@ -71485,15 +95658,15 @@ "binop": null }, "value": "positions", - "start": 11326, - "end": 11335, + "start": 14757, + "end": 14766, "loc": { "start": { - "line": 222, + "line": 326, "column": 17 }, "end": { - "line": 222, + "line": 326, "column": 26 } } @@ -71511,15 +95684,15 @@ "binop": null, "updateContext": null }, - "start": 11335, - "end": 11336, + "start": 14766, + "end": 14767, "loc": { "start": { - "line": 222, + "line": 326, "column": 26 }, "end": { - "line": 222, + "line": 326, "column": 27 } } @@ -71537,15 +95710,15 @@ "binop": null }, "value": "set", - "start": 11336, - "end": 11339, + "start": 14767, + "end": 14770, "loc": { "start": { - "line": 222, + "line": 326, "column": 27 }, "end": { - "line": 222, + "line": 326, "column": 30 } } @@ -71562,15 +95735,15 @@ "postfix": false, "binop": null }, - "start": 11339, - "end": 11340, + "start": 14770, + "end": 14771, "loc": { "start": { - "line": 222, + "line": 326, "column": 30 }, "end": { - "line": 222, + "line": 326, "column": 31 } } @@ -71588,15 +95761,15 @@ "binop": null }, "value": "geometry", - "start": 11340, - "end": 11348, + "start": 14771, + "end": 14779, "loc": { "start": { - "line": 222, + "line": 326, "column": 31 }, "end": { - "line": 222, + "line": 326, "column": 39 } } @@ -71614,15 +95787,15 @@ "binop": null, "updateContext": null }, - "start": 11348, - "end": 11349, + "start": 14779, + "end": 14780, "loc": { "start": { - "line": 222, + "line": 326, "column": 39 }, "end": { - "line": 222, + "line": 326, "column": 40 } } @@ -71640,15 +95813,15 @@ "binop": null }, "value": "positionsQuantized", - "start": 11349, - "end": 11367, + "start": 14780, + "end": 14798, "loc": { "start": { - "line": 222, + "line": 326, "column": 40 }, "end": { - "line": 222, + "line": 326, "column": 58 } } @@ -71666,15 +95839,15 @@ "binop": null, "updateContext": null }, - "start": 11367, - "end": 11368, + "start": 14798, + "end": 14799, "loc": { "start": { - "line": 222, + "line": 326, "column": 58 }, "end": { - "line": 222, + "line": 326, "column": 59 } } @@ -71692,15 +95865,15 @@ "binop": null }, "value": "countPositions", - "start": 11369, - "end": 11383, + "start": 14800, + "end": 14814, "loc": { "start": { - "line": 222, + "line": 326, "column": 60 }, "end": { - "line": 222, + "line": 326, "column": 74 } } @@ -71717,15 +95890,15 @@ "postfix": false, "binop": null }, - "start": 11383, - "end": 11384, + "start": 14814, + "end": 14815, "loc": { "start": { - "line": 222, + "line": 326, "column": 74 }, "end": { - "line": 222, + "line": 326, "column": 75 } } @@ -71743,15 +95916,15 @@ "binop": null, "updateContext": null }, - "start": 11384, - "end": 11385, + "start": 14815, + "end": 14816, "loc": { "start": { - "line": 222, + "line": 326, "column": 75 }, "end": { - "line": 222, + "line": 326, "column": 76 } } @@ -71769,15 +95942,15 @@ "binop": null }, "value": "countPositions", - "start": 11398, - "end": 11412, + "start": 14829, + "end": 14843, "loc": { "start": { - "line": 223, + "line": 327, "column": 12 }, "end": { - "line": 223, + "line": 327, "column": 26 } } @@ -71796,15 +95969,15 @@ "updateContext": null }, "value": "+=", - "start": 11413, - "end": 11415, + "start": 14844, + "end": 14846, "loc": { "start": { - "line": 223, + "line": 327, "column": 27 }, "end": { - "line": 223, + "line": 327, "column": 29 } } @@ -71822,15 +95995,15 @@ "binop": null }, "value": "geometry", - "start": 11416, - "end": 11424, + "start": 14847, + "end": 14855, "loc": { "start": { - "line": 223, + "line": 327, "column": 30 }, "end": { - "line": 223, + "line": 327, "column": 38 } } @@ -71848,15 +96021,15 @@ "binop": null, "updateContext": null }, - "start": 11424, - "end": 11425, + "start": 14855, + "end": 14856, "loc": { "start": { - "line": 223, + "line": 327, "column": 38 }, "end": { - "line": 223, + "line": 327, "column": 39 } } @@ -71874,15 +96047,15 @@ "binop": null }, "value": "positionsQuantized", - "start": 11425, - "end": 11443, + "start": 14856, + "end": 14874, "loc": { "start": { - "line": 223, + "line": 327, "column": 39 }, "end": { - "line": 223, + "line": 327, "column": 57 } } @@ -71900,15 +96073,15 @@ "binop": null, "updateContext": null }, - "start": 11443, - "end": 11444, + "start": 14874, + "end": 14875, "loc": { "start": { - "line": 223, + "line": 327, "column": 57 }, "end": { - "line": 223, + "line": 327, "column": 58 } } @@ -71926,15 +96099,15 @@ "binop": null }, "value": "length", - "start": 11444, - "end": 11450, + "start": 14875, + "end": 14881, "loc": { "start": { - "line": 223, + "line": 327, "column": 58 }, "end": { - "line": 223, + "line": 327, "column": 64 } } @@ -71952,15 +96125,15 @@ "binop": null, "updateContext": null }, - "start": 11450, - "end": 11451, + "start": 14881, + "end": 14882, "loc": { "start": { - "line": 223, + "line": 327, "column": 64 }, "end": { - "line": 223, + "line": 327, "column": 65 } } @@ -71977,15 +96150,15 @@ "postfix": false, "binop": null }, - "start": 11460, - "end": 11461, + "start": 14891, + "end": 14892, "loc": { "start": { - "line": 224, + "line": 328, "column": 8 }, "end": { - "line": 224, + "line": 328, "column": 9 } } @@ -72005,15 +96178,15 @@ "updateContext": null }, "value": "if", - "start": 11470, - "end": 11472, + "start": 14901, + "end": 14903, "loc": { "start": { - "line": 225, + "line": 329, "column": 8 }, "end": { - "line": 225, + "line": 329, "column": 10 } } @@ -72030,15 +96203,15 @@ "postfix": false, "binop": null }, - "start": 11473, - "end": 11474, + "start": 14904, + "end": 14905, "loc": { "start": { - "line": 225, + "line": 329, "column": 11 }, "end": { - "line": 225, + "line": 329, "column": 12 } } @@ -72056,15 +96229,15 @@ "binop": null }, "value": "geometry", - "start": 11474, - "end": 11482, + "start": 14905, + "end": 14913, "loc": { "start": { - "line": 225, + "line": 329, "column": 12 }, "end": { - "line": 225, + "line": 329, "column": 20 } } @@ -72082,15 +96255,15 @@ "binop": null, "updateContext": null }, - "start": 11482, - "end": 11483, + "start": 14913, + "end": 14914, "loc": { "start": { - "line": 225, + "line": 329, "column": 20 }, "end": { - "line": 225, + "line": 329, "column": 21 } } @@ -72108,15 +96281,15 @@ "binop": null }, "value": "normalsOctEncoded", - "start": 11483, - "end": 11500, + "start": 14914, + "end": 14931, "loc": { "start": { - "line": 225, + "line": 329, "column": 21 }, "end": { - "line": 225, + "line": 329, "column": 38 } } @@ -72133,15 +96306,15 @@ "postfix": false, "binop": null }, - "start": 11500, - "end": 11501, + "start": 14931, + "end": 14932, "loc": { "start": { - "line": 225, + "line": 329, "column": 38 }, "end": { - "line": 225, + "line": 329, "column": 39 } } @@ -72158,15 +96331,15 @@ "postfix": false, "binop": null }, - "start": 11502, - "end": 11503, + "start": 14933, + "end": 14934, "loc": { "start": { - "line": 225, + "line": 329, "column": 40 }, "end": { - "line": 225, + "line": 329, "column": 41 } } @@ -72184,15 +96357,15 @@ "binop": null }, "value": "data", - "start": 11516, - "end": 11520, + "start": 14947, + "end": 14951, "loc": { "start": { - "line": 226, + "line": 330, "column": 12 }, "end": { - "line": 226, + "line": 330, "column": 16 } } @@ -72210,15 +96383,15 @@ "binop": null, "updateContext": null }, - "start": 11520, - "end": 11521, + "start": 14951, + "end": 14952, "loc": { "start": { - "line": 226, + "line": 330, "column": 16 }, "end": { - "line": 226, + "line": 330, "column": 17 } } @@ -72236,15 +96409,15 @@ "binop": null }, "value": "normals", - "start": 11521, - "end": 11528, + "start": 14952, + "end": 14959, "loc": { "start": { - "line": 226, + "line": 330, "column": 17 }, "end": { - "line": 226, + "line": 330, "column": 24 } } @@ -72262,15 +96435,15 @@ "binop": null, "updateContext": null }, - "start": 11528, - "end": 11529, + "start": 14959, + "end": 14960, "loc": { "start": { - "line": 226, + "line": 330, "column": 24 }, "end": { - "line": 226, + "line": 330, "column": 25 } } @@ -72288,15 +96461,15 @@ "binop": null }, "value": "set", - "start": 11529, - "end": 11532, + "start": 14960, + "end": 14963, "loc": { "start": { - "line": 226, + "line": 330, "column": 25 }, "end": { - "line": 226, + "line": 330, "column": 28 } } @@ -72313,15 +96486,15 @@ "postfix": false, "binop": null }, - "start": 11532, - "end": 11533, + "start": 14963, + "end": 14964, "loc": { "start": { - "line": 226, + "line": 330, "column": 28 }, "end": { - "line": 226, + "line": 330, "column": 29 } } @@ -72339,15 +96512,15 @@ "binop": null }, "value": "geometry", - "start": 11533, - "end": 11541, + "start": 14964, + "end": 14972, "loc": { "start": { - "line": 226, + "line": 330, "column": 29 }, "end": { - "line": 226, + "line": 330, "column": 37 } } @@ -72365,15 +96538,15 @@ "binop": null, "updateContext": null }, - "start": 11541, - "end": 11542, + "start": 14972, + "end": 14973, "loc": { "start": { - "line": 226, + "line": 330, "column": 37 }, "end": { - "line": 226, + "line": 330, "column": 38 } } @@ -72391,15 +96564,15 @@ "binop": null }, "value": "normalsOctEncoded", - "start": 11542, - "end": 11559, + "start": 14973, + "end": 14990, "loc": { "start": { - "line": 226, + "line": 330, "column": 38 }, "end": { - "line": 226, + "line": 330, "column": 55 } } @@ -72417,15 +96590,15 @@ "binop": null, "updateContext": null }, - "start": 11559, - "end": 11560, + "start": 14990, + "end": 14991, "loc": { "start": { - "line": 226, + "line": 330, "column": 55 }, "end": { - "line": 226, + "line": 330, "column": 56 } } @@ -72443,15 +96616,15 @@ "binop": null }, "value": "countNormals", - "start": 11561, - "end": 11573, + "start": 14992, + "end": 15004, "loc": { "start": { - "line": 226, + "line": 330, "column": 57 }, "end": { - "line": 226, + "line": 330, "column": 69 } } @@ -72468,15 +96641,15 @@ "postfix": false, "binop": null }, - "start": 11573, - "end": 11574, + "start": 15004, + "end": 15005, "loc": { "start": { - "line": 226, + "line": 330, "column": 69 }, "end": { - "line": 226, + "line": 330, "column": 70 } } @@ -72494,15 +96667,15 @@ "binop": null, "updateContext": null }, - "start": 11574, - "end": 11575, + "start": 15005, + "end": 15006, "loc": { "start": { - "line": 226, + "line": 330, "column": 70 }, "end": { - "line": 226, + "line": 330, "column": 71 } } @@ -72520,15 +96693,15 @@ "binop": null }, "value": "countNormals", - "start": 11588, - "end": 11600, + "start": 15019, + "end": 15031, "loc": { "start": { - "line": 227, + "line": 331, "column": 12 }, "end": { - "line": 227, + "line": 331, "column": 24 } } @@ -72547,15 +96720,15 @@ "updateContext": null }, "value": "+=", - "start": 11601, - "end": 11603, + "start": 15032, + "end": 15034, "loc": { "start": { - "line": 227, + "line": 331, "column": 25 }, "end": { - "line": 227, + "line": 331, "column": 27 } } @@ -72573,15 +96746,15 @@ "binop": null }, "value": "geometry", - "start": 11604, - "end": 11612, + "start": 15035, + "end": 15043, "loc": { "start": { - "line": 227, + "line": 331, "column": 28 }, "end": { - "line": 227, + "line": 331, "column": 36 } } @@ -72599,15 +96772,15 @@ "binop": null, "updateContext": null }, - "start": 11612, - "end": 11613, + "start": 15043, + "end": 15044, "loc": { "start": { - "line": 227, + "line": 331, "column": 36 }, "end": { - "line": 227, + "line": 331, "column": 37 } } @@ -72625,15 +96798,15 @@ "binop": null }, "value": "normalsOctEncoded", - "start": 11613, - "end": 11630, + "start": 15044, + "end": 15061, "loc": { "start": { - "line": 227, + "line": 331, "column": 37 }, "end": { - "line": 227, + "line": 331, "column": 54 } } @@ -72651,15 +96824,15 @@ "binop": null, "updateContext": null }, - "start": 11630, - "end": 11631, + "start": 15061, + "end": 15062, "loc": { "start": { - "line": 227, + "line": 331, "column": 54 }, "end": { - "line": 227, + "line": 331, "column": 55 } } @@ -72677,15 +96850,15 @@ "binop": null }, "value": "length", - "start": 11631, - "end": 11637, + "start": 15062, + "end": 15068, "loc": { "start": { - "line": 227, + "line": 331, "column": 55 }, "end": { - "line": 227, + "line": 331, "column": 61 } } @@ -72703,15 +96876,15 @@ "binop": null, "updateContext": null }, - "start": 11637, - "end": 11638, + "start": 15068, + "end": 15069, "loc": { "start": { - "line": 227, + "line": 331, "column": 61 }, "end": { - "line": 227, + "line": 331, "column": 62 } } @@ -72728,15 +96901,15 @@ "postfix": false, "binop": null }, - "start": 11647, - "end": 11648, + "start": 15078, + "end": 15079, "loc": { "start": { - "line": 228, + "line": 332, "column": 8 }, "end": { - "line": 228, + "line": 332, "column": 9 } } @@ -72756,15 +96929,15 @@ "updateContext": null }, "value": "if", - "start": 11657, - "end": 11659, + "start": 15088, + "end": 15090, "loc": { "start": { - "line": 229, + "line": 333, "column": 8 }, "end": { - "line": 229, + "line": 333, "column": 10 } } @@ -72781,15 +96954,15 @@ "postfix": false, "binop": null }, - "start": 11660, - "end": 11661, + "start": 15091, + "end": 15092, "loc": { "start": { - "line": 229, + "line": 333, "column": 11 }, "end": { - "line": 229, + "line": 333, "column": 12 } } @@ -72807,15 +96980,15 @@ "binop": null }, "value": "geometry", - "start": 11661, - "end": 11669, + "start": 15092, + "end": 15100, "loc": { "start": { - "line": 229, + "line": 333, "column": 12 }, "end": { - "line": 229, + "line": 333, "column": 20 } } @@ -72833,15 +97006,15 @@ "binop": null, "updateContext": null }, - "start": 11669, - "end": 11670, + "start": 15100, + "end": 15101, "loc": { "start": { - "line": 229, + "line": 333, "column": 20 }, "end": { - "line": 229, + "line": 333, "column": 21 } } @@ -72859,15 +97032,15 @@ "binop": null }, "value": "colorsCompressed", - "start": 11670, - "end": 11686, + "start": 15101, + "end": 15117, "loc": { "start": { - "line": 229, + "line": 333, "column": 21 }, "end": { - "line": 229, + "line": 333, "column": 37 } } @@ -72884,15 +97057,15 @@ "postfix": false, "binop": null }, - "start": 11686, - "end": 11687, + "start": 15117, + "end": 15118, "loc": { "start": { - "line": 229, + "line": 333, "column": 37 }, "end": { - "line": 229, + "line": 333, "column": 38 } } @@ -72909,15 +97082,15 @@ "postfix": false, "binop": null }, - "start": 11688, - "end": 11689, + "start": 15119, + "end": 15120, "loc": { "start": { - "line": 229, + "line": 333, "column": 39 }, "end": { - "line": 229, + "line": 333, "column": 40 } } @@ -72935,15 +97108,15 @@ "binop": null }, "value": "data", - "start": 11702, - "end": 11706, + "start": 15133, + "end": 15137, "loc": { "start": { - "line": 230, + "line": 334, "column": 12 }, "end": { - "line": 230, + "line": 334, "column": 16 } } @@ -72961,15 +97134,15 @@ "binop": null, "updateContext": null }, - "start": 11706, - "end": 11707, + "start": 15137, + "end": 15138, "loc": { "start": { - "line": 230, + "line": 334, "column": 16 }, "end": { - "line": 230, + "line": 334, "column": 17 } } @@ -72987,15 +97160,15 @@ "binop": null }, "value": "colors", - "start": 11707, - "end": 11713, + "start": 15138, + "end": 15144, "loc": { "start": { - "line": 230, + "line": 334, "column": 17 }, "end": { - "line": 230, + "line": 334, "column": 23 } } @@ -73013,15 +97186,15 @@ "binop": null, "updateContext": null }, - "start": 11713, - "end": 11714, + "start": 15144, + "end": 15145, "loc": { "start": { - "line": 230, + "line": 334, "column": 23 }, "end": { - "line": 230, + "line": 334, "column": 24 } } @@ -73039,15 +97212,15 @@ "binop": null }, "value": "set", - "start": 11714, - "end": 11717, + "start": 15145, + "end": 15148, "loc": { "start": { - "line": 230, + "line": 334, "column": 24 }, "end": { - "line": 230, + "line": 334, "column": 27 } } @@ -73064,15 +97237,15 @@ "postfix": false, "binop": null }, - "start": 11717, - "end": 11718, + "start": 15148, + "end": 15149, "loc": { "start": { - "line": 230, + "line": 334, "column": 27 }, "end": { - "line": 230, + "line": 334, "column": 28 } } @@ -73090,15 +97263,15 @@ "binop": null }, "value": "geometry", - "start": 11718, - "end": 11726, + "start": 15149, + "end": 15157, "loc": { "start": { - "line": 230, + "line": 334, "column": 28 }, "end": { - "line": 230, + "line": 334, "column": 36 } } @@ -73116,15 +97289,15 @@ "binop": null, "updateContext": null }, - "start": 11726, - "end": 11727, + "start": 15157, + "end": 15158, "loc": { "start": { - "line": 230, + "line": 334, "column": 36 }, "end": { - "line": 230, + "line": 334, "column": 37 } } @@ -73142,15 +97315,15 @@ "binop": null }, "value": "colorsCompressed", - "start": 11727, - "end": 11743, + "start": 15158, + "end": 15174, "loc": { "start": { - "line": 230, + "line": 334, "column": 37 }, "end": { - "line": 230, + "line": 334, "column": 53 } } @@ -73168,15 +97341,15 @@ "binop": null, "updateContext": null }, - "start": 11743, - "end": 11744, + "start": 15174, + "end": 15175, "loc": { "start": { - "line": 230, + "line": 334, "column": 53 }, "end": { - "line": 230, + "line": 334, "column": 54 } } @@ -73194,15 +97367,15 @@ "binop": null }, "value": "countColors", - "start": 11745, - "end": 11756, + "start": 15176, + "end": 15187, "loc": { "start": { - "line": 230, + "line": 334, "column": 55 }, "end": { - "line": 230, + "line": 334, "column": 66 } } @@ -73219,15 +97392,15 @@ "postfix": false, "binop": null }, - "start": 11756, - "end": 11757, + "start": 15187, + "end": 15188, "loc": { "start": { - "line": 230, + "line": 334, "column": 66 }, "end": { - "line": 230, + "line": 334, "column": 67 } } @@ -73245,15 +97418,15 @@ "binop": null, "updateContext": null }, - "start": 11757, - "end": 11758, + "start": 15188, + "end": 15189, "loc": { "start": { - "line": 230, + "line": 334, "column": 67 }, "end": { - "line": 230, + "line": 334, "column": 68 } } @@ -73271,15 +97444,15 @@ "binop": null }, "value": "countColors", - "start": 11771, - "end": 11782, + "start": 15202, + "end": 15213, "loc": { "start": { - "line": 231, + "line": 335, "column": 12 }, "end": { - "line": 231, + "line": 335, "column": 23 } } @@ -73298,15 +97471,15 @@ "updateContext": null }, "value": "+=", - "start": 11783, - "end": 11785, + "start": 15214, + "end": 15216, "loc": { "start": { - "line": 231, + "line": 335, "column": 24 }, "end": { - "line": 231, + "line": 335, "column": 26 } } @@ -73324,15 +97497,15 @@ "binop": null }, "value": "geometry", - "start": 11786, - "end": 11794, + "start": 15217, + "end": 15225, "loc": { "start": { - "line": 231, + "line": 335, "column": 27 }, "end": { - "line": 231, + "line": 335, "column": 35 } } @@ -73350,15 +97523,15 @@ "binop": null, "updateContext": null }, - "start": 11794, - "end": 11795, + "start": 15225, + "end": 15226, "loc": { "start": { - "line": 231, + "line": 335, "column": 35 }, "end": { - "line": 231, + "line": 335, "column": 36 } } @@ -73376,15 +97549,15 @@ "binop": null }, "value": "colorsCompressed", - "start": 11795, - "end": 11811, + "start": 15226, + "end": 15242, "loc": { "start": { - "line": 231, + "line": 335, "column": 36 }, "end": { - "line": 231, + "line": 335, "column": 52 } } @@ -73402,15 +97575,15 @@ "binop": null, "updateContext": null }, - "start": 11811, - "end": 11812, + "start": 15242, + "end": 15243, "loc": { "start": { - "line": 231, + "line": 335, "column": 52 }, "end": { - "line": 231, + "line": 335, "column": 53 } } @@ -73428,15 +97601,15 @@ "binop": null }, "value": "length", - "start": 11812, - "end": 11818, + "start": 15243, + "end": 15249, "loc": { "start": { - "line": 231, + "line": 335, "column": 53 }, "end": { - "line": 231, + "line": 335, "column": 59 } } @@ -73454,15 +97627,15 @@ "binop": null, "updateContext": null }, - "start": 11818, - "end": 11819, + "start": 15249, + "end": 15250, "loc": { "start": { - "line": 231, + "line": 335, "column": 59 }, "end": { - "line": 231, + "line": 335, "column": 60 } } @@ -73479,15 +97652,15 @@ "postfix": false, "binop": null }, - "start": 11828, - "end": 11829, + "start": 15259, + "end": 15260, "loc": { "start": { - "line": 232, + "line": 336, "column": 8 }, "end": { - "line": 232, + "line": 336, "column": 9 } } @@ -73507,15 +97680,15 @@ "updateContext": null }, "value": "if", - "start": 11838, - "end": 11840, + "start": 15269, + "end": 15271, "loc": { "start": { - "line": 233, + "line": 337, "column": 8 }, "end": { - "line": 233, + "line": 337, "column": 10 } } @@ -73532,15 +97705,15 @@ "postfix": false, "binop": null }, - "start": 11841, - "end": 11842, + "start": 15272, + "end": 15273, "loc": { "start": { - "line": 233, + "line": 337, "column": 11 }, "end": { - "line": 233, + "line": 337, "column": 12 } } @@ -73558,15 +97731,15 @@ "binop": null }, "value": "geometry", - "start": 11842, - "end": 11850, + "start": 15273, + "end": 15281, "loc": { "start": { - "line": 233, + "line": 337, "column": 12 }, "end": { - "line": 233, + "line": 337, "column": 20 } } @@ -73584,15 +97757,15 @@ "binop": null, "updateContext": null }, - "start": 11850, - "end": 11851, + "start": 15281, + "end": 15282, "loc": { "start": { - "line": 233, + "line": 337, "column": 20 }, "end": { - "line": 233, + "line": 337, "column": 21 } } @@ -73610,15 +97783,15 @@ "binop": null }, "value": "uvs", - "start": 11851, - "end": 11854, + "start": 15282, + "end": 15285, "loc": { "start": { - "line": 233, + "line": 337, "column": 21 }, "end": { - "line": 233, + "line": 337, "column": 24 } } @@ -73635,15 +97808,15 @@ "postfix": false, "binop": null }, - "start": 11854, - "end": 11855, + "start": 15285, + "end": 15286, "loc": { "start": { - "line": 233, + "line": 337, "column": 24 }, "end": { - "line": 233, + "line": 337, "column": 25 } } @@ -73660,15 +97833,15 @@ "postfix": false, "binop": null }, - "start": 11856, - "end": 11857, + "start": 15287, + "end": 15288, "loc": { "start": { - "line": 233, + "line": 337, "column": 26 }, "end": { - "line": 233, + "line": 337, "column": 27 } } @@ -73686,15 +97859,15 @@ "binop": null }, "value": "data", - "start": 11870, - "end": 11874, + "start": 15301, + "end": 15305, "loc": { "start": { - "line": 234, + "line": 338, "column": 12 }, "end": { - "line": 234, + "line": 338, "column": 16 } } @@ -73712,15 +97885,15 @@ "binop": null, "updateContext": null }, - "start": 11874, - "end": 11875, + "start": 15305, + "end": 15306, "loc": { "start": { - "line": 234, + "line": 338, "column": 16 }, "end": { - "line": 234, + "line": 338, "column": 17 } } @@ -73738,15 +97911,15 @@ "binop": null }, "value": "uvs", - "start": 11875, - "end": 11878, + "start": 15306, + "end": 15309, "loc": { "start": { - "line": 234, + "line": 338, "column": 17 }, "end": { - "line": 234, + "line": 338, "column": 20 } } @@ -73764,15 +97937,15 @@ "binop": null, "updateContext": null }, - "start": 11878, - "end": 11879, + "start": 15309, + "end": 15310, "loc": { "start": { - "line": 234, + "line": 338, "column": 20 }, "end": { - "line": 234, + "line": 338, "column": 21 } } @@ -73790,15 +97963,15 @@ "binop": null }, "value": "set", - "start": 11879, - "end": 11882, + "start": 15310, + "end": 15313, "loc": { "start": { - "line": 234, + "line": 338, "column": 21 }, "end": { - "line": 234, + "line": 338, "column": 24 } } @@ -73815,15 +97988,15 @@ "postfix": false, "binop": null }, - "start": 11882, - "end": 11883, + "start": 15313, + "end": 15314, "loc": { "start": { - "line": 234, + "line": 338, "column": 24 }, "end": { - "line": 234, + "line": 338, "column": 25 } } @@ -73841,15 +98014,15 @@ "binop": null }, "value": "geometry", - "start": 11883, - "end": 11891, + "start": 15314, + "end": 15322, "loc": { "start": { - "line": 234, + "line": 338, "column": 25 }, "end": { - "line": 234, + "line": 338, "column": 33 } } @@ -73867,15 +98040,15 @@ "binop": null, "updateContext": null }, - "start": 11891, - "end": 11892, + "start": 15322, + "end": 15323, "loc": { "start": { - "line": 234, + "line": 338, "column": 33 }, "end": { - "line": 234, + "line": 338, "column": 34 } } @@ -73893,15 +98066,15 @@ "binop": null }, "value": "uvs", - "start": 11892, - "end": 11895, + "start": 15323, + "end": 15326, "loc": { "start": { - "line": 234, + "line": 338, "column": 34 }, "end": { - "line": 234, + "line": 338, "column": 37 } } @@ -73919,15 +98092,15 @@ "binop": null, "updateContext": null }, - "start": 11895, - "end": 11896, + "start": 15326, + "end": 15327, "loc": { "start": { - "line": 234, + "line": 338, "column": 37 }, "end": { - "line": 234, + "line": 338, "column": 38 } } @@ -73945,15 +98118,15 @@ "binop": null }, "value": "countUVs", - "start": 11897, - "end": 11905, + "start": 15328, + "end": 15336, "loc": { "start": { - "line": 234, + "line": 338, "column": 39 }, "end": { - "line": 234, + "line": 338, "column": 47 } } @@ -73970,15 +98143,15 @@ "postfix": false, "binop": null }, - "start": 11905, - "end": 11906, + "start": 15336, + "end": 15337, "loc": { "start": { - "line": 234, + "line": 338, "column": 47 }, "end": { - "line": 234, + "line": 338, "column": 48 } } @@ -73996,15 +98169,15 @@ "binop": null, "updateContext": null }, - "start": 11906, - "end": 11907, + "start": 15337, + "end": 15338, "loc": { "start": { - "line": 234, + "line": 338, "column": 48 }, "end": { - "line": 234, + "line": 338, "column": 49 } } @@ -74022,15 +98195,15 @@ "binop": null }, "value": "countUVs", - "start": 11920, - "end": 11928, + "start": 15351, + "end": 15359, "loc": { "start": { - "line": 235, + "line": 339, "column": 12 }, "end": { - "line": 235, + "line": 339, "column": 20 } } @@ -74049,15 +98222,15 @@ "updateContext": null }, "value": "+=", - "start": 11929, - "end": 11931, + "start": 15360, + "end": 15362, "loc": { "start": { - "line": 235, + "line": 339, "column": 21 }, "end": { - "line": 235, + "line": 339, "column": 23 } } @@ -74075,15 +98248,15 @@ "binop": null }, "value": "geometry", - "start": 11932, - "end": 11940, + "start": 15363, + "end": 15371, "loc": { "start": { - "line": 235, + "line": 339, "column": 24 }, "end": { - "line": 235, + "line": 339, "column": 32 } } @@ -74101,15 +98274,15 @@ "binop": null, "updateContext": null }, - "start": 11940, - "end": 11941, + "start": 15371, + "end": 15372, "loc": { "start": { - "line": 235, + "line": 339, "column": 32 }, "end": { - "line": 235, + "line": 339, "column": 33 } } @@ -74127,15 +98300,15 @@ "binop": null }, "value": "uvs", - "start": 11941, - "end": 11944, + "start": 15372, + "end": 15375, "loc": { "start": { - "line": 235, + "line": 339, "column": 33 }, "end": { - "line": 235, + "line": 339, "column": 36 } } @@ -74153,15 +98326,15 @@ "binop": null, "updateContext": null }, - "start": 11944, - "end": 11945, + "start": 15375, + "end": 15376, "loc": { "start": { - "line": 235, + "line": 339, "column": 36 }, "end": { - "line": 235, + "line": 339, "column": 37 } } @@ -74179,15 +98352,15 @@ "binop": null }, "value": "length", - "start": 11945, - "end": 11951, + "start": 15376, + "end": 15382, "loc": { "start": { - "line": 235, + "line": 339, "column": 37 }, "end": { - "line": 235, + "line": 339, "column": 43 } } @@ -74205,15 +98378,15 @@ "binop": null, "updateContext": null }, - "start": 11951, - "end": 11952, + "start": 15382, + "end": 15383, "loc": { "start": { - "line": 235, + "line": 339, "column": 43 }, "end": { - "line": 235, + "line": 339, "column": 44 } } @@ -74230,15 +98403,15 @@ "postfix": false, "binop": null }, - "start": 11961, - "end": 11962, + "start": 15392, + "end": 15393, "loc": { "start": { - "line": 236, + "line": 340, "column": 8 }, "end": { - "line": 236, + "line": 340, "column": 9 } } @@ -74258,15 +98431,15 @@ "updateContext": null }, "value": "if", - "start": 11971, - "end": 11973, + "start": 15402, + "end": 15404, "loc": { "start": { - "line": 237, + "line": 341, "column": 8 }, "end": { - "line": 237, + "line": 341, "column": 10 } } @@ -74283,15 +98456,15 @@ "postfix": false, "binop": null }, - "start": 11974, - "end": 11975, + "start": 15405, + "end": 15406, "loc": { "start": { - "line": 237, + "line": 341, "column": 11 }, "end": { - "line": 237, + "line": 341, "column": 12 } } @@ -74309,15 +98482,15 @@ "binop": null }, "value": "geometry", - "start": 11975, - "end": 11983, + "start": 15406, + "end": 15414, "loc": { "start": { - "line": 237, + "line": 341, "column": 12 }, "end": { - "line": 237, + "line": 341, "column": 20 } } @@ -74335,15 +98508,15 @@ "binop": null, "updateContext": null }, - "start": 11983, - "end": 11984, + "start": 15414, + "end": 15415, "loc": { "start": { - "line": 237, + "line": 341, "column": 20 }, "end": { - "line": 237, + "line": 341, "column": 21 } } @@ -74361,15 +98534,15 @@ "binop": null }, "value": "indices", - "start": 11984, - "end": 11991, + "start": 15415, + "end": 15422, "loc": { "start": { - "line": 237, + "line": 341, "column": 21 }, "end": { - "line": 237, + "line": 341, "column": 28 } } @@ -74386,15 +98559,15 @@ "postfix": false, "binop": null }, - "start": 11991, - "end": 11992, + "start": 15422, + "end": 15423, "loc": { "start": { - "line": 237, + "line": 341, "column": 28 }, "end": { - "line": 237, + "line": 341, "column": 29 } } @@ -74411,15 +98584,15 @@ "postfix": false, "binop": null }, - "start": 11993, - "end": 11994, + "start": 15424, + "end": 15425, "loc": { "start": { - "line": 237, + "line": 341, "column": 30 }, "end": { - "line": 237, + "line": 341, "column": 31 } } @@ -74437,15 +98610,15 @@ "binop": null }, "value": "data", - "start": 12007, - "end": 12011, + "start": 15438, + "end": 15442, "loc": { "start": { - "line": 238, + "line": 342, "column": 12 }, "end": { - "line": 238, + "line": 342, "column": 16 } } @@ -74463,15 +98636,15 @@ "binop": null, "updateContext": null }, - "start": 12011, - "end": 12012, + "start": 15442, + "end": 15443, "loc": { "start": { - "line": 238, + "line": 342, "column": 16 }, "end": { - "line": 238, + "line": 342, "column": 17 } } @@ -74489,15 +98662,15 @@ "binop": null }, "value": "indices", - "start": 12012, - "end": 12019, + "start": 15443, + "end": 15450, "loc": { "start": { - "line": 238, + "line": 342, "column": 17 }, "end": { - "line": 238, + "line": 342, "column": 24 } } @@ -74515,15 +98688,15 @@ "binop": null, "updateContext": null }, - "start": 12019, - "end": 12020, + "start": 15450, + "end": 15451, "loc": { "start": { - "line": 238, + "line": 342, "column": 24 }, "end": { - "line": 238, + "line": 342, "column": 25 } } @@ -74541,15 +98714,15 @@ "binop": null }, "value": "set", - "start": 12020, - "end": 12023, + "start": 15451, + "end": 15454, "loc": { "start": { - "line": 238, + "line": 342, "column": 25 }, "end": { - "line": 238, + "line": 342, "column": 28 } } @@ -74566,15 +98739,15 @@ "postfix": false, "binop": null }, - "start": 12023, - "end": 12024, + "start": 15454, + "end": 15455, "loc": { "start": { - "line": 238, + "line": 342, "column": 28 }, "end": { - "line": 238, + "line": 342, "column": 29 } } @@ -74592,15 +98765,15 @@ "binop": null }, "value": "geometry", - "start": 12024, - "end": 12032, + "start": 15455, + "end": 15463, "loc": { "start": { - "line": 238, + "line": 342, "column": 29 }, "end": { - "line": 238, + "line": 342, "column": 37 } } @@ -74618,15 +98791,15 @@ "binop": null, "updateContext": null }, - "start": 12032, - "end": 12033, + "start": 15463, + "end": 15464, "loc": { "start": { - "line": 238, + "line": 342, "column": 37 }, "end": { - "line": 238, + "line": 342, "column": 38 } } @@ -74644,15 +98817,15 @@ "binop": null }, "value": "indices", - "start": 12033, - "end": 12040, + "start": 15464, + "end": 15471, "loc": { "start": { - "line": 238, + "line": 342, "column": 38 }, "end": { - "line": 238, + "line": 342, "column": 45 } } @@ -74670,15 +98843,15 @@ "binop": null, "updateContext": null }, - "start": 12040, - "end": 12041, + "start": 15471, + "end": 15472, "loc": { "start": { - "line": 238, + "line": 342, "column": 45 }, "end": { - "line": 238, + "line": 342, "column": 46 } } @@ -74696,15 +98869,15 @@ "binop": null }, "value": "countIndices", - "start": 12042, - "end": 12054, + "start": 15473, + "end": 15485, "loc": { "start": { - "line": 238, + "line": 342, "column": 47 }, "end": { - "line": 238, + "line": 342, "column": 59 } } @@ -74721,15 +98894,15 @@ "postfix": false, "binop": null }, - "start": 12054, - "end": 12055, + "start": 15485, + "end": 15486, "loc": { "start": { - "line": 238, + "line": 342, "column": 59 }, "end": { - "line": 238, + "line": 342, "column": 60 } } @@ -74747,15 +98920,15 @@ "binop": null, "updateContext": null }, - "start": 12055, - "end": 12056, + "start": 15486, + "end": 15487, "loc": { "start": { - "line": 238, + "line": 342, "column": 60 }, "end": { - "line": 238, + "line": 342, "column": 61 } } @@ -74773,15 +98946,15 @@ "binop": null }, "value": "countIndices", - "start": 12069, - "end": 12081, + "start": 15500, + "end": 15512, "loc": { "start": { - "line": 239, + "line": 343, "column": 12 }, "end": { - "line": 239, + "line": 343, "column": 24 } } @@ -74800,15 +98973,15 @@ "updateContext": null }, "value": "+=", - "start": 12082, - "end": 12084, + "start": 15513, + "end": 15515, "loc": { "start": { - "line": 239, + "line": 343, "column": 25 }, "end": { - "line": 239, + "line": 343, "column": 27 } } @@ -74826,15 +98999,15 @@ "binop": null }, "value": "geometry", - "start": 12085, - "end": 12093, + "start": 15516, + "end": 15524, "loc": { "start": { - "line": 239, + "line": 343, "column": 28 }, "end": { - "line": 239, + "line": 343, "column": 36 } } @@ -74852,15 +99025,15 @@ "binop": null, "updateContext": null }, - "start": 12093, - "end": 12094, + "start": 15524, + "end": 15525, "loc": { "start": { - "line": 239, + "line": 343, "column": 36 }, "end": { - "line": 239, + "line": 343, "column": 37 } } @@ -74878,15 +99051,15 @@ "binop": null }, "value": "indices", - "start": 12094, - "end": 12101, + "start": 15525, + "end": 15532, "loc": { "start": { - "line": 239, + "line": 343, "column": 37 }, "end": { - "line": 239, + "line": 343, "column": 44 } } @@ -74904,15 +99077,15 @@ "binop": null, "updateContext": null }, - "start": 12101, - "end": 12102, + "start": 15532, + "end": 15533, "loc": { "start": { - "line": 239, + "line": 343, "column": 44 }, "end": { - "line": 239, + "line": 343, "column": 45 } } @@ -74930,15 +99103,15 @@ "binop": null }, "value": "length", - "start": 12102, - "end": 12108, + "start": 15533, + "end": 15539, "loc": { "start": { - "line": 239, + "line": 343, "column": 45 }, "end": { - "line": 239, + "line": 343, "column": 51 } } @@ -74956,15 +99129,15 @@ "binop": null, "updateContext": null }, - "start": 12108, - "end": 12109, + "start": 15539, + "end": 15540, "loc": { "start": { - "line": 239, + "line": 343, "column": 51 }, "end": { - "line": 239, + "line": 343, "column": 52 } } @@ -74981,15 +99154,15 @@ "postfix": false, "binop": null }, - "start": 12118, - "end": 12119, + "start": 15549, + "end": 15550, "loc": { "start": { - "line": 240, + "line": 344, "column": 8 }, "end": { - "line": 240, + "line": 344, "column": 9 } } @@ -75009,15 +99182,15 @@ "updateContext": null }, "value": "if", - "start": 12128, - "end": 12130, + "start": 15559, + "end": 15561, "loc": { "start": { - "line": 241, + "line": 345, "column": 8 }, "end": { - "line": 241, + "line": 345, "column": 10 } } @@ -75034,15 +99207,15 @@ "postfix": false, "binop": null }, - "start": 12131, - "end": 12132, + "start": 15562, + "end": 15563, "loc": { "start": { - "line": 241, + "line": 345, "column": 11 }, "end": { - "line": 241, + "line": 345, "column": 12 } } @@ -75060,15 +99233,15 @@ "binop": null }, "value": "geometry", - "start": 12132, - "end": 12140, + "start": 15563, + "end": 15571, "loc": { "start": { - "line": 241, + "line": 345, "column": 12 }, "end": { - "line": 241, + "line": 345, "column": 20 } } @@ -75086,15 +99259,15 @@ "binop": null, "updateContext": null }, - "start": 12140, - "end": 12141, + "start": 15571, + "end": 15572, "loc": { "start": { - "line": 241, + "line": 345, "column": 20 }, "end": { - "line": 241, + "line": 345, "column": 21 } } @@ -75112,15 +99285,15 @@ "binop": null }, "value": "edgeIndices", - "start": 12141, - "end": 12152, + "start": 15572, + "end": 15583, "loc": { "start": { - "line": 241, + "line": 345, "column": 21 }, "end": { - "line": 241, + "line": 345, "column": 32 } } @@ -75137,15 +99310,15 @@ "postfix": false, "binop": null }, - "start": 12152, - "end": 12153, + "start": 15583, + "end": 15584, "loc": { "start": { - "line": 241, + "line": 345, "column": 32 }, "end": { - "line": 241, + "line": 345, "column": 33 } } @@ -75162,15 +99335,15 @@ "postfix": false, "binop": null }, - "start": 12154, - "end": 12155, + "start": 15585, + "end": 15586, "loc": { "start": { - "line": 241, + "line": 345, "column": 34 }, "end": { - "line": 241, + "line": 345, "column": 35 } } @@ -75188,15 +99361,15 @@ "binop": null }, "value": "data", - "start": 12168, - "end": 12172, + "start": 15599, + "end": 15603, "loc": { "start": { - "line": 242, + "line": 346, "column": 12 }, "end": { - "line": 242, + "line": 346, "column": 16 } } @@ -75214,15 +99387,15 @@ "binop": null, "updateContext": null }, - "start": 12172, - "end": 12173, + "start": 15603, + "end": 15604, "loc": { "start": { - "line": 242, + "line": 346, "column": 16 }, "end": { - "line": 242, + "line": 346, "column": 17 } } @@ -75240,15 +99413,15 @@ "binop": null }, "value": "edgeIndices", - "start": 12173, - "end": 12184, + "start": 15604, + "end": 15615, "loc": { "start": { - "line": 242, + "line": 346, "column": 17 }, "end": { - "line": 242, + "line": 346, "column": 28 } } @@ -75266,15 +99439,15 @@ "binop": null, "updateContext": null }, - "start": 12184, - "end": 12185, + "start": 15615, + "end": 15616, "loc": { "start": { - "line": 242, + "line": 346, "column": 28 }, "end": { - "line": 242, + "line": 346, "column": 29 } } @@ -75292,15 +99465,15 @@ "binop": null }, "value": "set", - "start": 12185, - "end": 12188, + "start": 15616, + "end": 15619, "loc": { "start": { - "line": 242, + "line": 346, "column": 29 }, "end": { - "line": 242, + "line": 346, "column": 32 } } @@ -75317,15 +99490,15 @@ "postfix": false, "binop": null }, - "start": 12188, - "end": 12189, + "start": 15619, + "end": 15620, "loc": { "start": { - "line": 242, + "line": 346, "column": 32 }, "end": { - "line": 242, + "line": 346, "column": 33 } } @@ -75343,15 +99516,15 @@ "binop": null }, "value": "geometry", - "start": 12189, - "end": 12197, + "start": 15620, + "end": 15628, "loc": { "start": { - "line": 242, + "line": 346, "column": 33 }, "end": { - "line": 242, + "line": 346, "column": 41 } } @@ -75369,15 +99542,15 @@ "binop": null, "updateContext": null }, - "start": 12197, - "end": 12198, + "start": 15628, + "end": 15629, "loc": { "start": { - "line": 242, + "line": 346, "column": 41 }, "end": { - "line": 242, + "line": 346, "column": 42 } } @@ -75395,15 +99568,15 @@ "binop": null }, "value": "edgeIndices", - "start": 12198, - "end": 12209, + "start": 15629, + "end": 15640, "loc": { "start": { - "line": 242, + "line": 346, "column": 42 }, "end": { - "line": 242, + "line": 346, "column": 53 } } @@ -75421,15 +99594,15 @@ "binop": null, "updateContext": null }, - "start": 12209, - "end": 12210, + "start": 15640, + "end": 15641, "loc": { "start": { - "line": 242, + "line": 346, "column": 53 }, "end": { - "line": 242, + "line": 346, "column": 54 } } @@ -75447,15 +99620,15 @@ "binop": null }, "value": "countEdgeIndices", - "start": 12211, - "end": 12227, + "start": 15642, + "end": 15658, "loc": { "start": { - "line": 242, + "line": 346, "column": 55 }, "end": { - "line": 242, + "line": 346, "column": 71 } } @@ -75472,15 +99645,15 @@ "postfix": false, "binop": null }, - "start": 12227, - "end": 12228, + "start": 15658, + "end": 15659, "loc": { "start": { - "line": 242, + "line": 346, "column": 71 }, "end": { - "line": 242, + "line": 346, "column": 72 } } @@ -75498,15 +99671,15 @@ "binop": null, "updateContext": null }, - "start": 12228, - "end": 12229, + "start": 15659, + "end": 15660, "loc": { "start": { - "line": 242, + "line": 346, "column": 72 }, "end": { - "line": 242, + "line": 346, "column": 73 } } @@ -75524,15 +99697,15 @@ "binop": null }, "value": "countEdgeIndices", - "start": 12242, - "end": 12258, + "start": 15673, + "end": 15689, "loc": { "start": { - "line": 243, + "line": 347, "column": 12 }, "end": { - "line": 243, + "line": 347, "column": 28 } } @@ -75551,15 +99724,15 @@ "updateContext": null }, "value": "+=", - "start": 12259, - "end": 12261, + "start": 15690, + "end": 15692, "loc": { "start": { - "line": 243, + "line": 347, "column": 29 }, "end": { - "line": 243, + "line": 347, "column": 31 } } @@ -75577,15 +99750,15 @@ "binop": null }, "value": "geometry", - "start": 12262, - "end": 12270, + "start": 15693, + "end": 15701, "loc": { "start": { - "line": 243, + "line": 347, "column": 32 }, "end": { - "line": 243, + "line": 347, "column": 40 } } @@ -75603,15 +99776,15 @@ "binop": null, "updateContext": null }, - "start": 12270, - "end": 12271, + "start": 15701, + "end": 15702, "loc": { "start": { - "line": 243, + "line": 347, "column": 40 }, "end": { - "line": 243, + "line": 347, "column": 41 } } @@ -75629,15 +99802,15 @@ "binop": null }, "value": "edgeIndices", - "start": 12271, - "end": 12282, + "start": 15702, + "end": 15713, "loc": { "start": { - "line": 243, + "line": 347, "column": 41 }, "end": { - "line": 243, + "line": 347, "column": 52 } } @@ -75655,15 +99828,15 @@ "binop": null, "updateContext": null }, - "start": 12282, - "end": 12283, + "start": 15713, + "end": 15714, "loc": { "start": { - "line": 243, + "line": 347, "column": 52 }, "end": { - "line": 243, + "line": 347, "column": 53 } } @@ -75681,15 +99854,15 @@ "binop": null }, "value": "length", - "start": 12283, - "end": 12289, + "start": 15714, + "end": 15720, "loc": { "start": { - "line": 243, + "line": 347, "column": 53 }, "end": { - "line": 243, + "line": 347, "column": 59 } } @@ -75707,15 +99880,15 @@ "binop": null, "updateContext": null }, - "start": 12289, - "end": 12290, + "start": 15720, + "end": 15721, "loc": { "start": { - "line": 243, + "line": 347, "column": 59 }, "end": { - "line": 243, + "line": 347, "column": 60 } } @@ -75732,15 +99905,15 @@ "postfix": false, "binop": null }, - "start": 12299, - "end": 12300, + "start": 15730, + "end": 15731, "loc": { "start": { - "line": 244, + "line": 348, "column": 8 }, "end": { - "line": 244, + "line": 348, "column": 9 } } @@ -75757,15 +99930,15 @@ "postfix": false, "binop": null }, - "start": 12305, - "end": 12306, + "start": 15736, + "end": 15737, "loc": { "start": { - "line": 245, + "line": 349, "column": 4 }, "end": { - "line": 245, + "line": 349, "column": 5 } } @@ -75773,15 +99946,15 @@ { "type": "CommentLine", "value": " Textures", - "start": 12312, - "end": 12323, + "start": 15743, + "end": 15754, "loc": { "start": { - "line": 247, + "line": 351, "column": 4 }, "end": { - "line": 247, + "line": 351, "column": 15 } } @@ -75801,15 +99974,15 @@ "updateContext": null }, "value": "for", - "start": 12329, - "end": 12332, + "start": 15760, + "end": 15763, "loc": { "start": { - "line": 249, + "line": 353, "column": 4 }, "end": { - "line": 249, + "line": 353, "column": 7 } } @@ -75826,15 +99999,15 @@ "postfix": false, "binop": null }, - "start": 12333, - "end": 12334, + "start": 15764, + "end": 15765, "loc": { "start": { - "line": 249, + "line": 353, "column": 8 }, "end": { - "line": 249, + "line": 353, "column": 9 } } @@ -75854,15 +100027,15 @@ "updateContext": null }, "value": "let", - "start": 12334, - "end": 12337, + "start": 15765, + "end": 15768, "loc": { "start": { - "line": 249, + "line": 353, "column": 9 }, "end": { - "line": 249, + "line": 353, "column": 12 } } @@ -75880,15 +100053,15 @@ "binop": null }, "value": "textureIndex", - "start": 12338, - "end": 12350, + "start": 15769, + "end": 15781, "loc": { "start": { - "line": 249, + "line": 353, "column": 13 }, "end": { - "line": 249, + "line": 353, "column": 25 } } @@ -75907,15 +100080,15 @@ "updateContext": null }, "value": "=", - "start": 12351, - "end": 12352, + "start": 15782, + "end": 15783, "loc": { "start": { - "line": 249, + "line": 353, "column": 26 }, "end": { - "line": 249, + "line": 353, "column": 27 } } @@ -75934,15 +100107,15 @@ "updateContext": null }, "value": 0, - "start": 12353, - "end": 12354, + "start": 15784, + "end": 15785, "loc": { "start": { - "line": 249, + "line": 353, "column": 28 }, "end": { - "line": 249, + "line": 353, "column": 29 } } @@ -75960,15 +100133,15 @@ "binop": null, "updateContext": null }, - "start": 12354, - "end": 12355, + "start": 15785, + "end": 15786, "loc": { "start": { - "line": 249, + "line": 353, "column": 29 }, "end": { - "line": 249, + "line": 353, "column": 30 } } @@ -75986,15 +100159,15 @@ "binop": null }, "value": "numTextures", - "start": 12356, - "end": 12367, + "start": 15787, + "end": 15798, "loc": { "start": { - "line": 249, + "line": 353, "column": 31 }, "end": { - "line": 249, + "line": 353, "column": 42 } } @@ -76013,15 +100186,15 @@ "updateContext": null }, "value": "=", - "start": 12368, - "end": 12369, + "start": 15799, + "end": 15800, "loc": { "start": { - "line": 249, + "line": 353, "column": 43 }, "end": { - "line": 249, + "line": 353, "column": 44 } } @@ -76039,15 +100212,15 @@ "binop": null }, "value": "xktModel", - "start": 12370, - "end": 12378, + "start": 15801, + "end": 15809, "loc": { "start": { - "line": 249, + "line": 353, "column": 45 }, "end": { - "line": 249, + "line": 353, "column": 53 } } @@ -76065,15 +100238,15 @@ "binop": null, "updateContext": null }, - "start": 12378, - "end": 12379, + "start": 15809, + "end": 15810, "loc": { "start": { - "line": 249, + "line": 353, "column": 53 }, "end": { - "line": 249, + "line": 353, "column": 54 } } @@ -76091,15 +100264,15 @@ "binop": null }, "value": "texturesList", - "start": 12379, - "end": 12391, + "start": 15810, + "end": 15822, "loc": { "start": { - "line": 249, + "line": 353, "column": 54 }, "end": { - "line": 249, + "line": 353, "column": 66 } } @@ -76117,15 +100290,15 @@ "binop": null, "updateContext": null }, - "start": 12391, - "end": 12392, + "start": 15822, + "end": 15823, "loc": { "start": { - "line": 249, + "line": 353, "column": 66 }, "end": { - "line": 249, + "line": 353, "column": 67 } } @@ -76143,15 +100316,15 @@ "binop": null }, "value": "length", - "start": 12392, - "end": 12398, + "start": 15823, + "end": 15829, "loc": { "start": { - "line": 249, + "line": 353, "column": 67 }, "end": { - "line": 249, + "line": 353, "column": 73 } } @@ -76169,15 +100342,15 @@ "binop": null, "updateContext": null }, - "start": 12398, - "end": 12399, + "start": 15829, + "end": 15830, "loc": { "start": { - "line": 249, + "line": 353, "column": 73 }, "end": { - "line": 249, + "line": 353, "column": 74 } } @@ -76195,15 +100368,15 @@ "binop": null }, "value": "portionIdx", - "start": 12400, - "end": 12410, + "start": 15831, + "end": 15841, "loc": { "start": { - "line": 249, + "line": 353, "column": 75 }, "end": { - "line": 249, + "line": 353, "column": 85 } } @@ -76222,15 +100395,15 @@ "updateContext": null }, "value": "=", - "start": 12411, - "end": 12412, + "start": 15842, + "end": 15843, "loc": { "start": { - "line": 249, + "line": 353, "column": 86 }, "end": { - "line": 249, + "line": 353, "column": 87 } } @@ -76249,15 +100422,15 @@ "updateContext": null }, "value": 0, - "start": 12413, - "end": 12414, + "start": 15844, + "end": 15845, "loc": { "start": { - "line": 249, + "line": 353, "column": 88 }, "end": { - "line": 249, + "line": 353, "column": 89 } } @@ -76275,15 +100448,15 @@ "binop": null, "updateContext": null }, - "start": 12414, - "end": 12415, + "start": 15845, + "end": 15846, "loc": { "start": { - "line": 249, + "line": 353, "column": 89 }, "end": { - "line": 249, + "line": 353, "column": 90 } } @@ -76301,15 +100474,15 @@ "binop": null }, "value": "textureIndex", - "start": 12416, - "end": 12428, + "start": 15847, + "end": 15859, "loc": { "start": { - "line": 249, + "line": 353, "column": 91 }, "end": { - "line": 249, + "line": 353, "column": 103 } } @@ -76328,15 +100501,15 @@ "updateContext": null }, "value": "<", - "start": 12429, - "end": 12430, + "start": 15860, + "end": 15861, "loc": { "start": { - "line": 249, + "line": 353, "column": 104 }, "end": { - "line": 249, + "line": 353, "column": 105 } } @@ -76354,15 +100527,15 @@ "binop": null }, "value": "numTextures", - "start": 12431, - "end": 12442, + "start": 15862, + "end": 15873, "loc": { "start": { - "line": 249, + "line": 353, "column": 106 }, "end": { - "line": 249, + "line": 353, "column": 117 } } @@ -76380,15 +100553,15 @@ "binop": null, "updateContext": null }, - "start": 12442, - "end": 12443, + "start": 15873, + "end": 15874, "loc": { "start": { - "line": 249, + "line": 353, "column": 117 }, "end": { - "line": 249, + "line": 353, "column": 118 } } @@ -76406,15 +100579,15 @@ "binop": null }, "value": "textureIndex", - "start": 12444, - "end": 12456, + "start": 15875, + "end": 15887, "loc": { "start": { - "line": 249, + "line": 353, "column": 119 }, "end": { - "line": 249, + "line": 353, "column": 131 } } @@ -76432,15 +100605,15 @@ "binop": null }, "value": "++", - "start": 12456, - "end": 12458, + "start": 15887, + "end": 15889, "loc": { "start": { - "line": 249, + "line": 353, "column": 131 }, "end": { - "line": 249, + "line": 353, "column": 133 } } @@ -76457,15 +100630,15 @@ "postfix": false, "binop": null }, - "start": 12458, - "end": 12459, + "start": 15889, + "end": 15890, "loc": { "start": { - "line": 249, + "line": 353, "column": 133 }, "end": { - "line": 249, + "line": 353, "column": 134 } } @@ -76482,15 +100655,15 @@ "postfix": false, "binop": null }, - "start": 12460, - "end": 12461, + "start": 15891, + "end": 15892, "loc": { "start": { - "line": 249, + "line": 353, "column": 135 }, "end": { - "line": 249, + "line": 353, "column": 136 } } @@ -76510,15 +100683,15 @@ "updateContext": null }, "value": "const", - "start": 12470, - "end": 12475, + "start": 15901, + "end": 15906, "loc": { "start": { - "line": 250, + "line": 354, "column": 8 }, "end": { - "line": 250, + "line": 354, "column": 13 } } @@ -76536,15 +100709,15 @@ "binop": null }, "value": "xktTexture", - "start": 12476, - "end": 12486, + "start": 15907, + "end": 15917, "loc": { "start": { - "line": 250, + "line": 354, "column": 14 }, "end": { - "line": 250, + "line": 354, "column": 24 } } @@ -76563,15 +100736,15 @@ "updateContext": null }, "value": "=", - "start": 12487, - "end": 12488, + "start": 15918, + "end": 15919, "loc": { "start": { - "line": 250, + "line": 354, "column": 25 }, "end": { - "line": 250, + "line": 354, "column": 26 } } @@ -76589,15 +100762,15 @@ "binop": null }, "value": "xktModel", - "start": 12489, - "end": 12497, + "start": 15920, + "end": 15928, "loc": { "start": { - "line": 250, + "line": 354, "column": 27 }, "end": { - "line": 250, + "line": 354, "column": 35 } } @@ -76615,15 +100788,15 @@ "binop": null, "updateContext": null }, - "start": 12497, - "end": 12498, + "start": 15928, + "end": 15929, "loc": { "start": { - "line": 250, + "line": 354, "column": 35 }, "end": { - "line": 250, + "line": 354, "column": 36 } } @@ -76641,15 +100814,15 @@ "binop": null }, "value": "texturesList", - "start": 12498, - "end": 12510, + "start": 15929, + "end": 15941, "loc": { "start": { - "line": 250, + "line": 354, "column": 36 }, "end": { - "line": 250, + "line": 354, "column": 48 } } @@ -76667,15 +100840,15 @@ "binop": null, "updateContext": null }, - "start": 12510, - "end": 12511, + "start": 15941, + "end": 15942, "loc": { "start": { - "line": 250, + "line": 354, "column": 48 }, "end": { - "line": 250, + "line": 354, "column": 49 } } @@ -76693,15 +100866,15 @@ "binop": null }, "value": "textureIndex", - "start": 12511, - "end": 12523, + "start": 15942, + "end": 15954, "loc": { "start": { - "line": 250, + "line": 354, "column": 49 }, "end": { - "line": 250, + "line": 354, "column": 61 } } @@ -76719,15 +100892,15 @@ "binop": null, "updateContext": null }, - "start": 12523, - "end": 12524, + "start": 15954, + "end": 15955, "loc": { "start": { - "line": 250, + "line": 354, "column": 61 }, "end": { - "line": 250, + "line": 354, "column": 62 } } @@ -76745,15 +100918,15 @@ "binop": null, "updateContext": null }, - "start": 12524, - "end": 12525, + "start": 15955, + "end": 15956, "loc": { "start": { - "line": 250, + "line": 354, "column": 62 }, "end": { - "line": 250, + "line": 354, "column": 63 } } @@ -76773,15 +100946,15 @@ "updateContext": null }, "value": "const", - "start": 12534, - "end": 12539, + "start": 15965, + "end": 15970, "loc": { "start": { - "line": 251, + "line": 355, "column": 8 }, "end": { - "line": 251, + "line": 355, "column": 13 } } @@ -76799,15 +100972,15 @@ "binop": null }, "value": "imageData", - "start": 12540, - "end": 12549, + "start": 15971, + "end": 15980, "loc": { "start": { - "line": 251, + "line": 355, "column": 14 }, "end": { - "line": 251, + "line": 355, "column": 23 } } @@ -76826,15 +100999,15 @@ "updateContext": null }, "value": "=", - "start": 12550, - "end": 12551, + "start": 15981, + "end": 15982, "loc": { "start": { - "line": 251, + "line": 355, "column": 24 }, "end": { - "line": 251, + "line": 355, "column": 25 } } @@ -76852,15 +101025,15 @@ "binop": null }, "value": "xktTexture", - "start": 12552, - "end": 12562, + "start": 15983, + "end": 15993, "loc": { "start": { - "line": 251, + "line": 355, "column": 26 }, "end": { - "line": 251, + "line": 355, "column": 36 } } @@ -76878,15 +101051,15 @@ "binop": null, "updateContext": null }, - "start": 12562, - "end": 12563, + "start": 15993, + "end": 15994, "loc": { "start": { - "line": 251, + "line": 355, "column": 36 }, "end": { - "line": 251, + "line": 355, "column": 37 } } @@ -76904,15 +101077,15 @@ "binop": null }, "value": "imageData", - "start": 12563, - "end": 12572, + "start": 15994, + "end": 16003, "loc": { "start": { - "line": 251, + "line": 355, "column": 37 }, "end": { - "line": 251, + "line": 355, "column": 46 } } @@ -76930,15 +101103,15 @@ "binop": null, "updateContext": null }, - "start": 12572, - "end": 12573, + "start": 16003, + "end": 16004, "loc": { "start": { - "line": 251, + "line": 355, "column": 46 }, "end": { - "line": 251, + "line": 355, "column": 47 } } @@ -76956,15 +101129,15 @@ "binop": null }, "value": "data", - "start": 12582, - "end": 12586, + "start": 16013, + "end": 16017, "loc": { "start": { - "line": 252, + "line": 356, "column": 8 }, "end": { - "line": 252, + "line": 356, "column": 12 } } @@ -76982,15 +101155,15 @@ "binop": null, "updateContext": null }, - "start": 12586, - "end": 12587, + "start": 16017, + "end": 16018, "loc": { "start": { - "line": 252, + "line": 356, "column": 12 }, "end": { - "line": 252, + "line": 356, "column": 13 } } @@ -77008,15 +101181,15 @@ "binop": null }, "value": "textureData", - "start": 12587, - "end": 12598, + "start": 16018, + "end": 16029, "loc": { "start": { - "line": 252, + "line": 356, "column": 13 }, "end": { - "line": 252, + "line": 356, "column": 24 } } @@ -77034,15 +101207,15 @@ "binop": null, "updateContext": null }, - "start": 12598, - "end": 12599, + "start": 16029, + "end": 16030, "loc": { "start": { - "line": 252, + "line": 356, "column": 24 }, "end": { - "line": 252, + "line": 356, "column": 25 } } @@ -77060,15 +101233,15 @@ "binop": null }, "value": "set", - "start": 12599, - "end": 12602, + "start": 16030, + "end": 16033, "loc": { "start": { - "line": 252, + "line": 356, "column": 25 }, "end": { - "line": 252, + "line": 356, "column": 28 } } @@ -77085,15 +101258,15 @@ "postfix": false, "binop": null }, - "start": 12602, - "end": 12603, + "start": 16033, + "end": 16034, "loc": { "start": { - "line": 252, + "line": 356, "column": 28 }, "end": { - "line": 252, + "line": 356, "column": 29 } } @@ -77111,15 +101284,15 @@ "binop": null }, "value": "imageData", - "start": 12603, - "end": 12612, + "start": 16034, + "end": 16043, "loc": { "start": { - "line": 252, + "line": 356, "column": 29 }, "end": { - "line": 252, + "line": 356, "column": 38 } } @@ -77137,15 +101310,15 @@ "binop": null, "updateContext": null }, - "start": 12612, - "end": 12613, + "start": 16043, + "end": 16044, "loc": { "start": { - "line": 252, + "line": 356, "column": 38 }, "end": { - "line": 252, + "line": 356, "column": 39 } } @@ -77163,15 +101336,15 @@ "binop": null }, "value": "portionIdx", - "start": 12614, - "end": 12624, + "start": 16045, + "end": 16055, "loc": { "start": { - "line": 252, + "line": 356, "column": 40 }, "end": { - "line": 252, + "line": 356, "column": 50 } } @@ -77188,15 +101361,15 @@ "postfix": false, "binop": null }, - "start": 12624, - "end": 12625, + "start": 16055, + "end": 16056, "loc": { "start": { - "line": 252, + "line": 356, "column": 50 }, "end": { - "line": 252, + "line": 356, "column": 51 } } @@ -77214,15 +101387,15 @@ "binop": null, "updateContext": null }, - "start": 12625, - "end": 12626, + "start": 16056, + "end": 16057, "loc": { "start": { - "line": 252, + "line": 356, "column": 51 }, "end": { - "line": 252, + "line": 356, "column": 52 } } @@ -77240,15 +101413,15 @@ "binop": null }, "value": "data", - "start": 12635, - "end": 12639, + "start": 16066, + "end": 16070, "loc": { "start": { - "line": 253, + "line": 357, "column": 8 }, "end": { - "line": 253, + "line": 357, "column": 12 } } @@ -77266,15 +101439,15 @@ "binop": null, "updateContext": null }, - "start": 12639, - "end": 12640, + "start": 16070, + "end": 16071, "loc": { "start": { - "line": 253, + "line": 357, "column": 12 }, "end": { - "line": 253, + "line": 357, "column": 13 } } @@ -77292,15 +101465,15 @@ "binop": null }, "value": "eachTextureDataPortion", - "start": 12640, - "end": 12662, + "start": 16071, + "end": 16093, "loc": { "start": { - "line": 253, + "line": 357, "column": 13 }, "end": { - "line": 253, + "line": 357, "column": 35 } } @@ -77318,15 +101491,15 @@ "binop": null, "updateContext": null }, - "start": 12662, - "end": 12663, + "start": 16093, + "end": 16094, "loc": { "start": { - "line": 253, + "line": 357, "column": 35 }, "end": { - "line": 253, + "line": 357, "column": 36 } } @@ -77344,15 +101517,15 @@ "binop": null }, "value": "textureIndex", - "start": 12663, - "end": 12675, + "start": 16094, + "end": 16106, "loc": { "start": { - "line": 253, + "line": 357, "column": 36 }, "end": { - "line": 253, + "line": 357, "column": 48 } } @@ -77370,15 +101543,15 @@ "binop": null, "updateContext": null }, - "start": 12675, - "end": 12676, + "start": 16106, + "end": 16107, "loc": { "start": { - "line": 253, + "line": 357, "column": 48 }, "end": { - "line": 253, + "line": 357, "column": 49 } } @@ -77397,15 +101570,15 @@ "updateContext": null }, "value": "=", - "start": 12677, - "end": 12678, + "start": 16108, + "end": 16109, "loc": { "start": { - "line": 253, + "line": 357, "column": 50 }, "end": { - "line": 253, + "line": 357, "column": 51 } } @@ -77423,15 +101596,15 @@ "binop": null }, "value": "portionIdx", - "start": 12679, - "end": 12689, + "start": 16110, + "end": 16120, "loc": { "start": { - "line": 253, + "line": 357, "column": 52 }, "end": { - "line": 253, + "line": 357, "column": 62 } } @@ -77449,15 +101622,15 @@ "binop": null, "updateContext": null }, - "start": 12689, - "end": 12690, + "start": 16120, + "end": 16121, "loc": { "start": { - "line": 253, + "line": 357, "column": 62 }, "end": { - "line": 253, + "line": 357, "column": 63 } } @@ -77475,15 +101648,15 @@ "binop": null }, "value": "portionIdx", - "start": 12700, - "end": 12710, + "start": 16131, + "end": 16141, "loc": { "start": { - "line": 255, + "line": 359, "column": 8 }, "end": { - "line": 255, + "line": 359, "column": 18 } } @@ -77502,15 +101675,15 @@ "updateContext": null }, "value": "+=", - "start": 12711, - "end": 12713, + "start": 16142, + "end": 16144, "loc": { "start": { - "line": 255, + "line": 359, "column": 19 }, "end": { - "line": 255, + "line": 359, "column": 21 } } @@ -77528,15 +101701,15 @@ "binop": null }, "value": "imageData", - "start": 12714, - "end": 12723, + "start": 16145, + "end": 16154, "loc": { "start": { - "line": 255, + "line": 359, "column": 22 }, "end": { - "line": 255, + "line": 359, "column": 31 } } @@ -77554,15 +101727,15 @@ "binop": null, "updateContext": null }, - "start": 12723, - "end": 12724, + "start": 16154, + "end": 16155, "loc": { "start": { - "line": 255, + "line": 359, "column": 31 }, "end": { - "line": 255, + "line": 359, "column": 32 } } @@ -77580,15 +101753,15 @@ "binop": null }, "value": "byteLength", - "start": 12724, - "end": 12734, + "start": 16155, + "end": 16165, "loc": { "start": { - "line": 255, + "line": 359, "column": 32 }, "end": { - "line": 255, + "line": 359, "column": 42 } } @@ -77606,15 +101779,15 @@ "binop": null, "updateContext": null }, - "start": 12734, - "end": 12735, + "start": 16165, + "end": 16166, "loc": { "start": { - "line": 255, + "line": 359, "column": 42 }, "end": { - "line": 255, + "line": 359, "column": 43 } } @@ -77634,15 +101807,15 @@ "updateContext": null }, "value": "let", - "start": 12745, - "end": 12748, + "start": 16176, + "end": 16179, "loc": { "start": { - "line": 257, + "line": 361, "column": 8 }, "end": { - "line": 257, + "line": 361, "column": 11 } } @@ -77660,15 +101833,15 @@ "binop": null }, "value": "textureAttrIdx", - "start": 12749, - "end": 12763, + "start": 16180, + "end": 16194, "loc": { "start": { - "line": 257, + "line": 361, "column": 12 }, "end": { - "line": 257, + "line": 361, "column": 26 } } @@ -77687,15 +101860,15 @@ "updateContext": null }, "value": "=", - "start": 12764, - "end": 12765, + "start": 16195, + "end": 16196, "loc": { "start": { - "line": 257, + "line": 361, "column": 27 }, "end": { - "line": 257, + "line": 361, "column": 28 } } @@ -77713,15 +101886,15 @@ "binop": null }, "value": "textureIndex", - "start": 12766, - "end": 12778, + "start": 16197, + "end": 16209, "loc": { "start": { - "line": 257, + "line": 361, "column": 29 }, "end": { - "line": 257, + "line": 361, "column": 41 } } @@ -77740,15 +101913,15 @@ "updateContext": null }, "value": "*", - "start": 12779, - "end": 12780, + "start": 16210, + "end": 16211, "loc": { "start": { - "line": 257, + "line": 361, "column": 42 }, "end": { - "line": 257, + "line": 361, "column": 43 } } @@ -77766,15 +101939,15 @@ "binop": null }, "value": "NUM_TEXTURE_ATTRIBUTES", - "start": 12781, - "end": 12803, + "start": 16212, + "end": 16234, "loc": { "start": { - "line": 257, + "line": 361, "column": 44 }, "end": { - "line": 257, + "line": 361, "column": 66 } } @@ -77792,15 +101965,15 @@ "binop": null, "updateContext": null }, - "start": 12803, - "end": 12804, + "start": 16234, + "end": 16235, "loc": { "start": { - "line": 257, + "line": 361, "column": 66 }, "end": { - "line": 257, + "line": 361, "column": 67 } } @@ -77818,15 +101991,15 @@ "binop": null }, "value": "data", - "start": 12813, - "end": 12817, + "start": 16244, + "end": 16248, "loc": { "start": { - "line": 258, + "line": 362, "column": 8 }, "end": { - "line": 258, + "line": 362, "column": 12 } } @@ -77844,15 +102017,15 @@ "binop": null, "updateContext": null }, - "start": 12817, - "end": 12818, + "start": 16248, + "end": 16249, "loc": { "start": { - "line": 258, + "line": 362, "column": 12 }, "end": { - "line": 258, + "line": 362, "column": 13 } } @@ -77870,15 +102043,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 12818, - "end": 12839, + "start": 16249, + "end": 16270, "loc": { "start": { - "line": 258, + "line": 362, "column": 13 }, "end": { - "line": 258, + "line": 362, "column": 34 } } @@ -77896,15 +102069,15 @@ "binop": null, "updateContext": null }, - "start": 12839, - "end": 12840, + "start": 16270, + "end": 16271, "loc": { "start": { - "line": 258, + "line": 362, "column": 34 }, "end": { - "line": 258, + "line": 362, "column": 35 } } @@ -77922,15 +102095,15 @@ "binop": null }, "value": "textureAttrIdx", - "start": 12840, - "end": 12854, + "start": 16271, + "end": 16285, "loc": { "start": { - "line": 258, + "line": 362, "column": 35 }, "end": { - "line": 258, + "line": 362, "column": 49 } } @@ -77948,15 +102121,15 @@ "binop": null }, "value": "++", - "start": 12854, - "end": 12856, + "start": 16285, + "end": 16287, "loc": { "start": { - "line": 258, + "line": 362, "column": 49 }, "end": { - "line": 258, + "line": 362, "column": 51 } } @@ -77974,15 +102147,15 @@ "binop": null, "updateContext": null }, - "start": 12856, - "end": 12857, + "start": 16287, + "end": 16288, "loc": { "start": { - "line": 258, + "line": 362, "column": 51 }, "end": { - "line": 258, + "line": 362, "column": 52 } } @@ -78001,15 +102174,15 @@ "updateContext": null }, "value": "=", - "start": 12858, - "end": 12859, + "start": 16289, + "end": 16290, "loc": { "start": { - "line": 258, + "line": 362, "column": 53 }, "end": { - "line": 258, + "line": 362, "column": 54 } } @@ -78027,15 +102200,15 @@ "binop": null }, "value": "xktTexture", - "start": 12860, - "end": 12870, + "start": 16291, + "end": 16301, "loc": { "start": { - "line": 258, + "line": 362, "column": 55 }, "end": { - "line": 258, + "line": 362, "column": 65 } } @@ -78053,15 +102226,15 @@ "binop": null, "updateContext": null }, - "start": 12870, - "end": 12871, + "start": 16301, + "end": 16302, "loc": { "start": { - "line": 258, + "line": 362, "column": 65 }, "end": { - "line": 258, + "line": 362, "column": 66 } } @@ -78079,15 +102252,15 @@ "binop": null }, "value": "compressed", - "start": 12871, - "end": 12881, + "start": 16302, + "end": 16312, "loc": { "start": { - "line": 258, + "line": 362, "column": 66 }, "end": { - "line": 258, + "line": 362, "column": 76 } } @@ -78105,15 +102278,15 @@ "binop": null, "updateContext": null }, - "start": 12882, - "end": 12883, + "start": 16313, + "end": 16314, "loc": { "start": { - "line": 258, + "line": 362, "column": 77 }, "end": { - "line": 258, + "line": 362, "column": 78 } } @@ -78132,15 +102305,15 @@ "updateContext": null }, "value": 1, - "start": 12884, - "end": 12885, + "start": 16315, + "end": 16316, "loc": { "start": { - "line": 258, + "line": 362, "column": 79 }, "end": { - "line": 258, + "line": 362, "column": 80 } } @@ -78158,15 +102331,15 @@ "binop": null, "updateContext": null }, - "start": 12886, - "end": 12887, + "start": 16317, + "end": 16318, "loc": { "start": { - "line": 258, + "line": 362, "column": 81 }, "end": { - "line": 258, + "line": 362, "column": 82 } } @@ -78185,15 +102358,15 @@ "updateContext": null }, "value": 0, - "start": 12888, - "end": 12889, + "start": 16319, + "end": 16320, "loc": { "start": { - "line": 258, + "line": 362, "column": 83 }, "end": { - "line": 258, + "line": 362, "column": 84 } } @@ -78211,15 +102384,15 @@ "binop": null, "updateContext": null }, - "start": 12889, - "end": 12890, + "start": 16320, + "end": 16321, "loc": { "start": { - "line": 258, + "line": 362, "column": 84 }, "end": { - "line": 258, + "line": 362, "column": 85 } } @@ -78237,15 +102410,15 @@ "binop": null }, "value": "data", - "start": 12899, - "end": 12903, + "start": 16330, + "end": 16334, "loc": { "start": { - "line": 259, + "line": 363, "column": 8 }, "end": { - "line": 259, + "line": 363, "column": 12 } } @@ -78263,15 +102436,15 @@ "binop": null, "updateContext": null }, - "start": 12903, - "end": 12904, + "start": 16334, + "end": 16335, "loc": { "start": { - "line": 259, + "line": 363, "column": 12 }, "end": { - "line": 259, + "line": 363, "column": 13 } } @@ -78289,15 +102462,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 12904, - "end": 12925, + "start": 16335, + "end": 16356, "loc": { "start": { - "line": 259, + "line": 363, "column": 13 }, "end": { - "line": 259, + "line": 363, "column": 34 } } @@ -78315,15 +102488,15 @@ "binop": null, "updateContext": null }, - "start": 12925, - "end": 12926, + "start": 16356, + "end": 16357, "loc": { "start": { - "line": 259, + "line": 363, "column": 34 }, "end": { - "line": 259, + "line": 363, "column": 35 } } @@ -78341,15 +102514,15 @@ "binop": null }, "value": "textureAttrIdx", - "start": 12926, - "end": 12940, + "start": 16357, + "end": 16371, "loc": { "start": { - "line": 259, + "line": 363, "column": 35 }, "end": { - "line": 259, + "line": 363, "column": 49 } } @@ -78367,15 +102540,15 @@ "binop": null }, "value": "++", - "start": 12940, - "end": 12942, + "start": 16371, + "end": 16373, "loc": { "start": { - "line": 259, + "line": 363, "column": 49 }, "end": { - "line": 259, + "line": 363, "column": 51 } } @@ -78393,15 +102566,15 @@ "binop": null, "updateContext": null }, - "start": 12942, - "end": 12943, + "start": 16373, + "end": 16374, "loc": { "start": { - "line": 259, + "line": 363, "column": 51 }, "end": { - "line": 259, + "line": 363, "column": 52 } } @@ -78420,15 +102593,15 @@ "updateContext": null }, "value": "=", - "start": 12944, - "end": 12945, + "start": 16375, + "end": 16376, "loc": { "start": { - "line": 259, + "line": 363, "column": 53 }, "end": { - "line": 259, + "line": 363, "column": 54 } } @@ -78446,15 +102619,15 @@ "binop": null }, "value": "xktTexture", - "start": 12946, - "end": 12956, + "start": 16377, + "end": 16387, "loc": { "start": { - "line": 259, + "line": 363, "column": 55 }, "end": { - "line": 259, + "line": 363, "column": 65 } } @@ -78472,15 +102645,15 @@ "binop": null, "updateContext": null }, - "start": 12956, - "end": 12957, + "start": 16387, + "end": 16388, "loc": { "start": { - "line": 259, + "line": 363, "column": 65 }, "end": { - "line": 259, + "line": 363, "column": 66 } } @@ -78498,15 +102671,15 @@ "binop": null }, "value": "mediaType", - "start": 12957, - "end": 12966, + "start": 16388, + "end": 16397, "loc": { "start": { - "line": 259, + "line": 363, "column": 66 }, "end": { - "line": 259, + "line": 363, "column": 75 } } @@ -78524,15 +102697,15 @@ "binop": null, "updateContext": null }, - "start": 12966, - "end": 12967, + "start": 16397, + "end": 16398, "loc": { "start": { - "line": 259, + "line": 363, "column": 75 }, "end": { - "line": 259, + "line": 363, "column": 76 } } @@ -78540,15 +102713,15 @@ { "type": "CommentLine", "value": " GIFMediaType | PNGMediaType | JPEGMediaType", - "start": 12968, - "end": 13014, + "start": 16399, + "end": 16445, "loc": { "start": { - "line": 259, + "line": 363, "column": 77 }, "end": { - "line": 259, + "line": 363, "column": 123 } } @@ -78566,15 +102739,15 @@ "binop": null }, "value": "data", - "start": 13023, - "end": 13027, + "start": 16454, + "end": 16458, "loc": { "start": { - "line": 260, + "line": 364, "column": 8 }, "end": { - "line": 260, + "line": 364, "column": 12 } } @@ -78592,15 +102765,15 @@ "binop": null, "updateContext": null }, - "start": 13027, - "end": 13028, + "start": 16458, + "end": 16459, "loc": { "start": { - "line": 260, + "line": 364, "column": 12 }, "end": { - "line": 260, + "line": 364, "column": 13 } } @@ -78618,15 +102791,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 13028, - "end": 13049, + "start": 16459, + "end": 16480, "loc": { "start": { - "line": 260, + "line": 364, "column": 13 }, "end": { - "line": 260, + "line": 364, "column": 34 } } @@ -78644,15 +102817,15 @@ "binop": null, "updateContext": null }, - "start": 13049, - "end": 13050, + "start": 16480, + "end": 16481, "loc": { "start": { - "line": 260, + "line": 364, "column": 34 }, "end": { - "line": 260, + "line": 364, "column": 35 } } @@ -78670,15 +102843,15 @@ "binop": null }, "value": "textureAttrIdx", - "start": 13050, - "end": 13064, + "start": 16481, + "end": 16495, "loc": { "start": { - "line": 260, + "line": 364, "column": 35 }, "end": { - "line": 260, + "line": 364, "column": 49 } } @@ -78696,15 +102869,15 @@ "binop": null }, "value": "++", - "start": 13064, - "end": 13066, + "start": 16495, + "end": 16497, "loc": { "start": { - "line": 260, + "line": 364, "column": 49 }, "end": { - "line": 260, + "line": 364, "column": 51 } } @@ -78722,15 +102895,15 @@ "binop": null, "updateContext": null }, - "start": 13066, - "end": 13067, + "start": 16497, + "end": 16498, "loc": { "start": { - "line": 260, + "line": 364, "column": 51 }, "end": { - "line": 260, + "line": 364, "column": 52 } } @@ -78749,15 +102922,15 @@ "updateContext": null }, "value": "=", - "start": 13068, - "end": 13069, + "start": 16499, + "end": 16500, "loc": { "start": { - "line": 260, + "line": 364, "column": 53 }, "end": { - "line": 260, + "line": 364, "column": 54 } } @@ -78775,15 +102948,15 @@ "binop": null }, "value": "xktTexture", - "start": 13070, - "end": 13080, + "start": 16501, + "end": 16511, "loc": { "start": { - "line": 260, + "line": 364, "column": 55 }, "end": { - "line": 260, + "line": 364, "column": 65 } } @@ -78801,15 +102974,15 @@ "binop": null, "updateContext": null }, - "start": 13080, - "end": 13081, + "start": 16511, + "end": 16512, "loc": { "start": { - "line": 260, + "line": 364, "column": 65 }, "end": { - "line": 260, + "line": 364, "column": 66 } } @@ -78827,15 +103000,15 @@ "binop": null }, "value": "width", - "start": 13081, - "end": 13086, + "start": 16512, + "end": 16517, "loc": { "start": { - "line": 260, + "line": 364, "column": 66 }, "end": { - "line": 260, + "line": 364, "column": 71 } } @@ -78853,15 +103026,15 @@ "binop": null, "updateContext": null }, - "start": 13086, - "end": 13087, + "start": 16517, + "end": 16518, "loc": { "start": { - "line": 260, + "line": 364, "column": 71 }, "end": { - "line": 260, + "line": 364, "column": 72 } } @@ -78879,15 +103052,15 @@ "binop": null }, "value": "data", - "start": 13096, - "end": 13100, + "start": 16527, + "end": 16531, "loc": { "start": { - "line": 261, + "line": 365, "column": 8 }, "end": { - "line": 261, + "line": 365, "column": 12 } } @@ -78905,15 +103078,15 @@ "binop": null, "updateContext": null }, - "start": 13100, - "end": 13101, + "start": 16531, + "end": 16532, "loc": { "start": { - "line": 261, + "line": 365, "column": 12 }, "end": { - "line": 261, + "line": 365, "column": 13 } } @@ -78931,15 +103104,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 13101, - "end": 13122, + "start": 16532, + "end": 16553, "loc": { "start": { - "line": 261, + "line": 365, "column": 13 }, "end": { - "line": 261, + "line": 365, "column": 34 } } @@ -78957,15 +103130,15 @@ "binop": null, "updateContext": null }, - "start": 13122, - "end": 13123, + "start": 16553, + "end": 16554, "loc": { "start": { - "line": 261, + "line": 365, "column": 34 }, "end": { - "line": 261, + "line": 365, "column": 35 } } @@ -78983,15 +103156,15 @@ "binop": null }, "value": "textureAttrIdx", - "start": 13123, - "end": 13137, + "start": 16554, + "end": 16568, "loc": { "start": { - "line": 261, + "line": 365, "column": 35 }, "end": { - "line": 261, + "line": 365, "column": 49 } } @@ -79009,15 +103182,15 @@ "binop": null }, "value": "++", - "start": 13137, - "end": 13139, + "start": 16568, + "end": 16570, "loc": { "start": { - "line": 261, + "line": 365, "column": 49 }, "end": { - "line": 261, + "line": 365, "column": 51 } } @@ -79035,15 +103208,15 @@ "binop": null, "updateContext": null }, - "start": 13139, - "end": 13140, + "start": 16570, + "end": 16571, "loc": { "start": { - "line": 261, + "line": 365, "column": 51 }, "end": { - "line": 261, + "line": 365, "column": 52 } } @@ -79062,15 +103235,15 @@ "updateContext": null }, "value": "=", - "start": 13141, - "end": 13142, + "start": 16572, + "end": 16573, "loc": { "start": { - "line": 261, + "line": 365, "column": 53 }, "end": { - "line": 261, + "line": 365, "column": 54 } } @@ -79088,15 +103261,15 @@ "binop": null }, "value": "xktTexture", - "start": 13143, - "end": 13153, + "start": 16574, + "end": 16584, "loc": { "start": { - "line": 261, + "line": 365, "column": 55 }, "end": { - "line": 261, + "line": 365, "column": 65 } } @@ -79114,15 +103287,15 @@ "binop": null, "updateContext": null }, - "start": 13153, - "end": 13154, + "start": 16584, + "end": 16585, "loc": { "start": { - "line": 261, + "line": 365, "column": 65 }, "end": { - "line": 261, + "line": 365, "column": 66 } } @@ -79140,15 +103313,15 @@ "binop": null }, "value": "height", - "start": 13154, - "end": 13160, + "start": 16585, + "end": 16591, "loc": { "start": { - "line": 261, + "line": 365, "column": 66 }, "end": { - "line": 261, + "line": 365, "column": 72 } } @@ -79166,15 +103339,15 @@ "binop": null, "updateContext": null }, - "start": 13160, - "end": 13161, + "start": 16591, + "end": 16592, "loc": { "start": { - "line": 261, + "line": 365, "column": 72 }, "end": { - "line": 261, + "line": 365, "column": 73 } } @@ -79192,15 +103365,15 @@ "binop": null }, "value": "data", - "start": 13170, - "end": 13174, + "start": 16601, + "end": 16605, "loc": { "start": { - "line": 262, + "line": 366, "column": 8 }, "end": { - "line": 262, + "line": 366, "column": 12 } } @@ -79218,15 +103391,15 @@ "binop": null, "updateContext": null }, - "start": 13174, - "end": 13175, + "start": 16605, + "end": 16606, "loc": { "start": { - "line": 262, + "line": 366, "column": 12 }, "end": { - "line": 262, + "line": 366, "column": 13 } } @@ -79244,15 +103417,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 13175, - "end": 13196, + "start": 16606, + "end": 16627, "loc": { "start": { - "line": 262, + "line": 366, "column": 13 }, "end": { - "line": 262, + "line": 366, "column": 34 } } @@ -79270,15 +103443,15 @@ "binop": null, "updateContext": null }, - "start": 13196, - "end": 13197, + "start": 16627, + "end": 16628, "loc": { "start": { - "line": 262, + "line": 366, "column": 34 }, "end": { - "line": 262, + "line": 366, "column": 35 } } @@ -79296,15 +103469,15 @@ "binop": null }, "value": "textureAttrIdx", - "start": 13197, - "end": 13211, + "start": 16628, + "end": 16642, "loc": { "start": { - "line": 262, + "line": 366, "column": 35 }, "end": { - "line": 262, + "line": 366, "column": 49 } } @@ -79322,15 +103495,15 @@ "binop": null }, "value": "++", - "start": 13211, - "end": 13213, + "start": 16642, + "end": 16644, "loc": { "start": { - "line": 262, + "line": 366, "column": 49 }, "end": { - "line": 262, + "line": 366, "column": 51 } } @@ -79348,15 +103521,15 @@ "binop": null, "updateContext": null }, - "start": 13213, - "end": 13214, + "start": 16644, + "end": 16645, "loc": { "start": { - "line": 262, + "line": 366, "column": 51 }, "end": { - "line": 262, + "line": 366, "column": 52 } } @@ -79375,15 +103548,15 @@ "updateContext": null }, "value": "=", - "start": 13215, - "end": 13216, + "start": 16646, + "end": 16647, "loc": { "start": { - "line": 262, + "line": 366, "column": 53 }, "end": { - "line": 262, + "line": 366, "column": 54 } } @@ -79401,15 +103574,15 @@ "binop": null }, "value": "xktTexture", - "start": 13217, - "end": 13227, + "start": 16648, + "end": 16658, "loc": { "start": { - "line": 262, + "line": 366, "column": 55 }, "end": { - "line": 262, + "line": 366, "column": 65 } } @@ -79427,15 +103600,15 @@ "binop": null, "updateContext": null }, - "start": 13227, - "end": 13228, + "start": 16658, + "end": 16659, "loc": { "start": { - "line": 262, + "line": 366, "column": 65 }, "end": { - "line": 262, + "line": 366, "column": 66 } } @@ -79453,15 +103626,15 @@ "binop": null }, "value": "minFilter", - "start": 13228, - "end": 13237, + "start": 16659, + "end": 16668, "loc": { "start": { - "line": 262, + "line": 366, "column": 66 }, "end": { - "line": 262, + "line": 366, "column": 75 } } @@ -79479,15 +103652,15 @@ "binop": null, "updateContext": null }, - "start": 13237, - "end": 13238, + "start": 16668, + "end": 16669, "loc": { "start": { - "line": 262, + "line": 366, "column": 75 }, "end": { - "line": 262, + "line": 366, "column": 76 } } @@ -79495,15 +103668,15 @@ { "type": "CommentLine", "value": " LinearMipmapLinearFilter | LinearMipMapNearestFilter | NearestMipMapNearestFilter | NearestMipMapLinearFilter | LinearMipMapLinearFilter", - "start": 13239, - "end": 13378, + "start": 16670, + "end": 16809, "loc": { "start": { - "line": 262, + "line": 366, "column": 77 }, "end": { - "line": 262, + "line": 366, "column": 216 } } @@ -79521,15 +103694,15 @@ "binop": null }, "value": "data", - "start": 13387, - "end": 13391, + "start": 16818, + "end": 16822, "loc": { "start": { - "line": 263, + "line": 367, "column": 8 }, "end": { - "line": 263, + "line": 367, "column": 12 } } @@ -79547,15 +103720,15 @@ "binop": null, "updateContext": null }, - "start": 13391, - "end": 13392, + "start": 16822, + "end": 16823, "loc": { "start": { - "line": 263, + "line": 367, "column": 12 }, "end": { - "line": 263, + "line": 367, "column": 13 } } @@ -79573,15 +103746,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 13392, - "end": 13413, + "start": 16823, + "end": 16844, "loc": { "start": { - "line": 263, + "line": 367, "column": 13 }, "end": { - "line": 263, + "line": 367, "column": 34 } } @@ -79599,15 +103772,15 @@ "binop": null, "updateContext": null }, - "start": 13413, - "end": 13414, + "start": 16844, + "end": 16845, "loc": { "start": { - "line": 263, + "line": 367, "column": 34 }, "end": { - "line": 263, + "line": 367, "column": 35 } } @@ -79625,15 +103798,15 @@ "binop": null }, "value": "textureAttrIdx", - "start": 13414, - "end": 13428, + "start": 16845, + "end": 16859, "loc": { "start": { - "line": 263, + "line": 367, "column": 35 }, "end": { - "line": 263, + "line": 367, "column": 49 } } @@ -79651,15 +103824,15 @@ "binop": null }, "value": "++", - "start": 13428, - "end": 13430, + "start": 16859, + "end": 16861, "loc": { "start": { - "line": 263, + "line": 367, "column": 49 }, "end": { - "line": 263, + "line": 367, "column": 51 } } @@ -79677,15 +103850,15 @@ "binop": null, "updateContext": null }, - "start": 13430, - "end": 13431, + "start": 16861, + "end": 16862, "loc": { "start": { - "line": 263, + "line": 367, "column": 51 }, "end": { - "line": 263, + "line": 367, "column": 52 } } @@ -79704,15 +103877,15 @@ "updateContext": null }, "value": "=", - "start": 13432, - "end": 13433, + "start": 16863, + "end": 16864, "loc": { "start": { - "line": 263, + "line": 367, "column": 53 }, "end": { - "line": 263, + "line": 367, "column": 54 } } @@ -79730,15 +103903,15 @@ "binop": null }, "value": "xktTexture", - "start": 13434, - "end": 13444, + "start": 16865, + "end": 16875, "loc": { "start": { - "line": 263, + "line": 367, "column": 55 }, "end": { - "line": 263, + "line": 367, "column": 65 } } @@ -79756,15 +103929,15 @@ "binop": null, "updateContext": null }, - "start": 13444, - "end": 13445, + "start": 16875, + "end": 16876, "loc": { "start": { - "line": 263, + "line": 367, "column": 65 }, "end": { - "line": 263, + "line": 367, "column": 66 } } @@ -79782,15 +103955,15 @@ "binop": null }, "value": "magFilter", - "start": 13445, - "end": 13454, + "start": 16876, + "end": 16885, "loc": { "start": { - "line": 263, + "line": 367, "column": 66 }, "end": { - "line": 263, + "line": 367, "column": 75 } } @@ -79808,15 +103981,15 @@ "binop": null, "updateContext": null }, - "start": 13454, - "end": 13455, + "start": 16885, + "end": 16886, "loc": { "start": { - "line": 263, + "line": 367, "column": 75 }, "end": { - "line": 263, + "line": 367, "column": 76 } } @@ -79824,15 +103997,15 @@ { "type": "CommentLine", "value": " LinearFilter | NearestFilter", - "start": 13456, - "end": 13487, + "start": 16887, + "end": 16918, "loc": { "start": { - "line": 263, + "line": 367, "column": 77 }, "end": { - "line": 263, + "line": 367, "column": 108 } } @@ -79850,15 +104023,15 @@ "binop": null }, "value": "data", - "start": 13496, - "end": 13500, + "start": 16927, + "end": 16931, "loc": { "start": { - "line": 264, + "line": 368, "column": 8 }, "end": { - "line": 264, + "line": 368, "column": 12 } } @@ -79876,15 +104049,15 @@ "binop": null, "updateContext": null }, - "start": 13500, - "end": 13501, + "start": 16931, + "end": 16932, "loc": { "start": { - "line": 264, + "line": 368, "column": 12 }, "end": { - "line": 264, + "line": 368, "column": 13 } } @@ -79902,15 +104075,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 13501, - "end": 13522, + "start": 16932, + "end": 16953, "loc": { "start": { - "line": 264, + "line": 368, "column": 13 }, "end": { - "line": 264, + "line": 368, "column": 34 } } @@ -79928,15 +104101,15 @@ "binop": null, "updateContext": null }, - "start": 13522, - "end": 13523, + "start": 16953, + "end": 16954, "loc": { "start": { - "line": 264, + "line": 368, "column": 34 }, "end": { - "line": 264, + "line": 368, "column": 35 } } @@ -79954,15 +104127,15 @@ "binop": null }, "value": "textureAttrIdx", - "start": 13523, - "end": 13537, + "start": 16954, + "end": 16968, "loc": { "start": { - "line": 264, + "line": 368, "column": 35 }, "end": { - "line": 264, + "line": 368, "column": 49 } } @@ -79980,15 +104153,15 @@ "binop": null }, "value": "++", - "start": 13537, - "end": 13539, + "start": 16968, + "end": 16970, "loc": { "start": { - "line": 264, + "line": 368, "column": 49 }, "end": { - "line": 264, + "line": 368, "column": 51 } } @@ -80006,15 +104179,15 @@ "binop": null, "updateContext": null }, - "start": 13539, - "end": 13540, + "start": 16970, + "end": 16971, "loc": { "start": { - "line": 264, + "line": 368, "column": 51 }, "end": { - "line": 264, + "line": 368, "column": 52 } } @@ -80033,15 +104206,15 @@ "updateContext": null }, "value": "=", - "start": 13541, - "end": 13542, + "start": 16972, + "end": 16973, "loc": { "start": { - "line": 264, + "line": 368, "column": 53 }, "end": { - "line": 264, + "line": 368, "column": 54 } } @@ -80059,15 +104232,15 @@ "binop": null }, "value": "xktTexture", - "start": 13543, - "end": 13553, + "start": 16974, + "end": 16984, "loc": { "start": { - "line": 264, + "line": 368, "column": 55 }, "end": { - "line": 264, + "line": 368, "column": 65 } } @@ -80085,15 +104258,15 @@ "binop": null, "updateContext": null }, - "start": 13553, - "end": 13554, + "start": 16984, + "end": 16985, "loc": { "start": { - "line": 264, + "line": 368, "column": 65 }, "end": { - "line": 264, + "line": 368, "column": 66 } } @@ -80111,15 +104284,15 @@ "binop": null }, "value": "wrapS", - "start": 13554, - "end": 13559, + "start": 16985, + "end": 16990, "loc": { "start": { - "line": 264, + "line": 368, "column": 66 }, "end": { - "line": 264, + "line": 368, "column": 71 } } @@ -80137,15 +104310,15 @@ "binop": null, "updateContext": null }, - "start": 13559, - "end": 13560, + "start": 16990, + "end": 16991, "loc": { "start": { - "line": 264, + "line": 368, "column": 71 }, "end": { - "line": 264, + "line": 368, "column": 72 } } @@ -80153,15 +104326,15 @@ { "type": "CommentLine", "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", - "start": 13561, - "end": 13625, + "start": 16992, + "end": 17056, "loc": { "start": { - "line": 264, + "line": 368, "column": 73 }, "end": { - "line": 264, + "line": 368, "column": 137 } } @@ -80179,15 +104352,15 @@ "binop": null }, "value": "data", - "start": 13634, - "end": 13638, + "start": 17065, + "end": 17069, "loc": { "start": { - "line": 265, + "line": 369, "column": 8 }, "end": { - "line": 265, + "line": 369, "column": 12 } } @@ -80205,15 +104378,15 @@ "binop": null, "updateContext": null }, - "start": 13638, - "end": 13639, + "start": 17069, + "end": 17070, "loc": { "start": { - "line": 265, + "line": 369, "column": 12 }, "end": { - "line": 265, + "line": 369, "column": 13 } } @@ -80231,15 +104404,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 13639, - "end": 13660, + "start": 17070, + "end": 17091, "loc": { "start": { - "line": 265, + "line": 369, "column": 13 }, "end": { - "line": 265, + "line": 369, "column": 34 } } @@ -80257,15 +104430,15 @@ "binop": null, "updateContext": null }, - "start": 13660, - "end": 13661, + "start": 17091, + "end": 17092, "loc": { "start": { - "line": 265, + "line": 369, "column": 34 }, "end": { - "line": 265, + "line": 369, "column": 35 } } @@ -80283,15 +104456,15 @@ "binop": null }, "value": "textureAttrIdx", - "start": 13661, - "end": 13675, + "start": 17092, + "end": 17106, "loc": { "start": { - "line": 265, + "line": 369, "column": 35 }, "end": { - "line": 265, + "line": 369, "column": 49 } } @@ -80309,15 +104482,15 @@ "binop": null }, "value": "++", - "start": 13675, - "end": 13677, + "start": 17106, + "end": 17108, "loc": { "start": { - "line": 265, + "line": 369, "column": 49 }, "end": { - "line": 265, + "line": 369, "column": 51 } } @@ -80335,15 +104508,15 @@ "binop": null, "updateContext": null }, - "start": 13677, - "end": 13678, + "start": 17108, + "end": 17109, "loc": { "start": { - "line": 265, + "line": 369, "column": 51 }, "end": { - "line": 265, + "line": 369, "column": 52 } } @@ -80362,15 +104535,15 @@ "updateContext": null }, "value": "=", - "start": 13679, - "end": 13680, + "start": 17110, + "end": 17111, "loc": { "start": { - "line": 265, + "line": 369, "column": 53 }, "end": { - "line": 265, + "line": 369, "column": 54 } } @@ -80388,15 +104561,15 @@ "binop": null }, "value": "xktTexture", - "start": 13681, - "end": 13691, + "start": 17112, + "end": 17122, "loc": { "start": { - "line": 265, + "line": 369, "column": 55 }, "end": { - "line": 265, + "line": 369, "column": 65 } } @@ -80414,15 +104587,15 @@ "binop": null, "updateContext": null }, - "start": 13691, - "end": 13692, + "start": 17122, + "end": 17123, "loc": { "start": { - "line": 265, + "line": 369, "column": 65 }, "end": { - "line": 265, + "line": 369, "column": 66 } } @@ -80440,15 +104613,15 @@ "binop": null }, "value": "wrapT", - "start": 13692, - "end": 13697, + "start": 17123, + "end": 17128, "loc": { "start": { - "line": 265, + "line": 369, "column": 66 }, "end": { - "line": 265, + "line": 369, "column": 71 } } @@ -80466,15 +104639,15 @@ "binop": null, "updateContext": null }, - "start": 13697, - "end": 13698, + "start": 17128, + "end": 17129, "loc": { "start": { - "line": 265, + "line": 369, "column": 71 }, "end": { - "line": 265, + "line": 369, "column": 72 } } @@ -80482,15 +104655,15 @@ { "type": "CommentLine", "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", - "start": 13699, - "end": 13763, + "start": 17130, + "end": 17194, "loc": { "start": { - "line": 265, + "line": 369, "column": 73 }, "end": { - "line": 265, + "line": 369, "column": 137 } } @@ -80508,15 +104681,15 @@ "binop": null }, "value": "data", - "start": 13772, - "end": 13776, + "start": 17203, + "end": 17207, "loc": { "start": { - "line": 266, + "line": 370, "column": 8 }, "end": { - "line": 266, + "line": 370, "column": 12 } } @@ -80534,15 +104707,15 @@ "binop": null, "updateContext": null }, - "start": 13776, - "end": 13777, + "start": 17207, + "end": 17208, "loc": { "start": { - "line": 266, + "line": 370, "column": 12 }, "end": { - "line": 266, + "line": 370, "column": 13 } } @@ -80560,15 +104733,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 13777, - "end": 13798, + "start": 17208, + "end": 17229, "loc": { "start": { - "line": 266, + "line": 370, "column": 13 }, "end": { - "line": 266, + "line": 370, "column": 34 } } @@ -80586,15 +104759,15 @@ "binop": null, "updateContext": null }, - "start": 13798, - "end": 13799, + "start": 17229, + "end": 17230, "loc": { "start": { - "line": 266, + "line": 370, "column": 34 }, "end": { - "line": 266, + "line": 370, "column": 35 } } @@ -80612,15 +104785,15 @@ "binop": null }, "value": "textureAttrIdx", - "start": 13799, - "end": 13813, + "start": 17230, + "end": 17244, "loc": { "start": { - "line": 266, + "line": 370, "column": 35 }, "end": { - "line": 266, + "line": 370, "column": 49 } } @@ -80638,15 +104811,15 @@ "binop": null }, "value": "++", - "start": 13813, - "end": 13815, + "start": 17244, + "end": 17246, "loc": { "start": { - "line": 266, + "line": 370, "column": 49 }, "end": { - "line": 266, + "line": 370, "column": 51 } } @@ -80664,15 +104837,15 @@ "binop": null, "updateContext": null }, - "start": 13815, - "end": 13816, + "start": 17246, + "end": 17247, "loc": { "start": { - "line": 266, + "line": 370, "column": 51 }, "end": { - "line": 266, + "line": 370, "column": 52 } } @@ -80691,15 +104864,15 @@ "updateContext": null }, "value": "=", - "start": 13817, - "end": 13818, + "start": 17248, + "end": 17249, "loc": { "start": { - "line": 266, + "line": 370, "column": 53 }, "end": { - "line": 266, + "line": 370, "column": 54 } } @@ -80717,15 +104890,15 @@ "binop": null }, "value": "xktTexture", - "start": 13819, - "end": 13829, + "start": 17250, + "end": 17260, "loc": { "start": { - "line": 266, + "line": 370, "column": 55 }, "end": { - "line": 266, + "line": 370, "column": 65 } } @@ -80743,15 +104916,15 @@ "binop": null, "updateContext": null }, - "start": 13829, - "end": 13830, + "start": 17260, + "end": 17261, "loc": { "start": { - "line": 266, + "line": 370, "column": 65 }, "end": { - "line": 266, + "line": 370, "column": 66 } } @@ -80769,15 +104942,15 @@ "binop": null }, "value": "wrapR", - "start": 13830, - "end": 13835, + "start": 17261, + "end": 17266, "loc": { "start": { - "line": 266, + "line": 370, "column": 66 }, "end": { - "line": 266, + "line": 370, "column": 71 } } @@ -80795,15 +104968,15 @@ "binop": null, "updateContext": null }, - "start": 13835, - "end": 13836, + "start": 17266, + "end": 17267, "loc": { "start": { - "line": 266, + "line": 370, "column": 71 }, "end": { - "line": 266, + "line": 370, "column": 72 } } @@ -80811,15 +104984,15 @@ { "type": "CommentLine", "value": " ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping", - "start": 13837, - "end": 13901, + "start": 17268, + "end": 17332, "loc": { "start": { - "line": 266, + "line": 370, "column": 73 }, "end": { - "line": 266, + "line": 370, "column": 137 } } @@ -80836,15 +105009,15 @@ "postfix": false, "binop": null }, - "start": 13906, - "end": 13907, + "start": 17337, + "end": 17338, "loc": { "start": { - "line": 267, + "line": 371, "column": 4 }, "end": { - "line": 267, + "line": 371, "column": 5 } } @@ -80852,15 +105025,15 @@ { "type": "CommentLine", "value": " Texture sets", - "start": 13913, - "end": 13928, + "start": 17344, + "end": 17359, "loc": { "start": { - "line": 269, + "line": 373, "column": 4 }, "end": { - "line": 269, + "line": 373, "column": 19 } } @@ -80880,15 +105053,15 @@ "updateContext": null }, "value": "for", - "start": 13934, - "end": 13937, + "start": 17365, + "end": 17368, "loc": { "start": { - "line": 271, + "line": 375, "column": 4 }, "end": { - "line": 271, + "line": 375, "column": 7 } } @@ -80905,15 +105078,15 @@ "postfix": false, "binop": null }, - "start": 13938, - "end": 13939, + "start": 17369, + "end": 17370, "loc": { "start": { - "line": 271, + "line": 375, "column": 8 }, "end": { - "line": 271, + "line": 375, "column": 9 } } @@ -80933,15 +105106,15 @@ "updateContext": null }, "value": "let", - "start": 13939, - "end": 13942, + "start": 17370, + "end": 17373, "loc": { "start": { - "line": 271, + "line": 375, "column": 9 }, "end": { - "line": 271, + "line": 375, "column": 12 } } @@ -80959,15 +105132,15 @@ "binop": null }, "value": "textureSetIndex", - "start": 13943, - "end": 13958, + "start": 17374, + "end": 17389, "loc": { "start": { - "line": 271, + "line": 375, "column": 13 }, "end": { - "line": 271, + "line": 375, "column": 28 } } @@ -80986,15 +105159,15 @@ "updateContext": null }, "value": "=", - "start": 13959, - "end": 13960, + "start": 17390, + "end": 17391, "loc": { "start": { - "line": 271, + "line": 375, "column": 29 }, "end": { - "line": 271, + "line": 375, "column": 30 } } @@ -81013,15 +105186,15 @@ "updateContext": null }, "value": 0, - "start": 13961, - "end": 13962, + "start": 17392, + "end": 17393, "loc": { "start": { - "line": 271, + "line": 375, "column": 31 }, "end": { - "line": 271, + "line": 375, "column": 32 } } @@ -81039,15 +105212,15 @@ "binop": null, "updateContext": null }, - "start": 13962, - "end": 13963, + "start": 17393, + "end": 17394, "loc": { "start": { - "line": 271, + "line": 375, "column": 32 }, "end": { - "line": 271, + "line": 375, "column": 33 } } @@ -81065,15 +105238,15 @@ "binop": null }, "value": "numTextureSets", - "start": 13964, - "end": 13978, + "start": 17395, + "end": 17409, "loc": { "start": { - "line": 271, + "line": 375, "column": 34 }, "end": { - "line": 271, + "line": 375, "column": 48 } } @@ -81092,15 +105265,15 @@ "updateContext": null }, "value": "=", - "start": 13979, - "end": 13980, + "start": 17410, + "end": 17411, "loc": { "start": { - "line": 271, + "line": 375, "column": 49 }, "end": { - "line": 271, + "line": 375, "column": 50 } } @@ -81118,15 +105291,15 @@ "binop": null }, "value": "xktModel", - "start": 13981, - "end": 13989, + "start": 17412, + "end": 17420, "loc": { "start": { - "line": 271, + "line": 375, "column": 51 }, "end": { - "line": 271, + "line": 375, "column": 59 } } @@ -81144,15 +105317,15 @@ "binop": null, "updateContext": null }, - "start": 13989, - "end": 13990, + "start": 17420, + "end": 17421, "loc": { "start": { - "line": 271, + "line": 375, "column": 59 }, "end": { - "line": 271, + "line": 375, "column": 60 } } @@ -81170,15 +105343,15 @@ "binop": null }, "value": "textureSetsList", - "start": 13990, - "end": 14005, + "start": 17421, + "end": 17436, "loc": { "start": { - "line": 271, + "line": 375, "column": 60 }, "end": { - "line": 271, + "line": 375, "column": 75 } } @@ -81196,15 +105369,15 @@ "binop": null, "updateContext": null }, - "start": 14005, - "end": 14006, + "start": 17436, + "end": 17437, "loc": { "start": { - "line": 271, + "line": 375, "column": 75 }, "end": { - "line": 271, + "line": 375, "column": 76 } } @@ -81222,15 +105395,15 @@ "binop": null }, "value": "length", - "start": 14006, - "end": 14012, + "start": 17437, + "end": 17443, "loc": { "start": { - "line": 271, + "line": 375, "column": 76 }, "end": { - "line": 271, + "line": 375, "column": 82 } } @@ -81248,15 +105421,15 @@ "binop": null, "updateContext": null }, - "start": 14012, - "end": 14013, + "start": 17443, + "end": 17444, "loc": { "start": { - "line": 271, + "line": 375, "column": 82 }, "end": { - "line": 271, + "line": 375, "column": 83 } } @@ -81274,15 +105447,15 @@ "binop": null }, "value": "eachTextureSetTexturesIndex", - "start": 14014, - "end": 14041, + "start": 17445, + "end": 17472, "loc": { "start": { - "line": 271, + "line": 375, "column": 84 }, "end": { - "line": 271, + "line": 375, "column": 111 } } @@ -81301,15 +105474,15 @@ "updateContext": null }, "value": "=", - "start": 14042, - "end": 14043, + "start": 17473, + "end": 17474, "loc": { "start": { - "line": 271, + "line": 375, "column": 112 }, "end": { - "line": 271, + "line": 375, "column": 113 } } @@ -81328,15 +105501,15 @@ "updateContext": null }, "value": 0, - "start": 14044, - "end": 14045, + "start": 17475, + "end": 17476, "loc": { "start": { - "line": 271, + "line": 375, "column": 114 }, "end": { - "line": 271, + "line": 375, "column": 115 } } @@ -81354,15 +105527,15 @@ "binop": null, "updateContext": null }, - "start": 14045, - "end": 14046, + "start": 17476, + "end": 17477, "loc": { "start": { - "line": 271, + "line": 375, "column": 115 }, "end": { - "line": 271, + "line": 375, "column": 116 } } @@ -81380,15 +105553,15 @@ "binop": null }, "value": "textureSetIndex", - "start": 14047, - "end": 14062, + "start": 17478, + "end": 17493, "loc": { "start": { - "line": 271, + "line": 375, "column": 117 }, "end": { - "line": 271, + "line": 375, "column": 132 } } @@ -81407,15 +105580,15 @@ "updateContext": null }, "value": "<", - "start": 14063, - "end": 14064, + "start": 17494, + "end": 17495, "loc": { "start": { - "line": 271, + "line": 375, "column": 133 }, "end": { - "line": 271, + "line": 375, "column": 134 } } @@ -81433,15 +105606,15 @@ "binop": null }, "value": "numTextureSets", - "start": 14065, - "end": 14079, + "start": 17496, + "end": 17510, "loc": { "start": { - "line": 271, + "line": 375, "column": 135 }, "end": { - "line": 271, + "line": 375, "column": 149 } } @@ -81459,15 +105632,15 @@ "binop": null, "updateContext": null }, - "start": 14079, - "end": 14080, + "start": 17510, + "end": 17511, "loc": { "start": { - "line": 271, + "line": 375, "column": 149 }, "end": { - "line": 271, + "line": 375, "column": 150 } } @@ -81485,15 +105658,15 @@ "binop": null }, "value": "textureSetIndex", - "start": 14081, - "end": 14096, + "start": 17512, + "end": 17527, "loc": { "start": { - "line": 271, + "line": 375, "column": 151 }, "end": { - "line": 271, + "line": 375, "column": 166 } } @@ -81511,15 +105684,15 @@ "binop": null }, "value": "++", - "start": 14096, - "end": 14098, + "start": 17527, + "end": 17529, "loc": { "start": { - "line": 271, + "line": 375, "column": 166 }, "end": { - "line": 271, + "line": 375, "column": 168 } } @@ -81536,15 +105709,15 @@ "postfix": false, "binop": null }, - "start": 14098, - "end": 14099, + "start": 17529, + "end": 17530, "loc": { "start": { - "line": 271, + "line": 375, "column": 168 }, "end": { - "line": 271, + "line": 375, "column": 169 } } @@ -81561,15 +105734,15 @@ "postfix": false, "binop": null }, - "start": 14100, - "end": 14101, + "start": 17531, + "end": 17532, "loc": { "start": { - "line": 271, + "line": 375, "column": 170 }, "end": { - "line": 271, + "line": 375, "column": 171 } } @@ -81589,15 +105762,15 @@ "updateContext": null }, "value": "const", - "start": 14110, - "end": 14115, + "start": 17541, + "end": 17546, "loc": { "start": { - "line": 272, + "line": 376, "column": 8 }, "end": { - "line": 272, + "line": 376, "column": 13 } } @@ -81615,15 +105788,15 @@ "binop": null }, "value": "textureSet", - "start": 14116, - "end": 14126, + "start": 17547, + "end": 17557, "loc": { "start": { - "line": 272, + "line": 376, "column": 14 }, "end": { - "line": 272, + "line": 376, "column": 24 } } @@ -81642,15 +105815,15 @@ "updateContext": null }, "value": "=", - "start": 14127, - "end": 14128, + "start": 17558, + "end": 17559, "loc": { "start": { - "line": 272, + "line": 376, "column": 25 }, "end": { - "line": 272, + "line": 376, "column": 26 } } @@ -81668,15 +105841,15 @@ "binop": null }, "value": "textureSetsList", - "start": 14129, - "end": 14144, + "start": 17560, + "end": 17575, "loc": { "start": { - "line": 272, + "line": 376, "column": 27 }, "end": { - "line": 272, + "line": 376, "column": 42 } } @@ -81694,15 +105867,15 @@ "binop": null, "updateContext": null }, - "start": 14144, - "end": 14145, + "start": 17575, + "end": 17576, "loc": { "start": { - "line": 272, + "line": 376, "column": 42 }, "end": { - "line": 272, + "line": 376, "column": 43 } } @@ -81720,15 +105893,15 @@ "binop": null }, "value": "textureSetIndex", - "start": 14145, - "end": 14160, + "start": 17576, + "end": 17591, "loc": { "start": { - "line": 272, + "line": 376, "column": 43 }, "end": { - "line": 272, + "line": 376, "column": 58 } } @@ -81746,15 +105919,15 @@ "binop": null, "updateContext": null }, - "start": 14160, - "end": 14161, + "start": 17591, + "end": 17592, "loc": { "start": { - "line": 272, + "line": 376, "column": 58 }, "end": { - "line": 272, + "line": 376, "column": 59 } } @@ -81772,15 +105945,15 @@ "binop": null, "updateContext": null }, - "start": 14161, - "end": 14162, + "start": 17592, + "end": 17593, "loc": { "start": { - "line": 272, + "line": 376, "column": 59 }, "end": { - "line": 272, + "line": 376, "column": 60 } } @@ -81798,15 +105971,15 @@ "binop": null }, "value": "data", - "start": 14171, - "end": 14175, + "start": 17602, + "end": 17606, "loc": { "start": { - "line": 273, + "line": 377, "column": 8 }, "end": { - "line": 273, + "line": 377, "column": 12 } } @@ -81824,15 +105997,15 @@ "binop": null, "updateContext": null }, - "start": 14175, - "end": 14176, + "start": 17606, + "end": 17607, "loc": { "start": { - "line": 273, + "line": 377, "column": 12 }, "end": { - "line": 273, + "line": 377, "column": 13 } } @@ -81850,15 +106023,15 @@ "binop": null }, "value": "eachTextureSetTextures", - "start": 14176, - "end": 14198, + "start": 17607, + "end": 17629, "loc": { "start": { - "line": 273, + "line": 377, "column": 13 }, "end": { - "line": 273, + "line": 377, "column": 35 } } @@ -81876,15 +106049,15 @@ "binop": null, "updateContext": null }, - "start": 14198, - "end": 14199, + "start": 17629, + "end": 17630, "loc": { "start": { - "line": 273, + "line": 377, "column": 35 }, "end": { - "line": 273, + "line": 377, "column": 36 } } @@ -81902,15 +106075,15 @@ "binop": null }, "value": "eachTextureSetTexturesIndex", - "start": 14199, - "end": 14226, + "start": 17630, + "end": 17657, "loc": { "start": { - "line": 273, + "line": 377, "column": 36 }, "end": { - "line": 273, + "line": 377, "column": 63 } } @@ -81928,15 +106101,15 @@ "binop": null }, "value": "++", - "start": 14226, - "end": 14228, + "start": 17657, + "end": 17659, "loc": { "start": { - "line": 273, + "line": 377, "column": 63 }, "end": { - "line": 273, + "line": 377, "column": 65 } } @@ -81954,15 +106127,15 @@ "binop": null, "updateContext": null }, - "start": 14228, - "end": 14229, + "start": 17659, + "end": 17660, "loc": { "start": { - "line": 273, + "line": 377, "column": 65 }, "end": { - "line": 273, + "line": 377, "column": 66 } } @@ -81981,15 +106154,15 @@ "updateContext": null }, "value": "=", - "start": 14230, - "end": 14231, + "start": 17661, + "end": 17662, "loc": { "start": { - "line": 273, + "line": 377, "column": 67 }, "end": { - "line": 273, + "line": 377, "column": 68 } } @@ -82007,15 +106180,15 @@ "binop": null }, "value": "textureSet", - "start": 14232, - "end": 14242, + "start": 17663, + "end": 17673, "loc": { "start": { - "line": 273, + "line": 377, "column": 69 }, "end": { - "line": 273, + "line": 377, "column": 79 } } @@ -82033,15 +106206,15 @@ "binop": null, "updateContext": null }, - "start": 14242, - "end": 14243, + "start": 17673, + "end": 17674, "loc": { "start": { - "line": 273, + "line": 377, "column": 79 }, "end": { - "line": 273, + "line": 377, "column": 80 } } @@ -82059,15 +106232,15 @@ "binop": null }, "value": "colorTexture", - "start": 14243, - "end": 14255, + "start": 17674, + "end": 17686, "loc": { "start": { - "line": 273, + "line": 377, "column": 80 }, "end": { - "line": 273, + "line": 377, "column": 92 } } @@ -82085,15 +106258,15 @@ "binop": null, "updateContext": null }, - "start": 14256, - "end": 14257, + "start": 17687, + "end": 17688, "loc": { "start": { - "line": 273, + "line": 377, "column": 93 }, "end": { - "line": 273, + "line": 377, "column": 94 } } @@ -82111,15 +106284,15 @@ "binop": null }, "value": "textureSet", - "start": 14258, - "end": 14268, + "start": 17689, + "end": 17699, "loc": { "start": { - "line": 273, + "line": 377, "column": 95 }, "end": { - "line": 273, + "line": 377, "column": 105 } } @@ -82137,15 +106310,15 @@ "binop": null, "updateContext": null }, - "start": 14268, - "end": 14269, + "start": 17699, + "end": 17700, "loc": { "start": { - "line": 273, + "line": 377, "column": 105 }, "end": { - "line": 273, + "line": 377, "column": 106 } } @@ -82163,15 +106336,15 @@ "binop": null }, "value": "colorTexture", - "start": 14269, - "end": 14281, + "start": 17700, + "end": 17712, "loc": { "start": { - "line": 273, + "line": 377, "column": 106 }, "end": { - "line": 273, + "line": 377, "column": 118 } } @@ -82189,15 +106362,15 @@ "binop": null, "updateContext": null }, - "start": 14281, - "end": 14282, + "start": 17712, + "end": 17713, "loc": { "start": { - "line": 273, + "line": 377, "column": 118 }, "end": { - "line": 273, + "line": 377, "column": 119 } } @@ -82215,15 +106388,15 @@ "binop": null }, "value": "textureIndex", - "start": 14282, - "end": 14294, + "start": 17713, + "end": 17725, "loc": { "start": { - "line": 273, + "line": 377, "column": 119 }, "end": { - "line": 273, + "line": 377, "column": 131 } } @@ -82241,15 +106414,15 @@ "binop": null, "updateContext": null }, - "start": 14295, - "end": 14296, + "start": 17726, + "end": 17727, "loc": { "start": { - "line": 273, + "line": 377, "column": 132 }, "end": { - "line": 273, + "line": 377, "column": 133 } } @@ -82268,15 +106441,15 @@ "updateContext": null }, "value": "-", - "start": 14297, - "end": 14298, + "start": 17728, + "end": 17729, "loc": { "start": { - "line": 273, + "line": 377, "column": 134 }, "end": { - "line": 273, + "line": 377, "column": 135 } } @@ -82295,15 +106468,15 @@ "updateContext": null }, "value": 1, - "start": 14298, - "end": 14299, + "start": 17729, + "end": 17730, "loc": { "start": { - "line": 273, + "line": 377, "column": 135 }, "end": { - "line": 273, + "line": 377, "column": 136 } } @@ -82321,15 +106494,15 @@ "binop": null, "updateContext": null }, - "start": 14299, - "end": 14300, + "start": 17730, + "end": 17731, "loc": { "start": { - "line": 273, + "line": 377, "column": 136 }, "end": { - "line": 273, + "line": 377, "column": 137 } } @@ -82337,15 +106510,15 @@ { "type": "CommentLine", "value": " Color map", - "start": 14301, - "end": 14313, + "start": 17732, + "end": 17744, "loc": { "start": { - "line": 273, + "line": 377, "column": 138 }, "end": { - "line": 273, + "line": 377, "column": 150 } } @@ -82363,15 +106536,15 @@ "binop": null }, "value": "data", - "start": 14322, - "end": 14326, + "start": 17753, + "end": 17757, "loc": { "start": { - "line": 274, + "line": 378, "column": 8 }, "end": { - "line": 274, + "line": 378, "column": 12 } } @@ -82389,15 +106562,15 @@ "binop": null, "updateContext": null }, - "start": 14326, - "end": 14327, + "start": 17757, + "end": 17758, "loc": { "start": { - "line": 274, + "line": 378, "column": 12 }, "end": { - "line": 274, + "line": 378, "column": 13 } } @@ -82415,15 +106588,15 @@ "binop": null }, "value": "eachTextureSetTextures", - "start": 14327, - "end": 14349, + "start": 17758, + "end": 17780, "loc": { "start": { - "line": 274, + "line": 378, "column": 13 }, "end": { - "line": 274, + "line": 378, "column": 35 } } @@ -82441,15 +106614,15 @@ "binop": null, "updateContext": null }, - "start": 14349, - "end": 14350, + "start": 17780, + "end": 17781, "loc": { "start": { - "line": 274, + "line": 378, "column": 35 }, "end": { - "line": 274, + "line": 378, "column": 36 } } @@ -82467,15 +106640,15 @@ "binop": null }, "value": "eachTextureSetTexturesIndex", - "start": 14350, - "end": 14377, + "start": 17781, + "end": 17808, "loc": { "start": { - "line": 274, + "line": 378, "column": 36 }, "end": { - "line": 274, + "line": 378, "column": 63 } } @@ -82493,15 +106666,15 @@ "binop": null }, "value": "++", - "start": 14377, - "end": 14379, + "start": 17808, + "end": 17810, "loc": { "start": { - "line": 274, + "line": 378, "column": 63 }, "end": { - "line": 274, + "line": 378, "column": 65 } } @@ -82519,15 +106692,15 @@ "binop": null, "updateContext": null }, - "start": 14379, - "end": 14380, + "start": 17810, + "end": 17811, "loc": { "start": { - "line": 274, + "line": 378, "column": 65 }, "end": { - "line": 274, + "line": 378, "column": 66 } } @@ -82546,15 +106719,15 @@ "updateContext": null }, "value": "=", - "start": 14381, - "end": 14382, + "start": 17812, + "end": 17813, "loc": { "start": { - "line": 274, + "line": 378, "column": 67 }, "end": { - "line": 274, + "line": 378, "column": 68 } } @@ -82572,15 +106745,15 @@ "binop": null }, "value": "textureSet", - "start": 14383, - "end": 14393, + "start": 17814, + "end": 17824, "loc": { "start": { - "line": 274, + "line": 378, "column": 69 }, "end": { - "line": 274, + "line": 378, "column": 79 } } @@ -82598,15 +106771,15 @@ "binop": null, "updateContext": null }, - "start": 14393, - "end": 14394, + "start": 17824, + "end": 17825, "loc": { "start": { - "line": 274, + "line": 378, "column": 79 }, "end": { - "line": 274, + "line": 378, "column": 80 } } @@ -82624,15 +106797,15 @@ "binop": null }, "value": "metallicRoughnessTexture", - "start": 14394, - "end": 14418, + "start": 17825, + "end": 17849, "loc": { "start": { - "line": 274, + "line": 378, "column": 80 }, "end": { - "line": 274, + "line": 378, "column": 104 } } @@ -82650,15 +106823,15 @@ "binop": null, "updateContext": null }, - "start": 14419, - "end": 14420, + "start": 17850, + "end": 17851, "loc": { "start": { - "line": 274, + "line": 378, "column": 105 }, "end": { - "line": 274, + "line": 378, "column": 106 } } @@ -82676,15 +106849,15 @@ "binop": null }, "value": "textureSet", - "start": 14421, - "end": 14431, + "start": 17852, + "end": 17862, "loc": { "start": { - "line": 274, + "line": 378, "column": 107 }, "end": { - "line": 274, + "line": 378, "column": 117 } } @@ -82702,15 +106875,15 @@ "binop": null, "updateContext": null }, - "start": 14431, - "end": 14432, + "start": 17862, + "end": 17863, "loc": { "start": { - "line": 274, + "line": 378, "column": 117 }, "end": { - "line": 274, + "line": 378, "column": 118 } } @@ -82728,15 +106901,15 @@ "binop": null }, "value": "metallicRoughnessTexture", - "start": 14432, - "end": 14456, + "start": 17863, + "end": 17887, "loc": { "start": { - "line": 274, + "line": 378, "column": 118 }, "end": { - "line": 274, + "line": 378, "column": 142 } } @@ -82754,15 +106927,15 @@ "binop": null, "updateContext": null }, - "start": 14456, - "end": 14457, + "start": 17887, + "end": 17888, "loc": { "start": { - "line": 274, + "line": 378, "column": 142 }, "end": { - "line": 274, + "line": 378, "column": 143 } } @@ -82780,15 +106953,15 @@ "binop": null }, "value": "textureIndex", - "start": 14457, - "end": 14469, + "start": 17888, + "end": 17900, "loc": { "start": { - "line": 274, + "line": 378, "column": 143 }, "end": { - "line": 274, + "line": 378, "column": 155 } } @@ -82806,15 +106979,15 @@ "binop": null, "updateContext": null }, - "start": 14470, - "end": 14471, + "start": 17901, + "end": 17902, "loc": { "start": { - "line": 274, + "line": 378, "column": 156 }, "end": { - "line": 274, + "line": 378, "column": 157 } } @@ -82833,15 +107006,15 @@ "updateContext": null }, "value": "-", - "start": 14472, - "end": 14473, + "start": 17903, + "end": 17904, "loc": { "start": { - "line": 274, + "line": 378, "column": 158 }, "end": { - "line": 274, + "line": 378, "column": 159 } } @@ -82860,15 +107033,15 @@ "updateContext": null }, "value": 1, - "start": 14473, - "end": 14474, + "start": 17904, + "end": 17905, "loc": { "start": { - "line": 274, + "line": 378, "column": 159 }, "end": { - "line": 274, + "line": 378, "column": 160 } } @@ -82886,15 +107059,15 @@ "binop": null, "updateContext": null }, - "start": 14474, - "end": 14475, + "start": 17905, + "end": 17906, "loc": { "start": { - "line": 274, + "line": 378, "column": 160 }, "end": { - "line": 274, + "line": 378, "column": 161 } } @@ -82902,15 +107075,15 @@ { "type": "CommentLine", "value": " Metal/rough map", - "start": 14476, - "end": 14494, + "start": 17907, + "end": 17925, "loc": { "start": { - "line": 274, + "line": 378, "column": 162 }, "end": { - "line": 274, + "line": 378, "column": 180 } } @@ -82928,15 +107101,15 @@ "binop": null }, "value": "data", - "start": 14503, - "end": 14507, + "start": 17934, + "end": 17938, "loc": { "start": { - "line": 275, + "line": 379, "column": 8 }, "end": { - "line": 275, + "line": 379, "column": 12 } } @@ -82954,15 +107127,15 @@ "binop": null, "updateContext": null }, - "start": 14507, - "end": 14508, + "start": 17938, + "end": 17939, "loc": { "start": { - "line": 275, + "line": 379, "column": 12 }, "end": { - "line": 275, + "line": 379, "column": 13 } } @@ -82980,15 +107153,15 @@ "binop": null }, "value": "eachTextureSetTextures", - "start": 14508, - "end": 14530, + "start": 17939, + "end": 17961, "loc": { "start": { - "line": 275, + "line": 379, "column": 13 }, "end": { - "line": 275, + "line": 379, "column": 35 } } @@ -83006,15 +107179,15 @@ "binop": null, "updateContext": null }, - "start": 14530, - "end": 14531, + "start": 17961, + "end": 17962, "loc": { "start": { - "line": 275, + "line": 379, "column": 35 }, "end": { - "line": 275, + "line": 379, "column": 36 } } @@ -83032,15 +107205,15 @@ "binop": null }, "value": "eachTextureSetTexturesIndex", - "start": 14531, - "end": 14558, + "start": 17962, + "end": 17989, "loc": { "start": { - "line": 275, + "line": 379, "column": 36 }, "end": { - "line": 275, + "line": 379, "column": 63 } } @@ -83058,15 +107231,15 @@ "binop": null }, "value": "++", - "start": 14558, - "end": 14560, + "start": 17989, + "end": 17991, "loc": { "start": { - "line": 275, + "line": 379, "column": 63 }, "end": { - "line": 275, + "line": 379, "column": 65 } } @@ -83084,15 +107257,15 @@ "binop": null, "updateContext": null }, - "start": 14560, - "end": 14561, + "start": 17991, + "end": 17992, "loc": { "start": { - "line": 275, + "line": 379, "column": 65 }, "end": { - "line": 275, + "line": 379, "column": 66 } } @@ -83111,15 +107284,15 @@ "updateContext": null }, "value": "=", - "start": 14562, - "end": 14563, + "start": 17993, + "end": 17994, "loc": { "start": { - "line": 275, + "line": 379, "column": 67 }, "end": { - "line": 275, + "line": 379, "column": 68 } } @@ -83137,15 +107310,15 @@ "binop": null }, "value": "textureSet", - "start": 14564, - "end": 14574, + "start": 17995, + "end": 18005, "loc": { "start": { - "line": 275, + "line": 379, "column": 69 }, "end": { - "line": 275, + "line": 379, "column": 79 } } @@ -83163,15 +107336,15 @@ "binop": null, "updateContext": null }, - "start": 14574, - "end": 14575, + "start": 18005, + "end": 18006, "loc": { "start": { - "line": 275, + "line": 379, "column": 79 }, "end": { - "line": 275, + "line": 379, "column": 80 } } @@ -83189,15 +107362,15 @@ "binop": null }, "value": "normalsTexture", - "start": 14575, - "end": 14589, + "start": 18006, + "end": 18020, "loc": { "start": { - "line": 275, + "line": 379, "column": 80 }, "end": { - "line": 275, + "line": 379, "column": 94 } } @@ -83215,15 +107388,15 @@ "binop": null, "updateContext": null }, - "start": 14590, - "end": 14591, + "start": 18021, + "end": 18022, "loc": { "start": { - "line": 275, + "line": 379, "column": 95 }, "end": { - "line": 275, + "line": 379, "column": 96 } } @@ -83241,15 +107414,15 @@ "binop": null }, "value": "textureSet", - "start": 14592, - "end": 14602, + "start": 18023, + "end": 18033, "loc": { "start": { - "line": 275, + "line": 379, "column": 97 }, "end": { - "line": 275, + "line": 379, "column": 107 } } @@ -83267,15 +107440,15 @@ "binop": null, "updateContext": null }, - "start": 14602, - "end": 14603, + "start": 18033, + "end": 18034, "loc": { "start": { - "line": 275, + "line": 379, "column": 107 }, "end": { - "line": 275, + "line": 379, "column": 108 } } @@ -83293,15 +107466,15 @@ "binop": null }, "value": "normalsTexture", - "start": 14603, - "end": 14617, + "start": 18034, + "end": 18048, "loc": { "start": { - "line": 275, + "line": 379, "column": 108 }, "end": { - "line": 275, + "line": 379, "column": 122 } } @@ -83319,15 +107492,15 @@ "binop": null, "updateContext": null }, - "start": 14617, - "end": 14618, + "start": 18048, + "end": 18049, "loc": { "start": { - "line": 275, + "line": 379, "column": 122 }, "end": { - "line": 275, + "line": 379, "column": 123 } } @@ -83345,15 +107518,15 @@ "binop": null }, "value": "textureIndex", - "start": 14618, - "end": 14630, + "start": 18049, + "end": 18061, "loc": { "start": { - "line": 275, + "line": 379, "column": 123 }, "end": { - "line": 275, + "line": 379, "column": 135 } } @@ -83371,15 +107544,15 @@ "binop": null, "updateContext": null }, - "start": 14631, - "end": 14632, + "start": 18062, + "end": 18063, "loc": { "start": { - "line": 275, + "line": 379, "column": 136 }, "end": { - "line": 275, + "line": 379, "column": 137 } } @@ -83398,15 +107571,15 @@ "updateContext": null }, "value": "-", - "start": 14633, - "end": 14634, + "start": 18064, + "end": 18065, "loc": { "start": { - "line": 275, + "line": 379, "column": 138 }, "end": { - "line": 275, + "line": 379, "column": 139 } } @@ -83425,15 +107598,15 @@ "updateContext": null }, "value": 1, - "start": 14634, - "end": 14635, + "start": 18065, + "end": 18066, "loc": { "start": { - "line": 275, + "line": 379, "column": 139 }, "end": { - "line": 275, + "line": 379, "column": 140 } } @@ -83451,15 +107624,15 @@ "binop": null, "updateContext": null }, - "start": 14635, - "end": 14636, + "start": 18066, + "end": 18067, "loc": { "start": { - "line": 275, + "line": 379, "column": 140 }, "end": { - "line": 275, + "line": 379, "column": 141 } } @@ -83467,15 +107640,15 @@ { "type": "CommentLine", "value": " Normal map", - "start": 14637, - "end": 14650, + "start": 18068, + "end": 18081, "loc": { "start": { - "line": 275, + "line": 379, "column": 142 }, "end": { - "line": 275, + "line": 379, "column": 155 } } @@ -83493,15 +107666,15 @@ "binop": null }, "value": "data", - "start": 14659, - "end": 14663, + "start": 18090, + "end": 18094, "loc": { "start": { - "line": 276, + "line": 380, "column": 8 }, "end": { - "line": 276, + "line": 380, "column": 12 } } @@ -83519,15 +107692,15 @@ "binop": null, "updateContext": null }, - "start": 14663, - "end": 14664, + "start": 18094, + "end": 18095, "loc": { "start": { - "line": 276, + "line": 380, "column": 12 }, "end": { - "line": 276, + "line": 380, "column": 13 } } @@ -83545,15 +107718,15 @@ "binop": null }, "value": "eachTextureSetTextures", - "start": 14664, - "end": 14686, + "start": 18095, + "end": 18117, "loc": { "start": { - "line": 276, + "line": 380, "column": 13 }, "end": { - "line": 276, + "line": 380, "column": 35 } } @@ -83571,15 +107744,15 @@ "binop": null, "updateContext": null }, - "start": 14686, - "end": 14687, + "start": 18117, + "end": 18118, "loc": { "start": { - "line": 276, + "line": 380, "column": 35 }, "end": { - "line": 276, + "line": 380, "column": 36 } } @@ -83597,15 +107770,15 @@ "binop": null }, "value": "eachTextureSetTexturesIndex", - "start": 14687, - "end": 14714, + "start": 18118, + "end": 18145, "loc": { "start": { - "line": 276, + "line": 380, "column": 36 }, "end": { - "line": 276, + "line": 380, "column": 63 } } @@ -83623,15 +107796,15 @@ "binop": null }, "value": "++", - "start": 14714, - "end": 14716, + "start": 18145, + "end": 18147, "loc": { "start": { - "line": 276, + "line": 380, "column": 63 }, "end": { - "line": 276, + "line": 380, "column": 65 } } @@ -83649,15 +107822,15 @@ "binop": null, "updateContext": null }, - "start": 14716, - "end": 14717, + "start": 18147, + "end": 18148, "loc": { "start": { - "line": 276, + "line": 380, "column": 65 }, "end": { - "line": 276, + "line": 380, "column": 66 } } @@ -83676,15 +107849,15 @@ "updateContext": null }, "value": "=", - "start": 14718, - "end": 14719, + "start": 18149, + "end": 18150, "loc": { "start": { - "line": 276, + "line": 380, "column": 67 }, "end": { - "line": 276, + "line": 380, "column": 68 } } @@ -83702,15 +107875,15 @@ "binop": null }, "value": "textureSet", - "start": 14720, - "end": 14730, + "start": 18151, + "end": 18161, "loc": { "start": { - "line": 276, + "line": 380, "column": 69 }, "end": { - "line": 276, + "line": 380, "column": 79 } } @@ -83728,15 +107901,15 @@ "binop": null, "updateContext": null }, - "start": 14730, - "end": 14731, + "start": 18161, + "end": 18162, "loc": { "start": { - "line": 276, + "line": 380, "column": 79 }, "end": { - "line": 276, + "line": 380, "column": 80 } } @@ -83754,15 +107927,15 @@ "binop": null }, "value": "emissiveTexture", - "start": 14731, - "end": 14746, + "start": 18162, + "end": 18177, "loc": { "start": { - "line": 276, + "line": 380, "column": 80 }, "end": { - "line": 276, + "line": 380, "column": 95 } } @@ -83780,15 +107953,15 @@ "binop": null, "updateContext": null }, - "start": 14747, - "end": 14748, + "start": 18178, + "end": 18179, "loc": { "start": { - "line": 276, + "line": 380, "column": 96 }, "end": { - "line": 276, + "line": 380, "column": 97 } } @@ -83806,15 +107979,15 @@ "binop": null }, "value": "textureSet", - "start": 14749, - "end": 14759, + "start": 18180, + "end": 18190, "loc": { "start": { - "line": 276, + "line": 380, "column": 98 }, "end": { - "line": 276, + "line": 380, "column": 108 } } @@ -83832,15 +108005,15 @@ "binop": null, "updateContext": null }, - "start": 14759, - "end": 14760, + "start": 18190, + "end": 18191, "loc": { "start": { - "line": 276, + "line": 380, "column": 108 }, "end": { - "line": 276, + "line": 380, "column": 109 } } @@ -83858,15 +108031,15 @@ "binop": null }, "value": "emissiveTexture", - "start": 14760, - "end": 14775, + "start": 18191, + "end": 18206, "loc": { "start": { - "line": 276, + "line": 380, "column": 109 }, "end": { - "line": 276, + "line": 380, "column": 124 } } @@ -83884,15 +108057,15 @@ "binop": null, "updateContext": null }, - "start": 14775, - "end": 14776, + "start": 18206, + "end": 18207, "loc": { "start": { - "line": 276, + "line": 380, "column": 124 }, "end": { - "line": 276, + "line": 380, "column": 125 } } @@ -83910,15 +108083,15 @@ "binop": null }, "value": "textureIndex", - "start": 14776, - "end": 14788, + "start": 18207, + "end": 18219, "loc": { "start": { - "line": 276, + "line": 380, "column": 125 }, "end": { - "line": 276, + "line": 380, "column": 137 } } @@ -83936,15 +108109,15 @@ "binop": null, "updateContext": null }, - "start": 14789, - "end": 14790, + "start": 18220, + "end": 18221, "loc": { "start": { - "line": 276, + "line": 380, "column": 138 }, "end": { - "line": 276, + "line": 380, "column": 139 } } @@ -83963,15 +108136,15 @@ "updateContext": null }, "value": "-", - "start": 14791, - "end": 14792, + "start": 18222, + "end": 18223, "loc": { "start": { - "line": 276, + "line": 380, "column": 140 }, "end": { - "line": 276, + "line": 380, "column": 141 } } @@ -83990,15 +108163,15 @@ "updateContext": null }, "value": 1, - "start": 14792, - "end": 14793, + "start": 18223, + "end": 18224, "loc": { "start": { - "line": 276, + "line": 380, "column": 141 }, "end": { - "line": 276, + "line": 380, "column": 142 } } @@ -84016,15 +108189,15 @@ "binop": null, "updateContext": null }, - "start": 14793, - "end": 14794, + "start": 18224, + "end": 18225, "loc": { "start": { - "line": 276, + "line": 380, "column": 142 }, "end": { - "line": 276, + "line": 380, "column": 143 } } @@ -84032,15 +108205,15 @@ { "type": "CommentLine", "value": " Emissive map", - "start": 14795, - "end": 14810, + "start": 18226, + "end": 18241, "loc": { "start": { - "line": 276, + "line": 380, "column": 144 }, "end": { - "line": 276, + "line": 380, "column": 159 } } @@ -84058,15 +108231,15 @@ "binop": null }, "value": "data", - "start": 14819, - "end": 14823, + "start": 18250, + "end": 18254, "loc": { "start": { - "line": 277, + "line": 381, "column": 8 }, "end": { - "line": 277, + "line": 381, "column": 12 } } @@ -84084,15 +108257,15 @@ "binop": null, "updateContext": null }, - "start": 14823, - "end": 14824, + "start": 18254, + "end": 18255, "loc": { "start": { - "line": 277, + "line": 381, "column": 12 }, "end": { - "line": 277, + "line": 381, "column": 13 } } @@ -84110,15 +108283,15 @@ "binop": null }, "value": "eachTextureSetTextures", - "start": 14824, - "end": 14846, + "start": 18255, + "end": 18277, "loc": { "start": { - "line": 277, + "line": 381, "column": 13 }, "end": { - "line": 277, + "line": 381, "column": 35 } } @@ -84136,15 +108309,15 @@ "binop": null, "updateContext": null }, - "start": 14846, - "end": 14847, + "start": 18277, + "end": 18278, "loc": { "start": { - "line": 277, + "line": 381, "column": 35 }, "end": { - "line": 277, + "line": 381, "column": 36 } } @@ -84162,15 +108335,15 @@ "binop": null }, "value": "eachTextureSetTexturesIndex", - "start": 14847, - "end": 14874, + "start": 18278, + "end": 18305, "loc": { "start": { - "line": 277, + "line": 381, "column": 36 }, "end": { - "line": 277, + "line": 381, "column": 63 } } @@ -84188,15 +108361,15 @@ "binop": null }, "value": "++", - "start": 14874, - "end": 14876, + "start": 18305, + "end": 18307, "loc": { "start": { - "line": 277, + "line": 381, "column": 63 }, "end": { - "line": 277, + "line": 381, "column": 65 } } @@ -84214,15 +108387,15 @@ "binop": null, "updateContext": null }, - "start": 14876, - "end": 14877, + "start": 18307, + "end": 18308, "loc": { "start": { - "line": 277, + "line": 381, "column": 65 }, "end": { - "line": 277, + "line": 381, "column": 66 } } @@ -84241,15 +108414,15 @@ "updateContext": null }, "value": "=", - "start": 14878, - "end": 14879, + "start": 18309, + "end": 18310, "loc": { "start": { - "line": 277, + "line": 381, "column": 67 }, "end": { - "line": 277, + "line": 381, "column": 68 } } @@ -84267,15 +108440,15 @@ "binop": null }, "value": "textureSet", - "start": 14880, - "end": 14890, + "start": 18311, + "end": 18321, "loc": { "start": { - "line": 277, + "line": 381, "column": 69 }, "end": { - "line": 277, + "line": 381, "column": 79 } } @@ -84293,15 +108466,15 @@ "binop": null, "updateContext": null }, - "start": 14890, - "end": 14891, + "start": 18321, + "end": 18322, "loc": { "start": { - "line": 277, + "line": 381, "column": 79 }, "end": { - "line": 277, + "line": 381, "column": 80 } } @@ -84319,15 +108492,15 @@ "binop": null }, "value": "occlusionTexture", - "start": 14891, - "end": 14907, + "start": 18322, + "end": 18338, "loc": { "start": { - "line": 277, + "line": 381, "column": 80 }, "end": { - "line": 277, + "line": 381, "column": 96 } } @@ -84345,15 +108518,15 @@ "binop": null, "updateContext": null }, - "start": 14908, - "end": 14909, + "start": 18339, + "end": 18340, "loc": { "start": { - "line": 277, + "line": 381, "column": 97 }, "end": { - "line": 277, + "line": 381, "column": 98 } } @@ -84371,15 +108544,15 @@ "binop": null }, "value": "textureSet", - "start": 14910, - "end": 14920, + "start": 18341, + "end": 18351, "loc": { "start": { - "line": 277, + "line": 381, "column": 99 }, "end": { - "line": 277, + "line": 381, "column": 109 } } @@ -84397,15 +108570,15 @@ "binop": null, "updateContext": null }, - "start": 14920, - "end": 14921, + "start": 18351, + "end": 18352, "loc": { "start": { - "line": 277, + "line": 381, "column": 109 }, "end": { - "line": 277, + "line": 381, "column": 110 } } @@ -84423,15 +108596,15 @@ "binop": null }, "value": "occlusionTexture", - "start": 14921, - "end": 14937, + "start": 18352, + "end": 18368, "loc": { "start": { - "line": 277, + "line": 381, "column": 110 }, "end": { - "line": 277, + "line": 381, "column": 126 } } @@ -84449,15 +108622,15 @@ "binop": null, "updateContext": null }, - "start": 14937, - "end": 14938, + "start": 18368, + "end": 18369, "loc": { "start": { - "line": 277, + "line": 381, "column": 126 }, "end": { - "line": 277, + "line": 381, "column": 127 } } @@ -84475,15 +108648,15 @@ "binop": null }, "value": "textureIndex", - "start": 14938, - "end": 14950, + "start": 18369, + "end": 18381, "loc": { "start": { - "line": 277, + "line": 381, "column": 127 }, "end": { - "line": 277, + "line": 381, "column": 139 } } @@ -84501,15 +108674,15 @@ "binop": null, "updateContext": null }, - "start": 14951, - "end": 14952, + "start": 18382, + "end": 18383, "loc": { "start": { - "line": 277, + "line": 381, "column": 140 }, "end": { - "line": 277, + "line": 381, "column": 141 } } @@ -84528,15 +108701,15 @@ "updateContext": null }, "value": "-", - "start": 14953, - "end": 14954, + "start": 18384, + "end": 18385, "loc": { "start": { - "line": 277, + "line": 381, "column": 142 }, "end": { - "line": 277, + "line": 381, "column": 143 } } @@ -84555,15 +108728,15 @@ "updateContext": null }, "value": 1, - "start": 14954, - "end": 14955, + "start": 18385, + "end": 18386, "loc": { "start": { - "line": 277, + "line": 381, "column": 143 }, "end": { - "line": 277, + "line": 381, "column": 144 } } @@ -84581,15 +108754,15 @@ "binop": null, "updateContext": null }, - "start": 14955, - "end": 14956, + "start": 18386, + "end": 18387, "loc": { "start": { - "line": 277, + "line": 381, "column": 144 }, "end": { - "line": 277, + "line": 381, "column": 145 } } @@ -84597,15 +108770,15 @@ { "type": "CommentLine", "value": " Occlusion map", - "start": 14957, - "end": 14973, + "start": 18388, + "end": 18404, "loc": { "start": { - "line": 277, + "line": 381, "column": 146 }, "end": { - "line": 277, + "line": 381, "column": 162 } } @@ -84622,15 +108795,15 @@ "postfix": false, "binop": null }, - "start": 14978, - "end": 14979, + "start": 18409, + "end": 18410, "loc": { "start": { - "line": 278, + "line": 382, "column": 4 }, "end": { - "line": 278, + "line": 382, "column": 5 } } @@ -84638,15 +108811,15 @@ { "type": "CommentLine", "value": " Tiles -> Entities -> Meshes", - "start": 14985, - "end": 15015, + "start": 18416, + "end": 18446, "loc": { "start": { - "line": 280, + "line": 384, "column": 4 }, "end": { - "line": 280, + "line": 384, "column": 34 } } @@ -84666,15 +108839,15 @@ "updateContext": null }, "value": "let", - "start": 15021, - "end": 15024, + "start": 18452, + "end": 18455, "loc": { "start": { - "line": 282, + "line": 386, "column": 4 }, "end": { - "line": 282, + "line": 386, "column": 7 } } @@ -84692,15 +108865,15 @@ "binop": null }, "value": "entityIndex", - "start": 15025, - "end": 15036, + "start": 18456, + "end": 18467, "loc": { "start": { - "line": 282, + "line": 386, "column": 8 }, "end": { - "line": 282, + "line": 386, "column": 19 } } @@ -84719,15 +108892,15 @@ "updateContext": null }, "value": "=", - "start": 15037, - "end": 15038, + "start": 18468, + "end": 18469, "loc": { "start": { - "line": 282, + "line": 386, "column": 20 }, "end": { - "line": 282, + "line": 386, "column": 21 } } @@ -84746,15 +108919,15 @@ "updateContext": null }, "value": 0, - "start": 15039, - "end": 15040, + "start": 18470, + "end": 18471, "loc": { "start": { - "line": 282, + "line": 386, "column": 22 }, "end": { - "line": 282, + "line": 386, "column": 23 } } @@ -84772,15 +108945,15 @@ "binop": null, "updateContext": null }, - "start": 15040, - "end": 15041, + "start": 18471, + "end": 18472, "loc": { "start": { - "line": 282, + "line": 386, "column": 23 }, "end": { - "line": 282, + "line": 386, "column": 24 } } @@ -84800,15 +108973,15 @@ "updateContext": null }, "value": "let", - "start": 15046, - "end": 15049, + "start": 18477, + "end": 18480, "loc": { "start": { - "line": 283, + "line": 387, "column": 4 }, "end": { - "line": 283, + "line": 387, "column": 7 } } @@ -84826,15 +108999,15 @@ "binop": null }, "value": "countEntityMeshesPortion", - "start": 15050, - "end": 15074, + "start": 18481, + "end": 18505, "loc": { "start": { - "line": 283, + "line": 387, "column": 8 }, "end": { - "line": 283, + "line": 387, "column": 32 } } @@ -84853,15 +109026,15 @@ "updateContext": null }, "value": "=", - "start": 15075, - "end": 15076, + "start": 18506, + "end": 18507, "loc": { "start": { - "line": 283, + "line": 387, "column": 33 }, "end": { - "line": 283, + "line": 387, "column": 34 } } @@ -84880,15 +109053,15 @@ "updateContext": null }, "value": 0, - "start": 15077, - "end": 15078, + "start": 18508, + "end": 18509, "loc": { "start": { - "line": 283, + "line": 387, "column": 35 }, "end": { - "line": 283, + "line": 387, "column": 36 } } @@ -84906,15 +109079,15 @@ "binop": null, "updateContext": null }, - "start": 15078, - "end": 15079, + "start": 18509, + "end": 18510, "loc": { "start": { - "line": 283, + "line": 387, "column": 36 }, "end": { - "line": 283, + "line": 387, "column": 37 } } @@ -84934,15 +109107,15 @@ "updateContext": null }, "value": "let", - "start": 15084, - "end": 15087, + "start": 18515, + "end": 18518, "loc": { "start": { - "line": 284, + "line": 388, "column": 4 }, "end": { - "line": 284, + "line": 388, "column": 7 } } @@ -84960,15 +109133,15 @@ "binop": null }, "value": "eachMeshMaterialAttributesIndex", - "start": 15088, - "end": 15119, + "start": 18519, + "end": 18550, "loc": { "start": { - "line": 284, + "line": 388, "column": 8 }, "end": { - "line": 284, + "line": 388, "column": 39 } } @@ -84987,15 +109160,15 @@ "updateContext": null }, "value": "=", - "start": 15120, - "end": 15121, + "start": 18551, + "end": 18552, "loc": { "start": { - "line": 284, + "line": 388, "column": 40 }, "end": { - "line": 284, + "line": 388, "column": 41 } } @@ -85014,15 +109187,15 @@ "updateContext": null }, "value": 0, - "start": 15122, - "end": 15123, + "start": 18553, + "end": 18554, "loc": { "start": { - "line": 284, + "line": 388, "column": 42 }, "end": { - "line": 284, + "line": 388, "column": 43 } } @@ -85040,15 +109213,15 @@ "binop": null, "updateContext": null }, - "start": 15123, - "end": 15124, + "start": 18554, + "end": 18555, "loc": { "start": { - "line": 284, + "line": 388, "column": 43 }, "end": { - "line": 284, + "line": 388, "column": 44 } } @@ -85068,15 +109241,15 @@ "updateContext": null }, "value": "let", - "start": 15129, - "end": 15132, + "start": 18560, + "end": 18563, "loc": { "start": { - "line": 285, + "line": 389, "column": 4 }, "end": { - "line": 285, + "line": 389, "column": 7 } } @@ -85094,15 +109267,15 @@ "binop": null }, "value": "matricesIndex", - "start": 15133, - "end": 15146, + "start": 18564, + "end": 18577, "loc": { "start": { - "line": 285, + "line": 389, "column": 8 }, "end": { - "line": 285, + "line": 389, "column": 21 } } @@ -85121,15 +109294,15 @@ "updateContext": null }, "value": "=", - "start": 15147, - "end": 15148, + "start": 18578, + "end": 18579, "loc": { "start": { - "line": 285, + "line": 389, "column": 22 }, "end": { - "line": 285, + "line": 389, "column": 23 } } @@ -85148,15 +109321,15 @@ "updateContext": null }, "value": 0, - "start": 15149, - "end": 15150, + "start": 18580, + "end": 18581, "loc": { "start": { - "line": 285, + "line": 389, "column": 24 }, "end": { - "line": 285, + "line": 389, "column": 25 } } @@ -85174,15 +109347,15 @@ "binop": null, "updateContext": null }, - "start": 15150, - "end": 15151, + "start": 18581, + "end": 18582, "loc": { "start": { - "line": 285, + "line": 389, "column": 25 }, "end": { - "line": 285, + "line": 389, "column": 26 } } @@ -85202,15 +109375,15 @@ "updateContext": null }, "value": "let", - "start": 15156, - "end": 15159, + "start": 18587, + "end": 18590, "loc": { "start": { - "line": 286, + "line": 390, "column": 4 }, "end": { - "line": 286, + "line": 390, "column": 7 } } @@ -85228,15 +109401,15 @@ "binop": null }, "value": "meshIndex", - "start": 15160, - "end": 15169, + "start": 18591, + "end": 18600, "loc": { "start": { - "line": 286, + "line": 390, "column": 8 }, "end": { - "line": 286, + "line": 390, "column": 17 } } @@ -85255,15 +109428,15 @@ "updateContext": null }, "value": "=", - "start": 15170, - "end": 15171, + "start": 18601, + "end": 18602, "loc": { "start": { - "line": 286, + "line": 390, "column": 18 }, "end": { - "line": 286, + "line": 390, "column": 19 } } @@ -85282,15 +109455,15 @@ "updateContext": null }, "value": 0, - "start": 15172, - "end": 15173, + "start": 18603, + "end": 18604, "loc": { "start": { - "line": 286, + "line": 390, "column": 20 }, "end": { - "line": 286, + "line": 390, "column": 21 } } @@ -85308,15 +109481,15 @@ "binop": null, "updateContext": null }, - "start": 15173, - "end": 15174, + "start": 18604, + "end": 18605, "loc": { "start": { - "line": 286, + "line": 390, "column": 21 }, "end": { - "line": 286, + "line": 390, "column": 22 } } @@ -85336,15 +109509,15 @@ "updateContext": null }, "value": "for", - "start": 15180, - "end": 15183, + "start": 18611, + "end": 18614, "loc": { "start": { - "line": 288, + "line": 392, "column": 4 }, "end": { - "line": 288, + "line": 392, "column": 7 } } @@ -85361,15 +109534,15 @@ "postfix": false, "binop": null }, - "start": 15184, - "end": 15185, + "start": 18615, + "end": 18616, "loc": { "start": { - "line": 288, + "line": 392, "column": 8 }, "end": { - "line": 288, + "line": 392, "column": 9 } } @@ -85389,15 +109562,15 @@ "updateContext": null }, "value": "let", - "start": 15185, - "end": 15188, + "start": 18616, + "end": 18619, "loc": { "start": { - "line": 288, + "line": 392, "column": 9 }, "end": { - "line": 288, + "line": 392, "column": 12 } } @@ -85415,15 +109588,15 @@ "binop": null }, "value": "tileIndex", - "start": 15189, - "end": 15198, + "start": 18620, + "end": 18629, "loc": { "start": { - "line": 288, + "line": 392, "column": 13 }, "end": { - "line": 288, + "line": 392, "column": 22 } } @@ -85442,15 +109615,15 @@ "updateContext": null }, "value": "=", - "start": 15199, - "end": 15200, + "start": 18630, + "end": 18631, "loc": { "start": { - "line": 288, + "line": 392, "column": 23 }, "end": { - "line": 288, + "line": 392, "column": 24 } } @@ -85469,15 +109642,15 @@ "updateContext": null }, "value": 0, - "start": 15201, - "end": 15202, + "start": 18632, + "end": 18633, "loc": { "start": { - "line": 288, + "line": 392, "column": 25 }, "end": { - "line": 288, + "line": 392, "column": 26 } } @@ -85495,15 +109668,15 @@ "binop": null, "updateContext": null }, - "start": 15202, - "end": 15203, + "start": 18633, + "end": 18634, "loc": { "start": { - "line": 288, + "line": 392, "column": 26 }, "end": { - "line": 288, + "line": 392, "column": 27 } } @@ -85521,15 +109694,15 @@ "binop": null }, "value": "tileIndex", - "start": 15204, - "end": 15213, + "start": 18635, + "end": 18644, "loc": { "start": { - "line": 288, + "line": 392, "column": 28 }, "end": { - "line": 288, + "line": 392, "column": 37 } } @@ -85548,15 +109721,15 @@ "updateContext": null }, "value": "<", - "start": 15214, - "end": 15215, + "start": 18645, + "end": 18646, "loc": { "start": { - "line": 288, + "line": 392, "column": 38 }, "end": { - "line": 288, + "line": 392, "column": 39 } } @@ -85574,15 +109747,15 @@ "binop": null }, "value": "numTiles", - "start": 15216, - "end": 15224, + "start": 18647, + "end": 18655, "loc": { "start": { - "line": 288, + "line": 392, "column": 40 }, "end": { - "line": 288, + "line": 392, "column": 48 } } @@ -85600,15 +109773,15 @@ "binop": null, "updateContext": null }, - "start": 15224, - "end": 15225, + "start": 18655, + "end": 18656, "loc": { "start": { - "line": 288, + "line": 392, "column": 48 }, "end": { - "line": 288, + "line": 392, "column": 49 } } @@ -85626,15 +109799,15 @@ "binop": null }, "value": "tileIndex", - "start": 15226, - "end": 15235, + "start": 18657, + "end": 18666, "loc": { "start": { - "line": 288, + "line": 392, "column": 50 }, "end": { - "line": 288, + "line": 392, "column": 59 } } @@ -85652,15 +109825,15 @@ "binop": null }, "value": "++", - "start": 15235, - "end": 15237, + "start": 18666, + "end": 18668, "loc": { "start": { - "line": 288, + "line": 392, "column": 59 }, "end": { - "line": 288, + "line": 392, "column": 61 } } @@ -85677,15 +109850,15 @@ "postfix": false, "binop": null }, - "start": 15237, - "end": 15238, + "start": 18668, + "end": 18669, "loc": { "start": { - "line": 288, + "line": 392, "column": 61 }, "end": { - "line": 288, + "line": 392, "column": 62 } } @@ -85702,15 +109875,15 @@ "postfix": false, "binop": null }, - "start": 15239, - "end": 15240, + "start": 18670, + "end": 18671, "loc": { "start": { - "line": 288, + "line": 392, "column": 63 }, "end": { - "line": 288, + "line": 392, "column": 64 } } @@ -85730,15 +109903,15 @@ "updateContext": null }, "value": "const", - "start": 15250, - "end": 15255, + "start": 18681, + "end": 18686, "loc": { "start": { - "line": 290, + "line": 394, "column": 8 }, "end": { - "line": 290, + "line": 394, "column": 13 } } @@ -85756,15 +109929,15 @@ "binop": null }, "value": "tile", - "start": 15256, - "end": 15260, + "start": 18687, + "end": 18691, "loc": { "start": { - "line": 290, + "line": 394, "column": 14 }, "end": { - "line": 290, + "line": 394, "column": 18 } } @@ -85783,15 +109956,15 @@ "updateContext": null }, "value": "=", - "start": 15261, - "end": 15262, + "start": 18692, + "end": 18693, "loc": { "start": { - "line": 290, + "line": 394, "column": 19 }, "end": { - "line": 290, + "line": 394, "column": 20 } } @@ -85809,15 +109982,15 @@ "binop": null }, "value": "tilesList", - "start": 15263, - "end": 15272, + "start": 18694, + "end": 18703, "loc": { "start": { - "line": 290, + "line": 394, "column": 21 }, "end": { - "line": 290, + "line": 394, "column": 30 } } @@ -85835,15 +110008,15 @@ "binop": null, "updateContext": null }, - "start": 15273, - "end": 15274, + "start": 18704, + "end": 18705, "loc": { "start": { - "line": 290, + "line": 394, "column": 31 }, "end": { - "line": 290, + "line": 394, "column": 32 } } @@ -85861,15 +110034,15 @@ "binop": null }, "value": "tileIndex", - "start": 15274, - "end": 15283, + "start": 18705, + "end": 18714, "loc": { "start": { - "line": 290, + "line": 394, "column": 32 }, "end": { - "line": 290, + "line": 394, "column": 41 } } @@ -85887,15 +110060,15 @@ "binop": null, "updateContext": null }, - "start": 15283, - "end": 15284, + "start": 18714, + "end": 18715, "loc": { "start": { - "line": 290, + "line": 394, "column": 41 }, "end": { - "line": 290, + "line": 394, "column": 42 } } @@ -85913,15 +110086,15 @@ "binop": null, "updateContext": null }, - "start": 15284, - "end": 15285, + "start": 18715, + "end": 18716, "loc": { "start": { - "line": 290, + "line": 394, "column": 42 }, "end": { - "line": 290, + "line": 394, "column": 43 } } @@ -85941,15 +110114,15 @@ "updateContext": null }, "value": "const", - "start": 15294, - "end": 15299, + "start": 18725, + "end": 18730, "loc": { "start": { - "line": 291, + "line": 395, "column": 8 }, "end": { - "line": 291, + "line": 395, "column": 13 } } @@ -85967,15 +110140,15 @@ "binop": null }, "value": "tileEntities", - "start": 15300, - "end": 15312, + "start": 18731, + "end": 18743, "loc": { "start": { - "line": 291, + "line": 395, "column": 14 }, "end": { - "line": 291, + "line": 395, "column": 26 } } @@ -85994,15 +110167,15 @@ "updateContext": null }, "value": "=", - "start": 15313, - "end": 15314, + "start": 18744, + "end": 18745, "loc": { "start": { - "line": 291, + "line": 395, "column": 27 }, "end": { - "line": 291, + "line": 395, "column": 28 } } @@ -86020,15 +110193,15 @@ "binop": null }, "value": "tile", - "start": 15315, - "end": 15319, + "start": 18746, + "end": 18750, "loc": { "start": { - "line": 291, + "line": 395, "column": 29 }, "end": { - "line": 291, + "line": 395, "column": 33 } } @@ -86046,15 +110219,15 @@ "binop": null, "updateContext": null }, - "start": 15319, - "end": 15320, + "start": 18750, + "end": 18751, "loc": { "start": { - "line": 291, + "line": 395, "column": 33 }, "end": { - "line": 291, + "line": 395, "column": 34 } } @@ -86072,15 +110245,15 @@ "binop": null }, "value": "entities", - "start": 15320, - "end": 15328, + "start": 18751, + "end": 18759, "loc": { "start": { - "line": 291, + "line": 395, "column": 34 }, "end": { - "line": 291, + "line": 395, "column": 42 } } @@ -86098,15 +110271,15 @@ "binop": null, "updateContext": null }, - "start": 15328, - "end": 15329, + "start": 18759, + "end": 18760, "loc": { "start": { - "line": 291, + "line": 395, "column": 42 }, "end": { - "line": 291, + "line": 395, "column": 43 } } @@ -86126,15 +110299,15 @@ "updateContext": null }, "value": "const", - "start": 15338, - "end": 15343, + "start": 18769, + "end": 18774, "loc": { "start": { - "line": 292, + "line": 396, "column": 8 }, "end": { - "line": 292, + "line": 396, "column": 13 } } @@ -86152,15 +110325,15 @@ "binop": null }, "value": "numTileEntities", - "start": 15344, - "end": 15359, + "start": 18775, + "end": 18790, "loc": { "start": { - "line": 292, + "line": 396, "column": 14 }, "end": { - "line": 292, + "line": 396, "column": 29 } } @@ -86179,15 +110352,15 @@ "updateContext": null }, "value": "=", - "start": 15360, - "end": 15361, + "start": 18791, + "end": 18792, "loc": { "start": { - "line": 292, + "line": 396, "column": 30 }, "end": { - "line": 292, + "line": 396, "column": 31 } } @@ -86205,15 +110378,15 @@ "binop": null }, "value": "tileEntities", - "start": 15362, - "end": 15374, + "start": 18793, + "end": 18805, "loc": { "start": { - "line": 292, + "line": 396, "column": 32 }, "end": { - "line": 292, + "line": 396, "column": 44 } } @@ -86231,15 +110404,15 @@ "binop": null, "updateContext": null }, - "start": 15374, - "end": 15375, + "start": 18805, + "end": 18806, "loc": { "start": { - "line": 292, + "line": 396, "column": 44 }, "end": { - "line": 292, + "line": 396, "column": 45 } } @@ -86257,15 +110430,15 @@ "binop": null }, "value": "length", - "start": 15375, - "end": 15381, + "start": 18806, + "end": 18812, "loc": { "start": { - "line": 292, + "line": 396, "column": 45 }, "end": { - "line": 292, + "line": 396, "column": 51 } } @@ -86283,15 +110456,15 @@ "binop": null, "updateContext": null }, - "start": 15381, - "end": 15382, + "start": 18812, + "end": 18813, "loc": { "start": { - "line": 292, + "line": 396, "column": 51 }, "end": { - "line": 292, + "line": 396, "column": 52 } } @@ -86311,15 +110484,15 @@ "updateContext": null }, "value": "if", - "start": 15392, - "end": 15394, + "start": 18823, + "end": 18825, "loc": { "start": { - "line": 294, + "line": 398, "column": 8 }, "end": { - "line": 294, + "line": 398, "column": 10 } } @@ -86336,15 +110509,15 @@ "postfix": false, "binop": null }, - "start": 15395, - "end": 15396, + "start": 18826, + "end": 18827, "loc": { "start": { - "line": 294, + "line": 398, "column": 11 }, "end": { - "line": 294, + "line": 398, "column": 12 } } @@ -86362,15 +110535,15 @@ "binop": null }, "value": "numTileEntities", - "start": 15396, - "end": 15411, + "start": 18827, + "end": 18842, "loc": { "start": { - "line": 294, + "line": 398, "column": 12 }, "end": { - "line": 294, + "line": 398, "column": 27 } } @@ -86389,15 +110562,15 @@ "updateContext": null }, "value": "===", - "start": 15412, - "end": 15415, + "start": 18843, + "end": 18846, "loc": { "start": { - "line": 294, + "line": 398, "column": 28 }, "end": { - "line": 294, + "line": 398, "column": 31 } } @@ -86416,15 +110589,15 @@ "updateContext": null }, "value": 0, - "start": 15416, - "end": 15417, + "start": 18847, + "end": 18848, "loc": { "start": { - "line": 294, + "line": 398, "column": 32 }, "end": { - "line": 294, + "line": 398, "column": 33 } } @@ -86441,15 +110614,15 @@ "postfix": false, "binop": null }, - "start": 15417, - "end": 15418, + "start": 18848, + "end": 18849, "loc": { "start": { - "line": 294, + "line": 398, "column": 33 }, "end": { - "line": 294, + "line": 398, "column": 34 } } @@ -86466,15 +110639,15 @@ "postfix": false, "binop": null }, - "start": 15419, - "end": 15420, + "start": 18850, + "end": 18851, "loc": { "start": { - "line": 294, + "line": 398, "column": 35 }, "end": { - "line": 294, + "line": 398, "column": 36 } } @@ -86494,15 +110667,15 @@ "updateContext": null }, "value": "continue", - "start": 15433, - "end": 15441, + "start": 18864, + "end": 18872, "loc": { "start": { - "line": 295, + "line": 399, "column": 12 }, "end": { - "line": 295, + "line": 399, "column": 20 } } @@ -86520,15 +110693,15 @@ "binop": null, "updateContext": null }, - "start": 15441, - "end": 15442, + "start": 18872, + "end": 18873, "loc": { "start": { - "line": 295, + "line": 399, "column": 20 }, "end": { - "line": 295, + "line": 399, "column": 21 } } @@ -86545,15 +110718,15 @@ "postfix": false, "binop": null }, - "start": 15451, - "end": 15452, + "start": 18882, + "end": 18883, "loc": { "start": { - "line": 296, + "line": 400, "column": 8 }, "end": { - "line": 296, + "line": 400, "column": 9 } } @@ -86571,15 +110744,15 @@ "binop": null }, "value": "data", - "start": 15462, - "end": 15466, + "start": 18893, + "end": 18897, "loc": { "start": { - "line": 298, + "line": 402, "column": 8 }, "end": { - "line": 298, + "line": 402, "column": 12 } } @@ -86597,15 +110770,15 @@ "binop": null, "updateContext": null }, - "start": 15466, - "end": 15467, + "start": 18897, + "end": 18898, "loc": { "start": { - "line": 298, + "line": 402, "column": 12 }, "end": { - "line": 298, + "line": 402, "column": 13 } } @@ -86623,15 +110796,15 @@ "binop": null }, "value": "eachTileEntitiesPortion", - "start": 15467, - "end": 15490, + "start": 18898, + "end": 18921, "loc": { "start": { - "line": 298, + "line": 402, "column": 13 }, "end": { - "line": 298, + "line": 402, "column": 36 } } @@ -86649,15 +110822,15 @@ "binop": null, "updateContext": null }, - "start": 15490, - "end": 15491, + "start": 18921, + "end": 18922, "loc": { "start": { - "line": 298, + "line": 402, "column": 36 }, "end": { - "line": 298, + "line": 402, "column": 37 } } @@ -86675,15 +110848,15 @@ "binop": null }, "value": "tileIndex", - "start": 15491, - "end": 15500, + "start": 18922, + "end": 18931, "loc": { "start": { - "line": 298, + "line": 402, "column": 37 }, "end": { - "line": 298, + "line": 402, "column": 46 } } @@ -86701,15 +110874,15 @@ "binop": null, "updateContext": null }, - "start": 15500, - "end": 15501, + "start": 18931, + "end": 18932, "loc": { "start": { - "line": 298, + "line": 402, "column": 46 }, "end": { - "line": 298, + "line": 402, "column": 47 } } @@ -86728,15 +110901,15 @@ "updateContext": null }, "value": "=", - "start": 15502, - "end": 15503, + "start": 18933, + "end": 18934, "loc": { "start": { - "line": 298, + "line": 402, "column": 48 }, "end": { - "line": 298, + "line": 402, "column": 49 } } @@ -86754,15 +110927,15 @@ "binop": null }, "value": "entityIndex", - "start": 15504, - "end": 15515, + "start": 18935, + "end": 18946, "loc": { "start": { - "line": 298, + "line": 402, "column": 50 }, "end": { - "line": 298, + "line": 402, "column": 61 } } @@ -86780,15 +110953,15 @@ "binop": null, "updateContext": null }, - "start": 15515, - "end": 15516, + "start": 18946, + "end": 18947, "loc": { "start": { - "line": 298, + "line": 402, "column": 61 }, "end": { - "line": 298, + "line": 402, "column": 62 } } @@ -86808,15 +110981,15 @@ "updateContext": null }, "value": "const", - "start": 15526, - "end": 15531, + "start": 18957, + "end": 18962, "loc": { "start": { - "line": 300, + "line": 404, "column": 8 }, "end": { - "line": 300, + "line": 404, "column": 13 } } @@ -86834,15 +111007,15 @@ "binop": null }, "value": "tileAABB", - "start": 15532, - "end": 15540, + "start": 18963, + "end": 18971, "loc": { "start": { - "line": 300, + "line": 404, "column": 14 }, "end": { - "line": 300, + "line": 404, "column": 22 } } @@ -86861,15 +111034,15 @@ "updateContext": null }, "value": "=", - "start": 15541, - "end": 15542, + "start": 18972, + "end": 18973, "loc": { "start": { - "line": 300, + "line": 404, "column": 23 }, "end": { - "line": 300, + "line": 404, "column": 24 } } @@ -86887,15 +111060,15 @@ "binop": null }, "value": "tile", - "start": 15543, - "end": 15547, + "start": 18974, + "end": 18978, "loc": { "start": { - "line": 300, + "line": 404, "column": 25 }, "end": { - "line": 300, + "line": 404, "column": 29 } } @@ -86913,15 +111086,15 @@ "binop": null, "updateContext": null }, - "start": 15547, - "end": 15548, + "start": 18978, + "end": 18979, "loc": { "start": { - "line": 300, + "line": 404, "column": 29 }, "end": { - "line": 300, + "line": 404, "column": 30 } } @@ -86939,15 +111112,15 @@ "binop": null }, "value": "aabb", - "start": 15548, - "end": 15552, + "start": 18979, + "end": 18983, "loc": { "start": { - "line": 300, + "line": 404, "column": 30 }, "end": { - "line": 300, + "line": 404, "column": 34 } } @@ -86965,15 +111138,15 @@ "binop": null, "updateContext": null }, - "start": 15552, - "end": 15553, + "start": 18983, + "end": 18984, "loc": { "start": { - "line": 300, + "line": 404, "column": 34 }, "end": { - "line": 300, + "line": 404, "column": 35 } } @@ -86993,15 +111166,15 @@ "updateContext": null }, "value": "for", - "start": 15563, - "end": 15566, + "start": 18994, + "end": 18997, "loc": { "start": { - "line": 302, + "line": 406, "column": 8 }, "end": { - "line": 302, + "line": 406, "column": 11 } } @@ -87018,15 +111191,15 @@ "postfix": false, "binop": null }, - "start": 15567, - "end": 15568, + "start": 18998, + "end": 18999, "loc": { "start": { - "line": 302, + "line": 406, "column": 12 }, "end": { - "line": 302, + "line": 406, "column": 13 } } @@ -87046,15 +111219,15 @@ "updateContext": null }, "value": "let", - "start": 15568, - "end": 15571, + "start": 18999, + "end": 19002, "loc": { "start": { - "line": 302, + "line": 406, "column": 13 }, "end": { - "line": 302, + "line": 406, "column": 16 } } @@ -87072,15 +111245,15 @@ "binop": null }, "value": "j", - "start": 15572, - "end": 15573, + "start": 19003, + "end": 19004, "loc": { "start": { - "line": 302, + "line": 406, "column": 17 }, "end": { - "line": 302, + "line": 406, "column": 18 } } @@ -87099,15 +111272,15 @@ "updateContext": null }, "value": "=", - "start": 15574, - "end": 15575, + "start": 19005, + "end": 19006, "loc": { "start": { - "line": 302, + "line": 406, "column": 19 }, "end": { - "line": 302, + "line": 406, "column": 20 } } @@ -87126,15 +111299,15 @@ "updateContext": null }, "value": 0, - "start": 15576, - "end": 15577, + "start": 19007, + "end": 19008, "loc": { "start": { - "line": 302, + "line": 406, "column": 21 }, "end": { - "line": 302, + "line": 406, "column": 22 } } @@ -87152,15 +111325,15 @@ "binop": null, "updateContext": null }, - "start": 15577, - "end": 15578, + "start": 19008, + "end": 19009, "loc": { "start": { - "line": 302, + "line": 406, "column": 22 }, "end": { - "line": 302, + "line": 406, "column": 23 } } @@ -87178,15 +111351,15 @@ "binop": null }, "value": "j", - "start": 15579, - "end": 15580, + "start": 19010, + "end": 19011, "loc": { "start": { - "line": 302, + "line": 406, "column": 24 }, "end": { - "line": 302, + "line": 406, "column": 25 } } @@ -87205,15 +111378,15 @@ "updateContext": null }, "value": "<", - "start": 15581, - "end": 15582, + "start": 19012, + "end": 19013, "loc": { "start": { - "line": 302, + "line": 406, "column": 26 }, "end": { - "line": 302, + "line": 406, "column": 27 } } @@ -87231,15 +111404,15 @@ "binop": null }, "value": "numTileEntities", - "start": 15583, - "end": 15598, + "start": 19014, + "end": 19029, "loc": { "start": { - "line": 302, + "line": 406, "column": 28 }, "end": { - "line": 302, + "line": 406, "column": 43 } } @@ -87257,15 +111430,15 @@ "binop": null, "updateContext": null }, - "start": 15598, - "end": 15599, + "start": 19029, + "end": 19030, "loc": { "start": { - "line": 302, + "line": 406, "column": 43 }, "end": { - "line": 302, + "line": 406, "column": 44 } } @@ -87283,15 +111456,15 @@ "binop": null }, "value": "j", - "start": 15600, - "end": 15601, + "start": 19031, + "end": 19032, "loc": { "start": { - "line": 302, + "line": 406, "column": 45 }, "end": { - "line": 302, + "line": 406, "column": 46 } } @@ -87309,15 +111482,15 @@ "binop": null }, "value": "++", - "start": 15601, - "end": 15603, + "start": 19032, + "end": 19034, "loc": { "start": { - "line": 302, + "line": 406, "column": 46 }, "end": { - "line": 302, + "line": 406, "column": 48 } } @@ -87334,15 +111507,15 @@ "postfix": false, "binop": null }, - "start": 15603, - "end": 15604, + "start": 19034, + "end": 19035, "loc": { "start": { - "line": 302, + "line": 406, "column": 48 }, "end": { - "line": 302, + "line": 406, "column": 49 } } @@ -87359,15 +111532,15 @@ "postfix": false, "binop": null }, - "start": 15605, - "end": 15606, + "start": 19036, + "end": 19037, "loc": { "start": { - "line": 302, + "line": 406, "column": 50 }, "end": { - "line": 302, + "line": 406, "column": 51 } } @@ -87387,15 +111560,15 @@ "updateContext": null }, "value": "const", - "start": 15620, - "end": 15625, + "start": 19051, + "end": 19056, "loc": { "start": { - "line": 304, + "line": 408, "column": 12 }, "end": { - "line": 304, + "line": 408, "column": 17 } } @@ -87413,15 +111586,15 @@ "binop": null }, "value": "entity", - "start": 15626, - "end": 15632, + "start": 19057, + "end": 19063, "loc": { "start": { - "line": 304, + "line": 408, "column": 18 }, "end": { - "line": 304, + "line": 408, "column": 24 } } @@ -87440,15 +111613,15 @@ "updateContext": null }, "value": "=", - "start": 15633, - "end": 15634, + "start": 19064, + "end": 19065, "loc": { "start": { - "line": 304, + "line": 408, "column": 25 }, "end": { - "line": 304, + "line": 408, "column": 26 } } @@ -87466,15 +111639,15 @@ "binop": null }, "value": "tileEntities", - "start": 15635, - "end": 15647, + "start": 19066, + "end": 19078, "loc": { "start": { - "line": 304, + "line": 408, "column": 27 }, "end": { - "line": 304, + "line": 408, "column": 39 } } @@ -87492,15 +111665,15 @@ "binop": null, "updateContext": null }, - "start": 15647, - "end": 15648, + "start": 19078, + "end": 19079, "loc": { "start": { - "line": 304, + "line": 408, "column": 39 }, "end": { - "line": 304, + "line": 408, "column": 40 } } @@ -87518,15 +111691,15 @@ "binop": null }, "value": "j", - "start": 15648, - "end": 15649, + "start": 19079, + "end": 19080, "loc": { "start": { - "line": 304, + "line": 408, "column": 40 }, "end": { - "line": 304, + "line": 408, "column": 41 } } @@ -87544,15 +111717,15 @@ "binop": null, "updateContext": null }, - "start": 15649, - "end": 15650, + "start": 19080, + "end": 19081, "loc": { "start": { - "line": 304, + "line": 408, "column": 41 }, "end": { - "line": 304, + "line": 408, "column": 42 } } @@ -87570,15 +111743,15 @@ "binop": null, "updateContext": null }, - "start": 15650, - "end": 15651, + "start": 19081, + "end": 19082, "loc": { "start": { - "line": 304, + "line": 408, "column": 42 }, "end": { - "line": 304, + "line": 408, "column": 43 } } @@ -87598,15 +111771,15 @@ "updateContext": null }, "value": "const", - "start": 15664, - "end": 15669, + "start": 19095, + "end": 19100, "loc": { "start": { - "line": 305, + "line": 409, "column": 12 }, "end": { - "line": 305, + "line": 409, "column": 17 } } @@ -87624,15 +111797,15 @@ "binop": null }, "value": "entityMeshes", - "start": 15670, - "end": 15682, + "start": 19101, + "end": 19113, "loc": { "start": { - "line": 305, + "line": 409, "column": 18 }, "end": { - "line": 305, + "line": 409, "column": 30 } } @@ -87651,15 +111824,15 @@ "updateContext": null }, "value": "=", - "start": 15683, - "end": 15684, + "start": 19114, + "end": 19115, "loc": { "start": { - "line": 305, + "line": 409, "column": 31 }, "end": { - "line": 305, + "line": 409, "column": 32 } } @@ -87677,15 +111850,15 @@ "binop": null }, "value": "entity", - "start": 15685, - "end": 15691, + "start": 19116, + "end": 19122, "loc": { "start": { - "line": 305, + "line": 409, "column": 33 }, "end": { - "line": 305, + "line": 409, "column": 39 } } @@ -87703,15 +111876,15 @@ "binop": null, "updateContext": null }, - "start": 15691, - "end": 15692, + "start": 19122, + "end": 19123, "loc": { "start": { - "line": 305, + "line": 409, "column": 39 }, "end": { - "line": 305, + "line": 409, "column": 40 } } @@ -87729,15 +111902,15 @@ "binop": null }, "value": "meshes", - "start": 15692, - "end": 15698, + "start": 19123, + "end": 19129, "loc": { "start": { - "line": 305, + "line": 409, "column": 40 }, "end": { - "line": 305, + "line": 409, "column": 46 } } @@ -87755,15 +111928,15 @@ "binop": null, "updateContext": null }, - "start": 15698, - "end": 15699, + "start": 19129, + "end": 19130, "loc": { "start": { - "line": 305, + "line": 409, "column": 46 }, "end": { - "line": 305, + "line": 409, "column": 47 } } @@ -87783,15 +111956,15 @@ "updateContext": null }, "value": "const", - "start": 15712, - "end": 15717, + "start": 19143, + "end": 19148, "loc": { "start": { - "line": 306, + "line": 410, "column": 12 }, "end": { - "line": 306, + "line": 410, "column": 17 } } @@ -87809,15 +111982,15 @@ "binop": null }, "value": "numEntityMeshes", - "start": 15718, - "end": 15733, + "start": 19149, + "end": 19164, "loc": { "start": { - "line": 306, + "line": 410, "column": 18 }, "end": { - "line": 306, + "line": 410, "column": 33 } } @@ -87836,15 +112009,15 @@ "updateContext": null }, "value": "=", - "start": 15734, - "end": 15735, + "start": 19165, + "end": 19166, "loc": { "start": { - "line": 306, + "line": 410, "column": 34 }, "end": { - "line": 306, + "line": 410, "column": 35 } } @@ -87862,15 +112035,15 @@ "binop": null }, "value": "entityMeshes", - "start": 15736, - "end": 15748, + "start": 19167, + "end": 19179, "loc": { "start": { - "line": 306, + "line": 410, "column": 36 }, "end": { - "line": 306, + "line": 410, "column": 48 } } @@ -87888,15 +112061,15 @@ "binop": null, "updateContext": null }, - "start": 15748, - "end": 15749, + "start": 19179, + "end": 19180, "loc": { "start": { - "line": 306, + "line": 410, "column": 48 }, "end": { - "line": 306, + "line": 410, "column": 49 } } @@ -87914,15 +112087,15 @@ "binop": null }, "value": "length", - "start": 15749, - "end": 15755, + "start": 19180, + "end": 19186, "loc": { "start": { - "line": 306, + "line": 410, "column": 49 }, "end": { - "line": 306, + "line": 410, "column": 55 } } @@ -87940,15 +112113,15 @@ "binop": null, "updateContext": null }, - "start": 15755, - "end": 15756, + "start": 19186, + "end": 19187, "loc": { "start": { - "line": 306, + "line": 410, "column": 55 }, "end": { - "line": 306, + "line": 410, "column": 56 } } @@ -87968,15 +112141,15 @@ "updateContext": null }, "value": "for", - "start": 15770, - "end": 15773, + "start": 19201, + "end": 19204, "loc": { "start": { - "line": 308, + "line": 412, "column": 12 }, "end": { - "line": 308, + "line": 412, "column": 15 } } @@ -87993,15 +112166,15 @@ "postfix": false, "binop": null }, - "start": 15774, - "end": 15775, + "start": 19205, + "end": 19206, "loc": { "start": { - "line": 308, + "line": 412, "column": 16 }, "end": { - "line": 308, + "line": 412, "column": 17 } } @@ -88021,15 +112194,15 @@ "updateContext": null }, "value": "let", - "start": 15775, - "end": 15778, + "start": 19206, + "end": 19209, "loc": { "start": { - "line": 308, + "line": 412, "column": 17 }, "end": { - "line": 308, + "line": 412, "column": 20 } } @@ -88047,15 +112220,15 @@ "binop": null }, "value": "k", - "start": 15779, - "end": 15780, + "start": 19210, + "end": 19211, "loc": { "start": { - "line": 308, + "line": 412, "column": 21 }, "end": { - "line": 308, + "line": 412, "column": 22 } } @@ -88074,15 +112247,15 @@ "updateContext": null }, "value": "=", - "start": 15781, - "end": 15782, + "start": 19212, + "end": 19213, "loc": { "start": { - "line": 308, + "line": 412, "column": 23 }, "end": { - "line": 308, + "line": 412, "column": 24 } } @@ -88101,15 +112274,15 @@ "updateContext": null }, "value": 0, - "start": 15783, - "end": 15784, + "start": 19214, + "end": 19215, "loc": { "start": { - "line": 308, + "line": 412, "column": 25 }, "end": { - "line": 308, + "line": 412, "column": 26 } } @@ -88127,15 +112300,15 @@ "binop": null, "updateContext": null }, - "start": 15784, - "end": 15785, + "start": 19215, + "end": 19216, "loc": { "start": { - "line": 308, + "line": 412, "column": 26 }, "end": { - "line": 308, + "line": 412, "column": 27 } } @@ -88153,15 +112326,15 @@ "binop": null }, "value": "k", - "start": 15786, - "end": 15787, + "start": 19217, + "end": 19218, "loc": { "start": { - "line": 308, + "line": 412, "column": 28 }, "end": { - "line": 308, + "line": 412, "column": 29 } } @@ -88180,15 +112353,15 @@ "updateContext": null }, "value": "<", - "start": 15788, - "end": 15789, + "start": 19219, + "end": 19220, "loc": { "start": { - "line": 308, + "line": 412, "column": 30 }, "end": { - "line": 308, + "line": 412, "column": 31 } } @@ -88206,15 +112379,15 @@ "binop": null }, "value": "numEntityMeshes", - "start": 15790, - "end": 15805, + "start": 19221, + "end": 19236, "loc": { "start": { - "line": 308, + "line": 412, "column": 32 }, "end": { - "line": 308, + "line": 412, "column": 47 } } @@ -88232,15 +112405,15 @@ "binop": null, "updateContext": null }, - "start": 15805, - "end": 15806, + "start": 19236, + "end": 19237, "loc": { "start": { - "line": 308, + "line": 412, "column": 47 }, "end": { - "line": 308, + "line": 412, "column": 48 } } @@ -88258,15 +112431,15 @@ "binop": null }, "value": "k", - "start": 15807, - "end": 15808, + "start": 19238, + "end": 19239, "loc": { "start": { - "line": 308, + "line": 412, "column": 49 }, "end": { - "line": 308, + "line": 412, "column": 50 } } @@ -88284,15 +112457,15 @@ "binop": null }, "value": "++", - "start": 15808, - "end": 15810, + "start": 19239, + "end": 19241, "loc": { "start": { - "line": 308, + "line": 412, "column": 50 }, "end": { - "line": 308, + "line": 412, "column": 52 } } @@ -88309,15 +112482,15 @@ "postfix": false, "binop": null }, - "start": 15810, - "end": 15811, + "start": 19241, + "end": 19242, "loc": { "start": { - "line": 308, + "line": 412, "column": 52 }, "end": { - "line": 308, + "line": 412, "column": 53 } } @@ -88334,15 +112507,15 @@ "postfix": false, "binop": null }, - "start": 15812, - "end": 15813, + "start": 19243, + "end": 19244, "loc": { "start": { - "line": 308, + "line": 412, "column": 54 }, "end": { - "line": 308, + "line": 412, "column": 55 } } @@ -88362,15 +112535,15 @@ "updateContext": null }, "value": "const", - "start": 15831, - "end": 15836, + "start": 19262, + "end": 19267, "loc": { "start": { - "line": 310, + "line": 414, "column": 16 }, "end": { - "line": 310, + "line": 414, "column": 21 } } @@ -88388,15 +112561,15 @@ "binop": null }, "value": "mesh", - "start": 15837, - "end": 15841, + "start": 19268, + "end": 19272, "loc": { "start": { - "line": 310, + "line": 414, "column": 22 }, "end": { - "line": 310, + "line": 414, "column": 26 } } @@ -88415,15 +112588,15 @@ "updateContext": null }, "value": "=", - "start": 15842, - "end": 15843, + "start": 19273, + "end": 19274, "loc": { "start": { - "line": 310, + "line": 414, "column": 27 }, "end": { - "line": 310, + "line": 414, "column": 28 } } @@ -88441,15 +112614,15 @@ "binop": null }, "value": "entityMeshes", - "start": 15844, - "end": 15856, + "start": 19275, + "end": 19287, "loc": { "start": { - "line": 310, + "line": 414, "column": 29 }, "end": { - "line": 310, + "line": 414, "column": 41 } } @@ -88467,15 +112640,15 @@ "binop": null, "updateContext": null }, - "start": 15856, - "end": 15857, + "start": 19287, + "end": 19288, "loc": { "start": { - "line": 310, + "line": 414, "column": 41 }, "end": { - "line": 310, + "line": 414, "column": 42 } } @@ -88493,15 +112666,15 @@ "binop": null }, "value": "k", - "start": 15857, - "end": 15858, + "start": 19288, + "end": 19289, "loc": { "start": { - "line": 310, + "line": 414, "column": 42 }, "end": { - "line": 310, + "line": 414, "column": 43 } } @@ -88519,15 +112692,15 @@ "binop": null, "updateContext": null }, - "start": 15858, - "end": 15859, + "start": 19289, + "end": 19290, "loc": { "start": { - "line": 310, + "line": 414, "column": 43 }, "end": { - "line": 310, + "line": 414, "column": 44 } } @@ -88545,15 +112718,15 @@ "binop": null, "updateContext": null }, - "start": 15859, - "end": 15860, + "start": 19290, + "end": 19291, "loc": { "start": { - "line": 310, + "line": 414, "column": 44 }, "end": { - "line": 310, + "line": 414, "column": 45 } } @@ -88573,15 +112746,15 @@ "updateContext": null }, "value": "const", - "start": 15877, - "end": 15882, + "start": 19308, + "end": 19313, "loc": { "start": { - "line": 311, + "line": 415, "column": 16 }, "end": { - "line": 311, + "line": 415, "column": 21 } } @@ -88599,15 +112772,15 @@ "binop": null }, "value": "geometry", - "start": 15883, - "end": 15891, + "start": 19314, + "end": 19322, "loc": { "start": { - "line": 311, + "line": 415, "column": 22 }, "end": { - "line": 311, + "line": 415, "column": 30 } } @@ -88626,15 +112799,15 @@ "updateContext": null }, "value": "=", - "start": 15892, - "end": 15893, + "start": 19323, + "end": 19324, "loc": { "start": { - "line": 311, + "line": 415, "column": 31 }, "end": { - "line": 311, + "line": 415, "column": 32 } } @@ -88652,15 +112825,15 @@ "binop": null }, "value": "mesh", - "start": 15894, - "end": 15898, + "start": 19325, + "end": 19329, "loc": { "start": { - "line": 311, + "line": 415, "column": 33 }, "end": { - "line": 311, + "line": 415, "column": 37 } } @@ -88678,15 +112851,15 @@ "binop": null, "updateContext": null }, - "start": 15898, - "end": 15899, + "start": 19329, + "end": 19330, "loc": { "start": { - "line": 311, + "line": 415, "column": 37 }, "end": { - "line": 311, + "line": 415, "column": 38 } } @@ -88704,15 +112877,15 @@ "binop": null }, "value": "geometry", - "start": 15899, - "end": 15907, + "start": 19330, + "end": 19338, "loc": { "start": { - "line": 311, + "line": 415, "column": 38 }, "end": { - "line": 311, + "line": 415, "column": 46 } } @@ -88730,15 +112903,15 @@ "binop": null, "updateContext": null }, - "start": 15907, - "end": 15908, + "start": 19338, + "end": 19339, "loc": { "start": { - "line": 311, + "line": 415, "column": 46 }, "end": { - "line": 311, + "line": 415, "column": 47 } } @@ -88758,15 +112931,15 @@ "updateContext": null }, "value": "const", - "start": 15925, - "end": 15930, + "start": 19356, + "end": 19361, "loc": { "start": { - "line": 312, + "line": 416, "column": 16 }, "end": { - "line": 312, + "line": 416, "column": 21 } } @@ -88784,15 +112957,15 @@ "binop": null }, "value": "geometryIndex", - "start": 15931, - "end": 15944, + "start": 19362, + "end": 19375, "loc": { "start": { - "line": 312, + "line": 416, "column": 22 }, "end": { - "line": 312, + "line": 416, "column": 35 } } @@ -88811,15 +112984,15 @@ "updateContext": null }, "value": "=", - "start": 15945, - "end": 15946, + "start": 19376, + "end": 19377, "loc": { "start": { - "line": 312, + "line": 416, "column": 36 }, "end": { - "line": 312, + "line": 416, "column": 37 } } @@ -88837,15 +113010,15 @@ "binop": null }, "value": "geometry", - "start": 15947, - "end": 15955, + "start": 19378, + "end": 19386, "loc": { "start": { - "line": 312, + "line": 416, "column": 38 }, "end": { - "line": 312, + "line": 416, "column": 46 } } @@ -88863,15 +113036,15 @@ "binop": null, "updateContext": null }, - "start": 15955, - "end": 15956, + "start": 19386, + "end": 19387, "loc": { "start": { - "line": 312, + "line": 416, "column": 46 }, "end": { - "line": 312, + "line": 416, "column": 47 } } @@ -88889,15 +113062,15 @@ "binop": null }, "value": "geometryIndex", - "start": 15956, - "end": 15969, + "start": 19387, + "end": 19400, "loc": { "start": { - "line": 312, + "line": 416, "column": 47 }, "end": { - "line": 312, + "line": 416, "column": 60 } } @@ -88915,15 +113088,15 @@ "binop": null, "updateContext": null }, - "start": 15969, - "end": 15970, + "start": 19400, + "end": 19401, "loc": { "start": { - "line": 312, + "line": 416, "column": 60 }, "end": { - "line": 312, + "line": 416, "column": 61 } } @@ -88941,15 +113114,15 @@ "binop": null }, "value": "data", - "start": 15988, - "end": 15992, + "start": 19419, + "end": 19423, "loc": { "start": { - "line": 314, + "line": 418, "column": 16 }, "end": { - "line": 314, + "line": 418, "column": 20 } } @@ -88967,15 +113140,15 @@ "binop": null, "updateContext": null }, - "start": 15992, - "end": 15993, + "start": 19423, + "end": 19424, "loc": { "start": { - "line": 314, + "line": 418, "column": 20 }, "end": { - "line": 314, + "line": 418, "column": 21 } } @@ -88993,15 +113166,15 @@ "binop": null }, "value": "eachMeshGeometriesPortion", - "start": 15993, - "end": 16018, + "start": 19424, + "end": 19449, "loc": { "start": { - "line": 314, + "line": 418, "column": 21 }, "end": { - "line": 314, + "line": 418, "column": 46 } } @@ -89019,15 +113192,15 @@ "binop": null, "updateContext": null }, - "start": 16019, - "end": 16020, + "start": 19450, + "end": 19451, "loc": { "start": { - "line": 314, + "line": 418, "column": 47 }, "end": { - "line": 314, + "line": 418, "column": 48 } } @@ -89045,15 +113218,15 @@ "binop": null }, "value": "countEntityMeshesPortion", - "start": 16020, - "end": 16044, + "start": 19451, + "end": 19475, "loc": { "start": { - "line": 314, + "line": 418, "column": 48 }, "end": { - "line": 314, + "line": 418, "column": 72 } } @@ -89072,15 +113245,15 @@ "updateContext": null }, "value": "+", - "start": 16045, - "end": 16046, + "start": 19476, + "end": 19477, "loc": { "start": { - "line": 314, + "line": 418, "column": 73 }, "end": { - "line": 314, + "line": 418, "column": 74 } } @@ -89098,15 +113271,15 @@ "binop": null }, "value": "k", - "start": 16047, - "end": 16048, + "start": 19478, + "end": 19479, "loc": { "start": { - "line": 314, + "line": 418, "column": 75 }, "end": { - "line": 314, + "line": 418, "column": 76 } } @@ -89124,15 +113297,15 @@ "binop": null, "updateContext": null }, - "start": 16048, - "end": 16049, + "start": 19479, + "end": 19480, "loc": { "start": { - "line": 314, + "line": 418, "column": 76 }, "end": { - "line": 314, + "line": 418, "column": 77 } } @@ -89151,15 +113324,15 @@ "updateContext": null }, "value": "=", - "start": 16050, - "end": 16051, + "start": 19481, + "end": 19482, "loc": { "start": { - "line": 314, + "line": 418, "column": 78 }, "end": { - "line": 314, + "line": 418, "column": 79 } } @@ -89177,15 +113350,15 @@ "binop": null }, "value": "geometryIndex", - "start": 16052, - "end": 16065, + "start": 19483, + "end": 19496, "loc": { "start": { - "line": 314, + "line": 418, "column": 80 }, "end": { - "line": 314, + "line": 418, "column": 93 } } @@ -89203,15 +113376,15 @@ "binop": null, "updateContext": null }, - "start": 16065, - "end": 16066, + "start": 19496, + "end": 19497, "loc": { "start": { - "line": 314, + "line": 418, "column": 93 }, "end": { - "line": 314, + "line": 418, "column": 94 } } @@ -89231,15 +113404,15 @@ "updateContext": null }, "value": "if", - "start": 16084, - "end": 16086, + "start": 19515, + "end": 19517, "loc": { "start": { - "line": 316, + "line": 420, "column": 16 }, "end": { - "line": 316, + "line": 420, "column": 18 } } @@ -89256,15 +113429,15 @@ "postfix": false, "binop": null }, - "start": 16087, - "end": 16088, + "start": 19518, + "end": 19519, "loc": { "start": { - "line": 316, + "line": 420, "column": 19 }, "end": { - "line": 316, + "line": 420, "column": 20 } } @@ -89282,15 +113455,15 @@ "binop": null }, "value": "mesh", - "start": 16088, - "end": 16092, + "start": 19519, + "end": 19523, "loc": { "start": { - "line": 316, + "line": 420, "column": 20 }, "end": { - "line": 316, + "line": 420, "column": 24 } } @@ -89308,15 +113481,15 @@ "binop": null, "updateContext": null }, - "start": 16092, - "end": 16093, + "start": 19523, + "end": 19524, "loc": { "start": { - "line": 316, + "line": 420, "column": 24 }, "end": { - "line": 316, + "line": 420, "column": 25 } } @@ -89334,15 +113507,15 @@ "binop": null }, "value": "geometry", - "start": 16093, - "end": 16101, + "start": 19524, + "end": 19532, "loc": { "start": { - "line": 316, + "line": 420, "column": 25 }, "end": { - "line": 316, + "line": 420, "column": 33 } } @@ -89360,15 +113533,15 @@ "binop": null, "updateContext": null }, - "start": 16101, - "end": 16102, + "start": 19532, + "end": 19533, "loc": { "start": { - "line": 316, + "line": 420, "column": 33 }, "end": { - "line": 316, + "line": 420, "column": 34 } } @@ -89386,15 +113559,15 @@ "binop": null }, "value": "numInstances", - "start": 16102, - "end": 16114, + "start": 19533, + "end": 19545, "loc": { "start": { - "line": 316, + "line": 420, "column": 34 }, "end": { - "line": 316, + "line": 420, "column": 46 } } @@ -89413,15 +113586,15 @@ "updateContext": null }, "value": ">", - "start": 16115, - "end": 16116, + "start": 19546, + "end": 19547, "loc": { "start": { - "line": 316, + "line": 420, "column": 47 }, "end": { - "line": 316, + "line": 420, "column": 48 } } @@ -89440,15 +113613,15 @@ "updateContext": null }, "value": 1, - "start": 16117, - "end": 16118, + "start": 19548, + "end": 19549, "loc": { "start": { - "line": 316, + "line": 420, "column": 49 }, "end": { - "line": 316, + "line": 420, "column": 50 } } @@ -89465,15 +113638,15 @@ "postfix": false, "binop": null }, - "start": 16118, - "end": 16119, + "start": 19549, + "end": 19550, "loc": { "start": { - "line": 316, + "line": 420, "column": 50 }, "end": { - "line": 316, + "line": 420, "column": 51 } } @@ -89490,15 +113663,15 @@ "postfix": false, "binop": null }, - "start": 16120, - "end": 16121, + "start": 19551, + "end": 19552, "loc": { "start": { - "line": 316, + "line": 420, "column": 52 }, "end": { - "line": 316, + "line": 420, "column": 53 } } @@ -89516,15 +113689,15 @@ "binop": null }, "value": "data", - "start": 16142, - "end": 16146, + "start": 19573, + "end": 19577, "loc": { "start": { - "line": 317, + "line": 421, "column": 20 }, "end": { - "line": 317, + "line": 421, "column": 24 } } @@ -89542,15 +113715,15 @@ "binop": null, "updateContext": null }, - "start": 16146, - "end": 16147, + "start": 19577, + "end": 19578, "loc": { "start": { - "line": 317, + "line": 421, "column": 24 }, "end": { - "line": 317, + "line": 421, "column": 25 } } @@ -89568,15 +113741,15 @@ "binop": null }, "value": "matrices", - "start": 16147, - "end": 16155, + "start": 19578, + "end": 19586, "loc": { "start": { - "line": 317, + "line": 421, "column": 25 }, "end": { - "line": 317, + "line": 421, "column": 33 } } @@ -89594,15 +113767,15 @@ "binop": null, "updateContext": null }, - "start": 16155, - "end": 16156, + "start": 19586, + "end": 19587, "loc": { "start": { - "line": 317, + "line": 421, "column": 33 }, "end": { - "line": 317, + "line": 421, "column": 34 } } @@ -89620,15 +113793,15 @@ "binop": null }, "value": "set", - "start": 16156, - "end": 16159, + "start": 19587, + "end": 19590, "loc": { "start": { - "line": 317, + "line": 421, "column": 34 }, "end": { - "line": 317, + "line": 421, "column": 37 } } @@ -89645,15 +113818,15 @@ "postfix": false, "binop": null }, - "start": 16159, - "end": 16160, + "start": 19590, + "end": 19591, "loc": { "start": { - "line": 317, + "line": 421, "column": 37 }, "end": { - "line": 317, + "line": 421, "column": 38 } } @@ -89671,15 +113844,15 @@ "binop": null }, "value": "mesh", - "start": 16160, - "end": 16164, + "start": 19591, + "end": 19595, "loc": { "start": { - "line": 317, + "line": 421, "column": 38 }, "end": { - "line": 317, + "line": 421, "column": 42 } } @@ -89697,15 +113870,15 @@ "binop": null, "updateContext": null }, - "start": 16164, - "end": 16165, + "start": 19595, + "end": 19596, "loc": { "start": { - "line": 317, + "line": 421, "column": 42 }, "end": { - "line": 317, + "line": 421, "column": 43 } } @@ -89723,15 +113896,15 @@ "binop": null }, "value": "matrix", - "start": 16165, - "end": 16171, + "start": 19596, + "end": 19602, "loc": { "start": { - "line": 317, + "line": 421, "column": 43 }, "end": { - "line": 317, + "line": 421, "column": 49 } } @@ -89749,15 +113922,15 @@ "binop": null, "updateContext": null }, - "start": 16171, - "end": 16172, + "start": 19602, + "end": 19603, "loc": { "start": { - "line": 317, + "line": 421, "column": 49 }, "end": { - "line": 317, + "line": 421, "column": 50 } } @@ -89775,15 +113948,15 @@ "binop": null }, "value": "matricesIndex", - "start": 16173, - "end": 16186, + "start": 19604, + "end": 19617, "loc": { "start": { - "line": 317, + "line": 421, "column": 51 }, "end": { - "line": 317, + "line": 421, "column": 64 } } @@ -89800,15 +113973,15 @@ "postfix": false, "binop": null }, - "start": 16186, - "end": 16187, + "start": 19617, + "end": 19618, "loc": { "start": { - "line": 317, + "line": 421, "column": 64 }, "end": { - "line": 317, + "line": 421, "column": 65 } } @@ -89826,15 +113999,15 @@ "binop": null, "updateContext": null }, - "start": 16187, - "end": 16188, + "start": 19618, + "end": 19619, "loc": { "start": { - "line": 317, + "line": 421, "column": 65 }, "end": { - "line": 317, + "line": 421, "column": 66 } } @@ -89852,15 +114025,15 @@ "binop": null }, "value": "data", - "start": 16209, - "end": 16213, + "start": 19640, + "end": 19644, "loc": { "start": { - "line": 318, + "line": 422, "column": 20 }, "end": { - "line": 318, + "line": 422, "column": 24 } } @@ -89878,15 +114051,15 @@ "binop": null, "updateContext": null }, - "start": 16213, - "end": 16214, + "start": 19644, + "end": 19645, "loc": { "start": { - "line": 318, + "line": 422, "column": 24 }, "end": { - "line": 318, + "line": 422, "column": 25 } } @@ -89904,15 +114077,15 @@ "binop": null }, "value": "eachMeshMatricesPortion", - "start": 16214, - "end": 16237, + "start": 19645, + "end": 19668, "loc": { "start": { - "line": 318, + "line": 422, "column": 25 }, "end": { - "line": 318, + "line": 422, "column": 48 } } @@ -89930,15 +114103,15 @@ "binop": null, "updateContext": null }, - "start": 16238, - "end": 16239, + "start": 19669, + "end": 19670, "loc": { "start": { - "line": 318, + "line": 422, "column": 49 }, "end": { - "line": 318, + "line": 422, "column": 50 } } @@ -89956,15 +114129,15 @@ "binop": null }, "value": "meshIndex", - "start": 16239, - "end": 16248, + "start": 19670, + "end": 19679, "loc": { "start": { - "line": 318, + "line": 422, "column": 50 }, "end": { - "line": 318, + "line": 422, "column": 59 } } @@ -89982,15 +114155,15 @@ "binop": null, "updateContext": null }, - "start": 16248, - "end": 16249, + "start": 19679, + "end": 19680, "loc": { "start": { - "line": 318, + "line": 422, "column": 59 }, "end": { - "line": 318, + "line": 422, "column": 60 } } @@ -90009,15 +114182,15 @@ "updateContext": null }, "value": "=", - "start": 16250, - "end": 16251, + "start": 19681, + "end": 19682, "loc": { "start": { - "line": 318, + "line": 422, "column": 61 }, "end": { - "line": 318, + "line": 422, "column": 62 } } @@ -90035,15 +114208,15 @@ "binop": null }, "value": "matricesIndex", - "start": 16252, - "end": 16265, + "start": 19683, + "end": 19696, "loc": { "start": { - "line": 318, + "line": 422, "column": 63 }, "end": { - "line": 318, + "line": 422, "column": 76 } } @@ -90061,15 +114234,15 @@ "binop": null, "updateContext": null }, - "start": 16265, - "end": 16266, + "start": 19696, + "end": 19697, "loc": { "start": { - "line": 318, + "line": 422, "column": 76 }, "end": { - "line": 318, + "line": 422, "column": 77 } } @@ -90087,15 +114260,15 @@ "binop": null }, "value": "matricesIndex", - "start": 16287, - "end": 16300, + "start": 19718, + "end": 19731, "loc": { "start": { - "line": 319, + "line": 423, "column": 20 }, "end": { - "line": 319, + "line": 423, "column": 33 } } @@ -90114,15 +114287,15 @@ "updateContext": null }, "value": "+=", - "start": 16301, - "end": 16303, + "start": 19732, + "end": 19734, "loc": { "start": { - "line": 319, + "line": 423, "column": 34 }, "end": { - "line": 319, + "line": 423, "column": 36 } } @@ -90141,15 +114314,15 @@ "updateContext": null }, "value": 16, - "start": 16304, - "end": 16306, + "start": 19735, + "end": 19737, "loc": { "start": { - "line": 319, + "line": 423, "column": 37 }, "end": { - "line": 319, + "line": 423, "column": 39 } } @@ -90167,15 +114340,15 @@ "binop": null, "updateContext": null }, - "start": 16306, - "end": 16307, + "start": 19737, + "end": 19738, "loc": { "start": { - "line": 319, + "line": 423, "column": 39 }, "end": { - "line": 319, + "line": 423, "column": 40 } } @@ -90192,15 +114365,15 @@ "postfix": false, "binop": null }, - "start": 16324, - "end": 16325, + "start": 19755, + "end": 19756, "loc": { "start": { - "line": 320, + "line": 424, "column": 16 }, "end": { - "line": 320, + "line": 424, "column": 17 } } @@ -90218,15 +114391,15 @@ "binop": null }, "value": "data", - "start": 16343, - "end": 16347, + "start": 19774, + "end": 19778, "loc": { "start": { - "line": 322, + "line": 426, "column": 16 }, "end": { - "line": 322, + "line": 426, "column": 20 } } @@ -90244,15 +114417,15 @@ "binop": null, "updateContext": null }, - "start": 16347, - "end": 16348, + "start": 19778, + "end": 19779, "loc": { "start": { - "line": 322, + "line": 426, "column": 20 }, "end": { - "line": 322, + "line": 426, "column": 21 } } @@ -90270,15 +114443,15 @@ "binop": null }, "value": "eachMeshTextureSet", - "start": 16348, - "end": 16366, + "start": 19779, + "end": 19797, "loc": { "start": { - "line": 322, + "line": 426, "column": 21 }, "end": { - "line": 322, + "line": 426, "column": 39 } } @@ -90296,15 +114469,15 @@ "binop": null, "updateContext": null }, - "start": 16366, - "end": 16367, + "start": 19797, + "end": 19798, "loc": { "start": { - "line": 322, + "line": 426, "column": 39 }, "end": { - "line": 322, + "line": 426, "column": 40 } } @@ -90322,15 +114495,15 @@ "binop": null }, "value": "meshIndex", - "start": 16367, - "end": 16376, + "start": 19798, + "end": 19807, "loc": { "start": { - "line": 322, + "line": 426, "column": 40 }, "end": { - "line": 322, + "line": 426, "column": 49 } } @@ -90348,15 +114521,15 @@ "binop": null, "updateContext": null }, - "start": 16376, - "end": 16377, + "start": 19807, + "end": 19808, "loc": { "start": { - "line": 322, + "line": 426, "column": 49 }, "end": { - "line": 322, + "line": 426, "column": 50 } } @@ -90375,15 +114548,15 @@ "updateContext": null }, "value": "=", - "start": 16378, - "end": 16379, + "start": 19809, + "end": 19810, "loc": { "start": { - "line": 322, + "line": 426, "column": 51 }, "end": { - "line": 322, + "line": 426, "column": 52 } } @@ -90401,15 +114574,15 @@ "binop": null }, "value": "mesh", - "start": 16380, - "end": 16384, + "start": 19811, + "end": 19815, "loc": { "start": { - "line": 322, + "line": 426, "column": 53 }, "end": { - "line": 322, + "line": 426, "column": 57 } } @@ -90427,15 +114600,15 @@ "binop": null, "updateContext": null }, - "start": 16384, - "end": 16385, + "start": 19815, + "end": 19816, "loc": { "start": { - "line": 322, + "line": 426, "column": 57 }, "end": { - "line": 322, + "line": 426, "column": 58 } } @@ -90453,15 +114626,15 @@ "binop": null }, "value": "textureSet", - "start": 16385, - "end": 16395, + "start": 19816, + "end": 19826, "loc": { "start": { - "line": 322, + "line": 426, "column": 58 }, "end": { - "line": 322, + "line": 426, "column": 68 } } @@ -90479,15 +114652,15 @@ "binop": null, "updateContext": null }, - "start": 16396, - "end": 16397, + "start": 19827, + "end": 19828, "loc": { "start": { - "line": 322, + "line": 426, "column": 69 }, "end": { - "line": 322, + "line": 426, "column": 70 } } @@ -90505,15 +114678,15 @@ "binop": null }, "value": "mesh", - "start": 16398, - "end": 16402, + "start": 19829, + "end": 19833, "loc": { "start": { - "line": 322, + "line": 426, "column": 71 }, "end": { - "line": 322, + "line": 426, "column": 75 } } @@ -90531,15 +114704,15 @@ "binop": null, "updateContext": null }, - "start": 16402, - "end": 16403, + "start": 19833, + "end": 19834, "loc": { "start": { - "line": 322, + "line": 426, "column": 75 }, "end": { - "line": 322, + "line": 426, "column": 76 } } @@ -90557,15 +114730,15 @@ "binop": null }, "value": "textureSet", - "start": 16403, - "end": 16413, + "start": 19834, + "end": 19844, "loc": { "start": { - "line": 322, + "line": 426, "column": 76 }, "end": { - "line": 322, + "line": 426, "column": 86 } } @@ -90583,15 +114756,15 @@ "binop": null, "updateContext": null }, - "start": 16413, - "end": 16414, + "start": 19844, + "end": 19845, "loc": { "start": { - "line": 322, + "line": 426, "column": 86 }, "end": { - "line": 322, + "line": 426, "column": 87 } } @@ -90609,15 +114782,15 @@ "binop": null }, "value": "textureSetIndex", - "start": 16414, - "end": 16429, + "start": 19845, + "end": 19860, "loc": { "start": { - "line": 322, + "line": 426, "column": 87 }, "end": { - "line": 322, + "line": 426, "column": 102 } } @@ -90635,15 +114808,15 @@ "binop": null, "updateContext": null }, - "start": 16430, - "end": 16431, + "start": 19861, + "end": 19862, "loc": { "start": { - "line": 322, + "line": 426, "column": 103 }, "end": { - "line": 322, + "line": 426, "column": 104 } } @@ -90662,15 +114835,15 @@ "updateContext": null }, "value": "-", - "start": 16432, - "end": 16433, + "start": 19863, + "end": 19864, "loc": { "start": { - "line": 322, + "line": 426, "column": 105 }, "end": { - "line": 322, + "line": 426, "column": 106 } } @@ -90689,15 +114862,15 @@ "updateContext": null }, "value": 1, - "start": 16433, - "end": 16434, + "start": 19864, + "end": 19865, "loc": { "start": { - "line": 322, + "line": 426, "column": 106 }, "end": { - "line": 322, + "line": 426, "column": 107 } } @@ -90715,15 +114888,15 @@ "binop": null, "updateContext": null }, - "start": 16434, - "end": 16435, + "start": 19865, + "end": 19866, "loc": { "start": { - "line": 322, + "line": 426, "column": 107 }, "end": { - "line": 322, + "line": 426, "column": 108 } } @@ -90741,15 +114914,15 @@ "binop": null }, "value": "data", - "start": 16453, - "end": 16457, + "start": 19884, + "end": 19888, "loc": { "start": { - "line": 324, + "line": 428, "column": 16 }, "end": { - "line": 324, + "line": 428, "column": 20 } } @@ -90767,15 +114940,15 @@ "binop": null, "updateContext": null }, - "start": 16457, - "end": 16458, + "start": 19888, + "end": 19889, "loc": { "start": { - "line": 324, + "line": 428, "column": 20 }, "end": { - "line": 324, + "line": 428, "column": 21 } } @@ -90793,15 +114966,15 @@ "binop": null }, "value": "eachMeshMaterialAttributes", - "start": 16458, - "end": 16484, + "start": 19889, + "end": 19915, "loc": { "start": { - "line": 324, + "line": 428, "column": 21 }, "end": { - "line": 324, + "line": 428, "column": 47 } } @@ -90819,15 +114992,15 @@ "binop": null, "updateContext": null }, - "start": 16484, - "end": 16485, + "start": 19915, + "end": 19916, "loc": { "start": { - "line": 324, + "line": 428, "column": 47 }, "end": { - "line": 324, + "line": 428, "column": 48 } } @@ -90845,15 +115018,15 @@ "binop": null }, "value": "eachMeshMaterialAttributesIndex", - "start": 16485, - "end": 16516, + "start": 19916, + "end": 19947, "loc": { "start": { - "line": 324, + "line": 428, "column": 48 }, "end": { - "line": 324, + "line": 428, "column": 79 } } @@ -90871,15 +115044,15 @@ "binop": null }, "value": "++", - "start": 16516, - "end": 16518, + "start": 19947, + "end": 19949, "loc": { "start": { - "line": 324, + "line": 428, "column": 79 }, "end": { - "line": 324, + "line": 428, "column": 81 } } @@ -90897,15 +115070,15 @@ "binop": null, "updateContext": null }, - "start": 16518, - "end": 16519, + "start": 19949, + "end": 19950, "loc": { "start": { - "line": 324, + "line": 428, "column": 81 }, "end": { - "line": 324, + "line": 428, "column": 82 } } @@ -90924,15 +115097,15 @@ "updateContext": null }, "value": "=", - "start": 16520, - "end": 16521, + "start": 19951, + "end": 19952, "loc": { "start": { - "line": 324, + "line": 428, "column": 83 }, "end": { - "line": 324, + "line": 428, "column": 84 } } @@ -90949,15 +115122,15 @@ "postfix": false, "binop": null }, - "start": 16522, - "end": 16523, + "start": 19953, + "end": 19954, "loc": { "start": { - "line": 324, + "line": 428, "column": 85 }, "end": { - "line": 324, + "line": 428, "column": 86 } } @@ -90975,15 +115148,15 @@ "binop": null }, "value": "mesh", - "start": 16523, - "end": 16527, + "start": 19954, + "end": 19958, "loc": { "start": { - "line": 324, + "line": 428, "column": 86 }, "end": { - "line": 324, + "line": 428, "column": 90 } } @@ -91001,15 +115174,15 @@ "binop": null, "updateContext": null }, - "start": 16527, - "end": 16528, + "start": 19958, + "end": 19959, "loc": { "start": { - "line": 324, + "line": 428, "column": 90 }, "end": { - "line": 324, + "line": 428, "column": 91 } } @@ -91027,15 +115200,15 @@ "binop": null }, "value": "color", - "start": 16528, - "end": 16533, + "start": 19959, + "end": 19964, "loc": { "start": { - "line": 324, + "line": 428, "column": 91 }, "end": { - "line": 324, + "line": 428, "column": 96 } } @@ -91053,15 +115226,15 @@ "binop": null, "updateContext": null }, - "start": 16533, - "end": 16534, + "start": 19964, + "end": 19965, "loc": { "start": { - "line": 324, + "line": 428, "column": 96 }, "end": { - "line": 324, + "line": 428, "column": 97 } } @@ -91080,15 +115253,15 @@ "updateContext": null }, "value": 0, - "start": 16534, - "end": 16535, + "start": 19965, + "end": 19966, "loc": { "start": { - "line": 324, + "line": 428, "column": 97 }, "end": { - "line": 324, + "line": 428, "column": 98 } } @@ -91106,15 +115279,15 @@ "binop": null, "updateContext": null }, - "start": 16535, - "end": 16536, + "start": 19966, + "end": 19967, "loc": { "start": { - "line": 324, + "line": 428, "column": 98 }, "end": { - "line": 324, + "line": 428, "column": 99 } } @@ -91133,15 +115306,15 @@ "updateContext": null }, "value": "*", - "start": 16537, - "end": 16538, + "start": 19968, + "end": 19969, "loc": { "start": { - "line": 324, + "line": 428, "column": 100 }, "end": { - "line": 324, + "line": 428, "column": 101 } } @@ -91160,15 +115333,15 @@ "updateContext": null }, "value": 255, - "start": 16539, - "end": 16542, + "start": 19970, + "end": 19973, "loc": { "start": { - "line": 324, + "line": 428, "column": 102 }, "end": { - "line": 324, + "line": 428, "column": 105 } } @@ -91185,15 +115358,15 @@ "postfix": false, "binop": null }, - "start": 16542, - "end": 16543, + "start": 19973, + "end": 19974, "loc": { "start": { - "line": 324, + "line": 428, "column": 105 }, "end": { - "line": 324, + "line": 428, "column": 106 } } @@ -91211,15 +115384,15 @@ "binop": null, "updateContext": null }, - "start": 16543, - "end": 16544, + "start": 19974, + "end": 19975, "loc": { "start": { - "line": 324, + "line": 428, "column": 106 }, "end": { - "line": 324, + "line": 428, "column": 107 } } @@ -91227,15 +115400,15 @@ { "type": "CommentLine", "value": " Color RGB", - "start": 16545, - "end": 16557, + "start": 19976, + "end": 19988, "loc": { "start": { - "line": 324, + "line": 428, "column": 108 }, "end": { - "line": 324, + "line": 428, "column": 120 } } @@ -91253,15 +115426,15 @@ "binop": null }, "value": "data", - "start": 16574, - "end": 16578, + "start": 20005, + "end": 20009, "loc": { "start": { - "line": 325, + "line": 429, "column": 16 }, "end": { - "line": 325, + "line": 429, "column": 20 } } @@ -91279,15 +115452,15 @@ "binop": null, "updateContext": null }, - "start": 16578, - "end": 16579, + "start": 20009, + "end": 20010, "loc": { "start": { - "line": 325, + "line": 429, "column": 20 }, "end": { - "line": 325, + "line": 429, "column": 21 } } @@ -91305,15 +115478,15 @@ "binop": null }, "value": "eachMeshMaterialAttributes", - "start": 16579, - "end": 16605, + "start": 20010, + "end": 20036, "loc": { "start": { - "line": 325, + "line": 429, "column": 21 }, "end": { - "line": 325, + "line": 429, "column": 47 } } @@ -91331,15 +115504,15 @@ "binop": null, "updateContext": null }, - "start": 16605, - "end": 16606, + "start": 20036, + "end": 20037, "loc": { "start": { - "line": 325, + "line": 429, "column": 47 }, "end": { - "line": 325, + "line": 429, "column": 48 } } @@ -91357,15 +115530,15 @@ "binop": null }, "value": "eachMeshMaterialAttributesIndex", - "start": 16606, - "end": 16637, + "start": 20037, + "end": 20068, "loc": { "start": { - "line": 325, + "line": 429, "column": 48 }, "end": { - "line": 325, + "line": 429, "column": 79 } } @@ -91383,15 +115556,15 @@ "binop": null }, "value": "++", - "start": 16637, - "end": 16639, + "start": 20068, + "end": 20070, "loc": { "start": { - "line": 325, + "line": 429, "column": 79 }, "end": { - "line": 325, + "line": 429, "column": 81 } } @@ -91409,15 +115582,15 @@ "binop": null, "updateContext": null }, - "start": 16639, - "end": 16640, + "start": 20070, + "end": 20071, "loc": { "start": { - "line": 325, + "line": 429, "column": 81 }, "end": { - "line": 325, + "line": 429, "column": 82 } } @@ -91436,15 +115609,15 @@ "updateContext": null }, "value": "=", - "start": 16641, - "end": 16642, + "start": 20072, + "end": 20073, "loc": { "start": { - "line": 325, + "line": 429, "column": 83 }, "end": { - "line": 325, + "line": 429, "column": 84 } } @@ -91461,15 +115634,15 @@ "postfix": false, "binop": null }, - "start": 16643, - "end": 16644, + "start": 20074, + "end": 20075, "loc": { "start": { - "line": 325, + "line": 429, "column": 85 }, "end": { - "line": 325, + "line": 429, "column": 86 } } @@ -91487,15 +115660,15 @@ "binop": null }, "value": "mesh", - "start": 16644, - "end": 16648, + "start": 20075, + "end": 20079, "loc": { "start": { - "line": 325, + "line": 429, "column": 86 }, "end": { - "line": 325, + "line": 429, "column": 90 } } @@ -91513,15 +115686,15 @@ "binop": null, "updateContext": null }, - "start": 16648, - "end": 16649, + "start": 20079, + "end": 20080, "loc": { "start": { - "line": 325, + "line": 429, "column": 90 }, "end": { - "line": 325, + "line": 429, "column": 91 } } @@ -91539,15 +115712,15 @@ "binop": null }, "value": "color", - "start": 16649, - "end": 16654, + "start": 20080, + "end": 20085, "loc": { "start": { - "line": 325, + "line": 429, "column": 91 }, "end": { - "line": 325, + "line": 429, "column": 96 } } @@ -91565,15 +115738,15 @@ "binop": null, "updateContext": null }, - "start": 16654, - "end": 16655, + "start": 20085, + "end": 20086, "loc": { "start": { - "line": 325, + "line": 429, "column": 96 }, "end": { - "line": 325, + "line": 429, "column": 97 } } @@ -91592,15 +115765,15 @@ "updateContext": null }, "value": 1, - "start": 16655, - "end": 16656, + "start": 20086, + "end": 20087, "loc": { "start": { - "line": 325, + "line": 429, "column": 97 }, "end": { - "line": 325, + "line": 429, "column": 98 } } @@ -91618,15 +115791,15 @@ "binop": null, "updateContext": null }, - "start": 16656, - "end": 16657, + "start": 20087, + "end": 20088, "loc": { "start": { - "line": 325, + "line": 429, "column": 98 }, "end": { - "line": 325, + "line": 429, "column": 99 } } @@ -91645,15 +115818,15 @@ "updateContext": null }, "value": "*", - "start": 16658, - "end": 16659, + "start": 20089, + "end": 20090, "loc": { "start": { - "line": 325, + "line": 429, "column": 100 }, "end": { - "line": 325, + "line": 429, "column": 101 } } @@ -91672,15 +115845,15 @@ "updateContext": null }, "value": 255, - "start": 16660, - "end": 16663, + "start": 20091, + "end": 20094, "loc": { "start": { - "line": 325, + "line": 429, "column": 102 }, "end": { - "line": 325, + "line": 429, "column": 105 } } @@ -91697,15 +115870,15 @@ "postfix": false, "binop": null }, - "start": 16663, - "end": 16664, + "start": 20094, + "end": 20095, "loc": { "start": { - "line": 325, + "line": 429, "column": 105 }, "end": { - "line": 325, + "line": 429, "column": 106 } } @@ -91723,15 +115896,15 @@ "binop": null, "updateContext": null }, - "start": 16664, - "end": 16665, + "start": 20095, + "end": 20096, "loc": { "start": { - "line": 325, + "line": 429, "column": 106 }, "end": { - "line": 325, + "line": 429, "column": 107 } } @@ -91749,15 +115922,15 @@ "binop": null }, "value": "data", - "start": 16682, - "end": 16686, + "start": 20113, + "end": 20117, "loc": { "start": { - "line": 326, + "line": 430, "column": 16 }, "end": { - "line": 326, + "line": 430, "column": 20 } } @@ -91775,15 +115948,15 @@ "binop": null, "updateContext": null }, - "start": 16686, - "end": 16687, + "start": 20117, + "end": 20118, "loc": { "start": { - "line": 326, + "line": 430, "column": 20 }, "end": { - "line": 326, + "line": 430, "column": 21 } } @@ -91801,15 +115974,15 @@ "binop": null }, "value": "eachMeshMaterialAttributes", - "start": 16687, - "end": 16713, + "start": 20118, + "end": 20144, "loc": { "start": { - "line": 326, + "line": 430, "column": 21 }, "end": { - "line": 326, + "line": 430, "column": 47 } } @@ -91827,15 +116000,15 @@ "binop": null, "updateContext": null }, - "start": 16713, - "end": 16714, + "start": 20144, + "end": 20145, "loc": { "start": { - "line": 326, + "line": 430, "column": 47 }, "end": { - "line": 326, + "line": 430, "column": 48 } } @@ -91853,15 +116026,15 @@ "binop": null }, "value": "eachMeshMaterialAttributesIndex", - "start": 16714, - "end": 16745, + "start": 20145, + "end": 20176, "loc": { "start": { - "line": 326, + "line": 430, "column": 48 }, "end": { - "line": 326, + "line": 430, "column": 79 } } @@ -91879,15 +116052,15 @@ "binop": null }, "value": "++", - "start": 16745, - "end": 16747, + "start": 20176, + "end": 20178, "loc": { "start": { - "line": 326, + "line": 430, "column": 79 }, "end": { - "line": 326, + "line": 430, "column": 81 } } @@ -91905,15 +116078,15 @@ "binop": null, "updateContext": null }, - "start": 16747, - "end": 16748, + "start": 20178, + "end": 20179, "loc": { "start": { - "line": 326, + "line": 430, "column": 81 }, "end": { - "line": 326, + "line": 430, "column": 82 } } @@ -91932,15 +116105,15 @@ "updateContext": null }, "value": "=", - "start": 16749, - "end": 16750, + "start": 20180, + "end": 20181, "loc": { "start": { - "line": 326, + "line": 430, "column": 83 }, "end": { - "line": 326, + "line": 430, "column": 84 } } @@ -91957,15 +116130,15 @@ "postfix": false, "binop": null }, - "start": 16751, - "end": 16752, + "start": 20182, + "end": 20183, "loc": { "start": { - "line": 326, + "line": 430, "column": 85 }, "end": { - "line": 326, + "line": 430, "column": 86 } } @@ -91983,15 +116156,15 @@ "binop": null }, "value": "mesh", - "start": 16752, - "end": 16756, + "start": 20183, + "end": 20187, "loc": { "start": { - "line": 326, + "line": 430, "column": 86 }, "end": { - "line": 326, + "line": 430, "column": 90 } } @@ -92009,15 +116182,15 @@ "binop": null, "updateContext": null }, - "start": 16756, - "end": 16757, + "start": 20187, + "end": 20188, "loc": { "start": { - "line": 326, + "line": 430, "column": 90 }, "end": { - "line": 326, + "line": 430, "column": 91 } } @@ -92035,15 +116208,15 @@ "binop": null }, "value": "color", - "start": 16757, - "end": 16762, + "start": 20188, + "end": 20193, "loc": { "start": { - "line": 326, + "line": 430, "column": 91 }, "end": { - "line": 326, + "line": 430, "column": 96 } } @@ -92061,15 +116234,15 @@ "binop": null, "updateContext": null }, - "start": 16762, - "end": 16763, + "start": 20193, + "end": 20194, "loc": { "start": { - "line": 326, + "line": 430, "column": 96 }, "end": { - "line": 326, + "line": 430, "column": 97 } } @@ -92088,15 +116261,15 @@ "updateContext": null }, "value": 2, - "start": 16763, - "end": 16764, + "start": 20194, + "end": 20195, "loc": { "start": { - "line": 326, + "line": 430, "column": 97 }, "end": { - "line": 326, + "line": 430, "column": 98 } } @@ -92114,15 +116287,15 @@ "binop": null, "updateContext": null }, - "start": 16764, - "end": 16765, + "start": 20195, + "end": 20196, "loc": { "start": { - "line": 326, + "line": 430, "column": 98 }, "end": { - "line": 326, + "line": 430, "column": 99 } } @@ -92141,15 +116314,15 @@ "updateContext": null }, "value": "*", - "start": 16766, - "end": 16767, + "start": 20197, + "end": 20198, "loc": { "start": { - "line": 326, + "line": 430, "column": 100 }, "end": { - "line": 326, + "line": 430, "column": 101 } } @@ -92168,15 +116341,15 @@ "updateContext": null }, "value": 255, - "start": 16768, - "end": 16771, + "start": 20199, + "end": 20202, "loc": { "start": { - "line": 326, + "line": 430, "column": 102 }, "end": { - "line": 326, + "line": 430, "column": 105 } } @@ -92193,15 +116366,15 @@ "postfix": false, "binop": null }, - "start": 16771, - "end": 16772, + "start": 20202, + "end": 20203, "loc": { "start": { - "line": 326, + "line": 430, "column": 105 }, "end": { - "line": 326, + "line": 430, "column": 106 } } @@ -92219,15 +116392,15 @@ "binop": null, "updateContext": null }, - "start": 16772, - "end": 16773, + "start": 20203, + "end": 20204, "loc": { "start": { - "line": 326, + "line": 430, "column": 106 }, "end": { - "line": 326, + "line": 430, "column": 107 } } @@ -92245,15 +116418,15 @@ "binop": null }, "value": "data", - "start": 16790, - "end": 16794, + "start": 20221, + "end": 20225, "loc": { "start": { - "line": 327, + "line": 431, "column": 16 }, "end": { - "line": 327, + "line": 431, "column": 20 } } @@ -92271,15 +116444,15 @@ "binop": null, "updateContext": null }, - "start": 16794, - "end": 16795, + "start": 20225, + "end": 20226, "loc": { "start": { - "line": 327, + "line": 431, "column": 20 }, "end": { - "line": 327, + "line": 431, "column": 21 } } @@ -92297,15 +116470,15 @@ "binop": null }, "value": "eachMeshMaterialAttributes", - "start": 16795, - "end": 16821, + "start": 20226, + "end": 20252, "loc": { "start": { - "line": 327, + "line": 431, "column": 21 }, "end": { - "line": 327, + "line": 431, "column": 47 } } @@ -92323,15 +116496,15 @@ "binop": null, "updateContext": null }, - "start": 16821, - "end": 16822, + "start": 20252, + "end": 20253, "loc": { "start": { - "line": 327, + "line": 431, "column": 47 }, "end": { - "line": 327, + "line": 431, "column": 48 } } @@ -92349,15 +116522,15 @@ "binop": null }, "value": "eachMeshMaterialAttributesIndex", - "start": 16822, - "end": 16853, + "start": 20253, + "end": 20284, "loc": { "start": { - "line": 327, + "line": 431, "column": 48 }, "end": { - "line": 327, + "line": 431, "column": 79 } } @@ -92375,15 +116548,15 @@ "binop": null }, "value": "++", - "start": 16853, - "end": 16855, + "start": 20284, + "end": 20286, "loc": { "start": { - "line": 327, + "line": 431, "column": 79 }, "end": { - "line": 327, + "line": 431, "column": 81 } } @@ -92401,15 +116574,15 @@ "binop": null, "updateContext": null }, - "start": 16855, - "end": 16856, + "start": 20286, + "end": 20287, "loc": { "start": { - "line": 327, + "line": 431, "column": 81 }, "end": { - "line": 327, + "line": 431, "column": 82 } } @@ -92428,15 +116601,15 @@ "updateContext": null }, "value": "=", - "start": 16857, - "end": 16858, + "start": 20288, + "end": 20289, "loc": { "start": { - "line": 327, + "line": 431, "column": 83 }, "end": { - "line": 327, + "line": 431, "column": 84 } } @@ -92453,15 +116626,15 @@ "postfix": false, "binop": null }, - "start": 16859, - "end": 16860, + "start": 20290, + "end": 20291, "loc": { "start": { - "line": 327, + "line": 431, "column": 85 }, "end": { - "line": 327, + "line": 431, "column": 86 } } @@ -92479,15 +116652,15 @@ "binop": null }, "value": "mesh", - "start": 16860, - "end": 16864, + "start": 20291, + "end": 20295, "loc": { "start": { - "line": 327, + "line": 431, "column": 86 }, "end": { - "line": 327, + "line": 431, "column": 90 } } @@ -92505,15 +116678,15 @@ "binop": null, "updateContext": null }, - "start": 16864, - "end": 16865, + "start": 20295, + "end": 20296, "loc": { "start": { - "line": 327, + "line": 431, "column": 90 }, "end": { - "line": 327, + "line": 431, "column": 91 } } @@ -92531,15 +116704,15 @@ "binop": null }, "value": "opacity", - "start": 16865, - "end": 16872, + "start": 20296, + "end": 20303, "loc": { "start": { - "line": 327, + "line": 431, "column": 91 }, "end": { - "line": 327, + "line": 431, "column": 98 } } @@ -92558,15 +116731,15 @@ "updateContext": null }, "value": "*", - "start": 16873, - "end": 16874, + "start": 20304, + "end": 20305, "loc": { "start": { - "line": 327, + "line": 431, "column": 99 }, "end": { - "line": 327, + "line": 431, "column": 100 } } @@ -92585,15 +116758,15 @@ "updateContext": null }, "value": 255, - "start": 16875, - "end": 16878, + "start": 20306, + "end": 20309, "loc": { "start": { - "line": 327, + "line": 431, "column": 101 }, "end": { - "line": 327, + "line": 431, "column": 104 } } @@ -92610,15 +116783,15 @@ "postfix": false, "binop": null }, - "start": 16878, - "end": 16879, + "start": 20309, + "end": 20310, "loc": { "start": { - "line": 327, + "line": 431, "column": 104 }, "end": { - "line": 327, + "line": 431, "column": 105 } } @@ -92636,15 +116809,15 @@ "binop": null, "updateContext": null }, - "start": 16879, - "end": 16880, + "start": 20310, + "end": 20311, "loc": { "start": { - "line": 327, + "line": 431, "column": 105 }, "end": { - "line": 327, + "line": 431, "column": 106 } } @@ -92652,15 +116825,15 @@ { "type": "CommentLine", "value": " Opacity", - "start": 16881, - "end": 16891, + "start": 20312, + "end": 20322, "loc": { "start": { - "line": 327, + "line": 431, "column": 107 }, "end": { - "line": 327, + "line": 431, "column": 117 } } @@ -92678,15 +116851,15 @@ "binop": null }, "value": "data", - "start": 16908, - "end": 16912, + "start": 20339, + "end": 20343, "loc": { "start": { - "line": 328, + "line": 432, "column": 16 }, "end": { - "line": 328, + "line": 432, "column": 20 } } @@ -92704,15 +116877,15 @@ "binop": null, "updateContext": null }, - "start": 16912, - "end": 16913, + "start": 20343, + "end": 20344, "loc": { "start": { - "line": 328, + "line": 432, "column": 20 }, "end": { - "line": 328, + "line": 432, "column": 21 } } @@ -92730,15 +116903,15 @@ "binop": null }, "value": "eachMeshMaterialAttributes", - "start": 16913, - "end": 16939, + "start": 20344, + "end": 20370, "loc": { "start": { - "line": 328, + "line": 432, "column": 21 }, "end": { - "line": 328, + "line": 432, "column": 47 } } @@ -92756,15 +116929,15 @@ "binop": null, "updateContext": null }, - "start": 16939, - "end": 16940, + "start": 20370, + "end": 20371, "loc": { "start": { - "line": 328, + "line": 432, "column": 47 }, "end": { - "line": 328, + "line": 432, "column": 48 } } @@ -92782,15 +116955,15 @@ "binop": null }, "value": "eachMeshMaterialAttributesIndex", - "start": 16940, - "end": 16971, + "start": 20371, + "end": 20402, "loc": { "start": { - "line": 328, + "line": 432, "column": 48 }, "end": { - "line": 328, + "line": 432, "column": 79 } } @@ -92808,15 +116981,15 @@ "binop": null }, "value": "++", - "start": 16971, - "end": 16973, + "start": 20402, + "end": 20404, "loc": { "start": { - "line": 328, + "line": 432, "column": 79 }, "end": { - "line": 328, + "line": 432, "column": 81 } } @@ -92834,15 +117007,15 @@ "binop": null, "updateContext": null }, - "start": 16973, - "end": 16974, + "start": 20404, + "end": 20405, "loc": { "start": { - "line": 328, + "line": 432, "column": 81 }, "end": { - "line": 328, + "line": 432, "column": 82 } } @@ -92861,15 +117034,15 @@ "updateContext": null }, "value": "=", - "start": 16975, - "end": 16976, + "start": 20406, + "end": 20407, "loc": { "start": { - "line": 328, + "line": 432, "column": 83 }, "end": { - "line": 328, + "line": 432, "column": 84 } } @@ -92886,15 +117059,15 @@ "postfix": false, "binop": null }, - "start": 16977, - "end": 16978, + "start": 20408, + "end": 20409, "loc": { "start": { - "line": 328, + "line": 432, "column": 85 }, "end": { - "line": 328, + "line": 432, "column": 86 } } @@ -92912,15 +117085,15 @@ "binop": null }, "value": "mesh", - "start": 16978, - "end": 16982, + "start": 20409, + "end": 20413, "loc": { "start": { - "line": 328, + "line": 432, "column": 86 }, "end": { - "line": 328, + "line": 432, "column": 90 } } @@ -92938,15 +117111,15 @@ "binop": null, "updateContext": null }, - "start": 16982, - "end": 16983, + "start": 20413, + "end": 20414, "loc": { "start": { - "line": 328, + "line": 432, "column": 90 }, "end": { - "line": 328, + "line": 432, "column": 91 } } @@ -92964,15 +117137,15 @@ "binop": null }, "value": "metallic", - "start": 16983, - "end": 16991, + "start": 20414, + "end": 20422, "loc": { "start": { - "line": 328, + "line": 432, "column": 91 }, "end": { - "line": 328, + "line": 432, "column": 99 } } @@ -92991,15 +117164,15 @@ "updateContext": null }, "value": "*", - "start": 16992, - "end": 16993, + "start": 20423, + "end": 20424, "loc": { "start": { - "line": 328, + "line": 432, "column": 100 }, "end": { - "line": 328, + "line": 432, "column": 101 } } @@ -93018,15 +117191,15 @@ "updateContext": null }, "value": 255, - "start": 16994, - "end": 16997, + "start": 20425, + "end": 20428, "loc": { "start": { - "line": 328, + "line": 432, "column": 102 }, "end": { - "line": 328, + "line": 432, "column": 105 } } @@ -93043,15 +117216,15 @@ "postfix": false, "binop": null }, - "start": 16997, - "end": 16998, + "start": 20428, + "end": 20429, "loc": { "start": { - "line": 328, + "line": 432, "column": 105 }, "end": { - "line": 328, + "line": 432, "column": 106 } } @@ -93069,15 +117242,15 @@ "binop": null, "updateContext": null }, - "start": 16998, - "end": 16999, + "start": 20429, + "end": 20430, "loc": { "start": { - "line": 328, + "line": 432, "column": 106 }, "end": { - "line": 328, + "line": 432, "column": 107 } } @@ -93085,15 +117258,15 @@ { "type": "CommentLine", "value": " Metallic", - "start": 17000, - "end": 17011, + "start": 20431, + "end": 20442, "loc": { "start": { - "line": 328, + "line": 432, "column": 108 }, "end": { - "line": 328, + "line": 432, "column": 119 } } @@ -93111,15 +117284,15 @@ "binop": null }, "value": "data", - "start": 17028, - "end": 17032, + "start": 20459, + "end": 20463, "loc": { "start": { - "line": 329, + "line": 433, "column": 16 }, "end": { - "line": 329, + "line": 433, "column": 20 } } @@ -93137,15 +117310,15 @@ "binop": null, "updateContext": null }, - "start": 17032, - "end": 17033, + "start": 20463, + "end": 20464, "loc": { "start": { - "line": 329, + "line": 433, "column": 20 }, "end": { - "line": 329, + "line": 433, "column": 21 } } @@ -93163,15 +117336,15 @@ "binop": null }, "value": "eachMeshMaterialAttributes", - "start": 17033, - "end": 17059, + "start": 20464, + "end": 20490, "loc": { "start": { - "line": 329, + "line": 433, "column": 21 }, "end": { - "line": 329, + "line": 433, "column": 47 } } @@ -93189,15 +117362,15 @@ "binop": null, "updateContext": null }, - "start": 17059, - "end": 17060, + "start": 20490, + "end": 20491, "loc": { "start": { - "line": 329, + "line": 433, "column": 47 }, "end": { - "line": 329, + "line": 433, "column": 48 } } @@ -93215,15 +117388,15 @@ "binop": null }, "value": "eachMeshMaterialAttributesIndex", - "start": 17060, - "end": 17091, + "start": 20491, + "end": 20522, "loc": { "start": { - "line": 329, + "line": 433, "column": 48 }, "end": { - "line": 329, + "line": 433, "column": 79 } } @@ -93241,15 +117414,15 @@ "binop": null }, "value": "++", - "start": 17091, - "end": 17093, + "start": 20522, + "end": 20524, "loc": { "start": { - "line": 329, + "line": 433, "column": 79 }, "end": { - "line": 329, + "line": 433, "column": 81 } } @@ -93267,15 +117440,15 @@ "binop": null, "updateContext": null }, - "start": 17093, - "end": 17094, + "start": 20524, + "end": 20525, "loc": { "start": { - "line": 329, + "line": 433, "column": 81 }, "end": { - "line": 329, + "line": 433, "column": 82 } } @@ -93294,15 +117467,15 @@ "updateContext": null }, "value": "=", - "start": 17095, - "end": 17096, + "start": 20526, + "end": 20527, "loc": { "start": { - "line": 329, + "line": 433, "column": 83 }, "end": { - "line": 329, + "line": 433, "column": 84 } } @@ -93319,15 +117492,15 @@ "postfix": false, "binop": null }, - "start": 17097, - "end": 17098, + "start": 20528, + "end": 20529, "loc": { "start": { - "line": 329, + "line": 433, "column": 85 }, "end": { - "line": 329, + "line": 433, "column": 86 } } @@ -93345,15 +117518,15 @@ "binop": null }, "value": "mesh", - "start": 17098, - "end": 17102, + "start": 20529, + "end": 20533, "loc": { "start": { - "line": 329, + "line": 433, "column": 86 }, "end": { - "line": 329, + "line": 433, "column": 90 } } @@ -93371,15 +117544,15 @@ "binop": null, "updateContext": null }, - "start": 17102, - "end": 17103, + "start": 20533, + "end": 20534, "loc": { "start": { - "line": 329, + "line": 433, "column": 90 }, "end": { - "line": 329, + "line": 433, "column": 91 } } @@ -93397,15 +117570,15 @@ "binop": null }, "value": "roughness", - "start": 17103, - "end": 17112, + "start": 20534, + "end": 20543, "loc": { "start": { - "line": 329, + "line": 433, "column": 91 }, "end": { - "line": 329, + "line": 433, "column": 100 } } @@ -93424,15 +117597,15 @@ "updateContext": null }, "value": "*", - "start": 17113, - "end": 17114, + "start": 20544, + "end": 20545, "loc": { "start": { - "line": 329, + "line": 433, "column": 101 }, "end": { - "line": 329, + "line": 433, "column": 102 } } @@ -93451,15 +117624,15 @@ "updateContext": null }, "value": 255, - "start": 17115, - "end": 17118, + "start": 20546, + "end": 20549, "loc": { "start": { - "line": 329, + "line": 433, "column": 103 }, "end": { - "line": 329, + "line": 433, "column": 106 } } @@ -93476,15 +117649,15 @@ "postfix": false, "binop": null }, - "start": 17118, - "end": 17119, + "start": 20549, + "end": 20550, "loc": { "start": { - "line": 329, + "line": 433, "column": 106 }, "end": { - "line": 329, + "line": 433, "column": 107 } } @@ -93502,15 +117675,15 @@ "binop": null, "updateContext": null }, - "start": 17119, - "end": 17120, + "start": 20550, + "end": 20551, "loc": { "start": { - "line": 329, + "line": 433, "column": 107 }, "end": { - "line": 329, + "line": 433, "column": 108 } } @@ -93518,15 +117691,15 @@ { "type": "CommentLine", "value": " Roughness", - "start": 17121, - "end": 17133, + "start": 20552, + "end": 20564, "loc": { "start": { - "line": 329, + "line": 433, "column": 109 }, "end": { - "line": 329, + "line": 433, "column": 121 } } @@ -93544,15 +117717,15 @@ "binop": null }, "value": "meshIndex", - "start": 17151, - "end": 17160, + "start": 20582, + "end": 20591, "loc": { "start": { - "line": 331, + "line": 435, "column": 16 }, "end": { - "line": 331, + "line": 435, "column": 25 } } @@ -93570,15 +117743,15 @@ "binop": null }, "value": "++", - "start": 17160, - "end": 17162, + "start": 20591, + "end": 20593, "loc": { "start": { - "line": 331, + "line": 435, "column": 25 }, "end": { - "line": 331, + "line": 435, "column": 27 } } @@ -93596,15 +117769,15 @@ "binop": null, "updateContext": null }, - "start": 17162, - "end": 17163, + "start": 20593, + "end": 20594, "loc": { "start": { - "line": 331, + "line": 435, "column": 27 }, "end": { - "line": 331, + "line": 435, "column": 28 } } @@ -93621,15 +117794,15 @@ "postfix": false, "binop": null }, - "start": 17176, - "end": 17177, + "start": 20607, + "end": 20608, "loc": { "start": { - "line": 332, + "line": 436, "column": 12 }, "end": { - "line": 332, + "line": 436, "column": 13 } } @@ -93647,15 +117820,15 @@ "binop": null }, "value": "data", - "start": 17191, - "end": 17195, + "start": 20622, + "end": 20626, "loc": { "start": { - "line": 334, + "line": 438, "column": 12 }, "end": { - "line": 334, + "line": 438, "column": 16 } } @@ -93673,15 +117846,15 @@ "binop": null, "updateContext": null }, - "start": 17195, - "end": 17196, + "start": 20626, + "end": 20627, "loc": { "start": { - "line": 334, + "line": 438, "column": 16 }, "end": { - "line": 334, + "line": 438, "column": 17 } } @@ -93699,15 +117872,15 @@ "binop": null }, "value": "eachEntityId", - "start": 17196, - "end": 17208, + "start": 20627, + "end": 20639, "loc": { "start": { - "line": 334, + "line": 438, "column": 17 }, "end": { - "line": 334, + "line": 438, "column": 29 } } @@ -93725,15 +117898,15 @@ "binop": null, "updateContext": null }, - "start": 17209, - "end": 17210, + "start": 20640, + "end": 20641, "loc": { "start": { - "line": 334, + "line": 438, "column": 30 }, "end": { - "line": 334, + "line": 438, "column": 31 } } @@ -93751,15 +117924,15 @@ "binop": null }, "value": "entityIndex", - "start": 17210, - "end": 17221, + "start": 20641, + "end": 20652, "loc": { "start": { - "line": 334, + "line": 438, "column": 31 }, "end": { - "line": 334, + "line": 438, "column": 42 } } @@ -93777,15 +117950,15 @@ "binop": null, "updateContext": null }, - "start": 17221, - "end": 17222, + "start": 20652, + "end": 20653, "loc": { "start": { - "line": 334, + "line": 438, "column": 42 }, "end": { - "line": 334, + "line": 438, "column": 43 } } @@ -93804,15 +117977,15 @@ "updateContext": null }, "value": "=", - "start": 17223, - "end": 17224, + "start": 20654, + "end": 20655, "loc": { "start": { - "line": 334, + "line": 438, "column": 44 }, "end": { - "line": 334, + "line": 438, "column": 45 } } @@ -93830,15 +118003,15 @@ "binop": null }, "value": "entity", - "start": 17225, - "end": 17231, + "start": 20656, + "end": 20662, "loc": { "start": { - "line": 334, + "line": 438, "column": 46 }, "end": { - "line": 334, + "line": 438, "column": 52 } } @@ -93856,15 +118029,15 @@ "binop": null, "updateContext": null }, - "start": 17231, - "end": 17232, + "start": 20662, + "end": 20663, "loc": { "start": { - "line": 334, + "line": 438, "column": 52 }, "end": { - "line": 334, + "line": 438, "column": 53 } } @@ -93882,15 +118055,15 @@ "binop": null }, "value": "entityId", - "start": 17232, - "end": 17240, + "start": 20663, + "end": 20671, "loc": { "start": { - "line": 334, + "line": 438, "column": 53 }, "end": { - "line": 334, + "line": 438, "column": 61 } } @@ -93908,15 +118081,15 @@ "binop": null, "updateContext": null }, - "start": 17240, - "end": 17241, + "start": 20671, + "end": 20672, "loc": { "start": { - "line": 334, + "line": 438, "column": 61 }, "end": { - "line": 334, + "line": 438, "column": 62 } } @@ -93934,15 +118107,15 @@ "binop": null }, "value": "data", - "start": 17254, - "end": 17258, + "start": 20685, + "end": 20689, "loc": { "start": { - "line": 335, + "line": 439, "column": 12 }, "end": { - "line": 335, + "line": 439, "column": 16 } } @@ -93960,15 +118133,15 @@ "binop": null, "updateContext": null }, - "start": 17258, - "end": 17259, + "start": 20689, + "end": 20690, "loc": { "start": { - "line": 335, + "line": 439, "column": 16 }, "end": { - "line": 335, + "line": 439, "column": 17 } } @@ -93986,15 +118159,15 @@ "binop": null }, "value": "eachEntityMeshesPortion", - "start": 17259, - "end": 17282, + "start": 20690, + "end": 20713, "loc": { "start": { - "line": 335, + "line": 439, "column": 17 }, "end": { - "line": 335, + "line": 439, "column": 40 } } @@ -94012,15 +118185,15 @@ "binop": null, "updateContext": null }, - "start": 17282, - "end": 17283, + "start": 20713, + "end": 20714, "loc": { "start": { - "line": 335, + "line": 439, "column": 40 }, "end": { - "line": 335, + "line": 439, "column": 41 } } @@ -94038,15 +118211,15 @@ "binop": null }, "value": "entityIndex", - "start": 17283, - "end": 17294, + "start": 20714, + "end": 20725, "loc": { "start": { - "line": 335, + "line": 439, "column": 41 }, "end": { - "line": 335, + "line": 439, "column": 52 } } @@ -94064,15 +118237,15 @@ "binop": null, "updateContext": null }, - "start": 17294, - "end": 17295, + "start": 20725, + "end": 20726, "loc": { "start": { - "line": 335, + "line": 439, "column": 52 }, "end": { - "line": 335, + "line": 439, "column": 53 } } @@ -94091,15 +118264,15 @@ "updateContext": null }, "value": "=", - "start": 17296, - "end": 17297, + "start": 20727, + "end": 20728, "loc": { "start": { - "line": 335, + "line": 439, "column": 54 }, "end": { - "line": 335, + "line": 439, "column": 55 } } @@ -94117,15 +118290,15 @@ "binop": null }, "value": "countEntityMeshesPortion", - "start": 17298, - "end": 17322, + "start": 20729, + "end": 20753, "loc": { "start": { - "line": 335, + "line": 439, "column": 56 }, "end": { - "line": 335, + "line": 439, "column": 80 } } @@ -94143,15 +118316,15 @@ "binop": null, "updateContext": null }, - "start": 17322, - "end": 17323, + "start": 20753, + "end": 20754, "loc": { "start": { - "line": 335, + "line": 439, "column": 80 }, "end": { - "line": 335, + "line": 439, "column": 81 } } @@ -94159,15 +118332,15 @@ { "type": "CommentLine", "value": " <<<<<<<<<<<<<<<<<<<< Error here? Order/value of countEntityMeshesPortion correct?", - "start": 17324, - "end": 17408, + "start": 20755, + "end": 20839, "loc": { "start": { - "line": 335, + "line": 439, "column": 82 }, "end": { - "line": 335, + "line": 439, "column": 166 } } @@ -94185,15 +118358,15 @@ "binop": null }, "value": "entityIndex", - "start": 17422, - "end": 17433, + "start": 20853, + "end": 20864, "loc": { "start": { - "line": 337, + "line": 441, "column": 12 }, "end": { - "line": 337, + "line": 441, "column": 23 } } @@ -94211,15 +118384,15 @@ "binop": null }, "value": "++", - "start": 17433, - "end": 17435, + "start": 20864, + "end": 20866, "loc": { "start": { - "line": 337, + "line": 441, "column": 23 }, "end": { - "line": 337, + "line": 441, "column": 25 } } @@ -94237,15 +118410,15 @@ "binop": null, "updateContext": null }, - "start": 17435, - "end": 17436, + "start": 20866, + "end": 20867, "loc": { "start": { - "line": 337, + "line": 441, "column": 25 }, "end": { - "line": 337, + "line": 441, "column": 26 } } @@ -94263,15 +118436,15 @@ "binop": null }, "value": "countEntityMeshesPortion", - "start": 17449, - "end": 17473, + "start": 20880, + "end": 20904, "loc": { "start": { - "line": 338, + "line": 442, "column": 12 }, "end": { - "line": 338, + "line": 442, "column": 36 } } @@ -94290,15 +118463,15 @@ "updateContext": null }, "value": "+=", - "start": 17474, - "end": 17476, + "start": 20905, + "end": 20907, "loc": { "start": { - "line": 338, + "line": 442, "column": 37 }, "end": { - "line": 338, + "line": 442, "column": 39 } } @@ -94316,15 +118489,15 @@ "binop": null }, "value": "numEntityMeshes", - "start": 17477, - "end": 17492, + "start": 20908, + "end": 20923, "loc": { "start": { - "line": 338, + "line": 442, "column": 40 }, "end": { - "line": 338, + "line": 442, "column": 55 } } @@ -94342,15 +118515,15 @@ "binop": null, "updateContext": null }, - "start": 17492, - "end": 17493, + "start": 20923, + "end": 20924, "loc": { "start": { - "line": 338, + "line": 442, "column": 55 }, "end": { - "line": 338, + "line": 442, "column": 56 } } @@ -94367,15 +118540,15 @@ "postfix": false, "binop": null }, - "start": 17502, - "end": 17503, + "start": 20933, + "end": 20934, "loc": { "start": { - "line": 339, + "line": 443, "column": 8 }, "end": { - "line": 339, + "line": 443, "column": 9 } } @@ -94395,15 +118568,15 @@ "updateContext": null }, "value": "const", - "start": 17513, - "end": 17518, + "start": 20944, + "end": 20949, "loc": { "start": { - "line": 341, + "line": 445, "column": 8 }, "end": { - "line": 341, + "line": 445, "column": 13 } } @@ -94421,15 +118594,15 @@ "binop": null }, "value": "tileAABBIndex", - "start": 17519, - "end": 17532, + "start": 20950, + "end": 20963, "loc": { "start": { - "line": 341, + "line": 445, "column": 14 }, "end": { - "line": 341, + "line": 445, "column": 27 } } @@ -94448,15 +118621,15 @@ "updateContext": null }, "value": "=", - "start": 17533, - "end": 17534, + "start": 20964, + "end": 20965, "loc": { "start": { - "line": 341, + "line": 445, "column": 28 }, "end": { - "line": 341, + "line": 445, "column": 29 } } @@ -94474,15 +118647,15 @@ "binop": null }, "value": "tileIndex", - "start": 17535, - "end": 17544, + "start": 20966, + "end": 20975, "loc": { "start": { - "line": 341, + "line": 445, "column": 30 }, "end": { - "line": 341, + "line": 445, "column": 39 } } @@ -94501,15 +118674,15 @@ "updateContext": null }, "value": "*", - "start": 17545, - "end": 17546, + "start": 20976, + "end": 20977, "loc": { "start": { - "line": 341, + "line": 445, "column": 40 }, "end": { - "line": 341, + "line": 445, "column": 41 } } @@ -94528,15 +118701,15 @@ "updateContext": null }, "value": 6, - "start": 17547, - "end": 17548, + "start": 20978, + "end": 20979, "loc": { "start": { - "line": 341, + "line": 445, "column": 42 }, "end": { - "line": 341, + "line": 445, "column": 43 } } @@ -94554,15 +118727,15 @@ "binop": null, "updateContext": null }, - "start": 17548, - "end": 17549, + "start": 20979, + "end": 20980, "loc": { "start": { - "line": 341, + "line": 445, "column": 43 }, "end": { - "line": 341, + "line": 445, "column": 44 } } @@ -94580,15 +118753,15 @@ "binop": null }, "value": "data", - "start": 17559, - "end": 17563, + "start": 20990, + "end": 20994, "loc": { "start": { - "line": 343, + "line": 447, "column": 8 }, "end": { - "line": 343, + "line": 447, "column": 12 } } @@ -94606,15 +118779,15 @@ "binop": null, "updateContext": null }, - "start": 17563, - "end": 17564, + "start": 20994, + "end": 20995, "loc": { "start": { - "line": 343, + "line": 447, "column": 12 }, "end": { - "line": 343, + "line": 447, "column": 13 } } @@ -94632,15 +118805,15 @@ "binop": null }, "value": "eachTileAABB", - "start": 17564, - "end": 17576, + "start": 20995, + "end": 21007, "loc": { "start": { - "line": 343, + "line": 447, "column": 13 }, "end": { - "line": 343, + "line": 447, "column": 25 } } @@ -94658,15 +118831,15 @@ "binop": null, "updateContext": null }, - "start": 17576, - "end": 17577, + "start": 21007, + "end": 21008, "loc": { "start": { - "line": 343, + "line": 447, "column": 25 }, "end": { - "line": 343, + "line": 447, "column": 26 } } @@ -94684,15 +118857,15 @@ "binop": null }, "value": "set", - "start": 17577, - "end": 17580, + "start": 21008, + "end": 21011, "loc": { "start": { - "line": 343, + "line": 447, "column": 26 }, "end": { - "line": 343, + "line": 447, "column": 29 } } @@ -94709,15 +118882,15 @@ "postfix": false, "binop": null }, - "start": 17580, - "end": 17581, + "start": 21011, + "end": 21012, "loc": { "start": { - "line": 343, + "line": 447, "column": 29 }, "end": { - "line": 343, + "line": 447, "column": 30 } } @@ -94735,15 +118908,15 @@ "binop": null }, "value": "tileAABB", - "start": 17581, - "end": 17589, + "start": 21012, + "end": 21020, "loc": { "start": { - "line": 343, + "line": 447, "column": 30 }, "end": { - "line": 343, + "line": 447, "column": 38 } } @@ -94761,15 +118934,15 @@ "binop": null, "updateContext": null }, - "start": 17589, - "end": 17590, + "start": 21020, + "end": 21021, "loc": { "start": { - "line": 343, + "line": 447, "column": 38 }, "end": { - "line": 343, + "line": 447, "column": 39 } } @@ -94787,15 +118960,15 @@ "binop": null }, "value": "tileAABBIndex", - "start": 17591, - "end": 17604, + "start": 21022, + "end": 21035, "loc": { "start": { - "line": 343, + "line": 447, "column": 40 }, "end": { - "line": 343, + "line": 447, "column": 53 } } @@ -94812,15 +118985,15 @@ "postfix": false, "binop": null }, - "start": 17604, - "end": 17605, + "start": 21035, + "end": 21036, "loc": { "start": { - "line": 343, + "line": 447, "column": 53 }, "end": { - "line": 343, + "line": 447, "column": 54 } } @@ -94838,15 +119011,15 @@ "binop": null, "updateContext": null }, - "start": 17605, - "end": 17606, + "start": 21036, + "end": 21037, "loc": { "start": { - "line": 343, + "line": 447, "column": 54 }, "end": { - "line": 343, + "line": 447, "column": 55 } } @@ -94863,15 +119036,15 @@ "postfix": false, "binop": null }, - "start": 17611, - "end": 17612, + "start": 21042, + "end": 21043, "loc": { "start": { - "line": 344, + "line": 448, "column": 4 }, "end": { - "line": 344, + "line": 448, "column": 5 } } @@ -94891,15 +119064,15 @@ "updateContext": null }, "value": "return", - "start": 17618, - "end": 17624, + "start": 21049, + "end": 21055, "loc": { "start": { - "line": 346, + "line": 450, "column": 4 }, "end": { - "line": 346, + "line": 450, "column": 10 } } @@ -94917,15 +119090,15 @@ "binop": null }, "value": "data", - "start": 17625, - "end": 17629, + "start": 21056, + "end": 21060, "loc": { "start": { - "line": 346, + "line": 450, "column": 11 }, "end": { - "line": 346, + "line": 450, "column": 15 } } @@ -94943,15 +119116,15 @@ "binop": null, "updateContext": null }, - "start": 17629, - "end": 17630, + "start": 21060, + "end": 21061, "loc": { "start": { - "line": 346, + "line": 450, "column": 15 }, "end": { - "line": 346, + "line": 450, "column": 16 } } @@ -94968,15 +119141,15 @@ "postfix": false, "binop": null }, - "start": 17631, - "end": 17632, + "start": 21062, + "end": 21063, "loc": { "start": { - "line": 347, + "line": 451, "column": 0 }, "end": { - "line": 347, + "line": 451, "column": 1 } } @@ -94995,15 +119168,15 @@ "binop": null }, "value": "function", - "start": 17634, - "end": 17642, + "start": 21065, + "end": 21073, "loc": { "start": { - "line": 349, + "line": 453, "column": 0 }, "end": { - "line": 349, + "line": 453, "column": 8 } } @@ -95021,15 +119194,15 @@ "binop": null }, "value": "deflateData", - "start": 17643, - "end": 17654, + "start": 21074, + "end": 21085, "loc": { "start": { - "line": 349, + "line": 453, "column": 9 }, "end": { - "line": 349, + "line": 453, "column": 20 } } @@ -95046,15 +119219,15 @@ "postfix": false, "binop": null }, - "start": 17654, - "end": 17655, + "start": 21085, + "end": 21086, "loc": { "start": { - "line": 349, + "line": 453, "column": 20 }, "end": { - "line": 349, + "line": 453, "column": 21 } } @@ -95072,15 +119245,15 @@ "binop": null }, "value": "data", - "start": 17655, - "end": 17659, + "start": 21086, + "end": 21090, "loc": { "start": { - "line": 349, + "line": 453, "column": 21 }, "end": { - "line": 349, + "line": 453, "column": 25 } } @@ -95098,15 +119271,15 @@ "binop": null, "updateContext": null }, - "start": 17659, - "end": 17660, + "start": 21090, + "end": 21091, "loc": { "start": { - "line": 349, + "line": 453, "column": 25 }, "end": { - "line": 349, + "line": 453, "column": 26 } } @@ -95124,15 +119297,15 @@ "binop": null }, "value": "metaModelJSON", - "start": 17661, - "end": 17674, + "start": 21092, + "end": 21105, "loc": { "start": { - "line": 349, + "line": 453, "column": 27 }, "end": { - "line": 349, + "line": 453, "column": 40 } } @@ -95150,15 +119323,15 @@ "binop": null, "updateContext": null }, - "start": 17674, - "end": 17675, + "start": 21105, + "end": 21106, "loc": { "start": { - "line": 349, + "line": 453, "column": 40 }, "end": { - "line": 349, + "line": 453, "column": 41 } } @@ -95176,15 +119349,15 @@ "binop": null }, "value": "options", - "start": 17676, - "end": 17683, + "start": 21107, + "end": 21114, "loc": { "start": { - "line": 349, + "line": 453, "column": 42 }, "end": { - "line": 349, + "line": 453, "column": 49 } } @@ -95201,15 +119374,15 @@ "postfix": false, "binop": null }, - "start": 17683, - "end": 17684, + "start": 21114, + "end": 21115, "loc": { "start": { - "line": 349, + "line": 453, "column": 49 }, "end": { - "line": 349, + "line": 453, "column": 50 } } @@ -95226,15 +119399,15 @@ "postfix": false, "binop": null }, - "start": 17685, - "end": 17686, + "start": 21116, + "end": 21117, "loc": { "start": { - "line": 349, + "line": 453, "column": 51 }, "end": { - "line": 349, + "line": 453, "column": 52 } } @@ -95253,15 +119426,15 @@ "binop": null }, "value": "function", - "start": 17692, - "end": 17700, + "start": 21123, + "end": 21131, "loc": { "start": { - "line": 351, + "line": 455, "column": 4 }, "end": { - "line": 351, + "line": 455, "column": 12 } } @@ -95279,15 +119452,15 @@ "binop": null }, "value": "deflate", - "start": 17701, - "end": 17708, + "start": 21132, + "end": 21139, "loc": { "start": { - "line": 351, + "line": 455, "column": 13 }, "end": { - "line": 351, + "line": 455, "column": 20 } } @@ -95304,15 +119477,15 @@ "postfix": false, "binop": null }, - "start": 17708, - "end": 17709, + "start": 21139, + "end": 21140, "loc": { "start": { - "line": 351, + "line": 455, "column": 20 }, "end": { - "line": 351, + "line": 455, "column": 21 } } @@ -95330,15 +119503,15 @@ "binop": null }, "value": "buffer", - "start": 17709, - "end": 17715, + "start": 21140, + "end": 21146, "loc": { "start": { - "line": 351, + "line": 455, "column": 21 }, "end": { - "line": 351, + "line": 455, "column": 27 } } @@ -95355,15 +119528,15 @@ "postfix": false, "binop": null }, - "start": 17715, - "end": 17716, + "start": 21146, + "end": 21147, "loc": { "start": { - "line": 351, + "line": 455, "column": 27 }, "end": { - "line": 351, + "line": 455, "column": 28 } } @@ -95380,15 +119553,15 @@ "postfix": false, "binop": null }, - "start": 17717, - "end": 17718, + "start": 21148, + "end": 21149, "loc": { "start": { - "line": 351, + "line": 455, "column": 29 }, "end": { - "line": 351, + "line": 455, "column": 30 } } @@ -95408,15 +119581,15 @@ "updateContext": null }, "value": "return", - "start": 17727, - "end": 17733, + "start": 21158, + "end": 21164, "loc": { "start": { - "line": 352, + "line": 456, "column": 8 }, "end": { - "line": 352, + "line": 456, "column": 14 } } @@ -95433,15 +119606,15 @@ "postfix": false, "binop": null }, - "start": 17734, - "end": 17735, + "start": 21165, + "end": 21166, "loc": { "start": { - "line": 352, + "line": 456, "column": 15 }, "end": { - "line": 352, + "line": 456, "column": 16 } } @@ -95459,15 +119632,15 @@ "binop": null }, "value": "options", - "start": 17735, - "end": 17742, + "start": 21166, + "end": 21173, "loc": { "start": { - "line": 352, + "line": 456, "column": 16 }, "end": { - "line": 352, + "line": 456, "column": 23 } } @@ -95485,15 +119658,15 @@ "binop": null, "updateContext": null }, - "start": 17742, - "end": 17743, + "start": 21173, + "end": 21174, "loc": { "start": { - "line": 352, + "line": 456, "column": 23 }, "end": { - "line": 352, + "line": 456, "column": 24 } } @@ -95511,15 +119684,15 @@ "binop": null }, "value": "zip", - "start": 17743, - "end": 17746, + "start": 21174, + "end": 21177, "loc": { "start": { - "line": 352, + "line": 456, "column": 24 }, "end": { - "line": 352, + "line": 456, "column": 27 } } @@ -95538,15 +119711,15 @@ "updateContext": null }, "value": "!==", - "start": 17747, - "end": 17750, + "start": 21178, + "end": 21181, "loc": { "start": { - "line": 352, + "line": 456, "column": 28 }, "end": { - "line": 352, + "line": 456, "column": 31 } } @@ -95566,15 +119739,15 @@ "updateContext": null }, "value": "false", - "start": 17751, - "end": 17756, + "start": 21182, + "end": 21187, "loc": { "start": { - "line": 352, + "line": 456, "column": 32 }, "end": { - "line": 352, + "line": 456, "column": 37 } } @@ -95591,15 +119764,15 @@ "postfix": false, "binop": null }, - "start": 17756, - "end": 17757, + "start": 21187, + "end": 21188, "loc": { "start": { - "line": 352, + "line": 456, "column": 37 }, "end": { - "line": 352, + "line": 456, "column": 38 } } @@ -95617,15 +119790,15 @@ "binop": null, "updateContext": null }, - "start": 17758, - "end": 17759, + "start": 21189, + "end": 21190, "loc": { "start": { - "line": 352, + "line": 456, "column": 39 }, "end": { - "line": 352, + "line": 456, "column": 40 } } @@ -95643,15 +119816,15 @@ "binop": null }, "value": "pako", - "start": 17760, - "end": 17764, + "start": 21191, + "end": 21195, "loc": { "start": { - "line": 352, + "line": 456, "column": 41 }, "end": { - "line": 352, + "line": 456, "column": 45 } } @@ -95669,15 +119842,15 @@ "binop": null, "updateContext": null }, - "start": 17764, - "end": 17765, + "start": 21195, + "end": 21196, "loc": { "start": { - "line": 352, + "line": 456, "column": 45 }, "end": { - "line": 352, + "line": 456, "column": 46 } } @@ -95695,15 +119868,15 @@ "binop": null }, "value": "deflate", - "start": 17765, - "end": 17772, + "start": 21196, + "end": 21203, "loc": { "start": { - "line": 352, + "line": 456, "column": 46 }, "end": { - "line": 352, + "line": 456, "column": 53 } } @@ -95720,15 +119893,15 @@ "postfix": false, "binop": null }, - "start": 17772, - "end": 17773, + "start": 21203, + "end": 21204, "loc": { "start": { - "line": 352, + "line": 456, "column": 53 }, "end": { - "line": 352, + "line": 456, "column": 54 } } @@ -95746,15 +119919,15 @@ "binop": null }, "value": "buffer", - "start": 17773, - "end": 17779, + "start": 21204, + "end": 21210, "loc": { "start": { - "line": 352, + "line": 456, "column": 54 }, "end": { - "line": 352, + "line": 456, "column": 60 } } @@ -95771,15 +119944,15 @@ "postfix": false, "binop": null }, - "start": 17779, - "end": 17780, + "start": 21210, + "end": 21211, "loc": { "start": { - "line": 352, + "line": 456, "column": 60 }, "end": { - "line": 352, + "line": 456, "column": 61 } } @@ -95797,15 +119970,15 @@ "binop": null, "updateContext": null }, - "start": 17781, - "end": 17782, + "start": 21212, + "end": 21213, "loc": { "start": { - "line": 352, + "line": 456, "column": 62 }, "end": { - "line": 352, + "line": 456, "column": 63 } } @@ -95823,15 +119996,15 @@ "binop": null }, "value": "buffer", - "start": 17783, - "end": 17789, + "start": 21214, + "end": 21220, "loc": { "start": { - "line": 352, + "line": 456, "column": 64 }, "end": { - "line": 352, + "line": 456, "column": 70 } } @@ -95849,15 +120022,15 @@ "binop": null, "updateContext": null }, - "start": 17789, - "end": 17790, + "start": 21220, + "end": 21221, "loc": { "start": { - "line": 352, + "line": 456, "column": 70 }, "end": { - "line": 352, + "line": 456, "column": 71 } } @@ -95874,15 +120047,15 @@ "postfix": false, "binop": null }, - "start": 17795, - "end": 17796, + "start": 21226, + "end": 21227, "loc": { "start": { - "line": 353, + "line": 457, "column": 4 }, "end": { - "line": 353, + "line": 457, "column": 5 } } @@ -95902,15 +120075,15 @@ "updateContext": null }, "value": "let", - "start": 17802, - "end": 17805, + "start": 21233, + "end": 21236, "loc": { "start": { - "line": 355, + "line": 459, "column": 4 }, "end": { - "line": 355, + "line": 459, "column": 7 } } @@ -95928,15 +120101,15 @@ "binop": null }, "value": "metaModelBytes", - "start": 17806, - "end": 17820, + "start": 21237, + "end": 21251, "loc": { "start": { - "line": 355, + "line": 459, "column": 8 }, "end": { - "line": 355, + "line": 459, "column": 22 } } @@ -95954,15 +120127,15 @@ "binop": null, "updateContext": null }, - "start": 17820, - "end": 17821, + "start": 21251, + "end": 21252, "loc": { "start": { - "line": 355, + "line": 459, "column": 22 }, "end": { - "line": 355, + "line": 459, "column": 23 } } @@ -95982,15 +120155,15 @@ "updateContext": null }, "value": "if", - "start": 17826, - "end": 17828, + "start": 21257, + "end": 21259, "loc": { "start": { - "line": 356, + "line": 460, "column": 4 }, "end": { - "line": 356, + "line": 460, "column": 6 } } @@ -96007,15 +120180,15 @@ "postfix": false, "binop": null }, - "start": 17829, - "end": 17830, + "start": 21260, + "end": 21261, "loc": { "start": { - "line": 356, + "line": 460, "column": 7 }, "end": { - "line": 356, + "line": 460, "column": 8 } } @@ -96033,15 +120206,15 @@ "binop": null }, "value": "metaModelJSON", - "start": 17830, - "end": 17843, + "start": 21261, + "end": 21274, "loc": { "start": { - "line": 356, + "line": 460, "column": 8 }, "end": { - "line": 356, + "line": 460, "column": 21 } } @@ -96058,15 +120231,15 @@ "postfix": false, "binop": null }, - "start": 17843, - "end": 17844, + "start": 21274, + "end": 21275, "loc": { "start": { - "line": 356, + "line": 460, "column": 21 }, "end": { - "line": 356, + "line": 460, "column": 22 } } @@ -96083,15 +120256,15 @@ "postfix": false, "binop": null }, - "start": 17845, - "end": 17846, + "start": 21276, + "end": 21277, "loc": { "start": { - "line": 356, + "line": 460, "column": 23 }, "end": { - "line": 356, + "line": 460, "column": 24 } } @@ -96111,15 +120284,15 @@ "updateContext": null }, "value": "const", - "start": 17855, - "end": 17860, + "start": 21286, + "end": 21291, "loc": { "start": { - "line": 357, + "line": 461, "column": 8 }, "end": { - "line": 357, + "line": 461, "column": 13 } } @@ -96137,15 +120310,15 @@ "binop": null }, "value": "deflatedJSON", - "start": 17861, - "end": 17873, + "start": 21292, + "end": 21304, "loc": { "start": { - "line": 357, + "line": 461, "column": 14 }, "end": { - "line": 357, + "line": 461, "column": 26 } } @@ -96164,15 +120337,15 @@ "updateContext": null }, "value": "=", - "start": 17874, - "end": 17875, + "start": 21305, + "end": 21306, "loc": { "start": { - "line": 357, + "line": 461, "column": 27 }, "end": { - "line": 357, + "line": 461, "column": 28 } } @@ -96190,15 +120363,15 @@ "binop": null }, "value": "deflateJSON", - "start": 17876, - "end": 17887, + "start": 21307, + "end": 21318, "loc": { "start": { - "line": 357, + "line": 461, "column": 29 }, "end": { - "line": 357, + "line": 461, "column": 40 } } @@ -96215,15 +120388,15 @@ "postfix": false, "binop": null }, - "start": 17887, - "end": 17888, + "start": 21318, + "end": 21319, "loc": { "start": { - "line": 357, + "line": 461, "column": 40 }, "end": { - "line": 357, + "line": 461, "column": 41 } } @@ -96241,15 +120414,15 @@ "binop": null }, "value": "metaModelJSON", - "start": 17888, - "end": 17901, + "start": 21319, + "end": 21332, "loc": { "start": { - "line": 357, + "line": 461, "column": 41 }, "end": { - "line": 357, + "line": 461, "column": 54 } } @@ -96266,15 +120439,15 @@ "postfix": false, "binop": null }, - "start": 17901, - "end": 17902, + "start": 21332, + "end": 21333, "loc": { "start": { - "line": 357, + "line": 461, "column": 54 }, "end": { - "line": 357, + "line": 461, "column": 55 } } @@ -96292,15 +120465,15 @@ "binop": null, "updateContext": null }, - "start": 17902, - "end": 17903, + "start": 21333, + "end": 21334, "loc": { "start": { - "line": 357, + "line": 461, "column": 55 }, "end": { - "line": 357, + "line": 461, "column": 56 } } @@ -96318,15 +120491,15 @@ "binop": null }, "value": "metaModelBytes", - "start": 17912, - "end": 17926, + "start": 21343, + "end": 21357, "loc": { "start": { - "line": 358, + "line": 462, "column": 8 }, "end": { - "line": 358, + "line": 462, "column": 22 } } @@ -96345,15 +120518,15 @@ "updateContext": null }, "value": "=", - "start": 17927, - "end": 17928, + "start": 21358, + "end": 21359, "loc": { "start": { - "line": 358, + "line": 462, "column": 23 }, "end": { - "line": 358, + "line": 462, "column": 24 } } @@ -96371,15 +120544,15 @@ "binop": null }, "value": "deflate", - "start": 17929, - "end": 17936, + "start": 21360, + "end": 21367, "loc": { "start": { - "line": 358, + "line": 462, "column": 25 }, "end": { - "line": 358, + "line": 462, "column": 32 } } @@ -96396,15 +120569,15 @@ "postfix": false, "binop": null }, - "start": 17936, - "end": 17937, + "start": 21367, + "end": 21368, "loc": { "start": { - "line": 358, + "line": 462, "column": 32 }, "end": { - "line": 358, + "line": 462, "column": 33 } } @@ -96422,15 +120595,15 @@ "binop": null }, "value": "deflatedJSON", - "start": 17937, - "end": 17949, + "start": 21368, + "end": 21380, "loc": { "start": { - "line": 358, + "line": 462, "column": 33 }, "end": { - "line": 358, + "line": 462, "column": 45 } } @@ -96447,15 +120620,15 @@ "postfix": false, "binop": null }, - "start": 17949, - "end": 17950, + "start": 21380, + "end": 21381, "loc": { "start": { - "line": 358, + "line": 462, "column": 45 }, "end": { - "line": 358, + "line": 462, "column": 46 } } @@ -96472,15 +120645,15 @@ "postfix": false, "binop": null }, - "start": 17955, - "end": 17956, + "start": 21386, + "end": 21387, "loc": { "start": { - "line": 359, + "line": 463, "column": 4 }, "end": { - "line": 359, + "line": 463, "column": 5 } } @@ -96500,15 +120673,15 @@ "updateContext": null }, "value": "else", - "start": 17957, - "end": 17961, + "start": 21388, + "end": 21392, "loc": { "start": { - "line": 359, + "line": 463, "column": 6 }, "end": { - "line": 359, + "line": 463, "column": 10 } } @@ -96525,15 +120698,15 @@ "postfix": false, "binop": null }, - "start": 17962, - "end": 17963, + "start": 21393, + "end": 21394, "loc": { "start": { - "line": 359, + "line": 463, "column": 11 }, "end": { - "line": 359, + "line": 463, "column": 12 } } @@ -96553,15 +120726,15 @@ "updateContext": null }, "value": "const", - "start": 17972, - "end": 17977, + "start": 21403, + "end": 21408, "loc": { "start": { - "line": 360, + "line": 464, "column": 8 }, "end": { - "line": 360, + "line": 464, "column": 13 } } @@ -96579,15 +120752,15 @@ "binop": null }, "value": "deflatedJSON", - "start": 17978, - "end": 17990, + "start": 21409, + "end": 21421, "loc": { "start": { - "line": 360, + "line": 464, "column": 14 }, "end": { - "line": 360, + "line": 464, "column": 26 } } @@ -96606,15 +120779,15 @@ "updateContext": null }, "value": "=", - "start": 17991, - "end": 17992, + "start": 21422, + "end": 21423, "loc": { "start": { - "line": 360, + "line": 464, "column": 27 }, "end": { - "line": 360, + "line": 464, "column": 28 } } @@ -96632,15 +120805,15 @@ "binop": null }, "value": "deflateJSON", - "start": 17993, - "end": 18004, + "start": 21424, + "end": 21435, "loc": { "start": { - "line": 360, + "line": 464, "column": 29 }, "end": { - "line": 360, + "line": 464, "column": 40 } } @@ -96657,15 +120830,15 @@ "postfix": false, "binop": null }, - "start": 18004, - "end": 18005, + "start": 21435, + "end": 21436, "loc": { "start": { - "line": 360, + "line": 464, "column": 40 }, "end": { - "line": 360, + "line": 464, "column": 41 } } @@ -96683,15 +120856,15 @@ "binop": null }, "value": "data", - "start": 18005, - "end": 18009, + "start": 21436, + "end": 21440, "loc": { "start": { - "line": 360, + "line": 464, "column": 41 }, "end": { - "line": 360, + "line": 464, "column": 45 } } @@ -96709,15 +120882,15 @@ "binop": null, "updateContext": null }, - "start": 18009, - "end": 18010, + "start": 21440, + "end": 21441, "loc": { "start": { - "line": 360, + "line": 464, "column": 45 }, "end": { - "line": 360, + "line": 464, "column": 46 } } @@ -96735,15 +120908,15 @@ "binop": null }, "value": "metadata", - "start": 18010, - "end": 18018, + "start": 21441, + "end": 21449, "loc": { "start": { - "line": 360, + "line": 464, "column": 46 }, "end": { - "line": 360, + "line": 464, "column": 54 } } @@ -96760,15 +120933,15 @@ "postfix": false, "binop": null }, - "start": 18018, - "end": 18019, + "start": 21449, + "end": 21450, "loc": { "start": { - "line": 360, + "line": 464, "column": 54 }, "end": { - "line": 360, + "line": 464, "column": 55 } } @@ -96786,15 +120959,15 @@ "binop": null, "updateContext": null }, - "start": 18019, - "end": 18020, + "start": 21450, + "end": 21451, "loc": { "start": { - "line": 360, + "line": 464, "column": 55 }, "end": { - "line": 360, + "line": 464, "column": 56 } } @@ -96812,15 +120985,15 @@ "binop": null }, "value": "metaModelBytes", - "start": 18029, - "end": 18043, + "start": 21460, + "end": 21474, "loc": { "start": { - "line": 361, + "line": 465, "column": 8 }, "end": { - "line": 361, + "line": 465, "column": 22 } } @@ -96839,15 +121012,15 @@ "updateContext": null }, "value": "=", - "start": 18044, - "end": 18045, + "start": 21475, + "end": 21476, "loc": { "start": { - "line": 361, + "line": 465, "column": 23 }, "end": { - "line": 361, + "line": 465, "column": 24 } } @@ -96865,15 +121038,15 @@ "binop": null }, "value": "deflate", - "start": 18046, - "end": 18053, + "start": 21477, + "end": 21484, "loc": { "start": { - "line": 361, + "line": 465, "column": 25 }, "end": { - "line": 361, + "line": 465, "column": 32 } } @@ -96890,15 +121063,15 @@ "postfix": false, "binop": null }, - "start": 18053, - "end": 18054, + "start": 21484, + "end": 21485, "loc": { "start": { - "line": 361, + "line": 465, "column": 32 }, "end": { - "line": 361, + "line": 465, "column": 33 } } @@ -96916,15 +121089,15 @@ "binop": null }, "value": "deflatedJSON", - "start": 18054, - "end": 18066, + "start": 21485, + "end": 21497, "loc": { "start": { - "line": 361, + "line": 465, "column": 33 }, "end": { - "line": 361, + "line": 465, "column": 45 } } @@ -96941,15 +121114,15 @@ "postfix": false, "binop": null }, - "start": 18066, - "end": 18067, + "start": 21497, + "end": 21498, "loc": { "start": { - "line": 361, + "line": 465, "column": 45 }, "end": { - "line": 361, + "line": 465, "column": 46 } } @@ -96966,15 +121139,15 @@ "postfix": false, "binop": null }, - "start": 18072, - "end": 18073, + "start": 21503, + "end": 21504, "loc": { "start": { - "line": 362, + "line": 466, "column": 4 }, "end": { - "line": 362, + "line": 466, "column": 5 } } @@ -96994,15 +121167,15 @@ "updateContext": null }, "value": "return", - "start": 18079, - "end": 18085, + "start": 21510, + "end": 21516, "loc": { "start": { - "line": 364, + "line": 468, "column": 4 }, "end": { - "line": 364, + "line": 468, "column": 10 } } @@ -97019,15 +121192,15 @@ "postfix": false, "binop": null }, - "start": 18086, - "end": 18087, + "start": 21517, + "end": 21518, "loc": { "start": { - "line": 364, + "line": 468, "column": 11 }, "end": { - "line": 364, + "line": 468, "column": 12 } } @@ -97045,15 +121218,15 @@ "binop": null }, "value": "metadata", - "start": 18096, - "end": 18104, + "start": 21527, + "end": 21535, "loc": { "start": { - "line": 365, + "line": 469, "column": 8 }, "end": { - "line": 365, + "line": 469, "column": 16 } } @@ -97071,15 +121244,15 @@ "binop": null, "updateContext": null }, - "start": 18104, - "end": 18105, + "start": 21535, + "end": 21536, "loc": { "start": { - "line": 365, + "line": 469, "column": 16 }, "end": { - "line": 365, + "line": 469, "column": 17 } } @@ -97097,15 +121270,15 @@ "binop": null }, "value": "metaModelBytes", - "start": 18106, - "end": 18120, + "start": 21537, + "end": 21551, "loc": { "start": { - "line": 365, + "line": 469, "column": 18 }, "end": { - "line": 365, + "line": 469, "column": 32 } } @@ -97123,15 +121296,15 @@ "binop": null, "updateContext": null }, - "start": 18120, - "end": 18121, + "start": 21551, + "end": 21552, "loc": { "start": { - "line": 365, + "line": 469, "column": 32 }, "end": { - "line": 365, + "line": 469, "column": 33 } } @@ -97149,15 +121322,15 @@ "binop": null }, "value": "textureData", - "start": 18130, - "end": 18141, + "start": 21561, + "end": 21572, "loc": { "start": { - "line": 366, + "line": 470, "column": 8 }, "end": { - "line": 366, + "line": 470, "column": 19 } } @@ -97175,15 +121348,15 @@ "binop": null, "updateContext": null }, - "start": 18141, - "end": 18142, + "start": 21572, + "end": 21573, "loc": { "start": { - "line": 366, + "line": 470, "column": 19 }, "end": { - "line": 366, + "line": 470, "column": 20 } } @@ -97201,15 +121374,15 @@ "binop": null }, "value": "deflate", - "start": 18143, - "end": 18150, + "start": 21574, + "end": 21581, "loc": { "start": { - "line": 366, + "line": 470, "column": 21 }, "end": { - "line": 366, + "line": 470, "column": 28 } } @@ -97226,15 +121399,15 @@ "postfix": false, "binop": null }, - "start": 18150, - "end": 18151, + "start": 21581, + "end": 21582, "loc": { "start": { - "line": 366, + "line": 470, "column": 28 }, "end": { - "line": 366, + "line": 470, "column": 29 } } @@ -97252,15 +121425,15 @@ "binop": null }, "value": "data", - "start": 18151, - "end": 18155, + "start": 21582, + "end": 21586, "loc": { "start": { - "line": 366, + "line": 470, "column": 29 }, "end": { - "line": 366, + "line": 470, "column": 33 } } @@ -97278,15 +121451,15 @@ "binop": null, "updateContext": null }, - "start": 18155, - "end": 18156, + "start": 21586, + "end": 21587, "loc": { "start": { - "line": 366, + "line": 470, "column": 33 }, "end": { - "line": 366, + "line": 470, "column": 34 } } @@ -97304,15 +121477,15 @@ "binop": null }, "value": "textureData", - "start": 18156, - "end": 18167, + "start": 21587, + "end": 21598, "loc": { "start": { - "line": 366, + "line": 470, "column": 34 }, "end": { - "line": 366, + "line": 470, "column": 45 } } @@ -97330,15 +121503,15 @@ "binop": null, "updateContext": null }, - "start": 18167, - "end": 18168, + "start": 21598, + "end": 21599, "loc": { "start": { - "line": 366, + "line": 470, "column": 45 }, "end": { - "line": 366, + "line": 470, "column": 46 } } @@ -97356,15 +121529,15 @@ "binop": null }, "value": "buffer", - "start": 18168, - "end": 18174, + "start": 21599, + "end": 21605, "loc": { "start": { - "line": 366, + "line": 470, "column": 46 }, "end": { - "line": 366, + "line": 470, "column": 52 } } @@ -97381,15 +121554,15 @@ "postfix": false, "binop": null }, - "start": 18174, - "end": 18175, + "start": 21605, + "end": 21606, "loc": { "start": { - "line": 366, + "line": 470, "column": 52 }, "end": { - "line": 366, + "line": 470, "column": 53 } } @@ -97407,15 +121580,15 @@ "binop": null, "updateContext": null }, - "start": 18175, - "end": 18176, + "start": 21606, + "end": 21607, "loc": { "start": { - "line": 366, + "line": 470, "column": 53 }, "end": { - "line": 366, + "line": 470, "column": 54 } } @@ -97433,15 +121606,15 @@ "binop": null }, "value": "eachTextureDataPortion", - "start": 18185, - "end": 18207, + "start": 21616, + "end": 21638, "loc": { "start": { - "line": 367, + "line": 471, "column": 8 }, "end": { - "line": 367, + "line": 471, "column": 30 } } @@ -97459,15 +121632,15 @@ "binop": null, "updateContext": null }, - "start": 18207, - "end": 18208, + "start": 21638, + "end": 21639, "loc": { "start": { - "line": 367, + "line": 471, "column": 30 }, "end": { - "line": 367, + "line": 471, "column": 31 } } @@ -97485,15 +121658,15 @@ "binop": null }, "value": "deflate", - "start": 18209, - "end": 18216, + "start": 21640, + "end": 21647, "loc": { "start": { - "line": 367, + "line": 471, "column": 32 }, "end": { - "line": 367, + "line": 471, "column": 39 } } @@ -97510,15 +121683,15 @@ "postfix": false, "binop": null }, - "start": 18216, - "end": 18217, + "start": 21647, + "end": 21648, "loc": { "start": { - "line": 367, + "line": 471, "column": 39 }, "end": { - "line": 367, + "line": 471, "column": 40 } } @@ -97536,15 +121709,15 @@ "binop": null }, "value": "data", - "start": 18217, - "end": 18221, + "start": 21648, + "end": 21652, "loc": { "start": { - "line": 367, + "line": 471, "column": 40 }, "end": { - "line": 367, + "line": 471, "column": 44 } } @@ -97562,15 +121735,15 @@ "binop": null, "updateContext": null }, - "start": 18221, - "end": 18222, + "start": 21652, + "end": 21653, "loc": { "start": { - "line": 367, + "line": 471, "column": 44 }, "end": { - "line": 367, + "line": 471, "column": 45 } } @@ -97588,15 +121761,15 @@ "binop": null }, "value": "eachTextureDataPortion", - "start": 18222, - "end": 18244, + "start": 21653, + "end": 21675, "loc": { "start": { - "line": 367, + "line": 471, "column": 45 }, "end": { - "line": 367, + "line": 471, "column": 67 } } @@ -97614,15 +121787,15 @@ "binop": null, "updateContext": null }, - "start": 18244, - "end": 18245, + "start": 21675, + "end": 21676, "loc": { "start": { - "line": 367, + "line": 471, "column": 67 }, "end": { - "line": 367, + "line": 471, "column": 68 } } @@ -97640,15 +121813,15 @@ "binop": null }, "value": "buffer", - "start": 18245, - "end": 18251, + "start": 21676, + "end": 21682, "loc": { "start": { - "line": 367, + "line": 471, "column": 68 }, "end": { - "line": 367, + "line": 471, "column": 74 } } @@ -97665,15 +121838,15 @@ "postfix": false, "binop": null }, - "start": 18251, - "end": 18252, + "start": 21682, + "end": 21683, "loc": { "start": { - "line": 367, + "line": 471, "column": 74 }, "end": { - "line": 367, + "line": 471, "column": 75 } } @@ -97691,15 +121864,15 @@ "binop": null, "updateContext": null }, - "start": 18252, - "end": 18253, + "start": 21683, + "end": 21684, "loc": { "start": { - "line": 367, + "line": 471, "column": 75 }, "end": { - "line": 367, + "line": 471, "column": 76 } } @@ -97717,15 +121890,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 18262, - "end": 18283, + "start": 21693, + "end": 21714, "loc": { "start": { - "line": 368, + "line": 472, "column": 8 }, "end": { - "line": 368, + "line": 472, "column": 29 } } @@ -97743,15 +121916,15 @@ "binop": null, "updateContext": null }, - "start": 18283, - "end": 18284, + "start": 21714, + "end": 21715, "loc": { "start": { - "line": 368, + "line": 472, "column": 29 }, "end": { - "line": 368, + "line": 472, "column": 30 } } @@ -97769,15 +121942,15 @@ "binop": null }, "value": "deflate", - "start": 18285, - "end": 18292, + "start": 21716, + "end": 21723, "loc": { "start": { - "line": 368, + "line": 472, "column": 31 }, "end": { - "line": 368, + "line": 472, "column": 38 } } @@ -97794,15 +121967,15 @@ "postfix": false, "binop": null }, - "start": 18292, - "end": 18293, + "start": 21723, + "end": 21724, "loc": { "start": { - "line": 368, + "line": 472, "column": 38 }, "end": { - "line": 368, + "line": 472, "column": 39 } } @@ -97820,15 +121993,15 @@ "binop": null }, "value": "data", - "start": 18293, - "end": 18297, + "start": 21724, + "end": 21728, "loc": { "start": { - "line": 368, + "line": 472, "column": 39 }, "end": { - "line": 368, + "line": 472, "column": 43 } } @@ -97846,15 +122019,15 @@ "binop": null, "updateContext": null }, - "start": 18297, - "end": 18298, + "start": 21728, + "end": 21729, "loc": { "start": { - "line": 368, + "line": 472, "column": 43 }, "end": { - "line": 368, + "line": 472, "column": 44 } } @@ -97872,15 +122045,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 18298, - "end": 18319, + "start": 21729, + "end": 21750, "loc": { "start": { - "line": 368, + "line": 472, "column": 44 }, "end": { - "line": 368, + "line": 472, "column": 65 } } @@ -97898,15 +122071,15 @@ "binop": null, "updateContext": null }, - "start": 18319, - "end": 18320, + "start": 21750, + "end": 21751, "loc": { "start": { - "line": 368, + "line": 472, "column": 65 }, "end": { - "line": 368, + "line": 472, "column": 66 } } @@ -97924,15 +122097,15 @@ "binop": null }, "value": "buffer", - "start": 18320, - "end": 18326, + "start": 21751, + "end": 21757, "loc": { "start": { - "line": 368, + "line": 472, "column": 66 }, "end": { - "line": 368, + "line": 472, "column": 72 } } @@ -97949,15 +122122,15 @@ "postfix": false, "binop": null }, - "start": 18326, - "end": 18327, + "start": 21757, + "end": 21758, "loc": { "start": { - "line": 368, + "line": 472, "column": 72 }, "end": { - "line": 368, + "line": 472, "column": 73 } } @@ -97975,15 +122148,15 @@ "binop": null, "updateContext": null }, - "start": 18327, - "end": 18328, + "start": 21758, + "end": 21759, "loc": { "start": { - "line": 368, + "line": 472, "column": 73 }, "end": { - "line": 368, + "line": 472, "column": 74 } } @@ -98001,15 +122174,15 @@ "binop": null }, "value": "positions", - "start": 18337, - "end": 18346, + "start": 21768, + "end": 21777, "loc": { "start": { - "line": 369, + "line": 473, "column": 8 }, "end": { - "line": 369, + "line": 473, "column": 17 } } @@ -98027,15 +122200,15 @@ "binop": null, "updateContext": null }, - "start": 18346, - "end": 18347, + "start": 21777, + "end": 21778, "loc": { "start": { - "line": 369, + "line": 473, "column": 17 }, "end": { - "line": 369, + "line": 473, "column": 18 } } @@ -98053,15 +122226,15 @@ "binop": null }, "value": "deflate", - "start": 18348, - "end": 18355, + "start": 21779, + "end": 21786, "loc": { "start": { - "line": 369, + "line": 473, "column": 19 }, "end": { - "line": 369, + "line": 473, "column": 26 } } @@ -98078,15 +122251,15 @@ "postfix": false, "binop": null }, - "start": 18355, - "end": 18356, + "start": 21786, + "end": 21787, "loc": { "start": { - "line": 369, + "line": 473, "column": 26 }, "end": { - "line": 369, + "line": 473, "column": 27 } } @@ -98104,15 +122277,15 @@ "binop": null }, "value": "data", - "start": 18356, - "end": 18360, + "start": 21787, + "end": 21791, "loc": { "start": { - "line": 369, + "line": 473, "column": 27 }, "end": { - "line": 369, + "line": 473, "column": 31 } } @@ -98130,15 +122303,15 @@ "binop": null, "updateContext": null }, - "start": 18360, - "end": 18361, + "start": 21791, + "end": 21792, "loc": { "start": { - "line": 369, + "line": 473, "column": 31 }, "end": { - "line": 369, + "line": 473, "column": 32 } } @@ -98156,15 +122329,15 @@ "binop": null }, "value": "positions", - "start": 18361, - "end": 18370, + "start": 21792, + "end": 21801, "loc": { "start": { - "line": 369, + "line": 473, "column": 32 }, "end": { - "line": 369, + "line": 473, "column": 41 } } @@ -98182,15 +122355,15 @@ "binop": null, "updateContext": null }, - "start": 18370, - "end": 18371, + "start": 21801, + "end": 21802, "loc": { "start": { - "line": 369, + "line": 473, "column": 41 }, "end": { - "line": 369, + "line": 473, "column": 42 } } @@ -98208,15 +122381,15 @@ "binop": null }, "value": "buffer", - "start": 18371, - "end": 18377, + "start": 21802, + "end": 21808, "loc": { "start": { - "line": 369, + "line": 473, "column": 42 }, "end": { - "line": 369, + "line": 473, "column": 48 } } @@ -98233,15 +122406,15 @@ "postfix": false, "binop": null }, - "start": 18377, - "end": 18378, + "start": 21808, + "end": 21809, "loc": { "start": { - "line": 369, + "line": 473, "column": 48 }, "end": { - "line": 369, + "line": 473, "column": 49 } } @@ -98259,15 +122432,15 @@ "binop": null, "updateContext": null }, - "start": 18378, - "end": 18379, + "start": 21809, + "end": 21810, "loc": { "start": { - "line": 369, + "line": 473, "column": 49 }, "end": { - "line": 369, + "line": 473, "column": 50 } } @@ -98285,15 +122458,15 @@ "binop": null }, "value": "normals", - "start": 18388, - "end": 18395, + "start": 21819, + "end": 21826, "loc": { "start": { - "line": 370, + "line": 474, "column": 8 }, "end": { - "line": 370, + "line": 474, "column": 15 } } @@ -98311,15 +122484,15 @@ "binop": null, "updateContext": null }, - "start": 18395, - "end": 18396, + "start": 21826, + "end": 21827, "loc": { "start": { - "line": 370, + "line": 474, "column": 15 }, "end": { - "line": 370, + "line": 474, "column": 16 } } @@ -98337,15 +122510,15 @@ "binop": null }, "value": "deflate", - "start": 18397, - "end": 18404, + "start": 21828, + "end": 21835, "loc": { "start": { - "line": 370, + "line": 474, "column": 17 }, "end": { - "line": 370, + "line": 474, "column": 24 } } @@ -98362,15 +122535,15 @@ "postfix": false, "binop": null }, - "start": 18404, - "end": 18405, + "start": 21835, + "end": 21836, "loc": { "start": { - "line": 370, + "line": 474, "column": 24 }, "end": { - "line": 370, + "line": 474, "column": 25 } } @@ -98388,15 +122561,15 @@ "binop": null }, "value": "data", - "start": 18405, - "end": 18409, + "start": 21836, + "end": 21840, "loc": { "start": { - "line": 370, + "line": 474, "column": 25 }, "end": { - "line": 370, + "line": 474, "column": 29 } } @@ -98414,15 +122587,15 @@ "binop": null, "updateContext": null }, - "start": 18409, - "end": 18410, + "start": 21840, + "end": 21841, "loc": { "start": { - "line": 370, + "line": 474, "column": 29 }, "end": { - "line": 370, + "line": 474, "column": 30 } } @@ -98440,15 +122613,15 @@ "binop": null }, "value": "normals", - "start": 18410, - "end": 18417, + "start": 21841, + "end": 21848, "loc": { "start": { - "line": 370, + "line": 474, "column": 30 }, "end": { - "line": 370, + "line": 474, "column": 37 } } @@ -98466,15 +122639,15 @@ "binop": null, "updateContext": null }, - "start": 18417, - "end": 18418, + "start": 21848, + "end": 21849, "loc": { "start": { - "line": 370, + "line": 474, "column": 37 }, "end": { - "line": 370, + "line": 474, "column": 38 } } @@ -98492,15 +122665,15 @@ "binop": null }, "value": "buffer", - "start": 18418, - "end": 18424, + "start": 21849, + "end": 21855, "loc": { "start": { - "line": 370, + "line": 474, "column": 38 }, "end": { - "line": 370, + "line": 474, "column": 44 } } @@ -98517,15 +122690,15 @@ "postfix": false, "binop": null }, - "start": 18424, - "end": 18425, + "start": 21855, + "end": 21856, "loc": { "start": { - "line": 370, + "line": 474, "column": 44 }, "end": { - "line": 370, + "line": 474, "column": 45 } } @@ -98543,15 +122716,15 @@ "binop": null, "updateContext": null }, - "start": 18425, - "end": 18426, + "start": 21856, + "end": 21857, "loc": { "start": { - "line": 370, + "line": 474, "column": 45 }, "end": { - "line": 370, + "line": 474, "column": 46 } } @@ -98569,15 +122742,15 @@ "binop": null }, "value": "colors", - "start": 18435, - "end": 18441, + "start": 21866, + "end": 21872, "loc": { "start": { - "line": 371, + "line": 475, "column": 8 }, "end": { - "line": 371, + "line": 475, "column": 14 } } @@ -98595,15 +122768,15 @@ "binop": null, "updateContext": null }, - "start": 18441, - "end": 18442, + "start": 21872, + "end": 21873, "loc": { "start": { - "line": 371, + "line": 475, "column": 14 }, "end": { - "line": 371, + "line": 475, "column": 15 } } @@ -98621,15 +122794,15 @@ "binop": null }, "value": "deflate", - "start": 18443, - "end": 18450, + "start": 21874, + "end": 21881, "loc": { "start": { - "line": 371, + "line": 475, "column": 16 }, "end": { - "line": 371, + "line": 475, "column": 23 } } @@ -98646,15 +122819,15 @@ "postfix": false, "binop": null }, - "start": 18450, - "end": 18451, + "start": 21881, + "end": 21882, "loc": { "start": { - "line": 371, + "line": 475, "column": 23 }, "end": { - "line": 371, + "line": 475, "column": 24 } } @@ -98672,15 +122845,15 @@ "binop": null }, "value": "data", - "start": 18451, - "end": 18455, + "start": 21882, + "end": 21886, "loc": { "start": { - "line": 371, + "line": 475, "column": 24 }, "end": { - "line": 371, + "line": 475, "column": 28 } } @@ -98698,15 +122871,15 @@ "binop": null, "updateContext": null }, - "start": 18455, - "end": 18456, + "start": 21886, + "end": 21887, "loc": { "start": { - "line": 371, + "line": 475, "column": 28 }, "end": { - "line": 371, + "line": 475, "column": 29 } } @@ -98724,15 +122897,15 @@ "binop": null }, "value": "colors", - "start": 18456, - "end": 18462, + "start": 21887, + "end": 21893, "loc": { "start": { - "line": 371, + "line": 475, "column": 29 }, "end": { - "line": 371, + "line": 475, "column": 35 } } @@ -98750,15 +122923,15 @@ "binop": null, "updateContext": null }, - "start": 18462, - "end": 18463, + "start": 21893, + "end": 21894, "loc": { "start": { - "line": 371, + "line": 475, "column": 35 }, "end": { - "line": 371, + "line": 475, "column": 36 } } @@ -98776,15 +122949,15 @@ "binop": null }, "value": "buffer", - "start": 18463, - "end": 18469, + "start": 21894, + "end": 21900, "loc": { "start": { - "line": 371, + "line": 475, "column": 36 }, "end": { - "line": 371, + "line": 475, "column": 42 } } @@ -98801,15 +122974,15 @@ "postfix": false, "binop": null }, - "start": 18469, - "end": 18470, + "start": 21900, + "end": 21901, "loc": { "start": { - "line": 371, + "line": 475, "column": 42 }, "end": { - "line": 371, + "line": 475, "column": 43 } } @@ -98827,15 +123000,15 @@ "binop": null, "updateContext": null }, - "start": 18470, - "end": 18471, + "start": 21901, + "end": 21902, "loc": { "start": { - "line": 371, + "line": 475, "column": 43 }, "end": { - "line": 371, + "line": 475, "column": 44 } } @@ -98853,15 +123026,15 @@ "binop": null }, "value": "uvs", - "start": 18480, - "end": 18483, + "start": 21911, + "end": 21914, "loc": { "start": { - "line": 372, + "line": 476, "column": 8 }, "end": { - "line": 372, + "line": 476, "column": 11 } } @@ -98879,15 +123052,15 @@ "binop": null, "updateContext": null }, - "start": 18483, - "end": 18484, + "start": 21914, + "end": 21915, "loc": { "start": { - "line": 372, + "line": 476, "column": 11 }, "end": { - "line": 372, + "line": 476, "column": 12 } } @@ -98905,15 +123078,15 @@ "binop": null }, "value": "deflate", - "start": 18485, - "end": 18492, + "start": 21916, + "end": 21923, "loc": { "start": { - "line": 372, + "line": 476, "column": 13 }, "end": { - "line": 372, + "line": 476, "column": 20 } } @@ -98930,15 +123103,15 @@ "postfix": false, "binop": null }, - "start": 18492, - "end": 18493, + "start": 21923, + "end": 21924, "loc": { "start": { - "line": 372, + "line": 476, "column": 20 }, "end": { - "line": 372, + "line": 476, "column": 21 } } @@ -98956,15 +123129,15 @@ "binop": null }, "value": "data", - "start": 18493, - "end": 18497, + "start": 21924, + "end": 21928, "loc": { "start": { - "line": 372, + "line": 476, "column": 21 }, "end": { - "line": 372, + "line": 476, "column": 25 } } @@ -98982,15 +123155,15 @@ "binop": null, "updateContext": null }, - "start": 18497, - "end": 18498, + "start": 21928, + "end": 21929, "loc": { "start": { - "line": 372, + "line": 476, "column": 25 }, "end": { - "line": 372, + "line": 476, "column": 26 } } @@ -99008,15 +123181,15 @@ "binop": null }, "value": "uvs", - "start": 18498, - "end": 18501, + "start": 21929, + "end": 21932, "loc": { "start": { - "line": 372, + "line": 476, "column": 26 }, "end": { - "line": 372, + "line": 476, "column": 29 } } @@ -99034,15 +123207,15 @@ "binop": null, "updateContext": null }, - "start": 18501, - "end": 18502, + "start": 21932, + "end": 21933, "loc": { "start": { - "line": 372, + "line": 476, "column": 29 }, "end": { - "line": 372, + "line": 476, "column": 30 } } @@ -99060,15 +123233,15 @@ "binop": null }, "value": "buffer", - "start": 18502, - "end": 18508, + "start": 21933, + "end": 21939, "loc": { "start": { - "line": 372, + "line": 476, "column": 30 }, "end": { - "line": 372, + "line": 476, "column": 36 } } @@ -99085,15 +123258,15 @@ "postfix": false, "binop": null }, - "start": 18508, - "end": 18509, + "start": 21939, + "end": 21940, "loc": { "start": { - "line": 372, + "line": 476, "column": 36 }, "end": { - "line": 372, + "line": 476, "column": 37 } } @@ -99111,15 +123284,15 @@ "binop": null, "updateContext": null }, - "start": 18509, - "end": 18510, + "start": 21940, + "end": 21941, "loc": { "start": { - "line": 372, + "line": 476, "column": 37 }, "end": { - "line": 372, + "line": 476, "column": 38 } } @@ -99137,15 +123310,15 @@ "binop": null }, "value": "indices", - "start": 18519, - "end": 18526, + "start": 21950, + "end": 21957, "loc": { "start": { - "line": 373, + "line": 477, "column": 8 }, "end": { - "line": 373, + "line": 477, "column": 15 } } @@ -99163,15 +123336,15 @@ "binop": null, "updateContext": null }, - "start": 18526, - "end": 18527, + "start": 21957, + "end": 21958, "loc": { "start": { - "line": 373, + "line": 477, "column": 15 }, "end": { - "line": 373, + "line": 477, "column": 16 } } @@ -99189,15 +123362,15 @@ "binop": null }, "value": "deflate", - "start": 18528, - "end": 18535, + "start": 21959, + "end": 21966, "loc": { "start": { - "line": 373, + "line": 477, "column": 17 }, "end": { - "line": 373, + "line": 477, "column": 24 } } @@ -99214,15 +123387,15 @@ "postfix": false, "binop": null }, - "start": 18535, - "end": 18536, + "start": 21966, + "end": 21967, "loc": { "start": { - "line": 373, + "line": 477, "column": 24 }, "end": { - "line": 373, + "line": 477, "column": 25 } } @@ -99240,15 +123413,15 @@ "binop": null }, "value": "data", - "start": 18536, - "end": 18540, + "start": 21967, + "end": 21971, "loc": { "start": { - "line": 373, + "line": 477, "column": 25 }, "end": { - "line": 373, + "line": 477, "column": 29 } } @@ -99266,15 +123439,15 @@ "binop": null, "updateContext": null }, - "start": 18540, - "end": 18541, + "start": 21971, + "end": 21972, "loc": { "start": { - "line": 373, + "line": 477, "column": 29 }, "end": { - "line": 373, + "line": 477, "column": 30 } } @@ -99292,15 +123465,15 @@ "binop": null }, "value": "indices", - "start": 18541, - "end": 18548, + "start": 21972, + "end": 21979, "loc": { "start": { - "line": 373, + "line": 477, "column": 30 }, "end": { - "line": 373, + "line": 477, "column": 37 } } @@ -99318,15 +123491,15 @@ "binop": null, "updateContext": null }, - "start": 18548, - "end": 18549, + "start": 21979, + "end": 21980, "loc": { "start": { - "line": 373, + "line": 477, "column": 37 }, "end": { - "line": 373, + "line": 477, "column": 38 } } @@ -99344,15 +123517,15 @@ "binop": null }, "value": "buffer", - "start": 18549, - "end": 18555, + "start": 21980, + "end": 21986, "loc": { "start": { - "line": 373, + "line": 477, "column": 38 }, "end": { - "line": 373, + "line": 477, "column": 44 } } @@ -99369,15 +123542,15 @@ "postfix": false, "binop": null }, - "start": 18555, - "end": 18556, + "start": 21986, + "end": 21987, "loc": { "start": { - "line": 373, + "line": 477, "column": 44 }, "end": { - "line": 373, + "line": 477, "column": 45 } } @@ -99395,15 +123568,15 @@ "binop": null, "updateContext": null }, - "start": 18556, - "end": 18557, + "start": 21987, + "end": 21988, "loc": { "start": { - "line": 373, + "line": 477, "column": 45 }, "end": { - "line": 373, + "line": 477, "column": 46 } } @@ -99421,15 +123594,15 @@ "binop": null }, "value": "edgeIndices", - "start": 18566, - "end": 18577, + "start": 21997, + "end": 22008, "loc": { "start": { - "line": 374, + "line": 478, "column": 8 }, "end": { - "line": 374, + "line": 478, "column": 19 } } @@ -99447,15 +123620,15 @@ "binop": null, "updateContext": null }, - "start": 18577, - "end": 18578, + "start": 22008, + "end": 22009, "loc": { "start": { - "line": 374, + "line": 478, "column": 19 }, "end": { - "line": 374, + "line": 478, "column": 20 } } @@ -99473,15 +123646,15 @@ "binop": null }, "value": "deflate", - "start": 18579, - "end": 18586, + "start": 22010, + "end": 22017, "loc": { "start": { - "line": 374, + "line": 478, "column": 21 }, "end": { - "line": 374, + "line": 478, "column": 28 } } @@ -99498,15 +123671,15 @@ "postfix": false, "binop": null }, - "start": 18586, - "end": 18587, + "start": 22017, + "end": 22018, "loc": { "start": { - "line": 374, + "line": 478, "column": 28 }, "end": { - "line": 374, + "line": 478, "column": 29 } } @@ -99524,15 +123697,15 @@ "binop": null }, "value": "data", - "start": 18587, - "end": 18591, + "start": 22018, + "end": 22022, "loc": { "start": { - "line": 374, + "line": 478, "column": 29 }, "end": { - "line": 374, + "line": 478, "column": 33 } } @@ -99550,15 +123723,15 @@ "binop": null, "updateContext": null }, - "start": 18591, - "end": 18592, + "start": 22022, + "end": 22023, "loc": { "start": { - "line": 374, + "line": 478, "column": 33 }, "end": { - "line": 374, + "line": 478, "column": 34 } } @@ -99576,15 +123749,15 @@ "binop": null }, "value": "edgeIndices", - "start": 18592, - "end": 18603, + "start": 22023, + "end": 22034, "loc": { "start": { - "line": 374, + "line": 478, "column": 34 }, "end": { - "line": 374, + "line": 478, "column": 45 } } @@ -99602,15 +123775,15 @@ "binop": null, "updateContext": null }, - "start": 18603, - "end": 18604, + "start": 22034, + "end": 22035, "loc": { "start": { - "line": 374, + "line": 478, "column": 45 }, "end": { - "line": 374, + "line": 478, "column": 46 } } @@ -99628,15 +123801,15 @@ "binop": null }, "value": "buffer", - "start": 18604, - "end": 18610, + "start": 22035, + "end": 22041, "loc": { "start": { - "line": 374, + "line": 478, "column": 46 }, "end": { - "line": 374, + "line": 478, "column": 52 } } @@ -99653,15 +123826,15 @@ "postfix": false, "binop": null }, - "start": 18610, - "end": 18611, + "start": 22041, + "end": 22042, "loc": { "start": { - "line": 374, + "line": 478, "column": 52 }, "end": { - "line": 374, + "line": 478, "column": 53 } } @@ -99679,15 +123852,15 @@ "binop": null, "updateContext": null }, - "start": 18611, - "end": 18612, + "start": 22042, + "end": 22043, "loc": { "start": { - "line": 374, + "line": 478, "column": 53 }, "end": { - "line": 374, + "line": 478, "column": 54 } } @@ -99705,15 +123878,15 @@ "binop": null }, "value": "eachTextureSetTextures", - "start": 18621, - "end": 18643, + "start": 22052, + "end": 22074, "loc": { "start": { - "line": 375, + "line": 479, "column": 8 }, "end": { - "line": 375, + "line": 479, "column": 30 } } @@ -99731,15 +123904,15 @@ "binop": null, "updateContext": null }, - "start": 18643, - "end": 18644, + "start": 22074, + "end": 22075, "loc": { "start": { - "line": 375, + "line": 479, "column": 30 }, "end": { - "line": 375, + "line": 479, "column": 31 } } @@ -99757,15 +123930,15 @@ "binop": null }, "value": "deflate", - "start": 18645, - "end": 18652, + "start": 22076, + "end": 22083, "loc": { "start": { - "line": 375, + "line": 479, "column": 32 }, "end": { - "line": 375, + "line": 479, "column": 39 } } @@ -99782,15 +123955,15 @@ "postfix": false, "binop": null }, - "start": 18652, - "end": 18653, + "start": 22083, + "end": 22084, "loc": { "start": { - "line": 375, + "line": 479, "column": 39 }, "end": { - "line": 375, + "line": 479, "column": 40 } } @@ -99808,15 +123981,15 @@ "binop": null }, "value": "data", - "start": 18653, - "end": 18657, + "start": 22084, + "end": 22088, "loc": { "start": { - "line": 375, + "line": 479, "column": 40 }, "end": { - "line": 375, + "line": 479, "column": 44 } } @@ -99834,15 +124007,15 @@ "binop": null, "updateContext": null }, - "start": 18657, - "end": 18658, + "start": 22088, + "end": 22089, "loc": { "start": { - "line": 375, + "line": 479, "column": 44 }, "end": { - "line": 375, + "line": 479, "column": 45 } } @@ -99860,15 +124033,15 @@ "binop": null }, "value": "eachTextureSetTextures", - "start": 18658, - "end": 18680, + "start": 22089, + "end": 22111, "loc": { "start": { - "line": 375, + "line": 479, "column": 45 }, "end": { - "line": 375, + "line": 479, "column": 67 } } @@ -99886,15 +124059,15 @@ "binop": null, "updateContext": null }, - "start": 18680, - "end": 18681, + "start": 22111, + "end": 22112, "loc": { "start": { - "line": 375, + "line": 479, "column": 67 }, "end": { - "line": 375, + "line": 479, "column": 68 } } @@ -99912,15 +124085,15 @@ "binop": null }, "value": "buffer", - "start": 18681, - "end": 18687, + "start": 22112, + "end": 22118, "loc": { "start": { - "line": 375, + "line": 479, "column": 68 }, "end": { - "line": 375, + "line": 479, "column": 74 } } @@ -99937,15 +124110,15 @@ "postfix": false, "binop": null }, - "start": 18687, - "end": 18688, + "start": 22118, + "end": 22119, "loc": { "start": { - "line": 375, + "line": 479, "column": 74 }, "end": { - "line": 375, + "line": 479, "column": 75 } } @@ -99963,15 +124136,15 @@ "binop": null, "updateContext": null }, - "start": 18688, - "end": 18689, + "start": 22119, + "end": 22120, "loc": { "start": { - "line": 375, + "line": 479, "column": 75 }, "end": { - "line": 375, + "line": 479, "column": 76 } } @@ -99989,15 +124162,15 @@ "binop": null }, "value": "matrices", - "start": 18698, - "end": 18706, + "start": 22129, + "end": 22137, "loc": { "start": { - "line": 376, + "line": 480, "column": 8 }, "end": { - "line": 376, + "line": 480, "column": 16 } } @@ -100015,15 +124188,15 @@ "binop": null, "updateContext": null }, - "start": 18706, - "end": 18707, + "start": 22137, + "end": 22138, "loc": { "start": { - "line": 376, + "line": 480, "column": 16 }, "end": { - "line": 376, + "line": 480, "column": 17 } } @@ -100041,15 +124214,15 @@ "binop": null }, "value": "deflate", - "start": 18708, - "end": 18715, + "start": 22139, + "end": 22146, "loc": { "start": { - "line": 376, + "line": 480, "column": 18 }, "end": { - "line": 376, + "line": 480, "column": 25 } } @@ -100066,15 +124239,15 @@ "postfix": false, "binop": null }, - "start": 18715, - "end": 18716, + "start": 22146, + "end": 22147, "loc": { "start": { - "line": 376, + "line": 480, "column": 25 }, "end": { - "line": 376, + "line": 480, "column": 26 } } @@ -100092,15 +124265,15 @@ "binop": null }, "value": "data", - "start": 18716, - "end": 18720, + "start": 22147, + "end": 22151, "loc": { "start": { - "line": 376, + "line": 480, "column": 26 }, "end": { - "line": 376, + "line": 480, "column": 30 } } @@ -100118,15 +124291,15 @@ "binop": null, "updateContext": null }, - "start": 18720, - "end": 18721, + "start": 22151, + "end": 22152, "loc": { "start": { - "line": 376, + "line": 480, "column": 30 }, "end": { - "line": 376, + "line": 480, "column": 31 } } @@ -100144,15 +124317,15 @@ "binop": null }, "value": "matrices", - "start": 18721, - "end": 18729, + "start": 22152, + "end": 22160, "loc": { "start": { - "line": 376, + "line": 480, "column": 31 }, "end": { - "line": 376, + "line": 480, "column": 39 } } @@ -100170,15 +124343,15 @@ "binop": null, "updateContext": null }, - "start": 18729, - "end": 18730, + "start": 22160, + "end": 22161, "loc": { "start": { - "line": 376, + "line": 480, "column": 39 }, "end": { - "line": 376, + "line": 480, "column": 40 } } @@ -100196,15 +124369,15 @@ "binop": null }, "value": "buffer", - "start": 18730, - "end": 18736, + "start": 22161, + "end": 22167, "loc": { "start": { - "line": 376, + "line": 480, "column": 40 }, "end": { - "line": 376, + "line": 480, "column": 46 } } @@ -100221,15 +124394,15 @@ "postfix": false, "binop": null }, - "start": 18736, - "end": 18737, + "start": 22167, + "end": 22168, "loc": { "start": { - "line": 376, + "line": 480, "column": 46 }, "end": { - "line": 376, + "line": 480, "column": 47 } } @@ -100247,15 +124420,15 @@ "binop": null, "updateContext": null }, - "start": 18737, - "end": 18738, + "start": 22168, + "end": 22169, "loc": { "start": { - "line": 376, + "line": 480, "column": 47 }, "end": { - "line": 376, + "line": 480, "column": 48 } } @@ -100273,15 +124446,15 @@ "binop": null }, "value": "reusedGeometriesDecodeMatrix", - "start": 18747, - "end": 18775, + "start": 22178, + "end": 22206, "loc": { "start": { - "line": 377, + "line": 481, "column": 8 }, "end": { - "line": 377, + "line": 481, "column": 36 } } @@ -100299,15 +124472,15 @@ "binop": null, "updateContext": null }, - "start": 18775, - "end": 18776, + "start": 22206, + "end": 22207, "loc": { "start": { - "line": 377, + "line": 481, "column": 36 }, "end": { - "line": 377, + "line": 481, "column": 37 } } @@ -100325,15 +124498,15 @@ "binop": null }, "value": "deflate", - "start": 18777, - "end": 18784, + "start": 22208, + "end": 22215, "loc": { "start": { - "line": 377, + "line": 481, "column": 38 }, "end": { - "line": 377, + "line": 481, "column": 45 } } @@ -100350,15 +124523,15 @@ "postfix": false, "binop": null }, - "start": 18784, - "end": 18785, + "start": 22215, + "end": 22216, "loc": { "start": { - "line": 377, + "line": 481, "column": 45 }, "end": { - "line": 377, + "line": 481, "column": 46 } } @@ -100376,15 +124549,15 @@ "binop": null }, "value": "data", - "start": 18785, - "end": 18789, + "start": 22216, + "end": 22220, "loc": { "start": { - "line": 377, + "line": 481, "column": 46 }, "end": { - "line": 377, + "line": 481, "column": 50 } } @@ -100402,15 +124575,15 @@ "binop": null, "updateContext": null }, - "start": 18789, - "end": 18790, + "start": 22220, + "end": 22221, "loc": { "start": { - "line": 377, + "line": 481, "column": 50 }, "end": { - "line": 377, + "line": 481, "column": 51 } } @@ -100428,15 +124601,15 @@ "binop": null }, "value": "reusedGeometriesDecodeMatrix", - "start": 18790, - "end": 18818, + "start": 22221, + "end": 22249, "loc": { "start": { - "line": 377, + "line": 481, "column": 51 }, "end": { - "line": 377, + "line": 481, "column": 79 } } @@ -100454,15 +124627,15 @@ "binop": null, "updateContext": null }, - "start": 18818, - "end": 18819, + "start": 22249, + "end": 22250, "loc": { "start": { - "line": 377, + "line": 481, "column": 79 }, "end": { - "line": 377, + "line": 481, "column": 80 } } @@ -100480,15 +124653,15 @@ "binop": null }, "value": "buffer", - "start": 18819, - "end": 18825, + "start": 22250, + "end": 22256, "loc": { "start": { - "line": 377, + "line": 481, "column": 80 }, "end": { - "line": 377, + "line": 481, "column": 86 } } @@ -100505,15 +124678,15 @@ "postfix": false, "binop": null }, - "start": 18825, - "end": 18826, + "start": 22256, + "end": 22257, "loc": { "start": { - "line": 377, + "line": 481, "column": 86 }, "end": { - "line": 377, + "line": 481, "column": 87 } } @@ -100531,15 +124704,15 @@ "binop": null, "updateContext": null }, - "start": 18826, - "end": 18827, + "start": 22257, + "end": 22258, "loc": { "start": { - "line": 377, + "line": 481, "column": 87 }, "end": { - "line": 377, + "line": 481, "column": 88 } } @@ -100557,15 +124730,15 @@ "binop": null }, "value": "eachGeometryPrimitiveType", - "start": 18836, - "end": 18861, + "start": 22267, + "end": 22292, "loc": { "start": { - "line": 378, + "line": 482, "column": 8 }, "end": { - "line": 378, + "line": 482, "column": 33 } } @@ -100583,15 +124756,15 @@ "binop": null, "updateContext": null }, - "start": 18861, - "end": 18862, + "start": 22292, + "end": 22293, "loc": { "start": { - "line": 378, + "line": 482, "column": 33 }, "end": { - "line": 378, + "line": 482, "column": 34 } } @@ -100609,15 +124782,15 @@ "binop": null }, "value": "deflate", - "start": 18863, - "end": 18870, + "start": 22294, + "end": 22301, "loc": { "start": { - "line": 378, + "line": 482, "column": 35 }, "end": { - "line": 378, + "line": 482, "column": 42 } } @@ -100634,15 +124807,15 @@ "postfix": false, "binop": null }, - "start": 18870, - "end": 18871, + "start": 22301, + "end": 22302, "loc": { "start": { - "line": 378, + "line": 482, "column": 42 }, "end": { - "line": 378, + "line": 482, "column": 43 } } @@ -100660,15 +124833,15 @@ "binop": null }, "value": "data", - "start": 18871, - "end": 18875, + "start": 22302, + "end": 22306, "loc": { "start": { - "line": 378, + "line": 482, "column": 43 }, "end": { - "line": 378, + "line": 482, "column": 47 } } @@ -100686,15 +124859,15 @@ "binop": null, "updateContext": null }, - "start": 18875, - "end": 18876, + "start": 22306, + "end": 22307, "loc": { "start": { - "line": 378, + "line": 482, "column": 47 }, "end": { - "line": 378, + "line": 482, "column": 48 } } @@ -100712,15 +124885,15 @@ "binop": null }, "value": "eachGeometryPrimitiveType", - "start": 18876, - "end": 18901, + "start": 22307, + "end": 22332, "loc": { "start": { - "line": 378, + "line": 482, "column": 48 }, "end": { - "line": 378, + "line": 482, "column": 73 } } @@ -100738,15 +124911,15 @@ "binop": null, "updateContext": null }, - "start": 18901, - "end": 18902, + "start": 22332, + "end": 22333, "loc": { "start": { - "line": 378, + "line": 482, "column": 73 }, "end": { - "line": 378, + "line": 482, "column": 74 } } @@ -100764,15 +124937,15 @@ "binop": null }, "value": "buffer", - "start": 18902, - "end": 18908, + "start": 22333, + "end": 22339, "loc": { "start": { - "line": 378, + "line": 482, "column": 74 }, "end": { - "line": 378, + "line": 482, "column": 80 } } @@ -100789,15 +124962,15 @@ "postfix": false, "binop": null }, - "start": 18908, - "end": 18909, + "start": 22339, + "end": 22340, "loc": { "start": { - "line": 378, + "line": 482, "column": 80 }, "end": { - "line": 378, + "line": 482, "column": 81 } } @@ -100815,15 +124988,15 @@ "binop": null, "updateContext": null }, - "start": 18909, - "end": 18910, + "start": 22340, + "end": 22341, "loc": { "start": { - "line": 378, + "line": 482, "column": 81 }, "end": { - "line": 378, + "line": 482, "column": 82 } } @@ -100841,15 +125014,15 @@ "binop": null }, "value": "eachGeometryPositionsPortion", - "start": 18919, - "end": 18947, + "start": 22350, + "end": 22378, "loc": { "start": { - "line": 379, + "line": 483, "column": 8 }, "end": { - "line": 379, + "line": 483, "column": 36 } } @@ -100867,15 +125040,15 @@ "binop": null, "updateContext": null }, - "start": 18947, - "end": 18948, + "start": 22378, + "end": 22379, "loc": { "start": { - "line": 379, + "line": 483, "column": 36 }, "end": { - "line": 379, + "line": 483, "column": 37 } } @@ -100893,15 +125066,15 @@ "binop": null }, "value": "deflate", - "start": 18949, - "end": 18956, + "start": 22380, + "end": 22387, "loc": { "start": { - "line": 379, + "line": 483, "column": 38 }, "end": { - "line": 379, + "line": 483, "column": 45 } } @@ -100918,15 +125091,15 @@ "postfix": false, "binop": null }, - "start": 18956, - "end": 18957, + "start": 22387, + "end": 22388, "loc": { "start": { - "line": 379, + "line": 483, "column": 45 }, "end": { - "line": 379, + "line": 483, "column": 46 } } @@ -100944,15 +125117,15 @@ "binop": null }, "value": "data", - "start": 18957, - "end": 18961, + "start": 22388, + "end": 22392, "loc": { "start": { - "line": 379, + "line": 483, "column": 46 }, "end": { - "line": 379, + "line": 483, "column": 50 } } @@ -100970,15 +125143,15 @@ "binop": null, "updateContext": null }, - "start": 18961, - "end": 18962, + "start": 22392, + "end": 22393, "loc": { "start": { - "line": 379, + "line": 483, "column": 50 }, "end": { - "line": 379, + "line": 483, "column": 51 } } @@ -100996,15 +125169,15 @@ "binop": null }, "value": "eachGeometryPositionsPortion", - "start": 18962, - "end": 18990, + "start": 22393, + "end": 22421, "loc": { "start": { - "line": 379, + "line": 483, "column": 51 }, "end": { - "line": 379, + "line": 483, "column": 79 } } @@ -101022,15 +125195,15 @@ "binop": null, "updateContext": null }, - "start": 18990, - "end": 18991, + "start": 22421, + "end": 22422, "loc": { "start": { - "line": 379, + "line": 483, "column": 79 }, "end": { - "line": 379, + "line": 483, "column": 80 } } @@ -101048,15 +125221,15 @@ "binop": null }, "value": "buffer", - "start": 18991, - "end": 18997, + "start": 22422, + "end": 22428, "loc": { "start": { - "line": 379, + "line": 483, "column": 80 }, "end": { - "line": 379, + "line": 483, "column": 86 } } @@ -101073,15 +125246,15 @@ "postfix": false, "binop": null }, - "start": 18997, - "end": 18998, + "start": 22428, + "end": 22429, "loc": { "start": { - "line": 379, + "line": 483, "column": 86 }, "end": { - "line": 379, + "line": 483, "column": 87 } } @@ -101099,15 +125272,15 @@ "binop": null, "updateContext": null }, - "start": 18998, - "end": 18999, + "start": 22429, + "end": 22430, "loc": { "start": { - "line": 379, + "line": 483, "column": 87 }, "end": { - "line": 379, + "line": 483, "column": 88 } } @@ -101125,15 +125298,15 @@ "binop": null }, "value": "eachGeometryNormalsPortion", - "start": 19008, - "end": 19034, + "start": 22439, + "end": 22465, "loc": { "start": { - "line": 380, + "line": 484, "column": 8 }, "end": { - "line": 380, + "line": 484, "column": 34 } } @@ -101151,15 +125324,15 @@ "binop": null, "updateContext": null }, - "start": 19034, - "end": 19035, + "start": 22465, + "end": 22466, "loc": { "start": { - "line": 380, + "line": 484, "column": 34 }, "end": { - "line": 380, + "line": 484, "column": 35 } } @@ -101177,15 +125350,15 @@ "binop": null }, "value": "deflate", - "start": 19036, - "end": 19043, + "start": 22467, + "end": 22474, "loc": { "start": { - "line": 380, + "line": 484, "column": 36 }, "end": { - "line": 380, + "line": 484, "column": 43 } } @@ -101202,15 +125375,15 @@ "postfix": false, "binop": null }, - "start": 19043, - "end": 19044, + "start": 22474, + "end": 22475, "loc": { "start": { - "line": 380, + "line": 484, "column": 43 }, "end": { - "line": 380, + "line": 484, "column": 44 } } @@ -101228,15 +125401,15 @@ "binop": null }, "value": "data", - "start": 19044, - "end": 19048, + "start": 22475, + "end": 22479, "loc": { "start": { - "line": 380, + "line": 484, "column": 44 }, "end": { - "line": 380, + "line": 484, "column": 48 } } @@ -101254,15 +125427,15 @@ "binop": null, "updateContext": null }, - "start": 19048, - "end": 19049, + "start": 22479, + "end": 22480, "loc": { "start": { - "line": 380, + "line": 484, "column": 48 }, "end": { - "line": 380, + "line": 484, "column": 49 } } @@ -101280,15 +125453,15 @@ "binop": null }, "value": "eachGeometryNormalsPortion", - "start": 19049, - "end": 19075, + "start": 22480, + "end": 22506, "loc": { "start": { - "line": 380, + "line": 484, "column": 49 }, "end": { - "line": 380, + "line": 484, "column": 75 } } @@ -101306,15 +125479,15 @@ "binop": null, "updateContext": null }, - "start": 19075, - "end": 19076, + "start": 22506, + "end": 22507, "loc": { "start": { - "line": 380, + "line": 484, "column": 75 }, "end": { - "line": 380, + "line": 484, "column": 76 } } @@ -101332,15 +125505,15 @@ "binop": null }, "value": "buffer", - "start": 19076, - "end": 19082, + "start": 22507, + "end": 22513, "loc": { "start": { - "line": 380, + "line": 484, "column": 76 }, "end": { - "line": 380, + "line": 484, "column": 82 } } @@ -101357,15 +125530,15 @@ "postfix": false, "binop": null }, - "start": 19082, - "end": 19083, + "start": 22513, + "end": 22514, "loc": { "start": { - "line": 380, + "line": 484, "column": 82 }, "end": { - "line": 380, + "line": 484, "column": 83 } } @@ -101383,15 +125556,15 @@ "binop": null, "updateContext": null }, - "start": 19083, - "end": 19084, + "start": 22514, + "end": 22515, "loc": { "start": { - "line": 380, + "line": 484, "column": 83 }, "end": { - "line": 380, + "line": 484, "column": 84 } } @@ -101409,15 +125582,15 @@ "binop": null }, "value": "eachGeometryColorsPortion", - "start": 19093, - "end": 19118, + "start": 22524, + "end": 22549, "loc": { "start": { - "line": 381, + "line": 485, "column": 8 }, "end": { - "line": 381, + "line": 485, "column": 33 } } @@ -101435,15 +125608,15 @@ "binop": null, "updateContext": null }, - "start": 19118, - "end": 19119, + "start": 22549, + "end": 22550, "loc": { "start": { - "line": 381, + "line": 485, "column": 33 }, "end": { - "line": 381, + "line": 485, "column": 34 } } @@ -101461,15 +125634,15 @@ "binop": null }, "value": "deflate", - "start": 19120, - "end": 19127, + "start": 22551, + "end": 22558, "loc": { "start": { - "line": 381, + "line": 485, "column": 35 }, "end": { - "line": 381, + "line": 485, "column": 42 } } @@ -101486,15 +125659,15 @@ "postfix": false, "binop": null }, - "start": 19127, - "end": 19128, + "start": 22558, + "end": 22559, "loc": { "start": { - "line": 381, + "line": 485, "column": 42 }, "end": { - "line": 381, + "line": 485, "column": 43 } } @@ -101512,15 +125685,15 @@ "binop": null }, "value": "data", - "start": 19128, - "end": 19132, + "start": 22559, + "end": 22563, "loc": { "start": { - "line": 381, + "line": 485, "column": 43 }, "end": { - "line": 381, + "line": 485, "column": 47 } } @@ -101538,15 +125711,15 @@ "binop": null, "updateContext": null }, - "start": 19132, - "end": 19133, + "start": 22563, + "end": 22564, "loc": { "start": { - "line": 381, + "line": 485, "column": 47 }, "end": { - "line": 381, + "line": 485, "column": 48 } } @@ -101564,15 +125737,15 @@ "binop": null }, "value": "eachGeometryColorsPortion", - "start": 19133, - "end": 19158, + "start": 22564, + "end": 22589, "loc": { "start": { - "line": 381, + "line": 485, "column": 48 }, "end": { - "line": 381, + "line": 485, "column": 73 } } @@ -101590,15 +125763,15 @@ "binop": null, "updateContext": null }, - "start": 19158, - "end": 19159, + "start": 22589, + "end": 22590, "loc": { "start": { - "line": 381, + "line": 485, "column": 73 }, "end": { - "line": 381, + "line": 485, "column": 74 } } @@ -101616,15 +125789,15 @@ "binop": null }, "value": "buffer", - "start": 19159, - "end": 19165, + "start": 22590, + "end": 22596, "loc": { "start": { - "line": 381, + "line": 485, "column": 74 }, "end": { - "line": 381, + "line": 485, "column": 80 } } @@ -101641,15 +125814,15 @@ "postfix": false, "binop": null }, - "start": 19165, - "end": 19166, + "start": 22596, + "end": 22597, "loc": { "start": { - "line": 381, + "line": 485, "column": 80 }, "end": { - "line": 381, + "line": 485, "column": 81 } } @@ -101667,15 +125840,15 @@ "binop": null, "updateContext": null }, - "start": 19166, - "end": 19167, + "start": 22597, + "end": 22598, "loc": { "start": { - "line": 381, + "line": 485, "column": 81 }, "end": { - "line": 381, + "line": 485, "column": 82 } } @@ -101693,15 +125866,15 @@ "binop": null }, "value": "eachGeometryUVsPortion", - "start": 19176, - "end": 19198, + "start": 22607, + "end": 22629, "loc": { "start": { - "line": 382, + "line": 486, "column": 8 }, "end": { - "line": 382, + "line": 486, "column": 30 } } @@ -101719,15 +125892,15 @@ "binop": null, "updateContext": null }, - "start": 19198, - "end": 19199, + "start": 22629, + "end": 22630, "loc": { "start": { - "line": 382, + "line": 486, "column": 30 }, "end": { - "line": 382, + "line": 486, "column": 31 } } @@ -101745,15 +125918,15 @@ "binop": null }, "value": "deflate", - "start": 19200, - "end": 19207, + "start": 22631, + "end": 22638, "loc": { "start": { - "line": 382, + "line": 486, "column": 32 }, "end": { - "line": 382, + "line": 486, "column": 39 } } @@ -101770,15 +125943,15 @@ "postfix": false, "binop": null }, - "start": 19207, - "end": 19208, + "start": 22638, + "end": 22639, "loc": { "start": { - "line": 382, + "line": 486, "column": 39 }, "end": { - "line": 382, + "line": 486, "column": 40 } } @@ -101796,15 +125969,15 @@ "binop": null }, "value": "data", - "start": 19208, - "end": 19212, + "start": 22639, + "end": 22643, "loc": { "start": { - "line": 382, + "line": 486, "column": 40 }, "end": { - "line": 382, + "line": 486, "column": 44 } } @@ -101822,15 +125995,15 @@ "binop": null, "updateContext": null }, - "start": 19212, - "end": 19213, + "start": 22643, + "end": 22644, "loc": { "start": { - "line": 382, + "line": 486, "column": 44 }, "end": { - "line": 382, + "line": 486, "column": 45 } } @@ -101848,15 +126021,15 @@ "binop": null }, "value": "eachGeometryUVsPortion", - "start": 19213, - "end": 19235, + "start": 22644, + "end": 22666, "loc": { "start": { - "line": 382, + "line": 486, "column": 45 }, "end": { - "line": 382, + "line": 486, "column": 67 } } @@ -101874,15 +126047,15 @@ "binop": null, "updateContext": null }, - "start": 19235, - "end": 19236, + "start": 22666, + "end": 22667, "loc": { "start": { - "line": 382, + "line": 486, "column": 67 }, "end": { - "line": 382, + "line": 486, "column": 68 } } @@ -101900,15 +126073,15 @@ "binop": null }, "value": "buffer", - "start": 19236, - "end": 19242, + "start": 22667, + "end": 22673, "loc": { "start": { - "line": 382, + "line": 486, "column": 68 }, "end": { - "line": 382, + "line": 486, "column": 74 } } @@ -101925,15 +126098,15 @@ "postfix": false, "binop": null }, - "start": 19242, - "end": 19243, + "start": 22673, + "end": 22674, "loc": { "start": { - "line": 382, + "line": 486, "column": 74 }, "end": { - "line": 382, + "line": 486, "column": 75 } } @@ -101951,15 +126124,15 @@ "binop": null, "updateContext": null }, - "start": 19243, - "end": 19244, + "start": 22674, + "end": 22675, "loc": { "start": { - "line": 382, + "line": 486, "column": 75 }, "end": { - "line": 382, + "line": 486, "column": 76 } } @@ -101977,15 +126150,15 @@ "binop": null }, "value": "eachGeometryIndicesPortion", - "start": 19253, - "end": 19279, + "start": 22684, + "end": 22710, "loc": { "start": { - "line": 383, + "line": 487, "column": 8 }, "end": { - "line": 383, + "line": 487, "column": 34 } } @@ -102003,15 +126176,15 @@ "binop": null, "updateContext": null }, - "start": 19279, - "end": 19280, + "start": 22710, + "end": 22711, "loc": { "start": { - "line": 383, + "line": 487, "column": 34 }, "end": { - "line": 383, + "line": 487, "column": 35 } } @@ -102029,15 +126202,15 @@ "binop": null }, "value": "deflate", - "start": 19281, - "end": 19288, + "start": 22712, + "end": 22719, "loc": { "start": { - "line": 383, + "line": 487, "column": 36 }, "end": { - "line": 383, + "line": 487, "column": 43 } } @@ -102054,15 +126227,15 @@ "postfix": false, "binop": null }, - "start": 19288, - "end": 19289, + "start": 22719, + "end": 22720, "loc": { "start": { - "line": 383, + "line": 487, "column": 43 }, "end": { - "line": 383, + "line": 487, "column": 44 } } @@ -102080,15 +126253,15 @@ "binop": null }, "value": "data", - "start": 19289, - "end": 19293, + "start": 22720, + "end": 22724, "loc": { "start": { - "line": 383, + "line": 487, "column": 44 }, "end": { - "line": 383, + "line": 487, "column": 48 } } @@ -102106,15 +126279,15 @@ "binop": null, "updateContext": null }, - "start": 19293, - "end": 19294, + "start": 22724, + "end": 22725, "loc": { "start": { - "line": 383, + "line": 487, "column": 48 }, "end": { - "line": 383, + "line": 487, "column": 49 } } @@ -102132,15 +126305,15 @@ "binop": null }, "value": "eachGeometryIndicesPortion", - "start": 19294, - "end": 19320, + "start": 22725, + "end": 22751, "loc": { "start": { - "line": 383, + "line": 487, "column": 49 }, "end": { - "line": 383, + "line": 487, "column": 75 } } @@ -102158,15 +126331,15 @@ "binop": null, "updateContext": null }, - "start": 19320, - "end": 19321, + "start": 22751, + "end": 22752, "loc": { "start": { - "line": 383, + "line": 487, "column": 75 }, "end": { - "line": 383, + "line": 487, "column": 76 } } @@ -102184,15 +126357,15 @@ "binop": null }, "value": "buffer", - "start": 19321, - "end": 19327, + "start": 22752, + "end": 22758, "loc": { "start": { - "line": 383, + "line": 487, "column": 76 }, "end": { - "line": 383, + "line": 487, "column": 82 } } @@ -102209,15 +126382,15 @@ "postfix": false, "binop": null }, - "start": 19327, - "end": 19328, + "start": 22758, + "end": 22759, "loc": { "start": { - "line": 383, + "line": 487, "column": 82 }, "end": { - "line": 383, + "line": 487, "column": 83 } } @@ -102235,15 +126408,15 @@ "binop": null, "updateContext": null }, - "start": 19328, - "end": 19329, + "start": 22759, + "end": 22760, "loc": { "start": { - "line": 383, + "line": 487, "column": 83 }, "end": { - "line": 383, + "line": 487, "column": 84 } } @@ -102261,15 +126434,15 @@ "binop": null }, "value": "eachGeometryEdgeIndicesPortion", - "start": 19338, - "end": 19368, + "start": 22769, + "end": 22799, "loc": { "start": { - "line": 384, + "line": 488, "column": 8 }, "end": { - "line": 384, + "line": 488, "column": 38 } } @@ -102287,15 +126460,15 @@ "binop": null, "updateContext": null }, - "start": 19368, - "end": 19369, + "start": 22799, + "end": 22800, "loc": { "start": { - "line": 384, + "line": 488, "column": 38 }, "end": { - "line": 384, + "line": 488, "column": 39 } } @@ -102313,15 +126486,15 @@ "binop": null }, "value": "deflate", - "start": 19370, - "end": 19377, + "start": 22801, + "end": 22808, "loc": { "start": { - "line": 384, + "line": 488, "column": 40 }, "end": { - "line": 384, + "line": 488, "column": 47 } } @@ -102338,15 +126511,15 @@ "postfix": false, "binop": null }, - "start": 19377, - "end": 19378, + "start": 22808, + "end": 22809, "loc": { "start": { - "line": 384, + "line": 488, "column": 47 }, "end": { - "line": 384, + "line": 488, "column": 48 } } @@ -102364,15 +126537,15 @@ "binop": null }, "value": "data", - "start": 19378, - "end": 19382, + "start": 22809, + "end": 22813, "loc": { "start": { - "line": 384, + "line": 488, "column": 48 }, "end": { - "line": 384, + "line": 488, "column": 52 } } @@ -102390,15 +126563,15 @@ "binop": null, "updateContext": null }, - "start": 19382, - "end": 19383, + "start": 22813, + "end": 22814, "loc": { "start": { - "line": 384, + "line": 488, "column": 52 }, "end": { - "line": 384, + "line": 488, "column": 53 } } @@ -102416,15 +126589,15 @@ "binop": null }, "value": "eachGeometryEdgeIndicesPortion", - "start": 19383, - "end": 19413, + "start": 22814, + "end": 22844, "loc": { "start": { - "line": 384, + "line": 488, "column": 53 }, "end": { - "line": 384, + "line": 488, "column": 83 } } @@ -102442,15 +126615,15 @@ "binop": null, "updateContext": null }, - "start": 19413, - "end": 19414, + "start": 22844, + "end": 22845, "loc": { "start": { - "line": 384, + "line": 488, "column": 83 }, "end": { - "line": 384, + "line": 488, "column": 84 } } @@ -102468,15 +126641,15 @@ "binop": null }, "value": "buffer", - "start": 19414, - "end": 19420, + "start": 22845, + "end": 22851, "loc": { "start": { - "line": 384, + "line": 488, "column": 84 }, "end": { - "line": 384, + "line": 488, "column": 90 } } @@ -102493,15 +126666,15 @@ "postfix": false, "binop": null }, - "start": 19420, - "end": 19421, + "start": 22851, + "end": 22852, "loc": { "start": { - "line": 384, + "line": 488, "column": 90 }, "end": { - "line": 384, + "line": 488, "column": 91 } } @@ -102519,15 +126692,15 @@ "binop": null, "updateContext": null }, - "start": 19421, - "end": 19422, + "start": 22852, + "end": 22853, "loc": { "start": { - "line": 384, + "line": 488, "column": 91 }, "end": { - "line": 384, + "line": 488, "column": 92 } } @@ -102545,15 +126718,15 @@ "binop": null }, "value": "eachMeshGeometriesPortion", - "start": 19431, - "end": 19456, + "start": 22862, + "end": 22887, "loc": { "start": { - "line": 385, + "line": 489, "column": 8 }, "end": { - "line": 385, + "line": 489, "column": 33 } } @@ -102571,15 +126744,15 @@ "binop": null, "updateContext": null }, - "start": 19456, - "end": 19457, + "start": 22887, + "end": 22888, "loc": { "start": { - "line": 385, + "line": 489, "column": 33 }, "end": { - "line": 385, + "line": 489, "column": 34 } } @@ -102597,15 +126770,15 @@ "binop": null }, "value": "deflate", - "start": 19458, - "end": 19465, + "start": 22889, + "end": 22896, "loc": { "start": { - "line": 385, + "line": 489, "column": 35 }, "end": { - "line": 385, + "line": 489, "column": 42 } } @@ -102622,15 +126795,15 @@ "postfix": false, "binop": null }, - "start": 19465, - "end": 19466, + "start": 22896, + "end": 22897, "loc": { "start": { - "line": 385, + "line": 489, "column": 42 }, "end": { - "line": 385, + "line": 489, "column": 43 } } @@ -102648,15 +126821,15 @@ "binop": null }, "value": "data", - "start": 19466, - "end": 19470, + "start": 22897, + "end": 22901, "loc": { "start": { - "line": 385, + "line": 489, "column": 43 }, "end": { - "line": 385, + "line": 489, "column": 47 } } @@ -102674,15 +126847,15 @@ "binop": null, "updateContext": null }, - "start": 19470, - "end": 19471, + "start": 22901, + "end": 22902, "loc": { "start": { - "line": 385, + "line": 489, "column": 47 }, "end": { - "line": 385, + "line": 489, "column": 48 } } @@ -102700,15 +126873,15 @@ "binop": null }, "value": "eachMeshGeometriesPortion", - "start": 19471, - "end": 19496, + "start": 22902, + "end": 22927, "loc": { "start": { - "line": 385, + "line": 489, "column": 48 }, "end": { - "line": 385, + "line": 489, "column": 73 } } @@ -102726,15 +126899,15 @@ "binop": null, "updateContext": null }, - "start": 19496, - "end": 19497, + "start": 22927, + "end": 22928, "loc": { "start": { - "line": 385, + "line": 489, "column": 73 }, "end": { - "line": 385, + "line": 489, "column": 74 } } @@ -102752,15 +126925,15 @@ "binop": null }, "value": "buffer", - "start": 19497, - "end": 19503, + "start": 22928, + "end": 22934, "loc": { "start": { - "line": 385, + "line": 489, "column": 74 }, "end": { - "line": 385, + "line": 489, "column": 80 } } @@ -102777,15 +126950,15 @@ "postfix": false, "binop": null }, - "start": 19503, - "end": 19504, + "start": 22934, + "end": 22935, "loc": { "start": { - "line": 385, + "line": 489, "column": 80 }, "end": { - "line": 385, + "line": 489, "column": 81 } } @@ -102803,15 +126976,15 @@ "binop": null, "updateContext": null }, - "start": 19504, - "end": 19505, + "start": 22935, + "end": 22936, "loc": { "start": { - "line": 385, + "line": 489, "column": 81 }, "end": { - "line": 385, + "line": 489, "column": 82 } } @@ -102829,15 +127002,15 @@ "binop": null }, "value": "eachMeshMatricesPortion", - "start": 19514, - "end": 19537, + "start": 22945, + "end": 22968, "loc": { "start": { - "line": 386, + "line": 490, "column": 8 }, "end": { - "line": 386, + "line": 490, "column": 31 } } @@ -102855,15 +127028,15 @@ "binop": null, "updateContext": null }, - "start": 19537, - "end": 19538, + "start": 22968, + "end": 22969, "loc": { "start": { - "line": 386, + "line": 490, "column": 31 }, "end": { - "line": 386, + "line": 490, "column": 32 } } @@ -102881,15 +127054,15 @@ "binop": null }, "value": "deflate", - "start": 19539, - "end": 19546, + "start": 22970, + "end": 22977, "loc": { "start": { - "line": 386, + "line": 490, "column": 33 }, "end": { - "line": 386, + "line": 490, "column": 40 } } @@ -102906,15 +127079,15 @@ "postfix": false, "binop": null }, - "start": 19546, - "end": 19547, + "start": 22977, + "end": 22978, "loc": { "start": { - "line": 386, + "line": 490, "column": 40 }, "end": { - "line": 386, + "line": 490, "column": 41 } } @@ -102932,15 +127105,15 @@ "binop": null }, "value": "data", - "start": 19547, - "end": 19551, + "start": 22978, + "end": 22982, "loc": { "start": { - "line": 386, + "line": 490, "column": 41 }, "end": { - "line": 386, + "line": 490, "column": 45 } } @@ -102958,15 +127131,15 @@ "binop": null, "updateContext": null }, - "start": 19551, - "end": 19552, + "start": 22982, + "end": 22983, "loc": { "start": { - "line": 386, + "line": 490, "column": 45 }, "end": { - "line": 386, + "line": 490, "column": 46 } } @@ -102984,15 +127157,15 @@ "binop": null }, "value": "eachMeshMatricesPortion", - "start": 19552, - "end": 19575, + "start": 22983, + "end": 23006, "loc": { "start": { - "line": 386, + "line": 490, "column": 46 }, "end": { - "line": 386, + "line": 490, "column": 69 } } @@ -103010,15 +127183,15 @@ "binop": null, "updateContext": null }, - "start": 19575, - "end": 19576, + "start": 23006, + "end": 23007, "loc": { "start": { - "line": 386, + "line": 490, "column": 69 }, "end": { - "line": 386, + "line": 490, "column": 70 } } @@ -103036,15 +127209,15 @@ "binop": null }, "value": "buffer", - "start": 19576, - "end": 19582, + "start": 23007, + "end": 23013, "loc": { "start": { - "line": 386, + "line": 490, "column": 70 }, "end": { - "line": 386, + "line": 490, "column": 76 } } @@ -103061,15 +127234,15 @@ "postfix": false, "binop": null }, - "start": 19582, - "end": 19583, + "start": 23013, + "end": 23014, "loc": { "start": { - "line": 386, + "line": 490, "column": 76 }, "end": { - "line": 386, + "line": 490, "column": 77 } } @@ -103087,15 +127260,15 @@ "binop": null, "updateContext": null }, - "start": 19583, - "end": 19584, + "start": 23014, + "end": 23015, "loc": { "start": { - "line": 386, + "line": 490, "column": 77 }, "end": { - "line": 386, + "line": 490, "column": 78 } } @@ -103113,15 +127286,15 @@ "binop": null }, "value": "eachMeshTextureSet", - "start": 19593, - "end": 19611, + "start": 23024, + "end": 23042, "loc": { "start": { - "line": 387, + "line": 491, "column": 8 }, "end": { - "line": 387, + "line": 491, "column": 26 } } @@ -103139,15 +127312,15 @@ "binop": null, "updateContext": null }, - "start": 19611, - "end": 19612, + "start": 23042, + "end": 23043, "loc": { "start": { - "line": 387, + "line": 491, "column": 26 }, "end": { - "line": 387, + "line": 491, "column": 27 } } @@ -103165,15 +127338,15 @@ "binop": null }, "value": "deflate", - "start": 19613, - "end": 19620, + "start": 23044, + "end": 23051, "loc": { "start": { - "line": 387, + "line": 491, "column": 28 }, "end": { - "line": 387, + "line": 491, "column": 35 } } @@ -103190,15 +127363,15 @@ "postfix": false, "binop": null }, - "start": 19620, - "end": 19621, + "start": 23051, + "end": 23052, "loc": { "start": { - "line": 387, + "line": 491, "column": 35 }, "end": { - "line": 387, + "line": 491, "column": 36 } } @@ -103216,15 +127389,15 @@ "binop": null }, "value": "data", - "start": 19621, - "end": 19625, + "start": 23052, + "end": 23056, "loc": { "start": { - "line": 387, + "line": 491, "column": 36 }, "end": { - "line": 387, + "line": 491, "column": 40 } } @@ -103242,15 +127415,15 @@ "binop": null, "updateContext": null }, - "start": 19625, - "end": 19626, + "start": 23056, + "end": 23057, "loc": { "start": { - "line": 387, + "line": 491, "column": 40 }, "end": { - "line": 387, + "line": 491, "column": 41 } } @@ -103268,15 +127441,15 @@ "binop": null }, "value": "eachMeshTextureSet", - "start": 19626, - "end": 19644, + "start": 23057, + "end": 23075, "loc": { "start": { - "line": 387, + "line": 491, "column": 41 }, "end": { - "line": 387, + "line": 491, "column": 59 } } @@ -103294,15 +127467,15 @@ "binop": null, "updateContext": null }, - "start": 19644, - "end": 19645, + "start": 23075, + "end": 23076, "loc": { "start": { - "line": 387, + "line": 491, "column": 59 }, "end": { - "line": 387, + "line": 491, "column": 60 } } @@ -103320,15 +127493,15 @@ "binop": null }, "value": "buffer", - "start": 19645, - "end": 19651, + "start": 23076, + "end": 23082, "loc": { "start": { - "line": 387, + "line": 491, "column": 60 }, "end": { - "line": 387, + "line": 491, "column": 66 } } @@ -103345,15 +127518,15 @@ "postfix": false, "binop": null }, - "start": 19651, - "end": 19652, + "start": 23082, + "end": 23083, "loc": { "start": { - "line": 387, + "line": 491, "column": 66 }, "end": { - "line": 387, + "line": 491, "column": 67 } } @@ -103371,15 +127544,15 @@ "binop": null, "updateContext": null }, - "start": 19652, - "end": 19653, + "start": 23083, + "end": 23084, "loc": { "start": { - "line": 387, + "line": 491, "column": 67 }, "end": { - "line": 387, + "line": 491, "column": 68 } } @@ -103397,15 +127570,15 @@ "binop": null }, "value": "eachMeshMaterialAttributes", - "start": 19662, - "end": 19688, + "start": 23093, + "end": 23119, "loc": { "start": { - "line": 388, + "line": 492, "column": 8 }, "end": { - "line": 388, + "line": 492, "column": 34 } } @@ -103423,15 +127596,15 @@ "binop": null, "updateContext": null }, - "start": 19688, - "end": 19689, + "start": 23119, + "end": 23120, "loc": { "start": { - "line": 388, + "line": 492, "column": 34 }, "end": { - "line": 388, + "line": 492, "column": 35 } } @@ -103449,15 +127622,15 @@ "binop": null }, "value": "deflate", - "start": 19690, - "end": 19697, + "start": 23121, + "end": 23128, "loc": { "start": { - "line": 388, + "line": 492, "column": 36 }, "end": { - "line": 388, + "line": 492, "column": 43 } } @@ -103474,15 +127647,15 @@ "postfix": false, "binop": null }, - "start": 19697, - "end": 19698, + "start": 23128, + "end": 23129, "loc": { "start": { - "line": 388, + "line": 492, "column": 43 }, "end": { - "line": 388, + "line": 492, "column": 44 } } @@ -103500,15 +127673,15 @@ "binop": null }, "value": "data", - "start": 19698, - "end": 19702, + "start": 23129, + "end": 23133, "loc": { "start": { - "line": 388, + "line": 492, "column": 44 }, "end": { - "line": 388, + "line": 492, "column": 48 } } @@ -103526,15 +127699,15 @@ "binop": null, "updateContext": null }, - "start": 19702, - "end": 19703, + "start": 23133, + "end": 23134, "loc": { "start": { - "line": 388, + "line": 492, "column": 48 }, "end": { - "line": 388, + "line": 492, "column": 49 } } @@ -103552,15 +127725,15 @@ "binop": null }, "value": "eachMeshMaterialAttributes", - "start": 19703, - "end": 19729, + "start": 23134, + "end": 23160, "loc": { "start": { - "line": 388, + "line": 492, "column": 49 }, "end": { - "line": 388, + "line": 492, "column": 75 } } @@ -103578,15 +127751,15 @@ "binop": null, "updateContext": null }, - "start": 19729, - "end": 19730, + "start": 23160, + "end": 23161, "loc": { "start": { - "line": 388, + "line": 492, "column": 75 }, "end": { - "line": 388, + "line": 492, "column": 76 } } @@ -103604,15 +127777,15 @@ "binop": null }, "value": "buffer", - "start": 19730, - "end": 19736, + "start": 23161, + "end": 23167, "loc": { "start": { - "line": 388, + "line": 492, "column": 76 }, "end": { - "line": 388, + "line": 492, "column": 82 } } @@ -103629,15 +127802,15 @@ "postfix": false, "binop": null }, - "start": 19736, - "end": 19737, + "start": 23167, + "end": 23168, "loc": { "start": { - "line": 388, + "line": 492, "column": 82 }, "end": { - "line": 388, + "line": 492, "column": 83 } } @@ -103655,15 +127828,15 @@ "binop": null, "updateContext": null }, - "start": 19737, - "end": 19738, + "start": 23168, + "end": 23169, "loc": { "start": { - "line": 388, + "line": 492, "column": 83 }, "end": { - "line": 388, + "line": 492, "column": 84 } } @@ -103681,15 +127854,15 @@ "binop": null }, "value": "eachEntityId", - "start": 19747, - "end": 19759, + "start": 23178, + "end": 23190, "loc": { "start": { - "line": 389, + "line": 493, "column": 8 }, "end": { - "line": 389, + "line": 493, "column": 20 } } @@ -103707,15 +127880,15 @@ "binop": null, "updateContext": null }, - "start": 19759, - "end": 19760, + "start": 23190, + "end": 23191, "loc": { "start": { - "line": 389, + "line": 493, "column": 20 }, "end": { - "line": 389, + "line": 493, "column": 21 } } @@ -103733,15 +127906,15 @@ "binop": null }, "value": "deflate", - "start": 19761, - "end": 19768, + "start": 23192, + "end": 23199, "loc": { "start": { - "line": 389, + "line": 493, "column": 22 }, "end": { - "line": 389, + "line": 493, "column": 29 } } @@ -103758,15 +127931,15 @@ "postfix": false, "binop": null }, - "start": 19768, - "end": 19769, + "start": 23199, + "end": 23200, "loc": { "start": { - "line": 389, + "line": 493, "column": 29 }, "end": { - "line": 389, + "line": 493, "column": 30 } } @@ -103784,15 +127957,15 @@ "binop": null }, "value": "JSON", - "start": 19769, - "end": 19773, + "start": 23200, + "end": 23204, "loc": { "start": { - "line": 389, + "line": 493, "column": 30 }, "end": { - "line": 389, + "line": 493, "column": 34 } } @@ -103810,15 +127983,15 @@ "binop": null, "updateContext": null }, - "start": 19773, - "end": 19774, + "start": 23204, + "end": 23205, "loc": { "start": { - "line": 389, + "line": 493, "column": 34 }, "end": { - "line": 389, + "line": 493, "column": 35 } } @@ -103836,15 +128009,15 @@ "binop": null }, "value": "stringify", - "start": 19774, - "end": 19783, + "start": 23205, + "end": 23214, "loc": { "start": { - "line": 389, + "line": 493, "column": 35 }, "end": { - "line": 389, + "line": 493, "column": 44 } } @@ -103861,15 +128034,15 @@ "postfix": false, "binop": null }, - "start": 19783, - "end": 19784, + "start": 23214, + "end": 23215, "loc": { "start": { - "line": 389, + "line": 493, "column": 44 }, "end": { - "line": 389, + "line": 493, "column": 45 } } @@ -103887,15 +128060,15 @@ "binop": null }, "value": "data", - "start": 19784, - "end": 19788, + "start": 23215, + "end": 23219, "loc": { "start": { - "line": 389, + "line": 493, "column": 45 }, "end": { - "line": 389, + "line": 493, "column": 49 } } @@ -103913,15 +128086,15 @@ "binop": null, "updateContext": null }, - "start": 19788, - "end": 19789, + "start": 23219, + "end": 23220, "loc": { "start": { - "line": 389, + "line": 493, "column": 49 }, "end": { - "line": 389, + "line": 493, "column": 50 } } @@ -103939,15 +128112,15 @@ "binop": null }, "value": "eachEntityId", - "start": 19789, - "end": 19801, + "start": 23220, + "end": 23232, "loc": { "start": { - "line": 389, + "line": 493, "column": 50 }, "end": { - "line": 389, + "line": 493, "column": 62 } } @@ -103964,15 +128137,15 @@ "postfix": false, "binop": null }, - "start": 19801, - "end": 19802, + "start": 23232, + "end": 23233, "loc": { "start": { - "line": 389, + "line": 493, "column": 62 }, "end": { - "line": 389, + "line": 493, "column": 63 } } @@ -103990,15 +128163,15 @@ "binop": null, "updateContext": null }, - "start": 19815, - "end": 19816, + "start": 23246, + "end": 23247, "loc": { "start": { - "line": 390, + "line": 494, "column": 12 }, "end": { - "line": 390, + "line": 494, "column": 13 } } @@ -104016,15 +128189,15 @@ "binop": null }, "value": "replace", - "start": 19816, - "end": 19823, + "start": 23247, + "end": 23254, "loc": { "start": { - "line": 390, + "line": 494, "column": 13 }, "end": { - "line": 390, + "line": 494, "column": 20 } } @@ -104041,15 +128214,15 @@ "postfix": false, "binop": null }, - "start": 19823, - "end": 19824, + "start": 23254, + "end": 23255, "loc": { "start": { - "line": 390, + "line": 494, "column": 20 }, "end": { - "line": 390, + "line": 494, "column": 21 } } @@ -104071,15 +128244,15 @@ "pattern": "[\\u007F-\\uFFFF]", "flags": "g" }, - "start": 19824, - "end": 19842, + "start": 23255, + "end": 23273, "loc": { "start": { - "line": 390, + "line": 494, "column": 21 }, "end": { - "line": 390, + "line": 494, "column": 39 } } @@ -104097,15 +128270,15 @@ "binop": null, "updateContext": null }, - "start": 19842, - "end": 19843, + "start": 23273, + "end": 23274, "loc": { "start": { - "line": 390, + "line": 494, "column": 39 }, "end": { - "line": 390, + "line": 494, "column": 40 } } @@ -104124,15 +128297,15 @@ "binop": null }, "value": "function", - "start": 19844, - "end": 19852, + "start": 23275, + "end": 23283, "loc": { "start": { - "line": 390, + "line": 494, "column": 41 }, "end": { - "line": 390, + "line": 494, "column": 49 } } @@ -104149,15 +128322,15 @@ "postfix": false, "binop": null }, - "start": 19853, - "end": 19854, + "start": 23284, + "end": 23285, "loc": { "start": { - "line": 390, + "line": 494, "column": 50 }, "end": { - "line": 390, + "line": 494, "column": 51 } } @@ -104175,15 +128348,15 @@ "binop": null }, "value": "chr", - "start": 19854, - "end": 19857, + "start": 23285, + "end": 23288, "loc": { "start": { - "line": 390, + "line": 494, "column": 51 }, "end": { - "line": 390, + "line": 494, "column": 54 } } @@ -104200,15 +128373,15 @@ "postfix": false, "binop": null }, - "start": 19857, - "end": 19858, + "start": 23288, + "end": 23289, "loc": { "start": { - "line": 390, + "line": 494, "column": 54 }, "end": { - "line": 390, + "line": 494, "column": 55 } } @@ -104225,15 +128398,15 @@ "postfix": false, "binop": null }, - "start": 19859, - "end": 19860, + "start": 23290, + "end": 23291, "loc": { "start": { - "line": 390, + "line": 494, "column": 56 }, "end": { - "line": 390, + "line": 494, "column": 57 } } @@ -104241,15 +128414,15 @@ { "type": "CommentLine", "value": " Produce only ASCII-chars, so that the data can be inflated later", - "start": 19861, - "end": 19928, + "start": 23292, + "end": 23359, "loc": { "start": { - "line": 390, + "line": 494, "column": 58 }, "end": { - "line": 390, + "line": 494, "column": 125 } } @@ -104269,15 +128442,15 @@ "updateContext": null }, "value": "return", - "start": 19945, - "end": 19951, + "start": 23376, + "end": 23382, "loc": { "start": { - "line": 391, + "line": 495, "column": 16 }, "end": { - "line": 391, + "line": 495, "column": 22 } } @@ -104296,15 +128469,15 @@ "updateContext": null }, "value": "\\u", - "start": 19952, - "end": 19957, + "start": 23383, + "end": 23388, "loc": { "start": { - "line": 391, + "line": 495, "column": 23 }, "end": { - "line": 391, + "line": 495, "column": 28 } } @@ -104323,15 +128496,15 @@ "updateContext": null }, "value": "+", - "start": 19958, - "end": 19959, + "start": 23389, + "end": 23390, "loc": { "start": { - "line": 391, + "line": 495, "column": 29 }, "end": { - "line": 391, + "line": 495, "column": 30 } } @@ -104348,15 +128521,15 @@ "postfix": false, "binop": null }, - "start": 19960, - "end": 19961, + "start": 23391, + "end": 23392, "loc": { "start": { - "line": 391, + "line": 495, "column": 31 }, "end": { - "line": 391, + "line": 495, "column": 32 } } @@ -104375,15 +128548,15 @@ "updateContext": null }, "value": "0000", - "start": 19961, - "end": 19967, + "start": 23392, + "end": 23398, "loc": { "start": { - "line": 391, + "line": 495, "column": 32 }, "end": { - "line": 391, + "line": 495, "column": 38 } } @@ -104402,15 +128575,15 @@ "updateContext": null }, "value": "+", - "start": 19968, - "end": 19969, + "start": 23399, + "end": 23400, "loc": { "start": { - "line": 391, + "line": 495, "column": 39 }, "end": { - "line": 391, + "line": 495, "column": 40 } } @@ -104428,15 +128601,15 @@ "binop": null }, "value": "chr", - "start": 19970, - "end": 19973, + "start": 23401, + "end": 23404, "loc": { "start": { - "line": 391, + "line": 495, "column": 41 }, "end": { - "line": 391, + "line": 495, "column": 44 } } @@ -104454,15 +128627,15 @@ "binop": null, "updateContext": null }, - "start": 19973, - "end": 19974, + "start": 23404, + "end": 23405, "loc": { "start": { - "line": 391, + "line": 495, "column": 44 }, "end": { - "line": 391, + "line": 495, "column": 45 } } @@ -104480,15 +128653,15 @@ "binop": null }, "value": "charCodeAt", - "start": 19974, - "end": 19984, + "start": 23405, + "end": 23415, "loc": { "start": { - "line": 391, + "line": 495, "column": 45 }, "end": { - "line": 391, + "line": 495, "column": 55 } } @@ -104505,15 +128678,15 @@ "postfix": false, "binop": null }, - "start": 19984, - "end": 19985, + "start": 23415, + "end": 23416, "loc": { "start": { - "line": 391, + "line": 495, "column": 55 }, "end": { - "line": 391, + "line": 495, "column": 56 } } @@ -104532,15 +128705,15 @@ "updateContext": null }, "value": 0, - "start": 19985, - "end": 19986, + "start": 23416, + "end": 23417, "loc": { "start": { - "line": 391, + "line": 495, "column": 56 }, "end": { - "line": 391, + "line": 495, "column": 57 } } @@ -104557,15 +128730,15 @@ "postfix": false, "binop": null }, - "start": 19986, - "end": 19987, + "start": 23417, + "end": 23418, "loc": { "start": { - "line": 391, + "line": 495, "column": 57 }, "end": { - "line": 391, + "line": 495, "column": 58 } } @@ -104583,15 +128756,15 @@ "binop": null, "updateContext": null }, - "start": 19987, - "end": 19988, + "start": 23418, + "end": 23419, "loc": { "start": { - "line": 391, + "line": 495, "column": 58 }, "end": { - "line": 391, + "line": 495, "column": 59 } } @@ -104609,15 +128782,15 @@ "binop": null }, "value": "toString", - "start": 19988, - "end": 19996, + "start": 23419, + "end": 23427, "loc": { "start": { - "line": 391, + "line": 495, "column": 59 }, "end": { - "line": 391, + "line": 495, "column": 67 } } @@ -104634,15 +128807,15 @@ "postfix": false, "binop": null }, - "start": 19996, - "end": 19997, + "start": 23427, + "end": 23428, "loc": { "start": { - "line": 391, + "line": 495, "column": 67 }, "end": { - "line": 391, + "line": 495, "column": 68 } } @@ -104661,15 +128834,15 @@ "updateContext": null }, "value": 16, - "start": 19997, - "end": 19999, + "start": 23428, + "end": 23430, "loc": { "start": { - "line": 391, + "line": 495, "column": 68 }, "end": { - "line": 391, + "line": 495, "column": 70 } } @@ -104686,15 +128859,15 @@ "postfix": false, "binop": null }, - "start": 19999, - "end": 20000, + "start": 23430, + "end": 23431, "loc": { "start": { - "line": 391, + "line": 495, "column": 70 }, "end": { - "line": 391, + "line": 495, "column": 71 } } @@ -104711,15 +128884,15 @@ "postfix": false, "binop": null }, - "start": 20000, - "end": 20001, + "start": 23431, + "end": 23432, "loc": { "start": { - "line": 391, + "line": 495, "column": 71 }, "end": { - "line": 391, + "line": 495, "column": 72 } } @@ -104737,15 +128910,15 @@ "binop": null, "updateContext": null }, - "start": 20001, - "end": 20002, + "start": 23432, + "end": 23433, "loc": { "start": { - "line": 391, + "line": 495, "column": 72 }, "end": { - "line": 391, + "line": 495, "column": 73 } } @@ -104763,15 +128936,15 @@ "binop": null }, "value": "substr", - "start": 20002, - "end": 20008, + "start": 23433, + "end": 23439, "loc": { "start": { - "line": 391, + "line": 495, "column": 73 }, "end": { - "line": 391, + "line": 495, "column": 79 } } @@ -104788,15 +128961,15 @@ "postfix": false, "binop": null }, - "start": 20008, - "end": 20009, + "start": 23439, + "end": 23440, "loc": { "start": { - "line": 391, + "line": 495, "column": 79 }, "end": { - "line": 391, + "line": 495, "column": 80 } } @@ -104815,15 +128988,15 @@ "updateContext": null }, "value": "-", - "start": 20009, - "end": 20010, + "start": 23440, + "end": 23441, "loc": { "start": { - "line": 391, + "line": 495, "column": 80 }, "end": { - "line": 391, + "line": 495, "column": 81 } } @@ -104842,15 +129015,15 @@ "updateContext": null }, "value": 4, - "start": 20010, - "end": 20011, + "start": 23441, + "end": 23442, "loc": { "start": { - "line": 391, + "line": 495, "column": 81 }, "end": { - "line": 391, + "line": 495, "column": 82 } } @@ -104867,15 +129040,15 @@ "postfix": false, "binop": null }, - "start": 20011, - "end": 20012, + "start": 23442, + "end": 23443, "loc": { "start": { - "line": 391, + "line": 495, "column": 82 }, "end": { - "line": 391, + "line": 495, "column": 83 } } @@ -104892,15 +129065,15 @@ "postfix": false, "binop": null }, - "start": 20025, - "end": 20026, + "start": 23456, + "end": 23457, "loc": { "start": { - "line": 392, + "line": 496, "column": 12 }, "end": { - "line": 392, + "line": 496, "column": 13 } } @@ -104917,15 +129090,15 @@ "postfix": false, "binop": null }, - "start": 20026, - "end": 20027, + "start": 23457, + "end": 23458, "loc": { "start": { - "line": 392, + "line": 496, "column": 13 }, "end": { - "line": 392, + "line": 496, "column": 14 } } @@ -104942,15 +129115,15 @@ "postfix": false, "binop": null }, - "start": 20027, - "end": 20028, + "start": 23458, + "end": 23459, "loc": { "start": { - "line": 392, + "line": 496, "column": 14 }, "end": { - "line": 392, + "line": 496, "column": 15 } } @@ -104968,15 +129141,15 @@ "binop": null, "updateContext": null }, - "start": 20028, - "end": 20029, + "start": 23459, + "end": 23460, "loc": { "start": { - "line": 392, + "line": 496, "column": 15 }, "end": { - "line": 392, + "line": 496, "column": 16 } } @@ -104994,15 +129167,15 @@ "binop": null }, "value": "eachEntityMeshesPortion", - "start": 20038, - "end": 20061, + "start": 23469, + "end": 23492, "loc": { "start": { - "line": 393, + "line": 497, "column": 8 }, "end": { - "line": 393, + "line": 497, "column": 31 } } @@ -105020,15 +129193,15 @@ "binop": null, "updateContext": null }, - "start": 20061, - "end": 20062, + "start": 23492, + "end": 23493, "loc": { "start": { - "line": 393, + "line": 497, "column": 31 }, "end": { - "line": 393, + "line": 497, "column": 32 } } @@ -105046,15 +129219,15 @@ "binop": null }, "value": "deflate", - "start": 20063, - "end": 20070, + "start": 23494, + "end": 23501, "loc": { "start": { - "line": 393, + "line": 497, "column": 33 }, "end": { - "line": 393, + "line": 497, "column": 40 } } @@ -105071,15 +129244,15 @@ "postfix": false, "binop": null }, - "start": 20070, - "end": 20071, + "start": 23501, + "end": 23502, "loc": { "start": { - "line": 393, + "line": 497, "column": 40 }, "end": { - "line": 393, + "line": 497, "column": 41 } } @@ -105097,15 +129270,15 @@ "binop": null }, "value": "data", - "start": 20071, - "end": 20075, + "start": 23502, + "end": 23506, "loc": { "start": { - "line": 393, + "line": 497, "column": 41 }, "end": { - "line": 393, + "line": 497, "column": 45 } } @@ -105123,15 +129296,15 @@ "binop": null, "updateContext": null }, - "start": 20075, - "end": 20076, + "start": 23506, + "end": 23507, "loc": { "start": { - "line": 393, + "line": 497, "column": 45 }, "end": { - "line": 393, + "line": 497, "column": 46 } } @@ -105149,15 +129322,15 @@ "binop": null }, "value": "eachEntityMeshesPortion", - "start": 20076, - "end": 20099, + "start": 23507, + "end": 23530, "loc": { "start": { - "line": 393, + "line": 497, "column": 46 }, "end": { - "line": 393, + "line": 497, "column": 69 } } @@ -105175,15 +129348,15 @@ "binop": null, "updateContext": null }, - "start": 20099, - "end": 20100, + "start": 23530, + "end": 23531, "loc": { "start": { - "line": 393, + "line": 497, "column": 69 }, "end": { - "line": 393, + "line": 497, "column": 70 } } @@ -105201,15 +129374,15 @@ "binop": null }, "value": "buffer", - "start": 20100, - "end": 20106, + "start": 23531, + "end": 23537, "loc": { "start": { - "line": 393, + "line": 497, "column": 70 }, "end": { - "line": 393, + "line": 497, "column": 76 } } @@ -105226,15 +129399,15 @@ "postfix": false, "binop": null }, - "start": 20106, - "end": 20107, + "start": 23537, + "end": 23538, "loc": { "start": { - "line": 393, + "line": 497, "column": 76 }, "end": { - "line": 393, + "line": 497, "column": 77 } } @@ -105252,15 +129425,15 @@ "binop": null, "updateContext": null }, - "start": 20107, - "end": 20108, + "start": 23538, + "end": 23539, "loc": { "start": { - "line": 393, + "line": 497, "column": 77 }, "end": { - "line": 393, + "line": 497, "column": 78 } } @@ -105278,15 +129451,15 @@ "binop": null }, "value": "eachTileAABB", - "start": 20117, - "end": 20129, + "start": 23548, + "end": 23560, "loc": { "start": { - "line": 394, + "line": 498, "column": 8 }, "end": { - "line": 394, + "line": 498, "column": 20 } } @@ -105304,15 +129477,15 @@ "binop": null, "updateContext": null }, - "start": 20129, - "end": 20130, + "start": 23560, + "end": 23561, "loc": { "start": { - "line": 394, + "line": 498, "column": 20 }, "end": { - "line": 394, + "line": 498, "column": 21 } } @@ -105330,15 +129503,15 @@ "binop": null }, "value": "deflate", - "start": 20131, - "end": 20138, + "start": 23562, + "end": 23569, "loc": { "start": { - "line": 394, + "line": 498, "column": 22 }, "end": { - "line": 394, + "line": 498, "column": 29 } } @@ -105355,15 +129528,15 @@ "postfix": false, "binop": null }, - "start": 20138, - "end": 20139, + "start": 23569, + "end": 23570, "loc": { "start": { - "line": 394, + "line": 498, "column": 29 }, "end": { - "line": 394, + "line": 498, "column": 30 } } @@ -105381,15 +129554,15 @@ "binop": null }, "value": "data", - "start": 20139, - "end": 20143, + "start": 23570, + "end": 23574, "loc": { "start": { - "line": 394, + "line": 498, "column": 30 }, "end": { - "line": 394, + "line": 498, "column": 34 } } @@ -105407,15 +129580,15 @@ "binop": null, "updateContext": null }, - "start": 20143, - "end": 20144, + "start": 23574, + "end": 23575, "loc": { "start": { - "line": 394, + "line": 498, "column": 34 }, "end": { - "line": 394, + "line": 498, "column": 35 } } @@ -105433,15 +129606,15 @@ "binop": null }, "value": "eachTileAABB", - "start": 20144, - "end": 20156, + "start": 23575, + "end": 23587, "loc": { "start": { - "line": 394, + "line": 498, "column": 35 }, "end": { - "line": 394, + "line": 498, "column": 47 } } @@ -105459,15 +129632,15 @@ "binop": null, "updateContext": null }, - "start": 20156, - "end": 20157, + "start": 23587, + "end": 23588, "loc": { "start": { - "line": 394, + "line": 498, "column": 47 }, "end": { - "line": 394, + "line": 498, "column": 48 } } @@ -105485,15 +129658,15 @@ "binop": null }, "value": "buffer", - "start": 20157, - "end": 20163, + "start": 23588, + "end": 23594, "loc": { "start": { - "line": 394, + "line": 498, "column": 48 }, "end": { - "line": 394, + "line": 498, "column": 54 } } @@ -105510,15 +129683,15 @@ "postfix": false, "binop": null }, - "start": 20163, - "end": 20164, + "start": 23594, + "end": 23595, "loc": { "start": { - "line": 394, + "line": 498, "column": 54 }, "end": { - "line": 394, + "line": 498, "column": 55 } } @@ -105536,15 +129709,15 @@ "binop": null, "updateContext": null }, - "start": 20164, - "end": 20165, + "start": 23595, + "end": 23596, "loc": { "start": { - "line": 394, + "line": 498, "column": 55 }, "end": { - "line": 394, + "line": 498, "column": 56 } } @@ -105562,15 +129735,15 @@ "binop": null }, "value": "eachTileEntitiesPortion", - "start": 20174, - "end": 20197, + "start": 23605, + "end": 23628, "loc": { "start": { - "line": 395, + "line": 499, "column": 8 }, "end": { - "line": 395, + "line": 499, "column": 31 } } @@ -105588,15 +129761,15 @@ "binop": null, "updateContext": null }, - "start": 20197, - "end": 20198, + "start": 23628, + "end": 23629, "loc": { "start": { - "line": 395, + "line": 499, "column": 31 }, "end": { - "line": 395, + "line": 499, "column": 32 } } @@ -105614,15 +129787,15 @@ "binop": null }, "value": "deflate", - "start": 20199, - "end": 20206, + "start": 23630, + "end": 23637, "loc": { "start": { - "line": 395, + "line": 499, "column": 33 }, "end": { - "line": 395, + "line": 499, "column": 40 } } @@ -105639,15 +129812,15 @@ "postfix": false, "binop": null }, - "start": 20206, - "end": 20207, + "start": 23637, + "end": 23638, "loc": { "start": { - "line": 395, + "line": 499, "column": 40 }, "end": { - "line": 395, + "line": 499, "column": 41 } } @@ -105665,15 +129838,15 @@ "binop": null }, "value": "data", - "start": 20207, - "end": 20211, + "start": 23638, + "end": 23642, "loc": { "start": { - "line": 395, + "line": 499, "column": 41 }, "end": { - "line": 395, + "line": 499, "column": 45 } } @@ -105691,15 +129864,15 @@ "binop": null, "updateContext": null }, - "start": 20211, - "end": 20212, + "start": 23642, + "end": 23643, "loc": { "start": { - "line": 395, + "line": 499, "column": 45 }, "end": { - "line": 395, + "line": 499, "column": 46 } } @@ -105717,15 +129890,15 @@ "binop": null }, "value": "eachTileEntitiesPortion", - "start": 20212, - "end": 20235, + "start": 23643, + "end": 23666, "loc": { "start": { - "line": 395, + "line": 499, "column": 46 }, "end": { - "line": 395, + "line": 499, "column": 69 } } @@ -105743,15 +129916,15 @@ "binop": null, "updateContext": null }, - "start": 20235, - "end": 20236, + "start": 23666, + "end": 23667, "loc": { "start": { - "line": 395, + "line": 499, "column": 69 }, "end": { - "line": 395, + "line": 499, "column": 70 } } @@ -105769,15 +129942,15 @@ "binop": null }, "value": "buffer", - "start": 20236, - "end": 20242, + "start": 23667, + "end": 23673, "loc": { "start": { - "line": 395, + "line": 499, "column": 70 }, "end": { - "line": 395, + "line": 499, "column": 76 } } @@ -105794,15 +129967,15 @@ "postfix": false, "binop": null }, - "start": 20242, - "end": 20243, + "start": 23673, + "end": 23674, "loc": { "start": { - "line": 395, + "line": 499, "column": 76 }, "end": { - "line": 395, + "line": 499, "column": 77 } } @@ -105819,15 +129992,15 @@ "postfix": false, "binop": null }, - "start": 20248, - "end": 20249, + "start": 23679, + "end": 23680, "loc": { "start": { - "line": 396, + "line": 500, "column": 4 }, "end": { - "line": 396, + "line": 500, "column": 5 } } @@ -105845,15 +130018,15 @@ "binop": null, "updateContext": null }, - "start": 20249, - "end": 20250, + "start": 23680, + "end": 23681, "loc": { "start": { - "line": 396, + "line": 500, "column": 5 }, "end": { - "line": 396, + "line": 500, "column": 6 } } @@ -105870,15 +130043,15 @@ "postfix": false, "binop": null }, - "start": 20251, - "end": 20252, + "start": 23682, + "end": 23683, "loc": { "start": { - "line": 397, + "line": 501, "column": 0 }, "end": { - "line": 397, + "line": 501, "column": 1 } } @@ -105897,15 +130070,15 @@ "binop": null }, "value": "function", - "start": 20254, - "end": 20262, + "start": 23685, + "end": 23693, "loc": { "start": { - "line": 399, + "line": 503, "column": 0 }, "end": { - "line": 399, + "line": 503, "column": 8 } } @@ -105923,15 +130096,15 @@ "binop": null }, "value": "deflateJSON", - "start": 20263, - "end": 20274, + "start": 23694, + "end": 23705, "loc": { "start": { - "line": 399, + "line": 503, "column": 9 }, "end": { - "line": 399, + "line": 503, "column": 20 } } @@ -105948,15 +130121,15 @@ "postfix": false, "binop": null }, - "start": 20274, - "end": 20275, + "start": 23705, + "end": 23706, "loc": { "start": { - "line": 399, + "line": 503, "column": 20 }, "end": { - "line": 399, + "line": 503, "column": 21 } } @@ -105974,15 +130147,15 @@ "binop": null }, "value": "strings", - "start": 20275, - "end": 20282, + "start": 23706, + "end": 23713, "loc": { "start": { - "line": 399, + "line": 503, "column": 21 }, "end": { - "line": 399, + "line": 503, "column": 28 } } @@ -105999,15 +130172,15 @@ "postfix": false, "binop": null }, - "start": 20282, - "end": 20283, + "start": 23713, + "end": 23714, "loc": { "start": { - "line": 399, + "line": 503, "column": 28 }, "end": { - "line": 399, + "line": 503, "column": 29 } } @@ -106024,15 +130197,15 @@ "postfix": false, "binop": null }, - "start": 20284, - "end": 20285, + "start": 23715, + "end": 23716, "loc": { "start": { - "line": 399, + "line": 503, "column": 30 }, "end": { - "line": 399, + "line": 503, "column": 31 } } @@ -106052,15 +130225,15 @@ "updateContext": null }, "value": "return", - "start": 20290, - "end": 20296, + "start": 23721, + "end": 23727, "loc": { "start": { - "line": 400, + "line": 504, "column": 4 }, "end": { - "line": 400, + "line": 504, "column": 10 } } @@ -106078,15 +130251,15 @@ "binop": null }, "value": "JSON", - "start": 20297, - "end": 20301, + "start": 23728, + "end": 23732, "loc": { "start": { - "line": 400, + "line": 504, "column": 11 }, "end": { - "line": 400, + "line": 504, "column": 15 } } @@ -106104,15 +130277,15 @@ "binop": null, "updateContext": null }, - "start": 20301, - "end": 20302, + "start": 23732, + "end": 23733, "loc": { "start": { - "line": 400, + "line": 504, "column": 15 }, "end": { - "line": 400, + "line": 504, "column": 16 } } @@ -106130,15 +130303,15 @@ "binop": null }, "value": "stringify", - "start": 20302, - "end": 20311, + "start": 23733, + "end": 23742, "loc": { "start": { - "line": 400, + "line": 504, "column": 16 }, "end": { - "line": 400, + "line": 504, "column": 25 } } @@ -106155,15 +130328,15 @@ "postfix": false, "binop": null }, - "start": 20311, - "end": 20312, + "start": 23742, + "end": 23743, "loc": { "start": { - "line": 400, + "line": 504, "column": 25 }, "end": { - "line": 400, + "line": 504, "column": 26 } } @@ -106181,15 +130354,15 @@ "binop": null }, "value": "strings", - "start": 20312, - "end": 20319, + "start": 23743, + "end": 23750, "loc": { "start": { - "line": 400, + "line": 504, "column": 26 }, "end": { - "line": 400, + "line": 504, "column": 33 } } @@ -106206,15 +130379,15 @@ "postfix": false, "binop": null }, - "start": 20319, - "end": 20320, + "start": 23750, + "end": 23751, "loc": { "start": { - "line": 400, + "line": 504, "column": 33 }, "end": { - "line": 400, + "line": 504, "column": 34 } } @@ -106232,15 +130405,15 @@ "binop": null, "updateContext": null }, - "start": 20329, - "end": 20330, + "start": 23760, + "end": 23761, "loc": { "start": { - "line": 401, + "line": 505, "column": 8 }, "end": { - "line": 401, + "line": 505, "column": 9 } } @@ -106258,15 +130431,15 @@ "binop": null }, "value": "replace", - "start": 20330, - "end": 20337, + "start": 23761, + "end": 23768, "loc": { "start": { - "line": 401, + "line": 505, "column": 9 }, "end": { - "line": 401, + "line": 505, "column": 16 } } @@ -106283,15 +130456,15 @@ "postfix": false, "binop": null }, - "start": 20337, - "end": 20338, + "start": 23768, + "end": 23769, "loc": { "start": { - "line": 401, + "line": 505, "column": 16 }, "end": { - "line": 401, + "line": 505, "column": 17 } } @@ -106313,15 +130486,15 @@ "pattern": "[\\u007F-\\uFFFF]", "flags": "g" }, - "start": 20338, - "end": 20356, + "start": 23769, + "end": 23787, "loc": { "start": { - "line": 401, + "line": 505, "column": 17 }, "end": { - "line": 401, + "line": 505, "column": 35 } } @@ -106339,15 +130512,15 @@ "binop": null, "updateContext": null }, - "start": 20356, - "end": 20357, + "start": 23787, + "end": 23788, "loc": { "start": { - "line": 401, + "line": 505, "column": 35 }, "end": { - "line": 401, + "line": 505, "column": 36 } } @@ -106366,15 +130539,15 @@ "binop": null }, "value": "function", - "start": 20358, - "end": 20366, + "start": 23789, + "end": 23797, "loc": { "start": { - "line": 401, + "line": 505, "column": 37 }, "end": { - "line": 401, + "line": 505, "column": 45 } } @@ -106391,15 +130564,15 @@ "postfix": false, "binop": null }, - "start": 20367, - "end": 20368, + "start": 23798, + "end": 23799, "loc": { "start": { - "line": 401, + "line": 505, "column": 46 }, "end": { - "line": 401, + "line": 505, "column": 47 } } @@ -106417,15 +130590,15 @@ "binop": null }, "value": "chr", - "start": 20368, - "end": 20371, + "start": 23799, + "end": 23802, "loc": { "start": { - "line": 401, + "line": 505, "column": 47 }, "end": { - "line": 401, + "line": 505, "column": 50 } } @@ -106442,15 +130615,15 @@ "postfix": false, "binop": null }, - "start": 20371, - "end": 20372, + "start": 23802, + "end": 23803, "loc": { "start": { - "line": 401, + "line": 505, "column": 50 }, "end": { - "line": 401, + "line": 505, "column": 51 } } @@ -106467,15 +130640,15 @@ "postfix": false, "binop": null }, - "start": 20373, - "end": 20374, + "start": 23804, + "end": 23805, "loc": { "start": { - "line": 401, + "line": 505, "column": 52 }, "end": { - "line": 401, + "line": 505, "column": 53 } } @@ -106483,15 +130656,15 @@ { "type": "CommentLine", "value": " Produce only ASCII-chars, so that the data can be inflated later", - "start": 20375, - "end": 20442, + "start": 23806, + "end": 23873, "loc": { "start": { - "line": 401, + "line": 505, "column": 54 }, "end": { - "line": 401, + "line": 505, "column": 121 } } @@ -106511,15 +130684,15 @@ "updateContext": null }, "value": "return", - "start": 20455, - "end": 20461, + "start": 23886, + "end": 23892, "loc": { "start": { - "line": 402, + "line": 506, "column": 12 }, "end": { - "line": 402, + "line": 506, "column": 18 } } @@ -106538,15 +130711,15 @@ "updateContext": null }, "value": "\\u", - "start": 20462, - "end": 20467, + "start": 23893, + "end": 23898, "loc": { "start": { - "line": 402, + "line": 506, "column": 19 }, "end": { - "line": 402, + "line": 506, "column": 24 } } @@ -106565,15 +130738,15 @@ "updateContext": null }, "value": "+", - "start": 20468, - "end": 20469, + "start": 23899, + "end": 23900, "loc": { "start": { - "line": 402, + "line": 506, "column": 25 }, "end": { - "line": 402, + "line": 506, "column": 26 } } @@ -106590,15 +130763,15 @@ "postfix": false, "binop": null }, - "start": 20470, - "end": 20471, + "start": 23901, + "end": 23902, "loc": { "start": { - "line": 402, + "line": 506, "column": 27 }, "end": { - "line": 402, + "line": 506, "column": 28 } } @@ -106617,15 +130790,15 @@ "updateContext": null }, "value": "0000", - "start": 20471, - "end": 20477, + "start": 23902, + "end": 23908, "loc": { "start": { - "line": 402, + "line": 506, "column": 28 }, "end": { - "line": 402, + "line": 506, "column": 34 } } @@ -106644,15 +130817,15 @@ "updateContext": null }, "value": "+", - "start": 20478, - "end": 20479, + "start": 23909, + "end": 23910, "loc": { "start": { - "line": 402, + "line": 506, "column": 35 }, "end": { - "line": 402, + "line": 506, "column": 36 } } @@ -106670,15 +130843,15 @@ "binop": null }, "value": "chr", - "start": 20480, - "end": 20483, + "start": 23911, + "end": 23914, "loc": { "start": { - "line": 402, + "line": 506, "column": 37 }, "end": { - "line": 402, + "line": 506, "column": 40 } } @@ -106696,15 +130869,15 @@ "binop": null, "updateContext": null }, - "start": 20483, - "end": 20484, + "start": 23914, + "end": 23915, "loc": { "start": { - "line": 402, + "line": 506, "column": 40 }, "end": { - "line": 402, + "line": 506, "column": 41 } } @@ -106722,15 +130895,15 @@ "binop": null }, "value": "charCodeAt", - "start": 20484, - "end": 20494, + "start": 23915, + "end": 23925, "loc": { "start": { - "line": 402, + "line": 506, "column": 41 }, "end": { - "line": 402, + "line": 506, "column": 51 } } @@ -106747,15 +130920,15 @@ "postfix": false, "binop": null }, - "start": 20494, - "end": 20495, + "start": 23925, + "end": 23926, "loc": { "start": { - "line": 402, + "line": 506, "column": 51 }, "end": { - "line": 402, + "line": 506, "column": 52 } } @@ -106774,15 +130947,15 @@ "updateContext": null }, "value": 0, - "start": 20495, - "end": 20496, + "start": 23926, + "end": 23927, "loc": { "start": { - "line": 402, + "line": 506, "column": 52 }, "end": { - "line": 402, + "line": 506, "column": 53 } } @@ -106799,15 +130972,15 @@ "postfix": false, "binop": null }, - "start": 20496, - "end": 20497, + "start": 23927, + "end": 23928, "loc": { "start": { - "line": 402, + "line": 506, "column": 53 }, "end": { - "line": 402, + "line": 506, "column": 54 } } @@ -106825,15 +130998,15 @@ "binop": null, "updateContext": null }, - "start": 20497, - "end": 20498, + "start": 23928, + "end": 23929, "loc": { "start": { - "line": 402, + "line": 506, "column": 54 }, "end": { - "line": 402, + "line": 506, "column": 55 } } @@ -106851,15 +131024,15 @@ "binop": null }, "value": "toString", - "start": 20498, - "end": 20506, + "start": 23929, + "end": 23937, "loc": { "start": { - "line": 402, + "line": 506, "column": 55 }, "end": { - "line": 402, + "line": 506, "column": 63 } } @@ -106876,15 +131049,15 @@ "postfix": false, "binop": null }, - "start": 20506, - "end": 20507, + "start": 23937, + "end": 23938, "loc": { "start": { - "line": 402, + "line": 506, "column": 63 }, "end": { - "line": 402, + "line": 506, "column": 64 } } @@ -106903,15 +131076,15 @@ "updateContext": null }, "value": 16, - "start": 20507, - "end": 20509, + "start": 23938, + "end": 23940, "loc": { "start": { - "line": 402, + "line": 506, "column": 64 }, "end": { - "line": 402, + "line": 506, "column": 66 } } @@ -106928,15 +131101,15 @@ "postfix": false, "binop": null }, - "start": 20509, - "end": 20510, + "start": 23940, + "end": 23941, "loc": { "start": { - "line": 402, + "line": 506, "column": 66 }, "end": { - "line": 402, + "line": 506, "column": 67 } } @@ -106953,15 +131126,15 @@ "postfix": false, "binop": null }, - "start": 20510, - "end": 20511, + "start": 23941, + "end": 23942, "loc": { "start": { - "line": 402, + "line": 506, "column": 67 }, "end": { - "line": 402, + "line": 506, "column": 68 } } @@ -106979,15 +131152,15 @@ "binop": null, "updateContext": null }, - "start": 20511, - "end": 20512, + "start": 23942, + "end": 23943, "loc": { "start": { - "line": 402, + "line": 506, "column": 68 }, "end": { - "line": 402, + "line": 506, "column": 69 } } @@ -107005,15 +131178,15 @@ "binop": null }, "value": "substr", - "start": 20512, - "end": 20518, + "start": 23943, + "end": 23949, "loc": { "start": { - "line": 402, + "line": 506, "column": 69 }, "end": { - "line": 402, + "line": 506, "column": 75 } } @@ -107030,15 +131203,15 @@ "postfix": false, "binop": null }, - "start": 20518, - "end": 20519, + "start": 23949, + "end": 23950, "loc": { "start": { - "line": 402, + "line": 506, "column": 75 }, "end": { - "line": 402, + "line": 506, "column": 76 } } @@ -107057,15 +131230,15 @@ "updateContext": null }, "value": "-", - "start": 20519, - "end": 20520, + "start": 23950, + "end": 23951, "loc": { "start": { - "line": 402, + "line": 506, "column": 76 }, "end": { - "line": 402, + "line": 506, "column": 77 } } @@ -107084,15 +131257,15 @@ "updateContext": null }, "value": 4, - "start": 20520, - "end": 20521, + "start": 23951, + "end": 23952, "loc": { "start": { - "line": 402, + "line": 506, "column": 77 }, "end": { - "line": 402, + "line": 506, "column": 78 } } @@ -107109,15 +131282,15 @@ "postfix": false, "binop": null }, - "start": 20521, - "end": 20522, + "start": 23952, + "end": 23953, "loc": { "start": { - "line": 402, + "line": 506, "column": 78 }, "end": { - "line": 402, + "line": 506, "column": 79 } } @@ -107134,15 +131307,15 @@ "postfix": false, "binop": null }, - "start": 20531, - "end": 20532, + "start": 23962, + "end": 23963, "loc": { "start": { - "line": 403, + "line": 507, "column": 8 }, "end": { - "line": 403, + "line": 507, "column": 9 } } @@ -107159,15 +131332,15 @@ "postfix": false, "binop": null }, - "start": 20532, - "end": 20533, + "start": 23963, + "end": 23964, "loc": { "start": { - "line": 403, + "line": 507, "column": 9 }, "end": { - "line": 403, + "line": 507, "column": 10 } } @@ -107185,15 +131358,15 @@ "binop": null, "updateContext": null }, - "start": 20533, - "end": 20534, + "start": 23964, + "end": 23965, "loc": { "start": { - "line": 403, + "line": 507, "column": 10 }, "end": { - "line": 403, + "line": 507, "column": 11 } } @@ -107210,15 +131383,15 @@ "postfix": false, "binop": null }, - "start": 20535, - "end": 20536, + "start": 23966, + "end": 23967, "loc": { "start": { - "line": 404, + "line": 508, "column": 0 }, "end": { - "line": 404, + "line": 508, "column": 1 } } @@ -107237,15 +131410,15 @@ "binop": null }, "value": "function", - "start": 20538, - "end": 20546, + "start": 23969, + "end": 23977, "loc": { "start": { - "line": 406, + "line": 510, "column": 0 }, "end": { - "line": 406, + "line": 510, "column": 8 } } @@ -107263,15 +131436,15 @@ "binop": null }, "value": "createArrayBuffer", - "start": 20547, - "end": 20564, + "start": 23978, + "end": 23995, "loc": { "start": { - "line": 406, + "line": 510, "column": 9 }, "end": { - "line": 406, + "line": 510, "column": 26 } } @@ -107288,15 +131461,15 @@ "postfix": false, "binop": null }, - "start": 20564, - "end": 20565, + "start": 23995, + "end": 23996, "loc": { "start": { - "line": 406, + "line": 510, "column": 26 }, "end": { - "line": 406, + "line": 510, "column": 27 } } @@ -107314,15 +131487,15 @@ "binop": null }, "value": "deflatedData", - "start": 20565, - "end": 20577, + "start": 23996, + "end": 24008, "loc": { "start": { - "line": 406, + "line": 510, "column": 27 }, "end": { - "line": 406, + "line": 510, "column": 39 } } @@ -107339,15 +131512,15 @@ "postfix": false, "binop": null }, - "start": 20577, - "end": 20578, + "start": 24008, + "end": 24009, "loc": { "start": { - "line": 406, + "line": 510, "column": 39 }, "end": { - "line": 406, + "line": 510, "column": 40 } } @@ -107364,15 +131537,15 @@ "postfix": false, "binop": null }, - "start": 20579, - "end": 20580, + "start": 24010, + "end": 24011, "loc": { "start": { - "line": 406, + "line": 510, "column": 41 }, "end": { - "line": 406, + "line": 510, "column": 42 } } @@ -107392,15 +131565,15 @@ "updateContext": null }, "value": "return", - "start": 20585, - "end": 20591, + "start": 24016, + "end": 24022, "loc": { "start": { - "line": 407, + "line": 511, "column": 4 }, "end": { - "line": 407, + "line": 511, "column": 10 } } @@ -107418,15 +131591,15 @@ "binop": null }, "value": "toArrayBuffer", - "start": 20592, - "end": 20605, + "start": 24023, + "end": 24036, "loc": { "start": { - "line": 407, + "line": 511, "column": 11 }, "end": { - "line": 407, + "line": 511, "column": 24 } } @@ -107443,15 +131616,15 @@ "postfix": false, "binop": null }, - "start": 20605, - "end": 20606, + "start": 24036, + "end": 24037, "loc": { "start": { - "line": 407, + "line": 511, "column": 24 }, "end": { - "line": 407, + "line": 511, "column": 25 } } @@ -107469,15 +131642,15 @@ "binop": null, "updateContext": null }, - "start": 20606, - "end": 20607, + "start": 24037, + "end": 24038, "loc": { "start": { - "line": 407, + "line": 511, "column": 25 }, "end": { - "line": 407, + "line": 511, "column": 26 } } @@ -107495,15 +131668,15 @@ "binop": null }, "value": "deflatedData", - "start": 20616, - "end": 20628, + "start": 24047, + "end": 24059, "loc": { "start": { - "line": 408, + "line": 512, "column": 8 }, "end": { - "line": 408, + "line": 512, "column": 20 } } @@ -107521,15 +131694,15 @@ "binop": null, "updateContext": null }, - "start": 20628, - "end": 20629, + "start": 24059, + "end": 24060, "loc": { "start": { - "line": 408, + "line": 512, "column": 20 }, "end": { - "line": 408, + "line": 512, "column": 21 } } @@ -107547,15 +131720,15 @@ "binop": null }, "value": "metadata", - "start": 20629, - "end": 20637, + "start": 24060, + "end": 24068, "loc": { "start": { - "line": 408, + "line": 512, "column": 21 }, "end": { - "line": 408, + "line": 512, "column": 29 } } @@ -107573,15 +131746,15 @@ "binop": null, "updateContext": null }, - "start": 20637, - "end": 20638, + "start": 24068, + "end": 24069, "loc": { "start": { - "line": 408, + "line": 512, "column": 29 }, "end": { - "line": 408, + "line": 512, "column": 30 } } @@ -107599,15 +131772,15 @@ "binop": null }, "value": "deflatedData", - "start": 20647, - "end": 20659, + "start": 24078, + "end": 24090, "loc": { "start": { - "line": 409, + "line": 513, "column": 8 }, "end": { - "line": 409, + "line": 513, "column": 20 } } @@ -107625,15 +131798,15 @@ "binop": null, "updateContext": null }, - "start": 20659, - "end": 20660, + "start": 24090, + "end": 24091, "loc": { "start": { - "line": 409, + "line": 513, "column": 20 }, "end": { - "line": 409, + "line": 513, "column": 21 } } @@ -107651,15 +131824,15 @@ "binop": null }, "value": "textureData", - "start": 20660, - "end": 20671, + "start": 24091, + "end": 24102, "loc": { "start": { - "line": 409, + "line": 513, "column": 21 }, "end": { - "line": 409, + "line": 513, "column": 32 } } @@ -107677,15 +131850,15 @@ "binop": null, "updateContext": null }, - "start": 20671, - "end": 20672, + "start": 24102, + "end": 24103, "loc": { "start": { - "line": 409, + "line": 513, "column": 32 }, "end": { - "line": 409, + "line": 513, "column": 33 } } @@ -107703,15 +131876,15 @@ "binop": null }, "value": "deflatedData", - "start": 20681, - "end": 20693, + "start": 24112, + "end": 24124, "loc": { "start": { - "line": 410, + "line": 514, "column": 8 }, "end": { - "line": 410, + "line": 514, "column": 20 } } @@ -107729,15 +131902,15 @@ "binop": null, "updateContext": null }, - "start": 20693, - "end": 20694, + "start": 24124, + "end": 24125, "loc": { "start": { - "line": 410, + "line": 514, "column": 20 }, "end": { - "line": 410, + "line": 514, "column": 21 } } @@ -107755,15 +131928,15 @@ "binop": null }, "value": "eachTextureDataPortion", - "start": 20694, - "end": 20716, + "start": 24125, + "end": 24147, "loc": { "start": { - "line": 410, + "line": 514, "column": 21 }, "end": { - "line": 410, + "line": 514, "column": 43 } } @@ -107781,15 +131954,15 @@ "binop": null, "updateContext": null }, - "start": 20716, - "end": 20717, + "start": 24147, + "end": 24148, "loc": { "start": { - "line": 410, + "line": 514, "column": 43 }, "end": { - "line": 410, + "line": 514, "column": 44 } } @@ -107807,15 +131980,15 @@ "binop": null }, "value": "deflatedData", - "start": 20726, - "end": 20738, + "start": 24157, + "end": 24169, "loc": { "start": { - "line": 411, + "line": 515, "column": 8 }, "end": { - "line": 411, + "line": 515, "column": 20 } } @@ -107833,15 +132006,15 @@ "binop": null, "updateContext": null }, - "start": 20738, - "end": 20739, + "start": 24169, + "end": 24170, "loc": { "start": { - "line": 411, + "line": 515, "column": 20 }, "end": { - "line": 411, + "line": 515, "column": 21 } } @@ -107859,15 +132032,15 @@ "binop": null }, "value": "eachTextureAttributes", - "start": 20739, - "end": 20760, + "start": 24170, + "end": 24191, "loc": { "start": { - "line": 411, + "line": 515, "column": 21 }, "end": { - "line": 411, + "line": 515, "column": 42 } } @@ -107885,15 +132058,15 @@ "binop": null, "updateContext": null }, - "start": 20760, - "end": 20761, + "start": 24191, + "end": 24192, "loc": { "start": { - "line": 411, + "line": 515, "column": 42 }, "end": { - "line": 411, + "line": 515, "column": 43 } } @@ -107911,15 +132084,15 @@ "binop": null }, "value": "deflatedData", - "start": 20770, - "end": 20782, + "start": 24201, + "end": 24213, "loc": { "start": { - "line": 412, + "line": 516, "column": 8 }, "end": { - "line": 412, + "line": 516, "column": 20 } } @@ -107937,15 +132110,15 @@ "binop": null, "updateContext": null }, - "start": 20782, - "end": 20783, + "start": 24213, + "end": 24214, "loc": { "start": { - "line": 412, + "line": 516, "column": 20 }, "end": { - "line": 412, + "line": 516, "column": 21 } } @@ -107963,15 +132136,15 @@ "binop": null }, "value": "positions", - "start": 20783, - "end": 20792, + "start": 24214, + "end": 24223, "loc": { "start": { - "line": 412, + "line": 516, "column": 21 }, "end": { - "line": 412, + "line": 516, "column": 30 } } @@ -107989,15 +132162,15 @@ "binop": null, "updateContext": null }, - "start": 20792, - "end": 20793, + "start": 24223, + "end": 24224, "loc": { "start": { - "line": 412, + "line": 516, "column": 30 }, "end": { - "line": 412, + "line": 516, "column": 31 } } @@ -108015,15 +132188,15 @@ "binop": null }, "value": "deflatedData", - "start": 20802, - "end": 20814, + "start": 24233, + "end": 24245, "loc": { "start": { - "line": 413, + "line": 517, "column": 8 }, "end": { - "line": 413, + "line": 517, "column": 20 } } @@ -108041,15 +132214,15 @@ "binop": null, "updateContext": null }, - "start": 20814, - "end": 20815, + "start": 24245, + "end": 24246, "loc": { "start": { - "line": 413, + "line": 517, "column": 20 }, "end": { - "line": 413, + "line": 517, "column": 21 } } @@ -108067,15 +132240,15 @@ "binop": null }, "value": "normals", - "start": 20815, - "end": 20822, + "start": 24246, + "end": 24253, "loc": { "start": { - "line": 413, + "line": 517, "column": 21 }, "end": { - "line": 413, + "line": 517, "column": 28 } } @@ -108093,15 +132266,15 @@ "binop": null, "updateContext": null }, - "start": 20822, - "end": 20823, + "start": 24253, + "end": 24254, "loc": { "start": { - "line": 413, + "line": 517, "column": 28 }, "end": { - "line": 413, + "line": 517, "column": 29 } } @@ -108119,15 +132292,15 @@ "binop": null }, "value": "deflatedData", - "start": 20832, - "end": 20844, + "start": 24263, + "end": 24275, "loc": { "start": { - "line": 414, + "line": 518, "column": 8 }, "end": { - "line": 414, + "line": 518, "column": 20 } } @@ -108145,15 +132318,15 @@ "binop": null, "updateContext": null }, - "start": 20844, - "end": 20845, + "start": 24275, + "end": 24276, "loc": { "start": { - "line": 414, + "line": 518, "column": 20 }, "end": { - "line": 414, + "line": 518, "column": 21 } } @@ -108171,15 +132344,15 @@ "binop": null }, "value": "colors", - "start": 20845, - "end": 20851, + "start": 24276, + "end": 24282, "loc": { "start": { - "line": 414, + "line": 518, "column": 21 }, "end": { - "line": 414, + "line": 518, "column": 27 } } @@ -108197,15 +132370,15 @@ "binop": null, "updateContext": null }, - "start": 20851, - "end": 20852, + "start": 24282, + "end": 24283, "loc": { "start": { - "line": 414, + "line": 518, "column": 27 }, "end": { - "line": 414, + "line": 518, "column": 28 } } @@ -108223,15 +132396,15 @@ "binop": null }, "value": "deflatedData", - "start": 20861, - "end": 20873, + "start": 24292, + "end": 24304, "loc": { "start": { - "line": 415, + "line": 519, "column": 8 }, "end": { - "line": 415, + "line": 519, "column": 20 } } @@ -108249,15 +132422,15 @@ "binop": null, "updateContext": null }, - "start": 20873, - "end": 20874, + "start": 24304, + "end": 24305, "loc": { "start": { - "line": 415, + "line": 519, "column": 20 }, "end": { - "line": 415, + "line": 519, "column": 21 } } @@ -108275,15 +132448,15 @@ "binop": null }, "value": "uvs", - "start": 20874, - "end": 20877, + "start": 24305, + "end": 24308, "loc": { "start": { - "line": 415, + "line": 519, "column": 21 }, "end": { - "line": 415, + "line": 519, "column": 24 } } @@ -108301,15 +132474,15 @@ "binop": null, "updateContext": null }, - "start": 20877, - "end": 20878, + "start": 24308, + "end": 24309, "loc": { "start": { - "line": 415, + "line": 519, "column": 24 }, "end": { - "line": 415, + "line": 519, "column": 25 } } @@ -108327,15 +132500,15 @@ "binop": null }, "value": "deflatedData", - "start": 20887, - "end": 20899, + "start": 24318, + "end": 24330, "loc": { "start": { - "line": 416, + "line": 520, "column": 8 }, "end": { - "line": 416, + "line": 520, "column": 20 } } @@ -108353,15 +132526,15 @@ "binop": null, "updateContext": null }, - "start": 20899, - "end": 20900, + "start": 24330, + "end": 24331, "loc": { "start": { - "line": 416, + "line": 520, "column": 20 }, "end": { - "line": 416, + "line": 520, "column": 21 } } @@ -108379,15 +132552,15 @@ "binop": null }, "value": "indices", - "start": 20900, - "end": 20907, + "start": 24331, + "end": 24338, "loc": { "start": { - "line": 416, + "line": 520, "column": 21 }, "end": { - "line": 416, + "line": 520, "column": 28 } } @@ -108405,15 +132578,15 @@ "binop": null, "updateContext": null }, - "start": 20907, - "end": 20908, + "start": 24338, + "end": 24339, "loc": { "start": { - "line": 416, + "line": 520, "column": 28 }, "end": { - "line": 416, + "line": 520, "column": 29 } } @@ -108431,15 +132604,15 @@ "binop": null }, "value": "deflatedData", - "start": 20917, - "end": 20929, + "start": 24348, + "end": 24360, "loc": { "start": { - "line": 417, + "line": 521, "column": 8 }, "end": { - "line": 417, + "line": 521, "column": 20 } } @@ -108457,15 +132630,15 @@ "binop": null, "updateContext": null }, - "start": 20929, - "end": 20930, + "start": 24360, + "end": 24361, "loc": { "start": { - "line": 417, + "line": 521, "column": 20 }, "end": { - "line": 417, + "line": 521, "column": 21 } } @@ -108483,15 +132656,15 @@ "binop": null }, "value": "edgeIndices", - "start": 20930, - "end": 20941, + "start": 24361, + "end": 24372, "loc": { "start": { - "line": 417, + "line": 521, "column": 21 }, "end": { - "line": 417, + "line": 521, "column": 32 } } @@ -108509,15 +132682,15 @@ "binop": null, "updateContext": null }, - "start": 20941, - "end": 20942, + "start": 24372, + "end": 24373, "loc": { "start": { - "line": 417, + "line": 521, "column": 32 }, "end": { - "line": 417, + "line": 521, "column": 33 } } @@ -108535,15 +132708,15 @@ "binop": null }, "value": "deflatedData", - "start": 20951, - "end": 20963, + "start": 24382, + "end": 24394, "loc": { "start": { - "line": 418, + "line": 522, "column": 8 }, "end": { - "line": 418, + "line": 522, "column": 20 } } @@ -108561,15 +132734,15 @@ "binop": null, "updateContext": null }, - "start": 20963, - "end": 20964, + "start": 24394, + "end": 24395, "loc": { "start": { - "line": 418, + "line": 522, "column": 20 }, "end": { - "line": 418, + "line": 522, "column": 21 } } @@ -108587,15 +132760,15 @@ "binop": null }, "value": "eachTextureSetTextures", - "start": 20964, - "end": 20986, + "start": 24395, + "end": 24417, "loc": { "start": { - "line": 418, + "line": 522, "column": 21 }, "end": { - "line": 418, + "line": 522, "column": 43 } } @@ -108613,15 +132786,15 @@ "binop": null, "updateContext": null }, - "start": 20986, - "end": 20987, + "start": 24417, + "end": 24418, "loc": { "start": { - "line": 418, + "line": 522, "column": 43 }, "end": { - "line": 418, + "line": 522, "column": 44 } } @@ -108639,15 +132812,15 @@ "binop": null }, "value": "deflatedData", - "start": 20996, - "end": 21008, + "start": 24427, + "end": 24439, "loc": { "start": { - "line": 419, + "line": 523, "column": 8 }, "end": { - "line": 419, + "line": 523, "column": 20 } } @@ -108665,15 +132838,15 @@ "binop": null, "updateContext": null }, - "start": 21008, - "end": 21009, + "start": 24439, + "end": 24440, "loc": { "start": { - "line": 419, + "line": 523, "column": 20 }, "end": { - "line": 419, + "line": 523, "column": 21 } } @@ -108691,15 +132864,15 @@ "binop": null }, "value": "matrices", - "start": 21009, - "end": 21017, + "start": 24440, + "end": 24448, "loc": { "start": { - "line": 419, + "line": 523, "column": 21 }, "end": { - "line": 419, + "line": 523, "column": 29 } } @@ -108717,15 +132890,15 @@ "binop": null, "updateContext": null }, - "start": 21017, - "end": 21018, + "start": 24448, + "end": 24449, "loc": { "start": { - "line": 419, + "line": 523, "column": 29 }, "end": { - "line": 419, + "line": 523, "column": 30 } } @@ -108743,15 +132916,15 @@ "binop": null }, "value": "deflatedData", - "start": 21027, - "end": 21039, + "start": 24458, + "end": 24470, "loc": { "start": { - "line": 420, + "line": 524, "column": 8 }, "end": { - "line": 420, + "line": 524, "column": 20 } } @@ -108769,15 +132942,15 @@ "binop": null, "updateContext": null }, - "start": 21039, - "end": 21040, + "start": 24470, + "end": 24471, "loc": { "start": { - "line": 420, + "line": 524, "column": 20 }, "end": { - "line": 420, + "line": 524, "column": 21 } } @@ -108795,15 +132968,15 @@ "binop": null }, "value": "reusedGeometriesDecodeMatrix", - "start": 21040, - "end": 21068, + "start": 24471, + "end": 24499, "loc": { "start": { - "line": 420, + "line": 524, "column": 21 }, "end": { - "line": 420, + "line": 524, "column": 49 } } @@ -108821,15 +132994,15 @@ "binop": null, "updateContext": null }, - "start": 21068, - "end": 21069, + "start": 24499, + "end": 24500, "loc": { "start": { - "line": 420, + "line": 524, "column": 49 }, "end": { - "line": 420, + "line": 524, "column": 50 } } @@ -108847,15 +133020,15 @@ "binop": null }, "value": "deflatedData", - "start": 21078, - "end": 21090, + "start": 24509, + "end": 24521, "loc": { "start": { - "line": 421, + "line": 525, "column": 8 }, "end": { - "line": 421, + "line": 525, "column": 20 } } @@ -108873,15 +133046,15 @@ "binop": null, "updateContext": null }, - "start": 21090, - "end": 21091, + "start": 24521, + "end": 24522, "loc": { "start": { - "line": 421, + "line": 525, "column": 20 }, "end": { - "line": 421, + "line": 525, "column": 21 } } @@ -108899,15 +133072,15 @@ "binop": null }, "value": "eachGeometryPrimitiveType", - "start": 21091, - "end": 21116, + "start": 24522, + "end": 24547, "loc": { "start": { - "line": 421, + "line": 525, "column": 21 }, "end": { - "line": 421, + "line": 525, "column": 46 } } @@ -108925,15 +133098,15 @@ "binop": null, "updateContext": null }, - "start": 21116, - "end": 21117, + "start": 24547, + "end": 24548, "loc": { "start": { - "line": 421, + "line": 525, "column": 46 }, "end": { - "line": 421, + "line": 525, "column": 47 } } @@ -108951,15 +133124,15 @@ "binop": null }, "value": "deflatedData", - "start": 21126, - "end": 21138, + "start": 24557, + "end": 24569, "loc": { "start": { - "line": 422, + "line": 526, "column": 8 }, "end": { - "line": 422, + "line": 526, "column": 20 } } @@ -108977,15 +133150,15 @@ "binop": null, "updateContext": null }, - "start": 21138, - "end": 21139, + "start": 24569, + "end": 24570, "loc": { "start": { - "line": 422, + "line": 526, "column": 20 }, "end": { - "line": 422, + "line": 526, "column": 21 } } @@ -109003,15 +133176,15 @@ "binop": null }, "value": "eachGeometryPositionsPortion", - "start": 21139, - "end": 21167, + "start": 24570, + "end": 24598, "loc": { "start": { - "line": 422, + "line": 526, "column": 21 }, "end": { - "line": 422, + "line": 526, "column": 49 } } @@ -109029,15 +133202,15 @@ "binop": null, "updateContext": null }, - "start": 21167, - "end": 21168, + "start": 24598, + "end": 24599, "loc": { "start": { - "line": 422, + "line": 526, "column": 49 }, "end": { - "line": 422, + "line": 526, "column": 50 } } @@ -109055,15 +133228,15 @@ "binop": null }, "value": "deflatedData", - "start": 21177, - "end": 21189, + "start": 24608, + "end": 24620, "loc": { "start": { - "line": 423, + "line": 527, "column": 8 }, "end": { - "line": 423, + "line": 527, "column": 20 } } @@ -109081,15 +133254,15 @@ "binop": null, "updateContext": null }, - "start": 21189, - "end": 21190, + "start": 24620, + "end": 24621, "loc": { "start": { - "line": 423, + "line": 527, "column": 20 }, "end": { - "line": 423, + "line": 527, "column": 21 } } @@ -109107,15 +133280,15 @@ "binop": null }, "value": "eachGeometryNormalsPortion", - "start": 21190, - "end": 21216, + "start": 24621, + "end": 24647, "loc": { "start": { - "line": 423, + "line": 527, "column": 21 }, "end": { - "line": 423, + "line": 527, "column": 47 } } @@ -109133,15 +133306,15 @@ "binop": null, "updateContext": null }, - "start": 21216, - "end": 21217, + "start": 24647, + "end": 24648, "loc": { "start": { - "line": 423, + "line": 527, "column": 47 }, "end": { - "line": 423, + "line": 527, "column": 48 } } @@ -109159,15 +133332,15 @@ "binop": null }, "value": "deflatedData", - "start": 21226, - "end": 21238, + "start": 24657, + "end": 24669, "loc": { "start": { - "line": 424, + "line": 528, "column": 8 }, "end": { - "line": 424, + "line": 528, "column": 20 } } @@ -109185,15 +133358,15 @@ "binop": null, "updateContext": null }, - "start": 21238, - "end": 21239, + "start": 24669, + "end": 24670, "loc": { "start": { - "line": 424, + "line": 528, "column": 20 }, "end": { - "line": 424, + "line": 528, "column": 21 } } @@ -109211,15 +133384,15 @@ "binop": null }, "value": "eachGeometryColorsPortion", - "start": 21239, - "end": 21264, + "start": 24670, + "end": 24695, "loc": { "start": { - "line": 424, + "line": 528, "column": 21 }, "end": { - "line": 424, + "line": 528, "column": 46 } } @@ -109237,15 +133410,15 @@ "binop": null, "updateContext": null }, - "start": 21264, - "end": 21265, + "start": 24695, + "end": 24696, "loc": { "start": { - "line": 424, + "line": 528, "column": 46 }, "end": { - "line": 424, + "line": 528, "column": 47 } } @@ -109263,15 +133436,15 @@ "binop": null }, "value": "deflatedData", - "start": 21274, - "end": 21286, + "start": 24705, + "end": 24717, "loc": { "start": { - "line": 425, + "line": 529, "column": 8 }, "end": { - "line": 425, + "line": 529, "column": 20 } } @@ -109289,15 +133462,15 @@ "binop": null, "updateContext": null }, - "start": 21286, - "end": 21287, + "start": 24717, + "end": 24718, "loc": { "start": { - "line": 425, + "line": 529, "column": 20 }, "end": { - "line": 425, + "line": 529, "column": 21 } } @@ -109315,15 +133488,15 @@ "binop": null }, "value": "eachGeometryUVsPortion", - "start": 21287, - "end": 21309, + "start": 24718, + "end": 24740, "loc": { "start": { - "line": 425, + "line": 529, "column": 21 }, "end": { - "line": 425, + "line": 529, "column": 43 } } @@ -109341,15 +133514,15 @@ "binop": null, "updateContext": null }, - "start": 21309, - "end": 21310, + "start": 24740, + "end": 24741, "loc": { "start": { - "line": 425, + "line": 529, "column": 43 }, "end": { - "line": 425, + "line": 529, "column": 44 } } @@ -109367,15 +133540,15 @@ "binop": null }, "value": "deflatedData", - "start": 21319, - "end": 21331, + "start": 24750, + "end": 24762, "loc": { "start": { - "line": 426, + "line": 530, "column": 8 }, "end": { - "line": 426, + "line": 530, "column": 20 } } @@ -109393,15 +133566,15 @@ "binop": null, "updateContext": null }, - "start": 21331, - "end": 21332, + "start": 24762, + "end": 24763, "loc": { "start": { - "line": 426, + "line": 530, "column": 20 }, "end": { - "line": 426, + "line": 530, "column": 21 } } @@ -109419,15 +133592,15 @@ "binop": null }, "value": "eachGeometryIndicesPortion", - "start": 21332, - "end": 21358, + "start": 24763, + "end": 24789, "loc": { "start": { - "line": 426, + "line": 530, "column": 21 }, "end": { - "line": 426, + "line": 530, "column": 47 } } @@ -109445,15 +133618,15 @@ "binop": null, "updateContext": null }, - "start": 21358, - "end": 21359, + "start": 24789, + "end": 24790, "loc": { "start": { - "line": 426, + "line": 530, "column": 47 }, "end": { - "line": 426, + "line": 530, "column": 48 } } @@ -109471,15 +133644,15 @@ "binop": null }, "value": "deflatedData", - "start": 21368, - "end": 21380, + "start": 24799, + "end": 24811, "loc": { "start": { - "line": 427, + "line": 531, "column": 8 }, "end": { - "line": 427, + "line": 531, "column": 20 } } @@ -109497,15 +133670,15 @@ "binop": null, "updateContext": null }, - "start": 21380, - "end": 21381, + "start": 24811, + "end": 24812, "loc": { "start": { - "line": 427, + "line": 531, "column": 20 }, "end": { - "line": 427, + "line": 531, "column": 21 } } @@ -109523,15 +133696,15 @@ "binop": null }, "value": "eachGeometryEdgeIndicesPortion", - "start": 21381, - "end": 21411, + "start": 24812, + "end": 24842, "loc": { "start": { - "line": 427, + "line": 531, "column": 21 }, "end": { - "line": 427, + "line": 531, "column": 51 } } @@ -109549,15 +133722,15 @@ "binop": null, "updateContext": null }, - "start": 21411, - "end": 21412, + "start": 24842, + "end": 24843, "loc": { "start": { - "line": 427, + "line": 531, "column": 51 }, "end": { - "line": 427, + "line": 531, "column": 52 } } @@ -109575,15 +133748,15 @@ "binop": null }, "value": "deflatedData", - "start": 21421, - "end": 21433, + "start": 24852, + "end": 24864, "loc": { "start": { - "line": 428, + "line": 532, "column": 8 }, "end": { - "line": 428, + "line": 532, "column": 20 } } @@ -109601,15 +133774,15 @@ "binop": null, "updateContext": null }, - "start": 21433, - "end": 21434, + "start": 24864, + "end": 24865, "loc": { "start": { - "line": 428, + "line": 532, "column": 20 }, "end": { - "line": 428, + "line": 532, "column": 21 } } @@ -109627,15 +133800,15 @@ "binop": null }, "value": "eachMeshGeometriesPortion", - "start": 21434, - "end": 21459, + "start": 24865, + "end": 24890, "loc": { "start": { - "line": 428, + "line": 532, "column": 21 }, "end": { - "line": 428, + "line": 532, "column": 46 } } @@ -109653,15 +133826,15 @@ "binop": null, "updateContext": null }, - "start": 21459, - "end": 21460, + "start": 24890, + "end": 24891, "loc": { "start": { - "line": 428, + "line": 532, "column": 46 }, "end": { - "line": 428, + "line": 532, "column": 47 } } @@ -109679,15 +133852,15 @@ "binop": null }, "value": "deflatedData", - "start": 21469, - "end": 21481, + "start": 24900, + "end": 24912, "loc": { "start": { - "line": 429, + "line": 533, "column": 8 }, "end": { - "line": 429, + "line": 533, "column": 20 } } @@ -109705,15 +133878,15 @@ "binop": null, "updateContext": null }, - "start": 21481, - "end": 21482, + "start": 24912, + "end": 24913, "loc": { "start": { - "line": 429, + "line": 533, "column": 20 }, "end": { - "line": 429, + "line": 533, "column": 21 } } @@ -109731,15 +133904,15 @@ "binop": null }, "value": "eachMeshMatricesPortion", - "start": 21482, - "end": 21505, + "start": 24913, + "end": 24936, "loc": { "start": { - "line": 429, + "line": 533, "column": 21 }, "end": { - "line": 429, + "line": 533, "column": 44 } } @@ -109757,15 +133930,15 @@ "binop": null, "updateContext": null }, - "start": 21505, - "end": 21506, + "start": 24936, + "end": 24937, "loc": { "start": { - "line": 429, + "line": 533, "column": 44 }, "end": { - "line": 429, + "line": 533, "column": 45 } } @@ -109783,15 +133956,15 @@ "binop": null }, "value": "deflatedData", - "start": 21515, - "end": 21527, + "start": 24946, + "end": 24958, "loc": { "start": { - "line": 430, + "line": 534, "column": 8 }, "end": { - "line": 430, + "line": 534, "column": 20 } } @@ -109809,15 +133982,15 @@ "binop": null, "updateContext": null }, - "start": 21527, - "end": 21528, + "start": 24958, + "end": 24959, "loc": { "start": { - "line": 430, + "line": 534, "column": 20 }, "end": { - "line": 430, + "line": 534, "column": 21 } } @@ -109835,15 +134008,15 @@ "binop": null }, "value": "eachMeshTextureSet", - "start": 21528, - "end": 21546, + "start": 24959, + "end": 24977, "loc": { "start": { - "line": 430, + "line": 534, "column": 21 }, "end": { - "line": 430, + "line": 534, "column": 39 } } @@ -109861,15 +134034,15 @@ "binop": null, "updateContext": null }, - "start": 21546, - "end": 21547, + "start": 24977, + "end": 24978, "loc": { "start": { - "line": 430, + "line": 534, "column": 39 }, "end": { - "line": 430, + "line": 534, "column": 40 } } @@ -109887,15 +134060,15 @@ "binop": null }, "value": "deflatedData", - "start": 21556, - "end": 21568, + "start": 24987, + "end": 24999, "loc": { "start": { - "line": 431, + "line": 535, "column": 8 }, "end": { - "line": 431, + "line": 535, "column": 20 } } @@ -109913,15 +134086,15 @@ "binop": null, "updateContext": null }, - "start": 21568, - "end": 21569, + "start": 24999, + "end": 25000, "loc": { "start": { - "line": 431, + "line": 535, "column": 20 }, "end": { - "line": 431, + "line": 535, "column": 21 } } @@ -109939,15 +134112,15 @@ "binop": null }, "value": "eachMeshMaterialAttributes", - "start": 21569, - "end": 21595, + "start": 25000, + "end": 25026, "loc": { "start": { - "line": 431, + "line": 535, "column": 21 }, "end": { - "line": 431, + "line": 535, "column": 47 } } @@ -109965,15 +134138,15 @@ "binop": null, "updateContext": null }, - "start": 21595, - "end": 21596, + "start": 25026, + "end": 25027, "loc": { "start": { - "line": 431, + "line": 535, "column": 47 }, "end": { - "line": 431, + "line": 535, "column": 48 } } @@ -109991,15 +134164,15 @@ "binop": null }, "value": "deflatedData", - "start": 21605, - "end": 21617, + "start": 25036, + "end": 25048, "loc": { "start": { - "line": 432, + "line": 536, "column": 8 }, "end": { - "line": 432, + "line": 536, "column": 20 } } @@ -110017,15 +134190,15 @@ "binop": null, "updateContext": null }, - "start": 21617, - "end": 21618, + "start": 25048, + "end": 25049, "loc": { "start": { - "line": 432, + "line": 536, "column": 20 }, "end": { - "line": 432, + "line": 536, "column": 21 } } @@ -110043,15 +134216,15 @@ "binop": null }, "value": "eachEntityId", - "start": 21618, - "end": 21630, + "start": 25049, + "end": 25061, "loc": { "start": { - "line": 432, + "line": 536, "column": 21 }, "end": { - "line": 432, + "line": 536, "column": 33 } } @@ -110069,15 +134242,15 @@ "binop": null, "updateContext": null }, - "start": 21630, - "end": 21631, + "start": 25061, + "end": 25062, "loc": { "start": { - "line": 432, + "line": 536, "column": 33 }, "end": { - "line": 432, + "line": 536, "column": 34 } } @@ -110095,15 +134268,15 @@ "binop": null }, "value": "deflatedData", - "start": 21640, - "end": 21652, + "start": 25071, + "end": 25083, "loc": { "start": { - "line": 433, + "line": 537, "column": 8 }, "end": { - "line": 433, + "line": 537, "column": 20 } } @@ -110121,15 +134294,15 @@ "binop": null, "updateContext": null }, - "start": 21652, - "end": 21653, + "start": 25083, + "end": 25084, "loc": { "start": { - "line": 433, + "line": 537, "column": 20 }, "end": { - "line": 433, + "line": 537, "column": 21 } } @@ -110147,15 +134320,15 @@ "binop": null }, "value": "eachEntityMeshesPortion", - "start": 21653, - "end": 21676, + "start": 25084, + "end": 25107, "loc": { "start": { - "line": 433, + "line": 537, "column": 21 }, "end": { - "line": 433, + "line": 537, "column": 44 } } @@ -110173,15 +134346,15 @@ "binop": null, "updateContext": null }, - "start": 21676, - "end": 21677, + "start": 25107, + "end": 25108, "loc": { "start": { - "line": 433, + "line": 537, "column": 44 }, "end": { - "line": 433, + "line": 537, "column": 45 } } @@ -110199,15 +134372,15 @@ "binop": null }, "value": "deflatedData", - "start": 21686, - "end": 21698, + "start": 25117, + "end": 25129, "loc": { "start": { - "line": 434, + "line": 538, "column": 8 }, "end": { - "line": 434, + "line": 538, "column": 20 } } @@ -110225,15 +134398,15 @@ "binop": null, "updateContext": null }, - "start": 21698, - "end": 21699, + "start": 25129, + "end": 25130, "loc": { "start": { - "line": 434, + "line": 538, "column": 20 }, "end": { - "line": 434, + "line": 538, "column": 21 } } @@ -110251,15 +134424,15 @@ "binop": null }, "value": "eachTileAABB", - "start": 21699, - "end": 21711, + "start": 25130, + "end": 25142, "loc": { "start": { - "line": 434, + "line": 538, "column": 21 }, "end": { - "line": 434, + "line": 538, "column": 33 } } @@ -110277,15 +134450,15 @@ "binop": null, "updateContext": null }, - "start": 21711, - "end": 21712, + "start": 25142, + "end": 25143, "loc": { "start": { - "line": 434, + "line": 538, "column": 33 }, "end": { - "line": 434, + "line": 538, "column": 34 } } @@ -110303,15 +134476,15 @@ "binop": null }, "value": "deflatedData", - "start": 21721, - "end": 21733, + "start": 25152, + "end": 25164, "loc": { "start": { - "line": 435, + "line": 539, "column": 8 }, "end": { - "line": 435, + "line": 539, "column": 20 } } @@ -110329,15 +134502,15 @@ "binop": null, "updateContext": null }, - "start": 21733, - "end": 21734, + "start": 25164, + "end": 25165, "loc": { "start": { - "line": 435, + "line": 539, "column": 20 }, "end": { - "line": 435, + "line": 539, "column": 21 } } @@ -110355,15 +134528,15 @@ "binop": null }, "value": "eachTileEntitiesPortion", - "start": 21734, - "end": 21757, + "start": 25165, + "end": 25188, "loc": { "start": { - "line": 435, + "line": 539, "column": 21 }, "end": { - "line": 435, + "line": 539, "column": 44 } } @@ -110381,15 +134554,15 @@ "binop": null, "updateContext": null }, - "start": 21762, - "end": 21763, + "start": 25193, + "end": 25194, "loc": { "start": { - "line": 436, + "line": 540, "column": 4 }, "end": { - "line": 436, + "line": 540, "column": 5 } } @@ -110406,15 +134579,15 @@ "postfix": false, "binop": null }, - "start": 21763, - "end": 21764, + "start": 25194, + "end": 25195, "loc": { "start": { - "line": 436, + "line": 540, "column": 5 }, "end": { - "line": 436, + "line": 540, "column": 6 } } @@ -110432,15 +134605,15 @@ "binop": null, "updateContext": null }, - "start": 21764, - "end": 21765, + "start": 25195, + "end": 25196, "loc": { "start": { - "line": 436, + "line": 540, "column": 6 }, "end": { - "line": 436, + "line": 540, "column": 7 } } @@ -110457,15 +134630,15 @@ "postfix": false, "binop": null }, - "start": 21766, - "end": 21767, + "start": 25197, + "end": 25198, "loc": { "start": { - "line": 437, + "line": 541, "column": 0 }, "end": { - "line": 437, + "line": 541, "column": 1 } } @@ -110484,15 +134657,15 @@ "binop": null }, "value": "function", - "start": 21769, - "end": 21777, + "start": 25200, + "end": 25208, "loc": { "start": { - "line": 439, + "line": 543, "column": 0 }, "end": { - "line": 439, + "line": 543, "column": 8 } } @@ -110510,15 +134683,15 @@ "binop": null }, "value": "toArrayBuffer", - "start": 21778, - "end": 21791, + "start": 25209, + "end": 25222, "loc": { "start": { - "line": 439, + "line": 543, "column": 9 }, "end": { - "line": 439, + "line": 543, "column": 22 } } @@ -110535,15 +134708,15 @@ "postfix": false, "binop": null }, - "start": 21791, - "end": 21792, + "start": 25222, + "end": 25223, "loc": { "start": { - "line": 439, + "line": 543, "column": 22 }, "end": { - "line": 439, + "line": 543, "column": 23 } } @@ -110561,15 +134734,15 @@ "binop": null }, "value": "elements", - "start": 21792, - "end": 21800, + "start": 25223, + "end": 25231, "loc": { "start": { - "line": 439, + "line": 543, "column": 23 }, "end": { - "line": 439, + "line": 543, "column": 31 } } @@ -110586,15 +134759,15 @@ "postfix": false, "binop": null }, - "start": 21800, - "end": 21801, + "start": 25231, + "end": 25232, "loc": { "start": { - "line": 439, + "line": 543, "column": 31 }, "end": { - "line": 439, + "line": 543, "column": 32 } } @@ -110611,15 +134784,15 @@ "postfix": false, "binop": null }, - "start": 21802, - "end": 21803, + "start": 25233, + "end": 25234, "loc": { "start": { - "line": 439, + "line": 543, "column": 33 }, "end": { - "line": 439, + "line": 543, "column": 34 } } @@ -110639,15 +134812,15 @@ "updateContext": null }, "value": "const", - "start": 21808, - "end": 21813, + "start": 25239, + "end": 25244, "loc": { "start": { - "line": 440, + "line": 544, "column": 4 }, "end": { - "line": 440, + "line": 544, "column": 9 } } @@ -110665,15 +134838,15 @@ "binop": null }, "value": "indexData", - "start": 21814, - "end": 21823, + "start": 25245, + "end": 25254, "loc": { "start": { - "line": 440, + "line": 544, "column": 10 }, "end": { - "line": 440, + "line": 544, "column": 19 } } @@ -110692,15 +134865,15 @@ "updateContext": null }, "value": "=", - "start": 21824, - "end": 21825, + "start": 25255, + "end": 25256, "loc": { "start": { - "line": 440, + "line": 544, "column": 20 }, "end": { - "line": 440, + "line": 544, "column": 21 } } @@ -110720,15 +134893,15 @@ "updateContext": null }, "value": "new", - "start": 21826, - "end": 21829, + "start": 25257, + "end": 25260, "loc": { "start": { - "line": 440, + "line": 544, "column": 22 }, "end": { - "line": 440, + "line": 544, "column": 25 } } @@ -110746,15 +134919,15 @@ "binop": null }, "value": "Uint32Array", - "start": 21830, - "end": 21841, + "start": 25261, + "end": 25272, "loc": { "start": { - "line": 440, + "line": 544, "column": 26 }, "end": { - "line": 440, + "line": 544, "column": 37 } } @@ -110771,15 +134944,15 @@ "postfix": false, "binop": null }, - "start": 21841, - "end": 21842, + "start": 25272, + "end": 25273, "loc": { "start": { - "line": 440, + "line": 544, "column": 37 }, "end": { - "line": 440, + "line": 544, "column": 38 } } @@ -110797,15 +134970,15 @@ "binop": null }, "value": "elements", - "start": 21842, - "end": 21850, + "start": 25273, + "end": 25281, "loc": { "start": { - "line": 440, + "line": 544, "column": 38 }, "end": { - "line": 440, + "line": 544, "column": 46 } } @@ -110823,15 +134996,15 @@ "binop": null, "updateContext": null }, - "start": 21850, - "end": 21851, + "start": 25281, + "end": 25282, "loc": { "start": { - "line": 440, + "line": 544, "column": 46 }, "end": { - "line": 440, + "line": 544, "column": 47 } } @@ -110849,15 +135022,15 @@ "binop": null }, "value": "length", - "start": 21851, - "end": 21857, + "start": 25282, + "end": 25288, "loc": { "start": { - "line": 440, + "line": 544, "column": 47 }, "end": { - "line": 440, + "line": 544, "column": 53 } } @@ -110876,15 +135049,15 @@ "updateContext": null }, "value": "+", - "start": 21858, - "end": 21859, + "start": 25289, + "end": 25290, "loc": { "start": { - "line": 440, + "line": 544, "column": 54 }, "end": { - "line": 440, + "line": 544, "column": 55 } } @@ -110903,15 +135076,15 @@ "updateContext": null }, "value": 2, - "start": 21860, - "end": 21861, + "start": 25291, + "end": 25292, "loc": { "start": { - "line": 440, + "line": 544, "column": 56 }, "end": { - "line": 440, + "line": 544, "column": 57 } } @@ -110928,15 +135101,15 @@ "postfix": false, "binop": null }, - "start": 21861, - "end": 21862, + "start": 25292, + "end": 25293, "loc": { "start": { - "line": 440, + "line": 544, "column": 57 }, "end": { - "line": 440, + "line": 544, "column": 58 } } @@ -110954,15 +135127,15 @@ "binop": null, "updateContext": null }, - "start": 21862, - "end": 21863, + "start": 25293, + "end": 25294, "loc": { "start": { - "line": 440, + "line": 544, "column": 58 }, "end": { - "line": 440, + "line": 544, "column": 59 } } @@ -110980,15 +135153,15 @@ "binop": null }, "value": "indexData", - "start": 21868, - "end": 21877, + "start": 25299, + "end": 25308, "loc": { "start": { - "line": 441, + "line": 545, "column": 4 }, "end": { - "line": 441, + "line": 545, "column": 13 } } @@ -111006,15 +135179,15 @@ "binop": null, "updateContext": null }, - "start": 21877, - "end": 21878, + "start": 25308, + "end": 25309, "loc": { "start": { - "line": 441, + "line": 545, "column": 13 }, "end": { - "line": 441, + "line": 545, "column": 14 } } @@ -111033,15 +135206,15 @@ "updateContext": null }, "value": 0, - "start": 21878, - "end": 21879, + "start": 25309, + "end": 25310, "loc": { "start": { - "line": 441, + "line": 545, "column": 14 }, "end": { - "line": 441, + "line": 545, "column": 15 } } @@ -111059,15 +135232,15 @@ "binop": null, "updateContext": null }, - "start": 21879, - "end": 21880, + "start": 25310, + "end": 25311, "loc": { "start": { - "line": 441, + "line": 545, "column": 15 }, "end": { - "line": 441, + "line": 545, "column": 16 } } @@ -111086,22 +135259,22 @@ "updateContext": null }, "value": "=", - "start": 21881, - "end": 21882, + "start": 25312, + "end": 25313, "loc": { "start": { - "line": 441, + "line": 545, "column": 17 }, "end": { - "line": 441, + "line": 545, "column": 18 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -111109,19 +135282,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "XKT_VERSION", - "start": 21883, - "end": 21894, + "value": 10, + "start": 25314, + "end": 25316, "loc": { "start": { - "line": 441, + "line": 545, "column": 19 }, "end": { - "line": 441, - "column": 30 + "line": 545, + "column": 21 } } }, @@ -111138,16 +135312,32 @@ "binop": null, "updateContext": null }, - "start": 21894, - "end": 21895, + "start": 25316, + "end": 25317, "loc": { "start": { - "line": 441, - "column": 30 + "line": 545, + "column": 21 }, "end": { - "line": 441, - "column": 31 + "line": 545, + "column": 22 + } + } + }, + { + "type": "CommentLine", + "value": " XKT_VERSION for legacy v10 mode", + "start": 25318, + "end": 25352, + "loc": { + "start": { + "line": 545, + "column": 23 + }, + "end": { + "line": 545, + "column": 57 } } }, @@ -111164,15 +135354,15 @@ "binop": null }, "value": "indexData", - "start": 21900, - "end": 21909, + "start": 25357, + "end": 25366, "loc": { "start": { - "line": 442, + "line": 546, "column": 4 }, "end": { - "line": 442, + "line": 546, "column": 13 } } @@ -111190,15 +135380,15 @@ "binop": null, "updateContext": null }, - "start": 21910, - "end": 21911, + "start": 25367, + "end": 25368, "loc": { "start": { - "line": 442, + "line": 546, "column": 14 }, "end": { - "line": 442, + "line": 546, "column": 15 } } @@ -111217,15 +135407,15 @@ "updateContext": null }, "value": 1, - "start": 21911, - "end": 21912, + "start": 25368, + "end": 25369, "loc": { "start": { - "line": 442, + "line": 546, "column": 15 }, "end": { - "line": 442, + "line": 546, "column": 16 } } @@ -111243,15 +135433,15 @@ "binop": null, "updateContext": null }, - "start": 21912, - "end": 21913, + "start": 25369, + "end": 25370, "loc": { "start": { - "line": 442, + "line": 546, "column": 16 }, "end": { - "line": 442, + "line": 546, "column": 17 } } @@ -111270,15 +135460,15 @@ "updateContext": null }, "value": "=", - "start": 21914, - "end": 21915, + "start": 25371, + "end": 25372, "loc": { "start": { - "line": 442, + "line": 546, "column": 18 }, "end": { - "line": 442, + "line": 546, "column": 19 } } @@ -111296,15 +135486,15 @@ "binop": null }, "value": "elements", - "start": 21916, - "end": 21924, + "start": 25373, + "end": 25381, "loc": { "start": { - "line": 442, + "line": 546, "column": 20 }, "end": { - "line": 442, + "line": 546, "column": 28 } } @@ -111322,15 +135512,15 @@ "binop": null, "updateContext": null }, - "start": 21924, - "end": 21925, + "start": 25381, + "end": 25382, "loc": { "start": { - "line": 442, + "line": 546, "column": 28 }, "end": { - "line": 442, + "line": 546, "column": 29 } } @@ -111348,15 +135538,15 @@ "binop": null }, "value": "length", - "start": 21925, - "end": 21931, + "start": 25382, + "end": 25388, "loc": { "start": { - "line": 442, + "line": 546, "column": 29 }, "end": { - "line": 442, + "line": 546, "column": 35 } } @@ -111374,15 +135564,15 @@ "binop": null, "updateContext": null }, - "start": 21931, - "end": 21932, + "start": 25388, + "end": 25389, "loc": { "start": { - "line": 442, + "line": 546, "column": 35 }, "end": { - "line": 442, + "line": 546, "column": 36 } } @@ -111390,15 +135580,15 @@ { "type": "CommentLine", "value": " Stored Data 1.1: number of stored elements", - "start": 21934, - "end": 21979, + "start": 25391, + "end": 25436, "loc": { "start": { - "line": 442, + "line": 546, "column": 38 }, "end": { - "line": 442, + "line": 546, "column": 83 } } @@ -111418,15 +135608,15 @@ "updateContext": null }, "value": "let", - "start": 21984, - "end": 21987, + "start": 25441, + "end": 25444, "loc": { "start": { - "line": 443, + "line": 547, "column": 4 }, "end": { - "line": 443, + "line": 547, "column": 7 } } @@ -111444,15 +135634,15 @@ "binop": null }, "value": "dataLen", - "start": 21988, - "end": 21995, + "start": 25445, + "end": 25452, "loc": { "start": { - "line": 443, + "line": 547, "column": 8 }, "end": { - "line": 443, + "line": 547, "column": 15 } } @@ -111471,15 +135661,15 @@ "updateContext": null }, "value": "=", - "start": 21996, - "end": 21997, + "start": 25453, + "end": 25454, "loc": { "start": { - "line": 443, + "line": 547, "column": 16 }, "end": { - "line": 443, + "line": 547, "column": 17 } } @@ -111498,15 +135688,15 @@ "updateContext": null }, "value": 0, - "start": 21998, - "end": 21999, + "start": 25455, + "end": 25456, "loc": { "start": { - "line": 443, + "line": 547, "column": 18 }, "end": { - "line": 443, + "line": 547, "column": 19 } } @@ -111524,15 +135714,15 @@ "binop": null, "updateContext": null }, - "start": 21999, - "end": 22000, + "start": 25456, + "end": 25457, "loc": { "start": { - "line": 443, + "line": 547, "column": 19 }, "end": { - "line": 443, + "line": 547, "column": 20 } } @@ -111540,15 +135730,15 @@ { "type": "CommentLine", "value": " Stored Data 1.2: length of stored elements", - "start": 22004, - "end": 22049, + "start": 25461, + "end": 25506, "loc": { "start": { - "line": 443, + "line": 547, "column": 24 }, "end": { - "line": 443, + "line": 547, "column": 69 } } @@ -111568,15 +135758,15 @@ "updateContext": null }, "value": "for", - "start": 22054, - "end": 22057, + "start": 25511, + "end": 25514, "loc": { "start": { - "line": 444, + "line": 548, "column": 4 }, "end": { - "line": 444, + "line": 548, "column": 7 } } @@ -111593,15 +135783,15 @@ "postfix": false, "binop": null }, - "start": 22058, - "end": 22059, + "start": 25515, + "end": 25516, "loc": { "start": { - "line": 444, + "line": 548, "column": 8 }, "end": { - "line": 444, + "line": 548, "column": 9 } } @@ -111621,15 +135811,15 @@ "updateContext": null }, "value": "let", - "start": 22059, - "end": 22062, + "start": 25516, + "end": 25519, "loc": { "start": { - "line": 444, + "line": 548, "column": 9 }, "end": { - "line": 444, + "line": 548, "column": 12 } } @@ -111647,15 +135837,15 @@ "binop": null }, "value": "i", - "start": 22063, - "end": 22064, + "start": 25520, + "end": 25521, "loc": { "start": { - "line": 444, + "line": 548, "column": 13 }, "end": { - "line": 444, + "line": 548, "column": 14 } } @@ -111674,15 +135864,15 @@ "updateContext": null }, "value": "=", - "start": 22065, - "end": 22066, + "start": 25522, + "end": 25523, "loc": { "start": { - "line": 444, + "line": 548, "column": 15 }, "end": { - "line": 444, + "line": 548, "column": 16 } } @@ -111701,15 +135891,15 @@ "updateContext": null }, "value": 0, - "start": 22067, - "end": 22068, + "start": 25524, + "end": 25525, "loc": { "start": { - "line": 444, + "line": 548, "column": 17 }, "end": { - "line": 444, + "line": 548, "column": 18 } } @@ -111727,15 +135917,15 @@ "binop": null, "updateContext": null }, - "start": 22068, - "end": 22069, + "start": 25525, + "end": 25526, "loc": { "start": { - "line": 444, + "line": 548, "column": 18 }, "end": { - "line": 444, + "line": 548, "column": 19 } } @@ -111753,15 +135943,15 @@ "binop": null }, "value": "len", - "start": 22070, - "end": 22073, + "start": 25527, + "end": 25530, "loc": { "start": { - "line": 444, + "line": 548, "column": 20 }, "end": { - "line": 444, + "line": 548, "column": 23 } } @@ -111780,15 +135970,15 @@ "updateContext": null }, "value": "=", - "start": 22074, - "end": 22075, + "start": 25531, + "end": 25532, "loc": { "start": { - "line": 444, + "line": 548, "column": 24 }, "end": { - "line": 444, + "line": 548, "column": 25 } } @@ -111806,15 +135996,15 @@ "binop": null }, "value": "elements", - "start": 22076, - "end": 22084, + "start": 25533, + "end": 25541, "loc": { "start": { - "line": 444, + "line": 548, "column": 26 }, "end": { - "line": 444, + "line": 548, "column": 34 } } @@ -111832,15 +136022,15 @@ "binop": null, "updateContext": null }, - "start": 22084, - "end": 22085, + "start": 25541, + "end": 25542, "loc": { "start": { - "line": 444, + "line": 548, "column": 34 }, "end": { - "line": 444, + "line": 548, "column": 35 } } @@ -111858,15 +136048,15 @@ "binop": null }, "value": "length", - "start": 22085, - "end": 22091, + "start": 25542, + "end": 25548, "loc": { "start": { - "line": 444, + "line": 548, "column": 35 }, "end": { - "line": 444, + "line": 548, "column": 41 } } @@ -111884,15 +136074,15 @@ "binop": null, "updateContext": null }, - "start": 22091, - "end": 22092, + "start": 25548, + "end": 25549, "loc": { "start": { - "line": 444, + "line": 548, "column": 41 }, "end": { - "line": 444, + "line": 548, "column": 42 } } @@ -111910,15 +136100,15 @@ "binop": null }, "value": "i", - "start": 22093, - "end": 22094, + "start": 25550, + "end": 25551, "loc": { "start": { - "line": 444, + "line": 548, "column": 43 }, "end": { - "line": 444, + "line": 548, "column": 44 } } @@ -111937,15 +136127,15 @@ "updateContext": null }, "value": "<", - "start": 22095, - "end": 22096, + "start": 25552, + "end": 25553, "loc": { "start": { - "line": 444, + "line": 548, "column": 45 }, "end": { - "line": 444, + "line": 548, "column": 46 } } @@ -111963,15 +136153,15 @@ "binop": null }, "value": "len", - "start": 22097, - "end": 22100, + "start": 25554, + "end": 25557, "loc": { "start": { - "line": 444, + "line": 548, "column": 47 }, "end": { - "line": 444, + "line": 548, "column": 50 } } @@ -111989,15 +136179,15 @@ "binop": null, "updateContext": null }, - "start": 22100, - "end": 22101, + "start": 25557, + "end": 25558, "loc": { "start": { - "line": 444, + "line": 548, "column": 50 }, "end": { - "line": 444, + "line": 548, "column": 51 } } @@ -112015,15 +136205,15 @@ "binop": null }, "value": "i", - "start": 22102, - "end": 22103, + "start": 25559, + "end": 25560, "loc": { "start": { - "line": 444, + "line": 548, "column": 52 }, "end": { - "line": 444, + "line": 548, "column": 53 } } @@ -112041,15 +136231,15 @@ "binop": null }, "value": "++", - "start": 22103, - "end": 22105, + "start": 25560, + "end": 25562, "loc": { "start": { - "line": 444, + "line": 548, "column": 53 }, "end": { - "line": 444, + "line": 548, "column": 55 } } @@ -112066,15 +136256,15 @@ "postfix": false, "binop": null }, - "start": 22105, - "end": 22106, + "start": 25562, + "end": 25563, "loc": { "start": { - "line": 444, + "line": 548, "column": 55 }, "end": { - "line": 444, + "line": 548, "column": 56 } } @@ -112091,15 +136281,15 @@ "postfix": false, "binop": null }, - "start": 22107, - "end": 22108, + "start": 25564, + "end": 25565, "loc": { "start": { - "line": 444, + "line": 548, "column": 57 }, "end": { - "line": 444, + "line": 548, "column": 58 } } @@ -112119,15 +136309,15 @@ "updateContext": null }, "value": "const", - "start": 22117, - "end": 22122, + "start": 25574, + "end": 25579, "loc": { "start": { - "line": 445, + "line": 549, "column": 8 }, "end": { - "line": 445, + "line": 549, "column": 13 } } @@ -112145,15 +136335,15 @@ "binop": null }, "value": "element", - "start": 22123, - "end": 22130, + "start": 25580, + "end": 25587, "loc": { "start": { - "line": 445, + "line": 549, "column": 14 }, "end": { - "line": 445, + "line": 549, "column": 21 } } @@ -112172,15 +136362,15 @@ "updateContext": null }, "value": "=", - "start": 22131, - "end": 22132, + "start": 25588, + "end": 25589, "loc": { "start": { - "line": 445, + "line": 549, "column": 22 }, "end": { - "line": 445, + "line": 549, "column": 23 } } @@ -112198,15 +136388,15 @@ "binop": null }, "value": "elements", - "start": 22133, - "end": 22141, + "start": 25590, + "end": 25598, "loc": { "start": { - "line": 445, + "line": 549, "column": 24 }, "end": { - "line": 445, + "line": 549, "column": 32 } } @@ -112224,15 +136414,15 @@ "binop": null, "updateContext": null }, - "start": 22141, - "end": 22142, + "start": 25598, + "end": 25599, "loc": { "start": { - "line": 445, + "line": 549, "column": 32 }, "end": { - "line": 445, + "line": 549, "column": 33 } } @@ -112250,15 +136440,15 @@ "binop": null }, "value": "i", - "start": 22142, - "end": 22143, + "start": 25599, + "end": 25600, "loc": { "start": { - "line": 445, + "line": 549, "column": 33 }, "end": { - "line": 445, + "line": 549, "column": 34 } } @@ -112276,15 +136466,15 @@ "binop": null, "updateContext": null }, - "start": 22143, - "end": 22144, + "start": 25600, + "end": 25601, "loc": { "start": { - "line": 445, + "line": 549, "column": 34 }, "end": { - "line": 445, + "line": 549, "column": 35 } } @@ -112302,15 +136492,15 @@ "binop": null, "updateContext": null }, - "start": 22144, - "end": 22145, + "start": 25601, + "end": 25602, "loc": { "start": { - "line": 445, + "line": 549, "column": 35 }, "end": { - "line": 445, + "line": 549, "column": 36 } } @@ -112330,15 +136520,15 @@ "updateContext": null }, "value": "const", - "start": 22154, - "end": 22159, + "start": 25611, + "end": 25616, "loc": { "start": { - "line": 446, + "line": 550, "column": 8 }, "end": { - "line": 446, + "line": 550, "column": 13 } } @@ -112356,15 +136546,15 @@ "binop": null }, "value": "elementsize", - "start": 22160, - "end": 22171, + "start": 25617, + "end": 25628, "loc": { "start": { - "line": 446, + "line": 550, "column": 14 }, "end": { - "line": 446, + "line": 550, "column": 25 } } @@ -112383,15 +136573,15 @@ "updateContext": null }, "value": "=", - "start": 22172, - "end": 22173, + "start": 25629, + "end": 25630, "loc": { "start": { - "line": 446, + "line": 550, "column": 26 }, "end": { - "line": 446, + "line": 550, "column": 27 } } @@ -112409,15 +136599,15 @@ "binop": null }, "value": "element", - "start": 22174, - "end": 22181, + "start": 25631, + "end": 25638, "loc": { "start": { - "line": 446, + "line": 550, "column": 28 }, "end": { - "line": 446, + "line": 550, "column": 35 } } @@ -112435,15 +136625,15 @@ "binop": null, "updateContext": null }, - "start": 22181, - "end": 22182, + "start": 25638, + "end": 25639, "loc": { "start": { - "line": 446, + "line": 550, "column": 35 }, "end": { - "line": 446, + "line": 550, "column": 36 } } @@ -112461,15 +136651,15 @@ "binop": null }, "value": "length", - "start": 22182, - "end": 22188, + "start": 25639, + "end": 25645, "loc": { "start": { - "line": 446, + "line": 550, "column": 36 }, "end": { - "line": 446, + "line": 550, "column": 42 } } @@ -112487,15 +136677,15 @@ "binop": null, "updateContext": null }, - "start": 22188, - "end": 22189, + "start": 25645, + "end": 25646, "loc": { "start": { - "line": 446, + "line": 550, "column": 42 }, "end": { - "line": 446, + "line": 550, "column": 43 } } @@ -112513,15 +136703,15 @@ "binop": null }, "value": "indexData", - "start": 22198, - "end": 22207, + "start": 25655, + "end": 25664, "loc": { "start": { - "line": 447, + "line": 551, "column": 8 }, "end": { - "line": 447, + "line": 551, "column": 17 } } @@ -112539,15 +136729,15 @@ "binop": null, "updateContext": null }, - "start": 22207, - "end": 22208, + "start": 25664, + "end": 25665, "loc": { "start": { - "line": 447, + "line": 551, "column": 17 }, "end": { - "line": 447, + "line": 551, "column": 18 } } @@ -112565,15 +136755,15 @@ "binop": null }, "value": "i", - "start": 22208, - "end": 22209, + "start": 25665, + "end": 25666, "loc": { "start": { - "line": 447, + "line": 551, "column": 18 }, "end": { - "line": 447, + "line": 551, "column": 19 } } @@ -112592,15 +136782,15 @@ "updateContext": null }, "value": "+", - "start": 22210, - "end": 22211, + "start": 25667, + "end": 25668, "loc": { "start": { - "line": 447, + "line": 551, "column": 20 }, "end": { - "line": 447, + "line": 551, "column": 21 } } @@ -112619,15 +136809,15 @@ "updateContext": null }, "value": 2, - "start": 22212, - "end": 22213, + "start": 25669, + "end": 25670, "loc": { "start": { - "line": 447, + "line": 551, "column": 22 }, "end": { - "line": 447, + "line": 551, "column": 23 } } @@ -112645,15 +136835,15 @@ "binop": null, "updateContext": null }, - "start": 22213, - "end": 22214, + "start": 25670, + "end": 25671, "loc": { "start": { - "line": 447, + "line": 551, "column": 23 }, "end": { - "line": 447, + "line": 551, "column": 24 } } @@ -112672,15 +136862,15 @@ "updateContext": null }, "value": "=", - "start": 22215, - "end": 22216, + "start": 25672, + "end": 25673, "loc": { "start": { - "line": 447, + "line": 551, "column": 25 }, "end": { - "line": 447, + "line": 551, "column": 26 } } @@ -112698,15 +136888,15 @@ "binop": null }, "value": "elementsize", - "start": 22217, - "end": 22228, + "start": 25674, + "end": 25685, "loc": { "start": { - "line": 447, + "line": 551, "column": 27 }, "end": { - "line": 447, + "line": 551, "column": 38 } } @@ -112724,15 +136914,15 @@ "binop": null, "updateContext": null }, - "start": 22228, - "end": 22229, + "start": 25685, + "end": 25686, "loc": { "start": { - "line": 447, + "line": 551, "column": 38 }, "end": { - "line": 447, + "line": 551, "column": 39 } } @@ -112750,15 +136940,15 @@ "binop": null }, "value": "dataLen", - "start": 22238, - "end": 22245, + "start": 25695, + "end": 25702, "loc": { "start": { - "line": 448, + "line": 552, "column": 8 }, "end": { - "line": 448, + "line": 552, "column": 15 } } @@ -112777,15 +136967,15 @@ "updateContext": null }, "value": "+=", - "start": 22246, - "end": 22248, + "start": 25703, + "end": 25705, "loc": { "start": { - "line": 448, + "line": 552, "column": 16 }, "end": { - "line": 448, + "line": 552, "column": 18 } } @@ -112803,15 +136993,15 @@ "binop": null }, "value": "elementsize", - "start": 22249, - "end": 22260, + "start": 25706, + "end": 25717, "loc": { "start": { - "line": 448, + "line": 552, "column": 19 }, "end": { - "line": 448, + "line": 552, "column": 30 } } @@ -112829,15 +137019,15 @@ "binop": null, "updateContext": null }, - "start": 22260, - "end": 22261, + "start": 25717, + "end": 25718, "loc": { "start": { - "line": 448, + "line": 552, "column": 30 }, "end": { - "line": 448, + "line": 552, "column": 31 } } @@ -112854,15 +137044,15 @@ "postfix": false, "binop": null }, - "start": 22266, - "end": 22267, + "start": 25723, + "end": 25724, "loc": { "start": { - "line": 449, + "line": 553, "column": 4 }, "end": { - "line": 449, + "line": 553, "column": 5 } } @@ -112882,15 +137072,15 @@ "updateContext": null }, "value": "const", - "start": 22272, - "end": 22277, + "start": 25729, + "end": 25734, "loc": { "start": { - "line": 450, + "line": 554, "column": 4 }, "end": { - "line": 450, + "line": 554, "column": 9 } } @@ -112908,15 +137098,15 @@ "binop": null }, "value": "indexBuf", - "start": 22278, - "end": 22286, + "start": 25735, + "end": 25743, "loc": { "start": { - "line": 450, + "line": 554, "column": 10 }, "end": { - "line": 450, + "line": 554, "column": 18 } } @@ -112935,15 +137125,15 @@ "updateContext": null }, "value": "=", - "start": 22287, - "end": 22288, + "start": 25744, + "end": 25745, "loc": { "start": { - "line": 450, + "line": 554, "column": 19 }, "end": { - "line": 450, + "line": 554, "column": 20 } } @@ -112963,15 +137153,15 @@ "updateContext": null }, "value": "new", - "start": 22289, - "end": 22292, + "start": 25746, + "end": 25749, "loc": { "start": { - "line": 450, + "line": 554, "column": 21 }, "end": { - "line": 450, + "line": 554, "column": 24 } } @@ -112989,15 +137179,15 @@ "binop": null }, "value": "Uint8Array", - "start": 22293, - "end": 22303, + "start": 25750, + "end": 25760, "loc": { "start": { - "line": 450, + "line": 554, "column": 25 }, "end": { - "line": 450, + "line": 554, "column": 35 } } @@ -113014,15 +137204,15 @@ "postfix": false, "binop": null }, - "start": 22303, - "end": 22304, + "start": 25760, + "end": 25761, "loc": { "start": { - "line": 450, + "line": 554, "column": 35 }, "end": { - "line": 450, + "line": 554, "column": 36 } } @@ -113040,15 +137230,15 @@ "binop": null }, "value": "indexData", - "start": 22304, - "end": 22313, + "start": 25761, + "end": 25770, "loc": { "start": { - "line": 450, + "line": 554, "column": 36 }, "end": { - "line": 450, + "line": 554, "column": 45 } } @@ -113066,15 +137256,15 @@ "binop": null, "updateContext": null }, - "start": 22313, - "end": 22314, + "start": 25770, + "end": 25771, "loc": { "start": { - "line": 450, + "line": 554, "column": 45 }, "end": { - "line": 450, + "line": 554, "column": 46 } } @@ -113092,15 +137282,15 @@ "binop": null }, "value": "buffer", - "start": 22314, - "end": 22320, + "start": 25771, + "end": 25777, "loc": { "start": { - "line": 450, + "line": 554, "column": 46 }, "end": { - "line": 450, + "line": 554, "column": 52 } } @@ -113117,15 +137307,15 @@ "postfix": false, "binop": null }, - "start": 22320, - "end": 22321, + "start": 25777, + "end": 25778, "loc": { "start": { - "line": 450, + "line": 554, "column": 52 }, "end": { - "line": 450, + "line": 554, "column": 53 } } @@ -113143,15 +137333,15 @@ "binop": null, "updateContext": null }, - "start": 22321, - "end": 22322, + "start": 25778, + "end": 25779, "loc": { "start": { - "line": 450, + "line": 554, "column": 53 }, "end": { - "line": 450, + "line": 554, "column": 54 } } @@ -113171,15 +137361,15 @@ "updateContext": null }, "value": "const", - "start": 22327, - "end": 22332, + "start": 25784, + "end": 25789, "loc": { "start": { - "line": 451, + "line": 555, "column": 4 }, "end": { - "line": 451, + "line": 555, "column": 9 } } @@ -113197,15 +137387,15 @@ "binop": null }, "value": "dataArray", - "start": 22333, - "end": 22342, + "start": 25790, + "end": 25799, "loc": { "start": { - "line": 451, + "line": 555, "column": 10 }, "end": { - "line": 451, + "line": 555, "column": 19 } } @@ -113224,15 +137414,15 @@ "updateContext": null }, "value": "=", - "start": 22343, - "end": 22344, + "start": 25800, + "end": 25801, "loc": { "start": { - "line": 451, + "line": 555, "column": 20 }, "end": { - "line": 451, + "line": 555, "column": 21 } } @@ -113252,15 +137442,15 @@ "updateContext": null }, "value": "new", - "start": 22345, - "end": 22348, + "start": 25802, + "end": 25805, "loc": { "start": { - "line": 451, + "line": 555, "column": 22 }, "end": { - "line": 451, + "line": 555, "column": 25 } } @@ -113278,15 +137468,15 @@ "binop": null }, "value": "Uint8Array", - "start": 22349, - "end": 22359, + "start": 25806, + "end": 25816, "loc": { "start": { - "line": 451, + "line": 555, "column": 26 }, "end": { - "line": 451, + "line": 555, "column": 36 } } @@ -113303,15 +137493,15 @@ "postfix": false, "binop": null }, - "start": 22359, - "end": 22360, + "start": 25816, + "end": 25817, "loc": { "start": { - "line": 451, + "line": 555, "column": 36 }, "end": { - "line": 451, + "line": 555, "column": 37 } } @@ -113329,15 +137519,15 @@ "binop": null }, "value": "indexBuf", - "start": 22360, - "end": 22368, + "start": 25817, + "end": 25825, "loc": { "start": { - "line": 451, + "line": 555, "column": 37 }, "end": { - "line": 451, + "line": 555, "column": 45 } } @@ -113355,15 +137545,15 @@ "binop": null, "updateContext": null }, - "start": 22368, - "end": 22369, + "start": 25825, + "end": 25826, "loc": { "start": { - "line": 451, + "line": 555, "column": 45 }, "end": { - "line": 451, + "line": 555, "column": 46 } } @@ -113381,15 +137571,15 @@ "binop": null }, "value": "length", - "start": 22369, - "end": 22375, + "start": 25826, + "end": 25832, "loc": { "start": { - "line": 451, + "line": 555, "column": 46 }, "end": { - "line": 451, + "line": 555, "column": 52 } } @@ -113408,15 +137598,15 @@ "updateContext": null }, "value": "+", - "start": 22376, - "end": 22377, + "start": 25833, + "end": 25834, "loc": { "start": { - "line": 451, + "line": 555, "column": 53 }, "end": { - "line": 451, + "line": 555, "column": 54 } } @@ -113434,15 +137624,15 @@ "binop": null }, "value": "dataLen", - "start": 22378, - "end": 22385, + "start": 25835, + "end": 25842, "loc": { "start": { - "line": 451, + "line": 555, "column": 55 }, "end": { - "line": 451, + "line": 555, "column": 62 } } @@ -113459,15 +137649,15 @@ "postfix": false, "binop": null }, - "start": 22385, - "end": 22386, + "start": 25842, + "end": 25843, "loc": { "start": { - "line": 451, + "line": 555, "column": 62 }, "end": { - "line": 451, + "line": 555, "column": 63 } } @@ -113485,15 +137675,15 @@ "binop": null, "updateContext": null }, - "start": 22386, - "end": 22387, + "start": 25843, + "end": 25844, "loc": { "start": { - "line": 451, + "line": 555, "column": 63 }, "end": { - "line": 451, + "line": 555, "column": 64 } } @@ -113511,15 +137701,15 @@ "binop": null }, "value": "dataArray", - "start": 22392, - "end": 22401, + "start": 25849, + "end": 25858, "loc": { "start": { - "line": 452, + "line": 556, "column": 4 }, "end": { - "line": 452, + "line": 556, "column": 13 } } @@ -113537,15 +137727,15 @@ "binop": null, "updateContext": null }, - "start": 22401, - "end": 22402, + "start": 25858, + "end": 25859, "loc": { "start": { - "line": 452, + "line": 556, "column": 13 }, "end": { - "line": 452, + "line": 556, "column": 14 } } @@ -113563,15 +137753,15 @@ "binop": null }, "value": "set", - "start": 22402, - "end": 22405, + "start": 25859, + "end": 25862, "loc": { "start": { - "line": 452, + "line": 556, "column": 14 }, "end": { - "line": 452, + "line": 556, "column": 17 } } @@ -113588,15 +137778,15 @@ "postfix": false, "binop": null }, - "start": 22405, - "end": 22406, + "start": 25862, + "end": 25863, "loc": { "start": { - "line": 452, + "line": 556, "column": 17 }, "end": { - "line": 452, + "line": 556, "column": 18 } } @@ -113614,15 +137804,15 @@ "binop": null }, "value": "indexBuf", - "start": 22406, - "end": 22414, + "start": 25863, + "end": 25871, "loc": { "start": { - "line": 452, + "line": 556, "column": 18 }, "end": { - "line": 452, + "line": 556, "column": 26 } } @@ -113639,15 +137829,15 @@ "postfix": false, "binop": null }, - "start": 22414, - "end": 22415, + "start": 25871, + "end": 25872, "loc": { "start": { - "line": 452, + "line": 556, "column": 26 }, "end": { - "line": 452, + "line": 556, "column": 27 } } @@ -113665,15 +137855,15 @@ "binop": null, "updateContext": null }, - "start": 22415, - "end": 22416, + "start": 25872, + "end": 25873, "loc": { "start": { - "line": 452, + "line": 556, "column": 27 }, "end": { - "line": 452, + "line": 556, "column": 28 } } @@ -113693,15 +137883,15 @@ "updateContext": null }, "value": "let", - "start": 22421, - "end": 22424, + "start": 25878, + "end": 25881, "loc": { "start": { - "line": 453, + "line": 557, "column": 4 }, "end": { - "line": 453, + "line": 557, "column": 7 } } @@ -113719,15 +137909,15 @@ "binop": null }, "value": "offset", - "start": 22425, - "end": 22431, + "start": 25882, + "end": 25888, "loc": { "start": { - "line": 453, + "line": 557, "column": 8 }, "end": { - "line": 453, + "line": 557, "column": 14 } } @@ -113746,15 +137936,15 @@ "updateContext": null }, "value": "=", - "start": 22432, - "end": 22433, + "start": 25889, + "end": 25890, "loc": { "start": { - "line": 453, + "line": 557, "column": 15 }, "end": { - "line": 453, + "line": 557, "column": 16 } } @@ -113772,15 +137962,15 @@ "binop": null }, "value": "indexBuf", - "start": 22434, - "end": 22442, + "start": 25891, + "end": 25899, "loc": { "start": { - "line": 453, + "line": 557, "column": 17 }, "end": { - "line": 453, + "line": 557, "column": 25 } } @@ -113798,15 +137988,15 @@ "binop": null, "updateContext": null }, - "start": 22442, - "end": 22443, + "start": 25899, + "end": 25900, "loc": { "start": { - "line": 453, + "line": 557, "column": 25 }, "end": { - "line": 453, + "line": 557, "column": 26 } } @@ -113824,15 +138014,15 @@ "binop": null }, "value": "length", - "start": 22443, - "end": 22449, + "start": 25900, + "end": 25906, "loc": { "start": { - "line": 453, + "line": 557, "column": 26 }, "end": { - "line": 453, + "line": 557, "column": 32 } } @@ -113850,15 +138040,15 @@ "binop": null, "updateContext": null }, - "start": 22449, - "end": 22450, + "start": 25906, + "end": 25907, "loc": { "start": { - "line": 453, + "line": 557, "column": 32 }, "end": { - "line": 453, + "line": 557, "column": 33 } } @@ -113878,15 +138068,15 @@ "updateContext": null }, "value": "for", - "start": 22455, - "end": 22458, + "start": 25912, + "end": 25915, "loc": { "start": { - "line": 454, + "line": 558, "column": 4 }, "end": { - "line": 454, + "line": 558, "column": 7 } } @@ -113903,15 +138093,15 @@ "postfix": false, "binop": null }, - "start": 22459, - "end": 22460, + "start": 25916, + "end": 25917, "loc": { "start": { - "line": 454, + "line": 558, "column": 8 }, "end": { - "line": 454, + "line": 558, "column": 9 } } @@ -113931,15 +138121,15 @@ "updateContext": null }, "value": "let", - "start": 22460, - "end": 22463, + "start": 25917, + "end": 25920, "loc": { "start": { - "line": 454, + "line": 558, "column": 9 }, "end": { - "line": 454, + "line": 558, "column": 12 } } @@ -113957,15 +138147,15 @@ "binop": null }, "value": "i", - "start": 22464, - "end": 22465, + "start": 25921, + "end": 25922, "loc": { "start": { - "line": 454, + "line": 558, "column": 13 }, "end": { - "line": 454, + "line": 558, "column": 14 } } @@ -113984,15 +138174,15 @@ "updateContext": null }, "value": "=", - "start": 22466, - "end": 22467, + "start": 25923, + "end": 25924, "loc": { "start": { - "line": 454, + "line": 558, "column": 15 }, "end": { - "line": 454, + "line": 558, "column": 16 } } @@ -114011,15 +138201,15 @@ "updateContext": null }, "value": 0, - "start": 22468, - "end": 22469, + "start": 25925, + "end": 25926, "loc": { "start": { - "line": 454, + "line": 558, "column": 17 }, "end": { - "line": 454, + "line": 558, "column": 18 } } @@ -114037,15 +138227,15 @@ "binop": null, "updateContext": null }, - "start": 22469, - "end": 22470, + "start": 25926, + "end": 25927, "loc": { "start": { - "line": 454, + "line": 558, "column": 18 }, "end": { - "line": 454, + "line": 558, "column": 19 } } @@ -114063,15 +138253,15 @@ "binop": null }, "value": "len", - "start": 22471, - "end": 22474, + "start": 25928, + "end": 25931, "loc": { "start": { - "line": 454, + "line": 558, "column": 20 }, "end": { - "line": 454, + "line": 558, "column": 23 } } @@ -114090,15 +138280,15 @@ "updateContext": null }, "value": "=", - "start": 22475, - "end": 22476, + "start": 25932, + "end": 25933, "loc": { "start": { - "line": 454, + "line": 558, "column": 24 }, "end": { - "line": 454, + "line": 558, "column": 25 } } @@ -114116,15 +138306,15 @@ "binop": null }, "value": "elements", - "start": 22477, - "end": 22485, + "start": 25934, + "end": 25942, "loc": { "start": { - "line": 454, + "line": 558, "column": 26 }, "end": { - "line": 454, + "line": 558, "column": 34 } } @@ -114142,15 +138332,15 @@ "binop": null, "updateContext": null }, - "start": 22485, - "end": 22486, + "start": 25942, + "end": 25943, "loc": { "start": { - "line": 454, + "line": 558, "column": 34 }, "end": { - "line": 454, + "line": 558, "column": 35 } } @@ -114168,15 +138358,15 @@ "binop": null }, "value": "length", - "start": 22486, - "end": 22492, + "start": 25943, + "end": 25949, "loc": { "start": { - "line": 454, + "line": 558, "column": 35 }, "end": { - "line": 454, + "line": 558, "column": 41 } } @@ -114194,15 +138384,15 @@ "binop": null, "updateContext": null }, - "start": 22492, - "end": 22493, + "start": 25949, + "end": 25950, "loc": { "start": { - "line": 454, + "line": 558, "column": 41 }, "end": { - "line": 454, + "line": 558, "column": 42 } } @@ -114220,15 +138410,15 @@ "binop": null }, "value": "i", - "start": 22494, - "end": 22495, + "start": 25951, + "end": 25952, "loc": { "start": { - "line": 454, + "line": 558, "column": 43 }, "end": { - "line": 454, + "line": 558, "column": 44 } } @@ -114247,15 +138437,15 @@ "updateContext": null }, "value": "<", - "start": 22496, - "end": 22497, + "start": 25953, + "end": 25954, "loc": { "start": { - "line": 454, + "line": 558, "column": 45 }, "end": { - "line": 454, + "line": 558, "column": 46 } } @@ -114273,15 +138463,15 @@ "binop": null }, "value": "len", - "start": 22498, - "end": 22501, + "start": 25955, + "end": 25958, "loc": { "start": { - "line": 454, + "line": 558, "column": 47 }, "end": { - "line": 454, + "line": 558, "column": 50 } } @@ -114299,15 +138489,15 @@ "binop": null, "updateContext": null }, - "start": 22501, - "end": 22502, + "start": 25958, + "end": 25959, "loc": { "start": { - "line": 454, + "line": 558, "column": 50 }, "end": { - "line": 454, + "line": 558, "column": 51 } } @@ -114325,15 +138515,15 @@ "binop": null }, "value": "i", - "start": 22503, - "end": 22504, + "start": 25960, + "end": 25961, "loc": { "start": { - "line": 454, + "line": 558, "column": 52 }, "end": { - "line": 454, + "line": 558, "column": 53 } } @@ -114351,15 +138541,15 @@ "binop": null }, "value": "++", - "start": 22504, - "end": 22506, + "start": 25961, + "end": 25963, "loc": { "start": { - "line": 454, + "line": 558, "column": 53 }, "end": { - "line": 454, + "line": 558, "column": 55 } } @@ -114376,15 +138566,15 @@ "postfix": false, "binop": null }, - "start": 22506, - "end": 22507, + "start": 25963, + "end": 25964, "loc": { "start": { - "line": 454, + "line": 558, "column": 55 }, "end": { - "line": 454, + "line": 558, "column": 56 } } @@ -114401,15 +138591,15 @@ "postfix": false, "binop": null }, - "start": 22508, - "end": 22509, + "start": 25965, + "end": 25966, "loc": { "start": { - "line": 454, + "line": 558, "column": 57 }, "end": { - "line": 454, + "line": 558, "column": 58 } } @@ -114417,15 +138607,15 @@ { "type": "CommentLine", "value": " Stored Data 2: the elements themselves", - "start": 22514, - "end": 22555, + "start": 25971, + "end": 26012, "loc": { "start": { - "line": 454, + "line": 558, "column": 63 }, "end": { - "line": 454, + "line": 558, "column": 104 } } @@ -114445,15 +138635,15 @@ "updateContext": null }, "value": "const", - "start": 22564, - "end": 22569, + "start": 26021, + "end": 26026, "loc": { "start": { - "line": 455, + "line": 559, "column": 8 }, "end": { - "line": 455, + "line": 559, "column": 13 } } @@ -114471,15 +138661,15 @@ "binop": null }, "value": "element", - "start": 22570, - "end": 22577, + "start": 26027, + "end": 26034, "loc": { "start": { - "line": 455, + "line": 559, "column": 14 }, "end": { - "line": 455, + "line": 559, "column": 21 } } @@ -114498,15 +138688,15 @@ "updateContext": null }, "value": "=", - "start": 22578, - "end": 22579, + "start": 26035, + "end": 26036, "loc": { "start": { - "line": 455, + "line": 559, "column": 22 }, "end": { - "line": 455, + "line": 559, "column": 23 } } @@ -114524,15 +138714,15 @@ "binop": null }, "value": "elements", - "start": 22580, - "end": 22588, + "start": 26037, + "end": 26045, "loc": { "start": { - "line": 455, + "line": 559, "column": 24 }, "end": { - "line": 455, + "line": 559, "column": 32 } } @@ -114550,15 +138740,15 @@ "binop": null, "updateContext": null }, - "start": 22588, - "end": 22589, + "start": 26045, + "end": 26046, "loc": { "start": { - "line": 455, + "line": 559, "column": 32 }, "end": { - "line": 455, + "line": 559, "column": 33 } } @@ -114576,15 +138766,15 @@ "binop": null }, "value": "i", - "start": 22589, - "end": 22590, + "start": 26046, + "end": 26047, "loc": { "start": { - "line": 455, + "line": 559, "column": 33 }, "end": { - "line": 455, + "line": 559, "column": 34 } } @@ -114602,15 +138792,15 @@ "binop": null, "updateContext": null }, - "start": 22590, - "end": 22591, + "start": 26047, + "end": 26048, "loc": { "start": { - "line": 455, + "line": 559, "column": 34 }, "end": { - "line": 455, + "line": 559, "column": 35 } } @@ -114628,15 +138818,15 @@ "binop": null, "updateContext": null }, - "start": 22591, - "end": 22592, + "start": 26048, + "end": 26049, "loc": { "start": { - "line": 455, + "line": 559, "column": 35 }, "end": { - "line": 455, + "line": 559, "column": 36 } } @@ -114654,15 +138844,15 @@ "binop": null }, "value": "dataArray", - "start": 22601, - "end": 22610, + "start": 26058, + "end": 26067, "loc": { "start": { - "line": 456, + "line": 560, "column": 8 }, "end": { - "line": 456, + "line": 560, "column": 17 } } @@ -114680,15 +138870,15 @@ "binop": null, "updateContext": null }, - "start": 22610, - "end": 22611, + "start": 26067, + "end": 26068, "loc": { "start": { - "line": 456, + "line": 560, "column": 17 }, "end": { - "line": 456, + "line": 560, "column": 18 } } @@ -114706,15 +138896,15 @@ "binop": null }, "value": "set", - "start": 22611, - "end": 22614, + "start": 26068, + "end": 26071, "loc": { "start": { - "line": 456, + "line": 560, "column": 18 }, "end": { - "line": 456, + "line": 560, "column": 21 } } @@ -114731,15 +138921,15 @@ "postfix": false, "binop": null }, - "start": 22614, - "end": 22615, + "start": 26071, + "end": 26072, "loc": { "start": { - "line": 456, + "line": 560, "column": 21 }, "end": { - "line": 456, + "line": 560, "column": 22 } } @@ -114757,15 +138947,15 @@ "binop": null }, "value": "element", - "start": 22615, - "end": 22622, + "start": 26072, + "end": 26079, "loc": { "start": { - "line": 456, + "line": 560, "column": 22 }, "end": { - "line": 456, + "line": 560, "column": 29 } } @@ -114783,15 +138973,15 @@ "binop": null, "updateContext": null }, - "start": 22622, - "end": 22623, + "start": 26079, + "end": 26080, "loc": { "start": { - "line": 456, + "line": 560, "column": 29 }, "end": { - "line": 456, + "line": 560, "column": 30 } } @@ -114809,15 +138999,15 @@ "binop": null }, "value": "offset", - "start": 22624, - "end": 22630, + "start": 26081, + "end": 26087, "loc": { "start": { - "line": 456, + "line": 560, "column": 31 }, "end": { - "line": 456, + "line": 560, "column": 37 } } @@ -114834,15 +139024,15 @@ "postfix": false, "binop": null }, - "start": 22630, - "end": 22631, + "start": 26087, + "end": 26088, "loc": { "start": { - "line": 456, + "line": 560, "column": 37 }, "end": { - "line": 456, + "line": 560, "column": 38 } } @@ -114860,15 +139050,15 @@ "binop": null, "updateContext": null }, - "start": 22631, - "end": 22632, + "start": 26088, + "end": 26089, "loc": { "start": { - "line": 456, + "line": 560, "column": 38 }, "end": { - "line": 456, + "line": 560, "column": 39 } } @@ -114886,15 +139076,15 @@ "binop": null }, "value": "offset", - "start": 22641, - "end": 22647, + "start": 26098, + "end": 26104, "loc": { "start": { - "line": 457, + "line": 561, "column": 8 }, "end": { - "line": 457, + "line": 561, "column": 14 } } @@ -114913,15 +139103,15 @@ "updateContext": null }, "value": "+=", - "start": 22648, - "end": 22650, + "start": 26105, + "end": 26107, "loc": { "start": { - "line": 457, + "line": 561, "column": 15 }, "end": { - "line": 457, + "line": 561, "column": 17 } } @@ -114939,15 +139129,15 @@ "binop": null }, "value": "element", - "start": 22651, - "end": 22658, + "start": 26108, + "end": 26115, "loc": { "start": { - "line": 457, + "line": 561, "column": 18 }, "end": { - "line": 457, + "line": 561, "column": 25 } } @@ -114965,15 +139155,15 @@ "binop": null, "updateContext": null }, - "start": 22658, - "end": 22659, + "start": 26115, + "end": 26116, "loc": { "start": { - "line": 457, + "line": 561, "column": 25 }, "end": { - "line": 457, + "line": 561, "column": 26 } } @@ -114991,15 +139181,15 @@ "binop": null }, "value": "length", - "start": 22659, - "end": 22665, + "start": 26116, + "end": 26122, "loc": { "start": { - "line": 457, + "line": 561, "column": 26 }, "end": { - "line": 457, + "line": 561, "column": 32 } } @@ -115017,15 +139207,15 @@ "binop": null, "updateContext": null }, - "start": 22665, - "end": 22666, + "start": 26122, + "end": 26123, "loc": { "start": { - "line": 457, + "line": 561, "column": 32 }, "end": { - "line": 457, + "line": 561, "column": 33 } } @@ -115042,15 +139232,15 @@ "postfix": false, "binop": null }, - "start": 22671, - "end": 22672, + "start": 26128, + "end": 26129, "loc": { "start": { - "line": 458, + "line": 562, "column": 4 }, "end": { - "line": 458, + "line": 562, "column": 5 } } @@ -115070,15 +139260,15 @@ "updateContext": null }, "value": "return", - "start": 22677, - "end": 22683, + "start": 26134, + "end": 26140, "loc": { "start": { - "line": 459, + "line": 563, "column": 4 }, "end": { - "line": 459, + "line": 563, "column": 10 } } @@ -115096,15 +139286,15 @@ "binop": null }, "value": "dataArray", - "start": 22684, - "end": 22693, + "start": 26141, + "end": 26150, "loc": { "start": { - "line": 459, + "line": 563, "column": 11 }, "end": { - "line": 459, + "line": 563, "column": 20 } } @@ -115122,15 +139312,15 @@ "binop": null, "updateContext": null }, - "start": 22693, - "end": 22694, + "start": 26150, + "end": 26151, "loc": { "start": { - "line": 459, + "line": 563, "column": 20 }, "end": { - "line": 459, + "line": 563, "column": 21 } } @@ -115148,15 +139338,15 @@ "binop": null }, "value": "buffer", - "start": 22694, - "end": 22700, + "start": 26151, + "end": 26157, "loc": { "start": { - "line": 459, + "line": 563, "column": 21 }, "end": { - "line": 459, + "line": 563, "column": 27 } } @@ -115174,15 +139364,15 @@ "binop": null, "updateContext": null }, - "start": 22700, - "end": 22701, + "start": 26157, + "end": 26158, "loc": { "start": { - "line": 459, + "line": 563, "column": 27 }, "end": { - "line": 459, + "line": 563, "column": 28 } } @@ -115199,15 +139389,15 @@ "postfix": false, "binop": null }, - "start": 22702, - "end": 22703, + "start": 26159, + "end": 26160, "loc": { "start": { - "line": 460, + "line": 564, "column": 0 }, "end": { - "line": 460, + "line": 564, "column": 1 } } @@ -115227,15 +139417,15 @@ "updateContext": null }, "value": "export", - "start": 22705, - "end": 22711, + "start": 26162, + "end": 26168, "loc": { "start": { - "line": 462, + "line": 566, "column": 0 }, "end": { - "line": 462, + "line": 566, "column": 6 } } @@ -115252,15 +139442,15 @@ "postfix": false, "binop": null }, - "start": 22712, - "end": 22713, + "start": 26169, + "end": 26170, "loc": { "start": { - "line": 462, + "line": 566, "column": 7 }, "end": { - "line": 462, + "line": 566, "column": 8 } } @@ -115278,15 +139468,15 @@ "binop": null }, "value": "writeXKTModelToArrayBuffer", - "start": 22713, - "end": 22739, + "start": 26170, + "end": 26196, "loc": { "start": { - "line": 462, + "line": 566, "column": 8 }, "end": { - "line": 462, + "line": 566, "column": 34 } } @@ -115303,15 +139493,15 @@ "postfix": false, "binop": null }, - "start": 22739, - "end": 22740, + "start": 26196, + "end": 26197, "loc": { "start": { - "line": 462, + "line": 566, "column": 34 }, "end": { - "line": 462, + "line": 566, "column": 35 } } @@ -115329,15 +139519,15 @@ "binop": null, "updateContext": null }, - "start": 22740, - "end": 22741, + "start": 26197, + "end": 26198, "loc": { "start": { - "line": 462, + "line": 566, "column": 35 }, "end": { - "line": 462, + "line": 566, "column": 36 } } @@ -115355,15 +139545,15 @@ "binop": null, "updateContext": null }, - "start": 22741, - "end": 22741, + "start": 26198, + "end": 26198, "loc": { "start": { - "line": 462, + "line": 566, "column": 36 }, "end": { - "line": 462, + "line": 566, "column": 36 } } diff --git a/docs/ast/source/XKT_INFO.js.json b/docs/ast/source/XKT_INFO.js.json index db194f7..ef94003 100644 --- a/docs/ast/source/XKT_INFO.js.json +++ b/docs/ast/source/XKT_INFO.js.json @@ -140,10 +140,10 @@ } }, "extra": { - "rawValue": 10, - "raw": "10" + "rawValue": 11, + "raw": "11" }, - "value": 10 + "value": 11 }, "leadingComments": [ { @@ -368,10 +368,10 @@ } }, "extra": { - "rawValue": 10, - "raw": "10" + "rawValue": 11, + "raw": "11" }, - "value": 10 + "value": 11 }, "leadingComments": [ { @@ -663,7 +663,7 @@ "binop": null, "updateContext": null }, - "value": 10, + "value": 11, "start": 538, "end": 540, "loc": { diff --git a/docs/ast/source/convert2xkt.js.json b/docs/ast/source/convert2xkt.js.json index 046ba55..bdd31e4 100644 --- a/docs/ast/source/convert2xkt.js.json +++ b/docs/ast/source/convert2xkt.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 18406, + "end": 18453, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 451, + "line": 452, "column": 21 } }, "program": { "type": "Program", "start": 0, - "end": 18406, + "end": 18453, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 451, + "line": 452, "column": 21 } }, @@ -1133,14 +1133,14 @@ { "type": "Identifier", "start": 5090, - "end": 18383, + "end": 18430, "loc": { "start": { "line": 75, "column": 0 }, "end": { - "line": 449, + "line": 450, "column": 1 } }, @@ -1169,14 +1169,14 @@ { "type": "ObjectPattern", "start": 5111, - "end": 6007, + "end": 6044, "loc": { "start": { "line": 75, "column": 21 }, "end": { - "line": 98, + "line": 99, "column": 22 } }, @@ -2505,15 +2505,15 @@ { "type": "ObjectProperty", "start": 5935, - "end": 5984, + "end": 5945, "loc": { "start": { "line": 96, "column": 25 }, "end": { - "line": 97, - "column": 26 + "line": 96, + "column": 35 } }, "method": false, @@ -2532,22 +2532,22 @@ "line": 96, "column": 28 }, - "identifierName": "log" + "identifierName": "zip" }, - "name": "log" + "name": "zip" }, "value": { "type": "AssignmentPattern", "start": 5935, - "end": 5984, + "end": 5945, "loc": { "start": { "line": 96, "column": 25 }, "end": { - "line": 97, - "column": 26 + "line": 96, + "column": 35 } }, "left": { @@ -2563,21 +2563,107 @@ "line": 96, "column": 28 }, - "identifierName": "log" + "identifierName": "zip" }, - "name": "log" + "name": "zip" }, "right": { - "type": "FunctionExpression", + "type": "BooleanLiteral", "start": 5941, - "end": 5984, + "end": 5945, "loc": { "start": { "line": 96, "column": 31 }, "end": { + "line": 96, + "column": 35 + } + }, + "value": true + } + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 5972, + "end": 6021, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 98, + "column": 26 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 5972, + "end": 5975, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 97, + "column": 28 + }, + "identifierName": "log" + }, + "name": "log" + }, + "value": { + "type": "AssignmentPattern", + "start": 5972, + "end": 6021, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 98, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 5972, + "end": 5975, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 97, + "column": 28 + }, + "identifierName": "log" + }, + "name": "log" + }, + "right": { + "type": "FunctionExpression", + "start": 5978, + "end": 6021, + "loc": { + "start": { "line": 97, + "column": 31 + }, + "end": { + "line": 98, "column": 26 } }, @@ -2588,15 +2674,15 @@ "params": [ { "type": "Identifier", - "start": 5951, - "end": 5954, + "start": 5988, + "end": 5991, "loc": { "start": { - "line": 96, + "line": 97, "column": 41 }, "end": { - "line": 96, + "line": 97, "column": 44 }, "identifierName": "msg" @@ -2606,15 +2692,15 @@ ], "body": { "type": "BlockStatement", - "start": 5956, - "end": 5984, + "start": 5993, + "end": 6021, "loc": { "start": { - "line": 96, + "line": 97, "column": 46 }, "end": { - "line": 97, + "line": 98, "column": 26 } }, @@ -2632,124 +2718,23 @@ ], "body": { "type": "BlockStatement", - "start": 6009, - "end": 18383, + "start": 6046, + "end": 18430, "loc": { "start": { - "line": 98, + "line": 99, "column": 24 }, "end": { - "line": 449, + "line": 450, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 6016, - "end": 6040, - "loc": { - "start": { - "line": 100, - "column": 4 - }, - "end": { - "line": 100, - "column": 28 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6016, - "end": 6039, - "loc": { - "start": { - "line": 100, - "column": 4 - }, - "end": { - "line": 100, - "column": 27 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6016, - "end": 6034, - "loc": { - "start": { - "line": 100, - "column": 4 - }, - "end": { - "line": 100, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 6016, - "end": 6021, - "loc": { - "start": { - "line": 100, - "column": 4 - }, - "end": { - "line": 100, - "column": 9 - }, - "identifierName": "stats" - }, - "name": "stats" - }, - "property": { - "type": "Identifier", - "start": 6022, - "end": 6034, - "loc": { - "start": { - "line": 100, - "column": 10 - }, - "end": { - "line": 100, - "column": 22 - }, - "identifierName": "sourceFormat" - }, - "name": "sourceFormat" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 6037, - "end": 6039, - "loc": { - "start": { - "line": 100, - "column": 25 - }, - "end": { - "line": 100, - "column": 27 - } - }, - "extra": { - "rawValue": "", - "raw": "\"\"" - }, - "value": "" - } - } - }, - { - "type": "ExpressionStatement", - "start": 6045, - "end": 6070, + "start": 6053, + "end": 6077, "loc": { "start": { "line": 101, @@ -2757,13 +2742,13 @@ }, "end": { "line": 101, - "column": 29 + "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 6045, - "end": 6069, + "start": 6053, + "end": 6076, "loc": { "start": { "line": 101, @@ -2771,14 +2756,14 @@ }, "end": { "line": 101, - "column": 28 + "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6045, - "end": 6064, + "start": 6053, + "end": 6071, "loc": { "start": { "line": 101, @@ -2786,13 +2771,13 @@ }, "end": { "line": 101, - "column": 23 + "column": 22 } }, "object": { "type": "Identifier", - "start": 6045, - "end": 6050, + "start": 6053, + "end": 6058, "loc": { "start": { "line": 101, @@ -2808,8 +2793,8 @@ }, "property": { "type": "Identifier", - "start": 6051, - "end": 6064, + "start": 6059, + "end": 6071, "loc": { "start": { "line": 101, @@ -2817,26 +2802,26 @@ }, "end": { "line": 101, - "column": 23 + "column": 22 }, - "identifierName": "schemaVersion" + "identifierName": "sourceFormat" }, - "name": "schemaVersion" + "name": "sourceFormat" }, "computed": false }, "right": { "type": "StringLiteral", - "start": 6067, - "end": 6069, + "start": 6074, + "end": 6076, "loc": { "start": { "line": 101, - "column": 26 + "column": 25 }, "end": { "line": 101, - "column": 28 + "column": 27 } }, "extra": { @@ -2849,8 +2834,8 @@ }, { "type": "ExpressionStatement", - "start": 6075, - "end": 6092, + "start": 6082, + "end": 6107, "loc": { "start": { "line": 102, @@ -2858,13 +2843,13 @@ }, "end": { "line": 102, - "column": 21 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 6075, - "end": 6091, + "start": 6082, + "end": 6106, "loc": { "start": { "line": 102, @@ -2872,14 +2857,14 @@ }, "end": { "line": 102, - "column": 20 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6075, - "end": 6086, + "start": 6082, + "end": 6101, "loc": { "start": { "line": 102, @@ -2887,13 +2872,13 @@ }, "end": { "line": 102, - "column": 15 + "column": 23 } }, "object": { "type": "Identifier", - "start": 6075, - "end": 6080, + "start": 6082, + "end": 6087, "loc": { "start": { "line": 102, @@ -2909,8 +2894,8 @@ }, "property": { "type": "Identifier", - "start": 6081, - "end": 6086, + "start": 6088, + "end": 6101, "loc": { "start": { "line": 102, @@ -2918,26 +2903,26 @@ }, "end": { "line": 102, - "column": 15 + "column": 23 }, - "identifierName": "title" + "identifierName": "schemaVersion" }, - "name": "title" + "name": "schemaVersion" }, "computed": false }, "right": { "type": "StringLiteral", - "start": 6089, - "end": 6091, + "start": 6104, + "end": 6106, "loc": { "start": { "line": 102, - "column": 18 + "column": 26 }, "end": { "line": 102, - "column": 20 + "column": 28 } }, "extra": { @@ -2950,8 +2935,8 @@ }, { "type": "ExpressionStatement", - "start": 6097, - "end": 6115, + "start": 6112, + "end": 6129, "loc": { "start": { "line": 103, @@ -2959,13 +2944,13 @@ }, "end": { "line": 103, - "column": 22 + "column": 21 } }, "expression": { "type": "AssignmentExpression", - "start": 6097, - "end": 6114, + "start": 6112, + "end": 6128, "loc": { "start": { "line": 103, @@ -2973,14 +2958,14 @@ }, "end": { "line": 103, - "column": 21 + "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6097, - "end": 6109, + "start": 6112, + "end": 6123, "loc": { "start": { "line": 103, @@ -2988,13 +2973,13 @@ }, "end": { "line": 103, - "column": 16 + "column": 15 } }, "object": { "type": "Identifier", - "start": 6097, - "end": 6102, + "start": 6112, + "end": 6117, "loc": { "start": { "line": 103, @@ -3010,8 +2995,8 @@ }, "property": { "type": "Identifier", - "start": 6103, - "end": 6109, + "start": 6118, + "end": 6123, "loc": { "start": { "line": 103, @@ -3019,26 +3004,26 @@ }, "end": { "line": 103, - "column": 16 + "column": 15 }, - "identifierName": "author" + "identifierName": "title" }, - "name": "author" + "name": "title" }, "computed": false }, "right": { "type": "StringLiteral", - "start": 6112, - "end": 6114, + "start": 6126, + "end": 6128, "loc": { "start": { "line": 103, - "column": 19 + "column": 18 }, "end": { "line": 103, - "column": 21 + "column": 20 } }, "extra": { @@ -3051,8 +3036,8 @@ }, { "type": "ExpressionStatement", - "start": 6120, - "end": 6139, + "start": 6134, + "end": 6152, "loc": { "start": { "line": 104, @@ -3060,13 +3045,13 @@ }, "end": { "line": 104, - "column": 23 + "column": 22 } }, "expression": { "type": "AssignmentExpression", - "start": 6120, - "end": 6138, + "start": 6134, + "end": 6151, "loc": { "start": { "line": 104, @@ -3074,14 +3059,14 @@ }, "end": { "line": 104, - "column": 22 + "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6120, - "end": 6133, + "start": 6134, + "end": 6146, "loc": { "start": { "line": 104, @@ -3089,13 +3074,13 @@ }, "end": { "line": 104, - "column": 17 + "column": 16 } }, "object": { "type": "Identifier", - "start": 6120, - "end": 6125, + "start": 6134, + "end": 6139, "loc": { "start": { "line": 104, @@ -3111,8 +3096,8 @@ }, "property": { "type": "Identifier", - "start": 6126, - "end": 6133, + "start": 6140, + "end": 6146, "loc": { "start": { "line": 104, @@ -3120,26 +3105,26 @@ }, "end": { "line": 104, - "column": 17 + "column": 16 }, - "identifierName": "created" + "identifierName": "author" }, - "name": "created" + "name": "author" }, "computed": false }, "right": { "type": "StringLiteral", - "start": 6136, - "end": 6138, + "start": 6149, + "end": 6151, "loc": { "start": { "line": 104, - "column": 20 + "column": 19 }, "end": { "line": 104, - "column": 22 + "column": 21 } }, "extra": { @@ -3152,8 +3137,8 @@ }, { "type": "ExpressionStatement", - "start": 6144, - "end": 6169, + "start": 6157, + "end": 6176, "loc": { "start": { "line": 105, @@ -3161,13 +3146,13 @@ }, "end": { "line": 105, - "column": 29 + "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 6144, - "end": 6168, + "start": 6157, + "end": 6175, "loc": { "start": { "line": 105, @@ -3175,14 +3160,14 @@ }, "end": { "line": 105, - "column": 28 + "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6144, - "end": 6164, + "start": 6157, + "end": 6170, "loc": { "start": { "line": 105, @@ -3190,13 +3175,13 @@ }, "end": { "line": 105, - "column": 24 + "column": 17 } }, "object": { "type": "Identifier", - "start": 6144, - "end": 6149, + "start": 6157, + "end": 6162, "loc": { "start": { "line": 105, @@ -3212,8 +3197,8 @@ }, "property": { "type": "Identifier", - "start": 6150, - "end": 6164, + "start": 6163, + "end": 6170, "loc": { "start": { "line": 105, @@ -3221,40 +3206,40 @@ }, "end": { "line": 105, - "column": 24 + "column": 17 }, - "identifierName": "numMetaObjects" + "identifierName": "created" }, - "name": "numMetaObjects" + "name": "created" }, "computed": false }, "right": { - "type": "NumericLiteral", - "start": 6167, - "end": 6168, + "type": "StringLiteral", + "start": 6173, + "end": 6175, "loc": { "start": { "line": 105, - "column": 27 + "column": 20 }, "end": { "line": 105, - "column": 28 + "column": 22 } }, "extra": { - "rawValue": 0, - "raw": "0" + "rawValue": "", + "raw": "\"\"" }, - "value": 0 + "value": "" } } }, { "type": "ExpressionStatement", - "start": 6174, - "end": 6200, + "start": 6181, + "end": 6206, "loc": { "start": { "line": 106, @@ -3262,13 +3247,13 @@ }, "end": { "line": 106, - "column": 30 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 6174, - "end": 6199, + "start": 6181, + "end": 6205, "loc": { "start": { "line": 106, @@ -3276,14 +3261,14 @@ }, "end": { "line": 106, - "column": 29 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6174, - "end": 6195, + "start": 6181, + "end": 6201, "loc": { "start": { "line": 106, @@ -3291,13 +3276,13 @@ }, "end": { "line": 106, - "column": 25 + "column": 24 } }, "object": { "type": "Identifier", - "start": 6174, - "end": 6179, + "start": 6181, + "end": 6186, "loc": { "start": { "line": 106, @@ -3313,8 +3298,8 @@ }, "property": { "type": "Identifier", - "start": 6180, - "end": 6195, + "start": 6187, + "end": 6201, "loc": { "start": { "line": 106, @@ -3322,26 +3307,26 @@ }, "end": { "line": 106, - "column": 25 + "column": 24 }, - "identifierName": "numPropertySets" + "identifierName": "numMetaObjects" }, - "name": "numPropertySets" + "name": "numMetaObjects" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6198, - "end": 6199, + "start": 6204, + "end": 6205, "loc": { "start": { "line": 106, - "column": 28 + "column": 27 }, "end": { "line": 106, - "column": 29 + "column": 28 } }, "extra": { @@ -3354,8 +3339,8 @@ }, { "type": "ExpressionStatement", - "start": 6205, - "end": 6228, + "start": 6211, + "end": 6237, "loc": { "start": { "line": 107, @@ -3363,13 +3348,13 @@ }, "end": { "line": 107, - "column": 27 + "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 6205, - "end": 6227, + "start": 6211, + "end": 6236, "loc": { "start": { "line": 107, @@ -3377,14 +3362,14 @@ }, "end": { "line": 107, - "column": 26 + "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6205, - "end": 6223, + "start": 6211, + "end": 6232, "loc": { "start": { "line": 107, @@ -3392,13 +3377,13 @@ }, "end": { "line": 107, - "column": 22 + "column": 25 } }, "object": { "type": "Identifier", - "start": 6205, - "end": 6210, + "start": 6211, + "end": 6216, "loc": { "start": { "line": 107, @@ -3414,8 +3399,8 @@ }, "property": { "type": "Identifier", - "start": 6211, - "end": 6223, + "start": 6217, + "end": 6232, "loc": { "start": { "line": 107, @@ -3423,26 +3408,26 @@ }, "end": { "line": 107, - "column": 22 + "column": 25 }, - "identifierName": "numTriangles" + "identifierName": "numPropertySets" }, - "name": "numTriangles" + "name": "numPropertySets" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6226, - "end": 6227, + "start": 6235, + "end": 6236, "loc": { "start": { "line": 107, - "column": 25 + "column": 28 }, "end": { "line": 107, - "column": 26 + "column": 29 } }, "extra": { @@ -3455,8 +3440,8 @@ }, { "type": "ExpressionStatement", - "start": 6233, - "end": 6255, + "start": 6242, + "end": 6265, "loc": { "start": { "line": 108, @@ -3464,13 +3449,13 @@ }, "end": { "line": 108, - "column": 26 + "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 6233, - "end": 6254, + "start": 6242, + "end": 6264, "loc": { "start": { "line": 108, @@ -3478,14 +3463,14 @@ }, "end": { "line": 108, - "column": 25 + "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6233, - "end": 6250, + "start": 6242, + "end": 6260, "loc": { "start": { "line": 108, @@ -3493,13 +3478,13 @@ }, "end": { "line": 108, - "column": 21 + "column": 22 } }, "object": { "type": "Identifier", - "start": 6233, - "end": 6238, + "start": 6242, + "end": 6247, "loc": { "start": { "line": 108, @@ -3515,8 +3500,8 @@ }, "property": { "type": "Identifier", - "start": 6239, - "end": 6250, + "start": 6248, + "end": 6260, "loc": { "start": { "line": 108, @@ -3524,26 +3509,26 @@ }, "end": { "line": 108, - "column": 21 + "column": 22 }, - "identifierName": "numVertices" + "identifierName": "numTriangles" }, - "name": "numVertices" + "name": "numTriangles" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6253, - "end": 6254, + "start": 6263, + "end": 6264, "loc": { "start": { "line": 108, - "column": 24 + "column": 25 }, "end": { "line": 108, - "column": 25 + "column": 26 } }, "extra": { @@ -3556,8 +3541,8 @@ }, { "type": "ExpressionStatement", - "start": 6260, - "end": 6281, + "start": 6270, + "end": 6292, "loc": { "start": { "line": 109, @@ -3565,13 +3550,13 @@ }, "end": { "line": 109, - "column": 25 + "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 6260, - "end": 6280, + "start": 6270, + "end": 6291, "loc": { "start": { "line": 109, @@ -3579,14 +3564,14 @@ }, "end": { "line": 109, - "column": 24 + "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6260, - "end": 6276, + "start": 6270, + "end": 6287, "loc": { "start": { "line": 109, @@ -3594,13 +3579,13 @@ }, "end": { "line": 109, - "column": 20 + "column": 21 } }, "object": { "type": "Identifier", - "start": 6260, - "end": 6265, + "start": 6270, + "end": 6275, "loc": { "start": { "line": 109, @@ -3616,8 +3601,8 @@ }, "property": { "type": "Identifier", - "start": 6266, - "end": 6276, + "start": 6276, + "end": 6287, "loc": { "start": { "line": 109, @@ -3625,26 +3610,26 @@ }, "end": { "line": 109, - "column": 20 + "column": 21 }, - "identifierName": "numNormals" + "identifierName": "numVertices" }, - "name": "numNormals" + "name": "numVertices" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6279, - "end": 6280, + "start": 6290, + "end": 6291, "loc": { "start": { "line": 109, - "column": 23 + "column": 24 }, "end": { "line": 109, - "column": 24 + "column": 25 } }, "extra": { @@ -3657,8 +3642,8 @@ }, { "type": "ExpressionStatement", - "start": 6286, - "end": 6303, + "start": 6297, + "end": 6318, "loc": { "start": { "line": 110, @@ -3666,13 +3651,13 @@ }, "end": { "line": 110, - "column": 21 + "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 6286, - "end": 6302, + "start": 6297, + "end": 6317, "loc": { "start": { "line": 110, @@ -3680,14 +3665,14 @@ }, "end": { "line": 110, - "column": 20 + "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6286, - "end": 6298, + "start": 6297, + "end": 6313, "loc": { "start": { "line": 110, @@ -3695,13 +3680,13 @@ }, "end": { "line": 110, - "column": 16 + "column": 20 } }, "object": { "type": "Identifier", - "start": 6286, - "end": 6291, + "start": 6297, + "end": 6302, "loc": { "start": { "line": 110, @@ -3717,8 +3702,8 @@ }, "property": { "type": "Identifier", - "start": 6292, - "end": 6298, + "start": 6303, + "end": 6313, "loc": { "start": { "line": 110, @@ -3726,26 +3711,26 @@ }, "end": { "line": 110, - "column": 16 + "column": 20 }, - "identifierName": "numUVs" + "identifierName": "numNormals" }, - "name": "numUVs" + "name": "numNormals" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6301, - "end": 6302, + "start": 6316, + "end": 6317, "loc": { "start": { "line": 110, - "column": 19 + "column": 23 }, "end": { "line": 110, - "column": 20 + "column": 24 } }, "extra": { @@ -3758,8 +3743,8 @@ }, { "type": "ExpressionStatement", - "start": 6308, - "end": 6330, + "start": 6323, + "end": 6340, "loc": { "start": { "line": 111, @@ -3767,13 +3752,13 @@ }, "end": { "line": 111, - "column": 26 + "column": 21 } }, "expression": { "type": "AssignmentExpression", - "start": 6308, - "end": 6329, + "start": 6323, + "end": 6339, "loc": { "start": { "line": 111, @@ -3781,14 +3766,14 @@ }, "end": { "line": 111, - "column": 25 + "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6308, - "end": 6325, + "start": 6323, + "end": 6335, "loc": { "start": { "line": 111, @@ -3796,13 +3781,13 @@ }, "end": { "line": 111, - "column": 21 + "column": 16 } }, "object": { "type": "Identifier", - "start": 6308, - "end": 6313, + "start": 6323, + "end": 6328, "loc": { "start": { "line": 111, @@ -3818,8 +3803,8 @@ }, "property": { "type": "Identifier", - "start": 6314, - "end": 6325, + "start": 6329, + "end": 6335, "loc": { "start": { "line": 111, @@ -3827,26 +3812,26 @@ }, "end": { "line": 111, - "column": 21 + "column": 16 }, - "identifierName": "numTextures" + "identifierName": "numUVs" }, - "name": "numTextures" + "name": "numUVs" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6328, - "end": 6329, + "start": 6338, + "end": 6339, "loc": { "start": { "line": 111, - "column": 24 + "column": 19 }, "end": { "line": 111, - "column": 25 + "column": 20 } }, "extra": { @@ -3859,8 +3844,8 @@ }, { "type": "ExpressionStatement", - "start": 6335, - "end": 6360, + "start": 6345, + "end": 6367, "loc": { "start": { "line": 112, @@ -3868,13 +3853,13 @@ }, "end": { "line": 112, - "column": 29 + "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 6335, - "end": 6359, + "start": 6345, + "end": 6366, "loc": { "start": { "line": 112, @@ -3882,14 +3867,14 @@ }, "end": { "line": 112, - "column": 28 + "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6335, - "end": 6355, + "start": 6345, + "end": 6362, "loc": { "start": { "line": 112, @@ -3897,13 +3882,13 @@ }, "end": { "line": 112, - "column": 24 + "column": 21 } }, "object": { "type": "Identifier", - "start": 6335, - "end": 6340, + "start": 6345, + "end": 6350, "loc": { "start": { "line": 112, @@ -3919,8 +3904,8 @@ }, "property": { "type": "Identifier", - "start": 6341, - "end": 6355, + "start": 6351, + "end": 6362, "loc": { "start": { "line": 112, @@ -3928,26 +3913,26 @@ }, "end": { "line": 112, - "column": 24 + "column": 21 }, - "identifierName": "numTextureSets" + "identifierName": "numTextures" }, - "name": "numTextureSets" + "name": "numTextures" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6358, - "end": 6359, + "start": 6365, + "end": 6366, "loc": { "start": { "line": 112, - "column": 27 + "column": 24 }, "end": { "line": 112, - "column": 28 + "column": 25 } }, "extra": { @@ -3960,8 +3945,8 @@ }, { "type": "ExpressionStatement", - "start": 6365, - "end": 6386, + "start": 6372, + "end": 6397, "loc": { "start": { "line": 113, @@ -3969,13 +3954,13 @@ }, "end": { "line": 113, - "column": 25 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 6365, - "end": 6385, + "start": 6372, + "end": 6396, "loc": { "start": { "line": 113, @@ -3983,14 +3968,14 @@ }, "end": { "line": 113, - "column": 24 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6365, - "end": 6381, + "start": 6372, + "end": 6392, "loc": { "start": { "line": 113, @@ -3998,13 +3983,13 @@ }, "end": { "line": 113, - "column": 20 + "column": 24 } }, "object": { "type": "Identifier", - "start": 6365, - "end": 6370, + "start": 6372, + "end": 6377, "loc": { "start": { "line": 113, @@ -4020,8 +4005,8 @@ }, "property": { "type": "Identifier", - "start": 6371, - "end": 6381, + "start": 6378, + "end": 6392, "loc": { "start": { "line": 113, @@ -4029,26 +4014,26 @@ }, "end": { "line": 113, - "column": 20 + "column": 24 }, - "identifierName": "numObjects" + "identifierName": "numTextureSets" }, - "name": "numObjects" + "name": "numTextureSets" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6384, - "end": 6385, + "start": 6395, + "end": 6396, "loc": { "start": { "line": 113, - "column": 23 + "column": 27 }, "end": { "line": 113, - "column": 24 + "column": 28 } }, "extra": { @@ -4061,8 +4046,8 @@ }, { "type": "ExpressionStatement", - "start": 6391, - "end": 6415, + "start": 6402, + "end": 6423, "loc": { "start": { "line": 114, @@ -4070,13 +4055,13 @@ }, "end": { "line": 114, - "column": 28 + "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 6391, - "end": 6414, + "start": 6402, + "end": 6422, "loc": { "start": { "line": 114, @@ -4084,14 +4069,14 @@ }, "end": { "line": 114, - "column": 27 + "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6391, - "end": 6410, + "start": 6402, + "end": 6418, "loc": { "start": { "line": 114, @@ -4099,13 +4084,13 @@ }, "end": { "line": 114, - "column": 23 + "column": 20 } }, "object": { "type": "Identifier", - "start": 6391, - "end": 6396, + "start": 6402, + "end": 6407, "loc": { "start": { "line": 114, @@ -4121,8 +4106,8 @@ }, "property": { "type": "Identifier", - "start": 6397, - "end": 6410, + "start": 6408, + "end": 6418, "loc": { "start": { "line": 114, @@ -4130,26 +4115,26 @@ }, "end": { "line": 114, - "column": 23 + "column": 20 }, - "identifierName": "numGeometries" + "identifierName": "numObjects" }, - "name": "numGeometries" + "name": "numObjects" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6413, - "end": 6414, + "start": 6421, + "end": 6422, "loc": { "start": { "line": 114, - "column": 26 + "column": 23 }, "end": { "line": 114, - "column": 27 + "column": 24 } }, "extra": { @@ -4162,8 +4147,8 @@ }, { "type": "ExpressionStatement", - "start": 6420, - "end": 6441, + "start": 6428, + "end": 6452, "loc": { "start": { "line": 115, @@ -4171,13 +4156,13 @@ }, "end": { "line": 115, - "column": 25 + "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 6420, - "end": 6440, + "start": 6428, + "end": 6451, "loc": { "start": { "line": 115, @@ -4185,14 +4170,14 @@ }, "end": { "line": 115, - "column": 24 + "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6420, - "end": 6436, + "start": 6428, + "end": 6447, "loc": { "start": { "line": 115, @@ -4200,13 +4185,13 @@ }, "end": { "line": 115, - "column": 20 + "column": 23 } }, "object": { "type": "Identifier", - "start": 6420, - "end": 6425, + "start": 6428, + "end": 6433, "loc": { "start": { "line": 115, @@ -4222,8 +4207,8 @@ }, "property": { "type": "Identifier", - "start": 6426, - "end": 6436, + "start": 6434, + "end": 6447, "loc": { "start": { "line": 115, @@ -4231,26 +4216,26 @@ }, "end": { "line": 115, - "column": 20 + "column": 23 }, - "identifierName": "sourceSize" + "identifierName": "numGeometries" }, - "name": "sourceSize" + "name": "numGeometries" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6439, - "end": 6440, + "start": 6450, + "end": 6451, "loc": { "start": { "line": 115, - "column": 23 + "column": 26 }, "end": { "line": 115, - "column": 24 + "column": 27 } }, "extra": { @@ -4263,8 +4248,8 @@ }, { "type": "ExpressionStatement", - "start": 6446, - "end": 6464, + "start": 6457, + "end": 6478, "loc": { "start": { "line": 116, @@ -4272,13 +4257,13 @@ }, "end": { "line": 116, - "column": 22 + "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 6446, - "end": 6463, + "start": 6457, + "end": 6477, "loc": { "start": { "line": 116, @@ -4286,14 +4271,14 @@ }, "end": { "line": 116, - "column": 21 + "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6446, - "end": 6459, + "start": 6457, + "end": 6473, "loc": { "start": { "line": 116, @@ -4301,13 +4286,13 @@ }, "end": { "line": 116, - "column": 17 + "column": 20 } }, "object": { "type": "Identifier", - "start": 6446, - "end": 6451, + "start": 6457, + "end": 6462, "loc": { "start": { "line": 116, @@ -4323,8 +4308,8 @@ }, "property": { "type": "Identifier", - "start": 6452, - "end": 6459, + "start": 6463, + "end": 6473, "loc": { "start": { "line": 116, @@ -4332,26 +4317,26 @@ }, "end": { "line": 116, - "column": 17 + "column": 20 }, - "identifierName": "xktSize" + "identifierName": "sourceSize" }, - "name": "xktSize" + "name": "sourceSize" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6462, - "end": 6463, + "start": 6476, + "end": 6477, "loc": { "start": { "line": 116, - "column": 20 + "column": 23 }, "end": { "line": 116, - "column": 21 + "column": 24 } }, "extra": { @@ -4364,8 +4349,8 @@ }, { "type": "ExpressionStatement", - "start": 6469, - "end": 6492, + "start": 6483, + "end": 6501, "loc": { "start": { "line": 117, @@ -4373,13 +4358,13 @@ }, "end": { "line": 117, - "column": 27 + "column": 22 } }, "expression": { "type": "AssignmentExpression", - "start": 6469, - "end": 6491, + "start": 6483, + "end": 6500, "loc": { "start": { "line": 117, @@ -4387,14 +4372,14 @@ }, "end": { "line": 117, - "column": 26 + "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6469, - "end": 6487, + "start": 6483, + "end": 6496, "loc": { "start": { "line": 117, @@ -4402,13 +4387,13 @@ }, "end": { "line": 117, - "column": 22 + "column": 17 } }, "object": { "type": "Identifier", - "start": 6469, - "end": 6474, + "start": 6483, + "end": 6488, "loc": { "start": { "line": 117, @@ -4424,8 +4409,8 @@ }, "property": { "type": "Identifier", - "start": 6475, - "end": 6487, + "start": 6489, + "end": 6496, "loc": { "start": { "line": 117, @@ -4433,26 +4418,26 @@ }, "end": { "line": 117, - "column": 22 + "column": 17 }, - "identifierName": "texturesSize" + "identifierName": "xktSize" }, - "name": "texturesSize" + "name": "xktSize" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6490, - "end": 6491, + "start": 6499, + "end": 6500, "loc": { "start": { "line": 117, - "column": 25 + "column": 20 }, "end": { "line": 117, - "column": 26 + "column": 21 } }, "extra": { @@ -4465,8 +4450,8 @@ }, { "type": "ExpressionStatement", - "start": 6497, - "end": 6519, + "start": 6506, + "end": 6529, "loc": { "start": { "line": 118, @@ -4474,13 +4459,13 @@ }, "end": { "line": 118, - "column": 26 + "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 6497, - "end": 6518, + "start": 6506, + "end": 6528, "loc": { "start": { "line": 118, @@ -4488,14 +4473,14 @@ }, "end": { "line": 118, - "column": 25 + "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6497, - "end": 6513, + "start": 6506, + "end": 6524, "loc": { "start": { "line": 118, @@ -4503,13 +4488,13 @@ }, "end": { "line": 118, - "column": 20 + "column": 22 } }, "object": { "type": "Identifier", - "start": 6497, - "end": 6502, + "start": 6506, + "end": 6511, "loc": { "start": { "line": 118, @@ -4525,8 +4510,8 @@ }, "property": { "type": "Identifier", - "start": 6503, - "end": 6513, + "start": 6512, + "end": 6524, "loc": { "start": { "line": 118, @@ -4534,40 +4519,40 @@ }, "end": { "line": 118, - "column": 20 + "column": 22 }, - "identifierName": "xktVersion" + "identifierName": "texturesSize" }, - "name": "xktVersion" + "name": "texturesSize" }, "computed": false }, "right": { - "type": "StringLiteral", - "start": 6516, - "end": 6518, + "type": "NumericLiteral", + "start": 6527, + "end": 6528, "loc": { "start": { "line": 118, - "column": 23 + "column": 25 }, "end": { "line": 118, - "column": 25 + "column": 26 } }, "extra": { - "rawValue": "", - "raw": "\"\"" + "rawValue": 0, + "raw": "0" }, - "value": "" + "value": 0 } } }, { "type": "ExpressionStatement", - "start": 6524, - "end": 6551, + "start": 6534, + "end": 6556, "loc": { "start": { "line": 119, @@ -4575,13 +4560,13 @@ }, "end": { "line": 119, - "column": 31 + "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 6524, - "end": 6550, + "start": 6534, + "end": 6555, "loc": { "start": { "line": 119, @@ -4589,14 +4574,14 @@ }, "end": { "line": 119, - "column": 30 + "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6524, - "end": 6546, + "start": 6534, + "end": 6550, "loc": { "start": { "line": 119, @@ -4604,13 +4589,13 @@ }, "end": { "line": 119, - "column": 26 + "column": 20 } }, "object": { "type": "Identifier", - "start": 6524, - "end": 6529, + "start": 6534, + "end": 6539, "loc": { "start": { "line": 119, @@ -4626,8 +4611,8 @@ }, "property": { "type": "Identifier", - "start": 6530, - "end": 6546, + "start": 6540, + "end": 6550, "loc": { "start": { "line": 119, @@ -4635,40 +4620,40 @@ }, "end": { "line": 119, - "column": 26 + "column": 20 }, - "identifierName": "compressionRatio" + "identifierName": "xktVersion" }, - "name": "compressionRatio" + "name": "xktVersion" }, "computed": false }, "right": { - "type": "NumericLiteral", - "start": 6549, - "end": 6550, + "type": "StringLiteral", + "start": 6553, + "end": 6555, "loc": { "start": { "line": 119, - "column": 29 + "column": 23 }, "end": { "line": 119, - "column": 30 + "column": 25 } }, "extra": { - "rawValue": 0, - "raw": "0" + "rawValue": "", + "raw": "\"\"" }, - "value": 0 + "value": "" } } }, { "type": "ExpressionStatement", - "start": 6556, - "end": 6581, + "start": 6561, + "end": 6588, "loc": { "start": { "line": 120, @@ -4676,13 +4661,13 @@ }, "end": { "line": 120, - "column": 29 + "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 6556, - "end": 6580, + "start": 6561, + "end": 6587, "loc": { "start": { "line": 120, @@ -4690,14 +4675,14 @@ }, "end": { "line": 120, - "column": 28 + "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6556, - "end": 6576, + "start": 6561, + "end": 6583, "loc": { "start": { "line": 120, @@ -4705,13 +4690,13 @@ }, "end": { "line": 120, - "column": 24 + "column": 26 } }, "object": { "type": "Identifier", - "start": 6556, - "end": 6561, + "start": 6561, + "end": 6566, "loc": { "start": { "line": 120, @@ -4727,8 +4712,8 @@ }, "property": { "type": "Identifier", - "start": 6562, - "end": 6576, + "start": 6567, + "end": 6583, "loc": { "start": { "line": 120, @@ -4736,26 +4721,26 @@ }, "end": { "line": 120, - "column": 24 + "column": 26 }, - "identifierName": "conversionTime" + "identifierName": "compressionRatio" }, - "name": "conversionTime" + "name": "compressionRatio" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6579, - "end": 6580, + "start": 6586, + "end": 6587, "loc": { "start": { "line": 120, - "column": 27 + "column": 29 }, "end": { "line": 120, - "column": 28 + "column": 30 } }, "extra": { @@ -4768,8 +4753,8 @@ }, { "type": "ExpressionStatement", - "start": 6586, - "end": 6604, + "start": 6593, + "end": 6618, "loc": { "start": { "line": 121, @@ -4777,13 +4762,13 @@ }, "end": { "line": 121, - "column": 22 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 6586, - "end": 6603, + "start": 6593, + "end": 6617, "loc": { "start": { "line": 121, @@ -4791,14 +4776,14 @@ }, "end": { "line": 121, - "column": 21 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6586, - "end": 6596, + "start": 6593, + "end": 6613, "loc": { "start": { "line": 121, @@ -4806,13 +4791,13 @@ }, "end": { "line": 121, - "column": 14 + "column": 24 } }, "object": { "type": "Identifier", - "start": 6586, - "end": 6591, + "start": 6593, + "end": 6598, "loc": { "start": { "line": 121, @@ -4828,8 +4813,8 @@ }, "property": { "type": "Identifier", - "start": 6592, - "end": 6596, + "start": 6599, + "end": 6613, "loc": { "start": { "line": 121, @@ -4837,6 +4822,107 @@ }, "end": { "line": 121, + "column": 24 + }, + "identifierName": "conversionTime" + }, + "name": "conversionTime" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 6616, + "end": 6617, + "loc": { + "start": { + "line": 121, + "column": 27 + }, + "end": { + "line": 121, + "column": 28 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + { + "type": "ExpressionStatement", + "start": 6623, + "end": 6641, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 6623, + "end": 6640, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 6623, + "end": 6633, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 6623, + "end": 6628, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 9 + }, + "identifierName": "stats" + }, + "name": "stats" + }, + "property": { + "type": "Identifier", + "start": 6629, + "end": 6633, + "loc": { + "start": { + "line": 122, + "column": 10 + }, + "end": { + "line": 122, "column": 14 }, "identifierName": "aabb" @@ -4847,15 +4933,15 @@ }, "right": { "type": "NullLiteral", - "start": 6599, - "end": 6603, + "start": 6636, + "end": 6640, "loc": { "start": { - "line": 121, + "line": 122, "column": 17 }, "end": { - "line": 121, + "line": 122, "column": 21 } } @@ -4864,29 +4950,29 @@ }, { "type": "FunctionDeclaration", - "start": 6610, - "end": 6798, + "start": 6647, + "end": 6835, "loc": { "start": { - "line": 123, + "line": 124, "column": 4 }, "end": { - "line": 129, + "line": 130, "column": 5 } }, "id": { "type": "Identifier", - "start": 6619, - "end": 6635, + "start": 6656, + "end": 6672, "loc": { "start": { - "line": 123, + "line": 124, "column": 13 }, "end": { - "line": 123, + "line": 124, "column": 29 }, "identifierName": "getFileExtension" @@ -4899,15 +4985,15 @@ "params": [ { "type": "Identifier", - "start": 6636, - "end": 6644, + "start": 6673, + "end": 6681, "loc": { "start": { - "line": 123, + "line": 124, "column": 30 }, "end": { - "line": 123, + "line": 124, "column": 38 }, "identifierName": "fileName" @@ -4917,59 +5003,59 @@ ], "body": { "type": "BlockStatement", - "start": 6646, - "end": 6798, + "start": 6683, + "end": 6835, "loc": { "start": { - "line": 123, + "line": 124, "column": 40 }, "end": { - "line": 129, + "line": 130, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 6656, - "end": 6689, + "start": 6693, + "end": 6726, "loc": { "start": { - "line": 124, + "line": 125, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6660, - "end": 6688, + "start": 6697, + "end": 6725, "loc": { "start": { - "line": 124, + "line": 125, "column": 12 }, "end": { - "line": 124, + "line": 125, "column": 40 } }, "id": { "type": "Identifier", - "start": 6660, - "end": 6663, + "start": 6697, + "end": 6700, "loc": { "start": { - "line": 124, + "line": 125, "column": 12 }, "end": { - "line": 124, + "line": 125, "column": 15 }, "identifierName": "ext" @@ -4978,43 +5064,43 @@ }, "init": { "type": "CallExpression", - "start": 6666, - "end": 6688, + "start": 6703, + "end": 6725, "loc": { "start": { - "line": 124, + "line": 125, "column": 18 }, "end": { - "line": 124, + "line": 125, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 6666, - "end": 6678, + "start": 6703, + "end": 6715, "loc": { "start": { - "line": 124, + "line": 125, "column": 18 }, "end": { - "line": 124, + "line": 125, "column": 30 } }, "object": { "type": "Identifier", - "start": 6666, - "end": 6670, + "start": 6703, + "end": 6707, "loc": { "start": { - "line": 124, + "line": 125, "column": 18 }, "end": { - "line": 124, + "line": 125, "column": 22 }, "identifierName": "path" @@ -5023,15 +5109,15 @@ }, "property": { "type": "Identifier", - "start": 6671, - "end": 6678, + "start": 6708, + "end": 6715, "loc": { "start": { - "line": 124, + "line": 125, "column": 23 }, "end": { - "line": 124, + "line": 125, "column": 30 }, "identifierName": "extname" @@ -5043,15 +5129,15 @@ "arguments": [ { "type": "Identifier", - "start": 6679, - "end": 6687, + "start": 6716, + "end": 6724, "loc": { "start": { - "line": 124, + "line": 125, "column": 31 }, "end": { - "line": 124, + "line": 125, "column": 39 }, "identifierName": "fileName" @@ -5066,71 +5152,71 @@ }, { "type": "IfStatement", - "start": 6698, - "end": 6772, + "start": 6735, + "end": 6809, "loc": { "start": { - "line": 125, + "line": 126, "column": 8 }, "end": { - "line": 127, + "line": 128, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 6702, - "end": 6723, + "start": 6739, + "end": 6760, "loc": { "start": { - "line": 125, + "line": 126, "column": 12 }, "end": { - "line": 125, + "line": 126, "column": 33 } }, "left": { "type": "CallExpression", - "start": 6702, - "end": 6715, + "start": 6739, + "end": 6752, "loc": { "start": { - "line": 125, + "line": 126, "column": 12 }, "end": { - "line": 125, + "line": 126, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 6702, - "end": 6712, + "start": 6739, + "end": 6749, "loc": { "start": { - "line": 125, + "line": 126, "column": 12 }, "end": { - "line": 125, + "line": 126, "column": 22 } }, "object": { "type": "Identifier", - "start": 6702, - "end": 6705, + "start": 6739, + "end": 6742, "loc": { "start": { - "line": 125, + "line": 126, "column": 12 }, "end": { - "line": 125, + "line": 126, "column": 15 }, "identifierName": "ext" @@ -5139,15 +5225,15 @@ }, "property": { "type": "Identifier", - "start": 6706, - "end": 6712, + "start": 6743, + "end": 6749, "loc": { "start": { - "line": 125, + "line": 126, "column": 16 }, "end": { - "line": 125, + "line": 126, "column": 22 }, "identifierName": "charAt" @@ -5159,15 +5245,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 6713, - "end": 6714, + "start": 6750, + "end": 6751, "loc": { "start": { - "line": 125, + "line": 126, "column": 23 }, "end": { - "line": 125, + "line": 126, "column": 24 } }, @@ -5182,15 +5268,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 6720, - "end": 6723, + "start": 6757, + "end": 6760, "loc": { "start": { - "line": 125, + "line": 126, "column": 30 }, "end": { - "line": 125, + "line": 126, "column": 33 } }, @@ -5203,59 +5289,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 6725, - "end": 6772, + "start": 6762, + "end": 6809, "loc": { "start": { - "line": 125, + "line": 126, "column": 35 }, "end": { - "line": 127, + "line": 128, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6739, - "end": 6762, + "start": 6776, + "end": 6799, "loc": { "start": { - "line": 126, + "line": 127, "column": 12 }, "end": { - "line": 126, + "line": 127, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 6739, - "end": 6761, + "start": 6776, + "end": 6798, "loc": { "start": { - "line": 126, + "line": 127, "column": 12 }, "end": { - "line": 126, + "line": 127, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6739, - "end": 6742, + "start": 6776, + "end": 6779, "loc": { "start": { - "line": 126, + "line": 127, "column": 12 }, "end": { - "line": 126, + "line": 127, "column": 15 }, "identifierName": "ext" @@ -5264,43 +5350,43 @@ }, "right": { "type": "CallExpression", - "start": 6745, - "end": 6761, + "start": 6782, + "end": 6798, "loc": { "start": { - "line": 126, + "line": 127, "column": 18 }, "end": { - "line": 126, + "line": 127, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 6745, - "end": 6758, + "start": 6782, + "end": 6795, "loc": { "start": { - "line": 126, + "line": 127, "column": 18 }, "end": { - "line": 126, + "line": 127, "column": 31 } }, "object": { "type": "Identifier", - "start": 6745, - "end": 6748, + "start": 6782, + "end": 6785, "loc": { "start": { - "line": 126, + "line": 127, "column": 18 }, "end": { - "line": 126, + "line": 127, "column": 21 }, "identifierName": "ext" @@ -5309,15 +5395,15 @@ }, "property": { "type": "Identifier", - "start": 6749, - "end": 6758, + "start": 6786, + "end": 6795, "loc": { "start": { - "line": 126, + "line": 127, "column": 22 }, "end": { - "line": 126, + "line": 127, "column": 31 }, "identifierName": "substring" @@ -5329,15 +5415,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 6759, - "end": 6760, + "start": 6796, + "end": 6797, "loc": { "start": { - "line": 126, + "line": 127, "column": 32 }, "end": { - "line": 126, + "line": 127, "column": 33 } }, @@ -5358,29 +5444,29 @@ }, { "type": "ReturnStatement", - "start": 6781, - "end": 6792, + "start": 6818, + "end": 6829, "loc": { "start": { - "line": 128, + "line": 129, "column": 8 }, "end": { - "line": 128, + "line": 129, "column": 19 } }, "argument": { "type": "Identifier", - "start": 6788, - "end": 6791, + "start": 6825, + "end": 6828, "loc": { "start": { - "line": 128, + "line": 129, "column": 15 }, "end": { - "line": 128, + "line": 129, "column": 18 }, "identifierName": "ext" @@ -5394,43 +5480,43 @@ }, { "type": "ReturnStatement", - "start": 6804, - "end": 18381, + "start": 6841, + "end": 18428, "loc": { "start": { - "line": 131, + "line": 132, "column": 4 }, "end": { - "line": 448, + "line": 449, "column": 7 } }, "argument": { "type": "NewExpression", - "start": 6811, - "end": 18380, + "start": 6848, + "end": 18427, "loc": { "start": { - "line": 131, + "line": 132, "column": 11 }, "end": { - "line": 448, + "line": 449, "column": 6 } }, "callee": { "type": "Identifier", - "start": 6815, - "end": 6822, + "start": 6852, + "end": 6859, "loc": { "start": { - "line": 131, + "line": 132, "column": 15 }, "end": { - "line": 131, + "line": 132, "column": 22 }, "identifierName": "Promise" @@ -5440,15 +5526,15 @@ "arguments": [ { "type": "FunctionExpression", - "start": 6823, - "end": 18379, + "start": 6860, + "end": 18426, "loc": { "start": { - "line": 131, + "line": 132, "column": 23 }, "end": { - "line": 448, + "line": 449, "column": 5 } }, @@ -5459,15 +5545,15 @@ "params": [ { "type": "Identifier", - "start": 6833, - "end": 6840, + "start": 6870, + "end": 6877, "loc": { "start": { - "line": 131, + "line": 132, "column": 33 }, "end": { - "line": 131, + "line": 132, "column": 40 }, "identifierName": "resolve" @@ -5476,15 +5562,15 @@ }, { "type": "Identifier", - "start": 6842, - "end": 6848, + "start": 6879, + "end": 6885, "loc": { "start": { - "line": 131, + "line": 132, "column": 42 }, "end": { - "line": 131, + "line": 132, "column": 48 }, "identifierName": "reject" @@ -5494,59 +5580,59 @@ ], "body": { "type": "BlockStatement", - "start": 6850, - "end": 18379, + "start": 6887, + "end": 18426, "loc": { "start": { - "line": 131, + "line": 132, "column": 50 }, "end": { - "line": 448, + "line": 449, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 6860, - "end": 6877, + "start": 6897, + "end": 6914, "loc": { "start": { - "line": 132, + "line": 133, "column": 8 }, "end": { - "line": 132, + "line": 133, "column": 25 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6866, - "end": 6876, + "start": 6903, + "end": 6913, "loc": { "start": { - "line": 132, + "line": 133, "column": 14 }, "end": { - "line": 132, + "line": 133, "column": 24 } }, "id": { "type": "Identifier", - "start": 6866, - "end": 6870, + "start": 6903, + "end": 6907, "loc": { "start": { - "line": 132, + "line": 133, "column": 14 }, "end": { - "line": 132, + "line": 133, "column": 18 }, "identifierName": "_log" @@ -5555,15 +5641,15 @@ }, "init": { "type": "Identifier", - "start": 6873, - "end": 6876, + "start": 6910, + "end": 6913, "loc": { "start": { - "line": 132, + "line": 133, "column": 21 }, "end": { - "line": 132, + "line": 133, "column": 24 }, "identifierName": "log" @@ -5576,44 +5662,44 @@ }, { "type": "ExpressionStatement", - "start": 6886, - "end": 6953, + "start": 6923, + "end": 6990, "loc": { "start": { - "line": 133, + "line": 134, "column": 8 }, "end": { - "line": 135, + "line": 136, "column": 9 } }, "expression": { "type": "AssignmentExpression", - "start": 6886, - "end": 6953, + "start": 6923, + "end": 6990, "loc": { "start": { - "line": 133, + "line": 134, "column": 8 }, "end": { - "line": 135, + "line": 136, "column": 9 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6886, - "end": 6889, + "start": 6923, + "end": 6926, "loc": { "start": { - "line": 133, + "line": 134, "column": 8 }, "end": { - "line": 133, + "line": 134, "column": 11 }, "identifierName": "log" @@ -5622,15 +5708,15 @@ }, "right": { "type": "ArrowFunctionExpression", - "start": 6892, - "end": 6953, + "start": 6929, + "end": 6990, "loc": { "start": { - "line": 133, + "line": 134, "column": 14 }, "end": { - "line": 135, + "line": 136, "column": 9 } }, @@ -5641,15 +5727,15 @@ "params": [ { "type": "Identifier", - "start": 6893, - "end": 6896, + "start": 6930, + "end": 6933, "loc": { "start": { - "line": 133, + "line": 134, "column": 15 }, "end": { - "line": 133, + "line": 134, "column": 18 }, "identifierName": "msg" @@ -5659,58 +5745,58 @@ ], "body": { "type": "BlockStatement", - "start": 6901, - "end": 6953, + "start": 6938, + "end": 6990, "loc": { "start": { - "line": 133, + "line": 134, "column": 23 }, "end": { - "line": 135, + "line": 136, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6915, - "end": 6943, + "start": 6952, + "end": 6980, "loc": { "start": { - "line": 134, + "line": 135, "column": 12 }, "end": { - "line": 134, + "line": 135, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 6915, - "end": 6943, + "start": 6952, + "end": 6980, "loc": { "start": { - "line": 134, + "line": 135, "column": 12 }, "end": { - "line": 134, + "line": 135, "column": 40 } }, "callee": { "type": "Identifier", - "start": 6915, - "end": 6919, + "start": 6952, + "end": 6956, "loc": { "start": { - "line": 134, + "line": 135, "column": 12 }, "end": { - "line": 134, + "line": 135, "column": 16 }, "identifierName": "_log" @@ -5720,30 +5806,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 6920, - "end": 6942, + "start": 6957, + "end": 6979, "loc": { "start": { - "line": 134, + "line": 135, "column": 17 }, "end": { - "line": 134, + "line": 135, "column": 39 } }, "expressions": [ { "type": "Identifier", - "start": 6937, - "end": 6940, + "start": 6974, + "end": 6977, "loc": { "start": { - "line": 134, + "line": 135, "column": 34 }, "end": { - "line": 134, + "line": 135, "column": 37 }, "identifierName": "msg" @@ -5754,15 +5840,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 6921, - "end": 6935, + "start": 6958, + "end": 6972, "loc": { "start": { - "line": 134, + "line": 135, "column": 18 }, "end": { - "line": 134, + "line": 135, "column": 32 } }, @@ -5774,15 +5860,15 @@ }, { "type": "TemplateElement", - "start": 6941, - "end": 6941, + "start": 6978, + "end": 6978, "loc": { "start": { - "line": 134, + "line": 135, "column": 38 }, "end": { - "line": 134, + "line": 135, "column": 38 } }, @@ -5805,43 +5891,43 @@ }, { "type": "IfStatement", - "start": 6963, - "end": 7085, + "start": 7000, + "end": 7122, "loc": { "start": { - "line": 137, + "line": 138, "column": 8 }, "end": { - "line": 140, + "line": 141, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 6967, - "end": 6989, + "start": 7004, + "end": 7026, "loc": { "start": { - "line": 137, + "line": 138, "column": 12 }, "end": { - "line": 137, + "line": 138, "column": 34 } }, "left": { "type": "UnaryExpression", - "start": 6967, - "end": 6974, + "start": 7004, + "end": 7011, "loc": { "start": { - "line": 137, + "line": 138, "column": 12 }, "end": { - "line": 137, + "line": 138, "column": 19 } }, @@ -5849,15 +5935,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 6968, - "end": 6974, + "start": 7005, + "end": 7011, "loc": { "start": { - "line": 137, + "line": 138, "column": 13 }, "end": { - "line": 137, + "line": 138, "column": 19 }, "identifierName": "source" @@ -5871,15 +5957,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 6978, - "end": 6989, + "start": 7015, + "end": 7026, "loc": { "start": { - "line": 137, + "line": 138, "column": 23 }, "end": { - "line": 137, + "line": 138, "column": 34 } }, @@ -5887,15 +5973,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 6979, - "end": 6989, + "start": 7016, + "end": 7026, "loc": { "start": { - "line": 137, + "line": 138, "column": 24 }, "end": { - "line": 137, + "line": 138, "column": 34 }, "identifierName": "sourceData" @@ -5909,58 +5995,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 6991, - "end": 7085, + "start": 7028, + "end": 7122, "loc": { "start": { - "line": 137, + "line": 138, "column": 36 }, "end": { - "line": 140, + "line": 141, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7005, - "end": 7055, + "start": 7042, + "end": 7092, "loc": { "start": { - "line": 138, + "line": 139, "column": 12 }, "end": { - "line": 138, + "line": 139, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 7005, - "end": 7054, + "start": 7042, + "end": 7091, "loc": { "start": { - "line": 138, + "line": 139, "column": 12 }, "end": { - "line": 138, + "line": 139, "column": 61 } }, "callee": { "type": "Identifier", - "start": 7005, - "end": 7011, + "start": 7042, + "end": 7048, "loc": { "start": { - "line": 138, + "line": 139, "column": 12 }, "end": { - "line": 138, + "line": 139, "column": 18 }, "identifierName": "reject" @@ -5970,15 +6056,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 7012, - "end": 7053, + "start": 7049, + "end": 7090, "loc": { "start": { - "line": 138, + "line": 139, "column": 19 }, "end": { - "line": 138, + "line": 139, "column": 60 } }, @@ -5993,15 +6079,15 @@ }, { "type": "ReturnStatement", - "start": 7068, - "end": 7075, + "start": 7105, + "end": 7112, "loc": { "start": { - "line": 139, + "line": 140, "column": 12 }, "end": { - "line": 139, + "line": 140, "column": 19 } }, @@ -6014,43 +6100,43 @@ }, { "type": "IfStatement", - "start": 7095, - "end": 7242, + "start": 7132, + "end": 7279, "loc": { "start": { - "line": 142, + "line": 143, "column": 8 }, "end": { - "line": 145, + "line": 146, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 7099, - "end": 7126, + "start": 7136, + "end": 7163, "loc": { "start": { - "line": 142, + "line": 143, "column": 12 }, "end": { - "line": 142, + "line": 143, "column": 39 } }, "left": { "type": "UnaryExpression", - "start": 7099, - "end": 7112, + "start": 7136, + "end": 7149, "loc": { "start": { - "line": 142, + "line": 143, "column": 12 }, "end": { - "line": 142, + "line": 143, "column": 25 } }, @@ -6058,15 +6144,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 7100, - "end": 7112, + "start": 7137, + "end": 7149, "loc": { "start": { - "line": 142, + "line": 143, "column": 13 }, "end": { - "line": 142, + "line": 143, "column": 25 }, "identifierName": "sourceFormat" @@ -6080,15 +6166,15 @@ "operator": "&&", "right": { "type": "Identifier", - "start": 7116, - "end": 7126, + "start": 7153, + "end": 7163, "loc": { "start": { - "line": 142, + "line": 143, "column": 29 }, "end": { - "line": 142, + "line": 143, "column": 39 }, "identifierName": "sourceData" @@ -6098,58 +6184,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 7128, - "end": 7242, + "start": 7165, + "end": 7279, "loc": { "start": { - "line": 142, + "line": 143, "column": 41 }, "end": { - "line": 145, + "line": 146, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7142, - "end": 7212, + "start": 7179, + "end": 7249, "loc": { "start": { - "line": 143, + "line": 144, "column": 12 }, "end": { - "line": 143, + "line": 144, "column": 82 } }, "expression": { "type": "CallExpression", - "start": 7142, - "end": 7211, + "start": 7179, + "end": 7248, "loc": { "start": { - "line": 143, + "line": 144, "column": 12 }, "end": { - "line": 143, + "line": 144, "column": 81 } }, "callee": { "type": "Identifier", - "start": 7142, - "end": 7148, + "start": 7179, + "end": 7185, "loc": { "start": { - "line": 143, + "line": 144, "column": 12 }, "end": { - "line": 143, + "line": 144, "column": 18 }, "identifierName": "reject" @@ -6159,15 +6245,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 7149, - "end": 7210, + "start": 7186, + "end": 7247, "loc": { "start": { - "line": 143, + "line": 144, "column": 19 }, "end": { - "line": 143, + "line": 144, "column": 80 } }, @@ -6182,15 +6268,15 @@ }, { "type": "ReturnStatement", - "start": 7225, - "end": 7232, + "start": 7262, + "end": 7269, "loc": { "start": { - "line": 144, + "line": 145, "column": 12 }, "end": { - "line": 144, + "line": 145, "column": 19 } }, @@ -6203,57 +6289,57 @@ }, { "type": "IfStatement", - "start": 7252, - "end": 7407, + "start": 7289, + "end": 7444, "loc": { "start": { - "line": 147, + "line": 148, "column": 8 }, "end": { - "line": 150, + "line": 151, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 7256, - "end": 7296, + "start": 7293, + "end": 7333, "loc": { "start": { - "line": 147, + "line": 148, "column": 12 }, "end": { - "line": 147, + "line": 148, "column": 52 } }, "left": { "type": "LogicalExpression", - "start": 7256, - "end": 7282, + "start": 7293, + "end": 7319, "loc": { "start": { - "line": 147, + "line": 148, "column": 12 }, "end": { - "line": 147, + "line": 148, "column": 38 } }, "left": { "type": "UnaryExpression", - "start": 7256, - "end": 7263, + "start": 7293, + "end": 7300, "loc": { "start": { - "line": 147, + "line": 148, "column": 12 }, "end": { - "line": 147, + "line": 148, "column": 19 } }, @@ -6261,15 +6347,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 7257, - "end": 7263, + "start": 7294, + "end": 7300, "loc": { "start": { - "line": 147, + "line": 148, "column": 13 }, "end": { - "line": 147, + "line": 148, "column": 19 }, "identifierName": "output" @@ -6283,15 +6369,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 7267, - "end": 7282, + "start": 7304, + "end": 7319, "loc": { "start": { - "line": 147, + "line": 148, "column": 23 }, "end": { - "line": 147, + "line": 148, "column": 38 } }, @@ -6299,15 +6385,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 7268, - "end": 7282, + "start": 7305, + "end": 7319, "loc": { "start": { - "line": 147, + "line": 148, "column": 24 }, "end": { - "line": 147, + "line": 148, "column": 38 }, "identifierName": "outputXKTModel" @@ -6322,15 +6408,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 7286, - "end": 7296, + "start": 7323, + "end": 7333, "loc": { "start": { - "line": 147, + "line": 148, "column": 42 }, "end": { - "line": 147, + "line": 148, "column": 52 } }, @@ -6338,15 +6424,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 7287, - "end": 7296, + "start": 7324, + "end": 7333, "loc": { "start": { - "line": 147, + "line": 148, "column": 43 }, "end": { - "line": 147, + "line": 148, "column": 52 }, "identifierName": "outputXKT" @@ -6360,58 +6446,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 7298, - "end": 7407, + "start": 7335, + "end": 7444, "loc": { "start": { - "line": 147, + "line": 148, "column": 54 }, "end": { - "line": 150, + "line": 151, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7312, - "end": 7377, + "start": 7349, + "end": 7414, "loc": { "start": { - "line": 148, + "line": 149, "column": 12 }, "end": { - "line": 148, + "line": 149, "column": 77 } }, "expression": { "type": "CallExpression", - "start": 7312, - "end": 7376, + "start": 7349, + "end": 7413, "loc": { "start": { - "line": 148, + "line": 149, "column": 12 }, "end": { - "line": 148, + "line": 149, "column": 76 } }, "callee": { "type": "Identifier", - "start": 7312, - "end": 7318, + "start": 7349, + "end": 7355, "loc": { "start": { - "line": 148, + "line": 149, "column": 12 }, "end": { - "line": 148, + "line": 149, "column": 18 }, "identifierName": "reject" @@ -6421,15 +6507,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 7319, - "end": 7375, + "start": 7356, + "end": 7412, "loc": { "start": { - "line": 148, + "line": 149, "column": 19 }, "end": { - "line": 148, + "line": 149, "column": 75 } }, @@ -6444,15 +6530,15 @@ }, { "type": "ReturnStatement", - "start": 7390, - "end": 7397, + "start": 7427, + "end": 7434, "loc": { "start": { - "line": 149, + "line": 150, "column": 12 }, "end": { - "line": 149, + "line": 150, "column": 19 } }, @@ -6465,29 +6551,29 @@ }, { "type": "IfStatement", - "start": 7417, - "end": 7490, + "start": 7454, + "end": 7527, "loc": { "start": { - "line": 152, + "line": 153, "column": 8 }, "end": { - "line": 154, + "line": 155, "column": 9 } }, "test": { "type": "Identifier", - "start": 7421, - "end": 7427, + "start": 7458, + "end": 7464, "loc": { "start": { - "line": 152, + "line": 153, "column": 12 }, "end": { - "line": 152, + "line": 153, "column": 18 }, "identifierName": "source" @@ -6496,58 +6582,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 7429, - "end": 7490, + "start": 7466, + "end": 7527, "loc": { "start": { - "line": 152, + "line": 153, "column": 20 }, "end": { - "line": 154, + "line": 155, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7443, - "end": 7480, + "start": 7480, + "end": 7517, "loc": { "start": { - "line": 153, + "line": 154, "column": 12 }, "end": { - "line": 153, + "line": 154, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 7443, - "end": 7479, + "start": 7480, + "end": 7516, "loc": { "start": { - "line": 153, + "line": 154, "column": 12 }, "end": { - "line": 153, + "line": 154, "column": 48 } }, "callee": { "type": "Identifier", - "start": 7443, - "end": 7446, + "start": 7480, + "end": 7483, "loc": { "start": { - "line": 153, + "line": 154, "column": 12 }, "end": { - "line": 153, + "line": 154, "column": 15 }, "identifierName": "log" @@ -6557,29 +6643,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7447, - "end": 7478, + "start": 7484, + "end": 7515, "loc": { "start": { - "line": 153, + "line": 154, "column": 16 }, "end": { - "line": 153, + "line": 154, "column": 47 } }, "left": { "type": "StringLiteral", - "start": 7447, - "end": 7469, + "start": 7484, + "end": 7506, "loc": { "start": { - "line": 153, + "line": 154, "column": 16 }, "end": { - "line": 153, + "line": 154, "column": 38 } }, @@ -6592,15 +6678,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 7472, - "end": 7478, + "start": 7509, + "end": 7515, "loc": { "start": { - "line": 153, + "line": 154, "column": 41 }, "end": { - "line": 153, + "line": 154, "column": 47 }, "identifierName": "source" @@ -6618,44 +6704,44 @@ }, { "type": "VariableDeclaration", - "start": 7500, - "end": 7529, + "start": 7537, + "end": 7566, "loc": { "start": { - "line": 156, + "line": 157, "column": 8 }, "end": { - "line": 156, + "line": 157, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7506, - "end": 7528, + "start": 7543, + "end": 7565, "loc": { "start": { - "line": 156, + "line": 157, "column": 14 }, "end": { - "line": 156, + "line": 157, "column": 36 } }, "id": { "type": "Identifier", - "start": 7506, - "end": 7515, + "start": 7543, + "end": 7552, "loc": { "start": { - "line": 156, + "line": 157, "column": 14 }, "end": { - "line": 156, + "line": 157, "column": 23 }, "identifierName": "startTime" @@ -6664,29 +6750,29 @@ }, "init": { "type": "NewExpression", - "start": 7518, - "end": 7528, + "start": 7555, + "end": 7565, "loc": { "start": { - "line": 156, + "line": 157, "column": 26 }, "end": { - "line": 156, + "line": 157, "column": 36 } }, "callee": { "type": "Identifier", - "start": 7522, - "end": 7526, + "start": 7559, + "end": 7563, "loc": { "start": { - "line": 156, + "line": 157, "column": 30 }, "end": { - "line": 156, + "line": 157, "column": 34 }, "identifierName": "Date" @@ -6701,44 +6787,44 @@ }, { "type": "VariableDeclaration", - "start": 7539, - "end": 7589, + "start": 7576, + "end": 7626, "loc": { "start": { - "line": 158, + "line": 159, "column": 8 }, "end": { - "line": 158, + "line": 159, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7545, - "end": 7588, + "start": 7582, + "end": 7625, "loc": { "start": { - "line": 158, + "line": 159, "column": 14 }, "end": { - "line": 158, + "line": 159, "column": 57 } }, "id": { "type": "Identifier", - "start": 7545, - "end": 7558, + "start": 7582, + "end": 7595, "loc": { "start": { - "line": 158, + "line": 159, "column": 14 }, "end": { - "line": 158, + "line": 159, "column": 27 }, "identifierName": "sourceConfigs" @@ -6747,43 +6833,43 @@ }, "init": { "type": "LogicalExpression", - "start": 7561, - "end": 7588, + "start": 7598, + "end": 7625, "loc": { "start": { - "line": 158, + "line": 159, "column": 30 }, "end": { - "line": 158, + "line": 159, "column": 57 } }, "left": { "type": "MemberExpression", - "start": 7561, - "end": 7582, + "start": 7598, + "end": 7619, "loc": { "start": { - "line": 158, + "line": 159, "column": 30 }, "end": { - "line": 158, + "line": 159, "column": 51 } }, "object": { "type": "Identifier", - "start": 7561, - "end": 7568, + "start": 7598, + "end": 7605, "loc": { "start": { - "line": 158, + "line": 159, "column": 30 }, "end": { - "line": 158, + "line": 159, "column": 37 }, "identifierName": "configs" @@ -6792,15 +6878,15 @@ }, "property": { "type": "Identifier", - "start": 7569, - "end": 7582, + "start": 7606, + "end": 7619, "loc": { "start": { - "line": 158, + "line": 159, "column": 38 }, "end": { - "line": 158, + "line": 159, "column": 51 }, "identifierName": "sourceConfigs" @@ -6812,15 +6898,15 @@ "operator": "||", "right": { "type": "ObjectExpression", - "start": 7586, - "end": 7588, + "start": 7623, + "end": 7625, "loc": { "start": { - "line": 158, + "line": 159, "column": 55 }, "end": { - "line": 158, + "line": 159, "column": 57 } }, @@ -6833,44 +6919,44 @@ }, { "type": "VariableDeclaration", - "start": 7598, - "end": 7651, + "start": 7635, + "end": 7688, "loc": { "start": { - "line": 159, + "line": 160, "column": 8 }, "end": { - "line": 159, + "line": 160, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7604, - "end": 7650, + "start": 7641, + "end": 7687, "loc": { "start": { - "line": 159, + "line": 160, "column": 14 }, "end": { - "line": 159, + "line": 160, "column": 60 } }, "id": { "type": "Identifier", - "start": 7604, - "end": 7607, + "start": 7641, + "end": 7644, "loc": { "start": { - "line": 159, + "line": 160, "column": 14 }, "end": { - "line": 159, + "line": 160, "column": 17 }, "identifierName": "ext" @@ -6879,29 +6965,29 @@ }, "init": { "type": "LogicalExpression", - "start": 7610, - "end": 7650, + "start": 7647, + "end": 7687, "loc": { "start": { - "line": 159, + "line": 160, "column": 20 }, "end": { - "line": 159, + "line": 160, "column": 60 } }, "left": { "type": "Identifier", - "start": 7610, - "end": 7622, + "start": 7647, + "end": 7659, "loc": { "start": { - "line": 159, + "line": 160, "column": 20 }, "end": { - "line": 159, + "line": 160, "column": 32 }, "identifierName": "sourceFormat" @@ -6911,29 +6997,29 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 7626, - "end": 7650, + "start": 7663, + "end": 7687, "loc": { "start": { - "line": 159, + "line": 160, "column": 36 }, "end": { - "line": 159, + "line": 160, "column": 60 } }, "callee": { "type": "Identifier", - "start": 7626, - "end": 7642, + "start": 7663, + "end": 7679, "loc": { "start": { - "line": 159, + "line": 160, "column": 36 }, "end": { - "line": 159, + "line": 160, "column": 52 }, "identifierName": "getFileExtension" @@ -6943,15 +7029,15 @@ "arguments": [ { "type": "Identifier", - "start": 7643, - "end": 7649, + "start": 7680, + "end": 7686, "loc": { "start": { - "line": 159, + "line": 160, "column": 53 }, "end": { - "line": 159, + "line": 160, "column": 59 }, "identifierName": "source" @@ -6967,43 +7053,43 @@ }, { "type": "ExpressionStatement", - "start": 7661, - "end": 7699, + "start": 7698, + "end": 7736, "loc": { "start": { - "line": 161, + "line": 162, "column": 8 }, "end": { - "line": 161, + "line": 162, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 7661, - "end": 7698, + "start": 7698, + "end": 7735, "loc": { "start": { - "line": 161, + "line": 162, "column": 8 }, "end": { - "line": 161, + "line": 162, "column": 45 } }, "callee": { "type": "Identifier", - "start": 7661, - "end": 7664, + "start": 7698, + "end": 7701, "loc": { "start": { - "line": 161, + "line": 162, "column": 8 }, "end": { - "line": 161, + "line": 162, "column": 11 }, "identifierName": "log" @@ -7013,30 +7099,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 7665, - "end": 7697, + "start": 7702, + "end": 7734, "loc": { "start": { - "line": 161, + "line": 162, "column": 12 }, "end": { - "line": 161, + "line": 162, "column": 44 } }, "expressions": [ { "type": "Identifier", - "start": 7691, - "end": 7694, + "start": 7728, + "end": 7731, "loc": { "start": { - "line": 161, + "line": 162, "column": 38 }, "end": { - "line": 161, + "line": 162, "column": 41 }, "identifierName": "ext" @@ -7047,15 +7133,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 7666, - "end": 7689, + "start": 7703, + "end": 7726, "loc": { "start": { - "line": 161, + "line": 162, "column": 13 }, "end": { - "line": 161, + "line": 162, "column": 36 } }, @@ -7067,15 +7153,15 @@ }, { "type": "TemplateElement", - "start": 7695, - "end": 7696, + "start": 7732, + "end": 7733, "loc": { "start": { - "line": 161, + "line": 162, "column": 42 }, "end": { - "line": 161, + "line": 162, "column": 43 } }, @@ -7092,44 +7178,44 @@ }, { "type": "VariableDeclaration", - "start": 7709, - "end": 7750, + "start": 7746, + "end": 7787, "loc": { "start": { - "line": 163, + "line": 164, "column": 8 }, "end": { - "line": 163, + "line": 164, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7713, - "end": 7749, + "start": 7750, + "end": 7786, "loc": { "start": { - "line": 163, + "line": 164, "column": 12 }, "end": { - "line": 163, + "line": 164, "column": 48 } }, "id": { "type": "Identifier", - "start": 7713, - "end": 7728, + "start": 7750, + "end": 7765, "loc": { "start": { - "line": 163, + "line": 164, "column": 12 }, "end": { - "line": 163, + "line": 164, "column": 27 }, "identifierName": "fileTypeConfigs" @@ -7138,29 +7224,29 @@ }, "init": { "type": "MemberExpression", - "start": 7731, - "end": 7749, + "start": 7768, + "end": 7786, "loc": { "start": { - "line": 163, + "line": 164, "column": 30 }, "end": { - "line": 163, + "line": 164, "column": 48 } }, "object": { "type": "Identifier", - "start": 7731, - "end": 7744, + "start": 7768, + "end": 7781, "loc": { "start": { - "line": 163, + "line": 164, "column": 30 }, "end": { - "line": 163, + "line": 164, "column": 43 }, "identifierName": "sourceConfigs" @@ -7169,15 +7255,15 @@ }, "property": { "type": "Identifier", - "start": 7745, - "end": 7748, + "start": 7782, + "end": 7785, "loc": { "start": { - "line": 163, + "line": 164, "column": 44 }, "end": { - "line": 163, + "line": 164, "column": 47 }, "identifierName": "ext" @@ -7192,29 +7278,29 @@ }, { "type": "IfStatement", - "start": 7760, - "end": 8016, + "start": 7797, + "end": 8053, "loc": { "start": { - "line": 165, + "line": 166, "column": 8 }, "end": { - "line": 168, + "line": 169, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 7764, - "end": 7780, + "start": 7801, + "end": 7817, "loc": { "start": { - "line": 165, + "line": 166, "column": 12 }, "end": { - "line": 165, + "line": 166, "column": 28 } }, @@ -7222,15 +7308,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 7765, - "end": 7780, + "start": 7802, + "end": 7817, "loc": { "start": { - "line": 165, + "line": 166, "column": 13 }, "end": { - "line": 165, + "line": 166, "column": 28 }, "identifierName": "fileTypeConfigs" @@ -7243,58 +7329,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 7782, - "end": 8016, + "start": 7819, + "end": 8053, "loc": { "start": { - "line": 165, + "line": 166, "column": 30 }, "end": { - "line": 168, + "line": 169, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7796, - "end": 7972, + "start": 7833, + "end": 8009, "loc": { "start": { - "line": 166, + "line": 167, "column": 12 }, "end": { - "line": 166, + "line": 167, "column": 188 } }, "expression": { "type": "CallExpression", - "start": 7796, - "end": 7971, + "start": 7833, + "end": 8008, "loc": { "start": { - "line": 166, + "line": 167, "column": 12 }, "end": { - "line": 166, + "line": 167, "column": 187 } }, "callee": { "type": "Identifier", - "start": 7796, - "end": 7799, + "start": 7833, + "end": 7836, "loc": { "start": { - "line": 166, + "line": 167, "column": 12 }, "end": { - "line": 166, + "line": 167, "column": 15 }, "identifierName": "log" @@ -7304,30 +7390,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 7800, - "end": 7970, + "start": 7837, + "end": 8007, "loc": { "start": { - "line": 166, + "line": 167, "column": 16 }, "end": { - "line": 166, + "line": 167, "column": 186 } }, "expressions": [ { "type": "Identifier", - "start": 7875, - "end": 7878, + "start": 7912, + "end": 7915, "loc": { "start": { - "line": 166, + "line": 167, "column": 91 }, "end": { - "line": 166, + "line": 167, "column": 94 }, "identifierName": "ext" @@ -7338,15 +7424,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 7801, - "end": 7873, + "start": 7838, + "end": 7910, "loc": { "start": { - "line": 166, + "line": 167, "column": 17 }, "end": { - "line": 166, + "line": 167, "column": 89 } }, @@ -7358,15 +7444,15 @@ }, { "type": "TemplateElement", - "start": 7879, - "end": 7969, + "start": 7916, + "end": 8006, "loc": { "start": { - "line": 166, + "line": 167, "column": 95 }, "end": { - "line": 166, + "line": 167, "column": 185 } }, @@ -7383,44 +7469,44 @@ }, { "type": "ExpressionStatement", - "start": 7985, - "end": 8006, + "start": 8022, + "end": 8043, "loc": { "start": { - "line": 167, + "line": 168, "column": 12 }, "end": { - "line": 167, + "line": 168, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 7985, - "end": 8005, + "start": 8022, + "end": 8042, "loc": { "start": { - "line": 167, + "line": 168, "column": 12 }, "end": { - "line": 167, + "line": 168, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7985, - "end": 8000, + "start": 8022, + "end": 8037, "loc": { "start": { - "line": 167, + "line": 168, "column": 12 }, "end": { - "line": 167, + "line": 168, "column": 27 }, "identifierName": "fileTypeConfigs" @@ -7429,15 +7515,15 @@ }, "right": { "type": "ObjectExpression", - "start": 8003, - "end": 8005, + "start": 8040, + "end": 8042, "loc": { "start": { - "line": 167, + "line": 168, "column": 30 }, "end": { - "line": 167, + "line": 168, "column": 32 } }, @@ -7452,29 +7538,29 @@ }, { "type": "FunctionDeclaration", - "start": 8026, - "end": 8194, + "start": 8063, + "end": 8231, "loc": { "start": { - "line": 170, + "line": 171, "column": 8 }, "end": { - "line": 175, + "line": 176, "column": 9 } }, "id": { "type": "Identifier", - "start": 8035, - "end": 8049, + "start": 8072, + "end": 8086, "loc": { "start": { - "line": 170, + "line": 171, "column": 17 }, "end": { - "line": 170, + "line": 171, "column": 31 }, "identifierName": "overrideOption" @@ -7487,15 +7573,15 @@ "params": [ { "type": "Identifier", - "start": 8050, - "end": 8057, + "start": 8087, + "end": 8094, "loc": { "start": { - "line": 170, + "line": 171, "column": 32 }, "end": { - "line": 170, + "line": 171, "column": 39 }, "identifierName": "option1" @@ -7504,15 +7590,15 @@ }, { "type": "Identifier", - "start": 8059, - "end": 8066, + "start": 8096, + "end": 8103, "loc": { "start": { - "line": 170, + "line": 171, "column": 41 }, "end": { - "line": 170, + "line": 171, "column": 48 }, "identifierName": "option2" @@ -7522,58 +7608,58 @@ ], "body": { "type": "BlockStatement", - "start": 8068, - "end": 8194, + "start": 8105, + "end": 8231, "loc": { "start": { - "line": 170, + "line": 171, "column": 50 }, "end": { - "line": 175, + "line": 176, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 8082, - "end": 8156, + "start": 8119, + "end": 8193, "loc": { "start": { - "line": 171, + "line": 172, "column": 12 }, "end": { - "line": 173, + "line": 174, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 8086, - "end": 8107, + "start": 8123, + "end": 8144, "loc": { "start": { - "line": 171, + "line": 172, "column": 16 }, "end": { - "line": 171, + "line": 172, "column": 37 } }, "left": { "type": "Identifier", - "start": 8086, - "end": 8093, + "start": 8123, + "end": 8130, "loc": { "start": { - "line": 171, + "line": 172, "column": 16 }, "end": { - "line": 171, + "line": 172, "column": 23 }, "identifierName": "option1" @@ -7583,15 +7669,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 8098, - "end": 8107, + "start": 8135, + "end": 8144, "loc": { "start": { - "line": 171, + "line": 172, "column": 28 }, "end": { - "line": 171, + "line": 172, "column": 37 }, "identifierName": "undefined" @@ -7601,44 +7687,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 8109, - "end": 8156, + "start": 8146, + "end": 8193, "loc": { "start": { - "line": 171, + "line": 172, "column": 39 }, "end": { - "line": 173, + "line": 174, "column": 13 } }, "body": [ { "type": "ReturnStatement", - "start": 8127, - "end": 8142, + "start": 8164, + "end": 8179, "loc": { "start": { - "line": 172, + "line": 173, "column": 16 }, "end": { - "line": 172, + "line": 173, "column": 31 } }, "argument": { "type": "Identifier", - "start": 8134, - "end": 8141, + "start": 8171, + "end": 8178, "loc": { "start": { - "line": 172, + "line": 173, "column": 23 }, "end": { - "line": 172, + "line": 173, "column": 30 }, "identifierName": "option1" @@ -7653,29 +7739,29 @@ }, { "type": "ReturnStatement", - "start": 8169, - "end": 8184, + "start": 8206, + "end": 8221, "loc": { "start": { - "line": 174, + "line": 175, "column": 12 }, "end": { - "line": 174, + "line": 175, "column": 27 } }, "argument": { "type": "Identifier", - "start": 8176, - "end": 8183, + "start": 8213, + "end": 8220, "loc": { "start": { - "line": 174, + "line": 175, "column": 19 }, "end": { - "line": 174, + "line": 175, "column": 26 }, "identifierName": "option2" @@ -7689,29 +7775,29 @@ }, { "type": "IfStatement", - "start": 8204, - "end": 8399, + "start": 8241, + "end": 8436, "loc": { "start": { - "line": 177, + "line": 178, "column": 8 }, "end": { - "line": 184, + "line": 185, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 8208, - "end": 8219, + "start": 8245, + "end": 8256, "loc": { "start": { - "line": 177, + "line": 178, "column": 12 }, "end": { - "line": 177, + "line": 178, "column": 23 } }, @@ -7719,15 +7805,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 8209, - "end": 8219, + "start": 8246, + "end": 8256, "loc": { "start": { - "line": 177, + "line": 178, "column": 13 }, "end": { - "line": 177, + "line": 178, "column": 23 }, "identifierName": "sourceData" @@ -7740,88 +7826,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 8221, - "end": 8399, + "start": 8258, + "end": 8436, "loc": { "start": { - "line": 177, + "line": 178, "column": 25 }, "end": { - "line": 184, + "line": 185, "column": 9 } }, "body": [ { "type": "TryStatement", - "start": 8235, - "end": 8389, + "start": 8272, + "end": 8426, "loc": { "start": { - "line": 178, + "line": 179, "column": 12 }, "end": { - "line": 183, + "line": 184, "column": 13 } }, "block": { "type": "BlockStatement", - "start": 8239, - "end": 8308, + "start": 8276, + "end": 8345, "loc": { "start": { - "line": 178, + "line": 179, "column": 16 }, "end": { - "line": 180, + "line": 181, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 8257, - "end": 8294, + "start": 8294, + "end": 8331, "loc": { "start": { - "line": 179, + "line": 180, "column": 16 }, "end": { - "line": 179, + "line": 180, "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 8257, - "end": 8293, + "start": 8294, + "end": 8330, "loc": { "start": { - "line": 179, + "line": 180, "column": 16 }, "end": { - "line": 179, + "line": 180, "column": 52 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8257, - "end": 8267, + "start": 8294, + "end": 8304, "loc": { "start": { - "line": 179, + "line": 180, "column": 16 }, "end": { - "line": 179, + "line": 180, "column": 26 }, "identifierName": "sourceData" @@ -7830,43 +7916,43 @@ }, "right": { "type": "CallExpression", - "start": 8270, - "end": 8293, + "start": 8307, + "end": 8330, "loc": { "start": { - "line": 179, + "line": 180, "column": 29 }, "end": { - "line": 179, + "line": 180, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 8270, - "end": 8285, + "start": 8307, + "end": 8322, "loc": { "start": { - "line": 179, + "line": 180, "column": 29 }, "end": { - "line": 179, + "line": 180, "column": 44 } }, "object": { "type": "Identifier", - "start": 8270, - "end": 8272, + "start": 8307, + "end": 8309, "loc": { "start": { - "line": 179, + "line": 180, "column": 29 }, "end": { - "line": 179, + "line": 180, "column": 31 }, "identifierName": "fs" @@ -7875,15 +7961,15 @@ }, "property": { "type": "Identifier", - "start": 8273, - "end": 8285, + "start": 8310, + "end": 8322, "loc": { "start": { - "line": 179, + "line": 180, "column": 32 }, "end": { - "line": 179, + "line": 180, "column": 44 }, "identifierName": "readFileSync" @@ -7895,15 +7981,15 @@ "arguments": [ { "type": "Identifier", - "start": 8286, - "end": 8292, + "start": 8323, + "end": 8329, "loc": { "start": { - "line": 179, + "line": 180, "column": 45 }, "end": { - "line": 179, + "line": 180, "column": 51 }, "identifierName": "source" @@ -7919,29 +8005,29 @@ }, "handler": { "type": "CatchClause", - "start": 8309, - "end": 8389, + "start": 8346, + "end": 8426, "loc": { "start": { - "line": 180, + "line": 181, "column": 14 }, "end": { - "line": 183, + "line": 184, "column": 13 } }, "param": { "type": "Identifier", - "start": 8316, - "end": 8319, + "start": 8353, + "end": 8356, "loc": { "start": { - "line": 180, + "line": 181, "column": 21 }, "end": { - "line": 180, + "line": 181, "column": 24 }, "identifierName": "err" @@ -7950,58 +8036,58 @@ }, "body": { "type": "BlockStatement", - "start": 8321, - "end": 8389, + "start": 8358, + "end": 8426, "loc": { "start": { - "line": 180, + "line": 181, "column": 26 }, "end": { - "line": 183, + "line": 184, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 8339, - "end": 8351, + "start": 8376, + "end": 8388, "loc": { "start": { - "line": 181, + "line": 182, "column": 16 }, "end": { - "line": 181, + "line": 182, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 8339, - "end": 8350, + "start": 8376, + "end": 8387, "loc": { "start": { - "line": 181, + "line": 182, "column": 16 }, "end": { - "line": 181, + "line": 182, "column": 27 } }, "callee": { "type": "Identifier", - "start": 8339, - "end": 8345, + "start": 8376, + "end": 8382, "loc": { "start": { - "line": 181, + "line": 182, "column": 16 }, "end": { - "line": 181, + "line": 182, "column": 22 }, "identifierName": "reject" @@ -8011,15 +8097,15 @@ "arguments": [ { "type": "Identifier", - "start": 8346, - "end": 8349, + "start": 8383, + "end": 8386, "loc": { "start": { - "line": 181, + "line": 182, "column": 23 }, "end": { - "line": 181, + "line": 182, "column": 26 }, "identifierName": "err" @@ -8031,15 +8117,15 @@ }, { "type": "ReturnStatement", - "start": 8368, - "end": 8375, + "start": 8405, + "end": 8412, "loc": { "start": { - "line": 182, + "line": 183, "column": 16 }, "end": { - "line": 182, + "line": 183, "column": 23 } }, @@ -8059,44 +8145,44 @@ }, { "type": "VariableDeclaration", - "start": 8409, - "end": 8459, + "start": 8446, + "end": 8496, "loc": { "start": { - "line": 186, + "line": 187, "column": 8 }, "end": { - "line": 186, + "line": 187, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8415, - "end": 8458, + "start": 8452, + "end": 8495, "loc": { "start": { - "line": 186, + "line": 187, "column": 14 }, "end": { - "line": 186, + "line": 187, "column": 57 } }, "id": { "type": "Identifier", - "start": 8415, - "end": 8434, + "start": 8452, + "end": 8471, "loc": { "start": { - "line": 186, + "line": 187, "column": 14 }, "end": { - "line": 186, + "line": 187, "column": 33 }, "identifierName": "sourceFileSizeBytes" @@ -8105,29 +8191,29 @@ }, "init": { "type": "MemberExpression", - "start": 8437, - "end": 8458, + "start": 8474, + "end": 8495, "loc": { "start": { - "line": 186, + "line": 187, "column": 36 }, "end": { - "line": 186, + "line": 187, "column": 57 } }, "object": { "type": "Identifier", - "start": 8437, - "end": 8447, + "start": 8474, + "end": 8484, "loc": { "start": { - "line": 186, + "line": 187, "column": 36 }, "end": { - "line": 186, + "line": 187, "column": 46 }, "identifierName": "sourceData" @@ -8136,15 +8222,15 @@ }, "property": { "type": "Identifier", - "start": 8448, - "end": 8458, + "start": 8485, + "end": 8495, "loc": { "start": { - "line": 186, + "line": 187, "column": 47 }, "end": { - "line": 186, + "line": 187, "column": 57 }, "identifierName": "byteLength" @@ -8159,43 +8245,43 @@ }, { "type": "ExpressionStatement", - "start": 8469, - "end": 8544, + "start": 8506, + "end": 8581, "loc": { "start": { - "line": 188, + "line": 189, "column": 8 }, "end": { - "line": 188, + "line": 189, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 8469, - "end": 8543, + "start": 8506, + "end": 8580, "loc": { "start": { - "line": 188, + "line": 189, "column": 8 }, "end": { - "line": 188, + "line": 189, "column": 82 } }, "callee": { "type": "Identifier", - "start": 8469, - "end": 8472, + "start": 8506, + "end": 8509, "loc": { "start": { - "line": 188, + "line": 189, "column": 8 }, "end": { - "line": 188, + "line": 189, "column": 11 }, "identifierName": "log" @@ -8205,43 +8291,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 8473, - "end": 8542, + "start": 8510, + "end": 8579, "loc": { "start": { - "line": 188, + "line": 189, "column": 12 }, "end": { - "line": 188, + "line": 189, "column": 81 } }, "left": { "type": "BinaryExpression", - "start": 8473, - "end": 8534, + "start": 8510, + "end": 8571, "loc": { "start": { - "line": 188, + "line": 189, "column": 12 }, "end": { - "line": 188, + "line": 189, "column": 73 } }, "left": { "type": "StringLiteral", - "start": 8473, - "end": 8492, + "start": 8510, + "end": 8529, "loc": { "start": { - "line": 188, + "line": 189, "column": 12 }, "end": { - "line": 188, + "line": 189, "column": 31 } }, @@ -8254,57 +8340,57 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 8495, - "end": 8534, + "start": 8532, + "end": 8571, "loc": { "start": { - "line": 188, + "line": 189, "column": 34 }, "end": { - "line": 188, + "line": 189, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 8495, - "end": 8531, + "start": 8532, + "end": 8568, "loc": { "start": { - "line": 188, + "line": 189, "column": 34 }, "end": { - "line": 188, + "line": 189, "column": 70 } }, "object": { "type": "BinaryExpression", - "start": 8496, - "end": 8522, + "start": 8533, + "end": 8559, "loc": { "start": { - "line": 188, + "line": 189, "column": 35 }, "end": { - "line": 188, + "line": 189, "column": 61 } }, "left": { "type": "Identifier", - "start": 8496, - "end": 8515, + "start": 8533, + "end": 8552, "loc": { "start": { - "line": 188, + "line": 189, "column": 35 }, "end": { - "line": 188, + "line": 189, "column": 54 }, "identifierName": "sourceFileSizeBytes" @@ -8314,15 +8400,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 8518, - "end": 8522, + "start": 8555, + "end": 8559, "loc": { "start": { - "line": 188, + "line": 189, "column": 57 }, "end": { - "line": 188, + "line": 189, "column": 61 } }, @@ -8334,20 +8420,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 8495 + "parenStart": 8532 } }, "property": { "type": "Identifier", - "start": 8524, - "end": 8531, + "start": 8561, + "end": 8568, "loc": { "start": { - "line": 188, + "line": 189, "column": 63 }, "end": { - "line": 188, + "line": 189, "column": 70 }, "identifierName": "toFixed" @@ -8359,15 +8445,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8532, - "end": 8533, + "start": 8569, + "end": 8570, "loc": { "start": { - "line": 188, + "line": 189, "column": 71 }, "end": { - "line": 188, + "line": 189, "column": 72 } }, @@ -8383,15 +8469,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 8537, - "end": 8542, + "start": 8574, + "end": 8579, "loc": { "start": { - "line": 188, + "line": 189, "column": 76 }, "end": { - "line": 188, + "line": 189, "column": 81 } }, @@ -8407,43 +8493,43 @@ }, { "type": "IfStatement", - "start": 8554, - "end": 8924, + "start": 8591, + "end": 8961, "loc": { "start": { - "line": 190, + "line": 191, "column": 8 }, "end": { - "line": 200, + "line": 201, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 8558, - "end": 8594, + "start": 8595, + "end": 8631, "loc": { "start": { - "line": 190, + "line": 191, "column": 12 }, "end": { - "line": 190, + "line": 191, "column": 48 } }, "left": { "type": "UnaryExpression", - "start": 8558, - "end": 8575, + "start": 8595, + "end": 8612, "loc": { "start": { - "line": 190, + "line": 191, "column": 12 }, "end": { - "line": 190, + "line": 191, "column": 29 } }, @@ -8451,15 +8537,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 8559, - "end": 8575, + "start": 8596, + "end": 8612, "loc": { "start": { - "line": 190, + "line": 191, "column": 13 }, "end": { - "line": 190, + "line": 191, "column": 29 }, "identifierName": "metaModelDataStr" @@ -8473,15 +8559,15 @@ "operator": "&&", "right": { "type": "Identifier", - "start": 8579, - "end": 8594, + "start": 8616, + "end": 8631, "loc": { "start": { - "line": 190, + "line": 191, "column": 33 }, "end": { - "line": 190, + "line": 191, "column": 48 }, "identifierName": "metaModelSource" @@ -8491,58 +8577,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 8596, - "end": 8857, + "start": 8633, + "end": 8894, "loc": { "start": { - "line": 190, + "line": 191, "column": 50 }, "end": { - "line": 198, + "line": 199, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8610, - "end": 8665, + "start": 8647, + "end": 8702, "loc": { "start": { - "line": 191, + "line": 192, "column": 12 }, "end": { - "line": 191, + "line": 192, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 8610, - "end": 8664, + "start": 8647, + "end": 8701, "loc": { "start": { - "line": 191, + "line": 192, "column": 12 }, "end": { - "line": 191, + "line": 192, "column": 66 } }, "callee": { "type": "Identifier", - "start": 8610, - "end": 8613, + "start": 8647, + "end": 8650, "loc": { "start": { - "line": 191, + "line": 192, "column": 12 }, "end": { - "line": 191, + "line": 192, "column": 15 }, "identifierName": "log" @@ -8552,29 +8638,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 8614, - "end": 8663, + "start": 8651, + "end": 8700, "loc": { "start": { - "line": 191, + "line": 192, "column": 16 }, "end": { - "line": 191, + "line": 192, "column": 65 } }, "left": { "type": "StringLiteral", - "start": 8614, - "end": 8645, + "start": 8651, + "end": 8682, "loc": { "start": { - "line": 191, + "line": 192, "column": 16 }, "end": { - "line": 191, + "line": 192, "column": 47 } }, @@ -8587,15 +8673,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 8648, - "end": 8663, + "start": 8685, + "end": 8700, "loc": { "start": { - "line": 191, + "line": 192, "column": 50 }, "end": { - "line": 191, + "line": 192, "column": 65 }, "identifierName": "metaModelSource" @@ -8608,73 +8694,73 @@ }, { "type": "TryStatement", - "start": 8678, - "end": 8847, + "start": 8715, + "end": 8884, "loc": { "start": { - "line": 192, + "line": 193, "column": 12 }, "end": { - "line": 197, + "line": 198, "column": 13 } }, "block": { "type": "BlockStatement", - "start": 8682, - "end": 8766, + "start": 8719, + "end": 8803, "loc": { "start": { - "line": 192, + "line": 193, "column": 16 }, "end": { - "line": 194, + "line": 195, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 8700, - "end": 8752, + "start": 8737, + "end": 8789, "loc": { "start": { - "line": 193, + "line": 194, "column": 16 }, "end": { - "line": 193, + "line": 194, "column": 68 } }, "expression": { "type": "AssignmentExpression", - "start": 8700, - "end": 8751, + "start": 8737, + "end": 8788, "loc": { "start": { - "line": 193, + "line": 194, "column": 16 }, "end": { - "line": 193, + "line": 194, "column": 67 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8700, - "end": 8716, + "start": 8737, + "end": 8753, "loc": { "start": { - "line": 193, + "line": 194, "column": 16 }, "end": { - "line": 193, + "line": 194, "column": 32 }, "identifierName": "metaModelDataStr" @@ -8683,43 +8769,43 @@ }, "right": { "type": "CallExpression", - "start": 8719, - "end": 8751, + "start": 8756, + "end": 8788, "loc": { "start": { - "line": 193, + "line": 194, "column": 35 }, "end": { - "line": 193, + "line": 194, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 8719, - "end": 8734, + "start": 8756, + "end": 8771, "loc": { "start": { - "line": 193, + "line": 194, "column": 35 }, "end": { - "line": 193, + "line": 194, "column": 50 } }, "object": { "type": "Identifier", - "start": 8719, - "end": 8721, + "start": 8756, + "end": 8758, "loc": { "start": { - "line": 193, + "line": 194, "column": 35 }, "end": { - "line": 193, + "line": 194, "column": 37 }, "identifierName": "fs" @@ -8728,15 +8814,15 @@ }, "property": { "type": "Identifier", - "start": 8722, - "end": 8734, + "start": 8759, + "end": 8771, "loc": { "start": { - "line": 193, + "line": 194, "column": 38 }, "end": { - "line": 193, + "line": 194, "column": 50 }, "identifierName": "readFileSync" @@ -8748,15 +8834,15 @@ "arguments": [ { "type": "Identifier", - "start": 8735, - "end": 8750, + "start": 8772, + "end": 8787, "loc": { "start": { - "line": 193, + "line": 194, "column": 51 }, "end": { - "line": 193, + "line": 194, "column": 66 }, "identifierName": "metaModelSource" @@ -8772,29 +8858,29 @@ }, "handler": { "type": "CatchClause", - "start": 8767, - "end": 8847, + "start": 8804, + "end": 8884, "loc": { "start": { - "line": 194, + "line": 195, "column": 14 }, "end": { - "line": 197, + "line": 198, "column": 13 } }, "param": { "type": "Identifier", - "start": 8774, - "end": 8777, + "start": 8811, + "end": 8814, "loc": { "start": { - "line": 194, + "line": 195, "column": 21 }, "end": { - "line": 194, + "line": 195, "column": 24 }, "identifierName": "err" @@ -8803,58 +8889,58 @@ }, "body": { "type": "BlockStatement", - "start": 8779, - "end": 8847, + "start": 8816, + "end": 8884, "loc": { "start": { - "line": 194, + "line": 195, "column": 26 }, "end": { - "line": 197, + "line": 198, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 8797, - "end": 8809, + "start": 8834, + "end": 8846, "loc": { "start": { - "line": 195, + "line": 196, "column": 16 }, "end": { - "line": 195, + "line": 196, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 8797, - "end": 8808, + "start": 8834, + "end": 8845, "loc": { "start": { - "line": 195, + "line": 196, "column": 16 }, "end": { - "line": 195, + "line": 196, "column": 27 } }, "callee": { "type": "Identifier", - "start": 8797, - "end": 8803, + "start": 8834, + "end": 8840, "loc": { "start": { - "line": 195, + "line": 196, "column": 16 }, "end": { - "line": 195, + "line": 196, "column": 22 }, "identifierName": "reject" @@ -8864,15 +8950,15 @@ "arguments": [ { "type": "Identifier", - "start": 8804, - "end": 8807, + "start": 8841, + "end": 8844, "loc": { "start": { - "line": 195, + "line": 196, "column": 23 }, "end": { - "line": 195, + "line": 196, "column": 26 }, "identifierName": "err" @@ -8884,15 +8970,15 @@ }, { "type": "ReturnStatement", - "start": 8826, - "end": 8833, + "start": 8863, + "end": 8870, "loc": { "start": { - "line": 196, + "line": 197, "column": 16 }, "end": { - "line": 196, + "line": 197, "column": 23 } }, @@ -8910,58 +8996,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 8863, - "end": 8924, + "start": 8900, + "end": 8961, "loc": { "start": { - "line": 198, + "line": 199, "column": 15 }, "end": { - "line": 200, + "line": 201, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8877, - "end": 8914, + "start": 8914, + "end": 8951, "loc": { "start": { - "line": 199, + "line": 200, "column": 12 }, "end": { - "line": 199, + "line": 200, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 8877, - "end": 8913, + "start": 8914, + "end": 8950, "loc": { "start": { - "line": 199, + "line": 200, "column": 12 }, "end": { - "line": 199, + "line": 200, "column": 48 } }, "callee": { "type": "Identifier", - "start": 8877, - "end": 8880, + "start": 8914, + "end": 8917, "loc": { "start": { - "line": 199, + "line": 200, "column": 12 }, "end": { - "line": 199, + "line": 200, "column": 15 }, "identifierName": "log" @@ -8971,15 +9057,15 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 8881, - "end": 8912, + "start": 8918, + "end": 8949, "loc": { "start": { - "line": 199, + "line": 200, "column": 16 }, "end": { - "line": 199, + "line": 200, "column": 47 } }, @@ -8987,15 +9073,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 8882, - "end": 8911, + "start": 8919, + "end": 8948, "loc": { "start": { - "line": 199, + "line": 200, "column": 17 }, "end": { - "line": 199, + "line": 200, "column": 46 } }, @@ -9016,44 +9102,44 @@ }, { "type": "VariableDeclaration", - "start": 8934, - "end": 8952, + "start": 8971, + "end": 8989, "loc": { "start": { - "line": 202, + "line": 203, "column": 8 }, "end": { - "line": 202, + "line": 203, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8938, - "end": 8951, + "start": 8975, + "end": 8988, "loc": { "start": { - "line": 202, + "line": 203, "column": 12 }, "end": { - "line": 202, + "line": 203, "column": 25 } }, "id": { "type": "Identifier", - "start": 8938, - "end": 8951, + "start": 8975, + "end": 8988, "loc": { "start": { - "line": 202, + "line": 203, "column": 12 }, "end": { - "line": 202, + "line": 203, "column": 25 }, "identifierName": "metaModelJSON" @@ -9067,29 +9153,29 @@ }, { "type": "IfStatement", - "start": 8962, - "end": 9209, + "start": 8999, + "end": 9246, "loc": { "start": { - "line": 204, + "line": 205, "column": 8 }, "end": { - "line": 211, + "line": 212, "column": 9 } }, "test": { "type": "Identifier", - "start": 8966, - "end": 8982, + "start": 9003, + "end": 9019, "loc": { "start": { - "line": 204, + "line": 205, "column": 12 }, "end": { - "line": 204, + "line": 205, "column": 28 }, "identifierName": "metaModelDataStr" @@ -9098,88 +9184,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 8984, - "end": 9209, + "start": 9021, + "end": 9246, "loc": { "start": { - "line": 204, + "line": 205, "column": 30 }, "end": { - "line": 211, + "line": 212, "column": 9 } }, "body": [ { "type": "TryStatement", - "start": 8998, - "end": 9199, + "start": 9035, + "end": 9236, "loc": { "start": { - "line": 205, + "line": 206, "column": 12 }, "end": { - "line": 210, + "line": 211, "column": 13 } }, "block": { "type": "BlockStatement", - "start": 9002, - "end": 9079, + "start": 9039, + "end": 9116, "loc": { "start": { - "line": 205, + "line": 206, "column": 16 }, "end": { - "line": 207, + "line": 208, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9020, - "end": 9065, + "start": 9057, + "end": 9102, "loc": { "start": { - "line": 206, + "line": 207, "column": 16 }, "end": { - "line": 206, + "line": 207, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 9020, - "end": 9064, + "start": 9057, + "end": 9101, "loc": { "start": { - "line": 206, + "line": 207, "column": 16 }, "end": { - "line": 206, + "line": 207, "column": 60 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9020, - "end": 9033, + "start": 9057, + "end": 9070, "loc": { "start": { - "line": 206, + "line": 207, "column": 16 }, "end": { - "line": 206, + "line": 207, "column": 29 }, "identifierName": "metaModelJSON" @@ -9188,43 +9274,43 @@ }, "right": { "type": "CallExpression", - "start": 9036, - "end": 9064, + "start": 9073, + "end": 9101, "loc": { "start": { - "line": 206, + "line": 207, "column": 32 }, "end": { - "line": 206, + "line": 207, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 9036, - "end": 9046, + "start": 9073, + "end": 9083, "loc": { "start": { - "line": 206, + "line": 207, "column": 32 }, "end": { - "line": 206, + "line": 207, "column": 42 } }, "object": { "type": "Identifier", - "start": 9036, - "end": 9040, + "start": 9073, + "end": 9077, "loc": { "start": { - "line": 206, + "line": 207, "column": 32 }, "end": { - "line": 206, + "line": 207, "column": 36 }, "identifierName": "JSON" @@ -9233,15 +9319,15 @@ }, "property": { "type": "Identifier", - "start": 9041, - "end": 9046, + "start": 9078, + "end": 9083, "loc": { "start": { - "line": 206, + "line": 207, "column": 37 }, "end": { - "line": 206, + "line": 207, "column": 42 }, "identifierName": "parse" @@ -9253,15 +9339,15 @@ "arguments": [ { "type": "Identifier", - "start": 9047, - "end": 9063, + "start": 9084, + "end": 9100, "loc": { "start": { - "line": 206, + "line": 207, "column": 43 }, "end": { - "line": 206, + "line": 207, "column": 59 }, "identifierName": "metaModelDataStr" @@ -9277,29 +9363,29 @@ }, "handler": { "type": "CatchClause", - "start": 9080, - "end": 9199, + "start": 9117, + "end": 9236, "loc": { "start": { - "line": 207, + "line": 208, "column": 14 }, "end": { - "line": 210, + "line": 211, "column": 13 } }, "param": { "type": "Identifier", - "start": 9087, - "end": 9088, + "start": 9124, + "end": 9125, "loc": { "start": { - "line": 207, + "line": 208, "column": 21 }, "end": { - "line": 207, + "line": 208, "column": 22 }, "identifierName": "e" @@ -9308,59 +9394,59 @@ }, "body": { "type": "BlockStatement", - "start": 9090, - "end": 9199, + "start": 9127, + "end": 9236, "loc": { "start": { - "line": 207, + "line": 208, "column": 24 }, "end": { - "line": 210, + "line": 211, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9108, - "end": 9127, + "start": 9145, + "end": 9164, "loc": { "start": { - "line": 208, + "line": 209, "column": 16 }, "end": { - "line": 208, + "line": 209, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 9108, - "end": 9126, + "start": 9145, + "end": 9163, "loc": { "start": { - "line": 208, + "line": 209, "column": 16 }, "end": { - "line": 208, + "line": 209, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9108, - "end": 9121, + "start": 9145, + "end": 9158, "loc": { "start": { - "line": 208, + "line": 209, "column": 16 }, "end": { - "line": 208, + "line": 209, "column": 29 }, "identifierName": "metaModelJSON" @@ -9369,15 +9455,15 @@ }, "right": { "type": "ObjectExpression", - "start": 9124, - "end": 9126, + "start": 9161, + "end": 9163, "loc": { "start": { - "line": 208, + "line": 209, "column": 32 }, "end": { - "line": 208, + "line": 209, "column": 34 } }, @@ -9387,43 +9473,43 @@ }, { "type": "ExpressionStatement", - "start": 9144, - "end": 9185, + "start": 9181, + "end": 9222, "loc": { "start": { - "line": 209, + "line": 210, "column": 16 }, "end": { - "line": 209, + "line": 210, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 9144, - "end": 9184, + "start": 9181, + "end": 9221, "loc": { "start": { - "line": 209, + "line": 210, "column": 16 }, "end": { - "line": 209, + "line": 210, "column": 56 } }, "callee": { "type": "Identifier", - "start": 9144, - "end": 9147, + "start": 9181, + "end": 9184, "loc": { "start": { - "line": 209, + "line": 210, "column": 16 }, "end": { - "line": 209, + "line": 210, "column": 19 }, "identifierName": "log" @@ -9433,30 +9519,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 9148, - "end": 9183, + "start": 9185, + "end": 9220, "loc": { "start": { - "line": 209, + "line": 210, "column": 20 }, "end": { - "line": 209, + "line": 210, "column": 55 } }, "expressions": [ { "type": "Identifier", - "start": 9180, - "end": 9181, + "start": 9217, + "end": 9218, "loc": { "start": { - "line": 209, + "line": 210, "column": 52 }, "end": { - "line": 209, + "line": 210, "column": 53 }, "identifierName": "e" @@ -9467,15 +9553,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 9149, - "end": 9178, + "start": 9186, + "end": 9215, "loc": { "start": { - "line": 209, + "line": 210, "column": 21 }, "end": { - "line": 209, + "line": 210, "column": 50 } }, @@ -9487,15 +9573,15 @@ }, { "type": "TemplateElement", - "start": 9182, - "end": 9182, + "start": 9219, + "end": 9219, "loc": { "start": { - "line": 209, + "line": 210, "column": 54 }, "end": { - "line": 209, + "line": 210, "column": 54 } }, @@ -9524,44 +9610,44 @@ }, { "type": "ExpressionStatement", - "start": 9219, - "end": 9290, + "start": 9256, + "end": 9327, "loc": { "start": { - "line": 213, + "line": 214, "column": 8 }, "end": { - "line": 213, + "line": 214, "column": 79 } }, "expression": { "type": "AssignmentExpression", - "start": 9219, - "end": 9289, + "start": 9256, + "end": 9326, "loc": { "start": { - "line": 213, + "line": 214, "column": 8 }, "end": { - "line": 213, + "line": 214, "column": 78 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9219, - "end": 9230, + "start": 9256, + "end": 9267, "loc": { "start": { - "line": 213, + "line": 214, "column": 8 }, "end": { - "line": 213, + "line": 214, "column": 19 }, "identifierName": "minTileSize" @@ -9570,29 +9656,29 @@ }, "right": { "type": "CallExpression", - "start": 9233, - "end": 9289, + "start": 9270, + "end": 9326, "loc": { "start": { - "line": 213, + "line": 214, "column": 22 }, "end": { - "line": 213, + "line": 214, "column": 78 } }, "callee": { "type": "Identifier", - "start": 9233, - "end": 9247, + "start": 9270, + "end": 9284, "loc": { "start": { - "line": 213, + "line": 214, "column": 22 }, "end": { - "line": 213, + "line": 214, "column": 36 }, "identifierName": "overrideOption" @@ -9602,29 +9688,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9248, - "end": 9275, + "start": 9285, + "end": 9312, "loc": { "start": { - "line": 213, + "line": 214, "column": 37 }, "end": { - "line": 213, + "line": 214, "column": 64 } }, "object": { "type": "Identifier", - "start": 9248, - "end": 9263, + "start": 9285, + "end": 9300, "loc": { "start": { - "line": 213, + "line": 214, "column": 37 }, "end": { - "line": 213, + "line": 214, "column": 52 }, "identifierName": "fileTypeConfigs" @@ -9633,15 +9719,15 @@ }, "property": { "type": "Identifier", - "start": 9264, - "end": 9275, + "start": 9301, + "end": 9312, "loc": { "start": { - "line": 213, + "line": 214, "column": 53 }, "end": { - "line": 213, + "line": 214, "column": 64 }, "identifierName": "minTileSize" @@ -9652,15 +9738,15 @@ }, { "type": "Identifier", - "start": 9277, - "end": 9288, + "start": 9314, + "end": 9325, "loc": { "start": { - "line": 213, + "line": 214, "column": 66 }, "end": { - "line": 213, + "line": 214, "column": 77 }, "identifierName": "minTileSize" @@ -9673,44 +9759,44 @@ }, { "type": "ExpressionStatement", - "start": 9299, - "end": 9358, + "start": 9336, + "end": 9395, "loc": { "start": { - "line": 214, + "line": 215, "column": 8 }, "end": { - "line": 214, + "line": 215, "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 9299, - "end": 9357, + "start": 9336, + "end": 9394, "loc": { "start": { - "line": 214, + "line": 215, "column": 8 }, "end": { - "line": 214, + "line": 215, "column": 66 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9299, - "end": 9306, + "start": 9336, + "end": 9343, "loc": { "start": { - "line": 214, + "line": 215, "column": 8 }, "end": { - "line": 214, + "line": 215, "column": 15 }, "identifierName": "rotateX" @@ -9719,29 +9805,29 @@ }, "right": { "type": "CallExpression", - "start": 9309, - "end": 9357, + "start": 9346, + "end": 9394, "loc": { "start": { - "line": 214, + "line": 215, "column": 18 }, "end": { - "line": 214, + "line": 215, "column": 66 } }, "callee": { "type": "Identifier", - "start": 9309, - "end": 9323, + "start": 9346, + "end": 9360, "loc": { "start": { - "line": 214, + "line": 215, "column": 18 }, "end": { - "line": 214, + "line": 215, "column": 32 }, "identifierName": "overrideOption" @@ -9751,29 +9837,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9324, - "end": 9347, + "start": 9361, + "end": 9384, "loc": { "start": { - "line": 214, + "line": 215, "column": 33 }, "end": { - "line": 214, + "line": 215, "column": 56 } }, "object": { "type": "Identifier", - "start": 9324, - "end": 9339, + "start": 9361, + "end": 9376, "loc": { "start": { - "line": 214, + "line": 215, "column": 33 }, "end": { - "line": 214, + "line": 215, "column": 48 }, "identifierName": "fileTypeConfigs" @@ -9782,15 +9868,15 @@ }, "property": { "type": "Identifier", - "start": 9340, - "end": 9347, + "start": 9377, + "end": 9384, "loc": { "start": { - "line": 214, + "line": 215, "column": 49 }, "end": { - "line": 214, + "line": 215, "column": 56 }, "identifierName": "rotateX" @@ -9801,15 +9887,15 @@ }, { "type": "Identifier", - "start": 9349, - "end": 9356, + "start": 9386, + "end": 9393, "loc": { "start": { - "line": 214, + "line": 215, "column": 58 }, "end": { - "line": 214, + "line": 215, "column": 65 }, "identifierName": "rotateX" @@ -9822,157 +9908,8 @@ }, { "type": "ExpressionStatement", - "start": 9367, - "end": 9450, - "loc": { - "start": { - "line": 215, - "column": 8 - }, - "end": { - "line": 215, - "column": 91 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9367, - "end": 9449, - "loc": { - "start": { - "line": 215, - "column": 8 - }, - "end": { - "line": 215, - "column": 90 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 9367, - "end": 9382, - "loc": { - "start": { - "line": 215, - "column": 8 - }, - "end": { - "line": 215, - "column": 23 - }, - "identifierName": "reuseGeometries" - }, - "name": "reuseGeometries" - }, - "right": { - "type": "CallExpression", - "start": 9385, - "end": 9449, - "loc": { - "start": { - "line": 215, - "column": 26 - }, - "end": { - "line": 215, - "column": 90 - } - }, - "callee": { - "type": "Identifier", - "start": 9385, - "end": 9399, - "loc": { - "start": { - "line": 215, - "column": 26 - }, - "end": { - "line": 215, - "column": 40 - }, - "identifierName": "overrideOption" - }, - "name": "overrideOption" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 9400, - "end": 9431, - "loc": { - "start": { - "line": 215, - "column": 41 - }, - "end": { - "line": 215, - "column": 72 - } - }, - "object": { - "type": "Identifier", - "start": 9400, - "end": 9415, - "loc": { - "start": { - "line": 215, - "column": 41 - }, - "end": { - "line": 215, - "column": 56 - }, - "identifierName": "fileTypeConfigs" - }, - "name": "fileTypeConfigs" - }, - "property": { - "type": "Identifier", - "start": 9416, - "end": 9431, - "loc": { - "start": { - "line": 215, - "column": 57 - }, - "end": { - "line": 215, - "column": 72 - }, - "identifierName": "reuseGeometries" - }, - "name": "reuseGeometries" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 9433, - "end": 9448, - "loc": { - "start": { - "line": 215, - "column": 74 - }, - "end": { - "line": 215, - "column": 89 - }, - "identifierName": "reuseGeometries" - }, - "name": "reuseGeometries" - } - ] - } - } - }, - { - "type": "ExpressionStatement", - "start": 9459, - "end": 9542, + "start": 9404, + "end": 9487, "loc": { "start": { "line": 216, @@ -9985,8 +9922,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 9459, - "end": 9541, + "start": 9404, + "end": 9486, "loc": { "start": { "line": 216, @@ -10000,8 +9937,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 9459, - "end": 9474, + "start": 9404, + "end": 9419, "loc": { "start": { "line": 216, @@ -10011,14 +9948,14 @@ "line": 216, "column": 23 }, - "identifierName": "includeTextures" + "identifierName": "reuseGeometries" }, - "name": "includeTextures" + "name": "reuseGeometries" }, "right": { "type": "CallExpression", - "start": 9477, - "end": 9541, + "start": 9422, + "end": 9486, "loc": { "start": { "line": 216, @@ -10031,8 +9968,8 @@ }, "callee": { "type": "Identifier", - "start": 9477, - "end": 9491, + "start": 9422, + "end": 9436, "loc": { "start": { "line": 216, @@ -10049,8 +9986,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 9492, - "end": 9523, + "start": 9437, + "end": 9468, "loc": { "start": { "line": 216, @@ -10063,8 +10000,8 @@ }, "object": { "type": "Identifier", - "start": 9492, - "end": 9507, + "start": 9437, + "end": 9452, "loc": { "start": { "line": 216, @@ -10080,8 +10017,8 @@ }, "property": { "type": "Identifier", - "start": 9508, - "end": 9523, + "start": 9453, + "end": 9468, "loc": { "start": { "line": 216, @@ -10091,16 +10028,16 @@ "line": 216, "column": 72 }, - "identifierName": "includeTextures" + "identifierName": "reuseGeometries" }, - "name": "includeTextures" + "name": "reuseGeometries" }, "computed": false }, { "type": "Identifier", - "start": 9525, - "end": 9540, + "start": 9470, + "end": 9485, "loc": { "start": { "line": 216, @@ -10110,9 +10047,9 @@ "line": 216, "column": 89 }, - "identifierName": "includeTextures" + "identifierName": "reuseGeometries" }, - "name": "includeTextures" + "name": "reuseGeometries" } ] } @@ -10120,8 +10057,8 @@ }, { "type": "ExpressionStatement", - "start": 9551, - "end": 9631, + "start": 9496, + "end": 9579, "loc": { "start": { "line": 217, @@ -10129,13 +10066,13 @@ }, "end": { "line": 217, - "column": 88 + "column": 91 } }, "expression": { "type": "AssignmentExpression", - "start": 9551, - "end": 9630, + "start": 9496, + "end": 9578, "loc": { "start": { "line": 217, @@ -10143,14 +10080,14 @@ }, "end": { "line": 217, - "column": 87 + "column": 90 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9551, - "end": 9565, + "start": 9496, + "end": 9511, "loc": { "start": { "line": 217, @@ -10158,38 +10095,38 @@ }, "end": { "line": 217, - "column": 22 + "column": 23 }, - "identifierName": "includeNormals" + "identifierName": "includeTextures" }, - "name": "includeNormals" + "name": "includeTextures" }, "right": { "type": "CallExpression", - "start": 9568, - "end": 9630, + "start": 9514, + "end": 9578, "loc": { "start": { "line": 217, - "column": 25 + "column": 26 }, "end": { "line": 217, - "column": 87 + "column": 90 } }, "callee": { "type": "Identifier", - "start": 9568, - "end": 9582, + "start": 9514, + "end": 9528, "loc": { "start": { "line": 217, - "column": 25 + "column": 26 }, "end": { "line": 217, - "column": 39 + "column": 40 }, "identifierName": "overrideOption" }, @@ -10198,30 +10135,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 9583, - "end": 9613, + "start": 9529, + "end": 9560, "loc": { "start": { "line": 217, - "column": 40 + "column": 41 }, "end": { "line": 217, - "column": 70 + "column": 72 } }, "object": { "type": "Identifier", - "start": 9583, - "end": 9598, + "start": 9529, + "end": 9544, "loc": { "start": { "line": 217, - "column": 40 + "column": 41 }, "end": { "line": 217, - "column": 55 + "column": 56 }, "identifierName": "fileTypeConfigs" }, @@ -10229,39 +10166,39 @@ }, "property": { "type": "Identifier", - "start": 9599, - "end": 9613, + "start": 9545, + "end": 9560, "loc": { "start": { "line": 217, - "column": 56 + "column": 57 }, "end": { "line": 217, - "column": 70 + "column": 72 }, - "identifierName": "includeNormals" + "identifierName": "includeTextures" }, - "name": "includeNormals" + "name": "includeTextures" }, "computed": false }, { "type": "Identifier", - "start": 9615, - "end": 9629, + "start": 9562, + "end": 9577, "loc": { "start": { "line": 217, - "column": 72 + "column": 74 }, "end": { "line": 217, - "column": 86 + "column": 89 }, - "identifierName": "includeNormals" + "identifierName": "includeTextures" }, - "name": "includeNormals" + "name": "includeTextures" } ] } @@ -10269,8 +10206,8 @@ }, { "type": "ExpressionStatement", - "start": 9640, - "end": 9714, + "start": 9588, + "end": 9668, "loc": { "start": { "line": 218, @@ -10278,13 +10215,13 @@ }, "end": { "line": 218, - "column": 82 + "column": 88 } }, "expression": { "type": "AssignmentExpression", - "start": 9640, - "end": 9713, + "start": 9588, + "end": 9667, "loc": { "start": { "line": 218, @@ -10292,14 +10229,14 @@ }, "end": { "line": 218, - "column": 81 + "column": 87 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9640, - "end": 9652, + "start": 9588, + "end": 9602, "loc": { "start": { "line": 218, @@ -10307,38 +10244,38 @@ }, "end": { "line": 218, - "column": 20 + "column": 22 }, - "identifierName": "includeTypes" + "identifierName": "includeNormals" }, - "name": "includeTypes" + "name": "includeNormals" }, "right": { "type": "CallExpression", - "start": 9655, - "end": 9713, + "start": 9605, + "end": 9667, "loc": { "start": { "line": 218, - "column": 23 + "column": 25 }, "end": { "line": 218, - "column": 81 + "column": 87 } }, "callee": { "type": "Identifier", - "start": 9655, - "end": 9669, + "start": 9605, + "end": 9619, "loc": { "start": { "line": 218, - "column": 23 + "column": 25 }, "end": { "line": 218, - "column": 37 + "column": 39 }, "identifierName": "overrideOption" }, @@ -10347,30 +10284,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 9670, - "end": 9698, + "start": 9620, + "end": 9650, "loc": { "start": { "line": 218, - "column": 38 + "column": 40 }, "end": { "line": 218, - "column": 66 + "column": 70 } }, "object": { "type": "Identifier", - "start": 9670, - "end": 9685, + "start": 9620, + "end": 9635, "loc": { "start": { "line": 218, - "column": 38 + "column": 40 }, "end": { "line": 218, - "column": 53 + "column": 55 }, "identifierName": "fileTypeConfigs" }, @@ -10378,39 +10315,39 @@ }, "property": { "type": "Identifier", - "start": 9686, - "end": 9698, + "start": 9636, + "end": 9650, "loc": { "start": { "line": 218, - "column": 54 + "column": 56 }, "end": { "line": 218, - "column": 66 + "column": 70 }, - "identifierName": "includeTypes" + "identifierName": "includeNormals" }, - "name": "includeTypes" + "name": "includeNormals" }, "computed": false }, { "type": "Identifier", - "start": 9700, - "end": 9712, + "start": 9652, + "end": 9666, "loc": { "start": { "line": 218, - "column": 68 + "column": 72 }, "end": { "line": 218, - "column": 80 + "column": 86 }, - "identifierName": "includeTypes" + "identifierName": "includeNormals" }, - "name": "includeTypes" + "name": "includeNormals" } ] } @@ -10418,8 +10355,8 @@ }, { "type": "ExpressionStatement", - "start": 9723, - "end": 9797, + "start": 9677, + "end": 9751, "loc": { "start": { "line": 219, @@ -10432,8 +10369,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 9723, - "end": 9796, + "start": 9677, + "end": 9750, "loc": { "start": { "line": 219, @@ -10447,8 +10384,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 9723, - "end": 9735, + "start": 9677, + "end": 9689, "loc": { "start": { "line": 219, @@ -10458,14 +10395,14 @@ "line": 219, "column": 20 }, - "identifierName": "excludeTypes" + "identifierName": "includeTypes" }, - "name": "excludeTypes" + "name": "includeTypes" }, "right": { "type": "CallExpression", - "start": 9738, - "end": 9796, + "start": 9692, + "end": 9750, "loc": { "start": { "line": 219, @@ -10478,8 +10415,8 @@ }, "callee": { "type": "Identifier", - "start": 9738, - "end": 9752, + "start": 9692, + "end": 9706, "loc": { "start": { "line": 219, @@ -10496,8 +10433,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 9753, - "end": 9781, + "start": 9707, + "end": 9735, "loc": { "start": { "line": 219, @@ -10510,8 +10447,8 @@ }, "object": { "type": "Identifier", - "start": 9753, - "end": 9768, + "start": 9707, + "end": 9722, "loc": { "start": { "line": 219, @@ -10527,8 +10464,8 @@ }, "property": { "type": "Identifier", - "start": 9769, - "end": 9781, + "start": 9723, + "end": 9735, "loc": { "start": { "line": 219, @@ -10538,16 +10475,16 @@ "line": 219, "column": 66 }, - "identifierName": "excludeTypes" + "identifierName": "includeTypes" }, - "name": "excludeTypes" + "name": "includeTypes" }, "computed": false }, { "type": "Identifier", - "start": 9783, - "end": 9795, + "start": 9737, + "end": 9749, "loc": { "start": { "line": 219, @@ -10557,6 +10494,155 @@ "line": 219, "column": 80 }, + "identifierName": "includeTypes" + }, + "name": "includeTypes" + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 9760, + "end": 9834, + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 82 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9760, + "end": 9833, + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 81 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 9760, + "end": 9772, + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 20 + }, + "identifierName": "excludeTypes" + }, + "name": "excludeTypes" + }, + "right": { + "type": "CallExpression", + "start": 9775, + "end": 9833, + "loc": { + "start": { + "line": 220, + "column": 23 + }, + "end": { + "line": 220, + "column": 81 + } + }, + "callee": { + "type": "Identifier", + "start": 9775, + "end": 9789, + "loc": { + "start": { + "line": 220, + "column": 23 + }, + "end": { + "line": 220, + "column": 37 + }, + "identifierName": "overrideOption" + }, + "name": "overrideOption" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9790, + "end": 9818, + "loc": { + "start": { + "line": 220, + "column": 38 + }, + "end": { + "line": 220, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 9790, + "end": 9805, + "loc": { + "start": { + "line": 220, + "column": 38 + }, + "end": { + "line": 220, + "column": 53 + }, + "identifierName": "fileTypeConfigs" + }, + "name": "fileTypeConfigs" + }, + "property": { + "type": "Identifier", + "start": 9806, + "end": 9818, + "loc": { + "start": { + "line": 220, + "column": 54 + }, + "end": { + "line": 220, + "column": 66 + }, + "identifierName": "excludeTypes" + }, + "name": "excludeTypes" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 9820, + "end": 9832, + "loc": { + "start": { + "line": 220, + "column": 68 + }, + "end": { + "line": 220, + "column": 80 + }, "identifierName": "excludeTypes" }, "name": "excludeTypes" @@ -10567,43 +10653,43 @@ }, { "type": "IfStatement", - "start": 9807, - "end": 9896, + "start": 9844, + "end": 9933, "loc": { "start": { - "line": 221, + "line": 222, "column": 8 }, "end": { - "line": 223, + "line": 224, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9811, - "end": 9836, + "start": 9848, + "end": 9873, "loc": { "start": { - "line": 221, + "line": 222, "column": 12 }, "end": { - "line": 221, + "line": 222, "column": 37 } }, "left": { "type": "Identifier", - "start": 9811, - "end": 9826, + "start": 9848, + "end": 9863, "loc": { "start": { - "line": 221, + "line": 222, "column": 12 }, "end": { - "line": 221, + "line": 222, "column": 27 }, "identifierName": "reuseGeometries" @@ -10613,15 +10699,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9831, - "end": 9836, + "start": 9868, + "end": 9873, "loc": { "start": { - "line": 221, + "line": 222, "column": 32 }, "end": { - "line": 221, + "line": 222, "column": 37 } }, @@ -10630,58 +10716,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 9838, - "end": 9896, + "start": 9875, + "end": 9933, "loc": { "start": { - "line": 221, + "line": 222, "column": 39 }, "end": { - "line": 223, + "line": 224, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9852, - "end": 9886, + "start": 9889, + "end": 9923, "loc": { "start": { - "line": 222, + "line": 223, "column": 12 }, "end": { - "line": 222, + "line": 223, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 9852, - "end": 9885, + "start": 9889, + "end": 9922, "loc": { "start": { - "line": 222, + "line": 223, "column": 12 }, "end": { - "line": 222, + "line": 223, "column": 45 } }, "callee": { "type": "Identifier", - "start": 9852, - "end": 9855, + "start": 9889, + "end": 9892, "loc": { "start": { - "line": 222, + "line": 223, "column": 12 }, "end": { - "line": 222, + "line": 223, "column": 15 }, "identifierName": "log" @@ -10691,15 +10777,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9856, - "end": 9884, + "start": 9893, + "end": 9921, "loc": { "start": { - "line": 222, + "line": 223, "column": 16 }, "end": { - "line": 222, + "line": 223, "column": 44 } }, @@ -10719,44 +10805,44 @@ }, { "type": "VariableDeclaration", - "start": 9906, - "end": 9996, + "start": 9943, + "end": 10033, "loc": { "start": { - "line": 225, + "line": 226, "column": 8 }, "end": { - "line": 228, + "line": 229, "column": 11 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9912, - "end": 9995, + "start": 9949, + "end": 10032, "loc": { "start": { - "line": 225, + "line": 226, "column": 14 }, "end": { - "line": 228, + "line": 229, "column": 10 } }, "id": { "type": "Identifier", - "start": 9912, - "end": 9920, + "start": 9949, + "end": 9957, "loc": { "start": { - "line": 225, + "line": 226, "column": 14 }, "end": { - "line": 225, + "line": 226, "column": 22 }, "identifierName": "xktModel" @@ -10765,29 +10851,29 @@ }, "init": { "type": "NewExpression", - "start": 9923, - "end": 9995, + "start": 9960, + "end": 10032, "loc": { "start": { - "line": 225, + "line": 226, "column": 25 }, "end": { - "line": 228, + "line": 229, "column": 10 } }, "callee": { "type": "Identifier", - "start": 9927, - "end": 9935, + "start": 9964, + "end": 9972, "loc": { "start": { - "line": 225, + "line": 226, "column": 29 }, "end": { - "line": 225, + "line": 226, "column": 37 }, "identifierName": "XKTModel" @@ -10797,30 +10883,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 9936, - "end": 9994, + "start": 9973, + "end": 10031, "loc": { "start": { - "line": 225, + "line": 226, "column": 38 }, "end": { - "line": 228, + "line": 229, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 9950, - "end": 9961, + "start": 9987, + "end": 9998, "loc": { "start": { - "line": 226, + "line": 227, "column": 12 }, "end": { - "line": 226, + "line": 227, "column": 23 } }, @@ -10829,15 +10915,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9950, - "end": 9961, + "start": 9987, + "end": 9998, "loc": { "start": { - "line": 226, + "line": 227, "column": 12 }, "end": { - "line": 226, + "line": 227, "column": 23 }, "identifierName": "minTileSize" @@ -10846,15 +10932,15 @@ }, "value": { "type": "Identifier", - "start": 9950, - "end": 9961, + "start": 9987, + "end": 9998, "loc": { "start": { - "line": 226, + "line": 227, "column": 12 }, "end": { - "line": 226, + "line": 227, "column": 23 }, "identifierName": "minTileSize" @@ -10867,15 +10953,15 @@ }, { "type": "ObjectProperty", - "start": 9975, - "end": 9984, + "start": 10012, + "end": 10021, "loc": { "start": { - "line": 227, + "line": 228, "column": 12 }, "end": { - "line": 227, + "line": 228, "column": 21 } }, @@ -10884,15 +10970,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9975, - "end": 9984, + "start": 10012, + "end": 10021, "loc": { "start": { - "line": 227, + "line": 228, "column": 12 }, "end": { - "line": 227, + "line": 228, "column": 21 }, "identifierName": "modelAABB" @@ -10901,15 +10987,15 @@ }, "value": { "type": "Identifier", - "start": 9975, - "end": 9984, + "start": 10012, + "end": 10021, "loc": { "start": { - "line": 227, + "line": 228, "column": 12 }, "end": { - "line": 227, + "line": 228, "column": 21 }, "identifierName": "modelAABB" @@ -10930,29 +11016,29 @@ }, { "type": "SwitchStatement", - "start": 10006, - "end": 14694, + "start": 10043, + "end": 14731, "loc": { "start": { - "line": 230, + "line": 231, "column": 8 }, "end": { - "line": 367, + "line": 368, "column": 9 } }, "discriminant": { "type": "Identifier", - "start": 10014, - "end": 10017, + "start": 10051, + "end": 10054, "loc": { "start": { - "line": 230, + "line": 231, "column": 16 }, "end": { - "line": 230, + "line": 231, "column": 19 }, "identifierName": "ext" @@ -10962,58 +11048,58 @@ "cases": [ { "type": "SwitchCase", - "start": 10033, - "end": 10411, + "start": 10070, + "end": 10448, "loc": { "start": { - "line": 231, + "line": 232, "column": 12 }, "end": { - "line": 241, + "line": 242, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 10062, - "end": 10388, + "start": 10099, + "end": 10425, "loc": { "start": { - "line": 232, + "line": 233, "column": 16 }, "end": { - "line": 240, + "line": 241, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 10062, - "end": 10387, + "start": 10099, + "end": 10424, "loc": { "start": { - "line": 232, + "line": 233, "column": 16 }, "end": { - "line": 240, + "line": 241, "column": 18 } }, "callee": { "type": "Identifier", - "start": 10062, - "end": 10069, + "start": 10099, + "end": 10106, "loc": { "start": { - "line": 232, + "line": 233, "column": 16 }, "end": { - "line": 232, + "line": 233, "column": 23 }, "identifierName": "convert" @@ -11023,15 +11109,15 @@ "arguments": [ { "type": "Identifier", - "start": 10070, - "end": 10095, + "start": 10107, + "end": 10132, "loc": { "start": { - "line": 232, + "line": 233, "column": 24 }, "end": { - "line": 232, + "line": 233, "column": 49 }, "identifierName": "parseCityJSONIntoXKTModel" @@ -11040,30 +11126,30 @@ }, { "type": "ObjectExpression", - "start": 10097, - "end": 10386, + "start": 10134, + "end": 10423, "loc": { "start": { - "line": 232, + "line": 233, "column": 51 }, "end": { - "line": 240, + "line": 241, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 10119, - "end": 10147, + "start": 10156, + "end": 10184, "loc": { "start": { - "line": 233, + "line": 234, "column": 20 }, "end": { - "line": 233, + "line": 234, "column": 48 } }, @@ -11072,15 +11158,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10119, - "end": 10123, + "start": 10156, + "end": 10160, "loc": { "start": { - "line": 233, + "line": 234, "column": 20 }, "end": { - "line": 233, + "line": 234, "column": 24 }, "identifierName": "data" @@ -11089,43 +11175,43 @@ }, "value": { "type": "CallExpression", - "start": 10125, - "end": 10147, + "start": 10162, + "end": 10184, "loc": { "start": { - "line": 233, + "line": 234, "column": 26 }, "end": { - "line": 233, + "line": 234, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 10125, - "end": 10135, + "start": 10162, + "end": 10172, "loc": { "start": { - "line": 233, + "line": 234, "column": 26 }, "end": { - "line": 233, + "line": 234, "column": 36 } }, "object": { "type": "Identifier", - "start": 10125, - "end": 10129, + "start": 10162, + "end": 10166, "loc": { "start": { - "line": 233, + "line": 234, "column": 26 }, "end": { - "line": 233, + "line": 234, "column": 30 }, "identifierName": "JSON" @@ -11134,15 +11220,15 @@ }, "property": { "type": "Identifier", - "start": 10130, - "end": 10135, + "start": 10167, + "end": 10172, "loc": { "start": { - "line": 233, + "line": 234, "column": 31 }, "end": { - "line": 233, + "line": 234, "column": 36 }, "identifierName": "parse" @@ -11154,15 +11240,15 @@ "arguments": [ { "type": "Identifier", - "start": 10136, - "end": 10146, + "start": 10173, + "end": 10183, "loc": { "start": { - "line": 233, + "line": 234, "column": 37 }, "end": { - "line": 233, + "line": 234, "column": 47 }, "identifierName": "sourceData" @@ -11174,15 +11260,15 @@ }, { "type": "ObjectProperty", - "start": 10169, - "end": 10177, + "start": 10206, + "end": 10214, "loc": { "start": { - "line": 234, + "line": 235, "column": 20 }, "end": { - "line": 234, + "line": 235, "column": 28 } }, @@ -11191,15 +11277,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10169, - "end": 10177, + "start": 10206, + "end": 10214, "loc": { "start": { - "line": 234, + "line": 235, "column": 20 }, "end": { - "line": 234, + "line": 235, "column": 28 }, "identifierName": "xktModel" @@ -11208,15 +11294,15 @@ }, "value": { "type": "Identifier", - "start": 10169, - "end": 10177, + "start": 10206, + "end": 10214, "loc": { "start": { - "line": 234, + "line": 235, "column": 20 }, "end": { - "line": 234, + "line": 235, "column": 28 }, "identifierName": "xktModel" @@ -11229,15 +11315,15 @@ }, { "type": "ObjectProperty", - "start": 10199, - "end": 10204, + "start": 10236, + "end": 10241, "loc": { "start": { - "line": 235, + "line": 236, "column": 20 }, "end": { - "line": 235, + "line": 236, "column": 25 } }, @@ -11246,15 +11332,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10199, - "end": 10204, + "start": 10236, + "end": 10241, "loc": { "start": { - "line": 235, + "line": 236, "column": 20 }, "end": { - "line": 235, + "line": 236, "column": 25 }, "identifierName": "stats" @@ -11263,15 +11349,15 @@ }, "value": { "type": "Identifier", - "start": 10199, - "end": 10204, + "start": 10236, + "end": 10241, "loc": { "start": { - "line": 235, + "line": 236, "column": 20 }, "end": { - "line": 235, + "line": 236, "column": 25 }, "identifierName": "stats" @@ -11284,15 +11370,15 @@ }, { "type": "ObjectProperty", - "start": 10226, - "end": 10233, + "start": 10263, + "end": 10270, "loc": { "start": { - "line": 236, + "line": 237, "column": 20 }, "end": { - "line": 236, + "line": 237, "column": 27 } }, @@ -11301,15 +11387,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10226, - "end": 10233, + "start": 10263, + "end": 10270, "loc": { "start": { - "line": 236, + "line": 237, "column": 20 }, "end": { - "line": 236, + "line": 237, "column": 27 }, "identifierName": "rotateX" @@ -11318,15 +11404,15 @@ }, "value": { "type": "Identifier", - "start": 10226, - "end": 10233, + "start": 10263, + "end": 10270, "loc": { "start": { - "line": 236, + "line": 237, "column": 20 }, "end": { - "line": 236, + "line": 237, "column": 27 }, "identifierName": "rotateX" @@ -11339,15 +11425,15 @@ }, { "type": "ObjectProperty", - "start": 10255, - "end": 10285, + "start": 10292, + "end": 10322, "loc": { "start": { - "line": 237, + "line": 238, "column": 20 }, "end": { - "line": 237, + "line": 238, "column": 50 } }, @@ -11356,15 +11442,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10255, - "end": 10261, + "start": 10292, + "end": 10298, "loc": { "start": { - "line": 237, + "line": 238, "column": 20 }, "end": { - "line": 237, + "line": 238, "column": 26 }, "identifierName": "center" @@ -11373,29 +11459,29 @@ }, "value": { "type": "MemberExpression", - "start": 10263, - "end": 10285, + "start": 10300, + "end": 10322, "loc": { "start": { - "line": 237, + "line": 238, "column": 28 }, "end": { - "line": 237, + "line": 238, "column": 50 } }, "object": { "type": "Identifier", - "start": 10263, - "end": 10278, + "start": 10300, + "end": 10315, "loc": { "start": { - "line": 237, + "line": 238, "column": 28 }, "end": { - "line": 237, + "line": 238, "column": 43 }, "identifierName": "fileTypeConfigs" @@ -11404,15 +11490,15 @@ }, "property": { "type": "Identifier", - "start": 10279, - "end": 10285, + "start": 10316, + "end": 10322, "loc": { "start": { - "line": 237, + "line": 238, "column": 44 }, "end": { - "line": 237, + "line": 238, "column": 50 }, "identifierName": "center" @@ -11424,15 +11510,15 @@ }, { "type": "ObjectProperty", - "start": 10307, - "end": 10343, + "start": 10344, + "end": 10380, "loc": { "start": { - "line": 238, + "line": 239, "column": 20 }, "end": { - "line": 238, + "line": 239, "column": 56 } }, @@ -11441,15 +11527,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10307, - "end": 10316, + "start": 10344, + "end": 10353, "loc": { "start": { - "line": 238, + "line": 239, "column": 20 }, "end": { - "line": 238, + "line": 239, "column": 29 }, "identifierName": "transform" @@ -11458,29 +11544,29 @@ }, "value": { "type": "MemberExpression", - "start": 10318, - "end": 10343, + "start": 10355, + "end": 10380, "loc": { "start": { - "line": 238, + "line": 239, "column": 31 }, "end": { - "line": 238, + "line": 239, "column": 56 } }, "object": { "type": "Identifier", - "start": 10318, - "end": 10333, + "start": 10355, + "end": 10370, "loc": { "start": { - "line": 238, + "line": 239, "column": 31 }, "end": { - "line": 238, + "line": 239, "column": 46 }, "identifierName": "fileTypeConfigs" @@ -11489,15 +11575,15 @@ }, "property": { "type": "Identifier", - "start": 10334, - "end": 10343, + "start": 10371, + "end": 10380, "loc": { "start": { - "line": 238, + "line": 239, "column": 47 }, "end": { - "line": 238, + "line": 239, "column": 56 }, "identifierName": "transform" @@ -11509,15 +11595,15 @@ }, { "type": "ObjectProperty", - "start": 10365, - "end": 10368, + "start": 10402, + "end": 10405, "loc": { "start": { - "line": 239, + "line": 240, "column": 20 }, "end": { - "line": 239, + "line": 240, "column": 23 } }, @@ -11526,15 +11612,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10365, - "end": 10368, + "start": 10402, + "end": 10405, "loc": { "start": { - "line": 239, + "line": 240, "column": 20 }, "end": { - "line": 239, + "line": 240, "column": 23 }, "identifierName": "log" @@ -11543,15 +11629,15 @@ }, "value": { "type": "Identifier", - "start": 10365, - "end": 10368, + "start": 10402, + "end": 10405, "loc": { "start": { - "line": 239, + "line": 240, "column": 20 }, "end": { - "line": 239, + "line": 240, "column": 23 }, "identifierName": "log" @@ -11569,15 +11655,15 @@ }, { "type": "BreakStatement", - "start": 10405, - "end": 10411, + "start": 10442, + "end": 10448, "loc": { "start": { - "line": 241, + "line": 242, "column": 16 }, "end": { - "line": 241, + "line": 242, "column": 22 } }, @@ -11586,15 +11672,15 @@ ], "test": { "type": "StringLiteral", - "start": 10038, - "end": 10044, + "start": 10075, + "end": 10081, "loc": { "start": { - "line": 231, + "line": 232, "column": 17 }, "end": { - "line": 231, + "line": 232, "column": 23 } }, @@ -11607,59 +11693,59 @@ }, { "type": "SwitchCase", - "start": 10425, - "end": 10869, + "start": 10462, + "end": 10906, "loc": { "start": { - "line": 243, + "line": 244, "column": 12 }, "end": { - "line": 255, + "line": 256, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 10453, - "end": 10492, + "start": 10490, + "end": 10529, "loc": { "start": { - "line": 244, + "line": 245, "column": 16 }, "end": { - "line": 244, + "line": 245, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 10453, - "end": 10491, + "start": 10490, + "end": 10528, "loc": { "start": { - "line": 244, + "line": 245, "column": 16 }, "end": { - "line": 244, + "line": 245, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10453, - "end": 10463, + "start": 10490, + "end": 10500, "loc": { "start": { - "line": 244, + "line": 245, "column": 16 }, "end": { - "line": 244, + "line": 245, "column": 26 }, "identifierName": "sourceData" @@ -11668,29 +11754,29 @@ }, "right": { "type": "CallExpression", - "start": 10466, - "end": 10491, + "start": 10503, + "end": 10528, "loc": { "start": { - "line": 244, + "line": 245, "column": 29 }, "end": { - "line": 244, + "line": 245, "column": 54 } }, "callee": { "type": "Identifier", - "start": 10466, - "end": 10479, + "start": 10503, + "end": 10516, "loc": { "start": { - "line": 244, + "line": 245, "column": 29 }, "end": { - "line": 244, + "line": 245, "column": 42 }, "identifierName": "toArrayBuffer" @@ -11700,15 +11786,15 @@ "arguments": [ { "type": "Identifier", - "start": 10480, - "end": 10490, + "start": 10517, + "end": 10527, "loc": { "start": { - "line": 244, + "line": 245, "column": 43 }, "end": { - "line": 244, + "line": 245, "column": 53 }, "identifierName": "sourceData" @@ -11721,43 +11807,43 @@ }, { "type": "ExpressionStatement", - "start": 10509, - "end": 10846, + "start": 10546, + "end": 10883, "loc": { "start": { - "line": 245, + "line": 246, "column": 16 }, "end": { - "line": 254, + "line": 255, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 10509, - "end": 10845, + "start": 10546, + "end": 10882, "loc": { "start": { - "line": 245, + "line": 246, "column": 16 }, "end": { - "line": 254, + "line": 255, "column": 18 } }, "callee": { "type": "Identifier", - "start": 10509, - "end": 10516, + "start": 10546, + "end": 10553, "loc": { "start": { - "line": 245, + "line": 246, "column": 16 }, "end": { - "line": 245, + "line": 246, "column": 23 }, "identifierName": "convert" @@ -11767,15 +11853,15 @@ "arguments": [ { "type": "Identifier", - "start": 10517, - "end": 10538, + "start": 10554, + "end": 10575, "loc": { "start": { - "line": 245, + "line": 246, "column": 24 }, "end": { - "line": 245, + "line": 246, "column": 45 }, "identifierName": "parseGLTFIntoXKTModel" @@ -11784,30 +11870,30 @@ }, { "type": "ObjectExpression", - "start": 10540, - "end": 10844, + "start": 10577, + "end": 10881, "loc": { "start": { - "line": 245, + "line": 246, "column": 47 }, "end": { - "line": 254, + "line": 255, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 10562, - "end": 10578, + "start": 10599, + "end": 10615, "loc": { "start": { - "line": 246, + "line": 247, "column": 20 }, "end": { - "line": 246, + "line": 247, "column": 36 } }, @@ -11816,15 +11902,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10562, - "end": 10566, + "start": 10599, + "end": 10603, "loc": { "start": { - "line": 246, + "line": 247, "column": 20 }, "end": { - "line": 246, + "line": 247, "column": 24 }, "identifierName": "data" @@ -11833,15 +11919,15 @@ }, "value": { "type": "Identifier", - "start": 10568, - "end": 10578, + "start": 10605, + "end": 10615, "loc": { "start": { - "line": 246, + "line": 247, "column": 26 }, "end": { - "line": 246, + "line": 247, "column": 36 }, "identifierName": "sourceData" @@ -11851,15 +11937,15 @@ }, { "type": "ObjectProperty", - "start": 10600, - "end": 10615, + "start": 10637, + "end": 10652, "loc": { "start": { - "line": 247, + "line": 248, "column": 20 }, "end": { - "line": 247, + "line": 248, "column": 35 } }, @@ -11868,15 +11954,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10600, - "end": 10615, + "start": 10637, + "end": 10652, "loc": { "start": { - "line": 247, + "line": 248, "column": 20 }, "end": { - "line": 247, + "line": 248, "column": 35 }, "identifierName": "reuseGeometries" @@ -11885,15 +11971,15 @@ }, "value": { "type": "Identifier", - "start": 10600, - "end": 10615, + "start": 10637, + "end": 10652, "loc": { "start": { - "line": 247, + "line": 248, "column": 20 }, "end": { - "line": 247, + "line": 248, "column": 35 }, "identifierName": "reuseGeometries" @@ -11906,15 +11992,15 @@ }, { "type": "ObjectProperty", - "start": 10637, - "end": 10658, + "start": 10674, + "end": 10695, "loc": { "start": { - "line": 248, + "line": 249, "column": 20 }, "end": { - "line": 248, + "line": 249, "column": 41 } }, @@ -11923,15 +12009,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10637, - "end": 10652, + "start": 10674, + "end": 10689, "loc": { "start": { - "line": 248, + "line": 249, "column": 20 }, "end": { - "line": 248, + "line": 249, "column": 35 }, "identifierName": "includeTextures" @@ -11940,15 +12026,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 10654, - "end": 10658, + "start": 10691, + "end": 10695, "loc": { "start": { - "line": 248, + "line": 249, "column": 37 }, "end": { - "line": 248, + "line": 249, "column": 41 } }, @@ -11957,15 +12043,15 @@ }, { "type": "ObjectProperty", - "start": 10680, - "end": 10694, + "start": 10717, + "end": 10731, "loc": { "start": { - "line": 249, + "line": 250, "column": 20 }, "end": { - "line": 249, + "line": 250, "column": 34 } }, @@ -11974,15 +12060,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10680, - "end": 10694, + "start": 10717, + "end": 10731, "loc": { "start": { - "line": 249, + "line": 250, "column": 20 }, "end": { - "line": 249, + "line": 250, "column": 34 }, "identifierName": "includeNormals" @@ -11991,15 +12077,15 @@ }, "value": { "type": "Identifier", - "start": 10680, - "end": 10694, + "start": 10717, + "end": 10731, "loc": { "start": { - "line": 249, + "line": 250, "column": 20 }, "end": { - "line": 249, + "line": 250, "column": 34 }, "identifierName": "includeNormals" @@ -12012,15 +12098,15 @@ }, { "type": "ObjectProperty", - "start": 10716, - "end": 10744, + "start": 10753, + "end": 10781, "loc": { "start": { - "line": 250, + "line": 251, "column": 20 }, "end": { - "line": 250, + "line": 251, "column": 48 } }, @@ -12029,15 +12115,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10716, - "end": 10729, + "start": 10753, + "end": 10766, "loc": { "start": { - "line": 250, + "line": 251, "column": 20 }, "end": { - "line": 250, + "line": 251, "column": 33 }, "identifierName": "metaModelData" @@ -12046,15 +12132,15 @@ }, "value": { "type": "Identifier", - "start": 10731, - "end": 10744, + "start": 10768, + "end": 10781, "loc": { "start": { - "line": 250, + "line": 251, "column": 35 }, "end": { - "line": 250, + "line": 251, "column": 48 }, "identifierName": "metaModelJSON" @@ -12064,15 +12150,15 @@ }, { "type": "ObjectProperty", - "start": 10766, - "end": 10774, + "start": 10803, + "end": 10811, "loc": { "start": { - "line": 251, + "line": 252, "column": 20 }, "end": { - "line": 251, + "line": 252, "column": 28 } }, @@ -12081,15 +12167,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10766, - "end": 10774, + "start": 10803, + "end": 10811, "loc": { "start": { - "line": 251, + "line": 252, "column": 20 }, "end": { - "line": 251, + "line": 252, "column": 28 }, "identifierName": "xktModel" @@ -12098,15 +12184,15 @@ }, "value": { "type": "Identifier", - "start": 10766, - "end": 10774, + "start": 10803, + "end": 10811, "loc": { "start": { - "line": 251, + "line": 252, "column": 20 }, "end": { - "line": 251, + "line": 252, "column": 28 }, "identifierName": "xktModel" @@ -12119,15 +12205,15 @@ }, { "type": "ObjectProperty", - "start": 10796, - "end": 10801, + "start": 10833, + "end": 10838, "loc": { "start": { - "line": 252, + "line": 253, "column": 20 }, "end": { - "line": 252, + "line": 253, "column": 25 } }, @@ -12136,15 +12222,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10796, - "end": 10801, + "start": 10833, + "end": 10838, "loc": { "start": { - "line": 252, + "line": 253, "column": 20 }, "end": { - "line": 252, + "line": 253, "column": 25 }, "identifierName": "stats" @@ -12153,15 +12239,15 @@ }, "value": { "type": "Identifier", - "start": 10796, - "end": 10801, + "start": 10833, + "end": 10838, "loc": { "start": { - "line": 252, + "line": 253, "column": 20 }, "end": { - "line": 252, + "line": 253, "column": 25 }, "identifierName": "stats" @@ -12174,15 +12260,15 @@ }, { "type": "ObjectProperty", - "start": 10823, - "end": 10826, + "start": 10860, + "end": 10863, "loc": { "start": { - "line": 253, + "line": 254, "column": 20 }, "end": { - "line": 253, + "line": 254, "column": 23 } }, @@ -12191,15 +12277,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10823, - "end": 10826, + "start": 10860, + "end": 10863, "loc": { "start": { - "line": 253, + "line": 254, "column": 20 }, "end": { - "line": 253, + "line": 254, "column": 23 }, "identifierName": "log" @@ -12208,15 +12294,15 @@ }, "value": { "type": "Identifier", - "start": 10823, - "end": 10826, + "start": 10860, + "end": 10863, "loc": { "start": { - "line": 253, + "line": 254, "column": 20 }, "end": { - "line": 253, + "line": 254, "column": 23 }, "identifierName": "log" @@ -12234,15 +12320,15 @@ }, { "type": "BreakStatement", - "start": 10863, - "end": 10869, + "start": 10900, + "end": 10906, "loc": { "start": { - "line": 255, + "line": 256, "column": 16 }, "end": { - "line": 255, + "line": 256, "column": 22 } }, @@ -12251,15 +12337,15 @@ ], "test": { "type": "StringLiteral", - "start": 10430, - "end": 10435, + "start": 10467, + "end": 10472, "loc": { "start": { - "line": 243, + "line": 244, "column": 17 }, "end": { - "line": 243, + "line": 244, "column": 22 } }, @@ -12272,59 +12358,59 @@ }, { "type": "SwitchCase", - "start": 10883, - "end": 11444, + "start": 10920, + "end": 11481, "loc": { "start": { - "line": 257, + "line": 258, "column": 12 }, "end": { - "line": 271, + "line": 272, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 10912, - "end": 10951, + "start": 10949, + "end": 10988, "loc": { "start": { - "line": 258, + "line": 259, "column": 16 }, "end": { - "line": 258, + "line": 259, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 10912, - "end": 10950, + "start": 10949, + "end": 10987, "loc": { "start": { - "line": 258, + "line": 259, "column": 16 }, "end": { - "line": 258, + "line": 259, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10912, - "end": 10922, + "start": 10949, + "end": 10959, "loc": { "start": { - "line": 258, + "line": 259, "column": 16 }, "end": { - "line": 258, + "line": 259, "column": 26 }, "identifierName": "sourceData" @@ -12333,29 +12419,29 @@ }, "right": { "type": "CallExpression", - "start": 10925, - "end": 10950, + "start": 10962, + "end": 10987, "loc": { "start": { - "line": 258, + "line": 259, "column": 29 }, "end": { - "line": 258, + "line": 259, "column": 54 } }, "callee": { "type": "Identifier", - "start": 10925, - "end": 10938, + "start": 10962, + "end": 10975, "loc": { "start": { - "line": 258, + "line": 259, "column": 29 }, "end": { - "line": 258, + "line": 259, "column": 42 }, "identifierName": "toArrayBuffer" @@ -12365,15 +12451,15 @@ "arguments": [ { "type": "Identifier", - "start": 10939, - "end": 10949, + "start": 10976, + "end": 10986, "loc": { "start": { - "line": 258, + "line": 259, "column": 43 }, "end": { - "line": 258, + "line": 259, "column": 53 }, "identifierName": "sourceData" @@ -12386,44 +12472,44 @@ }, { "type": "VariableDeclaration", - "start": 10968, - "end": 11024, + "start": 11005, + "end": 11061, "loc": { "start": { - "line": 259, + "line": 260, "column": 16 }, "end": { - "line": 259, + "line": 260, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10974, - "end": 11023, + "start": 11011, + "end": 11060, "loc": { "start": { - "line": 259, + "line": 260, "column": 22 }, "end": { - "line": 259, + "line": 260, "column": 71 } }, "id": { "type": "Identifier", - "start": 10974, - "end": 10986, + "start": 11011, + "end": 11023, "loc": { "start": { - "line": 259, + "line": 260, "column": 22 }, "end": { - "line": 259, + "line": 260, "column": 34 }, "identifierName": "gltfBasePath" @@ -12432,29 +12518,29 @@ }, "init": { "type": "ConditionalExpression", - "start": 10989, - "end": 11023, + "start": 11026, + "end": 11060, "loc": { "start": { - "line": 259, + "line": 260, "column": 37 }, "end": { - "line": 259, + "line": 260, "column": 71 } }, "test": { "type": "Identifier", - "start": 10989, - "end": 10995, + "start": 11026, + "end": 11032, "loc": { "start": { - "line": 259, + "line": 260, "column": 37 }, "end": { - "line": 259, + "line": 260, "column": 43 }, "identifierName": "source" @@ -12463,43 +12549,43 @@ }, "consequent": { "type": "CallExpression", - "start": 10998, - "end": 11018, + "start": 11035, + "end": 11055, "loc": { "start": { - "line": 259, + "line": 260, "column": 46 }, "end": { - "line": 259, + "line": 260, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 10998, - "end": 11010, + "start": 11035, + "end": 11047, "loc": { "start": { - "line": 259, + "line": 260, "column": 46 }, "end": { - "line": 259, + "line": 260, "column": 58 } }, "object": { "type": "Identifier", - "start": 10998, - "end": 11002, + "start": 11035, + "end": 11039, "loc": { "start": { - "line": 259, + "line": 260, "column": 46 }, "end": { - "line": 259, + "line": 260, "column": 50 }, "identifierName": "path" @@ -12508,15 +12594,15 @@ }, "property": { "type": "Identifier", - "start": 11003, - "end": 11010, + "start": 11040, + "end": 11047, "loc": { "start": { - "line": 259, + "line": 260, "column": 51 }, "end": { - "line": 259, + "line": 260, "column": 58 }, "identifierName": "dirname" @@ -12528,15 +12614,15 @@ "arguments": [ { "type": "Identifier", - "start": 11011, - "end": 11017, + "start": 11048, + "end": 11054, "loc": { "start": { - "line": 259, + "line": 260, "column": 59 }, "end": { - "line": 259, + "line": 260, "column": 65 }, "identifierName": "source" @@ -12547,15 +12633,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 11021, - "end": 11023, + "start": 11058, + "end": 11060, "loc": { "start": { - "line": 259, + "line": 260, "column": 69 }, "end": { - "line": 259, + "line": 260, "column": 71 } }, @@ -12572,43 +12658,43 @@ }, { "type": "ExpressionStatement", - "start": 11041, - "end": 11421, + "start": 11078, + "end": 11458, "loc": { "start": { - "line": 260, + "line": 261, "column": 16 }, "end": { - "line": 270, + "line": 271, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 11041, - "end": 11420, + "start": 11078, + "end": 11457, "loc": { "start": { - "line": 260, + "line": 261, "column": 16 }, "end": { - "line": 270, + "line": 271, "column": 18 } }, "callee": { "type": "Identifier", - "start": 11041, - "end": 11048, + "start": 11078, + "end": 11085, "loc": { "start": { - "line": 260, + "line": 261, "column": 16 }, "end": { - "line": 260, + "line": 261, "column": 23 }, "identifierName": "convert" @@ -12618,15 +12704,15 @@ "arguments": [ { "type": "Identifier", - "start": 11049, - "end": 11070, + "start": 11086, + "end": 11107, "loc": { "start": { - "line": 260, + "line": 261, "column": 24 }, "end": { - "line": 260, + "line": 261, "column": 45 }, "identifierName": "parseGLTFIntoXKTModel" @@ -12635,30 +12721,30 @@ }, { "type": "ObjectExpression", - "start": 11072, - "end": 11419, + "start": 11109, + "end": 11456, "loc": { "start": { - "line": 260, + "line": 261, "column": 47 }, "end": { - "line": 270, + "line": 271, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 11094, - "end": 11115, + "start": 11131, + "end": 11152, "loc": { "start": { - "line": 261, + "line": 262, "column": 20 }, "end": { - "line": 261, + "line": 262, "column": 41 } }, @@ -12667,15 +12753,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11094, - "end": 11101, + "start": 11131, + "end": 11138, "loc": { "start": { - "line": 261, + "line": 262, "column": 20 }, "end": { - "line": 261, + "line": 262, "column": 27 }, "identifierName": "baseUri" @@ -12684,15 +12770,15 @@ }, "value": { "type": "Identifier", - "start": 11103, - "end": 11115, + "start": 11140, + "end": 11152, "loc": { "start": { - "line": 261, + "line": 262, "column": 29 }, "end": { - "line": 261, + "line": 262, "column": 41 }, "identifierName": "gltfBasePath" @@ -12702,15 +12788,15 @@ }, { "type": "ObjectProperty", - "start": 11137, - "end": 11153, + "start": 11174, + "end": 11190, "loc": { "start": { - "line": 262, + "line": 263, "column": 20 }, "end": { - "line": 262, + "line": 263, "column": 36 } }, @@ -12719,15 +12805,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11137, - "end": 11141, + "start": 11174, + "end": 11178, "loc": { "start": { - "line": 262, + "line": 263, "column": 20 }, "end": { - "line": 262, + "line": 263, "column": 24 }, "identifierName": "data" @@ -12736,15 +12822,15 @@ }, "value": { "type": "Identifier", - "start": 11143, - "end": 11153, + "start": 11180, + "end": 11190, "loc": { "start": { - "line": 262, + "line": 263, "column": 26 }, "end": { - "line": 262, + "line": 263, "column": 36 }, "identifierName": "sourceData" @@ -12754,15 +12840,15 @@ }, { "type": "ObjectProperty", - "start": 11175, - "end": 11190, + "start": 11212, + "end": 11227, "loc": { "start": { - "line": 263, + "line": 264, "column": 20 }, "end": { - "line": 263, + "line": 264, "column": 35 } }, @@ -12771,15 +12857,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11175, - "end": 11190, + "start": 11212, + "end": 11227, "loc": { "start": { - "line": 263, + "line": 264, "column": 20 }, "end": { - "line": 263, + "line": 264, "column": 35 }, "identifierName": "reuseGeometries" @@ -12788,15 +12874,15 @@ }, "value": { "type": "Identifier", - "start": 11175, - "end": 11190, + "start": 11212, + "end": 11227, "loc": { "start": { - "line": 263, + "line": 264, "column": 20 }, "end": { - "line": 263, + "line": 264, "column": 35 }, "identifierName": "reuseGeometries" @@ -12809,15 +12895,15 @@ }, { "type": "ObjectProperty", - "start": 11212, - "end": 11233, + "start": 11249, + "end": 11270, "loc": { "start": { - "line": 264, + "line": 265, "column": 20 }, "end": { - "line": 264, + "line": 265, "column": 41 } }, @@ -12826,15 +12912,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11212, - "end": 11227, + "start": 11249, + "end": 11264, "loc": { "start": { - "line": 264, + "line": 265, "column": 20 }, "end": { - "line": 264, + "line": 265, "column": 35 }, "identifierName": "includeTextures" @@ -12843,15 +12929,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 11229, - "end": 11233, + "start": 11266, + "end": 11270, "loc": { "start": { - "line": 264, + "line": 265, "column": 37 }, "end": { - "line": 264, + "line": 265, "column": 41 } }, @@ -12860,15 +12946,15 @@ }, { "type": "ObjectProperty", - "start": 11255, - "end": 11269, + "start": 11292, + "end": 11306, "loc": { "start": { - "line": 265, + "line": 266, "column": 20 }, "end": { - "line": 265, + "line": 266, "column": 34 } }, @@ -12877,15 +12963,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11255, - "end": 11269, + "start": 11292, + "end": 11306, "loc": { "start": { - "line": 265, + "line": 266, "column": 20 }, "end": { - "line": 265, + "line": 266, "column": 34 }, "identifierName": "includeNormals" @@ -12894,15 +12980,15 @@ }, "value": { "type": "Identifier", - "start": 11255, - "end": 11269, + "start": 11292, + "end": 11306, "loc": { "start": { - "line": 265, + "line": 266, "column": 20 }, "end": { - "line": 265, + "line": 266, "column": 34 }, "identifierName": "includeNormals" @@ -12915,15 +13001,15 @@ }, { "type": "ObjectProperty", - "start": 11291, - "end": 11319, + "start": 11328, + "end": 11356, "loc": { "start": { - "line": 266, + "line": 267, "column": 20 }, "end": { - "line": 266, + "line": 267, "column": 48 } }, @@ -12932,15 +13018,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11291, - "end": 11304, + "start": 11328, + "end": 11341, "loc": { "start": { - "line": 266, + "line": 267, "column": 20 }, "end": { - "line": 266, + "line": 267, "column": 33 }, "identifierName": "metaModelData" @@ -12949,15 +13035,15 @@ }, "value": { "type": "Identifier", - "start": 11306, - "end": 11319, + "start": 11343, + "end": 11356, "loc": { "start": { - "line": 266, + "line": 267, "column": 35 }, "end": { - "line": 266, + "line": 267, "column": 48 }, "identifierName": "metaModelJSON" @@ -12967,15 +13053,15 @@ }, { "type": "ObjectProperty", - "start": 11341, - "end": 11349, + "start": 11378, + "end": 11386, "loc": { "start": { - "line": 267, + "line": 268, "column": 20 }, "end": { - "line": 267, + "line": 268, "column": 28 } }, @@ -12984,15 +13070,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11341, - "end": 11349, + "start": 11378, + "end": 11386, "loc": { "start": { - "line": 267, + "line": 268, "column": 20 }, "end": { - "line": 267, + "line": 268, "column": 28 }, "identifierName": "xktModel" @@ -13001,15 +13087,15 @@ }, "value": { "type": "Identifier", - "start": 11341, - "end": 11349, + "start": 11378, + "end": 11386, "loc": { "start": { - "line": 267, + "line": 268, "column": 20 }, "end": { - "line": 267, + "line": 268, "column": 28 }, "identifierName": "xktModel" @@ -13022,15 +13108,15 @@ }, { "type": "ObjectProperty", - "start": 11371, - "end": 11376, + "start": 11408, + "end": 11413, "loc": { "start": { - "line": 268, + "line": 269, "column": 20 }, "end": { - "line": 268, + "line": 269, "column": 25 } }, @@ -13039,15 +13125,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11371, - "end": 11376, + "start": 11408, + "end": 11413, "loc": { "start": { - "line": 268, + "line": 269, "column": 20 }, "end": { - "line": 268, + "line": 269, "column": 25 }, "identifierName": "stats" @@ -13056,15 +13142,15 @@ }, "value": { "type": "Identifier", - "start": 11371, - "end": 11376, + "start": 11408, + "end": 11413, "loc": { "start": { - "line": 268, + "line": 269, "column": 20 }, "end": { - "line": 268, + "line": 269, "column": 25 }, "identifierName": "stats" @@ -13077,15 +13163,15 @@ }, { "type": "ObjectProperty", - "start": 11398, - "end": 11401, + "start": 11435, + "end": 11438, "loc": { "start": { - "line": 269, + "line": 270, "column": 20 }, "end": { - "line": 269, + "line": 270, "column": 23 } }, @@ -13094,15 +13180,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11398, - "end": 11401, + "start": 11435, + "end": 11438, "loc": { "start": { - "line": 269, + "line": 270, "column": 20 }, "end": { - "line": 269, + "line": 270, "column": 23 }, "identifierName": "log" @@ -13111,15 +13197,15 @@ }, "value": { "type": "Identifier", - "start": 11398, - "end": 11401, + "start": 11435, + "end": 11438, "loc": { "start": { - "line": 269, + "line": 270, "column": 20 }, "end": { - "line": 269, + "line": 270, "column": 23 }, "identifierName": "log" @@ -13137,15 +13223,15 @@ }, { "type": "BreakStatement", - "start": 11438, - "end": 11444, + "start": 11475, + "end": 11481, "loc": { "start": { - "line": 271, + "line": 272, "column": 16 }, "end": { - "line": 271, + "line": 272, "column": 22 } }, @@ -13156,15 +13242,15 @@ ], "test": { "type": "StringLiteral", - "start": 10888, - "end": 10894, + "start": 10925, + "end": 10931, "loc": { "start": { - "line": 257, + "line": 258, "column": 17 }, "end": { - "line": 257, + "line": 258, "column": 23 } }, @@ -13178,15 +13264,15 @@ { "type": "CommentLine", "value": " case \"gltf\":", - "start": 11458, - "end": 11473, + "start": 11495, + "end": 11510, "loc": { "start": { - "line": 273, + "line": 274, "column": 12 }, "end": { - "line": 273, + "line": 274, "column": 27 } } @@ -13194,15 +13280,15 @@ { "type": "CommentLine", "value": " const gltfJSON = JSON.parse(sourceData);", - "start": 11486, - "end": 11533, + "start": 11523, + "end": 11570, "loc": { "start": { - "line": 274, + "line": 275, "column": 12 }, "end": { - "line": 274, + "line": 275, "column": 59 } } @@ -13210,15 +13296,15 @@ { "type": "CommentLine", "value": " const gltfBasePath = source ? getBasePath(source) : \"\";", - "start": 11546, - "end": 11608, + "start": 11583, + "end": 11645, "loc": { "start": { - "line": 275, + "line": 276, "column": 12 }, "end": { - "line": 275, + "line": 276, "column": 74 } } @@ -13226,15 +13312,15 @@ { "type": "CommentLine", "value": " convert(parseGLTFIntoXKTModel, {", - "start": 11621, - "end": 11660, + "start": 11658, + "end": 11697, "loc": { "start": { - "line": 276, + "line": 277, "column": 12 }, "end": { - "line": 276, + "line": 277, "column": 51 } } @@ -13242,15 +13328,15 @@ { "type": "CommentLine", "value": " baseUri: gltfBasePath,", - "start": 11673, - "end": 11706, + "start": 11710, + "end": 11743, "loc": { "start": { - "line": 277, + "line": 278, "column": 12 }, "end": { - "line": 277, + "line": 278, "column": 45 } } @@ -13258,15 +13344,15 @@ { "type": "CommentLine", "value": " data: gltfJSON,", - "start": 11719, - "end": 11745, + "start": 11756, + "end": 11782, "loc": { "start": { - "line": 278, + "line": 279, "column": 12 }, "end": { - "line": 278, + "line": 279, "column": 38 } } @@ -13274,15 +13360,15 @@ { "type": "CommentLine", "value": " reuseGeometries,", - "start": 11758, - "end": 11785, + "start": 11795, + "end": 11822, "loc": { "start": { - "line": 279, + "line": 280, "column": 12 }, "end": { - "line": 279, + "line": 280, "column": 39 } } @@ -13290,15 +13376,15 @@ { "type": "CommentLine", "value": " includeTextures,", - "start": 11798, - "end": 11825, + "start": 11835, + "end": 11862, "loc": { "start": { - "line": 280, + "line": 281, "column": 12 }, "end": { - "line": 280, + "line": 281, "column": 39 } } @@ -13306,15 +13392,15 @@ { "type": "CommentLine", "value": " includeNormals,", - "start": 11838, - "end": 11864, + "start": 11875, + "end": 11901, "loc": { "start": { - "line": 281, + "line": 282, "column": 12 }, "end": { - "line": 281, + "line": 282, "column": 38 } } @@ -13322,15 +13408,15 @@ { "type": "CommentLine", "value": " metaModelData: metaModelJSON,", - "start": 11877, - "end": 11917, + "start": 11914, + "end": 11954, "loc": { "start": { - "line": 282, + "line": 283, "column": 12 }, "end": { - "line": 282, + "line": 283, "column": 52 } } @@ -13338,15 +13424,15 @@ { "type": "CommentLine", "value": " xktModel,", - "start": 11930, - "end": 11950, + "start": 11967, + "end": 11987, "loc": { "start": { - "line": 283, + "line": 284, "column": 12 }, "end": { - "line": 283, + "line": 284, "column": 32 } } @@ -13354,15 +13440,15 @@ { "type": "CommentLine", "value": " getAttachment: async (name) => {", - "start": 11963, - "end": 12006, + "start": 12000, + "end": 12043, "loc": { "start": { - "line": 284, + "line": 285, "column": 12 }, "end": { - "line": 284, + "line": 285, "column": 55 } } @@ -13370,15 +13456,15 @@ { "type": "CommentLine", "value": " const filePath = gltfBasePath + name;", - "start": 12019, - "end": 12071, + "start": 12056, + "end": 12108, "loc": { "start": { - "line": 285, + "line": 286, "column": 12 }, "end": { - "line": 285, + "line": 286, "column": 64 } } @@ -13386,15 +13472,15 @@ { "type": "CommentLine", "value": " log(`Reading attachment file: ${filePath}`);", - "start": 12084, - "end": 12143, + "start": 12121, + "end": 12180, "loc": { "start": { - "line": 286, + "line": 287, "column": 12 }, "end": { - "line": 286, + "line": 287, "column": 71 } } @@ -13402,15 +13488,15 @@ { "type": "CommentLine", "value": " const buffer = fs.readFileSync(filePath);", - "start": 12156, - "end": 12212, + "start": 12193, + "end": 12249, "loc": { "start": { - "line": 287, + "line": 288, "column": 12 }, "end": { - "line": 287, + "line": 288, "column": 68 } } @@ -13418,15 +13504,15 @@ { "type": "CommentLine", "value": " const arrayBuf = toArrayBuffer(buffer);", - "start": 12225, - "end": 12279, + "start": 12262, + "end": 12316, "loc": { "start": { - "line": 288, + "line": 289, "column": 12 }, "end": { - "line": 288, + "line": 289, "column": 66 } } @@ -13434,15 +13520,15 @@ { "type": "CommentLine", "value": " return arrayBuf;", - "start": 12292, - "end": 12323, + "start": 12329, + "end": 12360, "loc": { "start": { - "line": 289, + "line": 290, "column": 12 }, "end": { - "line": 289, + "line": 290, "column": 43 } } @@ -13450,15 +13536,15 @@ { "type": "CommentLine", "value": " },", - "start": 12336, - "end": 12349, + "start": 12373, + "end": 12386, "loc": { "start": { - "line": 290, + "line": 291, "column": 12 }, "end": { - "line": 290, + "line": 291, "column": 25 } } @@ -13466,15 +13552,15 @@ { "type": "CommentLine", "value": " stats,", - "start": 12362, - "end": 12379, + "start": 12399, + "end": 12416, "loc": { "start": { - "line": 291, + "line": 292, "column": 12 }, "end": { - "line": 291, + "line": 292, "column": 29 } } @@ -13482,15 +13568,15 @@ { "type": "CommentLine", "value": " log", - "start": 12392, - "end": 12406, + "start": 12429, + "end": 12443, "loc": { "start": { - "line": 292, + "line": 293, "column": 12 }, "end": { - "line": 292, + "line": 293, "column": 26 } } @@ -13498,15 +13584,15 @@ { "type": "CommentLine", "value": " });", - "start": 12419, - "end": 12429, + "start": 12456, + "end": 12466, "loc": { "start": { - "line": 293, + "line": 294, "column": 12 }, "end": { - "line": 293, + "line": 294, "column": 22 } } @@ -13514,15 +13600,15 @@ { "type": "CommentLine", "value": " break;", - "start": 12442, - "end": 12455, + "start": 12479, + "end": 12492, "loc": { "start": { - "line": 294, + "line": 295, "column": 12 }, "end": { - "line": 294, + "line": 295, "column": 25 } } @@ -13531,58 +13617,58 @@ }, { "type": "SwitchCase", - "start": 12469, - "end": 12822, + "start": 12506, + "end": 12859, "loc": { "start": { - "line": 296, + "line": 297, "column": 12 }, "end": { - "line": 307, + "line": 308, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 12497, - "end": 12799, + "start": 12534, + "end": 12836, "loc": { "start": { - "line": 297, + "line": 298, "column": 16 }, "end": { - "line": 306, + "line": 307, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 12497, - "end": 12798, + "start": 12534, + "end": 12835, "loc": { "start": { - "line": 297, + "line": 298, "column": 16 }, "end": { - "line": 306, + "line": 307, "column": 18 } }, "callee": { "type": "Identifier", - "start": 12497, - "end": 12504, + "start": 12534, + "end": 12541, "loc": { "start": { - "line": 297, + "line": 298, "column": 16 }, "end": { - "line": 297, + "line": 298, "column": 23 }, "identifierName": "convert" @@ -13592,15 +13678,15 @@ "arguments": [ { "type": "Identifier", - "start": 12505, - "end": 12525, + "start": 12542, + "end": 12562, "loc": { "start": { - "line": 297, + "line": 298, "column": 24 }, "end": { - "line": 297, + "line": 298, "column": 44 }, "identifierName": "parseIFCIntoXKTModel" @@ -13609,30 +13695,30 @@ }, { "type": "ObjectExpression", - "start": 12527, - "end": 12797, + "start": 12564, + "end": 12834, "loc": { "start": { - "line": 297, + "line": 298, "column": 46 }, "end": { - "line": 306, + "line": 307, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 12549, - "end": 12555, + "start": 12586, + "end": 12592, "loc": { "start": { - "line": 298, + "line": 299, "column": 20 }, "end": { - "line": 298, + "line": 299, "column": 26 } }, @@ -13641,15 +13727,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12549, - "end": 12555, + "start": 12586, + "end": 12592, "loc": { "start": { - "line": 298, + "line": 299, "column": 20 }, "end": { - "line": 298, + "line": 299, "column": 26 }, "identifierName": "WebIFC" @@ -13658,15 +13744,15 @@ }, "value": { "type": "Identifier", - "start": 12549, - "end": 12555, + "start": 12586, + "end": 12592, "loc": { "start": { - "line": 298, + "line": 299, "column": 20 }, "end": { - "line": 298, + "line": 299, "column": 26 }, "identifierName": "WebIFC" @@ -13679,15 +13765,15 @@ }, { "type": "ObjectProperty", - "start": 12577, - "end": 12593, + "start": 12614, + "end": 12630, "loc": { "start": { - "line": 299, + "line": 300, "column": 20 }, "end": { - "line": 299, + "line": 300, "column": 36 } }, @@ -13696,15 +13782,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12577, - "end": 12581, + "start": 12614, + "end": 12618, "loc": { "start": { - "line": 299, + "line": 300, "column": 20 }, "end": { - "line": 299, + "line": 300, "column": 24 }, "identifierName": "data" @@ -13713,15 +13799,15 @@ }, "value": { "type": "Identifier", - "start": 12583, - "end": 12593, + "start": 12620, + "end": 12630, "loc": { "start": { - "line": 299, + "line": 300, "column": 26 }, "end": { - "line": 299, + "line": 300, "column": 36 }, "identifierName": "sourceData" @@ -13731,15 +13817,15 @@ }, { "type": "ObjectProperty", - "start": 12615, - "end": 12623, + "start": 12652, + "end": 12660, "loc": { "start": { - "line": 300, + "line": 301, "column": 20 }, "end": { - "line": 300, + "line": 301, "column": 28 } }, @@ -13748,15 +13834,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12615, - "end": 12623, + "start": 12652, + "end": 12660, "loc": { "start": { - "line": 300, + "line": 301, "column": 20 }, "end": { - "line": 300, + "line": 301, "column": 28 }, "identifierName": "xktModel" @@ -13765,15 +13851,15 @@ }, "value": { "type": "Identifier", - "start": 12615, - "end": 12623, + "start": 12652, + "end": 12660, "loc": { "start": { - "line": 300, + "line": 301, "column": 20 }, "end": { - "line": 300, + "line": 301, "column": 28 }, "identifierName": "xktModel" @@ -13786,15 +13872,15 @@ }, { "type": "ObjectProperty", - "start": 12645, - "end": 12659, + "start": 12682, + "end": 12696, "loc": { "start": { - "line": 301, + "line": 302, "column": 20 }, "end": { - "line": 301, + "line": 302, "column": 34 } }, @@ -13803,15 +13889,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12645, - "end": 12653, + "start": 12682, + "end": 12690, "loc": { "start": { - "line": 301, + "line": 302, "column": 20 }, "end": { - "line": 301, + "line": 302, "column": 28 }, "identifierName": "wasmPath" @@ -13820,15 +13906,15 @@ }, "value": { "type": "StringLiteral", - "start": 12655, - "end": 12659, + "start": 12692, + "end": 12696, "loc": { "start": { - "line": 301, + "line": 302, "column": 30 }, "end": { - "line": 301, + "line": 302, "column": 34 } }, @@ -13841,15 +13927,15 @@ }, { "type": "ObjectProperty", - "start": 12681, - "end": 12693, + "start": 12718, + "end": 12730, "loc": { "start": { - "line": 302, + "line": 303, "column": 20 }, "end": { - "line": 302, + "line": 303, "column": 32 } }, @@ -13858,15 +13944,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12681, - "end": 12693, + "start": 12718, + "end": 12730, "loc": { "start": { - "line": 302, + "line": 303, "column": 20 }, "end": { - "line": 302, + "line": 303, "column": 32 }, "identifierName": "includeTypes" @@ -13875,15 +13961,15 @@ }, "value": { "type": "Identifier", - "start": 12681, - "end": 12693, + "start": 12718, + "end": 12730, "loc": { "start": { - "line": 302, + "line": 303, "column": 20 }, "end": { - "line": 302, + "line": 303, "column": 32 }, "identifierName": "includeTypes" @@ -13896,15 +13982,15 @@ }, { "type": "ObjectProperty", - "start": 12715, - "end": 12727, + "start": 12752, + "end": 12764, "loc": { "start": { - "line": 303, + "line": 304, "column": 20 }, "end": { - "line": 303, + "line": 304, "column": 32 } }, @@ -13913,15 +13999,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12715, - "end": 12727, + "start": 12752, + "end": 12764, "loc": { "start": { - "line": 303, + "line": 304, "column": 20 }, "end": { - "line": 303, + "line": 304, "column": 32 }, "identifierName": "excludeTypes" @@ -13930,15 +14016,15 @@ }, "value": { "type": "Identifier", - "start": 12715, - "end": 12727, + "start": 12752, + "end": 12764, "loc": { "start": { - "line": 303, + "line": 304, "column": 20 }, "end": { - "line": 303, + "line": 304, "column": 32 }, "identifierName": "excludeTypes" @@ -13951,15 +14037,15 @@ }, { "type": "ObjectProperty", - "start": 12749, - "end": 12754, + "start": 12786, + "end": 12791, "loc": { "start": { - "line": 304, + "line": 305, "column": 20 }, "end": { - "line": 304, + "line": 305, "column": 25 } }, @@ -13968,15 +14054,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12749, - "end": 12754, + "start": 12786, + "end": 12791, "loc": { "start": { - "line": 304, + "line": 305, "column": 20 }, "end": { - "line": 304, + "line": 305, "column": 25 }, "identifierName": "stats" @@ -13985,15 +14071,15 @@ }, "value": { "type": "Identifier", - "start": 12749, - "end": 12754, + "start": 12786, + "end": 12791, "loc": { "start": { - "line": 304, + "line": 305, "column": 20 }, "end": { - "line": 304, + "line": 305, "column": 25 }, "identifierName": "stats" @@ -14006,15 +14092,15 @@ }, { "type": "ObjectProperty", - "start": 12776, - "end": 12779, + "start": 12813, + "end": 12816, "loc": { "start": { - "line": 305, + "line": 306, "column": 20 }, "end": { - "line": 305, + "line": 306, "column": 23 } }, @@ -14023,15 +14109,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12776, - "end": 12779, + "start": 12813, + "end": 12816, "loc": { "start": { - "line": 305, + "line": 306, "column": 20 }, "end": { - "line": 305, + "line": 306, "column": 23 }, "identifierName": "log" @@ -14040,15 +14126,15 @@ }, "value": { "type": "Identifier", - "start": 12776, - "end": 12779, + "start": 12813, + "end": 12816, "loc": { "start": { - "line": 305, + "line": 306, "column": 20 }, "end": { - "line": 305, + "line": 306, "column": 23 }, "identifierName": "log" @@ -14066,15 +14152,15 @@ }, { "type": "BreakStatement", - "start": 12816, - "end": 12822, + "start": 12853, + "end": 12859, "loc": { "start": { - "line": 307, + "line": 308, "column": 16 }, "end": { - "line": 307, + "line": 308, "column": 22 } }, @@ -14083,15 +14169,15 @@ ], "test": { "type": "StringLiteral", - "start": 12474, - "end": 12479, + "start": 12511, + "end": 12516, "loc": { "start": { - "line": 296, + "line": 297, "column": 17 }, "end": { - "line": 296, + "line": 297, "column": 22 } }, @@ -14106,15 +14192,15 @@ { "type": "CommentLine", "value": " case \"gltf\":", - "start": 11458, - "end": 11473, + "start": 11495, + "end": 11510, "loc": { "start": { - "line": 273, + "line": 274, "column": 12 }, "end": { - "line": 273, + "line": 274, "column": 27 } } @@ -14122,15 +14208,15 @@ { "type": "CommentLine", "value": " const gltfJSON = JSON.parse(sourceData);", - "start": 11486, - "end": 11533, + "start": 11523, + "end": 11570, "loc": { "start": { - "line": 274, + "line": 275, "column": 12 }, "end": { - "line": 274, + "line": 275, "column": 59 } } @@ -14138,15 +14224,15 @@ { "type": "CommentLine", "value": " const gltfBasePath = source ? getBasePath(source) : \"\";", - "start": 11546, - "end": 11608, + "start": 11583, + "end": 11645, "loc": { "start": { - "line": 275, + "line": 276, "column": 12 }, "end": { - "line": 275, + "line": 276, "column": 74 } } @@ -14154,15 +14240,15 @@ { "type": "CommentLine", "value": " convert(parseGLTFIntoXKTModel, {", - "start": 11621, - "end": 11660, + "start": 11658, + "end": 11697, "loc": { "start": { - "line": 276, + "line": 277, "column": 12 }, "end": { - "line": 276, + "line": 277, "column": 51 } } @@ -14170,15 +14256,15 @@ { "type": "CommentLine", "value": " baseUri: gltfBasePath,", - "start": 11673, - "end": 11706, + "start": 11710, + "end": 11743, "loc": { "start": { - "line": 277, + "line": 278, "column": 12 }, "end": { - "line": 277, + "line": 278, "column": 45 } } @@ -14186,15 +14272,15 @@ { "type": "CommentLine", "value": " data: gltfJSON,", - "start": 11719, - "end": 11745, + "start": 11756, + "end": 11782, "loc": { "start": { - "line": 278, + "line": 279, "column": 12 }, "end": { - "line": 278, + "line": 279, "column": 38 } } @@ -14202,15 +14288,15 @@ { "type": "CommentLine", "value": " reuseGeometries,", - "start": 11758, - "end": 11785, + "start": 11795, + "end": 11822, "loc": { "start": { - "line": 279, + "line": 280, "column": 12 }, "end": { - "line": 279, + "line": 280, "column": 39 } } @@ -14218,15 +14304,15 @@ { "type": "CommentLine", "value": " includeTextures,", - "start": 11798, - "end": 11825, + "start": 11835, + "end": 11862, "loc": { "start": { - "line": 280, + "line": 281, "column": 12 }, "end": { - "line": 280, + "line": 281, "column": 39 } } @@ -14234,15 +14320,15 @@ { "type": "CommentLine", "value": " includeNormals,", - "start": 11838, - "end": 11864, + "start": 11875, + "end": 11901, "loc": { "start": { - "line": 281, + "line": 282, "column": 12 }, "end": { - "line": 281, + "line": 282, "column": 38 } } @@ -14250,15 +14336,15 @@ { "type": "CommentLine", "value": " metaModelData: metaModelJSON,", - "start": 11877, - "end": 11917, + "start": 11914, + "end": 11954, "loc": { "start": { - "line": 282, + "line": 283, "column": 12 }, "end": { - "line": 282, + "line": 283, "column": 52 } } @@ -14266,15 +14352,15 @@ { "type": "CommentLine", "value": " xktModel,", - "start": 11930, - "end": 11950, + "start": 11967, + "end": 11987, "loc": { "start": { - "line": 283, + "line": 284, "column": 12 }, "end": { - "line": 283, + "line": 284, "column": 32 } } @@ -14282,15 +14368,15 @@ { "type": "CommentLine", "value": " getAttachment: async (name) => {", - "start": 11963, - "end": 12006, + "start": 12000, + "end": 12043, "loc": { "start": { - "line": 284, + "line": 285, "column": 12 }, "end": { - "line": 284, + "line": 285, "column": 55 } } @@ -14298,15 +14384,15 @@ { "type": "CommentLine", "value": " const filePath = gltfBasePath + name;", - "start": 12019, - "end": 12071, + "start": 12056, + "end": 12108, "loc": { "start": { - "line": 285, + "line": 286, "column": 12 }, "end": { - "line": 285, + "line": 286, "column": 64 } } @@ -14314,15 +14400,15 @@ { "type": "CommentLine", "value": " log(`Reading attachment file: ${filePath}`);", - "start": 12084, - "end": 12143, + "start": 12121, + "end": 12180, "loc": { "start": { - "line": 286, + "line": 287, "column": 12 }, "end": { - "line": 286, + "line": 287, "column": 71 } } @@ -14330,15 +14416,15 @@ { "type": "CommentLine", "value": " const buffer = fs.readFileSync(filePath);", - "start": 12156, - "end": 12212, + "start": 12193, + "end": 12249, "loc": { "start": { - "line": 287, + "line": 288, "column": 12 }, "end": { - "line": 287, + "line": 288, "column": 68 } } @@ -14346,15 +14432,15 @@ { "type": "CommentLine", "value": " const arrayBuf = toArrayBuffer(buffer);", - "start": 12225, - "end": 12279, + "start": 12262, + "end": 12316, "loc": { "start": { - "line": 288, + "line": 289, "column": 12 }, "end": { - "line": 288, + "line": 289, "column": 66 } } @@ -14362,15 +14448,15 @@ { "type": "CommentLine", "value": " return arrayBuf;", - "start": 12292, - "end": 12323, + "start": 12329, + "end": 12360, "loc": { "start": { - "line": 289, + "line": 290, "column": 12 }, "end": { - "line": 289, + "line": 290, "column": 43 } } @@ -14378,15 +14464,15 @@ { "type": "CommentLine", "value": " },", - "start": 12336, - "end": 12349, + "start": 12373, + "end": 12386, "loc": { "start": { - "line": 290, + "line": 291, "column": 12 }, "end": { - "line": 290, + "line": 291, "column": 25 } } @@ -14394,15 +14480,15 @@ { "type": "CommentLine", "value": " stats,", - "start": 12362, - "end": 12379, + "start": 12399, + "end": 12416, "loc": { "start": { - "line": 291, + "line": 292, "column": 12 }, "end": { - "line": 291, + "line": 292, "column": 29 } } @@ -14410,15 +14496,15 @@ { "type": "CommentLine", "value": " log", - "start": 12392, - "end": 12406, + "start": 12429, + "end": 12443, "loc": { "start": { - "line": 292, + "line": 293, "column": 12 }, "end": { - "line": 292, + "line": 293, "column": 26 } } @@ -14426,15 +14512,15 @@ { "type": "CommentLine", "value": " });", - "start": 12419, - "end": 12429, + "start": 12456, + "end": 12466, "loc": { "start": { - "line": 293, + "line": 294, "column": 12 }, "end": { - "line": 293, + "line": 294, "column": 22 } } @@ -14442,15 +14528,15 @@ { "type": "CommentLine", "value": " break;", - "start": 12442, - "end": 12455, + "start": 12479, + "end": 12492, "loc": { "start": { - "line": 294, + "line": 295, "column": 12 }, "end": { - "line": 294, + "line": 295, "column": 25 } } @@ -14459,58 +14545,58 @@ }, { "type": "SwitchCase", - "start": 12836, - "end": 13342, + "start": 12873, + "end": 13379, "loc": { "start": { - "line": 309, + "line": 310, "column": 12 }, "end": { - "line": 321, + "line": 322, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 12864, - "end": 13319, + "start": 12901, + "end": 13356, "loc": { "start": { - "line": 310, + "line": 311, "column": 16 }, "end": { - "line": 320, + "line": 321, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 12864, - "end": 13318, + "start": 12901, + "end": 13355, "loc": { "start": { - "line": 310, + "line": 311, "column": 16 }, "end": { - "line": 320, + "line": 321, "column": 18 } }, "callee": { "type": "Identifier", - "start": 12864, - "end": 12871, + "start": 12901, + "end": 12908, "loc": { "start": { - "line": 310, + "line": 311, "column": 16 }, "end": { - "line": 310, + "line": 311, "column": 23 }, "identifierName": "convert" @@ -14520,15 +14606,15 @@ "arguments": [ { "type": "Identifier", - "start": 12872, - "end": 12892, + "start": 12909, + "end": 12929, "loc": { "start": { - "line": 310, + "line": 311, "column": 24 }, "end": { - "line": 310, + "line": 311, "column": 44 }, "identifierName": "parseLASIntoXKTModel" @@ -14537,30 +14623,30 @@ }, { "type": "ObjectExpression", - "start": 12894, - "end": 13317, + "start": 12931, + "end": 13354, "loc": { "start": { - "line": 310, + "line": 311, "column": 46 }, "end": { - "line": 320, + "line": 321, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 12916, - "end": 12932, + "start": 12953, + "end": 12969, "loc": { "start": { - "line": 311, + "line": 312, "column": 20 }, "end": { - "line": 311, + "line": 312, "column": 36 } }, @@ -14569,15 +14655,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12916, - "end": 12920, + "start": 12953, + "end": 12957, "loc": { "start": { - "line": 311, + "line": 312, "column": 20 }, "end": { - "line": 311, + "line": 312, "column": 24 }, "identifierName": "data" @@ -14586,15 +14672,15 @@ }, "value": { "type": "Identifier", - "start": 12922, - "end": 12932, + "start": 12959, + "end": 12969, "loc": { "start": { - "line": 311, + "line": 312, "column": 26 }, "end": { - "line": 311, + "line": 312, "column": 36 }, "identifierName": "sourceData" @@ -14604,15 +14690,15 @@ }, { "type": "ObjectProperty", - "start": 12954, - "end": 12962, + "start": 12991, + "end": 12999, "loc": { "start": { - "line": 312, + "line": 313, "column": 20 }, "end": { - "line": 312, + "line": 313, "column": 28 } }, @@ -14621,15 +14707,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12954, - "end": 12962, + "start": 12991, + "end": 12999, "loc": { "start": { - "line": 312, + "line": 313, "column": 20 }, "end": { - "line": 312, + "line": 313, "column": 28 }, "identifierName": "xktModel" @@ -14638,15 +14724,15 @@ }, "value": { "type": "Identifier", - "start": 12954, - "end": 12962, + "start": 12991, + "end": 12999, "loc": { "start": { - "line": 312, + "line": 313, "column": 20 }, "end": { - "line": 312, + "line": 313, "column": 28 }, "identifierName": "xktModel" @@ -14659,15 +14745,15 @@ }, { "type": "ObjectProperty", - "start": 12984, - "end": 12989, + "start": 13021, + "end": 13026, "loc": { "start": { - "line": 313, + "line": 314, "column": 20 }, "end": { - "line": 313, + "line": 314, "column": 25 } }, @@ -14676,15 +14762,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12984, - "end": 12989, + "start": 13021, + "end": 13026, "loc": { "start": { - "line": 313, + "line": 314, "column": 20 }, "end": { - "line": 313, + "line": 314, "column": 25 }, "identifierName": "stats" @@ -14693,15 +14779,15 @@ }, "value": { "type": "Identifier", - "start": 12984, - "end": 12989, + "start": 13021, + "end": 13026, "loc": { "start": { - "line": 313, + "line": 314, "column": 20 }, "end": { - "line": 313, + "line": 314, "column": 25 }, "identifierName": "stats" @@ -14714,15 +14800,15 @@ }, { "type": "ObjectProperty", - "start": 13011, - "end": 13037, + "start": 13048, + "end": 13074, "loc": { "start": { - "line": 314, + "line": 315, "column": 20 }, "end": { - "line": 314, + "line": 315, "column": 46 } }, @@ -14731,15 +14817,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13011, - "end": 13015, + "start": 13048, + "end": 13052, "loc": { "start": { - "line": 314, + "line": 315, "column": 20 }, "end": { - "line": 314, + "line": 315, "column": 24 }, "identifierName": "fp64" @@ -14748,29 +14834,29 @@ }, "value": { "type": "MemberExpression", - "start": 13017, - "end": 13037, + "start": 13054, + "end": 13074, "loc": { "start": { - "line": 314, + "line": 315, "column": 26 }, "end": { - "line": 314, + "line": 315, "column": 46 } }, "object": { "type": "Identifier", - "start": 13017, - "end": 13032, + "start": 13054, + "end": 13069, "loc": { "start": { - "line": 314, + "line": 315, "column": 26 }, "end": { - "line": 314, + "line": 315, "column": 41 }, "identifierName": "fileTypeConfigs" @@ -14779,15 +14865,15 @@ }, "property": { "type": "Identifier", - "start": 13033, - "end": 13037, + "start": 13070, + "end": 13074, "loc": { "start": { - "line": 314, + "line": 315, "column": 42 }, "end": { - "line": 314, + "line": 315, "column": 46 }, "identifierName": "fp64" @@ -14799,15 +14885,15 @@ }, { "type": "ObjectProperty", - "start": 13059, - "end": 13097, + "start": 13096, + "end": 13134, "loc": { "start": { - "line": 315, + "line": 316, "column": 20 }, "end": { - "line": 315, + "line": 316, "column": 58 } }, @@ -14816,15 +14902,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13059, - "end": 13069, + "start": 13096, + "end": 13106, "loc": { "start": { - "line": 315, + "line": 316, "column": 20 }, "end": { - "line": 315, + "line": 316, "column": 30 }, "identifierName": "colorDepth" @@ -14833,29 +14919,29 @@ }, "value": { "type": "MemberExpression", - "start": 13071, - "end": 13097, + "start": 13108, + "end": 13134, "loc": { "start": { - "line": 315, + "line": 316, "column": 32 }, "end": { - "line": 315, + "line": 316, "column": 58 } }, "object": { "type": "Identifier", - "start": 13071, - "end": 13086, + "start": 13108, + "end": 13123, "loc": { "start": { - "line": 315, + "line": 316, "column": 32 }, "end": { - "line": 315, + "line": 316, "column": 47 }, "identifierName": "fileTypeConfigs" @@ -14864,15 +14950,15 @@ }, "property": { "type": "Identifier", - "start": 13087, - "end": 13097, + "start": 13124, + "end": 13134, "loc": { "start": { - "line": 315, + "line": 316, "column": 48 }, "end": { - "line": 315, + "line": 316, "column": 58 }, "identifierName": "colorDepth" @@ -14884,15 +14970,15 @@ }, { "type": "ObjectProperty", - "start": 13119, - "end": 13149, + "start": 13156, + "end": 13186, "loc": { "start": { - "line": 316, + "line": 317, "column": 20 }, "end": { - "line": 316, + "line": 317, "column": 50 } }, @@ -14901,15 +14987,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13119, - "end": 13125, + "start": 13156, + "end": 13162, "loc": { "start": { - "line": 316, + "line": 317, "column": 20 }, "end": { - "line": 316, + "line": 317, "column": 26 }, "identifierName": "center" @@ -14918,29 +15004,29 @@ }, "value": { "type": "MemberExpression", - "start": 13127, - "end": 13149, + "start": 13164, + "end": 13186, "loc": { "start": { - "line": 316, + "line": 317, "column": 28 }, "end": { - "line": 316, + "line": 317, "column": 50 } }, "object": { "type": "Identifier", - "start": 13127, - "end": 13142, + "start": 13164, + "end": 13179, "loc": { "start": { - "line": 316, + "line": 317, "column": 28 }, "end": { - "line": 316, + "line": 317, "column": 43 }, "identifierName": "fileTypeConfigs" @@ -14949,15 +15035,15 @@ }, "property": { "type": "Identifier", - "start": 13143, - "end": 13149, + "start": 13180, + "end": 13186, "loc": { "start": { - "line": 316, + "line": 317, "column": 44 }, "end": { - "line": 316, + "line": 317, "column": 50 }, "identifierName": "center" @@ -14969,15 +15055,15 @@ }, { "type": "ObjectProperty", - "start": 13171, - "end": 13207, + "start": 13208, + "end": 13244, "loc": { "start": { - "line": 317, + "line": 318, "column": 20 }, "end": { - "line": 317, + "line": 318, "column": 56 } }, @@ -14986,15 +15072,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13171, - "end": 13180, + "start": 13208, + "end": 13217, "loc": { "start": { - "line": 317, + "line": 318, "column": 20 }, "end": { - "line": 317, + "line": 318, "column": 29 }, "identifierName": "transform" @@ -15003,29 +15089,29 @@ }, "value": { "type": "MemberExpression", - "start": 13182, - "end": 13207, + "start": 13219, + "end": 13244, "loc": { "start": { - "line": 317, + "line": 318, "column": 31 }, "end": { - "line": 317, + "line": 318, "column": 56 } }, "object": { "type": "Identifier", - "start": 13182, - "end": 13197, + "start": 13219, + "end": 13234, "loc": { "start": { - "line": 317, + "line": 318, "column": 31 }, "end": { - "line": 317, + "line": 318, "column": 46 }, "identifierName": "fileTypeConfigs" @@ -15034,15 +15120,15 @@ }, "property": { "type": "Identifier", - "start": 13198, - "end": 13207, + "start": 13235, + "end": 13244, "loc": { "start": { - "line": 317, + "line": 318, "column": 47 }, "end": { - "line": 317, + "line": 318, "column": 56 }, "identifierName": "transform" @@ -15054,15 +15140,15 @@ }, { "type": "ObjectProperty", - "start": 13229, - "end": 13274, + "start": 13266, + "end": 13311, "loc": { "start": { - "line": 318, + "line": 319, "column": 20 }, "end": { - "line": 318, + "line": 319, "column": 65 } }, @@ -15071,15 +15157,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13229, - "end": 13233, + "start": 13266, + "end": 13270, "loc": { "start": { - "line": 318, + "line": 319, "column": 20 }, "end": { - "line": 318, + "line": 319, "column": 24 }, "identifierName": "skip" @@ -15088,29 +15174,29 @@ }, "value": { "type": "CallExpression", - "start": 13235, - "end": 13274, + "start": 13272, + "end": 13311, "loc": { "start": { - "line": 318, + "line": 319, "column": 26 }, "end": { - "line": 318, + "line": 319, "column": 65 } }, "callee": { "type": "Identifier", - "start": 13235, - "end": 13249, + "start": 13272, + "end": 13286, "loc": { "start": { - "line": 318, + "line": 319, "column": 26 }, "end": { - "line": 318, + "line": 319, "column": 40 }, "identifierName": "overrideOption" @@ -15120,29 +15206,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 13250, - "end": 13270, + "start": 13287, + "end": 13307, "loc": { "start": { - "line": 318, + "line": 319, "column": 41 }, "end": { - "line": 318, + "line": 319, "column": 61 } }, "object": { "type": "Identifier", - "start": 13250, - "end": 13265, + "start": 13287, + "end": 13302, "loc": { "start": { - "line": 318, + "line": 319, "column": 41 }, "end": { - "line": 318, + "line": 319, "column": 56 }, "identifierName": "fileTypeConfigs" @@ -15151,15 +15237,15 @@ }, "property": { "type": "Identifier", - "start": 13266, - "end": 13270, + "start": 13303, + "end": 13307, "loc": { "start": { - "line": 318, + "line": 319, "column": 57 }, "end": { - "line": 318, + "line": 319, "column": 61 }, "identifierName": "skip" @@ -15170,15 +15256,15 @@ }, { "type": "NumericLiteral", - "start": 13272, - "end": 13273, + "start": 13309, + "end": 13310, "loc": { "start": { - "line": 318, + "line": 319, "column": 63 }, "end": { - "line": 318, + "line": 319, "column": 64 } }, @@ -15193,15 +15279,15 @@ }, { "type": "ObjectProperty", - "start": 13296, - "end": 13299, + "start": 13333, + "end": 13336, "loc": { "start": { - "line": 319, + "line": 320, "column": 20 }, "end": { - "line": 319, + "line": 320, "column": 23 } }, @@ -15210,15 +15296,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13296, - "end": 13299, + "start": 13333, + "end": 13336, "loc": { "start": { - "line": 319, + "line": 320, "column": 20 }, "end": { - "line": 319, + "line": 320, "column": 23 }, "identifierName": "log" @@ -15227,15 +15313,15 @@ }, "value": { "type": "Identifier", - "start": 13296, - "end": 13299, + "start": 13333, + "end": 13336, "loc": { "start": { - "line": 319, + "line": 320, "column": 20 }, "end": { - "line": 319, + "line": 320, "column": 23 }, "identifierName": "log" @@ -15253,15 +15339,15 @@ }, { "type": "BreakStatement", - "start": 13336, - "end": 13342, + "start": 13373, + "end": 13379, "loc": { "start": { - "line": 321, + "line": 322, "column": 16 }, "end": { - "line": 321, + "line": 322, "column": 22 } }, @@ -15270,15 +15356,15 @@ ], "test": { "type": "StringLiteral", - "start": 12841, - "end": 12846, + "start": 12878, + "end": 12883, "loc": { "start": { - "line": 309, + "line": 310, "column": 17 }, "end": { - "line": 309, + "line": 310, "column": 22 } }, @@ -15291,58 +15377,58 @@ }, { "type": "SwitchCase", - "start": 13356, - "end": 13862, + "start": 13393, + "end": 13899, "loc": { "start": { - "line": 323, + "line": 324, "column": 12 }, "end": { - "line": 335, + "line": 336, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 13384, - "end": 13839, + "start": 13421, + "end": 13876, "loc": { "start": { - "line": 324, + "line": 325, "column": 16 }, "end": { - "line": 334, + "line": 335, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 13384, - "end": 13838, + "start": 13421, + "end": 13875, "loc": { "start": { - "line": 324, + "line": 325, "column": 16 }, "end": { - "line": 334, + "line": 335, "column": 18 } }, "callee": { "type": "Identifier", - "start": 13384, - "end": 13391, + "start": 13421, + "end": 13428, "loc": { "start": { - "line": 324, + "line": 325, "column": 16 }, "end": { - "line": 324, + "line": 325, "column": 23 }, "identifierName": "convert" @@ -15352,15 +15438,15 @@ "arguments": [ { "type": "Identifier", - "start": 13392, - "end": 13412, + "start": 13429, + "end": 13449, "loc": { "start": { - "line": 324, + "line": 325, "column": 24 }, "end": { - "line": 324, + "line": 325, "column": 44 }, "identifierName": "parseLASIntoXKTModel" @@ -15369,30 +15455,30 @@ }, { "type": "ObjectExpression", - "start": 13414, - "end": 13837, + "start": 13451, + "end": 13874, "loc": { "start": { - "line": 324, + "line": 325, "column": 46 }, "end": { - "line": 334, + "line": 335, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 13436, - "end": 13452, + "start": 13473, + "end": 13489, "loc": { "start": { - "line": 325, + "line": 326, "column": 20 }, "end": { - "line": 325, + "line": 326, "column": 36 } }, @@ -15401,15 +15487,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13436, - "end": 13440, + "start": 13473, + "end": 13477, "loc": { "start": { - "line": 325, + "line": 326, "column": 20 }, "end": { - "line": 325, + "line": 326, "column": 24 }, "identifierName": "data" @@ -15418,15 +15504,15 @@ }, "value": { "type": "Identifier", - "start": 13442, - "end": 13452, + "start": 13479, + "end": 13489, "loc": { "start": { - "line": 325, + "line": 326, "column": 26 }, "end": { - "line": 325, + "line": 326, "column": 36 }, "identifierName": "sourceData" @@ -15436,15 +15522,15 @@ }, { "type": "ObjectProperty", - "start": 13474, - "end": 13482, + "start": 13511, + "end": 13519, "loc": { "start": { - "line": 326, + "line": 327, "column": 20 }, "end": { - "line": 326, + "line": 327, "column": 28 } }, @@ -15453,15 +15539,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13474, - "end": 13482, + "start": 13511, + "end": 13519, "loc": { "start": { - "line": 326, + "line": 327, "column": 20 }, "end": { - "line": 326, + "line": 327, "column": 28 }, "identifierName": "xktModel" @@ -15470,15 +15556,15 @@ }, "value": { "type": "Identifier", - "start": 13474, - "end": 13482, + "start": 13511, + "end": 13519, "loc": { "start": { - "line": 326, + "line": 327, "column": 20 }, "end": { - "line": 326, + "line": 327, "column": 28 }, "identifierName": "xktModel" @@ -15491,15 +15577,15 @@ }, { "type": "ObjectProperty", - "start": 13504, - "end": 13509, + "start": 13541, + "end": 13546, "loc": { "start": { - "line": 327, + "line": 328, "column": 20 }, "end": { - "line": 327, + "line": 328, "column": 25 } }, @@ -15508,15 +15594,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13504, - "end": 13509, + "start": 13541, + "end": 13546, "loc": { "start": { - "line": 327, + "line": 328, "column": 20 }, "end": { - "line": 327, + "line": 328, "column": 25 }, "identifierName": "stats" @@ -15525,15 +15611,15 @@ }, "value": { "type": "Identifier", - "start": 13504, - "end": 13509, + "start": 13541, + "end": 13546, "loc": { "start": { - "line": 327, + "line": 328, "column": 20 }, "end": { - "line": 327, + "line": 328, "column": 25 }, "identifierName": "stats" @@ -15546,15 +15632,15 @@ }, { "type": "ObjectProperty", - "start": 13531, - "end": 13557, + "start": 13568, + "end": 13594, "loc": { "start": { - "line": 328, + "line": 329, "column": 20 }, "end": { - "line": 328, + "line": 329, "column": 46 } }, @@ -15563,15 +15649,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13531, - "end": 13535, + "start": 13568, + "end": 13572, "loc": { "start": { - "line": 328, + "line": 329, "column": 20 }, "end": { - "line": 328, + "line": 329, "column": 24 }, "identifierName": "fp64" @@ -15580,29 +15666,29 @@ }, "value": { "type": "MemberExpression", - "start": 13537, - "end": 13557, + "start": 13574, + "end": 13594, "loc": { "start": { - "line": 328, + "line": 329, "column": 26 }, "end": { - "line": 328, + "line": 329, "column": 46 } }, "object": { "type": "Identifier", - "start": 13537, - "end": 13552, + "start": 13574, + "end": 13589, "loc": { "start": { - "line": 328, + "line": 329, "column": 26 }, "end": { - "line": 328, + "line": 329, "column": 41 }, "identifierName": "fileTypeConfigs" @@ -15611,15 +15697,15 @@ }, "property": { "type": "Identifier", - "start": 13553, - "end": 13557, + "start": 13590, + "end": 13594, "loc": { "start": { - "line": 328, + "line": 329, "column": 42 }, "end": { - "line": 328, + "line": 329, "column": 46 }, "identifierName": "fp64" @@ -15631,15 +15717,15 @@ }, { "type": "ObjectProperty", - "start": 13579, - "end": 13617, + "start": 13616, + "end": 13654, "loc": { "start": { - "line": 329, + "line": 330, "column": 20 }, "end": { - "line": 329, + "line": 330, "column": 58 } }, @@ -15648,15 +15734,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13579, - "end": 13589, + "start": 13616, + "end": 13626, "loc": { "start": { - "line": 329, + "line": 330, "column": 20 }, "end": { - "line": 329, + "line": 330, "column": 30 }, "identifierName": "colorDepth" @@ -15665,29 +15751,29 @@ }, "value": { "type": "MemberExpression", - "start": 13591, - "end": 13617, + "start": 13628, + "end": 13654, "loc": { "start": { - "line": 329, + "line": 330, "column": 32 }, "end": { - "line": 329, + "line": 330, "column": 58 } }, "object": { "type": "Identifier", - "start": 13591, - "end": 13606, + "start": 13628, + "end": 13643, "loc": { "start": { - "line": 329, + "line": 330, "column": 32 }, "end": { - "line": 329, + "line": 330, "column": 47 }, "identifierName": "fileTypeConfigs" @@ -15696,15 +15782,15 @@ }, "property": { "type": "Identifier", - "start": 13607, - "end": 13617, + "start": 13644, + "end": 13654, "loc": { "start": { - "line": 329, + "line": 330, "column": 48 }, "end": { - "line": 329, + "line": 330, "column": 58 }, "identifierName": "colorDepth" @@ -15716,15 +15802,15 @@ }, { "type": "ObjectProperty", - "start": 13639, - "end": 13669, + "start": 13676, + "end": 13706, "loc": { "start": { - "line": 330, + "line": 331, "column": 20 }, "end": { - "line": 330, + "line": 331, "column": 50 } }, @@ -15733,15 +15819,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13639, - "end": 13645, + "start": 13676, + "end": 13682, "loc": { "start": { - "line": 330, + "line": 331, "column": 20 }, "end": { - "line": 330, + "line": 331, "column": 26 }, "identifierName": "center" @@ -15750,29 +15836,29 @@ }, "value": { "type": "MemberExpression", - "start": 13647, - "end": 13669, + "start": 13684, + "end": 13706, "loc": { "start": { - "line": 330, + "line": 331, "column": 28 }, "end": { - "line": 330, + "line": 331, "column": 50 } }, "object": { "type": "Identifier", - "start": 13647, - "end": 13662, + "start": 13684, + "end": 13699, "loc": { "start": { - "line": 330, + "line": 331, "column": 28 }, "end": { - "line": 330, + "line": 331, "column": 43 }, "identifierName": "fileTypeConfigs" @@ -15781,15 +15867,15 @@ }, "property": { "type": "Identifier", - "start": 13663, - "end": 13669, + "start": 13700, + "end": 13706, "loc": { "start": { - "line": 330, + "line": 331, "column": 44 }, "end": { - "line": 330, + "line": 331, "column": 50 }, "identifierName": "center" @@ -15801,15 +15887,15 @@ }, { "type": "ObjectProperty", - "start": 13691, - "end": 13727, + "start": 13728, + "end": 13764, "loc": { "start": { - "line": 331, + "line": 332, "column": 20 }, "end": { - "line": 331, + "line": 332, "column": 56 } }, @@ -15818,15 +15904,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13691, - "end": 13700, + "start": 13728, + "end": 13737, "loc": { "start": { - "line": 331, + "line": 332, "column": 20 }, "end": { - "line": 331, + "line": 332, "column": 29 }, "identifierName": "transform" @@ -15835,29 +15921,29 @@ }, "value": { "type": "MemberExpression", - "start": 13702, - "end": 13727, + "start": 13739, + "end": 13764, "loc": { "start": { - "line": 331, + "line": 332, "column": 31 }, "end": { - "line": 331, + "line": 332, "column": 56 } }, "object": { "type": "Identifier", - "start": 13702, - "end": 13717, + "start": 13739, + "end": 13754, "loc": { "start": { - "line": 331, + "line": 332, "column": 31 }, "end": { - "line": 331, + "line": 332, "column": 46 }, "identifierName": "fileTypeConfigs" @@ -15866,15 +15952,15 @@ }, "property": { "type": "Identifier", - "start": 13718, - "end": 13727, + "start": 13755, + "end": 13764, "loc": { "start": { - "line": 331, + "line": 332, "column": 47 }, "end": { - "line": 331, + "line": 332, "column": 56 }, "identifierName": "transform" @@ -15886,15 +15972,15 @@ }, { "type": "ObjectProperty", - "start": 13749, - "end": 13794, + "start": 13786, + "end": 13831, "loc": { "start": { - "line": 332, + "line": 333, "column": 20 }, "end": { - "line": 332, + "line": 333, "column": 65 } }, @@ -15903,15 +15989,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13749, - "end": 13753, + "start": 13786, + "end": 13790, "loc": { "start": { - "line": 332, + "line": 333, "column": 20 }, "end": { - "line": 332, + "line": 333, "column": 24 }, "identifierName": "skip" @@ -15920,29 +16006,29 @@ }, "value": { "type": "CallExpression", - "start": 13755, - "end": 13794, + "start": 13792, + "end": 13831, "loc": { "start": { - "line": 332, + "line": 333, "column": 26 }, "end": { - "line": 332, + "line": 333, "column": 65 } }, "callee": { "type": "Identifier", - "start": 13755, - "end": 13769, + "start": 13792, + "end": 13806, "loc": { "start": { - "line": 332, + "line": 333, "column": 26 }, "end": { - "line": 332, + "line": 333, "column": 40 }, "identifierName": "overrideOption" @@ -15952,29 +16038,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 13770, - "end": 13790, + "start": 13807, + "end": 13827, "loc": { "start": { - "line": 332, + "line": 333, "column": 41 }, "end": { - "line": 332, + "line": 333, "column": 61 } }, "object": { "type": "Identifier", - "start": 13770, - "end": 13785, + "start": 13807, + "end": 13822, "loc": { "start": { - "line": 332, + "line": 333, "column": 41 }, "end": { - "line": 332, + "line": 333, "column": 56 }, "identifierName": "fileTypeConfigs" @@ -15983,15 +16069,15 @@ }, "property": { "type": "Identifier", - "start": 13786, - "end": 13790, + "start": 13823, + "end": 13827, "loc": { "start": { - "line": 332, + "line": 333, "column": 57 }, "end": { - "line": 332, + "line": 333, "column": 61 }, "identifierName": "skip" @@ -16002,15 +16088,15 @@ }, { "type": "NumericLiteral", - "start": 13792, - "end": 13793, + "start": 13829, + "end": 13830, "loc": { "start": { - "line": 332, + "line": 333, "column": 63 }, "end": { - "line": 332, + "line": 333, "column": 64 } }, @@ -16025,15 +16111,15 @@ }, { "type": "ObjectProperty", - "start": 13816, - "end": 13819, + "start": 13853, + "end": 13856, "loc": { "start": { - "line": 333, + "line": 334, "column": 20 }, "end": { - "line": 333, + "line": 334, "column": 23 } }, @@ -16042,15 +16128,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13816, - "end": 13819, + "start": 13853, + "end": 13856, "loc": { "start": { - "line": 333, + "line": 334, "column": 20 }, "end": { - "line": 333, + "line": 334, "column": 23 }, "identifierName": "log" @@ -16059,15 +16145,15 @@ }, "value": { "type": "Identifier", - "start": 13816, - "end": 13819, + "start": 13853, + "end": 13856, "loc": { "start": { - "line": 333, + "line": 334, "column": 20 }, "end": { - "line": 333, + "line": 334, "column": 23 }, "identifierName": "log" @@ -16085,15 +16171,15 @@ }, { "type": "BreakStatement", - "start": 13856, - "end": 13862, + "start": 13893, + "end": 13899, "loc": { "start": { - "line": 335, + "line": 336, "column": 16 }, "end": { - "line": 335, + "line": 336, "column": 22 } }, @@ -16102,15 +16188,15 @@ ], "test": { "type": "StringLiteral", - "start": 13361, - "end": 13366, + "start": 13398, + "end": 13403, "loc": { "start": { - "line": 323, + "line": 324, "column": 17 }, "end": { - "line": 323, + "line": 324, "column": 22 } }, @@ -16123,58 +16209,58 @@ }, { "type": "SwitchCase", - "start": 13876, - "end": 14097, + "start": 13913, + "end": 14134, "loc": { "start": { - "line": 337, + "line": 338, "column": 12 }, "end": { - "line": 344, + "line": 345, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 13904, - "end": 14074, + "start": 13941, + "end": 14111, "loc": { "start": { - "line": 338, + "line": 339, "column": 16 }, "end": { - "line": 343, + "line": 344, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 13904, - "end": 14073, + "start": 13941, + "end": 14110, "loc": { "start": { - "line": 338, + "line": 339, "column": 16 }, "end": { - "line": 343, + "line": 344, "column": 18 } }, "callee": { "type": "Identifier", - "start": 13904, - "end": 13911, + "start": 13941, + "end": 13948, "loc": { "start": { - "line": 338, + "line": 339, "column": 16 }, "end": { - "line": 338, + "line": 339, "column": 23 }, "identifierName": "convert" @@ -16184,15 +16270,15 @@ "arguments": [ { "type": "Identifier", - "start": 13912, - "end": 13932, + "start": 13949, + "end": 13969, "loc": { "start": { - "line": 338, + "line": 339, "column": 24 }, "end": { - "line": 338, + "line": 339, "column": 44 }, "identifierName": "parsePCDIntoXKTModel" @@ -16201,30 +16287,30 @@ }, { "type": "ObjectExpression", - "start": 13934, - "end": 14072, + "start": 13971, + "end": 14109, "loc": { "start": { - "line": 338, + "line": 339, "column": 46 }, "end": { - "line": 343, + "line": 344, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 13956, - "end": 13972, + "start": 13993, + "end": 14009, "loc": { "start": { - "line": 339, + "line": 340, "column": 20 }, "end": { - "line": 339, + "line": 340, "column": 36 } }, @@ -16233,15 +16319,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13956, - "end": 13960, + "start": 13993, + "end": 13997, "loc": { "start": { - "line": 339, + "line": 340, "column": 20 }, "end": { - "line": 339, + "line": 340, "column": 24 }, "identifierName": "data" @@ -16250,15 +16336,15 @@ }, "value": { "type": "Identifier", - "start": 13962, - "end": 13972, + "start": 13999, + "end": 14009, "loc": { "start": { - "line": 339, + "line": 340, "column": 26 }, "end": { - "line": 339, + "line": 340, "column": 36 }, "identifierName": "sourceData" @@ -16268,15 +16354,15 @@ }, { "type": "ObjectProperty", - "start": 13994, - "end": 14002, + "start": 14031, + "end": 14039, "loc": { "start": { - "line": 340, + "line": 341, "column": 20 }, "end": { - "line": 340, + "line": 341, "column": 28 } }, @@ -16285,15 +16371,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13994, - "end": 14002, + "start": 14031, + "end": 14039, "loc": { "start": { - "line": 340, + "line": 341, "column": 20 }, "end": { - "line": 340, + "line": 341, "column": 28 }, "identifierName": "xktModel" @@ -16302,15 +16388,15 @@ }, "value": { "type": "Identifier", - "start": 13994, - "end": 14002, + "start": 14031, + "end": 14039, "loc": { "start": { - "line": 340, + "line": 341, "column": 20 }, "end": { - "line": 340, + "line": 341, "column": 28 }, "identifierName": "xktModel" @@ -16323,15 +16409,15 @@ }, { "type": "ObjectProperty", - "start": 14024, - "end": 14029, + "start": 14061, + "end": 14066, "loc": { "start": { - "line": 341, + "line": 342, "column": 20 }, "end": { - "line": 341, + "line": 342, "column": 25 } }, @@ -16340,15 +16426,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14024, - "end": 14029, + "start": 14061, + "end": 14066, "loc": { "start": { - "line": 341, + "line": 342, "column": 20 }, "end": { - "line": 341, + "line": 342, "column": 25 }, "identifierName": "stats" @@ -16357,15 +16443,15 @@ }, "value": { "type": "Identifier", - "start": 14024, - "end": 14029, + "start": 14061, + "end": 14066, "loc": { "start": { - "line": 341, + "line": 342, "column": 20 }, "end": { - "line": 341, + "line": 342, "column": 25 }, "identifierName": "stats" @@ -16378,15 +16464,15 @@ }, { "type": "ObjectProperty", - "start": 14051, - "end": 14054, + "start": 14088, + "end": 14091, "loc": { "start": { - "line": 342, + "line": 343, "column": 20 }, "end": { - "line": 342, + "line": 343, "column": 23 } }, @@ -16395,15 +16481,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14051, - "end": 14054, + "start": 14088, + "end": 14091, "loc": { "start": { - "line": 342, + "line": 343, "column": 20 }, "end": { - "line": 342, + "line": 343, "column": 23 }, "identifierName": "log" @@ -16412,15 +16498,15 @@ }, "value": { "type": "Identifier", - "start": 14051, - "end": 14054, + "start": 14088, + "end": 14091, "loc": { "start": { - "line": 342, + "line": 343, "column": 20 }, "end": { - "line": 342, + "line": 343, "column": 23 }, "identifierName": "log" @@ -16438,15 +16524,15 @@ }, { "type": "BreakStatement", - "start": 14091, - "end": 14097, + "start": 14128, + "end": 14134, "loc": { "start": { - "line": 344, + "line": 345, "column": 16 }, "end": { - "line": 344, + "line": 345, "column": 22 } }, @@ -16455,15 +16541,15 @@ ], "test": { "type": "StringLiteral", - "start": 13881, - "end": 13886, + "start": 13918, + "end": 13923, "loc": { "start": { - "line": 337, + "line": 338, "column": 17 }, "end": { - "line": 337, + "line": 338, "column": 22 } }, @@ -16476,58 +16562,58 @@ }, { "type": "SwitchCase", - "start": 14111, - "end": 14332, + "start": 14148, + "end": 14369, "loc": { "start": { - "line": 346, + "line": 347, "column": 12 }, "end": { - "line": 353, + "line": 354, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 14139, - "end": 14309, + "start": 14176, + "end": 14346, "loc": { "start": { - "line": 347, + "line": 348, "column": 16 }, "end": { - "line": 352, + "line": 353, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 14139, - "end": 14308, + "start": 14176, + "end": 14345, "loc": { "start": { - "line": 347, + "line": 348, "column": 16 }, "end": { - "line": 352, + "line": 353, "column": 18 } }, "callee": { "type": "Identifier", - "start": 14139, - "end": 14146, + "start": 14176, + "end": 14183, "loc": { "start": { - "line": 347, + "line": 348, "column": 16 }, "end": { - "line": 347, + "line": 348, "column": 23 }, "identifierName": "convert" @@ -16537,15 +16623,15 @@ "arguments": [ { "type": "Identifier", - "start": 14147, - "end": 14167, + "start": 14184, + "end": 14204, "loc": { "start": { - "line": 347, + "line": 348, "column": 24 }, "end": { - "line": 347, + "line": 348, "column": 44 }, "identifierName": "parsePLYIntoXKTModel" @@ -16554,30 +16640,30 @@ }, { "type": "ObjectExpression", - "start": 14169, - "end": 14307, + "start": 14206, + "end": 14344, "loc": { "start": { - "line": 347, + "line": 348, "column": 46 }, "end": { - "line": 352, + "line": 353, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 14191, - "end": 14207, + "start": 14228, + "end": 14244, "loc": { "start": { - "line": 348, + "line": 349, "column": 20 }, "end": { - "line": 348, + "line": 349, "column": 36 } }, @@ -16586,15 +16672,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14191, - "end": 14195, + "start": 14228, + "end": 14232, "loc": { "start": { - "line": 348, + "line": 349, "column": 20 }, "end": { - "line": 348, + "line": 349, "column": 24 }, "identifierName": "data" @@ -16603,15 +16689,15 @@ }, "value": { "type": "Identifier", - "start": 14197, - "end": 14207, + "start": 14234, + "end": 14244, "loc": { "start": { - "line": 348, + "line": 349, "column": 26 }, "end": { - "line": 348, + "line": 349, "column": 36 }, "identifierName": "sourceData" @@ -16621,15 +16707,15 @@ }, { "type": "ObjectProperty", - "start": 14229, - "end": 14237, + "start": 14266, + "end": 14274, "loc": { "start": { - "line": 349, + "line": 350, "column": 20 }, "end": { - "line": 349, + "line": 350, "column": 28 } }, @@ -16638,15 +16724,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14229, - "end": 14237, + "start": 14266, + "end": 14274, "loc": { "start": { - "line": 349, + "line": 350, "column": 20 }, "end": { - "line": 349, + "line": 350, "column": 28 }, "identifierName": "xktModel" @@ -16655,15 +16741,15 @@ }, "value": { "type": "Identifier", - "start": 14229, - "end": 14237, + "start": 14266, + "end": 14274, "loc": { "start": { - "line": 349, + "line": 350, "column": 20 }, "end": { - "line": 349, + "line": 350, "column": 28 }, "identifierName": "xktModel" @@ -16676,15 +16762,15 @@ }, { "type": "ObjectProperty", - "start": 14259, - "end": 14264, + "start": 14296, + "end": 14301, "loc": { "start": { - "line": 350, + "line": 351, "column": 20 }, "end": { - "line": 350, + "line": 351, "column": 25 } }, @@ -16693,15 +16779,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14259, - "end": 14264, + "start": 14296, + "end": 14301, "loc": { "start": { - "line": 350, + "line": 351, "column": 20 }, "end": { - "line": 350, + "line": 351, "column": 25 }, "identifierName": "stats" @@ -16710,15 +16796,15 @@ }, "value": { "type": "Identifier", - "start": 14259, - "end": 14264, + "start": 14296, + "end": 14301, "loc": { "start": { - "line": 350, + "line": 351, "column": 20 }, "end": { - "line": 350, + "line": 351, "column": 25 }, "identifierName": "stats" @@ -16731,15 +16817,15 @@ }, { "type": "ObjectProperty", - "start": 14286, - "end": 14289, + "start": 14323, + "end": 14326, "loc": { "start": { - "line": 351, + "line": 352, "column": 20 }, "end": { - "line": 351, + "line": 352, "column": 23 } }, @@ -16748,15 +16834,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14286, - "end": 14289, + "start": 14323, + "end": 14326, "loc": { "start": { - "line": 351, + "line": 352, "column": 20 }, "end": { - "line": 351, + "line": 352, "column": 23 }, "identifierName": "log" @@ -16765,15 +16851,15 @@ }, "value": { "type": "Identifier", - "start": 14286, - "end": 14289, + "start": 14323, + "end": 14326, "loc": { "start": { - "line": 351, + "line": 352, "column": 20 }, "end": { - "line": 351, + "line": 352, "column": 23 }, "identifierName": "log" @@ -16791,15 +16877,15 @@ }, { "type": "BreakStatement", - "start": 14326, - "end": 14332, + "start": 14363, + "end": 14369, "loc": { "start": { - "line": 353, + "line": 354, "column": 16 }, "end": { - "line": 353, + "line": 354, "column": 22 } }, @@ -16808,15 +16894,15 @@ ], "test": { "type": "StringLiteral", - "start": 14116, - "end": 14121, + "start": 14153, + "end": 14158, "loc": { "start": { - "line": 346, + "line": 347, "column": 17 }, "end": { - "line": 346, + "line": 347, "column": 22 } }, @@ -16829,58 +16915,58 @@ }, { "type": "SwitchCase", - "start": 14346, - "end": 14567, + "start": 14383, + "end": 14604, "loc": { "start": { - "line": 355, + "line": 356, "column": 12 }, "end": { - "line": 362, + "line": 363, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 14374, - "end": 14544, + "start": 14411, + "end": 14581, "loc": { "start": { - "line": 356, + "line": 357, "column": 16 }, "end": { - "line": 361, + "line": 362, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 14374, - "end": 14543, + "start": 14411, + "end": 14580, "loc": { "start": { - "line": 356, + "line": 357, "column": 16 }, "end": { - "line": 361, + "line": 362, "column": 18 } }, "callee": { "type": "Identifier", - "start": 14374, - "end": 14381, + "start": 14411, + "end": 14418, "loc": { "start": { - "line": 356, + "line": 357, "column": 16 }, "end": { - "line": 356, + "line": 357, "column": 23 }, "identifierName": "convert" @@ -16890,15 +16976,15 @@ "arguments": [ { "type": "Identifier", - "start": 14382, - "end": 14402, + "start": 14419, + "end": 14439, "loc": { "start": { - "line": 356, + "line": 357, "column": 24 }, "end": { - "line": 356, + "line": 357, "column": 44 }, "identifierName": "parseSTLIntoXKTModel" @@ -16907,30 +16993,30 @@ }, { "type": "ObjectExpression", - "start": 14404, - "end": 14542, + "start": 14441, + "end": 14579, "loc": { "start": { - "line": 356, + "line": 357, "column": 46 }, "end": { - "line": 361, + "line": 362, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 14426, - "end": 14442, + "start": 14463, + "end": 14479, "loc": { "start": { - "line": 357, + "line": 358, "column": 20 }, "end": { - "line": 357, + "line": 358, "column": 36 } }, @@ -16939,15 +17025,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14426, - "end": 14430, + "start": 14463, + "end": 14467, "loc": { "start": { - "line": 357, + "line": 358, "column": 20 }, "end": { - "line": 357, + "line": 358, "column": 24 }, "identifierName": "data" @@ -16956,15 +17042,15 @@ }, "value": { "type": "Identifier", - "start": 14432, - "end": 14442, + "start": 14469, + "end": 14479, "loc": { "start": { - "line": 357, + "line": 358, "column": 26 }, "end": { - "line": 357, + "line": 358, "column": 36 }, "identifierName": "sourceData" @@ -16974,15 +17060,15 @@ }, { "type": "ObjectProperty", - "start": 14464, - "end": 14472, + "start": 14501, + "end": 14509, "loc": { "start": { - "line": 358, + "line": 359, "column": 20 }, "end": { - "line": 358, + "line": 359, "column": 28 } }, @@ -16991,15 +17077,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14464, - "end": 14472, + "start": 14501, + "end": 14509, "loc": { "start": { - "line": 358, + "line": 359, "column": 20 }, "end": { - "line": 358, + "line": 359, "column": 28 }, "identifierName": "xktModel" @@ -17008,15 +17094,15 @@ }, "value": { "type": "Identifier", - "start": 14464, - "end": 14472, + "start": 14501, + "end": 14509, "loc": { "start": { - "line": 358, + "line": 359, "column": 20 }, "end": { - "line": 358, + "line": 359, "column": 28 }, "identifierName": "xktModel" @@ -17029,15 +17115,15 @@ }, { "type": "ObjectProperty", - "start": 14494, - "end": 14499, + "start": 14531, + "end": 14536, "loc": { "start": { - "line": 359, + "line": 360, "column": 20 }, "end": { - "line": 359, + "line": 360, "column": 25 } }, @@ -17046,15 +17132,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14494, - "end": 14499, + "start": 14531, + "end": 14536, "loc": { "start": { - "line": 359, + "line": 360, "column": 20 }, "end": { - "line": 359, + "line": 360, "column": 25 }, "identifierName": "stats" @@ -17063,15 +17149,15 @@ }, "value": { "type": "Identifier", - "start": 14494, - "end": 14499, + "start": 14531, + "end": 14536, "loc": { "start": { - "line": 359, + "line": 360, "column": 20 }, "end": { - "line": 359, + "line": 360, "column": 25 }, "identifierName": "stats" @@ -17084,15 +17170,15 @@ }, { "type": "ObjectProperty", - "start": 14521, - "end": 14524, + "start": 14558, + "end": 14561, "loc": { "start": { - "line": 360, + "line": 361, "column": 20 }, "end": { - "line": 360, + "line": 361, "column": 23 } }, @@ -17101,15 +17187,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14521, - "end": 14524, + "start": 14558, + "end": 14561, "loc": { "start": { - "line": 360, + "line": 361, "column": 20 }, "end": { - "line": 360, + "line": 361, "column": 23 }, "identifierName": "log" @@ -17118,15 +17204,15 @@ }, "value": { "type": "Identifier", - "start": 14521, - "end": 14524, + "start": 14558, + "end": 14561, "loc": { "start": { - "line": 360, + "line": 361, "column": 20 }, "end": { - "line": 360, + "line": 361, "column": 23 }, "identifierName": "log" @@ -17144,15 +17230,15 @@ }, { "type": "BreakStatement", - "start": 14561, - "end": 14567, + "start": 14598, + "end": 14604, "loc": { "start": { - "line": 362, + "line": 363, "column": 16 }, "end": { - "line": 362, + "line": 363, "column": 22 } }, @@ -17161,15 +17247,15 @@ ], "test": { "type": "StringLiteral", - "start": 14351, - "end": 14356, + "start": 14388, + "end": 14393, "loc": { "start": { - "line": 355, + "line": 356, "column": 17 }, "end": { - "line": 355, + "line": 356, "column": 22 } }, @@ -17182,58 +17268,58 @@ }, { "type": "SwitchCase", - "start": 14581, - "end": 14684, + "start": 14618, + "end": 14721, "loc": { "start": { - "line": 364, + "line": 365, "column": 12 }, "end": { - "line": 366, + "line": 367, "column": 23 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 14606, - "end": 14660, + "start": 14643, + "end": 14697, "loc": { "start": { - "line": 365, + "line": 366, "column": 16 }, "end": { - "line": 365, + "line": 366, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 14606, - "end": 14659, + "start": 14643, + "end": 14696, "loc": { "start": { - "line": 365, + "line": 366, "column": 16 }, "end": { - "line": 365, + "line": 366, "column": 69 } }, "callee": { "type": "Identifier", - "start": 14606, - "end": 14612, + "start": 14643, + "end": 14649, "loc": { "start": { - "line": 365, + "line": 366, "column": 16 }, "end": { - "line": 365, + "line": 366, "column": 22 }, "identifierName": "reject" @@ -17243,30 +17329,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 14613, - "end": 14658, + "start": 14650, + "end": 14695, "loc": { "start": { - "line": 365, + "line": 366, "column": 23 }, "end": { - "line": 365, + "line": 366, "column": 68 } }, "expressions": [ { "type": "Identifier", - "start": 14651, - "end": 14654, + "start": 14688, + "end": 14691, "loc": { "start": { - "line": 365, + "line": 366, "column": 61 }, "end": { - "line": 365, + "line": 366, "column": 64 }, "identifierName": "ext" @@ -17277,15 +17363,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 14614, - "end": 14649, + "start": 14651, + "end": 14686, "loc": { "start": { - "line": 365, + "line": 366, "column": 24 }, "end": { - "line": 365, + "line": 366, "column": 59 } }, @@ -17297,15 +17383,15 @@ }, { "type": "TemplateElement", - "start": 14655, - "end": 14657, + "start": 14692, + "end": 14694, "loc": { "start": { - "line": 365, + "line": 366, "column": 65 }, "end": { - "line": 365, + "line": 366, "column": 67 } }, @@ -17322,15 +17408,15 @@ }, { "type": "ReturnStatement", - "start": 14677, - "end": 14684, + "start": 14714, + "end": 14721, "loc": { "start": { - "line": 366, + "line": 367, "column": 16 }, "end": { - "line": 366, + "line": 367, "column": 23 } }, @@ -17343,29 +17429,29 @@ }, { "type": "FunctionDeclaration", - "start": 14704, - "end": 18373, + "start": 14741, + "end": 18420, "loc": { "start": { - "line": 369, + "line": 370, "column": 8 }, "end": { - "line": 447, + "line": 448, "column": 9 } }, "id": { "type": "Identifier", - "start": 14713, - "end": 14720, + "start": 14750, + "end": 14757, "loc": { "start": { - "line": 369, + "line": 370, "column": 17 }, "end": { - "line": 369, + "line": 370, "column": 24 }, "identifierName": "convert" @@ -17378,15 +17464,15 @@ "params": [ { "type": "Identifier", - "start": 14721, - "end": 14727, + "start": 14758, + "end": 14764, "loc": { "start": { - "line": 369, + "line": 370, "column": 25 }, "end": { - "line": 369, + "line": 370, "column": 31 }, "identifierName": "parser" @@ -17395,15 +17481,15 @@ }, { "type": "Identifier", - "start": 14729, - "end": 14744, + "start": 14766, + "end": 14781, "loc": { "start": { - "line": 369, + "line": 370, "column": 33 }, "end": { - "line": 369, + "line": 370, "column": 48 }, "identifierName": "converterParams" @@ -17413,86 +17499,86 @@ ], "body": { "type": "BlockStatement", - "start": 14746, - "end": 18373, + "start": 14783, + "end": 18420, "loc": { "start": { - "line": 369, + "line": 370, "column": 50 }, "end": { - "line": 447, + "line": 448, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14761, - "end": 18363, + "start": 14798, + "end": 18410, "loc": { "start": { - "line": 371, + "line": 372, "column": 12 }, "end": { - "line": 446, + "line": 447, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 14761, - "end": 18362, + "start": 14798, + "end": 18409, "loc": { "start": { - "line": 371, + "line": 372, "column": 12 }, "end": { - "line": 446, + "line": 447, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 14761, - "end": 14789, + "start": 14798, + "end": 14826, "loc": { "start": { - "line": 371, + "line": 372, "column": 12 }, "end": { - "line": 371, + "line": 372, "column": 40 } }, "object": { "type": "CallExpression", - "start": 14761, - "end": 14784, + "start": 14798, + "end": 14821, "loc": { "start": { - "line": 371, + "line": 372, "column": 12 }, "end": { - "line": 371, + "line": 372, "column": 35 } }, "callee": { "type": "Identifier", - "start": 14761, - "end": 14767, + "start": 14798, + "end": 14804, "loc": { "start": { - "line": 371, + "line": 372, "column": 12 }, "end": { - "line": 371, + "line": 372, "column": 18 }, "identifierName": "parser" @@ -17502,15 +17588,15 @@ "arguments": [ { "type": "Identifier", - "start": 14768, - "end": 14783, + "start": 14805, + "end": 14820, "loc": { "start": { - "line": 371, + "line": 372, "column": 19 }, "end": { - "line": 371, + "line": 372, "column": 34 }, "identifierName": "converterParams" @@ -17521,15 +17607,15 @@ }, "property": { "type": "Identifier", - "start": 14785, - "end": 14789, + "start": 14822, + "end": 14826, "loc": { "start": { - "line": 371, + "line": 372, "column": 36 }, "end": { - "line": 371, + "line": 372, "column": 40 }, "identifierName": "then" @@ -17541,15 +17627,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 14790, - "end": 18306, + "start": 14827, + "end": 18353, "loc": { "start": { - "line": 371, + "line": 372, "column": 41 }, "end": { - "line": 444, + "line": 445, "column": 13 } }, @@ -17560,44 +17646,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14796, - "end": 18306, + "start": 14833, + "end": 18353, "loc": { "start": { - "line": 371, + "line": 372, "column": 47 }, "end": { - "line": 444, + "line": 445, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 14815, - "end": 14973, + "start": 14852, + "end": 15010, "loc": { "start": { - "line": 373, + "line": 374, "column": 16 }, "end": { - "line": 376, + "line": 377, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 14819, - "end": 14833, + "start": 14856, + "end": 14870, "loc": { "start": { - "line": 373, + "line": 374, "column": 20 }, "end": { - "line": 373, + "line": 374, "column": 34 } }, @@ -17605,15 +17691,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 14820, - "end": 14833, + "start": 14857, + "end": 14870, "loc": { "start": { - "line": 373, + "line": 374, "column": 21 }, "end": { - "line": 373, + "line": 374, "column": 34 }, "identifierName": "metaModelJSON" @@ -17626,58 +17712,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 14835, - "end": 14973, + "start": 14872, + "end": 15010, "loc": { "start": { - "line": 373, + "line": 374, "column": 36 }, "end": { - "line": 376, + "line": 377, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 14857, - "end": 14898, + "start": 14894, + "end": 14935, "loc": { "start": { - "line": 374, + "line": 375, "column": 20 }, "end": { - "line": 374, + "line": 375, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 14857, - "end": 14897, + "start": 14894, + "end": 14934, "loc": { "start": { - "line": 374, + "line": 375, "column": 20 }, "end": { - "line": 374, + "line": 375, "column": 60 } }, "callee": { "type": "Identifier", - "start": 14857, - "end": 14860, + "start": 14894, + "end": 14897, "loc": { "start": { - "line": 374, + "line": 375, "column": 20 }, "end": { - "line": 374, + "line": 375, "column": 23 }, "identifierName": "log" @@ -17687,15 +17773,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14861, - "end": 14896, + "start": 14898, + "end": 14933, "loc": { "start": { - "line": 374, + "line": 375, "column": 24 }, "end": { - "line": 374, + "line": 375, "column": 59 } }, @@ -17710,57 +17796,57 @@ }, { "type": "ExpressionStatement", - "start": 14919, - "end": 14955, + "start": 14956, + "end": 14992, "loc": { "start": { - "line": 375, + "line": 376, "column": 20 }, "end": { - "line": 375, + "line": 376, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 14919, - "end": 14954, + "start": 14956, + "end": 14991, "loc": { "start": { - "line": 375, + "line": 376, "column": 20 }, "end": { - "line": 375, + "line": 376, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 14919, - "end": 14952, + "start": 14956, + "end": 14989, "loc": { "start": { - "line": 375, + "line": 376, "column": 20 }, "end": { - "line": 375, + "line": 376, "column": 53 } }, "object": { "type": "Identifier", - "start": 14919, - "end": 14927, + "start": 14956, + "end": 14964, "loc": { "start": { - "line": 375, + "line": 376, "column": 20 }, "end": { - "line": 375, + "line": 376, "column": 28 }, "identifierName": "xktModel" @@ -17769,15 +17855,15 @@ }, "property": { "type": "Identifier", - "start": 14928, - "end": 14952, + "start": 14965, + "end": 14989, "loc": { "start": { - "line": 375, + "line": 376, "column": 29 }, "end": { - "line": 375, + "line": 376, "column": 53 }, "identifierName": "createDefaultMetaObjects" @@ -17796,43 +17882,43 @@ }, { "type": "ExpressionStatement", - "start": 14991, - "end": 15045, + "start": 15028, + "end": 15082, "loc": { "start": { - "line": 378, + "line": 379, "column": 16 }, "end": { - "line": 378, + "line": 379, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 14991, - "end": 15044, + "start": 15028, + "end": 15081, "loc": { "start": { - "line": 378, + "line": 379, "column": 16 }, "end": { - "line": 378, + "line": 379, "column": 69 } }, "callee": { "type": "Identifier", - "start": 14991, - "end": 14994, + "start": 15028, + "end": 15031, "loc": { "start": { - "line": 378, + "line": 379, "column": 16 }, "end": { - "line": 378, + "line": 379, "column": 19 }, "identifierName": "log" @@ -17842,15 +17928,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14995, - "end": 15043, + "start": 15032, + "end": 15080, "loc": { "start": { - "line": 378, + "line": 379, "column": 20 }, "end": { - "line": 378, + "line": 379, "column": 68 } }, @@ -17865,85 +17951,85 @@ }, { "type": "ExpressionStatement", - "start": 15063, - "end": 18292, + "start": 15100, + "end": 18339, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 443, + "line": 444, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 15063, - "end": 18291, + "start": 15100, + "end": 18338, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 443, + "line": 444, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 15063, - "end": 15087, + "start": 15100, + "end": 15124, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 380, + "line": 381, "column": 40 } }, "object": { "type": "CallExpression", - "start": 15063, - "end": 15082, + "start": 15100, + "end": 15119, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 380, + "line": 381, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 15063, - "end": 15080, + "start": 15100, + "end": 15117, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 380, + "line": 381, "column": 33 } }, "object": { "type": "Identifier", - "start": 15063, - "end": 15071, + "start": 15100, + "end": 15108, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 380, + "line": 381, "column": 24 }, "identifierName": "xktModel" @@ -17952,15 +18038,15 @@ }, "property": { "type": "Identifier", - "start": 15072, - "end": 15080, + "start": 15109, + "end": 15117, "loc": { "start": { - "line": 380, + "line": 381, "column": 25 }, "end": { - "line": 380, + "line": 381, "column": 33 }, "identifierName": "finalize" @@ -17973,15 +18059,15 @@ }, "property": { "type": "Identifier", - "start": 15083, - "end": 15087, + "start": 15120, + "end": 15124, "loc": { "start": { - "line": 380, + "line": 381, "column": 36 }, "end": { - "line": 380, + "line": 381, "column": 40 }, "identifierName": "then" @@ -17993,15 +18079,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 15088, - "end": 18290, + "start": 15125, + "end": 18337, "loc": { "start": { - "line": 380, + "line": 381, "column": 41 }, "end": { - "line": 443, + "line": 444, "column": 17 } }, @@ -18012,58 +18098,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15094, - "end": 18290, + "start": 15131, + "end": 18337, "loc": { "start": { - "line": 380, + "line": 381, "column": 47 }, "end": { - "line": 443, + "line": 444, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 15117, - "end": 15170, + "start": 15154, + "end": 15207, "loc": { "start": { - "line": 382, + "line": 383, "column": 20 }, "end": { - "line": 382, + "line": 383, "column": 73 } }, "expression": { "type": "CallExpression", - "start": 15117, - "end": 15169, + "start": 15154, + "end": 15206, "loc": { "start": { - "line": 382, + "line": 383, "column": 20 }, "end": { - "line": 382, + "line": 383, "column": 72 } }, "callee": { "type": "Identifier", - "start": 15117, - "end": 15120, + "start": 15154, + "end": 15157, "loc": { "start": { - "line": 382, + "line": 383, "column": 20 }, "end": { - "line": 382, + "line": 383, "column": 23 }, "identifierName": "log" @@ -18073,15 +18159,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15121, - "end": 15168, + "start": 15158, + "end": 15205, "loc": { "start": { - "line": 382, + "line": 383, "column": 24 }, "end": { - "line": 382, + "line": 383, "column": 71 } }, @@ -18096,44 +18182,44 @@ }, { "type": "VariableDeclaration", - "start": 15192, - "end": 15287, + "start": 15229, + "end": 15323, "loc": { "start": { - "line": 384, + "line": 385, "column": 20 }, "end": { - "line": 384, - "column": 115 + "line": 385, + "column": 114 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15198, - "end": 15286, + "start": 15235, + "end": 15322, "loc": { "start": { - "line": 384, + "line": 385, "column": 26 }, "end": { - "line": 384, - "column": 114 + "line": 385, + "column": 113 } }, "id": { "type": "Identifier", - "start": 15198, - "end": 15212, + "start": 15235, + "end": 15249, "loc": { "start": { - "line": 384, + "line": 385, "column": 26 }, "end": { - "line": 384, + "line": 385, "column": 40 }, "identifierName": "xktArrayBuffer" @@ -18142,29 +18228,29 @@ }, "init": { "type": "CallExpression", - "start": 15215, - "end": 15286, + "start": 15252, + "end": 15322, "loc": { "start": { - "line": 384, + "line": 385, "column": 43 }, "end": { - "line": 384, - "column": 114 + "line": 385, + "column": 113 } }, "callee": { "type": "Identifier", - "start": 15215, - "end": 15241, + "start": 15252, + "end": 15278, "loc": { "start": { - "line": 384, + "line": 385, "column": 43 }, "end": { - "line": 384, + "line": 385, "column": 69 }, "identifierName": "writeXKTModelToArrayBuffer" @@ -18174,15 +18260,15 @@ "arguments": [ { "type": "Identifier", - "start": 15242, - "end": 15250, + "start": 15279, + "end": 15287, "loc": { "start": { - "line": 384, + "line": 385, "column": 70 }, "end": { - "line": 384, + "line": 385, "column": 78 }, "identifierName": "xktModel" @@ -18191,15 +18277,15 @@ }, { "type": "Identifier", - "start": 15252, - "end": 15265, + "start": 15289, + "end": 15302, "loc": { "start": { - "line": 384, + "line": 385, "column": 80 }, "end": { - "line": 384, + "line": 385, "column": 93 }, "identifierName": "metaModelJSON" @@ -18208,15 +18294,15 @@ }, { "type": "Identifier", - "start": 15267, - "end": 15272, + "start": 15304, + "end": 15309, "loc": { "start": { - "line": 384, + "line": 385, "column": 95 }, "end": { - "line": 384, + "line": 385, "column": 100 }, "identifierName": "stats" @@ -18225,31 +18311,31 @@ }, { "type": "ObjectExpression", - "start": 15274, - "end": 15285, + "start": 15311, + "end": 15321, "loc": { "start": { - "line": 384, + "line": 385, "column": 102 }, "end": { - "line": 384, - "column": 113 + "line": 385, + "column": 112 } }, "properties": [ { "type": "ObjectProperty", - "start": 15275, - "end": 15284, + "start": 15312, + "end": 15320, "loc": { "start": { - "line": 384, + "line": 385, "column": 103 }, "end": { - "line": 384, - "column": 112 + "line": 385, + "column": 111 } }, "method": false, @@ -18257,15 +18343,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15275, - "end": 15278, + "start": 15312, + "end": 15315, "loc": { "start": { - "line": 384, + "line": 385, "column": 103 }, "end": { - "line": 384, + "line": 385, "column": 106 }, "identifierName": "zip" @@ -18273,20 +18359,21 @@ "name": "zip" }, "value": { - "type": "BooleanLiteral", - "start": 15280, - "end": 15284, + "type": "Identifier", + "start": 15317, + "end": 15320, "loc": { "start": { - "line": 384, + "line": 385, "column": 108 }, "end": { - "line": 384, - "column": 112 - } + "line": 385, + "column": 111 + }, + "identifierName": "zip" }, - "value": true + "name": "zip" } } ] @@ -18299,44 +18386,44 @@ }, { "type": "VariableDeclaration", - "start": 15309, - "end": 15356, + "start": 15345, + "end": 15392, "loc": { "start": { - "line": 386, + "line": 387, "column": 20 }, "end": { - "line": 386, + "line": 387, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15315, - "end": 15355, + "start": 15351, + "end": 15391, "loc": { "start": { - "line": 386, + "line": 387, "column": 26 }, "end": { - "line": 386, + "line": 387, "column": 66 } }, "id": { "type": "Identifier", - "start": 15315, - "end": 15325, + "start": 15351, + "end": 15361, "loc": { "start": { - "line": 386, + "line": 387, "column": 26 }, "end": { - "line": 386, + "line": 387, "column": 36 }, "identifierName": "xktContent" @@ -18345,43 +18432,43 @@ }, "init": { "type": "CallExpression", - "start": 15328, - "end": 15355, + "start": 15364, + "end": 15391, "loc": { "start": { - "line": 386, + "line": 387, "column": 39 }, "end": { - "line": 386, + "line": 387, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 15328, - "end": 15339, + "start": 15364, + "end": 15375, "loc": { "start": { - "line": 386, + "line": 387, "column": 39 }, "end": { - "line": 386, + "line": 387, "column": 50 } }, "object": { "type": "Identifier", - "start": 15328, - "end": 15334, + "start": 15364, + "end": 15370, "loc": { "start": { - "line": 386, + "line": 387, "column": 39 }, "end": { - "line": 386, + "line": 387, "column": 45 }, "identifierName": "Buffer" @@ -18390,15 +18477,15 @@ }, "property": { "type": "Identifier", - "start": 15335, - "end": 15339, + "start": 15371, + "end": 15375, "loc": { "start": { - "line": 386, + "line": 387, "column": 46 }, "end": { - "line": 386, + "line": 387, "column": 50 }, "identifierName": "from" @@ -18410,15 +18497,15 @@ "arguments": [ { "type": "Identifier", - "start": 15340, - "end": 15354, + "start": 15376, + "end": 15390, "loc": { "start": { - "line": 386, + "line": 387, "column": 51 }, "end": { - "line": 386, + "line": 387, "column": 65 }, "identifierName": "xktArrayBuffer" @@ -18433,44 +18520,44 @@ }, { "type": "VariableDeclaration", - "start": 15378, - "end": 15432, + "start": 15414, + "end": 15468, "loc": { "start": { - "line": 388, + "line": 389, "column": 20 }, "end": { - "line": 388, + "line": 389, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15384, - "end": 15431, + "start": 15420, + "end": 15467, "loc": { "start": { - "line": 388, + "line": 389, "column": 26 }, "end": { - "line": 388, + "line": 389, "column": 73 } }, "id": { "type": "Identifier", - "start": 15384, - "end": 15403, + "start": 15420, + "end": 15439, "loc": { "start": { - "line": 388, + "line": 389, "column": 26 }, "end": { - "line": 388, + "line": 389, "column": 45 }, "identifierName": "targetFileSizeBytes" @@ -18479,29 +18566,29 @@ }, "init": { "type": "MemberExpression", - "start": 15406, - "end": 15431, + "start": 15442, + "end": 15467, "loc": { "start": { - "line": 388, + "line": 389, "column": 48 }, "end": { - "line": 388, + "line": 389, "column": 73 } }, "object": { "type": "Identifier", - "start": 15406, - "end": 15420, + "start": 15442, + "end": 15456, "loc": { "start": { - "line": 388, + "line": 389, "column": 48 }, "end": { - "line": 388, + "line": 389, "column": 62 }, "identifierName": "xktArrayBuffer" @@ -18510,15 +18597,15 @@ }, "property": { "type": "Identifier", - "start": 15421, - "end": 15431, + "start": 15457, + "end": 15467, "loc": { "start": { - "line": 388, + "line": 389, "column": 63 }, "end": { - "line": 388, + "line": 389, "column": 73 }, "identifierName": "byteLength" @@ -18533,142 +18620,8 @@ }, { "type": "ExpressionStatement", - "start": 15454, - "end": 15493, - "loc": { - "start": { - "line": 390, - "column": 20 - }, - "end": { - "line": 390, - "column": 59 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 15454, - "end": 15492, - "loc": { - "start": { - "line": 390, - "column": 20 - }, - "end": { - "line": 390, - "column": 58 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 15454, - "end": 15471, - "loc": { - "start": { - "line": 390, - "column": 20 - }, - "end": { - "line": 390, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 15454, - "end": 15459, - "loc": { - "start": { - "line": 390, - "column": 20 - }, - "end": { - "line": 390, - "column": 25 - }, - "identifierName": "stats" - }, - "name": "stats" - }, - "property": { - "type": "Identifier", - "start": 15460, - "end": 15471, - "loc": { - "start": { - "line": 390, - "column": 26 - }, - "end": { - "line": 390, - "column": 37 - }, - "identifierName": "minTileSize" - }, - "name": "minTileSize" - }, - "computed": false - }, - "right": { - "type": "LogicalExpression", - "start": 15474, - "end": 15492, - "loc": { - "start": { - "line": 390, - "column": 40 - }, - "end": { - "line": 390, - "column": 58 - } - }, - "left": { - "type": "Identifier", - "start": 15474, - "end": 15485, - "loc": { - "start": { - "line": 390, - "column": 40 - }, - "end": { - "line": 390, - "column": 51 - }, - "identifierName": "minTileSize" - }, - "name": "minTileSize" - }, - "operator": "||", - "right": { - "type": "NumericLiteral", - "start": 15489, - "end": 15492, - "loc": { - "start": { - "line": 390, - "column": 55 - }, - "end": { - "line": 390, - "column": 58 - } - }, - "extra": { - "rawValue": 200, - "raw": "200" - }, - "value": 200 - } - } - } - }, - { - "type": "ExpressionStatement", - "start": 15514, - "end": 15573, + "start": 15490, + "end": 15529, "loc": { "start": { "line": 391, @@ -18676,13 +18629,13 @@ }, "end": { "line": 391, - "column": 79 + "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 15514, - "end": 15572, + "start": 15490, + "end": 15528, "loc": { "start": { "line": 391, @@ -18690,14 +18643,14 @@ }, "end": { "line": 391, - "column": 78 + "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15514, - "end": 15530, + "start": 15490, + "end": 15507, "loc": { "start": { "line": 391, @@ -18705,13 +18658,13 @@ }, "end": { "line": 391, - "column": 36 + "column": 37 } }, "object": { "type": "Identifier", - "start": 15514, - "end": 15519, + "start": 15490, + "end": 15495, "loc": { "start": { "line": 391, @@ -18727,8 +18680,8 @@ }, "property": { "type": "Identifier", - "start": 15520, - "end": 15530, + "start": 15496, + "end": 15507, "loc": { "start": { "line": 391, @@ -18736,6 +18689,140 @@ }, "end": { "line": 391, + "column": 37 + }, + "identifierName": "minTileSize" + }, + "name": "minTileSize" + }, + "computed": false + }, + "right": { + "type": "LogicalExpression", + "start": 15510, + "end": 15528, + "loc": { + "start": { + "line": 391, + "column": 40 + }, + "end": { + "line": 391, + "column": 58 + } + }, + "left": { + "type": "Identifier", + "start": 15510, + "end": 15521, + "loc": { + "start": { + "line": 391, + "column": 40 + }, + "end": { + "line": 391, + "column": 51 + }, + "identifierName": "minTileSize" + }, + "name": "minTileSize" + }, + "operator": "||", + "right": { + "type": "NumericLiteral", + "start": 15525, + "end": 15528, + "loc": { + "start": { + "line": 391, + "column": 55 + }, + "end": { + "line": 391, + "column": 58 + } + }, + "extra": { + "rawValue": 200, + "raw": "200" + }, + "value": 200 + } + } + } + }, + { + "type": "ExpressionStatement", + "start": 15550, + "end": 15609, + "loc": { + "start": { + "line": 392, + "column": 20 + }, + "end": { + "line": 392, + "column": 79 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 15550, + "end": 15608, + "loc": { + "start": { + "line": 392, + "column": 20 + }, + "end": { + "line": 392, + "column": 78 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 15550, + "end": 15566, + "loc": { + "start": { + "line": 392, + "column": 20 + }, + "end": { + "line": 392, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 15550, + "end": 15555, + "loc": { + "start": { + "line": 392, + "column": 20 + }, + "end": { + "line": 392, + "column": 25 + }, + "identifierName": "stats" + }, + "name": "stats" + }, + "property": { + "type": "Identifier", + "start": 15556, + "end": 15566, + "loc": { + "start": { + "line": 392, + "column": 26 + }, + "end": { + "line": 392, "column": 36 }, "identifierName": "sourceSize" @@ -18746,57 +18833,57 @@ }, "right": { "type": "CallExpression", - "start": 15533, - "end": 15572, + "start": 15569, + "end": 15608, "loc": { "start": { - "line": 391, + "line": 392, "column": 39 }, "end": { - "line": 391, + "line": 392, "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 15533, - "end": 15569, + "start": 15569, + "end": 15605, "loc": { "start": { - "line": 391, + "line": 392, "column": 39 }, "end": { - "line": 391, + "line": 392, "column": 75 } }, "object": { "type": "BinaryExpression", - "start": 15534, - "end": 15560, + "start": 15570, + "end": 15596, "loc": { "start": { - "line": 391, + "line": 392, "column": 40 }, "end": { - "line": 391, + "line": 392, "column": 66 } }, "left": { "type": "Identifier", - "start": 15534, - "end": 15553, + "start": 15570, + "end": 15589, "loc": { "start": { - "line": 391, + "line": 392, "column": 40 }, "end": { - "line": 391, + "line": 392, "column": 59 }, "identifierName": "sourceFileSizeBytes" @@ -18806,15 +18893,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 15556, - "end": 15560, + "start": 15592, + "end": 15596, "loc": { "start": { - "line": 391, + "line": 392, "column": 62 }, "end": { - "line": 391, + "line": 392, "column": 66 } }, @@ -18826,20 +18913,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 15533 + "parenStart": 15569 } }, "property": { "type": "Identifier", - "start": 15562, - "end": 15569, + "start": 15598, + "end": 15605, "loc": { "start": { - "line": 391, + "line": 392, "column": 68 }, "end": { - "line": 391, + "line": 392, "column": 75 }, "identifierName": "toFixed" @@ -18851,15 +18938,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 15570, - "end": 15571, + "start": 15606, + "end": 15607, "loc": { "start": { - "line": 391, + "line": 392, "column": 76 }, "end": { - "line": 391, + "line": 392, "column": 77 } }, @@ -18875,58 +18962,58 @@ }, { "type": "ExpressionStatement", - "start": 15594, - "end": 15650, + "start": 15630, + "end": 15686, "loc": { "start": { - "line": 392, + "line": 393, "column": 20 }, "end": { - "line": 392, + "line": 393, "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 15594, - "end": 15649, + "start": 15630, + "end": 15685, "loc": { "start": { - "line": 392, + "line": 393, "column": 20 }, "end": { - "line": 392, + "line": 393, "column": 75 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15594, - "end": 15607, + "start": 15630, + "end": 15643, "loc": { "start": { - "line": 392, + "line": 393, "column": 20 }, "end": { - "line": 392, + "line": 393, "column": 33 } }, "object": { "type": "Identifier", - "start": 15594, - "end": 15599, + "start": 15630, + "end": 15635, "loc": { "start": { - "line": 392, + "line": 393, "column": 20 }, "end": { - "line": 392, + "line": 393, "column": 25 }, "identifierName": "stats" @@ -18935,15 +19022,15 @@ }, "property": { "type": "Identifier", - "start": 15600, - "end": 15607, + "start": 15636, + "end": 15643, "loc": { "start": { - "line": 392, + "line": 393, "column": 26 }, "end": { - "line": 392, + "line": 393, "column": 33 }, "identifierName": "xktSize" @@ -18954,57 +19041,57 @@ }, "right": { "type": "CallExpression", - "start": 15610, - "end": 15649, + "start": 15646, + "end": 15685, "loc": { "start": { - "line": 392, + "line": 393, "column": 36 }, "end": { - "line": 392, + "line": 393, "column": 75 } }, "callee": { "type": "MemberExpression", - "start": 15610, - "end": 15646, + "start": 15646, + "end": 15682, "loc": { "start": { - "line": 392, + "line": 393, "column": 36 }, "end": { - "line": 392, + "line": 393, "column": 72 } }, "object": { "type": "BinaryExpression", - "start": 15611, - "end": 15637, + "start": 15647, + "end": 15673, "loc": { "start": { - "line": 392, + "line": 393, "column": 37 }, "end": { - "line": 392, + "line": 393, "column": 63 } }, "left": { "type": "Identifier", - "start": 15611, - "end": 15630, + "start": 15647, + "end": 15666, "loc": { "start": { - "line": 392, + "line": 393, "column": 37 }, "end": { - "line": 392, + "line": 393, "column": 56 }, "identifierName": "targetFileSizeBytes" @@ -19014,15 +19101,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 15633, - "end": 15637, + "start": 15669, + "end": 15673, "loc": { "start": { - "line": 392, + "line": 393, "column": 59 }, "end": { - "line": 392, + "line": 393, "column": 63 } }, @@ -19034,20 +19121,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 15610 + "parenStart": 15646 } }, "property": { "type": "Identifier", - "start": 15639, - "end": 15646, + "start": 15675, + "end": 15682, "loc": { "start": { - "line": 392, + "line": 393, "column": 65 }, "end": { - "line": 392, + "line": 393, "column": 72 }, "identifierName": "toFixed" @@ -19059,15 +19146,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 15647, - "end": 15648, + "start": 15683, + "end": 15684, "loc": { "start": { - "line": 392, + "line": 393, "column": 73 }, "end": { - "line": 392, + "line": 393, "column": 74 } }, @@ -19083,58 +19170,58 @@ }, { "type": "ExpressionStatement", - "start": 15671, - "end": 15710, + "start": 15707, + "end": 15757, "loc": { "start": { - "line": 393, + "line": 394, "column": 20 }, "end": { - "line": 393, - "column": 59 + "line": 394, + "column": 70 } }, "expression": { "type": "AssignmentExpression", - "start": 15671, - "end": 15709, + "start": 15707, + "end": 15756, "loc": { "start": { - "line": 393, + "line": 394, "column": 20 }, "end": { - "line": 393, - "column": 58 + "line": 394, + "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15671, - "end": 15687, + "start": 15707, + "end": 15723, "loc": { "start": { - "line": 393, + "line": 394, "column": 20 }, "end": { - "line": 393, + "line": 394, "column": 36 } }, "object": { "type": "Identifier", - "start": 15671, - "end": 15676, + "start": 15707, + "end": 15712, "loc": { "start": { - "line": 393, + "line": 394, "column": 20 }, "end": { - "line": 393, + "line": 394, "column": 25 }, "identifierName": "stats" @@ -19143,15 +19230,15 @@ }, "property": { "type": "Identifier", - "start": 15677, - "end": 15687, + "start": 15713, + "end": 15723, "loc": { "start": { - "line": 393, + "line": 394, "column": 26 }, "end": { - "line": 393, + "line": 394, "column": 36 }, "identifierName": "xktVersion" @@ -19161,111 +19248,163 @@ "computed": false }, "right": { - "type": "MemberExpression", - "start": 15690, - "end": 15709, + "type": "ConditionalExpression", + "start": 15726, + "end": 15756, "loc": { "start": { - "line": 393, + "line": 394, "column": 39 }, "end": { - "line": 393, - "column": 58 + "line": 394, + "column": 69 } }, - "object": { + "test": { "type": "Identifier", - "start": 15690, - "end": 15698, + "start": 15726, + "end": 15729, "loc": { "start": { - "line": 393, + "line": 394, "column": 39 }, "end": { - "line": 393, - "column": 47 + "line": 394, + "column": 42 }, - "identifierName": "XKT_INFO" + "identifierName": "zip" }, - "name": "XKT_INFO" + "name": "zip" }, - "property": { - "type": "Identifier", - "start": 15699, - "end": 15709, + "consequent": { + "type": "NumericLiteral", + "start": 15732, + "end": 15734, "loc": { "start": { - "line": 393, - "column": 48 + "line": 394, + "column": 45 }, "end": { - "line": 393, - "column": 58 - }, - "identifierName": "xktVersion" + "line": 394, + "column": 47 + } }, - "name": "xktVersion" + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 }, - "computed": false + "alternate": { + "type": "MemberExpression", + "start": 15737, + "end": 15756, + "loc": { + "start": { + "line": 394, + "column": 50 + }, + "end": { + "line": 394, + "column": 69 + } + }, + "object": { + "type": "Identifier", + "start": 15737, + "end": 15745, + "loc": { + "start": { + "line": 394, + "column": 50 + }, + "end": { + "line": 394, + "column": 58 + }, + "identifierName": "XKT_INFO" + }, + "name": "XKT_INFO" + }, + "property": { + "type": "Identifier", + "start": 15746, + "end": 15756, + "loc": { + "start": { + "line": 394, + "column": 59 + }, + "end": { + "line": 394, + "column": 69 + }, + "identifierName": "xktVersion" + }, + "name": "xktVersion" + }, + "computed": false + } } } }, { "type": "ExpressionStatement", - "start": 15731, - "end": 15811, + "start": 15778, + "end": 15858, "loc": { "start": { - "line": 394, + "line": 395, "column": 20 }, "end": { - "line": 394, + "line": 395, "column": 100 } }, "expression": { "type": "AssignmentExpression", - "start": 15731, - "end": 15810, + "start": 15778, + "end": 15857, "loc": { "start": { - "line": 394, + "line": 395, "column": 20 }, "end": { - "line": 394, + "line": 395, "column": 99 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15731, - "end": 15753, + "start": 15778, + "end": 15800, "loc": { "start": { - "line": 394, + "line": 395, "column": 20 }, "end": { - "line": 394, + "line": 395, "column": 42 } }, "object": { "type": "Identifier", - "start": 15731, - "end": 15736, + "start": 15778, + "end": 15783, "loc": { "start": { - "line": 394, + "line": 395, "column": 20 }, "end": { - "line": 394, + "line": 395, "column": 25 }, "identifierName": "stats" @@ -19274,15 +19413,15 @@ }, "property": { "type": "Identifier", - "start": 15737, - "end": 15753, + "start": 15784, + "end": 15800, "loc": { "start": { - "line": 394, + "line": 395, "column": 26 }, "end": { - "line": 394, + "line": 395, "column": 42 }, "identifierName": "compressionRatio" @@ -19293,57 +19432,57 @@ }, "right": { "type": "CallExpression", - "start": 15756, - "end": 15810, + "start": 15803, + "end": 15857, "loc": { "start": { - "line": 394, + "line": 395, "column": 45 }, "end": { - "line": 394, + "line": 395, "column": 99 } }, "callee": { "type": "MemberExpression", - "start": 15756, - "end": 15807, + "start": 15803, + "end": 15854, "loc": { "start": { - "line": 394, + "line": 395, "column": 45 }, "end": { - "line": 394, + "line": 395, "column": 96 } }, "object": { "type": "BinaryExpression", - "start": 15757, - "end": 15798, + "start": 15804, + "end": 15845, "loc": { "start": { - "line": 394, + "line": 395, "column": 46 }, "end": { - "line": 394, + "line": 395, "column": 87 } }, "left": { "type": "Identifier", - "start": 15757, - "end": 15776, + "start": 15804, + "end": 15823, "loc": { "start": { - "line": 394, + "line": 395, "column": 46 }, "end": { - "line": 394, + "line": 395, "column": 65 }, "identifierName": "sourceFileSizeBytes" @@ -19353,15 +19492,15 @@ "operator": "/", "right": { "type": "Identifier", - "start": 15779, - "end": 15798, + "start": 15826, + "end": 15845, "loc": { "start": { - "line": 394, + "line": 395, "column": 68 }, "end": { - "line": 394, + "line": 395, "column": 87 }, "identifierName": "targetFileSizeBytes" @@ -19370,20 +19509,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 15756 + "parenStart": 15803 } }, "property": { "type": "Identifier", - "start": 15800, - "end": 15807, + "start": 15847, + "end": 15854, "loc": { "start": { - "line": 394, + "line": 395, "column": 89 }, "end": { - "line": 394, + "line": 395, "column": 96 }, "identifierName": "toFixed" @@ -19395,15 +19534,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 15808, - "end": 15809, + "start": 15855, + "end": 15856, "loc": { "start": { - "line": 394, + "line": 395, "column": 97 }, "end": { - "line": 394, + "line": 395, "column": 98 } }, @@ -19419,58 +19558,58 @@ }, { "type": "ExpressionStatement", - "start": 15832, - "end": 15902, + "start": 15879, + "end": 15949, "loc": { "start": { - "line": 395, + "line": 396, "column": 20 }, "end": { - "line": 395, + "line": 396, "column": 90 } }, "expression": { "type": "AssignmentExpression", - "start": 15832, - "end": 15901, + "start": 15879, + "end": 15948, "loc": { "start": { - "line": 395, + "line": 396, "column": 20 }, "end": { - "line": 395, + "line": 396, "column": 89 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15832, - "end": 15852, + "start": 15879, + "end": 15899, "loc": { "start": { - "line": 395, + "line": 396, "column": 20 }, "end": { - "line": 395, + "line": 396, "column": 40 } }, "object": { "type": "Identifier", - "start": 15832, - "end": 15837, + "start": 15879, + "end": 15884, "loc": { "start": { - "line": 395, + "line": 396, "column": 20 }, "end": { - "line": 395, + "line": 396, "column": 25 }, "identifierName": "stats" @@ -19479,15 +19618,15 @@ }, "property": { "type": "Identifier", - "start": 15838, - "end": 15852, + "start": 15885, + "end": 15899, "loc": { "start": { - "line": 395, + "line": 396, "column": 26 }, "end": { - "line": 395, + "line": 396, "column": 40 }, "identifierName": "conversionTime" @@ -19498,85 +19637,85 @@ }, "right": { "type": "CallExpression", - "start": 15855, - "end": 15901, + "start": 15902, + "end": 15948, "loc": { "start": { - "line": 395, + "line": 396, "column": 43 }, "end": { - "line": 395, + "line": 396, "column": 89 } }, "callee": { "type": "MemberExpression", - "start": 15855, - "end": 15898, + "start": 15902, + "end": 15945, "loc": { "start": { - "line": 395, + "line": 396, "column": 43 }, "end": { - "line": 395, + "line": 396, "column": 86 } }, "object": { "type": "BinaryExpression", - "start": 15856, - "end": 15889, + "start": 15903, + "end": 15936, "loc": { "start": { - "line": 395, + "line": 396, "column": 44 }, "end": { - "line": 395, + "line": 396, "column": 77 } }, "left": { "type": "BinaryExpression", - "start": 15857, - "end": 15879, + "start": 15904, + "end": 15926, "loc": { "start": { - "line": 395, + "line": 396, "column": 45 }, "end": { - "line": 395, + "line": 396, "column": 67 } }, "left": { "type": "NewExpression", - "start": 15857, - "end": 15867, + "start": 15904, + "end": 15914, "loc": { "start": { - "line": 395, + "line": 396, "column": 45 }, "end": { - "line": 395, + "line": 396, "column": 55 } }, "callee": { "type": "Identifier", - "start": 15861, - "end": 15865, + "start": 15908, + "end": 15912, "loc": { "start": { - "line": 395, + "line": 396, "column": 49 }, "end": { - "line": 395, + "line": 396, "column": 53 }, "identifierName": "Date" @@ -19588,15 +19727,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 15870, - "end": 15879, + "start": 15917, + "end": 15926, "loc": { "start": { - "line": 395, + "line": 396, "column": 58 }, "end": { - "line": 395, + "line": 396, "column": 67 }, "identifierName": "startTime" @@ -19605,21 +19744,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 15856 + "parenStart": 15903 } }, "operator": "/", "right": { "type": "NumericLiteral", - "start": 15883, - "end": 15889, + "start": 15930, + "end": 15936, "loc": { "start": { - "line": 395, + "line": 396, "column": 71 }, "end": { - "line": 395, + "line": 396, "column": 77 } }, @@ -19631,20 +19770,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 15855 + "parenStart": 15902 } }, "property": { "type": "Identifier", - "start": 15891, - "end": 15898, + "start": 15938, + "end": 15945, "loc": { "start": { - "line": 395, + "line": 396, "column": 79 }, "end": { - "line": 395, + "line": 396, "column": 86 }, "identifierName": "toFixed" @@ -19656,15 +19795,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 15899, - "end": 15900, + "start": 15946, + "end": 15947, "loc": { "start": { - "line": 395, + "line": 396, "column": 87 }, "end": { - "line": 395, + "line": 396, "column": 88 } }, @@ -19680,58 +19819,58 @@ }, { "type": "ExpressionStatement", - "start": 15923, - "end": 15950, + "start": 15970, + "end": 15997, "loc": { "start": { - "line": 396, + "line": 397, "column": 20 }, "end": { - "line": 396, + "line": 397, "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 15923, - "end": 15949, + "start": 15970, + "end": 15996, "loc": { "start": { - "line": 396, + "line": 397, "column": 20 }, "end": { - "line": 396, + "line": 397, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15923, - "end": 15933, + "start": 15970, + "end": 15980, "loc": { "start": { - "line": 396, + "line": 397, "column": 20 }, "end": { - "line": 396, + "line": 397, "column": 30 } }, "object": { "type": "Identifier", - "start": 15923, - "end": 15928, + "start": 15970, + "end": 15975, "loc": { "start": { - "line": 396, + "line": 397, "column": 20 }, "end": { - "line": 396, + "line": 397, "column": 25 }, "identifierName": "stats" @@ -19740,15 +19879,15 @@ }, "property": { "type": "Identifier", - "start": 15929, - "end": 15933, + "start": 15976, + "end": 15980, "loc": { "start": { - "line": 396, + "line": 397, "column": 26 }, "end": { - "line": 396, + "line": 397, "column": 30 }, "identifierName": "aabb" @@ -19759,29 +19898,29 @@ }, "right": { "type": "MemberExpression", - "start": 15936, - "end": 15949, + "start": 15983, + "end": 15996, "loc": { "start": { - "line": 396, + "line": 397, "column": 33 }, "end": { - "line": 396, + "line": 397, "column": 46 } }, "object": { "type": "Identifier", - "start": 15936, - "end": 15944, + "start": 15983, + "end": 15991, "loc": { "start": { - "line": 396, + "line": 397, "column": 33 }, "end": { - "line": 396, + "line": 397, "column": 41 }, "identifierName": "xktModel" @@ -19790,15 +19929,15 @@ }, "property": { "type": "Identifier", - "start": 15945, - "end": 15949, + "start": 15992, + "end": 15996, "loc": { "start": { - "line": 396, + "line": 397, "column": 42 }, "end": { - "line": 396, + "line": 397, "column": 46 }, "identifierName": "aabb" @@ -19811,43 +19950,43 @@ }, { "type": "ExpressionStatement", - "start": 15971, - "end": 16017, + "start": 16018, + "end": 16064, "loc": { "start": { - "line": 397, + "line": 398, "column": 20 }, "end": { - "line": 397, + "line": 398, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 15971, - "end": 16016, + "start": 16018, + "end": 16063, "loc": { "start": { - "line": 397, + "line": 398, "column": 20 }, "end": { - "line": 397, + "line": 398, "column": 65 } }, "callee": { "type": "Identifier", - "start": 15971, - "end": 15974, + "start": 16018, + "end": 16021, "loc": { "start": { - "line": 397, + "line": 398, "column": 20 }, "end": { - "line": 397, + "line": 398, "column": 23 }, "identifierName": "log" @@ -19857,44 +19996,44 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 15975, - "end": 16015, + "start": 16022, + "end": 16062, "loc": { "start": { - "line": 397, + "line": 398, "column": 24 }, "end": { - "line": 397, + "line": 398, "column": 64 } }, "expressions": [ { "type": "MemberExpression", - "start": 15997, - "end": 16013, + "start": 16044, + "end": 16060, "loc": { "start": { - "line": 397, + "line": 398, "column": 46 }, "end": { - "line": 397, + "line": 398, "column": 62 } }, "object": { "type": "Identifier", - "start": 15997, - "end": 16002, + "start": 16044, + "end": 16049, "loc": { "start": { - "line": 397, + "line": 398, "column": 46 }, "end": { - "line": 397, + "line": 398, "column": 51 }, "identifierName": "stats" @@ -19903,15 +20042,15 @@ }, "property": { "type": "Identifier", - "start": 16003, - "end": 16013, + "start": 16050, + "end": 16060, "loc": { "start": { - "line": 397, + "line": 398, "column": 52 }, "end": { - "line": 397, + "line": 398, "column": 62 }, "identifierName": "xktVersion" @@ -19924,15 +20063,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 15976, - "end": 15995, + "start": 16023, + "end": 16042, "loc": { "start": { - "line": 397, + "line": 398, "column": 25 }, "end": { - "line": 397, + "line": 398, "column": 44 } }, @@ -19944,15 +20083,15 @@ }, { "type": "TemplateElement", - "start": 16014, - "end": 16014, + "start": 16061, + "end": 16061, "loc": { "start": { - "line": 397, + "line": 398, "column": 63 }, "end": { - "line": 397, + "line": 398, "column": 63 } }, @@ -19969,29 +20108,29 @@ }, { "type": "IfStatement", - "start": 16038, - "end": 16177, + "start": 16085, + "end": 16224, "loc": { "start": { - "line": 398, + "line": 399, "column": 20 }, "end": { - "line": 400, + "line": 401, "column": 21 } }, "test": { "type": "Identifier", - "start": 16042, - "end": 16054, + "start": 16089, + "end": 16101, "loc": { "start": { - "line": 398, + "line": 399, "column": 24 }, "end": { - "line": 398, + "line": 399, "column": 36 }, "identifierName": "includeTypes" @@ -20000,58 +20139,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 16056, - "end": 16177, + "start": 16103, + "end": 16224, "loc": { "start": { - "line": 398, + "line": 399, "column": 38 }, "end": { - "line": 400, + "line": 401, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 16082, - "end": 16155, + "start": 16129, + "end": 16202, "loc": { "start": { - "line": 399, + "line": 400, "column": 24 }, "end": { - "line": 399, + "line": 400, "column": 97 } }, "expression": { "type": "CallExpression", - "start": 16082, - "end": 16154, + "start": 16129, + "end": 16201, "loc": { "start": { - "line": 399, + "line": 400, "column": 24 }, "end": { - "line": 399, + "line": 400, "column": 96 } }, "callee": { "type": "Identifier", - "start": 16082, - "end": 16085, + "start": 16129, + "end": 16132, "loc": { "start": { - "line": 399, + "line": 400, "column": 24 }, "end": { - "line": 399, + "line": 400, "column": 27 }, "identifierName": "log" @@ -20061,29 +20200,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16086, - "end": 16153, + "start": 16133, + "end": 16200, "loc": { "start": { - "line": 399, + "line": 400, "column": 28 }, "end": { - "line": 399, + "line": 400, "column": 95 } }, "left": { "type": "StringLiteral", - "start": 16086, - "end": 16103, + "start": 16133, + "end": 16150, "loc": { "start": { - "line": 399, + "line": 400, "column": 28 }, "end": { - "line": 399, + "line": 400, "column": 45 } }, @@ -20096,29 +20235,29 @@ "operator": "+", "right": { "type": "ConditionalExpression", - "start": 16107, - "end": 16152, + "start": 16154, + "end": 16199, "loc": { "start": { - "line": 399, + "line": 400, "column": 49 }, "end": { - "line": 399, + "line": 400, "column": 94 } }, "test": { "type": "Identifier", - "start": 16107, - "end": 16119, + "start": 16154, + "end": 16166, "loc": { "start": { - "line": 399, + "line": 400, "column": 49 }, "end": { - "line": 399, + "line": 400, "column": 61 }, "identifierName": "includeTypes" @@ -20127,15 +20266,15 @@ }, "consequent": { "type": "Identifier", - "start": 16122, - "end": 16134, + "start": 16169, + "end": 16181, "loc": { "start": { - "line": 399, + "line": 400, "column": 64 }, "end": { - "line": 399, + "line": 400, "column": 76 }, "identifierName": "includeTypes" @@ -20144,15 +20283,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 16137, - "end": 16152, + "start": 16184, + "end": 16199, "loc": { "start": { - "line": 399, + "line": 400, "column": 79 }, "end": { - "line": 399, + "line": 400, "column": 94 } }, @@ -20164,7 +20303,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 16106 + "parenStart": 16153 } } } @@ -20178,29 +20317,29 @@ }, { "type": "IfStatement", - "start": 16198, - "end": 16338, + "start": 16245, + "end": 16385, "loc": { "start": { - "line": 401, + "line": 402, "column": 20 }, "end": { - "line": 403, + "line": 404, "column": 21 } }, "test": { "type": "Identifier", - "start": 16202, - "end": 16214, + "start": 16249, + "end": 16261, "loc": { "start": { - "line": 401, + "line": 402, "column": 24 }, "end": { - "line": 401, + "line": 402, "column": 36 }, "identifierName": "excludeTypes" @@ -20209,58 +20348,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 16216, - "end": 16338, + "start": 16263, + "end": 16385, "loc": { "start": { - "line": 401, + "line": 402, "column": 38 }, "end": { - "line": 403, + "line": 404, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 16242, - "end": 16316, + "start": 16289, + "end": 16363, "loc": { "start": { - "line": 402, + "line": 403, "column": 24 }, "end": { - "line": 402, + "line": 403, "column": 98 } }, "expression": { "type": "CallExpression", - "start": 16242, - "end": 16315, + "start": 16289, + "end": 16362, "loc": { "start": { - "line": 402, + "line": 403, "column": 24 }, "end": { - "line": 402, + "line": 403, "column": 97 } }, "callee": { "type": "Identifier", - "start": 16242, - "end": 16245, + "start": 16289, + "end": 16292, "loc": { "start": { - "line": 402, + "line": 403, "column": 24 }, "end": { - "line": 402, + "line": 403, "column": 27 }, "identifierName": "log" @@ -20270,29 +20409,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16246, - "end": 16314, + "start": 16293, + "end": 16361, "loc": { "start": { - "line": 402, + "line": 403, "column": 28 }, "end": { - "line": 402, + "line": 403, "column": 96 } }, "left": { "type": "StringLiteral", - "start": 16246, - "end": 16263, + "start": 16293, + "end": 16310, "loc": { "start": { - "line": 402, + "line": 403, "column": 28 }, "end": { - "line": 402, + "line": 403, "column": 45 } }, @@ -20305,29 +20444,29 @@ "operator": "+", "right": { "type": "ConditionalExpression", - "start": 16267, - "end": 16313, + "start": 16314, + "end": 16360, "loc": { "start": { - "line": 402, + "line": 403, "column": 49 }, "end": { - "line": 402, + "line": 403, "column": 95 } }, "test": { "type": "Identifier", - "start": 16267, - "end": 16279, + "start": 16314, + "end": 16326, "loc": { "start": { - "line": 402, + "line": 403, "column": 49 }, "end": { - "line": 402, + "line": 403, "column": 61 }, "identifierName": "excludeTypes" @@ -20336,15 +20475,15 @@ }, "consequent": { "type": "Identifier", - "start": 16282, - "end": 16294, + "start": 16329, + "end": 16341, "loc": { "start": { - "line": 402, + "line": 403, "column": 64 }, "end": { - "line": 402, + "line": 403, "column": 76 }, "identifierName": "excludeTypes" @@ -20353,15 +20492,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 16297, - "end": 16313, + "start": 16344, + "end": 16360, "loc": { "start": { - "line": 402, + "line": 403, "column": 79 }, "end": { - "line": 402, + "line": 403, "column": 95 } }, @@ -20373,7 +20512,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 16266 + "parenStart": 16313 } } } @@ -20387,43 +20526,43 @@ }, { "type": "ExpressionStatement", - "start": 16359, - "end": 16401, + "start": 16406, + "end": 16448, "loc": { "start": { - "line": 404, + "line": 405, "column": 20 }, "end": { - "line": 404, + "line": 405, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 16359, - "end": 16400, + "start": 16406, + "end": 16447, "loc": { "start": { - "line": 404, + "line": 405, "column": 20 }, "end": { - "line": 404, + "line": 405, "column": 61 } }, "callee": { "type": "Identifier", - "start": 16359, - "end": 16362, + "start": 16406, + "end": 16409, "loc": { "start": { - "line": 404, + "line": 405, "column": 20 }, "end": { - "line": 404, + "line": 405, "column": 23 }, "identifierName": "log" @@ -20433,43 +20572,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16363, - "end": 16399, + "start": 16410, + "end": 16446, "loc": { "start": { - "line": 404, + "line": 405, "column": 24 }, "end": { - "line": 404, + "line": 405, "column": 60 } }, "left": { "type": "BinaryExpression", - "start": 16363, - "end": 16391, + "start": 16410, + "end": 16438, "loc": { "start": { - "line": 404, + "line": 405, "column": 24 }, "end": { - "line": 404, + "line": 405, "column": 52 } }, "left": { "type": "StringLiteral", - "start": 16363, - "end": 16375, + "start": 16410, + "end": 16422, "loc": { "start": { - "line": 404, + "line": 405, "column": 24 }, "end": { - "line": 404, + "line": 405, "column": 36 } }, @@ -20482,29 +20621,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 16378, - "end": 16391, + "start": 16425, + "end": 16438, "loc": { "start": { - "line": 404, + "line": 405, "column": 39 }, "end": { - "line": 404, + "line": 405, "column": 52 } }, "object": { "type": "Identifier", - "start": 16378, - "end": 16383, + "start": 16425, + "end": 16430, "loc": { "start": { - "line": 404, + "line": 405, "column": 39 }, "end": { - "line": 404, + "line": 405, "column": 44 }, "identifierName": "stats" @@ -20513,15 +20652,15 @@ }, "property": { "type": "Identifier", - "start": 16384, - "end": 16391, + "start": 16431, + "end": 16438, "loc": { "start": { - "line": 404, + "line": 405, "column": 45 }, "end": { - "line": 404, + "line": 405, "column": 52 }, "identifierName": "xktSize" @@ -20534,15 +20673,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 16394, - "end": 16399, + "start": 16441, + "end": 16446, "loc": { "start": { - "line": 404, + "line": 405, "column": 55 }, "end": { - "line": 404, + "line": 405, "column": 60 } }, @@ -20558,43 +20697,43 @@ }, { "type": "ExpressionStatement", - "start": 16422, - "end": 16497, + "start": 16469, + "end": 16544, "loc": { "start": { - "line": 405, + "line": 406, "column": 20 }, "end": { - "line": 405, + "line": 406, "column": 95 } }, "expression": { "type": "CallExpression", - "start": 16422, - "end": 16496, + "start": 16469, + "end": 16543, "loc": { "start": { - "line": 405, + "line": 406, "column": 20 }, "end": { - "line": 405, + "line": 406, "column": 94 } }, "callee": { "type": "Identifier", - "start": 16422, - "end": 16425, + "start": 16469, + "end": 16472, "loc": { "start": { - "line": 405, + "line": 406, "column": 20 }, "end": { - "line": 405, + "line": 406, "column": 23 }, "identifierName": "log" @@ -20604,43 +20743,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16426, - "end": 16495, + "start": 16473, + "end": 16542, "loc": { "start": { - "line": 405, + "line": 406, "column": 24 }, "end": { - "line": 405, + "line": 406, "column": 93 } }, "left": { "type": "BinaryExpression", - "start": 16426, - "end": 16488, + "start": 16473, + "end": 16535, "loc": { "start": { - "line": 405, + "line": 406, "column": 24 }, "end": { - "line": 405, + "line": 406, "column": 86 } }, "left": { "type": "StringLiteral", - "start": 16426, - "end": 16447, + "start": 16473, + "end": 16494, "loc": { "start": { - "line": 405, + "line": 406, "column": 24 }, "end": { - "line": 405, + "line": 406, "column": 45 } }, @@ -20653,71 +20792,71 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 16450, - "end": 16488, + "start": 16497, + "end": 16535, "loc": { "start": { - "line": 405, + "line": 406, "column": 48 }, "end": { - "line": 405, + "line": 406, "column": 86 } }, "callee": { "type": "MemberExpression", - "start": 16450, - "end": 16485, + "start": 16497, + "end": 16532, "loc": { "start": { - "line": 405, + "line": 406, "column": 48 }, "end": { - "line": 405, + "line": 406, "column": 83 } }, "object": { "type": "BinaryExpression", - "start": 16451, - "end": 16476, + "start": 16498, + "end": 16523, "loc": { "start": { - "line": 405, + "line": 406, "column": 49 }, "end": { - "line": 405, + "line": 406, "column": 74 } }, "left": { "type": "MemberExpression", - "start": 16451, - "end": 16469, + "start": 16498, + "end": 16516, "loc": { "start": { - "line": 405, + "line": 406, "column": 49 }, "end": { - "line": 405, + "line": 406, "column": 67 } }, "object": { "type": "Identifier", - "start": 16451, - "end": 16456, + "start": 16498, + "end": 16503, "loc": { "start": { - "line": 405, + "line": 406, "column": 49 }, "end": { - "line": 405, + "line": 406, "column": 54 }, "identifierName": "stats" @@ -20726,15 +20865,15 @@ }, "property": { "type": "Identifier", - "start": 16457, - "end": 16469, + "start": 16504, + "end": 16516, "loc": { "start": { - "line": 405, + "line": 406, "column": 55 }, "end": { - "line": 405, + "line": 406, "column": 67 }, "identifierName": "texturesSize" @@ -20746,15 +20885,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 16472, - "end": 16476, + "start": 16519, + "end": 16523, "loc": { "start": { - "line": 405, + "line": 406, "column": 70 }, "end": { - "line": 405, + "line": 406, "column": 74 } }, @@ -20766,20 +20905,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 16450 + "parenStart": 16497 } }, "property": { "type": "Identifier", - "start": 16478, - "end": 16485, + "start": 16525, + "end": 16532, "loc": { "start": { - "line": 405, + "line": 406, "column": 76 }, "end": { - "line": 405, + "line": 406, "column": 83 }, "identifierName": "toFixed" @@ -20791,15 +20930,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 16486, - "end": 16487, + "start": 16533, + "end": 16534, "loc": { "start": { - "line": 405, + "line": 406, "column": 84 }, "end": { - "line": 405, + "line": 406, "column": 85 } }, @@ -20815,15 +20954,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 16491, - "end": 16495, + "start": 16538, + "end": 16542, "loc": { "start": { - "line": 405, + "line": 406, "column": 89 }, "end": { - "line": 405, + "line": 406, "column": 93 } }, @@ -20839,43 +20978,43 @@ }, { "type": "ExpressionStatement", - "start": 16518, - "end": 16570, + "start": 16565, + "end": 16617, "loc": { "start": { - "line": 406, + "line": 407, "column": 20 }, "end": { - "line": 406, + "line": 407, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 16518, - "end": 16569, + "start": 16565, + "end": 16616, "loc": { "start": { - "line": 406, + "line": 407, "column": 20 }, "end": { - "line": 406, + "line": 407, "column": 71 } }, "callee": { "type": "Identifier", - "start": 16518, - "end": 16521, + "start": 16565, + "end": 16568, "loc": { "start": { - "line": 406, + "line": 407, "column": 20 }, "end": { - "line": 406, + "line": 407, "column": 23 }, "identifierName": "log" @@ -20885,29 +21024,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16522, - "end": 16568, + "start": 16569, + "end": 16615, "loc": { "start": { - "line": 406, + "line": 407, "column": 24 }, "end": { - "line": 406, + "line": 407, "column": 70 } }, "left": { "type": "StringLiteral", - "start": 16522, - "end": 16543, + "start": 16569, + "end": 16590, "loc": { "start": { - "line": 406, + "line": 407, "column": 24 }, "end": { - "line": 406, + "line": 407, "column": 45 } }, @@ -20920,29 +21059,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 16546, - "end": 16568, + "start": 16593, + "end": 16615, "loc": { "start": { - "line": 406, + "line": 407, "column": 48 }, "end": { - "line": 406, + "line": 407, "column": 70 } }, "object": { "type": "Identifier", - "start": 16546, - "end": 16551, + "start": 16593, + "end": 16598, "loc": { "start": { - "line": 406, + "line": 407, "column": 48 }, "end": { - "line": 406, + "line": 407, "column": 53 }, "identifierName": "stats" @@ -20951,15 +21090,15 @@ }, "property": { "type": "Identifier", - "start": 16552, - "end": 16568, + "start": 16599, + "end": 16615, "loc": { "start": { - "line": 406, + "line": 407, "column": 54 }, "end": { - "line": 406, + "line": 407, "column": 70 }, "identifierName": "compressionRatio" @@ -20974,179 +21113,8 @@ }, { "type": "ExpressionStatement", - "start": 16591, - "end": 16646, - "loc": { - "start": { - "line": 407, - "column": 20 - }, - "end": { - "line": 407, - "column": 75 - } - }, - "expression": { - "type": "CallExpression", - "start": 16591, - "end": 16645, - "loc": { - "start": { - "line": 407, - "column": 20 - }, - "end": { - "line": 407, - "column": 74 - } - }, - "callee": { - "type": "Identifier", - "start": 16591, - "end": 16594, - "loc": { - "start": { - "line": 407, - "column": 20 - }, - "end": { - "line": 407, - "column": 23 - }, - "identifierName": "log" - }, - "name": "log" - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 16595, - "end": 16644, - "loc": { - "start": { - "line": 407, - "column": 24 - }, - "end": { - "line": 407, - "column": 73 - } - }, - "left": { - "type": "BinaryExpression", - "start": 16595, - "end": 16637, - "loc": { - "start": { - "line": 407, - "column": 24 - }, - "end": { - "line": 407, - "column": 66 - } - }, - "left": { - "type": "StringLiteral", - "start": 16595, - "end": 16614, - "loc": { - "start": { - "line": 407, - "column": 24 - }, - "end": { - "line": 407, - "column": 43 - } - }, - "extra": { - "rawValue": "Conversion time: ", - "raw": "\"Conversion time: \"" - }, - "value": "Conversion time: " - }, - "operator": "+", - "right": { - "type": "MemberExpression", - "start": 16617, - "end": 16637, - "loc": { - "start": { - "line": 407, - "column": 46 - }, - "end": { - "line": 407, - "column": 66 - } - }, - "object": { - "type": "Identifier", - "start": 16617, - "end": 16622, - "loc": { - "start": { - "line": 407, - "column": 46 - }, - "end": { - "line": 407, - "column": 51 - }, - "identifierName": "stats" - }, - "name": "stats" - }, - "property": { - "type": "Identifier", - "start": 16623, - "end": 16637, - "loc": { - "start": { - "line": 407, - "column": 52 - }, - "end": { - "line": 407, - "column": 66 - }, - "identifierName": "conversionTime" - }, - "name": "conversionTime" - }, - "computed": false - } - }, - "operator": "+", - "right": { - "type": "StringLiteral", - "start": 16640, - "end": 16644, - "loc": { - "start": { - "line": 407, - "column": 69 - }, - "end": { - "line": 407, - "column": 73 - } - }, - "extra": { - "rawValue": " s", - "raw": "\" s\"" - }, - "value": " s" - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 16667, - "end": 16721, + "start": 16638, + "end": 16693, "loc": { "start": { "line": 408, @@ -21154,13 +21122,13 @@ }, "end": { "line": 408, - "column": 74 + "column": 75 } }, "expression": { "type": "CallExpression", - "start": 16667, - "end": 16720, + "start": 16638, + "end": 16692, "loc": { "start": { "line": 408, @@ -21168,13 +21136,13 @@ }, "end": { "line": 408, - "column": 73 + "column": 74 } }, "callee": { "type": "Identifier", - "start": 16667, - "end": 16670, + "start": 16638, + "end": 16641, "loc": { "start": { "line": 408, @@ -21191,8 +21159,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16671, - "end": 16719, + "start": 16642, + "end": 16691, "loc": { "start": { "line": 408, @@ -21200,13 +21168,13 @@ }, "end": { "line": 408, - "column": 72 + "column": 73 } }, "left": { - "type": "StringLiteral", - "start": 16671, - "end": 16696, + "type": "BinaryExpression", + "start": 16642, + "end": 16684, "loc": { "start": { "line": 408, @@ -21214,65 +21182,101 @@ }, "end": { "line": 408, - "column": 49 - } - }, - "extra": { - "rawValue": "Converted metaobjects: ", - "raw": "\"Converted metaobjects: \"" - }, - "value": "Converted metaobjects: " - }, - "operator": "+", - "right": { - "type": "MemberExpression", - "start": 16699, - "end": 16719, - "loc": { - "start": { - "line": 408, - "column": 52 - }, - "end": { - "line": 408, - "column": 72 + "column": 66 } }, - "object": { - "type": "Identifier", - "start": 16699, - "end": 16704, + "left": { + "type": "StringLiteral", + "start": 16642, + "end": 16661, "loc": { "start": { "line": 408, - "column": 52 + "column": 24 }, "end": { "line": 408, - "column": 57 - }, - "identifierName": "stats" + "column": 43 + } }, - "name": "stats" + "extra": { + "rawValue": "Conversion time: ", + "raw": "\"Conversion time: \"" + }, + "value": "Conversion time: " }, - "property": { - "type": "Identifier", - "start": 16705, - "end": 16719, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 16664, + "end": 16684, "loc": { "start": { "line": 408, - "column": 58 + "column": 46 }, "end": { "line": 408, - "column": 72 + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 16664, + "end": 16669, + "loc": { + "start": { + "line": 408, + "column": 46 + }, + "end": { + "line": 408, + "column": 51 + }, + "identifierName": "stats" }, - "identifierName": "numMetaObjects" + "name": "stats" }, - "name": "numMetaObjects" + "property": { + "type": "Identifier", + "start": 16670, + "end": 16684, + "loc": { + "start": { + "line": 408, + "column": 52 + }, + "end": { + "line": 408, + "column": 66 + }, + "identifierName": "conversionTime" + }, + "name": "conversionTime" + }, + "computed": false + } + }, + "operator": "+", + "right": { + "type": "StringLiteral", + "start": 16687, + "end": 16691, + "loc": { + "start": { + "line": 408, + "column": 69 + }, + "end": { + "line": 408, + "column": 73 + } }, - "computed": false + "extra": { + "rawValue": " s", + "raw": "\" s\"" + }, + "value": " s" } } ] @@ -21280,8 +21284,8 @@ }, { "type": "ExpressionStatement", - "start": 16742, - "end": 16799, + "start": 16714, + "end": 16768, "loc": { "start": { "line": 409, @@ -21289,13 +21293,13 @@ }, "end": { "line": 409, - "column": 77 + "column": 74 } }, "expression": { "type": "CallExpression", - "start": 16742, - "end": 16798, + "start": 16714, + "end": 16767, "loc": { "start": { "line": 409, @@ -21303,13 +21307,13 @@ }, "end": { "line": 409, - "column": 76 + "column": 73 } }, "callee": { "type": "Identifier", - "start": 16742, - "end": 16745, + "start": 16714, + "end": 16717, "loc": { "start": { "line": 409, @@ -21326,8 +21330,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16746, - "end": 16797, + "start": 16718, + "end": 16766, "loc": { "start": { "line": 409, @@ -21335,13 +21339,13 @@ }, "end": { "line": 409, - "column": 75 + "column": 72 } }, "left": { "type": "StringLiteral", - "start": 16746, - "end": 16773, + "start": 16718, + "end": 16743, "loc": { "start": { "line": 409, @@ -21349,42 +21353,42 @@ }, "end": { "line": 409, - "column": 51 + "column": 49 } }, "extra": { - "rawValue": "Converted property sets: ", - "raw": "\"Converted property sets: \"" + "rawValue": "Converted metaobjects: ", + "raw": "\"Converted metaobjects: \"" }, - "value": "Converted property sets: " + "value": "Converted metaobjects: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 16776, - "end": 16797, + "start": 16746, + "end": 16766, "loc": { "start": { "line": 409, - "column": 54 + "column": 52 }, "end": { "line": 409, - "column": 75 + "column": 72 } }, "object": { "type": "Identifier", - "start": 16776, - "end": 16781, + "start": 16746, + "end": 16751, "loc": { "start": { "line": 409, - "column": 54 + "column": 52 }, "end": { "line": 409, - "column": 59 + "column": 57 }, "identifierName": "stats" }, @@ -21392,20 +21396,20 @@ }, "property": { "type": "Identifier", - "start": 16782, - "end": 16797, + "start": 16752, + "end": 16766, "loc": { "start": { "line": 409, - "column": 60 + "column": 58 }, "end": { "line": 409, - "column": 75 + "column": 72 }, - "identifierName": "numPropertySets" + "identifierName": "numMetaObjects" }, - "name": "numPropertySets" + "name": "numMetaObjects" }, "computed": false } @@ -21415,8 +21419,8 @@ }, { "type": "ExpressionStatement", - "start": 16820, - "end": 16875, + "start": 16789, + "end": 16846, "loc": { "start": { "line": 410, @@ -21424,13 +21428,13 @@ }, "end": { "line": 410, - "column": 75 + "column": 77 } }, "expression": { "type": "CallExpression", - "start": 16820, - "end": 16874, + "start": 16789, + "end": 16845, "loc": { "start": { "line": 410, @@ -21438,13 +21442,13 @@ }, "end": { "line": 410, - "column": 74 + "column": 76 } }, "callee": { "type": "Identifier", - "start": 16820, - "end": 16823, + "start": 16789, + "end": 16792, "loc": { "start": { "line": 410, @@ -21461,8 +21465,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16824, - "end": 16873, + "start": 16793, + "end": 16844, "loc": { "start": { "line": 410, @@ -21470,13 +21474,13 @@ }, "end": { "line": 410, - "column": 73 + "column": 75 } }, "left": { "type": "StringLiteral", - "start": 16824, - "end": 16854, + "start": 16793, + "end": 16820, "loc": { "start": { "line": 410, @@ -21484,42 +21488,42 @@ }, "end": { "line": 410, - "column": 54 + "column": 51 } }, "extra": { - "rawValue": "Converted drawable objects: ", - "raw": "\"Converted drawable objects: \"" + "rawValue": "Converted property sets: ", + "raw": "\"Converted property sets: \"" }, - "value": "Converted drawable objects: " + "value": "Converted property sets: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 16857, - "end": 16873, + "start": 16823, + "end": 16844, "loc": { "start": { "line": 410, - "column": 57 + "column": 54 }, "end": { "line": 410, - "column": 73 + "column": 75 } }, "object": { "type": "Identifier", - "start": 16857, - "end": 16862, + "start": 16823, + "end": 16828, "loc": { "start": { "line": 410, - "column": 57 + "column": 54 }, "end": { "line": 410, - "column": 62 + "column": 59 }, "identifierName": "stats" }, @@ -21527,20 +21531,20 @@ }, "property": { "type": "Identifier", - "start": 16863, - "end": 16873, + "start": 16829, + "end": 16844, "loc": { "start": { "line": 410, - "column": 63 + "column": 60 }, "end": { "line": 410, - "column": 73 + "column": 75 }, - "identifierName": "numObjects" + "identifierName": "numPropertySets" }, - "name": "numObjects" + "name": "numPropertySets" }, "computed": false } @@ -21550,8 +21554,8 @@ }, { "type": "ExpressionStatement", - "start": 16896, - "end": 16948, + "start": 16867, + "end": 16922, "loc": { "start": { "line": 411, @@ -21559,13 +21563,13 @@ }, "end": { "line": 411, - "column": 72 + "column": 75 } }, "expression": { "type": "CallExpression", - "start": 16896, - "end": 16947, + "start": 16867, + "end": 16921, "loc": { "start": { "line": 411, @@ -21573,13 +21577,13 @@ }, "end": { "line": 411, - "column": 71 + "column": 74 } }, "callee": { "type": "Identifier", - "start": 16896, - "end": 16899, + "start": 16867, + "end": 16870, "loc": { "start": { "line": 411, @@ -21596,8 +21600,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16900, - "end": 16946, + "start": 16871, + "end": 16920, "loc": { "start": { "line": 411, @@ -21605,13 +21609,13 @@ }, "end": { "line": 411, - "column": 70 + "column": 73 } }, "left": { "type": "StringLiteral", - "start": 16900, - "end": 16924, + "start": 16871, + "end": 16901, "loc": { "start": { "line": 411, @@ -21619,42 +21623,42 @@ }, "end": { "line": 411, - "column": 48 + "column": 54 } }, "extra": { - "rawValue": "Converted geometries: ", - "raw": "\"Converted geometries: \"" + "rawValue": "Converted drawable objects: ", + "raw": "\"Converted drawable objects: \"" }, - "value": "Converted geometries: " + "value": "Converted drawable objects: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 16927, - "end": 16946, + "start": 16904, + "end": 16920, "loc": { "start": { "line": 411, - "column": 51 + "column": 57 }, "end": { "line": 411, - "column": 70 + "column": 73 } }, "object": { "type": "Identifier", - "start": 16927, - "end": 16932, + "start": 16904, + "end": 16909, "loc": { "start": { "line": 411, - "column": 51 + "column": 57 }, "end": { "line": 411, - "column": 56 + "column": 62 }, "identifierName": "stats" }, @@ -21662,20 +21666,20 @@ }, "property": { "type": "Identifier", - "start": 16933, - "end": 16946, + "start": 16910, + "end": 16920, "loc": { "start": { "line": 411, - "column": 57 + "column": 63 }, "end": { "line": 411, - "column": 70 + "column": 73 }, - "identifierName": "numGeometries" + "identifierName": "numObjects" }, - "name": "numGeometries" + "name": "numObjects" }, "computed": false } @@ -21685,8 +21689,8 @@ }, { "type": "ExpressionStatement", - "start": 16969, - "end": 17017, + "start": 16943, + "end": 16995, "loc": { "start": { "line": 412, @@ -21694,13 +21698,13 @@ }, "end": { "line": 412, - "column": 68 + "column": 72 } }, "expression": { "type": "CallExpression", - "start": 16969, - "end": 17016, + "start": 16943, + "end": 16994, "loc": { "start": { "line": 412, @@ -21708,13 +21712,13 @@ }, "end": { "line": 412, - "column": 67 + "column": 71 } }, "callee": { "type": "Identifier", - "start": 16969, - "end": 16972, + "start": 16943, + "end": 16946, "loc": { "start": { "line": 412, @@ -21731,8 +21735,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16973, - "end": 17015, + "start": 16947, + "end": 16993, "loc": { "start": { "line": 412, @@ -21740,13 +21744,13 @@ }, "end": { "line": 412, - "column": 66 + "column": 70 } }, "left": { "type": "StringLiteral", - "start": 16973, - "end": 16995, + "start": 16947, + "end": 16971, "loc": { "start": { "line": 412, @@ -21754,42 +21758,42 @@ }, "end": { "line": 412, - "column": 46 + "column": 48 } }, "extra": { - "rawValue": "Converted textures: ", - "raw": "\"Converted textures: \"" + "rawValue": "Converted geometries: ", + "raw": "\"Converted geometries: \"" }, - "value": "Converted textures: " + "value": "Converted geometries: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 16998, - "end": 17015, + "start": 16974, + "end": 16993, "loc": { "start": { "line": 412, - "column": 49 + "column": 51 }, "end": { "line": 412, - "column": 66 + "column": 70 } }, "object": { "type": "Identifier", - "start": 16998, - "end": 17003, + "start": 16974, + "end": 16979, "loc": { "start": { "line": 412, - "column": 49 + "column": 51 }, "end": { "line": 412, - "column": 54 + "column": 56 }, "identifierName": "stats" }, @@ -21797,20 +21801,20 @@ }, "property": { "type": "Identifier", - "start": 17004, - "end": 17015, + "start": 16980, + "end": 16993, "loc": { "start": { "line": 412, - "column": 55 + "column": 57 }, "end": { "line": 412, - "column": 66 + "column": 70 }, - "identifierName": "numTextures" + "identifierName": "numGeometries" }, - "name": "numTextures" + "name": "numGeometries" }, "computed": false } @@ -21820,8 +21824,8 @@ }, { "type": "ExpressionStatement", - "start": 17038, - "end": 17092, + "start": 17016, + "end": 17064, "loc": { "start": { "line": 413, @@ -21829,13 +21833,13 @@ }, "end": { "line": 413, - "column": 74 + "column": 68 } }, "expression": { "type": "CallExpression", - "start": 17038, - "end": 17091, + "start": 17016, + "end": 17063, "loc": { "start": { "line": 413, @@ -21843,13 +21847,13 @@ }, "end": { "line": 413, - "column": 73 + "column": 67 } }, "callee": { "type": "Identifier", - "start": 17038, - "end": 17041, + "start": 17016, + "end": 17019, "loc": { "start": { "line": 413, @@ -21866,8 +21870,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17042, - "end": 17090, + "start": 17020, + "end": 17062, "loc": { "start": { "line": 413, @@ -21875,13 +21879,13 @@ }, "end": { "line": 413, - "column": 72 + "column": 66 } }, "left": { "type": "StringLiteral", - "start": 17042, - "end": 17067, + "start": 17020, + "end": 17042, "loc": { "start": { "line": 413, @@ -21889,42 +21893,42 @@ }, "end": { "line": 413, - "column": 49 + "column": 46 } }, "extra": { - "rawValue": "Converted textureSets: ", - "raw": "\"Converted textureSets: \"" + "rawValue": "Converted textures: ", + "raw": "\"Converted textures: \"" }, - "value": "Converted textureSets: " + "value": "Converted textures: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 17070, - "end": 17090, + "start": 17045, + "end": 17062, "loc": { "start": { "line": 413, - "column": 52 + "column": 49 }, "end": { "line": 413, - "column": 72 + "column": 66 } }, "object": { "type": "Identifier", - "start": 17070, - "end": 17075, + "start": 17045, + "end": 17050, "loc": { "start": { "line": 413, - "column": 52 + "column": 49 }, "end": { "line": 413, - "column": 57 + "column": 54 }, "identifierName": "stats" }, @@ -21932,20 +21936,20 @@ }, "property": { "type": "Identifier", - "start": 17076, - "end": 17090, + "start": 17051, + "end": 17062, "loc": { "start": { "line": 413, - "column": 58 + "column": 55 }, "end": { "line": 413, - "column": 72 + "column": 66 }, - "identifierName": "numTextureSets" + "identifierName": "numTextures" }, - "name": "numTextureSets" + "name": "numTextures" }, "computed": false } @@ -21955,8 +21959,8 @@ }, { "type": "ExpressionStatement", - "start": 17113, - "end": 17163, + "start": 17085, + "end": 17139, "loc": { "start": { "line": 414, @@ -21964,13 +21968,13 @@ }, "end": { "line": 414, - "column": 70 + "column": 74 } }, "expression": { "type": "CallExpression", - "start": 17113, - "end": 17162, + "start": 17085, + "end": 17138, "loc": { "start": { "line": 414, @@ -21978,13 +21982,13 @@ }, "end": { "line": 414, - "column": 69 + "column": 73 } }, "callee": { "type": "Identifier", - "start": 17113, - "end": 17116, + "start": 17085, + "end": 17088, "loc": { "start": { "line": 414, @@ -22001,8 +22005,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17117, - "end": 17161, + "start": 17089, + "end": 17137, "loc": { "start": { "line": 414, @@ -22010,13 +22014,13 @@ }, "end": { "line": 414, - "column": 68 + "column": 72 } }, "left": { "type": "StringLiteral", - "start": 17117, - "end": 17140, + "start": 17089, + "end": 17114, "loc": { "start": { "line": 414, @@ -22024,42 +22028,42 @@ }, "end": { "line": 414, - "column": 47 + "column": 49 } }, "extra": { - "rawValue": "Converted triangles: ", - "raw": "\"Converted triangles: \"" + "rawValue": "Converted textureSets: ", + "raw": "\"Converted textureSets: \"" }, - "value": "Converted triangles: " + "value": "Converted textureSets: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 17143, - "end": 17161, + "start": 17117, + "end": 17137, "loc": { "start": { "line": 414, - "column": 50 + "column": 52 }, "end": { "line": 414, - "column": 68 + "column": 72 } }, "object": { "type": "Identifier", - "start": 17143, - "end": 17148, + "start": 17117, + "end": 17122, "loc": { "start": { "line": 414, - "column": 50 + "column": 52 }, "end": { "line": 414, - "column": 55 + "column": 57 }, "identifierName": "stats" }, @@ -22067,20 +22071,20 @@ }, "property": { "type": "Identifier", - "start": 17149, - "end": 17161, + "start": 17123, + "end": 17137, "loc": { "start": { "line": 414, - "column": 56 + "column": 58 }, "end": { "line": 414, - "column": 68 + "column": 72 }, - "identifierName": "numTriangles" + "identifierName": "numTextureSets" }, - "name": "numTriangles" + "name": "numTextureSets" }, "computed": false } @@ -22090,8 +22094,8 @@ }, { "type": "ExpressionStatement", - "start": 17184, - "end": 17232, + "start": 17160, + "end": 17210, "loc": { "start": { "line": 415, @@ -22099,13 +22103,13 @@ }, "end": { "line": 415, - "column": 68 + "column": 70 } }, "expression": { "type": "CallExpression", - "start": 17184, - "end": 17231, + "start": 17160, + "end": 17209, "loc": { "start": { "line": 415, @@ -22113,13 +22117,13 @@ }, "end": { "line": 415, - "column": 67 + "column": 69 } }, "callee": { "type": "Identifier", - "start": 17184, - "end": 17187, + "start": 17160, + "end": 17163, "loc": { "start": { "line": 415, @@ -22136,8 +22140,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17188, - "end": 17230, + "start": 17164, + "end": 17208, "loc": { "start": { "line": 415, @@ -22145,13 +22149,13 @@ }, "end": { "line": 415, - "column": 66 + "column": 68 } }, "left": { "type": "StringLiteral", - "start": 17188, - "end": 17210, + "start": 17164, + "end": 17187, "loc": { "start": { "line": 415, @@ -22159,42 +22163,42 @@ }, "end": { "line": 415, - "column": 46 + "column": 47 } }, "extra": { - "rawValue": "Converted vertices: ", - "raw": "\"Converted vertices: \"" + "rawValue": "Converted triangles: ", + "raw": "\"Converted triangles: \"" }, - "value": "Converted vertices: " + "value": "Converted triangles: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 17213, - "end": 17230, + "start": 17190, + "end": 17208, "loc": { "start": { "line": 415, - "column": 49 + "column": 50 }, "end": { "line": 415, - "column": 66 + "column": 68 } }, "object": { "type": "Identifier", - "start": 17213, - "end": 17218, + "start": 17190, + "end": 17195, "loc": { "start": { "line": 415, - "column": 49 + "column": 50 }, "end": { "line": 415, - "column": 54 + "column": 55 }, "identifierName": "stats" }, @@ -22202,20 +22206,20 @@ }, "property": { "type": "Identifier", - "start": 17219, - "end": 17230, + "start": 17196, + "end": 17208, "loc": { "start": { "line": 415, - "column": 55 + "column": 56 }, "end": { "line": 415, - "column": 66 + "column": 68 }, - "identifierName": "numVertices" + "identifierName": "numTriangles" }, - "name": "numVertices" + "name": "numTriangles" }, "computed": false } @@ -22225,8 +22229,8 @@ }, { "type": "ExpressionStatement", - "start": 17253, - "end": 17291, + "start": 17231, + "end": 17279, "loc": { "start": { "line": 416, @@ -22234,13 +22238,13 @@ }, "end": { "line": 416, - "column": 58 + "column": 68 } }, "expression": { "type": "CallExpression", - "start": 17253, - "end": 17290, + "start": 17231, + "end": 17278, "loc": { "start": { "line": 416, @@ -22248,13 +22252,13 @@ }, "end": { "line": 416, - "column": 57 + "column": 67 } }, "callee": { "type": "Identifier", - "start": 17253, - "end": 17256, + "start": 17231, + "end": 17234, "loc": { "start": { "line": 416, @@ -22271,8 +22275,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17257, - "end": 17289, + "start": 17235, + "end": 17277, "loc": { "start": { "line": 416, @@ -22280,13 +22284,13 @@ }, "end": { "line": 416, - "column": 56 + "column": 66 } }, "left": { "type": "StringLiteral", - "start": 17257, - "end": 17274, + "start": 17235, + "end": 17257, "loc": { "start": { "line": 416, @@ -22294,42 +22298,42 @@ }, "end": { "line": 416, - "column": 41 + "column": 46 } }, "extra": { - "rawValue": "Converted UVs: ", - "raw": "\"Converted UVs: \"" + "rawValue": "Converted vertices: ", + "raw": "\"Converted vertices: \"" }, - "value": "Converted UVs: " + "value": "Converted vertices: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 17277, - "end": 17289, + "start": 17260, + "end": 17277, "loc": { "start": { "line": 416, - "column": 44 + "column": 49 }, "end": { "line": 416, - "column": 56 + "column": 66 } }, "object": { "type": "Identifier", - "start": 17277, - "end": 17282, + "start": 17260, + "end": 17265, "loc": { "start": { "line": 416, - "column": 44 + "column": 49 }, "end": { "line": 416, - "column": 49 + "column": 54 }, "identifierName": "stats" }, @@ -22337,20 +22341,20 @@ }, "property": { "type": "Identifier", - "start": 17283, - "end": 17289, + "start": 17266, + "end": 17277, "loc": { "start": { "line": 416, - "column": 50 + "column": 55 }, "end": { "line": 416, - "column": 56 + "column": 66 }, - "identifierName": "numUVs" + "identifierName": "numVertices" }, - "name": "numUVs" + "name": "numVertices" }, "computed": false } @@ -22360,8 +22364,8 @@ }, { "type": "ExpressionStatement", - "start": 17312, - "end": 17358, + "start": 17300, + "end": 17338, "loc": { "start": { "line": 417, @@ -22369,13 +22373,13 @@ }, "end": { "line": 417, - "column": 66 + "column": 58 } }, "expression": { "type": "CallExpression", - "start": 17312, - "end": 17357, + "start": 17300, + "end": 17337, "loc": { "start": { "line": 417, @@ -22383,13 +22387,13 @@ }, "end": { "line": 417, - "column": 65 + "column": 57 } }, "callee": { "type": "Identifier", - "start": 17312, - "end": 17315, + "start": 17300, + "end": 17303, "loc": { "start": { "line": 417, @@ -22406,8 +22410,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17316, - "end": 17356, + "start": 17304, + "end": 17336, "loc": { "start": { "line": 417, @@ -22415,13 +22419,13 @@ }, "end": { "line": 417, - "column": 64 + "column": 56 } }, "left": { "type": "StringLiteral", - "start": 17316, - "end": 17337, + "start": 17304, + "end": 17321, "loc": { "start": { "line": 417, @@ -22429,42 +22433,42 @@ }, "end": { "line": 417, - "column": 45 + "column": 41 } }, "extra": { - "rawValue": "Converted normals: ", - "raw": "\"Converted normals: \"" + "rawValue": "Converted UVs: ", + "raw": "\"Converted UVs: \"" }, - "value": "Converted normals: " + "value": "Converted UVs: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 17340, - "end": 17356, + "start": 17324, + "end": 17336, "loc": { "start": { "line": 417, - "column": 48 + "column": 44 }, "end": { "line": 417, - "column": 64 + "column": 56 } }, "object": { "type": "Identifier", - "start": 17340, - "end": 17345, + "start": 17324, + "end": 17329, "loc": { "start": { "line": 417, - "column": 48 + "column": 44 }, "end": { "line": 417, - "column": 53 + "column": 49 }, "identifierName": "stats" }, @@ -22472,20 +22476,20 @@ }, "property": { "type": "Identifier", - "start": 17346, - "end": 17356, + "start": 17330, + "end": 17336, "loc": { "start": { "line": 417, - "column": 54 + "column": 50 }, "end": { "line": 417, - "column": 64 + "column": 56 }, - "identifierName": "numNormals" + "identifierName": "numUVs" }, - "name": "numNormals" + "name": "numUVs" }, "computed": false } @@ -22495,8 +22499,8 @@ }, { "type": "ExpressionStatement", - "start": 17379, - "end": 17432, + "start": 17359, + "end": 17405, "loc": { "start": { "line": 418, @@ -22504,13 +22508,13 @@ }, "end": { "line": 418, - "column": 73 + "column": 66 } }, "expression": { "type": "CallExpression", - "start": 17379, - "end": 17431, + "start": 17359, + "end": 17404, "loc": { "start": { "line": 418, @@ -22518,13 +22522,13 @@ }, "end": { "line": 418, - "column": 72 + "column": 65 } }, "callee": { "type": "Identifier", - "start": 17379, - "end": 17382, + "start": 17359, + "end": 17362, "loc": { "start": { "line": 418, @@ -22541,8 +22545,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17383, - "end": 17430, + "start": 17363, + "end": 17403, "loc": { "start": { "line": 418, @@ -22550,13 +22554,13 @@ }, "end": { "line": 418, - "column": 71 + "column": 64 } }, "left": { "type": "StringLiteral", - "start": 17383, - "end": 17402, + "start": 17363, + "end": 17384, "loc": { "start": { "line": 418, @@ -22564,6 +22568,141 @@ }, "end": { "line": 418, + "column": 45 + } + }, + "extra": { + "rawValue": "Converted normals: ", + "raw": "\"Converted normals: \"" + }, + "value": "Converted normals: " + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 17387, + "end": 17403, + "loc": { + "start": { + "line": 418, + "column": 48 + }, + "end": { + "line": 418, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 17387, + "end": 17392, + "loc": { + "start": { + "line": 418, + "column": 48 + }, + "end": { + "line": 418, + "column": 53 + }, + "identifierName": "stats" + }, + "name": "stats" + }, + "property": { + "type": "Identifier", + "start": 17393, + "end": 17403, + "loc": { + "start": { + "line": 418, + "column": 54 + }, + "end": { + "line": 418, + "column": 64 + }, + "identifierName": "numNormals" + }, + "name": "numNormals" + }, + "computed": false + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 17426, + "end": 17479, + "loc": { + "start": { + "line": 419, + "column": 20 + }, + "end": { + "line": 419, + "column": 73 + } + }, + "expression": { + "type": "CallExpression", + "start": 17426, + "end": 17478, + "loc": { + "start": { + "line": 419, + "column": 20 + }, + "end": { + "line": 419, + "column": 72 + } + }, + "callee": { + "type": "Identifier", + "start": 17426, + "end": 17429, + "loc": { + "start": { + "line": 419, + "column": 20 + }, + "end": { + "line": 419, + "column": 23 + }, + "identifierName": "log" + }, + "name": "log" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 17430, + "end": 17477, + "loc": { + "start": { + "line": 419, + "column": 24 + }, + "end": { + "line": 419, + "column": 71 + } + }, + "left": { + "type": "StringLiteral", + "start": 17430, + "end": 17449, + "loc": { + "start": { + "line": 419, + "column": 24 + }, + "end": { + "line": 419, "column": 43 } }, @@ -22576,43 +22715,43 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 17405, - "end": 17430, + "start": 17452, + "end": 17477, "loc": { "start": { - "line": 418, + "line": 419, "column": 46 }, "end": { - "line": 418, + "line": 419, "column": 71 } }, "object": { "type": "MemberExpression", - "start": 17405, - "end": 17423, + "start": 17452, + "end": 17470, "loc": { "start": { - "line": 418, + "line": 419, "column": 46 }, "end": { - "line": 418, + "line": 419, "column": 64 } }, "object": { "type": "Identifier", - "start": 17405, - "end": 17413, + "start": 17452, + "end": 17460, "loc": { "start": { - "line": 418, + "line": 419, "column": 46 }, "end": { - "line": 418, + "line": 419, "column": 54 }, "identifierName": "xktModel" @@ -22621,15 +22760,15 @@ }, "property": { "type": "Identifier", - "start": 17414, - "end": 17423, + "start": 17461, + "end": 17470, "loc": { "start": { - "line": 418, + "line": 419, "column": 55 }, "end": { - "line": 418, + "line": 419, "column": 64 }, "identifierName": "tilesList" @@ -22640,15 +22779,15 @@ }, "property": { "type": "Identifier", - "start": 17424, - "end": 17430, + "start": 17471, + "end": 17477, "loc": { "start": { - "line": 418, + "line": 419, "column": 65 }, "end": { - "line": 418, + "line": 419, "column": 71 }, "identifierName": "length" @@ -22663,43 +22802,43 @@ }, { "type": "ExpressionStatement", - "start": 17453, - "end": 17494, + "start": 17500, + "end": 17541, "loc": { "start": { - "line": 419, + "line": 420, "column": 20 }, "end": { - "line": 419, + "line": 420, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 17453, - "end": 17493, + "start": 17500, + "end": 17540, "loc": { "start": { - "line": 419, + "line": 420, "column": 20 }, "end": { - "line": 419, + "line": 420, "column": 60 } }, "callee": { "type": "Identifier", - "start": 17453, - "end": 17456, + "start": 17500, + "end": 17503, "loc": { "start": { - "line": 419, + "line": 420, "column": 20 }, "end": { - "line": 419, + "line": 420, "column": 23 }, "identifierName": "log" @@ -22709,29 +22848,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17457, - "end": 17492, + "start": 17504, + "end": 17539, "loc": { "start": { - "line": 419, + "line": 420, "column": 24 }, "end": { - "line": 419, + "line": 420, "column": 59 } }, "left": { "type": "StringLiteral", - "start": 17457, - "end": 17472, + "start": 17504, + "end": 17519, "loc": { "start": { - "line": 419, + "line": 420, "column": 24 }, "end": { - "line": 419, + "line": 420, "column": 39 } }, @@ -22744,29 +22883,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 17475, - "end": 17492, + "start": 17522, + "end": 17539, "loc": { "start": { - "line": 419, + "line": 420, "column": 42 }, "end": { - "line": 419, + "line": 420, "column": 59 } }, "object": { "type": "Identifier", - "start": 17475, - "end": 17480, + "start": 17522, + "end": 17527, "loc": { "start": { - "line": 419, + "line": 420, "column": 42 }, "end": { - "line": 419, + "line": 420, "column": 47 }, "identifierName": "stats" @@ -22775,15 +22914,15 @@ }, "property": { "type": "Identifier", - "start": 17481, - "end": 17492, + "start": 17528, + "end": 17539, "loc": { "start": { - "line": 419, + "line": 420, "column": 48 }, "end": { - "line": 419, + "line": 420, "column": 59 }, "identifierName": "minTileSize" @@ -22798,29 +22937,29 @@ }, { "type": "IfStatement", - "start": 17516, - "end": 17912, + "start": 17563, + "end": 17959, "loc": { "start": { - "line": 421, + "line": 422, "column": 20 }, "end": { - "line": 428, + "line": 429, "column": 21 } }, "test": { "type": "Identifier", - "start": 17520, - "end": 17526, + "start": 17567, + "end": 17573, "loc": { "start": { - "line": 421, + "line": 422, "column": 24 }, "end": { - "line": 421, + "line": 422, "column": 30 }, "identifierName": "output" @@ -22829,59 +22968,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17528, - "end": 17912, + "start": 17575, + "end": 17959, "loc": { "start": { - "line": 421, + "line": 422, "column": 32 }, "end": { - "line": 428, + "line": 429, "column": 21 } }, "body": [ { "type": "VariableDeclaration", - "start": 17554, - "end": 17593, + "start": 17601, + "end": 17640, "loc": { "start": { - "line": 422, + "line": 423, "column": 24 }, "end": { - "line": 422, + "line": 423, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17560, - "end": 17592, + "start": 17607, + "end": 17639, "loc": { "start": { - "line": 422, + "line": 423, "column": 30 }, "end": { - "line": 422, + "line": 423, "column": 62 } }, "id": { "type": "Identifier", - "start": 17560, - "end": 17569, + "start": 17607, + "end": 17616, "loc": { "start": { - "line": 422, + "line": 423, "column": 30 }, "end": { - "line": 422, + "line": 423, "column": 39 }, "identifierName": "outputDir" @@ -22890,43 +23029,43 @@ }, "init": { "type": "CallExpression", - "start": 17572, - "end": 17592, + "start": 17619, + "end": 17639, "loc": { "start": { - "line": 422, + "line": 423, "column": 42 }, "end": { - "line": 422, + "line": 423, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 17572, - "end": 17584, + "start": 17619, + "end": 17631, "loc": { "start": { - "line": 422, + "line": 423, "column": 42 }, "end": { - "line": 422, + "line": 423, "column": 54 } }, "object": { "type": "Identifier", - "start": 17572, - "end": 17576, + "start": 17619, + "end": 17623, "loc": { "start": { - "line": 422, + "line": 423, "column": 42 }, "end": { - "line": 422, + "line": 423, "column": 46 }, "identifierName": "path" @@ -22935,15 +23074,15 @@ }, "property": { "type": "Identifier", - "start": 17577, - "end": 17584, + "start": 17624, + "end": 17631, "loc": { "start": { - "line": 422, + "line": 423, "column": 47 }, "end": { - "line": 422, + "line": 423, "column": 54 }, "identifierName": "dirname" @@ -22955,15 +23094,15 @@ "arguments": [ { "type": "Identifier", - "start": 17585, - "end": 17591, + "start": 17632, + "end": 17638, "loc": { "start": { - "line": 422, + "line": 423, "column": 55 }, "end": { - "line": 422, + "line": 423, "column": 61 }, "identifierName": "output" @@ -22978,57 +23117,57 @@ }, { "type": "IfStatement", - "start": 17618, - "end": 17768, + "start": 17665, + "end": 17815, "loc": { "start": { - "line": 423, + "line": 424, "column": 24 }, "end": { - "line": 425, + "line": 426, "column": 25 } }, "test": { "type": "LogicalExpression", - "start": 17622, - "end": 17667, + "start": 17669, + "end": 17714, "loc": { "start": { - "line": 423, + "line": 424, "column": 28 }, "end": { - "line": 423, + "line": 424, "column": 73 } }, "left": { "type": "BinaryExpression", - "start": 17622, - "end": 17638, + "start": 17669, + "end": 17685, "loc": { "start": { - "line": 423, + "line": 424, "column": 28 }, "end": { - "line": 423, + "line": 424, "column": 44 } }, "left": { "type": "Identifier", - "start": 17622, - "end": 17631, + "start": 17669, + "end": 17678, "loc": { "start": { - "line": 423, + "line": 424, "column": 28 }, "end": { - "line": 423, + "line": 424, "column": 37 }, "identifierName": "outputDir" @@ -23038,15 +23177,15 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 17636, - "end": 17638, + "start": 17683, + "end": 17685, "loc": { "start": { - "line": 423, + "line": 424, "column": 42 }, "end": { - "line": 423, + "line": 424, "column": 44 } }, @@ -23060,15 +23199,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 17642, - "end": 17667, + "start": 17689, + "end": 17714, "loc": { "start": { - "line": 423, + "line": 424, "column": 48 }, "end": { - "line": 423, + "line": 424, "column": 73 } }, @@ -23076,43 +23215,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 17643, - "end": 17667, + "start": 17690, + "end": 17714, "loc": { "start": { - "line": 423, + "line": 424, "column": 49 }, "end": { - "line": 423, + "line": 424, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 17643, - "end": 17656, + "start": 17690, + "end": 17703, "loc": { "start": { - "line": 423, + "line": 424, "column": 49 }, "end": { - "line": 423, + "line": 424, "column": 62 } }, "object": { "type": "Identifier", - "start": 17643, - "end": 17645, + "start": 17690, + "end": 17692, "loc": { "start": { - "line": 423, + "line": 424, "column": 49 }, "end": { - "line": 423, + "line": 424, "column": 51 }, "identifierName": "fs" @@ -23121,15 +23260,15 @@ }, "property": { "type": "Identifier", - "start": 17646, - "end": 17656, + "start": 17693, + "end": 17703, "loc": { "start": { - "line": 423, + "line": 424, "column": 52 }, "end": { - "line": 423, + "line": 424, "column": 62 }, "identifierName": "existsSync" @@ -23141,15 +23280,15 @@ "arguments": [ { "type": "Identifier", - "start": 17657, - "end": 17666, + "start": 17704, + "end": 17713, "loc": { "start": { - "line": 423, + "line": 424, "column": 63 }, "end": { - "line": 423, + "line": 424, "column": 72 }, "identifierName": "outputDir" @@ -23165,72 +23304,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 17669, - "end": 17768, + "start": 17716, + "end": 17815, "loc": { "start": { - "line": 423, + "line": 424, "column": 75 }, "end": { - "line": 425, + "line": 426, "column": 25 } }, "body": [ { "type": "ExpressionStatement", - "start": 17699, - "end": 17742, + "start": 17746, + "end": 17789, "loc": { "start": { - "line": 424, + "line": 425, "column": 28 }, "end": { - "line": 424, + "line": 425, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 17699, - "end": 17741, + "start": 17746, + "end": 17788, "loc": { "start": { - "line": 424, + "line": 425, "column": 28 }, "end": { - "line": 424, + "line": 425, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 17699, - "end": 17711, + "start": 17746, + "end": 17758, "loc": { "start": { - "line": 424, + "line": 425, "column": 28 }, "end": { - "line": 424, + "line": 425, "column": 40 } }, "object": { "type": "Identifier", - "start": 17699, - "end": 17701, + "start": 17746, + "end": 17748, "loc": { "start": { - "line": 424, + "line": 425, "column": 28 }, "end": { - "line": 424, + "line": 425, "column": 30 }, "identifierName": "fs" @@ -23239,15 +23378,15 @@ }, "property": { "type": "Identifier", - "start": 17702, - "end": 17711, + "start": 17749, + "end": 17758, "loc": { "start": { - "line": 424, + "line": 425, "column": 31 }, "end": { - "line": 424, + "line": 425, "column": 40 }, "identifierName": "mkdirSync" @@ -23259,15 +23398,15 @@ "arguments": [ { "type": "Identifier", - "start": 17712, - "end": 17721, + "start": 17759, + "end": 17768, "loc": { "start": { - "line": 424, + "line": 425, "column": 41 }, "end": { - "line": 424, + "line": 425, "column": 50 }, "identifierName": "outputDir" @@ -23276,30 +23415,30 @@ }, { "type": "ObjectExpression", - "start": 17723, - "end": 17740, + "start": 17770, + "end": 17787, "loc": { "start": { - "line": 424, + "line": 425, "column": 52 }, "end": { - "line": 424, + "line": 425, "column": 69 } }, "properties": [ { "type": "ObjectProperty", - "start": 17724, - "end": 17739, + "start": 17771, + "end": 17786, "loc": { "start": { - "line": 424, + "line": 425, "column": 53 }, "end": { - "line": 424, + "line": 425, "column": 68 } }, @@ -23308,15 +23447,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17724, - "end": 17733, + "start": 17771, + "end": 17780, "loc": { "start": { - "line": 424, + "line": 425, "column": 53 }, "end": { - "line": 424, + "line": 425, "column": 62 }, "identifierName": "recursive" @@ -23325,15 +23464,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 17735, - "end": 17739, + "start": 17782, + "end": 17786, "loc": { "start": { - "line": 424, + "line": 425, "column": 64 }, "end": { - "line": 424, + "line": 425, "column": 68 } }, @@ -23352,43 +23491,43 @@ }, { "type": "ExpressionStatement", - "start": 17793, - "end": 17828, + "start": 17840, + "end": 17875, "loc": { "start": { - "line": 426, + "line": 427, "column": 24 }, "end": { - "line": 426, + "line": 427, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 17793, - "end": 17827, + "start": 17840, + "end": 17874, "loc": { "start": { - "line": 426, + "line": 427, "column": 24 }, "end": { - "line": 426, + "line": 427, "column": 58 } }, "callee": { "type": "Identifier", - "start": 17793, - "end": 17796, + "start": 17840, + "end": 17843, "loc": { "start": { - "line": 426, + "line": 427, "column": 24 }, "end": { - "line": 426, + "line": 427, "column": 27 }, "identifierName": "log" @@ -23398,29 +23537,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17797, - "end": 17826, + "start": 17844, + "end": 17873, "loc": { "start": { - "line": 426, + "line": 427, "column": 28 }, "end": { - "line": 426, + "line": 427, "column": 57 } }, "left": { "type": "StringLiteral", - "start": 17797, - "end": 17817, + "start": 17844, + "end": 17864, "loc": { "start": { - "line": 426, + "line": 427, "column": 28 }, "end": { - "line": 426, + "line": 427, "column": 48 } }, @@ -23433,15 +23572,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 17820, - "end": 17826, + "start": 17867, + "end": 17873, "loc": { "start": { - "line": 426, + "line": 427, "column": 51 }, "end": { - "line": 426, + "line": 427, "column": 57 }, "identifierName": "output" @@ -23454,57 +23593,57 @@ }, { "type": "ExpressionStatement", - "start": 17853, - "end": 17890, + "start": 17900, + "end": 17937, "loc": { "start": { - "line": 427, + "line": 428, "column": 24 }, "end": { - "line": 427, + "line": 428, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 17853, - "end": 17889, + "start": 17900, + "end": 17936, "loc": { "start": { - "line": 427, + "line": 428, "column": 24 }, "end": { - "line": 427, + "line": 428, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 17853, - "end": 17869, + "start": 17900, + "end": 17916, "loc": { "start": { - "line": 427, + "line": 428, "column": 24 }, "end": { - "line": 427, + "line": 428, "column": 40 } }, "object": { "type": "Identifier", - "start": 17853, - "end": 17855, + "start": 17900, + "end": 17902, "loc": { "start": { - "line": 427, + "line": 428, "column": 24 }, "end": { - "line": 427, + "line": 428, "column": 26 }, "identifierName": "fs" @@ -23513,15 +23652,15 @@ }, "property": { "type": "Identifier", - "start": 17856, - "end": 17869, + "start": 17903, + "end": 17916, "loc": { "start": { - "line": 427, + "line": 428, "column": 27 }, "end": { - "line": 427, + "line": 428, "column": 40 }, "identifierName": "writeFileSync" @@ -23533,15 +23672,15 @@ "arguments": [ { "type": "Identifier", - "start": 17870, - "end": 17876, + "start": 17917, + "end": 17923, "loc": { "start": { - "line": 427, + "line": 428, "column": 41 }, "end": { - "line": 427, + "line": 428, "column": 47 }, "identifierName": "output" @@ -23550,15 +23689,15 @@ }, { "type": "Identifier", - "start": 17878, - "end": 17888, + "start": 17925, + "end": 17935, "loc": { "start": { - "line": 427, + "line": 428, "column": 49 }, "end": { - "line": 427, + "line": 428, "column": 59 }, "identifierName": "xktContent" @@ -23575,29 +23714,29 @@ }, { "type": "IfStatement", - "start": 17934, - "end": 18027, + "start": 17981, + "end": 18074, "loc": { "start": { - "line": 430, + "line": 431, "column": 20 }, "end": { - "line": 432, + "line": 433, "column": 21 } }, "test": { "type": "Identifier", - "start": 17938, - "end": 17952, + "start": 17985, + "end": 17999, "loc": { "start": { - "line": 430, + "line": 431, "column": 24 }, "end": { - "line": 430, + "line": 431, "column": 38 }, "identifierName": "outputXKTModel" @@ -23606,58 +23745,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 17954, - "end": 18027, + "start": 18001, + "end": 18074, "loc": { "start": { - "line": 430, + "line": 431, "column": 40 }, "end": { - "line": 432, + "line": 433, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 17980, - "end": 18005, + "start": 18027, + "end": 18052, "loc": { "start": { - "line": 431, + "line": 432, "column": 24 }, "end": { - "line": 431, + "line": 432, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 17980, - "end": 18004, + "start": 18027, + "end": 18051, "loc": { "start": { - "line": 431, + "line": 432, "column": 24 }, "end": { - "line": 431, + "line": 432, "column": 48 } }, "callee": { "type": "Identifier", - "start": 17980, - "end": 17994, + "start": 18027, + "end": 18041, "loc": { "start": { - "line": 431, + "line": 432, "column": 24 }, "end": { - "line": 431, + "line": 432, "column": 38 }, "identifierName": "outputXKTModel" @@ -23667,15 +23806,15 @@ "arguments": [ { "type": "Identifier", - "start": 17995, - "end": 18003, + "start": 18042, + "end": 18050, "loc": { "start": { - "line": 431, + "line": 432, "column": 39 }, "end": { - "line": 431, + "line": 432, "column": 47 }, "identifierName": "xktModel" @@ -23692,29 +23831,29 @@ }, { "type": "IfStatement", - "start": 18049, - "end": 18134, + "start": 18096, + "end": 18181, "loc": { "start": { - "line": 434, + "line": 435, "column": 20 }, "end": { - "line": 436, + "line": 437, "column": 21 } }, "test": { "type": "Identifier", - "start": 18053, - "end": 18062, + "start": 18100, + "end": 18109, "loc": { "start": { - "line": 434, + "line": 435, "column": 24 }, "end": { - "line": 434, + "line": 435, "column": 33 }, "identifierName": "outputXKT" @@ -23723,58 +23862,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 18064, - "end": 18134, + "start": 18111, + "end": 18181, "loc": { "start": { - "line": 434, + "line": 435, "column": 35 }, "end": { - "line": 436, + "line": 437, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 18090, - "end": 18112, + "start": 18137, + "end": 18159, "loc": { "start": { - "line": 435, + "line": 436, "column": 24 }, "end": { - "line": 435, + "line": 436, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 18090, - "end": 18111, + "start": 18137, + "end": 18158, "loc": { "start": { - "line": 435, + "line": 436, "column": 24 }, "end": { - "line": 435, + "line": 436, "column": 45 } }, "callee": { "type": "Identifier", - "start": 18090, - "end": 18099, + "start": 18137, + "end": 18146, "loc": { "start": { - "line": 435, + "line": 436, "column": 24 }, "end": { - "line": 435, + "line": 436, "column": 33 }, "identifierName": "outputXKT" @@ -23784,15 +23923,15 @@ "arguments": [ { "type": "Identifier", - "start": 18100, - "end": 18110, + "start": 18147, + "end": 18157, "loc": { "start": { - "line": 435, + "line": 436, "column": 34 }, "end": { - "line": 435, + "line": 436, "column": 44 }, "identifierName": "xktContent" @@ -23809,29 +23948,29 @@ }, { "type": "IfStatement", - "start": 18156, - "end": 18240, + "start": 18203, + "end": 18287, "loc": { "start": { - "line": 438, + "line": 439, "column": 20 }, "end": { - "line": 440, + "line": 441, "column": 21 } }, "test": { "type": "Identifier", - "start": 18160, - "end": 18171, + "start": 18207, + "end": 18218, "loc": { "start": { - "line": 438, + "line": 439, "column": 24 }, "end": { - "line": 438, + "line": 439, "column": 35 }, "identifierName": "outputStats" @@ -23840,58 +23979,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 18173, - "end": 18240, + "start": 18220, + "end": 18287, "loc": { "start": { - "line": 438, + "line": 439, "column": 37 }, "end": { - "line": 440, + "line": 441, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 18199, - "end": 18218, + "start": 18246, + "end": 18265, "loc": { "start": { - "line": 439, + "line": 440, "column": 24 }, "end": { - "line": 439, + "line": 440, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 18199, - "end": 18217, + "start": 18246, + "end": 18264, "loc": { "start": { - "line": 439, + "line": 440, "column": 24 }, "end": { - "line": 439, + "line": 440, "column": 42 } }, "callee": { "type": "Identifier", - "start": 18199, - "end": 18210, + "start": 18246, + "end": 18257, "loc": { "start": { - "line": 439, + "line": 440, "column": 24 }, "end": { - "line": 439, + "line": 440, "column": 35 }, "identifierName": "outputStats" @@ -23901,15 +24040,15 @@ "arguments": [ { "type": "Identifier", - "start": 18211, - "end": 18216, + "start": 18258, + "end": 18263, "loc": { "start": { - "line": 439, + "line": 440, "column": 36 }, "end": { - "line": 439, + "line": 440, "column": 41 }, "identifierName": "stats" @@ -23926,43 +24065,43 @@ }, { "type": "ExpressionStatement", - "start": 18262, - "end": 18272, + "start": 18309, + "end": 18319, "loc": { "start": { - "line": 442, + "line": 443, "column": 20 }, "end": { - "line": 442, + "line": 443, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 18262, - "end": 18271, + "start": 18309, + "end": 18318, "loc": { "start": { - "line": 442, + "line": 443, "column": 20 }, "end": { - "line": 442, + "line": 443, "column": 29 } }, "callee": { "type": "Identifier", - "start": 18262, - "end": 18269, + "start": 18309, + "end": 18316, "loc": { "start": { - "line": 442, + "line": 443, "column": 20 }, "end": { - "line": 442, + "line": 443, "column": 27 }, "identifierName": "resolve" @@ -23985,15 +24124,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 18308, - "end": 18361, + "start": 18355, + "end": 18408, "loc": { "start": { - "line": 444, + "line": 445, "column": 15 }, "end": { - "line": 446, + "line": 447, "column": 13 } }, @@ -24004,15 +24143,15 @@ "params": [ { "type": "Identifier", - "start": 18309, - "end": 18312, + "start": 18356, + "end": 18359, "loc": { "start": { - "line": 444, + "line": 445, "column": 16 }, "end": { - "line": 444, + "line": 445, "column": 19 }, "identifierName": "err" @@ -24022,58 +24161,58 @@ ], "body": { "type": "BlockStatement", - "start": 18317, - "end": 18361, + "start": 18364, + "end": 18408, "loc": { "start": { - "line": 444, + "line": 445, "column": 24 }, "end": { - "line": 446, + "line": 447, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 18335, - "end": 18347, + "start": 18382, + "end": 18394, "loc": { "start": { - "line": 445, + "line": 446, "column": 16 }, "end": { - "line": 445, + "line": 446, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 18335, - "end": 18346, + "start": 18382, + "end": 18393, "loc": { "start": { - "line": 445, + "line": 446, "column": 16 }, "end": { - "line": 445, + "line": 446, "column": 27 } }, "callee": { "type": "Identifier", - "start": 18335, - "end": 18341, + "start": 18382, + "end": 18388, "loc": { "start": { - "line": 445, + "line": 446, "column": 16 }, "end": { - "line": 445, + "line": 446, "column": 22 }, "identifierName": "reject" @@ -24083,15 +24222,15 @@ "arguments": [ { "type": "Identifier", - "start": 18342, - "end": 18345, + "start": 18389, + "end": 18392, "loc": { "start": { - "line": 445, + "line": 446, "column": 23 }, "end": { - "line": 445, + "line": 446, "column": 26 }, "identifierName": "err" @@ -24128,15 +24267,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 18385, - "end": 18406, + "start": 18432, + "end": 18453, "loc": { "start": { - "line": 451, + "line": 452, "column": 0 }, "end": { - "line": 451, + "line": 452, "column": 21 } }, @@ -24144,29 +24283,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 18393, - "end": 18404, + "start": 18440, + "end": 18451, "loc": { "start": { - "line": 451, + "line": 452, "column": 8 }, "end": { - "line": 451, + "line": 452, "column": 19 } }, "local": { "type": "Identifier", - "start": 18393, - "end": 18404, + "start": 18440, + "end": 18451, "loc": { "start": { - "line": 451, + "line": 452, "column": 8 }, "end": { - "line": 451, + "line": 452, "column": 19 }, "identifierName": "convert2xkt" @@ -24175,15 +24314,15 @@ }, "exported": { "type": "Identifier", - "start": 18393, - "end": 18404, + "start": 18440, + "end": 18451, "loc": { "start": { - "line": 451, + "line": 452, "column": 8 }, "end": { - "line": 451, + "line": 452, "column": 19 }, "identifierName": "convert2xkt" @@ -24196,29 +24335,29 @@ }, { "type": "ExportNamedDeclaration", - "start": 18385, - "end": 18406, + "start": 18432, + "end": 18453, "loc": { "start": { - "line": 451, + "line": 452, "column": 0 }, "end": { - "line": 451, + "line": 452, "column": 21 } }, "declaration": { "type": "FunctionDeclaration", "start": 5090, - "end": 18383, + "end": 18430, "loc": { "start": { "line": 75, "column": 0 }, "end": { - "line": 449, + "line": 450, "column": 1 } }, @@ -24247,14 +24386,14 @@ { "type": "ObjectPattern", "start": 5111, - "end": 6007, + "end": 6044, "loc": { "start": { "line": 75, "column": 21 }, "end": { - "line": 98, + "line": 99, "column": 22 } }, @@ -25583,15 +25722,15 @@ { "type": "ObjectProperty", "start": 5935, - "end": 5984, + "end": 5945, "loc": { "start": { "line": 96, "column": 25 }, "end": { - "line": 97, - "column": 26 + "line": 96, + "column": 35 } }, "method": false, @@ -25610,22 +25749,22 @@ "line": 96, "column": 28 }, - "identifierName": "log" + "identifierName": "zip" }, - "name": "log" + "name": "zip" }, "value": { "type": "AssignmentPattern", "start": 5935, - "end": 5984, + "end": 5945, "loc": { "start": { "line": 96, "column": 25 }, "end": { - "line": 97, - "column": 26 + "line": 96, + "column": 35 } }, "left": { @@ -25641,21 +25780,107 @@ "line": 96, "column": 28 }, - "identifierName": "log" + "identifierName": "zip" }, - "name": "log" + "name": "zip" }, "right": { - "type": "FunctionExpression", + "type": "BooleanLiteral", "start": 5941, - "end": 5984, + "end": 5945, "loc": { "start": { "line": 96, "column": 31 }, "end": { + "line": 96, + "column": 35 + } + }, + "value": true + } + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 5972, + "end": 6021, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 98, + "column": 26 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 5972, + "end": 5975, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 97, + "column": 28 + }, + "identifierName": "log" + }, + "name": "log" + }, + "value": { + "type": "AssignmentPattern", + "start": 5972, + "end": 6021, + "loc": { + "start": { + "line": 97, + "column": 25 + }, + "end": { + "line": 98, + "column": 26 + } + }, + "left": { + "type": "Identifier", + "start": 5972, + "end": 5975, + "loc": { + "start": { "line": 97, + "column": 25 + }, + "end": { + "line": 97, + "column": 28 + }, + "identifierName": "log" + }, + "name": "log" + }, + "right": { + "type": "FunctionExpression", + "start": 5978, + "end": 6021, + "loc": { + "start": { + "line": 97, + "column": 31 + }, + "end": { + "line": 98, "column": 26 } }, @@ -25666,15 +25891,15 @@ "params": [ { "type": "Identifier", - "start": 5951, - "end": 5954, + "start": 5988, + "end": 5991, "loc": { "start": { - "line": 96, + "line": 97, "column": 41 }, "end": { - "line": 96, + "line": 97, "column": 44 }, "identifierName": "msg" @@ -25684,15 +25909,15 @@ ], "body": { "type": "BlockStatement", - "start": 5956, - "end": 5984, + "start": 5993, + "end": 6021, "loc": { "start": { - "line": 96, + "line": 97, "column": 46 }, "end": { - "line": 97, + "line": 98, "column": 26 } }, @@ -25710,124 +25935,23 @@ ], "body": { "type": "BlockStatement", - "start": 6009, - "end": 18383, + "start": 6046, + "end": 18430, "loc": { "start": { - "line": 98, + "line": 99, "column": 24 }, "end": { - "line": 449, + "line": 450, "column": 1 } }, "body": [ { "type": "ExpressionStatement", - "start": 6016, - "end": 6040, - "loc": { - "start": { - "line": 100, - "column": 4 - }, - "end": { - "line": 100, - "column": 28 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6016, - "end": 6039, - "loc": { - "start": { - "line": 100, - "column": 4 - }, - "end": { - "line": 100, - "column": 27 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6016, - "end": 6034, - "loc": { - "start": { - "line": 100, - "column": 4 - }, - "end": { - "line": 100, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 6016, - "end": 6021, - "loc": { - "start": { - "line": 100, - "column": 4 - }, - "end": { - "line": 100, - "column": 9 - }, - "identifierName": "stats" - }, - "name": "stats" - }, - "property": { - "type": "Identifier", - "start": 6022, - "end": 6034, - "loc": { - "start": { - "line": 100, - "column": 10 - }, - "end": { - "line": 100, - "column": 22 - }, - "identifierName": "sourceFormat" - }, - "name": "sourceFormat" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 6037, - "end": 6039, - "loc": { - "start": { - "line": 100, - "column": 25 - }, - "end": { - "line": 100, - "column": 27 - } - }, - "extra": { - "rawValue": "", - "raw": "\"\"" - }, - "value": "" - } - } - }, - { - "type": "ExpressionStatement", - "start": 6045, - "end": 6070, + "start": 6053, + "end": 6077, "loc": { "start": { "line": 101, @@ -25835,13 +25959,13 @@ }, "end": { "line": 101, - "column": 29 + "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 6045, - "end": 6069, + "start": 6053, + "end": 6076, "loc": { "start": { "line": 101, @@ -25849,14 +25973,14 @@ }, "end": { "line": 101, - "column": 28 + "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6045, - "end": 6064, + "start": 6053, + "end": 6071, "loc": { "start": { "line": 101, @@ -25864,13 +25988,13 @@ }, "end": { "line": 101, - "column": 23 + "column": 22 } }, "object": { "type": "Identifier", - "start": 6045, - "end": 6050, + "start": 6053, + "end": 6058, "loc": { "start": { "line": 101, @@ -25886,8 +26010,8 @@ }, "property": { "type": "Identifier", - "start": 6051, - "end": 6064, + "start": 6059, + "end": 6071, "loc": { "start": { "line": 101, @@ -25895,26 +26019,26 @@ }, "end": { "line": 101, - "column": 23 + "column": 22 }, - "identifierName": "schemaVersion" + "identifierName": "sourceFormat" }, - "name": "schemaVersion" + "name": "sourceFormat" }, "computed": false }, "right": { "type": "StringLiteral", - "start": 6067, - "end": 6069, + "start": 6074, + "end": 6076, "loc": { "start": { "line": 101, - "column": 26 + "column": 25 }, "end": { "line": 101, - "column": 28 + "column": 27 } }, "extra": { @@ -25927,8 +26051,8 @@ }, { "type": "ExpressionStatement", - "start": 6075, - "end": 6092, + "start": 6082, + "end": 6107, "loc": { "start": { "line": 102, @@ -25936,13 +26060,13 @@ }, "end": { "line": 102, - "column": 21 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 6075, - "end": 6091, + "start": 6082, + "end": 6106, "loc": { "start": { "line": 102, @@ -25950,14 +26074,14 @@ }, "end": { "line": 102, - "column": 20 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6075, - "end": 6086, + "start": 6082, + "end": 6101, "loc": { "start": { "line": 102, @@ -25965,13 +26089,13 @@ }, "end": { "line": 102, - "column": 15 + "column": 23 } }, "object": { "type": "Identifier", - "start": 6075, - "end": 6080, + "start": 6082, + "end": 6087, "loc": { "start": { "line": 102, @@ -25987,8 +26111,8 @@ }, "property": { "type": "Identifier", - "start": 6081, - "end": 6086, + "start": 6088, + "end": 6101, "loc": { "start": { "line": 102, @@ -25996,26 +26120,26 @@ }, "end": { "line": 102, - "column": 15 + "column": 23 }, - "identifierName": "title" + "identifierName": "schemaVersion" }, - "name": "title" + "name": "schemaVersion" }, "computed": false }, "right": { "type": "StringLiteral", - "start": 6089, - "end": 6091, + "start": 6104, + "end": 6106, "loc": { "start": { "line": 102, - "column": 18 + "column": 26 }, "end": { "line": 102, - "column": 20 + "column": 28 } }, "extra": { @@ -26028,8 +26152,8 @@ }, { "type": "ExpressionStatement", - "start": 6097, - "end": 6115, + "start": 6112, + "end": 6129, "loc": { "start": { "line": 103, @@ -26037,13 +26161,13 @@ }, "end": { "line": 103, - "column": 22 + "column": 21 } }, "expression": { "type": "AssignmentExpression", - "start": 6097, - "end": 6114, + "start": 6112, + "end": 6128, "loc": { "start": { "line": 103, @@ -26051,14 +26175,14 @@ }, "end": { "line": 103, - "column": 21 + "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6097, - "end": 6109, + "start": 6112, + "end": 6123, "loc": { "start": { "line": 103, @@ -26066,13 +26190,13 @@ }, "end": { "line": 103, - "column": 16 + "column": 15 } }, "object": { "type": "Identifier", - "start": 6097, - "end": 6102, + "start": 6112, + "end": 6117, "loc": { "start": { "line": 103, @@ -26088,8 +26212,8 @@ }, "property": { "type": "Identifier", - "start": 6103, - "end": 6109, + "start": 6118, + "end": 6123, "loc": { "start": { "line": 103, @@ -26097,26 +26221,26 @@ }, "end": { "line": 103, - "column": 16 + "column": 15 }, - "identifierName": "author" + "identifierName": "title" }, - "name": "author" + "name": "title" }, "computed": false }, "right": { "type": "StringLiteral", - "start": 6112, - "end": 6114, + "start": 6126, + "end": 6128, "loc": { "start": { "line": 103, - "column": 19 + "column": 18 }, "end": { "line": 103, - "column": 21 + "column": 20 } }, "extra": { @@ -26129,8 +26253,8 @@ }, { "type": "ExpressionStatement", - "start": 6120, - "end": 6139, + "start": 6134, + "end": 6152, "loc": { "start": { "line": 104, @@ -26138,13 +26262,13 @@ }, "end": { "line": 104, - "column": 23 + "column": 22 } }, "expression": { "type": "AssignmentExpression", - "start": 6120, - "end": 6138, + "start": 6134, + "end": 6151, "loc": { "start": { "line": 104, @@ -26152,14 +26276,14 @@ }, "end": { "line": 104, - "column": 22 + "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6120, - "end": 6133, + "start": 6134, + "end": 6146, "loc": { "start": { "line": 104, @@ -26167,13 +26291,13 @@ }, "end": { "line": 104, - "column": 17 + "column": 16 } }, "object": { "type": "Identifier", - "start": 6120, - "end": 6125, + "start": 6134, + "end": 6139, "loc": { "start": { "line": 104, @@ -26189,8 +26313,8 @@ }, "property": { "type": "Identifier", - "start": 6126, - "end": 6133, + "start": 6140, + "end": 6146, "loc": { "start": { "line": 104, @@ -26198,26 +26322,26 @@ }, "end": { "line": 104, - "column": 17 + "column": 16 }, - "identifierName": "created" + "identifierName": "author" }, - "name": "created" + "name": "author" }, "computed": false }, "right": { "type": "StringLiteral", - "start": 6136, - "end": 6138, + "start": 6149, + "end": 6151, "loc": { "start": { "line": 104, - "column": 20 + "column": 19 }, "end": { "line": 104, - "column": 22 + "column": 21 } }, "extra": { @@ -26230,8 +26354,8 @@ }, { "type": "ExpressionStatement", - "start": 6144, - "end": 6169, + "start": 6157, + "end": 6176, "loc": { "start": { "line": 105, @@ -26239,13 +26363,13 @@ }, "end": { "line": 105, - "column": 29 + "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 6144, - "end": 6168, + "start": 6157, + "end": 6175, "loc": { "start": { "line": 105, @@ -26253,14 +26377,14 @@ }, "end": { "line": 105, - "column": 28 + "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6144, - "end": 6164, + "start": 6157, + "end": 6170, "loc": { "start": { "line": 105, @@ -26268,13 +26392,13 @@ }, "end": { "line": 105, - "column": 24 + "column": 17 } }, "object": { "type": "Identifier", - "start": 6144, - "end": 6149, + "start": 6157, + "end": 6162, "loc": { "start": { "line": 105, @@ -26290,8 +26414,8 @@ }, "property": { "type": "Identifier", - "start": 6150, - "end": 6164, + "start": 6163, + "end": 6170, "loc": { "start": { "line": 105, @@ -26299,40 +26423,40 @@ }, "end": { "line": 105, - "column": 24 + "column": 17 }, - "identifierName": "numMetaObjects" + "identifierName": "created" }, - "name": "numMetaObjects" + "name": "created" }, "computed": false }, "right": { - "type": "NumericLiteral", - "start": 6167, - "end": 6168, + "type": "StringLiteral", + "start": 6173, + "end": 6175, "loc": { "start": { "line": 105, - "column": 27 + "column": 20 }, "end": { "line": 105, - "column": 28 + "column": 22 } }, "extra": { - "rawValue": 0, - "raw": "0" + "rawValue": "", + "raw": "\"\"" }, - "value": 0 + "value": "" } } }, { "type": "ExpressionStatement", - "start": 6174, - "end": 6200, + "start": 6181, + "end": 6206, "loc": { "start": { "line": 106, @@ -26340,13 +26464,13 @@ }, "end": { "line": 106, - "column": 30 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 6174, - "end": 6199, + "start": 6181, + "end": 6205, "loc": { "start": { "line": 106, @@ -26354,14 +26478,14 @@ }, "end": { "line": 106, - "column": 29 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6174, - "end": 6195, + "start": 6181, + "end": 6201, "loc": { "start": { "line": 106, @@ -26369,13 +26493,13 @@ }, "end": { "line": 106, - "column": 25 + "column": 24 } }, "object": { "type": "Identifier", - "start": 6174, - "end": 6179, + "start": 6181, + "end": 6186, "loc": { "start": { "line": 106, @@ -26391,8 +26515,8 @@ }, "property": { "type": "Identifier", - "start": 6180, - "end": 6195, + "start": 6187, + "end": 6201, "loc": { "start": { "line": 106, @@ -26400,26 +26524,26 @@ }, "end": { "line": 106, - "column": 25 + "column": 24 }, - "identifierName": "numPropertySets" + "identifierName": "numMetaObjects" }, - "name": "numPropertySets" + "name": "numMetaObjects" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6198, - "end": 6199, + "start": 6204, + "end": 6205, "loc": { "start": { "line": 106, - "column": 28 + "column": 27 }, "end": { "line": 106, - "column": 29 + "column": 28 } }, "extra": { @@ -26432,8 +26556,8 @@ }, { "type": "ExpressionStatement", - "start": 6205, - "end": 6228, + "start": 6211, + "end": 6237, "loc": { "start": { "line": 107, @@ -26441,13 +26565,13 @@ }, "end": { "line": 107, - "column": 27 + "column": 30 } }, "expression": { "type": "AssignmentExpression", - "start": 6205, - "end": 6227, + "start": 6211, + "end": 6236, "loc": { "start": { "line": 107, @@ -26455,14 +26579,14 @@ }, "end": { "line": 107, - "column": 26 + "column": 29 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6205, - "end": 6223, + "start": 6211, + "end": 6232, "loc": { "start": { "line": 107, @@ -26470,13 +26594,13 @@ }, "end": { "line": 107, - "column": 22 + "column": 25 } }, "object": { "type": "Identifier", - "start": 6205, - "end": 6210, + "start": 6211, + "end": 6216, "loc": { "start": { "line": 107, @@ -26492,8 +26616,8 @@ }, "property": { "type": "Identifier", - "start": 6211, - "end": 6223, + "start": 6217, + "end": 6232, "loc": { "start": { "line": 107, @@ -26501,26 +26625,26 @@ }, "end": { "line": 107, - "column": 22 + "column": 25 }, - "identifierName": "numTriangles" + "identifierName": "numPropertySets" }, - "name": "numTriangles" + "name": "numPropertySets" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6226, - "end": 6227, + "start": 6235, + "end": 6236, "loc": { "start": { "line": 107, - "column": 25 + "column": 28 }, "end": { "line": 107, - "column": 26 + "column": 29 } }, "extra": { @@ -26533,8 +26657,8 @@ }, { "type": "ExpressionStatement", - "start": 6233, - "end": 6255, + "start": 6242, + "end": 6265, "loc": { "start": { "line": 108, @@ -26542,13 +26666,13 @@ }, "end": { "line": 108, - "column": 26 + "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 6233, - "end": 6254, + "start": 6242, + "end": 6264, "loc": { "start": { "line": 108, @@ -26556,14 +26680,14 @@ }, "end": { "line": 108, - "column": 25 + "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6233, - "end": 6250, + "start": 6242, + "end": 6260, "loc": { "start": { "line": 108, @@ -26571,13 +26695,13 @@ }, "end": { "line": 108, - "column": 21 + "column": 22 } }, "object": { "type": "Identifier", - "start": 6233, - "end": 6238, + "start": 6242, + "end": 6247, "loc": { "start": { "line": 108, @@ -26593,8 +26717,8 @@ }, "property": { "type": "Identifier", - "start": 6239, - "end": 6250, + "start": 6248, + "end": 6260, "loc": { "start": { "line": 108, @@ -26602,26 +26726,26 @@ }, "end": { "line": 108, - "column": 21 + "column": 22 }, - "identifierName": "numVertices" + "identifierName": "numTriangles" }, - "name": "numVertices" + "name": "numTriangles" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6253, - "end": 6254, + "start": 6263, + "end": 6264, "loc": { "start": { "line": 108, - "column": 24 + "column": 25 }, "end": { "line": 108, - "column": 25 + "column": 26 } }, "extra": { @@ -26634,8 +26758,8 @@ }, { "type": "ExpressionStatement", - "start": 6260, - "end": 6281, + "start": 6270, + "end": 6292, "loc": { "start": { "line": 109, @@ -26643,13 +26767,13 @@ }, "end": { "line": 109, - "column": 25 + "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 6260, - "end": 6280, + "start": 6270, + "end": 6291, "loc": { "start": { "line": 109, @@ -26657,14 +26781,14 @@ }, "end": { "line": 109, - "column": 24 + "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6260, - "end": 6276, + "start": 6270, + "end": 6287, "loc": { "start": { "line": 109, @@ -26672,13 +26796,13 @@ }, "end": { "line": 109, - "column": 20 + "column": 21 } }, "object": { "type": "Identifier", - "start": 6260, - "end": 6265, + "start": 6270, + "end": 6275, "loc": { "start": { "line": 109, @@ -26694,8 +26818,8 @@ }, "property": { "type": "Identifier", - "start": 6266, - "end": 6276, + "start": 6276, + "end": 6287, "loc": { "start": { "line": 109, @@ -26703,26 +26827,26 @@ }, "end": { "line": 109, - "column": 20 + "column": 21 }, - "identifierName": "numNormals" + "identifierName": "numVertices" }, - "name": "numNormals" + "name": "numVertices" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6279, - "end": 6280, + "start": 6290, + "end": 6291, "loc": { "start": { "line": 109, - "column": 23 + "column": 24 }, "end": { "line": 109, - "column": 24 + "column": 25 } }, "extra": { @@ -26735,8 +26859,8 @@ }, { "type": "ExpressionStatement", - "start": 6286, - "end": 6303, + "start": 6297, + "end": 6318, "loc": { "start": { "line": 110, @@ -26744,13 +26868,13 @@ }, "end": { "line": 110, - "column": 21 + "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 6286, - "end": 6302, + "start": 6297, + "end": 6317, "loc": { "start": { "line": 110, @@ -26758,14 +26882,14 @@ }, "end": { "line": 110, - "column": 20 + "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6286, - "end": 6298, + "start": 6297, + "end": 6313, "loc": { "start": { "line": 110, @@ -26773,13 +26897,13 @@ }, "end": { "line": 110, - "column": 16 + "column": 20 } }, "object": { "type": "Identifier", - "start": 6286, - "end": 6291, + "start": 6297, + "end": 6302, "loc": { "start": { "line": 110, @@ -26795,8 +26919,8 @@ }, "property": { "type": "Identifier", - "start": 6292, - "end": 6298, + "start": 6303, + "end": 6313, "loc": { "start": { "line": 110, @@ -26804,26 +26928,26 @@ }, "end": { "line": 110, - "column": 16 + "column": 20 }, - "identifierName": "numUVs" + "identifierName": "numNormals" }, - "name": "numUVs" + "name": "numNormals" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6301, - "end": 6302, + "start": 6316, + "end": 6317, "loc": { "start": { "line": 110, - "column": 19 + "column": 23 }, "end": { "line": 110, - "column": 20 + "column": 24 } }, "extra": { @@ -26836,8 +26960,8 @@ }, { "type": "ExpressionStatement", - "start": 6308, - "end": 6330, + "start": 6323, + "end": 6340, "loc": { "start": { "line": 111, @@ -26845,13 +26969,13 @@ }, "end": { "line": 111, - "column": 26 + "column": 21 } }, "expression": { "type": "AssignmentExpression", - "start": 6308, - "end": 6329, + "start": 6323, + "end": 6339, "loc": { "start": { "line": 111, @@ -26859,14 +26983,14 @@ }, "end": { "line": 111, - "column": 25 + "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6308, - "end": 6325, + "start": 6323, + "end": 6335, "loc": { "start": { "line": 111, @@ -26874,13 +26998,13 @@ }, "end": { "line": 111, - "column": 21 + "column": 16 } }, "object": { "type": "Identifier", - "start": 6308, - "end": 6313, + "start": 6323, + "end": 6328, "loc": { "start": { "line": 111, @@ -26896,8 +27020,8 @@ }, "property": { "type": "Identifier", - "start": 6314, - "end": 6325, + "start": 6329, + "end": 6335, "loc": { "start": { "line": 111, @@ -26905,26 +27029,26 @@ }, "end": { "line": 111, - "column": 21 + "column": 16 }, - "identifierName": "numTextures" + "identifierName": "numUVs" }, - "name": "numTextures" + "name": "numUVs" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6328, - "end": 6329, + "start": 6338, + "end": 6339, "loc": { "start": { "line": 111, - "column": 24 + "column": 19 }, "end": { "line": 111, - "column": 25 + "column": 20 } }, "extra": { @@ -26937,8 +27061,8 @@ }, { "type": "ExpressionStatement", - "start": 6335, - "end": 6360, + "start": 6345, + "end": 6367, "loc": { "start": { "line": 112, @@ -26946,13 +27070,13 @@ }, "end": { "line": 112, - "column": 29 + "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 6335, - "end": 6359, + "start": 6345, + "end": 6366, "loc": { "start": { "line": 112, @@ -26960,14 +27084,14 @@ }, "end": { "line": 112, - "column": 28 + "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6335, - "end": 6355, + "start": 6345, + "end": 6362, "loc": { "start": { "line": 112, @@ -26975,13 +27099,13 @@ }, "end": { "line": 112, - "column": 24 + "column": 21 } }, "object": { "type": "Identifier", - "start": 6335, - "end": 6340, + "start": 6345, + "end": 6350, "loc": { "start": { "line": 112, @@ -26997,8 +27121,8 @@ }, "property": { "type": "Identifier", - "start": 6341, - "end": 6355, + "start": 6351, + "end": 6362, "loc": { "start": { "line": 112, @@ -27006,26 +27130,26 @@ }, "end": { "line": 112, - "column": 24 + "column": 21 }, - "identifierName": "numTextureSets" + "identifierName": "numTextures" }, - "name": "numTextureSets" + "name": "numTextures" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6358, - "end": 6359, + "start": 6365, + "end": 6366, "loc": { "start": { "line": 112, - "column": 27 + "column": 24 }, "end": { "line": 112, - "column": 28 + "column": 25 } }, "extra": { @@ -27038,8 +27162,8 @@ }, { "type": "ExpressionStatement", - "start": 6365, - "end": 6386, + "start": 6372, + "end": 6397, "loc": { "start": { "line": 113, @@ -27047,13 +27171,13 @@ }, "end": { "line": 113, - "column": 25 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 6365, - "end": 6385, + "start": 6372, + "end": 6396, "loc": { "start": { "line": 113, @@ -27061,14 +27185,14 @@ }, "end": { "line": 113, - "column": 24 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6365, - "end": 6381, + "start": 6372, + "end": 6392, "loc": { "start": { "line": 113, @@ -27076,13 +27200,13 @@ }, "end": { "line": 113, - "column": 20 + "column": 24 } }, "object": { "type": "Identifier", - "start": 6365, - "end": 6370, + "start": 6372, + "end": 6377, "loc": { "start": { "line": 113, @@ -27098,8 +27222,8 @@ }, "property": { "type": "Identifier", - "start": 6371, - "end": 6381, + "start": 6378, + "end": 6392, "loc": { "start": { "line": 113, @@ -27107,26 +27231,26 @@ }, "end": { "line": 113, - "column": 20 + "column": 24 }, - "identifierName": "numObjects" + "identifierName": "numTextureSets" }, - "name": "numObjects" + "name": "numTextureSets" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6384, - "end": 6385, + "start": 6395, + "end": 6396, "loc": { "start": { "line": 113, - "column": 23 + "column": 27 }, "end": { "line": 113, - "column": 24 + "column": 28 } }, "extra": { @@ -27139,8 +27263,8 @@ }, { "type": "ExpressionStatement", - "start": 6391, - "end": 6415, + "start": 6402, + "end": 6423, "loc": { "start": { "line": 114, @@ -27148,13 +27272,13 @@ }, "end": { "line": 114, - "column": 28 + "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 6391, - "end": 6414, + "start": 6402, + "end": 6422, "loc": { "start": { "line": 114, @@ -27162,14 +27286,14 @@ }, "end": { "line": 114, - "column": 27 + "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6391, - "end": 6410, + "start": 6402, + "end": 6418, "loc": { "start": { "line": 114, @@ -27177,13 +27301,13 @@ }, "end": { "line": 114, - "column": 23 + "column": 20 } }, "object": { "type": "Identifier", - "start": 6391, - "end": 6396, + "start": 6402, + "end": 6407, "loc": { "start": { "line": 114, @@ -27199,8 +27323,8 @@ }, "property": { "type": "Identifier", - "start": 6397, - "end": 6410, + "start": 6408, + "end": 6418, "loc": { "start": { "line": 114, @@ -27208,26 +27332,26 @@ }, "end": { "line": 114, - "column": 23 + "column": 20 }, - "identifierName": "numGeometries" + "identifierName": "numObjects" }, - "name": "numGeometries" + "name": "numObjects" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6413, - "end": 6414, + "start": 6421, + "end": 6422, "loc": { "start": { "line": 114, - "column": 26 + "column": 23 }, "end": { "line": 114, - "column": 27 + "column": 24 } }, "extra": { @@ -27240,8 +27364,8 @@ }, { "type": "ExpressionStatement", - "start": 6420, - "end": 6441, + "start": 6428, + "end": 6452, "loc": { "start": { "line": 115, @@ -27249,13 +27373,13 @@ }, "end": { "line": 115, - "column": 25 + "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 6420, - "end": 6440, + "start": 6428, + "end": 6451, "loc": { "start": { "line": 115, @@ -27263,14 +27387,14 @@ }, "end": { "line": 115, - "column": 24 + "column": 27 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6420, - "end": 6436, + "start": 6428, + "end": 6447, "loc": { "start": { "line": 115, @@ -27278,13 +27402,13 @@ }, "end": { "line": 115, - "column": 20 + "column": 23 } }, "object": { "type": "Identifier", - "start": 6420, - "end": 6425, + "start": 6428, + "end": 6433, "loc": { "start": { "line": 115, @@ -27300,8 +27424,8 @@ }, "property": { "type": "Identifier", - "start": 6426, - "end": 6436, + "start": 6434, + "end": 6447, "loc": { "start": { "line": 115, @@ -27309,26 +27433,26 @@ }, "end": { "line": 115, - "column": 20 + "column": 23 }, - "identifierName": "sourceSize" + "identifierName": "numGeometries" }, - "name": "sourceSize" + "name": "numGeometries" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6439, - "end": 6440, + "start": 6450, + "end": 6451, "loc": { "start": { "line": 115, - "column": 23 + "column": 26 }, "end": { "line": 115, - "column": 24 + "column": 27 } }, "extra": { @@ -27341,8 +27465,8 @@ }, { "type": "ExpressionStatement", - "start": 6446, - "end": 6464, + "start": 6457, + "end": 6478, "loc": { "start": { "line": 116, @@ -27350,13 +27474,13 @@ }, "end": { "line": 116, - "column": 22 + "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 6446, - "end": 6463, + "start": 6457, + "end": 6477, "loc": { "start": { "line": 116, @@ -27364,14 +27488,14 @@ }, "end": { "line": 116, - "column": 21 + "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6446, - "end": 6459, + "start": 6457, + "end": 6473, "loc": { "start": { "line": 116, @@ -27379,13 +27503,13 @@ }, "end": { "line": 116, - "column": 17 + "column": 20 } }, "object": { "type": "Identifier", - "start": 6446, - "end": 6451, + "start": 6457, + "end": 6462, "loc": { "start": { "line": 116, @@ -27401,8 +27525,8 @@ }, "property": { "type": "Identifier", - "start": 6452, - "end": 6459, + "start": 6463, + "end": 6473, "loc": { "start": { "line": 116, @@ -27410,26 +27534,26 @@ }, "end": { "line": 116, - "column": 17 + "column": 20 }, - "identifierName": "xktSize" + "identifierName": "sourceSize" }, - "name": "xktSize" + "name": "sourceSize" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6462, - "end": 6463, + "start": 6476, + "end": 6477, "loc": { "start": { "line": 116, - "column": 20 + "column": 23 }, "end": { "line": 116, - "column": 21 + "column": 24 } }, "extra": { @@ -27442,8 +27566,8 @@ }, { "type": "ExpressionStatement", - "start": 6469, - "end": 6492, + "start": 6483, + "end": 6501, "loc": { "start": { "line": 117, @@ -27451,13 +27575,13 @@ }, "end": { "line": 117, - "column": 27 + "column": 22 } }, "expression": { "type": "AssignmentExpression", - "start": 6469, - "end": 6491, + "start": 6483, + "end": 6500, "loc": { "start": { "line": 117, @@ -27465,14 +27589,14 @@ }, "end": { "line": 117, - "column": 26 + "column": 21 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6469, - "end": 6487, + "start": 6483, + "end": 6496, "loc": { "start": { "line": 117, @@ -27480,13 +27604,13 @@ }, "end": { "line": 117, - "column": 22 + "column": 17 } }, "object": { "type": "Identifier", - "start": 6469, - "end": 6474, + "start": 6483, + "end": 6488, "loc": { "start": { "line": 117, @@ -27502,8 +27626,8 @@ }, "property": { "type": "Identifier", - "start": 6475, - "end": 6487, + "start": 6489, + "end": 6496, "loc": { "start": { "line": 117, @@ -27511,26 +27635,26 @@ }, "end": { "line": 117, - "column": 22 + "column": 17 }, - "identifierName": "texturesSize" + "identifierName": "xktSize" }, - "name": "texturesSize" + "name": "xktSize" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6490, - "end": 6491, + "start": 6499, + "end": 6500, "loc": { "start": { "line": 117, - "column": 25 + "column": 20 }, "end": { "line": 117, - "column": 26 + "column": 21 } }, "extra": { @@ -27543,8 +27667,8 @@ }, { "type": "ExpressionStatement", - "start": 6497, - "end": 6519, + "start": 6506, + "end": 6529, "loc": { "start": { "line": 118, @@ -27552,13 +27676,13 @@ }, "end": { "line": 118, - "column": 26 + "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 6497, - "end": 6518, + "start": 6506, + "end": 6528, "loc": { "start": { "line": 118, @@ -27566,14 +27690,14 @@ }, "end": { "line": 118, - "column": 25 + "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6497, - "end": 6513, + "start": 6506, + "end": 6524, "loc": { "start": { "line": 118, @@ -27581,13 +27705,13 @@ }, "end": { "line": 118, - "column": 20 + "column": 22 } }, "object": { "type": "Identifier", - "start": 6497, - "end": 6502, + "start": 6506, + "end": 6511, "loc": { "start": { "line": 118, @@ -27603,8 +27727,8 @@ }, "property": { "type": "Identifier", - "start": 6503, - "end": 6513, + "start": 6512, + "end": 6524, "loc": { "start": { "line": 118, @@ -27612,40 +27736,40 @@ }, "end": { "line": 118, - "column": 20 + "column": 22 }, - "identifierName": "xktVersion" + "identifierName": "texturesSize" }, - "name": "xktVersion" + "name": "texturesSize" }, "computed": false }, "right": { - "type": "StringLiteral", - "start": 6516, - "end": 6518, + "type": "NumericLiteral", + "start": 6527, + "end": 6528, "loc": { "start": { "line": 118, - "column": 23 + "column": 25 }, "end": { "line": 118, - "column": 25 + "column": 26 } }, "extra": { - "rawValue": "", - "raw": "\"\"" + "rawValue": 0, + "raw": "0" }, - "value": "" + "value": 0 } } }, { "type": "ExpressionStatement", - "start": 6524, - "end": 6551, + "start": 6534, + "end": 6556, "loc": { "start": { "line": 119, @@ -27653,13 +27777,13 @@ }, "end": { "line": 119, - "column": 31 + "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 6524, - "end": 6550, + "start": 6534, + "end": 6555, "loc": { "start": { "line": 119, @@ -27667,14 +27791,14 @@ }, "end": { "line": 119, - "column": 30 + "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6524, - "end": 6546, + "start": 6534, + "end": 6550, "loc": { "start": { "line": 119, @@ -27682,13 +27806,13 @@ }, "end": { "line": 119, - "column": 26 + "column": 20 } }, "object": { "type": "Identifier", - "start": 6524, - "end": 6529, + "start": 6534, + "end": 6539, "loc": { "start": { "line": 119, @@ -27704,8 +27828,8 @@ }, "property": { "type": "Identifier", - "start": 6530, - "end": 6546, + "start": 6540, + "end": 6550, "loc": { "start": { "line": 119, @@ -27713,40 +27837,40 @@ }, "end": { "line": 119, - "column": 26 + "column": 20 }, - "identifierName": "compressionRatio" + "identifierName": "xktVersion" }, - "name": "compressionRatio" + "name": "xktVersion" }, "computed": false }, "right": { - "type": "NumericLiteral", - "start": 6549, - "end": 6550, + "type": "StringLiteral", + "start": 6553, + "end": 6555, "loc": { "start": { "line": 119, - "column": 29 + "column": 23 }, "end": { "line": 119, - "column": 30 + "column": 25 } }, "extra": { - "rawValue": 0, - "raw": "0" + "rawValue": "", + "raw": "\"\"" }, - "value": 0 + "value": "" } } }, { "type": "ExpressionStatement", - "start": 6556, - "end": 6581, + "start": 6561, + "end": 6588, "loc": { "start": { "line": 120, @@ -27754,13 +27878,13 @@ }, "end": { "line": 120, - "column": 29 + "column": 31 } }, "expression": { "type": "AssignmentExpression", - "start": 6556, - "end": 6580, + "start": 6561, + "end": 6587, "loc": { "start": { "line": 120, @@ -27768,14 +27892,14 @@ }, "end": { "line": 120, - "column": 28 + "column": 30 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6556, - "end": 6576, + "start": 6561, + "end": 6583, "loc": { "start": { "line": 120, @@ -27783,13 +27907,13 @@ }, "end": { "line": 120, - "column": 24 + "column": 26 } }, "object": { "type": "Identifier", - "start": 6556, - "end": 6561, + "start": 6561, + "end": 6566, "loc": { "start": { "line": 120, @@ -27805,8 +27929,8 @@ }, "property": { "type": "Identifier", - "start": 6562, - "end": 6576, + "start": 6567, + "end": 6583, "loc": { "start": { "line": 120, @@ -27814,26 +27938,26 @@ }, "end": { "line": 120, - "column": 24 + "column": 26 }, - "identifierName": "conversionTime" + "identifierName": "compressionRatio" }, - "name": "conversionTime" + "name": "compressionRatio" }, "computed": false }, "right": { "type": "NumericLiteral", - "start": 6579, - "end": 6580, + "start": 6586, + "end": 6587, "loc": { "start": { "line": 120, - "column": 27 + "column": 29 }, "end": { "line": 120, - "column": 28 + "column": 30 } }, "extra": { @@ -27846,8 +27970,8 @@ }, { "type": "ExpressionStatement", - "start": 6586, - "end": 6604, + "start": 6593, + "end": 6618, "loc": { "start": { "line": 121, @@ -27855,13 +27979,13 @@ }, "end": { "line": 121, - "column": 22 + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 6586, - "end": 6603, + "start": 6593, + "end": 6617, "loc": { "start": { "line": 121, @@ -27869,14 +27993,14 @@ }, "end": { "line": 121, - "column": 21 + "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 6586, - "end": 6596, + "start": 6593, + "end": 6613, "loc": { "start": { "line": 121, @@ -27884,13 +28008,13 @@ }, "end": { "line": 121, - "column": 14 + "column": 24 } }, "object": { "type": "Identifier", - "start": 6586, - "end": 6591, + "start": 6593, + "end": 6598, "loc": { "start": { "line": 121, @@ -27906,8 +28030,8 @@ }, "property": { "type": "Identifier", - "start": 6592, - "end": 6596, + "start": 6599, + "end": 6613, "loc": { "start": { "line": 121, @@ -27915,6 +28039,107 @@ }, "end": { "line": 121, + "column": 24 + }, + "identifierName": "conversionTime" + }, + "name": "conversionTime" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 6616, + "end": 6617, + "loc": { + "start": { + "line": 121, + "column": 27 + }, + "end": { + "line": 121, + "column": 28 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + { + "type": "ExpressionStatement", + "start": 6623, + "end": 6641, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 22 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 6623, + "end": 6640, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 21 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 6623, + "end": 6633, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 6623, + "end": 6628, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 9 + }, + "identifierName": "stats" + }, + "name": "stats" + }, + "property": { + "type": "Identifier", + "start": 6629, + "end": 6633, + "loc": { + "start": { + "line": 122, + "column": 10 + }, + "end": { + "line": 122, "column": 14 }, "identifierName": "aabb" @@ -27925,15 +28150,15 @@ }, "right": { "type": "NullLiteral", - "start": 6599, - "end": 6603, + "start": 6636, + "end": 6640, "loc": { "start": { - "line": 121, + "line": 122, "column": 17 }, "end": { - "line": 121, + "line": 122, "column": 21 } } @@ -27942,29 +28167,29 @@ }, { "type": "FunctionDeclaration", - "start": 6610, - "end": 6798, + "start": 6647, + "end": 6835, "loc": { "start": { - "line": 123, + "line": 124, "column": 4 }, "end": { - "line": 129, + "line": 130, "column": 5 } }, "id": { "type": "Identifier", - "start": 6619, - "end": 6635, + "start": 6656, + "end": 6672, "loc": { "start": { - "line": 123, + "line": 124, "column": 13 }, "end": { - "line": 123, + "line": 124, "column": 29 }, "identifierName": "getFileExtension" @@ -27977,15 +28202,15 @@ "params": [ { "type": "Identifier", - "start": 6636, - "end": 6644, + "start": 6673, + "end": 6681, "loc": { "start": { - "line": 123, + "line": 124, "column": 30 }, "end": { - "line": 123, + "line": 124, "column": 38 }, "identifierName": "fileName" @@ -27995,59 +28220,59 @@ ], "body": { "type": "BlockStatement", - "start": 6646, - "end": 6798, + "start": 6683, + "end": 6835, "loc": { "start": { - "line": 123, + "line": 124, "column": 40 }, "end": { - "line": 129, + "line": 130, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 6656, - "end": 6689, + "start": 6693, + "end": 6726, "loc": { "start": { - "line": 124, + "line": 125, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6660, - "end": 6688, + "start": 6697, + "end": 6725, "loc": { "start": { - "line": 124, + "line": 125, "column": 12 }, "end": { - "line": 124, + "line": 125, "column": 40 } }, "id": { "type": "Identifier", - "start": 6660, - "end": 6663, + "start": 6697, + "end": 6700, "loc": { "start": { - "line": 124, + "line": 125, "column": 12 }, "end": { - "line": 124, + "line": 125, "column": 15 }, "identifierName": "ext" @@ -28056,43 +28281,43 @@ }, "init": { "type": "CallExpression", - "start": 6666, - "end": 6688, + "start": 6703, + "end": 6725, "loc": { "start": { - "line": 124, + "line": 125, "column": 18 }, "end": { - "line": 124, + "line": 125, "column": 40 } }, "callee": { "type": "MemberExpression", - "start": 6666, - "end": 6678, + "start": 6703, + "end": 6715, "loc": { "start": { - "line": 124, + "line": 125, "column": 18 }, "end": { - "line": 124, + "line": 125, "column": 30 } }, "object": { "type": "Identifier", - "start": 6666, - "end": 6670, + "start": 6703, + "end": 6707, "loc": { "start": { - "line": 124, + "line": 125, "column": 18 }, "end": { - "line": 124, + "line": 125, "column": 22 }, "identifierName": "path" @@ -28101,15 +28326,15 @@ }, "property": { "type": "Identifier", - "start": 6671, - "end": 6678, + "start": 6708, + "end": 6715, "loc": { "start": { - "line": 124, + "line": 125, "column": 23 }, "end": { - "line": 124, + "line": 125, "column": 30 }, "identifierName": "extname" @@ -28121,15 +28346,15 @@ "arguments": [ { "type": "Identifier", - "start": 6679, - "end": 6687, + "start": 6716, + "end": 6724, "loc": { "start": { - "line": 124, + "line": 125, "column": 31 }, "end": { - "line": 124, + "line": 125, "column": 39 }, "identifierName": "fileName" @@ -28144,71 +28369,71 @@ }, { "type": "IfStatement", - "start": 6698, - "end": 6772, + "start": 6735, + "end": 6809, "loc": { "start": { - "line": 125, + "line": 126, "column": 8 }, "end": { - "line": 127, + "line": 128, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 6702, - "end": 6723, + "start": 6739, + "end": 6760, "loc": { "start": { - "line": 125, + "line": 126, "column": 12 }, "end": { - "line": 125, + "line": 126, "column": 33 } }, "left": { "type": "CallExpression", - "start": 6702, - "end": 6715, + "start": 6739, + "end": 6752, "loc": { "start": { - "line": 125, + "line": 126, "column": 12 }, "end": { - "line": 125, + "line": 126, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 6702, - "end": 6712, + "start": 6739, + "end": 6749, "loc": { "start": { - "line": 125, + "line": 126, "column": 12 }, "end": { - "line": 125, + "line": 126, "column": 22 } }, "object": { "type": "Identifier", - "start": 6702, - "end": 6705, + "start": 6739, + "end": 6742, "loc": { "start": { - "line": 125, + "line": 126, "column": 12 }, "end": { - "line": 125, + "line": 126, "column": 15 }, "identifierName": "ext" @@ -28217,15 +28442,15 @@ }, "property": { "type": "Identifier", - "start": 6706, - "end": 6712, + "start": 6743, + "end": 6749, "loc": { "start": { - "line": 125, + "line": 126, "column": 16 }, "end": { - "line": 125, + "line": 126, "column": 22 }, "identifierName": "charAt" @@ -28237,15 +28462,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 6713, - "end": 6714, + "start": 6750, + "end": 6751, "loc": { "start": { - "line": 125, + "line": 126, "column": 23 }, "end": { - "line": 125, + "line": 126, "column": 24 } }, @@ -28260,15 +28485,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 6720, - "end": 6723, + "start": 6757, + "end": 6760, "loc": { "start": { - "line": 125, + "line": 126, "column": 30 }, "end": { - "line": 125, + "line": 126, "column": 33 } }, @@ -28281,59 +28506,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 6725, - "end": 6772, + "start": 6762, + "end": 6809, "loc": { "start": { - "line": 125, + "line": 126, "column": 35 }, "end": { - "line": 127, + "line": 128, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6739, - "end": 6762, + "start": 6776, + "end": 6799, "loc": { "start": { - "line": 126, + "line": 127, "column": 12 }, "end": { - "line": 126, + "line": 127, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 6739, - "end": 6761, + "start": 6776, + "end": 6798, "loc": { "start": { - "line": 126, + "line": 127, "column": 12 }, "end": { - "line": 126, + "line": 127, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6739, - "end": 6742, + "start": 6776, + "end": 6779, "loc": { "start": { - "line": 126, + "line": 127, "column": 12 }, "end": { - "line": 126, + "line": 127, "column": 15 }, "identifierName": "ext" @@ -28342,43 +28567,43 @@ }, "right": { "type": "CallExpression", - "start": 6745, - "end": 6761, + "start": 6782, + "end": 6798, "loc": { "start": { - "line": 126, + "line": 127, "column": 18 }, "end": { - "line": 126, + "line": 127, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 6745, - "end": 6758, + "start": 6782, + "end": 6795, "loc": { "start": { - "line": 126, + "line": 127, "column": 18 }, "end": { - "line": 126, + "line": 127, "column": 31 } }, "object": { "type": "Identifier", - "start": 6745, - "end": 6748, + "start": 6782, + "end": 6785, "loc": { "start": { - "line": 126, + "line": 127, "column": 18 }, "end": { - "line": 126, + "line": 127, "column": 21 }, "identifierName": "ext" @@ -28387,15 +28612,15 @@ }, "property": { "type": "Identifier", - "start": 6749, - "end": 6758, + "start": 6786, + "end": 6795, "loc": { "start": { - "line": 126, + "line": 127, "column": 22 }, "end": { - "line": 126, + "line": 127, "column": 31 }, "identifierName": "substring" @@ -28407,15 +28632,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 6759, - "end": 6760, + "start": 6796, + "end": 6797, "loc": { "start": { - "line": 126, + "line": 127, "column": 32 }, "end": { - "line": 126, + "line": 127, "column": 33 } }, @@ -28436,29 +28661,29 @@ }, { "type": "ReturnStatement", - "start": 6781, - "end": 6792, + "start": 6818, + "end": 6829, "loc": { "start": { - "line": 128, + "line": 129, "column": 8 }, "end": { - "line": 128, + "line": 129, "column": 19 } }, "argument": { "type": "Identifier", - "start": 6788, - "end": 6791, + "start": 6825, + "end": 6828, "loc": { "start": { - "line": 128, + "line": 129, "column": 15 }, "end": { - "line": 128, + "line": 129, "column": 18 }, "identifierName": "ext" @@ -28472,43 +28697,43 @@ }, { "type": "ReturnStatement", - "start": 6804, - "end": 18381, + "start": 6841, + "end": 18428, "loc": { "start": { - "line": 131, + "line": 132, "column": 4 }, "end": { - "line": 448, + "line": 449, "column": 7 } }, "argument": { "type": "NewExpression", - "start": 6811, - "end": 18380, + "start": 6848, + "end": 18427, "loc": { "start": { - "line": 131, + "line": 132, "column": 11 }, "end": { - "line": 448, + "line": 449, "column": 6 } }, "callee": { "type": "Identifier", - "start": 6815, - "end": 6822, + "start": 6852, + "end": 6859, "loc": { "start": { - "line": 131, + "line": 132, "column": 15 }, "end": { - "line": 131, + "line": 132, "column": 22 }, "identifierName": "Promise" @@ -28518,15 +28743,15 @@ "arguments": [ { "type": "FunctionExpression", - "start": 6823, - "end": 18379, + "start": 6860, + "end": 18426, "loc": { "start": { - "line": 131, + "line": 132, "column": 23 }, "end": { - "line": 448, + "line": 449, "column": 5 } }, @@ -28537,15 +28762,15 @@ "params": [ { "type": "Identifier", - "start": 6833, - "end": 6840, + "start": 6870, + "end": 6877, "loc": { "start": { - "line": 131, + "line": 132, "column": 33 }, "end": { - "line": 131, + "line": 132, "column": 40 }, "identifierName": "resolve" @@ -28554,15 +28779,15 @@ }, { "type": "Identifier", - "start": 6842, - "end": 6848, + "start": 6879, + "end": 6885, "loc": { "start": { - "line": 131, + "line": 132, "column": 42 }, "end": { - "line": 131, + "line": 132, "column": 48 }, "identifierName": "reject" @@ -28572,59 +28797,59 @@ ], "body": { "type": "BlockStatement", - "start": 6850, - "end": 18379, + "start": 6887, + "end": 18426, "loc": { "start": { - "line": 131, + "line": 132, "column": 50 }, "end": { - "line": 448, + "line": 449, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 6860, - "end": 6877, + "start": 6897, + "end": 6914, "loc": { "start": { - "line": 132, + "line": 133, "column": 8 }, "end": { - "line": 132, + "line": 133, "column": 25 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 6866, - "end": 6876, + "start": 6903, + "end": 6913, "loc": { "start": { - "line": 132, + "line": 133, "column": 14 }, "end": { - "line": 132, + "line": 133, "column": 24 } }, "id": { "type": "Identifier", - "start": 6866, - "end": 6870, + "start": 6903, + "end": 6907, "loc": { "start": { - "line": 132, + "line": 133, "column": 14 }, "end": { - "line": 132, + "line": 133, "column": 18 }, "identifierName": "_log" @@ -28633,15 +28858,15 @@ }, "init": { "type": "Identifier", - "start": 6873, - "end": 6876, + "start": 6910, + "end": 6913, "loc": { "start": { - "line": 132, + "line": 133, "column": 21 }, "end": { - "line": 132, + "line": 133, "column": 24 }, "identifierName": "log" @@ -28654,44 +28879,44 @@ }, { "type": "ExpressionStatement", - "start": 6886, - "end": 6953, + "start": 6923, + "end": 6990, "loc": { "start": { - "line": 133, + "line": 134, "column": 8 }, "end": { - "line": 135, + "line": 136, "column": 9 } }, "expression": { "type": "AssignmentExpression", - "start": 6886, - "end": 6953, + "start": 6923, + "end": 6990, "loc": { "start": { - "line": 133, + "line": 134, "column": 8 }, "end": { - "line": 135, + "line": 136, "column": 9 } }, "operator": "=", "left": { "type": "Identifier", - "start": 6886, - "end": 6889, + "start": 6923, + "end": 6926, "loc": { "start": { - "line": 133, + "line": 134, "column": 8 }, "end": { - "line": 133, + "line": 134, "column": 11 }, "identifierName": "log" @@ -28700,15 +28925,15 @@ }, "right": { "type": "ArrowFunctionExpression", - "start": 6892, - "end": 6953, + "start": 6929, + "end": 6990, "loc": { "start": { - "line": 133, + "line": 134, "column": 14 }, "end": { - "line": 135, + "line": 136, "column": 9 } }, @@ -28719,15 +28944,15 @@ "params": [ { "type": "Identifier", - "start": 6893, - "end": 6896, + "start": 6930, + "end": 6933, "loc": { "start": { - "line": 133, + "line": 134, "column": 15 }, "end": { - "line": 133, + "line": 134, "column": 18 }, "identifierName": "msg" @@ -28737,58 +28962,58 @@ ], "body": { "type": "BlockStatement", - "start": 6901, - "end": 6953, + "start": 6938, + "end": 6990, "loc": { "start": { - "line": 133, + "line": 134, "column": 23 }, "end": { - "line": 135, + "line": 136, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 6915, - "end": 6943, + "start": 6952, + "end": 6980, "loc": { "start": { - "line": 134, + "line": 135, "column": 12 }, "end": { - "line": 134, + "line": 135, "column": 40 } }, "expression": { "type": "CallExpression", - "start": 6915, - "end": 6943, + "start": 6952, + "end": 6980, "loc": { "start": { - "line": 134, + "line": 135, "column": 12 }, "end": { - "line": 134, + "line": 135, "column": 40 } }, "callee": { "type": "Identifier", - "start": 6915, - "end": 6919, + "start": 6952, + "end": 6956, "loc": { "start": { - "line": 134, + "line": 135, "column": 12 }, "end": { - "line": 134, + "line": 135, "column": 16 }, "identifierName": "_log" @@ -28798,30 +29023,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 6920, - "end": 6942, + "start": 6957, + "end": 6979, "loc": { "start": { - "line": 134, + "line": 135, "column": 17 }, "end": { - "line": 134, + "line": 135, "column": 39 } }, "expressions": [ { "type": "Identifier", - "start": 6937, - "end": 6940, + "start": 6974, + "end": 6977, "loc": { "start": { - "line": 134, + "line": 135, "column": 34 }, "end": { - "line": 134, + "line": 135, "column": 37 }, "identifierName": "msg" @@ -28832,15 +29057,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 6921, - "end": 6935, + "start": 6958, + "end": 6972, "loc": { "start": { - "line": 134, + "line": 135, "column": 18 }, "end": { - "line": 134, + "line": 135, "column": 32 } }, @@ -28852,15 +29077,15 @@ }, { "type": "TemplateElement", - "start": 6941, - "end": 6941, + "start": 6978, + "end": 6978, "loc": { "start": { - "line": 134, + "line": 135, "column": 38 }, "end": { - "line": 134, + "line": 135, "column": 38 } }, @@ -28883,43 +29108,43 @@ }, { "type": "IfStatement", - "start": 6963, - "end": 7085, + "start": 7000, + "end": 7122, "loc": { "start": { - "line": 137, + "line": 138, "column": 8 }, "end": { - "line": 140, + "line": 141, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 6967, - "end": 6989, + "start": 7004, + "end": 7026, "loc": { "start": { - "line": 137, + "line": 138, "column": 12 }, "end": { - "line": 137, + "line": 138, "column": 34 } }, "left": { "type": "UnaryExpression", - "start": 6967, - "end": 6974, + "start": 7004, + "end": 7011, "loc": { "start": { - "line": 137, + "line": 138, "column": 12 }, "end": { - "line": 137, + "line": 138, "column": 19 } }, @@ -28927,15 +29152,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 6968, - "end": 6974, + "start": 7005, + "end": 7011, "loc": { "start": { - "line": 137, + "line": 138, "column": 13 }, "end": { - "line": 137, + "line": 138, "column": 19 }, "identifierName": "source" @@ -28949,15 +29174,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 6978, - "end": 6989, + "start": 7015, + "end": 7026, "loc": { "start": { - "line": 137, + "line": 138, "column": 23 }, "end": { - "line": 137, + "line": 138, "column": 34 } }, @@ -28965,15 +29190,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 6979, - "end": 6989, + "start": 7016, + "end": 7026, "loc": { "start": { - "line": 137, + "line": 138, "column": 24 }, "end": { - "line": 137, + "line": 138, "column": 34 }, "identifierName": "sourceData" @@ -28987,58 +29212,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 6991, - "end": 7085, + "start": 7028, + "end": 7122, "loc": { "start": { - "line": 137, + "line": 138, "column": 36 }, "end": { - "line": 140, + "line": 141, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7005, - "end": 7055, + "start": 7042, + "end": 7092, "loc": { "start": { - "line": 138, + "line": 139, "column": 12 }, "end": { - "line": 138, + "line": 139, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 7005, - "end": 7054, + "start": 7042, + "end": 7091, "loc": { "start": { - "line": 138, + "line": 139, "column": 12 }, "end": { - "line": 138, + "line": 139, "column": 61 } }, "callee": { "type": "Identifier", - "start": 7005, - "end": 7011, + "start": 7042, + "end": 7048, "loc": { "start": { - "line": 138, + "line": 139, "column": 12 }, "end": { - "line": 138, + "line": 139, "column": 18 }, "identifierName": "reject" @@ -29048,15 +29273,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 7012, - "end": 7053, + "start": 7049, + "end": 7090, "loc": { "start": { - "line": 138, + "line": 139, "column": 19 }, "end": { - "line": 138, + "line": 139, "column": 60 } }, @@ -29071,15 +29296,15 @@ }, { "type": "ReturnStatement", - "start": 7068, - "end": 7075, + "start": 7105, + "end": 7112, "loc": { "start": { - "line": 139, + "line": 140, "column": 12 }, "end": { - "line": 139, + "line": 140, "column": 19 } }, @@ -29092,43 +29317,43 @@ }, { "type": "IfStatement", - "start": 7095, - "end": 7242, + "start": 7132, + "end": 7279, "loc": { "start": { - "line": 142, + "line": 143, "column": 8 }, "end": { - "line": 145, + "line": 146, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 7099, - "end": 7126, + "start": 7136, + "end": 7163, "loc": { "start": { - "line": 142, + "line": 143, "column": 12 }, "end": { - "line": 142, + "line": 143, "column": 39 } }, "left": { "type": "UnaryExpression", - "start": 7099, - "end": 7112, + "start": 7136, + "end": 7149, "loc": { "start": { - "line": 142, + "line": 143, "column": 12 }, "end": { - "line": 142, + "line": 143, "column": 25 } }, @@ -29136,15 +29361,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 7100, - "end": 7112, + "start": 7137, + "end": 7149, "loc": { "start": { - "line": 142, + "line": 143, "column": 13 }, "end": { - "line": 142, + "line": 143, "column": 25 }, "identifierName": "sourceFormat" @@ -29158,15 +29383,15 @@ "operator": "&&", "right": { "type": "Identifier", - "start": 7116, - "end": 7126, + "start": 7153, + "end": 7163, "loc": { "start": { - "line": 142, + "line": 143, "column": 29 }, "end": { - "line": 142, + "line": 143, "column": 39 }, "identifierName": "sourceData" @@ -29176,58 +29401,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 7128, - "end": 7242, + "start": 7165, + "end": 7279, "loc": { "start": { - "line": 142, + "line": 143, "column": 41 }, "end": { - "line": 145, + "line": 146, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7142, - "end": 7212, + "start": 7179, + "end": 7249, "loc": { "start": { - "line": 143, + "line": 144, "column": 12 }, "end": { - "line": 143, + "line": 144, "column": 82 } }, "expression": { "type": "CallExpression", - "start": 7142, - "end": 7211, + "start": 7179, + "end": 7248, "loc": { "start": { - "line": 143, + "line": 144, "column": 12 }, "end": { - "line": 143, + "line": 144, "column": 81 } }, "callee": { "type": "Identifier", - "start": 7142, - "end": 7148, + "start": 7179, + "end": 7185, "loc": { "start": { - "line": 143, + "line": 144, "column": 12 }, "end": { - "line": 143, + "line": 144, "column": 18 }, "identifierName": "reject" @@ -29237,15 +29462,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 7149, - "end": 7210, + "start": 7186, + "end": 7247, "loc": { "start": { - "line": 143, + "line": 144, "column": 19 }, "end": { - "line": 143, + "line": 144, "column": 80 } }, @@ -29260,15 +29485,15 @@ }, { "type": "ReturnStatement", - "start": 7225, - "end": 7232, + "start": 7262, + "end": 7269, "loc": { "start": { - "line": 144, + "line": 145, "column": 12 }, "end": { - "line": 144, + "line": 145, "column": 19 } }, @@ -29281,57 +29506,57 @@ }, { "type": "IfStatement", - "start": 7252, - "end": 7407, + "start": 7289, + "end": 7444, "loc": { "start": { - "line": 147, + "line": 148, "column": 8 }, "end": { - "line": 150, + "line": 151, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 7256, - "end": 7296, + "start": 7293, + "end": 7333, "loc": { "start": { - "line": 147, + "line": 148, "column": 12 }, "end": { - "line": 147, + "line": 148, "column": 52 } }, "left": { "type": "LogicalExpression", - "start": 7256, - "end": 7282, + "start": 7293, + "end": 7319, "loc": { "start": { - "line": 147, + "line": 148, "column": 12 }, "end": { - "line": 147, + "line": 148, "column": 38 } }, "left": { "type": "UnaryExpression", - "start": 7256, - "end": 7263, + "start": 7293, + "end": 7300, "loc": { "start": { - "line": 147, + "line": 148, "column": 12 }, "end": { - "line": 147, + "line": 148, "column": 19 } }, @@ -29339,15 +29564,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 7257, - "end": 7263, + "start": 7294, + "end": 7300, "loc": { "start": { - "line": 147, + "line": 148, "column": 13 }, "end": { - "line": 147, + "line": 148, "column": 19 }, "identifierName": "output" @@ -29361,15 +29586,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 7267, - "end": 7282, + "start": 7304, + "end": 7319, "loc": { "start": { - "line": 147, + "line": 148, "column": 23 }, "end": { - "line": 147, + "line": 148, "column": 38 } }, @@ -29377,15 +29602,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 7268, - "end": 7282, + "start": 7305, + "end": 7319, "loc": { "start": { - "line": 147, + "line": 148, "column": 24 }, "end": { - "line": 147, + "line": 148, "column": 38 }, "identifierName": "outputXKTModel" @@ -29400,15 +29625,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 7286, - "end": 7296, + "start": 7323, + "end": 7333, "loc": { "start": { - "line": 147, + "line": 148, "column": 42 }, "end": { - "line": 147, + "line": 148, "column": 52 } }, @@ -29416,15 +29641,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 7287, - "end": 7296, + "start": 7324, + "end": 7333, "loc": { "start": { - "line": 147, + "line": 148, "column": 43 }, "end": { - "line": 147, + "line": 148, "column": 52 }, "identifierName": "outputXKT" @@ -29438,58 +29663,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 7298, - "end": 7407, + "start": 7335, + "end": 7444, "loc": { "start": { - "line": 147, + "line": 148, "column": 54 }, "end": { - "line": 150, + "line": 151, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7312, - "end": 7377, + "start": 7349, + "end": 7414, "loc": { "start": { - "line": 148, + "line": 149, "column": 12 }, "end": { - "line": 148, + "line": 149, "column": 77 } }, "expression": { "type": "CallExpression", - "start": 7312, - "end": 7376, + "start": 7349, + "end": 7413, "loc": { "start": { - "line": 148, + "line": 149, "column": 12 }, "end": { - "line": 148, + "line": 149, "column": 76 } }, "callee": { "type": "Identifier", - "start": 7312, - "end": 7318, + "start": 7349, + "end": 7355, "loc": { "start": { - "line": 148, + "line": 149, "column": 12 }, "end": { - "line": 148, + "line": 149, "column": 18 }, "identifierName": "reject" @@ -29499,15 +29724,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 7319, - "end": 7375, + "start": 7356, + "end": 7412, "loc": { "start": { - "line": 148, + "line": 149, "column": 19 }, "end": { - "line": 148, + "line": 149, "column": 75 } }, @@ -29522,15 +29747,15 @@ }, { "type": "ReturnStatement", - "start": 7390, - "end": 7397, + "start": 7427, + "end": 7434, "loc": { "start": { - "line": 149, + "line": 150, "column": 12 }, "end": { - "line": 149, + "line": 150, "column": 19 } }, @@ -29543,29 +29768,29 @@ }, { "type": "IfStatement", - "start": 7417, - "end": 7490, + "start": 7454, + "end": 7527, "loc": { "start": { - "line": 152, + "line": 153, "column": 8 }, "end": { - "line": 154, + "line": 155, "column": 9 } }, "test": { "type": "Identifier", - "start": 7421, - "end": 7427, + "start": 7458, + "end": 7464, "loc": { "start": { - "line": 152, + "line": 153, "column": 12 }, "end": { - "line": 152, + "line": 153, "column": 18 }, "identifierName": "source" @@ -29574,58 +29799,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 7429, - "end": 7490, + "start": 7466, + "end": 7527, "loc": { "start": { - "line": 152, + "line": 153, "column": 20 }, "end": { - "line": 154, + "line": 155, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7443, - "end": 7480, + "start": 7480, + "end": 7517, "loc": { "start": { - "line": 153, + "line": 154, "column": 12 }, "end": { - "line": 153, + "line": 154, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 7443, - "end": 7479, + "start": 7480, + "end": 7516, "loc": { "start": { - "line": 153, + "line": 154, "column": 12 }, "end": { - "line": 153, + "line": 154, "column": 48 } }, "callee": { "type": "Identifier", - "start": 7443, - "end": 7446, + "start": 7480, + "end": 7483, "loc": { "start": { - "line": 153, + "line": 154, "column": 12 }, "end": { - "line": 153, + "line": 154, "column": 15 }, "identifierName": "log" @@ -29635,29 +29860,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 7447, - "end": 7478, + "start": 7484, + "end": 7515, "loc": { "start": { - "line": 153, + "line": 154, "column": 16 }, "end": { - "line": 153, + "line": 154, "column": 47 } }, "left": { "type": "StringLiteral", - "start": 7447, - "end": 7469, + "start": 7484, + "end": 7506, "loc": { "start": { - "line": 153, + "line": 154, "column": 16 }, "end": { - "line": 153, + "line": 154, "column": 38 } }, @@ -29670,15 +29895,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 7472, - "end": 7478, + "start": 7509, + "end": 7515, "loc": { "start": { - "line": 153, + "line": 154, "column": 41 }, "end": { - "line": 153, + "line": 154, "column": 47 }, "identifierName": "source" @@ -29696,44 +29921,44 @@ }, { "type": "VariableDeclaration", - "start": 7500, - "end": 7529, + "start": 7537, + "end": 7566, "loc": { "start": { - "line": 156, + "line": 157, "column": 8 }, "end": { - "line": 156, + "line": 157, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7506, - "end": 7528, + "start": 7543, + "end": 7565, "loc": { "start": { - "line": 156, + "line": 157, "column": 14 }, "end": { - "line": 156, + "line": 157, "column": 36 } }, "id": { "type": "Identifier", - "start": 7506, - "end": 7515, + "start": 7543, + "end": 7552, "loc": { "start": { - "line": 156, + "line": 157, "column": 14 }, "end": { - "line": 156, + "line": 157, "column": 23 }, "identifierName": "startTime" @@ -29742,29 +29967,29 @@ }, "init": { "type": "NewExpression", - "start": 7518, - "end": 7528, + "start": 7555, + "end": 7565, "loc": { "start": { - "line": 156, + "line": 157, "column": 26 }, "end": { - "line": 156, + "line": 157, "column": 36 } }, "callee": { "type": "Identifier", - "start": 7522, - "end": 7526, + "start": 7559, + "end": 7563, "loc": { "start": { - "line": 156, + "line": 157, "column": 30 }, "end": { - "line": 156, + "line": 157, "column": 34 }, "identifierName": "Date" @@ -29779,44 +30004,44 @@ }, { "type": "VariableDeclaration", - "start": 7539, - "end": 7589, + "start": 7576, + "end": 7626, "loc": { "start": { - "line": 158, + "line": 159, "column": 8 }, "end": { - "line": 158, + "line": 159, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7545, - "end": 7588, + "start": 7582, + "end": 7625, "loc": { "start": { - "line": 158, + "line": 159, "column": 14 }, "end": { - "line": 158, + "line": 159, "column": 57 } }, "id": { "type": "Identifier", - "start": 7545, - "end": 7558, + "start": 7582, + "end": 7595, "loc": { "start": { - "line": 158, + "line": 159, "column": 14 }, "end": { - "line": 158, + "line": 159, "column": 27 }, "identifierName": "sourceConfigs" @@ -29825,43 +30050,43 @@ }, "init": { "type": "LogicalExpression", - "start": 7561, - "end": 7588, + "start": 7598, + "end": 7625, "loc": { "start": { - "line": 158, + "line": 159, "column": 30 }, "end": { - "line": 158, + "line": 159, "column": 57 } }, "left": { "type": "MemberExpression", - "start": 7561, - "end": 7582, + "start": 7598, + "end": 7619, "loc": { "start": { - "line": 158, + "line": 159, "column": 30 }, "end": { - "line": 158, + "line": 159, "column": 51 } }, "object": { "type": "Identifier", - "start": 7561, - "end": 7568, + "start": 7598, + "end": 7605, "loc": { "start": { - "line": 158, + "line": 159, "column": 30 }, "end": { - "line": 158, + "line": 159, "column": 37 }, "identifierName": "configs" @@ -29870,15 +30095,15 @@ }, "property": { "type": "Identifier", - "start": 7569, - "end": 7582, + "start": 7606, + "end": 7619, "loc": { "start": { - "line": 158, + "line": 159, "column": 38 }, "end": { - "line": 158, + "line": 159, "column": 51 }, "identifierName": "sourceConfigs" @@ -29890,15 +30115,15 @@ "operator": "||", "right": { "type": "ObjectExpression", - "start": 7586, - "end": 7588, + "start": 7623, + "end": 7625, "loc": { "start": { - "line": 158, + "line": 159, "column": 55 }, "end": { - "line": 158, + "line": 159, "column": 57 } }, @@ -29911,44 +30136,44 @@ }, { "type": "VariableDeclaration", - "start": 7598, - "end": 7651, + "start": 7635, + "end": 7688, "loc": { "start": { - "line": 159, + "line": 160, "column": 8 }, "end": { - "line": 159, + "line": 160, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7604, - "end": 7650, + "start": 7641, + "end": 7687, "loc": { "start": { - "line": 159, + "line": 160, "column": 14 }, "end": { - "line": 159, + "line": 160, "column": 60 } }, "id": { "type": "Identifier", - "start": 7604, - "end": 7607, + "start": 7641, + "end": 7644, "loc": { "start": { - "line": 159, + "line": 160, "column": 14 }, "end": { - "line": 159, + "line": 160, "column": 17 }, "identifierName": "ext" @@ -29957,29 +30182,29 @@ }, "init": { "type": "LogicalExpression", - "start": 7610, - "end": 7650, + "start": 7647, + "end": 7687, "loc": { "start": { - "line": 159, + "line": 160, "column": 20 }, "end": { - "line": 159, + "line": 160, "column": 60 } }, "left": { "type": "Identifier", - "start": 7610, - "end": 7622, + "start": 7647, + "end": 7659, "loc": { "start": { - "line": 159, + "line": 160, "column": 20 }, "end": { - "line": 159, + "line": 160, "column": 32 }, "identifierName": "sourceFormat" @@ -29989,29 +30214,29 @@ "operator": "||", "right": { "type": "CallExpression", - "start": 7626, - "end": 7650, + "start": 7663, + "end": 7687, "loc": { "start": { - "line": 159, + "line": 160, "column": 36 }, "end": { - "line": 159, + "line": 160, "column": 60 } }, "callee": { "type": "Identifier", - "start": 7626, - "end": 7642, + "start": 7663, + "end": 7679, "loc": { "start": { - "line": 159, + "line": 160, "column": 36 }, "end": { - "line": 159, + "line": 160, "column": 52 }, "identifierName": "getFileExtension" @@ -30021,15 +30246,15 @@ "arguments": [ { "type": "Identifier", - "start": 7643, - "end": 7649, + "start": 7680, + "end": 7686, "loc": { "start": { - "line": 159, + "line": 160, "column": 53 }, "end": { - "line": 159, + "line": 160, "column": 59 }, "identifierName": "source" @@ -30045,43 +30270,43 @@ }, { "type": "ExpressionStatement", - "start": 7661, - "end": 7699, + "start": 7698, + "end": 7736, "loc": { "start": { - "line": 161, + "line": 162, "column": 8 }, "end": { - "line": 161, + "line": 162, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 7661, - "end": 7698, + "start": 7698, + "end": 7735, "loc": { "start": { - "line": 161, + "line": 162, "column": 8 }, "end": { - "line": 161, + "line": 162, "column": 45 } }, "callee": { "type": "Identifier", - "start": 7661, - "end": 7664, + "start": 7698, + "end": 7701, "loc": { "start": { - "line": 161, + "line": 162, "column": 8 }, "end": { - "line": 161, + "line": 162, "column": 11 }, "identifierName": "log" @@ -30091,30 +30316,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 7665, - "end": 7697, + "start": 7702, + "end": 7734, "loc": { "start": { - "line": 161, + "line": 162, "column": 12 }, "end": { - "line": 161, + "line": 162, "column": 44 } }, "expressions": [ { "type": "Identifier", - "start": 7691, - "end": 7694, + "start": 7728, + "end": 7731, "loc": { "start": { - "line": 161, + "line": 162, "column": 38 }, "end": { - "line": 161, + "line": 162, "column": 41 }, "identifierName": "ext" @@ -30125,15 +30350,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 7666, - "end": 7689, + "start": 7703, + "end": 7726, "loc": { "start": { - "line": 161, + "line": 162, "column": 13 }, "end": { - "line": 161, + "line": 162, "column": 36 } }, @@ -30145,15 +30370,15 @@ }, { "type": "TemplateElement", - "start": 7695, - "end": 7696, + "start": 7732, + "end": 7733, "loc": { "start": { - "line": 161, + "line": 162, "column": 42 }, "end": { - "line": 161, + "line": 162, "column": 43 } }, @@ -30170,44 +30395,44 @@ }, { "type": "VariableDeclaration", - "start": 7709, - "end": 7750, + "start": 7746, + "end": 7787, "loc": { "start": { - "line": 163, + "line": 164, "column": 8 }, "end": { - "line": 163, + "line": 164, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7713, - "end": 7749, + "start": 7750, + "end": 7786, "loc": { "start": { - "line": 163, + "line": 164, "column": 12 }, "end": { - "line": 163, + "line": 164, "column": 48 } }, "id": { "type": "Identifier", - "start": 7713, - "end": 7728, + "start": 7750, + "end": 7765, "loc": { "start": { - "line": 163, + "line": 164, "column": 12 }, "end": { - "line": 163, + "line": 164, "column": 27 }, "identifierName": "fileTypeConfigs" @@ -30216,29 +30441,29 @@ }, "init": { "type": "MemberExpression", - "start": 7731, - "end": 7749, + "start": 7768, + "end": 7786, "loc": { "start": { - "line": 163, + "line": 164, "column": 30 }, "end": { - "line": 163, + "line": 164, "column": 48 } }, "object": { "type": "Identifier", - "start": 7731, - "end": 7744, + "start": 7768, + "end": 7781, "loc": { "start": { - "line": 163, + "line": 164, "column": 30 }, "end": { - "line": 163, + "line": 164, "column": 43 }, "identifierName": "sourceConfigs" @@ -30247,15 +30472,15 @@ }, "property": { "type": "Identifier", - "start": 7745, - "end": 7748, + "start": 7782, + "end": 7785, "loc": { "start": { - "line": 163, + "line": 164, "column": 44 }, "end": { - "line": 163, + "line": 164, "column": 47 }, "identifierName": "ext" @@ -30270,29 +30495,29 @@ }, { "type": "IfStatement", - "start": 7760, - "end": 8016, + "start": 7797, + "end": 8053, "loc": { "start": { - "line": 165, + "line": 166, "column": 8 }, "end": { - "line": 168, + "line": 169, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 7764, - "end": 7780, + "start": 7801, + "end": 7817, "loc": { "start": { - "line": 165, + "line": 166, "column": 12 }, "end": { - "line": 165, + "line": 166, "column": 28 } }, @@ -30300,15 +30525,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 7765, - "end": 7780, + "start": 7802, + "end": 7817, "loc": { "start": { - "line": 165, + "line": 166, "column": 13 }, "end": { - "line": 165, + "line": 166, "column": 28 }, "identifierName": "fileTypeConfigs" @@ -30321,58 +30546,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 7782, - "end": 8016, + "start": 7819, + "end": 8053, "loc": { "start": { - "line": 165, + "line": 166, "column": 30 }, "end": { - "line": 168, + "line": 169, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 7796, - "end": 7972, + "start": 7833, + "end": 8009, "loc": { "start": { - "line": 166, + "line": 167, "column": 12 }, "end": { - "line": 166, + "line": 167, "column": 188 } }, "expression": { "type": "CallExpression", - "start": 7796, - "end": 7971, + "start": 7833, + "end": 8008, "loc": { "start": { - "line": 166, + "line": 167, "column": 12 }, "end": { - "line": 166, + "line": 167, "column": 187 } }, "callee": { "type": "Identifier", - "start": 7796, - "end": 7799, + "start": 7833, + "end": 7836, "loc": { "start": { - "line": 166, + "line": 167, "column": 12 }, "end": { - "line": 166, + "line": 167, "column": 15 }, "identifierName": "log" @@ -30382,30 +30607,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 7800, - "end": 7970, + "start": 7837, + "end": 8007, "loc": { "start": { - "line": 166, + "line": 167, "column": 16 }, "end": { - "line": 166, + "line": 167, "column": 186 } }, "expressions": [ { "type": "Identifier", - "start": 7875, - "end": 7878, + "start": 7912, + "end": 7915, "loc": { "start": { - "line": 166, + "line": 167, "column": 91 }, "end": { - "line": 166, + "line": 167, "column": 94 }, "identifierName": "ext" @@ -30416,15 +30641,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 7801, - "end": 7873, + "start": 7838, + "end": 7910, "loc": { "start": { - "line": 166, + "line": 167, "column": 17 }, "end": { - "line": 166, + "line": 167, "column": 89 } }, @@ -30436,15 +30661,15 @@ }, { "type": "TemplateElement", - "start": 7879, - "end": 7969, + "start": 7916, + "end": 8006, "loc": { "start": { - "line": 166, + "line": 167, "column": 95 }, "end": { - "line": 166, + "line": 167, "column": 185 } }, @@ -30461,44 +30686,44 @@ }, { "type": "ExpressionStatement", - "start": 7985, - "end": 8006, + "start": 8022, + "end": 8043, "loc": { "start": { - "line": 167, + "line": 168, "column": 12 }, "end": { - "line": 167, + "line": 168, "column": 33 } }, "expression": { "type": "AssignmentExpression", - "start": 7985, - "end": 8005, + "start": 8022, + "end": 8042, "loc": { "start": { - "line": 167, + "line": 168, "column": 12 }, "end": { - "line": 167, + "line": 168, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", - "start": 7985, - "end": 8000, + "start": 8022, + "end": 8037, "loc": { "start": { - "line": 167, + "line": 168, "column": 12 }, "end": { - "line": 167, + "line": 168, "column": 27 }, "identifierName": "fileTypeConfigs" @@ -30507,15 +30732,15 @@ }, "right": { "type": "ObjectExpression", - "start": 8003, - "end": 8005, + "start": 8040, + "end": 8042, "loc": { "start": { - "line": 167, + "line": 168, "column": 30 }, "end": { - "line": 167, + "line": 168, "column": 32 } }, @@ -30530,29 +30755,29 @@ }, { "type": "FunctionDeclaration", - "start": 8026, - "end": 8194, + "start": 8063, + "end": 8231, "loc": { "start": { - "line": 170, + "line": 171, "column": 8 }, "end": { - "line": 175, + "line": 176, "column": 9 } }, "id": { "type": "Identifier", - "start": 8035, - "end": 8049, + "start": 8072, + "end": 8086, "loc": { "start": { - "line": 170, + "line": 171, "column": 17 }, "end": { - "line": 170, + "line": 171, "column": 31 }, "identifierName": "overrideOption" @@ -30565,15 +30790,15 @@ "params": [ { "type": "Identifier", - "start": 8050, - "end": 8057, + "start": 8087, + "end": 8094, "loc": { "start": { - "line": 170, + "line": 171, "column": 32 }, "end": { - "line": 170, + "line": 171, "column": 39 }, "identifierName": "option1" @@ -30582,15 +30807,15 @@ }, { "type": "Identifier", - "start": 8059, - "end": 8066, + "start": 8096, + "end": 8103, "loc": { "start": { - "line": 170, + "line": 171, "column": 41 }, "end": { - "line": 170, + "line": 171, "column": 48 }, "identifierName": "option2" @@ -30600,58 +30825,58 @@ ], "body": { "type": "BlockStatement", - "start": 8068, - "end": 8194, + "start": 8105, + "end": 8231, "loc": { "start": { - "line": 170, + "line": 171, "column": 50 }, "end": { - "line": 175, + "line": 176, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 8082, - "end": 8156, + "start": 8119, + "end": 8193, "loc": { "start": { - "line": 171, + "line": 172, "column": 12 }, "end": { - "line": 173, + "line": 174, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 8086, - "end": 8107, + "start": 8123, + "end": 8144, "loc": { "start": { - "line": 171, + "line": 172, "column": 16 }, "end": { - "line": 171, + "line": 172, "column": 37 } }, "left": { "type": "Identifier", - "start": 8086, - "end": 8093, + "start": 8123, + "end": 8130, "loc": { "start": { - "line": 171, + "line": 172, "column": 16 }, "end": { - "line": 171, + "line": 172, "column": 23 }, "identifierName": "option1" @@ -30661,15 +30886,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 8098, - "end": 8107, + "start": 8135, + "end": 8144, "loc": { "start": { - "line": 171, + "line": 172, "column": 28 }, "end": { - "line": 171, + "line": 172, "column": 37 }, "identifierName": "undefined" @@ -30679,44 +30904,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 8109, - "end": 8156, + "start": 8146, + "end": 8193, "loc": { "start": { - "line": 171, + "line": 172, "column": 39 }, "end": { - "line": 173, + "line": 174, "column": 13 } }, "body": [ { "type": "ReturnStatement", - "start": 8127, - "end": 8142, + "start": 8164, + "end": 8179, "loc": { "start": { - "line": 172, + "line": 173, "column": 16 }, "end": { - "line": 172, + "line": 173, "column": 31 } }, "argument": { "type": "Identifier", - "start": 8134, - "end": 8141, + "start": 8171, + "end": 8178, "loc": { "start": { - "line": 172, + "line": 173, "column": 23 }, "end": { - "line": 172, + "line": 173, "column": 30 }, "identifierName": "option1" @@ -30731,29 +30956,29 @@ }, { "type": "ReturnStatement", - "start": 8169, - "end": 8184, + "start": 8206, + "end": 8221, "loc": { "start": { - "line": 174, + "line": 175, "column": 12 }, "end": { - "line": 174, + "line": 175, "column": 27 } }, "argument": { "type": "Identifier", - "start": 8176, - "end": 8183, + "start": 8213, + "end": 8220, "loc": { "start": { - "line": 174, + "line": 175, "column": 19 }, "end": { - "line": 174, + "line": 175, "column": 26 }, "identifierName": "option2" @@ -30767,29 +30992,29 @@ }, { "type": "IfStatement", - "start": 8204, - "end": 8399, + "start": 8241, + "end": 8436, "loc": { "start": { - "line": 177, + "line": 178, "column": 8 }, "end": { - "line": 184, + "line": 185, "column": 9 } }, "test": { "type": "UnaryExpression", - "start": 8208, - "end": 8219, + "start": 8245, + "end": 8256, "loc": { "start": { - "line": 177, + "line": 178, "column": 12 }, "end": { - "line": 177, + "line": 178, "column": 23 } }, @@ -30797,15 +31022,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 8209, - "end": 8219, + "start": 8246, + "end": 8256, "loc": { "start": { - "line": 177, + "line": 178, "column": 13 }, "end": { - "line": 177, + "line": 178, "column": 23 }, "identifierName": "sourceData" @@ -30818,88 +31043,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 8221, - "end": 8399, + "start": 8258, + "end": 8436, "loc": { "start": { - "line": 177, + "line": 178, "column": 25 }, "end": { - "line": 184, + "line": 185, "column": 9 } }, "body": [ { "type": "TryStatement", - "start": 8235, - "end": 8389, + "start": 8272, + "end": 8426, "loc": { "start": { - "line": 178, + "line": 179, "column": 12 }, "end": { - "line": 183, + "line": 184, "column": 13 } }, "block": { "type": "BlockStatement", - "start": 8239, - "end": 8308, + "start": 8276, + "end": 8345, "loc": { "start": { - "line": 178, + "line": 179, "column": 16 }, "end": { - "line": 180, + "line": 181, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 8257, - "end": 8294, + "start": 8294, + "end": 8331, "loc": { "start": { - "line": 179, + "line": 180, "column": 16 }, "end": { - "line": 179, + "line": 180, "column": 53 } }, "expression": { "type": "AssignmentExpression", - "start": 8257, - "end": 8293, + "start": 8294, + "end": 8330, "loc": { "start": { - "line": 179, + "line": 180, "column": 16 }, "end": { - "line": 179, + "line": 180, "column": 52 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8257, - "end": 8267, + "start": 8294, + "end": 8304, "loc": { "start": { - "line": 179, + "line": 180, "column": 16 }, "end": { - "line": 179, + "line": 180, "column": 26 }, "identifierName": "sourceData" @@ -30908,43 +31133,43 @@ }, "right": { "type": "CallExpression", - "start": 8270, - "end": 8293, + "start": 8307, + "end": 8330, "loc": { "start": { - "line": 179, + "line": 180, "column": 29 }, "end": { - "line": 179, + "line": 180, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 8270, - "end": 8285, + "start": 8307, + "end": 8322, "loc": { "start": { - "line": 179, + "line": 180, "column": 29 }, "end": { - "line": 179, + "line": 180, "column": 44 } }, "object": { "type": "Identifier", - "start": 8270, - "end": 8272, + "start": 8307, + "end": 8309, "loc": { "start": { - "line": 179, + "line": 180, "column": 29 }, "end": { - "line": 179, + "line": 180, "column": 31 }, "identifierName": "fs" @@ -30953,15 +31178,15 @@ }, "property": { "type": "Identifier", - "start": 8273, - "end": 8285, + "start": 8310, + "end": 8322, "loc": { "start": { - "line": 179, + "line": 180, "column": 32 }, "end": { - "line": 179, + "line": 180, "column": 44 }, "identifierName": "readFileSync" @@ -30973,15 +31198,15 @@ "arguments": [ { "type": "Identifier", - "start": 8286, - "end": 8292, + "start": 8323, + "end": 8329, "loc": { "start": { - "line": 179, + "line": 180, "column": 45 }, "end": { - "line": 179, + "line": 180, "column": 51 }, "identifierName": "source" @@ -30997,29 +31222,29 @@ }, "handler": { "type": "CatchClause", - "start": 8309, - "end": 8389, + "start": 8346, + "end": 8426, "loc": { "start": { - "line": 180, + "line": 181, "column": 14 }, "end": { - "line": 183, + "line": 184, "column": 13 } }, "param": { "type": "Identifier", - "start": 8316, - "end": 8319, + "start": 8353, + "end": 8356, "loc": { "start": { - "line": 180, + "line": 181, "column": 21 }, "end": { - "line": 180, + "line": 181, "column": 24 }, "identifierName": "err" @@ -31028,58 +31253,58 @@ }, "body": { "type": "BlockStatement", - "start": 8321, - "end": 8389, + "start": 8358, + "end": 8426, "loc": { "start": { - "line": 180, + "line": 181, "column": 26 }, "end": { - "line": 183, + "line": 184, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 8339, - "end": 8351, + "start": 8376, + "end": 8388, "loc": { "start": { - "line": 181, + "line": 182, "column": 16 }, "end": { - "line": 181, + "line": 182, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 8339, - "end": 8350, + "start": 8376, + "end": 8387, "loc": { "start": { - "line": 181, + "line": 182, "column": 16 }, "end": { - "line": 181, + "line": 182, "column": 27 } }, "callee": { "type": "Identifier", - "start": 8339, - "end": 8345, + "start": 8376, + "end": 8382, "loc": { "start": { - "line": 181, + "line": 182, "column": 16 }, "end": { - "line": 181, + "line": 182, "column": 22 }, "identifierName": "reject" @@ -31089,15 +31314,15 @@ "arguments": [ { "type": "Identifier", - "start": 8346, - "end": 8349, + "start": 8383, + "end": 8386, "loc": { "start": { - "line": 181, + "line": 182, "column": 23 }, "end": { - "line": 181, + "line": 182, "column": 26 }, "identifierName": "err" @@ -31109,15 +31334,15 @@ }, { "type": "ReturnStatement", - "start": 8368, - "end": 8375, + "start": 8405, + "end": 8412, "loc": { "start": { - "line": 182, + "line": 183, "column": 16 }, "end": { - "line": 182, + "line": 183, "column": 23 } }, @@ -31137,44 +31362,44 @@ }, { "type": "VariableDeclaration", - "start": 8409, - "end": 8459, + "start": 8446, + "end": 8496, "loc": { "start": { - "line": 186, + "line": 187, "column": 8 }, "end": { - "line": 186, + "line": 187, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8415, - "end": 8458, + "start": 8452, + "end": 8495, "loc": { "start": { - "line": 186, + "line": 187, "column": 14 }, "end": { - "line": 186, + "line": 187, "column": 57 } }, "id": { "type": "Identifier", - "start": 8415, - "end": 8434, + "start": 8452, + "end": 8471, "loc": { "start": { - "line": 186, + "line": 187, "column": 14 }, "end": { - "line": 186, + "line": 187, "column": 33 }, "identifierName": "sourceFileSizeBytes" @@ -31183,29 +31408,29 @@ }, "init": { "type": "MemberExpression", - "start": 8437, - "end": 8458, + "start": 8474, + "end": 8495, "loc": { "start": { - "line": 186, + "line": 187, "column": 36 }, "end": { - "line": 186, + "line": 187, "column": 57 } }, "object": { "type": "Identifier", - "start": 8437, - "end": 8447, + "start": 8474, + "end": 8484, "loc": { "start": { - "line": 186, + "line": 187, "column": 36 }, "end": { - "line": 186, + "line": 187, "column": 46 }, "identifierName": "sourceData" @@ -31214,15 +31439,15 @@ }, "property": { "type": "Identifier", - "start": 8448, - "end": 8458, + "start": 8485, + "end": 8495, "loc": { "start": { - "line": 186, + "line": 187, "column": 47 }, "end": { - "line": 186, + "line": 187, "column": 57 }, "identifierName": "byteLength" @@ -31237,43 +31462,43 @@ }, { "type": "ExpressionStatement", - "start": 8469, - "end": 8544, + "start": 8506, + "end": 8581, "loc": { "start": { - "line": 188, + "line": 189, "column": 8 }, "end": { - "line": 188, + "line": 189, "column": 83 } }, "expression": { "type": "CallExpression", - "start": 8469, - "end": 8543, + "start": 8506, + "end": 8580, "loc": { "start": { - "line": 188, + "line": 189, "column": 8 }, "end": { - "line": 188, + "line": 189, "column": 82 } }, "callee": { "type": "Identifier", - "start": 8469, - "end": 8472, + "start": 8506, + "end": 8509, "loc": { "start": { - "line": 188, + "line": 189, "column": 8 }, "end": { - "line": 188, + "line": 189, "column": 11 }, "identifierName": "log" @@ -31283,43 +31508,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 8473, - "end": 8542, + "start": 8510, + "end": 8579, "loc": { "start": { - "line": 188, + "line": 189, "column": 12 }, "end": { - "line": 188, + "line": 189, "column": 81 } }, "left": { "type": "BinaryExpression", - "start": 8473, - "end": 8534, + "start": 8510, + "end": 8571, "loc": { "start": { - "line": 188, + "line": 189, "column": 12 }, "end": { - "line": 188, + "line": 189, "column": 73 } }, "left": { "type": "StringLiteral", - "start": 8473, - "end": 8492, + "start": 8510, + "end": 8529, "loc": { "start": { - "line": 188, + "line": 189, "column": 12 }, "end": { - "line": 188, + "line": 189, "column": 31 } }, @@ -31332,57 +31557,57 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 8495, - "end": 8534, + "start": 8532, + "end": 8571, "loc": { "start": { - "line": 188, + "line": 189, "column": 34 }, "end": { - "line": 188, + "line": 189, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 8495, - "end": 8531, + "start": 8532, + "end": 8568, "loc": { "start": { - "line": 188, + "line": 189, "column": 34 }, "end": { - "line": 188, + "line": 189, "column": 70 } }, "object": { "type": "BinaryExpression", - "start": 8496, - "end": 8522, + "start": 8533, + "end": 8559, "loc": { "start": { - "line": 188, + "line": 189, "column": 35 }, "end": { - "line": 188, + "line": 189, "column": 61 } }, "left": { "type": "Identifier", - "start": 8496, - "end": 8515, + "start": 8533, + "end": 8552, "loc": { "start": { - "line": 188, + "line": 189, "column": 35 }, "end": { - "line": 188, + "line": 189, "column": 54 }, "identifierName": "sourceFileSizeBytes" @@ -31392,15 +31617,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 8518, - "end": 8522, + "start": 8555, + "end": 8559, "loc": { "start": { - "line": 188, + "line": 189, "column": 57 }, "end": { - "line": 188, + "line": 189, "column": 61 } }, @@ -31412,20 +31637,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 8495 + "parenStart": 8532 } }, "property": { "type": "Identifier", - "start": 8524, - "end": 8531, + "start": 8561, + "end": 8568, "loc": { "start": { - "line": 188, + "line": 189, "column": 63 }, "end": { - "line": 188, + "line": 189, "column": 70 }, "identifierName": "toFixed" @@ -31437,15 +31662,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 8532, - "end": 8533, + "start": 8569, + "end": 8570, "loc": { "start": { - "line": 188, + "line": 189, "column": 71 }, "end": { - "line": 188, + "line": 189, "column": 72 } }, @@ -31461,15 +31686,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 8537, - "end": 8542, + "start": 8574, + "end": 8579, "loc": { "start": { - "line": 188, + "line": 189, "column": 76 }, "end": { - "line": 188, + "line": 189, "column": 81 } }, @@ -31485,43 +31710,43 @@ }, { "type": "IfStatement", - "start": 8554, - "end": 8924, + "start": 8591, + "end": 8961, "loc": { "start": { - "line": 190, + "line": 191, "column": 8 }, "end": { - "line": 200, + "line": 201, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 8558, - "end": 8594, + "start": 8595, + "end": 8631, "loc": { "start": { - "line": 190, + "line": 191, "column": 12 }, "end": { - "line": 190, + "line": 191, "column": 48 } }, "left": { "type": "UnaryExpression", - "start": 8558, - "end": 8575, + "start": 8595, + "end": 8612, "loc": { "start": { - "line": 190, + "line": 191, "column": 12 }, "end": { - "line": 190, + "line": 191, "column": 29 } }, @@ -31529,15 +31754,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 8559, - "end": 8575, + "start": 8596, + "end": 8612, "loc": { "start": { - "line": 190, + "line": 191, "column": 13 }, "end": { - "line": 190, + "line": 191, "column": 29 }, "identifierName": "metaModelDataStr" @@ -31551,15 +31776,15 @@ "operator": "&&", "right": { "type": "Identifier", - "start": 8579, - "end": 8594, + "start": 8616, + "end": 8631, "loc": { "start": { - "line": 190, + "line": 191, "column": 33 }, "end": { - "line": 190, + "line": 191, "column": 48 }, "identifierName": "metaModelSource" @@ -31569,58 +31794,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 8596, - "end": 8857, + "start": 8633, + "end": 8894, "loc": { "start": { - "line": 190, + "line": 191, "column": 50 }, "end": { - "line": 198, + "line": 199, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8610, - "end": 8665, + "start": 8647, + "end": 8702, "loc": { "start": { - "line": 191, + "line": 192, "column": 12 }, "end": { - "line": 191, + "line": 192, "column": 67 } }, "expression": { "type": "CallExpression", - "start": 8610, - "end": 8664, + "start": 8647, + "end": 8701, "loc": { "start": { - "line": 191, + "line": 192, "column": 12 }, "end": { - "line": 191, + "line": 192, "column": 66 } }, "callee": { "type": "Identifier", - "start": 8610, - "end": 8613, + "start": 8647, + "end": 8650, "loc": { "start": { - "line": 191, + "line": 192, "column": 12 }, "end": { - "line": 191, + "line": 192, "column": 15 }, "identifierName": "log" @@ -31630,29 +31855,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 8614, - "end": 8663, + "start": 8651, + "end": 8700, "loc": { "start": { - "line": 191, + "line": 192, "column": 16 }, "end": { - "line": 191, + "line": 192, "column": 65 } }, "left": { "type": "StringLiteral", - "start": 8614, - "end": 8645, + "start": 8651, + "end": 8682, "loc": { "start": { - "line": 191, + "line": 192, "column": 16 }, "end": { - "line": 191, + "line": 192, "column": 47 } }, @@ -31665,15 +31890,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 8648, - "end": 8663, + "start": 8685, + "end": 8700, "loc": { "start": { - "line": 191, + "line": 192, "column": 50 }, "end": { - "line": 191, + "line": 192, "column": 65 }, "identifierName": "metaModelSource" @@ -31686,73 +31911,73 @@ }, { "type": "TryStatement", - "start": 8678, - "end": 8847, + "start": 8715, + "end": 8884, "loc": { "start": { - "line": 192, + "line": 193, "column": 12 }, "end": { - "line": 197, + "line": 198, "column": 13 } }, "block": { "type": "BlockStatement", - "start": 8682, - "end": 8766, + "start": 8719, + "end": 8803, "loc": { "start": { - "line": 192, + "line": 193, "column": 16 }, "end": { - "line": 194, + "line": 195, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 8700, - "end": 8752, + "start": 8737, + "end": 8789, "loc": { "start": { - "line": 193, + "line": 194, "column": 16 }, "end": { - "line": 193, + "line": 194, "column": 68 } }, "expression": { "type": "AssignmentExpression", - "start": 8700, - "end": 8751, + "start": 8737, + "end": 8788, "loc": { "start": { - "line": 193, + "line": 194, "column": 16 }, "end": { - "line": 193, + "line": 194, "column": 67 } }, "operator": "=", "left": { "type": "Identifier", - "start": 8700, - "end": 8716, + "start": 8737, + "end": 8753, "loc": { "start": { - "line": 193, + "line": 194, "column": 16 }, "end": { - "line": 193, + "line": 194, "column": 32 }, "identifierName": "metaModelDataStr" @@ -31761,43 +31986,43 @@ }, "right": { "type": "CallExpression", - "start": 8719, - "end": 8751, + "start": 8756, + "end": 8788, "loc": { "start": { - "line": 193, + "line": 194, "column": 35 }, "end": { - "line": 193, + "line": 194, "column": 67 } }, "callee": { "type": "MemberExpression", - "start": 8719, - "end": 8734, + "start": 8756, + "end": 8771, "loc": { "start": { - "line": 193, + "line": 194, "column": 35 }, "end": { - "line": 193, + "line": 194, "column": 50 } }, "object": { "type": "Identifier", - "start": 8719, - "end": 8721, + "start": 8756, + "end": 8758, "loc": { "start": { - "line": 193, + "line": 194, "column": 35 }, "end": { - "line": 193, + "line": 194, "column": 37 }, "identifierName": "fs" @@ -31806,15 +32031,15 @@ }, "property": { "type": "Identifier", - "start": 8722, - "end": 8734, + "start": 8759, + "end": 8771, "loc": { "start": { - "line": 193, + "line": 194, "column": 38 }, "end": { - "line": 193, + "line": 194, "column": 50 }, "identifierName": "readFileSync" @@ -31826,15 +32051,15 @@ "arguments": [ { "type": "Identifier", - "start": 8735, - "end": 8750, + "start": 8772, + "end": 8787, "loc": { "start": { - "line": 193, + "line": 194, "column": 51 }, "end": { - "line": 193, + "line": 194, "column": 66 }, "identifierName": "metaModelSource" @@ -31850,29 +32075,29 @@ }, "handler": { "type": "CatchClause", - "start": 8767, - "end": 8847, + "start": 8804, + "end": 8884, "loc": { "start": { - "line": 194, + "line": 195, "column": 14 }, "end": { - "line": 197, + "line": 198, "column": 13 } }, "param": { "type": "Identifier", - "start": 8774, - "end": 8777, + "start": 8811, + "end": 8814, "loc": { "start": { - "line": 194, + "line": 195, "column": 21 }, "end": { - "line": 194, + "line": 195, "column": 24 }, "identifierName": "err" @@ -31881,58 +32106,58 @@ }, "body": { "type": "BlockStatement", - "start": 8779, - "end": 8847, + "start": 8816, + "end": 8884, "loc": { "start": { - "line": 194, + "line": 195, "column": 26 }, "end": { - "line": 197, + "line": 198, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 8797, - "end": 8809, + "start": 8834, + "end": 8846, "loc": { "start": { - "line": 195, + "line": 196, "column": 16 }, "end": { - "line": 195, + "line": 196, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 8797, - "end": 8808, + "start": 8834, + "end": 8845, "loc": { "start": { - "line": 195, + "line": 196, "column": 16 }, "end": { - "line": 195, + "line": 196, "column": 27 } }, "callee": { "type": "Identifier", - "start": 8797, - "end": 8803, + "start": 8834, + "end": 8840, "loc": { "start": { - "line": 195, + "line": 196, "column": 16 }, "end": { - "line": 195, + "line": 196, "column": 22 }, "identifierName": "reject" @@ -31942,15 +32167,15 @@ "arguments": [ { "type": "Identifier", - "start": 8804, - "end": 8807, + "start": 8841, + "end": 8844, "loc": { "start": { - "line": 195, + "line": 196, "column": 23 }, "end": { - "line": 195, + "line": 196, "column": 26 }, "identifierName": "err" @@ -31962,15 +32187,15 @@ }, { "type": "ReturnStatement", - "start": 8826, - "end": 8833, + "start": 8863, + "end": 8870, "loc": { "start": { - "line": 196, + "line": 197, "column": 16 }, "end": { - "line": 196, + "line": 197, "column": 23 } }, @@ -31988,58 +32213,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 8863, - "end": 8924, + "start": 8900, + "end": 8961, "loc": { "start": { - "line": 198, + "line": 199, "column": 15 }, "end": { - "line": 200, + "line": 201, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 8877, - "end": 8914, + "start": 8914, + "end": 8951, "loc": { "start": { - "line": 199, + "line": 200, "column": 12 }, "end": { - "line": 199, + "line": 200, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 8877, - "end": 8913, + "start": 8914, + "end": 8950, "loc": { "start": { - "line": 199, + "line": 200, "column": 12 }, "end": { - "line": 199, + "line": 200, "column": 48 } }, "callee": { "type": "Identifier", - "start": 8877, - "end": 8880, + "start": 8914, + "end": 8917, "loc": { "start": { - "line": 199, + "line": 200, "column": 12 }, "end": { - "line": 199, + "line": 200, "column": 15 }, "identifierName": "log" @@ -32049,15 +32274,15 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 8881, - "end": 8912, + "start": 8918, + "end": 8949, "loc": { "start": { - "line": 199, + "line": 200, "column": 16 }, "end": { - "line": 199, + "line": 200, "column": 47 } }, @@ -32065,15 +32290,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 8882, - "end": 8911, + "start": 8919, + "end": 8948, "loc": { "start": { - "line": 199, + "line": 200, "column": 17 }, "end": { - "line": 199, + "line": 200, "column": 46 } }, @@ -32094,44 +32319,44 @@ }, { "type": "VariableDeclaration", - "start": 8934, - "end": 8952, + "start": 8971, + "end": 8989, "loc": { "start": { - "line": 202, + "line": 203, "column": 8 }, "end": { - "line": 202, + "line": 203, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8938, - "end": 8951, + "start": 8975, + "end": 8988, "loc": { "start": { - "line": 202, + "line": 203, "column": 12 }, "end": { - "line": 202, + "line": 203, "column": 25 } }, "id": { "type": "Identifier", - "start": 8938, - "end": 8951, + "start": 8975, + "end": 8988, "loc": { "start": { - "line": 202, + "line": 203, "column": 12 }, "end": { - "line": 202, + "line": 203, "column": 25 }, "identifierName": "metaModelJSON" @@ -32145,29 +32370,29 @@ }, { "type": "IfStatement", - "start": 8962, - "end": 9209, + "start": 8999, + "end": 9246, "loc": { "start": { - "line": 204, + "line": 205, "column": 8 }, "end": { - "line": 211, + "line": 212, "column": 9 } }, "test": { "type": "Identifier", - "start": 8966, - "end": 8982, + "start": 9003, + "end": 9019, "loc": { "start": { - "line": 204, + "line": 205, "column": 12 }, "end": { - "line": 204, + "line": 205, "column": 28 }, "identifierName": "metaModelDataStr" @@ -32176,88 +32401,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 8984, - "end": 9209, + "start": 9021, + "end": 9246, "loc": { "start": { - "line": 204, + "line": 205, "column": 30 }, "end": { - "line": 211, + "line": 212, "column": 9 } }, "body": [ { "type": "TryStatement", - "start": 8998, - "end": 9199, + "start": 9035, + "end": 9236, "loc": { "start": { - "line": 205, + "line": 206, "column": 12 }, "end": { - "line": 210, + "line": 211, "column": 13 } }, "block": { "type": "BlockStatement", - "start": 9002, - "end": 9079, + "start": 9039, + "end": 9116, "loc": { "start": { - "line": 205, + "line": 206, "column": 16 }, "end": { - "line": 207, + "line": 208, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9020, - "end": 9065, + "start": 9057, + "end": 9102, "loc": { "start": { - "line": 206, + "line": 207, "column": 16 }, "end": { - "line": 206, + "line": 207, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 9020, - "end": 9064, + "start": 9057, + "end": 9101, "loc": { "start": { - "line": 206, + "line": 207, "column": 16 }, "end": { - "line": 206, + "line": 207, "column": 60 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9020, - "end": 9033, + "start": 9057, + "end": 9070, "loc": { "start": { - "line": 206, + "line": 207, "column": 16 }, "end": { - "line": 206, + "line": 207, "column": 29 }, "identifierName": "metaModelJSON" @@ -32266,43 +32491,43 @@ }, "right": { "type": "CallExpression", - "start": 9036, - "end": 9064, + "start": 9073, + "end": 9101, "loc": { "start": { - "line": 206, + "line": 207, "column": 32 }, "end": { - "line": 206, + "line": 207, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 9036, - "end": 9046, + "start": 9073, + "end": 9083, "loc": { "start": { - "line": 206, + "line": 207, "column": 32 }, "end": { - "line": 206, + "line": 207, "column": 42 } }, "object": { "type": "Identifier", - "start": 9036, - "end": 9040, + "start": 9073, + "end": 9077, "loc": { "start": { - "line": 206, + "line": 207, "column": 32 }, "end": { - "line": 206, + "line": 207, "column": 36 }, "identifierName": "JSON" @@ -32311,15 +32536,15 @@ }, "property": { "type": "Identifier", - "start": 9041, - "end": 9046, + "start": 9078, + "end": 9083, "loc": { "start": { - "line": 206, + "line": 207, "column": 37 }, "end": { - "line": 206, + "line": 207, "column": 42 }, "identifierName": "parse" @@ -32331,15 +32556,15 @@ "arguments": [ { "type": "Identifier", - "start": 9047, - "end": 9063, + "start": 9084, + "end": 9100, "loc": { "start": { - "line": 206, + "line": 207, "column": 43 }, "end": { - "line": 206, + "line": 207, "column": 59 }, "identifierName": "metaModelDataStr" @@ -32355,29 +32580,29 @@ }, "handler": { "type": "CatchClause", - "start": 9080, - "end": 9199, + "start": 9117, + "end": 9236, "loc": { "start": { - "line": 207, + "line": 208, "column": 14 }, "end": { - "line": 210, + "line": 211, "column": 13 } }, "param": { "type": "Identifier", - "start": 9087, - "end": 9088, + "start": 9124, + "end": 9125, "loc": { "start": { - "line": 207, + "line": 208, "column": 21 }, "end": { - "line": 207, + "line": 208, "column": 22 }, "identifierName": "e" @@ -32386,59 +32611,59 @@ }, "body": { "type": "BlockStatement", - "start": 9090, - "end": 9199, + "start": 9127, + "end": 9236, "loc": { "start": { - "line": 207, + "line": 208, "column": 24 }, "end": { - "line": 210, + "line": 211, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9108, - "end": 9127, + "start": 9145, + "end": 9164, "loc": { "start": { - "line": 208, + "line": 209, "column": 16 }, "end": { - "line": 208, + "line": 209, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 9108, - "end": 9126, + "start": 9145, + "end": 9163, "loc": { "start": { - "line": 208, + "line": 209, "column": 16 }, "end": { - "line": 208, + "line": 209, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9108, - "end": 9121, + "start": 9145, + "end": 9158, "loc": { "start": { - "line": 208, + "line": 209, "column": 16 }, "end": { - "line": 208, + "line": 209, "column": 29 }, "identifierName": "metaModelJSON" @@ -32447,15 +32672,15 @@ }, "right": { "type": "ObjectExpression", - "start": 9124, - "end": 9126, + "start": 9161, + "end": 9163, "loc": { "start": { - "line": 208, + "line": 209, "column": 32 }, "end": { - "line": 208, + "line": 209, "column": 34 } }, @@ -32465,43 +32690,43 @@ }, { "type": "ExpressionStatement", - "start": 9144, - "end": 9185, + "start": 9181, + "end": 9222, "loc": { "start": { - "line": 209, + "line": 210, "column": 16 }, "end": { - "line": 209, + "line": 210, "column": 57 } }, "expression": { "type": "CallExpression", - "start": 9144, - "end": 9184, + "start": 9181, + "end": 9221, "loc": { "start": { - "line": 209, + "line": 210, "column": 16 }, "end": { - "line": 209, + "line": 210, "column": 56 } }, "callee": { "type": "Identifier", - "start": 9144, - "end": 9147, + "start": 9181, + "end": 9184, "loc": { "start": { - "line": 209, + "line": 210, "column": 16 }, "end": { - "line": 209, + "line": 210, "column": 19 }, "identifierName": "log" @@ -32511,30 +32736,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 9148, - "end": 9183, + "start": 9185, + "end": 9220, "loc": { "start": { - "line": 209, + "line": 210, "column": 20 }, "end": { - "line": 209, + "line": 210, "column": 55 } }, "expressions": [ { "type": "Identifier", - "start": 9180, - "end": 9181, + "start": 9217, + "end": 9218, "loc": { "start": { - "line": 209, + "line": 210, "column": 52 }, "end": { - "line": 209, + "line": 210, "column": 53 }, "identifierName": "e" @@ -32545,15 +32770,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 9149, - "end": 9178, + "start": 9186, + "end": 9215, "loc": { "start": { - "line": 209, + "line": 210, "column": 21 }, "end": { - "line": 209, + "line": 210, "column": 50 } }, @@ -32565,15 +32790,15 @@ }, { "type": "TemplateElement", - "start": 9182, - "end": 9182, + "start": 9219, + "end": 9219, "loc": { "start": { - "line": 209, + "line": 210, "column": 54 }, "end": { - "line": 209, + "line": 210, "column": 54 } }, @@ -32602,44 +32827,44 @@ }, { "type": "ExpressionStatement", - "start": 9219, - "end": 9290, + "start": 9256, + "end": 9327, "loc": { "start": { - "line": 213, + "line": 214, "column": 8 }, "end": { - "line": 213, + "line": 214, "column": 79 } }, "expression": { "type": "AssignmentExpression", - "start": 9219, - "end": 9289, + "start": 9256, + "end": 9326, "loc": { "start": { - "line": 213, + "line": 214, "column": 8 }, "end": { - "line": 213, + "line": 214, "column": 78 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9219, - "end": 9230, + "start": 9256, + "end": 9267, "loc": { "start": { - "line": 213, + "line": 214, "column": 8 }, "end": { - "line": 213, + "line": 214, "column": 19 }, "identifierName": "minTileSize" @@ -32648,29 +32873,29 @@ }, "right": { "type": "CallExpression", - "start": 9233, - "end": 9289, + "start": 9270, + "end": 9326, "loc": { "start": { - "line": 213, + "line": 214, "column": 22 }, "end": { - "line": 213, + "line": 214, "column": 78 } }, "callee": { "type": "Identifier", - "start": 9233, - "end": 9247, + "start": 9270, + "end": 9284, "loc": { "start": { - "line": 213, + "line": 214, "column": 22 }, "end": { - "line": 213, + "line": 214, "column": 36 }, "identifierName": "overrideOption" @@ -32680,29 +32905,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9248, - "end": 9275, + "start": 9285, + "end": 9312, "loc": { "start": { - "line": 213, + "line": 214, "column": 37 }, "end": { - "line": 213, + "line": 214, "column": 64 } }, "object": { "type": "Identifier", - "start": 9248, - "end": 9263, + "start": 9285, + "end": 9300, "loc": { "start": { - "line": 213, + "line": 214, "column": 37 }, "end": { - "line": 213, + "line": 214, "column": 52 }, "identifierName": "fileTypeConfigs" @@ -32711,15 +32936,15 @@ }, "property": { "type": "Identifier", - "start": 9264, - "end": 9275, + "start": 9301, + "end": 9312, "loc": { "start": { - "line": 213, + "line": 214, "column": 53 }, "end": { - "line": 213, + "line": 214, "column": 64 }, "identifierName": "minTileSize" @@ -32730,15 +32955,15 @@ }, { "type": "Identifier", - "start": 9277, - "end": 9288, + "start": 9314, + "end": 9325, "loc": { "start": { - "line": 213, + "line": 214, "column": 66 }, "end": { - "line": 213, + "line": 214, "column": 77 }, "identifierName": "minTileSize" @@ -32751,44 +32976,44 @@ }, { "type": "ExpressionStatement", - "start": 9299, - "end": 9358, + "start": 9336, + "end": 9395, "loc": { "start": { - "line": 214, + "line": 215, "column": 8 }, "end": { - "line": 214, + "line": 215, "column": 67 } }, "expression": { "type": "AssignmentExpression", - "start": 9299, - "end": 9357, + "start": 9336, + "end": 9394, "loc": { "start": { - "line": 214, + "line": 215, "column": 8 }, "end": { - "line": 214, + "line": 215, "column": 66 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9299, - "end": 9306, + "start": 9336, + "end": 9343, "loc": { "start": { - "line": 214, + "line": 215, "column": 8 }, "end": { - "line": 214, + "line": 215, "column": 15 }, "identifierName": "rotateX" @@ -32797,29 +33022,29 @@ }, "right": { "type": "CallExpression", - "start": 9309, - "end": 9357, + "start": 9346, + "end": 9394, "loc": { "start": { - "line": 214, + "line": 215, "column": 18 }, "end": { - "line": 214, + "line": 215, "column": 66 } }, "callee": { "type": "Identifier", - "start": 9309, - "end": 9323, + "start": 9346, + "end": 9360, "loc": { "start": { - "line": 214, + "line": 215, "column": 18 }, "end": { - "line": 214, + "line": 215, "column": 32 }, "identifierName": "overrideOption" @@ -32829,29 +33054,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 9324, - "end": 9347, + "start": 9361, + "end": 9384, "loc": { "start": { - "line": 214, + "line": 215, "column": 33 }, "end": { - "line": 214, + "line": 215, "column": 56 } }, "object": { "type": "Identifier", - "start": 9324, - "end": 9339, + "start": 9361, + "end": 9376, "loc": { "start": { - "line": 214, + "line": 215, "column": 33 }, "end": { - "line": 214, + "line": 215, "column": 48 }, "identifierName": "fileTypeConfigs" @@ -32860,15 +33085,15 @@ }, "property": { "type": "Identifier", - "start": 9340, - "end": 9347, + "start": 9377, + "end": 9384, "loc": { "start": { - "line": 214, + "line": 215, "column": 49 }, "end": { - "line": 214, + "line": 215, "column": 56 }, "identifierName": "rotateX" @@ -32879,15 +33104,15 @@ }, { "type": "Identifier", - "start": 9349, - "end": 9356, + "start": 9386, + "end": 9393, "loc": { "start": { - "line": 214, + "line": 215, "column": 58 }, "end": { - "line": 214, + "line": 215, "column": 65 }, "identifierName": "rotateX" @@ -32900,157 +33125,8 @@ }, { "type": "ExpressionStatement", - "start": 9367, - "end": 9450, - "loc": { - "start": { - "line": 215, - "column": 8 - }, - "end": { - "line": 215, - "column": 91 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9367, - "end": 9449, - "loc": { - "start": { - "line": 215, - "column": 8 - }, - "end": { - "line": 215, - "column": 90 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 9367, - "end": 9382, - "loc": { - "start": { - "line": 215, - "column": 8 - }, - "end": { - "line": 215, - "column": 23 - }, - "identifierName": "reuseGeometries" - }, - "name": "reuseGeometries" - }, - "right": { - "type": "CallExpression", - "start": 9385, - "end": 9449, - "loc": { - "start": { - "line": 215, - "column": 26 - }, - "end": { - "line": 215, - "column": 90 - } - }, - "callee": { - "type": "Identifier", - "start": 9385, - "end": 9399, - "loc": { - "start": { - "line": 215, - "column": 26 - }, - "end": { - "line": 215, - "column": 40 - }, - "identifierName": "overrideOption" - }, - "name": "overrideOption" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 9400, - "end": 9431, - "loc": { - "start": { - "line": 215, - "column": 41 - }, - "end": { - "line": 215, - "column": 72 - } - }, - "object": { - "type": "Identifier", - "start": 9400, - "end": 9415, - "loc": { - "start": { - "line": 215, - "column": 41 - }, - "end": { - "line": 215, - "column": 56 - }, - "identifierName": "fileTypeConfigs" - }, - "name": "fileTypeConfigs" - }, - "property": { - "type": "Identifier", - "start": 9416, - "end": 9431, - "loc": { - "start": { - "line": 215, - "column": 57 - }, - "end": { - "line": 215, - "column": 72 - }, - "identifierName": "reuseGeometries" - }, - "name": "reuseGeometries" - }, - "computed": false - }, - { - "type": "Identifier", - "start": 9433, - "end": 9448, - "loc": { - "start": { - "line": 215, - "column": 74 - }, - "end": { - "line": 215, - "column": 89 - }, - "identifierName": "reuseGeometries" - }, - "name": "reuseGeometries" - } - ] - } - } - }, - { - "type": "ExpressionStatement", - "start": 9459, - "end": 9542, + "start": 9404, + "end": 9487, "loc": { "start": { "line": 216, @@ -33063,8 +33139,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 9459, - "end": 9541, + "start": 9404, + "end": 9486, "loc": { "start": { "line": 216, @@ -33078,8 +33154,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 9459, - "end": 9474, + "start": 9404, + "end": 9419, "loc": { "start": { "line": 216, @@ -33089,14 +33165,14 @@ "line": 216, "column": 23 }, - "identifierName": "includeTextures" + "identifierName": "reuseGeometries" }, - "name": "includeTextures" + "name": "reuseGeometries" }, "right": { "type": "CallExpression", - "start": 9477, - "end": 9541, + "start": 9422, + "end": 9486, "loc": { "start": { "line": 216, @@ -33109,8 +33185,8 @@ }, "callee": { "type": "Identifier", - "start": 9477, - "end": 9491, + "start": 9422, + "end": 9436, "loc": { "start": { "line": 216, @@ -33127,8 +33203,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 9492, - "end": 9523, + "start": 9437, + "end": 9468, "loc": { "start": { "line": 216, @@ -33141,8 +33217,8 @@ }, "object": { "type": "Identifier", - "start": 9492, - "end": 9507, + "start": 9437, + "end": 9452, "loc": { "start": { "line": 216, @@ -33158,8 +33234,8 @@ }, "property": { "type": "Identifier", - "start": 9508, - "end": 9523, + "start": 9453, + "end": 9468, "loc": { "start": { "line": 216, @@ -33169,16 +33245,16 @@ "line": 216, "column": 72 }, - "identifierName": "includeTextures" + "identifierName": "reuseGeometries" }, - "name": "includeTextures" + "name": "reuseGeometries" }, "computed": false }, { "type": "Identifier", - "start": 9525, - "end": 9540, + "start": 9470, + "end": 9485, "loc": { "start": { "line": 216, @@ -33188,9 +33264,9 @@ "line": 216, "column": 89 }, - "identifierName": "includeTextures" + "identifierName": "reuseGeometries" }, - "name": "includeTextures" + "name": "reuseGeometries" } ] } @@ -33198,8 +33274,8 @@ }, { "type": "ExpressionStatement", - "start": 9551, - "end": 9631, + "start": 9496, + "end": 9579, "loc": { "start": { "line": 217, @@ -33207,13 +33283,13 @@ }, "end": { "line": 217, - "column": 88 + "column": 91 } }, "expression": { "type": "AssignmentExpression", - "start": 9551, - "end": 9630, + "start": 9496, + "end": 9578, "loc": { "start": { "line": 217, @@ -33221,14 +33297,14 @@ }, "end": { "line": 217, - "column": 87 + "column": 90 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9551, - "end": 9565, + "start": 9496, + "end": 9511, "loc": { "start": { "line": 217, @@ -33236,38 +33312,38 @@ }, "end": { "line": 217, - "column": 22 + "column": 23 }, - "identifierName": "includeNormals" + "identifierName": "includeTextures" }, - "name": "includeNormals" + "name": "includeTextures" }, "right": { "type": "CallExpression", - "start": 9568, - "end": 9630, + "start": 9514, + "end": 9578, "loc": { "start": { "line": 217, - "column": 25 + "column": 26 }, "end": { "line": 217, - "column": 87 + "column": 90 } }, "callee": { "type": "Identifier", - "start": 9568, - "end": 9582, + "start": 9514, + "end": 9528, "loc": { "start": { "line": 217, - "column": 25 + "column": 26 }, "end": { "line": 217, - "column": 39 + "column": 40 }, "identifierName": "overrideOption" }, @@ -33276,30 +33352,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 9583, - "end": 9613, + "start": 9529, + "end": 9560, "loc": { "start": { "line": 217, - "column": 40 + "column": 41 }, "end": { "line": 217, - "column": 70 + "column": 72 } }, "object": { "type": "Identifier", - "start": 9583, - "end": 9598, + "start": 9529, + "end": 9544, "loc": { "start": { "line": 217, - "column": 40 + "column": 41 }, "end": { "line": 217, - "column": 55 + "column": 56 }, "identifierName": "fileTypeConfigs" }, @@ -33307,39 +33383,39 @@ }, "property": { "type": "Identifier", - "start": 9599, - "end": 9613, + "start": 9545, + "end": 9560, "loc": { "start": { "line": 217, - "column": 56 + "column": 57 }, "end": { "line": 217, - "column": 70 + "column": 72 }, - "identifierName": "includeNormals" + "identifierName": "includeTextures" }, - "name": "includeNormals" + "name": "includeTextures" }, "computed": false }, { "type": "Identifier", - "start": 9615, - "end": 9629, + "start": 9562, + "end": 9577, "loc": { "start": { "line": 217, - "column": 72 + "column": 74 }, "end": { "line": 217, - "column": 86 + "column": 89 }, - "identifierName": "includeNormals" + "identifierName": "includeTextures" }, - "name": "includeNormals" + "name": "includeTextures" } ] } @@ -33347,8 +33423,8 @@ }, { "type": "ExpressionStatement", - "start": 9640, - "end": 9714, + "start": 9588, + "end": 9668, "loc": { "start": { "line": 218, @@ -33356,13 +33432,13 @@ }, "end": { "line": 218, - "column": 82 + "column": 88 } }, "expression": { "type": "AssignmentExpression", - "start": 9640, - "end": 9713, + "start": 9588, + "end": 9667, "loc": { "start": { "line": 218, @@ -33370,14 +33446,14 @@ }, "end": { "line": 218, - "column": 81 + "column": 87 } }, "operator": "=", "left": { "type": "Identifier", - "start": 9640, - "end": 9652, + "start": 9588, + "end": 9602, "loc": { "start": { "line": 218, @@ -33385,38 +33461,38 @@ }, "end": { "line": 218, - "column": 20 + "column": 22 }, - "identifierName": "includeTypes" + "identifierName": "includeNormals" }, - "name": "includeTypes" + "name": "includeNormals" }, "right": { "type": "CallExpression", - "start": 9655, - "end": 9713, + "start": 9605, + "end": 9667, "loc": { "start": { "line": 218, - "column": 23 + "column": 25 }, "end": { "line": 218, - "column": 81 + "column": 87 } }, "callee": { "type": "Identifier", - "start": 9655, - "end": 9669, + "start": 9605, + "end": 9619, "loc": { "start": { "line": 218, - "column": 23 + "column": 25 }, "end": { "line": 218, - "column": 37 + "column": 39 }, "identifierName": "overrideOption" }, @@ -33425,30 +33501,30 @@ "arguments": [ { "type": "MemberExpression", - "start": 9670, - "end": 9698, + "start": 9620, + "end": 9650, "loc": { "start": { "line": 218, - "column": 38 + "column": 40 }, "end": { "line": 218, - "column": 66 + "column": 70 } }, "object": { "type": "Identifier", - "start": 9670, - "end": 9685, + "start": 9620, + "end": 9635, "loc": { "start": { "line": 218, - "column": 38 + "column": 40 }, "end": { "line": 218, - "column": 53 + "column": 55 }, "identifierName": "fileTypeConfigs" }, @@ -33456,39 +33532,39 @@ }, "property": { "type": "Identifier", - "start": 9686, - "end": 9698, + "start": 9636, + "end": 9650, "loc": { "start": { "line": 218, - "column": 54 + "column": 56 }, "end": { "line": 218, - "column": 66 + "column": 70 }, - "identifierName": "includeTypes" + "identifierName": "includeNormals" }, - "name": "includeTypes" + "name": "includeNormals" }, "computed": false }, { "type": "Identifier", - "start": 9700, - "end": 9712, + "start": 9652, + "end": 9666, "loc": { "start": { "line": 218, - "column": 68 + "column": 72 }, "end": { "line": 218, - "column": 80 + "column": 86 }, - "identifierName": "includeTypes" + "identifierName": "includeNormals" }, - "name": "includeTypes" + "name": "includeNormals" } ] } @@ -33496,8 +33572,8 @@ }, { "type": "ExpressionStatement", - "start": 9723, - "end": 9797, + "start": 9677, + "end": 9751, "loc": { "start": { "line": 219, @@ -33510,8 +33586,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 9723, - "end": 9796, + "start": 9677, + "end": 9750, "loc": { "start": { "line": 219, @@ -33525,8 +33601,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 9723, - "end": 9735, + "start": 9677, + "end": 9689, "loc": { "start": { "line": 219, @@ -33536,14 +33612,14 @@ "line": 219, "column": 20 }, - "identifierName": "excludeTypes" + "identifierName": "includeTypes" }, - "name": "excludeTypes" + "name": "includeTypes" }, "right": { "type": "CallExpression", - "start": 9738, - "end": 9796, + "start": 9692, + "end": 9750, "loc": { "start": { "line": 219, @@ -33556,8 +33632,8 @@ }, "callee": { "type": "Identifier", - "start": 9738, - "end": 9752, + "start": 9692, + "end": 9706, "loc": { "start": { "line": 219, @@ -33574,8 +33650,8 @@ "arguments": [ { "type": "MemberExpression", - "start": 9753, - "end": 9781, + "start": 9707, + "end": 9735, "loc": { "start": { "line": 219, @@ -33588,8 +33664,8 @@ }, "object": { "type": "Identifier", - "start": 9753, - "end": 9768, + "start": 9707, + "end": 9722, "loc": { "start": { "line": 219, @@ -33605,8 +33681,8 @@ }, "property": { "type": "Identifier", - "start": 9769, - "end": 9781, + "start": 9723, + "end": 9735, "loc": { "start": { "line": 219, @@ -33616,16 +33692,16 @@ "line": 219, "column": 66 }, - "identifierName": "excludeTypes" + "identifierName": "includeTypes" }, - "name": "excludeTypes" + "name": "includeTypes" }, "computed": false }, { "type": "Identifier", - "start": 9783, - "end": 9795, + "start": 9737, + "end": 9749, "loc": { "start": { "line": 219, @@ -33635,6 +33711,155 @@ "line": 219, "column": 80 }, + "identifierName": "includeTypes" + }, + "name": "includeTypes" + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 9760, + "end": 9834, + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 82 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 9760, + "end": 9833, + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 81 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 9760, + "end": 9772, + "loc": { + "start": { + "line": 220, + "column": 8 + }, + "end": { + "line": 220, + "column": 20 + }, + "identifierName": "excludeTypes" + }, + "name": "excludeTypes" + }, + "right": { + "type": "CallExpression", + "start": 9775, + "end": 9833, + "loc": { + "start": { + "line": 220, + "column": 23 + }, + "end": { + "line": 220, + "column": 81 + } + }, + "callee": { + "type": "Identifier", + "start": 9775, + "end": 9789, + "loc": { + "start": { + "line": 220, + "column": 23 + }, + "end": { + "line": 220, + "column": 37 + }, + "identifierName": "overrideOption" + }, + "name": "overrideOption" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 9790, + "end": 9818, + "loc": { + "start": { + "line": 220, + "column": 38 + }, + "end": { + "line": 220, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 9790, + "end": 9805, + "loc": { + "start": { + "line": 220, + "column": 38 + }, + "end": { + "line": 220, + "column": 53 + }, + "identifierName": "fileTypeConfigs" + }, + "name": "fileTypeConfigs" + }, + "property": { + "type": "Identifier", + "start": 9806, + "end": 9818, + "loc": { + "start": { + "line": 220, + "column": 54 + }, + "end": { + "line": 220, + "column": 66 + }, + "identifierName": "excludeTypes" + }, + "name": "excludeTypes" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 9820, + "end": 9832, + "loc": { + "start": { + "line": 220, + "column": 68 + }, + "end": { + "line": 220, + "column": 80 + }, "identifierName": "excludeTypes" }, "name": "excludeTypes" @@ -33645,43 +33870,43 @@ }, { "type": "IfStatement", - "start": 9807, - "end": 9896, + "start": 9844, + "end": 9933, "loc": { "start": { - "line": 221, + "line": 222, "column": 8 }, "end": { - "line": 223, + "line": 224, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 9811, - "end": 9836, + "start": 9848, + "end": 9873, "loc": { "start": { - "line": 221, + "line": 222, "column": 12 }, "end": { - "line": 221, + "line": 222, "column": 37 } }, "left": { "type": "Identifier", - "start": 9811, - "end": 9826, + "start": 9848, + "end": 9863, "loc": { "start": { - "line": 221, + "line": 222, "column": 12 }, "end": { - "line": 221, + "line": 222, "column": 27 }, "identifierName": "reuseGeometries" @@ -33691,15 +33916,15 @@ "operator": "===", "right": { "type": "BooleanLiteral", - "start": 9831, - "end": 9836, + "start": 9868, + "end": 9873, "loc": { "start": { - "line": 221, + "line": 222, "column": 32 }, "end": { - "line": 221, + "line": 222, "column": 37 } }, @@ -33708,58 +33933,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 9838, - "end": 9896, + "start": 9875, + "end": 9933, "loc": { "start": { - "line": 221, + "line": 222, "column": 39 }, "end": { - "line": 223, + "line": 224, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9852, - "end": 9886, + "start": 9889, + "end": 9923, "loc": { "start": { - "line": 222, + "line": 223, "column": 12 }, "end": { - "line": 222, + "line": 223, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 9852, - "end": 9885, + "start": 9889, + "end": 9922, "loc": { "start": { - "line": 222, + "line": 223, "column": 12 }, "end": { - "line": 222, + "line": 223, "column": 45 } }, "callee": { "type": "Identifier", - "start": 9852, - "end": 9855, + "start": 9889, + "end": 9892, "loc": { "start": { - "line": 222, + "line": 223, "column": 12 }, "end": { - "line": 222, + "line": 223, "column": 15 }, "identifierName": "log" @@ -33769,15 +33994,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 9856, - "end": 9884, + "start": 9893, + "end": 9921, "loc": { "start": { - "line": 222, + "line": 223, "column": 16 }, "end": { - "line": 222, + "line": 223, "column": 44 } }, @@ -33797,44 +34022,44 @@ }, { "type": "VariableDeclaration", - "start": 9906, - "end": 9996, + "start": 9943, + "end": 10033, "loc": { "start": { - "line": 225, + "line": 226, "column": 8 }, "end": { - "line": 228, + "line": 229, "column": 11 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9912, - "end": 9995, + "start": 9949, + "end": 10032, "loc": { "start": { - "line": 225, + "line": 226, "column": 14 }, "end": { - "line": 228, + "line": 229, "column": 10 } }, "id": { "type": "Identifier", - "start": 9912, - "end": 9920, + "start": 9949, + "end": 9957, "loc": { "start": { - "line": 225, + "line": 226, "column": 14 }, "end": { - "line": 225, + "line": 226, "column": 22 }, "identifierName": "xktModel" @@ -33843,29 +34068,29 @@ }, "init": { "type": "NewExpression", - "start": 9923, - "end": 9995, + "start": 9960, + "end": 10032, "loc": { "start": { - "line": 225, + "line": 226, "column": 25 }, "end": { - "line": 228, + "line": 229, "column": 10 } }, "callee": { "type": "Identifier", - "start": 9927, - "end": 9935, + "start": 9964, + "end": 9972, "loc": { "start": { - "line": 225, + "line": 226, "column": 29 }, "end": { - "line": 225, + "line": 226, "column": 37 }, "identifierName": "XKTModel" @@ -33875,30 +34100,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 9936, - "end": 9994, + "start": 9973, + "end": 10031, "loc": { "start": { - "line": 225, + "line": 226, "column": 38 }, "end": { - "line": 228, + "line": 229, "column": 9 } }, "properties": [ { "type": "ObjectProperty", - "start": 9950, - "end": 9961, + "start": 9987, + "end": 9998, "loc": { "start": { - "line": 226, + "line": 227, "column": 12 }, "end": { - "line": 226, + "line": 227, "column": 23 } }, @@ -33907,15 +34132,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9950, - "end": 9961, + "start": 9987, + "end": 9998, "loc": { "start": { - "line": 226, + "line": 227, "column": 12 }, "end": { - "line": 226, + "line": 227, "column": 23 }, "identifierName": "minTileSize" @@ -33924,15 +34149,15 @@ }, "value": { "type": "Identifier", - "start": 9950, - "end": 9961, + "start": 9987, + "end": 9998, "loc": { "start": { - "line": 226, + "line": 227, "column": 12 }, "end": { - "line": 226, + "line": 227, "column": 23 }, "identifierName": "minTileSize" @@ -33945,15 +34170,15 @@ }, { "type": "ObjectProperty", - "start": 9975, - "end": 9984, + "start": 10012, + "end": 10021, "loc": { "start": { - "line": 227, + "line": 228, "column": 12 }, "end": { - "line": 227, + "line": 228, "column": 21 } }, @@ -33962,15 +34187,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 9975, - "end": 9984, + "start": 10012, + "end": 10021, "loc": { "start": { - "line": 227, + "line": 228, "column": 12 }, "end": { - "line": 227, + "line": 228, "column": 21 }, "identifierName": "modelAABB" @@ -33979,15 +34204,15 @@ }, "value": { "type": "Identifier", - "start": 9975, - "end": 9984, + "start": 10012, + "end": 10021, "loc": { "start": { - "line": 227, + "line": 228, "column": 12 }, "end": { - "line": 227, + "line": 228, "column": 21 }, "identifierName": "modelAABB" @@ -34008,29 +34233,29 @@ }, { "type": "SwitchStatement", - "start": 10006, - "end": 14694, + "start": 10043, + "end": 14731, "loc": { "start": { - "line": 230, + "line": 231, "column": 8 }, "end": { - "line": 367, + "line": 368, "column": 9 } }, "discriminant": { "type": "Identifier", - "start": 10014, - "end": 10017, + "start": 10051, + "end": 10054, "loc": { "start": { - "line": 230, + "line": 231, "column": 16 }, "end": { - "line": 230, + "line": 231, "column": 19 }, "identifierName": "ext" @@ -34040,58 +34265,58 @@ "cases": [ { "type": "SwitchCase", - "start": 10033, - "end": 10411, + "start": 10070, + "end": 10448, "loc": { "start": { - "line": 231, + "line": 232, "column": 12 }, "end": { - "line": 241, + "line": 242, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 10062, - "end": 10388, + "start": 10099, + "end": 10425, "loc": { "start": { - "line": 232, + "line": 233, "column": 16 }, "end": { - "line": 240, + "line": 241, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 10062, - "end": 10387, + "start": 10099, + "end": 10424, "loc": { "start": { - "line": 232, + "line": 233, "column": 16 }, "end": { - "line": 240, + "line": 241, "column": 18 } }, "callee": { "type": "Identifier", - "start": 10062, - "end": 10069, + "start": 10099, + "end": 10106, "loc": { "start": { - "line": 232, + "line": 233, "column": 16 }, "end": { - "line": 232, + "line": 233, "column": 23 }, "identifierName": "convert" @@ -34101,15 +34326,15 @@ "arguments": [ { "type": "Identifier", - "start": 10070, - "end": 10095, + "start": 10107, + "end": 10132, "loc": { "start": { - "line": 232, + "line": 233, "column": 24 }, "end": { - "line": 232, + "line": 233, "column": 49 }, "identifierName": "parseCityJSONIntoXKTModel" @@ -34118,30 +34343,30 @@ }, { "type": "ObjectExpression", - "start": 10097, - "end": 10386, + "start": 10134, + "end": 10423, "loc": { "start": { - "line": 232, + "line": 233, "column": 51 }, "end": { - "line": 240, + "line": 241, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 10119, - "end": 10147, + "start": 10156, + "end": 10184, "loc": { "start": { - "line": 233, + "line": 234, "column": 20 }, "end": { - "line": 233, + "line": 234, "column": 48 } }, @@ -34150,15 +34375,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10119, - "end": 10123, + "start": 10156, + "end": 10160, "loc": { "start": { - "line": 233, + "line": 234, "column": 20 }, "end": { - "line": 233, + "line": 234, "column": 24 }, "identifierName": "data" @@ -34167,43 +34392,43 @@ }, "value": { "type": "CallExpression", - "start": 10125, - "end": 10147, + "start": 10162, + "end": 10184, "loc": { "start": { - "line": 233, + "line": 234, "column": 26 }, "end": { - "line": 233, + "line": 234, "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 10125, - "end": 10135, + "start": 10162, + "end": 10172, "loc": { "start": { - "line": 233, + "line": 234, "column": 26 }, "end": { - "line": 233, + "line": 234, "column": 36 } }, "object": { "type": "Identifier", - "start": 10125, - "end": 10129, + "start": 10162, + "end": 10166, "loc": { "start": { - "line": 233, + "line": 234, "column": 26 }, "end": { - "line": 233, + "line": 234, "column": 30 }, "identifierName": "JSON" @@ -34212,15 +34437,15 @@ }, "property": { "type": "Identifier", - "start": 10130, - "end": 10135, + "start": 10167, + "end": 10172, "loc": { "start": { - "line": 233, + "line": 234, "column": 31 }, "end": { - "line": 233, + "line": 234, "column": 36 }, "identifierName": "parse" @@ -34232,15 +34457,15 @@ "arguments": [ { "type": "Identifier", - "start": 10136, - "end": 10146, + "start": 10173, + "end": 10183, "loc": { "start": { - "line": 233, + "line": 234, "column": 37 }, "end": { - "line": 233, + "line": 234, "column": 47 }, "identifierName": "sourceData" @@ -34252,15 +34477,15 @@ }, { "type": "ObjectProperty", - "start": 10169, - "end": 10177, + "start": 10206, + "end": 10214, "loc": { "start": { - "line": 234, + "line": 235, "column": 20 }, "end": { - "line": 234, + "line": 235, "column": 28 } }, @@ -34269,15 +34494,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10169, - "end": 10177, + "start": 10206, + "end": 10214, "loc": { "start": { - "line": 234, + "line": 235, "column": 20 }, "end": { - "line": 234, + "line": 235, "column": 28 }, "identifierName": "xktModel" @@ -34286,15 +34511,15 @@ }, "value": { "type": "Identifier", - "start": 10169, - "end": 10177, + "start": 10206, + "end": 10214, "loc": { "start": { - "line": 234, + "line": 235, "column": 20 }, "end": { - "line": 234, + "line": 235, "column": 28 }, "identifierName": "xktModel" @@ -34307,15 +34532,15 @@ }, { "type": "ObjectProperty", - "start": 10199, - "end": 10204, + "start": 10236, + "end": 10241, "loc": { "start": { - "line": 235, + "line": 236, "column": 20 }, "end": { - "line": 235, + "line": 236, "column": 25 } }, @@ -34324,15 +34549,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10199, - "end": 10204, + "start": 10236, + "end": 10241, "loc": { "start": { - "line": 235, + "line": 236, "column": 20 }, "end": { - "line": 235, + "line": 236, "column": 25 }, "identifierName": "stats" @@ -34341,15 +34566,15 @@ }, "value": { "type": "Identifier", - "start": 10199, - "end": 10204, + "start": 10236, + "end": 10241, "loc": { "start": { - "line": 235, + "line": 236, "column": 20 }, "end": { - "line": 235, + "line": 236, "column": 25 }, "identifierName": "stats" @@ -34362,15 +34587,15 @@ }, { "type": "ObjectProperty", - "start": 10226, - "end": 10233, + "start": 10263, + "end": 10270, "loc": { "start": { - "line": 236, + "line": 237, "column": 20 }, "end": { - "line": 236, + "line": 237, "column": 27 } }, @@ -34379,15 +34604,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10226, - "end": 10233, + "start": 10263, + "end": 10270, "loc": { "start": { - "line": 236, + "line": 237, "column": 20 }, "end": { - "line": 236, + "line": 237, "column": 27 }, "identifierName": "rotateX" @@ -34396,15 +34621,15 @@ }, "value": { "type": "Identifier", - "start": 10226, - "end": 10233, + "start": 10263, + "end": 10270, "loc": { "start": { - "line": 236, + "line": 237, "column": 20 }, "end": { - "line": 236, + "line": 237, "column": 27 }, "identifierName": "rotateX" @@ -34417,15 +34642,15 @@ }, { "type": "ObjectProperty", - "start": 10255, - "end": 10285, + "start": 10292, + "end": 10322, "loc": { "start": { - "line": 237, + "line": 238, "column": 20 }, "end": { - "line": 237, + "line": 238, "column": 50 } }, @@ -34434,15 +34659,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10255, - "end": 10261, + "start": 10292, + "end": 10298, "loc": { "start": { - "line": 237, + "line": 238, "column": 20 }, "end": { - "line": 237, + "line": 238, "column": 26 }, "identifierName": "center" @@ -34451,29 +34676,29 @@ }, "value": { "type": "MemberExpression", - "start": 10263, - "end": 10285, + "start": 10300, + "end": 10322, "loc": { "start": { - "line": 237, + "line": 238, "column": 28 }, "end": { - "line": 237, + "line": 238, "column": 50 } }, "object": { "type": "Identifier", - "start": 10263, - "end": 10278, + "start": 10300, + "end": 10315, "loc": { "start": { - "line": 237, + "line": 238, "column": 28 }, "end": { - "line": 237, + "line": 238, "column": 43 }, "identifierName": "fileTypeConfigs" @@ -34482,15 +34707,15 @@ }, "property": { "type": "Identifier", - "start": 10279, - "end": 10285, + "start": 10316, + "end": 10322, "loc": { "start": { - "line": 237, + "line": 238, "column": 44 }, "end": { - "line": 237, + "line": 238, "column": 50 }, "identifierName": "center" @@ -34502,15 +34727,15 @@ }, { "type": "ObjectProperty", - "start": 10307, - "end": 10343, + "start": 10344, + "end": 10380, "loc": { "start": { - "line": 238, + "line": 239, "column": 20 }, "end": { - "line": 238, + "line": 239, "column": 56 } }, @@ -34519,15 +34744,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10307, - "end": 10316, + "start": 10344, + "end": 10353, "loc": { "start": { - "line": 238, + "line": 239, "column": 20 }, "end": { - "line": 238, + "line": 239, "column": 29 }, "identifierName": "transform" @@ -34536,29 +34761,29 @@ }, "value": { "type": "MemberExpression", - "start": 10318, - "end": 10343, + "start": 10355, + "end": 10380, "loc": { "start": { - "line": 238, + "line": 239, "column": 31 }, "end": { - "line": 238, + "line": 239, "column": 56 } }, "object": { "type": "Identifier", - "start": 10318, - "end": 10333, + "start": 10355, + "end": 10370, "loc": { "start": { - "line": 238, + "line": 239, "column": 31 }, "end": { - "line": 238, + "line": 239, "column": 46 }, "identifierName": "fileTypeConfigs" @@ -34567,15 +34792,15 @@ }, "property": { "type": "Identifier", - "start": 10334, - "end": 10343, + "start": 10371, + "end": 10380, "loc": { "start": { - "line": 238, + "line": 239, "column": 47 }, "end": { - "line": 238, + "line": 239, "column": 56 }, "identifierName": "transform" @@ -34587,15 +34812,15 @@ }, { "type": "ObjectProperty", - "start": 10365, - "end": 10368, + "start": 10402, + "end": 10405, "loc": { "start": { - "line": 239, + "line": 240, "column": 20 }, "end": { - "line": 239, + "line": 240, "column": 23 } }, @@ -34604,15 +34829,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10365, - "end": 10368, + "start": 10402, + "end": 10405, "loc": { "start": { - "line": 239, + "line": 240, "column": 20 }, "end": { - "line": 239, + "line": 240, "column": 23 }, "identifierName": "log" @@ -34621,15 +34846,15 @@ }, "value": { "type": "Identifier", - "start": 10365, - "end": 10368, + "start": 10402, + "end": 10405, "loc": { "start": { - "line": 239, + "line": 240, "column": 20 }, "end": { - "line": 239, + "line": 240, "column": 23 }, "identifierName": "log" @@ -34647,15 +34872,15 @@ }, { "type": "BreakStatement", - "start": 10405, - "end": 10411, + "start": 10442, + "end": 10448, "loc": { "start": { - "line": 241, + "line": 242, "column": 16 }, "end": { - "line": 241, + "line": 242, "column": 22 } }, @@ -34664,15 +34889,15 @@ ], "test": { "type": "StringLiteral", - "start": 10038, - "end": 10044, + "start": 10075, + "end": 10081, "loc": { "start": { - "line": 231, + "line": 232, "column": 17 }, "end": { - "line": 231, + "line": 232, "column": 23 } }, @@ -34685,59 +34910,59 @@ }, { "type": "SwitchCase", - "start": 10425, - "end": 10869, + "start": 10462, + "end": 10906, "loc": { "start": { - "line": 243, + "line": 244, "column": 12 }, "end": { - "line": 255, + "line": 256, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 10453, - "end": 10492, + "start": 10490, + "end": 10529, "loc": { "start": { - "line": 244, + "line": 245, "column": 16 }, "end": { - "line": 244, + "line": 245, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 10453, - "end": 10491, + "start": 10490, + "end": 10528, "loc": { "start": { - "line": 244, + "line": 245, "column": 16 }, "end": { - "line": 244, + "line": 245, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10453, - "end": 10463, + "start": 10490, + "end": 10500, "loc": { "start": { - "line": 244, + "line": 245, "column": 16 }, "end": { - "line": 244, + "line": 245, "column": 26 }, "identifierName": "sourceData" @@ -34746,29 +34971,29 @@ }, "right": { "type": "CallExpression", - "start": 10466, - "end": 10491, + "start": 10503, + "end": 10528, "loc": { "start": { - "line": 244, + "line": 245, "column": 29 }, "end": { - "line": 244, + "line": 245, "column": 54 } }, "callee": { "type": "Identifier", - "start": 10466, - "end": 10479, + "start": 10503, + "end": 10516, "loc": { "start": { - "line": 244, + "line": 245, "column": 29 }, "end": { - "line": 244, + "line": 245, "column": 42 }, "identifierName": "toArrayBuffer" @@ -34778,15 +35003,15 @@ "arguments": [ { "type": "Identifier", - "start": 10480, - "end": 10490, + "start": 10517, + "end": 10527, "loc": { "start": { - "line": 244, + "line": 245, "column": 43 }, "end": { - "line": 244, + "line": 245, "column": 53 }, "identifierName": "sourceData" @@ -34799,43 +35024,43 @@ }, { "type": "ExpressionStatement", - "start": 10509, - "end": 10846, + "start": 10546, + "end": 10883, "loc": { "start": { - "line": 245, + "line": 246, "column": 16 }, "end": { - "line": 254, + "line": 255, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 10509, - "end": 10845, + "start": 10546, + "end": 10882, "loc": { "start": { - "line": 245, + "line": 246, "column": 16 }, "end": { - "line": 254, + "line": 255, "column": 18 } }, "callee": { "type": "Identifier", - "start": 10509, - "end": 10516, + "start": 10546, + "end": 10553, "loc": { "start": { - "line": 245, + "line": 246, "column": 16 }, "end": { - "line": 245, + "line": 246, "column": 23 }, "identifierName": "convert" @@ -34845,15 +35070,15 @@ "arguments": [ { "type": "Identifier", - "start": 10517, - "end": 10538, + "start": 10554, + "end": 10575, "loc": { "start": { - "line": 245, + "line": 246, "column": 24 }, "end": { - "line": 245, + "line": 246, "column": 45 }, "identifierName": "parseGLTFIntoXKTModel" @@ -34862,30 +35087,30 @@ }, { "type": "ObjectExpression", - "start": 10540, - "end": 10844, + "start": 10577, + "end": 10881, "loc": { "start": { - "line": 245, + "line": 246, "column": 47 }, "end": { - "line": 254, + "line": 255, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 10562, - "end": 10578, + "start": 10599, + "end": 10615, "loc": { "start": { - "line": 246, + "line": 247, "column": 20 }, "end": { - "line": 246, + "line": 247, "column": 36 } }, @@ -34894,15 +35119,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10562, - "end": 10566, + "start": 10599, + "end": 10603, "loc": { "start": { - "line": 246, + "line": 247, "column": 20 }, "end": { - "line": 246, + "line": 247, "column": 24 }, "identifierName": "data" @@ -34911,15 +35136,15 @@ }, "value": { "type": "Identifier", - "start": 10568, - "end": 10578, + "start": 10605, + "end": 10615, "loc": { "start": { - "line": 246, + "line": 247, "column": 26 }, "end": { - "line": 246, + "line": 247, "column": 36 }, "identifierName": "sourceData" @@ -34929,15 +35154,15 @@ }, { "type": "ObjectProperty", - "start": 10600, - "end": 10615, + "start": 10637, + "end": 10652, "loc": { "start": { - "line": 247, + "line": 248, "column": 20 }, "end": { - "line": 247, + "line": 248, "column": 35 } }, @@ -34946,15 +35171,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10600, - "end": 10615, + "start": 10637, + "end": 10652, "loc": { "start": { - "line": 247, + "line": 248, "column": 20 }, "end": { - "line": 247, + "line": 248, "column": 35 }, "identifierName": "reuseGeometries" @@ -34963,15 +35188,15 @@ }, "value": { "type": "Identifier", - "start": 10600, - "end": 10615, + "start": 10637, + "end": 10652, "loc": { "start": { - "line": 247, + "line": 248, "column": 20 }, "end": { - "line": 247, + "line": 248, "column": 35 }, "identifierName": "reuseGeometries" @@ -34984,15 +35209,15 @@ }, { "type": "ObjectProperty", - "start": 10637, - "end": 10658, + "start": 10674, + "end": 10695, "loc": { "start": { - "line": 248, + "line": 249, "column": 20 }, "end": { - "line": 248, + "line": 249, "column": 41 } }, @@ -35001,15 +35226,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10637, - "end": 10652, + "start": 10674, + "end": 10689, "loc": { "start": { - "line": 248, + "line": 249, "column": 20 }, "end": { - "line": 248, + "line": 249, "column": 35 }, "identifierName": "includeTextures" @@ -35018,15 +35243,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 10654, - "end": 10658, + "start": 10691, + "end": 10695, "loc": { "start": { - "line": 248, + "line": 249, "column": 37 }, "end": { - "line": 248, + "line": 249, "column": 41 } }, @@ -35035,15 +35260,15 @@ }, { "type": "ObjectProperty", - "start": 10680, - "end": 10694, + "start": 10717, + "end": 10731, "loc": { "start": { - "line": 249, + "line": 250, "column": 20 }, "end": { - "line": 249, + "line": 250, "column": 34 } }, @@ -35052,15 +35277,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10680, - "end": 10694, + "start": 10717, + "end": 10731, "loc": { "start": { - "line": 249, + "line": 250, "column": 20 }, "end": { - "line": 249, + "line": 250, "column": 34 }, "identifierName": "includeNormals" @@ -35069,15 +35294,15 @@ }, "value": { "type": "Identifier", - "start": 10680, - "end": 10694, + "start": 10717, + "end": 10731, "loc": { "start": { - "line": 249, + "line": 250, "column": 20 }, "end": { - "line": 249, + "line": 250, "column": 34 }, "identifierName": "includeNormals" @@ -35090,15 +35315,15 @@ }, { "type": "ObjectProperty", - "start": 10716, - "end": 10744, + "start": 10753, + "end": 10781, "loc": { "start": { - "line": 250, + "line": 251, "column": 20 }, "end": { - "line": 250, + "line": 251, "column": 48 } }, @@ -35107,15 +35332,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10716, - "end": 10729, + "start": 10753, + "end": 10766, "loc": { "start": { - "line": 250, + "line": 251, "column": 20 }, "end": { - "line": 250, + "line": 251, "column": 33 }, "identifierName": "metaModelData" @@ -35124,15 +35349,15 @@ }, "value": { "type": "Identifier", - "start": 10731, - "end": 10744, + "start": 10768, + "end": 10781, "loc": { "start": { - "line": 250, + "line": 251, "column": 35 }, "end": { - "line": 250, + "line": 251, "column": 48 }, "identifierName": "metaModelJSON" @@ -35142,15 +35367,15 @@ }, { "type": "ObjectProperty", - "start": 10766, - "end": 10774, + "start": 10803, + "end": 10811, "loc": { "start": { - "line": 251, + "line": 252, "column": 20 }, "end": { - "line": 251, + "line": 252, "column": 28 } }, @@ -35159,15 +35384,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10766, - "end": 10774, + "start": 10803, + "end": 10811, "loc": { "start": { - "line": 251, + "line": 252, "column": 20 }, "end": { - "line": 251, + "line": 252, "column": 28 }, "identifierName": "xktModel" @@ -35176,15 +35401,15 @@ }, "value": { "type": "Identifier", - "start": 10766, - "end": 10774, + "start": 10803, + "end": 10811, "loc": { "start": { - "line": 251, + "line": 252, "column": 20 }, "end": { - "line": 251, + "line": 252, "column": 28 }, "identifierName": "xktModel" @@ -35197,15 +35422,15 @@ }, { "type": "ObjectProperty", - "start": 10796, - "end": 10801, + "start": 10833, + "end": 10838, "loc": { "start": { - "line": 252, + "line": 253, "column": 20 }, "end": { - "line": 252, + "line": 253, "column": 25 } }, @@ -35214,15 +35439,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10796, - "end": 10801, + "start": 10833, + "end": 10838, "loc": { "start": { - "line": 252, + "line": 253, "column": 20 }, "end": { - "line": 252, + "line": 253, "column": 25 }, "identifierName": "stats" @@ -35231,15 +35456,15 @@ }, "value": { "type": "Identifier", - "start": 10796, - "end": 10801, + "start": 10833, + "end": 10838, "loc": { "start": { - "line": 252, + "line": 253, "column": 20 }, "end": { - "line": 252, + "line": 253, "column": 25 }, "identifierName": "stats" @@ -35252,15 +35477,15 @@ }, { "type": "ObjectProperty", - "start": 10823, - "end": 10826, + "start": 10860, + "end": 10863, "loc": { "start": { - "line": 253, + "line": 254, "column": 20 }, "end": { - "line": 253, + "line": 254, "column": 23 } }, @@ -35269,15 +35494,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 10823, - "end": 10826, + "start": 10860, + "end": 10863, "loc": { "start": { - "line": 253, + "line": 254, "column": 20 }, "end": { - "line": 253, + "line": 254, "column": 23 }, "identifierName": "log" @@ -35286,15 +35511,15 @@ }, "value": { "type": "Identifier", - "start": 10823, - "end": 10826, + "start": 10860, + "end": 10863, "loc": { "start": { - "line": 253, + "line": 254, "column": 20 }, "end": { - "line": 253, + "line": 254, "column": 23 }, "identifierName": "log" @@ -35312,15 +35537,15 @@ }, { "type": "BreakStatement", - "start": 10863, - "end": 10869, + "start": 10900, + "end": 10906, "loc": { "start": { - "line": 255, + "line": 256, "column": 16 }, "end": { - "line": 255, + "line": 256, "column": 22 } }, @@ -35329,15 +35554,15 @@ ], "test": { "type": "StringLiteral", - "start": 10430, - "end": 10435, + "start": 10467, + "end": 10472, "loc": { "start": { - "line": 243, + "line": 244, "column": 17 }, "end": { - "line": 243, + "line": 244, "column": 22 } }, @@ -35350,59 +35575,59 @@ }, { "type": "SwitchCase", - "start": 10883, - "end": 11444, + "start": 10920, + "end": 11481, "loc": { "start": { - "line": 257, + "line": 258, "column": 12 }, "end": { - "line": 271, + "line": 272, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 10912, - "end": 10951, + "start": 10949, + "end": 10988, "loc": { "start": { - "line": 258, + "line": 259, "column": 16 }, "end": { - "line": 258, + "line": 259, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 10912, - "end": 10950, + "start": 10949, + "end": 10987, "loc": { "start": { - "line": 258, + "line": 259, "column": 16 }, "end": { - "line": 258, + "line": 259, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 10912, - "end": 10922, + "start": 10949, + "end": 10959, "loc": { "start": { - "line": 258, + "line": 259, "column": 16 }, "end": { - "line": 258, + "line": 259, "column": 26 }, "identifierName": "sourceData" @@ -35411,29 +35636,29 @@ }, "right": { "type": "CallExpression", - "start": 10925, - "end": 10950, + "start": 10962, + "end": 10987, "loc": { "start": { - "line": 258, + "line": 259, "column": 29 }, "end": { - "line": 258, + "line": 259, "column": 54 } }, "callee": { "type": "Identifier", - "start": 10925, - "end": 10938, + "start": 10962, + "end": 10975, "loc": { "start": { - "line": 258, + "line": 259, "column": 29 }, "end": { - "line": 258, + "line": 259, "column": 42 }, "identifierName": "toArrayBuffer" @@ -35443,15 +35668,15 @@ "arguments": [ { "type": "Identifier", - "start": 10939, - "end": 10949, + "start": 10976, + "end": 10986, "loc": { "start": { - "line": 258, + "line": 259, "column": 43 }, "end": { - "line": 258, + "line": 259, "column": 53 }, "identifierName": "sourceData" @@ -35464,44 +35689,44 @@ }, { "type": "VariableDeclaration", - "start": 10968, - "end": 11024, + "start": 11005, + "end": 11061, "loc": { "start": { - "line": 259, + "line": 260, "column": 16 }, "end": { - "line": 259, + "line": 260, "column": 72 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10974, - "end": 11023, + "start": 11011, + "end": 11060, "loc": { "start": { - "line": 259, + "line": 260, "column": 22 }, "end": { - "line": 259, + "line": 260, "column": 71 } }, "id": { "type": "Identifier", - "start": 10974, - "end": 10986, + "start": 11011, + "end": 11023, "loc": { "start": { - "line": 259, + "line": 260, "column": 22 }, "end": { - "line": 259, + "line": 260, "column": 34 }, "identifierName": "gltfBasePath" @@ -35510,29 +35735,29 @@ }, "init": { "type": "ConditionalExpression", - "start": 10989, - "end": 11023, + "start": 11026, + "end": 11060, "loc": { "start": { - "line": 259, + "line": 260, "column": 37 }, "end": { - "line": 259, + "line": 260, "column": 71 } }, "test": { "type": "Identifier", - "start": 10989, - "end": 10995, + "start": 11026, + "end": 11032, "loc": { "start": { - "line": 259, + "line": 260, "column": 37 }, "end": { - "line": 259, + "line": 260, "column": 43 }, "identifierName": "source" @@ -35541,43 +35766,43 @@ }, "consequent": { "type": "CallExpression", - "start": 10998, - "end": 11018, + "start": 11035, + "end": 11055, "loc": { "start": { - "line": 259, + "line": 260, "column": 46 }, "end": { - "line": 259, + "line": 260, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 10998, - "end": 11010, + "start": 11035, + "end": 11047, "loc": { "start": { - "line": 259, + "line": 260, "column": 46 }, "end": { - "line": 259, + "line": 260, "column": 58 } }, "object": { "type": "Identifier", - "start": 10998, - "end": 11002, + "start": 11035, + "end": 11039, "loc": { "start": { - "line": 259, + "line": 260, "column": 46 }, "end": { - "line": 259, + "line": 260, "column": 50 }, "identifierName": "path" @@ -35586,15 +35811,15 @@ }, "property": { "type": "Identifier", - "start": 11003, - "end": 11010, + "start": 11040, + "end": 11047, "loc": { "start": { - "line": 259, + "line": 260, "column": 51 }, "end": { - "line": 259, + "line": 260, "column": 58 }, "identifierName": "dirname" @@ -35606,15 +35831,15 @@ "arguments": [ { "type": "Identifier", - "start": 11011, - "end": 11017, + "start": 11048, + "end": 11054, "loc": { "start": { - "line": 259, + "line": 260, "column": 59 }, "end": { - "line": 259, + "line": 260, "column": 65 }, "identifierName": "source" @@ -35625,15 +35850,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 11021, - "end": 11023, + "start": 11058, + "end": 11060, "loc": { "start": { - "line": 259, + "line": 260, "column": 69 }, "end": { - "line": 259, + "line": 260, "column": 71 } }, @@ -35650,43 +35875,43 @@ }, { "type": "ExpressionStatement", - "start": 11041, - "end": 11421, + "start": 11078, + "end": 11458, "loc": { "start": { - "line": 260, + "line": 261, "column": 16 }, "end": { - "line": 270, + "line": 271, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 11041, - "end": 11420, + "start": 11078, + "end": 11457, "loc": { "start": { - "line": 260, + "line": 261, "column": 16 }, "end": { - "line": 270, + "line": 271, "column": 18 } }, "callee": { "type": "Identifier", - "start": 11041, - "end": 11048, + "start": 11078, + "end": 11085, "loc": { "start": { - "line": 260, + "line": 261, "column": 16 }, "end": { - "line": 260, + "line": 261, "column": 23 }, "identifierName": "convert" @@ -35696,15 +35921,15 @@ "arguments": [ { "type": "Identifier", - "start": 11049, - "end": 11070, + "start": 11086, + "end": 11107, "loc": { "start": { - "line": 260, + "line": 261, "column": 24 }, "end": { - "line": 260, + "line": 261, "column": 45 }, "identifierName": "parseGLTFIntoXKTModel" @@ -35713,30 +35938,30 @@ }, { "type": "ObjectExpression", - "start": 11072, - "end": 11419, + "start": 11109, + "end": 11456, "loc": { "start": { - "line": 260, + "line": 261, "column": 47 }, "end": { - "line": 270, + "line": 271, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 11094, - "end": 11115, + "start": 11131, + "end": 11152, "loc": { "start": { - "line": 261, + "line": 262, "column": 20 }, "end": { - "line": 261, + "line": 262, "column": 41 } }, @@ -35745,15 +35970,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11094, - "end": 11101, + "start": 11131, + "end": 11138, "loc": { "start": { - "line": 261, + "line": 262, "column": 20 }, "end": { - "line": 261, + "line": 262, "column": 27 }, "identifierName": "baseUri" @@ -35762,15 +35987,15 @@ }, "value": { "type": "Identifier", - "start": 11103, - "end": 11115, + "start": 11140, + "end": 11152, "loc": { "start": { - "line": 261, + "line": 262, "column": 29 }, "end": { - "line": 261, + "line": 262, "column": 41 }, "identifierName": "gltfBasePath" @@ -35780,15 +36005,15 @@ }, { "type": "ObjectProperty", - "start": 11137, - "end": 11153, + "start": 11174, + "end": 11190, "loc": { "start": { - "line": 262, + "line": 263, "column": 20 }, "end": { - "line": 262, + "line": 263, "column": 36 } }, @@ -35797,15 +36022,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11137, - "end": 11141, + "start": 11174, + "end": 11178, "loc": { "start": { - "line": 262, + "line": 263, "column": 20 }, "end": { - "line": 262, + "line": 263, "column": 24 }, "identifierName": "data" @@ -35814,15 +36039,15 @@ }, "value": { "type": "Identifier", - "start": 11143, - "end": 11153, + "start": 11180, + "end": 11190, "loc": { "start": { - "line": 262, + "line": 263, "column": 26 }, "end": { - "line": 262, + "line": 263, "column": 36 }, "identifierName": "sourceData" @@ -35832,15 +36057,15 @@ }, { "type": "ObjectProperty", - "start": 11175, - "end": 11190, + "start": 11212, + "end": 11227, "loc": { "start": { - "line": 263, + "line": 264, "column": 20 }, "end": { - "line": 263, + "line": 264, "column": 35 } }, @@ -35849,15 +36074,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11175, - "end": 11190, + "start": 11212, + "end": 11227, "loc": { "start": { - "line": 263, + "line": 264, "column": 20 }, "end": { - "line": 263, + "line": 264, "column": 35 }, "identifierName": "reuseGeometries" @@ -35866,15 +36091,15 @@ }, "value": { "type": "Identifier", - "start": 11175, - "end": 11190, + "start": 11212, + "end": 11227, "loc": { "start": { - "line": 263, + "line": 264, "column": 20 }, "end": { - "line": 263, + "line": 264, "column": 35 }, "identifierName": "reuseGeometries" @@ -35887,15 +36112,15 @@ }, { "type": "ObjectProperty", - "start": 11212, - "end": 11233, + "start": 11249, + "end": 11270, "loc": { "start": { - "line": 264, + "line": 265, "column": 20 }, "end": { - "line": 264, + "line": 265, "column": 41 } }, @@ -35904,15 +36129,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11212, - "end": 11227, + "start": 11249, + "end": 11264, "loc": { "start": { - "line": 264, + "line": 265, "column": 20 }, "end": { - "line": 264, + "line": 265, "column": 35 }, "identifierName": "includeTextures" @@ -35921,15 +36146,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 11229, - "end": 11233, + "start": 11266, + "end": 11270, "loc": { "start": { - "line": 264, + "line": 265, "column": 37 }, "end": { - "line": 264, + "line": 265, "column": 41 } }, @@ -35938,15 +36163,15 @@ }, { "type": "ObjectProperty", - "start": 11255, - "end": 11269, + "start": 11292, + "end": 11306, "loc": { "start": { - "line": 265, + "line": 266, "column": 20 }, "end": { - "line": 265, + "line": 266, "column": 34 } }, @@ -35955,15 +36180,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11255, - "end": 11269, + "start": 11292, + "end": 11306, "loc": { "start": { - "line": 265, + "line": 266, "column": 20 }, "end": { - "line": 265, + "line": 266, "column": 34 }, "identifierName": "includeNormals" @@ -35972,15 +36197,15 @@ }, "value": { "type": "Identifier", - "start": 11255, - "end": 11269, + "start": 11292, + "end": 11306, "loc": { "start": { - "line": 265, + "line": 266, "column": 20 }, "end": { - "line": 265, + "line": 266, "column": 34 }, "identifierName": "includeNormals" @@ -35993,15 +36218,15 @@ }, { "type": "ObjectProperty", - "start": 11291, - "end": 11319, + "start": 11328, + "end": 11356, "loc": { "start": { - "line": 266, + "line": 267, "column": 20 }, "end": { - "line": 266, + "line": 267, "column": 48 } }, @@ -36010,15 +36235,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11291, - "end": 11304, + "start": 11328, + "end": 11341, "loc": { "start": { - "line": 266, + "line": 267, "column": 20 }, "end": { - "line": 266, + "line": 267, "column": 33 }, "identifierName": "metaModelData" @@ -36027,15 +36252,15 @@ }, "value": { "type": "Identifier", - "start": 11306, - "end": 11319, + "start": 11343, + "end": 11356, "loc": { "start": { - "line": 266, + "line": 267, "column": 35 }, "end": { - "line": 266, + "line": 267, "column": 48 }, "identifierName": "metaModelJSON" @@ -36045,15 +36270,15 @@ }, { "type": "ObjectProperty", - "start": 11341, - "end": 11349, + "start": 11378, + "end": 11386, "loc": { "start": { - "line": 267, + "line": 268, "column": 20 }, "end": { - "line": 267, + "line": 268, "column": 28 } }, @@ -36062,15 +36287,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11341, - "end": 11349, + "start": 11378, + "end": 11386, "loc": { "start": { - "line": 267, + "line": 268, "column": 20 }, "end": { - "line": 267, + "line": 268, "column": 28 }, "identifierName": "xktModel" @@ -36079,15 +36304,15 @@ }, "value": { "type": "Identifier", - "start": 11341, - "end": 11349, + "start": 11378, + "end": 11386, "loc": { "start": { - "line": 267, + "line": 268, "column": 20 }, "end": { - "line": 267, + "line": 268, "column": 28 }, "identifierName": "xktModel" @@ -36100,15 +36325,15 @@ }, { "type": "ObjectProperty", - "start": 11371, - "end": 11376, + "start": 11408, + "end": 11413, "loc": { "start": { - "line": 268, + "line": 269, "column": 20 }, "end": { - "line": 268, + "line": 269, "column": 25 } }, @@ -36117,15 +36342,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11371, - "end": 11376, + "start": 11408, + "end": 11413, "loc": { "start": { - "line": 268, + "line": 269, "column": 20 }, "end": { - "line": 268, + "line": 269, "column": 25 }, "identifierName": "stats" @@ -36134,15 +36359,15 @@ }, "value": { "type": "Identifier", - "start": 11371, - "end": 11376, + "start": 11408, + "end": 11413, "loc": { "start": { - "line": 268, + "line": 269, "column": 20 }, "end": { - "line": 268, + "line": 269, "column": 25 }, "identifierName": "stats" @@ -36155,15 +36380,15 @@ }, { "type": "ObjectProperty", - "start": 11398, - "end": 11401, + "start": 11435, + "end": 11438, "loc": { "start": { - "line": 269, + "line": 270, "column": 20 }, "end": { - "line": 269, + "line": 270, "column": 23 } }, @@ -36172,15 +36397,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11398, - "end": 11401, + "start": 11435, + "end": 11438, "loc": { "start": { - "line": 269, + "line": 270, "column": 20 }, "end": { - "line": 269, + "line": 270, "column": 23 }, "identifierName": "log" @@ -36189,15 +36414,15 @@ }, "value": { "type": "Identifier", - "start": 11398, - "end": 11401, + "start": 11435, + "end": 11438, "loc": { "start": { - "line": 269, + "line": 270, "column": 20 }, "end": { - "line": 269, + "line": 270, "column": 23 }, "identifierName": "log" @@ -36215,15 +36440,15 @@ }, { "type": "BreakStatement", - "start": 11438, - "end": 11444, + "start": 11475, + "end": 11481, "loc": { "start": { - "line": 271, + "line": 272, "column": 16 }, "end": { - "line": 271, + "line": 272, "column": 22 } }, @@ -36234,15 +36459,15 @@ ], "test": { "type": "StringLiteral", - "start": 10888, - "end": 10894, + "start": 10925, + "end": 10931, "loc": { "start": { - "line": 257, + "line": 258, "column": 17 }, "end": { - "line": 257, + "line": 258, "column": 23 } }, @@ -36256,15 +36481,15 @@ { "type": "CommentLine", "value": " case \"gltf\":", - "start": 11458, - "end": 11473, + "start": 11495, + "end": 11510, "loc": { "start": { - "line": 273, + "line": 274, "column": 12 }, "end": { - "line": 273, + "line": 274, "column": 27 } } @@ -36272,15 +36497,15 @@ { "type": "CommentLine", "value": " const gltfJSON = JSON.parse(sourceData);", - "start": 11486, - "end": 11533, + "start": 11523, + "end": 11570, "loc": { "start": { - "line": 274, + "line": 275, "column": 12 }, "end": { - "line": 274, + "line": 275, "column": 59 } } @@ -36288,15 +36513,15 @@ { "type": "CommentLine", "value": " const gltfBasePath = source ? getBasePath(source) : \"\";", - "start": 11546, - "end": 11608, + "start": 11583, + "end": 11645, "loc": { "start": { - "line": 275, + "line": 276, "column": 12 }, "end": { - "line": 275, + "line": 276, "column": 74 } } @@ -36304,15 +36529,15 @@ { "type": "CommentLine", "value": " convert(parseGLTFIntoXKTModel, {", - "start": 11621, - "end": 11660, + "start": 11658, + "end": 11697, "loc": { "start": { - "line": 276, + "line": 277, "column": 12 }, "end": { - "line": 276, + "line": 277, "column": 51 } } @@ -36320,15 +36545,15 @@ { "type": "CommentLine", "value": " baseUri: gltfBasePath,", - "start": 11673, - "end": 11706, + "start": 11710, + "end": 11743, "loc": { "start": { - "line": 277, + "line": 278, "column": 12 }, "end": { - "line": 277, + "line": 278, "column": 45 } } @@ -36336,15 +36561,15 @@ { "type": "CommentLine", "value": " data: gltfJSON,", - "start": 11719, - "end": 11745, + "start": 11756, + "end": 11782, "loc": { "start": { - "line": 278, + "line": 279, "column": 12 }, "end": { - "line": 278, + "line": 279, "column": 38 } } @@ -36352,15 +36577,15 @@ { "type": "CommentLine", "value": " reuseGeometries,", - "start": 11758, - "end": 11785, + "start": 11795, + "end": 11822, "loc": { "start": { - "line": 279, + "line": 280, "column": 12 }, "end": { - "line": 279, + "line": 280, "column": 39 } } @@ -36368,15 +36593,15 @@ { "type": "CommentLine", "value": " includeTextures,", - "start": 11798, - "end": 11825, + "start": 11835, + "end": 11862, "loc": { "start": { - "line": 280, + "line": 281, "column": 12 }, "end": { - "line": 280, + "line": 281, "column": 39 } } @@ -36384,15 +36609,15 @@ { "type": "CommentLine", "value": " includeNormals,", - "start": 11838, - "end": 11864, + "start": 11875, + "end": 11901, "loc": { "start": { - "line": 281, + "line": 282, "column": 12 }, "end": { - "line": 281, + "line": 282, "column": 38 } } @@ -36400,15 +36625,15 @@ { "type": "CommentLine", "value": " metaModelData: metaModelJSON,", - "start": 11877, - "end": 11917, + "start": 11914, + "end": 11954, "loc": { "start": { - "line": 282, + "line": 283, "column": 12 }, "end": { - "line": 282, + "line": 283, "column": 52 } } @@ -36416,15 +36641,15 @@ { "type": "CommentLine", "value": " xktModel,", - "start": 11930, - "end": 11950, + "start": 11967, + "end": 11987, "loc": { "start": { - "line": 283, + "line": 284, "column": 12 }, "end": { - "line": 283, + "line": 284, "column": 32 } } @@ -36432,15 +36657,15 @@ { "type": "CommentLine", "value": " getAttachment: async (name) => {", - "start": 11963, - "end": 12006, + "start": 12000, + "end": 12043, "loc": { "start": { - "line": 284, + "line": 285, "column": 12 }, "end": { - "line": 284, + "line": 285, "column": 55 } } @@ -36448,15 +36673,15 @@ { "type": "CommentLine", "value": " const filePath = gltfBasePath + name;", - "start": 12019, - "end": 12071, + "start": 12056, + "end": 12108, "loc": { "start": { - "line": 285, + "line": 286, "column": 12 }, "end": { - "line": 285, + "line": 286, "column": 64 } } @@ -36464,15 +36689,15 @@ { "type": "CommentLine", "value": " log(`Reading attachment file: ${filePath}`);", - "start": 12084, - "end": 12143, + "start": 12121, + "end": 12180, "loc": { "start": { - "line": 286, + "line": 287, "column": 12 }, "end": { - "line": 286, + "line": 287, "column": 71 } } @@ -36480,15 +36705,15 @@ { "type": "CommentLine", "value": " const buffer = fs.readFileSync(filePath);", - "start": 12156, - "end": 12212, + "start": 12193, + "end": 12249, "loc": { "start": { - "line": 287, + "line": 288, "column": 12 }, "end": { - "line": 287, + "line": 288, "column": 68 } } @@ -36496,15 +36721,15 @@ { "type": "CommentLine", "value": " const arrayBuf = toArrayBuffer(buffer);", - "start": 12225, - "end": 12279, + "start": 12262, + "end": 12316, "loc": { "start": { - "line": 288, + "line": 289, "column": 12 }, "end": { - "line": 288, + "line": 289, "column": 66 } } @@ -36512,15 +36737,15 @@ { "type": "CommentLine", "value": " return arrayBuf;", - "start": 12292, - "end": 12323, + "start": 12329, + "end": 12360, "loc": { "start": { - "line": 289, + "line": 290, "column": 12 }, "end": { - "line": 289, + "line": 290, "column": 43 } } @@ -36528,15 +36753,15 @@ { "type": "CommentLine", "value": " },", - "start": 12336, - "end": 12349, + "start": 12373, + "end": 12386, "loc": { "start": { - "line": 290, + "line": 291, "column": 12 }, "end": { - "line": 290, + "line": 291, "column": 25 } } @@ -36544,15 +36769,15 @@ { "type": "CommentLine", "value": " stats,", - "start": 12362, - "end": 12379, + "start": 12399, + "end": 12416, "loc": { "start": { - "line": 291, + "line": 292, "column": 12 }, "end": { - "line": 291, + "line": 292, "column": 29 } } @@ -36560,15 +36785,15 @@ { "type": "CommentLine", "value": " log", - "start": 12392, - "end": 12406, + "start": 12429, + "end": 12443, "loc": { "start": { - "line": 292, + "line": 293, "column": 12 }, "end": { - "line": 292, + "line": 293, "column": 26 } } @@ -36576,15 +36801,15 @@ { "type": "CommentLine", "value": " });", - "start": 12419, - "end": 12429, + "start": 12456, + "end": 12466, "loc": { "start": { - "line": 293, + "line": 294, "column": 12 }, "end": { - "line": 293, + "line": 294, "column": 22 } } @@ -36592,15 +36817,15 @@ { "type": "CommentLine", "value": " break;", - "start": 12442, - "end": 12455, + "start": 12479, + "end": 12492, "loc": { "start": { - "line": 294, + "line": 295, "column": 12 }, "end": { - "line": 294, + "line": 295, "column": 25 } } @@ -36609,58 +36834,58 @@ }, { "type": "SwitchCase", - "start": 12469, - "end": 12822, + "start": 12506, + "end": 12859, "loc": { "start": { - "line": 296, + "line": 297, "column": 12 }, "end": { - "line": 307, + "line": 308, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 12497, - "end": 12799, + "start": 12534, + "end": 12836, "loc": { "start": { - "line": 297, + "line": 298, "column": 16 }, "end": { - "line": 306, + "line": 307, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 12497, - "end": 12798, + "start": 12534, + "end": 12835, "loc": { "start": { - "line": 297, + "line": 298, "column": 16 }, "end": { - "line": 306, + "line": 307, "column": 18 } }, "callee": { "type": "Identifier", - "start": 12497, - "end": 12504, + "start": 12534, + "end": 12541, "loc": { "start": { - "line": 297, + "line": 298, "column": 16 }, "end": { - "line": 297, + "line": 298, "column": 23 }, "identifierName": "convert" @@ -36670,15 +36895,15 @@ "arguments": [ { "type": "Identifier", - "start": 12505, - "end": 12525, + "start": 12542, + "end": 12562, "loc": { "start": { - "line": 297, + "line": 298, "column": 24 }, "end": { - "line": 297, + "line": 298, "column": 44 }, "identifierName": "parseIFCIntoXKTModel" @@ -36687,30 +36912,30 @@ }, { "type": "ObjectExpression", - "start": 12527, - "end": 12797, + "start": 12564, + "end": 12834, "loc": { "start": { - "line": 297, + "line": 298, "column": 46 }, "end": { - "line": 306, + "line": 307, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 12549, - "end": 12555, + "start": 12586, + "end": 12592, "loc": { "start": { - "line": 298, + "line": 299, "column": 20 }, "end": { - "line": 298, + "line": 299, "column": 26 } }, @@ -36719,15 +36944,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12549, - "end": 12555, + "start": 12586, + "end": 12592, "loc": { "start": { - "line": 298, + "line": 299, "column": 20 }, "end": { - "line": 298, + "line": 299, "column": 26 }, "identifierName": "WebIFC" @@ -36736,15 +36961,15 @@ }, "value": { "type": "Identifier", - "start": 12549, - "end": 12555, + "start": 12586, + "end": 12592, "loc": { "start": { - "line": 298, + "line": 299, "column": 20 }, "end": { - "line": 298, + "line": 299, "column": 26 }, "identifierName": "WebIFC" @@ -36757,15 +36982,15 @@ }, { "type": "ObjectProperty", - "start": 12577, - "end": 12593, + "start": 12614, + "end": 12630, "loc": { "start": { - "line": 299, + "line": 300, "column": 20 }, "end": { - "line": 299, + "line": 300, "column": 36 } }, @@ -36774,15 +36999,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12577, - "end": 12581, + "start": 12614, + "end": 12618, "loc": { "start": { - "line": 299, + "line": 300, "column": 20 }, "end": { - "line": 299, + "line": 300, "column": 24 }, "identifierName": "data" @@ -36791,15 +37016,15 @@ }, "value": { "type": "Identifier", - "start": 12583, - "end": 12593, + "start": 12620, + "end": 12630, "loc": { "start": { - "line": 299, + "line": 300, "column": 26 }, "end": { - "line": 299, + "line": 300, "column": 36 }, "identifierName": "sourceData" @@ -36809,15 +37034,15 @@ }, { "type": "ObjectProperty", - "start": 12615, - "end": 12623, + "start": 12652, + "end": 12660, "loc": { "start": { - "line": 300, + "line": 301, "column": 20 }, "end": { - "line": 300, + "line": 301, "column": 28 } }, @@ -36826,15 +37051,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12615, - "end": 12623, + "start": 12652, + "end": 12660, "loc": { "start": { - "line": 300, + "line": 301, "column": 20 }, "end": { - "line": 300, + "line": 301, "column": 28 }, "identifierName": "xktModel" @@ -36843,15 +37068,15 @@ }, "value": { "type": "Identifier", - "start": 12615, - "end": 12623, + "start": 12652, + "end": 12660, "loc": { "start": { - "line": 300, + "line": 301, "column": 20 }, "end": { - "line": 300, + "line": 301, "column": 28 }, "identifierName": "xktModel" @@ -36864,15 +37089,15 @@ }, { "type": "ObjectProperty", - "start": 12645, - "end": 12659, + "start": 12682, + "end": 12696, "loc": { "start": { - "line": 301, + "line": 302, "column": 20 }, "end": { - "line": 301, + "line": 302, "column": 34 } }, @@ -36881,15 +37106,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12645, - "end": 12653, + "start": 12682, + "end": 12690, "loc": { "start": { - "line": 301, + "line": 302, "column": 20 }, "end": { - "line": 301, + "line": 302, "column": 28 }, "identifierName": "wasmPath" @@ -36898,15 +37123,15 @@ }, "value": { "type": "StringLiteral", - "start": 12655, - "end": 12659, + "start": 12692, + "end": 12696, "loc": { "start": { - "line": 301, + "line": 302, "column": 30 }, "end": { - "line": 301, + "line": 302, "column": 34 } }, @@ -36919,15 +37144,15 @@ }, { "type": "ObjectProperty", - "start": 12681, - "end": 12693, + "start": 12718, + "end": 12730, "loc": { "start": { - "line": 302, + "line": 303, "column": 20 }, "end": { - "line": 302, + "line": 303, "column": 32 } }, @@ -36936,15 +37161,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12681, - "end": 12693, + "start": 12718, + "end": 12730, "loc": { "start": { - "line": 302, + "line": 303, "column": 20 }, "end": { - "line": 302, + "line": 303, "column": 32 }, "identifierName": "includeTypes" @@ -36953,15 +37178,15 @@ }, "value": { "type": "Identifier", - "start": 12681, - "end": 12693, + "start": 12718, + "end": 12730, "loc": { "start": { - "line": 302, + "line": 303, "column": 20 }, "end": { - "line": 302, + "line": 303, "column": 32 }, "identifierName": "includeTypes" @@ -36974,15 +37199,15 @@ }, { "type": "ObjectProperty", - "start": 12715, - "end": 12727, + "start": 12752, + "end": 12764, "loc": { "start": { - "line": 303, + "line": 304, "column": 20 }, "end": { - "line": 303, + "line": 304, "column": 32 } }, @@ -36991,15 +37216,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12715, - "end": 12727, + "start": 12752, + "end": 12764, "loc": { "start": { - "line": 303, + "line": 304, "column": 20 }, "end": { - "line": 303, + "line": 304, "column": 32 }, "identifierName": "excludeTypes" @@ -37008,15 +37233,15 @@ }, "value": { "type": "Identifier", - "start": 12715, - "end": 12727, + "start": 12752, + "end": 12764, "loc": { "start": { - "line": 303, + "line": 304, "column": 20 }, "end": { - "line": 303, + "line": 304, "column": 32 }, "identifierName": "excludeTypes" @@ -37029,15 +37254,15 @@ }, { "type": "ObjectProperty", - "start": 12749, - "end": 12754, + "start": 12786, + "end": 12791, "loc": { "start": { - "line": 304, + "line": 305, "column": 20 }, "end": { - "line": 304, + "line": 305, "column": 25 } }, @@ -37046,15 +37271,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12749, - "end": 12754, + "start": 12786, + "end": 12791, "loc": { "start": { - "line": 304, + "line": 305, "column": 20 }, "end": { - "line": 304, + "line": 305, "column": 25 }, "identifierName": "stats" @@ -37063,15 +37288,15 @@ }, "value": { "type": "Identifier", - "start": 12749, - "end": 12754, + "start": 12786, + "end": 12791, "loc": { "start": { - "line": 304, + "line": 305, "column": 20 }, "end": { - "line": 304, + "line": 305, "column": 25 }, "identifierName": "stats" @@ -37084,15 +37309,15 @@ }, { "type": "ObjectProperty", - "start": 12776, - "end": 12779, + "start": 12813, + "end": 12816, "loc": { "start": { - "line": 305, + "line": 306, "column": 20 }, "end": { - "line": 305, + "line": 306, "column": 23 } }, @@ -37101,15 +37326,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12776, - "end": 12779, + "start": 12813, + "end": 12816, "loc": { "start": { - "line": 305, + "line": 306, "column": 20 }, "end": { - "line": 305, + "line": 306, "column": 23 }, "identifierName": "log" @@ -37118,15 +37343,15 @@ }, "value": { "type": "Identifier", - "start": 12776, - "end": 12779, + "start": 12813, + "end": 12816, "loc": { "start": { - "line": 305, + "line": 306, "column": 20 }, "end": { - "line": 305, + "line": 306, "column": 23 }, "identifierName": "log" @@ -37144,15 +37369,15 @@ }, { "type": "BreakStatement", - "start": 12816, - "end": 12822, + "start": 12853, + "end": 12859, "loc": { "start": { - "line": 307, + "line": 308, "column": 16 }, "end": { - "line": 307, + "line": 308, "column": 22 } }, @@ -37161,15 +37386,15 @@ ], "test": { "type": "StringLiteral", - "start": 12474, - "end": 12479, + "start": 12511, + "end": 12516, "loc": { "start": { - "line": 296, + "line": 297, "column": 17 }, "end": { - "line": 296, + "line": 297, "column": 22 } }, @@ -37184,15 +37409,15 @@ { "type": "CommentLine", "value": " case \"gltf\":", - "start": 11458, - "end": 11473, + "start": 11495, + "end": 11510, "loc": { "start": { - "line": 273, + "line": 274, "column": 12 }, "end": { - "line": 273, + "line": 274, "column": 27 } } @@ -37200,15 +37425,15 @@ { "type": "CommentLine", "value": " const gltfJSON = JSON.parse(sourceData);", - "start": 11486, - "end": 11533, + "start": 11523, + "end": 11570, "loc": { "start": { - "line": 274, + "line": 275, "column": 12 }, "end": { - "line": 274, + "line": 275, "column": 59 } } @@ -37216,15 +37441,15 @@ { "type": "CommentLine", "value": " const gltfBasePath = source ? getBasePath(source) : \"\";", - "start": 11546, - "end": 11608, + "start": 11583, + "end": 11645, "loc": { "start": { - "line": 275, + "line": 276, "column": 12 }, "end": { - "line": 275, + "line": 276, "column": 74 } } @@ -37232,15 +37457,15 @@ { "type": "CommentLine", "value": " convert(parseGLTFIntoXKTModel, {", - "start": 11621, - "end": 11660, + "start": 11658, + "end": 11697, "loc": { "start": { - "line": 276, + "line": 277, "column": 12 }, "end": { - "line": 276, + "line": 277, "column": 51 } } @@ -37248,15 +37473,15 @@ { "type": "CommentLine", "value": " baseUri: gltfBasePath,", - "start": 11673, - "end": 11706, + "start": 11710, + "end": 11743, "loc": { "start": { - "line": 277, + "line": 278, "column": 12 }, "end": { - "line": 277, + "line": 278, "column": 45 } } @@ -37264,15 +37489,15 @@ { "type": "CommentLine", "value": " data: gltfJSON,", - "start": 11719, - "end": 11745, + "start": 11756, + "end": 11782, "loc": { "start": { - "line": 278, + "line": 279, "column": 12 }, "end": { - "line": 278, + "line": 279, "column": 38 } } @@ -37280,15 +37505,15 @@ { "type": "CommentLine", "value": " reuseGeometries,", - "start": 11758, - "end": 11785, + "start": 11795, + "end": 11822, "loc": { "start": { - "line": 279, + "line": 280, "column": 12 }, "end": { - "line": 279, + "line": 280, "column": 39 } } @@ -37296,15 +37521,15 @@ { "type": "CommentLine", "value": " includeTextures,", - "start": 11798, - "end": 11825, + "start": 11835, + "end": 11862, "loc": { "start": { - "line": 280, + "line": 281, "column": 12 }, "end": { - "line": 280, + "line": 281, "column": 39 } } @@ -37312,15 +37537,15 @@ { "type": "CommentLine", "value": " includeNormals,", - "start": 11838, - "end": 11864, + "start": 11875, + "end": 11901, "loc": { "start": { - "line": 281, + "line": 282, "column": 12 }, "end": { - "line": 281, + "line": 282, "column": 38 } } @@ -37328,15 +37553,15 @@ { "type": "CommentLine", "value": " metaModelData: metaModelJSON,", - "start": 11877, - "end": 11917, + "start": 11914, + "end": 11954, "loc": { "start": { - "line": 282, + "line": 283, "column": 12 }, "end": { - "line": 282, + "line": 283, "column": 52 } } @@ -37344,15 +37569,15 @@ { "type": "CommentLine", "value": " xktModel,", - "start": 11930, - "end": 11950, + "start": 11967, + "end": 11987, "loc": { "start": { - "line": 283, + "line": 284, "column": 12 }, "end": { - "line": 283, + "line": 284, "column": 32 } } @@ -37360,15 +37585,15 @@ { "type": "CommentLine", "value": " getAttachment: async (name) => {", - "start": 11963, - "end": 12006, + "start": 12000, + "end": 12043, "loc": { "start": { - "line": 284, + "line": 285, "column": 12 }, "end": { - "line": 284, + "line": 285, "column": 55 } } @@ -37376,15 +37601,15 @@ { "type": "CommentLine", "value": " const filePath = gltfBasePath + name;", - "start": 12019, - "end": 12071, + "start": 12056, + "end": 12108, "loc": { "start": { - "line": 285, + "line": 286, "column": 12 }, "end": { - "line": 285, + "line": 286, "column": 64 } } @@ -37392,15 +37617,15 @@ { "type": "CommentLine", "value": " log(`Reading attachment file: ${filePath}`);", - "start": 12084, - "end": 12143, + "start": 12121, + "end": 12180, "loc": { "start": { - "line": 286, + "line": 287, "column": 12 }, "end": { - "line": 286, + "line": 287, "column": 71 } } @@ -37408,15 +37633,15 @@ { "type": "CommentLine", "value": " const buffer = fs.readFileSync(filePath);", - "start": 12156, - "end": 12212, + "start": 12193, + "end": 12249, "loc": { "start": { - "line": 287, + "line": 288, "column": 12 }, "end": { - "line": 287, + "line": 288, "column": 68 } } @@ -37424,15 +37649,15 @@ { "type": "CommentLine", "value": " const arrayBuf = toArrayBuffer(buffer);", - "start": 12225, - "end": 12279, + "start": 12262, + "end": 12316, "loc": { "start": { - "line": 288, + "line": 289, "column": 12 }, "end": { - "line": 288, + "line": 289, "column": 66 } } @@ -37440,15 +37665,15 @@ { "type": "CommentLine", "value": " return arrayBuf;", - "start": 12292, - "end": 12323, + "start": 12329, + "end": 12360, "loc": { "start": { - "line": 289, + "line": 290, "column": 12 }, "end": { - "line": 289, + "line": 290, "column": 43 } } @@ -37456,15 +37681,15 @@ { "type": "CommentLine", "value": " },", - "start": 12336, - "end": 12349, + "start": 12373, + "end": 12386, "loc": { "start": { - "line": 290, + "line": 291, "column": 12 }, "end": { - "line": 290, + "line": 291, "column": 25 } } @@ -37472,15 +37697,15 @@ { "type": "CommentLine", "value": " stats,", - "start": 12362, - "end": 12379, + "start": 12399, + "end": 12416, "loc": { "start": { - "line": 291, + "line": 292, "column": 12 }, "end": { - "line": 291, + "line": 292, "column": 29 } } @@ -37488,15 +37713,15 @@ { "type": "CommentLine", "value": " log", - "start": 12392, - "end": 12406, + "start": 12429, + "end": 12443, "loc": { "start": { - "line": 292, + "line": 293, "column": 12 }, "end": { - "line": 292, + "line": 293, "column": 26 } } @@ -37504,15 +37729,15 @@ { "type": "CommentLine", "value": " });", - "start": 12419, - "end": 12429, + "start": 12456, + "end": 12466, "loc": { "start": { - "line": 293, + "line": 294, "column": 12 }, "end": { - "line": 293, + "line": 294, "column": 22 } } @@ -37520,15 +37745,15 @@ { "type": "CommentLine", "value": " break;", - "start": 12442, - "end": 12455, + "start": 12479, + "end": 12492, "loc": { "start": { - "line": 294, + "line": 295, "column": 12 }, "end": { - "line": 294, + "line": 295, "column": 25 } } @@ -37537,58 +37762,58 @@ }, { "type": "SwitchCase", - "start": 12836, - "end": 13342, + "start": 12873, + "end": 13379, "loc": { "start": { - "line": 309, + "line": 310, "column": 12 }, "end": { - "line": 321, + "line": 322, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 12864, - "end": 13319, + "start": 12901, + "end": 13356, "loc": { "start": { - "line": 310, + "line": 311, "column": 16 }, "end": { - "line": 320, + "line": 321, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 12864, - "end": 13318, + "start": 12901, + "end": 13355, "loc": { "start": { - "line": 310, + "line": 311, "column": 16 }, "end": { - "line": 320, + "line": 321, "column": 18 } }, "callee": { "type": "Identifier", - "start": 12864, - "end": 12871, + "start": 12901, + "end": 12908, "loc": { "start": { - "line": 310, + "line": 311, "column": 16 }, "end": { - "line": 310, + "line": 311, "column": 23 }, "identifierName": "convert" @@ -37598,15 +37823,15 @@ "arguments": [ { "type": "Identifier", - "start": 12872, - "end": 12892, + "start": 12909, + "end": 12929, "loc": { "start": { - "line": 310, + "line": 311, "column": 24 }, "end": { - "line": 310, + "line": 311, "column": 44 }, "identifierName": "parseLASIntoXKTModel" @@ -37615,30 +37840,30 @@ }, { "type": "ObjectExpression", - "start": 12894, - "end": 13317, + "start": 12931, + "end": 13354, "loc": { "start": { - "line": 310, + "line": 311, "column": 46 }, "end": { - "line": 320, + "line": 321, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 12916, - "end": 12932, + "start": 12953, + "end": 12969, "loc": { "start": { - "line": 311, + "line": 312, "column": 20 }, "end": { - "line": 311, + "line": 312, "column": 36 } }, @@ -37647,15 +37872,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12916, - "end": 12920, + "start": 12953, + "end": 12957, "loc": { "start": { - "line": 311, + "line": 312, "column": 20 }, "end": { - "line": 311, + "line": 312, "column": 24 }, "identifierName": "data" @@ -37664,15 +37889,15 @@ }, "value": { "type": "Identifier", - "start": 12922, - "end": 12932, + "start": 12959, + "end": 12969, "loc": { "start": { - "line": 311, + "line": 312, "column": 26 }, "end": { - "line": 311, + "line": 312, "column": 36 }, "identifierName": "sourceData" @@ -37682,15 +37907,15 @@ }, { "type": "ObjectProperty", - "start": 12954, - "end": 12962, + "start": 12991, + "end": 12999, "loc": { "start": { - "line": 312, + "line": 313, "column": 20 }, "end": { - "line": 312, + "line": 313, "column": 28 } }, @@ -37699,15 +37924,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12954, - "end": 12962, + "start": 12991, + "end": 12999, "loc": { "start": { - "line": 312, + "line": 313, "column": 20 }, "end": { - "line": 312, + "line": 313, "column": 28 }, "identifierName": "xktModel" @@ -37716,15 +37941,15 @@ }, "value": { "type": "Identifier", - "start": 12954, - "end": 12962, + "start": 12991, + "end": 12999, "loc": { "start": { - "line": 312, + "line": 313, "column": 20 }, "end": { - "line": 312, + "line": 313, "column": 28 }, "identifierName": "xktModel" @@ -37737,15 +37962,15 @@ }, { "type": "ObjectProperty", - "start": 12984, - "end": 12989, + "start": 13021, + "end": 13026, "loc": { "start": { - "line": 313, + "line": 314, "column": 20 }, "end": { - "line": 313, + "line": 314, "column": 25 } }, @@ -37754,15 +37979,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 12984, - "end": 12989, + "start": 13021, + "end": 13026, "loc": { "start": { - "line": 313, + "line": 314, "column": 20 }, "end": { - "line": 313, + "line": 314, "column": 25 }, "identifierName": "stats" @@ -37771,15 +37996,15 @@ }, "value": { "type": "Identifier", - "start": 12984, - "end": 12989, + "start": 13021, + "end": 13026, "loc": { "start": { - "line": 313, + "line": 314, "column": 20 }, "end": { - "line": 313, + "line": 314, "column": 25 }, "identifierName": "stats" @@ -37792,15 +38017,15 @@ }, { "type": "ObjectProperty", - "start": 13011, - "end": 13037, + "start": 13048, + "end": 13074, "loc": { "start": { - "line": 314, + "line": 315, "column": 20 }, "end": { - "line": 314, + "line": 315, "column": 46 } }, @@ -37809,15 +38034,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13011, - "end": 13015, + "start": 13048, + "end": 13052, "loc": { "start": { - "line": 314, + "line": 315, "column": 20 }, "end": { - "line": 314, + "line": 315, "column": 24 }, "identifierName": "fp64" @@ -37826,29 +38051,29 @@ }, "value": { "type": "MemberExpression", - "start": 13017, - "end": 13037, + "start": 13054, + "end": 13074, "loc": { "start": { - "line": 314, + "line": 315, "column": 26 }, "end": { - "line": 314, + "line": 315, "column": 46 } }, "object": { "type": "Identifier", - "start": 13017, - "end": 13032, + "start": 13054, + "end": 13069, "loc": { "start": { - "line": 314, + "line": 315, "column": 26 }, "end": { - "line": 314, + "line": 315, "column": 41 }, "identifierName": "fileTypeConfigs" @@ -37857,15 +38082,15 @@ }, "property": { "type": "Identifier", - "start": 13033, - "end": 13037, + "start": 13070, + "end": 13074, "loc": { "start": { - "line": 314, + "line": 315, "column": 42 }, "end": { - "line": 314, + "line": 315, "column": 46 }, "identifierName": "fp64" @@ -37877,15 +38102,15 @@ }, { "type": "ObjectProperty", - "start": 13059, - "end": 13097, + "start": 13096, + "end": 13134, "loc": { "start": { - "line": 315, + "line": 316, "column": 20 }, "end": { - "line": 315, + "line": 316, "column": 58 } }, @@ -37894,15 +38119,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13059, - "end": 13069, + "start": 13096, + "end": 13106, "loc": { "start": { - "line": 315, + "line": 316, "column": 20 }, "end": { - "line": 315, + "line": 316, "column": 30 }, "identifierName": "colorDepth" @@ -37911,29 +38136,29 @@ }, "value": { "type": "MemberExpression", - "start": 13071, - "end": 13097, + "start": 13108, + "end": 13134, "loc": { "start": { - "line": 315, + "line": 316, "column": 32 }, "end": { - "line": 315, + "line": 316, "column": 58 } }, "object": { "type": "Identifier", - "start": 13071, - "end": 13086, + "start": 13108, + "end": 13123, "loc": { "start": { - "line": 315, + "line": 316, "column": 32 }, "end": { - "line": 315, + "line": 316, "column": 47 }, "identifierName": "fileTypeConfigs" @@ -37942,15 +38167,15 @@ }, "property": { "type": "Identifier", - "start": 13087, - "end": 13097, + "start": 13124, + "end": 13134, "loc": { "start": { - "line": 315, + "line": 316, "column": 48 }, "end": { - "line": 315, + "line": 316, "column": 58 }, "identifierName": "colorDepth" @@ -37962,15 +38187,15 @@ }, { "type": "ObjectProperty", - "start": 13119, - "end": 13149, + "start": 13156, + "end": 13186, "loc": { "start": { - "line": 316, + "line": 317, "column": 20 }, "end": { - "line": 316, + "line": 317, "column": 50 } }, @@ -37979,15 +38204,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13119, - "end": 13125, + "start": 13156, + "end": 13162, "loc": { "start": { - "line": 316, + "line": 317, "column": 20 }, "end": { - "line": 316, + "line": 317, "column": 26 }, "identifierName": "center" @@ -37996,29 +38221,29 @@ }, "value": { "type": "MemberExpression", - "start": 13127, - "end": 13149, + "start": 13164, + "end": 13186, "loc": { "start": { - "line": 316, + "line": 317, "column": 28 }, "end": { - "line": 316, + "line": 317, "column": 50 } }, "object": { "type": "Identifier", - "start": 13127, - "end": 13142, + "start": 13164, + "end": 13179, "loc": { "start": { - "line": 316, + "line": 317, "column": 28 }, "end": { - "line": 316, + "line": 317, "column": 43 }, "identifierName": "fileTypeConfigs" @@ -38027,15 +38252,15 @@ }, "property": { "type": "Identifier", - "start": 13143, - "end": 13149, + "start": 13180, + "end": 13186, "loc": { "start": { - "line": 316, + "line": 317, "column": 44 }, "end": { - "line": 316, + "line": 317, "column": 50 }, "identifierName": "center" @@ -38047,15 +38272,15 @@ }, { "type": "ObjectProperty", - "start": 13171, - "end": 13207, + "start": 13208, + "end": 13244, "loc": { "start": { - "line": 317, + "line": 318, "column": 20 }, "end": { - "line": 317, + "line": 318, "column": 56 } }, @@ -38064,15 +38289,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13171, - "end": 13180, + "start": 13208, + "end": 13217, "loc": { "start": { - "line": 317, + "line": 318, "column": 20 }, "end": { - "line": 317, + "line": 318, "column": 29 }, "identifierName": "transform" @@ -38081,29 +38306,29 @@ }, "value": { "type": "MemberExpression", - "start": 13182, - "end": 13207, + "start": 13219, + "end": 13244, "loc": { "start": { - "line": 317, + "line": 318, "column": 31 }, "end": { - "line": 317, + "line": 318, "column": 56 } }, "object": { "type": "Identifier", - "start": 13182, - "end": 13197, + "start": 13219, + "end": 13234, "loc": { "start": { - "line": 317, + "line": 318, "column": 31 }, "end": { - "line": 317, + "line": 318, "column": 46 }, "identifierName": "fileTypeConfigs" @@ -38112,15 +38337,15 @@ }, "property": { "type": "Identifier", - "start": 13198, - "end": 13207, + "start": 13235, + "end": 13244, "loc": { "start": { - "line": 317, + "line": 318, "column": 47 }, "end": { - "line": 317, + "line": 318, "column": 56 }, "identifierName": "transform" @@ -38132,15 +38357,15 @@ }, { "type": "ObjectProperty", - "start": 13229, - "end": 13274, + "start": 13266, + "end": 13311, "loc": { "start": { - "line": 318, + "line": 319, "column": 20 }, "end": { - "line": 318, + "line": 319, "column": 65 } }, @@ -38149,15 +38374,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13229, - "end": 13233, + "start": 13266, + "end": 13270, "loc": { "start": { - "line": 318, + "line": 319, "column": 20 }, "end": { - "line": 318, + "line": 319, "column": 24 }, "identifierName": "skip" @@ -38166,29 +38391,29 @@ }, "value": { "type": "CallExpression", - "start": 13235, - "end": 13274, + "start": 13272, + "end": 13311, "loc": { "start": { - "line": 318, + "line": 319, "column": 26 }, "end": { - "line": 318, + "line": 319, "column": 65 } }, "callee": { "type": "Identifier", - "start": 13235, - "end": 13249, + "start": 13272, + "end": 13286, "loc": { "start": { - "line": 318, + "line": 319, "column": 26 }, "end": { - "line": 318, + "line": 319, "column": 40 }, "identifierName": "overrideOption" @@ -38198,29 +38423,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 13250, - "end": 13270, + "start": 13287, + "end": 13307, "loc": { "start": { - "line": 318, + "line": 319, "column": 41 }, "end": { - "line": 318, + "line": 319, "column": 61 } }, "object": { "type": "Identifier", - "start": 13250, - "end": 13265, + "start": 13287, + "end": 13302, "loc": { "start": { - "line": 318, + "line": 319, "column": 41 }, "end": { - "line": 318, + "line": 319, "column": 56 }, "identifierName": "fileTypeConfigs" @@ -38229,15 +38454,15 @@ }, "property": { "type": "Identifier", - "start": 13266, - "end": 13270, + "start": 13303, + "end": 13307, "loc": { "start": { - "line": 318, + "line": 319, "column": 57 }, "end": { - "line": 318, + "line": 319, "column": 61 }, "identifierName": "skip" @@ -38248,15 +38473,15 @@ }, { "type": "NumericLiteral", - "start": 13272, - "end": 13273, + "start": 13309, + "end": 13310, "loc": { "start": { - "line": 318, + "line": 319, "column": 63 }, "end": { - "line": 318, + "line": 319, "column": 64 } }, @@ -38271,15 +38496,15 @@ }, { "type": "ObjectProperty", - "start": 13296, - "end": 13299, + "start": 13333, + "end": 13336, "loc": { "start": { - "line": 319, + "line": 320, "column": 20 }, "end": { - "line": 319, + "line": 320, "column": 23 } }, @@ -38288,15 +38513,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13296, - "end": 13299, + "start": 13333, + "end": 13336, "loc": { "start": { - "line": 319, + "line": 320, "column": 20 }, "end": { - "line": 319, + "line": 320, "column": 23 }, "identifierName": "log" @@ -38305,15 +38530,15 @@ }, "value": { "type": "Identifier", - "start": 13296, - "end": 13299, + "start": 13333, + "end": 13336, "loc": { "start": { - "line": 319, + "line": 320, "column": 20 }, "end": { - "line": 319, + "line": 320, "column": 23 }, "identifierName": "log" @@ -38331,15 +38556,15 @@ }, { "type": "BreakStatement", - "start": 13336, - "end": 13342, + "start": 13373, + "end": 13379, "loc": { "start": { - "line": 321, + "line": 322, "column": 16 }, "end": { - "line": 321, + "line": 322, "column": 22 } }, @@ -38348,15 +38573,15 @@ ], "test": { "type": "StringLiteral", - "start": 12841, - "end": 12846, + "start": 12878, + "end": 12883, "loc": { "start": { - "line": 309, + "line": 310, "column": 17 }, "end": { - "line": 309, + "line": 310, "column": 22 } }, @@ -38369,58 +38594,58 @@ }, { "type": "SwitchCase", - "start": 13356, - "end": 13862, + "start": 13393, + "end": 13899, "loc": { "start": { - "line": 323, + "line": 324, "column": 12 }, "end": { - "line": 335, + "line": 336, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 13384, - "end": 13839, + "start": 13421, + "end": 13876, "loc": { "start": { - "line": 324, + "line": 325, "column": 16 }, "end": { - "line": 334, + "line": 335, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 13384, - "end": 13838, + "start": 13421, + "end": 13875, "loc": { "start": { - "line": 324, + "line": 325, "column": 16 }, "end": { - "line": 334, + "line": 335, "column": 18 } }, "callee": { "type": "Identifier", - "start": 13384, - "end": 13391, + "start": 13421, + "end": 13428, "loc": { "start": { - "line": 324, + "line": 325, "column": 16 }, "end": { - "line": 324, + "line": 325, "column": 23 }, "identifierName": "convert" @@ -38430,15 +38655,15 @@ "arguments": [ { "type": "Identifier", - "start": 13392, - "end": 13412, + "start": 13429, + "end": 13449, "loc": { "start": { - "line": 324, + "line": 325, "column": 24 }, "end": { - "line": 324, + "line": 325, "column": 44 }, "identifierName": "parseLASIntoXKTModel" @@ -38447,30 +38672,30 @@ }, { "type": "ObjectExpression", - "start": 13414, - "end": 13837, + "start": 13451, + "end": 13874, "loc": { "start": { - "line": 324, + "line": 325, "column": 46 }, "end": { - "line": 334, + "line": 335, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 13436, - "end": 13452, + "start": 13473, + "end": 13489, "loc": { "start": { - "line": 325, + "line": 326, "column": 20 }, "end": { - "line": 325, + "line": 326, "column": 36 } }, @@ -38479,15 +38704,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13436, - "end": 13440, + "start": 13473, + "end": 13477, "loc": { "start": { - "line": 325, + "line": 326, "column": 20 }, "end": { - "line": 325, + "line": 326, "column": 24 }, "identifierName": "data" @@ -38496,15 +38721,15 @@ }, "value": { "type": "Identifier", - "start": 13442, - "end": 13452, + "start": 13479, + "end": 13489, "loc": { "start": { - "line": 325, + "line": 326, "column": 26 }, "end": { - "line": 325, + "line": 326, "column": 36 }, "identifierName": "sourceData" @@ -38514,15 +38739,15 @@ }, { "type": "ObjectProperty", - "start": 13474, - "end": 13482, + "start": 13511, + "end": 13519, "loc": { "start": { - "line": 326, + "line": 327, "column": 20 }, "end": { - "line": 326, + "line": 327, "column": 28 } }, @@ -38531,15 +38756,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13474, - "end": 13482, + "start": 13511, + "end": 13519, "loc": { "start": { - "line": 326, + "line": 327, "column": 20 }, "end": { - "line": 326, + "line": 327, "column": 28 }, "identifierName": "xktModel" @@ -38548,15 +38773,15 @@ }, "value": { "type": "Identifier", - "start": 13474, - "end": 13482, + "start": 13511, + "end": 13519, "loc": { "start": { - "line": 326, + "line": 327, "column": 20 }, "end": { - "line": 326, + "line": 327, "column": 28 }, "identifierName": "xktModel" @@ -38569,15 +38794,15 @@ }, { "type": "ObjectProperty", - "start": 13504, - "end": 13509, + "start": 13541, + "end": 13546, "loc": { "start": { - "line": 327, + "line": 328, "column": 20 }, "end": { - "line": 327, + "line": 328, "column": 25 } }, @@ -38586,15 +38811,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13504, - "end": 13509, + "start": 13541, + "end": 13546, "loc": { "start": { - "line": 327, + "line": 328, "column": 20 }, "end": { - "line": 327, + "line": 328, "column": 25 }, "identifierName": "stats" @@ -38603,15 +38828,15 @@ }, "value": { "type": "Identifier", - "start": 13504, - "end": 13509, + "start": 13541, + "end": 13546, "loc": { "start": { - "line": 327, + "line": 328, "column": 20 }, "end": { - "line": 327, + "line": 328, "column": 25 }, "identifierName": "stats" @@ -38624,15 +38849,15 @@ }, { "type": "ObjectProperty", - "start": 13531, - "end": 13557, + "start": 13568, + "end": 13594, "loc": { "start": { - "line": 328, + "line": 329, "column": 20 }, "end": { - "line": 328, + "line": 329, "column": 46 } }, @@ -38641,15 +38866,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13531, - "end": 13535, + "start": 13568, + "end": 13572, "loc": { "start": { - "line": 328, + "line": 329, "column": 20 }, "end": { - "line": 328, + "line": 329, "column": 24 }, "identifierName": "fp64" @@ -38658,29 +38883,29 @@ }, "value": { "type": "MemberExpression", - "start": 13537, - "end": 13557, + "start": 13574, + "end": 13594, "loc": { "start": { - "line": 328, + "line": 329, "column": 26 }, "end": { - "line": 328, + "line": 329, "column": 46 } }, "object": { "type": "Identifier", - "start": 13537, - "end": 13552, + "start": 13574, + "end": 13589, "loc": { "start": { - "line": 328, + "line": 329, "column": 26 }, "end": { - "line": 328, + "line": 329, "column": 41 }, "identifierName": "fileTypeConfigs" @@ -38689,15 +38914,15 @@ }, "property": { "type": "Identifier", - "start": 13553, - "end": 13557, + "start": 13590, + "end": 13594, "loc": { "start": { - "line": 328, + "line": 329, "column": 42 }, "end": { - "line": 328, + "line": 329, "column": 46 }, "identifierName": "fp64" @@ -38709,15 +38934,15 @@ }, { "type": "ObjectProperty", - "start": 13579, - "end": 13617, + "start": 13616, + "end": 13654, "loc": { "start": { - "line": 329, + "line": 330, "column": 20 }, "end": { - "line": 329, + "line": 330, "column": 58 } }, @@ -38726,15 +38951,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13579, - "end": 13589, + "start": 13616, + "end": 13626, "loc": { "start": { - "line": 329, + "line": 330, "column": 20 }, "end": { - "line": 329, + "line": 330, "column": 30 }, "identifierName": "colorDepth" @@ -38743,29 +38968,29 @@ }, "value": { "type": "MemberExpression", - "start": 13591, - "end": 13617, + "start": 13628, + "end": 13654, "loc": { "start": { - "line": 329, + "line": 330, "column": 32 }, "end": { - "line": 329, + "line": 330, "column": 58 } }, "object": { "type": "Identifier", - "start": 13591, - "end": 13606, + "start": 13628, + "end": 13643, "loc": { "start": { - "line": 329, + "line": 330, "column": 32 }, "end": { - "line": 329, + "line": 330, "column": 47 }, "identifierName": "fileTypeConfigs" @@ -38774,15 +38999,15 @@ }, "property": { "type": "Identifier", - "start": 13607, - "end": 13617, + "start": 13644, + "end": 13654, "loc": { "start": { - "line": 329, + "line": 330, "column": 48 }, "end": { - "line": 329, + "line": 330, "column": 58 }, "identifierName": "colorDepth" @@ -38794,15 +39019,15 @@ }, { "type": "ObjectProperty", - "start": 13639, - "end": 13669, + "start": 13676, + "end": 13706, "loc": { "start": { - "line": 330, + "line": 331, "column": 20 }, "end": { - "line": 330, + "line": 331, "column": 50 } }, @@ -38811,15 +39036,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13639, - "end": 13645, + "start": 13676, + "end": 13682, "loc": { "start": { - "line": 330, + "line": 331, "column": 20 }, "end": { - "line": 330, + "line": 331, "column": 26 }, "identifierName": "center" @@ -38828,29 +39053,29 @@ }, "value": { "type": "MemberExpression", - "start": 13647, - "end": 13669, + "start": 13684, + "end": 13706, "loc": { "start": { - "line": 330, + "line": 331, "column": 28 }, "end": { - "line": 330, + "line": 331, "column": 50 } }, "object": { "type": "Identifier", - "start": 13647, - "end": 13662, + "start": 13684, + "end": 13699, "loc": { "start": { - "line": 330, + "line": 331, "column": 28 }, "end": { - "line": 330, + "line": 331, "column": 43 }, "identifierName": "fileTypeConfigs" @@ -38859,15 +39084,15 @@ }, "property": { "type": "Identifier", - "start": 13663, - "end": 13669, + "start": 13700, + "end": 13706, "loc": { "start": { - "line": 330, + "line": 331, "column": 44 }, "end": { - "line": 330, + "line": 331, "column": 50 }, "identifierName": "center" @@ -38879,15 +39104,15 @@ }, { "type": "ObjectProperty", - "start": 13691, - "end": 13727, + "start": 13728, + "end": 13764, "loc": { "start": { - "line": 331, + "line": 332, "column": 20 }, "end": { - "line": 331, + "line": 332, "column": 56 } }, @@ -38896,15 +39121,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13691, - "end": 13700, + "start": 13728, + "end": 13737, "loc": { "start": { - "line": 331, + "line": 332, "column": 20 }, "end": { - "line": 331, + "line": 332, "column": 29 }, "identifierName": "transform" @@ -38913,29 +39138,29 @@ }, "value": { "type": "MemberExpression", - "start": 13702, - "end": 13727, + "start": 13739, + "end": 13764, "loc": { "start": { - "line": 331, + "line": 332, "column": 31 }, "end": { - "line": 331, + "line": 332, "column": 56 } }, "object": { "type": "Identifier", - "start": 13702, - "end": 13717, + "start": 13739, + "end": 13754, "loc": { "start": { - "line": 331, + "line": 332, "column": 31 }, "end": { - "line": 331, + "line": 332, "column": 46 }, "identifierName": "fileTypeConfigs" @@ -38944,15 +39169,15 @@ }, "property": { "type": "Identifier", - "start": 13718, - "end": 13727, + "start": 13755, + "end": 13764, "loc": { "start": { - "line": 331, + "line": 332, "column": 47 }, "end": { - "line": 331, + "line": 332, "column": 56 }, "identifierName": "transform" @@ -38964,15 +39189,15 @@ }, { "type": "ObjectProperty", - "start": 13749, - "end": 13794, + "start": 13786, + "end": 13831, "loc": { "start": { - "line": 332, + "line": 333, "column": 20 }, "end": { - "line": 332, + "line": 333, "column": 65 } }, @@ -38981,15 +39206,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13749, - "end": 13753, + "start": 13786, + "end": 13790, "loc": { "start": { - "line": 332, + "line": 333, "column": 20 }, "end": { - "line": 332, + "line": 333, "column": 24 }, "identifierName": "skip" @@ -38998,29 +39223,29 @@ }, "value": { "type": "CallExpression", - "start": 13755, - "end": 13794, + "start": 13792, + "end": 13831, "loc": { "start": { - "line": 332, + "line": 333, "column": 26 }, "end": { - "line": 332, + "line": 333, "column": 65 } }, "callee": { "type": "Identifier", - "start": 13755, - "end": 13769, + "start": 13792, + "end": 13806, "loc": { "start": { - "line": 332, + "line": 333, "column": 26 }, "end": { - "line": 332, + "line": 333, "column": 40 }, "identifierName": "overrideOption" @@ -39030,29 +39255,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 13770, - "end": 13790, + "start": 13807, + "end": 13827, "loc": { "start": { - "line": 332, + "line": 333, "column": 41 }, "end": { - "line": 332, + "line": 333, "column": 61 } }, "object": { "type": "Identifier", - "start": 13770, - "end": 13785, + "start": 13807, + "end": 13822, "loc": { "start": { - "line": 332, + "line": 333, "column": 41 }, "end": { - "line": 332, + "line": 333, "column": 56 }, "identifierName": "fileTypeConfigs" @@ -39061,15 +39286,15 @@ }, "property": { "type": "Identifier", - "start": 13786, - "end": 13790, + "start": 13823, + "end": 13827, "loc": { "start": { - "line": 332, + "line": 333, "column": 57 }, "end": { - "line": 332, + "line": 333, "column": 61 }, "identifierName": "skip" @@ -39080,15 +39305,15 @@ }, { "type": "NumericLiteral", - "start": 13792, - "end": 13793, + "start": 13829, + "end": 13830, "loc": { "start": { - "line": 332, + "line": 333, "column": 63 }, "end": { - "line": 332, + "line": 333, "column": 64 } }, @@ -39103,15 +39328,15 @@ }, { "type": "ObjectProperty", - "start": 13816, - "end": 13819, + "start": 13853, + "end": 13856, "loc": { "start": { - "line": 333, + "line": 334, "column": 20 }, "end": { - "line": 333, + "line": 334, "column": 23 } }, @@ -39120,15 +39345,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13816, - "end": 13819, + "start": 13853, + "end": 13856, "loc": { "start": { - "line": 333, + "line": 334, "column": 20 }, "end": { - "line": 333, + "line": 334, "column": 23 }, "identifierName": "log" @@ -39137,15 +39362,15 @@ }, "value": { "type": "Identifier", - "start": 13816, - "end": 13819, + "start": 13853, + "end": 13856, "loc": { "start": { - "line": 333, + "line": 334, "column": 20 }, "end": { - "line": 333, + "line": 334, "column": 23 }, "identifierName": "log" @@ -39163,15 +39388,15 @@ }, { "type": "BreakStatement", - "start": 13856, - "end": 13862, + "start": 13893, + "end": 13899, "loc": { "start": { - "line": 335, + "line": 336, "column": 16 }, "end": { - "line": 335, + "line": 336, "column": 22 } }, @@ -39180,15 +39405,15 @@ ], "test": { "type": "StringLiteral", - "start": 13361, - "end": 13366, + "start": 13398, + "end": 13403, "loc": { "start": { - "line": 323, + "line": 324, "column": 17 }, "end": { - "line": 323, + "line": 324, "column": 22 } }, @@ -39201,58 +39426,58 @@ }, { "type": "SwitchCase", - "start": 13876, - "end": 14097, + "start": 13913, + "end": 14134, "loc": { "start": { - "line": 337, + "line": 338, "column": 12 }, "end": { - "line": 344, + "line": 345, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 13904, - "end": 14074, + "start": 13941, + "end": 14111, "loc": { "start": { - "line": 338, + "line": 339, "column": 16 }, "end": { - "line": 343, + "line": 344, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 13904, - "end": 14073, + "start": 13941, + "end": 14110, "loc": { "start": { - "line": 338, + "line": 339, "column": 16 }, "end": { - "line": 343, + "line": 344, "column": 18 } }, "callee": { "type": "Identifier", - "start": 13904, - "end": 13911, + "start": 13941, + "end": 13948, "loc": { "start": { - "line": 338, + "line": 339, "column": 16 }, "end": { - "line": 338, + "line": 339, "column": 23 }, "identifierName": "convert" @@ -39262,15 +39487,15 @@ "arguments": [ { "type": "Identifier", - "start": 13912, - "end": 13932, + "start": 13949, + "end": 13969, "loc": { "start": { - "line": 338, + "line": 339, "column": 24 }, "end": { - "line": 338, + "line": 339, "column": 44 }, "identifierName": "parsePCDIntoXKTModel" @@ -39279,30 +39504,30 @@ }, { "type": "ObjectExpression", - "start": 13934, - "end": 14072, + "start": 13971, + "end": 14109, "loc": { "start": { - "line": 338, + "line": 339, "column": 46 }, "end": { - "line": 343, + "line": 344, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 13956, - "end": 13972, + "start": 13993, + "end": 14009, "loc": { "start": { - "line": 339, + "line": 340, "column": 20 }, "end": { - "line": 339, + "line": 340, "column": 36 } }, @@ -39311,15 +39536,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13956, - "end": 13960, + "start": 13993, + "end": 13997, "loc": { "start": { - "line": 339, + "line": 340, "column": 20 }, "end": { - "line": 339, + "line": 340, "column": 24 }, "identifierName": "data" @@ -39328,15 +39553,15 @@ }, "value": { "type": "Identifier", - "start": 13962, - "end": 13972, + "start": 13999, + "end": 14009, "loc": { "start": { - "line": 339, + "line": 340, "column": 26 }, "end": { - "line": 339, + "line": 340, "column": 36 }, "identifierName": "sourceData" @@ -39346,15 +39571,15 @@ }, { "type": "ObjectProperty", - "start": 13994, - "end": 14002, + "start": 14031, + "end": 14039, "loc": { "start": { - "line": 340, + "line": 341, "column": 20 }, "end": { - "line": 340, + "line": 341, "column": 28 } }, @@ -39363,15 +39588,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 13994, - "end": 14002, + "start": 14031, + "end": 14039, "loc": { "start": { - "line": 340, + "line": 341, "column": 20 }, "end": { - "line": 340, + "line": 341, "column": 28 }, "identifierName": "xktModel" @@ -39380,15 +39605,15 @@ }, "value": { "type": "Identifier", - "start": 13994, - "end": 14002, + "start": 14031, + "end": 14039, "loc": { "start": { - "line": 340, + "line": 341, "column": 20 }, "end": { - "line": 340, + "line": 341, "column": 28 }, "identifierName": "xktModel" @@ -39401,15 +39626,15 @@ }, { "type": "ObjectProperty", - "start": 14024, - "end": 14029, + "start": 14061, + "end": 14066, "loc": { "start": { - "line": 341, + "line": 342, "column": 20 }, "end": { - "line": 341, + "line": 342, "column": 25 } }, @@ -39418,15 +39643,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14024, - "end": 14029, + "start": 14061, + "end": 14066, "loc": { "start": { - "line": 341, + "line": 342, "column": 20 }, "end": { - "line": 341, + "line": 342, "column": 25 }, "identifierName": "stats" @@ -39435,15 +39660,15 @@ }, "value": { "type": "Identifier", - "start": 14024, - "end": 14029, + "start": 14061, + "end": 14066, "loc": { "start": { - "line": 341, + "line": 342, "column": 20 }, "end": { - "line": 341, + "line": 342, "column": 25 }, "identifierName": "stats" @@ -39456,15 +39681,15 @@ }, { "type": "ObjectProperty", - "start": 14051, - "end": 14054, + "start": 14088, + "end": 14091, "loc": { "start": { - "line": 342, + "line": 343, "column": 20 }, "end": { - "line": 342, + "line": 343, "column": 23 } }, @@ -39473,15 +39698,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14051, - "end": 14054, + "start": 14088, + "end": 14091, "loc": { "start": { - "line": 342, + "line": 343, "column": 20 }, "end": { - "line": 342, + "line": 343, "column": 23 }, "identifierName": "log" @@ -39490,15 +39715,15 @@ }, "value": { "type": "Identifier", - "start": 14051, - "end": 14054, + "start": 14088, + "end": 14091, "loc": { "start": { - "line": 342, + "line": 343, "column": 20 }, "end": { - "line": 342, + "line": 343, "column": 23 }, "identifierName": "log" @@ -39516,15 +39741,15 @@ }, { "type": "BreakStatement", - "start": 14091, - "end": 14097, + "start": 14128, + "end": 14134, "loc": { "start": { - "line": 344, + "line": 345, "column": 16 }, "end": { - "line": 344, + "line": 345, "column": 22 } }, @@ -39533,15 +39758,15 @@ ], "test": { "type": "StringLiteral", - "start": 13881, - "end": 13886, + "start": 13918, + "end": 13923, "loc": { "start": { - "line": 337, + "line": 338, "column": 17 }, "end": { - "line": 337, + "line": 338, "column": 22 } }, @@ -39554,58 +39779,58 @@ }, { "type": "SwitchCase", - "start": 14111, - "end": 14332, + "start": 14148, + "end": 14369, "loc": { "start": { - "line": 346, + "line": 347, "column": 12 }, "end": { - "line": 353, + "line": 354, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 14139, - "end": 14309, + "start": 14176, + "end": 14346, "loc": { "start": { - "line": 347, + "line": 348, "column": 16 }, "end": { - "line": 352, + "line": 353, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 14139, - "end": 14308, + "start": 14176, + "end": 14345, "loc": { "start": { - "line": 347, + "line": 348, "column": 16 }, "end": { - "line": 352, + "line": 353, "column": 18 } }, "callee": { "type": "Identifier", - "start": 14139, - "end": 14146, + "start": 14176, + "end": 14183, "loc": { "start": { - "line": 347, + "line": 348, "column": 16 }, "end": { - "line": 347, + "line": 348, "column": 23 }, "identifierName": "convert" @@ -39615,15 +39840,15 @@ "arguments": [ { "type": "Identifier", - "start": 14147, - "end": 14167, + "start": 14184, + "end": 14204, "loc": { "start": { - "line": 347, + "line": 348, "column": 24 }, "end": { - "line": 347, + "line": 348, "column": 44 }, "identifierName": "parsePLYIntoXKTModel" @@ -39632,30 +39857,30 @@ }, { "type": "ObjectExpression", - "start": 14169, - "end": 14307, + "start": 14206, + "end": 14344, "loc": { "start": { - "line": 347, + "line": 348, "column": 46 }, "end": { - "line": 352, + "line": 353, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 14191, - "end": 14207, + "start": 14228, + "end": 14244, "loc": { "start": { - "line": 348, + "line": 349, "column": 20 }, "end": { - "line": 348, + "line": 349, "column": 36 } }, @@ -39664,15 +39889,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14191, - "end": 14195, + "start": 14228, + "end": 14232, "loc": { "start": { - "line": 348, + "line": 349, "column": 20 }, "end": { - "line": 348, + "line": 349, "column": 24 }, "identifierName": "data" @@ -39681,15 +39906,15 @@ }, "value": { "type": "Identifier", - "start": 14197, - "end": 14207, + "start": 14234, + "end": 14244, "loc": { "start": { - "line": 348, + "line": 349, "column": 26 }, "end": { - "line": 348, + "line": 349, "column": 36 }, "identifierName": "sourceData" @@ -39699,15 +39924,15 @@ }, { "type": "ObjectProperty", - "start": 14229, - "end": 14237, + "start": 14266, + "end": 14274, "loc": { "start": { - "line": 349, + "line": 350, "column": 20 }, "end": { - "line": 349, + "line": 350, "column": 28 } }, @@ -39716,15 +39941,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14229, - "end": 14237, + "start": 14266, + "end": 14274, "loc": { "start": { - "line": 349, + "line": 350, "column": 20 }, "end": { - "line": 349, + "line": 350, "column": 28 }, "identifierName": "xktModel" @@ -39733,15 +39958,15 @@ }, "value": { "type": "Identifier", - "start": 14229, - "end": 14237, + "start": 14266, + "end": 14274, "loc": { "start": { - "line": 349, + "line": 350, "column": 20 }, "end": { - "line": 349, + "line": 350, "column": 28 }, "identifierName": "xktModel" @@ -39754,15 +39979,15 @@ }, { "type": "ObjectProperty", - "start": 14259, - "end": 14264, + "start": 14296, + "end": 14301, "loc": { "start": { - "line": 350, + "line": 351, "column": 20 }, "end": { - "line": 350, + "line": 351, "column": 25 } }, @@ -39771,15 +39996,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14259, - "end": 14264, + "start": 14296, + "end": 14301, "loc": { "start": { - "line": 350, + "line": 351, "column": 20 }, "end": { - "line": 350, + "line": 351, "column": 25 }, "identifierName": "stats" @@ -39788,15 +40013,15 @@ }, "value": { "type": "Identifier", - "start": 14259, - "end": 14264, + "start": 14296, + "end": 14301, "loc": { "start": { - "line": 350, + "line": 351, "column": 20 }, "end": { - "line": 350, + "line": 351, "column": 25 }, "identifierName": "stats" @@ -39809,15 +40034,15 @@ }, { "type": "ObjectProperty", - "start": 14286, - "end": 14289, + "start": 14323, + "end": 14326, "loc": { "start": { - "line": 351, + "line": 352, "column": 20 }, "end": { - "line": 351, + "line": 352, "column": 23 } }, @@ -39826,15 +40051,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14286, - "end": 14289, + "start": 14323, + "end": 14326, "loc": { "start": { - "line": 351, + "line": 352, "column": 20 }, "end": { - "line": 351, + "line": 352, "column": 23 }, "identifierName": "log" @@ -39843,15 +40068,15 @@ }, "value": { "type": "Identifier", - "start": 14286, - "end": 14289, + "start": 14323, + "end": 14326, "loc": { "start": { - "line": 351, + "line": 352, "column": 20 }, "end": { - "line": 351, + "line": 352, "column": 23 }, "identifierName": "log" @@ -39869,15 +40094,15 @@ }, { "type": "BreakStatement", - "start": 14326, - "end": 14332, + "start": 14363, + "end": 14369, "loc": { "start": { - "line": 353, + "line": 354, "column": 16 }, "end": { - "line": 353, + "line": 354, "column": 22 } }, @@ -39886,15 +40111,15 @@ ], "test": { "type": "StringLiteral", - "start": 14116, - "end": 14121, + "start": 14153, + "end": 14158, "loc": { "start": { - "line": 346, + "line": 347, "column": 17 }, "end": { - "line": 346, + "line": 347, "column": 22 } }, @@ -39907,58 +40132,58 @@ }, { "type": "SwitchCase", - "start": 14346, - "end": 14567, + "start": 14383, + "end": 14604, "loc": { "start": { - "line": 355, + "line": 356, "column": 12 }, "end": { - "line": 362, + "line": 363, "column": 22 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 14374, - "end": 14544, + "start": 14411, + "end": 14581, "loc": { "start": { - "line": 356, + "line": 357, "column": 16 }, "end": { - "line": 361, + "line": 362, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 14374, - "end": 14543, + "start": 14411, + "end": 14580, "loc": { "start": { - "line": 356, + "line": 357, "column": 16 }, "end": { - "line": 361, + "line": 362, "column": 18 } }, "callee": { "type": "Identifier", - "start": 14374, - "end": 14381, + "start": 14411, + "end": 14418, "loc": { "start": { - "line": 356, + "line": 357, "column": 16 }, "end": { - "line": 356, + "line": 357, "column": 23 }, "identifierName": "convert" @@ -39968,15 +40193,15 @@ "arguments": [ { "type": "Identifier", - "start": 14382, - "end": 14402, + "start": 14419, + "end": 14439, "loc": { "start": { - "line": 356, + "line": 357, "column": 24 }, "end": { - "line": 356, + "line": 357, "column": 44 }, "identifierName": "parseSTLIntoXKTModel" @@ -39985,30 +40210,30 @@ }, { "type": "ObjectExpression", - "start": 14404, - "end": 14542, + "start": 14441, + "end": 14579, "loc": { "start": { - "line": 356, + "line": 357, "column": 46 }, "end": { - "line": 361, + "line": 362, "column": 17 } }, "properties": [ { "type": "ObjectProperty", - "start": 14426, - "end": 14442, + "start": 14463, + "end": 14479, "loc": { "start": { - "line": 357, + "line": 358, "column": 20 }, "end": { - "line": 357, + "line": 358, "column": 36 } }, @@ -40017,15 +40242,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14426, - "end": 14430, + "start": 14463, + "end": 14467, "loc": { "start": { - "line": 357, + "line": 358, "column": 20 }, "end": { - "line": 357, + "line": 358, "column": 24 }, "identifierName": "data" @@ -40034,15 +40259,15 @@ }, "value": { "type": "Identifier", - "start": 14432, - "end": 14442, + "start": 14469, + "end": 14479, "loc": { "start": { - "line": 357, + "line": 358, "column": 26 }, "end": { - "line": 357, + "line": 358, "column": 36 }, "identifierName": "sourceData" @@ -40052,15 +40277,15 @@ }, { "type": "ObjectProperty", - "start": 14464, - "end": 14472, + "start": 14501, + "end": 14509, "loc": { "start": { - "line": 358, + "line": 359, "column": 20 }, "end": { - "line": 358, + "line": 359, "column": 28 } }, @@ -40069,15 +40294,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14464, - "end": 14472, + "start": 14501, + "end": 14509, "loc": { "start": { - "line": 358, + "line": 359, "column": 20 }, "end": { - "line": 358, + "line": 359, "column": 28 }, "identifierName": "xktModel" @@ -40086,15 +40311,15 @@ }, "value": { "type": "Identifier", - "start": 14464, - "end": 14472, + "start": 14501, + "end": 14509, "loc": { "start": { - "line": 358, + "line": 359, "column": 20 }, "end": { - "line": 358, + "line": 359, "column": 28 }, "identifierName": "xktModel" @@ -40107,15 +40332,15 @@ }, { "type": "ObjectProperty", - "start": 14494, - "end": 14499, + "start": 14531, + "end": 14536, "loc": { "start": { - "line": 359, + "line": 360, "column": 20 }, "end": { - "line": 359, + "line": 360, "column": 25 } }, @@ -40124,15 +40349,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14494, - "end": 14499, + "start": 14531, + "end": 14536, "loc": { "start": { - "line": 359, + "line": 360, "column": 20 }, "end": { - "line": 359, + "line": 360, "column": 25 }, "identifierName": "stats" @@ -40141,15 +40366,15 @@ }, "value": { "type": "Identifier", - "start": 14494, - "end": 14499, + "start": 14531, + "end": 14536, "loc": { "start": { - "line": 359, + "line": 360, "column": 20 }, "end": { - "line": 359, + "line": 360, "column": 25 }, "identifierName": "stats" @@ -40162,15 +40387,15 @@ }, { "type": "ObjectProperty", - "start": 14521, - "end": 14524, + "start": 14558, + "end": 14561, "loc": { "start": { - "line": 360, + "line": 361, "column": 20 }, "end": { - "line": 360, + "line": 361, "column": 23 } }, @@ -40179,15 +40404,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 14521, - "end": 14524, + "start": 14558, + "end": 14561, "loc": { "start": { - "line": 360, + "line": 361, "column": 20 }, "end": { - "line": 360, + "line": 361, "column": 23 }, "identifierName": "log" @@ -40196,15 +40421,15 @@ }, "value": { "type": "Identifier", - "start": 14521, - "end": 14524, + "start": 14558, + "end": 14561, "loc": { "start": { - "line": 360, + "line": 361, "column": 20 }, "end": { - "line": 360, + "line": 361, "column": 23 }, "identifierName": "log" @@ -40222,15 +40447,15 @@ }, { "type": "BreakStatement", - "start": 14561, - "end": 14567, + "start": 14598, + "end": 14604, "loc": { "start": { - "line": 362, + "line": 363, "column": 16 }, "end": { - "line": 362, + "line": 363, "column": 22 } }, @@ -40239,15 +40464,15 @@ ], "test": { "type": "StringLiteral", - "start": 14351, - "end": 14356, + "start": 14388, + "end": 14393, "loc": { "start": { - "line": 355, + "line": 356, "column": 17 }, "end": { - "line": 355, + "line": 356, "column": 22 } }, @@ -40260,58 +40485,58 @@ }, { "type": "SwitchCase", - "start": 14581, - "end": 14684, + "start": 14618, + "end": 14721, "loc": { "start": { - "line": 364, + "line": 365, "column": 12 }, "end": { - "line": 366, + "line": 367, "column": 23 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 14606, - "end": 14660, + "start": 14643, + "end": 14697, "loc": { "start": { - "line": 365, + "line": 366, "column": 16 }, "end": { - "line": 365, + "line": 366, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 14606, - "end": 14659, + "start": 14643, + "end": 14696, "loc": { "start": { - "line": 365, + "line": 366, "column": 16 }, "end": { - "line": 365, + "line": 366, "column": 69 } }, "callee": { "type": "Identifier", - "start": 14606, - "end": 14612, + "start": 14643, + "end": 14649, "loc": { "start": { - "line": 365, + "line": 366, "column": 16 }, "end": { - "line": 365, + "line": 366, "column": 22 }, "identifierName": "reject" @@ -40321,30 +40546,30 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 14613, - "end": 14658, + "start": 14650, + "end": 14695, "loc": { "start": { - "line": 365, + "line": 366, "column": 23 }, "end": { - "line": 365, + "line": 366, "column": 68 } }, "expressions": [ { "type": "Identifier", - "start": 14651, - "end": 14654, + "start": 14688, + "end": 14691, "loc": { "start": { - "line": 365, + "line": 366, "column": 61 }, "end": { - "line": 365, + "line": 366, "column": 64 }, "identifierName": "ext" @@ -40355,15 +40580,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 14614, - "end": 14649, + "start": 14651, + "end": 14686, "loc": { "start": { - "line": 365, + "line": 366, "column": 24 }, "end": { - "line": 365, + "line": 366, "column": 59 } }, @@ -40375,15 +40600,15 @@ }, { "type": "TemplateElement", - "start": 14655, - "end": 14657, + "start": 14692, + "end": 14694, "loc": { "start": { - "line": 365, + "line": 366, "column": 65 }, "end": { - "line": 365, + "line": 366, "column": 67 } }, @@ -40400,15 +40625,15 @@ }, { "type": "ReturnStatement", - "start": 14677, - "end": 14684, + "start": 14714, + "end": 14721, "loc": { "start": { - "line": 366, + "line": 367, "column": 16 }, "end": { - "line": 366, + "line": 367, "column": 23 } }, @@ -40421,29 +40646,29 @@ }, { "type": "FunctionDeclaration", - "start": 14704, - "end": 18373, + "start": 14741, + "end": 18420, "loc": { "start": { - "line": 369, + "line": 370, "column": 8 }, "end": { - "line": 447, + "line": 448, "column": 9 } }, "id": { "type": "Identifier", - "start": 14713, - "end": 14720, + "start": 14750, + "end": 14757, "loc": { "start": { - "line": 369, + "line": 370, "column": 17 }, "end": { - "line": 369, + "line": 370, "column": 24 }, "identifierName": "convert" @@ -40456,15 +40681,15 @@ "params": [ { "type": "Identifier", - "start": 14721, - "end": 14727, + "start": 14758, + "end": 14764, "loc": { "start": { - "line": 369, + "line": 370, "column": 25 }, "end": { - "line": 369, + "line": 370, "column": 31 }, "identifierName": "parser" @@ -40473,15 +40698,15 @@ }, { "type": "Identifier", - "start": 14729, - "end": 14744, + "start": 14766, + "end": 14781, "loc": { "start": { - "line": 369, + "line": 370, "column": 33 }, "end": { - "line": 369, + "line": 370, "column": 48 }, "identifierName": "converterParams" @@ -40491,86 +40716,86 @@ ], "body": { "type": "BlockStatement", - "start": 14746, - "end": 18373, + "start": 14783, + "end": 18420, "loc": { "start": { - "line": 369, + "line": 370, "column": 50 }, "end": { - "line": 447, + "line": 448, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 14761, - "end": 18363, + "start": 14798, + "end": 18410, "loc": { "start": { - "line": 371, + "line": 372, "column": 12 }, "end": { - "line": 446, + "line": 447, "column": 15 } }, "expression": { "type": "CallExpression", - "start": 14761, - "end": 18362, + "start": 14798, + "end": 18409, "loc": { "start": { - "line": 371, + "line": 372, "column": 12 }, "end": { - "line": 446, + "line": 447, "column": 14 } }, "callee": { "type": "MemberExpression", - "start": 14761, - "end": 14789, + "start": 14798, + "end": 14826, "loc": { "start": { - "line": 371, + "line": 372, "column": 12 }, "end": { - "line": 371, + "line": 372, "column": 40 } }, "object": { "type": "CallExpression", - "start": 14761, - "end": 14784, + "start": 14798, + "end": 14821, "loc": { "start": { - "line": 371, + "line": 372, "column": 12 }, "end": { - "line": 371, + "line": 372, "column": 35 } }, "callee": { "type": "Identifier", - "start": 14761, - "end": 14767, + "start": 14798, + "end": 14804, "loc": { "start": { - "line": 371, + "line": 372, "column": 12 }, "end": { - "line": 371, + "line": 372, "column": 18 }, "identifierName": "parser" @@ -40580,15 +40805,15 @@ "arguments": [ { "type": "Identifier", - "start": 14768, - "end": 14783, + "start": 14805, + "end": 14820, "loc": { "start": { - "line": 371, + "line": 372, "column": 19 }, "end": { - "line": 371, + "line": 372, "column": 34 }, "identifierName": "converterParams" @@ -40599,15 +40824,15 @@ }, "property": { "type": "Identifier", - "start": 14785, - "end": 14789, + "start": 14822, + "end": 14826, "loc": { "start": { - "line": 371, + "line": 372, "column": 36 }, "end": { - "line": 371, + "line": 372, "column": 40 }, "identifierName": "then" @@ -40619,15 +40844,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 14790, - "end": 18306, + "start": 14827, + "end": 18353, "loc": { "start": { - "line": 371, + "line": 372, "column": 41 }, "end": { - "line": 444, + "line": 445, "column": 13 } }, @@ -40638,44 +40863,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 14796, - "end": 18306, + "start": 14833, + "end": 18353, "loc": { "start": { - "line": 371, + "line": 372, "column": 47 }, "end": { - "line": 444, + "line": 445, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 14815, - "end": 14973, + "start": 14852, + "end": 15010, "loc": { "start": { - "line": 373, + "line": 374, "column": 16 }, "end": { - "line": 376, + "line": 377, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 14819, - "end": 14833, + "start": 14856, + "end": 14870, "loc": { "start": { - "line": 373, + "line": 374, "column": 20 }, "end": { - "line": 373, + "line": 374, "column": 34 } }, @@ -40683,15 +40908,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 14820, - "end": 14833, + "start": 14857, + "end": 14870, "loc": { "start": { - "line": 373, + "line": 374, "column": 21 }, "end": { - "line": 373, + "line": 374, "column": 34 }, "identifierName": "metaModelJSON" @@ -40704,58 +40929,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 14835, - "end": 14973, + "start": 14872, + "end": 15010, "loc": { "start": { - "line": 373, + "line": 374, "column": 36 }, "end": { - "line": 376, + "line": 377, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 14857, - "end": 14898, + "start": 14894, + "end": 14935, "loc": { "start": { - "line": 374, + "line": 375, "column": 20 }, "end": { - "line": 374, + "line": 375, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 14857, - "end": 14897, + "start": 14894, + "end": 14934, "loc": { "start": { - "line": 374, + "line": 375, "column": 20 }, "end": { - "line": 374, + "line": 375, "column": 60 } }, "callee": { "type": "Identifier", - "start": 14857, - "end": 14860, + "start": 14894, + "end": 14897, "loc": { "start": { - "line": 374, + "line": 375, "column": 20 }, "end": { - "line": 374, + "line": 375, "column": 23 }, "identifierName": "log" @@ -40765,15 +40990,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14861, - "end": 14896, + "start": 14898, + "end": 14933, "loc": { "start": { - "line": 374, + "line": 375, "column": 24 }, "end": { - "line": 374, + "line": 375, "column": 59 } }, @@ -40788,57 +41013,57 @@ }, { "type": "ExpressionStatement", - "start": 14919, - "end": 14955, + "start": 14956, + "end": 14992, "loc": { "start": { - "line": 375, + "line": 376, "column": 20 }, "end": { - "line": 375, + "line": 376, "column": 56 } }, "expression": { "type": "CallExpression", - "start": 14919, - "end": 14954, + "start": 14956, + "end": 14991, "loc": { "start": { - "line": 375, + "line": 376, "column": 20 }, "end": { - "line": 375, + "line": 376, "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 14919, - "end": 14952, + "start": 14956, + "end": 14989, "loc": { "start": { - "line": 375, + "line": 376, "column": 20 }, "end": { - "line": 375, + "line": 376, "column": 53 } }, "object": { "type": "Identifier", - "start": 14919, - "end": 14927, + "start": 14956, + "end": 14964, "loc": { "start": { - "line": 375, + "line": 376, "column": 20 }, "end": { - "line": 375, + "line": 376, "column": 28 }, "identifierName": "xktModel" @@ -40847,15 +41072,15 @@ }, "property": { "type": "Identifier", - "start": 14928, - "end": 14952, + "start": 14965, + "end": 14989, "loc": { "start": { - "line": 375, + "line": 376, "column": 29 }, "end": { - "line": 375, + "line": 376, "column": 53 }, "identifierName": "createDefaultMetaObjects" @@ -40874,43 +41099,43 @@ }, { "type": "ExpressionStatement", - "start": 14991, - "end": 15045, + "start": 15028, + "end": 15082, "loc": { "start": { - "line": 378, + "line": 379, "column": 16 }, "end": { - "line": 378, + "line": 379, "column": 70 } }, "expression": { "type": "CallExpression", - "start": 14991, - "end": 15044, + "start": 15028, + "end": 15081, "loc": { "start": { - "line": 378, + "line": 379, "column": 16 }, "end": { - "line": 378, + "line": 379, "column": 69 } }, "callee": { "type": "Identifier", - "start": 14991, - "end": 14994, + "start": 15028, + "end": 15031, "loc": { "start": { - "line": 378, + "line": 379, "column": 16 }, "end": { - "line": 378, + "line": 379, "column": 19 }, "identifierName": "log" @@ -40920,15 +41145,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 14995, - "end": 15043, + "start": 15032, + "end": 15080, "loc": { "start": { - "line": 378, + "line": 379, "column": 20 }, "end": { - "line": 378, + "line": 379, "column": 68 } }, @@ -40943,85 +41168,85 @@ }, { "type": "ExpressionStatement", - "start": 15063, - "end": 18292, + "start": 15100, + "end": 18339, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 443, + "line": 444, "column": 19 } }, "expression": { "type": "CallExpression", - "start": 15063, - "end": 18291, + "start": 15100, + "end": 18338, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 443, + "line": 444, "column": 18 } }, "callee": { "type": "MemberExpression", - "start": 15063, - "end": 15087, + "start": 15100, + "end": 15124, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 380, + "line": 381, "column": 40 } }, "object": { "type": "CallExpression", - "start": 15063, - "end": 15082, + "start": 15100, + "end": 15119, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 380, + "line": 381, "column": 35 } }, "callee": { "type": "MemberExpression", - "start": 15063, - "end": 15080, + "start": 15100, + "end": 15117, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 380, + "line": 381, "column": 33 } }, "object": { "type": "Identifier", - "start": 15063, - "end": 15071, + "start": 15100, + "end": 15108, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 380, + "line": 381, "column": 24 }, "identifierName": "xktModel" @@ -41030,15 +41255,15 @@ }, "property": { "type": "Identifier", - "start": 15072, - "end": 15080, + "start": 15109, + "end": 15117, "loc": { "start": { - "line": 380, + "line": 381, "column": 25 }, "end": { - "line": 380, + "line": 381, "column": 33 }, "identifierName": "finalize" @@ -41051,15 +41276,15 @@ }, "property": { "type": "Identifier", - "start": 15083, - "end": 15087, + "start": 15120, + "end": 15124, "loc": { "start": { - "line": 380, + "line": 381, "column": 36 }, "end": { - "line": 380, + "line": 381, "column": 40 }, "identifierName": "then" @@ -41071,15 +41296,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 15088, - "end": 18290, + "start": 15125, + "end": 18337, "loc": { "start": { - "line": 380, + "line": 381, "column": 41 }, "end": { - "line": 443, + "line": 444, "column": 17 } }, @@ -41090,58 +41315,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 15094, - "end": 18290, + "start": 15131, + "end": 18337, "loc": { "start": { - "line": 380, + "line": 381, "column": 47 }, "end": { - "line": 443, + "line": 444, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 15117, - "end": 15170, + "start": 15154, + "end": 15207, "loc": { "start": { - "line": 382, + "line": 383, "column": 20 }, "end": { - "line": 382, + "line": 383, "column": 73 } }, "expression": { "type": "CallExpression", - "start": 15117, - "end": 15169, + "start": 15154, + "end": 15206, "loc": { "start": { - "line": 382, + "line": 383, "column": 20 }, "end": { - "line": 382, + "line": 383, "column": 72 } }, "callee": { "type": "Identifier", - "start": 15117, - "end": 15120, + "start": 15154, + "end": 15157, "loc": { "start": { - "line": 382, + "line": 383, "column": 20 }, "end": { - "line": 382, + "line": 383, "column": 23 }, "identifierName": "log" @@ -41151,15 +41376,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 15121, - "end": 15168, + "start": 15158, + "end": 15205, "loc": { "start": { - "line": 382, + "line": 383, "column": 24 }, "end": { - "line": 382, + "line": 383, "column": 71 } }, @@ -41174,44 +41399,44 @@ }, { "type": "VariableDeclaration", - "start": 15192, - "end": 15287, + "start": 15229, + "end": 15323, "loc": { "start": { - "line": 384, + "line": 385, "column": 20 }, "end": { - "line": 384, - "column": 115 + "line": 385, + "column": 114 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15198, - "end": 15286, + "start": 15235, + "end": 15322, "loc": { "start": { - "line": 384, + "line": 385, "column": 26 }, "end": { - "line": 384, - "column": 114 + "line": 385, + "column": 113 } }, "id": { "type": "Identifier", - "start": 15198, - "end": 15212, + "start": 15235, + "end": 15249, "loc": { "start": { - "line": 384, + "line": 385, "column": 26 }, "end": { - "line": 384, + "line": 385, "column": 40 }, "identifierName": "xktArrayBuffer" @@ -41220,29 +41445,29 @@ }, "init": { "type": "CallExpression", - "start": 15215, - "end": 15286, + "start": 15252, + "end": 15322, "loc": { "start": { - "line": 384, + "line": 385, "column": 43 }, "end": { - "line": 384, - "column": 114 + "line": 385, + "column": 113 } }, "callee": { "type": "Identifier", - "start": 15215, - "end": 15241, + "start": 15252, + "end": 15278, "loc": { "start": { - "line": 384, + "line": 385, "column": 43 }, "end": { - "line": 384, + "line": 385, "column": 69 }, "identifierName": "writeXKTModelToArrayBuffer" @@ -41252,15 +41477,15 @@ "arguments": [ { "type": "Identifier", - "start": 15242, - "end": 15250, + "start": 15279, + "end": 15287, "loc": { "start": { - "line": 384, + "line": 385, "column": 70 }, "end": { - "line": 384, + "line": 385, "column": 78 }, "identifierName": "xktModel" @@ -41269,15 +41494,15 @@ }, { "type": "Identifier", - "start": 15252, - "end": 15265, + "start": 15289, + "end": 15302, "loc": { "start": { - "line": 384, + "line": 385, "column": 80 }, "end": { - "line": 384, + "line": 385, "column": 93 }, "identifierName": "metaModelJSON" @@ -41286,15 +41511,15 @@ }, { "type": "Identifier", - "start": 15267, - "end": 15272, + "start": 15304, + "end": 15309, "loc": { "start": { - "line": 384, + "line": 385, "column": 95 }, "end": { - "line": 384, + "line": 385, "column": 100 }, "identifierName": "stats" @@ -41303,31 +41528,31 @@ }, { "type": "ObjectExpression", - "start": 15274, - "end": 15285, + "start": 15311, + "end": 15321, "loc": { "start": { - "line": 384, + "line": 385, "column": 102 }, "end": { - "line": 384, - "column": 113 + "line": 385, + "column": 112 } }, "properties": [ { "type": "ObjectProperty", - "start": 15275, - "end": 15284, + "start": 15312, + "end": 15320, "loc": { "start": { - "line": 384, + "line": 385, "column": 103 }, "end": { - "line": 384, - "column": 112 + "line": 385, + "column": 111 } }, "method": false, @@ -41335,15 +41560,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 15275, - "end": 15278, + "start": 15312, + "end": 15315, "loc": { "start": { - "line": 384, + "line": 385, "column": 103 }, "end": { - "line": 384, + "line": 385, "column": 106 }, "identifierName": "zip" @@ -41351,20 +41576,21 @@ "name": "zip" }, "value": { - "type": "BooleanLiteral", - "start": 15280, - "end": 15284, + "type": "Identifier", + "start": 15317, + "end": 15320, "loc": { "start": { - "line": 384, + "line": 385, "column": 108 }, "end": { - "line": 384, - "column": 112 - } + "line": 385, + "column": 111 + }, + "identifierName": "zip" }, - "value": true + "name": "zip" } } ] @@ -41377,44 +41603,44 @@ }, { "type": "VariableDeclaration", - "start": 15309, - "end": 15356, + "start": 15345, + "end": 15392, "loc": { "start": { - "line": 386, + "line": 387, "column": 20 }, "end": { - "line": 386, + "line": 387, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15315, - "end": 15355, + "start": 15351, + "end": 15391, "loc": { "start": { - "line": 386, + "line": 387, "column": 26 }, "end": { - "line": 386, + "line": 387, "column": 66 } }, "id": { "type": "Identifier", - "start": 15315, - "end": 15325, + "start": 15351, + "end": 15361, "loc": { "start": { - "line": 386, + "line": 387, "column": 26 }, "end": { - "line": 386, + "line": 387, "column": 36 }, "identifierName": "xktContent" @@ -41423,43 +41649,43 @@ }, "init": { "type": "CallExpression", - "start": 15328, - "end": 15355, + "start": 15364, + "end": 15391, "loc": { "start": { - "line": 386, + "line": 387, "column": 39 }, "end": { - "line": 386, + "line": 387, "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 15328, - "end": 15339, + "start": 15364, + "end": 15375, "loc": { "start": { - "line": 386, + "line": 387, "column": 39 }, "end": { - "line": 386, + "line": 387, "column": 50 } }, "object": { "type": "Identifier", - "start": 15328, - "end": 15334, + "start": 15364, + "end": 15370, "loc": { "start": { - "line": 386, + "line": 387, "column": 39 }, "end": { - "line": 386, + "line": 387, "column": 45 }, "identifierName": "Buffer" @@ -41468,15 +41694,15 @@ }, "property": { "type": "Identifier", - "start": 15335, - "end": 15339, + "start": 15371, + "end": 15375, "loc": { "start": { - "line": 386, + "line": 387, "column": 46 }, "end": { - "line": 386, + "line": 387, "column": 50 }, "identifierName": "from" @@ -41488,15 +41714,15 @@ "arguments": [ { "type": "Identifier", - "start": 15340, - "end": 15354, + "start": 15376, + "end": 15390, "loc": { "start": { - "line": 386, + "line": 387, "column": 51 }, "end": { - "line": 386, + "line": 387, "column": 65 }, "identifierName": "xktArrayBuffer" @@ -41511,44 +41737,44 @@ }, { "type": "VariableDeclaration", - "start": 15378, - "end": 15432, + "start": 15414, + "end": 15468, "loc": { "start": { - "line": 388, + "line": 389, "column": 20 }, "end": { - "line": 388, + "line": 389, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 15384, - "end": 15431, + "start": 15420, + "end": 15467, "loc": { "start": { - "line": 388, + "line": 389, "column": 26 }, "end": { - "line": 388, + "line": 389, "column": 73 } }, "id": { "type": "Identifier", - "start": 15384, - "end": 15403, + "start": 15420, + "end": 15439, "loc": { "start": { - "line": 388, + "line": 389, "column": 26 }, "end": { - "line": 388, + "line": 389, "column": 45 }, "identifierName": "targetFileSizeBytes" @@ -41557,29 +41783,29 @@ }, "init": { "type": "MemberExpression", - "start": 15406, - "end": 15431, + "start": 15442, + "end": 15467, "loc": { "start": { - "line": 388, + "line": 389, "column": 48 }, "end": { - "line": 388, + "line": 389, "column": 73 } }, "object": { "type": "Identifier", - "start": 15406, - "end": 15420, + "start": 15442, + "end": 15456, "loc": { "start": { - "line": 388, + "line": 389, "column": 48 }, "end": { - "line": 388, + "line": 389, "column": 62 }, "identifierName": "xktArrayBuffer" @@ -41588,15 +41814,15 @@ }, "property": { "type": "Identifier", - "start": 15421, - "end": 15431, + "start": 15457, + "end": 15467, "loc": { "start": { - "line": 388, + "line": 389, "column": 63 }, "end": { - "line": 388, + "line": 389, "column": 73 }, "identifierName": "byteLength" @@ -41611,58 +41837,58 @@ }, { "type": "ExpressionStatement", - "start": 15454, - "end": 15493, + "start": 15490, + "end": 15529, "loc": { "start": { - "line": 390, + "line": 391, "column": 20 }, "end": { - "line": 390, + "line": 391, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 15454, - "end": 15492, + "start": 15490, + "end": 15528, "loc": { "start": { - "line": 390, + "line": 391, "column": 20 }, "end": { - "line": 390, + "line": 391, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15454, - "end": 15471, + "start": 15490, + "end": 15507, "loc": { "start": { - "line": 390, + "line": 391, "column": 20 }, "end": { - "line": 390, + "line": 391, "column": 37 } }, "object": { "type": "Identifier", - "start": 15454, - "end": 15459, + "start": 15490, + "end": 15495, "loc": { "start": { - "line": 390, + "line": 391, "column": 20 }, "end": { - "line": 390, + "line": 391, "column": 25 }, "identifierName": "stats" @@ -41671,15 +41897,15 @@ }, "property": { "type": "Identifier", - "start": 15460, - "end": 15471, + "start": 15496, + "end": 15507, "loc": { "start": { - "line": 390, + "line": 391, "column": 26 }, "end": { - "line": 390, + "line": 391, "column": 37 }, "identifierName": "minTileSize" @@ -41690,29 +41916,29 @@ }, "right": { "type": "LogicalExpression", - "start": 15474, - "end": 15492, + "start": 15510, + "end": 15528, "loc": { "start": { - "line": 390, + "line": 391, "column": 40 }, "end": { - "line": 390, + "line": 391, "column": 58 } }, "left": { "type": "Identifier", - "start": 15474, - "end": 15485, + "start": 15510, + "end": 15521, "loc": { "start": { - "line": 390, + "line": 391, "column": 40 }, "end": { - "line": 390, + "line": 391, "column": 51 }, "identifierName": "minTileSize" @@ -41722,15 +41948,15 @@ "operator": "||", "right": { "type": "NumericLiteral", - "start": 15489, - "end": 15492, + "start": 15525, + "end": 15528, "loc": { "start": { - "line": 390, + "line": 391, "column": 55 }, "end": { - "line": 390, + "line": 391, "column": 58 } }, @@ -41745,216 +41971,8 @@ }, { "type": "ExpressionStatement", - "start": 15514, - "end": 15573, - "loc": { - "start": { - "line": 391, - "column": 20 - }, - "end": { - "line": 391, - "column": 79 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 15514, - "end": 15572, - "loc": { - "start": { - "line": 391, - "column": 20 - }, - "end": { - "line": 391, - "column": 78 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 15514, - "end": 15530, - "loc": { - "start": { - "line": 391, - "column": 20 - }, - "end": { - "line": 391, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 15514, - "end": 15519, - "loc": { - "start": { - "line": 391, - "column": 20 - }, - "end": { - "line": 391, - "column": 25 - }, - "identifierName": "stats" - }, - "name": "stats" - }, - "property": { - "type": "Identifier", - "start": 15520, - "end": 15530, - "loc": { - "start": { - "line": 391, - "column": 26 - }, - "end": { - "line": 391, - "column": 36 - }, - "identifierName": "sourceSize" - }, - "name": "sourceSize" - }, - "computed": false - }, - "right": { - "type": "CallExpression", - "start": 15533, - "end": 15572, - "loc": { - "start": { - "line": 391, - "column": 39 - }, - "end": { - "line": 391, - "column": 78 - } - }, - "callee": { - "type": "MemberExpression", - "start": 15533, - "end": 15569, - "loc": { - "start": { - "line": 391, - "column": 39 - }, - "end": { - "line": 391, - "column": 75 - } - }, - "object": { - "type": "BinaryExpression", - "start": 15534, - "end": 15560, - "loc": { - "start": { - "line": 391, - "column": 40 - }, - "end": { - "line": 391, - "column": 66 - } - }, - "left": { - "type": "Identifier", - "start": 15534, - "end": 15553, - "loc": { - "start": { - "line": 391, - "column": 40 - }, - "end": { - "line": 391, - "column": 59 - }, - "identifierName": "sourceFileSizeBytes" - }, - "name": "sourceFileSizeBytes" - }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 15556, - "end": 15560, - "loc": { - "start": { - "line": 391, - "column": 62 - }, - "end": { - "line": 391, - "column": 66 - } - }, - "extra": { - "rawValue": 1000, - "raw": "1000" - }, - "value": 1000 - }, - "extra": { - "parenthesized": true, - "parenStart": 15533 - } - }, - "property": { - "type": "Identifier", - "start": 15562, - "end": 15569, - "loc": { - "start": { - "line": 391, - "column": 68 - }, - "end": { - "line": 391, - "column": 75 - }, - "identifierName": "toFixed" - }, - "name": "toFixed" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 15570, - "end": 15571, - "loc": { - "start": { - "line": 391, - "column": 76 - }, - "end": { - "line": 391, - "column": 77 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - ] - } - } - }, - { - "type": "ExpressionStatement", - "start": 15594, - "end": 15650, + "start": 15550, + "end": 15609, "loc": { "start": { "line": 392, @@ -41962,13 +41980,13 @@ }, "end": { "line": 392, - "column": 76 + "column": 79 } }, "expression": { "type": "AssignmentExpression", - "start": 15594, - "end": 15649, + "start": 15550, + "end": 15608, "loc": { "start": { "line": 392, @@ -41976,14 +41994,14 @@ }, "end": { "line": 392, - "column": 75 + "column": 78 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15594, - "end": 15607, + "start": 15550, + "end": 15566, "loc": { "start": { "line": 392, @@ -41991,13 +42009,13 @@ }, "end": { "line": 392, - "column": 33 + "column": 36 } }, "object": { "type": "Identifier", - "start": 15594, - "end": 15599, + "start": 15550, + "end": 15555, "loc": { "start": { "line": 392, @@ -42013,8 +42031,8 @@ }, "property": { "type": "Identifier", - "start": 15600, - "end": 15607, + "start": 15556, + "end": 15566, "loc": { "start": { "line": 392, @@ -42022,86 +42040,86 @@ }, "end": { "line": 392, - "column": 33 + "column": 36 }, - "identifierName": "xktSize" + "identifierName": "sourceSize" }, - "name": "xktSize" + "name": "sourceSize" }, "computed": false }, "right": { "type": "CallExpression", - "start": 15610, - "end": 15649, + "start": 15569, + "end": 15608, "loc": { "start": { "line": 392, - "column": 36 + "column": 39 }, "end": { "line": 392, - "column": 75 + "column": 78 } }, "callee": { "type": "MemberExpression", - "start": 15610, - "end": 15646, + "start": 15569, + "end": 15605, "loc": { "start": { "line": 392, - "column": 36 + "column": 39 }, "end": { "line": 392, - "column": 72 + "column": 75 } }, "object": { "type": "BinaryExpression", - "start": 15611, - "end": 15637, + "start": 15570, + "end": 15596, "loc": { "start": { "line": 392, - "column": 37 + "column": 40 }, "end": { "line": 392, - "column": 63 + "column": 66 } }, "left": { "type": "Identifier", - "start": 15611, - "end": 15630, + "start": 15570, + "end": 15589, "loc": { "start": { "line": 392, - "column": 37 + "column": 40 }, "end": { "line": 392, - "column": 56 + "column": 59 }, - "identifierName": "targetFileSizeBytes" + "identifierName": "sourceFileSizeBytes" }, - "name": "targetFileSizeBytes" + "name": "sourceFileSizeBytes" }, "operator": "/", "right": { "type": "NumericLiteral", - "start": 15633, - "end": 15637, + "start": 15592, + "end": 15596, "loc": { "start": { "line": 392, - "column": 59 + "column": 62 }, "end": { "line": 392, - "column": 63 + "column": 66 } }, "extra": { @@ -42112,21 +42130,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 15610 + "parenStart": 15569 } }, "property": { "type": "Identifier", - "start": 15639, - "end": 15646, + "start": 15598, + "end": 15605, "loc": { "start": { "line": 392, - "column": 65 + "column": 68 }, "end": { "line": 392, - "column": 72 + "column": 75 }, "identifierName": "toFixed" }, @@ -42137,16 +42155,16 @@ "arguments": [ { "type": "NumericLiteral", - "start": 15647, - "end": 15648, + "start": 15606, + "end": 15607, "loc": { "start": { "line": 392, - "column": 73 + "column": 76 }, "end": { "line": 392, - "column": 74 + "column": 77 } }, "extra": { @@ -42161,8 +42179,8 @@ }, { "type": "ExpressionStatement", - "start": 15671, - "end": 15710, + "start": 15630, + "end": 15686, "loc": { "start": { "line": 393, @@ -42170,13 +42188,13 @@ }, "end": { "line": 393, - "column": 59 + "column": 76 } }, "expression": { "type": "AssignmentExpression", - "start": 15671, - "end": 15709, + "start": 15630, + "end": 15685, "loc": { "start": { "line": 393, @@ -42184,14 +42202,14 @@ }, "end": { "line": 393, - "column": 58 + "column": 75 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15671, - "end": 15687, + "start": 15630, + "end": 15643, "loc": { "start": { "line": 393, @@ -42199,13 +42217,13 @@ }, "end": { "line": 393, - "column": 36 + "column": 33 } }, "object": { "type": "Identifier", - "start": 15671, - "end": 15676, + "start": 15630, + "end": 15635, "loc": { "start": { "line": 393, @@ -42221,8 +42239,8 @@ }, "property": { "type": "Identifier", - "start": 15677, - "end": 15687, + "start": 15636, + "end": 15643, "loc": { "start": { "line": 393, @@ -42230,120 +42248,380 @@ }, "end": { "line": 393, - "column": 36 + "column": 33 }, - "identifierName": "xktVersion" + "identifierName": "xktSize" }, - "name": "xktVersion" + "name": "xktSize" }, "computed": false }, "right": { - "type": "MemberExpression", - "start": 15690, - "end": 15709, + "type": "CallExpression", + "start": 15646, + "end": 15685, "loc": { "start": { "line": 393, - "column": 39 + "column": 36 }, "end": { "line": 393, - "column": 58 + "column": 75 } }, - "object": { - "type": "Identifier", - "start": 15690, - "end": 15698, + "callee": { + "type": "MemberExpression", + "start": 15646, + "end": 15682, "loc": { "start": { "line": 393, - "column": 39 + "column": 36 }, "end": { "line": 393, - "column": 47 + "column": 72 + } + }, + "object": { + "type": "BinaryExpression", + "start": 15647, + "end": 15673, + "loc": { + "start": { + "line": 393, + "column": 37 + }, + "end": { + "line": 393, + "column": 63 + } }, - "identifierName": "XKT_INFO" + "left": { + "type": "Identifier", + "start": 15647, + "end": 15666, + "loc": { + "start": { + "line": 393, + "column": 37 + }, + "end": { + "line": 393, + "column": 56 + }, + "identifierName": "targetFileSizeBytes" + }, + "name": "targetFileSizeBytes" + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 15669, + "end": 15673, + "loc": { + "start": { + "line": 393, + "column": 59 + }, + "end": { + "line": 393, + "column": 63 + } + }, + "extra": { + "rawValue": 1000, + "raw": "1000" + }, + "value": 1000 + }, + "extra": { + "parenthesized": true, + "parenStart": 15646 + } }, - "name": "XKT_INFO" + "property": { + "type": "Identifier", + "start": 15675, + "end": 15682, + "loc": { + "start": { + "line": 393, + "column": 65 + }, + "end": { + "line": 393, + "column": 72 + }, + "identifierName": "toFixed" + }, + "name": "toFixed" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 15683, + "end": 15684, + "loc": { + "start": { + "line": 393, + "column": 73 + }, + "end": { + "line": 393, + "column": 74 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 15707, + "end": 15757, + "loc": { + "start": { + "line": 394, + "column": 20 + }, + "end": { + "line": 394, + "column": 70 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 15707, + "end": 15756, + "loc": { + "start": { + "line": 394, + "column": 20 + }, + "end": { + "line": 394, + "column": 69 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 15707, + "end": 15723, + "loc": { + "start": { + "line": 394, + "column": 20 + }, + "end": { + "line": 394, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 15707, + "end": 15712, + "loc": { + "start": { + "line": 394, + "column": 20 + }, + "end": { + "line": 394, + "column": 25 + }, + "identifierName": "stats" + }, + "name": "stats" }, "property": { "type": "Identifier", - "start": 15699, - "end": 15709, + "start": 15713, + "end": 15723, "loc": { "start": { - "line": 393, - "column": 48 + "line": 394, + "column": 26 }, "end": { - "line": 393, - "column": 58 + "line": 394, + "column": 36 }, "identifierName": "xktVersion" }, "name": "xktVersion" }, "computed": false + }, + "right": { + "type": "ConditionalExpression", + "start": 15726, + "end": 15756, + "loc": { + "start": { + "line": 394, + "column": 39 + }, + "end": { + "line": 394, + "column": 69 + } + }, + "test": { + "type": "Identifier", + "start": 15726, + "end": 15729, + "loc": { + "start": { + "line": 394, + "column": 39 + }, + "end": { + "line": 394, + "column": 42 + }, + "identifierName": "zip" + }, + "name": "zip" + }, + "consequent": { + "type": "NumericLiteral", + "start": 15732, + "end": 15734, + "loc": { + "start": { + "line": 394, + "column": 45 + }, + "end": { + "line": 394, + "column": 47 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 + }, + "alternate": { + "type": "MemberExpression", + "start": 15737, + "end": 15756, + "loc": { + "start": { + "line": 394, + "column": 50 + }, + "end": { + "line": 394, + "column": 69 + } + }, + "object": { + "type": "Identifier", + "start": 15737, + "end": 15745, + "loc": { + "start": { + "line": 394, + "column": 50 + }, + "end": { + "line": 394, + "column": 58 + }, + "identifierName": "XKT_INFO" + }, + "name": "XKT_INFO" + }, + "property": { + "type": "Identifier", + "start": 15746, + "end": 15756, + "loc": { + "start": { + "line": 394, + "column": 59 + }, + "end": { + "line": 394, + "column": 69 + }, + "identifierName": "xktVersion" + }, + "name": "xktVersion" + }, + "computed": false + } } } }, { "type": "ExpressionStatement", - "start": 15731, - "end": 15811, + "start": 15778, + "end": 15858, "loc": { "start": { - "line": 394, + "line": 395, "column": 20 }, "end": { - "line": 394, + "line": 395, "column": 100 } }, "expression": { "type": "AssignmentExpression", - "start": 15731, - "end": 15810, + "start": 15778, + "end": 15857, "loc": { "start": { - "line": 394, + "line": 395, "column": 20 }, "end": { - "line": 394, + "line": 395, "column": 99 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15731, - "end": 15753, + "start": 15778, + "end": 15800, "loc": { "start": { - "line": 394, + "line": 395, "column": 20 }, "end": { - "line": 394, + "line": 395, "column": 42 } }, "object": { "type": "Identifier", - "start": 15731, - "end": 15736, + "start": 15778, + "end": 15783, "loc": { "start": { - "line": 394, + "line": 395, "column": 20 }, "end": { - "line": 394, + "line": 395, "column": 25 }, "identifierName": "stats" @@ -42352,15 +42630,15 @@ }, "property": { "type": "Identifier", - "start": 15737, - "end": 15753, + "start": 15784, + "end": 15800, "loc": { "start": { - "line": 394, + "line": 395, "column": 26 }, "end": { - "line": 394, + "line": 395, "column": 42 }, "identifierName": "compressionRatio" @@ -42371,57 +42649,57 @@ }, "right": { "type": "CallExpression", - "start": 15756, - "end": 15810, + "start": 15803, + "end": 15857, "loc": { "start": { - "line": 394, + "line": 395, "column": 45 }, "end": { - "line": 394, + "line": 395, "column": 99 } }, "callee": { "type": "MemberExpression", - "start": 15756, - "end": 15807, + "start": 15803, + "end": 15854, "loc": { "start": { - "line": 394, + "line": 395, "column": 45 }, "end": { - "line": 394, + "line": 395, "column": 96 } }, "object": { "type": "BinaryExpression", - "start": 15757, - "end": 15798, + "start": 15804, + "end": 15845, "loc": { "start": { - "line": 394, + "line": 395, "column": 46 }, "end": { - "line": 394, + "line": 395, "column": 87 } }, "left": { "type": "Identifier", - "start": 15757, - "end": 15776, + "start": 15804, + "end": 15823, "loc": { "start": { - "line": 394, + "line": 395, "column": 46 }, "end": { - "line": 394, + "line": 395, "column": 65 }, "identifierName": "sourceFileSizeBytes" @@ -42431,15 +42709,15 @@ "operator": "/", "right": { "type": "Identifier", - "start": 15779, - "end": 15798, + "start": 15826, + "end": 15845, "loc": { "start": { - "line": 394, + "line": 395, "column": 68 }, "end": { - "line": 394, + "line": 395, "column": 87 }, "identifierName": "targetFileSizeBytes" @@ -42448,20 +42726,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 15756 + "parenStart": 15803 } }, "property": { "type": "Identifier", - "start": 15800, - "end": 15807, + "start": 15847, + "end": 15854, "loc": { "start": { - "line": 394, + "line": 395, "column": 89 }, "end": { - "line": 394, + "line": 395, "column": 96 }, "identifierName": "toFixed" @@ -42473,15 +42751,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 15808, - "end": 15809, + "start": 15855, + "end": 15856, "loc": { "start": { - "line": 394, + "line": 395, "column": 97 }, "end": { - "line": 394, + "line": 395, "column": 98 } }, @@ -42497,58 +42775,58 @@ }, { "type": "ExpressionStatement", - "start": 15832, - "end": 15902, + "start": 15879, + "end": 15949, "loc": { "start": { - "line": 395, + "line": 396, "column": 20 }, "end": { - "line": 395, + "line": 396, "column": 90 } }, "expression": { "type": "AssignmentExpression", - "start": 15832, - "end": 15901, + "start": 15879, + "end": 15948, "loc": { "start": { - "line": 395, + "line": 396, "column": 20 }, "end": { - "line": 395, + "line": 396, "column": 89 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15832, - "end": 15852, + "start": 15879, + "end": 15899, "loc": { "start": { - "line": 395, + "line": 396, "column": 20 }, "end": { - "line": 395, + "line": 396, "column": 40 } }, "object": { "type": "Identifier", - "start": 15832, - "end": 15837, + "start": 15879, + "end": 15884, "loc": { "start": { - "line": 395, + "line": 396, "column": 20 }, "end": { - "line": 395, + "line": 396, "column": 25 }, "identifierName": "stats" @@ -42557,15 +42835,15 @@ }, "property": { "type": "Identifier", - "start": 15838, - "end": 15852, + "start": 15885, + "end": 15899, "loc": { "start": { - "line": 395, + "line": 396, "column": 26 }, "end": { - "line": 395, + "line": 396, "column": 40 }, "identifierName": "conversionTime" @@ -42576,85 +42854,85 @@ }, "right": { "type": "CallExpression", - "start": 15855, - "end": 15901, + "start": 15902, + "end": 15948, "loc": { "start": { - "line": 395, + "line": 396, "column": 43 }, "end": { - "line": 395, + "line": 396, "column": 89 } }, "callee": { "type": "MemberExpression", - "start": 15855, - "end": 15898, + "start": 15902, + "end": 15945, "loc": { "start": { - "line": 395, + "line": 396, "column": 43 }, "end": { - "line": 395, + "line": 396, "column": 86 } }, "object": { "type": "BinaryExpression", - "start": 15856, - "end": 15889, + "start": 15903, + "end": 15936, "loc": { "start": { - "line": 395, + "line": 396, "column": 44 }, "end": { - "line": 395, + "line": 396, "column": 77 } }, "left": { "type": "BinaryExpression", - "start": 15857, - "end": 15879, + "start": 15904, + "end": 15926, "loc": { "start": { - "line": 395, + "line": 396, "column": 45 }, "end": { - "line": 395, + "line": 396, "column": 67 } }, "left": { "type": "NewExpression", - "start": 15857, - "end": 15867, + "start": 15904, + "end": 15914, "loc": { "start": { - "line": 395, + "line": 396, "column": 45 }, "end": { - "line": 395, + "line": 396, "column": 55 } }, "callee": { "type": "Identifier", - "start": 15861, - "end": 15865, + "start": 15908, + "end": 15912, "loc": { "start": { - "line": 395, + "line": 396, "column": 49 }, "end": { - "line": 395, + "line": 396, "column": 53 }, "identifierName": "Date" @@ -42666,15 +42944,15 @@ "operator": "-", "right": { "type": "Identifier", - "start": 15870, - "end": 15879, + "start": 15917, + "end": 15926, "loc": { "start": { - "line": 395, + "line": 396, "column": 58 }, "end": { - "line": 395, + "line": 396, "column": 67 }, "identifierName": "startTime" @@ -42683,21 +42961,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 15856 + "parenStart": 15903 } }, "operator": "/", "right": { "type": "NumericLiteral", - "start": 15883, - "end": 15889, + "start": 15930, + "end": 15936, "loc": { "start": { - "line": 395, + "line": 396, "column": 71 }, "end": { - "line": 395, + "line": 396, "column": 77 } }, @@ -42709,20 +42987,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 15855 + "parenStart": 15902 } }, "property": { "type": "Identifier", - "start": 15891, - "end": 15898, + "start": 15938, + "end": 15945, "loc": { "start": { - "line": 395, + "line": 396, "column": 79 }, "end": { - "line": 395, + "line": 396, "column": 86 }, "identifierName": "toFixed" @@ -42734,15 +43012,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 15899, - "end": 15900, + "start": 15946, + "end": 15947, "loc": { "start": { - "line": 395, + "line": 396, "column": 87 }, "end": { - "line": 395, + "line": 396, "column": 88 } }, @@ -42758,58 +43036,58 @@ }, { "type": "ExpressionStatement", - "start": 15923, - "end": 15950, + "start": 15970, + "end": 15997, "loc": { "start": { - "line": 396, + "line": 397, "column": 20 }, "end": { - "line": 396, + "line": 397, "column": 47 } }, "expression": { "type": "AssignmentExpression", - "start": 15923, - "end": 15949, + "start": 15970, + "end": 15996, "loc": { "start": { - "line": 396, + "line": 397, "column": 20 }, "end": { - "line": 396, + "line": 397, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 15923, - "end": 15933, + "start": 15970, + "end": 15980, "loc": { "start": { - "line": 396, + "line": 397, "column": 20 }, "end": { - "line": 396, + "line": 397, "column": 30 } }, "object": { "type": "Identifier", - "start": 15923, - "end": 15928, + "start": 15970, + "end": 15975, "loc": { "start": { - "line": 396, + "line": 397, "column": 20 }, "end": { - "line": 396, + "line": 397, "column": 25 }, "identifierName": "stats" @@ -42818,15 +43096,15 @@ }, "property": { "type": "Identifier", - "start": 15929, - "end": 15933, + "start": 15976, + "end": 15980, "loc": { "start": { - "line": 396, + "line": 397, "column": 26 }, "end": { - "line": 396, + "line": 397, "column": 30 }, "identifierName": "aabb" @@ -42837,29 +43115,29 @@ }, "right": { "type": "MemberExpression", - "start": 15936, - "end": 15949, + "start": 15983, + "end": 15996, "loc": { "start": { - "line": 396, + "line": 397, "column": 33 }, "end": { - "line": 396, + "line": 397, "column": 46 } }, "object": { "type": "Identifier", - "start": 15936, - "end": 15944, + "start": 15983, + "end": 15991, "loc": { "start": { - "line": 396, + "line": 397, "column": 33 }, "end": { - "line": 396, + "line": 397, "column": 41 }, "identifierName": "xktModel" @@ -42868,15 +43146,15 @@ }, "property": { "type": "Identifier", - "start": 15945, - "end": 15949, + "start": 15992, + "end": 15996, "loc": { "start": { - "line": 396, + "line": 397, "column": 42 }, "end": { - "line": 396, + "line": 397, "column": 46 }, "identifierName": "aabb" @@ -42889,43 +43167,43 @@ }, { "type": "ExpressionStatement", - "start": 15971, - "end": 16017, + "start": 16018, + "end": 16064, "loc": { "start": { - "line": 397, + "line": 398, "column": 20 }, "end": { - "line": 397, + "line": 398, "column": 66 } }, "expression": { "type": "CallExpression", - "start": 15971, - "end": 16016, + "start": 16018, + "end": 16063, "loc": { "start": { - "line": 397, + "line": 398, "column": 20 }, "end": { - "line": 397, + "line": 398, "column": 65 } }, "callee": { "type": "Identifier", - "start": 15971, - "end": 15974, + "start": 16018, + "end": 16021, "loc": { "start": { - "line": 397, + "line": 398, "column": 20 }, "end": { - "line": 397, + "line": 398, "column": 23 }, "identifierName": "log" @@ -42935,44 +43213,44 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 15975, - "end": 16015, + "start": 16022, + "end": 16062, "loc": { "start": { - "line": 397, + "line": 398, "column": 24 }, "end": { - "line": 397, + "line": 398, "column": 64 } }, "expressions": [ { "type": "MemberExpression", - "start": 15997, - "end": 16013, + "start": 16044, + "end": 16060, "loc": { "start": { - "line": 397, + "line": 398, "column": 46 }, "end": { - "line": 397, + "line": 398, "column": 62 } }, "object": { "type": "Identifier", - "start": 15997, - "end": 16002, + "start": 16044, + "end": 16049, "loc": { "start": { - "line": 397, + "line": 398, "column": 46 }, "end": { - "line": 397, + "line": 398, "column": 51 }, "identifierName": "stats" @@ -42981,15 +43259,15 @@ }, "property": { "type": "Identifier", - "start": 16003, - "end": 16013, + "start": 16050, + "end": 16060, "loc": { "start": { - "line": 397, + "line": 398, "column": 52 }, "end": { - "line": 397, + "line": 398, "column": 62 }, "identifierName": "xktVersion" @@ -43002,15 +43280,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 15976, - "end": 15995, + "start": 16023, + "end": 16042, "loc": { "start": { - "line": 397, + "line": 398, "column": 25 }, "end": { - "line": 397, + "line": 398, "column": 44 } }, @@ -43022,15 +43300,15 @@ }, { "type": "TemplateElement", - "start": 16014, - "end": 16014, + "start": 16061, + "end": 16061, "loc": { "start": { - "line": 397, + "line": 398, "column": 63 }, "end": { - "line": 397, + "line": 398, "column": 63 } }, @@ -43047,29 +43325,29 @@ }, { "type": "IfStatement", - "start": 16038, - "end": 16177, + "start": 16085, + "end": 16224, "loc": { "start": { - "line": 398, + "line": 399, "column": 20 }, "end": { - "line": 400, + "line": 401, "column": 21 } }, "test": { "type": "Identifier", - "start": 16042, - "end": 16054, + "start": 16089, + "end": 16101, "loc": { "start": { - "line": 398, + "line": 399, "column": 24 }, "end": { - "line": 398, + "line": 399, "column": 36 }, "identifierName": "includeTypes" @@ -43078,58 +43356,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 16056, - "end": 16177, + "start": 16103, + "end": 16224, "loc": { "start": { - "line": 398, + "line": 399, "column": 38 }, "end": { - "line": 400, + "line": 401, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 16082, - "end": 16155, + "start": 16129, + "end": 16202, "loc": { "start": { - "line": 399, + "line": 400, "column": 24 }, "end": { - "line": 399, + "line": 400, "column": 97 } }, "expression": { "type": "CallExpression", - "start": 16082, - "end": 16154, + "start": 16129, + "end": 16201, "loc": { "start": { - "line": 399, + "line": 400, "column": 24 }, "end": { - "line": 399, + "line": 400, "column": 96 } }, "callee": { "type": "Identifier", - "start": 16082, - "end": 16085, + "start": 16129, + "end": 16132, "loc": { "start": { - "line": 399, + "line": 400, "column": 24 }, "end": { - "line": 399, + "line": 400, "column": 27 }, "identifierName": "log" @@ -43139,29 +43417,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16086, - "end": 16153, + "start": 16133, + "end": 16200, "loc": { "start": { - "line": 399, + "line": 400, "column": 28 }, "end": { - "line": 399, + "line": 400, "column": 95 } }, "left": { "type": "StringLiteral", - "start": 16086, - "end": 16103, + "start": 16133, + "end": 16150, "loc": { "start": { - "line": 399, + "line": 400, "column": 28 }, "end": { - "line": 399, + "line": 400, "column": 45 } }, @@ -43174,29 +43452,29 @@ "operator": "+", "right": { "type": "ConditionalExpression", - "start": 16107, - "end": 16152, + "start": 16154, + "end": 16199, "loc": { "start": { - "line": 399, + "line": 400, "column": 49 }, "end": { - "line": 399, + "line": 400, "column": 94 } }, "test": { "type": "Identifier", - "start": 16107, - "end": 16119, + "start": 16154, + "end": 16166, "loc": { "start": { - "line": 399, + "line": 400, "column": 49 }, "end": { - "line": 399, + "line": 400, "column": 61 }, "identifierName": "includeTypes" @@ -43205,15 +43483,15 @@ }, "consequent": { "type": "Identifier", - "start": 16122, - "end": 16134, + "start": 16169, + "end": 16181, "loc": { "start": { - "line": 399, + "line": 400, "column": 64 }, "end": { - "line": 399, + "line": 400, "column": 76 }, "identifierName": "includeTypes" @@ -43222,15 +43500,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 16137, - "end": 16152, + "start": 16184, + "end": 16199, "loc": { "start": { - "line": 399, + "line": 400, "column": 79 }, "end": { - "line": 399, + "line": 400, "column": 94 } }, @@ -43242,7 +43520,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 16106 + "parenStart": 16153 } } } @@ -43256,29 +43534,29 @@ }, { "type": "IfStatement", - "start": 16198, - "end": 16338, + "start": 16245, + "end": 16385, "loc": { "start": { - "line": 401, + "line": 402, "column": 20 }, "end": { - "line": 403, + "line": 404, "column": 21 } }, "test": { "type": "Identifier", - "start": 16202, - "end": 16214, + "start": 16249, + "end": 16261, "loc": { "start": { - "line": 401, + "line": 402, "column": 24 }, "end": { - "line": 401, + "line": 402, "column": 36 }, "identifierName": "excludeTypes" @@ -43287,58 +43565,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 16216, - "end": 16338, + "start": 16263, + "end": 16385, "loc": { "start": { - "line": 401, + "line": 402, "column": 38 }, "end": { - "line": 403, + "line": 404, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 16242, - "end": 16316, + "start": 16289, + "end": 16363, "loc": { "start": { - "line": 402, + "line": 403, "column": 24 }, "end": { - "line": 402, + "line": 403, "column": 98 } }, "expression": { "type": "CallExpression", - "start": 16242, - "end": 16315, + "start": 16289, + "end": 16362, "loc": { "start": { - "line": 402, + "line": 403, "column": 24 }, "end": { - "line": 402, + "line": 403, "column": 97 } }, "callee": { "type": "Identifier", - "start": 16242, - "end": 16245, + "start": 16289, + "end": 16292, "loc": { "start": { - "line": 402, + "line": 403, "column": 24 }, "end": { - "line": 402, + "line": 403, "column": 27 }, "identifierName": "log" @@ -43348,29 +43626,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16246, - "end": 16314, + "start": 16293, + "end": 16361, "loc": { "start": { - "line": 402, + "line": 403, "column": 28 }, "end": { - "line": 402, + "line": 403, "column": 96 } }, "left": { "type": "StringLiteral", - "start": 16246, - "end": 16263, + "start": 16293, + "end": 16310, "loc": { "start": { - "line": 402, + "line": 403, "column": 28 }, "end": { - "line": 402, + "line": 403, "column": 45 } }, @@ -43383,29 +43661,29 @@ "operator": "+", "right": { "type": "ConditionalExpression", - "start": 16267, - "end": 16313, + "start": 16314, + "end": 16360, "loc": { "start": { - "line": 402, + "line": 403, "column": 49 }, "end": { - "line": 402, + "line": 403, "column": 95 } }, "test": { "type": "Identifier", - "start": 16267, - "end": 16279, + "start": 16314, + "end": 16326, "loc": { "start": { - "line": 402, + "line": 403, "column": 49 }, "end": { - "line": 402, + "line": 403, "column": 61 }, "identifierName": "excludeTypes" @@ -43414,15 +43692,15 @@ }, "consequent": { "type": "Identifier", - "start": 16282, - "end": 16294, + "start": 16329, + "end": 16341, "loc": { "start": { - "line": 402, + "line": 403, "column": 64 }, "end": { - "line": 402, + "line": 403, "column": 76 }, "identifierName": "excludeTypes" @@ -43431,15 +43709,15 @@ }, "alternate": { "type": "StringLiteral", - "start": 16297, - "end": 16313, + "start": 16344, + "end": 16360, "loc": { "start": { - "line": 402, + "line": 403, "column": 79 }, "end": { - "line": 402, + "line": 403, "column": 95 } }, @@ -43451,7 +43729,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 16266 + "parenStart": 16313 } } } @@ -43465,43 +43743,43 @@ }, { "type": "ExpressionStatement", - "start": 16359, - "end": 16401, + "start": 16406, + "end": 16448, "loc": { "start": { - "line": 404, + "line": 405, "column": 20 }, "end": { - "line": 404, + "line": 405, "column": 62 } }, "expression": { "type": "CallExpression", - "start": 16359, - "end": 16400, + "start": 16406, + "end": 16447, "loc": { "start": { - "line": 404, + "line": 405, "column": 20 }, "end": { - "line": 404, + "line": 405, "column": 61 } }, "callee": { "type": "Identifier", - "start": 16359, - "end": 16362, + "start": 16406, + "end": 16409, "loc": { "start": { - "line": 404, + "line": 405, "column": 20 }, "end": { - "line": 404, + "line": 405, "column": 23 }, "identifierName": "log" @@ -43511,43 +43789,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16363, - "end": 16399, + "start": 16410, + "end": 16446, "loc": { "start": { - "line": 404, + "line": 405, "column": 24 }, "end": { - "line": 404, + "line": 405, "column": 60 } }, "left": { "type": "BinaryExpression", - "start": 16363, - "end": 16391, + "start": 16410, + "end": 16438, "loc": { "start": { - "line": 404, + "line": 405, "column": 24 }, "end": { - "line": 404, + "line": 405, "column": 52 } }, "left": { "type": "StringLiteral", - "start": 16363, - "end": 16375, + "start": 16410, + "end": 16422, "loc": { "start": { - "line": 404, + "line": 405, "column": 24 }, "end": { - "line": 404, + "line": 405, "column": 36 } }, @@ -43560,29 +43838,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 16378, - "end": 16391, + "start": 16425, + "end": 16438, "loc": { "start": { - "line": 404, + "line": 405, "column": 39 }, "end": { - "line": 404, + "line": 405, "column": 52 } }, "object": { "type": "Identifier", - "start": 16378, - "end": 16383, + "start": 16425, + "end": 16430, "loc": { "start": { - "line": 404, + "line": 405, "column": 39 }, "end": { - "line": 404, + "line": 405, "column": 44 }, "identifierName": "stats" @@ -43591,15 +43869,15 @@ }, "property": { "type": "Identifier", - "start": 16384, - "end": 16391, + "start": 16431, + "end": 16438, "loc": { "start": { - "line": 404, + "line": 405, "column": 45 }, "end": { - "line": 404, + "line": 405, "column": 52 }, "identifierName": "xktSize" @@ -43612,15 +43890,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 16394, - "end": 16399, + "start": 16441, + "end": 16446, "loc": { "start": { - "line": 404, + "line": 405, "column": 55 }, "end": { - "line": 404, + "line": 405, "column": 60 } }, @@ -43636,43 +43914,43 @@ }, { "type": "ExpressionStatement", - "start": 16422, - "end": 16497, + "start": 16469, + "end": 16544, "loc": { "start": { - "line": 405, + "line": 406, "column": 20 }, "end": { - "line": 405, + "line": 406, "column": 95 } }, "expression": { "type": "CallExpression", - "start": 16422, - "end": 16496, + "start": 16469, + "end": 16543, "loc": { "start": { - "line": 405, + "line": 406, "column": 20 }, "end": { - "line": 405, + "line": 406, "column": 94 } }, "callee": { "type": "Identifier", - "start": 16422, - "end": 16425, + "start": 16469, + "end": 16472, "loc": { "start": { - "line": 405, + "line": 406, "column": 20 }, "end": { - "line": 405, + "line": 406, "column": 23 }, "identifierName": "log" @@ -43682,43 +43960,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16426, - "end": 16495, + "start": 16473, + "end": 16542, "loc": { "start": { - "line": 405, + "line": 406, "column": 24 }, "end": { - "line": 405, + "line": 406, "column": 93 } }, "left": { "type": "BinaryExpression", - "start": 16426, - "end": 16488, + "start": 16473, + "end": 16535, "loc": { "start": { - "line": 405, + "line": 406, "column": 24 }, "end": { - "line": 405, + "line": 406, "column": 86 } }, "left": { "type": "StringLiteral", - "start": 16426, - "end": 16447, + "start": 16473, + "end": 16494, "loc": { "start": { - "line": 405, + "line": 406, "column": 24 }, "end": { - "line": 405, + "line": 406, "column": 45 } }, @@ -43731,71 +44009,71 @@ "operator": "+", "right": { "type": "CallExpression", - "start": 16450, - "end": 16488, + "start": 16497, + "end": 16535, "loc": { "start": { - "line": 405, + "line": 406, "column": 48 }, "end": { - "line": 405, + "line": 406, "column": 86 } }, "callee": { "type": "MemberExpression", - "start": 16450, - "end": 16485, + "start": 16497, + "end": 16532, "loc": { "start": { - "line": 405, + "line": 406, "column": 48 }, "end": { - "line": 405, + "line": 406, "column": 83 } }, "object": { "type": "BinaryExpression", - "start": 16451, - "end": 16476, + "start": 16498, + "end": 16523, "loc": { "start": { - "line": 405, + "line": 406, "column": 49 }, "end": { - "line": 405, + "line": 406, "column": 74 } }, "left": { "type": "MemberExpression", - "start": 16451, - "end": 16469, + "start": 16498, + "end": 16516, "loc": { "start": { - "line": 405, + "line": 406, "column": 49 }, "end": { - "line": 405, + "line": 406, "column": 67 } }, "object": { "type": "Identifier", - "start": 16451, - "end": 16456, + "start": 16498, + "end": 16503, "loc": { "start": { - "line": 405, + "line": 406, "column": 49 }, "end": { - "line": 405, + "line": 406, "column": 54 }, "identifierName": "stats" @@ -43804,15 +44082,15 @@ }, "property": { "type": "Identifier", - "start": 16457, - "end": 16469, + "start": 16504, + "end": 16516, "loc": { "start": { - "line": 405, + "line": 406, "column": 55 }, "end": { - "line": 405, + "line": 406, "column": 67 }, "identifierName": "texturesSize" @@ -43824,15 +44102,15 @@ "operator": "/", "right": { "type": "NumericLiteral", - "start": 16472, - "end": 16476, + "start": 16519, + "end": 16523, "loc": { "start": { - "line": 405, + "line": 406, "column": 70 }, "end": { - "line": 405, + "line": 406, "column": 74 } }, @@ -43844,20 +44122,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 16450 + "parenStart": 16497 } }, "property": { "type": "Identifier", - "start": 16478, - "end": 16485, + "start": 16525, + "end": 16532, "loc": { "start": { - "line": 405, + "line": 406, "column": 76 }, "end": { - "line": 405, + "line": 406, "column": 83 }, "identifierName": "toFixed" @@ -43869,15 +44147,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 16486, - "end": 16487, + "start": 16533, + "end": 16534, "loc": { "start": { - "line": 405, + "line": 406, "column": 84 }, "end": { - "line": 405, + "line": 406, "column": 85 } }, @@ -43893,15 +44171,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 16491, - "end": 16495, + "start": 16538, + "end": 16542, "loc": { "start": { - "line": 405, + "line": 406, "column": 89 }, "end": { - "line": 405, + "line": 406, "column": 93 } }, @@ -43917,43 +44195,43 @@ }, { "type": "ExpressionStatement", - "start": 16518, - "end": 16570, + "start": 16565, + "end": 16617, "loc": { "start": { - "line": 406, + "line": 407, "column": 20 }, "end": { - "line": 406, + "line": 407, "column": 72 } }, "expression": { "type": "CallExpression", - "start": 16518, - "end": 16569, + "start": 16565, + "end": 16616, "loc": { "start": { - "line": 406, + "line": 407, "column": 20 }, "end": { - "line": 406, + "line": 407, "column": 71 } }, "callee": { "type": "Identifier", - "start": 16518, - "end": 16521, + "start": 16565, + "end": 16568, "loc": { "start": { - "line": 406, + "line": 407, "column": 20 }, "end": { - "line": 406, + "line": 407, "column": 23 }, "identifierName": "log" @@ -43963,29 +44241,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16522, - "end": 16568, + "start": 16569, + "end": 16615, "loc": { "start": { - "line": 406, + "line": 407, "column": 24 }, "end": { - "line": 406, + "line": 407, "column": 70 } }, "left": { "type": "StringLiteral", - "start": 16522, - "end": 16543, + "start": 16569, + "end": 16590, "loc": { "start": { - "line": 406, + "line": 407, "column": 24 }, "end": { - "line": 406, + "line": 407, "column": 45 } }, @@ -43998,29 +44276,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 16546, - "end": 16568, + "start": 16593, + "end": 16615, "loc": { "start": { - "line": 406, + "line": 407, "column": 48 }, "end": { - "line": 406, + "line": 407, "column": 70 } }, "object": { "type": "Identifier", - "start": 16546, - "end": 16551, + "start": 16593, + "end": 16598, "loc": { "start": { - "line": 406, + "line": 407, "column": 48 }, "end": { - "line": 406, + "line": 407, "column": 53 }, "identifierName": "stats" @@ -44029,15 +44307,15 @@ }, "property": { "type": "Identifier", - "start": 16552, - "end": 16568, + "start": 16599, + "end": 16615, "loc": { "start": { - "line": 406, + "line": 407, "column": 54 }, "end": { - "line": 406, + "line": 407, "column": 70 }, "identifierName": "compressionRatio" @@ -44052,43 +44330,43 @@ }, { "type": "ExpressionStatement", - "start": 16591, - "end": 16646, + "start": 16638, + "end": 16693, "loc": { "start": { - "line": 407, + "line": 408, "column": 20 }, "end": { - "line": 407, + "line": 408, "column": 75 } }, "expression": { "type": "CallExpression", - "start": 16591, - "end": 16645, + "start": 16638, + "end": 16692, "loc": { "start": { - "line": 407, + "line": 408, "column": 20 }, "end": { - "line": 407, + "line": 408, "column": 74 } }, "callee": { "type": "Identifier", - "start": 16591, - "end": 16594, + "start": 16638, + "end": 16641, "loc": { "start": { - "line": 407, + "line": 408, "column": 20 }, "end": { - "line": 407, + "line": 408, "column": 23 }, "identifierName": "log" @@ -44098,43 +44376,43 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16595, - "end": 16644, + "start": 16642, + "end": 16691, "loc": { "start": { - "line": 407, + "line": 408, "column": 24 }, "end": { - "line": 407, + "line": 408, "column": 73 } }, "left": { "type": "BinaryExpression", - "start": 16595, - "end": 16637, + "start": 16642, + "end": 16684, "loc": { "start": { - "line": 407, + "line": 408, "column": 24 }, "end": { - "line": 407, + "line": 408, "column": 66 } }, "left": { "type": "StringLiteral", - "start": 16595, - "end": 16614, + "start": 16642, + "end": 16661, "loc": { "start": { - "line": 407, + "line": 408, "column": 24 }, "end": { - "line": 407, + "line": 408, "column": 43 } }, @@ -44147,29 +44425,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 16617, - "end": 16637, + "start": 16664, + "end": 16684, "loc": { "start": { - "line": 407, + "line": 408, "column": 46 }, "end": { - "line": 407, + "line": 408, "column": 66 } }, "object": { "type": "Identifier", - "start": 16617, - "end": 16622, + "start": 16664, + "end": 16669, "loc": { "start": { - "line": 407, + "line": 408, "column": 46 }, "end": { - "line": 407, + "line": 408, "column": 51 }, "identifierName": "stats" @@ -44178,15 +44456,15 @@ }, "property": { "type": "Identifier", - "start": 16623, - "end": 16637, + "start": 16670, + "end": 16684, "loc": { "start": { - "line": 407, + "line": 408, "column": 52 }, "end": { - "line": 407, + "line": 408, "column": 66 }, "identifierName": "conversionTime" @@ -44199,15 +44477,15 @@ "operator": "+", "right": { "type": "StringLiteral", - "start": 16640, - "end": 16644, + "start": 16687, + "end": 16691, "loc": { "start": { - "line": 407, + "line": 408, "column": 69 }, "end": { - "line": 407, + "line": 408, "column": 73 } }, @@ -44223,143 +44501,8 @@ }, { "type": "ExpressionStatement", - "start": 16667, - "end": 16721, - "loc": { - "start": { - "line": 408, - "column": 20 - }, - "end": { - "line": 408, - "column": 74 - } - }, - "expression": { - "type": "CallExpression", - "start": 16667, - "end": 16720, - "loc": { - "start": { - "line": 408, - "column": 20 - }, - "end": { - "line": 408, - "column": 73 - } - }, - "callee": { - "type": "Identifier", - "start": 16667, - "end": 16670, - "loc": { - "start": { - "line": 408, - "column": 20 - }, - "end": { - "line": 408, - "column": 23 - }, - "identifierName": "log" - }, - "name": "log" - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 16671, - "end": 16719, - "loc": { - "start": { - "line": 408, - "column": 24 - }, - "end": { - "line": 408, - "column": 72 - } - }, - "left": { - "type": "StringLiteral", - "start": 16671, - "end": 16696, - "loc": { - "start": { - "line": 408, - "column": 24 - }, - "end": { - "line": 408, - "column": 49 - } - }, - "extra": { - "rawValue": "Converted metaobjects: ", - "raw": "\"Converted metaobjects: \"" - }, - "value": "Converted metaobjects: " - }, - "operator": "+", - "right": { - "type": "MemberExpression", - "start": 16699, - "end": 16719, - "loc": { - "start": { - "line": 408, - "column": 52 - }, - "end": { - "line": 408, - "column": 72 - } - }, - "object": { - "type": "Identifier", - "start": 16699, - "end": 16704, - "loc": { - "start": { - "line": 408, - "column": 52 - }, - "end": { - "line": 408, - "column": 57 - }, - "identifierName": "stats" - }, - "name": "stats" - }, - "property": { - "type": "Identifier", - "start": 16705, - "end": 16719, - "loc": { - "start": { - "line": 408, - "column": 58 - }, - "end": { - "line": 408, - "column": 72 - }, - "identifierName": "numMetaObjects" - }, - "name": "numMetaObjects" - }, - "computed": false - } - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 16742, - "end": 16799, + "start": 16714, + "end": 16768, "loc": { "start": { "line": 409, @@ -44367,13 +44510,13 @@ }, "end": { "line": 409, - "column": 77 + "column": 74 } }, "expression": { "type": "CallExpression", - "start": 16742, - "end": 16798, + "start": 16714, + "end": 16767, "loc": { "start": { "line": 409, @@ -44381,13 +44524,13 @@ }, "end": { "line": 409, - "column": 76 + "column": 73 } }, "callee": { "type": "Identifier", - "start": 16742, - "end": 16745, + "start": 16714, + "end": 16717, "loc": { "start": { "line": 409, @@ -44404,8 +44547,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16746, - "end": 16797, + "start": 16718, + "end": 16766, "loc": { "start": { "line": 409, @@ -44413,13 +44556,13 @@ }, "end": { "line": 409, - "column": 75 + "column": 72 } }, "left": { "type": "StringLiteral", - "start": 16746, - "end": 16773, + "start": 16718, + "end": 16743, "loc": { "start": { "line": 409, @@ -44427,42 +44570,42 @@ }, "end": { "line": 409, - "column": 51 + "column": 49 } }, "extra": { - "rawValue": "Converted property sets: ", - "raw": "\"Converted property sets: \"" + "rawValue": "Converted metaobjects: ", + "raw": "\"Converted metaobjects: \"" }, - "value": "Converted property sets: " + "value": "Converted metaobjects: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 16776, - "end": 16797, + "start": 16746, + "end": 16766, "loc": { "start": { "line": 409, - "column": 54 + "column": 52 }, "end": { "line": 409, - "column": 75 + "column": 72 } }, "object": { "type": "Identifier", - "start": 16776, - "end": 16781, + "start": 16746, + "end": 16751, "loc": { "start": { "line": 409, - "column": 54 + "column": 52 }, "end": { "line": 409, - "column": 59 + "column": 57 }, "identifierName": "stats" }, @@ -44470,20 +44613,20 @@ }, "property": { "type": "Identifier", - "start": 16782, - "end": 16797, + "start": 16752, + "end": 16766, "loc": { "start": { "line": 409, - "column": 60 + "column": 58 }, "end": { "line": 409, - "column": 75 + "column": 72 }, - "identifierName": "numPropertySets" + "identifierName": "numMetaObjects" }, - "name": "numPropertySets" + "name": "numMetaObjects" }, "computed": false } @@ -44493,8 +44636,8 @@ }, { "type": "ExpressionStatement", - "start": 16820, - "end": 16875, + "start": 16789, + "end": 16846, "loc": { "start": { "line": 410, @@ -44502,13 +44645,13 @@ }, "end": { "line": 410, - "column": 75 + "column": 77 } }, "expression": { "type": "CallExpression", - "start": 16820, - "end": 16874, + "start": 16789, + "end": 16845, "loc": { "start": { "line": 410, @@ -44516,13 +44659,13 @@ }, "end": { "line": 410, - "column": 74 + "column": 76 } }, "callee": { "type": "Identifier", - "start": 16820, - "end": 16823, + "start": 16789, + "end": 16792, "loc": { "start": { "line": 410, @@ -44539,8 +44682,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16824, - "end": 16873, + "start": 16793, + "end": 16844, "loc": { "start": { "line": 410, @@ -44548,13 +44691,13 @@ }, "end": { "line": 410, - "column": 73 + "column": 75 } }, "left": { "type": "StringLiteral", - "start": 16824, - "end": 16854, + "start": 16793, + "end": 16820, "loc": { "start": { "line": 410, @@ -44562,42 +44705,42 @@ }, "end": { "line": 410, - "column": 54 + "column": 51 } }, "extra": { - "rawValue": "Converted drawable objects: ", - "raw": "\"Converted drawable objects: \"" + "rawValue": "Converted property sets: ", + "raw": "\"Converted property sets: \"" }, - "value": "Converted drawable objects: " + "value": "Converted property sets: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 16857, - "end": 16873, + "start": 16823, + "end": 16844, "loc": { "start": { "line": 410, - "column": 57 + "column": 54 }, "end": { "line": 410, - "column": 73 + "column": 75 } }, "object": { "type": "Identifier", - "start": 16857, - "end": 16862, + "start": 16823, + "end": 16828, "loc": { "start": { "line": 410, - "column": 57 + "column": 54 }, "end": { "line": 410, - "column": 62 + "column": 59 }, "identifierName": "stats" }, @@ -44605,20 +44748,20 @@ }, "property": { "type": "Identifier", - "start": 16863, - "end": 16873, + "start": 16829, + "end": 16844, "loc": { "start": { "line": 410, - "column": 63 + "column": 60 }, "end": { "line": 410, - "column": 73 + "column": 75 }, - "identifierName": "numObjects" + "identifierName": "numPropertySets" }, - "name": "numObjects" + "name": "numPropertySets" }, "computed": false } @@ -44628,8 +44771,8 @@ }, { "type": "ExpressionStatement", - "start": 16896, - "end": 16948, + "start": 16867, + "end": 16922, "loc": { "start": { "line": 411, @@ -44637,13 +44780,13 @@ }, "end": { "line": 411, - "column": 72 + "column": 75 } }, "expression": { "type": "CallExpression", - "start": 16896, - "end": 16947, + "start": 16867, + "end": 16921, "loc": { "start": { "line": 411, @@ -44651,13 +44794,13 @@ }, "end": { "line": 411, - "column": 71 + "column": 74 } }, "callee": { "type": "Identifier", - "start": 16896, - "end": 16899, + "start": 16867, + "end": 16870, "loc": { "start": { "line": 411, @@ -44674,8 +44817,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16900, - "end": 16946, + "start": 16871, + "end": 16920, "loc": { "start": { "line": 411, @@ -44683,13 +44826,13 @@ }, "end": { "line": 411, - "column": 70 + "column": 73 } }, "left": { "type": "StringLiteral", - "start": 16900, - "end": 16924, + "start": 16871, + "end": 16901, "loc": { "start": { "line": 411, @@ -44697,42 +44840,42 @@ }, "end": { "line": 411, - "column": 48 + "column": 54 } }, "extra": { - "rawValue": "Converted geometries: ", - "raw": "\"Converted geometries: \"" + "rawValue": "Converted drawable objects: ", + "raw": "\"Converted drawable objects: \"" }, - "value": "Converted geometries: " + "value": "Converted drawable objects: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 16927, - "end": 16946, + "start": 16904, + "end": 16920, "loc": { "start": { "line": 411, - "column": 51 + "column": 57 }, "end": { "line": 411, - "column": 70 + "column": 73 } }, "object": { "type": "Identifier", - "start": 16927, - "end": 16932, + "start": 16904, + "end": 16909, "loc": { "start": { "line": 411, - "column": 51 + "column": 57 }, "end": { "line": 411, - "column": 56 + "column": 62 }, "identifierName": "stats" }, @@ -44740,20 +44883,20 @@ }, "property": { "type": "Identifier", - "start": 16933, - "end": 16946, + "start": 16910, + "end": 16920, "loc": { "start": { "line": 411, - "column": 57 + "column": 63 }, "end": { "line": 411, - "column": 70 + "column": 73 }, - "identifierName": "numGeometries" + "identifierName": "numObjects" }, - "name": "numGeometries" + "name": "numObjects" }, "computed": false } @@ -44763,8 +44906,8 @@ }, { "type": "ExpressionStatement", - "start": 16969, - "end": 17017, + "start": 16943, + "end": 16995, "loc": { "start": { "line": 412, @@ -44772,13 +44915,13 @@ }, "end": { "line": 412, - "column": 68 + "column": 72 } }, "expression": { "type": "CallExpression", - "start": 16969, - "end": 17016, + "start": 16943, + "end": 16994, "loc": { "start": { "line": 412, @@ -44786,13 +44929,13 @@ }, "end": { "line": 412, - "column": 67 + "column": 71 } }, "callee": { "type": "Identifier", - "start": 16969, - "end": 16972, + "start": 16943, + "end": 16946, "loc": { "start": { "line": 412, @@ -44809,8 +44952,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 16973, - "end": 17015, + "start": 16947, + "end": 16993, "loc": { "start": { "line": 412, @@ -44818,13 +44961,13 @@ }, "end": { "line": 412, - "column": 66 + "column": 70 } }, "left": { "type": "StringLiteral", - "start": 16973, - "end": 16995, + "start": 16947, + "end": 16971, "loc": { "start": { "line": 412, @@ -44832,42 +44975,42 @@ }, "end": { "line": 412, - "column": 46 + "column": 48 } }, "extra": { - "rawValue": "Converted textures: ", - "raw": "\"Converted textures: \"" + "rawValue": "Converted geometries: ", + "raw": "\"Converted geometries: \"" }, - "value": "Converted textures: " + "value": "Converted geometries: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 16998, - "end": 17015, + "start": 16974, + "end": 16993, "loc": { "start": { "line": 412, - "column": 49 + "column": 51 }, "end": { "line": 412, - "column": 66 + "column": 70 } }, "object": { "type": "Identifier", - "start": 16998, - "end": 17003, + "start": 16974, + "end": 16979, "loc": { "start": { "line": 412, - "column": 49 + "column": 51 }, "end": { "line": 412, - "column": 54 + "column": 56 }, "identifierName": "stats" }, @@ -44875,20 +45018,20 @@ }, "property": { "type": "Identifier", - "start": 17004, - "end": 17015, + "start": 16980, + "end": 16993, "loc": { "start": { "line": 412, - "column": 55 + "column": 57 }, "end": { "line": 412, - "column": 66 + "column": 70 }, - "identifierName": "numTextures" + "identifierName": "numGeometries" }, - "name": "numTextures" + "name": "numGeometries" }, "computed": false } @@ -44898,8 +45041,8 @@ }, { "type": "ExpressionStatement", - "start": 17038, - "end": 17092, + "start": 17016, + "end": 17064, "loc": { "start": { "line": 413, @@ -44907,13 +45050,13 @@ }, "end": { "line": 413, - "column": 74 + "column": 68 } }, "expression": { "type": "CallExpression", - "start": 17038, - "end": 17091, + "start": 17016, + "end": 17063, "loc": { "start": { "line": 413, @@ -44921,13 +45064,13 @@ }, "end": { "line": 413, - "column": 73 + "column": 67 } }, "callee": { "type": "Identifier", - "start": 17038, - "end": 17041, + "start": 17016, + "end": 17019, "loc": { "start": { "line": 413, @@ -44944,8 +45087,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17042, - "end": 17090, + "start": 17020, + "end": 17062, "loc": { "start": { "line": 413, @@ -44953,13 +45096,13 @@ }, "end": { "line": 413, - "column": 72 + "column": 66 } }, "left": { "type": "StringLiteral", - "start": 17042, - "end": 17067, + "start": 17020, + "end": 17042, "loc": { "start": { "line": 413, @@ -44967,42 +45110,42 @@ }, "end": { "line": 413, - "column": 49 + "column": 46 } }, "extra": { - "rawValue": "Converted textureSets: ", - "raw": "\"Converted textureSets: \"" + "rawValue": "Converted textures: ", + "raw": "\"Converted textures: \"" }, - "value": "Converted textureSets: " + "value": "Converted textures: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 17070, - "end": 17090, + "start": 17045, + "end": 17062, "loc": { "start": { "line": 413, - "column": 52 + "column": 49 }, "end": { "line": 413, - "column": 72 + "column": 66 } }, "object": { "type": "Identifier", - "start": 17070, - "end": 17075, + "start": 17045, + "end": 17050, "loc": { "start": { "line": 413, - "column": 52 + "column": 49 }, "end": { "line": 413, - "column": 57 + "column": 54 }, "identifierName": "stats" }, @@ -45010,20 +45153,20 @@ }, "property": { "type": "Identifier", - "start": 17076, - "end": 17090, + "start": 17051, + "end": 17062, "loc": { "start": { "line": 413, - "column": 58 + "column": 55 }, "end": { "line": 413, - "column": 72 + "column": 66 }, - "identifierName": "numTextureSets" + "identifierName": "numTextures" }, - "name": "numTextureSets" + "name": "numTextures" }, "computed": false } @@ -45033,8 +45176,8 @@ }, { "type": "ExpressionStatement", - "start": 17113, - "end": 17163, + "start": 17085, + "end": 17139, "loc": { "start": { "line": 414, @@ -45042,13 +45185,13 @@ }, "end": { "line": 414, - "column": 70 + "column": 74 } }, "expression": { "type": "CallExpression", - "start": 17113, - "end": 17162, + "start": 17085, + "end": 17138, "loc": { "start": { "line": 414, @@ -45056,13 +45199,13 @@ }, "end": { "line": 414, - "column": 69 + "column": 73 } }, "callee": { "type": "Identifier", - "start": 17113, - "end": 17116, + "start": 17085, + "end": 17088, "loc": { "start": { "line": 414, @@ -45079,8 +45222,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17117, - "end": 17161, + "start": 17089, + "end": 17137, "loc": { "start": { "line": 414, @@ -45088,13 +45231,13 @@ }, "end": { "line": 414, - "column": 68 + "column": 72 } }, "left": { "type": "StringLiteral", - "start": 17117, - "end": 17140, + "start": 17089, + "end": 17114, "loc": { "start": { "line": 414, @@ -45102,42 +45245,42 @@ }, "end": { "line": 414, - "column": 47 + "column": 49 } }, "extra": { - "rawValue": "Converted triangles: ", - "raw": "\"Converted triangles: \"" + "rawValue": "Converted textureSets: ", + "raw": "\"Converted textureSets: \"" }, - "value": "Converted triangles: " + "value": "Converted textureSets: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 17143, - "end": 17161, + "start": 17117, + "end": 17137, "loc": { "start": { "line": 414, - "column": 50 + "column": 52 }, "end": { "line": 414, - "column": 68 + "column": 72 } }, "object": { "type": "Identifier", - "start": 17143, - "end": 17148, + "start": 17117, + "end": 17122, "loc": { "start": { "line": 414, - "column": 50 + "column": 52 }, "end": { "line": 414, - "column": 55 + "column": 57 }, "identifierName": "stats" }, @@ -45145,20 +45288,20 @@ }, "property": { "type": "Identifier", - "start": 17149, - "end": 17161, + "start": 17123, + "end": 17137, "loc": { "start": { "line": 414, - "column": 56 + "column": 58 }, "end": { "line": 414, - "column": 68 + "column": 72 }, - "identifierName": "numTriangles" + "identifierName": "numTextureSets" }, - "name": "numTriangles" + "name": "numTextureSets" }, "computed": false } @@ -45168,8 +45311,8 @@ }, { "type": "ExpressionStatement", - "start": 17184, - "end": 17232, + "start": 17160, + "end": 17210, "loc": { "start": { "line": 415, @@ -45177,13 +45320,13 @@ }, "end": { "line": 415, - "column": 68 + "column": 70 } }, "expression": { "type": "CallExpression", - "start": 17184, - "end": 17231, + "start": 17160, + "end": 17209, "loc": { "start": { "line": 415, @@ -45191,13 +45334,13 @@ }, "end": { "line": 415, - "column": 67 + "column": 69 } }, "callee": { "type": "Identifier", - "start": 17184, - "end": 17187, + "start": 17160, + "end": 17163, "loc": { "start": { "line": 415, @@ -45214,8 +45357,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17188, - "end": 17230, + "start": 17164, + "end": 17208, "loc": { "start": { "line": 415, @@ -45223,13 +45366,13 @@ }, "end": { "line": 415, - "column": 66 + "column": 68 } }, "left": { "type": "StringLiteral", - "start": 17188, - "end": 17210, + "start": 17164, + "end": 17187, "loc": { "start": { "line": 415, @@ -45237,42 +45380,42 @@ }, "end": { "line": 415, - "column": 46 + "column": 47 } }, "extra": { - "rawValue": "Converted vertices: ", - "raw": "\"Converted vertices: \"" + "rawValue": "Converted triangles: ", + "raw": "\"Converted triangles: \"" }, - "value": "Converted vertices: " + "value": "Converted triangles: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 17213, - "end": 17230, + "start": 17190, + "end": 17208, "loc": { "start": { "line": 415, - "column": 49 + "column": 50 }, "end": { "line": 415, - "column": 66 + "column": 68 } }, "object": { "type": "Identifier", - "start": 17213, - "end": 17218, + "start": 17190, + "end": 17195, "loc": { "start": { "line": 415, - "column": 49 + "column": 50 }, "end": { "line": 415, - "column": 54 + "column": 55 }, "identifierName": "stats" }, @@ -45280,20 +45423,20 @@ }, "property": { "type": "Identifier", - "start": 17219, - "end": 17230, + "start": 17196, + "end": 17208, "loc": { "start": { "line": 415, - "column": 55 + "column": 56 }, "end": { "line": 415, - "column": 66 + "column": 68 }, - "identifierName": "numVertices" + "identifierName": "numTriangles" }, - "name": "numVertices" + "name": "numTriangles" }, "computed": false } @@ -45303,8 +45446,8 @@ }, { "type": "ExpressionStatement", - "start": 17253, - "end": 17291, + "start": 17231, + "end": 17279, "loc": { "start": { "line": 416, @@ -45312,13 +45455,13 @@ }, "end": { "line": 416, - "column": 58 + "column": 68 } }, "expression": { "type": "CallExpression", - "start": 17253, - "end": 17290, + "start": 17231, + "end": 17278, "loc": { "start": { "line": 416, @@ -45326,13 +45469,13 @@ }, "end": { "line": 416, - "column": 57 + "column": 67 } }, "callee": { "type": "Identifier", - "start": 17253, - "end": 17256, + "start": 17231, + "end": 17234, "loc": { "start": { "line": 416, @@ -45349,8 +45492,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17257, - "end": 17289, + "start": 17235, + "end": 17277, "loc": { "start": { "line": 416, @@ -45358,13 +45501,13 @@ }, "end": { "line": 416, - "column": 56 + "column": 66 } }, "left": { "type": "StringLiteral", - "start": 17257, - "end": 17274, + "start": 17235, + "end": 17257, "loc": { "start": { "line": 416, @@ -45372,42 +45515,42 @@ }, "end": { "line": 416, - "column": 41 + "column": 46 } }, "extra": { - "rawValue": "Converted UVs: ", - "raw": "\"Converted UVs: \"" + "rawValue": "Converted vertices: ", + "raw": "\"Converted vertices: \"" }, - "value": "Converted UVs: " + "value": "Converted vertices: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 17277, - "end": 17289, + "start": 17260, + "end": 17277, "loc": { "start": { "line": 416, - "column": 44 + "column": 49 }, "end": { "line": 416, - "column": 56 + "column": 66 } }, "object": { "type": "Identifier", - "start": 17277, - "end": 17282, + "start": 17260, + "end": 17265, "loc": { "start": { "line": 416, - "column": 44 + "column": 49 }, "end": { "line": 416, - "column": 49 + "column": 54 }, "identifierName": "stats" }, @@ -45415,20 +45558,20 @@ }, "property": { "type": "Identifier", - "start": 17283, - "end": 17289, + "start": 17266, + "end": 17277, "loc": { "start": { "line": 416, - "column": 50 + "column": 55 }, "end": { "line": 416, - "column": 56 + "column": 66 }, - "identifierName": "numUVs" + "identifierName": "numVertices" }, - "name": "numUVs" + "name": "numVertices" }, "computed": false } @@ -45438,8 +45581,8 @@ }, { "type": "ExpressionStatement", - "start": 17312, - "end": 17358, + "start": 17300, + "end": 17338, "loc": { "start": { "line": 417, @@ -45447,13 +45590,13 @@ }, "end": { "line": 417, - "column": 66 + "column": 58 } }, "expression": { "type": "CallExpression", - "start": 17312, - "end": 17357, + "start": 17300, + "end": 17337, "loc": { "start": { "line": 417, @@ -45461,13 +45604,13 @@ }, "end": { "line": 417, - "column": 65 + "column": 57 } }, "callee": { "type": "Identifier", - "start": 17312, - "end": 17315, + "start": 17300, + "end": 17303, "loc": { "start": { "line": 417, @@ -45484,8 +45627,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17316, - "end": 17356, + "start": 17304, + "end": 17336, "loc": { "start": { "line": 417, @@ -45493,13 +45636,13 @@ }, "end": { "line": 417, - "column": 64 + "column": 56 } }, "left": { "type": "StringLiteral", - "start": 17316, - "end": 17337, + "start": 17304, + "end": 17321, "loc": { "start": { "line": 417, @@ -45507,42 +45650,42 @@ }, "end": { "line": 417, - "column": 45 + "column": 41 } }, "extra": { - "rawValue": "Converted normals: ", - "raw": "\"Converted normals: \"" + "rawValue": "Converted UVs: ", + "raw": "\"Converted UVs: \"" }, - "value": "Converted normals: " + "value": "Converted UVs: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 17340, - "end": 17356, + "start": 17324, + "end": 17336, "loc": { "start": { "line": 417, - "column": 48 + "column": 44 }, "end": { "line": 417, - "column": 64 + "column": 56 } }, "object": { "type": "Identifier", - "start": 17340, - "end": 17345, + "start": 17324, + "end": 17329, "loc": { "start": { "line": 417, - "column": 48 + "column": 44 }, "end": { "line": 417, - "column": 53 + "column": 49 }, "identifierName": "stats" }, @@ -45550,20 +45693,20 @@ }, "property": { "type": "Identifier", - "start": 17346, - "end": 17356, + "start": 17330, + "end": 17336, "loc": { "start": { "line": 417, - "column": 54 + "column": 50 }, "end": { "line": 417, - "column": 64 + "column": 56 }, - "identifierName": "numNormals" + "identifierName": "numUVs" }, - "name": "numNormals" + "name": "numUVs" }, "computed": false } @@ -45573,8 +45716,8 @@ }, { "type": "ExpressionStatement", - "start": 17379, - "end": 17432, + "start": 17359, + "end": 17405, "loc": { "start": { "line": 418, @@ -45582,13 +45725,13 @@ }, "end": { "line": 418, - "column": 73 + "column": 66 } }, "expression": { "type": "CallExpression", - "start": 17379, - "end": 17431, + "start": 17359, + "end": 17404, "loc": { "start": { "line": 418, @@ -45596,13 +45739,13 @@ }, "end": { "line": 418, - "column": 72 + "column": 65 } }, "callee": { "type": "Identifier", - "start": 17379, - "end": 17382, + "start": 17359, + "end": 17362, "loc": { "start": { "line": 418, @@ -45619,8 +45762,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17383, - "end": 17430, + "start": 17363, + "end": 17403, "loc": { "start": { "line": 418, @@ -45628,13 +45771,13 @@ }, "end": { "line": 418, - "column": 71 + "column": 64 } }, "left": { "type": "StringLiteral", - "start": 17383, - "end": 17402, + "start": 17363, + "end": 17384, "loc": { "start": { "line": 418, @@ -45642,96 +45785,63 @@ }, "end": { "line": 418, - "column": 43 + "column": 45 } }, "extra": { - "rawValue": "Converted tiles: ", - "raw": "\"Converted tiles: \"" + "rawValue": "Converted normals: ", + "raw": "\"Converted normals: \"" }, - "value": "Converted tiles: " + "value": "Converted normals: " }, "operator": "+", "right": { "type": "MemberExpression", - "start": 17405, - "end": 17430, + "start": 17387, + "end": 17403, "loc": { "start": { "line": 418, - "column": 46 + "column": 48 }, "end": { "line": 418, - "column": 71 + "column": 64 } }, "object": { - "type": "MemberExpression", - "start": 17405, - "end": 17423, + "type": "Identifier", + "start": 17387, + "end": 17392, "loc": { "start": { "line": 418, - "column": 46 + "column": 48 }, "end": { "line": 418, - "column": 64 - } - }, - "object": { - "type": "Identifier", - "start": 17405, - "end": 17413, - "loc": { - "start": { - "line": 418, - "column": 46 - }, - "end": { - "line": 418, - "column": 54 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 17414, - "end": 17423, - "loc": { - "start": { - "line": 418, - "column": 55 - }, - "end": { - "line": 418, - "column": 64 - }, - "identifierName": "tilesList" + "column": 53 }, - "name": "tilesList" + "identifierName": "stats" }, - "computed": false + "name": "stats" }, "property": { "type": "Identifier", - "start": 17424, - "end": 17430, + "start": 17393, + "end": 17403, "loc": { "start": { "line": 418, - "column": 65 + "column": 54 }, "end": { "line": 418, - "column": 71 + "column": 64 }, - "identifierName": "length" + "identifierName": "numNormals" }, - "name": "length" + "name": "numNormals" }, "computed": false } @@ -45741,8 +45851,8 @@ }, { "type": "ExpressionStatement", - "start": 17453, - "end": 17494, + "start": 17426, + "end": 17479, "loc": { "start": { "line": 419, @@ -45750,13 +45860,13 @@ }, "end": { "line": 419, - "column": 61 + "column": 73 } }, "expression": { "type": "CallExpression", - "start": 17453, - "end": 17493, + "start": 17426, + "end": 17478, "loc": { "start": { "line": 419, @@ -45764,13 +45874,13 @@ }, "end": { "line": 419, - "column": 60 + "column": 72 } }, "callee": { "type": "Identifier", - "start": 17453, - "end": 17456, + "start": 17426, + "end": 17429, "loc": { "start": { "line": 419, @@ -45787,8 +45897,8 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17457, - "end": 17492, + "start": 17430, + "end": 17477, "loc": { "start": { "line": 419, @@ -45796,13 +45906,13 @@ }, "end": { "line": 419, - "column": 59 + "column": 71 } }, "left": { "type": "StringLiteral", - "start": 17457, - "end": 17472, + "start": 17430, + "end": 17449, "loc": { "start": { "line": 419, @@ -45810,6 +45920,174 @@ }, "end": { "line": 419, + "column": 43 + } + }, + "extra": { + "rawValue": "Converted tiles: ", + "raw": "\"Converted tiles: \"" + }, + "value": "Converted tiles: " + }, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 17452, + "end": 17477, + "loc": { + "start": { + "line": 419, + "column": 46 + }, + "end": { + "line": 419, + "column": 71 + } + }, + "object": { + "type": "MemberExpression", + "start": 17452, + "end": 17470, + "loc": { + "start": { + "line": 419, + "column": 46 + }, + "end": { + "line": 419, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 17452, + "end": 17460, + "loc": { + "start": { + "line": 419, + "column": 46 + }, + "end": { + "line": 419, + "column": 54 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + "property": { + "type": "Identifier", + "start": 17461, + "end": 17470, + "loc": { + "start": { + "line": 419, + "column": 55 + }, + "end": { + "line": 419, + "column": 64 + }, + "identifierName": "tilesList" + }, + "name": "tilesList" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 17471, + "end": 17477, + "loc": { + "start": { + "line": 419, + "column": 65 + }, + "end": { + "line": 419, + "column": 71 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 17500, + "end": 17541, + "loc": { + "start": { + "line": 420, + "column": 20 + }, + "end": { + "line": 420, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 17500, + "end": 17540, + "loc": { + "start": { + "line": 420, + "column": 20 + }, + "end": { + "line": 420, + "column": 60 + } + }, + "callee": { + "type": "Identifier", + "start": 17500, + "end": 17503, + "loc": { + "start": { + "line": 420, + "column": 20 + }, + "end": { + "line": 420, + "column": 23 + }, + "identifierName": "log" + }, + "name": "log" + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 17504, + "end": 17539, + "loc": { + "start": { + "line": 420, + "column": 24 + }, + "end": { + "line": 420, + "column": 59 + } + }, + "left": { + "type": "StringLiteral", + "start": 17504, + "end": 17519, + "loc": { + "start": { + "line": 420, + "column": 24 + }, + "end": { + "line": 420, "column": 39 } }, @@ -45822,29 +46100,29 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 17475, - "end": 17492, + "start": 17522, + "end": 17539, "loc": { "start": { - "line": 419, + "line": 420, "column": 42 }, "end": { - "line": 419, + "line": 420, "column": 59 } }, "object": { "type": "Identifier", - "start": 17475, - "end": 17480, + "start": 17522, + "end": 17527, "loc": { "start": { - "line": 419, + "line": 420, "column": 42 }, "end": { - "line": 419, + "line": 420, "column": 47 }, "identifierName": "stats" @@ -45853,15 +46131,15 @@ }, "property": { "type": "Identifier", - "start": 17481, - "end": 17492, + "start": 17528, + "end": 17539, "loc": { "start": { - "line": 419, + "line": 420, "column": 48 }, "end": { - "line": 419, + "line": 420, "column": 59 }, "identifierName": "minTileSize" @@ -45876,29 +46154,29 @@ }, { "type": "IfStatement", - "start": 17516, - "end": 17912, + "start": 17563, + "end": 17959, "loc": { "start": { - "line": 421, + "line": 422, "column": 20 }, "end": { - "line": 428, + "line": 429, "column": 21 } }, "test": { "type": "Identifier", - "start": 17520, - "end": 17526, + "start": 17567, + "end": 17573, "loc": { "start": { - "line": 421, + "line": 422, "column": 24 }, "end": { - "line": 421, + "line": 422, "column": 30 }, "identifierName": "output" @@ -45907,59 +46185,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 17528, - "end": 17912, + "start": 17575, + "end": 17959, "loc": { "start": { - "line": 421, + "line": 422, "column": 32 }, "end": { - "line": 428, + "line": 429, "column": 21 } }, "body": [ { "type": "VariableDeclaration", - "start": 17554, - "end": 17593, + "start": 17601, + "end": 17640, "loc": { "start": { - "line": 422, + "line": 423, "column": 24 }, "end": { - "line": 422, + "line": 423, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 17560, - "end": 17592, + "start": 17607, + "end": 17639, "loc": { "start": { - "line": 422, + "line": 423, "column": 30 }, "end": { - "line": 422, + "line": 423, "column": 62 } }, "id": { "type": "Identifier", - "start": 17560, - "end": 17569, + "start": 17607, + "end": 17616, "loc": { "start": { - "line": 422, + "line": 423, "column": 30 }, "end": { - "line": 422, + "line": 423, "column": 39 }, "identifierName": "outputDir" @@ -45968,43 +46246,43 @@ }, "init": { "type": "CallExpression", - "start": 17572, - "end": 17592, + "start": 17619, + "end": 17639, "loc": { "start": { - "line": 422, + "line": 423, "column": 42 }, "end": { - "line": 422, + "line": 423, "column": 62 } }, "callee": { "type": "MemberExpression", - "start": 17572, - "end": 17584, + "start": 17619, + "end": 17631, "loc": { "start": { - "line": 422, + "line": 423, "column": 42 }, "end": { - "line": 422, + "line": 423, "column": 54 } }, "object": { "type": "Identifier", - "start": 17572, - "end": 17576, + "start": 17619, + "end": 17623, "loc": { "start": { - "line": 422, + "line": 423, "column": 42 }, "end": { - "line": 422, + "line": 423, "column": 46 }, "identifierName": "path" @@ -46013,15 +46291,15 @@ }, "property": { "type": "Identifier", - "start": 17577, - "end": 17584, + "start": 17624, + "end": 17631, "loc": { "start": { - "line": 422, + "line": 423, "column": 47 }, "end": { - "line": 422, + "line": 423, "column": 54 }, "identifierName": "dirname" @@ -46033,15 +46311,15 @@ "arguments": [ { "type": "Identifier", - "start": 17585, - "end": 17591, + "start": 17632, + "end": 17638, "loc": { "start": { - "line": 422, + "line": 423, "column": 55 }, "end": { - "line": 422, + "line": 423, "column": 61 }, "identifierName": "output" @@ -46056,57 +46334,57 @@ }, { "type": "IfStatement", - "start": 17618, - "end": 17768, + "start": 17665, + "end": 17815, "loc": { "start": { - "line": 423, + "line": 424, "column": 24 }, "end": { - "line": 425, + "line": 426, "column": 25 } }, "test": { "type": "LogicalExpression", - "start": 17622, - "end": 17667, + "start": 17669, + "end": 17714, "loc": { "start": { - "line": 423, + "line": 424, "column": 28 }, "end": { - "line": 423, + "line": 424, "column": 73 } }, "left": { "type": "BinaryExpression", - "start": 17622, - "end": 17638, + "start": 17669, + "end": 17685, "loc": { "start": { - "line": 423, + "line": 424, "column": 28 }, "end": { - "line": 423, + "line": 424, "column": 44 } }, "left": { "type": "Identifier", - "start": 17622, - "end": 17631, + "start": 17669, + "end": 17678, "loc": { "start": { - "line": 423, + "line": 424, "column": 28 }, "end": { - "line": 423, + "line": 424, "column": 37 }, "identifierName": "outputDir" @@ -46116,15 +46394,15 @@ "operator": "!==", "right": { "type": "StringLiteral", - "start": 17636, - "end": 17638, + "start": 17683, + "end": 17685, "loc": { "start": { - "line": 423, + "line": 424, "column": 42 }, "end": { - "line": 423, + "line": 424, "column": 44 } }, @@ -46138,15 +46416,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 17642, - "end": 17667, + "start": 17689, + "end": 17714, "loc": { "start": { - "line": 423, + "line": 424, "column": 48 }, "end": { - "line": 423, + "line": 424, "column": 73 } }, @@ -46154,43 +46432,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 17643, - "end": 17667, + "start": 17690, + "end": 17714, "loc": { "start": { - "line": 423, + "line": 424, "column": 49 }, "end": { - "line": 423, + "line": 424, "column": 73 } }, "callee": { "type": "MemberExpression", - "start": 17643, - "end": 17656, + "start": 17690, + "end": 17703, "loc": { "start": { - "line": 423, + "line": 424, "column": 49 }, "end": { - "line": 423, + "line": 424, "column": 62 } }, "object": { "type": "Identifier", - "start": 17643, - "end": 17645, + "start": 17690, + "end": 17692, "loc": { "start": { - "line": 423, + "line": 424, "column": 49 }, "end": { - "line": 423, + "line": 424, "column": 51 }, "identifierName": "fs" @@ -46199,15 +46477,15 @@ }, "property": { "type": "Identifier", - "start": 17646, - "end": 17656, + "start": 17693, + "end": 17703, "loc": { "start": { - "line": 423, + "line": 424, "column": 52 }, "end": { - "line": 423, + "line": 424, "column": 62 }, "identifierName": "existsSync" @@ -46219,15 +46497,15 @@ "arguments": [ { "type": "Identifier", - "start": 17657, - "end": 17666, + "start": 17704, + "end": 17713, "loc": { "start": { - "line": 423, + "line": 424, "column": 63 }, "end": { - "line": 423, + "line": 424, "column": 72 }, "identifierName": "outputDir" @@ -46243,72 +46521,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 17669, - "end": 17768, + "start": 17716, + "end": 17815, "loc": { "start": { - "line": 423, + "line": 424, "column": 75 }, "end": { - "line": 425, + "line": 426, "column": 25 } }, "body": [ { "type": "ExpressionStatement", - "start": 17699, - "end": 17742, + "start": 17746, + "end": 17789, "loc": { "start": { - "line": 424, + "line": 425, "column": 28 }, "end": { - "line": 424, + "line": 425, "column": 71 } }, "expression": { "type": "CallExpression", - "start": 17699, - "end": 17741, + "start": 17746, + "end": 17788, "loc": { "start": { - "line": 424, + "line": 425, "column": 28 }, "end": { - "line": 424, + "line": 425, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 17699, - "end": 17711, + "start": 17746, + "end": 17758, "loc": { "start": { - "line": 424, + "line": 425, "column": 28 }, "end": { - "line": 424, + "line": 425, "column": 40 } }, "object": { "type": "Identifier", - "start": 17699, - "end": 17701, + "start": 17746, + "end": 17748, "loc": { "start": { - "line": 424, + "line": 425, "column": 28 }, "end": { - "line": 424, + "line": 425, "column": 30 }, "identifierName": "fs" @@ -46317,15 +46595,15 @@ }, "property": { "type": "Identifier", - "start": 17702, - "end": 17711, + "start": 17749, + "end": 17758, "loc": { "start": { - "line": 424, + "line": 425, "column": 31 }, "end": { - "line": 424, + "line": 425, "column": 40 }, "identifierName": "mkdirSync" @@ -46337,15 +46615,15 @@ "arguments": [ { "type": "Identifier", - "start": 17712, - "end": 17721, + "start": 17759, + "end": 17768, "loc": { "start": { - "line": 424, + "line": 425, "column": 41 }, "end": { - "line": 424, + "line": 425, "column": 50 }, "identifierName": "outputDir" @@ -46354,30 +46632,30 @@ }, { "type": "ObjectExpression", - "start": 17723, - "end": 17740, + "start": 17770, + "end": 17787, "loc": { "start": { - "line": 424, + "line": 425, "column": 52 }, "end": { - "line": 424, + "line": 425, "column": 69 } }, "properties": [ { "type": "ObjectProperty", - "start": 17724, - "end": 17739, + "start": 17771, + "end": 17786, "loc": { "start": { - "line": 424, + "line": 425, "column": 53 }, "end": { - "line": 424, + "line": 425, "column": 68 } }, @@ -46386,15 +46664,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 17724, - "end": 17733, + "start": 17771, + "end": 17780, "loc": { "start": { - "line": 424, + "line": 425, "column": 53 }, "end": { - "line": 424, + "line": 425, "column": 62 }, "identifierName": "recursive" @@ -46403,15 +46681,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 17735, - "end": 17739, + "start": 17782, + "end": 17786, "loc": { "start": { - "line": 424, + "line": 425, "column": 64 }, "end": { - "line": 424, + "line": 425, "column": 68 } }, @@ -46430,43 +46708,43 @@ }, { "type": "ExpressionStatement", - "start": 17793, - "end": 17828, + "start": 17840, + "end": 17875, "loc": { "start": { - "line": 426, + "line": 427, "column": 24 }, "end": { - "line": 426, + "line": 427, "column": 59 } }, "expression": { "type": "CallExpression", - "start": 17793, - "end": 17827, + "start": 17840, + "end": 17874, "loc": { "start": { - "line": 426, + "line": 427, "column": 24 }, "end": { - "line": 426, + "line": 427, "column": 58 } }, "callee": { "type": "Identifier", - "start": 17793, - "end": 17796, + "start": 17840, + "end": 17843, "loc": { "start": { - "line": 426, + "line": 427, "column": 24 }, "end": { - "line": 426, + "line": 427, "column": 27 }, "identifierName": "log" @@ -46476,29 +46754,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 17797, - "end": 17826, + "start": 17844, + "end": 17873, "loc": { "start": { - "line": 426, + "line": 427, "column": 28 }, "end": { - "line": 426, + "line": 427, "column": 57 } }, "left": { "type": "StringLiteral", - "start": 17797, - "end": 17817, + "start": 17844, + "end": 17864, "loc": { "start": { - "line": 426, + "line": 427, "column": 28 }, "end": { - "line": 426, + "line": 427, "column": 48 } }, @@ -46511,15 +46789,15 @@ "operator": "+", "right": { "type": "Identifier", - "start": 17820, - "end": 17826, + "start": 17867, + "end": 17873, "loc": { "start": { - "line": 426, + "line": 427, "column": 51 }, "end": { - "line": 426, + "line": 427, "column": 57 }, "identifierName": "output" @@ -46532,57 +46810,57 @@ }, { "type": "ExpressionStatement", - "start": 17853, - "end": 17890, + "start": 17900, + "end": 17937, "loc": { "start": { - "line": 427, + "line": 428, "column": 24 }, "end": { - "line": 427, + "line": 428, "column": 61 } }, "expression": { "type": "CallExpression", - "start": 17853, - "end": 17889, + "start": 17900, + "end": 17936, "loc": { "start": { - "line": 427, + "line": 428, "column": 24 }, "end": { - "line": 427, + "line": 428, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 17853, - "end": 17869, + "start": 17900, + "end": 17916, "loc": { "start": { - "line": 427, + "line": 428, "column": 24 }, "end": { - "line": 427, + "line": 428, "column": 40 } }, "object": { "type": "Identifier", - "start": 17853, - "end": 17855, + "start": 17900, + "end": 17902, "loc": { "start": { - "line": 427, + "line": 428, "column": 24 }, "end": { - "line": 427, + "line": 428, "column": 26 }, "identifierName": "fs" @@ -46591,15 +46869,15 @@ }, "property": { "type": "Identifier", - "start": 17856, - "end": 17869, + "start": 17903, + "end": 17916, "loc": { "start": { - "line": 427, + "line": 428, "column": 27 }, "end": { - "line": 427, + "line": 428, "column": 40 }, "identifierName": "writeFileSync" @@ -46611,15 +46889,15 @@ "arguments": [ { "type": "Identifier", - "start": 17870, - "end": 17876, + "start": 17917, + "end": 17923, "loc": { "start": { - "line": 427, + "line": 428, "column": 41 }, "end": { - "line": 427, + "line": 428, "column": 47 }, "identifierName": "output" @@ -46628,15 +46906,15 @@ }, { "type": "Identifier", - "start": 17878, - "end": 17888, + "start": 17925, + "end": 17935, "loc": { "start": { - "line": 427, + "line": 428, "column": 49 }, "end": { - "line": 427, + "line": 428, "column": 59 }, "identifierName": "xktContent" @@ -46653,29 +46931,29 @@ }, { "type": "IfStatement", - "start": 17934, - "end": 18027, + "start": 17981, + "end": 18074, "loc": { "start": { - "line": 430, + "line": 431, "column": 20 }, "end": { - "line": 432, + "line": 433, "column": 21 } }, "test": { "type": "Identifier", - "start": 17938, - "end": 17952, + "start": 17985, + "end": 17999, "loc": { "start": { - "line": 430, + "line": 431, "column": 24 }, "end": { - "line": 430, + "line": 431, "column": 38 }, "identifierName": "outputXKTModel" @@ -46684,58 +46962,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 17954, - "end": 18027, + "start": 18001, + "end": 18074, "loc": { "start": { - "line": 430, + "line": 431, "column": 40 }, "end": { - "line": 432, + "line": 433, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 17980, - "end": 18005, + "start": 18027, + "end": 18052, "loc": { "start": { - "line": 431, + "line": 432, "column": 24 }, "end": { - "line": 431, + "line": 432, "column": 49 } }, "expression": { "type": "CallExpression", - "start": 17980, - "end": 18004, + "start": 18027, + "end": 18051, "loc": { "start": { - "line": 431, + "line": 432, "column": 24 }, "end": { - "line": 431, + "line": 432, "column": 48 } }, "callee": { "type": "Identifier", - "start": 17980, - "end": 17994, + "start": 18027, + "end": 18041, "loc": { "start": { - "line": 431, + "line": 432, "column": 24 }, "end": { - "line": 431, + "line": 432, "column": 38 }, "identifierName": "outputXKTModel" @@ -46745,15 +47023,15 @@ "arguments": [ { "type": "Identifier", - "start": 17995, - "end": 18003, + "start": 18042, + "end": 18050, "loc": { "start": { - "line": 431, + "line": 432, "column": 39 }, "end": { - "line": 431, + "line": 432, "column": 47 }, "identifierName": "xktModel" @@ -46770,29 +47048,29 @@ }, { "type": "IfStatement", - "start": 18049, - "end": 18134, + "start": 18096, + "end": 18181, "loc": { "start": { - "line": 434, + "line": 435, "column": 20 }, "end": { - "line": 436, + "line": 437, "column": 21 } }, "test": { "type": "Identifier", - "start": 18053, - "end": 18062, + "start": 18100, + "end": 18109, "loc": { "start": { - "line": 434, + "line": 435, "column": 24 }, "end": { - "line": 434, + "line": 435, "column": 33 }, "identifierName": "outputXKT" @@ -46801,58 +47079,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 18064, - "end": 18134, + "start": 18111, + "end": 18181, "loc": { "start": { - "line": 434, + "line": 435, "column": 35 }, "end": { - "line": 436, + "line": 437, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 18090, - "end": 18112, + "start": 18137, + "end": 18159, "loc": { "start": { - "line": 435, + "line": 436, "column": 24 }, "end": { - "line": 435, + "line": 436, "column": 46 } }, "expression": { "type": "CallExpression", - "start": 18090, - "end": 18111, + "start": 18137, + "end": 18158, "loc": { "start": { - "line": 435, + "line": 436, "column": 24 }, "end": { - "line": 435, + "line": 436, "column": 45 } }, "callee": { "type": "Identifier", - "start": 18090, - "end": 18099, + "start": 18137, + "end": 18146, "loc": { "start": { - "line": 435, + "line": 436, "column": 24 }, "end": { - "line": 435, + "line": 436, "column": 33 }, "identifierName": "outputXKT" @@ -46862,15 +47140,15 @@ "arguments": [ { "type": "Identifier", - "start": 18100, - "end": 18110, + "start": 18147, + "end": 18157, "loc": { "start": { - "line": 435, + "line": 436, "column": 34 }, "end": { - "line": 435, + "line": 436, "column": 44 }, "identifierName": "xktContent" @@ -46887,29 +47165,29 @@ }, { "type": "IfStatement", - "start": 18156, - "end": 18240, + "start": 18203, + "end": 18287, "loc": { "start": { - "line": 438, + "line": 439, "column": 20 }, "end": { - "line": 440, + "line": 441, "column": 21 } }, "test": { "type": "Identifier", - "start": 18160, - "end": 18171, + "start": 18207, + "end": 18218, "loc": { "start": { - "line": 438, + "line": 439, "column": 24 }, "end": { - "line": 438, + "line": 439, "column": 35 }, "identifierName": "outputStats" @@ -46918,58 +47196,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 18173, - "end": 18240, + "start": 18220, + "end": 18287, "loc": { "start": { - "line": 438, + "line": 439, "column": 37 }, "end": { - "line": 440, + "line": 441, "column": 21 } }, "body": [ { "type": "ExpressionStatement", - "start": 18199, - "end": 18218, + "start": 18246, + "end": 18265, "loc": { "start": { - "line": 439, + "line": 440, "column": 24 }, "end": { - "line": 439, + "line": 440, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 18199, - "end": 18217, + "start": 18246, + "end": 18264, "loc": { "start": { - "line": 439, + "line": 440, "column": 24 }, "end": { - "line": 439, + "line": 440, "column": 42 } }, "callee": { "type": "Identifier", - "start": 18199, - "end": 18210, + "start": 18246, + "end": 18257, "loc": { "start": { - "line": 439, + "line": 440, "column": 24 }, "end": { - "line": 439, + "line": 440, "column": 35 }, "identifierName": "outputStats" @@ -46979,15 +47257,15 @@ "arguments": [ { "type": "Identifier", - "start": 18211, - "end": 18216, + "start": 18258, + "end": 18263, "loc": { "start": { - "line": 439, + "line": 440, "column": 36 }, "end": { - "line": 439, + "line": 440, "column": 41 }, "identifierName": "stats" @@ -47004,43 +47282,43 @@ }, { "type": "ExpressionStatement", - "start": 18262, - "end": 18272, + "start": 18309, + "end": 18319, "loc": { "start": { - "line": 442, + "line": 443, "column": 20 }, "end": { - "line": 442, + "line": 443, "column": 30 } }, "expression": { "type": "CallExpression", - "start": 18262, - "end": 18271, + "start": 18309, + "end": 18318, "loc": { "start": { - "line": 442, + "line": 443, "column": 20 }, "end": { - "line": 442, + "line": 443, "column": 29 } }, "callee": { "type": "Identifier", - "start": 18262, - "end": 18269, + "start": 18309, + "end": 18316, "loc": { "start": { - "line": 442, + "line": 443, "column": 20 }, "end": { - "line": 442, + "line": 443, "column": 27 }, "identifierName": "resolve" @@ -47063,15 +47341,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 18308, - "end": 18361, + "start": 18355, + "end": 18408, "loc": { "start": { - "line": 444, + "line": 445, "column": 15 }, "end": { - "line": 446, + "line": 447, "column": 13 } }, @@ -47082,15 +47360,15 @@ "params": [ { "type": "Identifier", - "start": 18309, - "end": 18312, + "start": 18356, + "end": 18359, "loc": { "start": { - "line": 444, + "line": 445, "column": 16 }, "end": { - "line": 444, + "line": 445, "column": 19 }, "identifierName": "err" @@ -47100,58 +47378,58 @@ ], "body": { "type": "BlockStatement", - "start": 18317, - "end": 18361, + "start": 18364, + "end": 18408, "loc": { "start": { - "line": 444, + "line": 445, "column": 24 }, "end": { - "line": 446, + "line": 447, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 18335, - "end": 18347, + "start": 18382, + "end": 18394, "loc": { "start": { - "line": 445, + "line": 446, "column": 16 }, "end": { - "line": 445, + "line": 446, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 18335, - "end": 18346, + "start": 18382, + "end": 18393, "loc": { "start": { - "line": 445, + "line": 446, "column": 16 }, "end": { - "line": 445, + "line": 446, "column": 27 } }, "callee": { "type": "Identifier", - "start": 18335, - "end": 18341, + "start": 18382, + "end": 18388, "loc": { "start": { - "line": 445, + "line": 446, "column": 16 }, "end": { - "line": 445, + "line": 446, "column": 22 }, "identifierName": "reject" @@ -47161,15 +47439,15 @@ "arguments": [ { "type": "Identifier", - "start": 18342, - "end": 18345, + "start": 18389, + "end": 18392, "loc": { "start": { - "line": 445, + "line": 446, "column": 23 }, "end": { - "line": 445, + "line": 446, "column": 26 }, "identifierName": "err" @@ -47247,15 +47525,15 @@ { "type": "CommentLine", "value": " case \"gltf\":", - "start": 11458, - "end": 11473, + "start": 11495, + "end": 11510, "loc": { "start": { - "line": 273, + "line": 274, "column": 12 }, "end": { - "line": 273, + "line": 274, "column": 27 } } @@ -47263,15 +47541,15 @@ { "type": "CommentLine", "value": " const gltfJSON = JSON.parse(sourceData);", - "start": 11486, - "end": 11533, + "start": 11523, + "end": 11570, "loc": { "start": { - "line": 274, + "line": 275, "column": 12 }, "end": { - "line": 274, + "line": 275, "column": 59 } } @@ -47279,15 +47557,15 @@ { "type": "CommentLine", "value": " const gltfBasePath = source ? getBasePath(source) : \"\";", - "start": 11546, - "end": 11608, + "start": 11583, + "end": 11645, "loc": { "start": { - "line": 275, + "line": 276, "column": 12 }, "end": { - "line": 275, + "line": 276, "column": 74 } } @@ -47295,15 +47573,15 @@ { "type": "CommentLine", "value": " convert(parseGLTFIntoXKTModel, {", - "start": 11621, - "end": 11660, + "start": 11658, + "end": 11697, "loc": { "start": { - "line": 276, + "line": 277, "column": 12 }, "end": { - "line": 276, + "line": 277, "column": 51 } } @@ -47311,15 +47589,15 @@ { "type": "CommentLine", "value": " baseUri: gltfBasePath,", - "start": 11673, - "end": 11706, + "start": 11710, + "end": 11743, "loc": { "start": { - "line": 277, + "line": 278, "column": 12 }, "end": { - "line": 277, + "line": 278, "column": 45 } } @@ -47327,15 +47605,15 @@ { "type": "CommentLine", "value": " data: gltfJSON,", - "start": 11719, - "end": 11745, + "start": 11756, + "end": 11782, "loc": { "start": { - "line": 278, + "line": 279, "column": 12 }, "end": { - "line": 278, + "line": 279, "column": 38 } } @@ -47343,15 +47621,15 @@ { "type": "CommentLine", "value": " reuseGeometries,", - "start": 11758, - "end": 11785, + "start": 11795, + "end": 11822, "loc": { "start": { - "line": 279, + "line": 280, "column": 12 }, "end": { - "line": 279, + "line": 280, "column": 39 } } @@ -47359,15 +47637,15 @@ { "type": "CommentLine", "value": " includeTextures,", - "start": 11798, - "end": 11825, + "start": 11835, + "end": 11862, "loc": { "start": { - "line": 280, + "line": 281, "column": 12 }, "end": { - "line": 280, + "line": 281, "column": 39 } } @@ -47375,15 +47653,15 @@ { "type": "CommentLine", "value": " includeNormals,", - "start": 11838, - "end": 11864, + "start": 11875, + "end": 11901, "loc": { "start": { - "line": 281, + "line": 282, "column": 12 }, "end": { - "line": 281, + "line": 282, "column": 38 } } @@ -47391,15 +47669,15 @@ { "type": "CommentLine", "value": " metaModelData: metaModelJSON,", - "start": 11877, - "end": 11917, + "start": 11914, + "end": 11954, "loc": { "start": { - "line": 282, + "line": 283, "column": 12 }, "end": { - "line": 282, + "line": 283, "column": 52 } } @@ -47407,15 +47685,15 @@ { "type": "CommentLine", "value": " xktModel,", - "start": 11930, - "end": 11950, + "start": 11967, + "end": 11987, "loc": { "start": { - "line": 283, + "line": 284, "column": 12 }, "end": { - "line": 283, + "line": 284, "column": 32 } } @@ -47423,15 +47701,15 @@ { "type": "CommentLine", "value": " getAttachment: async (name) => {", - "start": 11963, - "end": 12006, + "start": 12000, + "end": 12043, "loc": { "start": { - "line": 284, + "line": 285, "column": 12 }, "end": { - "line": 284, + "line": 285, "column": 55 } } @@ -47439,15 +47717,15 @@ { "type": "CommentLine", "value": " const filePath = gltfBasePath + name;", - "start": 12019, - "end": 12071, + "start": 12056, + "end": 12108, "loc": { "start": { - "line": 285, + "line": 286, "column": 12 }, "end": { - "line": 285, + "line": 286, "column": 64 } } @@ -47455,15 +47733,15 @@ { "type": "CommentLine", "value": " log(`Reading attachment file: ${filePath}`);", - "start": 12084, - "end": 12143, + "start": 12121, + "end": 12180, "loc": { "start": { - "line": 286, + "line": 287, "column": 12 }, "end": { - "line": 286, + "line": 287, "column": 71 } } @@ -47471,15 +47749,15 @@ { "type": "CommentLine", "value": " const buffer = fs.readFileSync(filePath);", - "start": 12156, - "end": 12212, + "start": 12193, + "end": 12249, "loc": { "start": { - "line": 287, + "line": 288, "column": 12 }, "end": { - "line": 287, + "line": 288, "column": 68 } } @@ -47487,15 +47765,15 @@ { "type": "CommentLine", "value": " const arrayBuf = toArrayBuffer(buffer);", - "start": 12225, - "end": 12279, + "start": 12262, + "end": 12316, "loc": { "start": { - "line": 288, + "line": 289, "column": 12 }, "end": { - "line": 288, + "line": 289, "column": 66 } } @@ -47503,15 +47781,15 @@ { "type": "CommentLine", "value": " return arrayBuf;", - "start": 12292, - "end": 12323, + "start": 12329, + "end": 12360, "loc": { "start": { - "line": 289, + "line": 290, "column": 12 }, "end": { - "line": 289, + "line": 290, "column": 43 } } @@ -47519,15 +47797,15 @@ { "type": "CommentLine", "value": " },", - "start": 12336, - "end": 12349, + "start": 12373, + "end": 12386, "loc": { "start": { - "line": 290, + "line": 291, "column": 12 }, "end": { - "line": 290, + "line": 291, "column": 25 } } @@ -47535,15 +47813,15 @@ { "type": "CommentLine", "value": " stats,", - "start": 12362, - "end": 12379, + "start": 12399, + "end": 12416, "loc": { "start": { - "line": 291, + "line": 292, "column": 12 }, "end": { - "line": 291, + "line": 292, "column": 29 } } @@ -47551,15 +47829,15 @@ { "type": "CommentLine", "value": " log", - "start": 12392, - "end": 12406, + "start": 12429, + "end": 12443, "loc": { "start": { - "line": 292, + "line": 293, "column": 12 }, "end": { - "line": 292, + "line": 293, "column": 26 } } @@ -47567,15 +47845,15 @@ { "type": "CommentLine", "value": " });", - "start": 12419, - "end": 12429, + "start": 12456, + "end": 12466, "loc": { "start": { - "line": 293, + "line": 294, "column": 12 }, "end": { - "line": 293, + "line": 294, "column": 22 } } @@ -47583,15 +47861,15 @@ { "type": "CommentLine", "value": " break;", - "start": 12442, - "end": 12455, + "start": 12479, + "end": 12492, "loc": { "start": { - "line": 294, + "line": 295, "column": 12 }, "end": { - "line": 294, + "line": 295, "column": 25 } } @@ -51476,7 +51754,7 @@ "postfix": false, "binop": null }, - "value": "log", + "value": "zip", "start": 5935, "end": 5938, "loc": { @@ -51519,8 +51797,8 @@ }, { "type": { - "label": "function", - "keyword": "function", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -51528,11 +51806,12 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", + "value": "true", "start": 5941, - "end": 5949, + "end": 5945, "loc": { "start": { "line": 96, @@ -51540,32 +51819,33 @@ }, "end": { "line": 96, - "column": 39 + "column": 35 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5950, - "end": 5951, + "start": 5945, + "end": 5946, "loc": { "start": { "line": 96, - "column": 40 + "column": 35 }, "end": { "line": 96, - "column": 41 + "column": 36 } } }, @@ -51581,49 +51861,52 @@ "postfix": false, "binop": null }, - "value": "msg", - "start": 5951, - "end": 5954, + "value": "log", + "start": 5972, + "end": 5975, "loc": { "start": { - "line": 96, - "column": 41 + "line": 97, + "column": 25 }, "end": { - "line": 96, - "column": 44 + "line": 97, + "column": 28 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5954, - "end": 5955, + "value": "=", + "start": 5976, + "end": 5977, "loc": { "start": { - "line": 96, - "column": 44 + "line": 97, + "column": 29 }, "end": { - "line": 96, - "column": 45 + "line": 97, + "column": 30 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "function", + "keyword": "function", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -51632,24 +51915,25 @@ "postfix": false, "binop": null }, - "start": 5956, - "end": 5957, + "value": "function", + "start": 5978, + "end": 5986, "loc": { "start": { - "line": 96, - "column": 46 + "line": 97, + "column": 31 }, "end": { - "line": 96, - "column": 47 + "line": 97, + "column": 39 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51657,24 +51941,24 @@ "postfix": false, "binop": null }, - "start": 5983, - "end": 5984, + "start": 5987, + "end": 5988, "loc": { "start": { "line": 97, - "column": 25 + "column": 40 }, "end": { "line": 97, - "column": 26 + "column": 41 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51682,16 +51966,17 @@ "postfix": false, "binop": null }, - "start": 6006, - "end": 6007, + "value": "msg", + "start": 5988, + "end": 5991, "loc": { "start": { - "line": 98, - "column": 21 + "line": 97, + "column": 41 }, "end": { - "line": 98, - "column": 22 + "line": 97, + "column": 44 } } }, @@ -51707,16 +51992,16 @@ "postfix": false, "binop": null }, - "start": 6007, - "end": 6008, + "start": 5991, + "end": 5992, "loc": { "start": { - "line": 98, - "column": 22 + "line": 97, + "column": 44 }, "end": { - "line": 98, - "column": 23 + "line": 97, + "column": 45 } } }, @@ -51732,24 +52017,24 @@ "postfix": false, "binop": null }, - "start": 6009, - "end": 6010, + "start": 5993, + "end": 5994, "loc": { "start": { - "line": 98, - "column": 24 + "line": 97, + "column": 46 }, "end": { - "line": 98, - "column": 25 + "line": 97, + "column": 47 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51757,23 +52042,22 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 6016, + "start": 6020, "end": 6021, "loc": { "start": { - "line": 100, - "column": 4 + "line": 98, + "column": 25 }, "end": { - "line": 100, - "column": 9 + "line": 98, + "column": 26 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -51781,125 +52065,68 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6021, - "end": 6022, - "loc": { - "start": { - "line": 100, - "column": 9 - }, - "end": { - "line": 100, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "sourceFormat", - "start": 6022, - "end": 6034, + "start": 6043, + "end": 6044, "loc": { "start": { - "line": 100, - "column": 10 + "line": 99, + "column": 21 }, "end": { - "line": 100, + "line": 99, "column": 22 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 6035, - "end": 6036, - "loc": { - "start": { - "line": 100, - "column": 23 - }, - "end": { - "line": 100, - "column": 24 - } - } - }, - { - "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 6037, - "end": 6039, + "start": 6044, + "end": 6045, "loc": { "start": { - "line": 100, - "column": 25 + "line": 99, + "column": 22 }, "end": { - "line": 100, - "column": 27 + "line": 99, + "column": 23 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6039, - "end": 6040, + "start": 6046, + "end": 6047, "loc": { "start": { - "line": 100, - "column": 27 + "line": 99, + "column": 24 }, "end": { - "line": 100, - "column": 28 + "line": 99, + "column": 25 } } }, @@ -51916,8 +52143,8 @@ "binop": null }, "value": "stats", - "start": 6045, - "end": 6050, + "start": 6053, + "end": 6058, "loc": { "start": { "line": 101, @@ -51942,8 +52169,8 @@ "binop": null, "updateContext": null }, - "start": 6050, - "end": 6051, + "start": 6058, + "end": 6059, "loc": { "start": { "line": 101, @@ -51967,9 +52194,9 @@ "postfix": false, "binop": null }, - "value": "schemaVersion", - "start": 6051, - "end": 6064, + "value": "sourceFormat", + "start": 6059, + "end": 6071, "loc": { "start": { "line": 101, @@ -51977,7 +52204,7 @@ }, "end": { "line": 101, - "column": 23 + "column": 22 } } }, @@ -51995,16 +52222,16 @@ "updateContext": null }, "value": "=", - "start": 6065, - "end": 6066, + "start": 6072, + "end": 6073, "loc": { "start": { "line": 101, - "column": 24 + "column": 23 }, "end": { "line": 101, - "column": 25 + "column": 24 } } }, @@ -52022,16 +52249,16 @@ "updateContext": null }, "value": "", - "start": 6067, - "end": 6069, + "start": 6074, + "end": 6076, "loc": { "start": { "line": 101, - "column": 26 + "column": 25 }, "end": { "line": 101, - "column": 28 + "column": 27 } } }, @@ -52048,16 +52275,16 @@ "binop": null, "updateContext": null }, - "start": 6069, - "end": 6070, + "start": 6076, + "end": 6077, "loc": { "start": { "line": 101, - "column": 28 + "column": 27 }, "end": { "line": 101, - "column": 29 + "column": 28 } } }, @@ -52074,8 +52301,8 @@ "binop": null }, "value": "stats", - "start": 6075, - "end": 6080, + "start": 6082, + "end": 6087, "loc": { "start": { "line": 102, @@ -52100,8 +52327,8 @@ "binop": null, "updateContext": null }, - "start": 6080, - "end": 6081, + "start": 6087, + "end": 6088, "loc": { "start": { "line": 102, @@ -52125,9 +52352,9 @@ "postfix": false, "binop": null }, - "value": "title", - "start": 6081, - "end": 6086, + "value": "schemaVersion", + "start": 6088, + "end": 6101, "loc": { "start": { "line": 102, @@ -52135,7 +52362,7 @@ }, "end": { "line": 102, - "column": 15 + "column": 23 } } }, @@ -52153,16 +52380,16 @@ "updateContext": null }, "value": "=", - "start": 6087, - "end": 6088, + "start": 6102, + "end": 6103, "loc": { "start": { "line": 102, - "column": 16 + "column": 24 }, "end": { "line": 102, - "column": 17 + "column": 25 } } }, @@ -52180,16 +52407,16 @@ "updateContext": null }, "value": "", - "start": 6089, - "end": 6091, + "start": 6104, + "end": 6106, "loc": { "start": { "line": 102, - "column": 18 + "column": 26 }, "end": { "line": 102, - "column": 20 + "column": 28 } } }, @@ -52206,16 +52433,16 @@ "binop": null, "updateContext": null }, - "start": 6091, - "end": 6092, + "start": 6106, + "end": 6107, "loc": { "start": { "line": 102, - "column": 20 + "column": 28 }, "end": { "line": 102, - "column": 21 + "column": 29 } } }, @@ -52232,8 +52459,8 @@ "binop": null }, "value": "stats", - "start": 6097, - "end": 6102, + "start": 6112, + "end": 6117, "loc": { "start": { "line": 103, @@ -52258,8 +52485,8 @@ "binop": null, "updateContext": null }, - "start": 6102, - "end": 6103, + "start": 6117, + "end": 6118, "loc": { "start": { "line": 103, @@ -52283,9 +52510,9 @@ "postfix": false, "binop": null }, - "value": "author", - "start": 6103, - "end": 6109, + "value": "title", + "start": 6118, + "end": 6123, "loc": { "start": { "line": 103, @@ -52293,7 +52520,7 @@ }, "end": { "line": 103, - "column": 16 + "column": 15 } } }, @@ -52311,16 +52538,16 @@ "updateContext": null }, "value": "=", - "start": 6110, - "end": 6111, + "start": 6124, + "end": 6125, "loc": { "start": { "line": 103, - "column": 17 + "column": 16 }, "end": { "line": 103, - "column": 18 + "column": 17 } } }, @@ -52338,16 +52565,16 @@ "updateContext": null }, "value": "", - "start": 6112, - "end": 6114, + "start": 6126, + "end": 6128, "loc": { "start": { "line": 103, - "column": 19 + "column": 18 }, "end": { "line": 103, - "column": 21 + "column": 20 } } }, @@ -52364,16 +52591,16 @@ "binop": null, "updateContext": null }, - "start": 6114, - "end": 6115, + "start": 6128, + "end": 6129, "loc": { "start": { "line": 103, - "column": 21 + "column": 20 }, "end": { "line": 103, - "column": 22 + "column": 21 } } }, @@ -52390,8 +52617,8 @@ "binop": null }, "value": "stats", - "start": 6120, - "end": 6125, + "start": 6134, + "end": 6139, "loc": { "start": { "line": 104, @@ -52416,8 +52643,8 @@ "binop": null, "updateContext": null }, - "start": 6125, - "end": 6126, + "start": 6139, + "end": 6140, "loc": { "start": { "line": 104, @@ -52441,9 +52668,9 @@ "postfix": false, "binop": null }, - "value": "created", - "start": 6126, - "end": 6133, + "value": "author", + "start": 6140, + "end": 6146, "loc": { "start": { "line": 104, @@ -52451,7 +52678,7 @@ }, "end": { "line": 104, - "column": 17 + "column": 16 } } }, @@ -52469,16 +52696,16 @@ "updateContext": null }, "value": "=", - "start": 6134, - "end": 6135, + "start": 6147, + "end": 6148, "loc": { "start": { "line": 104, - "column": 18 + "column": 17 }, "end": { "line": 104, - "column": 19 + "column": 18 } } }, @@ -52496,16 +52723,16 @@ "updateContext": null }, "value": "", - "start": 6136, - "end": 6138, + "start": 6149, + "end": 6151, "loc": { "start": { "line": 104, - "column": 20 + "column": 19 }, "end": { "line": 104, - "column": 22 + "column": 21 } } }, @@ -52522,16 +52749,16 @@ "binop": null, "updateContext": null }, - "start": 6138, - "end": 6139, + "start": 6151, + "end": 6152, "loc": { "start": { "line": 104, - "column": 22 + "column": 21 }, "end": { "line": 104, - "column": 23 + "column": 22 } } }, @@ -52548,8 +52775,8 @@ "binop": null }, "value": "stats", - "start": 6144, - "end": 6149, + "start": 6157, + "end": 6162, "loc": { "start": { "line": 105, @@ -52574,8 +52801,8 @@ "binop": null, "updateContext": null }, - "start": 6149, - "end": 6150, + "start": 6162, + "end": 6163, "loc": { "start": { "line": 105, @@ -52599,9 +52826,9 @@ "postfix": false, "binop": null }, - "value": "numMetaObjects", - "start": 6150, - "end": 6164, + "value": "created", + "start": 6163, + "end": 6170, "loc": { "start": { "line": 105, @@ -52609,7 +52836,7 @@ }, "end": { "line": 105, - "column": 24 + "column": 17 } } }, @@ -52627,22 +52854,22 @@ "updateContext": null }, "value": "=", - "start": 6165, - "end": 6166, + "start": 6171, + "end": 6172, "loc": { "start": { "line": 105, - "column": 25 + "column": 18 }, "end": { "line": 105, - "column": 26 + "column": 19 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -52653,17 +52880,17 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 6167, - "end": 6168, + "value": "", + "start": 6173, + "end": 6175, "loc": { "start": { "line": 105, - "column": 27 + "column": 20 }, "end": { "line": 105, - "column": 28 + "column": 22 } } }, @@ -52680,16 +52907,16 @@ "binop": null, "updateContext": null }, - "start": 6168, - "end": 6169, + "start": 6175, + "end": 6176, "loc": { "start": { "line": 105, - "column": 28 + "column": 22 }, "end": { "line": 105, - "column": 29 + "column": 23 } } }, @@ -52706,8 +52933,8 @@ "binop": null }, "value": "stats", - "start": 6174, - "end": 6179, + "start": 6181, + "end": 6186, "loc": { "start": { "line": 106, @@ -52732,8 +52959,8 @@ "binop": null, "updateContext": null }, - "start": 6179, - "end": 6180, + "start": 6186, + "end": 6187, "loc": { "start": { "line": 106, @@ -52757,9 +52984,9 @@ "postfix": false, "binop": null }, - "value": "numPropertySets", - "start": 6180, - "end": 6195, + "value": "numMetaObjects", + "start": 6187, + "end": 6201, "loc": { "start": { "line": 106, @@ -52767,7 +52994,7 @@ }, "end": { "line": 106, - "column": 25 + "column": 24 } } }, @@ -52785,16 +53012,16 @@ "updateContext": null }, "value": "=", - "start": 6196, - "end": 6197, + "start": 6202, + "end": 6203, "loc": { "start": { "line": 106, - "column": 26 + "column": 25 }, "end": { "line": 106, - "column": 27 + "column": 26 } } }, @@ -52812,16 +53039,16 @@ "updateContext": null }, "value": 0, - "start": 6198, - "end": 6199, + "start": 6204, + "end": 6205, "loc": { "start": { "line": 106, - "column": 28 + "column": 27 }, "end": { "line": 106, - "column": 29 + "column": 28 } } }, @@ -52838,16 +53065,16 @@ "binop": null, "updateContext": null }, - "start": 6199, - "end": 6200, + "start": 6205, + "end": 6206, "loc": { "start": { "line": 106, - "column": 29 + "column": 28 }, "end": { "line": 106, - "column": 30 + "column": 29 } } }, @@ -52864,8 +53091,8 @@ "binop": null }, "value": "stats", - "start": 6205, - "end": 6210, + "start": 6211, + "end": 6216, "loc": { "start": { "line": 107, @@ -52890,8 +53117,8 @@ "binop": null, "updateContext": null }, - "start": 6210, - "end": 6211, + "start": 6216, + "end": 6217, "loc": { "start": { "line": 107, @@ -52915,9 +53142,9 @@ "postfix": false, "binop": null }, - "value": "numTriangles", - "start": 6211, - "end": 6223, + "value": "numPropertySets", + "start": 6217, + "end": 6232, "loc": { "start": { "line": 107, @@ -52925,7 +53152,7 @@ }, "end": { "line": 107, - "column": 22 + "column": 25 } } }, @@ -52943,16 +53170,16 @@ "updateContext": null }, "value": "=", - "start": 6224, - "end": 6225, + "start": 6233, + "end": 6234, "loc": { "start": { "line": 107, - "column": 23 + "column": 26 }, "end": { "line": 107, - "column": 24 + "column": 27 } } }, @@ -52970,16 +53197,16 @@ "updateContext": null }, "value": 0, - "start": 6226, - "end": 6227, + "start": 6235, + "end": 6236, "loc": { "start": { "line": 107, - "column": 25 + "column": 28 }, "end": { "line": 107, - "column": 26 + "column": 29 } } }, @@ -52996,16 +53223,16 @@ "binop": null, "updateContext": null }, - "start": 6227, - "end": 6228, + "start": 6236, + "end": 6237, "loc": { "start": { "line": 107, - "column": 26 + "column": 29 }, "end": { "line": 107, - "column": 27 + "column": 30 } } }, @@ -53022,8 +53249,8 @@ "binop": null }, "value": "stats", - "start": 6233, - "end": 6238, + "start": 6242, + "end": 6247, "loc": { "start": { "line": 108, @@ -53048,8 +53275,8 @@ "binop": null, "updateContext": null }, - "start": 6238, - "end": 6239, + "start": 6247, + "end": 6248, "loc": { "start": { "line": 108, @@ -53073,9 +53300,9 @@ "postfix": false, "binop": null }, - "value": "numVertices", - "start": 6239, - "end": 6250, + "value": "numTriangles", + "start": 6248, + "end": 6260, "loc": { "start": { "line": 108, @@ -53083,7 +53310,7 @@ }, "end": { "line": 108, - "column": 21 + "column": 22 } } }, @@ -53101,16 +53328,16 @@ "updateContext": null }, "value": "=", - "start": 6251, - "end": 6252, + "start": 6261, + "end": 6262, "loc": { "start": { "line": 108, - "column": 22 + "column": 23 }, "end": { "line": 108, - "column": 23 + "column": 24 } } }, @@ -53128,16 +53355,16 @@ "updateContext": null }, "value": 0, - "start": 6253, - "end": 6254, + "start": 6263, + "end": 6264, "loc": { "start": { "line": 108, - "column": 24 + "column": 25 }, "end": { "line": 108, - "column": 25 + "column": 26 } } }, @@ -53154,16 +53381,16 @@ "binop": null, "updateContext": null }, - "start": 6254, - "end": 6255, + "start": 6264, + "end": 6265, "loc": { "start": { "line": 108, - "column": 25 + "column": 26 }, "end": { "line": 108, - "column": 26 + "column": 27 } } }, @@ -53180,8 +53407,8 @@ "binop": null }, "value": "stats", - "start": 6260, - "end": 6265, + "start": 6270, + "end": 6275, "loc": { "start": { "line": 109, @@ -53206,8 +53433,8 @@ "binop": null, "updateContext": null }, - "start": 6265, - "end": 6266, + "start": 6275, + "end": 6276, "loc": { "start": { "line": 109, @@ -53231,9 +53458,9 @@ "postfix": false, "binop": null }, - "value": "numNormals", - "start": 6266, - "end": 6276, + "value": "numVertices", + "start": 6276, + "end": 6287, "loc": { "start": { "line": 109, @@ -53241,7 +53468,7 @@ }, "end": { "line": 109, - "column": 20 + "column": 21 } } }, @@ -53259,16 +53486,16 @@ "updateContext": null }, "value": "=", - "start": 6277, - "end": 6278, + "start": 6288, + "end": 6289, "loc": { "start": { "line": 109, - "column": 21 + "column": 22 }, "end": { "line": 109, - "column": 22 + "column": 23 } } }, @@ -53286,16 +53513,16 @@ "updateContext": null }, "value": 0, - "start": 6279, - "end": 6280, + "start": 6290, + "end": 6291, "loc": { "start": { "line": 109, - "column": 23 + "column": 24 }, "end": { "line": 109, - "column": 24 + "column": 25 } } }, @@ -53312,16 +53539,16 @@ "binop": null, "updateContext": null }, - "start": 6280, - "end": 6281, + "start": 6291, + "end": 6292, "loc": { "start": { "line": 109, - "column": 24 + "column": 25 }, "end": { "line": 109, - "column": 25 + "column": 26 } } }, @@ -53338,8 +53565,8 @@ "binop": null }, "value": "stats", - "start": 6286, - "end": 6291, + "start": 6297, + "end": 6302, "loc": { "start": { "line": 110, @@ -53364,8 +53591,8 @@ "binop": null, "updateContext": null }, - "start": 6291, - "end": 6292, + "start": 6302, + "end": 6303, "loc": { "start": { "line": 110, @@ -53389,9 +53616,9 @@ "postfix": false, "binop": null }, - "value": "numUVs", - "start": 6292, - "end": 6298, + "value": "numNormals", + "start": 6303, + "end": 6313, "loc": { "start": { "line": 110, @@ -53399,7 +53626,7 @@ }, "end": { "line": 110, - "column": 16 + "column": 20 } } }, @@ -53417,16 +53644,16 @@ "updateContext": null }, "value": "=", - "start": 6299, - "end": 6300, + "start": 6314, + "end": 6315, "loc": { "start": { "line": 110, - "column": 17 + "column": 21 }, "end": { "line": 110, - "column": 18 + "column": 22 } } }, @@ -53444,16 +53671,16 @@ "updateContext": null }, "value": 0, - "start": 6301, - "end": 6302, + "start": 6316, + "end": 6317, "loc": { "start": { "line": 110, - "column": 19 + "column": 23 }, "end": { "line": 110, - "column": 20 + "column": 24 } } }, @@ -53470,16 +53697,16 @@ "binop": null, "updateContext": null }, - "start": 6302, - "end": 6303, + "start": 6317, + "end": 6318, "loc": { "start": { "line": 110, - "column": 20 + "column": 24 }, "end": { "line": 110, - "column": 21 + "column": 25 } } }, @@ -53496,8 +53723,8 @@ "binop": null }, "value": "stats", - "start": 6308, - "end": 6313, + "start": 6323, + "end": 6328, "loc": { "start": { "line": 111, @@ -53522,8 +53749,8 @@ "binop": null, "updateContext": null }, - "start": 6313, - "end": 6314, + "start": 6328, + "end": 6329, "loc": { "start": { "line": 111, @@ -53547,9 +53774,9 @@ "postfix": false, "binop": null }, - "value": "numTextures", - "start": 6314, - "end": 6325, + "value": "numUVs", + "start": 6329, + "end": 6335, "loc": { "start": { "line": 111, @@ -53557,7 +53784,7 @@ }, "end": { "line": 111, - "column": 21 + "column": 16 } } }, @@ -53575,16 +53802,16 @@ "updateContext": null }, "value": "=", - "start": 6326, - "end": 6327, + "start": 6336, + "end": 6337, "loc": { "start": { "line": 111, - "column": 22 + "column": 17 }, "end": { "line": 111, - "column": 23 + "column": 18 } } }, @@ -53602,16 +53829,16 @@ "updateContext": null }, "value": 0, - "start": 6328, - "end": 6329, + "start": 6338, + "end": 6339, "loc": { "start": { "line": 111, - "column": 24 + "column": 19 }, "end": { "line": 111, - "column": 25 + "column": 20 } } }, @@ -53628,16 +53855,16 @@ "binop": null, "updateContext": null }, - "start": 6329, - "end": 6330, + "start": 6339, + "end": 6340, "loc": { "start": { "line": 111, - "column": 25 + "column": 20 }, "end": { "line": 111, - "column": 26 + "column": 21 } } }, @@ -53654,8 +53881,8 @@ "binop": null }, "value": "stats", - "start": 6335, - "end": 6340, + "start": 6345, + "end": 6350, "loc": { "start": { "line": 112, @@ -53680,8 +53907,8 @@ "binop": null, "updateContext": null }, - "start": 6340, - "end": 6341, + "start": 6350, + "end": 6351, "loc": { "start": { "line": 112, @@ -53705,9 +53932,9 @@ "postfix": false, "binop": null }, - "value": "numTextureSets", - "start": 6341, - "end": 6355, + "value": "numTextures", + "start": 6351, + "end": 6362, "loc": { "start": { "line": 112, @@ -53715,7 +53942,7 @@ }, "end": { "line": 112, - "column": 24 + "column": 21 } } }, @@ -53733,16 +53960,16 @@ "updateContext": null }, "value": "=", - "start": 6356, - "end": 6357, + "start": 6363, + "end": 6364, "loc": { "start": { "line": 112, - "column": 25 + "column": 22 }, "end": { "line": 112, - "column": 26 + "column": 23 } } }, @@ -53760,16 +53987,16 @@ "updateContext": null }, "value": 0, - "start": 6358, - "end": 6359, + "start": 6365, + "end": 6366, "loc": { "start": { "line": 112, - "column": 27 + "column": 24 }, "end": { "line": 112, - "column": 28 + "column": 25 } } }, @@ -53786,16 +54013,16 @@ "binop": null, "updateContext": null }, - "start": 6359, - "end": 6360, + "start": 6366, + "end": 6367, "loc": { "start": { "line": 112, - "column": 28 + "column": 25 }, "end": { "line": 112, - "column": 29 + "column": 26 } } }, @@ -53812,8 +54039,8 @@ "binop": null }, "value": "stats", - "start": 6365, - "end": 6370, + "start": 6372, + "end": 6377, "loc": { "start": { "line": 113, @@ -53838,8 +54065,8 @@ "binop": null, "updateContext": null }, - "start": 6370, - "end": 6371, + "start": 6377, + "end": 6378, "loc": { "start": { "line": 113, @@ -53863,9 +54090,9 @@ "postfix": false, "binop": null }, - "value": "numObjects", - "start": 6371, - "end": 6381, + "value": "numTextureSets", + "start": 6378, + "end": 6392, "loc": { "start": { "line": 113, @@ -53873,7 +54100,7 @@ }, "end": { "line": 113, - "column": 20 + "column": 24 } } }, @@ -53891,16 +54118,16 @@ "updateContext": null }, "value": "=", - "start": 6382, - "end": 6383, + "start": 6393, + "end": 6394, "loc": { "start": { "line": 113, - "column": 21 + "column": 25 }, "end": { "line": 113, - "column": 22 + "column": 26 } } }, @@ -53918,16 +54145,16 @@ "updateContext": null }, "value": 0, - "start": 6384, - "end": 6385, + "start": 6395, + "end": 6396, "loc": { "start": { "line": 113, - "column": 23 + "column": 27 }, "end": { "line": 113, - "column": 24 + "column": 28 } } }, @@ -53944,16 +54171,16 @@ "binop": null, "updateContext": null }, - "start": 6385, - "end": 6386, + "start": 6396, + "end": 6397, "loc": { "start": { "line": 113, - "column": 24 + "column": 28 }, "end": { "line": 113, - "column": 25 + "column": 29 } } }, @@ -53970,8 +54197,8 @@ "binop": null }, "value": "stats", - "start": 6391, - "end": 6396, + "start": 6402, + "end": 6407, "loc": { "start": { "line": 114, @@ -53996,8 +54223,8 @@ "binop": null, "updateContext": null }, - "start": 6396, - "end": 6397, + "start": 6407, + "end": 6408, "loc": { "start": { "line": 114, @@ -54021,9 +54248,9 @@ "postfix": false, "binop": null }, - "value": "numGeometries", - "start": 6397, - "end": 6410, + "value": "numObjects", + "start": 6408, + "end": 6418, "loc": { "start": { "line": 114, @@ -54031,7 +54258,7 @@ }, "end": { "line": 114, - "column": 23 + "column": 20 } } }, @@ -54049,16 +54276,16 @@ "updateContext": null }, "value": "=", - "start": 6411, - "end": 6412, + "start": 6419, + "end": 6420, "loc": { "start": { "line": 114, - "column": 24 + "column": 21 }, "end": { "line": 114, - "column": 25 + "column": 22 } } }, @@ -54076,16 +54303,16 @@ "updateContext": null }, "value": 0, - "start": 6413, - "end": 6414, + "start": 6421, + "end": 6422, "loc": { "start": { "line": 114, - "column": 26 + "column": 23 }, "end": { "line": 114, - "column": 27 + "column": 24 } } }, @@ -54102,16 +54329,16 @@ "binop": null, "updateContext": null }, - "start": 6414, - "end": 6415, + "start": 6422, + "end": 6423, "loc": { "start": { "line": 114, - "column": 27 + "column": 24 }, "end": { "line": 114, - "column": 28 + "column": 25 } } }, @@ -54128,8 +54355,8 @@ "binop": null }, "value": "stats", - "start": 6420, - "end": 6425, + "start": 6428, + "end": 6433, "loc": { "start": { "line": 115, @@ -54154,8 +54381,8 @@ "binop": null, "updateContext": null }, - "start": 6425, - "end": 6426, + "start": 6433, + "end": 6434, "loc": { "start": { "line": 115, @@ -54179,9 +54406,9 @@ "postfix": false, "binop": null }, - "value": "sourceSize", - "start": 6426, - "end": 6436, + "value": "numGeometries", + "start": 6434, + "end": 6447, "loc": { "start": { "line": 115, @@ -54189,7 +54416,7 @@ }, "end": { "line": 115, - "column": 20 + "column": 23 } } }, @@ -54207,16 +54434,16 @@ "updateContext": null }, "value": "=", - "start": 6437, - "end": 6438, + "start": 6448, + "end": 6449, "loc": { "start": { "line": 115, - "column": 21 + "column": 24 }, "end": { "line": 115, - "column": 22 + "column": 25 } } }, @@ -54234,16 +54461,16 @@ "updateContext": null }, "value": 0, - "start": 6439, - "end": 6440, + "start": 6450, + "end": 6451, "loc": { "start": { "line": 115, - "column": 23 + "column": 26 }, "end": { "line": 115, - "column": 24 + "column": 27 } } }, @@ -54260,16 +54487,16 @@ "binop": null, "updateContext": null }, - "start": 6440, - "end": 6441, + "start": 6451, + "end": 6452, "loc": { "start": { "line": 115, - "column": 24 + "column": 27 }, "end": { "line": 115, - "column": 25 + "column": 28 } } }, @@ -54286,8 +54513,8 @@ "binop": null }, "value": "stats", - "start": 6446, - "end": 6451, + "start": 6457, + "end": 6462, "loc": { "start": { "line": 116, @@ -54312,8 +54539,8 @@ "binop": null, "updateContext": null }, - "start": 6451, - "end": 6452, + "start": 6462, + "end": 6463, "loc": { "start": { "line": 116, @@ -54337,9 +54564,9 @@ "postfix": false, "binop": null }, - "value": "xktSize", - "start": 6452, - "end": 6459, + "value": "sourceSize", + "start": 6463, + "end": 6473, "loc": { "start": { "line": 116, @@ -54347,7 +54574,7 @@ }, "end": { "line": 116, - "column": 17 + "column": 20 } } }, @@ -54365,16 +54592,16 @@ "updateContext": null }, "value": "=", - "start": 6460, - "end": 6461, + "start": 6474, + "end": 6475, "loc": { "start": { "line": 116, - "column": 18 + "column": 21 }, "end": { "line": 116, - "column": 19 + "column": 22 } } }, @@ -54392,16 +54619,16 @@ "updateContext": null }, "value": 0, - "start": 6462, - "end": 6463, + "start": 6476, + "end": 6477, "loc": { "start": { "line": 116, - "column": 20 + "column": 23 }, "end": { "line": 116, - "column": 21 + "column": 24 } } }, @@ -54418,16 +54645,16 @@ "binop": null, "updateContext": null }, - "start": 6463, - "end": 6464, + "start": 6477, + "end": 6478, "loc": { "start": { "line": 116, - "column": 21 + "column": 24 }, "end": { "line": 116, - "column": 22 + "column": 25 } } }, @@ -54444,8 +54671,8 @@ "binop": null }, "value": "stats", - "start": 6469, - "end": 6474, + "start": 6483, + "end": 6488, "loc": { "start": { "line": 117, @@ -54470,8 +54697,8 @@ "binop": null, "updateContext": null }, - "start": 6474, - "end": 6475, + "start": 6488, + "end": 6489, "loc": { "start": { "line": 117, @@ -54495,9 +54722,9 @@ "postfix": false, "binop": null }, - "value": "texturesSize", - "start": 6475, - "end": 6487, + "value": "xktSize", + "start": 6489, + "end": 6496, "loc": { "start": { "line": 117, @@ -54505,7 +54732,7 @@ }, "end": { "line": 117, - "column": 22 + "column": 17 } } }, @@ -54523,16 +54750,16 @@ "updateContext": null }, "value": "=", - "start": 6488, - "end": 6489, + "start": 6497, + "end": 6498, "loc": { "start": { "line": 117, - "column": 23 + "column": 18 }, "end": { "line": 117, - "column": 24 + "column": 19 } } }, @@ -54550,16 +54777,16 @@ "updateContext": null }, "value": 0, - "start": 6490, - "end": 6491, + "start": 6499, + "end": 6500, "loc": { "start": { "line": 117, - "column": 25 + "column": 20 }, "end": { "line": 117, - "column": 26 + "column": 21 } } }, @@ -54576,16 +54803,16 @@ "binop": null, "updateContext": null }, - "start": 6491, - "end": 6492, + "start": 6500, + "end": 6501, "loc": { "start": { "line": 117, - "column": 26 + "column": 21 }, "end": { "line": 117, - "column": 27 + "column": 22 } } }, @@ -54602,8 +54829,8 @@ "binop": null }, "value": "stats", - "start": 6497, - "end": 6502, + "start": 6506, + "end": 6511, "loc": { "start": { "line": 118, @@ -54628,8 +54855,8 @@ "binop": null, "updateContext": null }, - "start": 6502, - "end": 6503, + "start": 6511, + "end": 6512, "loc": { "start": { "line": 118, @@ -54653,9 +54880,9 @@ "postfix": false, "binop": null }, - "value": "xktVersion", - "start": 6503, - "end": 6513, + "value": "texturesSize", + "start": 6512, + "end": 6524, "loc": { "start": { "line": 118, @@ -54663,7 +54890,7 @@ }, "end": { "line": 118, - "column": 20 + "column": 22 } } }, @@ -54681,22 +54908,22 @@ "updateContext": null }, "value": "=", - "start": 6514, - "end": 6515, + "start": 6525, + "end": 6526, "loc": { "start": { "line": 118, - "column": 21 + "column": 23 }, "end": { "line": 118, - "column": 22 + "column": 24 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -54707,17 +54934,17 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 6516, - "end": 6518, + "value": 0, + "start": 6527, + "end": 6528, "loc": { "start": { "line": 118, - "column": 23 + "column": 25 }, "end": { "line": 118, - "column": 25 + "column": 26 } } }, @@ -54734,16 +54961,16 @@ "binop": null, "updateContext": null }, - "start": 6518, - "end": 6519, + "start": 6528, + "end": 6529, "loc": { "start": { "line": 118, - "column": 25 + "column": 26 }, "end": { "line": 118, - "column": 26 + "column": 27 } } }, @@ -54760,8 +54987,8 @@ "binop": null }, "value": "stats", - "start": 6524, - "end": 6529, + "start": 6534, + "end": 6539, "loc": { "start": { "line": 119, @@ -54786,8 +55013,8 @@ "binop": null, "updateContext": null }, - "start": 6529, - "end": 6530, + "start": 6539, + "end": 6540, "loc": { "start": { "line": 119, @@ -54811,9 +55038,9 @@ "postfix": false, "binop": null }, - "value": "compressionRatio", - "start": 6530, - "end": 6546, + "value": "xktVersion", + "start": 6540, + "end": 6550, "loc": { "start": { "line": 119, @@ -54821,7 +55048,7 @@ }, "end": { "line": 119, - "column": 26 + "column": 20 } } }, @@ -54839,22 +55066,22 @@ "updateContext": null }, "value": "=", - "start": 6547, - "end": 6548, + "start": 6551, + "end": 6552, "loc": { "start": { "line": 119, - "column": 27 + "column": 21 }, "end": { "line": 119, - "column": 28 + "column": 22 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -54865,17 +55092,17 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 6549, - "end": 6550, + "value": "", + "start": 6553, + "end": 6555, "loc": { "start": { "line": 119, - "column": 29 + "column": 23 }, "end": { "line": 119, - "column": 30 + "column": 25 } } }, @@ -54892,16 +55119,16 @@ "binop": null, "updateContext": null }, - "start": 6550, - "end": 6551, + "start": 6555, + "end": 6556, "loc": { "start": { "line": 119, - "column": 30 + "column": 25 }, "end": { "line": 119, - "column": 31 + "column": 26 } } }, @@ -54918,8 +55145,8 @@ "binop": null }, "value": "stats", - "start": 6556, - "end": 6561, + "start": 6561, + "end": 6566, "loc": { "start": { "line": 120, @@ -54944,8 +55171,8 @@ "binop": null, "updateContext": null }, - "start": 6561, - "end": 6562, + "start": 6566, + "end": 6567, "loc": { "start": { "line": 120, @@ -54969,9 +55196,9 @@ "postfix": false, "binop": null }, - "value": "conversionTime", - "start": 6562, - "end": 6576, + "value": "compressionRatio", + "start": 6567, + "end": 6583, "loc": { "start": { "line": 120, @@ -54979,7 +55206,7 @@ }, "end": { "line": 120, - "column": 24 + "column": 26 } } }, @@ -54997,16 +55224,16 @@ "updateContext": null }, "value": "=", - "start": 6577, - "end": 6578, + "start": 6584, + "end": 6585, "loc": { "start": { "line": 120, - "column": 25 + "column": 27 }, "end": { "line": 120, - "column": 26 + "column": 28 } } }, @@ -55024,16 +55251,16 @@ "updateContext": null }, "value": 0, - "start": 6579, - "end": 6580, + "start": 6586, + "end": 6587, "loc": { "start": { "line": 120, - "column": 27 + "column": 29 }, "end": { "line": 120, - "column": 28 + "column": 30 } } }, @@ -55050,16 +55277,16 @@ "binop": null, "updateContext": null }, - "start": 6580, - "end": 6581, + "start": 6587, + "end": 6588, "loc": { "start": { "line": 120, - "column": 28 + "column": 30 }, "end": { "line": 120, - "column": 29 + "column": 31 } } }, @@ -55076,8 +55303,8 @@ "binop": null }, "value": "stats", - "start": 6586, - "end": 6591, + "start": 6593, + "end": 6598, "loc": { "start": { "line": 121, @@ -55102,8 +55329,8 @@ "binop": null, "updateContext": null }, - "start": 6591, - "end": 6592, + "start": 6598, + "end": 6599, "loc": { "start": { "line": 121, @@ -55127,9 +55354,9 @@ "postfix": false, "binop": null }, - "value": "aabb", - "start": 6592, - "end": 6596, + "value": "conversionTime", + "start": 6599, + "end": 6613, "loc": { "start": { "line": 121, @@ -55137,7 +55364,7 @@ }, "end": { "line": 121, - "column": 14 + "column": 24 } } }, @@ -55155,15 +55382,173 @@ "updateContext": null }, "value": "=", - "start": 6597, - "end": 6598, + "start": 6614, + "end": 6615, "loc": { "start": { "line": 121, - "column": 15 + "column": 25 }, "end": { "line": 121, + "column": 26 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 6616, + "end": 6617, + "loc": { + "start": { + "line": 121, + "column": 27 + }, + "end": { + "line": 121, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6617, + "end": 6618, + "loc": { + "start": { + "line": 121, + "column": 28 + }, + "end": { + "line": 121, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 6623, + "end": 6628, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6628, + "end": 6629, + "loc": { + "start": { + "line": 122, + "column": 9 + }, + "end": { + "line": 122, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "aabb", + "start": 6629, + "end": 6633, + "loc": { + "start": { + "line": 122, + "column": 10 + }, + "end": { + "line": 122, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 6634, + "end": 6635, + "loc": { + "start": { + "line": 122, + "column": 15 + }, + "end": { + "line": 122, "column": 16 } } @@ -55183,15 +55568,15 @@ "updateContext": null }, "value": "null", - "start": 6599, - "end": 6603, + "start": 6636, + "end": 6640, "loc": { "start": { - "line": 121, + "line": 122, "column": 17 }, "end": { - "line": 121, + "line": 122, "column": 21 } } @@ -55209,15 +55594,15 @@ "binop": null, "updateContext": null }, - "start": 6603, - "end": 6604, + "start": 6640, + "end": 6641, "loc": { "start": { - "line": 121, + "line": 122, "column": 21 }, "end": { - "line": 121, + "line": 122, "column": 22 } } @@ -55236,15 +55621,15 @@ "binop": null }, "value": "function", - "start": 6610, - "end": 6618, + "start": 6647, + "end": 6655, "loc": { "start": { - "line": 123, + "line": 124, "column": 4 }, "end": { - "line": 123, + "line": 124, "column": 12 } } @@ -55262,15 +55647,15 @@ "binop": null }, "value": "getFileExtension", - "start": 6619, - "end": 6635, + "start": 6656, + "end": 6672, "loc": { "start": { - "line": 123, + "line": 124, "column": 13 }, "end": { - "line": 123, + "line": 124, "column": 29 } } @@ -55287,15 +55672,15 @@ "postfix": false, "binop": null }, - "start": 6635, - "end": 6636, + "start": 6672, + "end": 6673, "loc": { "start": { - "line": 123, + "line": 124, "column": 29 }, "end": { - "line": 123, + "line": 124, "column": 30 } } @@ -55313,15 +55698,15 @@ "binop": null }, "value": "fileName", - "start": 6636, - "end": 6644, + "start": 6673, + "end": 6681, "loc": { "start": { - "line": 123, + "line": 124, "column": 30 }, "end": { - "line": 123, + "line": 124, "column": 38 } } @@ -55338,15 +55723,15 @@ "postfix": false, "binop": null }, - "start": 6644, - "end": 6645, + "start": 6681, + "end": 6682, "loc": { "start": { - "line": 123, + "line": 124, "column": 38 }, "end": { - "line": 123, + "line": 124, "column": 39 } } @@ -55363,15 +55748,15 @@ "postfix": false, "binop": null }, - "start": 6646, - "end": 6647, + "start": 6683, + "end": 6684, "loc": { "start": { - "line": 123, + "line": 124, "column": 40 }, "end": { - "line": 123, + "line": 124, "column": 41 } } @@ -55391,15 +55776,15 @@ "updateContext": null }, "value": "let", - "start": 6656, - "end": 6659, + "start": 6693, + "end": 6696, "loc": { "start": { - "line": 124, + "line": 125, "column": 8 }, "end": { - "line": 124, + "line": 125, "column": 11 } } @@ -55417,15 +55802,15 @@ "binop": null }, "value": "ext", - "start": 6660, - "end": 6663, + "start": 6697, + "end": 6700, "loc": { "start": { - "line": 124, + "line": 125, "column": 12 }, "end": { - "line": 124, + "line": 125, "column": 15 } } @@ -55444,15 +55829,15 @@ "updateContext": null }, "value": "=", - "start": 6664, - "end": 6665, + "start": 6701, + "end": 6702, "loc": { "start": { - "line": 124, + "line": 125, "column": 16 }, "end": { - "line": 124, + "line": 125, "column": 17 } } @@ -55470,15 +55855,15 @@ "binop": null }, "value": "path", - "start": 6666, - "end": 6670, + "start": 6703, + "end": 6707, "loc": { "start": { - "line": 124, + "line": 125, "column": 18 }, "end": { - "line": 124, + "line": 125, "column": 22 } } @@ -55496,15 +55881,15 @@ "binop": null, "updateContext": null }, - "start": 6670, - "end": 6671, + "start": 6707, + "end": 6708, "loc": { "start": { - "line": 124, + "line": 125, "column": 22 }, "end": { - "line": 124, + "line": 125, "column": 23 } } @@ -55522,15 +55907,15 @@ "binop": null }, "value": "extname", - "start": 6671, - "end": 6678, + "start": 6708, + "end": 6715, "loc": { "start": { - "line": 124, + "line": 125, "column": 23 }, "end": { - "line": 124, + "line": 125, "column": 30 } } @@ -55547,15 +55932,15 @@ "postfix": false, "binop": null }, - "start": 6678, - "end": 6679, + "start": 6715, + "end": 6716, "loc": { "start": { - "line": 124, + "line": 125, "column": 30 }, "end": { - "line": 124, + "line": 125, "column": 31 } } @@ -55573,15 +55958,15 @@ "binop": null }, "value": "fileName", - "start": 6679, - "end": 6687, + "start": 6716, + "end": 6724, "loc": { "start": { - "line": 124, + "line": 125, "column": 31 }, "end": { - "line": 124, + "line": 125, "column": 39 } } @@ -55598,15 +55983,15 @@ "postfix": false, "binop": null }, - "start": 6687, - "end": 6688, + "start": 6724, + "end": 6725, "loc": { "start": { - "line": 124, + "line": 125, "column": 39 }, "end": { - "line": 124, + "line": 125, "column": 40 } } @@ -55624,15 +56009,15 @@ "binop": null, "updateContext": null }, - "start": 6688, - "end": 6689, + "start": 6725, + "end": 6726, "loc": { "start": { - "line": 124, + "line": 125, "column": 40 }, "end": { - "line": 124, + "line": 125, "column": 41 } } @@ -55652,15 +56037,15 @@ "updateContext": null }, "value": "if", - "start": 6698, - "end": 6700, + "start": 6735, + "end": 6737, "loc": { "start": { - "line": 125, + "line": 126, "column": 8 }, "end": { - "line": 125, + "line": 126, "column": 10 } } @@ -55677,15 +56062,15 @@ "postfix": false, "binop": null }, - "start": 6701, - "end": 6702, + "start": 6738, + "end": 6739, "loc": { "start": { - "line": 125, + "line": 126, "column": 11 }, "end": { - "line": 125, + "line": 126, "column": 12 } } @@ -55703,15 +56088,15 @@ "binop": null }, "value": "ext", - "start": 6702, - "end": 6705, + "start": 6739, + "end": 6742, "loc": { "start": { - "line": 125, + "line": 126, "column": 12 }, "end": { - "line": 125, + "line": 126, "column": 15 } } @@ -55729,15 +56114,15 @@ "binop": null, "updateContext": null }, - "start": 6705, - "end": 6706, + "start": 6742, + "end": 6743, "loc": { "start": { - "line": 125, + "line": 126, "column": 15 }, "end": { - "line": 125, + "line": 126, "column": 16 } } @@ -55755,15 +56140,15 @@ "binop": null }, "value": "charAt", - "start": 6706, - "end": 6712, + "start": 6743, + "end": 6749, "loc": { "start": { - "line": 125, + "line": 126, "column": 16 }, "end": { - "line": 125, + "line": 126, "column": 22 } } @@ -55780,15 +56165,15 @@ "postfix": false, "binop": null }, - "start": 6712, - "end": 6713, + "start": 6749, + "end": 6750, "loc": { "start": { - "line": 125, + "line": 126, "column": 22 }, "end": { - "line": 125, + "line": 126, "column": 23 } } @@ -55807,15 +56192,15 @@ "updateContext": null }, "value": 0, - "start": 6713, - "end": 6714, + "start": 6750, + "end": 6751, "loc": { "start": { - "line": 125, + "line": 126, "column": 23 }, "end": { - "line": 125, + "line": 126, "column": 24 } } @@ -55832,15 +56217,15 @@ "postfix": false, "binop": null }, - "start": 6714, - "end": 6715, + "start": 6751, + "end": 6752, "loc": { "start": { - "line": 125, + "line": 126, "column": 24 }, "end": { - "line": 125, + "line": 126, "column": 25 } } @@ -55859,15 +56244,15 @@ "updateContext": null }, "value": "===", - "start": 6716, - "end": 6719, + "start": 6753, + "end": 6756, "loc": { "start": { - "line": 125, + "line": 126, "column": 26 }, "end": { - "line": 125, + "line": 126, "column": 29 } } @@ -55886,15 +56271,15 @@ "updateContext": null }, "value": ".", - "start": 6720, - "end": 6723, + "start": 6757, + "end": 6760, "loc": { "start": { - "line": 125, + "line": 126, "column": 30 }, "end": { - "line": 125, + "line": 126, "column": 33 } } @@ -55911,15 +56296,15 @@ "postfix": false, "binop": null }, - "start": 6723, - "end": 6724, + "start": 6760, + "end": 6761, "loc": { "start": { - "line": 125, + "line": 126, "column": 33 }, "end": { - "line": 125, + "line": 126, "column": 34 } } @@ -55936,15 +56321,15 @@ "postfix": false, "binop": null }, - "start": 6725, - "end": 6726, + "start": 6762, + "end": 6763, "loc": { "start": { - "line": 125, + "line": 126, "column": 35 }, "end": { - "line": 125, + "line": 126, "column": 36 } } @@ -55962,15 +56347,15 @@ "binop": null }, "value": "ext", - "start": 6739, - "end": 6742, + "start": 6776, + "end": 6779, "loc": { "start": { - "line": 126, + "line": 127, "column": 12 }, "end": { - "line": 126, + "line": 127, "column": 15 } } @@ -55989,15 +56374,15 @@ "updateContext": null }, "value": "=", - "start": 6743, - "end": 6744, + "start": 6780, + "end": 6781, "loc": { "start": { - "line": 126, + "line": 127, "column": 16 }, "end": { - "line": 126, + "line": 127, "column": 17 } } @@ -56015,15 +56400,15 @@ "binop": null }, "value": "ext", - "start": 6745, - "end": 6748, + "start": 6782, + "end": 6785, "loc": { "start": { - "line": 126, + "line": 127, "column": 18 }, "end": { - "line": 126, + "line": 127, "column": 21 } } @@ -56041,15 +56426,15 @@ "binop": null, "updateContext": null }, - "start": 6748, - "end": 6749, + "start": 6785, + "end": 6786, "loc": { "start": { - "line": 126, + "line": 127, "column": 21 }, "end": { - "line": 126, + "line": 127, "column": 22 } } @@ -56067,15 +56452,15 @@ "binop": null }, "value": "substring", - "start": 6749, - "end": 6758, + "start": 6786, + "end": 6795, "loc": { "start": { - "line": 126, + "line": 127, "column": 22 }, "end": { - "line": 126, + "line": 127, "column": 31 } } @@ -56092,15 +56477,15 @@ "postfix": false, "binop": null }, - "start": 6758, - "end": 6759, + "start": 6795, + "end": 6796, "loc": { "start": { - "line": 126, + "line": 127, "column": 31 }, "end": { - "line": 126, + "line": 127, "column": 32 } } @@ -56119,15 +56504,15 @@ "updateContext": null }, "value": 1, - "start": 6759, - "end": 6760, + "start": 6796, + "end": 6797, "loc": { "start": { - "line": 126, + "line": 127, "column": 32 }, "end": { - "line": 126, + "line": 127, "column": 33 } } @@ -56144,15 +56529,15 @@ "postfix": false, "binop": null }, - "start": 6760, - "end": 6761, + "start": 6797, + "end": 6798, "loc": { "start": { - "line": 126, + "line": 127, "column": 33 }, "end": { - "line": 126, + "line": 127, "column": 34 } } @@ -56170,15 +56555,15 @@ "binop": null, "updateContext": null }, - "start": 6761, - "end": 6762, + "start": 6798, + "end": 6799, "loc": { "start": { - "line": 126, + "line": 127, "column": 34 }, "end": { - "line": 126, + "line": 127, "column": 35 } } @@ -56195,15 +56580,15 @@ "postfix": false, "binop": null }, - "start": 6771, - "end": 6772, + "start": 6808, + "end": 6809, "loc": { "start": { - "line": 127, + "line": 128, "column": 8 }, "end": { - "line": 127, + "line": 128, "column": 9 } } @@ -56223,15 +56608,15 @@ "updateContext": null }, "value": "return", - "start": 6781, - "end": 6787, + "start": 6818, + "end": 6824, "loc": { "start": { - "line": 128, + "line": 129, "column": 8 }, "end": { - "line": 128, + "line": 129, "column": 14 } } @@ -56249,15 +56634,15 @@ "binop": null }, "value": "ext", - "start": 6788, - "end": 6791, + "start": 6825, + "end": 6828, "loc": { "start": { - "line": 128, + "line": 129, "column": 15 }, "end": { - "line": 128, + "line": 129, "column": 18 } } @@ -56275,15 +56660,15 @@ "binop": null, "updateContext": null }, - "start": 6791, - "end": 6792, + "start": 6828, + "end": 6829, "loc": { "start": { - "line": 128, + "line": 129, "column": 18 }, "end": { - "line": 128, + "line": 129, "column": 19 } } @@ -56300,15 +56685,15 @@ "postfix": false, "binop": null }, - "start": 6797, - "end": 6798, + "start": 6834, + "end": 6835, "loc": { "start": { - "line": 129, + "line": 130, "column": 4 }, "end": { - "line": 129, + "line": 130, "column": 5 } } @@ -56328,15 +56713,15 @@ "updateContext": null }, "value": "return", - "start": 6804, - "end": 6810, + "start": 6841, + "end": 6847, "loc": { "start": { - "line": 131, + "line": 132, "column": 4 }, "end": { - "line": 131, + "line": 132, "column": 10 } } @@ -56356,15 +56741,15 @@ "updateContext": null }, "value": "new", - "start": 6811, - "end": 6814, + "start": 6848, + "end": 6851, "loc": { "start": { - "line": 131, + "line": 132, "column": 11 }, "end": { - "line": 131, + "line": 132, "column": 14 } } @@ -56382,15 +56767,15 @@ "binop": null }, "value": "Promise", - "start": 6815, - "end": 6822, + "start": 6852, + "end": 6859, "loc": { "start": { - "line": 131, + "line": 132, "column": 15 }, "end": { - "line": 131, + "line": 132, "column": 22 } } @@ -56407,15 +56792,15 @@ "postfix": false, "binop": null }, - "start": 6822, - "end": 6823, + "start": 6859, + "end": 6860, "loc": { "start": { - "line": 131, + "line": 132, "column": 22 }, "end": { - "line": 131, + "line": 132, "column": 23 } } @@ -56434,15 +56819,15 @@ "binop": null }, "value": "function", - "start": 6823, - "end": 6831, + "start": 6860, + "end": 6868, "loc": { "start": { - "line": 131, + "line": 132, "column": 23 }, "end": { - "line": 131, + "line": 132, "column": 31 } } @@ -56459,15 +56844,15 @@ "postfix": false, "binop": null }, - "start": 6832, - "end": 6833, + "start": 6869, + "end": 6870, "loc": { "start": { - "line": 131, + "line": 132, "column": 32 }, "end": { - "line": 131, + "line": 132, "column": 33 } } @@ -56485,15 +56870,15 @@ "binop": null }, "value": "resolve", - "start": 6833, - "end": 6840, + "start": 6870, + "end": 6877, "loc": { "start": { - "line": 131, + "line": 132, "column": 33 }, "end": { - "line": 131, + "line": 132, "column": 40 } } @@ -56511,15 +56896,15 @@ "binop": null, "updateContext": null }, - "start": 6840, - "end": 6841, + "start": 6877, + "end": 6878, "loc": { "start": { - "line": 131, + "line": 132, "column": 40 }, "end": { - "line": 131, + "line": 132, "column": 41 } } @@ -56537,15 +56922,15 @@ "binop": null }, "value": "reject", - "start": 6842, - "end": 6848, + "start": 6879, + "end": 6885, "loc": { "start": { - "line": 131, + "line": 132, "column": 42 }, "end": { - "line": 131, + "line": 132, "column": 48 } } @@ -56562,15 +56947,15 @@ "postfix": false, "binop": null }, - "start": 6848, - "end": 6849, + "start": 6885, + "end": 6886, "loc": { "start": { - "line": 131, + "line": 132, "column": 48 }, "end": { - "line": 131, + "line": 132, "column": 49 } } @@ -56587,15 +56972,15 @@ "postfix": false, "binop": null }, - "start": 6850, - "end": 6851, + "start": 6887, + "end": 6888, "loc": { "start": { - "line": 131, + "line": 132, "column": 50 }, "end": { - "line": 131, + "line": 132, "column": 51 } } @@ -56615,15 +57000,15 @@ "updateContext": null }, "value": "const", - "start": 6860, - "end": 6865, + "start": 6897, + "end": 6902, "loc": { "start": { - "line": 132, + "line": 133, "column": 8 }, "end": { - "line": 132, + "line": 133, "column": 13 } } @@ -56641,15 +57026,15 @@ "binop": null }, "value": "_log", - "start": 6866, - "end": 6870, + "start": 6903, + "end": 6907, "loc": { "start": { - "line": 132, + "line": 133, "column": 14 }, "end": { - "line": 132, + "line": 133, "column": 18 } } @@ -56668,15 +57053,15 @@ "updateContext": null }, "value": "=", - "start": 6871, - "end": 6872, + "start": 6908, + "end": 6909, "loc": { "start": { - "line": 132, + "line": 133, "column": 19 }, "end": { - "line": 132, + "line": 133, "column": 20 } } @@ -56694,15 +57079,15 @@ "binop": null }, "value": "log", - "start": 6873, - "end": 6876, + "start": 6910, + "end": 6913, "loc": { "start": { - "line": 132, + "line": 133, "column": 21 }, "end": { - "line": 132, + "line": 133, "column": 24 } } @@ -56720,15 +57105,15 @@ "binop": null, "updateContext": null }, - "start": 6876, - "end": 6877, + "start": 6913, + "end": 6914, "loc": { "start": { - "line": 132, + "line": 133, "column": 24 }, "end": { - "line": 132, + "line": 133, "column": 25 } } @@ -56746,15 +57131,15 @@ "binop": null }, "value": "log", - "start": 6886, - "end": 6889, + "start": 6923, + "end": 6926, "loc": { "start": { - "line": 133, + "line": 134, "column": 8 }, "end": { - "line": 133, + "line": 134, "column": 11 } } @@ -56773,15 +57158,15 @@ "updateContext": null }, "value": "=", - "start": 6890, - "end": 6891, + "start": 6927, + "end": 6928, "loc": { "start": { - "line": 133, + "line": 134, "column": 12 }, "end": { - "line": 133, + "line": 134, "column": 13 } } @@ -56798,15 +57183,15 @@ "postfix": false, "binop": null }, - "start": 6892, - "end": 6893, + "start": 6929, + "end": 6930, "loc": { "start": { - "line": 133, + "line": 134, "column": 14 }, "end": { - "line": 133, + "line": 134, "column": 15 } } @@ -56824,15 +57209,15 @@ "binop": null }, "value": "msg", - "start": 6893, - "end": 6896, + "start": 6930, + "end": 6933, "loc": { "start": { - "line": 133, + "line": 134, "column": 15 }, "end": { - "line": 133, + "line": 134, "column": 18 } } @@ -56849,15 +57234,15 @@ "postfix": false, "binop": null }, - "start": 6896, - "end": 6897, + "start": 6933, + "end": 6934, "loc": { "start": { - "line": 133, + "line": 134, "column": 18 }, "end": { - "line": 133, + "line": 134, "column": 19 } } @@ -56875,15 +57260,15 @@ "binop": null, "updateContext": null }, - "start": 6898, - "end": 6900, + "start": 6935, + "end": 6937, "loc": { "start": { - "line": 133, + "line": 134, "column": 20 }, "end": { - "line": 133, + "line": 134, "column": 22 } } @@ -56900,15 +57285,15 @@ "postfix": false, "binop": null }, - "start": 6901, - "end": 6902, + "start": 6938, + "end": 6939, "loc": { "start": { - "line": 133, + "line": 134, "column": 23 }, "end": { - "line": 133, + "line": 134, "column": 24 } } @@ -56926,15 +57311,15 @@ "binop": null }, "value": "_log", - "start": 6915, - "end": 6919, + "start": 6952, + "end": 6956, "loc": { "start": { - "line": 134, + "line": 135, "column": 12 }, "end": { - "line": 134, + "line": 135, "column": 16 } } @@ -56951,15 +57336,15 @@ "postfix": false, "binop": null }, - "start": 6919, - "end": 6920, + "start": 6956, + "end": 6957, "loc": { "start": { - "line": 134, + "line": 135, "column": 16 }, "end": { - "line": 134, + "line": 135, "column": 17 } } @@ -56976,15 +57361,15 @@ "postfix": false, "binop": null }, - "start": 6920, - "end": 6921, + "start": 6957, + "end": 6958, "loc": { "start": { - "line": 134, + "line": 135, "column": 17 }, "end": { - "line": 134, + "line": 135, "column": 18 } } @@ -57003,15 +57388,15 @@ "updateContext": null }, "value": "[convert2xkt] ", - "start": 6921, - "end": 6935, + "start": 6958, + "end": 6972, "loc": { "start": { - "line": 134, + "line": 135, "column": 18 }, "end": { - "line": 134, + "line": 135, "column": 32 } } @@ -57028,15 +57413,15 @@ "postfix": false, "binop": null }, - "start": 6935, - "end": 6937, + "start": 6972, + "end": 6974, "loc": { "start": { - "line": 134, + "line": 135, "column": 32 }, "end": { - "line": 134, + "line": 135, "column": 34 } } @@ -57054,15 +57439,15 @@ "binop": null }, "value": "msg", - "start": 6937, - "end": 6940, + "start": 6974, + "end": 6977, "loc": { "start": { - "line": 134, + "line": 135, "column": 34 }, "end": { - "line": 134, + "line": 135, "column": 37 } } @@ -57079,15 +57464,15 @@ "postfix": false, "binop": null }, - "start": 6940, - "end": 6941, + "start": 6977, + "end": 6978, "loc": { "start": { - "line": 134, + "line": 135, "column": 37 }, "end": { - "line": 134, + "line": 135, "column": 38 } } @@ -57106,15 +57491,15 @@ "updateContext": null }, "value": "", - "start": 6941, - "end": 6941, + "start": 6978, + "end": 6978, "loc": { "start": { - "line": 134, + "line": 135, "column": 38 }, "end": { - "line": 134, + "line": 135, "column": 38 } } @@ -57131,15 +57516,15 @@ "postfix": false, "binop": null }, - "start": 6941, - "end": 6942, + "start": 6978, + "end": 6979, "loc": { "start": { - "line": 134, + "line": 135, "column": 38 }, "end": { - "line": 134, + "line": 135, "column": 39 } } @@ -57156,15 +57541,15 @@ "postfix": false, "binop": null }, - "start": 6942, - "end": 6943, + "start": 6979, + "end": 6980, "loc": { "start": { - "line": 134, + "line": 135, "column": 39 }, "end": { - "line": 134, + "line": 135, "column": 40 } } @@ -57181,15 +57566,15 @@ "postfix": false, "binop": null }, - "start": 6952, - "end": 6953, + "start": 6989, + "end": 6990, "loc": { "start": { - "line": 135, + "line": 136, "column": 8 }, "end": { - "line": 135, + "line": 136, "column": 9 } } @@ -57209,15 +57594,15 @@ "updateContext": null }, "value": "if", - "start": 6963, - "end": 6965, + "start": 7000, + "end": 7002, "loc": { "start": { - "line": 137, + "line": 138, "column": 8 }, "end": { - "line": 137, + "line": 138, "column": 10 } } @@ -57234,15 +57619,15 @@ "postfix": false, "binop": null }, - "start": 6966, - "end": 6967, + "start": 7003, + "end": 7004, "loc": { "start": { - "line": 137, + "line": 138, "column": 11 }, "end": { - "line": 137, + "line": 138, "column": 12 } } @@ -57261,15 +57646,15 @@ "updateContext": null }, "value": "!", - "start": 6967, - "end": 6968, + "start": 7004, + "end": 7005, "loc": { "start": { - "line": 137, + "line": 138, "column": 12 }, "end": { - "line": 137, + "line": 138, "column": 13 } } @@ -57287,15 +57672,15 @@ "binop": null }, "value": "source", - "start": 6968, - "end": 6974, + "start": 7005, + "end": 7011, "loc": { "start": { - "line": 137, + "line": 138, "column": 13 }, "end": { - "line": 137, + "line": 138, "column": 19 } } @@ -57314,15 +57699,15 @@ "updateContext": null }, "value": "&&", - "start": 6975, - "end": 6977, + "start": 7012, + "end": 7014, "loc": { "start": { - "line": 137, + "line": 138, "column": 20 }, "end": { - "line": 137, + "line": 138, "column": 22 } } @@ -57341,15 +57726,15 @@ "updateContext": null }, "value": "!", - "start": 6978, - "end": 6979, + "start": 7015, + "end": 7016, "loc": { "start": { - "line": 137, + "line": 138, "column": 23 }, "end": { - "line": 137, + "line": 138, "column": 24 } } @@ -57367,15 +57752,15 @@ "binop": null }, "value": "sourceData", - "start": 6979, - "end": 6989, + "start": 7016, + "end": 7026, "loc": { "start": { - "line": 137, + "line": 138, "column": 24 }, "end": { - "line": 137, + "line": 138, "column": 34 } } @@ -57392,15 +57777,15 @@ "postfix": false, "binop": null }, - "start": 6989, - "end": 6990, + "start": 7026, + "end": 7027, "loc": { "start": { - "line": 137, + "line": 138, "column": 34 }, "end": { - "line": 137, + "line": 138, "column": 35 } } @@ -57417,15 +57802,15 @@ "postfix": false, "binop": null }, - "start": 6991, - "end": 6992, + "start": 7028, + "end": 7029, "loc": { "start": { - "line": 137, + "line": 138, "column": 36 }, "end": { - "line": 137, + "line": 138, "column": 37 } } @@ -57443,15 +57828,15 @@ "binop": null }, "value": "reject", - "start": 7005, - "end": 7011, + "start": 7042, + "end": 7048, "loc": { "start": { - "line": 138, + "line": 139, "column": 12 }, "end": { - "line": 138, + "line": 139, "column": 18 } } @@ -57468,15 +57853,15 @@ "postfix": false, "binop": null }, - "start": 7011, - "end": 7012, + "start": 7048, + "end": 7049, "loc": { "start": { - "line": 138, + "line": 139, "column": 18 }, "end": { - "line": 138, + "line": 139, "column": 19 } } @@ -57495,15 +57880,15 @@ "updateContext": null }, "value": "Argument expected: source or sourceData", - "start": 7012, - "end": 7053, + "start": 7049, + "end": 7090, "loc": { "start": { - "line": 138, + "line": 139, "column": 19 }, "end": { - "line": 138, + "line": 139, "column": 60 } } @@ -57520,15 +57905,15 @@ "postfix": false, "binop": null }, - "start": 7053, - "end": 7054, + "start": 7090, + "end": 7091, "loc": { "start": { - "line": 138, + "line": 139, "column": 60 }, "end": { - "line": 138, + "line": 139, "column": 61 } } @@ -57546,15 +57931,15 @@ "binop": null, "updateContext": null }, - "start": 7054, - "end": 7055, + "start": 7091, + "end": 7092, "loc": { "start": { - "line": 138, + "line": 139, "column": 61 }, "end": { - "line": 138, + "line": 139, "column": 62 } } @@ -57574,15 +57959,15 @@ "updateContext": null }, "value": "return", - "start": 7068, - "end": 7074, + "start": 7105, + "end": 7111, "loc": { "start": { - "line": 139, + "line": 140, "column": 12 }, "end": { - "line": 139, + "line": 140, "column": 18 } } @@ -57600,15 +57985,15 @@ "binop": null, "updateContext": null }, - "start": 7074, - "end": 7075, + "start": 7111, + "end": 7112, "loc": { "start": { - "line": 139, + "line": 140, "column": 18 }, "end": { - "line": 139, + "line": 140, "column": 19 } } @@ -57625,15 +58010,15 @@ "postfix": false, "binop": null }, - "start": 7084, - "end": 7085, + "start": 7121, + "end": 7122, "loc": { "start": { - "line": 140, + "line": 141, "column": 8 }, "end": { - "line": 140, + "line": 141, "column": 9 } } @@ -57653,15 +58038,15 @@ "updateContext": null }, "value": "if", - "start": 7095, - "end": 7097, + "start": 7132, + "end": 7134, "loc": { "start": { - "line": 142, + "line": 143, "column": 8 }, "end": { - "line": 142, + "line": 143, "column": 10 } } @@ -57678,15 +58063,15 @@ "postfix": false, "binop": null }, - "start": 7098, - "end": 7099, + "start": 7135, + "end": 7136, "loc": { "start": { - "line": 142, + "line": 143, "column": 11 }, "end": { - "line": 142, + "line": 143, "column": 12 } } @@ -57705,15 +58090,15 @@ "updateContext": null }, "value": "!", - "start": 7099, - "end": 7100, + "start": 7136, + "end": 7137, "loc": { "start": { - "line": 142, + "line": 143, "column": 12 }, "end": { - "line": 142, + "line": 143, "column": 13 } } @@ -57731,15 +58116,15 @@ "binop": null }, "value": "sourceFormat", - "start": 7100, - "end": 7112, + "start": 7137, + "end": 7149, "loc": { "start": { - "line": 142, + "line": 143, "column": 13 }, "end": { - "line": 142, + "line": 143, "column": 25 } } @@ -57758,15 +58143,15 @@ "updateContext": null }, "value": "&&", - "start": 7113, - "end": 7115, + "start": 7150, + "end": 7152, "loc": { "start": { - "line": 142, + "line": 143, "column": 26 }, "end": { - "line": 142, + "line": 143, "column": 28 } } @@ -57784,15 +58169,15 @@ "binop": null }, "value": "sourceData", - "start": 7116, - "end": 7126, + "start": 7153, + "end": 7163, "loc": { "start": { - "line": 142, + "line": 143, "column": 29 }, "end": { - "line": 142, + "line": 143, "column": 39 } } @@ -57809,15 +58194,15 @@ "postfix": false, "binop": null }, - "start": 7126, - "end": 7127, + "start": 7163, + "end": 7164, "loc": { "start": { - "line": 142, + "line": 143, "column": 39 }, "end": { - "line": 142, + "line": 143, "column": 40 } } @@ -57834,15 +58219,15 @@ "postfix": false, "binop": null }, - "start": 7128, - "end": 7129, + "start": 7165, + "end": 7166, "loc": { "start": { - "line": 142, + "line": 143, "column": 41 }, "end": { - "line": 142, + "line": 143, "column": 42 } } @@ -57860,15 +58245,15 @@ "binop": null }, "value": "reject", - "start": 7142, - "end": 7148, + "start": 7179, + "end": 7185, "loc": { "start": { - "line": 143, + "line": 144, "column": 12 }, "end": { - "line": 143, + "line": 144, "column": 18 } } @@ -57885,15 +58270,15 @@ "postfix": false, "binop": null }, - "start": 7148, - "end": 7149, + "start": 7185, + "end": 7186, "loc": { "start": { - "line": 143, + "line": 144, "column": 18 }, "end": { - "line": 143, + "line": 144, "column": 19 } } @@ -57912,15 +58297,15 @@ "updateContext": null }, "value": "Argument expected: sourceFormat is required with sourceData", - "start": 7149, - "end": 7210, + "start": 7186, + "end": 7247, "loc": { "start": { - "line": 143, + "line": 144, "column": 19 }, "end": { - "line": 143, + "line": 144, "column": 80 } } @@ -57937,15 +58322,15 @@ "postfix": false, "binop": null }, - "start": 7210, - "end": 7211, + "start": 7247, + "end": 7248, "loc": { "start": { - "line": 143, + "line": 144, "column": 80 }, "end": { - "line": 143, + "line": 144, "column": 81 } } @@ -57963,15 +58348,15 @@ "binop": null, "updateContext": null }, - "start": 7211, - "end": 7212, + "start": 7248, + "end": 7249, "loc": { "start": { - "line": 143, + "line": 144, "column": 81 }, "end": { - "line": 143, + "line": 144, "column": 82 } } @@ -57991,15 +58376,15 @@ "updateContext": null }, "value": "return", - "start": 7225, - "end": 7231, + "start": 7262, + "end": 7268, "loc": { "start": { - "line": 144, + "line": 145, "column": 12 }, "end": { - "line": 144, + "line": 145, "column": 18 } } @@ -58017,15 +58402,15 @@ "binop": null, "updateContext": null }, - "start": 7231, - "end": 7232, + "start": 7268, + "end": 7269, "loc": { "start": { - "line": 144, + "line": 145, "column": 18 }, "end": { - "line": 144, + "line": 145, "column": 19 } } @@ -58042,15 +58427,15 @@ "postfix": false, "binop": null }, - "start": 7241, - "end": 7242, + "start": 7278, + "end": 7279, "loc": { "start": { - "line": 145, + "line": 146, "column": 8 }, "end": { - "line": 145, + "line": 146, "column": 9 } } @@ -58070,15 +58455,15 @@ "updateContext": null }, "value": "if", - "start": 7252, - "end": 7254, + "start": 7289, + "end": 7291, "loc": { "start": { - "line": 147, + "line": 148, "column": 8 }, "end": { - "line": 147, + "line": 148, "column": 10 } } @@ -58095,15 +58480,15 @@ "postfix": false, "binop": null }, - "start": 7255, - "end": 7256, + "start": 7292, + "end": 7293, "loc": { "start": { - "line": 147, + "line": 148, "column": 11 }, "end": { - "line": 147, + "line": 148, "column": 12 } } @@ -58122,15 +58507,15 @@ "updateContext": null }, "value": "!", - "start": 7256, - "end": 7257, + "start": 7293, + "end": 7294, "loc": { "start": { - "line": 147, + "line": 148, "column": 12 }, "end": { - "line": 147, + "line": 148, "column": 13 } } @@ -58148,15 +58533,15 @@ "binop": null }, "value": "output", - "start": 7257, - "end": 7263, + "start": 7294, + "end": 7300, "loc": { "start": { - "line": 147, + "line": 148, "column": 13 }, "end": { - "line": 147, + "line": 148, "column": 19 } } @@ -58175,15 +58560,15 @@ "updateContext": null }, "value": "&&", - "start": 7264, - "end": 7266, + "start": 7301, + "end": 7303, "loc": { "start": { - "line": 147, + "line": 148, "column": 20 }, "end": { - "line": 147, + "line": 148, "column": 22 } } @@ -58202,15 +58587,15 @@ "updateContext": null }, "value": "!", - "start": 7267, - "end": 7268, + "start": 7304, + "end": 7305, "loc": { "start": { - "line": 147, + "line": 148, "column": 23 }, "end": { - "line": 147, + "line": 148, "column": 24 } } @@ -58228,15 +58613,15 @@ "binop": null }, "value": "outputXKTModel", - "start": 7268, - "end": 7282, + "start": 7305, + "end": 7319, "loc": { "start": { - "line": 147, + "line": 148, "column": 24 }, "end": { - "line": 147, + "line": 148, "column": 38 } } @@ -58255,15 +58640,15 @@ "updateContext": null }, "value": "&&", - "start": 7283, - "end": 7285, + "start": 7320, + "end": 7322, "loc": { "start": { - "line": 147, + "line": 148, "column": 39 }, "end": { - "line": 147, + "line": 148, "column": 41 } } @@ -58282,15 +58667,15 @@ "updateContext": null }, "value": "!", - "start": 7286, - "end": 7287, + "start": 7323, + "end": 7324, "loc": { "start": { - "line": 147, + "line": 148, "column": 42 }, "end": { - "line": 147, + "line": 148, "column": 43 } } @@ -58308,15 +58693,15 @@ "binop": null }, "value": "outputXKT", - "start": 7287, - "end": 7296, + "start": 7324, + "end": 7333, "loc": { "start": { - "line": 147, + "line": 148, "column": 43 }, "end": { - "line": 147, + "line": 148, "column": 52 } } @@ -58333,15 +58718,15 @@ "postfix": false, "binop": null }, - "start": 7296, - "end": 7297, + "start": 7333, + "end": 7334, "loc": { "start": { - "line": 147, + "line": 148, "column": 52 }, "end": { - "line": 147, + "line": 148, "column": 53 } } @@ -58358,15 +58743,15 @@ "postfix": false, "binop": null }, - "start": 7298, - "end": 7299, + "start": 7335, + "end": 7336, "loc": { "start": { - "line": 147, + "line": 148, "column": 54 }, "end": { - "line": 147, + "line": 148, "column": 55 } } @@ -58384,15 +58769,15 @@ "binop": null }, "value": "reject", - "start": 7312, - "end": 7318, + "start": 7349, + "end": 7355, "loc": { "start": { - "line": 148, + "line": 149, "column": 12 }, "end": { - "line": 148, + "line": 149, "column": 18 } } @@ -58409,15 +58794,15 @@ "postfix": false, "binop": null }, - "start": 7318, - "end": 7319, + "start": 7355, + "end": 7356, "loc": { "start": { - "line": 148, + "line": 149, "column": 18 }, "end": { - "line": 148, + "line": 149, "column": 19 } } @@ -58436,15 +58821,15 @@ "updateContext": null }, "value": "Argument expected: output, outputXKTModel or outputXKT", - "start": 7319, - "end": 7375, + "start": 7356, + "end": 7412, "loc": { "start": { - "line": 148, + "line": 149, "column": 19 }, "end": { - "line": 148, + "line": 149, "column": 75 } } @@ -58461,15 +58846,15 @@ "postfix": false, "binop": null }, - "start": 7375, - "end": 7376, + "start": 7412, + "end": 7413, "loc": { "start": { - "line": 148, + "line": 149, "column": 75 }, "end": { - "line": 148, + "line": 149, "column": 76 } } @@ -58487,15 +58872,15 @@ "binop": null, "updateContext": null }, - "start": 7376, - "end": 7377, + "start": 7413, + "end": 7414, "loc": { "start": { - "line": 148, + "line": 149, "column": 76 }, "end": { - "line": 148, + "line": 149, "column": 77 } } @@ -58515,15 +58900,15 @@ "updateContext": null }, "value": "return", - "start": 7390, - "end": 7396, + "start": 7427, + "end": 7433, "loc": { "start": { - "line": 149, + "line": 150, "column": 12 }, "end": { - "line": 149, + "line": 150, "column": 18 } } @@ -58541,15 +58926,15 @@ "binop": null, "updateContext": null }, - "start": 7396, - "end": 7397, + "start": 7433, + "end": 7434, "loc": { "start": { - "line": 149, + "line": 150, "column": 18 }, "end": { - "line": 149, + "line": 150, "column": 19 } } @@ -58566,15 +58951,15 @@ "postfix": false, "binop": null }, - "start": 7406, - "end": 7407, + "start": 7443, + "end": 7444, "loc": { "start": { - "line": 150, + "line": 151, "column": 8 }, "end": { - "line": 150, + "line": 151, "column": 9 } } @@ -58594,15 +58979,15 @@ "updateContext": null }, "value": "if", - "start": 7417, - "end": 7419, + "start": 7454, + "end": 7456, "loc": { "start": { - "line": 152, + "line": 153, "column": 8 }, "end": { - "line": 152, + "line": 153, "column": 10 } } @@ -58619,15 +59004,15 @@ "postfix": false, "binop": null }, - "start": 7420, - "end": 7421, + "start": 7457, + "end": 7458, "loc": { "start": { - "line": 152, + "line": 153, "column": 11 }, "end": { - "line": 152, + "line": 153, "column": 12 } } @@ -58645,15 +59030,15 @@ "binop": null }, "value": "source", - "start": 7421, - "end": 7427, + "start": 7458, + "end": 7464, "loc": { "start": { - "line": 152, + "line": 153, "column": 12 }, "end": { - "line": 152, + "line": 153, "column": 18 } } @@ -58670,15 +59055,15 @@ "postfix": false, "binop": null }, - "start": 7427, - "end": 7428, + "start": 7464, + "end": 7465, "loc": { "start": { - "line": 152, + "line": 153, "column": 18 }, "end": { - "line": 152, + "line": 153, "column": 19 } } @@ -58695,15 +59080,15 @@ "postfix": false, "binop": null }, - "start": 7429, - "end": 7430, + "start": 7466, + "end": 7467, "loc": { "start": { - "line": 152, + "line": 153, "column": 20 }, "end": { - "line": 152, + "line": 153, "column": 21 } } @@ -58721,15 +59106,15 @@ "binop": null }, "value": "log", - "start": 7443, - "end": 7446, + "start": 7480, + "end": 7483, "loc": { "start": { - "line": 153, + "line": 154, "column": 12 }, "end": { - "line": 153, + "line": 154, "column": 15 } } @@ -58746,15 +59131,15 @@ "postfix": false, "binop": null }, - "start": 7446, - "end": 7447, + "start": 7483, + "end": 7484, "loc": { "start": { - "line": 153, + "line": 154, "column": 15 }, "end": { - "line": 153, + "line": 154, "column": 16 } } @@ -58773,15 +59158,15 @@ "updateContext": null }, "value": "Reading input file: ", - "start": 7447, - "end": 7469, + "start": 7484, + "end": 7506, "loc": { "start": { - "line": 153, + "line": 154, "column": 16 }, "end": { - "line": 153, + "line": 154, "column": 38 } } @@ -58800,15 +59185,15 @@ "updateContext": null }, "value": "+", - "start": 7470, - "end": 7471, + "start": 7507, + "end": 7508, "loc": { "start": { - "line": 153, + "line": 154, "column": 39 }, "end": { - "line": 153, + "line": 154, "column": 40 } } @@ -58826,15 +59211,15 @@ "binop": null }, "value": "source", - "start": 7472, - "end": 7478, + "start": 7509, + "end": 7515, "loc": { "start": { - "line": 153, + "line": 154, "column": 41 }, "end": { - "line": 153, + "line": 154, "column": 47 } } @@ -58851,15 +59236,15 @@ "postfix": false, "binop": null }, - "start": 7478, - "end": 7479, + "start": 7515, + "end": 7516, "loc": { "start": { - "line": 153, + "line": 154, "column": 47 }, "end": { - "line": 153, + "line": 154, "column": 48 } } @@ -58877,15 +59262,15 @@ "binop": null, "updateContext": null }, - "start": 7479, - "end": 7480, + "start": 7516, + "end": 7517, "loc": { "start": { - "line": 153, + "line": 154, "column": 48 }, "end": { - "line": 153, + "line": 154, "column": 49 } } @@ -58902,15 +59287,15 @@ "postfix": false, "binop": null }, - "start": 7489, - "end": 7490, + "start": 7526, + "end": 7527, "loc": { "start": { - "line": 154, + "line": 155, "column": 8 }, "end": { - "line": 154, + "line": 155, "column": 9 } } @@ -58930,15 +59315,15 @@ "updateContext": null }, "value": "const", - "start": 7500, - "end": 7505, + "start": 7537, + "end": 7542, "loc": { "start": { - "line": 156, + "line": 157, "column": 8 }, "end": { - "line": 156, + "line": 157, "column": 13 } } @@ -58956,15 +59341,15 @@ "binop": null }, "value": "startTime", - "start": 7506, - "end": 7515, + "start": 7543, + "end": 7552, "loc": { "start": { - "line": 156, + "line": 157, "column": 14 }, "end": { - "line": 156, + "line": 157, "column": 23 } } @@ -58983,15 +59368,15 @@ "updateContext": null }, "value": "=", - "start": 7516, - "end": 7517, + "start": 7553, + "end": 7554, "loc": { "start": { - "line": 156, + "line": 157, "column": 24 }, "end": { - "line": 156, + "line": 157, "column": 25 } } @@ -59011,15 +59396,15 @@ "updateContext": null }, "value": "new", - "start": 7518, - "end": 7521, + "start": 7555, + "end": 7558, "loc": { "start": { - "line": 156, + "line": 157, "column": 26 }, "end": { - "line": 156, + "line": 157, "column": 29 } } @@ -59037,15 +59422,15 @@ "binop": null }, "value": "Date", - "start": 7522, - "end": 7526, + "start": 7559, + "end": 7563, "loc": { "start": { - "line": 156, + "line": 157, "column": 30 }, "end": { - "line": 156, + "line": 157, "column": 34 } } @@ -59062,15 +59447,15 @@ "postfix": false, "binop": null }, - "start": 7526, - "end": 7527, + "start": 7563, + "end": 7564, "loc": { "start": { - "line": 156, + "line": 157, "column": 34 }, "end": { - "line": 156, + "line": 157, "column": 35 } } @@ -59087,15 +59472,15 @@ "postfix": false, "binop": null }, - "start": 7527, - "end": 7528, + "start": 7564, + "end": 7565, "loc": { "start": { - "line": 156, + "line": 157, "column": 35 }, "end": { - "line": 156, + "line": 157, "column": 36 } } @@ -59113,15 +59498,15 @@ "binop": null, "updateContext": null }, - "start": 7528, - "end": 7529, + "start": 7565, + "end": 7566, "loc": { "start": { - "line": 156, + "line": 157, "column": 36 }, "end": { - "line": 156, + "line": 157, "column": 37 } } @@ -59141,15 +59526,15 @@ "updateContext": null }, "value": "const", - "start": 7539, - "end": 7544, + "start": 7576, + "end": 7581, "loc": { "start": { - "line": 158, + "line": 159, "column": 8 }, "end": { - "line": 158, + "line": 159, "column": 13 } } @@ -59167,15 +59552,15 @@ "binop": null }, "value": "sourceConfigs", - "start": 7545, - "end": 7558, + "start": 7582, + "end": 7595, "loc": { "start": { - "line": 158, + "line": 159, "column": 14 }, "end": { - "line": 158, + "line": 159, "column": 27 } } @@ -59194,15 +59579,15 @@ "updateContext": null }, "value": "=", - "start": 7559, - "end": 7560, + "start": 7596, + "end": 7597, "loc": { "start": { - "line": 158, + "line": 159, "column": 28 }, "end": { - "line": 158, + "line": 159, "column": 29 } } @@ -59220,15 +59605,15 @@ "binop": null }, "value": "configs", - "start": 7561, - "end": 7568, + "start": 7598, + "end": 7605, "loc": { "start": { - "line": 158, + "line": 159, "column": 30 }, "end": { - "line": 158, + "line": 159, "column": 37 } } @@ -59246,15 +59631,15 @@ "binop": null, "updateContext": null }, - "start": 7568, - "end": 7569, + "start": 7605, + "end": 7606, "loc": { "start": { - "line": 158, + "line": 159, "column": 37 }, "end": { - "line": 158, + "line": 159, "column": 38 } } @@ -59272,15 +59657,15 @@ "binop": null }, "value": "sourceConfigs", - "start": 7569, - "end": 7582, + "start": 7606, + "end": 7619, "loc": { "start": { - "line": 158, + "line": 159, "column": 38 }, "end": { - "line": 158, + "line": 159, "column": 51 } } @@ -59299,15 +59684,15 @@ "updateContext": null }, "value": "||", - "start": 7583, - "end": 7585, + "start": 7620, + "end": 7622, "loc": { "start": { - "line": 158, + "line": 159, "column": 52 }, "end": { - "line": 158, + "line": 159, "column": 54 } } @@ -59324,15 +59709,15 @@ "postfix": false, "binop": null }, - "start": 7586, - "end": 7587, + "start": 7623, + "end": 7624, "loc": { "start": { - "line": 158, + "line": 159, "column": 55 }, "end": { - "line": 158, + "line": 159, "column": 56 } } @@ -59349,15 +59734,15 @@ "postfix": false, "binop": null }, - "start": 7587, - "end": 7588, + "start": 7624, + "end": 7625, "loc": { "start": { - "line": 158, + "line": 159, "column": 56 }, "end": { - "line": 158, + "line": 159, "column": 57 } } @@ -59375,15 +59760,15 @@ "binop": null, "updateContext": null }, - "start": 7588, - "end": 7589, + "start": 7625, + "end": 7626, "loc": { "start": { - "line": 158, + "line": 159, "column": 57 }, "end": { - "line": 158, + "line": 159, "column": 58 } } @@ -59403,15 +59788,15 @@ "updateContext": null }, "value": "const", - "start": 7598, - "end": 7603, + "start": 7635, + "end": 7640, "loc": { "start": { - "line": 159, + "line": 160, "column": 8 }, "end": { - "line": 159, + "line": 160, "column": 13 } } @@ -59429,15 +59814,15 @@ "binop": null }, "value": "ext", - "start": 7604, - "end": 7607, + "start": 7641, + "end": 7644, "loc": { "start": { - "line": 159, + "line": 160, "column": 14 }, "end": { - "line": 159, + "line": 160, "column": 17 } } @@ -59456,15 +59841,15 @@ "updateContext": null }, "value": "=", - "start": 7608, - "end": 7609, + "start": 7645, + "end": 7646, "loc": { "start": { - "line": 159, + "line": 160, "column": 18 }, "end": { - "line": 159, + "line": 160, "column": 19 } } @@ -59482,15 +59867,15 @@ "binop": null }, "value": "sourceFormat", - "start": 7610, - "end": 7622, + "start": 7647, + "end": 7659, "loc": { "start": { - "line": 159, + "line": 160, "column": 20 }, "end": { - "line": 159, + "line": 160, "column": 32 } } @@ -59509,15 +59894,15 @@ "updateContext": null }, "value": "||", - "start": 7623, - "end": 7625, + "start": 7660, + "end": 7662, "loc": { "start": { - "line": 159, + "line": 160, "column": 33 }, "end": { - "line": 159, + "line": 160, "column": 35 } } @@ -59535,15 +59920,15 @@ "binop": null }, "value": "getFileExtension", - "start": 7626, - "end": 7642, + "start": 7663, + "end": 7679, "loc": { "start": { - "line": 159, + "line": 160, "column": 36 }, "end": { - "line": 159, + "line": 160, "column": 52 } } @@ -59560,15 +59945,15 @@ "postfix": false, "binop": null }, - "start": 7642, - "end": 7643, + "start": 7679, + "end": 7680, "loc": { "start": { - "line": 159, + "line": 160, "column": 52 }, "end": { - "line": 159, + "line": 160, "column": 53 } } @@ -59586,15 +59971,15 @@ "binop": null }, "value": "source", - "start": 7643, - "end": 7649, + "start": 7680, + "end": 7686, "loc": { "start": { - "line": 159, + "line": 160, "column": 53 }, "end": { - "line": 159, + "line": 160, "column": 59 } } @@ -59611,15 +59996,15 @@ "postfix": false, "binop": null }, - "start": 7649, - "end": 7650, + "start": 7686, + "end": 7687, "loc": { "start": { - "line": 159, + "line": 160, "column": 59 }, "end": { - "line": 159, + "line": 160, "column": 60 } } @@ -59637,15 +60022,15 @@ "binop": null, "updateContext": null }, - "start": 7650, - "end": 7651, + "start": 7687, + "end": 7688, "loc": { "start": { - "line": 159, + "line": 160, "column": 60 }, "end": { - "line": 159, + "line": 160, "column": 61 } } @@ -59663,15 +60048,15 @@ "binop": null }, "value": "log", - "start": 7661, - "end": 7664, + "start": 7698, + "end": 7701, "loc": { "start": { - "line": 161, + "line": 162, "column": 8 }, "end": { - "line": 161, + "line": 162, "column": 11 } } @@ -59688,15 +60073,15 @@ "postfix": false, "binop": null }, - "start": 7664, - "end": 7665, + "start": 7701, + "end": 7702, "loc": { "start": { - "line": 161, + "line": 162, "column": 11 }, "end": { - "line": 161, + "line": 162, "column": 12 } } @@ -59713,15 +60098,15 @@ "postfix": false, "binop": null }, - "start": 7665, - "end": 7666, + "start": 7702, + "end": 7703, "loc": { "start": { - "line": 161, + "line": 162, "column": 12 }, "end": { - "line": 161, + "line": 162, "column": 13 } } @@ -59740,15 +60125,15 @@ "updateContext": null }, "value": "Input file extension: \"", - "start": 7666, - "end": 7689, + "start": 7703, + "end": 7726, "loc": { "start": { - "line": 161, + "line": 162, "column": 13 }, "end": { - "line": 161, + "line": 162, "column": 36 } } @@ -59765,15 +60150,15 @@ "postfix": false, "binop": null }, - "start": 7689, - "end": 7691, + "start": 7726, + "end": 7728, "loc": { "start": { - "line": 161, + "line": 162, "column": 36 }, "end": { - "line": 161, + "line": 162, "column": 38 } } @@ -59791,15 +60176,15 @@ "binop": null }, "value": "ext", - "start": 7691, - "end": 7694, + "start": 7728, + "end": 7731, "loc": { "start": { - "line": 161, + "line": 162, "column": 38 }, "end": { - "line": 161, + "line": 162, "column": 41 } } @@ -59816,15 +60201,15 @@ "postfix": false, "binop": null }, - "start": 7694, - "end": 7695, + "start": 7731, + "end": 7732, "loc": { "start": { - "line": 161, + "line": 162, "column": 41 }, "end": { - "line": 161, + "line": 162, "column": 42 } } @@ -59843,15 +60228,15 @@ "updateContext": null }, "value": "\"", - "start": 7695, - "end": 7696, + "start": 7732, + "end": 7733, "loc": { "start": { - "line": 161, + "line": 162, "column": 42 }, "end": { - "line": 161, + "line": 162, "column": 43 } } @@ -59868,15 +60253,15 @@ "postfix": false, "binop": null }, - "start": 7696, - "end": 7697, + "start": 7733, + "end": 7734, "loc": { "start": { - "line": 161, + "line": 162, "column": 43 }, "end": { - "line": 161, + "line": 162, "column": 44 } } @@ -59893,15 +60278,15 @@ "postfix": false, "binop": null }, - "start": 7697, - "end": 7698, + "start": 7734, + "end": 7735, "loc": { "start": { - "line": 161, + "line": 162, "column": 44 }, "end": { - "line": 161, + "line": 162, "column": 45 } } @@ -59919,15 +60304,15 @@ "binop": null, "updateContext": null }, - "start": 7698, - "end": 7699, + "start": 7735, + "end": 7736, "loc": { "start": { - "line": 161, + "line": 162, "column": 45 }, "end": { - "line": 161, + "line": 162, "column": 46 } } @@ -59947,15 +60332,15 @@ "updateContext": null }, "value": "let", - "start": 7709, - "end": 7712, + "start": 7746, + "end": 7749, "loc": { "start": { - "line": 163, + "line": 164, "column": 8 }, "end": { - "line": 163, + "line": 164, "column": 11 } } @@ -59973,15 +60358,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 7713, - "end": 7728, + "start": 7750, + "end": 7765, "loc": { "start": { - "line": 163, + "line": 164, "column": 12 }, "end": { - "line": 163, + "line": 164, "column": 27 } } @@ -60000,15 +60385,15 @@ "updateContext": null }, "value": "=", - "start": 7729, - "end": 7730, + "start": 7766, + "end": 7767, "loc": { "start": { - "line": 163, + "line": 164, "column": 28 }, "end": { - "line": 163, + "line": 164, "column": 29 } } @@ -60026,15 +60411,15 @@ "binop": null }, "value": "sourceConfigs", - "start": 7731, - "end": 7744, + "start": 7768, + "end": 7781, "loc": { "start": { - "line": 163, + "line": 164, "column": 30 }, "end": { - "line": 163, + "line": 164, "column": 43 } } @@ -60052,15 +60437,15 @@ "binop": null, "updateContext": null }, - "start": 7744, - "end": 7745, + "start": 7781, + "end": 7782, "loc": { "start": { - "line": 163, + "line": 164, "column": 43 }, "end": { - "line": 163, + "line": 164, "column": 44 } } @@ -60078,15 +60463,15 @@ "binop": null }, "value": "ext", - "start": 7745, - "end": 7748, + "start": 7782, + "end": 7785, "loc": { "start": { - "line": 163, + "line": 164, "column": 44 }, "end": { - "line": 163, + "line": 164, "column": 47 } } @@ -60104,15 +60489,15 @@ "binop": null, "updateContext": null }, - "start": 7748, - "end": 7749, + "start": 7785, + "end": 7786, "loc": { "start": { - "line": 163, + "line": 164, "column": 47 }, "end": { - "line": 163, + "line": 164, "column": 48 } } @@ -60130,15 +60515,15 @@ "binop": null, "updateContext": null }, - "start": 7749, - "end": 7750, + "start": 7786, + "end": 7787, "loc": { "start": { - "line": 163, + "line": 164, "column": 48 }, "end": { - "line": 163, + "line": 164, "column": 49 } } @@ -60158,15 +60543,15 @@ "updateContext": null }, "value": "if", - "start": 7760, - "end": 7762, + "start": 7797, + "end": 7799, "loc": { "start": { - "line": 165, + "line": 166, "column": 8 }, "end": { - "line": 165, + "line": 166, "column": 10 } } @@ -60183,15 +60568,15 @@ "postfix": false, "binop": null }, - "start": 7763, - "end": 7764, + "start": 7800, + "end": 7801, "loc": { "start": { - "line": 165, + "line": 166, "column": 11 }, "end": { - "line": 165, + "line": 166, "column": 12 } } @@ -60210,15 +60595,15 @@ "updateContext": null }, "value": "!", - "start": 7764, - "end": 7765, + "start": 7801, + "end": 7802, "loc": { "start": { - "line": 165, + "line": 166, "column": 12 }, "end": { - "line": 165, + "line": 166, "column": 13 } } @@ -60236,15 +60621,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 7765, - "end": 7780, + "start": 7802, + "end": 7817, "loc": { "start": { - "line": 165, + "line": 166, "column": 13 }, "end": { - "line": 165, + "line": 166, "column": 28 } } @@ -60261,15 +60646,15 @@ "postfix": false, "binop": null }, - "start": 7780, - "end": 7781, + "start": 7817, + "end": 7818, "loc": { "start": { - "line": 165, + "line": 166, "column": 28 }, "end": { - "line": 165, + "line": 166, "column": 29 } } @@ -60286,15 +60671,15 @@ "postfix": false, "binop": null }, - "start": 7782, - "end": 7783, + "start": 7819, + "end": 7820, "loc": { "start": { - "line": 165, + "line": 166, "column": 30 }, "end": { - "line": 165, + "line": 166, "column": 31 } } @@ -60312,15 +60697,15 @@ "binop": null }, "value": "log", - "start": 7796, - "end": 7799, + "start": 7833, + "end": 7836, "loc": { "start": { - "line": 166, + "line": 167, "column": 12 }, "end": { - "line": 166, + "line": 167, "column": 15 } } @@ -60337,15 +60722,15 @@ "postfix": false, "binop": null }, - "start": 7799, - "end": 7800, + "start": 7836, + "end": 7837, "loc": { "start": { - "line": 166, + "line": 167, "column": 15 }, "end": { - "line": 166, + "line": 167, "column": 16 } } @@ -60362,15 +60747,15 @@ "postfix": false, "binop": null }, - "start": 7800, - "end": 7801, + "start": 7837, + "end": 7838, "loc": { "start": { - "line": 166, + "line": 167, "column": 16 }, "end": { - "line": 166, + "line": 167, "column": 17 } } @@ -60389,15 +60774,15 @@ "updateContext": null }, "value": "[WARNING] Could not find configs sourceConfigs entry for source format \"", - "start": 7801, - "end": 7873, + "start": 7838, + "end": 7910, "loc": { "start": { - "line": 166, + "line": 167, "column": 17 }, "end": { - "line": 166, + "line": 167, "column": 89 } } @@ -60414,15 +60799,15 @@ "postfix": false, "binop": null }, - "start": 7873, - "end": 7875, + "start": 7910, + "end": 7912, "loc": { "start": { - "line": 166, + "line": 167, "column": 89 }, "end": { - "line": 166, + "line": 167, "column": 91 } } @@ -60440,15 +60825,15 @@ "binop": null }, "value": "ext", - "start": 7875, - "end": 7878, + "start": 7912, + "end": 7915, "loc": { "start": { - "line": 166, + "line": 167, "column": 91 }, "end": { - "line": 166, + "line": 167, "column": 94 } } @@ -60465,15 +60850,15 @@ "postfix": false, "binop": null }, - "start": 7878, - "end": 7879, + "start": 7915, + "end": 7916, "loc": { "start": { - "line": 166, + "line": 167, "column": 94 }, "end": { - "line": 166, + "line": 167, "column": 95 } } @@ -60492,15 +60877,15 @@ "updateContext": null }, "value": "\". This is derived from the source file name extension. Will use internal default configs.", - "start": 7879, - "end": 7969, + "start": 7916, + "end": 8006, "loc": { "start": { - "line": 166, + "line": 167, "column": 95 }, "end": { - "line": 166, + "line": 167, "column": 185 } } @@ -60517,15 +60902,15 @@ "postfix": false, "binop": null }, - "start": 7969, - "end": 7970, + "start": 8006, + "end": 8007, "loc": { "start": { - "line": 166, + "line": 167, "column": 185 }, "end": { - "line": 166, + "line": 167, "column": 186 } } @@ -60542,15 +60927,15 @@ "postfix": false, "binop": null }, - "start": 7970, - "end": 7971, + "start": 8007, + "end": 8008, "loc": { "start": { - "line": 166, + "line": 167, "column": 186 }, "end": { - "line": 166, + "line": 167, "column": 187 } } @@ -60568,15 +60953,15 @@ "binop": null, "updateContext": null }, - "start": 7971, - "end": 7972, + "start": 8008, + "end": 8009, "loc": { "start": { - "line": 166, + "line": 167, "column": 187 }, "end": { - "line": 166, + "line": 167, "column": 188 } } @@ -60594,15 +60979,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 7985, - "end": 8000, + "start": 8022, + "end": 8037, "loc": { "start": { - "line": 167, + "line": 168, "column": 12 }, "end": { - "line": 167, + "line": 168, "column": 27 } } @@ -60621,15 +61006,15 @@ "updateContext": null }, "value": "=", - "start": 8001, - "end": 8002, + "start": 8038, + "end": 8039, "loc": { "start": { - "line": 167, + "line": 168, "column": 28 }, "end": { - "line": 167, + "line": 168, "column": 29 } } @@ -60646,15 +61031,15 @@ "postfix": false, "binop": null }, - "start": 8003, - "end": 8004, + "start": 8040, + "end": 8041, "loc": { "start": { - "line": 167, + "line": 168, "column": 30 }, "end": { - "line": 167, + "line": 168, "column": 31 } } @@ -60671,15 +61056,15 @@ "postfix": false, "binop": null }, - "start": 8004, - "end": 8005, + "start": 8041, + "end": 8042, "loc": { "start": { - "line": 167, + "line": 168, "column": 31 }, "end": { - "line": 167, + "line": 168, "column": 32 } } @@ -60697,15 +61082,15 @@ "binop": null, "updateContext": null }, - "start": 8005, - "end": 8006, + "start": 8042, + "end": 8043, "loc": { "start": { - "line": 167, + "line": 168, "column": 32 }, "end": { - "line": 167, + "line": 168, "column": 33 } } @@ -60722,15 +61107,15 @@ "postfix": false, "binop": null }, - "start": 8015, - "end": 8016, + "start": 8052, + "end": 8053, "loc": { "start": { - "line": 168, + "line": 169, "column": 8 }, "end": { - "line": 168, + "line": 169, "column": 9 } } @@ -60749,15 +61134,15 @@ "binop": null }, "value": "function", - "start": 8026, - "end": 8034, + "start": 8063, + "end": 8071, "loc": { "start": { - "line": 170, + "line": 171, "column": 8 }, "end": { - "line": 170, + "line": 171, "column": 16 } } @@ -60775,15 +61160,15 @@ "binop": null }, "value": "overrideOption", - "start": 8035, - "end": 8049, + "start": 8072, + "end": 8086, "loc": { "start": { - "line": 170, + "line": 171, "column": 17 }, "end": { - "line": 170, + "line": 171, "column": 31 } } @@ -60800,15 +61185,15 @@ "postfix": false, "binop": null }, - "start": 8049, - "end": 8050, + "start": 8086, + "end": 8087, "loc": { "start": { - "line": 170, + "line": 171, "column": 31 }, "end": { - "line": 170, + "line": 171, "column": 32 } } @@ -60826,15 +61211,15 @@ "binop": null }, "value": "option1", - "start": 8050, - "end": 8057, + "start": 8087, + "end": 8094, "loc": { "start": { - "line": 170, + "line": 171, "column": 32 }, "end": { - "line": 170, + "line": 171, "column": 39 } } @@ -60852,15 +61237,15 @@ "binop": null, "updateContext": null }, - "start": 8057, - "end": 8058, + "start": 8094, + "end": 8095, "loc": { "start": { - "line": 170, + "line": 171, "column": 39 }, "end": { - "line": 170, + "line": 171, "column": 40 } } @@ -60878,15 +61263,15 @@ "binop": null }, "value": "option2", - "start": 8059, - "end": 8066, + "start": 8096, + "end": 8103, "loc": { "start": { - "line": 170, + "line": 171, "column": 41 }, "end": { - "line": 170, + "line": 171, "column": 48 } } @@ -60903,15 +61288,15 @@ "postfix": false, "binop": null }, - "start": 8066, - "end": 8067, + "start": 8103, + "end": 8104, "loc": { "start": { - "line": 170, + "line": 171, "column": 48 }, "end": { - "line": 170, + "line": 171, "column": 49 } } @@ -60928,15 +61313,15 @@ "postfix": false, "binop": null }, - "start": 8068, - "end": 8069, + "start": 8105, + "end": 8106, "loc": { "start": { - "line": 170, + "line": 171, "column": 50 }, "end": { - "line": 170, + "line": 171, "column": 51 } } @@ -60956,15 +61341,15 @@ "updateContext": null }, "value": "if", - "start": 8082, - "end": 8084, + "start": 8119, + "end": 8121, "loc": { "start": { - "line": 171, + "line": 172, "column": 12 }, "end": { - "line": 171, + "line": 172, "column": 14 } } @@ -60981,15 +61366,15 @@ "postfix": false, "binop": null }, - "start": 8085, - "end": 8086, + "start": 8122, + "end": 8123, "loc": { "start": { - "line": 171, + "line": 172, "column": 15 }, "end": { - "line": 171, + "line": 172, "column": 16 } } @@ -61007,15 +61392,15 @@ "binop": null }, "value": "option1", - "start": 8086, - "end": 8093, + "start": 8123, + "end": 8130, "loc": { "start": { - "line": 171, + "line": 172, "column": 16 }, "end": { - "line": 171, + "line": 172, "column": 23 } } @@ -61034,15 +61419,15 @@ "updateContext": null }, "value": "!==", - "start": 8094, - "end": 8097, + "start": 8131, + "end": 8134, "loc": { "start": { - "line": 171, + "line": 172, "column": 24 }, "end": { - "line": 171, + "line": 172, "column": 27 } } @@ -61060,15 +61445,15 @@ "binop": null }, "value": "undefined", - "start": 8098, - "end": 8107, + "start": 8135, + "end": 8144, "loc": { "start": { - "line": 171, + "line": 172, "column": 28 }, "end": { - "line": 171, + "line": 172, "column": 37 } } @@ -61085,15 +61470,15 @@ "postfix": false, "binop": null }, - "start": 8107, - "end": 8108, + "start": 8144, + "end": 8145, "loc": { "start": { - "line": 171, + "line": 172, "column": 37 }, "end": { - "line": 171, + "line": 172, "column": 38 } } @@ -61110,15 +61495,15 @@ "postfix": false, "binop": null }, - "start": 8109, - "end": 8110, + "start": 8146, + "end": 8147, "loc": { "start": { - "line": 171, + "line": 172, "column": 39 }, "end": { - "line": 171, + "line": 172, "column": 40 } } @@ -61138,15 +61523,15 @@ "updateContext": null }, "value": "return", - "start": 8127, - "end": 8133, + "start": 8164, + "end": 8170, "loc": { "start": { - "line": 172, + "line": 173, "column": 16 }, "end": { - "line": 172, + "line": 173, "column": 22 } } @@ -61164,15 +61549,15 @@ "binop": null }, "value": "option1", - "start": 8134, - "end": 8141, + "start": 8171, + "end": 8178, "loc": { "start": { - "line": 172, + "line": 173, "column": 23 }, "end": { - "line": 172, + "line": 173, "column": 30 } } @@ -61190,15 +61575,15 @@ "binop": null, "updateContext": null }, - "start": 8141, - "end": 8142, + "start": 8178, + "end": 8179, "loc": { "start": { - "line": 172, + "line": 173, "column": 30 }, "end": { - "line": 172, + "line": 173, "column": 31 } } @@ -61215,15 +61600,15 @@ "postfix": false, "binop": null }, - "start": 8155, - "end": 8156, + "start": 8192, + "end": 8193, "loc": { "start": { - "line": 173, + "line": 174, "column": 12 }, "end": { - "line": 173, + "line": 174, "column": 13 } } @@ -61243,15 +61628,15 @@ "updateContext": null }, "value": "return", - "start": 8169, - "end": 8175, + "start": 8206, + "end": 8212, "loc": { "start": { - "line": 174, + "line": 175, "column": 12 }, "end": { - "line": 174, + "line": 175, "column": 18 } } @@ -61269,15 +61654,15 @@ "binop": null }, "value": "option2", - "start": 8176, - "end": 8183, + "start": 8213, + "end": 8220, "loc": { "start": { - "line": 174, + "line": 175, "column": 19 }, "end": { - "line": 174, + "line": 175, "column": 26 } } @@ -61295,15 +61680,15 @@ "binop": null, "updateContext": null }, - "start": 8183, - "end": 8184, + "start": 8220, + "end": 8221, "loc": { "start": { - "line": 174, + "line": 175, "column": 26 }, "end": { - "line": 174, + "line": 175, "column": 27 } } @@ -61320,15 +61705,15 @@ "postfix": false, "binop": null }, - "start": 8193, - "end": 8194, + "start": 8230, + "end": 8231, "loc": { "start": { - "line": 175, + "line": 176, "column": 8 }, "end": { - "line": 175, + "line": 176, "column": 9 } } @@ -61348,15 +61733,15 @@ "updateContext": null }, "value": "if", - "start": 8204, - "end": 8206, + "start": 8241, + "end": 8243, "loc": { "start": { - "line": 177, + "line": 178, "column": 8 }, "end": { - "line": 177, + "line": 178, "column": 10 } } @@ -61373,15 +61758,15 @@ "postfix": false, "binop": null }, - "start": 8207, - "end": 8208, + "start": 8244, + "end": 8245, "loc": { "start": { - "line": 177, + "line": 178, "column": 11 }, "end": { - "line": 177, + "line": 178, "column": 12 } } @@ -61400,15 +61785,15 @@ "updateContext": null }, "value": "!", - "start": 8208, - "end": 8209, + "start": 8245, + "end": 8246, "loc": { "start": { - "line": 177, + "line": 178, "column": 12 }, "end": { - "line": 177, + "line": 178, "column": 13 } } @@ -61426,15 +61811,15 @@ "binop": null }, "value": "sourceData", - "start": 8209, - "end": 8219, + "start": 8246, + "end": 8256, "loc": { "start": { - "line": 177, + "line": 178, "column": 13 }, "end": { - "line": 177, + "line": 178, "column": 23 } } @@ -61451,15 +61836,15 @@ "postfix": false, "binop": null }, - "start": 8219, - "end": 8220, + "start": 8256, + "end": 8257, "loc": { "start": { - "line": 177, + "line": 178, "column": 23 }, "end": { - "line": 177, + "line": 178, "column": 24 } } @@ -61476,15 +61861,15 @@ "postfix": false, "binop": null }, - "start": 8221, - "end": 8222, + "start": 8258, + "end": 8259, "loc": { "start": { - "line": 177, + "line": 178, "column": 25 }, "end": { - "line": 177, + "line": 178, "column": 26 } } @@ -61504,15 +61889,15 @@ "updateContext": null }, "value": "try", - "start": 8235, - "end": 8238, + "start": 8272, + "end": 8275, "loc": { "start": { - "line": 178, + "line": 179, "column": 12 }, "end": { - "line": 178, + "line": 179, "column": 15 } } @@ -61529,15 +61914,15 @@ "postfix": false, "binop": null }, - "start": 8239, - "end": 8240, + "start": 8276, + "end": 8277, "loc": { "start": { - "line": 178, + "line": 179, "column": 16 }, "end": { - "line": 178, + "line": 179, "column": 17 } } @@ -61555,15 +61940,15 @@ "binop": null }, "value": "sourceData", - "start": 8257, - "end": 8267, + "start": 8294, + "end": 8304, "loc": { "start": { - "line": 179, + "line": 180, "column": 16 }, "end": { - "line": 179, + "line": 180, "column": 26 } } @@ -61582,15 +61967,15 @@ "updateContext": null }, "value": "=", - "start": 8268, - "end": 8269, + "start": 8305, + "end": 8306, "loc": { "start": { - "line": 179, + "line": 180, "column": 27 }, "end": { - "line": 179, + "line": 180, "column": 28 } } @@ -61608,15 +61993,15 @@ "binop": null }, "value": "fs", - "start": 8270, - "end": 8272, + "start": 8307, + "end": 8309, "loc": { "start": { - "line": 179, + "line": 180, "column": 29 }, "end": { - "line": 179, + "line": 180, "column": 31 } } @@ -61634,15 +62019,15 @@ "binop": null, "updateContext": null }, - "start": 8272, - "end": 8273, + "start": 8309, + "end": 8310, "loc": { "start": { - "line": 179, + "line": 180, "column": 31 }, "end": { - "line": 179, + "line": 180, "column": 32 } } @@ -61660,15 +62045,15 @@ "binop": null }, "value": "readFileSync", - "start": 8273, - "end": 8285, + "start": 8310, + "end": 8322, "loc": { "start": { - "line": 179, + "line": 180, "column": 32 }, "end": { - "line": 179, + "line": 180, "column": 44 } } @@ -61685,15 +62070,15 @@ "postfix": false, "binop": null }, - "start": 8285, - "end": 8286, + "start": 8322, + "end": 8323, "loc": { "start": { - "line": 179, + "line": 180, "column": 44 }, "end": { - "line": 179, + "line": 180, "column": 45 } } @@ -61711,15 +62096,15 @@ "binop": null }, "value": "source", - "start": 8286, - "end": 8292, + "start": 8323, + "end": 8329, "loc": { "start": { - "line": 179, + "line": 180, "column": 45 }, "end": { - "line": 179, + "line": 180, "column": 51 } } @@ -61736,15 +62121,15 @@ "postfix": false, "binop": null }, - "start": 8292, - "end": 8293, + "start": 8329, + "end": 8330, "loc": { "start": { - "line": 179, + "line": 180, "column": 51 }, "end": { - "line": 179, + "line": 180, "column": 52 } } @@ -61762,15 +62147,15 @@ "binop": null, "updateContext": null }, - "start": 8293, - "end": 8294, + "start": 8330, + "end": 8331, "loc": { "start": { - "line": 179, + "line": 180, "column": 52 }, "end": { - "line": 179, + "line": 180, "column": 53 } } @@ -61787,15 +62172,15 @@ "postfix": false, "binop": null }, - "start": 8307, - "end": 8308, + "start": 8344, + "end": 8345, "loc": { "start": { - "line": 180, + "line": 181, "column": 12 }, "end": { - "line": 180, + "line": 181, "column": 13 } } @@ -61815,15 +62200,15 @@ "updateContext": null }, "value": "catch", - "start": 8309, - "end": 8314, + "start": 8346, + "end": 8351, "loc": { "start": { - "line": 180, + "line": 181, "column": 14 }, "end": { - "line": 180, + "line": 181, "column": 19 } } @@ -61840,15 +62225,15 @@ "postfix": false, "binop": null }, - "start": 8315, - "end": 8316, + "start": 8352, + "end": 8353, "loc": { "start": { - "line": 180, + "line": 181, "column": 20 }, "end": { - "line": 180, + "line": 181, "column": 21 } } @@ -61866,15 +62251,15 @@ "binop": null }, "value": "err", - "start": 8316, - "end": 8319, + "start": 8353, + "end": 8356, "loc": { "start": { - "line": 180, + "line": 181, "column": 21 }, "end": { - "line": 180, + "line": 181, "column": 24 } } @@ -61891,15 +62276,15 @@ "postfix": false, "binop": null }, - "start": 8319, - "end": 8320, + "start": 8356, + "end": 8357, "loc": { "start": { - "line": 180, + "line": 181, "column": 24 }, "end": { - "line": 180, + "line": 181, "column": 25 } } @@ -61916,15 +62301,15 @@ "postfix": false, "binop": null }, - "start": 8321, - "end": 8322, + "start": 8358, + "end": 8359, "loc": { "start": { - "line": 180, + "line": 181, "column": 26 }, "end": { - "line": 180, + "line": 181, "column": 27 } } @@ -61942,15 +62327,15 @@ "binop": null }, "value": "reject", - "start": 8339, - "end": 8345, + "start": 8376, + "end": 8382, "loc": { "start": { - "line": 181, + "line": 182, "column": 16 }, "end": { - "line": 181, + "line": 182, "column": 22 } } @@ -61967,15 +62352,15 @@ "postfix": false, "binop": null }, - "start": 8345, - "end": 8346, + "start": 8382, + "end": 8383, "loc": { "start": { - "line": 181, + "line": 182, "column": 22 }, "end": { - "line": 181, + "line": 182, "column": 23 } } @@ -61993,15 +62378,15 @@ "binop": null }, "value": "err", - "start": 8346, - "end": 8349, + "start": 8383, + "end": 8386, "loc": { "start": { - "line": 181, + "line": 182, "column": 23 }, "end": { - "line": 181, + "line": 182, "column": 26 } } @@ -62018,15 +62403,15 @@ "postfix": false, "binop": null }, - "start": 8349, - "end": 8350, + "start": 8386, + "end": 8387, "loc": { "start": { - "line": 181, + "line": 182, "column": 26 }, "end": { - "line": 181, + "line": 182, "column": 27 } } @@ -62044,15 +62429,15 @@ "binop": null, "updateContext": null }, - "start": 8350, - "end": 8351, + "start": 8387, + "end": 8388, "loc": { "start": { - "line": 181, + "line": 182, "column": 27 }, "end": { - "line": 181, + "line": 182, "column": 28 } } @@ -62072,15 +62457,15 @@ "updateContext": null }, "value": "return", - "start": 8368, - "end": 8374, + "start": 8405, + "end": 8411, "loc": { "start": { - "line": 182, + "line": 183, "column": 16 }, "end": { - "line": 182, + "line": 183, "column": 22 } } @@ -62098,15 +62483,15 @@ "binop": null, "updateContext": null }, - "start": 8374, - "end": 8375, + "start": 8411, + "end": 8412, "loc": { "start": { - "line": 182, + "line": 183, "column": 22 }, "end": { - "line": 182, + "line": 183, "column": 23 } } @@ -62123,15 +62508,15 @@ "postfix": false, "binop": null }, - "start": 8388, - "end": 8389, + "start": 8425, + "end": 8426, "loc": { "start": { - "line": 183, + "line": 184, "column": 12 }, "end": { - "line": 183, + "line": 184, "column": 13 } } @@ -62148,15 +62533,15 @@ "postfix": false, "binop": null }, - "start": 8398, - "end": 8399, + "start": 8435, + "end": 8436, "loc": { "start": { - "line": 184, + "line": 185, "column": 8 }, "end": { - "line": 184, + "line": 185, "column": 9 } } @@ -62176,15 +62561,15 @@ "updateContext": null }, "value": "const", - "start": 8409, - "end": 8414, + "start": 8446, + "end": 8451, "loc": { "start": { - "line": 186, + "line": 187, "column": 8 }, "end": { - "line": 186, + "line": 187, "column": 13 } } @@ -62202,15 +62587,15 @@ "binop": null }, "value": "sourceFileSizeBytes", - "start": 8415, - "end": 8434, + "start": 8452, + "end": 8471, "loc": { "start": { - "line": 186, + "line": 187, "column": 14 }, "end": { - "line": 186, + "line": 187, "column": 33 } } @@ -62229,15 +62614,15 @@ "updateContext": null }, "value": "=", - "start": 8435, - "end": 8436, + "start": 8472, + "end": 8473, "loc": { "start": { - "line": 186, + "line": 187, "column": 34 }, "end": { - "line": 186, + "line": 187, "column": 35 } } @@ -62255,15 +62640,15 @@ "binop": null }, "value": "sourceData", - "start": 8437, - "end": 8447, + "start": 8474, + "end": 8484, "loc": { "start": { - "line": 186, + "line": 187, "column": 36 }, "end": { - "line": 186, + "line": 187, "column": 46 } } @@ -62281,15 +62666,15 @@ "binop": null, "updateContext": null }, - "start": 8447, - "end": 8448, + "start": 8484, + "end": 8485, "loc": { "start": { - "line": 186, + "line": 187, "column": 46 }, "end": { - "line": 186, + "line": 187, "column": 47 } } @@ -62307,15 +62692,15 @@ "binop": null }, "value": "byteLength", - "start": 8448, - "end": 8458, + "start": 8485, + "end": 8495, "loc": { "start": { - "line": 186, + "line": 187, "column": 47 }, "end": { - "line": 186, + "line": 187, "column": 57 } } @@ -62333,15 +62718,15 @@ "binop": null, "updateContext": null }, - "start": 8458, - "end": 8459, + "start": 8495, + "end": 8496, "loc": { "start": { - "line": 186, + "line": 187, "column": 57 }, "end": { - "line": 186, + "line": 187, "column": 58 } } @@ -62359,15 +62744,15 @@ "binop": null }, "value": "log", - "start": 8469, - "end": 8472, + "start": 8506, + "end": 8509, "loc": { "start": { - "line": 188, + "line": 189, "column": 8 }, "end": { - "line": 188, + "line": 189, "column": 11 } } @@ -62384,15 +62769,15 @@ "postfix": false, "binop": null }, - "start": 8472, - "end": 8473, + "start": 8509, + "end": 8510, "loc": { "start": { - "line": 188, + "line": 189, "column": 11 }, "end": { - "line": 188, + "line": 189, "column": 12 } } @@ -62411,15 +62796,15 @@ "updateContext": null }, "value": "Input file size: ", - "start": 8473, - "end": 8492, + "start": 8510, + "end": 8529, "loc": { "start": { - "line": 188, + "line": 189, "column": 12 }, "end": { - "line": 188, + "line": 189, "column": 31 } } @@ -62438,15 +62823,15 @@ "updateContext": null }, "value": "+", - "start": 8493, - "end": 8494, + "start": 8530, + "end": 8531, "loc": { "start": { - "line": 188, + "line": 189, "column": 32 }, "end": { - "line": 188, + "line": 189, "column": 33 } } @@ -62463,15 +62848,15 @@ "postfix": false, "binop": null }, - "start": 8495, - "end": 8496, + "start": 8532, + "end": 8533, "loc": { "start": { - "line": 188, + "line": 189, "column": 34 }, "end": { - "line": 188, + "line": 189, "column": 35 } } @@ -62489,15 +62874,15 @@ "binop": null }, "value": "sourceFileSizeBytes", - "start": 8496, - "end": 8515, + "start": 8533, + "end": 8552, "loc": { "start": { - "line": 188, + "line": 189, "column": 35 }, "end": { - "line": 188, + "line": 189, "column": 54 } } @@ -62516,15 +62901,15 @@ "updateContext": null }, "value": "/", - "start": 8516, - "end": 8517, + "start": 8553, + "end": 8554, "loc": { "start": { - "line": 188, + "line": 189, "column": 55 }, "end": { - "line": 188, + "line": 189, "column": 56 } } @@ -62543,15 +62928,15 @@ "updateContext": null }, "value": 1000, - "start": 8518, - "end": 8522, + "start": 8555, + "end": 8559, "loc": { "start": { - "line": 188, + "line": 189, "column": 57 }, "end": { - "line": 188, + "line": 189, "column": 61 } } @@ -62568,15 +62953,15 @@ "postfix": false, "binop": null }, - "start": 8522, - "end": 8523, + "start": 8559, + "end": 8560, "loc": { "start": { - "line": 188, + "line": 189, "column": 61 }, "end": { - "line": 188, + "line": 189, "column": 62 } } @@ -62594,15 +62979,15 @@ "binop": null, "updateContext": null }, - "start": 8523, - "end": 8524, + "start": 8560, + "end": 8561, "loc": { "start": { - "line": 188, + "line": 189, "column": 62 }, "end": { - "line": 188, + "line": 189, "column": 63 } } @@ -62620,15 +63005,15 @@ "binop": null }, "value": "toFixed", - "start": 8524, - "end": 8531, + "start": 8561, + "end": 8568, "loc": { "start": { - "line": 188, + "line": 189, "column": 63 }, "end": { - "line": 188, + "line": 189, "column": 70 } } @@ -62645,15 +63030,15 @@ "postfix": false, "binop": null }, - "start": 8531, - "end": 8532, + "start": 8568, + "end": 8569, "loc": { "start": { - "line": 188, + "line": 189, "column": 70 }, "end": { - "line": 188, + "line": 189, "column": 71 } } @@ -62672,15 +63057,15 @@ "updateContext": null }, "value": 2, - "start": 8532, - "end": 8533, + "start": 8569, + "end": 8570, "loc": { "start": { - "line": 188, + "line": 189, "column": 71 }, "end": { - "line": 188, + "line": 189, "column": 72 } } @@ -62697,15 +63082,15 @@ "postfix": false, "binop": null }, - "start": 8533, - "end": 8534, + "start": 8570, + "end": 8571, "loc": { "start": { - "line": 188, + "line": 189, "column": 72 }, "end": { - "line": 188, + "line": 189, "column": 73 } } @@ -62724,15 +63109,15 @@ "updateContext": null }, "value": "+", - "start": 8535, - "end": 8536, + "start": 8572, + "end": 8573, "loc": { "start": { - "line": 188, + "line": 189, "column": 74 }, "end": { - "line": 188, + "line": 189, "column": 75 } } @@ -62751,15 +63136,15 @@ "updateContext": null }, "value": " kB", - "start": 8537, - "end": 8542, + "start": 8574, + "end": 8579, "loc": { "start": { - "line": 188, + "line": 189, "column": 76 }, "end": { - "line": 188, + "line": 189, "column": 81 } } @@ -62776,15 +63161,15 @@ "postfix": false, "binop": null }, - "start": 8542, - "end": 8543, + "start": 8579, + "end": 8580, "loc": { "start": { - "line": 188, + "line": 189, "column": 81 }, "end": { - "line": 188, + "line": 189, "column": 82 } } @@ -62802,15 +63187,15 @@ "binop": null, "updateContext": null }, - "start": 8543, - "end": 8544, + "start": 8580, + "end": 8581, "loc": { "start": { - "line": 188, + "line": 189, "column": 82 }, "end": { - "line": 188, + "line": 189, "column": 83 } } @@ -62830,15 +63215,15 @@ "updateContext": null }, "value": "if", - "start": 8554, - "end": 8556, + "start": 8591, + "end": 8593, "loc": { "start": { - "line": 190, + "line": 191, "column": 8 }, "end": { - "line": 190, + "line": 191, "column": 10 } } @@ -62855,15 +63240,15 @@ "postfix": false, "binop": null }, - "start": 8557, - "end": 8558, + "start": 8594, + "end": 8595, "loc": { "start": { - "line": 190, + "line": 191, "column": 11 }, "end": { - "line": 190, + "line": 191, "column": 12 } } @@ -62882,15 +63267,15 @@ "updateContext": null }, "value": "!", - "start": 8558, - "end": 8559, + "start": 8595, + "end": 8596, "loc": { "start": { - "line": 190, + "line": 191, "column": 12 }, "end": { - "line": 190, + "line": 191, "column": 13 } } @@ -62908,15 +63293,15 @@ "binop": null }, "value": "metaModelDataStr", - "start": 8559, - "end": 8575, + "start": 8596, + "end": 8612, "loc": { "start": { - "line": 190, + "line": 191, "column": 13 }, "end": { - "line": 190, + "line": 191, "column": 29 } } @@ -62935,15 +63320,15 @@ "updateContext": null }, "value": "&&", - "start": 8576, - "end": 8578, + "start": 8613, + "end": 8615, "loc": { "start": { - "line": 190, + "line": 191, "column": 30 }, "end": { - "line": 190, + "line": 191, "column": 32 } } @@ -62961,15 +63346,15 @@ "binop": null }, "value": "metaModelSource", - "start": 8579, - "end": 8594, + "start": 8616, + "end": 8631, "loc": { "start": { - "line": 190, + "line": 191, "column": 33 }, "end": { - "line": 190, + "line": 191, "column": 48 } } @@ -62986,15 +63371,15 @@ "postfix": false, "binop": null }, - "start": 8594, - "end": 8595, + "start": 8631, + "end": 8632, "loc": { "start": { - "line": 190, + "line": 191, "column": 48 }, "end": { - "line": 190, + "line": 191, "column": 49 } } @@ -63011,15 +63396,15 @@ "postfix": false, "binop": null }, - "start": 8596, - "end": 8597, + "start": 8633, + "end": 8634, "loc": { "start": { - "line": 190, + "line": 191, "column": 50 }, "end": { - "line": 190, + "line": 191, "column": 51 } } @@ -63037,15 +63422,15 @@ "binop": null }, "value": "log", - "start": 8610, - "end": 8613, + "start": 8647, + "end": 8650, "loc": { "start": { - "line": 191, + "line": 192, "column": 12 }, "end": { - "line": 191, + "line": 192, "column": 15 } } @@ -63062,15 +63447,15 @@ "postfix": false, "binop": null }, - "start": 8613, - "end": 8614, + "start": 8650, + "end": 8651, "loc": { "start": { - "line": 191, + "line": 192, "column": 15 }, "end": { - "line": 191, + "line": 192, "column": 16 } } @@ -63089,15 +63474,15 @@ "updateContext": null }, "value": "Reading input metadata file: ", - "start": 8614, - "end": 8645, + "start": 8651, + "end": 8682, "loc": { "start": { - "line": 191, + "line": 192, "column": 16 }, "end": { - "line": 191, + "line": 192, "column": 47 } } @@ -63116,15 +63501,15 @@ "updateContext": null }, "value": "+", - "start": 8646, - "end": 8647, + "start": 8683, + "end": 8684, "loc": { "start": { - "line": 191, + "line": 192, "column": 48 }, "end": { - "line": 191, + "line": 192, "column": 49 } } @@ -63142,15 +63527,15 @@ "binop": null }, "value": "metaModelSource", - "start": 8648, - "end": 8663, + "start": 8685, + "end": 8700, "loc": { "start": { - "line": 191, + "line": 192, "column": 50 }, "end": { - "line": 191, + "line": 192, "column": 65 } } @@ -63167,15 +63552,15 @@ "postfix": false, "binop": null }, - "start": 8663, - "end": 8664, + "start": 8700, + "end": 8701, "loc": { "start": { - "line": 191, + "line": 192, "column": 65 }, "end": { - "line": 191, + "line": 192, "column": 66 } } @@ -63193,15 +63578,15 @@ "binop": null, "updateContext": null }, - "start": 8664, - "end": 8665, + "start": 8701, + "end": 8702, "loc": { "start": { - "line": 191, + "line": 192, "column": 66 }, "end": { - "line": 191, + "line": 192, "column": 67 } } @@ -63221,15 +63606,15 @@ "updateContext": null }, "value": "try", - "start": 8678, - "end": 8681, + "start": 8715, + "end": 8718, "loc": { "start": { - "line": 192, + "line": 193, "column": 12 }, "end": { - "line": 192, + "line": 193, "column": 15 } } @@ -63246,15 +63631,15 @@ "postfix": false, "binop": null }, - "start": 8682, - "end": 8683, + "start": 8719, + "end": 8720, "loc": { "start": { - "line": 192, + "line": 193, "column": 16 }, "end": { - "line": 192, + "line": 193, "column": 17 } } @@ -63272,15 +63657,15 @@ "binop": null }, "value": "metaModelDataStr", - "start": 8700, - "end": 8716, + "start": 8737, + "end": 8753, "loc": { "start": { - "line": 193, + "line": 194, "column": 16 }, "end": { - "line": 193, + "line": 194, "column": 32 } } @@ -63299,15 +63684,15 @@ "updateContext": null }, "value": "=", - "start": 8717, - "end": 8718, + "start": 8754, + "end": 8755, "loc": { "start": { - "line": 193, + "line": 194, "column": 33 }, "end": { - "line": 193, + "line": 194, "column": 34 } } @@ -63325,15 +63710,15 @@ "binop": null }, "value": "fs", - "start": 8719, - "end": 8721, + "start": 8756, + "end": 8758, "loc": { "start": { - "line": 193, + "line": 194, "column": 35 }, "end": { - "line": 193, + "line": 194, "column": 37 } } @@ -63351,15 +63736,15 @@ "binop": null, "updateContext": null }, - "start": 8721, - "end": 8722, + "start": 8758, + "end": 8759, "loc": { "start": { - "line": 193, + "line": 194, "column": 37 }, "end": { - "line": 193, + "line": 194, "column": 38 } } @@ -63377,15 +63762,15 @@ "binop": null }, "value": "readFileSync", - "start": 8722, - "end": 8734, + "start": 8759, + "end": 8771, "loc": { "start": { - "line": 193, + "line": 194, "column": 38 }, "end": { - "line": 193, + "line": 194, "column": 50 } } @@ -63402,15 +63787,15 @@ "postfix": false, "binop": null }, - "start": 8734, - "end": 8735, + "start": 8771, + "end": 8772, "loc": { "start": { - "line": 193, + "line": 194, "column": 50 }, "end": { - "line": 193, + "line": 194, "column": 51 } } @@ -63428,15 +63813,15 @@ "binop": null }, "value": "metaModelSource", - "start": 8735, - "end": 8750, + "start": 8772, + "end": 8787, "loc": { "start": { - "line": 193, + "line": 194, "column": 51 }, "end": { - "line": 193, + "line": 194, "column": 66 } } @@ -63453,15 +63838,15 @@ "postfix": false, "binop": null }, - "start": 8750, - "end": 8751, + "start": 8787, + "end": 8788, "loc": { "start": { - "line": 193, + "line": 194, "column": 66 }, "end": { - "line": 193, + "line": 194, "column": 67 } } @@ -63479,15 +63864,15 @@ "binop": null, "updateContext": null }, - "start": 8751, - "end": 8752, + "start": 8788, + "end": 8789, "loc": { "start": { - "line": 193, + "line": 194, "column": 67 }, "end": { - "line": 193, + "line": 194, "column": 68 } } @@ -63504,15 +63889,15 @@ "postfix": false, "binop": null }, - "start": 8765, - "end": 8766, + "start": 8802, + "end": 8803, "loc": { "start": { - "line": 194, + "line": 195, "column": 12 }, "end": { - "line": 194, + "line": 195, "column": 13 } } @@ -63532,15 +63917,15 @@ "updateContext": null }, "value": "catch", - "start": 8767, - "end": 8772, + "start": 8804, + "end": 8809, "loc": { "start": { - "line": 194, + "line": 195, "column": 14 }, "end": { - "line": 194, + "line": 195, "column": 19 } } @@ -63557,15 +63942,15 @@ "postfix": false, "binop": null }, - "start": 8773, - "end": 8774, + "start": 8810, + "end": 8811, "loc": { "start": { - "line": 194, + "line": 195, "column": 20 }, "end": { - "line": 194, + "line": 195, "column": 21 } } @@ -63583,15 +63968,15 @@ "binop": null }, "value": "err", - "start": 8774, - "end": 8777, + "start": 8811, + "end": 8814, "loc": { "start": { - "line": 194, + "line": 195, "column": 21 }, "end": { - "line": 194, + "line": 195, "column": 24 } } @@ -63608,15 +63993,15 @@ "postfix": false, "binop": null }, - "start": 8777, - "end": 8778, + "start": 8814, + "end": 8815, "loc": { "start": { - "line": 194, + "line": 195, "column": 24 }, "end": { - "line": 194, + "line": 195, "column": 25 } } @@ -63633,15 +64018,15 @@ "postfix": false, "binop": null }, - "start": 8779, - "end": 8780, + "start": 8816, + "end": 8817, "loc": { "start": { - "line": 194, + "line": 195, "column": 26 }, "end": { - "line": 194, + "line": 195, "column": 27 } } @@ -63659,15 +64044,15 @@ "binop": null }, "value": "reject", - "start": 8797, - "end": 8803, + "start": 8834, + "end": 8840, "loc": { "start": { - "line": 195, + "line": 196, "column": 16 }, "end": { - "line": 195, + "line": 196, "column": 22 } } @@ -63684,15 +64069,15 @@ "postfix": false, "binop": null }, - "start": 8803, - "end": 8804, + "start": 8840, + "end": 8841, "loc": { "start": { - "line": 195, + "line": 196, "column": 22 }, "end": { - "line": 195, + "line": 196, "column": 23 } } @@ -63710,15 +64095,15 @@ "binop": null }, "value": "err", - "start": 8804, - "end": 8807, + "start": 8841, + "end": 8844, "loc": { "start": { - "line": 195, + "line": 196, "column": 23 }, "end": { - "line": 195, + "line": 196, "column": 26 } } @@ -63735,15 +64120,15 @@ "postfix": false, "binop": null }, - "start": 8807, - "end": 8808, + "start": 8844, + "end": 8845, "loc": { "start": { - "line": 195, + "line": 196, "column": 26 }, "end": { - "line": 195, + "line": 196, "column": 27 } } @@ -63761,15 +64146,15 @@ "binop": null, "updateContext": null }, - "start": 8808, - "end": 8809, + "start": 8845, + "end": 8846, "loc": { "start": { - "line": 195, + "line": 196, "column": 27 }, "end": { - "line": 195, + "line": 196, "column": 28 } } @@ -63789,15 +64174,15 @@ "updateContext": null }, "value": "return", - "start": 8826, - "end": 8832, + "start": 8863, + "end": 8869, "loc": { "start": { - "line": 196, + "line": 197, "column": 16 }, "end": { - "line": 196, + "line": 197, "column": 22 } } @@ -63815,15 +64200,15 @@ "binop": null, "updateContext": null }, - "start": 8832, - "end": 8833, + "start": 8869, + "end": 8870, "loc": { "start": { - "line": 196, + "line": 197, "column": 22 }, "end": { - "line": 196, + "line": 197, "column": 23 } } @@ -63840,15 +64225,15 @@ "postfix": false, "binop": null }, - "start": 8846, - "end": 8847, + "start": 8883, + "end": 8884, "loc": { "start": { - "line": 197, + "line": 198, "column": 12 }, "end": { - "line": 197, + "line": 198, "column": 13 } } @@ -63865,15 +64250,15 @@ "postfix": false, "binop": null }, - "start": 8856, - "end": 8857, + "start": 8893, + "end": 8894, "loc": { "start": { - "line": 198, + "line": 199, "column": 8 }, "end": { - "line": 198, + "line": 199, "column": 9 } } @@ -63893,15 +64278,15 @@ "updateContext": null }, "value": "else", - "start": 8858, - "end": 8862, + "start": 8895, + "end": 8899, "loc": { "start": { - "line": 198, + "line": 199, "column": 10 }, "end": { - "line": 198, + "line": 199, "column": 14 } } @@ -63918,15 +64303,15 @@ "postfix": false, "binop": null }, - "start": 8863, - "end": 8864, + "start": 8900, + "end": 8901, "loc": { "start": { - "line": 198, + "line": 199, "column": 15 }, "end": { - "line": 198, + "line": 199, "column": 16 } } @@ -63944,15 +64329,15 @@ "binop": null }, "value": "log", - "start": 8877, - "end": 8880, + "start": 8914, + "end": 8917, "loc": { "start": { - "line": 199, + "line": 200, "column": 12 }, "end": { - "line": 199, + "line": 200, "column": 15 } } @@ -63969,15 +64354,15 @@ "postfix": false, "binop": null }, - "start": 8880, - "end": 8881, + "start": 8917, + "end": 8918, "loc": { "start": { - "line": 199, + "line": 200, "column": 15 }, "end": { - "line": 199, + "line": 200, "column": 16 } } @@ -63994,15 +64379,15 @@ "postfix": false, "binop": null }, - "start": 8881, - "end": 8882, + "start": 8918, + "end": 8919, "loc": { "start": { - "line": 199, + "line": 200, "column": 16 }, "end": { - "line": 199, + "line": 200, "column": 17 } } @@ -64021,15 +64406,15 @@ "updateContext": null }, "value": "Not embedding metadata in XKT", - "start": 8882, - "end": 8911, + "start": 8919, + "end": 8948, "loc": { "start": { - "line": 199, + "line": 200, "column": 17 }, "end": { - "line": 199, + "line": 200, "column": 46 } } @@ -64046,15 +64431,15 @@ "postfix": false, "binop": null }, - "start": 8911, - "end": 8912, + "start": 8948, + "end": 8949, "loc": { "start": { - "line": 199, + "line": 200, "column": 46 }, "end": { - "line": 199, + "line": 200, "column": 47 } } @@ -64071,15 +64456,15 @@ "postfix": false, "binop": null }, - "start": 8912, - "end": 8913, + "start": 8949, + "end": 8950, "loc": { "start": { - "line": 199, + "line": 200, "column": 47 }, "end": { - "line": 199, + "line": 200, "column": 48 } } @@ -64097,15 +64482,15 @@ "binop": null, "updateContext": null }, - "start": 8913, - "end": 8914, + "start": 8950, + "end": 8951, "loc": { "start": { - "line": 199, + "line": 200, "column": 48 }, "end": { - "line": 199, + "line": 200, "column": 49 } } @@ -64122,15 +64507,15 @@ "postfix": false, "binop": null }, - "start": 8923, - "end": 8924, + "start": 8960, + "end": 8961, "loc": { "start": { - "line": 200, + "line": 201, "column": 8 }, "end": { - "line": 200, + "line": 201, "column": 9 } } @@ -64150,15 +64535,15 @@ "updateContext": null }, "value": "let", - "start": 8934, - "end": 8937, + "start": 8971, + "end": 8974, "loc": { "start": { - "line": 202, + "line": 203, "column": 8 }, "end": { - "line": 202, + "line": 203, "column": 11 } } @@ -64176,15 +64561,15 @@ "binop": null }, "value": "metaModelJSON", - "start": 8938, - "end": 8951, + "start": 8975, + "end": 8988, "loc": { "start": { - "line": 202, + "line": 203, "column": 12 }, "end": { - "line": 202, + "line": 203, "column": 25 } } @@ -64202,15 +64587,15 @@ "binop": null, "updateContext": null }, - "start": 8951, - "end": 8952, + "start": 8988, + "end": 8989, "loc": { "start": { - "line": 202, + "line": 203, "column": 25 }, "end": { - "line": 202, + "line": 203, "column": 26 } } @@ -64230,15 +64615,15 @@ "updateContext": null }, "value": "if", - "start": 8962, - "end": 8964, + "start": 8999, + "end": 9001, "loc": { "start": { - "line": 204, + "line": 205, "column": 8 }, "end": { - "line": 204, + "line": 205, "column": 10 } } @@ -64255,15 +64640,15 @@ "postfix": false, "binop": null }, - "start": 8965, - "end": 8966, + "start": 9002, + "end": 9003, "loc": { "start": { - "line": 204, + "line": 205, "column": 11 }, "end": { - "line": 204, + "line": 205, "column": 12 } } @@ -64281,15 +64666,15 @@ "binop": null }, "value": "metaModelDataStr", - "start": 8966, - "end": 8982, + "start": 9003, + "end": 9019, "loc": { "start": { - "line": 204, + "line": 205, "column": 12 }, "end": { - "line": 204, + "line": 205, "column": 28 } } @@ -64306,15 +64691,15 @@ "postfix": false, "binop": null }, - "start": 8982, - "end": 8983, + "start": 9019, + "end": 9020, "loc": { "start": { - "line": 204, + "line": 205, "column": 28 }, "end": { - "line": 204, + "line": 205, "column": 29 } } @@ -64331,15 +64716,15 @@ "postfix": false, "binop": null }, - "start": 8984, - "end": 8985, + "start": 9021, + "end": 9022, "loc": { "start": { - "line": 204, + "line": 205, "column": 30 }, "end": { - "line": 204, + "line": 205, "column": 31 } } @@ -64359,15 +64744,15 @@ "updateContext": null }, "value": "try", - "start": 8998, - "end": 9001, + "start": 9035, + "end": 9038, "loc": { "start": { - "line": 205, + "line": 206, "column": 12 }, "end": { - "line": 205, + "line": 206, "column": 15 } } @@ -64384,15 +64769,15 @@ "postfix": false, "binop": null }, - "start": 9002, - "end": 9003, + "start": 9039, + "end": 9040, "loc": { "start": { - "line": 205, + "line": 206, "column": 16 }, "end": { - "line": 205, + "line": 206, "column": 17 } } @@ -64410,15 +64795,15 @@ "binop": null }, "value": "metaModelJSON", - "start": 9020, - "end": 9033, + "start": 9057, + "end": 9070, "loc": { "start": { - "line": 206, + "line": 207, "column": 16 }, "end": { - "line": 206, + "line": 207, "column": 29 } } @@ -64437,15 +64822,15 @@ "updateContext": null }, "value": "=", - "start": 9034, - "end": 9035, + "start": 9071, + "end": 9072, "loc": { "start": { - "line": 206, + "line": 207, "column": 30 }, "end": { - "line": 206, + "line": 207, "column": 31 } } @@ -64463,15 +64848,15 @@ "binop": null }, "value": "JSON", - "start": 9036, - "end": 9040, + "start": 9073, + "end": 9077, "loc": { "start": { - "line": 206, + "line": 207, "column": 32 }, "end": { - "line": 206, + "line": 207, "column": 36 } } @@ -64489,15 +64874,15 @@ "binop": null, "updateContext": null }, - "start": 9040, - "end": 9041, + "start": 9077, + "end": 9078, "loc": { "start": { - "line": 206, + "line": 207, "column": 36 }, "end": { - "line": 206, + "line": 207, "column": 37 } } @@ -64515,15 +64900,15 @@ "binop": null }, "value": "parse", - "start": 9041, - "end": 9046, + "start": 9078, + "end": 9083, "loc": { "start": { - "line": 206, + "line": 207, "column": 37 }, "end": { - "line": 206, + "line": 207, "column": 42 } } @@ -64540,15 +64925,15 @@ "postfix": false, "binop": null }, - "start": 9046, - "end": 9047, + "start": 9083, + "end": 9084, "loc": { "start": { - "line": 206, + "line": 207, "column": 42 }, "end": { - "line": 206, + "line": 207, "column": 43 } } @@ -64566,15 +64951,15 @@ "binop": null }, "value": "metaModelDataStr", - "start": 9047, - "end": 9063, + "start": 9084, + "end": 9100, "loc": { "start": { - "line": 206, + "line": 207, "column": 43 }, "end": { - "line": 206, + "line": 207, "column": 59 } } @@ -64591,15 +64976,15 @@ "postfix": false, "binop": null }, - "start": 9063, - "end": 9064, + "start": 9100, + "end": 9101, "loc": { "start": { - "line": 206, + "line": 207, "column": 59 }, "end": { - "line": 206, + "line": 207, "column": 60 } } @@ -64617,15 +65002,15 @@ "binop": null, "updateContext": null }, - "start": 9064, - "end": 9065, + "start": 9101, + "end": 9102, "loc": { "start": { - "line": 206, + "line": 207, "column": 60 }, "end": { - "line": 206, + "line": 207, "column": 61 } } @@ -64642,15 +65027,15 @@ "postfix": false, "binop": null }, - "start": 9078, - "end": 9079, + "start": 9115, + "end": 9116, "loc": { "start": { - "line": 207, + "line": 208, "column": 12 }, "end": { - "line": 207, + "line": 208, "column": 13 } } @@ -64670,15 +65055,15 @@ "updateContext": null }, "value": "catch", - "start": 9080, - "end": 9085, + "start": 9117, + "end": 9122, "loc": { "start": { - "line": 207, + "line": 208, "column": 14 }, "end": { - "line": 207, + "line": 208, "column": 19 } } @@ -64695,15 +65080,15 @@ "postfix": false, "binop": null }, - "start": 9086, - "end": 9087, + "start": 9123, + "end": 9124, "loc": { "start": { - "line": 207, + "line": 208, "column": 20 }, "end": { - "line": 207, + "line": 208, "column": 21 } } @@ -64721,15 +65106,15 @@ "binop": null }, "value": "e", - "start": 9087, - "end": 9088, + "start": 9124, + "end": 9125, "loc": { "start": { - "line": 207, + "line": 208, "column": 21 }, "end": { - "line": 207, + "line": 208, "column": 22 } } @@ -64746,15 +65131,15 @@ "postfix": false, "binop": null }, - "start": 9088, - "end": 9089, + "start": 9125, + "end": 9126, "loc": { "start": { - "line": 207, + "line": 208, "column": 22 }, "end": { - "line": 207, + "line": 208, "column": 23 } } @@ -64771,15 +65156,15 @@ "postfix": false, "binop": null }, - "start": 9090, - "end": 9091, + "start": 9127, + "end": 9128, "loc": { "start": { - "line": 207, + "line": 208, "column": 24 }, "end": { - "line": 207, + "line": 208, "column": 25 } } @@ -64797,15 +65182,15 @@ "binop": null }, "value": "metaModelJSON", - "start": 9108, - "end": 9121, + "start": 9145, + "end": 9158, "loc": { "start": { - "line": 208, + "line": 209, "column": 16 }, "end": { - "line": 208, + "line": 209, "column": 29 } } @@ -64824,15 +65209,15 @@ "updateContext": null }, "value": "=", - "start": 9122, - "end": 9123, + "start": 9159, + "end": 9160, "loc": { "start": { - "line": 208, + "line": 209, "column": 30 }, "end": { - "line": 208, + "line": 209, "column": 31 } } @@ -64849,15 +65234,15 @@ "postfix": false, "binop": null }, - "start": 9124, - "end": 9125, + "start": 9161, + "end": 9162, "loc": { "start": { - "line": 208, + "line": 209, "column": 32 }, "end": { - "line": 208, + "line": 209, "column": 33 } } @@ -64874,15 +65259,15 @@ "postfix": false, "binop": null }, - "start": 9125, - "end": 9126, + "start": 9162, + "end": 9163, "loc": { "start": { - "line": 208, + "line": 209, "column": 33 }, "end": { - "line": 208, + "line": 209, "column": 34 } } @@ -64900,15 +65285,15 @@ "binop": null, "updateContext": null }, - "start": 9126, - "end": 9127, + "start": 9163, + "end": 9164, "loc": { "start": { - "line": 208, + "line": 209, "column": 34 }, "end": { - "line": 208, + "line": 209, "column": 35 } } @@ -64926,15 +65311,15 @@ "binop": null }, "value": "log", - "start": 9144, - "end": 9147, + "start": 9181, + "end": 9184, "loc": { "start": { - "line": 209, + "line": 210, "column": 16 }, "end": { - "line": 209, + "line": 210, "column": 19 } } @@ -64951,15 +65336,15 @@ "postfix": false, "binop": null }, - "start": 9147, - "end": 9148, + "start": 9184, + "end": 9185, "loc": { "start": { - "line": 209, + "line": 210, "column": 19 }, "end": { - "line": 209, + "line": 210, "column": 20 } } @@ -64976,15 +65361,15 @@ "postfix": false, "binop": null }, - "start": 9148, - "end": 9149, + "start": 9185, + "end": 9186, "loc": { "start": { - "line": 209, + "line": 210, "column": 20 }, "end": { - "line": 209, + "line": 210, "column": 21 } } @@ -65003,15 +65388,15 @@ "updateContext": null }, "value": "Error parsing metadata JSON: ", - "start": 9149, - "end": 9178, + "start": 9186, + "end": 9215, "loc": { "start": { - "line": 209, + "line": 210, "column": 21 }, "end": { - "line": 209, + "line": 210, "column": 50 } } @@ -65028,15 +65413,15 @@ "postfix": false, "binop": null }, - "start": 9178, - "end": 9180, + "start": 9215, + "end": 9217, "loc": { "start": { - "line": 209, + "line": 210, "column": 50 }, "end": { - "line": 209, + "line": 210, "column": 52 } } @@ -65054,15 +65439,15 @@ "binop": null }, "value": "e", - "start": 9180, - "end": 9181, + "start": 9217, + "end": 9218, "loc": { "start": { - "line": 209, + "line": 210, "column": 52 }, "end": { - "line": 209, + "line": 210, "column": 53 } } @@ -65079,15 +65464,15 @@ "postfix": false, "binop": null }, - "start": 9181, - "end": 9182, + "start": 9218, + "end": 9219, "loc": { "start": { - "line": 209, + "line": 210, "column": 53 }, "end": { - "line": 209, + "line": 210, "column": 54 } } @@ -65106,15 +65491,15 @@ "updateContext": null }, "value": "", - "start": 9182, - "end": 9182, + "start": 9219, + "end": 9219, "loc": { "start": { - "line": 209, + "line": 210, "column": 54 }, "end": { - "line": 209, + "line": 210, "column": 54 } } @@ -65131,15 +65516,15 @@ "postfix": false, "binop": null }, - "start": 9182, - "end": 9183, + "start": 9219, + "end": 9220, "loc": { "start": { - "line": 209, + "line": 210, "column": 54 }, "end": { - "line": 209, + "line": 210, "column": 55 } } @@ -65156,15 +65541,15 @@ "postfix": false, "binop": null }, - "start": 9183, - "end": 9184, + "start": 9220, + "end": 9221, "loc": { "start": { - "line": 209, + "line": 210, "column": 55 }, "end": { - "line": 209, + "line": 210, "column": 56 } } @@ -65182,15 +65567,15 @@ "binop": null, "updateContext": null }, - "start": 9184, - "end": 9185, + "start": 9221, + "end": 9222, "loc": { "start": { - "line": 209, + "line": 210, "column": 56 }, "end": { - "line": 209, + "line": 210, "column": 57 } } @@ -65207,15 +65592,15 @@ "postfix": false, "binop": null }, - "start": 9198, - "end": 9199, + "start": 9235, + "end": 9236, "loc": { "start": { - "line": 210, + "line": 211, "column": 12 }, "end": { - "line": 210, + "line": 211, "column": 13 } } @@ -65232,15 +65617,15 @@ "postfix": false, "binop": null }, - "start": 9208, - "end": 9209, + "start": 9245, + "end": 9246, "loc": { "start": { - "line": 211, + "line": 212, "column": 8 }, "end": { - "line": 211, + "line": 212, "column": 9 } } @@ -65258,15 +65643,15 @@ "binop": null }, "value": "minTileSize", - "start": 9219, - "end": 9230, + "start": 9256, + "end": 9267, "loc": { "start": { - "line": 213, + "line": 214, "column": 8 }, "end": { - "line": 213, + "line": 214, "column": 19 } } @@ -65285,15 +65670,15 @@ "updateContext": null }, "value": "=", - "start": 9231, - "end": 9232, + "start": 9268, + "end": 9269, "loc": { "start": { - "line": 213, + "line": 214, "column": 20 }, "end": { - "line": 213, + "line": 214, "column": 21 } } @@ -65311,15 +65696,15 @@ "binop": null }, "value": "overrideOption", - "start": 9233, - "end": 9247, + "start": 9270, + "end": 9284, "loc": { "start": { - "line": 213, + "line": 214, "column": 22 }, "end": { - "line": 213, + "line": 214, "column": 36 } } @@ -65336,15 +65721,15 @@ "postfix": false, "binop": null }, - "start": 9247, - "end": 9248, + "start": 9284, + "end": 9285, "loc": { "start": { - "line": 213, + "line": 214, "column": 36 }, "end": { - "line": 213, + "line": 214, "column": 37 } } @@ -65362,15 +65747,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 9248, - "end": 9263, + "start": 9285, + "end": 9300, "loc": { "start": { - "line": 213, + "line": 214, "column": 37 }, "end": { - "line": 213, + "line": 214, "column": 52 } } @@ -65388,15 +65773,15 @@ "binop": null, "updateContext": null }, - "start": 9263, - "end": 9264, + "start": 9300, + "end": 9301, "loc": { "start": { - "line": 213, + "line": 214, "column": 52 }, "end": { - "line": 213, + "line": 214, "column": 53 } } @@ -65414,15 +65799,15 @@ "binop": null }, "value": "minTileSize", - "start": 9264, - "end": 9275, + "start": 9301, + "end": 9312, "loc": { "start": { - "line": 213, + "line": 214, "column": 53 }, "end": { - "line": 213, + "line": 214, "column": 64 } } @@ -65440,15 +65825,15 @@ "binop": null, "updateContext": null }, - "start": 9275, - "end": 9276, + "start": 9312, + "end": 9313, "loc": { "start": { - "line": 213, + "line": 214, "column": 64 }, "end": { - "line": 213, + "line": 214, "column": 65 } } @@ -65466,15 +65851,15 @@ "binop": null }, "value": "minTileSize", - "start": 9277, - "end": 9288, + "start": 9314, + "end": 9325, "loc": { "start": { - "line": 213, + "line": 214, "column": 66 }, "end": { - "line": 213, + "line": 214, "column": 77 } } @@ -65491,15 +65876,15 @@ "postfix": false, "binop": null }, - "start": 9288, - "end": 9289, + "start": 9325, + "end": 9326, "loc": { "start": { - "line": 213, + "line": 214, "column": 77 }, "end": { - "line": 213, + "line": 214, "column": 78 } } @@ -65517,15 +65902,15 @@ "binop": null, "updateContext": null }, - "start": 9289, - "end": 9290, + "start": 9326, + "end": 9327, "loc": { "start": { - "line": 213, + "line": 214, "column": 78 }, "end": { - "line": 213, + "line": 214, "column": 79 } } @@ -65543,15 +65928,15 @@ "binop": null }, "value": "rotateX", - "start": 9299, - "end": 9306, + "start": 9336, + "end": 9343, "loc": { "start": { - "line": 214, + "line": 215, "column": 8 }, "end": { - "line": 214, + "line": 215, "column": 15 } } @@ -65570,15 +65955,15 @@ "updateContext": null }, "value": "=", - "start": 9307, - "end": 9308, + "start": 9344, + "end": 9345, "loc": { "start": { - "line": 214, + "line": 215, "column": 16 }, "end": { - "line": 214, + "line": 215, "column": 17 } } @@ -65596,15 +65981,15 @@ "binop": null }, "value": "overrideOption", - "start": 9309, - "end": 9323, + "start": 9346, + "end": 9360, "loc": { "start": { - "line": 214, + "line": 215, "column": 18 }, "end": { - "line": 214, + "line": 215, "column": 32 } } @@ -65621,15 +66006,15 @@ "postfix": false, "binop": null }, - "start": 9323, - "end": 9324, + "start": 9360, + "end": 9361, "loc": { "start": { - "line": 214, + "line": 215, "column": 32 }, "end": { - "line": 214, + "line": 215, "column": 33 } } @@ -65647,15 +66032,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 9324, - "end": 9339, + "start": 9361, + "end": 9376, "loc": { "start": { - "line": 214, + "line": 215, "column": 33 }, "end": { - "line": 214, + "line": 215, "column": 48 } } @@ -65673,15 +66058,15 @@ "binop": null, "updateContext": null }, - "start": 9339, - "end": 9340, + "start": 9376, + "end": 9377, "loc": { "start": { - "line": 214, + "line": 215, "column": 48 }, "end": { - "line": 214, + "line": 215, "column": 49 } } @@ -65699,15 +66084,15 @@ "binop": null }, "value": "rotateX", - "start": 9340, - "end": 9347, + "start": 9377, + "end": 9384, "loc": { "start": { - "line": 214, + "line": 215, "column": 49 }, "end": { - "line": 214, + "line": 215, "column": 56 } } @@ -65725,15 +66110,15 @@ "binop": null, "updateContext": null }, - "start": 9347, - "end": 9348, + "start": 9384, + "end": 9385, "loc": { "start": { - "line": 214, + "line": 215, "column": 56 }, "end": { - "line": 214, + "line": 215, "column": 57 } } @@ -65751,15 +66136,15 @@ "binop": null }, "value": "rotateX", - "start": 9349, - "end": 9356, + "start": 9386, + "end": 9393, "loc": { "start": { - "line": 214, + "line": 215, "column": 58 }, "end": { - "line": 214, + "line": 215, "column": 65 } } @@ -65776,15 +66161,15 @@ "postfix": false, "binop": null }, - "start": 9356, - "end": 9357, + "start": 9393, + "end": 9394, "loc": { "start": { - "line": 214, + "line": 215, "column": 65 }, "end": { - "line": 214, + "line": 215, "column": 66 } } @@ -65802,15 +66187,15 @@ "binop": null, "updateContext": null }, - "start": 9357, - "end": 9358, + "start": 9394, + "end": 9395, "loc": { "start": { - "line": 214, + "line": 215, "column": 66 }, "end": { - "line": 214, + "line": 215, "column": 67 } } @@ -65828,15 +66213,15 @@ "binop": null }, "value": "reuseGeometries", - "start": 9367, - "end": 9382, + "start": 9404, + "end": 9419, "loc": { "start": { - "line": 215, + "line": 216, "column": 8 }, "end": { - "line": 215, + "line": 216, "column": 23 } } @@ -65855,15 +66240,15 @@ "updateContext": null }, "value": "=", - "start": 9383, - "end": 9384, + "start": 9420, + "end": 9421, "loc": { "start": { - "line": 215, + "line": 216, "column": 24 }, "end": { - "line": 215, + "line": 216, "column": 25 } } @@ -65881,15 +66266,15 @@ "binop": null }, "value": "overrideOption", - "start": 9385, - "end": 9399, + "start": 9422, + "end": 9436, "loc": { "start": { - "line": 215, + "line": 216, "column": 26 }, "end": { - "line": 215, + "line": 216, "column": 40 } } @@ -65906,15 +66291,15 @@ "postfix": false, "binop": null }, - "start": 9399, - "end": 9400, + "start": 9436, + "end": 9437, "loc": { "start": { - "line": 215, + "line": 216, "column": 40 }, "end": { - "line": 215, + "line": 216, "column": 41 } } @@ -65932,15 +66317,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 9400, - "end": 9415, + "start": 9437, + "end": 9452, "loc": { "start": { - "line": 215, + "line": 216, "column": 41 }, "end": { - "line": 215, + "line": 216, "column": 56 } } @@ -65958,15 +66343,15 @@ "binop": null, "updateContext": null }, - "start": 9415, - "end": 9416, + "start": 9452, + "end": 9453, "loc": { "start": { - "line": 215, + "line": 216, "column": 56 }, "end": { - "line": 215, + "line": 216, "column": 57 } } @@ -65984,15 +66369,15 @@ "binop": null }, "value": "reuseGeometries", - "start": 9416, - "end": 9431, + "start": 9453, + "end": 9468, "loc": { "start": { - "line": 215, + "line": 216, "column": 57 }, "end": { - "line": 215, + "line": 216, "column": 72 } } @@ -66010,15 +66395,15 @@ "binop": null, "updateContext": null }, - "start": 9431, - "end": 9432, + "start": 9468, + "end": 9469, "loc": { "start": { - "line": 215, + "line": 216, "column": 72 }, "end": { - "line": 215, + "line": 216, "column": 73 } } @@ -66036,15 +66421,15 @@ "binop": null }, "value": "reuseGeometries", - "start": 9433, - "end": 9448, + "start": 9470, + "end": 9485, "loc": { "start": { - "line": 215, + "line": 216, "column": 74 }, "end": { - "line": 215, + "line": 216, "column": 89 } } @@ -66061,15 +66446,15 @@ "postfix": false, "binop": null }, - "start": 9448, - "end": 9449, + "start": 9485, + "end": 9486, "loc": { "start": { - "line": 215, + "line": 216, "column": 89 }, "end": { - "line": 215, + "line": 216, "column": 90 } } @@ -66087,15 +66472,15 @@ "binop": null, "updateContext": null }, - "start": 9449, - "end": 9450, + "start": 9486, + "end": 9487, "loc": { "start": { - "line": 215, + "line": 216, "column": 90 }, "end": { - "line": 215, + "line": 216, "column": 91 } } @@ -66113,15 +66498,15 @@ "binop": null }, "value": "includeTextures", - "start": 9459, - "end": 9474, + "start": 9496, + "end": 9511, "loc": { "start": { - "line": 216, + "line": 217, "column": 8 }, "end": { - "line": 216, + "line": 217, "column": 23 } } @@ -66140,15 +66525,15 @@ "updateContext": null }, "value": "=", - "start": 9475, - "end": 9476, + "start": 9512, + "end": 9513, "loc": { "start": { - "line": 216, + "line": 217, "column": 24 }, "end": { - "line": 216, + "line": 217, "column": 25 } } @@ -66166,15 +66551,15 @@ "binop": null }, "value": "overrideOption", - "start": 9477, - "end": 9491, + "start": 9514, + "end": 9528, "loc": { "start": { - "line": 216, + "line": 217, "column": 26 }, "end": { - "line": 216, + "line": 217, "column": 40 } } @@ -66191,15 +66576,15 @@ "postfix": false, "binop": null }, - "start": 9491, - "end": 9492, + "start": 9528, + "end": 9529, "loc": { "start": { - "line": 216, + "line": 217, "column": 40 }, "end": { - "line": 216, + "line": 217, "column": 41 } } @@ -66217,15 +66602,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 9492, - "end": 9507, + "start": 9529, + "end": 9544, "loc": { "start": { - "line": 216, + "line": 217, "column": 41 }, "end": { - "line": 216, + "line": 217, "column": 56 } } @@ -66243,15 +66628,15 @@ "binop": null, "updateContext": null }, - "start": 9507, - "end": 9508, + "start": 9544, + "end": 9545, "loc": { "start": { - "line": 216, + "line": 217, "column": 56 }, "end": { - "line": 216, + "line": 217, "column": 57 } } @@ -66269,15 +66654,15 @@ "binop": null }, "value": "includeTextures", - "start": 9508, - "end": 9523, + "start": 9545, + "end": 9560, "loc": { "start": { - "line": 216, + "line": 217, "column": 57 }, "end": { - "line": 216, + "line": 217, "column": 72 } } @@ -66295,15 +66680,15 @@ "binop": null, "updateContext": null }, - "start": 9523, - "end": 9524, + "start": 9560, + "end": 9561, "loc": { "start": { - "line": 216, + "line": 217, "column": 72 }, "end": { - "line": 216, + "line": 217, "column": 73 } } @@ -66321,15 +66706,15 @@ "binop": null }, "value": "includeTextures", - "start": 9525, - "end": 9540, + "start": 9562, + "end": 9577, "loc": { "start": { - "line": 216, + "line": 217, "column": 74 }, "end": { - "line": 216, + "line": 217, "column": 89 } } @@ -66346,15 +66731,15 @@ "postfix": false, "binop": null }, - "start": 9540, - "end": 9541, + "start": 9577, + "end": 9578, "loc": { "start": { - "line": 216, + "line": 217, "column": 89 }, "end": { - "line": 216, + "line": 217, "column": 90 } } @@ -66372,15 +66757,15 @@ "binop": null, "updateContext": null }, - "start": 9541, - "end": 9542, + "start": 9578, + "end": 9579, "loc": { "start": { - "line": 216, + "line": 217, "column": 90 }, "end": { - "line": 216, + "line": 217, "column": 91 } } @@ -66398,15 +66783,15 @@ "binop": null }, "value": "includeNormals", - "start": 9551, - "end": 9565, + "start": 9588, + "end": 9602, "loc": { "start": { - "line": 217, + "line": 218, "column": 8 }, "end": { - "line": 217, + "line": 218, "column": 22 } } @@ -66425,15 +66810,15 @@ "updateContext": null }, "value": "=", - "start": 9566, - "end": 9567, + "start": 9603, + "end": 9604, "loc": { "start": { - "line": 217, + "line": 218, "column": 23 }, "end": { - "line": 217, + "line": 218, "column": 24 } } @@ -66451,15 +66836,15 @@ "binop": null }, "value": "overrideOption", - "start": 9568, - "end": 9582, + "start": 9605, + "end": 9619, "loc": { "start": { - "line": 217, + "line": 218, "column": 25 }, "end": { - "line": 217, + "line": 218, "column": 39 } } @@ -66476,15 +66861,15 @@ "postfix": false, "binop": null }, - "start": 9582, - "end": 9583, + "start": 9619, + "end": 9620, "loc": { "start": { - "line": 217, + "line": 218, "column": 39 }, "end": { - "line": 217, + "line": 218, "column": 40 } } @@ -66502,15 +66887,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 9583, - "end": 9598, + "start": 9620, + "end": 9635, "loc": { "start": { - "line": 217, + "line": 218, "column": 40 }, "end": { - "line": 217, + "line": 218, "column": 55 } } @@ -66528,15 +66913,15 @@ "binop": null, "updateContext": null }, - "start": 9598, - "end": 9599, + "start": 9635, + "end": 9636, "loc": { "start": { - "line": 217, + "line": 218, "column": 55 }, "end": { - "line": 217, + "line": 218, "column": 56 } } @@ -66554,15 +66939,15 @@ "binop": null }, "value": "includeNormals", - "start": 9599, - "end": 9613, + "start": 9636, + "end": 9650, "loc": { "start": { - "line": 217, + "line": 218, "column": 56 }, "end": { - "line": 217, + "line": 218, "column": 70 } } @@ -66580,15 +66965,15 @@ "binop": null, "updateContext": null }, - "start": 9613, - "end": 9614, + "start": 9650, + "end": 9651, "loc": { "start": { - "line": 217, + "line": 218, "column": 70 }, "end": { - "line": 217, + "line": 218, "column": 71 } } @@ -66606,15 +66991,15 @@ "binop": null }, "value": "includeNormals", - "start": 9615, - "end": 9629, + "start": 9652, + "end": 9666, "loc": { "start": { - "line": 217, + "line": 218, "column": 72 }, "end": { - "line": 217, + "line": 218, "column": 86 } } @@ -66631,15 +67016,15 @@ "postfix": false, "binop": null }, - "start": 9629, - "end": 9630, + "start": 9666, + "end": 9667, "loc": { "start": { - "line": 217, + "line": 218, "column": 86 }, "end": { - "line": 217, + "line": 218, "column": 87 } } @@ -66657,15 +67042,15 @@ "binop": null, "updateContext": null }, - "start": 9630, - "end": 9631, + "start": 9667, + "end": 9668, "loc": { "start": { - "line": 217, + "line": 218, "column": 87 }, "end": { - "line": 217, + "line": 218, "column": 88 } } @@ -66683,15 +67068,15 @@ "binop": null }, "value": "includeTypes", - "start": 9640, - "end": 9652, + "start": 9677, + "end": 9689, "loc": { "start": { - "line": 218, + "line": 219, "column": 8 }, "end": { - "line": 218, + "line": 219, "column": 20 } } @@ -66710,15 +67095,15 @@ "updateContext": null }, "value": "=", - "start": 9653, - "end": 9654, + "start": 9690, + "end": 9691, "loc": { "start": { - "line": 218, + "line": 219, "column": 21 }, "end": { - "line": 218, + "line": 219, "column": 22 } } @@ -66736,15 +67121,15 @@ "binop": null }, "value": "overrideOption", - "start": 9655, - "end": 9669, + "start": 9692, + "end": 9706, "loc": { "start": { - "line": 218, + "line": 219, "column": 23 }, "end": { - "line": 218, + "line": 219, "column": 37 } } @@ -66761,15 +67146,15 @@ "postfix": false, "binop": null }, - "start": 9669, - "end": 9670, + "start": 9706, + "end": 9707, "loc": { "start": { - "line": 218, + "line": 219, "column": 37 }, "end": { - "line": 218, + "line": 219, "column": 38 } } @@ -66787,15 +67172,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 9670, - "end": 9685, + "start": 9707, + "end": 9722, "loc": { "start": { - "line": 218, + "line": 219, "column": 38 }, "end": { - "line": 218, + "line": 219, "column": 53 } } @@ -66813,15 +67198,15 @@ "binop": null, "updateContext": null }, - "start": 9685, - "end": 9686, + "start": 9722, + "end": 9723, "loc": { "start": { - "line": 218, + "line": 219, "column": 53 }, "end": { - "line": 218, + "line": 219, "column": 54 } } @@ -66839,15 +67224,15 @@ "binop": null }, "value": "includeTypes", - "start": 9686, - "end": 9698, + "start": 9723, + "end": 9735, "loc": { "start": { - "line": 218, + "line": 219, "column": 54 }, "end": { - "line": 218, + "line": 219, "column": 66 } } @@ -66865,15 +67250,15 @@ "binop": null, "updateContext": null }, - "start": 9698, - "end": 9699, + "start": 9735, + "end": 9736, "loc": { "start": { - "line": 218, + "line": 219, "column": 66 }, "end": { - "line": 218, + "line": 219, "column": 67 } } @@ -66891,15 +67276,15 @@ "binop": null }, "value": "includeTypes", - "start": 9700, - "end": 9712, + "start": 9737, + "end": 9749, "loc": { "start": { - "line": 218, + "line": 219, "column": 68 }, "end": { - "line": 218, + "line": 219, "column": 80 } } @@ -66916,15 +67301,15 @@ "postfix": false, "binop": null }, - "start": 9712, - "end": 9713, + "start": 9749, + "end": 9750, "loc": { "start": { - "line": 218, + "line": 219, "column": 80 }, "end": { - "line": 218, + "line": 219, "column": 81 } } @@ -66942,15 +67327,15 @@ "binop": null, "updateContext": null }, - "start": 9713, - "end": 9714, + "start": 9750, + "end": 9751, "loc": { "start": { - "line": 218, + "line": 219, "column": 81 }, "end": { - "line": 218, + "line": 219, "column": 82 } } @@ -66968,15 +67353,15 @@ "binop": null }, "value": "excludeTypes", - "start": 9723, - "end": 9735, + "start": 9760, + "end": 9772, "loc": { "start": { - "line": 219, + "line": 220, "column": 8 }, "end": { - "line": 219, + "line": 220, "column": 20 } } @@ -66995,15 +67380,15 @@ "updateContext": null }, "value": "=", - "start": 9736, - "end": 9737, + "start": 9773, + "end": 9774, "loc": { "start": { - "line": 219, + "line": 220, "column": 21 }, "end": { - "line": 219, + "line": 220, "column": 22 } } @@ -67021,15 +67406,15 @@ "binop": null }, "value": "overrideOption", - "start": 9738, - "end": 9752, + "start": 9775, + "end": 9789, "loc": { "start": { - "line": 219, + "line": 220, "column": 23 }, "end": { - "line": 219, + "line": 220, "column": 37 } } @@ -67046,15 +67431,15 @@ "postfix": false, "binop": null }, - "start": 9752, - "end": 9753, + "start": 9789, + "end": 9790, "loc": { "start": { - "line": 219, + "line": 220, "column": 37 }, "end": { - "line": 219, + "line": 220, "column": 38 } } @@ -67072,15 +67457,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 9753, - "end": 9768, + "start": 9790, + "end": 9805, "loc": { "start": { - "line": 219, + "line": 220, "column": 38 }, "end": { - "line": 219, + "line": 220, "column": 53 } } @@ -67098,15 +67483,15 @@ "binop": null, "updateContext": null }, - "start": 9768, - "end": 9769, + "start": 9805, + "end": 9806, "loc": { "start": { - "line": 219, + "line": 220, "column": 53 }, "end": { - "line": 219, + "line": 220, "column": 54 } } @@ -67124,15 +67509,15 @@ "binop": null }, "value": "excludeTypes", - "start": 9769, - "end": 9781, + "start": 9806, + "end": 9818, "loc": { "start": { - "line": 219, + "line": 220, "column": 54 }, "end": { - "line": 219, + "line": 220, "column": 66 } } @@ -67150,15 +67535,15 @@ "binop": null, "updateContext": null }, - "start": 9781, - "end": 9782, + "start": 9818, + "end": 9819, "loc": { "start": { - "line": 219, + "line": 220, "column": 66 }, "end": { - "line": 219, + "line": 220, "column": 67 } } @@ -67176,15 +67561,15 @@ "binop": null }, "value": "excludeTypes", - "start": 9783, - "end": 9795, + "start": 9820, + "end": 9832, "loc": { "start": { - "line": 219, + "line": 220, "column": 68 }, "end": { - "line": 219, + "line": 220, "column": 80 } } @@ -67201,15 +67586,15 @@ "postfix": false, "binop": null }, - "start": 9795, - "end": 9796, + "start": 9832, + "end": 9833, "loc": { "start": { - "line": 219, + "line": 220, "column": 80 }, "end": { - "line": 219, + "line": 220, "column": 81 } } @@ -67227,15 +67612,15 @@ "binop": null, "updateContext": null }, - "start": 9796, - "end": 9797, + "start": 9833, + "end": 9834, "loc": { "start": { - "line": 219, + "line": 220, "column": 81 }, "end": { - "line": 219, + "line": 220, "column": 82 } } @@ -67255,15 +67640,15 @@ "updateContext": null }, "value": "if", - "start": 9807, - "end": 9809, + "start": 9844, + "end": 9846, "loc": { "start": { - "line": 221, + "line": 222, "column": 8 }, "end": { - "line": 221, + "line": 222, "column": 10 } } @@ -67280,15 +67665,15 @@ "postfix": false, "binop": null }, - "start": 9810, - "end": 9811, + "start": 9847, + "end": 9848, "loc": { "start": { - "line": 221, + "line": 222, "column": 11 }, "end": { - "line": 221, + "line": 222, "column": 12 } } @@ -67306,15 +67691,15 @@ "binop": null }, "value": "reuseGeometries", - "start": 9811, - "end": 9826, + "start": 9848, + "end": 9863, "loc": { "start": { - "line": 221, + "line": 222, "column": 12 }, "end": { - "line": 221, + "line": 222, "column": 27 } } @@ -67333,15 +67718,15 @@ "updateContext": null }, "value": "===", - "start": 9827, - "end": 9830, + "start": 9864, + "end": 9867, "loc": { "start": { - "line": 221, + "line": 222, "column": 28 }, "end": { - "line": 221, + "line": 222, "column": 31 } } @@ -67361,15 +67746,15 @@ "updateContext": null }, "value": "false", - "start": 9831, - "end": 9836, + "start": 9868, + "end": 9873, "loc": { "start": { - "line": 221, + "line": 222, "column": 32 }, "end": { - "line": 221, + "line": 222, "column": 37 } } @@ -67386,15 +67771,15 @@ "postfix": false, "binop": null }, - "start": 9836, - "end": 9837, + "start": 9873, + "end": 9874, "loc": { "start": { - "line": 221, + "line": 222, "column": 37 }, "end": { - "line": 221, + "line": 222, "column": 38 } } @@ -67411,15 +67796,15 @@ "postfix": false, "binop": null }, - "start": 9838, - "end": 9839, + "start": 9875, + "end": 9876, "loc": { "start": { - "line": 221, + "line": 222, "column": 39 }, "end": { - "line": 221, + "line": 222, "column": 40 } } @@ -67437,15 +67822,15 @@ "binop": null }, "value": "log", - "start": 9852, - "end": 9855, + "start": 9889, + "end": 9892, "loc": { "start": { - "line": 222, + "line": 223, "column": 12 }, "end": { - "line": 222, + "line": 223, "column": 15 } } @@ -67462,15 +67847,15 @@ "postfix": false, "binop": null }, - "start": 9855, - "end": 9856, + "start": 9892, + "end": 9893, "loc": { "start": { - "line": 222, + "line": 223, "column": 15 }, "end": { - "line": 222, + "line": 223, "column": 16 } } @@ -67489,15 +67874,15 @@ "updateContext": null }, "value": "Geometry reuse is disabled", - "start": 9856, - "end": 9884, + "start": 9893, + "end": 9921, "loc": { "start": { - "line": 222, + "line": 223, "column": 16 }, "end": { - "line": 222, + "line": 223, "column": 44 } } @@ -67514,15 +67899,15 @@ "postfix": false, "binop": null }, - "start": 9884, - "end": 9885, + "start": 9921, + "end": 9922, "loc": { "start": { - "line": 222, + "line": 223, "column": 44 }, "end": { - "line": 222, + "line": 223, "column": 45 } } @@ -67540,15 +67925,15 @@ "binop": null, "updateContext": null }, - "start": 9885, - "end": 9886, + "start": 9922, + "end": 9923, "loc": { "start": { - "line": 222, + "line": 223, "column": 45 }, "end": { - "line": 222, + "line": 223, "column": 46 } } @@ -67565,15 +67950,15 @@ "postfix": false, "binop": null }, - "start": 9895, - "end": 9896, + "start": 9932, + "end": 9933, "loc": { "start": { - "line": 223, + "line": 224, "column": 8 }, "end": { - "line": 223, + "line": 224, "column": 9 } } @@ -67593,15 +67978,15 @@ "updateContext": null }, "value": "const", - "start": 9906, - "end": 9911, + "start": 9943, + "end": 9948, "loc": { "start": { - "line": 225, + "line": 226, "column": 8 }, "end": { - "line": 225, + "line": 226, "column": 13 } } @@ -67619,15 +68004,15 @@ "binop": null }, "value": "xktModel", - "start": 9912, - "end": 9920, + "start": 9949, + "end": 9957, "loc": { "start": { - "line": 225, + "line": 226, "column": 14 }, "end": { - "line": 225, + "line": 226, "column": 22 } } @@ -67646,15 +68031,15 @@ "updateContext": null }, "value": "=", - "start": 9921, - "end": 9922, + "start": 9958, + "end": 9959, "loc": { "start": { - "line": 225, + "line": 226, "column": 23 }, "end": { - "line": 225, + "line": 226, "column": 24 } } @@ -67674,15 +68059,15 @@ "updateContext": null }, "value": "new", - "start": 9923, - "end": 9926, + "start": 9960, + "end": 9963, "loc": { "start": { - "line": 225, + "line": 226, "column": 25 }, "end": { - "line": 225, + "line": 226, "column": 28 } } @@ -67700,15 +68085,15 @@ "binop": null }, "value": "XKTModel", - "start": 9927, - "end": 9935, + "start": 9964, + "end": 9972, "loc": { "start": { - "line": 225, + "line": 226, "column": 29 }, "end": { - "line": 225, + "line": 226, "column": 37 } } @@ -67725,15 +68110,15 @@ "postfix": false, "binop": null }, - "start": 9935, - "end": 9936, + "start": 9972, + "end": 9973, "loc": { "start": { - "line": 225, + "line": 226, "column": 37 }, "end": { - "line": 225, + "line": 226, "column": 38 } } @@ -67750,15 +68135,15 @@ "postfix": false, "binop": null }, - "start": 9936, - "end": 9937, + "start": 9973, + "end": 9974, "loc": { "start": { - "line": 225, + "line": 226, "column": 38 }, "end": { - "line": 225, + "line": 226, "column": 39 } } @@ -67776,15 +68161,15 @@ "binop": null }, "value": "minTileSize", - "start": 9950, - "end": 9961, + "start": 9987, + "end": 9998, "loc": { "start": { - "line": 226, + "line": 227, "column": 12 }, "end": { - "line": 226, + "line": 227, "column": 23 } } @@ -67802,15 +68187,15 @@ "binop": null, "updateContext": null }, - "start": 9961, - "end": 9962, + "start": 9998, + "end": 9999, "loc": { "start": { - "line": 226, + "line": 227, "column": 23 }, "end": { - "line": 226, + "line": 227, "column": 24 } } @@ -67828,15 +68213,15 @@ "binop": null }, "value": "modelAABB", - "start": 9975, - "end": 9984, + "start": 10012, + "end": 10021, "loc": { "start": { - "line": 227, + "line": 228, "column": 12 }, "end": { - "line": 227, + "line": 228, "column": 21 } } @@ -67853,15 +68238,15 @@ "postfix": false, "binop": null }, - "start": 9993, - "end": 9994, + "start": 10030, + "end": 10031, "loc": { "start": { - "line": 228, + "line": 229, "column": 8 }, "end": { - "line": 228, + "line": 229, "column": 9 } } @@ -67878,15 +68263,15 @@ "postfix": false, "binop": null }, - "start": 9994, - "end": 9995, + "start": 10031, + "end": 10032, "loc": { "start": { - "line": 228, + "line": 229, "column": 9 }, "end": { - "line": 228, + "line": 229, "column": 10 } } @@ -67904,15 +68289,15 @@ "binop": null, "updateContext": null }, - "start": 9995, - "end": 9996, + "start": 10032, + "end": 10033, "loc": { "start": { - "line": 228, + "line": 229, "column": 10 }, "end": { - "line": 228, + "line": 229, "column": 11 } } @@ -67932,15 +68317,15 @@ "updateContext": null }, "value": "switch", - "start": 10006, - "end": 10012, + "start": 10043, + "end": 10049, "loc": { "start": { - "line": 230, + "line": 231, "column": 8 }, "end": { - "line": 230, + "line": 231, "column": 14 } } @@ -67957,15 +68342,15 @@ "postfix": false, "binop": null }, - "start": 10013, - "end": 10014, + "start": 10050, + "end": 10051, "loc": { "start": { - "line": 230, + "line": 231, "column": 15 }, "end": { - "line": 230, + "line": 231, "column": 16 } } @@ -67983,15 +68368,15 @@ "binop": null }, "value": "ext", - "start": 10014, - "end": 10017, + "start": 10051, + "end": 10054, "loc": { "start": { - "line": 230, + "line": 231, "column": 16 }, "end": { - "line": 230, + "line": 231, "column": 19 } } @@ -68008,15 +68393,15 @@ "postfix": false, "binop": null }, - "start": 10017, - "end": 10018, + "start": 10054, + "end": 10055, "loc": { "start": { - "line": 230, + "line": 231, "column": 19 }, "end": { - "line": 230, + "line": 231, "column": 20 } } @@ -68033,15 +68418,15 @@ "postfix": false, "binop": null }, - "start": 10019, - "end": 10020, + "start": 10056, + "end": 10057, "loc": { "start": { - "line": 230, + "line": 231, "column": 21 }, "end": { - "line": 230, + "line": 231, "column": 22 } } @@ -68061,15 +68446,15 @@ "updateContext": null }, "value": "case", - "start": 10033, - "end": 10037, + "start": 10070, + "end": 10074, "loc": { "start": { - "line": 231, + "line": 232, "column": 12 }, "end": { - "line": 231, + "line": 232, "column": 16 } } @@ -68088,15 +68473,15 @@ "updateContext": null }, "value": "json", - "start": 10038, - "end": 10044, + "start": 10075, + "end": 10081, "loc": { "start": { - "line": 231, + "line": 232, "column": 17 }, "end": { - "line": 231, + "line": 232, "column": 23 } } @@ -68114,15 +68499,15 @@ "binop": null, "updateContext": null }, - "start": 10044, - "end": 10045, + "start": 10081, + "end": 10082, "loc": { "start": { - "line": 231, + "line": 232, "column": 23 }, "end": { - "line": 231, + "line": 232, "column": 24 } } @@ -68140,15 +68525,15 @@ "binop": null }, "value": "convert", - "start": 10062, - "end": 10069, + "start": 10099, + "end": 10106, "loc": { "start": { - "line": 232, + "line": 233, "column": 16 }, "end": { - "line": 232, + "line": 233, "column": 23 } } @@ -68165,15 +68550,15 @@ "postfix": false, "binop": null }, - "start": 10069, - "end": 10070, + "start": 10106, + "end": 10107, "loc": { "start": { - "line": 232, + "line": 233, "column": 23 }, "end": { - "line": 232, + "line": 233, "column": 24 } } @@ -68191,15 +68576,15 @@ "binop": null }, "value": "parseCityJSONIntoXKTModel", - "start": 10070, - "end": 10095, + "start": 10107, + "end": 10132, "loc": { "start": { - "line": 232, + "line": 233, "column": 24 }, "end": { - "line": 232, + "line": 233, "column": 49 } } @@ -68217,15 +68602,15 @@ "binop": null, "updateContext": null }, - "start": 10095, - "end": 10096, + "start": 10132, + "end": 10133, "loc": { "start": { - "line": 232, + "line": 233, "column": 49 }, "end": { - "line": 232, + "line": 233, "column": 50 } } @@ -68242,15 +68627,15 @@ "postfix": false, "binop": null }, - "start": 10097, - "end": 10098, + "start": 10134, + "end": 10135, "loc": { "start": { - "line": 232, + "line": 233, "column": 51 }, "end": { - "line": 232, + "line": 233, "column": 52 } } @@ -68268,15 +68653,15 @@ "binop": null }, "value": "data", - "start": 10119, - "end": 10123, + "start": 10156, + "end": 10160, "loc": { "start": { - "line": 233, + "line": 234, "column": 20 }, "end": { - "line": 233, + "line": 234, "column": 24 } } @@ -68294,15 +68679,15 @@ "binop": null, "updateContext": null }, - "start": 10123, - "end": 10124, + "start": 10160, + "end": 10161, "loc": { "start": { - "line": 233, + "line": 234, "column": 24 }, "end": { - "line": 233, + "line": 234, "column": 25 } } @@ -68320,15 +68705,15 @@ "binop": null }, "value": "JSON", - "start": 10125, - "end": 10129, + "start": 10162, + "end": 10166, "loc": { "start": { - "line": 233, + "line": 234, "column": 26 }, "end": { - "line": 233, + "line": 234, "column": 30 } } @@ -68346,15 +68731,15 @@ "binop": null, "updateContext": null }, - "start": 10129, - "end": 10130, + "start": 10166, + "end": 10167, "loc": { "start": { - "line": 233, + "line": 234, "column": 30 }, "end": { - "line": 233, + "line": 234, "column": 31 } } @@ -68372,15 +68757,15 @@ "binop": null }, "value": "parse", - "start": 10130, - "end": 10135, + "start": 10167, + "end": 10172, "loc": { "start": { - "line": 233, + "line": 234, "column": 31 }, "end": { - "line": 233, + "line": 234, "column": 36 } } @@ -68397,15 +68782,15 @@ "postfix": false, "binop": null }, - "start": 10135, - "end": 10136, + "start": 10172, + "end": 10173, "loc": { "start": { - "line": 233, + "line": 234, "column": 36 }, "end": { - "line": 233, + "line": 234, "column": 37 } } @@ -68423,15 +68808,15 @@ "binop": null }, "value": "sourceData", - "start": 10136, - "end": 10146, + "start": 10173, + "end": 10183, "loc": { "start": { - "line": 233, + "line": 234, "column": 37 }, "end": { - "line": 233, + "line": 234, "column": 47 } } @@ -68448,15 +68833,15 @@ "postfix": false, "binop": null }, - "start": 10146, - "end": 10147, + "start": 10183, + "end": 10184, "loc": { "start": { - "line": 233, + "line": 234, "column": 47 }, "end": { - "line": 233, + "line": 234, "column": 48 } } @@ -68474,15 +68859,15 @@ "binop": null, "updateContext": null }, - "start": 10147, - "end": 10148, + "start": 10184, + "end": 10185, "loc": { "start": { - "line": 233, + "line": 234, "column": 48 }, "end": { - "line": 233, + "line": 234, "column": 49 } } @@ -68500,15 +68885,15 @@ "binop": null }, "value": "xktModel", - "start": 10169, - "end": 10177, + "start": 10206, + "end": 10214, "loc": { "start": { - "line": 234, + "line": 235, "column": 20 }, "end": { - "line": 234, + "line": 235, "column": 28 } } @@ -68526,15 +68911,15 @@ "binop": null, "updateContext": null }, - "start": 10177, - "end": 10178, + "start": 10214, + "end": 10215, "loc": { "start": { - "line": 234, + "line": 235, "column": 28 }, "end": { - "line": 234, + "line": 235, "column": 29 } } @@ -68552,15 +68937,15 @@ "binop": null }, "value": "stats", - "start": 10199, - "end": 10204, + "start": 10236, + "end": 10241, "loc": { "start": { - "line": 235, + "line": 236, "column": 20 }, "end": { - "line": 235, + "line": 236, "column": 25 } } @@ -68578,15 +68963,15 @@ "binop": null, "updateContext": null }, - "start": 10204, - "end": 10205, + "start": 10241, + "end": 10242, "loc": { "start": { - "line": 235, + "line": 236, "column": 25 }, "end": { - "line": 235, + "line": 236, "column": 26 } } @@ -68604,15 +68989,15 @@ "binop": null }, "value": "rotateX", - "start": 10226, - "end": 10233, + "start": 10263, + "end": 10270, "loc": { "start": { - "line": 236, + "line": 237, "column": 20 }, "end": { - "line": 236, + "line": 237, "column": 27 } } @@ -68630,15 +69015,15 @@ "binop": null, "updateContext": null }, - "start": 10233, - "end": 10234, + "start": 10270, + "end": 10271, "loc": { "start": { - "line": 236, + "line": 237, "column": 27 }, "end": { - "line": 236, + "line": 237, "column": 28 } } @@ -68656,15 +69041,15 @@ "binop": null }, "value": "center", - "start": 10255, - "end": 10261, + "start": 10292, + "end": 10298, "loc": { "start": { - "line": 237, + "line": 238, "column": 20 }, "end": { - "line": 237, + "line": 238, "column": 26 } } @@ -68682,15 +69067,15 @@ "binop": null, "updateContext": null }, - "start": 10261, - "end": 10262, + "start": 10298, + "end": 10299, "loc": { "start": { - "line": 237, + "line": 238, "column": 26 }, "end": { - "line": 237, + "line": 238, "column": 27 } } @@ -68708,15 +69093,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 10263, - "end": 10278, + "start": 10300, + "end": 10315, "loc": { "start": { - "line": 237, + "line": 238, "column": 28 }, "end": { - "line": 237, + "line": 238, "column": 43 } } @@ -68734,15 +69119,15 @@ "binop": null, "updateContext": null }, - "start": 10278, - "end": 10279, + "start": 10315, + "end": 10316, "loc": { "start": { - "line": 237, + "line": 238, "column": 43 }, "end": { - "line": 237, + "line": 238, "column": 44 } } @@ -68760,15 +69145,15 @@ "binop": null }, "value": "center", - "start": 10279, - "end": 10285, + "start": 10316, + "end": 10322, "loc": { "start": { - "line": 237, + "line": 238, "column": 44 }, "end": { - "line": 237, + "line": 238, "column": 50 } } @@ -68786,15 +69171,15 @@ "binop": null, "updateContext": null }, - "start": 10285, - "end": 10286, + "start": 10322, + "end": 10323, "loc": { "start": { - "line": 237, + "line": 238, "column": 50 }, "end": { - "line": 237, + "line": 238, "column": 51 } } @@ -68812,15 +69197,15 @@ "binop": null }, "value": "transform", - "start": 10307, - "end": 10316, + "start": 10344, + "end": 10353, "loc": { "start": { - "line": 238, + "line": 239, "column": 20 }, "end": { - "line": 238, + "line": 239, "column": 29 } } @@ -68838,15 +69223,15 @@ "binop": null, "updateContext": null }, - "start": 10316, - "end": 10317, + "start": 10353, + "end": 10354, "loc": { "start": { - "line": 238, + "line": 239, "column": 29 }, "end": { - "line": 238, + "line": 239, "column": 30 } } @@ -68864,15 +69249,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 10318, - "end": 10333, + "start": 10355, + "end": 10370, "loc": { "start": { - "line": 238, + "line": 239, "column": 31 }, "end": { - "line": 238, + "line": 239, "column": 46 } } @@ -68890,15 +69275,15 @@ "binop": null, "updateContext": null }, - "start": 10333, - "end": 10334, + "start": 10370, + "end": 10371, "loc": { "start": { - "line": 238, + "line": 239, "column": 46 }, "end": { - "line": 238, + "line": 239, "column": 47 } } @@ -68916,15 +69301,15 @@ "binop": null }, "value": "transform", - "start": 10334, - "end": 10343, + "start": 10371, + "end": 10380, "loc": { "start": { - "line": 238, + "line": 239, "column": 47 }, "end": { - "line": 238, + "line": 239, "column": 56 } } @@ -68942,15 +69327,15 @@ "binop": null, "updateContext": null }, - "start": 10343, - "end": 10344, + "start": 10380, + "end": 10381, "loc": { "start": { - "line": 238, + "line": 239, "column": 56 }, "end": { - "line": 238, + "line": 239, "column": 57 } } @@ -68968,15 +69353,15 @@ "binop": null }, "value": "log", - "start": 10365, - "end": 10368, + "start": 10402, + "end": 10405, "loc": { "start": { - "line": 239, + "line": 240, "column": 20 }, "end": { - "line": 239, + "line": 240, "column": 23 } } @@ -68993,15 +69378,15 @@ "postfix": false, "binop": null }, - "start": 10385, - "end": 10386, + "start": 10422, + "end": 10423, "loc": { "start": { - "line": 240, + "line": 241, "column": 16 }, "end": { - "line": 240, + "line": 241, "column": 17 } } @@ -69018,15 +69403,15 @@ "postfix": false, "binop": null }, - "start": 10386, - "end": 10387, + "start": 10423, + "end": 10424, "loc": { "start": { - "line": 240, + "line": 241, "column": 17 }, "end": { - "line": 240, + "line": 241, "column": 18 } } @@ -69044,15 +69429,15 @@ "binop": null, "updateContext": null }, - "start": 10387, - "end": 10388, + "start": 10424, + "end": 10425, "loc": { "start": { - "line": 240, + "line": 241, "column": 18 }, "end": { - "line": 240, + "line": 241, "column": 19 } } @@ -69072,15 +69457,15 @@ "updateContext": null }, "value": "break", - "start": 10405, - "end": 10410, + "start": 10442, + "end": 10447, "loc": { "start": { - "line": 241, + "line": 242, "column": 16 }, "end": { - "line": 241, + "line": 242, "column": 21 } } @@ -69098,15 +69483,15 @@ "binop": null, "updateContext": null }, - "start": 10410, - "end": 10411, + "start": 10447, + "end": 10448, "loc": { "start": { - "line": 241, + "line": 242, "column": 21 }, "end": { - "line": 241, + "line": 242, "column": 22 } } @@ -69126,15 +69511,15 @@ "updateContext": null }, "value": "case", - "start": 10425, - "end": 10429, + "start": 10462, + "end": 10466, "loc": { "start": { - "line": 243, + "line": 244, "column": 12 }, "end": { - "line": 243, + "line": 244, "column": 16 } } @@ -69153,15 +69538,15 @@ "updateContext": null }, "value": "glb", - "start": 10430, - "end": 10435, + "start": 10467, + "end": 10472, "loc": { "start": { - "line": 243, + "line": 244, "column": 17 }, "end": { - "line": 243, + "line": 244, "column": 22 } } @@ -69179,15 +69564,15 @@ "binop": null, "updateContext": null }, - "start": 10435, - "end": 10436, + "start": 10472, + "end": 10473, "loc": { "start": { - "line": 243, + "line": 244, "column": 22 }, "end": { - "line": 243, + "line": 244, "column": 23 } } @@ -69205,15 +69590,15 @@ "binop": null }, "value": "sourceData", - "start": 10453, - "end": 10463, + "start": 10490, + "end": 10500, "loc": { "start": { - "line": 244, + "line": 245, "column": 16 }, "end": { - "line": 244, + "line": 245, "column": 26 } } @@ -69232,15 +69617,15 @@ "updateContext": null }, "value": "=", - "start": 10464, - "end": 10465, + "start": 10501, + "end": 10502, "loc": { "start": { - "line": 244, + "line": 245, "column": 27 }, "end": { - "line": 244, + "line": 245, "column": 28 } } @@ -69258,15 +69643,15 @@ "binop": null }, "value": "toArrayBuffer", - "start": 10466, - "end": 10479, + "start": 10503, + "end": 10516, "loc": { "start": { - "line": 244, + "line": 245, "column": 29 }, "end": { - "line": 244, + "line": 245, "column": 42 } } @@ -69283,15 +69668,15 @@ "postfix": false, "binop": null }, - "start": 10479, - "end": 10480, + "start": 10516, + "end": 10517, "loc": { "start": { - "line": 244, + "line": 245, "column": 42 }, "end": { - "line": 244, + "line": 245, "column": 43 } } @@ -69309,15 +69694,15 @@ "binop": null }, "value": "sourceData", - "start": 10480, - "end": 10490, + "start": 10517, + "end": 10527, "loc": { "start": { - "line": 244, + "line": 245, "column": 43 }, "end": { - "line": 244, + "line": 245, "column": 53 } } @@ -69334,15 +69719,15 @@ "postfix": false, "binop": null }, - "start": 10490, - "end": 10491, + "start": 10527, + "end": 10528, "loc": { "start": { - "line": 244, + "line": 245, "column": 53 }, "end": { - "line": 244, + "line": 245, "column": 54 } } @@ -69360,15 +69745,15 @@ "binop": null, "updateContext": null }, - "start": 10491, - "end": 10492, + "start": 10528, + "end": 10529, "loc": { "start": { - "line": 244, + "line": 245, "column": 54 }, "end": { - "line": 244, + "line": 245, "column": 55 } } @@ -69386,15 +69771,15 @@ "binop": null }, "value": "convert", - "start": 10509, - "end": 10516, + "start": 10546, + "end": 10553, "loc": { "start": { - "line": 245, + "line": 246, "column": 16 }, "end": { - "line": 245, + "line": 246, "column": 23 } } @@ -69411,15 +69796,15 @@ "postfix": false, "binop": null }, - "start": 10516, - "end": 10517, + "start": 10553, + "end": 10554, "loc": { "start": { - "line": 245, + "line": 246, "column": 23 }, "end": { - "line": 245, + "line": 246, "column": 24 } } @@ -69437,15 +69822,15 @@ "binop": null }, "value": "parseGLTFIntoXKTModel", - "start": 10517, - "end": 10538, + "start": 10554, + "end": 10575, "loc": { "start": { - "line": 245, + "line": 246, "column": 24 }, "end": { - "line": 245, + "line": 246, "column": 45 } } @@ -69463,15 +69848,15 @@ "binop": null, "updateContext": null }, - "start": 10538, - "end": 10539, + "start": 10575, + "end": 10576, "loc": { "start": { - "line": 245, + "line": 246, "column": 45 }, "end": { - "line": 245, + "line": 246, "column": 46 } } @@ -69488,15 +69873,15 @@ "postfix": false, "binop": null }, - "start": 10540, - "end": 10541, + "start": 10577, + "end": 10578, "loc": { "start": { - "line": 245, + "line": 246, "column": 47 }, "end": { - "line": 245, + "line": 246, "column": 48 } } @@ -69514,15 +69899,15 @@ "binop": null }, "value": "data", - "start": 10562, - "end": 10566, + "start": 10599, + "end": 10603, "loc": { "start": { - "line": 246, + "line": 247, "column": 20 }, "end": { - "line": 246, + "line": 247, "column": 24 } } @@ -69540,15 +69925,15 @@ "binop": null, "updateContext": null }, - "start": 10566, - "end": 10567, + "start": 10603, + "end": 10604, "loc": { "start": { - "line": 246, + "line": 247, "column": 24 }, "end": { - "line": 246, + "line": 247, "column": 25 } } @@ -69566,15 +69951,15 @@ "binop": null }, "value": "sourceData", - "start": 10568, - "end": 10578, + "start": 10605, + "end": 10615, "loc": { "start": { - "line": 246, + "line": 247, "column": 26 }, "end": { - "line": 246, + "line": 247, "column": 36 } } @@ -69592,15 +69977,15 @@ "binop": null, "updateContext": null }, - "start": 10578, - "end": 10579, + "start": 10615, + "end": 10616, "loc": { "start": { - "line": 246, + "line": 247, "column": 36 }, "end": { - "line": 246, + "line": 247, "column": 37 } } @@ -69618,15 +70003,15 @@ "binop": null }, "value": "reuseGeometries", - "start": 10600, - "end": 10615, + "start": 10637, + "end": 10652, "loc": { "start": { - "line": 247, + "line": 248, "column": 20 }, "end": { - "line": 247, + "line": 248, "column": 35 } } @@ -69644,15 +70029,15 @@ "binop": null, "updateContext": null }, - "start": 10615, - "end": 10616, + "start": 10652, + "end": 10653, "loc": { "start": { - "line": 247, + "line": 248, "column": 35 }, "end": { - "line": 247, + "line": 248, "column": 36 } } @@ -69670,15 +70055,15 @@ "binop": null }, "value": "includeTextures", - "start": 10637, - "end": 10652, + "start": 10674, + "end": 10689, "loc": { "start": { - "line": 248, + "line": 249, "column": 20 }, "end": { - "line": 248, + "line": 249, "column": 35 } } @@ -69696,15 +70081,15 @@ "binop": null, "updateContext": null }, - "start": 10652, - "end": 10653, + "start": 10689, + "end": 10690, "loc": { "start": { - "line": 248, + "line": 249, "column": 35 }, "end": { - "line": 248, + "line": 249, "column": 36 } } @@ -69724,15 +70109,15 @@ "updateContext": null }, "value": "true", - "start": 10654, - "end": 10658, + "start": 10691, + "end": 10695, "loc": { "start": { - "line": 248, + "line": 249, "column": 37 }, "end": { - "line": 248, + "line": 249, "column": 41 } } @@ -69750,15 +70135,15 @@ "binop": null, "updateContext": null }, - "start": 10658, - "end": 10659, + "start": 10695, + "end": 10696, "loc": { "start": { - "line": 248, + "line": 249, "column": 41 }, "end": { - "line": 248, + "line": 249, "column": 42 } } @@ -69776,15 +70161,15 @@ "binop": null }, "value": "includeNormals", - "start": 10680, - "end": 10694, + "start": 10717, + "end": 10731, "loc": { "start": { - "line": 249, + "line": 250, "column": 20 }, "end": { - "line": 249, + "line": 250, "column": 34 } } @@ -69802,15 +70187,15 @@ "binop": null, "updateContext": null }, - "start": 10694, - "end": 10695, + "start": 10731, + "end": 10732, "loc": { "start": { - "line": 249, + "line": 250, "column": 34 }, "end": { - "line": 249, + "line": 250, "column": 35 } } @@ -69828,15 +70213,15 @@ "binop": null }, "value": "metaModelData", - "start": 10716, - "end": 10729, + "start": 10753, + "end": 10766, "loc": { "start": { - "line": 250, + "line": 251, "column": 20 }, "end": { - "line": 250, + "line": 251, "column": 33 } } @@ -69854,15 +70239,15 @@ "binop": null, "updateContext": null }, - "start": 10729, - "end": 10730, + "start": 10766, + "end": 10767, "loc": { "start": { - "line": 250, + "line": 251, "column": 33 }, "end": { - "line": 250, + "line": 251, "column": 34 } } @@ -69880,15 +70265,15 @@ "binop": null }, "value": "metaModelJSON", - "start": 10731, - "end": 10744, + "start": 10768, + "end": 10781, "loc": { "start": { - "line": 250, + "line": 251, "column": 35 }, "end": { - "line": 250, + "line": 251, "column": 48 } } @@ -69906,15 +70291,15 @@ "binop": null, "updateContext": null }, - "start": 10744, - "end": 10745, + "start": 10781, + "end": 10782, "loc": { "start": { - "line": 250, + "line": 251, "column": 48 }, "end": { - "line": 250, + "line": 251, "column": 49 } } @@ -69932,15 +70317,15 @@ "binop": null }, "value": "xktModel", - "start": 10766, - "end": 10774, + "start": 10803, + "end": 10811, "loc": { "start": { - "line": 251, + "line": 252, "column": 20 }, "end": { - "line": 251, + "line": 252, "column": 28 } } @@ -69958,15 +70343,15 @@ "binop": null, "updateContext": null }, - "start": 10774, - "end": 10775, + "start": 10811, + "end": 10812, "loc": { "start": { - "line": 251, + "line": 252, "column": 28 }, "end": { - "line": 251, + "line": 252, "column": 29 } } @@ -69984,15 +70369,15 @@ "binop": null }, "value": "stats", - "start": 10796, - "end": 10801, + "start": 10833, + "end": 10838, "loc": { "start": { - "line": 252, + "line": 253, "column": 20 }, "end": { - "line": 252, + "line": 253, "column": 25 } } @@ -70010,15 +70395,15 @@ "binop": null, "updateContext": null }, - "start": 10801, - "end": 10802, + "start": 10838, + "end": 10839, "loc": { "start": { - "line": 252, + "line": 253, "column": 25 }, "end": { - "line": 252, + "line": 253, "column": 26 } } @@ -70036,15 +70421,15 @@ "binop": null }, "value": "log", - "start": 10823, - "end": 10826, + "start": 10860, + "end": 10863, "loc": { "start": { - "line": 253, + "line": 254, "column": 20 }, "end": { - "line": 253, + "line": 254, "column": 23 } } @@ -70061,15 +70446,15 @@ "postfix": false, "binop": null }, - "start": 10843, - "end": 10844, + "start": 10880, + "end": 10881, "loc": { "start": { - "line": 254, + "line": 255, "column": 16 }, "end": { - "line": 254, + "line": 255, "column": 17 } } @@ -70086,15 +70471,15 @@ "postfix": false, "binop": null }, - "start": 10844, - "end": 10845, + "start": 10881, + "end": 10882, "loc": { "start": { - "line": 254, + "line": 255, "column": 17 }, "end": { - "line": 254, + "line": 255, "column": 18 } } @@ -70112,15 +70497,15 @@ "binop": null, "updateContext": null }, - "start": 10845, - "end": 10846, + "start": 10882, + "end": 10883, "loc": { "start": { - "line": 254, + "line": 255, "column": 18 }, "end": { - "line": 254, + "line": 255, "column": 19 } } @@ -70140,15 +70525,15 @@ "updateContext": null }, "value": "break", - "start": 10863, - "end": 10868, + "start": 10900, + "end": 10905, "loc": { "start": { - "line": 255, + "line": 256, "column": 16 }, "end": { - "line": 255, + "line": 256, "column": 21 } } @@ -70166,15 +70551,15 @@ "binop": null, "updateContext": null }, - "start": 10868, - "end": 10869, + "start": 10905, + "end": 10906, "loc": { "start": { - "line": 255, + "line": 256, "column": 21 }, "end": { - "line": 255, + "line": 256, "column": 22 } } @@ -70194,15 +70579,15 @@ "updateContext": null }, "value": "case", - "start": 10883, - "end": 10887, + "start": 10920, + "end": 10924, "loc": { "start": { - "line": 257, + "line": 258, "column": 12 }, "end": { - "line": 257, + "line": 258, "column": 16 } } @@ -70221,15 +70606,15 @@ "updateContext": null }, "value": "gltf", - "start": 10888, - "end": 10894, + "start": 10925, + "end": 10931, "loc": { "start": { - "line": 257, + "line": 258, "column": 17 }, "end": { - "line": 257, + "line": 258, "column": 23 } } @@ -70247,15 +70632,15 @@ "binop": null, "updateContext": null }, - "start": 10894, - "end": 10895, + "start": 10931, + "end": 10932, "loc": { "start": { - "line": 257, + "line": 258, "column": 23 }, "end": { - "line": 257, + "line": 258, "column": 24 } } @@ -70273,15 +70658,15 @@ "binop": null }, "value": "sourceData", - "start": 10912, - "end": 10922, + "start": 10949, + "end": 10959, "loc": { "start": { - "line": 258, + "line": 259, "column": 16 }, "end": { - "line": 258, + "line": 259, "column": 26 } } @@ -70300,15 +70685,15 @@ "updateContext": null }, "value": "=", - "start": 10923, - "end": 10924, + "start": 10960, + "end": 10961, "loc": { "start": { - "line": 258, + "line": 259, "column": 27 }, "end": { - "line": 258, + "line": 259, "column": 28 } } @@ -70326,15 +70711,15 @@ "binop": null }, "value": "toArrayBuffer", - "start": 10925, - "end": 10938, + "start": 10962, + "end": 10975, "loc": { "start": { - "line": 258, + "line": 259, "column": 29 }, "end": { - "line": 258, + "line": 259, "column": 42 } } @@ -70351,15 +70736,15 @@ "postfix": false, "binop": null }, - "start": 10938, - "end": 10939, + "start": 10975, + "end": 10976, "loc": { "start": { - "line": 258, + "line": 259, "column": 42 }, "end": { - "line": 258, + "line": 259, "column": 43 } } @@ -70377,15 +70762,15 @@ "binop": null }, "value": "sourceData", - "start": 10939, - "end": 10949, + "start": 10976, + "end": 10986, "loc": { "start": { - "line": 258, + "line": 259, "column": 43 }, "end": { - "line": 258, + "line": 259, "column": 53 } } @@ -70402,15 +70787,15 @@ "postfix": false, "binop": null }, - "start": 10949, - "end": 10950, + "start": 10986, + "end": 10987, "loc": { "start": { - "line": 258, + "line": 259, "column": 53 }, "end": { - "line": 258, + "line": 259, "column": 54 } } @@ -70428,15 +70813,15 @@ "binop": null, "updateContext": null }, - "start": 10950, - "end": 10951, + "start": 10987, + "end": 10988, "loc": { "start": { - "line": 258, + "line": 259, "column": 54 }, "end": { - "line": 258, + "line": 259, "column": 55 } } @@ -70456,15 +70841,15 @@ "updateContext": null }, "value": "const", - "start": 10968, - "end": 10973, + "start": 11005, + "end": 11010, "loc": { "start": { - "line": 259, + "line": 260, "column": 16 }, "end": { - "line": 259, + "line": 260, "column": 21 } } @@ -70482,15 +70867,15 @@ "binop": null }, "value": "gltfBasePath", - "start": 10974, - "end": 10986, + "start": 11011, + "end": 11023, "loc": { "start": { - "line": 259, + "line": 260, "column": 22 }, "end": { - "line": 259, + "line": 260, "column": 34 } } @@ -70509,15 +70894,15 @@ "updateContext": null }, "value": "=", - "start": 10987, - "end": 10988, + "start": 11024, + "end": 11025, "loc": { "start": { - "line": 259, + "line": 260, "column": 35 }, "end": { - "line": 259, + "line": 260, "column": 36 } } @@ -70535,15 +70920,15 @@ "binop": null }, "value": "source", - "start": 10989, - "end": 10995, + "start": 11026, + "end": 11032, "loc": { "start": { - "line": 259, + "line": 260, "column": 37 }, "end": { - "line": 259, + "line": 260, "column": 43 } } @@ -70561,15 +70946,15 @@ "binop": null, "updateContext": null }, - "start": 10996, - "end": 10997, + "start": 11033, + "end": 11034, "loc": { "start": { - "line": 259, + "line": 260, "column": 44 }, "end": { - "line": 259, + "line": 260, "column": 45 } } @@ -70587,15 +70972,15 @@ "binop": null }, "value": "path", - "start": 10998, - "end": 11002, + "start": 11035, + "end": 11039, "loc": { "start": { - "line": 259, + "line": 260, "column": 46 }, "end": { - "line": 259, + "line": 260, "column": 50 } } @@ -70613,15 +70998,15 @@ "binop": null, "updateContext": null }, - "start": 11002, - "end": 11003, + "start": 11039, + "end": 11040, "loc": { "start": { - "line": 259, + "line": 260, "column": 50 }, "end": { - "line": 259, + "line": 260, "column": 51 } } @@ -70639,15 +71024,15 @@ "binop": null }, "value": "dirname", - "start": 11003, - "end": 11010, + "start": 11040, + "end": 11047, "loc": { "start": { - "line": 259, + "line": 260, "column": 51 }, "end": { - "line": 259, + "line": 260, "column": 58 } } @@ -70664,15 +71049,15 @@ "postfix": false, "binop": null }, - "start": 11010, - "end": 11011, + "start": 11047, + "end": 11048, "loc": { "start": { - "line": 259, + "line": 260, "column": 58 }, "end": { - "line": 259, + "line": 260, "column": 59 } } @@ -70690,15 +71075,15 @@ "binop": null }, "value": "source", - "start": 11011, - "end": 11017, + "start": 11048, + "end": 11054, "loc": { "start": { - "line": 259, + "line": 260, "column": 59 }, "end": { - "line": 259, + "line": 260, "column": 65 } } @@ -70715,15 +71100,15 @@ "postfix": false, "binop": null }, - "start": 11017, - "end": 11018, + "start": 11054, + "end": 11055, "loc": { "start": { - "line": 259, + "line": 260, "column": 65 }, "end": { - "line": 259, + "line": 260, "column": 66 } } @@ -70741,15 +71126,15 @@ "binop": null, "updateContext": null }, - "start": 11019, - "end": 11020, + "start": 11056, + "end": 11057, "loc": { "start": { - "line": 259, + "line": 260, "column": 67 }, "end": { - "line": 259, + "line": 260, "column": 68 } } @@ -70768,15 +71153,15 @@ "updateContext": null }, "value": "", - "start": 11021, - "end": 11023, + "start": 11058, + "end": 11060, "loc": { "start": { - "line": 259, + "line": 260, "column": 69 }, "end": { - "line": 259, + "line": 260, "column": 71 } } @@ -70794,15 +71179,15 @@ "binop": null, "updateContext": null }, - "start": 11023, - "end": 11024, + "start": 11060, + "end": 11061, "loc": { "start": { - "line": 259, + "line": 260, "column": 71 }, "end": { - "line": 259, + "line": 260, "column": 72 } } @@ -70820,15 +71205,15 @@ "binop": null }, "value": "convert", - "start": 11041, - "end": 11048, + "start": 11078, + "end": 11085, "loc": { "start": { - "line": 260, + "line": 261, "column": 16 }, "end": { - "line": 260, + "line": 261, "column": 23 } } @@ -70845,15 +71230,15 @@ "postfix": false, "binop": null }, - "start": 11048, - "end": 11049, + "start": 11085, + "end": 11086, "loc": { "start": { - "line": 260, + "line": 261, "column": 23 }, "end": { - "line": 260, + "line": 261, "column": 24 } } @@ -70871,15 +71256,15 @@ "binop": null }, "value": "parseGLTFIntoXKTModel", - "start": 11049, - "end": 11070, + "start": 11086, + "end": 11107, "loc": { "start": { - "line": 260, + "line": 261, "column": 24 }, "end": { - "line": 260, + "line": 261, "column": 45 } } @@ -70897,15 +71282,15 @@ "binop": null, "updateContext": null }, - "start": 11070, - "end": 11071, + "start": 11107, + "end": 11108, "loc": { "start": { - "line": 260, + "line": 261, "column": 45 }, "end": { - "line": 260, + "line": 261, "column": 46 } } @@ -70922,15 +71307,15 @@ "postfix": false, "binop": null }, - "start": 11072, - "end": 11073, + "start": 11109, + "end": 11110, "loc": { "start": { - "line": 260, + "line": 261, "column": 47 }, "end": { - "line": 260, + "line": 261, "column": 48 } } @@ -70948,15 +71333,15 @@ "binop": null }, "value": "baseUri", - "start": 11094, - "end": 11101, + "start": 11131, + "end": 11138, "loc": { "start": { - "line": 261, + "line": 262, "column": 20 }, "end": { - "line": 261, + "line": 262, "column": 27 } } @@ -70974,15 +71359,15 @@ "binop": null, "updateContext": null }, - "start": 11101, - "end": 11102, + "start": 11138, + "end": 11139, "loc": { "start": { - "line": 261, + "line": 262, "column": 27 }, "end": { - "line": 261, + "line": 262, "column": 28 } } @@ -71000,15 +71385,15 @@ "binop": null }, "value": "gltfBasePath", - "start": 11103, - "end": 11115, + "start": 11140, + "end": 11152, "loc": { "start": { - "line": 261, + "line": 262, "column": 29 }, "end": { - "line": 261, + "line": 262, "column": 41 } } @@ -71026,15 +71411,15 @@ "binop": null, "updateContext": null }, - "start": 11115, - "end": 11116, + "start": 11152, + "end": 11153, "loc": { "start": { - "line": 261, + "line": 262, "column": 41 }, "end": { - "line": 261, + "line": 262, "column": 42 } } @@ -71052,15 +71437,15 @@ "binop": null }, "value": "data", - "start": 11137, - "end": 11141, + "start": 11174, + "end": 11178, "loc": { "start": { - "line": 262, + "line": 263, "column": 20 }, "end": { - "line": 262, + "line": 263, "column": 24 } } @@ -71078,15 +71463,15 @@ "binop": null, "updateContext": null }, - "start": 11141, - "end": 11142, + "start": 11178, + "end": 11179, "loc": { "start": { - "line": 262, + "line": 263, "column": 24 }, "end": { - "line": 262, + "line": 263, "column": 25 } } @@ -71104,68 +71489,16 @@ "binop": null }, "value": "sourceData", - "start": 11143, - "end": 11153, - "loc": { - "start": { - "line": 262, - "column": 26 - }, - "end": { - "line": 262, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11153, - "end": 11154, - "loc": { - "start": { - "line": 262, - "column": 36 - }, - "end": { - "line": 262, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "reuseGeometries", - "start": 11175, + "start": 11180, "end": 11190, "loc": { "start": { "line": 263, - "column": 20 + "column": 26 }, "end": { "line": 263, - "column": 35 + "column": 36 } } }, @@ -71187,11 +71520,11 @@ "loc": { "start": { "line": 263, - "column": 35 + "column": 36 }, "end": { "line": 263, - "column": 36 + "column": 37 } } }, @@ -71207,7 +71540,7 @@ "postfix": false, "binop": null }, - "value": "includeTextures", + "value": "reuseGeometries", "start": 11212, "end": 11227, "loc": { @@ -71223,7 +71556,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -71247,6 +71580,58 @@ } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includeTextures", + "start": 11249, + "end": 11264, + "loc": { + "start": { + "line": 265, + "column": 20 + }, + "end": { + "line": 265, + "column": 35 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11264, + "end": 11265, + "loc": { + "start": { + "line": 265, + "column": 35 + }, + "end": { + "line": 265, + "column": 36 + } + } + }, { "type": { "label": "true", @@ -71262,15 +71647,15 @@ "updateContext": null }, "value": "true", - "start": 11229, - "end": 11233, + "start": 11266, + "end": 11270, "loc": { "start": { - "line": 264, + "line": 265, "column": 37 }, "end": { - "line": 264, + "line": 265, "column": 41 } } @@ -71288,15 +71673,15 @@ "binop": null, "updateContext": null }, - "start": 11233, - "end": 11234, + "start": 11270, + "end": 11271, "loc": { "start": { - "line": 264, + "line": 265, "column": 41 }, "end": { - "line": 264, + "line": 265, "column": 42 } } @@ -71314,15 +71699,15 @@ "binop": null }, "value": "includeNormals", - "start": 11255, - "end": 11269, + "start": 11292, + "end": 11306, "loc": { "start": { - "line": 265, + "line": 266, "column": 20 }, "end": { - "line": 265, + "line": 266, "column": 34 } } @@ -71340,15 +71725,15 @@ "binop": null, "updateContext": null }, - "start": 11269, - "end": 11270, + "start": 11306, + "end": 11307, "loc": { "start": { - "line": 265, + "line": 266, "column": 34 }, "end": { - "line": 265, + "line": 266, "column": 35 } } @@ -71366,15 +71751,15 @@ "binop": null }, "value": "metaModelData", - "start": 11291, - "end": 11304, + "start": 11328, + "end": 11341, "loc": { "start": { - "line": 266, + "line": 267, "column": 20 }, "end": { - "line": 266, + "line": 267, "column": 33 } } @@ -71392,15 +71777,15 @@ "binop": null, "updateContext": null }, - "start": 11304, - "end": 11305, + "start": 11341, + "end": 11342, "loc": { "start": { - "line": 266, + "line": 267, "column": 33 }, "end": { - "line": 266, + "line": 267, "column": 34 } } @@ -71418,15 +71803,15 @@ "binop": null }, "value": "metaModelJSON", - "start": 11306, - "end": 11319, + "start": 11343, + "end": 11356, "loc": { "start": { - "line": 266, + "line": 267, "column": 35 }, "end": { - "line": 266, + "line": 267, "column": 48 } } @@ -71444,15 +71829,15 @@ "binop": null, "updateContext": null }, - "start": 11319, - "end": 11320, + "start": 11356, + "end": 11357, "loc": { "start": { - "line": 266, + "line": 267, "column": 48 }, "end": { - "line": 266, + "line": 267, "column": 49 } } @@ -71470,15 +71855,15 @@ "binop": null }, "value": "xktModel", - "start": 11341, - "end": 11349, + "start": 11378, + "end": 11386, "loc": { "start": { - "line": 267, + "line": 268, "column": 20 }, "end": { - "line": 267, + "line": 268, "column": 28 } } @@ -71496,15 +71881,15 @@ "binop": null, "updateContext": null }, - "start": 11349, - "end": 11350, + "start": 11386, + "end": 11387, "loc": { "start": { - "line": 267, + "line": 268, "column": 28 }, "end": { - "line": 267, + "line": 268, "column": 29 } } @@ -71522,15 +71907,15 @@ "binop": null }, "value": "stats", - "start": 11371, - "end": 11376, + "start": 11408, + "end": 11413, "loc": { "start": { - "line": 268, + "line": 269, "column": 20 }, "end": { - "line": 268, + "line": 269, "column": 25 } } @@ -71548,15 +71933,15 @@ "binop": null, "updateContext": null }, - "start": 11376, - "end": 11377, + "start": 11413, + "end": 11414, "loc": { "start": { - "line": 268, + "line": 269, "column": 25 }, "end": { - "line": 268, + "line": 269, "column": 26 } } @@ -71574,15 +71959,15 @@ "binop": null }, "value": "log", - "start": 11398, - "end": 11401, + "start": 11435, + "end": 11438, "loc": { "start": { - "line": 269, + "line": 270, "column": 20 }, "end": { - "line": 269, + "line": 270, "column": 23 } } @@ -71599,15 +71984,15 @@ "postfix": false, "binop": null }, - "start": 11418, - "end": 11419, + "start": 11455, + "end": 11456, "loc": { "start": { - "line": 270, + "line": 271, "column": 16 }, "end": { - "line": 270, + "line": 271, "column": 17 } } @@ -71624,15 +72009,15 @@ "postfix": false, "binop": null }, - "start": 11419, - "end": 11420, + "start": 11456, + "end": 11457, "loc": { "start": { - "line": 270, + "line": 271, "column": 17 }, "end": { - "line": 270, + "line": 271, "column": 18 } } @@ -71650,15 +72035,15 @@ "binop": null, "updateContext": null }, - "start": 11420, - "end": 11421, + "start": 11457, + "end": 11458, "loc": { "start": { - "line": 270, + "line": 271, "column": 18 }, "end": { - "line": 270, + "line": 271, "column": 19 } } @@ -71678,15 +72063,15 @@ "updateContext": null }, "value": "break", - "start": 11438, - "end": 11443, + "start": 11475, + "end": 11480, "loc": { "start": { - "line": 271, + "line": 272, "column": 16 }, "end": { - "line": 271, + "line": 272, "column": 21 } } @@ -71704,15 +72089,15 @@ "binop": null, "updateContext": null }, - "start": 11443, - "end": 11444, + "start": 11480, + "end": 11481, "loc": { "start": { - "line": 271, + "line": 272, "column": 21 }, "end": { - "line": 271, + "line": 272, "column": 22 } } @@ -71720,15 +72105,15 @@ { "type": "CommentLine", "value": " case \"gltf\":", - "start": 11458, - "end": 11473, + "start": 11495, + "end": 11510, "loc": { "start": { - "line": 273, + "line": 274, "column": 12 }, "end": { - "line": 273, + "line": 274, "column": 27 } } @@ -71736,15 +72121,15 @@ { "type": "CommentLine", "value": " const gltfJSON = JSON.parse(sourceData);", - "start": 11486, - "end": 11533, + "start": 11523, + "end": 11570, "loc": { "start": { - "line": 274, + "line": 275, "column": 12 }, "end": { - "line": 274, + "line": 275, "column": 59 } } @@ -71752,15 +72137,15 @@ { "type": "CommentLine", "value": " const gltfBasePath = source ? getBasePath(source) : \"\";", - "start": 11546, - "end": 11608, + "start": 11583, + "end": 11645, "loc": { "start": { - "line": 275, + "line": 276, "column": 12 }, "end": { - "line": 275, + "line": 276, "column": 74 } } @@ -71768,15 +72153,15 @@ { "type": "CommentLine", "value": " convert(parseGLTFIntoXKTModel, {", - "start": 11621, - "end": 11660, + "start": 11658, + "end": 11697, "loc": { "start": { - "line": 276, + "line": 277, "column": 12 }, "end": { - "line": 276, + "line": 277, "column": 51 } } @@ -71784,15 +72169,15 @@ { "type": "CommentLine", "value": " baseUri: gltfBasePath,", - "start": 11673, - "end": 11706, + "start": 11710, + "end": 11743, "loc": { "start": { - "line": 277, + "line": 278, "column": 12 }, "end": { - "line": 277, + "line": 278, "column": 45 } } @@ -71800,15 +72185,15 @@ { "type": "CommentLine", "value": " data: gltfJSON,", - "start": 11719, - "end": 11745, + "start": 11756, + "end": 11782, "loc": { "start": { - "line": 278, + "line": 279, "column": 12 }, "end": { - "line": 278, + "line": 279, "column": 38 } } @@ -71816,15 +72201,15 @@ { "type": "CommentLine", "value": " reuseGeometries,", - "start": 11758, - "end": 11785, + "start": 11795, + "end": 11822, "loc": { "start": { - "line": 279, + "line": 280, "column": 12 }, "end": { - "line": 279, + "line": 280, "column": 39 } } @@ -71832,15 +72217,15 @@ { "type": "CommentLine", "value": " includeTextures,", - "start": 11798, - "end": 11825, + "start": 11835, + "end": 11862, "loc": { "start": { - "line": 280, + "line": 281, "column": 12 }, "end": { - "line": 280, + "line": 281, "column": 39 } } @@ -71848,15 +72233,15 @@ { "type": "CommentLine", "value": " includeNormals,", - "start": 11838, - "end": 11864, + "start": 11875, + "end": 11901, "loc": { "start": { - "line": 281, + "line": 282, "column": 12 }, "end": { - "line": 281, + "line": 282, "column": 38 } } @@ -71864,15 +72249,15 @@ { "type": "CommentLine", "value": " metaModelData: metaModelJSON,", - "start": 11877, - "end": 11917, + "start": 11914, + "end": 11954, "loc": { "start": { - "line": 282, + "line": 283, "column": 12 }, "end": { - "line": 282, + "line": 283, "column": 52 } } @@ -71880,15 +72265,15 @@ { "type": "CommentLine", "value": " xktModel,", - "start": 11930, - "end": 11950, + "start": 11967, + "end": 11987, "loc": { "start": { - "line": 283, + "line": 284, "column": 12 }, "end": { - "line": 283, + "line": 284, "column": 32 } } @@ -71896,15 +72281,15 @@ { "type": "CommentLine", "value": " getAttachment: async (name) => {", - "start": 11963, - "end": 12006, + "start": 12000, + "end": 12043, "loc": { "start": { - "line": 284, + "line": 285, "column": 12 }, "end": { - "line": 284, + "line": 285, "column": 55 } } @@ -71912,15 +72297,15 @@ { "type": "CommentLine", "value": " const filePath = gltfBasePath + name;", - "start": 12019, - "end": 12071, + "start": 12056, + "end": 12108, "loc": { "start": { - "line": 285, + "line": 286, "column": 12 }, "end": { - "line": 285, + "line": 286, "column": 64 } } @@ -71928,15 +72313,15 @@ { "type": "CommentLine", "value": " log(`Reading attachment file: ${filePath}`);", - "start": 12084, - "end": 12143, + "start": 12121, + "end": 12180, "loc": { "start": { - "line": 286, + "line": 287, "column": 12 }, "end": { - "line": 286, + "line": 287, "column": 71 } } @@ -71944,15 +72329,15 @@ { "type": "CommentLine", "value": " const buffer = fs.readFileSync(filePath);", - "start": 12156, - "end": 12212, + "start": 12193, + "end": 12249, "loc": { "start": { - "line": 287, + "line": 288, "column": 12 }, "end": { - "line": 287, + "line": 288, "column": 68 } } @@ -71960,15 +72345,15 @@ { "type": "CommentLine", "value": " const arrayBuf = toArrayBuffer(buffer);", - "start": 12225, - "end": 12279, + "start": 12262, + "end": 12316, "loc": { "start": { - "line": 288, + "line": 289, "column": 12 }, "end": { - "line": 288, + "line": 289, "column": 66 } } @@ -71976,15 +72361,15 @@ { "type": "CommentLine", "value": " return arrayBuf;", - "start": 12292, - "end": 12323, + "start": 12329, + "end": 12360, "loc": { "start": { - "line": 289, + "line": 290, "column": 12 }, "end": { - "line": 289, + "line": 290, "column": 43 } } @@ -71992,15 +72377,15 @@ { "type": "CommentLine", "value": " },", - "start": 12336, - "end": 12349, + "start": 12373, + "end": 12386, "loc": { "start": { - "line": 290, + "line": 291, "column": 12 }, "end": { - "line": 290, + "line": 291, "column": 25 } } @@ -72008,15 +72393,15 @@ { "type": "CommentLine", "value": " stats,", - "start": 12362, - "end": 12379, + "start": 12399, + "end": 12416, "loc": { "start": { - "line": 291, + "line": 292, "column": 12 }, "end": { - "line": 291, + "line": 292, "column": 29 } } @@ -72024,15 +72409,15 @@ { "type": "CommentLine", "value": " log", - "start": 12392, - "end": 12406, + "start": 12429, + "end": 12443, "loc": { "start": { - "line": 292, + "line": 293, "column": 12 }, "end": { - "line": 292, + "line": 293, "column": 26 } } @@ -72040,15 +72425,15 @@ { "type": "CommentLine", "value": " });", - "start": 12419, - "end": 12429, + "start": 12456, + "end": 12466, "loc": { "start": { - "line": 293, + "line": 294, "column": 12 }, "end": { - "line": 293, + "line": 294, "column": 22 } } @@ -72056,15 +72441,15 @@ { "type": "CommentLine", "value": " break;", - "start": 12442, - "end": 12455, + "start": 12479, + "end": 12492, "loc": { "start": { - "line": 294, + "line": 295, "column": 12 }, "end": { - "line": 294, + "line": 295, "column": 25 } } @@ -72084,15 +72469,15 @@ "updateContext": null }, "value": "case", - "start": 12469, - "end": 12473, + "start": 12506, + "end": 12510, "loc": { "start": { - "line": 296, + "line": 297, "column": 12 }, "end": { - "line": 296, + "line": 297, "column": 16 } } @@ -72111,15 +72496,15 @@ "updateContext": null }, "value": "ifc", - "start": 12474, - "end": 12479, + "start": 12511, + "end": 12516, "loc": { "start": { - "line": 296, + "line": 297, "column": 17 }, "end": { - "line": 296, + "line": 297, "column": 22 } } @@ -72137,15 +72522,15 @@ "binop": null, "updateContext": null }, - "start": 12479, - "end": 12480, + "start": 12516, + "end": 12517, "loc": { "start": { - "line": 296, + "line": 297, "column": 22 }, "end": { - "line": 296, + "line": 297, "column": 23 } } @@ -72163,15 +72548,15 @@ "binop": null }, "value": "convert", - "start": 12497, - "end": 12504, + "start": 12534, + "end": 12541, "loc": { "start": { - "line": 297, + "line": 298, "column": 16 }, "end": { - "line": 297, + "line": 298, "column": 23 } } @@ -72188,15 +72573,15 @@ "postfix": false, "binop": null }, - "start": 12504, - "end": 12505, + "start": 12541, + "end": 12542, "loc": { "start": { - "line": 297, + "line": 298, "column": 23 }, "end": { - "line": 297, + "line": 298, "column": 24 } } @@ -72214,15 +72599,15 @@ "binop": null }, "value": "parseIFCIntoXKTModel", - "start": 12505, - "end": 12525, + "start": 12542, + "end": 12562, "loc": { "start": { - "line": 297, + "line": 298, "column": 24 }, "end": { - "line": 297, + "line": 298, "column": 44 } } @@ -72240,15 +72625,15 @@ "binop": null, "updateContext": null }, - "start": 12525, - "end": 12526, + "start": 12562, + "end": 12563, "loc": { "start": { - "line": 297, + "line": 298, "column": 44 }, "end": { - "line": 297, + "line": 298, "column": 45 } } @@ -72265,15 +72650,15 @@ "postfix": false, "binop": null }, - "start": 12527, - "end": 12528, + "start": 12564, + "end": 12565, "loc": { "start": { - "line": 297, + "line": 298, "column": 46 }, "end": { - "line": 297, + "line": 298, "column": 47 } } @@ -72291,15 +72676,15 @@ "binop": null }, "value": "WebIFC", - "start": 12549, - "end": 12555, + "start": 12586, + "end": 12592, "loc": { "start": { - "line": 298, + "line": 299, "column": 20 }, "end": { - "line": 298, + "line": 299, "column": 26 } } @@ -72317,15 +72702,15 @@ "binop": null, "updateContext": null }, - "start": 12555, - "end": 12556, + "start": 12592, + "end": 12593, "loc": { "start": { - "line": 298, + "line": 299, "column": 26 }, "end": { - "line": 298, + "line": 299, "column": 27 } } @@ -72343,15 +72728,15 @@ "binop": null }, "value": "data", - "start": 12577, - "end": 12581, + "start": 12614, + "end": 12618, "loc": { "start": { - "line": 299, + "line": 300, "column": 20 }, "end": { - "line": 299, + "line": 300, "column": 24 } } @@ -72369,15 +72754,15 @@ "binop": null, "updateContext": null }, - "start": 12581, - "end": 12582, + "start": 12618, + "end": 12619, "loc": { "start": { - "line": 299, + "line": 300, "column": 24 }, "end": { - "line": 299, + "line": 300, "column": 25 } } @@ -72395,15 +72780,15 @@ "binop": null }, "value": "sourceData", - "start": 12583, - "end": 12593, + "start": 12620, + "end": 12630, "loc": { "start": { - "line": 299, + "line": 300, "column": 26 }, "end": { - "line": 299, + "line": 300, "column": 36 } } @@ -72421,15 +72806,15 @@ "binop": null, "updateContext": null }, - "start": 12593, - "end": 12594, + "start": 12630, + "end": 12631, "loc": { "start": { - "line": 299, + "line": 300, "column": 36 }, "end": { - "line": 299, + "line": 300, "column": 37 } } @@ -72447,60 +72832,8 @@ "binop": null }, "value": "xktModel", - "start": 12615, - "end": 12623, - "loc": { - "start": { - "line": 300, - "column": 20 - }, - "end": { - "line": 300, - "column": 28 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12623, - "end": 12624, - "loc": { - "start": { - "line": 300, - "column": 28 - }, - "end": { - "line": 300, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "wasmPath", - "start": 12645, - "end": 12653, + "start": 12652, + "end": 12660, "loc": { "start": { "line": 301, @@ -72514,7 +72847,7 @@ }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -72525,8 +72858,8 @@ "binop": null, "updateContext": null }, - "start": 12653, - "end": 12654, + "start": 12660, + "end": 12661, "loc": { "start": { "line": 301, @@ -72538,6 +72871,58 @@ } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wasmPath", + "start": 12682, + "end": 12690, + "loc": { + "start": { + "line": 302, + "column": 20 + }, + "end": { + "line": 302, + "column": 28 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12690, + "end": 12691, + "loc": { + "start": { + "line": 302, + "column": 28 + }, + "end": { + "line": 302, + "column": 29 + } + } + }, { "type": { "label": "string", @@ -72552,15 +72937,15 @@ "updateContext": null }, "value": "./", - "start": 12655, - "end": 12659, + "start": 12692, + "end": 12696, "loc": { "start": { - "line": 301, + "line": 302, "column": 30 }, "end": { - "line": 301, + "line": 302, "column": 34 } } @@ -72578,15 +72963,15 @@ "binop": null, "updateContext": null }, - "start": 12659, - "end": 12660, + "start": 12696, + "end": 12697, "loc": { "start": { - "line": 301, + "line": 302, "column": 34 }, "end": { - "line": 301, + "line": 302, "column": 35 } } @@ -72604,15 +72989,15 @@ "binop": null }, "value": "includeTypes", - "start": 12681, - "end": 12693, + "start": 12718, + "end": 12730, "loc": { "start": { - "line": 302, + "line": 303, "column": 20 }, "end": { - "line": 302, + "line": 303, "column": 32 } } @@ -72630,15 +73015,15 @@ "binop": null, "updateContext": null }, - "start": 12693, - "end": 12694, + "start": 12730, + "end": 12731, "loc": { "start": { - "line": 302, + "line": 303, "column": 32 }, "end": { - "line": 302, + "line": 303, "column": 33 } } @@ -72656,15 +73041,15 @@ "binop": null }, "value": "excludeTypes", - "start": 12715, - "end": 12727, + "start": 12752, + "end": 12764, "loc": { "start": { - "line": 303, + "line": 304, "column": 20 }, "end": { - "line": 303, + "line": 304, "column": 32 } } @@ -72682,15 +73067,15 @@ "binop": null, "updateContext": null }, - "start": 12727, - "end": 12728, + "start": 12764, + "end": 12765, "loc": { "start": { - "line": 303, + "line": 304, "column": 32 }, "end": { - "line": 303, + "line": 304, "column": 33 } } @@ -72708,15 +73093,15 @@ "binop": null }, "value": "stats", - "start": 12749, - "end": 12754, + "start": 12786, + "end": 12791, "loc": { "start": { - "line": 304, + "line": 305, "column": 20 }, "end": { - "line": 304, + "line": 305, "column": 25 } } @@ -72734,15 +73119,15 @@ "binop": null, "updateContext": null }, - "start": 12754, - "end": 12755, + "start": 12791, + "end": 12792, "loc": { "start": { - "line": 304, + "line": 305, "column": 25 }, "end": { - "line": 304, + "line": 305, "column": 26 } } @@ -72760,15 +73145,15 @@ "binop": null }, "value": "log", - "start": 12776, - "end": 12779, + "start": 12813, + "end": 12816, "loc": { "start": { - "line": 305, + "line": 306, "column": 20 }, "end": { - "line": 305, + "line": 306, "column": 23 } } @@ -72785,15 +73170,15 @@ "postfix": false, "binop": null }, - "start": 12796, - "end": 12797, + "start": 12833, + "end": 12834, "loc": { "start": { - "line": 306, + "line": 307, "column": 16 }, "end": { - "line": 306, + "line": 307, "column": 17 } } @@ -72810,15 +73195,15 @@ "postfix": false, "binop": null }, - "start": 12797, - "end": 12798, + "start": 12834, + "end": 12835, "loc": { "start": { - "line": 306, + "line": 307, "column": 17 }, "end": { - "line": 306, + "line": 307, "column": 18 } } @@ -72836,15 +73221,15 @@ "binop": null, "updateContext": null }, - "start": 12798, - "end": 12799, + "start": 12835, + "end": 12836, "loc": { "start": { - "line": 306, + "line": 307, "column": 18 }, "end": { - "line": 306, + "line": 307, "column": 19 } } @@ -72864,15 +73249,15 @@ "updateContext": null }, "value": "break", - "start": 12816, - "end": 12821, + "start": 12853, + "end": 12858, "loc": { "start": { - "line": 307, + "line": 308, "column": 16 }, "end": { - "line": 307, + "line": 308, "column": 21 } } @@ -72890,15 +73275,15 @@ "binop": null, "updateContext": null }, - "start": 12821, - "end": 12822, + "start": 12858, + "end": 12859, "loc": { "start": { - "line": 307, + "line": 308, "column": 21 }, "end": { - "line": 307, + "line": 308, "column": 22 } } @@ -72918,15 +73303,15 @@ "updateContext": null }, "value": "case", - "start": 12836, - "end": 12840, + "start": 12873, + "end": 12877, "loc": { "start": { - "line": 309, + "line": 310, "column": 12 }, "end": { - "line": 309, + "line": 310, "column": 16 } } @@ -72945,15 +73330,15 @@ "updateContext": null }, "value": "laz", - "start": 12841, - "end": 12846, + "start": 12878, + "end": 12883, "loc": { "start": { - "line": 309, + "line": 310, "column": 17 }, "end": { - "line": 309, + "line": 310, "column": 22 } } @@ -72971,15 +73356,15 @@ "binop": null, "updateContext": null }, - "start": 12846, - "end": 12847, + "start": 12883, + "end": 12884, "loc": { "start": { - "line": 309, + "line": 310, "column": 22 }, "end": { - "line": 309, + "line": 310, "column": 23 } } @@ -72997,15 +73382,15 @@ "binop": null }, "value": "convert", - "start": 12864, - "end": 12871, + "start": 12901, + "end": 12908, "loc": { "start": { - "line": 310, + "line": 311, "column": 16 }, "end": { - "line": 310, + "line": 311, "column": 23 } } @@ -73022,15 +73407,15 @@ "postfix": false, "binop": null }, - "start": 12871, - "end": 12872, + "start": 12908, + "end": 12909, "loc": { "start": { - "line": 310, + "line": 311, "column": 23 }, "end": { - "line": 310, + "line": 311, "column": 24 } } @@ -73048,15 +73433,15 @@ "binop": null }, "value": "parseLASIntoXKTModel", - "start": 12872, - "end": 12892, + "start": 12909, + "end": 12929, "loc": { "start": { - "line": 310, + "line": 311, "column": 24 }, "end": { - "line": 310, + "line": 311, "column": 44 } } @@ -73074,15 +73459,15 @@ "binop": null, "updateContext": null }, - "start": 12892, - "end": 12893, + "start": 12929, + "end": 12930, "loc": { "start": { - "line": 310, + "line": 311, "column": 44 }, "end": { - "line": 310, + "line": 311, "column": 45 } } @@ -73099,15 +73484,15 @@ "postfix": false, "binop": null }, - "start": 12894, - "end": 12895, + "start": 12931, + "end": 12932, "loc": { "start": { - "line": 310, + "line": 311, "column": 46 }, "end": { - "line": 310, + "line": 311, "column": 47 } } @@ -73125,15 +73510,15 @@ "binop": null }, "value": "data", - "start": 12916, - "end": 12920, + "start": 12953, + "end": 12957, "loc": { "start": { - "line": 311, + "line": 312, "column": 20 }, "end": { - "line": 311, + "line": 312, "column": 24 } } @@ -73151,15 +73536,15 @@ "binop": null, "updateContext": null }, - "start": 12920, - "end": 12921, + "start": 12957, + "end": 12958, "loc": { "start": { - "line": 311, + "line": 312, "column": 24 }, "end": { - "line": 311, + "line": 312, "column": 25 } } @@ -73177,15 +73562,15 @@ "binop": null }, "value": "sourceData", - "start": 12922, - "end": 12932, + "start": 12959, + "end": 12969, "loc": { "start": { - "line": 311, + "line": 312, "column": 26 }, "end": { - "line": 311, + "line": 312, "column": 36 } } @@ -73203,15 +73588,15 @@ "binop": null, "updateContext": null }, - "start": 12932, - "end": 12933, + "start": 12969, + "end": 12970, "loc": { "start": { - "line": 311, + "line": 312, "column": 36 }, "end": { - "line": 311, + "line": 312, "column": 37 } } @@ -73229,15 +73614,15 @@ "binop": null }, "value": "xktModel", - "start": 12954, - "end": 12962, + "start": 12991, + "end": 12999, "loc": { "start": { - "line": 312, + "line": 313, "column": 20 }, "end": { - "line": 312, + "line": 313, "column": 28 } } @@ -73255,15 +73640,15 @@ "binop": null, "updateContext": null }, - "start": 12962, - "end": 12963, + "start": 12999, + "end": 13000, "loc": { "start": { - "line": 312, + "line": 313, "column": 28 }, "end": { - "line": 312, + "line": 313, "column": 29 } } @@ -73281,15 +73666,15 @@ "binop": null }, "value": "stats", - "start": 12984, - "end": 12989, + "start": 13021, + "end": 13026, "loc": { "start": { - "line": 313, + "line": 314, "column": 20 }, "end": { - "line": 313, + "line": 314, "column": 25 } } @@ -73307,15 +73692,15 @@ "binop": null, "updateContext": null }, - "start": 12989, - "end": 12990, + "start": 13026, + "end": 13027, "loc": { "start": { - "line": 313, + "line": 314, "column": 25 }, "end": { - "line": 313, + "line": 314, "column": 26 } } @@ -73333,15 +73718,15 @@ "binop": null }, "value": "fp64", - "start": 13011, - "end": 13015, + "start": 13048, + "end": 13052, "loc": { "start": { - "line": 314, + "line": 315, "column": 20 }, "end": { - "line": 314, + "line": 315, "column": 24 } } @@ -73359,15 +73744,15 @@ "binop": null, "updateContext": null }, - "start": 13015, - "end": 13016, + "start": 13052, + "end": 13053, "loc": { "start": { - "line": 314, + "line": 315, "column": 24 }, "end": { - "line": 314, + "line": 315, "column": 25 } } @@ -73385,15 +73770,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 13017, - "end": 13032, + "start": 13054, + "end": 13069, "loc": { "start": { - "line": 314, + "line": 315, "column": 26 }, "end": { - "line": 314, + "line": 315, "column": 41 } } @@ -73411,15 +73796,15 @@ "binop": null, "updateContext": null }, - "start": 13032, - "end": 13033, + "start": 13069, + "end": 13070, "loc": { "start": { - "line": 314, + "line": 315, "column": 41 }, "end": { - "line": 314, + "line": 315, "column": 42 } } @@ -73437,15 +73822,15 @@ "binop": null }, "value": "fp64", - "start": 13033, - "end": 13037, + "start": 13070, + "end": 13074, "loc": { "start": { - "line": 314, + "line": 315, "column": 42 }, "end": { - "line": 314, + "line": 315, "column": 46 } } @@ -73463,15 +73848,15 @@ "binop": null, "updateContext": null }, - "start": 13037, - "end": 13038, + "start": 13074, + "end": 13075, "loc": { "start": { - "line": 314, + "line": 315, "column": 46 }, "end": { - "line": 314, + "line": 315, "column": 47 } } @@ -73489,15 +73874,15 @@ "binop": null }, "value": "colorDepth", - "start": 13059, - "end": 13069, + "start": 13096, + "end": 13106, "loc": { "start": { - "line": 315, + "line": 316, "column": 20 }, "end": { - "line": 315, + "line": 316, "column": 30 } } @@ -73515,15 +73900,15 @@ "binop": null, "updateContext": null }, - "start": 13069, - "end": 13070, + "start": 13106, + "end": 13107, "loc": { "start": { - "line": 315, + "line": 316, "column": 30 }, "end": { - "line": 315, + "line": 316, "column": 31 } } @@ -73541,15 +73926,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 13071, - "end": 13086, + "start": 13108, + "end": 13123, "loc": { "start": { - "line": 315, + "line": 316, "column": 32 }, "end": { - "line": 315, + "line": 316, "column": 47 } } @@ -73567,15 +73952,15 @@ "binop": null, "updateContext": null }, - "start": 13086, - "end": 13087, + "start": 13123, + "end": 13124, "loc": { "start": { - "line": 315, + "line": 316, "column": 47 }, "end": { - "line": 315, + "line": 316, "column": 48 } } @@ -73593,15 +73978,15 @@ "binop": null }, "value": "colorDepth", - "start": 13087, - "end": 13097, + "start": 13124, + "end": 13134, "loc": { "start": { - "line": 315, + "line": 316, "column": 48 }, "end": { - "line": 315, + "line": 316, "column": 58 } } @@ -73619,15 +74004,15 @@ "binop": null, "updateContext": null }, - "start": 13097, - "end": 13098, + "start": 13134, + "end": 13135, "loc": { "start": { - "line": 315, + "line": 316, "column": 58 }, "end": { - "line": 315, + "line": 316, "column": 59 } } @@ -73645,15 +74030,15 @@ "binop": null }, "value": "center", - "start": 13119, - "end": 13125, + "start": 13156, + "end": 13162, "loc": { "start": { - "line": 316, + "line": 317, "column": 20 }, "end": { - "line": 316, + "line": 317, "column": 26 } } @@ -73671,15 +74056,15 @@ "binop": null, "updateContext": null }, - "start": 13125, - "end": 13126, + "start": 13162, + "end": 13163, "loc": { "start": { - "line": 316, + "line": 317, "column": 26 }, "end": { - "line": 316, + "line": 317, "column": 27 } } @@ -73697,15 +74082,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 13127, - "end": 13142, + "start": 13164, + "end": 13179, "loc": { "start": { - "line": 316, + "line": 317, "column": 28 }, "end": { - "line": 316, + "line": 317, "column": 43 } } @@ -73723,15 +74108,15 @@ "binop": null, "updateContext": null }, - "start": 13142, - "end": 13143, + "start": 13179, + "end": 13180, "loc": { "start": { - "line": 316, + "line": 317, "column": 43 }, "end": { - "line": 316, + "line": 317, "column": 44 } } @@ -73749,15 +74134,15 @@ "binop": null }, "value": "center", - "start": 13143, - "end": 13149, + "start": 13180, + "end": 13186, "loc": { "start": { - "line": 316, + "line": 317, "column": 44 }, "end": { - "line": 316, + "line": 317, "column": 50 } } @@ -73775,15 +74160,15 @@ "binop": null, "updateContext": null }, - "start": 13149, - "end": 13150, + "start": 13186, + "end": 13187, "loc": { "start": { - "line": 316, + "line": 317, "column": 50 }, "end": { - "line": 316, + "line": 317, "column": 51 } } @@ -73801,15 +74186,15 @@ "binop": null }, "value": "transform", - "start": 13171, - "end": 13180, + "start": 13208, + "end": 13217, "loc": { "start": { - "line": 317, + "line": 318, "column": 20 }, "end": { - "line": 317, + "line": 318, "column": 29 } } @@ -73827,15 +74212,15 @@ "binop": null, "updateContext": null }, - "start": 13180, - "end": 13181, + "start": 13217, + "end": 13218, "loc": { "start": { - "line": 317, + "line": 318, "column": 29 }, "end": { - "line": 317, + "line": 318, "column": 30 } } @@ -73853,15 +74238,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 13182, - "end": 13197, + "start": 13219, + "end": 13234, "loc": { "start": { - "line": 317, + "line": 318, "column": 31 }, "end": { - "line": 317, + "line": 318, "column": 46 } } @@ -73879,15 +74264,15 @@ "binop": null, "updateContext": null }, - "start": 13197, - "end": 13198, + "start": 13234, + "end": 13235, "loc": { "start": { - "line": 317, + "line": 318, "column": 46 }, "end": { - "line": 317, + "line": 318, "column": 47 } } @@ -73905,15 +74290,15 @@ "binop": null }, "value": "transform", - "start": 13198, - "end": 13207, + "start": 13235, + "end": 13244, "loc": { "start": { - "line": 317, + "line": 318, "column": 47 }, "end": { - "line": 317, + "line": 318, "column": 56 } } @@ -73931,15 +74316,15 @@ "binop": null, "updateContext": null }, - "start": 13207, - "end": 13208, + "start": 13244, + "end": 13245, "loc": { "start": { - "line": 317, + "line": 318, "column": 56 }, "end": { - "line": 317, + "line": 318, "column": 57 } } @@ -73957,15 +74342,15 @@ "binop": null }, "value": "skip", - "start": 13229, - "end": 13233, + "start": 13266, + "end": 13270, "loc": { "start": { - "line": 318, + "line": 319, "column": 20 }, "end": { - "line": 318, + "line": 319, "column": 24 } } @@ -73983,15 +74368,15 @@ "binop": null, "updateContext": null }, - "start": 13233, - "end": 13234, + "start": 13270, + "end": 13271, "loc": { "start": { - "line": 318, + "line": 319, "column": 24 }, "end": { - "line": 318, + "line": 319, "column": 25 } } @@ -74009,15 +74394,15 @@ "binop": null }, "value": "overrideOption", - "start": 13235, - "end": 13249, + "start": 13272, + "end": 13286, "loc": { "start": { - "line": 318, + "line": 319, "column": 26 }, "end": { - "line": 318, + "line": 319, "column": 40 } } @@ -74034,15 +74419,15 @@ "postfix": false, "binop": null }, - "start": 13249, - "end": 13250, + "start": 13286, + "end": 13287, "loc": { "start": { - "line": 318, + "line": 319, "column": 40 }, "end": { - "line": 318, + "line": 319, "column": 41 } } @@ -74060,15 +74445,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 13250, - "end": 13265, + "start": 13287, + "end": 13302, "loc": { "start": { - "line": 318, + "line": 319, "column": 41 }, "end": { - "line": 318, + "line": 319, "column": 56 } } @@ -74086,15 +74471,15 @@ "binop": null, "updateContext": null }, - "start": 13265, - "end": 13266, + "start": 13302, + "end": 13303, "loc": { "start": { - "line": 318, + "line": 319, "column": 56 }, "end": { - "line": 318, + "line": 319, "column": 57 } } @@ -74112,15 +74497,15 @@ "binop": null }, "value": "skip", - "start": 13266, - "end": 13270, + "start": 13303, + "end": 13307, "loc": { "start": { - "line": 318, + "line": 319, "column": 57 }, "end": { - "line": 318, + "line": 319, "column": 61 } } @@ -74138,15 +74523,15 @@ "binop": null, "updateContext": null }, - "start": 13270, - "end": 13271, + "start": 13307, + "end": 13308, "loc": { "start": { - "line": 318, + "line": 319, "column": 61 }, "end": { - "line": 318, + "line": 319, "column": 62 } } @@ -74165,15 +74550,15 @@ "updateContext": null }, "value": 1, - "start": 13272, - "end": 13273, + "start": 13309, + "end": 13310, "loc": { "start": { - "line": 318, + "line": 319, "column": 63 }, "end": { - "line": 318, + "line": 319, "column": 64 } } @@ -74190,15 +74575,15 @@ "postfix": false, "binop": null }, - "start": 13273, - "end": 13274, + "start": 13310, + "end": 13311, "loc": { "start": { - "line": 318, + "line": 319, "column": 64 }, "end": { - "line": 318, + "line": 319, "column": 65 } } @@ -74216,15 +74601,15 @@ "binop": null, "updateContext": null }, - "start": 13274, - "end": 13275, + "start": 13311, + "end": 13312, "loc": { "start": { - "line": 318, + "line": 319, "column": 65 }, "end": { - "line": 318, + "line": 319, "column": 66 } } @@ -74242,15 +74627,15 @@ "binop": null }, "value": "log", - "start": 13296, - "end": 13299, + "start": 13333, + "end": 13336, "loc": { "start": { - "line": 319, + "line": 320, "column": 20 }, "end": { - "line": 319, + "line": 320, "column": 23 } } @@ -74267,15 +74652,15 @@ "postfix": false, "binop": null }, - "start": 13316, - "end": 13317, + "start": 13353, + "end": 13354, "loc": { "start": { - "line": 320, + "line": 321, "column": 16 }, "end": { - "line": 320, + "line": 321, "column": 17 } } @@ -74292,15 +74677,15 @@ "postfix": false, "binop": null }, - "start": 13317, - "end": 13318, + "start": 13354, + "end": 13355, "loc": { "start": { - "line": 320, + "line": 321, "column": 17 }, "end": { - "line": 320, + "line": 321, "column": 18 } } @@ -74318,15 +74703,15 @@ "binop": null, "updateContext": null }, - "start": 13318, - "end": 13319, + "start": 13355, + "end": 13356, "loc": { "start": { - "line": 320, + "line": 321, "column": 18 }, "end": { - "line": 320, + "line": 321, "column": 19 } } @@ -74346,15 +74731,15 @@ "updateContext": null }, "value": "break", - "start": 13336, - "end": 13341, + "start": 13373, + "end": 13378, "loc": { "start": { - "line": 321, + "line": 322, "column": 16 }, "end": { - "line": 321, + "line": 322, "column": 21 } } @@ -74372,15 +74757,15 @@ "binop": null, "updateContext": null }, - "start": 13341, - "end": 13342, + "start": 13378, + "end": 13379, "loc": { "start": { - "line": 321, + "line": 322, "column": 21 }, "end": { - "line": 321, + "line": 322, "column": 22 } } @@ -74400,15 +74785,15 @@ "updateContext": null }, "value": "case", - "start": 13356, - "end": 13360, + "start": 13393, + "end": 13397, "loc": { "start": { - "line": 323, + "line": 324, "column": 12 }, "end": { - "line": 323, + "line": 324, "column": 16 } } @@ -74427,15 +74812,15 @@ "updateContext": null }, "value": "las", - "start": 13361, - "end": 13366, + "start": 13398, + "end": 13403, "loc": { "start": { - "line": 323, + "line": 324, "column": 17 }, "end": { - "line": 323, + "line": 324, "column": 22 } } @@ -74453,15 +74838,15 @@ "binop": null, "updateContext": null }, - "start": 13366, - "end": 13367, + "start": 13403, + "end": 13404, "loc": { "start": { - "line": 323, + "line": 324, "column": 22 }, "end": { - "line": 323, + "line": 324, "column": 23 } } @@ -74479,15 +74864,15 @@ "binop": null }, "value": "convert", - "start": 13384, - "end": 13391, + "start": 13421, + "end": 13428, "loc": { "start": { - "line": 324, + "line": 325, "column": 16 }, "end": { - "line": 324, + "line": 325, "column": 23 } } @@ -74504,15 +74889,15 @@ "postfix": false, "binop": null }, - "start": 13391, - "end": 13392, + "start": 13428, + "end": 13429, "loc": { "start": { - "line": 324, + "line": 325, "column": 23 }, "end": { - "line": 324, + "line": 325, "column": 24 } } @@ -74530,15 +74915,15 @@ "binop": null }, "value": "parseLASIntoXKTModel", - "start": 13392, - "end": 13412, + "start": 13429, + "end": 13449, "loc": { "start": { - "line": 324, + "line": 325, "column": 24 }, "end": { - "line": 324, + "line": 325, "column": 44 } } @@ -74556,15 +74941,15 @@ "binop": null, "updateContext": null }, - "start": 13412, - "end": 13413, + "start": 13449, + "end": 13450, "loc": { "start": { - "line": 324, + "line": 325, "column": 44 }, "end": { - "line": 324, + "line": 325, "column": 45 } } @@ -74581,15 +74966,15 @@ "postfix": false, "binop": null }, - "start": 13414, - "end": 13415, + "start": 13451, + "end": 13452, "loc": { "start": { - "line": 324, + "line": 325, "column": 46 }, "end": { - "line": 324, + "line": 325, "column": 47 } } @@ -74607,15 +74992,15 @@ "binop": null }, "value": "data", - "start": 13436, - "end": 13440, + "start": 13473, + "end": 13477, "loc": { "start": { - "line": 325, + "line": 326, "column": 20 }, "end": { - "line": 325, + "line": 326, "column": 24 } } @@ -74633,15 +75018,15 @@ "binop": null, "updateContext": null }, - "start": 13440, - "end": 13441, + "start": 13477, + "end": 13478, "loc": { "start": { - "line": 325, + "line": 326, "column": 24 }, "end": { - "line": 325, + "line": 326, "column": 25 } } @@ -74659,15 +75044,15 @@ "binop": null }, "value": "sourceData", - "start": 13442, - "end": 13452, + "start": 13479, + "end": 13489, "loc": { "start": { - "line": 325, + "line": 326, "column": 26 }, "end": { - "line": 325, + "line": 326, "column": 36 } } @@ -74685,15 +75070,15 @@ "binop": null, "updateContext": null }, - "start": 13452, - "end": 13453, + "start": 13489, + "end": 13490, "loc": { "start": { - "line": 325, + "line": 326, "column": 36 }, "end": { - "line": 325, + "line": 326, "column": 37 } } @@ -74711,15 +75096,15 @@ "binop": null }, "value": "xktModel", - "start": 13474, - "end": 13482, + "start": 13511, + "end": 13519, "loc": { "start": { - "line": 326, + "line": 327, "column": 20 }, "end": { - "line": 326, + "line": 327, "column": 28 } } @@ -74737,15 +75122,15 @@ "binop": null, "updateContext": null }, - "start": 13482, - "end": 13483, + "start": 13519, + "end": 13520, "loc": { "start": { - "line": 326, + "line": 327, "column": 28 }, "end": { - "line": 326, + "line": 327, "column": 29 } } @@ -74763,15 +75148,15 @@ "binop": null }, "value": "stats", - "start": 13504, - "end": 13509, + "start": 13541, + "end": 13546, "loc": { "start": { - "line": 327, + "line": 328, "column": 20 }, "end": { - "line": 327, + "line": 328, "column": 25 } } @@ -74789,15 +75174,15 @@ "binop": null, "updateContext": null }, - "start": 13509, - "end": 13510, + "start": 13546, + "end": 13547, "loc": { "start": { - "line": 327, + "line": 328, "column": 25 }, "end": { - "line": 327, + "line": 328, "column": 26 } } @@ -74815,15 +75200,15 @@ "binop": null }, "value": "fp64", - "start": 13531, - "end": 13535, + "start": 13568, + "end": 13572, "loc": { "start": { - "line": 328, + "line": 329, "column": 20 }, "end": { - "line": 328, + "line": 329, "column": 24 } } @@ -74841,15 +75226,15 @@ "binop": null, "updateContext": null }, - "start": 13535, - "end": 13536, + "start": 13572, + "end": 13573, "loc": { "start": { - "line": 328, + "line": 329, "column": 24 }, "end": { - "line": 328, + "line": 329, "column": 25 } } @@ -74867,15 +75252,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 13537, - "end": 13552, + "start": 13574, + "end": 13589, "loc": { "start": { - "line": 328, + "line": 329, "column": 26 }, "end": { - "line": 328, + "line": 329, "column": 41 } } @@ -74893,15 +75278,15 @@ "binop": null, "updateContext": null }, - "start": 13552, - "end": 13553, + "start": 13589, + "end": 13590, "loc": { "start": { - "line": 328, + "line": 329, "column": 41 }, "end": { - "line": 328, + "line": 329, "column": 42 } } @@ -74919,15 +75304,15 @@ "binop": null }, "value": "fp64", - "start": 13553, - "end": 13557, + "start": 13590, + "end": 13594, "loc": { "start": { - "line": 328, + "line": 329, "column": 42 }, "end": { - "line": 328, + "line": 329, "column": 46 } } @@ -74945,15 +75330,15 @@ "binop": null, "updateContext": null }, - "start": 13557, - "end": 13558, + "start": 13594, + "end": 13595, "loc": { "start": { - "line": 328, + "line": 329, "column": 46 }, "end": { - "line": 328, + "line": 329, "column": 47 } } @@ -74971,15 +75356,15 @@ "binop": null }, "value": "colorDepth", - "start": 13579, - "end": 13589, + "start": 13616, + "end": 13626, "loc": { "start": { - "line": 329, + "line": 330, "column": 20 }, "end": { - "line": 329, + "line": 330, "column": 30 } } @@ -74997,15 +75382,15 @@ "binop": null, "updateContext": null }, - "start": 13589, - "end": 13590, + "start": 13626, + "end": 13627, "loc": { "start": { - "line": 329, + "line": 330, "column": 30 }, "end": { - "line": 329, + "line": 330, "column": 31 } } @@ -75023,15 +75408,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 13591, - "end": 13606, + "start": 13628, + "end": 13643, "loc": { "start": { - "line": 329, + "line": 330, "column": 32 }, "end": { - "line": 329, + "line": 330, "column": 47 } } @@ -75049,15 +75434,15 @@ "binop": null, "updateContext": null }, - "start": 13606, - "end": 13607, + "start": 13643, + "end": 13644, "loc": { "start": { - "line": 329, + "line": 330, "column": 47 }, "end": { - "line": 329, + "line": 330, "column": 48 } } @@ -75075,15 +75460,15 @@ "binop": null }, "value": "colorDepth", - "start": 13607, - "end": 13617, + "start": 13644, + "end": 13654, "loc": { "start": { - "line": 329, + "line": 330, "column": 48 }, "end": { - "line": 329, + "line": 330, "column": 58 } } @@ -75101,15 +75486,15 @@ "binop": null, "updateContext": null }, - "start": 13617, - "end": 13618, + "start": 13654, + "end": 13655, "loc": { "start": { - "line": 329, + "line": 330, "column": 58 }, "end": { - "line": 329, + "line": 330, "column": 59 } } @@ -75127,15 +75512,15 @@ "binop": null }, "value": "center", - "start": 13639, - "end": 13645, + "start": 13676, + "end": 13682, "loc": { "start": { - "line": 330, + "line": 331, "column": 20 }, "end": { - "line": 330, + "line": 331, "column": 26 } } @@ -75153,15 +75538,15 @@ "binop": null, "updateContext": null }, - "start": 13645, - "end": 13646, + "start": 13682, + "end": 13683, "loc": { "start": { - "line": 330, + "line": 331, "column": 26 }, "end": { - "line": 330, + "line": 331, "column": 27 } } @@ -75179,15 +75564,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 13647, - "end": 13662, + "start": 13684, + "end": 13699, "loc": { "start": { - "line": 330, + "line": 331, "column": 28 }, "end": { - "line": 330, + "line": 331, "column": 43 } } @@ -75205,15 +75590,15 @@ "binop": null, "updateContext": null }, - "start": 13662, - "end": 13663, + "start": 13699, + "end": 13700, "loc": { "start": { - "line": 330, + "line": 331, "column": 43 }, "end": { - "line": 330, + "line": 331, "column": 44 } } @@ -75231,15 +75616,15 @@ "binop": null }, "value": "center", - "start": 13663, - "end": 13669, + "start": 13700, + "end": 13706, "loc": { "start": { - "line": 330, + "line": 331, "column": 44 }, "end": { - "line": 330, + "line": 331, "column": 50 } } @@ -75257,15 +75642,15 @@ "binop": null, "updateContext": null }, - "start": 13669, - "end": 13670, + "start": 13706, + "end": 13707, "loc": { "start": { - "line": 330, + "line": 331, "column": 50 }, "end": { - "line": 330, + "line": 331, "column": 51 } } @@ -75283,15 +75668,15 @@ "binop": null }, "value": "transform", - "start": 13691, - "end": 13700, + "start": 13728, + "end": 13737, "loc": { "start": { - "line": 331, + "line": 332, "column": 20 }, "end": { - "line": 331, + "line": 332, "column": 29 } } @@ -75309,15 +75694,15 @@ "binop": null, "updateContext": null }, - "start": 13700, - "end": 13701, + "start": 13737, + "end": 13738, "loc": { "start": { - "line": 331, + "line": 332, "column": 29 }, "end": { - "line": 331, + "line": 332, "column": 30 } } @@ -75335,15 +75720,15 @@ "binop": null }, "value": "fileTypeConfigs", - "start": 13702, - "end": 13717, + "start": 13739, + "end": 13754, "loc": { "start": { - "line": 331, + "line": 332, "column": 31 }, "end": { - "line": 331, + "line": 332, "column": 46 } } @@ -75361,15 +75746,15 @@ "binop": null, "updateContext": null }, - "start": 13717, - "end": 13718, + "start": 13754, + "end": 13755, "loc": { "start": { - "line": 331, + "line": 332, "column": 46 }, "end": { - "line": 331, + "line": 332, "column": 47 } } @@ -75387,167 +75772,12 @@ "binop": null }, "value": "transform", - "start": 13718, - "end": 13727, - "loc": { - "start": { - "line": 331, - "column": 47 - }, - "end": { - "line": 331, - "column": 56 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13727, - "end": 13728, - "loc": { - "start": { - "line": 331, - "column": 56 - }, - "end": { - "line": 331, - "column": 57 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "skip", - "start": 13749, - "end": 13753, - "loc": { - "start": { - "line": 332, - "column": 20 - }, - "end": { - "line": 332, - "column": 24 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13753, - "end": 13754, - "loc": { - "start": { - "line": 332, - "column": 24 - }, - "end": { - "line": 332, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "overrideOption", "start": 13755, - "end": 13769, - "loc": { - "start": { - "line": 332, - "column": 26 - }, - "end": { - "line": 332, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13769, - "end": 13770, + "end": 13764, "loc": { "start": { "line": 332, - "column": 40 - }, - "end": { - "line": 332, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fileTypeConfigs", - "start": 13770, - "end": 13785, - "loc": { - "start": { - "line": 332, - "column": 41 + "column": 47 }, "end": { "line": 332, @@ -75557,8 +75787,8 @@ }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -75568,8 +75798,8 @@ "binop": null, "updateContext": null }, - "start": 13785, - "end": 13786, + "start": 13764, + "end": 13765, "loc": { "start": { "line": 332, @@ -75598,11 +75828,166 @@ "end": 13790, "loc": { "start": { - "line": 332, + "line": 333, + "column": 20 + }, + "end": { + "line": 333, + "column": 24 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13790, + "end": 13791, + "loc": { + "start": { + "line": 333, + "column": 24 + }, + "end": { + "line": 333, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "overrideOption", + "start": 13792, + "end": 13806, + "loc": { + "start": { + "line": 333, + "column": 26 + }, + "end": { + "line": 333, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13806, + "end": 13807, + "loc": { + "start": { + "line": 333, + "column": 40 + }, + "end": { + "line": 333, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fileTypeConfigs", + "start": 13807, + "end": 13822, + "loc": { + "start": { + "line": 333, + "column": 41 + }, + "end": { + "line": 333, + "column": 56 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13822, + "end": 13823, + "loc": { + "start": { + "line": 333, + "column": 56 + }, + "end": { + "line": 333, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "skip", + "start": 13823, + "end": 13827, + "loc": { + "start": { + "line": 333, "column": 57 }, "end": { - "line": 332, + "line": 333, "column": 61 } } @@ -75620,15 +76005,15 @@ "binop": null, "updateContext": null }, - "start": 13790, - "end": 13791, + "start": 13827, + "end": 13828, "loc": { "start": { - "line": 332, + "line": 333, "column": 61 }, "end": { - "line": 332, + "line": 333, "column": 62 } } @@ -75647,15 +76032,15 @@ "updateContext": null }, "value": 1, - "start": 13792, - "end": 13793, + "start": 13829, + "end": 13830, "loc": { "start": { - "line": 332, + "line": 333, "column": 63 }, "end": { - "line": 332, + "line": 333, "column": 64 } } @@ -75672,15 +76057,15 @@ "postfix": false, "binop": null }, - "start": 13793, - "end": 13794, + "start": 13830, + "end": 13831, "loc": { "start": { - "line": 332, + "line": 333, "column": 64 }, "end": { - "line": 332, + "line": 333, "column": 65 } } @@ -75698,15 +76083,15 @@ "binop": null, "updateContext": null }, - "start": 13794, - "end": 13795, + "start": 13831, + "end": 13832, "loc": { "start": { - "line": 332, + "line": 333, "column": 65 }, "end": { - "line": 332, + "line": 333, "column": 66 } } @@ -75724,15 +76109,15 @@ "binop": null }, "value": "log", - "start": 13816, - "end": 13819, + "start": 13853, + "end": 13856, "loc": { "start": { - "line": 333, + "line": 334, "column": 20 }, "end": { - "line": 333, + "line": 334, "column": 23 } } @@ -75749,15 +76134,15 @@ "postfix": false, "binop": null }, - "start": 13836, - "end": 13837, + "start": 13873, + "end": 13874, "loc": { "start": { - "line": 334, + "line": 335, "column": 16 }, "end": { - "line": 334, + "line": 335, "column": 17 } } @@ -75774,15 +76159,15 @@ "postfix": false, "binop": null }, - "start": 13837, - "end": 13838, + "start": 13874, + "end": 13875, "loc": { "start": { - "line": 334, + "line": 335, "column": 17 }, "end": { - "line": 334, + "line": 335, "column": 18 } } @@ -75800,15 +76185,15 @@ "binop": null, "updateContext": null }, - "start": 13838, - "end": 13839, + "start": 13875, + "end": 13876, "loc": { "start": { - "line": 334, + "line": 335, "column": 18 }, "end": { - "line": 334, + "line": 335, "column": 19 } } @@ -75828,15 +76213,15 @@ "updateContext": null }, "value": "break", - "start": 13856, - "end": 13861, + "start": 13893, + "end": 13898, "loc": { "start": { - "line": 335, + "line": 336, "column": 16 }, "end": { - "line": 335, + "line": 336, "column": 21 } } @@ -75854,15 +76239,15 @@ "binop": null, "updateContext": null }, - "start": 13861, - "end": 13862, + "start": 13898, + "end": 13899, "loc": { "start": { - "line": 335, + "line": 336, "column": 21 }, "end": { - "line": 335, + "line": 336, "column": 22 } } @@ -75882,15 +76267,15 @@ "updateContext": null }, "value": "case", - "start": 13876, - "end": 13880, + "start": 13913, + "end": 13917, "loc": { "start": { - "line": 337, + "line": 338, "column": 12 }, "end": { - "line": 337, + "line": 338, "column": 16 } } @@ -75909,15 +76294,15 @@ "updateContext": null }, "value": "pcd", - "start": 13881, - "end": 13886, + "start": 13918, + "end": 13923, "loc": { "start": { - "line": 337, + "line": 338, "column": 17 }, "end": { - "line": 337, + "line": 338, "column": 22 } } @@ -75935,15 +76320,15 @@ "binop": null, "updateContext": null }, - "start": 13886, - "end": 13887, + "start": 13923, + "end": 13924, "loc": { "start": { - "line": 337, + "line": 338, "column": 22 }, "end": { - "line": 337, + "line": 338, "column": 23 } } @@ -75961,15 +76346,15 @@ "binop": null }, "value": "convert", - "start": 13904, - "end": 13911, + "start": 13941, + "end": 13948, "loc": { "start": { - "line": 338, + "line": 339, "column": 16 }, "end": { - "line": 338, + "line": 339, "column": 23 } } @@ -75986,15 +76371,15 @@ "postfix": false, "binop": null }, - "start": 13911, - "end": 13912, + "start": 13948, + "end": 13949, "loc": { "start": { - "line": 338, + "line": 339, "column": 23 }, "end": { - "line": 338, + "line": 339, "column": 24 } } @@ -76012,15 +76397,15 @@ "binop": null }, "value": "parsePCDIntoXKTModel", - "start": 13912, - "end": 13932, + "start": 13949, + "end": 13969, "loc": { "start": { - "line": 338, + "line": 339, "column": 24 }, "end": { - "line": 338, + "line": 339, "column": 44 } } @@ -76038,15 +76423,15 @@ "binop": null, "updateContext": null }, - "start": 13932, - "end": 13933, + "start": 13969, + "end": 13970, "loc": { "start": { - "line": 338, + "line": 339, "column": 44 }, "end": { - "line": 338, + "line": 339, "column": 45 } } @@ -76063,15 +76448,15 @@ "postfix": false, "binop": null }, - "start": 13934, - "end": 13935, + "start": 13971, + "end": 13972, "loc": { "start": { - "line": 338, + "line": 339, "column": 46 }, "end": { - "line": 338, + "line": 339, "column": 47 } } @@ -76089,15 +76474,15 @@ "binop": null }, "value": "data", - "start": 13956, - "end": 13960, + "start": 13993, + "end": 13997, "loc": { "start": { - "line": 339, + "line": 340, "column": 20 }, "end": { - "line": 339, + "line": 340, "column": 24 } } @@ -76115,15 +76500,15 @@ "binop": null, "updateContext": null }, - "start": 13960, - "end": 13961, + "start": 13997, + "end": 13998, "loc": { "start": { - "line": 339, + "line": 340, "column": 24 }, "end": { - "line": 339, + "line": 340, "column": 25 } } @@ -76141,15 +76526,15 @@ "binop": null }, "value": "sourceData", - "start": 13962, - "end": 13972, + "start": 13999, + "end": 14009, "loc": { "start": { - "line": 339, + "line": 340, "column": 26 }, "end": { - "line": 339, + "line": 340, "column": 36 } } @@ -76167,15 +76552,15 @@ "binop": null, "updateContext": null }, - "start": 13972, - "end": 13973, + "start": 14009, + "end": 14010, "loc": { "start": { - "line": 339, + "line": 340, "column": 36 }, "end": { - "line": 339, + "line": 340, "column": 37 } } @@ -76193,15 +76578,15 @@ "binop": null }, "value": "xktModel", - "start": 13994, - "end": 14002, + "start": 14031, + "end": 14039, "loc": { "start": { - "line": 340, + "line": 341, "column": 20 }, "end": { - "line": 340, + "line": 341, "column": 28 } } @@ -76219,15 +76604,15 @@ "binop": null, "updateContext": null }, - "start": 14002, - "end": 14003, + "start": 14039, + "end": 14040, "loc": { "start": { - "line": 340, + "line": 341, "column": 28 }, "end": { - "line": 340, + "line": 341, "column": 29 } } @@ -76245,15 +76630,15 @@ "binop": null }, "value": "stats", - "start": 14024, - "end": 14029, + "start": 14061, + "end": 14066, "loc": { "start": { - "line": 341, + "line": 342, "column": 20 }, "end": { - "line": 341, + "line": 342, "column": 25 } } @@ -76271,15 +76656,15 @@ "binop": null, "updateContext": null }, - "start": 14029, - "end": 14030, + "start": 14066, + "end": 14067, "loc": { "start": { - "line": 341, + "line": 342, "column": 25 }, "end": { - "line": 341, + "line": 342, "column": 26 } } @@ -76297,15 +76682,15 @@ "binop": null }, "value": "log", - "start": 14051, - "end": 14054, + "start": 14088, + "end": 14091, "loc": { "start": { - "line": 342, + "line": 343, "column": 20 }, "end": { - "line": 342, + "line": 343, "column": 23 } } @@ -76322,15 +76707,15 @@ "postfix": false, "binop": null }, - "start": 14071, - "end": 14072, + "start": 14108, + "end": 14109, "loc": { "start": { - "line": 343, + "line": 344, "column": 16 }, "end": { - "line": 343, + "line": 344, "column": 17 } } @@ -76347,15 +76732,15 @@ "postfix": false, "binop": null }, - "start": 14072, - "end": 14073, + "start": 14109, + "end": 14110, "loc": { "start": { - "line": 343, + "line": 344, "column": 17 }, "end": { - "line": 343, + "line": 344, "column": 18 } } @@ -76373,15 +76758,15 @@ "binop": null, "updateContext": null }, - "start": 14073, - "end": 14074, + "start": 14110, + "end": 14111, "loc": { "start": { - "line": 343, + "line": 344, "column": 18 }, "end": { - "line": 343, + "line": 344, "column": 19 } } @@ -76401,15 +76786,15 @@ "updateContext": null }, "value": "break", - "start": 14091, - "end": 14096, + "start": 14128, + "end": 14133, "loc": { "start": { - "line": 344, + "line": 345, "column": 16 }, "end": { - "line": 344, + "line": 345, "column": 21 } } @@ -76427,15 +76812,15 @@ "binop": null, "updateContext": null }, - "start": 14096, - "end": 14097, + "start": 14133, + "end": 14134, "loc": { "start": { - "line": 344, + "line": 345, "column": 21 }, "end": { - "line": 344, + "line": 345, "column": 22 } } @@ -76455,15 +76840,15 @@ "updateContext": null }, "value": "case", - "start": 14111, - "end": 14115, + "start": 14148, + "end": 14152, "loc": { "start": { - "line": 346, + "line": 347, "column": 12 }, "end": { - "line": 346, + "line": 347, "column": 16 } } @@ -76482,15 +76867,15 @@ "updateContext": null }, "value": "ply", - "start": 14116, - "end": 14121, + "start": 14153, + "end": 14158, "loc": { "start": { - "line": 346, + "line": 347, "column": 17 }, "end": { - "line": 346, + "line": 347, "column": 22 } } @@ -76508,15 +76893,15 @@ "binop": null, "updateContext": null }, - "start": 14121, - "end": 14122, + "start": 14158, + "end": 14159, "loc": { "start": { - "line": 346, + "line": 347, "column": 22 }, "end": { - "line": 346, + "line": 347, "column": 23 } } @@ -76534,15 +76919,15 @@ "binop": null }, "value": "convert", - "start": 14139, - "end": 14146, + "start": 14176, + "end": 14183, "loc": { "start": { - "line": 347, + "line": 348, "column": 16 }, "end": { - "line": 347, + "line": 348, "column": 23 } } @@ -76559,15 +76944,15 @@ "postfix": false, "binop": null }, - "start": 14146, - "end": 14147, + "start": 14183, + "end": 14184, "loc": { "start": { - "line": 347, + "line": 348, "column": 23 }, "end": { - "line": 347, + "line": 348, "column": 24 } } @@ -76585,15 +76970,15 @@ "binop": null }, "value": "parsePLYIntoXKTModel", - "start": 14147, - "end": 14167, + "start": 14184, + "end": 14204, "loc": { "start": { - "line": 347, + "line": 348, "column": 24 }, "end": { - "line": 347, + "line": 348, "column": 44 } } @@ -76611,15 +76996,15 @@ "binop": null, "updateContext": null }, - "start": 14167, - "end": 14168, + "start": 14204, + "end": 14205, "loc": { "start": { - "line": 347, + "line": 348, "column": 44 }, "end": { - "line": 347, + "line": 348, "column": 45 } } @@ -76636,15 +77021,15 @@ "postfix": false, "binop": null }, - "start": 14169, - "end": 14170, + "start": 14206, + "end": 14207, "loc": { "start": { - "line": 347, + "line": 348, "column": 46 }, "end": { - "line": 347, + "line": 348, "column": 47 } } @@ -76662,15 +77047,15 @@ "binop": null }, "value": "data", - "start": 14191, - "end": 14195, + "start": 14228, + "end": 14232, "loc": { "start": { - "line": 348, + "line": 349, "column": 20 }, "end": { - "line": 348, + "line": 349, "column": 24 } } @@ -76688,15 +77073,15 @@ "binop": null, "updateContext": null }, - "start": 14195, - "end": 14196, + "start": 14232, + "end": 14233, "loc": { "start": { - "line": 348, + "line": 349, "column": 24 }, "end": { - "line": 348, + "line": 349, "column": 25 } } @@ -76714,15 +77099,15 @@ "binop": null }, "value": "sourceData", - "start": 14197, - "end": 14207, + "start": 14234, + "end": 14244, "loc": { "start": { - "line": 348, + "line": 349, "column": 26 }, "end": { - "line": 348, + "line": 349, "column": 36 } } @@ -76740,15 +77125,15 @@ "binop": null, "updateContext": null }, - "start": 14207, - "end": 14208, + "start": 14244, + "end": 14245, "loc": { "start": { - "line": 348, + "line": 349, "column": 36 }, "end": { - "line": 348, + "line": 349, "column": 37 } } @@ -76766,15 +77151,15 @@ "binop": null }, "value": "xktModel", - "start": 14229, - "end": 14237, + "start": 14266, + "end": 14274, "loc": { "start": { - "line": 349, + "line": 350, "column": 20 }, "end": { - "line": 349, + "line": 350, "column": 28 } } @@ -76792,15 +77177,15 @@ "binop": null, "updateContext": null }, - "start": 14237, - "end": 14238, + "start": 14274, + "end": 14275, "loc": { "start": { - "line": 349, + "line": 350, "column": 28 }, "end": { - "line": 349, + "line": 350, "column": 29 } } @@ -76818,15 +77203,15 @@ "binop": null }, "value": "stats", - "start": 14259, - "end": 14264, + "start": 14296, + "end": 14301, "loc": { "start": { - "line": 350, + "line": 351, "column": 20 }, "end": { - "line": 350, + "line": 351, "column": 25 } } @@ -76844,15 +77229,15 @@ "binop": null, "updateContext": null }, - "start": 14264, - "end": 14265, + "start": 14301, + "end": 14302, "loc": { "start": { - "line": 350, + "line": 351, "column": 25 }, "end": { - "line": 350, + "line": 351, "column": 26 } } @@ -76870,15 +77255,15 @@ "binop": null }, "value": "log", - "start": 14286, - "end": 14289, + "start": 14323, + "end": 14326, "loc": { "start": { - "line": 351, + "line": 352, "column": 20 }, "end": { - "line": 351, + "line": 352, "column": 23 } } @@ -76895,15 +77280,15 @@ "postfix": false, "binop": null }, - "start": 14306, - "end": 14307, + "start": 14343, + "end": 14344, "loc": { "start": { - "line": 352, + "line": 353, "column": 16 }, "end": { - "line": 352, + "line": 353, "column": 17 } } @@ -76920,15 +77305,15 @@ "postfix": false, "binop": null }, - "start": 14307, - "end": 14308, + "start": 14344, + "end": 14345, "loc": { "start": { - "line": 352, + "line": 353, "column": 17 }, "end": { - "line": 352, + "line": 353, "column": 18 } } @@ -76946,15 +77331,15 @@ "binop": null, "updateContext": null }, - "start": 14308, - "end": 14309, + "start": 14345, + "end": 14346, "loc": { "start": { - "line": 352, + "line": 353, "column": 18 }, "end": { - "line": 352, + "line": 353, "column": 19 } } @@ -76974,15 +77359,15 @@ "updateContext": null }, "value": "break", - "start": 14326, - "end": 14331, + "start": 14363, + "end": 14368, "loc": { "start": { - "line": 353, + "line": 354, "column": 16 }, "end": { - "line": 353, + "line": 354, "column": 21 } } @@ -77000,15 +77385,15 @@ "binop": null, "updateContext": null }, - "start": 14331, - "end": 14332, + "start": 14368, + "end": 14369, "loc": { "start": { - "line": 353, + "line": 354, "column": 21 }, "end": { - "line": 353, + "line": 354, "column": 22 } } @@ -77028,15 +77413,15 @@ "updateContext": null }, "value": "case", - "start": 14346, - "end": 14350, + "start": 14383, + "end": 14387, "loc": { "start": { - "line": 355, + "line": 356, "column": 12 }, "end": { - "line": 355, + "line": 356, "column": 16 } } @@ -77055,15 +77440,15 @@ "updateContext": null }, "value": "stl", - "start": 14351, - "end": 14356, + "start": 14388, + "end": 14393, "loc": { "start": { - "line": 355, + "line": 356, "column": 17 }, "end": { - "line": 355, + "line": 356, "column": 22 } } @@ -77081,15 +77466,15 @@ "binop": null, "updateContext": null }, - "start": 14356, - "end": 14357, + "start": 14393, + "end": 14394, "loc": { "start": { - "line": 355, + "line": 356, "column": 22 }, "end": { - "line": 355, + "line": 356, "column": 23 } } @@ -77107,15 +77492,15 @@ "binop": null }, "value": "convert", - "start": 14374, - "end": 14381, + "start": 14411, + "end": 14418, "loc": { "start": { - "line": 356, + "line": 357, "column": 16 }, "end": { - "line": 356, + "line": 357, "column": 23 } } @@ -77132,15 +77517,15 @@ "postfix": false, "binop": null }, - "start": 14381, - "end": 14382, + "start": 14418, + "end": 14419, "loc": { "start": { - "line": 356, + "line": 357, "column": 23 }, "end": { - "line": 356, + "line": 357, "column": 24 } } @@ -77158,15 +77543,15 @@ "binop": null }, "value": "parseSTLIntoXKTModel", - "start": 14382, - "end": 14402, + "start": 14419, + "end": 14439, "loc": { "start": { - "line": 356, + "line": 357, "column": 24 }, "end": { - "line": 356, + "line": 357, "column": 44 } } @@ -77184,15 +77569,15 @@ "binop": null, "updateContext": null }, - "start": 14402, - "end": 14403, + "start": 14439, + "end": 14440, "loc": { "start": { - "line": 356, + "line": 357, "column": 44 }, "end": { - "line": 356, + "line": 357, "column": 45 } } @@ -77209,15 +77594,15 @@ "postfix": false, "binop": null }, - "start": 14404, - "end": 14405, + "start": 14441, + "end": 14442, "loc": { "start": { - "line": 356, + "line": 357, "column": 46 }, "end": { - "line": 356, + "line": 357, "column": 47 } } @@ -77235,15 +77620,15 @@ "binop": null }, "value": "data", - "start": 14426, - "end": 14430, + "start": 14463, + "end": 14467, "loc": { "start": { - "line": 357, + "line": 358, "column": 20 }, "end": { - "line": 357, + "line": 358, "column": 24 } } @@ -77261,15 +77646,15 @@ "binop": null, "updateContext": null }, - "start": 14430, - "end": 14431, + "start": 14467, + "end": 14468, "loc": { "start": { - "line": 357, + "line": 358, "column": 24 }, "end": { - "line": 357, + "line": 358, "column": 25 } } @@ -77287,15 +77672,15 @@ "binop": null }, "value": "sourceData", - "start": 14432, - "end": 14442, + "start": 14469, + "end": 14479, "loc": { "start": { - "line": 357, + "line": 358, "column": 26 }, "end": { - "line": 357, + "line": 358, "column": 36 } } @@ -77313,15 +77698,15 @@ "binop": null, "updateContext": null }, - "start": 14442, - "end": 14443, + "start": 14479, + "end": 14480, "loc": { "start": { - "line": 357, + "line": 358, "column": 36 }, "end": { - "line": 357, + "line": 358, "column": 37 } } @@ -77339,15 +77724,15 @@ "binop": null }, "value": "xktModel", - "start": 14464, - "end": 14472, + "start": 14501, + "end": 14509, "loc": { "start": { - "line": 358, + "line": 359, "column": 20 }, "end": { - "line": 358, + "line": 359, "column": 28 } } @@ -77365,15 +77750,15 @@ "binop": null, "updateContext": null }, - "start": 14472, - "end": 14473, + "start": 14509, + "end": 14510, "loc": { "start": { - "line": 358, + "line": 359, "column": 28 }, "end": { - "line": 358, + "line": 359, "column": 29 } } @@ -77391,15 +77776,15 @@ "binop": null }, "value": "stats", - "start": 14494, - "end": 14499, + "start": 14531, + "end": 14536, "loc": { "start": { - "line": 359, + "line": 360, "column": 20 }, "end": { - "line": 359, + "line": 360, "column": 25 } } @@ -77417,15 +77802,15 @@ "binop": null, "updateContext": null }, - "start": 14499, - "end": 14500, + "start": 14536, + "end": 14537, "loc": { "start": { - "line": 359, + "line": 360, "column": 25 }, "end": { - "line": 359, + "line": 360, "column": 26 } } @@ -77443,15 +77828,15 @@ "binop": null }, "value": "log", - "start": 14521, - "end": 14524, + "start": 14558, + "end": 14561, "loc": { "start": { - "line": 360, + "line": 361, "column": 20 }, "end": { - "line": 360, + "line": 361, "column": 23 } } @@ -77468,15 +77853,15 @@ "postfix": false, "binop": null }, - "start": 14541, - "end": 14542, + "start": 14578, + "end": 14579, "loc": { "start": { - "line": 361, + "line": 362, "column": 16 }, "end": { - "line": 361, + "line": 362, "column": 17 } } @@ -77493,15 +77878,15 @@ "postfix": false, "binop": null }, - "start": 14542, - "end": 14543, + "start": 14579, + "end": 14580, "loc": { "start": { - "line": 361, + "line": 362, "column": 17 }, "end": { - "line": 361, + "line": 362, "column": 18 } } @@ -77519,15 +77904,15 @@ "binop": null, "updateContext": null }, - "start": 14543, - "end": 14544, + "start": 14580, + "end": 14581, "loc": { "start": { - "line": 361, + "line": 362, "column": 18 }, "end": { - "line": 361, + "line": 362, "column": 19 } } @@ -77547,15 +77932,15 @@ "updateContext": null }, "value": "break", - "start": 14561, - "end": 14566, + "start": 14598, + "end": 14603, "loc": { "start": { - "line": 362, + "line": 363, "column": 16 }, "end": { - "line": 362, + "line": 363, "column": 21 } } @@ -77573,15 +77958,15 @@ "binop": null, "updateContext": null }, - "start": 14566, - "end": 14567, + "start": 14603, + "end": 14604, "loc": { "start": { - "line": 362, + "line": 363, "column": 21 }, "end": { - "line": 362, + "line": 363, "column": 22 } } @@ -77601,15 +77986,15 @@ "updateContext": null }, "value": "default", - "start": 14581, - "end": 14588, + "start": 14618, + "end": 14625, "loc": { "start": { - "line": 364, + "line": 365, "column": 12 }, "end": { - "line": 364, + "line": 365, "column": 19 } } @@ -77627,15 +78012,15 @@ "binop": null, "updateContext": null }, - "start": 14588, - "end": 14589, + "start": 14625, + "end": 14626, "loc": { "start": { - "line": 364, + "line": 365, "column": 19 }, "end": { - "line": 364, + "line": 365, "column": 20 } } @@ -77653,15 +78038,15 @@ "binop": null }, "value": "reject", - "start": 14606, - "end": 14612, + "start": 14643, + "end": 14649, "loc": { "start": { - "line": 365, + "line": 366, "column": 16 }, "end": { - "line": 365, + "line": 366, "column": 22 } } @@ -77678,15 +78063,15 @@ "postfix": false, "binop": null }, - "start": 14612, - "end": 14613, + "start": 14649, + "end": 14650, "loc": { "start": { - "line": 365, + "line": 366, "column": 22 }, "end": { - "line": 365, + "line": 366, "column": 23 } } @@ -77703,15 +78088,15 @@ "postfix": false, "binop": null }, - "start": 14613, - "end": 14614, + "start": 14650, + "end": 14651, "loc": { "start": { - "line": 365, + "line": 366, "column": 23 }, "end": { - "line": 365, + "line": 366, "column": 24 } } @@ -77730,15 +78115,15 @@ "updateContext": null }, "value": "Error: unsupported source format: \"", - "start": 14614, - "end": 14649, + "start": 14651, + "end": 14686, "loc": { "start": { - "line": 365, + "line": 366, "column": 24 }, "end": { - "line": 365, + "line": 366, "column": 59 } } @@ -77755,15 +78140,15 @@ "postfix": false, "binop": null }, - "start": 14649, - "end": 14651, + "start": 14686, + "end": 14688, "loc": { "start": { - "line": 365, + "line": 366, "column": 59 }, "end": { - "line": 365, + "line": 366, "column": 61 } } @@ -77781,15 +78166,15 @@ "binop": null }, "value": "ext", - "start": 14651, - "end": 14654, + "start": 14688, + "end": 14691, "loc": { "start": { - "line": 365, + "line": 366, "column": 61 }, "end": { - "line": 365, + "line": 366, "column": 64 } } @@ -77806,15 +78191,15 @@ "postfix": false, "binop": null }, - "start": 14654, - "end": 14655, + "start": 14691, + "end": 14692, "loc": { "start": { - "line": 365, + "line": 366, "column": 64 }, "end": { - "line": 365, + "line": 366, "column": 65 } } @@ -77833,15 +78218,15 @@ "updateContext": null }, "value": "\".", - "start": 14655, - "end": 14657, + "start": 14692, + "end": 14694, "loc": { "start": { - "line": 365, + "line": 366, "column": 65 }, "end": { - "line": 365, + "line": 366, "column": 67 } } @@ -77858,15 +78243,15 @@ "postfix": false, "binop": null }, - "start": 14657, - "end": 14658, + "start": 14694, + "end": 14695, "loc": { "start": { - "line": 365, + "line": 366, "column": 67 }, "end": { - "line": 365, + "line": 366, "column": 68 } } @@ -77883,15 +78268,15 @@ "postfix": false, "binop": null }, - "start": 14658, - "end": 14659, + "start": 14695, + "end": 14696, "loc": { "start": { - "line": 365, + "line": 366, "column": 68 }, "end": { - "line": 365, + "line": 366, "column": 69 } } @@ -77909,15 +78294,15 @@ "binop": null, "updateContext": null }, - "start": 14659, - "end": 14660, + "start": 14696, + "end": 14697, "loc": { "start": { - "line": 365, + "line": 366, "column": 69 }, "end": { - "line": 365, + "line": 366, "column": 70 } } @@ -77937,15 +78322,15 @@ "updateContext": null }, "value": "return", - "start": 14677, - "end": 14683, + "start": 14714, + "end": 14720, "loc": { "start": { - "line": 366, + "line": 367, "column": 16 }, "end": { - "line": 366, + "line": 367, "column": 22 } } @@ -77963,15 +78348,15 @@ "binop": null, "updateContext": null }, - "start": 14683, - "end": 14684, + "start": 14720, + "end": 14721, "loc": { "start": { - "line": 366, + "line": 367, "column": 22 }, "end": { - "line": 366, + "line": 367, "column": 23 } } @@ -77988,15 +78373,15 @@ "postfix": false, "binop": null }, - "start": 14693, - "end": 14694, + "start": 14730, + "end": 14731, "loc": { "start": { - "line": 367, + "line": 368, "column": 8 }, "end": { - "line": 367, + "line": 368, "column": 9 } } @@ -78015,15 +78400,15 @@ "binop": null }, "value": "function", - "start": 14704, - "end": 14712, + "start": 14741, + "end": 14749, "loc": { "start": { - "line": 369, + "line": 370, "column": 8 }, "end": { - "line": 369, + "line": 370, "column": 16 } } @@ -78041,15 +78426,15 @@ "binop": null }, "value": "convert", - "start": 14713, - "end": 14720, + "start": 14750, + "end": 14757, "loc": { "start": { - "line": 369, + "line": 370, "column": 17 }, "end": { - "line": 369, + "line": 370, "column": 24 } } @@ -78066,15 +78451,15 @@ "postfix": false, "binop": null }, - "start": 14720, - "end": 14721, + "start": 14757, + "end": 14758, "loc": { "start": { - "line": 369, + "line": 370, "column": 24 }, "end": { - "line": 369, + "line": 370, "column": 25 } } @@ -78092,15 +78477,15 @@ "binop": null }, "value": "parser", - "start": 14721, - "end": 14727, + "start": 14758, + "end": 14764, "loc": { "start": { - "line": 369, + "line": 370, "column": 25 }, "end": { - "line": 369, + "line": 370, "column": 31 } } @@ -78118,15 +78503,15 @@ "binop": null, "updateContext": null }, - "start": 14727, - "end": 14728, + "start": 14764, + "end": 14765, "loc": { "start": { - "line": 369, + "line": 370, "column": 31 }, "end": { - "line": 369, + "line": 370, "column": 32 } } @@ -78144,15 +78529,15 @@ "binop": null }, "value": "converterParams", - "start": 14729, - "end": 14744, + "start": 14766, + "end": 14781, "loc": { "start": { - "line": 369, + "line": 370, "column": 33 }, "end": { - "line": 369, + "line": 370, "column": 48 } } @@ -78169,15 +78554,15 @@ "postfix": false, "binop": null }, - "start": 14744, - "end": 14745, + "start": 14781, + "end": 14782, "loc": { "start": { - "line": 369, + "line": 370, "column": 48 }, "end": { - "line": 369, + "line": 370, "column": 49 } } @@ -78194,15 +78579,15 @@ "postfix": false, "binop": null }, - "start": 14746, - "end": 14747, + "start": 14783, + "end": 14784, "loc": { "start": { - "line": 369, + "line": 370, "column": 50 }, "end": { - "line": 369, + "line": 370, "column": 51 } } @@ -78220,15 +78605,15 @@ "binop": null }, "value": "parser", - "start": 14761, - "end": 14767, + "start": 14798, + "end": 14804, "loc": { "start": { - "line": 371, + "line": 372, "column": 12 }, "end": { - "line": 371, + "line": 372, "column": 18 } } @@ -78245,15 +78630,15 @@ "postfix": false, "binop": null }, - "start": 14767, - "end": 14768, + "start": 14804, + "end": 14805, "loc": { "start": { - "line": 371, + "line": 372, "column": 18 }, "end": { - "line": 371, + "line": 372, "column": 19 } } @@ -78271,15 +78656,15 @@ "binop": null }, "value": "converterParams", - "start": 14768, - "end": 14783, + "start": 14805, + "end": 14820, "loc": { "start": { - "line": 371, + "line": 372, "column": 19 }, "end": { - "line": 371, + "line": 372, "column": 34 } } @@ -78296,15 +78681,15 @@ "postfix": false, "binop": null }, - "start": 14783, - "end": 14784, + "start": 14820, + "end": 14821, "loc": { "start": { - "line": 371, + "line": 372, "column": 34 }, "end": { - "line": 371, + "line": 372, "column": 35 } } @@ -78322,15 +78707,15 @@ "binop": null, "updateContext": null }, - "start": 14784, - "end": 14785, + "start": 14821, + "end": 14822, "loc": { "start": { - "line": 371, + "line": 372, "column": 35 }, "end": { - "line": 371, + "line": 372, "column": 36 } } @@ -78348,15 +78733,15 @@ "binop": null }, "value": "then", - "start": 14785, - "end": 14789, + "start": 14822, + "end": 14826, "loc": { "start": { - "line": 371, + "line": 372, "column": 36 }, "end": { - "line": 371, + "line": 372, "column": 40 } } @@ -78373,15 +78758,15 @@ "postfix": false, "binop": null }, - "start": 14789, - "end": 14790, + "start": 14826, + "end": 14827, "loc": { "start": { - "line": 371, + "line": 372, "column": 40 }, "end": { - "line": 371, + "line": 372, "column": 41 } } @@ -78398,15 +78783,15 @@ "postfix": false, "binop": null }, - "start": 14790, - "end": 14791, + "start": 14827, + "end": 14828, "loc": { "start": { - "line": 371, + "line": 372, "column": 41 }, "end": { - "line": 371, + "line": 372, "column": 42 } } @@ -78423,15 +78808,15 @@ "postfix": false, "binop": null }, - "start": 14791, - "end": 14792, + "start": 14828, + "end": 14829, "loc": { "start": { - "line": 371, + "line": 372, "column": 42 }, "end": { - "line": 371, + "line": 372, "column": 43 } } @@ -78449,15 +78834,15 @@ "binop": null, "updateContext": null }, - "start": 14793, - "end": 14795, + "start": 14830, + "end": 14832, "loc": { "start": { - "line": 371, + "line": 372, "column": 44 }, "end": { - "line": 371, + "line": 372, "column": 46 } } @@ -78474,15 +78859,15 @@ "postfix": false, "binop": null }, - "start": 14796, - "end": 14797, + "start": 14833, + "end": 14834, "loc": { "start": { - "line": 371, + "line": 372, "column": 47 }, "end": { - "line": 371, + "line": 372, "column": 48 } } @@ -78502,15 +78887,15 @@ "updateContext": null }, "value": "if", - "start": 14815, - "end": 14817, + "start": 14852, + "end": 14854, "loc": { "start": { - "line": 373, + "line": 374, "column": 16 }, "end": { - "line": 373, + "line": 374, "column": 18 } } @@ -78527,15 +78912,15 @@ "postfix": false, "binop": null }, - "start": 14818, - "end": 14819, + "start": 14855, + "end": 14856, "loc": { "start": { - "line": 373, + "line": 374, "column": 19 }, "end": { - "line": 373, + "line": 374, "column": 20 } } @@ -78554,15 +78939,15 @@ "updateContext": null }, "value": "!", - "start": 14819, - "end": 14820, + "start": 14856, + "end": 14857, "loc": { "start": { - "line": 373, + "line": 374, "column": 20 }, "end": { - "line": 373, + "line": 374, "column": 21 } } @@ -78580,15 +78965,15 @@ "binop": null }, "value": "metaModelJSON", - "start": 14820, - "end": 14833, + "start": 14857, + "end": 14870, "loc": { "start": { - "line": 373, + "line": 374, "column": 21 }, "end": { - "line": 373, + "line": 374, "column": 34 } } @@ -78605,15 +78990,15 @@ "postfix": false, "binop": null }, - "start": 14833, - "end": 14834, + "start": 14870, + "end": 14871, "loc": { "start": { - "line": 373, + "line": 374, "column": 34 }, "end": { - "line": 373, + "line": 374, "column": 35 } } @@ -78630,15 +79015,15 @@ "postfix": false, "binop": null }, - "start": 14835, - "end": 14836, + "start": 14872, + "end": 14873, "loc": { "start": { - "line": 373, + "line": 374, "column": 36 }, "end": { - "line": 373, + "line": 374, "column": 37 } } @@ -78656,15 +79041,15 @@ "binop": null }, "value": "log", - "start": 14857, - "end": 14860, + "start": 14894, + "end": 14897, "loc": { "start": { - "line": 374, + "line": 375, "column": 20 }, "end": { - "line": 374, + "line": 375, "column": 23 } } @@ -78681,15 +79066,15 @@ "postfix": false, "binop": null }, - "start": 14860, - "end": 14861, + "start": 14897, + "end": 14898, "loc": { "start": { - "line": 374, + "line": 375, "column": 23 }, "end": { - "line": 374, + "line": 375, "column": 24 } } @@ -78708,15 +79093,15 @@ "updateContext": null }, "value": "Creating default metamodel in XKT", - "start": 14861, - "end": 14896, + "start": 14898, + "end": 14933, "loc": { "start": { - "line": 374, + "line": 375, "column": 24 }, "end": { - "line": 374, + "line": 375, "column": 59 } } @@ -78733,15 +79118,15 @@ "postfix": false, "binop": null }, - "start": 14896, - "end": 14897, + "start": 14933, + "end": 14934, "loc": { "start": { - "line": 374, + "line": 375, "column": 59 }, "end": { - "line": 374, + "line": 375, "column": 60 } } @@ -78759,15 +79144,15 @@ "binop": null, "updateContext": null }, - "start": 14897, - "end": 14898, + "start": 14934, + "end": 14935, "loc": { "start": { - "line": 374, + "line": 375, "column": 60 }, "end": { - "line": 374, + "line": 375, "column": 61 } } @@ -78785,15 +79170,15 @@ "binop": null }, "value": "xktModel", - "start": 14919, - "end": 14927, + "start": 14956, + "end": 14964, "loc": { "start": { - "line": 375, + "line": 376, "column": 20 }, "end": { - "line": 375, + "line": 376, "column": 28 } } @@ -78811,15 +79196,15 @@ "binop": null, "updateContext": null }, - "start": 14927, - "end": 14928, + "start": 14964, + "end": 14965, "loc": { "start": { - "line": 375, + "line": 376, "column": 28 }, "end": { - "line": 375, + "line": 376, "column": 29 } } @@ -78837,15 +79222,15 @@ "binop": null }, "value": "createDefaultMetaObjects", - "start": 14928, - "end": 14952, + "start": 14965, + "end": 14989, "loc": { "start": { - "line": 375, + "line": 376, "column": 29 }, "end": { - "line": 375, + "line": 376, "column": 53 } } @@ -78862,15 +79247,15 @@ "postfix": false, "binop": null }, - "start": 14952, - "end": 14953, + "start": 14989, + "end": 14990, "loc": { "start": { - "line": 375, + "line": 376, "column": 53 }, "end": { - "line": 375, + "line": 376, "column": 54 } } @@ -78887,15 +79272,15 @@ "postfix": false, "binop": null }, - "start": 14953, - "end": 14954, + "start": 14990, + "end": 14991, "loc": { "start": { - "line": 375, + "line": 376, "column": 54 }, "end": { - "line": 375, + "line": 376, "column": 55 } } @@ -78913,15 +79298,15 @@ "binop": null, "updateContext": null }, - "start": 14954, - "end": 14955, + "start": 14991, + "end": 14992, "loc": { "start": { - "line": 375, + "line": 376, "column": 55 }, "end": { - "line": 375, + "line": 376, "column": 56 } } @@ -78938,15 +79323,15 @@ "postfix": false, "binop": null }, - "start": 14972, - "end": 14973, + "start": 15009, + "end": 15010, "loc": { "start": { - "line": 376, + "line": 377, "column": 16 }, "end": { - "line": 376, + "line": 377, "column": 17 } } @@ -78964,15 +79349,15 @@ "binop": null }, "value": "log", - "start": 14991, - "end": 14994, + "start": 15028, + "end": 15031, "loc": { "start": { - "line": 378, + "line": 379, "column": 16 }, "end": { - "line": 378, + "line": 379, "column": 19 } } @@ -78989,15 +79374,15 @@ "postfix": false, "binop": null }, - "start": 14994, - "end": 14995, + "start": 15031, + "end": 15032, "loc": { "start": { - "line": 378, + "line": 379, "column": 19 }, "end": { - "line": 378, + "line": 379, "column": 20 } } @@ -79016,15 +79401,15 @@ "updateContext": null }, "value": "Input file parsed OK. Building XKT document...", - "start": 14995, - "end": 15043, + "start": 15032, + "end": 15080, "loc": { "start": { - "line": 378, + "line": 379, "column": 20 }, "end": { - "line": 378, + "line": 379, "column": 68 } } @@ -79041,15 +79426,15 @@ "postfix": false, "binop": null }, - "start": 15043, - "end": 15044, + "start": 15080, + "end": 15081, "loc": { "start": { - "line": 378, + "line": 379, "column": 68 }, "end": { - "line": 378, + "line": 379, "column": 69 } } @@ -79067,15 +79452,15 @@ "binop": null, "updateContext": null }, - "start": 15044, - "end": 15045, + "start": 15081, + "end": 15082, "loc": { "start": { - "line": 378, + "line": 379, "column": 69 }, "end": { - "line": 378, + "line": 379, "column": 70 } } @@ -79093,15 +79478,15 @@ "binop": null }, "value": "xktModel", - "start": 15063, - "end": 15071, + "start": 15100, + "end": 15108, "loc": { "start": { - "line": 380, + "line": 381, "column": 16 }, "end": { - "line": 380, + "line": 381, "column": 24 } } @@ -79119,15 +79504,15 @@ "binop": null, "updateContext": null }, - "start": 15071, - "end": 15072, + "start": 15108, + "end": 15109, "loc": { "start": { - "line": 380, + "line": 381, "column": 24 }, "end": { - "line": 380, + "line": 381, "column": 25 } } @@ -79145,15 +79530,15 @@ "binop": null }, "value": "finalize", - "start": 15072, - "end": 15080, + "start": 15109, + "end": 15117, "loc": { "start": { - "line": 380, + "line": 381, "column": 25 }, "end": { - "line": 380, + "line": 381, "column": 33 } } @@ -79170,15 +79555,15 @@ "postfix": false, "binop": null }, - "start": 15080, - "end": 15081, + "start": 15117, + "end": 15118, "loc": { "start": { - "line": 380, + "line": 381, "column": 33 }, "end": { - "line": 380, + "line": 381, "column": 34 } } @@ -79195,15 +79580,15 @@ "postfix": false, "binop": null }, - "start": 15081, - "end": 15082, + "start": 15118, + "end": 15119, "loc": { "start": { - "line": 380, + "line": 381, "column": 34 }, "end": { - "line": 380, + "line": 381, "column": 35 } } @@ -79221,15 +79606,15 @@ "binop": null, "updateContext": null }, - "start": 15082, - "end": 15083, + "start": 15119, + "end": 15120, "loc": { "start": { - "line": 380, + "line": 381, "column": 35 }, "end": { - "line": 380, + "line": 381, "column": 36 } } @@ -79247,15 +79632,15 @@ "binop": null }, "value": "then", - "start": 15083, - "end": 15087, + "start": 15120, + "end": 15124, "loc": { "start": { - "line": 380, + "line": 381, "column": 36 }, "end": { - "line": 380, + "line": 381, "column": 40 } } @@ -79272,15 +79657,15 @@ "postfix": false, "binop": null }, - "start": 15087, - "end": 15088, + "start": 15124, + "end": 15125, "loc": { "start": { - "line": 380, + "line": 381, "column": 40 }, "end": { - "line": 380, + "line": 381, "column": 41 } } @@ -79297,15 +79682,15 @@ "postfix": false, "binop": null }, - "start": 15088, - "end": 15089, + "start": 15125, + "end": 15126, "loc": { "start": { - "line": 380, + "line": 381, "column": 41 }, "end": { - "line": 380, + "line": 381, "column": 42 } } @@ -79322,15 +79707,15 @@ "postfix": false, "binop": null }, - "start": 15089, - "end": 15090, + "start": 15126, + "end": 15127, "loc": { "start": { - "line": 380, + "line": 381, "column": 42 }, "end": { - "line": 380, + "line": 381, "column": 43 } } @@ -79348,15 +79733,15 @@ "binop": null, "updateContext": null }, - "start": 15091, - "end": 15093, + "start": 15128, + "end": 15130, "loc": { "start": { - "line": 380, + "line": 381, "column": 44 }, "end": { - "line": 380, + "line": 381, "column": 46 } } @@ -79373,15 +79758,15 @@ "postfix": false, "binop": null }, - "start": 15094, - "end": 15095, + "start": 15131, + "end": 15132, "loc": { "start": { - "line": 380, + "line": 381, "column": 47 }, "end": { - "line": 380, + "line": 381, "column": 48 } } @@ -79399,15 +79784,15 @@ "binop": null }, "value": "log", - "start": 15117, - "end": 15120, + "start": 15154, + "end": 15157, "loc": { "start": { - "line": 382, + "line": 383, "column": 20 }, "end": { - "line": 382, + "line": 383, "column": 23 } } @@ -79424,15 +79809,15 @@ "postfix": false, "binop": null }, - "start": 15120, - "end": 15121, + "start": 15157, + "end": 15158, "loc": { "start": { - "line": 382, + "line": 383, "column": 23 }, "end": { - "line": 382, + "line": 383, "column": 24 } } @@ -79451,15 +79836,15 @@ "updateContext": null }, "value": "XKT document built OK. Writing to XKT file...", - "start": 15121, - "end": 15168, + "start": 15158, + "end": 15205, "loc": { "start": { - "line": 382, + "line": 383, "column": 24 }, "end": { - "line": 382, + "line": 383, "column": 71 } } @@ -79476,15 +79861,15 @@ "postfix": false, "binop": null }, - "start": 15168, - "end": 15169, + "start": 15205, + "end": 15206, "loc": { "start": { - "line": 382, + "line": 383, "column": 71 }, "end": { - "line": 382, + "line": 383, "column": 72 } } @@ -79502,15 +79887,15 @@ "binop": null, "updateContext": null }, - "start": 15169, - "end": 15170, + "start": 15206, + "end": 15207, "loc": { "start": { - "line": 382, + "line": 383, "column": 72 }, "end": { - "line": 382, + "line": 383, "column": 73 } } @@ -79530,15 +79915,15 @@ "updateContext": null }, "value": "const", - "start": 15192, - "end": 15197, + "start": 15229, + "end": 15234, "loc": { "start": { - "line": 384, + "line": 385, "column": 20 }, "end": { - "line": 384, + "line": 385, "column": 25 } } @@ -79556,15 +79941,15 @@ "binop": null }, "value": "xktArrayBuffer", - "start": 15198, - "end": 15212, + "start": 15235, + "end": 15249, "loc": { "start": { - "line": 384, + "line": 385, "column": 26 }, "end": { - "line": 384, + "line": 385, "column": 40 } } @@ -79583,15 +79968,15 @@ "updateContext": null }, "value": "=", - "start": 15213, - "end": 15214, + "start": 15250, + "end": 15251, "loc": { "start": { - "line": 384, + "line": 385, "column": 41 }, "end": { - "line": 384, + "line": 385, "column": 42 } } @@ -79609,15 +79994,15 @@ "binop": null }, "value": "writeXKTModelToArrayBuffer", - "start": 15215, - "end": 15241, + "start": 15252, + "end": 15278, "loc": { "start": { - "line": 384, + "line": 385, "column": 43 }, "end": { - "line": 384, + "line": 385, "column": 69 } } @@ -79634,15 +80019,15 @@ "postfix": false, "binop": null }, - "start": 15241, - "end": 15242, + "start": 15278, + "end": 15279, "loc": { "start": { - "line": 384, + "line": 385, "column": 69 }, "end": { - "line": 384, + "line": 385, "column": 70 } } @@ -79660,15 +80045,15 @@ "binop": null }, "value": "xktModel", - "start": 15242, - "end": 15250, + "start": 15279, + "end": 15287, "loc": { "start": { - "line": 384, + "line": 385, "column": 70 }, "end": { - "line": 384, + "line": 385, "column": 78 } } @@ -79686,15 +80071,15 @@ "binop": null, "updateContext": null }, - "start": 15250, - "end": 15251, + "start": 15287, + "end": 15288, "loc": { "start": { - "line": 384, + "line": 385, "column": 78 }, "end": { - "line": 384, + "line": 385, "column": 79 } } @@ -79712,15 +80097,15 @@ "binop": null }, "value": "metaModelJSON", - "start": 15252, - "end": 15265, + "start": 15289, + "end": 15302, "loc": { "start": { - "line": 384, + "line": 385, "column": 80 }, "end": { - "line": 384, + "line": 385, "column": 93 } } @@ -79738,15 +80123,15 @@ "binop": null, "updateContext": null }, - "start": 15265, - "end": 15266, + "start": 15302, + "end": 15303, "loc": { "start": { - "line": 384, + "line": 385, "column": 93 }, "end": { - "line": 384, + "line": 385, "column": 94 } } @@ -79764,15 +80149,15 @@ "binop": null }, "value": "stats", - "start": 15267, - "end": 15272, + "start": 15304, + "end": 15309, "loc": { "start": { - "line": 384, + "line": 385, "column": 95 }, "end": { - "line": 384, + "line": 385, "column": 100 } } @@ -79790,15 +80175,15 @@ "binop": null, "updateContext": null }, - "start": 15272, - "end": 15273, + "start": 15309, + "end": 15310, "loc": { "start": { - "line": 384, + "line": 385, "column": 100 }, "end": { - "line": 384, + "line": 385, "column": 101 } } @@ -79815,15 +80200,15 @@ "postfix": false, "binop": null }, - "start": 15274, - "end": 15275, + "start": 15311, + "end": 15312, "loc": { "start": { - "line": 384, + "line": 385, "column": 102 }, "end": { - "line": 384, + "line": 385, "column": 103 } } @@ -79841,15 +80226,15 @@ "binop": null }, "value": "zip", - "start": 15275, - "end": 15278, + "start": 15312, + "end": 15315, "loc": { "start": { - "line": 384, + "line": 385, "column": 103 }, "end": { - "line": 384, + "line": 385, "column": 106 } } @@ -79867,23 +80252,22 @@ "binop": null, "updateContext": null }, - "start": 15278, - "end": 15279, + "start": 15315, + "end": 15316, "loc": { "start": { - "line": 384, + "line": 385, "column": 106 }, "end": { - "line": 384, + "line": 385, "column": 107 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -79891,20 +80275,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 15280, - "end": 15284, + "value": "zip", + "start": 15317, + "end": 15320, "loc": { "start": { - "line": 384, + "line": 385, "column": 108 }, "end": { - "line": 384, - "column": 112 + "line": 385, + "column": 111 } } }, @@ -79920,16 +80303,16 @@ "postfix": false, "binop": null }, - "start": 15284, - "end": 15285, + "start": 15320, + "end": 15321, "loc": { "start": { - "line": 384, - "column": 112 + "line": 385, + "column": 111 }, "end": { - "line": 384, - "column": 113 + "line": 385, + "column": 112 } } }, @@ -79945,19 +80328,280 @@ "postfix": false, "binop": null }, - "start": 15285, - "end": 15286, + "start": 15321, + "end": 15322, + "loc": { + "start": { + "line": 385, + "column": 112 + }, + "end": { + "line": 385, + "column": 113 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15322, + "end": 15323, "loc": { "start": { - "line": 384, + "line": 385, "column": 113 }, "end": { - "line": 384, + "line": 385, "column": 114 } } }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 15345, + "end": 15350, + "loc": { + "start": { + "line": 387, + "column": 20 + }, + "end": { + "line": 387, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xktContent", + "start": 15351, + "end": 15361, + "loc": { + "start": { + "line": 387, + "column": 26 + }, + "end": { + "line": 387, + "column": 36 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 15362, + "end": 15363, + "loc": { + "start": { + "line": 387, + "column": 37 + }, + "end": { + "line": 387, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Buffer", + "start": 15364, + "end": 15370, + "loc": { + "start": { + "line": 387, + "column": 39 + }, + "end": { + "line": 387, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15370, + "end": 15371, + "loc": { + "start": { + "line": 387, + "column": 45 + }, + "end": { + "line": 387, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 15371, + "end": 15375, + "loc": { + "start": { + "line": 387, + "column": 46 + }, + "end": { + "line": 387, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15375, + "end": 15376, + "loc": { + "start": { + "line": 387, + "column": 50 + }, + "end": { + "line": 387, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xktArrayBuffer", + "start": 15376, + "end": 15390, + "loc": { + "start": { + "line": 387, + "column": 51 + }, + "end": { + "line": 387, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15390, + "end": 15391, + "loc": { + "start": { + "line": 387, + "column": 65 + }, + "end": { + "line": 387, + "column": 66 + } + } + }, { "type": { "label": ";", @@ -79971,16 +80615,16 @@ "binop": null, "updateContext": null }, - "start": 15286, - "end": 15287, + "start": 15391, + "end": 15392, "loc": { "start": { - "line": 384, - "column": 114 + "line": 387, + "column": 66 }, "end": { - "line": 384, - "column": 115 + "line": 387, + "column": 67 } } }, @@ -79999,276 +80643,15 @@ "updateContext": null }, "value": "const", - "start": 15309, - "end": 15314, + "start": 15414, + "end": 15419, "loc": { "start": { - "line": 386, + "line": 389, "column": 20 }, "end": { - "line": 386, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "xktContent", - "start": 15315, - "end": 15325, - "loc": { - "start": { - "line": 386, - "column": 26 - }, - "end": { - "line": 386, - "column": 36 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 15326, - "end": 15327, - "loc": { - "start": { - "line": 386, - "column": 37 - }, - "end": { - "line": 386, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Buffer", - "start": 15328, - "end": 15334, - "loc": { - "start": { - "line": 386, - "column": 39 - }, - "end": { - "line": 386, - "column": 45 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15334, - "end": 15335, - "loc": { - "start": { - "line": 386, - "column": 45 - }, - "end": { - "line": 386, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 15335, - "end": 15339, - "loc": { - "start": { - "line": 386, - "column": 46 - }, - "end": { - "line": 386, - "column": 50 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15339, - "end": 15340, - "loc": { - "start": { - "line": 386, - "column": 50 - }, - "end": { - "line": 386, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "xktArrayBuffer", - "start": 15340, - "end": 15354, - "loc": { - "start": { - "line": 386, - "column": 51 - }, - "end": { - "line": 386, - "column": 65 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15354, - "end": 15355, - "loc": { - "start": { - "line": 386, - "column": 65 - }, - "end": { - "line": 386, - "column": 66 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15355, - "end": 15356, - "loc": { - "start": { - "line": 386, - "column": 66 - }, - "end": { - "line": 386, - "column": 67 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15378, - "end": 15383, - "loc": { - "start": { - "line": 388, - "column": 20 - }, - "end": { - "line": 388, + "line": 389, "column": 25 } } @@ -80286,15 +80669,15 @@ "binop": null }, "value": "targetFileSizeBytes", - "start": 15384, - "end": 15403, + "start": 15420, + "end": 15439, "loc": { "start": { - "line": 388, + "line": 389, "column": 26 }, "end": { - "line": 388, + "line": 389, "column": 45 } } @@ -80313,15 +80696,15 @@ "updateContext": null }, "value": "=", - "start": 15404, - "end": 15405, + "start": 15440, + "end": 15441, "loc": { "start": { - "line": 388, + "line": 389, "column": 46 }, "end": { - "line": 388, + "line": 389, "column": 47 } } @@ -80339,15 +80722,15 @@ "binop": null }, "value": "xktArrayBuffer", - "start": 15406, - "end": 15420, + "start": 15442, + "end": 15456, "loc": { "start": { - "line": 388, + "line": 389, "column": 48 }, "end": { - "line": 388, + "line": 389, "column": 62 } } @@ -80365,15 +80748,15 @@ "binop": null, "updateContext": null }, - "start": 15420, - "end": 15421, + "start": 15456, + "end": 15457, "loc": { "start": { - "line": 388, + "line": 389, "column": 62 }, "end": { - "line": 388, + "line": 389, "column": 63 } } @@ -80391,15 +80774,15 @@ "binop": null }, "value": "byteLength", - "start": 15421, - "end": 15431, + "start": 15457, + "end": 15467, "loc": { "start": { - "line": 388, + "line": 389, "column": 63 }, "end": { - "line": 388, + "line": 389, "column": 73 } } @@ -80417,15 +80800,15 @@ "binop": null, "updateContext": null }, - "start": 15431, - "end": 15432, + "start": 15467, + "end": 15468, "loc": { "start": { - "line": 388, + "line": 389, "column": 73 }, "end": { - "line": 388, + "line": 389, "column": 74 } } @@ -80443,15 +80826,15 @@ "binop": null }, "value": "stats", - "start": 15454, - "end": 15459, + "start": 15490, + "end": 15495, "loc": { "start": { - "line": 390, + "line": 391, "column": 20 }, "end": { - "line": 390, + "line": 391, "column": 25 } } @@ -80469,15 +80852,15 @@ "binop": null, "updateContext": null }, - "start": 15459, - "end": 15460, + "start": 15495, + "end": 15496, "loc": { "start": { - "line": 390, + "line": 391, "column": 25 }, "end": { - "line": 390, + "line": 391, "column": 26 } } @@ -80495,15 +80878,15 @@ "binop": null }, "value": "minTileSize", - "start": 15460, - "end": 15471, + "start": 15496, + "end": 15507, "loc": { "start": { - "line": 390, + "line": 391, "column": 26 }, "end": { - "line": 390, + "line": 391, "column": 37 } } @@ -80522,15 +80905,15 @@ "updateContext": null }, "value": "=", - "start": 15472, - "end": 15473, + "start": 15508, + "end": 15509, "loc": { "start": { - "line": 390, + "line": 391, "column": 38 }, "end": { - "line": 390, + "line": 391, "column": 39 } } @@ -80548,15 +80931,15 @@ "binop": null }, "value": "minTileSize", - "start": 15474, - "end": 15485, + "start": 15510, + "end": 15521, "loc": { "start": { - "line": 390, + "line": 391, "column": 40 }, "end": { - "line": 390, + "line": 391, "column": 51 } } @@ -80575,15 +80958,15 @@ "updateContext": null }, "value": "||", - "start": 15486, - "end": 15488, + "start": 15522, + "end": 15524, "loc": { "start": { - "line": 390, + "line": 391, "column": 52 }, "end": { - "line": 390, + "line": 391, "column": 54 } } @@ -80602,15 +80985,15 @@ "updateContext": null }, "value": 200, - "start": 15489, - "end": 15492, + "start": 15525, + "end": 15528, "loc": { "start": { - "line": 390, + "line": 391, "column": 55 }, "end": { - "line": 390, + "line": 391, "column": 58 } } @@ -80628,15 +81011,15 @@ "binop": null, "updateContext": null }, - "start": 15492, - "end": 15493, + "start": 15528, + "end": 15529, "loc": { "start": { - "line": 390, + "line": 391, "column": 58 }, "end": { - "line": 390, + "line": 391, "column": 59 } } @@ -80654,15 +81037,15 @@ "binop": null }, "value": "stats", - "start": 15514, - "end": 15519, + "start": 15550, + "end": 15555, "loc": { "start": { - "line": 391, + "line": 392, "column": 20 }, "end": { - "line": 391, + "line": 392, "column": 25 } } @@ -80680,15 +81063,15 @@ "binop": null, "updateContext": null }, - "start": 15519, - "end": 15520, + "start": 15555, + "end": 15556, "loc": { "start": { - "line": 391, + "line": 392, "column": 25 }, "end": { - "line": 391, + "line": 392, "column": 26 } } @@ -80706,15 +81089,15 @@ "binop": null }, "value": "sourceSize", - "start": 15520, - "end": 15530, + "start": 15556, + "end": 15566, "loc": { "start": { - "line": 391, + "line": 392, "column": 26 }, "end": { - "line": 391, + "line": 392, "column": 36 } } @@ -80733,15 +81116,15 @@ "updateContext": null }, "value": "=", - "start": 15531, - "end": 15532, + "start": 15567, + "end": 15568, "loc": { "start": { - "line": 391, + "line": 392, "column": 37 }, "end": { - "line": 391, + "line": 392, "column": 38 } } @@ -80758,15 +81141,15 @@ "postfix": false, "binop": null }, - "start": 15533, - "end": 15534, + "start": 15569, + "end": 15570, "loc": { "start": { - "line": 391, + "line": 392, "column": 39 }, "end": { - "line": 391, + "line": 392, "column": 40 } } @@ -80784,15 +81167,15 @@ "binop": null }, "value": "sourceFileSizeBytes", - "start": 15534, - "end": 15553, + "start": 15570, + "end": 15589, "loc": { "start": { - "line": 391, + "line": 392, "column": 40 }, "end": { - "line": 391, + "line": 392, "column": 59 } } @@ -80811,15 +81194,15 @@ "updateContext": null }, "value": "/", - "start": 15554, - "end": 15555, + "start": 15590, + "end": 15591, "loc": { "start": { - "line": 391, + "line": 392, "column": 60 }, "end": { - "line": 391, + "line": 392, "column": 61 } } @@ -80838,15 +81221,15 @@ "updateContext": null }, "value": 1000, - "start": 15556, - "end": 15560, + "start": 15592, + "end": 15596, "loc": { "start": { - "line": 391, + "line": 392, "column": 62 }, "end": { - "line": 391, + "line": 392, "column": 66 } } @@ -80863,15 +81246,15 @@ "postfix": false, "binop": null }, - "start": 15560, - "end": 15561, + "start": 15596, + "end": 15597, "loc": { "start": { - "line": 391, + "line": 392, "column": 66 }, "end": { - "line": 391, + "line": 392, "column": 67 } } @@ -80889,15 +81272,15 @@ "binop": null, "updateContext": null }, - "start": 15561, - "end": 15562, + "start": 15597, + "end": 15598, "loc": { "start": { - "line": 391, + "line": 392, "column": 67 }, "end": { - "line": 391, + "line": 392, "column": 68 } } @@ -80915,15 +81298,15 @@ "binop": null }, "value": "toFixed", - "start": 15562, - "end": 15569, + "start": 15598, + "end": 15605, "loc": { "start": { - "line": 391, + "line": 392, "column": 68 }, "end": { - "line": 391, + "line": 392, "column": 75 } } @@ -80940,15 +81323,15 @@ "postfix": false, "binop": null }, - "start": 15569, - "end": 15570, + "start": 15605, + "end": 15606, "loc": { "start": { - "line": 391, + "line": 392, "column": 75 }, "end": { - "line": 391, + "line": 392, "column": 76 } } @@ -80967,15 +81350,15 @@ "updateContext": null }, "value": 2, - "start": 15570, - "end": 15571, + "start": 15606, + "end": 15607, "loc": { "start": { - "line": 391, + "line": 392, "column": 76 }, "end": { - "line": 391, + "line": 392, "column": 77 } } @@ -80992,15 +81375,15 @@ "postfix": false, "binop": null }, - "start": 15571, - "end": 15572, + "start": 15607, + "end": 15608, "loc": { "start": { - "line": 391, + "line": 392, "column": 77 }, "end": { - "line": 391, + "line": 392, "column": 78 } } @@ -81018,15 +81401,15 @@ "binop": null, "updateContext": null }, - "start": 15572, - "end": 15573, + "start": 15608, + "end": 15609, "loc": { "start": { - "line": 391, + "line": 392, "column": 78 }, "end": { - "line": 391, + "line": 392, "column": 79 } } @@ -81044,15 +81427,15 @@ "binop": null }, "value": "stats", - "start": 15594, - "end": 15599, + "start": 15630, + "end": 15635, "loc": { "start": { - "line": 392, + "line": 393, "column": 20 }, "end": { - "line": 392, + "line": 393, "column": 25 } } @@ -81070,15 +81453,15 @@ "binop": null, "updateContext": null }, - "start": 15599, - "end": 15600, + "start": 15635, + "end": 15636, "loc": { "start": { - "line": 392, + "line": 393, "column": 25 }, "end": { - "line": 392, + "line": 393, "column": 26 } } @@ -81096,15 +81479,15 @@ "binop": null }, "value": "xktSize", - "start": 15600, - "end": 15607, + "start": 15636, + "end": 15643, "loc": { "start": { - "line": 392, + "line": 393, "column": 26 }, "end": { - "line": 392, + "line": 393, "column": 33 } } @@ -81123,15 +81506,15 @@ "updateContext": null }, "value": "=", - "start": 15608, - "end": 15609, + "start": 15644, + "end": 15645, "loc": { "start": { - "line": 392, + "line": 393, "column": 34 }, "end": { - "line": 392, + "line": 393, "column": 35 } } @@ -81148,15 +81531,15 @@ "postfix": false, "binop": null }, - "start": 15610, - "end": 15611, + "start": 15646, + "end": 15647, "loc": { "start": { - "line": 392, + "line": 393, "column": 36 }, "end": { - "line": 392, + "line": 393, "column": 37 } } @@ -81174,15 +81557,15 @@ "binop": null }, "value": "targetFileSizeBytes", - "start": 15611, - "end": 15630, + "start": 15647, + "end": 15666, "loc": { "start": { - "line": 392, + "line": 393, "column": 37 }, "end": { - "line": 392, + "line": 393, "column": 56 } } @@ -81201,15 +81584,15 @@ "updateContext": null }, "value": "/", - "start": 15631, - "end": 15632, + "start": 15667, + "end": 15668, "loc": { "start": { - "line": 392, + "line": 393, "column": 57 }, "end": { - "line": 392, + "line": 393, "column": 58 } } @@ -81228,15 +81611,15 @@ "updateContext": null }, "value": 1000, - "start": 15633, - "end": 15637, + "start": 15669, + "end": 15673, "loc": { "start": { - "line": 392, + "line": 393, "column": 59 }, "end": { - "line": 392, + "line": 393, "column": 63 } } @@ -81253,15 +81636,15 @@ "postfix": false, "binop": null }, - "start": 15637, - "end": 15638, + "start": 15673, + "end": 15674, "loc": { "start": { - "line": 392, + "line": 393, "column": 63 }, "end": { - "line": 392, + "line": 393, "column": 64 } } @@ -81279,15 +81662,15 @@ "binop": null, "updateContext": null }, - "start": 15638, - "end": 15639, + "start": 15674, + "end": 15675, "loc": { "start": { - "line": 392, + "line": 393, "column": 64 }, "end": { - "line": 392, + "line": 393, "column": 65 } } @@ -81305,15 +81688,15 @@ "binop": null }, "value": "toFixed", - "start": 15639, - "end": 15646, + "start": 15675, + "end": 15682, "loc": { "start": { - "line": 392, + "line": 393, "column": 65 }, "end": { - "line": 392, + "line": 393, "column": 72 } } @@ -81330,15 +81713,15 @@ "postfix": false, "binop": null }, - "start": 15646, - "end": 15647, + "start": 15682, + "end": 15683, "loc": { "start": { - "line": 392, + "line": 393, "column": 72 }, "end": { - "line": 392, + "line": 393, "column": 73 } } @@ -81357,15 +81740,15 @@ "updateContext": null }, "value": 2, - "start": 15647, - "end": 15648, + "start": 15683, + "end": 15684, "loc": { "start": { - "line": 392, + "line": 393, "column": 73 }, "end": { - "line": 392, + "line": 393, "column": 74 } } @@ -81382,15 +81765,15 @@ "postfix": false, "binop": null }, - "start": 15648, - "end": 15649, + "start": 15684, + "end": 15685, "loc": { "start": { - "line": 392, + "line": 393, "column": 74 }, "end": { - "line": 392, + "line": 393, "column": 75 } } @@ -81408,15 +81791,15 @@ "binop": null, "updateContext": null }, - "start": 15649, - "end": 15650, + "start": 15685, + "end": 15686, "loc": { "start": { - "line": 392, + "line": 393, "column": 75 }, "end": { - "line": 392, + "line": 393, "column": 76 } } @@ -81434,15 +81817,15 @@ "binop": null }, "value": "stats", - "start": 15671, - "end": 15676, + "start": 15707, + "end": 15712, "loc": { "start": { - "line": 393, + "line": 394, "column": 20 }, "end": { - "line": 393, + "line": 394, "column": 25 } } @@ -81460,15 +81843,15 @@ "binop": null, "updateContext": null }, - "start": 15676, - "end": 15677, + "start": 15712, + "end": 15713, "loc": { "start": { - "line": 393, + "line": 394, "column": 25 }, "end": { - "line": 393, + "line": 394, "column": 26 } } @@ -81486,15 +81869,15 @@ "binop": null }, "value": "xktVersion", - "start": 15677, - "end": 15687, + "start": 15713, + "end": 15723, "loc": { "start": { - "line": 393, + "line": 394, "column": 26 }, "end": { - "line": 393, + "line": 394, "column": 36 } } @@ -81513,15 +81896,15 @@ "updateContext": null }, "value": "=", - "start": 15688, - "end": 15689, + "start": 15724, + "end": 15725, "loc": { "start": { - "line": 393, + "line": 394, "column": 37 }, "end": { - "line": 393, + "line": 394, "column": 38 } } @@ -81538,24 +81921,24 @@ "postfix": false, "binop": null }, - "value": "XKT_INFO", - "start": 15690, - "end": 15698, + "value": "zip", + "start": 15726, + "end": 15729, "loc": { "start": { - "line": 393, + "line": 394, "column": 39 }, "end": { - "line": 393, - "column": 47 + "line": 394, + "column": 42 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "?", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -81565,22 +81948,22 @@ "binop": null, "updateContext": null }, - "start": 15698, - "end": 15699, + "start": 15730, + "end": 15731, "loc": { "start": { - "line": 393, - "column": 47 + "line": 394, + "column": 43 }, "end": { - "line": 393, - "column": 48 + "line": 394, + "column": 44 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -81588,25 +81971,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "xktVersion", - "start": 15699, - "end": 15709, + "value": 10, + "start": 15732, + "end": 15734, "loc": { "start": { - "line": 393, - "column": 48 + "line": 394, + "column": 45 }, "end": { - "line": 393, - "column": 58 + "line": 394, + "column": 47 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -81617,16 +82001,16 @@ "binop": null, "updateContext": null }, - "start": 15709, - "end": 15710, + "start": 15735, + "end": 15736, "loc": { "start": { - "line": 393, - "column": 58 + "line": 394, + "column": 48 }, "end": { - "line": 393, - "column": 59 + "line": 394, + "column": 49 } } }, @@ -81642,17 +82026,17 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 15731, - "end": 15736, + "value": "XKT_INFO", + "start": 15737, + "end": 15745, "loc": { "start": { "line": 394, - "column": 20 + "column": 50 }, "end": { "line": 394, - "column": 25 + "column": 58 } } }, @@ -81669,16 +82053,16 @@ "binop": null, "updateContext": null }, - "start": 15736, - "end": 15737, + "start": 15745, + "end": 15746, "loc": { "start": { "line": 394, - "column": 25 + "column": 58 }, "end": { "line": 394, - "column": 26 + "column": 59 } } }, @@ -81694,51 +82078,50 @@ "postfix": false, "binop": null }, - "value": "compressionRatio", - "start": 15737, - "end": 15753, + "value": "xktVersion", + "start": 15746, + "end": 15756, "loc": { "start": { "line": 394, - "column": 26 + "column": 59 }, "end": { "line": 394, - "column": 42 + "column": 69 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 15754, - "end": 15755, + "start": 15756, + "end": 15757, "loc": { "start": { "line": 394, - "column": 43 + "column": 69 }, "end": { "line": 394, - "column": 44 + "column": 70 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -81747,68 +82130,173 @@ "postfix": false, "binop": null }, - "start": 15756, - "end": 15757, + "value": "stats", + "start": 15778, + "end": 15783, "loc": { "start": { - "line": 394, - "column": 45 + "line": 395, + "column": 20 }, "end": { - "line": 394, - "column": 46 + "line": 395, + "column": 25 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "sourceFileSizeBytes", - "start": 15757, - "end": 15776, + "start": 15783, + "end": 15784, "loc": { "start": { - "line": 394, - "column": 46 + "line": 395, + "column": 25 }, "end": { - "line": 394, - "column": 65 + "line": 395, + "column": 26 } } }, { "type": { - "label": "/", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null + }, + "value": "compressionRatio", + "start": 15784, + "end": 15800, + "loc": { + "start": { + "line": 395, + "column": 26 + }, + "end": { + "line": 395, + "column": 42 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 15801, + "end": 15802, + "loc": { + "start": { + "line": 395, + "column": 43 + }, + "end": { + "line": 395, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 15803, + "end": 15804, + "loc": { + "start": { + "line": 395, + "column": 45 + }, + "end": { + "line": 395, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sourceFileSizeBytes", + "start": 15804, + "end": 15823, + "loc": { + "start": { + "line": 395, + "column": 46 + }, + "end": { + "line": 395, + "column": 65 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null }, "value": "/", - "start": 15777, - "end": 15778, + "start": 15824, + "end": 15825, "loc": { "start": { - "line": 394, + "line": 395, "column": 66 }, "end": { - "line": 394, + "line": 395, "column": 67 } } @@ -81826,15 +82314,15 @@ "binop": null }, "value": "targetFileSizeBytes", - "start": 15779, - "end": 15798, + "start": 15826, + "end": 15845, "loc": { "start": { - "line": 394, + "line": 395, "column": 68 }, "end": { - "line": 394, + "line": 395, "column": 87 } } @@ -81851,15 +82339,15 @@ "postfix": false, "binop": null }, - "start": 15798, - "end": 15799, + "start": 15845, + "end": 15846, "loc": { "start": { - "line": 394, + "line": 395, "column": 87 }, "end": { - "line": 394, + "line": 395, "column": 88 } } @@ -81877,15 +82365,15 @@ "binop": null, "updateContext": null }, - "start": 15799, - "end": 15800, + "start": 15846, + "end": 15847, "loc": { "start": { - "line": 394, + "line": 395, "column": 88 }, "end": { - "line": 394, + "line": 395, "column": 89 } } @@ -81903,15 +82391,15 @@ "binop": null }, "value": "toFixed", - "start": 15800, - "end": 15807, + "start": 15847, + "end": 15854, "loc": { "start": { - "line": 394, + "line": 395, "column": 89 }, "end": { - "line": 394, + "line": 395, "column": 96 } } @@ -81928,15 +82416,15 @@ "postfix": false, "binop": null }, - "start": 15807, - "end": 15808, + "start": 15854, + "end": 15855, "loc": { "start": { - "line": 394, + "line": 395, "column": 96 }, "end": { - "line": 394, + "line": 395, "column": 97 } } @@ -81955,15 +82443,15 @@ "updateContext": null }, "value": 2, - "start": 15808, - "end": 15809, + "start": 15855, + "end": 15856, "loc": { "start": { - "line": 394, + "line": 395, "column": 97 }, "end": { - "line": 394, + "line": 395, "column": 98 } } @@ -81980,15 +82468,15 @@ "postfix": false, "binop": null }, - "start": 15809, - "end": 15810, + "start": 15856, + "end": 15857, "loc": { "start": { - "line": 394, + "line": 395, "column": 98 }, "end": { - "line": 394, + "line": 395, "column": 99 } } @@ -82006,15 +82494,15 @@ "binop": null, "updateContext": null }, - "start": 15810, - "end": 15811, + "start": 15857, + "end": 15858, "loc": { "start": { - "line": 394, + "line": 395, "column": 99 }, "end": { - "line": 394, + "line": 395, "column": 100 } } @@ -82032,15 +82520,15 @@ "binop": null }, "value": "stats", - "start": 15832, - "end": 15837, + "start": 15879, + "end": 15884, "loc": { "start": { - "line": 395, + "line": 396, "column": 20 }, "end": { - "line": 395, + "line": 396, "column": 25 } } @@ -82058,15 +82546,15 @@ "binop": null, "updateContext": null }, - "start": 15837, - "end": 15838, + "start": 15884, + "end": 15885, "loc": { "start": { - "line": 395, + "line": 396, "column": 25 }, "end": { - "line": 395, + "line": 396, "column": 26 } } @@ -82084,15 +82572,15 @@ "binop": null }, "value": "conversionTime", - "start": 15838, - "end": 15852, + "start": 15885, + "end": 15899, "loc": { "start": { - "line": 395, + "line": 396, "column": 26 }, "end": { - "line": 395, + "line": 396, "column": 40 } } @@ -82111,15 +82599,15 @@ "updateContext": null }, "value": "=", - "start": 15853, - "end": 15854, + "start": 15900, + "end": 15901, "loc": { "start": { - "line": 395, + "line": 396, "column": 41 }, "end": { - "line": 395, + "line": 396, "column": 42 } } @@ -82136,15 +82624,15 @@ "postfix": false, "binop": null }, - "start": 15855, - "end": 15856, + "start": 15902, + "end": 15903, "loc": { "start": { - "line": 395, + "line": 396, "column": 43 }, "end": { - "line": 395, + "line": 396, "column": 44 } } @@ -82161,15 +82649,15 @@ "postfix": false, "binop": null }, - "start": 15856, - "end": 15857, + "start": 15903, + "end": 15904, "loc": { "start": { - "line": 395, + "line": 396, "column": 44 }, "end": { - "line": 395, + "line": 396, "column": 45 } } @@ -82189,15 +82677,15 @@ "updateContext": null }, "value": "new", - "start": 15857, - "end": 15860, + "start": 15904, + "end": 15907, "loc": { "start": { - "line": 395, + "line": 396, "column": 45 }, "end": { - "line": 395, + "line": 396, "column": 48 } } @@ -82215,15 +82703,15 @@ "binop": null }, "value": "Date", - "start": 15861, - "end": 15865, + "start": 15908, + "end": 15912, "loc": { "start": { - "line": 395, + "line": 396, "column": 49 }, "end": { - "line": 395, + "line": 396, "column": 53 } } @@ -82240,15 +82728,15 @@ "postfix": false, "binop": null }, - "start": 15865, - "end": 15866, + "start": 15912, + "end": 15913, "loc": { "start": { - "line": 395, + "line": 396, "column": 53 }, "end": { - "line": 395, + "line": 396, "column": 54 } } @@ -82265,15 +82753,15 @@ "postfix": false, "binop": null }, - "start": 15866, - "end": 15867, + "start": 15913, + "end": 15914, "loc": { "start": { - "line": 395, + "line": 396, "column": 54 }, "end": { - "line": 395, + "line": 396, "column": 55 } } @@ -82292,15 +82780,15 @@ "updateContext": null }, "value": "-", - "start": 15868, - "end": 15869, + "start": 15915, + "end": 15916, "loc": { "start": { - "line": 395, + "line": 396, "column": 56 }, "end": { - "line": 395, + "line": 396, "column": 57 } } @@ -82318,15 +82806,15 @@ "binop": null }, "value": "startTime", - "start": 15870, - "end": 15879, + "start": 15917, + "end": 15926, "loc": { "start": { - "line": 395, + "line": 396, "column": 58 }, "end": { - "line": 395, + "line": 396, "column": 67 } } @@ -82343,15 +82831,15 @@ "postfix": false, "binop": null }, - "start": 15879, - "end": 15880, + "start": 15926, + "end": 15927, "loc": { "start": { - "line": 395, + "line": 396, "column": 67 }, "end": { - "line": 395, + "line": 396, "column": 68 } } @@ -82370,15 +82858,15 @@ "updateContext": null }, "value": "/", - "start": 15881, - "end": 15882, + "start": 15928, + "end": 15929, "loc": { "start": { - "line": 395, + "line": 396, "column": 69 }, "end": { - "line": 395, + "line": 396, "column": 70 } } @@ -82397,15 +82885,15 @@ "updateContext": null }, "value": 1000, - "start": 15883, - "end": 15889, + "start": 15930, + "end": 15936, "loc": { "start": { - "line": 395, + "line": 396, "column": 71 }, "end": { - "line": 395, + "line": 396, "column": 77 } } @@ -82422,15 +82910,15 @@ "postfix": false, "binop": null }, - "start": 15889, - "end": 15890, + "start": 15936, + "end": 15937, "loc": { "start": { - "line": 395, + "line": 396, "column": 77 }, "end": { - "line": 395, + "line": 396, "column": 78 } } @@ -82448,15 +82936,15 @@ "binop": null, "updateContext": null }, - "start": 15890, - "end": 15891, + "start": 15937, + "end": 15938, "loc": { "start": { - "line": 395, + "line": 396, "column": 78 }, "end": { - "line": 395, + "line": 396, "column": 79 } } @@ -82474,15 +82962,15 @@ "binop": null }, "value": "toFixed", - "start": 15891, - "end": 15898, + "start": 15938, + "end": 15945, "loc": { "start": { - "line": 395, + "line": 396, "column": 79 }, "end": { - "line": 395, + "line": 396, "column": 86 } } @@ -82499,15 +82987,15 @@ "postfix": false, "binop": null }, - "start": 15898, - "end": 15899, + "start": 15945, + "end": 15946, "loc": { "start": { - "line": 395, + "line": 396, "column": 86 }, "end": { - "line": 395, + "line": 396, "column": 87 } } @@ -82526,15 +83014,15 @@ "updateContext": null }, "value": 2, - "start": 15899, - "end": 15900, + "start": 15946, + "end": 15947, "loc": { "start": { - "line": 395, + "line": 396, "column": 87 }, "end": { - "line": 395, + "line": 396, "column": 88 } } @@ -82551,15 +83039,15 @@ "postfix": false, "binop": null }, - "start": 15900, - "end": 15901, + "start": 15947, + "end": 15948, "loc": { "start": { - "line": 395, + "line": 396, "column": 88 }, "end": { - "line": 395, + "line": 396, "column": 89 } } @@ -82577,15 +83065,15 @@ "binop": null, "updateContext": null }, - "start": 15901, - "end": 15902, + "start": 15948, + "end": 15949, "loc": { "start": { - "line": 395, + "line": 396, "column": 89 }, "end": { - "line": 395, + "line": 396, "column": 90 } } @@ -82603,15 +83091,15 @@ "binop": null }, "value": "stats", - "start": 15923, - "end": 15928, + "start": 15970, + "end": 15975, "loc": { "start": { - "line": 396, + "line": 397, "column": 20 }, "end": { - "line": 396, + "line": 397, "column": 25 } } @@ -82629,15 +83117,15 @@ "binop": null, "updateContext": null }, - "start": 15928, - "end": 15929, + "start": 15975, + "end": 15976, "loc": { "start": { - "line": 396, + "line": 397, "column": 25 }, "end": { - "line": 396, + "line": 397, "column": 26 } } @@ -82655,15 +83143,15 @@ "binop": null }, "value": "aabb", - "start": 15929, - "end": 15933, + "start": 15976, + "end": 15980, "loc": { "start": { - "line": 396, + "line": 397, "column": 26 }, "end": { - "line": 396, + "line": 397, "column": 30 } } @@ -82682,15 +83170,15 @@ "updateContext": null }, "value": "=", - "start": 15934, - "end": 15935, + "start": 15981, + "end": 15982, "loc": { "start": { - "line": 396, + "line": 397, "column": 31 }, "end": { - "line": 396, + "line": 397, "column": 32 } } @@ -82708,15 +83196,15 @@ "binop": null }, "value": "xktModel", - "start": 15936, - "end": 15944, + "start": 15983, + "end": 15991, "loc": { "start": { - "line": 396, + "line": 397, "column": 33 }, "end": { - "line": 396, + "line": 397, "column": 41 } } @@ -82734,15 +83222,15 @@ "binop": null, "updateContext": null }, - "start": 15944, - "end": 15945, + "start": 15991, + "end": 15992, "loc": { "start": { - "line": 396, + "line": 397, "column": 41 }, "end": { - "line": 396, + "line": 397, "column": 42 } } @@ -82760,15 +83248,15 @@ "binop": null }, "value": "aabb", - "start": 15945, - "end": 15949, + "start": 15992, + "end": 15996, "loc": { "start": { - "line": 396, + "line": 397, "column": 42 }, "end": { - "line": 396, + "line": 397, "column": 46 } } @@ -82786,15 +83274,15 @@ "binop": null, "updateContext": null }, - "start": 15949, - "end": 15950, + "start": 15996, + "end": 15997, "loc": { "start": { - "line": 396, + "line": 397, "column": 46 }, "end": { - "line": 396, + "line": 397, "column": 47 } } @@ -82812,15 +83300,15 @@ "binop": null }, "value": "log", - "start": 15971, - "end": 15974, + "start": 16018, + "end": 16021, "loc": { "start": { - "line": 397, + "line": 398, "column": 20 }, "end": { - "line": 397, + "line": 398, "column": 23 } } @@ -82837,15 +83325,15 @@ "postfix": false, "binop": null }, - "start": 15974, - "end": 15975, + "start": 16021, + "end": 16022, "loc": { "start": { - "line": 397, + "line": 398, "column": 23 }, "end": { - "line": 397, + "line": 398, "column": 24 } } @@ -82862,15 +83350,15 @@ "postfix": false, "binop": null }, - "start": 15975, - "end": 15976, + "start": 16022, + "end": 16023, "loc": { "start": { - "line": 397, + "line": 398, "column": 24 }, "end": { - "line": 397, + "line": 398, "column": 25 } } @@ -82889,15 +83377,15 @@ "updateContext": null }, "value": "Converted to: XKT v", - "start": 15976, - "end": 15995, + "start": 16023, + "end": 16042, "loc": { "start": { - "line": 397, + "line": 398, "column": 25 }, "end": { - "line": 397, + "line": 398, "column": 44 } } @@ -82914,15 +83402,15 @@ "postfix": false, "binop": null }, - "start": 15995, - "end": 15997, + "start": 16042, + "end": 16044, "loc": { "start": { - "line": 397, + "line": 398, "column": 44 }, "end": { - "line": 397, + "line": 398, "column": 46 } } @@ -82940,15 +83428,15 @@ "binop": null }, "value": "stats", - "start": 15997, - "end": 16002, + "start": 16044, + "end": 16049, "loc": { "start": { - "line": 397, + "line": 398, "column": 46 }, "end": { - "line": 397, + "line": 398, "column": 51 } } @@ -82966,15 +83454,15 @@ "binop": null, "updateContext": null }, - "start": 16002, - "end": 16003, + "start": 16049, + "end": 16050, "loc": { "start": { - "line": 397, + "line": 398, "column": 51 }, "end": { - "line": 397, + "line": 398, "column": 52 } } @@ -82992,15 +83480,15 @@ "binop": null }, "value": "xktVersion", - "start": 16003, - "end": 16013, + "start": 16050, + "end": 16060, "loc": { "start": { - "line": 397, + "line": 398, "column": 52 }, "end": { - "line": 397, + "line": 398, "column": 62 } } @@ -83017,15 +83505,15 @@ "postfix": false, "binop": null }, - "start": 16013, - "end": 16014, + "start": 16060, + "end": 16061, "loc": { "start": { - "line": 397, + "line": 398, "column": 62 }, "end": { - "line": 397, + "line": 398, "column": 63 } } @@ -83044,15 +83532,15 @@ "updateContext": null }, "value": "", - "start": 16014, - "end": 16014, + "start": 16061, + "end": 16061, "loc": { "start": { - "line": 397, + "line": 398, "column": 63 }, "end": { - "line": 397, + "line": 398, "column": 63 } } @@ -83069,15 +83557,15 @@ "postfix": false, "binop": null }, - "start": 16014, - "end": 16015, + "start": 16061, + "end": 16062, "loc": { "start": { - "line": 397, + "line": 398, "column": 63 }, "end": { - "line": 397, + "line": 398, "column": 64 } } @@ -83094,15 +83582,15 @@ "postfix": false, "binop": null }, - "start": 16015, - "end": 16016, + "start": 16062, + "end": 16063, "loc": { "start": { - "line": 397, + "line": 398, "column": 64 }, "end": { - "line": 397, + "line": 398, "column": 65 } } @@ -83120,15 +83608,15 @@ "binop": null, "updateContext": null }, - "start": 16016, - "end": 16017, + "start": 16063, + "end": 16064, "loc": { "start": { - "line": 397, + "line": 398, "column": 65 }, "end": { - "line": 397, + "line": 398, "column": 66 } } @@ -83148,15 +83636,15 @@ "updateContext": null }, "value": "if", - "start": 16038, - "end": 16040, + "start": 16085, + "end": 16087, "loc": { "start": { - "line": 398, + "line": 399, "column": 20 }, "end": { - "line": 398, + "line": 399, "column": 22 } } @@ -83173,15 +83661,15 @@ "postfix": false, "binop": null }, - "start": 16041, - "end": 16042, + "start": 16088, + "end": 16089, "loc": { "start": { - "line": 398, + "line": 399, "column": 23 }, "end": { - "line": 398, + "line": 399, "column": 24 } } @@ -83199,15 +83687,15 @@ "binop": null }, "value": "includeTypes", - "start": 16042, - "end": 16054, + "start": 16089, + "end": 16101, "loc": { "start": { - "line": 398, + "line": 399, "column": 24 }, "end": { - "line": 398, + "line": 399, "column": 36 } } @@ -83224,15 +83712,15 @@ "postfix": false, "binop": null }, - "start": 16054, - "end": 16055, + "start": 16101, + "end": 16102, "loc": { "start": { - "line": 398, + "line": 399, "column": 36 }, "end": { - "line": 398, + "line": 399, "column": 37 } } @@ -83249,15 +83737,15 @@ "postfix": false, "binop": null }, - "start": 16056, - "end": 16057, + "start": 16103, + "end": 16104, "loc": { "start": { - "line": 398, + "line": 399, "column": 38 }, "end": { - "line": 398, + "line": 399, "column": 39 } } @@ -83275,15 +83763,15 @@ "binop": null }, "value": "log", - "start": 16082, - "end": 16085, + "start": 16129, + "end": 16132, "loc": { "start": { - "line": 399, + "line": 400, "column": 24 }, "end": { - "line": 399, + "line": 400, "column": 27 } } @@ -83300,15 +83788,15 @@ "postfix": false, "binop": null }, - "start": 16085, - "end": 16086, + "start": 16132, + "end": 16133, "loc": { "start": { - "line": 399, + "line": 400, "column": 27 }, "end": { - "line": 399, + "line": 400, "column": 28 } } @@ -83327,15 +83815,15 @@ "updateContext": null }, "value": "Include types: ", - "start": 16086, - "end": 16103, + "start": 16133, + "end": 16150, "loc": { "start": { - "line": 399, + "line": 400, "column": 28 }, "end": { - "line": 399, + "line": 400, "column": 45 } } @@ -83354,15 +83842,15 @@ "updateContext": null }, "value": "+", - "start": 16104, - "end": 16105, + "start": 16151, + "end": 16152, "loc": { "start": { - "line": 399, + "line": 400, "column": 46 }, "end": { - "line": 399, + "line": 400, "column": 47 } } @@ -83379,15 +83867,15 @@ "postfix": false, "binop": null }, - "start": 16106, - "end": 16107, + "start": 16153, + "end": 16154, "loc": { "start": { - "line": 399, + "line": 400, "column": 48 }, "end": { - "line": 399, + "line": 400, "column": 49 } } @@ -83405,15 +83893,15 @@ "binop": null }, "value": "includeTypes", - "start": 16107, - "end": 16119, + "start": 16154, + "end": 16166, "loc": { "start": { - "line": 399, + "line": 400, "column": 49 }, "end": { - "line": 399, + "line": 400, "column": 61 } } @@ -83431,15 +83919,15 @@ "binop": null, "updateContext": null }, - "start": 16120, - "end": 16121, + "start": 16167, + "end": 16168, "loc": { "start": { - "line": 399, + "line": 400, "column": 62 }, "end": { - "line": 399, + "line": 400, "column": 63 } } @@ -83457,15 +83945,15 @@ "binop": null }, "value": "includeTypes", - "start": 16122, - "end": 16134, + "start": 16169, + "end": 16181, "loc": { "start": { - "line": 399, + "line": 400, "column": 64 }, "end": { - "line": 399, + "line": 400, "column": 76 } } @@ -83483,15 +83971,15 @@ "binop": null, "updateContext": null }, - "start": 16135, - "end": 16136, + "start": 16182, + "end": 16183, "loc": { "start": { - "line": 399, + "line": 400, "column": 77 }, "end": { - "line": 399, + "line": 400, "column": 78 } } @@ -83510,15 +83998,15 @@ "updateContext": null }, "value": "(include all)", - "start": 16137, - "end": 16152, + "start": 16184, + "end": 16199, "loc": { "start": { - "line": 399, + "line": 400, "column": 79 }, "end": { - "line": 399, + "line": 400, "column": 94 } } @@ -83535,15 +84023,15 @@ "postfix": false, "binop": null }, - "start": 16152, - "end": 16153, + "start": 16199, + "end": 16200, "loc": { "start": { - "line": 399, + "line": 400, "column": 94 }, "end": { - "line": 399, + "line": 400, "column": 95 } } @@ -83560,15 +84048,15 @@ "postfix": false, "binop": null }, - "start": 16153, - "end": 16154, + "start": 16200, + "end": 16201, "loc": { "start": { - "line": 399, + "line": 400, "column": 95 }, "end": { - "line": 399, + "line": 400, "column": 96 } } @@ -83586,15 +84074,15 @@ "binop": null, "updateContext": null }, - "start": 16154, - "end": 16155, + "start": 16201, + "end": 16202, "loc": { "start": { - "line": 399, + "line": 400, "column": 96 }, "end": { - "line": 399, + "line": 400, "column": 97 } } @@ -83611,15 +84099,15 @@ "postfix": false, "binop": null }, - "start": 16176, - "end": 16177, + "start": 16223, + "end": 16224, "loc": { "start": { - "line": 400, + "line": 401, "column": 20 }, "end": { - "line": 400, + "line": 401, "column": 21 } } @@ -83639,15 +84127,15 @@ "updateContext": null }, "value": "if", - "start": 16198, - "end": 16200, + "start": 16245, + "end": 16247, "loc": { "start": { - "line": 401, + "line": 402, "column": 20 }, "end": { - "line": 401, + "line": 402, "column": 22 } } @@ -83664,15 +84152,15 @@ "postfix": false, "binop": null }, - "start": 16201, - "end": 16202, + "start": 16248, + "end": 16249, "loc": { "start": { - "line": 401, + "line": 402, "column": 23 }, "end": { - "line": 401, + "line": 402, "column": 24 } } @@ -83690,15 +84178,15 @@ "binop": null }, "value": "excludeTypes", - "start": 16202, - "end": 16214, + "start": 16249, + "end": 16261, "loc": { "start": { - "line": 401, + "line": 402, "column": 24 }, "end": { - "line": 401, + "line": 402, "column": 36 } } @@ -83715,15 +84203,15 @@ "postfix": false, "binop": null }, - "start": 16214, - "end": 16215, + "start": 16261, + "end": 16262, "loc": { "start": { - "line": 401, + "line": 402, "column": 36 }, "end": { - "line": 401, + "line": 402, "column": 37 } } @@ -83740,15 +84228,15 @@ "postfix": false, "binop": null }, - "start": 16216, - "end": 16217, + "start": 16263, + "end": 16264, "loc": { "start": { - "line": 401, + "line": 402, "column": 38 }, "end": { - "line": 401, + "line": 402, "column": 39 } } @@ -83766,15 +84254,15 @@ "binop": null }, "value": "log", - "start": 16242, - "end": 16245, + "start": 16289, + "end": 16292, "loc": { "start": { - "line": 402, + "line": 403, "column": 24 }, "end": { - "line": 402, + "line": 403, "column": 27 } } @@ -83791,15 +84279,15 @@ "postfix": false, "binop": null }, - "start": 16245, - "end": 16246, + "start": 16292, + "end": 16293, "loc": { "start": { - "line": 402, + "line": 403, "column": 27 }, "end": { - "line": 402, + "line": 403, "column": 28 } } @@ -83818,15 +84306,15 @@ "updateContext": null }, "value": "Exclude types: ", - "start": 16246, - "end": 16263, + "start": 16293, + "end": 16310, "loc": { "start": { - "line": 402, + "line": 403, "column": 28 }, "end": { - "line": 402, + "line": 403, "column": 45 } } @@ -83845,15 +84333,15 @@ "updateContext": null }, "value": "+", - "start": 16264, - "end": 16265, + "start": 16311, + "end": 16312, "loc": { "start": { - "line": 402, + "line": 403, "column": 46 }, "end": { - "line": 402, + "line": 403, "column": 47 } } @@ -83870,15 +84358,15 @@ "postfix": false, "binop": null }, - "start": 16266, - "end": 16267, + "start": 16313, + "end": 16314, "loc": { "start": { - "line": 402, + "line": 403, "column": 48 }, "end": { - "line": 402, + "line": 403, "column": 49 } } @@ -83896,15 +84384,15 @@ "binop": null }, "value": "excludeTypes", - "start": 16267, - "end": 16279, + "start": 16314, + "end": 16326, "loc": { "start": { - "line": 402, + "line": 403, "column": 49 }, "end": { - "line": 402, + "line": 403, "column": 61 } } @@ -83922,15 +84410,15 @@ "binop": null, "updateContext": null }, - "start": 16280, - "end": 16281, + "start": 16327, + "end": 16328, "loc": { "start": { - "line": 402, + "line": 403, "column": 62 }, "end": { - "line": 402, + "line": 403, "column": 63 } } @@ -83948,15 +84436,15 @@ "binop": null }, "value": "excludeTypes", - "start": 16282, - "end": 16294, + "start": 16329, + "end": 16341, "loc": { "start": { - "line": 402, + "line": 403, "column": 64 }, "end": { - "line": 402, + "line": 403, "column": 76 } } @@ -83974,15 +84462,15 @@ "binop": null, "updateContext": null }, - "start": 16295, - "end": 16296, + "start": 16342, + "end": 16343, "loc": { "start": { - "line": 402, + "line": 403, "column": 77 }, "end": { - "line": 402, + "line": 403, "column": 78 } } @@ -84001,15 +84489,15 @@ "updateContext": null }, "value": "(exclude none)", - "start": 16297, - "end": 16313, + "start": 16344, + "end": 16360, "loc": { "start": { - "line": 402, + "line": 403, "column": 79 }, "end": { - "line": 402, + "line": 403, "column": 95 } } @@ -84026,15 +84514,15 @@ "postfix": false, "binop": null }, - "start": 16313, - "end": 16314, + "start": 16360, + "end": 16361, "loc": { "start": { - "line": 402, + "line": 403, "column": 95 }, "end": { - "line": 402, + "line": 403, "column": 96 } } @@ -84051,15 +84539,15 @@ "postfix": false, "binop": null }, - "start": 16314, - "end": 16315, + "start": 16361, + "end": 16362, "loc": { "start": { - "line": 402, + "line": 403, "column": 96 }, "end": { - "line": 402, + "line": 403, "column": 97 } } @@ -84077,15 +84565,15 @@ "binop": null, "updateContext": null }, - "start": 16315, - "end": 16316, + "start": 16362, + "end": 16363, "loc": { "start": { - "line": 402, + "line": 403, "column": 97 }, "end": { - "line": 402, + "line": 403, "column": 98 } } @@ -84102,304 +84590,16 @@ "postfix": false, "binop": null }, - "start": 16337, - "end": 16338, - "loc": { - "start": { - "line": 403, - "column": 20 - }, - "end": { - "line": 403, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "log", - "start": 16359, - "end": 16362, - "loc": { - "start": { - "line": 404, - "column": 20 - }, - "end": { - "line": 404, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16362, - "end": 16363, - "loc": { - "start": { - "line": 404, - "column": 23 - }, - "end": { - "line": 404, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "XKT size: ", - "start": 16363, - "end": 16375, - "loc": { - "start": { - "line": 404, - "column": 24 - }, - "end": { - "line": 404, - "column": 36 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 16376, - "end": 16377, - "loc": { - "start": { - "line": 404, - "column": 37 - }, - "end": { - "line": 404, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stats", - "start": 16378, - "end": 16383, - "loc": { - "start": { - "line": 404, - "column": 39 - }, - "end": { - "line": 404, - "column": 44 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16383, - "end": 16384, - "loc": { - "start": { - "line": 404, - "column": 44 - }, - "end": { - "line": 404, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "xktSize", "start": 16384, - "end": 16391, - "loc": { - "start": { - "line": 404, - "column": 45 - }, - "end": { - "line": 404, - "column": 52 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 16392, - "end": 16393, - "loc": { - "start": { - "line": 404, - "column": 53 - }, - "end": { - "line": 404, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": " kB", - "start": 16394, - "end": 16399, - "loc": { - "start": { - "line": 404, - "column": 55 - }, - "end": { - "line": 404, - "column": 60 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16399, - "end": 16400, - "loc": { - "start": { - "line": 404, - "column": 60 - }, - "end": { - "line": 404, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16400, - "end": 16401, + "end": 16385, "loc": { "start": { "line": 404, - "column": 61 + "column": 20 }, "end": { "line": 404, - "column": 62 + "column": 21 } } }, @@ -84416,8 +84616,8 @@ "binop": null }, "value": "log", - "start": 16422, - "end": 16425, + "start": 16406, + "end": 16409, "loc": { "start": { "line": 405, @@ -84441,8 +84641,8 @@ "postfix": false, "binop": null }, - "start": 16425, - "end": 16426, + "start": 16409, + "end": 16410, "loc": { "start": { "line": 405, @@ -84467,9 +84667,9 @@ "binop": null, "updateContext": null }, - "value": "XKT textures size: ", - "start": 16426, - "end": 16447, + "value": "XKT size: ", + "start": 16410, + "end": 16422, "loc": { "start": { "line": 405, @@ -84477,7 +84677,7 @@ }, "end": { "line": 405, - "column": 45 + "column": 36 } } }, @@ -84495,41 +84695,16 @@ "updateContext": null }, "value": "+", - "start": 16448, - "end": 16449, + "start": 16423, + "end": 16424, "loc": { "start": { "line": 405, - "column": 46 - }, - "end": { - "line": 405, - "column": 47 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16450, - "end": 16451, - "loc": { - "start": { - "line": 405, - "column": 48 + "column": 37 }, "end": { "line": 405, - "column": 49 + "column": 38 } } }, @@ -84546,147 +84721,16 @@ "binop": null }, "value": "stats", - "start": 16451, - "end": 16456, - "loc": { - "start": { - "line": 405, - "column": 49 - }, - "end": { - "line": 405, - "column": 54 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16456, - "end": 16457, - "loc": { - "start": { - "line": 405, - "column": 54 - }, - "end": { - "line": 405, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "texturesSize", - "start": 16457, - "end": 16469, - "loc": { - "start": { - "line": 405, - "column": 55 - }, - "end": { - "line": 405, - "column": 67 - } - } - }, - { - "type": { - "label": "/", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "/", - "start": 16470, - "end": 16471, - "loc": { - "start": { - "line": 405, - "column": 68 - }, - "end": { - "line": 405, - "column": 69 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1000, - "start": 16472, - "end": 16476, - "loc": { - "start": { - "line": 405, - "column": 70 - }, - "end": { - "line": 405, - "column": 74 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16476, - "end": 16477, + "start": 16425, + "end": 16430, "loc": { "start": { "line": 405, - "column": 74 + "column": 39 }, "end": { "line": 405, - "column": 75 + "column": 44 } } }, @@ -84703,16 +84747,16 @@ "binop": null, "updateContext": null }, - "start": 16477, - "end": 16478, + "start": 16430, + "end": 16431, "loc": { "start": { "line": 405, - "column": 75 + "column": 44 }, "end": { "line": 405, - "column": 76 + "column": 45 } } }, @@ -84728,94 +84772,17 @@ "postfix": false, "binop": null }, - "value": "toFixed", - "start": 16478, - "end": 16485, - "loc": { - "start": { - "line": 405, - "column": 76 - }, - "end": { - "line": 405, - "column": 83 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16485, - "end": 16486, - "loc": { - "start": { - "line": 405, - "column": 83 - }, - "end": { - "line": 405, - "column": 84 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 16486, - "end": 16487, - "loc": { - "start": { - "line": 405, - "column": 84 - }, - "end": { - "line": 405, - "column": 85 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16487, - "end": 16488, + "value": "xktSize", + "start": 16431, + "end": 16438, "loc": { "start": { "line": 405, - "column": 85 + "column": 45 }, "end": { "line": 405, - "column": 86 + "column": 52 } } }, @@ -84833,16 +84800,16 @@ "updateContext": null }, "value": "+", - "start": 16489, - "end": 16490, + "start": 16439, + "end": 16440, "loc": { "start": { "line": 405, - "column": 87 + "column": 53 }, "end": { "line": 405, - "column": 88 + "column": 54 } } }, @@ -84859,17 +84826,17 @@ "binop": null, "updateContext": null }, - "value": "kB", - "start": 16491, - "end": 16495, + "value": " kB", + "start": 16441, + "end": 16446, "loc": { "start": { "line": 405, - "column": 89 + "column": 55 }, "end": { "line": 405, - "column": 93 + "column": 60 } } }, @@ -84885,16 +84852,16 @@ "postfix": false, "binop": null }, - "start": 16495, - "end": 16496, + "start": 16446, + "end": 16447, "loc": { "start": { "line": 405, - "column": 93 + "column": 60 }, "end": { "line": 405, - "column": 94 + "column": 61 } } }, @@ -84911,16 +84878,16 @@ "binop": null, "updateContext": null }, - "start": 16496, - "end": 16497, + "start": 16447, + "end": 16448, "loc": { "start": { "line": 405, - "column": 94 + "column": 61 }, "end": { "line": 405, - "column": 95 + "column": 62 } } }, @@ -84937,8 +84904,8 @@ "binop": null }, "value": "log", - "start": 16518, - "end": 16521, + "start": 16469, + "end": 16472, "loc": { "start": { "line": 406, @@ -84962,8 +84929,8 @@ "postfix": false, "binop": null }, - "start": 16521, - "end": 16522, + "start": 16472, + "end": 16473, "loc": { "start": { "line": 406, @@ -84988,9 +84955,9 @@ "binop": null, "updateContext": null }, - "value": "Compression ratio: ", - "start": 16522, - "end": 16543, + "value": "XKT textures size: ", + "start": 16473, + "end": 16494, "loc": { "start": { "line": 406, @@ -85016,8 +84983,8 @@ "updateContext": null }, "value": "+", - "start": 16544, - "end": 16545, + "start": 16495, + "end": 16496, "loc": { "start": { "line": 406, @@ -85029,6 +84996,31 @@ } } }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16497, + "end": 16498, + "loc": { + "start": { + "line": 406, + "column": 48 + }, + "end": { + "line": 406, + "column": 49 + } + } + }, { "type": { "label": "name", @@ -85042,16 +85034,16 @@ "binop": null }, "value": "stats", - "start": 16546, - "end": 16551, + "start": 16498, + "end": 16503, "loc": { "start": { "line": 406, - "column": 48 + "column": 49 }, "end": { "line": 406, - "column": 53 + "column": 54 } } }, @@ -85068,16 +85060,16 @@ "binop": null, "updateContext": null }, - "start": 16551, - "end": 16552, + "start": 16503, + "end": 16504, "loc": { "start": { "line": 406, - "column": 53 + "column": 54 }, "end": { "line": 406, - "column": 54 + "column": 55 } } }, @@ -85093,17 +85085,71 @@ "postfix": false, "binop": null }, - "value": "compressionRatio", - "start": 16552, - "end": 16568, + "value": "texturesSize", + "start": 16504, + "end": 16516, "loc": { "start": { "line": 406, - "column": 54 + "column": 55 + }, + "end": { + "line": 406, + "column": 67 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 16517, + "end": 16518, + "loc": { + "start": { + "line": 406, + "column": 68 }, "end": { + "line": 406, + "column": 69 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1000, + "start": 16519, + "end": 16523, + "loc": { + "start": { "line": 406, "column": 70 + }, + "end": { + "line": 406, + "column": 74 } } }, @@ -85119,23 +85165,23 @@ "postfix": false, "binop": null }, - "start": 16568, - "end": 16569, + "start": 16523, + "end": 16524, "loc": { "start": { "line": 406, - "column": 70 + "column": 74 }, "end": { "line": 406, - "column": 71 + "column": 75 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -85145,16 +85191,16 @@ "binop": null, "updateContext": null }, - "start": 16569, - "end": 16570, + "start": 16524, + "end": 16525, "loc": { "start": { "line": 406, - "column": 71 + "column": 75 }, "end": { "line": 406, - "column": 72 + "column": 76 } } }, @@ -85170,17 +85216,17 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 16591, - "end": 16594, + "value": "toFixed", + "start": 16525, + "end": 16532, "loc": { "start": { - "line": 407, - "column": 20 + "line": 406, + "column": 76 }, "end": { - "line": 407, - "column": 23 + "line": 406, + "column": 83 } } }, @@ -85196,22 +85242,22 @@ "postfix": false, "binop": null }, - "start": 16594, - "end": 16595, + "start": 16532, + "end": 16533, "loc": { "start": { - "line": 407, - "column": 23 + "line": 406, + "column": 83 }, "end": { - "line": 407, - "column": 24 + "line": 406, + "column": 84 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -85222,17 +85268,42 @@ "binop": null, "updateContext": null }, - "value": "Conversion time: ", - "start": 16595, - "end": 16614, + "value": 2, + "start": 16533, + "end": 16534, "loc": { "start": { - "line": 407, - "column": 24 + "line": 406, + "column": 84 }, "end": { - "line": 407, - "column": 43 + "line": 406, + "column": 85 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16534, + "end": 16535, + "loc": { + "start": { + "line": 406, + "column": 85 + }, + "end": { + "line": 406, + "column": 86 } } }, @@ -85250,22 +85321,22 @@ "updateContext": null }, "value": "+", - "start": 16615, - "end": 16616, + "start": 16536, + "end": 16537, "loc": { "start": { - "line": 407, - "column": 44 + "line": 406, + "column": 87 }, "end": { - "line": 407, - "column": 45 + "line": 406, + "column": 88 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -85273,25 +85344,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "stats", - "start": 16617, - "end": 16622, + "value": "kB", + "start": 16538, + "end": 16542, "loc": { "start": { - "line": 407, - "column": 46 + "line": 406, + "column": 89 }, "end": { - "line": 407, - "column": 51 + "line": 406, + "column": 93 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -85299,19 +85371,44 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "start": 16542, + "end": 16543, + "loc": { + "start": { + "line": 406, + "column": 93 + }, + "end": { + "line": 406, + "column": 94 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 16622, - "end": 16623, + "start": 16543, + "end": 16544, "loc": { "start": { - "line": 407, - "column": 51 + "line": 406, + "column": 94 }, "end": { - "line": 407, - "column": 52 + "line": 406, + "column": 95 } } }, @@ -85327,17 +85424,69 @@ "postfix": false, "binop": null }, - "value": "conversionTime", - "start": 16623, - "end": 16637, + "value": "log", + "start": 16565, + "end": 16568, "loc": { "start": { "line": 407, - "column": 52 + "column": 20 }, "end": { "line": 407, - "column": 66 + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 16568, + "end": 16569, + "loc": { + "start": { + "line": 407, + "column": 23 + }, + "end": { + "line": 407, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Compression ratio: ", + "start": 16569, + "end": 16590, + "loc": { + "start": { + "line": 407, + "column": 24 + }, + "end": { + "line": 407, + "column": 45 } } }, @@ -85355,22 +85504,22 @@ "updateContext": null }, "value": "+", - "start": 16638, - "end": 16639, + "start": 16591, + "end": 16592, "loc": { "start": { "line": 407, - "column": 67 + "column": 46 }, "end": { "line": 407, - "column": 68 + "column": 47 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -85378,20 +85527,71 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "stats", + "start": 16593, + "end": 16598, + "loc": { + "start": { + "line": 407, + "column": 48 + }, + "end": { + "line": 407, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": " s", - "start": 16640, - "end": 16644, + "start": 16598, + "end": 16599, "loc": { "start": { "line": 407, - "column": 69 + "column": 53 }, "end": { "line": 407, - "column": 73 + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "compressionRatio", + "start": 16599, + "end": 16615, + "loc": { + "start": { + "line": 407, + "column": 54 + }, + "end": { + "line": 407, + "column": 70 } } }, @@ -85407,16 +85607,16 @@ "postfix": false, "binop": null }, - "start": 16644, - "end": 16645, + "start": 16615, + "end": 16616, "loc": { "start": { "line": 407, - "column": 73 + "column": 70 }, "end": { "line": 407, - "column": 74 + "column": 71 } } }, @@ -85433,16 +85633,16 @@ "binop": null, "updateContext": null }, - "start": 16645, - "end": 16646, + "start": 16616, + "end": 16617, "loc": { "start": { "line": 407, - "column": 74 + "column": 71 }, "end": { "line": 407, - "column": 75 + "column": 72 } } }, @@ -85459,8 +85659,8 @@ "binop": null }, "value": "log", - "start": 16667, - "end": 16670, + "start": 16638, + "end": 16641, "loc": { "start": { "line": 408, @@ -85484,8 +85684,8 @@ "postfix": false, "binop": null }, - "start": 16670, - "end": 16671, + "start": 16641, + "end": 16642, "loc": { "start": { "line": 408, @@ -85510,9 +85710,9 @@ "binop": null, "updateContext": null }, - "value": "Converted metaobjects: ", - "start": 16671, - "end": 16696, + "value": "Conversion time: ", + "start": 16642, + "end": 16661, "loc": { "start": { "line": 408, @@ -85520,7 +85720,7 @@ }, "end": { "line": 408, - "column": 49 + "column": 43 } } }, @@ -85538,16 +85738,16 @@ "updateContext": null }, "value": "+", - "start": 16697, - "end": 16698, + "start": 16662, + "end": 16663, "loc": { "start": { "line": 408, - "column": 50 + "column": 44 }, "end": { "line": 408, - "column": 51 + "column": 45 } } }, @@ -85564,16 +85764,16 @@ "binop": null }, "value": "stats", - "start": 16699, - "end": 16704, + "start": 16664, + "end": 16669, "loc": { "start": { "line": 408, - "column": 52 + "column": 46 }, "end": { "line": 408, - "column": 57 + "column": 51 } } }, @@ -85590,16 +85790,16 @@ "binop": null, "updateContext": null }, - "start": 16704, - "end": 16705, + "start": 16669, + "end": 16670, "loc": { "start": { "line": 408, - "column": 57 + "column": 51 }, "end": { "line": 408, - "column": 58 + "column": 52 } } }, @@ -85615,17 +85815,71 @@ "postfix": false, "binop": null }, - "value": "numMetaObjects", - "start": 16705, - "end": 16719, + "value": "conversionTime", + "start": 16670, + "end": 16684, "loc": { "start": { "line": 408, - "column": 58 + "column": 52 }, "end": { "line": 408, - "column": 72 + "column": 66 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 16685, + "end": 16686, + "loc": { + "start": { + "line": 408, + "column": 67 + }, + "end": { + "line": 408, + "column": 68 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " s", + "start": 16687, + "end": 16691, + "loc": { + "start": { + "line": 408, + "column": 69 + }, + "end": { + "line": 408, + "column": 73 } } }, @@ -85641,16 +85895,16 @@ "postfix": false, "binop": null }, - "start": 16719, - "end": 16720, + "start": 16691, + "end": 16692, "loc": { "start": { "line": 408, - "column": 72 + "column": 73 }, "end": { "line": 408, - "column": 73 + "column": 74 } } }, @@ -85667,16 +85921,16 @@ "binop": null, "updateContext": null }, - "start": 16720, - "end": 16721, + "start": 16692, + "end": 16693, "loc": { "start": { "line": 408, - "column": 73 + "column": 74 }, "end": { "line": 408, - "column": 74 + "column": 75 } } }, @@ -85693,8 +85947,8 @@ "binop": null }, "value": "log", - "start": 16742, - "end": 16745, + "start": 16714, + "end": 16717, "loc": { "start": { "line": 409, @@ -85718,8 +85972,8 @@ "postfix": false, "binop": null }, - "start": 16745, - "end": 16746, + "start": 16717, + "end": 16718, "loc": { "start": { "line": 409, @@ -85744,9 +85998,9 @@ "binop": null, "updateContext": null }, - "value": "Converted property sets: ", - "start": 16746, - "end": 16773, + "value": "Converted metaobjects: ", + "start": 16718, + "end": 16743, "loc": { "start": { "line": 409, @@ -85754,7 +86008,7 @@ }, "end": { "line": 409, - "column": 51 + "column": 49 } } }, @@ -85772,16 +86026,16 @@ "updateContext": null }, "value": "+", - "start": 16774, - "end": 16775, + "start": 16744, + "end": 16745, "loc": { "start": { "line": 409, - "column": 52 + "column": 50 }, "end": { "line": 409, - "column": 53 + "column": 51 } } }, @@ -85798,16 +86052,16 @@ "binop": null }, "value": "stats", - "start": 16776, - "end": 16781, + "start": 16746, + "end": 16751, "loc": { "start": { "line": 409, - "column": 54 + "column": 52 }, "end": { "line": 409, - "column": 59 + "column": 57 } } }, @@ -85824,16 +86078,16 @@ "binop": null, "updateContext": null }, - "start": 16781, - "end": 16782, + "start": 16751, + "end": 16752, "loc": { "start": { "line": 409, - "column": 59 + "column": 57 }, "end": { "line": 409, - "column": 60 + "column": 58 } } }, @@ -85849,17 +86103,17 @@ "postfix": false, "binop": null }, - "value": "numPropertySets", - "start": 16782, - "end": 16797, + "value": "numMetaObjects", + "start": 16752, + "end": 16766, "loc": { "start": { "line": 409, - "column": 60 + "column": 58 }, "end": { "line": 409, - "column": 75 + "column": 72 } } }, @@ -85875,16 +86129,16 @@ "postfix": false, "binop": null }, - "start": 16797, - "end": 16798, + "start": 16766, + "end": 16767, "loc": { "start": { "line": 409, - "column": 75 + "column": 72 }, "end": { "line": 409, - "column": 76 + "column": 73 } } }, @@ -85901,16 +86155,16 @@ "binop": null, "updateContext": null }, - "start": 16798, - "end": 16799, + "start": 16767, + "end": 16768, "loc": { "start": { "line": 409, - "column": 76 + "column": 73 }, "end": { "line": 409, - "column": 77 + "column": 74 } } }, @@ -85927,8 +86181,8 @@ "binop": null }, "value": "log", - "start": 16820, - "end": 16823, + "start": 16789, + "end": 16792, "loc": { "start": { "line": 410, @@ -85952,8 +86206,8 @@ "postfix": false, "binop": null }, - "start": 16823, - "end": 16824, + "start": 16792, + "end": 16793, "loc": { "start": { "line": 410, @@ -85978,9 +86232,9 @@ "binop": null, "updateContext": null }, - "value": "Converted drawable objects: ", - "start": 16824, - "end": 16854, + "value": "Converted property sets: ", + "start": 16793, + "end": 16820, "loc": { "start": { "line": 410, @@ -85988,7 +86242,7 @@ }, "end": { "line": 410, - "column": 54 + "column": 51 } } }, @@ -86006,16 +86260,16 @@ "updateContext": null }, "value": "+", - "start": 16855, - "end": 16856, + "start": 16821, + "end": 16822, "loc": { "start": { "line": 410, - "column": 55 + "column": 52 }, "end": { "line": 410, - "column": 56 + "column": 53 } } }, @@ -86032,16 +86286,16 @@ "binop": null }, "value": "stats", - "start": 16857, - "end": 16862, + "start": 16823, + "end": 16828, "loc": { "start": { "line": 410, - "column": 57 + "column": 54 }, "end": { "line": 410, - "column": 62 + "column": 59 } } }, @@ -86058,16 +86312,16 @@ "binop": null, "updateContext": null }, - "start": 16862, - "end": 16863, + "start": 16828, + "end": 16829, "loc": { "start": { "line": 410, - "column": 62 + "column": 59 }, "end": { "line": 410, - "column": 63 + "column": 60 } } }, @@ -86083,17 +86337,17 @@ "postfix": false, "binop": null }, - "value": "numObjects", - "start": 16863, - "end": 16873, + "value": "numPropertySets", + "start": 16829, + "end": 16844, "loc": { "start": { "line": 410, - "column": 63 + "column": 60 }, "end": { "line": 410, - "column": 73 + "column": 75 } } }, @@ -86109,16 +86363,16 @@ "postfix": false, "binop": null }, - "start": 16873, - "end": 16874, + "start": 16844, + "end": 16845, "loc": { "start": { "line": 410, - "column": 73 + "column": 75 }, "end": { "line": 410, - "column": 74 + "column": 76 } } }, @@ -86135,16 +86389,16 @@ "binop": null, "updateContext": null }, - "start": 16874, - "end": 16875, + "start": 16845, + "end": 16846, "loc": { "start": { "line": 410, - "column": 74 + "column": 76 }, "end": { "line": 410, - "column": 75 + "column": 77 } } }, @@ -86161,8 +86415,8 @@ "binop": null }, "value": "log", - "start": 16896, - "end": 16899, + "start": 16867, + "end": 16870, "loc": { "start": { "line": 411, @@ -86186,8 +86440,8 @@ "postfix": false, "binop": null }, - "start": 16899, - "end": 16900, + "start": 16870, + "end": 16871, "loc": { "start": { "line": 411, @@ -86212,9 +86466,9 @@ "binop": null, "updateContext": null }, - "value": "Converted geometries: ", - "start": 16900, - "end": 16924, + "value": "Converted drawable objects: ", + "start": 16871, + "end": 16901, "loc": { "start": { "line": 411, @@ -86222,7 +86476,7 @@ }, "end": { "line": 411, - "column": 48 + "column": 54 } } }, @@ -86240,16 +86494,16 @@ "updateContext": null }, "value": "+", - "start": 16925, - "end": 16926, + "start": 16902, + "end": 16903, "loc": { "start": { "line": 411, - "column": 49 + "column": 55 }, "end": { "line": 411, - "column": 50 + "column": 56 } } }, @@ -86266,16 +86520,16 @@ "binop": null }, "value": "stats", - "start": 16927, - "end": 16932, + "start": 16904, + "end": 16909, "loc": { "start": { "line": 411, - "column": 51 + "column": 57 }, "end": { "line": 411, - "column": 56 + "column": 62 } } }, @@ -86292,16 +86546,16 @@ "binop": null, "updateContext": null }, - "start": 16932, - "end": 16933, + "start": 16909, + "end": 16910, "loc": { "start": { "line": 411, - "column": 56 + "column": 62 }, "end": { "line": 411, - "column": 57 + "column": 63 } } }, @@ -86317,17 +86571,17 @@ "postfix": false, "binop": null }, - "value": "numGeometries", - "start": 16933, - "end": 16946, + "value": "numObjects", + "start": 16910, + "end": 16920, "loc": { "start": { "line": 411, - "column": 57 + "column": 63 }, "end": { "line": 411, - "column": 70 + "column": 73 } } }, @@ -86343,16 +86597,16 @@ "postfix": false, "binop": null }, - "start": 16946, - "end": 16947, + "start": 16920, + "end": 16921, "loc": { "start": { "line": 411, - "column": 70 + "column": 73 }, "end": { "line": 411, - "column": 71 + "column": 74 } } }, @@ -86369,16 +86623,16 @@ "binop": null, "updateContext": null }, - "start": 16947, - "end": 16948, + "start": 16921, + "end": 16922, "loc": { "start": { "line": 411, - "column": 71 + "column": 74 }, "end": { "line": 411, - "column": 72 + "column": 75 } } }, @@ -86395,8 +86649,8 @@ "binop": null }, "value": "log", - "start": 16969, - "end": 16972, + "start": 16943, + "end": 16946, "loc": { "start": { "line": 412, @@ -86420,8 +86674,8 @@ "postfix": false, "binop": null }, - "start": 16972, - "end": 16973, + "start": 16946, + "end": 16947, "loc": { "start": { "line": 412, @@ -86446,9 +86700,9 @@ "binop": null, "updateContext": null }, - "value": "Converted textures: ", - "start": 16973, - "end": 16995, + "value": "Converted geometries: ", + "start": 16947, + "end": 16971, "loc": { "start": { "line": 412, @@ -86456,7 +86710,7 @@ }, "end": { "line": 412, - "column": 46 + "column": 48 } } }, @@ -86474,16 +86728,16 @@ "updateContext": null }, "value": "+", - "start": 16996, - "end": 16997, + "start": 16972, + "end": 16973, "loc": { "start": { "line": 412, - "column": 47 + "column": 49 }, "end": { "line": 412, - "column": 48 + "column": 50 } } }, @@ -86500,16 +86754,16 @@ "binop": null }, "value": "stats", - "start": 16998, - "end": 17003, + "start": 16974, + "end": 16979, "loc": { "start": { "line": 412, - "column": 49 + "column": 51 }, "end": { "line": 412, - "column": 54 + "column": 56 } } }, @@ -86526,16 +86780,16 @@ "binop": null, "updateContext": null }, - "start": 17003, - "end": 17004, + "start": 16979, + "end": 16980, "loc": { "start": { "line": 412, - "column": 54 + "column": 56 }, "end": { "line": 412, - "column": 55 + "column": 57 } } }, @@ -86551,17 +86805,17 @@ "postfix": false, "binop": null }, - "value": "numTextures", - "start": 17004, - "end": 17015, + "value": "numGeometries", + "start": 16980, + "end": 16993, "loc": { "start": { "line": 412, - "column": 55 + "column": 57 }, "end": { "line": 412, - "column": 66 + "column": 70 } } }, @@ -86577,16 +86831,16 @@ "postfix": false, "binop": null }, - "start": 17015, - "end": 17016, + "start": 16993, + "end": 16994, "loc": { "start": { "line": 412, - "column": 66 + "column": 70 }, "end": { "line": 412, - "column": 67 + "column": 71 } } }, @@ -86603,16 +86857,16 @@ "binop": null, "updateContext": null }, - "start": 17016, - "end": 17017, + "start": 16994, + "end": 16995, "loc": { "start": { "line": 412, - "column": 67 + "column": 71 }, "end": { "line": 412, - "column": 68 + "column": 72 } } }, @@ -86629,8 +86883,8 @@ "binop": null }, "value": "log", - "start": 17038, - "end": 17041, + "start": 17016, + "end": 17019, "loc": { "start": { "line": 413, @@ -86654,8 +86908,8 @@ "postfix": false, "binop": null }, - "start": 17041, - "end": 17042, + "start": 17019, + "end": 17020, "loc": { "start": { "line": 413, @@ -86680,9 +86934,9 @@ "binop": null, "updateContext": null }, - "value": "Converted textureSets: ", - "start": 17042, - "end": 17067, + "value": "Converted textures: ", + "start": 17020, + "end": 17042, "loc": { "start": { "line": 413, @@ -86690,7 +86944,7 @@ }, "end": { "line": 413, - "column": 49 + "column": 46 } } }, @@ -86708,16 +86962,16 @@ "updateContext": null }, "value": "+", - "start": 17068, - "end": 17069, + "start": 17043, + "end": 17044, "loc": { "start": { "line": 413, - "column": 50 + "column": 47 }, "end": { "line": 413, - "column": 51 + "column": 48 } } }, @@ -86734,16 +86988,16 @@ "binop": null }, "value": "stats", - "start": 17070, - "end": 17075, + "start": 17045, + "end": 17050, "loc": { "start": { "line": 413, - "column": 52 + "column": 49 }, "end": { "line": 413, - "column": 57 + "column": 54 } } }, @@ -86760,16 +87014,16 @@ "binop": null, "updateContext": null }, - "start": 17075, - "end": 17076, + "start": 17050, + "end": 17051, "loc": { "start": { "line": 413, - "column": 57 + "column": 54 }, "end": { "line": 413, - "column": 58 + "column": 55 } } }, @@ -86785,17 +87039,17 @@ "postfix": false, "binop": null }, - "value": "numTextureSets", - "start": 17076, - "end": 17090, + "value": "numTextures", + "start": 17051, + "end": 17062, "loc": { "start": { "line": 413, - "column": 58 + "column": 55 }, "end": { "line": 413, - "column": 72 + "column": 66 } } }, @@ -86811,16 +87065,16 @@ "postfix": false, "binop": null }, - "start": 17090, - "end": 17091, + "start": 17062, + "end": 17063, "loc": { "start": { "line": 413, - "column": 72 + "column": 66 }, "end": { "line": 413, - "column": 73 + "column": 67 } } }, @@ -86837,16 +87091,16 @@ "binop": null, "updateContext": null }, - "start": 17091, - "end": 17092, + "start": 17063, + "end": 17064, "loc": { "start": { "line": 413, - "column": 73 + "column": 67 }, "end": { "line": 413, - "column": 74 + "column": 68 } } }, @@ -86863,8 +87117,8 @@ "binop": null }, "value": "log", - "start": 17113, - "end": 17116, + "start": 17085, + "end": 17088, "loc": { "start": { "line": 414, @@ -86888,8 +87142,8 @@ "postfix": false, "binop": null }, - "start": 17116, - "end": 17117, + "start": 17088, + "end": 17089, "loc": { "start": { "line": 414, @@ -86914,9 +87168,9 @@ "binop": null, "updateContext": null }, - "value": "Converted triangles: ", - "start": 17117, - "end": 17140, + "value": "Converted textureSets: ", + "start": 17089, + "end": 17114, "loc": { "start": { "line": 414, @@ -86924,7 +87178,7 @@ }, "end": { "line": 414, - "column": 47 + "column": 49 } } }, @@ -86942,16 +87196,16 @@ "updateContext": null }, "value": "+", - "start": 17141, - "end": 17142, + "start": 17115, + "end": 17116, "loc": { "start": { "line": 414, - "column": 48 + "column": 50 }, "end": { "line": 414, - "column": 49 + "column": 51 } } }, @@ -86968,16 +87222,16 @@ "binop": null }, "value": "stats", - "start": 17143, - "end": 17148, + "start": 17117, + "end": 17122, "loc": { "start": { "line": 414, - "column": 50 + "column": 52 }, "end": { "line": 414, - "column": 55 + "column": 57 } } }, @@ -86994,16 +87248,16 @@ "binop": null, "updateContext": null }, - "start": 17148, - "end": 17149, + "start": 17122, + "end": 17123, "loc": { "start": { "line": 414, - "column": 55 + "column": 57 }, "end": { "line": 414, - "column": 56 + "column": 58 } } }, @@ -87019,17 +87273,17 @@ "postfix": false, "binop": null }, - "value": "numTriangles", - "start": 17149, - "end": 17161, + "value": "numTextureSets", + "start": 17123, + "end": 17137, "loc": { "start": { "line": 414, - "column": 56 + "column": 58 }, "end": { "line": 414, - "column": 68 + "column": 72 } } }, @@ -87045,16 +87299,16 @@ "postfix": false, "binop": null }, - "start": 17161, - "end": 17162, + "start": 17137, + "end": 17138, "loc": { "start": { "line": 414, - "column": 68 + "column": 72 }, "end": { "line": 414, - "column": 69 + "column": 73 } } }, @@ -87071,16 +87325,16 @@ "binop": null, "updateContext": null }, - "start": 17162, - "end": 17163, + "start": 17138, + "end": 17139, "loc": { "start": { "line": 414, - "column": 69 + "column": 73 }, "end": { "line": 414, - "column": 70 + "column": 74 } } }, @@ -87097,8 +87351,8 @@ "binop": null }, "value": "log", - "start": 17184, - "end": 17187, + "start": 17160, + "end": 17163, "loc": { "start": { "line": 415, @@ -87122,8 +87376,8 @@ "postfix": false, "binop": null }, - "start": 17187, - "end": 17188, + "start": 17163, + "end": 17164, "loc": { "start": { "line": 415, @@ -87148,9 +87402,9 @@ "binop": null, "updateContext": null }, - "value": "Converted vertices: ", - "start": 17188, - "end": 17210, + "value": "Converted triangles: ", + "start": 17164, + "end": 17187, "loc": { "start": { "line": 415, @@ -87158,7 +87412,7 @@ }, "end": { "line": 415, - "column": 46 + "column": 47 } } }, @@ -87176,16 +87430,16 @@ "updateContext": null }, "value": "+", - "start": 17211, - "end": 17212, + "start": 17188, + "end": 17189, "loc": { "start": { "line": 415, - "column": 47 + "column": 48 }, "end": { "line": 415, - "column": 48 + "column": 49 } } }, @@ -87202,16 +87456,16 @@ "binop": null }, "value": "stats", - "start": 17213, - "end": 17218, + "start": 17190, + "end": 17195, "loc": { "start": { "line": 415, - "column": 49 + "column": 50 }, "end": { "line": 415, - "column": 54 + "column": 55 } } }, @@ -87228,16 +87482,16 @@ "binop": null, "updateContext": null }, - "start": 17218, - "end": 17219, + "start": 17195, + "end": 17196, "loc": { "start": { "line": 415, - "column": 54 + "column": 55 }, "end": { "line": 415, - "column": 55 + "column": 56 } } }, @@ -87253,17 +87507,17 @@ "postfix": false, "binop": null }, - "value": "numVertices", - "start": 17219, - "end": 17230, + "value": "numTriangles", + "start": 17196, + "end": 17208, "loc": { "start": { "line": 415, - "column": 55 + "column": 56 }, "end": { "line": 415, - "column": 66 + "column": 68 } } }, @@ -87279,16 +87533,16 @@ "postfix": false, "binop": null }, - "start": 17230, - "end": 17231, + "start": 17208, + "end": 17209, "loc": { "start": { "line": 415, - "column": 66 + "column": 68 }, "end": { "line": 415, - "column": 67 + "column": 69 } } }, @@ -87305,16 +87559,16 @@ "binop": null, "updateContext": null }, - "start": 17231, - "end": 17232, + "start": 17209, + "end": 17210, "loc": { "start": { "line": 415, - "column": 67 + "column": 69 }, "end": { "line": 415, - "column": 68 + "column": 70 } } }, @@ -87331,8 +87585,8 @@ "binop": null }, "value": "log", - "start": 17253, - "end": 17256, + "start": 17231, + "end": 17234, "loc": { "start": { "line": 416, @@ -87356,8 +87610,8 @@ "postfix": false, "binop": null }, - "start": 17256, - "end": 17257, + "start": 17234, + "end": 17235, "loc": { "start": { "line": 416, @@ -87382,9 +87636,9 @@ "binop": null, "updateContext": null }, - "value": "Converted UVs: ", - "start": 17257, - "end": 17274, + "value": "Converted vertices: ", + "start": 17235, + "end": 17257, "loc": { "start": { "line": 416, @@ -87392,7 +87646,7 @@ }, "end": { "line": 416, - "column": 41 + "column": 46 } } }, @@ -87410,16 +87664,16 @@ "updateContext": null }, "value": "+", - "start": 17275, - "end": 17276, + "start": 17258, + "end": 17259, "loc": { "start": { "line": 416, - "column": 42 + "column": 47 }, "end": { "line": 416, - "column": 43 + "column": 48 } } }, @@ -87436,16 +87690,16 @@ "binop": null }, "value": "stats", - "start": 17277, - "end": 17282, + "start": 17260, + "end": 17265, "loc": { "start": { "line": 416, - "column": 44 + "column": 49 }, "end": { "line": 416, - "column": 49 + "column": 54 } } }, @@ -87462,16 +87716,16 @@ "binop": null, "updateContext": null }, - "start": 17282, - "end": 17283, + "start": 17265, + "end": 17266, "loc": { "start": { "line": 416, - "column": 49 + "column": 54 }, "end": { "line": 416, - "column": 50 + "column": 55 } } }, @@ -87487,17 +87741,17 @@ "postfix": false, "binop": null }, - "value": "numUVs", - "start": 17283, - "end": 17289, + "value": "numVertices", + "start": 17266, + "end": 17277, "loc": { "start": { "line": 416, - "column": 50 + "column": 55 }, "end": { "line": 416, - "column": 56 + "column": 66 } } }, @@ -87513,16 +87767,16 @@ "postfix": false, "binop": null }, - "start": 17289, - "end": 17290, + "start": 17277, + "end": 17278, "loc": { "start": { "line": 416, - "column": 56 + "column": 66 }, "end": { "line": 416, - "column": 57 + "column": 67 } } }, @@ -87539,16 +87793,16 @@ "binop": null, "updateContext": null }, - "start": 17290, - "end": 17291, + "start": 17278, + "end": 17279, "loc": { "start": { "line": 416, - "column": 57 + "column": 67 }, "end": { "line": 416, - "column": 58 + "column": 68 } } }, @@ -87565,8 +87819,8 @@ "binop": null }, "value": "log", - "start": 17312, - "end": 17315, + "start": 17300, + "end": 17303, "loc": { "start": { "line": 417, @@ -87590,8 +87844,8 @@ "postfix": false, "binop": null }, - "start": 17315, - "end": 17316, + "start": 17303, + "end": 17304, "loc": { "start": { "line": 417, @@ -87616,9 +87870,9 @@ "binop": null, "updateContext": null }, - "value": "Converted normals: ", - "start": 17316, - "end": 17337, + "value": "Converted UVs: ", + "start": 17304, + "end": 17321, "loc": { "start": { "line": 417, @@ -87626,7 +87880,7 @@ }, "end": { "line": 417, - "column": 45 + "column": 41 } } }, @@ -87644,16 +87898,16 @@ "updateContext": null }, "value": "+", - "start": 17338, - "end": 17339, + "start": 17322, + "end": 17323, "loc": { "start": { "line": 417, - "column": 46 + "column": 42 }, "end": { "line": 417, - "column": 47 + "column": 43 } } }, @@ -87670,16 +87924,16 @@ "binop": null }, "value": "stats", - "start": 17340, - "end": 17345, + "start": 17324, + "end": 17329, "loc": { "start": { "line": 417, - "column": 48 + "column": 44 }, "end": { "line": 417, - "column": 53 + "column": 49 } } }, @@ -87696,16 +87950,16 @@ "binop": null, "updateContext": null }, - "start": 17345, - "end": 17346, + "start": 17329, + "end": 17330, "loc": { "start": { "line": 417, - "column": 53 + "column": 49 }, "end": { "line": 417, - "column": 54 + "column": 50 } } }, @@ -87721,17 +87975,17 @@ "postfix": false, "binop": null }, - "value": "numNormals", - "start": 17346, - "end": 17356, + "value": "numUVs", + "start": 17330, + "end": 17336, "loc": { "start": { "line": 417, - "column": 54 + "column": 50 }, "end": { "line": 417, - "column": 64 + "column": 56 } } }, @@ -87747,16 +88001,16 @@ "postfix": false, "binop": null }, - "start": 17356, - "end": 17357, + "start": 17336, + "end": 17337, "loc": { "start": { "line": 417, - "column": 64 + "column": 56 }, "end": { "line": 417, - "column": 65 + "column": 57 } } }, @@ -87773,16 +88027,16 @@ "binop": null, "updateContext": null }, - "start": 17357, - "end": 17358, + "start": 17337, + "end": 17338, "loc": { "start": { "line": 417, - "column": 65 + "column": 57 }, "end": { "line": 417, - "column": 66 + "column": 58 } } }, @@ -87799,8 +88053,8 @@ "binop": null }, "value": "log", - "start": 17379, - "end": 17382, + "start": 17359, + "end": 17362, "loc": { "start": { "line": 418, @@ -87824,8 +88078,8 @@ "postfix": false, "binop": null }, - "start": 17382, - "end": 17383, + "start": 17362, + "end": 17363, "loc": { "start": { "line": 418, @@ -87850,9 +88104,9 @@ "binop": null, "updateContext": null }, - "value": "Converted tiles: ", - "start": 17383, - "end": 17402, + "value": "Converted normals: ", + "start": 17363, + "end": 17384, "loc": { "start": { "line": 418, @@ -87860,7 +88114,7 @@ }, "end": { "line": 418, - "column": 43 + "column": 45 } } }, @@ -87878,15 +88132,249 @@ "updateContext": null }, "value": "+", + "start": 17385, + "end": 17386, + "loc": { + "start": { + "line": 418, + "column": 46 + }, + "end": { + "line": 418, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 17387, + "end": 17392, + "loc": { + "start": { + "line": 418, + "column": 48 + }, + "end": { + "line": 418, + "column": 53 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17392, + "end": 17393, + "loc": { + "start": { + "line": 418, + "column": 53 + }, + "end": { + "line": 418, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "numNormals", + "start": 17393, + "end": 17403, + "loc": { + "start": { + "line": 418, + "column": 54 + }, + "end": { + "line": 418, + "column": 64 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, "start": 17403, "end": 17404, "loc": { "start": { "line": 418, - "column": 44 + "column": 64 + }, + "end": { + "line": 418, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 17404, + "end": 17405, + "loc": { + "start": { + "line": 418, + "column": 65 }, "end": { "line": 418, + "column": 66 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 17426, + "end": 17429, + "loc": { + "start": { + "line": 419, + "column": 20 + }, + "end": { + "line": 419, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17429, + "end": 17430, + "loc": { + "start": { + "line": 419, + "column": 23 + }, + "end": { + "line": 419, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Converted tiles: ", + "start": 17430, + "end": 17449, + "loc": { + "start": { + "line": 419, + "column": 24 + }, + "end": { + "line": 419, + "column": 43 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 17450, + "end": 17451, + "loc": { + "start": { + "line": 419, + "column": 44 + }, + "end": { + "line": 419, "column": 45 } } @@ -87904,15 +88392,15 @@ "binop": null }, "value": "xktModel", - "start": 17405, - "end": 17413, + "start": 17452, + "end": 17460, "loc": { "start": { - "line": 418, + "line": 419, "column": 46 }, "end": { - "line": 418, + "line": 419, "column": 54 } } @@ -87930,15 +88418,15 @@ "binop": null, "updateContext": null }, - "start": 17413, - "end": 17414, + "start": 17460, + "end": 17461, "loc": { "start": { - "line": 418, + "line": 419, "column": 54 }, "end": { - "line": 418, + "line": 419, "column": 55 } } @@ -87956,15 +88444,15 @@ "binop": null }, "value": "tilesList", - "start": 17414, - "end": 17423, + "start": 17461, + "end": 17470, "loc": { "start": { - "line": 418, + "line": 419, "column": 55 }, "end": { - "line": 418, + "line": 419, "column": 64 } } @@ -87982,15 +88470,15 @@ "binop": null, "updateContext": null }, - "start": 17423, - "end": 17424, + "start": 17470, + "end": 17471, "loc": { "start": { - "line": 418, + "line": 419, "column": 64 }, "end": { - "line": 418, + "line": 419, "column": 65 } } @@ -88008,15 +88496,15 @@ "binop": null }, "value": "length", - "start": 17424, - "end": 17430, + "start": 17471, + "end": 17477, "loc": { "start": { - "line": 418, + "line": 419, "column": 65 }, "end": { - "line": 418, + "line": 419, "column": 71 } } @@ -88033,15 +88521,15 @@ "postfix": false, "binop": null }, - "start": 17430, - "end": 17431, + "start": 17477, + "end": 17478, "loc": { "start": { - "line": 418, + "line": 419, "column": 71 }, "end": { - "line": 418, + "line": 419, "column": 72 } } @@ -88059,15 +88547,15 @@ "binop": null, "updateContext": null }, - "start": 17431, - "end": 17432, + "start": 17478, + "end": 17479, "loc": { "start": { - "line": 418, + "line": 419, "column": 72 }, "end": { - "line": 418, + "line": 419, "column": 73 } } @@ -88085,15 +88573,15 @@ "binop": null }, "value": "log", - "start": 17453, - "end": 17456, + "start": 17500, + "end": 17503, "loc": { "start": { - "line": 419, + "line": 420, "column": 20 }, "end": { - "line": 419, + "line": 420, "column": 23 } } @@ -88110,15 +88598,15 @@ "postfix": false, "binop": null }, - "start": 17456, - "end": 17457, + "start": 17503, + "end": 17504, "loc": { "start": { - "line": 419, + "line": 420, "column": 23 }, "end": { - "line": 419, + "line": 420, "column": 24 } } @@ -88137,15 +88625,15 @@ "updateContext": null }, "value": "minTileSize: ", - "start": 17457, - "end": 17472, + "start": 17504, + "end": 17519, "loc": { "start": { - "line": 419, + "line": 420, "column": 24 }, "end": { - "line": 419, + "line": 420, "column": 39 } } @@ -88164,15 +88652,15 @@ "updateContext": null }, "value": "+", - "start": 17473, - "end": 17474, + "start": 17520, + "end": 17521, "loc": { "start": { - "line": 419, + "line": 420, "column": 40 }, "end": { - "line": 419, + "line": 420, "column": 41 } } @@ -88190,15 +88678,15 @@ "binop": null }, "value": "stats", - "start": 17475, - "end": 17480, + "start": 17522, + "end": 17527, "loc": { "start": { - "line": 419, + "line": 420, "column": 42 }, "end": { - "line": 419, + "line": 420, "column": 47 } } @@ -88216,15 +88704,15 @@ "binop": null, "updateContext": null }, - "start": 17480, - "end": 17481, + "start": 17527, + "end": 17528, "loc": { "start": { - "line": 419, + "line": 420, "column": 47 }, "end": { - "line": 419, + "line": 420, "column": 48 } } @@ -88242,15 +88730,15 @@ "binop": null }, "value": "minTileSize", - "start": 17481, - "end": 17492, + "start": 17528, + "end": 17539, "loc": { "start": { - "line": 419, + "line": 420, "column": 48 }, "end": { - "line": 419, + "line": 420, "column": 59 } } @@ -88267,15 +88755,15 @@ "postfix": false, "binop": null }, - "start": 17492, - "end": 17493, + "start": 17539, + "end": 17540, "loc": { "start": { - "line": 419, + "line": 420, "column": 59 }, "end": { - "line": 419, + "line": 420, "column": 60 } } @@ -88293,15 +88781,15 @@ "binop": null, "updateContext": null }, - "start": 17493, - "end": 17494, + "start": 17540, + "end": 17541, "loc": { "start": { - "line": 419, + "line": 420, "column": 60 }, "end": { - "line": 419, + "line": 420, "column": 61 } } @@ -88321,15 +88809,15 @@ "updateContext": null }, "value": "if", - "start": 17516, - "end": 17518, + "start": 17563, + "end": 17565, "loc": { "start": { - "line": 421, + "line": 422, "column": 20 }, "end": { - "line": 421, + "line": 422, "column": 22 } } @@ -88346,15 +88834,15 @@ "postfix": false, "binop": null }, - "start": 17519, - "end": 17520, + "start": 17566, + "end": 17567, "loc": { "start": { - "line": 421, + "line": 422, "column": 23 }, "end": { - "line": 421, + "line": 422, "column": 24 } } @@ -88372,15 +88860,15 @@ "binop": null }, "value": "output", - "start": 17520, - "end": 17526, + "start": 17567, + "end": 17573, "loc": { "start": { - "line": 421, + "line": 422, "column": 24 }, "end": { - "line": 421, + "line": 422, "column": 30 } } @@ -88397,15 +88885,15 @@ "postfix": false, "binop": null }, - "start": 17526, - "end": 17527, + "start": 17573, + "end": 17574, "loc": { "start": { - "line": 421, + "line": 422, "column": 30 }, "end": { - "line": 421, + "line": 422, "column": 31 } } @@ -88422,15 +88910,15 @@ "postfix": false, "binop": null }, - "start": 17528, - "end": 17529, + "start": 17575, + "end": 17576, "loc": { "start": { - "line": 421, + "line": 422, "column": 32 }, "end": { - "line": 421, + "line": 422, "column": 33 } } @@ -88450,15 +88938,15 @@ "updateContext": null }, "value": "const", - "start": 17554, - "end": 17559, + "start": 17601, + "end": 17606, "loc": { "start": { - "line": 422, + "line": 423, "column": 24 }, "end": { - "line": 422, + "line": 423, "column": 29 } } @@ -88476,15 +88964,15 @@ "binop": null }, "value": "outputDir", - "start": 17560, - "end": 17569, + "start": 17607, + "end": 17616, "loc": { "start": { - "line": 422, + "line": 423, "column": 30 }, "end": { - "line": 422, + "line": 423, "column": 39 } } @@ -88503,15 +88991,15 @@ "updateContext": null }, "value": "=", - "start": 17570, - "end": 17571, + "start": 17617, + "end": 17618, "loc": { "start": { - "line": 422, + "line": 423, "column": 40 }, "end": { - "line": 422, + "line": 423, "column": 41 } } @@ -88529,15 +89017,15 @@ "binop": null }, "value": "path", - "start": 17572, - "end": 17576, + "start": 17619, + "end": 17623, "loc": { "start": { - "line": 422, + "line": 423, "column": 42 }, "end": { - "line": 422, + "line": 423, "column": 46 } } @@ -88555,15 +89043,15 @@ "binop": null, "updateContext": null }, - "start": 17576, - "end": 17577, + "start": 17623, + "end": 17624, "loc": { "start": { - "line": 422, + "line": 423, "column": 46 }, "end": { - "line": 422, + "line": 423, "column": 47 } } @@ -88581,15 +89069,15 @@ "binop": null }, "value": "dirname", - "start": 17577, - "end": 17584, + "start": 17624, + "end": 17631, "loc": { "start": { - "line": 422, + "line": 423, "column": 47 }, "end": { - "line": 422, + "line": 423, "column": 54 } } @@ -88606,15 +89094,15 @@ "postfix": false, "binop": null }, - "start": 17584, - "end": 17585, + "start": 17631, + "end": 17632, "loc": { "start": { - "line": 422, + "line": 423, "column": 54 }, "end": { - "line": 422, + "line": 423, "column": 55 } } @@ -88632,15 +89120,15 @@ "binop": null }, "value": "output", - "start": 17585, - "end": 17591, + "start": 17632, + "end": 17638, "loc": { "start": { - "line": 422, + "line": 423, "column": 55 }, "end": { - "line": 422, + "line": 423, "column": 61 } } @@ -88657,15 +89145,15 @@ "postfix": false, "binop": null }, - "start": 17591, - "end": 17592, + "start": 17638, + "end": 17639, "loc": { "start": { - "line": 422, + "line": 423, "column": 61 }, "end": { - "line": 422, + "line": 423, "column": 62 } } @@ -88683,15 +89171,15 @@ "binop": null, "updateContext": null }, - "start": 17592, - "end": 17593, + "start": 17639, + "end": 17640, "loc": { "start": { - "line": 422, + "line": 423, "column": 62 }, "end": { - "line": 422, + "line": 423, "column": 63 } } @@ -88711,15 +89199,15 @@ "updateContext": null }, "value": "if", - "start": 17618, - "end": 17620, + "start": 17665, + "end": 17667, "loc": { "start": { - "line": 423, + "line": 424, "column": 24 }, "end": { - "line": 423, + "line": 424, "column": 26 } } @@ -88736,15 +89224,15 @@ "postfix": false, "binop": null }, - "start": 17621, - "end": 17622, + "start": 17668, + "end": 17669, "loc": { "start": { - "line": 423, + "line": 424, "column": 27 }, "end": { - "line": 423, + "line": 424, "column": 28 } } @@ -88762,15 +89250,15 @@ "binop": null }, "value": "outputDir", - "start": 17622, - "end": 17631, + "start": 17669, + "end": 17678, "loc": { "start": { - "line": 423, + "line": 424, "column": 28 }, "end": { - "line": 423, + "line": 424, "column": 37 } } @@ -88789,15 +89277,15 @@ "updateContext": null }, "value": "!==", - "start": 17632, - "end": 17635, + "start": 17679, + "end": 17682, "loc": { "start": { - "line": 423, + "line": 424, "column": 38 }, "end": { - "line": 423, + "line": 424, "column": 41 } } @@ -88816,15 +89304,15 @@ "updateContext": null }, "value": "", - "start": 17636, - "end": 17638, + "start": 17683, + "end": 17685, "loc": { "start": { - "line": 423, + "line": 424, "column": 42 }, "end": { - "line": 423, + "line": 424, "column": 44 } } @@ -88843,15 +89331,15 @@ "updateContext": null }, "value": "&&", - "start": 17639, - "end": 17641, + "start": 17686, + "end": 17688, "loc": { "start": { - "line": 423, + "line": 424, "column": 45 }, "end": { - "line": 423, + "line": 424, "column": 47 } } @@ -88870,15 +89358,15 @@ "updateContext": null }, "value": "!", - "start": 17642, - "end": 17643, + "start": 17689, + "end": 17690, "loc": { "start": { - "line": 423, + "line": 424, "column": 48 }, "end": { - "line": 423, + "line": 424, "column": 49 } } @@ -88896,15 +89384,15 @@ "binop": null }, "value": "fs", - "start": 17643, - "end": 17645, + "start": 17690, + "end": 17692, "loc": { "start": { - "line": 423, + "line": 424, "column": 49 }, "end": { - "line": 423, + "line": 424, "column": 51 } } @@ -88922,15 +89410,15 @@ "binop": null, "updateContext": null }, - "start": 17645, - "end": 17646, + "start": 17692, + "end": 17693, "loc": { "start": { - "line": 423, + "line": 424, "column": 51 }, "end": { - "line": 423, + "line": 424, "column": 52 } } @@ -88948,15 +89436,15 @@ "binop": null }, "value": "existsSync", - "start": 17646, - "end": 17656, + "start": 17693, + "end": 17703, "loc": { "start": { - "line": 423, + "line": 424, "column": 52 }, "end": { - "line": 423, + "line": 424, "column": 62 } } @@ -88973,15 +89461,15 @@ "postfix": false, "binop": null }, - "start": 17656, - "end": 17657, + "start": 17703, + "end": 17704, "loc": { "start": { - "line": 423, + "line": 424, "column": 62 }, "end": { - "line": 423, + "line": 424, "column": 63 } } @@ -88999,15 +89487,15 @@ "binop": null }, "value": "outputDir", - "start": 17657, - "end": 17666, + "start": 17704, + "end": 17713, "loc": { "start": { - "line": 423, + "line": 424, "column": 63 }, "end": { - "line": 423, + "line": 424, "column": 72 } } @@ -89024,15 +89512,15 @@ "postfix": false, "binop": null }, - "start": 17666, - "end": 17667, + "start": 17713, + "end": 17714, "loc": { "start": { - "line": 423, + "line": 424, "column": 72 }, "end": { - "line": 423, + "line": 424, "column": 73 } } @@ -89049,15 +89537,15 @@ "postfix": false, "binop": null }, - "start": 17667, - "end": 17668, + "start": 17714, + "end": 17715, "loc": { "start": { - "line": 423, + "line": 424, "column": 73 }, "end": { - "line": 423, + "line": 424, "column": 74 } } @@ -89074,15 +89562,15 @@ "postfix": false, "binop": null }, - "start": 17669, - "end": 17670, + "start": 17716, + "end": 17717, "loc": { "start": { - "line": 423, + "line": 424, "column": 75 }, "end": { - "line": 423, + "line": 424, "column": 76 } } @@ -89100,15 +89588,15 @@ "binop": null }, "value": "fs", - "start": 17699, - "end": 17701, + "start": 17746, + "end": 17748, "loc": { "start": { - "line": 424, + "line": 425, "column": 28 }, "end": { - "line": 424, + "line": 425, "column": 30 } } @@ -89126,15 +89614,15 @@ "binop": null, "updateContext": null }, - "start": 17701, - "end": 17702, + "start": 17748, + "end": 17749, "loc": { "start": { - "line": 424, + "line": 425, "column": 30 }, "end": { - "line": 424, + "line": 425, "column": 31 } } @@ -89152,15 +89640,15 @@ "binop": null }, "value": "mkdirSync", - "start": 17702, - "end": 17711, + "start": 17749, + "end": 17758, "loc": { "start": { - "line": 424, + "line": 425, "column": 31 }, "end": { - "line": 424, + "line": 425, "column": 40 } } @@ -89177,15 +89665,15 @@ "postfix": false, "binop": null }, - "start": 17711, - "end": 17712, + "start": 17758, + "end": 17759, "loc": { "start": { - "line": 424, + "line": 425, "column": 40 }, "end": { - "line": 424, + "line": 425, "column": 41 } } @@ -89203,15 +89691,15 @@ "binop": null }, "value": "outputDir", - "start": 17712, - "end": 17721, + "start": 17759, + "end": 17768, "loc": { "start": { - "line": 424, + "line": 425, "column": 41 }, "end": { - "line": 424, + "line": 425, "column": 50 } } @@ -89229,15 +89717,15 @@ "binop": null, "updateContext": null }, - "start": 17721, - "end": 17722, + "start": 17768, + "end": 17769, "loc": { "start": { - "line": 424, + "line": 425, "column": 50 }, "end": { - "line": 424, + "line": 425, "column": 51 } } @@ -89254,15 +89742,15 @@ "postfix": false, "binop": null }, - "start": 17723, - "end": 17724, + "start": 17770, + "end": 17771, "loc": { "start": { - "line": 424, + "line": 425, "column": 52 }, "end": { - "line": 424, + "line": 425, "column": 53 } } @@ -89280,15 +89768,15 @@ "binop": null }, "value": "recursive", - "start": 17724, - "end": 17733, + "start": 17771, + "end": 17780, "loc": { "start": { - "line": 424, + "line": 425, "column": 53 }, "end": { - "line": 424, + "line": 425, "column": 62 } } @@ -89306,15 +89794,15 @@ "binop": null, "updateContext": null }, - "start": 17733, - "end": 17734, + "start": 17780, + "end": 17781, "loc": { "start": { - "line": 424, + "line": 425, "column": 62 }, "end": { - "line": 424, + "line": 425, "column": 63 } } @@ -89334,15 +89822,15 @@ "updateContext": null }, "value": "true", - "start": 17735, - "end": 17739, + "start": 17782, + "end": 17786, "loc": { "start": { - "line": 424, + "line": 425, "column": 64 }, "end": { - "line": 424, + "line": 425, "column": 68 } } @@ -89359,15 +89847,15 @@ "postfix": false, "binop": null }, - "start": 17739, - "end": 17740, + "start": 17786, + "end": 17787, "loc": { "start": { - "line": 424, + "line": 425, "column": 68 }, "end": { - "line": 424, + "line": 425, "column": 69 } } @@ -89384,15 +89872,15 @@ "postfix": false, "binop": null }, - "start": 17740, - "end": 17741, + "start": 17787, + "end": 17788, "loc": { "start": { - "line": 424, + "line": 425, "column": 69 }, "end": { - "line": 424, + "line": 425, "column": 70 } } @@ -89410,15 +89898,15 @@ "binop": null, "updateContext": null }, - "start": 17741, - "end": 17742, + "start": 17788, + "end": 17789, "loc": { "start": { - "line": 424, + "line": 425, "column": 70 }, "end": { - "line": 424, + "line": 425, "column": 71 } } @@ -89435,15 +89923,15 @@ "postfix": false, "binop": null }, - "start": 17767, - "end": 17768, + "start": 17814, + "end": 17815, "loc": { "start": { - "line": 425, + "line": 426, "column": 24 }, "end": { - "line": 425, + "line": 426, "column": 25 } } @@ -89461,15 +89949,15 @@ "binop": null }, "value": "log", - "start": 17793, - "end": 17796, + "start": 17840, + "end": 17843, "loc": { "start": { - "line": 426, + "line": 427, "column": 24 }, "end": { - "line": 426, + "line": 427, "column": 27 } } @@ -89486,15 +89974,15 @@ "postfix": false, "binop": null }, - "start": 17796, - "end": 17797, + "start": 17843, + "end": 17844, "loc": { "start": { - "line": 426, + "line": 427, "column": 27 }, "end": { - "line": 426, + "line": 427, "column": 28 } } @@ -89513,15 +90001,15 @@ "updateContext": null }, "value": "Writing XKT file: ", - "start": 17797, - "end": 17817, + "start": 17844, + "end": 17864, "loc": { "start": { - "line": 426, + "line": 427, "column": 28 }, "end": { - "line": 426, + "line": 427, "column": 48 } } @@ -89540,15 +90028,15 @@ "updateContext": null }, "value": "+", - "start": 17818, - "end": 17819, + "start": 17865, + "end": 17866, "loc": { "start": { - "line": 426, + "line": 427, "column": 49 }, "end": { - "line": 426, + "line": 427, "column": 50 } } @@ -89566,15 +90054,15 @@ "binop": null }, "value": "output", - "start": 17820, - "end": 17826, + "start": 17867, + "end": 17873, "loc": { "start": { - "line": 426, + "line": 427, "column": 51 }, "end": { - "line": 426, + "line": 427, "column": 57 } } @@ -89591,15 +90079,15 @@ "postfix": false, "binop": null }, - "start": 17826, - "end": 17827, + "start": 17873, + "end": 17874, "loc": { "start": { - "line": 426, + "line": 427, "column": 57 }, "end": { - "line": 426, + "line": 427, "column": 58 } } @@ -89617,15 +90105,15 @@ "binop": null, "updateContext": null }, - "start": 17827, - "end": 17828, + "start": 17874, + "end": 17875, "loc": { "start": { - "line": 426, + "line": 427, "column": 58 }, "end": { - "line": 426, + "line": 427, "column": 59 } } @@ -89643,15 +90131,15 @@ "binop": null }, "value": "fs", - "start": 17853, - "end": 17855, + "start": 17900, + "end": 17902, "loc": { "start": { - "line": 427, + "line": 428, "column": 24 }, "end": { - "line": 427, + "line": 428, "column": 26 } } @@ -89669,15 +90157,15 @@ "binop": null, "updateContext": null }, - "start": 17855, - "end": 17856, + "start": 17902, + "end": 17903, "loc": { "start": { - "line": 427, + "line": 428, "column": 26 }, "end": { - "line": 427, + "line": 428, "column": 27 } } @@ -89695,15 +90183,15 @@ "binop": null }, "value": "writeFileSync", - "start": 17856, - "end": 17869, + "start": 17903, + "end": 17916, "loc": { "start": { - "line": 427, + "line": 428, "column": 27 }, "end": { - "line": 427, + "line": 428, "column": 40 } } @@ -89720,15 +90208,15 @@ "postfix": false, "binop": null }, - "start": 17869, - "end": 17870, + "start": 17916, + "end": 17917, "loc": { "start": { - "line": 427, + "line": 428, "column": 40 }, "end": { - "line": 427, + "line": 428, "column": 41 } } @@ -89746,15 +90234,15 @@ "binop": null }, "value": "output", - "start": 17870, - "end": 17876, + "start": 17917, + "end": 17923, "loc": { "start": { - "line": 427, + "line": 428, "column": 41 }, "end": { - "line": 427, + "line": 428, "column": 47 } } @@ -89772,15 +90260,15 @@ "binop": null, "updateContext": null }, - "start": 17876, - "end": 17877, + "start": 17923, + "end": 17924, "loc": { "start": { - "line": 427, + "line": 428, "column": 47 }, "end": { - "line": 427, + "line": 428, "column": 48 } } @@ -89798,15 +90286,15 @@ "binop": null }, "value": "xktContent", - "start": 17878, - "end": 17888, + "start": 17925, + "end": 17935, "loc": { "start": { - "line": 427, + "line": 428, "column": 49 }, "end": { - "line": 427, + "line": 428, "column": 59 } } @@ -89823,15 +90311,15 @@ "postfix": false, "binop": null }, - "start": 17888, - "end": 17889, + "start": 17935, + "end": 17936, "loc": { "start": { - "line": 427, + "line": 428, "column": 59 }, "end": { - "line": 427, + "line": 428, "column": 60 } } @@ -89849,15 +90337,15 @@ "binop": null, "updateContext": null }, - "start": 17889, - "end": 17890, + "start": 17936, + "end": 17937, "loc": { "start": { - "line": 427, + "line": 428, "column": 60 }, "end": { - "line": 427, + "line": 428, "column": 61 } } @@ -89874,15 +90362,15 @@ "postfix": false, "binop": null }, - "start": 17911, - "end": 17912, + "start": 17958, + "end": 17959, "loc": { "start": { - "line": 428, + "line": 429, "column": 20 }, "end": { - "line": 428, + "line": 429, "column": 21 } } @@ -89902,15 +90390,15 @@ "updateContext": null }, "value": "if", - "start": 17934, - "end": 17936, + "start": 17981, + "end": 17983, "loc": { "start": { - "line": 430, + "line": 431, "column": 20 }, "end": { - "line": 430, + "line": 431, "column": 22 } } @@ -89927,15 +90415,15 @@ "postfix": false, "binop": null }, - "start": 17937, - "end": 17938, + "start": 17984, + "end": 17985, "loc": { "start": { - "line": 430, + "line": 431, "column": 23 }, "end": { - "line": 430, + "line": 431, "column": 24 } } @@ -89953,15 +90441,15 @@ "binop": null }, "value": "outputXKTModel", - "start": 17938, - "end": 17952, + "start": 17985, + "end": 17999, "loc": { "start": { - "line": 430, + "line": 431, "column": 24 }, "end": { - "line": 430, + "line": 431, "column": 38 } } @@ -89978,15 +90466,15 @@ "postfix": false, "binop": null }, - "start": 17952, - "end": 17953, + "start": 17999, + "end": 18000, "loc": { "start": { - "line": 430, + "line": 431, "column": 38 }, "end": { - "line": 430, + "line": 431, "column": 39 } } @@ -90003,15 +90491,15 @@ "postfix": false, "binop": null }, - "start": 17954, - "end": 17955, + "start": 18001, + "end": 18002, "loc": { "start": { - "line": 430, + "line": 431, "column": 40 }, "end": { - "line": 430, + "line": 431, "column": 41 } } @@ -90029,15 +90517,15 @@ "binop": null }, "value": "outputXKTModel", - "start": 17980, - "end": 17994, + "start": 18027, + "end": 18041, "loc": { "start": { - "line": 431, + "line": 432, "column": 24 }, "end": { - "line": 431, + "line": 432, "column": 38 } } @@ -90054,15 +90542,15 @@ "postfix": false, "binop": null }, - "start": 17994, - "end": 17995, + "start": 18041, + "end": 18042, "loc": { "start": { - "line": 431, + "line": 432, "column": 38 }, "end": { - "line": 431, + "line": 432, "column": 39 } } @@ -90080,15 +90568,15 @@ "binop": null }, "value": "xktModel", - "start": 17995, - "end": 18003, + "start": 18042, + "end": 18050, "loc": { "start": { - "line": 431, + "line": 432, "column": 39 }, "end": { - "line": 431, + "line": 432, "column": 47 } } @@ -90105,15 +90593,15 @@ "postfix": false, "binop": null }, - "start": 18003, - "end": 18004, + "start": 18050, + "end": 18051, "loc": { "start": { - "line": 431, + "line": 432, "column": 47 }, "end": { - "line": 431, + "line": 432, "column": 48 } } @@ -90131,15 +90619,15 @@ "binop": null, "updateContext": null }, - "start": 18004, - "end": 18005, + "start": 18051, + "end": 18052, "loc": { "start": { - "line": 431, + "line": 432, "column": 48 }, "end": { - "line": 431, + "line": 432, "column": 49 } } @@ -90156,15 +90644,15 @@ "postfix": false, "binop": null }, - "start": 18026, - "end": 18027, + "start": 18073, + "end": 18074, "loc": { "start": { - "line": 432, + "line": 433, "column": 20 }, "end": { - "line": 432, + "line": 433, "column": 21 } } @@ -90184,15 +90672,15 @@ "updateContext": null }, "value": "if", - "start": 18049, - "end": 18051, + "start": 18096, + "end": 18098, "loc": { "start": { - "line": 434, + "line": 435, "column": 20 }, "end": { - "line": 434, + "line": 435, "column": 22 } } @@ -90209,15 +90697,15 @@ "postfix": false, "binop": null }, - "start": 18052, - "end": 18053, + "start": 18099, + "end": 18100, "loc": { "start": { - "line": 434, + "line": 435, "column": 23 }, "end": { - "line": 434, + "line": 435, "column": 24 } } @@ -90235,15 +90723,15 @@ "binop": null }, "value": "outputXKT", - "start": 18053, - "end": 18062, + "start": 18100, + "end": 18109, "loc": { "start": { - "line": 434, + "line": 435, "column": 24 }, "end": { - "line": 434, + "line": 435, "column": 33 } } @@ -90260,15 +90748,15 @@ "postfix": false, "binop": null }, - "start": 18062, - "end": 18063, + "start": 18109, + "end": 18110, "loc": { "start": { - "line": 434, + "line": 435, "column": 33 }, "end": { - "line": 434, + "line": 435, "column": 34 } } @@ -90285,15 +90773,15 @@ "postfix": false, "binop": null }, - "start": 18064, - "end": 18065, + "start": 18111, + "end": 18112, "loc": { "start": { - "line": 434, + "line": 435, "column": 35 }, "end": { - "line": 434, + "line": 435, "column": 36 } } @@ -90311,15 +90799,15 @@ "binop": null }, "value": "outputXKT", - "start": 18090, - "end": 18099, + "start": 18137, + "end": 18146, "loc": { "start": { - "line": 435, + "line": 436, "column": 24 }, "end": { - "line": 435, + "line": 436, "column": 33 } } @@ -90336,15 +90824,15 @@ "postfix": false, "binop": null }, - "start": 18099, - "end": 18100, + "start": 18146, + "end": 18147, "loc": { "start": { - "line": 435, + "line": 436, "column": 33 }, "end": { - "line": 435, + "line": 436, "column": 34 } } @@ -90362,15 +90850,15 @@ "binop": null }, "value": "xktContent", - "start": 18100, - "end": 18110, + "start": 18147, + "end": 18157, "loc": { "start": { - "line": 435, + "line": 436, "column": 34 }, "end": { - "line": 435, + "line": 436, "column": 44 } } @@ -90387,15 +90875,15 @@ "postfix": false, "binop": null }, - "start": 18110, - "end": 18111, + "start": 18157, + "end": 18158, "loc": { "start": { - "line": 435, + "line": 436, "column": 44 }, "end": { - "line": 435, + "line": 436, "column": 45 } } @@ -90413,15 +90901,15 @@ "binop": null, "updateContext": null }, - "start": 18111, - "end": 18112, + "start": 18158, + "end": 18159, "loc": { "start": { - "line": 435, + "line": 436, "column": 45 }, "end": { - "line": 435, + "line": 436, "column": 46 } } @@ -90438,15 +90926,15 @@ "postfix": false, "binop": null }, - "start": 18133, - "end": 18134, + "start": 18180, + "end": 18181, "loc": { "start": { - "line": 436, + "line": 437, "column": 20 }, "end": { - "line": 436, + "line": 437, "column": 21 } } @@ -90466,15 +90954,15 @@ "updateContext": null }, "value": "if", - "start": 18156, - "end": 18158, + "start": 18203, + "end": 18205, "loc": { "start": { - "line": 438, + "line": 439, "column": 20 }, "end": { - "line": 438, + "line": 439, "column": 22 } } @@ -90491,15 +90979,15 @@ "postfix": false, "binop": null }, - "start": 18159, - "end": 18160, + "start": 18206, + "end": 18207, "loc": { "start": { - "line": 438, + "line": 439, "column": 23 }, "end": { - "line": 438, + "line": 439, "column": 24 } } @@ -90517,15 +91005,15 @@ "binop": null }, "value": "outputStats", - "start": 18160, - "end": 18171, + "start": 18207, + "end": 18218, "loc": { "start": { - "line": 438, + "line": 439, "column": 24 }, "end": { - "line": 438, + "line": 439, "column": 35 } } @@ -90542,15 +91030,15 @@ "postfix": false, "binop": null }, - "start": 18171, - "end": 18172, + "start": 18218, + "end": 18219, "loc": { "start": { - "line": 438, + "line": 439, "column": 35 }, "end": { - "line": 438, + "line": 439, "column": 36 } } @@ -90567,15 +91055,15 @@ "postfix": false, "binop": null }, - "start": 18173, - "end": 18174, + "start": 18220, + "end": 18221, "loc": { "start": { - "line": 438, + "line": 439, "column": 37 }, "end": { - "line": 438, + "line": 439, "column": 38 } } @@ -90593,15 +91081,15 @@ "binop": null }, "value": "outputStats", - "start": 18199, - "end": 18210, + "start": 18246, + "end": 18257, "loc": { "start": { - "line": 439, + "line": 440, "column": 24 }, "end": { - "line": 439, + "line": 440, "column": 35 } } @@ -90618,15 +91106,15 @@ "postfix": false, "binop": null }, - "start": 18210, - "end": 18211, + "start": 18257, + "end": 18258, "loc": { "start": { - "line": 439, + "line": 440, "column": 35 }, "end": { - "line": 439, + "line": 440, "column": 36 } } @@ -90644,15 +91132,15 @@ "binop": null }, "value": "stats", - "start": 18211, - "end": 18216, + "start": 18258, + "end": 18263, "loc": { "start": { - "line": 439, + "line": 440, "column": 36 }, "end": { - "line": 439, + "line": 440, "column": 41 } } @@ -90669,15 +91157,15 @@ "postfix": false, "binop": null }, - "start": 18216, - "end": 18217, + "start": 18263, + "end": 18264, "loc": { "start": { - "line": 439, + "line": 440, "column": 41 }, "end": { - "line": 439, + "line": 440, "column": 42 } } @@ -90695,15 +91183,15 @@ "binop": null, "updateContext": null }, - "start": 18217, - "end": 18218, + "start": 18264, + "end": 18265, "loc": { "start": { - "line": 439, + "line": 440, "column": 42 }, "end": { - "line": 439, + "line": 440, "column": 43 } } @@ -90720,15 +91208,15 @@ "postfix": false, "binop": null }, - "start": 18239, - "end": 18240, + "start": 18286, + "end": 18287, "loc": { "start": { - "line": 440, + "line": 441, "column": 20 }, "end": { - "line": 440, + "line": 441, "column": 21 } } @@ -90746,15 +91234,15 @@ "binop": null }, "value": "resolve", - "start": 18262, - "end": 18269, + "start": 18309, + "end": 18316, "loc": { "start": { - "line": 442, + "line": 443, "column": 20 }, "end": { - "line": 442, + "line": 443, "column": 27 } } @@ -90771,15 +91259,15 @@ "postfix": false, "binop": null }, - "start": 18269, - "end": 18270, + "start": 18316, + "end": 18317, "loc": { "start": { - "line": 442, + "line": 443, "column": 27 }, "end": { - "line": 442, + "line": 443, "column": 28 } } @@ -90796,15 +91284,15 @@ "postfix": false, "binop": null }, - "start": 18270, - "end": 18271, + "start": 18317, + "end": 18318, "loc": { "start": { - "line": 442, + "line": 443, "column": 28 }, "end": { - "line": 442, + "line": 443, "column": 29 } } @@ -90822,15 +91310,15 @@ "binop": null, "updateContext": null }, - "start": 18271, - "end": 18272, + "start": 18318, + "end": 18319, "loc": { "start": { - "line": 442, + "line": 443, "column": 29 }, "end": { - "line": 442, + "line": 443, "column": 30 } } @@ -90847,15 +91335,15 @@ "postfix": false, "binop": null }, - "start": 18289, - "end": 18290, + "start": 18336, + "end": 18337, "loc": { "start": { - "line": 443, + "line": 444, "column": 16 }, "end": { - "line": 443, + "line": 444, "column": 17 } } @@ -90872,15 +91360,15 @@ "postfix": false, "binop": null }, - "start": 18290, - "end": 18291, + "start": 18337, + "end": 18338, "loc": { "start": { - "line": 443, + "line": 444, "column": 17 }, "end": { - "line": 443, + "line": 444, "column": 18 } } @@ -90898,15 +91386,15 @@ "binop": null, "updateContext": null }, - "start": 18291, - "end": 18292, + "start": 18338, + "end": 18339, "loc": { "start": { - "line": 443, + "line": 444, "column": 18 }, "end": { - "line": 443, + "line": 444, "column": 19 } } @@ -90923,15 +91411,15 @@ "postfix": false, "binop": null }, - "start": 18305, - "end": 18306, + "start": 18352, + "end": 18353, "loc": { "start": { - "line": 444, + "line": 445, "column": 12 }, "end": { - "line": 444, + "line": 445, "column": 13 } } @@ -90949,15 +91437,15 @@ "binop": null, "updateContext": null }, - "start": 18306, - "end": 18307, + "start": 18353, + "end": 18354, "loc": { "start": { - "line": 444, + "line": 445, "column": 13 }, "end": { - "line": 444, + "line": 445, "column": 14 } } @@ -90974,15 +91462,15 @@ "postfix": false, "binop": null }, - "start": 18308, - "end": 18309, + "start": 18355, + "end": 18356, "loc": { "start": { - "line": 444, + "line": 445, "column": 15 }, "end": { - "line": 444, + "line": 445, "column": 16 } } @@ -91000,15 +91488,15 @@ "binop": null }, "value": "err", - "start": 18309, - "end": 18312, + "start": 18356, + "end": 18359, "loc": { "start": { - "line": 444, + "line": 445, "column": 16 }, "end": { - "line": 444, + "line": 445, "column": 19 } } @@ -91025,15 +91513,15 @@ "postfix": false, "binop": null }, - "start": 18312, - "end": 18313, + "start": 18359, + "end": 18360, "loc": { "start": { - "line": 444, + "line": 445, "column": 19 }, "end": { - "line": 444, + "line": 445, "column": 20 } } @@ -91051,15 +91539,15 @@ "binop": null, "updateContext": null }, - "start": 18314, - "end": 18316, + "start": 18361, + "end": 18363, "loc": { "start": { - "line": 444, + "line": 445, "column": 21 }, "end": { - "line": 444, + "line": 445, "column": 23 } } @@ -91076,15 +91564,15 @@ "postfix": false, "binop": null }, - "start": 18317, - "end": 18318, + "start": 18364, + "end": 18365, "loc": { "start": { - "line": 444, + "line": 445, "column": 24 }, "end": { - "line": 444, + "line": 445, "column": 25 } } @@ -91102,15 +91590,15 @@ "binop": null }, "value": "reject", - "start": 18335, - "end": 18341, + "start": 18382, + "end": 18388, "loc": { "start": { - "line": 445, + "line": 446, "column": 16 }, "end": { - "line": 445, + "line": 446, "column": 22 } } @@ -91127,15 +91615,15 @@ "postfix": false, "binop": null }, - "start": 18341, - "end": 18342, + "start": 18388, + "end": 18389, "loc": { "start": { - "line": 445, + "line": 446, "column": 22 }, "end": { - "line": 445, + "line": 446, "column": 23 } } @@ -91153,15 +91641,15 @@ "binop": null }, "value": "err", - "start": 18342, - "end": 18345, + "start": 18389, + "end": 18392, "loc": { "start": { - "line": 445, + "line": 446, "column": 23 }, "end": { - "line": 445, + "line": 446, "column": 26 } } @@ -91178,15 +91666,15 @@ "postfix": false, "binop": null }, - "start": 18345, - "end": 18346, + "start": 18392, + "end": 18393, "loc": { "start": { - "line": 445, + "line": 446, "column": 26 }, "end": { - "line": 445, + "line": 446, "column": 27 } } @@ -91204,15 +91692,15 @@ "binop": null, "updateContext": null }, - "start": 18346, - "end": 18347, + "start": 18393, + "end": 18394, "loc": { "start": { - "line": 445, + "line": 446, "column": 27 }, "end": { - "line": 445, + "line": 446, "column": 28 } } @@ -91229,15 +91717,15 @@ "postfix": false, "binop": null }, - "start": 18360, - "end": 18361, + "start": 18407, + "end": 18408, "loc": { "start": { - "line": 446, + "line": 447, "column": 12 }, "end": { - "line": 446, + "line": 447, "column": 13 } } @@ -91254,15 +91742,15 @@ "postfix": false, "binop": null }, - "start": 18361, - "end": 18362, + "start": 18408, + "end": 18409, "loc": { "start": { - "line": 446, + "line": 447, "column": 13 }, "end": { - "line": 446, + "line": 447, "column": 14 } } @@ -91280,15 +91768,15 @@ "binop": null, "updateContext": null }, - "start": 18362, - "end": 18363, + "start": 18409, + "end": 18410, "loc": { "start": { - "line": 446, + "line": 447, "column": 14 }, "end": { - "line": 446, + "line": 447, "column": 15 } } @@ -91305,15 +91793,15 @@ "postfix": false, "binop": null }, - "start": 18372, - "end": 18373, + "start": 18419, + "end": 18420, "loc": { "start": { - "line": 447, + "line": 448, "column": 8 }, "end": { - "line": 447, + "line": 448, "column": 9 } } @@ -91330,15 +91818,15 @@ "postfix": false, "binop": null }, - "start": 18378, - "end": 18379, + "start": 18425, + "end": 18426, "loc": { "start": { - "line": 448, + "line": 449, "column": 4 }, "end": { - "line": 448, + "line": 449, "column": 5 } } @@ -91355,15 +91843,15 @@ "postfix": false, "binop": null }, - "start": 18379, - "end": 18380, + "start": 18426, + "end": 18427, "loc": { "start": { - "line": 448, + "line": 449, "column": 5 }, "end": { - "line": 448, + "line": 449, "column": 6 } } @@ -91381,15 +91869,15 @@ "binop": null, "updateContext": null }, - "start": 18380, - "end": 18381, + "start": 18427, + "end": 18428, "loc": { "start": { - "line": 448, + "line": 449, "column": 6 }, "end": { - "line": 448, + "line": 449, "column": 7 } } @@ -91406,15 +91894,15 @@ "postfix": false, "binop": null }, - "start": 18382, - "end": 18383, + "start": 18429, + "end": 18430, "loc": { "start": { - "line": 449, + "line": 450, "column": 0 }, "end": { - "line": 449, + "line": 450, "column": 1 } } @@ -91434,15 +91922,15 @@ "updateContext": null }, "value": "export", - "start": 18385, - "end": 18391, + "start": 18432, + "end": 18438, "loc": { "start": { - "line": 451, + "line": 452, "column": 0 }, "end": { - "line": 451, + "line": 452, "column": 6 } } @@ -91459,15 +91947,15 @@ "postfix": false, "binop": null }, - "start": 18392, - "end": 18393, + "start": 18439, + "end": 18440, "loc": { "start": { - "line": 451, + "line": 452, "column": 7 }, "end": { - "line": 451, + "line": 452, "column": 8 } } @@ -91485,15 +91973,15 @@ "binop": null }, "value": "convert2xkt", - "start": 18393, - "end": 18404, + "start": 18440, + "end": 18451, "loc": { "start": { - "line": 451, + "line": 452, "column": 8 }, "end": { - "line": 451, + "line": 452, "column": 19 } } @@ -91510,15 +91998,15 @@ "postfix": false, "binop": null }, - "start": 18404, - "end": 18405, + "start": 18451, + "end": 18452, "loc": { "start": { - "line": 451, + "line": 452, "column": 19 }, "end": { - "line": 451, + "line": 452, "column": 20 } } @@ -91536,15 +92024,15 @@ "binop": null, "updateContext": null }, - "start": 18405, - "end": 18406, + "start": 18452, + "end": 18453, "loc": { "start": { - "line": 451, + "line": 452, "column": 20 }, "end": { - "line": 451, + "line": 452, "column": 21 } } @@ -91562,15 +92050,15 @@ "binop": null, "updateContext": null }, - "start": 18406, - "end": 18406, + "start": 18453, + "end": 18453, "loc": { "start": { - "line": 451, + "line": 452, "column": 21 }, "end": { - "line": 451, + "line": 452, "column": 21 } } diff --git a/docs/ast/source/parsers/parseGLTFIntoXKTModel.js.json b/docs/ast/source/parsers/parseGLTFIntoXKTModel.js.json index e716c3d..a83f442 100644 --- a/docs/ast/source/parsers/parseGLTFIntoXKTModel.js.json +++ b/docs/ast/source/parsers/parseGLTFIntoXKTModel.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 21687, + "end": 24603, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 613, + "line": 702, "column": 31 } }, "program": { "type": "Program", "start": 0, - "end": 21687, + "end": 24603, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 613, + "line": 702, "column": 31 } }, @@ -871,7 +871,7 @@ { "type": "Identifier", "start": 2328, - "end": 4786, + "end": 4812, "loc": { "start": { "line": 60, @@ -1513,7 +1513,7 @@ "body": { "type": "BlockStatement", "start": 2828, - "end": 4786, + "end": 4812, "loc": { "start": { "line": 70, @@ -1528,7 +1528,7 @@ { "type": "ReturnStatement", "start": 2835, - "end": 4784, + "end": 4810, "loc": { "start": { "line": 72, @@ -1542,7 +1542,7 @@ "argument": { "type": "NewExpression", "start": 2842, - "end": 4783, + "end": 4809, "loc": { "start": { "line": 72, @@ -1574,7 +1574,7 @@ { "type": "FunctionExpression", "start": 2854, - "end": 4782, + "end": 4808, "loc": { "start": { "line": 72, @@ -1628,7 +1628,7 @@ "body": { "type": "BlockStatement", "start": 2881, - "end": 4782, + "end": 4808, "loc": { "start": { "line": 72, @@ -3167,7 +3167,7 @@ { "type": "ExpressionStatement", "start": 3467, - "end": 4776, + "end": 4802, "loc": { "start": { "line": 97, @@ -3181,7 +3181,7 @@ "expression": { "type": "CallExpression", "start": 3467, - "end": 4775, + "end": 4801, "loc": { "start": { "line": 97, @@ -3369,7 +3369,7 @@ { "type": "ArrowFunctionExpression", "start": 3529, - "end": 4692, + "end": 4718, "loc": { "start": { "line": 99, @@ -3406,7 +3406,7 @@ "body": { "type": "BlockStatement", "start": 3543, - "end": 4692, + "end": 4718, "loc": { "start": { "line": 99, @@ -3421,7 +3421,7 @@ { "type": "VariableDeclaration", "start": 3558, - "end": 4259, + "end": 4285, "loc": { "start": { "line": 101, @@ -3436,7 +3436,7 @@ { "type": "VariableDeclarator", "start": 3564, - "end": 4258, + "end": 4284, "loc": { "start": { "line": 101, @@ -3467,7 +3467,7 @@ "init": { "type": "ObjectExpression", "start": 3570, - "end": 4258, + "end": 4284, "loc": { "start": { "line": 101, @@ -3537,7 +3537,7 @@ { "type": "ObjectProperty", "start": 3614, - "end": 3649, + "end": 3635, "loc": { "start": { "line": 103, @@ -3545,7 +3545,7 @@ }, "end": { "line": 103, - "column": 51 + "column": 37 } }, "method": false, @@ -3554,7 +3554,7 @@ "key": { "type": "Identifier", "start": 3614, - "end": 3634, + "end": 3628, "loc": { "start": { "line": 103, @@ -3562,34 +3562,33 @@ }, "end": { "line": 103, - "column": 36 + "column": 30 }, - "identifierName": "metaModelCorrections" + "identifierName": "nodesHaveNames" }, - "name": "metaModelCorrections" + "name": "nodesHaveNames" }, "value": { - "type": "Identifier", - "start": 3636, - "end": 3649, + "type": "BooleanLiteral", + "start": 3630, + "end": 3635, "loc": { "start": { "line": 103, - "column": 38 + "column": 32 }, "end": { "line": 103, - "column": 51 - }, - "identifierName": "metaModelData" + "column": 37 + } }, - "name": "metaModelData" + "value": false } }, { "type": "ObjectProperty", - "start": 3667, - "end": 3844, + "start": 3693, + "end": 3870, "loc": { "start": { "line": 104, @@ -3605,8 +3604,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3667, - "end": 3680, + "start": 3693, + "end": 3706, "loc": { "start": { "line": 104, @@ -3618,12 +3617,13 @@ }, "identifierName": "getAttachment" }, - "name": "getAttachment" + "name": "getAttachment", + "leadingComments": null }, "value": { "type": "LogicalExpression", - "start": 3682, - "end": 3844, + "start": 3708, + "end": 3870, "loc": { "start": { "line": 104, @@ -3636,8 +3636,8 @@ }, "left": { "type": "Identifier", - "start": 3682, - "end": 3695, + "start": 3708, + "end": 3721, "loc": { "start": { "line": 104, @@ -3654,8 +3654,8 @@ "operator": "||", "right": { "type": "ArrowFunctionExpression", - "start": 3700, - "end": 3843, + "start": 3726, + "end": 3869, "loc": { "start": { "line": 104, @@ -3673,8 +3673,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3706, - "end": 3843, + "start": 3732, + "end": 3869, "loc": { "start": { "line": 104, @@ -3688,8 +3688,8 @@ "body": [ { "type": "ThrowStatement", - "start": 3728, - "end": 3825, + "start": 3754, + "end": 3851, "loc": { "start": { "line": 105, @@ -3702,8 +3702,8 @@ }, "argument": { "type": "NewExpression", - "start": 3734, - "end": 3825, + "start": 3760, + "end": 3851, "loc": { "start": { "line": 105, @@ -3716,8 +3716,8 @@ }, "callee": { "type": "Identifier", - "start": 3738, - "end": 3743, + "start": 3764, + "end": 3769, "loc": { "start": { "line": 105, @@ -3734,8 +3734,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 3744, - "end": 3824, + "start": 3770, + "end": 3850, "loc": { "start": { "line": 105, @@ -3760,15 +3760,33 @@ }, "extra": { "parenthesized": true, - "parenStart": 3699 + "parenStart": 3725 } } - } + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " determined in testIfNodesHaveNames()", + "start": 3637, + "end": 3676, + "loc": { + "start": { + "line": 103, + "column": 39 + }, + "end": { + "line": 103, + "column": 78 + } + } + } + ] }, { "type": "ObjectProperty", - "start": 3862, - "end": 3910, + "start": 3888, + "end": 3936, "loc": { "start": { "line": 107, @@ -3784,8 +3802,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3862, - "end": 3865, + "start": 3888, + "end": 3891, "loc": { "start": { "line": 107, @@ -3801,8 +3819,8 @@ }, "value": { "type": "LogicalExpression", - "start": 3868, - "end": 3909, + "start": 3894, + "end": 3935, "loc": { "start": { "line": 107, @@ -3815,8 +3833,8 @@ }, "left": { "type": "Identifier", - "start": 3868, - "end": 3871, + "start": 3894, + "end": 3897, "loc": { "start": { "line": 107, @@ -3833,8 +3851,8 @@ "operator": "||", "right": { "type": "FunctionExpression", - "start": 3875, - "end": 3909, + "start": 3901, + "end": 3935, "loc": { "start": { "line": 107, @@ -3852,8 +3870,8 @@ "params": [ { "type": "Identifier", - "start": 3885, - "end": 3888, + "start": 3911, + "end": 3914, "loc": { "start": { "line": 107, @@ -3870,8 +3888,8 @@ ], "body": { "type": "BlockStatement", - "start": 3890, - "end": 3909, + "start": 3916, + "end": 3935, "loc": { "start": { "line": 107, @@ -3888,14 +3906,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 3867 + "parenStart": 3893 } } }, { "type": "ObjectProperty", - "start": 3928, - "end": 4009, + "start": 3954, + "end": 4035, "loc": { "start": { "line": 109, @@ -3911,8 +3929,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3928, - "end": 3933, + "start": 3954, + "end": 3959, "loc": { "start": { "line": 109, @@ -3928,8 +3946,8 @@ }, "value": { "type": "FunctionExpression", - "start": 3935, - "end": 4009, + "start": 3961, + "end": 4035, "loc": { "start": { "line": 109, @@ -3947,8 +3965,8 @@ "params": [ { "type": "Identifier", - "start": 3945, - "end": 3948, + "start": 3971, + "end": 3974, "loc": { "start": { "line": 109, @@ -3965,8 +3983,8 @@ ], "body": { "type": "BlockStatement", - "start": 3950, - "end": 4009, + "start": 3976, + "end": 4035, "loc": { "start": { "line": 109, @@ -3980,8 +3998,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3972, - "end": 3991, + "start": 3998, + "end": 4017, "loc": { "start": { "line": 110, @@ -3994,8 +4012,8 @@ }, "expression": { "type": "CallExpression", - "start": 3972, - "end": 3990, + "start": 3998, + "end": 4016, "loc": { "start": { "line": 110, @@ -4008,8 +4026,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3972, - "end": 3985, + "start": 3998, + "end": 4011, "loc": { "start": { "line": 110, @@ -4022,8 +4040,8 @@ }, "object": { "type": "Identifier", - "start": 3972, - "end": 3979, + "start": 3998, + "end": 4005, "loc": { "start": { "line": 110, @@ -4039,8 +4057,8 @@ }, "property": { "type": "Identifier", - "start": 3980, - "end": 3985, + "start": 4006, + "end": 4011, "loc": { "start": { "line": 110, @@ -4059,8 +4077,8 @@ "arguments": [ { "type": "Identifier", - "start": 3986, - "end": 3989, + "start": 4012, + "end": 4015, "loc": { "start": { "line": 110, @@ -4084,8 +4102,8 @@ }, { "type": "ObjectProperty", - "start": 4027, - "end": 4035, + "start": 4053, + "end": 4061, "loc": { "start": { "line": 112, @@ -4101,8 +4119,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4027, - "end": 4035, + "start": 4053, + "end": 4061, "loc": { "start": { "line": 112, @@ -4118,8 +4136,8 @@ }, "value": { "type": "Identifier", - "start": 4027, - "end": 4035, + "start": 4053, + "end": 4061, "loc": { "start": { "line": 112, @@ -4139,8 +4157,8 @@ }, { "type": "ObjectProperty", - "start": 4053, - "end": 4095, + "start": 4079, + "end": 4121, "loc": { "start": { "line": 113, @@ -4156,8 +4174,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4053, - "end": 4067, + "start": 4079, + "end": 4093, "loc": { "start": { "line": 113, @@ -4173,8 +4191,8 @@ }, "value": { "type": "BinaryExpression", - "start": 4070, - "end": 4094, + "start": 4096, + "end": 4120, "loc": { "start": { "line": 113, @@ -4187,8 +4205,8 @@ }, "left": { "type": "Identifier", - "start": 4070, - "end": 4084, + "start": 4096, + "end": 4110, "loc": { "start": { "line": 113, @@ -4205,8 +4223,8 @@ "operator": "!==", "right": { "type": "BooleanLiteral", - "start": 4089, - "end": 4094, + "start": 4115, + "end": 4120, "loc": { "start": { "line": 113, @@ -4221,14 +4239,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 4069 + "parenStart": 4095 } } }, { "type": "ObjectProperty", - "start": 4113, - "end": 4157, + "start": 4139, + "end": 4183, "loc": { "start": { "line": 114, @@ -4244,8 +4262,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4113, - "end": 4128, + "start": 4139, + "end": 4154, "loc": { "start": { "line": 114, @@ -4261,8 +4279,8 @@ }, "value": { "type": "BinaryExpression", - "start": 4131, - "end": 4156, + "start": 4157, + "end": 4182, "loc": { "start": { "line": 114, @@ -4275,8 +4293,8 @@ }, "left": { "type": "Identifier", - "start": 4131, - "end": 4146, + "start": 4157, + "end": 4172, "loc": { "start": { "line": 114, @@ -4293,8 +4311,8 @@ "operator": "!==", "right": { "type": "BooleanLiteral", - "start": 4151, - "end": 4156, + "start": 4177, + "end": 4182, "loc": { "start": { "line": 114, @@ -4309,14 +4327,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 4130 + "parenStart": 4156 } } }, { "type": "ObjectProperty", - "start": 4175, - "end": 4194, + "start": 4201, + "end": 4220, "loc": { "start": { "line": 115, @@ -4332,8 +4350,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4175, - "end": 4190, + "start": 4201, + "end": 4216, "loc": { "start": { "line": 115, @@ -4349,8 +4367,8 @@ }, "value": { "type": "ObjectExpression", - "start": 4192, - "end": 4194, + "start": 4218, + "end": 4220, "loc": { "start": { "line": 115, @@ -4366,8 +4384,8 @@ }, { "type": "ObjectProperty", - "start": 4212, - "end": 4221, + "start": 4238, + "end": 4247, "loc": { "start": { "line": 116, @@ -4383,8 +4401,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4212, - "end": 4218, + "start": 4238, + "end": 4244, "loc": { "start": { "line": 116, @@ -4400,8 +4418,8 @@ }, "value": { "type": "NumericLiteral", - "start": 4220, - "end": 4221, + "start": 4246, + "end": 4247, "loc": { "start": { "line": 116, @@ -4421,8 +4439,8 @@ }, { "type": "ObjectProperty", - "start": 4239, - "end": 4244, + "start": 4265, + "end": 4270, "loc": { "start": { "line": 117, @@ -4438,8 +4456,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4239, - "end": 4244, + "start": 4265, + "end": 4270, "loc": { "start": { "line": 117, @@ -4455,8 +4473,8 @@ }, "value": { "type": "Identifier", - "start": 4239, - "end": 4244, + "start": 4265, + "end": 4270, "loc": { "start": { "line": 117, @@ -4482,8 +4500,8 @@ }, { "type": "ExpressionStatement", - "start": 4273, - "end": 4320, + "start": 4299, + "end": 4346, "loc": { "start": { "line": 120, @@ -4496,8 +4514,8 @@ }, "expression": { "type": "CallExpression", - "start": 4273, - "end": 4319, + "start": 4299, + "end": 4345, "loc": { "start": { "line": 120, @@ -4510,8 +4528,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4273, - "end": 4280, + "start": 4299, + "end": 4306, "loc": { "start": { "line": 120, @@ -4524,8 +4542,8 @@ }, "object": { "type": "Identifier", - "start": 4273, - "end": 4276, + "start": 4299, + "end": 4302, "loc": { "start": { "line": 120, @@ -4541,8 +4559,8 @@ }, "property": { "type": "Identifier", - "start": 4277, - "end": 4280, + "start": 4303, + "end": 4306, "loc": { "start": { "line": 120, @@ -4561,8 +4579,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 4281, - "end": 4318, + "start": 4307, + "end": 4344, "loc": { "start": { "line": 120, @@ -4584,8 +4602,8 @@ }, { "type": "ExpressionStatement", - "start": 4333, - "end": 4408, + "start": 4359, + "end": 4434, "loc": { "start": { "line": 121, @@ -4598,8 +4616,8 @@ }, "expression": { "type": "CallExpression", - "start": 4333, - "end": 4407, + "start": 4359, + "end": 4433, "loc": { "start": { "line": 121, @@ -4612,8 +4630,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4333, - "end": 4340, + "start": 4359, + "end": 4366, "loc": { "start": { "line": 121, @@ -4626,8 +4644,8 @@ }, "object": { "type": "Identifier", - "start": 4333, - "end": 4336, + "start": 4359, + "end": 4362, "loc": { "start": { "line": 121, @@ -4643,8 +4661,8 @@ }, "property": { "type": "Identifier", - "start": 4337, - "end": 4340, + "start": 4363, + "end": 4366, "loc": { "start": { "line": 121, @@ -4663,8 +4681,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 4341, - "end": 4406, + "start": 4367, + "end": 4432, "loc": { "start": { "line": 121, @@ -4678,8 +4696,8 @@ "expressions": [ { "type": "ConditionalExpression", - "start": 4361, - "end": 4404, + "start": 4387, + "end": 4430, "loc": { "start": { "line": 121, @@ -4692,8 +4710,8 @@ }, "test": { "type": "MemberExpression", - "start": 4361, - "end": 4379, + "start": 4387, + "end": 4405, "loc": { "start": { "line": 121, @@ -4706,8 +4724,8 @@ }, "object": { "type": "Identifier", - "start": 4361, - "end": 4364, + "start": 4387, + "end": 4390, "loc": { "start": { "line": 121, @@ -4723,8 +4741,8 @@ }, "property": { "type": "Identifier", - "start": 4365, - "end": 4379, + "start": 4391, + "end": 4405, "loc": { "start": { "line": 121, @@ -4742,8 +4760,8 @@ }, "consequent": { "type": "StringLiteral", - "start": 4382, - "end": 4391, + "start": 4408, + "end": 4417, "loc": { "start": { "line": 121, @@ -4762,8 +4780,8 @@ }, "alternate": { "type": "StringLiteral", - "start": 4394, - "end": 4404, + "start": 4420, + "end": 4430, "loc": { "start": { "line": 121, @@ -4785,8 +4803,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4342, - "end": 4359, + "start": 4368, + "end": 4385, "loc": { "start": { "line": 121, @@ -4805,8 +4823,8 @@ }, { "type": "TemplateElement", - "start": 4405, - "end": 4405, + "start": 4431, + "end": 4431, "loc": { "start": { "line": 121, @@ -4830,8 +4848,8 @@ }, { "type": "ExpressionStatement", - "start": 4421, - "end": 4498, + "start": 4447, + "end": 4524, "loc": { "start": { "line": 122, @@ -4844,8 +4862,8 @@ }, "expression": { "type": "CallExpression", - "start": 4421, - "end": 4497, + "start": 4447, + "end": 4523, "loc": { "start": { "line": 122, @@ -4858,8 +4876,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4421, - "end": 4428, + "start": 4447, + "end": 4454, "loc": { "start": { "line": 122, @@ -4872,8 +4890,8 @@ }, "object": { "type": "Identifier", - "start": 4421, - "end": 4424, + "start": 4447, + "end": 4450, "loc": { "start": { "line": 122, @@ -4889,8 +4907,8 @@ }, "property": { "type": "Identifier", - "start": 4425, - "end": 4428, + "start": 4451, + "end": 4454, "loc": { "start": { "line": 122, @@ -4909,8 +4927,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 4429, - "end": 4496, + "start": 4455, + "end": 4522, "loc": { "start": { "line": 122, @@ -4924,8 +4942,8 @@ "expressions": [ { "type": "ConditionalExpression", - "start": 4450, - "end": 4494, + "start": 4476, + "end": 4520, "loc": { "start": { "line": 122, @@ -4938,8 +4956,8 @@ }, "test": { "type": "MemberExpression", - "start": 4450, - "end": 4469, + "start": 4476, + "end": 4495, "loc": { "start": { "line": 122, @@ -4952,8 +4970,8 @@ }, "object": { "type": "Identifier", - "start": 4450, - "end": 4453, + "start": 4476, + "end": 4479, "loc": { "start": { "line": 122, @@ -4969,8 +4987,8 @@ }, "property": { "type": "Identifier", - "start": 4454, - "end": 4469, + "start": 4480, + "end": 4495, "loc": { "start": { "line": 122, @@ -4988,8 +5006,8 @@ }, "consequent": { "type": "StringLiteral", - "start": 4472, - "end": 4481, + "start": 4498, + "end": 4507, "loc": { "start": { "line": 122, @@ -5008,8 +5026,8 @@ }, "alternate": { "type": "StringLiteral", - "start": 4484, - "end": 4494, + "start": 4510, + "end": 4520, "loc": { "start": { "line": 122, @@ -5031,8 +5049,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4430, - "end": 4448, + "start": 4456, + "end": 4474, "loc": { "start": { "line": 122, @@ -5051,8 +5069,8 @@ }, { "type": "TemplateElement", - "start": 4495, - "end": 4495, + "start": 4521, + "end": 4521, "loc": { "start": { "line": 122, @@ -5076,8 +5094,8 @@ }, { "type": "IfStatement", - "start": 4512, - "end": 4588, + "start": 4538, + "end": 4614, "loc": { "start": { "line": 124, @@ -5090,8 +5108,8 @@ }, "test": { "type": "MemberExpression", - "start": 4516, - "end": 4535, + "start": 4542, + "end": 4561, "loc": { "start": { "line": 124, @@ -5104,8 +5122,8 @@ }, "object": { "type": "Identifier", - "start": 4516, - "end": 4519, + "start": 4542, + "end": 4545, "loc": { "start": { "line": 124, @@ -5121,8 +5139,8 @@ }, "property": { "type": "Identifier", - "start": 4520, - "end": 4535, + "start": 4546, + "end": 4561, "loc": { "start": { "line": 124, @@ -5140,8 +5158,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4537, - "end": 4588, + "start": 4563, + "end": 4614, "loc": { "start": { "line": 124, @@ -5155,8 +5173,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 4555, - "end": 4574, + "start": 4581, + "end": 4600, "loc": { "start": { "line": 125, @@ -5169,8 +5187,8 @@ }, "expression": { "type": "CallExpression", - "start": 4555, - "end": 4573, + "start": 4581, + "end": 4599, "loc": { "start": { "line": 125, @@ -5183,8 +5201,8 @@ }, "callee": { "type": "Identifier", - "start": 4555, - "end": 4568, + "start": 4581, + "end": 4594, "loc": { "start": { "line": 125, @@ -5201,8 +5219,8 @@ "arguments": [ { "type": "Identifier", - "start": 4569, - "end": 4572, + "start": 4595, + "end": 4598, "loc": { "start": { "line": 125, @@ -5226,8 +5244,8 @@ }, { "type": "ExpressionStatement", - "start": 4601, - "end": 4621, + "start": 4627, + "end": 4647, "loc": { "start": { "line": 127, @@ -5240,8 +5258,8 @@ }, "expression": { "type": "CallExpression", - "start": 4601, - "end": 4620, + "start": 4627, + "end": 4646, "loc": { "start": { "line": 127, @@ -5254,8 +5272,8 @@ }, "callee": { "type": "Identifier", - "start": 4601, - "end": 4615, + "start": 4627, + "end": 4641, "loc": { "start": { "line": 127, @@ -5272,8 +5290,8 @@ "arguments": [ { "type": "Identifier", - "start": 4616, - "end": 4619, + "start": 4642, + "end": 4645, "loc": { "start": { "line": 127, @@ -5292,8 +5310,8 @@ }, { "type": "ExpressionStatement", - "start": 4634, - "end": 4657, + "start": 4660, + "end": 4683, "loc": { "start": { "line": 128, @@ -5306,8 +5324,8 @@ }, "expression": { "type": "CallExpression", - "start": 4634, - "end": 4656, + "start": 4660, + "end": 4682, "loc": { "start": { "line": 128, @@ -5320,8 +5338,8 @@ }, "callee": { "type": "Identifier", - "start": 4634, - "end": 4651, + "start": 4660, + "end": 4677, "loc": { "start": { "line": 128, @@ -5338,8 +5356,8 @@ "arguments": [ { "type": "Identifier", - "start": 4652, - "end": 4655, + "start": 4678, + "end": 4681, "loc": { "start": { "line": 128, @@ -5358,8 +5376,8 @@ }, { "type": "ExpressionStatement", - "start": 4671, - "end": 4681, + "start": 4697, + "end": 4707, "loc": { "start": { "line": 130, @@ -5372,8 +5390,8 @@ }, "expression": { "type": "CallExpression", - "start": 4671, - "end": 4680, + "start": 4697, + "end": 4706, "loc": { "start": { "line": 130, @@ -5386,8 +5404,8 @@ }, "callee": { "type": "Identifier", - "start": 4671, - "end": 4678, + "start": 4697, + "end": 4704, "loc": { "start": { "line": 130, @@ -5410,8 +5428,8 @@ }, { "type": "ArrowFunctionExpression", - "start": 4694, - "end": 4774, + "start": 4720, + "end": 4800, "loc": { "start": { "line": 132, @@ -5429,8 +5447,8 @@ "params": [ { "type": "Identifier", - "start": 4695, - "end": 4701, + "start": 4721, + "end": 4727, "loc": { "start": { "line": 132, @@ -5447,8 +5465,8 @@ ], "body": { "type": "BlockStatement", - "start": 4706, - "end": 4774, + "start": 4732, + "end": 4800, "loc": { "start": { "line": 132, @@ -5462,8 +5480,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 4720, - "end": 4764, + "start": 4746, + "end": 4790, "loc": { "start": { "line": 133, @@ -5476,8 +5494,8 @@ }, "expression": { "type": "CallExpression", - "start": 4720, - "end": 4763, + "start": 4746, + "end": 4789, "loc": { "start": { "line": 133, @@ -5490,8 +5508,8 @@ }, "callee": { "type": "Identifier", - "start": 4720, - "end": 4726, + "start": 4746, + "end": 4752, "loc": { "start": { "line": 133, @@ -5508,8 +5526,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 4727, - "end": 4762, + "start": 4753, + "end": 4788, "loc": { "start": { "line": 133, @@ -5523,8 +5541,8 @@ "expressions": [ { "type": "Identifier", - "start": 4754, - "end": 4760, + "start": 4780, + "end": 4786, "loc": { "start": { "line": 133, @@ -5542,8 +5560,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4728, - "end": 4752, + "start": 4754, + "end": 4778, "loc": { "start": { "line": 133, @@ -5562,8 +5580,8 @@ }, { "type": "TemplateElement", - "start": 4761, - "end": 4761, + "start": 4787, + "end": 4787, "loc": { "start": { "line": 133, @@ -5608,8 +5626,8 @@ }, { "type": "FunctionDeclaration", - "start": 4788, - "end": 5074, + "start": 4814, + "end": 5100, "loc": { "start": { "line": 138, @@ -5622,8 +5640,8 @@ }, "id": { "type": "Identifier", - "start": 4797, - "end": 4810, + "start": 4823, + "end": 4836, "loc": { "start": { "line": 138, @@ -5643,8 +5661,8 @@ "params": [ { "type": "Identifier", - "start": 4811, - "end": 4814, + "start": 4837, + "end": 4840, "loc": { "start": { "line": 138, @@ -5661,8 +5679,8 @@ ], "body": { "type": "BlockStatement", - "start": 4816, - "end": 5074, + "start": 4842, + "end": 5100, "loc": { "start": { "line": 138, @@ -5676,8 +5694,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 4822, - "end": 4852, + "start": 4848, + "end": 4878, "loc": { "start": { "line": 139, @@ -5691,8 +5709,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 4828, - "end": 4851, + "start": 4854, + "end": 4877, "loc": { "start": { "line": 139, @@ -5705,8 +5723,8 @@ }, "id": { "type": "Identifier", - "start": 4828, - "end": 4836, + "start": 4854, + "end": 4862, "loc": { "start": { "line": 139, @@ -5722,8 +5740,8 @@ }, "init": { "type": "MemberExpression", - "start": 4839, - "end": 4851, + "start": 4865, + "end": 4877, "loc": { "start": { "line": 139, @@ -5736,8 +5754,8 @@ }, "object": { "type": "Identifier", - "start": 4839, - "end": 4842, + "start": 4865, + "end": 4868, "loc": { "start": { "line": 139, @@ -5753,8 +5771,8 @@ }, "property": { "type": "Identifier", - "start": 4843, - "end": 4851, + "start": 4869, + "end": 4877, "loc": { "start": { "line": 139, @@ -5776,8 +5794,8 @@ }, { "type": "VariableDeclaration", - "start": 4857, - "end": 4892, + "start": 4883, + "end": 4918, "loc": { "start": { "line": 140, @@ -5791,8 +5809,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 4863, - "end": 4891, + "start": 4889, + "end": 4917, "loc": { "start": { "line": 140, @@ -5805,8 +5823,8 @@ }, "id": { "type": "Identifier", - "start": 4863, - "end": 4871, + "start": 4889, + "end": 4897, "loc": { "start": { "line": 140, @@ -5822,8 +5840,8 @@ }, "init": { "type": "MemberExpression", - "start": 4874, - "end": 4891, + "start": 4900, + "end": 4917, "loc": { "start": { "line": 140, @@ -5836,8 +5854,8 @@ }, "object": { "type": "Identifier", - "start": 4874, - "end": 4882, + "start": 4900, + "end": 4908, "loc": { "start": { "line": 140, @@ -5853,8 +5871,8 @@ }, "property": { "type": "Identifier", - "start": 4883, - "end": 4891, + "start": 4909, + "end": 4917, "loc": { "start": { "line": 140, @@ -5876,8 +5894,8 @@ }, { "type": "IfStatement", - "start": 4897, - "end": 5072, + "start": 4923, + "end": 5098, "loc": { "start": { "line": 141, @@ -5890,8 +5908,8 @@ }, "test": { "type": "Identifier", - "start": 4901, - "end": 4909, + "start": 4927, + "end": 4935, "loc": { "start": { "line": 141, @@ -5907,8 +5925,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4911, - "end": 5072, + "start": 4937, + "end": 5098, "loc": { "start": { "line": 141, @@ -5922,8 +5940,8 @@ "body": [ { "type": "ForStatement", - "start": 4921, - "end": 5066, + "start": 4947, + "end": 5092, "loc": { "start": { "line": 142, @@ -5936,8 +5954,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 4926, - "end": 4958, + "start": 4952, + "end": 4984, "loc": { "start": { "line": 142, @@ -5951,8 +5969,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 4930, - "end": 4935, + "start": 4956, + "end": 4961, "loc": { "start": { "line": 142, @@ -5965,8 +5983,8 @@ }, "id": { "type": "Identifier", - "start": 4930, - "end": 4931, + "start": 4956, + "end": 4957, "loc": { "start": { "line": 142, @@ -5982,8 +6000,8 @@ }, "init": { "type": "NumericLiteral", - "start": 4934, - "end": 4935, + "start": 4960, + "end": 4961, "loc": { "start": { "line": 142, @@ -6003,8 +6021,8 @@ }, { "type": "VariableDeclarator", - "start": 4937, - "end": 4958, + "start": 4963, + "end": 4984, "loc": { "start": { "line": 142, @@ -6017,8 +6035,8 @@ }, "id": { "type": "Identifier", - "start": 4937, - "end": 4940, + "start": 4963, + "end": 4966, "loc": { "start": { "line": 142, @@ -6034,8 +6052,8 @@ }, "init": { "type": "MemberExpression", - "start": 4943, - "end": 4958, + "start": 4969, + "end": 4984, "loc": { "start": { "line": 142, @@ -6048,8 +6066,8 @@ }, "object": { "type": "Identifier", - "start": 4943, - "end": 4951, + "start": 4969, + "end": 4977, "loc": { "start": { "line": 142, @@ -6065,8 +6083,8 @@ }, "property": { "type": "Identifier", - "start": 4952, - "end": 4958, + "start": 4978, + "end": 4984, "loc": { "start": { "line": 142, @@ -6088,8 +6106,8 @@ }, "test": { "type": "BinaryExpression", - "start": 4960, - "end": 4967, + "start": 4986, + "end": 4993, "loc": { "start": { "line": 142, @@ -6102,8 +6120,8 @@ }, "left": { "type": "Identifier", - "start": 4960, - "end": 4961, + "start": 4986, + "end": 4987, "loc": { "start": { "line": 142, @@ -6120,8 +6138,8 @@ "operator": "<", "right": { "type": "Identifier", - "start": 4964, - "end": 4967, + "start": 4990, + "end": 4993, "loc": { "start": { "line": 142, @@ -6138,8 +6156,8 @@ }, "update": { "type": "UpdateExpression", - "start": 4969, - "end": 4972, + "start": 4995, + "end": 4998, "loc": { "start": { "line": 142, @@ -6154,8 +6172,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 4969, - "end": 4970, + "start": 4995, + "end": 4996, "loc": { "start": { "line": 142, @@ -6172,8 +6190,8 @@ }, "body": { "type": "BlockStatement", - "start": 4974, - "end": 5066, + "start": 5000, + "end": 5092, "loc": { "start": { "line": 142, @@ -6187,8 +6205,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 4988, - "end": 5019, + "start": 5014, + "end": 5045, "loc": { "start": { "line": 143, @@ -6201,8 +6219,8 @@ }, "expression": { "type": "CallExpression", - "start": 4988, - "end": 5018, + "start": 5014, + "end": 5044, "loc": { "start": { "line": 143, @@ -6215,8 +6233,8 @@ }, "callee": { "type": "Identifier", - "start": 4988, - "end": 5000, + "start": 5014, + "end": 5026, "loc": { "start": { "line": 143, @@ -6233,8 +6251,8 @@ "arguments": [ { "type": "Identifier", - "start": 5001, - "end": 5004, + "start": 5027, + "end": 5030, "loc": { "start": { "line": 143, @@ -6250,8 +6268,8 @@ }, { "type": "MemberExpression", - "start": 5006, - "end": 5017, + "start": 5032, + "end": 5043, "loc": { "start": { "line": 143, @@ -6264,8 +6282,8 @@ }, "object": { "type": "Identifier", - "start": 5006, - "end": 5014, + "start": 5032, + "end": 5040, "loc": { "start": { "line": 143, @@ -6281,8 +6299,8 @@ }, "property": { "type": "Identifier", - "start": 5015, - "end": 5016, + "start": 5041, + "end": 5042, "loc": { "start": { "line": 143, @@ -6303,8 +6321,8 @@ }, { "type": "ExpressionStatement", - "start": 5032, - "end": 5056, + "start": 5058, + "end": 5082, "loc": { "start": { "line": 144, @@ -6317,8 +6335,8 @@ }, "expression": { "type": "UpdateExpression", - "start": 5032, - "end": 5055, + "start": 5058, + "end": 5081, "loc": { "start": { "line": 144, @@ -6333,8 +6351,8 @@ "prefix": false, "argument": { "type": "MemberExpression", - "start": 5032, - "end": 5053, + "start": 5058, + "end": 5079, "loc": { "start": { "line": 144, @@ -6347,8 +6365,8 @@ }, "object": { "type": "MemberExpression", - "start": 5032, - "end": 5041, + "start": 5058, + "end": 5067, "loc": { "start": { "line": 144, @@ -6361,8 +6379,8 @@ }, "object": { "type": "Identifier", - "start": 5032, - "end": 5035, + "start": 5058, + "end": 5061, "loc": { "start": { "line": 144, @@ -6378,8 +6396,8 @@ }, "property": { "type": "Identifier", - "start": 5036, - "end": 5041, + "start": 5062, + "end": 5067, "loc": { "start": { "line": 144, @@ -6397,8 +6415,8 @@ }, "property": { "type": "Identifier", - "start": 5042, - "end": 5053, + "start": 5068, + "end": 5079, "loc": { "start": { "line": 144, @@ -6431,8 +6449,8 @@ }, { "type": "FunctionDeclaration", - "start": 5076, - "end": 7474, + "start": 5102, + "end": 7500, "loc": { "start": { "line": 149, @@ -6445,8 +6463,8 @@ }, "id": { "type": "Identifier", - "start": 5085, - "end": 5097, + "start": 5111, + "end": 5123, "loc": { "start": { "line": 149, @@ -6466,8 +6484,8 @@ "params": [ { "type": "Identifier", - "start": 5098, - "end": 5101, + "start": 5124, + "end": 5127, "loc": { "start": { "line": 149, @@ -6483,8 +6501,8 @@ }, { "type": "Identifier", - "start": 5103, - "end": 5110, + "start": 5129, + "end": 5136, "loc": { "start": { "line": 149, @@ -6501,8 +6519,8 @@ ], "body": { "type": "BlockStatement", - "start": 5112, - "end": 7474, + "start": 5138, + "end": 7500, "loc": { "start": { "line": 149, @@ -6516,8 +6534,8 @@ "body": [ { "type": "IfStatement", - "start": 5118, - "end": 5187, + "start": 5144, + "end": 5213, "loc": { "start": { "line": 150, @@ -6530,8 +6548,8 @@ }, "test": { "type": "LogicalExpression", - "start": 5122, - "end": 5162, + "start": 5148, + "end": 5188, "loc": { "start": { "line": 150, @@ -6544,8 +6562,8 @@ }, "left": { "type": "UnaryExpression", - "start": 5122, - "end": 5137, + "start": 5148, + "end": 5163, "loc": { "start": { "line": 150, @@ -6560,8 +6578,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 5123, - "end": 5137, + "start": 5149, + "end": 5163, "loc": { "start": { "line": 150, @@ -6574,8 +6592,8 @@ }, "object": { "type": "Identifier", - "start": 5123, - "end": 5130, + "start": 5149, + "end": 5156, "loc": { "start": { "line": 150, @@ -6591,8 +6609,8 @@ }, "property": { "type": "Identifier", - "start": 5131, - "end": 5137, + "start": 5157, + "end": 5163, "loc": { "start": { "line": 150, @@ -6615,8 +6633,8 @@ "operator": "||", "right": { "type": "UnaryExpression", - "start": 5141, - "end": 5162, + "start": 5167, + "end": 5188, "loc": { "start": { "line": 150, @@ -6631,8 +6649,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 5142, - "end": 5162, + "start": 5168, + "end": 5188, "loc": { "start": { "line": 150, @@ -6645,8 +6663,8 @@ }, "object": { "type": "MemberExpression", - "start": 5142, - "end": 5156, + "start": 5168, + "end": 5182, "loc": { "start": { "line": 150, @@ -6659,8 +6677,8 @@ }, "object": { "type": "Identifier", - "start": 5142, - "end": 5149, + "start": 5168, + "end": 5175, "loc": { "start": { "line": 150, @@ -6676,8 +6694,8 @@ }, "property": { "type": "Identifier", - "start": 5150, - "end": 5156, + "start": 5176, + "end": 5182, "loc": { "start": { "line": 150, @@ -6695,8 +6713,8 @@ }, "property": { "type": "Identifier", - "start": 5157, - "end": 5162, + "start": 5183, + "end": 5188, "loc": { "start": { "line": 150, @@ -6719,8 +6737,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 5164, - "end": 5187, + "start": 5190, + "end": 5213, "loc": { "start": { "line": 150, @@ -6734,8 +6752,8 @@ "body": [ { "type": "ReturnStatement", - "start": 5174, - "end": 5181, + "start": 5200, + "end": 5207, "loc": { "start": { "line": 151, @@ -6755,8 +6773,8 @@ }, { "type": "VariableDeclaration", - "start": 5192, - "end": 5236, + "start": 5218, + "end": 5262, "loc": { "start": { "line": 153, @@ -6770,8 +6788,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5198, - "end": 5235, + "start": 5224, + "end": 5261, "loc": { "start": { "line": 153, @@ -6784,8 +6802,8 @@ }, "id": { "type": "Identifier", - "start": 5198, - "end": 5207, + "start": 5224, + "end": 5233, "loc": { "start": { "line": 153, @@ -6801,8 +6819,8 @@ }, "init": { "type": "TemplateLiteral", - "start": 5210, - "end": 5235, + "start": 5236, + "end": 5261, "loc": { "start": { "line": 153, @@ -6816,8 +6834,8 @@ "expressions": [ { "type": "UpdateExpression", - "start": 5221, - "end": 5233, + "start": 5247, + "end": 5259, "loc": { "start": { "line": 153, @@ -6832,8 +6850,8 @@ "prefix": false, "argument": { "type": "MemberExpression", - "start": 5221, - "end": 5231, + "start": 5247, + "end": 5257, "loc": { "start": { "line": 153, @@ -6846,8 +6864,8 @@ }, "object": { "type": "Identifier", - "start": 5221, - "end": 5224, + "start": 5247, + "end": 5250, "loc": { "start": { "line": 153, @@ -6863,8 +6881,8 @@ }, "property": { "type": "Identifier", - "start": 5225, - "end": 5231, + "start": 5251, + "end": 5257, "loc": { "start": { "line": 153, @@ -6885,8 +6903,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 5211, - "end": 5219, + "start": 5237, + "end": 5245, "loc": { "start": { "line": 153, @@ -6905,8 +6923,8 @@ }, { "type": "TemplateElement", - "start": 5234, - "end": 5234, + "start": 5260, + "end": 5260, "loc": { "start": { "line": 153, @@ -6931,8 +6949,8 @@ }, { "type": "VariableDeclaration", - "start": 5242, - "end": 5284, + "start": 5268, + "end": 5310, "loc": { "start": { "line": 155, @@ -6946,8 +6964,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5246, - "end": 5283, + "start": 5272, + "end": 5309, "loc": { "start": { "line": 155, @@ -6960,8 +6978,8 @@ }, "id": { "type": "Identifier", - "start": 5246, - "end": 5255, + "start": 5272, + "end": 5281, "loc": { "start": { "line": 155, @@ -6977,8 +6995,8 @@ }, "init": { "type": "Identifier", - "start": 5258, - "end": 5283, + "start": 5284, + "end": 5309, "loc": { "start": { "line": 155, @@ -6998,8 +7016,8 @@ }, { "type": "SwitchStatement", - "start": 5289, - "end": 5840, + "start": 5315, + "end": 5866, "loc": { "start": { "line": 156, @@ -7012,8 +7030,8 @@ }, "discriminant": { "type": "MemberExpression", - "start": 5297, - "end": 5322, + "start": 5323, + "end": 5348, "loc": { "start": { "line": 156, @@ -7026,8 +7044,8 @@ }, "object": { "type": "MemberExpression", - "start": 5297, - "end": 5312, + "start": 5323, + "end": 5338, "loc": { "start": { "line": 156, @@ -7040,8 +7058,8 @@ }, "object": { "type": "Identifier", - "start": 5297, - "end": 5304, + "start": 5323, + "end": 5330, "loc": { "start": { "line": 156, @@ -7057,8 +7075,8 @@ }, "property": { "type": "Identifier", - "start": 5305, - "end": 5312, + "start": 5331, + "end": 5338, "loc": { "start": { "line": 156, @@ -7076,8 +7094,8 @@ }, "property": { "type": "Identifier", - "start": 5313, - "end": 5322, + "start": 5339, + "end": 5348, "loc": { "start": { "line": 156, @@ -7096,8 +7114,8 @@ "cases": [ { "type": "SwitchCase", - "start": 5334, - "end": 5402, + "start": 5360, + "end": 5428, "loc": { "start": { "line": 157, @@ -7111,8 +7129,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 5357, - "end": 5383, + "start": 5383, + "end": 5409, "loc": { "start": { "line": 158, @@ -7125,8 +7143,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5357, - "end": 5382, + "start": 5383, + "end": 5408, "loc": { "start": { "line": 158, @@ -7140,8 +7158,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5357, - "end": 5366, + "start": 5383, + "end": 5392, "loc": { "start": { "line": 158, @@ -7157,8 +7175,8 @@ }, "right": { "type": "Identifier", - "start": 5369, - "end": 5382, + "start": 5395, + "end": 5408, "loc": { "start": { "line": 158, @@ -7176,8 +7194,8 @@ }, { "type": "BreakStatement", - "start": 5396, - "end": 5402, + "start": 5422, + "end": 5428, "loc": { "start": { "line": 159, @@ -7193,8 +7211,8 @@ ], "test": { "type": "NumericLiteral", - "start": 5339, - "end": 5343, + "start": 5365, + "end": 5369, "loc": { "start": { "line": 157, @@ -7214,8 +7232,8 @@ }, { "type": "SwitchCase", - "start": 5411, - "end": 5478, + "start": 5437, + "end": 5504, "loc": { "start": { "line": 160, @@ -7229,8 +7247,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 5434, - "end": 5459, + "start": 5460, + "end": 5485, "loc": { "start": { "line": 161, @@ -7243,8 +7261,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5434, - "end": 5458, + "start": 5460, + "end": 5484, "loc": { "start": { "line": 161, @@ -7258,8 +7276,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5434, - "end": 5443, + "start": 5460, + "end": 5469, "loc": { "start": { "line": 161, @@ -7275,8 +7293,8 @@ }, "right": { "type": "Identifier", - "start": 5446, - "end": 5458, + "start": 5472, + "end": 5484, "loc": { "start": { "line": 161, @@ -7294,8 +7312,8 @@ }, { "type": "BreakStatement", - "start": 5472, - "end": 5478, + "start": 5498, + "end": 5504, "loc": { "start": { "line": 162, @@ -7311,8 +7329,8 @@ ], "test": { "type": "NumericLiteral", - "start": 5416, - "end": 5420, + "start": 5442, + "end": 5446, "loc": { "start": { "line": 160, @@ -7332,8 +7350,8 @@ }, { "type": "SwitchCase", - "start": 5487, - "end": 5568, + "start": 5513, + "end": 5594, "loc": { "start": { "line": 163, @@ -7347,8 +7365,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 5510, - "end": 5549, + "start": 5536, + "end": 5575, "loc": { "start": { "line": 164, @@ -7361,8 +7379,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5510, - "end": 5548, + "start": 5536, + "end": 5574, "loc": { "start": { "line": 164, @@ -7376,8 +7394,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5510, - "end": 5519, + "start": 5536, + "end": 5545, "loc": { "start": { "line": 164, @@ -7393,8 +7411,8 @@ }, "right": { "type": "Identifier", - "start": 5522, - "end": 5548, + "start": 5548, + "end": 5574, "loc": { "start": { "line": 164, @@ -7412,8 +7430,8 @@ }, { "type": "BreakStatement", - "start": 5562, - "end": 5568, + "start": 5588, + "end": 5594, "loc": { "start": { "line": 165, @@ -7429,8 +7447,8 @@ ], "test": { "type": "NumericLiteral", - "start": 5492, - "end": 5496, + "start": 5518, + "end": 5522, "loc": { "start": { "line": 163, @@ -7450,8 +7468,8 @@ }, { "type": "SwitchCase", - "start": 5577, - "end": 5657, + "start": 5603, + "end": 5683, "loc": { "start": { "line": 166, @@ -7465,8 +7483,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 5600, - "end": 5638, + "start": 5626, + "end": 5664, "loc": { "start": { "line": 167, @@ -7479,8 +7497,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5600, - "end": 5637, + "start": 5626, + "end": 5663, "loc": { "start": { "line": 167, @@ -7494,8 +7512,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5600, - "end": 5609, + "start": 5626, + "end": 5635, "loc": { "start": { "line": 167, @@ -7511,8 +7529,8 @@ }, "right": { "type": "Identifier", - "start": 5612, - "end": 5637, + "start": 5638, + "end": 5663, "loc": { "start": { "line": 167, @@ -7530,8 +7548,8 @@ }, { "type": "BreakStatement", - "start": 5651, - "end": 5657, + "start": 5677, + "end": 5683, "loc": { "start": { "line": 168, @@ -7547,8 +7565,8 @@ ], "test": { "type": "NumericLiteral", - "start": 5582, - "end": 5586, + "start": 5608, + "end": 5612, "loc": { "start": { "line": 166, @@ -7568,8 +7586,8 @@ }, { "type": "SwitchCase", - "start": 5666, - "end": 5746, + "start": 5692, + "end": 5772, "loc": { "start": { "line": 169, @@ -7583,8 +7601,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 5689, - "end": 5727, + "start": 5715, + "end": 5753, "loc": { "start": { "line": 170, @@ -7597,8 +7615,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5689, - "end": 5726, + "start": 5715, + "end": 5752, "loc": { "start": { "line": 170, @@ -7612,8 +7630,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5689, - "end": 5698, + "start": 5715, + "end": 5724, "loc": { "start": { "line": 170, @@ -7629,8 +7647,8 @@ }, "right": { "type": "Identifier", - "start": 5701, - "end": 5726, + "start": 5727, + "end": 5752, "loc": { "start": { "line": 170, @@ -7648,8 +7666,8 @@ }, { "type": "BreakStatement", - "start": 5740, - "end": 5746, + "start": 5766, + "end": 5772, "loc": { "start": { "line": 171, @@ -7665,8 +7683,8 @@ ], "test": { "type": "NumericLiteral", - "start": 5671, - "end": 5675, + "start": 5697, + "end": 5701, "loc": { "start": { "line": 169, @@ -7686,8 +7704,8 @@ }, { "type": "SwitchCase", - "start": 5755, - "end": 5834, + "start": 5781, + "end": 5860, "loc": { "start": { "line": 172, @@ -7701,8 +7719,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 5778, - "end": 5815, + "start": 5804, + "end": 5841, "loc": { "start": { "line": 173, @@ -7715,8 +7733,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5778, - "end": 5814, + "start": 5804, + "end": 5840, "loc": { "start": { "line": 173, @@ -7730,8 +7748,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5778, - "end": 5787, + "start": 5804, + "end": 5813, "loc": { "start": { "line": 173, @@ -7747,8 +7765,8 @@ }, "right": { "type": "Identifier", - "start": 5790, - "end": 5814, + "start": 5816, + "end": 5840, "loc": { "start": { "line": 173, @@ -7766,8 +7784,8 @@ }, { "type": "BreakStatement", - "start": 5828, - "end": 5834, + "start": 5854, + "end": 5860, "loc": { "start": { "line": 174, @@ -7783,8 +7801,8 @@ ], "test": { "type": "NumericLiteral", - "start": 5760, - "end": 5764, + "start": 5786, + "end": 5790, "loc": { "start": { "line": 172, @@ -7806,8 +7824,8 @@ }, { "type": "VariableDeclaration", - "start": 5846, - "end": 5875, + "start": 5872, + "end": 5901, "loc": { "start": { "line": 177, @@ -7821,8 +7839,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 5850, - "end": 5874, + "start": 5876, + "end": 5900, "loc": { "start": { "line": 177, @@ -7835,8 +7853,8 @@ }, "id": { "type": "Identifier", - "start": 5850, - "end": 5859, + "start": 5876, + "end": 5885, "loc": { "start": { "line": 177, @@ -7852,8 +7870,8 @@ }, "init": { "type": "Identifier", - "start": 5862, - "end": 5874, + "start": 5888, + "end": 5900, "loc": { "start": { "line": 177, @@ -7873,8 +7891,8 @@ }, { "type": "SwitchStatement", - "start": 5880, - "end": 6075, + "start": 5906, + "end": 6101, "loc": { "start": { "line": 178, @@ -7887,8 +7905,8 @@ }, "discriminant": { "type": "MemberExpression", - "start": 5888, - "end": 5913, + "start": 5914, + "end": 5939, "loc": { "start": { "line": 178, @@ -7901,8 +7919,8 @@ }, "object": { "type": "MemberExpression", - "start": 5888, - "end": 5903, + "start": 5914, + "end": 5929, "loc": { "start": { "line": 178, @@ -7915,8 +7933,8 @@ }, "object": { "type": "Identifier", - "start": 5888, - "end": 5895, + "start": 5914, + "end": 5921, "loc": { "start": { "line": 178, @@ -7932,8 +7950,8 @@ }, "property": { "type": "Identifier", - "start": 5896, - "end": 5903, + "start": 5922, + "end": 5929, "loc": { "start": { "line": 178, @@ -7951,8 +7969,8 @@ }, "property": { "type": "Identifier", - "start": 5904, - "end": 5913, + "start": 5930, + "end": 5939, "loc": { "start": { "line": 178, @@ -7971,8 +7989,8 @@ "cases": [ { "type": "SwitchCase", - "start": 5925, - "end": 5993, + "start": 5951, + "end": 6019, "loc": { "start": { "line": 179, @@ -7986,8 +8004,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 5948, - "end": 5974, + "start": 5974, + "end": 6000, "loc": { "start": { "line": 180, @@ -8000,8 +8018,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 5948, - "end": 5973, + "start": 5974, + "end": 5999, "loc": { "start": { "line": 180, @@ -8015,8 +8033,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 5948, - "end": 5957, + "start": 5974, + "end": 5983, "loc": { "start": { "line": 180, @@ -8032,8 +8050,8 @@ }, "right": { "type": "Identifier", - "start": 5960, - "end": 5973, + "start": 5986, + "end": 5999, "loc": { "start": { "line": 180, @@ -8051,8 +8069,8 @@ }, { "type": "BreakStatement", - "start": 5987, - "end": 5993, + "start": 6013, + "end": 6019, "loc": { "start": { "line": 181, @@ -8068,8 +8086,8 @@ ], "test": { "type": "NumericLiteral", - "start": 5930, - "end": 5934, + "start": 5956, + "end": 5960, "loc": { "start": { "line": 179, @@ -8089,8 +8107,8 @@ }, { "type": "SwitchCase", - "start": 6002, - "end": 6069, + "start": 6028, + "end": 6095, "loc": { "start": { "line": 182, @@ -8104,8 +8122,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 6025, - "end": 6050, + "start": 6051, + "end": 6076, "loc": { "start": { "line": 183, @@ -8118,8 +8136,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6025, - "end": 6049, + "start": 6051, + "end": 6075, "loc": { "start": { "line": 183, @@ -8133,8 +8151,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6025, - "end": 6034, + "start": 6051, + "end": 6060, "loc": { "start": { "line": 183, @@ -8150,8 +8168,8 @@ }, "right": { "type": "Identifier", - "start": 6037, - "end": 6049, + "start": 6063, + "end": 6075, "loc": { "start": { "line": 183, @@ -8169,8 +8187,8 @@ }, { "type": "BreakStatement", - "start": 6063, - "end": 6069, + "start": 6089, + "end": 6095, "loc": { "start": { "line": 184, @@ -8186,8 +8204,8 @@ ], "test": { "type": "NumericLiteral", - "start": 6007, - "end": 6011, + "start": 6033, + "end": 6037, "loc": { "start": { "line": 182, @@ -8209,8 +8227,8 @@ }, { "type": "VariableDeclaration", - "start": 6081, - "end": 6108, + "start": 6107, + "end": 6134, "loc": { "start": { "line": 187, @@ -8224,8 +8242,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6085, - "end": 6107, + "start": 6111, + "end": 6133, "loc": { "start": { "line": 187, @@ -8238,8 +8256,8 @@ }, "id": { "type": "Identifier", - "start": 6085, - "end": 6090, + "start": 6111, + "end": 6116, "loc": { "start": { "line": 187, @@ -8255,8 +8273,8 @@ }, "init": { "type": "Identifier", - "start": 6093, - "end": 6107, + "start": 6119, + "end": 6133, "loc": { "start": { "line": 187, @@ -8276,8 +8294,8 @@ }, { "type": "SwitchStatement", - "start": 6113, - "end": 6389, + "start": 6139, + "end": 6415, "loc": { "start": { "line": 188, @@ -8290,8 +8308,8 @@ }, "discriminant": { "type": "MemberExpression", - "start": 6121, - "end": 6142, + "start": 6147, + "end": 6168, "loc": { "start": { "line": 188, @@ -8304,8 +8322,8 @@ }, "object": { "type": "MemberExpression", - "start": 6121, - "end": 6136, + "start": 6147, + "end": 6162, "loc": { "start": { "line": 188, @@ -8318,8 +8336,8 @@ }, "object": { "type": "Identifier", - "start": 6121, - "end": 6128, + "start": 6147, + "end": 6154, "loc": { "start": { "line": 188, @@ -8335,8 +8353,8 @@ }, "property": { "type": "Identifier", - "start": 6129, - "end": 6136, + "start": 6155, + "end": 6162, "loc": { "start": { "line": 188, @@ -8354,8 +8372,8 @@ }, "property": { "type": "Identifier", - "start": 6137, - "end": 6142, + "start": 6163, + "end": 6168, "loc": { "start": { "line": 188, @@ -8374,8 +8392,8 @@ "cases": [ { "type": "SwitchCase", - "start": 6154, - "end": 6225, + "start": 6180, + "end": 6251, "loc": { "start": { "line": 189, @@ -8389,8 +8407,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 6178, - "end": 6206, + "start": 6204, + "end": 6232, "loc": { "start": { "line": 190, @@ -8403,8 +8421,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6178, - "end": 6205, + "start": 6204, + "end": 6231, "loc": { "start": { "line": 190, @@ -8418,8 +8436,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6178, - "end": 6183, + "start": 6204, + "end": 6209, "loc": { "start": { "line": 190, @@ -8435,8 +8453,8 @@ }, "right": { "type": "Identifier", - "start": 6186, - "end": 6205, + "start": 6212, + "end": 6231, "loc": { "start": { "line": 190, @@ -8454,8 +8472,8 @@ }, { "type": "BreakStatement", - "start": 6219, - "end": 6225, + "start": 6245, + "end": 6251, "loc": { "start": { "line": 191, @@ -8471,8 +8489,8 @@ ], "test": { "type": "NumericLiteral", - "start": 6159, - "end": 6164, + "start": 6185, + "end": 6190, "loc": { "start": { "line": 189, @@ -8492,8 +8510,8 @@ }, { "type": "SwitchCase", - "start": 6234, - "end": 6308, + "start": 6260, + "end": 6334, "loc": { "start": { "line": 192, @@ -8507,8 +8525,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 6258, - "end": 6289, + "start": 6284, + "end": 6315, "loc": { "start": { "line": 193, @@ -8521,8 +8539,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6258, - "end": 6288, + "start": 6284, + "end": 6314, "loc": { "start": { "line": 193, @@ -8536,8 +8554,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6258, - "end": 6263, + "start": 6284, + "end": 6289, "loc": { "start": { "line": 193, @@ -8553,8 +8571,8 @@ }, "right": { "type": "Identifier", - "start": 6266, - "end": 6288, + "start": 6292, + "end": 6314, "loc": { "start": { "line": 193, @@ -8572,8 +8590,8 @@ }, { "type": "BreakStatement", - "start": 6302, - "end": 6308, + "start": 6328, + "end": 6334, "loc": { "start": { "line": 194, @@ -8589,8 +8607,8 @@ ], "test": { "type": "NumericLiteral", - "start": 6239, - "end": 6244, + "start": 6265, + "end": 6270, "loc": { "start": { "line": 192, @@ -8610,8 +8628,8 @@ }, { "type": "SwitchCase", - "start": 6317, - "end": 6383, + "start": 6343, + "end": 6409, "loc": { "start": { "line": 195, @@ -8625,8 +8643,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 6341, - "end": 6364, + "start": 6367, + "end": 6390, "loc": { "start": { "line": 196, @@ -8639,8 +8657,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6341, - "end": 6363, + "start": 6367, + "end": 6389, "loc": { "start": { "line": 196, @@ -8654,8 +8672,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6341, - "end": 6346, + "start": 6367, + "end": 6372, "loc": { "start": { "line": 196, @@ -8671,8 +8689,8 @@ }, "right": { "type": "Identifier", - "start": 6349, - "end": 6363, + "start": 6375, + "end": 6389, "loc": { "start": { "line": 196, @@ -8690,8 +8708,8 @@ }, { "type": "BreakStatement", - "start": 6377, - "end": 6383, + "start": 6403, + "end": 6409, "loc": { "start": { "line": 197, @@ -8707,8 +8725,8 @@ ], "test": { "type": "NumericLiteral", - "start": 6322, - "end": 6327, + "start": 6348, + "end": 6353, "loc": { "start": { "line": 195, @@ -8730,8 +8748,8 @@ }, { "type": "VariableDeclaration", - "start": 6395, - "end": 6422, + "start": 6421, + "end": 6448, "loc": { "start": { "line": 200, @@ -8745,8 +8763,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6399, - "end": 6421, + "start": 6425, + "end": 6447, "loc": { "start": { "line": 200, @@ -8759,8 +8777,8 @@ }, "id": { "type": "Identifier", - "start": 6399, - "end": 6404, + "start": 6425, + "end": 6430, "loc": { "start": { "line": 200, @@ -8776,8 +8794,8 @@ }, "init": { "type": "Identifier", - "start": 6407, - "end": 6421, + "start": 6433, + "end": 6447, "loc": { "start": { "line": 200, @@ -8797,8 +8815,8 @@ }, { "type": "SwitchStatement", - "start": 6427, - "end": 6703, + "start": 6453, + "end": 6729, "loc": { "start": { "line": 201, @@ -8811,8 +8829,8 @@ }, "discriminant": { "type": "MemberExpression", - "start": 6435, - "end": 6456, + "start": 6461, + "end": 6482, "loc": { "start": { "line": 201, @@ -8825,8 +8843,8 @@ }, "object": { "type": "MemberExpression", - "start": 6435, - "end": 6450, + "start": 6461, + "end": 6476, "loc": { "start": { "line": 201, @@ -8839,8 +8857,8 @@ }, "object": { "type": "Identifier", - "start": 6435, - "end": 6442, + "start": 6461, + "end": 6468, "loc": { "start": { "line": 201, @@ -8856,8 +8874,8 @@ }, "property": { "type": "Identifier", - "start": 6443, - "end": 6450, + "start": 6469, + "end": 6476, "loc": { "start": { "line": 201, @@ -8875,8 +8893,8 @@ }, "property": { "type": "Identifier", - "start": 6451, - "end": 6456, + "start": 6477, + "end": 6482, "loc": { "start": { "line": 201, @@ -8895,8 +8913,8 @@ "cases": [ { "type": "SwitchCase", - "start": 6468, - "end": 6539, + "start": 6494, + "end": 6565, "loc": { "start": { "line": 202, @@ -8910,8 +8928,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 6492, - "end": 6520, + "start": 6518, + "end": 6546, "loc": { "start": { "line": 203, @@ -8924,8 +8942,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6492, - "end": 6519, + "start": 6518, + "end": 6545, "loc": { "start": { "line": 203, @@ -8939,8 +8957,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6492, - "end": 6497, + "start": 6518, + "end": 6523, "loc": { "start": { "line": 203, @@ -8956,8 +8974,8 @@ }, "right": { "type": "Identifier", - "start": 6500, - "end": 6519, + "start": 6526, + "end": 6545, "loc": { "start": { "line": 203, @@ -8975,8 +8993,8 @@ }, { "type": "BreakStatement", - "start": 6533, - "end": 6539, + "start": 6559, + "end": 6565, "loc": { "start": { "line": 204, @@ -8992,8 +9010,8 @@ ], "test": { "type": "NumericLiteral", - "start": 6473, - "end": 6478, + "start": 6499, + "end": 6504, "loc": { "start": { "line": 202, @@ -9013,8 +9031,8 @@ }, { "type": "SwitchCase", - "start": 6548, - "end": 6622, + "start": 6574, + "end": 6648, "loc": { "start": { "line": 205, @@ -9028,8 +9046,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 6572, - "end": 6603, + "start": 6598, + "end": 6629, "loc": { "start": { "line": 206, @@ -9042,8 +9060,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6572, - "end": 6602, + "start": 6598, + "end": 6628, "loc": { "start": { "line": 206, @@ -9057,8 +9075,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6572, - "end": 6577, + "start": 6598, + "end": 6603, "loc": { "start": { "line": 206, @@ -9074,8 +9092,8 @@ }, "right": { "type": "Identifier", - "start": 6580, - "end": 6602, + "start": 6606, + "end": 6628, "loc": { "start": { "line": 206, @@ -9093,8 +9111,8 @@ }, { "type": "BreakStatement", - "start": 6616, - "end": 6622, + "start": 6642, + "end": 6648, "loc": { "start": { "line": 207, @@ -9110,8 +9128,8 @@ ], "test": { "type": "NumericLiteral", - "start": 6553, - "end": 6558, + "start": 6579, + "end": 6584, "loc": { "start": { "line": 205, @@ -9131,8 +9149,8 @@ }, { "type": "SwitchCase", - "start": 6631, - "end": 6697, + "start": 6657, + "end": 6723, "loc": { "start": { "line": 208, @@ -9146,8 +9164,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 6655, - "end": 6678, + "start": 6681, + "end": 6704, "loc": { "start": { "line": 209, @@ -9160,8 +9178,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6655, - "end": 6677, + "start": 6681, + "end": 6703, "loc": { "start": { "line": 209, @@ -9175,8 +9193,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6655, - "end": 6660, + "start": 6681, + "end": 6686, "loc": { "start": { "line": 209, @@ -9192,8 +9210,8 @@ }, "right": { "type": "Identifier", - "start": 6663, - "end": 6677, + "start": 6689, + "end": 6703, "loc": { "start": { "line": 209, @@ -9211,8 +9229,8 @@ }, { "type": "BreakStatement", - "start": 6691, - "end": 6697, + "start": 6717, + "end": 6723, "loc": { "start": { "line": 210, @@ -9228,8 +9246,8 @@ ], "test": { "type": "NumericLiteral", - "start": 6636, - "end": 6641, + "start": 6662, + "end": 6667, "loc": { "start": { "line": 208, @@ -9251,8 +9269,8 @@ }, { "type": "VariableDeclaration", - "start": 6709, - "end": 6736, + "start": 6735, + "end": 6762, "loc": { "start": { "line": 213, @@ -9266,8 +9284,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 6713, - "end": 6735, + "start": 6739, + "end": 6761, "loc": { "start": { "line": 213, @@ -9280,8 +9298,8 @@ }, "id": { "type": "Identifier", - "start": 6713, - "end": 6718, + "start": 6739, + "end": 6744, "loc": { "start": { "line": 213, @@ -9297,8 +9315,8 @@ }, "init": { "type": "Identifier", - "start": 6721, - "end": 6735, + "start": 6747, + "end": 6761, "loc": { "start": { "line": 213, @@ -9318,8 +9336,8 @@ }, { "type": "SwitchStatement", - "start": 6741, - "end": 7017, + "start": 6767, + "end": 7043, "loc": { "start": { "line": 214, @@ -9332,8 +9350,8 @@ }, "discriminant": { "type": "MemberExpression", - "start": 6749, - "end": 6770, + "start": 6775, + "end": 6796, "loc": { "start": { "line": 214, @@ -9346,8 +9364,8 @@ }, "object": { "type": "MemberExpression", - "start": 6749, - "end": 6764, + "start": 6775, + "end": 6790, "loc": { "start": { "line": 214, @@ -9360,8 +9378,8 @@ }, "object": { "type": "Identifier", - "start": 6749, - "end": 6756, + "start": 6775, + "end": 6782, "loc": { "start": { "line": 214, @@ -9377,8 +9395,8 @@ }, "property": { "type": "Identifier", - "start": 6757, - "end": 6764, + "start": 6783, + "end": 6790, "loc": { "start": { "line": 214, @@ -9396,8 +9414,8 @@ }, "property": { "type": "Identifier", - "start": 6765, - "end": 6770, + "start": 6791, + "end": 6796, "loc": { "start": { "line": 214, @@ -9416,8 +9434,8 @@ "cases": [ { "type": "SwitchCase", - "start": 6782, - "end": 6853, + "start": 6808, + "end": 6879, "loc": { "start": { "line": 215, @@ -9431,8 +9449,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 6806, - "end": 6834, + "start": 6832, + "end": 6860, "loc": { "start": { "line": 216, @@ -9445,8 +9463,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6806, - "end": 6833, + "start": 6832, + "end": 6859, "loc": { "start": { "line": 216, @@ -9460,8 +9478,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6806, - "end": 6811, + "start": 6832, + "end": 6837, "loc": { "start": { "line": 216, @@ -9477,8 +9495,8 @@ }, "right": { "type": "Identifier", - "start": 6814, - "end": 6833, + "start": 6840, + "end": 6859, "loc": { "start": { "line": 216, @@ -9496,8 +9514,8 @@ }, { "type": "BreakStatement", - "start": 6847, - "end": 6853, + "start": 6873, + "end": 6879, "loc": { "start": { "line": 217, @@ -9513,8 +9531,8 @@ ], "test": { "type": "NumericLiteral", - "start": 6787, - "end": 6792, + "start": 6813, + "end": 6818, "loc": { "start": { "line": 215, @@ -9534,8 +9552,8 @@ }, { "type": "SwitchCase", - "start": 6862, - "end": 6936, + "start": 6888, + "end": 6962, "loc": { "start": { "line": 218, @@ -9549,8 +9567,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 6886, - "end": 6917, + "start": 6912, + "end": 6943, "loc": { "start": { "line": 219, @@ -9563,8 +9581,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6886, - "end": 6916, + "start": 6912, + "end": 6942, "loc": { "start": { "line": 219, @@ -9578,8 +9596,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6886, - "end": 6891, + "start": 6912, + "end": 6917, "loc": { "start": { "line": 219, @@ -9595,8 +9613,8 @@ }, "right": { "type": "Identifier", - "start": 6894, - "end": 6916, + "start": 6920, + "end": 6942, "loc": { "start": { "line": 219, @@ -9614,8 +9632,8 @@ }, { "type": "BreakStatement", - "start": 6930, - "end": 6936, + "start": 6956, + "end": 6962, "loc": { "start": { "line": 220, @@ -9631,8 +9649,8 @@ ], "test": { "type": "NumericLiteral", - "start": 6867, - "end": 6872, + "start": 6893, + "end": 6898, "loc": { "start": { "line": 218, @@ -9652,8 +9670,8 @@ }, { "type": "SwitchCase", - "start": 6945, - "end": 7011, + "start": 6971, + "end": 7037, "loc": { "start": { "line": 221, @@ -9667,8 +9685,8 @@ "consequent": [ { "type": "ExpressionStatement", - "start": 6969, - "end": 6992, + "start": 6995, + "end": 7018, "loc": { "start": { "line": 222, @@ -9681,8 +9699,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 6969, - "end": 6991, + "start": 6995, + "end": 7017, "loc": { "start": { "line": 222, @@ -9696,8 +9714,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 6969, - "end": 6974, + "start": 6995, + "end": 7000, "loc": { "start": { "line": 222, @@ -9713,8 +9731,8 @@ }, "right": { "type": "Identifier", - "start": 6977, - "end": 6991, + "start": 7003, + "end": 7017, "loc": { "start": { "line": 222, @@ -9732,8 +9750,8 @@ }, { "type": "BreakStatement", - "start": 7005, - "end": 7011, + "start": 7031, + "end": 7037, "loc": { "start": { "line": 223, @@ -9749,8 +9767,8 @@ ], "test": { "type": "NumericLiteral", - "start": 6950, - "end": 6955, + "start": 6976, + "end": 6981, "loc": { "start": { "line": 221, @@ -9772,8 +9790,8 @@ }, { "type": "ExpressionStatement", - "start": 7023, - "end": 7436, + "start": 7049, + "end": 7462, "loc": { "start": { "line": 226, @@ -9786,8 +9804,8 @@ }, "expression": { "type": "CallExpression", - "start": 7023, - "end": 7435, + "start": 7049, + "end": 7461, "loc": { "start": { "line": 226, @@ -9800,8 +9818,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7023, - "end": 7049, + "start": 7049, + "end": 7075, "loc": { "start": { "line": 226, @@ -9814,8 +9832,8 @@ }, "object": { "type": "MemberExpression", - "start": 7023, - "end": 7035, + "start": 7049, + "end": 7061, "loc": { "start": { "line": 226, @@ -9828,8 +9846,8 @@ }, "object": { "type": "Identifier", - "start": 7023, - "end": 7026, + "start": 7049, + "end": 7052, "loc": { "start": { "line": 226, @@ -9845,8 +9863,8 @@ }, "property": { "type": "Identifier", - "start": 7027, - "end": 7035, + "start": 7053, + "end": 7061, "loc": { "start": { "line": 226, @@ -9864,8 +9882,8 @@ }, "property": { "type": "Identifier", - "start": 7036, - "end": 7049, + "start": 7062, + "end": 7075, "loc": { "start": { "line": 226, @@ -9884,8 +9902,8 @@ "arguments": [ { "type": "ObjectExpression", - "start": 7050, - "end": 7434, + "start": 7076, + "end": 7460, "loc": { "start": { "line": 226, @@ -9899,8 +9917,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 7060, - "end": 7080, + "start": 7086, + "end": 7106, "loc": { "start": { "line": 227, @@ -9916,8 +9934,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7060, - "end": 7069, + "start": 7086, + "end": 7095, "loc": { "start": { "line": 227, @@ -9933,8 +9951,8 @@ }, "value": { "type": "Identifier", - "start": 7071, - "end": 7080, + "start": 7097, + "end": 7106, "loc": { "start": { "line": 227, @@ -9951,8 +9969,8 @@ }, { "type": "ObjectProperty", - "start": 7090, - "end": 7121, + "start": 7116, + "end": 7147, "loc": { "start": { "line": 228, @@ -9968,8 +9986,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7090, - "end": 7099, + "start": 7116, + "end": 7125, "loc": { "start": { "line": 228, @@ -9985,8 +10003,8 @@ }, "value": { "type": "MemberExpression", - "start": 7101, - "end": 7121, + "start": 7127, + "end": 7147, "loc": { "start": { "line": 228, @@ -9999,8 +10017,8 @@ }, "object": { "type": "MemberExpression", - "start": 7101, - "end": 7115, + "start": 7127, + "end": 7141, "loc": { "start": { "line": 228, @@ -10013,8 +10031,8 @@ }, "object": { "type": "Identifier", - "start": 7101, - "end": 7108, + "start": 7127, + "end": 7134, "loc": { "start": { "line": 228, @@ -10030,8 +10048,8 @@ }, "property": { "type": "Identifier", - "start": 7109, - "end": 7115, + "start": 7135, + "end": 7141, "loc": { "start": { "line": 228, @@ -10049,8 +10067,8 @@ }, "property": { "type": "Identifier", - "start": 7116, - "end": 7121, + "start": 7142, + "end": 7147, "loc": { "start": { "line": 228, @@ -10069,8 +10087,8 @@ }, { "type": "ObjectProperty", - "start": 7131, - "end": 7166, + "start": 7157, + "end": 7192, "loc": { "start": { "line": 229, @@ -10086,8 +10104,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7131, - "end": 7140, + "start": 7157, + "end": 7166, "loc": { "start": { "line": 229, @@ -10103,8 +10121,8 @@ }, "value": { "type": "MemberExpression", - "start": 7142, - "end": 7166, + "start": 7168, + "end": 7192, "loc": { "start": { "line": 229, @@ -10117,8 +10135,8 @@ }, "object": { "type": "MemberExpression", - "start": 7142, - "end": 7156, + "start": 7168, + "end": 7182, "loc": { "start": { "line": 229, @@ -10131,8 +10149,8 @@ }, "object": { "type": "Identifier", - "start": 7142, - "end": 7149, + "start": 7168, + "end": 7175, "loc": { "start": { "line": 229, @@ -10148,8 +10166,8 @@ }, "property": { "type": "Identifier", - "start": 7150, - "end": 7156, + "start": 7176, + "end": 7182, "loc": { "start": { "line": 229, @@ -10167,8 +10185,8 @@ }, "property": { "type": "Identifier", - "start": 7157, - "end": 7166, + "start": 7183, + "end": 7192, "loc": { "start": { "line": 229, @@ -10187,8 +10205,8 @@ }, { "type": "ObjectProperty", - "start": 7176, - "end": 7192, + "start": 7202, + "end": 7218, "loc": { "start": { "line": 230, @@ -10204,8 +10222,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7176, - "end": 7186, + "start": 7202, + "end": 7212, "loc": { "start": { "line": 230, @@ -10221,8 +10239,8 @@ }, "value": { "type": "BooleanLiteral", - "start": 7188, - "end": 7192, + "start": 7214, + "end": 7218, "loc": { "start": { "line": 230, @@ -10238,8 +10256,8 @@ }, { "type": "ObjectProperty", - "start": 7202, - "end": 7235, + "start": 7228, + "end": 7261, "loc": { "start": { "line": 231, @@ -10255,8 +10273,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7202, - "end": 7207, + "start": 7228, + "end": 7233, "loc": { "start": { "line": 231, @@ -10272,8 +10290,8 @@ }, "value": { "type": "MemberExpression", - "start": 7209, - "end": 7235, + "start": 7235, + "end": 7261, "loc": { "start": { "line": 231, @@ -10286,8 +10304,8 @@ }, "object": { "type": "MemberExpression", - "start": 7209, - "end": 7229, + "start": 7235, + "end": 7255, "loc": { "start": { "line": 231, @@ -10300,8 +10318,8 @@ }, "object": { "type": "MemberExpression", - "start": 7209, - "end": 7223, + "start": 7235, + "end": 7249, "loc": { "start": { "line": 231, @@ -10314,8 +10332,8 @@ }, "object": { "type": "Identifier", - "start": 7209, - "end": 7216, + "start": 7235, + "end": 7242, "loc": { "start": { "line": 231, @@ -10331,8 +10349,8 @@ }, "property": { "type": "Identifier", - "start": 7217, - "end": 7223, + "start": 7243, + "end": 7249, "loc": { "start": { "line": 231, @@ -10350,8 +10368,8 @@ }, "property": { "type": "Identifier", - "start": 7224, - "end": 7229, + "start": 7250, + "end": 7255, "loc": { "start": { "line": 231, @@ -10369,8 +10387,8 @@ }, "property": { "type": "Identifier", - "start": 7230, - "end": 7235, + "start": 7256, + "end": 7261, "loc": { "start": { "line": 231, @@ -10389,8 +10407,8 @@ }, { "type": "ObjectProperty", - "start": 7245, - "end": 7280, + "start": 7271, + "end": 7306, "loc": { "start": { "line": 232, @@ -10406,8 +10424,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7245, - "end": 7251, + "start": 7271, + "end": 7277, "loc": { "start": { "line": 232, @@ -10423,8 +10441,8 @@ }, "value": { "type": "MemberExpression", - "start": 7253, - "end": 7280, + "start": 7279, + "end": 7306, "loc": { "start": { "line": 232, @@ -10437,8 +10455,8 @@ }, "object": { "type": "MemberExpression", - "start": 7253, - "end": 7273, + "start": 7279, + "end": 7299, "loc": { "start": { "line": 232, @@ -10451,8 +10469,8 @@ }, "object": { "type": "MemberExpression", - "start": 7253, - "end": 7267, + "start": 7279, + "end": 7293, "loc": { "start": { "line": 232, @@ -10465,8 +10483,8 @@ }, "object": { "type": "Identifier", - "start": 7253, - "end": 7260, + "start": 7279, + "end": 7286, "loc": { "start": { "line": 232, @@ -10482,8 +10500,8 @@ }, "property": { "type": "Identifier", - "start": 7261, - "end": 7267, + "start": 7287, + "end": 7293, "loc": { "start": { "line": 232, @@ -10501,8 +10519,8 @@ }, "property": { "type": "Identifier", - "start": 7268, - "end": 7273, + "start": 7294, + "end": 7299, "loc": { "start": { "line": 232, @@ -10520,8 +10538,8 @@ }, "property": { "type": "Identifier", - "start": 7274, - "end": 7280, + "start": 7300, + "end": 7306, "loc": { "start": { "line": 232, @@ -10540,8 +10558,8 @@ }, { "type": "ObjectProperty", - "start": 7290, - "end": 7299, + "start": 7316, + "end": 7325, "loc": { "start": { "line": 233, @@ -10557,8 +10575,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7290, - "end": 7299, + "start": 7316, + "end": 7325, "loc": { "start": { "line": 233, @@ -10574,8 +10592,8 @@ }, "value": { "type": "Identifier", - "start": 7290, - "end": 7299, + "start": 7316, + "end": 7325, "loc": { "start": { "line": 233, @@ -10595,8 +10613,8 @@ }, { "type": "ObjectProperty", - "start": 7309, - "end": 7318, + "start": 7335, + "end": 7344, "loc": { "start": { "line": 234, @@ -10612,8 +10630,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7309, - "end": 7318, + "start": 7335, + "end": 7344, "loc": { "start": { "line": 234, @@ -10629,8 +10647,8 @@ }, "value": { "type": "Identifier", - "start": 7309, - "end": 7318, + "start": 7335, + "end": 7344, "loc": { "start": { "line": 234, @@ -10650,8 +10668,8 @@ }, { "type": "ObjectProperty", - "start": 7328, - "end": 7333, + "start": 7354, + "end": 7359, "loc": { "start": { "line": 235, @@ -10667,8 +10685,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7328, - "end": 7333, + "start": 7354, + "end": 7359, "loc": { "start": { "line": 235, @@ -10684,8 +10702,8 @@ }, "value": { "type": "Identifier", - "start": 7328, - "end": 7333, + "start": 7354, + "end": 7359, "loc": { "start": { "line": 235, @@ -10705,8 +10723,8 @@ }, { "type": "ObjectProperty", - "start": 7343, - "end": 7348, + "start": 7369, + "end": 7374, "loc": { "start": { "line": 236, @@ -10722,8 +10740,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7343, - "end": 7348, + "start": 7369, + "end": 7374, "loc": { "start": { "line": 236, @@ -10739,8 +10757,8 @@ }, "value": { "type": "Identifier", - "start": 7343, - "end": 7348, + "start": 7369, + "end": 7374, "loc": { "start": { "line": 236, @@ -10760,8 +10778,8 @@ }, { "type": "ObjectProperty", - "start": 7358, - "end": 7363, + "start": 7384, + "end": 7389, "loc": { "start": { "line": 237, @@ -10777,8 +10795,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7358, - "end": 7363, + "start": 7384, + "end": 7389, "loc": { "start": { "line": 237, @@ -10794,8 +10812,8 @@ }, "value": { "type": "Identifier", - "start": 7358, - "end": 7363, + "start": 7384, + "end": 7389, "loc": { "start": { "line": 237, @@ -10815,8 +10833,8 @@ }, { "type": "ObjectProperty", - "start": 7373, - "end": 7395, + "start": 7399, + "end": 7421, "loc": { "start": { "line": 238, @@ -10832,8 +10850,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7373, - "end": 7378, + "start": 7399, + "end": 7404, "loc": { "start": { "line": 238, @@ -10849,8 +10867,8 @@ }, "value": { "type": "UnaryExpression", - "start": 7380, - "end": 7395, + "start": 7406, + "end": 7421, "loc": { "start": { "line": 238, @@ -10865,8 +10883,8 @@ "prefix": true, "argument": { "type": "UnaryExpression", - "start": 7381, - "end": 7395, + "start": 7407, + "end": 7421, "loc": { "start": { "line": 238, @@ -10881,8 +10899,8 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 7382, - "end": 7395, + "start": 7408, + "end": 7421, "loc": { "start": { "line": 238, @@ -10895,8 +10913,8 @@ }, "object": { "type": "Identifier", - "start": 7382, - "end": 7389, + "start": 7408, + "end": 7415, "loc": { "start": { "line": 238, @@ -10912,8 +10930,8 @@ }, "property": { "type": "Identifier", - "start": 7390, - "end": 7395, + "start": 7416, + "end": 7421, "loc": { "start": { "line": 238, @@ -10941,8 +10959,8 @@ { "type": "CommentLine", "value": " encoding: \"sRGB\"", - "start": 7405, - "end": 7428, + "start": 7431, + "end": 7454, "loc": { "start": { "line": 239, @@ -10963,8 +10981,8 @@ }, { "type": "ExpressionStatement", - "start": 7441, - "end": 7472, + "start": 7467, + "end": 7498, "loc": { "start": { "line": 241, @@ -10977,8 +10995,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 7441, - "end": 7471, + "start": 7467, + "end": 7497, "loc": { "start": { "line": 241, @@ -10992,8 +11010,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 7441, - "end": 7459, + "start": 7467, + "end": 7485, "loc": { "start": { "line": 241, @@ -11006,8 +11024,8 @@ }, "object": { "type": "Identifier", - "start": 7441, - "end": 7448, + "start": 7467, + "end": 7474, "loc": { "start": { "line": 241, @@ -11023,8 +11041,8 @@ }, "property": { "type": "Identifier", - "start": 7449, - "end": 7459, + "start": 7475, + "end": 7485, "loc": { "start": { "line": 241, @@ -11042,8 +11060,8 @@ }, "right": { "type": "Identifier", - "start": 7462, - "end": 7471, + "start": 7488, + "end": 7497, "loc": { "start": { "line": 241, @@ -11065,8 +11083,8 @@ }, { "type": "FunctionDeclaration", - "start": 7476, - "end": 7902, + "start": 7502, + "end": 7928, "loc": { "start": { "line": 244, @@ -11079,8 +11097,8 @@ }, "id": { "type": "Identifier", - "start": 7485, - "end": 7499, + "start": 7511, + "end": 7525, "loc": { "start": { "line": 244, @@ -11100,8 +11118,8 @@ "params": [ { "type": "Identifier", - "start": 7500, - "end": 7503, + "start": 7526, + "end": 7529, "loc": { "start": { "line": 244, @@ -11118,8 +11136,8 @@ ], "body": { "type": "BlockStatement", - "start": 7505, - "end": 7902, + "start": 7531, + "end": 7928, "loc": { "start": { "line": 244, @@ -11133,8 +11151,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 7511, - "end": 7541, + "start": 7537, + "end": 7567, "loc": { "start": { "line": 245, @@ -11148,8 +11166,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 7517, - "end": 7540, + "start": 7543, + "end": 7566, "loc": { "start": { "line": 245, @@ -11162,8 +11180,8 @@ }, "id": { "type": "Identifier", - "start": 7517, - "end": 7525, + "start": 7543, + "end": 7551, "loc": { "start": { "line": 245, @@ -11179,8 +11197,8 @@ }, "init": { "type": "MemberExpression", - "start": 7528, - "end": 7540, + "start": 7554, + "end": 7566, "loc": { "start": { "line": 245, @@ -11193,8 +11211,8 @@ }, "object": { "type": "Identifier", - "start": 7528, - "end": 7531, + "start": 7554, + "end": 7557, "loc": { "start": { "line": 245, @@ -11210,8 +11228,8 @@ }, "property": { "type": "Identifier", - "start": 7532, - "end": 7540, + "start": 7558, + "end": 7566, "loc": { "start": { "line": 245, @@ -11233,8 +11251,8 @@ }, { "type": "VariableDeclaration", - "start": 7546, - "end": 7583, + "start": 7572, + "end": 7609, "loc": { "start": { "line": 246, @@ -11248,8 +11266,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 7552, - "end": 7582, + "start": 7578, + "end": 7608, "loc": { "start": { "line": 246, @@ -11262,8 +11280,8 @@ }, "id": { "type": "Identifier", - "start": 7552, - "end": 7561, + "start": 7578, + "end": 7587, "loc": { "start": { "line": 246, @@ -11279,8 +11297,8 @@ }, "init": { "type": "MemberExpression", - "start": 7564, - "end": 7582, + "start": 7590, + "end": 7608, "loc": { "start": { "line": 246, @@ -11293,8 +11311,8 @@ }, "object": { "type": "Identifier", - "start": 7564, - "end": 7572, + "start": 7590, + "end": 7598, "loc": { "start": { "line": 246, @@ -11310,8 +11328,8 @@ }, "property": { "type": "Identifier", - "start": 7573, - "end": 7582, + "start": 7599, + "end": 7608, "loc": { "start": { "line": 246, @@ -11333,8 +11351,8 @@ }, { "type": "IfStatement", - "start": 7588, - "end": 7900, + "start": 7614, + "end": 7926, "loc": { "start": { "line": 247, @@ -11347,8 +11365,8 @@ }, "test": { "type": "Identifier", - "start": 7592, - "end": 7601, + "start": 7618, + "end": 7627, "loc": { "start": { "line": 247, @@ -11364,8 +11382,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 7603, - "end": 7900, + "start": 7629, + "end": 7926, "loc": { "start": { "line": 247, @@ -11379,8 +11397,8 @@ "body": [ { "type": "ForStatement", - "start": 7613, - "end": 7894, + "start": 7639, + "end": 7920, "loc": { "start": { "line": 248, @@ -11393,8 +11411,8 @@ }, "init": { "type": "VariableDeclaration", - "start": 7618, - "end": 7651, + "start": 7644, + "end": 7677, "loc": { "start": { "line": 248, @@ -11408,8 +11426,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 7622, - "end": 7627, + "start": 7648, + "end": 7653, "loc": { "start": { "line": 248, @@ -11422,8 +11440,8 @@ }, "id": { "type": "Identifier", - "start": 7622, - "end": 7623, + "start": 7648, + "end": 7649, "loc": { "start": { "line": 248, @@ -11439,8 +11457,8 @@ }, "init": { "type": "NumericLiteral", - "start": 7626, - "end": 7627, + "start": 7652, + "end": 7653, "loc": { "start": { "line": 248, @@ -11460,8 +11478,8 @@ }, { "type": "VariableDeclarator", - "start": 7629, - "end": 7651, + "start": 7655, + "end": 7677, "loc": { "start": { "line": 248, @@ -11474,8 +11492,8 @@ }, "id": { "type": "Identifier", - "start": 7629, - "end": 7632, + "start": 7655, + "end": 7658, "loc": { "start": { "line": 248, @@ -11491,8 +11509,8 @@ }, "init": { "type": "MemberExpression", - "start": 7635, - "end": 7651, + "start": 7661, + "end": 7677, "loc": { "start": { "line": 248, @@ -11505,8 +11523,8 @@ }, "object": { "type": "Identifier", - "start": 7635, - "end": 7644, + "start": 7661, + "end": 7670, "loc": { "start": { "line": 248, @@ -11522,8 +11540,8 @@ }, "property": { "type": "Identifier", - "start": 7645, - "end": 7651, + "start": 7671, + "end": 7677, "loc": { "start": { "line": 248, @@ -11545,8 +11563,8 @@ }, "test": { "type": "BinaryExpression", - "start": 7653, - "end": 7660, + "start": 7679, + "end": 7686, "loc": { "start": { "line": 248, @@ -11559,8 +11577,8 @@ }, "left": { "type": "Identifier", - "start": 7653, - "end": 7654, + "start": 7679, + "end": 7680, "loc": { "start": { "line": 248, @@ -11577,8 +11595,8 @@ "operator": "<", "right": { "type": "Identifier", - "start": 7657, - "end": 7660, + "start": 7683, + "end": 7686, "loc": { "start": { "line": 248, @@ -11595,8 +11613,8 @@ }, "update": { "type": "UpdateExpression", - "start": 7662, - "end": 7665, + "start": 7688, + "end": 7691, "loc": { "start": { "line": 248, @@ -11611,8 +11629,8 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 7662, - "end": 7663, + "start": 7688, + "end": 7689, "loc": { "start": { "line": 248, @@ -11629,8 +11647,8 @@ }, "body": { "type": "BlockStatement", - "start": 7667, - "end": 7894, + "start": 7693, + "end": 7920, "loc": { "start": { "line": 248, @@ -11644,8 +11662,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 7681, - "end": 7711, + "start": 7707, + "end": 7737, "loc": { "start": { "line": 249, @@ -11659,8 +11677,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 7687, - "end": 7710, + "start": 7713, + "end": 7736, "loc": { "start": { "line": 249, @@ -11673,8 +11691,8 @@ }, "id": { "type": "Identifier", - "start": 7687, - "end": 7695, + "start": 7713, + "end": 7721, "loc": { "start": { "line": 249, @@ -11690,8 +11708,8 @@ }, "init": { "type": "MemberExpression", - "start": 7698, - "end": 7710, + "start": 7724, + "end": 7736, "loc": { "start": { "line": 249, @@ -11704,8 +11722,8 @@ }, "object": { "type": "Identifier", - "start": 7698, - "end": 7707, + "start": 7724, + "end": 7733, "loc": { "start": { "line": 249, @@ -11721,8 +11739,8 @@ }, "property": { "type": "Identifier", - "start": 7708, - "end": 7709, + "start": 7734, + "end": 7735, "loc": { "start": { "line": 249, @@ -11744,8 +11762,8 @@ }, { "type": "ExpressionStatement", - "start": 7724, - "end": 7809, + "start": 7750, + "end": 7835, "loc": { "start": { "line": 250, @@ -11758,8 +11776,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 7724, - "end": 7808, + "start": 7750, + "end": 7834, "loc": { "start": { "line": 250, @@ -11773,8 +11791,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 7724, - "end": 7746, + "start": 7750, + "end": 7772, "loc": { "start": { "line": 250, @@ -11787,8 +11805,8 @@ }, "object": { "type": "Identifier", - "start": 7724, - "end": 7732, + "start": 7750, + "end": 7758, "loc": { "start": { "line": 250, @@ -11804,8 +11822,8 @@ }, "property": { "type": "Identifier", - "start": 7733, - "end": 7746, + "start": 7759, + "end": 7772, "loc": { "start": { "line": 250, @@ -11823,8 +11841,8 @@ }, "right": { "type": "ConditionalExpression", - "start": 7749, - "end": 7808, + "start": 7775, + "end": 7834, "loc": { "start": { "line": 250, @@ -11837,8 +11855,8 @@ }, "test": { "type": "MemberExpression", - "start": 7749, - "end": 7768, + "start": 7775, + "end": 7794, "loc": { "start": { "line": 250, @@ -11851,8 +11869,8 @@ }, "object": { "type": "Identifier", - "start": 7749, - "end": 7752, + "start": 7775, + "end": 7778, "loc": { "start": { "line": 250, @@ -11868,8 +11886,8 @@ }, "property": { "type": "Identifier", - "start": 7753, - "end": 7768, + "start": 7779, + "end": 7794, "loc": { "start": { "line": 250, @@ -11887,8 +11905,8 @@ }, "consequent": { "type": "CallExpression", - "start": 7771, - "end": 7801, + "start": 7797, + "end": 7827, "loc": { "start": { "line": 250, @@ -11901,8 +11919,8 @@ }, "callee": { "type": "Identifier", - "start": 7771, - "end": 7786, + "start": 7797, + "end": 7812, "loc": { "start": { "line": 250, @@ -11919,8 +11937,8 @@ "arguments": [ { "type": "Identifier", - "start": 7787, - "end": 7790, + "start": 7813, + "end": 7816, "loc": { "start": { "line": 250, @@ -11936,8 +11954,8 @@ }, { "type": "Identifier", - "start": 7792, - "end": 7800, + "start": 7818, + "end": 7826, "loc": { "start": { "line": 250, @@ -11955,8 +11973,8 @@ }, "alternate": { "type": "NullLiteral", - "start": 7804, - "end": 7808, + "start": 7830, + "end": 7834, "loc": { "start": { "line": 250, @@ -11973,8 +11991,8 @@ }, { "type": "ExpressionStatement", - "start": 7822, - "end": 7884, + "start": 7848, + "end": 7910, "loc": { "start": { "line": 251, @@ -11987,8 +12005,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 7822, - "end": 7883, + "start": 7848, + "end": 7909, "loc": { "start": { "line": 251, @@ -12002,8 +12020,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 7822, - "end": 7842, + "start": 7848, + "end": 7868, "loc": { "start": { "line": 251, @@ -12016,8 +12034,8 @@ }, "object": { "type": "Identifier", - "start": 7822, - "end": 7830, + "start": 7848, + "end": 7856, "loc": { "start": { "line": 251, @@ -12033,8 +12051,8 @@ }, "property": { "type": "Identifier", - "start": 7831, - "end": 7842, + "start": 7857, + "end": 7868, "loc": { "start": { "line": 251, @@ -12052,8 +12070,8 @@ }, "right": { "type": "CallExpression", - "start": 7845, - "end": 7883, + "start": 7871, + "end": 7909, "loc": { "start": { "line": 251, @@ -12066,8 +12084,8 @@ }, "callee": { "type": "Identifier", - "start": 7845, - "end": 7868, + "start": 7871, + "end": 7894, "loc": { "start": { "line": 251, @@ -12084,8 +12102,8 @@ "arguments": [ { "type": "Identifier", - "start": 7869, - "end": 7872, + "start": 7895, + "end": 7898, "loc": { "start": { "line": 251, @@ -12101,8 +12119,8 @@ }, { "type": "Identifier", - "start": 7874, - "end": 7882, + "start": 7900, + "end": 7908, "loc": { "start": { "line": 251, @@ -12135,22 +12153,22 @@ }, { "type": "FunctionDeclaration", - "start": 7904, - "end": 10921, + "start": 7930, + "end": 10405, "loc": { "start": { "line": 256, "column": 0 }, "end": { - "line": 324, + "line": 307, "column": 1 } }, "id": { "type": "Identifier", - "start": 7913, - "end": 7928, + "start": 7939, + "end": 7954, "loc": { "start": { "line": 256, @@ -12170,8 +12188,8 @@ "params": [ { "type": "Identifier", - "start": 7929, - "end": 7932, + "start": 7955, + "end": 7958, "loc": { "start": { "line": 256, @@ -12187,8 +12205,8 @@ }, { "type": "Identifier", - "start": 7934, - "end": 7942, + "start": 7960, + "end": 7968, "loc": { "start": { "line": 256, @@ -12205,23 +12223,23 @@ ], "body": { "type": "BlockStatement", - "start": 7944, - "end": 10921, + "start": 7970, + "end": 10405, "loc": { "start": { "line": 256, "column": 40 }, "end": { - "line": 324, + "line": 307, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 7950, - "end": 7975, + "start": 7976, + "end": 8001, "loc": { "start": { "line": 257, @@ -12235,8 +12253,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 7956, - "end": 7974, + "start": 7982, + "end": 8000, "loc": { "start": { "line": 257, @@ -12249,8 +12267,8 @@ }, "id": { "type": "Identifier", - "start": 7956, - "end": 7969, + "start": 7982, + "end": 7995, "loc": { "start": { "line": 257, @@ -12266,8 +12284,8 @@ }, "init": { "type": "ObjectExpression", - "start": 7972, - "end": 7974, + "start": 7998, + "end": 8000, "loc": { "start": { "line": 257, @@ -12286,8 +12304,8 @@ }, { "type": "IfStatement", - "start": 7980, - "end": 8098, + "start": 8006, + "end": 8124, "loc": { "start": { "line": 258, @@ -12300,8 +12318,8 @@ }, "test": { "type": "MemberExpression", - "start": 7984, - "end": 8006, + "start": 8010, + "end": 8032, "loc": { "start": { "line": 258, @@ -12314,8 +12332,8 @@ }, "object": { "type": "Identifier", - "start": 7984, - "end": 7992, + "start": 8010, + "end": 8018, "loc": { "start": { "line": 258, @@ -12331,8 +12349,8 @@ }, "property": { "type": "Identifier", - "start": 7993, - "end": 8006, + "start": 8019, + "end": 8032, "loc": { "start": { "line": 258, @@ -12350,8 +12368,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 8008, - "end": 8098, + "start": 8034, + "end": 8124, "loc": { "start": { "line": 258, @@ -12365,8 +12383,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 8018, - "end": 8092, + "start": 8044, + "end": 8118, "loc": { "start": { "line": 259, @@ -12379,8 +12397,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 8018, - "end": 8091, + "start": 8044, + "end": 8117, "loc": { "start": { "line": 259, @@ -12394,8 +12412,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 8018, - "end": 8047, + "start": 8044, + "end": 8073, "loc": { "start": { "line": 259, @@ -12408,8 +12426,8 @@ }, "object": { "type": "Identifier", - "start": 8018, - "end": 8031, + "start": 8044, + "end": 8057, "loc": { "start": { "line": 259, @@ -12425,8 +12443,8 @@ }, "property": { "type": "Identifier", - "start": 8032, - "end": 8047, + "start": 8058, + "end": 8073, "loc": { "start": { "line": 259, @@ -12444,8 +12462,8 @@ }, "right": { "type": "MemberExpression", - "start": 8050, - "end": 8091, + "start": 8076, + "end": 8117, "loc": { "start": { "line": 259, @@ -12458,8 +12476,8 @@ }, "object": { "type": "MemberExpression", - "start": 8050, - "end": 8080, + "start": 8076, + "end": 8106, "loc": { "start": { "line": 259, @@ -12472,8 +12490,8 @@ }, "object": { "type": "MemberExpression", - "start": 8050, - "end": 8072, + "start": 8076, + "end": 8098, "loc": { "start": { "line": 259, @@ -12486,8 +12504,8 @@ }, "object": { "type": "Identifier", - "start": 8050, - "end": 8058, + "start": 8076, + "end": 8084, "loc": { "start": { "line": 259, @@ -12503,8 +12521,8 @@ }, "property": { "type": "Identifier", - "start": 8059, - "end": 8072, + "start": 8085, + "end": 8098, "loc": { "start": { "line": 259, @@ -12522,8 +12540,8 @@ }, "property": { "type": "Identifier", - "start": 8073, - "end": 8080, + "start": 8099, + "end": 8106, "loc": { "start": { "line": 259, @@ -12541,8 +12559,8 @@ }, "property": { "type": "Identifier", - "start": 8081, - "end": 8091, + "start": 8107, + "end": 8117, "loc": { "start": { "line": 259, @@ -12567,8 +12585,8 @@ }, { "type": "IfStatement", - "start": 8103, - "end": 8230, + "start": 8129, + "end": 8256, "loc": { "start": { "line": 261, @@ -12581,8 +12599,8 @@ }, "test": { "type": "MemberExpression", - "start": 8107, - "end": 8132, + "start": 8133, + "end": 8158, "loc": { "start": { "line": 261, @@ -12595,8 +12613,8 @@ }, "object": { "type": "Identifier", - "start": 8107, - "end": 8115, + "start": 8133, + "end": 8141, "loc": { "start": { "line": 261, @@ -12612,8 +12630,8 @@ }, "property": { "type": "Identifier", - "start": 8116, - "end": 8132, + "start": 8142, + "end": 8158, "loc": { "start": { "line": 261, @@ -12631,8 +12649,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 8134, - "end": 8230, + "start": 8160, + "end": 8256, "loc": { "start": { "line": 261, @@ -12646,8 +12664,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 8144, - "end": 8224, + "start": 8170, + "end": 8250, "loc": { "start": { "line": 262, @@ -12660,8 +12678,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 8144, - "end": 8223, + "start": 8170, + "end": 8249, "loc": { "start": { "line": 262, @@ -12675,8 +12693,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 8144, - "end": 8176, + "start": 8170, + "end": 8202, "loc": { "start": { "line": 262, @@ -12689,8 +12707,8 @@ }, "object": { "type": "Identifier", - "start": 8144, - "end": 8157, + "start": 8170, + "end": 8183, "loc": { "start": { "line": 262, @@ -12706,8 +12724,8 @@ }, "property": { "type": "Identifier", - "start": 8158, - "end": 8176, + "start": 8184, + "end": 8202, "loc": { "start": { "line": 262, @@ -12725,8 +12743,8 @@ }, "right": { "type": "MemberExpression", - "start": 8179, - "end": 8223, + "start": 8205, + "end": 8249, "loc": { "start": { "line": 262, @@ -12739,8 +12757,8 @@ }, "object": { "type": "MemberExpression", - "start": 8179, - "end": 8212, + "start": 8205, + "end": 8238, "loc": { "start": { "line": 262, @@ -12753,8 +12771,8 @@ }, "object": { "type": "MemberExpression", - "start": 8179, - "end": 8204, + "start": 8205, + "end": 8230, "loc": { "start": { "line": 262, @@ -12767,8 +12785,8 @@ }, "object": { "type": "Identifier", - "start": 8179, - "end": 8187, + "start": 8205, + "end": 8213, "loc": { "start": { "line": 262, @@ -12784,8 +12802,8 @@ }, "property": { "type": "Identifier", - "start": 8188, - "end": 8204, + "start": 8214, + "end": 8230, "loc": { "start": { "line": 262, @@ -12803,8 +12821,8 @@ }, "property": { "type": "Identifier", - "start": 8205, - "end": 8212, + "start": 8231, + "end": 8238, "loc": { "start": { "line": 262, @@ -12822,8 +12840,8 @@ }, "property": { "type": "Identifier", - "start": 8213, - "end": 8223, + "start": 8239, + "end": 8249, "loc": { "start": { "line": 262, @@ -12848,8 +12866,8 @@ }, { "type": "IfStatement", - "start": 8235, - "end": 8359, + "start": 8261, + "end": 8385, "loc": { "start": { "line": 264, @@ -12862,8 +12880,8 @@ }, "test": { "type": "MemberExpression", - "start": 8239, - "end": 8263, + "start": 8265, + "end": 8289, "loc": { "start": { "line": 264, @@ -12876,8 +12894,8 @@ }, "object": { "type": "Identifier", - "start": 8239, - "end": 8247, + "start": 8265, + "end": 8273, "loc": { "start": { "line": 264, @@ -12893,8 +12911,8 @@ }, "property": { "type": "Identifier", - "start": 8248, - "end": 8263, + "start": 8274, + "end": 8289, "loc": { "start": { "line": 264, @@ -12912,8 +12930,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 8265, - "end": 8359, + "start": 8291, + "end": 8385, "loc": { "start": { "line": 264, @@ -12927,8 +12945,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 8275, - "end": 8353, + "start": 8301, + "end": 8379, "loc": { "start": { "line": 265, @@ -12941,8 +12959,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 8275, - "end": 8352, + "start": 8301, + "end": 8378, "loc": { "start": { "line": 265, @@ -12956,8 +12974,8 @@ "operator": "=", "left": { "type": "MemberExpression", - "start": 8275, - "end": 8306, + "start": 8301, + "end": 8332, "loc": { "start": { "line": 265, @@ -12970,8 +12988,8 @@ }, "object": { "type": "Identifier", - "start": 8275, - "end": 8288, + "start": 8301, + "end": 8314, "loc": { "start": { "line": 265, @@ -12987,8 +13005,8 @@ }, "property": { "type": "Identifier", - "start": 8289, - "end": 8306, + "start": 8315, + "end": 8332, "loc": { "start": { "line": 265, @@ -13006,8 +13024,8 @@ }, "right": { "type": "MemberExpression", - "start": 8309, - "end": 8352, + "start": 8335, + "end": 8378, "loc": { "start": { "line": 265, @@ -13020,8 +13038,8 @@ }, "object": { "type": "MemberExpression", - "start": 8309, - "end": 8341, + "start": 8335, + "end": 8367, "loc": { "start": { "line": 265, @@ -13034,8 +13052,8 @@ }, "object": { "type": "MemberExpression", - "start": 8309, - "end": 8333, + "start": 8335, + "end": 8359, "loc": { "start": { "line": 265, @@ -13048,8 +13066,8 @@ }, "object": { "type": "Identifier", - "start": 8309, - "end": 8317, + "start": 8335, + "end": 8343, "loc": { "start": { "line": 265, @@ -13065,8 +13083,8 @@ }, "property": { "type": "Identifier", - "start": 8318, - "end": 8333, + "start": 8344, + "end": 8359, "loc": { "start": { "line": 265, @@ -13084,8 +13102,8 @@ }, "property": { "type": "Identifier", - "start": 8334, - "end": 8341, + "start": 8360, + "end": 8367, "loc": { "start": { "line": 265, @@ -13103,8 +13121,8 @@ }, "property": { "type": "Identifier", - "start": 8342, - "end": 8352, + "start": 8368, + "end": 8378, "loc": { "start": { "line": 265, @@ -13123,357 +13141,81 @@ } } ], - "directives": [], - "trailingComments": null + "directives": [] }, - "alternate": null, - "trailingComments": [ - { - "type": "CommentLine", - "value": " const alphaMode = material.alphaMode;", - "start": 8364, - "end": 8404, - "loc": { - "start": { - "line": 267, - "column": 4 - }, - "end": { - "line": 267, - "column": 44 - } - } - }, - { - "type": "CommentLine", - "value": " switch (alphaMode) {", - "start": 8409, - "end": 8432, - "loc": { - "start": { - "line": 268, - "column": 4 - }, - "end": { - "line": 268, - "column": 27 - } - } - }, - { - "type": "CommentLine", - "value": " case \"NORMAL_OPAQUE\":", - "start": 8437, - "end": 8465, - "loc": { - "start": { - "line": 269, - "column": 4 - }, - "end": { - "line": 269, - "column": 32 - } - } - }, - { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"opaque\";", - "start": 8470, - "end": 8514, - "loc": { - "start": { - "line": 270, - "column": 4 - }, - "end": { - "line": 270, - "column": 48 - } - } - }, - { - "type": "CommentLine", - "value": " break;", - "start": 8519, - "end": 8536, - "loc": { - "start": { - "line": 271, - "column": 4 - }, - "end": { - "line": 271, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": " case \"MASK\":", - "start": 8541, - "end": 8560, - "loc": { - "start": { - "line": 272, - "column": 4 - }, - "end": { - "line": 272, - "column": 23 - } - } - }, - { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"mask\";", - "start": 8565, - "end": 8607, - "loc": { - "start": { - "line": 273, - "column": 4 - }, - "end": { - "line": 273, - "column": 46 - } - } - }, - { - "type": "CommentLine", - "value": " break;", - "start": 8612, - "end": 8629, - "loc": { - "start": { - "line": 274, - "column": 4 - }, - "end": { - "line": 274, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": " case \"BLEND\":", - "start": 8634, - "end": 8654, - "loc": { - "start": { - "line": 275, - "column": 4 - }, - "end": { - "line": 275, - "column": 24 - } - } - }, - { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"blend\";", - "start": 8659, - "end": 8702, - "loc": { - "start": { - "line": 276, - "column": 4 - }, - "end": { - "line": 276, - "column": 47 - } - } - }, - { - "type": "CommentLine", - "value": " break;", - "start": 8707, - "end": 8724, - "loc": { - "start": { - "line": 277, - "column": 4 - }, - "end": { - "line": 277, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": " default:", - "start": 8729, - "end": 8744, - "loc": { - "start": { - "line": 278, - "column": 4 - }, - "end": { - "line": 278, - "column": 19 - } - } - }, - { - "type": "CommentLine", - "value": " }", - "start": 8749, - "end": 8753, - "loc": { - "start": { - "line": 279, - "column": 4 - }, - "end": { - "line": 279, - "column": 8 - } - } - }, - { - "type": "CommentLine", - "value": " const alphaCutoff = material.alphaCutoff;", - "start": 8758, - "end": 8802, - "loc": { - "start": { - "line": 280, - "column": 4 - }, - "end": { - "line": 280, - "column": 48 - } - } - }, - { - "type": "CommentLine", - "value": " if (alphaCutoff !== undefined) {", - "start": 8807, - "end": 8842, - "loc": { - "start": { - "line": 281, - "column": 4 - }, - "end": { - "line": 281, - "column": 39 - } - } - }, - { - "type": "CommentLine", - "value": " materialCfg.alphaCutoff = alphaCutoff;", - "start": 8847, - "end": 8892, - "loc": { - "start": { - "line": 282, - "column": 4 - }, - "end": { - "line": 282, - "column": 49 - } - } - }, - { - "type": "CommentLine", - "value": " }", - "start": 8897, - "end": 8901, - "loc": { - "start": { - "line": 283, - "column": 4 - }, - "end": { - "line": 283, - "column": 8 - } - } - } - ] + "alternate": null }, { "type": "VariableDeclaration", - "start": 8906, - "end": 8956, + "start": 8390, + "end": 8440, "loc": { "start": { - "line": 284, + "line": 267, "column": 4 }, "end": { - "line": 284, + "line": 267, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8912, - "end": 8955, + "start": 8396, + "end": 8439, "loc": { "start": { - "line": 284, + "line": 267, "column": 10 }, "end": { - "line": 284, + "line": 267, "column": 53 } }, "id": { "type": "Identifier", - "start": 8912, - "end": 8923, + "start": 8396, + "end": 8407, "loc": { "start": { - "line": 284, + "line": 267, "column": 10 }, "end": { - "line": 284, + "line": 267, "column": 21 }, "identifierName": "metallicPBR" }, - "name": "metallicPBR", - "leadingComments": null + "name": "metallicPBR" }, "init": { "type": "MemberExpression", - "start": 8926, - "end": 8955, + "start": 8410, + "end": 8439, "loc": { "start": { - "line": 284, + "line": 267, "column": 24 }, "end": { - "line": 284, + "line": 267, "column": 53 } }, "object": { "type": "Identifier", - "start": 8926, - "end": 8934, + "start": 8410, + "end": 8418, "loc": { "start": { - "line": 284, + "line": 267, "column": 24 }, "end": { - "line": 284, + "line": 267, "column": 32 }, "identifierName": "material" @@ -13482,15 +13224,15 @@ }, "property": { "type": "Identifier", - "start": 8935, - "end": 8955, + "start": 8419, + "end": 8439, "loc": { "start": { - "line": 284, + "line": 267, "column": 33 }, "end": { - "line": 284, + "line": 267, "column": 53 }, "identifierName": "pbrMetallicRoughness" @@ -13498,325 +13240,50 @@ "name": "pbrMetallicRoughness" }, "computed": false - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " const alphaMode = material.alphaMode;", - "start": 8364, - "end": 8404, - "loc": { - "start": { - "line": 267, - "column": 4 - }, - "end": { - "line": 267, - "column": 44 - } - } - }, - { - "type": "CommentLine", - "value": " switch (alphaMode) {", - "start": 8409, - "end": 8432, - "loc": { - "start": { - "line": 268, - "column": 4 - }, - "end": { - "line": 268, - "column": 27 - } - } - }, - { - "type": "CommentLine", - "value": " case \"NORMAL_OPAQUE\":", - "start": 8437, - "end": 8465, - "loc": { - "start": { - "line": 269, - "column": 4 - }, - "end": { - "line": 269, - "column": 32 - } - } - }, - { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"opaque\";", - "start": 8470, - "end": 8514, - "loc": { - "start": { - "line": 270, - "column": 4 - }, - "end": { - "line": 270, - "column": 48 - } - } - }, - { - "type": "CommentLine", - "value": " break;", - "start": 8519, - "end": 8536, - "loc": { - "start": { - "line": 271, - "column": 4 - }, - "end": { - "line": 271, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": " case \"MASK\":", - "start": 8541, - "end": 8560, - "loc": { - "start": { - "line": 272, - "column": 4 - }, - "end": { - "line": 272, - "column": 23 - } - } - }, - { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"mask\";", - "start": 8565, - "end": 8607, - "loc": { - "start": { - "line": 273, - "column": 4 - }, - "end": { - "line": 273, - "column": 46 - } - } - }, - { - "type": "CommentLine", - "value": " break;", - "start": 8612, - "end": 8629, - "loc": { - "start": { - "line": 274, - "column": 4 - }, - "end": { - "line": 274, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": " case \"BLEND\":", - "start": 8634, - "end": 8654, - "loc": { - "start": { - "line": 275, - "column": 4 - }, - "end": { - "line": 275, - "column": 24 - } - } - }, - { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"blend\";", - "start": 8659, - "end": 8702, - "loc": { - "start": { - "line": 276, - "column": 4 - }, - "end": { - "line": 276, - "column": 47 - } - } - }, - { - "type": "CommentLine", - "value": " break;", - "start": 8707, - "end": 8724, - "loc": { - "start": { - "line": 277, - "column": 4 - }, - "end": { - "line": 277, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": " default:", - "start": 8729, - "end": 8744, - "loc": { - "start": { - "line": 278, - "column": 4 - }, - "end": { - "line": 278, - "column": 19 - } - } - }, - { - "type": "CommentLine", - "value": " }", - "start": 8749, - "end": 8753, - "loc": { - "start": { - "line": 279, - "column": 4 - }, - "end": { - "line": 279, - "column": 8 - } - } - }, - { - "type": "CommentLine", - "value": " const alphaCutoff = material.alphaCutoff;", - "start": 8758, - "end": 8802, - "loc": { - "start": { - "line": 280, - "column": 4 - }, - "end": { - "line": 280, - "column": 48 - } - } - }, - { - "type": "CommentLine", - "value": " if (alphaCutoff !== undefined) {", - "start": 8807, - "end": 8842, - "loc": { - "start": { - "line": 281, - "column": 4 - }, - "end": { - "line": 281, - "column": 39 - } - } - }, - { - "type": "CommentLine", - "value": " materialCfg.alphaCutoff = alphaCutoff;", - "start": 8847, - "end": 8892, - "loc": { - "start": { - "line": 282, - "column": 4 - }, - "end": { - "line": 282, - "column": 49 - } - } - }, - { - "type": "CommentLine", - "value": " }", - "start": 8897, - "end": 8901, - "loc": { - "start": { - "line": 283, - "column": 4 - }, - "end": { - "line": 283, - "column": 8 - } } } - ] + ], + "kind": "const" }, { "type": "IfStatement", - "start": 8961, - "end": 9664, + "start": 8445, + "end": 9148, "loc": { "start": { - "line": 285, + "line": 268, "column": 4 }, "end": { - "line": 298, + "line": 281, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 8965, - "end": 8994, + "start": 8449, + "end": 8478, "loc": { "start": { - "line": 285, + "line": 268, "column": 8 }, "end": { - "line": 285, + "line": 268, "column": 37 } }, "object": { "type": "Identifier", - "start": 8965, - "end": 8973, + "start": 8449, + "end": 8457, "loc": { "start": { - "line": 285, + "line": 268, "column": 8 }, "end": { - "line": 285, + "line": 268, "column": 16 }, "identifierName": "material" @@ -13825,15 +13292,15 @@ }, "property": { "type": "Identifier", - "start": 8974, - "end": 8994, + "start": 8458, + "end": 8478, "loc": { "start": { - "line": 285, + "line": 268, "column": 17 }, "end": { - "line": 285, + "line": 268, "column": 37 }, "identifierName": "pbrMetallicRoughness" @@ -13844,59 +13311,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 8996, - "end": 9664, + "start": 8480, + "end": 9148, "loc": { "start": { - "line": 285, + "line": 268, "column": 39 }, "end": { - "line": 298, + "line": 281, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 9006, - "end": 9065, + "start": 8490, + "end": 8549, "loc": { "start": { - "line": 286, + "line": 269, "column": 8 }, "end": { - "line": 286, + "line": 269, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9012, - "end": 9064, + "start": 8496, + "end": 8548, "loc": { "start": { - "line": 286, + "line": 269, "column": 14 }, "end": { - "line": 286, + "line": 269, "column": 66 } }, "id": { "type": "Identifier", - "start": 9012, - "end": 9032, + "start": 8496, + "end": 8516, "loc": { "start": { - "line": 286, + "line": 269, "column": 14 }, "end": { - "line": 286, + "line": 269, "column": 34 }, "identifierName": "pbrMetallicRoughness" @@ -13905,29 +13372,29 @@ }, "init": { "type": "MemberExpression", - "start": 9035, - "end": 9064, + "start": 8519, + "end": 8548, "loc": { "start": { - "line": 286, + "line": 269, "column": 37 }, "end": { - "line": 286, + "line": 269, "column": 66 } }, "object": { "type": "Identifier", - "start": 9035, - "end": 9043, + "start": 8519, + "end": 8527, "loc": { "start": { - "line": 286, + "line": 269, "column": 37 }, "end": { - "line": 286, + "line": 269, "column": 45 }, "identifierName": "material" @@ -13936,15 +13403,15 @@ }, "property": { "type": "Identifier", - "start": 9044, - "end": 9064, + "start": 8528, + "end": 8548, "loc": { "start": { - "line": 286, + "line": 269, "column": 46 }, "end": { - "line": 286, + "line": 269, "column": 66 }, "identifierName": "pbrMetallicRoughness" @@ -13959,44 +13426,44 @@ }, { "type": "VariableDeclaration", - "start": 9074, - "end": 9174, + "start": 8558, + "end": 8658, "loc": { "start": { - "line": 287, + "line": 270, "column": 8 }, "end": { - "line": 287, + "line": 270, "column": 108 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9080, - "end": 9173, + "start": 8564, + "end": 8657, "loc": { "start": { - "line": 287, + "line": 270, "column": 14 }, "end": { - "line": 287, + "line": 270, "column": 107 } }, "id": { "type": "Identifier", - "start": 9080, - "end": 9096, + "start": 8564, + "end": 8580, "loc": { "start": { - "line": 287, + "line": 270, "column": 14 }, "end": { - "line": 287, + "line": 270, "column": 30 }, "identifierName": "baseColorTexture" @@ -14005,43 +13472,43 @@ }, "init": { "type": "LogicalExpression", - "start": 9099, - "end": 9173, + "start": 8583, + "end": 8657, "loc": { "start": { - "line": 287, + "line": 270, "column": 33 }, "end": { - "line": 287, + "line": 270, "column": 107 } }, "left": { "type": "MemberExpression", - "start": 9099, - "end": 9136, + "start": 8583, + "end": 8620, "loc": { "start": { - "line": 287, + "line": 270, "column": 33 }, "end": { - "line": 287, + "line": 270, "column": 70 } }, "object": { "type": "Identifier", - "start": 9099, - "end": 9119, + "start": 8583, + "end": 8603, "loc": { "start": { - "line": 287, + "line": 270, "column": 33 }, "end": { - "line": 287, + "line": 270, "column": 53 }, "identifierName": "pbrMetallicRoughness" @@ -14050,15 +13517,15 @@ }, "property": { "type": "Identifier", - "start": 9120, - "end": 9136, + "start": 8604, + "end": 8620, "loc": { "start": { - "line": 287, + "line": 270, "column": 54 }, "end": { - "line": 287, + "line": 270, "column": 70 }, "identifierName": "baseColorTexture" @@ -14070,29 +13537,29 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 9140, - "end": 9173, + "start": 8624, + "end": 8657, "loc": { "start": { - "line": 287, + "line": 270, "column": 74 }, "end": { - "line": 287, + "line": 270, "column": 107 } }, "object": { "type": "Identifier", - "start": 9140, - "end": 9160, + "start": 8624, + "end": 8644, "loc": { "start": { - "line": 287, + "line": 270, "column": 74 }, "end": { - "line": 287, + "line": 270, "column": 94 }, "identifierName": "pbrMetallicRoughness" @@ -14101,15 +13568,15 @@ }, "property": { "type": "Identifier", - "start": 9161, - "end": 9173, + "start": 8645, + "end": 8657, "loc": { "start": { - "line": 287, + "line": 270, "column": 95 }, "end": { - "line": 287, + "line": 270, "column": 107 }, "identifierName": "colorTexture" @@ -14125,29 +13592,29 @@ }, { "type": "IfStatement", - "start": 9183, - "end": 9484, + "start": 8667, + "end": 8968, "loc": { "start": { - "line": 288, + "line": 271, "column": 8 }, "end": { - "line": 294, + "line": 277, "column": 9 } }, "test": { "type": "Identifier", - "start": 9187, - "end": 9203, + "start": 8671, + "end": 8687, "loc": { "start": { - "line": 288, + "line": 271, "column": 12 }, "end": { - "line": 288, + "line": 271, "column": 28 }, "identifierName": "baseColorTexture" @@ -14156,58 +13623,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 9205, - "end": 9484, + "start": 8689, + "end": 8968, "loc": { "start": { - "line": 288, + "line": 271, "column": 30 }, "end": { - "line": 294, + "line": 277, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 9219, - "end": 9474, + "start": 8703, + "end": 8958, "loc": { "start": { - "line": 289, + "line": 272, "column": 12 }, "end": { - "line": 293, + "line": 276, "column": 13 } }, "test": { "type": "MemberExpression", - "start": 9223, - "end": 9247, + "start": 8707, + "end": 8731, "loc": { "start": { - "line": 289, + "line": 272, "column": 16 }, "end": { - "line": 289, + "line": 272, "column": 40 } }, "object": { "type": "Identifier", - "start": 9223, - "end": 9239, + "start": 8707, + "end": 8723, "loc": { "start": { - "line": 289, + "line": 272, "column": 16 }, "end": { - "line": 289, + "line": 272, "column": 32 }, "identifierName": "baseColorTexture" @@ -14216,15 +13683,15 @@ }, "property": { "type": "Identifier", - "start": 9240, - "end": 9247, + "start": 8724, + "end": 8731, "loc": { "start": { - "line": 289, + "line": 272, "column": 33 }, "end": { - "line": 289, + "line": 272, "column": 40 }, "identifierName": "texture" @@ -14235,73 +13702,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 9249, - "end": 9348, + "start": 8733, + "end": 8832, "loc": { "start": { - "line": 289, + "line": 272, "column": 42 }, "end": { - "line": 291, + "line": 274, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9267, - "end": 9334, + "start": 8751, + "end": 8818, "loc": { "start": { - "line": 290, + "line": 273, "column": 16 }, "end": { - "line": 290, + "line": 273, "column": 83 } }, "expression": { "type": "AssignmentExpression", - "start": 9267, - "end": 9333, + "start": 8751, + "end": 8817, "loc": { "start": { - "line": 290, + "line": 273, "column": 16 }, "end": { - "line": 290, + "line": 273, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9267, - "end": 9295, + "start": 8751, + "end": 8779, "loc": { "start": { - "line": 290, + "line": 273, "column": 16 }, "end": { - "line": 290, + "line": 273, "column": 44 } }, "object": { "type": "Identifier", - "start": 9267, - "end": 9280, + "start": 8751, + "end": 8764, "loc": { "start": { - "line": 290, + "line": 273, "column": 16 }, "end": { - "line": 290, + "line": 273, "column": 29 }, "identifierName": "textureSetCfg" @@ -14310,15 +13777,15 @@ }, "property": { "type": "Identifier", - "start": 9281, - "end": 9295, + "start": 8765, + "end": 8779, "loc": { "start": { - "line": 290, + "line": 273, "column": 30 }, "end": { - "line": 290, + "line": 273, "column": 44 }, "identifierName": "colorTextureId" @@ -14329,43 +13796,43 @@ }, "right": { "type": "MemberExpression", - "start": 9298, - "end": 9333, + "start": 8782, + "end": 8817, "loc": { "start": { - "line": 290, + "line": 273, "column": 47 }, "end": { - "line": 290, + "line": 273, "column": 82 } }, "object": { "type": "MemberExpression", - "start": 9298, - "end": 9322, + "start": 8782, + "end": 8806, "loc": { "start": { - "line": 290, + "line": 273, "column": 47 }, "end": { - "line": 290, + "line": 273, "column": 71 } }, "object": { "type": "Identifier", - "start": 9298, - "end": 9314, + "start": 8782, + "end": 8798, "loc": { "start": { - "line": 290, + "line": 273, "column": 47 }, "end": { - "line": 290, + "line": 273, "column": 63 }, "identifierName": "baseColorTexture" @@ -14374,15 +13841,15 @@ }, "property": { "type": "Identifier", - "start": 9315, - "end": 9322, + "start": 8799, + "end": 8806, "loc": { "start": { - "line": 290, + "line": 273, "column": 64 }, "end": { - "line": 290, + "line": 273, "column": 71 }, "identifierName": "texture" @@ -14393,15 +13860,15 @@ }, "property": { "type": "Identifier", - "start": 9323, - "end": 9333, + "start": 8807, + "end": 8817, "loc": { "start": { - "line": 290, + "line": 273, "column": 72 }, "end": { - "line": 290, + "line": 273, "column": 82 }, "identifierName": "_textureId" @@ -14417,73 +13884,73 @@ }, "alternate": { "type": "BlockStatement", - "start": 9354, - "end": 9474, + "start": 8838, + "end": 8958, "loc": { "start": { - "line": 291, + "line": 274, "column": 19 }, "end": { - "line": 293, + "line": 276, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 9372, - "end": 9460, + "start": 8856, + "end": 8944, "loc": { "start": { - "line": 292, + "line": 275, "column": 16 }, "end": { - "line": 292, + "line": 275, "column": 104 } }, "expression": { "type": "AssignmentExpression", - "start": 9372, - "end": 9459, + "start": 8856, + "end": 8943, "loc": { "start": { - "line": 292, + "line": 275, "column": 16 }, "end": { - "line": 292, + "line": 275, "column": 103 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9372, - "end": 9400, + "start": 8856, + "end": 8884, "loc": { "start": { - "line": 292, + "line": 275, "column": 16 }, "end": { - "line": 292, + "line": 275, "column": 44 } }, "object": { "type": "Identifier", - "start": 9372, - "end": 9385, + "start": 8856, + "end": 8869, "loc": { "start": { - "line": 292, + "line": 275, "column": 16 }, "end": { - "line": 292, + "line": 275, "column": 29 }, "identifierName": "textureSetCfg" @@ -14492,15 +13959,15 @@ }, "property": { "type": "Identifier", - "start": 9386, - "end": 9400, + "start": 8870, + "end": 8884, "loc": { "start": { - "line": 292, + "line": 275, "column": 30 }, "end": { - "line": 292, + "line": 275, "column": 44 }, "identifierName": "colorTextureId" @@ -14511,71 +13978,71 @@ }, "right": { "type": "MemberExpression", - "start": 9403, - "end": 9459, + "start": 8887, + "end": 8943, "loc": { "start": { - "line": 292, + "line": 275, "column": 47 }, "end": { - "line": 292, + "line": 275, "column": 103 } }, "object": { "type": "MemberExpression", - "start": 9403, - "end": 9448, + "start": 8887, + "end": 8932, "loc": { "start": { - "line": 292, + "line": 275, "column": 47 }, "end": { - "line": 292, + "line": 275, "column": 92 } }, "object": { "type": "MemberExpression", - "start": 9403, - "end": 9424, + "start": 8887, + "end": 8908, "loc": { "start": { - "line": 292, + "line": 275, "column": 47 }, "end": { - "line": 292, + "line": 275, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 9403, - "end": 9415, + "start": 8887, + "end": 8899, "loc": { "start": { - "line": 292, + "line": 275, "column": 47 }, "end": { - "line": 292, + "line": 275, "column": 59 } }, "object": { "type": "Identifier", - "start": 9403, - "end": 9406, + "start": 8887, + "end": 8890, "loc": { "start": { - "line": 292, + "line": 275, "column": 47 }, "end": { - "line": 292, + "line": 275, "column": 50 }, "identifierName": "ctx" @@ -14584,15 +14051,15 @@ }, "property": { "type": "Identifier", - "start": 9407, - "end": 9415, + "start": 8891, + "end": 8899, "loc": { "start": { - "line": 292, + "line": 275, "column": 51 }, "end": { - "line": 292, + "line": 275, "column": 59 }, "identifierName": "gltfData" @@ -14603,15 +14070,15 @@ }, "property": { "type": "Identifier", - "start": 9416, - "end": 9424, + "start": 8900, + "end": 8908, "loc": { "start": { - "line": 292, + "line": 275, "column": 60 }, "end": { - "line": 292, + "line": 275, "column": 68 }, "identifierName": "textures" @@ -14622,29 +14089,29 @@ }, "property": { "type": "MemberExpression", - "start": 9425, - "end": 9447, + "start": 8909, + "end": 8931, "loc": { "start": { - "line": 292, + "line": 275, "column": 69 }, "end": { - "line": 292, + "line": 275, "column": 91 } }, "object": { "type": "Identifier", - "start": 9425, - "end": 9441, + "start": 8909, + "end": 8925, "loc": { "start": { - "line": 292, + "line": 275, "column": 69 }, "end": { - "line": 292, + "line": 275, "column": 85 }, "identifierName": "baseColorTexture" @@ -14653,15 +14120,15 @@ }, "property": { "type": "Identifier", - "start": 9442, - "end": 9447, + "start": 8926, + "end": 8931, "loc": { "start": { - "line": 292, + "line": 275, "column": 86 }, "end": { - "line": 292, + "line": 275, "column": 91 }, "identifierName": "index" @@ -14674,15 +14141,15 @@ }, "property": { "type": "Identifier", - "start": 9449, - "end": 9459, + "start": 8933, + "end": 8943, "loc": { "start": { - "line": 292, + "line": 275, "column": 93 }, "end": { - "line": 292, + "line": 275, "column": 103 }, "identifierName": "_textureId" @@ -14704,43 +14171,43 @@ }, { "type": "IfStatement", - "start": 9493, - "end": 9658, + "start": 8977, + "end": 9142, "loc": { "start": { - "line": 295, + "line": 278, "column": 8 }, "end": { - "line": 297, + "line": 280, "column": 9 } }, "test": { "type": "MemberExpression", - "start": 9497, - "end": 9533, + "start": 8981, + "end": 9017, "loc": { "start": { - "line": 295, + "line": 278, "column": 12 }, "end": { - "line": 295, + "line": 278, "column": 48 } }, "object": { "type": "Identifier", - "start": 9497, - "end": 9508, + "start": 8981, + "end": 8992, "loc": { "start": { - "line": 295, + "line": 278, "column": 12 }, "end": { - "line": 295, + "line": 278, "column": 23 }, "identifierName": "metallicPBR" @@ -14749,15 +14216,15 @@ }, "property": { "type": "Identifier", - "start": 9509, - "end": 9533, + "start": 8993, + "end": 9017, "loc": { "start": { - "line": 295, + "line": 278, "column": 24 }, "end": { - "line": 295, + "line": 278, "column": 48 }, "identifierName": "metallicRoughnessTexture" @@ -14768,73 +14235,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 9535, - "end": 9658, + "start": 9019, + "end": 9142, "loc": { "start": { - "line": 295, + "line": 278, "column": 50 }, "end": { - "line": 297, + "line": 280, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 9549, - "end": 9648, + "start": 9033, + "end": 9132, "loc": { "start": { - "line": 296, + "line": 279, "column": 12 }, "end": { - "line": 296, + "line": 279, "column": 111 } }, "expression": { "type": "AssignmentExpression", - "start": 9549, - "end": 9647, + "start": 9033, + "end": 9131, "loc": { "start": { - "line": 296, + "line": 279, "column": 12 }, "end": { - "line": 296, + "line": 279, "column": 110 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 9549, - "end": 9589, + "start": 9033, + "end": 9073, "loc": { "start": { - "line": 296, + "line": 279, "column": 12 }, "end": { - "line": 296, + "line": 279, "column": 52 } }, "object": { "type": "Identifier", - "start": 9549, - "end": 9562, + "start": 9033, + "end": 9046, "loc": { "start": { - "line": 296, + "line": 279, "column": 12 }, "end": { - "line": 296, + "line": 279, "column": 25 }, "identifierName": "textureSetCfg" @@ -14843,15 +14310,15 @@ }, "property": { "type": "Identifier", - "start": 9563, - "end": 9589, + "start": 9047, + "end": 9073, "loc": { "start": { - "line": 296, + "line": 279, "column": 26 }, "end": { - "line": 296, + "line": 279, "column": 52 }, "identifierName": "metallicRoughnessTextureId" @@ -14862,57 +14329,57 @@ }, "right": { "type": "MemberExpression", - "start": 9592, - "end": 9647, + "start": 9076, + "end": 9131, "loc": { "start": { - "line": 296, + "line": 279, "column": 55 }, "end": { - "line": 296, + "line": 279, "column": 110 } }, "object": { "type": "MemberExpression", - "start": 9592, - "end": 9636, + "start": 9076, + "end": 9120, "loc": { "start": { - "line": 296, + "line": 279, "column": 55 }, "end": { - "line": 296, + "line": 279, "column": 99 } }, "object": { "type": "MemberExpression", - "start": 9592, - "end": 9628, + "start": 9076, + "end": 9112, "loc": { "start": { - "line": 296, + "line": 279, "column": 55 }, "end": { - "line": 296, + "line": 279, "column": 91 } }, "object": { "type": "Identifier", - "start": 9592, - "end": 9603, + "start": 9076, + "end": 9087, "loc": { "start": { - "line": 296, + "line": 279, "column": 55 }, "end": { - "line": 296, + "line": 279, "column": 66 }, "identifierName": "metallicPBR" @@ -14921,15 +14388,15 @@ }, "property": { "type": "Identifier", - "start": 9604, - "end": 9628, + "start": 9088, + "end": 9112, "loc": { "start": { - "line": 296, + "line": 279, "column": 67 }, "end": { - "line": 296, + "line": 279, "column": 91 }, "identifierName": "metallicRoughnessTexture" @@ -14940,15 +14407,15 @@ }, "property": { "type": "Identifier", - "start": 9629, - "end": 9636, + "start": 9113, + "end": 9120, "loc": { "start": { - "line": 296, + "line": 279, "column": 92 }, "end": { - "line": 296, + "line": 279, "column": 99 }, "identifierName": "texture" @@ -14959,15 +14426,15 @@ }, "property": { "type": "Identifier", - "start": 9637, - "end": 9647, + "start": 9121, + "end": 9131, "loc": { "start": { - "line": 296, + "line": 279, "column": 100 }, "end": { - "line": 296, + "line": 279, "column": 110 }, "identifierName": "_textureId" @@ -14990,44 +14457,44 @@ }, { "type": "VariableDeclaration", - "start": 9669, - "end": 9708, + "start": 9153, + "end": 9192, "loc": { "start": { - "line": 299, + "line": 282, "column": 4 }, "end": { - "line": 299, + "line": 282, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9675, - "end": 9707, + "start": 9159, + "end": 9191, "loc": { "start": { - "line": 299, + "line": 282, "column": 10 }, "end": { - "line": 299, + "line": 282, "column": 42 } }, "id": { "type": "Identifier", - "start": 9675, - "end": 9685, + "start": 9159, + "end": 9169, "loc": { "start": { - "line": 299, + "line": 282, "column": 10 }, "end": { - "line": 299, + "line": 282, "column": 20 }, "identifierName": "extensions" @@ -15036,29 +14503,29 @@ }, "init": { "type": "MemberExpression", - "start": 9688, - "end": 9707, + "start": 9172, + "end": 9191, "loc": { "start": { - "line": 299, + "line": 282, "column": 23 }, "end": { - "line": 299, + "line": 282, "column": 42 } }, "object": { "type": "Identifier", - "start": 9688, - "end": 9696, + "start": 9172, + "end": 9180, "loc": { "start": { - "line": 299, + "line": 282, "column": 23 }, "end": { - "line": 299, + "line": 282, "column": 31 }, "identifierName": "material" @@ -15067,15 +14534,15 @@ }, "property": { "type": "Identifier", - "start": 9697, - "end": 9707, + "start": 9181, + "end": 9191, "loc": { "start": { - "line": 299, + "line": 282, "column": 32 }, "end": { - "line": 299, + "line": 282, "column": 42 }, "identifierName": "extensions" @@ -15090,29 +14557,29 @@ }, { "type": "IfStatement", - "start": 9713, - "end": 10406, + "start": 9197, + "end": 9890, "loc": { "start": { - "line": 300, + "line": 283, "column": 4 }, "end": { - "line": 312, + "line": 295, "column": 5 } }, "test": { "type": "Identifier", - "start": 9717, - "end": 9727, + "start": 9201, + "end": 9211, "loc": { "start": { - "line": 300, + "line": 283, "column": 8 }, "end": { - "line": 300, + "line": 283, "column": 18 }, "identifierName": "extensions" @@ -15121,59 +14588,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 9729, - "end": 10406, + "start": 9213, + "end": 9890, "loc": { "start": { - "line": 300, + "line": 283, "column": 20 }, "end": { - "line": 312, + "line": 295, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 9739, - "end": 9809, + "start": 9223, + "end": 9293, "loc": { "start": { - "line": 301, + "line": 284, "column": 8 }, "end": { - "line": 301, + "line": 284, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9745, - "end": 9808, + "start": 9229, + "end": 9292, "loc": { "start": { - "line": 301, + "line": 284, "column": 14 }, "end": { - "line": 301, + "line": 284, "column": 77 } }, "id": { "type": "Identifier", - "start": 9745, - "end": 9756, + "start": 9229, + "end": 9240, "loc": { "start": { - "line": 301, + "line": 284, "column": 14 }, "end": { - "line": 301, + "line": 284, "column": 25 }, "identifierName": "specularPBR" @@ -15182,29 +14649,29 @@ }, "init": { "type": "MemberExpression", - "start": 9759, - "end": 9808, + "start": 9243, + "end": 9292, "loc": { "start": { - "line": 301, + "line": 284, "column": 28 }, "end": { - "line": 301, + "line": 284, "column": 77 } }, "object": { "type": "Identifier", - "start": 9759, - "end": 9769, + "start": 9243, + "end": 9253, "loc": { "start": { - "line": 301, + "line": 284, "column": 28 }, "end": { - "line": 301, + "line": 284, "column": 38 }, "identifierName": "extensions" @@ -15213,15 +14680,15 @@ }, "property": { "type": "StringLiteral", - "start": 9770, - "end": 9807, + "start": 9254, + "end": 9291, "loc": { "start": { - "line": 301, + "line": 284, "column": 39 }, "end": { - "line": 301, + "line": 284, "column": 76 } }, @@ -15239,29 +14706,29 @@ }, { "type": "IfStatement", - "start": 9818, - "end": 10400, + "start": 9302, + "end": 9884, "loc": { "start": { - "line": 302, + "line": 285, "column": 8 }, "end": { - "line": 311, + "line": 294, "column": 9 } }, "test": { "type": "Identifier", - "start": 9822, - "end": 9833, + "start": 9306, + "end": 9317, "loc": { "start": { - "line": 302, + "line": 285, "column": 12 }, "end": { - "line": 302, + "line": 285, "column": 23 }, "identifierName": "specularPBR" @@ -15270,59 +14737,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 9835, - "end": 10400, + "start": 9319, + "end": 9884, "loc": { "start": { - "line": 302, + "line": 285, "column": 25 }, "end": { - "line": 311, + "line": 294, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 9849, - "end": 9901, + "start": 9333, + "end": 9385, "loc": { "start": { - "line": 303, + "line": 286, "column": 12 }, "end": { - "line": 303, + "line": 286, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 9855, - "end": 9900, + "start": 9339, + "end": 9384, "loc": { "start": { - "line": 303, + "line": 286, "column": 18 }, "end": { - "line": 303, + "line": 286, "column": 63 } }, "id": { "type": "Identifier", - "start": 9855, - "end": 9870, + "start": 9339, + "end": 9354, "loc": { "start": { - "line": 303, + "line": 286, "column": 18 }, "end": { - "line": 303, + "line": 286, "column": 33 }, "identifierName": "specularTexture" @@ -15331,29 +14798,29 @@ }, "init": { "type": "MemberExpression", - "start": 9873, - "end": 9900, + "start": 9357, + "end": 9384, "loc": { "start": { - "line": 303, + "line": 286, "column": 36 }, "end": { - "line": 303, + "line": 286, "column": 63 } }, "object": { "type": "Identifier", - "start": 9873, - "end": 9884, + "start": 9357, + "end": 9368, "loc": { "start": { - "line": 303, + "line": 286, "column": 36 }, "end": { - "line": 303, + "line": 286, "column": 47 }, "identifierName": "specularPBR" @@ -15362,15 +14829,15 @@ }, "property": { "type": "Identifier", - "start": 9885, - "end": 9900, + "start": 9369, + "end": 9384, "loc": { "start": { - "line": 303, + "line": 286, "column": 48 }, "end": { - "line": 303, + "line": 286, "column": 63 }, "identifierName": "specularTexture" @@ -15385,57 +14852,57 @@ }, { "type": "IfStatement", - "start": 9914, - "end": 10105, + "start": 9398, + "end": 9589, "loc": { "start": { - "line": 304, + "line": 287, "column": 12 }, "end": { - "line": 306, + "line": 289, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 9918, - "end": 9975, + "start": 9402, + "end": 9459, "loc": { "start": { - "line": 304, + "line": 287, "column": 16 }, "end": { - "line": 304, + "line": 287, "column": 73 } }, "left": { "type": "BinaryExpression", - "start": 9918, - "end": 9942, + "start": 9402, + "end": 9426, "loc": { "start": { - "line": 304, + "line": 287, "column": 16 }, "end": { - "line": 304, + "line": 287, "column": 40 } }, "left": { "type": "Identifier", - "start": 9918, - "end": 9933, + "start": 9402, + "end": 9417, "loc": { "start": { - "line": 304, + "line": 287, "column": 16 }, "end": { - "line": 304, + "line": 287, "column": 31 }, "identifierName": "specularTexture" @@ -15445,15 +14912,15 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 9938, - "end": 9942, + "start": 9422, + "end": 9426, "loc": { "start": { - "line": 304, + "line": 287, "column": 36 }, "end": { - "line": 304, + "line": 287, "column": 40 } } @@ -15462,29 +14929,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 9946, - "end": 9975, + "start": 9430, + "end": 9459, "loc": { "start": { - "line": 304, + "line": 287, "column": 44 }, "end": { - "line": 304, + "line": 287, "column": 73 } }, "left": { "type": "Identifier", - "start": 9946, - "end": 9961, + "start": 9430, + "end": 9445, "loc": { "start": { - "line": 304, + "line": 287, "column": 44 }, "end": { - "line": 304, + "line": 287, "column": 59 }, "identifierName": "specularTexture" @@ -15494,15 +14961,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 9966, - "end": 9975, + "start": 9450, + "end": 9459, "loc": { "start": { - "line": 304, + "line": 287, "column": 64 }, "end": { - "line": 304, + "line": 287, "column": 73 }, "identifierName": "undefined" @@ -15513,15 +14980,15 @@ }, "consequent": { "type": "BlockStatement", - "start": 9977, - "end": 10105, + "start": 9461, + "end": 9589, "loc": { "start": { - "line": 304, + "line": 287, "column": 75 }, "end": { - "line": 306, + "line": 289, "column": 13 } }, @@ -15532,15 +14999,15 @@ { "type": "CommentLine", "value": " textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;", - "start": 9995, - "end": 10091, + "start": 9479, + "end": 9575, "loc": { "start": { - "line": 305, + "line": 288, "column": 16 }, "end": { - "line": 305, + "line": 288, "column": 112 } } @@ -15551,44 +15018,44 @@ }, { "type": "VariableDeclaration", - "start": 10118, - "end": 10180, + "start": 9602, + "end": 9664, "loc": { "start": { - "line": 307, + "line": 290, "column": 12 }, "end": { - "line": 307, + "line": 290, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 10124, - "end": 10179, + "start": 9608, + "end": 9663, "loc": { "start": { - "line": 307, + "line": 290, "column": 18 }, "end": { - "line": 307, + "line": 290, "column": 73 } }, "id": { "type": "Identifier", - "start": 10124, - "end": 10144, + "start": 9608, + "end": 9628, "loc": { "start": { - "line": 307, + "line": 290, "column": 18 }, "end": { - "line": 307, + "line": 290, "column": 38 }, "identifierName": "specularColorTexture" @@ -15597,29 +15064,29 @@ }, "init": { "type": "MemberExpression", - "start": 10147, - "end": 10179, + "start": 9631, + "end": 9663, "loc": { "start": { - "line": 307, + "line": 290, "column": 41 }, "end": { - "line": 307, + "line": 290, "column": 73 } }, "object": { "type": "Identifier", - "start": 10147, - "end": 10158, + "start": 9631, + "end": 9642, "loc": { "start": { - "line": 307, + "line": 290, "column": 41 }, "end": { - "line": 307, + "line": 290, "column": 52 }, "identifierName": "specularPBR" @@ -15628,15 +15095,15 @@ }, "property": { "type": "Identifier", - "start": 10159, - "end": 10179, + "start": 9643, + "end": 9663, "loc": { "start": { - "line": 307, + "line": 290, "column": 53 }, "end": { - "line": 307, + "line": 290, "column": 73 }, "identifierName": "specularColorTexture" @@ -15651,57 +15118,57 @@ }, { "type": "IfStatement", - "start": 10193, - "end": 10390, + "start": 9677, + "end": 9874, "loc": { "start": { - "line": 308, + "line": 291, "column": 12 }, "end": { - "line": 310, + "line": 293, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 10197, - "end": 10264, + "start": 9681, + "end": 9748, "loc": { "start": { - "line": 308, + "line": 291, "column": 16 }, "end": { - "line": 308, + "line": 291, "column": 83 } }, "left": { "type": "BinaryExpression", - "start": 10197, - "end": 10226, + "start": 9681, + "end": 9710, "loc": { "start": { - "line": 308, + "line": 291, "column": 16 }, "end": { - "line": 308, + "line": 291, "column": 45 } }, "left": { "type": "Identifier", - "start": 10197, - "end": 10217, + "start": 9681, + "end": 9701, "loc": { "start": { - "line": 308, + "line": 291, "column": 16 }, "end": { - "line": 308, + "line": 291, "column": 36 }, "identifierName": "specularColorTexture" @@ -15711,15 +15178,15 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 10222, - "end": 10226, + "start": 9706, + "end": 9710, "loc": { "start": { - "line": 308, + "line": 291, "column": 41 }, "end": { - "line": 308, + "line": 291, "column": 45 } } @@ -15728,29 +15195,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 10230, - "end": 10264, + "start": 9714, + "end": 9748, "loc": { "start": { - "line": 308, + "line": 291, "column": 49 }, "end": { - "line": 308, + "line": 291, "column": 83 } }, "left": { "type": "Identifier", - "start": 10230, - "end": 10250, + "start": 9714, + "end": 9734, "loc": { "start": { - "line": 308, + "line": 291, "column": 49 }, "end": { - "line": 308, + "line": 291, "column": 69 }, "identifierName": "specularColorTexture" @@ -15760,15 +15227,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10255, - "end": 10264, + "start": 9739, + "end": 9748, "loc": { "start": { - "line": 308, + "line": 291, "column": 74 }, "end": { - "line": 308, + "line": 291, "column": 83 }, "identifierName": "undefined" @@ -15779,73 +15246,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 10266, - "end": 10390, + "start": 9750, + "end": 9874, "loc": { "start": { - "line": 308, + "line": 291, "column": 85 }, "end": { - "line": 310, + "line": 293, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 10284, - "end": 10376, + "start": 9768, + "end": 9860, "loc": { "start": { - "line": 309, + "line": 292, "column": 16 }, "end": { - "line": 309, + "line": 292, "column": 108 } }, "expression": { "type": "AssignmentExpression", - "start": 10284, - "end": 10375, + "start": 9768, + "end": 9859, "loc": { "start": { - "line": 309, + "line": 292, "column": 16 }, "end": { - "line": 309, + "line": 292, "column": 107 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10284, - "end": 10312, + "start": 9768, + "end": 9796, "loc": { "start": { - "line": 309, + "line": 292, "column": 16 }, "end": { - "line": 309, + "line": 292, "column": 44 } }, "object": { "type": "Identifier", - "start": 10284, - "end": 10297, + "start": 9768, + "end": 9781, "loc": { "start": { - "line": 309, + "line": 292, "column": 16 }, "end": { - "line": 309, + "line": 292, "column": 29 }, "identifierName": "textureSetCfg" @@ -15854,15 +15321,15 @@ }, "property": { "type": "Identifier", - "start": 10298, - "end": 10312, + "start": 9782, + "end": 9796, "loc": { "start": { - "line": 309, + "line": 292, "column": 30 }, "end": { - "line": 309, + "line": 292, "column": 44 }, "identifierName": "colorTextureId" @@ -15873,71 +15340,71 @@ }, "right": { "type": "MemberExpression", - "start": 10315, - "end": 10375, + "start": 9799, + "end": 9859, "loc": { "start": { - "line": 309, + "line": 292, "column": 47 }, "end": { - "line": 309, + "line": 292, "column": 107 } }, "object": { "type": "MemberExpression", - "start": 10315, - "end": 10364, + "start": 9799, + "end": 9848, "loc": { "start": { - "line": 309, + "line": 292, "column": 47 }, "end": { - "line": 309, + "line": 292, "column": 96 } }, "object": { "type": "MemberExpression", - "start": 10315, - "end": 10336, + "start": 9799, + "end": 9820, "loc": { "start": { - "line": 309, + "line": 292, "column": 47 }, "end": { - "line": 309, + "line": 292, "column": 68 } }, "object": { "type": "MemberExpression", - "start": 10315, - "end": 10327, + "start": 9799, + "end": 9811, "loc": { "start": { - "line": 309, + "line": 292, "column": 47 }, "end": { - "line": 309, + "line": 292, "column": 59 } }, "object": { "type": "Identifier", - "start": 10315, - "end": 10318, + "start": 9799, + "end": 9802, "loc": { "start": { - "line": 309, + "line": 292, "column": 47 }, "end": { - "line": 309, + "line": 292, "column": 50 }, "identifierName": "ctx" @@ -15946,15 +15413,15 @@ }, "property": { "type": "Identifier", - "start": 10319, - "end": 10327, + "start": 9803, + "end": 9811, "loc": { "start": { - "line": 309, + "line": 292, "column": 51 }, "end": { - "line": 309, + "line": 292, "column": 59 }, "identifierName": "gltfData" @@ -15965,15 +15432,15 @@ }, "property": { "type": "Identifier", - "start": 10328, - "end": 10336, + "start": 9812, + "end": 9820, "loc": { "start": { - "line": 309, + "line": 292, "column": 60 }, "end": { - "line": 309, + "line": 292, "column": 68 }, "identifierName": "textures" @@ -15984,29 +15451,29 @@ }, "property": { "type": "MemberExpression", - "start": 10337, - "end": 10363, + "start": 9821, + "end": 9847, "loc": { "start": { - "line": 309, + "line": 292, "column": 69 }, "end": { - "line": 309, + "line": 292, "column": 95 } }, "object": { "type": "Identifier", - "start": 10337, - "end": 10357, + "start": 9821, + "end": 9841, "loc": { "start": { - "line": 309, + "line": 292, "column": 69 }, "end": { - "line": 309, + "line": 292, "column": 89 }, "identifierName": "specularColorTexture" @@ -16015,15 +15482,15 @@ }, "property": { "type": "Identifier", - "start": 10358, - "end": 10363, + "start": 9842, + "end": 9847, "loc": { "start": { - "line": 309, + "line": 292, "column": 90 }, "end": { - "line": 309, + "line": 292, "column": 95 }, "identifierName": "index" @@ -16036,15 +15503,15 @@ }, "property": { "type": "Identifier", - "start": 10365, - "end": 10375, + "start": 9849, + "end": 9859, "loc": { "start": { - "line": 309, + "line": 292, "column": 97 }, "end": { - "line": 309, + "line": 292, "column": 107 }, "identifierName": "_textureId" @@ -16072,113 +15539,113 @@ }, { "type": "IfStatement", - "start": 10411, - "end": 10902, + "start": 9895, + "end": 10386, "loc": { "start": { - "line": 313, + "line": 296, "column": 4 }, "end": { - "line": 322, + "line": 305, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 10415, - "end": 10693, + "start": 9899, + "end": 10177, "loc": { "start": { - "line": 313, + "line": 296, "column": 8 }, "end": { - "line": 317, + "line": 300, "column": 62 } }, "left": { "type": "LogicalExpression", - "start": 10415, - "end": 10627, + "start": 9899, + "end": 10111, "loc": { "start": { - "line": 313, + "line": 296, "column": 8 }, "end": { - "line": 316, + "line": 299, "column": 50 } }, "left": { "type": "LogicalExpression", - "start": 10415, - "end": 10573, + "start": 9899, + "end": 10057, "loc": { "start": { - "line": 313, + "line": 296, "column": 8 }, "end": { - "line": 315, + "line": 298, "column": 53 } }, "left": { "type": "LogicalExpression", - "start": 10415, - "end": 10516, + "start": 9899, + "end": 10000, "loc": { "start": { - "line": 313, + "line": 296, "column": 8 }, "end": { - "line": 314, + "line": 297, "column": 54 } }, "left": { "type": "BinaryExpression", - "start": 10415, - "end": 10458, + "start": 9899, + "end": 9942, "loc": { "start": { - "line": 313, + "line": 296, "column": 8 }, "end": { - "line": 313, + "line": 296, "column": 51 } }, "left": { "type": "MemberExpression", - "start": 10415, - "end": 10444, + "start": 9899, + "end": 9928, "loc": { "start": { - "line": 313, + "line": 296, "column": 8 }, "end": { - "line": 313, + "line": 296, "column": 37 } }, "object": { "type": "Identifier", - "start": 10415, - "end": 10428, + "start": 9899, + "end": 9912, "loc": { "start": { - "line": 313, + "line": 296, "column": 8 }, "end": { - "line": 313, + "line": 296, "column": 21 }, "identifierName": "textureSetCfg" @@ -16187,15 +15654,15 @@ }, "property": { "type": "Identifier", - "start": 10429, - "end": 10444, + "start": 9913, + "end": 9928, "loc": { "start": { - "line": 313, + "line": 296, "column": 22 }, "end": { - "line": 313, + "line": 296, "column": 37 }, "identifierName": "normalTextureId" @@ -16207,15 +15674,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10449, - "end": 10458, + "start": 9933, + "end": 9942, "loc": { "start": { - "line": 313, + "line": 296, "column": 42 }, "end": { - "line": 313, + "line": 296, "column": 51 }, "identifierName": "undefined" @@ -16226,43 +15693,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10470, - "end": 10516, + "start": 9954, + "end": 10000, "loc": { "start": { - "line": 314, + "line": 297, "column": 8 }, "end": { - "line": 314, + "line": 297, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 10470, - "end": 10502, + "start": 9954, + "end": 9986, "loc": { "start": { - "line": 314, + "line": 297, "column": 8 }, "end": { - "line": 314, + "line": 297, "column": 40 } }, "object": { "type": "Identifier", - "start": 10470, - "end": 10483, + "start": 9954, + "end": 9967, "loc": { "start": { - "line": 314, + "line": 297, "column": 8 }, "end": { - "line": 314, + "line": 297, "column": 21 }, "identifierName": "textureSetCfg" @@ -16271,15 +15738,15 @@ }, "property": { "type": "Identifier", - "start": 10484, - "end": 10502, + "start": 9968, + "end": 9986, "loc": { "start": { - "line": 314, + "line": 297, "column": 22 }, "end": { - "line": 314, + "line": 297, "column": 40 }, "identifierName": "occlusionTextureId" @@ -16291,15 +15758,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10507, - "end": 10516, + "start": 9991, + "end": 10000, "loc": { "start": { - "line": 314, + "line": 297, "column": 45 }, "end": { - "line": 314, + "line": 297, "column": 54 }, "identifierName": "undefined" @@ -16311,43 +15778,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10528, - "end": 10573, + "start": 10012, + "end": 10057, "loc": { "start": { - "line": 315, + "line": 298, "column": 8 }, "end": { - "line": 315, + "line": 298, "column": 53 } }, "left": { "type": "MemberExpression", - "start": 10528, - "end": 10559, + "start": 10012, + "end": 10043, "loc": { "start": { - "line": 315, + "line": 298, "column": 8 }, "end": { - "line": 315, + "line": 298, "column": 39 } }, "object": { "type": "Identifier", - "start": 10528, - "end": 10541, + "start": 10012, + "end": 10025, "loc": { "start": { - "line": 315, + "line": 298, "column": 8 }, "end": { - "line": 315, + "line": 298, "column": 21 }, "identifierName": "textureSetCfg" @@ -16356,15 +15823,15 @@ }, "property": { "type": "Identifier", - "start": 10542, - "end": 10559, + "start": 10026, + "end": 10043, "loc": { "start": { - "line": 315, + "line": 298, "column": 22 }, "end": { - "line": 315, + "line": 298, "column": 39 }, "identifierName": "emissiveTextureId" @@ -16376,15 +15843,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10564, - "end": 10573, + "start": 10048, + "end": 10057, "loc": { "start": { - "line": 315, + "line": 298, "column": 44 }, "end": { - "line": 315, + "line": 298, "column": 53 }, "identifierName": "undefined" @@ -16396,43 +15863,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10585, - "end": 10627, + "start": 10069, + "end": 10111, "loc": { "start": { - "line": 316, + "line": 299, "column": 8 }, "end": { - "line": 316, + "line": 299, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 10585, - "end": 10613, + "start": 10069, + "end": 10097, "loc": { "start": { - "line": 316, + "line": 299, "column": 8 }, "end": { - "line": 316, + "line": 299, "column": 36 } }, "object": { "type": "Identifier", - "start": 10585, - "end": 10598, + "start": 10069, + "end": 10082, "loc": { "start": { - "line": 316, + "line": 299, "column": 8 }, "end": { - "line": 316, + "line": 299, "column": 21 }, "identifierName": "textureSetCfg" @@ -16441,15 +15908,15 @@ }, "property": { "type": "Identifier", - "start": 10599, - "end": 10613, + "start": 10083, + "end": 10097, "loc": { "start": { - "line": 316, + "line": 299, "column": 22 }, "end": { - "line": 316, + "line": 299, "column": 36 }, "identifierName": "colorTextureId" @@ -16461,15 +15928,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10618, - "end": 10627, + "start": 10102, + "end": 10111, "loc": { "start": { - "line": 316, + "line": 299, "column": 41 }, "end": { - "line": 316, + "line": 299, "column": 50 }, "identifierName": "undefined" @@ -16481,43 +15948,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 10639, - "end": 10693, + "start": 10123, + "end": 10177, "loc": { "start": { - "line": 317, + "line": 300, "column": 8 }, "end": { - "line": 317, + "line": 300, "column": 62 } }, "left": { "type": "MemberExpression", - "start": 10639, - "end": 10679, + "start": 10123, + "end": 10163, "loc": { "start": { - "line": 317, + "line": 300, "column": 8 }, "end": { - "line": 317, + "line": 300, "column": 48 } }, "object": { "type": "Identifier", - "start": 10639, - "end": 10652, + "start": 10123, + "end": 10136, "loc": { "start": { - "line": 317, + "line": 300, "column": 8 }, "end": { - "line": 317, + "line": 300, "column": 21 }, "identifierName": "textureSetCfg" @@ -16526,15 +15993,15 @@ }, "property": { "type": "Identifier", - "start": 10653, - "end": 10679, + "start": 10137, + "end": 10163, "loc": { "start": { - "line": 317, + "line": 300, "column": 22 }, "end": { - "line": 317, + "line": 300, "column": 48 }, "identifierName": "metallicRoughnessTextureId" @@ -16546,15 +16013,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 10684, - "end": 10693, + "start": 10168, + "end": 10177, "loc": { "start": { - "line": 317, + "line": 300, "column": 53 }, "end": { - "line": 317, + "line": 300, "column": 62 }, "identifierName": "undefined" @@ -16565,73 +16032,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 10695, - "end": 10902, + "start": 10179, + "end": 10386, "loc": { "start": { - "line": 317, + "line": 300, "column": 64 }, "end": { - "line": 322, + "line": 305, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 10705, - "end": 10763, + "start": 10189, + "end": 10247, "loc": { "start": { - "line": 318, + "line": 301, "column": 8 }, "end": { - "line": 318, + "line": 301, "column": 66 } }, "expression": { "type": "AssignmentExpression", - "start": 10705, - "end": 10763, + "start": 10189, + "end": 10247, "loc": { "start": { - "line": 318, + "line": 301, "column": 8 }, "end": { - "line": 318, + "line": 301, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 10705, - "end": 10731, + "start": 10189, + "end": 10215, "loc": { "start": { - "line": 318, + "line": 301, "column": 8 }, "end": { - "line": 318, + "line": 301, "column": 34 } }, "object": { "type": "Identifier", - "start": 10705, - "end": 10718, + "start": 10189, + "end": 10202, "loc": { "start": { - "line": 318, + "line": 301, "column": 8 }, "end": { - "line": 318, + "line": 301, "column": 21 }, "identifierName": "textureSetCfg" @@ -16640,15 +16107,15 @@ }, "property": { "type": "Identifier", - "start": 10719, - "end": 10731, + "start": 10203, + "end": 10215, "loc": { "start": { - "line": 318, + "line": 301, "column": 22 }, "end": { - "line": 318, + "line": 301, "column": 34 }, "identifierName": "textureSetId" @@ -16659,30 +16126,30 @@ }, "right": { "type": "TemplateLiteral", - "start": 10734, - "end": 10763, + "start": 10218, + "end": 10247, "loc": { "start": { - "line": 318, + "line": 301, "column": 37 }, "end": { - "line": 318, + "line": 301, "column": 66 } }, "expressions": [ { "type": "UpdateExpression", - "start": 10748, - "end": 10760, + "start": 10232, + "end": 10244, "loc": { "start": { - "line": 318, + "line": 301, "column": 51 }, "end": { - "line": 318, + "line": 301, "column": 63 } }, @@ -16690,29 +16157,29 @@ "prefix": false, "argument": { "type": "MemberExpression", - "start": 10748, - "end": 10758, + "start": 10232, + "end": 10242, "loc": { "start": { - "line": 318, + "line": 301, "column": 51 }, "end": { - "line": 318, + "line": 301, "column": 61 } }, "object": { "type": "Identifier", - "start": 10748, - "end": 10751, + "start": 10232, + "end": 10235, "loc": { "start": { - "line": 318, + "line": 301, "column": 51 }, "end": { - "line": 318, + "line": 301, "column": 54 }, "identifierName": "ctx" @@ -16721,15 +16188,15 @@ }, "property": { "type": "Identifier", - "start": 10752, - "end": 10758, + "start": 10236, + "end": 10242, "loc": { "start": { - "line": 318, + "line": 301, "column": 55 }, "end": { - "line": 318, + "line": 301, "column": 61 }, "identifierName": "nextId" @@ -16743,15 +16210,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 10735, - "end": 10746, + "start": 10219, + "end": 10230, "loc": { "start": { - "line": 318, + "line": 301, "column": 38 }, "end": { - "line": 318, + "line": 301, "column": 49 } }, @@ -16763,15 +16230,15 @@ }, { "type": "TemplateElement", - "start": 10761, - "end": 10762, + "start": 10245, + "end": 10246, "loc": { "start": { - "line": 318, + "line": 301, "column": 64 }, "end": { - "line": 318, + "line": 301, "column": 65 } }, @@ -16787,71 +16254,71 @@ }, { "type": "ExpressionStatement", - "start": 10772, - "end": 10817, + "start": 10256, + "end": 10301, "loc": { "start": { - "line": 319, + "line": 302, "column": 8 }, "end": { - "line": 319, + "line": 302, "column": 53 } }, "expression": { "type": "CallExpression", - "start": 10772, - "end": 10816, + "start": 10256, + "end": 10300, "loc": { "start": { - "line": 319, + "line": 302, "column": 8 }, "end": { - "line": 319, + "line": 302, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 10772, - "end": 10801, + "start": 10256, + "end": 10285, "loc": { "start": { - "line": 319, + "line": 302, "column": 8 }, "end": { - "line": 319, + "line": 302, "column": 37 } }, "object": { "type": "MemberExpression", - "start": 10772, - "end": 10784, + "start": 10256, + "end": 10268, "loc": { "start": { - "line": 319, + "line": 302, "column": 8 }, "end": { - "line": 319, + "line": 302, "column": 20 } }, "object": { "type": "Identifier", - "start": 10772, - "end": 10775, + "start": 10256, + "end": 10259, "loc": { "start": { - "line": 319, + "line": 302, "column": 8 }, "end": { - "line": 319, + "line": 302, "column": 11 }, "identifierName": "ctx" @@ -16860,15 +16327,15 @@ }, "property": { "type": "Identifier", - "start": 10776, - "end": 10784, + "start": 10260, + "end": 10268, "loc": { "start": { - "line": 319, + "line": 302, "column": 12 }, "end": { - "line": 319, + "line": 302, "column": 20 }, "identifierName": "xktModel" @@ -16879,15 +16346,15 @@ }, "property": { "type": "Identifier", - "start": 10785, - "end": 10801, + "start": 10269, + "end": 10285, "loc": { "start": { - "line": 319, + "line": 302, "column": 21 }, "end": { - "line": 319, + "line": 302, "column": 37 }, "identifierName": "createTextureSet" @@ -16899,15 +16366,15 @@ "arguments": [ { "type": "Identifier", - "start": 10802, - "end": 10815, + "start": 10286, + "end": 10299, "loc": { "start": { - "line": 319, + "line": 302, "column": 38 }, "end": { - "line": 319, + "line": 302, "column": 51 }, "identifierName": "textureSetCfg" @@ -16919,29 +16386,29 @@ }, { "type": "ExpressionStatement", - "start": 10826, - "end": 10853, + "start": 10310, + "end": 10337, "loc": { "start": { - "line": 320, + "line": 303, "column": 8 }, "end": { - "line": 320, + "line": 303, "column": 35 } }, "expression": { "type": "UpdateExpression", - "start": 10826, - "end": 10852, + "start": 10310, + "end": 10336, "loc": { "start": { - "line": 320, + "line": 303, "column": 8 }, "end": { - "line": 320, + "line": 303, "column": 34 } }, @@ -16949,43 +16416,43 @@ "prefix": false, "argument": { "type": "MemberExpression", - "start": 10826, - "end": 10850, + "start": 10310, + "end": 10334, "loc": { "start": { - "line": 320, + "line": 303, "column": 8 }, "end": { - "line": 320, + "line": 303, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 10826, - "end": 10835, + "start": 10310, + "end": 10319, "loc": { "start": { - "line": 320, + "line": 303, "column": 8 }, "end": { - "line": 320, + "line": 303, "column": 17 } }, "object": { "type": "Identifier", - "start": 10826, - "end": 10829, + "start": 10310, + "end": 10313, "loc": { "start": { - "line": 320, + "line": 303, "column": 8 }, "end": { - "line": 320, + "line": 303, "column": 11 }, "identifierName": "ctx" @@ -16994,15 +16461,15 @@ }, "property": { "type": "Identifier", - "start": 10830, - "end": 10835, + "start": 10314, + "end": 10319, "loc": { "start": { - "line": 320, + "line": 303, "column": 12 }, "end": { - "line": 320, + "line": 303, "column": 17 }, "identifierName": "stats" @@ -17013,15 +16480,15 @@ }, "property": { "type": "Identifier", - "start": 10836, - "end": 10850, + "start": 10320, + "end": 10334, "loc": { "start": { - "line": 320, + "line": 303, "column": 18 }, "end": { - "line": 320, + "line": 303, "column": 32 }, "identifierName": "numTextureSets" @@ -17034,43 +16501,43 @@ }, { "type": "ReturnStatement", - "start": 10862, - "end": 10896, + "start": 10346, + "end": 10380, "loc": { "start": { - "line": 321, + "line": 304, "column": 8 }, "end": { - "line": 321, + "line": 304, "column": 42 } }, "argument": { "type": "MemberExpression", - "start": 10869, - "end": 10895, + "start": 10353, + "end": 10379, "loc": { "start": { - "line": 321, + "line": 304, "column": 15 }, "end": { - "line": 321, + "line": 304, "column": 41 } }, "object": { "type": "Identifier", - "start": 10869, - "end": 10882, + "start": 10353, + "end": 10366, "loc": { "start": { - "line": 321, + "line": 304, "column": 15 }, "end": { - "line": 321, + "line": 304, "column": 28 }, "identifierName": "textureSetCfg" @@ -17079,15 +16546,15 @@ }, "property": { "type": "Identifier", - "start": 10883, - "end": 10895, + "start": 10367, + "end": 10379, "loc": { "start": { - "line": 321, + "line": 304, "column": 29 }, "end": { - "line": 321, + "line": 304, "column": 41 }, "identifierName": "textureSetId" @@ -17104,29 +16571,29 @@ }, { "type": "ReturnStatement", - "start": 10907, - "end": 10919, + "start": 10391, + "end": 10403, "loc": { "start": { - "line": 323, + "line": 306, "column": 4 }, "end": { - "line": 323, + "line": 306, "column": 16 } }, "argument": { "type": "NullLiteral", - "start": 10914, - "end": 10918, + "start": 10398, + "end": 10402, "loc": { "start": { - "line": 323, + "line": 306, "column": 11 }, "end": { - "line": 323, + "line": 306, "column": 15 } } @@ -17138,29 +16605,29 @@ }, { "type": "FunctionDeclaration", - "start": 10923, - "end": 13422, + "start": 10407, + "end": 12906, "loc": { "start": { - "line": 326, + "line": 309, "column": 0 }, "end": { - "line": 384, + "line": 367, "column": 1 } }, "id": { "type": "Identifier", - "start": 10932, - "end": 10955, + "start": 10416, + "end": 10439, "loc": { "start": { - "line": 326, + "line": 309, "column": 9 }, "end": { - "line": 326, + "line": 309, "column": 32 }, "identifierName": "parseMaterialAttributes" @@ -17173,15 +16640,15 @@ "params": [ { "type": "Identifier", - "start": 10956, - "end": 10959, + "start": 10440, + "end": 10443, "loc": { "start": { - "line": 326, + "line": 309, "column": 33 }, "end": { - "line": 326, + "line": 309, "column": 36 }, "identifierName": "ctx" @@ -17190,15 +16657,15 @@ }, { "type": "Identifier", - "start": 10961, - "end": 10969, + "start": 10445, + "end": 10453, "loc": { "start": { - "line": 326, + "line": 309, "column": 38 }, "end": { - "line": 326, + "line": 309, "column": 46 }, "identifierName": "material" @@ -17208,59 +16675,59 @@ ], "body": { "type": "BlockStatement", - "start": 10971, - "end": 13422, + "start": 10455, + "end": 12906, "loc": { "start": { - "line": 326, + "line": 309, "column": 48 }, "end": { - "line": 384, + "line": 367, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 11043, - "end": 11082, + "start": 10527, + "end": 10566, "loc": { "start": { - "line": 327, + "line": 310, "column": 4 }, "end": { - "line": 327, + "line": 310, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11049, - "end": 11081, + "start": 10533, + "end": 10565, "loc": { "start": { - "line": 327, + "line": 310, "column": 10 }, "end": { - "line": 327, + "line": 310, "column": 42 } }, "id": { "type": "Identifier", - "start": 11049, - "end": 11059, + "start": 10533, + "end": 10543, "loc": { "start": { - "line": 327, + "line": 310, "column": 10 }, "end": { - "line": 327, + "line": 310, "column": 20 }, "identifierName": "extensions" @@ -17270,29 +16737,29 @@ }, "init": { "type": "MemberExpression", - "start": 11062, - "end": 11081, + "start": 10546, + "end": 10565, "loc": { "start": { - "line": 327, + "line": 310, "column": 23 }, "end": { - "line": 327, + "line": 310, "column": 42 } }, "object": { "type": "Identifier", - "start": 11062, - "end": 11070, + "start": 10546, + "end": 10554, "loc": { "start": { - "line": 327, + "line": 310, "column": 23 }, "end": { - "line": 327, + "line": 310, "column": 31 }, "identifierName": "material" @@ -17301,15 +16768,15 @@ }, "property": { "type": "Identifier", - "start": 11071, - "end": 11081, + "start": 10555, + "end": 10565, "loc": { "start": { - "line": 327, + "line": 310, "column": 32 }, "end": { - "line": 327, + "line": 310, "column": 42 }, "identifierName": "extensions" @@ -17326,15 +16793,15 @@ { "type": "CommentLine", "value": " Substitute RGBA for material, to use fast flat shading instead", - "start": 10973, - "end": 11038, + "start": 10457, + "end": 10522, "loc": { "start": { - "line": 326, + "line": 309, "column": 50 }, "end": { - "line": 326, + "line": 309, "column": 115 } } @@ -17343,44 +16810,44 @@ }, { "type": "VariableDeclaration", - "start": 11087, - "end": 11231, + "start": 10571, + "end": 10715, "loc": { "start": { - "line": 328, + "line": 311, "column": 4 }, "end": { - "line": 333, + "line": 316, "column": 6 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11093, - "end": 11230, + "start": 10577, + "end": 10714, "loc": { "start": { - "line": 328, + "line": 311, "column": 10 }, "end": { - "line": 333, + "line": 316, "column": 5 } }, "id": { "type": "Identifier", - "start": 11093, - "end": 11111, + "start": 10577, + "end": 10595, "loc": { "start": { - "line": 328, + "line": 311, "column": 10 }, "end": { - "line": 328, + "line": 311, "column": 28 }, "identifierName": "materialAttributes" @@ -17389,30 +16856,30 @@ }, "init": { "type": "ObjectExpression", - "start": 11114, - "end": 11230, + "start": 10598, + "end": 10714, "loc": { "start": { - "line": 328, + "line": 311, "column": 31 }, "end": { - "line": 333, + "line": 316, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 11124, - "end": 11161, + "start": 10608, + "end": 10645, "loc": { "start": { - "line": 329, + "line": 312, "column": 8 }, "end": { - "line": 329, + "line": 312, "column": 45 } }, @@ -17421,15 +16888,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11124, - "end": 11129, + "start": 10608, + "end": 10613, "loc": { "start": { - "line": 329, + "line": 312, "column": 8 }, "end": { - "line": 329, + "line": 312, "column": 13 }, "identifierName": "color" @@ -17438,29 +16905,29 @@ }, "value": { "type": "NewExpression", - "start": 11131, - "end": 11161, + "start": 10615, + "end": 10645, "loc": { "start": { - "line": 329, + "line": 312, "column": 15 }, "end": { - "line": 329, + "line": 312, "column": 45 } }, "callee": { "type": "Identifier", - "start": 11135, - "end": 11147, + "start": 10619, + "end": 10631, "loc": { "start": { - "line": 329, + "line": 312, "column": 19 }, "end": { - "line": 329, + "line": 312, "column": 31 }, "identifierName": "Float32Array" @@ -17470,30 +16937,30 @@ "arguments": [ { "type": "ArrayExpression", - "start": 11148, - "end": 11160, + "start": 10632, + "end": 10644, "loc": { "start": { - "line": 329, + "line": 312, "column": 32 }, "end": { - "line": 329, + "line": 312, "column": 44 } }, "elements": [ { "type": "NumericLiteral", - "start": 11149, - "end": 11150, + "start": 10633, + "end": 10634, "loc": { "start": { - "line": 329, + "line": 312, "column": 33 }, "end": { - "line": 329, + "line": 312, "column": 34 } }, @@ -17505,15 +16972,15 @@ }, { "type": "NumericLiteral", - "start": 11152, - "end": 11153, + "start": 10636, + "end": 10637, "loc": { "start": { - "line": 329, + "line": 312, "column": 36 }, "end": { - "line": 329, + "line": 312, "column": 37 } }, @@ -17525,15 +16992,15 @@ }, { "type": "NumericLiteral", - "start": 11155, - "end": 11156, + "start": 10639, + "end": 10640, "loc": { "start": { - "line": 329, + "line": 312, "column": 39 }, "end": { - "line": 329, + "line": 312, "column": 40 } }, @@ -17545,15 +17012,15 @@ }, { "type": "NumericLiteral", - "start": 11158, - "end": 11159, + "start": 10642, + "end": 10643, "loc": { "start": { - "line": 329, + "line": 312, "column": 42 }, "end": { - "line": 329, + "line": 312, "column": 43 } }, @@ -17570,15 +17037,15 @@ }, { "type": "ObjectProperty", - "start": 11171, - "end": 11181, + "start": 10655, + "end": 10665, "loc": { "start": { - "line": 330, + "line": 313, "column": 8 }, "end": { - "line": 330, + "line": 313, "column": 18 } }, @@ -17587,15 +17054,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11171, - "end": 11178, + "start": 10655, + "end": 10662, "loc": { "start": { - "line": 330, + "line": 313, "column": 8 }, "end": { - "line": 330, + "line": 313, "column": 15 }, "identifierName": "opacity" @@ -17604,15 +17071,15 @@ }, "value": { "type": "NumericLiteral", - "start": 11180, - "end": 11181, + "start": 10664, + "end": 10665, "loc": { "start": { - "line": 330, + "line": 313, "column": 17 }, "end": { - "line": 330, + "line": 313, "column": 18 } }, @@ -17625,15 +17092,15 @@ }, { "type": "ObjectProperty", - "start": 11191, - "end": 11202, + "start": 10675, + "end": 10686, "loc": { "start": { - "line": 331, + "line": 314, "column": 8 }, "end": { - "line": 331, + "line": 314, "column": 19 } }, @@ -17642,15 +17109,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11191, - "end": 11199, + "start": 10675, + "end": 10683, "loc": { "start": { - "line": 331, + "line": 314, "column": 8 }, "end": { - "line": 331, + "line": 314, "column": 16 }, "identifierName": "metallic" @@ -17659,15 +17126,15 @@ }, "value": { "type": "NumericLiteral", - "start": 11201, - "end": 11202, + "start": 10685, + "end": 10686, "loc": { "start": { - "line": 331, + "line": 314, "column": 18 }, "end": { - "line": 331, + "line": 314, "column": 19 } }, @@ -17680,15 +17147,15 @@ }, { "type": "ObjectProperty", - "start": 11212, - "end": 11224, + "start": 10696, + "end": 10708, "loc": { "start": { - "line": 332, + "line": 315, "column": 8 }, "end": { - "line": 332, + "line": 315, "column": 20 } }, @@ -17697,15 +17164,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 11212, - "end": 11221, + "start": 10696, + "end": 10705, "loc": { "start": { - "line": 332, + "line": 315, "column": 8 }, "end": { - "line": 332, + "line": 315, "column": 17 }, "identifierName": "roughness" @@ -17714,15 +17181,15 @@ }, "value": { "type": "NumericLiteral", - "start": 11223, - "end": 11224, + "start": 10707, + "end": 10708, "loc": { "start": { - "line": 332, + "line": 315, "column": 19 }, "end": { - "line": 332, + "line": 315, "column": 20 } }, @@ -17741,29 +17208,29 @@ }, { "type": "IfStatement", - "start": 11236, - "end": 12554, + "start": 10720, + "end": 12038, "loc": { "start": { - "line": 334, + "line": 317, "column": 4 }, "end": { - "line": 364, + "line": 347, "column": 5 } }, "test": { "type": "Identifier", - "start": 11240, - "end": 11250, + "start": 10724, + "end": 10734, "loc": { "start": { - "line": 334, + "line": 317, "column": 8 }, "end": { - "line": 334, + "line": 317, "column": 18 }, "identifierName": "extensions" @@ -17772,59 +17239,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 11252, - "end": 12554, + "start": 10736, + "end": 12038, "loc": { "start": { - "line": 334, + "line": 317, "column": 20 }, "end": { - "line": 364, + "line": 347, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 11262, - "end": 11332, + "start": 10746, + "end": 10816, "loc": { "start": { - "line": 335, + "line": 318, "column": 8 }, "end": { - "line": 335, + "line": 318, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11268, - "end": 11331, + "start": 10752, + "end": 10815, "loc": { "start": { - "line": 335, + "line": 318, "column": 14 }, "end": { - "line": 335, + "line": 318, "column": 77 } }, "id": { "type": "Identifier", - "start": 11268, - "end": 11279, + "start": 10752, + "end": 10763, "loc": { "start": { - "line": 335, + "line": 318, "column": 14 }, "end": { - "line": 335, + "line": 318, "column": 25 }, "identifierName": "specularPBR" @@ -17833,29 +17300,29 @@ }, "init": { "type": "MemberExpression", - "start": 11282, - "end": 11331, + "start": 10766, + "end": 10815, "loc": { "start": { - "line": 335, + "line": 318, "column": 28 }, "end": { - "line": 335, + "line": 318, "column": 77 } }, "object": { "type": "Identifier", - "start": 11282, - "end": 11292, + "start": 10766, + "end": 10776, "loc": { "start": { - "line": 335, + "line": 318, "column": 28 }, "end": { - "line": 335, + "line": 318, "column": 38 }, "identifierName": "extensions" @@ -17864,15 +17331,15 @@ }, "property": { "type": "StringLiteral", - "start": 11293, - "end": 11330, + "start": 10777, + "end": 10814, "loc": { "start": { - "line": 335, + "line": 318, "column": 39 }, "end": { - "line": 335, + "line": 318, "column": 76 } }, @@ -17890,29 +17357,29 @@ }, { "type": "IfStatement", - "start": 11341, - "end": 11578, + "start": 10825, + "end": 11062, "loc": { "start": { - "line": 336, + "line": 319, "column": 8 }, "end": { - "line": 341, + "line": 324, "column": 9 } }, "test": { "type": "Identifier", - "start": 11345, - "end": 11356, + "start": 10829, + "end": 10840, "loc": { "start": { - "line": 336, + "line": 319, "column": 12 }, "end": { - "line": 336, + "line": 319, "column": 23 }, "identifierName": "specularPBR" @@ -17921,59 +17388,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 11358, - "end": 11578, + "start": 10842, + "end": 11062, "loc": { "start": { - "line": 336, + "line": 319, "column": 25 }, "end": { - "line": 341, + "line": 324, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 11372, - "end": 11420, + "start": 10856, + "end": 10904, "loc": { "start": { - "line": 337, + "line": 320, "column": 12 }, "end": { - "line": 337, + "line": 320, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11378, - "end": 11419, + "start": 10862, + "end": 10903, "loc": { "start": { - "line": 337, + "line": 320, "column": 18 }, "end": { - "line": 337, + "line": 320, "column": 59 } }, "id": { "type": "Identifier", - "start": 11378, - "end": 11391, + "start": 10862, + "end": 10875, "loc": { "start": { - "line": 337, + "line": 320, "column": 18 }, "end": { - "line": 337, + "line": 320, "column": 31 }, "identifierName": "diffuseFactor" @@ -17982,29 +17449,29 @@ }, "init": { "type": "MemberExpression", - "start": 11394, - "end": 11419, + "start": 10878, + "end": 10903, "loc": { "start": { - "line": 337, + "line": 320, "column": 34 }, "end": { - "line": 337, + "line": 320, "column": 59 } }, "object": { "type": "Identifier", - "start": 11394, - "end": 11405, + "start": 10878, + "end": 10889, "loc": { "start": { - "line": 337, + "line": 320, "column": 34 }, "end": { - "line": 337, + "line": 320, "column": 45 }, "identifierName": "specularPBR" @@ -18013,15 +17480,15 @@ }, "property": { "type": "Identifier", - "start": 11406, - "end": 11419, + "start": 10890, + "end": 10903, "loc": { "start": { - "line": 337, + "line": 320, "column": 46 }, "end": { - "line": 337, + "line": 320, "column": 59 }, "identifierName": "diffuseFactor" @@ -18036,57 +17503,57 @@ }, { "type": "IfStatement", - "start": 11433, - "end": 11568, + "start": 10917, + "end": 11052, "loc": { "start": { - "line": 338, + "line": 321, "column": 12 }, "end": { - "line": 340, + "line": 323, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 11437, - "end": 11490, + "start": 10921, + "end": 10974, "loc": { "start": { - "line": 338, + "line": 321, "column": 16 }, "end": { - "line": 338, + "line": 321, "column": 69 } }, "left": { "type": "BinaryExpression", - "start": 11437, - "end": 11459, + "start": 10921, + "end": 10943, "loc": { "start": { - "line": 338, + "line": 321, "column": 16 }, "end": { - "line": 338, + "line": 321, "column": 38 } }, "left": { "type": "Identifier", - "start": 11437, - "end": 11450, + "start": 10921, + "end": 10934, "loc": { "start": { - "line": 338, + "line": 321, "column": 16 }, "end": { - "line": 338, + "line": 321, "column": 29 }, "identifierName": "diffuseFactor" @@ -18096,15 +17563,15 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 11455, - "end": 11459, + "start": 10939, + "end": 10943, "loc": { "start": { - "line": 338, + "line": 321, "column": 34 }, "end": { - "line": 338, + "line": 321, "column": 38 } } @@ -18113,29 +17580,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 11463, - "end": 11490, + "start": 10947, + "end": 10974, "loc": { "start": { - "line": 338, + "line": 321, "column": 42 }, "end": { - "line": 338, + "line": 321, "column": 69 } }, "left": { "type": "Identifier", - "start": 11463, - "end": 11476, + "start": 10947, + "end": 10960, "loc": { "start": { - "line": 338, + "line": 321, "column": 42 }, "end": { - "line": 338, + "line": 321, "column": 55 }, "identifierName": "diffuseFactor" @@ -18145,15 +17612,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 11481, - "end": 11490, + "start": 10965, + "end": 10974, "loc": { "start": { - "line": 338, + "line": 321, "column": 60 }, "end": { - "line": 338, + "line": 321, "column": 69 }, "identifierName": "undefined" @@ -18164,86 +17631,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 11492, - "end": 11568, + "start": 10976, + "end": 11052, "loc": { "start": { - "line": 338, + "line": 321, "column": 71 }, "end": { - "line": 340, + "line": 323, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 11510, - "end": 11554, + "start": 10994, + "end": 11038, "loc": { "start": { - "line": 339, + "line": 322, "column": 16 }, "end": { - "line": 339, + "line": 322, "column": 60 } }, "expression": { "type": "CallExpression", - "start": 11510, - "end": 11553, + "start": 10994, + "end": 11037, "loc": { "start": { - "line": 339, + "line": 322, "column": 16 }, "end": { - "line": 339, + "line": 322, "column": 59 } }, "callee": { "type": "MemberExpression", - "start": 11510, - "end": 11538, + "start": 10994, + "end": 11022, "loc": { "start": { - "line": 339, + "line": 322, "column": 16 }, "end": { - "line": 339, + "line": 322, "column": 44 } }, "object": { "type": "MemberExpression", - "start": 11510, - "end": 11534, + "start": 10994, + "end": 11018, "loc": { "start": { - "line": 339, + "line": 322, "column": 16 }, "end": { - "line": 339, + "line": 322, "column": 40 } }, "object": { "type": "Identifier", - "start": 11510, - "end": 11528, + "start": 10994, + "end": 11012, "loc": { "start": { - "line": 339, + "line": 322, "column": 16 }, "end": { - "line": 339, + "line": 322, "column": 34 }, "identifierName": "materialAttributes" @@ -18252,15 +17719,15 @@ }, "property": { "type": "Identifier", - "start": 11529, - "end": 11534, + "start": 11013, + "end": 11018, "loc": { "start": { - "line": 339, + "line": 322, "column": 35 }, "end": { - "line": 339, + "line": 322, "column": 40 }, "identifierName": "color" @@ -18271,15 +17738,15 @@ }, "property": { "type": "Identifier", - "start": 11535, - "end": 11538, + "start": 11019, + "end": 11022, "loc": { "start": { - "line": 339, + "line": 322, "column": 41 }, "end": { - "line": 339, + "line": 322, "column": 44 }, "identifierName": "set" @@ -18291,15 +17758,15 @@ "arguments": [ { "type": "Identifier", - "start": 11539, - "end": 11552, + "start": 11023, + "end": 11036, "loc": { "start": { - "line": 339, + "line": 322, "column": 45 }, "end": { - "line": 339, + "line": 322, "column": 58 }, "identifierName": "diffuseFactor" @@ -18321,44 +17788,44 @@ }, { "type": "VariableDeclaration", - "start": 11587, - "end": 11637, + "start": 11071, + "end": 11121, "loc": { "start": { - "line": 342, + "line": 325, "column": 8 }, "end": { - "line": 342, + "line": 325, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11593, - "end": 11636, + "start": 11077, + "end": 11120, "loc": { "start": { - "line": 342, + "line": 325, "column": 14 }, "end": { - "line": 342, + "line": 325, "column": 57 } }, "id": { "type": "Identifier", - "start": 11593, - "end": 11599, + "start": 11077, + "end": 11083, "loc": { "start": { - "line": 342, + "line": 325, "column": 14 }, "end": { - "line": 342, + "line": 325, "column": 20 }, "identifierName": "common" @@ -18367,29 +17834,29 @@ }, "init": { "type": "MemberExpression", - "start": 11602, - "end": 11636, + "start": 11086, + "end": 11120, "loc": { "start": { - "line": 342, + "line": 325, "column": 23 }, "end": { - "line": 342, + "line": 325, "column": 57 } }, "object": { "type": "Identifier", - "start": 11602, - "end": 11612, + "start": 11086, + "end": 11096, "loc": { "start": { - "line": 342, + "line": 325, "column": 23 }, "end": { - "line": 342, + "line": 325, "column": 33 }, "identifierName": "extensions" @@ -18398,15 +17865,15 @@ }, "property": { "type": "StringLiteral", - "start": 11613, - "end": 11635, + "start": 11097, + "end": 11119, "loc": { "start": { - "line": 342, + "line": 325, "column": 34 }, "end": { - "line": 342, + "line": 325, "column": 56 } }, @@ -18424,29 +17891,29 @@ }, { "type": "IfStatement", - "start": 11646, - "end": 12548, + "start": 11130, + "end": 12032, "loc": { "start": { - "line": 343, + "line": 326, "column": 8 }, "end": { - "line": 363, + "line": 346, "column": 9 } }, "test": { "type": "Identifier", - "start": 11650, - "end": 11656, + "start": 11134, + "end": 11140, "loc": { "start": { - "line": 343, + "line": 326, "column": 12 }, "end": { - "line": 343, + "line": 326, "column": 18 }, "identifierName": "common" @@ -18455,59 +17922,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 11658, - "end": 12548, + "start": 11142, + "end": 12032, "loc": { "start": { - "line": 343, + "line": 326, "column": 20 }, "end": { - "line": 363, + "line": 346, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 11672, - "end": 11707, + "start": 11156, + "end": 11191, "loc": { "start": { - "line": 344, + "line": 327, "column": 12 }, "end": { - "line": 344, + "line": 327, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11678, - "end": 11706, + "start": 11162, + "end": 11190, "loc": { "start": { - "line": 344, + "line": 327, "column": 18 }, "end": { - "line": 344, + "line": 327, "column": 46 } }, "id": { "type": "Identifier", - "start": 11678, - "end": 11687, + "start": 11162, + "end": 11171, "loc": { "start": { - "line": 344, + "line": 327, "column": 18 }, "end": { - "line": 344, + "line": 327, "column": 27 }, "identifierName": "technique" @@ -18516,29 +17983,29 @@ }, "init": { "type": "MemberExpression", - "start": 11690, - "end": 11706, + "start": 11174, + "end": 11190, "loc": { "start": { - "line": 344, + "line": 327, "column": 30 }, "end": { - "line": 344, + "line": 327, "column": 46 } }, "object": { "type": "Identifier", - "start": 11690, - "end": 11696, + "start": 11174, + "end": 11180, "loc": { "start": { - "line": 344, + "line": 327, "column": 30 }, "end": { - "line": 344, + "line": 327, "column": 36 }, "identifierName": "common" @@ -18547,15 +18014,15 @@ }, "property": { "type": "Identifier", - "start": 11697, - "end": 11706, + "start": 11181, + "end": 11190, "loc": { "start": { - "line": 344, + "line": 327, "column": 37 }, "end": { - "line": 344, + "line": 327, "column": 46 }, "identifierName": "technique" @@ -18570,44 +18037,44 @@ }, { "type": "VariableDeclaration", - "start": 11720, - "end": 11755, + "start": 11204, + "end": 11239, "loc": { "start": { - "line": 345, + "line": 328, "column": 12 }, "end": { - "line": 345, + "line": 328, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11726, - "end": 11754, + "start": 11210, + "end": 11238, "loc": { "start": { - "line": 345, + "line": 328, "column": 18 }, "end": { - "line": 345, + "line": 328, "column": 46 } }, "id": { "type": "Identifier", - "start": 11726, - "end": 11732, + "start": 11210, + "end": 11216, "loc": { "start": { - "line": 345, + "line": 328, "column": 18 }, "end": { - "line": 345, + "line": 328, "column": 24 }, "identifierName": "values" @@ -18616,43 +18083,43 @@ }, "init": { "type": "LogicalExpression", - "start": 11735, - "end": 11754, + "start": 11219, + "end": 11238, "loc": { "start": { - "line": 345, + "line": 328, "column": 27 }, "end": { - "line": 345, + "line": 328, "column": 46 } }, "left": { "type": "MemberExpression", - "start": 11735, - "end": 11748, + "start": 11219, + "end": 11232, "loc": { "start": { - "line": 345, + "line": 328, "column": 27 }, "end": { - "line": 345, + "line": 328, "column": 40 } }, "object": { "type": "Identifier", - "start": 11735, - "end": 11741, + "start": 11219, + "end": 11225, "loc": { "start": { - "line": 345, + "line": 328, "column": 27 }, "end": { - "line": 345, + "line": 328, "column": 33 }, "identifierName": "common" @@ -18661,15 +18128,15 @@ }, "property": { "type": "Identifier", - "start": 11742, - "end": 11748, + "start": 11226, + "end": 11232, "loc": { "start": { - "line": 345, + "line": 328, "column": 34 }, "end": { - "line": 345, + "line": 328, "column": 40 }, "identifierName": "values" @@ -18681,15 +18148,15 @@ "operator": "||", "right": { "type": "ObjectExpression", - "start": 11752, - "end": 11754, + "start": 11236, + "end": 11238, "loc": { "start": { - "line": 345, + "line": 328, "column": 44 }, "end": { - "line": 345, + "line": 328, "column": 46 } }, @@ -18702,44 +18169,44 @@ }, { "type": "VariableDeclaration", - "start": 11768, - "end": 11804, + "start": 11252, + "end": 11288, "loc": { "start": { - "line": 346, + "line": 329, "column": 12 }, "end": { - "line": 346, + "line": 329, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11774, - "end": 11803, + "start": 11258, + "end": 11287, "loc": { "start": { - "line": 346, + "line": 329, "column": 18 }, "end": { - "line": 346, + "line": 329, "column": 47 } }, "id": { "type": "Identifier", - "start": 11774, - "end": 11779, + "start": 11258, + "end": 11263, "loc": { "start": { - "line": 346, + "line": 329, "column": 18 }, "end": { - "line": 346, + "line": 329, "column": 23 }, "identifierName": "blinn" @@ -18748,29 +18215,29 @@ }, "init": { "type": "BinaryExpression", - "start": 11782, - "end": 11803, + "start": 11266, + "end": 11287, "loc": { "start": { - "line": 346, + "line": 329, "column": 26 }, "end": { - "line": 346, + "line": 329, "column": 47 } }, "left": { "type": "Identifier", - "start": 11782, - "end": 11791, + "start": 11266, + "end": 11275, "loc": { "start": { - "line": 346, + "line": 329, "column": 26 }, "end": { - "line": 346, + "line": 329, "column": 35 }, "identifierName": "technique" @@ -18780,15 +18247,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 11796, - "end": 11803, + "start": 11280, + "end": 11287, "loc": { "start": { - "line": 346, + "line": 329, "column": 40 }, "end": { - "line": 346, + "line": 329, "column": 47 } }, @@ -18805,44 +18272,44 @@ }, { "type": "VariableDeclaration", - "start": 11817, - "end": 11853, + "start": 11301, + "end": 11337, "loc": { "start": { - "line": 347, + "line": 330, "column": 12 }, "end": { - "line": 347, + "line": 330, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11823, - "end": 11852, + "start": 11307, + "end": 11336, "loc": { "start": { - "line": 347, + "line": 330, "column": 18 }, "end": { - "line": 347, + "line": 330, "column": 47 } }, "id": { "type": "Identifier", - "start": 11823, - "end": 11828, + "start": 11307, + "end": 11312, "loc": { "start": { - "line": 347, + "line": 330, "column": 18 }, "end": { - "line": 347, + "line": 330, "column": 23 }, "identifierName": "phong" @@ -18851,29 +18318,29 @@ }, "init": { "type": "BinaryExpression", - "start": 11831, - "end": 11852, + "start": 11315, + "end": 11336, "loc": { "start": { - "line": 347, + "line": 330, "column": 26 }, "end": { - "line": 347, + "line": 330, "column": 47 } }, "left": { "type": "Identifier", - "start": 11831, - "end": 11840, + "start": 11315, + "end": 11324, "loc": { "start": { - "line": 347, + "line": 330, "column": 26 }, "end": { - "line": 347, + "line": 330, "column": 35 }, "identifierName": "technique" @@ -18883,15 +18350,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 11845, - "end": 11852, + "start": 11329, + "end": 11336, "loc": { "start": { - "line": 347, + "line": 330, "column": 40 }, "end": { - "line": 347, + "line": 330, "column": 47 } }, @@ -18908,44 +18375,44 @@ }, { "type": "VariableDeclaration", - "start": 11866, - "end": 11906, + "start": 11350, + "end": 11390, "loc": { "start": { - "line": 348, + "line": 331, "column": 12 }, "end": { - "line": 348, + "line": 331, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11872, - "end": 11905, + "start": 11356, + "end": 11389, "loc": { "start": { - "line": 348, + "line": 331, "column": 18 }, "end": { - "line": 348, + "line": 331, "column": 51 } }, "id": { "type": "Identifier", - "start": 11872, - "end": 11879, + "start": 11356, + "end": 11363, "loc": { "start": { - "line": 348, + "line": 331, "column": 18 }, "end": { - "line": 348, + "line": 331, "column": 25 }, "identifierName": "lambert" @@ -18954,29 +18421,29 @@ }, "init": { "type": "BinaryExpression", - "start": 11882, - "end": 11905, + "start": 11366, + "end": 11389, "loc": { "start": { - "line": 348, + "line": 331, "column": 28 }, "end": { - "line": 348, + "line": 331, "column": 51 } }, "left": { "type": "Identifier", - "start": 11882, - "end": 11891, + "start": 11366, + "end": 11375, "loc": { "start": { - "line": 348, + "line": 331, "column": 28 }, "end": { - "line": 348, + "line": 331, "column": 37 }, "identifierName": "technique" @@ -18986,15 +18453,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 11896, - "end": 11905, + "start": 11380, + "end": 11389, "loc": { "start": { - "line": 348, + "line": 331, "column": 42 }, "end": { - "line": 348, + "line": 331, "column": 51 } }, @@ -19011,44 +18478,44 @@ }, { "type": "VariableDeclaration", - "start": 11919, - "end": 11950, + "start": 11403, + "end": 11434, "loc": { "start": { - "line": 349, + "line": 332, "column": 12 }, "end": { - "line": 349, + "line": 332, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 11925, - "end": 11949, + "start": 11409, + "end": 11433, "loc": { "start": { - "line": 349, + "line": 332, "column": 18 }, "end": { - "line": 349, + "line": 332, "column": 42 } }, "id": { "type": "Identifier", - "start": 11925, - "end": 11932, + "start": 11409, + "end": 11416, "loc": { "start": { - "line": 349, + "line": 332, "column": 18 }, "end": { - "line": 349, + "line": 332, "column": 25 }, "identifierName": "diffuse" @@ -19057,29 +18524,29 @@ }, "init": { "type": "MemberExpression", - "start": 11935, - "end": 11949, + "start": 11419, + "end": 11433, "loc": { "start": { - "line": 349, + "line": 332, "column": 28 }, "end": { - "line": 349, + "line": 332, "column": 42 } }, "object": { "type": "Identifier", - "start": 11935, - "end": 11941, + "start": 11419, + "end": 11425, "loc": { "start": { - "line": 349, + "line": 332, "column": 28 }, "end": { - "line": 349, + "line": 332, "column": 34 }, "identifierName": "values" @@ -19088,15 +18555,15 @@ }, "property": { "type": "Identifier", - "start": 11942, - "end": 11949, + "start": 11426, + "end": 11433, "loc": { "start": { - "line": 349, + "line": 332, "column": 35 }, "end": { - "line": 349, + "line": 332, "column": 42 }, "identifierName": "diffuse" @@ -19111,43 +18578,43 @@ }, { "type": "IfStatement", - "start": 11963, - "end": 12147, + "start": 11447, + "end": 11631, "loc": { "start": { - "line": 350, + "line": 333, "column": 12 }, "end": { - "line": 354, + "line": 337, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 11967, - "end": 12005, + "start": 11451, + "end": 11489, "loc": { "start": { - "line": 350, + "line": 333, "column": 16 }, "end": { - "line": 350, + "line": 333, "column": 54 } }, "left": { "type": "Identifier", - "start": 11967, - "end": 11974, + "start": 11451, + "end": 11458, "loc": { "start": { - "line": 350, + "line": 333, "column": 16 }, "end": { - "line": 350, + "line": 333, "column": 23 }, "identifierName": "diffuse" @@ -19157,43 +18624,43 @@ "operator": "&&", "right": { "type": "LogicalExpression", - "start": 11979, - "end": 12004, + "start": 11463, + "end": 11488, "loc": { "start": { - "line": 350, + "line": 333, "column": 28 }, "end": { - "line": 350, + "line": 333, "column": 53 } }, "left": { "type": "LogicalExpression", - "start": 11979, - "end": 11993, + "start": 11463, + "end": 11477, "loc": { "start": { - "line": 350, + "line": 333, "column": 28 }, "end": { - "line": 350, + "line": 333, "column": 42 } }, "left": { "type": "Identifier", - "start": 11979, - "end": 11984, + "start": 11463, + "end": 11468, "loc": { "start": { - "line": 350, + "line": 333, "column": 28 }, "end": { - "line": 350, + "line": 333, "column": 33 }, "identifierName": "blinn" @@ -19203,15 +18670,15 @@ "operator": "||", "right": { "type": "Identifier", - "start": 11988, - "end": 11993, + "start": 11472, + "end": 11477, "loc": { "start": { - "line": 350, + "line": 333, "column": 37 }, "end": { - "line": 350, + "line": 333, "column": 42 }, "identifierName": "phong" @@ -19222,15 +18689,15 @@ "operator": "||", "right": { "type": "Identifier", - "start": 11997, - "end": 12004, + "start": 11481, + "end": 11488, "loc": { "start": { - "line": 350, + "line": 333, "column": 46 }, "end": { - "line": 350, + "line": 333, "column": 53 }, "identifierName": "lambert" @@ -19239,50 +18706,50 @@ }, "extra": { "parenthesized": true, - "parenStart": 11978 + "parenStart": 11462 } } }, "consequent": { "type": "BlockStatement", - "start": 12007, - "end": 12147, + "start": 11491, + "end": 11631, "loc": { "start": { - "line": 350, + "line": 333, "column": 56 }, "end": { - "line": 354, + "line": 337, "column": 13 } }, "body": [ { "type": "IfStatement", - "start": 12025, - "end": 12133, + "start": 11509, + "end": 11617, "loc": { "start": { - "line": 351, + "line": 334, "column": 16 }, "end": { - "line": 353, + "line": 336, "column": 17 } }, "test": { "type": "UnaryExpression", - "start": 12029, - "end": 12053, + "start": 11513, + "end": 11537, "loc": { "start": { - "line": 351, + "line": 334, "column": 20 }, "end": { - "line": 351, + "line": 334, "column": 44 } }, @@ -19290,43 +18757,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 12030, - "end": 12053, + "start": 11514, + "end": 11537, "loc": { "start": { - "line": 351, + "line": 334, "column": 21 }, "end": { - "line": 351, + "line": 334, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 12030, - "end": 12044, + "start": 11514, + "end": 11528, "loc": { "start": { - "line": 351, + "line": 334, "column": 21 }, "end": { - "line": 351, + "line": 334, "column": 35 } }, "object": { "type": "Identifier", - "start": 12030, - "end": 12035, + "start": 11514, + "end": 11519, "loc": { "start": { - "line": 351, + "line": 334, "column": 21 }, "end": { - "line": 351, + "line": 334, "column": 26 }, "identifierName": "utils" @@ -19335,15 +18802,15 @@ }, "property": { "type": "Identifier", - "start": 12036, - "end": 12044, + "start": 11520, + "end": 11528, "loc": { "start": { - "line": 351, + "line": 334, "column": 27 }, "end": { - "line": 351, + "line": 334, "column": 35 }, "identifierName": "isString" @@ -19355,15 +18822,15 @@ "arguments": [ { "type": "Identifier", - "start": 12045, - "end": 12052, + "start": 11529, + "end": 11536, "loc": { "start": { - "line": 351, + "line": 334, "column": 36 }, "end": { - "line": 351, + "line": 334, "column": 43 }, "identifierName": "diffuse" @@ -19378,86 +18845,86 @@ }, "consequent": { "type": "BlockStatement", - "start": 12055, - "end": 12133, + "start": 11539, + "end": 11617, "loc": { "start": { - "line": 351, + "line": 334, "column": 46 }, "end": { - "line": 353, + "line": 336, "column": 17 } }, "body": [ { "type": "ExpressionStatement", - "start": 12077, - "end": 12115, + "start": 11561, + "end": 11599, "loc": { "start": { - "line": 352, + "line": 335, "column": 20 }, "end": { - "line": 352, + "line": 335, "column": 58 } }, "expression": { "type": "CallExpression", - "start": 12077, - "end": 12114, + "start": 11561, + "end": 11598, "loc": { "start": { - "line": 352, + "line": 335, "column": 20 }, "end": { - "line": 352, + "line": 335, "column": 57 } }, "callee": { "type": "MemberExpression", - "start": 12077, - "end": 12105, + "start": 11561, + "end": 11589, "loc": { "start": { - "line": 352, + "line": 335, "column": 20 }, "end": { - "line": 352, + "line": 335, "column": 48 } }, "object": { "type": "MemberExpression", - "start": 12077, - "end": 12101, + "start": 11561, + "end": 11585, "loc": { "start": { - "line": 352, + "line": 335, "column": 20 }, "end": { - "line": 352, + "line": 335, "column": 44 } }, "object": { "type": "Identifier", - "start": 12077, - "end": 12095, + "start": 11561, + "end": 11579, "loc": { "start": { - "line": 352, + "line": 335, "column": 20 }, "end": { - "line": 352, + "line": 335, "column": 38 }, "identifierName": "materialAttributes" @@ -19466,15 +18933,15 @@ }, "property": { "type": "Identifier", - "start": 12096, - "end": 12101, + "start": 11580, + "end": 11585, "loc": { "start": { - "line": 352, + "line": 335, "column": 39 }, "end": { - "line": 352, + "line": 335, "column": 44 }, "identifierName": "color" @@ -19485,15 +18952,15 @@ }, "property": { "type": "Identifier", - "start": 12102, - "end": 12105, + "start": 11586, + "end": 11589, "loc": { "start": { - "line": 352, + "line": 335, "column": 45 }, "end": { - "line": 352, + "line": 335, "column": 48 }, "identifierName": "set" @@ -19505,15 +18972,15 @@ "arguments": [ { "type": "Identifier", - "start": 12106, - "end": 12113, + "start": 11590, + "end": 11597, "loc": { "start": { - "line": 352, + "line": 335, "column": 49 }, "end": { - "line": 352, + "line": 335, "column": 56 }, "identifierName": "diffuse" @@ -19535,44 +19002,44 @@ }, { "type": "VariableDeclaration", - "start": 12160, - "end": 12201, + "start": 11644, + "end": 11685, "loc": { "start": { - "line": 355, + "line": 338, "column": 12 }, "end": { - "line": 355, + "line": 338, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12166, - "end": 12200, + "start": 11650, + "end": 11684, "loc": { "start": { - "line": 355, + "line": 338, "column": 18 }, "end": { - "line": 355, + "line": 338, "column": 52 } }, "id": { "type": "Identifier", - "start": 12166, - "end": 12178, + "start": 11650, + "end": 11662, "loc": { "start": { - "line": 355, + "line": 338, "column": 18 }, "end": { - "line": 355, + "line": 338, "column": 30 }, "identifierName": "transparency" @@ -19581,29 +19048,29 @@ }, "init": { "type": "MemberExpression", - "start": 12181, - "end": 12200, + "start": 11665, + "end": 11684, "loc": { "start": { - "line": 355, + "line": 338, "column": 33 }, "end": { - "line": 355, + "line": 338, "column": 52 } }, "object": { "type": "Identifier", - "start": 12181, - "end": 12187, + "start": 11665, + "end": 11671, "loc": { "start": { - "line": 355, + "line": 338, "column": 33 }, "end": { - "line": 355, + "line": 338, "column": 39 }, "identifierName": "values" @@ -19612,15 +19079,15 @@ }, "property": { "type": "Identifier", - "start": 12188, - "end": 12200, + "start": 11672, + "end": 11684, "loc": { "start": { - "line": 355, + "line": 338, "column": 40 }, "end": { - "line": 355, + "line": 338, "column": 52 }, "identifierName": "transparency" @@ -19635,57 +19102,57 @@ }, { "type": "IfStatement", - "start": 12214, - "end": 12345, + "start": 11698, + "end": 11829, "loc": { "start": { - "line": 356, + "line": 339, "column": 12 }, "end": { - "line": 358, + "line": 341, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 12218, - "end": 12269, + "start": 11702, + "end": 11753, "loc": { "start": { - "line": 356, + "line": 339, "column": 16 }, "end": { - "line": 356, + "line": 339, "column": 67 } }, "left": { "type": "BinaryExpression", - "start": 12218, - "end": 12239, + "start": 11702, + "end": 11723, "loc": { "start": { - "line": 356, + "line": 339, "column": 16 }, "end": { - "line": 356, + "line": 339, "column": 37 } }, "left": { "type": "Identifier", - "start": 12218, - "end": 12230, + "start": 11702, + "end": 11714, "loc": { "start": { - "line": 356, + "line": 339, "column": 16 }, "end": { - "line": 356, + "line": 339, "column": 28 }, "identifierName": "transparency" @@ -19695,15 +19162,15 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 12235, - "end": 12239, + "start": 11719, + "end": 11723, "loc": { "start": { - "line": 356, + "line": 339, "column": 33 }, "end": { - "line": 356, + "line": 339, "column": 37 } } @@ -19712,29 +19179,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 12243, - "end": 12269, + "start": 11727, + "end": 11753, "loc": { "start": { - "line": 356, + "line": 339, "column": 41 }, "end": { - "line": 356, + "line": 339, "column": 67 } }, "left": { "type": "Identifier", - "start": 12243, - "end": 12255, + "start": 11727, + "end": 11739, "loc": { "start": { - "line": 356, + "line": 339, "column": 41 }, "end": { - "line": 356, + "line": 339, "column": 53 }, "identifierName": "transparency" @@ -19744,15 +19211,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 12260, - "end": 12269, + "start": 11744, + "end": 11753, "loc": { "start": { - "line": 356, + "line": 339, "column": 58 }, "end": { - "line": 356, + "line": 339, "column": 67 }, "identifierName": "undefined" @@ -19763,73 +19230,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 12271, - "end": 12345, + "start": 11755, + "end": 11829, "loc": { "start": { - "line": 356, + "line": 339, "column": 69 }, "end": { - "line": 358, + "line": 341, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12289, - "end": 12331, + "start": 11773, + "end": 11815, "loc": { "start": { - "line": 357, + "line": 340, "column": 16 }, "end": { - "line": 357, + "line": 340, "column": 58 } }, "expression": { "type": "AssignmentExpression", - "start": 12289, - "end": 12330, + "start": 11773, + "end": 11814, "loc": { "start": { - "line": 357, + "line": 340, "column": 16 }, "end": { - "line": 357, + "line": 340, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12289, - "end": 12315, + "start": 11773, + "end": 11799, "loc": { "start": { - "line": 357, + "line": 340, "column": 16 }, "end": { - "line": 357, + "line": 340, "column": 42 } }, "object": { "type": "Identifier", - "start": 12289, - "end": 12307, + "start": 11773, + "end": 11791, "loc": { "start": { - "line": 357, + "line": 340, "column": 16 }, "end": { - "line": 357, + "line": 340, "column": 34 }, "identifierName": "materialAttributes" @@ -19838,15 +19305,15 @@ }, "property": { "type": "Identifier", - "start": 12308, - "end": 12315, + "start": 11792, + "end": 11799, "loc": { "start": { - "line": 357, + "line": 340, "column": 35 }, "end": { - "line": 357, + "line": 340, "column": 42 }, "identifierName": "opacity" @@ -19857,15 +19324,15 @@ }, "right": { "type": "Identifier", - "start": 12318, - "end": 12330, + "start": 11802, + "end": 11814, "loc": { "start": { - "line": 357, + "line": 340, "column": 45 }, "end": { - "line": 357, + "line": 340, "column": 57 }, "identifierName": "transparency" @@ -19881,44 +19348,44 @@ }, { "type": "VariableDeclaration", - "start": 12358, - "end": 12397, + "start": 11842, + "end": 11881, "loc": { "start": { - "line": 359, + "line": 342, "column": 12 }, "end": { - "line": 359, + "line": 342, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12364, - "end": 12396, + "start": 11848, + "end": 11880, "loc": { "start": { - "line": 359, + "line": 342, "column": 18 }, "end": { - "line": 359, + "line": 342, "column": 50 } }, "id": { "type": "Identifier", - "start": 12364, - "end": 12375, + "start": 11848, + "end": 11859, "loc": { "start": { - "line": 359, + "line": 342, "column": 18 }, "end": { - "line": 359, + "line": 342, "column": 29 }, "identifierName": "transparent" @@ -19927,29 +19394,29 @@ }, "init": { "type": "MemberExpression", - "start": 12378, - "end": 12396, + "start": 11862, + "end": 11880, "loc": { "start": { - "line": 359, + "line": 342, "column": 32 }, "end": { - "line": 359, + "line": 342, "column": 50 } }, "object": { "type": "Identifier", - "start": 12378, - "end": 12384, + "start": 11862, + "end": 11868, "loc": { "start": { - "line": 359, + "line": 342, "column": 32 }, "end": { - "line": 359, + "line": 342, "column": 38 }, "identifierName": "values" @@ -19958,15 +19425,15 @@ }, "property": { "type": "Identifier", - "start": 12385, - "end": 12396, + "start": 11869, + "end": 11880, "loc": { "start": { - "line": 359, + "line": 342, "column": 39 }, "end": { - "line": 359, + "line": 342, "column": 50 }, "identifierName": "transparent" @@ -19981,57 +19448,57 @@ }, { "type": "IfStatement", - "start": 12410, - "end": 12538, + "start": 11894, + "end": 12022, "loc": { "start": { - "line": 360, + "line": 343, "column": 12 }, "end": { - "line": 362, + "line": 345, "column": 13 } }, "test": { "type": "LogicalExpression", - "start": 12414, - "end": 12463, + "start": 11898, + "end": 11947, "loc": { "start": { - "line": 360, + "line": 343, "column": 16 }, "end": { - "line": 360, + "line": 343, "column": 65 } }, "left": { "type": "BinaryExpression", - "start": 12414, - "end": 12434, + "start": 11898, + "end": 11918, "loc": { "start": { - "line": 360, + "line": 343, "column": 16 }, "end": { - "line": 360, + "line": 343, "column": 36 } }, "left": { "type": "Identifier", - "start": 12414, - "end": 12425, + "start": 11898, + "end": 11909, "loc": { "start": { - "line": 360, + "line": 343, "column": 16 }, "end": { - "line": 360, + "line": 343, "column": 27 }, "identifierName": "transparent" @@ -20041,15 +19508,15 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 12430, - "end": 12434, + "start": 11914, + "end": 11918, "loc": { "start": { - "line": 360, + "line": 343, "column": 32 }, "end": { - "line": 360, + "line": 343, "column": 36 } } @@ -20058,29 +19525,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 12438, - "end": 12463, + "start": 11922, + "end": 11947, "loc": { "start": { - "line": 360, + "line": 343, "column": 40 }, "end": { - "line": 360, + "line": 343, "column": 65 } }, "left": { "type": "Identifier", - "start": 12438, - "end": 12449, + "start": 11922, + "end": 11933, "loc": { "start": { - "line": 360, + "line": 343, "column": 40 }, "end": { - "line": 360, + "line": 343, "column": 51 }, "identifierName": "transparent" @@ -20090,15 +19557,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 12454, - "end": 12463, + "start": 11938, + "end": 11947, "loc": { "start": { - "line": 360, + "line": 343, "column": 56 }, "end": { - "line": 360, + "line": 343, "column": 65 }, "identifierName": "undefined" @@ -20109,73 +19576,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 12465, - "end": 12538, + "start": 11949, + "end": 12022, "loc": { "start": { - "line": 360, + "line": 343, "column": 67 }, "end": { - "line": 362, + "line": 345, "column": 13 } }, "body": [ { "type": "ExpressionStatement", - "start": 12483, - "end": 12524, + "start": 11967, + "end": 12008, "loc": { "start": { - "line": 361, + "line": 344, "column": 16 }, "end": { - "line": 361, + "line": 344, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 12483, - "end": 12523, + "start": 11967, + "end": 12007, "loc": { "start": { - "line": 361, + "line": 344, "column": 16 }, "end": { - "line": 361, + "line": 344, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12483, - "end": 12509, + "start": 11967, + "end": 11993, "loc": { "start": { - "line": 361, + "line": 344, "column": 16 }, "end": { - "line": 361, + "line": 344, "column": 42 } }, "object": { "type": "Identifier", - "start": 12483, - "end": 12501, + "start": 11967, + "end": 11985, "loc": { "start": { - "line": 361, + "line": 344, "column": 16 }, "end": { - "line": 361, + "line": 344, "column": 34 }, "identifierName": "materialAttributes" @@ -20184,15 +19651,15 @@ }, "property": { "type": "Identifier", - "start": 12502, - "end": 12509, + "start": 11986, + "end": 11993, "loc": { "start": { - "line": 361, + "line": 344, "column": 35 }, "end": { - "line": 361, + "line": 344, "column": 42 }, "identifierName": "opacity" @@ -20203,15 +19670,15 @@ }, "right": { "type": "Identifier", - "start": 12512, - "end": 12523, + "start": 11996, + "end": 12007, "loc": { "start": { - "line": 361, + "line": 344, "column": 45 }, "end": { - "line": 361, + "line": 344, "column": 56 }, "identifierName": "transparent" @@ -20237,44 +19704,44 @@ }, { "type": "VariableDeclaration", - "start": 12559, - "end": 12609, + "start": 12043, + "end": 12093, "loc": { "start": { - "line": 365, + "line": 348, "column": 4 }, "end": { - "line": 365, + "line": 348, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12565, - "end": 12608, + "start": 12049, + "end": 12092, "loc": { "start": { - "line": 365, + "line": 348, "column": 10 }, "end": { - "line": 365, + "line": 348, "column": 53 } }, "id": { "type": "Identifier", - "start": 12565, - "end": 12576, + "start": 12049, + "end": 12060, "loc": { "start": { - "line": 365, + "line": 348, "column": 10 }, "end": { - "line": 365, + "line": 348, "column": 21 }, "identifierName": "metallicPBR" @@ -20283,29 +19750,29 @@ }, "init": { "type": "MemberExpression", - "start": 12579, - "end": 12608, + "start": 12063, + "end": 12092, "loc": { "start": { - "line": 365, + "line": 348, "column": 24 }, "end": { - "line": 365, + "line": 348, "column": 53 } }, "object": { "type": "Identifier", - "start": 12579, - "end": 12587, + "start": 12063, + "end": 12071, "loc": { "start": { - "line": 365, + "line": 348, "column": 24 }, "end": { - "line": 365, + "line": 348, "column": 32 }, "identifierName": "material" @@ -20314,15 +19781,15 @@ }, "property": { "type": "Identifier", - "start": 12588, - "end": 12608, + "start": 12072, + "end": 12092, "loc": { "start": { - "line": 365, + "line": 348, "column": 33 }, "end": { - "line": 365, + "line": 348, "column": 53 }, "identifierName": "pbrMetallicRoughness" @@ -20337,29 +19804,29 @@ }, { "type": "IfStatement", - "start": 12614, - "end": 13389, + "start": 12098, + "end": 12873, "loc": { "start": { - "line": 366, + "line": 349, "column": 4 }, "end": { - "line": 382, + "line": 365, "column": 5 } }, "test": { "type": "Identifier", - "start": 12618, - "end": 12629, + "start": 12102, + "end": 12113, "loc": { "start": { - "line": 366, + "line": 349, "column": 8 }, "end": { - "line": 366, + "line": 349, "column": 19 }, "identifierName": "metallicPBR" @@ -20368,59 +19835,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 12631, - "end": 13389, + "start": 12115, + "end": 12873, "loc": { "start": { - "line": 366, + "line": 349, "column": 21 }, "end": { - "line": 382, + "line": 365, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 12641, - "end": 12693, + "start": 12125, + "end": 12177, "loc": { "start": { - "line": 367, + "line": 350, "column": 8 }, "end": { - "line": 367, + "line": 350, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12647, - "end": 12692, + "start": 12131, + "end": 12176, "loc": { "start": { - "line": 367, + "line": 350, "column": 14 }, "end": { - "line": 367, + "line": 350, "column": 59 } }, "id": { "type": "Identifier", - "start": 12647, - "end": 12662, + "start": 12131, + "end": 12146, "loc": { "start": { - "line": 367, + "line": 350, "column": 14 }, "end": { - "line": 367, + "line": 350, "column": 29 }, "identifierName": "baseColorFactor" @@ -20429,29 +19896,29 @@ }, "init": { "type": "MemberExpression", - "start": 12665, - "end": 12692, + "start": 12149, + "end": 12176, "loc": { "start": { - "line": 367, + "line": 350, "column": 32 }, "end": { - "line": 367, + "line": 350, "column": 59 } }, "object": { "type": "Identifier", - "start": 12665, - "end": 12676, + "start": 12149, + "end": 12160, "loc": { "start": { - "line": 367, + "line": 350, "column": 32 }, "end": { - "line": 367, + "line": 350, "column": 43 }, "identifierName": "metallicPBR" @@ -20460,15 +19927,15 @@ }, "property": { "type": "Identifier", - "start": 12677, - "end": 12692, + "start": 12161, + "end": 12176, "loc": { "start": { - "line": 367, + "line": 350, "column": 44 }, "end": { - "line": 367, + "line": 350, "column": 59 }, "identifierName": "baseColorFactor" @@ -20483,29 +19950,29 @@ }, { "type": "IfStatement", - "start": 12702, - "end": 12981, + "start": 12186, + "end": 12465, "loc": { "start": { - "line": 368, + "line": 351, "column": 8 }, "end": { - "line": 373, + "line": 356, "column": 9 } }, "test": { "type": "Identifier", - "start": 12706, - "end": 12721, + "start": 12190, + "end": 12205, "loc": { "start": { - "line": 368, + "line": 351, "column": 12 }, "end": { - "line": 368, + "line": 351, "column": 27 }, "identifierName": "baseColorFactor" @@ -20514,87 +19981,87 @@ }, "consequent": { "type": "BlockStatement", - "start": 12723, - "end": 12981, + "start": 12207, + "end": 12465, "loc": { "start": { - "line": 368, + "line": 351, "column": 29 }, "end": { - "line": 373, + "line": 356, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 12737, - "end": 12786, + "start": 12221, + "end": 12270, "loc": { "start": { - "line": 369, + "line": 352, "column": 12 }, "end": { - "line": 369, + "line": 352, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 12737, - "end": 12785, + "start": 12221, + "end": 12269, "loc": { "start": { - "line": 369, + "line": 352, "column": 12 }, "end": { - "line": 369, + "line": 352, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12737, - "end": 12764, + "start": 12221, + "end": 12248, "loc": { "start": { - "line": 369, + "line": 352, "column": 12 }, "end": { - "line": 369, + "line": 352, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12737, - "end": 12761, + "start": 12221, + "end": 12245, "loc": { "start": { - "line": 369, + "line": 352, "column": 12 }, "end": { - "line": 369, + "line": 352, "column": 36 } }, "object": { "type": "Identifier", - "start": 12737, - "end": 12755, + "start": 12221, + "end": 12239, "loc": { "start": { - "line": 369, + "line": 352, "column": 12 }, "end": { - "line": 369, + "line": 352, "column": 30 }, "identifierName": "materialAttributes" @@ -20603,15 +20070,15 @@ }, "property": { "type": "Identifier", - "start": 12756, - "end": 12761, + "start": 12240, + "end": 12245, "loc": { "start": { - "line": 369, + "line": 352, "column": 31 }, "end": { - "line": 369, + "line": 352, "column": 36 }, "identifierName": "color" @@ -20622,15 +20089,15 @@ }, "property": { "type": "NumericLiteral", - "start": 12762, - "end": 12763, + "start": 12246, + "end": 12247, "loc": { "start": { - "line": 369, + "line": 352, "column": 37 }, "end": { - "line": 369, + "line": 352, "column": 38 } }, @@ -20644,29 +20111,29 @@ }, "right": { "type": "MemberExpression", - "start": 12767, - "end": 12785, + "start": 12251, + "end": 12269, "loc": { "start": { - "line": 369, + "line": 352, "column": 42 }, "end": { - "line": 369, + "line": 352, "column": 60 } }, "object": { "type": "Identifier", - "start": 12767, - "end": 12782, + "start": 12251, + "end": 12266, "loc": { "start": { - "line": 369, + "line": 352, "column": 42 }, "end": { - "line": 369, + "line": 352, "column": 57 }, "identifierName": "baseColorFactor" @@ -20675,15 +20142,15 @@ }, "property": { "type": "NumericLiteral", - "start": 12783, - "end": 12784, + "start": 12267, + "end": 12268, "loc": { "start": { - "line": 369, + "line": 352, "column": 58 }, "end": { - "line": 369, + "line": 352, "column": 59 } }, @@ -20699,72 +20166,72 @@ }, { "type": "ExpressionStatement", - "start": 12799, - "end": 12848, + "start": 12283, + "end": 12332, "loc": { "start": { - "line": 370, + "line": 353, "column": 12 }, "end": { - "line": 370, + "line": 353, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 12799, - "end": 12847, + "start": 12283, + "end": 12331, "loc": { "start": { - "line": 370, + "line": 353, "column": 12 }, "end": { - "line": 370, + "line": 353, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12799, - "end": 12826, + "start": 12283, + "end": 12310, "loc": { "start": { - "line": 370, + "line": 353, "column": 12 }, "end": { - "line": 370, + "line": 353, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12799, - "end": 12823, + "start": 12283, + "end": 12307, "loc": { "start": { - "line": 370, + "line": 353, "column": 12 }, "end": { - "line": 370, + "line": 353, "column": 36 } }, "object": { "type": "Identifier", - "start": 12799, - "end": 12817, + "start": 12283, + "end": 12301, "loc": { "start": { - "line": 370, + "line": 353, "column": 12 }, "end": { - "line": 370, + "line": 353, "column": 30 }, "identifierName": "materialAttributes" @@ -20773,15 +20240,15 @@ }, "property": { "type": "Identifier", - "start": 12818, - "end": 12823, + "start": 12302, + "end": 12307, "loc": { "start": { - "line": 370, + "line": 353, "column": 31 }, "end": { - "line": 370, + "line": 353, "column": 36 }, "identifierName": "color" @@ -20792,15 +20259,15 @@ }, "property": { "type": "NumericLiteral", - "start": 12824, - "end": 12825, + "start": 12308, + "end": 12309, "loc": { "start": { - "line": 370, + "line": 353, "column": 37 }, "end": { - "line": 370, + "line": 353, "column": 38 } }, @@ -20814,29 +20281,29 @@ }, "right": { "type": "MemberExpression", - "start": 12829, - "end": 12847, + "start": 12313, + "end": 12331, "loc": { "start": { - "line": 370, + "line": 353, "column": 42 }, "end": { - "line": 370, + "line": 353, "column": 60 } }, "object": { "type": "Identifier", - "start": 12829, - "end": 12844, + "start": 12313, + "end": 12328, "loc": { "start": { - "line": 370, + "line": 353, "column": 42 }, "end": { - "line": 370, + "line": 353, "column": 57 }, "identifierName": "baseColorFactor" @@ -20845,15 +20312,15 @@ }, "property": { "type": "NumericLiteral", - "start": 12845, - "end": 12846, + "start": 12329, + "end": 12330, "loc": { "start": { - "line": 370, + "line": 353, "column": 58 }, "end": { - "line": 370, + "line": 353, "column": 59 } }, @@ -20869,72 +20336,72 @@ }, { "type": "ExpressionStatement", - "start": 12861, - "end": 12910, + "start": 12345, + "end": 12394, "loc": { "start": { - "line": 371, + "line": 354, "column": 12 }, "end": { - "line": 371, + "line": 354, "column": 61 } }, "expression": { "type": "AssignmentExpression", - "start": 12861, - "end": 12909, + "start": 12345, + "end": 12393, "loc": { "start": { - "line": 371, + "line": 354, "column": 12 }, "end": { - "line": 371, + "line": 354, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12861, - "end": 12888, + "start": 12345, + "end": 12372, "loc": { "start": { - "line": 371, + "line": 354, "column": 12 }, "end": { - "line": 371, + "line": 354, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 12861, - "end": 12885, + "start": 12345, + "end": 12369, "loc": { "start": { - "line": 371, + "line": 354, "column": 12 }, "end": { - "line": 371, + "line": 354, "column": 36 } }, "object": { "type": "Identifier", - "start": 12861, - "end": 12879, + "start": 12345, + "end": 12363, "loc": { "start": { - "line": 371, + "line": 354, "column": 12 }, "end": { - "line": 371, + "line": 354, "column": 30 }, "identifierName": "materialAttributes" @@ -20943,15 +20410,15 @@ }, "property": { "type": "Identifier", - "start": 12880, - "end": 12885, + "start": 12364, + "end": 12369, "loc": { "start": { - "line": 371, + "line": 354, "column": 31 }, "end": { - "line": 371, + "line": 354, "column": 36 }, "identifierName": "color" @@ -20962,15 +20429,15 @@ }, "property": { "type": "NumericLiteral", - "start": 12886, - "end": 12887, + "start": 12370, + "end": 12371, "loc": { "start": { - "line": 371, + "line": 354, "column": 37 }, "end": { - "line": 371, + "line": 354, "column": 38 } }, @@ -20984,29 +20451,29 @@ }, "right": { "type": "MemberExpression", - "start": 12891, - "end": 12909, + "start": 12375, + "end": 12393, "loc": { "start": { - "line": 371, + "line": 354, "column": 42 }, "end": { - "line": 371, + "line": 354, "column": 60 } }, "object": { "type": "Identifier", - "start": 12891, - "end": 12906, + "start": 12375, + "end": 12390, "loc": { "start": { - "line": 371, + "line": 354, "column": 42 }, "end": { - "line": 371, + "line": 354, "column": 57 }, "identifierName": "baseColorFactor" @@ -21015,15 +20482,15 @@ }, "property": { "type": "NumericLiteral", - "start": 12907, - "end": 12908, + "start": 12391, + "end": 12392, "loc": { "start": { - "line": 371, + "line": 354, "column": 58 }, "end": { - "line": 371, + "line": 354, "column": 59 } }, @@ -21039,58 +20506,58 @@ }, { "type": "ExpressionStatement", - "start": 12923, - "end": 12971, + "start": 12407, + "end": 12455, "loc": { "start": { - "line": 372, + "line": 355, "column": 12 }, "end": { - "line": 372, + "line": 355, "column": 60 } }, "expression": { "type": "AssignmentExpression", - "start": 12923, - "end": 12970, + "start": 12407, + "end": 12454, "loc": { "start": { - "line": 372, + "line": 355, "column": 12 }, "end": { - "line": 372, + "line": 355, "column": 59 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 12923, - "end": 12949, + "start": 12407, + "end": 12433, "loc": { "start": { - "line": 372, + "line": 355, "column": 12 }, "end": { - "line": 372, + "line": 355, "column": 38 } }, "object": { "type": "Identifier", - "start": 12923, - "end": 12941, + "start": 12407, + "end": 12425, "loc": { "start": { - "line": 372, + "line": 355, "column": 12 }, "end": { - "line": 372, + "line": 355, "column": 30 }, "identifierName": "materialAttributes" @@ -21099,15 +20566,15 @@ }, "property": { "type": "Identifier", - "start": 12942, - "end": 12949, + "start": 12426, + "end": 12433, "loc": { "start": { - "line": 372, + "line": 355, "column": 31 }, "end": { - "line": 372, + "line": 355, "column": 38 }, "identifierName": "opacity" @@ -21118,29 +20585,29 @@ }, "right": { "type": "MemberExpression", - "start": 12952, - "end": 12970, + "start": 12436, + "end": 12454, "loc": { "start": { - "line": 372, + "line": 355, "column": 41 }, "end": { - "line": 372, + "line": 355, "column": 59 } }, "object": { "type": "Identifier", - "start": 12952, - "end": 12967, + "start": 12436, + "end": 12451, "loc": { "start": { - "line": 372, + "line": 355, "column": 41 }, "end": { - "line": 372, + "line": 355, "column": 56 }, "identifierName": "baseColorFactor" @@ -21149,15 +20616,15 @@ }, "property": { "type": "NumericLiteral", - "start": 12968, - "end": 12969, + "start": 12452, + "end": 12453, "loc": { "start": { - "line": 372, + "line": 355, "column": 57 }, "end": { - "line": 372, + "line": 355, "column": 58 } }, @@ -21178,44 +20645,44 @@ }, { "type": "VariableDeclaration", - "start": 12990, - "end": 13040, + "start": 12474, + "end": 12524, "loc": { "start": { - "line": 374, + "line": 357, "column": 8 }, "end": { - "line": 374, + "line": 357, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 12996, - "end": 13039, + "start": 12480, + "end": 12523, "loc": { "start": { - "line": 374, + "line": 357, "column": 14 }, "end": { - "line": 374, + "line": 357, "column": 57 } }, "id": { "type": "Identifier", - "start": 12996, - "end": 13010, + "start": 12480, + "end": 12494, "loc": { "start": { - "line": 374, + "line": 357, "column": 14 }, "end": { - "line": 374, + "line": 357, "column": 28 }, "identifierName": "metallicFactor" @@ -21224,29 +20691,29 @@ }, "init": { "type": "MemberExpression", - "start": 13013, - "end": 13039, + "start": 12497, + "end": 12523, "loc": { "start": { - "line": 374, + "line": 357, "column": 31 }, "end": { - "line": 374, + "line": 357, "column": 57 } }, "object": { "type": "Identifier", - "start": 13013, - "end": 13024, + "start": 12497, + "end": 12508, "loc": { "start": { - "line": 374, + "line": 357, "column": 31 }, "end": { - "line": 374, + "line": 357, "column": 42 }, "identifierName": "metallicPBR" @@ -21255,15 +20722,15 @@ }, "property": { "type": "Identifier", - "start": 13025, - "end": 13039, + "start": 12509, + "end": 12523, "loc": { "start": { - "line": 374, + "line": 357, "column": 43 }, "end": { - "line": 374, + "line": 357, "column": 57 }, "identifierName": "metallicFactor" @@ -21278,57 +20745,57 @@ }, { "type": "IfStatement", - "start": 13049, - "end": 13179, + "start": 12533, + "end": 12663, "loc": { "start": { - "line": 375, + "line": 358, "column": 8 }, "end": { - "line": 377, + "line": 360, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 13053, - "end": 13108, + "start": 12537, + "end": 12592, "loc": { "start": { - "line": 375, + "line": 358, "column": 12 }, "end": { - "line": 375, + "line": 358, "column": 67 } }, "left": { "type": "BinaryExpression", - "start": 13053, - "end": 13076, + "start": 12537, + "end": 12560, "loc": { "start": { - "line": 375, + "line": 358, "column": 12 }, "end": { - "line": 375, + "line": 358, "column": 35 } }, "left": { "type": "Identifier", - "start": 13053, - "end": 13067, + "start": 12537, + "end": 12551, "loc": { "start": { - "line": 375, + "line": 358, "column": 12 }, "end": { - "line": 375, + "line": 358, "column": 26 }, "identifierName": "metallicFactor" @@ -21338,15 +20805,15 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 13072, - "end": 13076, + "start": 12556, + "end": 12560, "loc": { "start": { - "line": 375, + "line": 358, "column": 31 }, "end": { - "line": 375, + "line": 358, "column": 35 } } @@ -21355,29 +20822,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 13080, - "end": 13108, + "start": 12564, + "end": 12592, "loc": { "start": { - "line": 375, + "line": 358, "column": 39 }, "end": { - "line": 375, + "line": 358, "column": 67 } }, "left": { "type": "Identifier", - "start": 13080, - "end": 13094, + "start": 12564, + "end": 12578, "loc": { "start": { - "line": 375, + "line": 358, "column": 39 }, "end": { - "line": 375, + "line": 358, "column": 53 }, "identifierName": "metallicFactor" @@ -21387,15 +20854,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 13099, - "end": 13108, + "start": 12583, + "end": 12592, "loc": { "start": { - "line": 375, + "line": 358, "column": 58 }, "end": { - "line": 375, + "line": 358, "column": 67 }, "identifierName": "undefined" @@ -21406,73 +20873,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 13110, - "end": 13179, + "start": 12594, + "end": 12663, "loc": { "start": { - "line": 375, + "line": 358, "column": 69 }, "end": { - "line": 377, + "line": 360, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13124, - "end": 13169, + "start": 12608, + "end": 12653, "loc": { "start": { - "line": 376, + "line": 359, "column": 12 }, "end": { - "line": 376, + "line": 359, "column": 57 } }, "expression": { "type": "AssignmentExpression", - "start": 13124, - "end": 13168, + "start": 12608, + "end": 12652, "loc": { "start": { - "line": 376, + "line": 359, "column": 12 }, "end": { - "line": 376, + "line": 359, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 13124, - "end": 13151, + "start": 12608, + "end": 12635, "loc": { "start": { - "line": 376, + "line": 359, "column": 12 }, "end": { - "line": 376, + "line": 359, "column": 39 } }, "object": { "type": "Identifier", - "start": 13124, - "end": 13142, + "start": 12608, + "end": 12626, "loc": { "start": { - "line": 376, + "line": 359, "column": 12 }, "end": { - "line": 376, + "line": 359, "column": 30 }, "identifierName": "materialAttributes" @@ -21481,15 +20948,15 @@ }, "property": { "type": "Identifier", - "start": 13143, - "end": 13151, + "start": 12627, + "end": 12635, "loc": { "start": { - "line": 376, + "line": 359, "column": 31 }, "end": { - "line": 376, + "line": 359, "column": 39 }, "identifierName": "metallic" @@ -21500,15 +20967,15 @@ }, "right": { "type": "Identifier", - "start": 13154, - "end": 13168, + "start": 12638, + "end": 12652, "loc": { "start": { - "line": 376, + "line": 359, "column": 42 }, "end": { - "line": 376, + "line": 359, "column": 56 }, "identifierName": "metallicFactor" @@ -21524,44 +20991,44 @@ }, { "type": "VariableDeclaration", - "start": 13188, - "end": 13240, + "start": 12672, + "end": 12724, "loc": { "start": { - "line": 378, + "line": 361, "column": 8 }, "end": { - "line": 378, + "line": 361, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13194, - "end": 13239, + "start": 12678, + "end": 12723, "loc": { "start": { - "line": 378, + "line": 361, "column": 14 }, "end": { - "line": 378, + "line": 361, "column": 59 } }, "id": { "type": "Identifier", - "start": 13194, - "end": 13209, + "start": 12678, + "end": 12693, "loc": { "start": { - "line": 378, + "line": 361, "column": 14 }, "end": { - "line": 378, + "line": 361, "column": 29 }, "identifierName": "roughnessFactor" @@ -21570,29 +21037,29 @@ }, "init": { "type": "MemberExpression", - "start": 13212, - "end": 13239, + "start": 12696, + "end": 12723, "loc": { "start": { - "line": 378, + "line": 361, "column": 32 }, "end": { - "line": 378, + "line": 361, "column": 59 } }, "object": { "type": "Identifier", - "start": 13212, - "end": 13223, + "start": 12696, + "end": 12707, "loc": { "start": { - "line": 378, + "line": 361, "column": 32 }, "end": { - "line": 378, + "line": 361, "column": 43 }, "identifierName": "metallicPBR" @@ -21601,15 +21068,15 @@ }, "property": { "type": "Identifier", - "start": 13224, - "end": 13239, + "start": 12708, + "end": 12723, "loc": { "start": { - "line": 378, + "line": 361, "column": 44 }, "end": { - "line": 378, + "line": 361, "column": 59 }, "identifierName": "roughnessFactor" @@ -21624,57 +21091,57 @@ }, { "type": "IfStatement", - "start": 13249, - "end": 13383, + "start": 12733, + "end": 12867, "loc": { "start": { - "line": 379, + "line": 362, "column": 8 }, "end": { - "line": 381, + "line": 364, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 13253, - "end": 13310, + "start": 12737, + "end": 12794, "loc": { "start": { - "line": 379, + "line": 362, "column": 12 }, "end": { - "line": 379, + "line": 362, "column": 69 } }, "left": { "type": "BinaryExpression", - "start": 13253, - "end": 13277, + "start": 12737, + "end": 12761, "loc": { "start": { - "line": 379, + "line": 362, "column": 12 }, "end": { - "line": 379, + "line": 362, "column": 36 } }, "left": { "type": "Identifier", - "start": 13253, - "end": 13268, + "start": 12737, + "end": 12752, "loc": { "start": { - "line": 379, + "line": 362, "column": 12 }, "end": { - "line": 379, + "line": 362, "column": 27 }, "identifierName": "roughnessFactor" @@ -21684,15 +21151,15 @@ "operator": "!==", "right": { "type": "NullLiteral", - "start": 13273, - "end": 13277, + "start": 12757, + "end": 12761, "loc": { "start": { - "line": 379, + "line": 362, "column": 32 }, "end": { - "line": 379, + "line": 362, "column": 36 } } @@ -21701,29 +21168,29 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 13281, - "end": 13310, + "start": 12765, + "end": 12794, "loc": { "start": { - "line": 379, + "line": 362, "column": 40 }, "end": { - "line": 379, + "line": 362, "column": 69 } }, "left": { "type": "Identifier", - "start": 13281, - "end": 13296, + "start": 12765, + "end": 12780, "loc": { "start": { - "line": 379, + "line": 362, "column": 40 }, "end": { - "line": 379, + "line": 362, "column": 55 }, "identifierName": "roughnessFactor" @@ -21733,15 +21200,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 13301, - "end": 13310, + "start": 12785, + "end": 12794, "loc": { "start": { - "line": 379, + "line": 362, "column": 60 }, "end": { - "line": 379, + "line": 362, "column": 69 }, "identifierName": "undefined" @@ -21752,73 +21219,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 13312, - "end": 13383, + "start": 12796, + "end": 12867, "loc": { "start": { - "line": 379, + "line": 362, "column": 71 }, "end": { - "line": 381, + "line": 364, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 13326, - "end": 13373, + "start": 12810, + "end": 12857, "loc": { "start": { - "line": 380, + "line": 363, "column": 12 }, "end": { - "line": 380, + "line": 363, "column": 59 } }, "expression": { "type": "AssignmentExpression", - "start": 13326, - "end": 13372, + "start": 12810, + "end": 12856, "loc": { "start": { - "line": 380, + "line": 363, "column": 12 }, "end": { - "line": 380, + "line": 363, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 13326, - "end": 13354, + "start": 12810, + "end": 12838, "loc": { "start": { - "line": 380, + "line": 363, "column": 12 }, "end": { - "line": 380, + "line": 363, "column": 40 } }, "object": { "type": "Identifier", - "start": 13326, - "end": 13344, + "start": 12810, + "end": 12828, "loc": { "start": { - "line": 380, + "line": 363, "column": 12 }, "end": { - "line": 380, + "line": 363, "column": 30 }, "identifierName": "materialAttributes" @@ -21827,15 +21294,15 @@ }, "property": { "type": "Identifier", - "start": 13345, - "end": 13354, + "start": 12829, + "end": 12838, "loc": { "start": { - "line": 380, + "line": 363, "column": 31 }, "end": { - "line": 380, + "line": 363, "column": 40 }, "identifierName": "roughness" @@ -21846,15 +21313,15 @@ }, "right": { "type": "Identifier", - "start": 13357, - "end": 13372, + "start": 12841, + "end": 12856, "loc": { "start": { - "line": 380, + "line": 363, "column": 43 }, "end": { - "line": 380, + "line": 363, "column": 58 }, "identifierName": "roughnessFactor" @@ -21875,29 +21342,29 @@ }, { "type": "ReturnStatement", - "start": 13394, - "end": 13420, + "start": 12878, + "end": 12904, "loc": { "start": { - "line": 383, + "line": 366, "column": 4 }, "end": { - "line": 383, + "line": 366, "column": 30 } }, "argument": { "type": "Identifier", - "start": 13401, - "end": 13419, + "start": 12885, + "end": 12903, "loc": { "start": { - "line": 383, + "line": 366, "column": 11 }, "end": { - "line": 383, + "line": 366, "column": 29 }, "identifierName": "materialAttributes" @@ -21911,29 +21378,29 @@ }, { "type": "FunctionDeclaration", - "start": 13424, - "end": 13666, + "start": 12908, + "end": 13150, "loc": { "start": { - "line": 386, + "line": 369, "column": 0 }, "end": { - "line": 394, + "line": 377, "column": 1 } }, "id": { "type": "Identifier", - "start": 13433, - "end": 13450, + "start": 12917, + "end": 12934, "loc": { "start": { - "line": 386, + "line": 369, "column": 9 }, "end": { - "line": 386, + "line": 369, "column": 26 }, "identifierName": "parseDefaultScene" @@ -21946,15 +21413,15 @@ "params": [ { "type": "Identifier", - "start": 13451, - "end": 13454, + "start": 12935, + "end": 12938, "loc": { "start": { - "line": 386, + "line": 369, "column": 27 }, "end": { - "line": 386, + "line": 369, "column": 30 }, "identifierName": "ctx" @@ -21964,59 +21431,59 @@ ], "body": { "type": "BlockStatement", - "start": 13456, - "end": 13666, + "start": 12940, + "end": 13150, "loc": { "start": { - "line": 386, + "line": 369, "column": 32 }, "end": { - "line": 394, + "line": 377, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 13462, - "end": 13492, + "start": 12946, + "end": 12976, "loc": { "start": { - "line": 387, + "line": 370, "column": 4 }, "end": { - "line": 387, + "line": 370, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13468, - "end": 13491, + "start": 12952, + "end": 12975, "loc": { "start": { - "line": 387, + "line": 370, "column": 10 }, "end": { - "line": 387, + "line": 370, "column": 33 } }, "id": { "type": "Identifier", - "start": 13468, - "end": 13476, + "start": 12952, + "end": 12960, "loc": { "start": { - "line": 387, + "line": 370, "column": 10 }, "end": { - "line": 387, + "line": 370, "column": 18 }, "identifierName": "gltfData" @@ -22025,29 +21492,29 @@ }, "init": { "type": "MemberExpression", - "start": 13479, - "end": 13491, + "start": 12963, + "end": 12975, "loc": { "start": { - "line": 387, + "line": 370, "column": 21 }, "end": { - "line": 387, + "line": 370, "column": 33 } }, "object": { "type": "Identifier", - "start": 13479, - "end": 13482, + "start": 12963, + "end": 12966, "loc": { "start": { - "line": 387, + "line": 370, "column": 21 }, "end": { - "line": 387, + "line": 370, "column": 24 }, "identifierName": "ctx" @@ -22056,15 +21523,15 @@ }, "property": { "type": "Identifier", - "start": 13483, - "end": 13491, + "start": 12967, + "end": 12975, "loc": { "start": { - "line": 387, + "line": 370, "column": 25 }, "end": { - "line": 387, + "line": 370, "column": 33 }, "identifierName": "gltfData" @@ -22079,44 +21546,44 @@ }, { "type": "VariableDeclaration", - "start": 13497, - "end": 13548, + "start": 12981, + "end": 13032, "loc": { "start": { - "line": 388, + "line": 371, "column": 4 }, "end": { - "line": 388, + "line": 371, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13503, - "end": 13547, + "start": 12987, + "end": 13031, "loc": { "start": { - "line": 388, + "line": 371, "column": 10 }, "end": { - "line": 388, + "line": 371, "column": 54 } }, "id": { "type": "Identifier", - "start": 13503, - "end": 13508, + "start": 12987, + "end": 12992, "loc": { "start": { - "line": 388, + "line": 371, "column": 10 }, "end": { - "line": 388, + "line": 371, "column": 15 }, "identifierName": "scene" @@ -22125,43 +21592,43 @@ }, "init": { "type": "LogicalExpression", - "start": 13511, - "end": 13547, + "start": 12995, + "end": 13031, "loc": { "start": { - "line": 388, + "line": 371, "column": 18 }, "end": { - "line": 388, + "line": 371, "column": 54 } }, "left": { "type": "MemberExpression", - "start": 13511, - "end": 13525, + "start": 12995, + "end": 13009, "loc": { "start": { - "line": 388, + "line": 371, "column": 18 }, "end": { - "line": 388, + "line": 371, "column": 32 } }, "object": { "type": "Identifier", - "start": 13511, - "end": 13519, + "start": 12995, + "end": 13003, "loc": { "start": { - "line": 388, + "line": 371, "column": 18 }, "end": { - "line": 388, + "line": 371, "column": 26 }, "identifierName": "gltfData" @@ -22170,15 +21637,15 @@ }, "property": { "type": "Identifier", - "start": 13520, - "end": 13525, + "start": 13004, + "end": 13009, "loc": { "start": { - "line": 388, + "line": 371, "column": 27 }, "end": { - "line": 388, + "line": 371, "column": 32 }, "identifierName": "scene" @@ -22190,43 +21657,43 @@ "operator": "||", "right": { "type": "MemberExpression", - "start": 13529, - "end": 13547, + "start": 13013, + "end": 13031, "loc": { "start": { - "line": 388, + "line": 371, "column": 36 }, "end": { - "line": 388, + "line": 371, "column": 54 } }, "object": { "type": "MemberExpression", - "start": 13529, - "end": 13544, + "start": 13013, + "end": 13028, "loc": { "start": { - "line": 388, + "line": 371, "column": 36 }, "end": { - "line": 388, + "line": 371, "column": 51 } }, "object": { "type": "Identifier", - "start": 13529, - "end": 13537, + "start": 13013, + "end": 13021, "loc": { "start": { - "line": 388, + "line": 371, "column": 36 }, "end": { - "line": 388, + "line": 371, "column": 44 }, "identifierName": "gltfData" @@ -22235,15 +21702,15 @@ }, "property": { "type": "Identifier", - "start": 13538, - "end": 13544, + "start": 13022, + "end": 13028, "loc": { "start": { - "line": 388, + "line": 371, "column": 45 }, "end": { - "line": 388, + "line": 371, "column": 51 }, "identifierName": "scenes" @@ -22254,15 +21721,15 @@ }, "property": { "type": "NumericLiteral", - "start": 13545, - "end": 13546, + "start": 13029, + "end": 13030, "loc": { "start": { - "line": 388, + "line": 371, "column": 52 }, "end": { - "line": 388, + "line": 371, "column": 53 } }, @@ -22281,29 +21748,29 @@ }, { "type": "IfStatement", - "start": 13553, - "end": 13636, + "start": 13037, + "end": 13120, "loc": { "start": { - "line": 389, + "line": 372, "column": 4 }, "end": { - "line": 392, + "line": 375, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 13557, - "end": 13563, + "start": 13041, + "end": 13047, "loc": { "start": { - "line": 389, + "line": 372, "column": 8 }, "end": { - "line": 389, + "line": 372, "column": 14 } }, @@ -22311,15 +21778,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13558, - "end": 13563, + "start": 13042, + "end": 13047, "loc": { "start": { - "line": 389, + "line": 372, "column": 9 }, "end": { - "line": 389, + "line": 372, "column": 14 }, "identifierName": "scene" @@ -22332,72 +21799,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 13565, - "end": 13636, + "start": 13049, + "end": 13120, "loc": { "start": { - "line": 389, + "line": 372, "column": 16 }, "end": { - "line": 392, + "line": 375, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 13575, - "end": 13614, + "start": 13059, + "end": 13098, "loc": { "start": { - "line": 390, + "line": 373, "column": 8 }, "end": { - "line": 390, + "line": 373, "column": 47 } }, "expression": { "type": "CallExpression", - "start": 13575, - "end": 13613, + "start": 13059, + "end": 13097, "loc": { "start": { - "line": 390, + "line": 373, "column": 8 }, "end": { - "line": 390, + "line": 373, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 13575, - "end": 13584, + "start": 13059, + "end": 13068, "loc": { "start": { - "line": 390, + "line": 373, "column": 8 }, "end": { - "line": 390, + "line": 373, "column": 17 } }, "object": { "type": "Identifier", - "start": 13575, - "end": 13578, + "start": 13059, + "end": 13062, "loc": { "start": { - "line": 390, + "line": 373, "column": 8 }, "end": { - "line": 390, + "line": 373, "column": 11 }, "identifierName": "ctx" @@ -22406,15 +21873,15 @@ }, "property": { "type": "Identifier", - "start": 13579, - "end": 13584, + "start": 13063, + "end": 13068, "loc": { "start": { - "line": 390, + "line": 373, "column": 12 }, "end": { - "line": 390, + "line": 373, "column": 17 }, "identifierName": "error" @@ -22426,15 +21893,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 13585, - "end": 13612, + "start": 13069, + "end": 13096, "loc": { "start": { - "line": 390, + "line": 373, "column": 18 }, "end": { - "line": 390, + "line": 373, "column": 45 } }, @@ -22449,15 +21916,15 @@ }, { "type": "ReturnStatement", - "start": 13623, - "end": 13630, + "start": 13107, + "end": 13114, "loc": { "start": { - "line": 391, + "line": 374, "column": 8 }, "end": { - "line": 391, + "line": 374, "column": 15 } }, @@ -22470,43 +21937,43 @@ }, { "type": "ExpressionStatement", - "start": 13641, - "end": 13664, + "start": 13125, + "end": 13148, "loc": { "start": { - "line": 393, + "line": 376, "column": 4 }, "end": { - "line": 393, + "line": 376, "column": 27 } }, "expression": { "type": "CallExpression", - "start": 13641, - "end": 13663, + "start": 13125, + "end": 13147, "loc": { "start": { - "line": 393, + "line": 376, "column": 4 }, "end": { - "line": 393, + "line": 376, "column": 26 } }, "callee": { "type": "Identifier", - "start": 13641, - "end": 13651, + "start": 13125, + "end": 13135, "loc": { "start": { - "line": 393, + "line": 376, "column": 4 }, "end": { - "line": 393, + "line": 376, "column": 14 }, "identifierName": "parseScene" @@ -22516,15 +21983,15 @@ "arguments": [ { "type": "Identifier", - "start": 13652, - "end": 13655, + "start": 13136, + "end": 13139, "loc": { "start": { - "line": 393, + "line": 376, "column": 15 }, "end": { - "line": 393, + "line": 376, "column": 18 }, "identifierName": "ctx" @@ -22533,15 +22000,15 @@ }, { "type": "Identifier", - "start": 13657, - "end": 13662, + "start": 13141, + "end": 13146, "loc": { "start": { - "line": 393, + "line": 376, "column": 20 }, "end": { - "line": 393, + "line": 376, "column": 25 }, "identifierName": "scene" @@ -22557,29 +22024,29 @@ }, { "type": "FunctionDeclaration", - "start": 13668, - "end": 14034, + "start": 13152, + "end": 14082, "loc": { "start": { - "line": 396, + "line": 379, "column": 0 }, "end": { - "line": 409, + "line": 406, "column": 1 } }, "id": { "type": "Identifier", - "start": 13677, - "end": 13687, + "start": 13161, + "end": 13171, "loc": { "start": { - "line": 396, + "line": 379, "column": 9 }, "end": { - "line": 396, + "line": 379, "column": 19 }, "identifierName": "parseScene" @@ -22592,15 +22059,15 @@ "params": [ { "type": "Identifier", - "start": 13688, - "end": 13691, + "start": 13172, + "end": 13175, "loc": { "start": { - "line": 396, + "line": 379, "column": 20 }, "end": { - "line": 396, + "line": 379, "column": 23 }, "identifierName": "ctx" @@ -22609,15 +22076,15 @@ }, { "type": "Identifier", - "start": 13693, - "end": 13698, + "start": 13177, + "end": 13182, "loc": { "start": { - "line": 396, + "line": 379, "column": 25 }, "end": { - "line": 396, + "line": 379, "column": 30 }, "identifierName": "scene" @@ -22627,59 +22094,59 @@ ], "body": { "type": "BlockStatement", - "start": 13700, - "end": 14034, + "start": 13184, + "end": 14082, "loc": { "start": { - "line": 396, + "line": 379, "column": 32 }, "end": { - "line": 409, + "line": 406, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 13706, - "end": 13732, + "start": 13190, + "end": 13216, "loc": { "start": { - "line": 397, + "line": 380, "column": 4 }, "end": { - "line": 397, + "line": 380, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13712, - "end": 13731, + "start": 13196, + "end": 13215, "loc": { "start": { - "line": 397, + "line": 380, "column": 10 }, "end": { - "line": 397, + "line": 380, "column": 29 } }, "id": { "type": "Identifier", - "start": 13712, - "end": 13717, + "start": 13196, + "end": 13201, "loc": { "start": { - "line": 397, + "line": 380, "column": 10 }, "end": { - "line": 397, + "line": 380, "column": 15 }, "identifierName": "nodes" @@ -22688,29 +22155,29 @@ }, "init": { "type": "MemberExpression", - "start": 13720, - "end": 13731, + "start": 13204, + "end": 13215, "loc": { "start": { - "line": 397, + "line": 380, "column": 18 }, "end": { - "line": 397, + "line": 380, "column": 29 } }, "object": { "type": "Identifier", - "start": 13720, - "end": 13725, + "start": 13204, + "end": 13209, "loc": { "start": { - "line": 397, + "line": 380, "column": 18 }, "end": { - "line": 397, + "line": 380, "column": 23 }, "identifierName": "scene" @@ -22719,15 +22186,15 @@ }, "property": { "type": "Identifier", - "start": 13726, - "end": 13731, + "start": 13210, + "end": 13215, "loc": { "start": { - "line": 397, + "line": 380, "column": 24 }, "end": { - "line": 397, + "line": 380, "column": 29 }, "identifierName": "nodes" @@ -22742,29 +22209,29 @@ }, { "type": "IfStatement", - "start": 13737, - "end": 13772, + "start": 13221, + "end": 13256, "loc": { "start": { - "line": 398, + "line": 381, "column": 4 }, "end": { - "line": 400, + "line": 383, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 13741, - "end": 13747, + "start": 13225, + "end": 13231, "loc": { "start": { - "line": 398, + "line": 381, "column": 8 }, "end": { - "line": 398, + "line": 381, "column": 14 } }, @@ -22772,15 +22239,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 13742, - "end": 13747, + "start": 13226, + "end": 13231, "loc": { "start": { - "line": 398, + "line": 381, "column": 9 }, "end": { - "line": 398, + "line": 381, "column": 14 }, "identifierName": "nodes" @@ -22793,30 +22260,30 @@ }, "consequent": { "type": "BlockStatement", - "start": 13749, - "end": 13772, + "start": 13233, + "end": 13256, "loc": { "start": { - "line": 398, + "line": 381, "column": 16 }, "end": { - "line": 400, + "line": 383, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 13759, - "end": 13766, + "start": 13243, + "end": 13250, "loc": { "start": { - "line": 399, + "line": 382, "column": 8 }, "end": { - "line": 399, + "line": 382, "column": 15 } }, @@ -22829,58 +22296,58 @@ }, { "type": "ForStatement", - "start": 13777, - "end": 13900, + "start": 13261, + "end": 13384, "loc": { "start": { - "line": 401, + "line": 384, "column": 4 }, "end": { - "line": 404, + "line": 387, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 13782, - "end": 13811, + "start": 13266, + "end": 13295, "loc": { "start": { - "line": 401, + "line": 384, "column": 9 }, "end": { - "line": 401, + "line": 384, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13786, - "end": 13791, + "start": 13270, + "end": 13275, "loc": { "start": { - "line": 401, + "line": 384, "column": 13 }, "end": { - "line": 401, + "line": 384, "column": 18 } }, "id": { "type": "Identifier", - "start": 13786, - "end": 13787, + "start": 13270, + "end": 13271, "loc": { "start": { - "line": 401, + "line": 384, "column": 13 }, "end": { - "line": 401, + "line": 384, "column": 14 }, "identifierName": "i" @@ -22889,15 +22356,15 @@ }, "init": { "type": "NumericLiteral", - "start": 13790, - "end": 13791, + "start": 13274, + "end": 13275, "loc": { "start": { - "line": 401, + "line": 384, "column": 17 }, "end": { - "line": 401, + "line": 384, "column": 18 } }, @@ -22910,29 +22377,29 @@ }, { "type": "VariableDeclarator", - "start": 13793, - "end": 13811, + "start": 13277, + "end": 13295, "loc": { "start": { - "line": 401, + "line": 384, "column": 20 }, "end": { - "line": 401, + "line": 384, "column": 38 } }, "id": { "type": "Identifier", - "start": 13793, - "end": 13796, + "start": 13277, + "end": 13280, "loc": { "start": { - "line": 401, + "line": 384, "column": 20 }, "end": { - "line": 401, + "line": 384, "column": 23 }, "identifierName": "len" @@ -22941,29 +22408,29 @@ }, "init": { "type": "MemberExpression", - "start": 13799, - "end": 13811, + "start": 13283, + "end": 13295, "loc": { "start": { - "line": 401, + "line": 384, "column": 26 }, "end": { - "line": 401, + "line": 384, "column": 38 } }, "object": { "type": "Identifier", - "start": 13799, - "end": 13804, + "start": 13283, + "end": 13288, "loc": { "start": { - "line": 401, + "line": 384, "column": 26 }, "end": { - "line": 401, + "line": 384, "column": 31 }, "identifierName": "nodes" @@ -22972,15 +22439,15 @@ }, "property": { "type": "Identifier", - "start": 13805, - "end": 13811, + "start": 13289, + "end": 13295, "loc": { "start": { - "line": 401, + "line": 384, "column": 32 }, "end": { - "line": 401, + "line": 384, "column": 38 }, "identifierName": "length" @@ -22995,29 +22462,29 @@ }, "test": { "type": "BinaryExpression", - "start": 13813, - "end": 13820, + "start": 13297, + "end": 13304, "loc": { "start": { - "line": 401, + "line": 384, "column": 40 }, "end": { - "line": 401, + "line": 384, "column": 47 } }, "left": { "type": "Identifier", - "start": 13813, - "end": 13814, + "start": 13297, + "end": 13298, "loc": { "start": { - "line": 401, + "line": 384, "column": 40 }, "end": { - "line": 401, + "line": 384, "column": 41 }, "identifierName": "i" @@ -23027,15 +22494,15 @@ "operator": "<", "right": { "type": "Identifier", - "start": 13817, - "end": 13820, + "start": 13301, + "end": 13304, "loc": { "start": { - "line": 401, + "line": 384, "column": 44 }, "end": { - "line": 401, + "line": 384, "column": 47 }, "identifierName": "len" @@ -23045,15 +22512,15 @@ }, "update": { "type": "UpdateExpression", - "start": 13822, - "end": 13825, + "start": 13306, + "end": 13309, "loc": { "start": { - "line": 401, + "line": 384, "column": 49 }, "end": { - "line": 401, + "line": 384, "column": 52 } }, @@ -23061,15 +22528,15 @@ "prefix": false, "argument": { "type": "Identifier", - "start": 13822, - "end": 13823, + "start": 13306, + "end": 13307, "loc": { "start": { - "line": 401, + "line": 384, "column": 49 }, "end": { - "line": 401, + "line": 384, "column": 50 }, "identifierName": "i" @@ -23079,59 +22546,59 @@ }, "body": { "type": "BlockStatement", - "start": 13827, - "end": 13900, + "start": 13311, + "end": 13384, "loc": { "start": { - "line": 401, + "line": 384, "column": 54 }, "end": { - "line": 404, + "line": 387, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 13837, - "end": 13859, + "start": 13321, + "end": 13343, "loc": { "start": { - "line": 402, + "line": 385, "column": 8 }, "end": { - "line": 402, + "line": 385, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13843, - "end": 13858, + "start": 13327, + "end": 13342, "loc": { "start": { - "line": 402, + "line": 385, "column": 14 }, "end": { - "line": 402, + "line": 385, "column": 29 } }, "id": { "type": "Identifier", - "start": 13843, - "end": 13847, + "start": 13327, + "end": 13331, "loc": { "start": { - "line": 402, + "line": 385, "column": 14 }, "end": { - "line": 402, + "line": 385, "column": 18 }, "identifierName": "node" @@ -23140,29 +22607,29 @@ }, "init": { "type": "MemberExpression", - "start": 13850, - "end": 13858, + "start": 13334, + "end": 13342, "loc": { "start": { - "line": 402, + "line": 385, "column": 21 }, "end": { - "line": 402, + "line": 385, "column": 29 } }, "object": { "type": "Identifier", - "start": 13850, - "end": 13855, + "start": 13334, + "end": 13339, "loc": { "start": { - "line": 402, + "line": 385, "column": 21 }, "end": { - "line": 402, + "line": 385, "column": 26 }, "identifierName": "nodes" @@ -23171,15 +22638,15 @@ }, "property": { "type": "Identifier", - "start": 13856, - "end": 13857, + "start": 13340, + "end": 13341, "loc": { "start": { - "line": 402, + "line": 385, "column": 27 }, "end": { - "line": 402, + "line": 385, "column": 28 }, "identifierName": "i" @@ -23194,43 +22661,43 @@ }, { "type": "ExpressionStatement", - "start": 13868, - "end": 13894, + "start": 13352, + "end": 13378, "loc": { "start": { - "line": 403, + "line": 386, "column": 8 }, "end": { - "line": 403, + "line": 386, "column": 34 } }, "expression": { "type": "CallExpression", - "start": 13868, - "end": 13893, + "start": 13352, + "end": 13377, "loc": { "start": { - "line": 403, + "line": 386, "column": 8 }, "end": { - "line": 403, + "line": 386, "column": 33 } }, "callee": { "type": "Identifier", - "start": 13868, - "end": 13882, + "start": 13352, + "end": 13366, "loc": { "start": { - "line": 403, + "line": 386, "column": 8 }, "end": { - "line": 403, + "line": 386, "column": 22 }, "identifierName": "countMeshUsage" @@ -23240,15 +22707,15 @@ "arguments": [ { "type": "Identifier", - "start": 13883, - "end": 13886, + "start": 13367, + "end": 13370, "loc": { "start": { - "line": 403, + "line": 386, "column": 23 }, "end": { - "line": 403, + "line": 386, "column": 26 }, "identifierName": "ctx" @@ -23257,15 +22724,15 @@ }, { "type": "Identifier", - "start": 13888, - "end": 13892, + "start": 13372, + "end": 13376, "loc": { "start": { - "line": 403, + "line": 386, "column": 28 }, "end": { - "line": 403, + "line": 386, "column": 32 }, "identifierName": "node" @@ -23281,58 +22748,58 @@ }, { "type": "ForStatement", - "start": 13905, - "end": 14032, + "start": 13389, + "end": 13591, "loc": { "start": { - "line": 405, + "line": 388, "column": 4 }, "end": { - "line": 408, + "line": 393, "column": 5 } }, "init": { "type": "VariableDeclaration", - "start": 13910, - "end": 13939, + "start": 13394, + "end": 13423, "loc": { "start": { - "line": 405, + "line": 388, "column": 9 }, "end": { - "line": 405, + "line": 388, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13914, - "end": 13919, + "start": 13398, + "end": 13403, "loc": { "start": { - "line": 405, + "line": 388, "column": 13 }, "end": { - "line": 405, + "line": 388, "column": 18 } }, "id": { "type": "Identifier", - "start": 13914, - "end": 13915, + "start": 13398, + "end": 13399, "loc": { "start": { - "line": 405, + "line": 388, "column": 13 }, "end": { - "line": 405, + "line": 388, "column": 14 }, "identifierName": "i" @@ -23341,15 +22808,15 @@ }, "init": { "type": "NumericLiteral", - "start": 13918, - "end": 13919, + "start": 13402, + "end": 13403, "loc": { "start": { - "line": 405, + "line": 388, "column": 17 }, "end": { - "line": 405, + "line": 388, "column": 18 } }, @@ -23362,29 +22829,29 @@ }, { "type": "VariableDeclarator", - "start": 13921, - "end": 13939, + "start": 13405, + "end": 13423, "loc": { "start": { - "line": 405, + "line": 388, "column": 20 }, "end": { - "line": 405, + "line": 388, "column": 38 } }, "id": { "type": "Identifier", - "start": 13921, - "end": 13924, + "start": 13405, + "end": 13408, "loc": { "start": { - "line": 405, + "line": 388, "column": 20 }, "end": { - "line": 405, + "line": 388, "column": 23 }, "identifierName": "len" @@ -23393,29 +22860,29 @@ }, "init": { "type": "MemberExpression", - "start": 13927, - "end": 13939, + "start": 13411, + "end": 13423, "loc": { "start": { - "line": 405, + "line": 388, "column": 26 }, "end": { - "line": 405, + "line": 388, "column": 38 } }, "object": { "type": "Identifier", - "start": 13927, - "end": 13932, + "start": 13411, + "end": 13416, "loc": { "start": { - "line": 405, + "line": 388, "column": 26 }, "end": { - "line": 405, + "line": 388, "column": 31 }, "identifierName": "nodes" @@ -23424,15 +22891,15 @@ }, "property": { "type": "Identifier", - "start": 13933, - "end": 13939, + "start": 13417, + "end": 13423, "loc": { "start": { - "line": 405, + "line": 388, "column": 32 }, "end": { - "line": 405, + "line": 388, "column": 38 }, "identifierName": "length" @@ -23446,83 +22913,169 @@ "kind": "let" }, "test": { - "type": "BinaryExpression", - "start": 13941, - "end": 13948, + "type": "LogicalExpression", + "start": 13425, + "end": 13455, "loc": { "start": { - "line": 405, + "line": 388, "column": 40 }, "end": { - "line": 405, - "column": 47 + "line": 388, + "column": 70 } }, "left": { - "type": "Identifier", - "start": 13941, - "end": 13942, + "type": "BinaryExpression", + "start": 13425, + "end": 13432, "loc": { "start": { - "line": 405, + "line": 388, "column": 40 }, "end": { - "line": 405, - "column": 41 + "line": 388, + "column": 47 + } + }, + "left": { + "type": "Identifier", + "start": 13425, + "end": 13426, + "loc": { + "start": { + "line": 388, + "column": 40 + }, + "end": { + "line": 388, + "column": 41 + }, + "identifierName": "i" }, - "identifierName": "i" + "name": "i" }, - "name": "i" + "operator": "<", + "right": { + "type": "Identifier", + "start": 13429, + "end": 13432, + "loc": { + "start": { + "line": 388, + "column": 44 + }, + "end": { + "line": 388, + "column": 47 + }, + "identifierName": "len" + }, + "name": "len" + } }, - "operator": "<", + "operator": "&&", "right": { - "type": "Identifier", - "start": 13945, - "end": 13948, + "type": "UnaryExpression", + "start": 13436, + "end": 13455, "loc": { "start": { - "line": 405, - "column": 44 + "line": 388, + "column": 51 }, "end": { - "line": 405, - "column": 47 + "line": 388, + "column": 70 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 13437, + "end": 13455, + "loc": { + "start": { + "line": 388, + "column": 52 + }, + "end": { + "line": 388, + "column": 70 + } }, - "identifierName": "len" + "object": { + "type": "Identifier", + "start": 13437, + "end": 13440, + "loc": { + "start": { + "line": 388, + "column": 52 + }, + "end": { + "line": 388, + "column": 55 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 13441, + "end": 13455, + "loc": { + "start": { + "line": 388, + "column": 56 + }, + "end": { + "line": 388, + "column": 70 + }, + "identifierName": "nodesHaveNames" + }, + "name": "nodesHaveNames" + }, + "computed": false }, - "name": "len" + "extra": { + "parenthesizedArgument": false + } } }, "update": { "type": "UpdateExpression", - "start": 13950, - "end": 13953, + "start": 13457, + "end": 13460, "loc": { "start": { - "line": 405, - "column": 49 + "line": 388, + "column": 72 }, "end": { - "line": 405, - "column": 52 + "line": 388, + "column": 75 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", - "start": 13950, - "end": 13951, + "start": 13457, + "end": 13458, "loc": { "start": { - "line": 405, - "column": 49 + "line": 388, + "column": 72 }, "end": { - "line": 405, - "column": 50 + "line": 388, + "column": 73 }, "identifierName": "i" }, @@ -23531,59 +23084,59 @@ }, "body": { "type": "BlockStatement", - "start": 13955, - "end": 14032, + "start": 13462, + "end": 13591, "loc": { "start": { - "line": 405, - "column": 54 + "line": 388, + "column": 77 }, "end": { - "line": 408, + "line": 393, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 13965, - "end": 13987, + "start": 13472, + "end": 13494, "loc": { "start": { - "line": 406, + "line": 389, "column": 8 }, "end": { - "line": 406, + "line": 389, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 13971, - "end": 13986, + "start": 13478, + "end": 13493, "loc": { "start": { - "line": 406, + "line": 389, "column": 14 }, "end": { - "line": 406, + "line": 389, "column": 29 } }, "id": { "type": "Identifier", - "start": 13971, - "end": 13975, + "start": 13478, + "end": 13482, "loc": { "start": { - "line": 406, + "line": 389, "column": 14 }, "end": { - "line": 406, + "line": 389, "column": 18 }, "identifierName": "node" @@ -23592,29 +23145,29 @@ }, "init": { "type": "MemberExpression", - "start": 13978, - "end": 13986, + "start": 13485, + "end": 13493, "loc": { "start": { - "line": 406, + "line": 389, "column": 21 }, "end": { - "line": 406, + "line": 389, "column": 29 } }, "object": { "type": "Identifier", - "start": 13978, - "end": 13983, + "start": 13485, + "end": 13490, "loc": { "start": { - "line": 406, + "line": 389, "column": 21 }, "end": { - "line": 406, + "line": 389, "column": 26 }, "identifierName": "nodes" @@ -23623,15 +23176,15 @@ }, "property": { "type": "Identifier", - "start": 13984, - "end": 13985, + "start": 13491, + "end": 13492, "loc": { "start": { - "line": 406, + "line": 389, "column": 27 }, "end": { - "line": 406, + "line": 389, "column": 28 }, "identifierName": "i" @@ -23645,852 +23198,464 @@ "kind": "const" }, { - "type": "ExpressionStatement", - "start": 13996, - "end": 14026, + "type": "IfStatement", + "start": 13503, + "end": 13585, "loc": { "start": { - "line": 407, + "line": 390, "column": 8 }, "end": { - "line": 407, - "column": 38 + "line": 392, + "column": 9 } }, - "expression": { + "test": { "type": "CallExpression", - "start": 13996, - "end": 14025, + "start": 13507, + "end": 13533, "loc": { "start": { - "line": 407, - "column": 8 + "line": 390, + "column": 12 }, "end": { - "line": 407, - "column": 37 + "line": 390, + "column": 38 } }, "callee": { "type": "Identifier", - "start": 13996, - "end": 14005, + "start": 13507, + "end": 13527, "loc": { "start": { - "line": 407, - "column": 8 + "line": 390, + "column": 12 }, "end": { - "line": 407, - "column": 17 + "line": 390, + "column": 32 }, - "identifierName": "parseNode" + "identifierName": "testIfNodesHaveNames" }, - "name": "parseNode" + "name": "testIfNodesHaveNames" }, "arguments": [ { "type": "Identifier", - "start": 14006, - "end": 14009, - "loc": { - "start": { - "line": 407, - "column": 18 - }, - "end": { - "line": 407, - "column": 21 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - { - "type": "Identifier", - "start": 14011, - "end": 14015, + "start": 13528, + "end": 13532, "loc": { "start": { - "line": 407, - "column": 23 + "line": 390, + "column": 33 }, "end": { - "line": 407, - "column": 27 + "line": 390, + "column": 37 }, "identifierName": "node" }, "name": "node" + } + ] + }, + "consequent": { + "type": "BlockStatement", + "start": 13535, + "end": 13585, + "loc": { + "start": { + "line": 390, + "column": 40 }, + "end": { + "line": 392, + "column": 9 + } + }, + "body": [ { - "type": "NumericLiteral", - "start": 14017, - "end": 14018, + "type": "ExpressionStatement", + "start": 13549, + "end": 13575, "loc": { "start": { - "line": 407, - "column": 29 + "line": 391, + "column": 12 }, "end": { - "line": 407, - "column": 30 + "line": 391, + "column": 38 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - { - "type": "NullLiteral", - "start": 14020, - "end": 14024, - "loc": { - "start": { - "line": 407, - "column": 32 + "expression": { + "type": "AssignmentExpression", + "start": 13549, + "end": 13574, + "loc": { + "start": { + "line": 391, + "column": 12 + }, + "end": { + "line": 391, + "column": 37 + } }, - "end": { - "line": 407, - "column": 36 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 13549, + "end": 13567, + "loc": { + "start": { + "line": 391, + "column": 12 + }, + "end": { + "line": 391, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 13549, + "end": 13552, + "loc": { + "start": { + "line": 391, + "column": 12 + }, + "end": { + "line": 391, + "column": 15 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 13553, + "end": 13567, + "loc": { + "start": { + "line": 391, + "column": 16 + }, + "end": { + "line": 391, + "column": 30 + }, + "identifierName": "nodesHaveNames" + }, + "name": "nodesHaveNames" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 13570, + "end": 13574, + "loc": { + "start": { + "line": 391, + "column": 33 + }, + "end": { + "line": 391, + "column": 37 + } + }, + "value": true } } } - ] - } + ], + "directives": [] + }, + "alternate": null } ], "directives": [] } - } - ], - "directives": [] - } - }, - { - "type": "FunctionDeclaration", - "start": 14036, - "end": 14542, - "loc": { - "start": { - "line": 411, - "column": 0 - }, - "end": { - "line": 427, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 14045, - "end": 14059, - "loc": { - "start": { - "line": 411, - "column": 9 - }, - "end": { - "line": 411, - "column": 23 - }, - "identifierName": "countMeshUsage" - }, - "name": "countMeshUsage" - }, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 14060, - "end": 14063, - "loc": { - "start": { - "line": 411, - "column": 24 - }, - "end": { - "line": 411, - "column": 27 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - { - "type": "Identifier", - "start": 14065, - "end": 14069, - "loc": { - "start": { - "line": 411, - "column": 29 - }, - "end": { - "line": 411, - "column": 33 - }, - "identifierName": "node" - }, - "name": "node" - } - ], - "body": { - "type": "BlockStatement", - "start": 14071, - "end": 14542, - "loc": { - "start": { - "line": 411, - "column": 35 }, - "end": { - "line": 427, - "column": 1 - } - }, - "body": [ { - "type": "VariableDeclaration", - "start": 14077, - "end": 14100, + "type": "IfStatement", + "start": 13596, + "end": 14080, "loc": { "start": { - "line": 412, + "line": 394, "column": 4 }, "end": { - "line": 412, - "column": 27 + "line": 405, + "column": 5 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14083, - "end": 14099, + "test": { + "type": "UnaryExpression", + "start": 13600, + "end": 13619, + "loc": { + "start": { + "line": 394, + "column": 8 + }, + "end": { + "line": 394, + "column": 27 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 13601, + "end": 13619, "loc": { "start": { - "line": 412, - "column": 10 + "line": 394, + "column": 9 }, "end": { - "line": 412, - "column": 26 + "line": 394, + "column": 27 } }, - "id": { + "object": { "type": "Identifier", - "start": 14083, - "end": 14087, + "start": 13601, + "end": 13604, "loc": { "start": { - "line": 412, - "column": 10 + "line": 394, + "column": 9 }, "end": { - "line": 412, - "column": 14 + "line": 394, + "column": 12 }, - "identifierName": "mesh" + "identifierName": "ctx" }, - "name": "mesh" + "name": "ctx" }, - "init": { - "type": "MemberExpression", - "start": 14090, - "end": 14099, + "property": { + "type": "Identifier", + "start": 13605, + "end": 13619, "loc": { "start": { - "line": 412, - "column": 17 + "line": 394, + "column": 13 }, "end": { - "line": 412, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 14090, - "end": 14094, - "loc": { - "start": { - "line": 412, - "column": 17 - }, - "end": { - "line": 412, - "column": 21 - }, - "identifierName": "node" - }, - "name": "node" - }, - "property": { - "type": "Identifier", - "start": 14095, - "end": 14099, - "loc": { - "start": { - "line": 412, - "column": 22 - }, - "end": { - "line": 412, - "column": 26 - }, - "identifierName": "mesh" + "line": 394, + "column": 27 }, - "name": "mesh" + "identifierName": "nodesHaveNames" }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 14105, - "end": 14188, - "loc": { - "start": { - "line": 413, - "column": 4 - }, - "end": { - "line": 415, - "column": 5 - } - }, - "test": { - "type": "Identifier", - "start": 14109, - "end": 14113, - "loc": { - "start": { - "line": 413, - "column": 8 - }, - "end": { - "line": 413, - "column": 12 + "name": "nodesHaveNames" }, - "identifierName": "mesh" + "computed": false }, - "name": "mesh" + "extra": { + "parenthesizedArgument": false + } }, "consequent": { "type": "BlockStatement", - "start": 14115, - "end": 14188, + "start": 13621, + "end": 13909, "loc": { "start": { - "line": 413, - "column": 14 + "line": 394, + "column": 29 }, "end": { - "line": 415, + "line": 400, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 14125, - "end": 14182, + "start": 13631, + "end": 13742, "loc": { "start": { - "line": 414, + "line": 395, "column": 8 }, "end": { - "line": 414, - "column": 65 + "line": 395, + "column": 119 } }, "expression": { - "type": "AssignmentExpression", - "start": 14125, - "end": 14181, + "type": "CallExpression", + "start": 13631, + "end": 13741, "loc": { "start": { - "line": 414, + "line": 395, "column": 8 }, "end": { - "line": 414, - "column": 64 + "line": 395, + "column": 118 } }, - "operator": "=", - "left": { + "callee": { "type": "MemberExpression", - "start": 14125, - "end": 14139, + "start": 13631, + "end": 13638, "loc": { "start": { - "line": 414, + "line": 395, "column": 8 }, "end": { - "line": 414, - "column": 22 + "line": 395, + "column": 15 } }, "object": { "type": "Identifier", - "start": 14125, - "end": 14129, + "start": 13631, + "end": 13634, "loc": { "start": { - "line": 414, + "line": 395, "column": 8 }, "end": { - "line": 414, - "column": 12 + "line": 395, + "column": 11 }, - "identifierName": "mesh" + "identifierName": "ctx" }, - "name": "mesh" + "name": "ctx" }, "property": { "type": "Identifier", - "start": 14130, - "end": 14139, + "start": 13635, + "end": 13638, "loc": { "start": { - "line": 414, - "column": 13 + "line": 395, + "column": 12 }, "end": { - "line": 414, - "column": 22 + "line": 395, + "column": 15 }, - "identifierName": "instances" + "identifierName": "log" }, - "name": "instances" + "name": "log" }, "computed": false }, - "right": { - "type": "ConditionalExpression", - "start": 14142, - "end": 14181, - "loc": { - "start": { - "line": 414, - "column": 25 - }, - "end": { - "line": 414, - "column": 64 - } - }, - "test": { - "type": "MemberExpression", - "start": 14142, - "end": 14156, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 13639, + "end": 13740, "loc": { "start": { - "line": 414, - "column": 25 + "line": 395, + "column": 16 }, "end": { - "line": 414, - "column": 39 + "line": 395, + "column": 117 } }, - "object": { - "type": "Identifier", - "start": 14142, - "end": 14146, - "loc": { - "start": { - "line": 414, - "column": 25 - }, - "end": { - "line": 414, - "column": 29 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 14147, - "end": 14156, - "loc": { - "start": { - "line": 414, - "column": 30 - }, - "end": { - "line": 414, - "column": 39 - }, - "identifierName": "instances" - }, - "name": "instances" - }, - "computed": false - }, - "consequent": { - "type": "BinaryExpression", - "start": 14159, - "end": 14177, - "loc": { - "start": { - "line": 414, - "column": 42 - }, - "end": { - "line": 414, - "column": 60 - } - }, - "left": { - "type": "MemberExpression", - "start": 14159, - "end": 14173, - "loc": { - "start": { - "line": 414, - "column": 42 - }, - "end": { - "line": 414, - "column": 56 - } - }, - "object": { - "type": "Identifier", - "start": 14159, - "end": 14163, - "loc": { - "start": { - "line": 414, - "column": 42 - }, - "end": { - "line": 414, - "column": 46 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 14164, - "end": 14173, + "expressions": [], + "quasis": [ + { + "type": "TemplateElement", + "start": 13640, + "end": 13739, "loc": { "start": { - "line": 414, - "column": 47 + "line": 395, + "column": 17 }, "end": { - "line": 414, - "column": 56 - }, - "identifierName": "instances" + "line": 395, + "column": 116 + } }, - "name": "instances" - }, - "computed": false - }, - "operator": "+", - "right": { - "type": "NumericLiteral", - "start": 14176, - "end": 14177, - "loc": { - "start": { - "line": 414, - "column": 59 + "value": { + "raw": "Warning: No \"name\" attributes found on glTF scene nodes - objects in XKT may not be what you expect", + "cooked": "Warning: No \"name\" attributes found on glTF scene nodes - objects in XKT may not be what you expect" }, - "end": { - "line": 414, - "column": 60 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "alternate": { - "type": "NumericLiteral", - "start": 14180, - "end": 14181, - "loc": { - "start": { - "line": 414, - "column": 63 - }, - "end": { - "line": 414, - "column": 64 + "tail": true } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 + ] } - } + ] } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 14193, - "end": 14540, - "loc": { - "start": { - "line": 416, - "column": 4 - }, - "end": { - "line": 426, - "column": 5 - } - }, - "test": { - "type": "MemberExpression", - "start": 14197, - "end": 14210, - "loc": { - "start": { - "line": 416, - "column": 8 - }, - "end": { - "line": 416, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 14197, - "end": 14201, - "loc": { - "start": { - "line": 416, - "column": 8 - }, - "end": { - "line": 416, - "column": 12 - }, - "identifierName": "node" - }, - "name": "node" - }, - "property": { - "type": "Identifier", - "start": 14202, - "end": 14210, - "loc": { - "start": { - "line": 416, - "column": 13 - }, - "end": { - "line": 416, - "column": 21 - }, - "identifierName": "children" - }, - "name": "children" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 14212, - "end": 14540, - "loc": { - "start": { - "line": 416, - "column": 23 - }, - "end": { - "line": 426, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 14222, - "end": 14253, - "loc": { - "start": { - "line": 417, - "column": 8 - }, - "end": { - "line": 417, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14228, - "end": 14252, - "loc": { - "start": { - "line": 417, - "column": 14 - }, - "end": { - "line": 417, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 14228, - "end": 14236, - "loc": { - "start": { - "line": 417, - "column": 14 - }, - "end": { - "line": 417, - "column": 22 - }, - "identifierName": "children" - }, - "name": "children" - }, - "init": { - "type": "MemberExpression", - "start": 14239, - "end": 14252, - "loc": { - "start": { - "line": 417, - "column": 25 - }, - "end": { - "line": 417, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 14239, - "end": 14243, - "loc": { - "start": { - "line": 417, - "column": 25 - }, - "end": { - "line": 417, - "column": 29 - }, - "identifierName": "node" - }, - "name": "node" - }, - "property": { - "type": "Identifier", - "start": 14244, - "end": 14252, - "loc": { - "start": { - "line": 417, - "column": 30 - }, - "end": { - "line": 417, - "column": 38 - }, - "identifierName": "children" - }, - "name": "children" - }, - "computed": false - } - } - ], - "kind": "const" }, { "type": "ForStatement", - "start": 14262, - "end": 14534, + "start": 13751, + "end": 13903, "loc": { "start": { - "line": 418, + "line": 396, "column": 8 }, "end": { - "line": 425, + "line": 399, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 14267, - "end": 14299, + "start": 13756, + "end": 13785, "loc": { "start": { - "line": 418, + "line": 396, "column": 13 }, "end": { - "line": 418, - "column": 45 + "line": 396, + "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 14271, - "end": 14276, + "start": 13760, + "end": 13765, "loc": { "start": { - "line": 418, + "line": 396, "column": 17 }, "end": { - "line": 418, + "line": 396, "column": 22 } }, "id": { "type": "Identifier", - "start": 14271, - "end": 14272, + "start": 13760, + "end": 13761, "loc": { "start": { - "line": 418, + "line": 396, "column": 17 }, "end": { - "line": 418, + "line": 396, "column": 18 }, "identifierName": "i" @@ -24499,15 +23664,15 @@ }, "init": { "type": "NumericLiteral", - "start": 14275, - "end": 14276, + "start": 13764, + "end": 13765, "loc": { "start": { - "line": 418, + "line": 396, "column": 21 }, "end": { - "line": 418, + "line": 396, "column": 22 } }, @@ -24520,29 +23685,29 @@ }, { "type": "VariableDeclarator", - "start": 14278, - "end": 14299, + "start": 13767, + "end": 13785, "loc": { "start": { - "line": 418, + "line": 396, "column": 24 }, "end": { - "line": 418, - "column": 45 + "line": 396, + "column": 42 } }, "id": { "type": "Identifier", - "start": 14278, - "end": 14281, + "start": 13767, + "end": 13770, "loc": { "start": { - "line": 418, + "line": 396, "column": 24 }, "end": { - "line": 418, + "line": 396, "column": 27 }, "identifierName": "len" @@ -24551,47 +23716,47 @@ }, "init": { "type": "MemberExpression", - "start": 14284, - "end": 14299, + "start": 13773, + "end": 13785, "loc": { "start": { - "line": 418, + "line": 396, "column": 30 }, "end": { - "line": 418, - "column": 45 + "line": 396, + "column": 42 } }, "object": { "type": "Identifier", - "start": 14284, - "end": 14292, + "start": 13773, + "end": 13778, "loc": { "start": { - "line": 418, + "line": 396, "column": 30 }, "end": { - "line": 418, - "column": 38 + "line": 396, + "column": 35 }, - "identifierName": "children" + "identifierName": "nodes" }, - "name": "children" + "name": "nodes" }, "property": { "type": "Identifier", - "start": 14293, - "end": 14299, + "start": 13779, + "end": 13785, "loc": { "start": { - "line": 418, - "column": 39 + "line": 396, + "column": 36 }, "end": { - "line": 418, - "column": 45 + "line": 396, + "column": 42 }, "identifierName": "length" }, @@ -24605,30 +23770,30 @@ }, "test": { "type": "BinaryExpression", - "start": 14301, - "end": 14308, + "start": 13787, + "end": 13794, "loc": { "start": { - "line": 418, - "column": 47 + "line": 396, + "column": 44 }, "end": { - "line": 418, - "column": 54 + "line": 396, + "column": 51 } }, "left": { "type": "Identifier", - "start": 14301, - "end": 14302, + "start": 13787, + "end": 13788, "loc": { "start": { - "line": 418, - "column": 47 + "line": 396, + "column": 44 }, "end": { - "line": 418, - "column": 48 + "line": 396, + "column": 45 }, "identifierName": "i" }, @@ -24637,16 +23802,16 @@ "operator": "<", "right": { "type": "Identifier", - "start": 14305, - "end": 14308, + "start": 13791, + "end": 13794, "loc": { "start": { - "line": 418, - "column": 51 + "line": 396, + "column": 48 }, "end": { - "line": 418, - "column": 54 + "line": 396, + "column": 51 }, "identifierName": "len" }, @@ -24655,32 +23820,32 @@ }, "update": { "type": "UpdateExpression", - "start": 14310, - "end": 14313, + "start": 13796, + "end": 13799, "loc": { "start": { - "line": 418, - "column": 56 + "line": 396, + "column": 53 }, "end": { - "line": 418, - "column": 59 + "line": 396, + "column": 56 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", - "start": 14310, - "end": 14311, + "start": 13796, + "end": 13797, "loc": { "start": { - "line": 418, - "column": 56 + "line": 396, + "column": 53 }, "end": { - "line": 418, - "column": 57 + "line": 396, + "column": 54 }, "identifierName": "i" }, @@ -24689,108 +23854,108 @@ }, "body": { "type": "BlockStatement", - "start": 14315, - "end": 14534, + "start": 13801, + "end": 13903, "loc": { "start": { - "line": 418, - "column": 61 + "line": 396, + "column": 58 }, "end": { - "line": 425, + "line": 399, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 14329, - "end": 14359, + "start": 13815, + "end": 13837, "loc": { "start": { - "line": 419, + "line": 397, "column": 12 }, "end": { - "line": 419, - "column": 42 + "line": 397, + "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 14335, - "end": 14358, + "start": 13821, + "end": 13836, "loc": { "start": { - "line": 419, + "line": 397, "column": 18 }, "end": { - "line": 419, - "column": 41 + "line": 397, + "column": 33 } }, "id": { "type": "Identifier", - "start": 14335, - "end": 14344, + "start": 13821, + "end": 13825, "loc": { "start": { - "line": 419, + "line": 397, "column": 18 }, "end": { - "line": 419, - "column": 27 + "line": 397, + "column": 22 }, - "identifierName": "childNode" + "identifierName": "node" }, - "name": "childNode" + "name": "node" }, "init": { "type": "MemberExpression", - "start": 14347, - "end": 14358, + "start": 13828, + "end": 13836, "loc": { "start": { - "line": 419, - "column": 30 + "line": 397, + "column": 25 }, "end": { - "line": 419, - "column": 41 + "line": 397, + "column": 33 } }, "object": { "type": "Identifier", - "start": 14347, - "end": 14355, + "start": 13828, + "end": 13833, "loc": { "start": { - "line": 419, - "column": 30 + "line": 397, + "column": 25 }, "end": { - "line": 419, - "column": 38 + "line": 397, + "column": 30 }, - "identifierName": "children" + "identifierName": "nodes" }, - "name": "children" + "name": "nodes" }, "property": { "type": "Identifier", - "start": 14356, - "end": 14357, + "start": 13834, + "end": 13835, "loc": { "start": { - "line": 419, - "column": 39 + "line": 397, + "column": 31 }, "end": { - "line": 419, - "column": 40 + "line": 397, + "column": 32 }, "identifierName": "i" }, @@ -24803,285 +23968,568 @@ "kind": "const" }, { - "type": "IfStatement", - "start": 14372, - "end": 14480, + "type": "ExpressionStatement", + "start": 13850, + "end": 13893, "loc": { "start": { - "line": 420, + "line": 398, "column": 12 }, "end": { - "line": 423, - "column": 13 + "line": 398, + "column": 55 } }, - "test": { - "type": "UnaryExpression", - "start": 14376, - "end": 14386, + "expression": { + "type": "CallExpression", + "start": 13850, + "end": 13892, "loc": { "start": { - "line": 420, - "column": 16 + "line": 398, + "column": 12 }, "end": { - "line": 420, - "column": 26 + "line": 398, + "column": 54 } }, - "operator": "!", - "prefix": true, - "argument": { + "callee": { "type": "Identifier", - "start": 14377, - "end": 14386, + "start": 13850, + "end": 13872, "loc": { "start": { - "line": 420, - "column": 17 + "line": 398, + "column": 12 }, "end": { - "line": 420, - "column": 26 + "line": 398, + "column": 34 }, - "identifierName": "childNode" + "identifierName": "parseNodesWithoutNames" }, - "name": "childNode" + "name": "parseNodesWithoutNames" }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 14388, - "end": 14480, - "loc": { - "start": { - "line": 420, - "column": 28 + "arguments": [ + { + "type": "Identifier", + "start": 13873, + "end": 13876, + "loc": { + "start": { + "line": 398, + "column": 35 + }, + "end": { + "line": 398, + "column": 38 + }, + "identifierName": "ctx" + }, + "name": "ctx" }, - "end": { - "line": 423, - "column": 13 - } - }, - "body": [ { - "type": "ExpressionStatement", - "start": 14406, - "end": 14440, + "type": "Identifier", + "start": 13878, + "end": 13882, "loc": { "start": { - "line": 421, - "column": 16 + "line": 398, + "column": 40 }, "end": { - "line": 421, - "column": 50 + "line": 398, + "column": 44 + }, + "identifierName": "node" + }, + "name": "node" + }, + { + "type": "NumericLiteral", + "start": 13884, + "end": 13885, + "loc": { + "start": { + "line": 398, + "column": 46 + }, + "end": { + "line": 398, + "column": 47 } }, - "expression": { - "type": "CallExpression", - "start": 14406, - "end": 14439, - "loc": { - "start": { - "line": 421, - "column": 16 - }, - "end": { - "line": 421, - "column": 49 - } + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "NullLiteral", + "start": 13887, + "end": 13891, + "loc": { + "start": { + "line": 398, + "column": 49 }, - "callee": { - "type": "MemberExpression", - "start": 14406, - "end": 14415, - "loc": { - "start": { - "line": 421, - "column": 16 - }, - "end": { - "line": 421, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 14406, - "end": 14409, - "loc": { - "start": { - "line": 421, - "column": 16 - }, - "end": { - "line": 421, - "column": 19 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - "property": { - "type": "Identifier", - "start": 14410, - "end": 14415, - "loc": { - "start": { - "line": 421, - "column": 20 - }, - "end": { - "line": 421, - "column": 25 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 14416, - "end": 14438, - "loc": { - "start": { - "line": 421, - "column": 26 - }, - "end": { - "line": 421, - "column": 48 - } - }, - "left": { - "type": "StringLiteral", - "start": 14416, - "end": 14434, - "loc": { - "start": { - "line": 421, - "column": 26 - }, - "end": { - "line": 421, - "column": 44 - } - }, - "extra": { - "rawValue": "Node not found: ", - "raw": "\"Node not found: \"" - }, - "value": "Node not found: " - }, - "operator": "+", - "right": { - "type": "Identifier", - "start": 14437, - "end": 14438, - "loc": { - "start": { - "line": 421, - "column": 47 - }, - "end": { - "line": 421, - "column": 48 - }, - "identifierName": "i" - }, - "name": "i" - } - } - ] + "end": { + "line": 398, + "column": 53 + } } + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 13915, + "end": 14080, + "loc": { + "start": { + "line": 400, + "column": 11 + }, + "end": { + "line": 405, + "column": 5 + } + }, + "body": [ + { + "type": "ForStatement", + "start": 13925, + "end": 14074, + "loc": { + "start": { + "line": 401, + "column": 8 + }, + "end": { + "line": 404, + "column": 9 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 13930, + "end": 13959, + "loc": { + "start": { + "line": 401, + "column": 13 + }, + "end": { + "line": 401, + "column": 42 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 13934, + "end": 13939, + "loc": { + "start": { + "line": 401, + "column": 17 + }, + "end": { + "line": 401, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 13934, + "end": 13935, + "loc": { + "start": { + "line": 401, + "column": 17 }, - { - "type": "ContinueStatement", - "start": 14457, - "end": 14466, + "end": { + "line": 401, + "column": 18 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 13938, + "end": 13939, + "loc": { + "start": { + "line": 401, + "column": 21 + }, + "end": { + "line": 401, + "column": 22 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + { + "type": "VariableDeclarator", + "start": 13941, + "end": 13959, + "loc": { + "start": { + "line": 401, + "column": 24 + }, + "end": { + "line": 401, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 13941, + "end": 13944, + "loc": { + "start": { + "line": 401, + "column": 24 + }, + "end": { + "line": 401, + "column": 27 + }, + "identifierName": "len" + }, + "name": "len" + }, + "init": { + "type": "MemberExpression", + "start": 13947, + "end": 13959, + "loc": { + "start": { + "line": 401, + "column": 30 + }, + "end": { + "line": 401, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 13947, + "end": 13952, + "loc": { + "start": { + "line": 401, + "column": 30 + }, + "end": { + "line": 401, + "column": 35 + }, + "identifierName": "nodes" + }, + "name": "nodes" + }, + "property": { + "type": "Identifier", + "start": 13953, + "end": 13959, + "loc": { + "start": { + "line": 401, + "column": 36 + }, + "end": { + "line": 401, + "column": 42 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 13961, + "end": 13968, + "loc": { + "start": { + "line": 401, + "column": 44 + }, + "end": { + "line": 401, + "column": 51 + } + }, + "left": { + "type": "Identifier", + "start": 13961, + "end": 13962, + "loc": { + "start": { + "line": 401, + "column": 44 + }, + "end": { + "line": 401, + "column": 45 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 13965, + "end": 13968, + "loc": { + "start": { + "line": 401, + "column": 48 + }, + "end": { + "line": 401, + "column": 51 + }, + "identifierName": "len" + }, + "name": "len" + } + }, + "update": { + "type": "UpdateExpression", + "start": 13970, + "end": 13973, + "loc": { + "start": { + "line": 401, + "column": 53 + }, + "end": { + "line": 401, + "column": 56 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 13970, + "end": 13971, + "loc": { + "start": { + "line": 401, + "column": 53 + }, + "end": { + "line": 401, + "column": 54 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 13975, + "end": 14074, + "loc": { + "start": { + "line": 401, + "column": 58 + }, + "end": { + "line": 404, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 13989, + "end": 14011, + "loc": { + "start": { + "line": 402, + "column": 12 + }, + "end": { + "line": 402, + "column": 34 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 13995, + "end": 14010, + "loc": { + "start": { + "line": 402, + "column": 18 + }, + "end": { + "line": 402, + "column": 33 + } + }, + "id": { + "type": "Identifier", + "start": 13995, + "end": 13999, "loc": { "start": { - "line": 422, - "column": 16 + "line": 402, + "column": 18 }, "end": { - "line": 422, + "line": 402, + "column": 22 + }, + "identifierName": "node" + }, + "name": "node" + }, + "init": { + "type": "MemberExpression", + "start": 14002, + "end": 14010, + "loc": { + "start": { + "line": 402, "column": 25 + }, + "end": { + "line": 402, + "column": 33 } }, - "label": null + "object": { + "type": "Identifier", + "start": 14002, + "end": 14007, + "loc": { + "start": { + "line": 402, + "column": 25 + }, + "end": { + "line": 402, + "column": 30 + }, + "identifierName": "nodes" + }, + "name": "nodes" + }, + "property": { + "type": "Identifier", + "start": 14008, + "end": 14009, + "loc": { + "start": { + "line": 402, + "column": 31 + }, + "end": { + "line": 402, + "column": 32 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true } - ], - "directives": [] - }, - "alternate": null + } + ], + "kind": "const" }, { "type": "ExpressionStatement", - "start": 14493, - "end": 14524, + "start": 14024, + "end": 14064, "loc": { "start": { - "line": 424, + "line": 403, "column": 12 }, "end": { - "line": 424, - "column": 43 + "line": 403, + "column": 52 } }, "expression": { "type": "CallExpression", - "start": 14493, - "end": 14523, + "start": 14024, + "end": 14063, "loc": { "start": { - "line": 424, + "line": 403, "column": 12 }, "end": { - "line": 424, - "column": 42 + "line": 403, + "column": 51 } }, "callee": { "type": "Identifier", - "start": 14493, - "end": 14507, + "start": 14024, + "end": 14043, "loc": { "start": { - "line": 424, + "line": 403, "column": 12 }, "end": { - "line": 424, - "column": 26 + "line": 403, + "column": 31 }, - "identifierName": "countMeshUsage" + "identifierName": "parseNodesWithNames" }, - "name": "countMeshUsage" + "name": "parseNodesWithNames" }, "arguments": [ { "type": "Identifier", - "start": 14508, - "end": 14511, + "start": 14044, + "end": 14047, "loc": { "start": { - "line": 424, - "column": 27 + "line": 403, + "column": 32 }, "end": { - "line": 424, - "column": 30 + "line": 403, + "column": 35 }, "identifierName": "ctx" }, @@ -25089,20 +24537,55 @@ }, { "type": "Identifier", - "start": 14513, - "end": 14522, + "start": 14049, + "end": 14053, "loc": { "start": { - "line": 424, - "column": 32 + "line": 403, + "column": 37 }, "end": { - "line": 424, + "line": 403, "column": 41 }, - "identifierName": "childNode" + "identifierName": "node" }, - "name": "childNode" + "name": "node" + }, + { + "type": "NumericLiteral", + "start": 14055, + "end": 14056, + "loc": { + "start": { + "line": 403, + "column": 43 + }, + "end": { + "line": 403, + "column": 44 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "NullLiteral", + "start": 14058, + "end": 14062, + "loc": { + "start": { + "line": 403, + "column": 46 + }, + "end": { + "line": 403, + "column": 50 + } + } } ] } @@ -25113,1041 +24596,632 @@ } ], "directives": [] - }, - "alternate": null + } } ], "directives": [] } }, { - "type": "VariableDeclaration", - "start": 14544, - "end": 14569, + "type": "FunctionDeclaration", + "start": 14084, + "end": 14647, "loc": { "start": { - "line": 429, + "line": 408, "column": 0 }, "end": { - "line": 429, - "column": 25 + "line": 427, + "column": 1 } }, - "declarations": [ + "id": { + "type": "Identifier", + "start": 14093, + "end": 14107, + "loc": { + "start": { + "line": 408, + "column": 9 + }, + "end": { + "line": 408, + "column": 23 + }, + "identifierName": "countMeshUsage" + }, + "name": "countMeshUsage" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "VariableDeclarator", - "start": 14550, - "end": 14568, + "type": "Identifier", + "start": 14108, + "end": 14111, "loc": { "start": { - "line": 429, - "column": 6 + "line": 408, + "column": 24 }, "end": { - "line": 429, - "column": 24 + "line": 408, + "column": 27 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + { + "type": "Identifier", + "start": 14113, + "end": 14117, + "loc": { + "start": { + "line": 408, + "column": 29 + }, + "end": { + "line": 408, + "column": 33 + }, + "identifierName": "node" + }, + "name": "node" + }, + { + "type": "AssignmentPattern", + "start": 14119, + "end": 14126, + "loc": { + "start": { + "line": 408, + "column": 35 + }, + "end": { + "line": 408, + "column": 42 } }, - "id": { + "left": { "type": "Identifier", - "start": 14550, - "end": 14563, + "start": 14119, + "end": 14124, "loc": { "start": { - "line": 429, - "column": 6 + "line": 408, + "column": 35 }, "end": { - "line": 429, - "column": 19 + "line": 408, + "column": 40 }, - "identifierName": "objectIdStack" + "identifierName": "level" }, - "name": "objectIdStack" + "name": "level" }, - "init": { - "type": "ArrayExpression", - "start": 14566, - "end": 14568, + "right": { + "type": "NumericLiteral", + "start": 14125, + "end": 14126, "loc": { "start": { - "line": 429, - "column": 22 + "line": 408, + "column": 41 }, "end": { - "line": 429, - "column": 24 + "line": 408, + "column": 42 } }, - "elements": [] + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 } } ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 14570, - "end": 14594, - "loc": { - "start": { - "line": 430, - "column": 0 - }, - "end": { - "line": 430, - "column": 24 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14576, - "end": 14593, - "loc": { - "start": { - "line": 430, - "column": 6 - }, - "end": { - "line": 430, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 14576, - "end": 14588, - "loc": { - "start": { - "line": 430, - "column": 6 - }, - "end": { - "line": 430, - "column": 18 - }, - "identifierName": "meshIdsStack" - }, - "name": "meshIdsStack" + "body": { + "type": "BlockStatement", + "start": 14128, + "end": 14647, + "loc": { + "start": { + "line": 408, + "column": 44 }, - "init": { - "type": "ArrayExpression", - "start": 14591, - "end": 14593, - "loc": { - "start": { - "line": 430, - "column": 21 - }, - "end": { - "line": 430, - "column": 23 - } - }, - "elements": [] + "end": { + "line": 427, + "column": 1 } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 14596, - "end": 14615, - "loc": { - "start": { - "line": 432, - "column": 0 }, - "end": { - "line": 432, - "column": 19 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14600, - "end": 14614, - "loc": { - "start": { - "line": 432, - "column": 4 - }, - "end": { - "line": 432, - "column": 18 - } - }, - "id": { - "type": "Identifier", - "start": 14600, - "end": 14607, + "body": [ + { + "type": "IfStatement", + "start": 14134, + "end": 14168, "loc": { "start": { - "line": 432, + "line": 409, "column": 4 }, "end": { - "line": 432, - "column": 11 - }, - "identifierName": "meshIds" + "line": 411, + "column": 5 + } }, - "name": "meshIds" - }, - "init": { - "type": "NullLiteral", - "start": 14610, - "end": 14614, - "loc": { - "start": { - "line": 432, - "column": 14 + "test": { + "type": "UnaryExpression", + "start": 14138, + "end": 14143, + "loc": { + "start": { + "line": 409, + "column": 8 + }, + "end": { + "line": 409, + "column": 13 + } }, - "end": { - "line": 432, - "column": 18 + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 14139, + "end": 14143, + "loc": { + "start": { + "line": 409, + "column": 9 + }, + "end": { + "line": 409, + "column": 13 + }, + "identifierName": "node" + }, + "name": "node" + }, + "extra": { + "parenthesizedArgument": false } - } - } - } - ], - "kind": "let" - }, - { - "type": "FunctionDeclaration", - "start": 14617, - "end": 21654, - "loc": { - "start": { - "line": 434, - "column": 0 - }, - "end": { - "line": 611, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 14626, - "end": 14635, - "loc": { - "start": { - "line": 434, - "column": 9 - }, - "end": { - "line": 434, - "column": 18 - }, - "identifierName": "parseNode" - }, - "name": "parseNode" - }, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 14636, - "end": 14639, - "loc": { - "start": { - "line": 434, - "column": 19 - }, - "end": { - "line": 434, - "column": 22 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - { - "type": "Identifier", - "start": 14641, - "end": 14645, - "loc": { - "start": { - "line": 434, - "column": 24 - }, - "end": { - "line": 434, - "column": 28 - }, - "identifierName": "node" - }, - "name": "node" - }, - { - "type": "Identifier", - "start": 14647, - "end": 14652, - "loc": { - "start": { - "line": 434, - "column": 30 - }, - "end": { - "line": 434, - "column": 35 - }, - "identifierName": "depth" - }, - "name": "depth" - }, - { - "type": "Identifier", - "start": 14654, - "end": 14660, - "loc": { - "start": { - "line": 434, - "column": 37 }, - "end": { - "line": 434, - "column": 43 + "consequent": { + "type": "BlockStatement", + "start": 14145, + "end": 14168, + "loc": { + "start": { + "line": 409, + "column": 15 + }, + "end": { + "line": 411, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 14155, + "end": 14162, + "loc": { + "start": { + "line": 410, + "column": 8 + }, + "end": { + "line": 410, + "column": 15 + } + }, + "argument": null + } + ], + "directives": [] }, - "identifierName": "matrix" - }, - "name": "matrix" - } - ], - "body": { - "type": "BlockStatement", - "start": 14662, - "end": 21654, - "loc": { - "start": { - "line": 434, - "column": 45 + "alternate": null }, - "end": { - "line": 611, - "column": 1 - } - }, - "body": [ { "type": "VariableDeclaration", - "start": 14669, - "end": 14699, + "start": 14173, + "end": 14196, "loc": { "start": { - "line": 436, + "line": 412, "column": 4 }, "end": { - "line": 436, - "column": 34 + "line": 412, + "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 14675, - "end": 14698, + "start": 14179, + "end": 14195, "loc": { "start": { - "line": 436, + "line": 412, "column": 10 }, "end": { - "line": 436, - "column": 33 + "line": 412, + "column": 26 } }, "id": { "type": "Identifier", - "start": 14675, - "end": 14683, + "start": 14179, + "end": 14183, "loc": { "start": { - "line": 436, + "line": 412, "column": 10 }, "end": { - "line": 436, - "column": 18 + "line": 412, + "column": 14 }, - "identifierName": "xktModel" + "identifierName": "mesh" }, - "name": "xktModel" + "name": "mesh" }, "init": { "type": "MemberExpression", - "start": 14686, - "end": 14698, + "start": 14186, + "end": 14195, "loc": { "start": { - "line": 436, - "column": 21 + "line": 412, + "column": 17 }, "end": { - "line": 436, - "column": 33 + "line": 412, + "column": 26 } }, "object": { "type": "Identifier", - "start": 14686, - "end": 14689, + "start": 14186, + "end": 14190, "loc": { "start": { - "line": 436, - "column": 21 + "line": 412, + "column": 17 }, "end": { - "line": 436, - "column": 24 + "line": 412, + "column": 21 }, - "identifierName": "ctx" + "identifierName": "node" }, - "name": "ctx" + "name": "node" }, "property": { "type": "Identifier", - "start": 14690, - "end": 14698, + "start": 14191, + "end": 14195, "loc": { "start": { - "line": 436, - "column": 25 + "line": 412, + "column": 22 }, "end": { - "line": 436, - "column": 33 + "line": 412, + "column": 26 }, - "identifierName": "xktModel" + "identifierName": "mesh" }, - "name": "xktModel" + "name": "mesh" }, "computed": false } } ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Pre-order visit scene node", - "start": 14705, - "end": 14734, - "loc": { - "start": { - "line": 438, - "column": 4 - }, - "end": { - "line": 438, - "column": 33 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 14740, - "end": 14756, - "loc": { - "start": { - "line": 440, - "column": 4 - }, - "end": { - "line": 440, - "column": 20 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14744, - "end": 14755, - "loc": { - "start": { - "line": 440, - "column": 8 - }, - "end": { - "line": 440, - "column": 19 - } - }, - "id": { - "type": "Identifier", - "start": 14744, - "end": 14755, - "loc": { - "start": { - "line": 440, - "column": 8 - }, - "end": { - "line": 440, - "column": 19 - }, - "identifierName": "localMatrix" - }, - "name": "localMatrix", - "leadingComments": null - }, - "init": null, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentLine", - "value": " Pre-order visit scene node", - "start": 14705, - "end": 14734, - "loc": { - "start": { - "line": 438, - "column": 4 - }, - "end": { - "line": 438, - "column": 33 - } - } - } - ] + "kind": "const" }, { "type": "IfStatement", - "start": 14761, - "end": 14972, + "start": 14201, + "end": 14284, "loc": { "start": { - "line": 441, + "line": 413, "column": 4 }, "end": { - "line": 448, + "line": 415, "column": 5 } }, "test": { - "type": "MemberExpression", - "start": 14765, - "end": 14776, + "type": "Identifier", + "start": 14205, + "end": 14209, "loc": { "start": { - "line": 441, + "line": 413, "column": 8 }, "end": { - "line": 441, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 14765, - "end": 14769, - "loc": { - "start": { - "line": 441, - "column": 8 - }, - "end": { - "line": 441, - "column": 12 - }, - "identifierName": "node" - }, - "name": "node" - }, - "property": { - "type": "Identifier", - "start": 14770, - "end": 14776, - "loc": { - "start": { - "line": 441, - "column": 13 - }, - "end": { - "line": 441, - "column": 19 - }, - "identifierName": "matrix" + "line": 413, + "column": 12 }, - "name": "matrix" + "identifierName": "mesh" }, - "computed": false + "name": "mesh" }, "consequent": { "type": "BlockStatement", - "start": 14778, - "end": 14972, + "start": 14211, + "end": 14284, "loc": { "start": { - "line": 441, - "column": 21 + "line": 413, + "column": 14 }, "end": { - "line": 448, + "line": 415, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 14788, - "end": 14814, + "start": 14221, + "end": 14278, "loc": { "start": { - "line": 442, + "line": 414, "column": 8 }, "end": { - "line": 442, - "column": 34 + "line": 414, + "column": 65 } }, "expression": { "type": "AssignmentExpression", - "start": 14788, - "end": 14813, + "start": 14221, + "end": 14277, "loc": { "start": { - "line": 442, + "line": 414, "column": 8 }, "end": { - "line": 442, - "column": 33 + "line": 414, + "column": 64 } }, "operator": "=", "left": { - "type": "Identifier", - "start": 14788, - "end": 14799, + "type": "MemberExpression", + "start": 14221, + "end": 14235, "loc": { "start": { - "line": 442, + "line": 414, "column": 8 }, "end": { - "line": 442, - "column": 19 - }, - "identifierName": "localMatrix" - }, - "name": "localMatrix" - }, - "right": { - "type": "MemberExpression", - "start": 14802, - "end": 14813, - "loc": { - "start": { - "line": 442, + "line": 414, "column": 22 - }, - "end": { - "line": 442, - "column": 33 } }, "object": { "type": "Identifier", - "start": 14802, - "end": 14806, + "start": 14221, + "end": 14225, "loc": { "start": { - "line": 442, - "column": 22 + "line": 414, + "column": 8 }, "end": { - "line": 442, - "column": 26 + "line": 414, + "column": 12 }, - "identifierName": "node" + "identifierName": "mesh" }, - "name": "node" + "name": "mesh" }, "property": { "type": "Identifier", - "start": 14807, - "end": 14813, + "start": 14226, + "end": 14235, "loc": { "start": { - "line": 442, - "column": 27 + "line": 414, + "column": 13 }, "end": { - "line": 442, - "column": 33 + "line": 414, + "column": 22 }, - "identifierName": "matrix" + "identifierName": "instances" }, - "name": "matrix" + "name": "instances" }, "computed": false - } - } - }, - { - "type": "IfStatement", - "start": 14823, - "end": 14966, - "loc": { - "start": { - "line": 443, - "column": 8 - }, - "end": { - "line": 447, - "column": 9 - } - }, - "test": { - "type": "Identifier", - "start": 14827, - "end": 14833, - "loc": { - "start": { - "line": 443, - "column": 12 - }, - "end": { - "line": 443, - "column": 18 - }, - "identifierName": "matrix" }, - "name": "matrix" - }, - "consequent": { - "type": "BlockStatement", - "start": 14835, - "end": 14915, - "loc": { - "start": { - "line": 443, - "column": 20 + "right": { + "type": "ConditionalExpression", + "start": 14238, + "end": 14277, + "loc": { + "start": { + "line": 414, + "column": 25 + }, + "end": { + "line": 414, + "column": 64 + } }, - "end": { - "line": 445, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 14849, - "end": 14905, + "test": { + "type": "MemberExpression", + "start": 14238, + "end": 14252, "loc": { "start": { - "line": 444, - "column": 12 + "line": 414, + "column": 25 }, "end": { - "line": 444, - "column": 68 + "line": 414, + "column": 39 } }, - "expression": { - "type": "AssignmentExpression", - "start": 14849, - "end": 14904, + "object": { + "type": "Identifier", + "start": 14238, + "end": 14242, "loc": { "start": { - "line": 444, - "column": 12 + "line": 414, + "column": 25 }, "end": { - "line": 444, - "column": 67 - } + "line": 414, + "column": 29 + }, + "identifierName": "mesh" }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 14849, - "end": 14855, - "loc": { - "start": { - "line": 444, - "column": 12 - }, - "end": { - "line": 444, - "column": 18 - }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - "right": { - "type": "CallExpression", - "start": 14858, - "end": 14904, - "loc": { - "start": { - "line": 444, - "column": 21 - }, - "end": { - "line": 444, - "column": 67 - } + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 14243, + "end": 14252, + "loc": { + "start": { + "line": 414, + "column": 30 }, - "callee": { - "type": "MemberExpression", - "start": 14858, - "end": 14870, - "loc": { - "start": { - "line": 444, - "column": 21 - }, - "end": { - "line": 444, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 14858, - "end": 14862, - "loc": { - "start": { - "line": 444, - "column": 21 - }, - "end": { - "line": 444, - "column": 25 - }, - "identifierName": "math" - }, - "name": "math" - }, - "property": { - "type": "Identifier", - "start": 14863, - "end": 14870, - "loc": { - "start": { - "line": 444, - "column": 26 - }, - "end": { - "line": 444, - "column": 33 - }, - "identifierName": "mulMat4" - }, - "name": "mulMat4" - }, - "computed": false + "end": { + "line": 414, + "column": 39 }, - "arguments": [ - { - "type": "Identifier", - "start": 14871, - "end": 14877, - "loc": { - "start": { - "line": 444, - "column": 34 - }, - "end": { - "line": 444, - "column": 40 - }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - { - "type": "Identifier", - "start": 14879, - "end": 14890, - "loc": { - "start": { - "line": 444, - "column": 42 - }, - "end": { - "line": 444, - "column": 53 - }, - "identifierName": "localMatrix" - }, - "name": "localMatrix" - }, - { - "type": "CallExpression", - "start": 14892, - "end": 14903, - "loc": { - "start": { - "line": 444, - "column": 55 - }, - "end": { - "line": 444, - "column": 66 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14892, - "end": 14901, - "loc": { - "start": { - "line": 444, - "column": 55 - }, - "end": { - "line": 444, - "column": 64 - } - }, - "object": { - "type": "Identifier", - "start": 14892, - "end": 14896, - "loc": { - "start": { - "line": 444, - "column": 55 - }, - "end": { - "line": 444, - "column": 59 - }, - "identifierName": "math" - }, - "name": "math" - }, - "property": { - "type": "Identifier", - "start": 14897, - "end": 14901, - "loc": { - "start": { - "line": 444, - "column": 60 - }, - "end": { - "line": 444, - "column": 64 - }, - "identifierName": "mat4" - }, - "name": "mat4" - }, - "computed": false - }, - "arguments": [] - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 14921, - "end": 14966, - "loc": { - "start": { - "line": 445, - "column": 15 + "identifierName": "instances" + }, + "name": "instances" + }, + "computed": false }, - "end": { - "line": 447, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 14935, - "end": 14956, + "consequent": { + "type": "BinaryExpression", + "start": 14255, + "end": 14273, "loc": { "start": { - "line": 446, - "column": 12 + "line": 414, + "column": 42 }, "end": { - "line": 446, - "column": 33 + "line": 414, + "column": 60 } }, - "expression": { - "type": "AssignmentExpression", - "start": 14935, - "end": 14955, + "left": { + "type": "MemberExpression", + "start": 14255, + "end": 14269, "loc": { "start": { - "line": 446, - "column": 12 + "line": 414, + "column": 42 }, "end": { - "line": 446, - "column": 32 + "line": 414, + "column": 56 } }, - "operator": "=", - "left": { + "object": { "type": "Identifier", - "start": 14935, - "end": 14941, + "start": 14255, + "end": 14259, "loc": { "start": { - "line": 446, - "column": 12 + "line": 414, + "column": 42 }, "end": { - "line": 446, - "column": 18 + "line": 414, + "column": 46 }, - "identifierName": "matrix" + "identifierName": "mesh" }, - "name": "matrix" + "name": "mesh" }, - "right": { + "property": { "type": "Identifier", - "start": 14944, - "end": 14955, + "start": 14260, + "end": 14269, "loc": { "start": { - "line": 446, - "column": 21 + "line": 414, + "column": 47 }, "end": { - "line": 446, - "column": 32 + "line": 414, + "column": 56 }, - "identifierName": "localMatrix" + "identifierName": "instances" }, - "name": "localMatrix" - } + "name": "instances" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 14272, + "end": 14273, + "loc": { + "start": { + "line": 414, + "column": 59 + }, + "end": { + "line": 414, + "column": 60 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 } + }, + "alternate": { + "type": "NumericLiteral", + "start": 14276, + "end": 14277, + "loc": { + "start": { + "line": 414, + "column": 63 + }, + "end": { + "line": 414, + "column": 64 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 } - ], - "directives": [] + } } } ], @@ -26157,43 +25231,43 @@ }, { "type": "IfStatement", - "start": 14977, - "end": 15221, + "start": 14289, + "end": 14645, "loc": { "start": { - "line": 449, + "line": 416, "column": 4 }, "end": { - "line": 456, + "line": 426, "column": 5 } }, "test": { "type": "MemberExpression", - "start": 14981, - "end": 14997, + "start": 14293, + "end": 14306, "loc": { "start": { - "line": 449, + "line": 416, "column": 8 }, "end": { - "line": 449, - "column": 24 + "line": 416, + "column": 21 } }, "object": { "type": "Identifier", - "start": 14981, - "end": 14985, + "start": 14293, + "end": 14297, "loc": { "start": { - "line": 449, + "line": 416, "column": 8 }, "end": { - "line": 449, + "line": 416, "column": 12 }, "identifierName": "node" @@ -26202,545 +25276,859 @@ }, "property": { "type": "Identifier", - "start": 14986, - "end": 14997, + "start": 14298, + "end": 14306, "loc": { "start": { - "line": 449, + "line": 416, "column": 13 }, "end": { - "line": 449, - "column": 24 + "line": 416, + "column": 21 }, - "identifierName": "translation" + "identifierName": "children" }, - "name": "translation" + "name": "children" }, "computed": false }, "consequent": { "type": "BlockStatement", - "start": 14999, - "end": 15221, + "start": 14308, + "end": 14645, "loc": { "start": { - "line": 449, - "column": 26 + "line": 416, + "column": 23 }, "end": { - "line": 456, + "line": 426, "column": 5 } }, "body": [ { - "type": "ExpressionStatement", - "start": 15009, - "end": 15063, + "type": "VariableDeclaration", + "start": 14318, + "end": 14349, "loc": { "start": { - "line": 450, + "line": 417, "column": 8 }, "end": { - "line": 450, - "column": 62 + "line": 417, + "column": 39 } }, - "expression": { - "type": "AssignmentExpression", - "start": 15009, - "end": 15062, - "loc": { - "start": { - "line": 450, - "column": 8 - }, - "end": { - "line": 450, - "column": 61 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 15009, - "end": 15020, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14324, + "end": 14348, "loc": { "start": { - "line": 450, - "column": 8 + "line": 417, + "column": 14 }, "end": { - "line": 450, - "column": 19 - }, - "identifierName": "localMatrix" + "line": 417, + "column": 38 + } }, - "name": "localMatrix" - }, - "right": { - "type": "CallExpression", - "start": 15023, - "end": 15062, - "loc": { - "start": { - "line": 450, - "column": 22 + "id": { + "type": "Identifier", + "start": 14324, + "end": 14332, + "loc": { + "start": { + "line": 417, + "column": 14 + }, + "end": { + "line": 417, + "column": 22 + }, + "identifierName": "children" }, - "end": { - "line": 450, - "column": 61 - } + "name": "children" }, - "callee": { + "init": { "type": "MemberExpression", - "start": 15023, - "end": 15044, + "start": 14335, + "end": 14348, "loc": { "start": { - "line": 450, - "column": 22 + "line": 417, + "column": 25 }, "end": { - "line": 450, - "column": 43 + "line": 417, + "column": 38 } }, "object": { "type": "Identifier", - "start": 15023, - "end": 15027, + "start": 14335, + "end": 14339, "loc": { "start": { - "line": 450, - "column": 22 + "line": 417, + "column": 25 }, "end": { - "line": 450, - "column": 26 + "line": 417, + "column": 29 }, - "identifierName": "math" + "identifierName": "node" }, - "name": "math" + "name": "node" }, "property": { "type": "Identifier", - "start": 15028, - "end": 15044, + "start": 14340, + "end": 14348, "loc": { "start": { - "line": 450, - "column": 27 + "line": 417, + "column": 30 }, "end": { - "line": 450, - "column": 43 + "line": 417, + "column": 38 }, - "identifierName": "translationMat4v" + "identifierName": "children" }, - "name": "translationMat4v" + "name": "children" }, "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ForStatement", + "start": 14358, + "end": 14639, + "loc": { + "start": { + "line": 418, + "column": 8 + }, + "end": { + "line": 425, + "column": 9 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 14363, + "end": 14395, + "loc": { + "start": { + "line": 418, + "column": 13 }, - "arguments": [ - { + "end": { + "line": 418, + "column": 45 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14367, + "end": 14372, + "loc": { + "start": { + "line": 418, + "column": 17 + }, + "end": { + "line": 418, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 14367, + "end": 14368, + "loc": { + "start": { + "line": 418, + "column": 17 + }, + "end": { + "line": 418, + "column": 18 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 14371, + "end": 14372, + "loc": { + "start": { + "line": 418, + "column": 21 + }, + "end": { + "line": 418, + "column": 22 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + { + "type": "VariableDeclarator", + "start": 14374, + "end": 14395, + "loc": { + "start": { + "line": 418, + "column": 24 + }, + "end": { + "line": 418, + "column": 45 + } + }, + "id": { + "type": "Identifier", + "start": 14374, + "end": 14377, + "loc": { + "start": { + "line": 418, + "column": 24 + }, + "end": { + "line": 418, + "column": 27 + }, + "identifierName": "len" + }, + "name": "len" + }, + "init": { "type": "MemberExpression", - "start": 15045, - "end": 15061, + "start": 14380, + "end": 14395, "loc": { "start": { - "line": 450, - "column": 44 + "line": 418, + "column": 30 }, "end": { - "line": 450, - "column": 60 + "line": 418, + "column": 45 } }, "object": { "type": "Identifier", - "start": 15045, - "end": 15049, + "start": 14380, + "end": 14388, "loc": { "start": { - "line": 450, - "column": 44 + "line": 418, + "column": 30 }, "end": { - "line": 450, - "column": 48 + "line": 418, + "column": 38 }, - "identifierName": "node" + "identifierName": "children" }, - "name": "node" + "name": "children" }, "property": { "type": "Identifier", - "start": 15050, - "end": 15061, + "start": 14389, + "end": 14395, "loc": { "start": { - "line": 450, - "column": 49 + "line": 418, + "column": 39 }, "end": { - "line": 450, - "column": 60 + "line": 418, + "column": 45 }, - "identifierName": "translation" + "identifierName": "length" }, - "name": "translation" + "name": "length" }, "computed": false } - ] - } - } - }, - { - "type": "IfStatement", - "start": 15072, - "end": 15215, - "loc": { - "start": { - "line": 451, - "column": 8 - }, - "end": { - "line": 455, - "column": 9 - } + } + ], + "kind": "let" }, "test": { - "type": "Identifier", - "start": 15076, - "end": 15082, + "type": "BinaryExpression", + "start": 14397, + "end": 14404, "loc": { "start": { - "line": 451, - "column": 12 + "line": 418, + "column": 47 }, "end": { - "line": 451, - "column": 18 - }, - "identifierName": "matrix" + "line": 418, + "column": 54 + } }, - "name": "matrix" + "left": { + "type": "Identifier", + "start": 14397, + "end": 14398, + "loc": { + "start": { + "line": 418, + "column": 47 + }, + "end": { + "line": 418, + "column": 48 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 14401, + "end": 14404, + "loc": { + "start": { + "line": 418, + "column": 51 + }, + "end": { + "line": 418, + "column": 54 + }, + "identifierName": "len" + }, + "name": "len" + } }, - "consequent": { + "update": { + "type": "UpdateExpression", + "start": 14406, + "end": 14409, + "loc": { + "start": { + "line": 418, + "column": 56 + }, + "end": { + "line": 418, + "column": 59 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 14406, + "end": 14407, + "loc": { + "start": { + "line": 418, + "column": 56 + }, + "end": { + "line": 418, + "column": 57 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { "type": "BlockStatement", - "start": 15084, - "end": 15164, + "start": 14411, + "end": 14639, "loc": { "start": { - "line": 451, - "column": 20 + "line": 418, + "column": 61 }, "end": { - "line": 453, + "line": 425, "column": 9 } }, "body": [ { - "type": "ExpressionStatement", - "start": 15098, - "end": 15154, + "type": "VariableDeclaration", + "start": 14425, + "end": 14455, "loc": { "start": { - "line": 452, + "line": 419, "column": 12 }, "end": { - "line": 452, - "column": 68 + "line": 419, + "column": 42 } }, - "expression": { - "type": "AssignmentExpression", - "start": 15098, - "end": 15153, - "loc": { - "start": { - "line": 452, - "column": 12 - }, - "end": { - "line": 452, - "column": 67 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 15098, - "end": 15104, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14431, + "end": 14454, "loc": { "start": { - "line": 452, - "column": 12 - }, - "end": { - "line": 452, + "line": 419, "column": 18 }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - "right": { - "type": "CallExpression", - "start": 15107, - "end": 15153, - "loc": { - "start": { - "line": 452, - "column": 21 - }, "end": { - "line": 452, - "column": 67 + "line": 419, + "column": 41 } }, - "callee": { + "id": { + "type": "Identifier", + "start": 14431, + "end": 14440, + "loc": { + "start": { + "line": 419, + "column": 18 + }, + "end": { + "line": 419, + "column": 27 + }, + "identifierName": "childNode" + }, + "name": "childNode" + }, + "init": { "type": "MemberExpression", - "start": 15107, - "end": 15119, + "start": 14443, + "end": 14454, "loc": { "start": { - "line": 452, - "column": 21 + "line": 419, + "column": 30 }, "end": { - "line": 452, - "column": 33 + "line": 419, + "column": 41 } }, "object": { "type": "Identifier", - "start": 15107, - "end": 15111, + "start": 14443, + "end": 14451, "loc": { "start": { - "line": 452, - "column": 21 + "line": 419, + "column": 30 }, "end": { - "line": 452, - "column": 25 + "line": 419, + "column": 38 }, - "identifierName": "math" + "identifierName": "children" }, - "name": "math" + "name": "children" }, "property": { "type": "Identifier", - "start": 15112, - "end": 15119, + "start": 14452, + "end": 14453, "loc": { "start": { - "line": 452, - "column": 26 + "line": 419, + "column": 39 }, "end": { - "line": 452, - "column": 33 + "line": 419, + "column": 40 }, - "identifierName": "mulMat4" + "identifierName": "i" }, - "name": "mulMat4" + "name": "i" }, - "computed": false + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 14468, + "end": 14576, + "loc": { + "start": { + "line": 420, + "column": 12 + }, + "end": { + "line": 423, + "column": 13 + } + }, + "test": { + "type": "UnaryExpression", + "start": 14472, + "end": 14482, + "loc": { + "start": { + "line": 420, + "column": 16 }, - "arguments": [ - { - "type": "Identifier", - "start": 15120, - "end": 15126, - "loc": { - "start": { - "line": 452, - "column": 34 - }, - "end": { - "line": 452, - "column": 40 - }, - "identifierName": "matrix" - }, - "name": "matrix" + "end": { + "line": 420, + "column": 26 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 14473, + "end": 14482, + "loc": { + "start": { + "line": 420, + "column": 17 }, - { - "type": "Identifier", - "start": 15128, - "end": 15139, - "loc": { - "start": { - "line": 452, - "column": 42 - }, - "end": { - "line": 452, - "column": 53 - }, - "identifierName": "localMatrix" + "end": { + "line": 420, + "column": 26 + }, + "identifierName": "childNode" + }, + "name": "childNode" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 14484, + "end": 14576, + "loc": { + "start": { + "line": 420, + "column": 28 + }, + "end": { + "line": 423, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 14502, + "end": 14536, + "loc": { + "start": { + "line": 421, + "column": 16 }, - "name": "localMatrix" + "end": { + "line": 421, + "column": 50 + } }, - { + "expression": { "type": "CallExpression", - "start": 15141, - "end": 15152, + "start": 14502, + "end": 14535, "loc": { "start": { - "line": 452, - "column": 55 + "line": 421, + "column": 16 }, "end": { - "line": 452, - "column": 66 + "line": 421, + "column": 49 } }, "callee": { "type": "MemberExpression", - "start": 15141, - "end": 15150, + "start": 14502, + "end": 14511, "loc": { "start": { - "line": 452, - "column": 55 + "line": 421, + "column": 16 }, "end": { - "line": 452, - "column": 64 + "line": 421, + "column": 25 } }, "object": { "type": "Identifier", - "start": 15141, - "end": 15145, + "start": 14502, + "end": 14505, "loc": { "start": { - "line": 452, - "column": 55 + "line": 421, + "column": 16 }, "end": { - "line": 452, - "column": 59 + "line": 421, + "column": 19 }, - "identifierName": "math" + "identifierName": "ctx" }, - "name": "math" + "name": "ctx" }, "property": { "type": "Identifier", - "start": 15146, - "end": 15150, + "start": 14506, + "end": 14511, "loc": { "start": { - "line": 452, - "column": 60 + "line": 421, + "column": 20 }, "end": { - "line": 452, - "column": 64 + "line": 421, + "column": 25 }, - "identifierName": "mat4" + "identifierName": "error" }, - "name": "mat4" + "name": "error" }, "computed": false }, - "arguments": [] + "arguments": [ + { + "type": "BinaryExpression", + "start": 14512, + "end": 14534, + "loc": { + "start": { + "line": 421, + "column": 26 + }, + "end": { + "line": 421, + "column": 48 + } + }, + "left": { + "type": "StringLiteral", + "start": 14512, + "end": 14530, + "loc": { + "start": { + "line": 421, + "column": 26 + }, + "end": { + "line": 421, + "column": 44 + } + }, + "extra": { + "rawValue": "Node not found: ", + "raw": "\"Node not found: \"" + }, + "value": "Node not found: " + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 14533, + "end": 14534, + "loc": { + "start": { + "line": 421, + "column": 47 + }, + "end": { + "line": 421, + "column": 48 + }, + "identifierName": "i" + }, + "name": "i" + } + } + ] } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 15170, - "end": 15215, - "loc": { - "start": { - "line": 453, - "column": 15 + }, + { + "type": "ContinueStatement", + "start": 14553, + "end": 14562, + "loc": { + "start": { + "line": 422, + "column": 16 + }, + "end": { + "line": 422, + "column": 25 + } + }, + "label": null + } + ], + "directives": [] + }, + "alternate": null }, - "end": { - "line": 455, - "column": 9 - } - }, - "body": [ { "type": "ExpressionStatement", - "start": 15184, - "end": 15205, + "start": 14589, + "end": 14629, "loc": { "start": { - "line": 454, + "line": 424, "column": 12 }, "end": { - "line": 454, - "column": 33 + "line": 424, + "column": 52 } }, "expression": { - "type": "AssignmentExpression", - "start": 15184, - "end": 15204, + "type": "CallExpression", + "start": 14589, + "end": 14628, "loc": { "start": { - "line": 454, + "line": 424, "column": 12 }, "end": { - "line": 454, - "column": 32 + "line": 424, + "column": 51 } }, - "operator": "=", - "left": { + "callee": { "type": "Identifier", - "start": 15184, - "end": 15190, + "start": 14589, + "end": 14603, "loc": { "start": { - "line": 454, + "line": 424, "column": 12 }, "end": { - "line": 454, - "column": 18 + "line": 424, + "column": 26 }, - "identifierName": "matrix" + "identifierName": "countMeshUsage" }, - "name": "matrix" + "name": "countMeshUsage" }, - "right": { - "type": "Identifier", - "start": 15193, - "end": 15204, - "loc": { - "start": { - "line": 454, - "column": 21 + "arguments": [ + { + "type": "Identifier", + "start": 14604, + "end": 14607, + "loc": { + "start": { + "line": 424, + "column": 27 + }, + "end": { + "line": 424, + "column": 30 + }, + "identifierName": "ctx" }, - "end": { - "line": 454, - "column": 32 + "name": "ctx" + }, + { + "type": "Identifier", + "start": 14609, + "end": 14618, + "loc": { + "start": { + "line": 424, + "column": 32 + }, + "end": { + "line": 424, + "column": 41 + }, + "identifierName": "childNode" }, - "identifierName": "localMatrix" + "name": "childNode" }, - "name": "localMatrix" - } + { + "type": "BinaryExpression", + "start": 14620, + "end": 14627, + "loc": { + "start": { + "line": 424, + "column": 43 + }, + "end": { + "line": 424, + "column": 50 + } + }, + "left": { + "type": "Identifier", + "start": 14620, + "end": 14625, + "loc": { + "start": { + "line": 424, + "column": 43 + }, + "end": { + "line": 424, + "column": 48 + }, + "identifierName": "level" + }, + "name": "level" + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 14626, + "end": 14627, + "loc": { + "start": { + "line": 424, + "column": 49 + }, + "end": { + "line": 424, + "column": 50 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ] } } ], @@ -26751,46 +26139,257 @@ "directives": [] }, "alternate": null + } + ], + "directives": [] + } + }, + { + "type": "FunctionDeclaration", + "start": 14649, + "end": 15092, + "loc": { + "start": { + "line": 429, + "column": 0 + }, + "end": { + "line": 446, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 14658, + "end": 14678, + "loc": { + "start": { + "line": 429, + "column": 9 }, - { - "type": "IfStatement", - "start": 15226, - "end": 15464, - "loc": { - "start": { - "line": 457, - "column": 4 - }, - "end": { - "line": 464, - "column": 5 - } - }, - "test": { - "type": "MemberExpression", - "start": 15230, - "end": 15243, - "loc": { - "start": { - "line": 457, - "column": 8 - }, - "end": { - "line": 457, - "column": 21 - } + "end": { + "line": 429, + "column": 29 + }, + "identifierName": "testIfNodesHaveNames" + }, + "name": "testIfNodesHaveNames" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 14679, + "end": 14683, + "loc": { + "start": { + "line": 429, + "column": 30 + }, + "end": { + "line": 429, + "column": 34 + }, + "identifierName": "node" + }, + "name": "node" + }, + { + "type": "AssignmentPattern", + "start": 14685, + "end": 14692, + "loc": { + "start": { + "line": 429, + "column": 36 + }, + "end": { + "line": 429, + "column": 43 + } + }, + "left": { + "type": "Identifier", + "start": 14685, + "end": 14690, + "loc": { + "start": { + "line": 429, + "column": 36 + }, + "end": { + "line": 429, + "column": 41 + }, + "identifierName": "level" + }, + "name": "level" + }, + "right": { + "type": "NumericLiteral", + "start": 14691, + "end": 14692, + "loc": { + "start": { + "line": 429, + "column": 42 + }, + "end": { + "line": 429, + "column": 43 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "body": { + "type": "BlockStatement", + "start": 14694, + "end": 15092, + "loc": { + "start": { + "line": 429, + "column": 45 + }, + "end": { + "line": 446, + "column": 1 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 14700, + "end": 14734, + "loc": { + "start": { + "line": 430, + "column": 4 + }, + "end": { + "line": 432, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 14704, + "end": 14709, + "loc": { + "start": { + "line": 430, + "column": 8 + }, + "end": { + "line": 430, + "column": 13 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 14705, + "end": 14709, + "loc": { + "start": { + "line": 430, + "column": 9 + }, + "end": { + "line": 430, + "column": 13 + }, + "identifierName": "node" + }, + "name": "node" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 14711, + "end": 14734, + "loc": { + "start": { + "line": 430, + "column": 15 + }, + "end": { + "line": 432, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 14721, + "end": 14728, + "loc": { + "start": { + "line": 431, + "column": 8 + }, + "end": { + "line": 431, + "column": 15 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 14739, + "end": 14782, + "loc": { + "start": { + "line": 433, + "column": 4 + }, + "end": { + "line": 435, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 14743, + "end": 14752, + "loc": { + "start": { + "line": 433, + "column": 8 + }, + "end": { + "line": 433, + "column": 17 + } }, "object": { "type": "Identifier", - "start": 15230, - "end": 15234, + "start": 14743, + "end": 14747, "loc": { "start": { - "line": 457, + "line": 433, "column": 8 }, "end": { - "line": 457, + "line": 433, "column": 12 }, "identifierName": "node" @@ -26799,546 +26398,786 @@ }, "property": { "type": "Identifier", - "start": 15235, - "end": 15243, + "start": 14748, + "end": 14752, "loc": { "start": { - "line": 457, + "line": 433, "column": 13 }, "end": { - "line": 457, - "column": 21 + "line": 433, + "column": 17 }, - "identifierName": "rotation" + "identifierName": "name" }, - "name": "rotation" + "name": "name" }, "computed": false }, "consequent": { "type": "BlockStatement", - "start": 15245, - "end": 15464, + "start": 14754, + "end": 14782, "loc": { "start": { - "line": 457, - "column": 23 + "line": 433, + "column": 19 }, "end": { - "line": 464, + "line": 435, "column": 5 } }, "body": [ { - "type": "ExpressionStatement", - "start": 15255, - "end": 15306, + "type": "ReturnStatement", + "start": 14764, + "end": 14776, "loc": { "start": { - "line": 458, + "line": 434, "column": 8 }, "end": { - "line": 458, - "column": 59 + "line": 434, + "column": 20 } }, - "expression": { - "type": "AssignmentExpression", - "start": 15255, - "end": 15305, + "argument": { + "type": "BooleanLiteral", + "start": 14771, + "end": 14775, "loc": { "start": { - "line": 458, - "column": 8 + "line": 434, + "column": 15 }, "end": { - "line": 458, - "column": 58 + "line": 434, + "column": 19 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 15255, - "end": 15266, - "loc": { - "start": { - "line": 458, - "column": 8 - }, - "end": { - "line": 458, - "column": 19 - }, - "identifierName": "localMatrix" - }, - "name": "localMatrix" + "value": true + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 14787, + "end": 15072, + "loc": { + "start": { + "line": 436, + "column": 4 + }, + "end": { + "line": 444, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 14791, + "end": 14804, + "loc": { + "start": { + "line": 436, + "column": 8 + }, + "end": { + "line": 436, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 14791, + "end": 14795, + "loc": { + "start": { + "line": 436, + "column": 8 + }, + "end": { + "line": 436, + "column": 12 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 14796, + "end": 14804, + "loc": { + "start": { + "line": 436, + "column": 13 + }, + "end": { + "line": 436, + "column": 21 + }, + "identifierName": "children" + }, + "name": "children" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 14806, + "end": 15072, + "loc": { + "start": { + "line": 436, + "column": 23 + }, + "end": { + "line": 444, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 14816, + "end": 14847, + "loc": { + "start": { + "line": 437, + "column": 8 }, - "right": { - "type": "CallExpression", - "start": 15269, - "end": 15305, + "end": { + "line": 437, + "column": 39 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14822, + "end": 14846, "loc": { "start": { - "line": 458, - "column": 22 + "line": 437, + "column": 14 }, "end": { - "line": 458, - "column": 58 + "line": 437, + "column": 38 } }, - "callee": { - "type": "MemberExpression", - "start": 15269, - "end": 15290, + "id": { + "type": "Identifier", + "start": 14822, + "end": 14830, "loc": { "start": { - "line": 458, + "line": 437, + "column": 14 + }, + "end": { + "line": 437, "column": 22 }, + "identifierName": "children" + }, + "name": "children" + }, + "init": { + "type": "MemberExpression", + "start": 14833, + "end": 14846, + "loc": { + "start": { + "line": 437, + "column": 25 + }, "end": { - "line": 458, - "column": 43 + "line": 437, + "column": 38 } }, "object": { "type": "Identifier", - "start": 15269, - "end": 15273, + "start": 14833, + "end": 14837, "loc": { "start": { - "line": 458, - "column": 22 + "line": 437, + "column": 25 }, "end": { - "line": 458, - "column": 26 + "line": 437, + "column": 29 }, - "identifierName": "math" + "identifierName": "node" }, - "name": "math" + "name": "node" }, "property": { "type": "Identifier", - "start": 15274, - "end": 15290, + "start": 14838, + "end": 14846, "loc": { "start": { - "line": 458, - "column": 27 + "line": 437, + "column": 30 }, "end": { - "line": 458, - "column": 43 + "line": 437, + "column": 38 }, - "identifierName": "quaternionToMat4" + "identifierName": "children" }, - "name": "quaternionToMat4" + "name": "children" }, "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ForStatement", + "start": 14856, + "end": 15066, + "loc": { + "start": { + "line": 438, + "column": 8 + }, + "end": { + "line": 443, + "column": 9 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 14861, + "end": 14893, + "loc": { + "start": { + "line": 438, + "column": 13 }, - "arguments": [ - { + "end": { + "line": 438, + "column": 45 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14865, + "end": 14870, + "loc": { + "start": { + "line": 438, + "column": 17 + }, + "end": { + "line": 438, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 14865, + "end": 14866, + "loc": { + "start": { + "line": 438, + "column": 17 + }, + "end": { + "line": 438, + "column": 18 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 14869, + "end": 14870, + "loc": { + "start": { + "line": 438, + "column": 21 + }, + "end": { + "line": 438, + "column": 22 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + { + "type": "VariableDeclarator", + "start": 14872, + "end": 14893, + "loc": { + "start": { + "line": 438, + "column": 24 + }, + "end": { + "line": 438, + "column": 45 + } + }, + "id": { + "type": "Identifier", + "start": 14872, + "end": 14875, + "loc": { + "start": { + "line": 438, + "column": 24 + }, + "end": { + "line": 438, + "column": 27 + }, + "identifierName": "len" + }, + "name": "len" + }, + "init": { "type": "MemberExpression", - "start": 15291, - "end": 15304, + "start": 14878, + "end": 14893, "loc": { "start": { - "line": 458, - "column": 44 + "line": 438, + "column": 30 }, "end": { - "line": 458, - "column": 57 + "line": 438, + "column": 45 } }, "object": { "type": "Identifier", - "start": 15291, - "end": 15295, + "start": 14878, + "end": 14886, "loc": { "start": { - "line": 458, - "column": 44 + "line": 438, + "column": 30 }, "end": { - "line": 458, - "column": 48 + "line": 438, + "column": 38 }, - "identifierName": "node" + "identifierName": "children" }, - "name": "node" + "name": "children" }, "property": { "type": "Identifier", - "start": 15296, - "end": 15304, + "start": 14887, + "end": 14893, "loc": { "start": { - "line": 458, - "column": 49 + "line": 438, + "column": 39 }, "end": { - "line": 458, - "column": 57 + "line": 438, + "column": 45 }, - "identifierName": "rotation" + "identifierName": "length" }, - "name": "rotation" + "name": "length" }, "computed": false } - ] - } - } - }, - { - "type": "IfStatement", - "start": 15315, - "end": 15458, - "loc": { - "start": { - "line": 459, - "column": 8 - }, - "end": { - "line": 463, - "column": 9 - } + } + ], + "kind": "let" }, "test": { - "type": "Identifier", - "start": 15319, - "end": 15325, + "type": "BinaryExpression", + "start": 14895, + "end": 14902, "loc": { "start": { - "line": 459, - "column": 12 + "line": 438, + "column": 47 }, "end": { - "line": 459, - "column": 18 + "line": 438, + "column": 54 + } + }, + "left": { + "type": "Identifier", + "start": 14895, + "end": 14896, + "loc": { + "start": { + "line": 438, + "column": 47 + }, + "end": { + "line": 438, + "column": 48 + }, + "identifierName": "i" }, - "identifierName": "matrix" + "name": "i" }, - "name": "matrix" + "operator": "<", + "right": { + "type": "Identifier", + "start": 14899, + "end": 14902, + "loc": { + "start": { + "line": 438, + "column": 51 + }, + "end": { + "line": 438, + "column": 54 + }, + "identifierName": "len" + }, + "name": "len" + } }, - "consequent": { + "update": { + "type": "UpdateExpression", + "start": 14904, + "end": 14907, + "loc": { + "start": { + "line": 438, + "column": 56 + }, + "end": { + "line": 438, + "column": 59 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 14904, + "end": 14905, + "loc": { + "start": { + "line": 438, + "column": 56 + }, + "end": { + "line": 438, + "column": 57 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { "type": "BlockStatement", - "start": 15327, - "end": 15407, + "start": 14909, + "end": 15066, "loc": { "start": { - "line": 459, - "column": 20 + "line": 438, + "column": 61 }, "end": { - "line": 461, + "line": 443, "column": 9 } }, "body": [ { - "type": "ExpressionStatement", - "start": 15341, - "end": 15397, + "type": "VariableDeclaration", + "start": 14923, + "end": 14953, "loc": { "start": { - "line": 460, + "line": 439, "column": 12 }, "end": { - "line": 460, - "column": 68 + "line": 439, + "column": 42 } }, - "expression": { - "type": "AssignmentExpression", - "start": 15341, - "end": 15396, - "loc": { - "start": { - "line": 460, - "column": 12 - }, - "end": { - "line": 460, - "column": 67 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 15341, - "end": 15347, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 14929, + "end": 14952, "loc": { "start": { - "line": 460, - "column": 12 - }, - "end": { - "line": 460, + "line": 439, "column": 18 }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - "right": { - "type": "CallExpression", - "start": 15350, - "end": 15396, - "loc": { - "start": { - "line": 460, - "column": 21 - }, "end": { - "line": 460, - "column": 67 + "line": 439, + "column": 41 } }, - "callee": { + "id": { + "type": "Identifier", + "start": 14929, + "end": 14938, + "loc": { + "start": { + "line": 439, + "column": 18 + }, + "end": { + "line": 439, + "column": 27 + }, + "identifierName": "childNode" + }, + "name": "childNode" + }, + "init": { "type": "MemberExpression", - "start": 15350, - "end": 15362, + "start": 14941, + "end": 14952, "loc": { "start": { - "line": 460, - "column": 21 + "line": 439, + "column": 30 }, "end": { - "line": 460, - "column": 33 + "line": 439, + "column": 41 } }, "object": { "type": "Identifier", - "start": 15350, - "end": 15354, + "start": 14941, + "end": 14949, "loc": { "start": { - "line": 460, - "column": 21 + "line": 439, + "column": 30 }, "end": { - "line": 460, - "column": 25 + "line": 439, + "column": 38 }, - "identifierName": "math" + "identifierName": "children" }, - "name": "math" + "name": "children" }, "property": { "type": "Identifier", - "start": 15355, - "end": 15362, - "loc": { - "start": { - "line": 460, - "column": 26 - }, - "end": { - "line": 460, - "column": 33 - }, - "identifierName": "mulMat4" - }, - "name": "mulMat4" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 15363, - "end": 15369, + "start": 14950, + "end": 14951, "loc": { "start": { - "line": 460, - "column": 34 + "line": 439, + "column": 39 }, "end": { - "line": 460, + "line": 439, "column": 40 }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - { - "type": "Identifier", - "start": 15371, - "end": 15382, - "loc": { - "start": { - "line": 460, - "column": 42 - }, - "end": { - "line": 460, - "column": 53 - }, - "identifierName": "localMatrix" + "identifierName": "i" }, - "name": "localMatrix" + "name": "i" }, - { - "type": "CallExpression", - "start": 15384, - "end": 15395, - "loc": { - "start": { - "line": 460, - "column": 55 - }, - "end": { - "line": 460, - "column": 66 - } - }, - "callee": { - "type": "MemberExpression", - "start": 15384, - "end": 15393, - "loc": { - "start": { - "line": 460, - "column": 55 - }, - "end": { - "line": 460, - "column": 64 - } - }, - "object": { - "type": "Identifier", - "start": 15384, - "end": 15388, - "loc": { - "start": { - "line": 460, - "column": 55 - }, - "end": { - "line": 460, - "column": 59 - }, - "identifierName": "math" - }, - "name": "math" - }, - "property": { - "type": "Identifier", - "start": 15389, - "end": 15393, - "loc": { - "start": { - "line": 460, - "column": 60 - }, - "end": { - "line": 460, - "column": 64 - }, - "identifierName": "mat4" - }, - "name": "mat4" - }, - "computed": false - }, - "arguments": [] - } - ] + "computed": true + } } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 15413, - "end": 15458, - "loc": { - "start": { - "line": 461, - "column": 15 + ], + "kind": "const" }, - "end": { - "line": 463, - "column": 9 - } - }, - "body": [ { - "type": "ExpressionStatement", - "start": 15427, - "end": 15448, + "type": "IfStatement", + "start": 14966, + "end": 15056, "loc": { "start": { - "line": 462, + "line": 440, "column": 12 }, "end": { - "line": 462, - "column": 33 + "line": 442, + "column": 13 } }, - "expression": { - "type": "AssignmentExpression", - "start": 15427, - "end": 15447, + "test": { + "type": "CallExpression", + "start": 14970, + "end": 15010, "loc": { "start": { - "line": 462, - "column": 12 + "line": 440, + "column": 16 }, "end": { - "line": 462, - "column": 32 + "line": 440, + "column": 56 } }, - "operator": "=", - "left": { + "callee": { "type": "Identifier", - "start": 15427, - "end": 15433, + "start": 14970, + "end": 14990, "loc": { "start": { - "line": 462, - "column": 12 + "line": 440, + "column": 16 }, "end": { - "line": 462, - "column": 18 + "line": 440, + "column": 36 }, - "identifierName": "matrix" + "identifierName": "testIfNodesHaveNames" }, - "name": "matrix" + "name": "testIfNodesHaveNames" }, - "right": { - "type": "Identifier", - "start": 15436, - "end": 15447, - "loc": { - "start": { - "line": 462, - "column": 21 + "arguments": [ + { + "type": "Identifier", + "start": 14991, + "end": 15000, + "loc": { + "start": { + "line": 440, + "column": 37 + }, + "end": { + "line": 440, + "column": 46 + }, + "identifierName": "childNode" }, - "end": { - "line": 462, - "column": 32 + "name": "childNode" + }, + { + "type": "BinaryExpression", + "start": 15002, + "end": 15009, + "loc": { + "start": { + "line": 440, + "column": 48 + }, + "end": { + "line": 440, + "column": 55 + } }, - "identifierName": "localMatrix" + "left": { + "type": "Identifier", + "start": 15002, + "end": 15007, + "loc": { + "start": { + "line": 440, + "column": 48 + }, + "end": { + "line": 440, + "column": 53 + }, + "identifierName": "level" + }, + "name": "level" + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 15008, + "end": 15009, + "loc": { + "start": { + "line": 440, + "column": 54 + }, + "end": { + "line": 440, + "column": 55 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ] + }, + "consequent": { + "type": "BlockStatement", + "start": 15012, + "end": 15056, + "loc": { + "start": { + "line": 440, + "column": 58 }, - "name": "localMatrix" - } - } + "end": { + "line": 442, + "column": 13 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 15030, + "end": 15042, + "loc": { + "start": { + "line": 441, + "column": 16 + }, + "end": { + "line": 441, + "column": 28 + } + }, + "argument": { + "type": "BooleanLiteral", + "start": 15037, + "end": 15041, + "loc": { + "start": { + "line": 441, + "column": 23 + }, + "end": { + "line": 441, + "column": 27 + } + }, + "value": true + } + } + ], + "directives": [] + }, + "alternate": null } ], "directives": [] @@ -27350,4727 +27189,3845 @@ "alternate": null }, { - "type": "IfStatement", - "start": 15469, - "end": 15697, + "type": "ReturnStatement", + "start": 15077, + "end": 15090, "loc": { "start": { - "line": 465, + "line": 445, "column": 4 }, "end": { - "line": 472, - "column": 5 + "line": 445, + "column": 17 } }, - "test": { - "type": "MemberExpression", - "start": 15473, - "end": 15483, + "argument": { + "type": "BooleanLiteral", + "start": 15084, + "end": 15089, "loc": { "start": { - "line": 465, - "column": 8 + "line": 445, + "column": 11 }, "end": { - "line": 465, - "column": 18 + "line": 445, + "column": 16 } }, - "object": { - "type": "Identifier", - "start": 15473, - "end": 15477, - "loc": { - "start": { - "line": 465, - "column": 8 - }, - "end": { - "line": 465, - "column": 12 - }, - "identifierName": "node" - }, - "name": "node" + "value": false + } + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Parses a glTF node hierarchy that is known to NOT contain \"name\" attributes on the nodes.\n * Create a XKTMesh for each mesh primitive, and a single XKTEntity.\n ", + "start": 15094, + "end": 15263, + "loc": { + "start": { + "line": 448, + "column": 0 + }, + "end": { + "line": 451, + "column": 3 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 15264, + "end": 16294, + "loc": { + "start": { + "line": 452, + "column": 0 + }, + "end": { + "line": 484, + "column": 5 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15270, + "end": 16293, + "loc": { + "start": { + "line": 452, + "column": 6 + }, + "end": { + "line": 484, + "column": 4 + } + }, + "id": { + "type": "Identifier", + "start": 15270, + "end": 15292, + "loc": { + "start": { + "line": 452, + "column": 6 }, - "property": { - "type": "Identifier", - "start": 15478, - "end": 15483, - "loc": { - "start": { - "line": 465, - "column": 13 - }, - "end": { - "line": 465, - "column": 18 - }, - "identifierName": "scale" - }, - "name": "scale" + "end": { + "line": 452, + "column": 28 }, - "computed": false + "identifierName": "parseNodesWithoutNames" }, - "consequent": { - "type": "BlockStatement", - "start": 15485, - "end": 15697, + "name": "parseNodesWithoutNames", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 15295, + "end": 16293, + "loc": { + "start": { + "line": 452, + "column": 31 + }, + "end": { + "line": 484, + "column": 4 + } + }, + "callee": { + "type": "FunctionExpression", + "start": 15296, + "end": 16290, "loc": { "start": { - "line": 465, - "column": 20 + "line": 452, + "column": 32 }, "end": { - "line": 472, - "column": 5 + "line": 484, + "column": 1 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 15495, - "end": 15539, - "loc": { - "start": { - "line": 466, - "column": 8 - }, - "end": { - "line": 466, - "column": 52 - } + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 15308, + "end": 16290, + "loc": { + "start": { + "line": 452, + "column": 44 }, - "expression": { - "type": "AssignmentExpression", - "start": 15495, - "end": 15538, + "end": { + "line": 484, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 15315, + "end": 15334, "loc": { "start": { - "line": 466, - "column": 8 + "line": 454, + "column": 4 }, "end": { - "line": 466, - "column": 51 + "line": 454, + "column": 23 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 15495, - "end": 15506, - "loc": { - "start": { - "line": 466, - "column": 8 - }, - "end": { - "line": 466, - "column": 19 - }, - "identifierName": "localMatrix" - }, - "name": "localMatrix" - }, - "right": { - "type": "CallExpression", - "start": 15509, - "end": 15538, - "loc": { - "start": { - "line": 466, - "column": 22 - }, - "end": { - "line": 466, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 15509, - "end": 15526, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15321, + "end": 15333, "loc": { "start": { - "line": 466, - "column": 22 + "line": 454, + "column": 10 }, "end": { - "line": 466, - "column": 39 + "line": 454, + "column": 22 } }, - "object": { + "id": { "type": "Identifier", - "start": 15509, - "end": 15513, + "start": 15321, + "end": 15328, "loc": { "start": { - "line": 466, - "column": 22 + "line": 454, + "column": 10 }, "end": { - "line": 466, - "column": 26 + "line": 454, + "column": 17 }, - "identifierName": "math" + "identifierName": "meshIds" }, - "name": "math" + "name": "meshIds" }, - "property": { - "type": "Identifier", - "start": 15514, - "end": 15526, + "init": { + "type": "ArrayExpression", + "start": 15331, + "end": 15333, "loc": { "start": { - "line": 466, - "column": 27 + "line": 454, + "column": 20 }, "end": { - "line": 466, - "column": 39 - }, - "identifierName": "scalingMat4v" + "line": 454, + "column": 22 + } }, - "name": "scalingMat4v" + "elements": [] + } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 15340, + "end": 16288, + "loc": { + "start": { + "line": 456, + "column": 4 + }, + "end": { + "line": 483, + "column": 5 + } + }, + "argument": { + "type": "FunctionExpression", + "start": 15347, + "end": 16288, + "loc": { + "start": { + "line": 456, + "column": 11 }, - "computed": false + "end": { + "line": 483, + "column": 5 + } }, - "arguments": [ + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "MemberExpression", - "start": 15527, - "end": 15537, + "type": "Identifier", + "start": 15357, + "end": 15360, "loc": { "start": { - "line": 466, - "column": 40 + "line": 456, + "column": 21 }, "end": { - "line": 466, - "column": 50 - } - }, - "object": { - "type": "Identifier", - "start": 15527, - "end": 15531, - "loc": { - "start": { - "line": 466, - "column": 40 - }, - "end": { - "line": 466, - "column": 44 - }, - "identifierName": "node" + "line": 456, + "column": 24 }, - "name": "node" + "identifierName": "ctx" }, - "property": { - "type": "Identifier", - "start": 15532, - "end": 15537, - "loc": { - "start": { - "line": 466, - "column": 45 - }, - "end": { - "line": 466, - "column": 50 - }, - "identifierName": "scale" + "name": "ctx" + }, + { + "type": "Identifier", + "start": 15362, + "end": 15366, + "loc": { + "start": { + "line": 456, + "column": 26 }, - "name": "scale" - }, - "computed": false - } - ] - } - } - }, - { - "type": "IfStatement", - "start": 15548, - "end": 15691, - "loc": { - "start": { - "line": 467, - "column": 8 - }, - "end": { - "line": 471, - "column": 9 - } - }, - "test": { - "type": "Identifier", - "start": 15552, - "end": 15558, - "loc": { - "start": { - "line": 467, - "column": 12 - }, - "end": { - "line": 467, - "column": 18 - }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - "consequent": { - "type": "BlockStatement", - "start": 15560, - "end": 15640, - "loc": { - "start": { - "line": 467, - "column": 20 - }, - "end": { - "line": 469, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 15574, - "end": 15630, - "loc": { - "start": { - "line": 468, - "column": 12 + "end": { + "line": 456, + "column": 30 + }, + "identifierName": "node" }, - "end": { - "line": 468, - "column": 68 - } + "name": "node" }, - "expression": { - "type": "AssignmentExpression", - "start": 15574, - "end": 15629, + { + "type": "Identifier", + "start": 15368, + "end": 15373, "loc": { "start": { - "line": 468, - "column": 12 + "line": 456, + "column": 32 }, "end": { - "line": 468, - "column": 67 - } + "line": 456, + "column": 37 + }, + "identifierName": "depth" }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 15574, - "end": 15580, - "loc": { - "start": { - "line": 468, - "column": 12 - }, - "end": { - "line": 468, - "column": 18 - }, - "identifierName": "matrix" + "name": "depth" + }, + { + "type": "Identifier", + "start": 15375, + "end": 15381, + "loc": { + "start": { + "line": 456, + "column": 39 }, - "name": "matrix" + "end": { + "line": 456, + "column": 45 + }, + "identifierName": "matrix" }, - "right": { - "type": "CallExpression", - "start": 15583, - "end": 15629, + "name": "matrix" + } + ], + "body": { + "type": "BlockStatement", + "start": 15383, + "end": 16288, + "loc": { + "start": { + "line": 456, + "column": 47 + }, + "end": { + "line": 483, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 15393, + "end": 15435, "loc": { "start": { - "line": 468, - "column": 21 + "line": 457, + "column": 8 }, "end": { - "line": 468, - "column": 67 + "line": 459, + "column": 9 } }, - "callee": { - "type": "MemberExpression", - "start": 15583, - "end": 15595, + "test": { + "type": "UnaryExpression", + "start": 15397, + "end": 15402, "loc": { "start": { - "line": 468, - "column": 21 + "line": 457, + "column": 12 }, "end": { - "line": 468, - "column": 33 + "line": 457, + "column": 17 } }, - "object": { + "operator": "!", + "prefix": true, + "argument": { "type": "Identifier", - "start": 15583, - "end": 15587, + "start": 15398, + "end": 15402, "loc": { "start": { - "line": 468, - "column": 21 + "line": 457, + "column": 13 }, "end": { - "line": 468, - "column": 25 + "line": 457, + "column": 17 }, - "identifierName": "math" + "identifierName": "node" }, - "name": "math" + "name": "node" }, - "property": { - "type": "Identifier", - "start": 15588, - "end": 15595, - "loc": { - "start": { - "line": 468, - "column": 26 - }, - "end": { - "line": 468, - "column": 33 - }, - "identifierName": "mulMat4" + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 15404, + "end": 15435, + "loc": { + "start": { + "line": 457, + "column": 19 }, - "name": "mulMat4" + "end": { + "line": 459, + "column": 9 + } }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 15596, - "end": 15602, - "loc": { - "start": { - "line": 468, - "column": 34 - }, - "end": { - "line": 468, - "column": 40 + "body": [ + { + "type": "ReturnStatement", + "start": 15418, + "end": 15425, + "loc": { + "start": { + "line": 458, + "column": 12 + }, + "end": { + "line": 458, + "column": 19 + } }, - "identifierName": "matrix" + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 15444, + "end": 15483, + "loc": { + "start": { + "line": 460, + "column": 8 + }, + "end": { + "line": 460, + "column": 47 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 15444, + "end": 15482, + "loc": { + "start": { + "line": 460, + "column": 8 }, - "name": "matrix" + "end": { + "line": 460, + "column": 46 + } }, - { + "operator": "=", + "left": { "type": "Identifier", - "start": 15604, - "end": 15615, + "start": 15444, + "end": 15450, "loc": { "start": { - "line": 468, - "column": 42 + "line": 460, + "column": 8 }, "end": { - "line": 468, - "column": 53 + "line": 460, + "column": 14 }, - "identifierName": "localMatrix" + "identifierName": "matrix" }, - "name": "localMatrix" + "name": "matrix" }, - { + "right": { "type": "CallExpression", - "start": 15617, - "end": 15628, + "start": 15453, + "end": 15482, "loc": { "start": { - "line": 468, - "column": 55 + "line": 460, + "column": 17 }, "end": { - "line": 468, - "column": 66 + "line": 460, + "column": 46 } }, "callee": { - "type": "MemberExpression", - "start": 15617, - "end": 15626, + "type": "Identifier", + "start": 15453, + "end": 15468, "loc": { "start": { - "line": 468, - "column": 55 + "line": 460, + "column": 17 }, "end": { - "line": 468, - "column": 64 - } + "line": 460, + "column": 32 + }, + "identifierName": "parseNodeMatrix" }, - "object": { + "name": "parseNodeMatrix" + }, + "arguments": [ + { "type": "Identifier", - "start": 15617, - "end": 15621, + "start": 15469, + "end": 15473, "loc": { "start": { - "line": 468, - "column": 55 + "line": 460, + "column": 33 }, "end": { - "line": 468, - "column": 59 + "line": 460, + "column": 37 }, - "identifierName": "math" + "identifierName": "node" }, - "name": "math" + "name": "node" }, - "property": { + { "type": "Identifier", - "start": 15622, - "end": 15626, + "start": 15475, + "end": 15481, "loc": { "start": { - "line": 468, - "column": 60 + "line": 460, + "column": 39 }, "end": { - "line": 468, - "column": 64 + "line": 460, + "column": 45 }, - "identifierName": "mat4" + "identifierName": "matrix" }, - "name": "mat4" - }, - "computed": false - }, - "arguments": [] + "name": "matrix" + } + ] } - ] - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 15646, - "end": 15691, - "loc": { - "start": { - "line": 469, - "column": 15 - }, - "end": { - "line": 471, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 15660, - "end": 15681, - "loc": { - "start": { - "line": 470, - "column": 12 - }, - "end": { - "line": 470, - "column": 33 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 15660, - "end": 15680, - "loc": { - "start": { - "line": 470, - "column": 12 - }, - "end": { - "line": 470, - "column": 32 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 15660, - "end": 15666, + { + "type": "IfStatement", + "start": 15492, + "end": 15573, "loc": { "start": { - "line": 470, - "column": 12 + "line": 461, + "column": 8 }, "end": { - "line": 470, - "column": 18 + "line": 463, + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 15496, + "end": 15505, + "loc": { + "start": { + "line": 461, + "column": 12 + }, + "end": { + "line": 461, + "column": 21 + } }, - "identifierName": "matrix" + "object": { + "type": "Identifier", + "start": 15496, + "end": 15500, + "loc": { + "start": { + "line": 461, + "column": 12 + }, + "end": { + "line": 461, + "column": 16 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 15501, + "end": 15505, + "loc": { + "start": { + "line": 461, + "column": 17 + }, + "end": { + "line": 461, + "column": 21 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "computed": false }, - "name": "matrix" + "consequent": { + "type": "BlockStatement", + "start": 15507, + "end": 15573, + "loc": { + "start": { + "line": 461, + "column": 23 + }, + "end": { + "line": 463, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 15521, + "end": 15563, + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 54 + } + }, + "expression": { + "type": "CallExpression", + "start": 15521, + "end": 15562, + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 53 + } + }, + "callee": { + "type": "Identifier", + "start": 15521, + "end": 15534, + "loc": { + "start": { + "line": 462, + "column": 12 + }, + "end": { + "line": 462, + "column": 25 + }, + "identifierName": "parseNodeMesh" + }, + "name": "parseNodeMesh" + }, + "arguments": [ + { + "type": "Identifier", + "start": 15535, + "end": 15539, + "loc": { + "start": { + "line": 462, + "column": 26 + }, + "end": { + "line": 462, + "column": 30 + }, + "identifierName": "node" + }, + "name": "node" + }, + { + "type": "Identifier", + "start": 15541, + "end": 15544, + "loc": { + "start": { + "line": 462, + "column": 32 + }, + "end": { + "line": 462, + "column": 35 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + { + "type": "Identifier", + "start": 15546, + "end": 15552, + "loc": { + "start": { + "line": 462, + "column": 37 + }, + "end": { + "line": 462, + "column": 43 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + { + "type": "Identifier", + "start": 15554, + "end": 15561, + "loc": { + "start": { + "line": 462, + "column": 45 + }, + "end": { + "line": 462, + "column": 52 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null }, - "right": { - "type": "Identifier", - "start": 15669, - "end": 15680, + { + "type": "IfStatement", + "start": 15582, + "end": 15859, "loc": { "start": { - "line": 470, - "column": 21 + "line": 464, + "column": 8 }, "end": { "line": 470, - "column": 32 + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 15586, + "end": 15599, + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 464, + "column": 25 + } }, - "identifierName": "localMatrix" + "object": { + "type": "Identifier", + "start": 15586, + "end": 15590, + "loc": { + "start": { + "line": 464, + "column": 12 + }, + "end": { + "line": 464, + "column": 16 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 15591, + "end": 15599, + "loc": { + "start": { + "line": 464, + "column": 17 + }, + "end": { + "line": 464, + "column": 25 + }, + "identifierName": "children" + }, + "name": "children" + }, + "computed": false }, - "name": "localMatrix" - } - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 15703, - "end": 16214, - "loc": { - "start": { - "line": 474, - "column": 4 - }, - "end": { - "line": 485, - "column": 5 - } - }, - "test": { - "type": "MemberExpression", - "start": 15707, - "end": 15716, - "loc": { - "start": { - "line": 474, - "column": 8 - }, - "end": { - "line": 474, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 15707, - "end": 15711, - "loc": { - "start": { - "line": 474, - "column": 8 - }, - "end": { - "line": 474, - "column": 12 - }, - "identifierName": "node" - }, - "name": "node" - }, - "property": { - "type": "Identifier", - "start": 15712, - "end": 15716, - "loc": { - "start": { - "line": 474, - "column": 13 - }, - "end": { - "line": 474, - "column": 17 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 15718, - "end": 16214, - "loc": { - "start": { - "line": 474, - "column": 19 - }, - "end": { - "line": 485, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 15728, - "end": 15741, - "loc": { - "start": { - "line": 475, - "column": 8 - }, - "end": { - "line": 475, - "column": 21 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 15728, - "end": 15740, - "loc": { - "start": { - "line": 475, - "column": 8 - }, - "end": { - "line": 475, - "column": 20 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 15728, - "end": 15735, - "loc": { - "start": { - "line": 475, - "column": 8 - }, - "end": { - "line": 475, - "column": 15 - }, - "identifierName": "meshIds" - }, - "name": "meshIds" - }, - "right": { - "type": "ArrayExpression", - "start": 15738, - "end": 15740, - "loc": { - "start": { - "line": 475, - "column": 18 - }, - "end": { - "line": 475, - "column": 20 - } - }, - "elements": [] - } - } - }, - { - "type": "VariableDeclaration", - "start": 15750, - "end": 15778, - "loc": { - "start": { - "line": 476, - "column": 8 - }, - "end": { - "line": 476, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 15754, - "end": 15777, - "loc": { - "start": { - "line": 476, - "column": 12 - }, - "end": { - "line": 476, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 15754, - "end": 15765, - "loc": { - "start": { - "line": 476, - "column": 12 - }, - "end": { - "line": 476, - "column": 23 - }, - "identifierName": "xktEntityId" - }, - "name": "xktEntityId" - }, - "init": { - "type": "MemberExpression", - "start": 15768, - "end": 15777, - "loc": { - "start": { - "line": 476, - "column": 26 - }, - "end": { - "line": 476, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 15768, - "end": 15772, - "loc": { - "start": { - "line": 476, - "column": 26 - }, - "end": { - "line": 476, - "column": 30 - }, - "identifierName": "node" - }, - "name": "node" - }, - "property": { - "type": "Identifier", - "start": 15773, - "end": 15777, - "loc": { - "start": { - "line": 476, - "column": 31 - }, - "end": { - "line": 476, - "column": 35 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 15787, - "end": 16004, - "loc": { - "start": { - "line": 477, - "column": 8 - }, - "end": { - "line": 479, - "column": 9 - } - }, - "test": { - "type": "LogicalExpression", - "start": 15791, - "end": 15838, - "loc": { - "start": { - "line": 477, - "column": 12 - }, - "end": { - "line": 477, - "column": 59 - } - }, - "left": { - "type": "UnaryExpression", - "start": 15791, - "end": 15804, - "loc": { - "start": { - "line": 477, - "column": 12 - }, - "end": { - "line": 477, - "column": 25 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "UnaryExpression", - "start": 15792, - "end": 15804, - "loc": { - "start": { - "line": 477, - "column": 13 - }, - "end": { - "line": 477, - "column": 25 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 15793, - "end": 15804, - "loc": { - "start": { - "line": 477, - "column": 14 - }, - "end": { - "line": 477, - "column": 25 - }, - "identifierName": "xktEntityId" - }, - "name": "xktEntityId" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "&&", - "right": { - "type": "MemberExpression", - "start": 15808, - "end": 15838, - "loc": { - "start": { - "line": 477, - "column": 29 - }, - "end": { - "line": 477, - "column": 59 - } - }, - "object": { - "type": "MemberExpression", - "start": 15808, - "end": 15825, - "loc": { - "start": { - "line": 477, - "column": 29 - }, - "end": { - "line": 477, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 15808, - "end": 15816, - "loc": { - "start": { - "line": 477, - "column": 29 - }, - "end": { - "line": 477, - "column": 37 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 15817, - "end": 15825, - "loc": { - "start": { - "line": 477, - "column": 38 - }, - "end": { - "line": 477, - "column": 46 - }, - "identifierName": "entities" - }, - "name": "entities" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15826, - "end": 15837, - "loc": { - "start": { - "line": 477, - "column": 47 - }, - "end": { - "line": 477, - "column": 58 - }, - "identifierName": "xktEntityId" - }, - "name": "xktEntityId" - }, - "computed": true - } - }, - "consequent": { - "type": "BlockStatement", - "start": 15840, - "end": 16004, - "loc": { - "start": { - "line": 477, - "column": 61 - }, - "end": { - "line": 479, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 15854, - "end": 15994, - "loc": { - "start": { - "line": 478, - "column": 12 - }, - "end": { - "line": 478, - "column": 152 - } - }, - "expression": { - "type": "CallExpression", - "start": 15854, - "end": 15993, - "loc": { - "start": { - "line": 478, - "column": 12 - }, - "end": { - "line": 478, - "column": 151 - } - }, - "callee": { - "type": "MemberExpression", - "start": 15854, - "end": 15861, - "loc": { - "start": { - "line": 478, - "column": 12 - }, - "end": { - "line": 478, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 15854, - "end": 15857, - "loc": { - "start": { - "line": 478, - "column": 12 - }, - "end": { - "line": 478, - "column": 15 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - "property": { - "type": "Identifier", - "start": 15858, - "end": 15861, - "loc": { - "start": { - "line": 478, - "column": 16 - }, - "end": { - "line": 478, - "column": 19 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 15862, - "end": 15992, + "consequent": { + "type": "BlockStatement", + "start": 15601, + "end": 15859, "loc": { "start": { - "line": 478, - "column": 20 + "line": 464, + "column": 27 }, "end": { - "line": 478, - "column": 150 + "line": 470, + "column": 9 } }, - "expressions": [ - { - "type": "Identifier", - "start": 15932, - "end": 15943, - "loc": { - "start": { - "line": 478, - "column": 90 - }, - "end": { - "line": 478, - "column": 101 - }, - "identifierName": "xktEntityId" - }, - "name": "xktEntityId" - } - ], - "quasis": [ + "body": [ { - "type": "TemplateElement", - "start": 15863, - "end": 15930, + "type": "VariableDeclaration", + "start": 15615, + "end": 15646, "loc": { "start": { - "line": 478, - "column": 21 + "line": 465, + "column": 12 }, "end": { - "line": 478, - "column": 88 + "line": 465, + "column": 43 } }, - "value": { - "raw": "Warning: Two or more glTF nodes found with same 'name' attribute: '", - "cooked": "Warning: Two or more glTF nodes found with same 'name' attribute: '" - }, - "tail": false + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15621, + "end": 15645, + "loc": { + "start": { + "line": 465, + "column": 18 + }, + "end": { + "line": 465, + "column": 42 + } + }, + "id": { + "type": "Identifier", + "start": 15621, + "end": 15629, + "loc": { + "start": { + "line": 465, + "column": 18 + }, + "end": { + "line": 465, + "column": 26 + }, + "identifierName": "children" + }, + "name": "children" + }, + "init": { + "type": "MemberExpression", + "start": 15632, + "end": 15645, + "loc": { + "start": { + "line": 465, + "column": 29 + }, + "end": { + "line": 465, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 15632, + "end": 15636, + "loc": { + "start": { + "line": 465, + "column": 29 + }, + "end": { + "line": 465, + "column": 33 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 15637, + "end": 15645, + "loc": { + "start": { + "line": 465, + "column": 34 + }, + "end": { + "line": 465, + "column": 42 + }, + "identifierName": "children" + }, + "name": "children" + }, + "computed": false + } + } + ], + "kind": "const" }, { - "type": "TemplateElement", - "start": 15944, - "end": 15991, + "type": "ForStatement", + "start": 15659, + "end": 15849, "loc": { "start": { - "line": 478, - "column": 102 + "line": 466, + "column": 12 }, "end": { - "line": 478, - "column": 149 + "line": 469, + "column": 13 } }, - "value": { - "raw": " - will randomly-generating an object ID in XKT", - "cooked": " - will randomly-generating an object ID in XKT" - }, - "tail": true - } - ] - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "WhileStatement", - "start": 16013, - "end": 16131, - "loc": { - "start": { - "line": 480, - "column": 8 - }, - "end": { - "line": 482, - "column": 9 - } - }, - "test": { - "type": "LogicalExpression", - "start": 16020, - "end": 16066, - "loc": { - "start": { - "line": 480, - "column": 15 - }, - "end": { - "line": 480, - "column": 61 - } - }, - "left": { - "type": "UnaryExpression", - "start": 16020, - "end": 16032, - "loc": { - "start": { - "line": 480, - "column": 15 - }, - "end": { - "line": 480, - "column": 27 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 16021, - "end": 16032, - "loc": { - "start": { - "line": 480, - "column": 16 - }, - "end": { - "line": 480, - "column": 27 - }, - "identifierName": "xktEntityId" - }, - "name": "xktEntityId" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "||", - "right": { - "type": "MemberExpression", - "start": 16036, - "end": 16066, - "loc": { - "start": { - "line": 480, - "column": 31 - }, - "end": { - "line": 480, - "column": 61 - } - }, - "object": { - "type": "MemberExpression", - "start": 16036, - "end": 16053, - "loc": { - "start": { - "line": 480, - "column": 31 - }, - "end": { - "line": 480, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 16036, - "end": 16044, - "loc": { - "start": { - "line": 480, - "column": 31 - }, - "end": { - "line": 480, - "column": 39 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 16045, - "end": 16053, - "loc": { - "start": { - "line": 480, - "column": 40 - }, - "end": { - "line": 480, - "column": 48 - }, - "identifierName": "entities" - }, - "name": "entities" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16054, - "end": 16065, - "loc": { - "start": { - "line": 480, - "column": 49 - }, - "end": { - "line": 480, - "column": 60 - }, - "identifierName": "xktEntityId" - }, - "name": "xktEntityId" - }, - "computed": true - } - }, - "body": { - "type": "BlockStatement", - "start": 16068, - "end": 16131, - "loc": { - "start": { - "line": 480, - "column": 63 - }, - "end": { - "line": 482, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16082, - "end": 16121, - "loc": { - "start": { - "line": 481, - "column": 12 - }, - "end": { - "line": 481, - "column": 51 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 16082, - "end": 16120, - "loc": { - "start": { - "line": 481, - "column": 12 - }, - "end": { - "line": 481, - "column": 50 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 16082, - "end": 16093, - "loc": { - "start": { - "line": 481, - "column": 12 - }, - "end": { - "line": 481, - "column": 23 - }, - "identifierName": "xktEntityId" + "init": { + "type": "VariableDeclaration", + "start": 15664, + "end": 15696, + "loc": { + "start": { + "line": 466, + "column": 17 + }, + "end": { + "line": 466, + "column": 49 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15668, + "end": 15673, + "loc": { + "start": { + "line": 466, + "column": 21 + }, + "end": { + "line": 466, + "column": 26 + } + }, + "id": { + "type": "Identifier", + "start": 15668, + "end": 15669, + "loc": { + "start": { + "line": 466, + "column": 21 + }, + "end": { + "line": 466, + "column": 22 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 15672, + "end": 15673, + "loc": { + "start": { + "line": 466, + "column": 25 + }, + "end": { + "line": 466, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + { + "type": "VariableDeclarator", + "start": 15675, + "end": 15696, + "loc": { + "start": { + "line": 466, + "column": 28 + }, + "end": { + "line": 466, + "column": 49 + } + }, + "id": { + "type": "Identifier", + "start": 15675, + "end": 15678, + "loc": { + "start": { + "line": 466, + "column": 28 + }, + "end": { + "line": 466, + "column": 31 + }, + "identifierName": "len" + }, + "name": "len" + }, + "init": { + "type": "MemberExpression", + "start": 15681, + "end": 15696, + "loc": { + "start": { + "line": 466, + "column": 34 + }, + "end": { + "line": 466, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 15681, + "end": 15689, + "loc": { + "start": { + "line": 466, + "column": 34 + }, + "end": { + "line": 466, + "column": 42 + }, + "identifierName": "children" + }, + "name": "children" + }, + "property": { + "type": "Identifier", + "start": 15690, + "end": 15696, + "loc": { + "start": { + "line": 466, + "column": 43 + }, + "end": { + "line": 466, + "column": 49 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 15698, + "end": 15705, + "loc": { + "start": { + "line": 466, + "column": 51 + }, + "end": { + "line": 466, + "column": 58 + } + }, + "left": { + "type": "Identifier", + "start": 15698, + "end": 15699, + "loc": { + "start": { + "line": 466, + "column": 51 + }, + "end": { + "line": 466, + "column": 52 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 15702, + "end": 15705, + "loc": { + "start": { + "line": 466, + "column": 55 + }, + "end": { + "line": 466, + "column": 58 + }, + "identifierName": "len" + }, + "name": "len" + } + }, + "update": { + "type": "UpdateExpression", + "start": 15707, + "end": 15710, + "loc": { + "start": { + "line": 466, + "column": 60 + }, + "end": { + "line": 466, + "column": 63 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 15707, + "end": 15708, + "loc": { + "start": { + "line": 466, + "column": 60 + }, + "end": { + "line": 466, + "column": 61 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 15712, + "end": 15849, + "loc": { + "start": { + "line": 466, + "column": 65 + }, + "end": { + "line": 469, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 15730, + "end": 15760, + "loc": { + "start": { + "line": 467, + "column": 16 + }, + "end": { + "line": 467, + "column": 46 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15736, + "end": 15759, + "loc": { + "start": { + "line": 467, + "column": 22 + }, + "end": { + "line": 467, + "column": 45 + } + }, + "id": { + "type": "Identifier", + "start": 15736, + "end": 15745, + "loc": { + "start": { + "line": 467, + "column": 22 + }, + "end": { + "line": 467, + "column": 31 + }, + "identifierName": "childNode" + }, + "name": "childNode" + }, + "init": { + "type": "MemberExpression", + "start": 15748, + "end": 15759, + "loc": { + "start": { + "line": 467, + "column": 34 + }, + "end": { + "line": 467, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 15748, + "end": 15756, + "loc": { + "start": { + "line": 467, + "column": 34 + }, + "end": { + "line": 467, + "column": 42 + }, + "identifierName": "children" + }, + "name": "children" + }, + "property": { + "type": "Identifier", + "start": 15757, + "end": 15758, + "loc": { + "start": { + "line": 467, + "column": 43 + }, + "end": { + "line": 467, + "column": 44 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 15777, + "end": 15835, + "loc": { + "start": { + "line": 468, + "column": 16 + }, + "end": { + "line": 468, + "column": 74 + } + }, + "expression": { + "type": "CallExpression", + "start": 15777, + "end": 15834, + "loc": { + "start": { + "line": 468, + "column": 16 + }, + "end": { + "line": 468, + "column": 73 + } + }, + "callee": { + "type": "Identifier", + "start": 15777, + "end": 15799, + "loc": { + "start": { + "line": 468, + "column": 16 + }, + "end": { + "line": 468, + "column": 38 + }, + "identifierName": "parseNodesWithoutNames" + }, + "name": "parseNodesWithoutNames" + }, + "arguments": [ + { + "type": "Identifier", + "start": 15800, + "end": 15803, + "loc": { + "start": { + "line": 468, + "column": 39 + }, + "end": { + "line": 468, + "column": 42 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + { + "type": "Identifier", + "start": 15805, + "end": 15814, + "loc": { + "start": { + "line": 468, + "column": 44 + }, + "end": { + "line": 468, + "column": 53 + }, + "identifierName": "childNode" + }, + "name": "childNode" + }, + { + "type": "BinaryExpression", + "start": 15816, + "end": 15825, + "loc": { + "start": { + "line": 468, + "column": 55 + }, + "end": { + "line": 468, + "column": 64 + } + }, + "left": { + "type": "Identifier", + "start": 15816, + "end": 15821, + "loc": { + "start": { + "line": 468, + "column": 55 + }, + "end": { + "line": 468, + "column": 60 + }, + "identifierName": "depth" + }, + "name": "depth" + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 15824, + "end": 15825, + "loc": { + "start": { + "line": 468, + "column": 63 + }, + "end": { + "line": 468, + "column": 64 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + { + "type": "Identifier", + "start": 15827, + "end": 15833, + "loc": { + "start": { + "line": 468, + "column": 66 + }, + "end": { + "line": 468, + "column": 72 + }, + "identifierName": "matrix" + }, + "name": "matrix" + } + ] + } + } + ], + "directives": [] + } + } + ], + "directives": [] }, - "name": "xktEntityId" + "alternate": null }, - "right": { - "type": "BinaryExpression", - "start": 16096, - "end": 16120, + { + "type": "IfStatement", + "start": 15868, + "end": 16282, "loc": { "start": { - "line": 481, - "column": 26 + "line": 471, + "column": 8 }, "end": { - "line": 481, - "column": 50 + "line": 482, + "column": 9 } }, - "left": { - "type": "StringLiteral", - "start": 16096, - "end": 16105, + "test": { + "type": "BinaryExpression", + "start": 15872, + "end": 15883, "loc": { "start": { - "line": 481, - "column": 26 + "line": 471, + "column": 12 }, "end": { - "line": 481, - "column": 35 + "line": 471, + "column": 23 } }, - "extra": { - "rawValue": "entity-", - "raw": "\"entity-\"" - }, - "value": "entity-" - }, - "operator": "+", - "right": { - "type": "UpdateExpression", - "start": 16108, - "end": 16120, - "loc": { - "start": { - "line": 481, - "column": 38 + "left": { + "type": "Identifier", + "start": 15872, + "end": 15877, + "loc": { + "start": { + "line": 471, + "column": 12 + }, + "end": { + "line": 471, + "column": 17 + }, + "identifierName": "depth" }, - "end": { - "line": 481, - "column": 50 - } + "name": "depth" }, - "operator": "++", - "prefix": false, - "argument": { - "type": "MemberExpression", - "start": 16108, - "end": 16118, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 15882, + "end": 15883, "loc": { "start": { - "line": 481, - "column": 38 + "line": 471, + "column": 22 }, "end": { - "line": 481, - "column": 48 + "line": 471, + "column": 23 } }, - "object": { - "type": "Identifier", - "start": 16108, - "end": 16111, - "loc": { - "start": { - "line": 481, - "column": 38 - }, - "end": { - "line": 481, - "column": 41 - }, - "identifierName": "ctx" - }, - "name": "ctx" + "extra": { + "rawValue": 0, + "raw": "0" }, - "property": { - "type": "Identifier", - "start": 16112, - "end": 16118, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 15885, + "end": 16282, + "loc": { + "start": { + "line": 471, + "column": 25 + }, + "end": { + "line": 482, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 15899, + "end": 15939, "loc": { "start": { - "line": 481, - "column": 42 + "line": 472, + "column": 12 }, "end": { - "line": 481, - "column": 48 - }, - "identifierName": "nextId" + "line": 472, + "column": 52 + } }, - "name": "nextId" - }, - "computed": false - } - } - } - } - } - ], - "directives": [] - } - }, - { - "type": "ExpressionStatement", - "start": 16140, - "end": 16172, - "loc": { - "start": { - "line": 483, - "column": 8 - }, - "end": { - "line": 483, - "column": 40 - } - }, - "expression": { - "type": "CallExpression", - "start": 16140, - "end": 16171, - "loc": { - "start": { - "line": 483, - "column": 8 - }, - "end": { - "line": 483, - "column": 39 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16140, - "end": 16158, - "loc": { - "start": { - "line": 483, - "column": 8 - }, - "end": { - "line": 483, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 16140, - "end": 16153, - "loc": { - "start": { - "line": 483, - "column": 8 - }, - "end": { - "line": 483, - "column": 21 - }, - "identifierName": "objectIdStack" - }, - "name": "objectIdStack" - }, - "property": { - "type": "Identifier", - "start": 16154, - "end": 16158, - "loc": { - "start": { - "line": 483, - "column": 22 - }, - "end": { - "line": 483, - "column": 26 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 16159, - "end": 16170, - "loc": { - "start": { - "line": 483, - "column": 27 - }, - "end": { - "line": 483, - "column": 38 - }, - "identifierName": "xktEntityId" - }, - "name": "xktEntityId" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 16181, - "end": 16208, - "loc": { - "start": { - "line": 484, - "column": 8 - }, - "end": { - "line": 484, - "column": 35 - } - }, - "expression": { - "type": "CallExpression", - "start": 16181, - "end": 16207, - "loc": { - "start": { - "line": 484, - "column": 8 - }, - "end": { - "line": 484, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16181, - "end": 16198, - "loc": { - "start": { - "line": 484, - "column": 8 - }, - "end": { - "line": 484, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 16181, - "end": 16193, - "loc": { - "start": { - "line": 484, - "column": 8 - }, - "end": { - "line": 484, - "column": 20 - }, - "identifierName": "meshIdsStack" - }, - "name": "meshIdsStack" - }, - "property": { - "type": "Identifier", - "start": 16194, - "end": 16198, - "loc": { - "start": { - "line": 484, - "column": 21 - }, - "end": { - "line": 484, - "column": 25 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 16199, - "end": 16206, - "loc": { - "start": { - "line": 484, - "column": 26 - }, - "end": { - "line": 484, - "column": 33 - }, - "identifierName": "meshIds" - }, - "name": "meshIds" - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 16220, - "end": 20500, - "loc": { - "start": { - "line": 487, - "column": 4 - }, - "end": { - "line": 578, - "column": 5 - } - }, - "test": { - "type": "LogicalExpression", - "start": 16224, - "end": 16244, - "loc": { - "start": { - "line": 487, - "column": 8 - }, - "end": { - "line": 487, - "column": 28 - } - }, - "left": { - "type": "Identifier", - "start": 16224, - "end": 16231, - "loc": { - "start": { - "line": 487, - "column": 8 - }, - "end": { - "line": 487, - "column": 15 - }, - "identifierName": "meshIds" - }, - "name": "meshIds" - }, - "operator": "&&", - "right": { - "type": "MemberExpression", - "start": 16235, - "end": 16244, - "loc": { - "start": { - "line": 487, - "column": 19 - }, - "end": { - "line": 487, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 16235, - "end": 16239, - "loc": { - "start": { - "line": 487, - "column": 19 - }, - "end": { - "line": 487, - "column": 23 - }, - "identifierName": "node" - }, - "name": "node" - }, - "property": { - "type": "Identifier", - "start": 16240, - "end": 16244, - "loc": { - "start": { - "line": 487, - "column": 24 - }, - "end": { - "line": 487, - "column": 28 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "computed": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 16246, - "end": 20500, - "loc": { - "start": { - "line": 487, - "column": 30 - }, - "end": { - "line": 578, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 16257, - "end": 16280, - "loc": { - "start": { - "line": 489, - "column": 8 - }, - "end": { - "line": 489, - "column": 31 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16263, - "end": 16279, - "loc": { - "start": { - "line": 489, - "column": 14 - }, - "end": { - "line": 489, - "column": 30 - } - }, - "id": { - "type": "Identifier", - "start": 16263, - "end": 16267, - "loc": { - "start": { - "line": 489, - "column": 14 - }, - "end": { - "line": 489, - "column": 18 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "init": { - "type": "MemberExpression", - "start": 16270, - "end": 16279, - "loc": { - "start": { - "line": 489, - "column": 21 - }, - "end": { - "line": 489, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 16270, - "end": 16274, - "loc": { - "start": { - "line": 489, - "column": 21 - }, - "end": { - "line": 489, - "column": 25 - }, - "identifierName": "node" - }, - "name": "node" - }, - "property": { - "type": "Identifier", - "start": 16275, - "end": 16279, - "loc": { - "start": { - "line": 489, - "column": 26 - }, - "end": { - "line": 489, - "column": 30 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 16289, - "end": 16334, - "loc": { - "start": { - "line": 490, - "column": 8 - }, - "end": { - "line": 490, - "column": 53 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16295, - "end": 16333, - "loc": { - "start": { - "line": 490, - "column": 14 - }, - "end": { - "line": 490, - "column": 52 - } - }, - "id": { - "type": "Identifier", - "start": 16295, - "end": 16308, - "loc": { - "start": { - "line": 490, - "column": 14 - }, - "end": { - "line": 490, - "column": 27 - }, - "identifierName": "numPrimitives" - }, - "name": "numPrimitives" - }, - "init": { - "type": "MemberExpression", - "start": 16311, - "end": 16333, - "loc": { - "start": { - "line": 490, - "column": 30 - }, - "end": { - "line": 490, - "column": 52 - } - }, - "object": { - "type": "MemberExpression", - "start": 16311, - "end": 16326, - "loc": { - "start": { - "line": 490, - "column": 30 - }, - "end": { - "line": 490, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 16311, - "end": 16315, - "loc": { - "start": { - "line": 490, - "column": 30 - }, - "end": { - "line": 490, - "column": 34 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 16316, - "end": 16326, - "loc": { - "start": { - "line": 490, - "column": 35 - }, - "end": { - "line": 490, - "column": 45 - }, - "identifierName": "primitives" - }, - "name": "primitives" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16327, - "end": 16333, - "loc": { - "start": { - "line": 490, - "column": 46 - }, - "end": { - "line": 490, - "column": 52 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 16344, - "end": 20494, - "loc": { - "start": { - "line": 492, - "column": 8 - }, - "end": { - "line": 577, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 16348, - "end": 16365, - "loc": { - "start": { - "line": 492, - "column": 12 - }, - "end": { - "line": 492, - "column": 29 - } - }, - "left": { - "type": "Identifier", - "start": 16348, - "end": 16361, - "loc": { - "start": { - "line": 492, - "column": 12 - }, - "end": { - "line": 492, - "column": 25 - }, - "identifierName": "numPrimitives" - }, - "name": "numPrimitives" - }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 16364, - "end": 16365, - "loc": { - "start": { - "line": 492, - "column": 28 - }, - "end": { - "line": 492, - "column": 29 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 16367, - "end": 20494, - "loc": { - "start": { - "line": 492, - "column": 31 - }, - "end": { - "line": 577, - "column": 9 - } - }, - "body": [ - { - "type": "ForStatement", - "start": 16381, - "end": 20484, - "loc": { - "start": { - "line": 493, - "column": 12 - }, - "end": { - "line": 576, - "column": 13 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 16386, - "end": 16395, - "loc": { - "start": { - "line": 493, - "column": 17 - }, - "end": { - "line": 493, - "column": 26 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16390, - "end": 16395, - "loc": { - "start": { - "line": 493, - "column": 21 - }, - "end": { - "line": 493, - "column": 26 - } - }, - "id": { - "type": "Identifier", - "start": 16390, - "end": 16391, - "loc": { - "start": { - "line": 493, - "column": 21 - }, - "end": { - "line": 493, - "column": 22 - }, - "identifierName": "i" - }, - "name": "i" - }, - "init": { - "type": "NumericLiteral", - "start": 16394, - "end": 16395, - "loc": { - "start": { - "line": 493, - "column": 25 - }, - "end": { - "line": 493, - "column": 26 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - "test": { - "type": "BinaryExpression", - "start": 16397, - "end": 16414, - "loc": { - "start": { - "line": 493, - "column": 28 - }, - "end": { - "line": 493, - "column": 45 - } - }, - "left": { - "type": "Identifier", - "start": 16397, - "end": 16398, - "loc": { - "start": { - "line": 493, - "column": 28 - }, - "end": { - "line": 493, - "column": 29 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": "<", - "right": { - "type": "Identifier", - "start": 16401, - "end": 16414, - "loc": { - "start": { - "line": 493, - "column": 32 - }, - "end": { - "line": 493, - "column": 45 - }, - "identifierName": "numPrimitives" - }, - "name": "numPrimitives" - } - }, - "update": { - "type": "UpdateExpression", - "start": 16416, - "end": 16419, - "loc": { - "start": { - "line": 493, - "column": 47 - }, - "end": { - "line": 493, - "column": 50 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 16416, - "end": 16417, - "loc": { - "start": { - "line": 493, - "column": 47 - }, - "end": { - "line": 493, - "column": 48 - }, - "identifierName": "i" - }, - "name": "i" - } - }, - "body": { - "type": "BlockStatement", - "start": 16421, - "end": 20484, - "loc": { - "start": { - "line": 493, - "column": 52 - }, - "end": { - "line": 576, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 16439, - "end": 16476, - "loc": { - "start": { - "line": 494, - "column": 16 - }, - "end": { - "line": 494, - "column": 53 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16445, - "end": 16475, - "loc": { - "start": { - "line": 494, - "column": 22 - }, - "end": { - "line": 494, - "column": 52 - } - }, - "id": { - "type": "Identifier", - "start": 16445, - "end": 16454, - "loc": { - "start": { - "line": 494, - "column": 22 - }, - "end": { - "line": 494, - "column": 31 - }, - "identifierName": "primitive" - }, - "name": "primitive" - }, - "init": { - "type": "MemberExpression", - "start": 16457, - "end": 16475, - "loc": { - "start": { - "line": 494, - "column": 34 - }, - "end": { - "line": 494, - "column": 52 - } - }, - "object": { - "type": "MemberExpression", - "start": 16457, - "end": 16472, - "loc": { - "start": { - "line": 494, - "column": 34 - }, - "end": { - "line": 494, - "column": 49 - } - }, - "object": { - "type": "Identifier", - "start": 16457, - "end": 16461, - "loc": { - "start": { - "line": 494, - "column": 34 - }, - "end": { - "line": 494, - "column": 38 - }, - "identifierName": "mesh" - }, - "name": "mesh" - }, - "property": { - "type": "Identifier", - "start": 16462, - "end": 16472, - "loc": { - "start": { - "line": 494, - "column": 39 - }, - "end": { - "line": 494, - "column": 49 - }, - "identifierName": "primitives" - }, - "name": "primitives" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16473, - "end": 16474, - "loc": { - "start": { - "line": 494, - "column": 50 - }, - "end": { - "line": 494, - "column": 51 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 16493, - "end": 19545, - "loc": { - "start": { - "line": 495, - "column": 16 - }, - "end": { - "line": 555, - "column": 17 - } - }, - "test": { - "type": "UnaryExpression", - "start": 16497, - "end": 16522, - "loc": { - "start": { - "line": 495, - "column": 20 - }, - "end": { - "line": 495, - "column": 45 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 16498, - "end": 16522, - "loc": { - "start": { - "line": 495, - "column": 21 - }, - "end": { - "line": 495, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 16498, - "end": 16507, - "loc": { - "start": { - "line": 495, - "column": 21 - }, - "end": { - "line": 495, - "column": 30 - }, - "identifierName": "primitive" - }, - "name": "primitive" - }, - "property": { - "type": "Identifier", - "start": 16508, - "end": 16522, - "loc": { - "start": { - "line": 495, - "column": 31 - }, - "end": { - "line": 495, - "column": 45 - }, - "identifierName": "_xktGeometryId" - }, - "name": "_xktGeometryId" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 16524, - "end": 19545, - "loc": { - "start": { - "line": 495, - "column": 47 - }, - "end": { - "line": 555, - "column": 17 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 16546, - "end": 16595, - "loc": { - "start": { - "line": 496, - "column": 20 - }, - "end": { - "line": 496, - "column": 69 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16552, - "end": 16594, - "loc": { - "start": { - "line": 496, - "column": 26 - }, - "end": { - "line": 496, - "column": 68 - } - }, - "id": { - "type": "Identifier", - "start": 16552, - "end": 16565, - "loc": { - "start": { - "line": 496, - "column": 26 - }, - "end": { - "line": 496, - "column": 39 - }, - "identifierName": "xktGeometryId" - }, - "name": "xktGeometryId" - }, - "init": { - "type": "BinaryExpression", - "start": 16568, - "end": 16594, - "loc": { - "start": { - "line": 496, - "column": 42 - }, - "end": { - "line": 496, - "column": 68 - } - }, - "left": { - "type": "StringLiteral", - "start": 16568, - "end": 16579, - "loc": { - "start": { - "line": 496, - "column": 42 - }, - "end": { - "line": 496, - "column": 53 - } - }, - "extra": { - "rawValue": "geometry-", - "raw": "\"geometry-\"" - }, - "value": "geometry-" - }, - "operator": "+", - "right": { - "type": "UpdateExpression", - "start": 16582, - "end": 16594, - "loc": { - "start": { - "line": 496, - "column": 56 - }, - "end": { - "line": 496, - "column": 68 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "MemberExpression", - "start": 16582, - "end": 16592, - "loc": { - "start": { - "line": 496, - "column": 56 - }, - "end": { - "line": 496, - "column": 66 - } - }, - "object": { - "type": "Identifier", - "start": 16582, - "end": 16585, - "loc": { - "start": { - "line": 496, - "column": 56 - }, - "end": { - "line": 496, - "column": 59 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - "property": { - "type": "Identifier", - "start": 16586, - "end": 16592, - "loc": { - "start": { - "line": 496, - "column": 60 - }, - "end": { - "line": 496, - "column": 66 - }, - "identifierName": "nextId" - }, - "name": "nextId" - }, - "computed": false - } - } - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 16616, - "end": 16710, - "loc": { - "start": { - "line": 497, - "column": 20 - }, - "end": { - "line": 499, - "column": 22 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16622, - "end": 16709, - "loc": { - "start": { - "line": 497, - "column": 26 - }, - "end": { - "line": 499, - "column": 21 - } - }, - "id": { - "type": "Identifier", - "start": 16622, - "end": 16633, - "loc": { - "start": { - "line": 497, - "column": 26 - }, - "end": { - "line": 497, - "column": 37 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg" - }, - "init": { - "type": "ObjectExpression", - "start": 16636, - "end": 16709, - "loc": { - "start": { - "line": 497, - "column": 40 - }, - "end": { - "line": 499, - "column": 21 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 16662, - "end": 16687, - "loc": { - "start": { - "line": 498, - "column": 24 - }, - "end": { - "line": 498, - "column": 49 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 16662, - "end": 16672, - "loc": { - "start": { - "line": 498, - "column": 24 - }, - "end": { - "line": 498, - "column": 34 - }, - "identifierName": "geometryId" - }, - "name": "geometryId" - }, - "value": { - "type": "Identifier", - "start": 16674, - "end": 16687, - "loc": { - "start": { - "line": 498, - "column": 36 - }, - "end": { - "line": 498, - "column": 49 - }, - "identifierName": "xktGeometryId" - }, - "name": "xktGeometryId" - } - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "SwitchStatement", - "start": 16731, - "end": 17927, - "loc": { - "start": { - "line": 500, - "column": 20 - }, - "end": { - "line": 524, - "column": 21 - } - }, - "discriminant": { - "type": "MemberExpression", - "start": 16739, - "end": 16753, - "loc": { - "start": { - "line": 500, - "column": 28 - }, - "end": { - "line": 500, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 16739, - "end": 16748, - "loc": { - "start": { - "line": 500, - "column": 28 - }, - "end": { - "line": 500, - "column": 37 - }, - "identifierName": "primitive" - }, - "name": "primitive" - }, - "property": { - "type": "Identifier", - "start": 16749, - "end": 16753, - "loc": { - "start": { - "line": 500, - "column": 38 - }, - "end": { - "line": 500, - "column": 42 - }, - "identifierName": "mode" - }, - "name": "mode" - }, - "computed": false - }, - "cases": [ - { - "type": "SwitchCase", - "start": 16781, - "end": 16899, - "loc": { - "start": { - "line": 501, - "column": 24 - }, - "end": { - "line": 503, - "column": 34 - } - }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 16827, - "end": 16864, - "loc": { - "start": { - "line": 502, - "column": 28 - }, - "end": { - "line": 502, - "column": 65 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 16827, - "end": 16863, - "loc": { - "start": { - "line": 502, - "column": 28 - }, - "end": { - "line": 502, - "column": 64 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 16827, - "end": 16852, - "loc": { - "start": { - "line": 502, - "column": 28 - }, - "end": { - "line": 502, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 16827, - "end": 16838, - "loc": { - "start": { - "line": 502, - "column": 28 - }, - "end": { - "line": 502, - "column": 39 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 16839, - "end": 16852, - "loc": { - "start": { - "line": 502, - "column": 40 - }, - "end": { - "line": 502, - "column": 53 - }, - "identifierName": "primitiveType" - }, - "name": "primitiveType" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "StringLiteral", - "start": 16855, - "end": 16863, - "loc": { - "start": { - "line": 502, - "column": 56 - }, - "end": { - "line": 502, - "column": 64 - } - }, - "extra": { - "rawValue": "points", - "raw": "\"points\"" - }, - "value": "points" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " POINTS", - "start": 16789, - "end": 16798, - "loc": { - "start": { - "line": 501, - "column": 32 - }, - "end": { - "line": 501, - "column": 41 - } - } - } - ] - }, - { - "type": "BreakStatement", - "start": 16893, - "end": 16899, - "loc": { - "start": { - "line": 503, - "column": 28 - }, - "end": { - "line": 503, - "column": 34 - } - }, - "label": null - } - ], - "test": { - "type": "NumericLiteral", - "start": 16786, - "end": 16787, - "loc": { - "start": { - "line": 501, - "column": 29 - }, - "end": { - "line": 501, - "column": 30 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 15903, + "end": 15938, + "loc": { + "start": { + "line": 472, + "column": 16 + }, + "end": { + "line": 472, + "column": 51 } }, - { - "type": "SwitchCase", - "start": 16924, - "end": 17040, + "id": { + "type": "Identifier", + "start": 15903, + "end": 15911, "loc": { "start": { - "line": 504, - "column": 24 + "line": 472, + "column": 16 }, "end": { - "line": 506, - "column": 34 - } + "line": 472, + "column": 24 + }, + "identifierName": "entityId" }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 16969, - "end": 17005, - "loc": { - "start": { - "line": 505, - "column": 28 - }, - "end": { - "line": 505, - "column": 64 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 16969, - "end": 17004, - "loc": { - "start": { - "line": 505, - "column": 28 - }, - "end": { - "line": 505, - "column": 63 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 16969, - "end": 16994, - "loc": { - "start": { - "line": 505, - "column": 28 - }, - "end": { - "line": 505, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 16969, - "end": 16980, - "loc": { - "start": { - "line": 505, - "column": 28 - }, - "end": { - "line": 505, - "column": 39 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 16981, - "end": 16994, - "loc": { - "start": { - "line": 505, - "column": 40 - }, - "end": { - "line": 505, - "column": 53 - }, - "identifierName": "primitiveType" - }, - "name": "primitiveType" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "StringLiteral", - "start": 16997, - "end": 17004, - "loc": { - "start": { - "line": 505, - "column": 56 - }, - "end": { - "line": 505, - "column": 63 - } - }, - "extra": { - "rawValue": "lines", - "raw": "\"lines\"" - }, - "value": "lines" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " LINES", - "start": 16932, - "end": 16940, - "loc": { - "start": { - "line": 504, - "column": 32 - }, - "end": { - "line": 504, - "column": 40 - } - } - } - ] + "name": "entityId" + }, + "init": { + "type": "BinaryExpression", + "start": 15914, + "end": 15938, + "loc": { + "start": { + "line": 472, + "column": 27 }, - { - "type": "BreakStatement", - "start": 17034, - "end": 17040, - "loc": { - "start": { - "line": 506, - "column": 28 - }, - "end": { - "line": 506, - "column": 34 - } - }, - "label": null + "end": { + "line": 472, + "column": 51 } - ], - "test": { - "type": "NumericLiteral", - "start": 16929, - "end": 16930, + }, + "left": { + "type": "StringLiteral", + "start": 15914, + "end": 15923, "loc": { "start": { - "line": 504, - "column": 29 + "line": 472, + "column": 27 }, "end": { - "line": 504, - "column": 30 + "line": 472, + "column": 36 } }, "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - { - "type": "SwitchCase", - "start": 17065, - "end": 17189, - "loc": { - "start": { - "line": 507, - "column": 24 + "rawValue": "entity-", + "raw": "\"entity-\"" }, - "end": { - "line": 509, - "column": 34 - } + "value": "entity-" }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 17114, - "end": 17154, - "loc": { - "start": { - "line": 508, - "column": 28 - }, - "end": { - "line": 508, - "column": 68 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17114, - "end": 17153, - "loc": { - "start": { - "line": 508, - "column": 28 - }, - "end": { - "line": 508, - "column": 67 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17114, - "end": 17139, - "loc": { - "start": { - "line": 508, - "column": 28 - }, - "end": { - "line": 508, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 17114, - "end": 17125, - "loc": { - "start": { - "line": 508, - "column": 28 - }, - "end": { - "line": 508, - "column": 39 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17126, - "end": 17139, - "loc": { - "start": { - "line": 508, - "column": 40 - }, - "end": { - "line": 508, - "column": 53 - }, - "identifierName": "primitiveType" - }, - "name": "primitiveType" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "StringLiteral", - "start": 17142, - "end": 17153, - "loc": { - "start": { - "line": 508, - "column": 56 - }, - "end": { - "line": 508, - "column": 67 - } - }, - "extra": { - "rawValue": "line-loop", - "raw": "\"line-loop\"" - }, - "value": "line-loop" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " LINE_LOOP", - "start": 17073, - "end": 17085, - "loc": { - "start": { - "line": 507, - "column": 32 - }, - "end": { - "line": 507, - "column": 44 - } - } - } - ] - }, - { - "type": "BreakStatement", - "start": 17183, - "end": 17189, - "loc": { - "start": { - "line": 509, - "column": 28 - }, - "end": { - "line": 509, - "column": 34 - } - }, - "label": null - } - ], - "test": { - "type": "NumericLiteral", - "start": 17070, - "end": 17071, + "operator": "+", + "right": { + "type": "UpdateExpression", + "start": 15926, + "end": 15938, "loc": { "start": { - "line": 507, - "column": 29 + "line": 472, + "column": 39 }, "end": { - "line": 507, - "column": 30 + "line": 472, + "column": 51 } }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - }, - { - "type": "SwitchCase", - "start": 17214, - "end": 17340, - "loc": { - "start": { - "line": 510, - "column": 24 - }, - "end": { - "line": 512, - "column": 34 - } - }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 17264, - "end": 17305, + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 15926, + "end": 15936, "loc": { "start": { - "line": 511, - "column": 28 + "line": 472, + "column": 39 }, "end": { - "line": 511, - "column": 69 + "line": 472, + "column": 49 } }, - "expression": { - "type": "AssignmentExpression", - "start": 17264, - "end": 17304, + "object": { + "type": "Identifier", + "start": 15926, + "end": 15929, "loc": { "start": { - "line": 511, - "column": 28 + "line": 472, + "column": 39 }, "end": { - "line": 511, - "column": 68 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17264, - "end": 17289, - "loc": { - "start": { - "line": 511, - "column": 28 - }, - "end": { - "line": 511, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 17264, - "end": 17275, - "loc": { - "start": { - "line": 511, - "column": 28 - }, - "end": { - "line": 511, - "column": 39 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17276, - "end": 17289, - "loc": { - "start": { - "line": 511, - "column": 40 - }, - "end": { - "line": 511, - "column": 53 - }, - "identifierName": "primitiveType" - }, - "name": "primitiveType" + "line": 472, + "column": 42 }, - "computed": false, - "leadingComments": null + "identifierName": "ctx" }, - "right": { - "type": "StringLiteral", - "start": 17292, - "end": 17304, - "loc": { - "start": { - "line": 511, - "column": 56 - }, - "end": { - "line": 511, - "column": 68 - } + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 15930, + "end": 15936, + "loc": { + "start": { + "line": 472, + "column": 43 }, - "extra": { - "rawValue": "line-strip", - "raw": "\"line-strip\"" + "end": { + "line": 472, + "column": 49 }, - "value": "line-strip" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " LINE_STRIP", - "start": 17222, - "end": 17235, - "loc": { - "start": { - "line": 510, - "column": 32 - }, - "end": { - "line": 510, - "column": 45 - } - } - } - ] - }, - { - "type": "BreakStatement", - "start": 17334, - "end": 17340, - "loc": { - "start": { - "line": 512, - "column": 28 + "identifierName": "nextId" }, - "end": { - "line": 512, - "column": 34 - } + "name": "nextId" }, - "label": null + "computed": false + } + } + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 15952, + "end": 16236, + "loc": { + "start": { + "line": 473, + "column": 12 + }, + "end": { + "line": 480, + "column": 13 + } + }, + "test": { + "type": "LogicalExpression", + "start": 15956, + "end": 15985, + "loc": { + "start": { + "line": 473, + "column": 16 + }, + "end": { + "line": 473, + "column": 45 + } + }, + "left": { + "type": "Identifier", + "start": 15956, + "end": 15963, + "loc": { + "start": { + "line": 473, + "column": 16 + }, + "end": { + "line": 473, + "column": 23 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 15967, + "end": 15985, + "loc": { + "start": { + "line": 473, + "column": 27 + }, + "end": { + "line": 473, + "column": 45 + } + }, + "left": { + "type": "MemberExpression", + "start": 15967, + "end": 15981, + "loc": { + "start": { + "line": 473, + "column": 27 + }, + "end": { + "line": 473, + "column": 41 } - ], - "test": { - "type": "NumericLiteral", - "start": 17219, - "end": 17220, + }, + "object": { + "type": "Identifier", + "start": 15967, + "end": 15974, "loc": { "start": { - "line": 510, - "column": 29 + "line": 473, + "column": 27 }, "end": { - "line": 510, - "column": 30 - } + "line": 473, + "column": 34 + }, + "identifierName": "meshIds" }, - "extra": { - "rawValue": 3, - "raw": "3" + "name": "meshIds" + }, + "property": { + "type": "Identifier", + "start": 15975, + "end": 15981, + "loc": { + "start": { + "line": 473, + "column": 35 + }, + "end": { + "line": 473, + "column": 41 + }, + "identifierName": "length" }, - "value": 3 - } + "name": "length" + }, + "computed": false + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 15984, + "end": 15985, + "loc": { + "start": { + "line": 473, + "column": 44 + }, + "end": { + "line": 473, + "column": 45 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 15987, + "end": 16236, + "loc": { + "start": { + "line": 473, + "column": 47 }, + "end": { + "line": 480, + "column": 13 + } + }, + "body": [ { - "type": "SwitchCase", - "start": 17365, - "end": 17489, + "type": "ExpressionStatement", + "start": 16005, + "end": 16064, "loc": { "start": { - "line": 513, - "column": 24 + "line": 474, + "column": 16 }, "end": { - "line": 515, - "column": 34 + "line": 474, + "column": 75 } }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 17414, - "end": 17454, + "expression": { + "type": "CallExpression", + "start": 16005, + "end": 16063, + "loc": { + "start": { + "line": 474, + "column": 16 + }, + "end": { + "line": 474, + "column": 74 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16005, + "end": 16012, "loc": { "start": { - "line": 514, - "column": 28 + "line": 474, + "column": 16 }, "end": { - "line": 514, - "column": 68 + "line": 474, + "column": 23 } }, - "expression": { - "type": "AssignmentExpression", - "start": 17414, - "end": 17453, + "object": { + "type": "Identifier", + "start": 16005, + "end": 16008, "loc": { "start": { - "line": 514, - "column": 28 + "line": 474, + "column": 16 }, "end": { - "line": 514, - "column": 67 - } + "line": 474, + "column": 19 + }, + "identifierName": "ctx" }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17414, - "end": 17439, - "loc": { - "start": { - "line": 514, - "column": 28 - }, - "end": { - "line": 514, - "column": 53 - } + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 16009, + "end": 16012, + "loc": { + "start": { + "line": 474, + "column": 20 }, - "object": { - "type": "Identifier", - "start": 17414, - "end": 17425, - "loc": { - "start": { - "line": 514, - "column": 28 - }, - "end": { - "line": 514, - "column": 39 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg", - "leadingComments": null + "end": { + "line": 474, + "column": 23 }, - "property": { - "type": "Identifier", - "start": 17426, - "end": 17439, - "loc": { - "start": { - "line": 514, - "column": 40 - }, - "end": { - "line": 514, - "column": 53 - }, - "identifierName": "primitiveType" - }, - "name": "primitiveType" + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 16013, + "end": 16062, + "loc": { + "start": { + "line": 474, + "column": 24 }, - "computed": false, - "leadingComments": null + "end": { + "line": 474, + "column": 73 + } }, - "right": { + "left": { "type": "StringLiteral", - "start": 17442, - "end": 17453, + "start": 16013, + "end": 16051, "loc": { "start": { - "line": 514, - "column": 56 + "line": 474, + "column": 24 }, "end": { - "line": 514, - "column": 67 + "line": 474, + "column": 62 } }, "extra": { - "rawValue": "triangles", - "raw": "\"triangles\"" + "rawValue": "Creating XKTEntity with default ID: ", + "raw": "\"Creating XKTEntity with default ID: \"" }, - "value": "triangles" + "value": "Creating XKTEntity with default ID: " }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " TRIANGLES", - "start": 17373, - "end": 17385, + "operator": "+", + "right": { + "type": "Identifier", + "start": 16054, + "end": 16062, "loc": { "start": { - "line": 513, - "column": 32 + "line": 474, + "column": 65 }, "end": { - "line": 513, - "column": 44 - } - } - } - ] - }, - { - "type": "BreakStatement", - "start": 17483, - "end": 17489, - "loc": { - "start": { - "line": 515, - "column": 28 - }, - "end": { - "line": 515, - "column": 34 + "line": 474, + "column": 73 + }, + "identifierName": "entityId" + }, + "name": "entityId" } - }, - "label": null - } - ], - "test": { - "type": "NumericLiteral", - "start": 17370, - "end": 17371, - "loc": { - "start": { - "line": 513, - "column": 29 - }, - "end": { - "line": 513, - "column": 30 } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 + ] } }, { - "type": "SwitchCase", - "start": 17514, - "end": 17648, + "type": "ExpressionStatement", + "start": 16081, + "end": 16186, "loc": { "start": { - "line": 516, - "column": 24 + "line": 475, + "column": 16 }, "end": { - "line": 518, - "column": 34 + "line": 478, + "column": 19 } }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 17568, - "end": 17613, + "expression": { + "type": "CallExpression", + "start": 16081, + "end": 16185, + "loc": { + "start": { + "line": 475, + "column": 16 + }, + "end": { + "line": 478, + "column": 18 + } + }, + "callee": { + "type": "MemberExpression", + "start": 16081, + "end": 16106, "loc": { "start": { - "line": 517, - "column": 28 + "line": 475, + "column": 16 }, "end": { - "line": 517, - "column": 73 + "line": 475, + "column": 41 } }, - "expression": { - "type": "AssignmentExpression", - "start": 17568, - "end": 17612, + "object": { + "type": "MemberExpression", + "start": 16081, + "end": 16093, "loc": { "start": { - "line": 517, - "column": 28 + "line": 475, + "column": 16 }, "end": { - "line": 517, - "column": 72 + "line": 475, + "column": 28 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17568, - "end": 17593, + "object": { + "type": "Identifier", + "start": 16081, + "end": 16084, "loc": { "start": { - "line": 517, - "column": 28 + "line": 475, + "column": 16 }, "end": { - "line": 517, - "column": 53 - } + "line": 475, + "column": 19 + }, + "identifierName": "ctx" }, - "object": { - "type": "Identifier", - "start": 17568, - "end": 17579, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 16085, + "end": 16093, + "loc": { + "start": { + "line": 475, + "column": 20 + }, + "end": { + "line": 475, + "column": 28 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16094, + "end": 16106, + "loc": { + "start": { + "line": 475, + "column": 29 + }, + "end": { + "line": 475, + "column": 41 + }, + "identifierName": "createEntity" + }, + "name": "createEntity" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 16107, + "end": 16184, + "loc": { + "start": { + "line": 475, + "column": 42 + }, + "end": { + "line": 478, + "column": 17 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 16129, + "end": 16137, "loc": { "start": { - "line": 517, - "column": 28 + "line": 476, + "column": 20 }, "end": { - "line": 517, - "column": 39 + "line": 476, + "column": 28 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 16129, + "end": 16137, + "loc": { + "start": { + "line": 476, + "column": 20 + }, + "end": { + "line": 476, + "column": 28 + }, + "identifierName": "entityId" }, - "identifierName": "geometryCfg" + "name": "entityId" }, - "name": "geometryCfg", - "leadingComments": null + "value": { + "type": "Identifier", + "start": 16129, + "end": 16137, + "loc": { + "start": { + "line": 476, + "column": 20 + }, + "end": { + "line": 476, + "column": 28 + }, + "identifierName": "entityId" + }, + "name": "entityId" + }, + "extra": { + "shorthand": true + } }, - "property": { - "type": "Identifier", - "start": 17580, - "end": 17593, + { + "type": "ObjectProperty", + "start": 16159, + "end": 16166, "loc": { "start": { - "line": 517, - "column": 40 + "line": 477, + "column": 20 }, "end": { - "line": 517, - "column": 53 - }, - "identifierName": "primitiveType" + "line": 477, + "column": 27 + } }, - "name": "primitiveType" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "StringLiteral", - "start": 17596, - "end": 17612, - "loc": { - "start": { - "line": 517, - "column": 56 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 16159, + "end": 16166, + "loc": { + "start": { + "line": 477, + "column": 20 + }, + "end": { + "line": 477, + "column": 27 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" }, - "end": { - "line": 517, - "column": 72 - } - }, - "extra": { - "rawValue": "triangle-strip", - "raw": "\"triangle-strip\"" - }, - "value": "triangle-strip" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " TRIANGLE_STRIP", - "start": 17522, - "end": 17539, - "loc": { - "start": { - "line": 516, - "column": 32 + "value": { + "type": "Identifier", + "start": 16159, + "end": 16166, + "loc": { + "start": { + "line": 477, + "column": 20 + }, + "end": { + "line": 477, + "column": 27 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" }, - "end": { - "line": 516, - "column": 49 + "extra": { + "shorthand": true } } - } - ] - }, - { - "type": "BreakStatement", - "start": 17642, - "end": 17648, - "loc": { - "start": { - "line": 518, - "column": 28 - }, - "end": { - "line": 518, - "column": 34 - } - }, - "label": null - } - ], - "test": { - "type": "NumericLiteral", - "start": 17519, - "end": 17520, - "loc": { - "start": { - "line": 516, - "column": 29 - }, - "end": { - "line": 516, - "column": 30 + ] } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 + ] } }, { - "type": "SwitchCase", - "start": 17673, - "end": 17803, + "type": "ExpressionStatement", + "start": 16203, + "end": 16222, "loc": { "start": { - "line": 519, - "column": 24 + "line": 479, + "column": 16 }, "end": { - "line": 521, - "column": 34 + "line": 479, + "column": 35 } }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 17725, - "end": 17768, + "expression": { + "type": "AssignmentExpression", + "start": 16203, + "end": 16221, + "loc": { + "start": { + "line": 479, + "column": 16 + }, + "end": { + "line": 479, + "column": 34 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 16203, + "end": 16217, "loc": { "start": { - "line": 520, - "column": 28 + "line": 479, + "column": 16 }, "end": { - "line": 520, - "column": 71 + "line": 479, + "column": 30 } }, - "expression": { - "type": "AssignmentExpression", - "start": 17725, - "end": 17767, + "object": { + "type": "Identifier", + "start": 16203, + "end": 16210, "loc": { "start": { - "line": 520, - "column": 28 + "line": 479, + "column": 16 }, "end": { - "line": 520, - "column": 70 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17725, - "end": 17750, - "loc": { - "start": { - "line": 520, - "column": 28 - }, - "end": { - "line": 520, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 17725, - "end": 17736, - "loc": { - "start": { - "line": 520, - "column": 28 - }, - "end": { - "line": 520, - "column": 39 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17737, - "end": 17750, - "loc": { - "start": { - "line": 520, - "column": 40 - }, - "end": { - "line": 520, - "column": 53 - }, - "identifierName": "primitiveType" - }, - "name": "primitiveType" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "StringLiteral", - "start": 17753, - "end": 17767, - "loc": { - "start": { - "line": 520, - "column": 56 - }, - "end": { - "line": 520, - "column": 70 - } - }, - "extra": { - "rawValue": "triangle-fan", - "raw": "\"triangle-fan\"" + "line": 479, + "column": 23 }, - "value": "triangle-fan" + "identifierName": "meshIds" }, - "leadingComments": null + "name": "meshIds" }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " TRIANGLE_FAN", - "start": 17681, - "end": 17696, - "loc": { - "start": { - "line": 519, - "column": 32 - }, - "end": { - "line": 519, - "column": 47 - } - } - } - ] + "property": { + "type": "Identifier", + "start": 16211, + "end": 16217, + "loc": { + "start": { + "line": 479, + "column": 24 + }, + "end": { + "line": 479, + "column": 30 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false }, - { - "type": "BreakStatement", - "start": 17797, - "end": 17803, + "right": { + "type": "NumericLiteral", + "start": 16220, + "end": 16221, "loc": { "start": { - "line": 521, - "column": 28 + "line": 479, + "column": 33 }, "end": { - "line": 521, + "line": 479, "column": 34 } }, - "label": null + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 } - ], - "test": { - "type": "NumericLiteral", - "start": 17678, - "end": 17679, + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 16249, + "end": 16272, + "loc": { + "start": { + "line": 481, + "column": 12 + }, + "end": { + "line": 481, + "column": 35 + } + }, + "expression": { + "type": "UpdateExpression", + "start": 16249, + "end": 16271, + "loc": { + "start": { + "line": 481, + "column": 12 + }, + "end": { + "line": 481, + "column": 34 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 16249, + "end": 16269, + "loc": { + "start": { + "line": 481, + "column": 12 + }, + "end": { + "line": 481, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 16249, + "end": 16258, + "loc": { + "start": { + "line": 481, + "column": 12 + }, + "end": { + "line": 481, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 16249, + "end": 16252, "loc": { "start": { - "line": 519, - "column": 29 + "line": 481, + "column": 12 }, "end": { - "line": 519, - "column": 30 - } + "line": 481, + "column": 15 + }, + "identifierName": "ctx" }, - "extra": { - "rawValue": 6, - "raw": "6" + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 16253, + "end": 16258, + "loc": { + "start": { + "line": 481, + "column": 16 + }, + "end": { + "line": 481, + "column": 21 + }, + "identifierName": "stats" }, - "value": 6 - } + "name": "stats" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 16259, + "end": 16269, + "loc": { + "start": { + "line": 481, + "column": 22 + }, + "end": { + "line": 481, + "column": 32 + }, + "identifierName": "numObjects" + }, + "name": "numObjects" + }, + "computed": false + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + } + } + ], + "directives": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 15295 + } + }, + "arguments": [] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Parses a glTF node hierarchy that is known to NOT contain \"name\" attributes on the nodes.\n * Create a XKTMesh for each mesh primitive, and a single XKTEntity.\n ", + "start": 15094, + "end": 15263, + "loc": { + "start": { + "line": 448, + "column": 0 + }, + "end": { + "line": 451, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Parses a glTF node hierarchy that is known to contain \"name\" attributes on the nodes.\n *\n * Create a XKTMesh for each mesh primitive, and XKTEntity for each named node.\n *\n * Following a depth-first traversal, each XKTEntity is created on post-visit of each named node,\n * and gets all the XKTMeshes created since the last XKTEntity created.\n ", + "start": 16297, + "end": 16649, + "loc": { + "start": { + "line": 487, + "column": 0 + }, + "end": { + "line": 494, + "column": 3 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 16650, + "end": 18605, + "loc": { + "start": { + "line": 495, + "column": 0 + }, + "end": { + "line": 545, + "column": 5 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 16656, + "end": 18604, + "loc": { + "start": { + "line": 495, + "column": 6 + }, + "end": { + "line": 545, + "column": 4 + } + }, + "id": { + "type": "Identifier", + "start": 16656, + "end": 16675, + "loc": { + "start": { + "line": 495, + "column": 6 + }, + "end": { + "line": 495, + "column": 25 + }, + "identifierName": "parseNodesWithNames" + }, + "name": "parseNodesWithNames", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 16678, + "end": 18604, + "loc": { + "start": { + "line": 495, + "column": 28 + }, + "end": { + "line": 545, + "column": 4 + } + }, + "callee": { + "type": "FunctionExpression", + "start": 16679, + "end": 18601, + "loc": { + "start": { + "line": 495, + "column": 29 + }, + "end": { + "line": 545, + "column": 1 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 16691, + "end": 18601, + "loc": { + "start": { + "line": 495, + "column": 41 + }, + "end": { + "line": 545, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 16698, + "end": 16723, + "loc": { + "start": { + "line": 497, + "column": 4 + }, + "end": { + "line": 497, + "column": 29 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 16704, + "end": 16722, + "loc": { + "start": { + "line": 497, + "column": 10 + }, + "end": { + "line": 497, + "column": 28 + } + }, + "id": { + "type": "Identifier", + "start": 16704, + "end": 16717, + "loc": { + "start": { + "line": 497, + "column": 10 + }, + "end": { + "line": 497, + "column": 23 + }, + "identifierName": "objectIdStack" + }, + "name": "objectIdStack" + }, + "init": { + "type": "ArrayExpression", + "start": 16720, + "end": 16722, + "loc": { + "start": { + "line": 497, + "column": 26 + }, + "end": { + "line": 497, + "column": 28 + } + }, + "elements": [] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 16728, + "end": 16752, + "loc": { + "start": { + "line": 498, + "column": 4 + }, + "end": { + "line": 498, + "column": 28 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 16734, + "end": 16751, + "loc": { + "start": { + "line": 498, + "column": 10 + }, + "end": { + "line": 498, + "column": 27 + } + }, + "id": { + "type": "Identifier", + "start": 16734, + "end": 16746, + "loc": { + "start": { + "line": 498, + "column": 10 + }, + "end": { + "line": 498, + "column": 22 + }, + "identifierName": "meshIdsStack" + }, + "name": "meshIdsStack" + }, + "init": { + "type": "ArrayExpression", + "start": 16749, + "end": 16751, + "loc": { + "start": { + "line": 498, + "column": 25 + }, + "end": { + "line": 498, + "column": 27 + } + }, + "elements": [] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 16757, + "end": 16776, + "loc": { + "start": { + "line": 499, + "column": 4 + }, + "end": { + "line": 499, + "column": 23 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 16761, + "end": 16775, + "loc": { + "start": { + "line": 499, + "column": 8 + }, + "end": { + "line": 499, + "column": 22 + } + }, + "id": { + "type": "Identifier", + "start": 16761, + "end": 16768, + "loc": { + "start": { + "line": 499, + "column": 8 + }, + "end": { + "line": 499, + "column": 15 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" + }, + "init": { + "type": "NullLiteral", + "start": 16771, + "end": 16775, + "loc": { + "start": { + "line": 499, + "column": 18 + }, + "end": { + "line": 499, + "column": 22 + } + } + } + } + ], + "kind": "let" + }, + { + "type": "ReturnStatement", + "start": 16782, + "end": 18599, + "loc": { + "start": { + "line": 501, + "column": 4 + }, + "end": { + "line": 544, + "column": 5 + } + }, + "argument": { + "type": "FunctionExpression", + "start": 16789, + "end": 18599, + "loc": { + "start": { + "line": 501, + "column": 11 + }, + "end": { + "line": 544, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 16799, + "end": 16802, + "loc": { + "start": { + "line": 501, + "column": 21 + }, + "end": { + "line": 501, + "column": 24 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + { + "type": "Identifier", + "start": 16804, + "end": 16808, + "loc": { + "start": { + "line": 501, + "column": 26 + }, + "end": { + "line": 501, + "column": 30 + }, + "identifierName": "node" + }, + "name": "node" + }, + { + "type": "Identifier", + "start": 16810, + "end": 16815, + "loc": { + "start": { + "line": 501, + "column": 32 + }, + "end": { + "line": 501, + "column": 37 + }, + "identifierName": "depth" + }, + "name": "depth" + }, + { + "type": "Identifier", + "start": 16817, + "end": 16823, + "loc": { + "start": { + "line": 501, + "column": 39 + }, + "end": { + "line": 501, + "column": 45 + }, + "identifierName": "matrix" + }, + "name": "matrix" + } + ], + "body": { + "type": "BlockStatement", + "start": 16825, + "end": 18599, + "loc": { + "start": { + "line": 501, + "column": 47 + }, + "end": { + "line": 544, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 16835, + "end": 16877, + "loc": { + "start": { + "line": 502, + "column": 8 + }, + "end": { + "line": 504, + "column": 9 + } + }, + "test": { + "type": "UnaryExpression", + "start": 16839, + "end": 16844, + "loc": { + "start": { + "line": 502, + "column": 12 + }, + "end": { + "line": 502, + "column": 17 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 16840, + "end": 16844, + "loc": { + "start": { + "line": 502, + "column": 13 + }, + "end": { + "line": 502, + "column": 17 + }, + "identifierName": "node" + }, + "name": "node" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 16846, + "end": 16877, + "loc": { + "start": { + "line": 502, + "column": 19 + }, + "end": { + "line": 504, + "column": 9 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 16860, + "end": 16867, + "loc": { + "start": { + "line": 503, + "column": 12 + }, + "end": { + "line": 503, + "column": 19 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 16886, + "end": 16925, + "loc": { + "start": { + "line": 505, + "column": 8 + }, + "end": { + "line": 505, + "column": 47 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 16886, + "end": 16924, + "loc": { + "start": { + "line": 505, + "column": 8 + }, + "end": { + "line": 505, + "column": 46 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 16886, + "end": 16892, + "loc": { + "start": { + "line": 505, + "column": 8 + }, + "end": { + "line": 505, + "column": 14 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "right": { + "type": "CallExpression", + "start": 16895, + "end": 16924, + "loc": { + "start": { + "line": 505, + "column": 17 + }, + "end": { + "line": 505, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 16895, + "end": 16910, + "loc": { + "start": { + "line": 505, + "column": 17 + }, + "end": { + "line": 505, + "column": 32 + }, + "identifierName": "parseNodeMatrix" + }, + "name": "parseNodeMatrix" + }, + "arguments": [ + { + "type": "Identifier", + "start": 16911, + "end": 16915, + "loc": { + "start": { + "line": 505, + "column": 33 }, - { - "type": "SwitchCase", - "start": 17828, - "end": 17905, - "loc": { - "start": { - "line": 522, - "column": 24 - }, - "end": { - "line": 523, - "column": 68 - } - }, - "consequent": [ - { - "type": "ExpressionStatement", - "start": 17865, - "end": 17905, - "loc": { - "start": { - "line": 523, - "column": 28 - }, - "end": { - "line": 523, - "column": 68 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17865, - "end": 17904, - "loc": { - "start": { - "line": 523, - "column": 28 - }, - "end": { - "line": 523, - "column": 67 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17865, - "end": 17890, - "loc": { - "start": { - "line": 523, - "column": 28 - }, - "end": { - "line": 523, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 17865, - "end": 17876, - "loc": { - "start": { - "line": 523, - "column": 28 - }, - "end": { - "line": 523, - "column": 39 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg" - }, - "property": { - "type": "Identifier", - "start": 17877, - "end": 17890, - "loc": { - "start": { - "line": 523, - "column": 40 - }, - "end": { - "line": 523, - "column": 53 - }, - "identifierName": "primitiveType" - }, - "name": "primitiveType" - }, - "computed": false - }, - "right": { - "type": "StringLiteral", - "start": 17893, - "end": 17904, - "loc": { - "start": { - "line": 523, - "column": 56 - }, - "end": { - "line": 523, - "column": 67 - } - }, - "extra": { - "rawValue": "triangles", - "raw": "\"triangles\"" - }, - "value": "triangles" - } - } - } - ], - "test": null - } - ] + "end": { + "line": 505, + "column": 37 + }, + "identifierName": "node" + }, + "name": "node" }, { - "type": "VariableDeclaration", - "start": 17948, - "end": 17995, + "type": "Identifier", + "start": 16917, + "end": 16923, "loc": { "start": { - "line": 525, - "column": 20 + "line": 505, + "column": 39 }, "end": { - "line": 525, - "column": 67 + "line": 505, + "column": 45 + }, + "identifierName": "matrix" + }, + "name": "matrix" + } + ] + } + } + }, + { + "type": "IfStatement", + "start": 16934, + "end": 17497, + "loc": { + "start": { + "line": 506, + "column": 8 + }, + "end": { + "line": 517, + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 16938, + "end": 16947, + "loc": { + "start": { + "line": 506, + "column": 12 + }, + "end": { + "line": 506, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 16938, + "end": 16942, + "loc": { + "start": { + "line": 506, + "column": 12 + }, + "end": { + "line": 506, + "column": 16 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 16943, + "end": 16947, + "loc": { + "start": { + "line": 506, + "column": 17 + }, + "end": { + "line": 506, + "column": 21 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 16949, + "end": 17497, + "loc": { + "start": { + "line": 506, + "column": 23 + }, + "end": { + "line": 517, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 16963, + "end": 16976, + "loc": { + "start": { + "line": 507, + "column": 12 + }, + "end": { + "line": 507, + "column": 25 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 16963, + "end": 16975, + "loc": { + "start": { + "line": 507, + "column": 12 + }, + "end": { + "line": 507, + "column": 24 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17954, - "end": 17994, + "operator": "=", + "left": { + "type": "Identifier", + "start": 16963, + "end": 16970, + "loc": { + "start": { + "line": 507, + "column": 12 + }, + "end": { + "line": 507, + "column": 19 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" + }, + "right": { + "type": "ArrayExpression", + "start": 16973, + "end": 16975, + "loc": { + "start": { + "line": 507, + "column": 22 + }, + "end": { + "line": 507, + "column": 24 + } + }, + "elements": [] + } + } + }, + { + "type": "VariableDeclaration", + "start": 16989, + "end": 17017, + "loc": { + "start": { + "line": 508, + "column": 12 + }, + "end": { + "line": 508, + "column": 40 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 16993, + "end": 17016, + "loc": { + "start": { + "line": 508, + "column": 16 + }, + "end": { + "line": 508, + "column": 39 + } + }, + "id": { + "type": "Identifier", + "start": 16993, + "end": 17004, "loc": { "start": { - "line": 525, - "column": 26 + "line": 508, + "column": 16 }, "end": { - "line": 525, - "column": 66 + "line": 508, + "column": 27 + }, + "identifierName": "xktEntityId" + }, + "name": "xktEntityId" + }, + "init": { + "type": "MemberExpression", + "start": 17007, + "end": 17016, + "loc": { + "start": { + "line": 508, + "column": 30 + }, + "end": { + "line": 508, + "column": 39 } }, - "id": { + "object": { "type": "Identifier", - "start": 17954, - "end": 17962, + "start": 17007, + "end": 17011, "loc": { "start": { - "line": 525, - "column": 26 + "line": 508, + "column": 30 }, "end": { - "line": 525, + "line": 508, "column": 34 }, - "identifierName": "POSITION" + "identifierName": "node" }, - "name": "POSITION" + "name": "node" }, - "init": { - "type": "MemberExpression", - "start": 17965, - "end": 17994, + "property": { + "type": "Identifier", + "start": 17012, + "end": 17016, "loc": { "start": { - "line": 525, - "column": 37 + "line": 508, + "column": 35 }, "end": { - "line": 525, - "column": 66 - } - }, - "object": { - "type": "MemberExpression", - "start": 17965, - "end": 17985, - "loc": { - "start": { - "line": 525, - "column": 37 - }, - "end": { - "line": 525, - "column": 57 - } - }, - "object": { - "type": "Identifier", - "start": 17965, - "end": 17974, - "loc": { - "start": { - "line": 525, - "column": 37 - }, - "end": { - "line": 525, - "column": 46 - }, - "identifierName": "primitive" - }, - "name": "primitive" - }, - "property": { - "type": "Identifier", - "start": 17975, - "end": 17985, - "loc": { - "start": { - "line": 525, - "column": 47 - }, - "end": { - "line": 525, - "column": 57 - }, - "identifierName": "attributes" - }, - "name": "attributes" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 17986, - "end": 17994, - "loc": { - "start": { - "line": 525, - "column": 58 - }, - "end": { - "line": 525, - "column": 66 - }, - "identifierName": "POSITION" + "line": 508, + "column": 39 }, - "name": "POSITION" + "identifierName": "name" }, - "computed": false - } + "name": "name" + }, + "computed": false } - ], - "kind": "const" + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 17030, + "end": 17259, + "loc": { + "start": { + "line": 509, + "column": 12 + }, + "end": { + "line": 511, + "column": 13 + } }, - { - "type": "IfStatement", - "start": 18016, - "end": 18088, + "test": { + "type": "LogicalExpression", + "start": 17034, + "end": 17085, "loc": { "start": { - "line": 526, - "column": 20 + "line": 509, + "column": 16 }, "end": { - "line": 528, - "column": 21 + "line": 509, + "column": 67 } }, - "test": { + "left": { "type": "UnaryExpression", - "start": 18020, - "end": 18029, + "start": 17034, + "end": 17047, "loc": { "start": { - "line": 526, - "column": 24 + "line": 509, + "column": 16 }, "end": { - "line": 526, - "column": 33 + "line": 509, + "column": 29 } }, "operator": "!", "prefix": true, "argument": { - "type": "Identifier", - "start": 18021, - "end": 18029, + "type": "UnaryExpression", + "start": 17035, + "end": 17047, "loc": { "start": { - "line": 526, - "column": 25 + "line": 509, + "column": 17 }, "end": { - "line": 526, - "column": 33 - }, - "identifierName": "POSITION" - }, - "name": "POSITION" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 18031, - "end": 18088, - "loc": { - "start": { - "line": 526, - "column": 35 + "line": 509, + "column": 29 + } }, - "end": { - "line": 528, - "column": 21 - } - }, - "body": [ - { - "type": "ContinueStatement", - "start": 18057, - "end": 18066, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 17036, + "end": 17047, "loc": { "start": { - "line": 527, - "column": 24 + "line": 509, + "column": 18 }, "end": { - "line": 527, - "column": 33 - } + "line": 509, + "column": 29 + }, + "identifierName": "xktEntityId" }, - "label": null + "name": "xktEntityId" + }, + "extra": { + "parenthesizedArgument": false } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 18109, - "end": 18169, - "loc": { - "start": { - "line": 529, - "column": 20 }, - "end": { - "line": 529, - "column": 80 + "extra": { + "parenthesizedArgument": false } }, - "expression": { - "type": "AssignmentExpression", - "start": 18109, - "end": 18168, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 17051, + "end": 17085, "loc": { "start": { - "line": 529, - "column": 20 + "line": 509, + "column": 33 }, "end": { - "line": 529, - "column": 79 + "line": 509, + "column": 67 } }, - "operator": "=", - "left": { + "object": { "type": "MemberExpression", - "start": 18109, - "end": 18130, + "start": 17051, + "end": 17072, "loc": { "start": { - "line": 529, - "column": 20 + "line": 509, + "column": 33 }, "end": { - "line": 529, - "column": 41 + "line": 509, + "column": 54 } }, "object": { - "type": "Identifier", - "start": 18109, - "end": 18120, + "type": "MemberExpression", + "start": 17051, + "end": 17063, "loc": { "start": { - "line": 529, - "column": 20 + "line": 509, + "column": 33 }, "end": { - "line": 529, - "column": 31 + "line": 509, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 17051, + "end": 17054, + "loc": { + "start": { + "line": 509, + "column": 33 + }, + "end": { + "line": 509, + "column": 36 + }, + "identifierName": "ctx" }, - "identifierName": "geometryCfg" + "name": "ctx" }, - "name": "geometryCfg" + "property": { + "type": "Identifier", + "start": 17055, + "end": 17063, + "loc": { + "start": { + "line": 509, + "column": 37 + }, + "end": { + "line": 509, + "column": 45 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 18121, - "end": 18130, + "start": 17064, + "end": 17072, "loc": { "start": { - "line": 529, - "column": 32 + "line": 509, + "column": 46 }, "end": { - "line": 529, - "column": 41 + "line": 509, + "column": 54 }, - "identifierName": "positions" + "identifierName": "entities" }, - "name": "positions" + "name": "entities" }, "computed": false }, - "right": { - "type": "MemberExpression", - "start": 18133, - "end": 18168, + "property": { + "type": "Identifier", + "start": 17073, + "end": 17084, "loc": { "start": { - "line": 529, - "column": 44 + "line": 509, + "column": 55 }, "end": { - "line": 529, - "column": 79 + "line": 509, + "column": 66 + }, + "identifierName": "xktEntityId" + }, + "name": "xktEntityId" + }, + "computed": true + } + }, + "consequent": { + "type": "BlockStatement", + "start": 17087, + "end": 17259, + "loc": { + "start": { + "line": 509, + "column": 69 + }, + "end": { + "line": 511, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17105, + "end": 17245, + "loc": { + "start": { + "line": 510, + "column": 16 + }, + "end": { + "line": 510, + "column": 156 } }, - "object": { - "type": "MemberExpression", - "start": 18133, - "end": 18162, + "expression": { + "type": "CallExpression", + "start": 17105, + "end": 17244, "loc": { "start": { - "line": 529, - "column": 44 + "line": 510, + "column": 16 }, "end": { - "line": 529, - "column": 73 + "line": 510, + "column": 155 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 18133, - "end": 18153, + "start": 17105, + "end": 17112, "loc": { "start": { - "line": 529, - "column": 44 + "line": 510, + "column": 16 }, "end": { - "line": 529, - "column": 64 + "line": 510, + "column": 23 } }, "object": { "type": "Identifier", - "start": 18133, - "end": 18142, + "start": 17105, + "end": 17108, "loc": { "start": { - "line": 529, - "column": 44 + "line": 510, + "column": 16 }, "end": { - "line": 529, - "column": 53 + "line": 510, + "column": 19 }, - "identifierName": "primitive" + "identifierName": "ctx" }, - "name": "primitive" + "name": "ctx" }, "property": { "type": "Identifier", - "start": 18143, - "end": 18153, + "start": 17109, + "end": 17112, "loc": { "start": { - "line": 529, - "column": 54 + "line": 510, + "column": 20 }, "end": { - "line": 529, - "column": 64 + "line": 510, + "column": 23 }, - "identifierName": "attributes" + "identifierName": "log" }, - "name": "attributes" + "name": "log" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 18154, - "end": 18162, - "loc": { - "start": { - "line": 529, - "column": 65 - }, - "end": { - "line": 529, - "column": 73 + "arguments": [ + { + "type": "TemplateLiteral", + "start": 17113, + "end": 17243, + "loc": { + "start": { + "line": 510, + "column": 24 + }, + "end": { + "line": 510, + "column": 154 + } }, - "identifierName": "POSITION" - }, - "name": "POSITION" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18163, - "end": 18168, - "loc": { - "start": { - "line": 529, - "column": 74 - }, - "end": { - "line": 529, - "column": 79 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false + "expressions": [ + { + "type": "Identifier", + "start": 17183, + "end": 17194, + "loc": { + "start": { + "line": 510, + "column": 94 + }, + "end": { + "line": 510, + "column": 105 + }, + "identifierName": "xktEntityId" + }, + "name": "xktEntityId" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 17114, + "end": 17181, + "loc": { + "start": { + "line": 510, + "column": 25 + }, + "end": { + "line": 510, + "column": 92 + } + }, + "value": { + "raw": "Warning: Two or more glTF nodes found with same 'name' attribute: '", + "cooked": "Warning: Two or more glTF nodes found with same 'name' attribute: '" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 17195, + "end": 17242, + "loc": { + "start": { + "line": 510, + "column": 106 + }, + "end": { + "line": 510, + "column": 153 + } + }, + "value": { + "raw": " - will randomly-generating an object ID in XKT", + "cooked": " - will randomly-generating an object ID in XKT" + }, + "tail": true + } + ] + } + ] + } } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "WhileStatement", + "start": 17272, + "end": 17402, + "loc": { + "start": { + "line": 512, + "column": 12 + }, + "end": { + "line": 514, + "column": 13 } }, - { - "type": "ExpressionStatement", - "start": 18190, - "end": 18248, + "test": { + "type": "LogicalExpression", + "start": 17279, + "end": 17329, "loc": { "start": { - "line": 530, - "column": 20 + "line": 512, + "column": 19 }, "end": { - "line": 530, - "column": 78 + "line": 512, + "column": 69 } }, - "expression": { - "type": "AssignmentExpression", - "start": 18190, - "end": 18247, + "left": { + "type": "UnaryExpression", + "start": 17279, + "end": 17291, "loc": { "start": { - "line": 530, - "column": 20 + "line": 512, + "column": 19 }, "end": { - "line": 530, - "column": 77 + "line": 512, + "column": 31 } }, - "operator": "+=", - "left": { - "type": "MemberExpression", - "start": 18190, - "end": 18211, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 17280, + "end": 17291, "loc": { "start": { - "line": 530, + "line": 512, "column": 20 }, "end": { - "line": 530, - "column": 41 + "line": 512, + "column": 31 + }, + "identifierName": "xktEntityId" + }, + "name": "xktEntityId" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "||", + "right": { + "type": "MemberExpression", + "start": 17295, + "end": 17329, + "loc": { + "start": { + "line": 512, + "column": 35 + }, + "end": { + "line": 512, + "column": 69 + } + }, + "object": { + "type": "MemberExpression", + "start": 17295, + "end": 17316, + "loc": { + "start": { + "line": 512, + "column": 35 + }, + "end": { + "line": 512, + "column": 56 } }, "object": { "type": "MemberExpression", - "start": 18190, - "end": 18199, + "start": 17295, + "end": 17307, "loc": { "start": { - "line": 530, - "column": 20 + "line": 512, + "column": 35 }, "end": { - "line": 530, - "column": 29 + "line": 512, + "column": 47 } }, "object": { "type": "Identifier", - "start": 18190, - "end": 18193, + "start": 17295, + "end": 17298, "loc": { "start": { - "line": 530, - "column": 20 + "line": 512, + "column": 35 }, "end": { - "line": 530, - "column": 23 + "line": 512, + "column": 38 }, "identifierName": "ctx" }, @@ -32078,4857 +31035,6294 @@ }, "property": { "type": "Identifier", - "start": 18194, - "end": 18199, + "start": 17299, + "end": 17307, "loc": { "start": { - "line": 530, - "column": 24 + "line": 512, + "column": 39 }, "end": { - "line": 530, - "column": 29 + "line": 512, + "column": 47 }, - "identifierName": "stats" + "identifierName": "xktModel" }, - "name": "stats" + "name": "xktModel" }, "computed": false }, "property": { "type": "Identifier", - "start": 18200, - "end": 18211, + "start": 17308, + "end": 17316, "loc": { "start": { - "line": 530, - "column": 30 + "line": 512, + "column": 48 }, "end": { - "line": 530, - "column": 41 + "line": 512, + "column": 56 }, - "identifierName": "numVertices" + "identifierName": "entities" }, - "name": "numVertices" + "name": "entities" }, "computed": false }, - "right": { - "type": "BinaryExpression", - "start": 18215, - "end": 18247, + "property": { + "type": "Identifier", + "start": 17317, + "end": 17328, "loc": { "start": { - "line": 530, - "column": 45 + "line": 512, + "column": 57 }, "end": { - "line": 530, - "column": 77 + "line": 512, + "column": 68 + }, + "identifierName": "xktEntityId" + }, + "name": "xktEntityId" + }, + "computed": true + } + }, + "body": { + "type": "BlockStatement", + "start": 17331, + "end": 17402, + "loc": { + "start": { + "line": 512, + "column": 71 + }, + "end": { + "line": 514, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17349, + "end": 17388, + "loc": { + "start": { + "line": 513, + "column": 16 + }, + "end": { + "line": 513, + "column": 55 } }, - "left": { - "type": "MemberExpression", - "start": 18215, - "end": 18243, + "expression": { + "type": "AssignmentExpression", + "start": 17349, + "end": 17387, "loc": { "start": { - "line": 530, - "column": 45 + "line": 513, + "column": 16 }, "end": { - "line": 530, - "column": 73 + "line": 513, + "column": 54 } }, - "object": { - "type": "MemberExpression", - "start": 18215, - "end": 18236, + "operator": "=", + "left": { + "type": "Identifier", + "start": 17349, + "end": 17360, "loc": { "start": { - "line": 530, - "column": 45 + "line": 513, + "column": 16 }, "end": { - "line": 530, - "column": 66 + "line": 513, + "column": 27 + }, + "identifierName": "xktEntityId" + }, + "name": "xktEntityId" + }, + "right": { + "type": "BinaryExpression", + "start": 17363, + "end": 17387, + "loc": { + "start": { + "line": 513, + "column": 30 + }, + "end": { + "line": 513, + "column": 54 } }, - "object": { - "type": "Identifier", - "start": 18215, - "end": 18226, + "left": { + "type": "StringLiteral", + "start": 17363, + "end": 17372, "loc": { "start": { - "line": 530, - "column": 45 + "line": 513, + "column": 30 }, "end": { - "line": 530, - "column": 56 - }, - "identifierName": "geometryCfg" + "line": 513, + "column": 39 + } }, - "name": "geometryCfg" + "extra": { + "rawValue": "entity-", + "raw": "\"entity-\"" + }, + "value": "entity-" }, - "property": { - "type": "Identifier", - "start": 18227, - "end": 18236, + "operator": "+", + "right": { + "type": "UpdateExpression", + "start": 17375, + "end": 17387, "loc": { "start": { - "line": 530, - "column": 57 + "line": 513, + "column": 42 }, "end": { - "line": 530, - "column": 66 - }, - "identifierName": "positions" + "line": 513, + "column": 54 + } }, - "name": "positions" - }, - "computed": false + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 17375, + "end": 17385, + "loc": { + "start": { + "line": 513, + "column": 42 + }, + "end": { + "line": 513, + "column": 52 + } + }, + "object": { + "type": "Identifier", + "start": 17375, + "end": 17378, + "loc": { + "start": { + "line": 513, + "column": 42 + }, + "end": { + "line": 513, + "column": 45 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 17379, + "end": 17385, + "loc": { + "start": { + "line": 513, + "column": 46 + }, + "end": { + "line": 513, + "column": 52 + }, + "identifierName": "nextId" + }, + "name": "nextId" + }, + "computed": false + } + } + } + } + } + ], + "directives": [] + } + }, + { + "type": "ExpressionStatement", + "start": 17415, + "end": 17447, + "loc": { + "start": { + "line": 515, + "column": 12 + }, + "end": { + "line": 515, + "column": 44 + } + }, + "expression": { + "type": "CallExpression", + "start": 17415, + "end": 17446, + "loc": { + "start": { + "line": 515, + "column": 12 + }, + "end": { + "line": 515, + "column": 43 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17415, + "end": 17433, + "loc": { + "start": { + "line": 515, + "column": 12 + }, + "end": { + "line": 515, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 17415, + "end": 17428, + "loc": { + "start": { + "line": 515, + "column": 12 }, - "property": { - "type": "Identifier", - "start": 18237, - "end": 18243, - "loc": { - "start": { - "line": 530, - "column": 67 - }, - "end": { - "line": 530, - "column": 73 - }, - "identifierName": "length" - }, - "name": "length" + "end": { + "line": 515, + "column": 25 }, - "computed": false + "identifierName": "objectIdStack" }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 18246, - "end": 18247, - "loc": { - "start": { - "line": 530, - "column": 76 - }, - "end": { - "line": 530, - "column": 77 - } + "name": "objectIdStack" + }, + "property": { + "type": "Identifier", + "start": 17429, + "end": 17433, + "loc": { + "start": { + "line": 515, + "column": 26 }, - "extra": { - "rawValue": 3, - "raw": "3" + "end": { + "line": 515, + "column": 30 }, - "value": 3 + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 17434, + "end": 17445, + "loc": { + "start": { + "line": 515, + "column": 31 + }, + "end": { + "line": 515, + "column": 42 + }, + "identifierName": "xktEntityId" + }, + "name": "xktEntityId" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 17460, + "end": 17487, + "loc": { + "start": { + "line": 516, + "column": 12 + }, + "end": { + "line": 516, + "column": 39 + } + }, + "expression": { + "type": "CallExpression", + "start": 17460, + "end": 17486, + "loc": { + "start": { + "line": 516, + "column": 12 + }, + "end": { + "line": 516, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 17460, + "end": 17477, + "loc": { + "start": { + "line": 516, + "column": 12 + }, + "end": { + "line": 516, + "column": 29 } + }, + "object": { + "type": "Identifier", + "start": 17460, + "end": 17472, + "loc": { + "start": { + "line": 516, + "column": 12 + }, + "end": { + "line": 516, + "column": 24 + }, + "identifierName": "meshIdsStack" + }, + "name": "meshIdsStack" + }, + "property": { + "type": "Identifier", + "start": 17473, + "end": 17477, + "loc": { + "start": { + "line": 516, + "column": 25 + }, + "end": { + "line": 516, + "column": 29 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 17478, + "end": 17485, + "loc": { + "start": { + "line": 516, + "column": 30 + }, + "end": { + "line": 516, + "column": 37 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 17506, + "end": 17598, + "loc": { + "start": { + "line": 518, + "column": 8 + }, + "end": { + "line": 520, + "column": 9 + } + }, + "test": { + "type": "LogicalExpression", + "start": 17510, + "end": 17530, + "loc": { + "start": { + "line": 518, + "column": 12 + }, + "end": { + "line": 518, + "column": 32 + } + }, + "left": { + "type": "Identifier", + "start": 17510, + "end": 17517, + "loc": { + "start": { + "line": 518, + "column": 12 + }, + "end": { + "line": 518, + "column": 19 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" + }, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 17521, + "end": 17530, + "loc": { + "start": { + "line": 518, + "column": 23 + }, + "end": { + "line": 518, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 17521, + "end": 17525, + "loc": { + "start": { + "line": 518, + "column": 23 + }, + "end": { + "line": 518, + "column": 27 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 17526, + "end": 17530, + "loc": { + "start": { + "line": 518, + "column": 28 + }, + "end": { + "line": 518, + "column": 32 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 17532, + "end": 17598, + "loc": { + "start": { + "line": 518, + "column": 34 + }, + "end": { + "line": 520, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 17546, + "end": 17588, + "loc": { + "start": { + "line": 519, + "column": 12 + }, + "end": { + "line": 519, + "column": 54 } }, - { - "type": "IfStatement", - "start": 18269, - "end": 18570, + "expression": { + "type": "CallExpression", + "start": 17546, + "end": 17587, "loc": { "start": { - "line": 531, - "column": 20 + "line": 519, + "column": 12 }, "end": { - "line": 536, - "column": 21 + "line": 519, + "column": 53 } }, - "test": { - "type": "MemberExpression", - "start": 18273, - "end": 18291, + "callee": { + "type": "Identifier", + "start": 17546, + "end": 17559, "loc": { "start": { - "line": 531, - "column": 24 + "line": 519, + "column": 12 }, "end": { - "line": 531, - "column": 42 - } + "line": 519, + "column": 25 + }, + "identifierName": "parseNodeMesh" }, - "object": { + "name": "parseNodeMesh" + }, + "arguments": [ + { "type": "Identifier", - "start": 18273, - "end": 18276, + "start": 17560, + "end": 17564, "loc": { "start": { - "line": 531, - "column": 24 + "line": 519, + "column": 26 }, "end": { - "line": 531, - "column": 27 + "line": 519, + "column": 30 }, - "identifierName": "ctx" + "identifierName": "node" }, - "name": "ctx" + "name": "node" }, - "property": { + { "type": "Identifier", - "start": 18277, - "end": 18291, + "start": 17566, + "end": 17569, "loc": { "start": { - "line": 531, - "column": 28 + "line": 519, + "column": 32 }, "end": { - "line": 531, - "column": 42 + "line": 519, + "column": 35 }, - "identifierName": "includeNormals" - }, - "name": "includeNormals" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 18293, - "end": 18570, - "loc": { - "start": { - "line": 531, - "column": 44 + "identifierName": "ctx" }, - "end": { - "line": 536, - "column": 21 - } + "name": "ctx" }, - "body": [ - { - "type": "IfStatement", - "start": 18319, - "end": 18548, - "loc": { - "start": { - "line": 532, - "column": 24 - }, - "end": { - "line": 535, - "column": 25 - } - }, - "test": { - "type": "MemberExpression", - "start": 18323, - "end": 18350, - "loc": { - "start": { - "line": 532, - "column": 28 - }, - "end": { - "line": 532, - "column": 55 - } - }, - "object": { - "type": "MemberExpression", - "start": 18323, - "end": 18343, - "loc": { - "start": { - "line": 532, - "column": 28 - }, - "end": { - "line": 532, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 18323, - "end": 18332, - "loc": { - "start": { - "line": 532, - "column": 28 - }, - "end": { - "line": 532, - "column": 37 - }, - "identifierName": "primitive" - }, - "name": "primitive" - }, - "property": { - "type": "Identifier", - "start": 18333, - "end": 18343, - "loc": { - "start": { - "line": 532, - "column": 38 - }, - "end": { - "line": 532, - "column": 48 - }, - "identifierName": "attributes" - }, - "name": "attributes" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18344, - "end": 18350, - "loc": { - "start": { - "line": 532, - "column": 49 - }, - "end": { - "line": 532, - "column": 55 - }, - "identifierName": "NORMAL" - }, - "name": "NORMAL" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 18352, - "end": 18548, - "loc": { - "start": { - "line": 532, - "column": 57 - }, - "end": { - "line": 535, - "column": 25 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 18382, - "end": 18438, - "loc": { - "start": { - "line": 533, - "column": 28 - }, - "end": { - "line": 533, - "column": 84 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18382, - "end": 18437, - "loc": { - "start": { - "line": 533, - "column": 28 - }, - "end": { - "line": 533, - "column": 83 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18382, - "end": 18401, - "loc": { - "start": { - "line": 533, - "column": 28 - }, - "end": { - "line": 533, - "column": 47 - } - }, - "object": { - "type": "Identifier", - "start": 18382, - "end": 18393, - "loc": { - "start": { - "line": 533, - "column": 28 - }, - "end": { - "line": 533, - "column": 39 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg" - }, - "property": { - "type": "Identifier", - "start": 18394, - "end": 18401, - "loc": { - "start": { - "line": 533, - "column": 40 - }, - "end": { - "line": 533, - "column": 47 - }, - "identifierName": "normals" - }, - "name": "normals" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 18404, - "end": 18437, - "loc": { - "start": { - "line": 533, - "column": 50 - }, - "end": { - "line": 533, - "column": 83 - } - }, - "object": { - "type": "MemberExpression", - "start": 18404, - "end": 18431, - "loc": { - "start": { - "line": 533, - "column": 50 - }, - "end": { - "line": 533, - "column": 77 - } - }, - "object": { - "type": "MemberExpression", - "start": 18404, - "end": 18424, - "loc": { - "start": { - "line": 533, - "column": 50 - }, - "end": { - "line": 533, - "column": 70 - } - }, - "object": { - "type": "Identifier", - "start": 18404, - "end": 18413, - "loc": { - "start": { - "line": 533, - "column": 50 - }, - "end": { - "line": 533, - "column": 59 - }, - "identifierName": "primitive" - }, - "name": "primitive" - }, - "property": { - "type": "Identifier", - "start": 18414, - "end": 18424, - "loc": { - "start": { - "line": 533, - "column": 60 - }, - "end": { - "line": 533, - "column": 70 - }, - "identifierName": "attributes" - }, - "name": "attributes" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18425, - "end": 18431, - "loc": { - "start": { - "line": 533, - "column": 71 - }, - "end": { - "line": 533, - "column": 77 - }, - "identifierName": "NORMAL" - }, - "name": "NORMAL" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18432, - "end": 18437, - "loc": { - "start": { - "line": 533, - "column": 78 - }, - "end": { - "line": 533, - "column": 83 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - } - }, - { - "type": "ExpressionStatement", - "start": 18467, - "end": 18522, - "loc": { - "start": { - "line": 534, - "column": 28 - }, - "end": { - "line": 534, - "column": 83 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18467, - "end": 18521, - "loc": { - "start": { - "line": 534, - "column": 28 - }, - "end": { - "line": 534, - "column": 82 - } - }, - "operator": "+=", - "left": { - "type": "MemberExpression", - "start": 18467, - "end": 18487, - "loc": { - "start": { - "line": 534, - "column": 28 - }, - "end": { - "line": 534, - "column": 48 - } - }, - "object": { - "type": "MemberExpression", - "start": 18467, - "end": 18476, - "loc": { - "start": { - "line": 534, - "column": 28 - }, - "end": { - "line": 534, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 18467, - "end": 18470, - "loc": { - "start": { - "line": 534, - "column": 28 - }, - "end": { - "line": 534, - "column": 31 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - "property": { - "type": "Identifier", - "start": 18471, - "end": 18476, - "loc": { - "start": { - "line": 534, - "column": 32 - }, - "end": { - "line": 534, - "column": 37 - }, - "identifierName": "stats" - }, - "name": "stats" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18477, - "end": 18487, - "loc": { - "start": { - "line": 534, - "column": 38 - }, - "end": { - "line": 534, - "column": 48 - }, - "identifierName": "numNormals" - }, - "name": "numNormals" - }, - "computed": false - }, - "right": { - "type": "BinaryExpression", - "start": 18491, - "end": 18521, - "loc": { - "start": { - "line": 534, - "column": 52 - }, - "end": { - "line": 534, - "column": 82 - } - }, - "left": { - "type": "MemberExpression", - "start": 18491, - "end": 18517, - "loc": { - "start": { - "line": 534, - "column": 52 - }, - "end": { - "line": 534, - "column": 78 - } - }, - "object": { - "type": "MemberExpression", - "start": 18491, - "end": 18510, - "loc": { - "start": { - "line": 534, - "column": 52 - }, - "end": { - "line": 534, - "column": 71 - } - }, - "object": { - "type": "Identifier", - "start": 18491, - "end": 18502, - "loc": { - "start": { - "line": 534, - "column": 52 - }, - "end": { - "line": 534, - "column": 63 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg" - }, - "property": { - "type": "Identifier", - "start": 18503, - "end": 18510, - "loc": { - "start": { - "line": 534, - "column": 64 - }, - "end": { - "line": 534, - "column": 71 - }, - "identifierName": "normals" - }, - "name": "normals" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18511, - "end": 18517, - "loc": { - "start": { - "line": 534, - "column": 72 - }, - "end": { - "line": 534, - "column": 78 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 18520, - "end": 18521, - "loc": { - "start": { - "line": 534, - "column": 81 - }, - "end": { - "line": 534, - "column": 82 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - } - } - } - } - ], - "directives": [] + { + "type": "Identifier", + "start": 17571, + "end": 17577, + "loc": { + "start": { + "line": 519, + "column": 37 }, - "alternate": null - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 18591, - "end": 18739, - "loc": { - "start": { - "line": 537, - "column": 20 + "end": { + "line": 519, + "column": 43 + }, + "identifierName": "matrix" + }, + "name": "matrix" }, - "end": { - "line": 539, - "column": 21 + { + "type": "Identifier", + "start": 17579, + "end": 17586, + "loc": { + "start": { + "line": 519, + "column": 45 + }, + "end": { + "line": 519, + "column": 52 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 17607, + "end": 17881, + "loc": { + "start": { + "line": 521, + "column": 8 + }, + "end": { + "line": 527, + "column": 9 + } + }, + "test": { + "type": "MemberExpression", + "start": 17611, + "end": 17624, + "loc": { + "start": { + "line": 521, + "column": 12 + }, + "end": { + "line": 521, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 17611, + "end": 17615, + "loc": { + "start": { + "line": 521, + "column": 12 + }, + "end": { + "line": 521, + "column": 16 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 17616, + "end": 17624, + "loc": { + "start": { + "line": 521, + "column": 17 + }, + "end": { + "line": 521, + "column": 25 + }, + "identifierName": "children" + }, + "name": "children" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 17626, + "end": 17881, + "loc": { + "start": { + "line": 521, + "column": 27 + }, + "end": { + "line": 527, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 17640, + "end": 17671, + "loc": { + "start": { + "line": 522, + "column": 12 }, - "test": { - "type": "MemberExpression", - "start": 18595, - "end": 18623, + "end": { + "line": 522, + "column": 43 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17646, + "end": 17670, "loc": { "start": { - "line": 537, - "column": 24 + "line": 522, + "column": 18 }, "end": { - "line": 537, - "column": 52 + "line": 522, + "column": 42 } }, - "object": { + "id": { + "type": "Identifier", + "start": 17646, + "end": 17654, + "loc": { + "start": { + "line": 522, + "column": 18 + }, + "end": { + "line": 522, + "column": 26 + }, + "identifierName": "children" + }, + "name": "children" + }, + "init": { "type": "MemberExpression", - "start": 18595, - "end": 18615, + "start": 17657, + "end": 17670, "loc": { "start": { - "line": 537, - "column": 24 + "line": 522, + "column": 29 }, "end": { - "line": 537, - "column": 44 + "line": 522, + "column": 42 } }, "object": { "type": "Identifier", - "start": 18595, - "end": 18604, + "start": 17657, + "end": 17661, "loc": { "start": { - "line": 537, - "column": 24 + "line": 522, + "column": 29 }, "end": { - "line": 537, + "line": 522, "column": 33 }, - "identifierName": "primitive" + "identifierName": "node" }, - "name": "primitive" + "name": "node" }, "property": { "type": "Identifier", - "start": 18605, - "end": 18615, + "start": 17662, + "end": 17670, "loc": { "start": { - "line": 537, + "line": 522, "column": 34 }, "end": { - "line": 537, - "column": 44 + "line": 522, + "column": 42 }, - "identifierName": "attributes" + "identifierName": "children" }, - "name": "attributes" + "name": "children" }, "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ForStatement", + "start": 17684, + "end": 17871, + "loc": { + "start": { + "line": 523, + "column": 12 + }, + "end": { + "line": 526, + "column": 13 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 17689, + "end": 17721, + "loc": { + "start": { + "line": 523, + "column": 17 }, - "property": { - "type": "Identifier", - "start": 18616, - "end": 18623, + "end": { + "line": 523, + "column": 49 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17693, + "end": 17698, "loc": { "start": { - "line": 537, - "column": 45 + "line": 523, + "column": 21 }, "end": { - "line": 537, - "column": 52 - }, - "identifierName": "COLOR_0" + "line": 523, + "column": 26 + } }, - "name": "COLOR_0" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 18625, - "end": 18739, - "loc": { - "start": { - "line": 537, - "column": 54 + "id": { + "type": "Identifier", + "start": 17693, + "end": 17694, + "loc": { + "start": { + "line": 523, + "column": 21 + }, + "end": { + "line": 523, + "column": 22 + }, + "identifierName": "i" + }, + "name": "i" }, - "end": { - "line": 539, - "column": 21 + "init": { + "type": "NumericLiteral", + "start": 17697, + "end": 17698, + "loc": { + "start": { + "line": 523, + "column": 25 + }, + "end": { + "line": 523, + "column": 26 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 18651, - "end": 18717, + { + "type": "VariableDeclarator", + "start": 17700, + "end": 17721, + "loc": { + "start": { + "line": 523, + "column": 28 + }, + "end": { + "line": 523, + "column": 49 + } + }, + "id": { + "type": "Identifier", + "start": 17700, + "end": 17703, "loc": { "start": { - "line": 538, - "column": 24 + "line": 523, + "column": 28 }, "end": { - "line": 538, - "column": 90 + "line": 523, + "column": 31 + }, + "identifierName": "len" + }, + "name": "len" + }, + "init": { + "type": "MemberExpression", + "start": 17706, + "end": 17721, + "loc": { + "start": { + "line": 523, + "column": 34 + }, + "end": { + "line": 523, + "column": 49 } }, - "expression": { - "type": "AssignmentExpression", - "start": 18651, - "end": 18716, + "object": { + "type": "Identifier", + "start": 17706, + "end": 17714, "loc": { "start": { - "line": 538, - "column": 24 + "line": 523, + "column": 34 }, "end": { - "line": 538, - "column": 89 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18651, - "end": 18679, - "loc": { - "start": { - "line": 538, - "column": 24 - }, - "end": { - "line": 538, - "column": 52 - } - }, - "object": { - "type": "Identifier", - "start": 18651, - "end": 18662, - "loc": { - "start": { - "line": 538, - "column": 24 - }, - "end": { - "line": 538, - "column": 35 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg" - }, - "property": { - "type": "Identifier", - "start": 18663, - "end": 18679, - "loc": { - "start": { - "line": 538, - "column": 36 - }, - "end": { - "line": 538, - "column": 52 - }, - "identifierName": "colorsCompressed" - }, - "name": "colorsCompressed" + "line": 523, + "column": 42 }, - "computed": false + "identifierName": "children" }, - "right": { - "type": "MemberExpression", - "start": 18682, - "end": 18716, - "loc": { - "start": { - "line": 538, - "column": 55 - }, - "end": { - "line": 538, - "column": 89 - } - }, - "object": { - "type": "MemberExpression", - "start": 18682, - "end": 18710, - "loc": { - "start": { - "line": 538, - "column": 55 - }, - "end": { - "line": 538, - "column": 83 - } - }, - "object": { - "type": "MemberExpression", - "start": 18682, - "end": 18702, - "loc": { - "start": { - "line": 538, - "column": 55 - }, - "end": { - "line": 538, - "column": 75 - } - }, - "object": { - "type": "Identifier", - "start": 18682, - "end": 18691, - "loc": { - "start": { - "line": 538, - "column": 55 - }, - "end": { - "line": 538, - "column": 64 - }, - "identifierName": "primitive" - }, - "name": "primitive" - }, - "property": { - "type": "Identifier", - "start": 18692, - "end": 18702, - "loc": { - "start": { - "line": 538, - "column": 65 - }, - "end": { - "line": 538, - "column": 75 - }, - "identifierName": "attributes" - }, - "name": "attributes" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18703, - "end": 18710, - "loc": { - "start": { - "line": 538, - "column": 76 - }, - "end": { - "line": 538, - "column": 83 - }, - "identifierName": "COLOR_0" - }, - "name": "COLOR_0" - }, - "computed": false + "name": "children" + }, + "property": { + "type": "Identifier", + "start": 17715, + "end": 17721, + "loc": { + "start": { + "line": 523, + "column": 43 }, - "property": { - "type": "Identifier", - "start": 18711, - "end": 18716, - "loc": { - "start": { - "line": 538, - "column": 84 - }, - "end": { - "line": 538, - "column": 89 - }, - "identifierName": "value" - }, - "name": "value" + "end": { + "line": 523, + "column": 49 }, - "computed": false - } - } + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } - ], - "directives": [] - }, - "alternate": null + } + ], + "kind": "let" }, - { - "type": "IfStatement", - "start": 18760, - "end": 19058, + "test": { + "type": "BinaryExpression", + "start": 17723, + "end": 17730, "loc": { "start": { - "line": 540, - "column": 20 + "line": 523, + "column": 51 }, "end": { - "line": 545, - "column": 21 + "line": 523, + "column": 58 } }, - "test": { - "type": "MemberExpression", - "start": 18764, - "end": 18783, + "left": { + "type": "Identifier", + "start": 17723, + "end": 17724, "loc": { "start": { - "line": 540, - "column": 24 + "line": 523, + "column": 51 }, "end": { - "line": 540, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 18764, - "end": 18767, - "loc": { - "start": { - "line": 540, - "column": 24 - }, - "end": { - "line": 540, - "column": 27 - }, - "identifierName": "ctx" + "line": 523, + "column": 52 }, - "name": "ctx" + "identifierName": "i" }, - "property": { - "type": "Identifier", - "start": 18768, - "end": 18783, - "loc": { - "start": { - "line": 540, - "column": 28 - }, - "end": { - "line": 540, - "column": 43 - }, - "identifierName": "includeTextures" + "name": "i" + }, + "operator": "<", + "right": { + "type": "Identifier", + "start": 17727, + "end": 17730, + "loc": { + "start": { + "line": 523, + "column": 55 }, - "name": "includeTextures" + "end": { + "line": 523, + "column": 58 + }, + "identifierName": "len" }, - "computed": false + "name": "len" + } + }, + "update": { + "type": "UpdateExpression", + "start": 17732, + "end": 17735, + "loc": { + "start": { + "line": 523, + "column": 60 + }, + "end": { + "line": 523, + "column": 63 + } }, - "consequent": { - "type": "BlockStatement", - "start": 18785, - "end": 19058, + "operator": "++", + "prefix": false, + "argument": { + "type": "Identifier", + "start": 17732, + "end": 17733, "loc": { "start": { - "line": 540, - "column": 45 + "line": 523, + "column": 60 }, "end": { - "line": 545, - "column": 21 - } + "line": 523, + "column": 61 + }, + "identifierName": "i" }, - "body": [ - { - "type": "IfStatement", - "start": 18811, - "end": 19036, - "loc": { - "start": { - "line": 541, - "column": 24 - }, - "end": { - "line": 544, - "column": 25 - } + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 17737, + "end": 17871, + "loc": { + "start": { + "line": 523, + "column": 65 + }, + "end": { + "line": 526, + "column": 13 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 17755, + "end": 17785, + "loc": { + "start": { + "line": 524, + "column": 16 }, - "test": { - "type": "MemberExpression", - "start": 18815, - "end": 18846, + "end": { + "line": 524, + "column": 46 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17761, + "end": 17784, "loc": { "start": { - "line": 541, - "column": 28 + "line": 524, + "column": 22 }, "end": { - "line": 541, - "column": 59 + "line": 524, + "column": 45 } }, - "object": { + "id": { + "type": "Identifier", + "start": 17761, + "end": 17770, + "loc": { + "start": { + "line": 524, + "column": 22 + }, + "end": { + "line": 524, + "column": 31 + }, + "identifierName": "childNode" + }, + "name": "childNode" + }, + "init": { "type": "MemberExpression", - "start": 18815, - "end": 18835, + "start": 17773, + "end": 17784, "loc": { "start": { - "line": 541, - "column": 28 + "line": 524, + "column": 34 }, "end": { - "line": 541, - "column": 48 + "line": 524, + "column": 45 } }, "object": { "type": "Identifier", - "start": 18815, - "end": 18824, + "start": 17773, + "end": 17781, "loc": { "start": { - "line": 541, - "column": 28 + "line": 524, + "column": 34 }, "end": { - "line": 541, - "column": 37 + "line": 524, + "column": 42 }, - "identifierName": "primitive" + "identifierName": "children" }, - "name": "primitive" + "name": "children" }, "property": { "type": "Identifier", - "start": 18825, - "end": 18835, + "start": 17782, + "end": 17783, "loc": { "start": { - "line": 541, - "column": 38 + "line": 524, + "column": 43 }, "end": { - "line": 541, - "column": 48 + "line": 524, + "column": 44 }, - "identifierName": "attributes" + "identifierName": "i" }, - "name": "attributes" + "name": "i" }, - "computed": false + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 17802, + "end": 17857, + "loc": { + "start": { + "line": 525, + "column": 16 + }, + "end": { + "line": 525, + "column": 71 + } + }, + "expression": { + "type": "CallExpression", + "start": 17802, + "end": 17856, + "loc": { + "start": { + "line": 525, + "column": 16 }, - "property": { + "end": { + "line": 525, + "column": 70 + } + }, + "callee": { + "type": "Identifier", + "start": 17802, + "end": 17821, + "loc": { + "start": { + "line": 525, + "column": 16 + }, + "end": { + "line": 525, + "column": 35 + }, + "identifierName": "parseNodesWithNames" + }, + "name": "parseNodesWithNames" + }, + "arguments": [ + { "type": "Identifier", - "start": 18836, - "end": 18846, + "start": 17822, + "end": 17825, "loc": { "start": { - "line": 541, - "column": 49 + "line": 525, + "column": 36 }, "end": { - "line": 541, - "column": 59 + "line": 525, + "column": 39 }, - "identifierName": "TEXCOORD_0" + "identifierName": "ctx" }, - "name": "TEXCOORD_0" + "name": "ctx" }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 18848, - "end": 19036, - "loc": { - "start": { - "line": 541, - "column": 61 + { + "type": "Identifier", + "start": 17827, + "end": 17836, + "loc": { + "start": { + "line": 525, + "column": 41 + }, + "end": { + "line": 525, + "column": 50 + }, + "identifierName": "childNode" }, - "end": { - "line": 544, - "column": 25 - } + "name": "childNode" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 18878, - "end": 18934, + { + "type": "BinaryExpression", + "start": 17838, + "end": 17847, + "loc": { + "start": { + "line": 525, + "column": 52 + }, + "end": { + "line": 525, + "column": 61 + } + }, + "left": { + "type": "Identifier", + "start": 17838, + "end": 17843, "loc": { "start": { - "line": 542, - "column": 28 + "line": 525, + "column": 52 }, "end": { - "line": 542, - "column": 84 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18878, - "end": 18933, - "loc": { - "start": { - "line": 542, - "column": 28 - }, - "end": { - "line": 542, - "column": 83 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18878, - "end": 18893, - "loc": { - "start": { - "line": 542, - "column": 28 - }, - "end": { - "line": 542, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 18878, - "end": 18889, - "loc": { - "start": { - "line": 542, - "column": 28 - }, - "end": { - "line": 542, - "column": 39 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg" - }, - "property": { - "type": "Identifier", - "start": 18890, - "end": 18893, - "loc": { - "start": { - "line": 542, - "column": 40 - }, - "end": { - "line": 542, - "column": 43 - }, - "identifierName": "uvs" - }, - "name": "uvs" - }, - "computed": false + "line": 525, + "column": 57 }, - "right": { - "type": "MemberExpression", - "start": 18896, - "end": 18933, - "loc": { - "start": { - "line": 542, - "column": 46 - }, - "end": { - "line": 542, - "column": 83 - } - }, - "object": { - "type": "MemberExpression", - "start": 18896, - "end": 18927, - "loc": { - "start": { - "line": 542, - "column": 46 - }, - "end": { - "line": 542, - "column": 77 - } - }, - "object": { - "type": "MemberExpression", - "start": 18896, - "end": 18916, - "loc": { - "start": { - "line": 542, - "column": 46 - }, - "end": { - "line": 542, - "column": 66 - } - }, - "object": { - "type": "Identifier", - "start": 18896, - "end": 18905, - "loc": { - "start": { - "line": 542, - "column": 46 - }, - "end": { - "line": 542, - "column": 55 - }, - "identifierName": "primitive" - }, - "name": "primitive" - }, - "property": { - "type": "Identifier", - "start": 18906, - "end": 18916, - "loc": { - "start": { - "line": 542, - "column": 56 - }, - "end": { - "line": 542, - "column": 66 - }, - "identifierName": "attributes" - }, - "name": "attributes" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18917, - "end": 18927, - "loc": { - "start": { - "line": 542, - "column": 67 - }, - "end": { - "line": 542, - "column": 77 - }, - "identifierName": "TEXCOORD_0" - }, - "name": "TEXCOORD_0" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18928, - "end": 18933, - "loc": { - "start": { - "line": 542, - "column": 78 - }, - "end": { - "line": 542, - "column": 83 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - } - } + "identifierName": "depth" + }, + "name": "depth" }, - { - "type": "ExpressionStatement", - "start": 18963, - "end": 19010, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 17846, + "end": 17847, "loc": { "start": { - "line": 543, - "column": 28 + "line": 525, + "column": 60 }, "end": { - "line": 543, - "column": 75 + "line": 525, + "column": 61 } }, - "expression": { - "type": "AssignmentExpression", - "start": 18963, - "end": 19009, - "loc": { - "start": { - "line": 543, - "column": 28 - }, - "end": { - "line": 543, - "column": 74 - } - }, - "operator": "+=", - "left": { - "type": "MemberExpression", - "start": 18963, - "end": 18979, - "loc": { - "start": { - "line": 543, - "column": 28 - }, - "end": { - "line": 543, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 18963, - "end": 18972, - "loc": { - "start": { - "line": 543, - "column": 28 - }, - "end": { - "line": 543, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 18963, - "end": 18966, - "loc": { - "start": { - "line": 543, - "column": 28 - }, - "end": { - "line": 543, - "column": 31 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - "property": { - "type": "Identifier", - "start": 18967, - "end": 18972, - "loc": { - "start": { - "line": 543, - "column": 32 - }, - "end": { - "line": 543, - "column": 37 - }, - "identifierName": "stats" - }, - "name": "stats" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18973, - "end": 18979, - "loc": { - "start": { - "line": 543, - "column": 38 - }, - "end": { - "line": 543, - "column": 44 - }, - "identifierName": "numUVs" - }, - "name": "numUVs" - }, - "computed": false - }, - "right": { - "type": "BinaryExpression", - "start": 18983, - "end": 19009, - "loc": { - "start": { - "line": 543, - "column": 48 - }, - "end": { - "line": 543, - "column": 74 - } - }, - "left": { - "type": "MemberExpression", - "start": 18983, - "end": 19005, - "loc": { - "start": { - "line": 543, - "column": 48 - }, - "end": { - "line": 543, - "column": 70 - } - }, - "object": { - "type": "MemberExpression", - "start": 18983, - "end": 18998, - "loc": { - "start": { - "line": 543, - "column": 48 - }, - "end": { - "line": 543, - "column": 63 - } - }, - "object": { - "type": "Identifier", - "start": 18983, - "end": 18994, - "loc": { - "start": { - "line": 543, - "column": 48 - }, - "end": { - "line": 543, - "column": 59 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg" - }, - "property": { - "type": "Identifier", - "start": 18995, - "end": 18998, - "loc": { - "start": { - "line": 543, - "column": 60 - }, - "end": { - "line": 543, - "column": 63 - }, - "identifierName": "uvs" - }, - "name": "uvs" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 18999, - "end": 19005, - "loc": { - "start": { - "line": 543, - "column": 64 - }, - "end": { - "line": 543, - "column": 70 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 19008, - "end": 19009, - "loc": { - "start": { - "line": 543, - "column": 73 - }, - "end": { - "line": 543, - "column": 74 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - } - } + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 } - ], - "directives": [] - }, - "alternate": null + }, + { + "type": "Identifier", + "start": 17849, + "end": 17855, + "loc": { + "start": { + "line": 525, + "column": 63 + }, + "end": { + "line": 525, + "column": 69 + }, + "identifierName": "matrix" + }, + "name": "matrix" + } + ] } - ], - "directives": [] + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 17890, + "end": 17917, + "loc": { + "start": { + "line": 528, + "column": 8 + }, + "end": { + "line": 528, + "column": 35 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 17896, + "end": 17916, + "loc": { + "start": { + "line": 528, + "column": 14 + }, + "end": { + "line": 528, + "column": 34 + } + }, + "id": { + "type": "Identifier", + "start": 17896, + "end": 17904, + "loc": { + "start": { + "line": 528, + "column": 14 + }, + "end": { + "line": 528, + "column": 22 + }, + "identifierName": "nodeName" + }, + "name": "nodeName" + }, + "init": { + "type": "MemberExpression", + "start": 17907, + "end": 17916, + "loc": { + "start": { + "line": 528, + "column": 25 + }, + "end": { + "line": 528, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 17907, + "end": 17911, + "loc": { + "start": { + "line": 528, + "column": 25 + }, + "end": { + "line": 528, + "column": 29 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 17912, + "end": 17916, + "loc": { + "start": { + "line": 528, + "column": 30 + }, + "end": { + "line": 528, + "column": 34 + }, + "identifierName": "name" }, - "alternate": null + "name": "name" }, - { - "type": "IfStatement", - "start": 19079, - "end": 19360, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 17926, + "end": 18593, + "loc": { + "start": { + "line": 529, + "column": 8 + }, + "end": { + "line": 543, + "column": 9 + } + }, + "test": { + "type": "LogicalExpression", + "start": 17930, + "end": 17990, + "loc": { + "start": { + "line": 529, + "column": 12 + }, + "end": { + "line": 529, + "column": 72 + } + }, + "left": { + "type": "LogicalExpression", + "start": 17931, + "end": 17974, + "loc": { + "start": { + "line": 529, + "column": 13 + }, + "end": { + "line": 529, + "column": 56 + } + }, + "left": { + "type": "BinaryExpression", + "start": 17931, + "end": 17953, + "loc": { + "start": { + "line": 529, + "column": 13 + }, + "end": { + "line": 529, + "column": 35 + } + }, + "left": { + "type": "Identifier", + "start": 17931, + "end": 17939, "loc": { "start": { - "line": 546, - "column": 20 + "line": 529, + "column": 13 }, "end": { - "line": 551, + "line": 529, "column": 21 + }, + "identifierName": "nodeName" + }, + "name": "nodeName" + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 17944, + "end": 17953, + "loc": { + "start": { + "line": 529, + "column": 26 + }, + "end": { + "line": 529, + "column": 35 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 17957, + "end": 17974, + "loc": { + "start": { + "line": 529, + "column": 39 + }, + "end": { + "line": 529, + "column": 56 + } + }, + "left": { + "type": "Identifier", + "start": 17957, + "end": 17965, + "loc": { + "start": { + "line": 529, + "column": 39 + }, + "end": { + "line": 529, + "column": 47 + }, + "identifierName": "nodeName" + }, + "name": "nodeName" + }, + "operator": "!==", + "right": { + "type": "NullLiteral", + "start": 17970, + "end": 17974, + "loc": { + "start": { + "line": 529, + "column": 52 + }, + "end": { + "line": 529, + "column": 56 } + } + } + }, + "extra": { + "parenthesized": true, + "parenStart": 17930 + } + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 17979, + "end": 17990, + "loc": { + "start": { + "line": 529, + "column": 61 + }, + "end": { + "line": 529, + "column": 72 + } + }, + "left": { + "type": "Identifier", + "start": 17979, + "end": 17984, + "loc": { + "start": { + "line": 529, + "column": 61 }, - "test": { - "type": "MemberExpression", - "start": 19083, - "end": 19100, + "end": { + "line": 529, + "column": 66 + }, + "identifierName": "depth" + }, + "name": "depth" + }, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 17989, + "end": 17990, + "loc": { + "start": { + "line": 529, + "column": 71 + }, + "end": { + "line": 529, + "column": 72 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 17992, + "end": 18593, + "loc": { + "start": { + "line": 529, + "column": 74 + }, + "end": { + "line": 543, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 18006, + "end": 18044, + "loc": { + "start": { + "line": 530, + "column": 12 + }, + "end": { + "line": 530, + "column": 50 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18010, + "end": 18043, "loc": { "start": { - "line": 546, - "column": 24 + "line": 530, + "column": 16 }, "end": { - "line": 546, - "column": 41 + "line": 530, + "column": 49 } }, - "object": { + "id": { "type": "Identifier", - "start": 19083, - "end": 19092, + "start": 18010, + "end": 18021, "loc": { "start": { - "line": 546, - "column": 24 + "line": 530, + "column": 16 }, "end": { - "line": 546, - "column": 33 + "line": 530, + "column": 27 }, - "identifierName": "primitive" + "identifierName": "xktEntityId" }, - "name": "primitive" + "name": "xktEntityId" }, - "property": { - "type": "Identifier", - "start": 19093, - "end": 19100, + "init": { + "type": "CallExpression", + "start": 18024, + "end": 18043, "loc": { "start": { - "line": 546, - "column": 34 + "line": 530, + "column": 30 }, "end": { - "line": 546, - "column": 41 + "line": 530, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18024, + "end": 18041, + "loc": { + "start": { + "line": 530, + "column": 30 + }, + "end": { + "line": 530, + "column": 47 + } }, - "identifierName": "indices" + "object": { + "type": "Identifier", + "start": 18024, + "end": 18037, + "loc": { + "start": { + "line": 530, + "column": 30 + }, + "end": { + "line": 530, + "column": 43 + }, + "identifierName": "objectIdStack" + }, + "name": "objectIdStack" + }, + "property": { + "type": "Identifier", + "start": 18038, + "end": 18041, + "loc": { + "start": { + "line": 530, + "column": 44 + }, + "end": { + "line": 530, + "column": 47 + }, + "identifierName": "pop" + }, + "name": "pop" + }, + "computed": false }, - "name": "indices" + "arguments": [] + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 18057, + "end": 18188, + "loc": { + "start": { + "line": 531, + "column": 12 + }, + "end": { + "line": 533, + "column": 13 + } + }, + "test": { + "type": "UnaryExpression", + "start": 18061, + "end": 18073, + "loc": { + "start": { + "line": 531, + "column": 16 }, - "computed": false + "end": { + "line": 531, + "column": 28 + } }, - "consequent": { - "type": "BlockStatement", - "start": 19102, - "end": 19360, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 18062, + "end": 18073, "loc": { "start": { - "line": 546, - "column": 43 + "line": 531, + "column": 17 }, "end": { - "line": 551, - "column": 21 - } + "line": 531, + "column": 28 + }, + "identifierName": "xktEntityId" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19128, - "end": 19174, + "name": "xktEntityId" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 18075, + "end": 18188, + "loc": { + "start": { + "line": 531, + "column": 30 + }, + "end": { + "line": 533, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18135, + "end": 18174, + "loc": { + "start": { + "line": 532, + "column": 16 + }, + "end": { + "line": 532, + "column": 55 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18135, + "end": 18173, "loc": { "start": { - "line": 547, - "column": 24 + "line": 532, + "column": 16 }, "end": { - "line": 547, - "column": 70 + "line": 532, + "column": 54 } }, - "expression": { - "type": "AssignmentExpression", - "start": 19128, - "end": 19173, + "operator": "=", + "left": { + "type": "Identifier", + "start": 18135, + "end": 18146, "loc": { "start": { - "line": 547, - "column": 24 + "line": 532, + "column": 16 }, "end": { - "line": 547, - "column": 69 + "line": 532, + "column": 27 + }, + "identifierName": "xktEntityId" + }, + "name": "xktEntityId", + "leadingComments": null + }, + "right": { + "type": "BinaryExpression", + "start": 18149, + "end": 18173, + "loc": { + "start": { + "line": 532, + "column": 30 + }, + "end": { + "line": 532, + "column": 54 } }, - "operator": "=", "left": { - "type": "MemberExpression", - "start": 19128, - "end": 19147, + "type": "StringLiteral", + "start": 18149, + "end": 18158, "loc": { "start": { - "line": 547, - "column": 24 + "line": 532, + "column": 30 }, "end": { - "line": 547, - "column": 43 + "line": 532, + "column": 39 } }, - "object": { - "type": "Identifier", - "start": 19128, - "end": 19139, - "loc": { - "start": { - "line": 547, - "column": 24 - }, - "end": { - "line": 547, - "column": 35 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg" - }, - "property": { - "type": "Identifier", - "start": 19140, - "end": 19147, - "loc": { - "start": { - "line": 547, - "column": 36 - }, - "end": { - "line": 547, - "column": 43 - }, - "identifierName": "indices" - }, - "name": "indices" + "extra": { + "rawValue": "entity-", + "raw": "\"entity-\"" }, - "computed": false + "value": "entity-" }, + "operator": "+", "right": { - "type": "MemberExpression", - "start": 19150, - "end": 19173, + "type": "UpdateExpression", + "start": 18161, + "end": 18173, "loc": { "start": { - "line": 547, - "column": 46 + "line": 532, + "column": 42 }, "end": { - "line": 547, - "column": 69 + "line": 532, + "column": 54 } }, - "object": { + "operator": "++", + "prefix": false, + "argument": { "type": "MemberExpression", - "start": 19150, - "end": 19167, + "start": 18161, + "end": 18171, "loc": { "start": { - "line": 547, - "column": 46 + "line": 532, + "column": 42 }, "end": { - "line": 547, - "column": 63 + "line": 532, + "column": 52 } }, "object": { "type": "Identifier", - "start": 19150, - "end": 19159, + "start": 18161, + "end": 18164, "loc": { "start": { - "line": 547, - "column": 46 + "line": 532, + "column": 42 }, "end": { - "line": 547, - "column": 55 + "line": 532, + "column": 45 }, - "identifierName": "primitive" + "identifierName": "ctx" }, - "name": "primitive" + "name": "ctx" }, "property": { "type": "Identifier", - "start": 19160, - "end": 19167, + "start": 18165, + "end": 18171, "loc": { "start": { - "line": 547, - "column": 56 + "line": 532, + "column": 46 }, "end": { - "line": 547, - "column": 63 + "line": 532, + "column": 52 }, - "identifierName": "indices" + "identifierName": "nextId" }, - "name": "indices" + "name": "nextId" }, "computed": false + } + } + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " For when there are no nodes with names", + "start": 18077, + "end": 18118, + "loc": { + "start": { + "line": 531, + "column": 32 }, - "property": { - "type": "Identifier", - "start": 19168, - "end": 19173, - "loc": { - "start": { - "line": 547, - "column": 64 - }, - "end": { - "line": 547, - "column": 69 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false + "end": { + "line": 531, + "column": 73 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 18201, + "end": 18240, + "loc": { + "start": { + "line": 534, + "column": 12 + }, + "end": { + "line": 534, + "column": 51 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18205, + "end": 18239, + "loc": { + "start": { + "line": 534, + "column": 16 + }, + "end": { + "line": 534, + "column": 50 + } + }, + "id": { + "type": "Identifier", + "start": 18205, + "end": 18218, + "loc": { + "start": { + "line": 534, + "column": 16 + }, + "end": { + "line": 534, + "column": 29 + }, + "identifierName": "entityMeshIds" + }, + "name": "entityMeshIds" + }, + "init": { + "type": "CallExpression", + "start": 18221, + "end": 18239, + "loc": { + "start": { + "line": 534, + "column": 32 + }, + "end": { + "line": 534, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 18221, + "end": 18237, + "loc": { + "start": { + "line": 534, + "column": 32 + }, + "end": { + "line": 534, + "column": 48 } + }, + "object": { + "type": "Identifier", + "start": 18221, + "end": 18233, + "loc": { + "start": { + "line": 534, + "column": 32 + }, + "end": { + "line": 534, + "column": 44 + }, + "identifierName": "meshIdsStack" + }, + "name": "meshIdsStack" + }, + "property": { + "type": "Identifier", + "start": 18234, + "end": 18237, + "loc": { + "start": { + "line": 534, + "column": 45 + }, + "end": { + "line": 534, + "column": 48 + }, + "identifierName": "pop" + }, + "name": "pop" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 18253, + "end": 18453, + "loc": { + "start": { + "line": 535, + "column": 12 + }, + "end": { + "line": 540, + "column": 13 + } + }, + "test": { + "type": "LogicalExpression", + "start": 18257, + "end": 18286, + "loc": { + "start": { + "line": 535, + "column": 16 + }, + "end": { + "line": 535, + "column": 45 + } + }, + "left": { + "type": "Identifier", + "start": 18257, + "end": 18264, + "loc": { + "start": { + "line": 535, + "column": 16 + }, + "end": { + "line": 535, + "column": 23 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 18268, + "end": 18286, + "loc": { + "start": { + "line": 535, + "column": 27 + }, + "end": { + "line": 535, + "column": 45 + } + }, + "left": { + "type": "MemberExpression", + "start": 18268, + "end": 18282, + "loc": { + "start": { + "line": 535, + "column": 27 + }, + "end": { + "line": 535, + "column": 41 } }, - { - "type": "IfStatement", - "start": 19199, - "end": 19338, + "object": { + "type": "Identifier", + "start": 18268, + "end": 18275, "loc": { "start": { - "line": 548, - "column": 24 + "line": 535, + "column": 27 }, "end": { - "line": 550, - "column": 25 + "line": 535, + "column": 34 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" + }, + "property": { + "type": "Identifier", + "start": 18276, + "end": 18282, + "loc": { + "start": { + "line": 535, + "column": 35 + }, + "end": { + "line": 535, + "column": 41 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 18285, + "end": 18286, + "loc": { + "start": { + "line": 535, + "column": 44 + }, + "end": { + "line": 535, + "column": 45 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 18288, + "end": 18453, + "loc": { + "start": { + "line": 535, + "column": 47 + }, + "end": { + "line": 540, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18306, + "end": 18439, + "loc": { + "start": { + "line": 536, + "column": 16 + }, + "end": { + "line": 539, + "column": 19 + } + }, + "expression": { + "type": "CallExpression", + "start": 18306, + "end": 18438, + "loc": { + "start": { + "line": 536, + "column": 16 + }, + "end": { + "line": 539, + "column": 18 } }, - "test": { - "type": "BinaryExpression", - "start": 19203, - "end": 19223, + "callee": { + "type": "MemberExpression", + "start": 18306, + "end": 18331, "loc": { "start": { - "line": 548, - "column": 28 + "line": 536, + "column": 16 }, "end": { - "line": 548, - "column": 48 + "line": 536, + "column": 41 } }, - "left": { + "object": { "type": "MemberExpression", - "start": 19203, - "end": 19217, + "start": 18306, + "end": 18318, "loc": { "start": { - "line": 548, - "column": 28 + "line": 536, + "column": 16 }, "end": { - "line": 548, - "column": 42 + "line": 536, + "column": 28 } }, "object": { "type": "Identifier", - "start": 19203, - "end": 19212, + "start": 18306, + "end": 18309, "loc": { "start": { - "line": 548, - "column": 28 + "line": 536, + "column": 16 }, "end": { - "line": 548, - "column": 37 + "line": 536, + "column": 19 }, - "identifierName": "primitive" + "identifierName": "ctx" }, - "name": "primitive" + "name": "ctx" }, "property": { "type": "Identifier", - "start": 19213, - "end": 19217, + "start": 18310, + "end": 18318, "loc": { "start": { - "line": 548, - "column": 38 + "line": 536, + "column": 20 }, "end": { - "line": 548, - "column": 42 + "line": 536, + "column": 28 }, - "identifierName": "mode" + "identifierName": "xktModel" }, - "name": "mode" + "name": "xktModel" }, "computed": false }, - "operator": "===", - "right": { - "type": "NumericLiteral", - "start": 19222, - "end": 19223, + "property": { + "type": "Identifier", + "start": 18319, + "end": 18331, "loc": { "start": { - "line": 548, - "column": 47 + "line": 536, + "column": 29 }, "end": { - "line": 548, - "column": 48 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 19225, - "end": 19338, - "loc": { - "start": { - "line": 548, - "column": 50 + "line": 536, + "column": 41 + }, + "identifierName": "createEntity" }, - "end": { - "line": 550, - "column": 25 - } + "name": "createEntity" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19255, - "end": 19312, - "loc": { - "start": { - "line": 549, - "column": 28 - }, - "end": { - "line": 549, - "column": 85 - } + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 18332, + "end": 18437, + "loc": { + "start": { + "line": 536, + "column": 42 }, - "expression": { - "type": "AssignmentExpression", - "start": 19255, - "end": 19311, + "end": { + "line": 539, + "column": 17 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 18354, + "end": 18375, "loc": { "start": { - "line": 549, - "column": 28 + "line": 537, + "column": 20 }, "end": { - "line": 549, - "column": 84 + "line": 537, + "column": 41 } }, - "operator": "+=", - "left": { - "type": "MemberExpression", - "start": 19255, - "end": 19277, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 18354, + "end": 18362, "loc": { "start": { - "line": 549, - "column": 28 + "line": 537, + "column": 20 }, "end": { - "line": 549, - "column": 50 - } - }, - "object": { - "type": "MemberExpression", - "start": 19255, - "end": 19264, - "loc": { - "start": { - "line": 549, - "column": 28 - }, - "end": { - "line": 549, - "column": 37 - } + "line": 537, + "column": 28 }, - "object": { - "type": "Identifier", - "start": 19255, - "end": 19258, - "loc": { - "start": { - "line": 549, - "column": 28 - }, - "end": { - "line": 549, - "column": 31 - }, - "identifierName": "ctx" - }, - "name": "ctx" + "identifierName": "entityId" + }, + "name": "entityId" + }, + "value": { + "type": "Identifier", + "start": 18364, + "end": 18375, + "loc": { + "start": { + "line": 537, + "column": 30 }, - "property": { - "type": "Identifier", - "start": 19259, - "end": 19264, - "loc": { - "start": { - "line": 549, - "column": 32 - }, - "end": { - "line": 549, - "column": 37 - }, - "identifierName": "stats" - }, - "name": "stats" + "end": { + "line": 537, + "column": 41 }, - "computed": false + "identifierName": "xktEntityId" }, - "property": { - "type": "Identifier", - "start": 19265, - "end": 19277, - "loc": { - "start": { - "line": 549, - "column": 38 - }, - "end": { - "line": 549, - "column": 50 - }, - "identifierName": "numTriangles" - }, - "name": "numTriangles" + "name": "xktEntityId" + } + }, + { + "type": "ObjectProperty", + "start": 18397, + "end": 18419, + "loc": { + "start": { + "line": 538, + "column": 20 }, - "computed": false + "end": { + "line": 538, + "column": 42 + } }, - "right": { - "type": "BinaryExpression", - "start": 19281, - "end": 19311, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 18397, + "end": 18404, "loc": { "start": { - "line": 549, - "column": 54 + "line": 538, + "column": 20 }, "end": { - "line": 549, - "column": 84 - } - }, - "left": { - "type": "MemberExpression", - "start": 19281, - "end": 19307, - "loc": { - "start": { - "line": 549, - "column": 54 - }, - "end": { - "line": 549, - "column": 80 - } - }, - "object": { - "type": "MemberExpression", - "start": 19281, - "end": 19300, - "loc": { - "start": { - "line": 549, - "column": 54 - }, - "end": { - "line": 549, - "column": 73 - } - }, - "object": { - "type": "Identifier", - "start": 19281, - "end": 19292, - "loc": { - "start": { - "line": 549, - "column": 54 - }, - "end": { - "line": 549, - "column": 65 - }, - "identifierName": "geometryCfg" - }, - "name": "geometryCfg" - }, - "property": { - "type": "Identifier", - "start": 19293, - "end": 19300, - "loc": { - "start": { - "line": 549, - "column": 66 - }, - "end": { - "line": 549, - "column": 73 - }, - "identifierName": "indices" - }, - "name": "indices" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 19301, - "end": 19307, - "loc": { - "start": { - "line": 549, - "column": 74 - }, - "end": { - "line": 549, - "column": 80 - }, - "identifierName": "length" - }, - "name": "length" + "line": 538, + "column": 27 }, - "computed": false + "identifierName": "meshIds" }, - "operator": "/", - "right": { - "type": "NumericLiteral", - "start": 19310, - "end": 19311, - "loc": { - "start": { - "line": 549, - "column": 83 - }, - "end": { - "line": 549, - "column": 84 - } + "name": "meshIds" + }, + "value": { + "type": "Identifier", + "start": 18406, + "end": 18419, + "loc": { + "start": { + "line": 538, + "column": 29 }, - "extra": { - "rawValue": 3, - "raw": "3" + "end": { + "line": 538, + "column": 42 }, - "value": 3 - } + "identifierName": "entityMeshIds" + }, + "name": "entityMeshIds" } } - } - ], - "directives": [] - }, - "alternate": null + ] + } + ] } - ], - "directives": [] + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 18466, + "end": 18489, + "loc": { + "start": { + "line": 541, + "column": 12 }, - "alternate": null + "end": { + "line": 541, + "column": 35 + } }, - { - "type": "ExpressionStatement", - "start": 19381, - "end": 19418, + "expression": { + "type": "UpdateExpression", + "start": 18466, + "end": 18488, "loc": { "start": { - "line": 552, - "column": 20 + "line": 541, + "column": 12 }, "end": { - "line": 552, - "column": 57 + "line": 541, + "column": 34 } }, - "expression": { - "type": "CallExpression", - "start": 19381, - "end": 19417, + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 18466, + "end": 18486, "loc": { "start": { - "line": 552, - "column": 20 + "line": 541, + "column": 12 }, "end": { - "line": 552, - "column": 56 + "line": 541, + "column": 32 } }, - "callee": { + "object": { "type": "MemberExpression", - "start": 19381, - "end": 19404, + "start": 18466, + "end": 18475, "loc": { "start": { - "line": 552, - "column": 20 + "line": 541, + "column": 12 }, "end": { - "line": 552, - "column": 43 + "line": 541, + "column": 21 } }, "object": { "type": "Identifier", - "start": 19381, - "end": 19389, + "start": 18466, + "end": 18469, "loc": { "start": { - "line": 552, - "column": 20 + "line": 541, + "column": 12 }, "end": { - "line": 552, - "column": 28 + "line": 541, + "column": 15 }, - "identifierName": "xktModel" + "identifierName": "ctx" }, - "name": "xktModel" + "name": "ctx" }, "property": { "type": "Identifier", - "start": 19390, - "end": 19404, + "start": 18470, + "end": 18475, "loc": { "start": { - "line": 552, - "column": 29 + "line": 541, + "column": 16 }, "end": { - "line": 552, - "column": 43 + "line": 541, + "column": 21 }, - "identifierName": "createGeometry" + "identifierName": "stats" }, - "name": "createGeometry" + "name": "stats" }, "computed": false }, - "arguments": [ - { - "type": "Identifier", - "start": 19405, - "end": 19416, - "loc": { - "start": { - "line": 552, - "column": 44 - }, - "end": { - "line": 552, - "column": 55 - }, - "identifierName": "geometryCfg" + "property": { + "type": "Identifier", + "start": 18476, + "end": 18486, + "loc": { + "start": { + "line": 541, + "column": 22 }, - "name": "geometryCfg" - } - ] + "end": { + "line": 541, + "column": 32 + }, + "identifierName": "numObjects" + }, + "name": "numObjects" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 18502, + "end": 18583, + "loc": { + "start": { + "line": 542, + "column": 12 + }, + "end": { + "line": 542, + "column": 93 } }, - { - "type": "ExpressionStatement", - "start": 19439, - "end": 19480, + "expression": { + "type": "AssignmentExpression", + "start": 18502, + "end": 18582, "loc": { "start": { - "line": 553, - "column": 20 + "line": 542, + "column": 12 }, "end": { - "line": 553, - "column": 61 + "line": 542, + "column": 92 } }, - "expression": { - "type": "AssignmentExpression", - "start": 19439, - "end": 19479, + "operator": "=", + "left": { + "type": "Identifier", + "start": 18502, + "end": 18509, "loc": { "start": { - "line": 553, - "column": 20 + "line": 542, + "column": 12 }, "end": { - "line": 553, - "column": 60 + "line": 542, + "column": 19 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" + }, + "right": { + "type": "ConditionalExpression", + "start": 18512, + "end": 18582, + "loc": { + "start": { + "line": 542, + "column": 22 + }, + "end": { + "line": 542, + "column": 92 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 19439, - "end": 19463, + "test": { + "type": "BinaryExpression", + "start": 18512, + "end": 18535, "loc": { "start": { - "line": 553, - "column": 20 + "line": 542, + "column": 22 }, "end": { - "line": 553, - "column": 44 + "line": 542, + "column": 45 } }, - "object": { - "type": "Identifier", - "start": 19439, - "end": 19448, + "left": { + "type": "MemberExpression", + "start": 18512, + "end": 18531, "loc": { "start": { - "line": 553, - "column": 20 + "line": 542, + "column": 22 }, "end": { - "line": 553, - "column": 29 - }, - "identifierName": "primitive" + "line": 542, + "column": 41 + } }, - "name": "primitive" - }, - "property": { - "type": "Identifier", - "start": 19449, - "end": 19463, - "loc": { - "start": { - "line": 553, - "column": 30 - }, - "end": { - "line": 553, - "column": 44 + "object": { + "type": "Identifier", + "start": 18512, + "end": 18524, + "loc": { + "start": { + "line": 542, + "column": 22 + }, + "end": { + "line": 542, + "column": 34 + }, + "identifierName": "meshIdsStack" }, - "identifierName": "_xktGeometryId" - }, - "name": "_xktGeometryId" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 19466, - "end": 19479, - "loc": { - "start": { - "line": 553, - "column": 47 - }, - "end": { - "line": 553, - "column": 60 + "name": "meshIdsStack" }, - "identifierName": "xktGeometryId" - }, - "name": "xktGeometryId" - } - } - }, - { - "type": "ExpressionStatement", - "start": 19501, - "end": 19527, - "loc": { - "start": { - "line": 554, - "column": 20 - }, - "end": { - "line": 554, - "column": 46 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 19501, - "end": 19526, - "loc": { - "start": { - "line": 554, - "column": 20 + "property": { + "type": "Identifier", + "start": 18525, + "end": 18531, + "loc": { + "start": { + "line": 542, + "column": 35 + }, + "end": { + "line": 542, + "column": 41 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false }, - "end": { - "line": 554, - "column": 45 + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 18534, + "end": 18535, + "loc": { + "start": { + "line": 542, + "column": 44 + }, + "end": { + "line": 542, + "column": 45 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 } }, - "operator": "++", - "prefix": false, - "argument": { + "consequent": { "type": "MemberExpression", - "start": 19501, - "end": 19524, + "start": 18538, + "end": 18575, "loc": { "start": { - "line": 554, - "column": 20 + "line": 542, + "column": 48 }, "end": { - "line": 554, - "column": 43 + "line": 542, + "column": 85 } }, "object": { - "type": "MemberExpression", - "start": 19501, - "end": 19510, + "type": "Identifier", + "start": 18538, + "end": 18550, "loc": { "start": { - "line": 554, - "column": 20 + "line": 542, + "column": 48 }, "end": { - "line": 554, - "column": 29 + "line": 542, + "column": 60 + }, + "identifierName": "meshIdsStack" + }, + "name": "meshIdsStack" + }, + "property": { + "type": "BinaryExpression", + "start": 18551, + "end": 18574, + "loc": { + "start": { + "line": 542, + "column": 61 + }, + "end": { + "line": 542, + "column": 84 } }, - "object": { - "type": "Identifier", - "start": 19501, - "end": 19504, + "left": { + "type": "MemberExpression", + "start": 18551, + "end": 18570, "loc": { "start": { - "line": 554, - "column": 20 + "line": 542, + "column": 61 }, "end": { - "line": 554, - "column": 23 + "line": 542, + "column": 80 + } + }, + "object": { + "type": "Identifier", + "start": 18551, + "end": 18563, + "loc": { + "start": { + "line": 542, + "column": 61 + }, + "end": { + "line": 542, + "column": 73 + }, + "identifierName": "meshIdsStack" }, - "identifierName": "ctx" + "name": "meshIdsStack" }, - "name": "ctx" + "property": { + "type": "Identifier", + "start": 18564, + "end": 18570, + "loc": { + "start": { + "line": 542, + "column": 74 + }, + "end": { + "line": 542, + "column": 80 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 19505, - "end": 19510, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 18573, + "end": 18574, "loc": { "start": { - "line": 554, - "column": 24 + "line": 542, + "column": 83 }, "end": { - "line": 554, - "column": 29 - }, - "identifierName": "stats" - }, - "name": "stats" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 19511, - "end": 19524, - "loc": { - "start": { - "line": 554, - "column": 30 + "line": 542, + "column": 84 + } }, - "end": { - "line": 554, - "column": 43 + "extra": { + "rawValue": 1, + "raw": "1" }, - "identifierName": "numGeometries" - }, - "name": "numGeometries" + "value": 1 + } }, - "computed": false + "computed": true + }, + "alternate": { + "type": "NullLiteral", + "start": 18578, + "end": 18582, + "loc": { + "start": { + "line": 542, + "column": 88 + }, + "end": { + "line": 542, + "column": 92 + } + } } } } - ], - "directives": [] + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } + } + } + ], + "directives": [] + }, + "extra": { + "parenthesized": true, + "parenStart": 16678 + } + }, + "arguments": [] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Parses a glTF node hierarchy that is known to contain \"name\" attributes on the nodes.\n *\n * Create a XKTMesh for each mesh primitive, and XKTEntity for each named node.\n *\n * Following a depth-first traversal, each XKTEntity is created on post-visit of each named node,\n * and gets all the XKTMeshes created since the last XKTEntity created.\n ", + "start": 16297, + "end": 16649, + "loc": { + "start": { + "line": 487, + "column": 0 + }, + "end": { + "line": 494, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Parses transform at the given glTF node.\n *\n * @param node the glTF node\n * @param matrix Transfor matrix from parent nodes\n * @returns {*} Transform matrix for the node\n ", + "start": 18607, + "end": 18787, + "loc": { + "start": { + "line": 547, + "column": 0 + }, + "end": { + "line": 553, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 18788, + "end": 19850, + "loc": { + "start": { + "line": 554, + "column": 0 + }, + "end": { + "line": 592, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 18797, + "end": 18812, + "loc": { + "start": { + "line": 554, + "column": 9 + }, + "end": { + "line": 554, + "column": 24 + }, + "identifierName": "parseNodeMatrix" + }, + "name": "parseNodeMatrix", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 18813, + "end": 18817, + "loc": { + "start": { + "line": 554, + "column": 25 + }, + "end": { + "line": 554, + "column": 29 + }, + "identifierName": "node" + }, + "name": "node" + }, + { + "type": "Identifier", + "start": 18819, + "end": 18825, + "loc": { + "start": { + "line": 554, + "column": 31 + }, + "end": { + "line": 554, + "column": 37 + }, + "identifierName": "matrix" + }, + "name": "matrix" + } + ], + "body": { + "type": "BlockStatement", + "start": 18827, + "end": 19850, + "loc": { + "start": { + "line": 554, + "column": 39 + }, + "end": { + "line": 592, + "column": 1 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 18833, + "end": 18867, + "loc": { + "start": { + "line": 555, + "column": 4 + }, + "end": { + "line": 557, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 18837, + "end": 18842, + "loc": { + "start": { + "line": 555, + "column": 8 + }, + "end": { + "line": 555, + "column": 13 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 18838, + "end": 18842, + "loc": { + "start": { + "line": 555, + "column": 9 + }, + "end": { + "line": 555, + "column": 13 + }, + "identifierName": "node" + }, + "name": "node" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 18844, + "end": 18867, + "loc": { + "start": { + "line": 555, + "column": 15 + }, + "end": { + "line": 557, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 18854, + "end": 18861, + "loc": { + "start": { + "line": 556, + "column": 8 + }, + "end": { + "line": 556, + "column": 15 + } + }, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 18872, + "end": 18888, + "loc": { + "start": { + "line": 558, + "column": 4 + }, + "end": { + "line": 558, + "column": 20 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 18876, + "end": 18887, + "loc": { + "start": { + "line": 558, + "column": 8 + }, + "end": { + "line": 558, + "column": 19 + } + }, + "id": { + "type": "Identifier", + "start": 18876, + "end": 18887, + "loc": { + "start": { + "line": 558, + "column": 8 + }, + "end": { + "line": 558, + "column": 19 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + }, + "init": null + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 18893, + "end": 19104, + "loc": { + "start": { + "line": 559, + "column": 4 + }, + "end": { + "line": 566, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 18897, + "end": 18908, + "loc": { + "start": { + "line": 559, + "column": 8 + }, + "end": { + "line": 559, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 18897, + "end": 18901, + "loc": { + "start": { + "line": 559, + "column": 8 + }, + "end": { + "line": 559, + "column": 12 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 18902, + "end": 18908, + "loc": { + "start": { + "line": 559, + "column": 13 + }, + "end": { + "line": 559, + "column": 19 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 18910, + "end": 19104, + "loc": { + "start": { + "line": 559, + "column": 21 + }, + "end": { + "line": 566, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18920, + "end": 18946, + "loc": { + "start": { + "line": 560, + "column": 8 + }, + "end": { + "line": 560, + "column": 34 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18920, + "end": 18945, + "loc": { + "start": { + "line": 560, + "column": 8 + }, + "end": { + "line": 560, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 18920, + "end": 18931, + "loc": { + "start": { + "line": 560, + "column": 8 + }, + "end": { + "line": 560, + "column": 19 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + }, + "right": { + "type": "MemberExpression", + "start": 18934, + "end": 18945, + "loc": { + "start": { + "line": 560, + "column": 22 + }, + "end": { + "line": 560, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 18934, + "end": 18938, + "loc": { + "start": { + "line": 560, + "column": 22 + }, + "end": { + "line": 560, + "column": 26 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 18939, + "end": 18945, + "loc": { + "start": { + "line": 560, + "column": 27 + }, + "end": { + "line": 560, + "column": 33 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "computed": false + } + } + }, + { + "type": "IfStatement", + "start": 18955, + "end": 19098, + "loc": { + "start": { + "line": 561, + "column": 8 + }, + "end": { + "line": 565, + "column": 9 + } + }, + "test": { + "type": "Identifier", + "start": 18959, + "end": 18965, + "loc": { + "start": { + "line": 561, + "column": 12 + }, + "end": { + "line": 561, + "column": 18 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "consequent": { + "type": "BlockStatement", + "start": 18967, + "end": 19047, + "loc": { + "start": { + "line": 561, + "column": 20 + }, + "end": { + "line": 563, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 18981, + "end": 19037, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 68 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 18981, + "end": 19036, + "loc": { + "start": { + "line": 562, + "column": 12 + }, + "end": { + "line": 562, + "column": 67 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 18981, + "end": 18987, + "loc": { + "start": { + "line": 562, + "column": 12 }, - "alternate": null + "end": { + "line": 562, + "column": 18 + }, + "identifierName": "matrix" }, - { - "type": "VariableDeclaration", - "start": 19563, - "end": 19594, - "loc": { - "start": { - "line": 557, - "column": 16 - }, - "end": { - "line": 557, - "column": 47 - } + "name": "matrix" + }, + "right": { + "type": "CallExpression", + "start": 18990, + "end": 19036, + "loc": { + "start": { + "line": 562, + "column": 21 }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 19569, - "end": 19593, - "loc": { - "start": { - "line": 557, - "column": 22 - }, - "end": { - "line": 557, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 19569, - "end": 19578, - "loc": { - "start": { - "line": 557, - "column": 22 - }, - "end": { - "line": 557, - "column": 31 - }, - "identifierName": "xktMeshId" - }, - "name": "xktMeshId" - }, - "init": { - "type": "UpdateExpression", - "start": 19581, - "end": 19593, - "loc": { - "start": { - "line": 557, - "column": 34 - }, - "end": { - "line": 557, - "column": 46 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "MemberExpression", - "start": 19581, - "end": 19591, - "loc": { - "start": { - "line": 557, - "column": 34 - }, - "end": { - "line": 557, - "column": 44 - } - }, - "object": { - "type": "Identifier", - "start": 19581, - "end": 19584, - "loc": { - "start": { - "line": 557, - "column": 34 - }, - "end": { - "line": 557, - "column": 37 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - "property": { - "type": "Identifier", - "start": 19585, - "end": 19591, - "loc": { - "start": { - "line": 557, - "column": 38 - }, - "end": { - "line": 557, - "column": 44 - }, - "identifierName": "nextId" - }, - "name": "nextId" - }, - "computed": false - } - } - } - ], - "kind": "const" + "end": { + "line": 562, + "column": 67 + } }, - { - "type": "VariableDeclaration", - "start": 19611, - "end": 19818, + "callee": { + "type": "MemberExpression", + "start": 18990, + "end": 19002, "loc": { "start": { - "line": 558, - "column": 16 + "line": 562, + "column": 21 }, "end": { "line": 562, - "column": 18 + "column": 33 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 19617, - "end": 19817, - "loc": { - "start": { - "line": 558, - "column": 22 - }, - "end": { - "line": 562, - "column": 17 - } + "object": { + "type": "Identifier", + "start": 18990, + "end": 18994, + "loc": { + "start": { + "line": 562, + "column": 21 }, - "id": { - "type": "Identifier", - "start": 19617, - "end": 19624, - "loc": { - "start": { - "line": 558, - "column": 22 - }, - "end": { - "line": 558, - "column": 29 - }, - "identifierName": "meshCfg" - }, - "name": "meshCfg" + "end": { + "line": 562, + "column": 25 }, - "init": { - "type": "ObjectExpression", - "start": 19627, - "end": 19817, - "loc": { - "start": { - "line": 558, - "column": 32 - }, - "end": { - "line": 562, - "column": 17 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 19649, - "end": 19666, - "loc": { - "start": { - "line": 559, - "column": 20 - }, - "end": { - "line": 559, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19649, - "end": 19655, - "loc": { - "start": { - "line": 559, - "column": 20 - }, - "end": { - "line": 559, - "column": 26 - }, - "identifierName": "meshId" - }, - "name": "meshId" - }, - "value": { - "type": "Identifier", - "start": 19657, - "end": 19666, - "loc": { - "start": { - "line": 559, - "column": 28 - }, - "end": { - "line": 559, - "column": 37 - }, - "identifierName": "xktMeshId" - }, - "name": "xktMeshId" - } - }, - { - "type": "ObjectProperty", - "start": 19688, - "end": 19724, - "loc": { - "start": { - "line": 560, - "column": 20 - }, - "end": { - "line": 560, - "column": 56 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19688, - "end": 19698, - "loc": { - "start": { - "line": 560, - "column": 20 - }, - "end": { - "line": 560, - "column": 30 - }, - "identifierName": "geometryId" - }, - "name": "geometryId" - }, - "value": { - "type": "MemberExpression", - "start": 19700, - "end": 19724, - "loc": { - "start": { - "line": 560, - "column": 32 - }, - "end": { - "line": 560, - "column": 56 - } - }, - "object": { - "type": "Identifier", - "start": 19700, - "end": 19709, - "loc": { - "start": { - "line": 560, - "column": 32 - }, - "end": { - "line": 560, - "column": 41 - }, - "identifierName": "primitive" - }, - "name": "primitive" - }, - "property": { - "type": "Identifier", - "start": 19710, - "end": 19724, - "loc": { - "start": { - "line": 560, - "column": 42 - }, - "end": { - "line": 560, - "column": 56 - }, - "identifierName": "_xktGeometryId" - }, - "name": "_xktGeometryId" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 19746, - "end": 19799, - "loc": { - "start": { - "line": 561, - "column": 20 - }, - "end": { - "line": 561, - "column": 73 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19746, - "end": 19752, - "loc": { - "start": { - "line": 561, - "column": 20 - }, - "end": { - "line": 561, - "column": 26 - }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - "value": { - "type": "ConditionalExpression", - "start": 19754, - "end": 19799, - "loc": { - "start": { - "line": 561, - "column": 28 - }, - "end": { - "line": 561, - "column": 73 - } - }, - "test": { - "type": "Identifier", - "start": 19754, - "end": 19760, - "loc": { - "start": { - "line": 561, - "column": 28 - }, - "end": { - "line": 561, - "column": 34 - }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - "consequent": { - "type": "CallExpression", - "start": 19763, - "end": 19777, - "loc": { - "start": { - "line": 561, - "column": 37 - }, - "end": { - "line": 561, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19763, - "end": 19775, - "loc": { - "start": { - "line": 561, - "column": 37 - }, - "end": { - "line": 561, - "column": 49 - } - }, - "object": { - "type": "Identifier", - "start": 19763, - "end": 19769, - "loc": { - "start": { - "line": 561, - "column": 37 - }, - "end": { - "line": 561, - "column": 43 - }, - "identifierName": "matrix" - }, - "name": "matrix" - }, - "property": { - "type": "Identifier", - "start": 19770, - "end": 19775, - "loc": { - "start": { - "line": 561, - "column": 44 - }, - "end": { - "line": 561, - "column": 49 - }, - "identifierName": "slice" - }, - "name": "slice" - }, - "computed": false - }, - "arguments": [] - }, - "alternate": { - "type": "CallExpression", - "start": 19780, - "end": 19799, - "loc": { - "start": { - "line": 561, - "column": 54 - }, - "end": { - "line": 561, - "column": 73 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19780, - "end": 19797, - "loc": { - "start": { - "line": 561, - "column": 54 - }, - "end": { - "line": 561, - "column": 71 - } - }, - "object": { - "type": "Identifier", - "start": 19780, - "end": 19784, - "loc": { - "start": { - "line": 561, - "column": 54 - }, - "end": { - "line": 561, - "column": 58 - }, - "identifierName": "math" - }, - "name": "math" - }, - "property": { - "type": "Identifier", - "start": 19785, - "end": 19797, - "loc": { - "start": { - "line": 561, - "column": 59 - }, - "end": { - "line": 561, - "column": 71 - }, - "identifierName": "identityMat4" - }, - "name": "identityMat4" - }, - "computed": false - }, - "arguments": [] - } - } - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 19835, - "end": 19871, - "loc": { - "start": { - "line": 563, - "column": 16 + "identifierName": "math" }, - "end": { - "line": 563, - "column": 52 - } + "name": "math" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 19841, - "end": 19870, - "loc": { - "start": { - "line": 563, - "column": 22 - }, - "end": { - "line": 563, - "column": 51 - } + "property": { + "type": "Identifier", + "start": 18995, + "end": 19002, + "loc": { + "start": { + "line": 562, + "column": 26 }, - "id": { - "type": "Identifier", - "start": 19841, - "end": 19849, - "loc": { - "start": { - "line": 563, - "column": 22 - }, - "end": { - "line": 563, - "column": 30 - }, - "identifierName": "material" - }, - "name": "material" + "end": { + "line": 562, + "column": 33 }, - "init": { - "type": "MemberExpression", - "start": 19852, - "end": 19870, - "loc": { - "start": { - "line": 563, - "column": 33 - }, - "end": { - "line": 563, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 19852, - "end": 19861, - "loc": { - "start": { - "line": 563, - "column": 33 - }, - "end": { - "line": 563, - "column": 42 - }, - "identifierName": "primitive" - }, - "name": "primitive" - }, - "property": { - "type": "Identifier", - "start": 19862, - "end": 19870, - "loc": { - "start": { - "line": 563, - "column": 43 - }, - "end": { - "line": 563, - "column": 51 - }, - "identifierName": "material" - }, - "name": "material" - }, - "computed": false - } - } - ], - "kind": "const" + "identifierName": "mulMat4" + }, + "name": "mulMat4" + }, + "computed": false }, - { - "type": "IfStatement", - "start": 19888, - "end": 20383, - "loc": { - "start": { - "line": 564, - "column": 16 + "arguments": [ + { + "type": "Identifier", + "start": 19003, + "end": 19009, + "loc": { + "start": { + "line": 562, + "column": 34 + }, + "end": { + "line": 562, + "column": 40 + }, + "identifierName": "matrix" }, - "end": { - "line": 573, - "column": 17 - } + "name": "matrix" }, - "test": { + { "type": "Identifier", - "start": 19892, - "end": 19900, + "start": 19011, + "end": 19022, "loc": { "start": { - "line": 564, - "column": 20 + "line": 562, + "column": 42 }, "end": { - "line": 564, - "column": 28 + "line": 562, + "column": 53 }, - "identifierName": "material" + "identifierName": "localMatrix" }, - "name": "material" + "name": "localMatrix" }, - "consequent": { - "type": "BlockStatement", - "start": 19902, - "end": 20262, + { + "type": "CallExpression", + "start": 19024, + "end": 19035, "loc": { "start": { - "line": 564, - "column": 30 + "line": 562, + "column": 55 }, "end": { - "line": 570, - "column": 17 + "line": 562, + "column": 66 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19924, - "end": 19970, + "callee": { + "type": "MemberExpression", + "start": 19024, + "end": 19033, + "loc": { + "start": { + "line": 562, + "column": 55 + }, + "end": { + "line": 562, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 19024, + "end": 19028, "loc": { "start": { - "line": 565, - "column": 20 + "line": 562, + "column": 55 }, "end": { - "line": 565, - "column": 66 - } + "line": 562, + "column": 59 + }, + "identifierName": "math" }, - "expression": { - "type": "AssignmentExpression", - "start": 19924, - "end": 19969, - "loc": { - "start": { - "line": 565, - "column": 20 - }, - "end": { - "line": 565, - "column": 65 - } + "name": "math" + }, + "property": { + "type": "Identifier", + "start": 19029, + "end": 19033, + "loc": { + "start": { + "line": 562, + "column": 60 }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 19924, - "end": 19944, - "loc": { - "start": { - "line": 565, - "column": 20 - }, - "end": { - "line": 565, - "column": 40 - } - }, - "object": { - "type": "Identifier", - "start": 19924, - "end": 19931, - "loc": { - "start": { - "line": 565, - "column": 20 - }, - "end": { - "line": 565, - "column": 27 - }, - "identifierName": "meshCfg" - }, - "name": "meshCfg" - }, - "property": { - "type": "Identifier", - "start": 19932, - "end": 19944, - "loc": { - "start": { - "line": 565, - "column": 28 - }, - "end": { - "line": 565, - "column": 40 - }, - "identifierName": "textureSetId" - }, - "name": "textureSetId" - }, - "computed": false + "end": { + "line": 562, + "column": 64 }, - "right": { - "type": "MemberExpression", - "start": 19947, - "end": 19969, - "loc": { - "start": { - "line": 565, - "column": 43 - }, - "end": { - "line": 565, - "column": 65 - } - }, - "object": { - "type": "Identifier", - "start": 19947, - "end": 19955, - "loc": { - "start": { - "line": 565, - "column": 43 - }, - "end": { - "line": 565, - "column": 51 - }, - "identifierName": "material" - }, - "name": "material" - }, - "property": { - "type": "Identifier", - "start": 19956, - "end": 19969, - "loc": { - "start": { - "line": 565, - "column": 52 - }, - "end": { - "line": 565, - "column": 65 - }, - "identifierName": "_textureSetId" - }, - "name": "_textureSetId" - }, - "computed": false - } + "identifierName": "mat4" + }, + "name": "mat4" + }, + "computed": false + }, + "arguments": [] + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 19053, + "end": 19098, + "loc": { + "start": { + "line": 563, + "column": 15 + }, + "end": { + "line": 565, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19067, + "end": 19088, + "loc": { + "start": { + "line": 564, + "column": 12 + }, + "end": { + "line": 564, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19067, + "end": 19087, + "loc": { + "start": { + "line": 564, + "column": 12 + }, + "end": { + "line": 564, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 19067, + "end": 19073, + "loc": { + "start": { + "line": 564, + "column": 12 + }, + "end": { + "line": 564, + "column": 18 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "right": { + "type": "Identifier", + "start": 19076, + "end": 19087, + "loc": { + "start": { + "line": 564, + "column": 21 + }, + "end": { + "line": 564, + "column": 32 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + } + } + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 19109, + "end": 19353, + "loc": { + "start": { + "line": 567, + "column": 4 + }, + "end": { + "line": 574, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 19113, + "end": 19129, + "loc": { + "start": { + "line": 567, + "column": 8 + }, + "end": { + "line": 567, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 19113, + "end": 19117, + "loc": { + "start": { + "line": 567, + "column": 8 + }, + "end": { + "line": 567, + "column": 12 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 19118, + "end": 19129, + "loc": { + "start": { + "line": 567, + "column": 13 + }, + "end": { + "line": 567, + "column": 24 + }, + "identifierName": "translation" + }, + "name": "translation" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 19131, + "end": 19353, + "loc": { + "start": { + "line": 567, + "column": 26 + }, + "end": { + "line": 574, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19141, + "end": 19195, + "loc": { + "start": { + "line": 568, + "column": 8 + }, + "end": { + "line": 568, + "column": 62 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19141, + "end": 19194, + "loc": { + "start": { + "line": 568, + "column": 8 + }, + "end": { + "line": 568, + "column": 61 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 19141, + "end": 19152, + "loc": { + "start": { + "line": 568, + "column": 8 + }, + "end": { + "line": 568, + "column": 19 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + }, + "right": { + "type": "CallExpression", + "start": 19155, + "end": 19194, + "loc": { + "start": { + "line": 568, + "column": 22 + }, + "end": { + "line": 568, + "column": 61 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19155, + "end": 19176, + "loc": { + "start": { + "line": 568, + "column": 22 + }, + "end": { + "line": 568, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 19155, + "end": 19159, + "loc": { + "start": { + "line": 568, + "column": 22 + }, + "end": { + "line": 568, + "column": 26 + }, + "identifierName": "math" + }, + "name": "math" + }, + "property": { + "type": "Identifier", + "start": 19160, + "end": 19176, + "loc": { + "start": { + "line": 568, + "column": 27 + }, + "end": { + "line": 568, + "column": 43 + }, + "identifierName": "translationMat4v" + }, + "name": "translationMat4v" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 19177, + "end": 19193, + "loc": { + "start": { + "line": 568, + "column": 44 + }, + "end": { + "line": 568, + "column": 60 + } + }, + "object": { + "type": "Identifier", + "start": 19177, + "end": 19181, + "loc": { + "start": { + "line": 568, + "column": 44 + }, + "end": { + "line": 568, + "column": 48 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 19182, + "end": 19193, + "loc": { + "start": { + "line": 568, + "column": 49 + }, + "end": { + "line": 568, + "column": 60 + }, + "identifierName": "translation" + }, + "name": "translation" + }, + "computed": false + } + ] + } + } + }, + { + "type": "IfStatement", + "start": 19204, + "end": 19347, + "loc": { + "start": { + "line": 569, + "column": 8 + }, + "end": { + "line": 573, + "column": 9 + } + }, + "test": { + "type": "Identifier", + "start": 19208, + "end": 19214, + "loc": { + "start": { + "line": 569, + "column": 12 + }, + "end": { + "line": 569, + "column": 18 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "consequent": { + "type": "BlockStatement", + "start": 19216, + "end": 19296, + "loc": { + "start": { + "line": 569, + "column": 20 + }, + "end": { + "line": 571, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19230, + "end": 19286, + "loc": { + "start": { + "line": 570, + "column": 12 + }, + "end": { + "line": 570, + "column": 68 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19230, + "end": 19285, + "loc": { + "start": { + "line": 570, + "column": 12 + }, + "end": { + "line": 570, + "column": 67 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 19230, + "end": 19236, + "loc": { + "start": { + "line": 570, + "column": 12 + }, + "end": { + "line": 570, + "column": 18 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "right": { + "type": "CallExpression", + "start": 19239, + "end": 19285, + "loc": { + "start": { + "line": 570, + "column": 21 + }, + "end": { + "line": 570, + "column": 67 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19239, + "end": 19251, + "loc": { + "start": { + "line": 570, + "column": 21 + }, + "end": { + "line": 570, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 19239, + "end": 19243, + "loc": { + "start": { + "line": 570, + "column": 21 + }, + "end": { + "line": 570, + "column": 25 + }, + "identifierName": "math" + }, + "name": "math" + }, + "property": { + "type": "Identifier", + "start": 19244, + "end": 19251, + "loc": { + "start": { + "line": 570, + "column": 26 + }, + "end": { + "line": 570, + "column": 33 + }, + "identifierName": "mulMat4" + }, + "name": "mulMat4" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 19252, + "end": 19258, + "loc": { + "start": { + "line": 570, + "column": 34 + }, + "end": { + "line": 570, + "column": 40 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + { + "type": "Identifier", + "start": 19260, + "end": 19271, + "loc": { + "start": { + "line": 570, + "column": 42 + }, + "end": { + "line": 570, + "column": 53 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + }, + { + "type": "CallExpression", + "start": 19273, + "end": 19284, + "loc": { + "start": { + "line": 570, + "column": 55 + }, + "end": { + "line": 570, + "column": 66 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19273, + "end": 19282, + "loc": { + "start": { + "line": 570, + "column": 55 + }, + "end": { + "line": 570, + "column": 64 } }, - { - "type": "ExpressionStatement", - "start": 19991, - "end": 20034, + "object": { + "type": "Identifier", + "start": 19273, + "end": 19277, "loc": { "start": { - "line": 566, - "column": 20 + "line": 570, + "column": 55 }, "end": { - "line": 566, - "column": 63 - } + "line": 570, + "column": 59 + }, + "identifierName": "math" }, - "expression": { - "type": "AssignmentExpression", - "start": 19991, - "end": 20033, - "loc": { - "start": { - "line": 566, - "column": 20 - }, - "end": { - "line": 566, - "column": 62 - } + "name": "math" + }, + "property": { + "type": "Identifier", + "start": 19278, + "end": 19282, + "loc": { + "start": { + "line": 570, + "column": 60 }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 19991, - "end": 20004, - "loc": { - "start": { - "line": 566, - "column": 20 - }, - "end": { - "line": 566, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 19991, - "end": 19998, - "loc": { - "start": { - "line": 566, - "column": 20 - }, - "end": { - "line": 566, - "column": 27 - }, - "identifierName": "meshCfg" - }, - "name": "meshCfg" - }, - "property": { - "type": "Identifier", - "start": 19999, - "end": 20004, - "loc": { - "start": { - "line": 566, - "column": 28 - }, - "end": { - "line": 566, - "column": 33 - }, - "identifierName": "color" - }, - "name": "color" - }, - "computed": false + "end": { + "line": 570, + "column": 64 }, - "right": { - "type": "MemberExpression", - "start": 20007, - "end": 20033, - "loc": { - "start": { - "line": 566, - "column": 36 - }, - "end": { - "line": 566, - "column": 62 - } - }, - "object": { - "type": "MemberExpression", - "start": 20007, - "end": 20027, - "loc": { - "start": { - "line": 566, - "column": 36 - }, - "end": { - "line": 566, - "column": 56 - } - }, - "object": { - "type": "Identifier", - "start": 20007, - "end": 20015, - "loc": { - "start": { - "line": 566, - "column": 36 - }, - "end": { - "line": 566, - "column": 44 - }, - "identifierName": "material" - }, - "name": "material" - }, - "property": { - "type": "Identifier", - "start": 20016, - "end": 20027, - "loc": { - "start": { - "line": 566, - "column": 45 - }, - "end": { - "line": 566, - "column": 56 - }, - "identifierName": "_attributes" - }, - "name": "_attributes" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 20028, - "end": 20033, - "loc": { - "start": { - "line": 566, - "column": 57 - }, - "end": { - "line": 566, - "column": 62 - }, - "identifierName": "color" - }, - "name": "color" - }, - "computed": false - } - } + "identifierName": "mat4" + }, + "name": "mat4" + }, + "computed": false + }, + "arguments": [] + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 19302, + "end": 19347, + "loc": { + "start": { + "line": 571, + "column": 15 + }, + "end": { + "line": 573, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19316, + "end": 19337, + "loc": { + "start": { + "line": 572, + "column": 12 + }, + "end": { + "line": 572, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19316, + "end": 19336, + "loc": { + "start": { + "line": 572, + "column": 12 + }, + "end": { + "line": 572, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 19316, + "end": 19322, + "loc": { + "start": { + "line": 572, + "column": 12 + }, + "end": { + "line": 572, + "column": 18 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "right": { + "type": "Identifier", + "start": 19325, + "end": 19336, + "loc": { + "start": { + "line": 572, + "column": 21 + }, + "end": { + "line": 572, + "column": 32 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + } + } + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 19358, + "end": 19596, + "loc": { + "start": { + "line": 575, + "column": 4 + }, + "end": { + "line": 582, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 19362, + "end": 19375, + "loc": { + "start": { + "line": 575, + "column": 8 + }, + "end": { + "line": 575, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 19362, + "end": 19366, + "loc": { + "start": { + "line": 575, + "column": 8 + }, + "end": { + "line": 575, + "column": 12 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 19367, + "end": 19375, + "loc": { + "start": { + "line": 575, + "column": 13 + }, + "end": { + "line": 575, + "column": 21 + }, + "identifierName": "rotation" + }, + "name": "rotation" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 19377, + "end": 19596, + "loc": { + "start": { + "line": 575, + "column": 23 + }, + "end": { + "line": 582, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19387, + "end": 19438, + "loc": { + "start": { + "line": 576, + "column": 8 + }, + "end": { + "line": 576, + "column": 59 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19387, + "end": 19437, + "loc": { + "start": { + "line": 576, + "column": 8 + }, + "end": { + "line": 576, + "column": 58 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 19387, + "end": 19398, + "loc": { + "start": { + "line": 576, + "column": 8 + }, + "end": { + "line": 576, + "column": 19 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + }, + "right": { + "type": "CallExpression", + "start": 19401, + "end": 19437, + "loc": { + "start": { + "line": 576, + "column": 22 + }, + "end": { + "line": 576, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19401, + "end": 19422, + "loc": { + "start": { + "line": 576, + "column": 22 + }, + "end": { + "line": 576, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 19401, + "end": 19405, + "loc": { + "start": { + "line": 576, + "column": 22 + }, + "end": { + "line": 576, + "column": 26 + }, + "identifierName": "math" + }, + "name": "math" + }, + "property": { + "type": "Identifier", + "start": 19406, + "end": 19422, + "loc": { + "start": { + "line": 576, + "column": 27 + }, + "end": { + "line": 576, + "column": 43 + }, + "identifierName": "quaternionToMat4" + }, + "name": "quaternionToMat4" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 19423, + "end": 19436, + "loc": { + "start": { + "line": 576, + "column": 44 + }, + "end": { + "line": 576, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 19423, + "end": 19427, + "loc": { + "start": { + "line": 576, + "column": 44 + }, + "end": { + "line": 576, + "column": 48 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 19428, + "end": 19436, + "loc": { + "start": { + "line": 576, + "column": 49 + }, + "end": { + "line": 576, + "column": 57 + }, + "identifierName": "rotation" + }, + "name": "rotation" + }, + "computed": false + } + ] + } + } + }, + { + "type": "IfStatement", + "start": 19447, + "end": 19590, + "loc": { + "start": { + "line": 577, + "column": 8 + }, + "end": { + "line": 581, + "column": 9 + } + }, + "test": { + "type": "Identifier", + "start": 19451, + "end": 19457, + "loc": { + "start": { + "line": 577, + "column": 12 + }, + "end": { + "line": 577, + "column": 18 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "consequent": { + "type": "BlockStatement", + "start": 19459, + "end": 19539, + "loc": { + "start": { + "line": 577, + "column": 20 + }, + "end": { + "line": 579, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19473, + "end": 19529, + "loc": { + "start": { + "line": 578, + "column": 12 + }, + "end": { + "line": 578, + "column": 68 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19473, + "end": 19528, + "loc": { + "start": { + "line": 578, + "column": 12 + }, + "end": { + "line": 578, + "column": 67 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 19473, + "end": 19479, + "loc": { + "start": { + "line": 578, + "column": 12 + }, + "end": { + "line": 578, + "column": 18 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "right": { + "type": "CallExpression", + "start": 19482, + "end": 19528, + "loc": { + "start": { + "line": 578, + "column": 21 + }, + "end": { + "line": 578, + "column": 67 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19482, + "end": 19494, + "loc": { + "start": { + "line": 578, + "column": 21 + }, + "end": { + "line": 578, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 19482, + "end": 19486, + "loc": { + "start": { + "line": 578, + "column": 21 }, - { - "type": "ExpressionStatement", - "start": 20055, - "end": 20102, - "loc": { - "start": { - "line": 567, - "column": 20 - }, - "end": { - "line": 567, - "column": 67 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 20055, - "end": 20101, - "loc": { - "start": { - "line": 567, - "column": 20 - }, - "end": { - "line": 567, - "column": 66 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 20055, - "end": 20070, - "loc": { - "start": { - "line": 567, - "column": 20 - }, - "end": { - "line": 567, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 20055, - "end": 20062, - "loc": { - "start": { - "line": 567, - "column": 20 - }, - "end": { - "line": 567, - "column": 27 - }, - "identifierName": "meshCfg" - }, - "name": "meshCfg" - }, - "property": { - "type": "Identifier", - "start": 20063, - "end": 20070, - "loc": { - "start": { - "line": 567, - "column": 28 - }, - "end": { - "line": 567, - "column": 35 - }, - "identifierName": "opacity" - }, - "name": "opacity" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 20073, - "end": 20101, - "loc": { - "start": { - "line": 567, - "column": 38 - }, - "end": { - "line": 567, - "column": 66 - } - }, - "object": { - "type": "MemberExpression", - "start": 20073, - "end": 20093, - "loc": { - "start": { - "line": 567, - "column": 38 - }, - "end": { - "line": 567, - "column": 58 - } - }, - "object": { - "type": "Identifier", - "start": 20073, - "end": 20081, - "loc": { - "start": { - "line": 567, - "column": 38 - }, - "end": { - "line": 567, - "column": 46 - }, - "identifierName": "material" - }, - "name": "material" - }, - "property": { - "type": "Identifier", - "start": 20082, - "end": 20093, - "loc": { - "start": { - "line": 567, - "column": 47 - }, - "end": { - "line": 567, - "column": 58 - }, - "identifierName": "_attributes" - }, - "name": "_attributes" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 20094, - "end": 20101, - "loc": { - "start": { - "line": 567, - "column": 59 - }, - "end": { - "line": 567, - "column": 66 - }, - "identifierName": "opacity" - }, - "name": "opacity" - }, - "computed": false - } - } + "end": { + "line": 578, + "column": 25 }, - { - "type": "ExpressionStatement", - "start": 20123, - "end": 20172, - "loc": { - "start": { - "line": 568, - "column": 20 - }, - "end": { - "line": 568, - "column": 69 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 20123, - "end": 20171, - "loc": { - "start": { - "line": 568, - "column": 20 - }, - "end": { - "line": 568, - "column": 68 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 20123, - "end": 20139, - "loc": { - "start": { - "line": 568, - "column": 20 - }, - "end": { - "line": 568, - "column": 36 - } - }, - "object": { - "type": "Identifier", - "start": 20123, - "end": 20130, - "loc": { - "start": { - "line": 568, - "column": 20 - }, - "end": { - "line": 568, - "column": 27 - }, - "identifierName": "meshCfg" - }, - "name": "meshCfg" - }, - "property": { - "type": "Identifier", - "start": 20131, - "end": 20139, - "loc": { - "start": { - "line": 568, - "column": 28 - }, - "end": { - "line": 568, - "column": 36 - }, - "identifierName": "metallic" - }, - "name": "metallic" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 20142, - "end": 20171, - "loc": { - "start": { - "line": 568, - "column": 39 - }, - "end": { - "line": 568, - "column": 68 - } - }, - "object": { - "type": "MemberExpression", - "start": 20142, - "end": 20162, - "loc": { - "start": { - "line": 568, - "column": 39 - }, - "end": { - "line": 568, - "column": 59 - } - }, - "object": { - "type": "Identifier", - "start": 20142, - "end": 20150, - "loc": { - "start": { - "line": 568, - "column": 39 - }, - "end": { - "line": 568, - "column": 47 - }, - "identifierName": "material" - }, - "name": "material" - }, - "property": { - "type": "Identifier", - "start": 20151, - "end": 20162, - "loc": { - "start": { - "line": 568, - "column": 48 - }, - "end": { - "line": 568, - "column": 59 - }, - "identifierName": "_attributes" - }, - "name": "_attributes" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 20163, - "end": 20171, - "loc": { - "start": { - "line": 568, - "column": 60 - }, - "end": { - "line": 568, - "column": 68 - }, - "identifierName": "metallic" - }, - "name": "metallic" - }, - "computed": false - } - } + "identifierName": "math" + }, + "name": "math" + }, + "property": { + "type": "Identifier", + "start": 19487, + "end": 19494, + "loc": { + "start": { + "line": 578, + "column": 26 }, - { - "type": "ExpressionStatement", - "start": 20193, - "end": 20244, - "loc": { - "start": { - "line": 569, - "column": 20 - }, - "end": { - "line": 569, - "column": 71 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 20193, - "end": 20243, - "loc": { - "start": { - "line": 569, - "column": 20 - }, - "end": { - "line": 569, - "column": 70 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 20193, - "end": 20210, - "loc": { - "start": { - "line": 569, - "column": 20 - }, - "end": { - "line": 569, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 20193, - "end": 20200, - "loc": { - "start": { - "line": 569, - "column": 20 - }, - "end": { - "line": 569, - "column": 27 - }, - "identifierName": "meshCfg" - }, - "name": "meshCfg" - }, - "property": { - "type": "Identifier", - "start": 20201, - "end": 20210, - "loc": { - "start": { - "line": 569, - "column": 28 - }, - "end": { - "line": 569, - "column": 37 - }, - "identifierName": "roughness" - }, - "name": "roughness" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 20213, - "end": 20243, - "loc": { - "start": { - "line": 569, - "column": 40 - }, - "end": { - "line": 569, - "column": 70 - } - }, - "object": { - "type": "MemberExpression", - "start": 20213, - "end": 20233, - "loc": { - "start": { - "line": 569, - "column": 40 - }, - "end": { - "line": 569, - "column": 60 - } - }, - "object": { - "type": "Identifier", - "start": 20213, - "end": 20221, - "loc": { - "start": { - "line": 569, - "column": 40 - }, - "end": { - "line": 569, - "column": 48 - }, - "identifierName": "material" - }, - "name": "material" - }, - "property": { - "type": "Identifier", - "start": 20222, - "end": 20233, - "loc": { - "start": { - "line": 569, - "column": 49 - }, - "end": { - "line": 569, - "column": 60 - }, - "identifierName": "_attributes" - }, - "name": "_attributes" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 20234, - "end": 20243, - "loc": { - "start": { - "line": 569, - "column": 61 - }, - "end": { - "line": 569, - "column": 70 - }, - "identifierName": "roughness" - }, - "name": "roughness" - }, - "computed": false - } - } - } - ], - "directives": [] + "end": { + "line": 578, + "column": 33 + }, + "identifierName": "mulMat4" + }, + "name": "mulMat4" }, - "alternate": { - "type": "BlockStatement", - "start": 20268, - "end": 20383, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 19495, + "end": 19501, "loc": { "start": { - "line": 570, - "column": 23 + "line": 578, + "column": 34 }, "end": { - "line": 573, - "column": 17 + "line": 578, + "column": 40 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + { + "type": "Identifier", + "start": 19503, + "end": 19514, + "loc": { + "start": { + "line": 578, + "column": 42 + }, + "end": { + "line": 578, + "column": 53 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + }, + { + "type": "CallExpression", + "start": 19516, + "end": 19527, + "loc": { + "start": { + "line": 578, + "column": 55 + }, + "end": { + "line": 578, + "column": 66 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 20290, - "end": 20322, + "callee": { + "type": "MemberExpression", + "start": 19516, + "end": 19525, + "loc": { + "start": { + "line": 578, + "column": 55 + }, + "end": { + "line": 578, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 19516, + "end": 19520, "loc": { "start": { - "line": 571, - "column": 20 + "line": 578, + "column": 55 }, "end": { - "line": 571, - "column": 52 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 20290, - "end": 20321, - "loc": { - "start": { - "line": 571, - "column": 20 - }, - "end": { - "line": 571, - "column": 51 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 20290, - "end": 20303, - "loc": { - "start": { - "line": 571, - "column": 20 - }, - "end": { - "line": 571, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 20290, - "end": 20297, - "loc": { - "start": { - "line": 571, - "column": 20 - }, - "end": { - "line": 571, - "column": 27 - }, - "identifierName": "meshCfg" - }, - "name": "meshCfg" - }, - "property": { - "type": "Identifier", - "start": 20298, - "end": 20303, - "loc": { - "start": { - "line": 571, - "column": 28 - }, - "end": { - "line": 571, - "column": 33 - }, - "identifierName": "color" - }, - "name": "color" - }, - "computed": false + "line": 578, + "column": 59 }, - "right": { - "type": "ArrayExpression", - "start": 20306, - "end": 20321, - "loc": { - "start": { - "line": 571, - "column": 36 - }, - "end": { - "line": 571, - "column": 51 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 20307, - "end": 20310, - "loc": { - "start": { - "line": 571, - "column": 37 - }, - "end": { - "line": 571, - "column": 40 - } - }, - "extra": { - "rawValue": 1, - "raw": "1.0" - }, - "value": 1 - }, - { - "type": "NumericLiteral", - "start": 20312, - "end": 20315, - "loc": { - "start": { - "line": 571, - "column": 42 - }, - "end": { - "line": 571, - "column": 45 - } - }, - "extra": { - "rawValue": 1, - "raw": "1.0" - }, - "value": 1 - }, - { - "type": "NumericLiteral", - "start": 20317, - "end": 20320, - "loc": { - "start": { - "line": 571, - "column": 47 - }, - "end": { - "line": 571, - "column": 50 - } - }, - "extra": { - "rawValue": 1, - "raw": "1.0" - }, - "value": 1 - } - ] - } - } + "identifierName": "math" + }, + "name": "math" }, - { - "type": "ExpressionStatement", - "start": 20343, - "end": 20365, + "property": { + "type": "Identifier", + "start": 19521, + "end": 19525, "loc": { "start": { - "line": 572, - "column": 20 + "line": 578, + "column": 60 }, "end": { - "line": 572, - "column": 42 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 20343, - "end": 20364, - "loc": { - "start": { - "line": 572, - "column": 20 - }, - "end": { - "line": 572, - "column": 41 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 20343, - "end": 20358, - "loc": { - "start": { - "line": 572, - "column": 20 - }, - "end": { - "line": 572, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 20343, - "end": 20350, - "loc": { - "start": { - "line": 572, - "column": 20 - }, - "end": { - "line": 572, - "column": 27 - }, - "identifierName": "meshCfg" - }, - "name": "meshCfg" - }, - "property": { - "type": "Identifier", - "start": 20351, - "end": 20358, - "loc": { - "start": { - "line": 572, - "column": 28 - }, - "end": { - "line": 572, - "column": 35 - }, - "identifierName": "opacity" - }, - "name": "opacity" - }, - "computed": false + "line": 578, + "column": 64 }, - "right": { - "type": "NumericLiteral", - "start": 20361, - "end": 20364, - "loc": { - "start": { - "line": 572, - "column": 38 - }, - "end": { - "line": 572, - "column": 41 - } - }, - "extra": { - "rawValue": 1, - "raw": "1.0" - }, - "value": 1 - } - } - } - ], - "directives": [] + "identifierName": "mat4" + }, + "name": "mat4" + }, + "computed": false + }, + "arguments": [] + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 19545, + "end": 19590, + "loc": { + "start": { + "line": 579, + "column": 15 + }, + "end": { + "line": 581, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19559, + "end": 19580, + "loc": { + "start": { + "line": 580, + "column": 12 + }, + "end": { + "line": 580, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19559, + "end": 19579, + "loc": { + "start": { + "line": 580, + "column": 12 + }, + "end": { + "line": 580, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 19559, + "end": 19565, + "loc": { + "start": { + "line": 580, + "column": 12 + }, + "end": { + "line": 580, + "column": 18 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "right": { + "type": "Identifier", + "start": 19568, + "end": 19579, + "loc": { + "start": { + "line": 580, + "column": 21 + }, + "end": { + "line": 580, + "column": 32 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + } + } + } + ], + "directives": [] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 19601, + "end": 19829, + "loc": { + "start": { + "line": 583, + "column": 4 + }, + "end": { + "line": 590, + "column": 5 + } + }, + "test": { + "type": "MemberExpression", + "start": 19605, + "end": 19615, + "loc": { + "start": { + "line": 583, + "column": 8 + }, + "end": { + "line": 583, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 19605, + "end": 19609, + "loc": { + "start": { + "line": 583, + "column": 8 + }, + "end": { + "line": 583, + "column": 12 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 19610, + "end": 19615, + "loc": { + "start": { + "line": 583, + "column": 13 + }, + "end": { + "line": 583, + "column": 18 + }, + "identifierName": "scale" + }, + "name": "scale" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 19617, + "end": 19829, + "loc": { + "start": { + "line": 583, + "column": 20 + }, + "end": { + "line": 590, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19627, + "end": 19671, + "loc": { + "start": { + "line": 584, + "column": 8 + }, + "end": { + "line": 584, + "column": 52 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19627, + "end": 19670, + "loc": { + "start": { + "line": 584, + "column": 8 + }, + "end": { + "line": 584, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 19627, + "end": 19638, + "loc": { + "start": { + "line": 584, + "column": 8 + }, + "end": { + "line": 584, + "column": 19 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + }, + "right": { + "type": "CallExpression", + "start": 19641, + "end": 19670, + "loc": { + "start": { + "line": 584, + "column": 22 + }, + "end": { + "line": 584, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 19641, + "end": 19658, + "loc": { + "start": { + "line": 584, + "column": 22 + }, + "end": { + "line": 584, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 19641, + "end": 19645, + "loc": { + "start": { + "line": 584, + "column": 22 + }, + "end": { + "line": 584, + "column": 26 + }, + "identifierName": "math" + }, + "name": "math" + }, + "property": { + "type": "Identifier", + "start": 19646, + "end": 19658, + "loc": { + "start": { + "line": 584, + "column": 27 + }, + "end": { + "line": 584, + "column": 39 + }, + "identifierName": "scalingMat4v" + }, + "name": "scalingMat4v" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 19659, + "end": 19669, + "loc": { + "start": { + "line": 584, + "column": 40 + }, + "end": { + "line": 584, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 19659, + "end": 19663, + "loc": { + "start": { + "line": 584, + "column": 40 + }, + "end": { + "line": 584, + "column": 44 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 19664, + "end": 19669, + "loc": { + "start": { + "line": 584, + "column": 45 + }, + "end": { + "line": 584, + "column": 50 + }, + "identifierName": "scale" + }, + "name": "scale" + }, + "computed": false + } + ] + } + } + }, + { + "type": "IfStatement", + "start": 19680, + "end": 19823, + "loc": { + "start": { + "line": 585, + "column": 8 + }, + "end": { + "line": 589, + "column": 9 + } + }, + "test": { + "type": "Identifier", + "start": 19684, + "end": 19690, + "loc": { + "start": { + "line": 585, + "column": 12 + }, + "end": { + "line": 585, + "column": 18 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "consequent": { + "type": "BlockStatement", + "start": 19692, + "end": 19772, + "loc": { + "start": { + "line": 585, + "column": 20 + }, + "end": { + "line": 587, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19706, + "end": 19762, + "loc": { + "start": { + "line": 586, + "column": 12 + }, + "end": { + "line": 586, + "column": 68 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19706, + "end": 19761, + "loc": { + "start": { + "line": 586, + "column": 12 + }, + "end": { + "line": 586, + "column": 67 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 19706, + "end": 19712, + "loc": { + "start": { + "line": 586, + "column": 12 + }, + "end": { + "line": 586, + "column": 18 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "right": { + "type": "CallExpression", + "start": 19715, + "end": 19761, + "loc": { + "start": { + "line": 586, + "column": 21 + }, + "end": { + "line": 586, + "column": 67 } }, - { - "type": "ExpressionStatement", - "start": 20400, - "end": 20429, + "callee": { + "type": "MemberExpression", + "start": 19715, + "end": 19727, "loc": { "start": { - "line": 574, - "column": 16 + "line": 586, + "column": 21 }, "end": { - "line": 574, - "column": 45 + "line": 586, + "column": 33 } }, - "expression": { - "type": "CallExpression", - "start": 20400, - "end": 20428, + "object": { + "type": "Identifier", + "start": 19715, + "end": 19719, "loc": { "start": { - "line": 574, - "column": 16 + "line": 586, + "column": 21 }, "end": { - "line": 574, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 20400, - "end": 20419, - "loc": { - "start": { - "line": 574, - "column": 16 - }, - "end": { - "line": 574, - "column": 35 - } + "line": 586, + "column": 25 }, - "object": { - "type": "Identifier", - "start": 20400, - "end": 20408, - "loc": { - "start": { - "line": 574, - "column": 16 - }, - "end": { - "line": 574, - "column": 24 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" + "identifierName": "math" + }, + "name": "math" + }, + "property": { + "type": "Identifier", + "start": 19720, + "end": 19727, + "loc": { + "start": { + "line": 586, + "column": 26 }, - "property": { - "type": "Identifier", - "start": 20409, - "end": 20419, - "loc": { - "start": { - "line": 574, - "column": 25 - }, - "end": { - "line": 574, - "column": 35 - }, - "identifierName": "createMesh" - }, - "name": "createMesh" + "end": { + "line": 586, + "column": 33 }, - "computed": false + "identifierName": "mulMat4" }, - "arguments": [ - { - "type": "Identifier", - "start": 20420, - "end": 20427, - "loc": { - "start": { - "line": 574, - "column": 36 - }, - "end": { - "line": 574, - "column": 43 - }, - "identifierName": "meshCfg" - }, - "name": "meshCfg" - } - ] - } + "name": "mulMat4" + }, + "computed": false }, - { - "type": "ExpressionStatement", - "start": 20446, - "end": 20470, - "loc": { - "start": { - "line": 575, - "column": 16 + "arguments": [ + { + "type": "Identifier", + "start": 19728, + "end": 19734, + "loc": { + "start": { + "line": 586, + "column": 34 + }, + "end": { + "line": 586, + "column": 40 + }, + "identifierName": "matrix" }, - "end": { - "line": 575, - "column": 40 - } + "name": "matrix" }, - "expression": { + { + "type": "Identifier", + "start": 19736, + "end": 19747, + "loc": { + "start": { + "line": 586, + "column": 42 + }, + "end": { + "line": 586, + "column": 53 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + }, + { "type": "CallExpression", - "start": 20446, - "end": 20469, + "start": 19749, + "end": 19760, "loc": { "start": { - "line": 575, - "column": 16 + "line": 586, + "column": 55 }, "end": { - "line": 575, - "column": 39 + "line": 586, + "column": 66 } }, "callee": { "type": "MemberExpression", - "start": 20446, - "end": 20458, + "start": 19749, + "end": 19758, "loc": { "start": { - "line": 575, - "column": 16 + "line": 586, + "column": 55 }, "end": { - "line": 575, - "column": 28 + "line": 586, + "column": 64 } }, "object": { "type": "Identifier", - "start": 20446, - "end": 20453, + "start": 19749, + "end": 19753, "loc": { "start": { - "line": 575, - "column": 16 + "line": 586, + "column": 55 }, "end": { - "line": 575, - "column": 23 + "line": 586, + "column": 59 }, - "identifierName": "meshIds" + "identifierName": "math" }, - "name": "meshIds" + "name": "math" }, "property": { "type": "Identifier", - "start": 20454, - "end": 20458, + "start": 19754, + "end": 19758, "loc": { "start": { - "line": 575, - "column": 24 + "line": 586, + "column": 60 }, "end": { - "line": 575, - "column": 28 + "line": 586, + "column": 64 }, - "identifierName": "push" + "identifierName": "mat4" }, - "name": "push" + "name": "mat4" }, "computed": false }, - "arguments": [ - { - "type": "Identifier", - "start": 20459, - "end": 20468, - "loc": { - "start": { - "line": 575, - "column": 29 - }, - "end": { - "line": 575, - "column": 38 - }, - "identifierName": "xktMeshId" - }, - "name": "xktMeshId" - } - ] + "arguments": [] } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 19778, + "end": 19823, + "loc": { + "start": { + "line": 587, + "column": 15 + }, + "end": { + "line": 589, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 19792, + "end": 19813, + "loc": { + "start": { + "line": 588, + "column": 12 + }, + "end": { + "line": 588, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 19792, + "end": 19812, + "loc": { + "start": { + "line": 588, + "column": 12 + }, + "end": { + "line": 588, + "column": 32 } - ], - "directives": [] + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 19792, + "end": 19798, + "loc": { + "start": { + "line": 588, + "column": 12 + }, + "end": { + "line": 588, + "column": 18 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "right": { + "type": "Identifier", + "start": 19801, + "end": 19812, + "loc": { + "start": { + "line": 588, + "column": 21 + }, + "end": { + "line": 588, + "column": 32 + }, + "identifierName": "localMatrix" + }, + "name": "localMatrix" + } } } ], "directives": [] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ReturnStatement", + "start": 19834, + "end": 19848, + "loc": { + "start": { + "line": 591, + "column": 4 + }, + "end": { + "line": 591, + "column": 18 + } + }, + "argument": { + "type": "Identifier", + "start": 19841, + "end": 19847, + "loc": { + "start": { + "line": 591, + "column": 11 + }, + "end": { + "line": 591, + "column": 17 + }, + "identifierName": "matrix" + }, + "name": "matrix" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Parses transform at the given glTF node.\n *\n * @param node the glTF node\n * @param matrix Transfor matrix from parent nodes\n * @returns {*} Transform matrix for the node\n ", + "start": 18607, + "end": 18787, + "loc": { + "start": { + "line": 547, + "column": 0 + }, + "end": { + "line": 553, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel.\n *\n * @param node glTF node\n * @param ctx Parsing context\n * @param matrix Matrix for the XKTMeshes\n * @param meshIds returns IDs of the new XKTMeshes\n ", + "start": 19852, + "end": 20119, + "loc": { + "start": { + "line": 594, + "column": 0 + }, + "end": { + "line": 601, + "column": 3 + } + } + } + ] + }, + { + "type": "FunctionDeclaration", + "start": 20120, + "end": 24570, + "loc": { + "start": { + "line": 602, + "column": 0 + }, + "end": { + "line": 700, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 20129, + "end": 20142, + "loc": { + "start": { + "line": 602, + "column": 9 + }, + "end": { + "line": 602, + "column": 22 + }, + "identifierName": "parseNodeMesh" + }, + "name": "parseNodeMesh", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 20143, + "end": 20147, + "loc": { + "start": { + "line": 602, + "column": 23 + }, + "end": { + "line": 602, + "column": 27 + }, + "identifierName": "node" + }, + "name": "node" + }, + { + "type": "Identifier", + "start": 20149, + "end": 20152, + "loc": { + "start": { + "line": 602, + "column": 29 + }, + "end": { + "line": 602, + "column": 32 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + { + "type": "Identifier", + "start": 20154, + "end": 20160, + "loc": { + "start": { + "line": 602, + "column": 34 + }, + "end": { + "line": 602, + "column": 40 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + { + "type": "Identifier", + "start": 20162, + "end": 20169, + "loc": { + "start": { + "line": 602, + "column": 42 + }, + "end": { + "line": 602, + "column": 49 + }, + "identifierName": "meshIds" + }, + "name": "meshIds" + } + ], + "body": { + "type": "BlockStatement", + "start": 20171, + "end": 24570, + "loc": { + "start": { + "line": 602, + "column": 51 + }, + "end": { + "line": 700, + "column": 1 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 20177, + "end": 20211, + "loc": { + "start": { + "line": 603, + "column": 4 + }, + "end": { + "line": 605, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 20181, + "end": 20186, + "loc": { + "start": { + "line": 603, + "column": 8 + }, + "end": { + "line": 603, + "column": 13 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 20182, + "end": 20186, + "loc": { + "start": { + "line": 603, + "column": 9 }, - "alternate": null + "end": { + "line": 603, + "column": 13 + }, + "identifierName": "node" + }, + "name": "node" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 20188, + "end": 20211, + "loc": { + "start": { + "line": 603, + "column": 15 + }, + "end": { + "line": 605, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 20198, + "end": 20205, + "loc": { + "start": { + "line": 604, + "column": 8 + }, + "end": { + "line": 604, + "column": 15 + } + }, + "argument": null } ], - "directives": [], - "trailingComments": null + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 20216, + "end": 20239, + "loc": { + "start": { + "line": 606, + "column": 4 + }, + "end": { + "line": 606, + "column": 27 + } }, - "alternate": null, - "trailingComments": [ + "declarations": [ { - "type": "CommentLine", - "value": " Visit child scene nodes", - "start": 20506, - "end": 20532, + "type": "VariableDeclarator", + "start": 20222, + "end": 20238, "loc": { "start": { - "line": 580, - "column": 4 + "line": 606, + "column": 10 }, "end": { - "line": 580, - "column": 30 + "line": 606, + "column": 26 } + }, + "id": { + "type": "Identifier", + "start": 20222, + "end": 20226, + "loc": { + "start": { + "line": 606, + "column": 10 + }, + "end": { + "line": 606, + "column": 14 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "init": { + "type": "MemberExpression", + "start": 20229, + "end": 20238, + "loc": { + "start": { + "line": 606, + "column": 17 + }, + "end": { + "line": 606, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 20229, + "end": 20233, + "loc": { + "start": { + "line": 606, + "column": 17 + }, + "end": { + "line": 606, + "column": 21 + }, + "identifierName": "node" + }, + "name": "node" + }, + "property": { + "type": "Identifier", + "start": 20234, + "end": 20238, + "loc": { + "start": { + "line": 606, + "column": 22 + }, + "end": { + "line": 606, + "column": 26 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "computed": false } } - ] + ], + "kind": "const" }, { "type": "IfStatement", - "start": 20538, - "end": 20778, + "start": 20244, + "end": 20278, "loc": { "start": { - "line": 582, + "line": 607, "column": 4 }, "end": { - "line": 588, + "line": 609, "column": 5 } }, "test": { - "type": "MemberExpression", - "start": 20542, - "end": 20555, + "type": "UnaryExpression", + "start": 20248, + "end": 20253, "loc": { "start": { - "line": 582, + "line": 607, "column": 8 }, "end": { - "line": 582, - "column": 21 + "line": 607, + "column": 13 } }, - "object": { + "operator": "!", + "prefix": true, + "argument": { "type": "Identifier", - "start": 20542, - "end": 20546, + "start": 20249, + "end": 20253, "loc": { "start": { - "line": 582, - "column": 8 + "line": 607, + "column": 9 }, "end": { - "line": 582, - "column": 12 - }, - "identifierName": "node" - }, - "name": "node", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 20547, - "end": 20555, - "loc": { - "start": { - "line": 582, + "line": 607, "column": 13 }, - "end": { - "line": 582, - "column": 21 - }, - "identifierName": "children" + "identifierName": "mesh" }, - "name": "children" + "name": "mesh" }, - "computed": false, - "leadingComments": null + "extra": { + "parenthesizedArgument": false + } }, "consequent": { "type": "BlockStatement", - "start": 20557, - "end": 20778, + "start": 20255, + "end": 20278, "loc": { "start": { - "line": 582, - "column": 23 + "line": 607, + "column": 15 }, "end": { - "line": 588, + "line": 609, "column": 5 } }, "body": [ { - "type": "VariableDeclaration", - "start": 20567, - "end": 20598, + "type": "ReturnStatement", + "start": 20265, + "end": 20272, "loc": { "start": { - "line": 583, + "line": 608, "column": 8 }, "end": { - "line": 583, - "column": 39 + "line": 608, + "column": 15 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 20573, - "end": 20597, + "argument": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "VariableDeclaration", + "start": 20283, + "end": 20328, + "loc": { + "start": { + "line": 610, + "column": 4 + }, + "end": { + "line": 610, + "column": 49 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 20289, + "end": 20327, + "loc": { + "start": { + "line": 610, + "column": 10 + }, + "end": { + "line": 610, + "column": 48 + } + }, + "id": { + "type": "Identifier", + "start": 20289, + "end": 20302, + "loc": { + "start": { + "line": 610, + "column": 10 + }, + "end": { + "line": 610, + "column": 23 + }, + "identifierName": "numPrimitives" + }, + "name": "numPrimitives" + }, + "init": { + "type": "MemberExpression", + "start": 20305, + "end": 20327, + "loc": { + "start": { + "line": 610, + "column": 26 + }, + "end": { + "line": 610, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 20305, + "end": 20320, + "loc": { + "start": { + "line": 610, + "column": 26 + }, + "end": { + "line": 610, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 20305, + "end": 20309, "loc": { "start": { - "line": 583, - "column": 14 + "line": 610, + "column": 26 }, "end": { - "line": 583, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 20573, - "end": 20581, - "loc": { - "start": { - "line": 583, - "column": 14 - }, - "end": { - "line": 583, - "column": 22 - }, - "identifierName": "children" + "line": 610, + "column": 30 }, - "name": "children" + "identifierName": "mesh" }, - "init": { - "type": "MemberExpression", - "start": 20584, - "end": 20597, - "loc": { - "start": { - "line": 583, - "column": 25 - }, - "end": { - "line": 583, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 20584, - "end": 20588, - "loc": { - "start": { - "line": 583, - "column": 25 - }, - "end": { - "line": 583, - "column": 29 - }, - "identifierName": "node" - }, - "name": "node" + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 20310, + "end": 20320, + "loc": { + "start": { + "line": 610, + "column": 31 }, - "property": { - "type": "Identifier", - "start": 20589, - "end": 20597, - "loc": { - "start": { - "line": 583, - "column": 30 - }, - "end": { - "line": 583, - "column": 38 - }, - "identifierName": "children" - }, - "name": "children" + "end": { + "line": 610, + "column": 41 }, - "computed": false - } - } - ], - "kind": "const" + "identifierName": "primitives" + }, + "name": "primitives" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 20321, + "end": 20327, + "loc": { + "start": { + "line": 610, + "column": 42 + }, + "end": { + "line": 610, + "column": 48 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 20333, + "end": 24568, + "loc": { + "start": { + "line": 611, + "column": 4 + }, + "end": { + "line": 699, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 20337, + "end": 20354, + "loc": { + "start": { + "line": 611, + "column": 8 + }, + "end": { + "line": 611, + "column": 25 + } + }, + "left": { + "type": "Identifier", + "start": 20337, + "end": 20350, + "loc": { + "start": { + "line": 611, + "column": 8 + }, + "end": { + "line": 611, + "column": 21 + }, + "identifierName": "numPrimitives" + }, + "name": "numPrimitives" + }, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 20353, + "end": 20354, + "loc": { + "start": { + "line": 611, + "column": 24 + }, + "end": { + "line": 611, + "column": 25 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 20356, + "end": 24568, + "loc": { + "start": { + "line": 611, + "column": 27 }, + "end": { + "line": 699, + "column": 5 + } + }, + "body": [ { "type": "ForStatement", - "start": 20607, - "end": 20772, + "start": 20366, + "end": 24562, "loc": { "start": { - "line": 584, + "line": 612, "column": 8 }, "end": { - "line": 587, + "line": 698, "column": 9 } }, "init": { "type": "VariableDeclaration", - "start": 20612, - "end": 20644, + "start": 20371, + "end": 20380, "loc": { "start": { - "line": 584, + "line": 612, "column": 13 }, "end": { - "line": 584, - "column": 45 + "line": 612, + "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 20616, - "end": 20621, + "start": 20375, + "end": 20380, "loc": { "start": { - "line": 584, + "line": 612, "column": 17 }, "end": { - "line": 584, + "line": 612, "column": 22 } }, "id": { "type": "Identifier", - "start": 20616, - "end": 20617, + "start": 20375, + "end": 20376, "loc": { "start": { - "line": 584, + "line": 612, "column": 17 }, "end": { - "line": 584, + "line": 612, "column": 18 }, "identifierName": "i" @@ -36937,15 +37331,15 @@ }, "init": { "type": "NumericLiteral", - "start": 20620, - "end": 20621, + "start": 20379, + "end": 20380, "loc": { "start": { - "line": 584, + "line": 612, "column": 21 }, "end": { - "line": 584, + "line": 612, "column": 22 } }, @@ -36955,118 +37349,36 @@ }, "value": 0 } - }, - { - "type": "VariableDeclarator", - "start": 20623, - "end": 20644, - "loc": { - "start": { - "line": 584, - "column": 24 - }, - "end": { - "line": 584, - "column": 45 - } - }, - "id": { - "type": "Identifier", - "start": 20623, - "end": 20626, - "loc": { - "start": { - "line": 584, - "column": 24 - }, - "end": { - "line": 584, - "column": 27 - }, - "identifierName": "len" - }, - "name": "len" - }, - "init": { - "type": "MemberExpression", - "start": 20629, - "end": 20644, - "loc": { - "start": { - "line": 584, - "column": 30 - }, - "end": { - "line": 584, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 20629, - "end": 20637, - "loc": { - "start": { - "line": 584, - "column": 30 - }, - "end": { - "line": 584, - "column": 38 - }, - "identifierName": "children" - }, - "name": "children" - }, - "property": { - "type": "Identifier", - "start": 20638, - "end": 20644, - "loc": { - "start": { - "line": 584, - "column": 39 - }, - "end": { - "line": 584, - "column": 45 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - } } ], "kind": "let" }, "test": { "type": "BinaryExpression", - "start": 20646, - "end": 20653, + "start": 20382, + "end": 20399, "loc": { "start": { - "line": 584, - "column": 47 + "line": 612, + "column": 24 }, "end": { - "line": 584, - "column": 54 + "line": 612, + "column": 41 } }, "left": { "type": "Identifier", - "start": 20646, - "end": 20647, + "start": 20382, + "end": 20383, "loc": { "start": { - "line": 584, - "column": 47 + "line": 612, + "column": 24 }, "end": { - "line": 584, - "column": 48 + "line": 612, + "column": 25 }, "identifierName": "i" }, @@ -37075,2200 +37387,7314 @@ "operator": "<", "right": { "type": "Identifier", - "start": 20650, - "end": 20653, + "start": 20386, + "end": 20399, "loc": { "start": { - "line": 584, - "column": 51 + "line": 612, + "column": 28 }, "end": { - "line": 584, - "column": 54 + "line": 612, + "column": 41 }, - "identifierName": "len" + "identifierName": "numPrimitives" }, - "name": "len" + "name": "numPrimitives" } }, "update": { "type": "UpdateExpression", - "start": 20655, - "end": 20658, + "start": 20401, + "end": 20404, "loc": { "start": { - "line": 584, - "column": 56 + "line": 612, + "column": 43 }, "end": { - "line": 584, - "column": 59 + "line": 612, + "column": 46 } }, "operator": "++", "prefix": false, "argument": { - "type": "Identifier", - "start": 20655, - "end": 20656, - "loc": { - "start": { - "line": 584, - "column": 56 - }, - "end": { - "line": 584, - "column": 57 - }, - "identifierName": "i" - }, - "name": "i" - } - }, - "body": { - "type": "BlockStatement", - "start": 20660, - "end": 20772, - "loc": { - "start": { - "line": 584, - "column": 61 - }, - "end": { - "line": 587, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 20674, - "end": 20704, - "loc": { - "start": { - "line": 585, - "column": 12 - }, - "end": { - "line": 585, - "column": 42 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 20680, - "end": 20703, - "loc": { - "start": { - "line": 585, - "column": 18 - }, - "end": { - "line": 585, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 20680, - "end": 20689, - "loc": { - "start": { - "line": 585, - "column": 18 - }, - "end": { - "line": 585, - "column": 27 - }, - "identifierName": "childNode" - }, - "name": "childNode" - }, - "init": { - "type": "MemberExpression", - "start": 20692, - "end": 20703, - "loc": { - "start": { - "line": 585, - "column": 30 - }, - "end": { - "line": 585, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 20692, - "end": 20700, - "loc": { - "start": { - "line": 585, - "column": 30 - }, - "end": { - "line": 585, - "column": 38 - }, - "identifierName": "children" - }, - "name": "children" - }, - "property": { - "type": "Identifier", - "start": 20701, - "end": 20702, - "loc": { - "start": { - "line": 585, - "column": 39 - }, - "end": { - "line": 585, - "column": 40 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - } - } - ], - "kind": "const" + "type": "Identifier", + "start": 20401, + "end": 20402, + "loc": { + "start": { + "line": 612, + "column": 43 + }, + "end": { + "line": 612, + "column": 44 + }, + "identifierName": "i" + }, + "name": "i" + } + }, + "body": { + "type": "BlockStatement", + "start": 20406, + "end": 24562, + "loc": { + "start": { + "line": 612, + "column": 48 }, + "end": { + "line": 698, + "column": 9 + } + }, + "body": [ { - "type": "ExpressionStatement", - "start": 20717, - "end": 20762, + "type": "TryStatement", + "start": 20420, + "end": 24552, "loc": { "start": { - "line": 586, + "line": 613, "column": 12 }, "end": { - "line": 586, - "column": 57 + "line": 697, + "column": 13 } }, - "expression": { - "type": "CallExpression", - "start": 20717, - "end": 20761, + "block": { + "type": "BlockStatement", + "start": 20424, + "end": 24494, "loc": { "start": { - "line": 586, - "column": 12 + "line": 613, + "column": 16 }, "end": { - "line": 586, - "column": 56 + "line": 695, + "column": 13 } }, - "callee": { - "type": "Identifier", - "start": 20717, - "end": 20726, - "loc": { - "start": { - "line": 586, - "column": 12 - }, - "end": { - "line": 586, - "column": 21 - }, - "identifierName": "parseNode" - }, - "name": "parseNode" - }, - "arguments": [ - { - "type": "Identifier", - "start": 20727, - "end": 20730, - "loc": { - "start": { - "line": 586, - "column": 22 - }, - "end": { - "line": 586, - "column": 25 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, + "body": [ { - "type": "Identifier", - "start": 20732, - "end": 20741, + "type": "VariableDeclaration", + "start": 20442, + "end": 20479, "loc": { "start": { - "line": 586, - "column": 27 + "line": 614, + "column": 16 }, "end": { - "line": 586, - "column": 36 - }, - "identifierName": "childNode" + "line": 614, + "column": 53 + } }, - "name": "childNode" + "declarations": [ + { + "type": "VariableDeclarator", + "start": 20448, + "end": 20478, + "loc": { + "start": { + "line": 614, + "column": 22 + }, + "end": { + "line": 614, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 20448, + "end": 20457, + "loc": { + "start": { + "line": 614, + "column": 22 + }, + "end": { + "line": 614, + "column": 31 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "init": { + "type": "MemberExpression", + "start": 20460, + "end": 20478, + "loc": { + "start": { + "line": 614, + "column": 34 + }, + "end": { + "line": 614, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 20460, + "end": 20475, + "loc": { + "start": { + "line": 614, + "column": 34 + }, + "end": { + "line": 614, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 20460, + "end": 20464, + "loc": { + "start": { + "line": 614, + "column": 34 + }, + "end": { + "line": 614, + "column": 38 + }, + "identifierName": "mesh" + }, + "name": "mesh" + }, + "property": { + "type": "Identifier", + "start": 20465, + "end": 20475, + "loc": { + "start": { + "line": 614, + "column": 39 + }, + "end": { + "line": 614, + "column": 49 + }, + "identifierName": "primitives" + }, + "name": "primitives" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 20476, + "end": 20477, + "loc": { + "start": { + "line": 614, + "column": 50 + }, + "end": { + "line": 614, + "column": 51 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + } + } + ], + "kind": "const" }, { - "type": "BinaryExpression", - "start": 20743, - "end": 20752, + "type": "IfStatement", + "start": 20496, + "end": 23552, "loc": { "start": { - "line": 586, - "column": 38 + "line": 615, + "column": 16 }, "end": { - "line": 586, - "column": 47 + "line": 675, + "column": 17 } }, - "left": { - "type": "Identifier", - "start": 20743, - "end": 20748, + "test": { + "type": "UnaryExpression", + "start": 20500, + "end": 20525, "loc": { "start": { - "line": 586, - "column": 38 + "line": 615, + "column": 20 }, "end": { - "line": 586, - "column": 43 + "line": 615, + "column": 45 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 20501, + "end": 20525, + "loc": { + "start": { + "line": 615, + "column": 21 + }, + "end": { + "line": 615, + "column": 45 + } }, - "identifierName": "depth" + "object": { + "type": "Identifier", + "start": 20501, + "end": 20510, + "loc": { + "start": { + "line": 615, + "column": 21 + }, + "end": { + "line": 615, + "column": 30 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 20511, + "end": 20525, + "loc": { + "start": { + "line": 615, + "column": 31 + }, + "end": { + "line": 615, + "column": 45 + }, + "identifierName": "_xktGeometryId" + }, + "name": "_xktGeometryId" + }, + "computed": false }, - "name": "depth" + "extra": { + "parenthesizedArgument": false + } }, - "operator": "+", - "right": { - "type": "NumericLiteral", - "start": 20751, - "end": 20752, + "consequent": { + "type": "BlockStatement", + "start": 20527, + "end": 23552, "loc": { "start": { - "line": 586, - "column": 46 + "line": 615, + "column": 47 + }, + "end": { + "line": 675, + "column": 17 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 20549, + "end": 20598, + "loc": { + "start": { + "line": 616, + "column": 20 + }, + "end": { + "line": 616, + "column": 69 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 20555, + "end": 20597, + "loc": { + "start": { + "line": 616, + "column": 26 + }, + "end": { + "line": 616, + "column": 68 + } + }, + "id": { + "type": "Identifier", + "start": 20555, + "end": 20568, + "loc": { + "start": { + "line": 616, + "column": 26 + }, + "end": { + "line": 616, + "column": 39 + }, + "identifierName": "xktGeometryId" + }, + "name": "xktGeometryId" + }, + "init": { + "type": "BinaryExpression", + "start": 20571, + "end": 20597, + "loc": { + "start": { + "line": 616, + "column": 42 + }, + "end": { + "line": 616, + "column": 68 + } + }, + "left": { + "type": "StringLiteral", + "start": 20571, + "end": 20582, + "loc": { + "start": { + "line": 616, + "column": 42 + }, + "end": { + "line": 616, + "column": 53 + } + }, + "extra": { + "rawValue": "geometry-", + "raw": "\"geometry-\"" + }, + "value": "geometry-" + }, + "operator": "+", + "right": { + "type": "UpdateExpression", + "start": 20585, + "end": 20597, + "loc": { + "start": { + "line": 616, + "column": 56 + }, + "end": { + "line": 616, + "column": 68 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 20585, + "end": 20595, + "loc": { + "start": { + "line": 616, + "column": 56 + }, + "end": { + "line": 616, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 20585, + "end": 20588, + "loc": { + "start": { + "line": 616, + "column": 56 + }, + "end": { + "line": 616, + "column": 59 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 20589, + "end": 20595, + "loc": { + "start": { + "line": 616, + "column": 60 + }, + "end": { + "line": 616, + "column": 66 + }, + "identifierName": "nextId" + }, + "name": "nextId" + }, + "computed": false + } + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 20619, + "end": 20713, + "loc": { + "start": { + "line": 617, + "column": 20 + }, + "end": { + "line": 619, + "column": 22 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 20625, + "end": 20712, + "loc": { + "start": { + "line": 617, + "column": 26 + }, + "end": { + "line": 619, + "column": 21 + } + }, + "id": { + "type": "Identifier", + "start": 20625, + "end": 20636, + "loc": { + "start": { + "line": 617, + "column": 26 + }, + "end": { + "line": 617, + "column": 37 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + }, + "init": { + "type": "ObjectExpression", + "start": 20639, + "end": 20712, + "loc": { + "start": { + "line": 617, + "column": 40 + }, + "end": { + "line": 619, + "column": 21 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 20665, + "end": 20690, + "loc": { + "start": { + "line": 618, + "column": 24 + }, + "end": { + "line": 618, + "column": 49 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 20665, + "end": 20675, + "loc": { + "start": { + "line": 618, + "column": 24 + }, + "end": { + "line": 618, + "column": 34 + }, + "identifierName": "geometryId" + }, + "name": "geometryId" + }, + "value": { + "type": "Identifier", + "start": 20677, + "end": 20690, + "loc": { + "start": { + "line": 618, + "column": 36 + }, + "end": { + "line": 618, + "column": 49 + }, + "identifierName": "xktGeometryId" + }, + "name": "xktGeometryId" + } + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "SwitchStatement", + "start": 20734, + "end": 21930, + "loc": { + "start": { + "line": 620, + "column": 20 + }, + "end": { + "line": 644, + "column": 21 + } + }, + "discriminant": { + "type": "MemberExpression", + "start": 20742, + "end": 20756, + "loc": { + "start": { + "line": 620, + "column": 28 + }, + "end": { + "line": 620, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 20742, + "end": 20751, + "loc": { + "start": { + "line": 620, + "column": 28 + }, + "end": { + "line": 620, + "column": 37 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 20752, + "end": 20756, + "loc": { + "start": { + "line": 620, + "column": 38 + }, + "end": { + "line": 620, + "column": 42 + }, + "identifierName": "mode" + }, + "name": "mode" + }, + "computed": false + }, + "cases": [ + { + "type": "SwitchCase", + "start": 20784, + "end": 20902, + "loc": { + "start": { + "line": 621, + "column": 24 + }, + "end": { + "line": 623, + "column": 34 + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 20830, + "end": 20867, + "loc": { + "start": { + "line": 622, + "column": 28 + }, + "end": { + "line": 622, + "column": 65 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20830, + "end": 20866, + "loc": { + "start": { + "line": 622, + "column": 28 + }, + "end": { + "line": 622, + "column": 64 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20830, + "end": 20855, + "loc": { + "start": { + "line": 622, + "column": 28 + }, + "end": { + "line": 622, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 20830, + "end": 20841, + "loc": { + "start": { + "line": 622, + "column": 28 + }, + "end": { + "line": 622, + "column": 39 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20842, + "end": 20855, + "loc": { + "start": { + "line": 622, + "column": 40 + }, + "end": { + "line": 622, + "column": 53 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "StringLiteral", + "start": 20858, + "end": 20866, + "loc": { + "start": { + "line": 622, + "column": 56 + }, + "end": { + "line": 622, + "column": 64 + } + }, + "extra": { + "rawValue": "points", + "raw": "\"points\"" + }, + "value": "points" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " POINTS", + "start": 20792, + "end": 20801, + "loc": { + "start": { + "line": 621, + "column": 32 + }, + "end": { + "line": 621, + "column": 41 + } + } + } + ] + }, + { + "type": "BreakStatement", + "start": 20896, + "end": 20902, + "loc": { + "start": { + "line": 623, + "column": 28 + }, + "end": { + "line": 623, + "column": 34 + } + }, + "label": null + } + ], + "test": { + "type": "NumericLiteral", + "start": 20789, + "end": 20790, + "loc": { + "start": { + "line": 621, + "column": 29 + }, + "end": { + "line": 621, + "column": 30 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + }, + { + "type": "SwitchCase", + "start": 20927, + "end": 21043, + "loc": { + "start": { + "line": 624, + "column": 24 + }, + "end": { + "line": 626, + "column": 34 + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 20972, + "end": 21008, + "loc": { + "start": { + "line": 625, + "column": 28 + }, + "end": { + "line": 625, + "column": 64 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 20972, + "end": 21007, + "loc": { + "start": { + "line": 625, + "column": 28 + }, + "end": { + "line": 625, + "column": 63 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 20972, + "end": 20997, + "loc": { + "start": { + "line": 625, + "column": 28 + }, + "end": { + "line": 625, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 20972, + "end": 20983, + "loc": { + "start": { + "line": 625, + "column": 28 + }, + "end": { + "line": 625, + "column": 39 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 20984, + "end": 20997, + "loc": { + "start": { + "line": 625, + "column": 40 + }, + "end": { + "line": 625, + "column": 53 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "StringLiteral", + "start": 21000, + "end": 21007, + "loc": { + "start": { + "line": 625, + "column": 56 + }, + "end": { + "line": 625, + "column": 63 + } + }, + "extra": { + "rawValue": "lines", + "raw": "\"lines\"" + }, + "value": "lines" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " LINES", + "start": 20935, + "end": 20943, + "loc": { + "start": { + "line": 624, + "column": 32 + }, + "end": { + "line": 624, + "column": 40 + } + } + } + ] + }, + { + "type": "BreakStatement", + "start": 21037, + "end": 21043, + "loc": { + "start": { + "line": 626, + "column": 28 + }, + "end": { + "line": 626, + "column": 34 + } + }, + "label": null + } + ], + "test": { + "type": "NumericLiteral", + "start": 20932, + "end": 20933, + "loc": { + "start": { + "line": 624, + "column": 29 + }, + "end": { + "line": 624, + "column": 30 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + { + "type": "SwitchCase", + "start": 21068, + "end": 21192, + "loc": { + "start": { + "line": 627, + "column": 24 + }, + "end": { + "line": 629, + "column": 34 + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 21117, + "end": 21157, + "loc": { + "start": { + "line": 628, + "column": 28 + }, + "end": { + "line": 628, + "column": 68 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21117, + "end": 21156, + "loc": { + "start": { + "line": 628, + "column": 28 + }, + "end": { + "line": 628, + "column": 67 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 21117, + "end": 21142, + "loc": { + "start": { + "line": 628, + "column": 28 + }, + "end": { + "line": 628, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 21117, + "end": 21128, + "loc": { + "start": { + "line": 628, + "column": 28 + }, + "end": { + "line": 628, + "column": 39 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 21129, + "end": 21142, + "loc": { + "start": { + "line": 628, + "column": 40 + }, + "end": { + "line": 628, + "column": 53 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "StringLiteral", + "start": 21145, + "end": 21156, + "loc": { + "start": { + "line": 628, + "column": 56 + }, + "end": { + "line": 628, + "column": 67 + } + }, + "extra": { + "rawValue": "line-loop", + "raw": "\"line-loop\"" + }, + "value": "line-loop" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " LINE_LOOP", + "start": 21076, + "end": 21088, + "loc": { + "start": { + "line": 627, + "column": 32 + }, + "end": { + "line": 627, + "column": 44 + } + } + } + ] + }, + { + "type": "BreakStatement", + "start": 21186, + "end": 21192, + "loc": { + "start": { + "line": 629, + "column": 28 + }, + "end": { + "line": 629, + "column": 34 + } + }, + "label": null + } + ], + "test": { + "type": "NumericLiteral", + "start": 21073, + "end": 21074, + "loc": { + "start": { + "line": 627, + "column": 29 + }, + "end": { + "line": 627, + "column": 30 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + }, + { + "type": "SwitchCase", + "start": 21217, + "end": 21343, + "loc": { + "start": { + "line": 630, + "column": 24 + }, + "end": { + "line": 632, + "column": 34 + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 21267, + "end": 21308, + "loc": { + "start": { + "line": 631, + "column": 28 + }, + "end": { + "line": 631, + "column": 69 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21267, + "end": 21307, + "loc": { + "start": { + "line": 631, + "column": 28 + }, + "end": { + "line": 631, + "column": 68 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 21267, + "end": 21292, + "loc": { + "start": { + "line": 631, + "column": 28 + }, + "end": { + "line": 631, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 21267, + "end": 21278, + "loc": { + "start": { + "line": 631, + "column": 28 + }, + "end": { + "line": 631, + "column": 39 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 21279, + "end": 21292, + "loc": { + "start": { + "line": 631, + "column": 40 + }, + "end": { + "line": 631, + "column": 53 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "StringLiteral", + "start": 21295, + "end": 21307, + "loc": { + "start": { + "line": 631, + "column": 56 + }, + "end": { + "line": 631, + "column": 68 + } + }, + "extra": { + "rawValue": "line-strip", + "raw": "\"line-strip\"" + }, + "value": "line-strip" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " LINE_STRIP", + "start": 21225, + "end": 21238, + "loc": { + "start": { + "line": 630, + "column": 32 + }, + "end": { + "line": 630, + "column": 45 + } + } + } + ] + }, + { + "type": "BreakStatement", + "start": 21337, + "end": 21343, + "loc": { + "start": { + "line": 632, + "column": 28 + }, + "end": { + "line": 632, + "column": 34 + } + }, + "label": null + } + ], + "test": { + "type": "NumericLiteral", + "start": 21222, + "end": 21223, + "loc": { + "start": { + "line": 630, + "column": 29 + }, + "end": { + "line": 630, + "column": 30 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + } + }, + { + "type": "SwitchCase", + "start": 21368, + "end": 21492, + "loc": { + "start": { + "line": 633, + "column": 24 + }, + "end": { + "line": 635, + "column": 34 + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 21417, + "end": 21457, + "loc": { + "start": { + "line": 634, + "column": 28 + }, + "end": { + "line": 634, + "column": 68 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21417, + "end": 21456, + "loc": { + "start": { + "line": 634, + "column": 28 + }, + "end": { + "line": 634, + "column": 67 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 21417, + "end": 21442, + "loc": { + "start": { + "line": 634, + "column": 28 + }, + "end": { + "line": 634, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 21417, + "end": 21428, + "loc": { + "start": { + "line": 634, + "column": 28 + }, + "end": { + "line": 634, + "column": 39 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 21429, + "end": 21442, + "loc": { + "start": { + "line": 634, + "column": 40 + }, + "end": { + "line": 634, + "column": 53 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "StringLiteral", + "start": 21445, + "end": 21456, + "loc": { + "start": { + "line": 634, + "column": 56 + }, + "end": { + "line": 634, + "column": 67 + } + }, + "extra": { + "rawValue": "triangles", + "raw": "\"triangles\"" + }, + "value": "triangles" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " TRIANGLES", + "start": 21376, + "end": 21388, + "loc": { + "start": { + "line": 633, + "column": 32 + }, + "end": { + "line": 633, + "column": 44 + } + } + } + ] + }, + { + "type": "BreakStatement", + "start": 21486, + "end": 21492, + "loc": { + "start": { + "line": 635, + "column": 28 + }, + "end": { + "line": 635, + "column": 34 + } + }, + "label": null + } + ], + "test": { + "type": "NumericLiteral", + "start": 21373, + "end": 21374, + "loc": { + "start": { + "line": 633, + "column": 29 + }, + "end": { + "line": 633, + "column": 30 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + } + }, + { + "type": "SwitchCase", + "start": 21517, + "end": 21651, + "loc": { + "start": { + "line": 636, + "column": 24 + }, + "end": { + "line": 638, + "column": 34 + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 21571, + "end": 21616, + "loc": { + "start": { + "line": 637, + "column": 28 + }, + "end": { + "line": 637, + "column": 73 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21571, + "end": 21615, + "loc": { + "start": { + "line": 637, + "column": 28 + }, + "end": { + "line": 637, + "column": 72 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 21571, + "end": 21596, + "loc": { + "start": { + "line": 637, + "column": 28 + }, + "end": { + "line": 637, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 21571, + "end": 21582, + "loc": { + "start": { + "line": 637, + "column": 28 + }, + "end": { + "line": 637, + "column": 39 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 21583, + "end": 21596, + "loc": { + "start": { + "line": 637, + "column": 40 + }, + "end": { + "line": 637, + "column": 53 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "StringLiteral", + "start": 21599, + "end": 21615, + "loc": { + "start": { + "line": 637, + "column": 56 + }, + "end": { + "line": 637, + "column": 72 + } + }, + "extra": { + "rawValue": "triangle-strip", + "raw": "\"triangle-strip\"" + }, + "value": "triangle-strip" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " TRIANGLE_STRIP", + "start": 21525, + "end": 21542, + "loc": { + "start": { + "line": 636, + "column": 32 + }, + "end": { + "line": 636, + "column": 49 + } + } + } + ] + }, + { + "type": "BreakStatement", + "start": 21645, + "end": 21651, + "loc": { + "start": { + "line": 638, + "column": 28 + }, + "end": { + "line": 638, + "column": 34 + } + }, + "label": null + } + ], + "test": { + "type": "NumericLiteral", + "start": 21522, + "end": 21523, + "loc": { + "start": { + "line": 636, + "column": 29 + }, + "end": { + "line": 636, + "column": 30 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + } + }, + { + "type": "SwitchCase", + "start": 21676, + "end": 21806, + "loc": { + "start": { + "line": 639, + "column": 24 + }, + "end": { + "line": 641, + "column": 34 + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 21728, + "end": 21771, + "loc": { + "start": { + "line": 640, + "column": 28 + }, + "end": { + "line": 640, + "column": 71 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21728, + "end": 21770, + "loc": { + "start": { + "line": 640, + "column": 28 + }, + "end": { + "line": 640, + "column": 70 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 21728, + "end": 21753, + "loc": { + "start": { + "line": 640, + "column": 28 + }, + "end": { + "line": 640, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 21728, + "end": 21739, + "loc": { + "start": { + "line": 640, + "column": 28 + }, + "end": { + "line": 640, + "column": 39 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 21740, + "end": 21753, + "loc": { + "start": { + "line": 640, + "column": 40 + }, + "end": { + "line": 640, + "column": 53 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "StringLiteral", + "start": 21756, + "end": 21770, + "loc": { + "start": { + "line": 640, + "column": 56 + }, + "end": { + "line": 640, + "column": 70 + } + }, + "extra": { + "rawValue": "triangle-fan", + "raw": "\"triangle-fan\"" + }, + "value": "triangle-fan" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " TRIANGLE_FAN", + "start": 21684, + "end": 21699, + "loc": { + "start": { + "line": 639, + "column": 32 + }, + "end": { + "line": 639, + "column": 47 + } + } + } + ] + }, + { + "type": "BreakStatement", + "start": 21800, + "end": 21806, + "loc": { + "start": { + "line": 641, + "column": 28 + }, + "end": { + "line": 641, + "column": 34 + } + }, + "label": null + } + ], + "test": { + "type": "NumericLiteral", + "start": 21681, + "end": 21682, + "loc": { + "start": { + "line": 639, + "column": 29 + }, + "end": { + "line": 639, + "column": 30 + } + }, + "extra": { + "rawValue": 6, + "raw": "6" + }, + "value": 6 + } + }, + { + "type": "SwitchCase", + "start": 21831, + "end": 21908, + "loc": { + "start": { + "line": 642, + "column": 24 + }, + "end": { + "line": 643, + "column": 68 + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 21868, + "end": 21908, + "loc": { + "start": { + "line": 643, + "column": 28 + }, + "end": { + "line": 643, + "column": 68 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 21868, + "end": 21907, + "loc": { + "start": { + "line": 643, + "column": 28 + }, + "end": { + "line": 643, + "column": 67 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 21868, + "end": 21893, + "loc": { + "start": { + "line": 643, + "column": 28 + }, + "end": { + "line": 643, + "column": 53 + } + }, + "object": { + "type": "Identifier", + "start": 21868, + "end": 21879, + "loc": { + "start": { + "line": 643, + "column": 28 + }, + "end": { + "line": 643, + "column": 39 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + }, + "property": { + "type": "Identifier", + "start": 21880, + "end": 21893, + "loc": { + "start": { + "line": 643, + "column": 40 + }, + "end": { + "line": 643, + "column": 53 + }, + "identifierName": "primitiveType" + }, + "name": "primitiveType" + }, + "computed": false + }, + "right": { + "type": "StringLiteral", + "start": 21896, + "end": 21907, + "loc": { + "start": { + "line": 643, + "column": 56 + }, + "end": { + "line": 643, + "column": 67 + } + }, + "extra": { + "rawValue": "triangles", + "raw": "\"triangles\"" + }, + "value": "triangles" + } + } + } + ], + "test": null + } + ] }, - "end": { - "line": 586, - "column": 47 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - { - "type": "Identifier", - "start": 20754, - "end": 20760, - "loc": { - "start": { - "line": 586, - "column": 49 - }, - "end": { - "line": 586, - "column": 55 - }, - "identifierName": "matrix" - }, - "name": "matrix" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Visit child scene nodes", - "start": 20506, - "end": 20532, - "loc": { - "start": { - "line": 580, - "column": 4 - }, - "end": { - "line": 580, - "column": 30 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Post-order visit scene node", - "start": 20784, - "end": 20814, - "loc": { - "start": { - "line": 590, - "column": 4 - }, - "end": { - "line": 590, - "column": 34 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 20820, - "end": 20847, - "loc": { - "start": { - "line": 592, - "column": 4 - }, - "end": { - "line": 592, - "column": 31 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 20826, - "end": 20846, - "loc": { - "start": { - "line": 592, - "column": 10 - }, - "end": { - "line": 592, - "column": 30 - } - }, - "id": { - "type": "Identifier", - "start": 20826, - "end": 20834, - "loc": { - "start": { - "line": 592, - "column": 10 - }, - "end": { - "line": 592, - "column": 18 - }, - "identifierName": "nodeName" - }, - "name": "nodeName", - "leadingComments": null - }, - "init": { - "type": "MemberExpression", - "start": 20837, - "end": 20846, - "loc": { - "start": { - "line": 592, - "column": 21 - }, - "end": { - "line": 592, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 20837, - "end": 20841, - "loc": { - "start": { - "line": 592, - "column": 21 - }, - "end": { - "line": 592, - "column": 25 - }, - "identifierName": "node" - }, - "name": "node" - }, - "property": { - "type": "Identifier", - "start": 20842, - "end": 20846, - "loc": { - "start": { - "line": 592, - "column": 26 - }, - "end": { - "line": 592, - "column": 30 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " Post-order visit scene node", - "start": 20784, - "end": 20814, - "loc": { - "start": { - "line": 590, - "column": 4 - }, - "end": { - "line": 590, - "column": 34 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 20852, - "end": 21652, - "loc": { - "start": { - "line": 593, - "column": 4 - }, - "end": { - "line": 610, - "column": 5 - } - }, - "test": { - "type": "LogicalExpression", - "start": 20856, - "end": 20916, - "loc": { - "start": { - "line": 593, - "column": 8 - }, - "end": { - "line": 593, - "column": 68 - } - }, - "left": { - "type": "LogicalExpression", - "start": 20857, - "end": 20900, - "loc": { - "start": { - "line": 593, - "column": 9 - }, - "end": { - "line": 593, - "column": 52 - } - }, - "left": { - "type": "BinaryExpression", - "start": 20857, - "end": 20879, - "loc": { - "start": { - "line": 593, - "column": 9 - }, - "end": { - "line": 593, - "column": 31 - } - }, - "left": { - "type": "Identifier", - "start": 20857, - "end": 20865, - "loc": { - "start": { - "line": 593, - "column": 9 - }, - "end": { - "line": 593, - "column": 17 - }, - "identifierName": "nodeName" - }, - "name": "nodeName" - }, - "operator": "!==", - "right": { - "type": "Identifier", - "start": 20870, - "end": 20879, - "loc": { - "start": { - "line": 593, - "column": 22 - }, - "end": { - "line": 593, - "column": 31 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 20883, - "end": 20900, - "loc": { - "start": { - "line": 593, - "column": 35 - }, - "end": { - "line": 593, - "column": 52 - } - }, - "left": { - "type": "Identifier", - "start": 20883, - "end": 20891, - "loc": { - "start": { - "line": 593, - "column": 35 - }, - "end": { - "line": 593, - "column": 43 - }, - "identifierName": "nodeName" - }, - "name": "nodeName" - }, - "operator": "!==", - "right": { - "type": "NullLiteral", - "start": 20896, - "end": 20900, - "loc": { - "start": { - "line": 593, - "column": 48 - }, - "end": { - "line": 593, - "column": 52 - } - } - } - }, - "extra": { - "parenthesized": true, - "parenStart": 20856 - } - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 20905, - "end": 20916, - "loc": { - "start": { - "line": 593, - "column": 57 - }, - "end": { - "line": 593, - "column": 68 - } - }, - "left": { - "type": "Identifier", - "start": 20905, - "end": 20910, - "loc": { - "start": { - "line": 593, - "column": 57 - }, - "end": { - "line": 593, - "column": 62 - }, - "identifierName": "depth" - }, - "name": "depth" - }, - "operator": "===", - "right": { - "type": "NumericLiteral", - "start": 20915, - "end": 20916, - "loc": { - "start": { - "line": 593, - "column": 67 - }, - "end": { - "line": 593, - "column": 68 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 20918, - "end": 21652, - "loc": { - "start": { - "line": 593, - "column": 70 - }, - "end": { - "line": 610, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 20928, - "end": 21112, - "loc": { - "start": { - "line": 594, - "column": 8 - }, - "end": { - "line": 596, - "column": 9 - } - }, - "test": { - "type": "LogicalExpression", - "start": 20932, - "end": 20975, - "loc": { - "start": { - "line": 594, - "column": 12 - }, - "end": { - "line": 594, - "column": 55 - } - }, - "left": { - "type": "BinaryExpression", - "start": 20932, - "end": 20954, - "loc": { - "start": { - "line": 594, - "column": 12 - }, - "end": { - "line": 594, - "column": 34 - } - }, - "left": { - "type": "Identifier", - "start": 20932, - "end": 20940, - "loc": { - "start": { - "line": 594, - "column": 12 - }, - "end": { - "line": 594, - "column": 20 - }, - "identifierName": "nodeName" - }, - "name": "nodeName" - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 20945, - "end": 20954, - "loc": { - "start": { - "line": 594, - "column": 25 - }, - "end": { - "line": 594, - "column": 34 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 20958, - "end": 20975, - "loc": { - "start": { - "line": 594, - "column": 38 - }, - "end": { - "line": 594, - "column": 55 - } - }, - "left": { - "type": "Identifier", - "start": 20958, - "end": 20966, - "loc": { - "start": { - "line": 594, - "column": 38 - }, - "end": { - "line": 594, - "column": 46 - }, - "identifierName": "nodeName" - }, - "name": "nodeName" - }, - "operator": "===", - "right": { - "type": "NullLiteral", - "start": 20971, - "end": 20975, - "loc": { - "start": { - "line": 594, - "column": 51 - }, - "end": { - "line": 594, - "column": 55 - } - } - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 20977, - "end": 21112, - "loc": { - "start": { - "line": 594, - "column": 57 - }, - "end": { - "line": 596, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 20991, - "end": 21102, - "loc": { - "start": { - "line": 595, - "column": 12 - }, - "end": { - "line": 595, - "column": 123 - } - }, - "expression": { - "type": "CallExpression", - "start": 20991, - "end": 21101, - "loc": { - "start": { - "line": 595, - "column": 12 - }, - "end": { - "line": 595, - "column": 122 - } - }, - "callee": { - "type": "MemberExpression", - "start": 20991, - "end": 20998, - "loc": { - "start": { - "line": 595, - "column": 12 + { + "type": "VariableDeclaration", + "start": 21951, + "end": 21998, + "loc": { + "start": { + "line": 645, + "column": 20 + }, + "end": { + "line": 645, + "column": 67 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 21957, + "end": 21997, + "loc": { + "start": { + "line": 645, + "column": 26 + }, + "end": { + "line": 645, + "column": 66 + } + }, + "id": { + "type": "Identifier", + "start": 21957, + "end": 21965, + "loc": { + "start": { + "line": 645, + "column": 26 + }, + "end": { + "line": 645, + "column": 34 + }, + "identifierName": "POSITION" + }, + "name": "POSITION" + }, + "init": { + "type": "MemberExpression", + "start": 21968, + "end": 21997, + "loc": { + "start": { + "line": 645, + "column": 37 + }, + "end": { + "line": 645, + "column": 66 + } + }, + "object": { + "type": "MemberExpression", + "start": 21968, + "end": 21988, + "loc": { + "start": { + "line": 645, + "column": 37 + }, + "end": { + "line": 645, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 21968, + "end": 21977, + "loc": { + "start": { + "line": 645, + "column": 37 + }, + "end": { + "line": 645, + "column": 46 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 21978, + "end": 21988, + "loc": { + "start": { + "line": 645, + "column": 47 + }, + "end": { + "line": 645, + "column": 57 + }, + "identifierName": "attributes" + }, + "name": "attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 21989, + "end": 21997, + "loc": { + "start": { + "line": 645, + "column": 58 + }, + "end": { + "line": 645, + "column": 66 + }, + "identifierName": "POSITION" + }, + "name": "POSITION" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 22019, + "end": 22091, + "loc": { + "start": { + "line": 646, + "column": 20 + }, + "end": { + "line": 648, + "column": 21 + } + }, + "test": { + "type": "UnaryExpression", + "start": 22023, + "end": 22032, + "loc": { + "start": { + "line": 646, + "column": 24 + }, + "end": { + "line": 646, + "column": 33 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 22024, + "end": 22032, + "loc": { + "start": { + "line": 646, + "column": 25 + }, + "end": { + "line": 646, + "column": 33 + }, + "identifierName": "POSITION" + }, + "name": "POSITION" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 22034, + "end": 22091, + "loc": { + "start": { + "line": 646, + "column": 35 + }, + "end": { + "line": 648, + "column": 21 + } + }, + "body": [ + { + "type": "ContinueStatement", + "start": 22060, + "end": 22069, + "loc": { + "start": { + "line": 647, + "column": 24 + }, + "end": { + "line": 647, + "column": 33 + } + }, + "label": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 22112, + "end": 22172, + "loc": { + "start": { + "line": 649, + "column": 20 + }, + "end": { + "line": 649, + "column": 80 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 22112, + "end": 22171, + "loc": { + "start": { + "line": 649, + "column": 20 + }, + "end": { + "line": 649, + "column": 79 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 22112, + "end": 22133, + "loc": { + "start": { + "line": 649, + "column": 20 + }, + "end": { + "line": 649, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 22112, + "end": 22123, + "loc": { + "start": { + "line": 649, + "column": 20 + }, + "end": { + "line": 649, + "column": 31 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + }, + "property": { + "type": "Identifier", + "start": 22124, + "end": 22133, + "loc": { + "start": { + "line": 649, + "column": 32 + }, + "end": { + "line": 649, + "column": 41 + }, + "identifierName": "positions" + }, + "name": "positions" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 22136, + "end": 22171, + "loc": { + "start": { + "line": 649, + "column": 44 + }, + "end": { + "line": 649, + "column": 79 + } + }, + "object": { + "type": "MemberExpression", + "start": 22136, + "end": 22165, + "loc": { + "start": { + "line": 649, + "column": 44 + }, + "end": { + "line": 649, + "column": 73 + } + }, + "object": { + "type": "MemberExpression", + "start": 22136, + "end": 22156, + "loc": { + "start": { + "line": 649, + "column": 44 + }, + "end": { + "line": 649, + "column": 64 + } + }, + "object": { + "type": "Identifier", + "start": 22136, + "end": 22145, + "loc": { + "start": { + "line": 649, + "column": 44 + }, + "end": { + "line": 649, + "column": 53 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 22146, + "end": 22156, + "loc": { + "start": { + "line": 649, + "column": 54 + }, + "end": { + "line": 649, + "column": 64 + }, + "identifierName": "attributes" + }, + "name": "attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22157, + "end": 22165, + "loc": { + "start": { + "line": 649, + "column": 65 + }, + "end": { + "line": 649, + "column": 73 + }, + "identifierName": "POSITION" + }, + "name": "POSITION" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22166, + "end": 22171, + "loc": { + "start": { + "line": 649, + "column": 74 + }, + "end": { + "line": 649, + "column": 79 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 22193, + "end": 22251, + "loc": { + "start": { + "line": 650, + "column": 20 + }, + "end": { + "line": 650, + "column": 78 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 22193, + "end": 22250, + "loc": { + "start": { + "line": 650, + "column": 20 + }, + "end": { + "line": 650, + "column": 77 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 22193, + "end": 22214, + "loc": { + "start": { + "line": 650, + "column": 20 + }, + "end": { + "line": 650, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 22193, + "end": 22202, + "loc": { + "start": { + "line": 650, + "column": 20 + }, + "end": { + "line": 650, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 22193, + "end": 22196, + "loc": { + "start": { + "line": 650, + "column": 20 + }, + "end": { + "line": 650, + "column": 23 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 22197, + "end": 22202, + "loc": { + "start": { + "line": 650, + "column": 24 + }, + "end": { + "line": 650, + "column": 29 + }, + "identifierName": "stats" + }, + "name": "stats" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22203, + "end": 22214, + "loc": { + "start": { + "line": 650, + "column": 30 + }, + "end": { + "line": 650, + "column": 41 + }, + "identifierName": "numVertices" + }, + "name": "numVertices" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 22218, + "end": 22250, + "loc": { + "start": { + "line": 650, + "column": 45 + }, + "end": { + "line": 650, + "column": 77 + } + }, + "left": { + "type": "MemberExpression", + "start": 22218, + "end": 22246, + "loc": { + "start": { + "line": 650, + "column": 45 + }, + "end": { + "line": 650, + "column": 73 + } + }, + "object": { + "type": "MemberExpression", + "start": 22218, + "end": 22239, + "loc": { + "start": { + "line": 650, + "column": 45 + }, + "end": { + "line": 650, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 22218, + "end": 22229, + "loc": { + "start": { + "line": 650, + "column": 45 + }, + "end": { + "line": 650, + "column": 56 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + }, + "property": { + "type": "Identifier", + "start": 22230, + "end": 22239, + "loc": { + "start": { + "line": 650, + "column": 57 + }, + "end": { + "line": 650, + "column": 66 + }, + "identifierName": "positions" + }, + "name": "positions" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22240, + "end": 22246, + "loc": { + "start": { + "line": 650, + "column": 67 + }, + "end": { + "line": 650, + "column": 73 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 22249, + "end": 22250, + "loc": { + "start": { + "line": 650, + "column": 76 + }, + "end": { + "line": 650, + "column": 77 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + } + } + } + }, + { + "type": "IfStatement", + "start": 22272, + "end": 22573, + "loc": { + "start": { + "line": 651, + "column": 20 + }, + "end": { + "line": 656, + "column": 21 + } + }, + "test": { + "type": "MemberExpression", + "start": 22276, + "end": 22294, + "loc": { + "start": { + "line": 651, + "column": 24 + }, + "end": { + "line": 651, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 22276, + "end": 22279, + "loc": { + "start": { + "line": 651, + "column": 24 + }, + "end": { + "line": 651, + "column": 27 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 22280, + "end": 22294, + "loc": { + "start": { + "line": 651, + "column": 28 + }, + "end": { + "line": 651, + "column": 42 + }, + "identifierName": "includeNormals" + }, + "name": "includeNormals" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 22296, + "end": 22573, + "loc": { + "start": { + "line": 651, + "column": 44 + }, + "end": { + "line": 656, + "column": 21 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 22322, + "end": 22551, + "loc": { + "start": { + "line": 652, + "column": 24 + }, + "end": { + "line": 655, + "column": 25 + } + }, + "test": { + "type": "MemberExpression", + "start": 22326, + "end": 22353, + "loc": { + "start": { + "line": 652, + "column": 28 + }, + "end": { + "line": 652, + "column": 55 + } + }, + "object": { + "type": "MemberExpression", + "start": 22326, + "end": 22346, + "loc": { + "start": { + "line": 652, + "column": 28 + }, + "end": { + "line": 652, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 22326, + "end": 22335, + "loc": { + "start": { + "line": 652, + "column": 28 + }, + "end": { + "line": 652, + "column": 37 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 22336, + "end": 22346, + "loc": { + "start": { + "line": 652, + "column": 38 + }, + "end": { + "line": 652, + "column": 48 + }, + "identifierName": "attributes" + }, + "name": "attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22347, + "end": 22353, + "loc": { + "start": { + "line": 652, + "column": 49 + }, + "end": { + "line": 652, + "column": 55 + }, + "identifierName": "NORMAL" + }, + "name": "NORMAL" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 22355, + "end": 22551, + "loc": { + "start": { + "line": 652, + "column": 57 + }, + "end": { + "line": 655, + "column": 25 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 22385, + "end": 22441, + "loc": { + "start": { + "line": 653, + "column": 28 + }, + "end": { + "line": 653, + "column": 84 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 22385, + "end": 22440, + "loc": { + "start": { + "line": 653, + "column": 28 + }, + "end": { + "line": 653, + "column": 83 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 22385, + "end": 22404, + "loc": { + "start": { + "line": 653, + "column": 28 + }, + "end": { + "line": 653, + "column": 47 + } + }, + "object": { + "type": "Identifier", + "start": 22385, + "end": 22396, + "loc": { + "start": { + "line": 653, + "column": 28 + }, + "end": { + "line": 653, + "column": 39 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + }, + "property": { + "type": "Identifier", + "start": 22397, + "end": 22404, + "loc": { + "start": { + "line": 653, + "column": 40 + }, + "end": { + "line": 653, + "column": 47 + }, + "identifierName": "normals" + }, + "name": "normals" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 22407, + "end": 22440, + "loc": { + "start": { + "line": 653, + "column": 50 + }, + "end": { + "line": 653, + "column": 83 + } + }, + "object": { + "type": "MemberExpression", + "start": 22407, + "end": 22434, + "loc": { + "start": { + "line": 653, + "column": 50 + }, + "end": { + "line": 653, + "column": 77 + } + }, + "object": { + "type": "MemberExpression", + "start": 22407, + "end": 22427, + "loc": { + "start": { + "line": 653, + "column": 50 + }, + "end": { + "line": 653, + "column": 70 + } + }, + "object": { + "type": "Identifier", + "start": 22407, + "end": 22416, + "loc": { + "start": { + "line": 653, + "column": 50 + }, + "end": { + "line": 653, + "column": 59 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 22417, + "end": 22427, + "loc": { + "start": { + "line": 653, + "column": 60 + }, + "end": { + "line": 653, + "column": 70 + }, + "identifierName": "attributes" + }, + "name": "attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22428, + "end": 22434, + "loc": { + "start": { + "line": 653, + "column": 71 + }, + "end": { + "line": 653, + "column": 77 + }, + "identifierName": "NORMAL" + }, + "name": "NORMAL" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22435, + "end": 22440, + "loc": { + "start": { + "line": 653, + "column": 78 + }, + "end": { + "line": 653, + "column": 83 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 22470, + "end": 22525, + "loc": { + "start": { + "line": 654, + "column": 28 + }, + "end": { + "line": 654, + "column": 83 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 22470, + "end": 22524, + "loc": { + "start": { + "line": 654, + "column": 28 + }, + "end": { + "line": 654, + "column": 82 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 22470, + "end": 22490, + "loc": { + "start": { + "line": 654, + "column": 28 + }, + "end": { + "line": 654, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 22470, + "end": 22479, + "loc": { + "start": { + "line": 654, + "column": 28 + }, + "end": { + "line": 654, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 22470, + "end": 22473, + "loc": { + "start": { + "line": 654, + "column": 28 + }, + "end": { + "line": 654, + "column": 31 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 22474, + "end": 22479, + "loc": { + "start": { + "line": 654, + "column": 32 + }, + "end": { + "line": 654, + "column": 37 + }, + "identifierName": "stats" + }, + "name": "stats" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22480, + "end": 22490, + "loc": { + "start": { + "line": 654, + "column": 38 + }, + "end": { + "line": 654, + "column": 48 + }, + "identifierName": "numNormals" + }, + "name": "numNormals" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 22494, + "end": 22524, + "loc": { + "start": { + "line": 654, + "column": 52 + }, + "end": { + "line": 654, + "column": 82 + } + }, + "left": { + "type": "MemberExpression", + "start": 22494, + "end": 22520, + "loc": { + "start": { + "line": 654, + "column": 52 + }, + "end": { + "line": 654, + "column": 78 + } + }, + "object": { + "type": "MemberExpression", + "start": 22494, + "end": 22513, + "loc": { + "start": { + "line": 654, + "column": 52 + }, + "end": { + "line": 654, + "column": 71 + } + }, + "object": { + "type": "Identifier", + "start": 22494, + "end": 22505, + "loc": { + "start": { + "line": 654, + "column": 52 + }, + "end": { + "line": 654, + "column": 63 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + }, + "property": { + "type": "Identifier", + "start": 22506, + "end": 22513, + "loc": { + "start": { + "line": 654, + "column": 64 + }, + "end": { + "line": 654, + "column": 71 + }, + "identifierName": "normals" + }, + "name": "normals" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22514, + "end": 22520, + "loc": { + "start": { + "line": 654, + "column": 72 + }, + "end": { + "line": 654, + "column": 78 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 22523, + "end": 22524, + "loc": { + "start": { + "line": 654, + "column": 81 + }, + "end": { + "line": 654, + "column": 82 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + } + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 22594, + "end": 22742, + "loc": { + "start": { + "line": 657, + "column": 20 + }, + "end": { + "line": 659, + "column": 21 + } + }, + "test": { + "type": "MemberExpression", + "start": 22598, + "end": 22626, + "loc": { + "start": { + "line": 657, + "column": 24 + }, + "end": { + "line": 657, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 22598, + "end": 22618, + "loc": { + "start": { + "line": 657, + "column": 24 + }, + "end": { + "line": 657, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 22598, + "end": 22607, + "loc": { + "start": { + "line": 657, + "column": 24 + }, + "end": { + "line": 657, + "column": 33 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 22608, + "end": 22618, + "loc": { + "start": { + "line": 657, + "column": 34 + }, + "end": { + "line": 657, + "column": 44 + }, + "identifierName": "attributes" + }, + "name": "attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22619, + "end": 22626, + "loc": { + "start": { + "line": 657, + "column": 45 + }, + "end": { + "line": 657, + "column": 52 + }, + "identifierName": "COLOR_0" + }, + "name": "COLOR_0" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 22628, + "end": 22742, + "loc": { + "start": { + "line": 657, + "column": 54 + }, + "end": { + "line": 659, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 22654, + "end": 22720, + "loc": { + "start": { + "line": 658, + "column": 24 + }, + "end": { + "line": 658, + "column": 90 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 22654, + "end": 22719, + "loc": { + "start": { + "line": 658, + "column": 24 + }, + "end": { + "line": 658, + "column": 89 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 22654, + "end": 22682, + "loc": { + "start": { + "line": 658, + "column": 24 + }, + "end": { + "line": 658, + "column": 52 + } + }, + "object": { + "type": "Identifier", + "start": 22654, + "end": 22665, + "loc": { + "start": { + "line": 658, + "column": 24 + }, + "end": { + "line": 658, + "column": 35 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + }, + "property": { + "type": "Identifier", + "start": 22666, + "end": 22682, + "loc": { + "start": { + "line": 658, + "column": 36 + }, + "end": { + "line": 658, + "column": 52 + }, + "identifierName": "colorsCompressed" + }, + "name": "colorsCompressed" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 22685, + "end": 22719, + "loc": { + "start": { + "line": 658, + "column": 55 + }, + "end": { + "line": 658, + "column": 89 + } + }, + "object": { + "type": "MemberExpression", + "start": 22685, + "end": 22713, + "loc": { + "start": { + "line": 658, + "column": 55 + }, + "end": { + "line": 658, + "column": 83 + } + }, + "object": { + "type": "MemberExpression", + "start": 22685, + "end": 22705, + "loc": { + "start": { + "line": 658, + "column": 55 + }, + "end": { + "line": 658, + "column": 75 + } + }, + "object": { + "type": "Identifier", + "start": 22685, + "end": 22694, + "loc": { + "start": { + "line": 658, + "column": 55 + }, + "end": { + "line": 658, + "column": 64 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 22695, + "end": 22705, + "loc": { + "start": { + "line": 658, + "column": 65 + }, + "end": { + "line": 658, + "column": 75 + }, + "identifierName": "attributes" + }, + "name": "attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22706, + "end": 22713, + "loc": { + "start": { + "line": 658, + "column": 76 + }, + "end": { + "line": 658, + "column": 83 + }, + "identifierName": "COLOR_0" + }, + "name": "COLOR_0" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22714, + "end": 22719, + "loc": { + "start": { + "line": 658, + "column": 84 + }, + "end": { + "line": 658, + "column": 89 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 22763, + "end": 23061, + "loc": { + "start": { + "line": 660, + "column": 20 + }, + "end": { + "line": 665, + "column": 21 + } + }, + "test": { + "type": "MemberExpression", + "start": 22767, + "end": 22786, + "loc": { + "start": { + "line": 660, + "column": 24 + }, + "end": { + "line": 660, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 22767, + "end": 22770, + "loc": { + "start": { + "line": 660, + "column": 24 + }, + "end": { + "line": 660, + "column": 27 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 22771, + "end": 22786, + "loc": { + "start": { + "line": 660, + "column": 28 + }, + "end": { + "line": 660, + "column": 43 + }, + "identifierName": "includeTextures" + }, + "name": "includeTextures" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 22788, + "end": 23061, + "loc": { + "start": { + "line": 660, + "column": 45 + }, + "end": { + "line": 665, + "column": 21 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 22814, + "end": 23039, + "loc": { + "start": { + "line": 661, + "column": 24 + }, + "end": { + "line": 664, + "column": 25 + } + }, + "test": { + "type": "MemberExpression", + "start": 22818, + "end": 22849, + "loc": { + "start": { + "line": 661, + "column": 28 + }, + "end": { + "line": 661, + "column": 59 + } + }, + "object": { + "type": "MemberExpression", + "start": 22818, + "end": 22838, + "loc": { + "start": { + "line": 661, + "column": 28 + }, + "end": { + "line": 661, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 22818, + "end": 22827, + "loc": { + "start": { + "line": 661, + "column": 28 + }, + "end": { + "line": 661, + "column": 37 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 22828, + "end": 22838, + "loc": { + "start": { + "line": 661, + "column": 38 + }, + "end": { + "line": 661, + "column": 48 + }, + "identifierName": "attributes" + }, + "name": "attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22839, + "end": 22849, + "loc": { + "start": { + "line": 661, + "column": 49 + }, + "end": { + "line": 661, + "column": 59 + }, + "identifierName": "TEXCOORD_0" + }, + "name": "TEXCOORD_0" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 22851, + "end": 23039, + "loc": { + "start": { + "line": 661, + "column": 61 + }, + "end": { + "line": 664, + "column": 25 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 22881, + "end": 22937, + "loc": { + "start": { + "line": 662, + "column": 28 + }, + "end": { + "line": 662, + "column": 84 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 22881, + "end": 22936, + "loc": { + "start": { + "line": 662, + "column": 28 + }, + "end": { + "line": 662, + "column": 83 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 22881, + "end": 22896, + "loc": { + "start": { + "line": 662, + "column": 28 + }, + "end": { + "line": 662, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 22881, + "end": 22892, + "loc": { + "start": { + "line": 662, + "column": 28 + }, + "end": { + "line": 662, + "column": 39 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + }, + "property": { + "type": "Identifier", + "start": 22893, + "end": 22896, + "loc": { + "start": { + "line": 662, + "column": 40 + }, + "end": { + "line": 662, + "column": 43 + }, + "identifierName": "uvs" + }, + "name": "uvs" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 22899, + "end": 22936, + "loc": { + "start": { + "line": 662, + "column": 46 + }, + "end": { + "line": 662, + "column": 83 + } + }, + "object": { + "type": "MemberExpression", + "start": 22899, + "end": 22930, + "loc": { + "start": { + "line": 662, + "column": 46 + }, + "end": { + "line": 662, + "column": 77 + } + }, + "object": { + "type": "MemberExpression", + "start": 22899, + "end": 22919, + "loc": { + "start": { + "line": 662, + "column": 46 + }, + "end": { + "line": 662, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 22899, + "end": 22908, + "loc": { + "start": { + "line": 662, + "column": 46 + }, + "end": { + "line": 662, + "column": 55 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 22909, + "end": 22919, + "loc": { + "start": { + "line": 662, + "column": 56 + }, + "end": { + "line": 662, + "column": 66 + }, + "identifierName": "attributes" + }, + "name": "attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22920, + "end": 22930, + "loc": { + "start": { + "line": 662, + "column": 67 + }, + "end": { + "line": 662, + "column": 77 + }, + "identifierName": "TEXCOORD_0" + }, + "name": "TEXCOORD_0" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22931, + "end": 22936, + "loc": { + "start": { + "line": 662, + "column": 78 + }, + "end": { + "line": 662, + "column": 83 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 22966, + "end": 23013, + "loc": { + "start": { + "line": 663, + "column": 28 + }, + "end": { + "line": 663, + "column": 75 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 22966, + "end": 23012, + "loc": { + "start": { + "line": 663, + "column": 28 + }, + "end": { + "line": 663, + "column": 74 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 22966, + "end": 22982, + "loc": { + "start": { + "line": 663, + "column": 28 + }, + "end": { + "line": 663, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 22966, + "end": 22975, + "loc": { + "start": { + "line": 663, + "column": 28 + }, + "end": { + "line": 663, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 22966, + "end": 22969, + "loc": { + "start": { + "line": 663, + "column": 28 + }, + "end": { + "line": 663, + "column": 31 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 22970, + "end": 22975, + "loc": { + "start": { + "line": 663, + "column": 32 + }, + "end": { + "line": 663, + "column": 37 + }, + "identifierName": "stats" + }, + "name": "stats" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 22976, + "end": 22982, + "loc": { + "start": { + "line": 663, + "column": 38 + }, + "end": { + "line": 663, + "column": 44 + }, + "identifierName": "numUVs" + }, + "name": "numUVs" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 22986, + "end": 23012, + "loc": { + "start": { + "line": 663, + "column": 48 + }, + "end": { + "line": 663, + "column": 74 + } + }, + "left": { + "type": "MemberExpression", + "start": 22986, + "end": 23008, + "loc": { + "start": { + "line": 663, + "column": 48 + }, + "end": { + "line": 663, + "column": 70 + } + }, + "object": { + "type": "MemberExpression", + "start": 22986, + "end": 23001, + "loc": { + "start": { + "line": 663, + "column": 48 + }, + "end": { + "line": 663, + "column": 63 + } + }, + "object": { + "type": "Identifier", + "start": 22986, + "end": 22997, + "loc": { + "start": { + "line": 663, + "column": 48 + }, + "end": { + "line": 663, + "column": 59 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + }, + "property": { + "type": "Identifier", + "start": 22998, + "end": 23001, + "loc": { + "start": { + "line": 663, + "column": 60 + }, + "end": { + "line": 663, + "column": 63 + }, + "identifierName": "uvs" + }, + "name": "uvs" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23002, + "end": 23008, + "loc": { + "start": { + "line": 663, + "column": 64 + }, + "end": { + "line": 663, + "column": 70 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 23011, + "end": 23012, + "loc": { + "start": { + "line": 663, + "column": 73 + }, + "end": { + "line": 663, + "column": 74 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 23082, + "end": 23363, + "loc": { + "start": { + "line": 666, + "column": 20 + }, + "end": { + "line": 671, + "column": 21 + } + }, + "test": { + "type": "MemberExpression", + "start": 23086, + "end": 23103, + "loc": { + "start": { + "line": 666, + "column": 24 + }, + "end": { + "line": 666, + "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 23086, + "end": 23095, + "loc": { + "start": { + "line": 666, + "column": 24 + }, + "end": { + "line": 666, + "column": 33 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 23096, + "end": 23103, + "loc": { + "start": { + "line": 666, + "column": 34 + }, + "end": { + "line": 666, + "column": 41 + }, + "identifierName": "indices" + }, + "name": "indices" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 23105, + "end": 23363, + "loc": { + "start": { + "line": 666, + "column": 43 + }, + "end": { + "line": 671, + "column": 21 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 23131, + "end": 23177, + "loc": { + "start": { + "line": 667, + "column": 24 + }, + "end": { + "line": 667, + "column": 70 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 23131, + "end": 23176, + "loc": { + "start": { + "line": 667, + "column": 24 + }, + "end": { + "line": 667, + "column": 69 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 23131, + "end": 23150, + "loc": { + "start": { + "line": 667, + "column": 24 + }, + "end": { + "line": 667, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 23131, + "end": 23142, + "loc": { + "start": { + "line": 667, + "column": 24 + }, + "end": { + "line": 667, + "column": 35 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + }, + "property": { + "type": "Identifier", + "start": 23143, + "end": 23150, + "loc": { + "start": { + "line": 667, + "column": 36 + }, + "end": { + "line": 667, + "column": 43 + }, + "identifierName": "indices" + }, + "name": "indices" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 23153, + "end": 23176, + "loc": { + "start": { + "line": 667, + "column": 46 + }, + "end": { + "line": 667, + "column": 69 + } + }, + "object": { + "type": "MemberExpression", + "start": 23153, + "end": 23170, + "loc": { + "start": { + "line": 667, + "column": 46 + }, + "end": { + "line": 667, + "column": 63 + } + }, + "object": { + "type": "Identifier", + "start": 23153, + "end": 23162, + "loc": { + "start": { + "line": 667, + "column": 46 + }, + "end": { + "line": 667, + "column": 55 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 23163, + "end": 23170, + "loc": { + "start": { + "line": 667, + "column": 56 + }, + "end": { + "line": 667, + "column": 63 + }, + "identifierName": "indices" + }, + "name": "indices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23171, + "end": 23176, + "loc": { + "start": { + "line": 667, + "column": 64 + }, + "end": { + "line": 667, + "column": 69 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + } + }, + { + "type": "IfStatement", + "start": 23202, + "end": 23341, + "loc": { + "start": { + "line": 668, + "column": 24 + }, + "end": { + "line": 670, + "column": 25 + } + }, + "test": { + "type": "BinaryExpression", + "start": 23206, + "end": 23226, + "loc": { + "start": { + "line": 668, + "column": 28 + }, + "end": { + "line": 668, + "column": 48 + } + }, + "left": { + "type": "MemberExpression", + "start": 23206, + "end": 23220, + "loc": { + "start": { + "line": 668, + "column": 28 + }, + "end": { + "line": 668, + "column": 42 + } + }, + "object": { + "type": "Identifier", + "start": 23206, + "end": 23215, + "loc": { + "start": { + "line": 668, + "column": 28 + }, + "end": { + "line": 668, + "column": 37 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 23216, + "end": 23220, + "loc": { + "start": { + "line": 668, + "column": 38 + }, + "end": { + "line": 668, + "column": 42 + }, + "identifierName": "mode" + }, + "name": "mode" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 23225, + "end": 23226, + "loc": { + "start": { + "line": 668, + "column": 47 + }, + "end": { + "line": 668, + "column": 48 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 23228, + "end": 23341, + "loc": { + "start": { + "line": 668, + "column": 50 + }, + "end": { + "line": 670, + "column": 25 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 23258, + "end": 23315, + "loc": { + "start": { + "line": 669, + "column": 28 + }, + "end": { + "line": 669, + "column": 85 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 23258, + "end": 23314, + "loc": { + "start": { + "line": 669, + "column": 28 + }, + "end": { + "line": 669, + "column": 84 + } + }, + "operator": "+=", + "left": { + "type": "MemberExpression", + "start": 23258, + "end": 23280, + "loc": { + "start": { + "line": 669, + "column": 28 + }, + "end": { + "line": 669, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 23258, + "end": 23267, + "loc": { + "start": { + "line": 669, + "column": 28 + }, + "end": { + "line": 669, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 23258, + "end": 23261, + "loc": { + "start": { + "line": 669, + "column": 28 + }, + "end": { + "line": 669, + "column": 31 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 23262, + "end": 23267, + "loc": { + "start": { + "line": 669, + "column": 32 + }, + "end": { + "line": 669, + "column": 37 + }, + "identifierName": "stats" + }, + "name": "stats" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23268, + "end": 23280, + "loc": { + "start": { + "line": 669, + "column": 38 + }, + "end": { + "line": 669, + "column": 50 + }, + "identifierName": "numTriangles" + }, + "name": "numTriangles" + }, + "computed": false + }, + "right": { + "type": "BinaryExpression", + "start": 23284, + "end": 23314, + "loc": { + "start": { + "line": 669, + "column": 54 + }, + "end": { + "line": 669, + "column": 84 + } + }, + "left": { + "type": "MemberExpression", + "start": 23284, + "end": 23310, + "loc": { + "start": { + "line": 669, + "column": 54 + }, + "end": { + "line": 669, + "column": 80 + } + }, + "object": { + "type": "MemberExpression", + "start": 23284, + "end": 23303, + "loc": { + "start": { + "line": 669, + "column": 54 + }, + "end": { + "line": 669, + "column": 73 + } + }, + "object": { + "type": "Identifier", + "start": 23284, + "end": 23295, + "loc": { + "start": { + "line": 669, + "column": 54 + }, + "end": { + "line": 669, + "column": 65 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + }, + "property": { + "type": "Identifier", + "start": 23296, + "end": 23303, + "loc": { + "start": { + "line": 669, + "column": 66 + }, + "end": { + "line": 669, + "column": 73 + }, + "identifierName": "indices" + }, + "name": "indices" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23304, + "end": 23310, + "loc": { + "start": { + "line": 669, + "column": 74 + }, + "end": { + "line": 669, + "column": 80 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 23313, + "end": 23314, + "loc": { + "start": { + "line": 669, + "column": 83 + }, + "end": { + "line": 669, + "column": 84 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + } + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 23384, + "end": 23425, + "loc": { + "start": { + "line": 672, + "column": 20 + }, + "end": { + "line": 672, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 23384, + "end": 23424, + "loc": { + "start": { + "line": 672, + "column": 20 + }, + "end": { + "line": 672, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23384, + "end": 23411, + "loc": { + "start": { + "line": 672, + "column": 20 + }, + "end": { + "line": 672, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 23384, + "end": 23396, + "loc": { + "start": { + "line": 672, + "column": 20 + }, + "end": { + "line": 672, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 23384, + "end": 23387, + "loc": { + "start": { + "line": 672, + "column": 20 + }, + "end": { + "line": 672, + "column": 23 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 23388, + "end": 23396, + "loc": { + "start": { + "line": 672, + "column": 24 + }, + "end": { + "line": 672, + "column": 32 + }, + "identifierName": "xktModel" + }, + "name": "xktModel" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23397, + "end": 23411, + "loc": { + "start": { + "line": 672, + "column": 33 + }, + "end": { + "line": 672, + "column": 47 + }, + "identifierName": "createGeometry" + }, + "name": "createGeometry" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 23412, + "end": 23423, + "loc": { + "start": { + "line": 672, + "column": 48 + }, + "end": { + "line": 672, + "column": 59 + }, + "identifierName": "geometryCfg" + }, + "name": "geometryCfg" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 23446, + "end": 23487, + "loc": { + "start": { + "line": 673, + "column": 20 + }, + "end": { + "line": 673, + "column": 61 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 23446, + "end": 23486, + "loc": { + "start": { + "line": 673, + "column": 20 + }, + "end": { + "line": 673, + "column": 60 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 23446, + "end": 23470, + "loc": { + "start": { + "line": 673, + "column": 20 + }, + "end": { + "line": 673, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 23446, + "end": 23455, + "loc": { + "start": { + "line": 673, + "column": 20 + }, + "end": { + "line": 673, + "column": 29 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 23456, + "end": 23470, + "loc": { + "start": { + "line": 673, + "column": 30 + }, + "end": { + "line": 673, + "column": 44 + }, + "identifierName": "_xktGeometryId" + }, + "name": "_xktGeometryId" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 23473, + "end": 23486, + "loc": { + "start": { + "line": 673, + "column": 47 + }, + "end": { + "line": 673, + "column": 60 + }, + "identifierName": "xktGeometryId" + }, + "name": "xktGeometryId" + } + } + }, + { + "type": "ExpressionStatement", + "start": 23508, + "end": 23534, + "loc": { + "start": { + "line": 674, + "column": 20 + }, + "end": { + "line": 674, + "column": 46 + } + }, + "expression": { + "type": "UpdateExpression", + "start": 23508, + "end": 23533, + "loc": { + "start": { + "line": 674, + "column": 20 + }, + "end": { + "line": 674, + "column": 45 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 23508, + "end": 23531, + "loc": { + "start": { + "line": 674, + "column": 20 + }, + "end": { + "line": 674, + "column": 43 + } + }, + "object": { + "type": "MemberExpression", + "start": 23508, + "end": 23517, + "loc": { + "start": { + "line": 674, + "column": 20 + }, + "end": { + "line": 674, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 23508, + "end": 23511, + "loc": { + "start": { + "line": 674, + "column": 20 + }, + "end": { + "line": 674, + "column": 23 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 23512, + "end": 23517, + "loc": { + "start": { + "line": 674, + "column": 24 + }, + "end": { + "line": 674, + "column": 29 + }, + "identifierName": "stats" + }, + "name": "stats" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 23518, + "end": 23531, + "loc": { + "start": { + "line": 674, + "column": 30 + }, + "end": { + "line": 674, + "column": 43 + }, + "identifierName": "numGeometries" + }, + "name": "numGeometries" + }, + "computed": false + } + } + } + ], + "directives": [] }, - "end": { - "line": 595, - "column": 19 - } + "alternate": null }, - "object": { - "type": "Identifier", - "start": 20991, - "end": 20994, + { + "type": "VariableDeclaration", + "start": 23569, + "end": 23600, "loc": { "start": { - "line": 595, - "column": 12 + "line": 676, + "column": 16 }, "end": { - "line": 595, - "column": 15 + "line": 676, + "column": 47 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 23575, + "end": 23599, + "loc": { + "start": { + "line": 676, + "column": 22 + }, + "end": { + "line": 676, + "column": 46 + } + }, + "id": { + "type": "Identifier", + "start": 23575, + "end": 23584, + "loc": { + "start": { + "line": 676, + "column": 22 + }, + "end": { + "line": 676, + "column": 31 + }, + "identifierName": "xktMeshId" + }, + "name": "xktMeshId" + }, + "init": { + "type": "UpdateExpression", + "start": 23587, + "end": 23599, + "loc": { + "start": { + "line": 676, + "column": 34 + }, + "end": { + "line": 676, + "column": 46 + } + }, + "operator": "++", + "prefix": false, + "argument": { + "type": "MemberExpression", + "start": 23587, + "end": 23597, + "loc": { + "start": { + "line": 676, + "column": 34 + }, + "end": { + "line": 676, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 23587, + "end": 23590, + "loc": { + "start": { + "line": 676, + "column": 34 + }, + "end": { + "line": 676, + "column": 37 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 23591, + "end": 23597, + "loc": { + "start": { + "line": 676, + "column": 38 + }, + "end": { + "line": 676, + "column": 44 + }, + "identifierName": "nextId" + }, + "name": "nextId" + }, + "computed": false + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 23617, + "end": 23824, + "loc": { + "start": { + "line": 677, + "column": 16 }, - "identifierName": "ctx" + "end": { + "line": 681, + "column": 18 + } }, - "name": "ctx" + "declarations": [ + { + "type": "VariableDeclarator", + "start": 23623, + "end": 23823, + "loc": { + "start": { + "line": 677, + "column": 22 + }, + "end": { + "line": 681, + "column": 17 + } + }, + "id": { + "type": "Identifier", + "start": 23623, + "end": 23630, + "loc": { + "start": { + "line": 677, + "column": 22 + }, + "end": { + "line": 677, + "column": 29 + }, + "identifierName": "meshCfg" + }, + "name": "meshCfg" + }, + "init": { + "type": "ObjectExpression", + "start": 23633, + "end": 23823, + "loc": { + "start": { + "line": 677, + "column": 32 + }, + "end": { + "line": 681, + "column": 17 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 23655, + "end": 23672, + "loc": { + "start": { + "line": 678, + "column": 20 + }, + "end": { + "line": 678, + "column": 37 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 23655, + "end": 23661, + "loc": { + "start": { + "line": 678, + "column": 20 + }, + "end": { + "line": 678, + "column": 26 + }, + "identifierName": "meshId" + }, + "name": "meshId" + }, + "value": { + "type": "Identifier", + "start": 23663, + "end": 23672, + "loc": { + "start": { + "line": 678, + "column": 28 + }, + "end": { + "line": 678, + "column": 37 + }, + "identifierName": "xktMeshId" + }, + "name": "xktMeshId" + } + }, + { + "type": "ObjectProperty", + "start": 23694, + "end": 23730, + "loc": { + "start": { + "line": 679, + "column": 20 + }, + "end": { + "line": 679, + "column": 56 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 23694, + "end": 23704, + "loc": { + "start": { + "line": 679, + "column": 20 + }, + "end": { + "line": 679, + "column": 30 + }, + "identifierName": "geometryId" + }, + "name": "geometryId" + }, + "value": { + "type": "MemberExpression", + "start": 23706, + "end": 23730, + "loc": { + "start": { + "line": 679, + "column": 32 + }, + "end": { + "line": 679, + "column": 56 + } + }, + "object": { + "type": "Identifier", + "start": 23706, + "end": 23715, + "loc": { + "start": { + "line": 679, + "column": 32 + }, + "end": { + "line": 679, + "column": 41 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 23716, + "end": 23730, + "loc": { + "start": { + "line": 679, + "column": 42 + }, + "end": { + "line": 679, + "column": 56 + }, + "identifierName": "_xktGeometryId" + }, + "name": "_xktGeometryId" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 23752, + "end": 23805, + "loc": { + "start": { + "line": 680, + "column": 20 + }, + "end": { + "line": 680, + "column": 73 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 23752, + "end": 23758, + "loc": { + "start": { + "line": 680, + "column": 20 + }, + "end": { + "line": 680, + "column": 26 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "value": { + "type": "ConditionalExpression", + "start": 23760, + "end": 23805, + "loc": { + "start": { + "line": 680, + "column": 28 + }, + "end": { + "line": 680, + "column": 73 + } + }, + "test": { + "type": "Identifier", + "start": 23760, + "end": 23766, + "loc": { + "start": { + "line": 680, + "column": 28 + }, + "end": { + "line": 680, + "column": 34 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "consequent": { + "type": "CallExpression", + "start": 23769, + "end": 23783, + "loc": { + "start": { + "line": 680, + "column": 37 + }, + "end": { + "line": 680, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23769, + "end": 23781, + "loc": { + "start": { + "line": 680, + "column": 37 + }, + "end": { + "line": 680, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 23769, + "end": 23775, + "loc": { + "start": { + "line": 680, + "column": 37 + }, + "end": { + "line": 680, + "column": 43 + }, + "identifierName": "matrix" + }, + "name": "matrix" + }, + "property": { + "type": "Identifier", + "start": 23776, + "end": 23781, + "loc": { + "start": { + "line": 680, + "column": 44 + }, + "end": { + "line": 680, + "column": 49 + }, + "identifierName": "slice" + }, + "name": "slice" + }, + "computed": false + }, + "arguments": [] + }, + "alternate": { + "type": "CallExpression", + "start": 23786, + "end": 23805, + "loc": { + "start": { + "line": 680, + "column": 54 + }, + "end": { + "line": 680, + "column": 73 + } + }, + "callee": { + "type": "MemberExpression", + "start": 23786, + "end": 23803, + "loc": { + "start": { + "line": 680, + "column": 54 + }, + "end": { + "line": 680, + "column": 71 + } + }, + "object": { + "type": "Identifier", + "start": 23786, + "end": 23790, + "loc": { + "start": { + "line": 680, + "column": 54 + }, + "end": { + "line": 680, + "column": 58 + }, + "identifierName": "math" + }, + "name": "math" + }, + "property": { + "type": "Identifier", + "start": 23791, + "end": 23803, + "loc": { + "start": { + "line": 680, + "column": 59 + }, + "end": { + "line": 680, + "column": 71 + }, + "identifierName": "identityMat4" + }, + "name": "identityMat4" + }, + "computed": false + }, + "arguments": [] + } + } + } + ] + } + } + ], + "kind": "const" }, - "property": { - "type": "Identifier", - "start": 20995, - "end": 20998, + { + "type": "VariableDeclaration", + "start": 23841, + "end": 23877, "loc": { "start": { - "line": 595, + "line": 682, "column": 16 }, "end": { - "line": 595, - "column": 19 - }, - "identifierName": "log" + "line": 682, + "column": 52 + } }, - "name": "log" + "declarations": [ + { + "type": "VariableDeclarator", + "start": 23847, + "end": 23876, + "loc": { + "start": { + "line": 682, + "column": 22 + }, + "end": { + "line": 682, + "column": 51 + } + }, + "id": { + "type": "Identifier", + "start": 23847, + "end": 23855, + "loc": { + "start": { + "line": 682, + "column": 22 + }, + "end": { + "line": 682, + "column": 30 + }, + "identifierName": "material" + }, + "name": "material" + }, + "init": { + "type": "MemberExpression", + "start": 23858, + "end": 23876, + "loc": { + "start": { + "line": 682, + "column": 33 + }, + "end": { + "line": 682, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 23858, + "end": 23867, + "loc": { + "start": { + "line": 682, + "column": 33 + }, + "end": { + "line": 682, + "column": 42 + }, + "identifierName": "primitive" + }, + "name": "primitive" + }, + "property": { + "type": "Identifier", + "start": 23868, + "end": 23876, + "loc": { + "start": { + "line": 682, + "column": 43 + }, + "end": { + "line": 682, + "column": 51 + }, + "identifierName": "material" + }, + "name": "material" + }, + "computed": false + } + } + ], + "kind": "const" }, - "computed": false - }, - "arguments": [ { - "type": "TemplateLiteral", - "start": 20999, - "end": 21100, + "type": "IfStatement", + "start": 23894, + "end": 24389, "loc": { "start": { - "line": 595, - "column": 20 + "line": 683, + "column": 16 }, "end": { - "line": 595, - "column": 121 + "line": 692, + "column": 17 } }, - "expressions": [], - "quasis": [ - { - "type": "TemplateElement", - "start": 21000, - "end": 21099, - "loc": { - "start": { - "line": 595, - "column": 21 + "test": { + "type": "Identifier", + "start": 23898, + "end": 23906, + "loc": { + "start": { + "line": 683, + "column": 20 + }, + "end": { + "line": 683, + "column": 28 + }, + "identifierName": "material" + }, + "name": "material" + }, + "consequent": { + "type": "BlockStatement", + "start": 23908, + "end": 24268, + "loc": { + "start": { + "line": 683, + "column": 30 + }, + "end": { + "line": 689, + "column": 17 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 23930, + "end": 23976, + "loc": { + "start": { + "line": 684, + "column": 20 + }, + "end": { + "line": 684, + "column": 66 + } }, - "end": { - "line": 595, - "column": 120 + "expression": { + "type": "AssignmentExpression", + "start": 23930, + "end": 23975, + "loc": { + "start": { + "line": 684, + "column": 20 + }, + "end": { + "line": 684, + "column": 65 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 23930, + "end": 23950, + "loc": { + "start": { + "line": 684, + "column": 20 + }, + "end": { + "line": 684, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 23930, + "end": 23937, + "loc": { + "start": { + "line": 684, + "column": 20 + }, + "end": { + "line": 684, + "column": 27 + }, + "identifierName": "meshCfg" + }, + "name": "meshCfg" + }, + "property": { + "type": "Identifier", + "start": 23938, + "end": 23950, + "loc": { + "start": { + "line": 684, + "column": 28 + }, + "end": { + "line": 684, + "column": 40 + }, + "identifierName": "textureSetId" + }, + "name": "textureSetId" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 23953, + "end": 23975, + "loc": { + "start": { + "line": 684, + "column": 43 + }, + "end": { + "line": 684, + "column": 65 + } + }, + "object": { + "type": "Identifier", + "start": 23953, + "end": 23961, + "loc": { + "start": { + "line": 684, + "column": 43 + }, + "end": { + "line": 684, + "column": 51 + }, + "identifierName": "material" + }, + "name": "material" + }, + "property": { + "type": "Identifier", + "start": 23962, + "end": 23975, + "loc": { + "start": { + "line": 684, + "column": 52 + }, + "end": { + "line": 684, + "column": 65 + }, + "identifierName": "_textureSetId" + }, + "name": "_textureSetId" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 23997, + "end": 24040, + "loc": { + "start": { + "line": 685, + "column": 20 + }, + "end": { + "line": 685, + "column": 63 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 23997, + "end": 24039, + "loc": { + "start": { + "line": 685, + "column": 20 + }, + "end": { + "line": 685, + "column": 62 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 23997, + "end": 24010, + "loc": { + "start": { + "line": 685, + "column": 20 + }, + "end": { + "line": 685, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 23997, + "end": 24004, + "loc": { + "start": { + "line": 685, + "column": 20 + }, + "end": { + "line": 685, + "column": 27 + }, + "identifierName": "meshCfg" + }, + "name": "meshCfg" + }, + "property": { + "type": "Identifier", + "start": 24005, + "end": 24010, + "loc": { + "start": { + "line": 685, + "column": 28 + }, + "end": { + "line": 685, + "column": 33 + }, + "identifierName": "color" + }, + "name": "color" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 24013, + "end": 24039, + "loc": { + "start": { + "line": 685, + "column": 36 + }, + "end": { + "line": 685, + "column": 62 + } + }, + "object": { + "type": "MemberExpression", + "start": 24013, + "end": 24033, + "loc": { + "start": { + "line": 685, + "column": 36 + }, + "end": { + "line": 685, + "column": 56 + } + }, + "object": { + "type": "Identifier", + "start": 24013, + "end": 24021, + "loc": { + "start": { + "line": 685, + "column": 36 + }, + "end": { + "line": 685, + "column": 44 + }, + "identifierName": "material" + }, + "name": "material" + }, + "property": { + "type": "Identifier", + "start": 24022, + "end": 24033, + "loc": { + "start": { + "line": 685, + "column": 45 + }, + "end": { + "line": 685, + "column": 56 + }, + "identifierName": "_attributes" + }, + "name": "_attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24034, + "end": 24039, + "loc": { + "start": { + "line": 685, + "column": 57 + }, + "end": { + "line": 685, + "column": 62 + }, + "identifierName": "color" + }, + "name": "color" + }, + "computed": false + } + } + }, + { + "type": "ExpressionStatement", + "start": 24061, + "end": 24108, + "loc": { + "start": { + "line": 686, + "column": 20 + }, + "end": { + "line": 686, + "column": 67 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 24061, + "end": 24107, + "loc": { + "start": { + "line": 686, + "column": 20 + }, + "end": { + "line": 686, + "column": 66 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 24061, + "end": 24076, + "loc": { + "start": { + "line": 686, + "column": 20 + }, + "end": { + "line": 686, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 24061, + "end": 24068, + "loc": { + "start": { + "line": 686, + "column": 20 + }, + "end": { + "line": 686, + "column": 27 + }, + "identifierName": "meshCfg" + }, + "name": "meshCfg" + }, + "property": { + "type": "Identifier", + "start": 24069, + "end": 24076, + "loc": { + "start": { + "line": 686, + "column": 28 + }, + "end": { + "line": 686, + "column": 35 + }, + "identifierName": "opacity" + }, + "name": "opacity" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 24079, + "end": 24107, + "loc": { + "start": { + "line": 686, + "column": 38 + }, + "end": { + "line": 686, + "column": 66 + } + }, + "object": { + "type": "MemberExpression", + "start": 24079, + "end": 24099, + "loc": { + "start": { + "line": 686, + "column": 38 + }, + "end": { + "line": 686, + "column": 58 + } + }, + "object": { + "type": "Identifier", + "start": 24079, + "end": 24087, + "loc": { + "start": { + "line": 686, + "column": 38 + }, + "end": { + "line": 686, + "column": 46 + }, + "identifierName": "material" + }, + "name": "material" + }, + "property": { + "type": "Identifier", + "start": 24088, + "end": 24099, + "loc": { + "start": { + "line": 686, + "column": 47 + }, + "end": { + "line": 686, + "column": 58 + }, + "identifierName": "_attributes" + }, + "name": "_attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24100, + "end": 24107, + "loc": { + "start": { + "line": 686, + "column": 59 + }, + "end": { + "line": 686, + "column": 66 + }, + "identifierName": "opacity" + }, + "name": "opacity" + }, + "computed": false + } } }, - "value": { - "raw": "Warning: 'name' properties not found on glTF scene nodes - will randomly-generate object IDs in XKT", - "cooked": "Warning: 'name' properties not found on glTF scene nodes - will randomly-generate object IDs in XKT" + { + "type": "ExpressionStatement", + "start": 24129, + "end": 24178, + "loc": { + "start": { + "line": 687, + "column": 20 + }, + "end": { + "line": 687, + "column": 69 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 24129, + "end": 24177, + "loc": { + "start": { + "line": 687, + "column": 20 + }, + "end": { + "line": 687, + "column": 68 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 24129, + "end": 24145, + "loc": { + "start": { + "line": 687, + "column": 20 + }, + "end": { + "line": 687, + "column": 36 + } + }, + "object": { + "type": "Identifier", + "start": 24129, + "end": 24136, + "loc": { + "start": { + "line": 687, + "column": 20 + }, + "end": { + "line": 687, + "column": 27 + }, + "identifierName": "meshCfg" + }, + "name": "meshCfg" + }, + "property": { + "type": "Identifier", + "start": 24137, + "end": 24145, + "loc": { + "start": { + "line": 687, + "column": 28 + }, + "end": { + "line": 687, + "column": 36 + }, + "identifierName": "metallic" + }, + "name": "metallic" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 24148, + "end": 24177, + "loc": { + "start": { + "line": 687, + "column": 39 + }, + "end": { + "line": 687, + "column": 68 + } + }, + "object": { + "type": "MemberExpression", + "start": 24148, + "end": 24168, + "loc": { + "start": { + "line": 687, + "column": 39 + }, + "end": { + "line": 687, + "column": 59 + } + }, + "object": { + "type": "Identifier", + "start": 24148, + "end": 24156, + "loc": { + "start": { + "line": 687, + "column": 39 + }, + "end": { + "line": 687, + "column": 47 + }, + "identifierName": "material" + }, + "name": "material" + }, + "property": { + "type": "Identifier", + "start": 24157, + "end": 24168, + "loc": { + "start": { + "line": 687, + "column": 48 + }, + "end": { + "line": 687, + "column": 59 + }, + "identifierName": "_attributes" + }, + "name": "_attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24169, + "end": 24177, + "loc": { + "start": { + "line": 687, + "column": 60 + }, + "end": { + "line": 687, + "column": 68 + }, + "identifierName": "metallic" + }, + "name": "metallic" + }, + "computed": false + } + } }, - "tail": true - } - ] - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "VariableDeclaration", - "start": 21121, - "end": 21159, - "loc": { - "start": { - "line": 597, - "column": 8 - }, - "end": { - "line": 597, - "column": 46 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 21125, - "end": 21158, - "loc": { - "start": { - "line": 597, - "column": 12 - }, - "end": { - "line": 597, - "column": 45 - } - }, - "id": { - "type": "Identifier", - "start": 21125, - "end": 21136, - "loc": { - "start": { - "line": 597, - "column": 12 - }, - "end": { - "line": 597, - "column": 23 - }, - "identifierName": "xktEntityId" - }, - "name": "xktEntityId" - }, - "init": { - "type": "CallExpression", - "start": 21139, - "end": 21158, - "loc": { - "start": { - "line": 597, - "column": 26 - }, - "end": { - "line": 597, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 21139, - "end": 21156, - "loc": { - "start": { - "line": 597, - "column": 26 - }, - "end": { - "line": 597, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 21139, - "end": 21152, - "loc": { - "start": { - "line": 597, - "column": 26 - }, - "end": { - "line": 597, - "column": 39 - }, - "identifierName": "objectIdStack" - }, - "name": "objectIdStack" - }, - "property": { - "type": "Identifier", - "start": 21153, - "end": 21156, - "loc": { - "start": { - "line": 597, - "column": 40 - }, - "end": { - "line": 597, - "column": 43 - }, - "identifierName": "pop" - }, - "name": "pop" - }, - "computed": false - }, - "arguments": [] - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 21168, - "end": 21291, - "loc": { - "start": { - "line": 598, - "column": 8 - }, - "end": { - "line": 600, - "column": 9 - } - }, - "test": { - "type": "UnaryExpression", - "start": 21172, - "end": 21184, - "loc": { - "start": { - "line": 598, - "column": 12 - }, - "end": { - "line": 598, - "column": 24 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 21173, - "end": 21184, - "loc": { - "start": { - "line": 598, - "column": 13 - }, - "end": { - "line": 598, - "column": 24 - }, - "identifierName": "xktEntityId" - }, - "name": "xktEntityId" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 21186, - "end": 21291, - "loc": { - "start": { - "line": 598, - "column": 26 - }, - "end": { - "line": 600, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 21242, - "end": 21281, - "loc": { - "start": { - "line": 599, - "column": 12 - }, - "end": { - "line": 599, - "column": 51 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 21242, - "end": 21280, - "loc": { - "start": { - "line": 599, - "column": 12 - }, - "end": { - "line": 599, - "column": 50 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 21242, - "end": 21253, - "loc": { - "start": { - "line": 599, - "column": 12 - }, - "end": { - "line": 599, - "column": 23 - }, - "identifierName": "xktEntityId" - }, - "name": "xktEntityId", - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 21256, - "end": 21280, - "loc": { - "start": { - "line": 599, - "column": 26 - }, - "end": { - "line": 599, - "column": 50 - } - }, - "left": { - "type": "StringLiteral", - "start": 21256, - "end": 21265, - "loc": { - "start": { - "line": 599, - "column": 26 - }, - "end": { - "line": 599, - "column": 35 - } - }, - "extra": { - "rawValue": "entity-", - "raw": "\"entity-\"" - }, - "value": "entity-" - }, - "operator": "+", - "right": { - "type": "UpdateExpression", - "start": 21268, - "end": 21280, - "loc": { - "start": { - "line": 599, - "column": 38 - }, - "end": { - "line": 599, - "column": 50 - } + { + "type": "ExpressionStatement", + "start": 24199, + "end": 24250, + "loc": { + "start": { + "line": 688, + "column": 20 + }, + "end": { + "line": 688, + "column": 71 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 24199, + "end": 24249, + "loc": { + "start": { + "line": 688, + "column": 20 + }, + "end": { + "line": 688, + "column": 70 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 24199, + "end": 24216, + "loc": { + "start": { + "line": 688, + "column": 20 + }, + "end": { + "line": 688, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 24199, + "end": 24206, + "loc": { + "start": { + "line": 688, + "column": 20 + }, + "end": { + "line": 688, + "column": 27 + }, + "identifierName": "meshCfg" + }, + "name": "meshCfg" + }, + "property": { + "type": "Identifier", + "start": 24207, + "end": 24216, + "loc": { + "start": { + "line": 688, + "column": 28 + }, + "end": { + "line": 688, + "column": 37 + }, + "identifierName": "roughness" + }, + "name": "roughness" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 24219, + "end": 24249, + "loc": { + "start": { + "line": 688, + "column": 40 + }, + "end": { + "line": 688, + "column": 70 + } + }, + "object": { + "type": "MemberExpression", + "start": 24219, + "end": 24239, + "loc": { + "start": { + "line": 688, + "column": 40 + }, + "end": { + "line": 688, + "column": 60 + } + }, + "object": { + "type": "Identifier", + "start": 24219, + "end": 24227, + "loc": { + "start": { + "line": 688, + "column": 40 + }, + "end": { + "line": 688, + "column": 48 + }, + "identifierName": "material" + }, + "name": "material" + }, + "property": { + "type": "Identifier", + "start": 24228, + "end": 24239, + "loc": { + "start": { + "line": 688, + "column": 49 + }, + "end": { + "line": 688, + "column": 60 + }, + "identifierName": "_attributes" + }, + "name": "_attributes" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 24240, + "end": 24249, + "loc": { + "start": { + "line": 688, + "column": 61 + }, + "end": { + "line": 688, + "column": 70 + }, + "identifierName": "roughness" + }, + "name": "roughness" + }, + "computed": false + } + } + } + ], + "directives": [] }, - "operator": "++", - "prefix": false, - "argument": { - "type": "MemberExpression", - "start": 21268, - "end": 21278, + "alternate": { + "type": "BlockStatement", + "start": 24274, + "end": 24389, "loc": { "start": { - "line": 599, - "column": 38 + "line": 689, + "column": 23 }, "end": { - "line": 599, - "column": 48 + "line": 692, + "column": 17 } }, - "object": { - "type": "Identifier", - "start": 21268, - "end": 21271, - "loc": { - "start": { - "line": 599, - "column": 38 - }, - "end": { - "line": 599, - "column": 41 + "body": [ + { + "type": "ExpressionStatement", + "start": 24296, + "end": 24328, + "loc": { + "start": { + "line": 690, + "column": 20 + }, + "end": { + "line": 690, + "column": 52 + } }, - "identifierName": "ctx" + "expression": { + "type": "AssignmentExpression", + "start": 24296, + "end": 24327, + "loc": { + "start": { + "line": 690, + "column": 20 + }, + "end": { + "line": 690, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 24296, + "end": 24309, + "loc": { + "start": { + "line": 690, + "column": 20 + }, + "end": { + "line": 690, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 24296, + "end": 24303, + "loc": { + "start": { + "line": 690, + "column": 20 + }, + "end": { + "line": 690, + "column": 27 + }, + "identifierName": "meshCfg" + }, + "name": "meshCfg" + }, + "property": { + "type": "Identifier", + "start": 24304, + "end": 24309, + "loc": { + "start": { + "line": 690, + "column": 28 + }, + "end": { + "line": 690, + "column": 33 + }, + "identifierName": "color" + }, + "name": "color" + }, + "computed": false + }, + "right": { + "type": "ArrayExpression", + "start": 24312, + "end": 24327, + "loc": { + "start": { + "line": 690, + "column": 36 + }, + "end": { + "line": 690, + "column": 51 + } + }, + "elements": [ + { + "type": "NumericLiteral", + "start": 24313, + "end": 24316, + "loc": { + "start": { + "line": 690, + "column": 37 + }, + "end": { + "line": 690, + "column": 40 + } + }, + "extra": { + "rawValue": 1, + "raw": "1.0" + }, + "value": 1 + }, + { + "type": "NumericLiteral", + "start": 24318, + "end": 24321, + "loc": { + "start": { + "line": 690, + "column": 42 + }, + "end": { + "line": 690, + "column": 45 + } + }, + "extra": { + "rawValue": 1, + "raw": "1.0" + }, + "value": 1 + }, + { + "type": "NumericLiteral", + "start": 24323, + "end": 24326, + "loc": { + "start": { + "line": 690, + "column": 47 + }, + "end": { + "line": 690, + "column": 50 + } + }, + "extra": { + "rawValue": 1, + "raw": "1.0" + }, + "value": 1 + } + ] + } + } }, - "name": "ctx" - }, - "property": { - "type": "Identifier", - "start": 21272, - "end": 21278, - "loc": { - "start": { - "line": 599, - "column": 42 - }, - "end": { - "line": 599, - "column": 48 + { + "type": "ExpressionStatement", + "start": 24349, + "end": 24371, + "loc": { + "start": { + "line": 691, + "column": 20 + }, + "end": { + "line": 691, + "column": 42 + } }, - "identifierName": "nextId" - }, - "name": "nextId" - }, - "computed": false - } - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " For when there are no nodes with names", - "start": 21188, - "end": 21229, - "loc": { - "start": { - "line": 598, - "column": 28 - }, - "end": { - "line": 598, - "column": 69 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "VariableDeclaration", - "start": 21300, - "end": 21339, - "loc": { - "start": { - "line": 601, - "column": 8 - }, - "end": { - "line": 601, - "column": 47 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 21304, - "end": 21338, - "loc": { - "start": { - "line": 601, - "column": 12 - }, - "end": { - "line": 601, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 21304, - "end": 21317, - "loc": { - "start": { - "line": 601, - "column": 12 - }, - "end": { - "line": 601, - "column": 25 - }, - "identifierName": "entityMeshIds" - }, - "name": "entityMeshIds" - }, - "init": { - "type": "CallExpression", - "start": 21320, - "end": 21338, - "loc": { - "start": { - "line": 601, - "column": 28 - }, - "end": { - "line": 601, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 21320, - "end": 21336, - "loc": { - "start": { - "line": 601, - "column": 28 - }, - "end": { - "line": 601, - "column": 44 - } - }, - "object": { - "type": "Identifier", - "start": 21320, - "end": 21332, - "loc": { - "start": { - "line": 601, - "column": 28 - }, - "end": { - "line": 601, - "column": 40 - }, - "identifierName": "meshIdsStack" - }, - "name": "meshIdsStack" - }, - "property": { - "type": "Identifier", - "start": 21333, - "end": 21336, - "loc": { - "start": { - "line": 601, - "column": 41 - }, - "end": { - "line": 601, - "column": 44 - }, - "identifierName": "pop" - }, - "name": "pop" - }, - "computed": false - }, - "arguments": [] - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 21348, - "end": 21524, - "loc": { - "start": { - "line": 602, - "column": 8 - }, - "end": { - "line": 607, - "column": 9 - } - }, - "test": { - "type": "LogicalExpression", - "start": 21352, - "end": 21381, - "loc": { - "start": { - "line": 602, - "column": 12 - }, - "end": { - "line": 602, - "column": 41 - } - }, - "left": { - "type": "Identifier", - "start": 21352, - "end": 21359, - "loc": { - "start": { - "line": 602, - "column": 12 - }, - "end": { - "line": 602, - "column": 19 - }, - "identifierName": "meshIds" - }, - "name": "meshIds" - }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 21363, - "end": 21381, - "loc": { - "start": { - "line": 602, - "column": 23 - }, - "end": { - "line": 602, - "column": 41 - } - }, - "left": { - "type": "MemberExpression", - "start": 21363, - "end": 21377, - "loc": { - "start": { - "line": 602, - "column": 23 - }, - "end": { - "line": 602, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 21363, - "end": 21370, - "loc": { - "start": { - "line": 602, - "column": 23 - }, - "end": { - "line": 602, - "column": 30 - }, - "identifierName": "meshIds" - }, - "name": "meshIds" - }, - "property": { - "type": "Identifier", - "start": 21371, - "end": 21377, - "loc": { - "start": { - "line": 602, - "column": 31 - }, - "end": { - "line": 602, - "column": 37 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 21380, - "end": 21381, - "loc": { - "start": { - "line": 602, - "column": 40 - }, - "end": { - "line": 602, - "column": 41 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 21383, - "end": 21524, - "loc": { - "start": { - "line": 602, - "column": 43 - }, - "end": { - "line": 607, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 21397, - "end": 21514, - "loc": { - "start": { - "line": 603, - "column": 12 - }, - "end": { - "line": 606, - "column": 15 - } - }, - "expression": { - "type": "CallExpression", - "start": 21397, - "end": 21513, - "loc": { - "start": { - "line": 603, - "column": 12 - }, - "end": { - "line": 606, - "column": 14 - } - }, - "callee": { - "type": "MemberExpression", - "start": 21397, - "end": 21418, - "loc": { - "start": { - "line": 603, - "column": 12 - }, - "end": { - "line": 603, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 21397, - "end": 21405, - "loc": { - "start": { - "line": 603, - "column": 12 - }, - "end": { - "line": 603, - "column": 20 - }, - "identifierName": "xktModel" - }, - "name": "xktModel" - }, - "property": { - "type": "Identifier", - "start": 21406, - "end": 21418, - "loc": { - "start": { - "line": 603, - "column": 21 - }, - "end": { - "line": 603, - "column": 33 - }, - "identifierName": "createEntity" - }, - "name": "createEntity" + "expression": { + "type": "AssignmentExpression", + "start": 24349, + "end": 24370, + "loc": { + "start": { + "line": 691, + "column": 20 + }, + "end": { + "line": 691, + "column": 41 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 24349, + "end": 24364, + "loc": { + "start": { + "line": 691, + "column": 20 + }, + "end": { + "line": 691, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 24349, + "end": 24356, + "loc": { + "start": { + "line": 691, + "column": 20 + }, + "end": { + "line": 691, + "column": 27 + }, + "identifierName": "meshCfg" + }, + "name": "meshCfg" + }, + "property": { + "type": "Identifier", + "start": 24357, + "end": 24364, + "loc": { + "start": { + "line": 691, + "column": 28 + }, + "end": { + "line": 691, + "column": 35 + }, + "identifierName": "opacity" + }, + "name": "opacity" + }, + "computed": false + }, + "right": { + "type": "NumericLiteral", + "start": 24367, + "end": 24370, + "loc": { + "start": { + "line": 691, + "column": 38 + }, + "end": { + "line": 691, + "column": 41 + } + }, + "extra": { + "rawValue": 1, + "raw": "1.0" + }, + "value": 1 + } + } + } + ], + "directives": [] + } }, - "computed": false - }, - "arguments": [ { - "type": "ObjectExpression", - "start": 21419, - "end": 21512, + "type": "ExpressionStatement", + "start": 24406, + "end": 24439, "loc": { "start": { - "line": 603, - "column": 34 + "line": 693, + "column": 16 }, "end": { - "line": 606, - "column": 13 + "line": 693, + "column": 49 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 21437, - "end": 21458, + "expression": { + "type": "CallExpression", + "start": 24406, + "end": 24438, + "loc": { + "start": { + "line": 693, + "column": 16 + }, + "end": { + "line": 693, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24406, + "end": 24429, "loc": { "start": { - "line": 604, + "line": 693, "column": 16 }, "end": { - "line": 604, - "column": 37 + "line": 693, + "column": 39 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 21437, - "end": 21445, + "object": { + "type": "MemberExpression", + "start": 24406, + "end": 24418, "loc": { "start": { - "line": 604, + "line": 693, "column": 16 }, "end": { - "line": 604, - "column": 24 + "line": 693, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 24406, + "end": 24409, + "loc": { + "start": { + "line": 693, + "column": 16 + }, + "end": { + "line": 693, + "column": 19 + }, + "identifierName": "ctx" + }, + "name": "ctx" + }, + "property": { + "type": "Identifier", + "start": 24410, + "end": 24418, + "loc": { + "start": { + "line": 693, + "column": 20 + }, + "end": { + "line": 693, + "column": 28 + }, + "identifierName": "xktModel" }, - "identifierName": "entityId" + "name": "xktModel" }, - "name": "entityId" + "computed": false }, - "value": { + "property": { "type": "Identifier", - "start": 21447, - "end": 21458, + "start": 24419, + "end": 24429, "loc": { "start": { - "line": 604, - "column": 26 + "line": 693, + "column": 29 }, "end": { - "line": 604, - "column": 37 + "line": 693, + "column": 39 + }, + "identifierName": "createMesh" + }, + "name": "createMesh" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 24430, + "end": 24437, + "loc": { + "start": { + "line": 693, + "column": 40 }, - "identifierName": "xktEntityId" + "end": { + "line": 693, + "column": 47 + }, + "identifierName": "meshCfg" }, - "name": "xktEntityId" + "name": "meshCfg" } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 24456, + "end": 24480, + "loc": { + "start": { + "line": 694, + "column": 16 }, - { - "type": "ObjectProperty", - "start": 21476, - "end": 21498, + "end": { + "line": 694, + "column": 40 + } + }, + "expression": { + "type": "CallExpression", + "start": 24456, + "end": 24479, + "loc": { + "start": { + "line": 694, + "column": 16 + }, + "end": { + "line": 694, + "column": 39 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24456, + "end": 24468, "loc": { "start": { - "line": 605, + "line": 694, "column": 16 }, "end": { - "line": 605, - "column": 38 + "line": 694, + "column": 28 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "object": { "type": "Identifier", - "start": 21476, - "end": 21483, + "start": 24456, + "end": 24463, "loc": { "start": { - "line": 605, + "line": 694, "column": 16 }, "end": { - "line": 605, + "line": 694, "column": 23 }, "identifierName": "meshIds" }, "name": "meshIds" }, - "value": { + "property": { "type": "Identifier", - "start": 21485, - "end": 21498, + "start": 24464, + "end": 24468, "loc": { "start": { - "line": 605, - "column": 25 + "line": 694, + "column": 24 + }, + "end": { + "line": 694, + "column": 28 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 24469, + "end": 24478, + "loc": { + "start": { + "line": 694, + "column": 29 }, "end": { - "line": 605, + "line": 694, "column": 38 }, - "identifierName": "entityMeshIds" + "identifierName": "xktMeshId" }, - "name": "entityMeshIds" + "name": "xktMeshId" } - } - ] + ] + } } - ] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 21533, - "end": 21556, - "loc": { - "start": { - "line": 608, - "column": 8 - }, - "end": { - "line": 608, - "column": 31 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 21533, - "end": 21555, - "loc": { - "start": { - "line": 608, - "column": 8 - }, - "end": { - "line": 608, - "column": 30 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "MemberExpression", - "start": 21533, - "end": 21553, - "loc": { - "start": { - "line": 608, - "column": 8 - }, - "end": { - "line": 608, - "column": 28 - } - }, - "object": { - "type": "MemberExpression", - "start": 21533, - "end": 21542, - "loc": { - "start": { - "line": 608, - "column": 8 - }, - "end": { - "line": 608, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 21533, - "end": 21536, - "loc": { - "start": { - "line": 608, - "column": 8 - }, - "end": { - "line": 608, - "column": 11 - }, - "identifierName": "ctx" - }, - "name": "ctx" - }, - "property": { - "type": "Identifier", - "start": 21537, - "end": 21542, - "loc": { - "start": { - "line": 608, - "column": 12 - }, - "end": { - "line": 608, - "column": 17 - }, - "identifierName": "stats" - }, - "name": "stats" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 21543, - "end": 21553, - "loc": { - "start": { - "line": 608, - "column": 18 - }, - "end": { - "line": 608, - "column": 28 - }, - "identifierName": "numObjects" - }, - "name": "numObjects" - }, - "computed": false - } - } - }, - { - "type": "ExpressionStatement", - "start": 21565, - "end": 21646, - "loc": { - "start": { - "line": 609, - "column": 8 - }, - "end": { - "line": 609, - "column": 89 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 21565, - "end": 21645, - "loc": { - "start": { - "line": 609, - "column": 8 - }, - "end": { - "line": 609, - "column": 88 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 21565, - "end": 21572, - "loc": { - "start": { - "line": 609, - "column": 8 - }, - "end": { - "line": 609, - "column": 15 - }, - "identifierName": "meshIds" - }, - "name": "meshIds" - }, - "right": { - "type": "ConditionalExpression", - "start": 21575, - "end": 21645, - "loc": { - "start": { - "line": 609, - "column": 18 - }, - "end": { - "line": 609, - "column": 88 - } - }, - "test": { - "type": "BinaryExpression", - "start": 21575, - "end": 21598, - "loc": { - "start": { - "line": 609, - "column": 18 - }, - "end": { - "line": 609, - "column": 41 - } + ], + "directives": [] }, - "left": { - "type": "MemberExpression", - "start": 21575, - "end": 21594, + "handler": { + "type": "CatchClause", + "start": 24495, + "end": 24552, "loc": { "start": { - "line": 609, - "column": 18 + "line": 695, + "column": 14 }, "end": { - "line": 609, - "column": 37 + "line": 697, + "column": 13 } }, - "object": { - "type": "Identifier", - "start": 21575, - "end": 21587, - "loc": { - "start": { - "line": 609, - "column": 18 - }, - "end": { - "line": 609, - "column": 30 - }, - "identifierName": "meshIdsStack" - }, - "name": "meshIdsStack" - }, - "property": { + "param": { "type": "Identifier", - "start": 21588, - "end": 21594, + "start": 24502, + "end": 24503, "loc": { "start": { - "line": 609, - "column": 31 + "line": 695, + "column": 21 }, "end": { - "line": 609, - "column": 37 + "line": 695, + "column": 22 }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 21597, - "end": 21598, - "loc": { - "start": { - "line": 609, - "column": 40 - }, - "end": { - "line": 609, - "column": 41 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "consequent": { - "type": "MemberExpression", - "start": 21601, - "end": 21638, - "loc": { - "start": { - "line": 609, - "column": 44 - }, - "end": { - "line": 609, - "column": 81 - } - }, - "object": { - "type": "Identifier", - "start": 21601, - "end": 21613, - "loc": { - "start": { - "line": 609, - "column": 44 - }, - "end": { - "line": 609, - "column": 56 - }, - "identifierName": "meshIdsStack" - }, - "name": "meshIdsStack" - }, - "property": { - "type": "BinaryExpression", - "start": 21614, - "end": 21637, - "loc": { - "start": { - "line": 609, - "column": 57 + "identifierName": "e" }, - "end": { - "line": 609, - "column": 80 - } + "name": "e" }, - "left": { - "type": "MemberExpression", - "start": 21614, - "end": 21633, + "body": { + "type": "BlockStatement", + "start": 24505, + "end": 24552, "loc": { "start": { - "line": 609, - "column": 57 + "line": 695, + "column": 24 }, "end": { - "line": 609, - "column": 76 + "line": 697, + "column": 13 } }, - "object": { - "type": "Identifier", - "start": 21614, - "end": 21626, - "loc": { - "start": { - "line": 609, - "column": 57 - }, - "end": { - "line": 609, - "column": 69 - }, - "identifierName": "meshIdsStack" - }, - "name": "meshIdsStack" - }, - "property": { - "type": "Identifier", - "start": 21627, - "end": 21633, - "loc": { - "start": { - "line": 609, - "column": 70 - }, - "end": { - "line": 609, - "column": 76 + "body": [ + { + "type": "ExpressionStatement", + "start": 24523, + "end": 24538, + "loc": { + "start": { + "line": 696, + "column": 16 + }, + "end": { + "line": 696, + "column": 31 + } }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 21636, - "end": 21637, - "loc": { - "start": { - "line": 609, - "column": 79 - }, - "end": { - "line": 609, - "column": 80 + "expression": { + "type": "CallExpression", + "start": 24523, + "end": 24537, + "loc": { + "start": { + "line": 696, + "column": 16 + }, + "end": { + "line": 696, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 24523, + "end": 24534, + "loc": { + "start": { + "line": 696, + "column": 16 + }, + "end": { + "line": 696, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 24523, + "end": 24530, + "loc": { + "start": { + "line": 696, + "column": 16 + }, + "end": { + "line": 696, + "column": 23 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 24531, + "end": 24534, + "loc": { + "start": { + "line": 696, + "column": 24 + }, + "end": { + "line": 696, + "column": 27 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 24535, + "end": 24536, + "loc": { + "start": { + "line": 696, + "column": 28 + }, + "end": { + "line": 696, + "column": 29 + }, + "identifierName": "e" + }, + "name": "e" + } + ] + } } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 + ], + "directives": [] } }, - "computed": true - }, - "alternate": { - "type": "NullLiteral", - "start": 21641, - "end": 21645, - "loc": { - "start": { - "line": 609, - "column": 84 - }, - "end": { - "line": 609, - "column": 88 - } - } + "guardedHandlers": [], + "finalizer": null } - } + ], + "directives": [] } } ], @@ -39278,19 +44704,37 @@ } ], "directives": [] - } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel.\n *\n * @param node glTF node\n * @param ctx Parsing context\n * @param matrix Matrix for the XKTMeshes\n * @param meshIds returns IDs of the new XKTMeshes\n ", + "start": 19852, + "end": 20119, + "loc": { + "start": { + "line": 594, + "column": 0 + }, + "end": { + "line": 601, + "column": 3 + } + } + } + ] }, { "type": "ExportNamedDeclaration", - "start": 21656, - "end": 21687, + "start": 24572, + "end": 24603, "loc": { "start": { - "line": 613, + "line": 702, "column": 0 }, "end": { - "line": 613, + "line": 702, "column": 31 } }, @@ -39298,29 +44742,29 @@ "specifiers": [ { "type": "ExportSpecifier", - "start": 21664, - "end": 21685, + "start": 24580, + "end": 24601, "loc": { "start": { - "line": 613, + "line": 702, "column": 8 }, "end": { - "line": 613, + "line": 702, "column": 29 } }, "local": { "type": "Identifier", - "start": 21664, - "end": 21685, + "start": 24580, + "end": 24601, "loc": { "start": { - "line": 613, + "line": 702, "column": 8 }, "end": { - "line": 613, + "line": 702, "column": 29 }, "identifierName": "parseGLTFIntoXKTModel" @@ -39329,15 +44773,15 @@ }, "exported": { "type": "Identifier", - "start": 21664, - "end": 21685, + "start": 24580, + "end": 24601, "loc": { "start": { - "line": 613, + "line": 702, "column": 8 }, "end": { - "line": 613, + "line": 702, "column": 29 }, "identifierName": "parseGLTFIntoXKTModel" @@ -39350,22 +44794,22 @@ }, { "type": "ExportNamedDeclaration", - "start": 21656, - "end": 21687, + "start": 24572, + "end": 24603, "loc": { "start": { - "line": 613, + "line": 702, "column": 0 }, "end": { - "line": 613, + "line": 702, "column": 31 } }, "declaration": { "type": "FunctionDeclaration", "start": 2328, - "end": 4786, + "end": 4812, "loc": { "start": { "line": 60, @@ -40007,7 +45451,7 @@ "body": { "type": "BlockStatement", "start": 2828, - "end": 4786, + "end": 4812, "loc": { "start": { "line": 70, @@ -40022,7 +45466,7 @@ { "type": "ReturnStatement", "start": 2835, - "end": 4784, + "end": 4810, "loc": { "start": { "line": 72, @@ -40036,7 +45480,7 @@ "argument": { "type": "NewExpression", "start": 2842, - "end": 4783, + "end": 4809, "loc": { "start": { "line": 72, @@ -40068,7 +45512,7 @@ { "type": "FunctionExpression", "start": 2854, - "end": 4782, + "end": 4808, "loc": { "start": { "line": 72, @@ -40122,7 +45566,7 @@ "body": { "type": "BlockStatement", "start": 2881, - "end": 4782, + "end": 4808, "loc": { "start": { "line": 72, @@ -41661,7 +47105,7 @@ { "type": "ExpressionStatement", "start": 3467, - "end": 4776, + "end": 4802, "loc": { "start": { "line": 97, @@ -41675,7 +47119,7 @@ "expression": { "type": "CallExpression", "start": 3467, - "end": 4775, + "end": 4801, "loc": { "start": { "line": 97, @@ -41863,7 +47307,7 @@ { "type": "ArrowFunctionExpression", "start": 3529, - "end": 4692, + "end": 4718, "loc": { "start": { "line": 99, @@ -41900,7 +47344,7 @@ "body": { "type": "BlockStatement", "start": 3543, - "end": 4692, + "end": 4718, "loc": { "start": { "line": 99, @@ -41915,7 +47359,7 @@ { "type": "VariableDeclaration", "start": 3558, - "end": 4259, + "end": 4285, "loc": { "start": { "line": 101, @@ -41930,7 +47374,7 @@ { "type": "VariableDeclarator", "start": 3564, - "end": 4258, + "end": 4284, "loc": { "start": { "line": 101, @@ -41961,7 +47405,7 @@ "init": { "type": "ObjectExpression", "start": 3570, - "end": 4258, + "end": 4284, "loc": { "start": { "line": 101, @@ -42031,7 +47475,7 @@ { "type": "ObjectProperty", "start": 3614, - "end": 3649, + "end": 3635, "loc": { "start": { "line": 103, @@ -42039,7 +47483,7 @@ }, "end": { "line": 103, - "column": 51 + "column": 37 } }, "method": false, @@ -42048,7 +47492,7 @@ "key": { "type": "Identifier", "start": 3614, - "end": 3634, + "end": 3628, "loc": { "start": { "line": 103, @@ -42056,34 +47500,33 @@ }, "end": { "line": 103, - "column": 36 + "column": 30 }, - "identifierName": "metaModelCorrections" + "identifierName": "nodesHaveNames" }, - "name": "metaModelCorrections" + "name": "nodesHaveNames" }, "value": { - "type": "Identifier", - "start": 3636, - "end": 3649, + "type": "BooleanLiteral", + "start": 3630, + "end": 3635, "loc": { "start": { "line": 103, - "column": 38 + "column": 32 }, "end": { "line": 103, - "column": 51 - }, - "identifierName": "metaModelData" + "column": 37 + } }, - "name": "metaModelData" + "value": false } }, { "type": "ObjectProperty", - "start": 3667, - "end": 3844, + "start": 3693, + "end": 3870, "loc": { "start": { "line": 104, @@ -42099,8 +47542,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3667, - "end": 3680, + "start": 3693, + "end": 3706, "loc": { "start": { "line": 104, @@ -42112,12 +47555,13 @@ }, "identifierName": "getAttachment" }, - "name": "getAttachment" + "name": "getAttachment", + "leadingComments": null }, "value": { "type": "LogicalExpression", - "start": 3682, - "end": 3844, + "start": 3708, + "end": 3870, "loc": { "start": { "line": 104, @@ -42130,8 +47574,8 @@ }, "left": { "type": "Identifier", - "start": 3682, - "end": 3695, + "start": 3708, + "end": 3721, "loc": { "start": { "line": 104, @@ -42148,8 +47592,8 @@ "operator": "||", "right": { "type": "ArrowFunctionExpression", - "start": 3700, - "end": 3843, + "start": 3726, + "end": 3869, "loc": { "start": { "line": 104, @@ -42167,8 +47611,8 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3706, - "end": 3843, + "start": 3732, + "end": 3869, "loc": { "start": { "line": 104, @@ -42182,8 +47626,8 @@ "body": [ { "type": "ThrowStatement", - "start": 3728, - "end": 3825, + "start": 3754, + "end": 3851, "loc": { "start": { "line": 105, @@ -42196,8 +47640,8 @@ }, "argument": { "type": "NewExpression", - "start": 3734, - "end": 3825, + "start": 3760, + "end": 3851, "loc": { "start": { "line": 105, @@ -42210,8 +47654,8 @@ }, "callee": { "type": "Identifier", - "start": 3738, - "end": 3743, + "start": 3764, + "end": 3769, "loc": { "start": { "line": 105, @@ -42228,8 +47672,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 3744, - "end": 3824, + "start": 3770, + "end": 3850, "loc": { "start": { "line": 105, @@ -42254,15 +47698,33 @@ }, "extra": { "parenthesized": true, - "parenStart": 3699 + "parenStart": 3725 } } - } + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " determined in testIfNodesHaveNames()", + "start": 3637, + "end": 3676, + "loc": { + "start": { + "line": 103, + "column": 39 + }, + "end": { + "line": 103, + "column": 78 + } + } + } + ] }, { "type": "ObjectProperty", - "start": 3862, - "end": 3910, + "start": 3888, + "end": 3936, "loc": { "start": { "line": 107, @@ -42278,8 +47740,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3862, - "end": 3865, + "start": 3888, + "end": 3891, "loc": { "start": { "line": 107, @@ -42295,8 +47757,8 @@ }, "value": { "type": "LogicalExpression", - "start": 3868, - "end": 3909, + "start": 3894, + "end": 3935, "loc": { "start": { "line": 107, @@ -42309,8 +47771,8 @@ }, "left": { "type": "Identifier", - "start": 3868, - "end": 3871, + "start": 3894, + "end": 3897, "loc": { "start": { "line": 107, @@ -42327,8 +47789,8 @@ "operator": "||", "right": { "type": "FunctionExpression", - "start": 3875, - "end": 3909, + "start": 3901, + "end": 3935, "loc": { "start": { "line": 107, @@ -42346,8 +47808,8 @@ "params": [ { "type": "Identifier", - "start": 3885, - "end": 3888, + "start": 3911, + "end": 3914, "loc": { "start": { "line": 107, @@ -42364,8 +47826,8 @@ ], "body": { "type": "BlockStatement", - "start": 3890, - "end": 3909, + "start": 3916, + "end": 3935, "loc": { "start": { "line": 107, @@ -42382,14 +47844,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 3867 + "parenStart": 3893 } } }, { "type": "ObjectProperty", - "start": 3928, - "end": 4009, + "start": 3954, + "end": 4035, "loc": { "start": { "line": 109, @@ -42405,8 +47867,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 3928, - "end": 3933, + "start": 3954, + "end": 3959, "loc": { "start": { "line": 109, @@ -42422,8 +47884,8 @@ }, "value": { "type": "FunctionExpression", - "start": 3935, - "end": 4009, + "start": 3961, + "end": 4035, "loc": { "start": { "line": 109, @@ -42441,8 +47903,8 @@ "params": [ { "type": "Identifier", - "start": 3945, - "end": 3948, + "start": 3971, + "end": 3974, "loc": { "start": { "line": 109, @@ -42459,8 +47921,8 @@ ], "body": { "type": "BlockStatement", - "start": 3950, - "end": 4009, + "start": 3976, + "end": 4035, "loc": { "start": { "line": 109, @@ -42474,8 +47936,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 3972, - "end": 3991, + "start": 3998, + "end": 4017, "loc": { "start": { "line": 110, @@ -42488,8 +47950,8 @@ }, "expression": { "type": "CallExpression", - "start": 3972, - "end": 3990, + "start": 3998, + "end": 4016, "loc": { "start": { "line": 110, @@ -42502,8 +47964,8 @@ }, "callee": { "type": "MemberExpression", - "start": 3972, - "end": 3985, + "start": 3998, + "end": 4011, "loc": { "start": { "line": 110, @@ -42516,8 +47978,8 @@ }, "object": { "type": "Identifier", - "start": 3972, - "end": 3979, + "start": 3998, + "end": 4005, "loc": { "start": { "line": 110, @@ -42533,8 +47995,8 @@ }, "property": { "type": "Identifier", - "start": 3980, - "end": 3985, + "start": 4006, + "end": 4011, "loc": { "start": { "line": 110, @@ -42553,8 +48015,8 @@ "arguments": [ { "type": "Identifier", - "start": 3986, - "end": 3989, + "start": 4012, + "end": 4015, "loc": { "start": { "line": 110, @@ -42578,8 +48040,8 @@ }, { "type": "ObjectProperty", - "start": 4027, - "end": 4035, + "start": 4053, + "end": 4061, "loc": { "start": { "line": 112, @@ -42595,8 +48057,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4027, - "end": 4035, + "start": 4053, + "end": 4061, "loc": { "start": { "line": 112, @@ -42612,8 +48074,8 @@ }, "value": { "type": "Identifier", - "start": 4027, - "end": 4035, + "start": 4053, + "end": 4061, "loc": { "start": { "line": 112, @@ -42633,8 +48095,8 @@ }, { "type": "ObjectProperty", - "start": 4053, - "end": 4095, + "start": 4079, + "end": 4121, "loc": { "start": { "line": 113, @@ -42650,8 +48112,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4053, - "end": 4067, + "start": 4079, + "end": 4093, "loc": { "start": { "line": 113, @@ -42667,8 +48129,8 @@ }, "value": { "type": "BinaryExpression", - "start": 4070, - "end": 4094, + "start": 4096, + "end": 4120, "loc": { "start": { "line": 113, @@ -42681,8 +48143,8 @@ }, "left": { "type": "Identifier", - "start": 4070, - "end": 4084, + "start": 4096, + "end": 4110, "loc": { "start": { "line": 113, @@ -42699,8 +48161,8 @@ "operator": "!==", "right": { "type": "BooleanLiteral", - "start": 4089, - "end": 4094, + "start": 4115, + "end": 4120, "loc": { "start": { "line": 113, @@ -42715,14 +48177,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 4069 + "parenStart": 4095 } } }, { "type": "ObjectProperty", - "start": 4113, - "end": 4157, + "start": 4139, + "end": 4183, "loc": { "start": { "line": 114, @@ -42738,8 +48200,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4113, - "end": 4128, + "start": 4139, + "end": 4154, "loc": { "start": { "line": 114, @@ -42755,8 +48217,8 @@ }, "value": { "type": "BinaryExpression", - "start": 4131, - "end": 4156, + "start": 4157, + "end": 4182, "loc": { "start": { "line": 114, @@ -42769,8 +48231,8 @@ }, "left": { "type": "Identifier", - "start": 4131, - "end": 4146, + "start": 4157, + "end": 4172, "loc": { "start": { "line": 114, @@ -42787,8 +48249,8 @@ "operator": "!==", "right": { "type": "BooleanLiteral", - "start": 4151, - "end": 4156, + "start": 4177, + "end": 4182, "loc": { "start": { "line": 114, @@ -42803,14 +48265,14 @@ }, "extra": { "parenthesized": true, - "parenStart": 4130 + "parenStart": 4156 } } }, { "type": "ObjectProperty", - "start": 4175, - "end": 4194, + "start": 4201, + "end": 4220, "loc": { "start": { "line": 115, @@ -42826,8 +48288,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4175, - "end": 4190, + "start": 4201, + "end": 4216, "loc": { "start": { "line": 115, @@ -42843,8 +48305,8 @@ }, "value": { "type": "ObjectExpression", - "start": 4192, - "end": 4194, + "start": 4218, + "end": 4220, "loc": { "start": { "line": 115, @@ -42860,8 +48322,8 @@ }, { "type": "ObjectProperty", - "start": 4212, - "end": 4221, + "start": 4238, + "end": 4247, "loc": { "start": { "line": 116, @@ -42877,8 +48339,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4212, - "end": 4218, + "start": 4238, + "end": 4244, "loc": { "start": { "line": 116, @@ -42894,8 +48356,8 @@ }, "value": { "type": "NumericLiteral", - "start": 4220, - "end": 4221, + "start": 4246, + "end": 4247, "loc": { "start": { "line": 116, @@ -42915,8 +48377,8 @@ }, { "type": "ObjectProperty", - "start": 4239, - "end": 4244, + "start": 4265, + "end": 4270, "loc": { "start": { "line": 117, @@ -42932,8 +48394,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 4239, - "end": 4244, + "start": 4265, + "end": 4270, "loc": { "start": { "line": 117, @@ -42949,8 +48411,8 @@ }, "value": { "type": "Identifier", - "start": 4239, - "end": 4244, + "start": 4265, + "end": 4270, "loc": { "start": { "line": 117, @@ -42976,8 +48438,8 @@ }, { "type": "ExpressionStatement", - "start": 4273, - "end": 4320, + "start": 4299, + "end": 4346, "loc": { "start": { "line": 120, @@ -42990,8 +48452,8 @@ }, "expression": { "type": "CallExpression", - "start": 4273, - "end": 4319, + "start": 4299, + "end": 4345, "loc": { "start": { "line": 120, @@ -43004,8 +48466,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4273, - "end": 4280, + "start": 4299, + "end": 4306, "loc": { "start": { "line": 120, @@ -43018,8 +48480,8 @@ }, "object": { "type": "Identifier", - "start": 4273, - "end": 4276, + "start": 4299, + "end": 4302, "loc": { "start": { "line": 120, @@ -43035,8 +48497,8 @@ }, "property": { "type": "Identifier", - "start": 4277, - "end": 4280, + "start": 4303, + "end": 4306, "loc": { "start": { "line": 120, @@ -43055,8 +48517,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 4281, - "end": 4318, + "start": 4307, + "end": 4344, "loc": { "start": { "line": 120, @@ -43078,8 +48540,8 @@ }, { "type": "ExpressionStatement", - "start": 4333, - "end": 4408, + "start": 4359, + "end": 4434, "loc": { "start": { "line": 121, @@ -43092,8 +48554,8 @@ }, "expression": { "type": "CallExpression", - "start": 4333, - "end": 4407, + "start": 4359, + "end": 4433, "loc": { "start": { "line": 121, @@ -43106,8 +48568,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4333, - "end": 4340, + "start": 4359, + "end": 4366, "loc": { "start": { "line": 121, @@ -43120,8 +48582,8 @@ }, "object": { "type": "Identifier", - "start": 4333, - "end": 4336, + "start": 4359, + "end": 4362, "loc": { "start": { "line": 121, @@ -43137,8 +48599,8 @@ }, "property": { "type": "Identifier", - "start": 4337, - "end": 4340, + "start": 4363, + "end": 4366, "loc": { "start": { "line": 121, @@ -43157,8 +48619,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 4341, - "end": 4406, + "start": 4367, + "end": 4432, "loc": { "start": { "line": 121, @@ -43172,8 +48634,8 @@ "expressions": [ { "type": "ConditionalExpression", - "start": 4361, - "end": 4404, + "start": 4387, + "end": 4430, "loc": { "start": { "line": 121, @@ -43186,8 +48648,8 @@ }, "test": { "type": "MemberExpression", - "start": 4361, - "end": 4379, + "start": 4387, + "end": 4405, "loc": { "start": { "line": 121, @@ -43200,8 +48662,8 @@ }, "object": { "type": "Identifier", - "start": 4361, - "end": 4364, + "start": 4387, + "end": 4390, "loc": { "start": { "line": 121, @@ -43217,8 +48679,8 @@ }, "property": { "type": "Identifier", - "start": 4365, - "end": 4379, + "start": 4391, + "end": 4405, "loc": { "start": { "line": 121, @@ -43236,8 +48698,8 @@ }, "consequent": { "type": "StringLiteral", - "start": 4382, - "end": 4391, + "start": 4408, + "end": 4417, "loc": { "start": { "line": 121, @@ -43256,8 +48718,8 @@ }, "alternate": { "type": "StringLiteral", - "start": 4394, - "end": 4404, + "start": 4420, + "end": 4430, "loc": { "start": { "line": 121, @@ -43279,8 +48741,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4342, - "end": 4359, + "start": 4368, + "end": 4385, "loc": { "start": { "line": 121, @@ -43299,8 +48761,8 @@ }, { "type": "TemplateElement", - "start": 4405, - "end": 4405, + "start": 4431, + "end": 4431, "loc": { "start": { "line": 121, @@ -43324,8 +48786,8 @@ }, { "type": "ExpressionStatement", - "start": 4421, - "end": 4498, + "start": 4447, + "end": 4524, "loc": { "start": { "line": 122, @@ -43338,8 +48800,8 @@ }, "expression": { "type": "CallExpression", - "start": 4421, - "end": 4497, + "start": 4447, + "end": 4523, "loc": { "start": { "line": 122, @@ -43352,8 +48814,8 @@ }, "callee": { "type": "MemberExpression", - "start": 4421, - "end": 4428, + "start": 4447, + "end": 4454, "loc": { "start": { "line": 122, @@ -43366,8 +48828,8 @@ }, "object": { "type": "Identifier", - "start": 4421, - "end": 4424, + "start": 4447, + "end": 4450, "loc": { "start": { "line": 122, @@ -43383,8 +48845,8 @@ }, "property": { "type": "Identifier", - "start": 4425, - "end": 4428, + "start": 4451, + "end": 4454, "loc": { "start": { "line": 122, @@ -43403,8 +48865,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 4429, - "end": 4496, + "start": 4455, + "end": 4522, "loc": { "start": { "line": 122, @@ -43418,8 +48880,8 @@ "expressions": [ { "type": "ConditionalExpression", - "start": 4450, - "end": 4494, + "start": 4476, + "end": 4520, "loc": { "start": { "line": 122, @@ -43432,8 +48894,8 @@ }, "test": { "type": "MemberExpression", - "start": 4450, - "end": 4469, + "start": 4476, + "end": 4495, "loc": { "start": { "line": 122, @@ -43446,8 +48908,8 @@ }, "object": { "type": "Identifier", - "start": 4450, - "end": 4453, + "start": 4476, + "end": 4479, "loc": { "start": { "line": 122, @@ -43463,8 +48925,8 @@ }, "property": { "type": "Identifier", - "start": 4454, - "end": 4469, + "start": 4480, + "end": 4495, "loc": { "start": { "line": 122, @@ -43482,8 +48944,8 @@ }, "consequent": { "type": "StringLiteral", - "start": 4472, - "end": 4481, + "start": 4498, + "end": 4507, "loc": { "start": { "line": 122, @@ -43502,8 +48964,8 @@ }, "alternate": { "type": "StringLiteral", - "start": 4484, - "end": 4494, + "start": 4510, + "end": 4520, "loc": { "start": { "line": 122, @@ -43525,8 +48987,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4430, - "end": 4448, + "start": 4456, + "end": 4474, "loc": { "start": { "line": 122, @@ -43545,8 +49007,8 @@ }, { "type": "TemplateElement", - "start": 4495, - "end": 4495, + "start": 4521, + "end": 4521, "loc": { "start": { "line": 122, @@ -43570,8 +49032,8 @@ }, { "type": "IfStatement", - "start": 4512, - "end": 4588, + "start": 4538, + "end": 4614, "loc": { "start": { "line": 124, @@ -43584,8 +49046,8 @@ }, "test": { "type": "MemberExpression", - "start": 4516, - "end": 4535, + "start": 4542, + "end": 4561, "loc": { "start": { "line": 124, @@ -43598,8 +49060,8 @@ }, "object": { "type": "Identifier", - "start": 4516, - "end": 4519, + "start": 4542, + "end": 4545, "loc": { "start": { "line": 124, @@ -43615,8 +49077,8 @@ }, "property": { "type": "Identifier", - "start": 4520, - "end": 4535, + "start": 4546, + "end": 4561, "loc": { "start": { "line": 124, @@ -43634,8 +49096,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 4537, - "end": 4588, + "start": 4563, + "end": 4614, "loc": { "start": { "line": 124, @@ -43649,8 +49111,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 4555, - "end": 4574, + "start": 4581, + "end": 4600, "loc": { "start": { "line": 125, @@ -43663,8 +49125,8 @@ }, "expression": { "type": "CallExpression", - "start": 4555, - "end": 4573, + "start": 4581, + "end": 4599, "loc": { "start": { "line": 125, @@ -43677,8 +49139,8 @@ }, "callee": { "type": "Identifier", - "start": 4555, - "end": 4568, + "start": 4581, + "end": 4594, "loc": { "start": { "line": 125, @@ -43695,8 +49157,8 @@ "arguments": [ { "type": "Identifier", - "start": 4569, - "end": 4572, + "start": 4595, + "end": 4598, "loc": { "start": { "line": 125, @@ -43720,8 +49182,8 @@ }, { "type": "ExpressionStatement", - "start": 4601, - "end": 4621, + "start": 4627, + "end": 4647, "loc": { "start": { "line": 127, @@ -43734,8 +49196,8 @@ }, "expression": { "type": "CallExpression", - "start": 4601, - "end": 4620, + "start": 4627, + "end": 4646, "loc": { "start": { "line": 127, @@ -43748,8 +49210,8 @@ }, "callee": { "type": "Identifier", - "start": 4601, - "end": 4615, + "start": 4627, + "end": 4641, "loc": { "start": { "line": 127, @@ -43766,8 +49228,8 @@ "arguments": [ { "type": "Identifier", - "start": 4616, - "end": 4619, + "start": 4642, + "end": 4645, "loc": { "start": { "line": 127, @@ -43786,8 +49248,8 @@ }, { "type": "ExpressionStatement", - "start": 4634, - "end": 4657, + "start": 4660, + "end": 4683, "loc": { "start": { "line": 128, @@ -43800,8 +49262,8 @@ }, "expression": { "type": "CallExpression", - "start": 4634, - "end": 4656, + "start": 4660, + "end": 4682, "loc": { "start": { "line": 128, @@ -43814,8 +49276,8 @@ }, "callee": { "type": "Identifier", - "start": 4634, - "end": 4651, + "start": 4660, + "end": 4677, "loc": { "start": { "line": 128, @@ -43832,8 +49294,8 @@ "arguments": [ { "type": "Identifier", - "start": 4652, - "end": 4655, + "start": 4678, + "end": 4681, "loc": { "start": { "line": 128, @@ -43852,8 +49314,8 @@ }, { "type": "ExpressionStatement", - "start": 4671, - "end": 4681, + "start": 4697, + "end": 4707, "loc": { "start": { "line": 130, @@ -43866,8 +49328,8 @@ }, "expression": { "type": "CallExpression", - "start": 4671, - "end": 4680, + "start": 4697, + "end": 4706, "loc": { "start": { "line": 130, @@ -43880,8 +49342,8 @@ }, "callee": { "type": "Identifier", - "start": 4671, - "end": 4678, + "start": 4697, + "end": 4704, "loc": { "start": { "line": 130, @@ -43904,8 +49366,8 @@ }, { "type": "ArrowFunctionExpression", - "start": 4694, - "end": 4774, + "start": 4720, + "end": 4800, "loc": { "start": { "line": 132, @@ -43923,8 +49385,8 @@ "params": [ { "type": "Identifier", - "start": 4695, - "end": 4701, + "start": 4721, + "end": 4727, "loc": { "start": { "line": 132, @@ -43941,8 +49403,8 @@ ], "body": { "type": "BlockStatement", - "start": 4706, - "end": 4774, + "start": 4732, + "end": 4800, "loc": { "start": { "line": 132, @@ -43956,8 +49418,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 4720, - "end": 4764, + "start": 4746, + "end": 4790, "loc": { "start": { "line": 133, @@ -43970,8 +49432,8 @@ }, "expression": { "type": "CallExpression", - "start": 4720, - "end": 4763, + "start": 4746, + "end": 4789, "loc": { "start": { "line": 133, @@ -43984,8 +49446,8 @@ }, "callee": { "type": "Identifier", - "start": 4720, - "end": 4726, + "start": 4746, + "end": 4752, "loc": { "start": { "line": 133, @@ -44002,8 +49464,8 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 4727, - "end": 4762, + "start": 4753, + "end": 4788, "loc": { "start": { "line": 133, @@ -44017,8 +49479,8 @@ "expressions": [ { "type": "Identifier", - "start": 4754, - "end": 4760, + "start": 4780, + "end": 4786, "loc": { "start": { "line": 133, @@ -44036,8 +49498,8 @@ "quasis": [ { "type": "TemplateElement", - "start": 4728, - "end": 4752, + "start": 4754, + "end": 4778, "loc": { "start": { "line": 133, @@ -44056,8 +49518,8 @@ }, { "type": "TemplateElement", - "start": 4761, - "end": 4761, + "start": 4787, + "end": 4787, "loc": { "start": { "line": 133, @@ -44116,532 +49578,13291 @@ ], "trailingComments": [] }, - "specifiers": null, - "source": null, - "leadingComments": null + "specifiers": null, + "source": null, + "leadingComments": null + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * @desc Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n *\n * * Supports ````.glb```` and textures\n * * For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {ArrayBuffer} params.data The glTF.\n * @param {String} [params.baseUri] The base URI used to load this glTF, if any. For resolving relative uris to linked resources.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeTextures=true] Whether to parse textures.\n * @param {Boolean} [params.includeNormals=true] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the glTF.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when glTF has been parsed.\n ", + "start": 440, + "end": 2327, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 59, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " determined in testIfNodesHaveNames()", + "start": 3637, + "end": 3676, + "loc": { + "start": { + "line": 103, + "column": 39 + }, + "end": { + "line": 103, + "column": 78 + } + } + }, + { + "type": "CommentLine", + "value": " encoding: \"sRGB\"", + "start": 7431, + "end": 7454, + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;", + "start": 9479, + "end": 9575, + "loc": { + "start": { + "line": 288, + "column": 16 + }, + "end": { + "line": 288, + "column": 112 + } + } + }, + { + "type": "CommentLine", + "value": " Substitute RGBA for material, to use fast flat shading instead", + "start": 10457, + "end": 10522, + "loc": { + "start": { + "line": 309, + "column": 50 + }, + "end": { + "line": 309, + "column": 115 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Parses a glTF node hierarchy that is known to NOT contain \"name\" attributes on the nodes.\n * Create a XKTMesh for each mesh primitive, and a single XKTEntity.\n ", + "start": 15094, + "end": 15263, + "loc": { + "start": { + "line": 448, + "column": 0 + }, + "end": { + "line": 451, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Parses a glTF node hierarchy that is known to contain \"name\" attributes on the nodes.\n *\n * Create a XKTMesh for each mesh primitive, and XKTEntity for each named node.\n *\n * Following a depth-first traversal, each XKTEntity is created on post-visit of each named node,\n * and gets all the XKTMeshes created since the last XKTEntity created.\n ", + "start": 16297, + "end": 16649, + "loc": { + "start": { + "line": 487, + "column": 0 + }, + "end": { + "line": 494, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " For when there are no nodes with names", + "start": 18077, + "end": 18118, + "loc": { + "start": { + "line": 531, + "column": 32 + }, + "end": { + "line": 531, + "column": 73 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Parses transform at the given glTF node.\n *\n * @param node the glTF node\n * @param matrix Transfor matrix from parent nodes\n * @returns {*} Transform matrix for the node\n ", + "start": 18607, + "end": 18787, + "loc": { + "start": { + "line": 547, + "column": 0 + }, + "end": { + "line": 553, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel.\n *\n * @param node glTF node\n * @param ctx Parsing context\n * @param matrix Matrix for the XKTMeshes\n * @param meshIds returns IDs of the new XKTMeshes\n ", + "start": 19852, + "end": 20119, + "loc": { + "start": { + "line": 594, + "column": 0 + }, + "end": { + "line": 601, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " POINTS", + "start": 20792, + "end": 20801, + "loc": { + "start": { + "line": 621, + "column": 32 + }, + "end": { + "line": 621, + "column": 41 + } + } + }, + { + "type": "CommentLine", + "value": " LINES", + "start": 20935, + "end": 20943, + "loc": { + "start": { + "line": 624, + "column": 32 + }, + "end": { + "line": 624, + "column": 40 + } + } + }, + { + "type": "CommentLine", + "value": " LINE_LOOP", + "start": 21076, + "end": 21088, + "loc": { + "start": { + "line": 627, + "column": 32 + }, + "end": { + "line": 627, + "column": 44 + } + } + }, + { + "type": "CommentLine", + "value": " LINE_STRIP", + "start": 21225, + "end": 21238, + "loc": { + "start": { + "line": 630, + "column": 32 + }, + "end": { + "line": 630, + "column": 45 + } + } + }, + { + "type": "CommentLine", + "value": " TRIANGLES", + "start": 21376, + "end": 21388, + "loc": { + "start": { + "line": 633, + "column": 32 + }, + "end": { + "line": 633, + "column": 44 + } + } + }, + { + "type": "CommentLine", + "value": " TRIANGLE_STRIP", + "start": 21525, + "end": 21542, + "loc": { + "start": { + "line": 636, + "column": 32 + }, + "end": { + "line": 636, + "column": 49 + } + } + }, + { + "type": "CommentLine", + "value": " TRIANGLE_FAN", + "start": 21684, + "end": 21699, + "loc": { + "start": { + "line": 639, + "column": 32 + }, + "end": { + "line": 639, + "column": 47 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 0, + "end": 6, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 7, + "end": 8, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "utils", + "start": 8, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 8 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 13, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 13 + }, + "end": { + "line": 1, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 15, + "end": 19, + "loc": { + "start": { + "line": 1, + "column": 15 + }, + "end": { + "line": 1, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../XKTModel/lib/utils.js", + "start": 20, + "end": 46, + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 46, + "end": 47, + "loc": { + "start": { + "line": 1, + "column": 46 + }, + "end": { + "line": 1, + "column": 47 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 48, + "end": 54, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 55, + "end": 56, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "math", + "start": 56, + "end": 60, + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 12 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 60, + "end": 61, + "loc": { + "start": { + "line": 2, + "column": 12 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 62, + "end": 66, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../lib/math.js", + "start": 67, + "end": 83, + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 83, + "end": 84, + "loc": { + "start": { + "line": 2, + "column": 35 + }, + "end": { + "line": 2, + "column": 36 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 86, + "end": 92, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 93, + "end": 94, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parse", + "start": 94, + "end": 99, + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 99, + "end": 100, + "loc": { + "start": { + "line": 4, + "column": 13 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 101, + "end": 105, + "loc": { + "start": { + "line": 4, + "column": 15 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "@loaders.gl/core", + "start": 106, + "end": 124, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 124, + "end": 125, + "loc": { + "start": { + "line": 4, + "column": 38 + }, + "end": { + "line": 4, + "column": 39 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 126, + "end": 132, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 133, + "end": 134, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "GLTFLoader", + "start": 134, + "end": 144, + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 144, + "end": 145, + "loc": { + "start": { + "line": 5, + "column": 18 + }, + "end": { + "line": 5, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 146, + "end": 150, + "loc": { + "start": { + "line": 5, + "column": 20 + }, + "end": { + "line": 5, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "@loaders.gl/gltf", + "start": 151, + "end": 169, + "loc": { + "start": { + "line": 5, + "column": 25 + }, + "end": { + "line": 5, + "column": 43 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 169, + "end": 170, + "loc": { + "start": { + "line": 5, + "column": 43 + }, + "end": { + "line": 5, + "column": 44 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 171, + "end": 177, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 178, + "end": 179, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ClampToEdgeWrapping", + "start": 184, + "end": 203, + "loc": { + "start": { + "line": 7, + "column": 4 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 203, + "end": 204, + "loc": { + "start": { + "line": 7, + "column": 23 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LinearFilter", + "start": 209, + "end": 221, + "loc": { + "start": { + "line": 8, + "column": 4 + }, + "end": { + "line": 8, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 221, + "end": 222, + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LinearMipMapLinearFilter", + "start": 227, + "end": 251, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 9, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 251, + "end": 252, + "loc": { + "start": { + "line": 9, + "column": 28 + }, + "end": { + "line": 9, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LinearMipMapNearestFilter", + "start": 257, + "end": 282, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 282, + "end": 283, + "loc": { + "start": { + "line": 10, + "column": 29 + }, + "end": { + "line": 10, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MirroredRepeatWrapping", + "start": 288, + "end": 310, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 310, + "end": 311, + "loc": { + "start": { + "line": 11, + "column": 26 + }, + "end": { + "line": 11, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NearestFilter", + "start": 316, + "end": 329, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 12, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 329, + "end": 330, + "loc": { + "start": { + "line": 12, + "column": 17 + }, + "end": { + "line": 12, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NearestMipMapLinearFilter", + "start": 335, + "end": 360, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 360, + "end": 361, + "loc": { + "start": { + "line": 13, + "column": 29 + }, + "end": { + "line": 13, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NearestMipMapNearestFilter", + "start": 366, + "end": 392, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 392, + "end": 393, + "loc": { + "start": { + "line": 14, + "column": 30 + }, + "end": { + "line": 14, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RepeatWrapping", + "start": 398, + "end": 412, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 413, + "end": 414, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 1 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 415, + "end": 419, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../constants.js", + "start": 420, + "end": 437, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 16, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 437, + "end": 438, + "loc": { + "start": { + "line": 16, + "column": 24 + }, + "end": { + "line": 16, + "column": 25 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @desc Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n *\n * * Supports ````.glb```` and textures\n * * For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {ArrayBuffer} params.data The glTF.\n * @param {String} [params.baseUri] The base URI used to load this glTF, if any. For resolving relative uris to linked resources.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeTextures=true] Whether to parse textures.\n * @param {Boolean} [params.includeNormals=true] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the glTF.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when glTF has been parsed.\n ", + "start": 440, + "end": 2327, + "loc": { + "start": { + "line": 18, + "column": 0 + }, + "end": { + "line": 59, + "column": 3 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 2328, + "end": 2336, + "loc": { + "start": { + "line": 60, + "column": 0 + }, + "end": { + "line": 60, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseGLTFIntoXKTModel", + "start": 2337, + "end": 2358, + "loc": { + "start": { + "line": 60, + "column": 9 + }, + "end": { + "line": 60, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2358, + "end": 2359, + "loc": { + "start": { + "line": 60, + "column": 30 + }, + "end": { + "line": 60, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2359, + "end": 2360, + "loc": { + "start": { + "line": 60, + "column": 31 + }, + "end": { + "line": 60, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2396, + "end": 2400, + "loc": { + "start": { + "line": 61, + "column": 35 + }, + "end": { + "line": 61, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2400, + "end": 2401, + "loc": { + "start": { + "line": 61, + "column": 39 + }, + "end": { + "line": 61, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "baseUri", + "start": 2437, + "end": 2444, + "loc": { + "start": { + "line": 62, + "column": 35 + }, + "end": { + "line": 62, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2444, + "end": 2445, + "loc": { + "start": { + "line": 62, + "column": 42 + }, + "end": { + "line": 62, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xktModel", + "start": 2481, + "end": 2489, + "loc": { + "start": { + "line": 63, + "column": 35 + }, + "end": { + "line": 63, + "column": 43 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2489, + "end": 2490, + "loc": { + "start": { + "line": 63, + "column": 43 + }, + "end": { + "line": 63, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metaModelData", + "start": 2526, + "end": 2539, + "loc": { + "start": { + "line": 64, + "column": 35 + }, + "end": { + "line": 64, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2539, + "end": 2540, + "loc": { + "start": { + "line": 64, + "column": 48 + }, + "end": { + "line": 64, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includeTextures", + "start": 2576, + "end": 2591, + "loc": { + "start": { + "line": 65, + "column": 35 + }, + "end": { + "line": 65, + "column": 50 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2592, + "end": 2593, + "loc": { + "start": { + "line": 65, + "column": 51 + }, + "end": { + "line": 65, + "column": 52 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 2594, + "end": 2598, + "loc": { + "start": { + "line": 65, + "column": 53 + }, + "end": { + "line": 65, + "column": 57 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2598, + "end": 2599, + "loc": { + "start": { + "line": 65, + "column": 57 + }, + "end": { + "line": 65, + "column": 58 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includeNormals", + "start": 2635, + "end": 2649, + "loc": { + "start": { + "line": 66, + "column": 35 + }, + "end": { + "line": 66, + "column": 49 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2650, + "end": 2651, + "loc": { + "start": { + "line": 66, + "column": 50 + }, + "end": { + "line": 66, + "column": 51 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 2652, + "end": 2656, + "loc": { + "start": { + "line": 66, + "column": 52 + }, + "end": { + "line": 66, + "column": 56 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2656, + "end": 2657, + "loc": { + "start": { + "line": 66, + "column": 56 + }, + "end": { + "line": 66, + "column": 57 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getAttachment", + "start": 2693, + "end": 2706, + "loc": { + "start": { + "line": 67, + "column": 35 + }, + "end": { + "line": 67, + "column": 48 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2706, + "end": 2707, + "loc": { + "start": { + "line": 67, + "column": 48 + }, + "end": { + "line": 67, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 2743, + "end": 2748, + "loc": { + "start": { + "line": 68, + "column": 35 + }, + "end": { + "line": 68, + "column": 40 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2749, + "end": 2750, + "loc": { + "start": { + "line": 68, + "column": 41 + }, + "end": { + "line": 68, + "column": 42 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2751, + "end": 2752, + "loc": { + "start": { + "line": 68, + "column": 43 + }, + "end": { + "line": 68, + "column": 44 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2752, + "end": 2753, + "loc": { + "start": { + "line": 68, + "column": 44 + }, + "end": { + "line": 68, + "column": 45 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2753, + "end": 2754, + "loc": { + "start": { + "line": 68, + "column": 45 + }, + "end": { + "line": 68, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 2790, + "end": 2793, + "loc": { + "start": { + "line": 69, + "column": 35 + }, + "end": { + "line": 69, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2825, + "end": 2826, + "loc": { + "start": { + "line": 70, + "column": 31 + }, + "end": { + "line": 70, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2826, + "end": 2827, + "loc": { + "start": { + "line": 70, + "column": 32 + }, + "end": { + "line": 70, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2828, + "end": 2829, + "loc": { + "start": { + "line": 70, + "column": 34 + }, + "end": { + "line": 70, + "column": 35 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2835, + "end": 2841, + "loc": { + "start": { + "line": 72, + "column": 4 + }, + "end": { + "line": 72, + "column": 10 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2842, + "end": 2845, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Promise", + "start": 2846, + "end": 2853, + "loc": { + "start": { + "line": 72, + "column": 15 + }, + "end": { + "line": 72, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2853, + "end": 2854, + "loc": { + "start": { + "line": 72, + "column": 22 + }, + "end": { + "line": 72, + "column": 23 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 2854, + "end": 2862, + "loc": { + "start": { + "line": 72, + "column": 23 + }, + "end": { + "line": 72, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2863, + "end": 2864, + "loc": { + "start": { + "line": 72, + "column": 32 + }, + "end": { + "line": 72, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resolve", + "start": 2864, + "end": 2871, + "loc": { + "start": { + "line": 72, + "column": 33 + }, + "end": { + "line": 72, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2871, + "end": 2872, + "loc": { + "start": { + "line": 72, + "column": 40 + }, + "end": { + "line": 72, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 2873, + "end": 2879, + "loc": { + "start": { + "line": 72, + "column": 42 + }, + "end": { + "line": 72, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2879, + "end": 2880, + "loc": { + "start": { + "line": 72, + "column": 48 + }, + "end": { + "line": 72, + "column": 49 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2881, + "end": 2882, + "loc": { + "start": { + "line": 72, + "column": 50 + }, + "end": { + "line": 72, + "column": 51 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2892, + "end": 2894, + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2895, + "end": 2896, + "loc": { + "start": { + "line": 74, + "column": 11 + }, + "end": { + "line": 74, + "column": 12 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 2896, + "end": 2897, + "loc": { + "start": { + "line": 74, + "column": 12 + }, + "end": { + "line": 74, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 2897, + "end": 2901, + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2901, + "end": 2902, + "loc": { + "start": { + "line": 74, + "column": 17 + }, + "end": { + "line": 74, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2903, + "end": 2904, + "loc": { + "start": { + "line": 74, + "column": 19 + }, + "end": { + "line": 74, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 2917, + "end": 2923, + "loc": { + "start": { + "line": 75, + "column": 12 + }, + "end": { + "line": 75, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2923, + "end": 2924, + "loc": { + "start": { + "line": 75, + "column": 18 + }, + "end": { + "line": 75, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Argument expected: data", + "start": 2924, + "end": 2949, + "loc": { + "start": { + "line": 75, + "column": 19 + }, + "end": { + "line": 75, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2949, + "end": 2950, + "loc": { + "start": { + "line": 75, + "column": 44 + }, + "end": { + "line": 75, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2950, + "end": 2951, + "loc": { + "start": { + "line": 75, + "column": 45 + }, + "end": { + "line": 75, + "column": 46 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 2964, + "end": 2970, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2970, + "end": 2971, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2980, + "end": 2981, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 9 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 2991, + "end": 2993, + "loc": { + "start": { + "line": 79, + "column": 8 + }, + "end": { + "line": 79, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2994, + "end": 2995, + "loc": { + "start": { + "line": 79, + "column": 11 + }, + "end": { + "line": 79, + "column": 12 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 2995, + "end": 2996, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xktModel", + "start": 2996, + "end": 3004, + "loc": { + "start": { + "line": 79, + "column": 13 + }, + "end": { + "line": 79, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3004, + "end": 3005, + "loc": { + "start": { + "line": 79, + "column": 21 + }, + "end": { + "line": 79, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3006, + "end": 3007, + "loc": { + "start": { + "line": 79, + "column": 23 + }, + "end": { + "line": 79, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 3020, + "end": 3026, + "loc": { + "start": { + "line": 80, + "column": 12 + }, + "end": { + "line": 80, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3026, + "end": 3027, + "loc": { + "start": { + "line": 80, + "column": 18 + }, + "end": { + "line": 80, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Argument expected: xktModel", + "start": 3027, + "end": 3056, + "loc": { + "start": { + "line": 80, + "column": 19 + }, + "end": { + "line": 80, + "column": 48 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3056, + "end": 3057, + "loc": { + "start": { + "line": 80, + "column": 48 + }, + "end": { + "line": 80, + "column": 49 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3057, + "end": 3058, + "loc": { + "start": { + "line": 80, + "column": 49 + }, + "end": { + "line": 80, + "column": 50 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 3071, + "end": 3077, + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3077, + "end": 3078, + "loc": { + "start": { + "line": 81, + "column": 18 + }, + "end": { + "line": 81, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3087, + "end": 3088, + "loc": { + "start": { + "line": 82, + "column": 8 + }, + "end": { + "line": 82, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3098, + "end": 3103, + "loc": { + "start": { + "line": 84, + "column": 8 + }, + "end": { + "line": 84, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3103, + "end": 3104, + "loc": { + "start": { + "line": 84, + "column": 13 + }, + "end": { + "line": 84, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sourceFormat", + "start": 3104, + "end": 3116, + "loc": { + "start": { + "line": 84, + "column": 14 + }, + "end": { + "line": 84, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3117, + "end": 3118, + "loc": { + "start": { + "line": 84, + "column": 27 + }, + "end": { + "line": 84, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "glTF", + "start": 3119, + "end": 3125, + "loc": { + "start": { + "line": 84, + "column": 29 + }, + "end": { + "line": 84, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3125, + "end": 3126, + "loc": { + "start": { + "line": 84, + "column": 35 + }, + "end": { + "line": 84, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3135, + "end": 3140, + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3140, + "end": 3141, + "loc": { + "start": { + "line": 85, + "column": 13 + }, + "end": { + "line": 85, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "schemaVersion", + "start": 3141, + "end": 3154, + "loc": { + "start": { + "line": 85, + "column": 14 + }, + "end": { + "line": 85, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3155, + "end": 3156, + "loc": { + "start": { + "line": 85, + "column": 28 + }, + "end": { + "line": 85, + "column": 29 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "2.0", + "start": 3157, + "end": 3162, + "loc": { + "start": { + "line": 85, + "column": 30 + }, + "end": { + "line": 85, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3162, + "end": 3163, + "loc": { + "start": { + "line": 85, + "column": 35 + }, + "end": { + "line": 85, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3172, + "end": 3177, + "loc": { + "start": { + "line": 86, + "column": 8 + }, + "end": { + "line": 86, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3177, + "end": 3178, + "loc": { + "start": { + "line": 86, + "column": 13 + }, + "end": { + "line": 86, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "title", + "start": 3178, + "end": 3183, + "loc": { + "start": { + "line": 86, + "column": 14 + }, + "end": { + "line": 86, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3184, + "end": 3185, + "loc": { + "start": { + "line": 86, + "column": 20 + }, + "end": { + "line": 86, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 3186, + "end": 3188, + "loc": { + "start": { + "line": 86, + "column": 22 + }, + "end": { + "line": 86, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3188, + "end": 3189, + "loc": { + "start": { + "line": 86, + "column": 24 + }, + "end": { + "line": 86, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3198, + "end": 3203, + "loc": { + "start": { + "line": 87, + "column": 8 + }, + "end": { + "line": 87, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3203, + "end": 3204, + "loc": { + "start": { + "line": 87, + "column": 13 + }, + "end": { + "line": 87, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "author", + "start": 3204, + "end": 3210, + "loc": { + "start": { + "line": 87, + "column": 14 + }, + "end": { + "line": 87, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3211, + "end": 3212, + "loc": { + "start": { + "line": 87, + "column": 21 + }, + "end": { + "line": 87, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 3213, + "end": 3215, + "loc": { + "start": { + "line": 87, + "column": 23 + }, + "end": { + "line": 87, + "column": 25 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3215, + "end": 3216, + "loc": { + "start": { + "line": 87, + "column": 25 + }, + "end": { + "line": 87, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3225, + "end": 3230, + "loc": { + "start": { + "line": 88, + "column": 8 + }, + "end": { + "line": 88, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3230, + "end": 3231, + "loc": { + "start": { + "line": 88, + "column": 13 + }, + "end": { + "line": 88, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "created", + "start": 3231, + "end": 3238, + "loc": { + "start": { + "line": 88, + "column": 14 + }, + "end": { + "line": 88, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3239, + "end": 3240, + "loc": { + "start": { + "line": 88, + "column": 22 + }, + "end": { + "line": 88, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 3241, + "end": 3243, + "loc": { + "start": { + "line": 88, + "column": 24 + }, + "end": { + "line": 88, + "column": 26 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3243, + "end": 3244, + "loc": { + "start": { + "line": 88, + "column": 26 + }, + "end": { + "line": 88, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3253, + "end": 3258, + "loc": { + "start": { + "line": 89, + "column": 8 + }, + "end": { + "line": 89, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3258, + "end": 3259, + "loc": { + "start": { + "line": 89, + "column": 13 + }, + "end": { + "line": 89, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "numTriangles", + "start": 3259, + "end": 3271, + "loc": { + "start": { + "line": 89, + "column": 14 + }, + "end": { + "line": 89, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3272, + "end": 3273, + "loc": { + "start": { + "line": 89, + "column": 27 + }, + "end": { + "line": 89, + "column": 28 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3274, + "end": 3275, + "loc": { + "start": { + "line": 89, + "column": 29 + }, + "end": { + "line": 89, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3275, + "end": 3276, + "loc": { + "start": { + "line": 89, + "column": 30 + }, + "end": { + "line": 89, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3285, + "end": 3290, + "loc": { + "start": { + "line": 90, + "column": 8 + }, + "end": { + "line": 90, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3290, + "end": 3291, + "loc": { + "start": { + "line": 90, + "column": 13 + }, + "end": { + "line": 90, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "numVertices", + "start": 3291, + "end": 3302, + "loc": { + "start": { + "line": 90, + "column": 14 + }, + "end": { + "line": 90, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3303, + "end": 3304, + "loc": { + "start": { + "line": 90, + "column": 26 + }, + "end": { + "line": 90, + "column": 27 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3305, + "end": 3306, + "loc": { + "start": { + "line": 90, + "column": 28 + }, + "end": { + "line": 90, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3306, + "end": 3307, + "loc": { + "start": { + "line": 90, + "column": 29 + }, + "end": { + "line": 90, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3316, + "end": 3321, + "loc": { + "start": { + "line": 91, + "column": 8 + }, + "end": { + "line": 91, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3321, + "end": 3322, + "loc": { + "start": { + "line": 91, + "column": 13 + }, + "end": { + "line": 91, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "numNormals", + "start": 3322, + "end": 3332, + "loc": { + "start": { + "line": 91, + "column": 14 + }, + "end": { + "line": 91, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3333, + "end": 3334, + "loc": { + "start": { + "line": 91, + "column": 25 + }, + "end": { + "line": 91, + "column": 26 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3335, + "end": 3336, + "loc": { + "start": { + "line": 91, + "column": 27 + }, + "end": { + "line": 91, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3336, + "end": 3337, + "loc": { + "start": { + "line": 91, + "column": 28 + }, + "end": { + "line": 91, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3346, + "end": 3351, + "loc": { + "start": { + "line": 92, + "column": 8 + }, + "end": { + "line": 92, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3351, + "end": 3352, + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "numUVs", + "start": 3352, + "end": 3358, + "loc": { + "start": { + "line": 92, + "column": 14 + }, + "end": { + "line": 92, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3359, + "end": 3360, + "loc": { + "start": { + "line": 92, + "column": 21 + }, + "end": { + "line": 92, + "column": 22 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3361, + "end": 3362, + "loc": { + "start": { + "line": 92, + "column": 23 + }, + "end": { + "line": 92, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3362, + "end": 3363, + "loc": { + "start": { + "line": 92, + "column": 24 + }, + "end": { + "line": 92, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3372, + "end": 3377, + "loc": { + "start": { + "line": 93, + "column": 8 + }, + "end": { + "line": 93, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3377, + "end": 3378, + "loc": { + "start": { + "line": 93, + "column": 13 + }, + "end": { + "line": 93, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "numTextures", + "start": 3378, + "end": 3389, + "loc": { + "start": { + "line": 93, + "column": 14 + }, + "end": { + "line": 93, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3390, + "end": 3391, + "loc": { + "start": { + "line": 93, + "column": 26 + }, + "end": { + "line": 93, + "column": 27 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3392, + "end": 3393, + "loc": { + "start": { + "line": 93, + "column": 28 + }, + "end": { + "line": 93, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3393, + "end": 3394, + "loc": { + "start": { + "line": 93, + "column": 29 + }, + "end": { + "line": 93, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3403, + "end": 3408, + "loc": { + "start": { + "line": 94, + "column": 8 + }, + "end": { + "line": 94, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3408, + "end": 3409, + "loc": { + "start": { + "line": 94, + "column": 13 + }, + "end": { + "line": 94, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "numObjects", + "start": 3409, + "end": 3419, + "loc": { + "start": { + "line": 94, + "column": 14 + }, + "end": { + "line": 94, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3420, + "end": 3421, + "loc": { + "start": { + "line": 94, + "column": 25 + }, + "end": { + "line": 94, + "column": 26 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3422, + "end": 3423, + "loc": { + "start": { + "line": 94, + "column": 27 + }, + "end": { + "line": 94, + "column": 28 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3423, + "end": 3424, + "loc": { + "start": { + "line": 94, + "column": 28 + }, + "end": { + "line": 94, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 3433, + "end": 3438, + "loc": { + "start": { + "line": 95, + "column": 8 + }, + "end": { + "line": 95, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3438, + "end": 3439, + "loc": { + "start": { + "line": 95, + "column": 13 + }, + "end": { + "line": 95, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "numGeometries", + "start": 3439, + "end": 3452, + "loc": { + "start": { + "line": 95, + "column": 14 + }, + "end": { + "line": 95, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3453, + "end": 3454, + "loc": { + "start": { + "line": 95, + "column": 28 + }, + "end": { + "line": 95, + "column": 29 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 3455, + "end": 3456, + "loc": { + "start": { + "line": 95, + "column": 30 + }, + "end": { + "line": 95, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3456, + "end": 3457, + "loc": { + "start": { + "line": 95, + "column": 31 + }, + "end": { + "line": 95, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parse", + "start": 3467, + "end": 3472, + "loc": { + "start": { + "line": 97, + "column": 8 + }, + "end": { + "line": 97, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3472, + "end": 3473, + "loc": { + "start": { + "line": 97, + "column": 13 + }, + "end": { + "line": 97, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "data", + "start": 3473, + "end": 3477, + "loc": { + "start": { + "line": 97, + "column": 14 + }, + "end": { + "line": 97, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3477, + "end": 3478, + "loc": { + "start": { + "line": 97, + "column": 18 + }, + "end": { + "line": 97, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "GLTFLoader", + "start": 3479, + "end": 3489, + "loc": { + "start": { + "line": 97, + "column": 20 + }, + "end": { + "line": 97, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3489, + "end": 3490, + "loc": { + "start": { + "line": 97, + "column": 30 + }, + "end": { + "line": 97, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3491, + "end": 3492, + "loc": { + "start": { + "line": 97, + "column": 32 + }, + "end": { + "line": 97, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "baseUri", + "start": 3505, + "end": 3512, + "loc": { + "start": { + "line": 98, + "column": 12 + }, + "end": { + "line": 98, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3521, + "end": 3522, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3522, + "end": 3523, + "loc": { + "start": { + "line": 99, + "column": 9 + }, + "end": { + "line": 99, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3523, + "end": 3524, + "loc": { + "start": { + "line": 99, + "column": 10 + }, + "end": { + "line": 99, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 3524, + "end": 3528, + "loc": { + "start": { + "line": 99, + "column": 11 + }, + "end": { + "line": 99, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3528, + "end": 3529, + "loc": { + "start": { + "line": 99, + "column": 15 + }, + "end": { + "line": 99, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3529, + "end": 3530, + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "gltfData", + "start": 3530, + "end": 3538, + "loc": { + "start": { + "line": 99, + "column": 17 + }, + "end": { + "line": 99, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3538, + "end": 3539, + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 26 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3540, + "end": 3542, + "loc": { + "start": { + "line": 99, + "column": 27 + }, + "end": { + "line": 99, + "column": 29 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3543, + "end": 3544, + "loc": { + "start": { + "line": 99, + "column": 30 + }, + "end": { + "line": 99, + "column": 31 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 3558, + "end": 3563, + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 3564, + "end": 3567, + "loc": { + "start": { + "line": 101, + "column": 18 + }, + "end": { + "line": 101, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3568, + "end": 3569, + "loc": { + "start": { + "line": 101, + "column": 22 + }, + "end": { + "line": 101, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3570, + "end": 3571, + "loc": { + "start": { + "line": 101, + "column": 24 + }, + "end": { + "line": 101, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "gltfData", + "start": 3588, + "end": 3596, + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3596, + "end": 3597, + "loc": { + "start": { + "line": 102, + "column": 24 + }, + "end": { + "line": 102, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "nodesHaveNames", + "start": 3614, + "end": 3628, + "loc": { + "start": { + "line": 103, + "column": 16 + }, + "end": { + "line": 103, + "column": 30 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3628, + "end": 3629, + "loc": { + "start": { + "line": 103, + "column": 30 + }, + "end": { + "line": 103, + "column": 31 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 3630, + "end": 3635, + "loc": { + "start": { + "line": 103, + "column": 32 + }, + "end": { + "line": 103, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3635, + "end": 3636, + "loc": { + "start": { + "line": 103, + "column": 37 + }, + "end": { + "line": 103, + "column": 38 + } + } + }, + { + "type": "CommentLine", + "value": " determined in testIfNodesHaveNames()", + "start": 3637, + "end": 3676, + "loc": { + "start": { + "line": 103, + "column": 39 + }, + "end": { + "line": 103, + "column": 78 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getAttachment", + "start": 3693, + "end": 3706, + "loc": { + "start": { + "line": 104, + "column": 16 + }, + "end": { + "line": 104, + "column": 29 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3706, + "end": 3707, + "loc": { + "start": { + "line": 104, + "column": 29 + }, + "end": { + "line": 104, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getAttachment", + "start": 3708, + "end": 3721, + "loc": { + "start": { + "line": 104, + "column": 31 + }, + "end": { + "line": 104, + "column": 44 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 3722, + "end": 3724, + "loc": { + "start": { + "line": 104, + "column": 45 + }, + "end": { + "line": 104, + "column": 47 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3725, + "end": 3726, + "loc": { + "start": { + "line": 104, + "column": 48 + }, + "end": { + "line": 104, + "column": 49 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3726, + "end": 3727, + "loc": { + "start": { + "line": 104, + "column": 49 + }, + "end": { + "line": 104, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3727, + "end": 3728, + "loc": { + "start": { + "line": 104, + "column": 50 + }, + "end": { + "line": 104, + "column": 51 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3729, + "end": 3731, + "loc": { + "start": { + "line": 104, + "column": 52 + }, + "end": { + "line": 104, + "column": 54 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3732, + "end": 3733, + "loc": { + "start": { + "line": 104, + "column": 55 + }, + "end": { + "line": 104, + "column": 56 + } + } + }, + { + "type": { + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "throw", + "start": 3754, + "end": 3759, + "loc": { + "start": { + "line": 105, + "column": 20 + }, + "end": { + "line": 105, + "column": 25 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 3760, + "end": 3763, + "loc": { + "start": { + "line": 105, + "column": 26 + }, + "end": { + "line": 105, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Error", + "start": 3764, + "end": 3769, + "loc": { + "start": { + "line": 105, + "column": 30 + }, + "end": { + "line": 105, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3769, + "end": 3770, + "loc": { + "start": { + "line": 105, + "column": 35 + }, + "end": { + "line": 105, + "column": 36 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "You must define getAttachment() method to convert glTF with external resources", + "start": 3770, + "end": 3850, + "loc": { + "start": { + "line": 105, + "column": 36 + }, + "end": { + "line": 105, + "column": 116 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3850, + "end": 3851, + "loc": { + "start": { + "line": 105, + "column": 116 + }, + "end": { + "line": 105, + "column": 117 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3868, + "end": 3869, + "loc": { + "start": { + "line": 106, + "column": 16 + }, + "end": { + "line": 106, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3869, + "end": 3870, + "loc": { + "start": { + "line": 106, + "column": 17 + }, + "end": { + "line": 106, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3870, + "end": 3871, + "loc": { + "start": { + "line": 106, + "column": 18 + }, + "end": { + "line": 106, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 3888, + "end": 3891, + "loc": { + "start": { + "line": 107, + "column": 16 + }, + "end": { + "line": 107, + "column": 19 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3891, + "end": 3892, + "loc": { + "start": { + "line": 107, + "column": 19 + }, + "end": { + "line": 107, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3893, + "end": 3894, + "loc": { + "start": { + "line": 107, + "column": 21 + }, + "end": { + "line": 107, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 3894, + "end": 3897, + "loc": { + "start": { + "line": 107, + "column": 22 + }, + "end": { + "line": 107, + "column": 25 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 3898, + "end": 3900, + "loc": { + "start": { + "line": 107, + "column": 26 + }, + "end": { + "line": 107, + "column": 28 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 3901, + "end": 3909, + "loc": { + "start": { + "line": 107, + "column": 29 + }, + "end": { + "line": 107, + "column": 37 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3910, + "end": 3911, + "loc": { + "start": { + "line": 107, + "column": 38 + }, + "end": { + "line": 107, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "msg", + "start": 3911, + "end": 3914, + "loc": { + "start": { + "line": 107, + "column": 39 + }, + "end": { + "line": 107, + "column": 42 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3914, + "end": 3915, + "loc": { + "start": { + "line": 107, + "column": 42 + }, + "end": { + "line": 107, + "column": 43 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3916, + "end": 3917, + "loc": { + "start": { + "line": 107, + "column": 44 + }, + "end": { + "line": 107, + "column": 45 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3934, + "end": 3935, + "loc": { + "start": { + "line": 108, + "column": 16 + }, + "end": { + "line": 108, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3935, + "end": 3936, + "loc": { + "start": { + "line": 108, + "column": 17 + }, + "end": { + "line": 108, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3936, + "end": 3937, + "loc": { + "start": { + "line": 108, + "column": 18 + }, + "end": { + "line": 108, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 3954, + "end": 3959, + "loc": { + "start": { + "line": 109, + "column": 16 + }, + "end": { + "line": 109, + "column": 21 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3959, + "end": 3960, + "loc": { + "start": { + "line": 109, + "column": 21 + }, + "end": { + "line": 109, + "column": 22 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 3961, + "end": 3969, + "loc": { + "start": { + "line": 109, + "column": 23 + }, + "end": { + "line": 109, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3970, + "end": 3971, + "loc": { + "start": { + "line": 109, + "column": 32 + }, + "end": { + "line": 109, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "msg", + "start": 3971, + "end": 3974, + "loc": { + "start": { + "line": 109, + "column": 33 + }, + "end": { + "line": 109, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3974, + "end": 3975, + "loc": { + "start": { + "line": 109, + "column": 36 + }, + "end": { + "line": 109, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3976, + "end": 3977, + "loc": { + "start": { + "line": 109, + "column": 38 + }, + "end": { + "line": 109, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 3998, + "end": 4005, + "loc": { + "start": { + "line": 110, + "column": 20 + }, + "end": { + "line": 110, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4005, + "end": 4006, + "loc": { + "start": { + "line": 110, + "column": 27 + }, + "end": { + "line": 110, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "error", + "start": 4006, + "end": 4011, + "loc": { + "start": { + "line": 110, + "column": 28 + }, + "end": { + "line": 110, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4011, + "end": 4012, + "loc": { + "start": { + "line": 110, + "column": 33 + }, + "end": { + "line": 110, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "msg", + "start": 4012, + "end": 4015, + "loc": { + "start": { + "line": 110, + "column": 34 + }, + "end": { + "line": 110, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4015, + "end": 4016, + "loc": { + "start": { + "line": 110, + "column": 37 + }, + "end": { + "line": 110, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4016, + "end": 4017, + "loc": { + "start": { + "line": 110, + "column": 38 + }, + "end": { + "line": 110, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4034, + "end": 4035, + "loc": { + "start": { + "line": 111, + "column": 16 + }, + "end": { + "line": 111, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4035, + "end": 4036, + "loc": { + "start": { + "line": 111, + "column": 17 + }, + "end": { + "line": 111, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "xktModel", + "start": 4053, + "end": 4061, + "loc": { + "start": { + "line": 112, + "column": 16 + }, + "end": { + "line": 112, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4061, + "end": 4062, + "loc": { + "start": { + "line": 112, + "column": 24 + }, + "end": { + "line": 112, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includeNormals", + "start": 4079, + "end": 4093, + "loc": { + "start": { + "line": 113, + "column": 16 + }, + "end": { + "line": 113, + "column": 30 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4093, + "end": 4094, + "loc": { + "start": { + "line": 113, + "column": 30 + }, + "end": { + "line": 113, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4095, + "end": 4096, + "loc": { + "start": { + "line": 113, + "column": 32 + }, + "end": { + "line": 113, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includeNormals", + "start": 4096, + "end": 4110, + "loc": { + "start": { + "line": 113, + "column": 33 + }, + "end": { + "line": 113, + "column": 47 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 4111, + "end": 4114, + "loc": { + "start": { + "line": 113, + "column": 48 + }, + "end": { + "line": 113, + "column": 51 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 4115, + "end": 4120, + "loc": { + "start": { + "line": 113, + "column": 52 + }, + "end": { + "line": 113, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4120, + "end": 4121, + "loc": { + "start": { + "line": 113, + "column": 57 + }, + "end": { + "line": 113, + "column": 58 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4121, + "end": 4122, + "loc": { + "start": { + "line": 113, + "column": 58 + }, + "end": { + "line": 113, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includeTextures", + "start": 4139, + "end": 4154, + "loc": { + "start": { + "line": 114, + "column": 16 + }, + "end": { + "line": 114, + "column": 31 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4154, + "end": 4155, + "loc": { + "start": { + "line": 114, + "column": 31 + }, + "end": { + "line": 114, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4156, + "end": 4157, + "loc": { + "start": { + "line": 114, + "column": 33 + }, + "end": { + "line": 114, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includeTextures", + "start": 4157, + "end": 4172, + "loc": { + "start": { + "line": 114, + "column": 34 + }, + "end": { + "line": 114, + "column": 49 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 4173, + "end": 4176, + "loc": { + "start": { + "line": 114, + "column": 50 + }, + "end": { + "line": 114, + "column": 53 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 4177, + "end": 4182, + "loc": { + "start": { + "line": 114, + "column": 54 + }, + "end": { + "line": 114, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4182, + "end": 4183, + "loc": { + "start": { + "line": 114, + "column": 59 + }, + "end": { + "line": 114, + "column": 60 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4183, + "end": 4184, + "loc": { + "start": { + "line": 114, + "column": 60 + }, + "end": { + "line": 114, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "geometryCreated", + "start": 4201, + "end": 4216, + "loc": { + "start": { + "line": 115, + "column": 16 + }, + "end": { + "line": 115, + "column": 31 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4216, + "end": 4217, + "loc": { + "start": { + "line": 115, + "column": 31 + }, + "end": { + "line": 115, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4218, + "end": 4219, + "loc": { + "start": { + "line": 115, + "column": 33 + }, + "end": { + "line": 115, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4219, + "end": 4220, + "loc": { + "start": { + "line": 115, + "column": 34 + }, + "end": { + "line": 115, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4220, + "end": 4221, + "loc": { + "start": { + "line": 115, + "column": 35 + }, + "end": { + "line": 115, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "nextId", + "start": 4238, + "end": 4244, + "loc": { + "start": { + "line": 116, + "column": 16 + }, + "end": { + "line": 116, + "column": 22 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4244, + "end": 4245, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 4246, + "end": 4247, + "loc": { + "start": { + "line": 116, + "column": 24 + }, + "end": { + "line": 116, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4247, + "end": 4248, + "loc": { + "start": { + "line": 116, + "column": 25 + }, + "end": { + "line": 116, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 4265, + "end": 4270, + "loc": { + "start": { + "line": 117, + "column": 16 + }, + "end": { + "line": 117, + "column": 21 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4283, + "end": 4284, + "loc": { + "start": { + "line": 118, + "column": 12 + }, + "end": { + "line": 118, + "column": 13 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4284, + "end": 4285, + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 4299, + "end": 4302, + "loc": { + "start": { + "line": 120, + "column": 12 + }, + "end": { + "line": 120, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4302, + "end": 4303, + "loc": { + "start": { + "line": 120, + "column": 15 + }, + "end": { + "line": 120, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 4303, + "end": 4306, + "loc": { + "start": { + "line": 120, + "column": 16 + }, + "end": { + "line": 120, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4306, + "end": 4307, + "loc": { + "start": { + "line": 120, + "column": 19 + }, + "end": { + "line": 120, + "column": 20 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Using parser: parseGLTFIntoXKTModel", + "start": 4307, + "end": 4344, + "loc": { + "start": { + "line": 120, + "column": 20 + }, + "end": { + "line": 120, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4344, + "end": 4345, + "loc": { + "start": { + "line": 120, + "column": 57 + }, + "end": { + "line": 120, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4345, + "end": 4346, + "loc": { + "start": { + "line": 120, + "column": 58 + }, + "end": { + "line": 120, + "column": 59 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 4359, + "end": 4362, + "loc": { + "start": { + "line": 121, + "column": 12 + }, + "end": { + "line": 121, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4362, + "end": 4363, + "loc": { + "start": { + "line": 121, + "column": 15 + }, + "end": { + "line": 121, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 4363, + "end": 4366, + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 121, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4366, + "end": 4367, + "loc": { + "start": { + "line": 121, + "column": 19 + }, + "end": { + "line": 121, + "column": 20 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4367, + "end": 4368, + "loc": { + "start": { + "line": 121, + "column": 20 + }, + "end": { + "line": 121, + "column": 21 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Parsing normals: ", + "start": 4368, + "end": 4385, + "loc": { + "start": { + "line": 121, + "column": 21 + }, + "end": { + "line": 121, + "column": 38 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4385, + "end": 4387, + "loc": { + "start": { + "line": 121, + "column": 38 + }, + "end": { + "line": 121, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 4387, + "end": 4390, + "loc": { + "start": { + "line": 121, + "column": 40 + }, + "end": { + "line": 121, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4390, + "end": 4391, + "loc": { + "start": { + "line": 121, + "column": 43 + }, + "end": { + "line": 121, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includeNormals", + "start": 4391, + "end": 4405, + "loc": { + "start": { + "line": 121, + "column": 44 + }, + "end": { + "line": 121, + "column": 58 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4406, + "end": 4407, + "loc": { + "start": { + "line": 121, + "column": 59 + }, + "end": { + "line": 121, + "column": 60 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "enabled", + "start": 4408, + "end": 4417, + "loc": { + "start": { + "line": 121, + "column": 61 + }, + "end": { + "line": 121, + "column": 70 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4418, + "end": 4419, + "loc": { + "start": { + "line": 121, + "column": 71 + }, + "end": { + "line": 121, + "column": 72 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "disabled", + "start": 4420, + "end": 4430, + "loc": { + "start": { + "line": 121, + "column": 73 + }, + "end": { + "line": 121, + "column": 83 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4430, + "end": 4431, + "loc": { + "start": { + "line": 121, + "column": 83 + }, + "end": { + "line": 121, + "column": 84 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 4431, + "end": 4431, + "loc": { + "start": { + "line": 121, + "column": 84 + }, + "end": { + "line": 121, + "column": 84 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4431, + "end": 4432, + "loc": { + "start": { + "line": 121, + "column": 84 + }, + "end": { + "line": 121, + "column": 85 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4432, + "end": 4433, + "loc": { + "start": { + "line": 121, + "column": 85 + }, + "end": { + "line": 121, + "column": 86 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4433, + "end": 4434, + "loc": { + "start": { + "line": 121, + "column": 86 + }, + "end": { + "line": 121, + "column": 87 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 4447, + "end": 4450, + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4450, + "end": 4451, + "loc": { + "start": { + "line": 122, + "column": 15 + }, + "end": { + "line": 122, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 4451, + "end": 4454, + "loc": { + "start": { + "line": 122, + "column": 16 + }, + "end": { + "line": 122, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4454, + "end": 4455, + "loc": { + "start": { + "line": 122, + "column": 19 + }, + "end": { + "line": 122, + "column": 20 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4455, + "end": 4456, + "loc": { + "start": { + "line": 122, + "column": 20 + }, + "end": { + "line": 122, + "column": 21 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Parsing textures: ", + "start": 4456, + "end": 4474, + "loc": { + "start": { + "line": 122, + "column": 21 + }, + "end": { + "line": 122, + "column": 39 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4474, + "end": 4476, + "loc": { + "start": { + "line": 122, + "column": 39 + }, + "end": { + "line": 122, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 4476, + "end": 4479, + "loc": { + "start": { + "line": 122, + "column": 41 + }, + "end": { + "line": 122, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4479, + "end": 4480, + "loc": { + "start": { + "line": 122, + "column": 44 + }, + "end": { + "line": 122, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includeTextures", + "start": 4480, + "end": 4495, + "loc": { + "start": { + "line": 122, + "column": 45 + }, + "end": { + "line": 122, + "column": 60 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4496, + "end": 4497, + "loc": { + "start": { + "line": 122, + "column": 61 + }, + "end": { + "line": 122, + "column": 62 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "enabled", + "start": 4498, + "end": 4507, + "loc": { + "start": { + "line": 122, + "column": 63 + }, + "end": { + "line": 122, + "column": 72 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4508, + "end": 4509, + "loc": { + "start": { + "line": 122, + "column": 73 + }, + "end": { + "line": 122, + "column": 74 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "disabled", + "start": 4510, + "end": 4520, + "loc": { + "start": { + "line": 122, + "column": 75 + }, + "end": { + "line": 122, + "column": 85 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4520, + "end": 4521, + "loc": { + "start": { + "line": 122, + "column": 85 + }, + "end": { + "line": 122, + "column": 86 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 4521, + "end": 4521, + "loc": { + "start": { + "line": 122, + "column": 86 + }, + "end": { + "line": 122, + "column": 86 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4521, + "end": 4522, + "loc": { + "start": { + "line": 122, + "column": 86 + }, + "end": { + "line": 122, + "column": 87 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4522, + "end": 4523, + "loc": { + "start": { + "line": 122, + "column": 87 + }, + "end": { + "line": 122, + "column": 88 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4523, + "end": 4524, + "loc": { + "start": { + "line": 122, + "column": 88 + }, + "end": { + "line": 122, + "column": 89 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4538, + "end": 4540, + "loc": { + "start": { + "line": 124, + "column": 12 + }, + "end": { + "line": 124, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4541, + "end": 4542, + "loc": { + "start": { + "line": 124, + "column": 15 + }, + "end": { + "line": 124, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 4542, + "end": 4545, + "loc": { + "start": { + "line": 124, + "column": 16 + }, + "end": { + "line": 124, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4545, + "end": 4546, + "loc": { + "start": { + "line": 124, + "column": 19 + }, + "end": { + "line": 124, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "includeTextures", + "start": 4546, + "end": 4561, + "loc": { + "start": { + "line": 124, + "column": 20 + }, + "end": { + "line": 124, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4561, + "end": 4562, + "loc": { + "start": { + "line": 124, + "column": 35 + }, + "end": { + "line": 124, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4563, + "end": 4564, + "loc": { + "start": { + "line": 124, + "column": 37 + }, + "end": { + "line": 124, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseTextures", + "start": 4581, + "end": 4594, + "loc": { + "start": { + "line": 125, + "column": 16 + }, + "end": { + "line": 125, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4594, + "end": 4595, + "loc": { + "start": { + "line": 125, + "column": 29 + }, + "end": { + "line": 125, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 4595, + "end": 4598, + "loc": { + "start": { + "line": 125, + "column": 30 + }, + "end": { + "line": 125, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4598, + "end": 4599, + "loc": { + "start": { + "line": 125, + "column": 33 + }, + "end": { + "line": 125, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4599, + "end": 4600, + "loc": { + "start": { + "line": 125, + "column": 34 + }, + "end": { + "line": 125, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4613, + "end": 4614, + "loc": { + "start": { + "line": 126, + "column": 12 + }, + "end": { + "line": 126, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseMaterials", + "start": 4627, + "end": 4641, + "loc": { + "start": { + "line": 127, + "column": 12 + }, + "end": { + "line": 127, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4641, + "end": 4642, + "loc": { + "start": { + "line": 127, + "column": 26 + }, + "end": { + "line": 127, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 4642, + "end": 4645, + "loc": { + "start": { + "line": 127, + "column": 27 + }, + "end": { + "line": 127, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4645, + "end": 4646, + "loc": { + "start": { + "line": 127, + "column": 30 + }, + "end": { + "line": 127, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4646, + "end": 4647, + "loc": { + "start": { + "line": 127, + "column": 31 + }, + "end": { + "line": 127, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseDefaultScene", + "start": 4660, + "end": 4677, + "loc": { + "start": { + "line": 128, + "column": 12 + }, + "end": { + "line": 128, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4677, + "end": 4678, + "loc": { + "start": { + "line": 128, + "column": 29 + }, + "end": { + "line": 128, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 4678, + "end": 4681, + "loc": { + "start": { + "line": 128, + "column": 30 + }, + "end": { + "line": 128, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4681, + "end": 4682, + "loc": { + "start": { + "line": 128, + "column": 33 + }, + "end": { + "line": 128, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4682, + "end": 4683, + "loc": { + "start": { + "line": 128, + "column": 34 + }, + "end": { + "line": 128, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resolve", + "start": 4697, + "end": 4704, + "loc": { + "start": { + "line": 130, + "column": 12 + }, + "end": { + "line": 130, + "column": 19 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4704, + "end": 4705, + "loc": { + "start": { + "line": 130, + "column": 19 + }, + "end": { + "line": 130, + "column": 20 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4705, + "end": 4706, + "loc": { + "start": { + "line": 130, + "column": 20 + }, + "end": { + "line": 130, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4706, + "end": 4707, + "loc": { + "start": { + "line": 130, + "column": 21 + }, + "end": { + "line": 130, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4717, + "end": 4718, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 9 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4718, + "end": 4719, + "loc": { + "start": { + "line": 132, + "column": 9 + }, + "end": { + "line": 132, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4720, + "end": 4721, + "loc": { + "start": { + "line": 132, + "column": 11 + }, + "end": { + "line": 132, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "errMsg", + "start": 4721, + "end": 4727, + "loc": { + "start": { + "line": 132, + "column": 12 + }, + "end": { + "line": 132, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4727, + "end": 4728, + "loc": { + "start": { + "line": 132, + "column": 18 + }, + "end": { + "line": 132, + "column": 19 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4729, + "end": 4731, + "loc": { + "start": { + "line": 132, + "column": 20 + }, + "end": { + "line": 132, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4732, + "end": 4733, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 4746, + "end": 4752, + "loc": { + "start": { + "line": 133, + "column": 12 + }, + "end": { + "line": 133, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4752, + "end": 4753, + "loc": { + "start": { + "line": 133, + "column": 18 + }, + "end": { + "line": 133, + "column": 19 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4753, + "end": 4754, + "loc": { + "start": { + "line": 133, + "column": 19 + }, + "end": { + "line": 133, + "column": 20 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "[parseGLTFIntoXKTModel] ", + "start": 4754, + "end": 4778, + "loc": { + "start": { + "line": 133, + "column": 20 + }, + "end": { + "line": 133, + "column": 44 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4778, + "end": 4780, + "loc": { + "start": { + "line": 133, + "column": 44 + }, + "end": { + "line": 133, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "errMsg", + "start": 4780, + "end": 4786, + "loc": { + "start": { + "line": 133, + "column": 46 + }, + "end": { + "line": 133, + "column": 52 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4786, + "end": 4787, + "loc": { + "start": { + "line": 133, + "column": 52 + }, + "end": { + "line": 133, + "column": 53 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 4787, + "end": 4787, + "loc": { + "start": { + "line": 133, + "column": 53 + }, + "end": { + "line": 133, + "column": 53 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4787, + "end": 4788, + "loc": { + "start": { + "line": 133, + "column": 53 + }, + "end": { + "line": 133, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4788, + "end": 4789, + "loc": { + "start": { + "line": 133, + "column": 54 + }, + "end": { + "line": 133, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4789, + "end": 4790, + "loc": { + "start": { + "line": 133, + "column": 55 + }, + "end": { + "line": 133, + "column": 56 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4799, + "end": 4800, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4800, + "end": 4801, + "loc": { + "start": { + "line": 134, + "column": 9 + }, + "end": { + "line": 134, + "column": 10 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4801, + "end": 4802, + "loc": { + "start": { + "line": 134, + "column": 10 + }, + "end": { + "line": 134, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4807, + "end": 4808, + "loc": { + "start": { + "line": 135, + "column": 4 + }, + "end": { + "line": 135, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4808, + "end": 4809, + "loc": { + "start": { + "line": 135, + "column": 5 + }, + "end": { + "line": 135, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4809, + "end": 4810, + "loc": { + "start": { + "line": 135, + "column": 6 + }, + "end": { + "line": 135, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4811, + "end": 4812, + "loc": { + "start": { + "line": 136, + "column": 0 + }, + "end": { + "line": 136, + "column": 1 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 4814, + "end": 4822, + "loc": { + "start": { + "line": 138, + "column": 0 + }, + "end": { + "line": 138, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseTextures", + "start": 4823, + "end": 4836, + "loc": { + "start": { + "line": 138, + "column": 9 + }, + "end": { + "line": 138, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4836, + "end": 4837, + "loc": { + "start": { + "line": 138, + "column": 22 + }, + "end": { + "line": 138, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 4837, + "end": 4840, + "loc": { + "start": { + "line": 138, + "column": 23 + }, + "end": { + "line": 138, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4840, + "end": 4841, + "loc": { + "start": { + "line": 138, + "column": 26 + }, + "end": { + "line": 138, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4842, + "end": 4843, + "loc": { + "start": { + "line": 138, + "column": 28 + }, + "end": { + "line": 138, + "column": 29 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4848, + "end": 4853, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 139, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "gltfData", + "start": 4854, + "end": 4862, + "loc": { + "start": { + "line": 139, + "column": 10 + }, + "end": { + "line": 139, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4863, + "end": 4864, + "loc": { + "start": { + "line": 139, + "column": 19 + }, + "end": { + "line": 139, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 4865, + "end": 4868, + "loc": { + "start": { + "line": 139, + "column": 21 + }, + "end": { + "line": 139, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4868, + "end": 4869, + "loc": { + "start": { + "line": 139, + "column": 24 + }, + "end": { + "line": 139, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "gltfData", + "start": 4869, + "end": 4877, + "loc": { + "start": { + "line": 139, + "column": 25 + }, + "end": { + "line": 139, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4877, + "end": 4878, + "loc": { + "start": { + "line": 139, + "column": 33 + }, + "end": { + "line": 139, + "column": 34 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 4883, + "end": 4888, + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 140, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textures", + "start": 4889, + "end": 4897, + "loc": { + "start": { + "line": 140, + "column": 10 + }, + "end": { + "line": 140, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4898, + "end": 4899, + "loc": { + "start": { + "line": 140, + "column": 19 + }, + "end": { + "line": 140, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "gltfData", + "start": 4900, + "end": 4908, + "loc": { + "start": { + "line": 140, + "column": 21 + }, + "end": { + "line": 140, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4908, + "end": 4909, + "loc": { + "start": { + "line": 140, + "column": 29 + }, + "end": { + "line": 140, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textures", + "start": 4909, + "end": 4917, + "loc": { + "start": { + "line": 140, + "column": 30 + }, + "end": { + "line": 140, + "column": 38 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4917, + "end": 4918, + "loc": { + "start": { + "line": 140, + "column": 38 + }, + "end": { + "line": 140, + "column": 39 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 4923, + "end": 4925, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 141, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4926, + "end": 4927, + "loc": { + "start": { + "line": 141, + "column": 7 + }, + "end": { + "line": 141, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textures", + "start": 4927, + "end": 4935, + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4935, + "end": 4936, + "loc": { + "start": { + "line": 141, + "column": 16 + }, + "end": { + "line": 141, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4937, + "end": 4938, + "loc": { + "start": { + "line": 141, + "column": 18 + }, + "end": { + "line": 141, + "column": 19 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 4947, + "end": 4950, + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4951, + "end": 4952, + "loc": { + "start": { + "line": 142, + "column": 12 + }, + "end": { + "line": 142, + "column": 13 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 4952, + "end": 4955, + "loc": { + "start": { + "line": 142, + "column": 13 + }, + "end": { + "line": 142, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 4956, + "end": 4957, + "loc": { + "start": { + "line": 142, + "column": 17 + }, + "end": { + "line": 142, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4958, + "end": 4959, + "loc": { + "start": { + "line": 142, + "column": 19 + }, + "end": { + "line": 142, + "column": 20 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0, + "start": 4960, + "end": 4961, + "loc": { + "start": { + "line": 142, + "column": 21 + }, + "end": { + "line": 142, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4961, + "end": 4962, + "loc": { + "start": { + "line": 142, + "column": 22 + }, + "end": { + "line": 142, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "len", + "start": 4963, + "end": 4966, + "loc": { + "start": { + "line": 142, + "column": 24 + }, + "end": { + "line": 142, + "column": 27 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4967, + "end": 4968, + "loc": { + "start": { + "line": 142, + "column": 28 + }, + "end": { + "line": 142, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textures", + "start": 4969, + "end": 4977, + "loc": { + "start": { + "line": 142, + "column": 30 + }, + "end": { + "line": 142, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4977, + "end": 4978, + "loc": { + "start": { + "line": 142, + "column": 38 + }, + "end": { + "line": 142, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 4978, + "end": 4984, + "loc": { + "start": { + "line": 142, + "column": 39 + }, + "end": { + "line": 142, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4984, + "end": 4985, + "loc": { + "start": { + "line": 142, + "column": 45 + }, + "end": { + "line": 142, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 4986, + "end": 4987, + "loc": { + "start": { + "line": 142, + "column": 47 + }, + "end": { + "line": 142, + "column": 48 + } + } + }, + { + "type": { + "label": "", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 4988, + "end": 4989, + "loc": { + "start": { + "line": 142, + "column": 49 + }, + "end": { + "line": 142, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "len", + "start": 4990, + "end": 4993, + "loc": { + "start": { + "line": 142, + "column": 51 + }, + "end": { + "line": 142, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4993, + "end": 4994, + "loc": { + "start": { + "line": 142, + "column": 54 + }, + "end": { + "line": 142, + "column": 55 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 4995, + "end": 4996, + "loc": { + "start": { + "line": 142, + "column": 56 + }, + "end": { + "line": 142, + "column": 57 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 4996, + "end": 4998, + "loc": { + "start": { + "line": 142, + "column": 57 + }, + "end": { + "line": 142, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4998, + "end": 4999, + "loc": { + "start": { + "line": 142, + "column": 59 + }, + "end": { + "line": 142, + "column": 60 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5000, + "end": 5001, + "loc": { + "start": { + "line": 142, + "column": 61 + }, + "end": { + "line": 142, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseTexture", + "start": 5014, + "end": 5026, + "loc": { + "start": { + "line": 143, + "column": 12 + }, + "end": { + "line": 143, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5026, + "end": 5027, + "loc": { + "start": { + "line": 143, + "column": 24 + }, + "end": { + "line": 143, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 5027, + "end": 5030, + "loc": { + "start": { + "line": 143, + "column": 25 + }, + "end": { + "line": 143, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5030, + "end": 5031, + "loc": { + "start": { + "line": 143, + "column": 28 + }, + "end": { + "line": 143, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textures", + "start": 5032, + "end": 5040, + "loc": { + "start": { + "line": 143, + "column": 30 + }, + "end": { + "line": 143, + "column": 38 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5040, + "end": 5041, + "loc": { + "start": { + "line": 143, + "column": 38 + }, + "end": { + "line": 143, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 5041, + "end": 5042, + "loc": { + "start": { + "line": 143, + "column": 39 + }, + "end": { + "line": 143, + "column": 40 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5042, + "end": 5043, + "loc": { + "start": { + "line": 143, + "column": 40 + }, + "end": { + "line": 143, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5043, + "end": 5044, + "loc": { + "start": { + "line": 143, + "column": 41 + }, + "end": { + "line": 143, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5044, + "end": 5045, + "loc": { + "start": { + "line": 143, + "column": 42 + }, + "end": { + "line": 143, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 5058, + "end": 5061, + "loc": { + "start": { + "line": 144, + "column": 12 + }, + "end": { + "line": 144, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5061, + "end": 5062, + "loc": { + "start": { + "line": 144, + "column": 15 + }, + "end": { + "line": 144, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "stats", + "start": 5062, + "end": 5067, + "loc": { + "start": { + "line": 144, + "column": 16 + }, + "end": { + "line": 144, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5067, + "end": 5068, + "loc": { + "start": { + "line": 144, + "column": 21 + }, + "end": { + "line": 144, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "numTextures", + "start": 5068, + "end": 5079, + "loc": { + "start": { + "line": 144, + "column": 22 + }, + "end": { + "line": 144, + "column": 33 + } } - ], - "directives": [] - }, - "comments": [ + }, { - "type": "CommentBlock", - "value": "*\n * @desc Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n *\n * * Supports ````.glb```` and textures\n * * For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {ArrayBuffer} params.data The glTF.\n * @param {String} [params.baseUri] The base URI used to load this glTF, if any. For resolving relative uris to linked resources.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeTextures=true] Whether to parse textures.\n * @param {Boolean} [params.includeNormals=true] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the glTF.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when glTF has been parsed.\n ", - "start": 440, - "end": 2327, + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 5079, + "end": 5081, "loc": { "start": { - "line": 18, - "column": 0 + "line": 144, + "column": 33 }, "end": { - "line": 59, - "column": 3 + "line": 144, + "column": 35 } } }, { - "type": "CommentLine", - "value": " encoding: \"sRGB\"", - "start": 7405, - "end": 7428, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5081, + "end": 5082, "loc": { "start": { - "line": 239, + "line": 144, + "column": 35 + }, + "end": { + "line": 144, + "column": 36 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5091, + "end": 5092, + "loc": { + "start": { + "line": 145, "column": 8 }, "end": { - "line": 239, - "column": 31 + "line": 145, + "column": 9 } } }, { - "type": "CommentLine", - "value": " const alphaMode = material.alphaMode;", - "start": 8364, - "end": 8404, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5097, + "end": 5098, "loc": { "start": { - "line": 267, + "line": 146, "column": 4 }, "end": { - "line": 267, - "column": 44 + "line": 146, + "column": 5 } } }, { - "type": "CommentLine", - "value": " switch (alphaMode) {", - "start": 8409, - "end": 8432, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5099, + "end": 5100, "loc": { "start": { - "line": 268, - "column": 4 + "line": 147, + "column": 0 }, "end": { - "line": 268, + "line": 147, + "column": 1 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 5102, + "end": 5110, + "loc": { + "start": { + "line": 149, + "column": 0 + }, + "end": { + "line": 149, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseTexture", + "start": 5111, + "end": 5123, + "loc": { + "start": { + "line": 149, + "column": 9 + }, + "end": { + "line": 149, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5123, + "end": 5124, + "loc": { + "start": { + "line": 149, + "column": 21 + }, + "end": { + "line": 149, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 5124, + "end": 5127, + "loc": { + "start": { + "line": 149, + "column": 22 + }, + "end": { + "line": 149, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5127, + "end": 5128, + "loc": { + "start": { + "line": 149, + "column": 25 + }, + "end": { + "line": 149, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "texture", + "start": 5129, + "end": 5136, + "loc": { + "start": { + "line": 149, "column": 27 + }, + "end": { + "line": 149, + "column": 34 } } }, { - "type": "CommentLine", - "value": " case \"NORMAL_OPAQUE\":", - "start": 8437, - "end": 8465, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5136, + "end": 5137, "loc": { "start": { - "line": 269, - "column": 4 + "line": 149, + "column": 34 }, "end": { - "line": 269, - "column": 32 + "line": 149, + "column": 35 } } }, { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"opaque\";", - "start": 8470, - "end": 8514, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5138, + "end": 5139, "loc": { "start": { - "line": 270, - "column": 4 + "line": 149, + "column": 36 }, "end": { - "line": 270, - "column": 48 + "line": 149, + "column": 37 } } }, { - "type": "CommentLine", - "value": " break;", - "start": 8519, - "end": 8536, + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 5144, + "end": 5146, "loc": { "start": { - "line": 271, + "line": 150, "column": 4 }, "end": { - "line": 271, - "column": 21 + "line": 150, + "column": 6 } } }, { - "type": "CommentLine", - "value": " case \"MASK\":", - "start": 8541, - "end": 8560, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5147, + "end": 5148, "loc": { "start": { - "line": 272, - "column": 4 + "line": 150, + "column": 7 }, "end": { - "line": 272, + "line": 150, + "column": 8 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 5148, + "end": 5149, + "loc": { + "start": { + "line": 150, + "column": 8 + }, + "end": { + "line": 150, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "texture", + "start": 5149, + "end": 5156, + "loc": { + "start": { + "line": 150, + "column": 9 + }, + "end": { + "line": 150, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5156, + "end": 5157, + "loc": { + "start": { + "line": 150, + "column": 16 + }, + "end": { + "line": 150, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "source", + "start": 5157, + "end": 5163, + "loc": { + "start": { + "line": 150, + "column": 17 + }, + "end": { + "line": 150, "column": 23 } } }, { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"mask\";", - "start": 8565, - "end": 8607, + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 5164, + "end": 5166, "loc": { "start": { - "line": 273, - "column": 4 + "line": 150, + "column": 24 }, "end": { - "line": 273, - "column": 46 + "line": 150, + "column": 26 } } }, { - "type": "CommentLine", - "value": " break;", - "start": 8612, - "end": 8629, + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 5167, + "end": 5168, "loc": { "start": { - "line": 274, - "column": 4 + "line": 150, + "column": 27 }, "end": { - "line": 274, - "column": 21 + "line": 150, + "column": 28 } } }, { - "type": "CommentLine", - "value": " case \"BLEND\":", - "start": 8634, - "end": 8654, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "texture", + "start": 5168, + "end": 5175, "loc": { "start": { - "line": 275, - "column": 4 + "line": 150, + "column": 28 }, "end": { - "line": 275, - "column": 24 + "line": 150, + "column": 35 } } }, { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"blend\";", - "start": 8659, - "end": 8702, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5175, + "end": 5176, "loc": { "start": { - "line": 276, - "column": 4 + "line": 150, + "column": 35 }, "end": { - "line": 276, - "column": 47 + "line": 150, + "column": 36 } } }, { - "type": "CommentLine", - "value": " break;", - "start": 8707, - "end": 8724, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "source", + "start": 5176, + "end": 5182, "loc": { "start": { - "line": 277, - "column": 4 + "line": 150, + "column": 36 }, "end": { - "line": 277, - "column": 21 + "line": 150, + "column": 42 } } }, { - "type": "CommentLine", - "value": " default:", - "start": 8729, - "end": 8744, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5182, + "end": 5183, "loc": { "start": { - "line": 278, - "column": 4 + "line": 150, + "column": 42 }, "end": { - "line": 278, - "column": 19 + "line": 150, + "column": 43 } } }, { - "type": "CommentLine", - "value": " }", - "start": 8749, - "end": 8753, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "image", + "start": 5183, + "end": 5188, "loc": { "start": { - "line": 279, - "column": 4 + "line": 150, + "column": 43 }, "end": { - "line": 279, - "column": 8 + "line": 150, + "column": 48 } } }, { - "type": "CommentLine", - "value": " const alphaCutoff = material.alphaCutoff;", - "start": 8758, - "end": 8802, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5188, + "end": 5189, "loc": { "start": { - "line": 280, - "column": 4 + "line": 150, + "column": 48 }, "end": { - "line": 280, - "column": 48 + "line": 150, + "column": 49 } } }, { - "type": "CommentLine", - "value": " if (alphaCutoff !== undefined) {", - "start": 8807, - "end": 8842, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5190, + "end": 5191, "loc": { "start": { - "line": 281, - "column": 4 + "line": 150, + "column": 50 }, "end": { - "line": 281, - "column": 39 + "line": 150, + "column": 51 } } }, { - "type": "CommentLine", - "value": " materialCfg.alphaCutoff = alphaCutoff;", - "start": 8847, - "end": 8892, + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 5200, + "end": 5206, "loc": { "start": { - "line": 282, - "column": 4 + "line": 151, + "column": 8 }, "end": { - "line": 282, - "column": 49 + "line": 151, + "column": 14 } } }, { - "type": "CommentLine", - "value": " }", - "start": 8897, - "end": 8901, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5206, + "end": 5207, "loc": { "start": { - "line": 283, - "column": 4 + "line": 151, + "column": 14 }, "end": { - "line": 283, - "column": 8 + "line": 151, + "column": 15 } } }, { - "type": "CommentLine", - "value": " textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;", - "start": 9995, - "end": 10091, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5212, + "end": 5213, "loc": { "start": { - "line": 305, - "column": 16 + "line": 152, + "column": 4 }, "end": { - "line": 305, - "column": 112 + "line": 152, + "column": 5 } } }, { - "type": "CommentLine", - "value": " Substitute RGBA for material, to use fast flat shading instead", - "start": 10973, - "end": 11038, + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 5218, + "end": 5223, "loc": { "start": { - "line": 326, - "column": 50 + "line": 153, + "column": 4 }, "end": { - "line": 326, - "column": 115 + "line": 153, + "column": 9 } } }, { - "type": "CommentLine", - "value": " Pre-order visit scene node", - "start": 14705, - "end": 14734, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textureId", + "start": 5224, + "end": 5233, "loc": { "start": { - "line": 438, - "column": 4 + "line": 153, + "column": 10 }, "end": { - "line": 438, - "column": 33 + "line": 153, + "column": 19 } } }, { - "type": "CommentLine", - "value": " POINTS", - "start": 16789, - "end": 16798, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 5234, + "end": 5235, "loc": { "start": { - "line": 501, - "column": 32 + "line": 153, + "column": 20 }, "end": { - "line": 501, - "column": 41 + "line": 153, + "column": 21 } } }, { - "type": "CommentLine", - "value": " LINES", - "start": 16932, - "end": 16940, + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5236, + "end": 5237, "loc": { "start": { - "line": 504, - "column": 32 + "line": 153, + "column": 22 }, "end": { - "line": 504, - "column": 40 + "line": 153, + "column": 23 } } }, { - "type": "CommentLine", - "value": " LINE_LOOP", - "start": 17073, - "end": 17085, + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "texture-", + "start": 5237, + "end": 5245, "loc": { "start": { - "line": 507, - "column": 32 + "line": 153, + "column": 23 }, "end": { - "line": 507, - "column": 44 + "line": 153, + "column": 31 } } }, { - "type": "CommentLine", - "value": " LINE_STRIP", - "start": 17222, - "end": 17235, + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5245, + "end": 5247, "loc": { "start": { - "line": 510, - "column": 32 + "line": 153, + "column": 31 }, "end": { - "line": 510, - "column": 45 + "line": 153, + "column": 33 } } }, { - "type": "CommentLine", - "value": " TRIANGLES", - "start": 17373, - "end": 17385, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 5247, + "end": 5250, "loc": { "start": { - "line": 513, - "column": 32 + "line": 153, + "column": 33 }, "end": { - "line": 513, - "column": 44 + "line": 153, + "column": 36 } } }, { - "type": "CommentLine", - "value": " TRIANGLE_STRIP", - "start": 17522, - "end": 17539, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5250, + "end": 5251, "loc": { "start": { - "line": 516, - "column": 32 + "line": 153, + "column": 36 }, "end": { - "line": 516, - "column": 49 + "line": 153, + "column": 37 } } }, { - "type": "CommentLine", - "value": " TRIANGLE_FAN", - "start": 17681, - "end": 17696, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "nextId", + "start": 5251, + "end": 5257, "loc": { "start": { - "line": 519, - "column": 32 + "line": 153, + "column": 37 }, "end": { - "line": 519, - "column": 47 + "line": 153, + "column": 43 } } }, { - "type": "CommentLine", - "value": " Visit child scene nodes", - "start": 20506, - "end": 20532, + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 5257, + "end": 5259, "loc": { "start": { - "line": 580, - "column": 4 + "line": 153, + "column": 43 }, "end": { - "line": 580, - "column": 30 + "line": 153, + "column": 45 } } }, { - "type": "CommentLine", - "value": " Post-order visit scene node", - "start": 20784, - "end": 20814, + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5259, + "end": 5260, "loc": { "start": { - "line": 590, - "column": 4 + "line": 153, + "column": 45 }, "end": { - "line": 590, - "column": 34 + "line": 153, + "column": 46 } } }, { - "type": "CommentLine", - "value": " For when there are no nodes with names", - "start": 21188, - "end": 21229, + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 5260, + "end": 5260, "loc": { "start": { - "line": 598, - "column": 28 + "line": 153, + "column": 46 }, "end": { - "line": 598, - "column": 69 + "line": 153, + "column": 46 } } - } - ], - "tokens": [ + }, { "type": { - "label": "import", - "keyword": "import", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -44649,79 +62870,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 0, - "end": 6, + "start": 5260, + "end": 5261, "loc": { "start": { - "line": 1, - "column": 0 + "line": 153, + "column": 46 }, "end": { - "line": 1, - "column": 6 + "line": 153, + "column": 47 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7, - "end": 8, + "start": 5261, + "end": 5262, "loc": { "start": { - "line": 1, - "column": 7 + "line": 153, + "column": 47 }, "end": { - "line": 1, - "column": 8 + "line": 153, + "column": 48 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "utils", - "start": 8, - "end": 13, + "value": "let", + "start": 5268, + "end": 5271, "loc": { "start": { - "line": 1, - "column": 8 + "line": 155, + "column": 4 }, "end": { - "line": 1, - "column": 13 + "line": 155, + "column": 7 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44729,48 +62951,50 @@ "postfix": false, "binop": null }, - "start": 13, - "end": 14, + "value": "minFilter", + "start": 5272, + "end": 5281, "loc": { "start": { - "line": 1, - "column": 13 + "line": 155, + "column": 8 }, "end": { - "line": 1, - "column": 14 + "line": 155, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 15, - "end": 19, + "value": "=", + "start": 5282, + "end": 5283, "loc": { "start": { - "line": 1, - "column": 15 + "line": 155, + "column": 18 }, "end": { - "line": 1, + "line": 155, "column": 19 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -44778,20 +63002,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "../XKTModel/lib/utils.js", - "start": 20, - "end": 46, + "value": "NearestMipMapLinearFilter", + "start": 5284, + "end": 5309, "loc": { "start": { - "line": 1, + "line": 155, "column": 20 }, "end": { - "line": 1, - "column": 46 + "line": 155, + "column": 45 } } }, @@ -44808,25 +63031,25 @@ "binop": null, "updateContext": null }, - "start": 46, - "end": 47, + "start": 5309, + "end": 5310, "loc": { "start": { - "line": 1, - "column": 46 + "line": 155, + "column": 45 }, "end": { - "line": 1, - "column": 47 + "line": 155, + "column": 46 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "switch", + "keyword": "switch", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44835,23 +63058,23 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 48, - "end": 54, + "value": "switch", + "start": 5315, + "end": 5321, "loc": { "start": { - "line": 2, - "column": 0 + "line": 156, + "column": 4 }, "end": { - "line": 2, - "column": 6 + "line": 156, + "column": 10 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -44861,16 +63084,16 @@ "postfix": false, "binop": null }, - "start": 55, - "end": 56, + "start": 5322, + "end": 5323, "loc": { "start": { - "line": 2, - "column": 7 + "line": 156, + "column": 11 }, "end": { - "line": 2, - "column": 8 + "line": 156, + "column": 12 } } }, @@ -44886,23 +63109,23 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 56, - "end": 60, + "value": "texture", + "start": 5323, + "end": 5330, "loc": { "start": { - "line": 2, - "column": 8 + "line": 156, + "column": 12 }, "end": { - "line": 2, - "column": 12 + "line": 156, + "column": 19 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -44910,18 +63133,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 60, - "end": 61, + "start": 5330, + "end": 5331, "loc": { "start": { - "line": 2, - "column": 12 + "line": 156, + "column": 19 }, "end": { - "line": 2, - "column": 13 + "line": 156, + "column": 20 } } }, @@ -44937,25 +63161,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 62, - "end": 66, + "value": "sampler", + "start": 5331, + "end": 5338, "loc": { "start": { - "line": 2, - "column": 14 + "line": 156, + "column": 20 }, "end": { - "line": 2, - "column": 18 + "line": 156, + "column": 27 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -44964,71 +63188,67 @@ "binop": null, "updateContext": null }, - "value": "../lib/math.js", - "start": 67, - "end": 83, + "start": 5338, + "end": 5339, "loc": { "start": { - "line": 2, - "column": 19 + "line": 156, + "column": 27 }, "end": { - "line": 2, - "column": 35 + "line": 156, + "column": 28 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 83, - "end": 84, + "value": "minFilter", + "start": 5339, + "end": 5348, "loc": { "start": { - "line": 2, - "column": 35 + "line": 156, + "column": 28 }, "end": { - "line": 2, - "column": 36 + "line": 156, + "column": 37 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 86, - "end": 92, + "start": 5348, + "end": 5349, "loc": { "start": { - "line": 4, - "column": 0 + "line": 156, + "column": 37 }, "end": { - "line": 4, - "column": 6 + "line": 156, + "column": 38 } } }, @@ -45044,99 +63264,103 @@ "postfix": false, "binop": null }, - "start": 93, - "end": 94, + "start": 5350, + "end": 5351, "loc": { "start": { - "line": 4, - "column": 7 + "line": 156, + "column": 39 }, "end": { - "line": 4, - "column": 8 + "line": 156, + "column": 40 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parse", - "start": 94, - "end": 99, + "value": "case", + "start": 5360, + "end": 5364, "loc": { "start": { - "line": 4, + "line": 157, "column": 8 }, "end": { - "line": 4, - "column": 13 + "line": 157, + "column": 12 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 99, - "end": 100, + "value": 9728, + "start": 5365, + "end": 5369, "loc": { "start": { - "line": 4, + "line": 157, "column": 13 }, "end": { - "line": 4, - "column": 14 + "line": 157, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 101, - "end": 105, + "start": 5369, + "end": 5370, "loc": { "start": { - "line": 4, - "column": 15 + "line": 157, + "column": 17 }, "end": { - "line": 4, - "column": 19 + "line": 157, + "column": 18 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45144,53 +63368,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "@loaders.gl/core", - "start": 106, - "end": 124, + "value": "minFilter", + "start": 5383, + "end": 5392, "loc": { "start": { - "line": 4, - "column": 20 + "line": 158, + "column": 12 }, "end": { - "line": 4, - "column": 38 + "line": 158, + "column": 21 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 124, - "end": 125, + "value": "=", + "start": 5393, + "end": 5394, "loc": { "start": { - "line": 4, - "column": 38 + "line": 158, + "column": 22 }, "end": { - "line": 4, - "column": 39 + "line": 158, + "column": 23 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45198,128 +63421,133 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 126, - "end": 132, + "value": "NearestFilter", + "start": 5395, + "end": 5408, "loc": { "start": { - "line": 5, - "column": 0 + "line": 158, + "column": 24 }, "end": { - "line": 5, - "column": 6 + "line": 158, + "column": 37 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 133, - "end": 134, + "start": 5408, + "end": 5409, "loc": { "start": { - "line": 5, - "column": 7 + "line": 158, + "column": 37 }, "end": { - "line": 5, - "column": 8 + "line": 158, + "column": 38 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "GLTFLoader", - "start": 134, - "end": 144, + "value": "break", + "start": 5422, + "end": 5427, "loc": { "start": { - "line": 5, - "column": 8 + "line": 159, + "column": 12 }, "end": { - "line": 5, - "column": 18 + "line": 159, + "column": 17 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 144, - "end": 145, + "start": 5427, + "end": 5428, "loc": { "start": { - "line": 5, - "column": 18 + "line": 159, + "column": 17 }, "end": { - "line": 5, - "column": 19 + "line": 159, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 146, - "end": 150, + "value": "case", + "start": 5437, + "end": 5441, "loc": { "start": { - "line": 5, - "column": 20 + "line": 160, + "column": 8 }, "end": { - "line": 5, - "column": 24 + "line": 160, + "column": 12 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45330,23 +63558,23 @@ "binop": null, "updateContext": null }, - "value": "@loaders.gl/gltf", - "start": 151, - "end": 169, + "value": 9729, + "start": 5442, + "end": 5446, "loc": { "start": { - "line": 5, - "column": 25 + "line": 160, + "column": 13 }, "end": { - "line": 5, - "column": 43 + "line": 160, + "column": 17 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -45357,23 +63585,22 @@ "binop": null, "updateContext": null }, - "start": 169, - "end": 170, + "start": 5446, + "end": 5447, "loc": { "start": { - "line": 5, - "column": 43 + "line": 160, + "column": 17 }, "end": { - "line": 5, - "column": 44 + "line": 160, + "column": 18 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45381,27 +63608,53 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "minFilter", + "start": 5460, + "end": 5469, + "loc": { + "start": { + "line": 161, + "column": 12 + }, + "end": { + "line": 161, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "import", - "start": 171, - "end": 177, + "value": "=", + "start": 5470, + "end": 5471, "loc": { "start": { - "line": 6, - "column": 0 + "line": 161, + "column": 22 }, "end": { - "line": 6, - "column": 6 + "line": 161, + "column": 23 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -45410,49 +63663,51 @@ "postfix": false, "binop": null }, - "start": 178, - "end": 179, + "value": "LinearFilter", + "start": 5472, + "end": 5484, "loc": { "start": { - "line": 6, - "column": 7 + "line": 161, + "column": 24 }, "end": { - "line": 6, - "column": 8 + "line": 161, + "column": 36 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ClampToEdgeWrapping", - "start": 184, - "end": 203, + "start": 5484, + "end": 5485, "loc": { "start": { - "line": 7, - "column": 4 + "line": 161, + "column": 36 }, "end": { - "line": 7, - "column": 23 + "line": 161, + "column": 37 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "break", + "keyword": "break", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -45462,48 +63717,50 @@ "binop": null, "updateContext": null }, - "start": 203, - "end": 204, + "value": "break", + "start": 5498, + "end": 5503, "loc": { "start": { - "line": 7, - "column": 23 + "line": 162, + "column": 12 }, "end": { - "line": 7, - "column": 24 + "line": 162, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "LinearFilter", - "start": 209, - "end": 221, + "start": 5503, + "end": 5504, "loc": { "start": { - "line": 8, - "column": 4 + "line": 162, + "column": 17 }, "end": { - "line": 8, - "column": 16 + "line": 162, + "column": 18 } } }, { "type": { - "label": ",", + "label": "case", + "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -45514,22 +63771,23 @@ "binop": null, "updateContext": null }, - "start": 221, - "end": 222, + "value": "case", + "start": 5513, + "end": 5517, "loc": { "start": { - "line": 8, - "column": 16 + "line": 163, + "column": 8 }, "end": { - "line": 8, - "column": 17 + "line": 163, + "column": 12 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45537,25 +63795,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "LinearMipMapLinearFilter", - "start": 227, - "end": 251, + "value": 9984, + "start": 5518, + "end": 5522, "loc": { "start": { - "line": 9, - "column": 4 + "line": 163, + "column": 13 }, "end": { - "line": 9, - "column": 28 + "line": 163, + "column": 17 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -45566,16 +63825,16 @@ "binop": null, "updateContext": null }, - "start": 251, - "end": 252, + "start": 5522, + "end": 5523, "loc": { "start": { - "line": 9, - "column": 28 + "line": 163, + "column": 17 }, "end": { - "line": 9, - "column": 29 + "line": 163, + "column": 18 } } }, @@ -45591,43 +63850,44 @@ "postfix": false, "binop": null }, - "value": "LinearMipMapNearestFilter", - "start": 257, - "end": 282, + "value": "minFilter", + "start": 5536, + "end": 5545, "loc": { "start": { - "line": 10, - "column": 4 + "line": 164, + "column": 12 }, "end": { - "line": 10, - "column": 29 + "line": 164, + "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 282, - "end": 283, + "value": "=", + "start": 5546, + "end": 5547, "loc": { "start": { - "line": 10, - "column": 29 + "line": 164, + "column": 22 }, "end": { - "line": 10, - "column": 30 + "line": 164, + "column": 23 } } }, @@ -45643,23 +63903,23 @@ "postfix": false, "binop": null }, - "value": "MirroredRepeatWrapping", - "start": 288, - "end": 310, + "value": "NearestMipMapNearestFilter", + "start": 5548, + "end": 5574, "loc": { "start": { - "line": 11, - "column": 4 + "line": 164, + "column": 24 }, "end": { - "line": 11, - "column": 26 + "line": 164, + "column": 50 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -45670,48 +63930,50 @@ "binop": null, "updateContext": null }, - "start": 310, - "end": 311, + "start": 5574, + "end": 5575, "loc": { "start": { - "line": 11, - "column": 26 + "line": 164, + "column": 50 }, "end": { - "line": 11, - "column": 27 + "line": 164, + "column": 51 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "NearestFilter", - "start": 316, - "end": 329, + "value": "break", + "start": 5588, + "end": 5593, "loc": { "start": { - "line": 12, - "column": 4 + "line": 165, + "column": 12 }, "end": { - "line": 12, + "line": 165, "column": 17 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -45722,22 +63984,50 @@ "binop": null, "updateContext": null }, - "start": 329, - "end": 330, + "start": 5593, + "end": 5594, "loc": { "start": { - "line": 12, + "line": 165, "column": 17 }, "end": { - "line": 12, + "line": 165, "column": 18 } } }, { "type": { - "label": "name", + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 5603, + "end": 5607, + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 12 + } + } + }, + { + "type": { + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45745,25 +64035,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "NearestMipMapLinearFilter", - "start": 335, - "end": 360, + "value": 9985, + "start": 5608, + "end": 5612, "loc": { "start": { - "line": 13, - "column": 4 + "line": 166, + "column": 13 }, "end": { - "line": 13, - "column": 29 + "line": 166, + "column": 17 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -45774,16 +64065,16 @@ "binop": null, "updateContext": null }, - "start": 360, - "end": 361, + "start": 5612, + "end": 5613, "loc": { "start": { - "line": 13, - "column": 29 + "line": 166, + "column": 17 }, "end": { - "line": 13, - "column": 30 + "line": 166, + "column": 18 } } }, @@ -45799,43 +64090,44 @@ "postfix": false, "binop": null }, - "value": "NearestMipMapNearestFilter", - "start": 366, - "end": 392, + "value": "minFilter", + "start": 5626, + "end": 5635, "loc": { "start": { - "line": 14, - "column": 4 + "line": 167, + "column": 12 }, "end": { - "line": 14, - "column": 30 + "line": 167, + "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 392, - "end": 393, + "value": "=", + "start": 5636, + "end": 5637, "loc": { "start": { - "line": 14, - "column": 30 + "line": 167, + "column": 22 }, "end": { - "line": 14, - "column": 31 + "line": 167, + "column": 23 } } }, @@ -45851,76 +64143,79 @@ "postfix": false, "binop": null }, - "value": "RepeatWrapping", - "start": 398, - "end": 412, + "value": "LinearMipMapNearestFilter", + "start": 5638, + "end": 5663, "loc": { "start": { - "line": 15, - "column": 4 + "line": 167, + "column": 24 }, "end": { - "line": 15, - "column": 18 + "line": 167, + "column": 49 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 413, - "end": 414, + "start": 5663, + "end": 5664, "loc": { "start": { - "line": 16, - "column": 0 + "line": 167, + "column": 49 }, "end": { - "line": 16, - "column": 1 + "line": 167, + "column": 50 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 415, - "end": 419, + "value": "break", + "start": 5677, + "end": 5682, "loc": { "start": { - "line": 16, - "column": 2 + "line": 168, + "column": 12 }, "end": { - "line": 16, - "column": 6 + "line": 168, + "column": 17 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -45929,23 +64224,23 @@ "binop": null, "updateContext": null }, - "value": "../constants.js", - "start": 420, - "end": 437, + "start": 5682, + "end": 5683, "loc": { "start": { - "line": 16, - "column": 7 + "line": 168, + "column": 17 }, "end": { - "line": 16, - "column": 24 + "line": 168, + "column": 18 } } }, { "type": { - "label": ";", + "label": "case", + "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -45956,39 +64251,23 @@ "binop": null, "updateContext": null }, - "start": 437, - "end": 438, - "loc": { - "start": { - "line": 16, - "column": 24 - }, - "end": { - "line": 16, - "column": 25 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @desc Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n *\n * * Supports ````.glb```` and textures\n * * For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {ArrayBuffer} params.data The glTF.\n * @param {String} [params.baseUri] The base URI used to load this glTF, if any. For resolving relative uris to linked resources.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeTextures=true] Whether to parse textures.\n * @param {Boolean} [params.includeNormals=true] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the glTF.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when glTF has been parsed.\n ", - "start": 440, - "end": 2327, + "value": "case", + "start": 5692, + "end": 5696, "loc": { "start": { - "line": 18, - "column": 0 + "line": 169, + "column": 8 }, "end": { - "line": 59, - "column": 3 + "line": 169, + "column": 12 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -45996,52 +64275,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 2328, - "end": 2336, + "value": 9986, + "start": 5697, + "end": 5701, "loc": { "start": { - "line": 60, - "column": 0 + "line": 169, + "column": 13 }, "end": { - "line": 60, - "column": 8 + "line": 169, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parseGLTFIntoXKTModel", - "start": 2337, - "end": 2358, + "start": 5701, + "end": 5702, "loc": { "start": { - "line": 60, - "column": 9 + "line": 169, + "column": 17 }, "end": { - "line": 60, - "column": 30 + "line": 169, + "column": 18 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -46050,41 +64330,44 @@ "postfix": false, "binop": null }, - "start": 2358, - "end": 2359, + "value": "minFilter", + "start": 5715, + "end": 5724, "loc": { "start": { - "line": 60, - "column": 30 + "line": 170, + "column": 12 }, "end": { - "line": 60, - "column": 31 + "line": 170, + "column": 21 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2359, - "end": 2360, + "value": "=", + "start": 5725, + "end": 5726, "loc": { "start": { - "line": 60, - "column": 31 + "line": 170, + "column": 22 }, "end": { - "line": 60, - "column": 32 + "line": 170, + "column": 23 } } }, @@ -46100,23 +64383,23 @@ "postfix": false, "binop": null }, - "value": "data", - "start": 2396, - "end": 2400, + "value": "NearestMipMapLinearFilter", + "start": 5727, + "end": 5752, "loc": { "start": { - "line": 61, - "column": 35 + "line": 170, + "column": 24 }, "end": { - "line": 61, - "column": 39 + "line": 170, + "column": 49 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -46127,48 +64410,50 @@ "binop": null, "updateContext": null }, - "start": 2400, - "end": 2401, + "start": 5752, + "end": 5753, "loc": { "start": { - "line": 61, - "column": 39 + "line": 170, + "column": 49 }, "end": { - "line": 61, - "column": 40 + "line": 170, + "column": 50 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "baseUri", - "start": 2437, - "end": 2444, + "value": "break", + "start": 5766, + "end": 5771, "loc": { "start": { - "line": 62, - "column": 35 + "line": 171, + "column": 12 }, "end": { - "line": 62, - "column": 42 + "line": 171, + "column": 17 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -46179,48 +64464,23 @@ "binop": null, "updateContext": null }, - "start": 2444, - "end": 2445, - "loc": { - "start": { - "line": 62, - "column": 42 - }, - "end": { - "line": 62, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "xktModel", - "start": 2481, - "end": 2489, + "start": 5771, + "end": 5772, "loc": { "start": { - "line": 63, - "column": 35 + "line": 171, + "column": 17 }, "end": { - "line": 63, - "column": 43 + "line": 171, + "column": 18 } } }, { "type": { - "label": ",", + "label": "case", + "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -46231,22 +64491,23 @@ "binop": null, "updateContext": null }, - "start": 2489, - "end": 2490, + "value": "case", + "start": 5781, + "end": 5785, "loc": { "start": { - "line": 63, - "column": 43 + "line": 172, + "column": 8 }, "end": { - "line": 63, - "column": 44 + "line": 172, + "column": 12 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46254,25 +64515,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "metaModelData", - "start": 2526, - "end": 2539, + "value": 9987, + "start": 5786, + "end": 5790, "loc": { "start": { - "line": 64, - "column": 35 + "line": 172, + "column": 13 }, "end": { - "line": 64, - "column": 48 + "line": 172, + "column": 17 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -46283,16 +64545,16 @@ "binop": null, "updateContext": null }, - "start": 2539, - "end": 2540, + "start": 5790, + "end": 5791, "loc": { "start": { - "line": 64, - "column": 48 + "line": 172, + "column": 17 }, "end": { - "line": 64, - "column": 49 + "line": 172, + "column": 18 } } }, @@ -46308,17 +64570,17 @@ "postfix": false, "binop": null }, - "value": "includeTextures", - "start": 2576, - "end": 2591, + "value": "minFilter", + "start": 5804, + "end": 5813, "loc": { "start": { - "line": 65, - "column": 35 + "line": 173, + "column": 12 }, "end": { - "line": 65, - "column": 50 + "line": 173, + "column": 21 } } }, @@ -46336,23 +64598,22 @@ "updateContext": null }, "value": "=", - "start": 2592, - "end": 2593, + "start": 5814, + "end": 5815, "loc": { "start": { - "line": 65, - "column": 51 + "line": 173, + "column": 22 }, "end": { - "line": 65, - "column": 52 + "line": 173, + "column": 23 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46360,26 +64621,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 2594, - "end": 2598, + "value": "LinearMipMapLinearFilter", + "start": 5816, + "end": 5840, "loc": { "start": { - "line": 65, - "column": 53 + "line": 173, + "column": 24 }, "end": { - "line": 65, - "column": 57 + "line": 173, + "column": 48 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -46390,104 +64650,103 @@ "binop": null, "updateContext": null }, - "start": 2598, - "end": 2599, + "start": 5840, + "end": 5841, "loc": { "start": { - "line": 65, - "column": 57 + "line": 173, + "column": 48 }, "end": { - "line": 65, - "column": 58 + "line": 173, + "column": 49 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includeNormals", - "start": 2635, - "end": 2649, + "value": "break", + "start": 5854, + "end": 5859, "loc": { "start": { - "line": 66, - "column": 35 + "line": 174, + "column": 12 }, "end": { - "line": 66, - "column": 49 + "line": 174, + "column": 17 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2650, - "end": 2651, + "start": 5859, + "end": 5860, "loc": { "start": { - "line": 66, - "column": 50 + "line": 174, + "column": 17 }, "end": { - "line": 66, - "column": 51 + "line": 174, + "column": 18 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 2652, - "end": 2656, + "start": 5865, + "end": 5866, "loc": { "start": { - "line": 66, - "column": 52 + "line": 175, + "column": 4 }, "end": { - "line": 66, - "column": 56 + "line": 175, + "column": 5 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46497,16 +64756,17 @@ "binop": null, "updateContext": null }, - "start": 2656, - "end": 2657, + "value": "let", + "start": 5872, + "end": 5875, "loc": { "start": { - "line": 66, - "column": 56 + "line": 177, + "column": 4 }, "end": { - "line": 66, - "column": 57 + "line": 177, + "column": 7 } } }, @@ -46522,43 +64782,44 @@ "postfix": false, "binop": null }, - "value": "getAttachment", - "start": 2693, - "end": 2706, + "value": "magFilter", + "start": 5876, + "end": 5885, "loc": { "start": { - "line": 67, - "column": 35 + "line": 177, + "column": 8 }, "end": { - "line": 67, - "column": 48 + "line": 177, + "column": 17 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2706, - "end": 2707, + "value": "=", + "start": 5886, + "end": 5887, "loc": { "start": { - "line": 67, - "column": 48 + "line": 177, + "column": 18 }, "end": { - "line": 67, - "column": 49 + "line": 177, + "column": 19 } } }, @@ -46574,50 +64835,77 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 2743, - "end": 2748, + "value": "LinearFilter", + "start": 5888, + "end": 5900, "loc": { "start": { - "line": 68, - "column": 35 + "line": 177, + "column": 20 }, "end": { - "line": 68, - "column": 40 + "line": 177, + "column": 32 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2749, - "end": 2750, + "start": 5900, + "end": 5901, "loc": { "start": { - "line": 68, - "column": 41 + "line": 177, + "column": 32 }, "end": { - "line": 68, - "column": 42 + "line": 177, + "column": 33 } } }, { "type": { - "label": "{", + "label": "switch", + "keyword": "switch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "switch", + "start": 5906, + "end": 5912, + "loc": { + "start": { + "line": 178, + "column": 4 + }, + "end": { + "line": 178, + "column": 10 + } + } + }, + { + "type": { + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -46627,24 +64915,24 @@ "postfix": false, "binop": null }, - "start": 2751, - "end": 2752, + "start": 5913, + "end": 5914, "loc": { "start": { - "line": 68, - "column": 43 + "line": 178, + "column": 11 }, "end": { - "line": 68, - "column": 44 + "line": 178, + "column": 12 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46652,23 +64940,24 @@ "postfix": false, "binop": null }, - "start": 2752, - "end": 2753, + "value": "texture", + "start": 5914, + "end": 5921, "loc": { "start": { - "line": 68, - "column": 44 + "line": 178, + "column": 12 }, "end": { - "line": 68, - "column": 45 + "line": 178, + "column": 19 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -46678,16 +64967,16 @@ "binop": null, "updateContext": null }, - "start": 2753, - "end": 2754, + "start": 5921, + "end": 5922, "loc": { "start": { - "line": 68, - "column": 45 + "line": 178, + "column": 19 }, "end": { - "line": 68, - "column": 46 + "line": 178, + "column": 20 } } }, @@ -46703,23 +64992,23 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 2790, - "end": 2793, + "value": "sampler", + "start": 5922, + "end": 5929, "loc": { "start": { - "line": 69, - "column": 35 + "line": 178, + "column": 20 }, "end": { - "line": 69, - "column": 38 + "line": 178, + "column": 27 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -46727,26 +65016,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2825, - "end": 2826, + "start": 5929, + "end": 5930, "loc": { "start": { - "line": 70, - "column": 31 + "line": 178, + "column": 27 }, "end": { - "line": 70, - "column": 32 + "line": 178, + "column": 28 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46754,24 +65044,25 @@ "postfix": false, "binop": null }, - "start": 2826, - "end": 2827, + "value": "magFilter", + "start": 5930, + "end": 5939, "loc": { "start": { - "line": 70, - "column": 32 + "line": 178, + "column": 28 }, "end": { - "line": 70, - "column": 33 + "line": 178, + "column": 37 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46779,53 +65070,50 @@ "postfix": false, "binop": null }, - "start": 2828, - "end": 2829, + "start": 5939, + "end": 5940, "loc": { "start": { - "line": 70, - "column": 34 + "line": 178, + "column": 37 }, "end": { - "line": 70, - "column": 35 + "line": 178, + "column": 38 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 2835, - "end": 2841, + "start": 5941, + "end": 5942, "loc": { "start": { - "line": 72, - "column": 4 + "line": 178, + "column": 39 }, "end": { - "line": 72, - "column": 10 + "line": 178, + "column": 40 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "case", + "keyword": "case", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46834,23 +65122,23 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 2842, - "end": 2845, + "value": "case", + "start": 5951, + "end": 5955, "loc": { "start": { - "line": 72, - "column": 11 + "line": 179, + "column": 8 }, "end": { - "line": 72, - "column": 14 + "line": 179, + "column": 12 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46858,51 +65146,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Promise", - "start": 2846, - "end": 2853, + "value": 9728, + "start": 5956, + "end": 5960, "loc": { "start": { - "line": 72, - "column": 15 + "line": 179, + "column": 13 }, "end": { - "line": 72, - "column": 22 + "line": 179, + "column": 17 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2853, - "end": 2854, + "start": 5960, + "end": 5961, "loc": { "start": { - "line": 72, - "column": 22 + "line": 179, + "column": 17 }, "end": { - "line": 72, - "column": 23 + "line": 179, + "column": 18 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46912,42 +65201,44 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 2854, - "end": 2862, + "value": "magFilter", + "start": 5974, + "end": 5983, "loc": { "start": { - "line": 72, - "column": 23 + "line": 180, + "column": 12 }, "end": { - "line": 72, - "column": 31 + "line": 180, + "column": 21 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2863, - "end": 2864, + "value": "=", + "start": 5984, + "end": 5985, "loc": { "start": { - "line": 72, - "column": 32 + "line": 180, + "column": 22 }, "end": { - "line": 72, - "column": 33 + "line": 180, + "column": 23 } } }, @@ -46963,23 +65254,23 @@ "postfix": false, "binop": null }, - "value": "resolve", - "start": 2864, - "end": 2871, + "value": "NearestFilter", + "start": 5986, + "end": 5999, "loc": { "start": { - "line": 72, - "column": 33 + "line": 180, + "column": 24 }, "end": { - "line": 72, - "column": 40 + "line": 180, + "column": 37 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -46990,48 +65281,23 @@ "binop": null, "updateContext": null }, - "start": 2871, - "end": 2872, - "loc": { - "start": { - "line": 72, - "column": 40 - }, - "end": { - "line": 72, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "reject", - "start": 2873, - "end": 2879, + "start": 5999, + "end": 6000, "loc": { "start": { - "line": 72, - "column": 42 + "line": 180, + "column": 37 }, "end": { - "line": 72, - "column": 48 + "line": 180, + "column": 38 } } }, { "type": { - "label": ")", + "label": "break", + "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47039,51 +65305,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2879, - "end": 2880, + "value": "break", + "start": 6013, + "end": 6018, "loc": { "start": { - "line": 72, - "column": 48 + "line": 181, + "column": 12 }, "end": { - "line": 72, - "column": 49 + "line": 181, + "column": 17 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2881, - "end": 2882, + "start": 6018, + "end": 6019, "loc": { "start": { - "line": 72, - "column": 50 + "line": 181, + "column": 17 }, "end": { - "line": 72, - "column": 51 + "line": 181, + "column": 18 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "case", + "keyword": "case", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47093,69 +65362,70 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2892, - "end": 2894, + "value": "case", + "start": 6028, + "end": 6032, "loc": { "start": { - "line": 74, + "line": 182, "column": 8 }, "end": { - "line": 74, - "column": 10 + "line": 182, + "column": 12 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2895, - "end": 2896, + "value": 9729, + "start": 6033, + "end": 6037, "loc": { "start": { - "line": 74, - "column": 11 + "line": 182, + "column": 13 }, "end": { - "line": 74, - "column": 12 + "line": 182, + "column": 17 } } }, { "type": { - "label": "prefix", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 2896, - "end": 2897, + "start": 6037, + "end": 6038, "loc": { "start": { - "line": 74, - "column": 12 + "line": 182, + "column": 17 }, "end": { - "line": 74, - "column": 13 + "line": 182, + "column": 18 } } }, @@ -47171,49 +65441,51 @@ "postfix": false, "binop": null }, - "value": "data", - "start": 2897, - "end": 2901, + "value": "magFilter", + "start": 6051, + "end": 6060, "loc": { "start": { - "line": 74, - "column": 13 + "line": 183, + "column": 12 }, "end": { - "line": 74, - "column": 17 + "line": 183, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2901, - "end": 2902, + "value": "=", + "start": 6061, + "end": 6062, "loc": { "start": { - "line": 74, - "column": 17 + "line": 183, + "column": 22 }, "end": { - "line": 74, - "column": 18 + "line": 183, + "column": 23 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47222,75 +65494,79 @@ "postfix": false, "binop": null }, - "start": 2903, - "end": 2904, + "value": "LinearFilter", + "start": 6063, + "end": 6075, "loc": { "start": { - "line": 74, - "column": 19 + "line": 183, + "column": 24 }, "end": { - "line": 74, - "column": 20 + "line": 183, + "column": 36 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "reject", - "start": 2917, - "end": 2923, + "start": 6075, + "end": 6076, "loc": { "start": { - "line": 75, - "column": 12 + "line": 183, + "column": 36 }, "end": { - "line": 75, - "column": 18 + "line": 183, + "column": 37 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "break", + "keyword": "break", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2923, - "end": 2924, + "value": "break", + "start": 6089, + "end": 6094, "loc": { "start": { - "line": 75, - "column": 18 + "line": 184, + "column": 12 }, "end": { - "line": 75, - "column": 19 + "line": 184, + "column": 17 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47299,23 +65575,22 @@ "binop": null, "updateContext": null }, - "value": "Argument expected: data", - "start": 2924, - "end": 2949, + "start": 6094, + "end": 6095, "loc": { "start": { - "line": 75, - "column": 19 + "line": 184, + "column": 17 }, "end": { - "line": 75, - "column": 44 + "line": 184, + "column": 18 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47325,23 +65600,24 @@ "postfix": false, "binop": null }, - "start": 2949, - "end": 2950, + "start": 6100, + "end": 6101, "loc": { "start": { - "line": 75, - "column": 44 + "line": 185, + "column": 4 }, "end": { - "line": 75, - "column": 45 + "line": 185, + "column": 5 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47351,78 +65627,78 @@ "binop": null, "updateContext": null }, - "start": 2950, - "end": 2951, + "value": "let", + "start": 6107, + "end": 6110, "loc": { "start": { - "line": 75, - "column": 45 + "line": 187, + "column": 4 }, "end": { - "line": 75, - "column": 46 + "line": 187, + "column": 7 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 2964, - "end": 2970, + "value": "wrapS", + "start": 6111, + "end": 6116, "loc": { "start": { - "line": 76, - "column": 12 + "line": 187, + "column": 8 }, "end": { - "line": 76, - "column": 18 + "line": 187, + "column": 13 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2970, - "end": 2971, + "value": "=", + "start": 6117, + "end": 6118, "loc": { "start": { - "line": 76, - "column": 18 + "line": 187, + "column": 14 }, "end": { - "line": 76, - "column": 19 + "line": 187, + "column": 15 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47430,24 +65706,24 @@ "postfix": false, "binop": null }, - "start": 2980, - "end": 2981, + "value": "RepeatWrapping", + "start": 6119, + "end": 6133, "loc": { "start": { - "line": 77, - "column": 8 + "line": 187, + "column": 16 }, "end": { - "line": 77, - "column": 9 + "line": 187, + "column": 30 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -47457,69 +65733,69 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2991, - "end": 2993, + "start": 6133, + "end": 6134, "loc": { "start": { - "line": 79, - "column": 8 + "line": 187, + "column": 30 }, "end": { - "line": 79, - "column": 10 + "line": 187, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "switch", + "keyword": "switch", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2994, - "end": 2995, + "value": "switch", + "start": 6139, + "end": 6145, "loc": { "start": { - "line": 79, - "column": 11 + "line": 188, + "column": 4 }, "end": { - "line": 79, - "column": 12 + "line": 188, + "column": 10 } } }, { "type": { - "label": "prefix", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 2995, - "end": 2996, + "start": 6146, + "end": 6147, "loc": { "start": { - "line": 79, - "column": 12 + "line": 188, + "column": 11 }, "end": { - "line": 79, - "column": 13 + "line": 188, + "column": 12 } } }, @@ -47535,23 +65811,23 @@ "postfix": false, "binop": null }, - "value": "xktModel", - "start": 2996, - "end": 3004, + "value": "texture", + "start": 6147, + "end": 6154, "loc": { "start": { - "line": 79, - "column": 13 + "line": 188, + "column": 12 }, "end": { - "line": 79, - "column": 21 + "line": 188, + "column": 19 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47559,25 +65835,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3004, - "end": 3005, + "start": 6154, + "end": 6155, "loc": { "start": { - "line": 79, - "column": 21 + "line": 188, + "column": 19 }, "end": { - "line": 79, - "column": 22 + "line": 188, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47586,49 +65863,50 @@ "postfix": false, "binop": null }, - "start": 3006, - "end": 3007, + "value": "sampler", + "start": 6155, + "end": 6162, "loc": { "start": { - "line": 79, - "column": 23 + "line": 188, + "column": 20 }, "end": { - "line": 79, - "column": 24 + "line": 188, + "column": 27 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "reject", - "start": 3020, - "end": 3026, + "start": 6162, + "end": 6163, "loc": { "start": { - "line": 80, - "column": 12 + "line": 188, + "column": 27 }, "end": { - "line": 80, - "column": 18 + "line": 188, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47637,51 +65915,50 @@ "postfix": false, "binop": null }, - "start": 3026, - "end": 3027, + "value": "wrapS", + "start": 6163, + "end": 6168, "loc": { "start": { - "line": 80, - "column": 18 + "line": 188, + "column": 28 }, "end": { - "line": 80, - "column": 19 + "line": 188, + "column": 33 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Argument expected: xktModel", - "start": 3027, - "end": 3056, + "start": 6168, + "end": 6169, "loc": { "start": { - "line": 80, - "column": 19 + "line": 188, + "column": 33 }, "end": { - "line": 80, - "column": 48 + "line": 188, + "column": 34 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47689,22 +65966,23 @@ "postfix": false, "binop": null }, - "start": 3056, - "end": 3057, + "start": 6170, + "end": 6171, "loc": { "start": { - "line": 80, - "column": 48 + "line": 188, + "column": 35 }, "end": { - "line": 80, - "column": 49 + "line": 188, + "column": 36 } } }, { "type": { - "label": ";", + "label": "case", + "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -47715,25 +65993,25 @@ "binop": null, "updateContext": null }, - "start": 3057, - "end": 3058, + "value": "case", + "start": 6180, + "end": 6184, "loc": { "start": { - "line": 80, - "column": 49 + "line": 189, + "column": 8 }, "end": { - "line": 80, - "column": 50 + "line": 189, + "column": 12 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47742,23 +66020,23 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 3071, - "end": 3077, + "value": 33071, + "start": 6185, + "end": 6190, "loc": { "start": { - "line": 81, - "column": 12 + "line": 189, + "column": 13 }, "end": { - "line": 81, + "line": 189, "column": 18 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -47769,24 +66047,24 @@ "binop": null, "updateContext": null }, - "start": 3077, - "end": 3078, + "start": 6190, + "end": 6191, "loc": { "start": { - "line": 81, + "line": 189, "column": 18 }, "end": { - "line": 81, + "line": 189, "column": 19 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47794,129 +66072,132 @@ "postfix": false, "binop": null }, - "start": 3087, - "end": 3088, + "value": "wrapS", + "start": 6204, + "end": 6209, "loc": { "start": { - "line": 82, - "column": 8 + "line": 190, + "column": 12 }, "end": { - "line": 82, - "column": 9 + "line": 190, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "stats", - "start": 3098, - "end": 3103, + "value": "=", + "start": 6210, + "end": 6211, "loc": { "start": { - "line": 84, - "column": 8 + "line": 190, + "column": 18 }, "end": { - "line": 84, - "column": 13 + "line": 190, + "column": 19 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3103, - "end": 3104, + "value": "ClampToEdgeWrapping", + "start": 6212, + "end": 6231, "loc": { "start": { - "line": 84, - "column": 13 + "line": 190, + "column": 20 }, "end": { - "line": 84, - "column": 14 + "line": 190, + "column": 39 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "sourceFormat", - "start": 3104, - "end": 3116, + "start": 6231, + "end": 6232, "loc": { "start": { - "line": 84, - "column": 14 + "line": 190, + "column": 39 }, "end": { - "line": 84, - "column": 26 + "line": 190, + "column": 40 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "break", + "keyword": "break", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3117, - "end": 3118, + "value": "break", + "start": 6245, + "end": 6250, "loc": { "start": { - "line": 84, - "column": 27 + "line": 191, + "column": 12 }, "end": { - "line": 84, - "column": 28 + "line": 191, + "column": 17 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47925,23 +66206,23 @@ "binop": null, "updateContext": null }, - "value": "glTF", - "start": 3119, - "end": 3125, + "start": 6250, + "end": 6251, "loc": { "start": { - "line": 84, - "column": 29 + "line": 191, + "column": 17 }, "end": { - "line": 84, - "column": 35 + "line": 191, + "column": 18 } } }, { "type": { - "label": ";", + "label": "case", + "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -47952,22 +66233,23 @@ "binop": null, "updateContext": null }, - "start": 3125, - "end": 3126, + "value": "case", + "start": 6260, + "end": 6264, "loc": { "start": { - "line": 84, - "column": 35 + "line": 192, + "column": 8 }, "end": { - "line": 84, - "column": 36 + "line": 192, + "column": 12 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -47975,26 +66257,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "stats", - "start": 3135, - "end": 3140, + "value": 33648, + "start": 6265, + "end": 6270, "loc": { "start": { - "line": 85, - "column": 8 + "line": 192, + "column": 13 }, "end": { - "line": 85, - "column": 13 + "line": 192, + "column": 18 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -48004,16 +66287,16 @@ "binop": null, "updateContext": null }, - "start": 3140, - "end": 3141, + "start": 6270, + "end": 6271, "loc": { "start": { - "line": 85, - "column": 13 + "line": 192, + "column": 18 }, "end": { - "line": 85, - "column": 14 + "line": 192, + "column": 19 } } }, @@ -48029,17 +66312,17 @@ "postfix": false, "binop": null }, - "value": "schemaVersion", - "start": 3141, - "end": 3154, + "value": "wrapS", + "start": 6284, + "end": 6289, "loc": { "start": { - "line": 85, - "column": 14 + "line": 193, + "column": 12 }, "end": { - "line": 85, - "column": 27 + "line": 193, + "column": 17 } } }, @@ -48057,22 +66340,22 @@ "updateContext": null }, "value": "=", - "start": 3155, - "end": 3156, + "start": 6290, + "end": 6291, "loc": { "start": { - "line": 85, - "column": 28 + "line": 193, + "column": 18 }, "end": { - "line": 85, - "column": 29 + "line": 193, + "column": 19 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48080,20 +66363,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "2.0", - "start": 3157, - "end": 3162, + "value": "MirroredRepeatWrapping", + "start": 6292, + "end": 6314, "loc": { "start": { - "line": 85, - "column": 30 + "line": 193, + "column": 20 }, "end": { - "line": 85, - "column": 35 + "line": 193, + "column": 42 } } }, @@ -48110,48 +66392,23 @@ "binop": null, "updateContext": null }, - "start": 3162, - "end": 3163, - "loc": { - "start": { - "line": 85, - "column": 35 - }, - "end": { - "line": 85, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stats", - "start": 3172, - "end": 3177, + "start": 6314, + "end": 6315, "loc": { "start": { - "line": 86, - "column": 8 + "line": 193, + "column": 42 }, "end": { - "line": 86, - "column": 13 + "line": 193, + "column": 43 } } }, { "type": { - "label": ".", + "label": "break", + "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -48162,75 +66419,77 @@ "binop": null, "updateContext": null }, - "start": 3177, - "end": 3178, + "value": "break", + "start": 6328, + "end": 6333, "loc": { "start": { - "line": 86, - "column": 13 + "line": 194, + "column": 12 }, "end": { - "line": 86, - "column": 14 + "line": 194, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "title", - "start": 3178, - "end": 3183, + "start": 6333, + "end": 6334, "loc": { "start": { - "line": 86, - "column": 14 + "line": 194, + "column": 17 }, "end": { - "line": 86, - "column": 19 + "line": 194, + "column": 18 } } }, { "type": { - "label": "=", + "label": "case", + "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3184, - "end": 3185, + "value": "case", + "start": 6343, + "end": 6347, "loc": { "start": { - "line": 86, - "column": 20 + "line": 195, + "column": 8 }, "end": { - "line": 86, - "column": 21 + "line": 195, + "column": 12 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48241,23 +66500,23 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 3186, - "end": 3188, + "value": 10497, + "start": 6348, + "end": 6353, "loc": { "start": { - "line": 86, - "column": 22 + "line": 195, + "column": 13 }, "end": { - "line": 86, - "column": 24 + "line": 195, + "column": 18 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -48268,16 +66527,16 @@ "binop": null, "updateContext": null }, - "start": 3188, - "end": 3189, + "start": 6353, + "end": 6354, "loc": { "start": { - "line": 86, - "column": 24 + "line": 195, + "column": 18 }, "end": { - "line": 86, - "column": 25 + "line": 195, + "column": 19 } } }, @@ -48293,43 +66552,44 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 3198, - "end": 3203, + "value": "wrapS", + "start": 6367, + "end": 6372, "loc": { "start": { - "line": 87, - "column": 8 + "line": 196, + "column": 12 }, "end": { - "line": 87, - "column": 13 + "line": 196, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3203, - "end": 3204, + "value": "=", + "start": 6373, + "end": 6374, "loc": { "start": { - "line": 87, - "column": 13 + "line": 196, + "column": 18 }, "end": { - "line": 87, - "column": 14 + "line": 196, + "column": 19 } } }, @@ -48345,52 +66605,52 @@ "postfix": false, "binop": null }, - "value": "author", - "start": 3204, - "end": 3210, + "value": "RepeatWrapping", + "start": 6375, + "end": 6389, "loc": { "start": { - "line": 87, - "column": 14 + "line": 196, + "column": 20 }, "end": { - "line": 87, - "column": 20 + "line": 196, + "column": 34 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3211, - "end": 3212, + "start": 6389, + "end": 6390, "loc": { "start": { - "line": 87, - "column": 21 + "line": 196, + "column": 34 }, "end": { - "line": 87, - "column": 22 + "line": 196, + "column": 35 } } }, { "type": { - "label": "string", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48399,17 +66659,17 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 3213, - "end": 3215, + "value": "break", + "start": 6403, + "end": 6408, "loc": { "start": { - "line": 87, - "column": 23 + "line": 197, + "column": 12 }, "end": { - "line": 87, - "column": 25 + "line": 197, + "column": 17 } } }, @@ -48426,24 +66686,24 @@ "binop": null, "updateContext": null }, - "start": 3215, - "end": 3216, + "start": 6408, + "end": 6409, "loc": { "start": { - "line": 87, - "column": 25 + "line": 197, + "column": 17 }, "end": { - "line": 87, - "column": 26 + "line": 197, + "column": 18 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -48451,23 +66711,23 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 3225, - "end": 3230, + "start": 6414, + "end": 6415, "loc": { "start": { - "line": 88, - "column": 8 + "line": 198, + "column": 4 }, "end": { - "line": 88, - "column": 13 + "line": 198, + "column": 5 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -48478,16 +66738,17 @@ "binop": null, "updateContext": null }, - "start": 3230, - "end": 3231, + "value": "let", + "start": 6421, + "end": 6424, "loc": { "start": { - "line": 88, - "column": 13 + "line": 200, + "column": 4 }, "end": { - "line": 88, - "column": 14 + "line": 200, + "column": 7 } } }, @@ -48503,17 +66764,17 @@ "postfix": false, "binop": null }, - "value": "created", - "start": 3231, - "end": 3238, + "value": "wrapT", + "start": 6425, + "end": 6430, "loc": { "start": { - "line": 88, - "column": 14 + "line": 200, + "column": 8 }, "end": { - "line": 88, - "column": 21 + "line": 200, + "column": 13 } } }, @@ -48531,22 +66792,22 @@ "updateContext": null }, "value": "=", - "start": 3239, - "end": 3240, + "start": 6431, + "end": 6432, "loc": { "start": { - "line": 88, - "column": 22 + "line": 200, + "column": 14 }, "end": { - "line": 88, - "column": 23 + "line": 200, + "column": 15 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -48554,20 +66815,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 3241, - "end": 3243, + "value": "RepeatWrapping", + "start": 6433, + "end": 6447, "loc": { "start": { - "line": 88, - "column": 24 + "line": 200, + "column": 16 }, "end": { - "line": 88, - "column": 26 + "line": 200, + "column": 30 } } }, @@ -48584,68 +66844,69 @@ "binop": null, "updateContext": null }, - "start": 3243, - "end": 3244, + "start": 6447, + "end": 6448, "loc": { "start": { - "line": 88, - "column": 26 + "line": 200, + "column": 30 }, "end": { - "line": 88, - "column": 27 + "line": 200, + "column": 31 } } }, { "type": { - "label": "name", + "label": "switch", + "keyword": "switch", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "stats", - "start": 3253, - "end": 3258, + "value": "switch", + "start": 6453, + "end": 6459, "loc": { "start": { - "line": 89, - "column": 8 + "line": 201, + "column": 4 }, "end": { - "line": 89, - "column": 13 + "line": 201, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3258, - "end": 3259, + "start": 6460, + "end": 6461, "loc": { "start": { - "line": 89, - "column": 13 + "line": 201, + "column": 11 }, "end": { - "line": 89, - "column": 14 + "line": 201, + "column": 12 } } }, @@ -48661,78 +66922,76 @@ "postfix": false, "binop": null }, - "value": "numTriangles", - "start": 3259, - "end": 3271, + "value": "texture", + "start": 6461, + "end": 6468, "loc": { "start": { - "line": 89, - "column": 14 + "line": 201, + "column": 12 }, "end": { - "line": 89, - "column": 26 + "line": 201, + "column": 19 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3272, - "end": 3273, + "start": 6468, + "end": 6469, "loc": { "start": { - "line": 89, - "column": 27 + "line": 201, + "column": 19 }, "end": { - "line": 89, - "column": 28 + "line": 201, + "column": 20 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "postfix": false, + "binop": null }, - "value": 0, - "start": 3274, - "end": 3275, + "value": "sampler", + "start": 6469, + "end": 6476, "loc": { "start": { - "line": 89, - "column": 29 + "line": 201, + "column": 20 }, "end": { - "line": 89, - "column": 30 + "line": 201, + "column": 27 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -48742,16 +67001,16 @@ "binop": null, "updateContext": null }, - "start": 3275, - "end": 3276, + "start": 6476, + "end": 6477, "loc": { "start": { - "line": 89, - "column": 30 + "line": 201, + "column": 27 }, "end": { - "line": 89, - "column": 31 + "line": 201, + "column": 28 } } }, @@ -48767,23 +67026,23 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 3285, - "end": 3290, + "value": "wrapT", + "start": 6477, + "end": 6482, "loc": { "start": { - "line": 90, - "column": 8 + "line": 201, + "column": 28 }, "end": { - "line": 90, - "column": 13 + "line": 201, + "column": 33 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -48791,26 +67050,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3290, - "end": 3291, + "start": 6482, + "end": 6483, "loc": { "start": { - "line": 90, - "column": 13 + "line": 201, + "column": 33 }, "end": { - "line": 90, - "column": 14 + "line": 201, + "column": 34 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -48819,44 +67077,44 @@ "postfix": false, "binop": null }, - "value": "numVertices", - "start": 3291, - "end": 3302, + "start": 6484, + "end": 6485, "loc": { "start": { - "line": 90, - "column": 14 + "line": 201, + "column": 35 }, "end": { - "line": 90, - "column": 25 + "line": 201, + "column": 36 } } }, { "type": { - "label": "=", + "label": "case", + "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3303, - "end": 3304, + "value": "case", + "start": 6494, + "end": 6498, "loc": { "start": { - "line": 90, - "column": 26 + "line": 202, + "column": 8 }, "end": { - "line": 90, - "column": 27 + "line": 202, + "column": 12 } } }, @@ -48873,23 +67131,23 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 3305, - "end": 3306, + "value": 33071, + "start": 6499, + "end": 6504, "loc": { "start": { - "line": 90, - "column": 28 + "line": 202, + "column": 13 }, "end": { - "line": 90, - "column": 29 + "line": 202, + "column": 18 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -48900,16 +67158,16 @@ "binop": null, "updateContext": null }, - "start": 3306, - "end": 3307, + "start": 6504, + "end": 6505, "loc": { "start": { - "line": 90, - "column": 29 + "line": 202, + "column": 18 }, "end": { - "line": 90, - "column": 30 + "line": 202, + "column": 19 } } }, @@ -48925,43 +67183,44 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 3316, - "end": 3321, + "value": "wrapT", + "start": 6518, + "end": 6523, "loc": { "start": { - "line": 91, - "column": 8 + "line": 203, + "column": 12 }, "end": { - "line": 91, - "column": 13 + "line": 203, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3321, - "end": 3322, + "value": "=", + "start": 6524, + "end": 6525, "loc": { "start": { - "line": 91, - "column": 13 + "line": 203, + "column": 18 }, "end": { - "line": 91, - "column": 14 + "line": 203, + "column": 19 } } }, @@ -48977,52 +67236,52 @@ "postfix": false, "binop": null }, - "value": "numNormals", - "start": 3322, - "end": 3332, + "value": "ClampToEdgeWrapping", + "start": 6526, + "end": 6545, "loc": { "start": { - "line": 91, - "column": 14 + "line": 203, + "column": 20 }, "end": { - "line": 91, - "column": 24 + "line": 203, + "column": 39 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3333, - "end": 3334, + "start": 6545, + "end": 6546, "loc": { "start": { - "line": 91, - "column": 25 + "line": 203, + "column": 39 }, "end": { - "line": 91, - "column": 26 + "line": 203, + "column": 40 } } }, { "type": { - "label": "num", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49031,17 +67290,17 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 3335, - "end": 3336, + "value": "break", + "start": 6559, + "end": 6564, "loc": { "start": { - "line": 91, - "column": 27 + "line": 204, + "column": 12 }, "end": { - "line": 91, - "column": 28 + "line": 204, + "column": 17 } } }, @@ -49058,50 +67317,52 @@ "binop": null, "updateContext": null }, - "start": 3336, - "end": 3337, + "start": 6564, + "end": 6565, "loc": { "start": { - "line": 91, - "column": 28 + "line": 204, + "column": 17 }, "end": { - "line": 91, - "column": 29 + "line": 204, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "stats", - "start": 3346, - "end": 3351, + "value": "case", + "start": 6574, + "end": 6578, "loc": { "start": { - "line": 92, + "line": 205, "column": 8 }, "end": { - "line": 92, - "column": 13 + "line": 205, + "column": 12 } } }, { "type": { - "label": ".", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49110,16 +67371,43 @@ "binop": null, "updateContext": null }, - "start": 3351, - "end": 3352, + "value": 33648, + "start": 6579, + "end": 6584, "loc": { "start": { - "line": 92, + "line": 205, "column": 13 }, "end": { - "line": 92, - "column": 14 + "line": 205, + "column": 18 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6584, + "end": 6585, + "loc": { + "start": { + "line": 205, + "column": 18 + }, + "end": { + "line": 205, + "column": 19 } } }, @@ -49135,17 +67423,17 @@ "postfix": false, "binop": null }, - "value": "numUVs", - "start": 3352, - "end": 3358, + "value": "wrapT", + "start": 6598, + "end": 6603, "loc": { "start": { - "line": 92, - "column": 14 + "line": 206, + "column": 12 }, "end": { - "line": 92, - "column": 20 + "line": 206, + "column": 17 } } }, @@ -49163,22 +67451,22 @@ "updateContext": null }, "value": "=", - "start": 3359, - "end": 3360, + "start": 6604, + "end": 6605, "loc": { "start": { - "line": 92, - "column": 21 + "line": 206, + "column": 18 }, "end": { - "line": 92, - "column": 22 + "line": 206, + "column": 19 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -49186,20 +67474,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 3361, - "end": 3362, + "value": "MirroredRepeatWrapping", + "start": 6606, + "end": 6628, "loc": { "start": { - "line": 92, - "column": 23 + "line": 206, + "column": 20 }, "end": { - "line": 92, - "column": 24 + "line": 206, + "column": 42 } } }, @@ -49216,48 +67503,23 @@ "binop": null, "updateContext": null }, - "start": 3362, - "end": 3363, - "loc": { - "start": { - "line": 92, - "column": 24 - }, - "end": { - "line": 92, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stats", - "start": 3372, - "end": 3377, + "start": 6628, + "end": 6629, "loc": { "start": { - "line": 93, - "column": 8 + "line": 206, + "column": 42 }, "end": { - "line": 93, - "column": 13 + "line": 206, + "column": 43 } } }, { "type": { - "label": ".", + "label": "break", + "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -49268,69 +67530,71 @@ "binop": null, "updateContext": null }, - "start": 3377, - "end": 3378, + "value": "break", + "start": 6642, + "end": 6647, "loc": { "start": { - "line": 93, - "column": 13 + "line": 207, + "column": 12 }, "end": { - "line": 93, - "column": 14 + "line": 207, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "numTextures", - "start": 3378, - "end": 3389, + "start": 6647, + "end": 6648, "loc": { "start": { - "line": 93, - "column": 14 + "line": 207, + "column": 17 }, "end": { - "line": 93, - "column": 25 + "line": 207, + "column": 18 } } }, { "type": { - "label": "=", + "label": "case", + "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3390, - "end": 3391, + "value": "case", + "start": 6657, + "end": 6661, "loc": { "start": { - "line": 93, - "column": 26 + "line": 208, + "column": 8 }, "end": { - "line": 93, - "column": 27 + "line": 208, + "column": 12 } } }, @@ -49347,23 +67611,23 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 3392, - "end": 3393, + "value": 10497, + "start": 6662, + "end": 6667, "loc": { "start": { - "line": 93, - "column": 28 + "line": 208, + "column": 13 }, "end": { - "line": 93, - "column": 29 + "line": 208, + "column": 18 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -49374,16 +67638,16 @@ "binop": null, "updateContext": null }, - "start": 3393, - "end": 3394, + "start": 6667, + "end": 6668, "loc": { "start": { - "line": 93, - "column": 29 + "line": 208, + "column": 18 }, "end": { - "line": 93, - "column": 30 + "line": 208, + "column": 19 } } }, @@ -49399,43 +67663,44 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 3403, - "end": 3408, + "value": "wrapT", + "start": 6681, + "end": 6686, "loc": { "start": { - "line": 94, - "column": 8 + "line": 209, + "column": 12 }, "end": { - "line": 94, - "column": 13 + "line": 209, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3408, - "end": 3409, + "value": "=", + "start": 6687, + "end": 6688, "loc": { "start": { - "line": 94, - "column": 13 + "line": 209, + "column": 18 }, "end": { - "line": 94, - "column": 14 + "line": 209, + "column": 19 } } }, @@ -49451,52 +67716,52 @@ "postfix": false, "binop": null }, - "value": "numObjects", - "start": 3409, - "end": 3419, + "value": "RepeatWrapping", + "start": 6689, + "end": 6703, "loc": { "start": { - "line": 94, - "column": 14 + "line": 209, + "column": 20 }, "end": { - "line": 94, - "column": 24 + "line": 209, + "column": 34 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3420, - "end": 3421, + "start": 6703, + "end": 6704, "loc": { "start": { - "line": 94, - "column": 25 + "line": 209, + "column": 34 }, "end": { - "line": 94, - "column": 26 + "line": 209, + "column": 35 } } }, { "type": { - "label": "num", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49505,17 +67770,17 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 3422, - "end": 3423, + "value": "break", + "start": 6717, + "end": 6722, "loc": { "start": { - "line": 94, - "column": 27 + "line": 210, + "column": 12 }, "end": { - "line": 94, - "column": 28 + "line": 210, + "column": 17 } } }, @@ -49532,24 +67797,24 @@ "binop": null, "updateContext": null }, - "start": 3423, - "end": 3424, + "start": 6722, + "end": 6723, "loc": { "start": { - "line": 94, - "column": 28 + "line": 210, + "column": 17 }, "end": { - "line": 94, - "column": 29 + "line": 210, + "column": 18 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -49557,23 +67822,23 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 3433, - "end": 3438, + "start": 6728, + "end": 6729, "loc": { "start": { - "line": 95, - "column": 8 + "line": 211, + "column": 4 }, "end": { - "line": 95, - "column": 13 + "line": 211, + "column": 5 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -49584,16 +67849,17 @@ "binop": null, "updateContext": null }, - "start": 3438, - "end": 3439, + "value": "let", + "start": 6735, + "end": 6738, "loc": { "start": { - "line": 95, - "column": 13 + "line": 213, + "column": 4 }, "end": { - "line": 95, - "column": 14 + "line": 213, + "column": 7 } } }, @@ -49609,17 +67875,17 @@ "postfix": false, "binop": null }, - "value": "numGeometries", - "start": 3439, - "end": 3452, + "value": "wrapR", + "start": 6739, + "end": 6744, "loc": { "start": { - "line": 95, - "column": 14 + "line": 213, + "column": 8 }, "end": { - "line": 95, - "column": 27 + "line": 213, + "column": 13 } } }, @@ -49637,22 +67903,22 @@ "updateContext": null }, "value": "=", - "start": 3453, - "end": 3454, + "start": 6745, + "end": 6746, "loc": { "start": { - "line": 95, - "column": 28 + "line": 213, + "column": 14 }, "end": { - "line": 95, - "column": 29 + "line": 213, + "column": 15 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -49660,20 +67926,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 3455, - "end": 3456, + "value": "RepeatWrapping", + "start": 6747, + "end": 6761, "loc": { "start": { - "line": 95, - "column": 30 + "line": 213, + "column": 16 }, "end": { - "line": 95, - "column": 31 + "line": 213, + "column": 30 } } }, @@ -49690,42 +67955,44 @@ "binop": null, "updateContext": null }, - "start": 3456, - "end": 3457, + "start": 6761, + "end": 6762, "loc": { "start": { - "line": 95, - "column": 31 + "line": 213, + "column": 30 }, "end": { - "line": 95, - "column": 32 + "line": 213, + "column": 31 } } }, { "type": { - "label": "name", + "label": "switch", + "keyword": "switch", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parse", - "start": 3467, - "end": 3472, + "value": "switch", + "start": 6767, + "end": 6773, "loc": { "start": { - "line": 97, - "column": 8 + "line": 214, + "column": 4 }, "end": { - "line": 97, - "column": 13 + "line": 214, + "column": 10 } } }, @@ -49741,16 +68008,16 @@ "postfix": false, "binop": null }, - "start": 3472, - "end": 3473, + "start": 6774, + "end": 6775, "loc": { "start": { - "line": 97, - "column": 13 + "line": 214, + "column": 11 }, "end": { - "line": 97, - "column": 14 + "line": 214, + "column": 12 } } }, @@ -49766,24 +68033,24 @@ "postfix": false, "binop": null }, - "value": "data", - "start": 3473, - "end": 3477, + "value": "texture", + "start": 6775, + "end": 6782, "loc": { "start": { - "line": 97, - "column": 14 + "line": 214, + "column": 12 }, "end": { - "line": 97, - "column": 18 + "line": 214, + "column": 19 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -49793,16 +68060,16 @@ "binop": null, "updateContext": null }, - "start": 3477, - "end": 3478, + "start": 6782, + "end": 6783, "loc": { "start": { - "line": 97, - "column": 18 + "line": 214, + "column": 19 }, "end": { - "line": 97, - "column": 19 + "line": 214, + "column": 20 } } }, @@ -49818,24 +68085,24 @@ "postfix": false, "binop": null }, - "value": "GLTFLoader", - "start": 3479, - "end": 3489, + "value": "sampler", + "start": 6783, + "end": 6790, "loc": { "start": { - "line": 97, + "line": 214, "column": 20 }, "end": { - "line": 97, - "column": 30 + "line": 214, + "column": 27 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -49845,23 +68112,23 @@ "binop": null, "updateContext": null }, - "start": 3489, - "end": 3490, + "start": 6790, + "end": 6791, "loc": { "start": { - "line": 97, - "column": 30 + "line": 214, + "column": 27 }, "end": { - "line": 97, - "column": 31 + "line": 214, + "column": 28 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -49870,23 +68137,49 @@ "postfix": false, "binop": null }, - "start": 3491, - "end": 3492, + "value": "wrapR", + "start": 6791, + "end": 6796, "loc": { "start": { - "line": 97, - "column": 32 + "line": 214, + "column": 28 }, "end": { - "line": 97, + "line": 214, "column": 33 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6796, + "end": 6797, + "loc": { + "start": { + "line": 214, + "column": 33 + }, + "end": { + "line": 214, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -49895,74 +68188,78 @@ "postfix": false, "binop": null }, - "value": "baseUri", - "start": 3505, - "end": 3512, + "start": 6798, + "end": 6799, "loc": { "start": { - "line": 98, - "column": 12 + "line": 214, + "column": 35 }, "end": { - "line": 98, - "column": 19 + "line": 214, + "column": 36 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "case", + "keyword": "case", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3521, - "end": 3522, + "value": "case", + "start": 6808, + "end": 6812, "loc": { "start": { - "line": 99, + "line": 215, "column": 8 }, "end": { - "line": 99, - "column": 9 + "line": 215, + "column": 12 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3522, - "end": 3523, + "value": 33071, + "start": 6813, + "end": 6818, "loc": { "start": { - "line": 99, - "column": 9 + "line": 215, + "column": 13 }, "end": { - "line": 99, - "column": 10 + "line": 215, + "column": 18 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -49972,16 +68269,16 @@ "binop": null, "updateContext": null }, - "start": 3523, - "end": 3524, + "start": 6818, + "end": 6819, "loc": { "start": { - "line": 99, - "column": 10 + "line": 215, + "column": 18 }, "end": { - "line": 99, - "column": 11 + "line": 215, + "column": 19 } } }, @@ -49997,24 +68294,51 @@ "postfix": false, "binop": null }, - "value": "then", - "start": 3524, - "end": 3528, + "value": "wrapR", + "start": 6832, + "end": 6837, "loc": { "start": { - "line": 99, - "column": 11 + "line": 216, + "column": 12 }, "end": { - "line": 99, - "column": 15 + "line": 216, + "column": 17 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 6838, + "end": 6839, + "loc": { + "start": { + "line": 216, + "column": 18 + }, + "end": { + "line": 216, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -50023,98 +68347,104 @@ "postfix": false, "binop": null }, - "start": 3528, - "end": 3529, + "value": "ClampToEdgeWrapping", + "start": 6840, + "end": 6859, "loc": { "start": { - "line": 99, - "column": 15 + "line": 216, + "column": 20 }, "end": { - "line": 99, - "column": 16 + "line": 216, + "column": 39 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3529, - "end": 3530, + "start": 6859, + "end": 6860, "loc": { "start": { - "line": 99, - "column": 16 + "line": 216, + "column": 39 }, "end": { - "line": 99, - "column": 17 + "line": 216, + "column": 40 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "gltfData", - "start": 3530, - "end": 3538, + "value": "break", + "start": 6873, + "end": 6878, "loc": { "start": { - "line": 99, - "column": 17 + "line": 217, + "column": 12 }, "end": { - "line": 99, - "column": 25 + "line": 217, + "column": 17 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3538, - "end": 3539, + "start": 6878, + "end": 6879, "loc": { "start": { - "line": 99, - "column": 25 + "line": 217, + "column": 17 }, "end": { - "line": 99, - "column": 26 + "line": 217, + "column": 18 } } }, { "type": { - "label": "=>", + "label": "case", + "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -50125,49 +68455,51 @@ "binop": null, "updateContext": null }, - "start": 3540, - "end": 3542, + "value": "case", + "start": 6888, + "end": 6892, "loc": { "start": { - "line": 99, - "column": 27 + "line": 218, + "column": 8 }, "end": { - "line": 99, - "column": 29 + "line": 218, + "column": 12 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3543, - "end": 3544, + "value": 33648, + "start": 6893, + "end": 6898, "loc": { "start": { - "line": 99, - "column": 30 + "line": 218, + "column": 13 }, "end": { - "line": 99, - "column": 31 + "line": 218, + "column": 18 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -50177,17 +68509,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 3558, - "end": 3563, + "start": 6898, + "end": 6899, "loc": { "start": { - "line": 101, - "column": 12 + "line": 218, + "column": 18 }, "end": { - "line": 101, - "column": 17 + "line": 218, + "column": 19 } } }, @@ -50203,17 +68534,17 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 3564, - "end": 3567, + "value": "wrapR", + "start": 6912, + "end": 6917, "loc": { "start": { - "line": 101, - "column": 18 + "line": 219, + "column": 12 }, "end": { - "line": 101, - "column": 21 + "line": 219, + "column": 17 } } }, @@ -50231,23 +68562,23 @@ "updateContext": null }, "value": "=", - "start": 3568, - "end": 3569, + "start": 6918, + "end": 6919, "loc": { "start": { - "line": 101, - "column": 22 + "line": 219, + "column": 18 }, "end": { - "line": 101, - "column": 23 + "line": 219, + "column": 19 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -50256,48 +68587,77 @@ "postfix": false, "binop": null }, - "start": 3570, - "end": 3571, + "value": "MirroredRepeatWrapping", + "start": 6920, + "end": 6942, "loc": { "start": { - "line": 101, - "column": 24 + "line": 219, + "column": 20 }, "end": { - "line": 101, - "column": 25 + "line": 219, + "column": 42 } } }, { "type": { - "label": "name", + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 6942, + "end": 6943, + "loc": { + "start": { + "line": 219, + "column": 42 + }, + "end": { + "line": 219, + "column": 43 + } + } + }, + { + "type": { + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "gltfData", - "start": 3588, - "end": 3596, + "value": "break", + "start": 6956, + "end": 6961, "loc": { "start": { - "line": 102, - "column": 16 + "line": 220, + "column": 12 }, "end": { - "line": 102, - "column": 24 + "line": 220, + "column": 17 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -50308,22 +68668,50 @@ "binop": null, "updateContext": null }, - "start": 3596, - "end": 3597, + "start": 6961, + "end": 6962, "loc": { "start": { - "line": 102, - "column": 24 + "line": 220, + "column": 17 }, "end": { - "line": 102, - "column": 25 + "line": 220, + "column": 18 } } }, { "type": { - "label": "name", + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 6971, + "end": 6975, + "loc": { + "start": { + "line": 221, + "column": 8 + }, + "end": { + "line": 221, + "column": 12 + } + } + }, + { + "type": { + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -50331,19 +68719,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "metaModelCorrections", - "start": 3614, - "end": 3634, + "value": 10497, + "start": 6976, + "end": 6981, "loc": { "start": { - "line": 103, - "column": 16 + "line": 221, + "column": 13 }, "end": { - "line": 103, - "column": 36 + "line": 221, + "column": 18 } } }, @@ -50360,16 +68749,16 @@ "binop": null, "updateContext": null }, - "start": 3634, - "end": 3635, + "start": 6981, + "end": 6982, "loc": { "start": { - "line": 103, - "column": 36 + "line": 221, + "column": 18 }, "end": { - "line": 103, - "column": 37 + "line": 221, + "column": 19 } } }, @@ -50385,43 +68774,44 @@ "postfix": false, "binop": null }, - "value": "metaModelData", - "start": 3636, - "end": 3649, + "value": "wrapR", + "start": 6995, + "end": 7000, "loc": { "start": { - "line": 103, - "column": 38 + "line": 222, + "column": 12 }, "end": { - "line": 103, - "column": 51 + "line": 222, + "column": 17 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3649, - "end": 3650, + "value": "=", + "start": 7001, + "end": 7002, "loc": { "start": { - "line": 103, - "column": 51 + "line": 222, + "column": 18 }, "end": { - "line": 103, - "column": 52 + "line": 222, + "column": 19 } } }, @@ -50437,23 +68827,23 @@ "postfix": false, "binop": null }, - "value": "getAttachment", - "start": 3667, - "end": 3680, + "value": "RepeatWrapping", + "start": 7003, + "end": 7017, "loc": { "start": { - "line": 104, - "column": 16 + "line": 222, + "column": 20 }, "end": { - "line": 104, - "column": 29 + "line": 222, + "column": 34 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -50464,48 +68854,50 @@ "binop": null, "updateContext": null }, - "start": 3680, - "end": 3681, + "start": 7017, + "end": 7018, "loc": { "start": { - "line": 104, - "column": 29 + "line": 222, + "column": 34 }, "end": { - "line": 104, - "column": 30 + "line": 222, + "column": 35 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "getAttachment", - "start": 3682, - "end": 3695, + "value": "break", + "start": 7031, + "end": 7036, "loc": { "start": { - "line": 104, - "column": 31 + "line": 223, + "column": 12 }, "end": { - "line": 104, - "column": 44 + "line": 223, + "column": 17 } } }, { "type": { - "label": "||", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -50513,28 +68905,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 3696, - "end": 3698, + "start": 7036, + "end": 7037, "loc": { "start": { - "line": 104, - "column": 45 + "line": 223, + "column": 17 }, "end": { - "line": 104, - "column": 47 + "line": 223, + "column": 18 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50542,23 +68933,23 @@ "postfix": false, "binop": null }, - "start": 3699, - "end": 3700, + "start": 7042, + "end": 7043, "loc": { "start": { - "line": 104, - "column": 48 + "line": 224, + "column": 4 }, "end": { - "line": 104, - "column": 49 + "line": 224, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -50567,22 +68958,23 @@ "postfix": false, "binop": null }, - "start": 3700, - "end": 3701, + "value": "ctx", + "start": 7049, + "end": 7052, "loc": { "start": { - "line": 104, - "column": 49 + "line": 226, + "column": 4 }, "end": { - "line": 104, - "column": 50 + "line": 226, + "column": 7 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -50590,104 +68982,103 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3701, - "end": 3702, + "start": 7052, + "end": 7053, "loc": { "start": { - "line": 104, - "column": 50 + "line": 226, + "column": 7 }, "end": { - "line": 104, - "column": 51 + "line": 226, + "column": 8 } } }, { "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3703, - "end": 3705, + "value": "xktModel", + "start": 7053, + "end": 7061, "loc": { "start": { - "line": 104, - "column": 52 + "line": 226, + "column": 8 }, "end": { - "line": 104, - "column": 54 + "line": 226, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3706, - "end": 3707, + "start": 7061, + "end": 7062, "loc": { "start": { - "line": 104, - "column": 55 + "line": 226, + "column": 16 }, "end": { - "line": 104, - "column": 56 + "line": 226, + "column": 17 } } }, { "type": { - "label": "throw", - "keyword": "throw", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "throw", - "start": 3728, - "end": 3733, + "value": "createTexture", + "start": 7062, + "end": 7075, "loc": { "start": { - "line": 105, - "column": 20 + "line": 226, + "column": 17 }, "end": { - "line": 105, - "column": 25 + "line": 226, + "column": 30 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -50695,27 +69086,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 3734, - "end": 3737, + "start": 7075, + "end": 7076, "loc": { "start": { - "line": 105, - "column": 26 + "line": 226, + "column": 30 }, "end": { - "line": 105, - "column": 29 + "line": 226, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -50724,24 +69113,23 @@ "postfix": false, "binop": null }, - "value": "Error", - "start": 3738, - "end": 3743, + "start": 7076, + "end": 7077, "loc": { "start": { - "line": 105, - "column": 30 + "line": 226, + "column": 31 }, "end": { - "line": 105, - "column": 35 + "line": 226, + "column": 32 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -50750,24 +69138,25 @@ "postfix": false, "binop": null }, - "start": 3743, - "end": 3744, + "value": "textureId", + "start": 7086, + "end": 7095, "loc": { "start": { - "line": 105, - "column": 35 + "line": 227, + "column": 8 }, "end": { - "line": 105, - "column": 36 + "line": 227, + "column": 17 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50776,25 +69165,24 @@ "binop": null, "updateContext": null }, - "value": "You must define getAttachment() method to convert glTF with external resources", - "start": 3744, - "end": 3824, + "start": 7095, + "end": 7096, "loc": { "start": { - "line": 105, - "column": 36 + "line": 227, + "column": 17 }, "end": { - "line": 105, - "column": 116 + "line": 227, + "column": 18 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50802,49 +69190,51 @@ "postfix": false, "binop": null }, - "start": 3824, - "end": 3825, + "value": "textureId", + "start": 7097, + "end": 7106, "loc": { "start": { - "line": 105, - "column": 116 + "line": 227, + "column": 19 }, "end": { - "line": 105, - "column": 117 + "line": 227, + "column": 28 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3842, - "end": 3843, + "start": 7106, + "end": 7107, "loc": { "start": { - "line": 106, - "column": 16 + "line": 227, + "column": 28 }, "end": { - "line": 106, - "column": 17 + "line": 227, + "column": 29 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -50852,22 +69242,23 @@ "postfix": false, "binop": null }, - "start": 3843, - "end": 3844, + "value": "imageData", + "start": 7116, + "end": 7125, "loc": { "start": { - "line": 106, - "column": 17 + "line": 228, + "column": 8 }, "end": { - "line": 106, - "column": 18 + "line": 228, + "column": 17 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -50878,16 +69269,16 @@ "binop": null, "updateContext": null }, - "start": 3844, - "end": 3845, + "start": 7125, + "end": 7126, "loc": { "start": { - "line": 106, - "column": 18 + "line": 228, + "column": 17 }, "end": { - "line": 106, - "column": 19 + "line": 228, + "column": 18 } } }, @@ -50903,24 +69294,24 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 3862, - "end": 3865, + "value": "texture", + "start": 7127, + "end": 7134, "loc": { "start": { - "line": 107, - "column": 16 + "line": 228, + "column": 19 }, "end": { - "line": 107, - "column": 19 + "line": 228, + "column": 26 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -50930,23 +69321,23 @@ "binop": null, "updateContext": null }, - "start": 3865, - "end": 3866, + "start": 7134, + "end": 7135, "loc": { "start": { - "line": 107, - "column": 19 + "line": 228, + "column": 26 }, "end": { - "line": 107, - "column": 20 + "line": 228, + "column": 27 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -50955,16 +69346,43 @@ "postfix": false, "binop": null }, - "start": 3867, - "end": 3868, + "value": "source", + "start": 7135, + "end": 7141, "loc": { "start": { - "line": 107, - "column": 21 + "line": 228, + "column": 27 }, "end": { - "line": 107, - "column": 22 + "line": 228, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7141, + "end": 7142, + "loc": { + "start": { + "line": 228, + "column": 33 + }, + "end": { + "line": 228, + "column": 34 } } }, @@ -50980,23 +69398,23 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 3868, - "end": 3871, + "value": "image", + "start": 7142, + "end": 7147, "loc": { "start": { - "line": 107, - "column": 22 + "line": 228, + "column": 34 }, "end": { - "line": 107, - "column": 25 + "line": 228, + "column": 39 } } }, { "type": { - "label": "||", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -51004,27 +69422,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 3872, - "end": 3874, + "start": 7147, + "end": 7148, "loc": { "start": { - "line": 107, - "column": 26 + "line": 228, + "column": 39 }, "end": { - "line": 107, - "column": 28 + "line": 228, + "column": 40 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -51034,42 +69450,43 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 3875, - "end": 3883, + "value": "mediaType", + "start": 7157, + "end": 7166, "loc": { "start": { - "line": 107, - "column": 29 + "line": 229, + "column": 8 }, "end": { - "line": 107, - "column": 37 + "line": 229, + "column": 17 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3884, - "end": 3885, + "start": 7166, + "end": 7167, "loc": { "start": { - "line": 107, - "column": 38 + "line": 229, + "column": 17 }, "end": { - "line": 107, - "column": 39 + "line": 229, + "column": 18 } } }, @@ -51085,23 +69502,23 @@ "postfix": false, "binop": null }, - "value": "msg", - "start": 3885, - "end": 3888, + "value": "texture", + "start": 7168, + "end": 7175, "loc": { "start": { - "line": 107, - "column": 39 + "line": 229, + "column": 19 }, "end": { - "line": 107, - "column": 42 + "line": 229, + "column": 26 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -51109,25 +69526,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3888, - "end": 3889, + "start": 7175, + "end": 7176, "loc": { "start": { - "line": 107, - "column": 42 + "line": 229, + "column": 26 }, "end": { - "line": 107, - "column": 43 + "line": 229, + "column": 27 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -51136,22 +69554,23 @@ "postfix": false, "binop": null }, - "start": 3890, - "end": 3891, + "value": "source", + "start": 7176, + "end": 7182, "loc": { "start": { - "line": 107, - "column": 44 + "line": 229, + "column": 27 }, "end": { - "line": 107, - "column": 45 + "line": 229, + "column": 33 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -51159,26 +69578,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3908, - "end": 3909, + "start": 7182, + "end": 7183, "loc": { "start": { - "line": 108, - "column": 16 + "line": 229, + "column": 33 }, "end": { - "line": 108, - "column": 17 + "line": 229, + "column": 34 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51186,16 +69606,17 @@ "postfix": false, "binop": null }, - "start": 3909, - "end": 3910, + "value": "mediaType", + "start": 7183, + "end": 7192, "loc": { "start": { - "line": 108, - "column": 17 + "line": 229, + "column": 34 }, "end": { - "line": 108, - "column": 18 + "line": 229, + "column": 43 } } }, @@ -51212,16 +69633,16 @@ "binop": null, "updateContext": null }, - "start": 3910, - "end": 3911, + "start": 7192, + "end": 7193, "loc": { "start": { - "line": 108, - "column": 18 + "line": 229, + "column": 43 }, "end": { - "line": 108, - "column": 19 + "line": 229, + "column": 44 } } }, @@ -51237,17 +69658,17 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 3928, - "end": 3933, + "value": "compressed", + "start": 7202, + "end": 7212, "loc": { "start": { - "line": 109, - "column": 16 + "line": 230, + "column": 8 }, "end": { - "line": 109, - "column": 21 + "line": 230, + "column": 18 } } }, @@ -51264,23 +69685,23 @@ "binop": null, "updateContext": null }, - "start": 3933, - "end": 3934, + "start": 7212, + "end": 7213, "loc": { "start": { - "line": 109, - "column": 21 + "line": 230, + "column": 18 }, "end": { - "line": 109, - "column": 22 + "line": 230, + "column": 19 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -51288,44 +69709,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 3935, - "end": 3943, + "value": "true", + "start": 7214, + "end": 7218, "loc": { "start": { - "line": 109, - "column": 23 + "line": 230, + "column": 20 }, "end": { - "line": 109, - "column": 31 + "line": 230, + "column": 24 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3944, - "end": 3945, + "start": 7218, + "end": 7219, "loc": { "start": { - "line": 109, - "column": 32 + "line": 230, + "column": 24 }, "end": { - "line": 109, - "column": 33 + "line": 230, + "column": 25 } } }, @@ -51341,49 +69764,50 @@ "postfix": false, "binop": null }, - "value": "msg", - "start": 3945, - "end": 3948, + "value": "width", + "start": 7228, + "end": 7233, "loc": { "start": { - "line": 109, - "column": 33 + "line": 231, + "column": 8 }, "end": { - "line": 109, - "column": 36 + "line": 231, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3948, - "end": 3949, + "start": 7233, + "end": 7234, "loc": { "start": { - "line": 109, - "column": 36 + "line": 231, + "column": 13 }, "end": { - "line": 109, - "column": 37 + "line": 231, + "column": 14 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -51392,101 +69816,102 @@ "postfix": false, "binop": null }, - "start": 3950, - "end": 3951, + "value": "texture", + "start": 7235, + "end": 7242, "loc": { "start": { - "line": 109, - "column": 38 + "line": 231, + "column": 15 }, "end": { - "line": 109, - "column": 39 + "line": 231, + "column": 22 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "console", - "start": 3972, - "end": 3979, + "start": 7242, + "end": 7243, "loc": { "start": { - "line": 110, - "column": 20 + "line": 231, + "column": 22 }, "end": { - "line": 110, - "column": 27 + "line": 231, + "column": 23 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3979, - "end": 3980, + "value": "source", + "start": 7243, + "end": 7249, "loc": { "start": { - "line": 110, - "column": 27 + "line": 231, + "column": 23 }, "end": { - "line": 110, - "column": 28 + "line": 231, + "column": 29 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "error", - "start": 3980, - "end": 3985, + "start": 7249, + "end": 7250, "loc": { "start": { - "line": 110, - "column": 28 + "line": 231, + "column": 29 }, "end": { - "line": 110, - "column": 33 + "line": 231, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -51495,50 +69920,51 @@ "postfix": false, "binop": null }, - "start": 3985, - "end": 3986, + "value": "image", + "start": 7250, + "end": 7255, "loc": { "start": { - "line": 110, - "column": 33 + "line": 231, + "column": 30 }, "end": { - "line": 110, - "column": 34 + "line": 231, + "column": 35 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "msg", - "start": 3986, - "end": 3989, + "start": 7255, + "end": 7256, "loc": { "start": { - "line": 110, - "column": 34 + "line": 231, + "column": 35 }, "end": { - "line": 110, - "column": 37 + "line": 231, + "column": 36 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51546,22 +69972,23 @@ "postfix": false, "binop": null }, - "start": 3989, - "end": 3990, + "value": "width", + "start": 7256, + "end": 7261, "loc": { "start": { - "line": 110, - "column": 37 + "line": 231, + "column": 36 }, "end": { - "line": 110, - "column": 38 + "line": 231, + "column": 41 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -51572,24 +69999,24 @@ "binop": null, "updateContext": null }, - "start": 3990, - "end": 3991, + "start": 7261, + "end": 7262, "loc": { "start": { - "line": 110, - "column": 38 + "line": 231, + "column": 41 }, "end": { - "line": 110, - "column": 39 + "line": 231, + "column": 42 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51597,22 +70024,23 @@ "postfix": false, "binop": null }, - "start": 4008, - "end": 4009, + "value": "height", + "start": 7271, + "end": 7277, "loc": { "start": { - "line": 111, - "column": 16 + "line": 232, + "column": 8 }, "end": { - "line": 111, - "column": 17 + "line": 232, + "column": 14 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -51623,16 +70051,16 @@ "binop": null, "updateContext": null }, - "start": 4009, - "end": 4010, + "start": 7277, + "end": 7278, "loc": { "start": { - "line": 111, - "column": 17 + "line": 232, + "column": 14 }, "end": { - "line": 111, - "column": 18 + "line": 232, + "column": 15 } } }, @@ -51648,24 +70076,24 @@ "postfix": false, "binop": null }, - "value": "xktModel", - "start": 4027, - "end": 4035, + "value": "texture", + "start": 7279, + "end": 7286, "loc": { "start": { - "line": 112, + "line": 232, "column": 16 }, "end": { - "line": 112, - "column": 24 + "line": 232, + "column": 23 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -51675,16 +70103,16 @@ "binop": null, "updateContext": null }, - "start": 4035, - "end": 4036, + "start": 7286, + "end": 7287, "loc": { "start": { - "line": 112, - "column": 24 + "line": 232, + "column": 23 }, "end": { - "line": 112, - "column": 25 + "line": 232, + "column": 24 } } }, @@ -51700,24 +70128,24 @@ "postfix": false, "binop": null }, - "value": "includeNormals", - "start": 4053, - "end": 4067, + "value": "source", + "start": 7287, + "end": 7293, "loc": { "start": { - "line": 113, - "column": 16 + "line": 232, + "column": 24 }, "end": { - "line": 113, + "line": 232, "column": 30 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -51727,23 +70155,23 @@ "binop": null, "updateContext": null }, - "start": 4067, - "end": 4068, + "start": 7293, + "end": 7294, "loc": { "start": { - "line": 113, + "line": 232, "column": 30 }, "end": { - "line": 113, + "line": 232, "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -51752,78 +70180,77 @@ "postfix": false, "binop": null }, - "start": 4069, - "end": 4070, + "value": "image", + "start": 7294, + "end": 7299, "loc": { "start": { - "line": 113, - "column": 32 + "line": 232, + "column": 31 }, "end": { - "line": 113, - "column": 33 + "line": 232, + "column": 36 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includeNormals", - "start": 4070, - "end": 4084, + "start": 7299, + "end": 7300, "loc": { "start": { - "line": 113, - "column": 33 + "line": 232, + "column": 36 }, "end": { - "line": 113, - "column": 47 + "line": 232, + "column": 37 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "!==", - "start": 4085, - "end": 4088, + "value": "height", + "start": 7300, + "end": 7306, "loc": { "start": { - "line": 113, - "column": 48 + "line": 232, + "column": 37 }, "end": { - "line": 113, - "column": 51 + "line": 232, + "column": 43 } } }, { "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51832,25 +70259,24 @@ "binop": null, "updateContext": null }, - "value": "false", - "start": 4089, - "end": 4094, + "start": 7306, + "end": 7307, "loc": { "start": { - "line": 113, - "column": 52 + "line": 232, + "column": 43 }, "end": { - "line": 113, - "column": 57 + "line": 232, + "column": 44 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -51858,16 +70284,17 @@ "postfix": false, "binop": null }, - "start": 4094, - "end": 4095, + "value": "minFilter", + "start": 7316, + "end": 7325, "loc": { "start": { - "line": 113, - "column": 57 + "line": 233, + "column": 8 }, "end": { - "line": 113, - "column": 58 + "line": 233, + "column": 17 } } }, @@ -51884,16 +70311,16 @@ "binop": null, "updateContext": null }, - "start": 4095, - "end": 4096, + "start": 7325, + "end": 7326, "loc": { "start": { - "line": 113, - "column": 58 + "line": 233, + "column": 17 }, "end": { - "line": 113, - "column": 59 + "line": 233, + "column": 18 } } }, @@ -51909,23 +70336,23 @@ "postfix": false, "binop": null }, - "value": "includeTextures", - "start": 4113, - "end": 4128, + "value": "magFilter", + "start": 7335, + "end": 7344, "loc": { "start": { - "line": 114, - "column": 16 + "line": 234, + "column": 8 }, "end": { - "line": 114, - "column": 31 + "line": 234, + "column": 17 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -51936,23 +70363,23 @@ "binop": null, "updateContext": null }, - "start": 4128, - "end": 4129, + "start": 7344, + "end": 7345, "loc": { "start": { - "line": 114, - "column": 31 + "line": 234, + "column": 17 }, "end": { - "line": 114, - "column": 32 + "line": 234, + "column": 18 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -51961,78 +70388,77 @@ "postfix": false, "binop": null }, - "start": 4130, - "end": 4131, + "value": "wrapS", + "start": 7354, + "end": 7359, "loc": { "start": { - "line": 114, - "column": 33 + "line": 235, + "column": 8 }, "end": { - "line": 114, - "column": 34 + "line": 235, + "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includeTextures", - "start": 4131, - "end": 4146, + "start": 7359, + "end": 7360, "loc": { "start": { - "line": 114, - "column": 34 + "line": 235, + "column": 13 }, "end": { - "line": 114, - "column": 49 + "line": 235, + "column": 14 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "!==", - "start": 4147, - "end": 4150, + "value": "wrapT", + "start": 7369, + "end": 7374, "loc": { "start": { - "line": 114, - "column": 50 + "line": 236, + "column": 8 }, "end": { - "line": 114, - "column": 53 + "line": 236, + "column": 13 } } }, { "type": { - "label": "false", - "keyword": "false", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52041,25 +70467,24 @@ "binop": null, "updateContext": null }, - "value": "false", - "start": 4151, - "end": 4156, + "start": 7374, + "end": 7375, "loc": { "start": { - "line": 114, - "column": 54 + "line": 236, + "column": 13 }, "end": { - "line": 114, - "column": 59 + "line": 236, + "column": 14 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52067,16 +70492,17 @@ "postfix": false, "binop": null }, - "start": 4156, - "end": 4157, + "value": "wrapR", + "start": 7384, + "end": 7389, "loc": { "start": { - "line": 114, - "column": 59 + "line": 237, + "column": 8 }, "end": { - "line": 114, - "column": 60 + "line": 237, + "column": 13 } } }, @@ -52093,16 +70519,16 @@ "binop": null, "updateContext": null }, - "start": 4157, - "end": 4158, + "start": 7389, + "end": 7390, "loc": { "start": { - "line": 114, - "column": 60 + "line": 237, + "column": 13 }, "end": { - "line": 114, - "column": 61 + "line": 237, + "column": 14 } } }, @@ -52118,17 +70544,17 @@ "postfix": false, "binop": null }, - "value": "geometryCreated", - "start": 4175, - "end": 4190, + "value": "flipY", + "start": 7399, + "end": 7404, "loc": { "start": { - "line": 115, - "column": 16 + "line": 238, + "column": 8 }, "end": { - "line": 115, - "column": 31 + "line": 238, + "column": 13 } } }, @@ -52145,92 +70571,70 @@ "binop": null, "updateContext": null }, - "start": 4190, - "end": 4191, + "start": 7404, + "end": 7405, "loc": { "start": { - "line": 115, - "column": 31 + "line": 238, + "column": 13 }, "end": { - "line": 115, - "column": 32 + "line": 238, + "column": 14 } } }, { "type": { - "label": "{", + "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4192, - "end": 4193, - "loc": { - "start": { - "line": 115, - "column": 33 - }, - "end": { - "line": 115, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4193, - "end": 4194, + "value": "!", + "start": 7406, + "end": 7407, "loc": { "start": { - "line": 115, - "column": 34 + "line": 238, + "column": 15 }, "end": { - "line": 115, - "column": 35 + "line": 238, + "column": 16 } } }, { "type": { - "label": ",", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 4194, - "end": 4195, + "value": "!", + "start": 7407, + "end": 7408, "loc": { "start": { - "line": 115, - "column": 35 + "line": 238, + "column": 16 }, "end": { - "line": 115, - "column": 36 + "line": 238, + "column": 17 } } }, @@ -52246,24 +70650,24 @@ "postfix": false, "binop": null }, - "value": "nextId", - "start": 4212, - "end": 4218, + "value": "texture", + "start": 7408, + "end": 7415, "loc": { "start": { - "line": 116, - "column": 16 + "line": 238, + "column": 17 }, "end": { - "line": 116, - "column": 22 + "line": 238, + "column": 24 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -52273,22 +70677,22 @@ "binop": null, "updateContext": null }, - "start": 4218, - "end": 4219, + "start": 7415, + "end": 7416, "loc": { "start": { - "line": 116, - "column": 22 + "line": 238, + "column": 24 }, "end": { - "line": 116, - "column": 23 + "line": 238, + "column": 25 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -52296,20 +70700,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 4220, - "end": 4221, + "value": "flipY", + "start": 7416, + "end": 7421, "loc": { "start": { - "line": 116, - "column": 24 + "line": 238, + "column": 25 }, "end": { - "line": 116, - "column": 25 + "line": 238, + "column": 30 } } }, @@ -52326,24 +70729,40 @@ "binop": null, "updateContext": null }, - "start": 4221, - "end": 4222, + "start": 7421, + "end": 7422, "loc": { "start": { - "line": 116, - "column": 25 + "line": 238, + "column": 30 }, "end": { - "line": 116, - "column": 26 + "line": 238, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " encoding: \"sRGB\"", + "start": 7431, + "end": 7454, + "loc": { + "start": { + "line": 239, + "column": 8 + }, + "end": { + "line": 239, + "column": 31 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52351,23 +70770,22 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 4239, - "end": 4244, + "start": 7459, + "end": 7460, "loc": { "start": { - "line": 117, - "column": 16 + "line": 240, + "column": 4 }, "end": { - "line": 117, - "column": 21 + "line": 240, + "column": 5 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -52377,16 +70795,16 @@ "postfix": false, "binop": null }, - "start": 4257, - "end": 4258, + "start": 7460, + "end": 7461, "loc": { "start": { - "line": 118, - "column": 12 + "line": 240, + "column": 5 }, "end": { - "line": 118, - "column": 13 + "line": 240, + "column": 6 } } }, @@ -52403,16 +70821,16 @@ "binop": null, "updateContext": null }, - "start": 4258, - "end": 4259, + "start": 7461, + "end": 7462, "loc": { "start": { - "line": 118, - "column": 13 + "line": 240, + "column": 6 }, "end": { - "line": 118, - "column": 14 + "line": 240, + "column": 7 } } }, @@ -52428,17 +70846,17 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 4273, - "end": 4276, + "value": "texture", + "start": 7467, + "end": 7474, "loc": { "start": { - "line": 120, - "column": 12 + "line": 241, + "column": 4 }, "end": { - "line": 120, - "column": 15 + "line": 241, + "column": 11 } } }, @@ -52455,16 +70873,16 @@ "binop": null, "updateContext": null }, - "start": 4276, - "end": 4277, + "start": 7474, + "end": 7475, "loc": { "start": { - "line": 120, - "column": 15 + "line": 241, + "column": 11 }, "end": { - "line": 120, - "column": 16 + "line": 241, + "column": 12 } } }, @@ -52480,48 +70898,50 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 4277, - "end": 4280, + "value": "_textureId", + "start": 7475, + "end": 7485, "loc": { "start": { - "line": 120, - "column": 16 + "line": 241, + "column": 12 }, "end": { - "line": 120, - "column": 19 + "line": 241, + "column": 22 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4280, - "end": 4281, + "value": "=", + "start": 7486, + "end": 7487, "loc": { "start": { - "line": 120, - "column": 19 + "line": 241, + "column": 23 }, "end": { - "line": 120, - "column": 20 + "line": 241, + "column": 24 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -52529,77 +70949,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Using parser: parseGLTFIntoXKTModel", - "start": 4281, - "end": 4318, + "value": "textureId", + "start": 7488, + "end": 7497, "loc": { "start": { - "line": 120, - "column": 20 + "line": 241, + "column": 25 }, "end": { - "line": 120, - "column": 57 + "line": 241, + "column": 34 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4318, - "end": 4319, + "start": 7497, + "end": 7498, "loc": { "start": { - "line": 120, - "column": 57 + "line": 241, + "column": 34 }, "end": { - "line": 120, - "column": 58 + "line": 241, + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4319, - "end": 4320, + "start": 7499, + "end": 7500, "loc": { "start": { - "line": 120, - "column": 58 + "line": 242, + "column": 0 }, "end": { - "line": 120, - "column": 59 + "line": 242, + "column": 1 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -52609,50 +71029,50 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 4333, - "end": 4336, + "value": "function", + "start": 7502, + "end": 7510, "loc": { "start": { - "line": 121, - "column": 12 + "line": 244, + "column": 0 }, "end": { - "line": 121, - "column": 15 + "line": 244, + "column": 8 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4336, - "end": 4337, + "value": "parseMaterials", + "start": 7511, + "end": 7525, "loc": { "start": { - "line": 121, - "column": 15 + "line": 244, + "column": 9 }, "end": { - "line": 121, - "column": 16 + "line": 244, + "column": 23 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -52661,24 +71081,23 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 4337, - "end": 4340, + "start": 7525, + "end": 7526, "loc": { "start": { - "line": 121, - "column": 16 + "line": 244, + "column": 23 }, "end": { - "line": 121, - "column": 19 + "line": 244, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -52687,24 +71106,25 @@ "postfix": false, "binop": null }, - "start": 4340, - "end": 4341, + "value": "ctx", + "start": 7526, + "end": 7529, "loc": { "start": { - "line": 121, - "column": 19 + "line": 244, + "column": 24 }, "end": { - "line": 121, - "column": 20 + "line": 244, + "column": 27 } } }, { "type": { - "label": "`", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52712,68 +71132,69 @@ "postfix": false, "binop": null }, - "start": 4341, - "end": 4342, + "start": 7529, + "end": 7530, "loc": { "start": { - "line": 121, - "column": 20 + "line": 244, + "column": 27 }, "end": { - "line": 121, - "column": 21 + "line": 244, + "column": 28 } } }, { "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Parsing normals: ", - "start": 4342, - "end": 4359, + "start": 7531, + "end": 7532, "loc": { "start": { - "line": 121, - "column": 21 + "line": 244, + "column": 29 }, "end": { - "line": 121, - "column": 38 + "line": 244, + "column": 30 } } }, { "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4359, - "end": 4361, + "value": "const", + "start": 7537, + "end": 7542, "loc": { "start": { - "line": 121, - "column": 38 + "line": 245, + "column": 4 }, "end": { - "line": 121, - "column": 40 + "line": 245, + "column": 9 } } }, @@ -52789,43 +71210,44 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 4361, - "end": 4364, + "value": "gltfData", + "start": 7543, + "end": 7551, "loc": { "start": { - "line": 121, - "column": 40 + "line": 245, + "column": 10 }, "end": { - "line": 121, - "column": 43 + "line": 245, + "column": 18 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 4364, - "end": 4365, + "value": "=", + "start": 7552, + "end": 7553, "loc": { "start": { - "line": 121, - "column": 43 + "line": 245, + "column": 19 }, "end": { - "line": 121, - "column": 44 + "line": 245, + "column": 20 } } }, @@ -52841,24 +71263,24 @@ "postfix": false, "binop": null }, - "value": "includeNormals", - "start": 4365, - "end": 4379, + "value": "ctx", + "start": 7554, + "end": 7557, "loc": { "start": { - "line": 121, - "column": 44 + "line": 245, + "column": 21 }, "end": { - "line": 121, - "column": 58 + "line": 245, + "column": 24 } } }, { "type": { - "label": "?", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -52868,22 +71290,22 @@ "binop": null, "updateContext": null }, - "start": 4380, - "end": 4381, + "start": 7557, + "end": 7558, "loc": { "start": { - "line": 121, - "column": 59 + "line": 245, + "column": 24 }, "end": { - "line": 121, - "column": 60 + "line": 245, + "column": 25 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -52891,26 +71313,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "enabled", - "start": 4382, - "end": 4391, + "value": "gltfData", + "start": 7558, + "end": 7566, "loc": { "start": { - "line": 121, - "column": 61 + "line": 245, + "column": 25 }, "end": { - "line": 121, - "column": 70 + "line": 245, + "column": 33 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -52921,24 +71342,25 @@ "binop": null, "updateContext": null }, - "start": 4392, - "end": 4393, + "start": 7566, + "end": 7567, "loc": { "start": { - "line": 121, - "column": 71 + "line": 245, + "column": 33 }, "end": { - "line": 121, - "column": 72 + "line": 245, + "column": 34 } } }, { "type": { - "label": "string", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52947,25 +71369,25 @@ "binop": null, "updateContext": null }, - "value": "disabled", - "start": 4394, - "end": 4404, + "value": "const", + "start": 7572, + "end": 7577, "loc": { "start": { - "line": 121, - "column": 73 + "line": 246, + "column": 4 }, "end": { - "line": 121, - "column": 83 + "line": 246, + "column": 9 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -52973,49 +71395,50 @@ "postfix": false, "binop": null }, - "start": 4404, - "end": 4405, + "value": "materials", + "start": 7578, + "end": 7587, "loc": { "start": { - "line": 121, - "column": 83 + "line": 246, + "column": 10 }, "end": { - "line": 121, - "column": 84 + "line": 246, + "column": 19 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "", - "start": 4405, - "end": 4405, + "value": "=", + "start": 7588, + "end": 7589, "loc": { "start": { - "line": 121, - "column": 84 + "line": 246, + "column": 20 }, "end": { - "line": 121, - "column": 84 + "line": 246, + "column": 21 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -53025,22 +71448,23 @@ "postfix": false, "binop": null }, - "start": 4405, - "end": 4406, + "value": "gltfData", + "start": 7590, + "end": 7598, "loc": { "start": { - "line": 121, - "column": 84 + "line": 246, + "column": 22 }, "end": { - "line": 121, - "column": 85 + "line": 246, + "column": 30 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -53048,44 +71472,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 4406, - "end": 4407, - "loc": { - "start": { - "line": 121, - "column": 85 - }, - "end": { - "line": 121, - "column": 86 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 4407, - "end": 4408, + "start": 7598, + "end": 7599, "loc": { "start": { - "line": 121, - "column": 86 + "line": 246, + "column": 30 }, "end": { - "line": 121, - "column": 87 + "line": 246, + "column": 31 } } }, @@ -53101,24 +71500,24 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 4421, - "end": 4424, + "value": "materials", + "start": 7599, + "end": 7608, "loc": { "start": { - "line": 122, - "column": 12 + "line": 246, + "column": 31 }, "end": { - "line": 122, - "column": 15 + "line": 246, + "column": 40 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -53128,42 +71527,44 @@ "binop": null, "updateContext": null }, - "start": 4424, - "end": 4425, + "start": 7608, + "end": 7609, "loc": { "start": { - "line": 122, - "column": 15 + "line": 246, + "column": 40 }, "end": { - "line": 122, - "column": 16 + "line": 246, + "column": 41 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "log", - "start": 4425, - "end": 4428, + "value": "if", + "start": 7614, + "end": 7616, "loc": { - "start": { - "line": 122, - "column": 16 + "start": { + "line": 247, + "column": 4 }, "end": { - "line": 122, - "column": 19 + "line": 247, + "column": 6 } } }, @@ -53179,22 +71580,22 @@ "postfix": false, "binop": null }, - "start": 4428, - "end": 4429, + "start": 7617, + "end": 7618, "loc": { "start": { - "line": 122, - "column": 19 + "line": 247, + "column": 7 }, "end": { - "line": 122, - "column": 20 + "line": 247, + "column": 8 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -53204,22 +71605,23 @@ "postfix": false, "binop": null }, - "start": 4429, - "end": 4430, + "value": "materials", + "start": 7618, + "end": 7627, "loc": { "start": { - "line": 122, - "column": 20 + "line": 247, + "column": 8 }, "end": { - "line": 122, - "column": 21 + "line": 247, + "column": 17 } } }, { "type": { - "label": "template", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -53227,26 +71629,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Parsing textures: ", - "start": 4430, - "end": 4448, + "start": 7627, + "end": 7628, "loc": { "start": { - "line": 122, - "column": 21 + "line": 247, + "column": 17 }, "end": { - "line": 122, - "column": 39 + "line": 247, + "column": 18 } } }, { "type": { - "label": "${", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -53256,23 +71656,51 @@ "postfix": false, "binop": null }, - "start": 4448, - "end": 4450, + "start": 7629, + "end": 7630, "loc": { "start": { - "line": 122, - "column": 39 + "line": 247, + "column": 19 }, "end": { - "line": 122, - "column": 41 + "line": 247, + "column": 20 } } }, { "type": { - "label": "name", + "label": "for", + "keyword": "for", "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 7639, + "end": 7642, + "loc": { + "start": { + "line": 248, + "column": 8 + }, + "end": { + "line": 248, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -53281,23 +71709,23 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 4450, - "end": 4453, + "start": 7643, + "end": 7644, "loc": { "start": { - "line": 122, - "column": 41 + "line": 248, + "column": 12 }, "end": { - "line": 122, - "column": 44 + "line": 248, + "column": 13 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -53308,16 +71736,17 @@ "binop": null, "updateContext": null }, - "start": 4453, - "end": 4454, + "value": "let", + "start": 7644, + "end": 7647, "loc": { "start": { - "line": 122, - "column": 44 + "line": 248, + "column": 13 }, "end": { - "line": 122, - "column": 45 + "line": 248, + "column": 16 } } }, @@ -53333,49 +71762,50 @@ "postfix": false, "binop": null }, - "value": "includeTextures", - "start": 4454, - "end": 4469, + "value": "i", + "start": 7648, + "end": 7649, "loc": { "start": { - "line": 122, - "column": 45 + "line": 248, + "column": 17 }, "end": { - "line": 122, - "column": 60 + "line": 248, + "column": 18 } } }, { "type": { - "label": "?", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 4470, - "end": 4471, + "value": "=", + "start": 7650, + "end": 7651, "loc": { "start": { - "line": 122, - "column": 61 + "line": 248, + "column": 19 }, "end": { - "line": 122, - "column": 62 + "line": 248, + "column": 20 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -53386,23 +71816,23 @@ "binop": null, "updateContext": null }, - "value": "enabled", - "start": 4472, - "end": 4481, + "value": 0, + "start": 7652, + "end": 7653, "loc": { "start": { - "line": 122, - "column": 63 + "line": 248, + "column": 21 }, "end": { - "line": 122, - "column": 72 + "line": 248, + "column": 22 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -53413,22 +71843,22 @@ "binop": null, "updateContext": null }, - "start": 4482, - "end": 4483, + "start": 7653, + "end": 7654, "loc": { "start": { - "line": 122, - "column": 73 + "line": 248, + "column": 22 }, "end": { - "line": 122, - "column": 74 + "line": 248, + "column": 23 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -53436,105 +71866,106 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "disabled", - "start": 4484, - "end": 4494, + "value": "len", + "start": 7655, + "end": 7658, "loc": { "start": { - "line": 122, - "column": 75 + "line": 248, + "column": 24 }, "end": { - "line": 122, - "column": 85 + "line": 248, + "column": 27 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4494, - "end": 4495, + "value": "=", + "start": 7659, + "end": 7660, "loc": { "start": { - "line": 122, - "column": 85 + "line": 248, + "column": 28 }, "end": { - "line": 122, - "column": 86 + "line": 248, + "column": 29 } } }, { "type": { - "label": "template", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 4495, - "end": 4495, + "value": "materials", + "start": 7661, + "end": 7670, "loc": { "start": { - "line": 122, - "column": 86 + "line": 248, + "column": 30 }, "end": { - "line": 122, - "column": 86 + "line": 248, + "column": 39 } } }, { "type": { - "label": "`", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4495, - "end": 4496, + "start": 7670, + "end": 7671, "loc": { "start": { - "line": 122, - "column": 86 + "line": 248, + "column": 39 }, "end": { - "line": 122, - "column": 87 + "line": 248, + "column": 40 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53542,16 +71973,17 @@ "postfix": false, "binop": null }, - "start": 4496, - "end": 4497, + "value": "length", + "start": 7671, + "end": 7677, "loc": { "start": { - "line": 122, - "column": 87 + "line": 248, + "column": 40 }, "end": { - "line": 122, - "column": 88 + "line": 248, + "column": 46 } } }, @@ -53568,69 +72000,69 @@ "binop": null, "updateContext": null }, - "start": 4497, - "end": 4498, + "start": 7677, + "end": 7678, "loc": { "start": { - "line": 122, - "column": 88 + "line": 248, + "column": 46 }, "end": { - "line": 122, - "column": 89 + "line": 248, + "column": 47 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 4512, - "end": 4514, + "value": "i", + "start": 7679, + "end": 7680, "loc": { "start": { - "line": 124, - "column": 12 + "line": 248, + "column": 48 }, "end": { - "line": 124, - "column": 14 + "line": 248, + "column": 49 } } }, { "type": { - "label": "(", + "label": "", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "start": 4515, - "end": 4516, + "value": "<", + "start": 7681, + "end": 7682, "loc": { "start": { - "line": 124, - "column": 15 + "line": 248, + "column": 50 }, "end": { - "line": 124, - "column": 16 + "line": 248, + "column": 51 } } }, @@ -53646,24 +72078,24 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 4516, - "end": 4519, + "value": "len", + "start": 7683, + "end": 7686, "loc": { "start": { - "line": 124, - "column": 16 + "line": 248, + "column": 52 }, "end": { - "line": 124, - "column": 19 + "line": 248, + "column": 55 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -53673,16 +72105,16 @@ "binop": null, "updateContext": null }, - "start": 4519, - "end": 4520, + "start": 7686, + "end": 7687, "loc": { "start": { - "line": 124, - "column": 19 + "line": 248, + "column": 55 }, "end": { - "line": 124, - "column": 20 + "line": 248, + "column": 56 } } }, @@ -53698,17 +72130,43 @@ "postfix": false, "binop": null }, - "value": "includeTextures", - "start": 4520, - "end": 4535, + "value": "i", + "start": 7688, + "end": 7689, "loc": { "start": { - "line": 124, - "column": 20 + "line": 248, + "column": 57 }, "end": { - "line": 124, - "column": 35 + "line": 248, + "column": 58 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 7689, + "end": 7691, + "loc": { + "start": { + "line": 248, + "column": 58 + }, + "end": { + "line": 248, + "column": 60 } } }, @@ -53724,16 +72182,16 @@ "postfix": false, "binop": null }, - "start": 4535, - "end": 4536, + "start": 7691, + "end": 7692, "loc": { "start": { - "line": 124, - "column": 35 + "line": 248, + "column": 60 }, "end": { - "line": 124, - "column": 36 + "line": 248, + "column": 61 } } }, @@ -53749,49 +72207,51 @@ "postfix": false, "binop": null }, - "start": 4537, - "end": 4538, + "start": 7693, + "end": 7694, "loc": { "start": { - "line": 124, - "column": 37 + "line": 248, + "column": 62 }, "end": { - "line": 124, - "column": 38 + "line": 248, + "column": 63 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parseTextures", - "start": 4555, - "end": 4568, + "value": "const", + "start": 7707, + "end": 7712, "loc": { "start": { - "line": 125, - "column": 16 + "line": 249, + "column": 12 }, "end": { - "line": 125, - "column": 29 + "line": 249, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -53800,50 +72260,52 @@ "postfix": false, "binop": null }, - "start": 4568, - "end": 4569, + "value": "material", + "start": 7713, + "end": 7721, "loc": { "start": { - "line": 125, - "column": 29 + "line": 249, + "column": 18 }, "end": { - "line": 125, - "column": 30 + "line": 249, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 4569, - "end": 4572, + "value": "=", + "start": 7722, + "end": 7723, "loc": { "start": { - "line": 125, - "column": 30 + "line": 249, + "column": 27 }, "end": { - "line": 125, - "column": 33 + "line": 249, + "column": 28 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53851,24 +72313,25 @@ "postfix": false, "binop": null }, - "start": 4572, - "end": 4573, + "value": "materials", + "start": 7724, + "end": 7733, "loc": { "start": { - "line": 125, - "column": 33 + "line": 249, + "column": 29 }, "end": { - "line": 125, - "column": 34 + "line": 249, + "column": 38 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53877,24 +72340,24 @@ "binop": null, "updateContext": null }, - "start": 4573, - "end": 4574, + "start": 7733, + "end": 7734, "loc": { "start": { - "line": 125, - "column": 34 + "line": 249, + "column": 38 }, "end": { - "line": 125, - "column": 35 + "line": 249, + "column": 39 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -53902,67 +72365,69 @@ "postfix": false, "binop": null }, - "start": 4587, - "end": 4588, + "value": "i", + "start": 7734, + "end": 7735, "loc": { "start": { - "line": 126, - "column": 12 + "line": 249, + "column": 39 }, "end": { - "line": 126, - "column": 13 + "line": 249, + "column": 40 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parseMaterials", - "start": 4601, - "end": 4615, + "start": 7735, + "end": 7736, "loc": { "start": { - "line": 127, - "column": 12 + "line": 249, + "column": 40 }, "end": { - "line": 127, - "column": 26 + "line": 249, + "column": 41 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4615, - "end": 4616, + "start": 7736, + "end": 7737, "loc": { "start": { - "line": 127, - "column": 26 + "line": 249, + "column": 41 }, "end": { - "line": 127, - "column": 27 + "line": 249, + "column": 42 } } }, @@ -53978,25 +72443,51 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 4616, - "end": 4619, + "value": "material", + "start": 7750, + "end": 7758, + "loc": { + "start": { + "line": 250, + "column": 12 + }, + "end": { + "line": 250, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 7758, + "end": 7759, "loc": { "start": { - "line": 127, - "column": 27 + "line": 250, + "column": 20 }, "end": { - "line": 127, - "column": 30 + "line": 250, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54004,42 +72495,44 @@ "postfix": false, "binop": null }, - "start": 4619, - "end": 4620, + "value": "_textureSetId", + "start": 7759, + "end": 7772, "loc": { "start": { - "line": 127, - "column": 30 + "line": 250, + "column": 21 }, "end": { - "line": 127, - "column": 31 + "line": 250, + "column": 34 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 4620, - "end": 4621, + "value": "=", + "start": 7773, + "end": 7774, "loc": { "start": { - "line": 127, - "column": 31 + "line": 250, + "column": 35 }, "end": { - "line": 127, - "column": 32 + "line": 250, + "column": 36 } } }, @@ -54055,42 +72548,43 @@ "postfix": false, "binop": null }, - "value": "parseDefaultScene", - "start": 4634, - "end": 4651, + "value": "ctx", + "start": 7775, + "end": 7778, "loc": { "start": { - "line": 128, - "column": 12 + "line": 250, + "column": 37 }, "end": { - "line": 128, - "column": 29 + "line": 250, + "column": 40 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4651, - "end": 4652, + "start": 7778, + "end": 7779, "loc": { "start": { - "line": 128, - "column": 29 + "line": 250, + "column": 40 }, "end": { - "line": 128, - "column": 30 + "line": 250, + "column": 41 } } }, @@ -54106,75 +72600,76 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 4652, - "end": 4655, + "value": "includeTextures", + "start": 7779, + "end": 7794, "loc": { "start": { - "line": 128, - "column": 30 + "line": 250, + "column": 41 }, "end": { - "line": 128, - "column": 33 + "line": 250, + "column": 56 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "?", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4655, - "end": 4656, + "start": 7795, + "end": 7796, "loc": { "start": { - "line": 128, - "column": 33 + "line": 250, + "column": 57 }, "end": { - "line": 128, - "column": 34 + "line": 250, + "column": 58 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4656, - "end": 4657, + "value": "parseTextureSet", + "start": 7797, + "end": 7812, "loc": { "start": { - "line": 128, - "column": 34 + "line": 250, + "column": 59 }, "end": { - "line": 128, - "column": 35 + "line": 250, + "column": 74 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -54183,24 +72678,23 @@ "postfix": false, "binop": null }, - "value": "resolve", - "start": 4671, - "end": 4678, + "start": 7812, + "end": 7813, "loc": { "start": { - "line": 130, - "column": 12 + "line": 250, + "column": 74 }, "end": { - "line": 130, - "column": 19 + "line": 250, + "column": 75 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -54209,73 +72703,75 @@ "postfix": false, "binop": null }, - "start": 4678, - "end": 4679, + "value": "ctx", + "start": 7813, + "end": 7816, "loc": { "start": { - "line": 130, - "column": 19 + "line": 250, + "column": 75 }, "end": { - "line": 130, - "column": 20 + "line": 250, + "column": 78 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4679, - "end": 4680, + "start": 7816, + "end": 7817, "loc": { "start": { - "line": 130, - "column": 20 + "line": 250, + "column": 78 }, "end": { - "line": 130, - "column": 21 + "line": 250, + "column": 79 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4680, - "end": 4681, + "value": "material", + "start": 7818, + "end": 7826, "loc": { "start": { - "line": 130, - "column": 21 + "line": 250, + "column": 80 }, "end": { - "line": 130, - "column": 22 + "line": 250, + "column": 88 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -54285,22 +72781,22 @@ "postfix": false, "binop": null }, - "start": 4691, - "end": 4692, + "start": 7826, + "end": 7827, "loc": { "start": { - "line": 132, - "column": 8 + "line": 250, + "column": 88 }, "end": { - "line": 132, - "column": 9 + "line": 250, + "column": 89 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -54311,75 +72807,78 @@ "binop": null, "updateContext": null }, - "start": 4692, - "end": 4693, + "start": 7828, + "end": 7829, "loc": { "start": { - "line": 132, - "column": 9 + "line": 250, + "column": 90 }, "end": { - "line": 132, - "column": 10 + "line": 250, + "column": 91 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "null", + "keyword": "null", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4694, - "end": 4695, + "value": "null", + "start": 7830, + "end": 7834, "loc": { "start": { - "line": 132, - "column": 11 + "line": 250, + "column": 92 }, "end": { - "line": 132, - "column": 12 + "line": 250, + "column": 96 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "errMsg", - "start": 4695, - "end": 4701, + "start": 7834, + "end": 7835, "loc": { "start": { - "line": 132, - "column": 12 + "line": 250, + "column": 96 }, "end": { - "line": 132, - "column": 18 + "line": 250, + "column": 97 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54387,23 +72886,24 @@ "postfix": false, "binop": null }, - "start": 4701, - "end": 4702, + "value": "material", + "start": 7848, + "end": 7856, "loc": { "start": { - "line": 132, - "column": 18 + "line": 251, + "column": 12 }, "end": { - "line": 132, - "column": 19 + "line": 251, + "column": 20 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -54413,23 +72913,23 @@ "binop": null, "updateContext": null }, - "start": 4703, - "end": 4705, + "start": 7856, + "end": 7857, "loc": { "start": { - "line": 132, + "line": 251, "column": 20 }, "end": { - "line": 132, - "column": 22 + "line": 251, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -54438,49 +72938,51 @@ "postfix": false, "binop": null }, - "start": 4706, - "end": 4707, + "value": "_attributes", + "start": 7857, + "end": 7868, "loc": { "start": { - "line": 132, - "column": 23 + "line": 251, + "column": 21 }, "end": { - "line": 132, - "column": 24 + "line": 251, + "column": 32 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "reject", - "start": 4720, - "end": 4726, + "value": "=", + "start": 7869, + "end": 7870, "loc": { "start": { - "line": 133, - "column": 12 + "line": 251, + "column": 33 }, "end": { - "line": 133, - "column": 18 + "line": 251, + "column": 34 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -54489,23 +72991,24 @@ "postfix": false, "binop": null }, - "start": 4726, - "end": 4727, + "value": "parseMaterialAttributes", + "start": 7871, + "end": 7894, "loc": { "start": { - "line": 133, - "column": 18 + "line": 251, + "column": 35 }, "end": { - "line": 133, - "column": 19 + "line": 251, + "column": 58 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -54514,68 +73017,68 @@ "postfix": false, "binop": null }, - "start": 4727, - "end": 4728, + "start": 7894, + "end": 7895, "loc": { "start": { - "line": 133, - "column": 19 + "line": 251, + "column": 58 }, "end": { - "line": 133, - "column": 20 + "line": 251, + "column": 59 } } }, { "type": { - "label": "template", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "[parseGLTFIntoXKTModel] ", - "start": 4728, - "end": 4752, + "value": "ctx", + "start": 7895, + "end": 7898, "loc": { "start": { - "line": 133, - "column": 20 + "line": 251, + "column": 59 }, "end": { - "line": 133, - "column": 44 + "line": 251, + "column": 62 } } }, { "type": { - "label": "${", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4752, - "end": 4754, + "start": 7898, + "end": 7899, "loc": { "start": { - "line": 133, - "column": 44 + "line": 251, + "column": 62 }, "end": { - "line": 133, - "column": 46 + "line": 251, + "column": 63 } } }, @@ -54591,23 +73094,23 @@ "postfix": false, "binop": null }, - "value": "errMsg", - "start": 4754, - "end": 4760, + "value": "material", + "start": 7900, + "end": 7908, "loc": { "start": { - "line": 133, - "column": 46 + "line": 251, + "column": 64 }, "end": { - "line": 133, - "column": 52 + "line": 251, + "column": 72 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -54617,23 +73120,23 @@ "postfix": false, "binop": null }, - "start": 4760, - "end": 4761, + "start": 7908, + "end": 7909, "loc": { "start": { - "line": 133, - "column": 52 + "line": 251, + "column": 72 }, "end": { - "line": 133, - "column": 53 + "line": 251, + "column": 73 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -54643,25 +73146,24 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 4761, - "end": 4761, + "start": 7909, + "end": 7910, "loc": { "start": { - "line": 133, - "column": 53 + "line": 251, + "column": 73 }, "end": { - "line": 133, - "column": 53 + "line": 251, + "column": 74 } } }, { "type": { - "label": "`", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54669,22 +73171,22 @@ "postfix": false, "binop": null }, - "start": 4761, - "end": 4762, + "start": 7919, + "end": 7920, "loc": { "start": { - "line": 133, - "column": 53 + "line": 252, + "column": 8 }, "end": { - "line": 133, - "column": 54 + "line": 252, + "column": 9 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -54694,50 +73196,50 @@ "postfix": false, "binop": null }, - "start": 4762, - "end": 4763, + "start": 7925, + "end": 7926, "loc": { "start": { - "line": 133, - "column": 54 + "line": 253, + "column": 4 }, "end": { - "line": 133, - "column": 55 + "line": 253, + "column": 5 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4763, - "end": 4764, + "start": 7927, + "end": 7928, "loc": { "start": { - "line": 133, - "column": 55 + "line": 254, + "column": 0 }, "end": { - "line": 133, - "column": 56 + "line": 254, + "column": 1 } } }, { "type": { - "label": "}", + "label": "function", + "keyword": "function", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54745,24 +73247,25 @@ "postfix": false, "binop": null }, - "start": 4773, - "end": 4774, + "value": "function", + "start": 7930, + "end": 7938, "loc": { "start": { - "line": 134, - "column": 8 + "line": 256, + "column": 0 }, "end": { - "line": 134, - "column": 9 + "line": 256, + "column": 8 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54770,50 +73273,50 @@ "postfix": false, "binop": null }, - "start": 4774, - "end": 4775, + "value": "parseTextureSet", + "start": 7939, + "end": 7954, "loc": { "start": { - "line": 134, + "line": 256, "column": 9 }, "end": { - "line": 134, - "column": 10 + "line": 256, + "column": 24 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4775, - "end": 4776, + "start": 7954, + "end": 7955, "loc": { "start": { - "line": 134, - "column": 10 + "line": 256, + "column": 24 }, "end": { - "line": 134, - "column": 11 + "line": 256, + "column": 25 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -54821,73 +73324,75 @@ "postfix": false, "binop": null }, - "start": 4781, - "end": 4782, + "value": "ctx", + "start": 7955, + "end": 7958, "loc": { "start": { - "line": 135, - "column": 4 + "line": 256, + "column": 25 }, "end": { - "line": 135, - "column": 5 + "line": 256, + "column": 28 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4782, - "end": 4783, + "start": 7958, + "end": 7959, "loc": { "start": { - "line": 135, - "column": 5 + "line": 256, + "column": 28 }, "end": { - "line": 135, - "column": 6 + "line": 256, + "column": 29 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4783, - "end": 4784, + "value": "material", + "start": 7960, + "end": 7968, "loc": { "start": { - "line": 135, - "column": 6 + "line": 256, + "column": 30 }, "end": { - "line": 135, - "column": 7 + "line": 256, + "column": 38 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -54897,24 +73402,23 @@ "postfix": false, "binop": null }, - "start": 4785, - "end": 4786, + "start": 7968, + "end": 7969, "loc": { "start": { - "line": 136, - "column": 0 + "line": 256, + "column": 38 }, "end": { - "line": 136, - "column": 1 + "line": 256, + "column": 39 } } }, { "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -54923,50 +73427,51 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 4788, - "end": 4796, + "start": 7970, + "end": 7971, "loc": { "start": { - "line": 138, - "column": 0 + "line": 256, + "column": 40 }, "end": { - "line": 138, - "column": 8 + "line": 256, + "column": 41 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parseTextures", - "start": 4797, - "end": 4810, + "value": "const", + "start": 7976, + "end": 7981, "loc": { "start": { - "line": 138, - "column": 9 + "line": 257, + "column": 4 }, "end": { - "line": 138, - "column": 22 + "line": 257, + "column": 9 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -54975,50 +73480,52 @@ "postfix": false, "binop": null }, - "start": 4810, - "end": 4811, + "value": "textureSetCfg", + "start": 7982, + "end": 7995, "loc": { "start": { - "line": 138, - "column": 22 + "line": 257, + "column": 10 }, "end": { - "line": 138, + "line": 257, "column": 23 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 4811, - "end": 4814, + "value": "=", + "start": 7996, + "end": 7997, "loc": { "start": { - "line": 138, - "column": 23 + "line": 257, + "column": 24 }, "end": { - "line": 138, - "column": 26 + "line": 257, + "column": 25 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55026,24 +73533,24 @@ "postfix": false, "binop": null }, - "start": 4814, - "end": 4815, + "start": 7998, + "end": 7999, "loc": { "start": { - "line": 138, + "line": 257, "column": 26 }, "end": { - "line": 138, + "line": 257, "column": 27 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55051,24 +73558,23 @@ "postfix": false, "binop": null }, - "start": 4816, - "end": 4817, + "start": 7999, + "end": 8000, "loc": { "start": { - "line": 138, - "column": 28 + "line": 257, + "column": 27 }, "end": { - "line": 138, - "column": 29 + "line": 257, + "column": 28 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -55078,70 +73584,69 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 4822, - "end": 4827, + "start": 8000, + "end": 8001, "loc": { "start": { - "line": 139, - "column": 4 + "line": 257, + "column": 28 }, "end": { - "line": 139, - "column": 9 + "line": 257, + "column": 29 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "gltfData", - "start": 4828, - "end": 4836, + "value": "if", + "start": 8006, + "end": 8008, "loc": { "start": { - "line": 139, - "column": 10 + "line": 258, + "column": 4 }, "end": { - "line": 139, - "column": 18 + "line": 258, + "column": 6 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 4837, - "end": 4838, + "start": 8009, + "end": 8010, "loc": { "start": { - "line": 139, - "column": 19 + "line": 258, + "column": 7 }, "end": { - "line": 139, - "column": 20 + "line": 258, + "column": 8 } } }, @@ -55157,17 +73662,17 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 4839, - "end": 4842, + "value": "material", + "start": 8010, + "end": 8018, "loc": { "start": { - "line": 139, - "column": 21 + "line": 258, + "column": 8 }, "end": { - "line": 139, - "column": 24 + "line": 258, + "column": 16 } } }, @@ -55184,16 +73689,16 @@ "binop": null, "updateContext": null }, - "start": 4842, - "end": 4843, + "start": 8018, + "end": 8019, "loc": { "start": { - "line": 139, - "column": 24 + "line": 258, + "column": 16 }, "end": { - "line": 139, - "column": 25 + "line": 258, + "column": 17 } } }, @@ -55209,71 +73714,67 @@ "postfix": false, "binop": null }, - "value": "gltfData", - "start": 4843, - "end": 4851, + "value": "normalTexture", + "start": 8019, + "end": 8032, "loc": { "start": { - "line": 139, - "column": 25 + "line": 258, + "column": 17 }, "end": { - "line": 139, - "column": 33 + "line": 258, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4851, - "end": 4852, + "start": 8032, + "end": 8033, "loc": { "start": { - "line": 139, - "column": 33 + "line": 258, + "column": 30 }, "end": { - "line": 139, - "column": 34 + "line": 258, + "column": 31 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 4857, - "end": 4862, + "start": 8034, + "end": 8035, "loc": { "start": { - "line": 140, - "column": 4 + "line": 258, + "column": 32 }, "end": { - "line": 140, - "column": 9 + "line": 258, + "column": 33 } } }, @@ -55289,44 +73790,43 @@ "postfix": false, "binop": null }, - "value": "textures", - "start": 4863, - "end": 4871, + "value": "textureSetCfg", + "start": 8044, + "end": 8057, "loc": { "start": { - "line": 140, - "column": 10 + "line": 259, + "column": 8 }, "end": { - "line": 140, - "column": 18 + "line": 259, + "column": 21 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 4872, - "end": 4873, + "start": 8057, + "end": 8058, "loc": { "start": { - "line": 140, - "column": 19 + "line": 259, + "column": 21 }, "end": { - "line": 140, - "column": 20 + "line": 259, + "column": 22 } } }, @@ -55342,43 +73842,44 @@ "postfix": false, "binop": null }, - "value": "gltfData", - "start": 4874, - "end": 4882, + "value": "normalTextureId", + "start": 8058, + "end": 8073, "loc": { "start": { - "line": 140, - "column": 21 + "line": 259, + "column": 22 }, "end": { - "line": 140, - "column": 29 + "line": 259, + "column": 37 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 4882, - "end": 4883, + "value": "=", + "start": 8074, + "end": 8075, "loc": { "start": { - "line": 140, - "column": 29 + "line": 259, + "column": 38 }, "end": { - "line": 140, - "column": 30 + "line": 259, + "column": 39 } } }, @@ -55394,24 +73895,24 @@ "postfix": false, "binop": null }, - "value": "textures", - "start": 4883, - "end": 4891, + "value": "material", + "start": 8076, + "end": 8084, "loc": { "start": { - "line": 140, - "column": 30 + "line": 259, + "column": 40 }, "end": { - "line": 140, - "column": 38 + "line": 259, + "column": 48 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -55421,69 +73922,68 @@ "binop": null, "updateContext": null }, - "start": 4891, - "end": 4892, + "start": 8084, + "end": 8085, "loc": { "start": { - "line": 140, - "column": 38 + "line": 259, + "column": 48 }, "end": { - "line": 140, - "column": 39 + "line": 259, + "column": 49 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 4897, - "end": 4899, + "value": "normalTexture", + "start": 8085, + "end": 8098, "loc": { "start": { - "line": 141, - "column": 4 + "line": 259, + "column": 49 }, "end": { - "line": 141, - "column": 6 + "line": 259, + "column": 62 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4900, - "end": 4901, + "start": 8098, + "end": 8099, "loc": { "start": { - "line": 141, - "column": 7 + "line": 259, + "column": 62 }, "end": { - "line": 141, - "column": 8 + "line": 259, + "column": 63 } } }, @@ -55499,23 +73999,23 @@ "postfix": false, "binop": null }, - "value": "textures", - "start": 4901, - "end": 4909, + "value": "texture", + "start": 8099, + "end": 8106, "loc": { "start": { - "line": 141, - "column": 8 + "line": 259, + "column": 63 }, "end": { - "line": 141, - "column": 16 + "line": 259, + "column": 70 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -55523,25 +74023,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4909, - "end": 4910, + "start": 8106, + "end": 8107, "loc": { "start": { - "line": 141, - "column": 16 + "line": 259, + "column": 70 }, "end": { - "line": 141, - "column": 17 + "line": 259, + "column": 71 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -55550,52 +74051,51 @@ "postfix": false, "binop": null }, - "start": 4911, - "end": 4912, + "value": "_textureId", + "start": 8107, + "end": 8117, "loc": { "start": { - "line": 141, - "column": 18 + "line": 259, + "column": 71 }, "end": { - "line": 141, - "column": 19 + "line": 259, + "column": 81 } } }, { "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "for", - "start": 4921, - "end": 4924, + "start": 8117, + "end": 8118, "loc": { "start": { - "line": 142, - "column": 8 + "line": 259, + "column": 81 }, "end": { - "line": 142, - "column": 11 + "line": 259, + "column": 82 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55603,23 +74103,23 @@ "postfix": false, "binop": null }, - "start": 4925, - "end": 4926, + "start": 8123, + "end": 8124, "loc": { "start": { - "line": 142, - "column": 12 + "line": 260, + "column": 4 }, "end": { - "line": 142, - "column": 13 + "line": 260, + "column": 5 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -55630,24 +74130,24 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 4926, - "end": 4929, + "value": "if", + "start": 8129, + "end": 8131, "loc": { "start": { - "line": 142, - "column": 13 + "line": 261, + "column": 4 }, "end": { - "line": 142, - "column": 16 + "line": 261, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -55656,52 +74156,50 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 4930, - "end": 4931, + "start": 8132, + "end": 8133, "loc": { "start": { - "line": 142, - "column": 17 + "line": 261, + "column": 7 }, "end": { - "line": 142, - "column": 18 + "line": 261, + "column": 8 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 4932, - "end": 4933, + "value": "material", + "start": 8133, + "end": 8141, "loc": { "start": { - "line": 142, - "column": 19 + "line": 261, + "column": 8 }, "end": { - "line": 142, - "column": 20 + "line": 261, + "column": 16 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55710,51 +74208,50 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 4934, - "end": 4935, + "start": 8141, + "end": 8142, "loc": { "start": { - "line": 142, - "column": 21 + "line": 261, + "column": 16 }, "end": { - "line": 142, - "column": 22 + "line": 261, + "column": 17 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4935, - "end": 4936, + "value": "occlusionTexture", + "start": 8142, + "end": 8158, "loc": { "start": { - "line": 142, - "column": 22 + "line": 261, + "column": 17 }, "end": { - "line": 142, - "column": 23 + "line": 261, + "column": 33 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -55762,44 +74259,41 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 4937, - "end": 4940, + "start": 8158, + "end": 8159, "loc": { "start": { - "line": 142, - "column": 24 + "line": 261, + "column": 33 }, - "end": { - "line": 142, - "column": 27 + "end": { + "line": 261, + "column": 34 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 4941, - "end": 4942, + "start": 8160, + "end": 8161, "loc": { "start": { - "line": 142, - "column": 28 + "line": 261, + "column": 35 }, "end": { - "line": 142, - "column": 29 + "line": 261, + "column": 36 } } }, @@ -55815,17 +74309,17 @@ "postfix": false, "binop": null }, - "value": "textures", - "start": 4943, - "end": 4951, + "value": "textureSetCfg", + "start": 8170, + "end": 8183, "loc": { "start": { - "line": 142, - "column": 30 + "line": 262, + "column": 8 }, "end": { - "line": 142, - "column": 38 + "line": 262, + "column": 21 } } }, @@ -55842,16 +74336,16 @@ "binop": null, "updateContext": null }, - "start": 4951, - "end": 4952, + "start": 8183, + "end": 8184, "loc": { "start": { - "line": 142, - "column": 38 + "line": 262, + "column": 21 }, "end": { - "line": 142, - "column": 39 + "line": 262, + "column": 22 } } }, @@ -55867,43 +74361,44 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 4952, - "end": 4958, + "value": "occlusionTextureId", + "start": 8184, + "end": 8202, "loc": { "start": { - "line": 142, - "column": 39 + "line": 262, + "column": 22 }, "end": { - "line": 142, - "column": 45 + "line": 262, + "column": 40 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 4958, - "end": 4959, + "value": "=", + "start": 8203, + "end": 8204, "loc": { "start": { - "line": 142, - "column": 45 + "line": 262, + "column": 41 }, "end": { - "line": 142, - "column": 46 + "line": 262, + "column": 42 } } }, @@ -55919,44 +74414,43 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 4960, - "end": 4961, + "value": "material", + "start": 8205, + "end": 8213, "loc": { "start": { - "line": 142, - "column": 47 + "line": 262, + "column": 43 }, "end": { - "line": 142, - "column": 48 + "line": 262, + "column": 51 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 4962, - "end": 4963, + "start": 8213, + "end": 8214, "loc": { "start": { - "line": 142, - "column": 49 + "line": 262, + "column": 51 }, "end": { - "line": 142, - "column": 50 + "line": 262, + "column": 52 } } }, @@ -55972,24 +74466,24 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 4964, - "end": 4967, + "value": "occlusionTexture", + "start": 8214, + "end": 8230, "loc": { "start": { - "line": 142, - "column": 51 + "line": 262, + "column": 52 }, "end": { - "line": 142, - "column": 54 + "line": 262, + "column": 68 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -55999,16 +74493,16 @@ "binop": null, "updateContext": null }, - "start": 4967, - "end": 4968, + "start": 8230, + "end": 8231, "loc": { "start": { - "line": 142, - "column": 54 + "line": 262, + "column": 68 }, "end": { - "line": 142, - "column": 55 + "line": 262, + "column": 69 } } }, @@ -56024,51 +74518,51 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 4969, - "end": 4970, + "value": "texture", + "start": 8231, + "end": 8238, "loc": { "start": { - "line": 142, - "column": 56 + "line": 262, + "column": 69 }, "end": { - "line": 142, - "column": 57 + "line": 262, + "column": 76 } } }, { "type": { - "label": "++/--", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "value": "++", - "start": 4970, - "end": 4972, + "start": 8238, + "end": 8239, "loc": { "start": { - "line": 142, - "column": 57 + "line": 262, + "column": 76 }, "end": { - "line": 142, - "column": 59 + "line": 262, + "column": 77 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56076,49 +74570,51 @@ "postfix": false, "binop": null }, - "start": 4972, - "end": 4973, + "value": "_textureId", + "start": 8239, + "end": 8249, "loc": { "start": { - "line": 142, - "column": 59 + "line": 262, + "column": 77 }, "end": { - "line": 142, - "column": 60 + "line": 262, + "column": 87 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4974, - "end": 4975, + "start": 8249, + "end": 8250, "loc": { "start": { - "line": 142, - "column": 61 + "line": 262, + "column": 87 }, "end": { - "line": 142, - "column": 62 + "line": 262, + "column": 88 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56126,49 +74622,51 @@ "postfix": false, "binop": null }, - "value": "parseTexture", - "start": 4988, - "end": 5000, + "start": 8255, + "end": 8256, "loc": { "start": { - "line": 143, - "column": 12 + "line": 263, + "column": 4 }, "end": { - "line": 143, - "column": 24 + "line": 263, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5000, - "end": 5001, + "value": "if", + "start": 8261, + "end": 8263, "loc": { "start": { - "line": 143, - "column": 24 + "line": 264, + "column": 4 }, "end": { - "line": 143, - "column": 25 + "line": 264, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56177,103 +74675,102 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 5001, - "end": 5004, + "start": 8264, + "end": 8265, "loc": { "start": { - "line": 143, - "column": 25 + "line": 264, + "column": 7 }, "end": { - "line": 143, - "column": 28 + "line": 264, + "column": 8 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5004, - "end": 5005, + "value": "material", + "start": 8265, + "end": 8273, "loc": { "start": { - "line": 143, - "column": 28 + "line": 264, + "column": 8 }, "end": { - "line": 143, - "column": 29 + "line": 264, + "column": 16 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "textures", - "start": 5006, - "end": 5014, + "start": 8273, + "end": 8274, "loc": { "start": { - "line": 143, - "column": 30 + "line": 264, + "column": 16 }, "end": { - "line": 143, - "column": 38 + "line": 264, + "column": 17 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5014, - "end": 5015, + "value": "emissiveTexture", + "start": 8274, + "end": 8289, "loc": { "start": { - "line": 143, - "column": 38 + "line": 264, + "column": 17 }, "end": { - "line": 143, - "column": 39 + "line": 264, + "column": 32 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56281,51 +74778,49 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 5015, - "end": 5016, + "start": 8289, + "end": 8290, "loc": { "start": { - "line": 143, - "column": 39 + "line": 264, + "column": 32 }, "end": { - "line": 143, - "column": 40 + "line": 264, + "column": 33 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5016, - "end": 5017, + "start": 8291, + "end": 8292, "loc": { "start": { - "line": 143, - "column": 40 + "line": 264, + "column": 34 }, "end": { - "line": 143, - "column": 41 + "line": 264, + "column": 35 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56333,23 +74828,24 @@ "postfix": false, "binop": null }, - "start": 5017, - "end": 5018, + "value": "textureSetCfg", + "start": 8301, + "end": 8314, "loc": { "start": { - "line": 143, - "column": 41 + "line": 265, + "column": 8 }, "end": { - "line": 143, - "column": 42 + "line": 265, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -56359,16 +74855,16 @@ "binop": null, "updateContext": null }, - "start": 5018, - "end": 5019, + "start": 8314, + "end": 8315, "loc": { "start": { - "line": 143, - "column": 42 + "line": 265, + "column": 21 }, "end": { - "line": 143, - "column": 43 + "line": 265, + "column": 22 } } }, @@ -56384,43 +74880,44 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 5032, - "end": 5035, + "value": "emissiveTextureId", + "start": 8315, + "end": 8332, "loc": { "start": { - "line": 144, - "column": 12 + "line": 265, + "column": 22 }, "end": { - "line": 144, - "column": 15 + "line": 265, + "column": 39 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5035, - "end": 5036, + "value": "=", + "start": 8333, + "end": 8334, "loc": { "start": { - "line": 144, - "column": 15 + "line": 265, + "column": 40 }, "end": { - "line": 144, - "column": 16 + "line": 265, + "column": 41 } } }, @@ -56436,17 +74933,17 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 5036, - "end": 5041, + "value": "material", + "start": 8335, + "end": 8343, "loc": { "start": { - "line": 144, - "column": 16 + "line": 265, + "column": 42 }, "end": { - "line": 144, - "column": 21 + "line": 265, + "column": 50 } } }, @@ -56463,16 +74960,16 @@ "binop": null, "updateContext": null }, - "start": 5041, - "end": 5042, + "start": 8343, + "end": 8344, "loc": { "start": { - "line": 144, - "column": 21 + "line": 265, + "column": 50 }, "end": { - "line": 144, - "column": 22 + "line": 265, + "column": 51 } } }, @@ -56488,50 +74985,24 @@ "postfix": false, "binop": null }, - "value": "numTextures", - "start": 5042, - "end": 5053, + "value": "emissiveTexture", + "start": 8344, + "end": 8359, "loc": { "start": { - "line": 144, - "column": 22 + "line": 265, + "column": 51 }, "end": { - "line": 144, - "column": 33 + "line": 265, + "column": 66 } } }, { "type": { - "label": "++/--", + "label": ".", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 5053, - "end": 5055, - "loc": { - "start": { - "line": 144, - "column": 33 - }, - "end": { - "line": 144, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -56541,24 +75012,24 @@ "binop": null, "updateContext": null }, - "start": 5055, - "end": 5056, + "start": 8359, + "end": 8360, "loc": { "start": { - "line": 144, - "column": 35 + "line": 265, + "column": 66 }, "end": { - "line": 144, - "column": 36 + "line": 265, + "column": 67 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56566,22 +75037,23 @@ "postfix": false, "binop": null }, - "start": 5065, - "end": 5066, + "value": "texture", + "start": 8360, + "end": 8367, "loc": { "start": { - "line": 145, - "column": 8 + "line": 265, + "column": 67 }, "end": { - "line": 145, - "column": 9 + "line": 265, + "column": 74 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -56589,26 +75061,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5071, - "end": 5072, + "start": 8367, + "end": 8368, "loc": { "start": { - "line": 146, - "column": 4 + "line": 265, + "column": 74 }, "end": { - "line": 146, - "column": 5 + "line": 265, + "column": 75 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56616,51 +75089,51 @@ "postfix": false, "binop": null }, - "start": 5073, - "end": 5074, + "value": "_textureId", + "start": 8368, + "end": 8378, "loc": { "start": { - "line": 147, - "column": 0 + "line": 265, + "column": 75 }, "end": { - "line": 147, - "column": 1 + "line": 265, + "column": 85 } } }, { "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 5076, - "end": 5084, + "start": 8378, + "end": 8379, "loc": { "start": { - "line": 149, - "column": 0 + "line": 265, + "column": 85 }, "end": { - "line": 149, - "column": 8 + "line": 265, + "column": 86 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -56668,42 +75141,44 @@ "postfix": false, "binop": null }, - "value": "parseTexture", - "start": 5085, - "end": 5097, + "start": 8384, + "end": 8385, "loc": { "start": { - "line": 149, - "column": 9 + "line": 266, + "column": 4 }, "end": { - "line": 149, - "column": 21 + "line": 266, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5097, - "end": 5098, + "value": "const", + "start": 8390, + "end": 8395, "loc": { "start": { - "line": 149, - "column": 21 + "line": 267, + "column": 4 }, "end": { - "line": 149, - "column": 22 + "line": 267, + "column": 9 } } }, @@ -56719,43 +75194,44 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 5098, - "end": 5101, + "value": "metallicPBR", + "start": 8396, + "end": 8407, "loc": { "start": { - "line": 149, - "column": 22 + "line": 267, + "column": 10 }, "end": { - "line": 149, - "column": 25 + "line": 267, + "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5101, - "end": 5102, + "value": "=", + "start": 8408, + "end": 8409, "loc": { "start": { - "line": 149, - "column": 25 + "line": 267, + "column": 22 }, "end": { - "line": 149, - "column": 26 + "line": 267, + "column": 23 } } }, @@ -56771,23 +75247,23 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 5103, - "end": 5110, + "value": "material", + "start": 8410, + "end": 8418, "loc": { "start": { - "line": 149, - "column": 27 + "line": 267, + "column": 24 }, "end": { - "line": 149, - "column": 34 + "line": 267, + "column": 32 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -56795,25 +75271,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5110, - "end": 5111, + "start": 8418, + "end": 8419, "loc": { "start": { - "line": 149, - "column": 34 + "line": 267, + "column": 32 }, "end": { - "line": 149, - "column": 35 + "line": 267, + "column": 33 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -56822,24 +75299,24 @@ "postfix": false, "binop": null }, - "start": 5112, - "end": 5113, + "value": "pbrMetallicRoughness", + "start": 8419, + "end": 8439, "loc": { "start": { - "line": 149, - "column": 36 + "line": 267, + "column": 33 }, "end": { - "line": 149, - "column": 37 + "line": 267, + "column": 53 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -56849,69 +75326,69 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 5118, - "end": 5120, + "start": 8439, + "end": 8440, "loc": { "start": { - "line": 150, - "column": 4 + "line": 267, + "column": 53 }, "end": { - "line": 150, - "column": 6 + "line": 267, + "column": 54 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5121, - "end": 5122, + "value": "if", + "start": 8445, + "end": 8447, "loc": { "start": { - "line": 150, - "column": 7 + "line": 268, + "column": 4 }, "end": { - "line": 150, - "column": 8 + "line": 268, + "column": 6 } } }, { "type": { - "label": "prefix", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 5122, - "end": 5123, + "start": 8448, + "end": 8449, "loc": { "start": { - "line": 150, - "column": 8 + "line": 268, + "column": 7 }, "end": { - "line": 150, - "column": 9 + "line": 268, + "column": 8 } } }, @@ -56927,16 +75404,16 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 5123, - "end": 5130, + "value": "material", + "start": 8449, + "end": 8457, "loc": { "start": { - "line": 150, - "column": 9 + "line": 268, + "column": 8 }, "end": { - "line": 150, + "line": 268, "column": 16 } } @@ -56954,15 +75431,15 @@ "binop": null, "updateContext": null }, - "start": 5130, - "end": 5131, + "start": 8457, + "end": 8458, "loc": { "start": { - "line": 150, + "line": 268, "column": 16 }, "end": { - "line": 150, + "line": 268, "column": 17 } } @@ -56979,103 +75456,74 @@ "postfix": false, "binop": null }, - "value": "source", - "start": 5131, - "end": 5137, + "value": "pbrMetallicRoughness", + "start": 8458, + "end": 8478, "loc": { "start": { - "line": 150, + "line": 268, "column": 17 }, "end": { - "line": 150, - "column": 23 + "line": 268, + "column": 37 } } }, { "type": { - "label": "||", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 5138, - "end": 5140, + "start": 8478, + "end": 8479, "loc": { "start": { - "line": 150, - "column": 24 + "line": 268, + "column": 37 }, "end": { - "line": 150, - "column": 26 + "line": 268, + "column": 38 } } }, { "type": { - "label": "prefix", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 5141, - "end": 5142, - "loc": { - "start": { - "line": 150, - "column": 27 - }, - "end": { - "line": 150, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, "prefix": false, "postfix": false, "binop": null }, - "value": "texture", - "start": 5142, - "end": 5149, + "start": 8480, + "end": 8481, "loc": { "start": { - "line": 150, - "column": 28 + "line": 268, + "column": 39 }, "end": { - "line": 150, - "column": 35 + "line": 268, + "column": 40 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57086,16 +75534,17 @@ "binop": null, "updateContext": null }, - "start": 5149, - "end": 5150, + "value": "const", + "start": 8490, + "end": 8495, "loc": { "start": { - "line": 150, - "column": 35 + "line": 269, + "column": 8 }, "end": { - "line": 150, - "column": 36 + "line": 269, + "column": 13 } } }, @@ -57111,43 +75560,44 @@ "postfix": false, "binop": null }, - "value": "source", - "start": 5150, - "end": 5156, + "value": "pbrMetallicRoughness", + "start": 8496, + "end": 8516, "loc": { "start": { - "line": 150, - "column": 36 + "line": 269, + "column": 14 }, "end": { - "line": 150, - "column": 42 + "line": 269, + "column": 34 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5156, - "end": 5157, + "value": "=", + "start": 8517, + "end": 8518, "loc": { "start": { - "line": 150, - "column": 42 + "line": 269, + "column": 35 }, "end": { - "line": 150, - "column": 43 + "line": 269, + "column": 36 } } }, @@ -57163,23 +75613,23 @@ "postfix": false, "binop": null }, - "value": "image", - "start": 5157, - "end": 5162, + "value": "material", + "start": 8519, + "end": 8527, "loc": { "start": { - "line": 150, - "column": 43 + "line": 269, + "column": 37 }, "end": { - "line": 150, - "column": 48 + "line": 269, + "column": 45 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57187,25 +75637,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5162, - "end": 5163, + "start": 8527, + "end": 8528, "loc": { "start": { - "line": 150, - "column": 48 + "line": 269, + "column": 45 }, "end": { - "line": 150, - "column": 49 + "line": 269, + "column": 46 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -57214,23 +75665,23 @@ "postfix": false, "binop": null }, - "start": 5164, - "end": 5165, + "value": "pbrMetallicRoughness", + "start": 8528, + "end": 8548, "loc": { "start": { - "line": 150, - "column": 50 + "line": 269, + "column": 46 }, "end": { - "line": 150, - "column": 51 + "line": 269, + "column": 66 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -57241,24 +75692,24 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 5174, - "end": 5180, + "start": 8548, + "end": 8549, "loc": { "start": { - "line": 151, - "column": 8 + "line": 269, + "column": 66 }, "end": { - "line": 151, - "column": 14 + "line": 269, + "column": 67 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -57268,24 +75719,25 @@ "binop": null, "updateContext": null }, - "start": 5180, - "end": 5181, + "value": "const", + "start": 8558, + "end": 8563, "loc": { "start": { - "line": 151, - "column": 14 + "line": 270, + "column": 8 }, "end": { - "line": 151, - "column": 15 + "line": 270, + "column": 13 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57293,44 +75745,44 @@ "postfix": false, "binop": null }, - "start": 5186, - "end": 5187, + "value": "baseColorTexture", + "start": 8564, + "end": 8580, "loc": { "start": { - "line": 152, - "column": 4 + "line": 270, + "column": 14 }, "end": { - "line": 152, - "column": 5 + "line": 270, + "column": 30 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 5192, - "end": 5197, + "value": "=", + "start": 8581, + "end": 8582, "loc": { "start": { - "line": 153, - "column": 4 + "line": 270, + "column": 31 }, "end": { - "line": 153, - "column": 9 + "line": 270, + "column": 32 } } }, @@ -57346,50 +75798,49 @@ "postfix": false, "binop": null }, - "value": "textureId", - "start": 5198, - "end": 5207, + "value": "pbrMetallicRoughness", + "start": 8583, + "end": 8603, "loc": { "start": { - "line": 153, - "column": 10 + "line": 270, + "column": 33 }, "end": { - "line": 153, - "column": 19 + "line": 270, + "column": 53 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5208, - "end": 5209, + "start": 8603, + "end": 8604, "loc": { "start": { - "line": 153, - "column": 20 + "line": 270, + "column": 53 }, "end": { - "line": 153, - "column": 21 + "line": 270, + "column": 54 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -57399,50 +75850,51 @@ "postfix": false, "binop": null }, - "start": 5210, - "end": 5211, + "value": "baseColorTexture", + "start": 8604, + "end": 8620, "loc": { "start": { - "line": 153, - "column": 22 + "line": 270, + "column": 54 }, "end": { - "line": 153, - "column": 23 + "line": 270, + "column": 70 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": "||", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "value": "texture-", - "start": 5211, - "end": 5219, + "value": "||", + "start": 8621, + "end": 8623, "loc": { "start": { - "line": 153, - "column": 23 + "line": 270, + "column": 71 }, "end": { - "line": 153, - "column": 31 + "line": 270, + "column": 73 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -57451,128 +75903,131 @@ "postfix": false, "binop": null }, - "start": 5219, - "end": 5221, + "value": "pbrMetallicRoughness", + "start": 8624, + "end": 8644, "loc": { "start": { - "line": 153, - "column": 31 + "line": 270, + "column": 74 }, "end": { - "line": 153, - "column": 33 + "line": 270, + "column": 94 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 5221, - "end": 5224, + "start": 8644, + "end": 8645, "loc": { "start": { - "line": 153, - "column": 33 + "line": 270, + "column": 94 }, "end": { - "line": 153, - "column": 36 + "line": 270, + "column": 95 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5224, - "end": 5225, + "value": "colorTexture", + "start": 8645, + "end": 8657, "loc": { "start": { - "line": 153, - "column": 36 + "line": 270, + "column": 95 }, "end": { - "line": 153, - "column": 37 + "line": 270, + "column": 107 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "nextId", - "start": 5225, - "end": 5231, + "start": 8657, + "end": 8658, "loc": { "start": { - "line": 153, - "column": 37 + "line": 270, + "column": 107 }, "end": { - "line": 153, - "column": 43 + "line": 270, + "column": 108 } } }, { "type": { - "label": "++/--", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "value": "++", - "start": 5231, - "end": 5233, + "value": "if", + "start": 8667, + "end": 8669, "loc": { "start": { - "line": 153, - "column": 43 + "line": 271, + "column": 8 }, "end": { - "line": 153, - "column": 45 + "line": 271, + "column": 10 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57580,51 +76035,50 @@ "postfix": false, "binop": null }, - "start": 5233, - "end": 5234, + "start": 8670, + "end": 8671, "loc": { "start": { - "line": 153, - "column": 45 + "line": 271, + "column": 11 }, "end": { - "line": 153, - "column": 46 + "line": 271, + "column": 12 } } }, { "type": { - "label": "template", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 5234, - "end": 5234, + "value": "baseColorTexture", + "start": 8671, + "end": 8687, "loc": { "start": { - "line": 153, - "column": 46 + "line": 271, + "column": 12 }, "end": { - "line": 153, - "column": 46 + "line": 271, + "column": 28 } } }, { "type": { - "label": "`", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -57632,49 +76086,48 @@ "postfix": false, "binop": null }, - "start": 5234, - "end": 5235, + "start": 8687, + "end": 8688, "loc": { "start": { - "line": 153, - "column": 46 + "line": 271, + "column": 28 }, "end": { - "line": 153, - "column": 47 + "line": 271, + "column": 29 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5235, - "end": 5236, + "start": 8689, + "end": 8690, "loc": { "start": { - "line": 153, - "column": 47 + "line": 271, + "column": 30 }, "end": { - "line": 153, - "column": 48 + "line": 271, + "column": 31 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57685,24 +76138,24 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 5242, - "end": 5245, + "value": "if", + "start": 8703, + "end": 8705, "loc": { "start": { - "line": 155, - "column": 4 + "line": 272, + "column": 12 }, "end": { - "line": 155, - "column": 7 + "line": 272, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -57711,103 +76164,100 @@ "postfix": false, "binop": null }, - "value": "minFilter", - "start": 5246, - "end": 5255, + "start": 8706, + "end": 8707, "loc": { "start": { - "line": 155, - "column": 8 + "line": 272, + "column": 15 }, "end": { - "line": 155, - "column": 17 + "line": 272, + "column": 16 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 5256, - "end": 5257, + "value": "baseColorTexture", + "start": 8707, + "end": 8723, "loc": { "start": { - "line": 155, - "column": 18 + "line": 272, + "column": 16 }, "end": { - "line": 155, - "column": 19 + "line": 272, + "column": 32 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "NearestMipMapLinearFilter", - "start": 5258, - "end": 5283, + "start": 8723, + "end": 8724, "loc": { "start": { - "line": 155, - "column": 20 + "line": 272, + "column": 32 }, "end": { - "line": 155, - "column": 45 + "line": 272, + "column": 33 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5283, - "end": 5284, + "value": "texture", + "start": 8724, + "end": 8731, "loc": { "start": { - "line": 155, - "column": 45 + "line": 272, + "column": 33 }, "end": { - "line": 155, - "column": 46 + "line": 272, + "column": 40 } } }, { "type": { - "label": "switch", - "keyword": "switch", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57815,26 +76265,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "switch", - "start": 5289, - "end": 5295, + "start": 8731, + "end": 8732, "loc": { "start": { - "line": 156, - "column": 4 + "line": 272, + "column": 40 }, "end": { - "line": 156, - "column": 10 + "line": 272, + "column": 41 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -57844,16 +76292,16 @@ "postfix": false, "binop": null }, - "start": 5296, - "end": 5297, + "start": 8733, + "end": 8734, "loc": { "start": { - "line": 156, - "column": 11 + "line": 272, + "column": 42 }, "end": { - "line": 156, - "column": 12 + "line": 272, + "column": 43 } } }, @@ -57869,17 +76317,17 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 5297, - "end": 5304, + "value": "textureSetCfg", + "start": 8751, + "end": 8764, "loc": { "start": { - "line": 156, - "column": 12 + "line": 273, + "column": 16 }, "end": { - "line": 156, - "column": 19 + "line": 273, + "column": 29 } } }, @@ -57896,16 +76344,16 @@ "binop": null, "updateContext": null }, - "start": 5304, - "end": 5305, + "start": 8764, + "end": 8765, "loc": { "start": { - "line": 156, - "column": 19 + "line": 273, + "column": 29 }, "end": { - "line": 156, - "column": 20 + "line": 273, + "column": 30 } } }, @@ -57921,43 +76369,44 @@ "postfix": false, "binop": null }, - "value": "sampler", - "start": 5305, - "end": 5312, + "value": "colorTextureId", + "start": 8765, + "end": 8779, "loc": { "start": { - "line": 156, - "column": 20 + "line": 273, + "column": 30 }, "end": { - "line": 156, - "column": 27 + "line": 273, + "column": 44 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5312, - "end": 5313, + "value": "=", + "start": 8780, + "end": 8781, "loc": { "start": { - "line": 156, - "column": 27 + "line": 273, + "column": 45 }, "end": { - "line": 156, - "column": 28 + "line": 273, + "column": 46 } } }, @@ -57973,23 +76422,23 @@ "postfix": false, "binop": null }, - "value": "minFilter", - "start": 5313, - "end": 5322, + "value": "baseColorTexture", + "start": 8782, + "end": 8798, "loc": { "start": { - "line": 156, - "column": 28 + "line": 273, + "column": 47 }, "end": { - "line": 156, - "column": 37 + "line": 273, + "column": 63 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -57997,25 +76446,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5322, - "end": 5323, + "start": 8798, + "end": 8799, "loc": { "start": { - "line": 156, - "column": 37 + "line": 273, + "column": 63 }, "end": { - "line": 156, - "column": 38 + "line": 273, + "column": 64 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -58024,24 +76474,24 @@ "postfix": false, "binop": null }, - "start": 5324, - "end": 5325, + "value": "texture", + "start": 8799, + "end": 8806, "loc": { "start": { - "line": 156, - "column": 39 + "line": 273, + "column": 64 }, "end": { - "line": 156, - "column": 40 + "line": 273, + "column": 71 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -58051,23 +76501,22 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 5334, - "end": 5338, + "start": 8806, + "end": 8807, "loc": { "start": { - "line": 157, - "column": 8 + "line": 273, + "column": 71 }, "end": { - "line": 157, - "column": 12 + "line": 273, + "column": 72 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -58075,26 +76524,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 9728, - "start": 5339, - "end": 5343, + "value": "_textureId", + "start": 8807, + "end": 8817, "loc": { "start": { - "line": 157, - "column": 13 + "line": 273, + "column": 72 }, "end": { - "line": 157, - "column": 17 + "line": 273, + "column": 82 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -58105,24 +76553,24 @@ "binop": null, "updateContext": null }, - "start": 5343, - "end": 5344, + "start": 8817, + "end": 8818, "loc": { "start": { - "line": 157, - "column": 17 + "line": 273, + "column": 82 }, "end": { - "line": 157, - "column": 18 + "line": 273, + "column": 83 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58130,51 +76578,51 @@ "postfix": false, "binop": null }, - "value": "minFilter", - "start": 5357, - "end": 5366, + "start": 8831, + "end": 8832, "loc": { "start": { - "line": 158, + "line": 274, "column": 12 }, "end": { - "line": 158, - "column": 21 + "line": 274, + "column": 13 } } }, { "type": { - "label": "=", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5367, - "end": 5368, + "value": "else", + "start": 8833, + "end": 8837, "loc": { "start": { - "line": 158, - "column": 22 + "line": 274, + "column": 14 }, "end": { - "line": 158, - "column": 23 + "line": 274, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -58183,50 +76631,48 @@ "postfix": false, "binop": null }, - "value": "NearestFilter", - "start": 5369, - "end": 5382, + "start": 8838, + "end": 8839, "loc": { "start": { - "line": 158, - "column": 24 + "line": 274, + "column": 19 }, "end": { - "line": 158, - "column": 37 + "line": 274, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5382, - "end": 5383, + "value": "textureSetCfg", + "start": 8856, + "end": 8869, "loc": { "start": { - "line": 158, - "column": 37 + "line": 275, + "column": 16 }, "end": { - "line": 158, - "column": 38 + "line": 275, + "column": 29 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -58237,77 +76683,75 @@ "binop": null, "updateContext": null }, - "value": "break", - "start": 5396, - "end": 5401, + "start": 8869, + "end": 8870, "loc": { "start": { - "line": 159, - "column": 12 + "line": 275, + "column": 29 }, "end": { - "line": 159, - "column": 17 + "line": 275, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5401, - "end": 5402, + "value": "colorTextureId", + "start": 8870, + "end": 8884, "loc": { "start": { - "line": 159, - "column": 17 + "line": 275, + "column": 30 }, "end": { - "line": 159, - "column": 18 + "line": 275, + "column": 44 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "case", - "start": 5411, - "end": 5415, + "value": "=", + "start": 8885, + "end": 8886, "loc": { "start": { - "line": 160, - "column": 8 + "line": 275, + "column": 45 }, "end": { - "line": 160, - "column": 12 + "line": 275, + "column": 46 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -58315,27 +76759,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 9729, - "start": 5416, - "end": 5420, + "value": "ctx", + "start": 8887, + "end": 8890, "loc": { "start": { - "line": 160, - "column": 13 + "line": 275, + "column": 47 }, "end": { - "line": 160, - "column": 17 + "line": 275, + "column": 50 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -58345,16 +76788,16 @@ "binop": null, "updateContext": null }, - "start": 5420, - "end": 5421, + "start": 8890, + "end": 8891, "loc": { "start": { - "line": 160, - "column": 17 + "line": 275, + "column": 50 }, "end": { - "line": 160, - "column": 18 + "line": 275, + "column": 51 } } }, @@ -58370,44 +76813,43 @@ "postfix": false, "binop": null }, - "value": "minFilter", - "start": 5434, - "end": 5443, + "value": "gltfData", + "start": 8891, + "end": 8899, "loc": { "start": { - "line": 161, - "column": 12 + "line": 275, + "column": 51 }, "end": { - "line": 161, - "column": 21 + "line": 275, + "column": 59 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5444, - "end": 5445, + "start": 8899, + "end": 8900, "loc": { "start": { - "line": 161, - "column": 22 + "line": 275, + "column": 59 }, "end": { - "line": 161, - "column": 23 + "line": 275, + "column": 60 } } }, @@ -58423,25 +76865,25 @@ "postfix": false, "binop": null }, - "value": "LinearFilter", - "start": 5446, - "end": 5458, + "value": "textures", + "start": 8900, + "end": 8908, "loc": { "start": { - "line": 161, - "column": 24 + "line": 275, + "column": 60 }, "end": { - "line": 161, - "column": 36 + "line": 275, + "column": 68 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58450,51 +76892,49 @@ "binop": null, "updateContext": null }, - "start": 5458, - "end": 5459, + "start": 8908, + "end": 8909, "loc": { "start": { - "line": 161, - "column": 36 + "line": 275, + "column": 68 }, "end": { - "line": 161, - "column": 37 + "line": 275, + "column": 69 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 5472, - "end": 5477, + "value": "baseColorTexture", + "start": 8909, + "end": 8925, "loc": { "start": { - "line": 162, - "column": 12 + "line": 275, + "column": 69 }, "end": { - "line": 162, - "column": 17 + "line": 275, + "column": 85 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -58504,52 +76944,50 @@ "binop": null, "updateContext": null }, - "start": 5477, - "end": 5478, + "start": 8925, + "end": 8926, "loc": { "start": { - "line": 162, - "column": 17 + "line": 275, + "column": 85 }, "end": { - "line": 162, - "column": 18 + "line": 275, + "column": 86 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "case", - "start": 5487, - "end": 5491, + "value": "index", + "start": 8926, + "end": 8931, "loc": { "start": { - "line": 163, - "column": 8 + "line": 275, + "column": 86 }, "end": { - "line": 163, - "column": 12 + "line": 275, + "column": 91 } } }, { "type": { - "label": "num", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58558,24 +76996,23 @@ "binop": null, "updateContext": null }, - "value": 9984, - "start": 5492, - "end": 5496, + "start": 8931, + "end": 8932, "loc": { "start": { - "line": 163, - "column": 13 + "line": 275, + "column": 91 }, "end": { - "line": 163, - "column": 17 + "line": 275, + "column": 92 } } }, { - "type": { - "label": ":", - "beforeExpr": true, + "type": { + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -58585,16 +77022,16 @@ "binop": null, "updateContext": null }, - "start": 5496, - "end": 5497, + "start": 8932, + "end": 8933, "loc": { "start": { - "line": 163, - "column": 17 + "line": 275, + "column": 92 }, "end": { - "line": 163, - "column": 18 + "line": 275, + "column": 93 } } }, @@ -58610,52 +77047,51 @@ "postfix": false, "binop": null }, - "value": "minFilter", - "start": 5510, - "end": 5519, + "value": "_textureId", + "start": 8933, + "end": 8943, "loc": { "start": { - "line": 164, - "column": 12 + "line": 275, + "column": 93 }, "end": { - "line": 164, - "column": 21 + "line": 275, + "column": 103 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5520, - "end": 5521, + "start": 8943, + "end": 8944, "loc": { "start": { - "line": 164, - "column": 22 + "line": 275, + "column": 103 }, "end": { - "line": 164, - "column": 23 + "line": 275, + "column": 104 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58663,50 +77099,48 @@ "postfix": false, "binop": null }, - "value": "NearestMipMapNearestFilter", - "start": 5522, - "end": 5548, + "start": 8957, + "end": 8958, "loc": { "start": { - "line": 164, - "column": 24 + "line": 276, + "column": 12 }, "end": { - "line": 164, - "column": 50 + "line": 276, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5548, - "end": 5549, + "start": 8967, + "end": 8968, "loc": { "start": { - "line": 164, - "column": 50 + "line": 277, + "column": 8 }, "end": { - "line": 164, - "column": 51 + "line": 277, + "column": 9 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -58717,79 +77151,76 @@ "binop": null, "updateContext": null }, - "value": "break", - "start": 5562, - "end": 5567, + "value": "if", + "start": 8977, + "end": 8979, "loc": { "start": { - "line": 165, - "column": 12 + "line": 278, + "column": 8 }, "end": { - "line": 165, - "column": 17 + "line": 278, + "column": 10 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5567, - "end": 5568, + "start": 8980, + "end": 8981, "loc": { "start": { - "line": 165, - "column": 17 + "line": 278, + "column": 11 }, "end": { - "line": 165, - "column": 18 + "line": 278, + "column": 12 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "case", - "start": 5577, - "end": 5581, + "value": "metallicPBR", + "start": 8981, + "end": 8992, "loc": { "start": { - "line": 166, - "column": 8 + "line": 278, + "column": 12 }, "end": { - "line": 166, - "column": 12 + "line": 278, + "column": 23 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58798,51 +77229,50 @@ "binop": null, "updateContext": null }, - "value": 9985, - "start": 5582, - "end": 5586, + "start": 8992, + "end": 8993, "loc": { "start": { - "line": 166, - "column": 13 + "line": 278, + "column": 23 }, "end": { - "line": 166, - "column": 17 + "line": 278, + "column": 24 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5586, - "end": 5587, + "value": "metallicRoughnessTexture", + "start": 8993, + "end": 9017, "loc": { "start": { - "line": 166, - "column": 17 + "line": 278, + "column": 24 }, "end": { - "line": 166, - "column": 18 + "line": 278, + "column": 48 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -58850,44 +77280,41 @@ "postfix": false, "binop": null }, - "value": "minFilter", - "start": 5600, - "end": 5609, + "start": 9017, + "end": 9018, "loc": { "start": { - "line": 167, - "column": 12 + "line": 278, + "column": 48 }, "end": { - "line": 167, - "column": 21 + "line": 278, + "column": 49 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 5610, - "end": 5611, + "start": 9019, + "end": 9020, "loc": { "start": { - "line": 167, - "column": 22 + "line": 278, + "column": 50 }, "end": { - "line": 167, - "column": 23 + "line": 278, + "column": 51 } } }, @@ -58903,24 +77330,24 @@ "postfix": false, "binop": null }, - "value": "LinearMipMapNearestFilter", - "start": 5612, - "end": 5637, + "value": "textureSetCfg", + "start": 9033, + "end": 9046, "loc": { "start": { - "line": 167, - "column": 24 + "line": 279, + "column": 12 }, "end": { - "line": 167, - "column": 49 + "line": 279, + "column": 25 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -58930,78 +77357,102 @@ "binop": null, "updateContext": null }, - "start": 5637, - "end": 5638, + "start": 9046, + "end": 9047, "loc": { "start": { - "line": 167, - "column": 49 + "line": 279, + "column": 25 }, "end": { - "line": 167, - "column": 50 + "line": 279, + "column": 26 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 5651, - "end": 5656, + "value": "metallicRoughnessTextureId", + "start": 9047, + "end": 9073, "loc": { "start": { - "line": 168, - "column": 12 + "line": 279, + "column": 26 }, "end": { - "line": 168, - "column": 17 + "line": 279, + "column": 52 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5656, - "end": 5657, + "value": "=", + "start": 9074, + "end": 9075, "loc": { "start": { - "line": 168, - "column": 17 + "line": 279, + "column": 53 }, "end": { - "line": 168, - "column": 18 + "line": 279, + "column": 54 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metallicPBR", + "start": 9076, + "end": 9087, + "loc": { + "start": { + "line": 279, + "column": 55 + }, + "end": { + "line": 279, + "column": 66 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59011,23 +77462,22 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 5666, - "end": 5670, + "start": 9087, + "end": 9088, "loc": { "start": { - "line": 169, - "column": 8 + "line": 279, + "column": 66 }, "end": { - "line": 169, - "column": 12 + "line": 279, + "column": 67 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -59035,27 +77485,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 9986, - "start": 5671, - "end": 5675, + "value": "metallicRoughnessTexture", + "start": 9088, + "end": 9112, "loc": { "start": { - "line": 169, - "column": 13 + "line": 279, + "column": 67 }, "end": { - "line": 169, - "column": 17 + "line": 279, + "column": 91 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59065,16 +77514,16 @@ "binop": null, "updateContext": null }, - "start": 5675, - "end": 5676, + "start": 9112, + "end": 9113, "loc": { "start": { - "line": 169, - "column": 17 + "line": 279, + "column": 91 }, "end": { - "line": 169, - "column": 18 + "line": 279, + "column": 92 } } }, @@ -59090,44 +77539,43 @@ "postfix": false, "binop": null }, - "value": "minFilter", - "start": 5689, - "end": 5698, + "value": "texture", + "start": 9113, + "end": 9120, "loc": { "start": { - "line": 170, - "column": 12 + "line": 279, + "column": 92 }, "end": { - "line": 170, - "column": 21 + "line": 279, + "column": 99 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5699, - "end": 5700, + "start": 9120, + "end": 9121, "loc": { "start": { - "line": 170, - "column": 22 + "line": 279, + "column": 99 }, "end": { - "line": 170, - "column": 23 + "line": 279, + "column": 100 } } }, @@ -59143,17 +77591,17 @@ "postfix": false, "binop": null }, - "value": "NearestMipMapLinearFilter", - "start": 5701, - "end": 5726, + "value": "_textureId", + "start": 9121, + "end": 9131, "loc": { "start": { - "line": 170, - "column": 24 + "line": 279, + "column": 100 }, "end": { - "line": 170, - "column": 49 + "line": 279, + "column": 110 } } }, @@ -59170,23 +77618,22 @@ "binop": null, "updateContext": null }, - "start": 5726, - "end": 5727, + "start": 9131, + "end": 9132, "loc": { "start": { - "line": 170, - "column": 49 + "line": 279, + "column": 110 }, "end": { - "line": 170, - "column": 50 + "line": 279, + "column": 111 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -59194,54 +77641,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 5740, - "end": 5745, + "start": 9141, + "end": 9142, "loc": { "start": { - "line": 171, - "column": 12 + "line": 280, + "column": 8 }, "end": { - "line": 171, - "column": 17 + "line": 280, + "column": 9 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5745, - "end": 5746, + "start": 9147, + "end": 9148, "loc": { "start": { - "line": 171, - "column": 17 + "line": 281, + "column": 4 }, "end": { - "line": 171, - "column": 18 + "line": 281, + "column": 5 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59251,23 +77695,23 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 5755, - "end": 5759, + "value": "const", + "start": 9153, + "end": 9158, "loc": { "start": { - "line": 172, - "column": 8 + "line": 282, + "column": 4 }, "end": { - "line": 172, - "column": 12 + "line": 282, + "column": 9 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -59275,46 +77719,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 9987, - "start": 5760, - "end": 5764, + "value": "extensions", + "start": 9159, + "end": 9169, "loc": { "start": { - "line": 172, - "column": 13 + "line": 282, + "column": 10 }, "end": { - "line": 172, - "column": 17 + "line": 282, + "column": 20 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5764, - "end": 5765, + "value": "=", + "start": 9170, + "end": 9171, "loc": { "start": { - "line": 172, - "column": 17 + "line": 282, + "column": 21 }, "end": { - "line": 172, - "column": 18 + "line": 282, + "column": 22 } } }, @@ -59330,44 +77774,43 @@ "postfix": false, "binop": null }, - "value": "minFilter", - "start": 5778, - "end": 5787, + "value": "material", + "start": 9172, + "end": 9180, "loc": { "start": { - "line": 173, - "column": 12 + "line": 282, + "column": 23 }, "end": { - "line": 173, - "column": 21 + "line": 282, + "column": 31 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5788, - "end": 5789, + "start": 9180, + "end": 9181, "loc": { "start": { - "line": 173, - "column": 22 + "line": 282, + "column": 31 }, "end": { - "line": 173, - "column": 23 + "line": 282, + "column": 32 } } }, @@ -59383,17 +77826,17 @@ "postfix": false, "binop": null }, - "value": "LinearMipMapLinearFilter", - "start": 5790, - "end": 5814, + "value": "extensions", + "start": 9181, + "end": 9191, "loc": { "start": { - "line": 173, - "column": 24 + "line": 282, + "column": 32 }, "end": { - "line": 173, - "column": 48 + "line": 282, + "column": 42 } } }, @@ -59410,23 +77853,23 @@ "binop": null, "updateContext": null }, - "start": 5814, - "end": 5815, + "start": 9191, + "end": 9192, "loc": { "start": { - "line": 173, - "column": 48 + "line": 282, + "column": 42 }, "end": { - "line": 173, - "column": 49 + "line": 282, + "column": 43 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -59437,51 +77880,50 @@ "binop": null, "updateContext": null }, - "value": "break", - "start": 5828, - "end": 5833, + "value": "if", + "start": 9197, + "end": 9199, "loc": { "start": { - "line": 174, - "column": 12 + "line": 283, + "column": 4 }, "end": { - "line": 174, - "column": 17 + "line": 283, + "column": 6 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5833, - "end": 5834, + "start": 9200, + "end": 9201, "loc": { "start": { - "line": 174, - "column": 17 + "line": 283, + "column": 7 }, "end": { - "line": 174, - "column": 18 + "line": 283, + "column": 8 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -59489,23 +77931,23 @@ "postfix": false, "binop": null }, - "start": 5839, - "end": 5840, + "value": "extensions", + "start": 9201, + "end": 9211, "loc": { "start": { - "line": 175, - "column": 4 + "line": 283, + "column": 8 }, "end": { - "line": 175, - "column": 5 + "line": 283, + "column": 18 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -59513,27 +77955,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 5846, - "end": 5849, + "start": 9211, + "end": 9212, "loc": { "start": { - "line": 177, - "column": 4 + "line": 283, + "column": 18 }, "end": { - "line": 177, - "column": 7 + "line": 283, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -59542,44 +77982,44 @@ "postfix": false, "binop": null }, - "value": "magFilter", - "start": 5850, - "end": 5859, + "start": 9213, + "end": 9214, "loc": { "start": { - "line": 177, - "column": 8 + "line": 283, + "column": 20 }, "end": { - "line": 177, - "column": 17 + "line": 283, + "column": 21 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5860, - "end": 5861, + "value": "const", + "start": 9223, + "end": 9228, "loc": { "start": { - "line": 177, - "column": 18 + "line": 284, + "column": 8 }, "end": { - "line": 177, - "column": 19 + "line": 284, + "column": 13 } } }, @@ -59595,77 +78035,76 @@ "postfix": false, "binop": null }, - "value": "LinearFilter", - "start": 5862, - "end": 5874, + "value": "specularPBR", + "start": 9229, + "end": 9240, "loc": { "start": { - "line": 177, - "column": 20 + "line": 284, + "column": 14 }, "end": { - "line": 177, - "column": 32 + "line": 284, + "column": 25 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 5874, - "end": 5875, + "value": "=", + "start": 9241, + "end": 9242, "loc": { "start": { - "line": 177, - "column": 32 + "line": 284, + "column": 26 }, "end": { - "line": 177, - "column": 33 + "line": 284, + "column": 27 } } }, { "type": { - "label": "switch", - "keyword": "switch", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "switch", - "start": 5880, - "end": 5886, + "value": "extensions", + "start": 9243, + "end": 9253, "loc": { "start": { - "line": 178, - "column": 4 + "line": 284, + "column": 28 }, "end": { - "line": 178, - "column": 10 + "line": 284, + "column": 38 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -59673,24 +78112,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5887, - "end": 5888, + "start": 9253, + "end": 9254, "loc": { "start": { - "line": 178, - "column": 11 + "line": 284, + "column": 38 }, "end": { - "line": 178, - "column": 12 + "line": 284, + "column": 39 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -59698,25 +78138,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "texture", - "start": 5888, - "end": 5895, + "value": "KHR_materials_pbrSpecularGlossiness", + "start": 9254, + "end": 9291, "loc": { "start": { - "line": 178, - "column": 12 + "line": 284, + "column": 39 }, "end": { - "line": 178, - "column": 19 + "line": 284, + "column": 76 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -59727,48 +78168,49 @@ "binop": null, "updateContext": null }, - "start": 5895, - "end": 5896, + "start": 9291, + "end": 9292, "loc": { "start": { - "line": 178, - "column": 19 + "line": 284, + "column": 76 }, "end": { - "line": 178, - "column": 20 + "line": 284, + "column": 77 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "sampler", - "start": 5896, - "end": 5903, + "start": 9292, + "end": 9293, "loc": { "start": { - "line": 178, - "column": 20 + "line": 284, + "column": 77 }, "end": { - "line": 178, - "column": 27 + "line": 284, + "column": 78 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -59779,23 +78221,24 @@ "binop": null, "updateContext": null }, - "start": 5903, - "end": 5904, + "value": "if", + "start": 9302, + "end": 9304, "loc": { "start": { - "line": 178, - "column": 27 + "line": 285, + "column": 8 }, "end": { - "line": 178, - "column": 28 + "line": 285, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -59804,49 +78247,23 @@ "postfix": false, "binop": null }, - "value": "magFilter", - "start": 5904, - "end": 5913, + "start": 9305, + "end": 9306, "loc": { "start": { - "line": 178, - "column": 28 + "line": 285, + "column": 11 }, "end": { - "line": 178, - "column": 37 + "line": 285, + "column": 12 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5913, - "end": 5914, - "loc": { - "start": { - "line": 178, - "column": 37 - }, - "end": { - "line": 178, - "column": 38 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -59855,78 +78272,75 @@ "postfix": false, "binop": null }, - "start": 5915, - "end": 5916, + "value": "specularPBR", + "start": 9306, + "end": 9317, "loc": { "start": { - "line": 178, - "column": 39 + "line": 285, + "column": 12 }, "end": { - "line": 178, - "column": 40 + "line": 285, + "column": 23 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "case", - "start": 5925, - "end": 5929, + "start": 9317, + "end": 9318, "loc": { "start": { - "line": 179, - "column": 8 + "line": 285, + "column": 23 }, "end": { - "line": 179, - "column": 12 + "line": 285, + "column": 24 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 9728, - "start": 5930, - "end": 5934, + "start": 9319, + "end": 9320, "loc": { "start": { - "line": 179, - "column": 13 + "line": 285, + "column": 25 }, "end": { - "line": 179, - "column": 17 + "line": 285, + "column": 26 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -59936,16 +78350,17 @@ "binop": null, "updateContext": null }, - "start": 5934, - "end": 5935, + "value": "const", + "start": 9333, + "end": 9338, "loc": { "start": { - "line": 179, - "column": 17 + "line": 286, + "column": 12 }, "end": { - "line": 179, - "column": 18 + "line": 286, + "column": 17 } } }, @@ -59961,17 +78376,17 @@ "postfix": false, "binop": null }, - "value": "magFilter", - "start": 5948, - "end": 5957, + "value": "specularTexture", + "start": 9339, + "end": 9354, "loc": { "start": { - "line": 180, - "column": 12 + "line": 286, + "column": 18 }, "end": { - "line": 180, - "column": 21 + "line": 286, + "column": 33 } } }, @@ -59989,16 +78404,16 @@ "updateContext": null }, "value": "=", - "start": 5958, - "end": 5959, + "start": 9355, + "end": 9356, "loc": { "start": { - "line": 180, - "column": 22 + "line": 286, + "column": 34 }, "end": { - "line": 180, - "column": 23 + "line": 286, + "column": 35 } } }, @@ -60014,24 +78429,24 @@ "postfix": false, "binop": null }, - "value": "NearestFilter", - "start": 5960, - "end": 5973, + "value": "specularPBR", + "start": 9357, + "end": 9368, "loc": { "start": { - "line": 180, - "column": 24 + "line": 286, + "column": 36 }, "end": { - "line": 180, - "column": 37 + "line": 286, + "column": 47 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -60041,44 +78456,42 @@ "binop": null, "updateContext": null }, - "start": 5973, - "end": 5974, + "start": 9368, + "end": 9369, "loc": { "start": { - "line": 180, - "column": 37 + "line": 286, + "column": 47 }, "end": { - "line": 180, - "column": 38 + "line": 286, + "column": 48 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 5987, - "end": 5992, + "value": "specularTexture", + "start": 9369, + "end": 9384, "loc": { "start": { - "line": 181, - "column": 12 + "line": 286, + "column": 48 }, "end": { - "line": 181, - "column": 17 + "line": 286, + "column": 63 } } }, @@ -60095,24 +78508,24 @@ "binop": null, "updateContext": null }, - "start": 5992, - "end": 5993, + "start": 9384, + "end": 9385, "loc": { "start": { - "line": 181, - "column": 17 + "line": 286, + "column": 63 }, "end": { - "line": 181, - "column": 18 + "line": 286, + "column": 64 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -60122,70 +78535,42 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 6002, - "end": 6006, + "value": "if", + "start": 9398, + "end": 9400, "loc": { "start": { - "line": 182, - "column": 8 - }, - "end": { - "line": 182, + "line": 287, "column": 12 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 9729, - "start": 6007, - "end": 6011, - "loc": { - "start": { - "line": 182, - "column": 13 }, "end": { - "line": 182, - "column": 17 + "line": 287, + "column": 14 } } }, { "type": { - "label": ":", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6011, - "end": 6012, + "start": 9401, + "end": 9402, "loc": { "start": { - "line": 182, - "column": 17 + "line": 287, + "column": 15 }, "end": { - "line": 182, - "column": 18 + "line": 287, + "column": 16 } } }, @@ -60201,50 +78586,51 @@ "postfix": false, "binop": null }, - "value": "magFilter", - "start": 6025, - "end": 6034, + "value": "specularTexture", + "start": 9402, + "end": 9417, "loc": { "start": { - "line": 183, - "column": 12 + "line": 287, + "column": 16 }, "end": { - "line": 183, - "column": 21 + "line": 287, + "column": 31 } } }, { "type": { - "label": "=", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "=", - "start": 6035, - "end": 6036, + "value": "!==", + "start": 9418, + "end": 9421, "loc": { "start": { - "line": 183, - "column": 22 + "line": 287, + "column": 32 }, "end": { - "line": 183, - "column": 23 + "line": 287, + "column": 35 } } }, { "type": { - "label": "name", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -60252,25 +78638,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "LinearFilter", - "start": 6037, - "end": 6049, + "value": "null", + "start": 9422, + "end": 9426, "loc": { "start": { - "line": 183, - "column": 24 + "line": 287, + "column": 36 }, "end": { - "line": 183, - "column": 36 + "line": 287, + "column": 40 } } }, { "type": { - "label": ";", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -60278,53 +78665,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 6049, - "end": 6050, + "value": "&&", + "start": 9427, + "end": 9429, "loc": { "start": { - "line": 183, - "column": 36 + "line": 287, + "column": 41 }, "end": { - "line": 183, - "column": 37 + "line": 287, + "column": 43 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 6063, - "end": 6068, + "value": "specularTexture", + "start": 9430, + "end": 9445, "loc": { "start": { - "line": 184, - "column": 12 + "line": 287, + "column": 44 }, "end": { - "line": 184, - "column": 17 + "line": 287, + "column": 59 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -60332,27 +78718,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 6068, - "end": 6069, + "value": "!==", + "start": 9446, + "end": 9449, "loc": { "start": { - "line": 184, - "column": 17 + "line": 287, + "column": 60 }, "end": { - "line": 184, - "column": 18 + "line": 287, + "column": 63 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -60360,23 +78747,23 @@ "postfix": false, "binop": null }, - "start": 6074, - "end": 6075, + "value": "undefined", + "start": 9450, + "end": 9459, "loc": { "start": { - "line": 185, - "column": 4 + "line": 287, + "column": 64 }, "end": { - "line": 185, - "column": 5 + "line": 287, + "column": 73 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -60384,27 +78771,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 6081, - "end": 6084, + "start": 9459, + "end": 9460, "loc": { "start": { - "line": 187, - "column": 4 + "line": 287, + "column": 73 }, "end": { - "line": 187, - "column": 7 + "line": 287, + "column": 74 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -60413,52 +78798,40 @@ "postfix": false, "binop": null }, - "value": "wrapS", - "start": 6085, - "end": 6090, + "start": 9461, + "end": 9462, "loc": { "start": { - "line": 187, - "column": 8 + "line": 287, + "column": 75 }, "end": { - "line": 187, - "column": 13 + "line": 287, + "column": 76 } } }, { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 6091, - "end": 6092, + "type": "CommentLine", + "value": " textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;", + "start": 9479, + "end": 9575, "loc": { "start": { - "line": 187, - "column": 14 + "line": 288, + "column": 16 }, "end": { - "line": 187, - "column": 15 + "line": 288, + "column": 112 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -60466,24 +78839,24 @@ "postfix": false, "binop": null }, - "value": "RepeatWrapping", - "start": 6093, - "end": 6107, + "start": 9588, + "end": 9589, "loc": { "start": { - "line": 187, - "column": 16 + "line": 289, + "column": 12 }, "end": { - "line": 187, - "column": 30 + "line": 289, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -60493,69 +78866,70 @@ "binop": null, "updateContext": null }, - "start": 6107, - "end": 6108, + "value": "const", + "start": 9602, + "end": 9607, "loc": { "start": { - "line": 187, - "column": 30 + "line": 290, + "column": 12 }, "end": { - "line": 187, - "column": 31 + "line": 290, + "column": 17 } } }, { "type": { - "label": "switch", - "keyword": "switch", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "switch", - "start": 6113, - "end": 6119, + "value": "specularColorTexture", + "start": 9608, + "end": 9628, "loc": { "start": { - "line": 188, - "column": 4 + "line": 290, + "column": 18 }, "end": { - "line": 188, - "column": 10 + "line": 290, + "column": 38 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6120, - "end": 6121, + "value": "=", + "start": 9629, + "end": 9630, "loc": { "start": { - "line": 188, - "column": 11 + "line": 290, + "column": 39 }, "end": { - "line": 188, - "column": 12 + "line": 290, + "column": 40 } } }, @@ -60571,17 +78945,17 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 6121, - "end": 6128, + "value": "specularPBR", + "start": 9631, + "end": 9642, "loc": { "start": { - "line": 188, - "column": 12 + "line": 290, + "column": 41 }, "end": { - "line": 188, - "column": 19 + "line": 290, + "column": 52 } } }, @@ -60598,16 +78972,16 @@ "binop": null, "updateContext": null }, - "start": 6128, - "end": 6129, + "start": 9642, + "end": 9643, "loc": { "start": { - "line": 188, - "column": 19 + "line": 290, + "column": 52 }, "end": { - "line": 188, - "column": 20 + "line": 290, + "column": 53 } } }, @@ -60623,24 +78997,24 @@ "postfix": false, "binop": null }, - "value": "sampler", - "start": 6129, - "end": 6136, + "value": "specularColorTexture", + "start": 9643, + "end": 9663, "loc": { "start": { - "line": 188, - "column": 20 + "line": 290, + "column": 53 }, "end": { - "line": 188, - "column": 27 + "line": 290, + "column": 73 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -60650,50 +79024,52 @@ "binop": null, "updateContext": null }, - "start": 6136, - "end": 6137, + "start": 9663, + "end": 9664, "loc": { "start": { - "line": 188, - "column": 27 + "line": 290, + "column": 73 }, "end": { - "line": 188, - "column": 28 + "line": 290, + "column": 74 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wrapS", - "start": 6137, - "end": 6142, + "value": "if", + "start": 9677, + "end": 9679, "loc": { "start": { - "line": 188, - "column": 28 + "line": 291, + "column": 12 }, "end": { - "line": 188, - "column": 33 + "line": 291, + "column": 14 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -60701,23 +79077,23 @@ "postfix": false, "binop": null }, - "start": 6142, - "end": 6143, + "start": 9680, + "end": 9681, "loc": { "start": { - "line": 188, - "column": 33 + "line": 291, + "column": 15 }, "end": { - "line": 188, - "column": 34 + "line": 291, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -60726,23 +79102,23 @@ "postfix": false, "binop": null }, - "start": 6144, - "end": 6145, + "value": "specularColorTexture", + "start": 9681, + "end": 9701, "loc": { "start": { - "line": 188, - "column": 35 + "line": 291, + "column": 16 }, "end": { - "line": 188, + "line": 291, "column": 36 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -60750,26 +79126,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "case", - "start": 6154, - "end": 6158, + "value": "!==", + "start": 9702, + "end": 9705, "loc": { "start": { - "line": 189, - "column": 8 + "line": 291, + "column": 37 }, "end": { - "line": 189, - "column": 12 + "line": 291, + "column": 40 } } }, { "type": { - "label": "num", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -60780,23 +79157,23 @@ "binop": null, "updateContext": null }, - "value": 33071, - "start": 6159, - "end": 6164, + "value": "null", + "start": 9706, + "end": 9710, "loc": { "start": { - "line": 189, - "column": 13 + "line": 291, + "column": 41 }, "end": { - "line": 189, - "column": 18 + "line": 291, + "column": 45 } } }, { "type": { - "label": ":", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -60804,19 +79181,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 6164, - "end": 6165, + "value": "&&", + "start": 9711, + "end": 9713, "loc": { "start": { - "line": 189, - "column": 18 + "line": 291, + "column": 46 }, "end": { - "line": 189, - "column": 19 + "line": 291, + "column": 48 } } }, @@ -60832,44 +79210,44 @@ "postfix": false, "binop": null }, - "value": "wrapS", - "start": 6178, - "end": 6183, + "value": "specularColorTexture", + "start": 9714, + "end": 9734, "loc": { "start": { - "line": 190, - "column": 12 + "line": 291, + "column": 49 }, "end": { - "line": 190, - "column": 17 + "line": 291, + "column": 69 } } }, { "type": { - "label": "=", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "=", - "start": 6184, - "end": 6185, + "value": "!==", + "start": 9735, + "end": 9738, "loc": { "start": { - "line": 190, - "column": 18 + "line": 291, + "column": 70 }, "end": { - "line": 190, - "column": 19 + "line": 291, + "column": 73 } } }, @@ -60885,105 +79263,100 @@ "postfix": false, "binop": null }, - "value": "ClampToEdgeWrapping", - "start": 6186, - "end": 6205, + "value": "undefined", + "start": 9739, + "end": 9748, "loc": { "start": { - "line": 190, - "column": 20 + "line": 291, + "column": 74 }, "end": { - "line": 190, - "column": 39 + "line": 291, + "column": 83 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6205, - "end": 6206, + "start": 9748, + "end": 9749, "loc": { "start": { - "line": 190, - "column": 39 + "line": 291, + "column": 83 }, "end": { - "line": 190, - "column": 40 + "line": 291, + "column": 84 } } }, { "type": { - "label": "break", - "keyword": "break", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 6219, - "end": 6224, + "start": 9750, + "end": 9751, "loc": { "start": { - "line": 191, - "column": 12 + "line": 291, + "column": 85 }, "end": { - "line": 191, - "column": 17 + "line": 291, + "column": 86 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6224, - "end": 6225, + "value": "textureSetCfg", + "start": 9768, + "end": 9781, "loc": { "start": { - "line": 191, - "column": 17 + "line": 292, + "column": 16 }, "end": { - "line": 191, - "column": 18 + "line": 292, + "column": 29 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -60993,23 +79366,22 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 6234, - "end": 6238, + "start": 9781, + "end": 9782, "loc": { "start": { - "line": 192, - "column": 8 + "line": 292, + "column": 29 }, "end": { - "line": 192, - "column": 12 + "line": 292, + "column": 30 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -61017,46 +79389,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 33648, - "start": 6239, - "end": 6244, + "value": "colorTextureId", + "start": 9782, + "end": 9796, "loc": { "start": { - "line": 192, - "column": 13 + "line": 292, + "column": 30 }, "end": { - "line": 192, - "column": 18 + "line": 292, + "column": 44 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 6244, - "end": 6245, + "value": "=", + "start": 9797, + "end": 9798, "loc": { "start": { - "line": 192, - "column": 18 + "line": 292, + "column": 45 }, "end": { - "line": 192, - "column": 19 + "line": 292, + "column": 46 } } }, @@ -61072,44 +79444,43 @@ "postfix": false, "binop": null }, - "value": "wrapS", - "start": 6258, - "end": 6263, + "value": "ctx", + "start": 9799, + "end": 9802, "loc": { "start": { - "line": 193, - "column": 12 + "line": 292, + "column": 47 }, "end": { - "line": 193, - "column": 17 + "line": 292, + "column": 50 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 6264, - "end": 6265, + "start": 9802, + "end": 9803, "loc": { "start": { - "line": 193, - "column": 18 + "line": 292, + "column": 50 }, "end": { - "line": 193, - "column": 19 + "line": 292, + "column": 51 } } }, @@ -61125,24 +79496,24 @@ "postfix": false, "binop": null }, - "value": "MirroredRepeatWrapping", - "start": 6266, - "end": 6288, + "value": "gltfData", + "start": 9803, + "end": 9811, "loc": { "start": { - "line": 193, - "column": 20 + "line": 292, + "column": 51 }, "end": { - "line": 193, - "column": 42 + "line": 292, + "column": 59 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -61152,52 +79523,50 @@ "binop": null, "updateContext": null }, - "start": 6288, - "end": 6289, + "start": 9811, + "end": 9812, "loc": { "start": { - "line": 193, - "column": 42 + "line": 292, + "column": 59 }, "end": { - "line": 193, - "column": 43 + "line": 292, + "column": 60 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 6302, - "end": 6307, + "value": "textures", + "start": 9812, + "end": 9820, "loc": { "start": { - "line": 194, - "column": 12 + "line": 292, + "column": 60 }, "end": { - "line": 194, - "column": 17 + "line": 292, + "column": 68 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -61206,52 +79575,50 @@ "binop": null, "updateContext": null }, - "start": 6307, - "end": 6308, + "start": 9820, + "end": 9821, "loc": { "start": { - "line": 194, - "column": 17 + "line": 292, + "column": 68 }, "end": { - "line": 194, - "column": 18 + "line": 292, + "column": 69 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "case", - "start": 6317, - "end": 6321, + "value": "specularColorTexture", + "start": 9821, + "end": 9841, "loc": { "start": { - "line": 195, - "column": 8 + "line": 292, + "column": 69 }, "end": { - "line": 195, - "column": 12 + "line": 292, + "column": 89 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -61260,96 +79627,94 @@ "binop": null, "updateContext": null }, - "value": 10497, - "start": 6322, - "end": 6327, + "start": 9841, + "end": 9842, "loc": { "start": { - "line": 195, - "column": 13 + "line": 292, + "column": 89 }, "end": { - "line": 195, - "column": 18 + "line": 292, + "column": 90 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6327, - "end": 6328, + "value": "index", + "start": 9842, + "end": 9847, "loc": { "start": { - "line": 195, - "column": 18 + "line": 292, + "column": 90 }, "end": { - "line": 195, - "column": 19 + "line": 292, + "column": 95 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wrapS", - "start": 6341, - "end": 6346, + "start": 9847, + "end": 9848, "loc": { "start": { - "line": 196, - "column": 12 + "line": 292, + "column": 95 }, "end": { - "line": 196, - "column": 17 + "line": 292, + "column": 96 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 6347, - "end": 6348, + "start": 9848, + "end": 9849, "loc": { "start": { - "line": 196, - "column": 18 + "line": 292, + "column": 96 }, "end": { - "line": 196, - "column": 19 + "line": 292, + "column": 97 } } }, @@ -61365,17 +79730,17 @@ "postfix": false, "binop": null }, - "value": "RepeatWrapping", - "start": 6349, - "end": 6363, + "value": "_textureId", + "start": 9849, + "end": 9859, "loc": { "start": { - "line": 196, - "column": 20 + "line": 292, + "column": 97 }, "end": { - "line": 196, - "column": 34 + "line": 292, + "column": 107 } } }, @@ -61392,23 +79757,22 @@ "binop": null, "updateContext": null }, - "start": 6363, - "end": 6364, + "start": 9859, + "end": 9860, "loc": { "start": { - "line": 196, - "column": 34 + "line": 292, + "column": 107 }, "end": { - "line": 196, - "column": 35 + "line": 292, + "column": 108 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -61416,46 +79780,43 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 6377, - "end": 6382, + "start": 9873, + "end": 9874, "loc": { "start": { - "line": 197, + "line": 293, "column": 12 }, "end": { - "line": 197, - "column": 17 + "line": 293, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6382, - "end": 6383, + "start": 9883, + "end": 9884, "loc": { "start": { - "line": 197, - "column": 17 + "line": 294, + "column": 8 }, "end": { - "line": 197, - "column": 18 + "line": 294, + "column": 9 } } }, @@ -61471,23 +79832,23 @@ "postfix": false, "binop": null }, - "start": 6388, - "end": 6389, + "start": 9889, + "end": 9890, "loc": { "start": { - "line": 198, + "line": 295, "column": 4 }, "end": { - "line": 198, + "line": 295, "column": 5 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -61498,24 +79859,24 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 6395, - "end": 6398, + "value": "if", + "start": 9895, + "end": 9897, "loc": { "start": { - "line": 200, + "line": 296, "column": 4 }, "end": { - "line": 200, - "column": 7 + "line": 296, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -61524,44 +79885,16 @@ "postfix": false, "binop": null }, - "value": "wrapT", - "start": 6399, - "end": 6404, - "loc": { - "start": { - "line": 200, - "column": 8 - }, - "end": { - "line": 200, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 6405, - "end": 6406, + "start": 9898, + "end": 9899, "loc": { "start": { - "line": 200, - "column": 14 + "line": 296, + "column": 7 }, "end": { - "line": 200, - "column": 15 + "line": 296, + "column": 8 } } }, @@ -61577,24 +79910,24 @@ "postfix": false, "binop": null }, - "value": "RepeatWrapping", - "start": 6407, - "end": 6421, + "value": "textureSetCfg", + "start": 9899, + "end": 9912, "loc": { "start": { - "line": 200, - "column": 16 + "line": 296, + "column": 8 }, "end": { - "line": 200, - "column": 30 + "line": 296, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -61604,69 +79937,69 @@ "binop": null, "updateContext": null }, - "start": 6421, - "end": 6422, + "start": 9912, + "end": 9913, "loc": { "start": { - "line": 200, - "column": 30 + "line": 296, + "column": 21 }, "end": { - "line": 200, - "column": 31 + "line": 296, + "column": 22 } } }, { "type": { - "label": "switch", - "keyword": "switch", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "switch", - "start": 6427, - "end": 6433, + "value": "normalTextureId", + "start": 9913, + "end": 9928, "loc": { "start": { - "line": 201, - "column": 4 + "line": 296, + "column": 22 }, "end": { - "line": 201, - "column": 10 + "line": 296, + "column": 37 } } }, { "type": { - "label": "(", + "label": "==/!=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 6434, - "end": 6435, + "value": "!==", + "start": 9929, + "end": 9932, "loc": { "start": { - "line": 201, - "column": 11 + "line": 296, + "column": 38 }, "end": { - "line": 201, - "column": 12 + "line": 296, + "column": 41 } } }, @@ -61682,43 +80015,44 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 6435, - "end": 6442, + "value": "undefined", + "start": 9933, + "end": 9942, "loc": { "start": { - "line": 201, - "column": 12 + "line": 296, + "column": 42 }, "end": { - "line": 201, - "column": 19 + "line": 296, + "column": 51 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "||", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 6442, - "end": 6443, + "value": "||", + "start": 9943, + "end": 9945, "loc": { "start": { - "line": 201, - "column": 19 + "line": 296, + "column": 52 }, "end": { - "line": 201, - "column": 20 + "line": 296, + "column": 54 } } }, @@ -61734,17 +80068,17 @@ "postfix": false, "binop": null }, - "value": "sampler", - "start": 6443, - "end": 6450, + "value": "textureSetCfg", + "start": 9954, + "end": 9967, "loc": { "start": { - "line": 201, - "column": 20 + "line": 297, + "column": 8 }, "end": { - "line": 201, - "column": 27 + "line": 297, + "column": 21 } } }, @@ -61761,16 +80095,16 @@ "binop": null, "updateContext": null }, - "start": 6450, - "end": 6451, + "start": 9967, + "end": 9968, "loc": { "start": { - "line": 201, - "column": 27 + "line": 297, + "column": 21 }, "end": { - "line": 201, - "column": 28 + "line": 297, + "column": 22 } } }, @@ -61786,49 +80120,51 @@ "postfix": false, "binop": null }, - "value": "wrapT", - "start": 6451, - "end": 6456, + "value": "occlusionTextureId", + "start": 9968, + "end": 9986, "loc": { "start": { - "line": 201, - "column": 28 + "line": 297, + "column": 22 }, "end": { - "line": 201, - "column": 33 + "line": 297, + "column": 40 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 6456, - "end": 6457, + "value": "!==", + "start": 9987, + "end": 9990, "loc": { "start": { - "line": 201, - "column": 33 + "line": 297, + "column": 41 }, "end": { - "line": 201, - "column": 34 + "line": 297, + "column": 44 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -61837,23 +80173,23 @@ "postfix": false, "binop": null }, - "start": 6458, - "end": 6459, + "value": "undefined", + "start": 9991, + "end": 10000, "loc": { "start": { - "line": 201, - "column": 35 + "line": 297, + "column": 45 }, "end": { - "line": 201, - "column": 36 + "line": 297, + "column": 54 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -61861,26 +80197,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "value": "case", - "start": 6468, - "end": 6472, + "value": "||", + "start": 10001, + "end": 10003, "loc": { "start": { - "line": 202, - "column": 8 + "line": 297, + "column": 55 }, "end": { - "line": 202, - "column": 12 + "line": 297, + "column": 57 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -61888,27 +80224,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 33071, - "start": 6473, - "end": 6478, + "value": "textureSetCfg", + "start": 10012, + "end": 10025, "loc": { "start": { - "line": 202, - "column": 13 + "line": 298, + "column": 8 }, "end": { - "line": 202, - "column": 18 + "line": 298, + "column": 21 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -61918,16 +80253,16 @@ "binop": null, "updateContext": null }, - "start": 6478, - "end": 6479, + "start": 10025, + "end": 10026, "loc": { "start": { - "line": 202, - "column": 18 + "line": 298, + "column": 21 }, "end": { - "line": 202, - "column": 19 + "line": 298, + "column": 22 } } }, @@ -61943,44 +80278,44 @@ "postfix": false, "binop": null }, - "value": "wrapT", - "start": 6492, - "end": 6497, + "value": "emissiveTextureId", + "start": 10026, + "end": 10043, "loc": { "start": { - "line": 203, - "column": 12 + "line": 298, + "column": 22 }, "end": { - "line": 203, - "column": 17 + "line": 298, + "column": 39 } } }, { "type": { - "label": "=", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "=", - "start": 6498, - "end": 6499, + "value": "!==", + "start": 10044, + "end": 10047, "loc": { "start": { - "line": 203, - "column": 18 + "line": 298, + "column": 40 }, "end": { - "line": 203, - "column": 19 + "line": 298, + "column": 43 } } }, @@ -61996,23 +80331,23 @@ "postfix": false, "binop": null }, - "value": "ClampToEdgeWrapping", - "start": 6500, - "end": 6519, + "value": "undefined", + "start": 10048, + "end": 10057, "loc": { "start": { - "line": 203, - "column": 20 + "line": 298, + "column": 44 }, "end": { - "line": 203, - "column": 39 + "line": 298, + "column": 53 } } }, { "type": { - "label": ";", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -62020,81 +80355,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 6519, - "end": 6520, + "value": "||", + "start": 10058, + "end": 10060, "loc": { "start": { - "line": 203, - "column": 39 + "line": 298, + "column": 54 }, "end": { - "line": 203, - "column": 40 + "line": 298, + "column": 56 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "break", - "start": 6533, - "end": 6538, - "loc": { - "start": { - "line": 204, - "column": 12 - }, - "end": { - "line": 204, - "column": 17 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6538, - "end": 6539, + "value": "textureSetCfg", + "start": 10069, + "end": 10082, "loc": { "start": { - "line": 204, - "column": 17 + "line": 299, + "column": 8 }, "end": { - "line": 204, - "column": 18 + "line": 299, + "column": 21 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -62104,23 +80411,22 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 6548, - "end": 6552, + "start": 10082, + "end": 10083, "loc": { "start": { - "line": 205, - "column": 8 + "line": 299, + "column": 21 }, "end": { - "line": 205, - "column": 12 + "line": 299, + "column": 22 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -62128,26 +80434,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 33648, - "start": 6553, - "end": 6558, + "value": "colorTextureId", + "start": 10083, + "end": 10097, "loc": { "start": { - "line": 205, - "column": 13 + "line": 299, + "column": 22 }, "end": { - "line": 205, - "column": 18 + "line": 299, + "column": 36 } } }, { "type": { - "label": ":", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -62155,19 +80460,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 6558, - "end": 6559, + "value": "!==", + "start": 10098, + "end": 10101, "loc": { "start": { - "line": 205, - "column": 18 + "line": 299, + "column": 37 }, "end": { - "line": 205, - "column": 19 + "line": 299, + "column": 40 } } }, @@ -62183,44 +80489,44 @@ "postfix": false, "binop": null }, - "value": "wrapT", - "start": 6572, - "end": 6577, + "value": "undefined", + "start": 10102, + "end": 10111, "loc": { "start": { - "line": 206, - "column": 12 + "line": 299, + "column": 41 }, "end": { - "line": 206, - "column": 17 + "line": 299, + "column": 50 } } }, { "type": { - "label": "=", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "value": "=", - "start": 6578, - "end": 6579, + "value": "||", + "start": 10112, + "end": 10114, "loc": { "start": { - "line": 206, - "column": 18 + "line": 299, + "column": 51 }, "end": { - "line": 206, - "column": 19 + "line": 299, + "column": 53 } } }, @@ -62236,24 +80542,24 @@ "postfix": false, "binop": null }, - "value": "MirroredRepeatWrapping", - "start": 6580, - "end": 6602, + "value": "textureSetCfg", + "start": 10123, + "end": 10136, "loc": { "start": { - "line": 206, - "column": 20 + "line": 300, + "column": 8 }, "end": { - "line": 206, - "column": 42 + "line": 300, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -62263,50 +80569,48 @@ "binop": null, "updateContext": null }, - "start": 6602, - "end": 6603, + "start": 10136, + "end": 10137, "loc": { "start": { - "line": 206, - "column": 42 + "line": 300, + "column": 21 }, "end": { - "line": 206, - "column": 43 + "line": 300, + "column": 22 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 6616, - "end": 6621, + "value": "metallicRoughnessTextureId", + "start": 10137, + "end": 10163, "loc": { "start": { - "line": 207, - "column": 12 + "line": 300, + "column": 22 }, "end": { - "line": 207, - "column": 17 + "line": 300, + "column": 48 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -62314,100 +80618,96 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 6621, - "end": 6622, + "value": "!==", + "start": 10164, + "end": 10167, "loc": { "start": { - "line": 207, - "column": 17 + "line": 300, + "column": 49 }, "end": { - "line": 207, - "column": 18 + "line": 300, + "column": 52 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "postfix": false, + "binop": null }, - "value": "case", - "start": 6631, - "end": 6635, + "value": "undefined", + "start": 10168, + "end": 10177, "loc": { "start": { - "line": 208, - "column": 8 + "line": 300, + "column": 53 }, "end": { - "line": 208, - "column": 12 + "line": 300, + "column": 62 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 10497, - "start": 6636, - "end": 6641, + "start": 10177, + "end": 10178, "loc": { "start": { - "line": 208, - "column": 13 + "line": 300, + "column": 62 }, "end": { - "line": 208, - "column": 18 + "line": 300, + "column": 63 } } }, { "type": { - "label": ":", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6641, - "end": 6642, + "start": 10179, + "end": 10180, "loc": { "start": { - "line": 208, - "column": 18 + "line": 300, + "column": 64 }, "end": { - "line": 208, - "column": 19 + "line": 300, + "column": 65 } } }, @@ -62423,44 +80723,43 @@ "postfix": false, "binop": null }, - "value": "wrapT", - "start": 6655, - "end": 6660, + "value": "textureSetCfg", + "start": 10189, + "end": 10202, "loc": { "start": { - "line": 209, - "column": 12 + "line": 301, + "column": 8 }, "end": { - "line": 209, - "column": 17 + "line": 301, + "column": 21 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 6661, - "end": 6662, + "start": 10202, + "end": 10203, "loc": { "start": { - "line": 209, - "column": 18 + "line": 301, + "column": 21 }, "end": { - "line": 209, - "column": 19 + "line": 301, + "column": 22 } } }, @@ -62476,78 +80775,76 @@ "postfix": false, "binop": null }, - "value": "RepeatWrapping", - "start": 6663, - "end": 6677, + "value": "textureSetId", + "start": 10203, + "end": 10215, "loc": { "start": { - "line": 209, - "column": 20 + "line": 301, + "column": 22 }, "end": { - "line": 209, + "line": 301, "column": 34 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 6677, - "end": 6678, + "value": "=", + "start": 10216, + "end": 10217, "loc": { "start": { - "line": 209, - "column": 34 + "line": 301, + "column": 35 }, "end": { - "line": 209, - "column": 35 + "line": 301, + "column": 36 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 6691, - "end": 6696, + "start": 10218, + "end": 10219, "loc": { "start": { - "line": 210, - "column": 12 + "line": 301, + "column": 37 }, "end": { - "line": 210, - "column": 17 + "line": 301, + "column": 38 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -62557,24 +80854,25 @@ "binop": null, "updateContext": null }, - "start": 6696, - "end": 6697, + "value": "textureSet-", + "start": 10219, + "end": 10230, "loc": { "start": { - "line": 210, - "column": 17 + "line": 301, + "column": 38 }, "end": { - "line": 210, - "column": 18 + "line": 301, + "column": 49 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "${", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -62582,156 +80880,151 @@ "postfix": false, "binop": null }, - "start": 6702, - "end": 6703, + "start": 10230, + "end": 10232, "loc": { "start": { - "line": 211, - "column": 4 + "line": 301, + "column": 49 }, "end": { - "line": 211, - "column": 5 + "line": 301, + "column": 51 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 6709, - "end": 6712, + "value": "ctx", + "start": 10232, + "end": 10235, "loc": { "start": { - "line": 213, - "column": 4 + "line": 301, + "column": 51 }, "end": { - "line": 213, - "column": 7 + "line": 301, + "column": 54 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wrapR", - "start": 6713, - "end": 6718, + "start": 10235, + "end": 10236, "loc": { "start": { - "line": 213, - "column": 8 + "line": 301, + "column": 54 }, "end": { - "line": 213, - "column": 13 + "line": 301, + "column": 55 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 6719, - "end": 6720, + "value": "nextId", + "start": 10236, + "end": 10242, "loc": { "start": { - "line": 213, - "column": 14 + "line": 301, + "column": 55 }, "end": { - "line": 213, - "column": 15 + "line": 301, + "column": 61 } } }, { "type": { - "label": "name", + "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, + "prefix": true, + "postfix": true, "binop": null }, - "value": "RepeatWrapping", - "start": 6721, - "end": 6735, + "value": "++", + "start": 10242, + "end": 10244, "loc": { "start": { - "line": 213, - "column": 16 + "line": 301, + "column": 61 }, "end": { - "line": 213, - "column": 30 + "line": 301, + "column": 63 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6735, - "end": 6736, + "start": 10244, + "end": 10245, "loc": { "start": { - "line": 213, - "column": 30 + "line": 301, + "column": 63 }, "end": { - "line": 213, - "column": 31 + "line": 301, + "column": 64 } } }, { "type": { - "label": "switch", - "keyword": "switch", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -62742,24 +81035,24 @@ "binop": null, "updateContext": null }, - "value": "switch", - "start": 6741, - "end": 6747, + "value": ";", + "start": 10245, + "end": 10246, "loc": { "start": { - "line": 214, - "column": 4 + "line": 301, + "column": 64 }, "end": { - "line": 214, - "column": 10 + "line": 301, + "column": 65 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -62768,16 +81061,16 @@ "postfix": false, "binop": null }, - "start": 6748, - "end": 6749, + "start": 10246, + "end": 10247, "loc": { "start": { - "line": 214, - "column": 11 + "line": 301, + "column": 65 }, "end": { - "line": 214, - "column": 12 + "line": 301, + "column": 66 } } }, @@ -62793,17 +81086,17 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 6749, - "end": 6756, + "value": "ctx", + "start": 10256, + "end": 10259, "loc": { "start": { - "line": 214, - "column": 12 + "line": 302, + "column": 8 }, "end": { - "line": 214, - "column": 19 + "line": 302, + "column": 11 } } }, @@ -62820,16 +81113,16 @@ "binop": null, "updateContext": null }, - "start": 6756, - "end": 6757, + "start": 10259, + "end": 10260, "loc": { "start": { - "line": 214, - "column": 19 + "line": 302, + "column": 11 }, "end": { - "line": 214, - "column": 20 + "line": 302, + "column": 12 } } }, @@ -62845,17 +81138,17 @@ "postfix": false, "binop": null }, - "value": "sampler", - "start": 6757, - "end": 6764, + "value": "xktModel", + "start": 10260, + "end": 10268, "loc": { "start": { - "line": 214, - "column": 20 + "line": 302, + "column": 12 }, "end": { - "line": 214, - "column": 27 + "line": 302, + "column": 20 } } }, @@ -62872,16 +81165,16 @@ "binop": null, "updateContext": null }, - "start": 6764, - "end": 6765, + "start": 10268, + "end": 10269, "loc": { "start": { - "line": 214, - "column": 27 + "line": 302, + "column": 20 }, "end": { - "line": 214, - "column": 28 + "line": 302, + "column": 21 } } }, @@ -62897,25 +81190,25 @@ "postfix": false, "binop": null }, - "value": "wrapR", - "start": 6765, - "end": 6770, + "value": "createTextureSet", + "start": 10269, + "end": 10285, "loc": { "start": { - "line": 214, - "column": 28 + "line": 302, + "column": 21 }, "end": { - "line": 214, - "column": 33 + "line": 302, + "column": 37 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -62923,23 +81216,23 @@ "postfix": false, "binop": null }, - "start": 6770, - "end": 6771, + "start": 10285, + "end": 10286, "loc": { "start": { - "line": 214, - "column": 33 + "line": 302, + "column": 37 }, "end": { - "line": 214, - "column": 34 + "line": 302, + "column": 38 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -62948,23 +81241,48 @@ "postfix": false, "binop": null }, - "start": 6772, - "end": 6773, + "value": "textureSetCfg", + "start": 10286, + "end": 10299, "loc": { "start": { - "line": 214, - "column": 35 + "line": 302, + "column": 38 }, "end": { - "line": 214, - "column": 36 + "line": 302, + "column": 51 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10299, + "end": 10300, + "loc": { + "start": { + "line": 302, + "column": 51 + }, + "end": { + "line": 302, + "column": 52 + } + } + }, + { + "type": { + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -62975,23 +81293,22 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 6782, - "end": 6786, + "start": 10300, + "end": 10301, "loc": { "start": { - "line": 215, - "column": 8 + "line": 302, + "column": 52 }, "end": { - "line": 215, - "column": 12 + "line": 302, + "column": 53 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -62999,27 +81316,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 33071, - "start": 6787, - "end": 6792, + "value": "ctx", + "start": 10310, + "end": 10313, "loc": { "start": { - "line": 215, - "column": 13 + "line": 303, + "column": 8 }, "end": { - "line": 215, - "column": 18 + "line": 303, + "column": 11 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -63029,16 +81345,16 @@ "binop": null, "updateContext": null }, - "start": 6792, - "end": 6793, + "start": 10313, + "end": 10314, "loc": { "start": { - "line": 215, - "column": 18 + "line": 303, + "column": 11 }, "end": { - "line": 215, - "column": 19 + "line": 303, + "column": 12 } } }, @@ -63054,44 +81370,43 @@ "postfix": false, "binop": null }, - "value": "wrapR", - "start": 6806, - "end": 6811, + "value": "stats", + "start": 10314, + "end": 10319, "loc": { "start": { - "line": 216, + "line": 303, "column": 12 }, "end": { - "line": 216, + "line": 303, "column": 17 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 6812, - "end": 6813, + "start": 10319, + "end": 10320, "loc": { "start": { - "line": 216, - "column": 18 + "line": 303, + "column": 17 }, "end": { - "line": 216, - "column": 19 + "line": 303, + "column": 18 } } }, @@ -63107,17 +81422,43 @@ "postfix": false, "binop": null }, - "value": "ClampToEdgeWrapping", - "start": 6814, - "end": 6833, + "value": "numTextureSets", + "start": 10320, + "end": 10334, "loc": { "start": { - "line": 216, - "column": 20 + "line": 303, + "column": 18 }, "end": { - "line": 216, - "column": 39 + "line": 303, + "column": 32 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 10334, + "end": 10336, + "loc": { + "start": { + "line": 303, + "column": 32 + }, + "end": { + "line": 303, + "column": 34 } } }, @@ -63134,24 +81475,24 @@ "binop": null, "updateContext": null }, - "start": 6833, - "end": 6834, + "start": 10336, + "end": 10337, "loc": { "start": { - "line": 216, - "column": 39 + "line": 303, + "column": 34 }, "end": { - "line": 216, - "column": 40 + "line": 303, + "column": 35 } } }, { "type": { - "label": "break", - "keyword": "break", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -63161,51 +81502,50 @@ "binop": null, "updateContext": null }, - "value": "break", - "start": 6847, - "end": 6852, + "value": "return", + "start": 10346, + "end": 10352, "loc": { "start": { - "line": 217, - "column": 12 + "line": 304, + "column": 8 }, "end": { - "line": 217, - "column": 17 + "line": 304, + "column": 14 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6852, - "end": 6853, + "value": "textureSetCfg", + "start": 10353, + "end": 10366, "loc": { "start": { - "line": 217, - "column": 17 + "line": 304, + "column": 15 }, "end": { - "line": 217, - "column": 18 + "line": 304, + "column": 28 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -63215,23 +81555,22 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 6862, - "end": 6866, + "start": 10366, + "end": 10367, "loc": { "start": { - "line": 218, - "column": 8 + "line": 304, + "column": 28 }, "end": { - "line": 218, - "column": 12 + "line": 304, + "column": 29 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -63239,26 +81578,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 33648, - "start": 6867, - "end": 6872, + "value": "textureSetId", + "start": 10367, + "end": 10379, "loc": { "start": { - "line": 218, - "column": 13 + "line": 304, + "column": 29 }, "end": { - "line": 218, - "column": 18 + "line": 304, + "column": 41 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -63269,24 +81607,24 @@ "binop": null, "updateContext": null }, - "start": 6872, - "end": 6873, + "start": 10379, + "end": 10380, "loc": { "start": { - "line": 218, - "column": 18 + "line": 304, + "column": 41 }, "end": { - "line": 218, - "column": 19 + "line": 304, + "column": 42 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -63294,50 +81632,51 @@ "postfix": false, "binop": null }, - "value": "wrapR", - "start": 6886, - "end": 6891, + "start": 10385, + "end": 10386, "loc": { "start": { - "line": 219, - "column": 12 + "line": 305, + "column": 4 }, "end": { - "line": 219, - "column": 17 + "line": 305, + "column": 5 } } }, { "type": { - "label": "=", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 6892, - "end": 6893, + "value": "return", + "start": 10391, + "end": 10397, "loc": { "start": { - "line": 219, - "column": 18 + "line": 306, + "column": 4 }, "end": { - "line": 219, - "column": 19 + "line": 306, + "column": 10 } } }, { "type": { - "label": "name", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -63345,19 +81684,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "MirroredRepeatWrapping", - "start": 6894, - "end": 6916, + "value": "null", + "start": 10398, + "end": 10402, "loc": { "start": { - "line": 219, - "column": 20 + "line": 306, + "column": 11 }, "end": { - "line": 219, - "column": 42 + "line": 306, + "column": 15 } } }, @@ -63374,23 +81714,22 @@ "binop": null, "updateContext": null }, - "start": 6916, - "end": 6917, + "start": 10402, + "end": 10403, "loc": { "start": { - "line": 219, - "column": 42 + "line": 306, + "column": 15 }, "end": { - "line": 219, - "column": 43 + "line": 306, + "column": 16 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -63398,80 +81737,102 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 6930, - "end": 6935, + "start": 10404, + "end": 10405, "loc": { "start": { - "line": 220, - "column": 12 + "line": 307, + "column": 0 }, "end": { - "line": 220, - "column": 17 + "line": 307, + "column": 1 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6935, - "end": 6936, + "value": "function", + "start": 10407, + "end": 10415, "loc": { "start": { - "line": 220, - "column": 17 + "line": 309, + "column": 0 }, "end": { - "line": 220, - "column": 18 + "line": 309, + "column": 8 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseMaterialAttributes", + "start": 10416, + "end": 10439, + "loc": { + "start": { + "line": 309, + "column": 9 + }, + "end": { + "line": 309, + "column": 32 + } + } + }, + { + "type": { + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "case", - "start": 6945, - "end": 6949, + "start": 10439, + "end": 10440, "loc": { "start": { - "line": 221, - "column": 8 + "line": 309, + "column": 32 }, "end": { - "line": 221, - "column": 12 + "line": 309, + "column": 33 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -63479,26 +81840,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 10497, - "start": 6950, - "end": 6955, + "value": "ctx", + "start": 10440, + "end": 10443, "loc": { "start": { - "line": 221, - "column": 13 + "line": 309, + "column": 33 }, "end": { - "line": 221, - "column": 18 + "line": 309, + "column": 36 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -63509,16 +81869,16 @@ "binop": null, "updateContext": null }, - "start": 6955, - "end": 6956, + "start": 10443, + "end": 10444, "loc": { "start": { - "line": 221, - "column": 18 + "line": 309, + "column": 36 }, "end": { - "line": 221, - "column": 19 + "line": 309, + "column": 37 } } }, @@ -63534,51 +81894,49 @@ "postfix": false, "binop": null }, - "value": "wrapR", - "start": 6969, - "end": 6974, + "value": "material", + "start": 10445, + "end": 10453, "loc": { "start": { - "line": 222, - "column": 12 + "line": 309, + "column": 38 }, "end": { - "line": 222, - "column": 17 + "line": 309, + "column": 46 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 6975, - "end": 6976, + "start": 10453, + "end": 10454, "loc": { "start": { - "line": 222, - "column": 18 + "line": 309, + "column": 46 }, "end": { - "line": 222, - "column": 19 + "line": 309, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -63587,24 +81945,40 @@ "postfix": false, "binop": null }, - "value": "RepeatWrapping", - "start": 6977, - "end": 6991, + "start": 10455, + "end": 10456, "loc": { "start": { - "line": 222, - "column": 20 + "line": 309, + "column": 48 }, "end": { - "line": 222, - "column": 34 + "line": 309, + "column": 49 + } + } + }, + { + "type": "CommentLine", + "value": " Substitute RGBA for material, to use fast flat shading instead", + "start": 10457, + "end": 10522, + "loc": { + "start": { + "line": 309, + "column": 50 + }, + "end": { + "line": 309, + "column": 115 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -63614,78 +81988,78 @@ "binop": null, "updateContext": null }, - "start": 6991, - "end": 6992, + "value": "const", + "start": 10527, + "end": 10532, "loc": { "start": { - "line": 222, - "column": 34 + "line": 310, + "column": 4 }, "end": { - "line": 222, - "column": 35 + "line": 310, + "column": 9 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 7005, - "end": 7010, + "value": "extensions", + "start": 10533, + "end": 10543, "loc": { "start": { - "line": 223, - "column": 12 + "line": 310, + "column": 10 }, "end": { - "line": 223, - "column": 17 + "line": 310, + "column": 20 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 7010, - "end": 7011, + "value": "=", + "start": 10544, + "end": 10545, "loc": { "start": { - "line": 223, - "column": 17 + "line": 310, + "column": 21 }, "end": { - "line": 223, - "column": 18 + "line": 310, + "column": 22 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -63693,100 +82067,102 @@ "postfix": false, "binop": null }, - "start": 7016, - "end": 7017, + "value": "material", + "start": 10546, + "end": 10554, "loc": { "start": { - "line": 224, - "column": 4 + "line": 310, + "column": 23 }, "end": { - "line": 224, - "column": 5 + "line": 310, + "column": 31 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 7023, - "end": 7026, + "start": 10554, + "end": 10555, "loc": { "start": { - "line": 226, - "column": 4 + "line": 310, + "column": 31 }, "end": { - "line": 226, - "column": 7 + "line": 310, + "column": 32 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7026, - "end": 7027, + "value": "extensions", + "start": 10555, + "end": 10565, "loc": { "start": { - "line": 226, - "column": 7 + "line": 310, + "column": 32 }, "end": { - "line": 226, - "column": 8 + "line": 310, + "column": 42 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "xktModel", - "start": 7027, - "end": 7035, + "start": 10565, + "end": 10566, "loc": { "start": { - "line": 226, - "column": 8 + "line": 310, + "column": 42 }, "end": { - "line": 226, - "column": 16 + "line": 310, + "column": 43 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -63797,16 +82173,17 @@ "binop": null, "updateContext": null }, - "start": 7035, - "end": 7036, + "value": "const", + "start": 10571, + "end": 10576, "loc": { "start": { - "line": 226, - "column": 16 + "line": 311, + "column": 4 }, "end": { - "line": 226, - "column": 17 + "line": 311, + "column": 9 } } }, @@ -63822,42 +82199,44 @@ "postfix": false, "binop": null }, - "value": "createTexture", - "start": 7036, - "end": 7049, + "value": "materialAttributes", + "start": 10577, + "end": 10595, "loc": { "start": { - "line": 226, - "column": 17 + "line": 311, + "column": 10 }, "end": { - "line": 226, - "column": 30 + "line": 311, + "column": 28 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7049, - "end": 7050, + "value": "=", + "start": 10596, + "end": 10597, "loc": { "start": { - "line": 226, - "column": 30 + "line": 311, + "column": 29 }, "end": { - "line": 226, - "column": 31 + "line": 311, + "column": 30 } } }, @@ -63873,15 +82252,15 @@ "postfix": false, "binop": null }, - "start": 7050, - "end": 7051, + "start": 10598, + "end": 10599, "loc": { "start": { - "line": 226, + "line": 311, "column": 31 }, "end": { - "line": 226, + "line": 311, "column": 32 } } @@ -63898,17 +82277,17 @@ "postfix": false, "binop": null }, - "value": "textureId", - "start": 7060, - "end": 7069, + "value": "color", + "start": 10608, + "end": 10613, "loc": { "start": { - "line": 227, + "line": 312, "column": 8 }, "end": { - "line": 227, - "column": 17 + "line": 312, + "column": 13 } } }, @@ -63925,75 +82304,77 @@ "binop": null, "updateContext": null }, - "start": 7069, - "end": 7070, + "start": 10613, + "end": 10614, "loc": { "start": { - "line": 227, - "column": 17 + "line": 312, + "column": 13 }, "end": { - "line": 227, - "column": 18 + "line": 312, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "textureId", - "start": 7071, - "end": 7080, + "value": "new", + "start": 10615, + "end": 10618, "loc": { "start": { - "line": 227, - "column": 19 + "line": 312, + "column": 15 }, "end": { - "line": 227, - "column": 28 + "line": 312, + "column": 18 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7080, - "end": 7081, + "value": "Float32Array", + "start": 10619, + "end": 10631, "loc": { "start": { - "line": 227, - "column": 28 + "line": 312, + "column": 19 }, "end": { - "line": 227, - "column": 29 + "line": 312, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -64002,25 +82383,24 @@ "postfix": false, "binop": null }, - "value": "imageData", - "start": 7090, - "end": 7099, + "start": 10631, + "end": 10632, "loc": { "start": { - "line": 228, - "column": 8 + "line": 312, + "column": 31 }, "end": { - "line": 228, - "column": 17 + "line": 312, + "column": 32 } } }, { "type": { - "label": ":", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -64029,22 +82409,22 @@ "binop": null, "updateContext": null }, - "start": 7099, - "end": 7100, + "start": 10632, + "end": 10633, "loc": { "start": { - "line": 228, - "column": 17 + "line": 312, + "column": 32 }, "end": { - "line": 228, - "column": 18 + "line": 312, + "column": 33 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -64052,26 +82432,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "texture", - "start": 7101, - "end": 7108, + "value": 1, + "start": 10633, + "end": 10634, "loc": { "start": { - "line": 228, - "column": 19 + "line": 312, + "column": 33 }, "end": { - "line": 228, - "column": 26 + "line": 312, + "column": 34 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -64081,22 +82462,22 @@ "binop": null, "updateContext": null }, - "start": 7108, - "end": 7109, + "start": 10634, + "end": 10635, "loc": { "start": { - "line": 228, - "column": 26 + "line": 312, + "column": 34 }, "end": { - "line": 228, - "column": 27 + "line": 312, + "column": 35 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -64104,26 +82485,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "source", - "start": 7109, - "end": 7115, + "value": 1, + "start": 10636, + "end": 10637, "loc": { "start": { - "line": 228, - "column": 27 + "line": 312, + "column": 36 }, "end": { - "line": 228, - "column": 33 + "line": 312, + "column": 37 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -64133,22 +82515,22 @@ "binop": null, "updateContext": null }, - "start": 7115, - "end": 7116, + "start": 10637, + "end": 10638, "loc": { "start": { - "line": 228, - "column": 33 + "line": 312, + "column": 37 }, "end": { - "line": 228, - "column": 34 + "line": 312, + "column": 38 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -64156,19 +82538,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "image", - "start": 7116, - "end": 7121, + "value": 1, + "start": 10639, + "end": 10640, "loc": { "start": { - "line": 228, - "column": 34 + "line": 312, + "column": 39 }, "end": { - "line": 228, - "column": 39 + "line": 312, + "column": 40 } } }, @@ -64185,22 +82568,22 @@ "binop": null, "updateContext": null }, - "start": 7121, - "end": 7122, + "start": 10640, + "end": 10641, "loc": { "start": { - "line": 228, - "column": 39 + "line": 312, + "column": 40 }, "end": { - "line": 228, - "column": 40 + "line": 312, + "column": 41 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -64208,26 +82591,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "mediaType", - "start": 7131, - "end": 7140, + "value": 1, + "start": 10642, + "end": 10643, "loc": { "start": { - "line": 229, - "column": 8 + "line": 312, + "column": 42 }, "end": { - "line": 229, - "column": 17 + "line": 312, + "column": 43 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -64237,24 +82621,24 @@ "binop": null, "updateContext": null }, - "start": 7140, - "end": 7141, + "start": 10643, + "end": 10644, "loc": { "start": { - "line": 229, - "column": 17 + "line": 312, + "column": 43 }, "end": { - "line": 229, - "column": 18 + "line": 312, + "column": 44 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -64262,24 +82646,23 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 7142, - "end": 7149, + "start": 10644, + "end": 10645, "loc": { "start": { - "line": 229, - "column": 19 + "line": 312, + "column": 44 }, "end": { - "line": 229, - "column": 26 + "line": 312, + "column": 45 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -64289,16 +82672,16 @@ "binop": null, "updateContext": null }, - "start": 7149, - "end": 7150, + "start": 10645, + "end": 10646, "loc": { "start": { - "line": 229, - "column": 26 + "line": 312, + "column": 45 }, "end": { - "line": 229, - "column": 27 + "line": 312, + "column": 46 } } }, @@ -64314,24 +82697,24 @@ "postfix": false, "binop": null }, - "value": "source", - "start": 7150, - "end": 7156, + "value": "opacity", + "start": 10655, + "end": 10662, "loc": { "start": { - "line": 229, - "column": 27 + "line": 313, + "column": 8 }, "end": { - "line": 229, - "column": 33 + "line": 313, + "column": 15 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -64341,22 +82724,22 @@ "binop": null, "updateContext": null }, - "start": 7156, - "end": 7157, + "start": 10662, + "end": 10663, "loc": { "start": { - "line": 229, - "column": 33 + "line": 313, + "column": 15 }, "end": { - "line": 229, - "column": 34 + "line": 313, + "column": 16 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -64364,19 +82747,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "mediaType", - "start": 7157, - "end": 7166, + "value": 1, + "start": 10664, + "end": 10665, "loc": { "start": { - "line": 229, - "column": 34 + "line": 313, + "column": 17 }, "end": { - "line": 229, - "column": 43 + "line": 313, + "column": 18 } } }, @@ -64393,16 +82777,16 @@ "binop": null, "updateContext": null }, - "start": 7166, - "end": 7167, + "start": 10665, + "end": 10666, "loc": { "start": { - "line": 229, - "column": 43 + "line": 313, + "column": 18 }, "end": { - "line": 229, - "column": 44 + "line": 313, + "column": 19 } } }, @@ -64418,17 +82802,17 @@ "postfix": false, "binop": null }, - "value": "compressed", - "start": 7176, - "end": 7186, + "value": "metallic", + "start": 10675, + "end": 10683, "loc": { "start": { - "line": 230, + "line": 314, "column": 8 }, "end": { - "line": 230, - "column": 18 + "line": 314, + "column": 16 } } }, @@ -64445,23 +82829,22 @@ "binop": null, "updateContext": null }, - "start": 7186, - "end": 7187, + "start": 10683, + "end": 10684, "loc": { "start": { - "line": 230, - "column": 18 + "line": 314, + "column": 16 }, "end": { - "line": 230, - "column": 19 + "line": 314, + "column": 17 } } }, { "type": { - "label": "true", - "keyword": "true", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -64472,17 +82855,17 @@ "binop": null, "updateContext": null }, - "value": "true", - "start": 7188, - "end": 7192, + "value": 0, + "start": 10685, + "end": 10686, "loc": { "start": { - "line": 230, - "column": 20 + "line": 314, + "column": 18 }, "end": { - "line": 230, - "column": 24 + "line": 314, + "column": 19 } } }, @@ -64499,16 +82882,16 @@ "binop": null, "updateContext": null }, - "start": 7192, - "end": 7193, + "start": 10686, + "end": 10687, "loc": { "start": { - "line": 230, - "column": 24 + "line": 314, + "column": 19 }, "end": { - "line": 230, - "column": 25 + "line": 314, + "column": 20 } } }, @@ -64524,17 +82907,17 @@ "postfix": false, "binop": null }, - "value": "width", - "start": 7202, - "end": 7207, + "value": "roughness", + "start": 10696, + "end": 10705, "loc": { "start": { - "line": 231, + "line": 315, "column": 8 }, "end": { - "line": 231, - "column": 13 + "line": 315, + "column": 17 } } }, @@ -64551,22 +82934,22 @@ "binop": null, "updateContext": null }, - "start": 7207, - "end": 7208, + "start": 10705, + "end": 10706, "loc": { "start": { - "line": 231, - "column": 13 + "line": 315, + "column": 17 }, "end": { - "line": 231, - "column": 14 + "line": 315, + "column": 18 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -64574,25 +82957,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "texture", - "start": 7209, - "end": 7216, + "value": 1, + "start": 10707, + "end": 10708, "loc": { "start": { - "line": 231, - "column": 15 + "line": 315, + "column": 19 }, "end": { - "line": 231, - "column": 22 + "line": 315, + "column": 20 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -64600,51 +82984,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7216, - "end": 7217, + "start": 10713, + "end": 10714, "loc": { "start": { - "line": 231, - "column": 22 + "line": 316, + "column": 4 }, "end": { - "line": 231, - "column": 23 + "line": 316, + "column": 5 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "source", - "start": 7217, - "end": 7223, + "start": 10714, + "end": 10715, "loc": { "start": { - "line": 231, - "column": 23 + "line": 316, + "column": 5 }, "end": { - "line": 231, - "column": 29 + "line": 316, + "column": 6 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -64655,16 +83039,42 @@ "binop": null, "updateContext": null }, - "start": 7223, - "end": 7224, + "value": "if", + "start": 10720, + "end": 10722, "loc": { "start": { - "line": 231, - "column": 29 + "line": 317, + "column": 4 }, "end": { - "line": 231, - "column": 30 + "line": 317, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10723, + "end": 10724, + "loc": { + "start": { + "line": 317, + "column": 7 + }, + "end": { + "line": 317, + "column": 8 } } }, @@ -64680,23 +83090,23 @@ "postfix": false, "binop": null }, - "value": "image", - "start": 7224, - "end": 7229, + "value": "extensions", + "start": 10724, + "end": 10734, "loc": { "start": { - "line": 231, - "column": 30 + "line": 317, + "column": 8 }, "end": { - "line": 231, - "column": 35 + "line": 317, + "column": 18 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -64704,26 +83114,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7229, - "end": 7230, + "start": 10734, + "end": 10735, "loc": { "start": { - "line": 231, - "column": 35 + "line": 317, + "column": 18 }, "end": { - "line": 231, - "column": 36 + "line": 317, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -64732,24 +83141,24 @@ "postfix": false, "binop": null }, - "value": "width", - "start": 7230, - "end": 7235, + "start": 10736, + "end": 10737, "loc": { "start": { - "line": 231, - "column": 36 + "line": 317, + "column": 20 }, "end": { - "line": 231, - "column": 41 + "line": 317, + "column": 21 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -64759,16 +83168,17 @@ "binop": null, "updateContext": null }, - "start": 7235, - "end": 7236, + "value": "const", + "start": 10746, + "end": 10751, "loc": { "start": { - "line": 231, - "column": 41 + "line": 318, + "column": 8 }, "end": { - "line": 231, - "column": 42 + "line": 318, + "column": 13 } } }, @@ -64784,43 +83194,44 @@ "postfix": false, "binop": null }, - "value": "height", - "start": 7245, - "end": 7251, + "value": "specularPBR", + "start": 10752, + "end": 10763, "loc": { "start": { - "line": 232, - "column": 8 + "line": 318, + "column": 14 }, "end": { - "line": 232, - "column": 14 + "line": 318, + "column": 25 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 7251, - "end": 7252, + "value": "=", + "start": 10764, + "end": 10765, "loc": { "start": { - "line": 232, - "column": 14 + "line": 318, + "column": 26 }, "end": { - "line": 232, - "column": 15 + "line": 318, + "column": 27 } } }, @@ -64836,25 +83247,25 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 7253, - "end": 7260, + "value": "extensions", + "start": 10766, + "end": 10776, "loc": { "start": { - "line": 232, - "column": 16 + "line": 318, + "column": 28 }, "end": { - "line": 232, - "column": 23 + "line": 318, + "column": 38 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -64863,22 +83274,22 @@ "binop": null, "updateContext": null }, - "start": 7260, - "end": 7261, + "start": 10776, + "end": 10777, "loc": { "start": { - "line": 232, - "column": 23 + "line": 318, + "column": 38 }, "end": { - "line": 232, - "column": 24 + "line": 318, + "column": 39 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -64886,25 +83297,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "source", - "start": 7261, - "end": 7267, + "value": "KHR_materials_pbrSpecularGlossiness", + "start": 10777, + "end": 10814, "loc": { "start": { - "line": 232, - "column": 24 + "line": 318, + "column": 39 }, "end": { - "line": 232, - "column": 30 + "line": 318, + "column": 76 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -64915,48 +83327,49 @@ "binop": null, "updateContext": null }, - "start": 7267, - "end": 7268, + "start": 10814, + "end": 10815, "loc": { "start": { - "line": 232, - "column": 30 + "line": 318, + "column": 76 }, "end": { - "line": 232, - "column": 31 + "line": 318, + "column": 77 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "image", - "start": 7268, - "end": 7273, + "start": 10815, + "end": 10816, "loc": { "start": { - "line": 232, - "column": 31 + "line": 318, + "column": 77 }, "end": { - "line": 232, - "column": 36 + "line": 318, + "column": 78 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -64967,16 +83380,42 @@ "binop": null, "updateContext": null }, - "start": 7273, - "end": 7274, + "value": "if", + "start": 10825, + "end": 10827, "loc": { "start": { - "line": 232, - "column": 36 + "line": 319, + "column": 8 }, "end": { - "line": 232, - "column": 37 + "line": 319, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 10828, + "end": 10829, + "loc": { + "start": { + "line": 319, + "column": 11 + }, + "end": { + "line": 319, + "column": 12 } } }, @@ -64992,50 +83431,49 @@ "postfix": false, "binop": null }, - "value": "height", - "start": 7274, - "end": 7280, + "value": "specularPBR", + "start": 10829, + "end": 10840, "loc": { "start": { - "line": 232, - "column": 37 + "line": 319, + "column": 12 }, "end": { - "line": 232, - "column": 43 + "line": 319, + "column": 23 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7280, - "end": 7281, + "start": 10840, + "end": 10841, "loc": { "start": { - "line": 232, - "column": 43 + "line": 319, + "column": 23 }, "end": { - "line": 232, - "column": 44 + "line": 319, + "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -65044,24 +83482,24 @@ "postfix": false, "binop": null }, - "value": "minFilter", - "start": 7290, - "end": 7299, + "start": 10842, + "end": 10843, "loc": { "start": { - "line": 233, - "column": 8 + "line": 319, + "column": 25 }, "end": { - "line": 233, - "column": 17 + "line": 319, + "column": 26 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -65071,16 +83509,17 @@ "binop": null, "updateContext": null }, - "start": 7299, - "end": 7300, + "value": "const", + "start": 10856, + "end": 10861, "loc": { "start": { - "line": 233, - "column": 17 + "line": 320, + "column": 12 }, "end": { - "line": 233, - "column": 18 + "line": 320, + "column": 17 } } }, @@ -65096,43 +83535,44 @@ "postfix": false, "binop": null }, - "value": "magFilter", - "start": 7309, - "end": 7318, + "value": "diffuseFactor", + "start": 10862, + "end": 10875, "loc": { "start": { - "line": 234, - "column": 8 + "line": 320, + "column": 18 }, "end": { - "line": 234, - "column": 17 + "line": 320, + "column": 31 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 7318, - "end": 7319, + "value": "=", + "start": 10876, + "end": 10877, "loc": { "start": { - "line": 234, - "column": 17 + "line": 320, + "column": 32 }, "end": { - "line": 234, - "column": 18 + "line": 320, + "column": 33 } } }, @@ -65148,24 +83588,24 @@ "postfix": false, "binop": null }, - "value": "wrapS", - "start": 7328, - "end": 7333, + "value": "specularPBR", + "start": 10878, + "end": 10889, "loc": { "start": { - "line": 235, - "column": 8 + "line": 320, + "column": 34 }, "end": { - "line": 235, - "column": 13 + "line": 320, + "column": 45 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -65175,16 +83615,16 @@ "binop": null, "updateContext": null }, - "start": 7333, - "end": 7334, + "start": 10889, + "end": 10890, "loc": { "start": { - "line": 235, - "column": 13 + "line": 320, + "column": 45 }, "end": { - "line": 235, - "column": 14 + "line": 320, + "column": 46 } } }, @@ -65200,23 +83640,23 @@ "postfix": false, "binop": null }, - "value": "wrapT", - "start": 7343, - "end": 7348, + "value": "diffuseFactor", + "start": 10890, + "end": 10903, "loc": { "start": { - "line": 236, - "column": 8 + "line": 320, + "column": 46 }, "end": { - "line": 236, - "column": 13 + "line": 320, + "column": 59 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -65227,68 +83667,69 @@ "binop": null, "updateContext": null }, - "start": 7348, - "end": 7349, + "start": 10903, + "end": 10904, "loc": { "start": { - "line": 236, - "column": 13 + "line": 320, + "column": 59 }, "end": { - "line": 236, - "column": 14 + "line": 320, + "column": 60 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wrapR", - "start": 7358, - "end": 7363, + "value": "if", + "start": 10917, + "end": 10919, "loc": { "start": { - "line": 237, - "column": 8 + "line": 321, + "column": 12 }, "end": { - "line": 237, - "column": 13 + "line": 321, + "column": 14 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7363, - "end": 7364, + "start": 10920, + "end": 10921, "loc": { "start": { - "line": 237, - "column": 13 + "line": 321, + "column": 15 }, "end": { - "line": 237, - "column": 14 + "line": 321, + "column": 16 } } }, @@ -65304,23 +83745,23 @@ "postfix": false, "binop": null }, - "value": "flipY", - "start": 7373, - "end": 7378, + "value": "diffuseFactor", + "start": 10921, + "end": 10934, "loc": { "start": { - "line": 238, - "column": 8 + "line": 321, + "column": 16 }, "end": { - "line": 238, - "column": 13 + "line": 321, + "column": 29 } } }, { "type": { - "label": ":", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -65328,73 +83769,75 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 7378, - "end": 7379, + "value": "!==", + "start": 10935, + "end": 10938, "loc": { "start": { - "line": 238, - "column": 13 + "line": 321, + "column": 30 }, "end": { - "line": 238, - "column": 14 + "line": 321, + "column": 33 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, + "label": "null", + "keyword": "null", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 7380, - "end": 7381, + "value": "null", + "start": 10939, + "end": 10943, "loc": { "start": { - "line": 238, - "column": 15 + "line": 321, + "column": 34 }, "end": { - "line": 238, - "column": 16 + "line": 321, + "column": 38 } } }, { "type": { - "label": "prefix", + "label": "&&", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "value": "!", - "start": 7381, - "end": 7382, + "value": "&&", + "start": 10944, + "end": 10946, "loc": { "start": { - "line": 238, - "column": 16 + "line": 321, + "column": 39 }, "end": { - "line": 238, - "column": 17 + "line": 321, + "column": 41 } } }, @@ -65410,43 +83853,44 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 7382, - "end": 7389, + "value": "diffuseFactor", + "start": 10947, + "end": 10960, "loc": { "start": { - "line": 238, - "column": 17 + "line": 321, + "column": 42 }, "end": { - "line": 238, - "column": 24 + "line": 321, + "column": 55 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 7389, - "end": 7390, + "value": "!==", + "start": 10961, + "end": 10964, "loc": { "start": { - "line": 238, - "column": 24 + "line": 321, + "column": 56 }, "end": { - "line": 238, - "column": 25 + "line": 321, + "column": 59 } } }, @@ -65462,67 +83906,50 @@ "postfix": false, "binop": null }, - "value": "flipY", - "start": 7390, - "end": 7395, + "value": "undefined", + "start": 10965, + "end": 10974, "loc": { "start": { - "line": 238, - "column": 25 + "line": 321, + "column": 60 }, "end": { - "line": 238, - "column": 30 + "line": 321, + "column": 69 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7395, - "end": 7396, - "loc": { - "start": { - "line": 238, - "column": 30 - }, - "end": { - "line": 238, - "column": 31 - } - } - }, - { - "type": "CommentLine", - "value": " encoding: \"sRGB\"", - "start": 7405, - "end": 7428, + "start": 10974, + "end": 10975, "loc": { "start": { - "line": 239, - "column": 8 + "line": 321, + "column": 69 }, "end": { - "line": 239, - "column": 31 + "line": 321, + "column": 70 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -65530,24 +83957,24 @@ "postfix": false, "binop": null }, - "start": 7433, - "end": 7434, + "start": 10976, + "end": 10977, "loc": { "start": { - "line": 240, - "column": 4 + "line": 321, + "column": 71 }, "end": { - "line": 240, - "column": 5 + "line": 321, + "column": 72 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -65555,23 +83982,24 @@ "postfix": false, "binop": null }, - "start": 7434, - "end": 7435, + "value": "materialAttributes", + "start": 10994, + "end": 11012, "loc": { "start": { - "line": 240, - "column": 5 + "line": 322, + "column": 16 }, "end": { - "line": 240, - "column": 6 + "line": 322, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -65581,16 +84009,16 @@ "binop": null, "updateContext": null }, - "start": 7435, - "end": 7436, + "start": 11012, + "end": 11013, "loc": { "start": { - "line": 240, - "column": 6 + "line": 322, + "column": 34 }, "end": { - "line": 240, - "column": 7 + "line": 322, + "column": 35 } } }, @@ -65606,17 +84034,17 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 7441, - "end": 7448, + "value": "color", + "start": 11013, + "end": 11018, "loc": { "start": { - "line": 241, - "column": 4 + "line": 322, + "column": 35 }, "end": { - "line": 241, - "column": 11 + "line": 322, + "column": 40 } } }, @@ -65633,16 +84061,16 @@ "binop": null, "updateContext": null }, - "start": 7448, - "end": 7449, + "start": 11018, + "end": 11019, "loc": { "start": { - "line": 241, - "column": 11 + "line": 322, + "column": 40 }, "end": { - "line": 241, - "column": 12 + "line": 322, + "column": 41 } } }, @@ -65658,44 +84086,42 @@ "postfix": false, "binop": null }, - "value": "_textureId", - "start": 7449, - "end": 7459, + "value": "set", + "start": 11019, + "end": 11022, "loc": { "start": { - "line": 241, - "column": 12 + "line": 322, + "column": 41 }, "end": { - "line": 241, - "column": 22 + "line": 322, + "column": 44 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 7460, - "end": 7461, + "start": 11022, + "end": 11023, "loc": { "start": { - "line": 241, - "column": 23 + "line": 322, + "column": 44 }, "end": { - "line": 241, - "column": 24 + "line": 322, + "column": 45 } } }, @@ -65711,17 +84137,42 @@ "postfix": false, "binop": null }, - "value": "textureId", - "start": 7462, - "end": 7471, + "value": "diffuseFactor", + "start": 11023, + "end": 11036, "loc": { "start": { - "line": 241, - "column": 25 + "line": 322, + "column": 45 }, "end": { - "line": 241, - "column": 34 + "line": 322, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 11036, + "end": 11037, + "loc": { + "start": { + "line": 322, + "column": 58 + }, + "end": { + "line": 322, + "column": 59 } } }, @@ -65738,16 +84189,16 @@ "binop": null, "updateContext": null }, - "start": 7471, - "end": 7472, + "start": 11037, + "end": 11038, "loc": { "start": { - "line": 241, - "column": 34 + "line": 322, + "column": 59 }, "end": { - "line": 241, - "column": 35 + "line": 322, + "column": 60 } } }, @@ -65763,25 +84214,24 @@ "postfix": false, "binop": null }, - "start": 7473, - "end": 7474, + "start": 11051, + "end": 11052, "loc": { "start": { - "line": 242, - "column": 0 + "line": 323, + "column": 12 }, "end": { - "line": 242, - "column": 1 + "line": 323, + "column": 13 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -65789,17 +84239,44 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 7476, - "end": 7484, + "start": 11061, + "end": 11062, "loc": { "start": { - "line": 244, - "column": 0 + "line": 324, + "column": 8 }, "end": { - "line": 244, + "line": 324, + "column": 9 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 11071, + "end": 11076, + "loc": { + "start": { + "line": 325, "column": 8 + }, + "end": { + "line": 325, + "column": 13 } } }, @@ -65815,42 +84292,44 @@ "postfix": false, "binop": null }, - "value": "parseMaterials", - "start": 7485, - "end": 7499, + "value": "common", + "start": 11077, + "end": 11083, "loc": { "start": { - "line": 244, - "column": 9 + "line": 325, + "column": 14 }, "end": { - "line": 244, - "column": 23 + "line": 325, + "column": 20 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7499, - "end": 7500, + "value": "=", + "start": 11084, + "end": 11085, "loc": { "start": { - "line": 244, - "column": 23 + "line": 325, + "column": 21 }, "end": { - "line": 244, - "column": 24 + "line": 325, + "column": 22 } } }, @@ -65866,74 +84345,76 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 7500, - "end": 7503, + "value": "extensions", + "start": 11086, + "end": 11096, "loc": { "start": { - "line": 244, - "column": 24 + "line": 325, + "column": 23 }, "end": { - "line": 244, - "column": 27 + "line": 325, + "column": 33 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7503, - "end": 7504, + "start": 11096, + "end": 11097, "loc": { "start": { - "line": 244, - "column": 27 + "line": 325, + "column": 33 }, "end": { - "line": 244, - "column": 28 + "line": 325, + "column": 34 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7505, - "end": 7506, + "value": "KHR_materials_common", + "start": 11097, + "end": 11119, "loc": { "start": { - "line": 244, - "column": 29 + "line": 325, + "column": 34 }, "end": { - "line": 244, - "column": 30 + "line": 325, + "column": 56 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -65944,77 +84425,77 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 7511, - "end": 7516, + "start": 11119, + "end": 11120, "loc": { "start": { - "line": 245, - "column": 4 + "line": 325, + "column": 56 }, "end": { - "line": 245, - "column": 9 + "line": 325, + "column": 57 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "gltfData", - "start": 7517, - "end": 7525, + "start": 11120, + "end": 11121, "loc": { "start": { - "line": 245, - "column": 10 + "line": 325, + "column": 57 }, "end": { - "line": 245, - "column": 18 + "line": 325, + "column": 58 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 7526, - "end": 7527, + "value": "if", + "start": 11130, + "end": 11132, "loc": { "start": { - "line": 245, - "column": 19 + "line": 326, + "column": 8 }, "end": { - "line": 245, - "column": 20 + "line": 326, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -66023,51 +84504,50 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 7528, - "end": 7531, + "start": 11133, + "end": 11134, "loc": { "start": { - "line": 245, - "column": 21 + "line": 326, + "column": 11 }, "end": { - "line": 245, - "column": 24 + "line": 326, + "column": 12 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7531, - "end": 7532, + "value": "common", + "start": 11134, + "end": 11140, "loc": { "start": { - "line": 245, - "column": 24 + "line": 326, + "column": 12 }, "end": { - "line": 245, - "column": 25 + "line": 326, + "column": 18 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -66075,43 +84555,41 @@ "postfix": false, "binop": null }, - "value": "gltfData", - "start": 7532, - "end": 7540, + "start": 11140, + "end": 11141, "loc": { "start": { - "line": 245, - "column": 25 + "line": 326, + "column": 18 }, "end": { - "line": 245, - "column": 33 + "line": 326, + "column": 19 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7540, - "end": 7541, + "start": 11142, + "end": 11143, "loc": { "start": { - "line": 245, - "column": 33 + "line": 326, + "column": 20 }, "end": { - "line": 245, - "column": 34 + "line": 326, + "column": 21 } } }, @@ -66130,16 +84608,16 @@ "updateContext": null }, "value": "const", - "start": 7546, - "end": 7551, + "start": 11156, + "end": 11161, "loc": { "start": { - "line": 246, - "column": 4 + "line": 327, + "column": 12 }, "end": { - "line": 246, - "column": 9 + "line": 327, + "column": 17 } } }, @@ -66155,17 +84633,17 @@ "postfix": false, "binop": null }, - "value": "materials", - "start": 7552, - "end": 7561, + "value": "technique", + "start": 11162, + "end": 11171, "loc": { "start": { - "line": 246, - "column": 10 + "line": 327, + "column": 18 }, "end": { - "line": 246, - "column": 19 + "line": 327, + "column": 27 } } }, @@ -66183,16 +84661,16 @@ "updateContext": null }, "value": "=", - "start": 7562, - "end": 7563, + "start": 11172, + "end": 11173, "loc": { "start": { - "line": 246, - "column": 20 + "line": 327, + "column": 28 }, "end": { - "line": 246, - "column": 21 + "line": 327, + "column": 29 } } }, @@ -66208,17 +84686,17 @@ "postfix": false, "binop": null }, - "value": "gltfData", - "start": 7564, - "end": 7572, + "value": "common", + "start": 11174, + "end": 11180, "loc": { "start": { - "line": 246, - "column": 22 + "line": 327, + "column": 30 }, "end": { - "line": 246, - "column": 30 + "line": 327, + "column": 36 } } }, @@ -66235,16 +84713,16 @@ "binop": null, "updateContext": null }, - "start": 7572, - "end": 7573, + "start": 11180, + "end": 11181, "loc": { "start": { - "line": 246, - "column": 30 + "line": 327, + "column": 36 }, "end": { - "line": 246, - "column": 31 + "line": 327, + "column": 37 } } }, @@ -66260,17 +84738,17 @@ "postfix": false, "binop": null }, - "value": "materials", - "start": 7573, - "end": 7582, + "value": "technique", + "start": 11181, + "end": 11190, "loc": { "start": { - "line": 246, - "column": 31 + "line": 327, + "column": 37 }, "end": { - "line": 246, - "column": 40 + "line": 327, + "column": 46 } } }, @@ -66287,23 +84765,23 @@ "binop": null, "updateContext": null }, - "start": 7582, - "end": 7583, + "start": 11190, + "end": 11191, "loc": { "start": { - "line": 246, - "column": 40 + "line": 327, + "column": 46 }, "end": { - "line": 246, - "column": 41 + "line": 327, + "column": 47 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -66314,42 +84792,17 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 7588, - "end": 7590, - "loc": { - "start": { - "line": 247, - "column": 4 - }, - "end": { - "line": 247, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7591, - "end": 7592, + "value": "const", + "start": 11204, + "end": 11209, "loc": { "start": { - "line": 247, - "column": 7 + "line": 328, + "column": 12 }, "end": { - "line": 247, - "column": 8 + "line": 328, + "column": 17 } } }, @@ -66365,49 +84818,51 @@ "postfix": false, "binop": null }, - "value": "materials", - "start": 7592, - "end": 7601, + "value": "values", + "start": 11210, + "end": 11216, "loc": { "start": { - "line": 247, - "column": 8 + "line": 328, + "column": 18 }, "end": { - "line": 247, - "column": 17 + "line": 328, + "column": 24 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7601, - "end": 7602, + "value": "=", + "start": 11217, + "end": 11218, "loc": { "start": { - "line": 247, - "column": 17 + "line": 328, + "column": 25 }, "end": { - "line": 247, - "column": 18 + "line": 328, + "column": 26 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -66416,51 +84871,50 @@ "postfix": false, "binop": null }, - "start": 7603, - "end": 7604, + "value": "common", + "start": 11219, + "end": 11225, "loc": { "start": { - "line": 247, - "column": 19 + "line": 328, + "column": 27 }, "end": { - "line": 247, - "column": 20 + "line": 328, + "column": 33 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "for", - "start": 7613, - "end": 7616, + "start": 11225, + "end": 11226, "loc": { "start": { - "line": 248, - "column": 8 + "line": 328, + "column": 33 }, "end": { - "line": 248, - "column": 11 + "line": 328, + "column": 34 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -66469,51 +84923,51 @@ "postfix": false, "binop": null }, - "start": 7617, - "end": 7618, + "value": "values", + "start": 11226, + "end": 11232, "loc": { "start": { - "line": 248, - "column": 12 + "line": 328, + "column": 34 }, "end": { - "line": 248, - "column": 13 + "line": 328, + "column": 40 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": "||", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "value": "let", - "start": 7618, - "end": 7621, + "value": "||", + "start": 11233, + "end": 11235, "loc": { "start": { - "line": 248, - "column": 13 + "line": 328, + "column": 41 }, "end": { - "line": 248, - "column": 16 + "line": 328, + "column": 43 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -66522,52 +84976,49 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 7622, - "end": 7623, + "start": 11236, + "end": 11237, "loc": { "start": { - "line": 248, - "column": 17 + "line": 328, + "column": 44 }, "end": { - "line": 248, - "column": 18 + "line": 328, + "column": 45 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 7624, - "end": 7625, + "start": 11237, + "end": 11238, "loc": { "start": { - "line": 248, - "column": 19 + "line": 328, + "column": 45 }, "end": { - "line": 248, - "column": 20 + "line": 328, + "column": 46 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -66576,24 +85027,24 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 7626, - "end": 7627, + "start": 11238, + "end": 11239, "loc": { "start": { - "line": 248, - "column": 21 + "line": 328, + "column": 46 }, "end": { - "line": 248, - "column": 22 + "line": 328, + "column": 47 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -66603,16 +85054,17 @@ "binop": null, "updateContext": null }, - "start": 7627, - "end": 7628, + "value": "const", + "start": 11252, + "end": 11257, "loc": { "start": { - "line": 248, - "column": 22 + "line": 329, + "column": 12 }, "end": { - "line": 248, - "column": 23 + "line": 329, + "column": 17 } } }, @@ -66628,17 +85080,17 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 7629, - "end": 7632, + "value": "blinn", + "start": 11258, + "end": 11263, "loc": { "start": { - "line": 248, - "column": 24 + "line": 329, + "column": 18 }, "end": { - "line": 248, - "column": 27 + "line": 329, + "column": 23 } } }, @@ -66656,16 +85108,16 @@ "updateContext": null }, "value": "=", - "start": 7633, - "end": 7634, + "start": 11264, + "end": 11265, "loc": { "start": { - "line": 248, - "column": 28 + "line": 329, + "column": 24 }, "end": { - "line": 248, - "column": 29 + "line": 329, + "column": 25 } } }, @@ -66681,49 +85133,50 @@ "postfix": false, "binop": null }, - "value": "materials", - "start": 7635, - "end": 7644, + "value": "technique", + "start": 11266, + "end": 11275, "loc": { "start": { - "line": 248, - "column": 30 + "line": 329, + "column": 26 }, "end": { - "line": 248, - "column": 39 + "line": 329, + "column": 35 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 7644, - "end": 7645, + "value": "===", + "start": 11276, + "end": 11279, "loc": { "start": { - "line": 248, - "column": 39 + "line": 329, + "column": 36 }, "end": { - "line": 248, - "column": 40 + "line": 329, + "column": 39 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -66731,19 +85184,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 7645, - "end": 7651, + "value": "BLINN", + "start": 11280, + "end": 11287, "loc": { "start": { - "line": 248, + "line": 329, "column": 40 }, "end": { - "line": 248, - "column": 46 + "line": 329, + "column": 47 } } }, @@ -66760,69 +85214,44 @@ "binop": null, "updateContext": null }, - "start": 7651, - "end": 7652, + "start": 11287, + "end": 11288, "loc": { "start": { - "line": 248, - "column": 46 - }, - "end": { - "line": 248, + "line": 329, "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 7653, - "end": 7654, - "loc": { - "start": { - "line": 248, - "column": 48 }, "end": { - "line": 248, - "column": 49 + "line": 329, + "column": 48 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 7655, - "end": 7656, + "value": "const", + "start": 11301, + "end": 11306, "loc": { "start": { - "line": 248, - "column": 50 + "line": 330, + "column": 12 }, "end": { - "line": 248, - "column": 51 + "line": 330, + "column": 17 } } }, @@ -66838,103 +85267,52 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 7657, - "end": 7660, + "value": "phong", + "start": 11307, + "end": 11312, "loc": { "start": { - "line": 248, - "column": 52 + "line": 330, + "column": 18 }, "end": { - "line": 248, - "column": 55 + "line": 330, + "column": 23 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 7660, - "end": 7661, - "loc": { - "start": { - "line": 248, - "column": 55 - }, - "end": { - "line": 248, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 7662, - "end": 7663, - "loc": { - "start": { - "line": 248, - "column": 57 - }, - "end": { - "line": 248, - "column": 58 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 7663, - "end": 7665, + "value": "=", + "start": 11313, + "end": 11314, "loc": { "start": { - "line": 248, - "column": 58 + "line": 330, + "column": 24 }, "end": { - "line": 248, - "column": 60 + "line": 330, + "column": 25 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -66942,50 +85320,52 @@ "postfix": false, "binop": null }, - "start": 7665, - "end": 7666, + "value": "technique", + "start": 11315, + "end": 11324, "loc": { "start": { - "line": 248, - "column": 60 + "line": 330, + "column": 26 }, "end": { - "line": 248, - "column": 61 + "line": 330, + "column": 35 } } }, { "type": { - "label": "{", + "label": "==/!=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 7667, - "end": 7668, + "value": "===", + "start": 11325, + "end": 11328, "loc": { "start": { - "line": 248, - "column": 62 + "line": 330, + "column": 36 }, "end": { - "line": 248, - "column": 63 + "line": 330, + "column": 39 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -66994,70 +85374,71 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 7681, - "end": 7686, + "value": "PHONG", + "start": 11329, + "end": 11336, "loc": { "start": { - "line": 249, - "column": 12 + "line": 330, + "column": 40 }, "end": { - "line": 249, - "column": 17 + "line": 330, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "material", - "start": 7687, - "end": 7695, + "start": 11336, + "end": 11337, "loc": { "start": { - "line": 249, - "column": 18 + "line": 330, + "column": 47 }, "end": { - "line": 249, - "column": 26 + "line": 330, + "column": 48 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 7696, - "end": 7697, + "value": "const", + "start": 11350, + "end": 11355, "loc": { "start": { - "line": 249, - "column": 27 + "line": 331, + "column": 12 }, "end": { - "line": 249, - "column": 28 + "line": 331, + "column": 17 } } }, @@ -67073,43 +85454,44 @@ "postfix": false, "binop": null }, - "value": "materials", - "start": 7698, - "end": 7707, + "value": "lambert", + "start": 11356, + "end": 11363, "loc": { "start": { - "line": 249, - "column": 29 + "line": 331, + "column": 18 }, "end": { - "line": 249, - "column": 38 + "line": 331, + "column": 25 } } }, { "type": { - "label": "[", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 7707, - "end": 7708, + "value": "=", + "start": 11364, + "end": 11365, "loc": { "start": { - "line": 249, - "column": 38 + "line": 331, + "column": 26 }, "end": { - "line": 249, - "column": 39 + "line": 331, + "column": 27 } } }, @@ -67125,51 +85507,52 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 7708, - "end": 7709, + "value": "technique", + "start": 11366, + "end": 11375, "loc": { "start": { - "line": 249, - "column": 39 + "line": 331, + "column": 28 }, "end": { - "line": 249, - "column": 40 + "line": 331, + "column": 37 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 7709, - "end": 7710, + "value": "===", + "start": 11376, + "end": 11379, "loc": { "start": { - "line": 249, - "column": 40 + "line": 331, + "column": 38 }, "end": { - "line": 249, + "line": 331, "column": 41 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -67178,48 +85561,50 @@ "binop": null, "updateContext": null }, - "start": 7710, - "end": 7711, + "value": "LAMBERT", + "start": 11380, + "end": 11389, "loc": { "start": { - "line": 249, - "column": 41 + "line": 331, + "column": 42 }, "end": { - "line": 249, - "column": 42 + "line": 331, + "column": 51 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "material", - "start": 7724, - "end": 7732, + "start": 11389, + "end": 11390, "loc": { "start": { - "line": 250, - "column": 12 + "line": 331, + "column": 51 }, "end": { - "line": 250, - "column": 20 + "line": 331, + "column": 52 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -67230,16 +85615,17 @@ "binop": null, "updateContext": null }, - "start": 7732, - "end": 7733, + "value": "const", + "start": 11403, + "end": 11408, "loc": { "start": { - "line": 250, - "column": 20 + "line": 332, + "column": 12 }, "end": { - "line": 250, - "column": 21 + "line": 332, + "column": 17 } } }, @@ -67255,17 +85641,17 @@ "postfix": false, "binop": null }, - "value": "_textureSetId", - "start": 7733, - "end": 7746, + "value": "diffuse", + "start": 11409, + "end": 11416, "loc": { "start": { - "line": 250, - "column": 21 + "line": 332, + "column": 18 }, "end": { - "line": 250, - "column": 34 + "line": 332, + "column": 25 } } }, @@ -67283,16 +85669,16 @@ "updateContext": null }, "value": "=", - "start": 7747, - "end": 7748, + "start": 11417, + "end": 11418, "loc": { "start": { - "line": 250, - "column": 35 + "line": 332, + "column": 26 }, "end": { - "line": 250, - "column": 36 + "line": 332, + "column": 27 } } }, @@ -67308,17 +85694,17 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 7749, - "end": 7752, + "value": "values", + "start": 11419, + "end": 11425, "loc": { "start": { - "line": 250, - "column": 37 + "line": 332, + "column": 28 }, "end": { - "line": 250, - "column": 40 + "line": 332, + "column": 34 } } }, @@ -67335,16 +85721,16 @@ "binop": null, "updateContext": null }, - "start": 7752, - "end": 7753, + "start": 11425, + "end": 11426, "loc": { "start": { - "line": 250, - "column": 40 + "line": 332, + "column": 34 }, "end": { - "line": 250, - "column": 41 + "line": 332, + "column": 35 } } }, @@ -67360,23 +85746,23 @@ "postfix": false, "binop": null }, - "value": "includeTextures", - "start": 7753, - "end": 7768, + "value": "diffuse", + "start": 11426, + "end": 11433, "loc": { "start": { - "line": 250, - "column": 41 + "line": 332, + "column": 35 }, "end": { - "line": 250, - "column": 56 + "line": 332, + "column": 42 } } }, { "type": { - "label": "?", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -67387,42 +85773,44 @@ "binop": null, "updateContext": null }, - "start": 7769, - "end": 7770, + "start": 11433, + "end": 11434, "loc": { "start": { - "line": 250, - "column": 57 + "line": 332, + "column": 42 }, "end": { - "line": 250, - "column": 58 + "line": 332, + "column": 43 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parseTextureSet", - "start": 7771, - "end": 7786, + "value": "if", + "start": 11447, + "end": 11449, "loc": { "start": { - "line": 250, - "column": 59 + "line": 333, + "column": 12 }, "end": { - "line": 250, - "column": 74 + "line": 333, + "column": 14 } } }, @@ -67438,16 +85826,16 @@ "postfix": false, "binop": null }, - "start": 7786, - "end": 7787, + "start": 11450, + "end": 11451, "loc": { "start": { - "line": 250, - "column": 74 + "line": 333, + "column": 15 }, "end": { - "line": 250, - "column": 75 + "line": 333, + "column": 16 } } }, @@ -67463,23 +85851,23 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 7787, - "end": 7790, + "value": "diffuse", + "start": 11451, + "end": 11458, "loc": { "start": { - "line": 250, - "column": 75 + "line": 333, + "column": 16 }, "end": { - "line": 250, - "column": 78 + "line": 333, + "column": 23 } } }, { "type": { - "label": ",", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -67487,26 +85875,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 7790, - "end": 7791, + "value": "&&", + "start": 11459, + "end": 11461, "loc": { "start": { - "line": 250, - "column": 78 + "line": 333, + "column": 24 }, "end": { - "line": 250, - "column": 79 + "line": 333, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -67515,25 +85904,24 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 7792, - "end": 7800, + "start": 11462, + "end": 11463, "loc": { "start": { - "line": 250, - "column": 80 + "line": 333, + "column": 27 }, "end": { - "line": 250, - "column": 88 + "line": 333, + "column": 28 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -67541,22 +85929,23 @@ "postfix": false, "binop": null }, - "start": 7800, - "end": 7801, + "value": "blinn", + "start": 11463, + "end": 11468, "loc": { "start": { - "line": 250, - "column": 88 + "line": 333, + "column": 28 }, "end": { - "line": 250, - "column": 89 + "line": 333, + "column": 33 } } }, { "type": { - "label": ":", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -67564,26 +85953,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 7802, - "end": 7803, + "value": "||", + "start": 11469, + "end": 11471, "loc": { "start": { - "line": 250, - "column": 90 + "line": 333, + "column": 34 }, "end": { - "line": 250, - "column": 91 + "line": 333, + "column": 36 } } }, { "type": { - "label": "null", - "keyword": "null", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -67591,26 +85980,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "null", - "start": 7804, - "end": 7808, + "value": "phong", + "start": 11472, + "end": 11477, "loc": { "start": { - "line": 250, - "column": 92 + "line": 333, + "column": 37 }, "end": { - "line": 250, - "column": 96 + "line": 333, + "column": 42 } } }, { "type": { - "label": ";", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -67618,19 +86006,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 7808, - "end": 7809, + "value": "||", + "start": 11478, + "end": 11480, "loc": { "start": { - "line": 250, - "column": 96 + "line": 333, + "column": 43 }, "end": { - "line": 250, - "column": 97 + "line": 333, + "column": 45 } } }, @@ -67646,23 +86035,23 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 7822, - "end": 7830, + "value": "lambert", + "start": 11481, + "end": 11488, "loc": { "start": { - "line": 251, - "column": 12 + "line": 333, + "column": 46 }, "end": { - "line": 251, - "column": 20 + "line": 333, + "column": 53 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -67670,27 +86059,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7830, - "end": 7831, + "start": 11488, + "end": 11489, "loc": { "start": { - "line": 251, - "column": 20 + "line": 333, + "column": 53 }, "end": { - "line": 251, - "column": 21 + "line": 333, + "column": 54 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -67698,51 +86086,23 @@ "postfix": false, "binop": null }, - "value": "_attributes", - "start": 7831, - "end": 7842, + "start": 11489, + "end": 11490, "loc": { "start": { - "line": 251, - "column": 21 + "line": 333, + "column": 54 }, "end": { - "line": 251, - "column": 32 + "line": 333, + "column": 55 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7843, - "end": 7844, - "loc": { - "start": { - "line": 251, - "column": 33 - }, - "end": { - "line": 251, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -67751,49 +86111,51 @@ "postfix": false, "binop": null }, - "value": "parseMaterialAttributes", - "start": 7845, - "end": 7868, + "start": 11491, + "end": 11492, "loc": { "start": { - "line": 251, - "column": 35 + "line": 333, + "column": 56 }, "end": { - "line": 251, - "column": 58 + "line": 333, + "column": 57 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7868, - "end": 7869, + "value": "if", + "start": 11509, + "end": 11511, "loc": { "start": { - "line": 251, - "column": 58 + "line": 334, + "column": 16 }, "end": { - "line": 251, - "column": 59 + "line": 334, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -67802,77 +86164,51 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 7869, - "end": 7872, + "start": 11512, + "end": 11513, "loc": { "start": { - "line": 251, - "column": 59 + "line": 334, + "column": 19 }, "end": { - "line": 251, - "column": 62 + "line": 334, + "column": 20 } } }, { "type": { - "label": ",", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 7872, - "end": 7873, - "loc": { - "start": { - "line": 251, - "column": 62 - }, - "end": { - "line": 251, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "material", - "start": 7874, - "end": 7882, + "value": "!", + "start": 11513, + "end": 11514, "loc": { "start": { - "line": 251, - "column": 64 + "line": 334, + "column": 20 }, - "end": { - "line": 251, - "column": 72 + "end": { + "line": 334, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -67880,23 +86216,24 @@ "postfix": false, "binop": null }, - "start": 7882, - "end": 7883, + "value": "utils", + "start": 11514, + "end": 11519, "loc": { "start": { - "line": 251, - "column": 72 + "line": 334, + "column": 21 }, "end": { - "line": 251, - "column": 73 + "line": 334, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -67906,24 +86243,24 @@ "binop": null, "updateContext": null }, - "start": 7883, - "end": 7884, + "start": 11519, + "end": 11520, "loc": { "start": { - "line": 251, - "column": 73 + "line": 334, + "column": 26 }, "end": { - "line": 251, - "column": 74 + "line": 334, + "column": 27 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -67931,24 +86268,25 @@ "postfix": false, "binop": null }, - "start": 7893, - "end": 7894, + "value": "isString", + "start": 11520, + "end": 11528, "loc": { "start": { - "line": 252, - "column": 8 + "line": 334, + "column": 27 }, "end": { - "line": 252, - "column": 9 + "line": 334, + "column": 35 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -67956,24 +86294,24 @@ "postfix": false, "binop": null }, - "start": 7899, - "end": 7900, + "start": 11528, + "end": 11529, "loc": { "start": { - "line": 253, - "column": 4 + "line": 334, + "column": 35 }, "end": { - "line": 253, - "column": 5 + "line": 334, + "column": 36 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -67981,25 +86319,25 @@ "postfix": false, "binop": null }, - "start": 7901, - "end": 7902, + "value": "diffuse", + "start": 11529, + "end": 11536, "loc": { "start": { - "line": 254, - "column": 0 + "line": 334, + "column": 36 }, "end": { - "line": 254, - "column": 1 + "line": 334, + "column": 43 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -68007,25 +86345,24 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 7904, - "end": 7912, + "start": 11536, + "end": 11537, "loc": { "start": { - "line": 256, - "column": 0 + "line": 334, + "column": 43 }, "end": { - "line": 256, - "column": 8 + "line": 334, + "column": 44 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -68033,23 +86370,22 @@ "postfix": false, "binop": null }, - "value": "parseTextureSet", - "start": 7913, - "end": 7928, + "start": 11537, + "end": 11538, "loc": { "start": { - "line": 256, - "column": 9 + "line": 334, + "column": 44 }, "end": { - "line": 256, - "column": 24 + "line": 334, + "column": 45 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -68059,16 +86395,16 @@ "postfix": false, "binop": null }, - "start": 7928, - "end": 7929, + "start": 11539, + "end": 11540, "loc": { "start": { - "line": 256, - "column": 24 + "line": 334, + "column": 46 }, "end": { - "line": 256, - "column": 25 + "line": 334, + "column": 47 } } }, @@ -68084,24 +86420,24 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 7929, - "end": 7932, + "value": "materialAttributes", + "start": 11561, + "end": 11579, "loc": { "start": { - "line": 256, - "column": 25 + "line": 335, + "column": 20 }, "end": { - "line": 256, - "column": 28 + "line": 335, + "column": 38 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -68111,16 +86447,16 @@ "binop": null, "updateContext": null }, - "start": 7932, - "end": 7933, + "start": 11579, + "end": 11580, "loc": { "start": { - "line": 256, - "column": 28 + "line": 335, + "column": 38 }, "end": { - "line": 256, - "column": 29 + "line": 335, + "column": 39 } } }, @@ -68136,23 +86472,23 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 7934, - "end": 7942, + "value": "color", + "start": 11580, + "end": 11585, "loc": { "start": { - "line": 256, - "column": 30 + "line": 335, + "column": 39 }, "end": { - "line": 256, - "column": 38 + "line": 335, + "column": 44 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -68160,24 +86496,51 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11585, + "end": 11586, + "loc": { + "start": { + "line": 335, + "column": 44 + }, + "end": { + "line": 335, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 7942, - "end": 7943, + "value": "set", + "start": 11586, + "end": 11589, "loc": { "start": { - "line": 256, - "column": 38 + "line": 335, + "column": 45 }, "end": { - "line": 256, - "column": 39 + "line": 335, + "column": 48 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -68187,52 +86550,50 @@ "postfix": false, "binop": null }, - "start": 7944, - "end": 7945, + "start": 11589, + "end": 11590, "loc": { "start": { - "line": 256, - "column": 40 + "line": 335, + "column": 48 }, "end": { - "line": 256, - "column": 41 + "line": 335, + "column": 49 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 7950, - "end": 7955, + "value": "diffuse", + "start": 11590, + "end": 11597, "loc": { "start": { - "line": 257, - "column": 4 + "line": 335, + "column": 49 }, "end": { - "line": 257, - "column": 9 + "line": 335, + "column": 56 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -68240,52 +86601,50 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 7956, - "end": 7969, + "start": 11597, + "end": 11598, "loc": { "start": { - "line": 257, - "column": 10 + "line": 335, + "column": 56 }, "end": { - "line": 257, - "column": 23 + "line": 335, + "column": 57 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 7970, - "end": 7971, + "start": 11598, + "end": 11599, "loc": { "start": { - "line": 257, - "column": 24 + "line": 335, + "column": 57 }, "end": { - "line": 257, - "column": 25 + "line": 335, + "column": 58 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -68293,16 +86652,16 @@ "postfix": false, "binop": null }, - "start": 7972, - "end": 7973, + "start": 11616, + "end": 11617, "loc": { "start": { - "line": 257, - "column": 26 + "line": 336, + "column": 16 }, "end": { - "line": 257, - "column": 27 + "line": 336, + "column": 17 } } }, @@ -68318,23 +86677,24 @@ "postfix": false, "binop": null }, - "start": 7973, - "end": 7974, + "start": 11630, + "end": 11631, "loc": { "start": { - "line": 257, - "column": 27 + "line": 337, + "column": 12 }, "end": { - "line": 257, - "column": 28 + "line": 337, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -68344,69 +86704,70 @@ "binop": null, "updateContext": null }, - "start": 7974, - "end": 7975, + "value": "const", + "start": 11644, + "end": 11649, "loc": { "start": { - "line": 257, - "column": 28 + "line": 338, + "column": 12 }, "end": { - "line": 257, - "column": 29 + "line": 338, + "column": 17 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 7980, - "end": 7982, + "value": "transparency", + "start": 11650, + "end": 11662, "loc": { "start": { - "line": 258, - "column": 4 + "line": 338, + "column": 18 }, "end": { - "line": 258, - "column": 6 + "line": 338, + "column": 30 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7983, - "end": 7984, + "value": "=", + "start": 11663, + "end": 11664, "loc": { "start": { - "line": 258, - "column": 7 + "line": 338, + "column": 31 }, "end": { - "line": 258, - "column": 8 + "line": 338, + "column": 32 } } }, @@ -68422,17 +86783,17 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 7984, - "end": 7992, + "value": "values", + "start": 11665, + "end": 11671, "loc": { "start": { - "line": 258, - "column": 8 + "line": 338, + "column": 33 }, "end": { - "line": 258, - "column": 16 + "line": 338, + "column": 39 } } }, @@ -68449,16 +86810,16 @@ "binop": null, "updateContext": null }, - "start": 7992, - "end": 7993, + "start": 11671, + "end": 11672, "loc": { "start": { - "line": 258, - "column": 16 + "line": 338, + "column": 39 }, "end": { - "line": 258, - "column": 17 + "line": 338, + "column": 40 } } }, @@ -68474,23 +86835,50 @@ "postfix": false, "binop": null }, - "value": "normalTexture", - "start": 7993, - "end": 8006, + "value": "transparency", + "start": 11672, + "end": 11684, "loc": { "start": { - "line": 258, - "column": 17 + "line": 338, + "column": 40 }, "end": { - "line": 258, - "column": 30 + "line": 338, + "column": 52 } } }, { "type": { - "label": ")", + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 11684, + "end": 11685, + "loc": { + "start": { + "line": 338, + "column": 52 + }, + "end": { + "line": 338, + "column": 53 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -68498,24 +86886,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8006, - "end": 8007, + "value": "if", + "start": 11698, + "end": 11700, "loc": { "start": { - "line": 258, - "column": 30 + "line": 339, + "column": 12 }, "end": { - "line": 258, - "column": 31 + "line": 339, + "column": 14 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -68525,16 +86915,16 @@ "postfix": false, "binop": null }, - "start": 8008, - "end": 8009, + "start": 11701, + "end": 11702, "loc": { "start": { - "line": 258, - "column": 32 + "line": 339, + "column": 15 }, "end": { - "line": 258, - "column": 33 + "line": 339, + "column": 16 } } }, @@ -68550,49 +86940,51 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 8018, - "end": 8031, + "value": "transparency", + "start": 11702, + "end": 11714, "loc": { "start": { - "line": 259, - "column": 8 + "line": 339, + "column": 16 }, "end": { - "line": 259, - "column": 21 + "line": 339, + "column": 28 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 8031, - "end": 8032, + "value": "!==", + "start": 11715, + "end": 11718, "loc": { "start": { - "line": 259, - "column": 21 + "line": 339, + "column": 29 }, "end": { - "line": 259, - "column": 22 + "line": 339, + "column": 32 } } }, { "type": { - "label": "name", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -68600,46 +86992,47 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "normalTextureId", - "start": 8032, - "end": 8047, + "value": "null", + "start": 11719, + "end": 11723, "loc": { "start": { - "line": 259, - "column": 22 + "line": 339, + "column": 33 }, "end": { - "line": 259, + "line": 339, "column": 37 } } }, { "type": { - "label": "=", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "value": "=", - "start": 8048, - "end": 8049, + "value": "&&", + "start": 11724, + "end": 11726, "loc": { "start": { - "line": 259, + "line": 339, "column": 38 }, "end": { - "line": 259, - "column": 39 + "line": 339, + "column": 40 } } }, @@ -68655,43 +87048,44 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 8050, - "end": 8058, + "value": "transparency", + "start": 11727, + "end": 11739, "loc": { "start": { - "line": 259, - "column": 40 + "line": 339, + "column": 41 }, "end": { - "line": 259, - "column": 48 + "line": 339, + "column": 53 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 8058, - "end": 8059, + "value": "!==", + "start": 11740, + "end": 11743, "loc": { "start": { - "line": 259, - "column": 48 + "line": 339, + "column": 54 }, "end": { - "line": 259, - "column": 49 + "line": 339, + "column": 57 } } }, @@ -68707,23 +87101,23 @@ "postfix": false, "binop": null }, - "value": "normalTexture", - "start": 8059, - "end": 8072, + "value": "undefined", + "start": 11744, + "end": 11753, "loc": { "start": { - "line": 259, - "column": 49 + "line": 339, + "column": 58 }, "end": { - "line": 259, - "column": 62 + "line": 339, + "column": 67 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -68731,71 +87125,43 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8072, - "end": 8073, - "loc": { - "start": { - "line": 259, - "column": 62 - }, - "end": { - "line": 259, - "column": 63 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "texture", - "start": 8073, - "end": 8080, + "start": 11753, + "end": 11754, "loc": { "start": { - "line": 259, - "column": 63 + "line": 339, + "column": 67 }, "end": { - "line": 259, - "column": 70 + "line": 339, + "column": 68 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8080, - "end": 8081, + "start": 11755, + "end": 11756, "loc": { "start": { - "line": 259, - "column": 70 + "line": 339, + "column": 69 }, "end": { - "line": 259, - "column": 71 + "line": 339, + "column": 70 } } }, @@ -68811,24 +87177,24 @@ "postfix": false, "binop": null }, - "value": "_textureId", - "start": 8081, - "end": 8091, + "value": "materialAttributes", + "start": 11773, + "end": 11791, "loc": { "start": { - "line": 259, - "column": 71 + "line": 340, + "column": 16 }, "end": { - "line": 259, - "column": 81 + "line": 340, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -68838,24 +87204,24 @@ "binop": null, "updateContext": null }, - "start": 8091, - "end": 8092, + "start": 11791, + "end": 11792, "loc": { "start": { - "line": 259, - "column": 81 + "line": 340, + "column": 34 }, "end": { - "line": 259, - "column": 82 + "line": 340, + "column": 35 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -68863,51 +87229,51 @@ "postfix": false, "binop": null }, - "start": 8097, - "end": 8098, + "value": "opacity", + "start": 11792, + "end": 11799, "loc": { "start": { - "line": 260, - "column": 4 + "line": 340, + "column": 35 }, "end": { - "line": 260, - "column": 5 + "line": 340, + "column": 42 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "if", - "start": 8103, - "end": 8105, + "value": "=", + "start": 11800, + "end": 11801, "loc": { "start": { - "line": 261, - "column": 4 + "line": 340, + "column": 43 }, "end": { - "line": 261, - "column": 6 + "line": 340, + "column": 44 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -68916,48 +87282,49 @@ "postfix": false, "binop": null }, - "start": 8106, - "end": 8107, + "value": "transparency", + "start": 11802, + "end": 11814, "loc": { "start": { - "line": 261, - "column": 7 + "line": 340, + "column": 45 }, "end": { - "line": 261, - "column": 8 + "line": 340, + "column": 57 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "material", - "start": 8107, - "end": 8115, + "start": 11814, + "end": 11815, "loc": { "start": { - "line": 261, - "column": 8 + "line": 340, + "column": 57 }, "end": { - "line": 261, - "column": 16 + "line": 340, + "column": 58 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -68965,53 +87332,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8115, - "end": 8116, + "start": 11828, + "end": 11829, "loc": { "start": { - "line": 261, - "column": 16 + "line": 341, + "column": 12 }, "end": { - "line": 261, - "column": 17 + "line": 341, + "column": 13 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "occlusionTexture", - "start": 8116, - "end": 8132, + "value": "const", + "start": 11842, + "end": 11847, "loc": { "start": { - "line": 261, - "column": 17 + "line": 342, + "column": 12 }, "end": { - "line": 261, - "column": 33 + "line": 342, + "column": 17 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -69019,41 +87387,44 @@ "postfix": false, "binop": null }, - "start": 8132, - "end": 8133, + "value": "transparent", + "start": 11848, + "end": 11859, "loc": { "start": { - "line": 261, - "column": 33 + "line": 342, + "column": 18 }, "end": { - "line": 261, - "column": 34 + "line": 342, + "column": 29 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8134, - "end": 8135, + "value": "=", + "start": 11860, + "end": 11861, "loc": { "start": { - "line": 261, - "column": 35 + "line": 342, + "column": 30 }, "end": { - "line": 261, - "column": 36 + "line": 342, + "column": 31 } } }, @@ -69069,17 +87440,17 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 8144, - "end": 8157, + "value": "values", + "start": 11862, + "end": 11868, "loc": { "start": { - "line": 262, - "column": 8 + "line": 342, + "column": 32 }, "end": { - "line": 262, - "column": 21 + "line": 342, + "column": 38 } } }, @@ -69096,16 +87467,16 @@ "binop": null, "updateContext": null }, - "start": 8157, - "end": 8158, + "start": 11868, + "end": 11869, "loc": { "start": { - "line": 262, - "column": 21 + "line": 342, + "column": 38 }, "end": { - "line": 262, - "column": 22 + "line": 342, + "column": 39 } } }, @@ -69121,96 +87492,96 @@ "postfix": false, "binop": null }, - "value": "occlusionTextureId", - "start": 8158, - "end": 8176, + "value": "transparent", + "start": 11869, + "end": 11880, "loc": { "start": { - "line": 262, - "column": 22 + "line": 342, + "column": 39 }, "end": { - "line": 262, - "column": 40 + "line": 342, + "column": 50 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 8177, - "end": 8178, + "start": 11880, + "end": 11881, "loc": { "start": { - "line": 262, - "column": 41 + "line": 342, + "column": 50 }, "end": { - "line": 262, - "column": 42 + "line": 342, + "column": 51 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "material", - "start": 8179, - "end": 8187, + "value": "if", + "start": 11894, + "end": 11896, "loc": { "start": { - "line": 262, - "column": 43 + "line": 343, + "column": 12 }, "end": { - "line": 262, - "column": 51 + "line": 343, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8187, - "end": 8188, + "start": 11897, + "end": 11898, "loc": { "start": { - "line": 262, - "column": 51 + "line": 343, + "column": 15 }, "end": { - "line": 262, - "column": 52 + "line": 343, + "column": 16 } } }, @@ -69226,49 +87597,51 @@ "postfix": false, "binop": null }, - "value": "occlusionTexture", - "start": 8188, - "end": 8204, + "value": "transparent", + "start": 11898, + "end": 11909, "loc": { "start": { - "line": 262, - "column": 52 + "line": 343, + "column": 16 }, "end": { - "line": 262, - "column": 68 + "line": 343, + "column": 27 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 8204, - "end": 8205, + "value": "!==", + "start": 11910, + "end": 11913, "loc": { "start": { - "line": 262, - "column": 68 + "line": 343, + "column": 28 }, "end": { - "line": 262, - "column": 69 + "line": 343, + "column": 31 } } }, { "type": { - "label": "name", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -69276,45 +87649,47 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "texture", - "start": 8205, - "end": 8212, + "value": "null", + "start": 11914, + "end": 11918, "loc": { "start": { - "line": 262, - "column": 69 + "line": 343, + "column": 32 }, "end": { - "line": 262, - "column": 76 + "line": 343, + "column": 36 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "&&", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 8212, - "end": 8213, + "value": "&&", + "start": 11919, + "end": 11921, "loc": { "start": { - "line": 262, - "column": 76 + "line": 343, + "column": 37 }, "end": { - "line": 262, - "column": 77 + "line": 343, + "column": 39 } } }, @@ -69330,23 +87705,23 @@ "postfix": false, "binop": null }, - "value": "_textureId", - "start": 8213, - "end": 8223, + "value": "transparent", + "start": 11922, + "end": 11933, "loc": { "start": { - "line": 262, - "column": 77 + "line": 343, + "column": 40 }, "end": { - "line": 262, - "column": 87 + "line": 343, + "column": 51 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -69354,27 +87729,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 8223, - "end": 8224, + "value": "!==", + "start": 11934, + "end": 11937, "loc": { "start": { - "line": 262, - "column": 87 + "line": 343, + "column": 52 }, "end": { - "line": 262, - "column": 88 + "line": 343, + "column": 55 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -69382,23 +87758,23 @@ "postfix": false, "binop": null }, - "start": 8229, - "end": 8230, + "value": "undefined", + "start": 11938, + "end": 11947, "loc": { "start": { - "line": 263, - "column": 4 + "line": 343, + "column": 56 }, "end": { - "line": 263, - "column": 5 + "line": 343, + "column": 65 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -69406,26 +87782,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 8235, - "end": 8237, + "start": 11947, + "end": 11948, "loc": { "start": { - "line": 264, - "column": 4 + "line": 343, + "column": 65 }, "end": { - "line": 264, - "column": 6 + "line": 343, + "column": 66 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -69435,16 +87809,16 @@ "postfix": false, "binop": null }, - "start": 8238, - "end": 8239, + "start": 11949, + "end": 11950, "loc": { "start": { - "line": 264, - "column": 7 + "line": 343, + "column": 67 }, "end": { - "line": 264, - "column": 8 + "line": 343, + "column": 68 } } }, @@ -69460,17 +87834,17 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 8239, - "end": 8247, + "value": "materialAttributes", + "start": 11967, + "end": 11985, "loc": { "start": { - "line": 264, - "column": 8 + "line": 344, + "column": 16 }, "end": { - "line": 264, - "column": 16 + "line": 344, + "column": 34 } } }, @@ -69487,16 +87861,16 @@ "binop": null, "updateContext": null }, - "start": 8247, - "end": 8248, + "start": 11985, + "end": 11986, "loc": { "start": { - "line": 264, - "column": 16 + "line": 344, + "column": 34 }, "end": { - "line": 264, - "column": 17 + "line": 344, + "column": 35 } } }, @@ -69512,67 +87886,44 @@ "postfix": false, "binop": null }, - "value": "emissiveTexture", - "start": 8248, - "end": 8263, - "loc": { - "start": { - "line": 264, - "column": 17 - }, - "end": { - "line": 264, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8263, - "end": 8264, + "value": "opacity", + "start": 11986, + "end": 11993, "loc": { "start": { - "line": 264, - "column": 32 + "line": 344, + "column": 35 }, "end": { - "line": 264, - "column": 33 + "line": 344, + "column": 42 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8265, - "end": 8266, + "value": "=", + "start": 11994, + "end": 11995, "loc": { "start": { - "line": 264, - "column": 34 + "line": 344, + "column": 43 }, "end": { - "line": 264, - "column": 35 + "line": 344, + "column": 44 } } }, @@ -69588,24 +87939,24 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 8275, - "end": 8288, + "value": "transparent", + "start": 11996, + "end": 12007, "loc": { "start": { - "line": 265, - "column": 8 + "line": 344, + "column": 45 }, "end": { - "line": 265, - "column": 21 + "line": 344, + "column": 56 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -69615,24 +87966,24 @@ "binop": null, "updateContext": null }, - "start": 8288, - "end": 8289, + "start": 12007, + "end": 12008, "loc": { "start": { - "line": 265, - "column": 21 + "line": 344, + "column": 56 }, "end": { - "line": 265, - "column": 22 + "line": 344, + "column": 57 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -69640,52 +87991,49 @@ "postfix": false, "binop": null }, - "value": "emissiveTextureId", - "start": 8289, - "end": 8306, + "start": 12021, + "end": 12022, "loc": { "start": { - "line": 265, - "column": 22 + "line": 345, + "column": 12 }, "end": { - "line": 265, - "column": 39 + "line": 345, + "column": 13 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 8307, - "end": 8308, + "start": 12031, + "end": 12032, "loc": { "start": { - "line": 265, - "column": 40 + "line": 346, + "column": 8 }, "end": { - "line": 265, - "column": 41 + "line": 346, + "column": 9 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -69693,23 +88041,23 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 8309, - "end": 8317, + "start": 12037, + "end": 12038, "loc": { "start": { - "line": 265, - "column": 42 + "line": 347, + "column": 4 }, "end": { - "line": 265, - "column": 50 + "line": 347, + "column": 5 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -69720,16 +88068,17 @@ "binop": null, "updateContext": null }, - "start": 8317, - "end": 8318, + "value": "const", + "start": 12043, + "end": 12048, "loc": { "start": { - "line": 265, - "column": 50 + "line": 348, + "column": 4 }, "end": { - "line": 265, - "column": 51 + "line": 348, + "column": 9 } } }, @@ -69745,43 +88094,44 @@ "postfix": false, "binop": null }, - "value": "emissiveTexture", - "start": 8318, - "end": 8333, + "value": "metallicPBR", + "start": 12049, + "end": 12060, "loc": { "start": { - "line": 265, - "column": 51 + "line": 348, + "column": 10 }, "end": { - "line": 265, - "column": 66 + "line": 348, + "column": 21 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 8333, - "end": 8334, + "value": "=", + "start": 12061, + "end": 12062, "loc": { "start": { - "line": 265, - "column": 66 + "line": 348, + "column": 22 }, "end": { - "line": 265, - "column": 67 + "line": 348, + "column": 23 } } }, @@ -69797,17 +88147,17 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 8334, - "end": 8341, + "value": "material", + "start": 12063, + "end": 12071, "loc": { "start": { - "line": 265, - "column": 67 + "line": 348, + "column": 24 }, "end": { - "line": 265, - "column": 74 + "line": 348, + "column": 32 } } }, @@ -69824,16 +88174,16 @@ "binop": null, "updateContext": null }, - "start": 8341, - "end": 8342, + "start": 12071, + "end": 12072, "loc": { "start": { - "line": 265, - "column": 74 + "line": 348, + "column": 32 }, "end": { - "line": 265, - "column": 75 + "line": 348, + "column": 33 } } }, @@ -69849,17 +88199,17 @@ "postfix": false, "binop": null }, - "value": "_textureId", - "start": 8342, - "end": 8352, + "value": "pbrMetallicRoughness", + "start": 12072, + "end": 12092, "loc": { "start": { - "line": 265, - "column": 75 + "line": 348, + "column": 33 }, "end": { - "line": 265, - "column": 85 + "line": 348, + "column": 53 } } }, @@ -69876,22 +88226,23 @@ "binop": null, "updateContext": null }, - "start": 8352, - "end": 8353, + "start": 12092, + "end": 12093, "loc": { "start": { - "line": 265, - "column": 85 + "line": 348, + "column": 53 }, "end": { - "line": 265, - "column": 86 + "line": 348, + "column": 54 } } }, { "type": { - "label": "}", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -69899,290 +88250,121 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8358, - "end": 8359, - "loc": { - "start": { - "line": 266, - "column": 4 - }, - "end": { - "line": 266, - "column": 5 - } - } - }, - { - "type": "CommentLine", - "value": " const alphaMode = material.alphaMode;", - "start": 8364, - "end": 8404, - "loc": { - "start": { - "line": 267, - "column": 4 - }, - "end": { - "line": 267, - "column": 44 - } - } - }, - { - "type": "CommentLine", - "value": " switch (alphaMode) {", - "start": 8409, - "end": 8432, - "loc": { - "start": { - "line": 268, - "column": 4 - }, - "end": { - "line": 268, - "column": 27 - } - } - }, - { - "type": "CommentLine", - "value": " case \"NORMAL_OPAQUE\":", - "start": 8437, - "end": 8465, - "loc": { - "start": { - "line": 269, - "column": 4 - }, - "end": { - "line": 269, - "column": 32 - } - } - }, - { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"opaque\";", - "start": 8470, - "end": 8514, - "loc": { - "start": { - "line": 270, - "column": 4 - }, - "end": { - "line": 270, - "column": 48 - } - } - }, - { - "type": "CommentLine", - "value": " break;", - "start": 8519, - "end": 8536, - "loc": { - "start": { - "line": 271, - "column": 4 - }, - "end": { - "line": 271, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": " case \"MASK\":", - "start": 8541, - "end": 8560, - "loc": { - "start": { - "line": 272, - "column": 4 - }, - "end": { - "line": 272, - "column": 23 - } - } - }, - { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"mask\";", - "start": 8565, - "end": 8607, - "loc": { - "start": { - "line": 273, - "column": 4 - }, - "end": { - "line": 273, - "column": 46 - } - } - }, - { - "type": "CommentLine", - "value": " break;", - "start": 8612, - "end": 8629, - "loc": { - "start": { - "line": 274, - "column": 4 - }, - "end": { - "line": 274, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": " case \"BLEND\":", - "start": 8634, - "end": 8654, - "loc": { - "start": { - "line": 275, - "column": 4 - }, - "end": { - "line": 275, - "column": 24 - } - } - }, - { - "type": "CommentLine", - "value": " materialCfg.alphaMode = \"blend\";", - "start": 8659, - "end": 8702, - "loc": { - "start": { - "line": 276, - "column": 4 - }, - "end": { - "line": 276, - "column": 47 - } - } - }, - { - "type": "CommentLine", - "value": " break;", - "start": 8707, - "end": 8724, - "loc": { - "start": { - "line": 277, - "column": 4 - }, - "end": { - "line": 277, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": " default:", - "start": 8729, - "end": 8744, + "value": "if", + "start": 12098, + "end": 12100, "loc": { "start": { - "line": 278, + "line": 349, "column": 4 }, "end": { - "line": 278, - "column": 19 + "line": 349, + "column": 6 } } }, { - "type": "CommentLine", - "value": " }", - "start": 8749, - "end": 8753, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12101, + "end": 12102, "loc": { "start": { - "line": 279, - "column": 4 + "line": 349, + "column": 7 }, "end": { - "line": 279, + "line": 349, "column": 8 } } }, { - "type": "CommentLine", - "value": " const alphaCutoff = material.alphaCutoff;", - "start": 8758, - "end": 8802, - "loc": { - "start": { - "line": 280, - "column": 4 - }, - "end": { - "line": 280, - "column": 48 - } - } - }, - { - "type": "CommentLine", - "value": " if (alphaCutoff !== undefined) {", - "start": 8807, - "end": 8842, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "metallicPBR", + "start": 12102, + "end": 12113, "loc": { "start": { - "line": 281, - "column": 4 + "line": 349, + "column": 8 }, "end": { - "line": 281, - "column": 39 + "line": 349, + "column": 19 } } }, { - "type": "CommentLine", - "value": " materialCfg.alphaCutoff = alphaCutoff;", - "start": 8847, - "end": 8892, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12113, + "end": 12114, "loc": { "start": { - "line": 282, - "column": 4 + "line": 349, + "column": 19 }, "end": { - "line": 282, - "column": 49 + "line": 349, + "column": 20 } } }, { - "type": "CommentLine", - "value": " }", - "start": 8897, - "end": 8901, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 12115, + "end": 12116, "loc": { "start": { - "line": 283, - "column": 4 + "line": 349, + "column": 21 }, "end": { - "line": 283, - "column": 8 + "line": 349, + "column": 22 } } }, @@ -70201,16 +88383,16 @@ "updateContext": null }, "value": "const", - "start": 8906, - "end": 8911, + "start": 12125, + "end": 12130, "loc": { "start": { - "line": 284, - "column": 4 + "line": 350, + "column": 8 }, "end": { - "line": 284, - "column": 9 + "line": 350, + "column": 13 } } }, @@ -70226,17 +88408,17 @@ "postfix": false, "binop": null }, - "value": "metallicPBR", - "start": 8912, - "end": 8923, + "value": "baseColorFactor", + "start": 12131, + "end": 12146, "loc": { "start": { - "line": 284, - "column": 10 + "line": 350, + "column": 14 }, "end": { - "line": 284, - "column": 21 + "line": 350, + "column": 29 } } }, @@ -70254,16 +88436,16 @@ "updateContext": null }, "value": "=", - "start": 8924, - "end": 8925, + "start": 12147, + "end": 12148, "loc": { "start": { - "line": 284, - "column": 22 + "line": 350, + "column": 30 }, "end": { - "line": 284, - "column": 23 + "line": 350, + "column": 31 } } }, @@ -70279,17 +88461,17 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 8926, - "end": 8934, + "value": "metallicPBR", + "start": 12149, + "end": 12160, "loc": { "start": { - "line": 284, - "column": 24 + "line": 350, + "column": 32 }, "end": { - "line": 284, - "column": 32 + "line": 350, + "column": 43 } } }, @@ -70306,16 +88488,16 @@ "binop": null, "updateContext": null }, - "start": 8934, - "end": 8935, + "start": 12160, + "end": 12161, "loc": { "start": { - "line": 284, - "column": 32 + "line": 350, + "column": 43 }, "end": { - "line": 284, - "column": 33 + "line": 350, + "column": 44 } } }, @@ -70331,17 +88513,17 @@ "postfix": false, "binop": null }, - "value": "pbrMetallicRoughness", - "start": 8935, - "end": 8955, + "value": "baseColorFactor", + "start": 12161, + "end": 12176, "loc": { "start": { - "line": 284, - "column": 33 + "line": 350, + "column": 44 }, "end": { - "line": 284, - "column": 53 + "line": 350, + "column": 59 } } }, @@ -70358,16 +88540,16 @@ "binop": null, "updateContext": null }, - "start": 8955, - "end": 8956, + "start": 12176, + "end": 12177, "loc": { "start": { - "line": 284, - "column": 53 + "line": 350, + "column": 59 }, "end": { - "line": 284, - "column": 54 + "line": 350, + "column": 60 } } }, @@ -70386,16 +88568,16 @@ "updateContext": null }, "value": "if", - "start": 8961, - "end": 8963, + "start": 12186, + "end": 12188, "loc": { "start": { - "line": 285, - "column": 4 + "line": 351, + "column": 8 }, "end": { - "line": 285, - "column": 6 + "line": 351, + "column": 10 } } }, @@ -70411,16 +88593,16 @@ "postfix": false, "binop": null }, - "start": 8964, - "end": 8965, + "start": 12189, + "end": 12190, "loc": { "start": { - "line": 285, - "column": 7 + "line": 351, + "column": 11 }, "end": { - "line": 285, - "column": 8 + "line": 351, + "column": 12 } } }, @@ -70436,23 +88618,23 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 8965, - "end": 8973, + "value": "baseColorFactor", + "start": 12190, + "end": 12205, "loc": { "start": { - "line": 285, - "column": 8 + "line": 351, + "column": 12 }, "end": { - "line": 285, - "column": 16 + "line": 351, + "column": 27 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -70460,26 +88642,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8973, - "end": 8974, + "start": 12205, + "end": 12206, "loc": { "start": { - "line": 285, - "column": 16 + "line": 351, + "column": 27 }, "end": { - "line": 285, - "column": 17 + "line": 351, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -70488,49 +88669,23 @@ "postfix": false, "binop": null }, - "value": "pbrMetallicRoughness", - "start": 8974, - "end": 8994, + "start": 12207, + "end": 12208, "loc": { "start": { - "line": 285, - "column": 17 + "line": 351, + "column": 29 }, "end": { - "line": 285, - "column": 37 + "line": 351, + "column": 30 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8994, - "end": 8995, - "loc": { - "start": { - "line": 285, - "column": 37 - }, - "end": { - "line": 285, - "column": 38 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -70539,23 +88694,23 @@ "postfix": false, "binop": null }, - "start": 8996, - "end": 8997, + "value": "materialAttributes", + "start": 12221, + "end": 12239, "loc": { "start": { - "line": 285, - "column": 39 + "line": 352, + "column": 12 }, "end": { - "line": 285, - "column": 40 + "line": 352, + "column": 30 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -70566,17 +88721,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 9006, - "end": 9011, + "start": 12239, + "end": 12240, "loc": { "start": { - "line": 286, - "column": 8 + "line": 352, + "column": 30 }, "end": { - "line": 286, - "column": 13 + "line": 352, + "column": 31 } } }, @@ -70592,50 +88746,49 @@ "postfix": false, "binop": null }, - "value": "pbrMetallicRoughness", - "start": 9012, - "end": 9032, + "value": "color", + "start": 12240, + "end": 12245, "loc": { "start": { - "line": 286, - "column": 14 + "line": 352, + "column": 31 }, "end": { - "line": 286, - "column": 34 + "line": 352, + "column": 36 } } }, { "type": { - "label": "=", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 9033, - "end": 9034, + "start": 12245, + "end": 12246, "loc": { "start": { - "line": 286, - "column": 35 + "line": 352, + "column": 36 }, "end": { - "line": 286, - "column": 36 + "line": 352, + "column": 37 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -70643,25 +88796,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "material", - "start": 9035, - "end": 9043, + "value": 0, + "start": 12246, + "end": 12247, "loc": { "start": { - "line": 286, + "line": 352, "column": 37 }, "end": { - "line": 286, - "column": 45 + "line": 352, + "column": 38 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -70672,16 +88826,43 @@ "binop": null, "updateContext": null }, - "start": 9043, - "end": 9044, + "start": 12247, + "end": 12248, "loc": { "start": { - "line": 286, - "column": 45 + "line": 352, + "column": 38 }, "end": { - "line": 286, - "column": 46 + "line": 352, + "column": 39 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 12249, + "end": 12250, + "loc": { + "start": { + "line": 352, + "column": 40 + }, + "end": { + "line": 352, + "column": 41 } } }, @@ -70697,25 +88878,25 @@ "postfix": false, "binop": null }, - "value": "pbrMetallicRoughness", - "start": 9044, - "end": 9064, + "value": "baseColorFactor", + "start": 12251, + "end": 12266, "loc": { "start": { - "line": 286, - "column": 46 + "line": 352, + "column": 42 }, "end": { - "line": 286, - "column": 66 + "line": 352, + "column": 57 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -70724,25 +88905,24 @@ "binop": null, "updateContext": null }, - "start": 9064, - "end": 9065, + "start": 12266, + "end": 12267, "loc": { "start": { - "line": 286, - "column": 66 + "line": 352, + "column": 57 }, "end": { - "line": 286, - "column": 67 + "line": 352, + "column": 58 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -70751,70 +88931,69 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 9074, - "end": 9079, + "value": 0, + "start": 12267, + "end": 12268, "loc": { "start": { - "line": 287, - "column": 8 + "line": 352, + "column": 58 }, "end": { - "line": 287, - "column": 13 + "line": 352, + "column": 59 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "baseColorTexture", - "start": 9080, - "end": 9096, + "start": 12268, + "end": 12269, "loc": { "start": { - "line": 287, - "column": 14 + "line": 352, + "column": 59 }, "end": { - "line": 287, - "column": 30 + "line": 352, + "column": 60 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 9097, - "end": 9098, + "start": 12269, + "end": 12270, "loc": { "start": { - "line": 287, - "column": 31 + "line": 352, + "column": 60 }, "end": { - "line": 287, - "column": 32 + "line": 352, + "column": 61 } } }, @@ -70830,17 +89009,17 @@ "postfix": false, "binop": null }, - "value": "pbrMetallicRoughness", - "start": 9099, - "end": 9119, + "value": "materialAttributes", + "start": 12283, + "end": 12301, "loc": { "start": { - "line": 287, - "column": 33 + "line": 353, + "column": 12 }, "end": { - "line": 287, - "column": 53 + "line": 353, + "column": 30 } } }, @@ -70857,16 +89036,16 @@ "binop": null, "updateContext": null }, - "start": 9119, - "end": 9120, + "start": 12301, + "end": 12302, "loc": { "start": { - "line": 287, - "column": 53 + "line": 353, + "column": 30 }, "end": { - "line": 287, - "column": 54 + "line": 353, + "column": 31 } } }, @@ -70882,50 +89061,49 @@ "postfix": false, "binop": null }, - "value": "baseColorTexture", - "start": 9120, - "end": 9136, + "value": "color", + "start": 12302, + "end": 12307, "loc": { "start": { - "line": 287, - "column": 54 + "line": 353, + "column": 31 }, "end": { - "line": 287, - "column": 70 + "line": 353, + "column": 36 } } }, { "type": { - "label": "||", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 9137, - "end": 9139, + "start": 12307, + "end": 12308, "loc": { "start": { - "line": 287, - "column": 71 + "line": 353, + "column": 36 }, "end": { - "line": 287, - "column": 73 + "line": 353, + "column": 37 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -70933,25 +89111,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pbrMetallicRoughness", - "start": 9140, - "end": 9160, + "value": 1, + "start": 12308, + "end": 12309, "loc": { "start": { - "line": 287, - "column": 74 + "line": 353, + "column": 37 }, "end": { - "line": 287, - "column": 94 + "line": 353, + "column": 38 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -70962,77 +89141,77 @@ "binop": null, "updateContext": null }, - "start": 9160, - "end": 9161, + "start": 12309, + "end": 12310, "loc": { "start": { - "line": 287, - "column": 94 + "line": 353, + "column": 38 }, "end": { - "line": 287, - "column": 95 + "line": 353, + "column": 39 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "colorTexture", - "start": 9161, - "end": 9173, + "value": "=", + "start": 12311, + "end": 12312, "loc": { "start": { - "line": 287, - "column": 95 + "line": 353, + "column": 40 }, "end": { - "line": 287, - "column": 107 + "line": 353, + "column": 41 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9173, - "end": 9174, + "value": "baseColorFactor", + "start": 12313, + "end": 12328, "loc": { "start": { - "line": 287, - "column": 107 + "line": 353, + "column": 42 }, "end": { - "line": 287, - "column": 108 + "line": 353, + "column": 57 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71041,100 +89220,102 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 9183, - "end": 9185, + "start": 12328, + "end": 12329, "loc": { "start": { - "line": 288, - "column": 8 + "line": 353, + "column": 57 }, "end": { - "line": 288, - "column": 10 + "line": 353, + "column": 58 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9186, - "end": 9187, + "value": 1, + "start": 12329, + "end": 12330, "loc": { "start": { - "line": 288, - "column": 11 + "line": 353, + "column": 58 }, "end": { - "line": 288, - "column": 12 + "line": 353, + "column": 59 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "baseColorTexture", - "start": 9187, - "end": 9203, + "start": 12330, + "end": 12331, "loc": { "start": { - "line": 288, - "column": 12 + "line": 353, + "column": 59 }, "end": { - "line": 288, - "column": 28 + "line": 353, + "column": 60 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9203, - "end": 9204, + "start": 12331, + "end": 12332, "loc": { "start": { - "line": 288, - "column": 28 + "line": 353, + "column": 60 }, "end": { - "line": 288, - "column": 29 + "line": 353, + "column": 61 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -71143,23 +89324,23 @@ "postfix": false, "binop": null }, - "start": 9205, - "end": 9206, + "value": "materialAttributes", + "start": 12345, + "end": 12363, "loc": { "start": { - "line": 288, - "column": 30 + "line": 354, + "column": 12 }, "end": { - "line": 288, - "column": 31 + "line": 354, + "column": 30 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -71170,24 +89351,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 9219, - "end": 9221, + "start": 12363, + "end": 12364, "loc": { "start": { - "line": 289, - "column": 12 + "line": 354, + "column": 30 }, "end": { - "line": 289, - "column": 14 + "line": 354, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -71196,50 +89376,51 @@ "postfix": false, "binop": null }, - "start": 9222, - "end": 9223, + "value": "color", + "start": 12364, + "end": 12369, "loc": { "start": { - "line": 289, - "column": 15 + "line": 354, + "column": 31 }, "end": { - "line": 289, - "column": 16 + "line": 354, + "column": 36 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "baseColorTexture", - "start": 9223, - "end": 9239, + "start": 12369, + "end": 12370, "loc": { "start": { - "line": 289, - "column": 16 + "line": 354, + "column": 36 }, "end": { - "line": 289, - "column": 32 + "line": 354, + "column": 37 } } }, { "type": { - "label": ".", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71248,74 +89429,77 @@ "binop": null, "updateContext": null }, - "start": 9239, - "end": 9240, + "value": 2, + "start": 12370, + "end": 12371, "loc": { "start": { - "line": 289, - "column": 32 + "line": 354, + "column": 37 }, "end": { - "line": 289, - "column": 33 + "line": 354, + "column": 38 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "texture", - "start": 9240, - "end": 9247, + "start": 12371, + "end": 12372, "loc": { "start": { - "line": 289, - "column": 33 + "line": 354, + "column": 38 }, "end": { - "line": 289, - "column": 40 + "line": 354, + "column": 39 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9247, - "end": 9248, + "value": "=", + "start": 12373, + "end": 12374, "loc": { "start": { - "line": 289, + "line": 354, "column": 40 }, "end": { - "line": 289, + "line": 354, "column": 41 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -71324,50 +89508,51 @@ "postfix": false, "binop": null }, - "start": 9249, - "end": 9250, + "value": "baseColorFactor", + "start": 12375, + "end": 12390, "loc": { "start": { - "line": 289, + "line": 354, "column": 42 }, "end": { - "line": 289, - "column": 43 + "line": 354, + "column": 57 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "textureSetCfg", - "start": 9267, - "end": 9280, + "start": 12390, + "end": 12391, "loc": { "start": { - "line": 290, - "column": 16 + "line": 354, + "column": 57 }, "end": { - "line": 290, - "column": 29 + "line": 354, + "column": 58 } } }, { "type": { - "label": ".", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71376,69 +89561,69 @@ "binop": null, "updateContext": null }, - "start": 9280, - "end": 9281, + "value": 2, + "start": 12391, + "end": 12392, "loc": { "start": { - "line": 290, - "column": 29 + "line": 354, + "column": 58 }, "end": { - "line": 290, - "column": 30 + "line": 354, + "column": 59 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "colorTextureId", - "start": 9281, - "end": 9295, + "start": 12392, + "end": 12393, "loc": { "start": { - "line": 290, - "column": 30 + "line": 354, + "column": 59 }, "end": { - "line": 290, - "column": 44 + "line": 354, + "column": 60 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 9296, - "end": 9297, + "start": 12393, + "end": 12394, "loc": { "start": { - "line": 290, - "column": 45 + "line": 354, + "column": 60 }, "end": { - "line": 290, - "column": 46 + "line": 354, + "column": 61 } } }, @@ -71454,17 +89639,17 @@ "postfix": false, "binop": null }, - "value": "baseColorTexture", - "start": 9298, - "end": 9314, + "value": "materialAttributes", + "start": 12407, + "end": 12425, "loc": { "start": { - "line": 290, - "column": 47 + "line": 355, + "column": 12 }, "end": { - "line": 290, - "column": 63 + "line": 355, + "column": 30 } } }, @@ -71481,16 +89666,16 @@ "binop": null, "updateContext": null }, - "start": 9314, - "end": 9315, + "start": 12425, + "end": 12426, "loc": { "start": { - "line": 290, - "column": 63 + "line": 355, + "column": 30 }, "end": { - "line": 290, - "column": 64 + "line": 355, + "column": 31 } } }, @@ -71506,43 +89691,44 @@ "postfix": false, "binop": null }, - "value": "texture", - "start": 9315, - "end": 9322, + "value": "opacity", + "start": 12426, + "end": 12433, "loc": { "start": { - "line": 290, - "column": 64 + "line": 355, + "column": 31 }, "end": { - "line": 290, - "column": 71 + "line": 355, + "column": 38 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 9322, - "end": 9323, + "value": "=", + "start": 12434, + "end": 12435, "loc": { "start": { - "line": 290, - "column": 71 + "line": 355, + "column": 39 }, "end": { - "line": 290, - "column": 72 + "line": 355, + "column": 40 } } }, @@ -71558,25 +89744,25 @@ "postfix": false, "binop": null }, - "value": "_textureId", - "start": 9323, - "end": 9333, + "value": "baseColorFactor", + "start": 12436, + "end": 12451, "loc": { "start": { - "line": 290, - "column": 72 + "line": 355, + "column": 41 }, "end": { - "line": 290, - "column": 82 + "line": 355, + "column": 56 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71585,49 +89771,50 @@ "binop": null, "updateContext": null }, - "start": 9333, - "end": 9334, + "start": 12451, + "end": 12452, "loc": { "start": { - "line": 290, - "column": 82 + "line": 355, + "column": 56 }, "end": { - "line": 290, - "column": 83 + "line": 355, + "column": 57 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9347, - "end": 9348, + "value": 3, + "start": 12452, + "end": 12453, "loc": { "start": { - "line": 291, - "column": 12 + "line": 355, + "column": 57 }, "end": { - "line": 291, - "column": 13 + "line": 355, + "column": 58 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -71637,50 +89824,50 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 9349, - "end": 9353, + "start": 12453, + "end": 12454, "loc": { "start": { - "line": 291, - "column": 14 + "line": 355, + "column": 58 }, "end": { - "line": 291, - "column": 18 + "line": 355, + "column": 59 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9354, - "end": 9355, + "start": 12454, + "end": 12455, "loc": { "start": { - "line": 291, - "column": 19 + "line": 355, + "column": 59 }, "end": { - "line": 291, - "column": 20 + "line": 355, + "column": 60 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -71688,23 +89875,23 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 9372, - "end": 9385, + "start": 12464, + "end": 12465, "loc": { "start": { - "line": 292, - "column": 16 + "line": 356, + "column": 8 }, "end": { - "line": 292, - "column": 29 + "line": 356, + "column": 9 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -71715,16 +89902,17 @@ "binop": null, "updateContext": null }, - "start": 9385, - "end": 9386, + "value": "const", + "start": 12474, + "end": 12479, "loc": { "start": { - "line": 292, - "column": 29 + "line": 357, + "column": 8 }, "end": { - "line": 292, - "column": 30 + "line": 357, + "column": 13 } } }, @@ -71740,17 +89928,17 @@ "postfix": false, "binop": null }, - "value": "colorTextureId", - "start": 9386, - "end": 9400, + "value": "metallicFactor", + "start": 12480, + "end": 12494, "loc": { "start": { - "line": 292, - "column": 30 + "line": 357, + "column": 14 }, "end": { - "line": 292, - "column": 44 + "line": 357, + "column": 28 } } }, @@ -71768,16 +89956,16 @@ "updateContext": null }, "value": "=", - "start": 9401, - "end": 9402, + "start": 12495, + "end": 12496, "loc": { "start": { - "line": 292, - "column": 45 + "line": 357, + "column": 29 }, "end": { - "line": 292, - "column": 46 + "line": 357, + "column": 30 } } }, @@ -71793,17 +89981,17 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 9403, - "end": 9406, + "value": "metallicPBR", + "start": 12497, + "end": 12508, "loc": { "start": { - "line": 292, - "column": 47 + "line": 357, + "column": 31 }, "end": { - "line": 292, - "column": 50 + "line": 357, + "column": 42 } } }, @@ -71820,16 +90008,16 @@ "binop": null, "updateContext": null }, - "start": 9406, - "end": 9407, + "start": 12508, + "end": 12509, "loc": { "start": { - "line": 292, - "column": 50 + "line": 357, + "column": 42 }, "end": { - "line": 292, - "column": 51 + "line": 357, + "column": 43 } } }, @@ -71845,24 +90033,24 @@ "postfix": false, "binop": null }, - "value": "gltfData", - "start": 9407, - "end": 9415, + "value": "metallicFactor", + "start": 12509, + "end": 12523, "loc": { "start": { - "line": 292, - "column": 51 + "line": 357, + "column": 43 }, "end": { - "line": 292, - "column": 59 + "line": 357, + "column": 57 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -71872,48 +90060,50 @@ "binop": null, "updateContext": null }, - "start": 9415, - "end": 9416, + "start": 12523, + "end": 12524, "loc": { "start": { - "line": 292, - "column": 59 + "line": 357, + "column": 57 }, "end": { - "line": 292, - "column": 60 + "line": 357, + "column": 58 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "textures", - "start": 9416, - "end": 9424, + "value": "if", + "start": 12533, + "end": 12535, "loc": { "start": { - "line": 292, - "column": 60 + "line": 358, + "column": 8 }, "end": { - "line": 292, - "column": 68 + "line": 358, + "column": 10 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -71921,19 +90111,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9424, - "end": 9425, + "start": 12536, + "end": 12537, "loc": { "start": { - "line": 292, - "column": 68 + "line": 358, + "column": 11 }, "end": { - "line": 292, - "column": 69 + "line": 358, + "column": 12 } } }, @@ -71949,49 +90138,51 @@ "postfix": false, "binop": null }, - "value": "baseColorTexture", - "start": 9425, - "end": 9441, + "value": "metallicFactor", + "start": 12537, + "end": 12551, "loc": { "start": { - "line": 292, - "column": 69 + "line": 358, + "column": 12 }, "end": { - "line": 292, - "column": 85 + "line": 358, + "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 9441, - "end": 9442, + "value": "!==", + "start": 12552, + "end": 12555, "loc": { "start": { - "line": 292, - "column": 85 + "line": 358, + "column": 27 }, "end": { - "line": 292, - "column": 86 + "line": 358, + "column": 30 } } }, { "type": { - "label": "name", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -71999,71 +90190,47 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "index", - "start": 9442, - "end": 9447, - "loc": { - "start": { - "line": 292, - "column": 86 - }, - "end": { - "line": 292, - "column": 91 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 9447, - "end": 9448, + "value": "null", + "start": 12556, + "end": 12560, "loc": { "start": { - "line": 292, - "column": 91 + "line": 358, + "column": 31 }, "end": { - "line": 292, - "column": 92 + "line": 358, + "column": 35 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "&&", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 9448, - "end": 9449, + "value": "&&", + "start": 12561, + "end": 12563, "loc": { "start": { - "line": 292, - "column": 92 + "line": 358, + "column": 36 }, "end": { - "line": 292, - "column": 93 + "line": 358, + "column": 38 } } }, @@ -72079,23 +90246,23 @@ "postfix": false, "binop": null }, - "value": "_textureId", - "start": 9449, - "end": 9459, + "value": "metallicFactor", + "start": 12564, + "end": 12578, "loc": { "start": { - "line": 292, - "column": 93 + "line": 358, + "column": 39 }, "end": { - "line": 292, - "column": 103 + "line": 358, + "column": 53 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -72103,27 +90270,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 9459, - "end": 9460, + "value": "!==", + "start": 12579, + "end": 12582, "loc": { "start": { - "line": 292, - "column": 103 + "line": 358, + "column": 54 }, "end": { - "line": 292, - "column": 104 + "line": 358, + "column": 57 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -72131,22 +90299,23 @@ "postfix": false, "binop": null }, - "start": 9473, - "end": 9474, + "value": "undefined", + "start": 12583, + "end": 12592, "loc": { "start": { - "line": 293, - "column": 12 + "line": 358, + "column": 58 }, "end": { - "line": 293, - "column": 13 + "line": 358, + "column": 67 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -72156,51 +90325,48 @@ "postfix": false, "binop": null }, - "start": 9483, - "end": 9484, + "start": 12592, + "end": 12593, "loc": { "start": { - "line": 294, - "column": 8 + "line": 358, + "column": 67 }, "end": { - "line": 294, - "column": 9 + "line": 358, + "column": 68 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 9493, - "end": 9495, + "start": 12594, + "end": 12595, "loc": { "start": { - "line": 295, - "column": 8 + "line": 358, + "column": 69 }, "end": { - "line": 295, - "column": 10 + "line": 358, + "column": 70 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -72209,102 +90375,104 @@ "postfix": false, "binop": null }, - "start": 9496, - "end": 9497, + "value": "materialAttributes", + "start": 12608, + "end": 12626, "loc": { "start": { - "line": 295, - "column": 11 + "line": 359, + "column": 12 }, "end": { - "line": 295, - "column": 12 + "line": 359, + "column": 30 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "metallicPBR", - "start": 9497, - "end": 9508, + "start": 12626, + "end": 12627, "loc": { "start": { - "line": 295, - "column": 12 + "line": 359, + "column": 30 }, "end": { - "line": 295, - "column": 23 + "line": 359, + "column": 31 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9508, - "end": 9509, + "value": "metallic", + "start": 12627, + "end": 12635, "loc": { "start": { - "line": 295, - "column": 23 + "line": 359, + "column": 31 }, "end": { - "line": 295, - "column": 24 + "line": 359, + "column": 39 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "metallicRoughnessTexture", - "start": 9509, - "end": 9533, + "value": "=", + "start": 12636, + "end": 12637, "loc": { "start": { - "line": 295, - "column": 24 + "line": 359, + "column": 40 }, "end": { - "line": 295, - "column": 48 + "line": 359, + "column": 41 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -72312,49 +90480,51 @@ "postfix": false, "binop": null }, - "start": 9533, - "end": 9534, + "value": "metallicFactor", + "start": 12638, + "end": 12652, "loc": { "start": { - "line": 295, - "column": 48 + "line": 359, + "column": 42 }, "end": { - "line": 295, - "column": 49 + "line": 359, + "column": 56 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9535, - "end": 9536, + "start": 12652, + "end": 12653, "loc": { "start": { - "line": 295, - "column": 50 + "line": 359, + "column": 56 }, "end": { - "line": 295, - "column": 51 + "line": 359, + "column": 57 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -72362,23 +90532,23 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 9549, - "end": 9562, + "start": 12662, + "end": 12663, "loc": { "start": { - "line": 296, - "column": 12 + "line": 360, + "column": 8 }, "end": { - "line": 296, - "column": 25 + "line": 360, + "column": 9 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -72389,16 +90559,17 @@ "binop": null, "updateContext": null }, - "start": 9562, - "end": 9563, + "value": "const", + "start": 12672, + "end": 12677, "loc": { "start": { - "line": 296, - "column": 25 + "line": 361, + "column": 8 }, "end": { - "line": 296, - "column": 26 + "line": 361, + "column": 13 } } }, @@ -72414,17 +90585,17 @@ "postfix": false, "binop": null }, - "value": "metallicRoughnessTextureId", - "start": 9563, - "end": 9589, + "value": "roughnessFactor", + "start": 12678, + "end": 12693, "loc": { "start": { - "line": 296, - "column": 26 + "line": 361, + "column": 14 }, "end": { - "line": 296, - "column": 52 + "line": 361, + "column": 29 } } }, @@ -72442,16 +90613,16 @@ "updateContext": null }, "value": "=", - "start": 9590, - "end": 9591, + "start": 12694, + "end": 12695, "loc": { "start": { - "line": 296, - "column": 53 + "line": 361, + "column": 30 }, "end": { - "line": 296, - "column": 54 + "line": 361, + "column": 31 } } }, @@ -72468,16 +90639,16 @@ "binop": null }, "value": "metallicPBR", - "start": 9592, - "end": 9603, + "start": 12696, + "end": 12707, "loc": { "start": { - "line": 296, - "column": 55 + "line": 361, + "column": 32 }, "end": { - "line": 296, - "column": 66 + "line": 361, + "column": 43 } } }, @@ -72494,16 +90665,16 @@ "binop": null, "updateContext": null }, - "start": 9603, - "end": 9604, + "start": 12707, + "end": 12708, "loc": { "start": { - "line": 296, - "column": 66 + "line": 361, + "column": 43 }, "end": { - "line": 296, - "column": 67 + "line": 361, + "column": 44 } } }, @@ -72519,24 +90690,24 @@ "postfix": false, "binop": null }, - "value": "metallicRoughnessTexture", - "start": 9604, - "end": 9628, + "value": "roughnessFactor", + "start": 12708, + "end": 12723, "loc": { "start": { - "line": 296, - "column": 67 + "line": 361, + "column": 44 }, "end": { - "line": 296, - "column": 91 + "line": 361, + "column": 59 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -72546,68 +90717,69 @@ "binop": null, "updateContext": null }, - "start": 9628, - "end": 9629, + "start": 12723, + "end": 12724, "loc": { "start": { - "line": 296, - "column": 91 + "line": 361, + "column": 59 }, "end": { - "line": 296, - "column": 92 + "line": 361, + "column": 60 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "texture", - "start": 9629, - "end": 9636, + "value": "if", + "start": 12733, + "end": 12735, "loc": { "start": { - "line": 296, - "column": 92 + "line": 362, + "column": 8 }, "end": { - "line": 296, - "column": 99 + "line": 362, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9636, - "end": 9637, + "start": 12736, + "end": 12737, "loc": { "start": { - "line": 296, - "column": 99 + "line": 362, + "column": 11 }, "end": { - "line": 296, - "column": 100 + "line": 362, + "column": 12 } } }, @@ -72623,23 +90795,23 @@ "postfix": false, "binop": null }, - "value": "_textureId", - "start": 9637, - "end": 9647, + "value": "roughnessFactor", + "start": 12737, + "end": 12752, "loc": { "start": { - "line": 296, - "column": 100 + "line": 362, + "column": 12 }, "end": { - "line": 296, - "column": 110 + "line": 362, + "column": 27 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -72647,97 +90819,75 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 9647, - "end": 9648, - "loc": { - "start": { - "line": 296, - "column": 110 - }, - "end": { - "line": 296, - "column": 111 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9657, - "end": 9658, + "value": "!==", + "start": 12753, + "end": 12756, "loc": { "start": { - "line": 297, - "column": 8 + "line": 362, + "column": 28 }, "end": { - "line": 297, - "column": 9 + "line": 362, + "column": 31 } } }, { "type": { - "label": "}", + "label": "null", + "keyword": "null", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9663, - "end": 9664, + "value": "null", + "start": 12757, + "end": 12761, "loc": { "start": { - "line": 298, - "column": 4 + "line": 362, + "column": 32 }, "end": { - "line": 298, - "column": 5 + "line": 362, + "column": 36 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "&&", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "value": "const", - "start": 9669, - "end": 9674, + "value": "&&", + "start": 12762, + "end": 12764, "loc": { "start": { - "line": 299, - "column": 4 + "line": 362, + "column": 37 }, "end": { - "line": 299, - "column": 9 + "line": 362, + "column": 39 } } }, @@ -72753,44 +90903,44 @@ "postfix": false, "binop": null }, - "value": "extensions", - "start": 9675, - "end": 9685, + "value": "roughnessFactor", + "start": 12765, + "end": 12780, "loc": { "start": { - "line": 299, - "column": 10 + "line": 362, + "column": 40 }, "end": { - "line": 299, - "column": 20 + "line": 362, + "column": 55 } } }, { "type": { - "label": "=", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "=", - "start": 9686, - "end": 9687, + "value": "!==", + "start": 12781, + "end": 12784, "loc": { "start": { - "line": 299, - "column": 21 + "line": 362, + "column": 56 }, "end": { - "line": 299, - "column": 22 + "line": 362, + "column": 59 } } }, @@ -72806,23 +90956,23 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 9688, - "end": 9696, + "value": "undefined", + "start": 12785, + "end": 12794, "loc": { "start": { - "line": 299, - "column": 23 + "line": 362, + "column": 60 }, "end": { - "line": 299, - "column": 31 + "line": 362, + "column": 69 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -72830,26 +90980,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9696, - "end": 9697, + "start": 12794, + "end": 12795, "loc": { "start": { - "line": 299, - "column": 31 + "line": 362, + "column": 69 }, "end": { - "line": 299, - "column": 32 + "line": 362, + "column": 70 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -72858,50 +91007,48 @@ "postfix": false, "binop": null }, - "value": "extensions", - "start": 9697, - "end": 9707, + "start": 12796, + "end": 12797, "loc": { "start": { - "line": 299, - "column": 32 + "line": 362, + "column": 71 }, "end": { - "line": 299, - "column": 42 + "line": 362, + "column": 72 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9707, - "end": 9708, + "value": "materialAttributes", + "start": 12810, + "end": 12828, "loc": { "start": { - "line": 299, - "column": 42 + "line": 363, + "column": 12 }, "end": { - "line": 299, - "column": 43 + "line": 363, + "column": 30 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -72912,24 +91059,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 9713, - "end": 9715, + "start": 12828, + "end": 12829, "loc": { "start": { - "line": 300, - "column": 4 + "line": 363, + "column": 30 }, "end": { - "line": 300, - "column": 6 + "line": 363, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -72938,50 +91084,52 @@ "postfix": false, "binop": null }, - "start": 9716, - "end": 9717, + "value": "roughness", + "start": 12829, + "end": 12838, "loc": { "start": { - "line": 300, - "column": 7 + "line": 363, + "column": 31 }, "end": { - "line": 300, - "column": 8 + "line": 363, + "column": 40 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "extensions", - "start": 9717, - "end": 9727, + "value": "=", + "start": 12839, + "end": 12840, "loc": { "start": { - "line": 300, - "column": 8 + "line": 363, + "column": 41 }, "end": { - "line": 300, - "column": 18 + "line": 363, + "column": 42 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -72989,48 +91137,49 @@ "postfix": false, "binop": null }, - "start": 9727, - "end": 9728, + "value": "roughnessFactor", + "start": 12841, + "end": 12856, "loc": { "start": { - "line": 300, - "column": 18 + "line": 363, + "column": 43 }, "end": { - "line": 300, - "column": 19 + "line": 363, + "column": 58 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9729, - "end": 9730, + "start": 12856, + "end": 12857, "loc": { "start": { - "line": 300, - "column": 20 + "line": 363, + "column": 58 }, "end": { - "line": 300, - "column": 21 + "line": 363, + "column": 59 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -73038,28 +91187,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 9739, - "end": 9744, + "start": 12866, + "end": 12867, "loc": { "start": { - "line": 301, + "line": 364, "column": 8 }, "end": { - "line": 301, - "column": 13 + "line": 364, + "column": 9 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73067,44 +91214,44 @@ "postfix": false, "binop": null }, - "value": "specularPBR", - "start": 9745, - "end": 9756, + "start": 12872, + "end": 12873, "loc": { "start": { - "line": 301, - "column": 14 + "line": 365, + "column": 4 }, "end": { - "line": 301, - "column": 25 + "line": 365, + "column": 5 } } }, { "type": { - "label": "=", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 9757, - "end": 9758, + "value": "return", + "start": 12878, + "end": 12884, "loc": { "start": { - "line": 301, - "column": 26 + "line": 366, + "column": 4 }, "end": { - "line": 301, - "column": 27 + "line": 366, + "column": 10 } } }, @@ -73120,51 +91267,25 @@ "postfix": false, "binop": null }, - "value": "extensions", - "start": 9759, - "end": 9769, + "value": "materialAttributes", + "start": 12885, + "end": 12903, "loc": { "start": { - "line": 301, - "column": 28 + "line": 366, + "column": 11 }, "end": { - "line": 301, - "column": 38 + "line": 366, + "column": 29 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9769, - "end": 9770, - "loc": { - "start": { - "line": 301, - "column": 38 - }, - "end": { - "line": 301, - "column": 39 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -73173,23 +91294,22 @@ "binop": null, "updateContext": null }, - "value": "KHR_materials_pbrSpecularGlossiness", - "start": 9770, - "end": 9807, + "start": 12903, + "end": 12904, "loc": { "start": { - "line": 301, - "column": 39 + "line": 366, + "column": 29 }, "end": { - "line": 301, - "column": 76 + "line": 366, + "column": 30 } } }, { "type": { - "label": "]", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -73197,73 +91317,71 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9807, - "end": 9808, + "start": 12905, + "end": 12906, "loc": { "start": { - "line": 301, - "column": 76 + "line": 367, + "column": 0 }, "end": { - "line": 301, - "column": 77 + "line": 367, + "column": 1 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 9808, - "end": 9809, + "value": "function", + "start": 12908, + "end": 12916, "loc": { "start": { - "line": 301, - "column": 77 + "line": 369, + "column": 0 }, "end": { - "line": 301, - "column": 78 + "line": 369, + "column": 8 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 9818, - "end": 9820, + "value": "parseDefaultScene", + "start": 12917, + "end": 12934, "loc": { "start": { - "line": 302, - "column": 8 + "line": 369, + "column": 9 }, "end": { - "line": 302, - "column": 10 + "line": 369, + "column": 26 } } }, @@ -73279,16 +91397,16 @@ "postfix": false, "binop": null }, - "start": 9821, - "end": 9822, + "start": 12934, + "end": 12935, "loc": { "start": { - "line": 302, - "column": 11 + "line": 369, + "column": 26 }, "end": { - "line": 302, - "column": 12 + "line": 369, + "column": 27 } } }, @@ -73304,17 +91422,17 @@ "postfix": false, "binop": null }, - "value": "specularPBR", - "start": 9822, - "end": 9833, + "value": "ctx", + "start": 12935, + "end": 12938, "loc": { "start": { - "line": 302, - "column": 12 + "line": 369, + "column": 27 }, "end": { - "line": 302, - "column": 23 + "line": 369, + "column": 30 } } }, @@ -73330,16 +91448,16 @@ "postfix": false, "binop": null }, - "start": 9833, - "end": 9834, + "start": 12938, + "end": 12939, "loc": { "start": { - "line": 302, - "column": 23 + "line": 369, + "column": 30 }, "end": { - "line": 302, - "column": 24 + "line": 369, + "column": 31 } } }, @@ -73355,16 +91473,16 @@ "postfix": false, "binop": null }, - "start": 9835, - "end": 9836, + "start": 12940, + "end": 12941, "loc": { "start": { - "line": 302, - "column": 25 + "line": 369, + "column": 32 }, "end": { - "line": 302, - "column": 26 + "line": 369, + "column": 33 } } }, @@ -73383,16 +91501,16 @@ "updateContext": null }, "value": "const", - "start": 9849, - "end": 9854, + "start": 12946, + "end": 12951, "loc": { "start": { - "line": 303, - "column": 12 + "line": 370, + "column": 4 }, "end": { - "line": 303, - "column": 17 + "line": 370, + "column": 9 } } }, @@ -73408,17 +91526,17 @@ "postfix": false, "binop": null }, - "value": "specularTexture", - "start": 9855, - "end": 9870, + "value": "gltfData", + "start": 12952, + "end": 12960, "loc": { "start": { - "line": 303, - "column": 18 + "line": 370, + "column": 10 }, "end": { - "line": 303, - "column": 33 + "line": 370, + "column": 18 } } }, @@ -73436,16 +91554,16 @@ "updateContext": null }, "value": "=", - "start": 9871, - "end": 9872, + "start": 12961, + "end": 12962, "loc": { "start": { - "line": 303, - "column": 34 + "line": 370, + "column": 19 }, "end": { - "line": 303, - "column": 35 + "line": 370, + "column": 20 } } }, @@ -73461,17 +91579,17 @@ "postfix": false, "binop": null }, - "value": "specularPBR", - "start": 9873, - "end": 9884, + "value": "ctx", + "start": 12963, + "end": 12966, "loc": { "start": { - "line": 303, - "column": 36 + "line": 370, + "column": 21 }, "end": { - "line": 303, - "column": 47 + "line": 370, + "column": 24 } } }, @@ -73488,16 +91606,16 @@ "binop": null, "updateContext": null }, - "start": 9884, - "end": 9885, + "start": 12966, + "end": 12967, "loc": { "start": { - "line": 303, - "column": 47 + "line": 370, + "column": 24 }, "end": { - "line": 303, - "column": 48 + "line": 370, + "column": 25 } } }, @@ -73513,17 +91631,17 @@ "postfix": false, "binop": null }, - "value": "specularTexture", - "start": 9885, - "end": 9900, + "value": "gltfData", + "start": 12967, + "end": 12975, "loc": { "start": { - "line": 303, - "column": 48 + "line": 370, + "column": 25 }, "end": { - "line": 303, - "column": 63 + "line": 370, + "column": 33 } } }, @@ -73540,23 +91658,23 @@ "binop": null, "updateContext": null }, - "start": 9900, - "end": 9901, + "start": 12975, + "end": 12976, "loc": { "start": { - "line": 303, - "column": 63 + "line": 370, + "column": 33 }, "end": { - "line": 303, - "column": 64 + "line": 370, + "column": 34 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -73567,42 +91685,17 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 9914, - "end": 9916, - "loc": { - "start": { - "line": 304, - "column": 12 - }, - "end": { - "line": 304, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9917, - "end": 9918, + "value": "const", + "start": 12981, + "end": 12986, "loc": { "start": { - "line": 304, - "column": 15 + "line": 371, + "column": 4 }, "end": { - "line": 304, - "column": 16 + "line": 371, + "column": 9 } } }, @@ -73618,51 +91711,50 @@ "postfix": false, "binop": null }, - "value": "specularTexture", - "start": 9918, - "end": 9933, + "value": "scene", + "start": 12987, + "end": 12992, "loc": { "start": { - "line": 304, - "column": 16 + "line": 371, + "column": 10 }, "end": { - "line": 304, - "column": 31 + "line": 371, + "column": 15 } } }, { "type": { - "label": "==/!=", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 9934, - "end": 9937, + "value": "=", + "start": 12993, + "end": 12994, "loc": { "start": { - "line": 304, - "column": 32 + "line": 371, + "column": 16 }, "end": { - "line": 304, - "column": 35 + "line": 371, + "column": 17 } } }, { "type": { - "label": "null", - "keyword": "null", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -73670,47 +91762,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "null", - "start": 9938, - "end": 9942, + "value": "gltfData", + "start": 12995, + "end": 13003, "loc": { "start": { - "line": 304, - "column": 36 + "line": 371, + "column": 18 }, "end": { - "line": 304, - "column": 40 + "line": 371, + "column": 26 } } }, { "type": { - "label": "&&", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 9943, - "end": 9945, + "start": 13003, + "end": 13004, "loc": { "start": { - "line": 304, - "column": 41 + "line": 371, + "column": 26 }, "end": { - "line": 304, - "column": 43 + "line": 371, + "column": 27 } } }, @@ -73726,23 +91816,23 @@ "postfix": false, "binop": null }, - "value": "specularTexture", - "start": 9946, - "end": 9961, + "value": "scene", + "start": 13004, + "end": 13009, "loc": { "start": { - "line": 304, - "column": 44 + "line": 371, + "column": 27 }, "end": { - "line": 304, - "column": 59 + "line": 371, + "column": 32 } } }, { "type": { - "label": "==/!=", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -73750,20 +91840,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": 1, "updateContext": null }, - "value": "!==", - "start": 9962, - "end": 9965, + "value": "||", + "start": 13010, + "end": 13012, "loc": { "start": { - "line": 304, - "column": 60 + "line": 371, + "column": 33 }, "end": { - "line": 304, - "column": 63 + "line": 371, + "column": 35 } } }, @@ -73779,23 +91869,23 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 9966, - "end": 9975, + "value": "gltfData", + "start": 13013, + "end": 13021, "loc": { "start": { - "line": 304, - "column": 64 + "line": 371, + "column": 36 }, "end": { - "line": 304, - "column": 73 + "line": 371, + "column": 44 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -73803,25 +91893,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 9975, - "end": 9976, + "start": 13021, + "end": 13022, "loc": { "start": { - "line": 304, - "column": 73 + "line": 371, + "column": 44 }, "end": { - "line": 304, - "column": 74 + "line": 371, + "column": 45 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -73830,64 +91921,76 @@ "postfix": false, "binop": null }, - "start": 9977, - "end": 9978, + "value": "scenes", + "start": 13022, + "end": 13028, "loc": { "start": { - "line": 304, - "column": 75 + "line": 371, + "column": 45 }, "end": { - "line": 304, - "column": 76 + "line": 371, + "column": 51 } } }, { - "type": "CommentLine", - "value": " textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;", - "start": 9995, - "end": 10091, + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13028, + "end": 13029, "loc": { "start": { - "line": 305, - "column": 16 + "line": 371, + "column": 51 }, "end": { - "line": 305, - "column": 112 + "line": 371, + "column": 52 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10104, - "end": 10105, + "value": 0, + "start": 13029, + "end": 13030, "loc": { "start": { - "line": 306, - "column": 12 + "line": 371, + "column": 52 }, "end": { - "line": 306, - "column": 13 + "line": 371, + "column": 53 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -73898,77 +92001,77 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 10118, - "end": 10123, + "start": 13030, + "end": 13031, "loc": { "start": { - "line": 307, - "column": 12 + "line": 371, + "column": 53 }, "end": { - "line": 307, - "column": 17 + "line": 371, + "column": 54 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "specularColorTexture", - "start": 10124, - "end": 10144, + "start": 13031, + "end": 13032, "loc": { "start": { - "line": 307, - "column": 18 + "line": 371, + "column": 54 }, "end": { - "line": 307, - "column": 38 + "line": 371, + "column": 55 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 10145, - "end": 10146, + "value": "if", + "start": 13037, + "end": 13039, "loc": { "start": { - "line": 307, - "column": 39 + "line": 372, + "column": 4 }, "end": { - "line": 307, - "column": 40 + "line": 372, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -73977,43 +92080,43 @@ "postfix": false, "binop": null }, - "value": "specularPBR", - "start": 10147, - "end": 10158, + "start": 13040, + "end": 13041, "loc": { "start": { - "line": 307, - "column": 41 + "line": 372, + "column": 7 }, "end": { - "line": 307, - "column": 52 + "line": 372, + "column": 8 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 10158, - "end": 10159, + "value": "!", + "start": 13041, + "end": 13042, "loc": { "start": { - "line": 307, - "column": 52 + "line": 372, + "column": 8 }, "end": { - "line": 307, - "column": 53 + "line": 372, + "column": 9 } } }, @@ -74029,78 +92132,74 @@ "postfix": false, "binop": null }, - "value": "specularColorTexture", - "start": 10159, - "end": 10179, + "value": "scene", + "start": 13042, + "end": 13047, "loc": { "start": { - "line": 307, - "column": 53 + "line": 372, + "column": 9 }, "end": { - "line": 307, - "column": 73 + "line": 372, + "column": 14 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10179, - "end": 10180, + "start": 13047, + "end": 13048, "loc": { "start": { - "line": 307, - "column": 73 + "line": 372, + "column": 14 }, "end": { - "line": 307, - "column": 74 + "line": 372, + "column": 15 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 10193, - "end": 10195, + "start": 13049, + "end": 13050, "loc": { "start": { - "line": 308, - "column": 12 + "line": 372, + "column": 16 }, "end": { - "line": 308, - "column": 14 + "line": 372, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -74109,132 +92208,129 @@ "postfix": false, "binop": null }, - "start": 10196, - "end": 10197, + "value": "ctx", + "start": 13059, + "end": 13062, "loc": { "start": { - "line": 308, - "column": 15 + "line": 373, + "column": 8 }, "end": { - "line": 308, - "column": 16 + "line": 373, + "column": 11 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "specularColorTexture", - "start": 10197, - "end": 10217, + "start": 13062, + "end": 13063, "loc": { "start": { - "line": 308, - "column": 16 + "line": 373, + "column": 11 }, "end": { - "line": 308, - "column": 36 + "line": 373, + "column": 12 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "!==", - "start": 10218, - "end": 10221, + "value": "error", + "start": 13063, + "end": 13068, "loc": { "start": { - "line": 308, - "column": 37 + "line": 373, + "column": 12 }, "end": { - "line": 308, - "column": 40 + "line": 373, + "column": 17 } } }, { "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "null", - "start": 10222, - "end": 10226, + "start": 13068, + "end": 13069, "loc": { "start": { - "line": 308, - "column": 41 + "line": 373, + "column": 17 }, "end": { - "line": 308, - "column": 45 + "line": 373, + "column": 18 } } }, { "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 10227, - "end": 10229, + "value": "glTF has no default scene", + "start": 13069, + "end": 13096, "loc": { "start": { - "line": 308, - "column": 46 + "line": 373, + "column": 18 }, "end": { - "line": 308, - "column": 48 + "line": 373, + "column": 45 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -74242,23 +92338,22 @@ "postfix": false, "binop": null }, - "value": "specularColorTexture", - "start": 10230, - "end": 10250, + "start": 13096, + "end": 13097, "loc": { "start": { - "line": 308, - "column": 49 + "line": 373, + "column": 45 }, "end": { - "line": 308, - "column": 69 + "line": 373, + "column": 46 } } }, { "type": { - "label": "==/!=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -74266,79 +92361,81 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 10251, - "end": 10254, + "start": 13097, + "end": 13098, "loc": { "start": { - "line": 308, - "column": 70 + "line": 373, + "column": 46 }, "end": { - "line": 308, - "column": 73 + "line": 373, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "undefined", - "start": 10255, - "end": 10264, + "value": "return", + "start": 13107, + "end": 13113, "loc": { "start": { - "line": 308, - "column": 74 + "line": 374, + "column": 8 }, "end": { - "line": 308, - "column": 83 + "line": 374, + "column": 14 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10264, - "end": 10265, + "start": 13113, + "end": 13114, "loc": { "start": { - "line": 308, - "column": 83 + "line": 374, + "column": 14 }, "end": { - "line": 308, - "column": 84 + "line": 374, + "column": 15 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -74346,16 +92443,16 @@ "postfix": false, "binop": null }, - "start": 10266, - "end": 10267, + "start": 13119, + "end": 13120, "loc": { "start": { - "line": 308, - "column": 85 + "line": 375, + "column": 4 }, "end": { - "line": 308, - "column": 86 + "line": 375, + "column": 5 } } }, @@ -74371,43 +92468,42 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 10284, - "end": 10297, + "value": "parseScene", + "start": 13125, + "end": 13135, "loc": { "start": { - "line": 309, - "column": 16 + "line": 376, + "column": 4 }, "end": { - "line": 309, - "column": 29 + "line": 376, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10297, - "end": 10298, + "start": 13135, + "end": 13136, "loc": { "start": { - "line": 309, - "column": 29 + "line": 376, + "column": 14 }, "end": { - "line": 309, - "column": 30 + "line": 376, + "column": 15 } } }, @@ -74423,44 +92519,43 @@ "postfix": false, "binop": null }, - "value": "colorTextureId", - "start": 10298, - "end": 10312, + "value": "ctx", + "start": 13136, + "end": 13139, "loc": { "start": { - "line": 309, - "column": 30 + "line": 376, + "column": 15 }, "end": { - "line": 309, - "column": 44 + "line": 376, + "column": 18 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 10313, - "end": 10314, + "start": 13139, + "end": 13140, "loc": { "start": { - "line": 309, - "column": 45 + "line": 376, + "column": 18 }, "end": { - "line": 309, - "column": 46 + "line": 376, + "column": 19 } } }, @@ -74476,23 +92571,23 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 10315, - "end": 10318, + "value": "scene", + "start": 13141, + "end": 13146, "loc": { "start": { - "line": 309, - "column": 47 + "line": 376, + "column": 20 }, "end": { - "line": 309, - "column": 50 + "line": 376, + "column": 25 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -74500,51 +92595,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10318, - "end": 10319, + "start": 13146, + "end": 13147, "loc": { "start": { - "line": 309, - "column": 50 + "line": 376, + "column": 25 }, "end": { - "line": 309, - "column": 51 + "line": 376, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "gltfData", - "start": 10319, - "end": 10327, + "start": 13147, + "end": 13148, "loc": { "start": { - "line": 309, - "column": 51 + "line": 376, + "column": 26 }, "end": { - "line": 309, - "column": 59 + "line": 376, + "column": 27 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -74552,25 +92646,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10327, - "end": 10328, + "start": 13149, + "end": 13150, "loc": { "start": { - "line": 309, - "column": 59 + "line": 377, + "column": 0 }, "end": { - "line": 309, - "column": 60 + "line": 377, + "column": 1 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -74580,50 +92674,50 @@ "postfix": false, "binop": null }, - "value": "textures", - "start": 10328, - "end": 10336, + "value": "function", + "start": 13152, + "end": 13160, "loc": { "start": { - "line": 309, - "column": 60 + "line": 379, + "column": 0 }, "end": { - "line": 309, - "column": 68 + "line": 379, + "column": 8 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10336, - "end": 10337, + "value": "parseScene", + "start": 13161, + "end": 13171, "loc": { "start": { - "line": 309, - "column": 68 + "line": 379, + "column": 9 }, "end": { - "line": 309, - "column": 69 + "line": 379, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -74632,101 +92726,100 @@ "postfix": false, "binop": null }, - "value": "specularColorTexture", - "start": 10337, - "end": 10357, + "start": 13171, + "end": 13172, "loc": { "start": { - "line": 309, - "column": 69 + "line": 379, + "column": 19 }, "end": { - "line": 309, - "column": 89 + "line": 379, + "column": 20 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10357, - "end": 10358, + "value": "ctx", + "start": 13172, + "end": 13175, "loc": { "start": { - "line": 309, - "column": 89 + "line": 379, + "column": 20 }, "end": { - "line": 309, - "column": 90 + "line": 379, + "column": 23 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "index", - "start": 10358, - "end": 10363, + "start": 13175, + "end": 13176, "loc": { "start": { - "line": 309, - "column": 90 + "line": 379, + "column": 23 }, "end": { - "line": 309, - "column": 95 + "line": 379, + "column": 24 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10363, - "end": 10364, + "value": "scene", + "start": 13177, + "end": 13182, "loc": { "start": { - "line": 309, - "column": 95 + "line": 379, + "column": 25 }, "end": { - "line": 309, - "column": 96 + "line": 379, + "column": 30 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -74734,26 +92827,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10364, - "end": 10365, + "start": 13182, + "end": 13183, "loc": { "start": { - "line": 309, - "column": 96 + "line": 379, + "column": 30 }, "end": { - "line": 309, - "column": 97 + "line": 379, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -74762,24 +92854,24 @@ "postfix": false, "binop": null }, - "value": "_textureId", - "start": 10365, - "end": 10375, + "start": 13184, + "end": 13185, "loc": { "start": { - "line": 309, - "column": 97 + "line": 379, + "column": 32 }, "end": { - "line": 309, - "column": 107 + "line": 379, + "column": 33 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -74789,24 +92881,25 @@ "binop": null, "updateContext": null }, - "start": 10375, - "end": 10376, + "value": "const", + "start": 13190, + "end": 13195, "loc": { "start": { - "line": 309, - "column": 107 + "line": 380, + "column": 4 }, "end": { - "line": 309, - "column": 108 + "line": 380, + "column": 9 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -74814,49 +92907,52 @@ "postfix": false, "binop": null }, - "start": 10389, - "end": 10390, + "value": "nodes", + "start": 13196, + "end": 13201, "loc": { "start": { - "line": 310, - "column": 12 + "line": 380, + "column": 10 }, "end": { - "line": 310, - "column": 13 + "line": 380, + "column": 15 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10399, - "end": 10400, + "value": "=", + "start": 13202, + "end": 13203, "loc": { "start": { - "line": 311, - "column": 8 + "line": 380, + "column": 16 }, "end": { - "line": 311, - "column": 9 + "line": 380, + "column": 17 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -74864,23 +92960,23 @@ "postfix": false, "binop": null }, - "start": 10405, - "end": 10406, + "value": "scene", + "start": 13204, + "end": 13209, "loc": { "start": { - "line": 312, - "column": 4 + "line": 380, + "column": 18 }, "end": { - "line": 312, - "column": 5 + "line": 380, + "column": 23 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -74891,24 +92987,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 10411, - "end": 10413, + "start": 13209, + "end": 13210, "loc": { "start": { - "line": 313, - "column": 4 + "line": 380, + "column": 23 }, "end": { - "line": 313, - "column": 6 + "line": 380, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -74917,48 +93012,50 @@ "postfix": false, "binop": null }, - "start": 10414, - "end": 10415, + "value": "nodes", + "start": 13210, + "end": 13215, "loc": { "start": { - "line": 313, - "column": 7 + "line": 380, + "column": 24 }, "end": { - "line": 313, - "column": 8 + "line": 380, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "textureSetCfg", - "start": 10415, - "end": 10428, + "start": 13215, + "end": 13216, "loc": { "start": { - "line": 313, - "column": 8 + "line": 380, + "column": 29 }, "end": { - "line": 313, - "column": 21 + "line": 380, + "column": 30 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -74969,23 +93066,24 @@ "binop": null, "updateContext": null }, - "start": 10428, - "end": 10429, + "value": "if", + "start": 13221, + "end": 13223, "loc": { "start": { - "line": 313, - "column": 21 + "line": 381, + "column": 4 }, "end": { - "line": 313, - "column": 22 + "line": 381, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -74994,44 +93092,43 @@ "postfix": false, "binop": null }, - "value": "normalTextureId", - "start": 10429, - "end": 10444, + "start": 13224, + "end": 13225, "loc": { "start": { - "line": 313, - "column": 22 + "line": 381, + "column": 7 }, "end": { - "line": 313, - "column": 37 + "line": 381, + "column": 8 } } }, { "type": { - "label": "==/!=", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 10445, - "end": 10448, + "value": "!", + "start": 13225, + "end": 13226, "loc": { "start": { - "line": 313, - "column": 38 + "line": 381, + "column": 8 }, "end": { - "line": 313, - "column": 41 + "line": 381, + "column": 9 } } }, @@ -75047,51 +93144,49 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 10449, - "end": 10458, + "value": "nodes", + "start": 13226, + "end": 13231, "loc": { "start": { - "line": 313, - "column": 42 + "line": 381, + "column": 9 }, "end": { - "line": 313, - "column": 51 + "line": 381, + "column": 14 } } }, { "type": { - "label": "||", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 10459, - "end": 10461, + "start": 13231, + "end": 13232, "loc": { "start": { - "line": 313, - "column": 52 + "line": 381, + "column": 14 }, "end": { - "line": 313, - "column": 54 + "line": 381, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -75100,24 +93195,24 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 10470, - "end": 10483, + "start": 13233, + "end": 13234, "loc": { "start": { - "line": 314, - "column": 8 + "line": 381, + "column": 16 }, "end": { - "line": 314, - "column": 21 + "line": 381, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -75127,48 +93222,23 @@ "binop": null, "updateContext": null }, - "start": 10483, - "end": 10484, - "loc": { - "start": { - "line": 314, - "column": 21 - }, - "end": { - "line": 314, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "occlusionTextureId", - "start": 10484, - "end": 10502, + "value": "return", + "start": 13243, + "end": 13249, "loc": { "start": { - "line": 314, - "column": 22 + "line": 382, + "column": 8 }, "end": { - "line": 314, - "column": 40 + "line": 382, + "column": 14 } } }, { "type": { - "label": "==/!=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -75176,28 +93246,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 10503, - "end": 10506, + "start": 13249, + "end": 13250, "loc": { "start": { - "line": 314, - "column": 41 + "line": 382, + "column": 14 }, "end": { - "line": 314, - "column": 44 + "line": 382, + "column": 15 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -75205,51 +93274,51 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 10507, - "end": 10516, + "start": 13255, + "end": 13256, "loc": { "start": { - "line": 314, - "column": 45 + "line": 383, + "column": 4 }, - "end": { - "line": 314, - "column": 54 + "end": { + "line": 383, + "column": 5 } } }, { "type": { - "label": "||", - "beforeExpr": true, + "label": "for", + "keyword": "for", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 10517, - "end": 10519, + "value": "for", + "start": 13261, + "end": 13264, "loc": { "start": { - "line": 314, - "column": 55 + "line": 384, + "column": 4 }, "end": { - "line": 314, - "column": 57 + "line": 384, + "column": 7 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -75258,23 +93327,23 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 10528, - "end": 10541, + "start": 13265, + "end": 13266, "loc": { "start": { - "line": 315, + "line": 384, "column": 8 }, "end": { - "line": 315, - "column": 21 + "line": 384, + "column": 9 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -75285,16 +93354,17 @@ "binop": null, "updateContext": null }, - "start": 10541, - "end": 10542, + "value": "let", + "start": 13266, + "end": 13269, "loc": { "start": { - "line": 315, - "column": 21 + "line": 384, + "column": 9 }, "end": { - "line": 315, - "column": 22 + "line": 384, + "column": 12 } } }, @@ -75310,50 +93380,50 @@ "postfix": false, "binop": null }, - "value": "emissiveTextureId", - "start": 10542, - "end": 10559, + "value": "i", + "start": 13270, + "end": 13271, "loc": { "start": { - "line": 315, - "column": 22 + "line": 384, + "column": 13 }, "end": { - "line": 315, - "column": 39 + "line": 384, + "column": 14 } } }, { "type": { - "label": "==/!=", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 10560, - "end": 10563, + "value": "=", + "start": 13272, + "end": 13273, "loc": { "start": { - "line": 315, - "column": 40 + "line": 384, + "column": 15 }, "end": { - "line": 315, - "column": 43 + "line": 384, + "column": 16 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -75361,25 +93431,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "undefined", - "start": 10564, - "end": 10573, + "value": 0, + "start": 13274, + "end": 13275, "loc": { "start": { - "line": 315, - "column": 44 + "line": 384, + "column": 17 }, "end": { - "line": 315, - "column": 53 + "line": 384, + "column": 18 } } }, { "type": { - "label": "||", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -75387,20 +93458,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 10574, - "end": 10576, + "start": 13275, + "end": 13276, "loc": { "start": { - "line": 315, - "column": 54 + "line": 384, + "column": 18 }, "end": { - "line": 315, - "column": 56 + "line": 384, + "column": 19 } } }, @@ -75416,43 +93486,44 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 10585, - "end": 10598, + "value": "len", + "start": 13277, + "end": 13280, "loc": { "start": { - "line": 316, - "column": 8 + "line": 384, + "column": 20 }, "end": { - "line": 316, - "column": 21 + "line": 384, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 10598, - "end": 10599, + "value": "=", + "start": 13281, + "end": 13282, "loc": { "start": { - "line": 316, - "column": 21 + "line": 384, + "column": 24 }, "end": { - "line": 316, - "column": 22 + "line": 384, + "column": 25 } } }, @@ -75468,44 +93539,43 @@ "postfix": false, "binop": null }, - "value": "colorTextureId", - "start": 10599, - "end": 10613, + "value": "nodes", + "start": 13283, + "end": 13288, "loc": { "start": { - "line": 316, - "column": 22 + "line": 384, + "column": 26 }, "end": { - "line": 316, - "column": 36 + "line": 384, + "column": 31 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 10614, - "end": 10617, + "start": 13288, + "end": 13289, "loc": { "start": { - "line": 316, - "column": 37 + "line": 384, + "column": 31 }, "end": { - "line": 316, - "column": 40 + "line": 384, + "column": 32 } } }, @@ -75521,23 +93591,23 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 10618, - "end": 10627, + "value": "length", + "start": 13289, + "end": 13295, "loc": { "start": { - "line": 316, - "column": 41 + "line": 384, + "column": 32 }, "end": { - "line": 316, - "column": 50 + "line": 384, + "column": 38 } } }, { "type": { - "label": "||", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -75545,20 +93615,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 10628, - "end": 10630, + "start": 13295, + "end": 13296, "loc": { "start": { - "line": 316, - "column": 51 + "line": 384, + "column": 38 }, "end": { - "line": 316, - "column": 53 + "line": 384, + "column": 39 } } }, @@ -75574,43 +93643,44 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 10639, - "end": 10652, + "value": "i", + "start": 13297, + "end": 13298, "loc": { "start": { - "line": 317, - "column": 8 + "line": 384, + "column": 40 }, "end": { - "line": 317, - "column": 21 + "line": 384, + "column": 41 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 10652, - "end": 10653, + "value": "<", + "start": 13299, + "end": 13300, "loc": { "start": { - "line": 317, - "column": 21 + "line": 384, + "column": 42 }, "end": { - "line": 317, - "column": 22 + "line": 384, + "column": 43 } } }, @@ -75626,23 +93696,23 @@ "postfix": false, "binop": null }, - "value": "metallicRoughnessTextureId", - "start": 10653, - "end": 10679, + "value": "len", + "start": 13301, + "end": 13304, "loc": { "start": { - "line": 317, - "column": 22 + "line": 384, + "column": 44 }, "end": { - "line": 317, - "column": 48 + "line": 384, + "column": 47 } } }, { "type": { - "label": "==/!=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -75650,20 +93720,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 10680, - "end": 10683, + "start": 13304, + "end": 13305, "loc": { "start": { - "line": 317, - "column": 49 + "line": 384, + "column": 47 }, "end": { - "line": 317, - "column": 52 + "line": 384, + "column": 48 } } }, @@ -75679,50 +93748,51 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 10684, - "end": 10693, + "value": "i", + "start": 13306, + "end": 13307, "loc": { "start": { - "line": 317, - "column": 53 + "line": 384, + "column": 49 }, "end": { - "line": 317, - "column": 62 + "line": 384, + "column": 50 } } }, { "type": { - "label": ")", + "label": "++/--", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, + "prefix": true, + "postfix": true, "binop": null }, - "start": 10693, - "end": 10694, + "value": "++", + "start": 13307, + "end": 13309, "loc": { "start": { - "line": 317, - "column": 62 + "line": 384, + "column": 50 }, "end": { - "line": 317, - "column": 63 + "line": 384, + "column": 52 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -75730,23 +93800,23 @@ "postfix": false, "binop": null }, - "start": 10695, - "end": 10696, + "start": 13309, + "end": 13310, "loc": { "start": { - "line": 317, - "column": 64 + "line": 384, + "column": 52 }, "end": { - "line": 317, - "column": 65 + "line": 384, + "column": 53 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -75755,23 +93825,23 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 10705, - "end": 10718, + "start": 13311, + "end": 13312, "loc": { "start": { - "line": 318, - "column": 8 + "line": 384, + "column": 54 }, "end": { - "line": 318, - "column": 21 + "line": 384, + "column": 55 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -75782,16 +93852,17 @@ "binop": null, "updateContext": null }, - "start": 10718, - "end": 10719, + "value": "const", + "start": 13321, + "end": 13326, "loc": { "start": { - "line": 318, - "column": 21 + "line": 385, + "column": 8 }, "end": { - "line": 318, - "column": 22 + "line": 385, + "column": 13 } } }, @@ -75807,17 +93878,17 @@ "postfix": false, "binop": null }, - "value": "textureSetId", - "start": 10719, - "end": 10731, + "value": "node", + "start": 13327, + "end": 13331, "loc": { "start": { - "line": 318, - "column": 22 + "line": 385, + "column": 14 }, "end": { - "line": 318, - "column": 34 + "line": 385, + "column": 18 } } }, @@ -75835,22 +93906,22 @@ "updateContext": null }, "value": "=", - "start": 10732, - "end": 10733, + "start": 13332, + "end": 13333, "loc": { "start": { - "line": 318, - "column": 35 + "line": 385, + "column": 19 }, "end": { - "line": 318, - "column": 36 + "line": 385, + "column": 20 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -75860,24 +93931,25 @@ "postfix": false, "binop": null }, - "start": 10734, - "end": 10735, + "value": "nodes", + "start": 13334, + "end": 13339, "loc": { "start": { - "line": 318, - "column": 37 + "line": 385, + "column": 21 }, "end": { - "line": 318, - "column": 38 + "line": 385, + "column": 26 } } }, { "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -75886,24 +93958,23 @@ "binop": null, "updateContext": null }, - "value": "textureSet-", - "start": 10735, - "end": 10746, + "start": 13339, + "end": 13340, "loc": { "start": { - "line": 318, - "column": 38 + "line": 385, + "column": 26 }, "end": { - "line": 318, - "column": 49 + "line": 385, + "column": 27 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -75912,49 +93983,50 @@ "postfix": false, "binop": null }, - "start": 10746, - "end": 10748, + "value": "i", + "start": 13340, + "end": 13341, "loc": { "start": { - "line": 318, - "column": 49 + "line": 385, + "column": 27 }, "end": { - "line": 318, - "column": 51 + "line": 385, + "column": 28 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 10748, - "end": 10751, + "start": 13341, + "end": 13342, "loc": { "start": { - "line": 318, - "column": 51 + "line": 385, + "column": 28 }, "end": { - "line": 318, - "column": 54 + "line": 385, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -75964,16 +94036,16 @@ "binop": null, "updateContext": null }, - "start": 10751, - "end": 10752, + "start": 13342, + "end": 13343, "loc": { "start": { - "line": 318, - "column": 54 + "line": 385, + "column": 29 }, "end": { - "line": 318, - "column": 55 + "line": 385, + "column": 30 } } }, @@ -75989,51 +94061,50 @@ "postfix": false, "binop": null }, - "value": "nextId", - "start": 10752, - "end": 10758, + "value": "countMeshUsage", + "start": 13352, + "end": 13366, "loc": { "start": { - "line": 318, - "column": 55 + "line": 386, + "column": 8 }, "end": { - "line": 318, - "column": 61 + "line": 386, + "column": 22 } } }, { "type": { - "label": "++/--", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, + "prefix": false, + "postfix": false, "binop": null }, - "value": "++", - "start": 10758, - "end": 10760, + "start": 13366, + "end": 13367, "loc": { "start": { - "line": 318, - "column": 61 + "line": 386, + "column": 22 }, "end": { - "line": 318, - "column": 63 + "line": 386, + "column": 23 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -76041,23 +94112,24 @@ "postfix": false, "binop": null }, - "start": 10760, - "end": 10761, + "value": "ctx", + "start": 13367, + "end": 13370, "loc": { "start": { - "line": 318, - "column": 63 + "line": 386, + "column": 23 }, "end": { - "line": 318, - "column": 64 + "line": 386, + "column": 26 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -76067,23 +94139,22 @@ "binop": null, "updateContext": null }, - "value": ";", - "start": 10761, - "end": 10762, + "start": 13370, + "end": 13371, "loc": { "start": { - "line": 318, - "column": 64 + "line": 386, + "column": 26 }, "end": { - "line": 318, - "column": 65 + "line": 386, + "column": 27 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -76093,24 +94164,25 @@ "postfix": false, "binop": null }, - "start": 10762, - "end": 10763, + "value": "node", + "start": 13372, + "end": 13376, "loc": { "start": { - "line": 318, - "column": 65 + "line": 386, + "column": 28 }, "end": { - "line": 318, - "column": 66 + "line": 386, + "column": 32 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -76118,24 +94190,23 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 10772, - "end": 10775, + "start": 13376, + "end": 13377, "loc": { "start": { - "line": 319, - "column": 8 + "line": 386, + "column": 32 }, "end": { - "line": 319, - "column": 11 + "line": 386, + "column": 33 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -76145,24 +94216,24 @@ "binop": null, "updateContext": null }, - "start": 10775, - "end": 10776, + "start": 13377, + "end": 13378, "loc": { "start": { - "line": 319, - "column": 11 + "line": 386, + "column": 33 }, "end": { - "line": 319, - "column": 12 + "line": 386, + "column": 34 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -76170,69 +94241,44 @@ "postfix": false, "binop": null }, - "value": "xktModel", - "start": 10776, - "end": 10784, + "start": 13383, + "end": 13384, "loc": { "start": { - "line": 319, - "column": 12 + "line": 387, + "column": 4 }, "end": { - "line": 319, - "column": 20 + "line": 387, + "column": 5 } } }, { "type": { - "label": ".", + "label": "for", + "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 10784, - "end": 10785, - "loc": { - "start": { - "line": 319, - "column": 20 - }, - "end": { - "line": 319, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "createTextureSet", - "start": 10785, - "end": 10801, + "value": "for", + "start": 13389, + "end": 13392, "loc": { "start": { - "line": 319, - "column": 21 + "line": 388, + "column": 4 }, "end": { - "line": 319, - "column": 37 + "line": 388, + "column": 7 } } }, @@ -76248,50 +94294,52 @@ "postfix": false, "binop": null }, - "start": 10801, - "end": 10802, + "start": 13393, + "end": 13394, "loc": { "start": { - "line": 319, - "column": 37 + "line": 388, + "column": 8 }, "end": { - "line": 319, - "column": 38 + "line": 388, + "column": 9 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "textureSetCfg", - "start": 10802, - "end": 10815, + "value": "let", + "start": 13394, + "end": 13397, "loc": { "start": { - "line": 319, - "column": 38 + "line": 388, + "column": 9 }, "end": { - "line": 319, - "column": 51 + "line": 388, + "column": 12 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -76299,48 +94347,50 @@ "postfix": false, "binop": null }, - "start": 10815, - "end": 10816, + "value": "i", + "start": 13398, + "end": 13399, "loc": { "start": { - "line": 319, - "column": 51 + "line": 388, + "column": 13 }, "end": { - "line": 319, - "column": 52 + "line": 388, + "column": 14 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 10816, - "end": 10817, + "value": "=", + "start": 13400, + "end": 13401, "loc": { "start": { - "line": 319, - "column": 52 + "line": 388, + "column": 15 }, "end": { - "line": 319, - "column": 53 + "line": 388, + "column": 16 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -76348,26 +94398,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 10826, - "end": 10829, + "value": 0, + "start": 13402, + "end": 13403, "loc": { "start": { - "line": 320, - "column": 8 + "line": 388, + "column": 17 }, "end": { - "line": 320, - "column": 11 + "line": 388, + "column": 18 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -76377,16 +94428,16 @@ "binop": null, "updateContext": null }, - "start": 10829, - "end": 10830, + "start": 13403, + "end": 13404, "loc": { "start": { - "line": 320, - "column": 11 + "line": 388, + "column": 18 }, "end": { - "line": 320, - "column": 12 + "line": 388, + "column": 19 } } }, @@ -76402,43 +94453,44 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 10830, - "end": 10835, + "value": "len", + "start": 13405, + "end": 13408, "loc": { "start": { - "line": 320, - "column": 12 + "line": 388, + "column": 20 }, "end": { - "line": 320, - "column": 17 + "line": 388, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 10835, - "end": 10836, + "value": "=", + "start": 13409, + "end": 13410, "loc": { "start": { - "line": 320, - "column": 17 + "line": 388, + "column": 24 }, "end": { - "line": 320, - "column": 18 + "line": 388, + "column": 25 } } }, @@ -76454,76 +94506,75 @@ "postfix": false, "binop": null }, - "value": "numTextureSets", - "start": 10836, - "end": 10850, + "value": "nodes", + "start": 13411, + "end": 13416, "loc": { "start": { - "line": 320, - "column": 18 + "line": 388, + "column": 26 }, "end": { - "line": 320, - "column": 32 + "line": 388, + "column": 31 } } }, { "type": { - "label": "++/--", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "value": "++", - "start": 10850, - "end": 10852, + "start": 13416, + "end": 13417, "loc": { "start": { - "line": 320, - "column": 32 + "line": 388, + "column": 31 }, "end": { - "line": 320, - "column": 34 + "line": 388, + "column": 32 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10852, - "end": 10853, + "value": "length", + "start": 13417, + "end": 13423, "loc": { "start": { - "line": 320, - "column": 34 + "line": 388, + "column": 32 }, "end": { - "line": 320, - "column": 35 + "line": 388, + "column": 38 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -76534,17 +94585,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 10862, - "end": 10868, + "start": 13423, + "end": 13424, "loc": { "start": { - "line": 321, - "column": 8 + "line": 388, + "column": 38 }, "end": { - "line": 321, - "column": 14 + "line": 388, + "column": 39 } } }, @@ -76560,43 +94610,44 @@ "postfix": false, "binop": null }, - "value": "textureSetCfg", - "start": 10869, - "end": 10882, + "value": "i", + "start": 13425, + "end": 13426, "loc": { "start": { - "line": 321, - "column": 15 + "line": 388, + "column": 40 }, "end": { - "line": 321, - "column": 28 + "line": 388, + "column": 41 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 10882, - "end": 10883, + "value": "<", + "start": 13427, + "end": 13428, "loc": { "start": { - "line": 321, - "column": 28 + "line": 388, + "column": 42 }, "end": { - "line": 321, - "column": 29 + "line": 388, + "column": 43 } } }, @@ -76612,23 +94663,23 @@ "postfix": false, "binop": null }, - "value": "textureSetId", - "start": 10883, - "end": 10895, + "value": "len", + "start": 13429, + "end": 13432, "loc": { "start": { - "line": 321, - "column": 29 + "line": 388, + "column": 44 }, "end": { - "line": 321, - "column": 41 + "line": 388, + "column": 47 } } }, { "type": { - "label": ";", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -76636,81 +94687,81 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 10895, - "end": 10896, + "value": "&&", + "start": 13433, + "end": 13435, "loc": { "start": { - "line": 321, - "column": 41 + "line": 388, + "column": 48 }, "end": { - "line": 321, - "column": 42 + "line": 388, + "column": 50 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10901, - "end": 10902, + "value": "!", + "start": 13436, + "end": 13437, "loc": { "start": { - "line": 322, - "column": 4 + "line": 388, + "column": 51 }, "end": { - "line": 322, - "column": 5 + "line": 388, + "column": 52 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 10907, - "end": 10913, + "value": "ctx", + "start": 13437, + "end": 13440, "loc": { "start": { - "line": 323, - "column": 4 + "line": 388, + "column": 52 }, "end": { - "line": 323, - "column": 10 + "line": 388, + "column": 55 } } }, { "type": { - "label": "null", - "keyword": "null", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -76719,75 +94770,74 @@ "binop": null, "updateContext": null }, - "value": "null", - "start": 10914, - "end": 10918, + "start": 13440, + "end": 13441, "loc": { "start": { - "line": 323, - "column": 11 + "line": 388, + "column": 55 }, "end": { - "line": 323, - "column": 15 + "line": 388, + "column": 56 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 10918, - "end": 10919, + "value": "nodesHaveNames", + "start": 13441, + "end": 13455, "loc": { "start": { - "line": 323, - "column": 15 + "line": 388, + "column": 56 }, "end": { - "line": 323, - "column": 16 + "line": 388, + "column": 70 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10920, - "end": 10921, + "start": 13455, + "end": 13456, "loc": { "start": { - "line": 324, - "column": 0 + "line": 388, + "column": 70 }, "end": { - "line": 324, - "column": 1 + "line": 388, + "column": 71 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -76797,51 +94847,51 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 10923, - "end": 10931, + "value": "i", + "start": 13457, + "end": 13458, "loc": { "start": { - "line": 326, - "column": 0 + "line": 388, + "column": 72 }, "end": { - "line": 326, - "column": 8 + "line": 388, + "column": 73 } } }, { "type": { - "label": "name", + "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, + "prefix": true, + "postfix": true, "binop": null }, - "value": "parseMaterialAttributes", - "start": 10932, - "end": 10955, + "value": "++", + "start": 13458, + "end": 13460, "loc": { "start": { - "line": 326, - "column": 9 + "line": 388, + "column": 73 }, "end": { - "line": 326, - "column": 32 + "line": 388, + "column": 75 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -76849,23 +94899,23 @@ "postfix": false, "binop": null }, - "start": 10955, - "end": 10956, + "start": 13460, + "end": 13461, "loc": { "start": { - "line": 326, - "column": 32 + "line": 388, + "column": 75 }, "end": { - "line": 326, - "column": 33 + "line": 388, + "column": 76 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -76874,24 +94924,24 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 10956, - "end": 10959, + "start": 13462, + "end": 13463, "loc": { "start": { - "line": 326, - "column": 33 + "line": 388, + "column": 77 }, "end": { - "line": 326, - "column": 36 + "line": 388, + "column": 78 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -76901,16 +94951,17 @@ "binop": null, "updateContext": null }, - "start": 10959, - "end": 10960, + "value": "const", + "start": 13472, + "end": 13477, "loc": { "start": { - "line": 326, - "column": 36 + "line": 389, + "column": 8 }, "end": { - "line": 326, - "column": 37 + "line": 389, + "column": 13 } } }, @@ -76926,49 +94977,51 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 10961, - "end": 10969, + "value": "node", + "start": 13478, + "end": 13482, "loc": { "start": { - "line": 326, - "column": 38 + "line": 389, + "column": 14 }, "end": { - "line": 326, - "column": 46 + "line": 389, + "column": 18 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 10969, - "end": 10970, + "value": "=", + "start": 13483, + "end": 13484, "loc": { "start": { - "line": 326, - "column": 46 + "line": 389, + "column": 19 }, "end": { - "line": 326, - "column": 47 + "line": 389, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -76977,41 +95030,25 @@ "postfix": false, "binop": null }, - "start": 10971, - "end": 10972, - "loc": { - "start": { - "line": 326, - "column": 48 - }, - "end": { - "line": 326, - "column": 49 - } - } - }, - { - "type": "CommentLine", - "value": " Substitute RGBA for material, to use fast flat shading instead", - "start": 10973, - "end": 11038, + "value": "nodes", + "start": 13485, + "end": 13490, "loc": { "start": { - "line": 326, - "column": 50 + "line": 389, + "column": 21 }, "end": { - "line": 326, - "column": 115 + "line": 389, + "column": 26 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -77020,17 +95057,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 11043, - "end": 11048, + "start": 13490, + "end": 13491, "loc": { "start": { - "line": 327, - "column": 4 + "line": 389, + "column": 26 }, "end": { - "line": 327, - "column": 9 + "line": 389, + "column": 27 } } }, @@ -77046,76 +95082,76 @@ "postfix": false, "binop": null }, - "value": "extensions", - "start": 11049, - "end": 11059, + "value": "i", + "start": 13491, + "end": 13492, "loc": { "start": { - "line": 327, - "column": 10 + "line": 389, + "column": 27 }, "end": { - "line": 327, - "column": 20 + "line": 389, + "column": 28 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 11060, - "end": 11061, + "start": 13492, + "end": 13493, "loc": { "start": { - "line": 327, - "column": 21 + "line": 389, + "column": 28 }, "end": { - "line": 327, - "column": 22 + "line": 389, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "material", - "start": 11062, - "end": 11070, + "start": 13493, + "end": 13494, "loc": { "start": { - "line": 327, - "column": 23 + "line": 389, + "column": 29 }, "end": { - "line": 327, - "column": 31 + "line": 389, + "column": 30 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -77126,23 +95162,24 @@ "binop": null, "updateContext": null }, - "start": 11070, - "end": 11071, + "value": "if", + "start": 13503, + "end": 13505, "loc": { "start": { - "line": 327, - "column": 31 + "line": 390, + "column": 8 }, "end": { - "line": 327, - "column": 32 + "line": 390, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -77151,71 +95188,67 @@ "postfix": false, "binop": null }, - "value": "extensions", - "start": 11071, - "end": 11081, + "start": 13506, + "end": 13507, "loc": { "start": { - "line": 327, - "column": 32 + "line": 390, + "column": 11 }, "end": { - "line": 327, - "column": 42 + "line": 390, + "column": 12 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11081, - "end": 11082, + "value": "testIfNodesHaveNames", + "start": 13507, + "end": 13527, "loc": { "start": { - "line": 327, - "column": 42 + "line": 390, + "column": 12 }, "end": { - "line": 327, - "column": 43 + "line": 390, + "column": 32 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 11087, - "end": 11092, + "start": 13527, + "end": 13528, "loc": { "start": { - "line": 328, - "column": 4 + "line": 390, + "column": 32 }, "end": { - "line": 328, - "column": 9 + "line": 390, + "column": 33 } } }, @@ -77231,52 +95264,50 @@ "postfix": false, "binop": null }, - "value": "materialAttributes", - "start": 11093, - "end": 11111, + "value": "node", + "start": 13528, + "end": 13532, "loc": { "start": { - "line": 328, - "column": 10 + "line": 390, + "column": 33 }, "end": { - "line": 328, - "column": 28 + "line": 390, + "column": 37 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 11112, - "end": 11113, + "start": 13532, + "end": 13533, "loc": { "start": { - "line": 328, - "column": 29 + "line": 390, + "column": 37 }, "end": { - "line": 328, - "column": 30 + "line": 390, + "column": 38 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -77284,23 +95315,23 @@ "postfix": false, "binop": null }, - "start": 11114, - "end": 11115, + "start": 13533, + "end": 13534, "loc": { "start": { - "line": 328, - "column": 31 + "line": 390, + "column": 38 }, "end": { - "line": 328, - "column": 32 + "line": 390, + "column": 39 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -77309,52 +95340,50 @@ "postfix": false, "binop": null }, - "value": "color", - "start": 11124, - "end": 11129, + "start": 13535, + "end": 13536, "loc": { "start": { - "line": 329, - "column": 8 + "line": 390, + "column": 40 }, "end": { - "line": 329, - "column": 13 + "line": 390, + "column": 41 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11129, - "end": 11130, + "value": "ctx", + "start": 13549, + "end": 13552, "loc": { "start": { - "line": 329, - "column": 13 + "line": 391, + "column": 12 }, "end": { - "line": 329, - "column": 14 + "line": 391, + "column": 15 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -77363,17 +95392,16 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 11131, - "end": 11134, + "start": 13552, + "end": 13553, "loc": { "start": { - "line": 329, + "line": 391, "column": 15 }, "end": { - "line": 329, - "column": 18 + "line": 391, + "column": 16 } } }, @@ -77389,49 +95417,52 @@ "postfix": false, "binop": null }, - "value": "Float32Array", - "start": 11135, - "end": 11147, + "value": "nodesHaveNames", + "start": 13553, + "end": 13567, "loc": { "start": { - "line": 329, - "column": 19 + "line": 391, + "column": 16 }, "end": { - "line": 329, - "column": 31 + "line": 391, + "column": 30 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11147, - "end": 11148, + "value": "=", + "start": 13568, + "end": 13569, "loc": { "start": { - "line": 329, + "line": 391, "column": 31 }, "end": { - "line": 329, + "line": 391, "column": 32 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "true", + "keyword": "true", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -77441,24 +95472,25 @@ "binop": null, "updateContext": null }, - "start": 11148, - "end": 11149, + "value": "true", + "start": 13570, + "end": 13574, "loc": { "start": { - "line": 329, - "column": 32 + "line": 391, + "column": 33 }, "end": { - "line": 329, - "column": 33 + "line": 391, + "column": 37 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -77467,77 +95499,74 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 11149, - "end": 11150, + "start": 13574, + "end": 13575, "loc": { "start": { - "line": 329, - "column": 33 + "line": 391, + "column": 37 }, "end": { - "line": 329, - "column": 34 + "line": 391, + "column": 38 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11150, - "end": 11151, + "start": 13584, + "end": 13585, "loc": { "start": { - "line": 329, - "column": 34 + "line": 392, + "column": 8 }, "end": { - "line": 329, - "column": 35 + "line": 392, + "column": 9 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 11152, - "end": 11153, + "start": 13590, + "end": 13591, "loc": { "start": { - "line": 329, - "column": 36 + "line": 393, + "column": 4 }, "end": { - "line": 329, - "column": 37 + "line": 393, + "column": 5 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -77547,75 +95576,75 @@ "binop": null, "updateContext": null }, - "start": 11153, - "end": 11154, + "value": "if", + "start": 13596, + "end": 13598, "loc": { "start": { - "line": 329, - "column": 37 + "line": 394, + "column": 4 }, "end": { - "line": 329, - "column": 38 + "line": 394, + "column": 6 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 11155, - "end": 11156, + "start": 13599, + "end": 13600, "loc": { "start": { - "line": 329, - "column": 39 + "line": 394, + "column": 7 }, "end": { - "line": 329, - "column": 40 + "line": 394, + "column": 8 } } }, { "type": { - "label": ",", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 11156, - "end": 11157, + "value": "!", + "start": 13600, + "end": 13601, "loc": { "start": { - "line": 329, - "column": 40 + "line": 394, + "column": 8 }, "end": { - "line": 329, - "column": 41 + "line": 394, + "column": 9 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -77623,26 +95652,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 11158, - "end": 11159, + "value": "ctx", + "start": 13601, + "end": 13604, "loc": { "start": { - "line": 329, - "column": 42 + "line": 394, + "column": 9 }, "end": { - "line": 329, - "column": 43 + "line": 394, + "column": 12 } } }, { "type": { - "label": "]", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -77653,24 +95681,24 @@ "binop": null, "updateContext": null }, - "start": 11159, - "end": 11160, + "start": 13604, + "end": 13605, "loc": { "start": { - "line": 329, - "column": 43 + "line": 394, + "column": 12 }, "end": { - "line": 329, - "column": 44 + "line": 394, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -77678,49 +95706,49 @@ "postfix": false, "binop": null }, - "start": 11160, - "end": 11161, + "value": "nodesHaveNames", + "start": 13605, + "end": 13619, "loc": { "start": { - "line": 329, - "column": 44 + "line": 394, + "column": 13 }, "end": { - "line": 329, - "column": 45 + "line": 394, + "column": 27 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11161, - "end": 11162, + "start": 13619, + "end": 13620, "loc": { "start": { - "line": 329, - "column": 45 + "line": 394, + "column": 27 }, "end": { - "line": 329, - "column": 46 + "line": 394, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -77729,51 +95757,50 @@ "postfix": false, "binop": null }, - "value": "opacity", - "start": 11171, - "end": 11178, + "start": 13621, + "end": 13622, "loc": { "start": { - "line": 330, - "column": 8 + "line": 394, + "column": 29 }, "end": { - "line": 330, - "column": 15 + "line": 394, + "column": 30 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11178, - "end": 11179, + "value": "ctx", + "start": 13631, + "end": 13634, "loc": { "start": { - "line": 330, - "column": 15 + "line": 395, + "column": 8 }, "end": { - "line": 330, - "column": 16 + "line": 395, + "column": 11 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -77782,50 +95809,49 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 11180, - "end": 11181, + "start": 13634, + "end": 13635, "loc": { "start": { - "line": 330, - "column": 17 + "line": 395, + "column": 11 }, "end": { - "line": 330, - "column": 18 + "line": 395, + "column": 12 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11181, - "end": 11182, + "value": "log", + "start": 13635, + "end": 13638, "loc": { "start": { - "line": 330, - "column": 18 + "line": 395, + "column": 12 }, "end": { - "line": 330, - "column": 19 + "line": 395, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -77834,51 +95860,49 @@ "postfix": false, "binop": null }, - "value": "metallic", - "start": 11191, - "end": 11199, + "start": 13638, + "end": 13639, "loc": { "start": { - "line": 331, - "column": 8 + "line": 395, + "column": 15 }, "end": { - "line": 331, + "line": 395, "column": 16 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "`", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11199, - "end": 11200, + "start": 13639, + "end": 13640, "loc": { "start": { - "line": 331, + "line": 395, "column": 16 }, "end": { - "line": 331, + "line": 395, "column": 17 } } }, { "type": { - "label": "num", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -77887,51 +95911,50 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 11201, - "end": 11202, + "value": "Warning: No \"name\" attributes found on glTF scene nodes - objects in XKT may not be what you expect", + "start": 13640, + "end": 13739, "loc": { "start": { - "line": 331, - "column": 18 + "line": 395, + "column": 17 }, "end": { - "line": 331, - "column": 19 + "line": 395, + "column": 116 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "`", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11202, - "end": 11203, + "start": 13739, + "end": 13740, "loc": { "start": { - "line": 331, - "column": 19 + "line": 395, + "column": 116 }, "end": { - "line": 331, - "column": 20 + "line": 395, + "column": 117 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -77939,23 +95962,22 @@ "postfix": false, "binop": null }, - "value": "roughness", - "start": 11212, - "end": 11221, + "start": 13740, + "end": 13741, "loc": { "start": { - "line": 332, - "column": 8 + "line": 395, + "column": 117 }, "end": { - "line": 332, - "column": 17 + "line": 395, + "column": 118 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -77966,51 +95988,52 @@ "binop": null, "updateContext": null }, - "start": 11221, - "end": 11222, + "start": 13741, + "end": 13742, "loc": { "start": { - "line": 332, - "column": 17 + "line": 395, + "column": 118 }, "end": { - "line": 332, - "column": 18 + "line": 395, + "column": 119 } } }, { "type": { - "label": "num", + "label": "for", + "keyword": "for", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": 1, - "start": 11223, - "end": 11224, + "value": "for", + "start": 13751, + "end": 13754, "loc": { "start": { - "line": 332, - "column": 19 + "line": 396, + "column": 8 }, "end": { - "line": 332, - "column": 20 + "line": 396, + "column": 11 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -78018,23 +96041,24 @@ "postfix": false, "binop": null }, - "start": 11229, - "end": 11230, + "start": 13755, + "end": 13756, "loc": { "start": { - "line": 333, - "column": 4 + "line": 396, + "column": 12 }, "end": { - "line": 333, - "column": 5 + "line": 396, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -78044,75 +96068,76 @@ "binop": null, "updateContext": null }, - "start": 11230, - "end": 11231, + "value": "let", + "start": 13756, + "end": 13759, "loc": { "start": { - "line": 333, - "column": 5 + "line": 396, + "column": 13 }, "end": { - "line": 333, - "column": 6 + "line": 396, + "column": 16 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 11236, - "end": 11238, + "value": "i", + "start": 13760, + "end": 13761, "loc": { "start": { - "line": 334, - "column": 4 + "line": 396, + "column": 17 }, "end": { - "line": 334, - "column": 6 + "line": 396, + "column": 18 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11239, - "end": 11240, + "value": "=", + "start": 13762, + "end": 13763, "loc": { "start": { - "line": 334, - "column": 7 + "line": 396, + "column": 19 }, "end": { - "line": 334, - "column": 8 + "line": 396, + "column": 20 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -78120,51 +96145,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "extensions", - "start": 11240, - "end": 11250, + "value": 0, + "start": 13764, + "end": 13765, "loc": { "start": { - "line": 334, - "column": 8 + "line": 396, + "column": 21 }, "end": { - "line": 334, - "column": 18 + "line": 396, + "column": 22 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11250, - "end": 11251, + "start": 13765, + "end": 13766, "loc": { "start": { - "line": 334, - "column": 18 + "line": 396, + "column": 22 }, "end": { - "line": 334, - "column": 19 + "line": 396, + "column": 23 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -78173,44 +96200,44 @@ "postfix": false, "binop": null }, - "start": 11252, - "end": 11253, + "value": "len", + "start": 13767, + "end": 13770, "loc": { "start": { - "line": 334, - "column": 20 + "line": 396, + "column": 24 }, "end": { - "line": 334, - "column": 21 + "line": 396, + "column": 27 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 11262, - "end": 11267, + "value": "=", + "start": 13771, + "end": 13772, "loc": { "start": { - "line": 335, - "column": 8 + "line": 396, + "column": 28 }, "end": { - "line": 335, - "column": 13 + "line": 396, + "column": 29 } } }, @@ -78226,44 +96253,43 @@ "postfix": false, "binop": null }, - "value": "specularPBR", - "start": 11268, - "end": 11279, + "value": "nodes", + "start": 13773, + "end": 13778, "loc": { "start": { - "line": 335, - "column": 14 + "line": 396, + "column": 30 }, "end": { - "line": 335, - "column": 25 + "line": 396, + "column": 35 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 11280, - "end": 11281, + "start": 13778, + "end": 13779, "loc": { "start": { - "line": 335, - "column": 26 + "line": 396, + "column": 35 }, "end": { - "line": 335, - "column": 27 + "line": 396, + "column": 36 } } }, @@ -78279,25 +96305,25 @@ "postfix": false, "binop": null }, - "value": "extensions", - "start": 11282, - "end": 11292, + "value": "length", + "start": 13779, + "end": 13785, "loc": { "start": { - "line": 335, - "column": 28 + "line": 396, + "column": 36 }, "end": { - "line": 335, - "column": 38 + "line": 396, + "column": 42 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -78306,22 +96332,22 @@ "binop": null, "updateContext": null }, - "start": 11292, - "end": 11293, + "start": 13785, + "end": 13786, "loc": { "start": { - "line": 335, - "column": 38 + "line": 396, + "column": 42 }, "end": { - "line": 335, - "column": 39 + "line": 396, + "column": 43 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -78329,80 +96355,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "KHR_materials_pbrSpecularGlossiness", - "start": 11293, - "end": 11330, + "value": "i", + "start": 13787, + "end": 13788, "loc": { "start": { - "line": 335, - "column": 39 + "line": 396, + "column": 44 }, "end": { - "line": 335, - "column": 76 + "line": 396, + "column": 45 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 11330, - "end": 11331, + "value": "<", + "start": 13789, + "end": 13790, "loc": { "start": { - "line": 335, - "column": 76 + "line": 396, + "column": 46 }, "end": { - "line": 335, - "column": 77 + "line": 396, + "column": 47 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11331, - "end": 11332, + "value": "len", + "start": 13791, + "end": 13794, "loc": { "start": { - "line": 335, - "column": 77 + "line": 396, + "column": 48 }, "end": { - "line": 335, - "column": 78 + "line": 396, + "column": 51 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -78412,24 +96437,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 11341, - "end": 11343, + "start": 13794, + "end": 13795, "loc": { "start": { - "line": 336, - "column": 8 + "line": 396, + "column": 51 }, "end": { - "line": 336, - "column": 10 + "line": 396, + "column": 52 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -78438,42 +96462,43 @@ "postfix": false, "binop": null }, - "start": 11344, - "end": 11345, + "value": "i", + "start": 13796, + "end": 13797, "loc": { "start": { - "line": 336, - "column": 11 + "line": 396, + "column": 53 }, "end": { - "line": 336, - "column": 12 + "line": 396, + "column": 54 } } }, { "type": { - "label": "name", + "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, + "prefix": true, + "postfix": true, "binop": null }, - "value": "specularPBR", - "start": 11345, - "end": 11356, + "value": "++", + "start": 13797, + "end": 13799, "loc": { "start": { - "line": 336, - "column": 12 + "line": 396, + "column": 54 }, "end": { - "line": 336, - "column": 23 + "line": 396, + "column": 56 } } }, @@ -78489,16 +96514,16 @@ "postfix": false, "binop": null }, - "start": 11356, - "end": 11357, + "start": 13799, + "end": 13800, "loc": { "start": { - "line": 336, - "column": 23 + "line": 396, + "column": 56 }, "end": { - "line": 336, - "column": 24 + "line": 396, + "column": 57 } } }, @@ -78514,16 +96539,16 @@ "postfix": false, "binop": null }, - "start": 11358, - "end": 11359, + "start": 13801, + "end": 13802, "loc": { "start": { - "line": 336, - "column": 25 + "line": 396, + "column": 58 }, "end": { - "line": 336, - "column": 26 + "line": 396, + "column": 59 } } }, @@ -78542,15 +96567,15 @@ "updateContext": null }, "value": "const", - "start": 11372, - "end": 11377, + "start": 13815, + "end": 13820, "loc": { "start": { - "line": 337, + "line": 397, "column": 12 }, "end": { - "line": 337, + "line": 397, "column": 17 } } @@ -78567,17 +96592,17 @@ "postfix": false, "binop": null }, - "value": "diffuseFactor", - "start": 11378, - "end": 11391, + "value": "node", + "start": 13821, + "end": 13825, "loc": { "start": { - "line": 337, + "line": 397, "column": 18 }, "end": { - "line": 337, - "column": 31 + "line": 397, + "column": 22 } } }, @@ -78595,16 +96620,16 @@ "updateContext": null }, "value": "=", - "start": 11392, - "end": 11393, + "start": 13826, + "end": 13827, "loc": { "start": { - "line": 337, - "column": 32 + "line": 397, + "column": 23 }, "end": { - "line": 337, - "column": 33 + "line": 397, + "column": 24 } } }, @@ -78620,25 +96645,25 @@ "postfix": false, "binop": null }, - "value": "specularPBR", - "start": 11394, - "end": 11405, + "value": "nodes", + "start": 13828, + "end": 13833, "loc": { "start": { - "line": 337, - "column": 34 + "line": 397, + "column": 25 }, "end": { - "line": 337, - "column": 45 + "line": 397, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -78647,16 +96672,16 @@ "binop": null, "updateContext": null }, - "start": 11405, - "end": 11406, + "start": 13833, + "end": 13834, "loc": { "start": { - "line": 337, - "column": 45 + "line": 397, + "column": 30 }, "end": { - "line": 337, - "column": 46 + "line": 397, + "column": 31 } } }, @@ -78672,24 +96697,24 @@ "postfix": false, "binop": null }, - "value": "diffuseFactor", - "start": 11406, - "end": 11419, + "value": "i", + "start": 13834, + "end": 13835, "loc": { "start": { - "line": 337, - "column": 46 + "line": 397, + "column": 31 }, "end": { - "line": 337, - "column": 59 + "line": 397, + "column": 32 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -78699,24 +96724,23 @@ "binop": null, "updateContext": null }, - "start": 11419, - "end": 11420, + "start": 13835, + "end": 13836, "loc": { "start": { - "line": 337, - "column": 59 + "line": 397, + "column": 32 }, "end": { - "line": 337, - "column": 60 + "line": 397, + "column": 33 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -78726,17 +96750,42 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 11433, - "end": 11435, + "start": 13836, + "end": 13837, "loc": { "start": { - "line": 338, + "line": 397, + "column": 33 + }, + "end": { + "line": 397, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parseNodesWithoutNames", + "start": 13850, + "end": 13872, + "loc": { + "start": { + "line": 398, "column": 12 }, "end": { - "line": 338, - "column": 14 + "line": 398, + "column": 34 } } }, @@ -78752,16 +96801,16 @@ "postfix": false, "binop": null }, - "start": 11436, - "end": 11437, + "start": 13872, + "end": 13873, "loc": { "start": { - "line": 338, - "column": 15 + "line": 398, + "column": 34 }, "end": { - "line": 338, - "column": 16 + "line": 398, + "column": 35 } } }, @@ -78777,23 +96826,23 @@ "postfix": false, "binop": null }, - "value": "diffuseFactor", - "start": 11437, - "end": 11450, + "value": "ctx", + "start": 13873, + "end": 13876, "loc": { "start": { - "line": 338, - "column": 16 + "line": 398, + "column": 35 }, "end": { - "line": 338, - "column": 29 + "line": 398, + "column": 38 } } }, { "type": { - "label": "==/!=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -78801,27 +96850,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 11451, - "end": 11454, + "start": 13876, + "end": 13877, "loc": { "start": { - "line": 338, - "column": 30 + "line": 398, + "column": 38 }, "end": { - "line": 338, - "column": 33 + "line": 398, + "column": 39 } } }, { "type": { - "label": "null", - "keyword": "null", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -78829,26 +96876,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "null", - "start": 11455, - "end": 11459, + "value": "node", + "start": 13878, + "end": 13882, "loc": { "start": { - "line": 338, - "column": 34 + "line": 398, + "column": 40 }, "end": { - "line": 338, - "column": 38 + "line": 398, + "column": 44 } } }, { "type": { - "label": "&&", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -78856,26 +96902,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 11460, - "end": 11462, + "start": 13882, + "end": 13883, "loc": { "start": { - "line": 338, - "column": 39 + "line": 398, + "column": 44 }, "end": { - "line": 338, - "column": 41 + "line": 398, + "column": 45 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -78883,25 +96928,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "diffuseFactor", - "start": 11463, - "end": 11476, + "value": 0, + "start": 13884, + "end": 13885, "loc": { "start": { - "line": 338, - "column": 42 + "line": 398, + "column": 46 }, "end": { - "line": 338, - "column": 55 + "line": 398, + "column": 47 } } }, { "type": { - "label": "==/!=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -78909,26 +96955,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 11477, - "end": 11480, + "start": 13885, + "end": 13886, "loc": { "start": { - "line": 338, - "column": 56 + "line": 398, + "column": 47 }, "end": { - "line": 338, - "column": 59 + "line": 398, + "column": 48 } } }, { "type": { - "label": "name", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -78936,19 +96982,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "undefined", - "start": 11481, - "end": 11490, + "value": "null", + "start": 13887, + "end": 13891, "loc": { "start": { - "line": 338, - "column": 60 + "line": 398, + "column": 49 }, "end": { - "line": 338, - "column": 69 + "line": 398, + "column": 53 } } }, @@ -78964,24 +97011,50 @@ "postfix": false, "binop": null }, - "start": 11490, - "end": 11491, + "start": 13891, + "end": 13892, "loc": { "start": { - "line": 338, - "column": 69 + "line": 398, + "column": 53 }, "end": { - "line": 338, - "column": 70 + "line": 398, + "column": 54 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 13892, + "end": 13893, + "loc": { + "start": { + "line": 398, + "column": 54 + }, + "end": { + "line": 398, + "column": 55 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -78989,24 +97062,24 @@ "postfix": false, "binop": null }, - "start": 11492, - "end": 11493, + "start": 13902, + "end": 13903, "loc": { "start": { - "line": 338, - "column": 71 + "line": 399, + "column": 8 }, "end": { - "line": 338, - "column": 72 + "line": 399, + "column": 9 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -79014,24 +97087,24 @@ "postfix": false, "binop": null }, - "value": "materialAttributes", - "start": 11510, - "end": 11528, + "start": 13908, + "end": 13909, "loc": { "start": { - "line": 339, - "column": 16 + "line": 400, + "column": 4 }, "end": { - "line": 339, - "column": 34 + "line": 400, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -79041,23 +97114,24 @@ "binop": null, "updateContext": null }, - "start": 11528, - "end": 11529, + "value": "else", + "start": 13910, + "end": 13914, "loc": { "start": { - "line": 339, - "column": 34 + "line": 400, + "column": 6 }, "end": { - "line": 339, - "column": 35 + "line": 400, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -79066,50 +97140,51 @@ "postfix": false, "binop": null }, - "value": "color", - "start": 11529, - "end": 11534, + "start": 13915, + "end": 13916, "loc": { "start": { - "line": 339, - "column": 35 + "line": 400, + "column": 11 }, "end": { - "line": 339, - "column": 40 + "line": 400, + "column": 12 } } }, { "type": { - "label": ".", + "label": "for", + "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 11534, - "end": 11535, + "value": "for", + "start": 13925, + "end": 13928, "loc": { "start": { - "line": 339, - "column": 40 + "line": 401, + "column": 8 }, "end": { - "line": 339, - "column": 41 + "line": 401, + "column": 11 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -79118,42 +97193,44 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 11535, - "end": 11538, + "start": 13929, + "end": 13930, "loc": { "start": { - "line": 339, - "column": 41 + "line": 401, + "column": 12 }, "end": { - "line": 339, - "column": 44 + "line": 401, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11538, - "end": 11539, + "value": "let", + "start": 13930, + "end": 13933, "loc": { "start": { - "line": 339, - "column": 44 + "line": 401, + "column": 13 }, "end": { - "line": 339, - "column": 45 + "line": 401, + "column": 16 } } }, @@ -79169,50 +97246,52 @@ "postfix": false, "binop": null }, - "value": "diffuseFactor", - "start": 11539, - "end": 11552, + "value": "i", + "start": 13934, + "end": 13935, "loc": { "start": { - "line": 339, - "column": 45 + "line": 401, + "column": 17 }, "end": { - "line": 339, - "column": 58 + "line": 401, + "column": 18 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11552, - "end": 11553, + "value": "=", + "start": 13936, + "end": 13937, "loc": { "start": { - "line": 339, - "column": 58 + "line": 401, + "column": 19 }, "end": { - "line": 339, - "column": 59 + "line": 401, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -79221,49 +97300,51 @@ "binop": null, "updateContext": null }, - "start": 11553, - "end": 11554, + "value": 0, + "start": 13938, + "end": 13939, "loc": { "start": { - "line": 339, - "column": 59 + "line": 401, + "column": 21 }, "end": { - "line": 339, - "column": 60 + "line": 401, + "column": 22 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11567, - "end": 11568, + "start": 13939, + "end": 13940, "loc": { "start": { - "line": 340, - "column": 12 + "line": 401, + "column": 22 }, "end": { - "line": 340, - "column": 13 + "line": 401, + "column": 23 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -79271,44 +97352,44 @@ "postfix": false, "binop": null }, - "start": 11577, - "end": 11578, + "value": "len", + "start": 13941, + "end": 13944, "loc": { "start": { - "line": 341, - "column": 8 + "line": 401, + "column": 24 }, "end": { - "line": 341, - "column": 9 + "line": 401, + "column": 27 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 11587, - "end": 11592, + "value": "=", + "start": 13945, + "end": 13946, "loc": { "start": { - "line": 342, - "column": 8 + "line": 401, + "column": 28 }, "end": { - "line": 342, - "column": 13 + "line": 401, + "column": 29 } } }, @@ -79324,44 +97405,43 @@ "postfix": false, "binop": null }, - "value": "common", - "start": 11593, - "end": 11599, + "value": "nodes", + "start": 13947, + "end": 13952, "loc": { "start": { - "line": 342, - "column": 14 + "line": 401, + "column": 30 }, "end": { - "line": 342, - "column": 20 + "line": 401, + "column": 35 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 11600, - "end": 11601, + "start": 13952, + "end": 13953, "loc": { "start": { - "line": 342, - "column": 21 + "line": 401, + "column": 35 }, "end": { - "line": 342, - "column": 22 + "line": 401, + "column": 36 } } }, @@ -79377,25 +97457,25 @@ "postfix": false, "binop": null }, - "value": "extensions", - "start": 11602, - "end": 11612, + "value": "length", + "start": 13953, + "end": 13959, "loc": { "start": { - "line": 342, - "column": 23 + "line": 401, + "column": 36 }, "end": { - "line": 342, - "column": 33 + "line": 401, + "column": 42 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -79404,22 +97484,22 @@ "binop": null, "updateContext": null }, - "start": 11612, - "end": 11613, + "start": 13959, + "end": 13960, "loc": { "start": { - "line": 342, - "column": 33 + "line": 401, + "column": 42 }, "end": { - "line": 342, - "column": 34 + "line": 401, + "column": 43 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -79427,80 +97507,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "KHR_materials_common", - "start": 11613, - "end": 11635, + "value": "i", + "start": 13961, + "end": 13962, "loc": { "start": { - "line": 342, - "column": 34 + "line": 401, + "column": 44 }, "end": { - "line": 342, - "column": 56 + "line": 401, + "column": 45 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 11635, - "end": 11636, + "value": "<", + "start": 13963, + "end": 13964, "loc": { "start": { - "line": 342, - "column": 56 + "line": 401, + "column": 46 }, "end": { - "line": 342, - "column": 57 + "line": 401, + "column": 47 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11636, - "end": 11637, + "value": "len", + "start": 13965, + "end": 13968, "loc": { "start": { - "line": 342, - "column": 57 + "line": 401, + "column": 48 }, "end": { - "line": 342, - "column": 58 + "line": 401, + "column": 51 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -79510,24 +97589,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 11646, - "end": 11648, + "start": 13968, + "end": 13969, "loc": { "start": { - "line": 343, - "column": 8 + "line": 401, + "column": 51 }, "end": { - "line": 343, - "column": 10 + "line": 401, + "column": 52 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -79536,42 +97614,43 @@ "postfix": false, "binop": null }, - "start": 11649, - "end": 11650, + "value": "i", + "start": 13970, + "end": 13971, "loc": { "start": { - "line": 343, - "column": 11 + "line": 401, + "column": 53 }, "end": { - "line": 343, - "column": 12 + "line": 401, + "column": 54 } } }, { "type": { - "label": "name", + "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, + "prefix": true, + "postfix": true, "binop": null }, - "value": "common", - "start": 11650, - "end": 11656, + "value": "++", + "start": 13971, + "end": 13973, "loc": { "start": { - "line": 343, - "column": 12 + "line": 401, + "column": 54 }, "end": { - "line": 343, - "column": 18 + "line": 401, + "column": 56 } } }, @@ -79587,16 +97666,16 @@ "postfix": false, "binop": null }, - "start": 11656, - "end": 11657, + "start": 13973, + "end": 13974, "loc": { "start": { - "line": 343, - "column": 18 + "line": 401, + "column": 56 }, "end": { - "line": 343, - "column": 19 + "line": 401, + "column": 57 } } }, @@ -79612,16 +97691,16 @@ "postfix": false, "binop": null }, - "start": 11658, - "end": 11659, + "start": 13975, + "end": 13976, "loc": { "start": { - "line": 343, - "column": 20 + "line": 401, + "column": 58 }, "end": { - "line": 343, - "column": 21 + "line": 401, + "column": 59 } } }, @@ -79640,15 +97719,15 @@ "updateContext": null }, "value": "const", - "start": 11672, - "end": 11677, + "start": 13989, + "end": 13994, "loc": { "start": { - "line": 344, + "line": 402, "column": 12 }, "end": { - "line": 344, + "line": 402, "column": 17 } } @@ -79665,17 +97744,17 @@ "postfix": false, "binop": null }, - "value": "technique", - "start": 11678, - "end": 11687, + "value": "node", + "start": 13995, + "end": 13999, "loc": { "start": { - "line": 344, + "line": 402, "column": 18 }, "end": { - "line": 344, - "column": 27 + "line": 402, + "column": 22 } } }, @@ -79693,16 +97772,16 @@ "updateContext": null }, "value": "=", - "start": 11688, - "end": 11689, + "start": 14000, + "end": 14001, "loc": { "start": { - "line": 344, - "column": 28 + "line": 402, + "column": 23 }, "end": { - "line": 344, - "column": 29 + "line": 402, + "column": 24 } } }, @@ -79718,25 +97797,25 @@ "postfix": false, "binop": null }, - "value": "common", - "start": 11690, - "end": 11696, + "value": "nodes", + "start": 14002, + "end": 14007, "loc": { "start": { - "line": 344, - "column": 30 + "line": 402, + "column": 25 }, "end": { - "line": 344, - "column": 36 + "line": 402, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -79745,16 +97824,16 @@ "binop": null, "updateContext": null }, - "start": 11696, - "end": 11697, + "start": 14007, + "end": 14008, "loc": { "start": { - "line": 344, - "column": 36 + "line": 402, + "column": 30 }, "end": { - "line": 344, - "column": 37 + "line": 402, + "column": 31 } } }, @@ -79770,24 +97849,24 @@ "postfix": false, "binop": null }, - "value": "technique", - "start": 11697, - "end": 11706, + "value": "i", + "start": 14008, + "end": 14009, "loc": { "start": { - "line": 344, - "column": 37 + "line": 402, + "column": 31 }, "end": { - "line": 344, - "column": 46 + "line": 402, + "column": 32 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -79797,24 +97876,23 @@ "binop": null, "updateContext": null }, - "start": 11706, - "end": 11707, + "start": 14009, + "end": 14010, "loc": { "start": { - "line": 344, - "column": 46 + "line": 402, + "column": 32 }, "end": { - "line": 344, - "column": 47 + "line": 402, + "column": 33 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -79824,17 +97902,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 11720, - "end": 11725, + "start": 14010, + "end": 14011, "loc": { "start": { - "line": 345, - "column": 12 + "line": 402, + "column": 33 }, "end": { - "line": 345, - "column": 17 + "line": 402, + "column": 34 } } }, @@ -79850,51 +97927,24 @@ "postfix": false, "binop": null }, - "value": "values", - "start": 11726, - "end": 11732, + "value": "parseNodesWithNames", + "start": 14024, + "end": 14043, "loc": { "start": { - "line": 345, - "column": 18 + "line": 403, + "column": 12 }, "end": { - "line": 345, - "column": 24 + "line": 403, + "column": 31 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 11733, - "end": 11734, - "loc": { - "start": { - "line": 345, - "column": 25 - }, - "end": { - "line": 345, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -79903,43 +97953,16 @@ "postfix": false, "binop": null }, - "value": "common", - "start": 11735, - "end": 11741, - "loc": { - "start": { - "line": 345, - "column": 27 - }, - "end": { - "line": 345, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11741, - "end": 11742, + "start": 14043, + "end": 14044, "loc": { "start": { - "line": 345, - "column": 33 + "line": 403, + "column": 31 }, "end": { - "line": 345, - "column": 34 + "line": 403, + "column": 32 } } }, @@ -79955,23 +97978,23 @@ "postfix": false, "binop": null }, - "value": "values", - "start": 11742, - "end": 11748, + "value": "ctx", + "start": 14044, + "end": 14047, "loc": { "start": { - "line": 345, - "column": 34 + "line": 403, + "column": 32 }, "end": { - "line": 345, - "column": 40 + "line": 403, + "column": 35 } } }, { "type": { - "label": "||", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -79979,27 +98002,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 11749, - "end": 11751, + "start": 14047, + "end": 14048, "loc": { "start": { - "line": 345, - "column": 41 + "line": 403, + "column": 35 }, "end": { - "line": 345, - "column": 43 + "line": 403, + "column": 36 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -80008,49 +98030,51 @@ "postfix": false, "binop": null }, - "start": 11752, - "end": 11753, + "value": "node", + "start": 14049, + "end": 14053, "loc": { "start": { - "line": 345, - "column": 44 + "line": 403, + "column": 37 }, "end": { - "line": 345, - "column": 45 + "line": 403, + "column": 41 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11753, - "end": 11754, + "start": 14053, + "end": 14054, "loc": { "start": { - "line": 345, - "column": 45 + "line": 403, + "column": 41 }, "end": { - "line": 345, - "column": 46 + "line": 403, + "column": 42 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80059,24 +98083,24 @@ "binop": null, "updateContext": null }, - "start": 11754, - "end": 11755, + "value": 0, + "start": 14055, + "end": 14056, "loc": { "start": { - "line": 345, - "column": 46 + "line": 403, + "column": 43 }, "end": { - "line": 345, - "column": 47 + "line": 403, + "column": 44 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -80086,23 +98110,23 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 11768, - "end": 11773, + "start": 14056, + "end": 14057, "loc": { "start": { - "line": 346, - "column": 12 + "line": 403, + "column": 44 }, "end": { - "line": 346, - "column": 17 + "line": 403, + "column": 45 } } }, { "type": { - "label": "name", + "label": "null", + "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -80110,180 +98134,173 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "blinn", - "start": 11774, - "end": 11779, + "value": "null", + "start": 14058, + "end": 14062, "loc": { "start": { - "line": 346, - "column": 18 + "line": 403, + "column": 46 }, "end": { - "line": 346, - "column": 23 + "line": 403, + "column": 50 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 11780, - "end": 11781, + "start": 14062, + "end": 14063, "loc": { "start": { - "line": 346, - "column": 24 + "line": 403, + "column": 50 }, "end": { - "line": 346, - "column": 25 + "line": 403, + "column": 51 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "technique", - "start": 11782, - "end": 11791, + "start": 14063, + "end": 14064, "loc": { "start": { - "line": 346, - "column": 26 + "line": 403, + "column": 51 }, "end": { - "line": 346, - "column": 35 + "line": 403, + "column": 52 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 11792, - "end": 11795, + "start": 14073, + "end": 14074, "loc": { "start": { - "line": 346, - "column": 36 + "line": 404, + "column": 8 }, "end": { - "line": 346, - "column": 39 + "line": 404, + "column": 9 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "BLINN", - "start": 11796, - "end": 11803, + "start": 14079, + "end": 14080, "loc": { "start": { - "line": 346, - "column": 40 + "line": 405, + "column": 4 }, "end": { - "line": 346, - "column": 47 + "line": 405, + "column": 5 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11803, - "end": 11804, + "start": 14081, + "end": 14082, "loc": { "start": { - "line": 346, - "column": 47 + "line": 406, + "column": 0 }, "end": { - "line": 346, - "column": 48 + "line": 406, + "column": 1 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "function", + "keyword": "function", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 11817, - "end": 11822, + "value": "function", + "start": 14084, + "end": 14092, "loc": { "start": { - "line": 347, - "column": 12 + "line": 408, + "column": 0 }, "end": { - "line": 347, - "column": 17 + "line": 408, + "column": 8 } } }, @@ -80299,44 +98316,42 @@ "postfix": false, "binop": null }, - "value": "phong", - "start": 11823, - "end": 11828, + "value": "countMeshUsage", + "start": 14093, + "end": 14107, "loc": { "start": { - "line": 347, - "column": 18 + "line": 408, + "column": 9 }, "end": { - "line": 347, + "line": 408, "column": 23 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 11829, - "end": 11830, + "start": 14107, + "end": 14108, "loc": { "start": { - "line": 347, - "column": 24 + "line": 408, + "column": 23 }, "end": { - "line": 347, - "column": 25 + "line": 408, + "column": 24 } } }, @@ -80352,23 +98367,23 @@ "postfix": false, "binop": null }, - "value": "technique", - "start": 11831, - "end": 11840, + "value": "ctx", + "start": 14108, + "end": 14111, "loc": { "start": { - "line": 347, - "column": 26 + "line": 408, + "column": 24 }, "end": { - "line": 347, - "column": 35 + "line": 408, + "column": 27 } } }, { "type": { - "label": "==/!=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -80376,26 +98391,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 11841, - "end": 11844, + "start": 14111, + "end": 14112, "loc": { "start": { - "line": 347, - "column": 36 + "line": 408, + "column": 27 }, "end": { - "line": 347, - "column": 39 + "line": 408, + "column": 28 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -80403,26 +98417,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "PHONG", - "start": 11845, - "end": 11852, + "value": "node", + "start": 14113, + "end": 14117, "loc": { "start": { - "line": 347, - "column": 40 + "line": 408, + "column": 29 }, "end": { - "line": 347, - "column": 47 + "line": 408, + "column": 33 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -80433,105 +98446,104 @@ "binop": null, "updateContext": null }, - "start": 11852, - "end": 11853, + "start": 14117, + "end": 14118, "loc": { "start": { - "line": 347, - "column": 47 + "line": 408, + "column": 33 }, "end": { - "line": 347, - "column": 48 + "line": 408, + "column": 34 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 11866, - "end": 11871, + "value": "level", + "start": 14119, + "end": 14124, "loc": { "start": { - "line": 348, - "column": 12 + "line": 408, + "column": 35 }, "end": { - "line": 348, - "column": 17 + "line": 408, + "column": 40 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "lambert", - "start": 11872, - "end": 11879, + "value": "=", + "start": 14124, + "end": 14125, "loc": { "start": { - "line": 348, - "column": 18 + "line": 408, + "column": 40 }, "end": { - "line": 348, - "column": 25 + "line": 408, + "column": 41 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 11880, - "end": 11881, + "value": 0, + "start": 14125, + "end": 14126, "loc": { "start": { - "line": 348, - "column": 26 + "line": 408, + "column": 41 }, "end": { - "line": 348, - "column": 27 + "line": 408, + "column": 42 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80539,52 +98551,50 @@ "postfix": false, "binop": null }, - "value": "technique", - "start": 11882, - "end": 11891, + "start": 14126, + "end": 14127, "loc": { "start": { - "line": 348, - "column": 28 + "line": 408, + "column": 42 }, "end": { - "line": 348, - "column": 37 + "line": 408, + "column": 43 } } }, { "type": { - "label": "==/!=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 11892, - "end": 11895, + "start": 14128, + "end": 14129, "loc": { "start": { - "line": 348, - "column": 38 + "line": 408, + "column": 44 }, "end": { - "line": 348, - "column": 41 + "line": 408, + "column": 45 } } }, { "type": { - "label": "string", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -80593,71 +98603,69 @@ "binop": null, "updateContext": null }, - "value": "LAMBERT", - "start": 11896, - "end": 11905, + "value": "if", + "start": 14134, + "end": 14136, "loc": { "start": { - "line": 348, - "column": 42 + "line": 409, + "column": 4 }, "end": { - "line": 348, - "column": 51 + "line": 409, + "column": 6 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11905, - "end": 11906, + "start": 14137, + "end": 14138, "loc": { "start": { - "line": 348, - "column": 51 + "line": 409, + "column": 7 }, "end": { - "line": 348, - "column": 52 + "line": 409, + "column": 8 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 11919, - "end": 11924, + "value": "!", + "start": 14138, + "end": 14139, "loc": { "start": { - "line": 349, - "column": 12 + "line": 409, + "column": 8 }, "end": { - "line": 349, - "column": 17 + "line": 409, + "column": 9 } } }, @@ -80673,51 +98681,49 @@ "postfix": false, "binop": null }, - "value": "diffuse", - "start": 11925, - "end": 11932, + "value": "node", + "start": 14139, + "end": 14143, "loc": { "start": { - "line": 349, - "column": 18 + "line": 409, + "column": 9 }, "end": { - "line": 349, - "column": 25 + "line": 409, + "column": 13 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 11933, - "end": 11934, + "start": 14143, + "end": 14144, "loc": { "start": { - "line": 349, - "column": 26 + "line": 409, + "column": 13 }, "end": { - "line": 349, - "column": 27 + "line": 409, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -80726,24 +98732,24 @@ "postfix": false, "binop": null }, - "value": "values", - "start": 11935, - "end": 11941, + "start": 14145, + "end": 14146, "loc": { "start": { - "line": 349, - "column": 28 + "line": 409, + "column": 15 }, "end": { - "line": 349, - "column": 34 + "line": 409, + "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -80753,75 +98759,75 @@ "binop": null, "updateContext": null }, - "start": 11941, - "end": 11942, + "value": "return", + "start": 14155, + "end": 14161, "loc": { "start": { - "line": 349, - "column": 34 + "line": 410, + "column": 8 }, "end": { - "line": 349, - "column": 35 + "line": 410, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "diffuse", - "start": 11942, - "end": 11949, + "start": 14161, + "end": 14162, "loc": { "start": { - "line": 349, - "column": 35 + "line": 410, + "column": 14 }, "end": { - "line": 349, - "column": 42 + "line": 410, + "column": 15 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 11949, - "end": 11950, + "start": 14167, + "end": 14168, "loc": { "start": { - "line": 349, - "column": 42 + "line": 411, + "column": 4 }, "end": { - "line": 349, - "column": 43 + "line": 411, + "column": 5 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -80832,24 +98838,24 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 11963, - "end": 11965, + "value": "const", + "start": 14173, + "end": 14178, "loc": { "start": { - "line": 350, - "column": 12 + "line": 412, + "column": 4 }, "end": { - "line": 350, - "column": 14 + "line": 412, + "column": 9 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -80858,94 +98864,96 @@ "postfix": false, "binop": null }, - "start": 11966, - "end": 11967, + "value": "mesh", + "start": 14179, + "end": 14183, "loc": { "start": { - "line": 350, - "column": 15 + "line": 412, + "column": 10 }, "end": { - "line": 350, - "column": 16 + "line": 412, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "diffuse", - "start": 11967, - "end": 11974, + "value": "=", + "start": 14184, + "end": 14185, "loc": { "start": { - "line": 350, - "column": 16 + "line": 412, + "column": 15 }, "end": { - "line": 350, - "column": 23 + "line": 412, + "column": 16 } } }, { "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, - "updateContext": null + "binop": null }, - "value": "&&", - "start": 11975, - "end": 11977, + "value": "node", + "start": 14186, + "end": 14190, "loc": { "start": { - "line": 350, - "column": 24 + "line": 412, + "column": 17 }, "end": { - "line": 350, - "column": 26 + "line": 412, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 11978, - "end": 11979, + "start": 14190, + "end": 14191, "loc": { "start": { - "line": 350, - "column": 27 + "line": 412, + "column": 21 }, "end": { - "line": 350, - "column": 28 + "line": 412, + "column": 22 } } }, @@ -80961,23 +98969,23 @@ "postfix": false, "binop": null }, - "value": "blinn", - "start": 11979, - "end": 11984, + "value": "mesh", + "start": 14191, + "end": 14195, "loc": { "start": { - "line": 350, - "column": 28 + "line": 412, + "column": 22 }, "end": { - "line": 350, - "column": 33 + "line": 412, + "column": 26 } } }, { "type": { - "label": "||", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -80985,73 +98993,72 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 11985, - "end": 11987, + "start": 14195, + "end": 14196, "loc": { "start": { - "line": 350, - "column": 34 + "line": 412, + "column": 26 }, "end": { - "line": 350, - "column": 36 + "line": 412, + "column": 27 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "phong", - "start": 11988, - "end": 11993, + "value": "if", + "start": 14201, + "end": 14203, "loc": { "start": { - "line": 350, - "column": 37 + "line": 413, + "column": 4 }, "end": { - "line": 350, - "column": 42 + "line": 413, + "column": 6 } } }, { "type": { - "label": "||", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 11994, - "end": 11996, + "start": 14204, + "end": 14205, "loc": { "start": { - "line": 350, - "column": 43 + "line": 413, + "column": 7 }, "end": { - "line": 350, - "column": 45 + "line": 413, + "column": 8 } } }, @@ -81067,17 +99074,17 @@ "postfix": false, "binop": null }, - "value": "lambert", - "start": 11997, - "end": 12004, + "value": "mesh", + "start": 14205, + "end": 14209, "loc": { "start": { - "line": 350, - "column": 46 + "line": 413, + "column": 8 }, "end": { - "line": 350, - "column": 53 + "line": 413, + "column": 12 } } }, @@ -81093,24 +99100,24 @@ "postfix": false, "binop": null }, - "start": 12004, - "end": 12005, + "start": 14209, + "end": 14210, "loc": { "start": { - "line": 350, - "column": 53 + "line": 413, + "column": 12 }, "end": { - "line": 350, - "column": 54 + "line": 413, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81118,23 +99125,23 @@ "postfix": false, "binop": null }, - "start": 12005, - "end": 12006, + "start": 14211, + "end": 14212, "loc": { "start": { - "line": 350, - "column": 54 + "line": 413, + "column": 14 }, "end": { - "line": 350, - "column": 55 + "line": 413, + "column": 15 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -81143,23 +99150,23 @@ "postfix": false, "binop": null }, - "start": 12007, - "end": 12008, + "value": "mesh", + "start": 14221, + "end": 14225, "loc": { "start": { - "line": 350, - "column": 56 + "line": 414, + "column": 8 }, "end": { - "line": 350, - "column": 57 + "line": 414, + "column": 12 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -81170,24 +99177,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 12025, - "end": 12027, + "start": 14225, + "end": 14226, "loc": { "start": { - "line": 351, - "column": 16 + "line": 414, + "column": 12 }, "end": { - "line": 351, - "column": 18 + "line": 414, + "column": 13 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -81196,43 +99202,44 @@ "postfix": false, "binop": null }, - "start": 12028, - "end": 12029, + "value": "instances", + "start": 14226, + "end": 14235, "loc": { "start": { - "line": 351, - "column": 19 + "line": 414, + "column": 13 }, "end": { - "line": 351, - "column": 20 + "line": 414, + "column": 22 } } }, { "type": { - "label": "prefix", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, - "prefix": true, + "isAssign": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 12029, - "end": 12030, + "value": "=", + "start": 14236, + "end": 14237, "loc": { "start": { - "line": 351, - "column": 20 + "line": 414, + "column": 23 }, "end": { - "line": 351, - "column": 21 + "line": 414, + "column": 24 } } }, @@ -81248,17 +99255,17 @@ "postfix": false, "binop": null }, - "value": "utils", - "start": 12030, - "end": 12035, + "value": "mesh", + "start": 14238, + "end": 14242, "loc": { "start": { - "line": 351, - "column": 21 + "line": 414, + "column": 25 }, "end": { - "line": 351, - "column": 26 + "line": 414, + "column": 29 } } }, @@ -81275,16 +99282,16 @@ "binop": null, "updateContext": null }, - "start": 12035, - "end": 12036, + "start": 14242, + "end": 14243, "loc": { "start": { - "line": 351, - "column": 26 + "line": 414, + "column": 29 }, "end": { - "line": 351, - "column": 27 + "line": 414, + "column": 30 } } }, @@ -81300,42 +99307,43 @@ "postfix": false, "binop": null }, - "value": "isString", - "start": 12036, - "end": 12044, + "value": "instances", + "start": 14243, + "end": 14252, "loc": { "start": { - "line": 351, - "column": 27 + "line": 414, + "column": 30 }, "end": { - "line": 351, - "column": 35 + "line": 414, + "column": 39 } } }, { "type": { - "label": "(", + "label": "?", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12044, - "end": 12045, + "start": 14253, + "end": 14254, "loc": { "start": { - "line": 351, - "column": 35 + "line": 414, + "column": 40 }, "end": { - "line": 351, - "column": 36 + "line": 414, + "column": 41 } } }, @@ -81351,23 +99359,23 @@ "postfix": false, "binop": null }, - "value": "diffuse", - "start": 12045, - "end": 12052, + "value": "mesh", + "start": 14255, + "end": 14259, "loc": { "start": { - "line": 351, - "column": 36 + "line": 414, + "column": 42 }, "end": { - "line": 351, - "column": 43 + "line": 414, + "column": 46 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -81375,26 +99383,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12052, - "end": 12053, + "start": 14259, + "end": 14260, "loc": { "start": { - "line": 351, - "column": 43 + "line": 414, + "column": 46 }, "end": { - "line": 351, - "column": 44 + "line": 414, + "column": 47 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81402,47 +99411,50 @@ "postfix": false, "binop": null }, - "start": 12053, - "end": 12054, + "value": "instances", + "start": 14260, + "end": 14269, "loc": { "start": { - "line": 351, - "column": 44 + "line": 414, + "column": 47 }, "end": { - "line": 351, - "column": 45 + "line": 414, + "column": 56 } } }, { "type": { - "label": "{", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 12055, - "end": 12056, + "value": "+", + "start": 14270, + "end": 14271, "loc": { "start": { - "line": 351, - "column": 46 + "line": 414, + "column": 57 }, "end": { - "line": 351, - "column": 47 + "line": 414, + "column": 58 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -81450,26 +99462,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "materialAttributes", - "start": 12077, - "end": 12095, + "value": 1, + "start": 14272, + "end": 14273, "loc": { "start": { - "line": 352, - "column": 20 + "line": 414, + "column": 59 }, "end": { - "line": 352, - "column": 38 + "line": 414, + "column": 60 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -81479,22 +99492,22 @@ "binop": null, "updateContext": null }, - "start": 12095, - "end": 12096, + "start": 14274, + "end": 14275, "loc": { "start": { - "line": 352, - "column": 38 + "line": 414, + "column": 61 }, "end": { - "line": 352, - "column": 39 + "line": 414, + "column": 62 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -81502,26 +99515,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "color", - "start": 12096, - "end": 12101, + "value": 1, + "start": 14276, + "end": 14277, "loc": { "start": { - "line": 352, - "column": 39 + "line": 414, + "column": 63 }, "end": { - "line": 352, - "column": 44 + "line": 414, + "column": 64 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -81531,24 +99545,24 @@ "binop": null, "updateContext": null }, - "start": 12101, - "end": 12102, + "start": 14277, + "end": 14278, "loc": { "start": { - "line": 352, - "column": 44 + "line": 414, + "column": 64 }, "end": { - "line": 352, - "column": 45 + "line": 414, + "column": 65 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81556,49 +99570,51 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 12102, - "end": 12105, + "start": 14283, + "end": 14284, "loc": { "start": { - "line": 352, - "column": 45 + "line": 415, + "column": 4 }, "end": { - "line": 352, - "column": 48 + "line": 415, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12105, - "end": 12106, + "value": "if", + "start": 14289, + "end": 14291, "loc": { "start": { - "line": 352, - "column": 48 + "line": 416, + "column": 4 }, "end": { - "line": 352, - "column": 49 + "line": 416, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -81607,25 +99623,24 @@ "postfix": false, "binop": null }, - "value": "diffuse", - "start": 12106, - "end": 12113, + "start": 14292, + "end": 14293, "loc": { "start": { - "line": 352, - "column": 49 + "line": 416, + "column": 7 }, "end": { - "line": 352, - "column": 56 + "line": 416, + "column": 8 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81633,23 +99648,24 @@ "postfix": false, "binop": null }, - "start": 12113, - "end": 12114, + "value": "node", + "start": 14293, + "end": 14297, "loc": { "start": { - "line": 352, - "column": 56 + "line": 416, + "column": 8 }, "end": { - "line": 352, - "column": 57 + "line": 416, + "column": 12 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -81659,24 +99675,24 @@ "binop": null, "updateContext": null }, - "start": 12114, - "end": 12115, + "start": 14297, + "end": 14298, "loc": { "start": { - "line": 352, - "column": 57 + "line": 416, + "column": 12 }, "end": { - "line": 352, - "column": 58 + "line": 416, + "column": 13 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -81684,22 +99700,23 @@ "postfix": false, "binop": null }, - "start": 12132, - "end": 12133, + "value": "children", + "start": 14298, + "end": 14306, "loc": { "start": { - "line": 353, - "column": 16 + "line": 416, + "column": 13 }, "end": { - "line": 353, - "column": 17 + "line": 416, + "column": 21 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -81709,16 +99726,41 @@ "postfix": false, "binop": null }, - "start": 12146, - "end": 12147, + "start": 14306, + "end": 14307, + "loc": { + "start": { + "line": 416, + "column": 21 + }, + "end": { + "line": 416, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14308, + "end": 14309, "loc": { "start": { - "line": 354, - "column": 12 + "line": 416, + "column": 23 }, "end": { - "line": 354, - "column": 13 + "line": 416, + "column": 24 } } }, @@ -81737,16 +99779,16 @@ "updateContext": null }, "value": "const", - "start": 12160, - "end": 12165, + "start": 14318, + "end": 14323, "loc": { "start": { - "line": 355, - "column": 12 + "line": 417, + "column": 8 }, "end": { - "line": 355, - "column": 17 + "line": 417, + "column": 13 } } }, @@ -81762,17 +99804,17 @@ "postfix": false, "binop": null }, - "value": "transparency", - "start": 12166, - "end": 12178, + "value": "children", + "start": 14324, + "end": 14332, "loc": { "start": { - "line": 355, - "column": 18 + "line": 417, + "column": 14 }, "end": { - "line": 355, - "column": 30 + "line": 417, + "column": 22 } } }, @@ -81790,16 +99832,16 @@ "updateContext": null }, "value": "=", - "start": 12179, - "end": 12180, + "start": 14333, + "end": 14334, "loc": { "start": { - "line": 355, - "column": 31 + "line": 417, + "column": 23 }, "end": { - "line": 355, - "column": 32 + "line": 417, + "column": 24 } } }, @@ -81815,17 +99857,17 @@ "postfix": false, "binop": null }, - "value": "values", - "start": 12181, - "end": 12187, + "value": "node", + "start": 14335, + "end": 14339, "loc": { "start": { - "line": 355, - "column": 33 + "line": 417, + "column": 25 }, "end": { - "line": 355, - "column": 39 + "line": 417, + "column": 29 } } }, @@ -81842,16 +99884,16 @@ "binop": null, "updateContext": null }, - "start": 12187, - "end": 12188, + "start": 14339, + "end": 14340, "loc": { "start": { - "line": 355, - "column": 39 + "line": 417, + "column": 29 }, "end": { - "line": 355, - "column": 40 + "line": 417, + "column": 30 } } }, @@ -81867,17 +99909,17 @@ "postfix": false, "binop": null }, - "value": "transparency", - "start": 12188, - "end": 12200, + "value": "children", + "start": 14340, + "end": 14348, "loc": { "start": { - "line": 355, - "column": 40 + "line": 417, + "column": 30 }, "end": { - "line": 355, - "column": 52 + "line": 417, + "column": 38 } } }, @@ -81894,44 +99936,44 @@ "binop": null, "updateContext": null }, - "start": 12200, - "end": 12201, + "start": 14348, + "end": 14349, "loc": { "start": { - "line": 355, - "column": 52 + "line": 417, + "column": 38 }, "end": { - "line": 355, - "column": 53 + "line": 417, + "column": 39 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "for", + "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "if", - "start": 12214, - "end": 12216, + "value": "for", + "start": 14358, + "end": 14361, "loc": { "start": { - "line": 356, - "column": 12 + "line": 418, + "column": 8 }, "end": { - "line": 356, - "column": 14 + "line": 418, + "column": 11 } } }, @@ -81947,15 +99989,43 @@ "postfix": false, "binop": null }, - "start": 12217, - "end": 12218, + "start": 14362, + "end": 14363, "loc": { "start": { - "line": 356, - "column": 15 + "line": 418, + "column": 12 }, "end": { - "line": 356, + "line": 418, + "column": 13 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 14363, + "end": 14366, + "loc": { + "start": { + "line": 418, + "column": 13 + }, + "end": { + "line": 418, "column": 16 } } @@ -81972,51 +100042,50 @@ "postfix": false, "binop": null }, - "value": "transparency", - "start": 12218, - "end": 12230, + "value": "i", + "start": 14367, + "end": 14368, "loc": { "start": { - "line": 356, - "column": 16 + "line": 418, + "column": 17 }, "end": { - "line": 356, - "column": 28 + "line": 418, + "column": 18 } } }, { "type": { - "label": "==/!=", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 12231, - "end": 12234, + "value": "=", + "start": 14369, + "end": 14370, "loc": { "start": { - "line": 356, - "column": 29 + "line": 418, + "column": 19 }, "end": { - "line": 356, - "column": 32 + "line": 418, + "column": 20 } } }, { "type": { - "label": "null", - "keyword": "null", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -82027,23 +100096,23 @@ "binop": null, "updateContext": null }, - "value": "null", - "start": 12235, - "end": 12239, + "value": 0, + "start": 14371, + "end": 14372, "loc": { "start": { - "line": 356, - "column": 33 + "line": 418, + "column": 21 }, "end": { - "line": 356, - "column": 37 + "line": 418, + "column": 22 } } }, { "type": { - "label": "&&", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -82051,20 +100120,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 12240, - "end": 12242, + "start": 14372, + "end": 14373, "loc": { "start": { - "line": 356, - "column": 38 + "line": 418, + "column": 22 }, "end": { - "line": 356, - "column": 40 + "line": 418, + "column": 23 } } }, @@ -82080,44 +100148,44 @@ "postfix": false, "binop": null }, - "value": "transparency", - "start": 12243, - "end": 12255, + "value": "len", + "start": 14374, + "end": 14377, "loc": { "start": { - "line": 356, - "column": 41 + "line": 418, + "column": 24 }, "end": { - "line": 356, - "column": 53 + "line": 418, + "column": 27 } } }, { "type": { - "label": "==/!=", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 12256, - "end": 12259, + "value": "=", + "start": 14378, + "end": 14379, "loc": { "start": { - "line": 356, - "column": 54 + "line": 418, + "column": 28 }, "end": { - "line": 356, - "column": 57 + "line": 418, + "column": 29 } } }, @@ -82133,23 +100201,23 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 12260, - "end": 12269, + "value": "children", + "start": 14380, + "end": 14388, "loc": { "start": { - "line": 356, - "column": 58 + "line": 418, + "column": 30 }, "end": { - "line": 356, - "column": 67 + "line": 418, + "column": 38 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -82157,43 +100225,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 12269, - "end": 12270, - "loc": { - "start": { - "line": 356, - "column": 67 - }, - "end": { - "line": 356, - "column": 68 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12271, - "end": 12272, + "start": 14388, + "end": 14389, "loc": { "start": { - "line": 356, - "column": 69 + "line": 418, + "column": 38 }, "end": { - "line": 356, - "column": 70 + "line": 418, + "column": 39 } } }, @@ -82209,24 +100253,24 @@ "postfix": false, "binop": null }, - "value": "materialAttributes", - "start": 12289, - "end": 12307, + "value": "length", + "start": 14389, + "end": 14395, "loc": { "start": { - "line": 357, - "column": 16 + "line": 418, + "column": 39 }, "end": { - "line": 357, - "column": 34 + "line": 418, + "column": 45 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -82236,16 +100280,16 @@ "binop": null, "updateContext": null }, - "start": 12307, - "end": 12308, + "start": 14395, + "end": 14396, "loc": { "start": { - "line": 357, - "column": 34 + "line": 418, + "column": 45 }, "end": { - "line": 357, - "column": 35 + "line": 418, + "column": 46 } } }, @@ -82261,44 +100305,44 @@ "postfix": false, "binop": null }, - "value": "opacity", - "start": 12308, - "end": 12315, + "value": "i", + "start": 14397, + "end": 14398, "loc": { "start": { - "line": 357, - "column": 35 + "line": 418, + "column": 47 }, "end": { - "line": 357, - "column": 42 + "line": 418, + "column": 48 } } }, { "type": { - "label": "=", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": "=", - "start": 12316, - "end": 12317, + "value": "<", + "start": 14399, + "end": 14400, "loc": { "start": { - "line": 357, - "column": 43 + "line": 418, + "column": 49 }, "end": { - "line": 357, - "column": 44 + "line": 418, + "column": 50 } } }, @@ -82314,17 +100358,17 @@ "postfix": false, "binop": null }, - "value": "transparency", - "start": 12318, - "end": 12330, + "value": "len", + "start": 14401, + "end": 14404, "loc": { "start": { - "line": 357, - "column": 45 + "line": 418, + "column": 51 }, "end": { - "line": 357, - "column": 57 + "line": 418, + "column": 54 } } }, @@ -82341,24 +100385,24 @@ "binop": null, "updateContext": null }, - "start": 12330, - "end": 12331, + "start": 14404, + "end": 14405, "loc": { "start": { - "line": 357, - "column": 57 + "line": 418, + "column": 54 }, "end": { - "line": 357, - "column": 58 + "line": 418, + "column": 55 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -82366,52 +100410,51 @@ "postfix": false, "binop": null }, - "start": 12344, - "end": 12345, + "value": "i", + "start": 14406, + "end": 14407, "loc": { "start": { - "line": 358, - "column": 12 + "line": 418, + "column": 56 }, "end": { - "line": 358, - "column": 13 + "line": 418, + "column": 57 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "++/--", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "prefix": true, + "postfix": true, + "binop": null }, - "value": "const", - "start": 12358, - "end": 12363, + "value": "++", + "start": 14407, + "end": 14409, "loc": { "start": { - "line": 359, - "column": 12 + "line": 418, + "column": 57 }, "end": { - "line": 359, - "column": 17 + "line": 418, + "column": 59 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -82419,51 +100462,23 @@ "postfix": false, "binop": null }, - "value": "transparent", - "start": 12364, - "end": 12375, + "start": 14409, + "end": 14410, "loc": { "start": { - "line": 359, - "column": 18 + "line": 418, + "column": 59 }, "end": { - "line": 359, - "column": 29 + "line": 418, + "column": 60 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 12376, - "end": 12377, - "loc": { - "start": { - "line": 359, - "column": 30 - }, - "end": { - "line": 359, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -82472,23 +100487,23 @@ "postfix": false, "binop": null }, - "value": "values", - "start": 12378, - "end": 12384, + "start": 14411, + "end": 14412, "loc": { "start": { - "line": 359, - "column": 32 + "line": 418, + "column": 61 }, "end": { - "line": 359, - "column": 38 + "line": 418, + "column": 62 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -82499,16 +100514,17 @@ "binop": null, "updateContext": null }, - "start": 12384, - "end": 12385, + "value": "const", + "start": 14425, + "end": 14430, "loc": { "start": { - "line": 359, - "column": 38 + "line": 419, + "column": 12 }, "end": { - "line": 359, - "column": 39 + "line": 419, + "column": 17 } } }, @@ -82524,77 +100540,76 @@ "postfix": false, "binop": null }, - "value": "transparent", - "start": 12385, - "end": 12396, + "value": "childNode", + "start": 14431, + "end": 14440, "loc": { "start": { - "line": 359, - "column": 39 + "line": 419, + "column": 18 }, "end": { - "line": 359, - "column": 50 + "line": 419, + "column": 27 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 12396, - "end": 12397, + "value": "=", + "start": 14441, + "end": 14442, "loc": { "start": { - "line": 359, - "column": 50 + "line": 419, + "column": 28 }, "end": { - "line": 359, - "column": 51 + "line": 419, + "column": 29 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 12410, - "end": 12412, + "value": "children", + "start": 14443, + "end": 14451, "loc": { "start": { - "line": 360, - "column": 12 + "line": 419, + "column": 30 }, "end": { - "line": 360, - "column": 14 + "line": 419, + "column": 38 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -82602,18 +100617,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12413, - "end": 12414, + "start": 14451, + "end": 14452, "loc": { "start": { - "line": 360, - "column": 15 + "line": 419, + "column": 38 }, "end": { - "line": 360, - "column": 16 + "line": 419, + "column": 39 } } }, @@ -82629,53 +100645,51 @@ "postfix": false, "binop": null }, - "value": "transparent", - "start": 12414, - "end": 12425, + "value": "i", + "start": 14452, + "end": 14453, "loc": { "start": { - "line": 360, - "column": 16 + "line": 419, + "column": 39 }, "end": { - "line": 360, - "column": 27 + "line": 419, + "column": 40 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 12426, - "end": 12429, + "start": 14453, + "end": 14454, "loc": { "start": { - "line": 360, - "column": 28 + "line": 419, + "column": 40 }, "end": { - "line": 360, - "column": 31 + "line": 419, + "column": 41 } } }, { "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -82684,51 +100698,51 @@ "binop": null, "updateContext": null }, - "value": "null", - "start": 12430, - "end": 12434, + "start": 14454, + "end": 14455, "loc": { "start": { - "line": 360, - "column": 32 + "line": 419, + "column": 41 }, "end": { - "line": 360, - "column": 36 + "line": 419, + "column": 42 } } }, { "type": { - "label": "&&", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 12435, - "end": 12437, + "value": "if", + "start": 14468, + "end": 14470, "loc": { "start": { - "line": 360, - "column": 37 + "line": 420, + "column": 12 }, "end": { - "line": 360, - "column": 39 + "line": 420, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -82737,44 +100751,43 @@ "postfix": false, "binop": null }, - "value": "transparent", - "start": 12438, - "end": 12449, + "start": 14471, + "end": 14472, "loc": { "start": { - "line": 360, - "column": 40 + "line": 420, + "column": 15 }, "end": { - "line": 360, - "column": 51 + "line": 420, + "column": 16 } } }, { "type": { - "label": "==/!=", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 12450, - "end": 12453, + "value": "!", + "start": 14472, + "end": 14473, "loc": { "start": { - "line": 360, - "column": 52 + "line": 420, + "column": 16 }, "end": { - "line": 360, - "column": 55 + "line": 420, + "column": 17 } } }, @@ -82790,17 +100803,17 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 12454, - "end": 12463, + "value": "childNode", + "start": 14473, + "end": 14482, "loc": { "start": { - "line": 360, - "column": 56 + "line": 420, + "column": 17 }, "end": { - "line": 360, - "column": 65 + "line": 420, + "column": 26 } } }, @@ -82816,16 +100829,16 @@ "postfix": false, "binop": null }, - "start": 12463, - "end": 12464, + "start": 14482, + "end": 14483, "loc": { "start": { - "line": 360, - "column": 65 + "line": 420, + "column": 26 }, "end": { - "line": 360, - "column": 66 + "line": 420, + "column": 27 } } }, @@ -82841,16 +100854,16 @@ "postfix": false, "binop": null }, - "start": 12465, - "end": 12466, + "start": 14484, + "end": 14485, "loc": { "start": { - "line": 360, - "column": 67 + "line": 420, + "column": 28 }, "end": { - "line": 360, - "column": 68 + "line": 420, + "column": 29 } } }, @@ -82866,17 +100879,17 @@ "postfix": false, "binop": null }, - "value": "materialAttributes", - "start": 12483, - "end": 12501, + "value": "ctx", + "start": 14502, + "end": 14505, "loc": { "start": { - "line": 361, + "line": 421, "column": 16 }, "end": { - "line": 361, - "column": 34 + "line": 421, + "column": 19 } } }, @@ -82893,16 +100906,16 @@ "binop": null, "updateContext": null }, - "start": 12501, - "end": 12502, + "start": 14505, + "end": 14506, "loc": { "start": { - "line": 361, - "column": 34 + "line": 421, + "column": 19 }, "end": { - "line": 361, - "column": 35 + "line": 421, + "column": 20 } } }, @@ -82918,47 +100931,99 @@ "postfix": false, "binop": null }, - "value": "opacity", - "start": 12502, - "end": 12509, + "value": "error", + "start": 14506, + "end": 14511, "loc": { "start": { - "line": 361, - "column": 35 + "line": 421, + "column": 20 }, "end": { - "line": 361, - "column": 42 + "line": 421, + "column": 25 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14511, + "end": 14512, + "loc": { + "start": { + "line": 421, + "column": 25 + }, + "end": { + "line": 421, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 12510, - "end": 12511, + "value": "Node not found: ", + "start": 14512, + "end": 14530, "loc": { "start": { - "line": 361, - "column": 43 + "line": 421, + "column": 26 }, "end": { - "line": 361, + "line": 421, "column": 44 } } }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "+", + "start": 14531, + "end": 14532, + "loc": { + "start": { + "line": 421, + "column": 45 + }, + "end": { + "line": 421, + "column": 46 + } + } + }, { "type": { "label": "name", @@ -82971,74 +101036,75 @@ "postfix": false, "binop": null }, - "value": "transparent", - "start": 12512, - "end": 12523, + "value": "i", + "start": 14533, + "end": 14534, "loc": { "start": { - "line": 361, - "column": 45 + "line": 421, + "column": 47 }, "end": { - "line": 361, - "column": 56 + "line": 421, + "column": 48 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12523, - "end": 12524, + "start": 14534, + "end": 14535, "loc": { "start": { - "line": 361, - "column": 56 + "line": 421, + "column": 48 }, "end": { - "line": 361, - "column": 57 + "line": 421, + "column": 49 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12537, - "end": 12538, + "start": 14535, + "end": 14536, "loc": { "start": { - "line": 362, - "column": 12 + "line": 421, + "column": 49 }, "end": { - "line": 362, - "column": 13 + "line": 421, + "column": 50 } } }, { "type": { - "label": "}", + "label": "continue", + "keyword": "continue", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -83046,50 +101112,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12547, - "end": 12548, + "value": "continue", + "start": 14553, + "end": 14561, "loc": { "start": { - "line": 363, - "column": 8 + "line": 422, + "column": 16 }, "end": { - "line": 363, - "column": 9 + "line": 422, + "column": 24 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12553, - "end": 12554, + "start": 14561, + "end": 14562, "loc": { "start": { - "line": 364, - "column": 4 + "line": 422, + "column": 24 }, "end": { - "line": 364, - "column": 5 + "line": 422, + "column": 25 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -83097,20 +101165,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 12559, - "end": 12564, + "start": 14575, + "end": 14576, "loc": { "start": { - "line": 365, - "column": 4 + "line": 423, + "column": 12 }, "end": { - "line": 365, - "column": 9 + "line": 423, + "column": 13 } } }, @@ -83126,44 +101192,42 @@ "postfix": false, "binop": null }, - "value": "metallicPBR", - "start": 12565, - "end": 12576, + "value": "countMeshUsage", + "start": 14589, + "end": 14603, "loc": { "start": { - "line": 365, - "column": 10 + "line": 424, + "column": 12 }, "end": { - "line": 365, - "column": 21 + "line": 424, + "column": 26 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 12577, - "end": 12578, + "start": 14603, + "end": 14604, "loc": { "start": { - "line": 365, - "column": 22 + "line": 424, + "column": 26 }, "end": { - "line": 365, - "column": 23 + "line": 424, + "column": 27 } } }, @@ -83179,24 +101243,24 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 12579, - "end": 12587, + "value": "ctx", + "start": 14604, + "end": 14607, "loc": { "start": { - "line": 365, - "column": 24 + "line": 424, + "column": 27 }, "end": { - "line": 365, - "column": 32 + "line": 424, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -83206,16 +101270,16 @@ "binop": null, "updateContext": null }, - "start": 12587, - "end": 12588, + "start": 14607, + "end": 14608, "loc": { "start": { - "line": 365, - "column": 32 + "line": 424, + "column": 30 }, "end": { - "line": 365, - "column": 33 + "line": 424, + "column": 31 } } }, @@ -83231,23 +101295,23 @@ "postfix": false, "binop": null }, - "value": "pbrMetallicRoughness", - "start": 12588, - "end": 12608, + "value": "childNode", + "start": 14609, + "end": 14618, "loc": { "start": { - "line": 365, - "column": 33 + "line": 424, + "column": 32 }, "end": { - "line": 365, - "column": 53 + "line": 424, + "column": 41 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -83258,75 +101322,75 @@ "binop": null, "updateContext": null }, - "start": 12608, - "end": 12609, + "start": 14618, + "end": 14619, "loc": { "start": { - "line": 365, - "column": 53 + "line": 424, + "column": 41 }, "end": { - "line": 365, - "column": 54 + "line": 424, + "column": 42 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 12614, - "end": 12616, + "value": "level", + "start": 14620, + "end": 14625, "loc": { "start": { - "line": 366, - "column": 4 + "line": 424, + "column": 43 }, "end": { - "line": 366, - "column": 6 + "line": 424, + "column": 48 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 12617, - "end": 12618, + "value": "+", + "start": 14625, + "end": 14626, "loc": { "start": { - "line": 366, - "column": 7 + "line": 424, + "column": 48 }, "end": { - "line": 366, - "column": 8 + "line": 424, + "column": 49 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -83334,19 +101398,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "metallicPBR", - "start": 12618, - "end": 12629, + "value": 1, + "start": 14626, + "end": 14627, "loc": { "start": { - "line": 366, - "column": 8 + "line": 424, + "column": 49 }, "end": { - "line": 366, - "column": 19 + "line": 424, + "column": 50 } } }, @@ -83362,48 +101427,48 @@ "postfix": false, "binop": null }, - "start": 12629, - "end": 12630, + "start": 14627, + "end": 14628, "loc": { "start": { - "line": 366, - "column": 19 + "line": 424, + "column": 50 }, "end": { - "line": 366, - "column": 20 + "line": 424, + "column": 51 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12631, - "end": 12632, + "start": 14628, + "end": 14629, "loc": { "start": { - "line": 366, - "column": 21 + "line": 424, + "column": 51 }, "end": { - "line": 366, - "column": 22 + "line": 424, + "column": 52 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -83411,28 +101476,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 12641, - "end": 12646, + "start": 14638, + "end": 14639, "loc": { "start": { - "line": 367, + "line": 425, "column": 8 }, "end": { - "line": 367, - "column": 13 + "line": 425, + "column": 9 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -83440,50 +101503,48 @@ "postfix": false, "binop": null }, - "value": "baseColorFactor", - "start": 12647, - "end": 12662, + "start": 14644, + "end": 14645, "loc": { "start": { - "line": 367, - "column": 14 + "line": 426, + "column": 4 }, "end": { - "line": 367, - "column": 29 + "line": 426, + "column": 5 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 12663, - "end": 12664, + "start": 14646, + "end": 14647, "loc": { "start": { - "line": 367, - "column": 30 + "line": 427, + "column": 0 }, "end": { - "line": 367, - "column": 31 + "line": 427, + "column": 1 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -83493,43 +101554,68 @@ "postfix": false, "binop": null }, - "value": "metallicPBR", - "start": 12665, - "end": 12676, + "value": "function", + "start": 14649, + "end": 14657, "loc": { "start": { - "line": 367, - "column": 32 + "line": 429, + "column": 0 }, "end": { - "line": 367, - "column": 43 + "line": 429, + "column": 8 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "testIfNodesHaveNames", + "start": 14658, + "end": 14678, + "loc": { + "start": { + "line": 429, + "column": 9 + }, + "end": { + "line": 429, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12676, - "end": 12677, + "start": 14678, + "end": 14679, "loc": { "start": { - "line": 367, - "column": 43 + "line": 429, + "column": 29 }, "end": { - "line": 367, - "column": 44 + "line": 429, + "column": 30 } } }, @@ -83545,23 +101631,23 @@ "postfix": false, "binop": null }, - "value": "baseColorFactor", - "start": 12677, - "end": 12692, + "value": "node", + "start": 14679, + "end": 14683, "loc": { "start": { - "line": 367, - "column": 44 + "line": 429, + "column": 30 }, "end": { - "line": 367, - "column": 59 + "line": 429, + "column": 34 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -83572,75 +101658,75 @@ "binop": null, "updateContext": null }, - "start": 12692, - "end": 12693, + "start": 14683, + "end": 14684, "loc": { "start": { - "line": 367, - "column": 59 + "line": 429, + "column": 34 }, "end": { - "line": 367, - "column": 60 + "line": 429, + "column": 35 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 12702, - "end": 12704, + "value": "level", + "start": 14685, + "end": 14690, "loc": { "start": { - "line": 368, - "column": 8 + "line": 429, + "column": 36 }, "end": { - "line": 368, - "column": 10 + "line": 429, + "column": 41 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 12705, - "end": 12706, + "value": "=", + "start": 14690, + "end": 14691, "loc": { "start": { - "line": 368, - "column": 11 + "line": 429, + "column": 41 }, "end": { - "line": 368, - "column": 12 + "line": 429, + "column": 42 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -83648,19 +101734,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "baseColorFactor", - "start": 12706, - "end": 12721, + "value": 0, + "start": 14691, + "end": 14692, "loc": { "start": { - "line": 368, - "column": 12 + "line": 429, + "column": 42 }, "end": { - "line": 368, - "column": 27 + "line": 429, + "column": 43 } } }, @@ -83676,16 +101763,16 @@ "postfix": false, "binop": null }, - "start": 12721, - "end": 12722, + "start": 14692, + "end": 14693, "loc": { "start": { - "line": 368, - "column": 27 + "line": 429, + "column": 43 }, "end": { - "line": 368, - "column": 28 + "line": 429, + "column": 44 } } }, @@ -83701,48 +101788,23 @@ "postfix": false, "binop": null }, - "start": 12723, - "end": 12724, - "loc": { - "start": { - "line": 368, - "column": 29 - }, - "end": { - "line": 368, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "materialAttributes", - "start": 12737, - "end": 12755, + "start": 14694, + "end": 14695, "loc": { "start": { - "line": 369, - "column": 12 + "line": 429, + "column": 45 }, "end": { - "line": 369, - "column": 30 + "line": 429, + "column": 46 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -83753,23 +101815,24 @@ "binop": null, "updateContext": null }, - "start": 12755, - "end": 12756, + "value": "if", + "start": 14700, + "end": 14702, "loc": { "start": { - "line": 369, - "column": 30 + "line": 430, + "column": 4 }, "end": { - "line": 369, - "column": 31 + "line": 430, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -83778,49 +101841,49 @@ "postfix": false, "binop": null }, - "value": "color", - "start": 12756, - "end": 12761, + "start": 14703, + "end": 14704, "loc": { "start": { - "line": 369, - "column": 31 + "line": 430, + "column": 7 }, "end": { - "line": 369, - "column": 36 + "line": 430, + "column": 8 } } }, { "type": { - "label": "[", + "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 12761, - "end": 12762, + "value": "!", + "start": 14704, + "end": 14705, "loc": { "start": { - "line": 369, - "column": 36 + "line": 430, + "column": 8 }, "end": { - "line": 369, - "column": 37 + "line": 430, + "column": 9 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -83828,26 +101891,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 12762, - "end": 12763, + "value": "node", + "start": 14705, + "end": 14709, "loc": { "start": { - "line": 369, - "column": 37 + "line": 430, + "column": 9 }, "end": { - "line": 369, - "column": 38 + "line": 430, + "column": 13 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -83855,80 +101917,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12763, - "end": 12764, + "start": 14709, + "end": 14710, "loc": { "start": { - "line": 369, - "column": 38 + "line": 430, + "column": 13 }, "end": { - "line": 369, - "column": 39 + "line": 430, + "column": 14 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 12765, - "end": 12766, + "start": 14711, + "end": 14712, "loc": { "start": { - "line": 369, - "column": 40 + "line": 430, + "column": 15 }, "end": { - "line": 369, - "column": 41 + "line": 430, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "baseColorFactor", - "start": 12767, - "end": 12782, + "value": "return", + "start": 14721, + "end": 14727, "loc": { "start": { - "line": 369, - "column": 42 + "line": 431, + "column": 8 }, "end": { - "line": 369, - "column": 57 + "line": 431, + "column": 14 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -83937,49 +101998,48 @@ "binop": null, "updateContext": null }, - "start": 12782, - "end": 12783, + "start": 14727, + "end": 14728, "loc": { "start": { - "line": 369, - "column": 57 + "line": 431, + "column": 14 }, "end": { - "line": 369, - "column": 58 + "line": 431, + "column": 15 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 12783, - "end": 12784, + "start": 14733, + "end": 14734, "loc": { "start": { - "line": 369, - "column": 58 + "line": 432, + "column": 4 }, "end": { - "line": 369, - "column": 59 + "line": 432, + "column": 5 } } }, { "type": { - "label": "]", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -83990,42 +102050,42 @@ "binop": null, "updateContext": null }, - "start": 12784, - "end": 12785, + "value": "if", + "start": 14739, + "end": 14741, "loc": { "start": { - "line": 369, - "column": 59 + "line": 433, + "column": 4 }, "end": { - "line": 369, - "column": 60 + "line": 433, + "column": 6 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12785, - "end": 12786, + "start": 14742, + "end": 14743, "loc": { "start": { - "line": 369, - "column": 60 + "line": 433, + "column": 7 }, "end": { - "line": 369, - "column": 61 + "line": 433, + "column": 8 } } }, @@ -84041,17 +102101,17 @@ "postfix": false, "binop": null }, - "value": "materialAttributes", - "start": 12799, - "end": 12817, + "value": "node", + "start": 14743, + "end": 14747, "loc": { "start": { - "line": 370, - "column": 12 + "line": 433, + "column": 8 }, "end": { - "line": 370, - "column": 30 + "line": 433, + "column": 12 } } }, @@ -84068,16 +102128,16 @@ "binop": null, "updateContext": null }, - "start": 12817, - "end": 12818, + "start": 14747, + "end": 14748, "loc": { "start": { - "line": 370, - "column": 30 + "line": 433, + "column": 12 }, "end": { - "line": 370, - "column": 31 + "line": 433, + "column": 13 } } }, @@ -84093,129 +102153,102 @@ "postfix": false, "binop": null }, - "value": "color", - "start": 12818, - "end": 12823, - "loc": { - "start": { - "line": 370, - "column": 31 - }, - "end": { - "line": 370, - "column": 36 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12823, - "end": 12824, + "value": "name", + "start": 14748, + "end": 14752, "loc": { "start": { - "line": 370, - "column": 36 + "line": 433, + "column": 13 }, "end": { - "line": 370, - "column": 37 + "line": 433, + "column": 17 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 12824, - "end": 12825, + "start": 14752, + "end": 14753, "loc": { "start": { - "line": 370, - "column": 37 + "line": 433, + "column": 17 }, "end": { - "line": 370, - "column": 38 + "line": 433, + "column": 18 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12825, - "end": 12826, + "start": 14754, + "end": 14755, "loc": { "start": { - "line": 370, - "column": 38 + "line": 433, + "column": 19 }, "end": { - "line": 370, - "column": 39 + "line": 433, + "column": 20 } } }, { "type": { - "label": "=", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 12827, - "end": 12828, + "value": "return", + "start": 14764, + "end": 14770, "loc": { "start": { - "line": 370, - "column": 40 + "line": 434, + "column": 8 }, "end": { - "line": 370, - "column": 41 + "line": 434, + "column": 14 } } }, { "type": { - "label": "name", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -84223,27 +102256,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "baseColorFactor", - "start": 12829, - "end": 12844, + "value": "true", + "start": 14771, + "end": 14775, "loc": { "start": { - "line": 370, - "column": 42 + "line": 434, + "column": 15 }, "end": { - "line": 370, - "column": 57 + "line": 434, + "column": 19 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -84252,49 +102286,48 @@ "binop": null, "updateContext": null }, - "start": 12844, - "end": 12845, + "start": 14775, + "end": 14776, "loc": { "start": { - "line": 370, - "column": 57 + "line": 434, + "column": 19 }, "end": { - "line": 370, - "column": 58 + "line": 434, + "column": 20 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 12845, - "end": 12846, + "start": 14781, + "end": 14782, "loc": { "start": { - "line": 370, - "column": 58 + "line": 435, + "column": 4 }, "end": { - "line": 370, - "column": 59 + "line": 435, + "column": 5 } } }, { "type": { - "label": "]", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -84305,42 +102338,42 @@ "binop": null, "updateContext": null }, - "start": 12846, - "end": 12847, + "value": "if", + "start": 14787, + "end": 14789, "loc": { "start": { - "line": 370, - "column": 59 + "line": 436, + "column": 4 }, "end": { - "line": 370, - "column": 60 + "line": 436, + "column": 6 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12847, - "end": 12848, + "start": 14790, + "end": 14791, "loc": { "start": { - "line": 370, - "column": 60 + "line": 436, + "column": 7 }, "end": { - "line": 370, - "column": 61 + "line": 436, + "column": 8 } } }, @@ -84356,17 +102389,17 @@ "postfix": false, "binop": null }, - "value": "materialAttributes", - "start": 12861, - "end": 12879, + "value": "node", + "start": 14791, + "end": 14795, "loc": { "start": { - "line": 371, - "column": 12 + "line": 436, + "column": 8 }, "end": { - "line": 371, - "column": 30 + "line": 436, + "column": 12 } } }, @@ -84383,16 +102416,16 @@ "binop": null, "updateContext": null }, - "start": 12879, - "end": 12880, + "start": 14795, + "end": 14796, "loc": { "start": { - "line": 371, - "column": 30 + "line": 436, + "column": 12 }, "end": { - "line": 371, - "column": 31 + "line": 436, + "column": 13 } } }, @@ -84408,23 +102441,48 @@ "postfix": false, "binop": null }, - "value": "color", - "start": 12880, - "end": 12885, + "value": "children", + "start": 14796, + "end": 14804, "loc": { "start": { - "line": 371, - "column": 31 + "line": 436, + "column": 13 }, "end": { - "line": 371, - "column": 36 + "line": 436, + "column": 21 } } }, { "type": { - "label": "[", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14804, + "end": 14805, + "loc": { + "start": { + "line": 436, + "column": 21 + }, + "end": { + "line": 436, + "column": 22 + } + } + }, + { + "type": { + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -84432,27 +102490,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12885, - "end": 12886, + "start": 14806, + "end": 14807, "loc": { "start": { - "line": 371, - "column": 36 + "line": 436, + "column": 23 }, "end": { - "line": 371, - "column": 37 + "line": 436, + "column": 24 } } }, { "type": { - "label": "num", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -84461,43 +102519,43 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 12886, - "end": 12887, + "value": "const", + "start": 14816, + "end": 14821, "loc": { "start": { - "line": 371, - "column": 37 + "line": 437, + "column": 8 }, "end": { - "line": 371, - "column": 38 + "line": 437, + "column": 13 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12887, - "end": 12888, + "value": "children", + "start": 14822, + "end": 14830, "loc": { "start": { - "line": 371, - "column": 38 + "line": 437, + "column": 14 }, "end": { - "line": 371, - "column": 39 + "line": 437, + "column": 22 } } }, @@ -84515,16 +102573,16 @@ "updateContext": null }, "value": "=", - "start": 12889, - "end": 12890, + "start": 14831, + "end": 14832, "loc": { "start": { - "line": 371, - "column": 40 + "line": 437, + "column": 23 }, "end": { - "line": 371, - "column": 41 + "line": 437, + "column": 24 } } }, @@ -84540,25 +102598,25 @@ "postfix": false, "binop": null }, - "value": "baseColorFactor", - "start": 12891, - "end": 12906, + "value": "node", + "start": 14833, + "end": 14837, "loc": { "start": { - "line": 371, - "column": 42 + "line": 437, + "column": 25 }, "end": { - "line": 371, - "column": 57 + "line": 437, + "column": 29 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -84567,22 +102625,22 @@ "binop": null, "updateContext": null }, - "start": 12906, - "end": 12907, + "start": 14837, + "end": 14838, "loc": { "start": { - "line": 371, - "column": 57 + "line": 437, + "column": 29 }, "end": { - "line": 371, - "column": 58 + "line": 437, + "column": 30 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -84590,27 +102648,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2, - "start": 12907, - "end": 12908, + "value": "children", + "start": 14838, + "end": 14846, "loc": { "start": { - "line": 371, - "column": 58 + "line": 437, + "column": 30 }, "end": { - "line": 371, - "column": 59 + "line": 437, + "column": 38 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -84620,49 +102677,51 @@ "binop": null, "updateContext": null }, - "start": 12908, - "end": 12909, + "start": 14846, + "end": 14847, "loc": { "start": { - "line": 371, - "column": 59 + "line": 437, + "column": 38 }, "end": { - "line": 371, - "column": 60 + "line": 437, + "column": 39 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "for", + "keyword": "for", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 12909, - "end": 12910, + "value": "for", + "start": 14856, + "end": 14859, "loc": { "start": { - "line": 371, - "column": 60 + "line": 438, + "column": 8 }, "end": { - "line": 371, - "column": 61 + "line": 438, + "column": 11 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -84671,23 +102730,23 @@ "postfix": false, "binop": null }, - "value": "materialAttributes", - "start": 12923, - "end": 12941, + "start": 14860, + "end": 14861, "loc": { "start": { - "line": 372, + "line": 438, "column": 12 }, "end": { - "line": 372, - "column": 30 + "line": 438, + "column": 13 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -84698,16 +102757,17 @@ "binop": null, "updateContext": null }, - "start": 12941, - "end": 12942, + "value": "let", + "start": 14861, + "end": 14864, "loc": { "start": { - "line": 372, - "column": 30 + "line": 438, + "column": 13 }, "end": { - "line": 372, - "column": 31 + "line": 438, + "column": 16 } } }, @@ -84723,17 +102783,17 @@ "postfix": false, "binop": null }, - "value": "opacity", - "start": 12942, - "end": 12949, + "value": "i", + "start": 14865, + "end": 14866, "loc": { "start": { - "line": 372, - "column": 31 + "line": 438, + "column": 17 }, "end": { - "line": 372, - "column": 38 + "line": 438, + "column": 18 } } }, @@ -84751,22 +102811,22 @@ "updateContext": null }, "value": "=", - "start": 12950, - "end": 12951, + "start": 14867, + "end": 14868, "loc": { "start": { - "line": 372, - "column": 39 + "line": 438, + "column": 19 }, "end": { - "line": 372, - "column": 40 + "line": 438, + "column": 20 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -84774,53 +102834,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "baseColorFactor", - "start": 12952, - "end": 12967, - "loc": { - "start": { - "line": 372, - "column": 41 - }, - "end": { - "line": 372, - "column": 56 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 12967, - "end": 12968, + "value": 0, + "start": 14869, + "end": 14870, "loc": { "start": { - "line": 372, - "column": 56 + "line": 438, + "column": 21 }, "end": { - "line": 372, - "column": 57 + "line": 438, + "column": 22 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -84829,77 +102864,77 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 12968, - "end": 12969, + "start": 14870, + "end": 14871, "loc": { "start": { - "line": 372, - "column": 57 + "line": 438, + "column": 22 }, "end": { - "line": 372, - "column": 58 + "line": 438, + "column": 23 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 12969, - "end": 12970, + "value": "len", + "start": 14872, + "end": 14875, "loc": { "start": { - "line": 372, - "column": 58 + "line": 438, + "column": 24 }, "end": { - "line": 372, - "column": 59 + "line": 438, + "column": 27 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 12970, - "end": 12971, + "value": "=", + "start": 14876, + "end": 14877, "loc": { "start": { - "line": 372, - "column": 59 + "line": 438, + "column": 28 }, "end": { - "line": 372, - "column": 60 + "line": 438, + "column": 29 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -84907,23 +102942,23 @@ "postfix": false, "binop": null }, - "start": 12980, - "end": 12981, + "value": "children", + "start": 14878, + "end": 14886, "loc": { "start": { - "line": 373, - "column": 8 + "line": 438, + "column": 30 }, "end": { - "line": 373, - "column": 9 + "line": 438, + "column": 38 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -84934,17 +102969,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 12990, - "end": 12995, + "start": 14886, + "end": 14887, "loc": { "start": { - "line": 374, - "column": 8 + "line": 438, + "column": 38 }, "end": { - "line": 374, - "column": 13 + "line": 438, + "column": 39 } } }, @@ -84960,44 +102994,43 @@ "postfix": false, "binop": null }, - "value": "metallicFactor", - "start": 12996, - "end": 13010, + "value": "length", + "start": 14887, + "end": 14893, "loc": { "start": { - "line": 374, - "column": 14 + "line": 438, + "column": 39 }, "end": { - "line": 374, - "column": 28 + "line": 438, + "column": 45 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 13011, - "end": 13012, + "start": 14893, + "end": 14894, "loc": { "start": { - "line": 374, - "column": 29 + "line": 438, + "column": 45 }, "end": { - "line": 374, - "column": 30 + "line": 438, + "column": 46 } } }, @@ -85013,43 +103046,44 @@ "postfix": false, "binop": null }, - "value": "metallicPBR", - "start": 13013, - "end": 13024, + "value": "i", + "start": 14895, + "end": 14896, "loc": { "start": { - "line": 374, - "column": 31 + "line": 438, + "column": 47 }, "end": { - "line": 374, - "column": 42 + "line": 438, + "column": 48 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 13024, - "end": 13025, + "value": "<", + "start": 14897, + "end": 14898, "loc": { "start": { - "line": 374, - "column": 42 + "line": 438, + "column": 49 }, "end": { - "line": 374, - "column": 43 + "line": 438, + "column": 50 } } }, @@ -85065,17 +103099,17 @@ "postfix": false, "binop": null }, - "value": "metallicFactor", - "start": 13025, - "end": 13039, + "value": "len", + "start": 14899, + "end": 14902, "loc": { "start": { - "line": 374, - "column": 43 + "line": 438, + "column": 51 }, "end": { - "line": 374, - "column": 57 + "line": 438, + "column": 54 } } }, @@ -85092,76 +103126,100 @@ "binop": null, "updateContext": null }, - "start": 13039, - "end": 13040, + "start": 14902, + "end": 14903, "loc": { "start": { - "line": 374, - "column": 57 + "line": 438, + "column": 54 }, "end": { - "line": 374, - "column": 58 + "line": 438, + "column": 55 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 13049, - "end": 13051, + "value": "i", + "start": 14904, + "end": 14905, "loc": { "start": { - "line": 375, - "column": 8 + "line": 438, + "column": 56 }, "end": { - "line": 375, - "column": 10 + "line": 438, + "column": 57 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "++/--", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 14905, + "end": 14907, + "loc": { + "start": { + "line": 438, + "column": 57 + }, + "end": { + "line": 438, + "column": 59 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, "prefix": false, "postfix": false, "binop": null }, - "start": 13052, - "end": 13053, + "start": 14907, + "end": 14908, "loc": { "start": { - "line": 375, - "column": 11 + "line": 438, + "column": 59 }, "end": { - "line": 375, - "column": 12 + "line": 438, + "column": 60 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -85170,51 +103228,50 @@ "postfix": false, "binop": null }, - "value": "metallicFactor", - "start": 13053, - "end": 13067, + "start": 14909, + "end": 14910, "loc": { "start": { - "line": 375, - "column": 12 + "line": 438, + "column": 61 }, "end": { - "line": 375, - "column": 26 + "line": 438, + "column": 62 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 13068, - "end": 13071, + "value": "const", + "start": 14923, + "end": 14928, "loc": { "start": { - "line": 375, - "column": 27 + "line": 439, + "column": 12 }, "end": { - "line": 375, - "column": 30 + "line": 439, + "column": 17 } } }, { "type": { - "label": "null", - "keyword": "null", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -85222,47 +103279,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "null", - "start": 13072, - "end": 13076, + "value": "childNode", + "start": 14929, + "end": 14938, "loc": { "start": { - "line": 375, - "column": 31 + "line": 439, + "column": 18 }, "end": { - "line": 375, - "column": 35 + "line": 439, + "column": 27 } } }, { "type": { - "label": "&&", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 13077, - "end": 13079, + "value": "=", + "start": 14939, + "end": 14940, "loc": { "start": { - "line": 375, - "column": 36 + "line": 439, + "column": 28 }, "end": { - "line": 375, - "column": 38 + "line": 439, + "column": 29 } } }, @@ -85278,44 +103334,43 @@ "postfix": false, "binop": null }, - "value": "metallicFactor", - "start": 13080, - "end": 13094, + "value": "children", + "start": 14941, + "end": 14949, "loc": { "start": { - "line": 375, - "column": 39 + "line": 439, + "column": 30 }, "end": { - "line": 375, - "column": 53 + "line": 439, + "column": 38 } } }, { "type": { - "label": "==/!=", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 13095, - "end": 13098, + "start": 14949, + "end": 14950, "loc": { "start": { - "line": 375, - "column": 54 + "line": 439, + "column": 38 }, "end": { - "line": 375, - "column": 57 + "line": 439, + "column": 39 } } }, @@ -85331,23 +103386,23 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 13099, - "end": 13108, + "value": "i", + "start": 14950, + "end": 14951, "loc": { "start": { - "line": 375, - "column": 58 + "line": 439, + "column": 39 }, "end": { - "line": 375, - "column": 67 + "line": 439, + "column": 40 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -85355,95 +103410,98 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13108, - "end": 13109, + "start": 14951, + "end": 14952, "loc": { "start": { - "line": 375, - "column": 67 + "line": 439, + "column": 40 }, "end": { - "line": 375, - "column": 68 + "line": 439, + "column": 41 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13110, - "end": 13111, + "start": 14952, + "end": 14953, "loc": { "start": { - "line": 375, - "column": 69 + "line": 439, + "column": 41 }, "end": { - "line": 375, - "column": 70 + "line": 439, + "column": 42 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "materialAttributes", - "start": 13124, - "end": 13142, + "value": "if", + "start": 14966, + "end": 14968, "loc": { "start": { - "line": 376, + "line": 440, "column": 12 }, "end": { - "line": 376, - "column": 30 + "line": 440, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13142, - "end": 13143, + "start": 14969, + "end": 14970, "loc": { "start": { - "line": 376, - "column": 30 + "line": 440, + "column": 15 }, "end": { - "line": 376, - "column": 31 + "line": 440, + "column": 16 } } }, @@ -85459,44 +103517,42 @@ "postfix": false, "binop": null }, - "value": "metallic", - "start": 13143, - "end": 13151, + "value": "testIfNodesHaveNames", + "start": 14970, + "end": 14990, "loc": { "start": { - "line": 376, - "column": 31 + "line": 440, + "column": 16 }, "end": { - "line": 376, - "column": 39 + "line": 440, + "column": 36 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 13152, - "end": 13153, + "start": 14990, + "end": 14991, "loc": { "start": { - "line": 376, - "column": 40 + "line": 440, + "column": 36 }, "end": { - "line": 376, - "column": 41 + "line": 440, + "column": 37 } } }, @@ -85512,23 +103568,23 @@ "postfix": false, "binop": null }, - "value": "metallicFactor", - "start": 13154, - "end": 13168, + "value": "childNode", + "start": 14991, + "end": 15000, "loc": { "start": { - "line": 376, - "column": 42 + "line": 440, + "column": 37 }, "end": { - "line": 376, - "column": 56 + "line": 440, + "column": 46 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -85539,24 +103595,24 @@ "binop": null, "updateContext": null }, - "start": 13168, - "end": 13169, + "start": 15000, + "end": 15001, "loc": { "start": { - "line": 376, - "column": 56 + "line": 440, + "column": 46 }, "end": { - "line": 376, - "column": 57 + "line": 440, + "column": 47 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -85564,50 +103620,50 @@ "postfix": false, "binop": null }, - "start": 13178, - "end": 13179, + "value": "level", + "start": 15002, + "end": 15007, "loc": { "start": { - "line": 377, - "column": 8 + "line": 440, + "column": 48 }, "end": { - "line": 377, - "column": 9 + "line": 440, + "column": 53 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "const", - "start": 13188, - "end": 13193, + "value": "+", + "start": 15007, + "end": 15008, "loc": { "start": { - "line": 378, - "column": 8 + "line": 440, + "column": 53 }, "end": { - "line": 378, - "column": 13 + "line": 440, + "column": 54 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -85615,54 +103671,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "roughnessFactor", - "start": 13194, - "end": 13209, - "loc": { - "start": { - "line": 378, - "column": 14 - }, - "end": { - "line": 378, - "column": 29 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 13210, - "end": 13211, + "value": 1, + "start": 15008, + "end": 15009, "loc": { "start": { - "line": 378, - "column": 30 + "line": 440, + "column": 54 }, "end": { - "line": 378, - "column": 31 + "line": 440, + "column": 55 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -85670,23 +103700,22 @@ "postfix": false, "binop": null }, - "value": "metallicPBR", - "start": 13212, - "end": 13223, + "start": 15009, + "end": 15010, "loc": { "start": { - "line": 378, - "column": 32 + "line": 440, + "column": 55 }, "end": { - "line": 378, - "column": 43 + "line": 440, + "column": 56 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -85694,26 +103723,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13223, - "end": 13224, + "start": 15010, + "end": 15011, "loc": { "start": { - "line": 378, - "column": 43 + "line": 440, + "column": 56 }, "end": { - "line": 378, - "column": 44 + "line": 440, + "column": 57 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -85722,23 +103750,23 @@ "postfix": false, "binop": null }, - "value": "roughnessFactor", - "start": 13224, - "end": 13239, + "start": 15012, + "end": 15013, "loc": { "start": { - "line": 378, - "column": 44 + "line": 440, + "column": 58 }, "end": { - "line": 378, + "line": 440, "column": 59 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -85749,25 +103777,26 @@ "binop": null, "updateContext": null }, - "start": 13239, - "end": 13240, + "value": "return", + "start": 15030, + "end": 15036, "loc": { "start": { - "line": 378, - "column": 59 + "line": 441, + "column": 16 }, "end": { - "line": 378, - "column": 60 + "line": 441, + "column": 22 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "true", + "keyword": "true", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -85776,50 +103805,51 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 13249, - "end": 13251, + "value": "true", + "start": 15037, + "end": 15041, "loc": { "start": { - "line": 379, - "column": 8 + "line": 441, + "column": 23 }, "end": { - "line": 379, - "column": 10 + "line": 441, + "column": 27 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13252, - "end": 13253, + "start": 15041, + "end": 15042, "loc": { "start": { - "line": 379, - "column": 11 + "line": 441, + "column": 27 }, "end": { - "line": 379, - "column": 12 + "line": 441, + "column": 28 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -85827,78 +103857,73 @@ "postfix": false, "binop": null }, - "value": "roughnessFactor", - "start": 13253, - "end": 13268, + "start": 15055, + "end": 15056, "loc": { "start": { - "line": 379, + "line": 442, "column": 12 }, "end": { - "line": 379, - "column": 27 + "line": 442, + "column": 13 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "!==", - "start": 13269, - "end": 13272, + "start": 15065, + "end": 15066, "loc": { "start": { - "line": 379, - "column": 28 + "line": 443, + "column": 8 }, "end": { - "line": 379, - "column": 31 + "line": 443, + "column": 9 } } }, { "type": { - "label": "null", - "keyword": "null", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "null", - "start": 13273, - "end": 13277, + "start": 15071, + "end": 15072, "loc": { "start": { - "line": 379, - "column": 32 + "line": 444, + "column": 4 }, "end": { - "line": 379, - "column": 36 + "line": 444, + "column": 5 } } }, { "type": { - "label": "&&", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -85906,26 +103931,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 13278, - "end": 13280, + "value": "return", + "start": 15077, + "end": 15083, "loc": { "start": { - "line": 379, - "column": 37 + "line": 445, + "column": 4 }, "end": { - "line": 379, - "column": 39 + "line": 445, + "column": 10 } } }, { "type": { - "label": "name", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -85933,25 +103959,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "roughnessFactor", - "start": 13281, - "end": 13296, + "value": "false", + "start": 15084, + "end": 15089, "loc": { "start": { - "line": 379, - "column": 40 + "line": 445, + "column": 11 }, "end": { - "line": 379, - "column": 55 + "line": 445, + "column": 16 } } }, { "type": { - "label": "==/!=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -85959,28 +103986,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 13297, - "end": 13300, + "start": 15089, + "end": 15090, "loc": { "start": { - "line": 379, - "column": 56 + "line": 445, + "column": 16 }, "end": { - "line": 379, - "column": 59 + "line": 445, + "column": 17 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -85988,23 +104014,39 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 13301, - "end": 13310, + "start": 15091, + "end": 15092, "loc": { "start": { - "line": 379, - "column": 60 + "line": 446, + "column": 0 }, "end": { - "line": 379, - "column": 69 + "line": 446, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Parses a glTF node hierarchy that is known to NOT contain \"name\" attributes on the nodes.\n * Create a XKTMesh for each mesh primitive, and a single XKTEntity.\n ", + "start": 15094, + "end": 15263, + "loc": { + "start": { + "line": 448, + "column": 0 + }, + "end": { + "line": 451, + "column": 3 } } }, { "type": { - "label": ")", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -86012,25 +104054,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13310, - "end": 13311, + "value": "const", + "start": 15264, + "end": 15269, "loc": { "start": { - "line": 379, - "column": 69 + "line": 452, + "column": 0 }, "end": { - "line": 379, - "column": 70 + "line": 452, + "column": 5 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -86039,74 +104083,76 @@ "postfix": false, "binop": null }, - "start": 13312, - "end": 13313, + "value": "parseNodesWithoutNames", + "start": 15270, + "end": 15292, "loc": { "start": { - "line": 379, - "column": 71 + "line": 452, + "column": 6 }, "end": { - "line": 379, - "column": 72 + "line": 452, + "column": 28 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "materialAttributes", - "start": 13326, - "end": 13344, + "value": "=", + "start": 15293, + "end": 15294, "loc": { "start": { - "line": 380, - "column": 12 + "line": 452, + "column": 29 }, "end": { - "line": 380, + "line": 452, "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13344, - "end": 13345, + "start": 15295, + "end": 15296, "loc": { "start": { - "line": 380, - "column": 30 + "line": 452, + "column": 31 }, "end": { - "line": 380, - "column": 31 + "line": 452, + "column": 32 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -86116,52 +104162,50 @@ "postfix": false, "binop": null }, - "value": "roughness", - "start": 13345, - "end": 13354, + "value": "function", + "start": 15296, + "end": 15304, "loc": { "start": { - "line": 380, - "column": 31 + "line": 452, + "column": 32 }, "end": { - "line": 380, + "line": 452, "column": 40 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 13355, - "end": 13356, + "start": 15305, + "end": 15306, "loc": { "start": { - "line": 380, + "line": 452, "column": 41 }, "end": { - "line": 380, + "line": 452, "column": 42 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -86169,49 +104213,48 @@ "postfix": false, "binop": null }, - "value": "roughnessFactor", - "start": 13357, - "end": 13372, + "start": 15306, + "end": 15307, "loc": { "start": { - "line": 380, - "column": 43 + "line": 452, + "column": 42 }, "end": { - "line": 380, - "column": 58 + "line": 452, + "column": 43 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13372, - "end": 13373, + "start": 15308, + "end": 15309, "loc": { "start": { - "line": 380, - "column": 58 + "line": 452, + "column": 44 }, "end": { - "line": 380, - "column": 59 + "line": 452, + "column": 45 } } }, { "type": { - "label": "}", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -86219,26 +104262,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13382, - "end": 13383, + "value": "const", + "start": 15315, + "end": 15320, "loc": { "start": { - "line": 381, - "column": 8 + "line": 454, + "column": 4 }, "end": { - "line": 381, + "line": 454, "column": 9 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -86246,77 +104291,77 @@ "postfix": false, "binop": null }, - "start": 13388, - "end": 13389, + "value": "meshIds", + "start": 15321, + "end": 15328, "loc": { "start": { - "line": 382, - "column": 4 + "line": 454, + "column": 10 }, "end": { - "line": 382, - "column": 5 + "line": 454, + "column": 17 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "return", - "start": 13394, - "end": 13400, + "value": "=", + "start": 15329, + "end": 15330, "loc": { "start": { - "line": 383, - "column": 4 + "line": 454, + "column": 18 }, "end": { - "line": 383, - "column": 10 + "line": 454, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "materialAttributes", - "start": 13401, - "end": 13419, + "start": 15331, + "end": 15332, "loc": { "start": { - "line": 383, - "column": 11 + "line": 454, + "column": 20 }, "end": { - "line": 383, - "column": 29 + "line": 454, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -86326,74 +104371,77 @@ "binop": null, "updateContext": null }, - "start": 13419, - "end": 13420, + "start": 15332, + "end": 15333, "loc": { "start": { - "line": 383, - "column": 29 + "line": 454, + "column": 21 }, "end": { - "line": 383, - "column": 30 + "line": 454, + "column": 22 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13421, - "end": 13422, + "start": 15333, + "end": 15334, "loc": { "start": { - "line": 384, - "column": 0 + "line": 454, + "column": 22 }, "end": { - "line": 384, - "column": 1 + "line": 454, + "column": 23 } } }, { "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 13424, - "end": 13432, + "value": "return", + "start": 15340, + "end": 15346, "loc": { "start": { - "line": 386, - "column": 0 + "line": 456, + "column": 4 }, "end": { - "line": 386, - "column": 8 + "line": 456, + "column": 10 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -86403,17 +104451,17 @@ "postfix": false, "binop": null }, - "value": "parseDefaultScene", - "start": 13433, - "end": 13450, + "value": "function", + "start": 15347, + "end": 15355, "loc": { "start": { - "line": 386, - "column": 9 + "line": 456, + "column": 11 }, "end": { - "line": 386, - "column": 26 + "line": 456, + "column": 19 } } }, @@ -86429,16 +104477,16 @@ "postfix": false, "binop": null }, - "start": 13450, - "end": 13451, + "start": 15356, + "end": 15357, "loc": { "start": { - "line": 386, - "column": 26 + "line": 456, + "column": 20 }, "end": { - "line": 386, - "column": 27 + "line": 456, + "column": 21 } } }, @@ -86455,48 +104503,49 @@ "binop": null }, "value": "ctx", - "start": 13451, - "end": 13454, + "start": 15357, + "end": 15360, "loc": { "start": { - "line": 386, - "column": 27 + "line": 456, + "column": 21 }, "end": { - "line": 386, - "column": 30 + "line": 456, + "column": 24 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13454, - "end": 13455, + "start": 15360, + "end": 15361, "loc": { "start": { - "line": 386, - "column": 30 + "line": 456, + "column": 24 }, "end": { - "line": 386, - "column": 31 + "line": 456, + "column": 25 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -86505,24 +104554,24 @@ "postfix": false, "binop": null }, - "start": 13456, - "end": 13457, + "value": "node", + "start": 15362, + "end": 15366, "loc": { "start": { - "line": 386, - "column": 32 + "line": 456, + "column": 26 }, "end": { - "line": 386, - "column": 33 + "line": 456, + "column": 30 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -86532,17 +104581,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 13462, - "end": 13467, + "start": 15366, + "end": 15367, "loc": { "start": { - "line": 387, - "column": 4 + "line": 456, + "column": 30 }, "end": { - "line": 387, - "column": 9 + "line": 456, + "column": 31 } } }, @@ -86558,44 +104606,43 @@ "postfix": false, "binop": null }, - "value": "gltfData", - "start": 13468, - "end": 13476, + "value": "depth", + "start": 15368, + "end": 15373, "loc": { "start": { - "line": 387, - "column": 10 + "line": 456, + "column": 32 }, "end": { - "line": 387, - "column": 18 + "line": 456, + "column": 37 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 13477, - "end": 13478, + "start": 15373, + "end": 15374, "loc": { "start": { - "line": 387, - "column": 19 + "line": 456, + "column": 37 }, "end": { - "line": 387, - "column": 20 + "line": 456, + "column": 38 } } }, @@ -86611,23 +104658,23 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 13479, - "end": 13482, + "value": "matrix", + "start": 15375, + "end": 15381, "loc": { "start": { - "line": 387, - "column": 21 + "line": 456, + "column": 39 }, "end": { - "line": 387, - "column": 24 + "line": 456, + "column": 45 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -86635,78 +104682,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13482, - "end": 13483, - "loc": { - "start": { - "line": 387, - "column": 24 - }, - "end": { - "line": 387, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "gltfData", - "start": 13483, - "end": 13491, + "start": 15381, + "end": 15382, "loc": { "start": { - "line": 387, - "column": 25 + "line": 456, + "column": 45 }, "end": { - "line": 387, - "column": 33 + "line": 456, + "column": 46 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13491, - "end": 13492, + "start": 15383, + "end": 15384, "loc": { "start": { - "line": 387, - "column": 33 + "line": 456, + "column": 47 }, "end": { - "line": 387, - "column": 34 + "line": 456, + "column": 48 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -86717,24 +104736,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 13497, - "end": 13502, + "value": "if", + "start": 15393, + "end": 15395, "loc": { "start": { - "line": 388, - "column": 4 + "line": 457, + "column": 8 }, "end": { - "line": 388, - "column": 9 + "line": 457, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -86743,44 +104762,43 @@ "postfix": false, "binop": null }, - "value": "scene", - "start": 13503, - "end": 13508, + "start": 15396, + "end": 15397, "loc": { "start": { - "line": 388, - "column": 10 + "line": 457, + "column": 11 }, "end": { - "line": 388, - "column": 15 + "line": 457, + "column": 12 } } }, { "type": { - "label": "=", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, + "isAssign": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 13509, - "end": 13510, + "value": "!", + "start": 15397, + "end": 15398, "loc": { "start": { - "line": 388, - "column": 16 + "line": 457, + "column": 12 }, "end": { - "line": 388, - "column": 17 + "line": 457, + "column": 13 } } }, @@ -86796,23 +104814,23 @@ "postfix": false, "binop": null }, - "value": "gltfData", - "start": 13511, - "end": 13519, + "value": "node", + "start": 15398, + "end": 15402, "loc": { "start": { - "line": 388, - "column": 18 + "line": 457, + "column": 13 }, "end": { - "line": 388, - "column": 26 + "line": 457, + "column": 17 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -86820,26 +104838,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13519, - "end": 13520, + "start": 15402, + "end": 15403, "loc": { "start": { - "line": 388, - "column": 26 + "line": 457, + "column": 17 }, "end": { - "line": 388, - "column": 27 + "line": 457, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -86848,23 +104865,23 @@ "postfix": false, "binop": null }, - "value": "scene", - "start": 13520, - "end": 13525, + "start": 15404, + "end": 15405, "loc": { "start": { - "line": 388, - "column": 27 + "line": 457, + "column": 19 }, "end": { - "line": 388, - "column": 32 + "line": 457, + "column": 20 } } }, { "type": { - "label": "||", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -86872,52 +104889,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 13526, - "end": 13528, + "value": "return", + "start": 15418, + "end": 15424, "loc": { "start": { - "line": 388, - "column": 33 + "line": 458, + "column": 12 }, "end": { - "line": 388, - "column": 35 + "line": 458, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "gltfData", - "start": 13529, - "end": 13537, + "start": 15424, + "end": 15425, "loc": { "start": { - "line": 388, - "column": 36 + "line": 458, + "column": 18 }, "end": { - "line": 388, - "column": 44 + "line": 458, + "column": 19 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -86925,19 +104942,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13537, - "end": 13538, + "start": 15434, + "end": 15435, "loc": { "start": { - "line": 388, - "column": 44 + "line": 459, + "column": 8 }, "end": { - "line": 388, - "column": 45 + "line": 459, + "column": 9 } } }, @@ -86953,49 +104969,50 @@ "postfix": false, "binop": null }, - "value": "scenes", - "start": 13538, - "end": 13544, + "value": "matrix", + "start": 15444, + "end": 15450, "loc": { "start": { - "line": 388, - "column": 45 + "line": 460, + "column": 8 }, "end": { - "line": 388, - "column": 51 + "line": 460, + "column": 14 } } }, { "type": { - "label": "[", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 13544, - "end": 13545, + "value": "=", + "start": 15451, + "end": 15452, "loc": { "start": { - "line": 388, - "column": 51 + "line": 460, + "column": 15 }, "end": { - "line": 388, - "column": 52 + "line": 460, + "column": 16 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -87003,80 +105020,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 13545, - "end": 13546, + "value": "parseNodeMatrix", + "start": 15453, + "end": 15468, "loc": { "start": { - "line": 388, - "column": 52 + "line": 460, + "column": 17 }, "end": { - "line": 388, - "column": 53 + "line": 460, + "column": 32 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13546, - "end": 13547, + "start": 15468, + "end": 15469, "loc": { "start": { - "line": 388, - "column": 53 + "line": 460, + "column": 32 }, "end": { - "line": 388, - "column": 54 + "line": 460, + "column": 33 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13547, - "end": 13548, + "value": "node", + "start": 15469, + "end": 15473, "loc": { "start": { - "line": 388, - "column": 54 + "line": 460, + "column": 33 }, "end": { - "line": 388, - "column": 55 + "line": 460, + "column": 37 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -87086,24 +105100,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 13553, - "end": 13555, + "start": 15473, + "end": 15474, "loc": { "start": { - "line": 389, - "column": 4 + "line": 460, + "column": 37 }, "end": { - "line": 389, - "column": 6 + "line": 460, + "column": 38 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -87112,75 +105125,75 @@ "postfix": false, "binop": null }, - "start": 13556, - "end": 13557, + "value": "matrix", + "start": 15475, + "end": 15481, "loc": { "start": { - "line": 389, - "column": 7 + "line": 460, + "column": 39 }, "end": { - "line": 389, - "column": 8 + "line": 460, + "column": 45 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 13557, - "end": 13558, + "start": 15481, + "end": 15482, "loc": { "start": { - "line": 389, - "column": 8 + "line": 460, + "column": 45 }, "end": { - "line": 389, - "column": 9 + "line": 460, + "column": 46 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "scene", - "start": 13558, - "end": 13563, + "start": 15482, + "end": 15483, "loc": { "start": { - "line": 389, - "column": 9 + "line": 460, + "column": 46 }, "end": { - "line": 389, - "column": 14 + "line": 460, + "column": 47 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -87188,24 +105201,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13563, - "end": 13564, + "value": "if", + "start": 15492, + "end": 15494, "loc": { "start": { - "line": 389, - "column": 14 + "line": 461, + "column": 8 }, "end": { - "line": 389, - "column": 15 + "line": 461, + "column": 10 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -87215,16 +105230,16 @@ "postfix": false, "binop": null }, - "start": 13565, - "end": 13566, + "start": 15495, + "end": 15496, "loc": { "start": { - "line": 389, - "column": 16 + "line": 461, + "column": 11 }, "end": { - "line": 389, - "column": 17 + "line": 461, + "column": 12 } } }, @@ -87240,17 +105255,17 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 13575, - "end": 13578, + "value": "node", + "start": 15496, + "end": 15500, "loc": { "start": { - "line": 390, - "column": 8 + "line": 461, + "column": 12 }, "end": { - "line": 390, - "column": 11 + "line": 461, + "column": 16 } } }, @@ -87267,16 +105282,16 @@ "binop": null, "updateContext": null }, - "start": 13578, - "end": 13579, + "start": 15500, + "end": 15501, "loc": { "start": { - "line": 390, - "column": 11 + "line": 461, + "column": 16 }, "end": { - "line": 390, - "column": 12 + "line": 461, + "column": 17 } } }, @@ -87292,25 +105307,25 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 13579, - "end": 13584, + "value": "mesh", + "start": 15501, + "end": 15505, "loc": { "start": { - "line": 390, - "column": 12 + "line": 461, + "column": 17 }, "end": { - "line": 390, - "column": 17 + "line": 461, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -87318,51 +105333,49 @@ "postfix": false, "binop": null }, - "start": 13584, - "end": 13585, + "start": 15505, + "end": 15506, "loc": { "start": { - "line": 390, - "column": 17 + "line": 461, + "column": 21 }, "end": { - "line": 390, - "column": 18 + "line": 461, + "column": 22 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "glTF has no default scene", - "start": 13585, - "end": 13612, + "start": 15507, + "end": 15508, "loc": { "start": { - "line": 390, - "column": 18 + "line": 461, + "column": 23 }, "end": { - "line": 390, - "column": 45 + "line": 461, + "column": 24 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -87370,76 +105383,74 @@ "postfix": false, "binop": null }, - "start": 13612, - "end": 13613, + "value": "parseNodeMesh", + "start": 15521, + "end": 15534, "loc": { "start": { - "line": 390, - "column": 45 + "line": 462, + "column": 12 }, "end": { - "line": 390, - "column": 46 + "line": 462, + "column": 25 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13613, - "end": 13614, + "start": 15534, + "end": 15535, "loc": { "start": { - "line": 390, - "column": 46 + "line": 462, + "column": 25 }, "end": { - "line": 390, - "column": 47 + "line": 462, + "column": 26 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 13623, - "end": 13629, + "value": "node", + "start": 15535, + "end": 15539, "loc": { "start": { - "line": 391, - "column": 8 + "line": 462, + "column": 26 }, "end": { - "line": 391, - "column": 14 + "line": 462, + "column": 30 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -87450,41 +105461,16 @@ "binop": null, "updateContext": null }, - "start": 13629, - "end": 13630, - "loc": { - "start": { - "line": 391, - "column": 14 - }, - "end": { - "line": 391, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13635, - "end": 13636, + "start": 15539, + "end": 15540, "loc": { "start": { - "line": 392, - "column": 4 + "line": 462, + "column": 30 }, "end": { - "line": 392, - "column": 5 + "line": 462, + "column": 31 } } }, @@ -87500,42 +105486,43 @@ "postfix": false, "binop": null }, - "value": "parseScene", - "start": 13641, - "end": 13651, + "value": "ctx", + "start": 15541, + "end": 15544, "loc": { "start": { - "line": 393, - "column": 4 + "line": 462, + "column": 32 }, "end": { - "line": 393, - "column": 14 + "line": 462, + "column": 35 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13651, - "end": 13652, + "start": 15544, + "end": 15545, "loc": { "start": { - "line": 393, - "column": 14 + "line": 462, + "column": 35 }, "end": { - "line": 393, - "column": 15 + "line": 462, + "column": 36 } } }, @@ -87551,17 +105538,17 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 13652, - "end": 13655, + "value": "matrix", + "start": 15546, + "end": 15552, "loc": { "start": { - "line": 393, - "column": 15 + "line": 462, + "column": 37 }, "end": { - "line": 393, - "column": 18 + "line": 462, + "column": 43 } } }, @@ -87578,16 +105565,16 @@ "binop": null, "updateContext": null }, - "start": 13655, - "end": 13656, + "start": 15552, + "end": 15553, "loc": { "start": { - "line": 393, - "column": 18 + "line": 462, + "column": 43 }, "end": { - "line": 393, - "column": 19 + "line": 462, + "column": 44 } } }, @@ -87603,17 +105590,17 @@ "postfix": false, "binop": null }, - "value": "scene", - "start": 13657, - "end": 13662, + "value": "meshIds", + "start": 15554, + "end": 15561, "loc": { "start": { - "line": 393, - "column": 20 + "line": 462, + "column": 45 }, "end": { - "line": 393, - "column": 25 + "line": 462, + "column": 52 } } }, @@ -87629,16 +105616,16 @@ "postfix": false, "binop": null }, - "start": 13662, - "end": 13663, + "start": 15561, + "end": 15562, "loc": { "start": { - "line": 393, - "column": 25 + "line": 462, + "column": 52 }, "end": { - "line": 393, - "column": 26 + "line": 462, + "column": 53 } } }, @@ -87655,16 +105642,16 @@ "binop": null, "updateContext": null }, - "start": 13663, - "end": 13664, + "start": 15562, + "end": 15563, "loc": { "start": { - "line": 393, - "column": 26 + "line": 462, + "column": 53 }, "end": { - "line": 393, - "column": 27 + "line": 462, + "column": 54 } } }, @@ -87680,69 +105667,44 @@ "postfix": false, "binop": null }, - "start": 13665, - "end": 13666, + "start": 15572, + "end": 15573, "loc": { "start": { - "line": 394, - "column": 0 + "line": 463, + "column": 8 }, "end": { - "line": 394, - "column": 1 + "line": 463, + "column": 9 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 13668, - "end": 13676, + "value": "if", + "start": 15582, + "end": 15584, "loc": { "start": { - "line": 396, - "column": 0 - }, - "end": { - "line": 396, + "line": 464, "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parseScene", - "start": 13677, - "end": 13687, - "loc": { - "start": { - "line": 396, - "column": 9 }, "end": { - "line": 396, - "column": 19 + "line": 464, + "column": 10 } } }, @@ -87758,16 +105720,16 @@ "postfix": false, "binop": null }, - "start": 13687, - "end": 13688, + "start": 15585, + "end": 15586, "loc": { "start": { - "line": 396, - "column": 19 + "line": 464, + "column": 11 }, "end": { - "line": 396, - "column": 20 + "line": 464, + "column": 12 } } }, @@ -87783,24 +105745,24 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 13688, - "end": 13691, + "value": "node", + "start": 15586, + "end": 15590, "loc": { "start": { - "line": 396, - "column": 20 + "line": 464, + "column": 12 }, "end": { - "line": 396, - "column": 23 + "line": 464, + "column": 16 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -87810,16 +105772,16 @@ "binop": null, "updateContext": null }, - "start": 13691, - "end": 13692, + "start": 15590, + "end": 15591, "loc": { "start": { - "line": 396, - "column": 23 + "line": 464, + "column": 16 }, "end": { - "line": 396, - "column": 24 + "line": 464, + "column": 17 } } }, @@ -87835,17 +105797,17 @@ "postfix": false, "binop": null }, - "value": "scene", - "start": 13693, - "end": 13698, + "value": "children", + "start": 15591, + "end": 15599, "loc": { "start": { - "line": 396, - "column": 25 + "line": 464, + "column": 17 }, "end": { - "line": 396, - "column": 30 + "line": 464, + "column": 25 } } }, @@ -87861,16 +105823,16 @@ "postfix": false, "binop": null }, - "start": 13698, - "end": 13699, + "start": 15599, + "end": 15600, "loc": { "start": { - "line": 396, - "column": 30 + "line": 464, + "column": 25 }, "end": { - "line": 396, - "column": 31 + "line": 464, + "column": 26 } } }, @@ -87886,16 +105848,16 @@ "postfix": false, "binop": null }, - "start": 13700, - "end": 13701, + "start": 15601, + "end": 15602, "loc": { "start": { - "line": 396, - "column": 32 + "line": 464, + "column": 27 }, "end": { - "line": 396, - "column": 33 + "line": 464, + "column": 28 } } }, @@ -87914,16 +105876,16 @@ "updateContext": null }, "value": "const", - "start": 13706, - "end": 13711, + "start": 15615, + "end": 15620, "loc": { "start": { - "line": 397, - "column": 4 + "line": 465, + "column": 12 }, "end": { - "line": 397, - "column": 9 + "line": 465, + "column": 17 } } }, @@ -87939,17 +105901,17 @@ "postfix": false, "binop": null }, - "value": "nodes", - "start": 13712, - "end": 13717, + "value": "children", + "start": 15621, + "end": 15629, "loc": { "start": { - "line": 397, - "column": 10 + "line": 465, + "column": 18 }, "end": { - "line": 397, - "column": 15 + "line": 465, + "column": 26 } } }, @@ -87967,16 +105929,16 @@ "updateContext": null }, "value": "=", - "start": 13718, - "end": 13719, + "start": 15630, + "end": 15631, "loc": { "start": { - "line": 397, - "column": 16 + "line": 465, + "column": 27 }, "end": { - "line": 397, - "column": 17 + "line": 465, + "column": 28 } } }, @@ -87992,17 +105954,17 @@ "postfix": false, "binop": null }, - "value": "scene", - "start": 13720, - "end": 13725, + "value": "node", + "start": 15632, + "end": 15636, "loc": { "start": { - "line": 397, - "column": 18 + "line": 465, + "column": 29 }, "end": { - "line": 397, - "column": 23 + "line": 465, + "column": 33 } } }, @@ -88019,16 +105981,16 @@ "binop": null, "updateContext": null }, - "start": 13725, - "end": 13726, + "start": 15636, + "end": 15637, "loc": { "start": { - "line": 397, - "column": 23 + "line": 465, + "column": 33 }, "end": { - "line": 397, - "column": 24 + "line": 465, + "column": 34 } } }, @@ -88044,17 +106006,17 @@ "postfix": false, "binop": null }, - "value": "nodes", - "start": 13726, - "end": 13731, + "value": "children", + "start": 15637, + "end": 15645, "loc": { "start": { - "line": 397, - "column": 24 + "line": 465, + "column": 34 }, "end": { - "line": 397, - "column": 29 + "line": 465, + "column": 42 } } }, @@ -88071,44 +106033,44 @@ "binop": null, "updateContext": null }, - "start": 13731, - "end": 13732, + "start": 15645, + "end": 15646, "loc": { "start": { - "line": 397, - "column": 29 + "line": 465, + "column": 42 }, "end": { - "line": 397, - "column": 30 + "line": 465, + "column": 43 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "for", + "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "if", - "start": 13737, - "end": 13739, + "value": "for", + "start": 15659, + "end": 15662, "loc": { "start": { - "line": 398, - "column": 4 + "line": 466, + "column": 12 }, "end": { - "line": 398, - "column": 6 + "line": 466, + "column": 15 } } }, @@ -88124,43 +106086,44 @@ "postfix": false, "binop": null }, - "start": 13740, - "end": 13741, + "start": 15663, + "end": 15664, "loc": { "start": { - "line": 398, - "column": 7 + "line": 466, + "column": 16 }, "end": { - "line": 398, - "column": 8 + "line": 466, + "column": 17 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 13741, - "end": 13742, + "value": "let", + "start": 15664, + "end": 15667, "loc": { "start": { - "line": 398, - "column": 8 + "line": 466, + "column": 17 }, "end": { - "line": 398, - "column": 9 + "line": 466, + "column": 20 } } }, @@ -88176,129 +106139,158 @@ "postfix": false, "binop": null }, - "value": "nodes", - "start": 13742, - "end": 13747, + "value": "i", + "start": 15668, + "end": 15669, "loc": { "start": { - "line": 398, - "column": 9 + "line": 466, + "column": 21 }, "end": { - "line": 398, - "column": 14 + "line": 466, + "column": 22 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 15670, + "end": 15671, + "loc": { + "start": { + "line": 466, + "column": 23 + }, + "end": { + "line": 466, + "column": 24 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13747, - "end": 13748, + "value": 0, + "start": 15672, + "end": 15673, "loc": { "start": { - "line": 398, - "column": 14 + "line": 466, + "column": 25 }, "end": { - "line": 398, - "column": 15 + "line": 466, + "column": 26 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13749, - "end": 13750, + "start": 15673, + "end": 15674, "loc": { "start": { - "line": 398, - "column": 16 + "line": 466, + "column": 26 }, "end": { - "line": 398, - "column": 17 + "line": 466, + "column": 27 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 13759, - "end": 13765, + "value": "len", + "start": 15675, + "end": 15678, "loc": { "start": { - "line": 399, - "column": 8 + "line": 466, + "column": 28 }, "end": { - "line": 399, - "column": 14 + "line": 466, + "column": 31 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 13765, - "end": 13766, + "value": "=", + "start": 15679, + "end": 15680, "loc": { "start": { - "line": 399, - "column": 14 + "line": 466, + "column": 32 }, "end": { - "line": 399, - "column": 15 + "line": 466, + "column": 33 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -88306,51 +106298,50 @@ "postfix": false, "binop": null }, - "start": 13771, - "end": 13772, + "value": "children", + "start": 15681, + "end": 15689, "loc": { "start": { - "line": 400, - "column": 4 + "line": 466, + "column": 34 }, "end": { - "line": 400, - "column": 5 + "line": 466, + "column": 42 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "for", - "start": 13777, - "end": 13780, + "start": 15689, + "end": 15690, "loc": { "start": { - "line": 401, - "column": 4 + "line": 466, + "column": 42 }, "end": { - "line": 401, - "column": 7 + "line": 466, + "column": 43 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -88359,24 +106350,24 @@ "postfix": false, "binop": null }, - "start": 13781, - "end": 13782, + "value": "length", + "start": 15690, + "end": 15696, "loc": { "start": { - "line": 401, - "column": 8 + "line": 466, + "column": 43 }, "end": { - "line": 401, - "column": 9 + "line": 466, + "column": 49 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -88386,17 +106377,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 13782, - "end": 13785, + "start": 15696, + "end": 15697, "loc": { "start": { - "line": 401, - "column": 9 + "line": 466, + "column": 49 }, "end": { - "line": 401, - "column": 12 + "line": 466, + "column": 50 } } }, @@ -88413,49 +106403,49 @@ "binop": null }, "value": "i", - "start": 13786, - "end": 13787, + "start": 15698, + "end": 15699, "loc": { "start": { - "line": 401, - "column": 13 + "line": 466, + "column": 51 }, "end": { - "line": 401, - "column": 14 + "line": 466, + "column": 52 } } }, { "type": { - "label": "=", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": "=", - "start": 13788, - "end": 13789, + "value": "<", + "start": 15700, + "end": 15701, "loc": { "start": { - "line": 401, - "column": 15 + "line": 466, + "column": 53 }, "end": { - "line": 401, - "column": 16 + "line": 466, + "column": 54 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -88463,26 +106453,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 13790, - "end": 13791, + "value": "len", + "start": 15702, + "end": 15705, "loc": { "start": { - "line": 401, - "column": 17 + "line": 466, + "column": 55 }, "end": { - "line": 401, - "column": 18 + "line": 466, + "column": 58 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -88493,16 +106482,16 @@ "binop": null, "updateContext": null }, - "start": 13791, - "end": 13792, + "start": 15705, + "end": 15706, "loc": { "start": { - "line": 401, - "column": 18 + "line": 466, + "column": 58 }, "end": { - "line": 401, - "column": 19 + "line": 466, + "column": 59 } } }, @@ -88518,51 +106507,75 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 13793, - "end": 13796, + "value": "i", + "start": 15707, + "end": 15708, "loc": { "start": { - "line": 401, - "column": 20 + "line": 466, + "column": 60 }, "end": { - "line": 401, - "column": 23 + "line": 466, + "column": 61 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 15708, + "end": 15710, + "loc": { + "start": { + "line": 466, + "column": 61 + }, + "end": { + "line": 466, + "column": 63 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 13797, - "end": 13798, + "start": 15710, + "end": 15711, "loc": { "start": { - "line": 401, - "column": 24 + "line": 466, + "column": 63 }, "end": { - "line": 401, - "column": 25 + "line": 466, + "column": 64 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -88571,23 +106584,23 @@ "postfix": false, "binop": null }, - "value": "nodes", - "start": 13799, - "end": 13804, + "start": 15712, + "end": 15713, "loc": { "start": { - "line": 401, - "column": 26 + "line": 466, + "column": 65 }, "end": { - "line": 401, - "column": 31 + "line": 466, + "column": 66 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -88598,16 +106611,17 @@ "binop": null, "updateContext": null }, - "start": 13804, - "end": 13805, + "value": "const", + "start": 15730, + "end": 15735, "loc": { "start": { - "line": 401, - "column": 31 + "line": 467, + "column": 16 }, "end": { - "line": 401, - "column": 32 + "line": 467, + "column": 21 } } }, @@ -88623,43 +106637,44 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 13805, - "end": 13811, + "value": "childNode", + "start": 15736, + "end": 15745, "loc": { "start": { - "line": 401, - "column": 32 + "line": 467, + "column": 22 }, "end": { - "line": 401, - "column": 38 + "line": 467, + "column": 31 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 13811, - "end": 13812, + "value": "=", + "start": 15746, + "end": 15747, "loc": { "start": { - "line": 401, - "column": 38 + "line": 467, + "column": 32 }, "end": { - "line": 401, - "column": 39 + "line": 467, + "column": 33 } } }, @@ -88675,43 +106690,42 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 13813, - "end": 13814, + "value": "children", + "start": 15748, + "end": 15756, "loc": { "start": { - "line": 401, - "column": 40 + "line": 467, + "column": 34 }, "end": { - "line": 401, - "column": 41 + "line": 467, + "column": 42 } } }, { "type": { - "label": "", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 13815, - "end": 13816, + "start": 15756, + "end": 15757, "loc": { "start": { - "line": 401, + "line": 467, "column": 42 }, "end": { - "line": 401, + "line": 467, "column": 43 } } @@ -88728,24 +106742,24 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 13817, - "end": 13820, + "value": "i", + "start": 15757, + "end": 15758, "loc": { "start": { - "line": 401, - "column": 44 + "line": 467, + "column": 43 }, "end": { - "line": 401, - "column": 47 + "line": 467, + "column": 44 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -88755,76 +106769,76 @@ "binop": null, "updateContext": null }, - "start": 13820, - "end": 13821, + "start": 15758, + "end": 15759, "loc": { "start": { - "line": 401, - "column": 47 + "line": 467, + "column": 44 }, "end": { - "line": 401, - "column": 48 + "line": 467, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 13822, - "end": 13823, + "start": 15759, + "end": 15760, "loc": { "start": { - "line": 401, - "column": 49 + "line": 467, + "column": 45 }, "end": { - "line": 401, - "column": 50 + "line": 467, + "column": 46 } } }, { "type": { - "label": "++/--", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, + "prefix": false, + "postfix": false, "binop": null }, - "value": "++", - "start": 13823, - "end": 13825, + "value": "parseNodesWithoutNames", + "start": 15777, + "end": 15799, "loc": { "start": { - "line": 401, - "column": 50 + "line": 468, + "column": 16 }, "end": { - "line": 401, - "column": 52 + "line": 468, + "column": 38 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -88832,23 +106846,23 @@ "postfix": false, "binop": null }, - "start": 13825, - "end": 13826, + "start": 15799, + "end": 15800, "loc": { "start": { - "line": 401, - "column": 52 + "line": 468, + "column": 38 }, "end": { - "line": 401, - "column": 53 + "line": 468, + "column": 39 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -88857,24 +106871,24 @@ "postfix": false, "binop": null }, - "start": 13827, - "end": 13828, + "value": "ctx", + "start": 15800, + "end": 15803, "loc": { "start": { - "line": 401, - "column": 54 + "line": 468, + "column": 39 }, "end": { - "line": 401, - "column": 55 + "line": 468, + "column": 42 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -88884,17 +106898,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 13837, - "end": 13842, + "start": 15803, + "end": 15804, "loc": { "start": { - "line": 402, - "column": 8 + "line": 468, + "column": 42 }, "end": { - "line": 402, - "column": 13 + "line": 468, + "column": 43 } } }, @@ -88910,44 +106923,43 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 13843, - "end": 13847, + "value": "childNode", + "start": 15805, + "end": 15814, "loc": { "start": { - "line": 402, - "column": 14 + "line": 468, + "column": 44 }, "end": { - "line": 402, - "column": 18 + "line": 468, + "column": 53 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 13848, - "end": 13849, + "start": 15814, + "end": 15815, "loc": { "start": { - "line": 402, - "column": 19 + "line": 468, + "column": 53 }, "end": { - "line": 402, - "column": 20 + "line": 468, + "column": 54 } } }, @@ -88963,49 +106975,50 @@ "postfix": false, "binop": null }, - "value": "nodes", - "start": 13850, - "end": 13855, + "value": "depth", + "start": 15816, + "end": 15821, "loc": { "start": { - "line": 402, - "column": 21 + "line": 468, + "column": 55 }, "end": { - "line": 402, - "column": 26 + "line": 468, + "column": 60 } } }, { "type": { - "label": "[", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 13855, - "end": 13856, + "value": "+", + "start": 15822, + "end": 15823, "loc": { "start": { - "line": 402, - "column": 26 + "line": 468, + "column": 61 }, "end": { - "line": 402, - "column": 27 + "line": 468, + "column": 62 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -89013,26 +107026,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 13856, - "end": 13857, + "value": 1, + "start": 15824, + "end": 15825, "loc": { "start": { - "line": 402, - "column": 27 + "line": 468, + "column": 63 }, "end": { - "line": 402, - "column": 28 + "line": 468, + "column": 64 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -89042,50 +107056,50 @@ "binop": null, "updateContext": null }, - "start": 13857, - "end": 13858, + "start": 15825, + "end": 15826, "loc": { "start": { - "line": 402, - "column": 28 + "line": 468, + "column": 64 }, "end": { - "line": 402, - "column": 29 + "line": 468, + "column": 65 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13858, - "end": 13859, + "value": "matrix", + "start": 15827, + "end": 15833, "loc": { "start": { - "line": 402, - "column": 29 + "line": 468, + "column": 66 }, "end": { - "line": 402, - "column": 30 + "line": 468, + "column": 72 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -89093,25 +107107,50 @@ "postfix": false, "binop": null }, - "value": "countMeshUsage", - "start": 13868, - "end": 13882, + "start": 15833, + "end": 15834, "loc": { "start": { - "line": 403, - "column": 8 + "line": 468, + "column": 72 }, "end": { - "line": 403, - "column": 22 + "line": 468, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 15834, + "end": 15835, + "loc": { + "start": { + "line": 468, + "column": 73 + }, + "end": { + "line": 468, + "column": 74 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -89119,24 +107158,24 @@ "postfix": false, "binop": null }, - "start": 13882, - "end": 13883, + "start": 15848, + "end": 15849, "loc": { "start": { - "line": 403, - "column": 22 + "line": 469, + "column": 12 }, "end": { - "line": 403, - "column": 23 + "line": 469, + "column": 13 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -89144,24 +107183,24 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 13883, - "end": 13886, + "start": 15858, + "end": 15859, "loc": { "start": { - "line": 403, - "column": 23 + "line": 470, + "column": 8 }, "end": { - "line": 403, - "column": 26 + "line": 470, + "column": 9 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -89171,23 +107210,24 @@ "binop": null, "updateContext": null }, - "start": 13886, - "end": 13887, + "value": "if", + "start": 15868, + "end": 15870, "loc": { "start": { - "line": 403, - "column": 26 + "line": 471, + "column": 8 }, "end": { - "line": 403, - "column": 27 + "line": 471, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -89196,25 +107236,24 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 13888, - "end": 13892, + "start": 15871, + "end": 15872, "loc": { "start": { - "line": 403, - "column": 28 + "line": 471, + "column": 11 }, "end": { - "line": 403, - "column": 32 + "line": 471, + "column": 12 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -89222,22 +107261,23 @@ "postfix": false, "binop": null }, - "start": 13892, - "end": 13893, + "value": "depth", + "start": 15872, + "end": 15877, "loc": { "start": { - "line": 403, - "column": 32 + "line": 471, + "column": 12 }, "end": { - "line": 403, - "column": 33 + "line": 471, + "column": 17 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -89245,78 +107285,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 13893, - "end": 13894, + "value": "===", + "start": 15878, + "end": 15881, "loc": { "start": { - "line": 403, - "column": 33 + "line": 471, + "column": 18 }, "end": { - "line": 403, - "column": 34 + "line": 471, + "column": 21 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13899, - "end": 13900, + "value": 0, + "start": 15882, + "end": 15883, "loc": { "start": { - "line": 404, - "column": 4 + "line": 471, + "column": 22 }, "end": { - "line": 404, - "column": 5 + "line": 471, + "column": 23 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "for", - "start": 13905, - "end": 13908, + "start": 15883, + "end": 15884, "loc": { "start": { - "line": 405, - "column": 4 + "line": 471, + "column": 23 }, "end": { - "line": 405, - "column": 7 + "line": 471, + "column": 24 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -89326,16 +107366,16 @@ "postfix": false, "binop": null }, - "start": 13909, - "end": 13910, + "start": 15885, + "end": 15886, "loc": { "start": { - "line": 405, - "column": 8 + "line": 471, + "column": 25 }, "end": { - "line": 405, - "column": 9 + "line": 471, + "column": 26 } } }, @@ -89354,16 +107394,16 @@ "updateContext": null }, "value": "let", - "start": 13910, - "end": 13913, + "start": 15899, + "end": 15902, "loc": { "start": { - "line": 405, - "column": 9 + "line": 472, + "column": 12 }, "end": { - "line": 405, - "column": 12 + "line": 472, + "column": 15 } } }, @@ -89379,17 +107419,17 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 13914, - "end": 13915, + "value": "entityId", + "start": 15903, + "end": 15911, "loc": { "start": { - "line": 405, - "column": 13 + "line": 472, + "column": 16 }, "end": { - "line": 405, - "column": 14 + "line": 472, + "column": 24 } } }, @@ -89407,22 +107447,22 @@ "updateContext": null }, "value": "=", - "start": 13916, - "end": 13917, + "start": 15912, + "end": 15913, "loc": { "start": { - "line": 405, - "column": 15 + "line": 472, + "column": 25 }, "end": { - "line": 405, - "column": 16 + "line": 472, + "column": 26 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -89433,43 +107473,44 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 13918, - "end": 13919, + "value": "entity-", + "start": 15914, + "end": 15923, "loc": { "start": { - "line": 405, - "column": 17 + "line": 472, + "column": 27 }, "end": { - "line": 405, - "column": 18 + "line": 472, + "column": 36 } } }, { "type": { - "label": ",", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 13919, - "end": 13920, + "value": "+", + "start": 15924, + "end": 15925, "loc": { "start": { - "line": 405, - "column": 18 + "line": 472, + "column": 37 }, "end": { - "line": 405, - "column": 19 + "line": 472, + "column": 38 } } }, @@ -89485,44 +107526,43 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 13921, - "end": 13924, + "value": "ctx", + "start": 15926, + "end": 15929, "loc": { "start": { - "line": 405, - "column": 20 + "line": 472, + "column": 39 }, "end": { - "line": 405, - "column": 23 + "line": 472, + "column": 42 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 13925, - "end": 13926, + "start": 15929, + "end": 15930, "loc": { "start": { - "line": 405, - "column": 24 + "line": 472, + "column": 42 }, "end": { - "line": 405, - "column": 25 + "line": 472, + "column": 43 } } }, @@ -89538,24 +107578,50 @@ "postfix": false, "binop": null }, - "value": "nodes", - "start": 13927, - "end": 13932, + "value": "nextId", + "start": 15930, + "end": 15936, "loc": { "start": { - "line": 405, - "column": 26 + "line": 472, + "column": 43 }, "end": { - "line": 405, - "column": 31 + "line": 472, + "column": 49 } } }, { "type": { - "label": ".", + "label": "++/--", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 15936, + "end": 15938, + "loc": { + "start": { + "line": 472, + "column": 49 + }, + "end": { + "line": 472, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -89565,68 +107631,69 @@ "binop": null, "updateContext": null }, - "start": 13932, - "end": 13933, + "start": 15938, + "end": 15939, "loc": { "start": { - "line": 405, - "column": 31 + "line": 472, + "column": 51 }, "end": { - "line": 405, - "column": 32 + "line": 472, + "column": 52 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 13933, - "end": 13939, + "value": "if", + "start": 15952, + "end": 15954, "loc": { "start": { - "line": 405, - "column": 32 + "line": 473, + "column": 12 }, "end": { - "line": 405, - "column": 38 + "line": 473, + "column": 14 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13939, - "end": 13940, + "start": 15955, + "end": 15956, "loc": { "start": { - "line": 405, - "column": 38 + "line": 473, + "column": 15 }, "end": { - "line": 405, - "column": 39 + "line": 473, + "column": 16 } } }, @@ -89642,23 +107709,23 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 13941, - "end": 13942, + "value": "meshIds", + "start": 15956, + "end": 15963, "loc": { "start": { - "line": 405, - "column": 40 + "line": 473, + "column": 16 }, "end": { - "line": 405, - "column": 41 + "line": 473, + "column": 23 } } }, { "type": { - "label": "", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -89666,20 +107733,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": 2, "updateContext": null }, - "value": "<", - "start": 13943, - "end": 13944, + "value": "&&", + "start": 15964, + "end": 15966, "loc": { "start": { - "line": 405, - "column": 42 + "line": 473, + "column": 24 }, "end": { - "line": 405, - "column": 43 + "line": 473, + "column": 26 } } }, @@ -89695,24 +107762,24 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 13945, - "end": 13948, + "value": "meshIds", + "start": 15967, + "end": 15974, "loc": { "start": { - "line": 405, - "column": 44 + "line": 473, + "column": 27 }, "end": { - "line": 405, - "column": 47 + "line": 473, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -89722,16 +107789,16 @@ "binop": null, "updateContext": null }, - "start": 13948, - "end": 13949, + "start": 15974, + "end": 15975, "loc": { "start": { - "line": 405, - "column": 47 + "line": 473, + "column": 34 }, "end": { - "line": 405, - "column": 48 + "line": 473, + "column": 35 } } }, @@ -89747,76 +107814,79 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 13950, - "end": 13951, + "value": "length", + "start": 15975, + "end": 15981, "loc": { "start": { - "line": 405, - "column": 49 + "line": 473, + "column": 35 }, "end": { - "line": 405, - "column": 50 + "line": 473, + "column": 41 } } }, { "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, + "label": "", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null + "prefix": false, + "postfix": false, + "binop": 7, + "updateContext": null }, - "value": "++", - "start": 13951, - "end": 13953, + "value": ">", + "start": 15982, + "end": 15983, "loc": { "start": { - "line": 405, - "column": 50 + "line": 473, + "column": 42 }, "end": { - "line": 405, - "column": 52 + "line": 473, + "column": 43 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 13953, - "end": 13954, + "value": 0, + "start": 15984, + "end": 15985, "loc": { "start": { - "line": 405, - "column": 52 + "line": 473, + "column": 44 }, "end": { - "line": 405, - "column": 53 + "line": 473, + "column": 45 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -89824,44 +107894,41 @@ "postfix": false, "binop": null }, - "start": 13955, - "end": 13956, + "start": 15985, + "end": 15986, "loc": { "start": { - "line": 405, - "column": 54 + "line": 473, + "column": 45 }, "end": { - "line": 405, - "column": 55 + "line": 473, + "column": 46 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 13965, - "end": 13970, + "start": 15987, + "end": 15988, "loc": { "start": { - "line": 406, - "column": 8 + "line": 473, + "column": 47 }, "end": { - "line": 406, - "column": 13 + "line": 473, + "column": 48 } } }, @@ -89877,43 +107944,42 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 13971, - "end": 13975, + "value": "ctx", + "start": 16005, + "end": 16008, "loc": { "start": { - "line": 406, - "column": 14 + "line": 474, + "column": 16 }, "end": { - "line": 406, - "column": 18 + "line": 474, + "column": 19 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 13976, - "end": 13977, + "start": 16008, + "end": 16009, "loc": { "start": { - "line": 406, + "line": 474, "column": 19 }, "end": { - "line": 406, + "line": 474, "column": 20 } } @@ -89930,23 +107996,23 @@ "postfix": false, "binop": null }, - "value": "nodes", - "start": 13978, - "end": 13983, + "value": "log", + "start": 16009, + "end": 16012, "loc": { "start": { - "line": 406, - "column": 21 + "line": 474, + "column": 20 }, "end": { - "line": 406, - "column": 26 + "line": 474, + "column": 23 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -89954,25 +108020,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13983, - "end": 13984, + "start": 16012, + "end": 16013, "loc": { "start": { - "line": 406, - "column": 26 + "line": 474, + "column": 23 }, "end": { - "line": 406, - "column": 27 + "line": 474, + "column": 24 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -89980,79 +108045,81 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 13984, - "end": 13985, + "value": "Creating XKTEntity with default ID: ", + "start": 16013, + "end": 16051, "loc": { "start": { - "line": 406, - "column": 27 + "line": 474, + "column": 24 }, "end": { - "line": 406, - "column": 28 + "line": 474, + "column": 62 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 13985, - "end": 13986, + "value": "+", + "start": 16052, + "end": 16053, "loc": { "start": { - "line": 406, - "column": 28 + "line": 474, + "column": 63 }, "end": { - "line": 406, - "column": 29 + "line": 474, + "column": 64 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 13986, - "end": 13987, + "value": "entityId", + "start": 16054, + "end": 16062, "loc": { "start": { - "line": 406, - "column": 29 + "line": 474, + "column": 65 }, "end": { - "line": 406, - "column": 30 + "line": 474, + "column": 73 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -90060,42 +108127,42 @@ "postfix": false, "binop": null }, - "value": "parseNode", - "start": 13996, - "end": 14005, + "start": 16062, + "end": 16063, "loc": { "start": { - "line": 407, - "column": 8 + "line": 474, + "column": 73 }, "end": { - "line": 407, - "column": 17 + "line": 474, + "column": 74 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14005, - "end": 14006, + "start": 16063, + "end": 16064, "loc": { "start": { - "line": 407, - "column": 17 + "line": 474, + "column": 74 }, "end": { - "line": 407, - "column": 18 + "line": 474, + "column": 75 } } }, @@ -90112,23 +108179,23 @@ "binop": null }, "value": "ctx", - "start": 14006, - "end": 14009, + "start": 16081, + "end": 16084, "loc": { "start": { - "line": 407, - "column": 18 + "line": 475, + "column": 16 }, "end": { - "line": 407, - "column": 21 + "line": 475, + "column": 19 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -90138,16 +108205,16 @@ "binop": null, "updateContext": null }, - "start": 14009, - "end": 14010, + "start": 16084, + "end": 16085, "loc": { "start": { - "line": 407, - "column": 21 + "line": 475, + "column": 19 }, "end": { - "line": 407, - "column": 22 + "line": 475, + "column": 20 } } }, @@ -90163,24 +108230,24 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 14011, - "end": 14015, + "value": "xktModel", + "start": 16085, + "end": 16093, "loc": { "start": { - "line": 407, - "column": 23 + "line": 475, + "column": 20 }, "end": { - "line": 407, - "column": 27 + "line": 475, + "column": 28 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -90190,22 +108257,22 @@ "binop": null, "updateContext": null }, - "start": 14015, - "end": 14016, + "start": 16093, + "end": 16094, "loc": { "start": { - "line": 407, - "column": 27 + "line": 475, + "column": 28 }, "end": { - "line": 407, - "column": 28 + "line": 475, + "column": 29 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -90213,82 +108280,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 14017, - "end": 14018, + "value": "createEntity", + "start": 16094, + "end": 16106, "loc": { "start": { - "line": 407, + "line": 475, "column": 29 }, "end": { - "line": 407, - "column": 30 + "line": 475, + "column": 41 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14018, - "end": 14019, + "start": 16106, + "end": 16107, "loc": { "start": { - "line": 407, - "column": 30 + "line": 475, + "column": 41 }, "end": { - "line": 407, - "column": 31 + "line": 475, + "column": 42 } } }, { "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "null", - "start": 14020, - "end": 14024, + "start": 16107, + "end": 16108, "loc": { "start": { - "line": 407, - "column": 32 + "line": 475, + "column": 42 }, "end": { - "line": 407, - "column": 36 + "line": 475, + "column": 43 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -90296,22 +108358,23 @@ "postfix": false, "binop": null }, - "start": 14024, - "end": 14025, + "value": "entityId", + "start": 16129, + "end": 16137, "loc": { "start": { - "line": 407, - "column": 36 + "line": 476, + "column": 20 }, "end": { - "line": 407, - "column": 37 + "line": 476, + "column": 28 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -90322,24 +108385,24 @@ "binop": null, "updateContext": null }, - "start": 14025, - "end": 14026, + "start": 16137, + "end": 16138, "loc": { "start": { - "line": 407, - "column": 37 + "line": 476, + "column": 28 }, "end": { - "line": 407, - "column": 38 + "line": 476, + "column": 29 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -90347,16 +108410,17 @@ "postfix": false, "binop": null }, - "start": 14031, - "end": 14032, + "value": "meshIds", + "start": 16159, + "end": 16166, "loc": { "start": { - "line": 408, - "column": 4 + "line": 477, + "column": 20 }, "end": { - "line": 408, - "column": 5 + "line": 477, + "column": 27 } } }, @@ -90372,25 +108436,24 @@ "postfix": false, "binop": null }, - "start": 14033, - "end": 14034, + "start": 16183, + "end": 16184, "loc": { "start": { - "line": 409, - "column": 0 + "line": 478, + "column": 16 }, "end": { - "line": 409, - "column": 1 + "line": 478, + "column": 17 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -90398,50 +108461,49 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 14036, - "end": 14044, + "start": 16184, + "end": 16185, "loc": { "start": { - "line": 411, - "column": 0 + "line": 478, + "column": 17 }, "end": { - "line": 411, - "column": 8 + "line": 478, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "countMeshUsage", - "start": 14045, - "end": 14059, + "start": 16185, + "end": 16186, "loc": { "start": { - "line": 411, - "column": 9 + "line": 478, + "column": 18 }, "end": { - "line": 411, - "column": 23 + "line": 478, + "column": 19 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -90450,151 +108512,155 @@ "postfix": false, "binop": null }, - "start": 14059, - "end": 14060, + "value": "meshIds", + "start": 16203, + "end": 16210, "loc": { "start": { - "line": 411, - "column": 23 + "line": 479, + "column": 16 }, "end": { - "line": 411, - "column": 24 + "line": 479, + "column": 23 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 14060, - "end": 14063, + "start": 16210, + "end": 16211, "loc": { "start": { - "line": 411, - "column": 24 + "line": 479, + "column": 23 }, "end": { - "line": 411, - "column": 27 + "line": 479, + "column": 24 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14063, - "end": 14064, + "value": "length", + "start": 16211, + "end": 16217, "loc": { "start": { - "line": 411, - "column": 27 + "line": 479, + "column": 24 }, "end": { - "line": 411, - "column": 28 + "line": 479, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "node", - "start": 14065, - "end": 14069, + "value": "=", + "start": 16218, + "end": 16219, "loc": { "start": { - "line": 411, - "column": 29 + "line": 479, + "column": 31 }, "end": { - "line": 411, - "column": 33 + "line": 479, + "column": 32 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14069, - "end": 14070, + "value": 0, + "start": 16220, + "end": 16221, "loc": { "start": { - "line": 411, + "line": 479, "column": 33 }, "end": { - "line": 411, + "line": 479, "column": 34 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14071, - "end": 14072, + "start": 16221, + "end": 16222, "loc": { "start": { - "line": 411, - "column": 35 + "line": 479, + "column": 34 }, "end": { - "line": 411, - "column": 36 + "line": 479, + "column": 35 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -90602,20 +108668,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 14077, - "end": 14082, + "start": 16235, + "end": 16236, "loc": { "start": { - "line": 412, - "column": 4 + "line": 480, + "column": 12 }, "end": { - "line": 412, - "column": 9 + "line": 480, + "column": 13 } } }, @@ -90631,43 +108695,42 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 14083, - "end": 14087, + "value": "ctx", + "start": 16249, + "end": 16252, "loc": { "start": { - "line": 412, - "column": 10 + "line": 481, + "column": 12 }, "end": { - "line": 412, - "column": 14 + "line": 481, + "column": 15 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 14088, - "end": 14089, + "start": 16252, + "end": 16253, "loc": { "start": { - "line": 412, + "line": 481, "column": 15 }, "end": { - "line": 412, + "line": 481, "column": 16 } } @@ -90684,16 +108747,16 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 14090, - "end": 14094, + "value": "stats", + "start": 16253, + "end": 16258, "loc": { "start": { - "line": 412, - "column": 17 + "line": 481, + "column": 16 }, "end": { - "line": 412, + "line": 481, "column": 21 } } @@ -90711,15 +108774,15 @@ "binop": null, "updateContext": null }, - "start": 14094, - "end": 14095, + "start": 16258, + "end": 16259, "loc": { "start": { - "line": 412, + "line": 481, "column": 21 }, "end": { - "line": 412, + "line": 481, "column": 22 } } @@ -90736,17 +108799,43 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 14095, - "end": 14099, + "value": "numObjects", + "start": 16259, + "end": 16269, "loc": { "start": { - "line": 412, + "line": 481, "column": 22 }, "end": { - "line": 412, - "column": 26 + "line": 481, + "column": 32 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 16269, + "end": 16271, + "loc": { + "start": { + "line": 481, + "column": 32 + }, + "end": { + "line": 481, + "column": 34 } } }, @@ -90763,23 +108852,22 @@ "binop": null, "updateContext": null }, - "start": 14099, - "end": 14100, + "start": 16271, + "end": 16272, "loc": { "start": { - "line": 412, - "column": 26 + "line": 481, + "column": 34 }, "end": { - "line": 412, - "column": 27 + "line": 481, + "column": 35 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -90787,28 +108875,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 14105, - "end": 14107, + "start": 16281, + "end": 16282, "loc": { "start": { - "line": 413, - "column": 4 + "line": 482, + "column": 8 }, "end": { - "line": 413, - "column": 6 + "line": 482, + "column": 9 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -90816,24 +108902,24 @@ "postfix": false, "binop": null }, - "start": 14108, - "end": 14109, + "start": 16287, + "end": 16288, "loc": { "start": { - "line": 413, - "column": 7 + "line": 483, + "column": 4 }, "end": { - "line": 413, - "column": 8 + "line": 483, + "column": 5 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -90841,17 +108927,16 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 14109, - "end": 14113, + "start": 16289, + "end": 16290, "loc": { "start": { - "line": 413, - "column": 8 + "line": 484, + "column": 0 }, "end": { - "line": 413, - "column": 12 + "line": 484, + "column": 1 } } }, @@ -90867,22 +108952,22 @@ "postfix": false, "binop": null }, - "start": 14113, - "end": 14114, + "start": 16290, + "end": 16291, "loc": { "start": { - "line": 413, - "column": 12 + "line": 484, + "column": 1 }, "end": { - "line": 413, - "column": 13 + "line": 484, + "column": 2 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -90892,24 +108977,24 @@ "postfix": false, "binop": null }, - "start": 14115, - "end": 14116, + "start": 16291, + "end": 16292, "loc": { "start": { - "line": 413, - "column": 14 + "line": 484, + "column": 2 }, "end": { - "line": 413, - "column": 15 + "line": 484, + "column": 3 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -90917,23 +109002,65 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 14125, - "end": 14129, + "start": 16292, + "end": 16293, "loc": { "start": { - "line": 414, - "column": 8 + "line": 484, + "column": 3 }, "end": { - "line": 414, - "column": 12 + "line": 484, + "column": 4 } } }, { "type": { - "label": ".", + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 16293, + "end": 16294, + "loc": { + "start": { + "line": 484, + "column": 4 + }, + "end": { + "line": 484, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Parses a glTF node hierarchy that is known to contain \"name\" attributes on the nodes.\n *\n * Create a XKTMesh for each mesh primitive, and XKTEntity for each named node.\n *\n * Following a depth-first traversal, each XKTEntity is created on post-visit of each named node,\n * and gets all the XKTMeshes created since the last XKTEntity created.\n ", + "start": 16297, + "end": 16649, + "loc": { + "start": { + "line": 487, + "column": 0 + }, + "end": { + "line": 494, + "column": 3 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -90944,16 +109071,17 @@ "binop": null, "updateContext": null }, - "start": 14129, - "end": 14130, + "value": "const", + "start": 16650, + "end": 16655, "loc": { "start": { - "line": 414, - "column": 12 + "line": 495, + "column": 0 }, "end": { - "line": 414, - "column": 13 + "line": 495, + "column": 5 } } }, @@ -90969,17 +109097,17 @@ "postfix": false, "binop": null }, - "value": "instances", - "start": 14130, - "end": 14139, + "value": "parseNodesWithNames", + "start": 16656, + "end": 16675, "loc": { "start": { - "line": 414, - "column": 13 + "line": 495, + "column": 6 }, "end": { - "line": 414, - "column": 22 + "line": 495, + "column": 25 } } }, @@ -90997,23 +109125,23 @@ "updateContext": null }, "value": "=", - "start": 14140, - "end": 14141, + "start": 16676, + "end": 16677, "loc": { "start": { - "line": 414, - "column": 23 + "line": 495, + "column": 26 }, "end": { - "line": 414, - "column": 24 + "line": 495, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -91022,50 +109150,50 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 14142, - "end": 14146, + "start": 16678, + "end": 16679, "loc": { "start": { - "line": 414, - "column": 25 + "line": 495, + "column": 28 }, "end": { - "line": 414, + "line": 495, "column": 29 } } }, { "type": { - "label": ".", + "label": "function", + "keyword": "function", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14146, - "end": 14147, + "value": "function", + "start": 16679, + "end": 16687, "loc": { "start": { - "line": 414, + "line": 495, "column": 29 }, "end": { - "line": 414, - "column": 30 + "line": 495, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -91074,50 +109202,48 @@ "postfix": false, "binop": null }, - "value": "instances", - "start": 14147, - "end": 14156, + "start": 16688, + "end": 16689, "loc": { "start": { - "line": 414, - "column": 30 + "line": 495, + "column": 38 }, "end": { - "line": 414, + "line": 495, "column": 39 } } }, { "type": { - "label": "?", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14157, - "end": 14158, + "start": 16689, + "end": 16690, "loc": { "start": { - "line": 414, - "column": 40 + "line": 495, + "column": 39 }, "end": { - "line": 414, - "column": 41 + "line": 495, + "column": 40 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -91126,23 +109252,23 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 14159, - "end": 14163, + "start": 16691, + "end": 16692, "loc": { "start": { - "line": 414, - "column": 42 + "line": 495, + "column": 41 }, "end": { - "line": 414, - "column": 46 + "line": 495, + "column": 42 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -91153,16 +109279,17 @@ "binop": null, "updateContext": null }, - "start": 14163, - "end": 14164, + "value": "const", + "start": 16698, + "end": 16703, "loc": { "start": { - "line": 414, - "column": 46 + "line": 497, + "column": 4 }, "end": { - "line": 414, - "column": 47 + "line": 497, + "column": 9 } } }, @@ -91178,51 +109305,51 @@ "postfix": false, "binop": null }, - "value": "instances", - "start": 14164, - "end": 14173, + "value": "objectIdStack", + "start": 16704, + "end": 16717, "loc": { "start": { - "line": 414, - "column": 47 + "line": 497, + "column": 10 }, "end": { - "line": 414, - "column": 56 + "line": 497, + "column": 23 } } }, { "type": { - "label": "+/-", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, - "prefix": true, + "isAssign": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 14174, - "end": 14175, + "value": "=", + "start": 16718, + "end": 16719, "loc": { "start": { - "line": 414, - "column": 57 + "line": 497, + "column": 24 }, "end": { - "line": 414, - "column": 58 + "line": 497, + "column": 25 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -91232,24 +109359,23 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 14176, - "end": 14177, + "start": 16720, + "end": 16721, "loc": { "start": { - "line": 414, - "column": 59 + "line": 497, + "column": 26 }, "end": { - "line": 414, - "column": 60 + "line": 497, + "column": 27 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -91259,24 +109385,24 @@ "binop": null, "updateContext": null }, - "start": 14178, - "end": 14179, + "start": 16721, + "end": 16722, "loc": { "start": { - "line": 414, - "column": 61 + "line": 497, + "column": 27 }, "end": { - "line": 414, - "column": 62 + "line": 497, + "column": 28 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -91285,24 +109411,24 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 14180, - "end": 14181, + "start": 16722, + "end": 16723, "loc": { "start": { - "line": 414, - "column": 63 + "line": 497, + "column": 28 }, "end": { - "line": 414, - "column": 64 + "line": 497, + "column": 29 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -91312,24 +109438,25 @@ "binop": null, "updateContext": null }, - "start": 14181, - "end": 14182, + "value": "const", + "start": 16728, + "end": 16733, "loc": { "start": { - "line": 414, - "column": 64 + "line": 498, + "column": 4 }, "end": { - "line": 414, - "column": 65 + "line": 498, + "column": 9 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -91337,50 +109464,50 @@ "postfix": false, "binop": null }, - "start": 14187, - "end": 14188, + "value": "meshIdsStack", + "start": 16734, + "end": 16746, "loc": { "start": { - "line": 415, - "column": 4 + "line": 498, + "column": 10 }, "end": { - "line": 415, - "column": 5 + "line": 498, + "column": 22 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "if", - "start": 14193, - "end": 14195, + "value": "=", + "start": 16747, + "end": 16748, "loc": { "start": { - "line": 416, - "column": 4 + "line": 498, + "column": 23 }, "end": { - "line": 416, - "column": 6 + "line": 498, + "column": 24 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -91388,51 +109515,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14196, - "end": 14197, + "start": 16749, + "end": 16750, "loc": { "start": { - "line": 416, - "column": 7 + "line": 498, + "column": 25 }, "end": { - "line": 416, - "column": 8 + "line": 498, + "column": 26 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "node", - "start": 14197, - "end": 14201, + "start": 16750, + "end": 16751, "loc": { "start": { - "line": 416, - "column": 8 + "line": 498, + "column": 26 }, "end": { - "line": 416, - "column": 12 + "line": 498, + "column": 27 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -91442,50 +109570,52 @@ "binop": null, "updateContext": null }, - "start": 14201, - "end": 14202, + "start": 16751, + "end": 16752, "loc": { "start": { - "line": 416, - "column": 12 + "line": 498, + "column": 27 }, "end": { - "line": 416, - "column": 13 + "line": 498, + "column": 28 } } }, { "type": { - "label": "name", + "label": "let", + "keyword": "let", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "children", - "start": 14202, - "end": 14210, + "value": "let", + "start": 16757, + "end": 16760, "loc": { "start": { - "line": 416, - "column": 13 + "line": 499, + "column": 4 }, "end": { - "line": 416, - "column": 21 + "line": 499, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -91493,50 +109623,53 @@ "postfix": false, "binop": null }, - "start": 14210, - "end": 14211, + "value": "meshIds", + "start": 16761, + "end": 16768, "loc": { "start": { - "line": 416, - "column": 21 + "line": 499, + "column": 8 }, "end": { - "line": 416, - "column": 22 + "line": 499, + "column": 15 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14212, - "end": 14213, + "value": "=", + "start": 16769, + "end": 16770, "loc": { "start": { - "line": 416, - "column": 23 + "line": 499, + "column": 16 }, "end": { - "line": 416, - "column": 24 + "line": 499, + "column": 17 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "null", + "keyword": "null", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -91545,76 +109678,78 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 14222, - "end": 14227, + "value": "null", + "start": 16771, + "end": 16775, "loc": { "start": { - "line": 417, - "column": 8 + "line": 499, + "column": 18 }, "end": { - "line": 417, - "column": 13 + "line": 499, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "children", - "start": 14228, - "end": 14236, + "start": 16775, + "end": 16776, "loc": { "start": { - "line": 417, - "column": 14 + "line": 499, + "column": 22 }, "end": { - "line": 417, - "column": 22 + "line": 499, + "column": 23 } } }, { "type": { - "label": "=", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 14237, - "end": 14238, + "value": "return", + "start": 16782, + "end": 16788, "loc": { "start": { - "line": 417, - "column": 23 + "line": 501, + "column": 4 }, "end": { - "line": 417, - "column": 24 + "line": 501, + "column": 10 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -91624,43 +109759,42 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 14239, - "end": 14243, + "value": "function", + "start": 16789, + "end": 16797, "loc": { "start": { - "line": 417, - "column": 25 + "line": 501, + "column": 11 }, "end": { - "line": 417, - "column": 29 + "line": 501, + "column": 19 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14243, - "end": 14244, + "start": 16798, + "end": 16799, "loc": { "start": { - "line": 417, - "column": 29 + "line": 501, + "column": 20 }, "end": { - "line": 417, - "column": 30 + "line": 501, + "column": 21 } } }, @@ -91676,23 +109810,23 @@ "postfix": false, "binop": null }, - "value": "children", - "start": 14244, - "end": 14252, + "value": "ctx", + "start": 16799, + "end": 16802, "loc": { "start": { - "line": 417, - "column": 30 + "line": 501, + "column": 21 }, "end": { - "line": 417, - "column": 38 + "line": 501, + "column": 24 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -91703,51 +109837,75 @@ "binop": null, "updateContext": null }, - "start": 14252, - "end": 14253, + "start": 16802, + "end": 16803, "loc": { "start": { - "line": 417, - "column": 38 + "line": 501, + "column": 24 }, "end": { - "line": 417, - "column": 39 + "line": 501, + "column": 25 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": "name", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "node", + "start": 16804, + "end": 16808, + "loc": { + "start": { + "line": 501, + "column": 26 + }, + "end": { + "line": 501, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "for", - "start": 14262, - "end": 14265, + "start": 16808, + "end": 16809, "loc": { "start": { - "line": 418, - "column": 8 + "line": 501, + "column": 30 }, "end": { - "line": 418, - "column": 11 + "line": 501, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -91756,24 +109914,24 @@ "postfix": false, "binop": null }, - "start": 14266, - "end": 14267, + "value": "depth", + "start": 16810, + "end": 16815, "loc": { "start": { - "line": 418, - "column": 12 + "line": 501, + "column": 32 }, "end": { - "line": 418, - "column": 13 + "line": 501, + "column": 37 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -91783,17 +109941,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 14267, - "end": 14270, + "start": 16815, + "end": 16816, "loc": { "start": { - "line": 418, - "column": 13 + "line": 501, + "column": 37 }, "end": { - "line": 418, - "column": 16 + "line": 501, + "column": 38 } } }, @@ -91809,78 +109966,75 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 14271, - "end": 14272, + "value": "matrix", + "start": 16817, + "end": 16823, "loc": { "start": { - "line": 418, - "column": 17 + "line": 501, + "column": 39 }, "end": { - "line": 418, - "column": 18 + "line": 501, + "column": 45 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 14273, - "end": 14274, + "start": 16823, + "end": 16824, "loc": { "start": { - "line": 418, - "column": 19 + "line": 501, + "column": 45 }, "end": { - "line": 418, - "column": 20 + "line": 501, + "column": 46 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 14275, - "end": 14276, + "start": 16825, + "end": 16826, "loc": { "start": { - "line": 418, - "column": 21 + "line": 501, + "column": 47 }, "end": { - "line": 418, - "column": 22 + "line": 501, + "column": 48 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -91890,23 +110044,24 @@ "binop": null, "updateContext": null }, - "start": 14276, - "end": 14277, + "value": "if", + "start": 16835, + "end": 16837, "loc": { "start": { - "line": 418, - "column": 22 + "line": 502, + "column": 8 }, "end": { - "line": 418, - "column": 23 + "line": 502, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -91915,44 +110070,43 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 14278, - "end": 14281, + "start": 16838, + "end": 16839, "loc": { "start": { - "line": 418, - "column": 24 + "line": 502, + "column": 11 }, "end": { - "line": 418, - "column": 27 + "line": 502, + "column": 12 } } }, { "type": { - "label": "=", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, + "isAssign": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 14282, - "end": 14283, + "value": "!", + "start": 16839, + "end": 16840, "loc": { "start": { - "line": 418, - "column": 28 + "line": 502, + "column": 12 }, "end": { - "line": 418, - "column": 29 + "line": 502, + "column": 13 } } }, @@ -91968,23 +110122,23 @@ "postfix": false, "binop": null }, - "value": "children", - "start": 14284, - "end": 14292, + "value": "node", + "start": 16840, + "end": 16844, "loc": { "start": { - "line": 418, - "column": 30 + "line": 502, + "column": 13 }, "end": { - "line": 418, - "column": 38 + "line": 502, + "column": 17 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -91992,26 +110146,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14292, - "end": 14293, + "start": 16844, + "end": 16845, "loc": { "start": { - "line": 418, - "column": 38 + "line": 502, + "column": 17 }, "end": { - "line": 418, - "column": 39 + "line": 502, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -92020,23 +110173,23 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 14293, - "end": 14299, + "start": 16846, + "end": 16847, "loc": { "start": { - "line": 418, - "column": 39 + "line": 502, + "column": 19 }, "end": { - "line": 418, - "column": 45 + "line": 502, + "column": 20 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -92047,69 +110200,68 @@ "binop": null, "updateContext": null }, - "start": 14299, - "end": 14300, + "value": "return", + "start": 16860, + "end": 16866, "loc": { "start": { - "line": 418, - "column": 45 + "line": 503, + "column": 12 }, "end": { - "line": 418, - "column": 46 + "line": 503, + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 14301, - "end": 14302, + "start": 16866, + "end": 16867, "loc": { "start": { - "line": 418, - "column": 47 + "line": 503, + "column": 18 }, "end": { - "line": 418, - "column": 48 + "line": 503, + "column": 19 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": "<", - "start": 14303, - "end": 14304, + "start": 16876, + "end": 16877, "loc": { "start": { - "line": 418, - "column": 49 + "line": 504, + "column": 8 }, "end": { - "line": 418, - "column": 50 + "line": 504, + "column": 9 } } }, @@ -92125,43 +110277,44 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 14305, - "end": 14308, + "value": "matrix", + "start": 16886, + "end": 16892, "loc": { "start": { - "line": 418, - "column": 51 + "line": 505, + "column": 8 }, "end": { - "line": 418, - "column": 54 + "line": 505, + "column": 14 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 14308, - "end": 14309, + "value": "=", + "start": 16893, + "end": 16894, "loc": { "start": { - "line": 418, - "column": 54 + "line": 505, + "column": 15 }, "end": { - "line": 418, - "column": 55 + "line": 505, + "column": 16 } } }, @@ -92177,51 +110330,50 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 14310, - "end": 14311, + "value": "parseNodeMatrix", + "start": 16895, + "end": 16910, "loc": { "start": { - "line": 418, - "column": 56 + "line": 505, + "column": 17 }, "end": { - "line": 418, - "column": 57 + "line": 505, + "column": 32 } } }, { "type": { - "label": "++/--", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, + "prefix": false, + "postfix": false, "binop": null }, - "value": "++", - "start": 14311, - "end": 14313, + "start": 16910, + "end": 16911, "loc": { "start": { - "line": 418, - "column": 57 + "line": 505, + "column": 32 }, "end": { - "line": 418, - "column": 59 + "line": 505, + "column": 33 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -92229,77 +110381,77 @@ "postfix": false, "binop": null }, - "start": 14313, - "end": 14314, + "value": "node", + "start": 16911, + "end": 16915, "loc": { "start": { - "line": 418, - "column": 59 + "line": 505, + "column": 33 }, "end": { - "line": 418, - "column": 60 + "line": 505, + "column": 37 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14315, - "end": 14316, + "start": 16915, + "end": 16916, "loc": { "start": { - "line": 418, - "column": 61 + "line": 505, + "column": 37 }, "end": { - "line": 418, - "column": 62 + "line": 505, + "column": 38 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 14329, - "end": 14334, + "value": "matrix", + "start": 16917, + "end": 16923, "loc": { "start": { - "line": 419, - "column": 12 + "line": 505, + "column": 39 }, "end": { - "line": 419, - "column": 17 + "line": 505, + "column": 45 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -92307,76 +110459,76 @@ "postfix": false, "binop": null }, - "value": "childNode", - "start": 14335, - "end": 14344, + "start": 16923, + "end": 16924, "loc": { "start": { - "line": 419, - "column": 18 + "line": 505, + "column": 45 }, "end": { - "line": 419, - "column": 27 + "line": 505, + "column": 46 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 14345, - "end": 14346, + "start": 16924, + "end": 16925, "loc": { "start": { - "line": 419, - "column": 28 + "line": 505, + "column": 46 }, "end": { - "line": 419, - "column": 29 + "line": 505, + "column": 47 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "children", - "start": 14347, - "end": 14355, + "value": "if", + "start": 16934, + "end": 16936, "loc": { "start": { - "line": 419, - "column": 30 + "line": 506, + "column": 8 }, "end": { - "line": 419, - "column": 38 + "line": 506, + "column": 10 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -92384,19 +110536,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14355, - "end": 14356, + "start": 16937, + "end": 16938, "loc": { "start": { - "line": 419, - "column": 38 + "line": 506, + "column": 11 }, "end": { - "line": 419, - "column": 39 + "line": 506, + "column": 12 } } }, @@ -92412,23 +110563,23 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 14356, - "end": 14357, + "value": "node", + "start": 16938, + "end": 16942, "loc": { "start": { - "line": 419, - "column": 39 + "line": 506, + "column": 12 }, "end": { - "line": 419, - "column": 40 + "line": 506, + "column": 16 } } }, { "type": { - "label": "]", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -92439,49 +110590,48 @@ "binop": null, "updateContext": null }, - "start": 14357, - "end": 14358, + "start": 16942, + "end": 16943, "loc": { "start": { - "line": 419, - "column": 40 + "line": 506, + "column": 16 }, "end": { - "line": 419, - "column": 41 + "line": 506, + "column": 17 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14358, - "end": 14359, + "value": "name", + "start": 16943, + "end": 16947, "loc": { "start": { - "line": 419, - "column": 41 + "line": 506, + "column": 17 }, "end": { - "line": 419, - "column": 42 + "line": 506, + "column": 21 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -92489,26 +110639,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 14372, - "end": 14374, + "start": 16947, + "end": 16948, "loc": { "start": { - "line": 420, - "column": 12 + "line": 506, + "column": 21 }, "end": { - "line": 420, - "column": 14 + "line": 506, + "column": 22 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -92518,151 +110666,154 @@ "postfix": false, "binop": null }, - "start": 14375, - "end": 14376, + "start": 16949, + "end": 16950, "loc": { "start": { - "line": 420, - "column": 15 + "line": 506, + "column": 23 }, "end": { - "line": 420, - "column": 16 + "line": 506, + "column": 24 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 14376, - "end": 14377, + "value": "meshIds", + "start": 16963, + "end": 16970, "loc": { "start": { - "line": 420, - "column": 16 + "line": 507, + "column": 12 }, "end": { - "line": 420, - "column": 17 + "line": 507, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "childNode", - "start": 14377, - "end": 14386, + "value": "=", + "start": 16971, + "end": 16972, "loc": { "start": { - "line": 420, - "column": 17 + "line": 507, + "column": 20 }, "end": { - "line": 420, - "column": 26 + "line": 507, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14386, - "end": 14387, + "start": 16973, + "end": 16974, "loc": { "start": { - "line": 420, - "column": 26 + "line": 507, + "column": 22 }, "end": { - "line": 420, - "column": 27 + "line": 507, + "column": 23 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14388, - "end": 14389, + "start": 16974, + "end": 16975, "loc": { "start": { - "line": 420, - "column": 28 + "line": 507, + "column": 23 }, "end": { - "line": 420, - "column": 29 + "line": 507, + "column": 24 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 14406, - "end": 14409, + "start": 16975, + "end": 16976, "loc": { "start": { - "line": 421, - "column": 16 + "line": 507, + "column": 24 }, "end": { - "line": 421, - "column": 19 + "line": 507, + "column": 25 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -92673,16 +110824,17 @@ "binop": null, "updateContext": null }, - "start": 14409, - "end": 14410, + "value": "let", + "start": 16989, + "end": 16992, "loc": { "start": { - "line": 421, - "column": 19 + "line": 508, + "column": 12 }, "end": { - "line": 421, - "column": 20 + "line": 508, + "column": 15 } } }, @@ -92698,48 +110850,50 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 14410, - "end": 14415, + "value": "xktEntityId", + "start": 16993, + "end": 17004, "loc": { "start": { - "line": 421, - "column": 20 + "line": 508, + "column": 16 }, "end": { - "line": 421, - "column": 25 + "line": 508, + "column": 27 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14415, - "end": 14416, + "value": "=", + "start": 17005, + "end": 17006, "loc": { "start": { - "line": 421, - "column": 25 + "line": 508, + "column": 28 }, "end": { - "line": 421, - "column": 26 + "line": 508, + "column": 29 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -92747,47 +110901,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Node not found: ", - "start": 14416, - "end": 14434, + "value": "node", + "start": 17007, + "end": 17011, "loc": { "start": { - "line": 421, - "column": 26 + "line": 508, + "column": 30 }, "end": { - "line": 421, - "column": 44 + "line": 508, + "column": 34 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 14435, - "end": 14436, + "start": 17011, + "end": 17012, "loc": { "start": { - "line": 421, - "column": 45 + "line": 508, + "column": 34 }, "end": { - "line": 421, - "column": 46 + "line": 508, + "column": 35 } } }, @@ -92803,49 +110955,51 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 14437, - "end": 14438, + "value": "name", + "start": 17012, + "end": 17016, "loc": { "start": { - "line": 421, - "column": 47 + "line": 508, + "column": 35 }, "end": { - "line": 421, - "column": 48 + "line": 508, + "column": 39 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14438, - "end": 14439, + "start": 17016, + "end": 17017, "loc": { "start": { - "line": 421, - "column": 48 + "line": 508, + "column": 39 }, "end": { - "line": 421, - "column": 49 + "line": 508, + "column": 40 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -92855,95 +111009,96 @@ "binop": null, "updateContext": null }, - "start": 14439, - "end": 14440, + "value": "if", + "start": 17030, + "end": 17032, "loc": { "start": { - "line": 421, - "column": 49 + "line": 509, + "column": 12 }, "end": { - "line": 421, - "column": 50 + "line": 509, + "column": 14 } } }, { "type": { - "label": "continue", - "keyword": "continue", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "continue", - "start": 14457, - "end": 14465, + "start": 17033, + "end": 17034, "loc": { "start": { - "line": 422, - "column": 16 + "line": 509, + "column": 15 }, "end": { - "line": 422, - "column": 24 + "line": 509, + "column": 16 } } }, { "type": { - "label": ";", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 14465, - "end": 14466, + "value": "!", + "start": 17034, + "end": 17035, "loc": { "start": { - "line": 422, - "column": 24 + "line": 509, + "column": 16 }, "end": { - "line": 422, - "column": 25 + "line": 509, + "column": 17 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14479, - "end": 14480, + "value": "!", + "start": 17035, + "end": 17036, "loc": { "start": { - "line": 423, - "column": 12 + "line": 509, + "column": 17 }, "end": { - "line": 423, - "column": 13 + "line": 509, + "column": 18 } } }, @@ -92959,42 +111114,44 @@ "postfix": false, "binop": null }, - "value": "countMeshUsage", - "start": 14493, - "end": 14507, + "value": "xktEntityId", + "start": 17036, + "end": 17047, "loc": { "start": { - "line": 424, - "column": 12 + "line": 509, + "column": 18 }, "end": { - "line": 424, - "column": 26 + "line": 509, + "column": 29 } } }, { "type": { - "label": "(", + "label": "&&", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 2, + "updateContext": null }, - "start": 14507, - "end": 14508, + "value": "&&", + "start": 17048, + "end": 17050, "loc": { "start": { - "line": 424, - "column": 26 + "line": 509, + "column": 30 }, "end": { - "line": 424, - "column": 27 + "line": 509, + "column": 32 } } }, @@ -93011,23 +111168,23 @@ "binop": null }, "value": "ctx", - "start": 14508, - "end": 14511, + "start": 17051, + "end": 17054, "loc": { "start": { - "line": 424, - "column": 27 + "line": 509, + "column": 33 }, "end": { - "line": 424, - "column": 30 + "line": 509, + "column": 36 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -93037,16 +111194,16 @@ "binop": null, "updateContext": null }, - "start": 14511, - "end": 14512, + "start": 17054, + "end": 17055, "loc": { "start": { - "line": 424, - "column": 30 + "line": 509, + "column": 36 }, "end": { - "line": 424, - "column": 31 + "line": 509, + "column": 37 } } }, @@ -93062,23 +111219,23 @@ "postfix": false, "binop": null }, - "value": "childNode", - "start": 14513, - "end": 14522, + "value": "xktModel", + "start": 17055, + "end": 17063, "loc": { "start": { - "line": 424, - "column": 32 + "line": 509, + "column": 37 }, "end": { - "line": 424, - "column": 41 + "line": 509, + "column": 45 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -93086,52 +111243,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 14522, - "end": 14523, - "loc": { - "start": { - "line": 424, - "column": 41 - }, - "end": { - "line": 424, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 14523, - "end": 14524, + "start": 17063, + "end": 17064, "loc": { "start": { - "line": 424, - "column": 42 + "line": 509, + "column": 45 }, "end": { - "line": 424, - "column": 43 + "line": 509, + "column": 46 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -93139,49 +111271,51 @@ "postfix": false, "binop": null }, - "start": 14533, - "end": 14534, + "value": "entities", + "start": 17064, + "end": 17072, "loc": { "start": { - "line": 425, - "column": 8 + "line": 509, + "column": 46 }, "end": { - "line": 425, - "column": 9 + "line": 509, + "column": 54 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14539, - "end": 14540, + "start": 17072, + "end": 17073, "loc": { "start": { - "line": 426, - "column": 4 + "line": 509, + "column": 54 }, "end": { - "line": 426, - "column": 5 + "line": 509, + "column": 55 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -93189,23 +111323,23 @@ "postfix": false, "binop": null }, - "start": 14541, - "end": 14542, + "value": "xktEntityId", + "start": 17073, + "end": 17084, "loc": { "start": { - "line": 427, - "column": 0 + "line": 509, + "column": 55 }, "end": { - "line": 427, - "column": 1 + "line": 509, + "column": 66 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -93216,25 +111350,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 14544, - "end": 14549, + "start": 17084, + "end": 17085, "loc": { "start": { - "line": 429, - "column": 0 + "line": 509, + "column": 66 }, "end": { - "line": 429, - "column": 5 + "line": 509, + "column": 67 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -93242,76 +111375,73 @@ "postfix": false, "binop": null }, - "value": "objectIdStack", - "start": 14550, - "end": 14563, + "start": 17085, + "end": 17086, "loc": { "start": { - "line": 429, - "column": 6 + "line": 509, + "column": 67 }, "end": { - "line": 429, - "column": 19 + "line": 509, + "column": 68 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 14564, - "end": 14565, + "start": 17087, + "end": 17088, "loc": { "start": { - "line": 429, - "column": 20 + "line": 509, + "column": 69 }, "end": { - "line": 429, - "column": 21 + "line": 509, + "column": 70 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14566, - "end": 14567, + "value": "ctx", + "start": 17105, + "end": 17108, "loc": { "start": { - "line": 429, - "column": 22 + "line": 510, + "column": 16 }, "end": { - "line": 429, - "column": 23 + "line": 510, + "column": 19 } } }, { "type": { - "label": "]", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -93322,76 +111452,73 @@ "binop": null, "updateContext": null }, - "start": 14567, - "end": 14568, + "start": 17108, + "end": 17109, "loc": { "start": { - "line": 429, - "column": 23 + "line": 510, + "column": 19 }, "end": { - "line": 429, - "column": 24 + "line": 510, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14568, - "end": 14569, + "value": "log", + "start": 17109, + "end": 17112, "loc": { "start": { - "line": 429, - "column": 24 + "line": 510, + "column": 20 }, "end": { - "line": 429, - "column": 25 + "line": 510, + "column": 23 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 14570, - "end": 14575, + "start": 17112, + "end": 17113, "loc": { "start": { - "line": 430, - "column": 0 + "line": 510, + "column": 23 }, "end": { - "line": 430, - "column": 5 + "line": 510, + "column": 24 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -93401,50 +111528,49 @@ "postfix": false, "binop": null }, - "value": "meshIdsStack", - "start": 14576, - "end": 14588, + "start": 17113, + "end": 17114, "loc": { "start": { - "line": 430, - "column": 6 + "line": 510, + "column": 24 }, "end": { - "line": 430, - "column": 18 + "line": 510, + "column": 25 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 14589, - "end": 14590, + "value": "Warning: Two or more glTF nodes found with same 'name' attribute: '", + "start": 17114, + "end": 17181, "loc": { "start": { - "line": 430, - "column": 19 + "line": 510, + "column": 25 }, "end": { - "line": 430, - "column": 20 + "line": 510, + "column": 92 } } }, { "type": { - "label": "[", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -93452,78 +111578,75 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14591, - "end": 14592, + "start": 17181, + "end": 17183, "loc": { "start": { - "line": 430, - "column": 21 + "line": 510, + "column": 92 }, "end": { - "line": 430, - "column": 22 + "line": 510, + "column": 94 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14592, - "end": 14593, + "value": "xktEntityId", + "start": 17183, + "end": 17194, "loc": { "start": { - "line": 430, - "column": 22 + "line": 510, + "column": 94 }, "end": { - "line": 430, - "column": 23 + "line": 510, + "column": 105 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14593, - "end": 14594, + "start": 17194, + "end": 17195, "loc": { "start": { - "line": 430, - "column": 23 + "line": 510, + "column": 105 }, "end": { - "line": 430, - "column": 24 + "line": 510, + "column": 106 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -93534,23 +111657,23 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 14596, - "end": 14599, + "value": " - will randomly-generating an object ID in XKT", + "start": 17195, + "end": 17242, "loc": { "start": { - "line": 432, - "column": 0 + "line": 510, + "column": 106 }, "end": { - "line": 432, - "column": 3 + "line": 510, + "column": 153 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -93560,53 +111683,49 @@ "postfix": false, "binop": null }, - "value": "meshIds", - "start": 14600, - "end": 14607, + "start": 17242, + "end": 17243, "loc": { "start": { - "line": 432, - "column": 4 + "line": 510, + "column": 153 }, "end": { - "line": 432, - "column": 11 + "line": 510, + "column": 154 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 14608, - "end": 14609, + "start": 17243, + "end": 17244, "loc": { "start": { - "line": 432, - "column": 12 + "line": 510, + "column": 154 }, "end": { - "line": 432, - "column": 13 + "line": 510, + "column": 155 } } }, { "type": { - "label": "null", - "keyword": "null", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -93615,77 +111734,76 @@ "binop": null, "updateContext": null }, - "value": "null", - "start": 14610, - "end": 14614, + "start": 17244, + "end": 17245, "loc": { "start": { - "line": 432, - "column": 14 + "line": 510, + "column": 155 }, "end": { - "line": 432, - "column": 18 + "line": 510, + "column": 156 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14614, - "end": 14615, + "start": 17258, + "end": 17259, "loc": { "start": { - "line": 432, - "column": 18 + "line": 511, + "column": 12 }, "end": { - "line": 432, - "column": 19 + "line": 511, + "column": 13 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "while", + "keyword": "while", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 14617, - "end": 14625, + "value": "while", + "start": 17272, + "end": 17277, "loc": { "start": { - "line": 434, - "column": 0 + "line": 512, + "column": 12 }, "end": { - "line": 434, - "column": 8 + "line": 512, + "column": 17 } } }, { - "type": { - "label": "name", - "beforeExpr": false, + "type": { + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -93694,42 +111812,43 @@ "postfix": false, "binop": null }, - "value": "parseNode", - "start": 14626, - "end": 14635, + "start": 17278, + "end": 17279, "loc": { "start": { - "line": 434, - "column": 9 + "line": 512, + "column": 18 }, "end": { - "line": 434, - "column": 18 + "line": 512, + "column": 19 } } }, { "type": { - "label": "(", + "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14635, - "end": 14636, + "value": "!", + "start": 17279, + "end": 17280, "loc": { "start": { - "line": 434, - "column": 18 + "line": 512, + "column": 19 }, "end": { - "line": 434, - "column": 19 + "line": 512, + "column": 20 } } }, @@ -93745,23 +111864,23 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 14636, - "end": 14639, + "value": "xktEntityId", + "start": 17280, + "end": 17291, "loc": { "start": { - "line": 434, - "column": 19 + "line": 512, + "column": 20 }, "end": { - "line": 434, - "column": 22 + "line": 512, + "column": 31 } } }, { "type": { - "label": ",", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -93769,19 +111888,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "start": 14639, - "end": 14640, + "value": "||", + "start": 17292, + "end": 17294, "loc": { "start": { - "line": 434, - "column": 22 + "line": 512, + "column": 32 }, "end": { - "line": 434, - "column": 23 + "line": 512, + "column": 34 } } }, @@ -93797,24 +111917,24 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 14641, - "end": 14645, + "value": "ctx", + "start": 17295, + "end": 17298, "loc": { "start": { - "line": 434, - "column": 24 + "line": 512, + "column": 35 }, "end": { - "line": 434, - "column": 28 + "line": 512, + "column": 38 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -93824,16 +111944,16 @@ "binop": null, "updateContext": null }, - "start": 14645, - "end": 14646, + "start": 17298, + "end": 17299, "loc": { "start": { - "line": 434, - "column": 28 + "line": 512, + "column": 38 }, "end": { - "line": 434, - "column": 29 + "line": 512, + "column": 39 } } }, @@ -93849,24 +111969,24 @@ "postfix": false, "binop": null }, - "value": "depth", - "start": 14647, - "end": 14652, + "value": "xktModel", + "start": 17299, + "end": 17307, "loc": { "start": { - "line": 434, - "column": 30 + "line": 512, + "column": 39 }, "end": { - "line": 434, - "column": 35 + "line": 512, + "column": 47 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -93876,16 +111996,16 @@ "binop": null, "updateContext": null }, - "start": 14652, - "end": 14653, + "start": 17307, + "end": 17308, "loc": { "start": { - "line": 434, - "column": 35 + "line": 512, + "column": 47 }, "end": { - "line": 434, - "column": 36 + "line": 512, + "column": 48 } } }, @@ -93901,49 +112021,50 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 14654, - "end": 14660, + "value": "entities", + "start": 17308, + "end": 17316, "loc": { "start": { - "line": 434, - "column": 37 + "line": 512, + "column": 48 }, "end": { - "line": 434, - "column": 43 + "line": 512, + "column": 56 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14660, - "end": 14661, + "start": 17316, + "end": 17317, "loc": { "start": { - "line": 434, - "column": 43 + "line": 512, + "column": 56 }, "end": { - "line": 434, - "column": 44 + "line": 512, + "column": 57 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -93952,23 +112073,23 @@ "postfix": false, "binop": null }, - "start": 14662, - "end": 14663, + "value": "xktEntityId", + "start": 17317, + "end": 17328, "loc": { "start": { - "line": 434, - "column": 45 + "line": 512, + "column": 57 }, "end": { - "line": 434, - "column": 46 + "line": 512, + "column": 68 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -93979,25 +112100,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 14669, - "end": 14674, + "start": 17328, + "end": 17329, "loc": { "start": { - "line": 436, - "column": 4 + "line": 512, + "column": 68 }, "end": { - "line": 436, - "column": 9 + "line": 512, + "column": 69 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -94005,44 +112125,41 @@ "postfix": false, "binop": null }, - "value": "xktModel", - "start": 14675, - "end": 14683, + "start": 17329, + "end": 17330, "loc": { "start": { - "line": 436, - "column": 10 + "line": 512, + "column": 69 }, "end": { - "line": 436, - "column": 18 + "line": 512, + "column": 70 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 14684, - "end": 14685, + "start": 17331, + "end": 17332, "loc": { "start": { - "line": 436, - "column": 19 + "line": 512, + "column": 71 }, "end": { - "line": 436, - "column": 20 + "line": 512, + "column": 72 } } }, @@ -94058,49 +112175,50 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 14686, - "end": 14689, + "value": "xktEntityId", + "start": 17349, + "end": 17360, "loc": { "start": { - "line": 436, - "column": 21 + "line": 513, + "column": 16 }, "end": { - "line": 436, - "column": 24 + "line": 513, + "column": 27 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 14689, - "end": 14690, + "value": "=", + "start": 17361, + "end": 17362, "loc": { "start": { - "line": 436, - "column": 24 + "line": 513, + "column": 28 }, "end": { - "line": 436, - "column": 25 + "line": 513, + "column": 29 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -94108,68 +112226,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "xktModel", - "start": 14690, - "end": 14698, + "value": "entity-", + "start": 17363, + "end": 17372, "loc": { "start": { - "line": 436, - "column": 25 + "line": 513, + "column": 30 }, "end": { - "line": 436, - "column": 33 + "line": 513, + "column": 39 } } }, { "type": { - "label": ";", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 14698, - "end": 14699, + "value": "+", + "start": 17373, + "end": 17374, "loc": { "start": { - "line": 436, - "column": 33 + "line": 513, + "column": 40 }, "end": { - "line": 436, - "column": 34 + "line": 513, + "column": 41 } } }, { - "type": "CommentLine", - "value": " Pre-order visit scene node", - "start": 14705, - "end": 14734, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ctx", + "start": 17375, + "end": 17378, "loc": { "start": { - "line": 438, - "column": 4 + "line": 513, + "column": 42 }, "end": { - "line": 438, - "column": 33 + "line": 513, + "column": 45 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -94180,17 +112309,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 14740, - "end": 14743, + "start": 17378, + "end": 17379, "loc": { "start": { - "line": 440, - "column": 4 + "line": 513, + "column": 45 }, "end": { - "line": 440, - "column": 7 + "line": 513, + "column": 46 } } }, @@ -94206,51 +112334,50 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 14744, - "end": 14755, + "value": "nextId", + "start": 17379, + "end": 17385, "loc": { "start": { - "line": 440, - "column": 8 + "line": 513, + "column": 46 }, "end": { - "line": 440, - "column": 19 + "line": 513, + "column": 52 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "prefix": true, + "postfix": true, + "binop": null }, - "start": 14755, - "end": 14756, + "value": "++", + "start": 17385, + "end": 17387, "loc": { "start": { - "line": 440, - "column": 19 + "line": 513, + "column": 52 }, "end": { - "line": 440, - "column": 20 + "line": 513, + "column": 54 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -94260,25 +112387,24 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 14761, - "end": 14763, + "start": 17387, + "end": 17388, "loc": { "start": { - "line": 441, - "column": 4 + "line": 513, + "column": 54 }, "end": { - "line": 441, - "column": 6 + "line": 513, + "column": 55 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -94286,16 +112412,16 @@ "postfix": false, "binop": null }, - "start": 14764, - "end": 14765, + "start": 17401, + "end": 17402, "loc": { "start": { - "line": 441, - "column": 7 + "line": 514, + "column": 12 }, "end": { - "line": 441, - "column": 8 + "line": 514, + "column": 13 } } }, @@ -94311,17 +112437,17 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 14765, - "end": 14769, + "value": "objectIdStack", + "start": 17415, + "end": 17428, "loc": { "start": { - "line": 441, - "column": 8 + "line": 515, + "column": 12 }, "end": { - "line": 441, - "column": 12 + "line": 515, + "column": 25 } } }, @@ -94338,16 +112464,16 @@ "binop": null, "updateContext": null }, - "start": 14769, - "end": 14770, + "start": 17428, + "end": 17429, "loc": { "start": { - "line": 441, - "column": 12 + "line": 515, + "column": 25 }, "end": { - "line": 441, - "column": 13 + "line": 515, + "column": 26 } } }, @@ -94363,25 +112489,25 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 14770, - "end": 14776, + "value": "push", + "start": 17429, + "end": 17433, "loc": { "start": { - "line": 441, - "column": 13 + "line": 515, + "column": 26 }, "end": { - "line": 441, - "column": 19 + "line": 515, + "column": 30 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -94389,23 +112515,23 @@ "postfix": false, "binop": null }, - "start": 14776, - "end": 14777, + "start": 17433, + "end": 17434, "loc": { "start": { - "line": 441, - "column": 19 + "line": 515, + "column": 30 }, "end": { - "line": 441, - "column": 20 + "line": 515, + "column": 31 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -94414,24 +112540,25 @@ "postfix": false, "binop": null }, - "start": 14778, - "end": 14779, + "value": "xktEntityId", + "start": 17434, + "end": 17445, "loc": { "start": { - "line": 441, - "column": 21 + "line": 515, + "column": 31 }, "end": { - "line": 441, - "column": 22 + "line": 515, + "column": 42 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -94439,44 +112566,42 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 14788, - "end": 14799, + "start": 17445, + "end": 17446, "loc": { "start": { - "line": 442, - "column": 8 + "line": 515, + "column": 42 }, "end": { - "line": 442, - "column": 19 + "line": 515, + "column": 43 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 14800, - "end": 14801, + "start": 17446, + "end": 17447, "loc": { "start": { - "line": 442, - "column": 20 + "line": 515, + "column": 43 }, "end": { - "line": 442, - "column": 21 + "line": 515, + "column": 44 } } }, @@ -94492,17 +112617,17 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 14802, - "end": 14806, + "value": "meshIdsStack", + "start": 17460, + "end": 17472, "loc": { "start": { - "line": 442, - "column": 22 + "line": 516, + "column": 12 }, "end": { - "line": 442, - "column": 26 + "line": 516, + "column": 24 } } }, @@ -94519,16 +112644,16 @@ "binop": null, "updateContext": null }, - "start": 14806, - "end": 14807, + "start": 17472, + "end": 17473, "loc": { "start": { - "line": 442, - "column": 26 + "line": 516, + "column": 24 }, "end": { - "line": 442, - "column": 27 + "line": 516, + "column": 25 } } }, @@ -94544,50 +112669,74 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 14807, - "end": 14813, + "value": "push", + "start": 17473, + "end": 17477, "loc": { "start": { - "line": 442, - "column": 27 + "line": 516, + "column": 25 }, "end": { - "line": 442, - "column": 33 + "line": 516, + "column": 29 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14813, - "end": 14814, + "start": 17477, + "end": 17478, "loc": { "start": { - "line": 442, - "column": 33 + "line": 516, + "column": 29 }, "end": { - "line": 442, - "column": 34 + "line": 516, + "column": 30 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "meshIds", + "start": 17478, + "end": 17485, + "loc": { + "start": { + "line": 516, + "column": 30 + }, + "end": { + "line": 516, + "column": 37 + } + } + }, + { + "type": { + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -94595,53 +112744,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 14823, - "end": 14825, + "start": 17485, + "end": 17486, "loc": { "start": { - "line": 443, - "column": 8 + "line": 516, + "column": 37 }, "end": { - "line": 443, - "column": 10 + "line": 516, + "column": 38 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14826, - "end": 14827, + "start": 17486, + "end": 17487, "loc": { "start": { - "line": 443, - "column": 11 + "line": 516, + "column": 38 }, "end": { - "line": 443, - "column": 12 + "line": 516, + "column": 39 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -94649,23 +112797,23 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 14827, - "end": 14833, + "start": 17496, + "end": 17497, "loc": { "start": { - "line": 443, - "column": 12 + "line": 517, + "column": 8 }, "end": { - "line": 443, - "column": 18 + "line": 517, + "column": 9 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -94673,24 +112821,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14833, - "end": 14834, + "value": "if", + "start": 17506, + "end": 17508, "loc": { "start": { - "line": 443, - "column": 18 + "line": 518, + "column": 8 }, "end": { - "line": 443, - "column": 19 + "line": 518, + "column": 10 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -94700,16 +112850,16 @@ "postfix": false, "binop": null }, - "start": 14835, - "end": 14836, + "start": 17509, + "end": 17510, "loc": { "start": { - "line": 443, - "column": 20 + "line": 518, + "column": 11 }, "end": { - "line": 443, - "column": 21 + "line": 518, + "column": 12 } } }, @@ -94725,44 +112875,44 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 14849, - "end": 14855, + "value": "meshIds", + "start": 17510, + "end": 17517, "loc": { "start": { - "line": 444, + "line": 518, "column": 12 }, "end": { - "line": 444, - "column": 18 + "line": 518, + "column": 19 } } }, { "type": { - "label": "=", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "value": "=", - "start": 14856, - "end": 14857, + "value": "&&", + "start": 17518, + "end": 17520, "loc": { "start": { - "line": 444, - "column": 19 + "line": 518, + "column": 20 }, "end": { - "line": 444, - "column": 20 + "line": 518, + "column": 22 } } }, @@ -94778,17 +112928,17 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 14858, - "end": 14862, + "value": "node", + "start": 17521, + "end": 17525, "loc": { "start": { - "line": 444, - "column": 21 + "line": 518, + "column": 23 }, "end": { - "line": 444, - "column": 25 + "line": 518, + "column": 27 } } }, @@ -94805,16 +112955,16 @@ "binop": null, "updateContext": null }, - "start": 14862, - "end": 14863, + "start": 17525, + "end": 17526, "loc": { "start": { - "line": 444, - "column": 25 + "line": 518, + "column": 27 }, "end": { - "line": 444, - "column": 26 + "line": 518, + "column": 28 } } }, @@ -94830,23 +112980,48 @@ "postfix": false, "binop": null }, - "value": "mulMat4", - "start": 14863, - "end": 14870, + "value": "mesh", + "start": 17526, + "end": 17530, "loc": { "start": { - "line": 444, - "column": 26 + "line": 518, + "column": 28 }, "end": { - "line": 444, + "line": 518, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 17530, + "end": 17531, + "loc": { + "start": { + "line": 518, + "column": 32 + }, + "end": { + "line": 518, "column": 33 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -94856,16 +113031,16 @@ "postfix": false, "binop": null }, - "start": 14870, - "end": 14871, + "start": 17532, + "end": 17533, "loc": { "start": { - "line": 444, - "column": 33 + "line": 518, + "column": 34 }, "end": { - "line": 444, - "column": 34 + "line": 518, + "column": 35 } } }, @@ -94881,43 +113056,42 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 14871, - "end": 14877, + "value": "parseNodeMesh", + "start": 17546, + "end": 17559, "loc": { "start": { - "line": 444, - "column": 34 + "line": 519, + "column": 12 }, "end": { - "line": 444, - "column": 40 + "line": 519, + "column": 25 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 14877, - "end": 14878, + "start": 17559, + "end": 17560, "loc": { "start": { - "line": 444, - "column": 40 + "line": 519, + "column": 25 }, "end": { - "line": 444, - "column": 41 + "line": 519, + "column": 26 } } }, @@ -94933,17 +113107,17 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 14879, - "end": 14890, + "value": "node", + "start": 17560, + "end": 17564, "loc": { "start": { - "line": 444, - "column": 42 + "line": 519, + "column": 26 }, "end": { - "line": 444, - "column": 53 + "line": 519, + "column": 30 } } }, @@ -94960,16 +113134,16 @@ "binop": null, "updateContext": null }, - "start": 14890, - "end": 14891, + "start": 17564, + "end": 17565, "loc": { "start": { - "line": 444, - "column": 53 + "line": 519, + "column": 30 }, "end": { - "line": 444, - "column": 54 + "line": 519, + "column": 31 } } }, @@ -94985,24 +113159,24 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 14892, - "end": 14896, + "value": "ctx", + "start": 17566, + "end": 17569, "loc": { "start": { - "line": 444, - "column": 55 + "line": 519, + "column": 32 }, "end": { - "line": 444, - "column": 59 + "line": 519, + "column": 35 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -95012,16 +113186,16 @@ "binop": null, "updateContext": null }, - "start": 14896, - "end": 14897, + "start": 17569, + "end": 17570, "loc": { "start": { - "line": 444, - "column": 59 + "line": 519, + "column": 35 }, "end": { - "line": 444, - "column": 60 + "line": 519, + "column": 36 } } }, @@ -95037,50 +113211,51 @@ "postfix": false, "binop": null }, - "value": "mat4", - "start": 14897, - "end": 14901, + "value": "matrix", + "start": 17571, + "end": 17577, "loc": { "start": { - "line": 444, - "column": 60 + "line": 519, + "column": 37 }, "end": { - "line": 444, - "column": 64 + "line": 519, + "column": 43 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14901, - "end": 14902, + "start": 17577, + "end": 17578, "loc": { "start": { - "line": 444, - "column": 64 + "line": 519, + "column": 43 }, "end": { - "line": 444, - "column": 65 + "line": 519, + "column": 44 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -95088,16 +113263,17 @@ "postfix": false, "binop": null }, - "start": 14902, - "end": 14903, + "value": "meshIds", + "start": 17579, + "end": 17586, "loc": { "start": { - "line": 444, - "column": 65 + "line": 519, + "column": 45 }, "end": { - "line": 444, - "column": 66 + "line": 519, + "column": 52 } } }, @@ -95113,16 +113289,16 @@ "postfix": false, "binop": null }, - "start": 14903, - "end": 14904, + "start": 17586, + "end": 17587, "loc": { "start": { - "line": 444, - "column": 66 + "line": 519, + "column": 52 }, "end": { - "line": 444, - "column": 67 + "line": 519, + "column": 53 } } }, @@ -95139,16 +113315,16 @@ "binop": null, "updateContext": null }, - "start": 14904, - "end": 14905, + "start": 17587, + "end": 17588, "loc": { "start": { - "line": 444, - "column": 67 + "line": 519, + "column": 53 }, "end": { - "line": 444, - "column": 68 + "line": 519, + "column": 54 } } }, @@ -95164,24 +113340,24 @@ "postfix": false, "binop": null }, - "start": 14914, - "end": 14915, + "start": 17597, + "end": 17598, "loc": { "start": { - "line": 445, + "line": 520, "column": 8 }, "end": { - "line": 445, + "line": 520, "column": 9 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -95191,23 +113367,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 14916, - "end": 14920, + "value": "if", + "start": 17607, + "end": 17609, "loc": { "start": { - "line": 445, - "column": 10 + "line": 521, + "column": 8 }, "end": { - "line": 445, - "column": 14 + "line": 521, + "column": 10 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -95217,16 +113393,16 @@ "postfix": false, "binop": null }, - "start": 14921, - "end": 14922, + "start": 17610, + "end": 17611, "loc": { "start": { - "line": 445, - "column": 15 + "line": 521, + "column": 11 }, "end": { - "line": 445, - "column": 16 + "line": 521, + "column": 12 } } }, @@ -95242,44 +113418,43 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 14935, - "end": 14941, + "value": "node", + "start": 17611, + "end": 17615, "loc": { "start": { - "line": 446, + "line": 521, "column": 12 }, "end": { - "line": 446, - "column": 18 + "line": 521, + "column": 16 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 14942, - "end": 14943, + "start": 17615, + "end": 17616, "loc": { "start": { - "line": 446, - "column": 19 + "line": 521, + "column": 16 }, "end": { - "line": 446, - "column": 20 + "line": 521, + "column": 17 } } }, @@ -95295,49 +113470,23 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 14944, - "end": 14955, - "loc": { - "start": { - "line": 446, - "column": 21 - }, - "end": { - "line": 446, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14955, - "end": 14956, + "value": "children", + "start": 17616, + "end": 17624, "loc": { "start": { - "line": 446, - "column": 32 + "line": 521, + "column": 17 }, "end": { - "line": 446, - "column": 33 + "line": 521, + "column": 25 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -95347,24 +113496,24 @@ "postfix": false, "binop": null }, - "start": 14965, - "end": 14966, + "start": 17624, + "end": 17625, "loc": { "start": { - "line": 447, - "column": 8 + "line": 521, + "column": 25 }, "end": { - "line": 447, - "column": 9 + "line": 521, + "column": 26 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -95372,23 +113521,23 @@ "postfix": false, "binop": null }, - "start": 14971, - "end": 14972, + "start": 17626, + "end": 17627, "loc": { "start": { - "line": 448, - "column": 4 + "line": 521, + "column": 27 }, "end": { - "line": 448, - "column": 5 + "line": 521, + "column": 28 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -95399,42 +113548,17 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 14977, - "end": 14979, - "loc": { - "start": { - "line": 449, - "column": 4 - }, - "end": { - "line": 449, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14980, - "end": 14981, + "value": "const", + "start": 17640, + "end": 17645, "loc": { "start": { - "line": 449, - "column": 7 + "line": 522, + "column": 12 }, "end": { - "line": 449, - "column": 8 + "line": 522, + "column": 17 } } }, @@ -95450,43 +113574,44 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 14981, - "end": 14985, + "value": "children", + "start": 17646, + "end": 17654, "loc": { "start": { - "line": 449, - "column": 8 + "line": 522, + "column": 18 }, "end": { - "line": 449, - "column": 12 + "line": 522, + "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 14985, - "end": 14986, + "value": "=", + "start": 17655, + "end": 17656, "loc": { "start": { - "line": 449, - "column": 12 + "line": 522, + "column": 27 }, "end": { - "line": 449, - "column": 13 + "line": 522, + "column": 28 } } }, @@ -95502,23 +113627,23 @@ "postfix": false, "binop": null }, - "value": "translation", - "start": 14986, - "end": 14997, + "value": "node", + "start": 17657, + "end": 17661, "loc": { "start": { - "line": 449, - "column": 13 + "line": 522, + "column": 29 }, "end": { - "line": 449, - "column": 24 + "line": 522, + "column": 33 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -95526,43 +113651,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 14997, - "end": 14998, - "loc": { - "start": { - "line": 449, - "column": 24 - }, - "end": { - "line": 449, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14999, - "end": 15000, + "start": 17661, + "end": 17662, "loc": { "start": { - "line": 449, - "column": 26 + "line": 522, + "column": 33 }, "end": { - "line": 449, - "column": 27 + "line": 522, + "column": 34 } } }, @@ -95578,103 +113679,78 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 15009, - "end": 15020, + "value": "children", + "start": 17662, + "end": 17670, "loc": { "start": { - "line": 450, - "column": 8 + "line": 522, + "column": 34 }, "end": { - "line": 450, - "column": 19 + "line": 522, + "column": 42 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 15021, - "end": 15022, - "loc": { - "start": { - "line": 450, - "column": 20 - }, - "end": { - "line": 450, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "math", - "start": 15023, - "end": 15027, + "start": 17670, + "end": 17671, "loc": { "start": { - "line": 450, - "column": 22 + "line": 522, + "column": 42 }, "end": { - "line": 450, - "column": 26 + "line": 522, + "column": 43 } } }, { "type": { - "label": ".", + "label": "for", + "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 15027, - "end": 15028, + "value": "for", + "start": 17684, + "end": 17687, "loc": { "start": { - "line": 450, - "column": 26 + "line": 523, + "column": 12 }, "end": { - "line": 450, - "column": 27 + "line": 523, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -95683,42 +113759,44 @@ "postfix": false, "binop": null }, - "value": "translationMat4v", - "start": 15028, - "end": 15044, + "start": 17688, + "end": 17689, "loc": { "start": { - "line": 450, - "column": 27 + "line": 523, + "column": 16 }, "end": { - "line": 450, - "column": 43 + "line": 523, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15044, - "end": 15045, + "value": "let", + "start": 17689, + "end": 17692, "loc": { "start": { - "line": 450, - "column": 43 + "line": 523, + "column": 17 }, "end": { - "line": 450, - "column": 44 + "line": 523, + "column": 20 } } }, @@ -95734,49 +113812,50 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 15045, - "end": 15049, + "value": "i", + "start": 17693, + "end": 17694, "loc": { "start": { - "line": 450, - "column": 44 + "line": 523, + "column": 21 }, "end": { - "line": 450, - "column": 48 + "line": 523, + "column": 22 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 15049, - "end": 15050, + "value": "=", + "start": 17695, + "end": 17696, "loc": { "start": { - "line": 450, - "column": 48 + "line": 523, + "column": 23 }, "end": { - "line": 450, - "column": 49 + "line": 523, + "column": 24 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -95784,105 +113863,106 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "translation", - "start": 15050, - "end": 15061, + "value": 0, + "start": 17697, + "end": 17698, "loc": { "start": { - "line": 450, - "column": 49 + "line": 523, + "column": 25 }, "end": { - "line": 450, - "column": 60 + "line": 523, + "column": 26 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15061, - "end": 15062, + "start": 17698, + "end": 17699, "loc": { "start": { - "line": 450, - "column": 60 + "line": 523, + "column": 26 }, "end": { - "line": 450, - "column": 61 + "line": 523, + "column": 27 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 15062, - "end": 15063, + "value": "len", + "start": 17700, + "end": 17703, "loc": { "start": { - "line": 450, - "column": 61 + "line": 523, + "column": 28 }, "end": { - "line": 450, - "column": 62 + "line": 523, + "column": 31 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "if", - "start": 15072, - "end": 15074, + "value": "=", + "start": 17704, + "end": 17705, "loc": { "start": { - "line": 451, - "column": 8 + "line": 523, + "column": 32 }, "end": { - "line": 451, - "column": 10 + "line": 523, + "column": 33 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -95891,50 +113971,51 @@ "postfix": false, "binop": null }, - "start": 15075, - "end": 15076, + "value": "children", + "start": 17706, + "end": 17714, "loc": { "start": { - "line": 451, - "column": 11 + "line": 523, + "column": 34 }, "end": { - "line": 451, - "column": 12 + "line": 523, + "column": 42 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "matrix", - "start": 15076, - "end": 15082, + "start": 17714, + "end": 17715, "loc": { "start": { - "line": 451, - "column": 12 + "line": 523, + "column": 42 }, "end": { - "line": 451, - "column": 18 + "line": 523, + "column": 43 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -95942,41 +114023,43 @@ "postfix": false, "binop": null }, - "start": 15082, - "end": 15083, + "value": "length", + "start": 17715, + "end": 17721, "loc": { "start": { - "line": 451, - "column": 18 + "line": 523, + "column": 43 }, "end": { - "line": 451, - "column": 19 + "line": 523, + "column": 49 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15084, - "end": 15085, + "start": 17721, + "end": 17722, "loc": { "start": { - "line": 451, - "column": 20 + "line": 523, + "column": 49 }, "end": { - "line": 451, - "column": 21 + "line": 523, + "column": 50 } } }, @@ -95992,44 +114075,44 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 15098, - "end": 15104, + "value": "i", + "start": 17723, + "end": 17724, "loc": { "start": { - "line": 452, - "column": 12 + "line": 523, + "column": 51 }, "end": { - "line": 452, - "column": 18 + "line": 523, + "column": 52 } } }, { "type": { - "label": "=", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": "=", - "start": 15105, - "end": 15106, + "value": "<", + "start": 17725, + "end": 17726, "loc": { "start": { - "line": 452, - "column": 19 + "line": 523, + "column": 53 }, "end": { - "line": 452, - "column": 20 + "line": 523, + "column": 54 } } }, @@ -96045,24 +114128,24 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 15107, - "end": 15111, + "value": "len", + "start": 17727, + "end": 17730, "loc": { "start": { - "line": 452, - "column": 21 + "line": 523, + "column": 55 }, "end": { - "line": 452, - "column": 25 + "line": 523, + "column": 58 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -96072,16 +114155,16 @@ "binop": null, "updateContext": null }, - "start": 15111, - "end": 15112, + "start": 17730, + "end": 17731, "loc": { "start": { - "line": 452, - "column": 25 + "line": 523, + "column": 58 }, "end": { - "line": 452, - "column": 26 + "line": 523, + "column": 59 } } }, @@ -96097,50 +114180,51 @@ "postfix": false, "binop": null }, - "value": "mulMat4", - "start": 15112, - "end": 15119, + "value": "i", + "start": 17732, + "end": 17733, "loc": { "start": { - "line": 452, - "column": 26 + "line": 523, + "column": 60 }, "end": { - "line": 452, - "column": 33 + "line": 523, + "column": 61 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "++/--", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, + "prefix": true, + "postfix": true, "binop": null }, - "start": 15119, - "end": 15120, + "value": "++", + "start": 17733, + "end": 17735, "loc": { "start": { - "line": 452, - "column": 33 + "line": 523, + "column": 61 }, "end": { - "line": 452, - "column": 34 + "line": 523, + "column": 63 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -96148,50 +114232,23 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 15120, - "end": 15126, + "start": 17735, + "end": 17736, "loc": { "start": { - "line": 452, - "column": 34 + "line": 523, + "column": 63 }, "end": { - "line": 452, - "column": 40 + "line": 523, + "column": 64 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15126, - "end": 15127, - "loc": { - "start": { - "line": 452, - "column": 40 - }, - "end": { - "line": 452, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -96200,24 +114257,24 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 15128, - "end": 15139, + "start": 17737, + "end": 17738, "loc": { "start": { - "line": 452, - "column": 42 + "line": 523, + "column": 65 }, "end": { - "line": 452, - "column": 53 + "line": 523, + "column": 66 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -96227,16 +114284,17 @@ "binop": null, "updateContext": null }, - "start": 15139, - "end": 15140, + "value": "const", + "start": 17755, + "end": 17760, "loc": { "start": { - "line": 452, - "column": 53 + "line": 524, + "column": 16 }, "end": { - "line": 452, - "column": 54 + "line": 524, + "column": 21 } } }, @@ -96252,43 +114310,44 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 15141, - "end": 15145, + "value": "childNode", + "start": 17761, + "end": 17770, "loc": { "start": { - "line": 452, - "column": 55 + "line": 524, + "column": 22 }, "end": { - "line": 452, - "column": 59 + "line": 524, + "column": 31 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 15145, - "end": 15146, + "value": "=", + "start": 17771, + "end": 17772, "loc": { "start": { - "line": 452, - "column": 59 + "line": 524, + "column": 32 }, "end": { - "line": 452, - "column": 60 + "line": 524, + "column": 33 } } }, @@ -96304,23 +114363,23 @@ "postfix": false, "binop": null }, - "value": "mat4", - "start": 15146, - "end": 15150, + "value": "children", + "start": 17773, + "end": 17781, "loc": { "start": { - "line": 452, - "column": 60 + "line": 524, + "column": 34 }, "end": { - "line": 452, - "column": 64 + "line": 524, + "column": 42 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -96328,26 +114387,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15150, - "end": 15151, + "start": 17781, + "end": 17782, "loc": { "start": { - "line": 452, - "column": 64 + "line": 524, + "column": 42 }, "end": { - "line": 452, - "column": 65 + "line": 524, + "column": 43 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -96355,22 +114415,23 @@ "postfix": false, "binop": null }, - "start": 15151, - "end": 15152, + "value": "i", + "start": 17782, + "end": 17783, "loc": { "start": { - "line": 452, - "column": 65 + "line": 524, + "column": 43 }, "end": { - "line": 452, - "column": 66 + "line": 524, + "column": 44 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -96378,18 +114439,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15152, - "end": 15153, + "start": 17783, + "end": 17784, "loc": { "start": { - "line": 452, - "column": 66 + "line": 524, + "column": 44 }, "end": { - "line": 452, - "column": 67 + "line": 524, + "column": 45 } } }, @@ -96406,24 +114468,24 @@ "binop": null, "updateContext": null }, - "start": 15153, - "end": 15154, + "start": 17784, + "end": 17785, "loc": { "start": { - "line": 452, - "column": 67 + "line": 524, + "column": 45 }, "end": { - "line": 452, - "column": 68 + "line": 524, + "column": 46 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -96431,50 +114493,23 @@ "postfix": false, "binop": null }, - "start": 15163, - "end": 15164, - "loc": { - "start": { - "line": 453, - "column": 8 - }, - "end": { - "line": 453, - "column": 9 - } - } - }, - { - "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 15165, - "end": 15169, + "value": "parseNodesWithNames", + "start": 17802, + "end": 17821, "loc": { "start": { - "line": 453, - "column": 10 + "line": 525, + "column": 16 }, "end": { - "line": 453, - "column": 14 + "line": 525, + "column": 35 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -96484,16 +114519,16 @@ "postfix": false, "binop": null }, - "start": 15170, - "end": 15171, + "start": 17821, + "end": 17822, "loc": { "start": { - "line": 453, - "column": 15 + "line": 525, + "column": 35 }, "end": { - "line": 453, - "column": 16 + "line": 525, + "column": 36 } } }, @@ -96509,44 +114544,43 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 15184, - "end": 15190, + "value": "ctx", + "start": 17822, + "end": 17825, "loc": { "start": { - "line": 454, - "column": 12 + "line": 525, + "column": 36 }, "end": { - "line": 454, - "column": 18 + "line": 525, + "column": 39 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 15191, - "end": 15192, + "start": 17825, + "end": 17826, "loc": { "start": { - "line": 454, - "column": 19 + "line": 525, + "column": 39 }, "end": { - "line": 454, - "column": 20 + "line": 525, + "column": 40 } } }, @@ -96562,23 +114596,23 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 15193, - "end": 15204, + "value": "childNode", + "start": 17827, + "end": 17836, "loc": { "start": { - "line": 454, - "column": 21 + "line": 525, + "column": 41 }, "end": { - "line": 454, - "column": 32 + "line": 525, + "column": 50 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -96589,74 +114623,103 @@ "binop": null, "updateContext": null }, - "start": 15204, - "end": 15205, + "start": 17836, + "end": 17837, "loc": { "start": { - "line": 454, - "column": 32 + "line": 525, + "column": 50 }, "end": { - "line": 454, - "column": 33 + "line": 525, + "column": 51 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "depth", + "start": 17838, + "end": 17843, + "loc": { + "start": { + "line": 525, + "column": 52 + }, + "end": { + "line": 525, + "column": 57 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 15214, - "end": 15215, + "value": "+", + "start": 17844, + "end": 17845, "loc": { "start": { - "line": 455, - "column": 8 + "line": 525, + "column": 58 }, "end": { - "line": 455, - "column": 9 + "line": 525, + "column": 59 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15220, - "end": 15221, + "value": 1, + "start": 17846, + "end": 17847, "loc": { "start": { - "line": 456, - "column": 4 + "line": 525, + "column": 60 }, "end": { - "line": 456, - "column": 5 + "line": 525, + "column": 61 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -96666,24 +114729,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 15226, - "end": 15228, + "start": 17847, + "end": 17848, "loc": { "start": { - "line": 457, - "column": 4 + "line": 525, + "column": 61 }, "end": { - "line": 457, - "column": 6 + "line": 525, + "column": 62 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -96692,24 +114754,25 @@ "postfix": false, "binop": null }, - "start": 15229, - "end": 15230, + "value": "matrix", + "start": 17849, + "end": 17855, "loc": { "start": { - "line": 457, - "column": 7 + "line": 525, + "column": 63 }, "end": { - "line": 457, - "column": 8 + "line": 525, + "column": 69 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -96717,24 +114780,23 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 15230, - "end": 15234, + "start": 17855, + "end": 17856, "loc": { "start": { - "line": 457, - "column": 8 + "line": 525, + "column": 69 }, "end": { - "line": 457, - "column": 12 + "line": 525, + "column": 70 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -96744,24 +114806,24 @@ "binop": null, "updateContext": null }, - "start": 15234, - "end": 15235, + "start": 17856, + "end": 17857, "loc": { "start": { - "line": 457, - "column": 12 + "line": 525, + "column": 70 }, "end": { - "line": 457, - "column": 13 + "line": 525, + "column": 71 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -96769,23 +114831,22 @@ "postfix": false, "binop": null }, - "value": "rotation", - "start": 15235, - "end": 15243, + "start": 17870, + "end": 17871, "loc": { "start": { - "line": 457, - "column": 13 + "line": 526, + "column": 12 }, "end": { - "line": 457, - "column": 21 + "line": 526, + "column": 13 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -96795,41 +114856,44 @@ "postfix": false, "binop": null }, - "start": 15243, - "end": 15244, + "start": 17880, + "end": 17881, "loc": { "start": { - "line": 457, - "column": 21 + "line": 527, + "column": 8 }, "end": { - "line": 457, - "column": 22 + "line": 527, + "column": 9 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15245, - "end": 15246, + "value": "const", + "start": 17890, + "end": 17895, "loc": { "start": { - "line": 457, - "column": 23 + "line": 528, + "column": 8 }, "end": { - "line": 457, - "column": 24 + "line": 528, + "column": 13 } } }, @@ -96845,17 +114909,17 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 15255, - "end": 15266, + "value": "nodeName", + "start": 17896, + "end": 17904, "loc": { "start": { - "line": 458, - "column": 8 + "line": 528, + "column": 14 }, "end": { - "line": 458, - "column": 19 + "line": 528, + "column": 22 } } }, @@ -96873,16 +114937,16 @@ "updateContext": null }, "value": "=", - "start": 15267, - "end": 15268, + "start": 17905, + "end": 17906, "loc": { "start": { - "line": 458, - "column": 20 + "line": 528, + "column": 23 }, "end": { - "line": 458, - "column": 21 + "line": 528, + "column": 24 } } }, @@ -96898,17 +114962,17 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 15269, - "end": 15273, + "value": "node", + "start": 17907, + "end": 17911, "loc": { "start": { - "line": 458, - "column": 22 + "line": 528, + "column": 25 }, "end": { - "line": 458, - "column": 26 + "line": 528, + "column": 29 } } }, @@ -96925,16 +114989,16 @@ "binop": null, "updateContext": null }, - "start": 15273, - "end": 15274, + "start": 17911, + "end": 17912, "loc": { "start": { - "line": 458, - "column": 26 + "line": 528, + "column": 29 }, "end": { - "line": 458, - "column": 27 + "line": 528, + "column": 30 } } }, @@ -96950,101 +115014,103 @@ "postfix": false, "binop": null }, - "value": "quaternionToMat4", - "start": 15274, - "end": 15290, + "value": "name", + "start": 17912, + "end": 17916, "loc": { "start": { - "line": 458, - "column": 27 + "line": 528, + "column": 30 }, "end": { - "line": 458, - "column": 43 + "line": 528, + "column": 34 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15290, - "end": 15291, + "start": 17916, + "end": 17917, "loc": { "start": { - "line": 458, - "column": 43 + "line": 528, + "column": 34 }, "end": { - "line": 458, - "column": 44 + "line": 528, + "column": 35 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "node", - "start": 15291, - "end": 15295, + "value": "if", + "start": 17926, + "end": 17928, "loc": { "start": { - "line": 458, - "column": 44 + "line": 529, + "column": 8 }, "end": { - "line": 458, - "column": 48 + "line": 529, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 15295, - "end": 15296, + "start": 17929, + "end": 17930, "loc": { "start": { - "line": 458, - "column": 48 + "line": 529, + "column": 11 }, "end": { - "line": 458, - "column": 49 + "line": 529, + "column": 12 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -97053,25 +115119,24 @@ "postfix": false, "binop": null }, - "value": "rotation", - "start": 15296, - "end": 15304, + "start": 17930, + "end": 17931, "loc": { "start": { - "line": 458, - "column": 49 + "line": 529, + "column": 12 }, "end": { - "line": 458, - "column": 57 + "line": 529, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -97079,22 +115144,23 @@ "postfix": false, "binop": null }, - "start": 15304, - "end": 15305, + "value": "nodeName", + "start": 17931, + "end": 17939, "loc": { "start": { - "line": 458, - "column": 57 + "line": 529, + "column": 13 }, "end": { - "line": 458, - "column": 58 + "line": 529, + "column": 21 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -97102,72 +115168,73 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 15305, - "end": 15306, + "value": "!==", + "start": 17940, + "end": 17943, "loc": { "start": { - "line": 458, - "column": 58 + "line": 529, + "column": 22 }, "end": { - "line": 458, - "column": 59 + "line": 529, + "column": 25 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 15315, - "end": 15317, + "value": "undefined", + "start": 17944, + "end": 17953, "loc": { "start": { - "line": 459, - "column": 8 + "line": 529, + "column": 26 }, "end": { - "line": 459, - "column": 10 + "line": 529, + "column": 35 } } }, { "type": { - "label": "(", + "label": "&&", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 2, + "updateContext": null }, - "start": 15318, - "end": 15319, + "value": "&&", + "start": 17954, + "end": 17956, "loc": { "start": { - "line": 459, - "column": 11 + "line": 529, + "column": 36 }, "end": { - "line": 459, - "column": 12 + "line": 529, + "column": 38 } } }, @@ -97183,75 +115250,80 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 15319, - "end": 15325, + "value": "nodeName", + "start": 17957, + "end": 17965, "loc": { "start": { - "line": 459, - "column": 12 + "line": 529, + "column": 39 }, "end": { - "line": 459, - "column": 18 + "line": 529, + "column": 47 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 15325, - "end": 15326, + "value": "!==", + "start": 17966, + "end": 17969, "loc": { "start": { - "line": 459, - "column": 18 + "line": 529, + "column": 48 }, "end": { - "line": 459, - "column": 19 + "line": 529, + "column": 51 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "null", + "keyword": "null", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15327, - "end": 15328, + "value": "null", + "start": 17970, + "end": 17974, "loc": { "start": { - "line": 459, - "column": 20 + "line": 529, + "column": 52 }, "end": { - "line": 459, - "column": 21 + "line": 529, + "column": 56 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -97259,44 +115331,43 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 15341, - "end": 15347, + "start": 17974, + "end": 17975, "loc": { "start": { - "line": 460, - "column": 12 + "line": 529, + "column": 56 }, "end": { - "line": 460, - "column": 18 + "line": 529, + "column": 57 } } }, { "type": { - "label": "=", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "value": "=", - "start": 15348, - "end": 15349, + "value": "||", + "start": 17976, + "end": 17978, "loc": { "start": { - "line": 460, - "column": 19 + "line": 529, + "column": 58 }, "end": { - "line": 460, - "column": 20 + "line": 529, + "column": 60 } } }, @@ -97312,49 +115383,50 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 15350, - "end": 15354, + "value": "depth", + "start": 17979, + "end": 17984, "loc": { "start": { - "line": 460, - "column": 21 + "line": 529, + "column": 61 }, "end": { - "line": 460, - "column": 25 + "line": 529, + "column": 66 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 15354, - "end": 15355, + "value": "===", + "start": 17985, + "end": 17988, "loc": { "start": { - "line": 460, - "column": 25 + "line": 529, + "column": 67 }, "end": { - "line": 460, - "column": 26 + "line": 529, + "column": 70 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -97362,27 +115434,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "mulMat4", - "start": 15355, - "end": 15362, + "value": 0, + "start": 17989, + "end": 17990, "loc": { "start": { - "line": 460, - "column": 26 + "line": 529, + "column": 71 }, "end": { - "line": 460, - "column": 33 + "line": 529, + "column": 72 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -97390,23 +115463,23 @@ "postfix": false, "binop": null }, - "start": 15362, - "end": 15363, + "start": 17990, + "end": 17991, "loc": { "start": { - "line": 460, - "column": 33 + "line": 529, + "column": 72 }, "end": { - "line": 460, - "column": 34 + "line": 529, + "column": 73 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -97415,24 +115488,24 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 15363, - "end": 15369, + "start": 17992, + "end": 17993, "loc": { "start": { - "line": 460, - "column": 34 + "line": 529, + "column": 74 }, "end": { - "line": 460, - "column": 40 + "line": 529, + "column": 75 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -97442,16 +115515,17 @@ "binop": null, "updateContext": null }, - "start": 15369, - "end": 15370, + "value": "let", + "start": 18006, + "end": 18009, "loc": { "start": { - "line": 460, - "column": 40 + "line": 530, + "column": 12 }, "end": { - "line": 460, - "column": 41 + "line": 530, + "column": 15 } } }, @@ -97467,43 +115541,44 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 15371, - "end": 15382, + "value": "xktEntityId", + "start": 18010, + "end": 18021, "loc": { "start": { - "line": 460, - "column": 42 + "line": 530, + "column": 16 }, "end": { - "line": 460, - "column": 53 + "line": 530, + "column": 27 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 15382, - "end": 15383, + "value": "=", + "start": 18022, + "end": 18023, "loc": { "start": { - "line": 460, - "column": 53 + "line": 530, + "column": 28 }, "end": { - "line": 460, - "column": 54 + "line": 530, + "column": 29 } } }, @@ -97519,17 +115594,17 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 15384, - "end": 15388, + "value": "objectIdStack", + "start": 18024, + "end": 18037, "loc": { "start": { - "line": 460, - "column": 55 + "line": 530, + "column": 30 }, "end": { - "line": 460, - "column": 59 + "line": 530, + "column": 43 } } }, @@ -97546,16 +115621,16 @@ "binop": null, "updateContext": null }, - "start": 15388, - "end": 15389, + "start": 18037, + "end": 18038, "loc": { "start": { - "line": 460, - "column": 59 + "line": 530, + "column": 43 }, "end": { - "line": 460, - "column": 60 + "line": 530, + "column": 44 } } }, @@ -97571,17 +115646,17 @@ "postfix": false, "binop": null }, - "value": "mat4", - "start": 15389, - "end": 15393, + "value": "pop", + "start": 18038, + "end": 18041, "loc": { "start": { - "line": 460, - "column": 60 + "line": 530, + "column": 44 }, "end": { - "line": 460, - "column": 64 + "line": 530, + "column": 47 } } }, @@ -97597,16 +115672,16 @@ "postfix": false, "binop": null }, - "start": 15393, - "end": 15394, + "start": 18041, + "end": 18042, "loc": { "start": { - "line": 460, - "column": 64 + "line": 530, + "column": 47 }, "end": { - "line": 460, - "column": 65 + "line": 530, + "column": 48 } } }, @@ -97622,48 +115697,50 @@ "postfix": false, "binop": null }, - "start": 15394, - "end": 15395, + "start": 18042, + "end": 18043, "loc": { "start": { - "line": 460, - "column": 65 + "line": 530, + "column": 48 }, "end": { - "line": 460, - "column": 66 + "line": 530, + "column": 49 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15395, - "end": 15396, + "start": 18043, + "end": 18044, "loc": { "start": { - "line": 460, - "column": 66 + "line": 530, + "column": 49 }, "end": { - "line": 460, - "column": 67 + "line": 530, + "column": 50 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -97673,24 +115750,25 @@ "binop": null, "updateContext": null }, - "start": 15396, - "end": 15397, + "value": "if", + "start": 18057, + "end": 18059, "loc": { "start": { - "line": 460, - "column": 67 + "line": 531, + "column": 12 }, "end": { - "line": 460, - "column": 68 + "line": 531, + "column": 14 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -97698,51 +115776,50 @@ "postfix": false, "binop": null }, - "start": 15406, - "end": 15407, + "start": 18060, + "end": 18061, "loc": { "start": { - "line": 461, - "column": 8 + "line": 531, + "column": 15 }, "end": { - "line": 461, - "column": 9 + "line": 531, + "column": 16 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": "else", - "start": 15408, - "end": 15412, + "value": "!", + "start": 18061, + "end": 18062, "loc": { "start": { - "line": 461, - "column": 10 + "line": 531, + "column": 16 }, "end": { - "line": 461, - "column": 14 + "line": 531, + "column": 17 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -97751,24 +115828,25 @@ "postfix": false, "binop": null }, - "start": 15413, - "end": 15414, + "value": "xktEntityId", + "start": 18062, + "end": 18073, "loc": { "start": { - "line": 461, - "column": 15 + "line": 531, + "column": 17 }, "end": { - "line": 461, - "column": 16 + "line": 531, + "column": 28 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -97776,44 +115854,57 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 15427, - "end": 15433, + "start": 18073, + "end": 18074, "loc": { "start": { - "line": 462, - "column": 12 + "line": 531, + "column": 28 }, "end": { - "line": 462, - "column": 18 + "line": 531, + "column": 29 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 15434, - "end": 15435, + "start": 18075, + "end": 18076, "loc": { "start": { - "line": 462, - "column": 19 + "line": 531, + "column": 30 }, "end": { - "line": 462, - "column": 20 + "line": 531, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " For when there are no nodes with names", + "start": 18077, + "end": 18118, + "loc": { + "start": { + "line": 531, + "column": 32 + }, + "end": { + "line": 531, + "column": 73 } } }, @@ -97829,146 +115920,150 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 15436, - "end": 15447, + "value": "xktEntityId", + "start": 18135, + "end": 18146, "loc": { "start": { - "line": 462, - "column": 21 + "line": 532, + "column": 16 }, "end": { - "line": 462, - "column": 32 + "line": 532, + "column": 27 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 15447, - "end": 15448, + "value": "=", + "start": 18147, + "end": 18148, "loc": { "start": { - "line": 462, - "column": 32 + "line": 532, + "column": 28 }, "end": { - "line": 462, - "column": 33 + "line": 532, + "column": 29 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15457, - "end": 15458, + "value": "entity-", + "start": 18149, + "end": 18158, "loc": { "start": { - "line": 463, - "column": 8 + "line": 532, + "column": 30 }, "end": { - "line": 463, - "column": 9 + "line": 532, + "column": 39 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 15463, - "end": 15464, + "value": "+", + "start": 18159, + "end": 18160, "loc": { "start": { - "line": 464, - "column": 4 + "line": 532, + "column": 40 }, "end": { - "line": 464, - "column": 5 + "line": 532, + "column": 41 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 15469, - "end": 15471, + "value": "ctx", + "start": 18161, + "end": 18164, "loc": { "start": { - "line": 465, - "column": 4 + "line": 532, + "column": 42 }, "end": { - "line": 465, - "column": 6 + "line": 532, + "column": 45 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15472, - "end": 15473, + "start": 18164, + "end": 18165, "loc": { "start": { - "line": 465, - "column": 7 + "line": 532, + "column": 45 }, "end": { - "line": 465, - "column": 8 + "line": 532, + "column": 46 } } }, @@ -97984,75 +116079,75 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 15473, - "end": 15477, + "value": "nextId", + "start": 18165, + "end": 18171, "loc": { "start": { - "line": 465, - "column": 8 + "line": 532, + "column": 46 }, "end": { - "line": 465, - "column": 12 + "line": 532, + "column": 52 } } }, { "type": { - "label": ".", + "label": "++/--", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "prefix": true, + "postfix": true, + "binop": null }, - "start": 15477, - "end": 15478, + "value": "++", + "start": 18171, + "end": 18173, "loc": { "start": { - "line": 465, - "column": 12 + "line": 532, + "column": 52 }, "end": { - "line": 465, - "column": 13 + "line": 532, + "column": 54 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "scale", - "start": 15478, - "end": 15483, + "start": 18173, + "end": 18174, "loc": { "start": { - "line": 465, - "column": 13 + "line": 532, + "column": 54 }, "end": { - "line": 465, - "column": 18 + "line": 532, + "column": 55 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -98062,41 +116157,44 @@ "postfix": false, "binop": null }, - "start": 15483, - "end": 15484, + "start": 18187, + "end": 18188, "loc": { "start": { - "line": 465, - "column": 18 + "line": 533, + "column": 12 }, "end": { - "line": 465, - "column": 19 + "line": 533, + "column": 13 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15485, - "end": 15486, + "value": "let", + "start": 18201, + "end": 18204, "loc": { "start": { - "line": 465, - "column": 20 + "line": 534, + "column": 12 }, "end": { - "line": 465, - "column": 21 + "line": 534, + "column": 15 } } }, @@ -98112,17 +116210,17 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 15495, - "end": 15506, + "value": "entityMeshIds", + "start": 18205, + "end": 18218, "loc": { "start": { - "line": 466, - "column": 8 + "line": 534, + "column": 16 }, "end": { - "line": 466, - "column": 19 + "line": 534, + "column": 29 } } }, @@ -98140,16 +116238,16 @@ "updateContext": null }, "value": "=", - "start": 15507, - "end": 15508, + "start": 18219, + "end": 18220, "loc": { "start": { - "line": 466, - "column": 20 + "line": 534, + "column": 30 }, "end": { - "line": 466, - "column": 21 + "line": 534, + "column": 31 } } }, @@ -98165,17 +116263,17 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 15509, - "end": 15513, + "value": "meshIdsStack", + "start": 18221, + "end": 18233, "loc": { "start": { - "line": 466, - "column": 22 + "line": 534, + "column": 32 }, "end": { - "line": 466, - "column": 26 + "line": 534, + "column": 44 } } }, @@ -98192,16 +116290,16 @@ "binop": null, "updateContext": null }, - "start": 15513, - "end": 15514, + "start": 18233, + "end": 18234, "loc": { "start": { - "line": 466, - "column": 26 + "line": 534, + "column": 44 }, "end": { - "line": 466, - "column": 27 + "line": 534, + "column": 45 } } }, @@ -98217,17 +116315,17 @@ "postfix": false, "binop": null }, - "value": "scalingMat4v", - "start": 15514, - "end": 15526, + "value": "pop", + "start": 18234, + "end": 18237, "loc": { "start": { - "line": 466, - "column": 27 + "line": 534, + "column": 45 }, "end": { - "line": 466, - "column": 39 + "line": 534, + "column": 48 } } }, @@ -98243,24 +116341,24 @@ "postfix": false, "binop": null }, - "start": 15526, - "end": 15527, + "start": 18237, + "end": 18238, "loc": { "start": { - "line": 466, - "column": 39 + "line": 534, + "column": 48 }, "end": { - "line": 466, - "column": 40 + "line": 534, + "column": 49 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -98268,23 +116366,49 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 15527, - "end": 15531, + "start": 18238, + "end": 18239, "loc": { "start": { - "line": 466, - "column": 40 + "line": 534, + "column": 49 }, "end": { - "line": 466, - "column": 44 + "line": 534, + "column": 50 } } }, { "type": { - "label": ".", + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 18239, + "end": 18240, + "loc": { + "start": { + "line": 534, + "column": 50 + }, + "end": { + "line": 534, + "column": 51 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -98295,16 +116419,42 @@ "binop": null, "updateContext": null }, - "start": 15531, - "end": 15532, + "value": "if", + "start": 18253, + "end": 18255, "loc": { "start": { - "line": 466, - "column": 44 + "line": 535, + "column": 12 }, "end": { - "line": 466, - "column": 45 + "line": 535, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18256, + "end": 18257, + "loc": { + "start": { + "line": 535, + "column": 15 + }, + "end": { + "line": 535, + "column": 16 } } }, @@ -98320,49 +116470,77 @@ "postfix": false, "binop": null }, - "value": "scale", - "start": 15532, - "end": 15537, + "value": "meshIds", + "start": 18257, + "end": 18264, "loc": { "start": { - "line": 466, - "column": 45 + "line": 535, + "column": 16 }, "end": { - "line": 466, - "column": 50 + "line": 535, + "column": 23 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "&&", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 18265, + "end": 18267, + "loc": { + "start": { + "line": 535, + "column": 24 + }, + "end": { + "line": 535, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 15537, - "end": 15538, + "value": "meshIds", + "start": 18268, + "end": 18275, "loc": { "start": { - "line": 466, - "column": 50 + "line": 535, + "column": 27 }, "end": { - "line": 466, - "column": 51 + "line": 535, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -98372,75 +116550,75 @@ "binop": null, "updateContext": null }, - "start": 15538, - "end": 15539, + "start": 18275, + "end": 18276, "loc": { "start": { - "line": 466, - "column": 51 + "line": 535, + "column": 34 }, "end": { - "line": 466, - "column": 52 + "line": 535, + "column": 35 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 15548, - "end": 15550, + "value": "length", + "start": 18276, + "end": 18282, "loc": { "start": { - "line": 467, - "column": 8 + "line": 535, + "column": 35 }, "end": { - "line": 467, - "column": 10 + "line": 535, + "column": 41 } } }, { "type": { - "label": "(", + "label": "", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "start": 15551, - "end": 15552, + "value": ">", + "start": 18283, + "end": 18284, "loc": { "start": { - "line": 467, - "column": 11 + "line": 535, + "column": 42 }, "end": { - "line": 467, - "column": 12 + "line": 535, + "column": 43 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -98448,19 +116626,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "matrix", - "start": 15552, - "end": 15558, + "value": 0, + "start": 18285, + "end": 18286, "loc": { "start": { - "line": 467, - "column": 12 + "line": 535, + "column": 44 }, "end": { - "line": 467, - "column": 18 + "line": 535, + "column": 45 } } }, @@ -98476,16 +116655,16 @@ "postfix": false, "binop": null }, - "start": 15558, - "end": 15559, + "start": 18286, + "end": 18287, "loc": { "start": { - "line": 467, - "column": 18 + "line": 535, + "column": 45 }, "end": { - "line": 467, - "column": 19 + "line": 535, + "column": 46 } } }, @@ -98501,16 +116680,16 @@ "postfix": false, "binop": null }, - "start": 15560, - "end": 15561, + "start": 18288, + "end": 18289, "loc": { "start": { - "line": 467, - "column": 20 + "line": 535, + "column": 47 }, "end": { - "line": 467, - "column": 21 + "line": 535, + "column": 48 } } }, @@ -98526,43 +116705,42 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 15574, - "end": 15580, + "value": "ctx", + "start": 18306, + "end": 18309, "loc": { "start": { - "line": 468, - "column": 12 + "line": 536, + "column": 16 }, "end": { - "line": 468, - "column": 18 + "line": 536, + "column": 19 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 15581, - "end": 15582, + "start": 18309, + "end": 18310, "loc": { "start": { - "line": 468, + "line": 536, "column": 19 }, "end": { - "line": 468, + "line": 536, "column": 20 } } @@ -98579,17 +116757,17 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 15583, - "end": 15587, + "value": "xktModel", + "start": 18310, + "end": 18318, "loc": { "start": { - "line": 468, - "column": 21 + "line": 536, + "column": 20 }, "end": { - "line": 468, - "column": 25 + "line": 536, + "column": 28 } } }, @@ -98606,16 +116784,16 @@ "binop": null, "updateContext": null }, - "start": 15587, - "end": 15588, + "start": 18318, + "end": 18319, "loc": { "start": { - "line": 468, - "column": 25 + "line": 536, + "column": 28 }, "end": { - "line": 468, - "column": 26 + "line": 536, + "column": 29 } } }, @@ -98631,17 +116809,17 @@ "postfix": false, "binop": null }, - "value": "mulMat4", - "start": 15588, - "end": 15595, + "value": "createEntity", + "start": 18319, + "end": 18331, "loc": { "start": { - "line": 468, - "column": 26 + "line": 536, + "column": 29 }, "end": { - "line": 468, - "column": 33 + "line": 536, + "column": 41 } } }, @@ -98657,23 +116835,23 @@ "postfix": false, "binop": null }, - "start": 15595, - "end": 15596, + "start": 18331, + "end": 18332, "loc": { "start": { - "line": 468, - "column": 33 + "line": 536, + "column": 41 }, "end": { - "line": 468, - "column": 34 + "line": 536, + "column": 42 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -98682,43 +116860,16 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 15596, - "end": 15602, - "loc": { - "start": { - "line": 468, - "column": 34 - }, - "end": { - "line": 468, - "column": 40 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15602, - "end": 15603, + "start": 18332, + "end": 18333, "loc": { "start": { - "line": 468, - "column": 40 + "line": 536, + "column": 42 }, "end": { - "line": 468, - "column": 41 + "line": 536, + "column": 43 } } }, @@ -98734,23 +116885,23 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 15604, - "end": 15615, + "value": "entityId", + "start": 18354, + "end": 18362, "loc": { "start": { - "line": 468, - "column": 42 + "line": 537, + "column": 20 }, "end": { - "line": 468, - "column": 53 + "line": 537, + "column": 28 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -98761,16 +116912,16 @@ "binop": null, "updateContext": null }, - "start": 15615, - "end": 15616, + "start": 18362, + "end": 18363, "loc": { "start": { - "line": 468, - "column": 53 + "line": 537, + "column": 28 }, "end": { - "line": 468, - "column": 54 + "line": 537, + "column": 29 } } }, @@ -98786,24 +116937,24 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 15617, - "end": 15621, + "value": "xktEntityId", + "start": 18364, + "end": 18375, "loc": { "start": { - "line": 468, - "column": 55 + "line": 537, + "column": 30 }, "end": { - "line": 468, - "column": 59 + "line": 537, + "column": 41 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -98813,16 +116964,16 @@ "binop": null, "updateContext": null }, - "start": 15621, - "end": 15622, + "start": 18375, + "end": 18376, "loc": { "start": { - "line": 468, - "column": 59 + "line": 537, + "column": 41 }, "end": { - "line": 468, - "column": 60 + "line": 537, + "column": 42 } } }, @@ -98838,50 +116989,51 @@ "postfix": false, "binop": null }, - "value": "mat4", - "start": 15622, - "end": 15626, + "value": "meshIds", + "start": 18397, + "end": 18404, "loc": { "start": { - "line": 468, - "column": 60 + "line": 538, + "column": 20 }, "end": { - "line": 468, - "column": 64 + "line": 538, + "column": 27 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15626, - "end": 15627, + "start": 18404, + "end": 18405, "loc": { "start": { - "line": 468, - "column": 64 + "line": 538, + "column": 27 }, "end": { - "line": 468, - "column": 65 + "line": 538, + "column": 28 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -98889,22 +117041,23 @@ "postfix": false, "binop": null }, - "start": 15627, - "end": 15628, + "value": "entityMeshIds", + "start": 18406, + "end": 18419, "loc": { "start": { - "line": 468, - "column": 65 + "line": 538, + "column": 29 }, "end": { - "line": 468, - "column": 66 + "line": 538, + "column": 42 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -98914,48 +117067,22 @@ "postfix": false, "binop": null }, - "start": 15628, - "end": 15629, - "loc": { - "start": { - "line": 468, - "column": 66 - }, - "end": { - "line": 468, - "column": 67 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15629, - "end": 15630, + "start": 18436, + "end": 18437, "loc": { "start": { - "line": 468, - "column": 67 + "line": 539, + "column": 16 }, "end": { - "line": 468, - "column": 68 + "line": 539, + "column": 17 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -98965,23 +117092,22 @@ "postfix": false, "binop": null }, - "start": 15639, - "end": 15640, + "start": 18437, + "end": 18438, "loc": { "start": { - "line": 469, - "column": 8 + "line": 539, + "column": 17 }, "end": { - "line": 469, - "column": 9 + "line": 539, + "column": 18 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -98992,25 +117118,24 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 15641, - "end": 15645, + "start": 18438, + "end": 18439, "loc": { "start": { - "line": 469, - "column": 10 + "line": 539, + "column": 18 }, "end": { - "line": 469, - "column": 14 + "line": 539, + "column": 19 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -99018,16 +117143,16 @@ "postfix": false, "binop": null }, - "start": 15646, - "end": 15647, + "start": 18452, + "end": 18453, "loc": { "start": { - "line": 469, - "column": 15 + "line": 540, + "column": 12 }, "end": { - "line": 469, - "column": 16 + "line": 540, + "column": 13 } } }, @@ -99043,44 +117168,43 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 15660, - "end": 15666, + "value": "ctx", + "start": 18466, + "end": 18469, "loc": { "start": { - "line": 470, + "line": 541, "column": 12 }, "end": { - "line": 470, - "column": 18 + "line": 541, + "column": 15 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 15667, - "end": 15668, + "start": 18469, + "end": 18470, "loc": { "start": { - "line": 470, - "column": 19 + "line": 541, + "column": 15 }, "end": { - "line": 470, - "column": 20 + "line": 541, + "column": 16 } } }, @@ -99096,24 +117220,24 @@ "postfix": false, "binop": null }, - "value": "localMatrix", - "start": 15669, - "end": 15680, + "value": "stats", + "start": 18470, + "end": 18475, "loc": { "start": { - "line": 470, - "column": 21 + "line": 541, + "column": 16 }, "end": { - "line": 470, - "column": 32 + "line": 541, + "column": 21 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -99123,24 +117247,24 @@ "binop": null, "updateContext": null }, - "start": 15680, - "end": 15681, + "start": 18475, + "end": 18476, "loc": { "start": { - "line": 470, - "column": 32 + "line": 541, + "column": 21 }, "end": { - "line": 470, - "column": 33 + "line": 541, + "column": 22 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -99148,49 +117272,50 @@ "postfix": false, "binop": null }, - "start": 15690, - "end": 15691, + "value": "numObjects", + "start": 18476, + "end": 18486, "loc": { "start": { - "line": 471, - "column": 8 + "line": 541, + "column": 22 }, "end": { - "line": 471, - "column": 9 + "line": 541, + "column": 32 } } }, { "type": { - "label": "}", + "label": "++/--", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, + "prefix": true, + "postfix": true, "binop": null }, - "start": 15696, - "end": 15697, + "value": "++", + "start": 18486, + "end": 18488, "loc": { "start": { - "line": 472, - "column": 4 + "line": 541, + "column": 32 }, "end": { - "line": 472, - "column": 5 + "line": 541, + "column": 34 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -99200,42 +117325,16 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 15703, - "end": 15705, - "loc": { - "start": { - "line": 474, - "column": 4 - }, - "end": { - "line": 474, - "column": 6 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15706, - "end": 15707, + "start": 18488, + "end": 18489, "loc": { "start": { - "line": 474, - "column": 7 + "line": 541, + "column": 34 }, "end": { - "line": 474, - "column": 8 + "line": 541, + "column": 35 } } }, @@ -99251,43 +117350,44 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 15707, - "end": 15711, + "value": "meshIds", + "start": 18502, + "end": 18509, "loc": { "start": { - "line": 474, - "column": 8 + "line": 542, + "column": 12 }, "end": { - "line": 474, - "column": 12 + "line": 542, + "column": 19 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 15711, - "end": 15712, + "value": "=", + "start": 18510, + "end": 18511, "loc": { "start": { - "line": 474, - "column": 12 + "line": 542, + "column": 20 }, "end": { - "line": 474, - "column": 13 + "line": 542, + "column": 21 } } }, @@ -99303,67 +117403,43 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 15712, - "end": 15716, - "loc": { - "start": { - "line": 474, - "column": 13 - }, - "end": { - "line": 474, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15716, - "end": 15717, + "value": "meshIdsStack", + "start": 18512, + "end": 18524, "loc": { "start": { - "line": 474, - "column": 17 + "line": 542, + "column": 22 }, "end": { - "line": 474, - "column": 18 + "line": 542, + "column": 34 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15718, - "end": 15719, + "start": 18524, + "end": 18525, "loc": { "start": { - "line": 474, - "column": 19 + "line": 542, + "column": 34 }, "end": { - "line": 474, - "column": 20 + "line": 542, + "column": 35 } } }, @@ -99379,51 +117455,51 @@ "postfix": false, "binop": null }, - "value": "meshIds", - "start": 15728, - "end": 15735, + "value": "length", + "start": 18525, + "end": 18531, "loc": { "start": { - "line": 475, - "column": 8 + "line": 542, + "column": 35 }, "end": { - "line": 475, - "column": 15 + "line": 542, + "column": 41 } } }, { "type": { - "label": "=", + "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": "=", - "start": 15736, - "end": 15737, + "value": ">", + "start": 18532, + "end": 18533, "loc": { "start": { - "line": 475, - "column": 16 + "line": 542, + "column": 42 }, "end": { - "line": 475, - "column": 17 + "line": 542, + "column": 43 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -99433,23 +117509,24 @@ "binop": null, "updateContext": null }, - "start": 15738, - "end": 15739, + "value": 0, + "start": 18534, + "end": 18535, "loc": { "start": { - "line": 475, - "column": 18 + "line": 542, + "column": 44 }, "end": { - "line": 475, - "column": 19 + "line": 542, + "column": 45 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "?", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -99459,51 +117536,50 @@ "binop": null, "updateContext": null }, - "start": 15739, - "end": 15740, + "start": 18536, + "end": 18537, "loc": { "start": { - "line": 475, - "column": 19 + "line": 542, + "column": 46 }, "end": { - "line": 475, - "column": 20 + "line": 542, + "column": 47 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 15740, - "end": 15741, + "value": "meshIdsStack", + "start": 18538, + "end": 18550, "loc": { "start": { - "line": 475, - "column": 20 + "line": 542, + "column": 48 }, "end": { - "line": 475, - "column": 21 + "line": 542, + "column": 60 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -99512,17 +117588,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 15750, - "end": 15753, + "start": 18550, + "end": 18551, "loc": { "start": { - "line": 476, - "column": 8 + "line": 542, + "column": 60 }, "end": { - "line": 476, - "column": 11 + "line": 542, + "column": 61 } } }, @@ -99538,44 +117613,43 @@ "postfix": false, "binop": null }, - "value": "xktEntityId", - "start": 15754, - "end": 15765, + "value": "meshIdsStack", + "start": 18551, + "end": 18563, "loc": { "start": { - "line": 476, - "column": 12 + "line": 542, + "column": 61 }, "end": { - "line": 476, - "column": 23 + "line": 542, + "column": 73 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 15766, - "end": 15767, + "start": 18563, + "end": 18564, "loc": { "start": { - "line": 476, - "column": 24 + "line": 542, + "column": 73 }, "end": { - "line": 476, - "column": 25 + "line": 542, + "column": 74 } } }, @@ -99591,49 +117665,50 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 15768, - "end": 15772, + "value": "length", + "start": 18564, + "end": 18570, "loc": { "start": { - "line": 476, - "column": 26 + "line": 542, + "column": 74 }, "end": { - "line": 476, - "column": 30 + "line": 542, + "column": 80 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 15772, - "end": 15773, + "value": "-", + "start": 18571, + "end": 18572, "loc": { "start": { - "line": 476, - "column": 30 + "line": 542, + "column": 81 }, "end": { - "line": 476, - "column": 31 + "line": 542, + "column": 82 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -99641,26 +117716,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 15773, - "end": 15777, + "value": 1, + "start": 18573, + "end": 18574, "loc": { "start": { - "line": 476, - "column": 31 + "line": 542, + "column": 83 }, "end": { - "line": 476, - "column": 35 + "line": 542, + "column": 84 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -99670,24 +117746,23 @@ "binop": null, "updateContext": null }, - "start": 15777, - "end": 15778, + "start": 18574, + "end": 18575, "loc": { "start": { - "line": 476, - "column": 35 + "line": 542, + "column": 84 }, "end": { - "line": 476, - "column": 36 + "line": 542, + "column": 85 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -99697,104 +117772,103 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 15787, - "end": 15789, + "start": 18576, + "end": 18577, "loc": { "start": { - "line": 477, - "column": 8 + "line": 542, + "column": 86 }, "end": { - "line": 477, - "column": 10 + "line": 542, + "column": 87 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "null", + "keyword": "null", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15790, - "end": 15791, + "value": "null", + "start": 18578, + "end": 18582, "loc": { "start": { - "line": 477, - "column": 11 + "line": 542, + "column": 88 }, "end": { - "line": 477, - "column": 12 + "line": 542, + "column": 92 } } }, { "type": { - "label": "prefix", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 15791, - "end": 15792, + "start": 18582, + "end": 18583, "loc": { "start": { - "line": 477, - "column": 12 + "line": 542, + "column": 92 }, "end": { - "line": 477, - "column": 13 + "line": 542, + "column": 93 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 15792, - "end": 15793, + "start": 18592, + "end": 18593, "loc": { "start": { - "line": 477, - "column": 13 + "line": 543, + "column": 8 }, "end": { - "line": 477, - "column": 14 + "line": 543, + "column": 9 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -99802,52 +117876,49 @@ "postfix": false, "binop": null }, - "value": "xktEntityId", - "start": 15793, - "end": 15804, + "start": 18598, + "end": 18599, "loc": { "start": { - "line": 477, - "column": 14 + "line": 544, + "column": 4 }, "end": { - "line": 477, - "column": 25 + "line": 544, + "column": 5 } } }, { "type": { - "label": "&&", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, - "updateContext": null + "binop": null }, - "value": "&&", - "start": 15805, - "end": 15807, + "start": 18600, + "end": 18601, "loc": { "start": { - "line": 477, - "column": 26 + "line": 545, + "column": 0 }, "end": { - "line": 477, - "column": 28 + "line": 545, + "column": 1 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -99855,51 +117926,49 @@ "postfix": false, "binop": null }, - "value": "xktModel", - "start": 15808, - "end": 15816, + "start": 18601, + "end": 18602, "loc": { "start": { - "line": 477, - "column": 29 + "line": 545, + "column": 1 }, "end": { - "line": 477, - "column": 37 + "line": 545, + "column": 2 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 15816, - "end": 15817, + "start": 18602, + "end": 18603, "loc": { "start": { - "line": 477, - "column": 37 + "line": 545, + "column": 2 }, "end": { - "line": 477, - "column": 38 + "line": 545, + "column": 3 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -99907,25 +117976,24 @@ "postfix": false, "binop": null }, - "value": "entities", - "start": 15817, - "end": 15825, + "start": 18603, + "end": 18604, "loc": { "start": { - "line": 477, - "column": 38 + "line": 545, + "column": 3 }, "end": { - "line": 477, - "column": 46 + "line": 545, + "column": 4 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -99934,76 +118002,67 @@ "binop": null, "updateContext": null }, - "start": 15825, - "end": 15826, + "start": 18604, + "end": 18605, "loc": { "start": { - "line": 477, - "column": 46 + "line": 545, + "column": 4 }, "end": { - "line": 477, - "column": 47 + "line": 545, + "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "xktEntityId", - "start": 15826, - "end": 15837, + "type": "CommentBlock", + "value": "*\n * Parses transform at the given glTF node.\n *\n * @param node the glTF node\n * @param matrix Transfor matrix from parent nodes\n * @returns {*} Transform matrix for the node\n ", + "start": 18607, + "end": 18787, "loc": { "start": { - "line": 477, - "column": 47 + "line": 547, + "column": 0 }, "end": { - "line": 477, - "column": 58 + "line": 553, + "column": 3 } } }, { "type": { - "label": "]", + "label": "function", + "keyword": "function", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 15837, - "end": 15838, + "value": "function", + "start": 18788, + "end": 18796, "loc": { "start": { - "line": 477, - "column": 58 + "line": 554, + "column": 0 }, "end": { - "line": 477, - "column": 59 + "line": 554, + "column": 8 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -100011,22 +118070,23 @@ "postfix": false, "binop": null }, - "start": 15838, - "end": 15839, + "value": "parseNodeMatrix", + "start": 18797, + "end": 18812, "loc": { "start": { - "line": 477, - "column": 59 + "line": 554, + "column": 9 }, "end": { - "line": 477, - "column": 60 + "line": 554, + "column": 24 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -100036,16 +118096,16 @@ "postfix": false, "binop": null }, - "start": 15840, - "end": 15841, + "start": 18812, + "end": 18813, "loc": { "start": { - "line": 477, - "column": 61 + "line": 554, + "column": 24 }, "end": { - "line": 477, - "column": 62 + "line": 554, + "column": 25 } } }, @@ -100061,24 +118121,24 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 15854, - "end": 15857, + "value": "node", + "start": 18813, + "end": 18817, "loc": { "start": { - "line": 478, - "column": 12 + "line": 554, + "column": 25 }, "end": { - "line": 478, - "column": 15 + "line": 554, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -100088,16 +118148,16 @@ "binop": null, "updateContext": null }, - "start": 15857, - "end": 15858, + "start": 18817, + "end": 18818, "loc": { "start": { - "line": 478, - "column": 15 + "line": 554, + "column": 29 }, "end": { - "line": 478, - "column": 16 + "line": 554, + "column": 30 } } }, @@ -100113,25 +118173,25 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 15858, - "end": 15861, + "value": "matrix", + "start": 18819, + "end": 18825, "loc": { "start": { - "line": 478, - "column": 16 + "line": 554, + "column": 31 }, "end": { - "line": 478, - "column": 19 + "line": 554, + "column": 37 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -100139,23 +118199,23 @@ "postfix": false, "binop": null }, - "start": 15861, - "end": 15862, + "start": 18825, + "end": 18826, "loc": { "start": { - "line": 478, - "column": 19 + "line": 554, + "column": 37 }, "end": { - "line": 478, - "column": 20 + "line": 554, + "column": 38 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -100164,22 +118224,23 @@ "postfix": false, "binop": null }, - "start": 15862, - "end": 15863, + "start": 18827, + "end": 18828, "loc": { "start": { - "line": 478, - "column": 20 + "line": 554, + "column": 39 }, "end": { - "line": 478, - "column": 21 + "line": 554, + "column": 40 } } }, { "type": { - "label": "template", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -100190,23 +118251,23 @@ "binop": null, "updateContext": null }, - "value": "Warning: Two or more glTF nodes found with same 'name' attribute: '", - "start": 15863, - "end": 15930, + "value": "if", + "start": 18833, + "end": 18835, "loc": { "start": { - "line": 478, - "column": 21 + "line": 555, + "column": 4 }, "end": { - "line": 478, - "column": 88 + "line": 555, + "column": 6 } } }, { "type": { - "label": "${", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -100216,50 +118277,51 @@ "postfix": false, "binop": null }, - "start": 15930, - "end": 15932, + "start": 18836, + "end": 18837, "loc": { "start": { - "line": 478, - "column": 88 + "line": 555, + "column": 7 }, "end": { - "line": 478, - "column": 90 + "line": 555, + "column": 8 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "prefix", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "xktEntityId", - "start": 15932, - "end": 15943, + "value": "!", + "start": 18837, + "end": 18838, "loc": { "start": { - "line": 478, - "column": 90 + "line": 555, + "column": 8 }, "end": { - "line": 478, - "column": 101 + "line": 555, + "column": 9 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -100267,22 +118329,23 @@ "postfix": false, "binop": null }, - "start": 15943, - "end": 15944, + "value": "node", + "start": 18838, + "end": 18842, "loc": { "start": { - "line": 478, - "column": 101 + "line": 555, + "column": 9 }, "end": { - "line": 478, - "column": 102 + "line": 555, + "column": 13 } } }, { "type": { - "label": "template", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -100290,27 +118353,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": " - will randomly-generating an object ID in XKT", - "start": 15944, - "end": 15991, + "start": 18842, + "end": 18843, "loc": { "start": { - "line": 478, - "column": 102 + "line": 555, + "column": 13 }, "end": { - "line": 478, - "column": 149 + "line": 555, + "column": 14 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -100319,41 +118380,44 @@ "postfix": false, "binop": null }, - "start": 15991, - "end": 15992, + "start": 18844, + "end": 18845, "loc": { "start": { - "line": 478, - "column": 149 + "line": 555, + "column": 15 }, "end": { - "line": 478, - "column": 150 + "line": 555, + "column": 16 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 15992, - "end": 15993, + "value": "return", + "start": 18854, + "end": 18860, "loc": { "start": { - "line": 478, - "column": 150 + "line": 556, + "column": 8 }, "end": { - "line": 478, - "column": 151 + "line": 556, + "column": 14 } } }, @@ -100370,16 +118434,16 @@ "binop": null, "updateContext": null }, - "start": 15993, - "end": 15994, + "start": 18860, + "end": 18861, "loc": { "start": { - "line": 478, - "column": 151 + "line": 556, + "column": 14 }, "end": { - "line": 478, - "column": 152 + "line": 556, + "column": 15 } } }, @@ -100395,51 +118459,51 @@ "postfix": false, "binop": null }, - "start": 16003, - "end": 16004, + "start": 18866, + "end": 18867, "loc": { "start": { - "line": 479, - "column": 8 + "line": 557, + "column": 4 }, "end": { - "line": 479, - "column": 9 + "line": 557, + "column": 5 } } }, { "type": { - "label": "while", - "keyword": "while", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "while", - "start": 16013, - "end": 16018, + "value": "let", + "start": 18872, + "end": 18875, "loc": { "start": { - "line": 480, - "column": 8 + "line": 558, + "column": 4 }, "end": { - "line": 480, - "column": 13 + "line": 558, + "column": 7 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -100448,96 +118512,96 @@ "postfix": false, "binop": null }, - "start": 16019, - "end": 16020, + "value": "localMatrix", + "start": 18876, + "end": 18887, "loc": { "start": { - "line": 480, - "column": 14 + "line": 558, + "column": 8 }, "end": { - "line": 480, - "column": 15 + "line": 558, + "column": 19 } } }, { "type": { - "label": "prefix", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 16020, - "end": 16021, + "start": 18887, + "end": 18888, "loc": { "start": { - "line": 480, - "column": 15 + "line": 558, + "column": 19 }, "end": { - "line": 480, - "column": 16 + "line": 558, + "column": 20 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "xktEntityId", - "start": 16021, - "end": 16032, + "value": "if", + "start": 18893, + "end": 18895, "loc": { "start": { - "line": 480, - "column": 16 + "line": 559, + "column": 4 }, "end": { - "line": 480, - "column": 27 + "line": 559, + "column": 6 } } }, { "type": { - "label": "||", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 16033, - "end": 16035, + "start": 18896, + "end": 18897, "loc": { "start": { - "line": 480, - "column": 28 + "line": 559, + "column": 7 }, "end": { - "line": 480, - "column": 30 + "line": 559, + "column": 8 } } }, @@ -100553,17 +118617,17 @@ "postfix": false, "binop": null }, - "value": "xktModel", - "start": 16036, - "end": 16044, + "value": "node", + "start": 18897, + "end": 18901, "loc": { "start": { - "line": 480, - "column": 31 + "line": 559, + "column": 8 }, "end": { - "line": 480, - "column": 39 + "line": 559, + "column": 12 } } }, @@ -100580,16 +118644,16 @@ "binop": null, "updateContext": null }, - "start": 16044, - "end": 16045, + "start": 18901, + "end": 18902, "loc": { "start": { - "line": 480, - "column": 39 + "line": 559, + "column": 12 }, "end": { - "line": 480, - "column": 40 + "line": 559, + "column": 13 } } }, @@ -100605,23 +118669,48 @@ "postfix": false, "binop": null }, - "value": "entities", - "start": 16045, - "end": 16053, + "value": "matrix", + "start": 18902, + "end": 18908, "loc": { "start": { - "line": 480, - "column": 40 + "line": 559, + "column": 13 }, "end": { - "line": 480, - "column": 48 + "line": 559, + "column": 19 } } }, { "type": { - "label": "[", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 18908, + "end": 18909, + "loc": { + "start": { + "line": 559, + "column": 19 + }, + "end": { + "line": 559, + "column": 20 + } + } + }, + { + "type": { + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -100629,19 +118718,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16053, - "end": 16054, + "start": 18910, + "end": 18911, "loc": { "start": { - "line": 480, - "column": 48 + "line": 559, + "column": 21 }, "end": { - "line": 480, - "column": 49 + "line": 559, + "column": 22 } } }, @@ -100657,51 +118745,52 @@ "postfix": false, "binop": null }, - "value": "xktEntityId", - "start": 16054, - "end": 16065, + "value": "localMatrix", + "start": 18920, + "end": 18931, "loc": { "start": { - "line": 480, - "column": 49 + "line": 560, + "column": 8 }, "end": { - "line": 480, - "column": 60 + "line": 560, + "column": 19 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 16065, - "end": 16066, + "value": "=", + "start": 18932, + "end": 18933, "loc": { "start": { - "line": 480, - "column": 60 + "line": 560, + "column": 20 }, "end": { - "line": 480, - "column": 61 + "line": 560, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -100709,41 +118798,43 @@ "postfix": false, "binop": null }, - "start": 16066, - "end": 16067, + "value": "node", + "start": 18934, + "end": 18938, "loc": { "start": { - "line": 480, - "column": 61 + "line": 560, + "column": 22 }, "end": { - "line": 480, - "column": 62 + "line": 560, + "column": 26 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 16068, - "end": 16069, + "start": 18938, + "end": 18939, "loc": { "start": { - "line": 480, - "column": 63 + "line": 560, + "column": 26 }, "end": { - "line": 480, - "column": 64 + "line": 560, + "column": 27 } } }, @@ -100759,52 +118850,52 @@ "postfix": false, "binop": null }, - "value": "xktEntityId", - "start": 16082, - "end": 16093, + "value": "matrix", + "start": 18939, + "end": 18945, "loc": { "start": { - "line": 481, - "column": 12 + "line": 560, + "column": 27 }, "end": { - "line": 481, - "column": 23 + "line": 560, + "column": 33 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 16094, - "end": 16095, + "start": 18945, + "end": 18946, "loc": { "start": { - "line": 481, - "column": 24 + "line": 560, + "column": 33 }, "end": { - "line": 481, - "column": 25 + "line": 560, + "column": 34 } } }, { "type": { - "label": "string", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -100813,44 +118904,42 @@ "binop": null, "updateContext": null }, - "value": "entity-", - "start": 16096, - "end": 16105, + "value": "if", + "start": 18955, + "end": 18957, "loc": { "start": { - "line": 481, - "column": 26 + "line": 561, + "column": 8 }, "end": { - "line": 481, - "column": 35 + "line": 561, + "column": 10 } } }, { "type": { - "label": "+/-", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 16106, - "end": 16107, + "start": 18958, + "end": 18959, "loc": { "start": { - "line": 481, - "column": 36 + "line": 561, + "column": 11 }, "end": { - "line": 481, - "column": 37 + "line": 561, + "column": 12 } } }, @@ -100866,23 +118955,23 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 16108, - "end": 16111, + "value": "matrix", + "start": 18959, + "end": 18965, "loc": { "start": { - "line": 481, - "column": 38 + "line": 561, + "column": 12 }, "end": { - "line": 481, - "column": 41 + "line": 561, + "column": 18 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -100890,26 +118979,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16111, - "end": 16112, + "start": 18965, + "end": 18966, "loc": { "start": { - "line": 481, - "column": 41 + "line": 561, + "column": 18 }, "end": { - "line": 481, - "column": 42 + "line": 561, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -100918,77 +119006,77 @@ "postfix": false, "binop": null }, - "value": "nextId", - "start": 16112, - "end": 16118, + "start": 18967, + "end": 18968, "loc": { "start": { - "line": 481, - "column": 42 + "line": 561, + "column": 20 }, "end": { - "line": 481, - "column": 48 + "line": 561, + "column": 21 } } }, { "type": { - "label": "++/--", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, + "prefix": false, + "postfix": false, "binop": null }, - "value": "++", - "start": 16118, - "end": 16120, + "value": "matrix", + "start": 18981, + "end": 18987, "loc": { "start": { - "line": 481, - "column": 48 + "line": 562, + "column": 12 }, "end": { - "line": 481, - "column": 50 + "line": 562, + "column": 18 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 16120, - "end": 16121, + "value": "=", + "start": 18988, + "end": 18989, "loc": { "start": { - "line": 481, - "column": 50 + "line": 562, + "column": 19 }, "end": { - "line": 481, - "column": 51 + "line": 562, + "column": 20 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -100996,75 +119084,76 @@ "postfix": false, "binop": null }, - "start": 16130, - "end": 16131, + "value": "math", + "start": 18990, + "end": 18994, "loc": { "start": { - "line": 482, - "column": 8 + "line": 562, + "column": 21 }, "end": { - "line": 482, - "column": 9 + "line": 562, + "column": 25 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "objectIdStack", - "start": 16140, - "end": 16153, + "start": 18994, + "end": 18995, "loc": { "start": { - "line": 483, - "column": 8 + "line": 562, + "column": 25 }, "end": { - "line": 483, - "column": 21 + "line": 562, + "column": 26 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16153, - "end": 16154, + "value": "mulMat4", + "start": 18995, + "end": 19002, "loc": { "start": { - "line": 483, - "column": 21 + "line": 562, + "column": 26 }, "end": { - "line": 483, - "column": 22 + "line": 562, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -101073,24 +119162,23 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 16154, - "end": 16158, + "start": 19002, + "end": 19003, "loc": { "start": { - "line": 483, - "column": 22 + "line": 562, + "column": 33 }, "end": { - "line": 483, - "column": 26 + "line": 562, + "column": 34 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -101099,50 +119187,51 @@ "postfix": false, "binop": null }, - "start": 16158, - "end": 16159, + "value": "matrix", + "start": 19003, + "end": 19009, "loc": { "start": { - "line": 483, - "column": 26 + "line": 562, + "column": 34 }, "end": { - "line": 483, - "column": 27 + "line": 562, + "column": 40 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "xktEntityId", - "start": 16159, - "end": 16170, + "start": 19009, + "end": 19010, "loc": { "start": { - "line": 483, - "column": 27 + "line": 562, + "column": 40 }, "end": { - "line": 483, - "column": 38 + "line": 562, + "column": 41 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -101150,22 +119239,23 @@ "postfix": false, "binop": null }, - "start": 16170, - "end": 16171, + "value": "localMatrix", + "start": 19011, + "end": 19022, "loc": { "start": { - "line": 483, - "column": 38 + "line": 562, + "column": 42 }, "end": { - "line": 483, - "column": 39 + "line": 562, + "column": 53 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -101176,16 +119266,16 @@ "binop": null, "updateContext": null }, - "start": 16171, - "end": 16172, + "start": 19022, + "end": 19023, "loc": { - "start": { - "line": 483, - "column": 39 + "start": { + "line": 562, + "column": 53 }, "end": { - "line": 483, - "column": 40 + "line": 562, + "column": 54 } } }, @@ -101201,17 +119291,17 @@ "postfix": false, "binop": null }, - "value": "meshIdsStack", - "start": 16181, - "end": 16193, + "value": "math", + "start": 19024, + "end": 19028, "loc": { "start": { - "line": 484, - "column": 8 + "line": 562, + "column": 55 }, "end": { - "line": 484, - "column": 20 + "line": 562, + "column": 59 } } }, @@ -101228,16 +119318,16 @@ "binop": null, "updateContext": null }, - "start": 16193, - "end": 16194, + "start": 19028, + "end": 19029, "loc": { "start": { - "line": 484, - "column": 20 + "line": 562, + "column": 59 }, "end": { - "line": 484, - "column": 21 + "line": 562, + "column": 60 } } }, @@ -101253,17 +119343,17 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 16194, - "end": 16198, + "value": "mat4", + "start": 19029, + "end": 19033, "loc": { "start": { - "line": 484, - "column": 21 + "line": 562, + "column": 60 }, "end": { - "line": 484, - "column": 25 + "line": 562, + "column": 64 } } }, @@ -101279,24 +119369,24 @@ "postfix": false, "binop": null }, - "start": 16198, - "end": 16199, + "start": 19033, + "end": 19034, "loc": { "start": { - "line": 484, - "column": 25 + "line": 562, + "column": 64 }, "end": { - "line": 484, - "column": 26 + "line": 562, + "column": 65 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -101304,17 +119394,16 @@ "postfix": false, "binop": null }, - "value": "meshIds", - "start": 16199, - "end": 16206, + "start": 19034, + "end": 19035, "loc": { "start": { - "line": 484, - "column": 26 + "line": 562, + "column": 65 }, "end": { - "line": 484, - "column": 33 + "line": 562, + "column": 66 } } }, @@ -101330,16 +119419,16 @@ "postfix": false, "binop": null }, - "start": 16206, - "end": 16207, + "start": 19035, + "end": 19036, "loc": { "start": { - "line": 484, - "column": 33 + "line": 562, + "column": 66 }, "end": { - "line": 484, - "column": 34 + "line": 562, + "column": 67 } } }, @@ -101356,16 +119445,16 @@ "binop": null, "updateContext": null }, - "start": 16207, - "end": 16208, + "start": 19036, + "end": 19037, "loc": { "start": { - "line": 484, - "column": 34 + "line": 562, + "column": 67 }, "end": { - "line": 484, - "column": 35 + "line": 562, + "column": 68 } } }, @@ -101381,24 +119470,24 @@ "postfix": false, "binop": null }, - "start": 16213, - "end": 16214, + "start": 19046, + "end": 19047, "loc": { "start": { - "line": 485, - "column": 4 + "line": 563, + "column": 8 }, "end": { - "line": 485, - "column": 5 + "line": 563, + "column": 9 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -101408,23 +119497,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 16220, - "end": 16222, + "value": "else", + "start": 19048, + "end": 19052, "loc": { "start": { - "line": 487, - "column": 4 + "line": 563, + "column": 10 }, "end": { - "line": 487, - "column": 6 + "line": 563, + "column": 14 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -101434,16 +119523,16 @@ "postfix": false, "binop": null }, - "start": 16223, - "end": 16224, + "start": 19053, + "end": 19054, "loc": { "start": { - "line": 487, - "column": 7 + "line": 563, + "column": 15 }, "end": { - "line": 487, - "column": 8 + "line": 563, + "column": 16 } } }, @@ -101459,44 +119548,44 @@ "postfix": false, "binop": null }, - "value": "meshIds", - "start": 16224, - "end": 16231, + "value": "matrix", + "start": 19067, + "end": 19073, "loc": { "start": { - "line": 487, - "column": 8 + "line": 564, + "column": 12 }, "end": { - "line": 487, - "column": 15 + "line": 564, + "column": 18 } } }, { "type": { - "label": "&&", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 16232, - "end": 16234, + "value": "=", + "start": 19074, + "end": 19075, "loc": { "start": { - "line": 487, - "column": 16 + "line": 564, + "column": 19 }, "end": { - "line": 487, - "column": 18 + "line": 564, + "column": 20 } } }, @@ -101512,24 +119601,24 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 16235, - "end": 16239, + "value": "localMatrix", + "start": 19076, + "end": 19087, "loc": { "start": { - "line": 487, - "column": 19 + "line": 564, + "column": 21 }, "end": { - "line": 487, - "column": 23 + "line": 564, + "column": 32 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -101539,24 +119628,24 @@ "binop": null, "updateContext": null }, - "start": 16239, - "end": 16240, + "start": 19087, + "end": 19088, "loc": { "start": { - "line": 487, - "column": 23 + "line": 564, + "column": 32 }, "end": { - "line": 487, - "column": 24 + "line": 564, + "column": 33 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -101564,23 +119653,22 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 16240, - "end": 16244, + "start": 19097, + "end": 19098, "loc": { "start": { - "line": 487, - "column": 24 + "line": 565, + "column": 8 }, "end": { - "line": 487, - "column": 28 + "line": 565, + "column": 9 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -101590,69 +119678,69 @@ "postfix": false, "binop": null }, - "start": 16244, - "end": 16245, + "start": 19103, + "end": 19104, "loc": { "start": { - "line": 487, - "column": 28 + "line": 566, + "column": 4 }, "end": { - "line": 487, - "column": 29 + "line": 566, + "column": 5 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 16246, - "end": 16247, + "value": "if", + "start": 19109, + "end": 19111, "loc": { "start": { - "line": 487, - "column": 30 + "line": 567, + "column": 4 }, "end": { - "line": 487, - "column": 31 + "line": 567, + "column": 6 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 16257, - "end": 16262, + "start": 19112, + "end": 19113, "loc": { "start": { - "line": 489, - "column": 8 + "line": 567, + "column": 7 }, "end": { - "line": 489, - "column": 13 + "line": 567, + "column": 8 } } }, @@ -101668,44 +119756,43 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 16263, - "end": 16267, + "value": "node", + "start": 19113, + "end": 19117, "loc": { "start": { - "line": 489, - "column": 14 + "line": 567, + "column": 8 }, "end": { - "line": 489, - "column": 18 + "line": 567, + "column": 12 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 16268, - "end": 16269, + "start": 19117, + "end": 19118, "loc": { "start": { - "line": 489, - "column": 19 + "line": 567, + "column": 12 }, "end": { - "line": 489, - "column": 20 + "line": 567, + "column": 13 } } }, @@ -101721,23 +119808,23 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 16270, - "end": 16274, + "value": "translation", + "start": 19118, + "end": 19129, "loc": { "start": { - "line": 489, - "column": 21 + "line": 567, + "column": 13 }, "end": { - "line": 489, - "column": 25 + "line": 567, + "column": 24 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -101745,26 +119832,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16274, - "end": 16275, + "start": 19129, + "end": 19130, "loc": { "start": { - "line": 489, - "column": 25 + "line": 567, + "column": 24 }, "end": { - "line": 489, - "column": 26 + "line": 567, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -101773,71 +119859,69 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 16275, - "end": 16279, + "start": 19131, + "end": 19132, "loc": { "start": { - "line": 489, + "line": 567, "column": 26 }, "end": { - "line": 489, - "column": 30 + "line": 567, + "column": 27 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16279, - "end": 16280, + "value": "localMatrix", + "start": 19141, + "end": 19152, "loc": { "start": { - "line": 489, - "column": 30 + "line": 568, + "column": 8 }, "end": { - "line": 489, - "column": 31 + "line": 568, + "column": 19 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "const", - "start": 16289, - "end": 16294, + "value": "=", + "start": 19153, + "end": 19154, "loc": { "start": { - "line": 490, - "column": 8 + "line": 568, + "column": 20 }, "end": { - "line": 490, - "column": 13 + "line": 568, + "column": 21 } } }, @@ -101853,44 +119937,43 @@ "postfix": false, "binop": null }, - "value": "numPrimitives", - "start": 16295, - "end": 16308, + "value": "math", + "start": 19155, + "end": 19159, "loc": { "start": { - "line": 490, - "column": 14 + "line": 568, + "column": 22 }, "end": { - "line": 490, - "column": 27 + "line": 568, + "column": 26 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 16309, - "end": 16310, + "start": 19159, + "end": 19160, "loc": { "start": { - "line": 490, - "column": 28 + "line": 568, + "column": 26 }, "end": { - "line": 490, - "column": 29 + "line": 568, + "column": 27 } } }, @@ -101906,43 +119989,42 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 16311, - "end": 16315, + "value": "translationMat4v", + "start": 19160, + "end": 19176, "loc": { "start": { - "line": 490, - "column": 30 + "line": 568, + "column": 27 }, "end": { - "line": 490, - "column": 34 + "line": 568, + "column": 43 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16315, - "end": 16316, + "start": 19176, + "end": 19177, "loc": { "start": { - "line": 490, - "column": 34 + "line": 568, + "column": 43 }, "end": { - "line": 490, - "column": 35 + "line": 568, + "column": 44 } } }, @@ -101958,17 +120040,17 @@ "postfix": false, "binop": null }, - "value": "primitives", - "start": 16316, - "end": 16326, + "value": "node", + "start": 19177, + "end": 19181, "loc": { "start": { - "line": 490, - "column": 35 + "line": 568, + "column": 44 }, "end": { - "line": 490, - "column": 45 + "line": 568, + "column": 48 } } }, @@ -101985,16 +120067,16 @@ "binop": null, "updateContext": null }, - "start": 16326, - "end": 16327, + "start": 19181, + "end": 19182, "loc": { "start": { - "line": 490, - "column": 45 + "line": 568, + "column": 48 }, "end": { - "line": 490, - "column": 46 + "line": 568, + "column": 49 } } }, @@ -102010,17 +120092,42 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 16327, - "end": 16333, + "value": "translation", + "start": 19182, + "end": 19193, "loc": { "start": { - "line": 490, - "column": 46 + "line": 568, + "column": 49 }, "end": { - "line": 490, - "column": 52 + "line": 568, + "column": 60 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19193, + "end": 19194, + "loc": { + "start": { + "line": 568, + "column": 60 + }, + "end": { + "line": 568, + "column": 61 } } }, @@ -102037,16 +120144,16 @@ "binop": null, "updateContext": null }, - "start": 16333, - "end": 16334, + "start": 19194, + "end": 19195, "loc": { "start": { - "line": 490, - "column": 52 + "line": 568, + "column": 61 }, "end": { - "line": 490, - "column": 53 + "line": 568, + "column": 62 } } }, @@ -102065,15 +120172,15 @@ "updateContext": null }, "value": "if", - "start": 16344, - "end": 16346, + "start": 19204, + "end": 19206, "loc": { "start": { - "line": 492, + "line": 569, "column": 8 }, "end": { - "line": 492, + "line": 569, "column": 10 } } @@ -102090,15 +120197,15 @@ "postfix": false, "binop": null }, - "start": 16347, - "end": 16348, + "start": 19207, + "end": 19208, "loc": { "start": { - "line": 492, + "line": 569, "column": 11 }, "end": { - "line": 492, + "line": 569, "column": 12 } } @@ -102115,103 +120222,74 @@ "postfix": false, "binop": null }, - "value": "numPrimitives", - "start": 16348, - "end": 16361, + "value": "matrix", + "start": 19208, + "end": 19214, "loc": { "start": { - "line": 492, + "line": 569, "column": 12 }, "end": { - "line": 492, - "column": 25 + "line": 569, + "column": 18 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": ">", - "start": 16362, - "end": 16363, + "start": 19214, + "end": 19215, "loc": { "start": { - "line": 492, - "column": 26 + "line": 569, + "column": 18 }, "end": { - "line": 492, - "column": 27 + "line": 569, + "column": 19 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 16364, - "end": 16365, - "loc": { - "start": { - "line": 492, - "column": 28 - }, - "end": { - "line": 492, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "start": 16365, - "end": 16366, + "start": 19216, + "end": 19217, "loc": { "start": { - "line": 492, - "column": 29 + "line": 569, + "column": 20 }, "end": { - "line": 492, - "column": 30 + "line": 569, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -102220,51 +120298,51 @@ "postfix": false, "binop": null }, - "start": 16367, - "end": 16368, + "value": "matrix", + "start": 19230, + "end": 19236, "loc": { "start": { - "line": 492, - "column": 31 + "line": 570, + "column": 12 }, "end": { - "line": 492, - "column": 32 + "line": 570, + "column": 18 } } }, { "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, - "isLoop": true, - "isAssign": false, + "isLoop": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "for", - "start": 16381, - "end": 16384, + "value": "=", + "start": 19237, + "end": 19238, "loc": { "start": { - "line": 493, - "column": 12 + "line": 570, + "column": 19 }, "end": { - "line": 493, - "column": 15 + "line": 570, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -102273,23 +120351,23 @@ "postfix": false, "binop": null }, - "start": 16385, - "end": 16386, + "value": "math", + "start": 19239, + "end": 19243, "loc": { "start": { - "line": 493, - "column": 16 + "line": 570, + "column": 21 }, "end": { - "line": 493, - "column": 17 + "line": 570, + "column": 25 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -102300,17 +120378,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 16386, - "end": 16389, + "start": 19243, + "end": 19244, "loc": { "start": { - "line": 493, - "column": 17 + "line": 570, + "column": 25 }, "end": { - "line": 493, - "column": 20 + "line": 570, + "column": 26 } } }, @@ -102326,50 +120403,48 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 16390, - "end": 16391, + "value": "mulMat4", + "start": 19244, + "end": 19251, "loc": { "start": { - "line": 493, - "column": 21 + "line": 570, + "column": 26 }, "end": { - "line": 493, - "column": 22 + "line": 570, + "column": 33 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 16392, - "end": 16393, + "start": 19251, + "end": 19252, "loc": { "start": { - "line": 493, - "column": 23 + "line": 570, + "column": 33 }, "end": { - "line": 493, - "column": 24 + "line": 570, + "column": 34 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -102377,26 +120452,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 16394, - "end": 16395, + "value": "matrix", + "start": 19252, + "end": 19258, "loc": { "start": { - "line": 493, - "column": 25 + "line": 570, + "column": 34 }, "end": { - "line": 493, - "column": 26 + "line": 570, + "column": 40 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -102407,16 +120481,16 @@ "binop": null, "updateContext": null }, - "start": 16395, - "end": 16396, + "start": 19258, + "end": 19259, "loc": { "start": { - "line": 493, - "column": 26 + "line": 570, + "column": 40 }, "end": { - "line": 493, - "column": 27 + "line": 570, + "column": 41 } } }, @@ -102432,23 +120506,23 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 16397, - "end": 16398, + "value": "localMatrix", + "start": 19260, + "end": 19271, "loc": { "start": { - "line": 493, - "column": 28 + "line": 570, + "column": 42 }, "end": { - "line": 493, - "column": 29 + "line": 570, + "column": 53 } } }, { "type": { - "label": "", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -102456,20 +120530,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 16399, - "end": 16400, + "start": 19271, + "end": 19272, "loc": { "start": { - "line": 493, - "column": 30 + "line": 570, + "column": 53 }, "end": { - "line": 493, - "column": 31 + "line": 570, + "column": 54 } } }, @@ -102485,24 +120558,24 @@ "postfix": false, "binop": null }, - "value": "numPrimitives", - "start": 16401, - "end": 16414, + "value": "math", + "start": 19273, + "end": 19277, "loc": { "start": { - "line": 493, - "column": 32 + "line": 570, + "column": 55 }, "end": { - "line": 493, - "column": 45 + "line": 570, + "column": 59 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -102512,16 +120585,16 @@ "binop": null, "updateContext": null }, - "start": 16414, - "end": 16415, + "start": 19277, + "end": 19278, "loc": { "start": { - "line": 493, - "column": 45 + "line": 570, + "column": 59 }, "end": { - "line": 493, - "column": 46 + "line": 570, + "column": 60 } } }, @@ -102537,43 +120610,42 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 16416, - "end": 16417, + "value": "mat4", + "start": 19278, + "end": 19282, "loc": { "start": { - "line": 493, - "column": 47 + "line": 570, + "column": 60 }, "end": { - "line": 493, - "column": 48 + "line": 570, + "column": 64 } } }, { "type": { - "label": "++/--", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, + "prefix": false, + "postfix": false, "binop": null }, - "value": "++", - "start": 16417, - "end": 16419, + "start": 19282, + "end": 19283, "loc": { "start": { - "line": 493, - "column": 48 + "line": 570, + "column": 64 }, "end": { - "line": 493, - "column": 50 + "line": 570, + "column": 65 } } }, @@ -102589,24 +120661,24 @@ "postfix": false, "binop": null }, - "start": 16419, - "end": 16420, + "start": 19283, + "end": 19284, "loc": { "start": { - "line": 493, - "column": 50 + "line": 570, + "column": 65 }, "end": { - "line": 493, - "column": 51 + "line": 570, + "column": 66 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -102614,24 +120686,23 @@ "postfix": false, "binop": null }, - "start": 16421, - "end": 16422, + "start": 19284, + "end": 19285, "loc": { "start": { - "line": 493, - "column": 52 + "line": 570, + "column": 66 }, "end": { - "line": 493, - "column": 53 + "line": 570, + "column": 67 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -102641,25 +120712,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 16439, - "end": 16444, + "start": 19285, + "end": 19286, "loc": { "start": { - "line": 494, - "column": 16 + "line": 570, + "column": 67 }, "end": { - "line": 494, - "column": 21 + "line": 570, + "column": 68 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -102667,51 +120737,51 @@ "postfix": false, "binop": null }, - "value": "primitive", - "start": 16445, - "end": 16454, + "start": 19295, + "end": 19296, "loc": { "start": { - "line": 494, - "column": 22 + "line": 571, + "column": 8 }, "end": { - "line": 494, - "column": 31 + "line": 571, + "column": 9 } } }, { "type": { - "label": "=", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 16455, - "end": 16456, + "value": "else", + "start": 19297, + "end": 19301, "loc": { "start": { - "line": 494, - "column": 32 + "line": 571, + "column": 10 }, "end": { - "line": 494, - "column": 33 + "line": 571, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -102720,43 +120790,16 @@ "postfix": false, "binop": null }, - "value": "mesh", - "start": 16457, - "end": 16461, - "loc": { - "start": { - "line": 494, - "column": 34 - }, - "end": { - "line": 494, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16461, - "end": 16462, + "start": 19302, + "end": 19303, "loc": { "start": { - "line": 494, - "column": 38 + "line": 571, + "column": 15 }, "end": { - "line": 494, - "column": 39 + "line": 571, + "column": 16 } } }, @@ -102772,43 +120815,44 @@ "postfix": false, "binop": null }, - "value": "primitives", - "start": 16462, - "end": 16472, + "value": "matrix", + "start": 19316, + "end": 19322, "loc": { "start": { - "line": 494, - "column": 39 + "line": 572, + "column": 12 }, "end": { - "line": 494, - "column": 49 + "line": 572, + "column": 18 } } }, { "type": { - "label": "[", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 16472, - "end": 16473, + "value": "=", + "start": 19323, + "end": 19324, "loc": { "start": { - "line": 494, - "column": 49 + "line": 572, + "column": 19 }, "end": { - "line": 494, - "column": 50 + "line": 572, + "column": 20 } } }, @@ -102824,24 +120868,24 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 16473, - "end": 16474, + "value": "localMatrix", + "start": 19325, + "end": 19336, "loc": { "start": { - "line": 494, - "column": 50 + "line": 572, + "column": 21 }, "end": { - "line": 494, - "column": 51 + "line": 572, + "column": 32 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -102851,49 +120895,47 @@ "binop": null, "updateContext": null }, - "start": 16474, - "end": 16475, + "start": 19336, + "end": 19337, "loc": { "start": { - "line": 494, - "column": 51 + "line": 572, + "column": 32 }, "end": { - "line": 494, - "column": 52 + "line": 572, + "column": 33 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16475, - "end": 16476, + "start": 19346, + "end": 19347, "loc": { "start": { - "line": 494, - "column": 52 + "line": 573, + "column": 8 }, "end": { - "line": 494, - "column": 53 + "line": 573, + "column": 9 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -102901,72 +120943,71 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 16493, - "end": 16495, + "start": 19352, + "end": 19353, "loc": { "start": { - "line": 495, - "column": 16 + "line": 574, + "column": 4 }, "end": { - "line": 495, - "column": 18 + "line": 574, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 16496, - "end": 16497, + "value": "if", + "start": 19358, + "end": 19360, "loc": { "start": { - "line": 495, - "column": 19 + "line": 575, + "column": 4 }, "end": { - "line": 495, - "column": 20 + "line": 575, + "column": 6 } } }, { "type": { - "label": "prefix", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 16497, - "end": 16498, + "start": 19361, + "end": 19362, "loc": { "start": { - "line": 495, - "column": 20 + "line": 575, + "column": 7 }, "end": { - "line": 495, - "column": 21 + "line": 575, + "column": 8 } } }, @@ -102982,17 +121023,17 @@ "postfix": false, "binop": null }, - "value": "primitive", - "start": 16498, - "end": 16507, + "value": "node", + "start": 19362, + "end": 19366, "loc": { "start": { - "line": 495, - "column": 21 + "line": 575, + "column": 8 }, "end": { - "line": 495, - "column": 30 + "line": 575, + "column": 12 } } }, @@ -103009,16 +121050,16 @@ "binop": null, "updateContext": null }, - "start": 16507, - "end": 16508, + "start": 19366, + "end": 19367, "loc": { "start": { - "line": 495, - "column": 30 + "line": 575, + "column": 12 }, "end": { - "line": 495, - "column": 31 + "line": 575, + "column": 13 } } }, @@ -103034,17 +121075,17 @@ "postfix": false, "binop": null }, - "value": "_xktGeometryId", - "start": 16508, - "end": 16522, + "value": "rotation", + "start": 19367, + "end": 19375, "loc": { "start": { - "line": 495, - "column": 31 + "line": 575, + "column": 13 }, "end": { - "line": 495, - "column": 45 + "line": 575, + "column": 21 } } }, @@ -103060,16 +121101,16 @@ "postfix": false, "binop": null }, - "start": 16522, - "end": 16523, + "start": 19375, + "end": 19376, "loc": { "start": { - "line": 495, - "column": 45 + "line": 575, + "column": 21 }, "end": { - "line": 495, - "column": 46 + "line": 575, + "column": 22 } } }, @@ -103085,44 +121126,16 @@ "postfix": false, "binop": null }, - "start": 16524, - "end": 16525, - "loc": { - "start": { - "line": 495, - "column": 47 - }, - "end": { - "line": 495, - "column": 48 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 16546, - "end": 16551, + "start": 19377, + "end": 19378, "loc": { "start": { - "line": 496, - "column": 20 + "line": 575, + "column": 23 }, "end": { - "line": 496, - "column": 25 + "line": 575, + "column": 24 } } }, @@ -103138,17 +121151,17 @@ "postfix": false, "binop": null }, - "value": "xktGeometryId", - "start": 16552, - "end": 16565, + "value": "localMatrix", + "start": 19387, + "end": 19398, "loc": { "start": { - "line": 496, - "column": 26 + "line": 576, + "column": 8 }, "end": { - "line": 496, - "column": 39 + "line": 576, + "column": 19 } } }, @@ -103166,22 +121179,22 @@ "updateContext": null }, "value": "=", - "start": 16566, - "end": 16567, + "start": 19399, + "end": 19400, "loc": { "start": { - "line": 496, - "column": 40 + "line": 576, + "column": 20 }, "end": { - "line": 496, - "column": 41 + "line": 576, + "column": 21 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -103189,47 +121202,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "geometry-", - "start": 16568, - "end": 16579, + "value": "math", + "start": 19401, + "end": 19405, "loc": { "start": { - "line": 496, - "column": 42 + "line": 576, + "column": 22 }, "end": { - "line": 496, - "column": 53 + "line": 576, + "column": 26 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 16580, - "end": 16581, + "start": 19405, + "end": 19406, "loc": { "start": { - "line": 496, - "column": 54 + "line": 576, + "column": 26 }, "end": { - "line": 496, - "column": 55 + "line": 576, + "column": 27 } } }, @@ -103245,43 +121256,42 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 16582, - "end": 16585, + "value": "quaternionToMat4", + "start": 19406, + "end": 19422, "loc": { "start": { - "line": 496, - "column": 56 + "line": 576, + "column": 27 }, "end": { - "line": 496, - "column": 59 + "line": 576, + "column": 43 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16585, - "end": 16586, + "start": 19422, + "end": 19423, "loc": { "start": { - "line": 496, - "column": 59 + "line": 576, + "column": 43 }, "end": { - "line": 496, - "column": 60 + "line": 576, + "column": 44 } } }, @@ -103297,76 +121307,75 @@ "postfix": false, "binop": null }, - "value": "nextId", - "start": 16586, - "end": 16592, + "value": "node", + "start": 19423, + "end": 19427, "loc": { "start": { - "line": 496, - "column": 60 + "line": 576, + "column": 44 }, "end": { - "line": 496, - "column": 66 + "line": 576, + "column": 48 } } }, { "type": { - "label": "++/--", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "value": "++", - "start": 16592, - "end": 16594, + "start": 19427, + "end": 19428, "loc": { "start": { - "line": 496, - "column": 66 + "line": 576, + "column": 48 }, "end": { - "line": 496, - "column": 68 + "line": 576, + "column": 49 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16594, - "end": 16595, + "value": "rotation", + "start": 19428, + "end": 19436, "loc": { "start": { - "line": 496, - "column": 68 + "line": 576, + "column": 49 }, "end": { - "line": 496, - "column": 69 + "line": 576, + "column": 57 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -103374,79 +121383,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 16616, - "end": 16621, + "start": 19436, + "end": 19437, "loc": { "start": { - "line": 497, - "column": 20 + "line": 576, + "column": 57 }, "end": { - "line": 497, - "column": 25 + "line": 576, + "column": 58 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "geometryCfg", - "start": 16622, - "end": 16633, + "start": 19437, + "end": 19438, "loc": { "start": { - "line": 497, - "column": 26 + "line": 576, + "column": 58 }, "end": { - "line": 497, - "column": 37 + "line": 576, + "column": 59 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 16634, - "end": 16635, + "value": "if", + "start": 19447, + "end": 19449, "loc": { "start": { - "line": 497, - "column": 38 + "line": 577, + "column": 8 }, "end": { - "line": 497, - "column": 39 + "line": 577, + "column": 10 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -103456,16 +121464,16 @@ "postfix": false, "binop": null }, - "start": 16636, - "end": 16637, + "start": 19450, + "end": 19451, "loc": { "start": { - "line": 497, - "column": 40 + "line": 577, + "column": 11 }, "end": { - "line": 497, - "column": 41 + "line": 577, + "column": 12 } } }, @@ -103481,50 +121489,49 @@ "postfix": false, "binop": null }, - "value": "geometryId", - "start": 16662, - "end": 16672, + "value": "matrix", + "start": 19451, + "end": 19457, "loc": { "start": { - "line": 498, - "column": 24 + "line": 577, + "column": 12 }, "end": { - "line": 498, - "column": 34 + "line": 577, + "column": 18 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16672, - "end": 16673, + "start": 19457, + "end": 19458, "loc": { "start": { - "line": 498, - "column": 34 + "line": 577, + "column": 18 }, "end": { - "line": 498, - "column": 35 + "line": 577, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -103533,25 +121540,24 @@ "postfix": false, "binop": null }, - "value": "xktGeometryId", - "start": 16674, - "end": 16687, + "start": 19459, + "end": 19460, "loc": { "start": { - "line": 498, - "column": 36 + "line": 577, + "column": 20 }, "end": { - "line": 498, - "column": 49 + "line": 577, + "column": 21 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -103559,95 +121565,96 @@ "postfix": false, "binop": null }, - "start": 16708, - "end": 16709, + "value": "matrix", + "start": 19473, + "end": 19479, "loc": { "start": { - "line": 499, - "column": 20 + "line": 578, + "column": 12 }, "end": { - "line": 499, - "column": 21 + "line": 578, + "column": 18 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 16709, - "end": 16710, + "value": "=", + "start": 19480, + "end": 19481, "loc": { "start": { - "line": 499, - "column": 21 + "line": 578, + "column": 19 }, "end": { - "line": 499, - "column": 22 + "line": 578, + "column": 20 } } }, { "type": { - "label": "switch", - "keyword": "switch", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "switch", - "start": 16731, - "end": 16737, + "value": "math", + "start": 19482, + "end": 19486, "loc": { "start": { - "line": 500, - "column": 20 + "line": 578, + "column": 21 }, "end": { - "line": 500, - "column": 26 + "line": 578, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 16738, - "end": 16739, + "start": 19486, + "end": 19487, "loc": { "start": { - "line": 500, - "column": 27 + "line": 578, + "column": 25 }, "end": { - "line": 500, - "column": 28 + "line": 578, + "column": 26 } } }, @@ -103663,43 +121670,42 @@ "postfix": false, "binop": null }, - "value": "primitive", - "start": 16739, - "end": 16748, + "value": "mulMat4", + "start": 19487, + "end": 19494, "loc": { "start": { - "line": 500, - "column": 28 + "line": 578, + "column": 26 }, "end": { - "line": 500, - "column": 37 + "line": 578, + "column": 33 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16748, - "end": 16749, + "start": 19494, + "end": 19495, "loc": { "start": { - "line": 500, - "column": 37 + "line": 578, + "column": 33 }, "end": { - "line": 500, - "column": 38 + "line": 578, + "column": 34 } } }, @@ -103715,49 +121721,50 @@ "postfix": false, "binop": null }, - "value": "mode", - "start": 16749, - "end": 16753, + "value": "matrix", + "start": 19495, + "end": 19501, "loc": { "start": { - "line": 500, - "column": 38 + "line": 578, + "column": 34 }, "end": { - "line": 500, - "column": 42 + "line": 578, + "column": 40 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 16753, - "end": 16754, + "start": 19501, + "end": 19502, "loc": { "start": { - "line": 500, - "column": 42 + "line": 578, + "column": 40 }, "end": { - "line": 500, - "column": 43 + "line": 578, + "column": 41 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -103766,23 +121773,23 @@ "postfix": false, "binop": null }, - "start": 16755, - "end": 16756, + "value": "localMatrix", + "start": 19503, + "end": 19514, "loc": { "start": { - "line": 500, - "column": 44 + "line": 578, + "column": 42 }, "end": { - "line": 500, - "column": 45 + "line": 578, + "column": 53 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -103793,23 +121800,22 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 16781, - "end": 16785, + "start": 19514, + "end": 19515, "loc": { "start": { - "line": 501, - "column": 24 + "line": 578, + "column": 53 }, "end": { - "line": 501, - "column": 28 + "line": 578, + "column": 54 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -103817,27 +121823,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 16786, - "end": 16787, + "value": "math", + "start": 19516, + "end": 19520, "loc": { "start": { - "line": 501, - "column": 29 + "line": 578, + "column": 55 }, "end": { - "line": 501, - "column": 30 + "line": 578, + "column": 59 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -103847,39 +121852,49 @@ "binop": null, "updateContext": null }, - "start": 16787, - "end": 16788, + "start": 19520, + "end": 19521, "loc": { "start": { - "line": 501, - "column": 30 + "line": 578, + "column": 59 }, "end": { - "line": 501, - "column": 31 + "line": 578, + "column": 60 } } }, { - "type": "CommentLine", - "value": " POINTS", - "start": 16789, - "end": 16798, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "mat4", + "start": 19521, + "end": 19525, "loc": { "start": { - "line": 501, - "column": 32 + "line": 578, + "column": 60 }, "end": { - "line": 501, - "column": 41 + "line": 578, + "column": 64 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -103888,23 +121903,22 @@ "postfix": false, "binop": null }, - "value": "geometryCfg", - "start": 16827, - "end": 16838, + "start": 19525, + "end": 19526, "loc": { "start": { - "line": 502, - "column": 28 + "line": 578, + "column": 64 }, "end": { - "line": 502, - "column": 39 + "line": 578, + "column": 65 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -103912,27 +121926,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16838, - "end": 16839, + "start": 19526, + "end": 19527, "loc": { "start": { - "line": 502, - "column": 39 + "line": 578, + "column": 65 }, "end": { - "line": 502, - "column": 40 + "line": 578, + "column": 66 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -103940,77 +121953,74 @@ "postfix": false, "binop": null }, - "value": "primitiveType", - "start": 16839, - "end": 16852, + "start": 19527, + "end": 19528, "loc": { "start": { - "line": 502, - "column": 40 + "line": 578, + "column": 66 }, "end": { - "line": 502, - "column": 53 + "line": 578, + "column": 67 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 16853, - "end": 16854, + "start": 19528, + "end": 19529, "loc": { "start": { - "line": 502, - "column": 54 + "line": 578, + "column": 67 }, "end": { - "line": 502, - "column": 55 + "line": 578, + "column": 68 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "points", - "start": 16855, - "end": 16863, + "start": 19538, + "end": 19539, "loc": { "start": { - "line": 502, - "column": 56 + "line": 579, + "column": 8 }, "end": { - "line": 502, - "column": 64 + "line": 579, + "column": 9 } } }, { "type": { - "label": ";", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -104021,104 +122031,101 @@ "binop": null, "updateContext": null }, - "start": 16863, - "end": 16864, + "value": "else", + "start": 19540, + "end": 19544, "loc": { "start": { - "line": 502, - "column": 64 + "line": 579, + "column": 10 }, "end": { - "line": 502, - "column": 65 + "line": 579, + "column": 14 } } }, { "type": { - "label": "break", - "keyword": "break", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 16893, - "end": 16898, + "start": 19545, + "end": 19546, "loc": { "start": { - "line": 503, - "column": 28 + "line": 579, + "column": 15 }, "end": { - "line": 503, - "column": 33 + "line": 579, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16898, - "end": 16899, + "value": "matrix", + "start": 19559, + "end": 19565, "loc": { "start": { - "line": 503, - "column": 33 + "line": 580, + "column": 12 }, "end": { - "line": 503, - "column": 34 + "line": 580, + "column": 18 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "case", - "start": 16924, - "end": 16928, + "value": "=", + "start": 19566, + "end": 19567, "loc": { "start": { - "line": 504, - "column": 24 + "line": 580, + "column": 19 }, "end": { - "line": 504, - "column": 28 + "line": 580, + "column": 20 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -104126,26 +122133,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 16929, - "end": 16930, + "value": "localMatrix", + "start": 19568, + "end": 19579, "loc": { "start": { - "line": 504, - "column": 29 + "line": 580, + "column": 21 }, "end": { - "line": 504, - "column": 30 + "line": 580, + "column": 32 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -104156,40 +122162,24 @@ "binop": null, "updateContext": null }, - "start": 16930, - "end": 16931, - "loc": { - "start": { - "line": 504, - "column": 30 - }, - "end": { - "line": 504, - "column": 31 - } - } - }, - { - "type": "CommentLine", - "value": " LINES", - "start": 16932, - "end": 16940, + "start": 19579, + "end": 19580, "loc": { "start": { - "line": 504, + "line": 580, "column": 32 }, "end": { - "line": 504, - "column": 40 + "line": 580, + "column": 33 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -104197,23 +122187,22 @@ "postfix": false, "binop": null }, - "value": "geometryCfg", - "start": 16969, - "end": 16980, + "start": 19589, + "end": 19590, "loc": { "start": { - "line": 505, - "column": 28 + "line": 581, + "column": 8 }, "end": { - "line": 505, - "column": 39 + "line": 581, + "column": 9 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -104221,78 +122210,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 16980, - "end": 16981, + "start": 19595, + "end": 19596, "loc": { "start": { - "line": 505, - "column": 39 + "line": 582, + "column": 4 }, "end": { - "line": 505, - "column": 40 + "line": 582, + "column": 5 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "primitiveType", - "start": 16981, - "end": 16994, + "value": "if", + "start": 19601, + "end": 19603, "loc": { "start": { - "line": 505, - "column": 40 + "line": 583, + "column": 4 }, "end": { - "line": 505, - "column": 53 + "line": 583, + "column": 6 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 16995, - "end": 16996, + "start": 19604, + "end": 19605, "loc": { "start": { - "line": 505, - "column": 54 + "line": 583, + "column": 7 }, "end": { - "line": 505, - "column": 55 + "line": 583, + "column": 8 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -104300,27 +122288,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "lines", - "start": 16997, - "end": 17004, + "value": "node", + "start": 19605, + "end": 19609, "loc": { "start": { - "line": 505, - "column": 56 + "line": 583, + "column": 8 }, "end": { - "line": 505, - "column": 63 + "line": 583, + "column": 12 } } }, { - "type": { - "label": ";", - "beforeExpr": true, + "type": { + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -104330,104 +122317,98 @@ "binop": null, "updateContext": null }, - "start": 17004, - "end": 17005, + "start": 19609, + "end": 19610, "loc": { "start": { - "line": 505, - "column": 63 + "line": 583, + "column": 12 }, "end": { - "line": 505, - "column": 64 + "line": 583, + "column": 13 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 17034, - "end": 17039, + "value": "scale", + "start": 19610, + "end": 19615, "loc": { "start": { - "line": 506, - "column": 28 + "line": 583, + "column": 13 }, "end": { - "line": 506, - "column": 33 + "line": 583, + "column": 18 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17039, - "end": 17040, + "start": 19615, + "end": 19616, "loc": { "start": { - "line": 506, - "column": 33 + "line": 583, + "column": 18 }, "end": { - "line": 506, - "column": 34 + "line": 583, + "column": 19 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "case", - "start": 17065, - "end": 17069, + "start": 19617, + "end": 19618, "loc": { "start": { - "line": 507, - "column": 24 + "line": 583, + "column": 20 }, "end": { - "line": 507, - "column": 28 + "line": 583, + "column": 21 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -104435,62 +122416,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2, - "start": 17070, - "end": 17071, + "value": "localMatrix", + "start": 19627, + "end": 19638, "loc": { "start": { - "line": 507, - "column": 29 + "line": 584, + "column": 8 }, "end": { - "line": 507, - "column": 30 + "line": 584, + "column": 19 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 17071, - "end": 17072, - "loc": { - "start": { - "line": 507, - "column": 30 - }, - "end": { - "line": 507, - "column": 31 - } - } - }, - { - "type": "CommentLine", - "value": " LINE_LOOP", - "start": 17073, - "end": 17085, + "value": "=", + "start": 19639, + "end": 19640, "loc": { "start": { - "line": 507, - "column": 32 + "line": 584, + "column": 20 }, "end": { - "line": 507, - "column": 44 + "line": 584, + "column": 21 } } }, @@ -104506,17 +122471,17 @@ "postfix": false, "binop": null }, - "value": "geometryCfg", - "start": 17114, - "end": 17125, + "value": "math", + "start": 19641, + "end": 19645, "loc": { "start": { - "line": 508, - "column": 28 + "line": 584, + "column": 22 }, "end": { - "line": 508, - "column": 39 + "line": 584, + "column": 26 } } }, @@ -104533,16 +122498,16 @@ "binop": null, "updateContext": null }, - "start": 17125, - "end": 17126, + "start": 19645, + "end": 19646, "loc": { "start": { - "line": 508, - "column": 39 + "line": 584, + "column": 26 }, "end": { - "line": 508, - "column": 40 + "line": 584, + "column": 27 } } }, @@ -104558,50 +122523,48 @@ "postfix": false, "binop": null }, - "value": "primitiveType", - "start": 17126, - "end": 17139, + "value": "scalingMat4v", + "start": 19646, + "end": 19658, "loc": { "start": { - "line": 508, - "column": 40 + "line": 584, + "column": 27 }, "end": { - "line": 508, - "column": 53 + "line": 584, + "column": 39 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 17140, - "end": 17141, + "start": 19658, + "end": 19659, "loc": { "start": { - "line": 508, - "column": 54 + "line": 584, + "column": 39 }, "end": { - "line": 508, - "column": 55 + "line": 584, + "column": 40 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -104609,27 +122572,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "line-loop", - "start": 17142, - "end": 17153, + "value": "node", + "start": 19659, + "end": 19663, "loc": { "start": { - "line": 508, - "column": 56 + "line": 584, + "column": 40 }, "end": { - "line": 508, - "column": 67 + "line": 584, + "column": 44 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -104639,77 +122601,73 @@ "binop": null, "updateContext": null }, - "start": 17153, - "end": 17154, + "start": 19663, + "end": 19664, "loc": { "start": { - "line": 508, - "column": 67 + "line": 584, + "column": 44 }, "end": { - "line": 508, - "column": 68 + "line": 584, + "column": 45 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 17183, - "end": 17188, + "value": "scale", + "start": 19664, + "end": 19669, "loc": { "start": { - "line": 509, - "column": 28 + "line": 584, + "column": 45 }, "end": { - "line": 509, - "column": 33 + "line": 584, + "column": 50 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17188, - "end": 17189, + "start": 19669, + "end": 19670, "loc": { "start": { - "line": 509, - "column": 33 + "line": 584, + "column": 50 }, "end": { - "line": 509, - "column": 34 + "line": 584, + "column": 51 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -104720,25 +122678,25 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 17214, - "end": 17218, + "start": 19670, + "end": 19671, "loc": { "start": { - "line": 510, - "column": 24 + "line": 584, + "column": 51 }, "end": { - "line": 510, - "column": 28 + "line": 584, + "column": 52 } } }, { "type": { - "label": "num", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -104747,67 +122705,76 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 17219, - "end": 17220, + "value": "if", + "start": 19680, + "end": 19682, "loc": { "start": { - "line": 510, - "column": 29 + "line": 585, + "column": 8 }, "end": { - "line": 510, - "column": 30 + "line": 585, + "column": 10 } } }, { "type": { - "label": ":", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17220, - "end": 17221, + "start": 19683, + "end": 19684, "loc": { "start": { - "line": 510, - "column": 30 + "line": 585, + "column": 11 }, "end": { - "line": 510, - "column": 31 + "line": 585, + "column": 12 } } }, { - "type": "CommentLine", - "value": " LINE_STRIP", - "start": 17222, - "end": 17235, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "matrix", + "start": 19684, + "end": 19690, "loc": { "start": { - "line": 510, - "column": 32 + "line": 585, + "column": 12 }, "end": { - "line": 510, - "column": 45 + "line": 585, + "column": 18 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -104815,43 +122782,41 @@ "postfix": false, "binop": null }, - "value": "geometryCfg", - "start": 17264, - "end": 17275, + "start": 19690, + "end": 19691, "loc": { "start": { - "line": 511, - "column": 28 + "line": 585, + "column": 18 }, "end": { - "line": 511, - "column": 39 + "line": 585, + "column": 19 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17275, - "end": 17276, + "start": 19692, + "end": 19693, "loc": { "start": { - "line": 511, - "column": 39 + "line": 585, + "column": 20 }, "end": { - "line": 511, - "column": 40 + "line": 585, + "column": 21 } } }, @@ -104867,17 +122832,17 @@ "postfix": false, "binop": null }, - "value": "primitiveType", - "start": 17276, - "end": 17289, + "value": "matrix", + "start": 19706, + "end": 19712, "loc": { "start": { - "line": 511, - "column": 40 + "line": 586, + "column": 12 }, "end": { - "line": 511, - "column": 53 + "line": 586, + "column": 18 } } }, @@ -104895,22 +122860,22 @@ "updateContext": null }, "value": "=", - "start": 17290, - "end": 17291, + "start": 19713, + "end": 19714, "loc": { "start": { - "line": 511, - "column": 54 + "line": 586, + "column": 19 }, "end": { - "line": 511, - "column": 55 + "line": 586, + "column": 20 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -104918,27 +122883,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "line-strip", - "start": 17292, - "end": 17304, + "value": "math", + "start": 19715, + "end": 19719, "loc": { "start": { - "line": 511, - "column": 56 + "line": 586, + "column": 21 }, "end": { - "line": 511, - "column": 68 + "line": 586, + "column": 25 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -104948,104 +122912,73 @@ "binop": null, "updateContext": null }, - "start": 17304, - "end": 17305, + "start": 19719, + "end": 19720, "loc": { "start": { - "line": 511, - "column": 68 + "line": 586, + "column": 25 }, "end": { - "line": 511, - "column": 69 + "line": 586, + "column": 26 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 17334, - "end": 17339, + "value": "mulMat4", + "start": 19720, + "end": 19727, "loc": { "start": { - "line": 512, - "column": 28 + "line": 586, + "column": 26 }, "end": { - "line": 512, + "line": 586, "column": 33 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17339, - "end": 17340, + "start": 19727, + "end": 19728, "loc": { "start": { - "line": 512, + "line": 586, "column": 33 }, "end": { - "line": 512, + "line": 586, "column": 34 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "case", - "start": 17365, - "end": 17369, - "loc": { - "start": { - "line": 513, - "column": 24 - }, - "end": { - "line": 513, - "column": 28 - } - } - }, - { - "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -105053,26 +122986,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 4, - "start": 17370, - "end": 17371, + "value": "matrix", + "start": 19728, + "end": 19734, "loc": { "start": { - "line": 513, - "column": 29 + "line": 586, + "column": 34 }, "end": { - "line": 513, - "column": 30 + "line": 586, + "column": 40 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -105083,32 +123015,16 @@ "binop": null, "updateContext": null }, - "start": 17371, - "end": 17372, - "loc": { - "start": { - "line": 513, - "column": 30 - }, - "end": { - "line": 513, - "column": 31 - } - } - }, - { - "type": "CommentLine", - "value": " TRIANGLES", - "start": 17373, - "end": 17385, + "start": 19734, + "end": 19735, "loc": { "start": { - "line": 513, - "column": 32 + "line": 586, + "column": 40 }, "end": { - "line": 513, - "column": 44 + "line": 586, + "column": 41 } } }, @@ -105124,24 +123040,24 @@ "postfix": false, "binop": null }, - "value": "geometryCfg", - "start": 17414, - "end": 17425, + "value": "localMatrix", + "start": 19736, + "end": 19747, "loc": { "start": { - "line": 514, - "column": 28 + "line": 586, + "column": 42 }, "end": { - "line": 514, - "column": 39 + "line": 586, + "column": 53 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -105151,16 +123067,16 @@ "binop": null, "updateContext": null }, - "start": 17425, - "end": 17426, + "start": 19747, + "end": 19748, "loc": { "start": { - "line": 514, - "column": 39 + "line": 586, + "column": 53 }, "end": { - "line": 514, - "column": 40 + "line": 586, + "column": 54 } } }, @@ -105176,50 +123092,49 @@ "postfix": false, "binop": null }, - "value": "primitiveType", - "start": 17426, - "end": 17439, + "value": "math", + "start": 19749, + "end": 19753, "loc": { "start": { - "line": 514, - "column": 40 + "line": 586, + "column": 55 }, "end": { - "line": 514, - "column": 53 + "line": 586, + "column": 59 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 17440, - "end": 17441, + "start": 19753, + "end": 19754, "loc": { "start": { - "line": 514, - "column": 54 + "line": 586, + "column": 59 }, "end": { - "line": 514, - "column": 55 + "line": 586, + "column": 60 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -105227,53 +123142,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "triangles", - "start": 17442, - "end": 17453, + "value": "mat4", + "start": 19754, + "end": 19758, "loc": { "start": { - "line": 514, - "column": 56 + "line": 586, + "column": 60 }, "end": { - "line": 514, - "column": 67 + "line": 586, + "column": 64 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17453, - "end": 17454, + "start": 19758, + "end": 19759, "loc": { "start": { - "line": 514, - "column": 67 + "line": 586, + "column": 64 }, "end": { - "line": 514, - "column": 68 + "line": 586, + "column": 65 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -105281,53 +123193,49 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 17483, - "end": 17488, + "start": 19759, + "end": 19760, "loc": { "start": { - "line": 515, - "column": 28 + "line": 586, + "column": 65 }, "end": { - "line": 515, - "column": 33 + "line": 586, + "column": 66 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17488, - "end": 17489, + "start": 19760, + "end": 19761, "loc": { "start": { - "line": 515, - "column": 33 + "line": 586, + "column": 66 }, "end": { - "line": 515, - "column": 34 + "line": 586, + "column": 67 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -105338,50 +123246,48 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 17514, - "end": 17518, + "start": 19761, + "end": 19762, "loc": { "start": { - "line": 516, - "column": 24 + "line": 586, + "column": 67 }, "end": { - "line": 516, - "column": 28 + "line": 586, + "column": 68 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 5, - "start": 17519, - "end": 17520, + "start": 19771, + "end": 19772, "loc": { "start": { - "line": 516, - "column": 29 + "line": 587, + "column": 8 }, "end": { - "line": 516, - "column": 30 + "line": 587, + "column": 9 } } }, { "type": { - "label": ":", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -105392,32 +123298,42 @@ "binop": null, "updateContext": null }, - "start": 17520, - "end": 17521, + "value": "else", + "start": 19773, + "end": 19777, "loc": { "start": { - "line": 516, - "column": 30 + "line": 587, + "column": 10 }, "end": { - "line": 516, - "column": 31 + "line": 587, + "column": 14 } } }, { - "type": "CommentLine", - "value": " TRIANGLE_STRIP", - "start": 17522, - "end": 17539, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 19778, + "end": 19779, "loc": { "start": { - "line": 516, - "column": 32 + "line": 587, + "column": 15 }, "end": { - "line": 516, - "column": 49 + "line": 587, + "column": 16 } } }, @@ -105433,43 +123349,44 @@ "postfix": false, "binop": null }, - "value": "geometryCfg", - "start": 17568, - "end": 17579, + "value": "matrix", + "start": 19792, + "end": 19798, "loc": { "start": { - "line": 517, - "column": 28 + "line": 588, + "column": 12 }, "end": { - "line": 517, - "column": 39 + "line": 588, + "column": 18 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 17579, - "end": 17580, + "value": "=", + "start": 19799, + "end": 19800, "loc": { "start": { - "line": 517, - "column": 39 + "line": 588, + "column": 19 }, "end": { - "line": 517, - "column": 40 + "line": 588, + "column": 20 } } }, @@ -105485,105 +123402,101 @@ "postfix": false, "binop": null }, - "value": "primitiveType", - "start": 17580, - "end": 17593, + "value": "localMatrix", + "start": 19801, + "end": 19812, "loc": { "start": { - "line": 517, - "column": 40 + "line": 588, + "column": 21 }, "end": { - "line": 517, - "column": 53 + "line": 588, + "column": 32 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 17594, - "end": 17595, + "start": 19812, + "end": 19813, "loc": { "start": { - "line": 517, - "column": 54 + "line": 588, + "column": 32 }, "end": { - "line": 517, - "column": 55 + "line": 588, + "column": 33 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "triangle-strip", - "start": 17596, - "end": 17612, + "start": 19822, + "end": 19823, "loc": { "start": { - "line": 517, - "column": 56 + "line": 589, + "column": 8 }, "end": { - "line": 517, - "column": 72 + "line": 589, + "column": 9 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17612, - "end": 17613, + "start": 19828, + "end": 19829, "loc": { "start": { - "line": 517, - "column": 72 + "line": 590, + "column": 4 }, "end": { - "line": 517, - "column": 73 + "line": 590, + "column": 5 } } }, { "type": { - "label": "break", - "keyword": "break", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -105593,50 +123506,49 @@ "binop": null, "updateContext": null }, - "value": "break", - "start": 17642, - "end": 17647, + "value": "return", + "start": 19834, + "end": 19840, "loc": { "start": { - "line": 518, - "column": 28 + "line": 591, + "column": 4 }, "end": { - "line": 518, - "column": 33 + "line": 591, + "column": 10 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17647, - "end": 17648, + "value": "matrix", + "start": 19841, + "end": 19847, "loc": { "start": { - "line": 518, - "column": 33 + "line": 591, + "column": 11 }, "end": { - "line": 518, - "column": 34 + "line": 591, + "column": 17 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -105647,86 +123559,84 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 17673, - "end": 17677, + "start": 19847, + "end": 19848, "loc": { "start": { - "line": 519, - "column": 24 + "line": 591, + "column": 17 }, "end": { - "line": 519, - "column": 28 + "line": 591, + "column": 18 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 6, - "start": 17678, - "end": 17679, + "start": 19849, + "end": 19850, "loc": { "start": { - "line": 519, - "column": 29 + "line": 592, + "column": 0 }, "end": { - "line": 519, - "column": 30 + "line": 592, + "column": 1 } } }, { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17679, - "end": 17680, + "type": "CommentBlock", + "value": "*\n * Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel.\n *\n * @param node glTF node\n * @param ctx Parsing context\n * @param matrix Matrix for the XKTMeshes\n * @param meshIds returns IDs of the new XKTMeshes\n ", + "start": 19852, + "end": 20119, "loc": { "start": { - "line": 519, - "column": 30 + "line": 594, + "column": 0 }, "end": { - "line": 519, - "column": 31 + "line": 601, + "column": 3 } } }, { - "type": "CommentLine", - "value": " TRIANGLE_FAN", - "start": 17681, - "end": 17696, + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 20120, + "end": 20128, "loc": { "start": { - "line": 519, - "column": 32 + "line": 602, + "column": 0 }, "end": { - "line": 519, - "column": 47 + "line": 602, + "column": 8 } } }, @@ -105742,43 +123652,42 @@ "postfix": false, "binop": null }, - "value": "geometryCfg", - "start": 17725, - "end": 17736, + "value": "parseNodeMesh", + "start": 20129, + "end": 20142, "loc": { "start": { - "line": 520, - "column": 28 + "line": 602, + "column": 9 }, "end": { - "line": 520, - "column": 39 + "line": 602, + "column": 22 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17736, - "end": 17737, + "start": 20142, + "end": 20143, "loc": { "start": { - "line": 520, - "column": 39 + "line": 602, + "column": 22 }, "end": { - "line": 520, - "column": 40 + "line": 602, + "column": 23 } } }, @@ -105794,50 +123703,49 @@ "postfix": false, "binop": null }, - "value": "primitiveType", - "start": 17737, - "end": 17750, + "value": "node", + "start": 20143, + "end": 20147, "loc": { "start": { - "line": 520, - "column": 40 + "line": 602, + "column": 23 }, "end": { - "line": 520, - "column": 53 + "line": 602, + "column": 27 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 17751, - "end": 17752, + "start": 20147, + "end": 20148, "loc": { "start": { - "line": 520, - "column": 54 + "line": 602, + "column": 27 }, "end": { - "line": 520, - "column": 55 + "line": 602, + "column": 28 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -105845,26 +123753,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "triangle-fan", - "start": 17753, - "end": 17767, + "value": "ctx", + "start": 20149, + "end": 20152, "loc": { "start": { - "line": 520, - "column": 56 + "line": 602, + "column": 29 }, "end": { - "line": 520, - "column": 70 + "line": 602, + "column": 32 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -105875,50 +123782,48 @@ "binop": null, "updateContext": null }, - "start": 17767, - "end": 17768, + "start": 20152, + "end": 20153, "loc": { "start": { - "line": 520, - "column": 70 + "line": 602, + "column": 32 }, "end": { - "line": 520, - "column": 71 + "line": 602, + "column": 33 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 17797, - "end": 17802, + "value": "matrix", + "start": 20154, + "end": 20160, "loc": { "start": { - "line": 521, - "column": 28 + "line": 602, + "column": 34 }, "end": { - "line": 521, - "column": 33 + "line": 602, + "column": 40 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -105929,77 +123834,74 @@ "binop": null, "updateContext": null }, - "start": 17802, - "end": 17803, + "start": 20160, + "end": 20161, "loc": { "start": { - "line": 521, - "column": 33 + "line": 602, + "column": 40 }, "end": { - "line": 521, - "column": 34 + "line": 602, + "column": 41 } } }, { "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "default", - "start": 17828, - "end": 17835, + "value": "meshIds", + "start": 20162, + "end": 20169, "loc": { "start": { - "line": 522, - "column": 24 + "line": 602, + "column": 42 }, "end": { - "line": 522, - "column": 31 + "line": 602, + "column": 49 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17835, - "end": 17836, + "start": 20169, + "end": 20170, "loc": { "start": { - "line": 522, - "column": 31 + "line": 602, + "column": 49 }, "end": { - "line": 522, - "column": 32 + "line": 602, + "column": 50 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -106008,23 +123910,23 @@ "postfix": false, "binop": null }, - "value": "geometryCfg", - "start": 17865, - "end": 17876, + "start": 20171, + "end": 20172, "loc": { "start": { - "line": 523, - "column": 28 + "line": 602, + "column": 51 }, "end": { - "line": 523, - "column": 39 + "line": 602, + "column": 52 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -106035,23 +123937,24 @@ "binop": null, "updateContext": null }, - "start": 17876, - "end": 17877, + "value": "if", + "start": 20177, + "end": 20179, "loc": { "start": { - "line": 523, - "column": 39 + "line": 603, + "column": 4 }, "end": { - "line": 523, - "column": 40 + "line": 603, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -106060,130 +123963,154 @@ "postfix": false, "binop": null }, - "value": "primitiveType", - "start": 17877, - "end": 17890, + "start": 20180, + "end": 20181, "loc": { "start": { - "line": 523, - "column": 40 + "line": 603, + "column": 7 }, "end": { - "line": 523, - "column": 53 + "line": 603, + "column": 8 } } }, { "type": { - "label": "=", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 20181, + "end": 20182, + "loc": { + "start": { + "line": 603, + "column": 8 + }, + "end": { + "line": 603, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 17891, - "end": 17892, + "value": "node", + "start": 20182, + "end": 20186, "loc": { "start": { - "line": 523, - "column": 54 + "line": 603, + "column": 9 }, "end": { - "line": 523, - "column": 55 + "line": 603, + "column": 13 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "triangles", - "start": 17893, - "end": 17904, + "start": 20186, + "end": 20187, "loc": { "start": { - "line": 523, - "column": 56 + "line": 603, + "column": 13 }, "end": { - "line": 523, - "column": 67 + "line": 603, + "column": 14 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 17904, - "end": 17905, + "start": 20188, + "end": 20189, "loc": { "start": { - "line": 523, - "column": 67 + "line": 603, + "column": 15 }, "end": { - "line": 523, - "column": 68 + "line": 603, + "column": 16 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 17926, - "end": 17927, + "value": "return", + "start": 20198, + "end": 20204, "loc": { "start": { - "line": 524, - "column": 20 + "line": 604, + "column": 8 }, "end": { - "line": 524, - "column": 21 + "line": 604, + "column": 14 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -106193,25 +124120,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 17948, - "end": 17953, + "start": 20204, + "end": 20205, "loc": { "start": { - "line": 525, - "column": 20 + "line": 604, + "column": 14 }, "end": { - "line": 525, - "column": 25 + "line": 604, + "column": 15 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -106219,44 +124145,44 @@ "postfix": false, "binop": null }, - "value": "POSITION", - "start": 17954, - "end": 17962, + "start": 20210, + "end": 20211, "loc": { "start": { - "line": 525, - "column": 26 + "line": 605, + "column": 4 }, "end": { - "line": 525, - "column": 34 + "line": 605, + "column": 5 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 17963, - "end": 17964, + "value": "const", + "start": 20216, + "end": 20221, "loc": { "start": { - "line": 525, - "column": 35 + "line": 606, + "column": 4 }, "end": { - "line": 525, - "column": 36 + "line": 606, + "column": 9 } } }, @@ -106272,43 +124198,44 @@ "postfix": false, "binop": null }, - "value": "primitive", - "start": 17965, - "end": 17974, + "value": "mesh", + "start": 20222, + "end": 20226, "loc": { "start": { - "line": 525, - "column": 37 + "line": 606, + "column": 10 }, "end": { - "line": 525, - "column": 46 + "line": 606, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 17974, - "end": 17975, + "value": "=", + "start": 20227, + "end": 20228, "loc": { "start": { - "line": 525, - "column": 46 + "line": 606, + "column": 15 }, "end": { - "line": 525, - "column": 47 + "line": 606, + "column": 16 } } }, @@ -106324,17 +124251,17 @@ "postfix": false, "binop": null }, - "value": "attributes", - "start": 17975, - "end": 17985, + "value": "node", + "start": 20229, + "end": 20233, "loc": { "start": { - "line": 525, - "column": 47 + "line": 606, + "column": 17 }, "end": { - "line": 525, - "column": 57 + "line": 606, + "column": 21 } } }, @@ -106351,16 +124278,16 @@ "binop": null, "updateContext": null }, - "start": 17985, - "end": 17986, + "start": 20233, + "end": 20234, "loc": { "start": { - "line": 525, - "column": 57 + "line": 606, + "column": 21 }, "end": { - "line": 525, - "column": 58 + "line": 606, + "column": 22 } } }, @@ -106376,17 +124303,17 @@ "postfix": false, "binop": null }, - "value": "POSITION", - "start": 17986, - "end": 17994, + "value": "mesh", + "start": 20234, + "end": 20238, "loc": { "start": { - "line": 525, - "column": 58 + "line": 606, + "column": 22 }, "end": { - "line": 525, - "column": 66 + "line": 606, + "column": 26 } } }, @@ -106403,16 +124330,16 @@ "binop": null, "updateContext": null }, - "start": 17994, - "end": 17995, + "start": 20238, + "end": 20239, "loc": { "start": { - "line": 525, - "column": 66 + "line": 606, + "column": 26 }, "end": { - "line": 525, - "column": 67 + "line": 606, + "column": 27 } } }, @@ -106431,16 +124358,16 @@ "updateContext": null }, "value": "if", - "start": 18016, - "end": 18018, + "start": 20244, + "end": 20246, "loc": { "start": { - "line": 526, - "column": 20 + "line": 607, + "column": 4 }, "end": { - "line": 526, - "column": 22 + "line": 607, + "column": 6 } } }, @@ -106456,16 +124383,16 @@ "postfix": false, "binop": null }, - "start": 18019, - "end": 18020, + "start": 20247, + "end": 20248, "loc": { "start": { - "line": 526, - "column": 23 + "line": 607, + "column": 7 }, "end": { - "line": 526, - "column": 24 + "line": 607, + "column": 8 } } }, @@ -106483,16 +124410,16 @@ "updateContext": null }, "value": "!", - "start": 18020, - "end": 18021, + "start": 20248, + "end": 20249, "loc": { "start": { - "line": 526, - "column": 24 + "line": 607, + "column": 8 }, "end": { - "line": 526, - "column": 25 + "line": 607, + "column": 9 } } }, @@ -106508,17 +124435,17 @@ "postfix": false, "binop": null }, - "value": "POSITION", - "start": 18021, - "end": 18029, + "value": "mesh", + "start": 20249, + "end": 20253, "loc": { "start": { - "line": 526, - "column": 25 + "line": 607, + "column": 9 }, "end": { - "line": 526, - "column": 33 + "line": 607, + "column": 13 } } }, @@ -106534,16 +124461,16 @@ "postfix": false, "binop": null }, - "start": 18029, - "end": 18030, + "start": 20253, + "end": 20254, "loc": { "start": { - "line": 526, - "column": 33 + "line": 607, + "column": 13 }, "end": { - "line": 526, - "column": 34 + "line": 607, + "column": 14 } } }, @@ -106559,24 +124486,24 @@ "postfix": false, "binop": null }, - "start": 18031, - "end": 18032, + "start": 20255, + "end": 20256, "loc": { "start": { - "line": 526, - "column": 35 + "line": 607, + "column": 15 }, "end": { - "line": 526, - "column": 36 + "line": 607, + "column": 16 } } }, { "type": { - "label": "continue", - "keyword": "continue", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -106586,17 +124513,17 @@ "binop": null, "updateContext": null }, - "value": "continue", - "start": 18057, - "end": 18065, + "value": "return", + "start": 20265, + "end": 20271, "loc": { "start": { - "line": 527, - "column": 24 + "line": 608, + "column": 8 }, "end": { - "line": 527, - "column": 32 + "line": 608, + "column": 14 } } }, @@ -106613,16 +124540,16 @@ "binop": null, "updateContext": null }, - "start": 18065, - "end": 18066, + "start": 20271, + "end": 20272, "loc": { "start": { - "line": 527, - "column": 32 + "line": 608, + "column": 14 }, "end": { - "line": 527, - "column": 33 + "line": 608, + "column": 15 } } }, @@ -106638,48 +124565,23 @@ "postfix": false, "binop": null }, - "start": 18087, - "end": 18088, - "loc": { - "start": { - "line": 528, - "column": 20 - }, - "end": { - "line": 528, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "geometryCfg", - "start": 18109, - "end": 18120, + "start": 20277, + "end": 20278, "loc": { "start": { - "line": 529, - "column": 20 + "line": 609, + "column": 4 }, "end": { - "line": 529, - "column": 31 + "line": 609, + "column": 5 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -106690,16 +124592,17 @@ "binop": null, "updateContext": null }, - "start": 18120, - "end": 18121, + "value": "const", + "start": 20283, + "end": 20288, "loc": { "start": { - "line": 529, - "column": 31 + "line": 610, + "column": 4 }, "end": { - "line": 529, - "column": 32 + "line": 610, + "column": 9 } } }, @@ -106715,17 +124618,17 @@ "postfix": false, "binop": null }, - "value": "positions", - "start": 18121, - "end": 18130, + "value": "numPrimitives", + "start": 20289, + "end": 20302, "loc": { "start": { - "line": 529, - "column": 32 + "line": 610, + "column": 10 }, "end": { - "line": 529, - "column": 41 + "line": 610, + "column": 23 } } }, @@ -106743,16 +124646,16 @@ "updateContext": null }, "value": "=", - "start": 18131, - "end": 18132, + "start": 20303, + "end": 20304, "loc": { "start": { - "line": 529, - "column": 42 + "line": 610, + "column": 24 }, "end": { - "line": 529, - "column": 43 + "line": 610, + "column": 25 } } }, @@ -106768,17 +124671,17 @@ "postfix": false, "binop": null }, - "value": "primitive", - "start": 18133, - "end": 18142, + "value": "mesh", + "start": 20305, + "end": 20309, "loc": { "start": { - "line": 529, - "column": 44 + "line": 610, + "column": 26 }, "end": { - "line": 529, - "column": 53 + "line": 610, + "column": 30 } } }, @@ -106795,16 +124698,16 @@ "binop": null, "updateContext": null }, - "start": 18142, - "end": 18143, + "start": 20309, + "end": 20310, "loc": { "start": { - "line": 529, - "column": 53 + "line": 610, + "column": 30 }, "end": { - "line": 529, - "column": 54 + "line": 610, + "column": 31 } } }, @@ -106820,17 +124723,17 @@ "postfix": false, "binop": null }, - "value": "attributes", - "start": 18143, - "end": 18153, + "value": "primitives", + "start": 20310, + "end": 20320, "loc": { "start": { - "line": 529, - "column": 54 + "line": 610, + "column": 31 }, "end": { - "line": 529, - "column": 64 + "line": 610, + "column": 41 } } }, @@ -106847,16 +124750,16 @@ "binop": null, "updateContext": null }, - "start": 18153, - "end": 18154, + "start": 20320, + "end": 20321, "loc": { "start": { - "line": 529, - "column": 64 + "line": 610, + "column": 41 }, "end": { - "line": 529, - "column": 65 + "line": 610, + "column": 42 } } }, @@ -106872,24 +124775,24 @@ "postfix": false, "binop": null }, - "value": "POSITION", - "start": 18154, - "end": 18162, + "value": "length", + "start": 20321, + "end": 20327, "loc": { "start": { - "line": 529, - "column": 65 + "line": 610, + "column": 42 }, "end": { - "line": 529, - "column": 73 + "line": 610, + "column": 48 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -106899,49 +124802,24 @@ "binop": null, "updateContext": null }, - "start": 18162, - "end": 18163, + "start": 20327, + "end": 20328, "loc": { "start": { - "line": 529, - "column": 73 + "line": 610, + "column": 48 }, "end": { - "line": 529, - "column": 74 + "line": 610, + "column": 49 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "value", - "start": 18163, - "end": 18168, - "loc": { - "start": { - "line": 529, - "column": 74 - }, - "end": { - "line": 529, - "column": 79 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -106951,23 +124829,24 @@ "binop": null, "updateContext": null }, - "start": 18168, - "end": 18169, + "value": "if", + "start": 20333, + "end": 20335, "loc": { "start": { - "line": 529, - "column": 79 + "line": 611, + "column": 4 }, "end": { - "line": 529, - "column": 80 + "line": 611, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -106976,43 +124855,16 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 18190, - "end": 18193, - "loc": { - "start": { - "line": 530, - "column": 20 - }, - "end": { - "line": 530, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18193, - "end": 18194, + "start": 20336, + "end": 20337, "loc": { "start": { - "line": 530, - "column": 23 + "line": 611, + "column": 7 }, "end": { - "line": 530, - "column": 24 + "line": 611, + "column": 8 } } }, @@ -107028,49 +124880,50 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 18194, - "end": 18199, + "value": "numPrimitives", + "start": 20337, + "end": 20350, "loc": { "start": { - "line": 530, - "column": 24 + "line": 611, + "column": 8 }, "end": { - "line": 530, - "column": 29 + "line": 611, + "column": 21 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 18199, - "end": 18200, + "value": ">", + "start": 20351, + "end": 20352, "loc": { "start": { - "line": 530, - "column": 29 + "line": 611, + "column": 22 }, "end": { - "line": 530, - "column": 30 + "line": 611, + "column": 23 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -107078,53 +124931,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "numVertices", - "start": 18200, - "end": 18211, + "value": 0, + "start": 20353, + "end": 20354, "loc": { "start": { - "line": 530, - "column": 30 + "line": 611, + "column": 24 }, "end": { - "line": 530, - "column": 41 + "line": 611, + "column": 25 } } }, { "type": { - "label": "_=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "+=", - "start": 18212, - "end": 18214, + "start": 20354, + "end": 20355, "loc": { "start": { - "line": 530, - "column": 42 + "line": 611, + "column": 25 }, "end": { - "line": 530, - "column": 44 + "line": 611, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -107133,50 +124985,51 @@ "postfix": false, "binop": null }, - "value": "geometryCfg", - "start": 18215, - "end": 18226, + "start": 20356, + "end": 20357, "loc": { "start": { - "line": 530, - "column": 45 + "line": 611, + "column": 27 }, "end": { - "line": 530, - "column": 56 + "line": 611, + "column": 28 } } }, { "type": { - "label": ".", + "label": "for", + "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 18226, - "end": 18227, + "value": "for", + "start": 20366, + "end": 20369, "loc": { "start": { - "line": 530, - "column": 56 + "line": 612, + "column": 8 }, "end": { - "line": 530, - "column": 57 + "line": 612, + "column": 11 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -107185,23 +125038,23 @@ "postfix": false, "binop": null }, - "value": "positions", - "start": 18227, - "end": 18236, + "start": 20370, + "end": 20371, "loc": { "start": { - "line": 530, - "column": 57 + "line": 612, + "column": 12 }, "end": { - "line": 530, - "column": 66 + "line": 612, + "column": 13 } } }, { "type": { - "label": ".", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -107212,16 +125065,17 @@ "binop": null, "updateContext": null }, - "start": 18236, - "end": 18237, + "value": "let", + "start": 20371, + "end": 20374, "loc": { "start": { - "line": 530, - "column": 66 + "line": 612, + "column": 13 }, "end": { - "line": 530, - "column": 67 + "line": 612, + "column": 16 } } }, @@ -107237,44 +125091,44 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 18237, - "end": 18243, + "value": "i", + "start": 20375, + "end": 20376, "loc": { "start": { - "line": 530, - "column": 67 + "line": 612, + "column": 17 }, "end": { - "line": 530, - "column": 73 + "line": 612, + "column": 18 } } }, { "type": { - "label": "/", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 18244, - "end": 18245, + "value": "=", + "start": 20377, + "end": 20378, "loc": { "start": { - "line": 530, - "column": 74 + "line": 612, + "column": 19 }, "end": { - "line": 530, - "column": 75 + "line": 612, + "column": 20 } } }, @@ -107291,17 +125145,17 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 18246, - "end": 18247, + "value": 0, + "start": 20379, + "end": 20380, "loc": { "start": { - "line": 530, - "column": 76 + "line": 612, + "column": 21 }, "end": { - "line": 530, - "column": 77 + "line": 612, + "column": 22 } } }, @@ -107318,69 +125172,69 @@ "binop": null, "updateContext": null }, - "start": 18247, - "end": 18248, + "start": 20380, + "end": 20381, "loc": { "start": { - "line": 530, - "column": 77 + "line": 612, + "column": 22 }, "end": { - "line": 530, - "column": 78 + "line": 612, + "column": 23 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 18269, - "end": 18271, + "value": "i", + "start": 20382, + "end": 20383, "loc": { "start": { - "line": 531, - "column": 20 + "line": 612, + "column": 24 }, "end": { - "line": 531, - "column": 22 + "line": 612, + "column": 25 } } }, { "type": { - "label": "(", + "label": "", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "start": 18272, - "end": 18273, + "value": "<", + "start": 20384, + "end": 20385, "loc": { "start": { - "line": 531, - "column": 23 + "line": 612, + "column": 26 }, "end": { - "line": 531, - "column": 24 + "line": 612, + "column": 27 } } }, @@ -107396,24 +125250,24 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 18273, - "end": 18276, + "value": "numPrimitives", + "start": 20386, + "end": 20399, "loc": { "start": { - "line": 531, - "column": 24 + "line": 612, + "column": 28 }, "end": { - "line": 531, - "column": 27 + "line": 612, + "column": 41 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -107423,16 +125277,16 @@ "binop": null, "updateContext": null }, - "start": 18276, - "end": 18277, + "start": 20399, + "end": 20400, "loc": { "start": { - "line": 531, - "column": 27 + "line": 612, + "column": 41 }, "end": { - "line": 531, - "column": 28 + "line": 612, + "column": 42 } } }, @@ -107448,17 +125302,43 @@ "postfix": false, "binop": null }, - "value": "includeNormals", - "start": 18277, - "end": 18291, + "value": "i", + "start": 20401, + "end": 20402, "loc": { "start": { - "line": 531, - "column": 28 + "line": 612, + "column": 43 }, "end": { - "line": 531, - "column": 42 + "line": 612, + "column": 44 + } + } + }, + { + "type": { + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null + }, + "value": "++", + "start": 20402, + "end": 20404, + "loc": { + "start": { + "line": 612, + "column": 44 + }, + "end": { + "line": 612, + "column": 46 } } }, @@ -107474,16 +125354,16 @@ "postfix": false, "binop": null }, - "start": 18291, - "end": 18292, + "start": 20404, + "end": 20405, "loc": { "start": { - "line": 531, - "column": 42 + "line": 612, + "column": 46 }, "end": { - "line": 531, - "column": 43 + "line": 612, + "column": 47 } } }, @@ -107499,23 +125379,23 @@ "postfix": false, "binop": null }, - "start": 18293, - "end": 18294, + "start": 20406, + "end": 20407, "loc": { "start": { - "line": 531, - "column": 44 + "line": 612, + "column": 48 }, "end": { - "line": 531, - "column": 45 + "line": 612, + "column": 49 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "try", + "keyword": "try", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -107526,23 +125406,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 18319, - "end": 18321, + "value": "try", + "start": 20420, + "end": 20423, "loc": { "start": { - "line": 532, - "column": 24 + "line": 613, + "column": 12 }, "end": { - "line": 532, - "column": 26 + "line": 613, + "column": 15 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -107552,16 +125432,44 @@ "postfix": false, "binop": null }, - "start": 18322, - "end": 18323, + "start": 20424, + "end": 20425, "loc": { "start": { - "line": 532, - "column": 27 + "line": 613, + "column": 16 }, "end": { - "line": 532, - "column": 28 + "line": 613, + "column": 17 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 20442, + "end": 20447, + "loc": { + "start": { + "line": 614, + "column": 16 + }, + "end": { + "line": 614, + "column": 21 } } }, @@ -107578,42 +125486,43 @@ "binop": null }, "value": "primitive", - "start": 18323, - "end": 18332, + "start": 20448, + "end": 20457, "loc": { "start": { - "line": 532, - "column": 28 + "line": 614, + "column": 22 }, "end": { - "line": 532, - "column": 37 + "line": 614, + "column": 31 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 18332, - "end": 18333, + "value": "=", + "start": 20458, + "end": 20459, "loc": { "start": { - "line": 532, - "column": 37 + "line": 614, + "column": 32 }, "end": { - "line": 532, - "column": 38 + "line": 614, + "column": 33 } } }, @@ -107629,17 +125538,17 @@ "postfix": false, "binop": null }, - "value": "attributes", - "start": 18333, - "end": 18343, + "value": "mesh", + "start": 20460, + "end": 20464, "loc": { "start": { - "line": 532, - "column": 38 + "line": 614, + "column": 34 }, "end": { - "line": 532, - "column": 48 + "line": 614, + "column": 38 } } }, @@ -107656,16 +125565,16 @@ "binop": null, "updateContext": null }, - "start": 18343, - "end": 18344, + "start": 20464, + "end": 20465, "loc": { "start": { - "line": 532, - "column": 48 + "line": 614, + "column": 38 }, "end": { - "line": 532, - "column": 49 + "line": 614, + "column": 39 } } }, @@ -107681,49 +125590,50 @@ "postfix": false, "binop": null }, - "value": "NORMAL", - "start": 18344, - "end": 18350, + "value": "primitives", + "start": 20465, + "end": 20475, "loc": { "start": { - "line": 532, - "column": 49 + "line": 614, + "column": 39 }, "end": { - "line": 532, - "column": 55 + "line": 614, + "column": 49 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18350, - "end": 18351, + "start": 20475, + "end": 20476, "loc": { "start": { - "line": 532, - "column": 55 + "line": 614, + "column": 49 }, "end": { - "line": 532, - "column": 56 + "line": 614, + "column": 50 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -107732,49 +125642,50 @@ "postfix": false, "binop": null }, - "start": 18352, - "end": 18353, + "value": "i", + "start": 20476, + "end": 20477, "loc": { "start": { - "line": 532, - "column": 57 + "line": 614, + "column": 50 }, "end": { - "line": 532, - "column": 58 + "line": 614, + "column": 51 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "geometryCfg", - "start": 18382, - "end": 18393, + "start": 20477, + "end": 20478, "loc": { "start": { - "line": 533, - "column": 28 + "line": 614, + "column": 51 }, "end": { - "line": 533, - "column": 39 + "line": 614, + "column": 52 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -107784,23 +125695,51 @@ "binop": null, "updateContext": null }, - "start": 18393, - "end": 18394, + "start": 20478, + "end": 20479, "loc": { "start": { - "line": 533, - "column": 39 + "line": 614, + "column": 52 }, "end": { - "line": 533, - "column": 40 + "line": 614, + "column": 53 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 20496, + "end": 20498, + "loc": { + "start": { + "line": 615, + "column": 16 + }, + "end": { + "line": 615, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -107809,44 +125748,43 @@ "postfix": false, "binop": null }, - "value": "normals", - "start": 18394, - "end": 18401, + "start": 20499, + "end": 20500, "loc": { "start": { - "line": 533, - "column": 40 + "line": 615, + "column": 19 }, "end": { - "line": 533, - "column": 47 + "line": 615, + "column": 20 } } }, { "type": { - "label": "=", + "label": "prefix", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, + "isAssign": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 18402, - "end": 18403, + "value": "!", + "start": 20500, + "end": 20501, "loc": { "start": { - "line": 533, - "column": 48 + "line": 615, + "column": 20 }, "end": { - "line": 533, - "column": 49 + "line": 615, + "column": 21 } } }, @@ -107863,16 +125801,16 @@ "binop": null }, "value": "primitive", - "start": 18404, - "end": 18413, + "start": 20501, + "end": 20510, "loc": { "start": { - "line": 533, - "column": 50 + "line": 615, + "column": 21 }, "end": { - "line": 533, - "column": 59 + "line": 615, + "column": 30 } } }, @@ -107889,16 +125827,16 @@ "binop": null, "updateContext": null }, - "start": 18413, - "end": 18414, + "start": 20510, + "end": 20511, "loc": { "start": { - "line": 533, - "column": 59 + "line": 615, + "column": 30 }, "end": { - "line": 533, - "column": 60 + "line": 615, + "column": 31 } } }, @@ -107914,23 +125852,23 @@ "postfix": false, "binop": null }, - "value": "attributes", - "start": 18414, - "end": 18424, + "value": "_xktGeometryId", + "start": 20511, + "end": 20525, "loc": { "start": { - "line": 533, - "column": 60 + "line": 615, + "column": 31 }, "end": { - "line": 533, - "column": 70 + "line": 615, + "column": 45 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -107938,26 +125876,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 18424, - "end": 18425, + "start": 20525, + "end": 20526, "loc": { "start": { - "line": 533, - "column": 70 + "line": 615, + "column": 45 }, "end": { - "line": 533, - "column": 71 + "line": 615, + "column": 46 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -107966,23 +125903,23 @@ "postfix": false, "binop": null }, - "value": "NORMAL", - "start": 18425, - "end": 18431, + "start": 20527, + "end": 20528, "loc": { "start": { - "line": 533, - "column": 71 + "line": 615, + "column": 47 }, "end": { - "line": 533, - "column": 77 + "line": 615, + "column": 48 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -107993,16 +125930,17 @@ "binop": null, "updateContext": null }, - "start": 18431, - "end": 18432, + "value": "const", + "start": 20549, + "end": 20554, "loc": { "start": { - "line": 533, - "column": 77 + "line": 616, + "column": 20 }, "end": { - "line": 533, - "column": 78 + "line": 616, + "column": 25 } } }, @@ -108018,49 +125956,50 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 18432, - "end": 18437, + "value": "xktGeometryId", + "start": 20555, + "end": 20568, "loc": { "start": { - "line": 533, - "column": 78 + "line": 616, + "column": 26 }, "end": { - "line": 533, - "column": 83 + "line": 616, + "column": 39 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 18437, - "end": 18438, + "value": "=", + "start": 20569, + "end": 20570, "loc": { "start": { - "line": 533, - "column": 83 + "line": 616, + "column": 40 }, "end": { - "line": 533, - "column": 84 + "line": 616, + "column": 41 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -108068,45 +126007,47 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 18467, - "end": 18470, + "value": "geometry-", + "start": 20571, + "end": 20582, "loc": { "start": { - "line": 534, - "column": 28 + "line": 616, + "column": 42 }, "end": { - "line": 534, - "column": 31 + "line": 616, + "column": 53 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 18470, - "end": 18471, + "value": "+", + "start": 20583, + "end": 20584, "loc": { "start": { - "line": 534, - "column": 31 + "line": 616, + "column": 54 }, "end": { - "line": 534, - "column": 32 + "line": 616, + "column": 55 } } }, @@ -108122,17 +126063,17 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 18471, - "end": 18476, + "value": "ctx", + "start": 20585, + "end": 20588, "loc": { "start": { - "line": 534, - "column": 32 + "line": 616, + "column": 56 }, "end": { - "line": 534, - "column": 37 + "line": 616, + "column": 59 } } }, @@ -108149,16 +126090,16 @@ "binop": null, "updateContext": null }, - "start": 18476, - "end": 18477, + "start": 20588, + "end": 20589, "loc": { "start": { - "line": 534, - "column": 37 + "line": 616, + "column": 59 }, "end": { - "line": 534, - "column": 38 + "line": 616, + "column": 60 } } }, @@ -108174,76 +126115,76 @@ "postfix": false, "binop": null }, - "value": "numNormals", - "start": 18477, - "end": 18487, + "value": "nextId", + "start": 20589, + "end": 20595, "loc": { "start": { - "line": 534, - "column": 38 + "line": 616, + "column": 60 }, "end": { - "line": 534, - "column": 48 + "line": 616, + "column": 66 } } }, { "type": { - "label": "_=", - "beforeExpr": true, - "startsExpr": false, + "label": "++/--", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "isAssign": false, + "prefix": true, + "postfix": true, + "binop": null }, - "value": "+=", - "start": 18488, - "end": 18490, + "value": "++", + "start": 20595, + "end": 20597, "loc": { "start": { - "line": 534, - "column": 49 + "line": 616, + "column": 66 }, "end": { - "line": 534, - "column": 51 + "line": 616, + "column": 68 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "geometryCfg", - "start": 18491, - "end": 18502, + "start": 20597, + "end": 20598, "loc": { "start": { - "line": 534, - "column": 52 + "line": 616, + "column": 68 }, "end": { - "line": 534, - "column": 63 + "line": 616, + "column": 69 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -108254,16 +126195,17 @@ "binop": null, "updateContext": null }, - "start": 18502, - "end": 18503, + "value": "const", + "start": 20619, + "end": 20624, "loc": { "start": { - "line": 534, - "column": 63 + "line": 617, + "column": 20 }, "end": { - "line": 534, - "column": 64 + "line": 617, + "column": 25 } } }, @@ -108279,50 +126221,51 @@ "postfix": false, "binop": null }, - "value": "normals", - "start": 18503, - "end": 18510, + "value": "geometryCfg", + "start": 20625, + "end": 20636, "loc": { "start": { - "line": 534, - "column": 64 + "line": 617, + "column": 26 }, "end": { - "line": 534, - "column": 71 + "line": 617, + "column": 37 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 18510, - "end": 18511, + "value": "=", + "start": 20637, + "end": 20638, "loc": { "start": { - "line": 534, - "column": 71 + "line": 617, + "column": 38 }, "end": { - "line": 534, - "column": 72 + "line": 617, + "column": 39 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -108331,52 +126274,50 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 18511, - "end": 18517, + "start": 20639, + "end": 20640, "loc": { "start": { - "line": 534, - "column": 72 + "line": 617, + "column": 40 }, "end": { - "line": 534, - "column": 78 + "line": 617, + "column": 41 } } }, { "type": { - "label": "/", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "/", - "start": 18518, - "end": 18519, + "value": "geometryId", + "start": 20665, + "end": 20675, "loc": { "start": { - "line": 534, - "column": 79 + "line": 618, + "column": 24 }, "end": { - "line": 534, - "column": 80 + "line": 618, + "column": 34 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -108385,43 +126326,42 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 18520, - "end": 18521, + "start": 20675, + "end": 20676, "loc": { "start": { - "line": 534, - "column": 81 + "line": 618, + "column": 34 }, "end": { - "line": 534, - "column": 82 + "line": 618, + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 18521, - "end": 18522, + "value": "xktGeometryId", + "start": 20677, + "end": 20690, "loc": { "start": { - "line": 534, - "column": 82 + "line": 618, + "column": 36 }, "end": { - "line": 534, - "column": 83 + "line": 618, + "column": 49 } } }, @@ -108437,48 +126377,49 @@ "postfix": false, "binop": null }, - "start": 18547, - "end": 18548, + "start": 20711, + "end": 20712, "loc": { "start": { - "line": 535, - "column": 24 + "line": 619, + "column": 20 }, "end": { - "line": 535, - "column": 25 + "line": 619, + "column": 21 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18569, - "end": 18570, + "start": 20712, + "end": 20713, "loc": { "start": { - "line": 536, - "column": 20 + "line": 619, + "column": 21 }, "end": { - "line": 536, - "column": 21 + "line": 619, + "column": 22 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "switch", + "keyword": "switch", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -108489,17 +126430,17 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 18591, - "end": 18593, + "value": "switch", + "start": 20734, + "end": 20740, "loc": { "start": { - "line": 537, + "line": 620, "column": 20 }, "end": { - "line": 537, - "column": 22 + "line": 620, + "column": 26 } } }, @@ -108515,16 +126456,16 @@ "postfix": false, "binop": null }, - "start": 18594, - "end": 18595, + "start": 20741, + "end": 20742, "loc": { "start": { - "line": 537, - "column": 23 + "line": 620, + "column": 27 }, "end": { - "line": 537, - "column": 24 + "line": 620, + "column": 28 } } }, @@ -108541,16 +126482,16 @@ "binop": null }, "value": "primitive", - "start": 18595, - "end": 18604, + "start": 20742, + "end": 20751, "loc": { "start": { - "line": 537, - "column": 24 + "line": 620, + "column": 28 }, "end": { - "line": 537, - "column": 33 + "line": 620, + "column": 37 } } }, @@ -108567,16 +126508,16 @@ "binop": null, "updateContext": null }, - "start": 18604, - "end": 18605, + "start": 20751, + "end": 20752, "loc": { "start": { - "line": 537, - "column": 33 + "line": 620, + "column": 37 }, "end": { - "line": 537, - "column": 34 + "line": 620, + "column": 38 } } }, @@ -108592,23 +126533,23 @@ "postfix": false, "binop": null }, - "value": "attributes", - "start": 18605, - "end": 18615, + "value": "mode", + "start": 20752, + "end": 20756, "loc": { "start": { - "line": 537, - "column": 34 + "line": 620, + "column": 38 }, "end": { - "line": 537, - "column": 44 + "line": 620, + "column": 42 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -108616,26 +126557,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 18615, - "end": 18616, + "start": 20756, + "end": 20757, "loc": { "start": { - "line": 537, - "column": 44 + "line": 620, + "column": 42 }, "end": { - "line": 537, - "column": 45 + "line": 620, + "column": 43 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -108644,67 +126584,113 @@ "postfix": false, "binop": null }, - "value": "COLOR_0", - "start": 18616, - "end": 18623, + "start": 20758, + "end": 20759, "loc": { "start": { - "line": 537, + "line": 620, + "column": 44 + }, + "end": { + "line": 620, "column": 45 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 20784, + "end": 20788, + "loc": { + "start": { + "line": 621, + "column": 24 }, "end": { - "line": 537, - "column": 52 + "line": 621, + "column": 28 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18623, - "end": 18624, + "value": 0, + "start": 20789, + "end": 20790, "loc": { "start": { - "line": 537, - "column": 52 + "line": 621, + "column": 29 }, "end": { - "line": 537, - "column": 53 + "line": 621, + "column": 30 } } }, { "type": { - "label": "{", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18625, - "end": 18626, + "start": 20790, + "end": 20791, "loc": { "start": { - "line": 537, - "column": 54 + "line": 621, + "column": 30 }, "end": { - "line": 537, - "column": 55 + "line": 621, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " POINTS", + "start": 20792, + "end": 20801, + "loc": { + "start": { + "line": 621, + "column": 32 + }, + "end": { + "line": 621, + "column": 41 } } }, @@ -108721,16 +126707,16 @@ "binop": null }, "value": "geometryCfg", - "start": 18651, - "end": 18662, + "start": 20830, + "end": 20841, "loc": { "start": { - "line": 538, - "column": 24 + "line": 622, + "column": 28 }, "end": { - "line": 538, - "column": 35 + "line": 622, + "column": 39 } } }, @@ -108747,16 +126733,16 @@ "binop": null, "updateContext": null }, - "start": 18662, - "end": 18663, + "start": 20841, + "end": 20842, "loc": { "start": { - "line": 538, - "column": 35 + "line": 622, + "column": 39 }, "end": { - "line": 538, - "column": 36 + "line": 622, + "column": 40 } } }, @@ -108772,17 +126758,17 @@ "postfix": false, "binop": null }, - "value": "colorsCompressed", - "start": 18663, - "end": 18679, + "value": "primitiveType", + "start": 20842, + "end": 20855, "loc": { "start": { - "line": 538, - "column": 36 + "line": 622, + "column": 40 }, "end": { - "line": 538, - "column": 52 + "line": 622, + "column": 53 } } }, @@ -108800,22 +126786,22 @@ "updateContext": null }, "value": "=", - "start": 18680, - "end": 18681, + "start": 20856, + "end": 20857, "loc": { "start": { - "line": 538, - "column": 53 + "line": 622, + "column": 54 }, "end": { - "line": 538, - "column": 54 + "line": 622, + "column": 55 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -108823,26 +126809,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "primitive", - "start": 18682, - "end": 18691, + "value": "points", + "start": 20858, + "end": 20866, "loc": { "start": { - "line": 538, - "column": 55 + "line": 622, + "column": 56 }, "end": { - "line": 538, + "line": 622, "column": 64 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -108852,49 +126839,51 @@ "binop": null, "updateContext": null }, - "start": 18691, - "end": 18692, + "start": 20866, + "end": 20867, "loc": { "start": { - "line": 538, + "line": 622, "column": 64 }, "end": { - "line": 538, + "line": 622, "column": 65 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "attributes", - "start": 18692, - "end": 18702, + "value": "break", + "start": 20896, + "end": 20901, "loc": { "start": { - "line": 538, - "column": 65 + "line": 623, + "column": 28 }, "end": { - "line": 538, - "column": 75 + "line": 623, + "column": 33 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -108904,50 +126893,52 @@ "binop": null, "updateContext": null }, - "start": 18702, - "end": 18703, + "start": 20901, + "end": 20902, "loc": { "start": { - "line": 538, - "column": 75 + "line": 623, + "column": 33 }, "end": { - "line": 538, - "column": 76 + "line": 623, + "column": 34 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "COLOR_0", - "start": 18703, - "end": 18710, + "value": "case", + "start": 20927, + "end": 20931, "loc": { "start": { - "line": 538, - "column": 76 + "line": 624, + "column": 24 }, "end": { - "line": 538, - "column": 83 + "line": 624, + "column": 28 } } }, { "type": { - "label": ".", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -108956,74 +126947,91 @@ "binop": null, "updateContext": null }, - "start": 18710, - "end": 18711, + "value": 1, + "start": 20932, + "end": 20933, "loc": { "start": { - "line": 538, - "column": 83 + "line": 624, + "column": 29 }, "end": { - "line": 538, - "column": 84 + "line": 624, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "value", - "start": 18711, - "end": 18716, + "start": 20933, + "end": 20934, "loc": { "start": { - "line": 538, - "column": 84 + "line": 624, + "column": 30 }, "end": { - "line": 538, - "column": 89 + "line": 624, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " LINES", + "start": 20935, + "end": 20943, + "loc": { + "start": { + "line": 624, + "column": 32 + }, + "end": { + "line": 624, + "column": 40 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 18716, - "end": 18717, + "value": "geometryCfg", + "start": 20972, + "end": 20983, "loc": { "start": { - "line": 538, - "column": 89 + "line": 625, + "column": 28 }, "end": { - "line": 538, - "column": 90 + "line": 625, + "column": 39 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -109031,77 +127039,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18738, - "end": 18739, + "start": 20983, + "end": 20984, "loc": { "start": { - "line": 539, - "column": 20 + "line": 625, + "column": 39 }, "end": { - "line": 539, - "column": 21 + "line": 625, + "column": 40 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 18760, - "end": 18762, + "value": "primitiveType", + "start": 20984, + "end": 20997, "loc": { "start": { - "line": 540, - "column": 20 + "line": 625, + "column": 40 }, "end": { - "line": 540, - "column": 22 + "line": 625, + "column": 53 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18763, - "end": 18764, + "value": "=", + "start": 20998, + "end": 20999, "loc": { "start": { - "line": 540, - "column": 23 + "line": 625, + "column": 54 }, "end": { - "line": 540, - "column": 24 + "line": 625, + "column": 55 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -109109,26 +127118,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 18764, - "end": 18767, + "value": "lines", + "start": 21000, + "end": 21007, "loc": { "start": { - "line": 540, - "column": 24 + "line": 625, + "column": 56 }, "end": { - "line": 540, - "column": 27 + "line": 625, + "column": 63 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -109138,101 +127148,106 @@ "binop": null, "updateContext": null }, - "start": 18767, - "end": 18768, + "start": 21007, + "end": 21008, "loc": { "start": { - "line": 540, - "column": 27 + "line": 625, + "column": 63 }, "end": { - "line": 540, - "column": 28 + "line": 625, + "column": 64 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includeTextures", - "start": 18768, - "end": 18783, + "value": "break", + "start": 21037, + "end": 21042, "loc": { "start": { - "line": 540, + "line": 626, "column": 28 }, "end": { - "line": 540, - "column": 43 + "line": 626, + "column": 33 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18783, - "end": 18784, + "start": 21042, + "end": 21043, "loc": { "start": { - "line": 540, - "column": 43 + "line": 626, + "column": 33 }, "end": { - "line": 540, - "column": 44 + "line": 626, + "column": 34 } } }, { "type": { - "label": "{", + "label": "case", + "keyword": "case", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18785, - "end": 18786, + "value": "case", + "start": 21068, + "end": 21072, "loc": { "start": { - "line": 540, - "column": 45 + "line": 627, + "column": 24 }, "end": { - "line": 540, - "column": 46 + "line": 627, + "column": 28 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -109241,42 +127256,59 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 18811, - "end": 18813, + "value": 2, + "start": 21073, + "end": 21074, "loc": { "start": { - "line": 541, - "column": 24 + "line": 627, + "column": 29 }, "end": { - "line": 541, - "column": 26 + "line": 627, + "column": 30 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18814, - "end": 18815, + "start": 21074, + "end": 21075, "loc": { "start": { - "line": 541, - "column": 27 + "line": 627, + "column": 30 }, "end": { - "line": 541, - "column": 28 + "line": 627, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " LINE_LOOP", + "start": 21076, + "end": 21088, + "loc": { + "start": { + "line": 627, + "column": 32 + }, + "end": { + "line": 627, + "column": 44 } } }, @@ -109292,17 +127324,17 @@ "postfix": false, "binop": null }, - "value": "primitive", - "start": 18815, - "end": 18824, + "value": "geometryCfg", + "start": 21117, + "end": 21128, "loc": { "start": { - "line": 541, + "line": 628, "column": 28 }, "end": { - "line": 541, - "column": 37 + "line": 628, + "column": 39 } } }, @@ -109319,16 +127351,16 @@ "binop": null, "updateContext": null }, - "start": 18824, - "end": 18825, + "start": 21128, + "end": 21129, "loc": { "start": { - "line": 541, - "column": 37 + "line": 628, + "column": 39 }, "end": { - "line": 541, - "column": 38 + "line": 628, + "column": 40 } } }, @@ -109344,49 +127376,50 @@ "postfix": false, "binop": null }, - "value": "attributes", - "start": 18825, - "end": 18835, + "value": "primitiveType", + "start": 21129, + "end": 21142, "loc": { "start": { - "line": 541, - "column": 38 + "line": 628, + "column": 40 }, "end": { - "line": 541, - "column": 48 + "line": 628, + "column": 53 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 18835, - "end": 18836, + "value": "=", + "start": 21143, + "end": 21144, "loc": { "start": { - "line": 541, - "column": 48 + "line": 628, + "column": 54 }, "end": { - "line": 541, - "column": 49 + "line": 628, + "column": 55 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -109394,102 +127427,108 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "TEXCOORD_0", - "start": 18836, - "end": 18846, + "value": "line-loop", + "start": 21145, + "end": 21156, "loc": { "start": { - "line": 541, - "column": 49 + "line": 628, + "column": 56 }, "end": { - "line": 541, - "column": 59 + "line": 628, + "column": 67 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18846, - "end": 18847, + "start": 21156, + "end": 21157, "loc": { "start": { - "line": 541, - "column": 59 + "line": 628, + "column": 67 }, "end": { - "line": 541, - "column": 60 + "line": 628, + "column": 68 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "break", + "keyword": "break", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 18848, - "end": 18849, + "value": "break", + "start": 21186, + "end": 21191, "loc": { "start": { - "line": 541, - "column": 61 + "line": 629, + "column": 28 }, "end": { - "line": 541, - "column": 62 + "line": 629, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "geometryCfg", - "start": 18878, - "end": 18889, + "start": 21191, + "end": 21192, "loc": { "start": { - "line": 542, - "column": 28 + "line": 629, + "column": 33 }, "end": { - "line": 542, - "column": 39 + "line": 629, + "column": 34 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "case", + "keyword": "case", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -109499,22 +127538,23 @@ "binop": null, "updateContext": null }, - "start": 18889, - "end": 18890, + "value": "case", + "start": 21217, + "end": 21221, "loc": { "start": { - "line": 542, - "column": 39 + "line": 630, + "column": 24 }, "end": { - "line": 542, - "column": 40 + "line": 630, + "column": 28 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -109522,45 +127562,61 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "uvs", - "start": 18890, - "end": 18893, + "value": 3, + "start": 21222, + "end": 21223, "loc": { "start": { - "line": 542, - "column": 40 + "line": 630, + "column": 29 }, "end": { - "line": 542, - "column": 43 + "line": 630, + "column": 30 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 18894, - "end": 18895, + "start": 21223, + "end": 21224, "loc": { "start": { - "line": 542, - "column": 44 + "line": 630, + "column": 30 }, "end": { - "line": 542, + "line": 630, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " LINE_STRIP", + "start": 21225, + "end": 21238, + "loc": { + "start": { + "line": 630, + "column": 32 + }, + "end": { + "line": 630, "column": 45 } } @@ -109577,17 +127633,17 @@ "postfix": false, "binop": null }, - "value": "primitive", - "start": 18896, - "end": 18905, + "value": "geometryCfg", + "start": 21267, + "end": 21278, "loc": { "start": { - "line": 542, - "column": 46 + "line": 631, + "column": 28 }, "end": { - "line": 542, - "column": 55 + "line": 631, + "column": 39 } } }, @@ -109604,16 +127660,16 @@ "binop": null, "updateContext": null }, - "start": 18905, - "end": 18906, + "start": 21278, + "end": 21279, "loc": { "start": { - "line": 542, - "column": 55 + "line": 631, + "column": 39 }, "end": { - "line": 542, - "column": 56 + "line": 631, + "column": 40 } } }, @@ -109629,49 +127685,50 @@ "postfix": false, "binop": null }, - "value": "attributes", - "start": 18906, - "end": 18916, + "value": "primitiveType", + "start": 21279, + "end": 21292, "loc": { "start": { - "line": 542, - "column": 56 + "line": 631, + "column": 40 }, "end": { - "line": 542, - "column": 66 + "line": 631, + "column": 53 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 18916, - "end": 18917, + "value": "=", + "start": 21293, + "end": 21294, "loc": { "start": { - "line": 542, - "column": 66 + "line": 631, + "column": 54 }, "end": { - "line": 542, - "column": 67 + "line": 631, + "column": 55 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -109679,26 +127736,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "TEXCOORD_0", - "start": 18917, - "end": 18927, + "value": "line-strip", + "start": 21295, + "end": 21307, "loc": { "start": { - "line": 542, - "column": 67 + "line": 631, + "column": 56 }, "end": { - "line": 542, - "column": 77 + "line": 631, + "column": 68 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -109708,42 +127766,44 @@ "binop": null, "updateContext": null }, - "start": 18927, - "end": 18928, + "start": 21307, + "end": 21308, "loc": { "start": { - "line": 542, - "column": 77 + "line": 631, + "column": 68 }, "end": { - "line": 542, - "column": 78 + "line": 631, + "column": 69 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "value", - "start": 18928, - "end": 18933, + "value": "break", + "start": 21337, + "end": 21342, "loc": { "start": { - "line": 542, - "column": 78 + "line": 632, + "column": 28 }, "end": { - "line": 542, - "column": 83 + "line": 632, + "column": 33 } } }, @@ -109760,22 +127820,50 @@ "binop": null, "updateContext": null }, - "start": 18933, - "end": 18934, + "start": 21342, + "end": 21343, "loc": { "start": { - "line": 542, - "column": 83 + "line": 632, + "column": 33 }, "end": { - "line": 542, - "column": 84 + "line": 632, + "column": 34 } } }, { "type": { - "label": "name", + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 21368, + "end": 21372, + "loc": { + "start": { + "line": 633, + "column": 24 + }, + "end": { + "line": 633, + "column": 28 + } + } + }, + { + "type": { + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -109783,26 +127871,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 18963, - "end": 18966, + "value": 4, + "start": 21373, + "end": 21374, "loc": { "start": { - "line": 543, - "column": 28 + "line": 633, + "column": 29 }, "end": { - "line": 543, - "column": 31 + "line": 633, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -109812,16 +127901,32 @@ "binop": null, "updateContext": null }, - "start": 18966, - "end": 18967, + "start": 21374, + "end": 21375, "loc": { "start": { - "line": 543, - "column": 31 + "line": 633, + "column": 30 }, "end": { - "line": 543, + "line": 633, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " TRIANGLES", + "start": 21376, + "end": 21388, + "loc": { + "start": { + "line": 633, "column": 32 + }, + "end": { + "line": 633, + "column": 44 } } }, @@ -109837,17 +127942,17 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 18967, - "end": 18972, + "value": "geometryCfg", + "start": 21417, + "end": 21428, "loc": { "start": { - "line": 543, - "column": 32 + "line": 634, + "column": 28 }, "end": { - "line": 543, - "column": 37 + "line": 634, + "column": 39 } } }, @@ -109864,16 +127969,16 @@ "binop": null, "updateContext": null }, - "start": 18972, - "end": 18973, + "start": 21428, + "end": 21429, "loc": { "start": { - "line": 543, - "column": 37 + "line": 634, + "column": 39 }, "end": { - "line": 543, - "column": 38 + "line": 634, + "column": 40 } } }, @@ -109889,23 +127994,23 @@ "postfix": false, "binop": null }, - "value": "numUVs", - "start": 18973, - "end": 18979, + "value": "primitiveType", + "start": 21429, + "end": 21442, "loc": { "start": { - "line": 543, - "column": 38 + "line": 634, + "column": 40 }, "end": { - "line": 543, - "column": 44 + "line": 634, + "column": 53 } } }, { "type": { - "label": "_=", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -109916,23 +128021,23 @@ "binop": null, "updateContext": null }, - "value": "+=", - "start": 18980, - "end": 18982, + "value": "=", + "start": 21443, + "end": 21444, "loc": { "start": { - "line": 543, - "column": 45 + "line": 634, + "column": 54 }, "end": { - "line": 543, - "column": 47 + "line": 634, + "column": 55 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -109940,26 +128045,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "geometryCfg", - "start": 18983, - "end": 18994, + "value": "triangles", + "start": 21445, + "end": 21456, "loc": { "start": { - "line": 543, - "column": 48 + "line": 634, + "column": 56 }, "end": { - "line": 543, - "column": 59 + "line": 634, + "column": 67 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -109969,48 +128075,23 @@ "binop": null, "updateContext": null }, - "start": 18994, - "end": 18995, - "loc": { - "start": { - "line": 543, - "column": 59 - }, - "end": { - "line": 543, - "column": 60 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "uvs", - "start": 18995, - "end": 18998, + "start": 21456, + "end": 21457, "loc": { "start": { - "line": 543, - "column": 60 + "line": 634, + "column": 67 }, "end": { - "line": 543, - "column": 63 + "line": 634, + "column": 68 } } }, { "type": { - "label": ".", + "label": "break", + "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -110021,48 +128102,50 @@ "binop": null, "updateContext": null }, - "start": 18998, - "end": 18999, + "value": "break", + "start": 21486, + "end": 21491, "loc": { "start": { - "line": 543, - "column": 63 + "line": 635, + "column": 28 }, "end": { - "line": 543, - "column": 64 + "line": 635, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 18999, - "end": 19005, + "start": 21491, + "end": 21492, "loc": { "start": { - "line": 543, - "column": 64 + "line": 635, + "column": 33 }, "end": { - "line": 543, - "column": 70 + "line": 635, + "column": 34 } } }, { "type": { - "label": "/", + "label": "case", + "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -110070,20 +128153,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 19006, - "end": 19007, + "value": "case", + "start": 21517, + "end": 21521, "loc": { "start": { - "line": 543, - "column": 71 + "line": 636, + "column": 24 }, "end": { - "line": 543, - "column": 72 + "line": 636, + "column": 28 } } }, @@ -110100,23 +128183,23 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 19008, - "end": 19009, + "value": 5, + "start": 21522, + "end": 21523, "loc": { "start": { - "line": 543, - "column": 73 + "line": 636, + "column": 29 }, "end": { - "line": 543, - "column": 74 + "line": 636, + "column": 30 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -110127,24 +128210,40 @@ "binop": null, "updateContext": null }, - "start": 19009, - "end": 19010, + "start": 21523, + "end": 21524, + "loc": { + "start": { + "line": 636, + "column": 30 + }, + "end": { + "line": 636, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " TRIANGLE_STRIP", + "start": 21525, + "end": 21542, "loc": { "start": { - "line": 543, - "column": 74 + "line": 636, + "column": 32 }, "end": { - "line": 543, - "column": 75 + "line": 636, + "column": 49 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -110152,22 +128251,23 @@ "postfix": false, "binop": null }, - "start": 19035, - "end": 19036, + "value": "geometryCfg", + "start": 21571, + "end": 21582, "loc": { "start": { - "line": 544, - "column": 24 + "line": 637, + "column": 28 }, "end": { - "line": 544, - "column": 25 + "line": 637, + "column": 39 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -110175,77 +128275,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19057, - "end": 19058, + "start": 21582, + "end": 21583, "loc": { "start": { - "line": 545, - "column": 20 + "line": 637, + "column": 39 }, "end": { - "line": 545, - "column": 21 + "line": 637, + "column": 40 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 19079, - "end": 19081, + "value": "primitiveType", + "start": 21583, + "end": 21596, "loc": { "start": { - "line": 546, - "column": 20 + "line": 637, + "column": 40 }, "end": { - "line": 546, - "column": 22 + "line": 637, + "column": 53 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19082, - "end": 19083, + "value": "=", + "start": 21597, + "end": 21598, "loc": { "start": { - "line": 546, - "column": 23 + "line": 637, + "column": 54 }, "end": { - "line": 546, - "column": 24 + "line": 637, + "column": 55 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -110253,26 +128354,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "primitive", - "start": 19083, - "end": 19092, + "value": "triangle-strip", + "start": 21599, + "end": 21615, "loc": { "start": { - "line": 546, - "column": 24 + "line": 637, + "column": 56 }, "end": { - "line": 546, - "column": 33 + "line": 637, + "column": 72 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -110282,98 +128384,104 @@ "binop": null, "updateContext": null }, - "start": 19092, - "end": 19093, + "start": 21615, + "end": 21616, "loc": { "start": { - "line": 546, - "column": 33 + "line": 637, + "column": 72 }, "end": { - "line": 546, - "column": 34 + "line": 637, + "column": 73 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "indices", - "start": 19093, - "end": 19100, + "value": "break", + "start": 21645, + "end": 21650, "loc": { "start": { - "line": 546, - "column": 34 + "line": 638, + "column": 28 }, "end": { - "line": 546, - "column": 41 + "line": 638, + "column": 33 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19100, - "end": 19101, + "start": 21650, + "end": 21651, "loc": { "start": { - "line": 546, - "column": 41 + "line": 638, + "column": 33 }, "end": { - "line": 546, - "column": 42 + "line": 638, + "column": 34 } } }, { "type": { - "label": "{", + "label": "case", + "keyword": "case", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19102, - "end": 19103, + "value": "case", + "start": 21676, + "end": 21680, "loc": { "start": { - "line": 546, - "column": 43 + "line": 639, + "column": 24 }, "end": { - "line": 546, - "column": 44 + "line": 639, + "column": 28 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -110381,26 +128489,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "geometryCfg", - "start": 19128, - "end": 19139, + "value": 6, + "start": 21681, + "end": 21682, "loc": { "start": { - "line": 547, - "column": 24 + "line": 639, + "column": 29 }, "end": { - "line": 547, - "column": 35 + "line": 639, + "column": 30 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -110410,16 +128519,32 @@ "binop": null, "updateContext": null }, - "start": 19139, - "end": 19140, + "start": 21682, + "end": 21683, "loc": { "start": { - "line": 547, - "column": 35 + "line": 639, + "column": 30 }, "end": { - "line": 547, - "column": 36 + "line": 639, + "column": 31 + } + } + }, + { + "type": "CommentLine", + "value": " TRIANGLE_FAN", + "start": 21684, + "end": 21699, + "loc": { + "start": { + "line": 639, + "column": 32 + }, + "end": { + "line": 639, + "column": 47 } } }, @@ -110435,44 +128560,43 @@ "postfix": false, "binop": null }, - "value": "indices", - "start": 19140, - "end": 19147, + "value": "geometryCfg", + "start": 21728, + "end": 21739, "loc": { "start": { - "line": 547, - "column": 36 + "line": 640, + "column": 28 }, "end": { - "line": 547, - "column": 43 + "line": 640, + "column": 39 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 19148, - "end": 19149, + "start": 21739, + "end": 21740, "loc": { "start": { - "line": 547, - "column": 44 + "line": 640, + "column": 39 }, "end": { - "line": 547, - "column": 45 + "line": 640, + "column": 40 } } }, @@ -110488,49 +128612,50 @@ "postfix": false, "binop": null }, - "value": "primitive", - "start": 19150, - "end": 19159, + "value": "primitiveType", + "start": 21740, + "end": 21753, "loc": { "start": { - "line": 547, - "column": 46 + "line": 640, + "column": 40 }, "end": { - "line": 547, - "column": 55 + "line": 640, + "column": 53 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 19159, - "end": 19160, + "value": "=", + "start": 21754, + "end": 21755, "loc": { "start": { - "line": 547, - "column": 55 + "line": 640, + "column": 54 }, "end": { - "line": 547, - "column": 56 + "line": 640, + "column": 55 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -110538,26 +128663,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "indices", - "start": 19160, - "end": 19167, + "value": "triangle-fan", + "start": 21756, + "end": 21770, "loc": { "start": { - "line": 547, + "line": 640, "column": 56 }, "end": { - "line": 547, - "column": 63 + "line": 640, + "column": 70 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -110567,42 +128693,44 @@ "binop": null, "updateContext": null }, - "start": 19167, - "end": 19168, + "start": 21770, + "end": 21771, "loc": { "start": { - "line": 547, - "column": 63 + "line": 640, + "column": 70 }, "end": { - "line": 547, - "column": 64 + "line": 640, + "column": 71 } } }, { "type": { - "label": "name", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "value", - "start": 19168, - "end": 19173, + "value": "break", + "start": 21800, + "end": 21805, "loc": { "start": { - "line": 547, - "column": 64 + "line": 641, + "column": 28 }, "end": { - "line": 547, - "column": 69 + "line": 641, + "column": 33 } } }, @@ -110619,24 +128747,24 @@ "binop": null, "updateContext": null }, - "start": 19173, - "end": 19174, + "start": 21805, + "end": 21806, "loc": { "start": { - "line": 547, - "column": 69 + "line": 641, + "column": 33 }, "end": { - "line": 547, - "column": 70 + "line": 641, + "column": 34 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "default", + "keyword": "default", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -110646,42 +128774,43 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 19199, - "end": 19201, + "value": "default", + "start": 21831, + "end": 21838, "loc": { "start": { - "line": 548, + "line": 642, "column": 24 }, "end": { - "line": 548, - "column": 26 + "line": 642, + "column": 31 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19202, - "end": 19203, + "start": 21838, + "end": 21839, "loc": { "start": { - "line": 548, - "column": 27 + "line": 642, + "column": 31 }, "end": { - "line": 548, - "column": 28 + "line": 642, + "column": 32 } } }, @@ -110697,17 +128826,17 @@ "postfix": false, "binop": null }, - "value": "primitive", - "start": 19203, - "end": 19212, + "value": "geometryCfg", + "start": 21868, + "end": 21879, "loc": { "start": { - "line": 548, + "line": 643, "column": 28 }, "end": { - "line": 548, - "column": 37 + "line": 643, + "column": 39 } } }, @@ -110724,16 +128853,16 @@ "binop": null, "updateContext": null }, - "start": 19212, - "end": 19213, + "start": 21879, + "end": 21880, "loc": { "start": { - "line": 548, - "column": 37 + "line": 643, + "column": 39 }, "end": { - "line": 548, - "column": 38 + "line": 643, + "column": 40 } } }, @@ -110749,50 +128878,50 @@ "postfix": false, "binop": null }, - "value": "mode", - "start": 19213, - "end": 19217, + "value": "primitiveType", + "start": 21880, + "end": 21893, "loc": { "start": { - "line": 548, - "column": 38 + "line": 643, + "column": 40 }, "end": { - "line": 548, - "column": 42 + "line": 643, + "column": 53 } } }, { "type": { - "label": "==/!=", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 19218, - "end": 19221, + "value": "=", + "start": 21894, + "end": 21895, "loc": { "start": { - "line": 548, - "column": 43 + "line": 643, + "column": 54 }, "end": { - "line": 548, - "column": 46 + "line": 643, + "column": 55 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -110803,23 +128932,49 @@ "binop": null, "updateContext": null }, - "value": 4, - "start": 19222, - "end": 19223, + "value": "triangles", + "start": 21896, + "end": 21907, "loc": { "start": { - "line": 548, - "column": 47 + "line": 643, + "column": 56 }, "end": { - "line": 548, - "column": 48 + "line": 643, + "column": 67 } } }, { "type": { - "label": ")", + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 21907, + "end": 21908, + "loc": { + "start": { + "line": 643, + "column": 67 + }, + "end": { + "line": 643, + "column": 68 + } + } + }, + { + "type": { + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -110829,41 +128984,44 @@ "postfix": false, "binop": null }, - "start": 19223, - "end": 19224, + "start": 21929, + "end": 21930, "loc": { "start": { - "line": 548, - "column": 48 + "line": 644, + "column": 20 }, "end": { - "line": 548, - "column": 49 + "line": 644, + "column": 21 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19225, - "end": 19226, + "value": "const", + "start": 21951, + "end": 21956, "loc": { "start": { - "line": 548, - "column": 50 + "line": 645, + "column": 20 }, "end": { - "line": 548, - "column": 51 + "line": 645, + "column": 25 } } }, @@ -110879,43 +129037,44 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 19255, - "end": 19258, + "value": "POSITION", + "start": 21957, + "end": 21965, "loc": { "start": { - "line": 549, - "column": 28 + "line": 645, + "column": 26 }, "end": { - "line": 549, - "column": 31 + "line": 645, + "column": 34 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 19258, - "end": 19259, + "value": "=", + "start": 21966, + "end": 21967, "loc": { "start": { - "line": 549, - "column": 31 + "line": 645, + "column": 35 }, "end": { - "line": 549, - "column": 32 + "line": 645, + "column": 36 } } }, @@ -110931,17 +129090,17 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 19259, - "end": 19264, + "value": "primitive", + "start": 21968, + "end": 21977, "loc": { "start": { - "line": 549, - "column": 32 + "line": 645, + "column": 37 }, "end": { - "line": 549, - "column": 37 + "line": 645, + "column": 46 } } }, @@ -110958,16 +129117,16 @@ "binop": null, "updateContext": null }, - "start": 19264, - "end": 19265, + "start": 21977, + "end": 21978, "loc": { "start": { - "line": 549, - "column": 37 + "line": 645, + "column": 46 }, "end": { - "line": 549, - "column": 38 + "line": 645, + "column": 47 } } }, @@ -110983,44 +129142,43 @@ "postfix": false, "binop": null }, - "value": "numTriangles", - "start": 19265, - "end": 19277, + "value": "attributes", + "start": 21978, + "end": 21988, "loc": { "start": { - "line": 549, - "column": 38 + "line": 645, + "column": 47 }, "end": { - "line": 549, - "column": 50 + "line": 645, + "column": 57 } } }, { "type": { - "label": "_=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "+=", - "start": 19278, - "end": 19280, + "start": 21988, + "end": 21989, "loc": { "start": { - "line": 549, - "column": 51 + "line": 645, + "column": 57 }, "end": { - "line": 549, - "column": 53 + "line": 645, + "column": 58 } } }, @@ -111036,24 +129194,24 @@ "postfix": false, "binop": null }, - "value": "geometryCfg", - "start": 19281, - "end": 19292, + "value": "POSITION", + "start": 21989, + "end": 21997, "loc": { "start": { - "line": 549, - "column": 54 + "line": 645, + "column": 58 }, "end": { - "line": 549, - "column": 65 + "line": 645, + "column": 66 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -111063,23 +129221,51 @@ "binop": null, "updateContext": null }, - "start": 19292, - "end": 19293, + "start": 21997, + "end": 21998, "loc": { "start": { - "line": 549, - "column": 65 + "line": 645, + "column": 66 }, "end": { - "line": 549, - "column": 66 + "line": 645, + "column": 67 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 22019, + "end": 22021, + "loc": { + "start": { + "line": 646, + "column": 20 + }, + "end": { + "line": 646, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -111088,43 +129274,43 @@ "postfix": false, "binop": null }, - "value": "indices", - "start": 19293, - "end": 19300, + "start": 22022, + "end": 22023, "loc": { "start": { - "line": 549, - "column": 66 + "line": 646, + "column": 23 }, "end": { - "line": 549, - "column": 73 + "line": 646, + "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "start": 19300, - "end": 19301, + "value": "!", + "start": 22023, + "end": 22024, "loc": { "start": { - "line": 549, - "column": 73 + "line": 646, + "column": 24 }, "end": { - "line": 549, - "column": 74 + "line": 646, + "column": 25 } } }, @@ -111140,78 +129326,75 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 19301, - "end": 19307, + "value": "POSITION", + "start": 22024, + "end": 22032, "loc": { "start": { - "line": 549, - "column": 74 + "line": 646, + "column": 25 }, "end": { - "line": 549, - "column": 80 + "line": 646, + "column": 33 } } }, { "type": { - "label": "/", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "/", - "start": 19308, - "end": 19309, + "start": 22032, + "end": 22033, "loc": { "start": { - "line": 549, - "column": 81 + "line": 646, + "column": 33 }, "end": { - "line": 549, - "column": 82 + "line": 646, + "column": 34 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 3, - "start": 19310, - "end": 19311, + "start": 22034, + "end": 22035, "loc": { "start": { - "line": 549, - "column": 83 + "line": 646, + "column": 35 }, "end": { - "line": 549, - "column": 84 + "line": 646, + "column": 36 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "continue", + "keyword": "continue", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -111221,41 +129404,43 @@ "binop": null, "updateContext": null }, - "start": 19311, - "end": 19312, + "value": "continue", + "start": 22060, + "end": 22068, "loc": { "start": { - "line": 549, - "column": 84 + "line": 647, + "column": 24 }, "end": { - "line": 549, - "column": 85 + "line": 647, + "column": 32 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19337, - "end": 19338, + "start": 22068, + "end": 22069, "loc": { "start": { - "line": 550, - "column": 24 + "line": 647, + "column": 32 }, "end": { - "line": 550, - "column": 25 + "line": 647, + "column": 33 } } }, @@ -111271,15 +129456,15 @@ "postfix": false, "binop": null }, - "start": 19359, - "end": 19360, + "start": 22090, + "end": 22091, "loc": { "start": { - "line": 551, + "line": 648, "column": 20 }, "end": { - "line": 551, + "line": 648, "column": 21 } } @@ -111296,17 +129481,17 @@ "postfix": false, "binop": null }, - "value": "xktModel", - "start": 19381, - "end": 19389, + "value": "geometryCfg", + "start": 22112, + "end": 22123, "loc": { "start": { - "line": 552, + "line": 649, "column": 20 }, "end": { - "line": 552, - "column": 28 + "line": 649, + "column": 31 } } }, @@ -111323,16 +129508,16 @@ "binop": null, "updateContext": null }, - "start": 19389, - "end": 19390, + "start": 22123, + "end": 22124, "loc": { "start": { - "line": 552, - "column": 28 + "line": 649, + "column": 31 }, "end": { - "line": 552, - "column": 29 + "line": 649, + "column": 32 } } }, @@ -111348,42 +129533,44 @@ "postfix": false, "binop": null }, - "value": "createGeometry", - "start": 19390, - "end": 19404, + "value": "positions", + "start": 22124, + "end": 22133, "loc": { "start": { - "line": 552, - "column": 29 + "line": 649, + "column": 32 }, "end": { - "line": 552, - "column": 43 + "line": 649, + "column": 41 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19404, - "end": 19405, + "value": "=", + "start": 22134, + "end": 22135, "loc": { "start": { - "line": 552, - "column": 43 + "line": 649, + "column": 42 }, "end": { - "line": 552, - "column": 44 + "line": 649, + "column": 43 } } }, @@ -111399,23 +129586,23 @@ "postfix": false, "binop": null }, - "value": "geometryCfg", - "start": 19405, - "end": 19416, + "value": "primitive", + "start": 22136, + "end": 22145, "loc": { "start": { - "line": 552, + "line": 649, "column": 44 }, "end": { - "line": 552, - "column": 55 + "line": 649, + "column": 53 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -111423,44 +129610,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 19416, - "end": 19417, - "loc": { - "start": { - "line": 552, - "column": 55 - }, - "end": { - "line": 552, - "column": 56 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 19417, - "end": 19418, + "start": 22145, + "end": 22146, "loc": { "start": { - "line": 552, - "column": 56 + "line": 649, + "column": 53 }, "end": { - "line": 552, - "column": 57 + "line": 649, + "column": 54 } } }, @@ -111476,17 +129638,17 @@ "postfix": false, "binop": null }, - "value": "primitive", - "start": 19439, - "end": 19448, + "value": "attributes", + "start": 22146, + "end": 22156, "loc": { "start": { - "line": 553, - "column": 20 + "line": 649, + "column": 54 }, "end": { - "line": 553, - "column": 29 + "line": 649, + "column": 64 } } }, @@ -111503,16 +129665,16 @@ "binop": null, "updateContext": null }, - "start": 19448, - "end": 19449, + "start": 22156, + "end": 22157, "loc": { "start": { - "line": 553, - "column": 29 + "line": 649, + "column": 64 }, "end": { - "line": 553, - "column": 30 + "line": 649, + "column": 65 } } }, @@ -111528,44 +129690,43 @@ "postfix": false, "binop": null }, - "value": "_xktGeometryId", - "start": 19449, - "end": 19463, + "value": "POSITION", + "start": 22157, + "end": 22165, "loc": { "start": { - "line": 553, - "column": 30 + "line": 649, + "column": 65 }, "end": { - "line": 553, - "column": 44 + "line": 649, + "column": 73 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 19464, - "end": 19465, + "start": 22165, + "end": 22166, "loc": { "start": { - "line": 553, - "column": 45 + "line": 649, + "column": 73 }, "end": { - "line": 553, - "column": 46 + "line": 649, + "column": 74 } } }, @@ -111581,17 +129742,17 @@ "postfix": false, "binop": null }, - "value": "xktGeometryId", - "start": 19466, - "end": 19479, + "value": "value", + "start": 22166, + "end": 22171, "loc": { "start": { - "line": 553, - "column": 47 + "line": 649, + "column": 74 }, "end": { - "line": 553, - "column": 60 + "line": 649, + "column": 79 } } }, @@ -111608,16 +129769,16 @@ "binop": null, "updateContext": null }, - "start": 19479, - "end": 19480, + "start": 22171, + "end": 22172, "loc": { "start": { - "line": 553, - "column": 60 + "line": 649, + "column": 79 }, "end": { - "line": 553, - "column": 61 + "line": 649, + "column": 80 } } }, @@ -111634,15 +129795,15 @@ "binop": null }, "value": "ctx", - "start": 19501, - "end": 19504, + "start": 22193, + "end": 22196, "loc": { "start": { - "line": 554, + "line": 650, "column": 20 }, "end": { - "line": 554, + "line": 650, "column": 23 } } @@ -111660,15 +129821,15 @@ "binop": null, "updateContext": null }, - "start": 19504, - "end": 19505, + "start": 22196, + "end": 22197, "loc": { "start": { - "line": 554, + "line": 650, "column": 23 }, "end": { - "line": 554, + "line": 650, "column": 24 } } @@ -111686,15 +129847,15 @@ "binop": null }, "value": "stats", - "start": 19505, - "end": 19510, + "start": 22197, + "end": 22202, "loc": { "start": { - "line": 554, + "line": 650, "column": 24 }, "end": { - "line": 554, + "line": 650, "column": 29 } } @@ -111712,15 +129873,15 @@ "binop": null, "updateContext": null }, - "start": 19510, - "end": 19511, + "start": 22202, + "end": 22203, "loc": { "start": { - "line": 554, + "line": 650, "column": 29 }, "end": { - "line": 554, + "line": 650, "column": 30 } } @@ -111737,50 +129898,77 @@ "postfix": false, "binop": null }, - "value": "numGeometries", - "start": 19511, - "end": 19524, + "value": "numVertices", + "start": 22203, + "end": 22214, "loc": { "start": { - "line": 554, + "line": 650, "column": 30 }, "end": { - "line": 554, - "column": 43 + "line": 650, + "column": 41 } } }, { "type": { - "label": "++/--", + "label": "_=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "+=", + "start": 22215, + "end": 22217, + "loc": { + "start": { + "line": 650, + "column": 42 + }, + "end": { + "line": 650, + "column": 44 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, + "prefix": false, + "postfix": false, "binop": null }, - "value": "++", - "start": 19524, - "end": 19526, + "value": "geometryCfg", + "start": 22218, + "end": 22229, "loc": { "start": { - "line": 554, - "column": 43 + "line": 650, + "column": 45 }, "end": { - "line": 554, - "column": 45 + "line": 650, + "column": 56 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -111790,24 +129978,24 @@ "binop": null, "updateContext": null }, - "start": 19526, - "end": 19527, + "start": 22229, + "end": 22230, "loc": { "start": { - "line": 554, - "column": 45 + "line": 650, + "column": 56 }, "end": { - "line": 554, - "column": 46 + "line": 650, + "column": 57 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -111815,23 +130003,23 @@ "postfix": false, "binop": null }, - "start": 19544, - "end": 19545, + "value": "positions", + "start": 22230, + "end": 22239, "loc": { "start": { - "line": 555, - "column": 16 + "line": 650, + "column": 57 }, "end": { - "line": 555, - "column": 17 + "line": 650, + "column": 66 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -111842,17 +130030,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 19563, - "end": 19568, + "start": 22239, + "end": 22240, "loc": { "start": { - "line": 557, - "column": 16 + "line": 650, + "column": 66 }, "end": { - "line": 557, - "column": 21 + "line": 650, + "column": 67 } } }, @@ -111868,50 +130055,50 @@ "postfix": false, "binop": null }, - "value": "xktMeshId", - "start": 19569, - "end": 19578, + "value": "length", + "start": 22240, + "end": 22246, "loc": { "start": { - "line": 557, - "column": 22 + "line": 650, + "column": 67 }, "end": { - "line": 557, - "column": 31 + "line": 650, + "column": 73 } } }, { "type": { - "label": "=", + "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "=", - "start": 19579, - "end": 19580, + "value": "/", + "start": 22247, + "end": 22248, "loc": { "start": { - "line": 557, - "column": 32 + "line": 650, + "column": 74 }, "end": { - "line": 557, - "column": 33 + "line": 650, + "column": 75 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -111919,26 +130106,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 19581, - "end": 19584, + "value": 3, + "start": 22249, + "end": 22250, "loc": { "start": { - "line": 557, - "column": 34 + "line": 650, + "column": 76 }, "end": { - "line": 557, - "column": 37 + "line": 650, + "column": 77 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -111948,23 +130136,51 @@ "binop": null, "updateContext": null }, - "start": 19584, - "end": 19585, + "start": 22250, + "end": 22251, "loc": { "start": { - "line": 557, - "column": 37 + "line": 650, + "column": 77 }, "end": { - "line": 557, - "column": 38 + "line": 650, + "column": 78 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 22272, + "end": 22274, + "loc": { + "start": { + "line": 651, + "column": 20 + }, + "end": { + "line": 651, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -111973,50 +130189,49 @@ "postfix": false, "binop": null }, - "value": "nextId", - "start": 19585, - "end": 19591, + "start": 22275, + "end": 22276, "loc": { "start": { - "line": 557, - "column": 38 + "line": 651, + "column": 23 }, "end": { - "line": 557, - "column": 44 + "line": 651, + "column": 24 } } }, { "type": { - "label": "++/--", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, + "prefix": false, + "postfix": false, "binop": null }, - "value": "++", - "start": 19591, - "end": 19593, + "value": "ctx", + "start": 22276, + "end": 22279, "loc": { "start": { - "line": 557, - "column": 44 + "line": 651, + "column": 24 }, "end": { - "line": 557, - "column": 46 + "line": 651, + "column": 27 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -112026,52 +130241,50 @@ "binop": null, "updateContext": null }, - "start": 19593, - "end": 19594, + "start": 22279, + "end": 22280, "loc": { "start": { - "line": 557, - "column": 46 + "line": 651, + "column": 27 }, "end": { - "line": 557, - "column": 47 + "line": 651, + "column": 28 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 19611, - "end": 19616, + "value": "includeNormals", + "start": 22280, + "end": 22294, "loc": { "start": { - "line": 558, - "column": 16 + "line": 651, + "column": 28 }, "end": { - "line": 558, - "column": 21 + "line": 651, + "column": 42 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -112079,50 +130292,75 @@ "postfix": false, "binop": null }, - "value": "meshCfg", - "start": 19617, - "end": 19624, + "start": 22294, + "end": 22295, "loc": { "start": { - "line": 558, - "column": 22 + "line": 651, + "column": 42 }, "end": { - "line": 558, - "column": 29 + "line": 651, + "column": 43 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22296, + "end": 22297, + "loc": { + "start": { + "line": 651, + "column": 44 + }, + "end": { + "line": 651, + "column": 45 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 19625, - "end": 19626, + "value": "if", + "start": 22322, + "end": 22324, "loc": { "start": { - "line": 558, - "column": 30 + "line": 652, + "column": 24 }, "end": { - "line": 558, - "column": 31 + "line": 652, + "column": 26 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -112132,16 +130370,16 @@ "postfix": false, "binop": null }, - "start": 19627, - "end": 19628, + "start": 22325, + "end": 22326, "loc": { "start": { - "line": 558, - "column": 32 + "line": 652, + "column": 27 }, "end": { - "line": 558, - "column": 33 + "line": 652, + "column": 28 } } }, @@ -112157,24 +130395,24 @@ "postfix": false, "binop": null }, - "value": "meshId", - "start": 19649, - "end": 19655, + "value": "primitive", + "start": 22326, + "end": 22335, "loc": { "start": { - "line": 559, - "column": 20 + "line": 652, + "column": 28 }, "end": { - "line": 559, - "column": 26 + "line": 652, + "column": 37 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -112184,16 +130422,16 @@ "binop": null, "updateContext": null }, - "start": 19655, - "end": 19656, + "start": 22335, + "end": 22336, "loc": { "start": { - "line": 559, - "column": 26 + "line": 652, + "column": 37 }, "end": { - "line": 559, - "column": 27 + "line": 652, + "column": 38 } } }, @@ -112209,24 +130447,24 @@ "postfix": false, "binop": null }, - "value": "xktMeshId", - "start": 19657, - "end": 19666, + "value": "attributes", + "start": 22336, + "end": 22346, "loc": { "start": { - "line": 559, - "column": 28 + "line": 652, + "column": 38 }, "end": { - "line": 559, - "column": 37 + "line": 652, + "column": 48 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -112236,16 +130474,16 @@ "binop": null, "updateContext": null }, - "start": 19666, - "end": 19667, + "start": 22346, + "end": 22347, "loc": { "start": { - "line": 559, - "column": 37 + "line": 652, + "column": 48 }, "end": { - "line": 559, - "column": 38 + "line": 652, + "column": 49 } } }, @@ -112253,7 +130491,33 @@ "type": { "label": "name", "beforeExpr": false, - "startsExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "NORMAL", + "start": 22347, + "end": 22353, + "loc": { + "start": { + "line": 652, + "column": 49 + }, + "end": { + "line": 652, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -112261,43 +130525,41 @@ "postfix": false, "binop": null }, - "value": "geometryId", - "start": 19688, - "end": 19698, + "start": 22353, + "end": 22354, "loc": { "start": { - "line": 560, - "column": 20 + "line": 652, + "column": 55 }, "end": { - "line": 560, - "column": 30 + "line": 652, + "column": 56 } } }, { "type": { - "label": ":", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 19698, - "end": 19699, + "start": 22355, + "end": 22356, "loc": { "start": { - "line": 560, - "column": 30 + "line": 652, + "column": 57 }, "end": { - "line": 560, - "column": 31 + "line": 652, + "column": 58 } } }, @@ -112313,17 +130575,17 @@ "postfix": false, "binop": null }, - "value": "primitive", - "start": 19700, - "end": 19709, + "value": "geometryCfg", + "start": 22385, + "end": 22396, "loc": { "start": { - "line": 560, - "column": 32 + "line": 653, + "column": 28 }, "end": { - "line": 560, - "column": 41 + "line": 653, + "column": 39 } } }, @@ -112340,16 +130602,16 @@ "binop": null, "updateContext": null }, - "start": 19709, - "end": 19710, + "start": 22396, + "end": 22397, "loc": { "start": { - "line": 560, - "column": 41 + "line": 653, + "column": 39 }, "end": { - "line": 560, - "column": 42 + "line": 653, + "column": 40 } } }, @@ -112365,43 +130627,44 @@ "postfix": false, "binop": null }, - "value": "_xktGeometryId", - "start": 19710, - "end": 19724, + "value": "normals", + "start": 22397, + "end": 22404, "loc": { "start": { - "line": 560, - "column": 42 + "line": 653, + "column": 40 }, "end": { - "line": 560, - "column": 56 + "line": 653, + "column": 47 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 19724, - "end": 19725, + "value": "=", + "start": 22405, + "end": 22406, "loc": { "start": { - "line": 560, - "column": 56 + "line": 653, + "column": 48 }, "end": { - "line": 560, - "column": 57 + "line": 653, + "column": 49 } } }, @@ -112417,24 +130680,24 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 19746, - "end": 19752, + "value": "primitive", + "start": 22407, + "end": 22416, "loc": { "start": { - "line": 561, - "column": 20 + "line": 653, + "column": 50 }, "end": { - "line": 561, - "column": 26 + "line": 653, + "column": 59 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -112444,16 +130707,16 @@ "binop": null, "updateContext": null }, - "start": 19752, - "end": 19753, + "start": 22416, + "end": 22417, "loc": { "start": { - "line": 561, - "column": 26 + "line": 653, + "column": 59 }, "end": { - "line": 561, - "column": 27 + "line": 653, + "column": 60 } } }, @@ -112469,24 +130732,24 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 19754, - "end": 19760, + "value": "attributes", + "start": 22417, + "end": 22427, "loc": { "start": { - "line": 561, - "column": 28 + "line": 653, + "column": 60 }, "end": { - "line": 561, - "column": 34 + "line": 653, + "column": 70 } } }, { "type": { - "label": "?", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -112496,16 +130759,16 @@ "binop": null, "updateContext": null }, - "start": 19761, - "end": 19762, + "start": 22427, + "end": 22428, "loc": { "start": { - "line": 561, - "column": 35 + "line": 653, + "column": 70 }, "end": { - "line": 561, - "column": 36 + "line": 653, + "column": 71 } } }, @@ -112521,17 +130784,17 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 19763, - "end": 19769, + "value": "NORMAL", + "start": 22428, + "end": 22434, "loc": { "start": { - "line": 561, - "column": 37 + "line": 653, + "column": 71 }, "end": { - "line": 561, - "column": 43 + "line": 653, + "column": 77 } } }, @@ -112548,16 +130811,16 @@ "binop": null, "updateContext": null }, - "start": 19769, - "end": 19770, + "start": 22434, + "end": 22435, "loc": { "start": { - "line": 561, - "column": 43 + "line": 653, + "column": 77 }, "end": { - "line": 561, - "column": 44 + "line": 653, + "column": 78 } } }, @@ -112573,50 +130836,51 @@ "postfix": false, "binop": null }, - "value": "slice", - "start": 19770, - "end": 19775, + "value": "value", + "start": 22435, + "end": 22440, "loc": { "start": { - "line": 561, - "column": 44 + "line": 653, + "column": 78 }, "end": { - "line": 561, - "column": 49 + "line": 653, + "column": 83 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19775, - "end": 19776, + "start": 22440, + "end": 22441, "loc": { "start": { - "line": 561, - "column": 49 + "line": 653, + "column": 83 }, "end": { - "line": 561, - "column": 50 + "line": 653, + "column": 84 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -112624,23 +130888,24 @@ "postfix": false, "binop": null }, - "start": 19776, - "end": 19777, + "value": "ctx", + "start": 22470, + "end": 22473, "loc": { "start": { - "line": 561, - "column": 50 + "line": 654, + "column": 28 }, "end": { - "line": 561, - "column": 51 + "line": 654, + "column": 31 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -112650,16 +130915,16 @@ "binop": null, "updateContext": null }, - "start": 19778, - "end": 19779, + "start": 22473, + "end": 22474, "loc": { "start": { - "line": 561, - "column": 52 + "line": 654, + "column": 31 }, "end": { - "line": 561, - "column": 53 + "line": 654, + "column": 32 } } }, @@ -112675,17 +130940,17 @@ "postfix": false, "binop": null }, - "value": "math", - "start": 19780, - "end": 19784, + "value": "stats", + "start": 22474, + "end": 22479, "loc": { "start": { - "line": 561, - "column": 54 + "line": 654, + "column": 32 }, "end": { - "line": 561, - "column": 58 + "line": 654, + "column": 37 } } }, @@ -112702,16 +130967,16 @@ "binop": null, "updateContext": null }, - "start": 19784, - "end": 19785, + "start": 22479, + "end": 22480, "loc": { "start": { - "line": 561, - "column": 58 + "line": 654, + "column": 37 }, "end": { - "line": 561, - "column": 59 + "line": 654, + "column": 38 } } }, @@ -112727,50 +130992,52 @@ "postfix": false, "binop": null }, - "value": "identityMat4", - "start": 19785, - "end": 19797, + "value": "numNormals", + "start": 22480, + "end": 22490, "loc": { "start": { - "line": 561, - "column": 59 + "line": 654, + "column": 38 }, "end": { - "line": 561, - "column": 71 + "line": 654, + "column": 48 } } }, { "type": { - "label": "(", + "label": "_=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19797, - "end": 19798, + "value": "+=", + "start": 22491, + "end": 22493, "loc": { "start": { - "line": 561, - "column": 71 + "line": 654, + "column": 49 }, "end": { - "line": 561, - "column": 72 + "line": 654, + "column": 51 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -112778,22 +131045,23 @@ "postfix": false, "binop": null }, - "start": 19798, - "end": 19799, + "value": "geometryCfg", + "start": 22494, + "end": 22505, "loc": { "start": { - "line": 561, - "column": 72 + "line": 654, + "column": 52 }, "end": { - "line": 561, - "column": 73 + "line": 654, + "column": 63 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -112801,51 +131069,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19816, - "end": 19817, + "start": 22505, + "end": 22506, "loc": { "start": { - "line": 562, - "column": 16 + "line": 654, + "column": 63 }, "end": { - "line": 562, - "column": 17 + "line": 654, + "column": 64 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 19817, - "end": 19818, + "value": "normals", + "start": 22506, + "end": 22513, "loc": { "start": { - "line": 562, - "column": 17 + "line": 654, + "column": 64 }, "end": { - "line": 562, - "column": 18 + "line": 654, + "column": 71 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -112856,17 +131124,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 19835, - "end": 19840, + "start": 22513, + "end": 22514, "loc": { "start": { - "line": 563, - "column": 16 + "line": 654, + "column": 71 }, "end": { - "line": 563, - "column": 21 + "line": 654, + "column": 72 } } }, @@ -112882,50 +131149,50 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 19841, - "end": 19849, + "value": "length", + "start": 22514, + "end": 22520, "loc": { "start": { - "line": 563, - "column": 22 + "line": 654, + "column": 72 }, "end": { - "line": 563, - "column": 30 + "line": 654, + "column": 78 } } }, { "type": { - "label": "=", + "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "=", - "start": 19850, - "end": 19851, + "value": "/", + "start": 22521, + "end": 22522, "loc": { "start": { - "line": 563, - "column": 31 + "line": 654, + "column": 79 }, "end": { - "line": 563, - "column": 32 + "line": 654, + "column": 80 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -112933,26 +131200,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "primitive", - "start": 19852, - "end": 19861, + "value": 3, + "start": 22523, + "end": 22524, "loc": { "start": { - "line": 563, - "column": 33 + "line": 654, + "column": 81 }, "end": { - "line": 563, - "column": 42 + "line": 654, + "column": 82 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -112962,24 +131230,24 @@ "binop": null, "updateContext": null }, - "start": 19861, - "end": 19862, + "start": 22524, + "end": 22525, "loc": { "start": { - "line": 563, - "column": 42 + "line": 654, + "column": 82 }, "end": { - "line": 563, - "column": 43 + "line": 654, + "column": 83 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -112987,43 +131255,41 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 19862, - "end": 19870, + "start": 22550, + "end": 22551, "loc": { "start": { - "line": 563, - "column": 43 + "line": 655, + "column": 24 }, "end": { - "line": 563, - "column": 51 + "line": 655, + "column": 25 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 19870, - "end": 19871, + "start": 22572, + "end": 22573, "loc": { "start": { - "line": 563, - "column": 51 + "line": 656, + "column": 20 }, "end": { - "line": 563, - "column": 52 + "line": 656, + "column": 21 } } }, @@ -113042,16 +131308,16 @@ "updateContext": null }, "value": "if", - "start": 19888, - "end": 19890, + "start": 22594, + "end": 22596, "loc": { "start": { - "line": 564, - "column": 16 + "line": 657, + "column": 20 }, "end": { - "line": 564, - "column": 18 + "line": 657, + "column": 22 } } }, @@ -113067,16 +131333,16 @@ "postfix": false, "binop": null }, - "start": 19891, - "end": 19892, + "start": 22597, + "end": 22598, "loc": { "start": { - "line": 564, - "column": 19 + "line": 657, + "column": 23 }, "end": { - "line": 564, - "column": 20 + "line": 657, + "column": 24 } } }, @@ -113092,23 +131358,23 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 19892, - "end": 19900, + "value": "primitive", + "start": 22598, + "end": 22607, "loc": { "start": { - "line": 564, - "column": 20 + "line": 657, + "column": 24 }, "end": { - "line": 564, - "column": 28 + "line": 657, + "column": 33 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -113116,25 +131382,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 19900, - "end": 19901, + "start": 22607, + "end": 22608, "loc": { "start": { - "line": 564, - "column": 28 + "line": 657, + "column": 33 }, "end": { - "line": 564, - "column": 29 + "line": 657, + "column": 34 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -113143,76 +131410,77 @@ "postfix": false, "binop": null }, - "start": 19902, - "end": 19903, + "value": "attributes", + "start": 22608, + "end": 22618, "loc": { "start": { - "line": 564, - "column": 30 + "line": 657, + "column": 34 }, "end": { - "line": 564, - "column": 31 + "line": 657, + "column": 44 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "meshCfg", - "start": 19924, - "end": 19931, + "start": 22618, + "end": 22619, "loc": { "start": { - "line": 565, - "column": 20 + "line": 657, + "column": 44 }, "end": { - "line": 565, - "column": 27 + "line": 657, + "column": 45 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 19931, - "end": 19932, + "value": "COLOR_0", + "start": 22619, + "end": 22626, "loc": { "start": { - "line": 565, - "column": 27 + "line": 657, + "column": 45 }, "end": { - "line": 565, - "column": 28 + "line": 657, + "column": 52 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -113220,44 +131488,41 @@ "postfix": false, "binop": null }, - "value": "textureSetId", - "start": 19932, - "end": 19944, + "start": 22626, + "end": 22627, "loc": { "start": { - "line": 565, - "column": 28 + "line": 657, + "column": 52 }, "end": { - "line": 565, - "column": 40 + "line": 657, + "column": 53 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 19945, - "end": 19946, + "start": 22628, + "end": 22629, "loc": { "start": { - "line": 565, - "column": 41 + "line": 657, + "column": 54 }, "end": { - "line": 565, - "column": 42 + "line": 657, + "column": 55 } } }, @@ -113273,17 +131538,17 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 19947, - "end": 19955, + "value": "geometryCfg", + "start": 22654, + "end": 22665, "loc": { "start": { - "line": 565, - "column": 43 + "line": 658, + "column": 24 }, "end": { - "line": 565, - "column": 51 + "line": 658, + "column": 35 } } }, @@ -113300,16 +131565,16 @@ "binop": null, "updateContext": null }, - "start": 19955, - "end": 19956, + "start": 22665, + "end": 22666, "loc": { "start": { - "line": 565, - "column": 51 + "line": 658, + "column": 35 }, "end": { - "line": 565, - "column": 52 + "line": 658, + "column": 36 } } }, @@ -113325,43 +131590,44 @@ "postfix": false, "binop": null }, - "value": "_textureSetId", - "start": 19956, - "end": 19969, + "value": "colorsCompressed", + "start": 22666, + "end": 22682, "loc": { "start": { - "line": 565, - "column": 52 + "line": 658, + "column": 36 }, "end": { - "line": 565, - "column": 65 + "line": 658, + "column": 52 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 19969, - "end": 19970, + "value": "=", + "start": 22683, + "end": 22684, "loc": { "start": { - "line": 565, - "column": 65 + "line": 658, + "column": 53 }, "end": { - "line": 565, - "column": 66 + "line": 658, + "column": 54 } } }, @@ -113377,17 +131643,17 @@ "postfix": false, "binop": null }, - "value": "meshCfg", - "start": 19991, - "end": 19998, + "value": "primitive", + "start": 22685, + "end": 22694, "loc": { "start": { - "line": 566, - "column": 20 + "line": 658, + "column": 55 }, "end": { - "line": 566, - "column": 27 + "line": 658, + "column": 64 } } }, @@ -113404,16 +131670,16 @@ "binop": null, "updateContext": null }, - "start": 19998, - "end": 19999, + "start": 22694, + "end": 22695, "loc": { "start": { - "line": 566, - "column": 27 + "line": 658, + "column": 64 }, "end": { - "line": 566, - "column": 28 + "line": 658, + "column": 65 } } }, @@ -113429,44 +131695,43 @@ "postfix": false, "binop": null }, - "value": "color", - "start": 19999, - "end": 20004, + "value": "attributes", + "start": 22695, + "end": 22705, "loc": { "start": { - "line": 566, - "column": 28 + "line": 658, + "column": 65 }, "end": { - "line": 566, - "column": 33 + "line": 658, + "column": 75 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 20005, - "end": 20006, + "start": 22705, + "end": 22706, "loc": { "start": { - "line": 566, - "column": 34 + "line": 658, + "column": 75 }, "end": { - "line": 566, - "column": 35 + "line": 658, + "column": 76 } } }, @@ -113482,17 +131747,17 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 20007, - "end": 20015, + "value": "COLOR_0", + "start": 22706, + "end": 22713, "loc": { "start": { - "line": 566, - "column": 36 + "line": 658, + "column": 76 }, "end": { - "line": 566, - "column": 44 + "line": 658, + "column": 83 } } }, @@ -113509,16 +131774,16 @@ "binop": null, "updateContext": null }, - "start": 20015, - "end": 20016, + "start": 22713, + "end": 22714, "loc": { "start": { - "line": 566, - "column": 44 + "line": 658, + "column": 83 }, "end": { - "line": 566, - "column": 45 + "line": 658, + "column": 84 } } }, @@ -113532,25 +131797,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null + }, + "value": "value", + "start": 22714, + "end": 22719, + "loc": { + "start": { + "line": 658, + "column": 84 + }, + "end": { + "line": 658, + "column": 89 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "value": "_attributes", - "start": 20016, - "end": 20027, + "start": 22719, + "end": 22720, "loc": { "start": { - "line": 566, - "column": 45 + "line": 658, + "column": 89 }, "end": { - "line": 566, - "column": 56 + "line": 658, + "column": 90 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -113558,71 +131849,71 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 20027, - "end": 20028, + "start": 22741, + "end": 22742, "loc": { "start": { - "line": 566, - "column": 56 + "line": 659, + "column": 20 }, "end": { - "line": 566, - "column": 57 + "line": 659, + "column": 21 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "color", - "start": 20028, - "end": 20033, + "value": "if", + "start": 22763, + "end": 22765, "loc": { "start": { - "line": 566, - "column": 57 + "line": 660, + "column": 20 }, "end": { - "line": 566, - "column": 62 + "line": 660, + "column": 22 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 20033, - "end": 20034, + "start": 22766, + "end": 22767, "loc": { "start": { - "line": 566, - "column": 62 + "line": 660, + "column": 23 }, "end": { - "line": 566, - "column": 63 + "line": 660, + "column": 24 } } }, @@ -113638,16 +131929,16 @@ "postfix": false, "binop": null }, - "value": "meshCfg", - "start": 20055, - "end": 20062, + "value": "ctx", + "start": 22767, + "end": 22770, "loc": { "start": { - "line": 567, - "column": 20 + "line": 660, + "column": 24 }, "end": { - "line": 567, + "line": 660, "column": 27 } } @@ -113665,15 +131956,15 @@ "binop": null, "updateContext": null }, - "start": 20062, - "end": 20063, + "start": 22770, + "end": 22771, "loc": { "start": { - "line": 567, + "line": 660, "column": 27 }, "end": { - "line": 567, + "line": 660, "column": 28 } } @@ -113690,51 +131981,49 @@ "postfix": false, "binop": null }, - "value": "opacity", - "start": 20063, - "end": 20070, + "value": "includeTextures", + "start": 22771, + "end": 22786, "loc": { "start": { - "line": 567, + "line": 660, "column": 28 }, "end": { - "line": 567, - "column": 35 + "line": 660, + "column": 43 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 20071, - "end": 20072, + "start": 22786, + "end": 22787, "loc": { "start": { - "line": 567, - "column": 36 + "line": 660, + "column": 43 }, "end": { - "line": 567, - "column": 37 + "line": 660, + "column": 44 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -113743,23 +132032,23 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 20073, - "end": 20081, + "start": 22788, + "end": 22789, "loc": { "start": { - "line": 567, - "column": 38 + "line": 660, + "column": 45 }, "end": { - "line": 567, + "line": 660, "column": 46 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -113770,16 +132059,42 @@ "binop": null, "updateContext": null }, - "start": 20081, - "end": 20082, + "value": "if", + "start": 22814, + "end": 22816, "loc": { "start": { - "line": 567, - "column": 46 + "line": 661, + "column": 24 }, "end": { - "line": 567, - "column": 47 + "line": 661, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 22817, + "end": 22818, + "loc": { + "start": { + "line": 661, + "column": 27 + }, + "end": { + "line": 661, + "column": 28 } } }, @@ -113795,17 +132110,17 @@ "postfix": false, "binop": null }, - "value": "_attributes", - "start": 20082, - "end": 20093, + "value": "primitive", + "start": 22818, + "end": 22827, "loc": { "start": { - "line": 567, - "column": 47 + "line": 661, + "column": 28 }, "end": { - "line": 567, - "column": 58 + "line": 661, + "column": 37 } } }, @@ -113822,16 +132137,16 @@ "binop": null, "updateContext": null }, - "start": 20093, - "end": 20094, + "start": 22827, + "end": 22828, "loc": { "start": { - "line": 567, - "column": 58 + "line": 661, + "column": 37 }, "end": { - "line": 567, - "column": 59 + "line": 661, + "column": 38 } } }, @@ -113847,24 +132162,24 @@ "postfix": false, "binop": null }, - "value": "opacity", - "start": 20094, - "end": 20101, + "value": "attributes", + "start": 22828, + "end": 22838, "loc": { "start": { - "line": 567, - "column": 59 + "line": 661, + "column": 38 }, "end": { - "line": 567, - "column": 66 + "line": 661, + "column": 48 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -113874,16 +132189,16 @@ "binop": null, "updateContext": null }, - "start": 20101, - "end": 20102, + "start": 22838, + "end": 22839, "loc": { "start": { - "line": 567, - "column": 66 + "line": 661, + "column": 48 }, "end": { - "line": 567, - "column": 67 + "line": 661, + "column": 49 } } }, @@ -113899,23 +132214,23 @@ "postfix": false, "binop": null }, - "value": "meshCfg", - "start": 20123, - "end": 20130, + "value": "TEXCOORD_0", + "start": 22839, + "end": 22849, "loc": { "start": { - "line": 568, - "column": 20 + "line": 661, + "column": 49 }, "end": { - "line": 568, - "column": 27 + "line": 661, + "column": 59 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -113923,26 +132238,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 20130, - "end": 20131, + "start": 22849, + "end": 22850, "loc": { "start": { - "line": 568, - "column": 27 + "line": 661, + "column": 59 }, "end": { - "line": 568, - "column": 28 + "line": 661, + "column": 60 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -113951,44 +132265,16 @@ "postfix": false, "binop": null }, - "value": "metallic", - "start": 20131, - "end": 20139, - "loc": { - "start": { - "line": 568, - "column": 28 - }, - "end": { - "line": 568, - "column": 36 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 20140, - "end": 20141, + "start": 22851, + "end": 22852, "loc": { "start": { - "line": 568, - "column": 37 + "line": 661, + "column": 61 }, "end": { - "line": 568, - "column": 38 + "line": 661, + "column": 62 } } }, @@ -114004,17 +132290,17 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 20142, - "end": 20150, + "value": "geometryCfg", + "start": 22881, + "end": 22892, "loc": { "start": { - "line": 568, - "column": 39 + "line": 662, + "column": 28 }, "end": { - "line": 568, - "column": 47 + "line": 662, + "column": 39 } } }, @@ -114031,16 +132317,16 @@ "binop": null, "updateContext": null }, - "start": 20150, - "end": 20151, + "start": 22892, + "end": 22893, "loc": { "start": { - "line": 568, - "column": 47 + "line": 662, + "column": 39 }, "end": { - "line": 568, - "column": 48 + "line": 662, + "column": 40 } } }, @@ -114056,43 +132342,44 @@ "postfix": false, "binop": null }, - "value": "_attributes", - "start": 20151, - "end": 20162, + "value": "uvs", + "start": 22893, + "end": 22896, "loc": { "start": { - "line": 568, - "column": 48 + "line": 662, + "column": 40 }, "end": { - "line": 568, - "column": 59 + "line": 662, + "column": 43 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 20162, - "end": 20163, + "value": "=", + "start": 22897, + "end": 22898, "loc": { "start": { - "line": 568, - "column": 59 + "line": 662, + "column": 44 }, "end": { - "line": 568, - "column": 60 + "line": 662, + "column": 45 } } }, @@ -114108,24 +132395,24 @@ "postfix": false, "binop": null }, - "value": "metallic", - "start": 20163, - "end": 20171, + "value": "primitive", + "start": 22899, + "end": 22908, "loc": { "start": { - "line": 568, - "column": 60 + "line": 662, + "column": 46 }, "end": { - "line": 568, - "column": 68 + "line": 662, + "column": 55 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -114135,16 +132422,16 @@ "binop": null, "updateContext": null }, - "start": 20171, - "end": 20172, + "start": 22908, + "end": 22909, "loc": { "start": { - "line": 568, - "column": 68 + "line": 662, + "column": 55 }, "end": { - "line": 568, - "column": 69 + "line": 662, + "column": 56 } } }, @@ -114160,17 +132447,17 @@ "postfix": false, "binop": null }, - "value": "meshCfg", - "start": 20193, - "end": 20200, + "value": "attributes", + "start": 22909, + "end": 22919, "loc": { "start": { - "line": 569, - "column": 20 + "line": 662, + "column": 56 }, "end": { - "line": 569, - "column": 27 + "line": 662, + "column": 66 } } }, @@ -114187,16 +132474,16 @@ "binop": null, "updateContext": null }, - "start": 20200, - "end": 20201, + "start": 22919, + "end": 22920, "loc": { "start": { - "line": 569, - "column": 27 + "line": 662, + "column": 66 }, "end": { - "line": 569, - "column": 28 + "line": 662, + "column": 67 } } }, @@ -114212,44 +132499,43 @@ "postfix": false, "binop": null }, - "value": "roughness", - "start": 20201, - "end": 20210, + "value": "TEXCOORD_0", + "start": 22920, + "end": 22930, "loc": { "start": { - "line": 569, - "column": 28 + "line": 662, + "column": 67 }, "end": { - "line": 569, - "column": 37 + "line": 662, + "column": 77 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 20211, - "end": 20212, + "start": 22930, + "end": 22931, "loc": { "start": { - "line": 569, - "column": 38 + "line": 662, + "column": 77 }, "end": { - "line": 569, - "column": 39 + "line": 662, + "column": 78 } } }, @@ -114265,24 +132551,24 @@ "postfix": false, "binop": null }, - "value": "material", - "start": 20213, - "end": 20221, + "value": "value", + "start": 22931, + "end": 22936, "loc": { "start": { - "line": 569, - "column": 40 + "line": 662, + "column": 78 }, "end": { - "line": 569, - "column": 48 + "line": 662, + "column": 83 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -114292,16 +132578,16 @@ "binop": null, "updateContext": null }, - "start": 20221, - "end": 20222, + "start": 22936, + "end": 22937, "loc": { "start": { - "line": 569, - "column": 48 + "line": 662, + "column": 83 }, "end": { - "line": 569, - "column": 49 + "line": 662, + "column": 84 } } }, @@ -114317,17 +132603,17 @@ "postfix": false, "binop": null }, - "value": "_attributes", - "start": 20222, - "end": 20233, + "value": "ctx", + "start": 22966, + "end": 22969, "loc": { "start": { - "line": 569, - "column": 49 + "line": 663, + "column": 28 }, "end": { - "line": 569, - "column": 60 + "line": 663, + "column": 31 } } }, @@ -114344,16 +132630,16 @@ "binop": null, "updateContext": null }, - "start": 20233, - "end": 20234, + "start": 22969, + "end": 22970, "loc": { "start": { - "line": 569, - "column": 60 + "line": 663, + "column": 31 }, "end": { - "line": 569, - "column": 61 + "line": 663, + "column": 32 } } }, @@ -114369,24 +132655,24 @@ "postfix": false, "binop": null }, - "value": "roughness", - "start": 20234, - "end": 20243, + "value": "stats", + "start": 22970, + "end": 22975, "loc": { "start": { - "line": 569, - "column": 61 + "line": 663, + "column": 32 }, "end": { - "line": 569, - "column": 70 + "line": 663, + "column": 37 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -114396,24 +132682,24 @@ "binop": null, "updateContext": null }, - "start": 20243, - "end": 20244, + "start": 22975, + "end": 22976, "loc": { "start": { - "line": 569, - "column": 70 + "line": 663, + "column": 37 }, "end": { - "line": 569, - "column": 71 + "line": 663, + "column": 38 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -114421,69 +132707,44 @@ "postfix": false, "binop": null }, - "start": 20261, - "end": 20262, + "value": "numUVs", + "start": 22976, + "end": 22982, "loc": { "start": { - "line": 570, - "column": 16 + "line": 663, + "column": 38 }, "end": { - "line": 570, - "column": 17 + "line": 663, + "column": 44 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "else", - "start": 20263, - "end": 20267, - "loc": { - "start": { - "line": 570, - "column": 18 - }, - "end": { - "line": 570, - "column": 22 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 20268, - "end": 20269, + "value": "+=", + "start": 22983, + "end": 22985, "loc": { "start": { - "line": 570, - "column": 23 + "line": 663, + "column": 45 }, "end": { - "line": 570, - "column": 24 + "line": 663, + "column": 47 } } }, @@ -114499,17 +132760,17 @@ "postfix": false, "binop": null }, - "value": "meshCfg", - "start": 20290, - "end": 20297, + "value": "geometryCfg", + "start": 22986, + "end": 22997, "loc": { "start": { - "line": 571, - "column": 20 + "line": 663, + "column": 48 }, "end": { - "line": 571, - "column": 27 + "line": 663, + "column": 59 } } }, @@ -114526,16 +132787,16 @@ "binop": null, "updateContext": null }, - "start": 20297, - "end": 20298, + "start": 22997, + "end": 22998, "loc": { "start": { - "line": 571, - "column": 27 + "line": 663, + "column": 59 }, "end": { - "line": 571, - "column": 28 + "line": 663, + "column": 60 } } }, @@ -114551,105 +132812,104 @@ "postfix": false, "binop": null }, - "value": "color", - "start": 20298, - "end": 20303, + "value": "uvs", + "start": 22998, + "end": 23001, "loc": { "start": { - "line": 571, - "column": 28 + "line": 663, + "column": 60 }, "end": { - "line": 571, - "column": 33 + "line": 663, + "column": 63 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 20304, - "end": 20305, + "start": 23001, + "end": 23002, "loc": { "start": { - "line": 571, - "column": 34 + "line": 663, + "column": 63 }, "end": { - "line": 571, - "column": 35 + "line": 663, + "column": 64 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 20306, - "end": 20307, + "value": "length", + "start": 23002, + "end": 23008, "loc": { "start": { - "line": 571, - "column": 36 + "line": 663, + "column": 64 }, "end": { - "line": 571, - "column": 37 + "line": 663, + "column": 70 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "/", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": 1, - "start": 20307, - "end": 20310, + "value": "/", + "start": 23009, + "end": 23010, "loc": { "start": { - "line": 571, - "column": 37 + "line": 663, + "column": 71 }, "end": { - "line": 571, - "column": 40 + "line": 663, + "column": 72 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -114658,24 +132918,25 @@ "binop": null, "updateContext": null }, - "start": 20310, - "end": 20311, + "value": 2, + "start": 23011, + "end": 23012, "loc": { "start": { - "line": 571, - "column": 40 + "line": 663, + "column": 73 }, "end": { - "line": 571, - "column": 41 + "line": 663, + "column": 74 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -114684,76 +132945,73 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 20312, - "end": 20315, + "start": 23012, + "end": 23013, "loc": { "start": { - "line": 571, - "column": 42 + "line": 663, + "column": 74 }, "end": { - "line": 571, - "column": 45 + "line": 663, + "column": 75 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 20315, - "end": 20316, + "start": 23038, + "end": 23039, "loc": { "start": { - "line": 571, - "column": 45 + "line": 664, + "column": 24 }, - "end": { - "line": 571, - "column": 46 + "end": { + "line": 664, + "column": 25 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 20317, - "end": 20320, + "start": 23060, + "end": 23061, "loc": { "start": { - "line": 571, - "column": 47 + "line": 665, + "column": 20 }, "end": { - "line": 571, - "column": 50 + "line": 665, + "column": 21 } } }, { "type": { - "label": "]", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -114764,42 +133022,42 @@ "binop": null, "updateContext": null }, - "start": 20320, - "end": 20321, + "value": "if", + "start": 23082, + "end": 23084, "loc": { "start": { - "line": 571, - "column": 50 + "line": 666, + "column": 20 }, "end": { - "line": 571, - "column": 51 + "line": 666, + "column": 22 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 20321, - "end": 20322, + "start": 23085, + "end": 23086, "loc": { "start": { - "line": 571, - "column": 51 + "line": 666, + "column": 23 }, "end": { - "line": 571, - "column": 52 + "line": 666, + "column": 24 } } }, @@ -114815,17 +133073,17 @@ "postfix": false, "binop": null }, - "value": "meshCfg", - "start": 20343, - "end": 20350, + "value": "primitive", + "start": 23086, + "end": 23095, "loc": { "start": { - "line": 572, - "column": 20 + "line": 666, + "column": 24 }, "end": { - "line": 572, - "column": 27 + "line": 666, + "column": 33 } } }, @@ -114842,16 +133100,16 @@ "binop": null, "updateContext": null }, - "start": 20350, - "end": 20351, + "start": 23095, + "end": 23096, "loc": { "start": { - "line": 572, - "column": 27 + "line": 666, + "column": 33 }, "end": { - "line": 572, - "column": 28 + "line": 666, + "column": 34 } } }, @@ -114867,103 +133125,99 @@ "postfix": false, "binop": null }, - "value": "opacity", - "start": 20351, - "end": 20358, + "value": "indices", + "start": 23096, + "end": 23103, "loc": { "start": { - "line": 572, - "column": 28 + "line": 666, + "column": 34 }, "end": { - "line": 572, - "column": 35 + "line": 666, + "column": 41 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 20359, - "end": 20360, + "start": 23103, + "end": 23104, "loc": { "start": { - "line": 572, - "column": 36 + "line": 666, + "column": 41 }, "end": { - "line": 572, - "column": 37 + "line": 666, + "column": 42 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 20361, - "end": 20364, + "start": 23105, + "end": 23106, "loc": { "start": { - "line": 572, - "column": 38 + "line": 666, + "column": 43 }, "end": { - "line": 572, - "column": 41 + "line": 666, + "column": 44 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 20364, - "end": 20365, + "value": "geometryCfg", + "start": 23131, + "end": 23142, "loc": { "start": { - "line": 572, - "column": 41 + "line": 667, + "column": 24 }, "end": { - "line": 572, - "column": 42 + "line": 667, + "column": 35 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -114971,18 +133225,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 20382, - "end": 20383, + "start": 23142, + "end": 23143, "loc": { "start": { - "line": 573, - "column": 16 + "line": 667, + "column": 35 }, "end": { - "line": 573, - "column": 17 + "line": 667, + "column": 36 } } }, @@ -114998,43 +133253,44 @@ "postfix": false, "binop": null }, - "value": "xktModel", - "start": 20400, - "end": 20408, + "value": "indices", + "start": 23143, + "end": 23150, "loc": { "start": { - "line": 574, - "column": 16 + "line": 667, + "column": 36 }, "end": { - "line": 574, - "column": 24 + "line": 667, + "column": 43 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 20408, - "end": 20409, + "value": "=", + "start": 23151, + "end": 23152, "loc": { "start": { - "line": 574, - "column": 24 + "line": 667, + "column": 44 }, "end": { - "line": 574, - "column": 25 + "line": 667, + "column": 45 } } }, @@ -115050,42 +133306,43 @@ "postfix": false, "binop": null }, - "value": "createMesh", - "start": 20409, - "end": 20419, + "value": "primitive", + "start": 23153, + "end": 23162, "loc": { "start": { - "line": 574, - "column": 25 + "line": 667, + "column": 46 }, "end": { - "line": 574, - "column": 35 + "line": 667, + "column": 55 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 20419, - "end": 20420, + "start": 23162, + "end": 23163, "loc": { "start": { - "line": 574, - "column": 35 + "line": 667, + "column": 55 }, "end": { - "line": 574, - "column": 36 + "line": 667, + "column": 56 } } }, @@ -115101,23 +133358,23 @@ "postfix": false, "binop": null }, - "value": "meshCfg", - "start": 20420, - "end": 20427, + "value": "indices", + "start": 23163, + "end": 23170, "loc": { "start": { - "line": 574, - "column": 36 + "line": 667, + "column": 56 }, "end": { - "line": 574, - "column": 43 + "line": 667, + "column": 63 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -115125,76 +133382,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 20427, - "end": 20428, + "start": 23170, + "end": 23171, "loc": { "start": { - "line": 574, - "column": 43 + "line": 667, + "column": 63 }, "end": { - "line": 574, - "column": 44 + "line": 667, + "column": 64 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 20428, - "end": 20429, + "value": "value", + "start": 23171, + "end": 23176, "loc": { "start": { - "line": 574, - "column": 44 + "line": 667, + "column": 64 }, "end": { - "line": 574, - "column": 45 + "line": 667, + "column": 69 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "meshIds", - "start": 20446, - "end": 20453, + "start": 23176, + "end": 23177, "loc": { "start": { - "line": 575, - "column": 16 + "line": 667, + "column": 69 }, "end": { - "line": 575, - "column": 23 + "line": 667, + "column": 70 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -115205,23 +133464,24 @@ "binop": null, "updateContext": null }, - "start": 20453, - "end": 20454, + "value": "if", + "start": 23202, + "end": 23204, "loc": { "start": { - "line": 575, - "column": 23 + "line": 668, + "column": 24 }, "end": { - "line": 575, - "column": 24 + "line": 668, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -115230,24 +133490,23 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 20454, - "end": 20458, + "start": 23205, + "end": 23206, "loc": { "start": { - "line": 575, - "column": 24 + "line": 668, + "column": 27 }, "end": { - "line": 575, + "line": 668, "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -115256,50 +133515,51 @@ "postfix": false, "binop": null }, - "start": 20458, - "end": 20459, + "value": "primitive", + "start": 23206, + "end": 23215, "loc": { "start": { - "line": 575, + "line": 668, "column": 28 }, "end": { - "line": 575, - "column": 29 + "line": 668, + "column": 37 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "xktMeshId", - "start": 20459, - "end": 20468, + "start": 23215, + "end": 23216, "loc": { "start": { - "line": 575, - "column": 29 + "line": 668, + "column": 37 }, "end": { - "line": 575, + "line": 668, "column": 38 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -115307,22 +133567,23 @@ "postfix": false, "binop": null }, - "start": 20468, - "end": 20469, + "value": "mode", + "start": 23216, + "end": 23220, "loc": { "start": { - "line": 575, + "line": 668, "column": 38 }, "end": { - "line": 575, - "column": 39 + "line": 668, + "column": 42 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -115330,50 +133591,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 20469, - "end": 20470, + "value": "===", + "start": 23221, + "end": 23224, "loc": { "start": { - "line": 575, - "column": 39 + "line": 668, + "column": 43 }, "end": { - "line": 575, - "column": 40 + "line": 668, + "column": 46 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 20483, - "end": 20484, + "value": 4, + "start": 23225, + "end": 23226, "loc": { "start": { - "line": 576, - "column": 12 + "line": 668, + "column": 47 }, "end": { - "line": 576, - "column": 13 + "line": 668, + "column": 48 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -115383,24 +133647,24 @@ "postfix": false, "binop": null }, - "start": 20493, - "end": 20494, + "start": 23226, + "end": 23227, "loc": { "start": { - "line": 577, - "column": 8 + "line": 668, + "column": 48 }, "end": { - "line": 577, - "column": 9 + "line": 668, + "column": 49 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -115408,85 +133672,68 @@ "postfix": false, "binop": null }, - "start": 20499, - "end": 20500, - "loc": { - "start": { - "line": 578, - "column": 4 - }, - "end": { - "line": 578, - "column": 5 - } - } - }, - { - "type": "CommentLine", - "value": " Visit child scene nodes", - "start": 20506, - "end": 20532, + "start": 23228, + "end": 23229, "loc": { "start": { - "line": 580, - "column": 4 + "line": 668, + "column": 50 }, "end": { - "line": 580, - "column": 30 + "line": 668, + "column": 51 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 20538, - "end": 20540, + "value": "ctx", + "start": 23258, + "end": 23261, "loc": { "start": { - "line": 582, - "column": 4 + "line": 669, + "column": 28 }, "end": { - "line": 582, - "column": 6 + "line": 669, + "column": 31 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 20541, - "end": 20542, + "start": 23261, + "end": 23262, "loc": { "start": { - "line": 582, - "column": 7 + "line": 669, + "column": 31 }, "end": { - "line": 582, - "column": 8 + "line": 669, + "column": 32 } } }, @@ -115502,17 +133749,17 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 20542, - "end": 20546, + "value": "stats", + "start": 23262, + "end": 23267, "loc": { "start": { - "line": 582, - "column": 8 + "line": 669, + "column": 32 }, "end": { - "line": 582, - "column": 12 + "line": 669, + "column": 37 } } }, @@ -115529,16 +133776,16 @@ "binop": null, "updateContext": null }, - "start": 20546, - "end": 20547, + "start": 23267, + "end": 23268, "loc": { "start": { - "line": 582, - "column": 12 + "line": 669, + "column": 37 }, "end": { - "line": 582, - "column": 13 + "line": 669, + "column": 38 } } }, @@ -115554,49 +133801,51 @@ "postfix": false, "binop": null }, - "value": "children", - "start": 20547, - "end": 20555, + "value": "numTriangles", + "start": 23268, + "end": 23280, "loc": { "start": { - "line": 582, - "column": 13 + "line": 669, + "column": 38 }, "end": { - "line": 582, - "column": 21 + "line": 669, + "column": 50 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "_=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 20555, - "end": 20556, + "value": "+=", + "start": 23281, + "end": 23283, "loc": { "start": { - "line": 582, - "column": 21 + "line": 669, + "column": 51 }, "end": { - "line": 582, - "column": 22 + "line": 669, + "column": 53 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -115605,23 +133854,23 @@ "postfix": false, "binop": null }, - "start": 20557, - "end": 20558, + "value": "geometryCfg", + "start": 23284, + "end": 23295, "loc": { "start": { - "line": 582, - "column": 23 + "line": 669, + "column": 54 }, "end": { - "line": 582, - "column": 24 + "line": 669, + "column": 65 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -115632,17 +133881,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 20567, - "end": 20572, + "start": 23295, + "end": 23296, "loc": { "start": { - "line": 583, - "column": 8 + "line": 669, + "column": 65 }, "end": { - "line": 583, - "column": 13 + "line": 669, + "column": 66 } } }, @@ -115658,44 +133906,43 @@ "postfix": false, "binop": null }, - "value": "children", - "start": 20573, - "end": 20581, + "value": "indices", + "start": 23296, + "end": 23303, "loc": { "start": { - "line": 583, - "column": 14 + "line": 669, + "column": 66 }, "end": { - "line": 583, - "column": 22 + "line": 669, + "column": 73 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 20582, - "end": 20583, + "start": 23303, + "end": 23304, "loc": { "start": { - "line": 583, - "column": 23 + "line": 669, + "column": 73 }, "end": { - "line": 583, - "column": 24 + "line": 669, + "column": 74 } } }, @@ -115711,49 +133958,50 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 20584, - "end": 20588, + "value": "length", + "start": 23304, + "end": 23310, "loc": { "start": { - "line": 583, - "column": 25 + "line": 669, + "column": 74 }, "end": { - "line": 583, - "column": 29 + "line": 669, + "column": 80 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "/", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 20588, - "end": 20589, + "value": "/", + "start": 23311, + "end": 23312, "loc": { "start": { - "line": 583, - "column": 29 + "line": 669, + "column": 81 }, "end": { - "line": 583, - "column": 30 + "line": 669, + "column": 82 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -115761,19 +134009,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "children", - "start": 20589, - "end": 20597, + "value": 3, + "start": 23313, + "end": 23314, "loc": { "start": { - "line": 583, - "column": 30 + "line": 669, + "column": 83 }, "end": { - "line": 583, - "column": 38 + "line": 669, + "column": 84 } } }, @@ -115790,51 +134039,73 @@ "binop": null, "updateContext": null }, - "start": 20597, - "end": 20598, + "start": 23314, + "end": 23315, "loc": { "start": { - "line": 583, - "column": 38 + "line": 669, + "column": 84 }, "end": { - "line": 583, - "column": 39 + "line": 669, + "column": 85 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23340, + "end": 23341, + "loc": { + "start": { + "line": 670, + "column": 24 + }, + "end": { + "line": 670, + "column": 25 } } }, { "type": { - "label": "for", - "keyword": "for", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": true, + "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "for", - "start": 20607, - "end": 20610, + "start": 23362, + "end": 23363, "loc": { "start": { - "line": 584, - "column": 8 + "line": 671, + "column": 20 }, "end": { - "line": 584, - "column": 11 + "line": 671, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -115843,23 +134114,23 @@ "postfix": false, "binop": null }, - "start": 20611, - "end": 20612, + "value": "ctx", + "start": 23384, + "end": 23387, "loc": { "start": { - "line": 584, - "column": 12 + "line": 672, + "column": 20 }, "end": { - "line": 584, - "column": 13 + "line": 672, + "column": 23 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -115870,17 +134141,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 20612, - "end": 20615, + "start": 23387, + "end": 23388, "loc": { "start": { - "line": 584, - "column": 13 + "line": 672, + "column": 23 }, "end": { - "line": 584, - "column": 16 + "line": 672, + "column": 24 } } }, @@ -115896,50 +134166,49 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 20616, - "end": 20617, + "value": "xktModel", + "start": 23388, + "end": 23396, "loc": { "start": { - "line": 584, - "column": 17 + "line": 672, + "column": 24 }, "end": { - "line": 584, - "column": 18 + "line": 672, + "column": 32 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 20618, - "end": 20619, + "start": 23396, + "end": 23397, "loc": { "start": { - "line": 584, - "column": 19 + "line": 672, + "column": 32 }, "end": { - "line": 584, - "column": 20 + "line": 672, + "column": 33 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -115947,46 +134216,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 0, - "start": 20620, - "end": 20621, + "value": "createGeometry", + "start": 23397, + "end": 23411, "loc": { "start": { - "line": 584, - "column": 21 + "line": 672, + "column": 33 }, "end": { - "line": 584, - "column": 22 + "line": 672, + "column": 47 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 20621, - "end": 20622, + "start": 23411, + "end": 23412, "loc": { "start": { - "line": 584, - "column": 22 + "line": 672, + "column": 47 }, "end": { - "line": 584, - "column": 23 + "line": 672, + "column": 48 } } }, @@ -116002,44 +134269,68 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 20623, - "end": 20626, + "value": "geometryCfg", + "start": 23412, + "end": 23423, "loc": { "start": { - "line": 584, - "column": 24 + "line": 672, + "column": 48 }, "end": { - "line": 584, - "column": 27 + "line": 672, + "column": 59 } } }, { "type": { - "label": "=", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 23423, + "end": 23424, + "loc": { + "start": { + "line": 672, + "column": 59 + }, + "end": { + "line": 672, + "column": 60 + } + } + }, + { + "type": { + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 20627, - "end": 20628, + "start": 23424, + "end": 23425, "loc": { "start": { - "line": 584, - "column": 28 + "line": 672, + "column": 60 }, "end": { - "line": 584, - "column": 29 + "line": 672, + "column": 61 } } }, @@ -116055,17 +134346,17 @@ "postfix": false, "binop": null }, - "value": "children", - "start": 20629, - "end": 20637, + "value": "primitive", + "start": 23446, + "end": 23455, "loc": { "start": { - "line": 584, - "column": 30 + "line": 673, + "column": 20 }, "end": { - "line": 584, - "column": 38 + "line": 673, + "column": 29 } } }, @@ -116082,16 +134373,16 @@ "binop": null, "updateContext": null }, - "start": 20637, - "end": 20638, + "start": 23455, + "end": 23456, "loc": { "start": { - "line": 584, - "column": 38 + "line": 673, + "column": 29 }, "end": { - "line": 584, - "column": 39 + "line": 673, + "column": 30 } } }, @@ -116107,42 +134398,43 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 20638, - "end": 20644, + "value": "_xktGeometryId", + "start": 23456, + "end": 23470, "loc": { "start": { - "line": 584, - "column": 39 + "line": 673, + "column": 30 }, "end": { - "line": 584, - "column": 45 + "line": 673, + "column": 44 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 20644, - "end": 20645, + "value": "=", + "start": 23471, + "end": 23472, "loc": { "start": { - "line": 584, + "line": 673, "column": 45 }, "end": { - "line": 584, + "line": 673, "column": 46 } } @@ -116159,23 +134451,23 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 20646, - "end": 20647, + "value": "xktGeometryId", + "start": 23473, + "end": 23486, "loc": { "start": { - "line": 584, + "line": 673, "column": 47 }, "end": { - "line": 584, - "column": 48 + "line": 673, + "column": 60 } } }, { "type": { - "label": "", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -116183,20 +134475,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 20648, - "end": 20649, + "start": 23486, + "end": 23487, "loc": { "start": { - "line": 584, - "column": 49 + "line": 673, + "column": 60 }, "end": { - "line": 584, - "column": 50 + "line": 673, + "column": 61 } } }, @@ -116212,24 +134503,24 @@ "postfix": false, "binop": null }, - "value": "len", - "start": 20650, - "end": 20653, + "value": "ctx", + "start": 23508, + "end": 23511, "loc": { "start": { - "line": 584, - "column": 51 + "line": 674, + "column": 20 }, "end": { - "line": 584, - "column": 54 + "line": 674, + "column": 23 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -116239,16 +134530,16 @@ "binop": null, "updateContext": null }, - "start": 20653, - "end": 20654, + "start": 23511, + "end": 23512, "loc": { "start": { - "line": 584, - "column": 54 + "line": 674, + "column": 23 }, "end": { - "line": 584, - "column": 55 + "line": 674, + "column": 24 } } }, @@ -116264,51 +134555,51 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 20655, - "end": 20656, + "value": "stats", + "start": 23512, + "end": 23517, "loc": { "start": { - "line": 584, - "column": 56 + "line": 674, + "column": 24 }, "end": { - "line": 584, - "column": 57 + "line": 674, + "column": 29 } } }, { "type": { - "label": "++/--", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "value": "++", - "start": 20656, - "end": 20658, + "start": 23517, + "end": 23518, "loc": { "start": { - "line": 584, - "column": 57 + "line": 674, + "column": 29 }, "end": { - "line": 584, - "column": 59 + "line": 674, + "column": 30 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -116316,49 +134607,50 @@ "postfix": false, "binop": null }, - "start": 20658, - "end": 20659, + "value": "numGeometries", + "start": 23518, + "end": 23531, "loc": { "start": { - "line": 584, - "column": 59 + "line": 674, + "column": 30 }, "end": { - "line": 584, - "column": 60 + "line": 674, + "column": 43 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "++/--", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, + "prefix": true, + "postfix": true, "binop": null }, - "start": 20660, - "end": 20661, + "value": "++", + "start": 23531, + "end": 23533, "loc": { "start": { - "line": 584, - "column": 61 + "line": 674, + "column": 43 }, "end": { - "line": 584, - "column": 62 + "line": 674, + "column": 45 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -116368,25 +134660,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 20674, - "end": 20679, + "start": 23533, + "end": 23534, "loc": { "start": { - "line": 585, - "column": 12 + "line": 674, + "column": 45 }, "end": { - "line": 585, - "column": 17 + "line": 674, + "column": 46 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -116394,44 +134685,44 @@ "postfix": false, "binop": null }, - "value": "childNode", - "start": 20680, - "end": 20689, + "start": 23551, + "end": 23552, "loc": { "start": { - "line": 585, - "column": 18 + "line": 675, + "column": 16 }, "end": { - "line": 585, - "column": 27 + "line": 675, + "column": 17 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 20690, - "end": 20691, + "value": "const", + "start": 23569, + "end": 23574, "loc": { "start": { - "line": 585, - "column": 28 + "line": 676, + "column": 16 }, "end": { - "line": 585, - "column": 29 + "line": 676, + "column": 21 } } }, @@ -116447,43 +134738,44 @@ "postfix": false, "binop": null }, - "value": "children", - "start": 20692, - "end": 20700, + "value": "xktMeshId", + "start": 23575, + "end": 23584, "loc": { "start": { - "line": 585, - "column": 30 + "line": 676, + "column": 22 }, "end": { - "line": 585, - "column": 38 + "line": 676, + "column": 31 } } }, { "type": { - "label": "[", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 20700, - "end": 20701, + "value": "=", + "start": 23585, + "end": 23586, "loc": { "start": { - "line": 585, - "column": 38 + "line": 676, + "column": 32 }, "end": { - "line": 585, - "column": 39 + "line": 676, + "column": 33 } } }, @@ -116499,23 +134791,23 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 20701, - "end": 20702, + "value": "ctx", + "start": 23587, + "end": 23590, "loc": { "start": { - "line": 585, - "column": 39 + "line": 676, + "column": 34 }, "end": { - "line": 585, - "column": 40 + "line": 676, + "column": 37 } } }, { "type": { - "label": "]", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -116526,42 +134818,16 @@ "binop": null, "updateContext": null }, - "start": 20702, - "end": 20703, - "loc": { - "start": { - "line": 585, - "column": 40 - }, - "end": { - "line": 585, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 20703, - "end": 20704, + "start": 23590, + "end": 23591, "loc": { "start": { - "line": 585, - "column": 41 + "line": 676, + "column": 37 }, "end": { - "line": 585, - "column": 42 + "line": 676, + "column": 38 } } }, @@ -116577,75 +134843,77 @@ "postfix": false, "binop": null }, - "value": "parseNode", - "start": 20717, - "end": 20726, + "value": "nextId", + "start": 23591, + "end": 23597, "loc": { "start": { - "line": 586, - "column": 12 + "line": 676, + "column": 38 }, "end": { - "line": 586, - "column": 21 + "line": 676, + "column": 44 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "++/--", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, - "postfix": false, + "prefix": true, + "postfix": true, "binop": null }, - "start": 20726, - "end": 20727, + "value": "++", + "start": 23597, + "end": 23599, "loc": { "start": { - "line": 586, - "column": 21 + "line": 676, + "column": 44 }, "end": { - "line": 586, - "column": 22 + "line": 676, + "column": 46 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "ctx", - "start": 20727, - "end": 20730, + "start": 23599, + "end": 23600, "loc": { "start": { - "line": 586, - "column": 22 + "line": 676, + "column": 46 }, "end": { - "line": 586, - "column": 25 + "line": 676, + "column": 47 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -116655,16 +134923,17 @@ "binop": null, "updateContext": null }, - "start": 20730, - "end": 20731, + "value": "const", + "start": 23617, + "end": 23622, "loc": { "start": { - "line": 586, - "column": 25 + "line": 677, + "column": 16 }, "end": { - "line": 586, - "column": 26 + "line": 677, + "column": 21 } } }, @@ -116680,50 +134949,51 @@ "postfix": false, "binop": null }, - "value": "childNode", - "start": 20732, - "end": 20741, + "value": "meshCfg", + "start": 23623, + "end": 23630, "loc": { "start": { - "line": 586, - "column": 27 + "line": 677, + "column": 22 }, "end": { - "line": 586, - "column": 36 + "line": 677, + "column": 29 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 20741, - "end": 20742, + "value": "=", + "start": 23631, + "end": 23632, "loc": { "start": { - "line": 586, - "column": 36 + "line": 677, + "column": 30 }, "end": { - "line": 586, - "column": 37 + "line": 677, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -116732,50 +135002,22 @@ "postfix": false, "binop": null }, - "value": "depth", - "start": 20743, - "end": 20748, - "loc": { - "start": { - "line": 586, - "column": 38 - }, - "end": { - "line": 586, - "column": 43 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 20749, - "end": 20750, + "start": 23633, + "end": 23634, "loc": { "start": { - "line": 586, - "column": 44 + "line": 677, + "column": 32 }, "end": { - "line": 586, - "column": 45 + "line": 677, + "column": 33 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -116783,26 +135025,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 20751, - "end": 20752, + "value": "meshId", + "start": 23655, + "end": 23661, "loc": { "start": { - "line": 586, - "column": 46 + "line": 678, + "column": 20 }, "end": { - "line": 586, - "column": 47 + "line": 678, + "column": 26 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -116813,16 +135054,16 @@ "binop": null, "updateContext": null }, - "start": 20752, - "end": 20753, + "start": 23661, + "end": 23662, "loc": { "start": { - "line": 586, - "column": 47 + "line": 678, + "column": 26 }, "end": { - "line": 586, - "column": 48 + "line": 678, + "column": 27 } } }, @@ -116838,48 +135079,23 @@ "postfix": false, "binop": null }, - "value": "matrix", - "start": 20754, - "end": 20760, - "loc": { - "start": { - "line": 586, - "column": 49 - }, - "end": { - "line": 586, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 20760, - "end": 20761, + "value": "xktMeshId", + "start": 23663, + "end": 23672, "loc": { "start": { - "line": 586, - "column": 55 + "line": 678, + "column": 28 }, "end": { - "line": 586, - "column": 56 + "line": 678, + "column": 37 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -116890,24 +135106,24 @@ "binop": null, "updateContext": null }, - "start": 20761, - "end": 20762, + "start": 23672, + "end": 23673, "loc": { "start": { - "line": 586, - "column": 56 + "line": 678, + "column": 37 }, "end": { - "line": 586, - "column": 57 + "line": 678, + "column": 38 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -116915,64 +135131,75 @@ "postfix": false, "binop": null }, - "start": 20771, - "end": 20772, + "value": "geometryId", + "start": 23694, + "end": 23704, "loc": { "start": { - "line": 587, - "column": 8 + "line": 679, + "column": 20 }, "end": { - "line": 587, - "column": 9 + "line": 679, + "column": 30 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 20777, - "end": 20778, + "start": 23704, + "end": 23705, "loc": { "start": { - "line": 588, - "column": 4 + "line": 679, + "column": 30 }, "end": { - "line": 588, - "column": 5 + "line": 679, + "column": 31 } } }, { - "type": "CommentLine", - "value": " Post-order visit scene node", - "start": 20784, - "end": 20814, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "primitive", + "start": 23706, + "end": 23715, "loc": { "start": { - "line": 590, - "column": 4 + "line": 679, + "column": 32 }, "end": { - "line": 590, - "column": 34 + "line": 679, + "column": 41 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -116983,17 +135210,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 20820, - "end": 20825, + "start": 23715, + "end": 23716, "loc": { "start": { - "line": 592, - "column": 4 + "line": 679, + "column": 41 }, "end": { - "line": 592, - "column": 9 + "line": 679, + "column": 42 } } }, @@ -117009,44 +135235,43 @@ "postfix": false, "binop": null }, - "value": "nodeName", - "start": 20826, - "end": 20834, + "value": "_xktGeometryId", + "start": 23716, + "end": 23730, "loc": { "start": { - "line": 592, - "column": 10 + "line": 679, + "column": 42 }, "end": { - "line": 592, - "column": 18 + "line": 679, + "column": 56 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 20835, - "end": 20836, + "start": 23730, + "end": 23731, "loc": { "start": { - "line": 592, - "column": 19 + "line": 679, + "column": 56 }, "end": { - "line": 592, - "column": 20 + "line": 679, + "column": 57 } } }, @@ -117062,24 +135287,24 @@ "postfix": false, "binop": null }, - "value": "node", - "start": 20837, - "end": 20841, + "value": "matrix", + "start": 23752, + "end": 23758, "loc": { "start": { - "line": 592, - "column": 21 + "line": 680, + "column": 20 }, "end": { - "line": 592, - "column": 25 + "line": 680, + "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -117089,16 +135314,16 @@ "binop": null, "updateContext": null }, - "start": 20841, - "end": 20842, + "start": 23758, + "end": 23759, "loc": { "start": { - "line": 592, - "column": 25 + "line": 680, + "column": 26 }, "end": { - "line": 592, - "column": 26 + "line": 680, + "column": 27 } } }, @@ -117114,23 +135339,23 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 20842, - "end": 20846, + "value": "matrix", + "start": 23760, + "end": 23766, "loc": { "start": { - "line": 592, - "column": 26 + "line": 680, + "column": 28 }, "end": { - "line": 592, - "column": 30 + "line": 680, + "column": 34 } } }, { "type": { - "label": ";", + "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -117141,23 +135366,48 @@ "binop": null, "updateContext": null }, - "start": 20846, - "end": 20847, + "start": 23767, + "end": 23768, "loc": { "start": { - "line": 592, - "column": 30 + "line": 680, + "column": 35 }, "end": { - "line": 592, - "column": 31 + "line": 680, + "column": 36 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "matrix", + "start": 23769, + "end": 23775, + "loc": { + "start": { + "line": 680, + "column": 37 + }, + "end": { + "line": 680, + "column": 43 + } + } + }, + { + "type": { + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -117168,24 +135418,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 20852, - "end": 20854, + "start": 23775, + "end": 23776, "loc": { "start": { - "line": 593, - "column": 4 + "line": 680, + "column": 43 }, "end": { - "line": 593, - "column": 6 + "line": 680, + "column": 44 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -117194,16 +135443,17 @@ "postfix": false, "binop": null }, - "start": 20855, - "end": 20856, + "value": "slice", + "start": 23776, + "end": 23781, "loc": { "start": { - "line": 593, - "column": 7 + "line": 680, + "column": 44 }, "end": { - "line": 593, - "column": 8 + "line": 680, + "column": 49 } } }, @@ -117219,24 +135469,24 @@ "postfix": false, "binop": null }, - "start": 20856, - "end": 20857, + "start": 23781, + "end": 23782, "loc": { "start": { - "line": 593, - "column": 8 + "line": 680, + "column": 49 }, "end": { - "line": 593, - "column": 9 + "line": 680, + "column": 50 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -117244,23 +135494,22 @@ "postfix": false, "binop": null }, - "value": "nodeName", - "start": 20857, - "end": 20865, + "start": 23782, + "end": 23783, "loc": { "start": { - "line": 593, - "column": 9 + "line": 680, + "column": 50 }, "end": { - "line": 593, - "column": 17 + "line": 680, + "column": 51 } } }, { "type": { - "label": "==/!=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -117268,20 +135517,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "!==", - "start": 20866, - "end": 20869, + "start": 23784, + "end": 23785, "loc": { "start": { - "line": 593, - "column": 18 + "line": 680, + "column": 52 }, "end": { - "line": 593, - "column": 21 + "line": 680, + "column": 53 } } }, @@ -117297,44 +135545,43 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 20870, - "end": 20879, + "value": "math", + "start": 23786, + "end": 23790, "loc": { "start": { - "line": 593, - "column": 22 + "line": 680, + "column": 54 }, "end": { - "line": 593, - "column": 31 + "line": 680, + "column": 58 } } }, { "type": { - "label": "&&", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 2, + "binop": null, "updateContext": null }, - "value": "&&", - "start": 20880, - "end": 20882, + "start": 23790, + "end": 23791, "loc": { "start": { - "line": 593, - "column": 32 + "line": 680, + "column": 58 }, "end": { - "line": 593, - "column": 34 + "line": 680, + "column": 59 } } }, @@ -117350,78 +135597,73 @@ "postfix": false, "binop": null }, - "value": "nodeName", - "start": 20883, - "end": 20891, + "value": "identityMat4", + "start": 23791, + "end": 23803, "loc": { "start": { - "line": 593, - "column": 35 + "line": 680, + "column": 59 }, "end": { - "line": 593, - "column": 43 + "line": 680, + "column": 71 } } }, { "type": { - "label": "==/!=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "!==", - "start": 20892, - "end": 20895, + "start": 23803, + "end": 23804, "loc": { "start": { - "line": 593, - "column": 44 + "line": 680, + "column": 71 }, "end": { - "line": 593, - "column": 47 + "line": 680, + "column": 72 } } }, { "type": { - "label": "null", - "keyword": "null", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "null", - "start": 20896, - "end": 20900, + "start": 23804, + "end": 23805, "loc": { "start": { - "line": 593, - "column": 48 + "line": 680, + "column": 72 }, "end": { - "line": 593, - "column": 52 + "line": 680, + "column": 73 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -117431,22 +135673,22 @@ "postfix": false, "binop": null }, - "start": 20900, - "end": 20901, + "start": 23822, + "end": 23823, "loc": { "start": { - "line": 593, - "column": 52 + "line": 681, + "column": 16 }, "end": { - "line": 593, - "column": 53 + "line": 681, + "column": 17 } } }, { "type": { - "label": "||", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -117454,108 +135696,108 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 20902, - "end": 20904, + "start": 23823, + "end": 23824, "loc": { "start": { - "line": 593, - "column": 54 + "line": 681, + "column": 17 }, "end": { - "line": 593, - "column": 56 + "line": 681, + "column": 18 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "depth", - "start": 20905, - "end": 20910, + "value": "const", + "start": 23841, + "end": 23846, "loc": { "start": { - "line": 593, - "column": 57 + "line": 682, + "column": 16 }, "end": { - "line": 593, - "column": 62 + "line": 682, + "column": 21 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 20911, - "end": 20914, + "value": "material", + "start": 23847, + "end": 23855, "loc": { "start": { - "line": 593, - "column": 63 + "line": 682, + "column": 22 }, "end": { - "line": 593, - "column": 66 + "line": 682, + "column": 30 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": 0, - "start": 20915, - "end": 20916, + "value": "=", + "start": 23856, + "end": 23857, "loc": { "start": { - "line": 593, - "column": 67 + "line": 682, + "column": 31 }, "end": { - "line": 593, - "column": 68 + "line": 682, + "column": 32 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -117563,147 +135805,148 @@ "postfix": false, "binop": null }, - "start": 20916, - "end": 20917, + "value": "primitive", + "start": 23858, + "end": 23867, "loc": { "start": { - "line": 593, - "column": 68 + "line": 682, + "column": 33 }, "end": { - "line": 593, - "column": 69 + "line": 682, + "column": 42 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 20918, - "end": 20919, + "start": 23867, + "end": 23868, "loc": { "start": { - "line": 593, - "column": 70 + "line": 682, + "column": 42 }, "end": { - "line": 593, - "column": 71 + "line": 682, + "column": 43 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 20928, - "end": 20930, + "value": "material", + "start": 23868, + "end": 23876, "loc": { "start": { - "line": 594, - "column": 8 + "line": 682, + "column": 43 }, "end": { - "line": 594, - "column": 10 + "line": 682, + "column": 51 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 20931, - "end": 20932, + "start": 23876, + "end": 23877, "loc": { "start": { - "line": 594, - "column": 11 + "line": 682, + "column": 51 }, "end": { - "line": 594, - "column": 12 + "line": 682, + "column": 52 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "nodeName", - "start": 20932, - "end": 20940, + "value": "if", + "start": 23894, + "end": 23896, "loc": { "start": { - "line": 594, - "column": 12 + "line": 683, + "column": 16 }, "end": { - "line": 594, - "column": 20 + "line": 683, + "column": 18 } } }, { "type": { - "label": "==/!=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 20941, - "end": 20944, + "start": 23897, + "end": 23898, "loc": { "start": { - "line": 594, - "column": 21 + "line": 683, + "column": 19 }, "end": { - "line": 594, - "column": 24 + "line": 683, + "column": 20 } } }, @@ -117719,51 +135962,49 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 20945, - "end": 20954, + "value": "material", + "start": 23898, + "end": 23906, "loc": { "start": { - "line": 594, - "column": 25 + "line": 683, + "column": 20 }, "end": { - "line": 594, - "column": 34 + "line": 683, + "column": 28 } } }, { "type": { - "label": "||", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 20955, - "end": 20957, + "start": 23906, + "end": 23907, "loc": { "start": { - "line": 594, - "column": 35 + "line": 683, + "column": 28 }, "end": { - "line": 594, - "column": 37 + "line": 683, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -117772,53 +136013,50 @@ "postfix": false, "binop": null }, - "value": "nodeName", - "start": 20958, - "end": 20966, + "start": 23908, + "end": 23909, "loc": { "start": { - "line": 594, - "column": 38 + "line": 683, + "column": 30 }, "end": { - "line": 594, - "column": 46 + "line": 683, + "column": 31 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 20967, - "end": 20970, + "value": "meshCfg", + "start": 23930, + "end": 23937, "loc": { "start": { - "line": 594, - "column": 47 + "line": 684, + "column": 20 }, "end": { - "line": 594, - "column": 50 + "line": 684, + "column": 27 } } }, { "type": { - "label": "null", - "keyword": "null", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -117827,25 +136065,24 @@ "binop": null, "updateContext": null }, - "value": "null", - "start": 20971, - "end": 20975, + "start": 23937, + "end": 23938, "loc": { "start": { - "line": 594, - "column": 51 + "line": 684, + "column": 27 }, "end": { - "line": 594, - "column": 55 + "line": 684, + "column": 28 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -117853,41 +136090,44 @@ "postfix": false, "binop": null }, - "start": 20975, - "end": 20976, + "value": "textureSetId", + "start": 23938, + "end": 23950, "loc": { "start": { - "line": 594, - "column": 55 + "line": 684, + "column": 28 }, "end": { - "line": 594, - "column": 56 + "line": 684, + "column": 40 } } }, { "type": { - "label": "{", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 20977, - "end": 20978, + "value": "=", + "start": 23951, + "end": 23952, "loc": { "start": { - "line": 594, - "column": 57 + "line": 684, + "column": 41 }, "end": { - "line": 594, - "column": 58 + "line": 684, + "column": 42 } } }, @@ -117903,17 +136143,17 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 20991, - "end": 20994, + "value": "material", + "start": 23953, + "end": 23961, "loc": { "start": { - "line": 595, - "column": 12 + "line": 684, + "column": 43 }, "end": { - "line": 595, - "column": 15 + "line": 684, + "column": 51 } } }, @@ -117930,16 +136170,16 @@ "binop": null, "updateContext": null }, - "start": 20994, - "end": 20995, + "start": 23961, + "end": 23962, "loc": { "start": { - "line": 595, - "column": 15 + "line": 684, + "column": 51 }, "end": { - "line": 595, - "column": 16 + "line": 684, + "column": 52 } } }, @@ -117955,48 +136195,49 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 20995, - "end": 20998, + "value": "_textureSetId", + "start": 23962, + "end": 23975, "loc": { "start": { - "line": 595, - "column": 16 + "line": 684, + "column": 52 }, "end": { - "line": 595, - "column": 19 + "line": 684, + "column": 65 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 20998, - "end": 20999, + "start": 23975, + "end": 23976, "loc": { "start": { - "line": 595, - "column": 19 + "line": 684, + "column": 65 }, "end": { - "line": 595, - "column": 20 + "line": 684, + "column": 66 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -118006,22 +136247,23 @@ "postfix": false, "binop": null }, - "start": 20999, - "end": 21000, + "value": "meshCfg", + "start": 23997, + "end": 24004, "loc": { "start": { - "line": 595, + "line": 685, "column": 20 }, "end": { - "line": 595, - "column": 21 + "line": 685, + "column": 27 } } }, { "type": { - "label": "template", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -118029,53 +136271,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Warning: 'name' properties not found on glTF scene nodes - will randomly-generate object IDs in XKT", - "start": 21000, - "end": 21099, - "loc": { - "start": { - "line": 595, - "column": 21 - }, - "end": { - "line": 595, - "column": 120 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 21099, - "end": 21100, + "start": 24004, + "end": 24005, "loc": { "start": { - "line": 595, - "column": 120 + "line": 685, + "column": 27 }, "end": { - "line": 595, - "column": 121 + "line": 685, + "column": 28 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -118083,50 +136299,52 @@ "postfix": false, "binop": null }, - "start": 21100, - "end": 21101, + "value": "color", + "start": 24005, + "end": 24010, "loc": { "start": { - "line": 595, - "column": 121 + "line": 685, + "column": 28 }, "end": { - "line": 595, - "column": 122 + "line": 685, + "column": 33 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 21101, - "end": 21102, + "value": "=", + "start": 24011, + "end": 24012, "loc": { "start": { - "line": 595, - "column": 122 + "line": 685, + "column": 34 }, "end": { - "line": 595, - "column": 123 + "line": 685, + "column": 35 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -118134,23 +136352,23 @@ "postfix": false, "binop": null }, - "start": 21111, - "end": 21112, + "value": "material", + "start": 24013, + "end": 24021, "loc": { "start": { - "line": 596, - "column": 8 + "line": 685, + "column": 36 }, "end": { - "line": 596, - "column": 9 + "line": 685, + "column": 44 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -118161,17 +136379,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 21121, - "end": 21124, + "start": 24021, + "end": 24022, "loc": { "start": { - "line": 597, - "column": 8 + "line": 685, + "column": 44 }, "end": { - "line": 597, - "column": 11 + "line": 685, + "column": 45 } } }, @@ -118187,44 +136404,43 @@ "postfix": false, "binop": null }, - "value": "xktEntityId", - "start": 21125, - "end": 21136, + "value": "_attributes", + "start": 24022, + "end": 24033, "loc": { "start": { - "line": 597, - "column": 12 + "line": 685, + "column": 45 }, "end": { - "line": 597, - "column": 23 + "line": 685, + "column": 56 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 21137, - "end": 21138, + "start": 24033, + "end": 24034, "loc": { "start": { - "line": 597, - "column": 24 + "line": 685, + "column": 56 }, "end": { - "line": 597, - "column": 25 + "line": 685, + "column": 57 } } }, @@ -118240,24 +136456,24 @@ "postfix": false, "binop": null }, - "value": "objectIdStack", - "start": 21139, - "end": 21152, + "value": "color", + "start": 24034, + "end": 24039, "loc": { "start": { - "line": 597, - "column": 26 + "line": 685, + "column": 57 }, "end": { - "line": 597, - "column": 39 + "line": 685, + "column": 62 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -118267,16 +136483,16 @@ "binop": null, "updateContext": null }, - "start": 21152, - "end": 21153, + "start": 24039, + "end": 24040, "loc": { "start": { - "line": 597, - "column": 39 + "line": 685, + "column": 62 }, "end": { - "line": 597, - "column": 40 + "line": 685, + "column": 63 } } }, @@ -118292,50 +136508,51 @@ "postfix": false, "binop": null }, - "value": "pop", - "start": 21153, - "end": 21156, + "value": "meshCfg", + "start": 24061, + "end": 24068, "loc": { "start": { - "line": 597, - "column": 40 + "line": 686, + "column": 20 }, "end": { - "line": 597, - "column": 43 + "line": 686, + "column": 27 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 21156, - "end": 21157, + "start": 24068, + "end": 24069, "loc": { "start": { - "line": 597, - "column": 43 + "line": 686, + "column": 27 }, "end": { - "line": 597, - "column": 44 + "line": 686, + "column": 28 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -118343,49 +136560,76 @@ "postfix": false, "binop": null }, - "start": 21157, - "end": 21158, + "value": "opacity", + "start": 24069, + "end": 24076, "loc": { "start": { - "line": 597, - "column": 44 + "line": 686, + "column": 28 }, "end": { - "line": 597, - "column": 45 + "line": 686, + "column": 35 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 21158, - "end": 21159, + "value": "=", + "start": 24077, + "end": 24078, "loc": { "start": { - "line": 597, - "column": 45 + "line": 686, + "column": 36 + }, + "end": { + "line": 686, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "material", + "start": 24079, + "end": 24087, + "loc": { + "start": { + "line": 686, + "column": 38 }, "end": { - "line": 597, + "line": 686, "column": 46 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -118396,24 +136640,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 21168, - "end": 21170, + "start": 24087, + "end": 24088, "loc": { "start": { - "line": 598, - "column": 8 + "line": 686, + "column": 46 }, "end": { - "line": 598, - "column": 10 + "line": 686, + "column": 47 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -118422,43 +136665,43 @@ "postfix": false, "binop": null }, - "start": 21171, - "end": 21172, + "value": "_attributes", + "start": 24088, + "end": 24099, "loc": { "start": { - "line": 598, - "column": 11 + "line": 686, + "column": 47 }, "end": { - "line": 598, - "column": 12 + "line": 686, + "column": 58 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 21172, - "end": 21173, + "start": 24099, + "end": 24100, "loc": { "start": { - "line": 598, - "column": 12 + "line": 686, + "column": 58 }, "end": { - "line": 598, - "column": 13 + "line": 686, + "column": 59 } } }, @@ -118474,49 +136717,50 @@ "postfix": false, "binop": null }, - "value": "xktEntityId", - "start": 21173, - "end": 21184, + "value": "opacity", + "start": 24100, + "end": 24107, "loc": { "start": { - "line": 598, - "column": 13 + "line": 686, + "column": 59 }, "end": { - "line": 598, - "column": 24 + "line": 686, + "column": 66 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 21184, - "end": 21185, + "start": 24107, + "end": 24108, "loc": { "start": { - "line": 598, - "column": 24 + "line": 686, + "column": 66 }, "end": { - "line": 598, - "column": 25 + "line": 686, + "column": 67 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -118525,32 +136769,43 @@ "postfix": false, "binop": null }, - "start": 21186, - "end": 21187, + "value": "meshCfg", + "start": 24129, + "end": 24136, "loc": { "start": { - "line": 598, - "column": 26 + "line": 687, + "column": 20 }, "end": { - "line": 598, + "line": 687, "column": 27 } } }, { - "type": "CommentLine", - "value": " For when there are no nodes with names", - "start": 21188, - "end": 21229, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 24136, + "end": 24137, "loc": { "start": { - "line": 598, - "column": 28 + "line": 687, + "column": 27 }, "end": { - "line": 598, - "column": 69 + "line": 687, + "column": 28 } } }, @@ -118566,17 +136821,17 @@ "postfix": false, "binop": null }, - "value": "xktEntityId", - "start": 21242, - "end": 21253, + "value": "metallic", + "start": 24137, + "end": 24145, "loc": { "start": { - "line": 599, - "column": 12 + "line": 687, + "column": 28 }, "end": { - "line": 599, - "column": 23 + "line": 687, + "column": 36 } } }, @@ -118594,22 +136849,22 @@ "updateContext": null }, "value": "=", - "start": 21254, - "end": 21255, + "start": 24146, + "end": 24147, "loc": { "start": { - "line": 599, - "column": 24 + "line": 687, + "column": 37 }, "end": { - "line": 599, - "column": 25 + "line": 687, + "column": 38 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -118617,47 +136872,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "entity-", - "start": 21256, - "end": 21265, + "value": "material", + "start": 24148, + "end": 24156, "loc": { "start": { - "line": 599, - "column": 26 + "line": 687, + "column": 39 }, "end": { - "line": 599, - "column": 35 + "line": 687, + "column": 47 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 21266, - "end": 21267, + "start": 24156, + "end": 24157, "loc": { "start": { - "line": 599, - "column": 36 + "line": 687, + "column": 47 }, "end": { - "line": 599, - "column": 37 + "line": 687, + "column": 48 } } }, @@ -118673,17 +136926,17 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 21268, - "end": 21271, + "value": "_attributes", + "start": 24157, + "end": 24168, "loc": { "start": { - "line": 599, - "column": 38 + "line": 687, + "column": 48 }, "end": { - "line": 599, - "column": 41 + "line": 687, + "column": 59 } } }, @@ -118700,16 +136953,16 @@ "binop": null, "updateContext": null }, - "start": 21271, - "end": 21272, + "start": 24168, + "end": 24169, "loc": { "start": { - "line": 599, - "column": 41 + "line": 687, + "column": 59 }, "end": { - "line": 599, - "column": 42 + "line": 687, + "column": 60 } } }, @@ -118725,43 +136978,17 @@ "postfix": false, "binop": null }, - "value": "nextId", - "start": 21272, - "end": 21278, - "loc": { - "start": { - "line": 599, - "column": 42 - }, - "end": { - "line": 599, - "column": 48 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "++", - "start": 21278, - "end": 21280, + "value": "metallic", + "start": 24169, + "end": 24177, "loc": { "start": { - "line": 599, - "column": 48 + "line": 687, + "column": 60 }, "end": { - "line": 599, - "column": 50 + "line": 687, + "column": 68 } } }, @@ -118778,24 +137005,24 @@ "binop": null, "updateContext": null }, - "start": 21280, - "end": 21281, + "start": 24177, + "end": 24178, "loc": { "start": { - "line": 599, - "column": 50 + "line": 687, + "column": 68 }, "end": { - "line": 599, - "column": 51 + "line": 687, + "column": 69 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -118803,23 +137030,23 @@ "postfix": false, "binop": null }, - "start": 21290, - "end": 21291, + "value": "meshCfg", + "start": 24199, + "end": 24206, "loc": { "start": { - "line": 600, - "column": 8 + "line": 688, + "column": 20 }, "end": { - "line": 600, - "column": 9 + "line": 688, + "column": 27 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -118830,17 +137057,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 21300, - "end": 21303, + "start": 24206, + "end": 24207, "loc": { "start": { - "line": 601, - "column": 8 + "line": 688, + "column": 27 }, "end": { - "line": 601, - "column": 11 + "line": 688, + "column": 28 } } }, @@ -118856,17 +137082,17 @@ "postfix": false, "binop": null }, - "value": "entityMeshIds", - "start": 21304, - "end": 21317, + "value": "roughness", + "start": 24207, + "end": 24216, "loc": { "start": { - "line": 601, - "column": 12 + "line": 688, + "column": 28 }, "end": { - "line": 601, - "column": 25 + "line": 688, + "column": 37 } } }, @@ -118884,16 +137110,16 @@ "updateContext": null }, "value": "=", - "start": 21318, - "end": 21319, + "start": 24217, + "end": 24218, "loc": { "start": { - "line": 601, - "column": 26 + "line": 688, + "column": 38 }, "end": { - "line": 601, - "column": 27 + "line": 688, + "column": 39 } } }, @@ -118909,17 +137135,17 @@ "postfix": false, "binop": null }, - "value": "meshIdsStack", - "start": 21320, - "end": 21332, + "value": "material", + "start": 24219, + "end": 24227, "loc": { "start": { - "line": 601, - "column": 28 + "line": 688, + "column": 40 }, "end": { - "line": 601, - "column": 40 + "line": 688, + "column": 48 } } }, @@ -118936,16 +137162,16 @@ "binop": null, "updateContext": null }, - "start": 21332, - "end": 21333, + "start": 24227, + "end": 24228, "loc": { "start": { - "line": 601, - "column": 40 + "line": 688, + "column": 48 }, "end": { - "line": 601, - "column": 41 + "line": 688, + "column": 49 } } }, @@ -118961,50 +137187,51 @@ "postfix": false, "binop": null }, - "value": "pop", - "start": 21333, - "end": 21336, + "value": "_attributes", + "start": 24228, + "end": 24239, "loc": { "start": { - "line": 601, - "column": 41 + "line": 688, + "column": 49 }, "end": { - "line": 601, - "column": 44 + "line": 688, + "column": 60 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 21336, - "end": 21337, + "start": 24239, + "end": 24240, "loc": { "start": { - "line": 601, - "column": 44 + "line": 688, + "column": 60 }, "end": { - "line": 601, - "column": 45 + "line": 688, + "column": 61 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -119012,16 +137239,17 @@ "postfix": false, "binop": null }, - "start": 21337, - "end": 21338, + "value": "roughness", + "start": 24240, + "end": 24249, "loc": { "start": { - "line": 601, - "column": 45 + "line": 688, + "column": 61 }, "end": { - "line": 601, - "column": 46 + "line": 688, + "column": 70 } } }, @@ -119038,23 +137266,22 @@ "binop": null, "updateContext": null }, - "start": 21338, - "end": 21339, + "start": 24249, + "end": 24250, "loc": { "start": { - "line": 601, - "column": 46 + "line": 688, + "column": 70 }, "end": { - "line": 601, - "column": 47 + "line": 688, + "column": 71 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -119062,52 +137289,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 21348, - "end": 21350, + "start": 24267, + "end": 24268, "loc": { "start": { - "line": 602, - "column": 8 + "line": 689, + "column": 16 }, "end": { - "line": 602, - "column": 10 + "line": 689, + "column": 17 } } }, { "type": { - "label": "(", + "label": "else", + "keyword": "else", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 21351, - "end": 21352, + "value": "else", + "start": 24269, + "end": 24273, "loc": { "start": { - "line": 602, - "column": 11 + "line": 689, + "column": 18 }, "end": { - "line": 602, - "column": 12 + "line": 689, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -119116,44 +137344,16 @@ "postfix": false, "binop": null }, - "value": "meshIds", - "start": 21352, - "end": 21359, - "loc": { - "start": { - "line": 602, - "column": 12 - }, - "end": { - "line": 602, - "column": 19 - } - } - }, - { - "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 2, - "updateContext": null - }, - "value": "&&", - "start": 21360, - "end": 21362, + "start": 24274, + "end": 24275, "loc": { "start": { - "line": 602, - "column": 20 + "line": 689, + "column": 23 }, "end": { - "line": 602, - "column": 22 + "line": 689, + "column": 24 } } }, @@ -119169,17 +137369,17 @@ "postfix": false, "binop": null }, - "value": "meshIds", - "start": 21363, - "end": 21370, + "value": "meshCfg", + "start": 24296, + "end": 24303, "loc": { "start": { - "line": 602, - "column": 23 + "line": 690, + "column": 20 }, "end": { - "line": 602, - "column": 30 + "line": 690, + "column": 27 } } }, @@ -119196,16 +137396,16 @@ "binop": null, "updateContext": null }, - "start": 21370, - "end": 21371, + "start": 24303, + "end": 24304, "loc": { "start": { - "line": 602, - "column": 30 + "line": 690, + "column": 27 }, "end": { - "line": 602, - "column": 31 + "line": 690, + "column": 28 } } }, @@ -119221,51 +137421,51 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 21371, - "end": 21377, + "value": "color", + "start": 24304, + "end": 24309, "loc": { "start": { - "line": 602, - "column": 31 + "line": 690, + "column": 28 }, "end": { - "line": 602, - "column": 37 + "line": 690, + "column": 33 } } }, { "type": { - "label": "", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": ">", - "start": 21378, - "end": 21379, + "value": "=", + "start": 24310, + "end": 24311, "loc": { "start": { - "line": 602, - "column": 38 + "line": 690, + "column": 34 }, "end": { - "line": 602, - "column": 39 + "line": 690, + "column": 35 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -119275,73 +137475,75 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 21380, - "end": 21381, + "start": 24312, + "end": 24313, "loc": { "start": { - "line": 602, - "column": 40 + "line": 690, + "column": 36 }, "end": { - "line": 602, - "column": 41 + "line": 690, + "column": 37 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 21381, - "end": 21382, + "value": 1, + "start": 24313, + "end": 24316, "loc": { "start": { - "line": 602, - "column": 41 + "line": 690, + "column": 37 }, "end": { - "line": 602, - "column": 42 + "line": 690, + "column": 40 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 21383, - "end": 21384, + "start": 24316, + "end": 24317, "loc": { "start": { - "line": 602, - "column": 43 + "line": 690, + "column": 40 }, "end": { - "line": 602, - "column": 44 + "line": 690, + "column": 41 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -119349,26 +137551,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "xktModel", - "start": 21397, - "end": 21405, + "value": 1, + "start": 24318, + "end": 24321, "loc": { "start": { - "line": 603, - "column": 12 + "line": 690, + "column": 42 }, "end": { - "line": 603, - "column": 20 + "line": 690, + "column": 45 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -119378,22 +137581,22 @@ "binop": null, "updateContext": null }, - "start": 21405, - "end": 21406, + "start": 24321, + "end": 24322, "loc": { "start": { - "line": 603, - "column": 20 + "line": 690, + "column": 45 }, "end": { - "line": 603, - "column": 21 + "line": 690, + "column": 46 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -119401,69 +137604,72 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "createEntity", - "start": 21406, - "end": 21418, + "value": 1, + "start": 24323, + "end": 24326, "loc": { "start": { - "line": 603, - "column": 21 + "line": 690, + "column": 47 }, "end": { - "line": 603, - "column": 33 + "line": 690, + "column": 50 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 21418, - "end": 21419, + "start": 24326, + "end": 24327, "loc": { "start": { - "line": 603, - "column": 33 + "line": 690, + "column": 50 }, "end": { - "line": 603, - "column": 34 + "line": 690, + "column": 51 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 21419, - "end": 21420, + "start": 24327, + "end": 24328, "loc": { "start": { - "line": 603, - "column": 34 + "line": 690, + "column": 51 }, "end": { - "line": 603, - "column": 35 + "line": 690, + "column": 52 } } }, @@ -119479,24 +137685,24 @@ "postfix": false, "binop": null }, - "value": "entityId", - "start": 21437, - "end": 21445, + "value": "meshCfg", + "start": 24349, + "end": 24356, "loc": { "start": { - "line": 604, - "column": 16 + "line": 691, + "column": 20 }, "end": { - "line": 604, - "column": 24 + "line": 691, + "column": 27 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -119506,16 +137712,16 @@ "binop": null, "updateContext": null }, - "start": 21445, - "end": 21446, + "start": 24356, + "end": 24357, "loc": { "start": { - "line": 604, - "column": 24 + "line": 691, + "column": 27 }, "end": { - "line": 604, - "column": 25 + "line": 691, + "column": 28 } } }, @@ -119531,49 +137737,50 @@ "postfix": false, "binop": null }, - "value": "xktEntityId", - "start": 21447, - "end": 21458, + "value": "opacity", + "start": 24357, + "end": 24364, "loc": { "start": { - "line": 604, - "column": 26 + "line": 691, + "column": 28 }, "end": { - "line": 604, - "column": 37 + "line": 691, + "column": 35 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 21458, - "end": 21459, + "value": "=", + "start": 24365, + "end": 24366, "loc": { "start": { - "line": 604, - "column": 37 + "line": 691, + "column": 36 }, "end": { - "line": 604, - "column": 38 + "line": 691, + "column": 37 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -119581,25 +137788,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "meshIds", - "start": 21476, - "end": 21483, + "value": 1, + "start": 24367, + "end": 24370, "loc": { "start": { - "line": 605, - "column": 16 + "line": 691, + "column": 38 }, "end": { - "line": 605, - "column": 23 + "line": 691, + "column": 41 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -119610,24 +137818,24 @@ "binop": null, "updateContext": null }, - "start": 21483, - "end": 21484, + "start": 24370, + "end": 24371, "loc": { "start": { - "line": 605, - "column": 23 + "line": 691, + "column": 41 }, "end": { - "line": 605, - "column": 24 + "line": 691, + "column": 42 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -119635,25 +137843,24 @@ "postfix": false, "binop": null }, - "value": "entityMeshIds", - "start": 21485, - "end": 21498, + "start": 24388, + "end": 24389, "loc": { "start": { - "line": 605, - "column": 25 + "line": 692, + "column": 16 }, "end": { - "line": 605, - "column": 38 + "line": 692, + "column": 17 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -119661,22 +137868,23 @@ "postfix": false, "binop": null }, - "start": 21511, - "end": 21512, + "value": "ctx", + "start": 24406, + "end": 24409, "loc": { "start": { - "line": 606, - "column": 12 + "line": 693, + "column": 16 }, "end": { - "line": 606, - "column": 13 + "line": 693, + "column": 19 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -119684,50 +137892,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 21512, - "end": 21513, + "start": 24409, + "end": 24410, "loc": { "start": { - "line": 606, - "column": 13 + "line": 693, + "column": 19 }, "end": { - "line": 606, - "column": 14 + "line": 693, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 21513, - "end": 21514, + "value": "xktModel", + "start": 24410, + "end": 24418, "loc": { "start": { - "line": 606, - "column": 14 + "line": 693, + "column": 20 }, "end": { - "line": 606, - "column": 15 + "line": 693, + "column": 28 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -119735,18 +137944,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 21523, - "end": 21524, + "start": 24418, + "end": 24419, "loc": { "start": { - "line": 607, - "column": 8 + "line": 693, + "column": 28 }, "end": { - "line": 607, - "column": 9 + "line": 693, + "column": 29 } } }, @@ -119762,43 +137972,42 @@ "postfix": false, "binop": null }, - "value": "ctx", - "start": 21533, - "end": 21536, + "value": "createMesh", + "start": 24419, + "end": 24429, "loc": { "start": { - "line": 608, - "column": 8 + "line": 693, + "column": 29 }, "end": { - "line": 608, - "column": 11 + "line": 693, + "column": 39 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 21536, - "end": 21537, + "start": 24429, + "end": 24430, "loc": { "start": { - "line": 608, - "column": 11 + "line": 693, + "column": 39 }, "end": { - "line": 608, - "column": 12 + "line": 693, + "column": 40 } } }, @@ -119814,23 +138023,23 @@ "postfix": false, "binop": null }, - "value": "stats", - "start": 21537, - "end": 21542, + "value": "meshCfg", + "start": 24430, + "end": 24437, "loc": { "start": { - "line": 608, - "column": 12 + "line": 693, + "column": 40 }, "end": { - "line": 608, - "column": 17 + "line": 693, + "column": 47 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -119838,78 +138047,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 21542, - "end": 21543, + "start": 24437, + "end": 24438, "loc": { "start": { - "line": 608, - "column": 17 + "line": 693, + "column": 47 }, "end": { - "line": 608, - "column": 18 + "line": 693, + "column": 48 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "numObjects", - "start": 21543, - "end": 21553, + "start": 24438, + "end": 24439, "loc": { "start": { - "line": 608, - "column": 18 + "line": 693, + "column": 48 }, "end": { - "line": 608, - "column": 28 + "line": 693, + "column": 49 } } }, { "type": { - "label": "++/--", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, - "postfix": true, + "prefix": false, + "postfix": false, "binop": null }, - "value": "++", - "start": 21553, - "end": 21555, + "value": "meshIds", + "start": 24456, + "end": 24463, "loc": { "start": { - "line": 608, - "column": 28 + "line": 694, + "column": 16 }, "end": { - "line": 608, - "column": 30 + "line": 694, + "column": 23 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -119919,16 +138127,16 @@ "binop": null, "updateContext": null }, - "start": 21555, - "end": 21556, + "start": 24463, + "end": 24464, "loc": { "start": { - "line": 608, - "column": 30 + "line": 694, + "column": 23 }, "end": { - "line": 608, - "column": 31 + "line": 694, + "column": 24 } } }, @@ -119944,44 +138152,42 @@ "postfix": false, "binop": null }, - "value": "meshIds", - "start": 21565, - "end": 21572, + "value": "push", + "start": 24464, + "end": 24468, "loc": { "start": { - "line": 609, - "column": 8 + "line": 694, + "column": 24 }, "end": { - "line": 609, - "column": 15 + "line": 694, + "column": 28 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 21573, - "end": 21574, + "start": 24468, + "end": 24469, "loc": { "start": { - "line": 609, - "column": 16 + "line": 694, + "column": 28 }, "end": { - "line": 609, - "column": 17 + "line": 694, + "column": 29 } } }, @@ -119997,23 +138203,23 @@ "postfix": false, "binop": null }, - "value": "meshIdsStack", - "start": 21575, - "end": 21587, + "value": "xktMeshId", + "start": 24469, + "end": 24478, "loc": { "start": { - "line": 609, - "column": 18 + "line": 694, + "column": 29 }, "end": { - "line": 609, - "column": 30 + "line": 694, + "column": 38 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -120021,80 +138227,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 21587, - "end": 21588, + "start": 24478, + "end": 24479, "loc": { "start": { - "line": 609, - "column": 30 + "line": 694, + "column": 38 }, "end": { - "line": 609, - "column": 31 + "line": 694, + "column": 39 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 21588, - "end": 21594, + "start": 24479, + "end": 24480, "loc": { "start": { - "line": 609, - "column": 31 + "line": 694, + "column": 39 }, "end": { - "line": 609, - "column": 37 + "line": 694, + "column": 40 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": null }, - "value": ">", - "start": 21595, - "end": 21596, + "start": 24493, + "end": 24494, "loc": { "start": { - "line": 609, - "column": 38 + "line": 695, + "column": 12 }, "end": { - "line": 609, - "column": 39 + "line": 695, + "column": 13 } } }, { "type": { - "label": "num", + "label": "catch", + "keyword": "catch", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -120103,43 +138307,42 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 21597, - "end": 21598, + "value": "catch", + "start": 24495, + "end": 24500, "loc": { "start": { - "line": 609, - "column": 40 + "line": 695, + "column": 14 }, "end": { - "line": 609, - "column": 41 + "line": 695, + "column": 19 } } }, { "type": { - "label": "?", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 21599, - "end": 21600, + "start": 24501, + "end": 24502, "loc": { "start": { - "line": 609, - "column": 42 + "line": 695, + "column": 20 }, "end": { - "line": 609, - "column": 43 + "line": 695, + "column": 21 } } }, @@ -120155,23 +138358,48 @@ "postfix": false, "binop": null }, - "value": "meshIdsStack", - "start": 21601, - "end": 21613, + "value": "e", + "start": 24502, + "end": 24503, "loc": { "start": { - "line": 609, - "column": 44 + "line": 695, + "column": 21 }, "end": { - "line": 609, - "column": 56 + "line": 695, + "column": 22 } } }, { "type": { - "label": "[", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 24503, + "end": 24504, + "loc": { + "start": { + "line": 695, + "column": 22 + }, + "end": { + "line": 695, + "column": 23 + } + } + }, + { + "type": { + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -120179,19 +138407,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 21613, - "end": 21614, + "start": 24505, + "end": 24506, "loc": { "start": { - "line": 609, - "column": 56 + "line": 695, + "column": 24 }, "end": { - "line": 609, - "column": 57 + "line": 695, + "column": 25 } } }, @@ -120207,17 +138434,17 @@ "postfix": false, "binop": null }, - "value": "meshIdsStack", - "start": 21614, - "end": 21626, + "value": "console", + "start": 24523, + "end": 24530, "loc": { "start": { - "line": 609, - "column": 57 + "line": 696, + "column": 16 }, "end": { - "line": 609, - "column": 69 + "line": 696, + "column": 23 } } }, @@ -120234,16 +138461,16 @@ "binop": null, "updateContext": null }, - "start": 21626, - "end": 21627, + "start": 24530, + "end": 24531, "loc": { "start": { - "line": 609, - "column": 69 + "line": 696, + "column": 23 }, "end": { - "line": 609, - "column": 70 + "line": 696, + "column": 24 } } }, @@ -120259,50 +138486,48 @@ "postfix": false, "binop": null }, - "value": "length", - "start": 21627, - "end": 21633, + "value": "log", + "start": 24531, + "end": 24534, "loc": { "start": { - "line": 609, - "column": 70 + "line": 696, + "column": 24 }, "end": { - "line": 609, - "column": 76 + "line": 696, + "column": 27 } } }, { "type": { - "label": "+/-", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "-", - "start": 21634, - "end": 21635, + "start": 24534, + "end": 24535, "loc": { "start": { - "line": 609, - "column": 77 + "line": 696, + "column": 27 }, "end": { - "line": 609, - "column": 78 + "line": 696, + "column": 28 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -120310,26 +138535,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 21636, - "end": 21637, + "value": "e", + "start": 24535, + "end": 24536, "loc": { "start": { - "line": 609, - "column": 79 + "line": 696, + "column": 28 }, "end": { - "line": 609, - "column": 80 + "line": 696, + "column": 29 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -120337,25 +138561,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 21637, - "end": 21638, + "start": 24536, + "end": 24537, "loc": { "start": { - "line": 609, - "column": 80 + "line": 696, + "column": 29 }, "end": { - "line": 609, - "column": 81 + "line": 696, + "column": 30 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -120366,70 +138589,66 @@ "binop": null, "updateContext": null }, - "start": 21639, - "end": 21640, + "start": 24537, + "end": 24538, "loc": { "start": { - "line": 609, - "column": 82 + "line": 696, + "column": 30 }, "end": { - "line": 609, - "column": 83 + "line": 696, + "column": 31 } } }, { "type": { - "label": "null", - "keyword": "null", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "null", - "start": 21641, - "end": 21645, + "start": 24551, + "end": 24552, "loc": { "start": { - "line": 609, - "column": 84 + "line": 697, + "column": 12 }, "end": { - "line": 609, - "column": 88 + "line": 697, + "column": 13 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 21645, - "end": 21646, + "start": 24561, + "end": 24562, "loc": { "start": { - "line": 609, - "column": 88 + "line": 698, + "column": 8 }, "end": { - "line": 609, - "column": 89 + "line": 698, + "column": 9 } } }, @@ -120445,15 +138664,15 @@ "postfix": false, "binop": null }, - "start": 21651, - "end": 21652, + "start": 24567, + "end": 24568, "loc": { "start": { - "line": 610, + "line": 699, "column": 4 }, "end": { - "line": 610, + "line": 699, "column": 5 } } @@ -120470,15 +138689,15 @@ "postfix": false, "binop": null }, - "start": 21653, - "end": 21654, + "start": 24569, + "end": 24570, "loc": { "start": { - "line": 611, + "line": 700, "column": 0 }, "end": { - "line": 611, + "line": 700, "column": 1 } } @@ -120498,15 +138717,15 @@ "updateContext": null }, "value": "export", - "start": 21656, - "end": 21662, + "start": 24572, + "end": 24578, "loc": { "start": { - "line": 613, + "line": 702, "column": 0 }, "end": { - "line": 613, + "line": 702, "column": 6 } } @@ -120523,15 +138742,15 @@ "postfix": false, "binop": null }, - "start": 21663, - "end": 21664, + "start": 24579, + "end": 24580, "loc": { "start": { - "line": 613, + "line": 702, "column": 7 }, "end": { - "line": 613, + "line": 702, "column": 8 } } @@ -120549,15 +138768,15 @@ "binop": null }, "value": "parseGLTFIntoXKTModel", - "start": 21664, - "end": 21685, + "start": 24580, + "end": 24601, "loc": { "start": { - "line": 613, + "line": 702, "column": 8 }, "end": { - "line": 613, + "line": 702, "column": 29 } } @@ -120574,15 +138793,15 @@ "postfix": false, "binop": null }, - "start": 21685, - "end": 21686, + "start": 24601, + "end": 24602, "loc": { "start": { - "line": 613, + "line": 702, "column": 29 }, "end": { - "line": 613, + "line": 702, "column": 30 } } @@ -120600,15 +138819,15 @@ "binop": null, "updateContext": null }, - "start": 21686, - "end": 21687, + "start": 24602, + "end": 24603, "loc": { "start": { - "line": 613, + "line": 702, "column": 30 }, "end": { - "line": 613, + "line": 702, "column": 31 } } @@ -120626,15 +138845,15 @@ "binop": null, "updateContext": null }, - "start": 21687, - "end": 21687, + "start": 24603, + "end": 24603, "loc": { "start": { - "line": 613, + "line": 702, "column": 31 }, "end": { - "line": 613, + "line": 702, "column": 31 } } diff --git a/docs/class/src/XKTModel/XKTEntity.js~XKTEntity.html b/docs/class/src/XKTModel/XKTEntity.js~XKTEntity.html index ba8f931..6249ec6 100644 --- a/docs/class/src/XKTModel/XKTEntity.js~XKTEntity.html +++ b/docs/class/src/XKTModel/XKTEntity.js~XKTEntity.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/class/src/XKTModel/XKTGeometry.js~XKTGeometry.html b/docs/class/src/XKTModel/XKTGeometry.js~XKTGeometry.html index 71383dc..29e98a3 100644 --- a/docs/class/src/XKTModel/XKTGeometry.js~XKTGeometry.html +++ b/docs/class/src/XKTModel/XKTGeometry.js~XKTGeometry.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/class/src/XKTModel/XKTMesh.js~XKTMesh.html b/docs/class/src/XKTModel/XKTMesh.js~XKTMesh.html index 7bec14e..41ea99d 100644 --- a/docs/class/src/XKTModel/XKTMesh.js~XKTMesh.html +++ b/docs/class/src/XKTModel/XKTMesh.js~XKTMesh.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/class/src/XKTModel/XKTMetaObject.js~XKTMetaObject.html b/docs/class/src/XKTModel/XKTMetaObject.js~XKTMetaObject.html index c8bbd69..fa1054b 100644 --- a/docs/class/src/XKTModel/XKTMetaObject.js~XKTMetaObject.html +++ b/docs/class/src/XKTModel/XKTMetaObject.js~XKTMetaObject.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/class/src/XKTModel/XKTModel.js~XKTModel.html b/docs/class/src/XKTModel/XKTModel.js~XKTModel.html index 256138f..8d1f8f2 100644 --- a/docs/class/src/XKTModel/XKTModel.js~XKTModel.html +++ b/docs/class/src/XKTModel/XKTModel.js~XKTModel.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • @@ -2783,7 +2784,7 @@

    - source + source

    @@ -2827,7 +2828,7 @@

    - source + source

    @@ -3070,7 +3071,7 @@

    - source + source

    @@ -3729,7 +3730,7 @@

    - source + source

    diff --git a/docs/class/src/XKTModel/XKTPropertySet.js~XKTPropertySet.html b/docs/class/src/XKTModel/XKTPropertySet.js~XKTPropertySet.html index a829a49..308f5a1 100644 --- a/docs/class/src/XKTModel/XKTPropertySet.js~XKTPropertySet.html +++ b/docs/class/src/XKTModel/XKTPropertySet.js~XKTPropertySet.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/class/src/XKTModel/XKTTexture.js~XKTTexture.html b/docs/class/src/XKTModel/XKTTexture.js~XKTTexture.html index fb77910..406e203 100644 --- a/docs/class/src/XKTModel/XKTTexture.js~XKTTexture.html +++ b/docs/class/src/XKTModel/XKTTexture.js~XKTTexture.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/class/src/XKTModel/XKTTextureSet.js~XKTTextureSet.html b/docs/class/src/XKTModel/XKTTextureSet.js~XKTTextureSet.html index 7c0021d..824c7f1 100644 --- a/docs/class/src/XKTModel/XKTTextureSet.js~XKTTextureSet.html +++ b/docs/class/src/XKTModel/XKTTextureSet.js~XKTTextureSet.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/class/src/XKTModel/XKTTile.js~XKTTile.html b/docs/class/src/XKTModel/XKTTile.js~XKTTile.html index 75630cb..8e32bca 100644 --- a/docs/class/src/XKTModel/XKTTile.js~XKTTile.html +++ b/docs/class/src/XKTModel/XKTTile.js~XKTTile.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/coverage.json b/docs/coverage.json index 38558d6..f37ad4a 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,7 +1,7 @@ { - "coverage": "47.2%", - "expectCount": 394, - "actualCount": 186, + "coverage": "47.56%", + "expectCount": 410, + "actualCount": 195, "files": { "src/XKTModel/KDNode.js": { "expectCount": 6, @@ -60,18 +60,18 @@ 35, 39, 477, - 819, - 1081, - 1096, - 1184, - 1218, - 1240, - 1282, - 1305, - 1373, - 1377, - 1466, - 1511 + 820, + 1082, + 1097, + 1185, + 1219, + 1241, + 1283, + 1306, + 1374, + 1378, + 1467, + 1512 ] }, "src/XKTModel/XKTPropertySet.js": { @@ -203,17 +203,18 @@ ] }, "src/XKTModel/writeXKTModelToArrayBuffer.js": { - "expectCount": 9, + "expectCount": 10, "actualCount": 1, "undocumentLines": [ 4, 5, 6, - 26, - 349, - 399, - 406, - 439 + 30, + 130, + 453, + 503, + 510, + 543 ] }, "src/XKT_INFO.js": { @@ -386,22 +387,34 @@ 434 ] }, + "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js": { + "expectCount": 14, + "actualCount": 5, + "undocumentLines": [ + 138, + 149, + 244, + 256, + 309, + 369, + 379, + 408, + 429 + ] + }, "src/parsers/parseGLTFIntoXKTModel.js": { - "expectCount": 13, - "actualCount": 1, + "expectCount": 14, + "actualCount": 5, "undocumentLines": [ 138, 149, 244, 256, - 326, - 386, - 396, - 411, - 429, - 430, - 432, - 434 + 309, + 369, + 379, + 408, + 429 ] }, "src/parsers/parseGLTFJSONIntoXKTModel.js": { diff --git a/docs/file/src/XKTModel/KDNode.js.html b/docs/file/src/XKTModel/KDNode.js.html index 284fec2..fccca76 100644 --- a/docs/file/src/XKTModel/KDNode.js.html +++ b/docs/file/src/XKTModel/KDNode.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/MockXKTModel.js.html b/docs/file/src/XKTModel/MockXKTModel.js.html index bbfa947..b60d0a2 100644 --- a/docs/file/src/XKTModel/MockXKTModel.js.html +++ b/docs/file/src/XKTModel/MockXKTModel.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/XKTEntity.js.html b/docs/file/src/XKTModel/XKTEntity.js.html index 861bde0..064193c 100644 --- a/docs/file/src/XKTModel/XKTEntity.js.html +++ b/docs/file/src/XKTModel/XKTEntity.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/XKTGeometry.js.html b/docs/file/src/XKTModel/XKTGeometry.js.html index e40d0a4..9b11362 100644 --- a/docs/file/src/XKTModel/XKTGeometry.js.html +++ b/docs/file/src/XKTModel/XKTGeometry.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/XKTMesh.js.html b/docs/file/src/XKTModel/XKTMesh.js.html index 6303017..32704bf 100644 --- a/docs/file/src/XKTModel/XKTMesh.js.html +++ b/docs/file/src/XKTModel/XKTMesh.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/XKTMetaObject.js.html b/docs/file/src/XKTModel/XKTMetaObject.js.html index 1346f85..d988237 100644 --- a/docs/file/src/XKTModel/XKTMetaObject.js.html +++ b/docs/file/src/XKTModel/XKTMetaObject.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/XKTModel.js.html b/docs/file/src/XKTModel/XKTModel.js.html index e36cf7d..c129a7e 100644 --- a/docs/file/src/XKTModel/XKTModel.js.html +++ b/docs/file/src/XKTModel/XKTModel.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • @@ -473,15 +474,15 @@ createPropertySet(params) { if (!params) { - throw "Parameters expected: params"; + throw "[XKTModel.createPropertySet] Parameters expected: params"; } if (params.propertySetId === null || params.propertySetId === undefined) { - throw "Parameter expected: params.propertySetId"; + throw "[XKTModel.createPropertySet] Parameter expected: params.propertySetId"; } if (params.properties === null || params.properties === undefined) { - throw "Parameter expected: params.properties"; + throw "[XKTModel.createPropertySet] Parameter expected: params.properties"; } if (this.finalized) { @@ -526,11 +527,11 @@ createMetaObject(params) { if (!params) { - throw "Parameters expected: params"; + throw "[XKTModel.createMetaObject] Parameters expected: params"; } if (params.metaObjectId === null || params.metaObjectId === undefined) { - throw "Parameter expected: params.metaObjectId"; + throw "[XKTModel.createMetaObject] Parameter expected: params.metaObjectId"; } if (this.finalized) { @@ -594,15 +595,15 @@ createTexture(params) { if (!params) { - throw "Parameters expected: params"; + throw "[XKTModel.createTexture] Parameters expected: params"; } if (params.textureId === null || params.textureId === undefined) { - throw "Parameter expected: params.textureId"; + throw "[XKTModel.createTexture] Parameter expected: params.textureId"; } if (!params.imageData && !params.src) { - throw "Parameter expected: params.imageData or params.src"; + throw "[XKTModel.createTexture] Parameter expected: params.imageData or params.src"; } if (this.finalized) { @@ -665,11 +666,11 @@ createTextureSet(params) { if (!params) { - throw "Parameters expected: params"; + throw "[XKTModel.createTextureSet] Parameters expected: params"; } if (params.textureSetId === null || params.textureSetId === undefined) { - throw "Parameter expected: params.textureSetId"; + throw "[XKTModel.createTextureSet] Parameter expected: params.textureSetId"; } if (this.finalized) { @@ -772,19 +773,19 @@ createGeometry(params) { if (!params) { - throw "Parameters expected: params"; + throw "[XKTModel.createGeometry] Parameters expected: params"; } if (params.geometryId === null || params.geometryId === undefined) { - throw "Parameter expected: params.geometryId"; + throw "[XKTModel.createGeometry] Parameter expected: params.geometryId"; } if (!params.primitiveType) { - throw "Parameter expected: params.primitiveType"; + throw "[XKTModel.createGeometry] Parameter expected: params.primitiveType"; } if (!params.positions) { - throw "Parameter expected: params.positions"; + throw "[XKTModel.createGeometry] Parameter expected: params.positions"; } const triangles = params.primitiveType === "triangles"; @@ -796,7 +797,7 @@ const triangle_fan = params.primitiveType === "triangle-fan"; if (!triangles && !points && !lines && !line_strip && !line_loop) { - throw "Unsupported value for params.primitiveType: " + throw "[XKTModel.createGeometry] Unsupported value for params.primitiveType: " + params.primitiveType + "' - supported values are 'triangles', 'points', 'lines', 'line-strip', 'triangle-strip' and 'triangle-fan"; } @@ -804,19 +805,20 @@ if (triangles) { if (!params.indices) { params.indices = this._createDefaultIndices() - throw "Parameter expected for 'triangles' primitive: params.indices"; + throw "[XKTModel.createGeometry] Parameter expected for 'triangles' primitive: params.indices"; } } if (points) { if (!params.colors && !params.colorsCompressed) { - throw "Parameter expected for 'points' primitive: params.colors or params.colorsCompressed"; + console.error("[XKTModel.createGeometry] Parameter expected for 'points' primitive: params.colors or params.colorsCompressed"); + return; } } if (lines) { if (!params.indices) { - throw "Parameter expected for 'lines' primitive: params.indices"; + throw "[XKTModel.createGeometry] Parameter expected for 'lines' primitive: params.indices"; } } @@ -930,15 +932,15 @@ createMesh(params) { if (params.meshId === null || params.meshId === undefined) { - throw "Parameter expected: params.meshId"; + throw "[XKTModel.createMesh] Parameter expected: params.meshId"; } if (params.geometryId === null || params.geometryId === undefined) { - throw "Parameter expected: params.geometryId"; + throw "[XKTModel.createMesh] Parameter expected: params.geometryId"; } if (this.finalized) { - throw "XKTModel has been finalized, can't add more meshes"; + throw "[XKTModel.createMesh] XKTModel has been finalized, can't add more meshes"; } if (this.meshes[params.meshId]) { @@ -1018,15 +1020,15 @@ createEntity(params) { if (!params) { - throw "Parameters expected: params"; + throw "[XKTModel.createEntity] Parameters expected: params"; } if (params.entityId === null || params.entityId === undefined) { - throw "Parameter expected: params.entityId"; + throw "[XKTModel.createEntity] Parameter expected: params.entityId"; } if (!params.meshIds) { - throw "Parameter expected: params.meshIds"; + throw "[XKTModel.createEntity] Parameter expected: params.meshIds"; } if (this.finalized) { diff --git a/docs/file/src/XKTModel/XKTPropertySet.js.html b/docs/file/src/XKTModel/XKTPropertySet.js.html index 31d8159..d36192c 100644 --- a/docs/file/src/XKTModel/XKTPropertySet.js.html +++ b/docs/file/src/XKTModel/XKTPropertySet.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/XKTTexture.js.html b/docs/file/src/XKTModel/XKTTexture.js.html index 64072e7..ac0a811 100644 --- a/docs/file/src/XKTModel/XKTTexture.js.html +++ b/docs/file/src/XKTModel/XKTTexture.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/XKTTextureSet.js.html b/docs/file/src/XKTModel/XKTTextureSet.js.html index fc3a236..5d6de9c 100644 --- a/docs/file/src/XKTModel/XKTTextureSet.js.html +++ b/docs/file/src/XKTModel/XKTTextureSet.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/XKTTile.js.html b/docs/file/src/XKTModel/XKTTile.js.html index 4803ad3..7538c0e 100644 --- a/docs/file/src/XKTModel/XKTTile.js.html +++ b/docs/file/src/XKTModel/XKTTile.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/lib/buildEdgeIndices.js.html b/docs/file/src/XKTModel/lib/buildEdgeIndices.js.html index 2d40bf6..a620b0f 100644 --- a/docs/file/src/XKTModel/lib/buildEdgeIndices.js.html +++ b/docs/file/src/XKTModel/lib/buildEdgeIndices.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/lib/buildFaceNormals.js.html b/docs/file/src/XKTModel/lib/buildFaceNormals.js.html index f7c6d3f..bda2aa9 100644 --- a/docs/file/src/XKTModel/lib/buildFaceNormals.js.html +++ b/docs/file/src/XKTModel/lib/buildFaceNormals.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/lib/buildVertexNormals.js.html b/docs/file/src/XKTModel/lib/buildVertexNormals.js.html index 3dbe143..ed53bdf 100644 --- a/docs/file/src/XKTModel/lib/buildVertexNormals.js.html +++ b/docs/file/src/XKTModel/lib/buildVertexNormals.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/lib/earcut.js.html b/docs/file/src/XKTModel/lib/earcut.js.html index 0c11ed4..00bbc5e 100644 --- a/docs/file/src/XKTModel/lib/earcut.js.html +++ b/docs/file/src/XKTModel/lib/earcut.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/lib/faceToVertexNormals.js.html b/docs/file/src/XKTModel/lib/faceToVertexNormals.js.html index 4e3eb7f..3488cbb 100644 --- a/docs/file/src/XKTModel/lib/faceToVertexNormals.js.html +++ b/docs/file/src/XKTModel/lib/faceToVertexNormals.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/lib/geometryCompression.js.html b/docs/file/src/XKTModel/lib/geometryCompression.js.html index bcd238a..575e97d 100644 --- a/docs/file/src/XKTModel/lib/geometryCompression.js.html +++ b/docs/file/src/XKTModel/lib/geometryCompression.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/lib/isTriangleMeshSolid.js.html b/docs/file/src/XKTModel/lib/isTriangleMeshSolid.js.html index 7e3aaff..7a10161 100644 --- a/docs/file/src/XKTModel/lib/isTriangleMeshSolid.js.html +++ b/docs/file/src/XKTModel/lib/isTriangleMeshSolid.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/lib/math.js.html b/docs/file/src/XKTModel/lib/math.js.html index 4a863cb..3dc4ad7 100644 --- a/docs/file/src/XKTModel/lib/math.js.html +++ b/docs/file/src/XKTModel/lib/math.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/lib/mergeVertices.js.html b/docs/file/src/XKTModel/lib/mergeVertices.js.html index 0cb838c..0e3350a 100644 --- a/docs/file/src/XKTModel/lib/mergeVertices.js.html +++ b/docs/file/src/XKTModel/lib/mergeVertices.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/lib/toArraybuffer.js.html b/docs/file/src/XKTModel/lib/toArraybuffer.js.html index 43cd9f5..a07fb19 100644 --- a/docs/file/src/XKTModel/lib/toArraybuffer.js.html +++ b/docs/file/src/XKTModel/lib/toArraybuffer.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/lib/utils.js.html b/docs/file/src/XKTModel/lib/utils.js.html index ca7f193..2935035 100644 --- a/docs/file/src/XKTModel/lib/utils.js.html +++ b/docs/file/src/XKTModel/lib/utils.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/XKTModel/writeXKTModelToArrayBuffer.js.html b/docs/file/src/XKTModel/writeXKTModelToArrayBuffer.js.html index 80e8533..171cd97 100644 --- a/docs/file/src/XKTModel/writeXKTModelToArrayBuffer.js.html +++ b/docs/file/src/XKTModel/writeXKTModelToArrayBuffer.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • @@ -98,6 +99,9 @@ * @returns {ArrayBuffer} The {@link ArrayBuffer}. */ function writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, options) { + if (! options.zip) { + return writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats); + } const data = getModelData(xktModel, metaModelJSON, stats); const deflatedData = deflateData(data, metaModelJSON, options); stats.texturesSize += deflatedData.textureData.byteLength; @@ -105,6 +109,107 @@ return arrayBuffer; } +// V11 +function writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats) { + const data = getModelData(xktModel, metaModelJSON, stats); + stats.texturesSize += data.textureData.byteLength; + + const object2Array = (function() { + const encoder = new TextEncoder(); + return obj => encoder.encode(JSON.stringify(obj)); + })(); + + const arrays = [ + object2Array(metaModelJSON || data.metadata), + data.textureData, + data.eachTextureDataPortion, + data.eachTextureAttributes, + data.positions, + data.normals, + data.colors, + data.uvs, + data.indices, + data.edgeIndices, + data.eachTextureSetTextures, + data.matrices, + data.reusedGeometriesDecodeMatrix, + data.eachGeometryPrimitiveType, + data.eachGeometryPositionsPortion, + data.eachGeometryNormalsPortion, + data.eachGeometryColorsPortion, + data.eachGeometryUVsPortion, + data.eachGeometryIndicesPortion, + data.eachGeometryEdgeIndicesPortion, + data.eachMeshGeometriesPortion, + data.eachMeshMatricesPortion, + data.eachMeshTextureSet, + data.eachMeshMaterialAttributes, + object2Array(data.eachEntityId), + data.eachEntityMeshesPortion, + data.eachTileAABB, + data.eachTileEntitiesPortion + ]; + + const arraysCnt = arrays.length; + const dataView = new DataView(new ArrayBuffer((1 + 2 * arraysCnt) * 4)); + + dataView.setUint32(0, XKT_VERSION, true); + + let byteOffset = dataView.byteLength; + const offsets = [ ]; + + // Store arrays' offsets and lengths + for (let i = 0; i < arraysCnt; i++) { + const arr = arrays[i]; + const BPE = arr.BYTES_PER_ELEMENT; + // align to BPE, so the arrayBuffer can be used for a typed array + byteOffset = Math.ceil(byteOffset / BPE) * BPE; + const byteLength = arr.byteLength; + + const idx = 1 + 2 * i; + dataView.setUint32(idx * 4, byteOffset, true); + dataView.setUint32((idx + 1) * 4, byteLength, true); + + offsets.push(byteOffset); + byteOffset += byteLength; + } + + const dataArray = new Uint8Array(byteOffset); + dataArray.set(new Uint8Array(dataView.buffer), 0); + + const requiresSwapToLittleEndian = (function() { + const buffer = new ArrayBuffer(2); + new Uint16Array(buffer)[0] = 1; + return new Uint8Array(buffer)[0] !== 1; + })(); + + // Store arrays themselves + for (let i = 0; i < arraysCnt; i++) { + const arr = arrays[i]; + const subarray = new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength); + + const BPE = arr.BYTES_PER_ELEMENT; + if (requiresSwapToLittleEndian && (BPE > 1)) { + const swaps = BPE / 2; + const cnt = subarray.length / BPE; + for (let b = 0; b < cnt; b++) { + const offset = b * BPE; + for (let j = 0; j < swaps; j++) { + const i1 = offset + j; + const i2 = offset - j + BPE - 1; + const tmp = subarray[i1]; + subarray[i1] = subarray[i2]; + subarray[i2] = tmp; + } + } + } + + dataArray.set(subarray, offsets[i]); + } + + return dataArray.buffer; +} + function getModelData(xktModel, metaModelDataStr, stats) { //------------------------------------------------------------------------------------------------------------------ @@ -520,7 +625,7 @@ function toArrayBuffer(elements) { const indexData = new Uint32Array(elements.length + 2); - indexData[0] = XKT_VERSION; + indexData[0] = 10; // XKT_VERSION for legacy v10 mode indexData [1] = elements.length; // Stored Data 1.1: number of stored elements let dataLen = 0; // Stored Data 1.2: length of stored elements for (let i = 0, len = elements.length; i < len; i++) { diff --git a/docs/file/src/XKT_INFO.js.html b/docs/file/src/XKT_INFO.js.html index e981859..7e619f3 100644 --- a/docs/file/src/XKT_INFO.js.html +++ b/docs/file/src/XKT_INFO.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • @@ -97,7 +98,7 @@ * @property xktVersion * @type {number} */ - xktVersion: 10 + xktVersion: 11 }; export {XKT_INFO}; diff --git a/docs/file/src/constants.js.html b/docs/file/src/constants.js.html index 193a145..d9aa1ee 100644 --- a/docs/file/src/constants.js.html +++ b/docs/file/src/constants.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/convert2xkt.js.html b/docs/file/src/convert2xkt.js.html index 37bc6f6..a9d6355 100644 --- a/docs/file/src/convert2xkt.js.html +++ b/docs/file/src/convert2xkt.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • @@ -175,6 +176,7 @@ rotateX = false, includeTextures = true, includeNormals = true, + zip = true, log = function (msg) { } }) { @@ -463,7 +465,7 @@ log("XKT document built OK. Writing to XKT file..."); - const xktArrayBuffer = writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, {zip: true}); + const xktArrayBuffer = writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, {zip: zip}); const xktContent = Buffer.from(xktArrayBuffer); @@ -472,7 +474,7 @@ stats.minTileSize = minTileSize || 200; stats.sourceSize = (sourceFileSizeBytes / 1000).toFixed(2); stats.xktSize = (targetFileSizeBytes / 1000).toFixed(2); - stats.xktVersion = XKT_INFO.xktVersion; + stats.xktVersion = zip ? 10 : XKT_INFO.xktVersion; stats.compressionRatio = (sourceFileSizeBytes / targetFileSizeBytes).toFixed(2); stats.conversionTime = ((new Date() - startTime) / 1000.0).toFixed(2); stats.aabb = xktModel.aabb; diff --git a/docs/file/src/geometryBuilders/buildBoxGeometry.js.html b/docs/file/src/geometryBuilders/buildBoxGeometry.js.html index f76a9f2..6bb4698 100644 --- a/docs/file/src/geometryBuilders/buildBoxGeometry.js.html +++ b/docs/file/src/geometryBuilders/buildBoxGeometry.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/geometryBuilders/buildBoxLinesGeometry.js.html b/docs/file/src/geometryBuilders/buildBoxLinesGeometry.js.html index 51e2ab5..2b0a59f 100644 --- a/docs/file/src/geometryBuilders/buildBoxLinesGeometry.js.html +++ b/docs/file/src/geometryBuilders/buildBoxLinesGeometry.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/geometryBuilders/buildCylinderGeometry.js.html b/docs/file/src/geometryBuilders/buildCylinderGeometry.js.html index 2d9aa6e..7b91903 100644 --- a/docs/file/src/geometryBuilders/buildCylinderGeometry.js.html +++ b/docs/file/src/geometryBuilders/buildCylinderGeometry.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/geometryBuilders/buildGridGeometry.js.html b/docs/file/src/geometryBuilders/buildGridGeometry.js.html index cfa7ce5..993a558 100644 --- a/docs/file/src/geometryBuilders/buildGridGeometry.js.html +++ b/docs/file/src/geometryBuilders/buildGridGeometry.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/geometryBuilders/buildPlaneGeometry.js.html b/docs/file/src/geometryBuilders/buildPlaneGeometry.js.html index ec9ba83..5b35fca 100644 --- a/docs/file/src/geometryBuilders/buildPlaneGeometry.js.html +++ b/docs/file/src/geometryBuilders/buildPlaneGeometry.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/geometryBuilders/buildSphereGeometry.js.html b/docs/file/src/geometryBuilders/buildSphereGeometry.js.html index 1e9c667..714ff98 100644 --- a/docs/file/src/geometryBuilders/buildSphereGeometry.js.html +++ b/docs/file/src/geometryBuilders/buildSphereGeometry.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/geometryBuilders/buildTorusGeometry.js.html b/docs/file/src/geometryBuilders/buildTorusGeometry.js.html index dab167b..d7168bc 100644 --- a/docs/file/src/geometryBuilders/buildTorusGeometry.js.html +++ b/docs/file/src/geometryBuilders/buildTorusGeometry.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/geometryBuilders/buildVectorTextGeometry.js.html b/docs/file/src/geometryBuilders/buildVectorTextGeometry.js.html index e5d8442..ff04be0 100644 --- a/docs/file/src/geometryBuilders/buildVectorTextGeometry.js.html +++ b/docs/file/src/geometryBuilders/buildVectorTextGeometry.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/index.js.html b/docs/file/src/index.js.html index 2ffc2bb..8e3d139 100644 --- a/docs/file/src/index.js.html +++ b/docs/file/src/index.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/lib/buildFaceNormals.js.html b/docs/file/src/lib/buildFaceNormals.js.html index 0c26477..3edc011 100644 --- a/docs/file/src/lib/buildFaceNormals.js.html +++ b/docs/file/src/lib/buildFaceNormals.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/lib/buildVertexNormals.js.html b/docs/file/src/lib/buildVertexNormals.js.html index b3c02c3..6902c1a 100644 --- a/docs/file/src/lib/buildVertexNormals.js.html +++ b/docs/file/src/lib/buildVertexNormals.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/lib/earcut.js.html b/docs/file/src/lib/earcut.js.html index fa53b87..e3a2282 100644 --- a/docs/file/src/lib/earcut.js.html +++ b/docs/file/src/lib/earcut.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/lib/faceToVertexNormals.js.html b/docs/file/src/lib/faceToVertexNormals.js.html index 821b38d..626a938 100644 --- a/docs/file/src/lib/faceToVertexNormals.js.html +++ b/docs/file/src/lib/faceToVertexNormals.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/lib/math.js.html b/docs/file/src/lib/math.js.html index dc2d222..087c6c9 100644 --- a/docs/file/src/lib/math.js.html +++ b/docs/file/src/lib/math.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/lib/mergeVertices.js.html b/docs/file/src/lib/mergeVertices.js.html index 5e69d41..dfbd579 100644 --- a/docs/file/src/lib/mergeVertices.js.html +++ b/docs/file/src/lib/mergeVertices.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/parsers/parseCityJSONIntoXKTModel.js.html b/docs/file/src/parsers/parseCityJSONIntoXKTModel.js.html index bcd685d..df572ad 100644 --- a/docs/file/src/parsers/parseCityJSONIntoXKTModel.js.html +++ b/docs/file/src/parsers/parseCityJSONIntoXKTModel.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/parsers/parseGLTFIntoXKTModel.js.html b/docs/file/src/parsers/parseGLTFIntoXKTModel.js.html index f7bf4d9..5abf32c 100644 --- a/docs/file/src/parsers/parseGLTFIntoXKTModel.js.html +++ b/docs/file/src/parsers/parseGLTFIntoXKTModel.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • @@ -182,7 +183,7 @@ const ctx = { gltfData, - metaModelCorrections: metaModelData, + nodesHaveNames: false, // determined in testIfNodesHaveNames() getAttachment: getAttachment || (() => { throw new Error('You must define getAttachment() method to convert glTF with external resources') }), @@ -346,23 +347,6 @@ if (material.emissiveTexture) { textureSetCfg.emissiveTextureId = material.emissiveTexture.texture._textureId; } - // const alphaMode = material.alphaMode; - // switch (alphaMode) { - // case "NORMAL_OPAQUE": - // materialCfg.alphaMode = "opaque"; - // break; - // case "MASK": - // materialCfg.alphaMode = "mask"; - // break; - // case "BLEND": - // materialCfg.alphaMode = "blend"; - // break; - // default: - // } - // const alphaCutoff = material.alphaCutoff; - // if (alphaCutoff !== undefined) { - // materialCfg.alphaCutoff = alphaCutoff; - // } const metallicPBR = material.pbrMetallicRoughness; if (material.pbrMetallicRoughness) { const pbrMetallicRoughness = material.pbrMetallicRoughness; @@ -484,13 +468,30 @@ const node = nodes[i]; countMeshUsage(ctx, node); } - for (let i = 0, len = nodes.length; i < len; i++) { + for (let i = 0, len = nodes.length; i < len && !ctx.nodesHaveNames; i++) { const node = nodes[i]; - parseNode(ctx, node, 0, null); + if (testIfNodesHaveNames(node)) { + ctx.nodesHaveNames = true; + } + } + if (!ctx.nodesHaveNames) { + ctx.log(`Warning: No "name" attributes found on glTF scene nodes - objects in XKT may not be what you expect`); + for (let i = 0, len = nodes.length; i < len; i++) { + const node = nodes[i]; + parseNodesWithoutNames(ctx, node, 0, null); + } + } else { + for (let i = 0, len = nodes.length; i < len; i++) { + const node = nodes[i]; + parseNodesWithNames(ctx, node, 0, null); + } } } -function countMeshUsage(ctx, node) { +function countMeshUsage(ctx, node, level=0) { + if (!node) { + return; + } const mesh = node.mesh; if (mesh) { mesh.instances = mesh.instances ? mesh.instances + 1 : 1; @@ -503,22 +504,140 @@ ctx.error("Node not found: " + i); continue; } - countMeshUsage(ctx, childNode); + countMeshUsage(ctx, childNode, level+1); + } + } +} + +function testIfNodesHaveNames(node, level=0) { + if (!node) { + return; + } + if (node.name) { + return true; + } + if (node.children) { + const children = node.children; + for (let i = 0, len = children.length; i < len; i++) { + const childNode = children[i]; + if (testIfNodesHaveNames(childNode, level+1)) { + return true; + } } } + return false; } -const objectIdStack = []; -const meshIdsStack = []; +/** + * Parses a glTF node hierarchy that is known to NOT contain "name" attributes on the nodes. + * Create a XKTMesh for each mesh primitive, and a single XKTEntity. + */ +const parseNodesWithoutNames = (function () { -let meshIds = null; + const meshIds = []; -function parseNode(ctx, node, depth, matrix) { + return function (ctx, node, depth, matrix) { + if (!node) { + return; + } + matrix = parseNodeMatrix(node, matrix); + if (node.mesh) { + parseNodeMesh(node, ctx, matrix, meshIds); + } + if (node.children) { + const children = node.children; + for (let i = 0, len = children.length; i < len; i++) { + const childNode = children[i]; + parseNodesWithoutNames(ctx, childNode, depth + 1, matrix); + } + } + if (depth === 0) { + let entityId = "entity-" + ctx.nextId++; + if (meshIds && meshIds.length > 0) { + ctx.log("Creating XKTEntity with default ID: " + entityId); + ctx.xktModel.createEntity({ + entityId, + meshIds + }); + meshIds.length = 0; + } + ctx.stats.numObjects++; + } + } +})(); - const xktModel = ctx.xktModel; - // Pre-order visit scene node +/** + * Parses a glTF node hierarchy that is known to contain "name" attributes on the nodes. + * + * Create a XKTMesh for each mesh primitive, and XKTEntity for each named node. + * + * Following a depth-first traversal, each XKTEntity is created on post-visit of each named node, + * and gets all the XKTMeshes created since the last XKTEntity created. + */ +const parseNodesWithNames = (function () { + const objectIdStack = []; + const meshIdsStack = []; + let meshIds = null; + + return function (ctx, node, depth, matrix) { + if (!node) { + return; + } + matrix = parseNodeMatrix(node, matrix); + if (node.name) { + meshIds = []; + let xktEntityId = node.name; + if (!!xktEntityId && ctx.xktModel.entities[xktEntityId]) { + ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`); + } + while (!xktEntityId || ctx.xktModel.entities[xktEntityId]) { + xktEntityId = "entity-" + ctx.nextId++; + } + objectIdStack.push(xktEntityId); + meshIdsStack.push(meshIds); + } + if (meshIds && node.mesh) { + parseNodeMesh(node, ctx, matrix, meshIds); + } + if (node.children) { + const children = node.children; + for (let i = 0, len = children.length; i < len; i++) { + const childNode = children[i]; + parseNodesWithNames(ctx, childNode, depth + 1, matrix); + } + } + const nodeName = node.name; + if ((nodeName !== undefined && nodeName !== null) || depth === 0) { + let xktEntityId = objectIdStack.pop(); + if (!xktEntityId) { // For when there are no nodes with names + xktEntityId = "entity-" + ctx.nextId++; + } + let entityMeshIds = meshIdsStack.pop(); + if (meshIds && meshIds.length > 0) { + ctx.xktModel.createEntity({ + entityId: xktEntityId, + meshIds: entityMeshIds + }); + } + ctx.stats.numObjects++; + meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null; + } + } +})(); + +/** + * Parses transform at the given glTF node. + * + * @param node the glTF node + * @param matrix Transfor matrix from parent nodes + * @returns {*} Transform matrix for the node + */ +function parseNodeMatrix(node, matrix) { + if (!node) { + return; + } let localMatrix; if (node.matrix) { localMatrix = node.matrix; @@ -552,27 +671,29 @@ matrix = localMatrix; } } + return matrix; +} - if (node.name) { - meshIds = []; - let xktEntityId = node.name; - if (!!xktEntityId && xktModel.entities[xktEntityId]) { - ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`); - } - while (!xktEntityId || xktModel.entities[xktEntityId]) { - xktEntityId = "entity-" + ctx.nextId++; - } - objectIdStack.push(xktEntityId); - meshIdsStack.push(meshIds); +/** + * Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel. + * + * @param node glTF node + * @param ctx Parsing context + * @param matrix Matrix for the XKTMeshes + * @param meshIds returns IDs of the new XKTMeshes + */ +function parseNodeMesh(node, ctx, matrix, meshIds) { + if (!node) { + return; } - - if (meshIds && node.mesh) { - - const mesh = node.mesh; - const numPrimitives = mesh.primitives.length; - - if (numPrimitives > 0) { - for (let i = 0; i < numPrimitives; i++) { + const mesh = node.mesh; + if (!mesh) { + return; + } + const numPrimitives = mesh.primitives.length; + if (numPrimitives > 0) { + for (let i = 0; i < numPrimitives; i++) { + try { const primitive = mesh.primitives[i]; if (!primitive._xktGeometryId) { const xktGeometryId = "geometry-" + ctx.nextId++; @@ -631,11 +752,10 @@ ctx.stats.numTriangles += geometryCfg.indices.length / 3; } } - xktModel.createGeometry(geometryCfg); + ctx.xktModel.createGeometry(geometryCfg); primitive._xktGeometryId = xktGeometryId; ctx.stats.numGeometries++; } - const xktMeshId = ctx.nextId++; const meshCfg = { meshId: xktMeshId, @@ -653,43 +773,13 @@ meshCfg.color = [1.0, 1.0, 1.0]; meshCfg.opacity = 1.0; } - xktModel.createMesh(meshCfg); + ctx.xktModel.createMesh(meshCfg); meshIds.push(xktMeshId); + } catch (e) { + console.log(e); } } } - - // Visit child scene nodes - - if (node.children) { - const children = node.children; - for (let i = 0, len = children.length; i < len; i++) { - const childNode = children[i]; - parseNode(ctx, childNode, depth + 1, matrix); - } - } - - // Post-order visit scene node - - const nodeName = node.name; - if ((nodeName !== undefined && nodeName !== null) || depth === 0) { - if (nodeName === undefined || nodeName === null) { - ctx.log(`Warning: 'name' properties not found on glTF scene nodes - will randomly-generate object IDs in XKT`); - } - let xktEntityId = objectIdStack.pop(); - if (!xktEntityId) { // For when there are no nodes with names - xktEntityId = "entity-" + ctx.nextId++; - } - let entityMeshIds = meshIdsStack.pop(); - if (meshIds && meshIds.length > 0) { - xktModel.createEntity({ - entityId: xktEntityId, - meshIds: entityMeshIds - }); - } - ctx.stats.numObjects++; - meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null; - } } export {parseGLTFIntoXKTModel}; diff --git a/docs/file/src/parsers/parseGLTFJSONIntoXKTModel.js.html b/docs/file/src/parsers/parseGLTFJSONIntoXKTModel.js.html index be0820c..69e0a3d 100644 --- a/docs/file/src/parsers/parseGLTFJSONIntoXKTModel.js.html +++ b/docs/file/src/parsers/parseGLTFJSONIntoXKTModel.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/parsers/parseIFCIntoXKTModel.js.html b/docs/file/src/parsers/parseIFCIntoXKTModel.js.html index 2d33d3f..25e3ed8 100644 --- a/docs/file/src/parsers/parseIFCIntoXKTModel.js.html +++ b/docs/file/src/parsers/parseIFCIntoXKTModel.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/parsers/parseLASIntoXKTModel.js.html b/docs/file/src/parsers/parseLASIntoXKTModel.js.html index 5647cf3..6f239b3 100644 --- a/docs/file/src/parsers/parseLASIntoXKTModel.js.html +++ b/docs/file/src/parsers/parseLASIntoXKTModel.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/parsers/parseMetaModelIntoXKTModel.js.html b/docs/file/src/parsers/parseMetaModelIntoXKTModel.js.html index a972ea4..a11b354 100644 --- a/docs/file/src/parsers/parseMetaModelIntoXKTModel.js.html +++ b/docs/file/src/parsers/parseMetaModelIntoXKTModel.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/parsers/parsePCDIntoXKTModel.js.html b/docs/file/src/parsers/parsePCDIntoXKTModel.js.html index e07181f..44b1f16 100644 --- a/docs/file/src/parsers/parsePCDIntoXKTModel.js.html +++ b/docs/file/src/parsers/parsePCDIntoXKTModel.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/parsers/parsePLYIntoXKTModel.js.html b/docs/file/src/parsers/parsePLYIntoXKTModel.js.html index b969b93..93e8ca5 100644 --- a/docs/file/src/parsers/parsePLYIntoXKTModel.js.html +++ b/docs/file/src/parsers/parsePLYIntoXKTModel.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/file/src/parsers/parseSTLIntoXKTModel.js.html b/docs/file/src/parsers/parseSTLIntoXKTModel.js.html index 0541892..aea14c6 100644 --- a/docs/file/src/parsers/parseSTLIntoXKTModel.js.html +++ b/docs/file/src/parsers/parseSTLIntoXKTModel.js.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/function/index.html b/docs/function/index.html index c24ef78..4a7c476 100644 --- a/docs/function/index.html +++ b/docs/function/index.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • @@ -454,6 +455,35 @@

    Usage

    
    +    
    +    
    +      
    +

    + + + + parseGLTFIntoXKTModel(params: Object): Promise +

    +
    +
    + + +

    Parses glTF into an XKTModel, supporting .glb and textures.

    +
    +
    + + + + + + + + + public + + + @@ -2391,6 +2421,162 @@

    Return:

    + +
    +

    + public + + + + + + parseGLTFIntoXKTModel(params: Object): Promise + + + + source + +

    + + + + +

    Parses glTF into an XKTModel, supporting .glb and textures.

    + +

    Usage

    In the example below we'll create an XKTModel, then load a binary glTF model into it.

    +
    utils.loadArraybuffer("../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb", async (data) => {
    +
    +    const xktModel = new XKTModel();
    +
    +    parseGLTFIntoXKTModel({
    +         data,
    +         xktModel,
    +         log: (msg) => { console.log(msg); }
    +    }).then(()=>{
    +       xktModel.finalize();
    +    },
    +    (msg) => {
    +        console.error(msg);
    +    });
    +});
    +
    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    paramsObject

    Parsing parameters.

    +
    params.dataArrayBuffer

    The glTF.

    +
    params.baseUriString
    • optional

    The base URI used to load this glTF, if any. For resolving relative uris to linked resources.

    +
    params.metaModelDataObject
    • optional

    Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.

    +
    params.xktModelXKTModel

    XKTModel to parse into.

    +
    params.includeTexturesBoolean
    • optional
    • +
    • default: true

    Whether to parse textures.

    +
    params.includeNormalsBoolean
    • optional
    • +
    • default: true

    Whether to parse normals. When false, the parser will ignore the glTF +geometry normals, and the glTF data will rely on the xeokit Viewer to automatically generate them. This has +the limitation that the normals will be face-aligned, and therefore the Viewer will only be able to render +a flat-shaded non-PBR representation of the glTF.

    +
    params.statsObject
    • optional

    Collects statistics.

    +
    params.logfunction
    • optional

    Logging callback.

    +
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    Promise

    Resolves when glTF has been parsed.

    +
    +
    +
    +
    + + + + + + + + + + + + + + +

    diff --git a/docs/identifiers.html b/docs/identifiers.html index 89074ac..8444be2 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • @@ -1281,6 +1282,35 @@

    parsers

    + + + +
    +

    + F + + + parseGLTFIntoXKTModel(params: Object): Promise +

    +
    +
    + + +

    Parses glTF into an XKTModel, supporting .glb and textures.

    +
    +
    + + + + + + + + + public + + + diff --git a/docs/index.html b/docs/index.html index 4cf19f1..49de459 100644 --- a/docs/index.html +++ b/docs/index.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • diff --git a/docs/index.json b/docs/index.json index 57b6c69..0689328 100644 --- a/docs/index.json +++ b/docs/index.json @@ -1963,7 +1963,7 @@ "__docId__": 115, "kind": "file", "name": "src/XKTModel/XKTModel.js", - "content": "import {math} from \"../lib/math.js\";\nimport {geometryCompression} from \"./lib/geometryCompression.js\";\nimport {buildEdgeIndices} from \"./lib/buildEdgeIndices.js\";\nimport {isTriangleMeshSolid} from \"./lib/isTriangleMeshSolid.js\";\n\nimport {XKTMesh} from './XKTMesh.js';\nimport {XKTGeometry} from './XKTGeometry.js';\nimport {XKTEntity} from './XKTEntity.js';\nimport {XKTTile} from './XKTTile.js';\nimport {KDNode} from \"./KDNode.js\";\nimport {XKTMetaObject} from \"./XKTMetaObject.js\";\nimport {XKTPropertySet} from \"./XKTPropertySet.js\";\nimport {mergeVertices} from \"../lib/mergeVertices.js\";\nimport {XKT_INFO} from \"../XKT_INFO.js\";\nimport {XKTTexture} from \"./XKTTexture\";\nimport {XKTTextureSet} from \"./XKTTextureSet\";\nimport {encode, load} from \"@loaders.gl/core\";\nimport {KTX2BasisWriter} from \"@loaders.gl/textures\";\nimport {ImageLoader} from '@loaders.gl/images';\n\nconst tempVec4a = math.vec4([0, 0, 0, 1]);\nconst tempVec4b = math.vec4([0, 0, 0, 1]);\n\nconst tempMat4 = math.mat4();\nconst tempMat4b = math.mat4();\n\nconst kdTreeDimLength = new Float64Array(3);\n\n// XKT texture types\n\nconst COLOR_TEXTURE = 0;\nconst METALLIC_ROUGHNESS_TEXTURE = 1;\nconst NORMALS_TEXTURE = 2;\nconst EMISSIVE_TEXTURE = 3;\nconst OCCLUSION_TEXTURE = 4;\n\n// KTX2 encoding options for each texture type\n\nconst TEXTURE_ENCODING_OPTIONS = {}\nTEXTURE_ENCODING_OPTIONS[COLOR_TEXTURE] = {\n useSRGB: true,\n qualityLevel: 50,\n encodeUASTC: true,\n mipmaps: true\n};\nTEXTURE_ENCODING_OPTIONS[EMISSIVE_TEXTURE] = {\n useSRGB: true,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\nTEXTURE_ENCODING_OPTIONS[METALLIC_ROUGHNESS_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 50,\n mipmaps: true // Needed for GGX roughness shading\n};\nTEXTURE_ENCODING_OPTIONS[NORMALS_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\nTEXTURE_ENCODING_OPTIONS[OCCLUSION_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\n\n/**\n * A document model that represents the contents of an .XKT file.\n *\n * * An XKTModel contains {@link XKTTile}s, which spatially subdivide the model into axis-aligned, box-shaped regions.\n * * Each {@link XKTTile} contains {@link XKTEntity}s, which represent the objects within its region.\n * * Each {@link XKTEntity} has {@link XKTMesh}s, which each have a {@link XKTGeometry}. Each {@link XKTGeometry} can be shared by multiple {@link XKTMesh}s.\n * * Import models into an XKTModel using {@link parseGLTFJSONIntoXKTModel}, {@link parseIFCIntoXKTModel}, {@link parseCityJSONIntoXKTModel} etc.\n * * Build an XKTModel programmatically using {@link XKTModel#createGeometry}, {@link XKTModel#createMesh} and {@link XKTModel#createEntity}.\n * * Serialize an XKTModel to an ArrayBuffer using {@link writeXKTModelToArrayBuffer}.\n *\n * ## Usage\n *\n * See [main docs page](/docs/#javascript-api) for usage examples.\n *\n * @class XKTModel\n */\nclass XKTModel {\n\n /**\n * Constructs a new XKTModel.\n *\n * @param {*} [cfg] Configuration\n * @param {Number} [cfg.edgeThreshold=10]\n * @param {Number} [cfg.minTileSize=500]\n */\n constructor(cfg = {}) {\n\n /**\n * The model's ID, if available.\n *\n * Will be \"default\" by default.\n *\n * @type {String}\n */\n this.modelId = cfg.modelId || \"default\";\n\n /**\n * The project ID, if available.\n *\n * Will be an empty string by default.\n *\n * @type {String}\n */\n this.projectId = cfg.projectId || \"\";\n\n /**\n * The revision ID, if available.\n *\n * Will be an empty string by default.\n *\n * @type {String}\n */\n this.revisionId = cfg.revisionId || \"\";\n\n /**\n * The model author, if available.\n *\n * Will be an empty string by default.\n *\n * @property author\n * @type {String}\n */\n this.author = cfg.author || \"\";\n\n /**\n * The date the model was created, if available.\n *\n * Will be an empty string by default.\n *\n * @property createdAt\n * @type {String}\n */\n this.createdAt = cfg.createdAt || \"\";\n\n /**\n * The application that created the model, if available.\n *\n * Will be an empty string by default.\n *\n * @property creatingApplication\n * @type {String}\n */\n this.creatingApplication = cfg.creatingApplication || \"\";\n\n /**\n * The model schema version, if available.\n *\n * In the case of IFC, this could be \"IFC2x3\" or \"IFC4\", for example.\n *\n * Will be an empty string by default.\n *\n * @property schema\n * @type {String}\n */\n this.schema = cfg.schema || \"\";\n\n /**\n * The XKT format version.\n *\n * @property xktVersion;\n * @type {number}\n */\n this.xktVersion = XKT_INFO.xktVersion;\n\n /**\n *\n * @type {Number|number}\n */\n this.edgeThreshold = cfg.edgeThreshold || 10;\n\n /**\n * Minimum diagonal size of the boundary of an {@link XKTTile}.\n *\n * @type {Number|number}\n */\n this.minTileSize = cfg.minTileSize || 500;\n\n /**\n * Optional overall AABB that contains all the {@link XKTEntity}s we'll create in this model, if previously known.\n *\n * This is the AABB of a complete set of input files that are provided as a split-model set for conversion.\n *\n * This is used to help the {@link XKTTile.aabb}s within split models align neatly with each other, as we\n * build them with a k-d tree in {@link XKTModel#finalize}. Without this, the AABBs of the different parts\n * tend to misalign slightly, resulting in excess number of {@link XKTTile}s, which degrades memory and rendering\n * performance when the XKT is viewer in the xeokit Viewer.\n */\n this.modelAABB = cfg.modelAABB;\n\n /**\n * Map of {@link XKTPropertySet}s within this XKTModel, each mapped to {@link XKTPropertySet#propertySetId}.\n *\n * Created by {@link XKTModel#createPropertySet}.\n *\n * @type {{String:XKTPropertySet}}\n */\n this.propertySets = {};\n\n /**\n * {@link XKTPropertySet}s within this XKTModel.\n *\n * Each XKTPropertySet holds its position in this list in {@link XKTPropertySet#propertySetIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTPropertySet[]}\n */\n this.propertySetsList = [];\n\n /**\n * Map of {@link XKTMetaObject}s within this XKTModel, each mapped to {@link XKTMetaObject#metaObjectId}.\n *\n * Created by {@link XKTModel#createMetaObject}.\n *\n * @type {{String:XKTMetaObject}}\n */\n this.metaObjects = {};\n\n /**\n * {@link XKTMetaObject}s within this XKTModel.\n *\n * Each XKTMetaObject holds its position in this list in {@link XKTMetaObject#metaObjectIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTMetaObject[]}\n */\n this.metaObjectsList = [];\n\n /**\n * The positions of all shared {@link XKTGeometry}s are de-quantized using this singular\n * de-quantization matrix.\n *\n * This de-quantization matrix is generated from the collective Local-space boundary of the\n * positions of all shared {@link XKTGeometry}s.\n *\n * @type {Float32Array}\n */\n this.reusedGeometriesDecodeMatrix = new Float32Array(16);\n\n /**\n * Map of {@link XKTGeometry}s within this XKTModel, each mapped to {@link XKTGeometry#geometryId}.\n *\n * Created by {@link XKTModel#createGeometry}.\n *\n * @type {{Number:XKTGeometry}}\n */\n this.geometries = {};\n\n /**\n * List of {@link XKTGeometry}s within this XKTModel, in the order they were created.\n *\n * Each XKTGeometry holds its position in this list in {@link XKTGeometry#geometryIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTGeometry[]}\n */\n this.geometriesList = [];\n\n /**\n * Map of {@link XKTTexture}s within this XKTModel, each mapped to {@link XKTTexture#textureId}.\n *\n * Created by {@link XKTModel#createTexture}.\n *\n * @type {{Number:XKTTexture}}\n */\n this.textures = {};\n\n /**\n * List of {@link XKTTexture}s within this XKTModel, in the order they were created.\n *\n * Each XKTTexture holds its position in this list in {@link XKTTexture#textureIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTexture[]}\n */\n this.texturesList = [];\n\n /**\n * Map of {@link XKTTextureSet}s within this XKTModel, each mapped to {@link XKTTextureSet#textureSetId}.\n *\n * Created by {@link XKTModel#createTextureSet}.\n *\n * @type {{Number:XKTTextureSet}}\n */\n this.textureSets = {};\n\n /**\n * List of {@link XKTTextureSet}s within this XKTModel, in the order they were created.\n *\n * Each XKTTextureSet holds its position in this list in {@link XKTTextureSet#textureSetIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTextureSet[]}\n */\n this.textureSetsList = [];\n\n /**\n * Map of {@link XKTMesh}s within this XKTModel, each mapped to {@link XKTMesh#meshId}.\n *\n * Created by {@link XKTModel#createMesh}.\n *\n * @type {{Number:XKTMesh}}\n */\n this.meshes = {};\n\n /**\n * List of {@link XKTMesh}s within this XKTModel, in the order they were created.\n *\n * Each XKTMesh holds its position in this list in {@link XKTMesh#meshIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTMesh[]}\n */\n this.meshesList = [];\n\n /**\n * Map of {@link XKTEntity}s within this XKTModel, each mapped to {@link XKTEntity#entityId}.\n *\n * Created by {@link XKTModel#createEntity}.\n *\n * @type {{String:XKTEntity}}\n */\n this.entities = {};\n\n /**\n * {@link XKTEntity}s within this XKTModel.\n *\n * Each XKTEntity holds its position in this list in {@link XKTEntity#entityIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTEntity[]}\n */\n this.entitiesList = [];\n\n /**\n * {@link XKTTile}s within this XKTModel.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTile[]}\n */\n this.tilesList = [];\n\n /**\n * The axis-aligned 3D World-space boundary of this XKTModel.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {Float64Array}\n */\n this.aabb = math.AABB3();\n\n /**\n * Indicates if this XKTModel has been finalized.\n *\n * Set ````true```` by {@link XKTModel#finalize}.\n *\n * @type {boolean}\n */\n this.finalized = false;\n }\n\n /**\n * Creates an {@link XKTPropertySet} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.propertySetId Unique ID for the {@link XKTPropertySet}.\n * @param {String} [params.propertySetType=\"default\"] A meta type for the {@link XKTPropertySet}.\n * @param {String} [params.propertySetName] Human-readable name for the {@link XKTPropertySet}. Defaults to the ````propertySetId```` parameter.\n * @param {String[]} params.properties Properties for the {@link XKTPropertySet}.\n * @returns {XKTPropertySet} The new {@link XKTPropertySet}.\n */\n createPropertySet(params) {\n\n if (!params) {\n throw \"Parameters expected: params\";\n }\n\n if (params.propertySetId === null || params.propertySetId === undefined) {\n throw \"Parameter expected: params.propertySetId\";\n }\n\n if (params.properties === null || params.properties === undefined) {\n throw \"Parameter expected: params.properties\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more property sets\");\n return;\n }\n\n if (this.propertySets[params.propertySetId]) {\n // console.error(\"XKTPropertySet already exists with this ID: \" + params.propertySetId);\n return;\n }\n\n const propertySetId = params.propertySetId;\n const propertySetType = params.propertySetType || \"Default\";\n const propertySetName = params.propertySetName || params.propertySetId;\n const properties = params.properties || [];\n\n const propertySet = new XKTPropertySet(propertySetId, propertySetType, propertySetName, properties);\n\n this.propertySets[propertySetId] = propertySet;\n this.propertySetsList.push(propertySet);\n\n return propertySet;\n }\n\n /**\n * Creates an {@link XKTMetaObject} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.metaObjectId Unique ID for the {@link XKTMetaObject}.\n * @param {String} params.propertySetIds ID of one or more property sets that contains additional metadata about\n * this {@link XKTMetaObject}. The property sets could be stored externally (ie not managed at all by the XKT file),\n * or could be {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n * @param {String} [params.metaObjectType=\"default\"] A meta type for the {@link XKTMetaObject}. Can be anything,\n * but is usually an IFC type, such as \"IfcSite\" or \"IfcWall\".\n * @param {String} [params.metaObjectName] Human-readable name for the {@link XKTMetaObject}. Defaults to the ````metaObjectId```` parameter.\n * @param {String} [params.parentMetaObjectId] ID of the parent {@link XKTMetaObject}, if any. Defaults to the ````metaObjectId```` parameter.\n * @returns {XKTMetaObject} The new {@link XKTMetaObject}.\n */\n createMetaObject(params) {\n\n if (!params) {\n throw \"Parameters expected: params\";\n }\n\n if (params.metaObjectId === null || params.metaObjectId === undefined) {\n throw \"Parameter expected: params.metaObjectId\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more meta objects\");\n return;\n }\n\n if (this.metaObjects[params.metaObjectId]) {\n // console.error(\"XKTMetaObject already exists with this ID: \" + params.metaObjectId);\n return;\n }\n\n const metaObjectId = params.metaObjectId;\n const propertySetIds = params.propertySetIds;\n const metaObjectType = params.metaObjectType || \"Default\";\n const metaObjectName = params.metaObjectName || params.metaObjectId;\n const parentMetaObjectId = params.parentMetaObjectId;\n\n const metaObject = new XKTMetaObject(metaObjectId, propertySetIds, metaObjectType, metaObjectName, parentMetaObjectId);\n\n this.metaObjects[metaObjectId] = metaObject;\n this.metaObjectsList.push(metaObject);\n\n if (!parentMetaObjectId) {\n if (!this._rootMetaObject) {\n this._rootMetaObject = metaObject;\n }\n }\n\n return metaObject;\n }\n\n /**\n * Creates an {@link XKTTexture} within this XKTModel.\n *\n * Registers the new {@link XKTTexture} in {@link XKTModel#textures} and {@link XKTModel#texturesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureId Unique ID for the {@link XKTTexture}.\n * @param {String} [params.src] Source of an image file for the texture.\n * @param {Buffer} [params.imageData] Image data for the texture.\n * @param {Number} [params.mediaType] Media type (ie. MIME type) of ````imageData````. Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n * @param {Number} [params.width] Texture width, used with ````imageData````. Ignored for compressed textures.\n * @param {Number} [params.height] Texture height, used with ````imageData````. Ignored for compressed textures.\n * @param {Boolean} [params.compressed=true] Whether to compress the texture.\n * @param {Number} [params.minFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers less than one pixel. Supported\n * values are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter}, {@link NearestMipMapNearestFilter},\n * {@link NearestMipMapLinearFilter} and {@link LinearMipMapLinearFilter}. Ignored for compressed textures.\n * @param {Number} [params.magFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}. Ignored for compressed textures.\n * @param {Number} [params.wrapS=RepeatWrapping] Wrap parameter for texture coordinate *S*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @param {Number} [params.wrapT=RepeatWrapping] Wrap parameter for texture coordinate *T*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * {@param {Number} [params.wrapR=RepeatWrapping] Wrap parameter for texture coordinate *R*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @returns {XKTTexture} The new {@link XKTTexture}.\n */\n createTexture(params) {\n\n if (!params) {\n throw \"Parameters expected: params\";\n }\n\n if (params.textureId === null || params.textureId === undefined) {\n throw \"Parameter expected: params.textureId\";\n }\n\n if (!params.imageData && !params.src) {\n throw \"Parameter expected: params.imageData or params.src\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more textures\");\n return;\n }\n\n if (this.textures[params.textureId]) {\n console.error(\"XKTTexture already exists with this ID: \" + params.textureId);\n return;\n }\n\n if (params.src) {\n const fileExt = params.src.split('.').pop();\n if (fileExt !== \"jpg\" && fileExt !== \"jpeg\" && fileExt !== \"png\") {\n console.error(`XKTModel does not support image files with extension '${fileExt}' - won't create texture '${params.textureId}`);\n return;\n }\n }\n\n const textureId = params.textureId;\n\n const texture = new XKTTexture({\n textureId,\n imageData: params.imageData,\n mediaType: params.mediaType,\n minFilter: params.minFilter,\n magFilter: params.magFilter,\n wrapS: params.wrapS,\n wrapT: params.wrapT,\n wrapR: params.wrapR,\n width: params.width,\n height: params.height,\n compressed: (params.compressed !== false),\n src: params.src\n });\n\n this.textures[textureId] = texture;\n this.texturesList.push(texture);\n\n return texture;\n }\n\n /**\n * Creates an {@link XKTTextureSet} within this XKTModel.\n *\n * Registers the new {@link XKTTextureSet} in {@link XKTModel#textureSets} and {@link XKTModel#.textureSetsList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureSetId Unique ID for the {@link XKTTextureSet}.\n * @param {*} [params.colorTextureId] ID of *RGBA* base color {@link XKTTexture}, with color in *RGB* and alpha in *A*.\n * @param {*} [params.metallicRoughnessTextureId] ID of *RGBA* metal-roughness {@link XKTTexture}, with the metallic factor in *R*, and roughness factor in *G*.\n * @param {*} [params.normalsTextureId] ID of *RGBA* normal {@link XKTTexture}, with normal map vectors in *RGB*.\n * @param {*} [params.emissiveTextureId] ID of *RGBA* emissive {@link XKTTexture}, with emissive color in *RGB*.\n * @param {*} [params.occlusionTextureId] ID of *RGBA* occlusion {@link XKTTexture}, with occlusion factor in *R*.\n * @returns {XKTTextureSet} The new {@link XKTTextureSet}.\n */\n createTextureSet(params) {\n\n if (!params) {\n throw \"Parameters expected: params\";\n }\n\n if (params.textureSetId === null || params.textureSetId === undefined) {\n throw \"Parameter expected: params.textureSetId\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more textureSets\");\n return;\n }\n\n if (this.textureSets[params.textureSetId]) {\n console.error(\"XKTTextureSet already exists with this ID: \" + params.textureSetId);\n return;\n }\n\n let colorTexture;\n if (params.colorTextureId !== undefined && params.colorTextureId !== null) {\n colorTexture = this.textures[params.colorTextureId];\n if (!colorTexture) {\n console.error(`Texture not found: ${params.colorTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n colorTexture.channel = COLOR_TEXTURE;\n }\n\n let metallicRoughnessTexture;\n if (params.metallicRoughnessTextureId !== undefined && params.metallicRoughnessTextureId !== null) {\n metallicRoughnessTexture = this.textures[params.metallicRoughnessTextureId];\n if (!metallicRoughnessTexture) {\n console.error(`Texture not found: ${params.metallicRoughnessTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n metallicRoughnessTexture.channel = METALLIC_ROUGHNESS_TEXTURE;\n }\n\n let normalsTexture;\n if (params.normalsTextureId !== undefined && params.normalsTextureId !== null) {\n normalsTexture = this.textures[params.normalsTextureId];\n if (!normalsTexture) {\n console.error(`Texture not found: ${params.normalsTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n normalsTexture.channel = NORMALS_TEXTURE;\n }\n\n let emissiveTexture;\n if (params.emissiveTextureId !== undefined && params.emissiveTextureId !== null) {\n emissiveTexture = this.textures[params.emissiveTextureId];\n if (!emissiveTexture) {\n console.error(`Texture not found: ${params.emissiveTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n emissiveTexture.channel = EMISSIVE_TEXTURE;\n }\n\n let occlusionTexture;\n if (params.occlusionTextureId !== undefined && params.occlusionTextureId !== null) {\n occlusionTexture = this.textures[params.occlusionTextureId];\n if (!occlusionTexture) {\n console.error(`Texture not found: ${params.occlusionTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n occlusionTexture.channel = OCCLUSION_TEXTURE;\n }\n\n const textureSet = new XKTTextureSet({\n textureSetId: params.textureSetId,\n textureSetIndex: this.textureSetsList.length,\n colorTexture,\n metallicRoughnessTexture,\n normalsTexture,\n emissiveTexture,\n occlusionTexture\n });\n\n this.textureSets[params.textureSetId] = textureSet;\n this.textureSetsList.push(textureSet);\n\n return textureSet;\n }\n\n /**\n * Creates an {@link XKTGeometry} within this XKTModel.\n *\n * Registers the new {@link XKTGeometry} in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.geometryId Unique ID for the {@link XKTGeometry}.\n * @param {String} params.primitiveType The type of {@link XKTGeometry}: \"triangles\", \"lines\" or \"points\".\n * @param {Float64Array} params.positions Floating-point Local-space vertex positions for the {@link XKTGeometry}. Required for all primitive types.\n * @param {Number[]} [params.normals] Floating-point vertex normals for the {@link XKTGeometry}. Only used with triangles primitives. Ignored for points and lines.\n * @param {Number[]} [params.colors] Floating-point RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.uvs] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uv````.\n * @param {Number[]} [params.uv] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uvs````.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Uint32Array} [params.indices] Indices for the {@link XKTGeometry}. Required for triangles and lines primitives. Ignored for points.\n * @param {Number} [params.edgeThreshold=10]\n * @returns {XKTGeometry} The new {@link XKTGeometry}.\n */\n createGeometry(params) {\n\n if (!params) {\n throw \"Parameters expected: params\";\n }\n\n if (params.geometryId === null || params.geometryId === undefined) {\n throw \"Parameter expected: params.geometryId\";\n }\n\n if (!params.primitiveType) {\n throw \"Parameter expected: params.primitiveType\";\n }\n\n if (!params.positions) {\n throw \"Parameter expected: params.positions\";\n }\n\n const triangles = params.primitiveType === \"triangles\";\n const points = params.primitiveType === \"points\";\n const lines = params.primitiveType === \"lines\";\n const line_strip = params.primitiveType === \"line-strip\";\n const line_loop = params.primitiveType === \"line-loop\";\n const triangle_strip = params.primitiveType === \"triangle-strip\";\n const triangle_fan = params.primitiveType === \"triangle-fan\";\n\n if (!triangles && !points && !lines && !line_strip && !line_loop) {\n throw \"Unsupported value for params.primitiveType: \"\n + params.primitiveType\n + \"' - supported values are 'triangles', 'points', 'lines', 'line-strip', 'triangle-strip' and 'triangle-fan\";\n }\n\n if (triangles) {\n if (!params.indices) {\n params.indices = this._createDefaultIndices()\n throw \"Parameter expected for 'triangles' primitive: params.indices\";\n }\n }\n\n if (points) {\n if (!params.colors && !params.colorsCompressed) {\n throw \"Parameter expected for 'points' primitive: params.colors or params.colorsCompressed\";\n }\n }\n\n if (lines) {\n if (!params.indices) {\n throw \"Parameter expected for 'lines' primitive: params.indices\";\n }\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more geometries\");\n return;\n }\n\n if (this.geometries[params.geometryId]) {\n console.error(\"XKTGeometry already exists with this ID: \" + params.geometryId);\n return;\n }\n\n const geometryId = params.geometryId;\n const primitiveType = params.primitiveType;\n const positions = new Float64Array(params.positions); // May modify in #finalize\n\n const xktGeometryCfg = {\n geometryId: geometryId,\n geometryIndex: this.geometriesList.length,\n primitiveType: primitiveType,\n positions: positions,\n uvs: params.uvs || params.uv\n }\n\n if (triangles) {\n if (params.normals) {\n xktGeometryCfg.normals = new Float32Array(params.normals);\n }\n if (params.indices) {\n xktGeometryCfg.indices = params.indices;\n } else {\n xktGeometryCfg.indices = this._createDefaultIndices(positions.length / 3);\n }\n }\n\n if (points) {\n if (params.colorsCompressed) {\n xktGeometryCfg.colorsCompressed = new Uint8Array(params.colorsCompressed);\n\n } else {\n const colors = params.colors;\n const colorsCompressed = new Uint8Array(colors.length);\n for (let i = 0, len = colors.length; i < len; i++) {\n colorsCompressed[i] = Math.floor(colors[i] * 255);\n }\n xktGeometryCfg.colorsCompressed = colorsCompressed;\n }\n }\n\n if (lines) {\n xktGeometryCfg.indices = params.indices;\n }\n\n if (triangles) {\n\n if (!params.normals && !params.uv && !params.uvs) {\n\n // Building models often duplicate positions to allow face-aligned vertex normals; when we're not\n // providing normals for a geometry, it becomes possible to merge duplicate vertex positions within it.\n\n // TODO: Make vertex merging also merge normals?\n\n const mergedPositions = [];\n const mergedIndices = [];\n mergeVertices(xktGeometryCfg.positions, xktGeometryCfg.indices, mergedPositions, mergedIndices);\n xktGeometryCfg.positions = new Float64Array(mergedPositions);\n xktGeometryCfg.indices = mergedIndices;\n }\n\n xktGeometryCfg.edgeIndices = buildEdgeIndices(xktGeometryCfg.positions, xktGeometryCfg.indices, null, params.edgeThreshold || this.edgeThreshold || 10);\n }\n\n const geometry = new XKTGeometry(xktGeometryCfg);\n\n this.geometries[geometryId] = geometry;\n this.geometriesList.push(geometry);\n\n return geometry;\n }\n\n _createDefaultIndices(numIndices) {\n const indices = [];\n for (let i = 0; i < numIndices; i++) {\n indices.push(i);\n }\n return indices;\n }\n\n /**\n * Creates an {@link XKTMesh} within this XKTModel.\n *\n * An {@link XKTMesh} can be owned by one {@link XKTEntity}, which can own multiple {@link XKTMesh}es.\n *\n * Registers the new {@link XKTMesh} in {@link XKTModel#meshes} and {@link XKTModel#meshesList}.\n *\n * @param {*} params Method parameters.\n * @param {Number} params.meshId Unique ID for the {@link XKTMesh}.\n * @param {Number} params.geometryId ID of an existing {@link XKTGeometry} in {@link XKTModel#geometries}.\n * @param {Number} [params.textureSetId] Unique ID of an {@link XKTTextureSet} in {@link XKTModel#textureSets}.\n * @param {Float32Array} params.color RGB color for the {@link XKTMesh}, with each color component in range [0..1].\n * @param {Number} [params.metallic=0] How metallic the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully dielectric material, while ````1```` indicates fully metallic.\n * @param {Number} [params.roughness=1] How rough the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully smooth, while ````1```` indicates fully rough.\n * @param {Number} params.opacity Opacity factor for the {@link XKTMesh}, in range [0..1].\n * @param {Float64Array} [params.matrix] Modeling matrix for the {@link XKTMesh}. Overrides ````position````, ````scale```` and ````rotation```` parameters.\n * @param {Number[]} [params.position=[0,0,0]] Position of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.scale=[1,1,1]] Scale of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.rotation=[0,0,0]] Rotation of the {@link XKTMesh} as Euler angles given in degrees, for each of the X, Y and Z axis. Overridden by the ````matrix```` parameter.\n * @returns {XKTMesh} The new {@link XKTMesh}.\n */\n createMesh(params) {\n\n if (params.meshId === null || params.meshId === undefined) {\n throw \"Parameter expected: params.meshId\";\n }\n\n if (params.geometryId === null || params.geometryId === undefined) {\n throw \"Parameter expected: params.geometryId\";\n }\n\n if (this.finalized) {\n throw \"XKTModel has been finalized, can't add more meshes\";\n }\n\n if (this.meshes[params.meshId]) {\n console.error(\"XKTMesh already exists with this ID: \" + params.meshId);\n return;\n }\n\n const geometry = this.geometries[params.geometryId];\n\n if (!geometry) {\n console.error(\"XKTGeometry not found: \" + params.geometryId);\n return;\n }\n\n geometry.numInstances++;\n\n let textureSet = null;\n if (params.textureSetId) {\n textureSet = this.textureSets[params.textureSetId];\n if (!textureSet) {\n console.error(\"XKTTextureSet not found: \" + params.textureSetId);\n return;\n }\n textureSet.numInstances++;\n }\n\n let matrix = params.matrix;\n\n if (!matrix) {\n\n const position = params.position;\n const scale = params.scale;\n const rotation = params.rotation;\n\n if (position || scale || rotation) {\n matrix = math.identityMat4();\n const quaternion = math.eulerToQuaternion(rotation || [0, 0, 0], \"XYZ\", math.identityQuaternion());\n math.composeMat4(position || [0, 0, 0], quaternion, scale || [1, 1, 1], matrix)\n\n } else {\n matrix = math.identityMat4();\n }\n }\n\n const meshIndex = this.meshesList.length;\n\n const mesh = new XKTMesh({\n meshId: params.meshId,\n meshIndex,\n matrix,\n geometry,\n color: params.color,\n metallic: params.metallic,\n roughness: params.roughness,\n opacity: params.opacity,\n textureSet\n });\n\n this.meshes[mesh.meshId] = mesh;\n this.meshesList.push(mesh);\n\n return mesh;\n }\n\n /**\n * Creates an {@link XKTEntity} within this XKTModel.\n *\n * Registers the new {@link XKTEntity} in {@link XKTModel#entities} and {@link XKTModel#entitiesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.entityId Unique ID for the {@link XKTEntity}.\n * @param {String[]} params.meshIds IDs of {@link XKTMesh}es used by the {@link XKTEntity}. Note that each {@link XKTMesh} can only be used by one {@link XKTEntity}.\n * @returns {XKTEntity} The new {@link XKTEntity}.\n */\n createEntity(params) {\n\n if (!params) {\n throw \"Parameters expected: params\";\n }\n\n if (params.entityId === null || params.entityId === undefined) {\n throw \"Parameter expected: params.entityId\";\n }\n\n if (!params.meshIds) {\n throw \"Parameter expected: params.meshIds\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more entities\");\n return;\n }\n\n if (params.meshIds.length === 0) {\n console.warn(\"XKTEntity has no meshes - won't create: \" + params.entityId);\n return;\n }\n\n let entityId = params.entityId;\n\n if (this.entities[entityId]) {\n while (this.entities[entityId]) {\n entityId = math.createUUID();\n }\n console.error(\"XKTEntity already exists with this ID: \" + params.entityId + \" - substituting random ID instead: \" + entityId);\n }\n\n const meshIds = params.meshIds;\n const meshes = [];\n\n for (let meshIdIdx = 0, meshIdLen = meshIds.length; meshIdIdx < meshIdLen; meshIdIdx++) {\n\n const meshId = meshIds[meshIdIdx];\n const mesh = this.meshes[meshId];\n\n if (!mesh) {\n console.error(\"XKTMesh found: \" + meshId);\n continue;\n }\n\n if (mesh.entity) {\n console.error(\"XKTMesh \" + meshId + \" already used by XKTEntity \" + mesh.entity.entityId);\n continue;\n }\n\n meshes.push(mesh);\n }\n\n const entity = new XKTEntity(entityId, meshes);\n\n for (let i = 0, len = meshes.length; i < len; i++) {\n const mesh = meshes[i];\n mesh.entity = entity;\n }\n\n this.entities[entityId] = entity;\n this.entitiesList.push(entity);\n\n return entity;\n }\n\n /**\n * Creates a default {@link XKTMetaObject} for each {@link XKTEntity} that does not already have one.\n */\n createDefaultMetaObjects() {\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n\n const entity = this.entitiesList[i];\n const metaObjectId = entity.entityId;\n const metaObject = this.metaObjects[metaObjectId];\n\n if (!metaObject) {\n\n if (!this._rootMetaObject) {\n this._rootMetaObject = this.createMetaObject({\n metaObjectId: this.modelId,\n metaObjectType: \"Default\",\n metaObjectName: this.modelId\n });\n }\n\n this.createMetaObject({\n metaObjectId: metaObjectId,\n metaObjectType: \"Default\",\n metaObjectName: \"\" + metaObjectId,\n parentMetaObjectId: this._rootMetaObject.metaObjectId\n });\n }\n }\n }\n\n /**\n * Finalizes this XKTModel.\n *\n * After finalizing, we may then serialize the model to an array buffer using {@link writeXKTModelToArrayBuffer}.\n *\n * Logs error and does nothing if this XKTModel has already been finalized.\n *\n * Internally, this method:\n *\n * * for each {@link XKTEntity} that doesn't already have a {@link XKTMetaObject}, creates one with {@link XKTMetaObject#metaObjectType} set to \"default\"\n * * sets each {@link XKTEntity}'s {@link XKTEntity#hasReusedGeometries} true if it shares its {@link XKTGeometry}s with other {@link XKTEntity}s,\n * * creates each {@link XKTEntity}'s {@link XKTEntity#aabb},\n * * creates {@link XKTTile}s in {@link XKTModel#tilesList}, and\n * * sets {@link XKTModel#finalized} ````true````.\n */\n async finalize() {\n\n if (this.finalized) {\n console.log(\"XKTModel already finalized\");\n return;\n }\n\n this._removeUnusedTextures();\n\n await this._compressTextures();\n\n this._bakeSingleUseGeometryPositions();\n\n this._bakeAndOctEncodeNormals();\n\n this._createEntityAABBs();\n\n const rootKDNode = this._createKDTree();\n\n this.entitiesList = [];\n\n this._createTilesFromKDTree(rootKDNode);\n\n this._createReusedGeometriesDecodeMatrix();\n\n this._flagSolidGeometries();\n\n this.aabb.set(rootKDNode.aabb);\n\n this.finalized = true;\n }\n\n _removeUnusedTextures() {\n let texturesList = [];\n const textures = {};\n for (let i = 0, leni = this.texturesList.length; i < leni; i++) {\n const texture = this.texturesList[i];\n if (texture.channel !== null) {\n texture.textureIndex = texturesList.length;\n texturesList.push(texture);\n textures[texture.textureId] = texture;\n }\n }\n this.texturesList = texturesList;\n this.textures = textures;\n }\n\n _compressTextures() {\n let countTextures = this.texturesList.length;\n return new Promise((resolve) => {\n if (countTextures === 0) {\n resolve();\n return;\n }\n for (let i = 0, leni = this.texturesList.length; i < leni; i++) {\n const texture = this.texturesList[i];\n const encodingOptions = TEXTURE_ENCODING_OPTIONS[texture.channel] || {};\n\n if (texture.src) {\n\n // XKTTexture created with XKTModel#createTexture({ src: ... })\n\n const src = texture.src;\n const fileExt = src.split('.').pop();\n switch (fileExt) {\n case \"jpeg\":\n case \"jpg\":\n case \"png\":\n load(src, ImageLoader, {\n image: {\n type: \"data\"\n }\n }).then((imageData) => {\n if (texture.compressed) {\n encode(imageData, KTX2BasisWriter, encodingOptions).then((encodedData) => {\n const encodedImageData = new Uint8Array(encodedData);\n texture.imageData = encodedImageData;\n if (--countTextures <= 0) {\n resolve();\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to encode image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n } else {\n texture.imageData = new Uint8Array(1);\n if (--countTextures <= 0) {\n resolve();\n }\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to load image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n break;\n default:\n if (--countTextures <= 0) {\n resolve();\n }\n break;\n }\n }\n\n if (texture.imageData) {\n\n // XKTTexture created with XKTModel#createTexture({ imageData: ... })\n\n if (texture.compressed) {\n encode(texture.imageData, KTX2BasisWriter, encodingOptions)\n .then((encodedImageData) => {\n texture.imageData = new Uint8Array(encodedImageData);\n if (--countTextures <= 0) {\n resolve();\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to encode image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n } else {\n texture.imageData = new Uint8Array(1);\n if (--countTextures <= 0) {\n resolve();\n }\n }\n }\n }\n });\n }\n\n _bakeSingleUseGeometryPositions() {\n\n for (let j = 0, lenj = this.meshesList.length; j < lenj; j++) {\n\n const mesh = this.meshesList[j];\n\n const geometry = mesh.geometry;\n\n if (geometry.numInstances === 1) {\n\n const matrix = mesh.matrix;\n\n if (matrix && (!math.isIdentityMat4(matrix))) {\n\n const positions = geometry.positions;\n\n for (let i = 0, len = positions.length; i < len; i += 3) {\n\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n tempVec4a[3] = 1;\n\n math.transformPoint4(matrix, tempVec4a, tempVec4b);\n\n positions[i + 0] = tempVec4b[0];\n positions[i + 1] = tempVec4b[1];\n positions[i + 2] = tempVec4b[2];\n }\n }\n }\n }\n }\n\n _bakeAndOctEncodeNormals() {\n\n for (let i = 0, len = this.meshesList.length; i < len; i++) {\n\n const mesh = this.meshesList[i];\n const geometry = mesh.geometry;\n\n if (geometry.normals && !geometry.normalsOctEncoded) {\n\n geometry.normalsOctEncoded = new Int8Array(geometry.normals.length);\n\n if (geometry.numInstances > 1) {\n geometryCompression.octEncodeNormals(geometry.normals, geometry.normals.length, geometry.normalsOctEncoded, 0);\n\n } else {\n const modelNormalMatrix = math.inverseMat4(math.transposeMat4(mesh.matrix, tempMat4), tempMat4b);\n geometryCompression.transformAndOctEncodeNormals(modelNormalMatrix, geometry.normals, geometry.normals.length, geometry.normalsOctEncoded, 0);\n }\n }\n }\n }\n\n _createEntityAABBs() {\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n\n const entity = this.entitiesList[i];\n const entityAABB = entity.aabb;\n const meshes = entity.meshes;\n\n math.collapseAABB3(entityAABB);\n\n for (let j = 0, lenj = meshes.length; j < lenj; j++) {\n\n const mesh = meshes[j];\n const geometry = mesh.geometry;\n const matrix = mesh.matrix;\n\n if (geometry.numInstances > 1) {\n\n const positions = geometry.positions;\n for (let i = 0, len = positions.length; i < len; i += 3) {\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n tempVec4a[3] = 1;\n math.transformPoint4(matrix, tempVec4a, tempVec4b);\n math.expandAABB3Point3(entityAABB, tempVec4b);\n }\n\n } else {\n\n const positions = geometry.positions;\n for (let i = 0, len = positions.length; i < len; i += 3) {\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n math.expandAABB3Point3(entityAABB, tempVec4a);\n }\n }\n }\n }\n }\n\n _createKDTree() {\n\n let aabb;\n if (this.modelAABB) {\n aabb = this.modelAABB; // Pre-known uber AABB\n } else {\n aabb = math.collapseAABB3();\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n const entity = this.entitiesList[i];\n math.expandAABB3(aabb, entity.aabb);\n }\n }\n\n const rootKDNode = new KDNode(aabb);\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n const entity = this.entitiesList[i];\n this._insertEntityIntoKDTree(rootKDNode, entity);\n }\n\n return rootKDNode;\n }\n\n _insertEntityIntoKDTree(kdNode, entity) {\n\n const nodeAABB = kdNode.aabb;\n const entityAABB = entity.aabb;\n\n const nodeAABBDiag = math.getAABB3Diag(nodeAABB);\n\n if (nodeAABBDiag < this.minTileSize) {\n kdNode.entities = kdNode.entities || [];\n kdNode.entities.push(entity);\n math.expandAABB3(nodeAABB, entityAABB);\n return;\n }\n\n if (kdNode.left) {\n if (math.containsAABB3(kdNode.left.aabb, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.left, entity);\n return;\n }\n }\n\n if (kdNode.right) {\n if (math.containsAABB3(kdNode.right.aabb, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.right, entity);\n return;\n }\n }\n\n kdTreeDimLength[0] = nodeAABB[3] - nodeAABB[0];\n kdTreeDimLength[1] = nodeAABB[4] - nodeAABB[1];\n kdTreeDimLength[2] = nodeAABB[5] - nodeAABB[2];\n\n let dim = 0;\n\n if (kdTreeDimLength[1] > kdTreeDimLength[dim]) {\n dim = 1;\n }\n\n if (kdTreeDimLength[2] > kdTreeDimLength[dim]) {\n dim = 2;\n }\n\n if (!kdNode.left) {\n const aabbLeft = nodeAABB.slice();\n aabbLeft[dim + 3] = ((nodeAABB[dim] + nodeAABB[dim + 3]) / 2.0);\n kdNode.left = new KDNode(aabbLeft);\n if (math.containsAABB3(aabbLeft, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.left, entity);\n return;\n }\n }\n\n if (!kdNode.right) {\n const aabbRight = nodeAABB.slice();\n aabbRight[dim] = ((nodeAABB[dim] + nodeAABB[dim + 3]) / 2.0);\n kdNode.right = new KDNode(aabbRight);\n if (math.containsAABB3(aabbRight, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.right, entity);\n return;\n }\n }\n\n kdNode.entities = kdNode.entities || [];\n kdNode.entities.push(entity);\n\n math.expandAABB3(nodeAABB, entityAABB);\n }\n\n _createTilesFromKDTree(rootKDNode) {\n this._createTilesFromKDNode(rootKDNode);\n }\n\n _createTilesFromKDNode(kdNode) {\n if (kdNode.entities && kdNode.entities.length > 0) {\n this._createTileFromEntities(kdNode);\n }\n if (kdNode.left) {\n this._createTilesFromKDNode(kdNode.left);\n }\n if (kdNode.right) {\n this._createTilesFromKDNode(kdNode.right);\n }\n }\n\n /**\n * Creates a tile from the given entities.\n *\n * For each single-use {@link XKTGeometry}, this method centers {@link XKTGeometry#positions} to make them relative to the\n * tile's center, then quantizes the positions to unsigned 16-bit integers, relative to the tile's boundary.\n *\n * @param kdNode\n */\n _createTileFromEntities(kdNode) {\n\n const tileAABB = kdNode.aabb;\n const entities = kdNode.entities;\n\n const tileCenter = math.getAABB3Center(tileAABB);\n const tileCenterNeg = math.mulVec3Scalar(tileCenter, -1, math.vec3());\n\n const rtcAABB = math.AABB3(); // AABB centered at the RTC origin\n\n rtcAABB[0] = tileAABB[0] - tileCenter[0];\n rtcAABB[1] = tileAABB[1] - tileCenter[1];\n rtcAABB[2] = tileAABB[2] - tileCenter[2];\n rtcAABB[3] = tileAABB[3] - tileCenter[0];\n rtcAABB[4] = tileAABB[4] - tileCenter[1];\n rtcAABB[5] = tileAABB[5] - tileCenter[2];\n\n for (let i = 0; i < entities.length; i++) {\n\n const entity = entities [i];\n\n const meshes = entity.meshes;\n\n for (let j = 0, lenj = meshes.length; j < lenj; j++) {\n\n const mesh = meshes[j];\n const geometry = mesh.geometry;\n\n if (!geometry.reused) { // Batched geometry\n\n const positions = geometry.positions;\n\n // Center positions relative to their tile's World-space center\n\n for (let k = 0, lenk = positions.length; k < lenk; k += 3) {\n\n positions[k + 0] -= tileCenter[0];\n positions[k + 1] -= tileCenter[1];\n positions[k + 2] -= tileCenter[2];\n }\n\n // Quantize positions relative to tile's RTC-space boundary\n\n geometryCompression.quantizePositions(positions, positions.length, rtcAABB, geometry.positionsQuantized);\n\n } else { // Instanced geometry\n\n // Post-multiply a translation to the mesh's modeling matrix\n // to center the entity's geometry instances to the tile RTC center\n\n //////////////////////////////\n // Why do we do this?\n // Seems to break various models\n /////////////////////////////////\n\n math.translateMat4v(tileCenterNeg, mesh.matrix);\n }\n }\n\n entity.entityIndex = this.entitiesList.length;\n\n this.entitiesList.push(entity);\n }\n\n const tile = new XKTTile(tileAABB, entities);\n\n this.tilesList.push(tile);\n }\n\n _createReusedGeometriesDecodeMatrix() {\n\n const tempVec3a = math.vec3();\n const reusedGeometriesAABB = math.collapseAABB3(math.AABB3());\n let countReusedGeometries = 0;\n\n for (let geometryIndex = 0, numGeometries = this.geometriesList.length; geometryIndex < numGeometries; geometryIndex++) {\n\n const geometry = this.geometriesList [geometryIndex];\n\n if (geometry.reused) { // Instanced geometry\n\n const positions = geometry.positions;\n\n for (let i = 0, len = positions.length; i < len; i += 3) {\n\n tempVec3a[0] = positions[i];\n tempVec3a[1] = positions[i + 1];\n tempVec3a[2] = positions[i + 2];\n\n math.expandAABB3Point3(reusedGeometriesAABB, tempVec3a);\n }\n\n countReusedGeometries++;\n }\n }\n\n if (countReusedGeometries > 0) {\n\n geometryCompression.createPositionsDecodeMatrix(reusedGeometriesAABB, this.reusedGeometriesDecodeMatrix);\n\n for (let geometryIndex = 0, numGeometries = this.geometriesList.length; geometryIndex < numGeometries; geometryIndex++) {\n\n const geometry = this.geometriesList [geometryIndex];\n\n if (geometry.reused) {\n geometryCompression.quantizePositions(geometry.positions, geometry.positions.length, reusedGeometriesAABB, geometry.positionsQuantized);\n }\n }\n\n } else {\n math.identityMat4(this.reusedGeometriesDecodeMatrix); // No need for this matrix, but we'll be tidy and set it to identity\n }\n }\n\n _flagSolidGeometries() {\n let maxNumPositions = 0;\n let maxNumIndices = 0;\n for (let i = 0, len = this.geometriesList.length; i < len; i++) {\n const geometry = this.geometriesList[i];\n if (geometry.primitiveType === \"triangles\") {\n if (geometry.positionsQuantized.length > maxNumPositions) {\n maxNumPositions = geometry.positionsQuantized.length;\n }\n if (geometry.indices.length > maxNumIndices) {\n maxNumIndices = geometry.indices.length;\n }\n }\n }\n let vertexIndexMapping = new Array(maxNumPositions / 3);\n let edges = new Array(maxNumIndices);\n for (let i = 0, len = this.geometriesList.length; i < len; i++) {\n const geometry = this.geometriesList[i];\n if (geometry.primitiveType === \"triangles\") {\n geometry.solid = isTriangleMeshSolid(geometry.indices, geometry.positionsQuantized, vertexIndexMapping, edges);\n }\n }\n }\n}\n\nexport {\n XKTModel\n}", + "content": "import {math} from \"../lib/math.js\";\nimport {geometryCompression} from \"./lib/geometryCompression.js\";\nimport {buildEdgeIndices} from \"./lib/buildEdgeIndices.js\";\nimport {isTriangleMeshSolid} from \"./lib/isTriangleMeshSolid.js\";\n\nimport {XKTMesh} from './XKTMesh.js';\nimport {XKTGeometry} from './XKTGeometry.js';\nimport {XKTEntity} from './XKTEntity.js';\nimport {XKTTile} from './XKTTile.js';\nimport {KDNode} from \"./KDNode.js\";\nimport {XKTMetaObject} from \"./XKTMetaObject.js\";\nimport {XKTPropertySet} from \"./XKTPropertySet.js\";\nimport {mergeVertices} from \"../lib/mergeVertices.js\";\nimport {XKT_INFO} from \"../XKT_INFO.js\";\nimport {XKTTexture} from \"./XKTTexture\";\nimport {XKTTextureSet} from \"./XKTTextureSet\";\nimport {encode, load} from \"@loaders.gl/core\";\nimport {KTX2BasisWriter} from \"@loaders.gl/textures\";\nimport {ImageLoader} from '@loaders.gl/images';\n\nconst tempVec4a = math.vec4([0, 0, 0, 1]);\nconst tempVec4b = math.vec4([0, 0, 0, 1]);\n\nconst tempMat4 = math.mat4();\nconst tempMat4b = math.mat4();\n\nconst kdTreeDimLength = new Float64Array(3);\n\n// XKT texture types\n\nconst COLOR_TEXTURE = 0;\nconst METALLIC_ROUGHNESS_TEXTURE = 1;\nconst NORMALS_TEXTURE = 2;\nconst EMISSIVE_TEXTURE = 3;\nconst OCCLUSION_TEXTURE = 4;\n\n// KTX2 encoding options for each texture type\n\nconst TEXTURE_ENCODING_OPTIONS = {}\nTEXTURE_ENCODING_OPTIONS[COLOR_TEXTURE] = {\n useSRGB: true,\n qualityLevel: 50,\n encodeUASTC: true,\n mipmaps: true\n};\nTEXTURE_ENCODING_OPTIONS[EMISSIVE_TEXTURE] = {\n useSRGB: true,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\nTEXTURE_ENCODING_OPTIONS[METALLIC_ROUGHNESS_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 50,\n mipmaps: true // Needed for GGX roughness shading\n};\nTEXTURE_ENCODING_OPTIONS[NORMALS_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\nTEXTURE_ENCODING_OPTIONS[OCCLUSION_TEXTURE] = {\n useSRGB: false,\n encodeUASTC: true,\n qualityLevel: 10,\n mipmaps: false\n};\n\n/**\n * A document model that represents the contents of an .XKT file.\n *\n * * An XKTModel contains {@link XKTTile}s, which spatially subdivide the model into axis-aligned, box-shaped regions.\n * * Each {@link XKTTile} contains {@link XKTEntity}s, which represent the objects within its region.\n * * Each {@link XKTEntity} has {@link XKTMesh}s, which each have a {@link XKTGeometry}. Each {@link XKTGeometry} can be shared by multiple {@link XKTMesh}s.\n * * Import models into an XKTModel using {@link parseGLTFJSONIntoXKTModel}, {@link parseIFCIntoXKTModel}, {@link parseCityJSONIntoXKTModel} etc.\n * * Build an XKTModel programmatically using {@link XKTModel#createGeometry}, {@link XKTModel#createMesh} and {@link XKTModel#createEntity}.\n * * Serialize an XKTModel to an ArrayBuffer using {@link writeXKTModelToArrayBuffer}.\n *\n * ## Usage\n *\n * See [main docs page](/docs/#javascript-api) for usage examples.\n *\n * @class XKTModel\n */\nclass XKTModel {\n\n /**\n * Constructs a new XKTModel.\n *\n * @param {*} [cfg] Configuration\n * @param {Number} [cfg.edgeThreshold=10]\n * @param {Number} [cfg.minTileSize=500]\n */\n constructor(cfg = {}) {\n\n /**\n * The model's ID, if available.\n *\n * Will be \"default\" by default.\n *\n * @type {String}\n */\n this.modelId = cfg.modelId || \"default\";\n\n /**\n * The project ID, if available.\n *\n * Will be an empty string by default.\n *\n * @type {String}\n */\n this.projectId = cfg.projectId || \"\";\n\n /**\n * The revision ID, if available.\n *\n * Will be an empty string by default.\n *\n * @type {String}\n */\n this.revisionId = cfg.revisionId || \"\";\n\n /**\n * The model author, if available.\n *\n * Will be an empty string by default.\n *\n * @property author\n * @type {String}\n */\n this.author = cfg.author || \"\";\n\n /**\n * The date the model was created, if available.\n *\n * Will be an empty string by default.\n *\n * @property createdAt\n * @type {String}\n */\n this.createdAt = cfg.createdAt || \"\";\n\n /**\n * The application that created the model, if available.\n *\n * Will be an empty string by default.\n *\n * @property creatingApplication\n * @type {String}\n */\n this.creatingApplication = cfg.creatingApplication || \"\";\n\n /**\n * The model schema version, if available.\n *\n * In the case of IFC, this could be \"IFC2x3\" or \"IFC4\", for example.\n *\n * Will be an empty string by default.\n *\n * @property schema\n * @type {String}\n */\n this.schema = cfg.schema || \"\";\n\n /**\n * The XKT format version.\n *\n * @property xktVersion;\n * @type {number}\n */\n this.xktVersion = XKT_INFO.xktVersion;\n\n /**\n *\n * @type {Number|number}\n */\n this.edgeThreshold = cfg.edgeThreshold || 10;\n\n /**\n * Minimum diagonal size of the boundary of an {@link XKTTile}.\n *\n * @type {Number|number}\n */\n this.minTileSize = cfg.minTileSize || 500;\n\n /**\n * Optional overall AABB that contains all the {@link XKTEntity}s we'll create in this model, if previously known.\n *\n * This is the AABB of a complete set of input files that are provided as a split-model set for conversion.\n *\n * This is used to help the {@link XKTTile.aabb}s within split models align neatly with each other, as we\n * build them with a k-d tree in {@link XKTModel#finalize}. Without this, the AABBs of the different parts\n * tend to misalign slightly, resulting in excess number of {@link XKTTile}s, which degrades memory and rendering\n * performance when the XKT is viewer in the xeokit Viewer.\n */\n this.modelAABB = cfg.modelAABB;\n\n /**\n * Map of {@link XKTPropertySet}s within this XKTModel, each mapped to {@link XKTPropertySet#propertySetId}.\n *\n * Created by {@link XKTModel#createPropertySet}.\n *\n * @type {{String:XKTPropertySet}}\n */\n this.propertySets = {};\n\n /**\n * {@link XKTPropertySet}s within this XKTModel.\n *\n * Each XKTPropertySet holds its position in this list in {@link XKTPropertySet#propertySetIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTPropertySet[]}\n */\n this.propertySetsList = [];\n\n /**\n * Map of {@link XKTMetaObject}s within this XKTModel, each mapped to {@link XKTMetaObject#metaObjectId}.\n *\n * Created by {@link XKTModel#createMetaObject}.\n *\n * @type {{String:XKTMetaObject}}\n */\n this.metaObjects = {};\n\n /**\n * {@link XKTMetaObject}s within this XKTModel.\n *\n * Each XKTMetaObject holds its position in this list in {@link XKTMetaObject#metaObjectIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTMetaObject[]}\n */\n this.metaObjectsList = [];\n\n /**\n * The positions of all shared {@link XKTGeometry}s are de-quantized using this singular\n * de-quantization matrix.\n *\n * This de-quantization matrix is generated from the collective Local-space boundary of the\n * positions of all shared {@link XKTGeometry}s.\n *\n * @type {Float32Array}\n */\n this.reusedGeometriesDecodeMatrix = new Float32Array(16);\n\n /**\n * Map of {@link XKTGeometry}s within this XKTModel, each mapped to {@link XKTGeometry#geometryId}.\n *\n * Created by {@link XKTModel#createGeometry}.\n *\n * @type {{Number:XKTGeometry}}\n */\n this.geometries = {};\n\n /**\n * List of {@link XKTGeometry}s within this XKTModel, in the order they were created.\n *\n * Each XKTGeometry holds its position in this list in {@link XKTGeometry#geometryIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTGeometry[]}\n */\n this.geometriesList = [];\n\n /**\n * Map of {@link XKTTexture}s within this XKTModel, each mapped to {@link XKTTexture#textureId}.\n *\n * Created by {@link XKTModel#createTexture}.\n *\n * @type {{Number:XKTTexture}}\n */\n this.textures = {};\n\n /**\n * List of {@link XKTTexture}s within this XKTModel, in the order they were created.\n *\n * Each XKTTexture holds its position in this list in {@link XKTTexture#textureIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTexture[]}\n */\n this.texturesList = [];\n\n /**\n * Map of {@link XKTTextureSet}s within this XKTModel, each mapped to {@link XKTTextureSet#textureSetId}.\n *\n * Created by {@link XKTModel#createTextureSet}.\n *\n * @type {{Number:XKTTextureSet}}\n */\n this.textureSets = {};\n\n /**\n * List of {@link XKTTextureSet}s within this XKTModel, in the order they were created.\n *\n * Each XKTTextureSet holds its position in this list in {@link XKTTextureSet#textureSetIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTextureSet[]}\n */\n this.textureSetsList = [];\n\n /**\n * Map of {@link XKTMesh}s within this XKTModel, each mapped to {@link XKTMesh#meshId}.\n *\n * Created by {@link XKTModel#createMesh}.\n *\n * @type {{Number:XKTMesh}}\n */\n this.meshes = {};\n\n /**\n * List of {@link XKTMesh}s within this XKTModel, in the order they were created.\n *\n * Each XKTMesh holds its position in this list in {@link XKTMesh#meshIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTMesh[]}\n */\n this.meshesList = [];\n\n /**\n * Map of {@link XKTEntity}s within this XKTModel, each mapped to {@link XKTEntity#entityId}.\n *\n * Created by {@link XKTModel#createEntity}.\n *\n * @type {{String:XKTEntity}}\n */\n this.entities = {};\n\n /**\n * {@link XKTEntity}s within this XKTModel.\n *\n * Each XKTEntity holds its position in this list in {@link XKTEntity#entityIndex}.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTEntity[]}\n */\n this.entitiesList = [];\n\n /**\n * {@link XKTTile}s within this XKTModel.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {XKTTile[]}\n */\n this.tilesList = [];\n\n /**\n * The axis-aligned 3D World-space boundary of this XKTModel.\n *\n * Created by {@link XKTModel#finalize}.\n *\n * @type {Float64Array}\n */\n this.aabb = math.AABB3();\n\n /**\n * Indicates if this XKTModel has been finalized.\n *\n * Set ````true```` by {@link XKTModel#finalize}.\n *\n * @type {boolean}\n */\n this.finalized = false;\n }\n\n /**\n * Creates an {@link XKTPropertySet} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.propertySetId Unique ID for the {@link XKTPropertySet}.\n * @param {String} [params.propertySetType=\"default\"] A meta type for the {@link XKTPropertySet}.\n * @param {String} [params.propertySetName] Human-readable name for the {@link XKTPropertySet}. Defaults to the ````propertySetId```` parameter.\n * @param {String[]} params.properties Properties for the {@link XKTPropertySet}.\n * @returns {XKTPropertySet} The new {@link XKTPropertySet}.\n */\n createPropertySet(params) {\n\n if (!params) {\n throw \"[XKTModel.createPropertySet] Parameters expected: params\";\n }\n\n if (params.propertySetId === null || params.propertySetId === undefined) {\n throw \"[XKTModel.createPropertySet] Parameter expected: params.propertySetId\";\n }\n\n if (params.properties === null || params.properties === undefined) {\n throw \"[XKTModel.createPropertySet] Parameter expected: params.properties\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more property sets\");\n return;\n }\n\n if (this.propertySets[params.propertySetId]) {\n // console.error(\"XKTPropertySet already exists with this ID: \" + params.propertySetId);\n return;\n }\n\n const propertySetId = params.propertySetId;\n const propertySetType = params.propertySetType || \"Default\";\n const propertySetName = params.propertySetName || params.propertySetId;\n const properties = params.properties || [];\n\n const propertySet = new XKTPropertySet(propertySetId, propertySetType, propertySetName, properties);\n\n this.propertySets[propertySetId] = propertySet;\n this.propertySetsList.push(propertySet);\n\n return propertySet;\n }\n\n /**\n * Creates an {@link XKTMetaObject} within this XKTModel.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.metaObjectId Unique ID for the {@link XKTMetaObject}.\n * @param {String} params.propertySetIds ID of one or more property sets that contains additional metadata about\n * this {@link XKTMetaObject}. The property sets could be stored externally (ie not managed at all by the XKT file),\n * or could be {@link XKTPropertySet}s within {@link XKTModel#propertySets}.\n * @param {String} [params.metaObjectType=\"default\"] A meta type for the {@link XKTMetaObject}. Can be anything,\n * but is usually an IFC type, such as \"IfcSite\" or \"IfcWall\".\n * @param {String} [params.metaObjectName] Human-readable name for the {@link XKTMetaObject}. Defaults to the ````metaObjectId```` parameter.\n * @param {String} [params.parentMetaObjectId] ID of the parent {@link XKTMetaObject}, if any. Defaults to the ````metaObjectId```` parameter.\n * @returns {XKTMetaObject} The new {@link XKTMetaObject}.\n */\n createMetaObject(params) {\n\n if (!params) {\n throw \"[XKTModel.createMetaObject] Parameters expected: params\";\n }\n\n if (params.metaObjectId === null || params.metaObjectId === undefined) {\n throw \"[XKTModel.createMetaObject] Parameter expected: params.metaObjectId\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more meta objects\");\n return;\n }\n\n if (this.metaObjects[params.metaObjectId]) {\n // console.error(\"XKTMetaObject already exists with this ID: \" + params.metaObjectId);\n return;\n }\n\n const metaObjectId = params.metaObjectId;\n const propertySetIds = params.propertySetIds;\n const metaObjectType = params.metaObjectType || \"Default\";\n const metaObjectName = params.metaObjectName || params.metaObjectId;\n const parentMetaObjectId = params.parentMetaObjectId;\n\n const metaObject = new XKTMetaObject(metaObjectId, propertySetIds, metaObjectType, metaObjectName, parentMetaObjectId);\n\n this.metaObjects[metaObjectId] = metaObject;\n this.metaObjectsList.push(metaObject);\n\n if (!parentMetaObjectId) {\n if (!this._rootMetaObject) {\n this._rootMetaObject = metaObject;\n }\n }\n\n return metaObject;\n }\n\n /**\n * Creates an {@link XKTTexture} within this XKTModel.\n *\n * Registers the new {@link XKTTexture} in {@link XKTModel#textures} and {@link XKTModel#texturesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureId Unique ID for the {@link XKTTexture}.\n * @param {String} [params.src] Source of an image file for the texture.\n * @param {Buffer} [params.imageData] Image data for the texture.\n * @param {Number} [params.mediaType] Media type (ie. MIME type) of ````imageData````. Supported values are {@link GIFMediaType}, {@link PNGMediaType} and {@link JPEGMediaType}.\n * @param {Number} [params.width] Texture width, used with ````imageData````. Ignored for compressed textures.\n * @param {Number} [params.height] Texture height, used with ````imageData````. Ignored for compressed textures.\n * @param {Boolean} [params.compressed=true] Whether to compress the texture.\n * @param {Number} [params.minFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers less than one pixel. Supported\n * values are {@link LinearMipmapLinearFilter}, {@link LinearMipMapNearestFilter}, {@link NearestMipMapNearestFilter},\n * {@link NearestMipMapLinearFilter} and {@link LinearMipMapLinearFilter}. Ignored for compressed textures.\n * @param {Number} [params.magFilter=LinearMipMapNearestFilter] How the texture is sampled when a texel covers more than one pixel. Supported values\n * are {@link LinearFilter} and {@link NearestFilter}. Ignored for compressed textures.\n * @param {Number} [params.wrapS=RepeatWrapping] Wrap parameter for texture coordinate *S*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @param {Number} [params.wrapT=RepeatWrapping] Wrap parameter for texture coordinate *T*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * {@param {Number} [params.wrapR=RepeatWrapping] Wrap parameter for texture coordinate *R*. Supported values are {@link ClampToEdgeWrapping},\n * {@link MirroredRepeatWrapping} and {@link RepeatWrapping}. Ignored for compressed textures.\n * @returns {XKTTexture} The new {@link XKTTexture}.\n */\n createTexture(params) {\n\n if (!params) {\n throw \"[XKTModel.createTexture] Parameters expected: params\";\n }\n\n if (params.textureId === null || params.textureId === undefined) {\n throw \"[XKTModel.createTexture] Parameter expected: params.textureId\";\n }\n\n if (!params.imageData && !params.src) {\n throw \"[XKTModel.createTexture] Parameter expected: params.imageData or params.src\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more textures\");\n return;\n }\n\n if (this.textures[params.textureId]) {\n console.error(\"XKTTexture already exists with this ID: \" + params.textureId);\n return;\n }\n\n if (params.src) {\n const fileExt = params.src.split('.').pop();\n if (fileExt !== \"jpg\" && fileExt !== \"jpeg\" && fileExt !== \"png\") {\n console.error(`XKTModel does not support image files with extension '${fileExt}' - won't create texture '${params.textureId}`);\n return;\n }\n }\n\n const textureId = params.textureId;\n\n const texture = new XKTTexture({\n textureId,\n imageData: params.imageData,\n mediaType: params.mediaType,\n minFilter: params.minFilter,\n magFilter: params.magFilter,\n wrapS: params.wrapS,\n wrapT: params.wrapT,\n wrapR: params.wrapR,\n width: params.width,\n height: params.height,\n compressed: (params.compressed !== false),\n src: params.src\n });\n\n this.textures[textureId] = texture;\n this.texturesList.push(texture);\n\n return texture;\n }\n\n /**\n * Creates an {@link XKTTextureSet} within this XKTModel.\n *\n * Registers the new {@link XKTTextureSet} in {@link XKTModel#textureSets} and {@link XKTModel#.textureSetsList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.textureSetId Unique ID for the {@link XKTTextureSet}.\n * @param {*} [params.colorTextureId] ID of *RGBA* base color {@link XKTTexture}, with color in *RGB* and alpha in *A*.\n * @param {*} [params.metallicRoughnessTextureId] ID of *RGBA* metal-roughness {@link XKTTexture}, with the metallic factor in *R*, and roughness factor in *G*.\n * @param {*} [params.normalsTextureId] ID of *RGBA* normal {@link XKTTexture}, with normal map vectors in *RGB*.\n * @param {*} [params.emissiveTextureId] ID of *RGBA* emissive {@link XKTTexture}, with emissive color in *RGB*.\n * @param {*} [params.occlusionTextureId] ID of *RGBA* occlusion {@link XKTTexture}, with occlusion factor in *R*.\n * @returns {XKTTextureSet} The new {@link XKTTextureSet}.\n */\n createTextureSet(params) {\n\n if (!params) {\n throw \"[XKTModel.createTextureSet] Parameters expected: params\";\n }\n\n if (params.textureSetId === null || params.textureSetId === undefined) {\n throw \"[XKTModel.createTextureSet] Parameter expected: params.textureSetId\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more textureSets\");\n return;\n }\n\n if (this.textureSets[params.textureSetId]) {\n console.error(\"XKTTextureSet already exists with this ID: \" + params.textureSetId);\n return;\n }\n\n let colorTexture;\n if (params.colorTextureId !== undefined && params.colorTextureId !== null) {\n colorTexture = this.textures[params.colorTextureId];\n if (!colorTexture) {\n console.error(`Texture not found: ${params.colorTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n colorTexture.channel = COLOR_TEXTURE;\n }\n\n let metallicRoughnessTexture;\n if (params.metallicRoughnessTextureId !== undefined && params.metallicRoughnessTextureId !== null) {\n metallicRoughnessTexture = this.textures[params.metallicRoughnessTextureId];\n if (!metallicRoughnessTexture) {\n console.error(`Texture not found: ${params.metallicRoughnessTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n metallicRoughnessTexture.channel = METALLIC_ROUGHNESS_TEXTURE;\n }\n\n let normalsTexture;\n if (params.normalsTextureId !== undefined && params.normalsTextureId !== null) {\n normalsTexture = this.textures[params.normalsTextureId];\n if (!normalsTexture) {\n console.error(`Texture not found: ${params.normalsTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n normalsTexture.channel = NORMALS_TEXTURE;\n }\n\n let emissiveTexture;\n if (params.emissiveTextureId !== undefined && params.emissiveTextureId !== null) {\n emissiveTexture = this.textures[params.emissiveTextureId];\n if (!emissiveTexture) {\n console.error(`Texture not found: ${params.emissiveTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n emissiveTexture.channel = EMISSIVE_TEXTURE;\n }\n\n let occlusionTexture;\n if (params.occlusionTextureId !== undefined && params.occlusionTextureId !== null) {\n occlusionTexture = this.textures[params.occlusionTextureId];\n if (!occlusionTexture) {\n console.error(`Texture not found: ${params.occlusionTextureId} - ensure that you create it first with createTexture()`);\n return;\n }\n occlusionTexture.channel = OCCLUSION_TEXTURE;\n }\n\n const textureSet = new XKTTextureSet({\n textureSetId: params.textureSetId,\n textureSetIndex: this.textureSetsList.length,\n colorTexture,\n metallicRoughnessTexture,\n normalsTexture,\n emissiveTexture,\n occlusionTexture\n });\n\n this.textureSets[params.textureSetId] = textureSet;\n this.textureSetsList.push(textureSet);\n\n return textureSet;\n }\n\n /**\n * Creates an {@link XKTGeometry} within this XKTModel.\n *\n * Registers the new {@link XKTGeometry} in {@link XKTModel#geometries} and {@link XKTModel#geometriesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {Number} params.geometryId Unique ID for the {@link XKTGeometry}.\n * @param {String} params.primitiveType The type of {@link XKTGeometry}: \"triangles\", \"lines\" or \"points\".\n * @param {Float64Array} params.positions Floating-point Local-space vertex positions for the {@link XKTGeometry}. Required for all primitive types.\n * @param {Number[]} [params.normals] Floating-point vertex normals for the {@link XKTGeometry}. Only used with triangles primitives. Ignored for points and lines.\n * @param {Number[]} [params.colors] Floating-point RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Number[]} [params.uvs] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uv````.\n * @param {Number[]} [params.uv] Floating-point vertex UV coordinates for the {@link XKTGeometry}. Alias for ````uvs````.\n * @param {Number[]} [params.colorsCompressed] Integer RGBA vertex colors for the {@link XKTGeometry}. Required for points primitives. Ignored for lines and triangles.\n * @param {Uint32Array} [params.indices] Indices for the {@link XKTGeometry}. Required for triangles and lines primitives. Ignored for points.\n * @param {Number} [params.edgeThreshold=10]\n * @returns {XKTGeometry} The new {@link XKTGeometry}.\n */\n createGeometry(params) {\n\n if (!params) {\n throw \"[XKTModel.createGeometry] Parameters expected: params\";\n }\n\n if (params.geometryId === null || params.geometryId === undefined) {\n throw \"[XKTModel.createGeometry] Parameter expected: params.geometryId\";\n }\n\n if (!params.primitiveType) {\n throw \"[XKTModel.createGeometry] Parameter expected: params.primitiveType\";\n }\n\n if (!params.positions) {\n throw \"[XKTModel.createGeometry] Parameter expected: params.positions\";\n }\n\n const triangles = params.primitiveType === \"triangles\";\n const points = params.primitiveType === \"points\";\n const lines = params.primitiveType === \"lines\";\n const line_strip = params.primitiveType === \"line-strip\";\n const line_loop = params.primitiveType === \"line-loop\";\n const triangle_strip = params.primitiveType === \"triangle-strip\";\n const triangle_fan = params.primitiveType === \"triangle-fan\";\n\n if (!triangles && !points && !lines && !line_strip && !line_loop) {\n throw \"[XKTModel.createGeometry] Unsupported value for params.primitiveType: \"\n + params.primitiveType\n + \"' - supported values are 'triangles', 'points', 'lines', 'line-strip', 'triangle-strip' and 'triangle-fan\";\n }\n\n if (triangles) {\n if (!params.indices) {\n params.indices = this._createDefaultIndices()\n throw \"[XKTModel.createGeometry] Parameter expected for 'triangles' primitive: params.indices\";\n }\n }\n\n if (points) {\n if (!params.colors && !params.colorsCompressed) {\n console.error(\"[XKTModel.createGeometry] Parameter expected for 'points' primitive: params.colors or params.colorsCompressed\");\n return;\n }\n }\n\n if (lines) {\n if (!params.indices) {\n throw \"[XKTModel.createGeometry] Parameter expected for 'lines' primitive: params.indices\";\n }\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more geometries\");\n return;\n }\n\n if (this.geometries[params.geometryId]) {\n console.error(\"XKTGeometry already exists with this ID: \" + params.geometryId);\n return;\n }\n\n const geometryId = params.geometryId;\n const primitiveType = params.primitiveType;\n const positions = new Float64Array(params.positions); // May modify in #finalize\n\n const xktGeometryCfg = {\n geometryId: geometryId,\n geometryIndex: this.geometriesList.length,\n primitiveType: primitiveType,\n positions: positions,\n uvs: params.uvs || params.uv\n }\n\n if (triangles) {\n if (params.normals) {\n xktGeometryCfg.normals = new Float32Array(params.normals);\n }\n if (params.indices) {\n xktGeometryCfg.indices = params.indices;\n } else {\n xktGeometryCfg.indices = this._createDefaultIndices(positions.length / 3);\n }\n }\n\n if (points) {\n if (params.colorsCompressed) {\n xktGeometryCfg.colorsCompressed = new Uint8Array(params.colorsCompressed);\n\n } else {\n const colors = params.colors;\n const colorsCompressed = new Uint8Array(colors.length);\n for (let i = 0, len = colors.length; i < len; i++) {\n colorsCompressed[i] = Math.floor(colors[i] * 255);\n }\n xktGeometryCfg.colorsCompressed = colorsCompressed;\n }\n }\n\n if (lines) {\n xktGeometryCfg.indices = params.indices;\n }\n\n if (triangles) {\n\n if (!params.normals && !params.uv && !params.uvs) {\n\n // Building models often duplicate positions to allow face-aligned vertex normals; when we're not\n // providing normals for a geometry, it becomes possible to merge duplicate vertex positions within it.\n\n // TODO: Make vertex merging also merge normals?\n\n const mergedPositions = [];\n const mergedIndices = [];\n mergeVertices(xktGeometryCfg.positions, xktGeometryCfg.indices, mergedPositions, mergedIndices);\n xktGeometryCfg.positions = new Float64Array(mergedPositions);\n xktGeometryCfg.indices = mergedIndices;\n }\n\n xktGeometryCfg.edgeIndices = buildEdgeIndices(xktGeometryCfg.positions, xktGeometryCfg.indices, null, params.edgeThreshold || this.edgeThreshold || 10);\n }\n\n const geometry = new XKTGeometry(xktGeometryCfg);\n\n this.geometries[geometryId] = geometry;\n this.geometriesList.push(geometry);\n\n return geometry;\n }\n\n _createDefaultIndices(numIndices) {\n const indices = [];\n for (let i = 0; i < numIndices; i++) {\n indices.push(i);\n }\n return indices;\n }\n\n /**\n * Creates an {@link XKTMesh} within this XKTModel.\n *\n * An {@link XKTMesh} can be owned by one {@link XKTEntity}, which can own multiple {@link XKTMesh}es.\n *\n * Registers the new {@link XKTMesh} in {@link XKTModel#meshes} and {@link XKTModel#meshesList}.\n *\n * @param {*} params Method parameters.\n * @param {Number} params.meshId Unique ID for the {@link XKTMesh}.\n * @param {Number} params.geometryId ID of an existing {@link XKTGeometry} in {@link XKTModel#geometries}.\n * @param {Number} [params.textureSetId] Unique ID of an {@link XKTTextureSet} in {@link XKTModel#textureSets}.\n * @param {Float32Array} params.color RGB color for the {@link XKTMesh}, with each color component in range [0..1].\n * @param {Number} [params.metallic=0] How metallic the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully dielectric material, while ````1```` indicates fully metallic.\n * @param {Number} [params.roughness=1] How rough the {@link XKTMesh} is, in range [0..1]. A value of ````0```` indicates fully smooth, while ````1```` indicates fully rough.\n * @param {Number} params.opacity Opacity factor for the {@link XKTMesh}, in range [0..1].\n * @param {Float64Array} [params.matrix] Modeling matrix for the {@link XKTMesh}. Overrides ````position````, ````scale```` and ````rotation```` parameters.\n * @param {Number[]} [params.position=[0,0,0]] Position of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.scale=[1,1,1]] Scale of the {@link XKTMesh}. Overridden by the ````matrix```` parameter.\n * @param {Number[]} [params.rotation=[0,0,0]] Rotation of the {@link XKTMesh} as Euler angles given in degrees, for each of the X, Y and Z axis. Overridden by the ````matrix```` parameter.\n * @returns {XKTMesh} The new {@link XKTMesh}.\n */\n createMesh(params) {\n\n if (params.meshId === null || params.meshId === undefined) {\n throw \"[XKTModel.createMesh] Parameter expected: params.meshId\";\n }\n\n if (params.geometryId === null || params.geometryId === undefined) {\n throw \"[XKTModel.createMesh] Parameter expected: params.geometryId\";\n }\n\n if (this.finalized) {\n throw \"[XKTModel.createMesh] XKTModel has been finalized, can't add more meshes\";\n }\n\n if (this.meshes[params.meshId]) {\n console.error(\"XKTMesh already exists with this ID: \" + params.meshId);\n return;\n }\n\n const geometry = this.geometries[params.geometryId];\n\n if (!geometry) {\n console.error(\"XKTGeometry not found: \" + params.geometryId);\n return;\n }\n\n geometry.numInstances++;\n\n let textureSet = null;\n if (params.textureSetId) {\n textureSet = this.textureSets[params.textureSetId];\n if (!textureSet) {\n console.error(\"XKTTextureSet not found: \" + params.textureSetId);\n return;\n }\n textureSet.numInstances++;\n }\n\n let matrix = params.matrix;\n\n if (!matrix) {\n\n const position = params.position;\n const scale = params.scale;\n const rotation = params.rotation;\n\n if (position || scale || rotation) {\n matrix = math.identityMat4();\n const quaternion = math.eulerToQuaternion(rotation || [0, 0, 0], \"XYZ\", math.identityQuaternion());\n math.composeMat4(position || [0, 0, 0], quaternion, scale || [1, 1, 1], matrix)\n\n } else {\n matrix = math.identityMat4();\n }\n }\n\n const meshIndex = this.meshesList.length;\n\n const mesh = new XKTMesh({\n meshId: params.meshId,\n meshIndex,\n matrix,\n geometry,\n color: params.color,\n metallic: params.metallic,\n roughness: params.roughness,\n opacity: params.opacity,\n textureSet\n });\n\n this.meshes[mesh.meshId] = mesh;\n this.meshesList.push(mesh);\n\n return mesh;\n }\n\n /**\n * Creates an {@link XKTEntity} within this XKTModel.\n *\n * Registers the new {@link XKTEntity} in {@link XKTModel#entities} and {@link XKTModel#entitiesList}.\n *\n * Logs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).\n *\n * @param {*} params Method parameters.\n * @param {String} params.entityId Unique ID for the {@link XKTEntity}.\n * @param {String[]} params.meshIds IDs of {@link XKTMesh}es used by the {@link XKTEntity}. Note that each {@link XKTMesh} can only be used by one {@link XKTEntity}.\n * @returns {XKTEntity} The new {@link XKTEntity}.\n */\n createEntity(params) {\n\n if (!params) {\n throw \"[XKTModel.createEntity] Parameters expected: params\";\n }\n\n if (params.entityId === null || params.entityId === undefined) {\n throw \"[XKTModel.createEntity] Parameter expected: params.entityId\";\n }\n\n if (!params.meshIds) {\n throw \"[XKTModel.createEntity] Parameter expected: params.meshIds\";\n }\n\n if (this.finalized) {\n console.error(\"XKTModel has been finalized, can't add more entities\");\n return;\n }\n\n if (params.meshIds.length === 0) {\n console.warn(\"XKTEntity has no meshes - won't create: \" + params.entityId);\n return;\n }\n\n let entityId = params.entityId;\n\n if (this.entities[entityId]) {\n while (this.entities[entityId]) {\n entityId = math.createUUID();\n }\n console.error(\"XKTEntity already exists with this ID: \" + params.entityId + \" - substituting random ID instead: \" + entityId);\n }\n\n const meshIds = params.meshIds;\n const meshes = [];\n\n for (let meshIdIdx = 0, meshIdLen = meshIds.length; meshIdIdx < meshIdLen; meshIdIdx++) {\n\n const meshId = meshIds[meshIdIdx];\n const mesh = this.meshes[meshId];\n\n if (!mesh) {\n console.error(\"XKTMesh found: \" + meshId);\n continue;\n }\n\n if (mesh.entity) {\n console.error(\"XKTMesh \" + meshId + \" already used by XKTEntity \" + mesh.entity.entityId);\n continue;\n }\n\n meshes.push(mesh);\n }\n\n const entity = new XKTEntity(entityId, meshes);\n\n for (let i = 0, len = meshes.length; i < len; i++) {\n const mesh = meshes[i];\n mesh.entity = entity;\n }\n\n this.entities[entityId] = entity;\n this.entitiesList.push(entity);\n\n return entity;\n }\n\n /**\n * Creates a default {@link XKTMetaObject} for each {@link XKTEntity} that does not already have one.\n */\n createDefaultMetaObjects() {\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n\n const entity = this.entitiesList[i];\n const metaObjectId = entity.entityId;\n const metaObject = this.metaObjects[metaObjectId];\n\n if (!metaObject) {\n\n if (!this._rootMetaObject) {\n this._rootMetaObject = this.createMetaObject({\n metaObjectId: this.modelId,\n metaObjectType: \"Default\",\n metaObjectName: this.modelId\n });\n }\n\n this.createMetaObject({\n metaObjectId: metaObjectId,\n metaObjectType: \"Default\",\n metaObjectName: \"\" + metaObjectId,\n parentMetaObjectId: this._rootMetaObject.metaObjectId\n });\n }\n }\n }\n\n /**\n * Finalizes this XKTModel.\n *\n * After finalizing, we may then serialize the model to an array buffer using {@link writeXKTModelToArrayBuffer}.\n *\n * Logs error and does nothing if this XKTModel has already been finalized.\n *\n * Internally, this method:\n *\n * * for each {@link XKTEntity} that doesn't already have a {@link XKTMetaObject}, creates one with {@link XKTMetaObject#metaObjectType} set to \"default\"\n * * sets each {@link XKTEntity}'s {@link XKTEntity#hasReusedGeometries} true if it shares its {@link XKTGeometry}s with other {@link XKTEntity}s,\n * * creates each {@link XKTEntity}'s {@link XKTEntity#aabb},\n * * creates {@link XKTTile}s in {@link XKTModel#tilesList}, and\n * * sets {@link XKTModel#finalized} ````true````.\n */\n async finalize() {\n\n if (this.finalized) {\n console.log(\"XKTModel already finalized\");\n return;\n }\n\n this._removeUnusedTextures();\n\n await this._compressTextures();\n\n this._bakeSingleUseGeometryPositions();\n\n this._bakeAndOctEncodeNormals();\n\n this._createEntityAABBs();\n\n const rootKDNode = this._createKDTree();\n\n this.entitiesList = [];\n\n this._createTilesFromKDTree(rootKDNode);\n\n this._createReusedGeometriesDecodeMatrix();\n\n this._flagSolidGeometries();\n\n this.aabb.set(rootKDNode.aabb);\n\n this.finalized = true;\n }\n\n _removeUnusedTextures() {\n let texturesList = [];\n const textures = {};\n for (let i = 0, leni = this.texturesList.length; i < leni; i++) {\n const texture = this.texturesList[i];\n if (texture.channel !== null) {\n texture.textureIndex = texturesList.length;\n texturesList.push(texture);\n textures[texture.textureId] = texture;\n }\n }\n this.texturesList = texturesList;\n this.textures = textures;\n }\n\n _compressTextures() {\n let countTextures = this.texturesList.length;\n return new Promise((resolve) => {\n if (countTextures === 0) {\n resolve();\n return;\n }\n for (let i = 0, leni = this.texturesList.length; i < leni; i++) {\n const texture = this.texturesList[i];\n const encodingOptions = TEXTURE_ENCODING_OPTIONS[texture.channel] || {};\n\n if (texture.src) {\n\n // XKTTexture created with XKTModel#createTexture({ src: ... })\n\n const src = texture.src;\n const fileExt = src.split('.').pop();\n switch (fileExt) {\n case \"jpeg\":\n case \"jpg\":\n case \"png\":\n load(src, ImageLoader, {\n image: {\n type: \"data\"\n }\n }).then((imageData) => {\n if (texture.compressed) {\n encode(imageData, KTX2BasisWriter, encodingOptions).then((encodedData) => {\n const encodedImageData = new Uint8Array(encodedData);\n texture.imageData = encodedImageData;\n if (--countTextures <= 0) {\n resolve();\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to encode image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n } else {\n texture.imageData = new Uint8Array(1);\n if (--countTextures <= 0) {\n resolve();\n }\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to load image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n break;\n default:\n if (--countTextures <= 0) {\n resolve();\n }\n break;\n }\n }\n\n if (texture.imageData) {\n\n // XKTTexture created with XKTModel#createTexture({ imageData: ... })\n\n if (texture.compressed) {\n encode(texture.imageData, KTX2BasisWriter, encodingOptions)\n .then((encodedImageData) => {\n texture.imageData = new Uint8Array(encodedImageData);\n if (--countTextures <= 0) {\n resolve();\n }\n }).catch((err) => {\n console.error(\"[XKTModel.finalize] Failed to encode image: \" + err);\n if (--countTextures <= 0) {\n resolve();\n }\n });\n } else {\n texture.imageData = new Uint8Array(1);\n if (--countTextures <= 0) {\n resolve();\n }\n }\n }\n }\n });\n }\n\n _bakeSingleUseGeometryPositions() {\n\n for (let j = 0, lenj = this.meshesList.length; j < lenj; j++) {\n\n const mesh = this.meshesList[j];\n\n const geometry = mesh.geometry;\n\n if (geometry.numInstances === 1) {\n\n const matrix = mesh.matrix;\n\n if (matrix && (!math.isIdentityMat4(matrix))) {\n\n const positions = geometry.positions;\n\n for (let i = 0, len = positions.length; i < len; i += 3) {\n\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n tempVec4a[3] = 1;\n\n math.transformPoint4(matrix, tempVec4a, tempVec4b);\n\n positions[i + 0] = tempVec4b[0];\n positions[i + 1] = tempVec4b[1];\n positions[i + 2] = tempVec4b[2];\n }\n }\n }\n }\n }\n\n _bakeAndOctEncodeNormals() {\n\n for (let i = 0, len = this.meshesList.length; i < len; i++) {\n\n const mesh = this.meshesList[i];\n const geometry = mesh.geometry;\n\n if (geometry.normals && !geometry.normalsOctEncoded) {\n\n geometry.normalsOctEncoded = new Int8Array(geometry.normals.length);\n\n if (geometry.numInstances > 1) {\n geometryCompression.octEncodeNormals(geometry.normals, geometry.normals.length, geometry.normalsOctEncoded, 0);\n\n } else {\n const modelNormalMatrix = math.inverseMat4(math.transposeMat4(mesh.matrix, tempMat4), tempMat4b);\n geometryCompression.transformAndOctEncodeNormals(modelNormalMatrix, geometry.normals, geometry.normals.length, geometry.normalsOctEncoded, 0);\n }\n }\n }\n }\n\n _createEntityAABBs() {\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n\n const entity = this.entitiesList[i];\n const entityAABB = entity.aabb;\n const meshes = entity.meshes;\n\n math.collapseAABB3(entityAABB);\n\n for (let j = 0, lenj = meshes.length; j < lenj; j++) {\n\n const mesh = meshes[j];\n const geometry = mesh.geometry;\n const matrix = mesh.matrix;\n\n if (geometry.numInstances > 1) {\n\n const positions = geometry.positions;\n for (let i = 0, len = positions.length; i < len; i += 3) {\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n tempVec4a[3] = 1;\n math.transformPoint4(matrix, tempVec4a, tempVec4b);\n math.expandAABB3Point3(entityAABB, tempVec4b);\n }\n\n } else {\n\n const positions = geometry.positions;\n for (let i = 0, len = positions.length; i < len; i += 3) {\n tempVec4a[0] = positions[i + 0];\n tempVec4a[1] = positions[i + 1];\n tempVec4a[2] = positions[i + 2];\n math.expandAABB3Point3(entityAABB, tempVec4a);\n }\n }\n }\n }\n }\n\n _createKDTree() {\n\n let aabb;\n if (this.modelAABB) {\n aabb = this.modelAABB; // Pre-known uber AABB\n } else {\n aabb = math.collapseAABB3();\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n const entity = this.entitiesList[i];\n math.expandAABB3(aabb, entity.aabb);\n }\n }\n\n const rootKDNode = new KDNode(aabb);\n\n for (let i = 0, len = this.entitiesList.length; i < len; i++) {\n const entity = this.entitiesList[i];\n this._insertEntityIntoKDTree(rootKDNode, entity);\n }\n\n return rootKDNode;\n }\n\n _insertEntityIntoKDTree(kdNode, entity) {\n\n const nodeAABB = kdNode.aabb;\n const entityAABB = entity.aabb;\n\n const nodeAABBDiag = math.getAABB3Diag(nodeAABB);\n\n if (nodeAABBDiag < this.minTileSize) {\n kdNode.entities = kdNode.entities || [];\n kdNode.entities.push(entity);\n math.expandAABB3(nodeAABB, entityAABB);\n return;\n }\n\n if (kdNode.left) {\n if (math.containsAABB3(kdNode.left.aabb, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.left, entity);\n return;\n }\n }\n\n if (kdNode.right) {\n if (math.containsAABB3(kdNode.right.aabb, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.right, entity);\n return;\n }\n }\n\n kdTreeDimLength[0] = nodeAABB[3] - nodeAABB[0];\n kdTreeDimLength[1] = nodeAABB[4] - nodeAABB[1];\n kdTreeDimLength[2] = nodeAABB[5] - nodeAABB[2];\n\n let dim = 0;\n\n if (kdTreeDimLength[1] > kdTreeDimLength[dim]) {\n dim = 1;\n }\n\n if (kdTreeDimLength[2] > kdTreeDimLength[dim]) {\n dim = 2;\n }\n\n if (!kdNode.left) {\n const aabbLeft = nodeAABB.slice();\n aabbLeft[dim + 3] = ((nodeAABB[dim] + nodeAABB[dim + 3]) / 2.0);\n kdNode.left = new KDNode(aabbLeft);\n if (math.containsAABB3(aabbLeft, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.left, entity);\n return;\n }\n }\n\n if (!kdNode.right) {\n const aabbRight = nodeAABB.slice();\n aabbRight[dim] = ((nodeAABB[dim] + nodeAABB[dim + 3]) / 2.0);\n kdNode.right = new KDNode(aabbRight);\n if (math.containsAABB3(aabbRight, entityAABB)) {\n this._insertEntityIntoKDTree(kdNode.right, entity);\n return;\n }\n }\n\n kdNode.entities = kdNode.entities || [];\n kdNode.entities.push(entity);\n\n math.expandAABB3(nodeAABB, entityAABB);\n }\n\n _createTilesFromKDTree(rootKDNode) {\n this._createTilesFromKDNode(rootKDNode);\n }\n\n _createTilesFromKDNode(kdNode) {\n if (kdNode.entities && kdNode.entities.length > 0) {\n this._createTileFromEntities(kdNode);\n }\n if (kdNode.left) {\n this._createTilesFromKDNode(kdNode.left);\n }\n if (kdNode.right) {\n this._createTilesFromKDNode(kdNode.right);\n }\n }\n\n /**\n * Creates a tile from the given entities.\n *\n * For each single-use {@link XKTGeometry}, this method centers {@link XKTGeometry#positions} to make them relative to the\n * tile's center, then quantizes the positions to unsigned 16-bit integers, relative to the tile's boundary.\n *\n * @param kdNode\n */\n _createTileFromEntities(kdNode) {\n\n const tileAABB = kdNode.aabb;\n const entities = kdNode.entities;\n\n const tileCenter = math.getAABB3Center(tileAABB);\n const tileCenterNeg = math.mulVec3Scalar(tileCenter, -1, math.vec3());\n\n const rtcAABB = math.AABB3(); // AABB centered at the RTC origin\n\n rtcAABB[0] = tileAABB[0] - tileCenter[0];\n rtcAABB[1] = tileAABB[1] - tileCenter[1];\n rtcAABB[2] = tileAABB[2] - tileCenter[2];\n rtcAABB[3] = tileAABB[3] - tileCenter[0];\n rtcAABB[4] = tileAABB[4] - tileCenter[1];\n rtcAABB[5] = tileAABB[5] - tileCenter[2];\n\n for (let i = 0; i < entities.length; i++) {\n\n const entity = entities [i];\n\n const meshes = entity.meshes;\n\n for (let j = 0, lenj = meshes.length; j < lenj; j++) {\n\n const mesh = meshes[j];\n const geometry = mesh.geometry;\n\n if (!geometry.reused) { // Batched geometry\n\n const positions = geometry.positions;\n\n // Center positions relative to their tile's World-space center\n\n for (let k = 0, lenk = positions.length; k < lenk; k += 3) {\n\n positions[k + 0] -= tileCenter[0];\n positions[k + 1] -= tileCenter[1];\n positions[k + 2] -= tileCenter[2];\n }\n\n // Quantize positions relative to tile's RTC-space boundary\n\n geometryCompression.quantizePositions(positions, positions.length, rtcAABB, geometry.positionsQuantized);\n\n } else { // Instanced geometry\n\n // Post-multiply a translation to the mesh's modeling matrix\n // to center the entity's geometry instances to the tile RTC center\n\n //////////////////////////////\n // Why do we do this?\n // Seems to break various models\n /////////////////////////////////\n\n math.translateMat4v(tileCenterNeg, mesh.matrix);\n }\n }\n\n entity.entityIndex = this.entitiesList.length;\n\n this.entitiesList.push(entity);\n }\n\n const tile = new XKTTile(tileAABB, entities);\n\n this.tilesList.push(tile);\n }\n\n _createReusedGeometriesDecodeMatrix() {\n\n const tempVec3a = math.vec3();\n const reusedGeometriesAABB = math.collapseAABB3(math.AABB3());\n let countReusedGeometries = 0;\n\n for (let geometryIndex = 0, numGeometries = this.geometriesList.length; geometryIndex < numGeometries; geometryIndex++) {\n\n const geometry = this.geometriesList [geometryIndex];\n\n if (geometry.reused) { // Instanced geometry\n\n const positions = geometry.positions;\n\n for (let i = 0, len = positions.length; i < len; i += 3) {\n\n tempVec3a[0] = positions[i];\n tempVec3a[1] = positions[i + 1];\n tempVec3a[2] = positions[i + 2];\n\n math.expandAABB3Point3(reusedGeometriesAABB, tempVec3a);\n }\n\n countReusedGeometries++;\n }\n }\n\n if (countReusedGeometries > 0) {\n\n geometryCompression.createPositionsDecodeMatrix(reusedGeometriesAABB, this.reusedGeometriesDecodeMatrix);\n\n for (let geometryIndex = 0, numGeometries = this.geometriesList.length; geometryIndex < numGeometries; geometryIndex++) {\n\n const geometry = this.geometriesList [geometryIndex];\n\n if (geometry.reused) {\n geometryCompression.quantizePositions(geometry.positions, geometry.positions.length, reusedGeometriesAABB, geometry.positionsQuantized);\n }\n }\n\n } else {\n math.identityMat4(this.reusedGeometriesDecodeMatrix); // No need for this matrix, but we'll be tidy and set it to identity\n }\n }\n\n _flagSolidGeometries() {\n let maxNumPositions = 0;\n let maxNumIndices = 0;\n for (let i = 0, len = this.geometriesList.length; i < len; i++) {\n const geometry = this.geometriesList[i];\n if (geometry.primitiveType === \"triangles\") {\n if (geometry.positionsQuantized.length > maxNumPositions) {\n maxNumPositions = geometry.positionsQuantized.length;\n }\n if (geometry.indices.length > maxNumIndices) {\n maxNumIndices = geometry.indices.length;\n }\n }\n }\n let vertexIndexMapping = new Array(maxNumPositions / 3);\n let edges = new Array(maxNumIndices);\n for (let i = 0, len = this.geometriesList.length; i < len; i++) {\n const geometry = this.geometriesList[i];\n if (geometry.primitiveType === \"triangles\") {\n geometry.solid = isTriangleMeshSolid(geometry.indices, geometry.positionsQuantized, vertexIndexMapping, edges);\n }\n }\n }\n}\n\nexport {\n XKTModel\n}", "static": true, "longname": "/home/lindsay/xeolabs/xeokit-convert-mar14/src/XKTModel/XKTModel.js", "access": "public", @@ -3491,7 +3491,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_createDefaultIndices", "access": "private", "description": null, - "lineNumber": 819, + "lineNumber": 820, "undocument": true, "ignore": true, "params": [ @@ -3519,7 +3519,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#createMesh", "access": "public", "description": "Creates an {@link XKTMesh} within this XKTModel.\n\nAn {@link XKTMesh} can be owned by one {@link XKTEntity}, which can own multiple {@link XKTMesh}es.\n\nRegisters the new {@link XKTMesh} in {@link XKTModel#meshes} and {@link XKTModel#meshesList}.", - "lineNumber": 848, + "lineNumber": 849, "unknown": [ { "tagName": "@returns", @@ -3690,7 +3690,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#createEntity", "access": "public", "description": "Creates an {@link XKTEntity} within this XKTModel.\n\nRegisters the new {@link XKTEntity} in {@link XKTModel#entities} and {@link XKTModel#entitiesList}.\n\nLogs error and does nothing if this XKTModel has been finalized (see {@link XKTModel#finalized}).", - "lineNumber": 936, + "lineNumber": 937, "unknown": [ { "tagName": "@returns", @@ -3749,7 +3749,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#createDefaultMetaObjects", "access": "public", "description": "Creates a default {@link XKTMetaObject} for each {@link XKTEntity} that does not already have one.", - "lineNumber": 1006, + "lineNumber": 1007, "params": [], "return": null }, @@ -3764,7 +3764,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#finalize", "access": "public", "description": "Finalizes this XKTModel.\n\nAfter finalizing, we may then serialize the model to an array buffer using {@link writeXKTModelToArrayBuffer}.\n\nLogs error and does nothing if this XKTModel has already been finalized.\n\nInternally, this method:\n\n* for each {@link XKTEntity} that doesn't already have a {@link XKTMetaObject}, creates one with {@link XKTMetaObject#metaObjectType} set to \"default\"\n* sets each {@link XKTEntity}'s {@link XKTEntity#hasReusedGeometries} true if it shares its {@link XKTGeometry}s with other {@link XKTEntity}s,\n* creates each {@link XKTEntity}'s {@link XKTEntity#aabb},\n* creates {@link XKTTile}s in {@link XKTModel#tilesList}, and\n* sets {@link XKTModel#finalized} ````true````.", - "lineNumber": 1049, + "lineNumber": 1050, "params": [], "return": null }, @@ -3779,7 +3779,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_removeUnusedTextures", "access": "private", "description": null, - "lineNumber": 1081, + "lineNumber": 1082, "undocument": true, "ignore": true, "params": [], @@ -3796,7 +3796,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_compressTextures", "access": "private", "description": null, - "lineNumber": 1096, + "lineNumber": 1097, "undocument": true, "ignore": true, "params": [], @@ -3817,7 +3817,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_bakeSingleUseGeometryPositions", "access": "private", "description": null, - "lineNumber": 1184, + "lineNumber": 1185, "undocument": true, "ignore": true, "params": [], @@ -3834,7 +3834,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_bakeAndOctEncodeNormals", "access": "private", "description": null, - "lineNumber": 1218, + "lineNumber": 1219, "undocument": true, "ignore": true, "params": [], @@ -3851,7 +3851,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_createEntityAABBs", "access": "private", "description": null, - "lineNumber": 1240, + "lineNumber": 1241, "undocument": true, "ignore": true, "params": [], @@ -3868,7 +3868,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_createKDTree", "access": "private", "description": null, - "lineNumber": 1282, + "lineNumber": 1283, "undocument": true, "ignore": true, "params": [], @@ -3889,7 +3889,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_insertEntityIntoKDTree", "access": "private", "description": null, - "lineNumber": 1305, + "lineNumber": 1306, "undocument": true, "ignore": true, "params": [ @@ -3919,7 +3919,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_createTilesFromKDTree", "access": "private", "description": null, - "lineNumber": 1373, + "lineNumber": 1374, "undocument": true, "ignore": true, "params": [ @@ -3943,7 +3943,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_createTilesFromKDNode", "access": "private", "description": null, - "lineNumber": 1377, + "lineNumber": 1378, "undocument": true, "ignore": true, "params": [ @@ -3967,7 +3967,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_createTileFromEntities", "access": "private", "description": "Creates a tile from the given entities.\n\nFor each single-use {@link XKTGeometry}, this method centers {@link XKTGeometry#positions} to make them relative to the\ntile's center, then quantizes the positions to unsigned 16-bit integers, relative to the tile's boundary.", - "lineNumber": 1397, + "lineNumber": 1398, "params": [ { "nullable": null, @@ -3994,7 +3994,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_createReusedGeometriesDecodeMatrix", "access": "private", "description": null, - "lineNumber": 1466, + "lineNumber": 1467, "undocument": true, "ignore": true, "params": [], @@ -4011,7 +4011,7 @@ "longname": "src/XKTModel/XKTModel.js~XKTModel#_flagSolidGeometries", "access": "private", "description": null, - "lineNumber": 1511, + "lineNumber": 1512, "undocument": true, "ignore": true, "params": [], @@ -7252,7 +7252,7 @@ "__docId__": 299, "kind": "file", "name": "src/XKTModel/writeXKTModelToArrayBuffer.js", - "content": "import {XKT_INFO} from \"../XKT_INFO.js\";\nimport * as pako from 'pako';\n\nconst XKT_VERSION = XKT_INFO.xktVersion;\nconst NUM_TEXTURE_ATTRIBUTES = 9;\nconst NUM_MATERIAL_ATTRIBUTES = 6;\n\n/**\n * Writes an {@link XKTModel} to an {@link ArrayBuffer}.\n *\n * @param {XKTModel} xktModel The {@link XKTModel}.\n * @param {String} metaModelJSON The metamodel JSON in a string.\n * @param {Object} [stats] Collects statistics.\n * @param {Object} options Options for how the XKT is written.\n * @param {Boolean} [options.zip=true] ZIP the contents?\n * @returns {ArrayBuffer} The {@link ArrayBuffer}.\n */\nfunction writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, options) {\n const data = getModelData(xktModel, metaModelJSON, stats);\n const deflatedData = deflateData(data, metaModelJSON, options);\n stats.texturesSize += deflatedData.textureData.byteLength;\n const arrayBuffer = createArrayBuffer(deflatedData);\n return arrayBuffer;\n}\n\nfunction getModelData(xktModel, metaModelDataStr, stats) {\n\n //------------------------------------------------------------------------------------------------------------------\n // Allocate data\n //------------------------------------------------------------------------------------------------------------------\n\n const propertySetsList = xktModel.propertySetsList;\n const metaObjectsList = xktModel.metaObjectsList;\n const geometriesList = xktModel.geometriesList;\n const texturesList = xktModel.texturesList;\n const textureSetsList = xktModel.textureSetsList;\n const meshesList = xktModel.meshesList;\n const entitiesList = xktModel.entitiesList;\n const tilesList = xktModel.tilesList;\n\n const numPropertySets = propertySetsList.length;\n const numMetaObjects = metaObjectsList.length;\n const numGeometries = geometriesList.length;\n const numTextures = texturesList.length;\n const numTextureSets = textureSetsList.length;\n const numMeshes = meshesList.length;\n const numEntities = entitiesList.length;\n const numTiles = tilesList.length;\n\n let lenPositions = 0;\n let lenNormals = 0;\n let lenColors = 0;\n let lenUVs = 0;\n let lenIndices = 0;\n let lenEdgeIndices = 0;\n let lenMatrices = 0;\n let lenTextures = 0;\n\n for (let geometryIndex = 0; geometryIndex < numGeometries; geometryIndex++) {\n const geometry = geometriesList [geometryIndex];\n if (geometry.positionsQuantized) {\n lenPositions += geometry.positionsQuantized.length;\n }\n if (geometry.normalsOctEncoded) {\n lenNormals += geometry.normalsOctEncoded.length;\n }\n if (geometry.colorsCompressed) {\n lenColors += geometry.colorsCompressed.length;\n }\n if (geometry.uvs) {\n lenUVs += geometry.uvs.length;\n }\n if (geometry.indices) {\n lenIndices += geometry.indices.length;\n }\n if (geometry.edgeIndices) {\n lenEdgeIndices += geometry.edgeIndices.length;\n }\n }\n\n for (let textureIndex = 0; textureIndex < numTextures; textureIndex++) {\n const xktTexture = texturesList[textureIndex];\n const imageData = xktTexture.imageData;\n lenTextures += imageData.byteLength;\n\n if (xktTexture.compressed) {\n stats.numCompressedTextures++;\n }\n }\n\n for (let meshIndex = 0; meshIndex < numMeshes; meshIndex++) {\n const mesh = meshesList[meshIndex];\n if (mesh.geometry.numInstances > 1) {\n lenMatrices += 16;\n }\n }\n\n const data = {\n metadata: {},\n textureData: new Uint8Array(lenTextures), // All textures\n eachTextureDataPortion: new Uint32Array(numTextures), // For each texture, an index to its first element in textureData\n eachTextureAttributes: new Uint16Array(numTextures * NUM_TEXTURE_ATTRIBUTES),\n positions: new Uint16Array(lenPositions), // All geometry arrays\n normals: new Int8Array(lenNormals),\n colors: new Uint8Array(lenColors),\n uvs: new Float32Array(lenUVs),\n indices: new Uint32Array(lenIndices),\n edgeIndices: new Uint32Array(lenEdgeIndices),\n eachTextureSetTextures: new Int32Array(numTextureSets * 5), // For each texture set, a set of five Texture indices [color, metal/roughness,normals,emissive,occlusion]; each index has value -1 if no texture\n matrices: new Float32Array(lenMatrices), // Modeling matrices for entities that share geometries. Each entity either shares all it's geometries, or owns all its geometries exclusively. Exclusively-owned geometries are pre-transformed into World-space, and so their entities don't have modeling matrices in this array.\n reusedGeometriesDecodeMatrix: new Float32Array(xktModel.reusedGeometriesDecodeMatrix), // A single, global vertex position de-quantization matrix for all reused geometries. Reused geometries are quantized to their collective Local-space AABB, and this matrix is derived from that AABB.\n eachGeometryPrimitiveType: new Uint8Array(numGeometries), // Primitive type for each geometry (0=solid triangles, 1=surface triangles, 2=lines, 3=points, 4=line-strip)\n eachGeometryPositionsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.positions. Every primitive type has positions.\n eachGeometryNormalsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.normals. If the next geometry has the same index, then this geometry has no normals.\n eachGeometryColorsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.colors. If the next geometry has the same index, then this geometry has no colors.\n eachGeometryUVsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.uvs. If the next geometry has the same index, then this geometry has no UVs.\n eachGeometryIndicesPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.indices. If the next geometry has the same index, then this geometry has no indices.\n eachGeometryEdgeIndicesPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.edgeIndices. If the next geometry has the same index, then this geometry has no edge indices.\n eachMeshGeometriesPortion: new Uint32Array(numMeshes), // For each mesh, an index into the eachGeometry* arrays\n eachMeshMatricesPortion: new Uint32Array(numMeshes), // For each mesh that shares its geometry, an index to its first element in data.matrices, to indicate the modeling matrix that transforms the shared geometry Local-space vertex positions. This is ignored for meshes that don't share geometries, because the vertex positions of non-shared geometries are pre-transformed into World-space.\n eachMeshTextureSet: new Int32Array(numMeshes), // For each mesh, the index of its texture set in data.eachTextureSetTextures; this array contains signed integers so that we can use -1 to indicate when a mesh has no texture set\n eachMeshMaterialAttributes: new Uint8Array(numMeshes * NUM_MATERIAL_ATTRIBUTES), // For each mesh, an RGBA integer color of format [0..255, 0..255, 0..255, 0..255], and PBR metallic and roughness factors, of format [0..255, 0..255]\n eachEntityId: [], // For each entity, an ID string\n eachEntityMeshesPortion: new Uint32Array(numEntities), // For each entity, the index of the first element of meshes used by the entity\n eachTileAABB: new Float64Array(numTiles * 6), // For each tile, an axis-aligned bounding box\n eachTileEntitiesPortion: new Uint32Array(numTiles) // For each tile, the index of the first element of eachEntityId, eachEntityMeshesPortion and eachEntityMatricesPortion used by the tile\n };\n\n let countPositions = 0;\n let countNormals = 0;\n let countColors = 0;\n let countUVs = 0;\n let countIndices = 0;\n let countEdgeIndices = 0;\n\n // Metadata\n\n data.metadata = {\n id: xktModel.modelId,\n projectId: xktModel.projectId,\n revisionId: xktModel.revisionId,\n author: xktModel.author,\n createdAt: xktModel.createdAt,\n creatingApplication: xktModel.creatingApplication,\n schema: xktModel.schema,\n propertySets: [],\n metaObjects: []\n };\n\n // Property sets\n\n for (let propertySetsIndex = 0; propertySetsIndex < numPropertySets; propertySetsIndex++) {\n const propertySet = propertySetsList[propertySetsIndex];\n const propertySetJSON = {\n id: \"\" + propertySet.propertySetId,\n name: propertySet.propertySetName,\n type: propertySet.propertySetType,\n properties: propertySet.properties\n };\n data.metadata.propertySets.push(propertySetJSON);\n }\n\n // Metaobjects\n\n if (!metaModelDataStr) {\n for (let metaObjectsIndex = 0; metaObjectsIndex < numMetaObjects; metaObjectsIndex++) {\n const metaObject = metaObjectsList[metaObjectsIndex];\n const metaObjectJSON = {\n name: metaObject.metaObjectName,\n type: metaObject.metaObjectType,\n id: \"\" + metaObject.metaObjectId\n };\n if (metaObject.parentMetaObjectId !== undefined && metaObject.parentMetaObjectId !== null) {\n metaObjectJSON.parent = \"\" + metaObject.parentMetaObjectId;\n }\n if (metaObject.propertySetIds && metaObject.propertySetIds.length > 0) {\n metaObjectJSON.propertySetIds = metaObject.propertySetIds;\n }\n if (metaObject.external) {\n metaObjectJSON.external = metaObject.external;\n }\n data.metadata.metaObjects.push(metaObjectJSON);\n }\n }\n\n // Geometries\n\n for (let geometryIndex = 0; geometryIndex < numGeometries; geometryIndex++) {\n const geometry = geometriesList [geometryIndex];\n let primitiveType = 1;\n switch (geometry.primitiveType) {\n case \"triangles\":\n primitiveType = geometry.solid ? 0 : 1;\n break;\n case \"points\":\n primitiveType = 2;\n break;\n case \"lines\":\n primitiveType = 3;\n break;\n case \"line-strip\":\n case \"line-loop\":\n primitiveType = 4;\n break;\n case \"triangle-strip\":\n primitiveType = 5;\n break;\n case \"triangle-fan\":\n primitiveType = 6;\n break;\n default:\n primitiveType = 1\n }\n data.eachGeometryPrimitiveType [geometryIndex] = primitiveType;\n data.eachGeometryPositionsPortion [geometryIndex] = countPositions;\n data.eachGeometryNormalsPortion [geometryIndex] = countNormals;\n data.eachGeometryColorsPortion [geometryIndex] = countColors;\n data.eachGeometryUVsPortion [geometryIndex] = countUVs;\n data.eachGeometryIndicesPortion [geometryIndex] = countIndices;\n data.eachGeometryEdgeIndicesPortion [geometryIndex] = countEdgeIndices;\n if (geometry.positionsQuantized) {\n data.positions.set(geometry.positionsQuantized, countPositions);\n countPositions += geometry.positionsQuantized.length;\n }\n if (geometry.normalsOctEncoded) {\n data.normals.set(geometry.normalsOctEncoded, countNormals);\n countNormals += geometry.normalsOctEncoded.length;\n }\n if (geometry.colorsCompressed) {\n data.colors.set(geometry.colorsCompressed, countColors);\n countColors += geometry.colorsCompressed.length;\n }\n if (geometry.uvs) {\n data.uvs.set(geometry.uvs, countUVs);\n countUVs += geometry.uvs.length;\n }\n if (geometry.indices) {\n data.indices.set(geometry.indices, countIndices);\n countIndices += geometry.indices.length;\n }\n if (geometry.edgeIndices) {\n data.edgeIndices.set(geometry.edgeIndices, countEdgeIndices);\n countEdgeIndices += geometry.edgeIndices.length;\n }\n }\n\n // Textures\n\n for (let textureIndex = 0, numTextures = xktModel.texturesList.length, portionIdx = 0; textureIndex < numTextures; textureIndex++) {\n const xktTexture = xktModel.texturesList[textureIndex];\n const imageData = xktTexture.imageData;\n data.textureData.set(imageData, portionIdx);\n data.eachTextureDataPortion[textureIndex] = portionIdx;\n\n portionIdx += imageData.byteLength;\n\n let textureAttrIdx = textureIndex * NUM_TEXTURE_ATTRIBUTES;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.compressed ? 1 : 0;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.mediaType; // GIFMediaType | PNGMediaType | JPEGMediaType\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.width;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.height;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.minFilter; // LinearMipmapLinearFilter | LinearMipMapNearestFilter | NearestMipMapNearestFilter | NearestMipMapLinearFilter | LinearMipMapLinearFilter\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.magFilter; // LinearFilter | NearestFilter\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapS; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapT; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapR; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n }\n\n // Texture sets\n\n for (let textureSetIndex = 0, numTextureSets = xktModel.textureSetsList.length, eachTextureSetTexturesIndex = 0; textureSetIndex < numTextureSets; textureSetIndex++) {\n const textureSet = textureSetsList[textureSetIndex];\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.colorTexture ? textureSet.colorTexture.textureIndex : -1; // Color map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.metallicRoughnessTexture ? textureSet.metallicRoughnessTexture.textureIndex : -1; // Metal/rough map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.normalsTexture ? textureSet.normalsTexture.textureIndex : -1; // Normal map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.emissiveTexture ? textureSet.emissiveTexture.textureIndex : -1; // Emissive map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.occlusionTexture ? textureSet.occlusionTexture.textureIndex : -1; // Occlusion map\n }\n\n // Tiles -> Entities -> Meshes\n\n let entityIndex = 0;\n let countEntityMeshesPortion = 0;\n let eachMeshMaterialAttributesIndex = 0;\n let matricesIndex = 0;\n let meshIndex = 0;\n\n for (let tileIndex = 0; tileIndex < numTiles; tileIndex++) {\n\n const tile = tilesList [tileIndex];\n const tileEntities = tile.entities;\n const numTileEntities = tileEntities.length;\n\n if (numTileEntities === 0) {\n continue;\n }\n\n data.eachTileEntitiesPortion[tileIndex] = entityIndex;\n\n const tileAABB = tile.aabb;\n\n for (let j = 0; j < numTileEntities; j++) {\n\n const entity = tileEntities[j];\n const entityMeshes = entity.meshes;\n const numEntityMeshes = entityMeshes.length;\n\n for (let k = 0; k < numEntityMeshes; k++) {\n\n const mesh = entityMeshes[k];\n const geometry = mesh.geometry;\n const geometryIndex = geometry.geometryIndex;\n\n data.eachMeshGeometriesPortion [countEntityMeshesPortion + k] = geometryIndex;\n\n if (mesh.geometry.numInstances > 1) {\n data.matrices.set(mesh.matrix, matricesIndex);\n data.eachMeshMatricesPortion [meshIndex] = matricesIndex;\n matricesIndex += 16;\n }\n\n data.eachMeshTextureSet[meshIndex] = mesh.textureSet ? mesh.textureSet.textureSetIndex : -1;\n\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[0] * 255); // Color RGB\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[1] * 255);\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[2] * 255);\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.opacity * 255); // Opacity\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.metallic * 255); // Metallic\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.roughness * 255); // Roughness\n\n meshIndex++;\n }\n\n data.eachEntityId [entityIndex] = entity.entityId;\n data.eachEntityMeshesPortion[entityIndex] = countEntityMeshesPortion; // <<<<<<<<<<<<<<<<<<<< Error here? Order/value of countEntityMeshesPortion correct?\n\n entityIndex++;\n countEntityMeshesPortion += numEntityMeshes;\n }\n\n const tileAABBIndex = tileIndex * 6;\n\n data.eachTileAABB.set(tileAABB, tileAABBIndex);\n }\n\n return data;\n}\n\nfunction deflateData(data, metaModelJSON, options) {\n\n function deflate(buffer) {\n return (options.zip !== false) ? pako.deflate(buffer) : buffer;\n }\n\n let metaModelBytes;\n if (metaModelJSON) {\n const deflatedJSON = deflateJSON(metaModelJSON);\n metaModelBytes = deflate(deflatedJSON)\n } else {\n const deflatedJSON = deflateJSON(data.metadata);\n metaModelBytes = deflate(deflatedJSON)\n }\n\n return {\n metadata: metaModelBytes,\n textureData: deflate(data.textureData.buffer),\n eachTextureDataPortion: deflate(data.eachTextureDataPortion.buffer),\n eachTextureAttributes: deflate(data.eachTextureAttributes.buffer),\n positions: deflate(data.positions.buffer),\n normals: deflate(data.normals.buffer),\n colors: deflate(data.colors.buffer),\n uvs: deflate(data.uvs.buffer),\n indices: deflate(data.indices.buffer),\n edgeIndices: deflate(data.edgeIndices.buffer),\n eachTextureSetTextures: deflate(data.eachTextureSetTextures.buffer),\n matrices: deflate(data.matrices.buffer),\n reusedGeometriesDecodeMatrix: deflate(data.reusedGeometriesDecodeMatrix.buffer),\n eachGeometryPrimitiveType: deflate(data.eachGeometryPrimitiveType.buffer),\n eachGeometryPositionsPortion: deflate(data.eachGeometryPositionsPortion.buffer),\n eachGeometryNormalsPortion: deflate(data.eachGeometryNormalsPortion.buffer),\n eachGeometryColorsPortion: deflate(data.eachGeometryColorsPortion.buffer),\n eachGeometryUVsPortion: deflate(data.eachGeometryUVsPortion.buffer),\n eachGeometryIndicesPortion: deflate(data.eachGeometryIndicesPortion.buffer),\n eachGeometryEdgeIndicesPortion: deflate(data.eachGeometryEdgeIndicesPortion.buffer),\n eachMeshGeometriesPortion: deflate(data.eachMeshGeometriesPortion.buffer),\n eachMeshMatricesPortion: deflate(data.eachMeshMatricesPortion.buffer),\n eachMeshTextureSet: deflate(data.eachMeshTextureSet.buffer),\n eachMeshMaterialAttributes: deflate(data.eachMeshMaterialAttributes.buffer),\n eachEntityId: deflate(JSON.stringify(data.eachEntityId)\n .replace(/[\\u007F-\\uFFFF]/g, function (chr) { // Produce only ASCII-chars, so that the data can be inflated later\n return \"\\\\u\" + (\"0000\" + chr.charCodeAt(0).toString(16)).substr(-4)\n })),\n eachEntityMeshesPortion: deflate(data.eachEntityMeshesPortion.buffer),\n eachTileAABB: deflate(data.eachTileAABB.buffer),\n eachTileEntitiesPortion: deflate(data.eachTileEntitiesPortion.buffer)\n };\n}\n\nfunction deflateJSON(strings) {\n return JSON.stringify(strings)\n .replace(/[\\u007F-\\uFFFF]/g, function (chr) { // Produce only ASCII-chars, so that the data can be inflated later\n return \"\\\\u\" + (\"0000\" + chr.charCodeAt(0).toString(16)).substr(-4)\n });\n}\n\nfunction createArrayBuffer(deflatedData) {\n return toArrayBuffer([\n deflatedData.metadata,\n deflatedData.textureData,\n deflatedData.eachTextureDataPortion,\n deflatedData.eachTextureAttributes,\n deflatedData.positions,\n deflatedData.normals,\n deflatedData.colors,\n deflatedData.uvs,\n deflatedData.indices,\n deflatedData.edgeIndices,\n deflatedData.eachTextureSetTextures,\n deflatedData.matrices,\n deflatedData.reusedGeometriesDecodeMatrix,\n deflatedData.eachGeometryPrimitiveType,\n deflatedData.eachGeometryPositionsPortion,\n deflatedData.eachGeometryNormalsPortion,\n deflatedData.eachGeometryColorsPortion,\n deflatedData.eachGeometryUVsPortion,\n deflatedData.eachGeometryIndicesPortion,\n deflatedData.eachGeometryEdgeIndicesPortion,\n deflatedData.eachMeshGeometriesPortion,\n deflatedData.eachMeshMatricesPortion,\n deflatedData.eachMeshTextureSet,\n deflatedData.eachMeshMaterialAttributes,\n deflatedData.eachEntityId,\n deflatedData.eachEntityMeshesPortion,\n deflatedData.eachTileAABB,\n deflatedData.eachTileEntitiesPortion\n ]);\n}\n\nfunction toArrayBuffer(elements) {\n const indexData = new Uint32Array(elements.length + 2);\n indexData[0] = XKT_VERSION;\n indexData [1] = elements.length; // Stored Data 1.1: number of stored elements\n let dataLen = 0; // Stored Data 1.2: length of stored elements\n for (let i = 0, len = elements.length; i < len; i++) {\n const element = elements[i];\n const elementsize = element.length;\n indexData[i + 2] = elementsize;\n dataLen += elementsize;\n }\n const indexBuf = new Uint8Array(indexData.buffer);\n const dataArray = new Uint8Array(indexBuf.length + dataLen);\n dataArray.set(indexBuf);\n let offset = indexBuf.length;\n for (let i = 0, len = elements.length; i < len; i++) { // Stored Data 2: the elements themselves\n const element = elements[i];\n dataArray.set(element, offset);\n offset += element.length;\n }\n return dataArray.buffer;\n}\n\nexport {writeXKTModelToArrayBuffer};", + "content": "import {XKT_INFO} from \"../XKT_INFO.js\";\nimport * as pako from 'pako';\n\nconst XKT_VERSION = XKT_INFO.xktVersion;\nconst NUM_TEXTURE_ATTRIBUTES = 9;\nconst NUM_MATERIAL_ATTRIBUTES = 6;\n\n/**\n * Writes an {@link XKTModel} to an {@link ArrayBuffer}.\n *\n * @param {XKTModel} xktModel The {@link XKTModel}.\n * @param {String} metaModelJSON The metamodel JSON in a string.\n * @param {Object} [stats] Collects statistics.\n * @param {Object} options Options for how the XKT is written.\n * @param {Boolean} [options.zip=true] ZIP the contents?\n * @returns {ArrayBuffer} The {@link ArrayBuffer}.\n */\nfunction writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, options) {\n if (! options.zip) {\n return writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats);\n }\n const data = getModelData(xktModel, metaModelJSON, stats);\n const deflatedData = deflateData(data, metaModelJSON, options);\n stats.texturesSize += deflatedData.textureData.byteLength;\n const arrayBuffer = createArrayBuffer(deflatedData);\n return arrayBuffer;\n}\n\n// V11\nfunction writeXKTModelToArrayBufferUncompressed(xktModel, metaModelJSON, stats) {\n const data = getModelData(xktModel, metaModelJSON, stats);\n stats.texturesSize += data.textureData.byteLength;\n\n const object2Array = (function() {\n const encoder = new TextEncoder();\n return obj => encoder.encode(JSON.stringify(obj));\n })();\n\n const arrays = [\n object2Array(metaModelJSON || data.metadata),\n data.textureData,\n data.eachTextureDataPortion,\n data.eachTextureAttributes,\n data.positions,\n data.normals,\n data.colors,\n data.uvs,\n data.indices,\n data.edgeIndices,\n data.eachTextureSetTextures,\n data.matrices,\n data.reusedGeometriesDecodeMatrix,\n data.eachGeometryPrimitiveType,\n data.eachGeometryPositionsPortion,\n data.eachGeometryNormalsPortion,\n data.eachGeometryColorsPortion,\n data.eachGeometryUVsPortion,\n data.eachGeometryIndicesPortion,\n data.eachGeometryEdgeIndicesPortion,\n data.eachMeshGeometriesPortion,\n data.eachMeshMatricesPortion,\n data.eachMeshTextureSet,\n data.eachMeshMaterialAttributes,\n object2Array(data.eachEntityId),\n data.eachEntityMeshesPortion,\n data.eachTileAABB,\n data.eachTileEntitiesPortion\n ];\n\n const arraysCnt = arrays.length;\n const dataView = new DataView(new ArrayBuffer((1 + 2 * arraysCnt) * 4));\n\n dataView.setUint32(0, XKT_VERSION, true);\n\n let byteOffset = dataView.byteLength;\n const offsets = [ ];\n\n // Store arrays' offsets and lengths\n for (let i = 0; i < arraysCnt; i++) {\n const arr = arrays[i];\n const BPE = arr.BYTES_PER_ELEMENT;\n // align to BPE, so the arrayBuffer can be used for a typed array\n byteOffset = Math.ceil(byteOffset / BPE) * BPE;\n const byteLength = arr.byteLength;\n\n const idx = 1 + 2 * i;\n dataView.setUint32(idx * 4, byteOffset, true);\n dataView.setUint32((idx + 1) * 4, byteLength, true);\n\n offsets.push(byteOffset);\n byteOffset += byteLength;\n }\n\n const dataArray = new Uint8Array(byteOffset);\n dataArray.set(new Uint8Array(dataView.buffer), 0);\n\n const requiresSwapToLittleEndian = (function() {\n const buffer = new ArrayBuffer(2);\n new Uint16Array(buffer)[0] = 1;\n return new Uint8Array(buffer)[0] !== 1;\n })();\n\n // Store arrays themselves\n for (let i = 0; i < arraysCnt; i++) {\n const arr = arrays[i];\n const subarray = new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength);\n\n const BPE = arr.BYTES_PER_ELEMENT;\n if (requiresSwapToLittleEndian && (BPE > 1)) {\n const swaps = BPE / 2;\n const cnt = subarray.length / BPE;\n for (let b = 0; b < cnt; b++) {\n const offset = b * BPE;\n for (let j = 0; j < swaps; j++) {\n const i1 = offset + j;\n const i2 = offset - j + BPE - 1;\n const tmp = subarray[i1];\n subarray[i1] = subarray[i2];\n subarray[i2] = tmp;\n }\n }\n }\n\n dataArray.set(subarray, offsets[i]);\n }\n\n return dataArray.buffer;\n}\n\nfunction getModelData(xktModel, metaModelDataStr, stats) {\n\n //------------------------------------------------------------------------------------------------------------------\n // Allocate data\n //------------------------------------------------------------------------------------------------------------------\n\n const propertySetsList = xktModel.propertySetsList;\n const metaObjectsList = xktModel.metaObjectsList;\n const geometriesList = xktModel.geometriesList;\n const texturesList = xktModel.texturesList;\n const textureSetsList = xktModel.textureSetsList;\n const meshesList = xktModel.meshesList;\n const entitiesList = xktModel.entitiesList;\n const tilesList = xktModel.tilesList;\n\n const numPropertySets = propertySetsList.length;\n const numMetaObjects = metaObjectsList.length;\n const numGeometries = geometriesList.length;\n const numTextures = texturesList.length;\n const numTextureSets = textureSetsList.length;\n const numMeshes = meshesList.length;\n const numEntities = entitiesList.length;\n const numTiles = tilesList.length;\n\n let lenPositions = 0;\n let lenNormals = 0;\n let lenColors = 0;\n let lenUVs = 0;\n let lenIndices = 0;\n let lenEdgeIndices = 0;\n let lenMatrices = 0;\n let lenTextures = 0;\n\n for (let geometryIndex = 0; geometryIndex < numGeometries; geometryIndex++) {\n const geometry = geometriesList [geometryIndex];\n if (geometry.positionsQuantized) {\n lenPositions += geometry.positionsQuantized.length;\n }\n if (geometry.normalsOctEncoded) {\n lenNormals += geometry.normalsOctEncoded.length;\n }\n if (geometry.colorsCompressed) {\n lenColors += geometry.colorsCompressed.length;\n }\n if (geometry.uvs) {\n lenUVs += geometry.uvs.length;\n }\n if (geometry.indices) {\n lenIndices += geometry.indices.length;\n }\n if (geometry.edgeIndices) {\n lenEdgeIndices += geometry.edgeIndices.length;\n }\n }\n\n for (let textureIndex = 0; textureIndex < numTextures; textureIndex++) {\n const xktTexture = texturesList[textureIndex];\n const imageData = xktTexture.imageData;\n lenTextures += imageData.byteLength;\n\n if (xktTexture.compressed) {\n stats.numCompressedTextures++;\n }\n }\n\n for (let meshIndex = 0; meshIndex < numMeshes; meshIndex++) {\n const mesh = meshesList[meshIndex];\n if (mesh.geometry.numInstances > 1) {\n lenMatrices += 16;\n }\n }\n\n const data = {\n metadata: {},\n textureData: new Uint8Array(lenTextures), // All textures\n eachTextureDataPortion: new Uint32Array(numTextures), // For each texture, an index to its first element in textureData\n eachTextureAttributes: new Uint16Array(numTextures * NUM_TEXTURE_ATTRIBUTES),\n positions: new Uint16Array(lenPositions), // All geometry arrays\n normals: new Int8Array(lenNormals),\n colors: new Uint8Array(lenColors),\n uvs: new Float32Array(lenUVs),\n indices: new Uint32Array(lenIndices),\n edgeIndices: new Uint32Array(lenEdgeIndices),\n eachTextureSetTextures: new Int32Array(numTextureSets * 5), // For each texture set, a set of five Texture indices [color, metal/roughness,normals,emissive,occlusion]; each index has value -1 if no texture\n matrices: new Float32Array(lenMatrices), // Modeling matrices for entities that share geometries. Each entity either shares all it's geometries, or owns all its geometries exclusively. Exclusively-owned geometries are pre-transformed into World-space, and so their entities don't have modeling matrices in this array.\n reusedGeometriesDecodeMatrix: new Float32Array(xktModel.reusedGeometriesDecodeMatrix), // A single, global vertex position de-quantization matrix for all reused geometries. Reused geometries are quantized to their collective Local-space AABB, and this matrix is derived from that AABB.\n eachGeometryPrimitiveType: new Uint8Array(numGeometries), // Primitive type for each geometry (0=solid triangles, 1=surface triangles, 2=lines, 3=points, 4=line-strip)\n eachGeometryPositionsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.positions. Every primitive type has positions.\n eachGeometryNormalsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.normals. If the next geometry has the same index, then this geometry has no normals.\n eachGeometryColorsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.colors. If the next geometry has the same index, then this geometry has no colors.\n eachGeometryUVsPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.uvs. If the next geometry has the same index, then this geometry has no UVs.\n eachGeometryIndicesPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.indices. If the next geometry has the same index, then this geometry has no indices.\n eachGeometryEdgeIndicesPortion: new Uint32Array(numGeometries), // For each geometry, an index to its first element in data.edgeIndices. If the next geometry has the same index, then this geometry has no edge indices.\n eachMeshGeometriesPortion: new Uint32Array(numMeshes), // For each mesh, an index into the eachGeometry* arrays\n eachMeshMatricesPortion: new Uint32Array(numMeshes), // For each mesh that shares its geometry, an index to its first element in data.matrices, to indicate the modeling matrix that transforms the shared geometry Local-space vertex positions. This is ignored for meshes that don't share geometries, because the vertex positions of non-shared geometries are pre-transformed into World-space.\n eachMeshTextureSet: new Int32Array(numMeshes), // For each mesh, the index of its texture set in data.eachTextureSetTextures; this array contains signed integers so that we can use -1 to indicate when a mesh has no texture set\n eachMeshMaterialAttributes: new Uint8Array(numMeshes * NUM_MATERIAL_ATTRIBUTES), // For each mesh, an RGBA integer color of format [0..255, 0..255, 0..255, 0..255], and PBR metallic and roughness factors, of format [0..255, 0..255]\n eachEntityId: [], // For each entity, an ID string\n eachEntityMeshesPortion: new Uint32Array(numEntities), // For each entity, the index of the first element of meshes used by the entity\n eachTileAABB: new Float64Array(numTiles * 6), // For each tile, an axis-aligned bounding box\n eachTileEntitiesPortion: new Uint32Array(numTiles) // For each tile, the index of the first element of eachEntityId, eachEntityMeshesPortion and eachEntityMatricesPortion used by the tile\n };\n\n let countPositions = 0;\n let countNormals = 0;\n let countColors = 0;\n let countUVs = 0;\n let countIndices = 0;\n let countEdgeIndices = 0;\n\n // Metadata\n\n data.metadata = {\n id: xktModel.modelId,\n projectId: xktModel.projectId,\n revisionId: xktModel.revisionId,\n author: xktModel.author,\n createdAt: xktModel.createdAt,\n creatingApplication: xktModel.creatingApplication,\n schema: xktModel.schema,\n propertySets: [],\n metaObjects: []\n };\n\n // Property sets\n\n for (let propertySetsIndex = 0; propertySetsIndex < numPropertySets; propertySetsIndex++) {\n const propertySet = propertySetsList[propertySetsIndex];\n const propertySetJSON = {\n id: \"\" + propertySet.propertySetId,\n name: propertySet.propertySetName,\n type: propertySet.propertySetType,\n properties: propertySet.properties\n };\n data.metadata.propertySets.push(propertySetJSON);\n }\n\n // Metaobjects\n\n if (!metaModelDataStr) {\n for (let metaObjectsIndex = 0; metaObjectsIndex < numMetaObjects; metaObjectsIndex++) {\n const metaObject = metaObjectsList[metaObjectsIndex];\n const metaObjectJSON = {\n name: metaObject.metaObjectName,\n type: metaObject.metaObjectType,\n id: \"\" + metaObject.metaObjectId\n };\n if (metaObject.parentMetaObjectId !== undefined && metaObject.parentMetaObjectId !== null) {\n metaObjectJSON.parent = \"\" + metaObject.parentMetaObjectId;\n }\n if (metaObject.propertySetIds && metaObject.propertySetIds.length > 0) {\n metaObjectJSON.propertySetIds = metaObject.propertySetIds;\n }\n if (metaObject.external) {\n metaObjectJSON.external = metaObject.external;\n }\n data.metadata.metaObjects.push(metaObjectJSON);\n }\n }\n\n // Geometries\n\n for (let geometryIndex = 0; geometryIndex < numGeometries; geometryIndex++) {\n const geometry = geometriesList [geometryIndex];\n let primitiveType = 1;\n switch (geometry.primitiveType) {\n case \"triangles\":\n primitiveType = geometry.solid ? 0 : 1;\n break;\n case \"points\":\n primitiveType = 2;\n break;\n case \"lines\":\n primitiveType = 3;\n break;\n case \"line-strip\":\n case \"line-loop\":\n primitiveType = 4;\n break;\n case \"triangle-strip\":\n primitiveType = 5;\n break;\n case \"triangle-fan\":\n primitiveType = 6;\n break;\n default:\n primitiveType = 1\n }\n data.eachGeometryPrimitiveType [geometryIndex] = primitiveType;\n data.eachGeometryPositionsPortion [geometryIndex] = countPositions;\n data.eachGeometryNormalsPortion [geometryIndex] = countNormals;\n data.eachGeometryColorsPortion [geometryIndex] = countColors;\n data.eachGeometryUVsPortion [geometryIndex] = countUVs;\n data.eachGeometryIndicesPortion [geometryIndex] = countIndices;\n data.eachGeometryEdgeIndicesPortion [geometryIndex] = countEdgeIndices;\n if (geometry.positionsQuantized) {\n data.positions.set(geometry.positionsQuantized, countPositions);\n countPositions += geometry.positionsQuantized.length;\n }\n if (geometry.normalsOctEncoded) {\n data.normals.set(geometry.normalsOctEncoded, countNormals);\n countNormals += geometry.normalsOctEncoded.length;\n }\n if (geometry.colorsCompressed) {\n data.colors.set(geometry.colorsCompressed, countColors);\n countColors += geometry.colorsCompressed.length;\n }\n if (geometry.uvs) {\n data.uvs.set(geometry.uvs, countUVs);\n countUVs += geometry.uvs.length;\n }\n if (geometry.indices) {\n data.indices.set(geometry.indices, countIndices);\n countIndices += geometry.indices.length;\n }\n if (geometry.edgeIndices) {\n data.edgeIndices.set(geometry.edgeIndices, countEdgeIndices);\n countEdgeIndices += geometry.edgeIndices.length;\n }\n }\n\n // Textures\n\n for (let textureIndex = 0, numTextures = xktModel.texturesList.length, portionIdx = 0; textureIndex < numTextures; textureIndex++) {\n const xktTexture = xktModel.texturesList[textureIndex];\n const imageData = xktTexture.imageData;\n data.textureData.set(imageData, portionIdx);\n data.eachTextureDataPortion[textureIndex] = portionIdx;\n\n portionIdx += imageData.byteLength;\n\n let textureAttrIdx = textureIndex * NUM_TEXTURE_ATTRIBUTES;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.compressed ? 1 : 0;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.mediaType; // GIFMediaType | PNGMediaType | JPEGMediaType\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.width;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.height;\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.minFilter; // LinearMipmapLinearFilter | LinearMipMapNearestFilter | NearestMipMapNearestFilter | NearestMipMapLinearFilter | LinearMipMapLinearFilter\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.magFilter; // LinearFilter | NearestFilter\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapS; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapT; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n data.eachTextureAttributes[textureAttrIdx++] = xktTexture.wrapR; // ClampToEdgeWrapping | MirroredRepeatWrapping | RepeatWrapping\n }\n\n // Texture sets\n\n for (let textureSetIndex = 0, numTextureSets = xktModel.textureSetsList.length, eachTextureSetTexturesIndex = 0; textureSetIndex < numTextureSets; textureSetIndex++) {\n const textureSet = textureSetsList[textureSetIndex];\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.colorTexture ? textureSet.colorTexture.textureIndex : -1; // Color map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.metallicRoughnessTexture ? textureSet.metallicRoughnessTexture.textureIndex : -1; // Metal/rough map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.normalsTexture ? textureSet.normalsTexture.textureIndex : -1; // Normal map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.emissiveTexture ? textureSet.emissiveTexture.textureIndex : -1; // Emissive map\n data.eachTextureSetTextures[eachTextureSetTexturesIndex++] = textureSet.occlusionTexture ? textureSet.occlusionTexture.textureIndex : -1; // Occlusion map\n }\n\n // Tiles -> Entities -> Meshes\n\n let entityIndex = 0;\n let countEntityMeshesPortion = 0;\n let eachMeshMaterialAttributesIndex = 0;\n let matricesIndex = 0;\n let meshIndex = 0;\n\n for (let tileIndex = 0; tileIndex < numTiles; tileIndex++) {\n\n const tile = tilesList [tileIndex];\n const tileEntities = tile.entities;\n const numTileEntities = tileEntities.length;\n\n if (numTileEntities === 0) {\n continue;\n }\n\n data.eachTileEntitiesPortion[tileIndex] = entityIndex;\n\n const tileAABB = tile.aabb;\n\n for (let j = 0; j < numTileEntities; j++) {\n\n const entity = tileEntities[j];\n const entityMeshes = entity.meshes;\n const numEntityMeshes = entityMeshes.length;\n\n for (let k = 0; k < numEntityMeshes; k++) {\n\n const mesh = entityMeshes[k];\n const geometry = mesh.geometry;\n const geometryIndex = geometry.geometryIndex;\n\n data.eachMeshGeometriesPortion [countEntityMeshesPortion + k] = geometryIndex;\n\n if (mesh.geometry.numInstances > 1) {\n data.matrices.set(mesh.matrix, matricesIndex);\n data.eachMeshMatricesPortion [meshIndex] = matricesIndex;\n matricesIndex += 16;\n }\n\n data.eachMeshTextureSet[meshIndex] = mesh.textureSet ? mesh.textureSet.textureSetIndex : -1;\n\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[0] * 255); // Color RGB\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[1] * 255);\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.color[2] * 255);\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.opacity * 255); // Opacity\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.metallic * 255); // Metallic\n data.eachMeshMaterialAttributes[eachMeshMaterialAttributesIndex++] = (mesh.roughness * 255); // Roughness\n\n meshIndex++;\n }\n\n data.eachEntityId [entityIndex] = entity.entityId;\n data.eachEntityMeshesPortion[entityIndex] = countEntityMeshesPortion; // <<<<<<<<<<<<<<<<<<<< Error here? Order/value of countEntityMeshesPortion correct?\n\n entityIndex++;\n countEntityMeshesPortion += numEntityMeshes;\n }\n\n const tileAABBIndex = tileIndex * 6;\n\n data.eachTileAABB.set(tileAABB, tileAABBIndex);\n }\n\n return data;\n}\n\nfunction deflateData(data, metaModelJSON, options) {\n\n function deflate(buffer) {\n return (options.zip !== false) ? pako.deflate(buffer) : buffer;\n }\n\n let metaModelBytes;\n if (metaModelJSON) {\n const deflatedJSON = deflateJSON(metaModelJSON);\n metaModelBytes = deflate(deflatedJSON)\n } else {\n const deflatedJSON = deflateJSON(data.metadata);\n metaModelBytes = deflate(deflatedJSON)\n }\n\n return {\n metadata: metaModelBytes,\n textureData: deflate(data.textureData.buffer),\n eachTextureDataPortion: deflate(data.eachTextureDataPortion.buffer),\n eachTextureAttributes: deflate(data.eachTextureAttributes.buffer),\n positions: deflate(data.positions.buffer),\n normals: deflate(data.normals.buffer),\n colors: deflate(data.colors.buffer),\n uvs: deflate(data.uvs.buffer),\n indices: deflate(data.indices.buffer),\n edgeIndices: deflate(data.edgeIndices.buffer),\n eachTextureSetTextures: deflate(data.eachTextureSetTextures.buffer),\n matrices: deflate(data.matrices.buffer),\n reusedGeometriesDecodeMatrix: deflate(data.reusedGeometriesDecodeMatrix.buffer),\n eachGeometryPrimitiveType: deflate(data.eachGeometryPrimitiveType.buffer),\n eachGeometryPositionsPortion: deflate(data.eachGeometryPositionsPortion.buffer),\n eachGeometryNormalsPortion: deflate(data.eachGeometryNormalsPortion.buffer),\n eachGeometryColorsPortion: deflate(data.eachGeometryColorsPortion.buffer),\n eachGeometryUVsPortion: deflate(data.eachGeometryUVsPortion.buffer),\n eachGeometryIndicesPortion: deflate(data.eachGeometryIndicesPortion.buffer),\n eachGeometryEdgeIndicesPortion: deflate(data.eachGeometryEdgeIndicesPortion.buffer),\n eachMeshGeometriesPortion: deflate(data.eachMeshGeometriesPortion.buffer),\n eachMeshMatricesPortion: deflate(data.eachMeshMatricesPortion.buffer),\n eachMeshTextureSet: deflate(data.eachMeshTextureSet.buffer),\n eachMeshMaterialAttributes: deflate(data.eachMeshMaterialAttributes.buffer),\n eachEntityId: deflate(JSON.stringify(data.eachEntityId)\n .replace(/[\\u007F-\\uFFFF]/g, function (chr) { // Produce only ASCII-chars, so that the data can be inflated later\n return \"\\\\u\" + (\"0000\" + chr.charCodeAt(0).toString(16)).substr(-4)\n })),\n eachEntityMeshesPortion: deflate(data.eachEntityMeshesPortion.buffer),\n eachTileAABB: deflate(data.eachTileAABB.buffer),\n eachTileEntitiesPortion: deflate(data.eachTileEntitiesPortion.buffer)\n };\n}\n\nfunction deflateJSON(strings) {\n return JSON.stringify(strings)\n .replace(/[\\u007F-\\uFFFF]/g, function (chr) { // Produce only ASCII-chars, so that the data can be inflated later\n return \"\\\\u\" + (\"0000\" + chr.charCodeAt(0).toString(16)).substr(-4)\n });\n}\n\nfunction createArrayBuffer(deflatedData) {\n return toArrayBuffer([\n deflatedData.metadata,\n deflatedData.textureData,\n deflatedData.eachTextureDataPortion,\n deflatedData.eachTextureAttributes,\n deflatedData.positions,\n deflatedData.normals,\n deflatedData.colors,\n deflatedData.uvs,\n deflatedData.indices,\n deflatedData.edgeIndices,\n deflatedData.eachTextureSetTextures,\n deflatedData.matrices,\n deflatedData.reusedGeometriesDecodeMatrix,\n deflatedData.eachGeometryPrimitiveType,\n deflatedData.eachGeometryPositionsPortion,\n deflatedData.eachGeometryNormalsPortion,\n deflatedData.eachGeometryColorsPortion,\n deflatedData.eachGeometryUVsPortion,\n deflatedData.eachGeometryIndicesPortion,\n deflatedData.eachGeometryEdgeIndicesPortion,\n deflatedData.eachMeshGeometriesPortion,\n deflatedData.eachMeshMatricesPortion,\n deflatedData.eachMeshTextureSet,\n deflatedData.eachMeshMaterialAttributes,\n deflatedData.eachEntityId,\n deflatedData.eachEntityMeshesPortion,\n deflatedData.eachTileAABB,\n deflatedData.eachTileEntitiesPortion\n ]);\n}\n\nfunction toArrayBuffer(elements) {\n const indexData = new Uint32Array(elements.length + 2);\n indexData[0] = 10; // XKT_VERSION for legacy v10 mode\n indexData [1] = elements.length; // Stored Data 1.1: number of stored elements\n let dataLen = 0; // Stored Data 1.2: length of stored elements\n for (let i = 0, len = elements.length; i < len; i++) {\n const element = elements[i];\n const elementsize = element.length;\n indexData[i + 2] = elementsize;\n dataLen += elementsize;\n }\n const indexBuf = new Uint8Array(indexData.buffer);\n const dataArray = new Uint8Array(indexBuf.length + dataLen);\n dataArray.set(indexBuf);\n let offset = indexBuf.length;\n for (let i = 0, len = elements.length; i < len; i++) { // Stored Data 2: the elements themselves\n const element = elements[i];\n dataArray.set(element, offset);\n offset += element.length;\n }\n return dataArray.buffer;\n}\n\nexport {writeXKTModelToArrayBuffer};", "static": true, "longname": "/home/lindsay/xeolabs/xeokit-convert-mar14/src/XKTModel/writeXKTModelToArrayBuffer.js", "access": "public", @@ -7325,6 +7325,49 @@ { "__docId__": 303, "kind": "function", + "name": "writeXKTModelToArrayBufferUncompressed", + "memberof": "src/XKTModel/writeXKTModelToArrayBuffer.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/XKTModel/writeXKTModelToArrayBuffer.js~writeXKTModelToArrayBufferUncompressed", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/XKTModel/writeXKTModelToArrayBuffer.js", + "importStyle": null, + "description": null, + "lineNumber": 30, + "undocument": true, + "params": [ + { + "name": "xktModel", + "types": [ + "*" + ] + }, + { + "name": "metaModelJSON", + "types": [ + "*" + ] + }, + { + "name": "stats", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 304, + "kind": "function", "name": "getModelData", "memberof": "src/XKTModel/writeXKTModelToArrayBuffer.js", "generator": false, @@ -7336,7 +7379,7 @@ "importPath": "@xeokit/xeokit-convert/src/XKTModel/writeXKTModelToArrayBuffer.js", "importStyle": null, "description": null, - "lineNumber": 26, + "lineNumber": 130, "undocument": true, "params": [ { @@ -7366,7 +7409,7 @@ "ignore": true }, { - "__docId__": 304, + "__docId__": 305, "kind": "function", "name": "deflateData", "memberof": "src/XKTModel/writeXKTModelToArrayBuffer.js", @@ -7379,7 +7422,7 @@ "importPath": "@xeokit/xeokit-convert/src/XKTModel/writeXKTModelToArrayBuffer.js", "importStyle": null, "description": null, - "lineNumber": 349, + "lineNumber": 453, "undocument": true, "params": [ { @@ -7409,7 +7452,7 @@ "ignore": true }, { - "__docId__": 305, + "__docId__": 306, "kind": "function", "name": "deflateJSON", "memberof": "src/XKTModel/writeXKTModelToArrayBuffer.js", @@ -7422,7 +7465,7 @@ "importPath": "@xeokit/xeokit-convert/src/XKTModel/writeXKTModelToArrayBuffer.js", "importStyle": null, "description": null, - "lineNumber": 399, + "lineNumber": 503, "undocument": true, "params": [ { @@ -7440,7 +7483,7 @@ "ignore": true }, { - "__docId__": 306, + "__docId__": 307, "kind": "function", "name": "createArrayBuffer", "memberof": "src/XKTModel/writeXKTModelToArrayBuffer.js", @@ -7453,7 +7496,7 @@ "importPath": "@xeokit/xeokit-convert/src/XKTModel/writeXKTModelToArrayBuffer.js", "importStyle": null, "description": null, - "lineNumber": 406, + "lineNumber": 510, "undocument": true, "params": [ { @@ -7471,7 +7514,7 @@ "ignore": true }, { - "__docId__": 307, + "__docId__": 308, "kind": "function", "name": "toArrayBuffer", "memberof": "src/XKTModel/writeXKTModelToArrayBuffer.js", @@ -7484,7 +7527,7 @@ "importPath": "@xeokit/xeokit-convert/src/XKTModel/writeXKTModelToArrayBuffer.js", "importStyle": null, "description": null, - "lineNumber": 439, + "lineNumber": 543, "undocument": true, "params": [ { @@ -7502,7 +7545,7 @@ "ignore": true }, { - "__docId__": 308, + "__docId__": 309, "kind": "function", "name": "writeXKTModelToArrayBuffer", "memberof": "src/XKTModel/writeXKTModelToArrayBuffer.js", @@ -7586,10 +7629,10 @@ } }, { - "__docId__": 309, + "__docId__": 310, "kind": "file", "name": "src/XKT_INFO.js", - "content": "/**\n * @desc Provides info on the XKT generated by xeokit-convert.\n */\nconst XKT_INFO = {\n\n /**\n * The XKT version generated by xeokit-convert.\n *\n * This is the XKT version that's modeled by {@link XKTModel}, serialized\n * by {@link writeXKTModelToArrayBuffer}, and written by {@link convert2xkt}.\n *\n * * Current XKT version: **10**\n * * [XKT format specs](https://github.com/xeokit/xeokit-convert/blob/main/specs/index.md)\n *\n * @property xktVersion\n * @type {number}\n */\n xktVersion: 10\n};\n\nexport {XKT_INFO};", + "content": "/**\n * @desc Provides info on the XKT generated by xeokit-convert.\n */\nconst XKT_INFO = {\n\n /**\n * The XKT version generated by xeokit-convert.\n *\n * This is the XKT version that's modeled by {@link XKTModel}, serialized\n * by {@link writeXKTModelToArrayBuffer}, and written by {@link convert2xkt}.\n *\n * * Current XKT version: **10**\n * * [XKT format specs](https://github.com/xeokit/xeokit-convert/blob/main/specs/index.md)\n *\n * @property xktVersion\n * @type {number}\n */\n xktVersion: 11\n};\n\nexport {XKT_INFO};", "static": true, "longname": "/home/lindsay/xeolabs/xeokit-convert-mar14/src/XKT_INFO.js", "access": "public", @@ -7597,7 +7640,7 @@ "lineNumber": 1 }, { - "__docId__": 310, + "__docId__": 311, "kind": "variable", "name": "XKT_INFO", "memberof": "src/XKT_INFO.js", @@ -7616,7 +7659,7 @@ } }, { - "__docId__": 311, + "__docId__": 312, "kind": "file", "name": "src/constants.js", "content": "/*----------------------------------------------------------------------------------------------------------------------\n * NOTE: The values of these constants must match those within xeokit-sdk\n *--------------------------------------------------------------------------------------------------------------------*/\n\n/**\n * Texture wrapping mode in which the texture repeats to infinity.\n */\nexport const RepeatWrapping = 1000;\n\n/**\n * Texture wrapping mode in which the last pixel of the texture stretches to the edge of the mesh.\n */\nexport const ClampToEdgeWrapping = 1001;\n\n/**\n * Texture wrapping mode in which the texture repeats to infinity, mirroring on each repeat.\n */\nexport const MirroredRepeatWrapping = 1002;\n\n/**\n * Texture magnification and minification filter that returns the nearest texel to the given sample coordinates.\n */\nexport const NearestFilter = 1003;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured and returns the nearest texel to the given sample coordinates.\n */\nexport const NearestMipMapNearestFilter = 1004;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured\n * and returns the nearest texel to the given sample coordinates.\n */\nexport const NearestMipmapNearestFilter = 1004;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured\n * and returns the nearest texel to the center of the pixel at the given sample coordinates.\n */\nexport const NearestMipmapLinearFilter = 1005;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured\n * and returns the nearest texel to the center of the pixel at the given sample coordinates.\n */\nexport const NearestMipMapLinearFilter = 1005;\n\n/**\n * Texture magnification and minification filter that returns the weighted average of the four nearest texels to the given sample coordinates.\n */\nexport const LinearFilter = 1006;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured and\n * returns the weighted average of the four nearest texels to the given sample coordinates.\n */\nexport const LinearMipmapNearestFilter = 1007;\n\n/**\n * Texture minification filter that chooses the mipmap that most closely matches the size of the pixel being textured and\n * returns the weighted average of the four nearest texels to the given sample coordinates.\n */\nexport const LinearMipMapNearestFilter = 1007;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured,\n * finds within each mipmap the weighted average of the nearest texel to the center of the pixel, then returns the\n * weighted average of those two values.\n */\nexport const LinearMipmapLinearFilter = 1008;\n\n/**\n * Texture minification filter that chooses two mipmaps that most closely match the size of the pixel being textured,\n * finds within each mipmap the weighted average of the nearest texel to the center of the pixel, then returns the\n * weighted average of those two values.\n */\nexport const LinearMipMapLinearFilter = 1008;\n\n/**\n * Media type for GIF images.\n */\nexport const GIFMediaType = 10000;\n\n/**\n * Media type for JPEG images.\n */\nexport const JPEGMediaType = 10001;\n\n/**\n * Media type for PNG images.\n */\nexport const PNGMediaType = 10002;", @@ -7627,7 +7670,7 @@ "lineNumber": 1 }, { - "__docId__": 312, + "__docId__": 313, "kind": "variable", "name": "RepeatWrapping", "memberof": "src/constants.js", @@ -7646,7 +7689,7 @@ } }, { - "__docId__": 313, + "__docId__": 314, "kind": "variable", "name": "ClampToEdgeWrapping", "memberof": "src/constants.js", @@ -7665,7 +7708,7 @@ } }, { - "__docId__": 314, + "__docId__": 315, "kind": "variable", "name": "MirroredRepeatWrapping", "memberof": "src/constants.js", @@ -7684,7 +7727,7 @@ } }, { - "__docId__": 315, + "__docId__": 316, "kind": "variable", "name": "NearestFilter", "memberof": "src/constants.js", @@ -7703,7 +7746,7 @@ } }, { - "__docId__": 316, + "__docId__": 317, "kind": "variable", "name": "NearestMipMapNearestFilter", "memberof": "src/constants.js", @@ -7722,7 +7765,7 @@ } }, { - "__docId__": 317, + "__docId__": 318, "kind": "variable", "name": "NearestMipmapNearestFilter", "memberof": "src/constants.js", @@ -7741,7 +7784,7 @@ } }, { - "__docId__": 318, + "__docId__": 319, "kind": "variable", "name": "NearestMipmapLinearFilter", "memberof": "src/constants.js", @@ -7760,7 +7803,7 @@ } }, { - "__docId__": 319, + "__docId__": 320, "kind": "variable", "name": "NearestMipMapLinearFilter", "memberof": "src/constants.js", @@ -7779,7 +7822,7 @@ } }, { - "__docId__": 320, + "__docId__": 321, "kind": "variable", "name": "LinearFilter", "memberof": "src/constants.js", @@ -7798,7 +7841,7 @@ } }, { - "__docId__": 321, + "__docId__": 322, "kind": "variable", "name": "LinearMipmapNearestFilter", "memberof": "src/constants.js", @@ -7817,7 +7860,7 @@ } }, { - "__docId__": 322, + "__docId__": 323, "kind": "variable", "name": "LinearMipMapNearestFilter", "memberof": "src/constants.js", @@ -7836,7 +7879,7 @@ } }, { - "__docId__": 323, + "__docId__": 324, "kind": "variable", "name": "LinearMipmapLinearFilter", "memberof": "src/constants.js", @@ -7855,7 +7898,7 @@ } }, { - "__docId__": 324, + "__docId__": 325, "kind": "variable", "name": "LinearMipMapLinearFilter", "memberof": "src/constants.js", @@ -7874,7 +7917,7 @@ } }, { - "__docId__": 325, + "__docId__": 326, "kind": "variable", "name": "GIFMediaType", "memberof": "src/constants.js", @@ -7893,7 +7936,7 @@ } }, { - "__docId__": 326, + "__docId__": 327, "kind": "variable", "name": "JPEGMediaType", "memberof": "src/constants.js", @@ -7912,7 +7955,7 @@ } }, { - "__docId__": 327, + "__docId__": 328, "kind": "variable", "name": "PNGMediaType", "memberof": "src/constants.js", @@ -7931,10 +7974,10 @@ } }, { - "__docId__": 328, + "__docId__": 329, "kind": "file", "name": "src/convert2xkt.js", - "content": "import {XKT_INFO} from \"./XKT_INFO.js\";\nimport {XKTModel} from \"./XKTModel/XKTModel.js\";\nimport {parseCityJSONIntoXKTModel} from \"./parsers/parseCityJSONIntoXKTModel.js\";\nimport {parseGLTFIntoXKTModel} from \"./parsers/parseGLTFIntoXKTModel.js\";\nimport {parseIFCIntoXKTModel} from \"./parsers/parseIFCIntoXKTModel.js\";\nimport {parseLASIntoXKTModel} from \"./parsers/parseLASIntoXKTModel.js\";\nimport {parsePCDIntoXKTModel} from \"./parsers/parsePCDIntoXKTModel.js\";\nimport {parsePLYIntoXKTModel} from \"./parsers/parsePLYIntoXKTModel.js\";\nimport {parseSTLIntoXKTModel} from \"./parsers/parseSTLIntoXKTModel.js\";\nimport {writeXKTModelToArrayBuffer} from \"./XKTModel/writeXKTModelToArrayBuffer.js\";\n\nimport {toArrayBuffer} from \"./XKTModel/lib/toArraybuffer\";\n\nconst fs = require('fs');\nconst path = require(\"path\");\n\n/**\n * Converts model files into xeokit's native XKT format.\n *\n * Supported source formats are: IFC, CityJSON, glTF, LAZ and LAS.\n *\n * **Only bundled in xeokit-convert.cjs.js.**\n *\n * ## Usage\n *\n * ````javascript\n * const convert2xkt = require(\"@xeokit/xeokit-convert/dist/convert2xkt.cjs.js\");\n * const fs = require('fs');\n *\n * convert2xkt({\n * sourceData: fs.readFileSync(\"rme_advanced_sample_project.ifc\"),\n * outputXKT: (xtkArrayBuffer) => {\n * fs.writeFileSync(\"rme_advanced_sample_project.ifc.xkt\", xtkArrayBuffer);\n * }\n * }).then(() => {\n * console.log(\"Converted.\");\n * }, (errMsg) => {\n * console.error(\"Conversion failed: \" + errMsg)\n * });\n ````\n * @param {Object} params Conversion parameters.\n * @param {Object} params.WebIFC The WebIFC library. We pass this in as an external dependency, in order to give the\n * caller the choice of whether to use the Browser or NodeJS version.\n * @param {*} [params.configs] Configurations.\n * @param {String} [params.source] Path to source file. Alternative to ````sourceData````.\n * @param {ArrayBuffer|JSON} [params.sourceData] Source file data. Alternative to ````source````.\n * @param {String} [params.sourceFormat] Format of source file/data. Always needed with ````sourceData````, but not normally needed with ````source````, because convert2xkt will determine the format automatically from the file extension of ````source````.\n * @param {String} [params.metaModelDataStr] Source file data. Overrides metadata from ````metaModelSource````, ````sourceData```` and ````source````.\n * @param {String} [params.metaModelSource] Path to source metaModel file. Overrides metadata from ````sourceData```` and ````source````. Overridden by ````metaModelData````.\n * @param {String} [params.output] Path to destination XKT file. Directories on this path are automatically created if not existing.\n * @param {Function} [params.outputXKTModel] Callback to collect the ````XKTModel```` that is internally build by this method.\n * @param {Function} [params.outputXKT] Callback to collect XKT file data.\n * @param {String[]} [params.includeTypes] Option to only convert objects of these types.\n * @param {String[]} [params.excludeTypes] Option to never convert objects of these types.\n * @param {Object} [stats] Collects conversion statistics. Statistics are attached to this object if provided.\n * @param {Function} [params.outputStats] Callback to collect statistics.\n * @param {Boolean} [params.rotateX=false] Whether to rotate the model 90 degrees about the X axis to make the Y axis \"up\", if necessary. Applies to CityJSON and LAS/LAZ models.\n * @param {Boolean} [params.reuseGeometries=true] When true, will enable geometry reuse within the XKT. When false,\n * will automatically \"expand\" all reused geometries into duplicate copies. This has the drawback of increasing the XKT\n * file size (~10-30% for typical models), but can make the model more responsive in the xeokit Viewer, especially if the model\n * has excessive geometry reuse. An example of excessive geometry reuse would be when a model (eg. glTF) has 4000 geometries that are\n * shared amongst 2000 objects, ie. a large number of geometries with a low amount of reuse, which can present a\n * pathological performance case for xeokit's underlying graphics APIs (WebGL, WebGPU etc).\n * @param {Boolean} [params.includeTextures=true] Whether to convert textures. Only works for ````glTF```` models.\n * @param {Boolean} [params.includeNormals=true] Whether to convert normals. When false, the parser will ignore\n * geometry normals, and the modelwill rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the model.\n * @param {Number} [params.minTileSize=200] Minimum RTC coordinate tile size. Set this to a value between 100 and 10000,\n * depending on how far from the coordinate origin the model's vertex positions are; specify larger tile sizes when close\n * to the origin, and smaller sizes when distant. This compensates for decreasing precision as floats get bigger.\n * @param {Function} [params.log] Logging callback.\n * @return {Promise}\n */\nfunction convert2xkt({\n WebIFC,\n configs = {},\n source,\n sourceData,\n sourceFormat,\n metaModelSource,\n metaModelDataStr,\n modelAABB,\n output,\n outputXKTModel,\n outputXKT,\n includeTypes,\n excludeTypes,\n reuseGeometries = true,\n minTileSize = 200,\n stats = {},\n outputStats,\n rotateX = false,\n includeTextures = true,\n includeNormals = true,\n log = function (msg) {\n }\n }) {\n\n stats.sourceFormat = \"\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 0;\n stats.numPropertySets = 0;\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numUVs = 0;\n stats.numTextures = 0;\n stats.numTextureSets = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n stats.sourceSize = 0;\n stats.xktSize = 0;\n stats.texturesSize = 0;\n stats.xktVersion = \"\";\n stats.compressionRatio = 0;\n stats.conversionTime = 0;\n stats.aabb = null;\n\n function getFileExtension(fileName) {\n let ext = path.extname(fileName);\n if (ext.charAt(0) === \".\") {\n ext = ext.substring(1);\n }\n return ext;\n }\n\n return new Promise(function (resolve, reject) {\n const _log = log;\n log = (msg) => {\n _log(`[convert2xkt] ${msg}`)\n }\n\n if (!source && !sourceData) {\n reject(\"Argument expected: source or sourceData\");\n return;\n }\n\n if (!sourceFormat && sourceData) {\n reject(\"Argument expected: sourceFormat is required with sourceData\");\n return;\n }\n\n if (!output && !outputXKTModel && !outputXKT) {\n reject(\"Argument expected: output, outputXKTModel or outputXKT\");\n return;\n }\n\n if (source) {\n log('Reading input file: ' + source);\n }\n\n const startTime = new Date();\n\n const sourceConfigs = configs.sourceConfigs || {};\n const ext = sourceFormat || getFileExtension(source);\n\n log(`Input file extension: \"${ext}\"`);\n\n let fileTypeConfigs = sourceConfigs[ext];\n\n if (!fileTypeConfigs) {\n log(`[WARNING] Could not find configs sourceConfigs entry for source format \"${ext}\". This is derived from the source file name extension. Will use internal default configs.`);\n fileTypeConfigs = {};\n }\n\n function overrideOption(option1, option2) {\n if (option1 !== undefined) {\n return option1;\n }\n return option2;\n }\n\n if (!sourceData) {\n try {\n sourceData = fs.readFileSync(source);\n } catch (err) {\n reject(err);\n return;\n }\n }\n\n const sourceFileSizeBytes = sourceData.byteLength;\n\n log(\"Input file size: \" + (sourceFileSizeBytes / 1000).toFixed(2) + \" kB\");\n\n if (!metaModelDataStr && metaModelSource) {\n log('Reading input metadata file: ' + metaModelSource);\n try {\n metaModelDataStr = fs.readFileSync(metaModelSource);\n } catch (err) {\n reject(err);\n return;\n }\n } else {\n log(`Not embedding metadata in XKT`);\n }\n\n let metaModelJSON;\n\n if (metaModelDataStr) {\n try {\n metaModelJSON = JSON.parse(metaModelDataStr);\n } catch (e) {\n metaModelJSON = {};\n log(`Error parsing metadata JSON: ${e}`);\n }\n }\n\n minTileSize = overrideOption(fileTypeConfigs.minTileSize, minTileSize);\n rotateX = overrideOption(fileTypeConfigs.rotateX, rotateX);\n reuseGeometries = overrideOption(fileTypeConfigs.reuseGeometries, reuseGeometries);\n includeTextures = overrideOption(fileTypeConfigs.includeTextures, includeTextures);\n includeNormals = overrideOption(fileTypeConfigs.includeNormals, includeNormals);\n includeTypes = overrideOption(fileTypeConfigs.includeTypes, includeTypes);\n excludeTypes = overrideOption(fileTypeConfigs.excludeTypes, excludeTypes);\n\n if (reuseGeometries === false) {\n log(\"Geometry reuse is disabled\");\n }\n\n const xktModel = new XKTModel({\n minTileSize,\n modelAABB\n });\n\n switch (ext) {\n case \"json\":\n convert(parseCityJSONIntoXKTModel, {\n data: JSON.parse(sourceData),\n xktModel,\n stats,\n rotateX,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n log\n });\n break;\n\n case \"glb\":\n sourceData = toArrayBuffer(sourceData);\n convert(parseGLTFIntoXKTModel, {\n data: sourceData,\n reuseGeometries,\n includeTextures: true,\n includeNormals,\n metaModelData: metaModelJSON,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"gltf\":\n sourceData = toArrayBuffer(sourceData);\n const gltfBasePath = source ? path.dirname(source) : \"\";\n convert(parseGLTFIntoXKTModel, {\n baseUri: gltfBasePath,\n data: sourceData,\n reuseGeometries,\n includeTextures: true,\n includeNormals,\n metaModelData: metaModelJSON,\n xktModel,\n stats,\n log\n });\n break;\n\n // case \"gltf\":\n // const gltfJSON = JSON.parse(sourceData);\n // const gltfBasePath = source ? getBasePath(source) : \"\";\n // convert(parseGLTFIntoXKTModel, {\n // baseUri: gltfBasePath,\n // data: gltfJSON,\n // reuseGeometries,\n // includeTextures,\n // includeNormals,\n // metaModelData: metaModelJSON,\n // xktModel,\n // getAttachment: async (name) => {\n // const filePath = gltfBasePath + name;\n // log(`Reading attachment file: ${filePath}`);\n // const buffer = fs.readFileSync(filePath);\n // const arrayBuf = toArrayBuffer(buffer);\n // return arrayBuf;\n // },\n // stats,\n // log\n // });\n // break;\n\n case \"ifc\":\n convert(parseIFCIntoXKTModel, {\n WebIFC,\n data: sourceData,\n xktModel,\n wasmPath: \"./\",\n includeTypes,\n excludeTypes,\n stats,\n log\n });\n break;\n\n case \"laz\":\n convert(parseLASIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n fp64: fileTypeConfigs.fp64,\n colorDepth: fileTypeConfigs.colorDepth,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n skip: overrideOption(fileTypeConfigs.skip, 1),\n log\n });\n break;\n\n case \"las\":\n convert(parseLASIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n fp64: fileTypeConfigs.fp64,\n colorDepth: fileTypeConfigs.colorDepth,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n skip: overrideOption(fileTypeConfigs.skip, 1),\n log\n });\n break;\n\n case \"pcd\":\n convert(parsePCDIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"ply\":\n convert(parsePLYIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"stl\":\n convert(parseSTLIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n default:\n reject(`Error: unsupported source format: \"${ext}\".`);\n return;\n }\n\n function convert(parser, converterParams) {\n\n parser(converterParams).then(() => {\n\n if (!metaModelJSON) {\n log(\"Creating default metamodel in XKT\");\n xktModel.createDefaultMetaObjects();\n }\n\n log(\"Input file parsed OK. Building XKT document...\");\n\n xktModel.finalize().then(() => {\n\n log(\"XKT document built OK. Writing to XKT file...\");\n\n const xktArrayBuffer = writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, {zip: true});\n\n const xktContent = Buffer.from(xktArrayBuffer);\n\n const targetFileSizeBytes = xktArrayBuffer.byteLength;\n\n stats.minTileSize = minTileSize || 200;\n stats.sourceSize = (sourceFileSizeBytes / 1000).toFixed(2);\n stats.xktSize = (targetFileSizeBytes / 1000).toFixed(2);\n stats.xktVersion = XKT_INFO.xktVersion;\n stats.compressionRatio = (sourceFileSizeBytes / targetFileSizeBytes).toFixed(2);\n stats.conversionTime = ((new Date() - startTime) / 1000.0).toFixed(2);\n stats.aabb = xktModel.aabb;\n log(`Converted to: XKT v${stats.xktVersion}`);\n if (includeTypes) {\n log(\"Include types: \" + (includeTypes ? includeTypes : \"(include all)\"));\n }\n if (excludeTypes) {\n log(\"Exclude types: \" + (excludeTypes ? excludeTypes : \"(exclude none)\"));\n }\n log(\"XKT size: \" + stats.xktSize + \" kB\");\n log(\"XKT textures size: \" + (stats.texturesSize / 1000).toFixed(2) + \"kB\");\n log(\"Compression ratio: \" + stats.compressionRatio);\n log(\"Conversion time: \" + stats.conversionTime + \" s\");\n log(\"Converted metaobjects: \" + stats.numMetaObjects);\n log(\"Converted property sets: \" + stats.numPropertySets);\n log(\"Converted drawable objects: \" + stats.numObjects);\n log(\"Converted geometries: \" + stats.numGeometries);\n log(\"Converted textures: \" + stats.numTextures);\n log(\"Converted textureSets: \" + stats.numTextureSets);\n log(\"Converted triangles: \" + stats.numTriangles);\n log(\"Converted vertices: \" + stats.numVertices);\n log(\"Converted UVs: \" + stats.numUVs);\n log(\"Converted normals: \" + stats.numNormals);\n log(\"Converted tiles: \" + xktModel.tilesList.length);\n log(\"minTileSize: \" + stats.minTileSize);\n\n if (output) {\n const outputDir = path.dirname(output);\n if (outputDir !== \"\" && !fs.existsSync(outputDir)) {\n fs.mkdirSync(outputDir, {recursive: true});\n }\n log('Writing XKT file: ' + output);\n fs.writeFileSync(output, xktContent);\n }\n\n if (outputXKTModel) {\n outputXKTModel(xktModel);\n }\n\n if (outputXKT) {\n outputXKT(xktContent);\n }\n\n if (outputStats) {\n outputStats(stats);\n }\n\n resolve();\n });\n }, (err) => {\n reject(err);\n });\n }\n });\n}\n\nexport {convert2xkt};", + "content": "import {XKT_INFO} from \"./XKT_INFO.js\";\nimport {XKTModel} from \"./XKTModel/XKTModel.js\";\nimport {parseCityJSONIntoXKTModel} from \"./parsers/parseCityJSONIntoXKTModel.js\";\nimport {parseGLTFIntoXKTModel} from \"./parsers/parseGLTFIntoXKTModel.js\";\nimport {parseIFCIntoXKTModel} from \"./parsers/parseIFCIntoXKTModel.js\";\nimport {parseLASIntoXKTModel} from \"./parsers/parseLASIntoXKTModel.js\";\nimport {parsePCDIntoXKTModel} from \"./parsers/parsePCDIntoXKTModel.js\";\nimport {parsePLYIntoXKTModel} from \"./parsers/parsePLYIntoXKTModel.js\";\nimport {parseSTLIntoXKTModel} from \"./parsers/parseSTLIntoXKTModel.js\";\nimport {writeXKTModelToArrayBuffer} from \"./XKTModel/writeXKTModelToArrayBuffer.js\";\n\nimport {toArrayBuffer} from \"./XKTModel/lib/toArraybuffer\";\n\nconst fs = require('fs');\nconst path = require(\"path\");\n\n/**\n * Converts model files into xeokit's native XKT format.\n *\n * Supported source formats are: IFC, CityJSON, glTF, LAZ and LAS.\n *\n * **Only bundled in xeokit-convert.cjs.js.**\n *\n * ## Usage\n *\n * ````javascript\n * const convert2xkt = require(\"@xeokit/xeokit-convert/dist/convert2xkt.cjs.js\");\n * const fs = require('fs');\n *\n * convert2xkt({\n * sourceData: fs.readFileSync(\"rme_advanced_sample_project.ifc\"),\n * outputXKT: (xtkArrayBuffer) => {\n * fs.writeFileSync(\"rme_advanced_sample_project.ifc.xkt\", xtkArrayBuffer);\n * }\n * }).then(() => {\n * console.log(\"Converted.\");\n * }, (errMsg) => {\n * console.error(\"Conversion failed: \" + errMsg)\n * });\n ````\n * @param {Object} params Conversion parameters.\n * @param {Object} params.WebIFC The WebIFC library. We pass this in as an external dependency, in order to give the\n * caller the choice of whether to use the Browser or NodeJS version.\n * @param {*} [params.configs] Configurations.\n * @param {String} [params.source] Path to source file. Alternative to ````sourceData````.\n * @param {ArrayBuffer|JSON} [params.sourceData] Source file data. Alternative to ````source````.\n * @param {String} [params.sourceFormat] Format of source file/data. Always needed with ````sourceData````, but not normally needed with ````source````, because convert2xkt will determine the format automatically from the file extension of ````source````.\n * @param {String} [params.metaModelDataStr] Source file data. Overrides metadata from ````metaModelSource````, ````sourceData```` and ````source````.\n * @param {String} [params.metaModelSource] Path to source metaModel file. Overrides metadata from ````sourceData```` and ````source````. Overridden by ````metaModelData````.\n * @param {String} [params.output] Path to destination XKT file. Directories on this path are automatically created if not existing.\n * @param {Function} [params.outputXKTModel] Callback to collect the ````XKTModel```` that is internally build by this method.\n * @param {Function} [params.outputXKT] Callback to collect XKT file data.\n * @param {String[]} [params.includeTypes] Option to only convert objects of these types.\n * @param {String[]} [params.excludeTypes] Option to never convert objects of these types.\n * @param {Object} [stats] Collects conversion statistics. Statistics are attached to this object if provided.\n * @param {Function} [params.outputStats] Callback to collect statistics.\n * @param {Boolean} [params.rotateX=false] Whether to rotate the model 90 degrees about the X axis to make the Y axis \"up\", if necessary. Applies to CityJSON and LAS/LAZ models.\n * @param {Boolean} [params.reuseGeometries=true] When true, will enable geometry reuse within the XKT. When false,\n * will automatically \"expand\" all reused geometries into duplicate copies. This has the drawback of increasing the XKT\n * file size (~10-30% for typical models), but can make the model more responsive in the xeokit Viewer, especially if the model\n * has excessive geometry reuse. An example of excessive geometry reuse would be when a model (eg. glTF) has 4000 geometries that are\n * shared amongst 2000 objects, ie. a large number of geometries with a low amount of reuse, which can present a\n * pathological performance case for xeokit's underlying graphics APIs (WebGL, WebGPU etc).\n * @param {Boolean} [params.includeTextures=true] Whether to convert textures. Only works for ````glTF```` models.\n * @param {Boolean} [params.includeNormals=true] Whether to convert normals. When false, the parser will ignore\n * geometry normals, and the modelwill rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the model.\n * @param {Number} [params.minTileSize=200] Minimum RTC coordinate tile size. Set this to a value between 100 and 10000,\n * depending on how far from the coordinate origin the model's vertex positions are; specify larger tile sizes when close\n * to the origin, and smaller sizes when distant. This compensates for decreasing precision as floats get bigger.\n * @param {Function} [params.log] Logging callback.\n * @return {Promise}\n */\nfunction convert2xkt({\n WebIFC,\n configs = {},\n source,\n sourceData,\n sourceFormat,\n metaModelSource,\n metaModelDataStr,\n modelAABB,\n output,\n outputXKTModel,\n outputXKT,\n includeTypes,\n excludeTypes,\n reuseGeometries = true,\n minTileSize = 200,\n stats = {},\n outputStats,\n rotateX = false,\n includeTextures = true,\n includeNormals = true,\n zip = true,\n log = function (msg) {\n }\n }) {\n\n stats.sourceFormat = \"\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 0;\n stats.numPropertySets = 0;\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numUVs = 0;\n stats.numTextures = 0;\n stats.numTextureSets = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n stats.sourceSize = 0;\n stats.xktSize = 0;\n stats.texturesSize = 0;\n stats.xktVersion = \"\";\n stats.compressionRatio = 0;\n stats.conversionTime = 0;\n stats.aabb = null;\n\n function getFileExtension(fileName) {\n let ext = path.extname(fileName);\n if (ext.charAt(0) === \".\") {\n ext = ext.substring(1);\n }\n return ext;\n }\n\n return new Promise(function (resolve, reject) {\n const _log = log;\n log = (msg) => {\n _log(`[convert2xkt] ${msg}`)\n }\n\n if (!source && !sourceData) {\n reject(\"Argument expected: source or sourceData\");\n return;\n }\n\n if (!sourceFormat && sourceData) {\n reject(\"Argument expected: sourceFormat is required with sourceData\");\n return;\n }\n\n if (!output && !outputXKTModel && !outputXKT) {\n reject(\"Argument expected: output, outputXKTModel or outputXKT\");\n return;\n }\n\n if (source) {\n log('Reading input file: ' + source);\n }\n\n const startTime = new Date();\n\n const sourceConfigs = configs.sourceConfigs || {};\n const ext = sourceFormat || getFileExtension(source);\n\n log(`Input file extension: \"${ext}\"`);\n\n let fileTypeConfigs = sourceConfigs[ext];\n\n if (!fileTypeConfigs) {\n log(`[WARNING] Could not find configs sourceConfigs entry for source format \"${ext}\". This is derived from the source file name extension. Will use internal default configs.`);\n fileTypeConfigs = {};\n }\n\n function overrideOption(option1, option2) {\n if (option1 !== undefined) {\n return option1;\n }\n return option2;\n }\n\n if (!sourceData) {\n try {\n sourceData = fs.readFileSync(source);\n } catch (err) {\n reject(err);\n return;\n }\n }\n\n const sourceFileSizeBytes = sourceData.byteLength;\n\n log(\"Input file size: \" + (sourceFileSizeBytes / 1000).toFixed(2) + \" kB\");\n\n if (!metaModelDataStr && metaModelSource) {\n log('Reading input metadata file: ' + metaModelSource);\n try {\n metaModelDataStr = fs.readFileSync(metaModelSource);\n } catch (err) {\n reject(err);\n return;\n }\n } else {\n log(`Not embedding metadata in XKT`);\n }\n\n let metaModelJSON;\n\n if (metaModelDataStr) {\n try {\n metaModelJSON = JSON.parse(metaModelDataStr);\n } catch (e) {\n metaModelJSON = {};\n log(`Error parsing metadata JSON: ${e}`);\n }\n }\n\n minTileSize = overrideOption(fileTypeConfigs.minTileSize, minTileSize);\n rotateX = overrideOption(fileTypeConfigs.rotateX, rotateX);\n reuseGeometries = overrideOption(fileTypeConfigs.reuseGeometries, reuseGeometries);\n includeTextures = overrideOption(fileTypeConfigs.includeTextures, includeTextures);\n includeNormals = overrideOption(fileTypeConfigs.includeNormals, includeNormals);\n includeTypes = overrideOption(fileTypeConfigs.includeTypes, includeTypes);\n excludeTypes = overrideOption(fileTypeConfigs.excludeTypes, excludeTypes);\n\n if (reuseGeometries === false) {\n log(\"Geometry reuse is disabled\");\n }\n\n const xktModel = new XKTModel({\n minTileSize,\n modelAABB\n });\n\n switch (ext) {\n case \"json\":\n convert(parseCityJSONIntoXKTModel, {\n data: JSON.parse(sourceData),\n xktModel,\n stats,\n rotateX,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n log\n });\n break;\n\n case \"glb\":\n sourceData = toArrayBuffer(sourceData);\n convert(parseGLTFIntoXKTModel, {\n data: sourceData,\n reuseGeometries,\n includeTextures: true,\n includeNormals,\n metaModelData: metaModelJSON,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"gltf\":\n sourceData = toArrayBuffer(sourceData);\n const gltfBasePath = source ? path.dirname(source) : \"\";\n convert(parseGLTFIntoXKTModel, {\n baseUri: gltfBasePath,\n data: sourceData,\n reuseGeometries,\n includeTextures: true,\n includeNormals,\n metaModelData: metaModelJSON,\n xktModel,\n stats,\n log\n });\n break;\n\n // case \"gltf\":\n // const gltfJSON = JSON.parse(sourceData);\n // const gltfBasePath = source ? getBasePath(source) : \"\";\n // convert(parseGLTFIntoXKTModel, {\n // baseUri: gltfBasePath,\n // data: gltfJSON,\n // reuseGeometries,\n // includeTextures,\n // includeNormals,\n // metaModelData: metaModelJSON,\n // xktModel,\n // getAttachment: async (name) => {\n // const filePath = gltfBasePath + name;\n // log(`Reading attachment file: ${filePath}`);\n // const buffer = fs.readFileSync(filePath);\n // const arrayBuf = toArrayBuffer(buffer);\n // return arrayBuf;\n // },\n // stats,\n // log\n // });\n // break;\n\n case \"ifc\":\n convert(parseIFCIntoXKTModel, {\n WebIFC,\n data: sourceData,\n xktModel,\n wasmPath: \"./\",\n includeTypes,\n excludeTypes,\n stats,\n log\n });\n break;\n\n case \"laz\":\n convert(parseLASIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n fp64: fileTypeConfigs.fp64,\n colorDepth: fileTypeConfigs.colorDepth,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n skip: overrideOption(fileTypeConfigs.skip, 1),\n log\n });\n break;\n\n case \"las\":\n convert(parseLASIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n fp64: fileTypeConfigs.fp64,\n colorDepth: fileTypeConfigs.colorDepth,\n center: fileTypeConfigs.center,\n transform: fileTypeConfigs.transform,\n skip: overrideOption(fileTypeConfigs.skip, 1),\n log\n });\n break;\n\n case \"pcd\":\n convert(parsePCDIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"ply\":\n convert(parsePLYIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n case \"stl\":\n convert(parseSTLIntoXKTModel, {\n data: sourceData,\n xktModel,\n stats,\n log\n });\n break;\n\n default:\n reject(`Error: unsupported source format: \"${ext}\".`);\n return;\n }\n\n function convert(parser, converterParams) {\n\n parser(converterParams).then(() => {\n\n if (!metaModelJSON) {\n log(\"Creating default metamodel in XKT\");\n xktModel.createDefaultMetaObjects();\n }\n\n log(\"Input file parsed OK. Building XKT document...\");\n\n xktModel.finalize().then(() => {\n\n log(\"XKT document built OK. Writing to XKT file...\");\n\n const xktArrayBuffer = writeXKTModelToArrayBuffer(xktModel, metaModelJSON, stats, {zip: zip});\n\n const xktContent = Buffer.from(xktArrayBuffer);\n\n const targetFileSizeBytes = xktArrayBuffer.byteLength;\n\n stats.minTileSize = minTileSize || 200;\n stats.sourceSize = (sourceFileSizeBytes / 1000).toFixed(2);\n stats.xktSize = (targetFileSizeBytes / 1000).toFixed(2);\n stats.xktVersion = zip ? 10 : XKT_INFO.xktVersion;\n stats.compressionRatio = (sourceFileSizeBytes / targetFileSizeBytes).toFixed(2);\n stats.conversionTime = ((new Date() - startTime) / 1000.0).toFixed(2);\n stats.aabb = xktModel.aabb;\n log(`Converted to: XKT v${stats.xktVersion}`);\n if (includeTypes) {\n log(\"Include types: \" + (includeTypes ? includeTypes : \"(include all)\"));\n }\n if (excludeTypes) {\n log(\"Exclude types: \" + (excludeTypes ? excludeTypes : \"(exclude none)\"));\n }\n log(\"XKT size: \" + stats.xktSize + \" kB\");\n log(\"XKT textures size: \" + (stats.texturesSize / 1000).toFixed(2) + \"kB\");\n log(\"Compression ratio: \" + stats.compressionRatio);\n log(\"Conversion time: \" + stats.conversionTime + \" s\");\n log(\"Converted metaobjects: \" + stats.numMetaObjects);\n log(\"Converted property sets: \" + stats.numPropertySets);\n log(\"Converted drawable objects: \" + stats.numObjects);\n log(\"Converted geometries: \" + stats.numGeometries);\n log(\"Converted textures: \" + stats.numTextures);\n log(\"Converted textureSets: \" + stats.numTextureSets);\n log(\"Converted triangles: \" + stats.numTriangles);\n log(\"Converted vertices: \" + stats.numVertices);\n log(\"Converted UVs: \" + stats.numUVs);\n log(\"Converted normals: \" + stats.numNormals);\n log(\"Converted tiles: \" + xktModel.tilesList.length);\n log(\"minTileSize: \" + stats.minTileSize);\n\n if (output) {\n const outputDir = path.dirname(output);\n if (outputDir !== \"\" && !fs.existsSync(outputDir)) {\n fs.mkdirSync(outputDir, {recursive: true});\n }\n log('Writing XKT file: ' + output);\n fs.writeFileSync(output, xktContent);\n }\n\n if (outputXKTModel) {\n outputXKTModel(xktModel);\n }\n\n if (outputXKT) {\n outputXKT(xktContent);\n }\n\n if (outputStats) {\n outputStats(stats);\n }\n\n resolve();\n });\n }, (err) => {\n reject(err);\n });\n }\n });\n}\n\nexport {convert2xkt};", "static": true, "longname": "/home/lindsay/xeolabs/xeokit-convert-mar14/src/convert2xkt.js", "access": "public", @@ -7942,7 +7985,7 @@ "lineNumber": 1 }, { - "__docId__": 329, + "__docId__": 330, "kind": "function", "name": "convert2xkt", "memberof": "src/convert2xkt.js", @@ -8189,7 +8232,7 @@ } }, { - "__docId__": 330, + "__docId__": 331, "kind": "file", "name": "src/geometryBuilders/buildBoxGeometry.js", "content": "/**\n * @desc Creates box-shaped triangle mesh geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a box-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildBoxGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const box = buildBoxGeometry({\n * primitiveType: \"triangles\" // or \"lines\"\n * center: [0,0,0],\n * xSize: 1, // Half-size on each axis\n * ySize: 1,\n * zSize: 1\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"boxGeometry\",\n * primitiveType: box.primitiveType,\n * positions: box.positions,\n * normals: box.normals,\n * indices: box.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redBoxMesh\",\n * geometryId: \"boxGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redBox\",\n * meshIds: [\"redBoxMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildBoxGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.xSize=1.0] Half-size on the X-axis.\n * @param {Number} [cfg.ySize=1.0] Half-size on the Y-axis.\n * @param {Number} [cfg.zSize=1.0] Half-size on the Z-axis.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildBoxGeometry(cfg = {}) {\n\n let xSize = cfg.xSize || 1;\n if (xSize < 0) {\n console.error(\"negative xSize not allowed - will invert\");\n xSize *= -1;\n }\n\n let ySize = cfg.ySize || 1;\n if (ySize < 0) {\n console.error(\"negative ySize not allowed - will invert\");\n ySize *= -1;\n }\n\n let zSize = cfg.zSize || 1;\n if (zSize < 0) {\n console.error(\"negative zSize not allowed - will invert\");\n zSize *= -1;\n }\n\n const center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const xmin = -xSize + centerX;\n const ymin = -ySize + centerY;\n const zmin = -zSize + centerZ;\n const xmax = xSize + centerX;\n const ymax = ySize + centerY;\n const zmax = zSize + centerZ;\n\n return {\n\n primitiveType: \"triangles\",\n\n // The vertices - eight for our cube, each\n // one spanning three array elements for X,Y and Z\n\n positions: [\n\n // v0-v1-v2-v3 front\n xmax, ymax, zmax,\n xmin, ymax, zmax,\n xmin, ymin, zmax,\n xmax, ymin, zmax,\n\n // v0-v3-v4-v1 right\n xmax, ymax, zmax,\n xmax, ymin, zmax,\n xmax, ymin, zmin,\n xmax, ymax, zmin,\n\n // v0-v1-v6-v1 top\n xmax, ymax, zmax,\n xmax, ymax, zmin,\n xmin, ymax, zmin,\n xmin, ymax, zmax,\n\n // v1-v6-v7-v2 left\n xmin, ymax, zmax,\n xmin, ymax, zmin,\n xmin, ymin, zmin,\n xmin, ymin, zmax,\n\n // v7-v4-v3-v2 bottom\n xmin, ymin, zmin,\n xmax, ymin, zmin,\n xmax, ymin, zmax,\n xmin, ymin, zmax,\n\n // v4-v7-v6-v1 back\n xmax, ymin, zmin,\n xmin, ymin, zmin,\n xmin, ymax, zmin,\n xmax, ymax, zmin\n ],\n\n // Normal vectors, one for each vertex\n normals: [\n\n // v0-v1-v2-v3 front\n 0, 0, 1,\n 0, 0, 1,\n 0, 0, 1,\n 0, 0, 1,\n\n // v0-v3-v4-v5 right\n 1, 0, 0,\n 1, 0, 0,\n 1, 0, 0,\n 1, 0, 0,\n\n // v0-v5-v6-v1 top\n 0, 1, 0,\n 0, 1, 0,\n 0, 1, 0,\n 0, 1, 0,\n\n // v1-v6-v7-v2 left\n -1, 0, 0,\n -1, 0, 0,\n -1, 0, 0,\n -1, 0, 0,\n\n // v7-v4-v3-v2 bottom\n 0, -1, 0,\n 0, -1, 0,\n 0, -1, 0,\n 0, -1, 0,\n\n // v4-v7-v6-v5 back\n 0, 0, -1,\n 0, 0, -1,\n 0, 0, -1,\n 0, 0, -1\n ],\n\n // UV coords\n uv: [\n\n // v0-v1-v2-v3 front\n 1, 0,\n 0, 0,\n 0, 1,\n 1, 1,\n\n // v0-v3-v4-v1 right\n 0, 0,\n 0, 1,\n 1, 1,\n 1, 0,\n\n // v0-v1-v6-v1 top\n 1, 1,\n 1, 0,\n 0, 0,\n 0, 1,\n\n // v1-v6-v7-v2 left\n 1, 0,\n 0, 0,\n 0, 1,\n 1, 1,\n\n // v7-v4-v3-v2 bottom\n 0, 1,\n 1, 1,\n 1, 0,\n 0, 0,\n\n // v4-v7-v6-v1 back\n 0, 1,\n 1, 1,\n 1, 0,\n 0, 0\n ],\n\n // Indices - these organise the\n // positions and uv texture coordinates\n // into geometric primitives in accordance\n // with the \"primitive\" parameter,\n // in this case a set of three indices\n // for each triangle.\n //\n // Note that each triangle is specified\n // in counter-clockwise winding order.\n //\n // You can specify them in clockwise\n // order if you configure the Modes\n // node's frontFace flag as \"cw\", instead of\n // the default \"ccw\".\n indices: [\n 0, 1, 2,\n 0, 2, 3,\n // front\n 4, 5, 6,\n 4, 6, 7,\n // right\n 8, 9, 10,\n 8, 10, 11,\n // top\n 12, 13, 14,\n 12, 14, 15,\n // left\n 16, 17, 18,\n 16, 18, 19,\n // bottom\n 20, 21, 22,\n 20, 22, 23\n ]\n };\n}\n\nexport {buildBoxGeometry};\n", @@ -8200,7 +8243,7 @@ "lineNumber": 1 }, { - "__docId__": 331, + "__docId__": 332, "kind": "function", "name": "buildBoxGeometry", "memberof": "src/geometryBuilders/buildBoxGeometry.js", @@ -8292,7 +8335,7 @@ } }, { - "__docId__": 332, + "__docId__": 333, "kind": "file", "name": "src/geometryBuilders/buildBoxLinesGeometry.js", "content": "/**\n * @desc Creates box-shaped line segment geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a box-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildBoxLinesGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const box = buildBoxLinesGeometry({\n * center: [0,0,0],\n * xSize: 1, // Half-size on each axis\n * ySize: 1,\n * zSize: 1\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"boxGeometry\",\n * primitiveType: box.primitiveType, // \"lines\"\n * positions: box.positions,\n * normals: box.normals,\n * indices: box.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redBoxMesh\",\n * geometryId: \"boxGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redBox\",\n * meshIds: [\"redBoxMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildBoxLinesGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.xSize=1.0] Half-size on the X-axis.\n * @param {Number} [cfg.ySize=1.0] Half-size on the Y-axis.\n * @param {Number} [cfg.zSize=1.0] Half-size on the Z-axis.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildBoxLinesGeometry(cfg = {}) {\n\n let xSize = cfg.xSize || 1;\n if (xSize < 0) {\n console.error(\"negative xSize not allowed - will invert\");\n xSize *= -1;\n }\n\n let ySize = cfg.ySize || 1;\n if (ySize < 0) {\n console.error(\"negative ySize not allowed - will invert\");\n ySize *= -1;\n }\n\n let zSize = cfg.zSize || 1;\n if (zSize < 0) {\n console.error(\"negative zSize not allowed - will invert\");\n zSize *= -1;\n }\n\n const center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const xmin = -xSize + centerX;\n const ymin = -ySize + centerY;\n const zmin = -zSize + centerZ;\n const xmax = xSize + centerX;\n const ymax = ySize + centerY;\n const zmax = zSize + centerZ;\n\n return {\n primitiveType: \"lines\",\n positions: [\n xmin, ymin, zmin,\n xmin, ymin, zmax,\n xmin, ymax, zmin,\n xmin, ymax, zmax,\n xmax, ymin, zmin,\n xmax, ymin, zmax,\n xmax, ymax, zmin,\n xmax, ymax, zmax\n ],\n indices: [\n 0, 1,\n 1, 3,\n 3, 2,\n 2, 0,\n 4, 5,\n 5, 7,\n 7, 6,\n 6, 4,\n 0, 4,\n 1, 5,\n 2, 6,\n 3, 7\n ]\n }\n}\n\nexport {buildBoxLinesGeometry};\n", @@ -8303,7 +8346,7 @@ "lineNumber": 1 }, { - "__docId__": 333, + "__docId__": 334, "kind": "function", "name": "buildBoxLinesGeometry", "memberof": "src/geometryBuilders/buildBoxLinesGeometry.js", @@ -8395,7 +8438,7 @@ } }, { - "__docId__": 334, + "__docId__": 335, "kind": "file", "name": "src/geometryBuilders/buildCylinderGeometry.js", "content": "/**\n * @desc Creates cylinder-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a cylinder-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildCylinderGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const cylinder = buildCylinderGeometry({\n * center: [0,0,0],\n * radiusTop: 2.0,\n * radiusBottom: 2.0,\n * height: 5.0,\n * radialSegments: 20,\n * heightSegments: 1,\n * openEnded: false\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"cylinderGeometry\",\n * primitiveType: cylinder.primitiveType,\n * positions: cylinder.positions,\n * normals: cylinder.normals,\n * indices: cylinder.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redCylinderMesh\",\n * geometryId: \"cylinderGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redCylinder\",\n * meshIds: [\"redCylinderMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildCylinderGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.radiusTop=1] Radius of top.\n * @param {Number} [cfg.radiusBottom=1] Radius of bottom.\n * @param {Number} [cfg.height=1] Height.\n * @param {Number} [cfg.radialSegments=60] Number of horizontal segments.\n * @param {Number} [cfg.heightSegments=1] Number of vertical segments.\n * @param {Boolean} [cfg.openEnded=false] Whether or not the cylinder has solid caps on the ends.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildCylinderGeometry(cfg = {}) {\n\n let radiusTop = cfg.radiusTop || 1;\n if (radiusTop < 0) {\n console.error(\"negative radiusTop not allowed - will invert\");\n radiusTop *= -1;\n }\n\n let radiusBottom = cfg.radiusBottom || 1;\n if (radiusBottom < 0) {\n console.error(\"negative radiusBottom not allowed - will invert\");\n radiusBottom *= -1;\n }\n\n let height = cfg.height || 1;\n if (height < 0) {\n console.error(\"negative height not allowed - will invert\");\n height *= -1;\n }\n\n let radialSegments = cfg.radialSegments || 32;\n if (radialSegments < 0) {\n console.error(\"negative radialSegments not allowed - will invert\");\n radialSegments *= -1;\n }\n if (radialSegments < 3) {\n radialSegments = 3;\n }\n\n let heightSegments = cfg.heightSegments || 1;\n if (heightSegments < 0) {\n console.error(\"negative heightSegments not allowed - will invert\");\n heightSegments *= -1;\n }\n if (heightSegments < 1) {\n heightSegments = 1;\n }\n\n const openEnded = !!cfg.openEnded;\n\n let center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const heightHalf = height / 2;\n const heightLength = height / heightSegments;\n const radialAngle = (2.0 * Math.PI / radialSegments);\n const radialLength = 1.0 / radialSegments;\n //var nextRadius = this._radiusBottom;\n const radiusChange = (radiusTop - radiusBottom) / heightSegments;\n\n const positions = [];\n const normals = [];\n const uvs = [];\n const indices = [];\n\n let h;\n let i;\n\n let x;\n let z;\n\n let currentRadius;\n let currentHeight;\n\n let first;\n let second;\n\n let startIndex;\n let tu;\n let tv;\n\n // create vertices\n const normalY = (90.0 - (Math.atan(height / (radiusBottom - radiusTop))) * 180 / Math.PI) / 90.0;\n\n for (h = 0; h <= heightSegments; h++) {\n currentRadius = radiusTop - h * radiusChange;\n currentHeight = heightHalf - h * heightLength;\n\n for (i = 0; i <= radialSegments; i++) {\n x = Math.sin(i * radialAngle);\n z = Math.cos(i * radialAngle);\n\n normals.push(currentRadius * x);\n normals.push(normalY); //todo\n normals.push(currentRadius * z);\n\n uvs.push((i * radialLength));\n uvs.push(h * 1 / heightSegments);\n\n positions.push((currentRadius * x) + centerX);\n positions.push((currentHeight) + centerY);\n positions.push((currentRadius * z) + centerZ);\n }\n }\n\n // create faces\n for (h = 0; h < heightSegments; h++) {\n for (i = 0; i <= radialSegments; i++) {\n\n first = h * (radialSegments + 1) + i;\n second = first + radialSegments;\n\n indices.push(first);\n indices.push(second);\n indices.push(second + 1);\n\n indices.push(first);\n indices.push(second + 1);\n indices.push(first + 1);\n }\n }\n\n // create top cap\n if (!openEnded && radiusTop > 0) {\n startIndex = (positions.length / 3);\n\n // top center\n normals.push(0.0);\n normals.push(1.0);\n normals.push(0.0);\n\n uvs.push(0.5);\n uvs.push(0.5);\n\n positions.push(0 + centerX);\n positions.push(heightHalf + centerY);\n positions.push(0 + centerZ);\n\n // top triangle fan\n for (i = 0; i <= radialSegments; i++) {\n x = Math.sin(i * radialAngle);\n z = Math.cos(i * radialAngle);\n tu = (0.5 * Math.sin(i * radialAngle)) + 0.5;\n tv = (0.5 * Math.cos(i * radialAngle)) + 0.5;\n\n normals.push(radiusTop * x);\n normals.push(1.0);\n normals.push(radiusTop * z);\n\n uvs.push(tu);\n uvs.push(tv);\n\n positions.push((radiusTop * x) + centerX);\n positions.push((heightHalf) + centerY);\n positions.push((radiusTop * z) + centerZ);\n }\n\n for (i = 0; i < radialSegments; i++) {\n center = startIndex;\n first = startIndex + 1 + i;\n\n indices.push(first);\n indices.push(first + 1);\n indices.push(center);\n }\n }\n\n // create bottom cap\n if (!openEnded && radiusBottom > 0) {\n\n startIndex = (positions.length / 3);\n\n // top center\n normals.push(0.0);\n normals.push(-1.0);\n normals.push(0.0);\n\n uvs.push(0.5);\n uvs.push(0.5);\n\n positions.push(0 + centerX);\n positions.push(0 - heightHalf + centerY);\n positions.push(0 + centerZ);\n\n // top triangle fan\n for (i = 0; i <= radialSegments; i++) {\n\n x = Math.sin(i * radialAngle);\n z = Math.cos(i * radialAngle);\n\n tu = (0.5 * Math.sin(i * radialAngle)) + 0.5;\n tv = (0.5 * Math.cos(i * radialAngle)) + 0.5;\n\n normals.push(radiusBottom * x);\n normals.push(-1.0);\n normals.push(radiusBottom * z);\n\n uvs.push(tu);\n uvs.push(tv);\n\n positions.push((radiusBottom * x) + centerX);\n positions.push((0 - heightHalf) + centerY);\n positions.push((radiusBottom * z) + centerZ);\n }\n\n for (i = 0; i < radialSegments; i++) {\n\n center = startIndex;\n first = startIndex + 1 + i;\n\n indices.push(center);\n indices.push(first + 1);\n indices.push(first);\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\n\nexport {buildCylinderGeometry};\n", @@ -8406,7 +8449,7 @@ "lineNumber": 1 }, { - "__docId__": 335, + "__docId__": 336, "kind": "function", "name": "buildCylinderGeometry", "memberof": "src/geometryBuilders/buildCylinderGeometry.js", @@ -8534,7 +8577,7 @@ } }, { - "__docId__": 336, + "__docId__": 337, "kind": "file", "name": "src/geometryBuilders/buildGridGeometry.js", "content": "/**\n * @desc Creates grid-shaped geometry arrays..\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a grid-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildGridGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const grid = buildGridGeometry({\n * size: 1000,\n * divisions: 500\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"gridGeometry\",\n * primitiveType: grid.primitiveType, // Will be \"lines\"\n * positions: grid.positions,\n * indices: grid.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redGridMesh\",\n * geometryId: \"gridGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redGrid\",\n * meshIds: [\"redGridMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildGridGeometry\n * @param {*} [cfg] Configs\n * @param {Number} [cfg.size=1] Dimension on the X and Z-axis.\n * @param {Number} [cfg.divisions=1] Number of divisions on X and Z axis..\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildGridGeometry(cfg = {}) {\n\n let size = cfg.size || 1;\n if (size < 0) {\n console.error(\"negative size not allowed - will invert\");\n size *= -1;\n }\n\n let divisions = cfg.divisions || 1;\n if (divisions < 0) {\n console.error(\"negative divisions not allowed - will invert\");\n divisions *= -1;\n }\n if (divisions < 1) {\n divisions = 1;\n }\n\n size = size || 10;\n divisions = divisions || 10;\n\n const step = size / divisions;\n const halfSize = size / 2;\n\n const positions = [];\n const indices = [];\n let l = 0;\n\n for (let i = 0, j = 0, k = -halfSize; i <= divisions; i++, k += step) {\n\n positions.push(-halfSize);\n positions.push(0);\n positions.push(k);\n\n positions.push(halfSize);\n positions.push(0);\n positions.push(k);\n\n positions.push(k);\n positions.push(0);\n positions.push(-halfSize);\n\n positions.push(k);\n positions.push(0);\n positions.push(halfSize);\n\n indices.push(l++);\n indices.push(l++);\n indices.push(l++);\n indices.push(l++);\n }\n\n return {\n primitiveType: \"lines\",\n positions: positions,\n indices: indices\n };\n}\n\n\nexport {buildGridGeometry};\n", @@ -8545,7 +8588,7 @@ "lineNumber": 1 }, { - "__docId__": 337, + "__docId__": 338, "kind": "function", "name": "buildGridGeometry", "memberof": "src/geometryBuilders/buildGridGeometry.js", @@ -8615,7 +8658,7 @@ } }, { - "__docId__": 338, + "__docId__": 339, "kind": "file", "name": "src/geometryBuilders/buildPlaneGeometry.js", "content": "/**\n * @desc Creates plane-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a plane-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildPlaneGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const plane = buildPlaneGeometry({\n * center: [0,0,0],\n * xSize: 2,\n * zSize: 2,\n * xSegments: 10,\n * zSegments: 10\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"planeGeometry\",\n * primitiveType: plane.primitiveType, // Will be \"triangles\"\n * positions: plane.positions,\n * normals: plane.normals,\n * indices: plane.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redPlaneMesh\",\n * geometryId: \"planeGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redPlane\",\n * meshIds: [\"redPlaneMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildPlaneGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.xSize=1] Dimension on the X-axis.\n * @param {Number} [cfg.zSize=1] Dimension on the Z-axis.\n * @param {Number} [cfg.xSegments=1] Number of segments on the X-axis.\n * @param {Number} [cfg.zSegments=1] Number of segments on the Z-axis.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildPlaneGeometry(cfg = {}) {\n\n let xSize = cfg.xSize || 1;\n if (xSize < 0) {\n console.error(\"negative xSize not allowed - will invert\");\n xSize *= -1;\n }\n\n let zSize = cfg.zSize || 1;\n if (zSize < 0) {\n console.error(\"negative zSize not allowed - will invert\");\n zSize *= -1;\n }\n\n let xSegments = cfg.xSegments || 1;\n if (xSegments < 0) {\n console.error(\"negative xSegments not allowed - will invert\");\n xSegments *= -1;\n }\n if (xSegments < 1) {\n xSegments = 1;\n }\n\n let zSegments = cfg.xSegments || 1;\n if (zSegments < 0) {\n console.error(\"negative zSegments not allowed - will invert\");\n zSegments *= -1;\n }\n if (zSegments < 1) {\n zSegments = 1;\n }\n\n const center = cfg.center;\n const centerX = center ? center[0] : 0;\n const centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const halfWidth = xSize / 2;\n const halfHeight = zSize / 2;\n\n const planeX = Math.floor(xSegments) || 1;\n const planeZ = Math.floor(zSegments) || 1;\n\n const planeX1 = planeX + 1;\n const planeZ1 = planeZ + 1;\n\n const segmentWidth = xSize / planeX;\n const segmentHeight = zSize / planeZ;\n\n const positions = new Float32Array(planeX1 * planeZ1 * 3);\n const normals = new Float32Array(planeX1 * planeZ1 * 3);\n const uvs = new Float32Array(planeX1 * planeZ1 * 2);\n\n let offset = 0;\n let offset2 = 0;\n\n let iz;\n let ix;\n let x;\n let a;\n let b;\n let c;\n let d;\n\n for (iz = 0; iz < planeZ1; iz++) {\n\n const z = iz * segmentHeight - halfHeight;\n\n for (ix = 0; ix < planeX1; ix++) {\n\n x = ix * segmentWidth - halfWidth;\n\n positions[offset] = x + centerX;\n positions[offset + 1] = centerY;\n positions[offset + 2] = -z + centerZ;\n\n normals[offset + 2] = -1;\n\n uvs[offset2] = (ix) / planeX;\n uvs[offset2 + 1] = ((planeZ - iz) / planeZ);\n\n offset += 3;\n offset2 += 2;\n }\n }\n\n offset = 0;\n\n const indices = new ((positions.length / 3) > 65535 ? Uint32Array : Uint16Array)(planeX * planeZ * 6);\n\n for (iz = 0; iz < planeZ; iz++) {\n\n for (ix = 0; ix < planeX; ix++) {\n\n a = ix + planeX1 * iz;\n b = ix + planeX1 * (iz + 1);\n c = (ix + 1) + planeX1 * (iz + 1);\n d = (ix + 1) + planeX1 * iz;\n\n indices[offset] = d;\n indices[offset + 1] = b;\n indices[offset + 2] = a;\n\n indices[offset + 3] = d;\n indices[offset + 4] = c;\n indices[offset + 5] = b;\n\n offset += 6;\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\nexport {buildPlaneGeometry};\n", @@ -8626,7 +8669,7 @@ "lineNumber": 1 }, { - "__docId__": 339, + "__docId__": 340, "kind": "function", "name": "buildPlaneGeometry", "memberof": "src/geometryBuilders/buildPlaneGeometry.js", @@ -8730,7 +8773,7 @@ } }, { - "__docId__": 340, + "__docId__": 341, "kind": "file", "name": "src/geometryBuilders/buildSphereGeometry.js", "content": "/**\n * @desc Creates sphere-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a sphere-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildSphereGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const sphere = buildSphereGeometry({\n * center: [0,0,0],\n * radius: 1.5,\n * heightSegments: 60,\n * widthSegments: 60\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"sphereGeometry\",\n * primitiveType: sphere.primitiveType, // Will be \"triangles\"\n * positions: sphere.positions,\n * normals: sphere.normals,\n * indices: sphere.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redSphereMesh\",\n * geometryId: \"sphereGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n *const xktEntity = xktModel.createEntity({\n * entityId: \"redSphere\",\n * meshIds: [\"redSphereMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildSphereGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.radius=1] Radius.\n * @param {Number} [cfg.heightSegments=24] Number of latitudinal bands.\n * @param {Number} [cfg.widthSegments=18] Number of longitudinal bands.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildSphereGeometry(cfg = {}) {\n\n const lod = cfg.lod || 1;\n\n const centerX = cfg.center ? cfg.center[0] : 0;\n const centerY = cfg.center ? cfg.center[1] : 0;\n const centerZ = cfg.center ? cfg.center[2] : 0;\n\n let radius = cfg.radius || 1;\n if (radius < 0) {\n console.error(\"negative radius not allowed - will invert\");\n radius *= -1;\n }\n\n let heightSegments = cfg.heightSegments || 18;\n if (heightSegments < 0) {\n console.error(\"negative heightSegments not allowed - will invert\");\n heightSegments *= -1;\n }\n heightSegments = Math.floor(lod * heightSegments);\n if (heightSegments < 18) {\n heightSegments = 18;\n }\n\n let widthSegments = cfg.widthSegments || 18;\n if (widthSegments < 0) {\n console.error(\"negative widthSegments not allowed - will invert\");\n widthSegments *= -1;\n }\n widthSegments = Math.floor(lod * widthSegments);\n if (widthSegments < 18) {\n widthSegments = 18;\n }\n\n const positions = [];\n const normals = [];\n const uvs = [];\n const indices = [];\n\n let i;\n let j;\n\n let theta;\n let sinTheta;\n let cosTheta;\n\n let phi;\n let sinPhi;\n let cosPhi;\n\n let x;\n let y;\n let z;\n\n let u;\n let v;\n\n let first;\n let second;\n\n for (i = 0; i <= heightSegments; i++) {\n\n theta = i * Math.PI / heightSegments;\n sinTheta = Math.sin(theta);\n cosTheta = Math.cos(theta);\n\n for (j = 0; j <= widthSegments; j++) {\n\n phi = j * 2 * Math.PI / widthSegments;\n sinPhi = Math.sin(phi);\n cosPhi = Math.cos(phi);\n\n x = cosPhi * sinTheta;\n y = cosTheta;\n z = sinPhi * sinTheta;\n u = 1.0 - j / widthSegments;\n v = i / heightSegments;\n\n normals.push(x);\n normals.push(y);\n normals.push(z);\n\n uvs.push(u);\n uvs.push(v);\n\n positions.push(centerX + radius * x);\n positions.push(centerY + radius * y);\n positions.push(centerZ + radius * z);\n }\n }\n\n for (i = 0; i < heightSegments; i++) {\n for (j = 0; j < widthSegments; j++) {\n\n first = (i * (widthSegments + 1)) + j;\n second = first + widthSegments + 1;\n\n indices.push(first + 1);\n indices.push(second + 1);\n indices.push(second);\n indices.push(first + 1);\n indices.push(second);\n indices.push(first);\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\nexport {buildSphereGeometry};\n", @@ -8741,7 +8784,7 @@ "lineNumber": 1 }, { - "__docId__": 341, + "__docId__": 342, "kind": "function", "name": "buildSphereGeometry", "memberof": "src/geometryBuilders/buildSphereGeometry.js", @@ -8833,7 +8876,7 @@ } }, { - "__docId__": 342, + "__docId__": 343, "kind": "file", "name": "src/geometryBuilders/buildTorusGeometry.js", "content": "import {math} from '../lib/math.js';\n\n/**\n * @desc Creates torus-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a torus-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildTorusGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const torus = buildTorusGeometry({\n * center: [0,0,0],\n * radius: 1.0,\n * tube: 0.5,\n * radialSegments: 32,\n * tubeSegments: 24,\n * arc: Math.PI * 2.0\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"torusGeometry\",\n * primitiveType: torus.primitiveType, // Will be \"triangles\"\n * positions: torus.positions,\n * normals: torus.normals,\n * indices: torus.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redTorusMesh\",\n * geometryId: \"torusGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redTorus\",\n * meshIds: [\"redTorusMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildTorusGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number} [cfg.radius=1] The overall radius.\n * @param {Number} [cfg.tube=0.3] The tube radius.\n * @param {Number} [cfg.radialSegments=32] The number of radial segments.\n * @param {Number} [cfg.tubeSegments=24] The number of tubular segments.\n * @param {Number} [cfg.arc=Math.PI*0.5] The length of the arc in radians, where Math.PI*2 is a closed torus.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildTorusGeometry(cfg = {}) {\n\n let radius = cfg.radius || 1;\n if (radius < 0) {\n console.error(\"negative radius not allowed - will invert\");\n radius *= -1;\n }\n radius *= 0.5;\n\n let tube = cfg.tube || 0.3;\n if (tube < 0) {\n console.error(\"negative tube not allowed - will invert\");\n tube *= -1;\n }\n\n let radialSegments = cfg.radialSegments || 32;\n if (radialSegments < 0) {\n console.error(\"negative radialSegments not allowed - will invert\");\n radialSegments *= -1;\n }\n if (radialSegments < 4) {\n radialSegments = 4;\n }\n\n let tubeSegments = cfg.tubeSegments || 24;\n if (tubeSegments < 0) {\n console.error(\"negative tubeSegments not allowed - will invert\");\n tubeSegments *= -1;\n }\n if (tubeSegments < 4) {\n tubeSegments = 4;\n }\n\n let arc = cfg.arc || Math.PI * 2;\n if (arc < 0) {\n console.warn(\"negative arc not allowed - will invert\");\n arc *= -1;\n }\n if (arc > 360) {\n arc = 360;\n }\n\n const center = cfg.center;\n let centerX = center ? center[0] : 0;\n let centerY = center ? center[1] : 0;\n const centerZ = center ? center[2] : 0;\n\n const positions = [];\n const normals = [];\n const uvs = [];\n const indices = [];\n\n let u;\n let v;\n let x;\n let y;\n let z;\n let vec;\n\n let i;\n let j;\n\n for (j = 0; j <= tubeSegments; j++) {\n for (i = 0; i <= radialSegments; i++) {\n\n u = i / radialSegments * arc;\n v = 0.785398 + (j / tubeSegments * Math.PI * 2);\n\n centerX = radius * Math.cos(u);\n centerY = radius * Math.sin(u);\n\n x = (radius + tube * Math.cos(v)) * Math.cos(u);\n y = (radius + tube * Math.cos(v)) * Math.sin(u);\n z = tube * Math.sin(v);\n\n positions.push(x + centerX);\n positions.push(y + centerY);\n positions.push(z + centerZ);\n\n uvs.push(1 - (i / radialSegments));\n uvs.push((j / tubeSegments));\n\n vec = math.normalizeVec3(math.subVec3([x, y, z], [centerX, centerY, centerZ], []), []);\n\n normals.push(vec[0]);\n normals.push(vec[1]);\n normals.push(vec[2]);\n }\n }\n\n let a;\n let b;\n let c;\n let d;\n\n for (j = 1; j <= tubeSegments; j++) {\n for (i = 1; i <= radialSegments; i++) {\n\n a = (radialSegments + 1) * j + i - 1;\n b = (radialSegments + 1) * (j - 1) + i - 1;\n c = (radialSegments + 1) * (j - 1) + i;\n d = (radialSegments + 1) * j + i;\n\n indices.push(a);\n indices.push(b);\n indices.push(c);\n\n indices.push(c);\n indices.push(d);\n indices.push(a);\n }\n }\n\n return {\n primitiveType: \"triangles\",\n positions: positions,\n normals: normals,\n uv: uvs,\n uvs: uvs,\n indices: indices\n };\n}\n\nexport {buildTorusGeometry};\n", @@ -8844,7 +8887,7 @@ "lineNumber": 1 }, { - "__docId__": 343, + "__docId__": 344, "kind": "function", "name": "buildTorusGeometry", "memberof": "src/geometryBuilders/buildTorusGeometry.js", @@ -8960,7 +9003,7 @@ } }, { - "__docId__": 344, + "__docId__": 345, "kind": "file", "name": "src/geometryBuilders/buildVectorTextGeometry.js", "content": "const letters = {\n ' ': {width: 16, points: []},\n '!': {\n width: 10, points: [\n [5, 21],\n [5, 7],\n [-1, -1],\n [5, 2],\n [4, 1],\n [5, 0],\n [6, 1],\n [5, 2]\n ]\n },\n '\"': {\n width: 16, points: [\n [4, 21],\n [4, 14],\n [-1, -1],\n [12, 21],\n [12, 14]\n ]\n },\n '#': {\n width: 21, points: [\n [11, 25],\n [4, -7],\n [-1, -1],\n [17, 25],\n [10, -7],\n [-1, -1],\n [4, 12],\n [18, 12],\n [-1, -1],\n [3, 6],\n [17, 6]\n ]\n },\n '$': {\n width: 20, points: [\n [8, 25],\n [8, -4],\n [-1, -1],\n [12, 25],\n [12, -4],\n [-1, -1],\n [17, 18],\n [15, 20],\n [12, 21],\n [8, 21],\n [5, 20],\n [3, 18],\n [3, 16],\n [4, 14],\n [5, 13],\n [7, 12],\n [13, 10],\n [15, 9],\n [16, 8],\n [17, 6],\n [17, 3],\n [15, 1],\n [12, 0],\n [8, 0],\n [5, 1],\n [3, 3]\n ]\n },\n '%': {\n width: 24, points: [\n [21, 21],\n [3, 0],\n [-1, -1],\n [8, 21],\n [10, 19],\n [10, 17],\n [9, 15],\n [7, 14],\n [5, 14],\n [3, 16],\n [3, 18],\n [4, 20],\n [6, 21],\n [8, 21],\n [10, 20],\n [13, 19],\n [16, 19],\n [19, 20],\n [21, 21],\n [-1, -1],\n [17, 7],\n [15, 6],\n [14, 4],\n [14, 2],\n [16, 0],\n [18, 0],\n [20, 1],\n [21, 3],\n [21, 5],\n [19, 7],\n [17, 7]\n ]\n },\n '&': {\n width: 26, points: [\n [23, 12],\n [23, 13],\n [22, 14],\n [21, 14],\n [20, 13],\n [19, 11],\n [17, 6],\n [15, 3],\n [13, 1],\n [11, 0],\n [7, 0],\n [5, 1],\n [4, 2],\n [3, 4],\n [3, 6],\n [4, 8],\n [5, 9],\n [12, 13],\n [13, 14],\n [14, 16],\n [14, 18],\n [13, 20],\n [11, 21],\n [9, 20],\n [8, 18],\n [8, 16],\n [9, 13],\n [11, 10],\n [16, 3],\n [18, 1],\n [20, 0],\n [22, 0],\n [23, 1],\n [23, 2]\n ]\n },\n '\\'': {\n width: 10, points: [\n [5, 19],\n [4, 20],\n [5, 21],\n [6, 20],\n [6, 18],\n [5, 16],\n [4, 15]\n ]\n },\n '(': {\n width: 14, points: [\n [11, 25],\n [9, 23],\n [7, 20],\n [5, 16],\n [4, 11],\n [4, 7],\n [5, 2],\n [7, -2],\n [9, -5],\n [11, -7]\n ]\n },\n ')': {\n width: 14, points: [\n [3, 25],\n [5, 23],\n [7, 20],\n [9, 16],\n [10, 11],\n [10, 7],\n [9, 2],\n [7, -2],\n [5, -5],\n [3, -7]\n ]\n },\n '*': {\n width: 16, points: [\n [8, 21],\n [8, 9],\n [-1, -1],\n [3, 18],\n [13, 12],\n [-1, -1],\n [13, 18],\n [3, 12]\n ]\n },\n '+': {\n width: 26, points: [\n [13, 18],\n [13, 0],\n [-1, -1],\n [4, 9],\n [22, 9]\n ]\n },\n ',': {\n width: 10, points: [\n [6, 1],\n [5, 0],\n [4, 1],\n [5, 2],\n [6, 1],\n [6, -1],\n [5, -3],\n [4, -4]\n ]\n },\n '-': {\n width: 26, points: [\n [4, 9],\n [22, 9]\n ]\n },\n '.': {\n width: 10, points: [\n [5, 2],\n [4, 1],\n [5, 0],\n [6, 1],\n [5, 2]\n ]\n },\n '/': {\n width: 22, points: [\n [20, 25],\n [2, -7]\n ]\n },\n '0': {\n width: 20, points: [\n [9, 21],\n [6, 20],\n [4, 17],\n [3, 12],\n [3, 9],\n [4, 4],\n [6, 1],\n [9, 0],\n [11, 0],\n [14, 1],\n [16, 4],\n [17, 9],\n [17, 12],\n [16, 17],\n [14, 20],\n [11, 21],\n [9, 21]\n ]\n },\n '1': {\n width: 20, points: [\n [6, 17],\n [8, 18],\n [11, 21],\n [11, 0]\n ]\n },\n '2': {\n width: 20, points: [\n [4, 16],\n [4, 17],\n [5, 19],\n [6, 20],\n [8, 21],\n [12, 21],\n [14, 20],\n [15, 19],\n [16, 17],\n [16, 15],\n [15, 13],\n [13, 10],\n [3, 0],\n [17, 0]\n ]\n },\n '3': {\n width: 20, points: [\n [5, 21],\n [16, 21],\n [10, 13],\n [13, 13],\n [15, 12],\n [16, 11],\n [17, 8],\n [17, 6],\n [16, 3],\n [14, 1],\n [11, 0],\n [8, 0],\n [5, 1],\n [4, 2],\n [3, 4]\n ]\n },\n '4': {\n width: 20, points: [\n [13, 21],\n [3, 7],\n [18, 7],\n [-1, -1],\n [13, 21],\n [13, 0]\n ]\n },\n '5': {\n width: 20, points: [\n [15, 21],\n [5, 21],\n [4, 12],\n [5, 13],\n [8, 14],\n [11, 14],\n [14, 13],\n [16, 11],\n [17, 8],\n [17, 6],\n [16, 3],\n [14, 1],\n [11, 0],\n [8, 0],\n [5, 1],\n [4, 2],\n [3, 4]\n ]\n },\n '6': {\n width: 20, points: [\n [16, 18],\n [15, 20],\n [12, 21],\n [10, 21],\n [7, 20],\n [5, 17],\n [4, 12],\n [4, 7],\n [5, 3],\n [7, 1],\n [10, 0],\n [11, 0],\n [14, 1],\n [16, 3],\n [17, 6],\n [17, 7],\n [16, 10],\n [14, 12],\n [11, 13],\n [10, 13],\n [7, 12],\n [5, 10],\n [4, 7]\n ]\n },\n '7': {\n width: 20, points: [\n [17, 21],\n [7, 0],\n [-1, -1],\n [3, 21],\n [17, 21]\n ]\n },\n '8': {\n width: 20, points: [\n [8, 21],\n [5, 20],\n [4, 18],\n [4, 16],\n [5, 14],\n [7, 13],\n [11, 12],\n [14, 11],\n [16, 9],\n [17, 7],\n [17, 4],\n [16, 2],\n [15, 1],\n [12, 0],\n [8, 0],\n [5, 1],\n [4, 2],\n [3, 4],\n [3, 7],\n [4, 9],\n [6, 11],\n [9, 12],\n [13, 13],\n [15, 14],\n [16, 16],\n [16, 18],\n [15, 20],\n [12, 21],\n [8, 21]\n ]\n },\n '9': {\n width: 20, points: [\n [16, 14],\n [15, 11],\n [13, 9],\n [10, 8],\n [9, 8],\n [6, 9],\n [4, 11],\n [3, 14],\n [3, 15],\n [4, 18],\n [6, 20],\n [9, 21],\n [10, 21],\n [13, 20],\n [15, 18],\n [16, 14],\n [16, 9],\n [15, 4],\n [13, 1],\n [10, 0],\n [8, 0],\n [5, 1],\n [4, 3]\n ]\n },\n ':': {\n width: 10, points: [\n [5, 14],\n [4, 13],\n [5, 12],\n [6, 13],\n [5, 14],\n [-1, -1],\n [5, 2],\n [4, 1],\n [5, 0],\n [6, 1],\n [5, 2]\n ]\n },\n ';': {\n width: 10, points: [\n [5, 14],\n [4, 13],\n [5, 12],\n [6, 13],\n [5, 14],\n [-1, -1],\n [6, 1],\n [5, 0],\n [4, 1],\n [5, 2],\n [6, 1],\n [6, -1],\n [5, -3],\n [4, -4]\n ]\n },\n '<': {\n width: 24, points: [\n [20, 18],\n [4, 9],\n [20, 0]\n ]\n },\n '=': {\n width: 26, points: [\n [4, 12],\n [22, 12],\n [-1, -1],\n [4, 6],\n [22, 6]\n ]\n },\n '>': {\n width: 24, points: [\n [4, 18],\n [20, 9],\n [4, 0]\n ]\n },\n '?': {\n width: 18, points: [\n [3, 16],\n [3, 17],\n [4, 19],\n [5, 20],\n [7, 21],\n [11, 21],\n [13, 20],\n [14, 19],\n [15, 17],\n [15, 15],\n [14, 13],\n [13, 12],\n [9, 10],\n [9, 7],\n [-1, -1],\n [9, 2],\n [8, 1],\n [9, 0],\n [10, 1],\n [9, 2]\n ]\n },\n '@': {\n width: 27, points: [\n [18, 13],\n [17, 15],\n [15, 16],\n [12, 16],\n [10, 15],\n [9, 14],\n [8, 11],\n [8, 8],\n [9, 6],\n [11, 5],\n [14, 5],\n [16, 6],\n [17, 8],\n [-1, -1],\n [12, 16],\n [10, 14],\n [9, 11],\n [9, 8],\n [10, 6],\n [11, 5],\n [-1, -1],\n [18, 16],\n [17, 8],\n [17, 6],\n [19, 5],\n [21, 5],\n [23, 7],\n [24, 10],\n [24, 12],\n [23, 15],\n [22, 17],\n [20, 19],\n [18, 20],\n [15, 21],\n [12, 21],\n [9, 20],\n [7, 19],\n [5, 17],\n [4, 15],\n [3, 12],\n [3, 9],\n [4, 6],\n [5, 4],\n [7, 2],\n [9, 1],\n [12, 0],\n [15, 0],\n [18, 1],\n [20, 2],\n [21, 3],\n [-1, -1],\n [19, 16],\n [18, 8],\n [18, 6],\n [19, 5]\n ]\n },\n 'A': {\n width: 18, points: [\n [9, 21],\n [1, 0],\n [-1, -1],\n [9, 21],\n [17, 0],\n [-1, -1],\n [4, 7],\n [14, 7]\n ]\n },\n 'B': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [13, 21],\n [16, 20],\n [17, 19],\n [18, 17],\n [18, 15],\n [17, 13],\n [16, 12],\n [13, 11],\n [-1, -1],\n [4, 11],\n [13, 11],\n [16, 10],\n [17, 9],\n [18, 7],\n [18, 4],\n [17, 2],\n [16, 1],\n [13, 0],\n [4, 0]\n ]\n },\n 'C': {\n width: 21, points: [\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5]\n ]\n },\n 'D': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [11, 21],\n [14, 20],\n [16, 18],\n [17, 16],\n [18, 13],\n [18, 8],\n [17, 5],\n [16, 3],\n [14, 1],\n [11, 0],\n [4, 0]\n ]\n },\n 'E': {\n width: 19, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [17, 21],\n [-1, -1],\n [4, 11],\n [12, 11],\n [-1, -1],\n [4, 0],\n [17, 0]\n ]\n },\n 'F': {\n width: 18, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [17, 21],\n [-1, -1],\n [4, 11],\n [12, 11]\n ]\n },\n 'G': {\n width: 21, points: [\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5],\n [18, 8],\n [-1, -1],\n [13, 8],\n [18, 8]\n ]\n },\n 'H': {\n width: 22, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [18, 21],\n [18, 0],\n [-1, -1],\n [4, 11],\n [18, 11]\n ]\n },\n 'I': {\n width: 8, points: [\n [4, 21],\n [4, 0]\n ]\n },\n 'J': {\n width: 16, points: [\n [12, 21],\n [12, 5],\n [11, 2],\n [10, 1],\n [8, 0],\n [6, 0],\n [4, 1],\n [3, 2],\n [2, 5],\n [2, 7]\n ]\n },\n 'K': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [18, 21],\n [4, 7],\n [-1, -1],\n [9, 12],\n [18, 0]\n ]\n },\n 'L': {\n width: 17, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 0],\n [16, 0]\n ]\n },\n 'M': {\n width: 24, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [12, 0],\n [-1, -1],\n [20, 21],\n [12, 0],\n [-1, -1],\n [20, 21],\n [20, 0]\n ]\n },\n 'N': {\n width: 22, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [18, 0],\n [-1, -1],\n [18, 21],\n [18, 0]\n ]\n },\n 'O': {\n width: 22, points: [\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5],\n [19, 8],\n [19, 13],\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21]\n ]\n },\n 'P': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [13, 21],\n [16, 20],\n [17, 19],\n [18, 17],\n [18, 14],\n [17, 12],\n [16, 11],\n [13, 10],\n [4, 10]\n ]\n },\n 'Q': {\n width: 22, points: [\n [9, 21],\n [7, 20],\n [5, 18],\n [4, 16],\n [3, 13],\n [3, 8],\n [4, 5],\n [5, 3],\n [7, 1],\n [9, 0],\n [13, 0],\n [15, 1],\n [17, 3],\n [18, 5],\n [19, 8],\n [19, 13],\n [18, 16],\n [17, 18],\n [15, 20],\n [13, 21],\n [9, 21],\n [-1, -1],\n [12, 4],\n [18, -2]\n ]\n },\n 'R': {\n width: 21, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 21],\n [13, 21],\n [16, 20],\n [17, 19],\n [18, 17],\n [18, 15],\n [17, 13],\n [16, 12],\n [13, 11],\n [4, 11],\n [-1, -1],\n [11, 11],\n [18, 0]\n ]\n },\n 'S': {\n width: 20, points: [\n [17, 18],\n [15, 20],\n [12, 21],\n [8, 21],\n [5, 20],\n [3, 18],\n [3, 16],\n [4, 14],\n [5, 13],\n [7, 12],\n [13, 10],\n [15, 9],\n [16, 8],\n [17, 6],\n [17, 3],\n [15, 1],\n [12, 0],\n [8, 0],\n [5, 1],\n [3, 3]\n ]\n },\n 'T': {\n width: 16, points: [\n [8, 21],\n [8, 0],\n [-1, -1],\n [1, 21],\n [15, 21]\n ]\n },\n 'U': {\n width: 22, points: [\n [4, 21],\n [4, 6],\n [5, 3],\n [7, 1],\n [10, 0],\n [12, 0],\n [15, 1],\n [17, 3],\n [18, 6],\n [18, 21]\n ]\n },\n 'V': {\n width: 18, points: [\n [1, 21],\n [9, 0],\n [-1, -1],\n [17, 21],\n [9, 0]\n ]\n },\n 'W': {\n width: 24, points: [\n [2, 21],\n [7, 0],\n [-1, -1],\n [12, 21],\n [7, 0],\n [-1, -1],\n [12, 21],\n [17, 0],\n [-1, -1],\n [22, 21],\n [17, 0]\n ]\n },\n 'X': {\n width: 20, points: [\n [3, 21],\n [17, 0],\n [-1, -1],\n [17, 21],\n [3, 0]\n ]\n },\n 'Y': {\n width: 18, points: [\n [1, 21],\n [9, 11],\n [9, 0],\n [-1, -1],\n [17, 21],\n [9, 11]\n ]\n },\n 'Z': {\n width: 20, points: [\n [17, 21],\n [3, 0],\n [-1, -1],\n [3, 21],\n [17, 21],\n [-1, -1],\n [3, 0],\n [17, 0]\n ]\n },\n '[': {\n width: 14, points: [\n [4, 25],\n [4, -7],\n [-1, -1],\n [5, 25],\n [5, -7],\n [-1, -1],\n [4, 25],\n [11, 25],\n [-1, -1],\n [4, -7],\n [11, -7]\n ]\n },\n '\\\\': {\n width: 14, points: [\n [0, 21],\n [14, -3]\n ]\n },\n ']': {\n width: 14, points: [\n [9, 25],\n [9, -7],\n [-1, -1],\n [10, 25],\n [10, -7],\n [-1, -1],\n [3, 25],\n [10, 25],\n [-1, -1],\n [3, -7],\n [10, -7]\n ]\n },\n '^': {\n width: 16, points: [\n [6, 15],\n [8, 18],\n [10, 15],\n [-1, -1],\n [3, 12],\n [8, 17],\n [13, 12],\n [-1, -1],\n [8, 17],\n [8, 0]\n ]\n },\n '_': {\n width: 16, points: [\n [0, -2],\n [16, -2]\n ]\n },\n '`': {\n width: 10, points: [\n [6, 21],\n [5, 20],\n [4, 18],\n [4, 16],\n [5, 15],\n [6, 16],\n [5, 17]\n ]\n },\n 'a': {\n width: 19, points: [\n [15, 14],\n [15, 0],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'b': {\n width: 19, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 11],\n [6, 13],\n [8, 14],\n [11, 14],\n [13, 13],\n [15, 11],\n [16, 8],\n [16, 6],\n [15, 3],\n [13, 1],\n [11, 0],\n [8, 0],\n [6, 1],\n [4, 3]\n ]\n },\n 'c': {\n width: 18, points: [\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'd': {\n width: 19, points: [\n [15, 21],\n [15, 0],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'e': {\n width: 18, points: [\n [3, 8],\n [15, 8],\n [15, 10],\n [14, 12],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'f': {\n width: 12, points: [\n [10, 21],\n [8, 21],\n [6, 20],\n [5, 17],\n [5, 0],\n [-1, -1],\n [2, 14],\n [9, 14]\n ]\n },\n 'g': {\n width: 19, points: [\n [15, 14],\n [15, -2],\n [14, -5],\n [13, -6],\n [11, -7],\n [8, -7],\n [6, -6],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'h': {\n width: 19, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [4, 10],\n [7, 13],\n [9, 14],\n [12, 14],\n [14, 13],\n [15, 10],\n [15, 0]\n ]\n },\n 'i': {\n width: 8, points: [\n [3, 21],\n [4, 20],\n [5, 21],\n [4, 22],\n [3, 21],\n [-1, -1],\n [4, 14],\n [4, 0]\n ]\n },\n 'j': {\n width: 10, points: [\n [5, 21],\n [6, 20],\n [7, 21],\n [6, 22],\n [5, 21],\n [-1, -1],\n [6, 14],\n [6, -3],\n [5, -6],\n [3, -7],\n [1, -7]\n ]\n },\n 'k': {\n width: 17, points: [\n [4, 21],\n [4, 0],\n [-1, -1],\n [14, 14],\n [4, 4],\n [-1, -1],\n [8, 8],\n [15, 0]\n ]\n },\n 'l': {\n width: 8, points: [\n [4, 21],\n [4, 0]\n ]\n },\n 'm': {\n width: 30, points: [\n [4, 14],\n [4, 0],\n [-1, -1],\n [4, 10],\n [7, 13],\n [9, 14],\n [12, 14],\n [14, 13],\n [15, 10],\n [15, 0],\n [-1, -1],\n [15, 10],\n [18, 13],\n [20, 14],\n [23, 14],\n [25, 13],\n [26, 10],\n [26, 0]\n ]\n },\n 'n': {\n width: 19, points: [\n [4, 14],\n [4, 0],\n [-1, -1],\n [4, 10],\n [7, 13],\n [9, 14],\n [12, 14],\n [14, 13],\n [15, 10],\n [15, 0]\n ]\n },\n 'o': {\n width: 19, points: [\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3],\n [16, 6],\n [16, 8],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14]\n ]\n },\n 'p': {\n width: 19, points: [\n [4, 14],\n [4, -7],\n [-1, -1],\n [4, 11],\n [6, 13],\n [8, 14],\n [11, 14],\n [13, 13],\n [15, 11],\n [16, 8],\n [16, 6],\n [15, 3],\n [13, 1],\n [11, 0],\n [8, 0],\n [6, 1],\n [4, 3]\n ]\n },\n 'q': {\n width: 19, points: [\n [15, 14],\n [15, -7],\n [-1, -1],\n [15, 11],\n [13, 13],\n [11, 14],\n [8, 14],\n [6, 13],\n [4, 11],\n [3, 8],\n [3, 6],\n [4, 3],\n [6, 1],\n [8, 0],\n [11, 0],\n [13, 1],\n [15, 3]\n ]\n },\n 'r': {\n width: 13, points: [\n [4, 14],\n [4, 0],\n [-1, -1],\n [4, 8],\n [5, 11],\n [7, 13],\n [9, 14],\n [12, 14]\n ]\n },\n 's': {\n width: 17, points: [\n [14, 11],\n [13, 13],\n [10, 14],\n [7, 14],\n [4, 13],\n [3, 11],\n [4, 9],\n [6, 8],\n [11, 7],\n [13, 6],\n [14, 4],\n [14, 3],\n [13, 1],\n [10, 0],\n [7, 0],\n [4, 1],\n [3, 3]\n ]\n },\n 't': {\n width: 12, points: [\n [5, 21],\n [5, 4],\n [6, 1],\n [8, 0],\n [10, 0],\n [-1, -1],\n [2, 14],\n [9, 14]\n ]\n },\n 'u': {\n width: 19, points: [\n [4, 14],\n [4, 4],\n [5, 1],\n [7, 0],\n [10, 0],\n [12, 1],\n [15, 4],\n [-1, -1],\n [15, 14],\n [15, 0]\n ]\n },\n 'v': {\n width: 16, points: [\n [2, 14],\n [8, 0],\n [-1, -1],\n [14, 14],\n [8, 0]\n ]\n },\n 'w': {\n width: 22, points: [\n [3, 14],\n [7, 0],\n [-1, -1],\n [11, 14],\n [7, 0],\n [-1, -1],\n [11, 14],\n [15, 0],\n [-1, -1],\n [19, 14],\n [15, 0]\n ]\n },\n 'x': {\n width: 17, points: [\n [3, 14],\n [14, 0],\n [-1, -1],\n [14, 14],\n [3, 0]\n ]\n },\n 'y': {\n width: 16, points: [\n [2, 14],\n [8, 0],\n [-1, -1],\n [14, 14],\n [8, 0],\n [6, -4],\n [4, -6],\n [2, -7],\n [1, -7]\n ]\n },\n 'z': {\n width: 17, points: [\n [14, 14],\n [3, 0],\n [-1, -1],\n [3, 14],\n [14, 14],\n [-1, -1],\n [3, 0],\n [14, 0]\n ]\n },\n '{': {\n width: 14, points: [\n [9, 25],\n [7, 24],\n [6, 23],\n [5, 21],\n [5, 19],\n [6, 17],\n [7, 16],\n [8, 14],\n [8, 12],\n [6, 10],\n [-1, -1],\n [7, 24],\n [6, 22],\n [6, 20],\n [7, 18],\n [8, 17],\n [9, 15],\n [9, 13],\n [8, 11],\n [4, 9],\n [8, 7],\n [9, 5],\n [9, 3],\n [8, 1],\n [7, 0],\n [6, -2],\n [6, -4],\n [7, -6],\n [-1, -1],\n [6, 8],\n [8, 6],\n [8, 4],\n [7, 2],\n [6, 1],\n [5, -1],\n [5, -3],\n [6, -5],\n [7, -6],\n [9, -7]\n ]\n },\n '|': {\n width: 8, points: [\n [4, 25],\n [4, -7]\n ]\n },\n '}': {\n width: 14, points: [\n [5, 25],\n [7, 24],\n [8, 23],\n [9, 21],\n [9, 19],\n [8, 17],\n [7, 16],\n [6, 14],\n [6, 12],\n [8, 10],\n [-1, -1],\n [7, 24],\n [8, 22],\n [8, 20],\n [7, 18],\n [6, 17],\n [5, 15],\n [5, 13],\n [6, 11],\n [10, 9],\n [6, 7],\n [5, 5],\n [5, 3],\n [6, 1],\n [7, 0],\n [8, -2],\n [8, -4],\n [7, -6],\n [-1, -1],\n [8, 8],\n [6, 6],\n [6, 4],\n [7, 2],\n [8, 1],\n [9, -1],\n [9, -3],\n [8, -5],\n [7, -6],\n [5, -7]\n ]\n },\n '~': {\n width: 24, points: [\n [3, 6],\n [3, 8],\n [4, 11],\n [6, 12],\n [8, 12],\n [10, 11],\n [14, 8],\n [16, 7],\n [18, 7],\n [20, 8],\n [21, 10],\n [-1, -1],\n [3, 8],\n [4, 10],\n [6, 11],\n [8, 11],\n [10, 10],\n [14, 7],\n [16, 6],\n [18, 6],\n [20, 7],\n [21, 10],\n [21, 12]\n ]\n }\n};\n\n/**\n * @desc Creates wireframe text-shaped geometry arrays.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then create an {@link XKTMesh} with a text-shaped {@link XKTGeometry}.\n *\n * [[Run this example](http://xeokit.github.io/xeokit-sdk/examples/#geometry_builders_buildVectorTextGeometry)]\n *\n * ````javascript\n * const xktModel = new XKTModel();\n *\n * const text = buildVectorTextGeometry({\n * origin: [0,0,0],\n * text: \"On the other side of the screen, it all looked so easy\"\n * });\n *\n * const xktGeometry = xktModel.createGeometry({\n * geometryId: \"textGeometry\",\n * primitiveType: text.primitiveType, // Will be \"lines\"\n * positions: text.positions,\n * indices: text.indices\n * });\n *\n * const xktMesh = xktModel.createMesh({\n * meshId: \"redTextMesh\",\n * geometryId: \"textGeometry\",\n * position: [-4, -6, -4],\n * scale: [1, 3, 1],\n * rotation: [0, 0, 0],\n * color: [1, 0, 0],\n * opacity: 1\n * });\n *\n * const xktEntity = xktModel.createEntity({\n * entityId: \"redText\",\n * meshIds: [\"redTextMesh\"]\n * });\n *\n * xktModel.finalize();\n * ````\n *\n * @function buildVectorTextGeometry\n * @param {*} [cfg] Configs\n * @param {Number[]} [cfg.center] 3D point indicating the center position.\n * @param {Number[]} [cfg.origin] 3D point indicating the top left corner.\n * @param {Number} [cfg.size=1] Size of each character.\n * @param {String} [cfg.text=\"\"] The text.\n * @returns {Object} Geometry arrays for {@link XKTModel#createGeometry} or {@link XKTModel#createMesh}.\n */\nfunction buildVectorTextGeometry(cfg = {}) {\n\n var origin = cfg.origin || [0, 0, 0];\n var xOrigin = origin[0];\n var yOrigin = origin[1];\n var zOrigin = origin[2];\n var size = cfg.size || 1;\n\n var positions = [];\n var indices = [];\n var text = (\"\" + cfg.text).trim();\n var lines = (text || \"\").split(\"\\n\");\n var countVerts = 0;\n var y = 0;\n var x;\n var str;\n var len;\n var c;\n var mag = 1.0 / 25.0;\n var penUp;\n var p1;\n var p2;\n var needLine;\n var pointsLen;\n var a;\n\n for (var iLine = 0; iLine < lines.length; iLine++) {\n\n x = 0;\n str = lines[iLine];\n len = str.length;\n\n for (var i = 0; i < len; i++) {\n\n c = letters[str.charAt(i)];\n\n if (c === '\\n') {\n //alert(\"newline\");\n }\n\n if (!c) {\n continue;\n }\n\n penUp = 1;\n p1 = -1;\n p2 = -1;\n needLine = false;\n\n pointsLen = c.points.length;\n\n for (var j = 0; j < pointsLen; j++) {\n a = c.points[j];\n\n if (a[0] === -1 && a[1] === -1) {\n penUp = 1;\n needLine = false;\n continue;\n }\n\n positions.push((x + (a[0] * size) * mag) + xOrigin);\n positions.push((y + (a[1] * size) * mag) + yOrigin);\n positions.push(0 + zOrigin);\n\n if (p1 === -1) {\n p1 = countVerts;\n } else if (p2 === -1) {\n p2 = countVerts;\n } else {\n p1 = p2;\n p2 = countVerts;\n }\n countVerts++;\n\n if (penUp) {\n penUp = false;\n\n } else {\n indices.push(p1);\n indices.push(p2);\n }\n\n needLine = true;\n }\n x += c.width * mag * size;\n\n }\n y -= 35 * mag * size;\n }\n\n return {\n primitiveType: \"lines\",\n positions: positions,\n indices: indices\n };\n}\n\n\nexport {buildVectorTextGeometry}\n", @@ -8971,7 +9014,7 @@ "lineNumber": 1 }, { - "__docId__": 345, + "__docId__": 346, "kind": "variable", "name": "letters", "memberof": "src/geometryBuilders/buildVectorTextGeometry.js", @@ -8992,7 +9035,7 @@ "ignore": true }, { - "__docId__": 346, + "__docId__": 347, "kind": "function", "name": "buildVectorTextGeometry", "memberof": "src/geometryBuilders/buildVectorTextGeometry.js", @@ -9082,7 +9125,7 @@ } }, { - "__docId__": 347, + "__docId__": 348, "kind": "file", "name": "src/index.js", "content": "export {XKT_INFO} from \"./XKT_INFO.js\";\nexport * from \"./constants.js\";\nexport {XKTModel} from \"./XKTModel/XKTModel.js\";\nexport {writeXKTModelToArrayBuffer} from \"./XKTModel/writeXKTModelToArrayBuffer.js\";\n\nexport {parseCityJSONIntoXKTModel} from \"./parsers/parseCityJSONIntoXKTModel.js\";\nexport {parseGLTFIntoXKTModel} from \"./parsers/parseGLTFIntoXKTModel.js\";\nexport {parseGLTFJSONIntoXKTModel} from \"./parsers/parseGLTFJSONIntoXKTModel.js\";\nexport {parseIFCIntoXKTModel} from \"./parsers/parseIFCIntoXKTModel.js\";\nexport {parseLASIntoXKTModel} from \"./parsers/parseLASIntoXKTModel.js\";\nexport {parseMetaModelIntoXKTModel} from \"./parsers/parseMetaModelIntoXKTModel.js\";\nexport {parsePCDIntoXKTModel} from \"./parsers/parsePCDIntoXKTModel.js\";\nexport {parsePLYIntoXKTModel} from \"./parsers/parsePLYIntoXKTModel.js\";\nexport {parseSTLIntoXKTModel} from \"./parsers/parseSTLIntoXKTModel.js\";\n\nexport {buildBoxGeometry} from \"./geometryBuilders/buildBoxGeometry.js\";\nexport {buildBoxLinesGeometry} from \"./geometryBuilders/buildBoxLinesGeometry.js\";\nexport {buildCylinderGeometry} from \"./geometryBuilders/buildCylinderGeometry.js\";\nexport {buildGridGeometry} from \"./geometryBuilders/buildGridGeometry.js\";\nexport {buildPlaneGeometry} from \"./geometryBuilders/buildPlaneGeometry.js\";\nexport {buildSphereGeometry} from \"./geometryBuilders/buildSphereGeometry.js\";\nexport {buildTorusGeometry} from \"./geometryBuilders/buildTorusGeometry.js\";\nexport {buildVectorTextGeometry} from \"./geometryBuilders/buildVectorTextGeometry.js\";\n\n", @@ -9093,7 +9136,7 @@ "lineNumber": 1 }, { - "__docId__": 348, + "__docId__": 349, "kind": "file", "name": "src/lib/buildFaceNormals.js", "content": "import {math} from \"./math.js\";\n\n/**\n * Builds face-aligned vertex normal vectors from positions and indices.\n *\n * @private\n */\nfunction buildFaceNormals(positions, indices, normals) {\n\n const a = math.vec3();\n const b = math.vec3();\n const c = math.vec3();\n\n const normVec = math.vec3();\n\n for (let i = 0, len = indices.length; i < len; i += 3) {\n\n const j0 = indices[i];\n const j1 = indices[i + 1];\n const j2 = indices[i + 2];\n\n a[0] = positions[j0 * 3];\n a[1] = positions[j0 * 3 + 1];\n a[2] = positions[j0 * 3 + 2];\n\n b[0] = positions[j1 * 3];\n b[1] = positions[j1 * 3 + 1];\n b[2] = positions[j1 * 3 + 2];\n\n c[0] = positions[j2 * 3];\n c[1] = positions[j2 * 3 + 1];\n c[2] = positions[j2 * 3 + 2];\n\n triangleNormal(a,b,c, normVec);\n\n normals[j0 * 3 + 0] = normVec[0];\n normals[j0 * 3 + 1] = normVec[1];\n normals[j0 * 3 + 2] = normVec[2];\n\n normals[j1 * 3 + 0] = normVec[0];\n normals[j1 * 3 + 1] = normVec[1];\n normals[j1 * 3 + 2] = normVec[2];\n\n normals[j2 * 3 + 0] = normVec[0];\n normals[j2 * 3 + 1] = normVec[1];\n normals[j2 * 3 + 2] = normVec[2];\n }\n}\n\nfunction triangleNormal(a, b, c, normal = math.vec3()) {\n const p1x = b[0] - a[0];\n const p1y = b[1] - a[1];\n const p1z = b[2] - a[2];\n\n const p2x = c[0] - a[0];\n const p2y = c[1] - a[1];\n const p2z = c[2] - a[2];\n\n const p3x = p1y * p2z - p1z * p2y;\n const p3y = p1z * p2x - p1x * p2z;\n const p3z = p1x * p2y - p1y * p2x;\n\n const mag = Math.sqrt(p3x * p3x + p3y * p3y + p3z * p3z);\n if (mag === 0) {\n normal[0] = 0;\n normal[1] = 0;\n normal[2] = 0;\n } else {\n normal[0] = p3x / mag;\n normal[1] = p3y / mag;\n normal[2] = p3z / mag;\n }\n\n return normal\n}\n\nexport {buildFaceNormals};", @@ -9104,7 +9147,7 @@ "lineNumber": 1 }, { - "__docId__": 349, + "__docId__": 350, "kind": "function", "name": "triangleNormal", "memberof": "src/lib/buildFaceNormals.js", @@ -9154,7 +9197,7 @@ "ignore": true }, { - "__docId__": 350, + "__docId__": 351, "kind": "function", "name": "buildFaceNormals", "memberof": "src/lib/buildFaceNormals.js", @@ -9192,7 +9235,7 @@ "return": null }, { - "__docId__": 351, + "__docId__": 352, "kind": "file", "name": "src/lib/buildVertexNormals.js", "content": "import {math} from \"./math.js\";\n\n/**\n * Builds vertex normal vectors from positions and indices.\n *\n * @private\n */\nfunction buildVertexNormals(positions, indices, normals) {\n\n const a = math.vec3();\n const b = math.vec3();\n const c = math.vec3();\n const ab = math.vec3();\n const ac = math.vec3();\n const crossVec = math.vec3();\n const nvecs = new Array(positions.length / 3);\n\n for (let i = 0, len = indices.length; i < len; i += 3) {\n\n const j0 = indices[i];\n const j1 = indices[i + 1];\n const j2 = indices[i + 2];\n\n a[0] = positions[j0 * 3];\n a[1] = positions[j0 * 3 + 1];\n a[2] = positions[j0 * 3 + 2];\n\n b[0] = positions[j1 * 3];\n b[1] = positions[j1 * 3 + 1];\n b[2] = positions[j1 * 3 + 2];\n\n c[0] = positions[j2 * 3];\n c[1] = positions[j2 * 3 + 1];\n c[2] = positions[j2 * 3 + 2];\n\n math.subVec3(b, a, ab);\n math.subVec3(c, a, ac);\n\n const normVec = math.vec3();\n\n math.normalizeVec3(math.cross3Vec3(ab, ac, crossVec), normVec);\n\n if (!nvecs[j0]) {\n nvecs[j0] = [];\n }\n if (!nvecs[j1]) {\n nvecs[j1] = [];\n }\n if (!nvecs[j2]) {\n nvecs[j2] = [];\n }\n\n nvecs[j0].push(normVec);\n nvecs[j1].push(normVec);\n nvecs[j2].push(normVec);\n }\n\n normals = (normals && normals.length === positions.length) ? normals : new Float32Array(positions.length);\n\n for (let i = 0, len = nvecs.length; i < len; i++) { // Now go through and average out everything\n\n const count = nvecs[i].length;\n\n let x = 0;\n let y = 0;\n let z = 0;\n\n for (let j = 0; j < count; j++) {\n x += nvecs[i][j][0];\n y += nvecs[i][j][1];\n z += nvecs[i][j][2];\n }\n\n normals[i * 3] = (x / count);\n normals[i * 3 + 1] = (y / count);\n normals[i * 3 + 2] = (z / count);\n }\n\n return normals;\n}\n\nexport {buildVertexNormals};", @@ -9203,7 +9246,7 @@ "lineNumber": 1 }, { - "__docId__": 352, + "__docId__": 353, "kind": "function", "name": "buildVertexNormals", "memberof": "src/lib/buildVertexNormals.js", @@ -9245,7 +9288,7 @@ } }, { - "__docId__": 353, + "__docId__": 354, "kind": "file", "name": "src/lib/earcut.js", "content": "/** @private */\nfunction earcut(data, holeIndices, dim) {\n\n dim = dim || 2;\n\n var hasHoles = holeIndices && holeIndices.length,\n outerLen = hasHoles ? holeIndices[0] * dim : data.length,\n outerNode = linkedList(data, 0, outerLen, dim, true),\n triangles = [];\n\n if (!outerNode || outerNode.next === outerNode.prev) return triangles;\n\n var minX, minY, maxX, maxY, x, y, invSize;\n\n if (hasHoles) outerNode = eliminateHoles(data, holeIndices, outerNode, dim);\n\n // if the shape is not too simple, we'll use z-order curve hash later; calculate polygon bbox\n if (data.length > 80 * dim) {\n minX = maxX = data[0];\n minY = maxY = data[1];\n\n for (var i = dim; i < outerLen; i += dim) {\n x = data[i];\n y = data[i + 1];\n if (x < minX) minX = x;\n if (y < minY) minY = y;\n if (x > maxX) maxX = x;\n if (y > maxY) maxY = y;\n }\n\n // minX, minY and invSize are later used to transform coords into integers for z-order calculation\n invSize = Math.max(maxX - minX, maxY - minY);\n invSize = invSize !== 0 ? 1 / invSize : 0;\n }\n\n earcutLinked(outerNode, triangles, dim, minX, minY, invSize);\n\n return triangles;\n}\n\n// create a circular doubly linked list from polygon points in the specified winding order\nfunction linkedList(data, start, end, dim, clockwise) {\n var i, last;\n\n if (clockwise === (signedArea(data, start, end, dim) > 0)) {\n for (i = start; i < end; i += dim) last = insertNode(i, data[i], data[i + 1], last);\n } else {\n for (i = end - dim; i >= start; i -= dim) last = insertNode(i, data[i], data[i + 1], last);\n }\n\n if (last && equals(last, last.next)) {\n removeNode(last);\n last = last.next;\n }\n\n return last;\n}\n\n// eliminate colinear or duplicate points\nfunction filterPoints(start, end) {\n if (!start) return start;\n if (!end) end = start;\n\n var p = start,\n again;\n do {\n again = false;\n\n if (!p.steiner && (equals(p, p.next) || area(p.prev, p, p.next) === 0)) {\n removeNode(p);\n p = end = p.prev;\n if (p === p.next) break;\n again = true;\n\n } else {\n p = p.next;\n }\n } while (again || p !== end);\n\n return end;\n}\n\n// main ear slicing loop which triangulates a polygon (given as a linked list)\nfunction earcutLinked(ear, triangles, dim, minX, minY, invSize, pass) {\n if (!ear) return;\n\n // interlink polygon nodes in z-order\n if (!pass && invSize) indexCurve(ear, minX, minY, invSize);\n\n var stop = ear,\n prev, next;\n\n // iterate through ears, slicing them one by one\n while (ear.prev !== ear.next) {\n prev = ear.prev;\n next = ear.next;\n\n if (invSize ? isEarHashed(ear, minX, minY, invSize) : isEar(ear)) {\n // cut off the triangle\n triangles.push(prev.i / dim);\n triangles.push(ear.i / dim);\n triangles.push(next.i / dim);\n\n removeNode(ear);\n\n // skipping the next vertex leads to less sliver triangles\n ear = next.next;\n stop = next.next;\n\n continue;\n }\n\n ear = next;\n\n // if we looped through the whole remaining polygon and can't find any more ears\n if (ear === stop) {\n // try filtering points and slicing again\n if (!pass) {\n earcutLinked(filterPoints(ear), triangles, dim, minX, minY, invSize, 1);\n\n // if this didn't work, try curing all small self-intersections locally\n } else if (pass === 1) {\n ear = cureLocalIntersections(filterPoints(ear), triangles, dim);\n earcutLinked(ear, triangles, dim, minX, minY, invSize, 2);\n\n // as a last resort, try splitting the remaining polygon into two\n } else if (pass === 2) {\n splitEarcut(ear, triangles, dim, minX, minY, invSize);\n }\n\n break;\n }\n }\n}\n\n// check whether a polygon node forms a valid ear with adjacent nodes\nfunction isEar(ear) {\n var a = ear.prev,\n b = ear,\n c = ear.next;\n\n if (area(a, b, c) >= 0) return false; // reflex, can't be an ear\n\n // now make sure we don't have other points inside the potential ear\n var p = ear.next.next;\n\n while (p !== ear.prev) {\n if (pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) &&\n area(p.prev, p, p.next) >= 0) return false;\n p = p.next;\n }\n\n return true;\n}\n\nfunction isEarHashed(ear, minX, minY, invSize) {\n var a = ear.prev,\n b = ear,\n c = ear.next;\n\n if (area(a, b, c) >= 0) return false; // reflex, can't be an ear\n\n // triangle bbox; min & max are calculated like this for speed\n var minTX = a.x < b.x ? (a.x < c.x ? a.x : c.x) : (b.x < c.x ? b.x : c.x),\n minTY = a.y < b.y ? (a.y < c.y ? a.y : c.y) : (b.y < c.y ? b.y : c.y),\n maxTX = a.x > b.x ? (a.x > c.x ? a.x : c.x) : (b.x > c.x ? b.x : c.x),\n maxTY = a.y > b.y ? (a.y > c.y ? a.y : c.y) : (b.y > c.y ? b.y : c.y);\n\n // z-order range for the current triangle bbox;\n var minZ = zOrder(minTX, minTY, minX, minY, invSize),\n maxZ = zOrder(maxTX, maxTY, minX, minY, invSize);\n\n var p = ear.prevZ,\n n = ear.nextZ;\n\n // look for points inside the triangle in both directions\n while (p && p.z >= minZ && n && n.z <= maxZ) {\n if (p !== ear.prev && p !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) &&\n area(p.prev, p, p.next) >= 0) return false;\n p = p.prevZ;\n\n if (n !== ear.prev && n !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, n.x, n.y) &&\n area(n.prev, n, n.next) >= 0) return false;\n n = n.nextZ;\n }\n\n // look for remaining points in decreasing z-order\n while (p && p.z >= minZ) {\n if (p !== ear.prev && p !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) &&\n area(p.prev, p, p.next) >= 0) return false;\n p = p.prevZ;\n }\n\n // look for remaining points in increasing z-order\n while (n && n.z <= maxZ) {\n if (n !== ear.prev && n !== ear.next &&\n pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, n.x, n.y) &&\n area(n.prev, n, n.next) >= 0) return false;\n n = n.nextZ;\n }\n\n return true;\n}\n\n// go through all polygon nodes and cure small local self-intersections\nfunction cureLocalIntersections(start, triangles, dim) {\n var p = start;\n do {\n var a = p.prev,\n b = p.next.next;\n\n if (!equals(a, b) && intersects(a, p, p.next, b) && locallyInside(a, b) && locallyInside(b, a)) {\n\n triangles.push(a.i / dim);\n triangles.push(p.i / dim);\n triangles.push(b.i / dim);\n\n // remove two nodes involved\n removeNode(p);\n removeNode(p.next);\n\n p = start = b;\n }\n p = p.next;\n } while (p !== start);\n\n return filterPoints(p);\n}\n\n// try splitting polygon into two and triangulate them independently\nfunction splitEarcut(start, triangles, dim, minX, minY, invSize) {\n // look for a valid diagonal that divides the polygon into two\n var a = start;\n do {\n var b = a.next.next;\n while (b !== a.prev) {\n if (a.i !== b.i && isValidDiagonal(a, b)) {\n // split the polygon in two by the diagonal\n var c = splitPolygon(a, b);\n\n // filter colinear points around the cuts\n a = filterPoints(a, a.next);\n c = filterPoints(c, c.next);\n\n // run earcut on each half\n earcutLinked(a, triangles, dim, minX, minY, invSize);\n earcutLinked(c, triangles, dim, minX, minY, invSize);\n return;\n }\n b = b.next;\n }\n a = a.next;\n } while (a !== start);\n}\n\n// link every hole into the outer loop, producing a single-ring polygon without holes\nfunction eliminateHoles(data, holeIndices, outerNode, dim) {\n var queue = [],\n i, len, start, end, list;\n\n for (i = 0, len = holeIndices.length; i < len; i++) {\n start = holeIndices[i] * dim;\n end = i < len - 1 ? holeIndices[i + 1] * dim : data.length;\n list = linkedList(data, start, end, dim, false);\n if (list === list.next) list.steiner = true;\n queue.push(getLeftmost(list));\n }\n\n queue.sort(compareX);\n\n // process holes from left to right\n for (i = 0; i < queue.length; i++) {\n eliminateHole(queue[i], outerNode);\n outerNode = filterPoints(outerNode, outerNode.next);\n }\n\n return outerNode;\n}\n\nfunction compareX(a, b) {\n return a.x - b.x;\n}\n\n// find a bridge between vertices that connects hole with an outer ring and and link it\nfunction eliminateHole(hole, outerNode) {\n outerNode = findHoleBridge(hole, outerNode);\n if (outerNode) {\n var b = splitPolygon(outerNode, hole);\n\n // filter collinear points around the cuts\n filterPoints(outerNode, outerNode.next);\n filterPoints(b, b.next);\n }\n}\n\n// David Eberly's algorithm for finding a bridge between hole and outer polygon\nfunction findHoleBridge(hole, outerNode) {\n var p = outerNode,\n hx = hole.x,\n hy = hole.y,\n qx = -Infinity,\n m;\n\n // find a segment intersected by a ray from the hole's leftmost point to the left;\n // segment's endpoint with lesser x will be potential connection point\n do {\n if (hy <= p.y && hy >= p.next.y && p.next.y !== p.y) {\n var x = p.x + (hy - p.y) * (p.next.x - p.x) / (p.next.y - p.y);\n if (x <= hx && x > qx) {\n qx = x;\n if (x === hx) {\n if (hy === p.y) return p;\n if (hy === p.next.y) return p.next;\n }\n m = p.x < p.next.x ? p : p.next;\n }\n }\n p = p.next;\n } while (p !== outerNode);\n\n if (!m) return null;\n\n if (hx === qx) return m; // hole touches outer segment; pick leftmost endpoint\n\n // look for points inside the triangle of hole point, segment intersection and endpoint;\n // if there are no points found, we have a valid connection;\n // otherwise choose the point of the minimum angle with the ray as connection point\n\n var stop = m,\n mx = m.x,\n my = m.y,\n tanMin = Infinity,\n tan;\n\n p = m;\n\n do {\n if (hx >= p.x && p.x >= mx && hx !== p.x &&\n pointInTriangle(hy < my ? hx : qx, hy, mx, my, hy < my ? qx : hx, hy, p.x, p.y)) {\n\n tan = Math.abs(hy - p.y) / (hx - p.x); // tangential\n\n if (locallyInside(p, hole) &&\n (tan < tanMin || (tan === tanMin && (p.x > m.x || (p.x === m.x && sectorContainsSector(m, p)))))) {\n m = p;\n tanMin = tan;\n }\n }\n\n p = p.next;\n } while (p !== stop);\n\n return m;\n}\n\n// whether sector in vertex m contains sector in vertex p in the same coordinates\nfunction sectorContainsSector(m, p) {\n return area(m.prev, m, p.prev) < 0 && area(p.next, m, m.next) < 0;\n}\n\n// interlink polygon nodes in z-order\nfunction indexCurve(start, minX, minY, invSize) {\n var p = start;\n do {\n if (p.z === null) p.z = zOrder(p.x, p.y, minX, minY, invSize);\n p.prevZ = p.prev;\n p.nextZ = p.next;\n p = p.next;\n } while (p !== start);\n\n p.prevZ.nextZ = null;\n p.prevZ = null;\n\n sortLinked(p);\n}\n\n// Simon Tatham's linked list merge sort algorithm\n// http://www.chiark.greenend.org.uk/~sgtatham/algorithms/listsort.html\nfunction sortLinked(list) {\n var i, p, q, e, tail, numMerges, pSize, qSize,\n inSize = 1;\n\n do {\n p = list;\n list = null;\n tail = null;\n numMerges = 0;\n\n while (p) {\n numMerges++;\n q = p;\n pSize = 0;\n for (i = 0; i < inSize; i++) {\n pSize++;\n q = q.nextZ;\n if (!q) break;\n }\n qSize = inSize;\n\n while (pSize > 0 || (qSize > 0 && q)) {\n\n if (pSize !== 0 && (qSize === 0 || !q || p.z <= q.z)) {\n e = p;\n p = p.nextZ;\n pSize--;\n } else {\n e = q;\n q = q.nextZ;\n qSize--;\n }\n\n if (tail) tail.nextZ = e;\n else list = e;\n\n e.prevZ = tail;\n tail = e;\n }\n\n p = q;\n }\n\n tail.nextZ = null;\n inSize *= 2;\n\n } while (numMerges > 1);\n\n return list;\n}\n\n// z-order of a point given coords and inverse of the longer side of data bbox\nfunction zOrder(x, y, minX, minY, invSize) {\n // coords are transformed into non-negative 15-bit integer range\n x = 32767 * (x - minX) * invSize;\n y = 32767 * (y - minY) * invSize;\n\n x = (x | (x << 8)) & 0x00FF00FF;\n x = (x | (x << 4)) & 0x0F0F0F0F;\n x = (x | (x << 2)) & 0x33333333;\n x = (x | (x << 1)) & 0x55555555;\n\n y = (y | (y << 8)) & 0x00FF00FF;\n y = (y | (y << 4)) & 0x0F0F0F0F;\n y = (y | (y << 2)) & 0x33333333;\n y = (y | (y << 1)) & 0x55555555;\n\n return x | (y << 1);\n}\n\n// find the leftmost node of a polygon ring\nfunction getLeftmost(start) {\n var p = start,\n leftmost = start;\n do {\n if (p.x < leftmost.x || (p.x === leftmost.x && p.y < leftmost.y)) leftmost = p;\n p = p.next;\n } while (p !== start);\n\n return leftmost;\n}\n\n// check if a point lies within a convex triangle\nfunction pointInTriangle(ax, ay, bx, by, cx, cy, px, py) {\n return (cx - px) * (ay - py) - (ax - px) * (cy - py) >= 0 &&\n (ax - px) * (by - py) - (bx - px) * (ay - py) >= 0 &&\n (bx - px) * (cy - py) - (cx - px) * (by - py) >= 0;\n}\n\n// check if a diagonal between two polygon nodes is valid (lies in polygon interior)\nfunction isValidDiagonal(a, b) {\n return a.next.i !== b.i && a.prev.i !== b.i && !intersectsPolygon(a, b) && // dones't intersect other edges\n (locallyInside(a, b) && locallyInside(b, a) && middleInside(a, b) && // locally visible\n (area(a.prev, a, b.prev) || area(a, b.prev, b)) || // does not create opposite-facing sectors\n equals(a, b) && area(a.prev, a, a.next) > 0 && area(b.prev, b, b.next) > 0); // special zero-length case\n}\n\n// signed area of a triangle\nfunction area(p, q, r) {\n return (q.y - p.y) * (r.x - q.x) - (q.x - p.x) * (r.y - q.y);\n}\n\n// check if two points are equal\nfunction equals(p1, p2) {\n return p1.x === p2.x && p1.y === p2.y;\n}\n\n// check if two segments intersect\nfunction intersects(p1, q1, p2, q2) {\n var o1 = sign(area(p1, q1, p2));\n var o2 = sign(area(p1, q1, q2));\n var o3 = sign(area(p2, q2, p1));\n var o4 = sign(area(p2, q2, q1));\n\n if (o1 !== o2 && o3 !== o4) return true; // general case\n\n if (o1 === 0 && onSegment(p1, p2, q1)) return true; // p1, q1 and p2 are collinear and p2 lies on p1q1\n if (o2 === 0 && onSegment(p1, q2, q1)) return true; // p1, q1 and q2 are collinear and q2 lies on p1q1\n if (o3 === 0 && onSegment(p2, p1, q2)) return true; // p2, q2 and p1 are collinear and p1 lies on p2q2\n if (o4 === 0 && onSegment(p2, q1, q2)) return true; // p2, q2 and q1 are collinear and q1 lies on p2q2\n\n return false;\n}\n\n// for collinear points p, q, r, check if point q lies on segment pr\nfunction onSegment(p, q, r) {\n return q.x <= Math.max(p.x, r.x) && q.x >= Math.min(p.x, r.x) && q.y <= Math.max(p.y, r.y) && q.y >= Math.min(p.y, r.y);\n}\n\nfunction sign(num) {\n return num > 0 ? 1 : num < 0 ? -1 : 0;\n}\n\n// check if a polygon diagonal intersects any polygon segments\nfunction intersectsPolygon(a, b) {\n var p = a;\n do {\n if (p.i !== a.i && p.next.i !== a.i && p.i !== b.i && p.next.i !== b.i &&\n intersects(p, p.next, a, b)) return true;\n p = p.next;\n } while (p !== a);\n\n return false;\n}\n\n// check if a polygon diagonal is locally inside the polygon\nfunction locallyInside(a, b) {\n return area(a.prev, a, a.next) < 0 ?\n area(a, b, a.next) >= 0 && area(a, a.prev, b) >= 0 :\n area(a, b, a.prev) < 0 || area(a, a.next, b) < 0;\n}\n\n// check if the middle point of a polygon diagonal is inside the polygon\nfunction middleInside(a, b) {\n var p = a,\n inside = false,\n px = (a.x + b.x) / 2,\n py = (a.y + b.y) / 2;\n do {\n if (((p.y > py) !== (p.next.y > py)) && p.next.y !== p.y &&\n (px < (p.next.x - p.x) * (py - p.y) / (p.next.y - p.y) + p.x))\n inside = !inside;\n p = p.next;\n } while (p !== a);\n\n return inside;\n}\n\n// link two polygon vertices with a bridge; if the vertices belong to the same ring, it splits polygon into two;\n// if one belongs to the outer ring and another to a hole, it merges it into a single ring\nfunction splitPolygon(a, b) {\n var a2 = new Node(a.i, a.x, a.y),\n b2 = new Node(b.i, b.x, b.y),\n an = a.next,\n bp = b.prev;\n\n a.next = b;\n b.prev = a;\n\n a2.next = an;\n an.prev = a2;\n\n b2.next = a2;\n a2.prev = b2;\n\n bp.next = b2;\n b2.prev = bp;\n\n return b2;\n}\n\n// create a node and optionally link it with previous one (in a circular doubly linked list)\nfunction insertNode(i, x, y, last) {\n var p = new Node(i, x, y);\n\n if (!last) {\n p.prev = p;\n p.next = p;\n\n } else {\n p.next = last.next;\n p.prev = last;\n last.next.prev = p;\n last.next = p;\n }\n return p;\n}\n\nfunction removeNode(p) {\n p.next.prev = p.prev;\n p.prev.next = p.next;\n\n if (p.prevZ) p.prevZ.nextZ = p.nextZ;\n if (p.nextZ) p.nextZ.prevZ = p.prevZ;\n}\n\nfunction Node(i, x, y) {\n // vertex index in coordinates array\n this.i = i;\n\n // vertex coordinates\n this.x = x;\n this.y = y;\n\n // previous and next vertex nodes in a polygon ring\n this.prev = null;\n this.next = null;\n\n // z-order curve value\n this.z = null;\n\n // previous and next nodes in z-order\n this.prevZ = null;\n this.nextZ = null;\n\n // indicates whether this is a steiner point\n this.steiner = false;\n}\n\n// return a percentage difference between the polygon area and its triangulation area;\n// used to verify correctness of triangulation\nearcut.deviation = function (data, holeIndices, dim, triangles) {\n var hasHoles = holeIndices && holeIndices.length;\n var outerLen = hasHoles ? holeIndices[0] * dim : data.length;\n\n var polygonArea = Math.abs(signedArea(data, 0, outerLen, dim));\n if (hasHoles) {\n for (var i = 0, len = holeIndices.length; i < len; i++) {\n var start = holeIndices[i] * dim;\n var end = i < len - 1 ? holeIndices[i + 1] * dim : data.length;\n polygonArea -= Math.abs(signedArea(data, start, end, dim));\n }\n }\n\n var trianglesArea = 0;\n for (i = 0; i < triangles.length; i += 3) {\n var a = triangles[i] * dim;\n var b = triangles[i + 1] * dim;\n var c = triangles[i + 2] * dim;\n trianglesArea += Math.abs(\n (data[a] - data[c]) * (data[b + 1] - data[a + 1]) -\n (data[a] - data[b]) * (data[c + 1] - data[a + 1]));\n }\n\n return polygonArea === 0 && trianglesArea === 0 ? 0 :\n Math.abs((trianglesArea - polygonArea) / polygonArea);\n};\n\nfunction signedArea(data, start, end, dim) {\n var sum = 0;\n for (var i = start, j = end - dim; i < end; i += dim) {\n sum += (data[j] - data[i]) * (data[i + 1] + data[j + 1]);\n j = i;\n }\n return sum;\n}\n\n// turn a polygon in a multi-dimensional array form (e.g. as in GeoJSON) into a form Earcut accepts\nearcut.flatten = function (data) {\n var dim = data[0][0].length,\n result = {vertices: [], holes: [], dimensions: dim},\n holeIndex = 0;\n\n for (var i = 0; i < data.length; i++) {\n for (var j = 0; j < data[i].length; j++) {\n for (var d = 0; d < dim; d++) result.vertices.push(data[i][j][d]);\n }\n if (i > 0) {\n holeIndex += data[i - 1].length;\n result.holes.push(holeIndex);\n }\n }\n return result;\n};\n\nexport {earcut};", @@ -9256,7 +9299,7 @@ "lineNumber": 1 }, { - "__docId__": 354, + "__docId__": 355, "kind": "function", "name": "linkedList", "memberof": "src/lib/earcut.js", @@ -9311,7 +9354,7 @@ "ignore": true }, { - "__docId__": 355, + "__docId__": 356, "kind": "function", "name": "filterPoints", "memberof": "src/lib/earcut.js", @@ -9348,7 +9391,7 @@ "ignore": true }, { - "__docId__": 356, + "__docId__": 357, "kind": "function", "name": "earcutLinked", "memberof": "src/lib/earcut.js", @@ -9411,7 +9454,7 @@ "ignore": true }, { - "__docId__": 357, + "__docId__": 358, "kind": "function", "name": "isEar", "memberof": "src/lib/earcut.js", @@ -9442,7 +9485,7 @@ "ignore": true }, { - "__docId__": 358, + "__docId__": 359, "kind": "function", "name": "isEarHashed", "memberof": "src/lib/earcut.js", @@ -9491,7 +9534,7 @@ "ignore": true }, { - "__docId__": 359, + "__docId__": 360, "kind": "function", "name": "cureLocalIntersections", "memberof": "src/lib/earcut.js", @@ -9534,7 +9577,7 @@ "ignore": true }, { - "__docId__": 360, + "__docId__": 361, "kind": "function", "name": "splitEarcut", "memberof": "src/lib/earcut.js", @@ -9591,7 +9634,7 @@ "ignore": true }, { - "__docId__": 361, + "__docId__": 362, "kind": "function", "name": "eliminateHoles", "memberof": "src/lib/earcut.js", @@ -9640,7 +9683,7 @@ "ignore": true }, { - "__docId__": 362, + "__docId__": 363, "kind": "function", "name": "compareX", "memberof": "src/lib/earcut.js", @@ -9677,7 +9720,7 @@ "ignore": true }, { - "__docId__": 363, + "__docId__": 364, "kind": "function", "name": "eliminateHole", "memberof": "src/lib/earcut.js", @@ -9710,7 +9753,7 @@ "ignore": true }, { - "__docId__": 364, + "__docId__": 365, "kind": "function", "name": "findHoleBridge", "memberof": "src/lib/earcut.js", @@ -9747,7 +9790,7 @@ "ignore": true }, { - "__docId__": 365, + "__docId__": 366, "kind": "function", "name": "sectorContainsSector", "memberof": "src/lib/earcut.js", @@ -9784,7 +9827,7 @@ "ignore": true }, { - "__docId__": 366, + "__docId__": 367, "kind": "function", "name": "indexCurve", "memberof": "src/lib/earcut.js", @@ -9829,7 +9872,7 @@ "ignore": true }, { - "__docId__": 367, + "__docId__": 368, "kind": "function", "name": "sortLinked", "memberof": "src/lib/earcut.js", @@ -9860,7 +9903,7 @@ "ignore": true }, { - "__docId__": 368, + "__docId__": 369, "kind": "function", "name": "zOrder", "memberof": "src/lib/earcut.js", @@ -9915,7 +9958,7 @@ "ignore": true }, { - "__docId__": 369, + "__docId__": 370, "kind": "function", "name": "getLeftmost", "memberof": "src/lib/earcut.js", @@ -9946,7 +9989,7 @@ "ignore": true }, { - "__docId__": 370, + "__docId__": 371, "kind": "function", "name": "pointInTriangle", "memberof": "src/lib/earcut.js", @@ -10019,7 +10062,7 @@ "ignore": true }, { - "__docId__": 371, + "__docId__": 372, "kind": "function", "name": "isValidDiagonal", "memberof": "src/lib/earcut.js", @@ -10056,7 +10099,7 @@ "ignore": true }, { - "__docId__": 372, + "__docId__": 373, "kind": "function", "name": "area", "memberof": "src/lib/earcut.js", @@ -10099,7 +10142,7 @@ "ignore": true }, { - "__docId__": 373, + "__docId__": 374, "kind": "function", "name": "equals", "memberof": "src/lib/earcut.js", @@ -10136,7 +10179,7 @@ "ignore": true }, { - "__docId__": 374, + "__docId__": 375, "kind": "function", "name": "intersects", "memberof": "src/lib/earcut.js", @@ -10185,7 +10228,7 @@ "ignore": true }, { - "__docId__": 375, + "__docId__": 376, "kind": "function", "name": "onSegment", "memberof": "src/lib/earcut.js", @@ -10228,7 +10271,7 @@ "ignore": true }, { - "__docId__": 376, + "__docId__": 377, "kind": "function", "name": "sign", "memberof": "src/lib/earcut.js", @@ -10259,7 +10302,7 @@ "ignore": true }, { - "__docId__": 377, + "__docId__": 378, "kind": "function", "name": "intersectsPolygon", "memberof": "src/lib/earcut.js", @@ -10296,7 +10339,7 @@ "ignore": true }, { - "__docId__": 378, + "__docId__": 379, "kind": "function", "name": "locallyInside", "memberof": "src/lib/earcut.js", @@ -10333,7 +10376,7 @@ "ignore": true }, { - "__docId__": 379, + "__docId__": 380, "kind": "function", "name": "middleInside", "memberof": "src/lib/earcut.js", @@ -10370,7 +10413,7 @@ "ignore": true }, { - "__docId__": 380, + "__docId__": 381, "kind": "function", "name": "splitPolygon", "memberof": "src/lib/earcut.js", @@ -10407,7 +10450,7 @@ "ignore": true }, { - "__docId__": 381, + "__docId__": 382, "kind": "function", "name": "insertNode", "memberof": "src/lib/earcut.js", @@ -10456,7 +10499,7 @@ "ignore": true }, { - "__docId__": 382, + "__docId__": 383, "kind": "function", "name": "removeNode", "memberof": "src/lib/earcut.js", @@ -10483,7 +10526,7 @@ "ignore": true }, { - "__docId__": 383, + "__docId__": 384, "kind": "function", "name": "Node", "memberof": "src/lib/earcut.js", @@ -10522,7 +10565,7 @@ "ignore": true }, { - "__docId__": 384, + "__docId__": 385, "kind": "function", "name": "deviation", "memberof": "src/lib/earcut.js", @@ -10571,7 +10614,7 @@ "ignore": true }, { - "__docId__": 385, + "__docId__": 386, "kind": "function", "name": "signedArea", "memberof": "src/lib/earcut.js", @@ -10620,7 +10663,7 @@ "ignore": true }, { - "__docId__": 386, + "__docId__": 387, "kind": "function", "name": "flatten", "memberof": "src/lib/earcut.js", @@ -10651,7 +10694,7 @@ "ignore": true }, { - "__docId__": 387, + "__docId__": 388, "kind": "function", "name": "earcut", "memberof": "src/lib/earcut.js", @@ -10693,7 +10736,7 @@ } }, { - "__docId__": 388, + "__docId__": 389, "kind": "file", "name": "src/lib/faceToVertexNormals.js", "content": "import {math} from \"./math.js\";\n\n/**\n * Converts surface-perpendicular face normals to vertex normals. Assumes that the mesh contains disjoint triangles\n * that don't share vertex array elements. Works by finding groups of vertices that have the same location and\n * averaging their normal vectors.\n *\n * @returns {{positions: Array, normals: *}}\n * @private\n */\nfunction faceToVertexNormals(positions, normals, options = {}) {\n const smoothNormalsAngleThreshold = options.smoothNormalsAngleThreshold || 20;\n const vertexMap = {};\n const vertexNormals = [];\n const vertexNormalAccum = {};\n let acc;\n let vx;\n let vy;\n let vz;\n let key;\n const precisionPoints = 4; // number of decimal points, e.g. 4 for epsilon of 0.0001\n const precision = 10 ** precisionPoints;\n let posi;\n let i;\n let j;\n let len;\n let a;\n let b;\n let c;\n\n for (i = 0, len = positions.length; i < len; i += 3) {\n\n posi = i / 3;\n\n vx = positions[i];\n vy = positions[i + 1];\n vz = positions[i + 2];\n\n key = `${Math.round(vx * precision)}_${Math.round(vy * precision)}_${Math.round(vz * precision)}`;\n\n if (vertexMap[key] === undefined) {\n vertexMap[key] = [posi];\n } else {\n vertexMap[key].push(posi);\n }\n\n const normal = math.normalizeVec3([normals[i], normals[i + 1], normals[i + 2]]);\n\n vertexNormals[posi] = normal;\n\n acc = math.vec4([normal[0], normal[1], normal[2], 1]);\n\n vertexNormalAccum[posi] = acc;\n }\n\n for (key in vertexMap) {\n\n if (vertexMap.hasOwnProperty(key)) {\n\n const vertices = vertexMap[key];\n const numVerts = vertices.length;\n\n for (i = 0; i < numVerts; i++) {\n\n const ii = vertices[i];\n\n acc = vertexNormalAccum[ii];\n\n for (j = 0; j < numVerts; j++) {\n\n if (i === j) {\n continue;\n }\n\n const jj = vertices[j];\n\n a = vertexNormals[ii];\n b = vertexNormals[jj];\n\n const angle = Math.abs(math.angleVec3(a, b) / math.DEGTORAD);\n\n if (angle < smoothNormalsAngleThreshold) {\n\n acc[0] += b[0];\n acc[1] += b[1];\n acc[2] += b[2];\n acc[3] += 1.0;\n }\n }\n }\n }\n }\n\n for (i = 0, len = normals.length; i < len; i += 3) {\n\n acc = vertexNormalAccum[i / 3];\n\n normals[i + 0] = acc[0] / acc[3];\n normals[i + 1] = acc[1] / acc[3];\n normals[i + 2] = acc[2] / acc[3];\n\n }\n}\n\nexport {faceToVertexNormals};", @@ -10704,7 +10747,7 @@ "lineNumber": 1 }, { - "__docId__": 389, + "__docId__": 390, "kind": "function", "name": "faceToVertexNormals", "memberof": "src/lib/faceToVertexNormals.js", @@ -10758,7 +10801,7 @@ ] }, { - "__docId__": 390, + "__docId__": 391, "kind": "file", "name": "src/lib/math.js", "content": "// Some temporary vars to help avoid garbage collection\n\nconst doublePrecision = true;\nconst FloatArrayType = doublePrecision ? Float64Array : Float32Array;\n\nconst tempMat1 = new FloatArrayType(16);\nconst tempMat2 = new FloatArrayType(16);\nconst tempVec4 = new FloatArrayType(4);\n\n/**\n * @private\n */\nconst math = {\n\n MIN_DOUBLE: -Number.MAX_SAFE_INTEGER,\n MAX_DOUBLE: Number.MAX_SAFE_INTEGER,\n\n /**\n * The number of radiians in a degree (0.0174532925).\n * @property DEGTORAD\n * @type {Number}\n */\n DEGTORAD: 0.0174532925,\n\n /**\n * The number of degrees in a radian.\n * @property RADTODEG\n * @type {Number}\n */\n RADTODEG: 57.295779513,\n\n /**\n * Returns a new, uninitialized two-element vector.\n * @method vec2\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n vec2(values) {\n return new FloatArrayType(values || 2);\n },\n\n /**\n * Returns a new, uninitialized three-element vector.\n * @method vec3\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n vec3(values) {\n return new FloatArrayType(values || 3);\n },\n\n /**\n * Returns a new, uninitialized four-element vector.\n * @method vec4\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n vec4(values) {\n return new FloatArrayType(values || 4);\n },\n\n /**\n * Returns a new, uninitialized 3x3 matrix.\n * @method mat3\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n mat3(values) {\n return new FloatArrayType(values || 9);\n },\n\n /**\n * Converts a 3x3 matrix to 4x4\n * @method mat3ToMat4\n * @param mat3 3x3 matrix.\n * @param mat4 4x4 matrix\n * @static\n * @returns {Number[]}\n */\n mat3ToMat4(mat3, mat4 = new FloatArrayType(16)) {\n mat4[0] = mat3[0];\n mat4[1] = mat3[1];\n mat4[2] = mat3[2];\n mat4[3] = 0;\n mat4[4] = mat3[3];\n mat4[5] = mat3[4];\n mat4[6] = mat3[5];\n mat4[7] = 0;\n mat4[8] = mat3[6];\n mat4[9] = mat3[7];\n mat4[10] = mat3[8];\n mat4[11] = 0;\n mat4[12] = 0;\n mat4[13] = 0;\n mat4[14] = 0;\n mat4[15] = 1;\n return mat4;\n },\n\n /**\n * Returns a new, uninitialized 4x4 matrix.\n * @method mat4\n * @param [values] Initial values.\n * @static\n * @returns {Number[]}\n */\n mat4(values) {\n return new FloatArrayType(values || 16);\n },\n\n /**\n * Converts a 4x4 matrix to 3x3\n * @method mat4ToMat3\n * @param mat4 4x4 matrix.\n * @param mat3 3x3 matrix\n * @static\n * @returns {Number[]}\n */\n mat4ToMat3(mat4, mat3) { // TODO\n //return new FloatArrayType(values || 9);\n },\n\n /**\n * Returns a new UUID.\n * @method createUUID\n * @static\n * @return string The new UUID\n */\n createUUID: ((() => {\n const self = {};\n const lut = [];\n for (let i = 0; i < 256; i++) {\n lut[i] = (i < 16 ? '0' : '') + (i).toString(16);\n }\n return () => {\n const d0 = Math.random() * 0xffffffff | 0;\n const d1 = Math.random() * 0xffffffff | 0;\n const d2 = Math.random() * 0xffffffff | 0;\n const d3 = Math.random() * 0xffffffff | 0;\n return `${lut[d0 & 0xff] + lut[d0 >> 8 & 0xff] + lut[d0 >> 16 & 0xff] + lut[d0 >> 24 & 0xff]}-${lut[d1 & 0xff]}${lut[d1 >> 8 & 0xff]}-${lut[d1 >> 16 & 0x0f | 0x40]}${lut[d1 >> 24 & 0xff]}-${lut[d2 & 0x3f | 0x80]}${lut[d2 >> 8 & 0xff]}-${lut[d2 >> 16 & 0xff]}${lut[d2 >> 24 & 0xff]}${lut[d3 & 0xff]}${lut[d3 >> 8 & 0xff]}${lut[d3 >> 16 & 0xff]}${lut[d3 >> 24 & 0xff]}`;\n };\n }))(),\n\n /**\n * Clamps a value to the given range.\n * @param {Number} value Value to clamp.\n * @param {Number} min Lower bound.\n * @param {Number} max Upper bound.\n * @returns {Number} Clamped result.\n */\n clamp(value, min, max) {\n return Math.max(min, Math.min(max, value));\n },\n\n /**\n * Floating-point modulus\n * @method fmod\n * @static\n * @param {Number} a\n * @param {Number} b\n * @returns {*}\n */\n fmod(a, b) {\n if (a < b) {\n console.error(\"math.fmod : Attempting to find modulus within negative range - would be infinite loop - ignoring\");\n return a;\n }\n while (b <= a) {\n a -= b;\n }\n return a;\n },\n\n /**\n * Negates a four-element vector.\n * @method negateVec4\n * @static\n * @param {Array(Number)} v Vector to negate\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n negateVec4(v, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = -v[0];\n dest[1] = -v[1];\n dest[2] = -v[2];\n dest[3] = -v[3];\n return dest;\n },\n\n /**\n * Adds one four-element vector to another.\n * @method addVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n addVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] + v[0];\n dest[1] = u[1] + v[1];\n dest[2] = u[2] + v[2];\n dest[3] = u[3] + v[3];\n return dest;\n },\n\n /**\n * Adds a scalar value to each element of a four-element vector.\n * @method addVec4Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n addVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] + s;\n dest[1] = v[1] + s;\n dest[2] = v[2] + s;\n dest[3] = v[3] + s;\n return dest;\n },\n\n /**\n * Adds one three-element vector to another.\n * @method addVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n addVec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] + v[0];\n dest[1] = u[1] + v[1];\n dest[2] = u[2] + v[2];\n return dest;\n },\n\n /**\n * Adds a scalar value to each element of a three-element vector.\n * @method addVec4Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n addVec3Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] + s;\n dest[1] = v[1] + s;\n dest[2] = v[2] + s;\n return dest;\n },\n\n /**\n * Subtracts one four-element vector from another.\n * @method subVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Vector to subtract\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n subVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] - v[0];\n dest[1] = u[1] - v[1];\n dest[2] = u[2] - v[2];\n dest[3] = u[3] - v[3];\n return dest;\n },\n\n /**\n * Subtracts one three-element vector from another.\n * @method subVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Vector to subtract\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n subVec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] - v[0];\n dest[1] = u[1] - v[1];\n dest[2] = u[2] - v[2];\n return dest;\n },\n\n /**\n * Subtracts one two-element vector from another.\n * @method subVec2\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Vector to subtract\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n subVec2(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] - v[0];\n dest[1] = u[1] - v[1];\n return dest;\n },\n\n /**\n * Subtracts a scalar value from each element of a four-element vector.\n * @method subVec4Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n subVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] - s;\n dest[1] = v[1] - s;\n dest[2] = v[2] - s;\n dest[3] = v[3] - s;\n return dest;\n },\n\n /**\n * Sets each element of a 4-element vector to a scalar value minus the value of that element.\n * @method subScalarVec4\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n subScalarVec4(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = s - v[0];\n dest[1] = s - v[1];\n dest[2] = s - v[2];\n dest[3] = s - v[3];\n return dest;\n },\n\n /**\n * Multiplies one three-element vector by another.\n * @method mulVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n mulVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] * v[0];\n dest[1] = u[1] * v[1];\n dest[2] = u[2] * v[2];\n dest[3] = u[3] * v[3];\n return dest;\n },\n\n /**\n * Multiplies each element of a four-element vector by a scalar.\n * @method mulVec34calar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n mulVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] * s;\n dest[1] = v[1] * s;\n dest[2] = v[2] * s;\n dest[3] = v[3] * s;\n return dest;\n },\n\n /**\n * Multiplies each element of a three-element vector by a scalar.\n * @method mulVec3Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n mulVec3Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] * s;\n dest[1] = v[1] * s;\n dest[2] = v[2] * s;\n return dest;\n },\n\n /**\n * Multiplies each element of a two-element vector by a scalar.\n * @method mulVec2Scalar\n * @static\n * @param {Array(Number)} v The vector\n * @param {Number} s The scalar\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, v otherwise\n */\n mulVec2Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] * s;\n dest[1] = v[1] * s;\n return dest;\n },\n\n /**\n * Divides one three-element vector by another.\n * @method divVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n divVec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] / v[0];\n dest[1] = u[1] / v[1];\n dest[2] = u[2] / v[2];\n return dest;\n },\n\n /**\n * Divides one four-element vector by another.\n * @method divVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @param {Array(Number)} [dest] Destination vector\n * @return {Array(Number)} dest if specified, u otherwise\n */\n divVec4(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n dest[0] = u[0] / v[0];\n dest[1] = u[1] / v[1];\n dest[2] = u[2] / v[2];\n dest[3] = u[3] / v[3];\n return dest;\n },\n\n /**\n * Divides a scalar by a three-element vector, returning a new vector.\n * @method divScalarVec3\n * @static\n * @param v vec3\n * @param s scalar\n * @param dest vec3 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divScalarVec3(s, v, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = s / v[0];\n dest[1] = s / v[1];\n dest[2] = s / v[2];\n return dest;\n },\n\n /**\n * Divides a three-element vector by a scalar.\n * @method divVec3Scalar\n * @static\n * @param v vec3\n * @param s scalar\n * @param dest vec3 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divVec3Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] / s;\n dest[1] = v[1] / s;\n dest[2] = v[2] / s;\n return dest;\n },\n\n /**\n * Divides a four-element vector by a scalar.\n * @method divVec4Scalar\n * @static\n * @param v vec4\n * @param s scalar\n * @param dest vec4 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divVec4Scalar(v, s, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = v[0] / s;\n dest[1] = v[1] / s;\n dest[2] = v[2] / s;\n dest[3] = v[3] / s;\n return dest;\n },\n\n\n /**\n * Divides a scalar by a four-element vector, returning a new vector.\n * @method divScalarVec4\n * @static\n * @param s scalar\n * @param v vec4\n * @param dest vec4 - optional destination\n * @return [] dest if specified, v otherwise\n */\n divScalarVec4(s, v, dest) {\n if (!dest) {\n dest = v;\n }\n dest[0] = s / v[0];\n dest[1] = s / v[1];\n dest[2] = s / v[2];\n dest[3] = s / v[3];\n return dest;\n },\n\n /**\n * Returns the dot product of two four-element vectors.\n * @method dotVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The dot product\n */\n dotVec4(u, v) {\n return (u[0] * v[0] + u[1] * v[1] + u[2] * v[2] + u[3] * v[3]);\n },\n\n /**\n * Returns the cross product of two four-element vectors.\n * @method cross3Vec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The cross product\n */\n cross3Vec4(u, v) {\n const u0 = u[0];\n const u1 = u[1];\n const u2 = u[2];\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n return [\n u1 * v2 - u2 * v1,\n u2 * v0 - u0 * v2,\n u0 * v1 - u1 * v0,\n 0.0];\n },\n\n /**\n * Returns the cross product of two three-element vectors.\n * @method cross3Vec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The cross product\n */\n cross3Vec3(u, v, dest) {\n if (!dest) {\n dest = u;\n }\n const x = u[0];\n const y = u[1];\n const z = u[2];\n const x2 = v[0];\n const y2 = v[1];\n const z2 = v[2];\n dest[0] = y * z2 - z * y2;\n dest[1] = z * x2 - x * z2;\n dest[2] = x * y2 - y * x2;\n return dest;\n },\n\n\n sqLenVec4(v) { // TODO\n return math.dotVec4(v, v);\n },\n\n /**\n * Returns the length of a four-element vector.\n * @method lenVec4\n * @static\n * @param {Array(Number)} v The vector\n * @return The length\n */\n lenVec4(v) {\n return Math.sqrt(math.sqLenVec4(v));\n },\n\n /**\n * Returns the dot product of two three-element vectors.\n * @method dotVec3\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The dot product\n */\n dotVec3(u, v) {\n return (u[0] * v[0] + u[1] * v[1] + u[2] * v[2]);\n },\n\n /**\n * Returns the dot product of two two-element vectors.\n * @method dotVec4\n * @static\n * @param {Array(Number)} u First vector\n * @param {Array(Number)} v Second vector\n * @return The dot product\n */\n dotVec2(u, v) {\n return (u[0] * v[0] + u[1] * v[1]);\n },\n\n\n sqLenVec3(v) {\n return math.dotVec3(v, v);\n },\n\n\n sqLenVec2(v) {\n return math.dotVec2(v, v);\n },\n\n /**\n * Returns the length of a three-element vector.\n * @method lenVec3\n * @static\n * @param {Array(Number)} v The vector\n * @return The length\n */\n lenVec3(v) {\n return Math.sqrt(math.sqLenVec3(v));\n },\n\n distVec3: ((() => {\n const vec = new FloatArrayType(3);\n return (v, w) => math.lenVec3(math.subVec3(v, w, vec));\n }))(),\n\n /**\n * Returns the length of a two-element vector.\n * @method lenVec2\n * @static\n * @param {Array(Number)} v The vector\n * @return The length\n */\n lenVec2(v) {\n return Math.sqrt(math.sqLenVec2(v));\n },\n\n distVec2: ((() => {\n const vec = new FloatArrayType(2);\n return (v, w) => math.lenVec2(math.subVec2(v, w, vec));\n }))(),\n\n /**\n * @method rcpVec3\n * @static\n * @param v vec3\n * @param dest vec3 - optional destination\n * @return [] dest if specified, v otherwise\n *\n */\n rcpVec3(v, dest) {\n return math.divScalarVec3(1.0, v, dest);\n },\n\n /**\n * Normalizes a four-element vector\n * @method normalizeVec4\n * @static\n * @param v vec4\n * @param dest vec4 - optional destination\n * @return [] dest if specified, v otherwise\n *\n */\n normalizeVec4(v, dest) {\n const f = 1.0 / math.lenVec4(v);\n return math.mulVec4Scalar(v, f, dest);\n },\n\n /**\n * Normalizes a three-element vector\n * @method normalizeVec4\n * @static\n */\n normalizeVec3(v, dest) {\n const f = 1.0 / math.lenVec3(v);\n return math.mulVec3Scalar(v, f, dest);\n },\n\n /**\n * Normalizes a two-element vector\n * @method normalizeVec2\n * @static\n */\n normalizeVec2(v, dest) {\n const f = 1.0 / math.lenVec2(v);\n return math.mulVec2Scalar(v, f, dest);\n },\n\n /**\n * Gets the angle between two vectors\n * @method angleVec3\n * @param v\n * @param w\n * @returns {number}\n */\n angleVec3(v, w) {\n let theta = math.dotVec3(v, w) / (Math.sqrt(math.sqLenVec3(v) * math.sqLenVec3(w)));\n theta = theta < -1 ? -1 : (theta > 1 ? 1 : theta); // Clamp to handle numerical problems\n return Math.acos(theta);\n },\n\n /**\n * Creates a three-element vector from the rotation part of a sixteen-element matrix.\n * @param m\n * @param dest\n */\n vec3FromMat4Scale: ((() => {\n\n const tempVec3 = new FloatArrayType(3);\n\n return (m, dest) => {\n\n tempVec3[0] = m[0];\n tempVec3[1] = m[1];\n tempVec3[2] = m[2];\n\n dest[0] = math.lenVec3(tempVec3);\n\n tempVec3[0] = m[4];\n tempVec3[1] = m[5];\n tempVec3[2] = m[6];\n\n dest[1] = math.lenVec3(tempVec3);\n\n tempVec3[0] = m[8];\n tempVec3[1] = m[9];\n tempVec3[2] = m[10];\n\n dest[2] = math.lenVec3(tempVec3);\n\n return dest;\n };\n }))(),\n\n /**\n * Converts an n-element vector to a JSON-serializable\n * array with values rounded to two decimal places.\n */\n vecToArray: ((() => {\n function trunc(v) {\n return Math.round(v * 100000) / 100000\n }\n\n return v => {\n v = Array.prototype.slice.call(v);\n for (let i = 0, len = v.length; i < len; i++) {\n v[i] = trunc(v[i]);\n }\n return v;\n };\n }))(),\n\n /**\n * Converts a 3-element vector from an array to an object of the form ````{x:999, y:999, z:999}````.\n * @param arr\n * @returns {{x: *, y: *, z: *}}\n */\n xyzArrayToObject(arr) {\n return {\"x\": arr[0], \"y\": arr[1], \"z\": arr[2]};\n },\n\n /**\n * Converts a 3-element vector object of the form ````{x:999, y:999, z:999}```` to an array.\n * @param xyz\n * @param [arry]\n * @returns {*[]}\n */\n xyzObjectToArray(xyz, arry) {\n arry = arry || new FloatArrayType(3);\n arry[0] = xyz.x;\n arry[1] = xyz.y;\n arry[2] = xyz.z;\n return arry;\n },\n\n /**\n * Duplicates a 4x4 identity matrix.\n * @method dupMat4\n * @static\n */\n dupMat4(m) {\n return m.slice(0, 16);\n },\n\n /**\n * Extracts a 3x3 matrix from a 4x4 matrix.\n * @method mat4To3\n * @static\n */\n mat4To3(m) {\n return [\n m[0], m[1], m[2],\n m[4], m[5], m[6],\n m[8], m[9], m[10]\n ];\n },\n\n /**\n * Returns a 4x4 matrix with each element set to the given scalar value.\n * @method m4s\n * @static\n */\n m4s(s) {\n return [\n s, s, s, s,\n s, s, s, s,\n s, s, s, s,\n s, s, s, s\n ];\n },\n\n /**\n * Returns a 4x4 matrix with each element set to zero.\n * @method setMat4ToZeroes\n * @static\n */\n setMat4ToZeroes() {\n return math.m4s(0.0);\n },\n\n /**\n * Returns a 4x4 matrix with each element set to 1.0.\n * @method setMat4ToOnes\n * @static\n */\n setMat4ToOnes() {\n return math.m4s(1.0);\n },\n\n /**\n * Returns a 4x4 matrix with each element set to 1.0.\n * @method setMat4ToOnes\n * @static\n */\n diagonalMat4v(v) {\n return new FloatArrayType([\n v[0], 0.0, 0.0, 0.0,\n 0.0, v[1], 0.0, 0.0,\n 0.0, 0.0, v[2], 0.0,\n 0.0, 0.0, 0.0, v[3]\n ]);\n },\n\n /**\n * Returns a 4x4 matrix with diagonal elements set to the given vector.\n * @method diagonalMat4c\n * @static\n */\n diagonalMat4c(x, y, z, w) {\n return math.diagonalMat4v([x, y, z, w]);\n },\n\n /**\n * Returns a 4x4 matrix with diagonal elements set to the given scalar.\n * @method diagonalMat4s\n * @static\n */\n diagonalMat4s(s) {\n return math.diagonalMat4c(s, s, s, s);\n },\n\n /**\n * Returns a 4x4 identity matrix.\n * @method identityMat4\n * @static\n */\n identityMat4(mat = new FloatArrayType(16)) {\n mat[0] = 1.0;\n mat[1] = 0.0;\n mat[2] = 0.0;\n mat[3] = 0.0;\n\n mat[4] = 0.0;\n mat[5] = 1.0;\n mat[6] = 0.0;\n mat[7] = 0.0;\n\n mat[8] = 0.0;\n mat[9] = 0.0;\n mat[10] = 1.0;\n mat[11] = 0.0;\n\n mat[12] = 0.0;\n mat[13] = 0.0;\n mat[14] = 0.0;\n mat[15] = 1.0;\n\n return mat;\n },\n\n /**\n * Returns a 3x3 identity matrix.\n * @method identityMat3\n * @static\n */\n identityMat3(mat = new FloatArrayType(9)) {\n mat[0] = 1.0;\n mat[1] = 0.0;\n mat[2] = 0.0;\n\n mat[3] = 0.0;\n mat[4] = 1.0;\n mat[5] = 0.0;\n\n mat[6] = 0.0;\n mat[7] = 0.0;\n mat[8] = 1.0;\n\n return mat;\n },\n\n /**\n * Tests if the given 4x4 matrix is the identity matrix.\n * @method isIdentityMat4\n * @static\n */\n isIdentityMat4(m) {\n if (m[0] !== 1.0 || m[1] !== 0.0 || m[2] !== 0.0 || m[3] !== 0.0 ||\n m[4] !== 0.0 || m[5] !== 1.0 || m[6] !== 0.0 || m[7] !== 0.0 ||\n m[8] !== 0.0 || m[9] !== 0.0 || m[10] !== 1.0 || m[11] !== 0.0 ||\n m[12] !== 0.0 || m[13] !== 0.0 || m[14] !== 0.0 || m[15] !== 1.0) {\n return false;\n }\n return true;\n },\n\n /**\n * Negates the given 4x4 matrix.\n * @method negateMat4\n * @static\n */\n negateMat4(m, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = -m[0];\n dest[1] = -m[1];\n dest[2] = -m[2];\n dest[3] = -m[3];\n dest[4] = -m[4];\n dest[5] = -m[5];\n dest[6] = -m[6];\n dest[7] = -m[7];\n dest[8] = -m[8];\n dest[9] = -m[9];\n dest[10] = -m[10];\n dest[11] = -m[11];\n dest[12] = -m[12];\n dest[13] = -m[13];\n dest[14] = -m[14];\n dest[15] = -m[15];\n return dest;\n },\n\n /**\n * Adds the given 4x4 matrices together.\n * @method addMat4\n * @static\n */\n addMat4(a, b, dest) {\n if (!dest) {\n dest = a;\n }\n dest[0] = a[0] + b[0];\n dest[1] = a[1] + b[1];\n dest[2] = a[2] + b[2];\n dest[3] = a[3] + b[3];\n dest[4] = a[4] + b[4];\n dest[5] = a[5] + b[5];\n dest[6] = a[6] + b[6];\n dest[7] = a[7] + b[7];\n dest[8] = a[8] + b[8];\n dest[9] = a[9] + b[9];\n dest[10] = a[10] + b[10];\n dest[11] = a[11] + b[11];\n dest[12] = a[12] + b[12];\n dest[13] = a[13] + b[13];\n dest[14] = a[14] + b[14];\n dest[15] = a[15] + b[15];\n return dest;\n },\n\n /**\n * Adds the given scalar to each element of the given 4x4 matrix.\n * @method addMat4Scalar\n * @static\n */\n addMat4Scalar(m, s, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = m[0] + s;\n dest[1] = m[1] + s;\n dest[2] = m[2] + s;\n dest[3] = m[3] + s;\n dest[4] = m[4] + s;\n dest[5] = m[5] + s;\n dest[6] = m[6] + s;\n dest[7] = m[7] + s;\n dest[8] = m[8] + s;\n dest[9] = m[9] + s;\n dest[10] = m[10] + s;\n dest[11] = m[11] + s;\n dest[12] = m[12] + s;\n dest[13] = m[13] + s;\n dest[14] = m[14] + s;\n dest[15] = m[15] + s;\n return dest;\n },\n\n /**\n * Adds the given scalar to each element of the given 4x4 matrix.\n * @method addScalarMat4\n * @static\n */\n addScalarMat4(s, m, dest) {\n return math.addMat4Scalar(m, s, dest);\n },\n\n /**\n * Subtracts the second 4x4 matrix from the first.\n * @method subMat4\n * @static\n */\n subMat4(a, b, dest) {\n if (!dest) {\n dest = a;\n }\n dest[0] = a[0] - b[0];\n dest[1] = a[1] - b[1];\n dest[2] = a[2] - b[2];\n dest[3] = a[3] - b[3];\n dest[4] = a[4] - b[4];\n dest[5] = a[5] - b[5];\n dest[6] = a[6] - b[6];\n dest[7] = a[7] - b[7];\n dest[8] = a[8] - b[8];\n dest[9] = a[9] - b[9];\n dest[10] = a[10] - b[10];\n dest[11] = a[11] - b[11];\n dest[12] = a[12] - b[12];\n dest[13] = a[13] - b[13];\n dest[14] = a[14] - b[14];\n dest[15] = a[15] - b[15];\n return dest;\n },\n\n /**\n * Subtracts the given scalar from each element of the given 4x4 matrix.\n * @method subMat4Scalar\n * @static\n */\n subMat4Scalar(m, s, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = m[0] - s;\n dest[1] = m[1] - s;\n dest[2] = m[2] - s;\n dest[3] = m[3] - s;\n dest[4] = m[4] - s;\n dest[5] = m[5] - s;\n dest[6] = m[6] - s;\n dest[7] = m[7] - s;\n dest[8] = m[8] - s;\n dest[9] = m[9] - s;\n dest[10] = m[10] - s;\n dest[11] = m[11] - s;\n dest[12] = m[12] - s;\n dest[13] = m[13] - s;\n dest[14] = m[14] - s;\n dest[15] = m[15] - s;\n return dest;\n },\n\n /**\n * Subtracts the given scalar from each element of the given 4x4 matrix.\n * @method subScalarMat4\n * @static\n */\n subScalarMat4(s, m, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = s - m[0];\n dest[1] = s - m[1];\n dest[2] = s - m[2];\n dest[3] = s - m[3];\n dest[4] = s - m[4];\n dest[5] = s - m[5];\n dest[6] = s - m[6];\n dest[7] = s - m[7];\n dest[8] = s - m[8];\n dest[9] = s - m[9];\n dest[10] = s - m[10];\n dest[11] = s - m[11];\n dest[12] = s - m[12];\n dest[13] = s - m[13];\n dest[14] = s - m[14];\n dest[15] = s - m[15];\n return dest;\n },\n\n /**\n * Multiplies the two given 4x4 matrix by each other.\n * @method mulMat4\n * @static\n */\n mulMat4(a, b, dest) {\n if (!dest) {\n dest = a;\n }\n\n // Cache the matrix values (makes for huge speed increases!)\n const a00 = a[0];\n\n const a01 = a[1];\n const a02 = a[2];\n const a03 = a[3];\n const a10 = a[4];\n const a11 = a[5];\n const a12 = a[6];\n const a13 = a[7];\n const a20 = a[8];\n const a21 = a[9];\n const a22 = a[10];\n const a23 = a[11];\n const a30 = a[12];\n const a31 = a[13];\n const a32 = a[14];\n const a33 = a[15];\n const b00 = b[0];\n const b01 = b[1];\n const b02 = b[2];\n const b03 = b[3];\n const b10 = b[4];\n const b11 = b[5];\n const b12 = b[6];\n const b13 = b[7];\n const b20 = b[8];\n const b21 = b[9];\n const b22 = b[10];\n const b23 = b[11];\n const b30 = b[12];\n const b31 = b[13];\n const b32 = b[14];\n const b33 = b[15];\n\n dest[0] = b00 * a00 + b01 * a10 + b02 * a20 + b03 * a30;\n dest[1] = b00 * a01 + b01 * a11 + b02 * a21 + b03 * a31;\n dest[2] = b00 * a02 + b01 * a12 + b02 * a22 + b03 * a32;\n dest[3] = b00 * a03 + b01 * a13 + b02 * a23 + b03 * a33;\n dest[4] = b10 * a00 + b11 * a10 + b12 * a20 + b13 * a30;\n dest[5] = b10 * a01 + b11 * a11 + b12 * a21 + b13 * a31;\n dest[6] = b10 * a02 + b11 * a12 + b12 * a22 + b13 * a32;\n dest[7] = b10 * a03 + b11 * a13 + b12 * a23 + b13 * a33;\n dest[8] = b20 * a00 + b21 * a10 + b22 * a20 + b23 * a30;\n dest[9] = b20 * a01 + b21 * a11 + b22 * a21 + b23 * a31;\n dest[10] = b20 * a02 + b21 * a12 + b22 * a22 + b23 * a32;\n dest[11] = b20 * a03 + b21 * a13 + b22 * a23 + b23 * a33;\n dest[12] = b30 * a00 + b31 * a10 + b32 * a20 + b33 * a30;\n dest[13] = b30 * a01 + b31 * a11 + b32 * a21 + b33 * a31;\n dest[14] = b30 * a02 + b31 * a12 + b32 * a22 + b33 * a32;\n dest[15] = b30 * a03 + b31 * a13 + b32 * a23 + b33 * a33;\n\n return dest;\n },\n\n /**\n * Multiplies the two given 3x3 matrices by each other.\n * @method mulMat4\n * @static\n */\n mulMat3(a, b, dest) {\n if (!dest) {\n dest = new FloatArrayType(9);\n }\n\n const a11 = a[0];\n const a12 = a[3];\n const a13 = a[6];\n const a21 = a[1];\n const a22 = a[4];\n const a23 = a[7];\n const a31 = a[2];\n const a32 = a[5];\n const a33 = a[8];\n const b11 = b[0];\n const b12 = b[3];\n const b13 = b[6];\n const b21 = b[1];\n const b22 = b[4];\n const b23 = b[7];\n const b31 = b[2];\n const b32 = b[5];\n const b33 = b[8];\n\n dest[0] = a11 * b11 + a12 * b21 + a13 * b31;\n dest[3] = a11 * b12 + a12 * b22 + a13 * b32;\n dest[6] = a11 * b13 + a12 * b23 + a13 * b33;\n\n dest[1] = a21 * b11 + a22 * b21 + a23 * b31;\n dest[4] = a21 * b12 + a22 * b22 + a23 * b32;\n dest[7] = a21 * b13 + a22 * b23 + a23 * b33;\n\n dest[2] = a31 * b11 + a32 * b21 + a33 * b31;\n dest[5] = a31 * b12 + a32 * b22 + a33 * b32;\n dest[8] = a31 * b13 + a32 * b23 + a33 * b33;\n\n return dest;\n },\n\n /**\n * Multiplies each element of the given 4x4 matrix by the given scalar.\n * @method mulMat4Scalar\n * @static\n */\n mulMat4Scalar(m, s, dest) {\n if (!dest) {\n dest = m;\n }\n dest[0] = m[0] * s;\n dest[1] = m[1] * s;\n dest[2] = m[2] * s;\n dest[3] = m[3] * s;\n dest[4] = m[4] * s;\n dest[5] = m[5] * s;\n dest[6] = m[6] * s;\n dest[7] = m[7] * s;\n dest[8] = m[8] * s;\n dest[9] = m[9] * s;\n dest[10] = m[10] * s;\n dest[11] = m[11] * s;\n dest[12] = m[12] * s;\n dest[13] = m[13] * s;\n dest[14] = m[14] * s;\n dest[15] = m[15] * s;\n return dest;\n },\n\n /**\n * Multiplies the given 4x4 matrix by the given four-element vector.\n * @method mulMat4v4\n * @static\n */\n mulMat4v4(m, v, dest = math.vec4()) {\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n const v3 = v[3];\n dest[0] = m[0] * v0 + m[4] * v1 + m[8] * v2 + m[12] * v3;\n dest[1] = m[1] * v0 + m[5] * v1 + m[9] * v2 + m[13] * v3;\n dest[2] = m[2] * v0 + m[6] * v1 + m[10] * v2 + m[14] * v3;\n dest[3] = m[3] * v0 + m[7] * v1 + m[11] * v2 + m[15] * v3;\n return dest;\n },\n\n /**\n * Transposes the given 4x4 matrix.\n * @method transposeMat4\n * @static\n */\n transposeMat4(mat, dest) {\n // If we are transposing ourselves we can skip a few steps but have to cache some values\n const m4 = mat[4];\n\n const m14 = mat[14];\n const m8 = mat[8];\n const m13 = mat[13];\n const m12 = mat[12];\n const m9 = mat[9];\n if (!dest || mat === dest) {\n const a01 = mat[1];\n const a02 = mat[2];\n const a03 = mat[3];\n const a12 = mat[6];\n const a13 = mat[7];\n const a23 = mat[11];\n mat[1] = m4;\n mat[2] = m8;\n mat[3] = m12;\n mat[4] = a01;\n mat[6] = m9;\n mat[7] = m13;\n mat[8] = a02;\n mat[9] = a12;\n mat[11] = m14;\n mat[12] = a03;\n mat[13] = a13;\n mat[14] = a23;\n return mat;\n }\n dest[0] = mat[0];\n dest[1] = m4;\n dest[2] = m8;\n dest[3] = m12;\n dest[4] = mat[1];\n dest[5] = mat[5];\n dest[6] = m9;\n dest[7] = m13;\n dest[8] = mat[2];\n dest[9] = mat[6];\n dest[10] = mat[10];\n dest[11] = m14;\n dest[12] = mat[3];\n dest[13] = mat[7];\n dest[14] = mat[11];\n dest[15] = mat[15];\n return dest;\n },\n\n /**\n * Transposes the given 3x3 matrix.\n *\n * @method transposeMat3\n * @static\n */\n transposeMat3(mat, dest) {\n if (dest === mat) {\n const a01 = mat[1];\n const a02 = mat[2];\n const a12 = mat[5];\n dest[1] = mat[3];\n dest[2] = mat[6];\n dest[3] = a01;\n dest[5] = mat[7];\n dest[6] = a02;\n dest[7] = a12;\n } else {\n dest[0] = mat[0];\n dest[1] = mat[3];\n dest[2] = mat[6];\n dest[3] = mat[1];\n dest[4] = mat[4];\n dest[5] = mat[7];\n dest[6] = mat[2];\n dest[7] = mat[5];\n dest[8] = mat[8];\n }\n return dest;\n },\n\n /**\n * Returns the determinant of the given 4x4 matrix.\n * @method determinantMat4\n * @static\n */\n determinantMat4(mat) {\n // Cache the matrix values (makes for huge speed increases!)\n const a00 = mat[0];\n\n const a01 = mat[1];\n const a02 = mat[2];\n const a03 = mat[3];\n const a10 = mat[4];\n const a11 = mat[5];\n const a12 = mat[6];\n const a13 = mat[7];\n const a20 = mat[8];\n const a21 = mat[9];\n const a22 = mat[10];\n const a23 = mat[11];\n const a30 = mat[12];\n const a31 = mat[13];\n const a32 = mat[14];\n const a33 = mat[15];\n return a30 * a21 * a12 * a03 - a20 * a31 * a12 * a03 - a30 * a11 * a22 * a03 + a10 * a31 * a22 * a03 +\n a20 * a11 * a32 * a03 - a10 * a21 * a32 * a03 - a30 * a21 * a02 * a13 + a20 * a31 * a02 * a13 +\n a30 * a01 * a22 * a13 - a00 * a31 * a22 * a13 - a20 * a01 * a32 * a13 + a00 * a21 * a32 * a13 +\n a30 * a11 * a02 * a23 - a10 * a31 * a02 * a23 - a30 * a01 * a12 * a23 + a00 * a31 * a12 * a23 +\n a10 * a01 * a32 * a23 - a00 * a11 * a32 * a23 - a20 * a11 * a02 * a33 + a10 * a21 * a02 * a33 +\n a20 * a01 * a12 * a33 - a00 * a21 * a12 * a33 - a10 * a01 * a22 * a33 + a00 * a11 * a22 * a33;\n },\n\n /**\n * Returns the inverse of the given 4x4 matrix.\n * @method inverseMat4\n * @static\n */\n inverseMat4(mat, dest) {\n if (!dest) {\n dest = mat;\n }\n\n // Cache the matrix values (makes for huge speed increases!)\n const a00 = mat[0];\n\n const a01 = mat[1];\n const a02 = mat[2];\n const a03 = mat[3];\n const a10 = mat[4];\n const a11 = mat[5];\n const a12 = mat[6];\n const a13 = mat[7];\n const a20 = mat[8];\n const a21 = mat[9];\n const a22 = mat[10];\n const a23 = mat[11];\n const a30 = mat[12];\n const a31 = mat[13];\n const a32 = mat[14];\n const a33 = mat[15];\n const b00 = a00 * a11 - a01 * a10;\n const b01 = a00 * a12 - a02 * a10;\n const b02 = a00 * a13 - a03 * a10;\n const b03 = a01 * a12 - a02 * a11;\n const b04 = a01 * a13 - a03 * a11;\n const b05 = a02 * a13 - a03 * a12;\n const b06 = a20 * a31 - a21 * a30;\n const b07 = a20 * a32 - a22 * a30;\n const b08 = a20 * a33 - a23 * a30;\n const b09 = a21 * a32 - a22 * a31;\n const b10 = a21 * a33 - a23 * a31;\n const b11 = a22 * a33 - a23 * a32;\n\n // Calculate the determinant (inlined to avoid double-caching)\n const invDet = 1 / (b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06);\n\n dest[0] = (a11 * b11 - a12 * b10 + a13 * b09) * invDet;\n dest[1] = (-a01 * b11 + a02 * b10 - a03 * b09) * invDet;\n dest[2] = (a31 * b05 - a32 * b04 + a33 * b03) * invDet;\n dest[3] = (-a21 * b05 + a22 * b04 - a23 * b03) * invDet;\n dest[4] = (-a10 * b11 + a12 * b08 - a13 * b07) * invDet;\n dest[5] = (a00 * b11 - a02 * b08 + a03 * b07) * invDet;\n dest[6] = (-a30 * b05 + a32 * b02 - a33 * b01) * invDet;\n dest[7] = (a20 * b05 - a22 * b02 + a23 * b01) * invDet;\n dest[8] = (a10 * b10 - a11 * b08 + a13 * b06) * invDet;\n dest[9] = (-a00 * b10 + a01 * b08 - a03 * b06) * invDet;\n dest[10] = (a30 * b04 - a31 * b02 + a33 * b00) * invDet;\n dest[11] = (-a20 * b04 + a21 * b02 - a23 * b00) * invDet;\n dest[12] = (-a10 * b09 + a11 * b07 - a12 * b06) * invDet;\n dest[13] = (a00 * b09 - a01 * b07 + a02 * b06) * invDet;\n dest[14] = (-a30 * b03 + a31 * b01 - a32 * b00) * invDet;\n dest[15] = (a20 * b03 - a21 * b01 + a22 * b00) * invDet;\n\n return dest;\n },\n\n /**\n * Returns the trace of the given 4x4 matrix.\n * @method traceMat4\n * @static\n */\n traceMat4(m) {\n return (m[0] + m[5] + m[10] + m[15]);\n },\n\n /**\n * Returns 4x4 translation matrix.\n * @method translationMat4\n * @static\n */\n translationMat4v(v, dest) {\n const m = dest || math.identityMat4();\n m[12] = v[0];\n m[13] = v[1];\n m[14] = v[2];\n return m;\n },\n\n /**\n * Returns 3x3 translation matrix.\n * @method translationMat3\n * @static\n */\n translationMat3v(v, dest) {\n const m = dest || math.identityMat3();\n m[6] = v[0];\n m[7] = v[1];\n return m;\n },\n\n /**\n * Returns 4x4 translation matrix.\n * @method translationMat4c\n * @static\n */\n translationMat4c: ((() => {\n const xyz = new FloatArrayType(3);\n return (x, y, z, dest) => {\n xyz[0] = x;\n xyz[1] = y;\n xyz[2] = z;\n return math.translationMat4v(xyz, dest);\n };\n }))(),\n\n /**\n * Returns 4x4 translation matrix.\n * @method translationMat4s\n * @static\n */\n translationMat4s(s, dest) {\n return math.translationMat4c(s, s, s, dest);\n },\n\n /**\n * Efficiently post-concatenates a translation to the given matrix.\n * @param v\n * @param m\n */\n translateMat4v(xyz, m) {\n return math.translateMat4c(xyz[0], xyz[1], xyz[2], m);\n },\n\n /**\n * Efficiently post-concatenates a translation to the given matrix.\n * @param x\n * @param y\n * @param z\n * @param m\n */\n OLDtranslateMat4c(x, y, z, m) {\n\n const m12 = m[12];\n m[0] += m12 * x;\n m[4] += m12 * y;\n m[8] += m12 * z;\n\n const m13 = m[13];\n m[1] += m13 * x;\n m[5] += m13 * y;\n m[9] += m13 * z;\n\n const m14 = m[14];\n m[2] += m14 * x;\n m[6] += m14 * y;\n m[10] += m14 * z;\n\n const m15 = m[15];\n m[3] += m15 * x;\n m[7] += m15 * y;\n m[11] += m15 * z;\n\n return m;\n },\n\n translateMat4c(x, y, z, m) {\n\n const m3 = m[3];\n m[0] += m3 * x;\n m[1] += m3 * y;\n m[2] += m3 * z;\n\n const m7 = m[7];\n m[4] += m7 * x;\n m[5] += m7 * y;\n m[6] += m7 * z;\n\n const m11 = m[11];\n m[8] += m11 * x;\n m[9] += m11 * y;\n m[10] += m11 * z;\n\n const m15 = m[15];\n m[12] += m15 * x;\n m[13] += m15 * y;\n m[14] += m15 * z;\n\n return m;\n },\n /**\n * Returns 4x4 rotation matrix.\n * @method rotationMat4v\n * @static\n */\n rotationMat4v(anglerad, axis, m) {\n const ax = math.normalizeVec4([axis[0], axis[1], axis[2], 0.0], []);\n const s = Math.sin(anglerad);\n const c = Math.cos(anglerad);\n const q = 1.0 - c;\n\n const x = ax[0];\n const y = ax[1];\n const z = ax[2];\n\n let xy;\n let yz;\n let zx;\n let xs;\n let ys;\n let zs;\n\n //xx = x * x; used once\n //yy = y * y; used once\n //zz = z * z; used once\n xy = x * y;\n yz = y * z;\n zx = z * x;\n xs = x * s;\n ys = y * s;\n zs = z * s;\n\n m = m || math.mat4();\n\n m[0] = (q * x * x) + c;\n m[1] = (q * xy) + zs;\n m[2] = (q * zx) - ys;\n m[3] = 0.0;\n\n m[4] = (q * xy) - zs;\n m[5] = (q * y * y) + c;\n m[6] = (q * yz) + xs;\n m[7] = 0.0;\n\n m[8] = (q * zx) + ys;\n m[9] = (q * yz) - xs;\n m[10] = (q * z * z) + c;\n m[11] = 0.0;\n\n m[12] = 0.0;\n m[13] = 0.0;\n m[14] = 0.0;\n m[15] = 1.0;\n\n return m;\n },\n\n /**\n * Returns 4x4 rotation matrix.\n * @method rotationMat4c\n * @static\n */\n rotationMat4c(anglerad, x, y, z, mat) {\n return math.rotationMat4v(anglerad, [x, y, z], mat);\n },\n\n /**\n * Returns 4x4 scale matrix.\n * @method scalingMat4v\n * @static\n */\n scalingMat4v(v, m = math.identityMat4()) {\n m[0] = v[0];\n m[5] = v[1];\n m[10] = v[2];\n return m;\n },\n\n /**\n * Returns 3x3 scale matrix.\n * @method scalingMat3v\n * @static\n */\n scalingMat3v(v, m = math.identityMat3()) {\n m[0] = v[0];\n m[4] = v[1];\n return m;\n },\n\n /**\n * Returns 4x4 scale matrix.\n * @method scalingMat4c\n * @static\n */\n scalingMat4c: ((() => {\n const xyz = new FloatArrayType(3);\n return (x, y, z, dest) => {\n xyz[0] = x;\n xyz[1] = y;\n xyz[2] = z;\n return math.scalingMat4v(xyz, dest);\n };\n }))(),\n\n /**\n * Efficiently post-concatenates a scaling to the given matrix.\n * @method scaleMat4c\n * @param x\n * @param y\n * @param z\n * @param m\n */\n scaleMat4c(x, y, z, m) {\n\n m[0] *= x;\n m[4] *= y;\n m[8] *= z;\n\n m[1] *= x;\n m[5] *= y;\n m[9] *= z;\n\n m[2] *= x;\n m[6] *= y;\n m[10] *= z;\n\n m[3] *= x;\n m[7] *= y;\n m[11] *= z;\n return m;\n },\n\n /**\n * Efficiently post-concatenates a scaling to the given matrix.\n * @method scaleMat4c\n * @param xyz\n * @param m\n */\n scaleMat4v(xyz, m) {\n\n const x = xyz[0];\n const y = xyz[1];\n const z = xyz[2];\n\n m[0] *= x;\n m[4] *= y;\n m[8] *= z;\n m[1] *= x;\n m[5] *= y;\n m[9] *= z;\n m[2] *= x;\n m[6] *= y;\n m[10] *= z;\n m[3] *= x;\n m[7] *= y;\n m[11] *= z;\n\n return m;\n },\n\n /**\n * Returns 4x4 scale matrix.\n * @method scalingMat4s\n * @static\n */\n scalingMat4s(s) {\n return math.scalingMat4c(s, s, s);\n },\n\n /**\n * Creates a matrix from a quaternion rotation and vector translation\n *\n * @param {Number[]} q Rotation quaternion\n * @param {Number[]} v Translation vector\n * @param {Number[]} dest Destination matrix\n * @returns {Number[]} dest\n */\n rotationTranslationMat4(q, v, dest = math.mat4()) {\n const x = q[0];\n const y = q[1];\n const z = q[2];\n const w = q[3];\n\n const x2 = x + x;\n const y2 = y + y;\n const z2 = z + z;\n const xx = x * x2;\n const xy = x * y2;\n const xz = x * z2;\n const yy = y * y2;\n const yz = y * z2;\n const zz = z * z2;\n const wx = w * x2;\n const wy = w * y2;\n const wz = w * z2;\n\n dest[0] = 1 - (yy + zz);\n dest[1] = xy + wz;\n dest[2] = xz - wy;\n dest[3] = 0;\n dest[4] = xy - wz;\n dest[5] = 1 - (xx + zz);\n dest[6] = yz + wx;\n dest[7] = 0;\n dest[8] = xz + wy;\n dest[9] = yz - wx;\n dest[10] = 1 - (xx + yy);\n dest[11] = 0;\n dest[12] = v[0];\n dest[13] = v[1];\n dest[14] = v[2];\n dest[15] = 1;\n\n return dest;\n },\n\n /**\n * Gets Euler angles from a 4x4 matrix.\n *\n * @param {Number[]} mat The 4x4 matrix.\n * @param {String} order Desired Euler angle order: \"XYZ\", \"YXZ\", \"ZXY\" etc.\n * @param {Number[]} [dest] Destination Euler angles, created by default.\n * @returns {Number[]} The Euler angles.\n */\n mat4ToEuler(mat, order, dest = math.vec4()) {\n const clamp = math.clamp;\n\n // Assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)\n\n const m11 = mat[0];\n\n const m12 = mat[4];\n const m13 = mat[8];\n const m21 = mat[1];\n const m22 = mat[5];\n const m23 = mat[9];\n const m31 = mat[2];\n const m32 = mat[6];\n const m33 = mat[10];\n\n if (order === 'XYZ') {\n\n dest[1] = Math.asin(clamp(m13, -1, 1));\n\n if (Math.abs(m13) < 0.99999) {\n dest[0] = Math.atan2(-m23, m33);\n dest[2] = Math.atan2(-m12, m11);\n } else {\n dest[0] = Math.atan2(m32, m22);\n dest[2] = 0;\n\n }\n\n } else if (order === 'YXZ') {\n\n dest[0] = Math.asin(-clamp(m23, -1, 1));\n\n if (Math.abs(m23) < 0.99999) {\n dest[1] = Math.atan2(m13, m33);\n dest[2] = Math.atan2(m21, m22);\n } else {\n dest[1] = Math.atan2(-m31, m11);\n dest[2] = 0;\n }\n\n } else if (order === 'ZXY') {\n\n dest[0] = Math.asin(clamp(m32, -1, 1));\n\n if (Math.abs(m32) < 0.99999) {\n dest[1] = Math.atan2(-m31, m33);\n dest[2] = Math.atan2(-m12, m22);\n } else {\n dest[1] = 0;\n dest[2] = Math.atan2(m21, m11);\n }\n\n } else if (order === 'ZYX') {\n\n dest[1] = Math.asin(-clamp(m31, -1, 1));\n\n if (Math.abs(m31) < 0.99999) {\n dest[0] = Math.atan2(m32, m33);\n dest[2] = Math.atan2(m21, m11);\n } else {\n dest[0] = 0;\n dest[2] = Math.atan2(-m12, m22);\n }\n\n } else if (order === 'YZX') {\n\n dest[2] = Math.asin(clamp(m21, -1, 1));\n\n if (Math.abs(m21) < 0.99999) {\n dest[0] = Math.atan2(-m23, m22);\n dest[1] = Math.atan2(-m31, m11);\n } else {\n dest[0] = 0;\n dest[1] = Math.atan2(m13, m33);\n }\n\n } else if (order === 'XZY') {\n\n dest[2] = Math.asin(-clamp(m12, -1, 1));\n\n if (Math.abs(m12) < 0.99999) {\n dest[0] = Math.atan2(m32, m22);\n dest[1] = Math.atan2(m13, m11);\n } else {\n dest[0] = Math.atan2(-m23, m33);\n dest[1] = 0;\n }\n }\n\n return dest;\n },\n\n composeMat4(position, quaternion, scale, mat = math.mat4()) {\n math.quaternionToRotationMat4(quaternion, mat);\n math.scaleMat4v(scale, mat);\n math.translateMat4v(position, mat);\n\n return mat;\n },\n\n decomposeMat4: (() => {\n\n const vec = new FloatArrayType(3);\n const matrix = new FloatArrayType(16);\n\n return function decompose(mat, position, quaternion, scale) {\n\n vec[0] = mat[0];\n vec[1] = mat[1];\n vec[2] = mat[2];\n\n let sx = math.lenVec3(vec);\n\n vec[0] = mat[4];\n vec[1] = mat[5];\n vec[2] = mat[6];\n\n const sy = math.lenVec3(vec);\n\n vec[8] = mat[8];\n vec[9] = mat[9];\n vec[10] = mat[10];\n\n const sz = math.lenVec3(vec);\n\n // if determine is negative, we need to invert one scale\n const det = math.determinantMat4(mat);\n\n if (det < 0) {\n sx = -sx;\n }\n\n position[0] = mat[12];\n position[1] = mat[13];\n position[2] = mat[14];\n\n // scale the rotation part\n matrix.set(mat);\n\n const invSX = 1 / sx;\n const invSY = 1 / sy;\n const invSZ = 1 / sz;\n\n matrix[0] *= invSX;\n matrix[1] *= invSX;\n matrix[2] *= invSX;\n\n matrix[4] *= invSY;\n matrix[5] *= invSY;\n matrix[6] *= invSY;\n\n matrix[8] *= invSZ;\n matrix[9] *= invSZ;\n matrix[10] *= invSZ;\n\n math.mat4ToQuaternion(matrix, quaternion);\n\n scale[0] = sx;\n scale[1] = sy;\n scale[2] = sz;\n\n return this;\n\n };\n\n })(),\n\n /**\n * Returns a 4x4 'lookat' viewing transform matrix.\n * @method lookAtMat4v\n * @param pos vec3 position of the viewer\n * @param target vec3 point the viewer is looking at\n * @param up vec3 pointing \"up\"\n * @param dest mat4 Optional, mat4 matrix will be written into\n *\n * @return {mat4} dest if specified, a new mat4 otherwise\n */\n lookAtMat4v(pos, target, up, dest) {\n if (!dest) {\n dest = math.mat4();\n }\n\n const posx = pos[0];\n const posy = pos[1];\n const posz = pos[2];\n const upx = up[0];\n const upy = up[1];\n const upz = up[2];\n const targetx = target[0];\n const targety = target[1];\n const targetz = target[2];\n\n if (posx === targetx && posy === targety && posz === targetz) {\n return math.identityMat4();\n }\n\n let z0;\n let z1;\n let z2;\n let x0;\n let x1;\n let x2;\n let y0;\n let y1;\n let y2;\n let len;\n\n //vec3.direction(eye, center, z);\n z0 = posx - targetx;\n z1 = posy - targety;\n z2 = posz - targetz;\n\n // normalize (no check needed for 0 because of early return)\n len = 1 / Math.sqrt(z0 * z0 + z1 * z1 + z2 * z2);\n z0 *= len;\n z1 *= len;\n z2 *= len;\n\n //vec3.normalize(vec3.cross(up, z, x));\n x0 = upy * z2 - upz * z1;\n x1 = upz * z0 - upx * z2;\n x2 = upx * z1 - upy * z0;\n len = Math.sqrt(x0 * x0 + x1 * x1 + x2 * x2);\n if (!len) {\n x0 = 0;\n x1 = 0;\n x2 = 0;\n } else {\n len = 1 / len;\n x0 *= len;\n x1 *= len;\n x2 *= len;\n }\n\n //vec3.normalize(vec3.cross(z, x, y));\n y0 = z1 * x2 - z2 * x1;\n y1 = z2 * x0 - z0 * x2;\n y2 = z0 * x1 - z1 * x0;\n\n len = Math.sqrt(y0 * y0 + y1 * y1 + y2 * y2);\n if (!len) {\n y0 = 0;\n y1 = 0;\n y2 = 0;\n } else {\n len = 1 / len;\n y0 *= len;\n y1 *= len;\n y2 *= len;\n }\n\n dest[0] = x0;\n dest[1] = y0;\n dest[2] = z0;\n dest[3] = 0;\n dest[4] = x1;\n dest[5] = y1;\n dest[6] = z1;\n dest[7] = 0;\n dest[8] = x2;\n dest[9] = y2;\n dest[10] = z2;\n dest[11] = 0;\n dest[12] = -(x0 * posx + x1 * posy + x2 * posz);\n dest[13] = -(y0 * posx + y1 * posy + y2 * posz);\n dest[14] = -(z0 * posx + z1 * posy + z2 * posz);\n dest[15] = 1;\n\n return dest;\n },\n\n /**\n * Returns a 4x4 'lookat' viewing transform matrix.\n * @method lookAtMat4c\n * @static\n */\n lookAtMat4c(posx, posy, posz, targetx, targety, targetz, upx, upy, upz) {\n return math.lookAtMat4v([posx, posy, posz], [targetx, targety, targetz], [upx, upy, upz], []);\n },\n\n /**\n * Returns a 4x4 orthographic projection matrix.\n * @method orthoMat4c\n * @static\n */\n orthoMat4c(left, right, bottom, top, near, far, dest) {\n if (!dest) {\n dest = math.mat4();\n }\n const rl = (right - left);\n const tb = (top - bottom);\n const fn = (far - near);\n\n dest[0] = 2.0 / rl;\n dest[1] = 0.0;\n dest[2] = 0.0;\n dest[3] = 0.0;\n\n dest[4] = 0.0;\n dest[5] = 2.0 / tb;\n dest[6] = 0.0;\n dest[7] = 0.0;\n\n dest[8] = 0.0;\n dest[9] = 0.0;\n dest[10] = -2.0 / fn;\n dest[11] = 0.0;\n\n dest[12] = -(left + right) / rl;\n dest[13] = -(top + bottom) / tb;\n dest[14] = -(far + near) / fn;\n dest[15] = 1.0;\n\n return dest;\n },\n\n /**\n * Returns a 4x4 perspective projection matrix.\n * @method frustumMat4v\n * @static\n */\n frustumMat4v(fmin, fmax, m) {\n if (!m) {\n m = math.mat4();\n }\n\n const fmin4 = [fmin[0], fmin[1], fmin[2], 0.0];\n const fmax4 = [fmax[0], fmax[1], fmax[2], 0.0];\n\n math.addVec4(fmax4, fmin4, tempMat1);\n math.subVec4(fmax4, fmin4, tempMat2);\n\n const t = 2.0 * fmin4[2];\n\n const tempMat20 = tempMat2[0];\n const tempMat21 = tempMat2[1];\n const tempMat22 = tempMat2[2];\n\n m[0] = t / tempMat20;\n m[1] = 0.0;\n m[2] = 0.0;\n m[3] = 0.0;\n\n m[4] = 0.0;\n m[5] = t / tempMat21;\n m[6] = 0.0;\n m[7] = 0.0;\n\n m[8] = tempMat1[0] / tempMat20;\n m[9] = tempMat1[1] / tempMat21;\n m[10] = -tempMat1[2] / tempMat22;\n m[11] = -1.0;\n\n m[12] = 0.0;\n m[13] = 0.0;\n m[14] = -t * fmax4[2] / tempMat22;\n m[15] = 0.0;\n\n return m;\n },\n\n /**\n * Returns a 4x4 perspective projection matrix.\n * @method frustumMat4v\n * @static\n */\n frustumMat4(left, right, bottom, top, near, far, dest) {\n if (!dest) {\n dest = math.mat4();\n }\n const rl = (right - left);\n const tb = (top - bottom);\n const fn = (far - near);\n dest[0] = (near * 2) / rl;\n dest[1] = 0;\n dest[2] = 0;\n dest[3] = 0;\n dest[4] = 0;\n dest[5] = (near * 2) / tb;\n dest[6] = 0;\n dest[7] = 0;\n dest[8] = (right + left) / rl;\n dest[9] = (top + bottom) / tb;\n dest[10] = -(far + near) / fn;\n dest[11] = -1;\n dest[12] = 0;\n dest[13] = 0;\n dest[14] = -(far * near * 2) / fn;\n dest[15] = 0;\n return dest;\n },\n\n /**\n * Returns a 4x4 perspective projection matrix.\n * @method perspectiveMat4v\n * @static\n */\n perspectiveMat4(fovyrad, aspectratio, znear, zfar, m) {\n const pmin = [];\n const pmax = [];\n\n pmin[2] = znear;\n pmax[2] = zfar;\n\n pmax[1] = pmin[2] * Math.tan(fovyrad / 2.0);\n pmin[1] = -pmax[1];\n\n pmax[0] = pmax[1] * aspectratio;\n pmin[0] = -pmax[0];\n\n return math.frustumMat4v(pmin, pmax, m);\n },\n\n /**\n * Transforms a three-element position by a 4x4 matrix.\n * @method transformPoint3\n * @static\n */\n transformPoint3(m, p, dest = math.vec3()) {\n\n const x = p[0];\n const y = p[1];\n const z = p[2];\n\n dest[0] = (m[0] * x) + (m[4] * y) + (m[8] * z) + m[12];\n dest[1] = (m[1] * x) + (m[5] * y) + (m[9] * z) + m[13];\n dest[2] = (m[2] * x) + (m[6] * y) + (m[10] * z) + m[14];\n\n return dest;\n },\n\n /**\n * Transforms a homogeneous coordinate by a 4x4 matrix.\n * @method transformPoint3\n * @static\n */\n transformPoint4(m, v, dest = math.vec4()) {\n dest[0] = m[0] * v[0] + m[4] * v[1] + m[8] * v[2] + m[12] * v[3];\n dest[1] = m[1] * v[0] + m[5] * v[1] + m[9] * v[2] + m[13] * v[3];\n dest[2] = m[2] * v[0] + m[6] * v[1] + m[10] * v[2] + m[14] * v[3];\n dest[3] = m[3] * v[0] + m[7] * v[1] + m[11] * v[2] + m[15] * v[3];\n\n return dest;\n },\n\n\n /**\n * Transforms an array of three-element positions by a 4x4 matrix.\n * @method transformPoints3\n * @static\n */\n transformPoints3(m, points, points2) {\n const result = points2 || [];\n const len = points.length;\n let p0;\n let p1;\n let p2;\n let pi;\n\n // cache values\n const m0 = m[0];\n\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n let r;\n\n for (let i = 0; i < len; ++i) {\n\n // cache values\n pi = points[i];\n\n p0 = pi[0];\n p1 = pi[1];\n p2 = pi[2];\n\n r = result[i] || (result[i] = [0, 0, 0]);\n\n r[0] = (m0 * p0) + (m4 * p1) + (m8 * p2) + m12;\n r[1] = (m1 * p0) + (m5 * p1) + (m9 * p2) + m13;\n r[2] = (m2 * p0) + (m6 * p1) + (m10 * p2) + m14;\n r[3] = (m3 * p0) + (m7 * p1) + (m11 * p2) + m15;\n }\n\n result.length = len;\n\n return result;\n },\n\n /**\n * Transforms an array of positions by a 4x4 matrix.\n * @method transformPositions3\n * @static\n */\n transformPositions3(m, p, p2 = p) {\n let i;\n const len = p.length;\n\n let x;\n let y;\n let z;\n\n const m0 = m[0];\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n for (i = 0; i < len; i += 3) {\n\n x = p[i + 0];\n y = p[i + 1];\n z = p[i + 2];\n\n p2[i + 0] = (m0 * x) + (m4 * y) + (m8 * z) + m12;\n p2[i + 1] = (m1 * x) + (m5 * y) + (m9 * z) + m13;\n p2[i + 2] = (m2 * x) + (m6 * y) + (m10 * z) + m14;\n p2[i + 3] = (m3 * x) + (m7 * y) + (m11 * z) + m15;\n }\n\n return p2;\n },\n\n /**\n * Transforms an array of positions by a 4x4 matrix.\n * @method transformPositions4\n * @static\n */\n transformPositions4(m, p, p2 = p) {\n let i;\n const len = p.length;\n\n let x;\n let y;\n let z;\n\n const m0 = m[0];\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n for (i = 0; i < len; i += 4) {\n\n x = p[i + 0];\n y = p[i + 1];\n z = p[i + 2];\n\n p2[i + 0] = (m0 * x) + (m4 * y) + (m8 * z) + m12;\n p2[i + 1] = (m1 * x) + (m5 * y) + (m9 * z) + m13;\n p2[i + 2] = (m2 * x) + (m6 * y) + (m10 * z) + m14;\n p2[i + 3] = (m3 * x) + (m7 * y) + (m11 * z) + m15;\n }\n\n return p2;\n },\n\n /**\n * Transforms a three-element vector by a 4x4 matrix.\n * @method transformVec3\n * @static\n */\n transformVec3(m, v, dest) {\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n dest = dest || this.vec3();\n dest[0] = (m[0] * v0) + (m[4] * v1) + (m[8] * v2);\n dest[1] = (m[1] * v0) + (m[5] * v1) + (m[9] * v2);\n dest[2] = (m[2] * v0) + (m[6] * v1) + (m[10] * v2);\n return dest;\n },\n\n /**\n * Transforms a four-element vector by a 4x4 matrix.\n * @method transformVec4\n * @static\n */\n transformVec4(m, v, dest) {\n const v0 = v[0];\n const v1 = v[1];\n const v2 = v[2];\n const v3 = v[3];\n dest = dest || math.vec4();\n dest[0] = m[0] * v0 + m[4] * v1 + m[8] * v2 + m[12] * v3;\n dest[1] = m[1] * v0 + m[5] * v1 + m[9] * v2 + m[13] * v3;\n dest[2] = m[2] * v0 + m[6] * v1 + m[10] * v2 + m[14] * v3;\n dest[3] = m[3] * v0 + m[7] * v1 + m[11] * v2 + m[15] * v3;\n return dest;\n },\n\n /**\n * Rotate a 3D vector around the x-axis\n *\n * @method rotateVec3X\n * @param {Number[]} a The vec3 point to rotate\n * @param {Number[]} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @param {Number[]} dest The receiving vec3\n * @returns {Number[]} dest\n * @static\n */\n rotateVec3X(a, b, c, dest) {\n const p = [];\n const r = [];\n\n //Translate point to the origin\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2];\n\n //perform rotation\n r[0] = p[0];\n r[1] = p[1] * Math.cos(c) - p[2] * Math.sin(c);\n r[2] = p[1] * Math.sin(c) + p[2] * Math.cos(c);\n\n //translate to correct position\n dest[0] = r[0] + b[0];\n dest[1] = r[1] + b[1];\n dest[2] = r[2] + b[2];\n\n return dest;\n },\n\n /**\n * Rotate a 3D vector around the y-axis\n *\n * @method rotateVec3Y\n * @param {Number[]} a The vec3 point to rotate\n * @param {Number[]} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @param {Number[]} dest The receiving vec3\n * @returns {Number[]} dest\n * @static\n */\n rotateVec3Y(a, b, c, dest) {\n const p = [];\n const r = [];\n\n //Translate point to the origin\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2];\n\n //perform rotation\n r[0] = p[2] * Math.sin(c) + p[0] * Math.cos(c);\n r[1] = p[1];\n r[2] = p[2] * Math.cos(c) - p[0] * Math.sin(c);\n\n //translate to correct position\n dest[0] = r[0] + b[0];\n dest[1] = r[1] + b[1];\n dest[2] = r[2] + b[2];\n\n return dest;\n },\n\n /**\n * Rotate a 3D vector around the z-axis\n *\n * @method rotateVec3Z\n * @param {Number[]} a The vec3 point to rotate\n * @param {Number[]} b The origin of the rotation\n * @param {Number} c The angle of rotation\n * @param {Number[]} dest The receiving vec3\n * @returns {Number[]} dest\n * @static\n */\n rotateVec3Z(a, b, c, dest) {\n const p = [];\n const r = [];\n\n //Translate point to the origin\n p[0] = a[0] - b[0];\n p[1] = a[1] - b[1];\n p[2] = a[2] - b[2];\n\n //perform rotation\n r[0] = p[0] * Math.cos(c) - p[1] * Math.sin(c);\n r[1] = p[0] * Math.sin(c) + p[1] * Math.cos(c);\n r[2] = p[2];\n\n //translate to correct position\n dest[0] = r[0] + b[0];\n dest[1] = r[1] + b[1];\n dest[2] = r[2] + b[2];\n\n return dest;\n },\n\n /**\n * Transforms a four-element vector by a 4x4 projection matrix.\n *\n * @method projectVec4\n * @param {Number[]} p 3D View-space coordinate\n * @param {Number[]} q 2D Projected coordinate\n * @returns {Number[]} 2D Projected coordinate\n * @static\n */\n projectVec4(p, q) {\n const f = 1.0 / p[3];\n q = q || math.vec2();\n q[0] = v[0] * f;\n q[1] = v[1] * f;\n return q;\n },\n\n /**\n * Unprojects a three-element vector.\n *\n * @method unprojectVec3\n * @param {Number[]} p 3D Projected coordinate\n * @param {Number[]} viewMat View matrix\n * @returns {Number[]} projMat Projection matrix\n * @static\n */\n unprojectVec3: ((() => {\n const mat = new FloatArrayType(16);\n const mat2 = new FloatArrayType(16);\n const mat3 = new FloatArrayType(16);\n return function (p, viewMat, projMat, q) {\n return this.transformVec3(this.mulMat4(this.inverseMat4(viewMat, mat), this.inverseMat4(projMat, mat2), mat3), p, q)\n };\n }))(),\n\n /**\n * Linearly interpolates between two 3D vectors.\n * @method lerpVec3\n * @static\n */\n lerpVec3(t, t1, t2, p1, p2, dest) {\n const result = dest || math.vec3();\n const f = (t - t1) / (t2 - t1);\n result[0] = p1[0] + (f * (p2[0] - p1[0]));\n result[1] = p1[1] + (f * (p2[1] - p1[1]));\n result[2] = p1[2] + (f * (p2[2] - p1[2]));\n return result;\n },\n\n\n /**\n * Flattens a two-dimensional array into a one-dimensional array.\n *\n * @method flatten\n * @static\n * @param {Array of Arrays} a A 2D array\n * @returns Flattened 1D array\n */\n flatten(a) {\n\n const result = [];\n\n let i;\n let leni;\n let j;\n let lenj;\n let item;\n\n for (i = 0, leni = a.length; i < leni; i++) {\n item = a[i];\n for (j = 0, lenj = item.length; j < lenj; j++) {\n result.push(item[j]);\n }\n }\n\n return result;\n },\n\n\n identityQuaternion(dest = math.vec4()) {\n dest[0] = 0.0;\n dest[1] = 0.0;\n dest[2] = 0.0;\n dest[3] = 1.0;\n return dest;\n },\n\n /**\n * Initializes a quaternion from Euler angles.\n *\n * @param {Number[]} euler The Euler angles.\n * @param {String} order Euler angle order: \"XYZ\", \"YXZ\", \"ZXY\" etc.\n * @param {Number[]} [dest] Destination quaternion, created by default.\n * @returns {Number[]} The quaternion.\n */\n eulerToQuaternion(euler, order, dest = math.vec4()) {\n // http://www.mathworks.com/matlabcentral/fileexchange/\n // \t20696-function-to-convert-between-dcm-euler-angles-quaternions-and-euler-vectors/\n //\tcontent/SpinCalc.m\n\n const a = (euler[0] * math.DEGTORAD) / 2;\n const b = (euler[1] * math.DEGTORAD) / 2;\n const c = (euler[2] * math.DEGTORAD) / 2;\n\n const c1 = Math.cos(a);\n const c2 = Math.cos(b);\n const c3 = Math.cos(c);\n const s1 = Math.sin(a);\n const s2 = Math.sin(b);\n const s3 = Math.sin(c);\n\n if (order === 'XYZ') {\n\n dest[0] = s1 * c2 * c3 + c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 - s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 + s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 - s1 * s2 * s3;\n\n } else if (order === 'YXZ') {\n\n dest[0] = s1 * c2 * c3 + c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 - s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 - s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 + s1 * s2 * s3;\n\n } else if (order === 'ZXY') {\n\n dest[0] = s1 * c2 * c3 - c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 + s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 + s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 - s1 * s2 * s3;\n\n } else if (order === 'ZYX') {\n\n dest[0] = s1 * c2 * c3 - c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 + s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 - s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 + s1 * s2 * s3;\n\n } else if (order === 'YZX') {\n\n dest[0] = s1 * c2 * c3 + c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 + s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 - s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 - s1 * s2 * s3;\n\n } else if (order === 'XZY') {\n\n dest[0] = s1 * c2 * c3 - c1 * s2 * s3;\n dest[1] = c1 * s2 * c3 - s1 * c2 * s3;\n dest[2] = c1 * c2 * s3 + s1 * s2 * c3;\n dest[3] = c1 * c2 * c3 + s1 * s2 * s3;\n }\n\n return dest;\n },\n\n mat4ToQuaternion(m, dest = math.vec4()) {\n // http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/index.htm\n\n // Assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)\n\n const m11 = m[0];\n const m12 = m[4];\n const m13 = m[8];\n const m21 = m[1];\n const m22 = m[5];\n const m23 = m[9];\n const m31 = m[2];\n const m32 = m[6];\n const m33 = m[10];\n let s;\n\n const trace = m11 + m22 + m33;\n\n if (trace > 0) {\n\n s = 0.5 / Math.sqrt(trace + 1.0);\n\n dest[3] = 0.25 / s;\n dest[0] = (m32 - m23) * s;\n dest[1] = (m13 - m31) * s;\n dest[2] = (m21 - m12) * s;\n\n } else if (m11 > m22 && m11 > m33) {\n\n s = 2.0 * Math.sqrt(1.0 + m11 - m22 - m33);\n\n dest[3] = (m32 - m23) / s;\n dest[0] = 0.25 * s;\n dest[1] = (m12 + m21) / s;\n dest[2] = (m13 + m31) / s;\n\n } else if (m22 > m33) {\n\n s = 2.0 * Math.sqrt(1.0 + m22 - m11 - m33);\n\n dest[3] = (m13 - m31) / s;\n dest[0] = (m12 + m21) / s;\n dest[1] = 0.25 * s;\n dest[2] = (m23 + m32) / s;\n\n } else {\n\n s = 2.0 * Math.sqrt(1.0 + m33 - m11 - m22);\n\n dest[3] = (m21 - m12) / s;\n dest[0] = (m13 + m31) / s;\n dest[1] = (m23 + m32) / s;\n dest[2] = 0.25 * s;\n }\n\n return dest;\n },\n\n vec3PairToQuaternion(u, v, dest = math.vec4()) {\n const norm_u_norm_v = Math.sqrt(math.dotVec3(u, u) * math.dotVec3(v, v));\n let real_part = norm_u_norm_v + math.dotVec3(u, v);\n\n if (real_part < 0.00000001 * norm_u_norm_v) {\n\n // If u and v are exactly opposite, rotate 180 degrees\n // around an arbitrary orthogonal axis. Axis normalisation\n // can happen later, when we normalise the quaternion.\n\n real_part = 0.0;\n\n if (Math.abs(u[0]) > Math.abs(u[2])) {\n\n dest[0] = -u[1];\n dest[1] = u[0];\n dest[2] = 0;\n\n } else {\n dest[0] = 0;\n dest[1] = -u[2];\n dest[2] = u[1]\n }\n\n } else {\n\n // Otherwise, build quaternion the standard way.\n math.cross3Vec3(u, v, dest);\n }\n\n dest[3] = real_part;\n\n return math.normalizeQuaternion(dest);\n },\n\n angleAxisToQuaternion(angleAxis, dest = math.vec4()) {\n const halfAngle = angleAxis[3] / 2.0;\n const fsin = Math.sin(halfAngle);\n dest[0] = fsin * angleAxis[0];\n dest[1] = fsin * angleAxis[1];\n dest[2] = fsin * angleAxis[2];\n dest[3] = Math.cos(halfAngle);\n return dest;\n },\n\n quaternionToEuler: ((() => {\n const mat = new FloatArrayType(16);\n return (q, order, dest) => {\n dest = dest || math.vec3();\n math.quaternionToRotationMat4(q, mat);\n math.mat4ToEuler(mat, order, dest);\n return dest;\n };\n }))(),\n\n mulQuaternions(p, q, dest = math.vec4()) {\n const p0 = p[0];\n const p1 = p[1];\n const p2 = p[2];\n const p3 = p[3];\n const q0 = q[0];\n const q1 = q[1];\n const q2 = q[2];\n const q3 = q[3];\n dest[0] = p3 * q0 + p0 * q3 + p1 * q2 - p2 * q1;\n dest[1] = p3 * q1 + p1 * q3 + p2 * q0 - p0 * q2;\n dest[2] = p3 * q2 + p2 * q3 + p0 * q1 - p1 * q0;\n dest[3] = p3 * q3 - p0 * q0 - p1 * q1 - p2 * q2;\n return dest;\n },\n\n vec3ApplyQuaternion(q, vec, dest = math.vec3()) {\n const x = vec[0];\n const y = vec[1];\n const z = vec[2];\n\n const qx = q[0];\n const qy = q[1];\n const qz = q[2];\n const qw = q[3];\n\n // calculate quat * vector\n\n const ix = qw * x + qy * z - qz * y;\n const iy = qw * y + qz * x - qx * z;\n const iz = qw * z + qx * y - qy * x;\n const iw = -qx * x - qy * y - qz * z;\n\n // calculate result * inverse quat\n\n dest[0] = ix * qw + iw * -qx + iy * -qz - iz * -qy;\n dest[1] = iy * qw + iw * -qy + iz * -qx - ix * -qz;\n dest[2] = iz * qw + iw * -qz + ix * -qy - iy * -qx;\n\n return dest;\n },\n\n quaternionToMat4(q, dest) {\n\n dest = math.identityMat4(dest);\n\n const q0 = q[0]; //x\n const q1 = q[1]; //y\n const q2 = q[2]; //z\n const q3 = q[3]; //w\n\n const tx = 2.0 * q0;\n const ty = 2.0 * q1;\n const tz = 2.0 * q2;\n\n const twx = tx * q3;\n const twy = ty * q3;\n const twz = tz * q3;\n\n const txx = tx * q0;\n const txy = ty * q0;\n const txz = tz * q0;\n\n const tyy = ty * q1;\n const tyz = tz * q1;\n const tzz = tz * q2;\n\n dest[0] = 1.0 - (tyy + tzz);\n dest[1] = txy + twz;\n dest[2] = txz - twy;\n\n dest[4] = txy - twz;\n dest[5] = 1.0 - (txx + tzz);\n dest[6] = tyz + twx;\n\n dest[8] = txz + twy;\n dest[9] = tyz - twx;\n\n dest[10] = 1.0 - (txx + tyy);\n\n return dest;\n },\n\n quaternionToRotationMat4(q, m) {\n const x = q[0];\n const y = q[1];\n const z = q[2];\n const w = q[3];\n\n const x2 = x + x;\n const y2 = y + y;\n const z2 = z + z;\n const xx = x * x2;\n const xy = x * y2;\n const xz = x * z2;\n const yy = y * y2;\n const yz = y * z2;\n const zz = z * z2;\n const wx = w * x2;\n const wy = w * y2;\n const wz = w * z2;\n\n m[0] = 1 - (yy + zz);\n m[4] = xy - wz;\n m[8] = xz + wy;\n\n m[1] = xy + wz;\n m[5] = 1 - (xx + zz);\n m[9] = yz - wx;\n\n m[2] = xz - wy;\n m[6] = yz + wx;\n m[10] = 1 - (xx + yy);\n\n // last column\n m[3] = 0;\n m[7] = 0;\n m[11] = 0;\n\n // bottom row\n m[12] = 0;\n m[13] = 0;\n m[14] = 0;\n m[15] = 1;\n\n return m;\n },\n\n normalizeQuaternion(q, dest = q) {\n const len = math.lenVec4([q[0], q[1], q[2], q[3]]);\n dest[0] = q[0] / len;\n dest[1] = q[1] / len;\n dest[2] = q[2] / len;\n dest[3] = q[3] / len;\n return dest;\n },\n\n conjugateQuaternion(q, dest = q) {\n dest[0] = -q[0];\n dest[1] = -q[1];\n dest[2] = -q[2];\n dest[3] = q[3];\n return dest;\n },\n\n inverseQuaternion(q, dest) {\n return math.normalizeQuaternion(math.conjugateQuaternion(q, dest));\n },\n\n quaternionToAngleAxis(q, angleAxis = math.vec4()) {\n q = math.normalizeQuaternion(q, tempVec4);\n const q3 = q[3];\n const angle = 2 * Math.acos(q3);\n const s = Math.sqrt(1 - q3 * q3);\n if (s < 0.001) { // test to avoid divide by zero, s is always positive due to sqrt\n angleAxis[0] = q[0];\n angleAxis[1] = q[1];\n angleAxis[2] = q[2];\n } else {\n angleAxis[0] = q[0] / s;\n angleAxis[1] = q[1] / s;\n angleAxis[2] = q[2] / s;\n }\n angleAxis[3] = angle; // * 57.295779579;\n return angleAxis;\n },\n\n //------------------------------------------------------------------------------------------------------------------\n // Boundaries\n //------------------------------------------------------------------------------------------------------------------\n\n /**\n * Returns a new, uninitialized 3D axis-aligned bounding box.\n *\n * @private\n */\n AABB3(values) {\n return new FloatArrayType(values || 6);\n },\n\n /**\n * Returns a new, uninitialized 2D axis-aligned bounding box.\n *\n * @private\n */\n AABB2(values) {\n return new FloatArrayType(values || 4);\n },\n\n /**\n * Returns a new, uninitialized 3D oriented bounding box (OBB).\n *\n * @private\n */\n OBB3(values) {\n return new FloatArrayType(values || 32);\n },\n\n /**\n * Returns a new, uninitialized 2D oriented bounding box (OBB).\n *\n * @private\n */\n OBB2(values) {\n return new FloatArrayType(values || 16);\n },\n\n /** Returns a new 3D bounding sphere */\n Sphere3(x, y, z, r) {\n return new FloatArrayType([x, y, z, r]);\n },\n\n /**\n * Transforms an OBB3 by a 4x4 matrix.\n *\n * @private\n */\n transformOBB3(m, p, p2 = p) {\n let i;\n const len = p.length;\n\n let x;\n let y;\n let z;\n\n const m0 = m[0];\n const m1 = m[1];\n const m2 = m[2];\n const m3 = m[3];\n const m4 = m[4];\n const m5 = m[5];\n const m6 = m[6];\n const m7 = m[7];\n const m8 = m[8];\n const m9 = m[9];\n const m10 = m[10];\n const m11 = m[11];\n const m12 = m[12];\n const m13 = m[13];\n const m14 = m[14];\n const m15 = m[15];\n\n for (i = 0; i < len; i += 4) {\n\n x = p[i + 0];\n y = p[i + 1];\n z = p[i + 2];\n\n p2[i + 0] = (m0 * x) + (m4 * y) + (m8 * z) + m12;\n p2[i + 1] = (m1 * x) + (m5 * y) + (m9 * z) + m13;\n p2[i + 2] = (m2 * x) + (m6 * y) + (m10 * z) + m14;\n p2[i + 3] = (m3 * x) + (m7 * y) + (m11 * z) + m15;\n }\n\n return p2;\n },\n\n /** Returns true if the first AABB contains the second AABB.\n * @param aabb1\n * @param aabb2\n * @returns {boolean}\n */\n containsAABB3: function (aabb1, aabb2) {\n const result = (\n aabb1[0] <= aabb2[0] && aabb2[3] <= aabb1[3] &&\n aabb1[1] <= aabb2[1] && aabb2[4] <= aabb1[4] &&\n aabb1[2] <= aabb2[2] && aabb2[5] <= aabb1[5]);\n return result;\n },\n\n /**\n * Gets the diagonal size of an AABB3 given as minima and maxima.\n *\n * @private\n */\n getAABB3Diag: ((() => {\n\n const min = new FloatArrayType(3);\n const max = new FloatArrayType(3);\n const tempVec3 = new FloatArrayType(3);\n\n return aabb => {\n\n min[0] = aabb[0];\n min[1] = aabb[1];\n min[2] = aabb[2];\n\n max[0] = aabb[3];\n max[1] = aabb[4];\n max[2] = aabb[5];\n\n math.subVec3(max, min, tempVec3);\n\n return Math.abs(math.lenVec3(tempVec3));\n };\n }))(),\n\n /**\n * Get a diagonal boundary size that is symmetrical about the given point.\n *\n * @private\n */\n getAABB3DiagPoint: ((() => {\n\n const min = new FloatArrayType(3);\n const max = new FloatArrayType(3);\n const tempVec3 = new FloatArrayType(3);\n\n return (aabb, p) => {\n\n min[0] = aabb[0];\n min[1] = aabb[1];\n min[2] = aabb[2];\n\n max[0] = aabb[3];\n max[1] = aabb[4];\n max[2] = aabb[5];\n\n const diagVec = math.subVec3(max, min, tempVec3);\n\n const xneg = p[0] - aabb[0];\n const xpos = aabb[3] - p[0];\n const yneg = p[1] - aabb[1];\n const ypos = aabb[4] - p[1];\n const zneg = p[2] - aabb[2];\n const zpos = aabb[5] - p[2];\n\n diagVec[0] += (xneg > xpos) ? xneg : xpos;\n diagVec[1] += (yneg > ypos) ? yneg : ypos;\n diagVec[2] += (zneg > zpos) ? zneg : zpos;\n\n return Math.abs(math.lenVec3(diagVec));\n };\n }))(),\n\n /**\n * Gets the center of an AABB.\n *\n * @private\n */\n getAABB3Center(aabb, dest) {\n const r = dest || math.vec3();\n\n r[0] = (aabb[0] + aabb[3]) / 2;\n r[1] = (aabb[1] + aabb[4]) / 2;\n r[2] = (aabb[2] + aabb[5]) / 2;\n\n return r;\n },\n\n /**\n * Gets the center of a 2D AABB.\n *\n * @private\n */\n getAABB2Center(aabb, dest) {\n const r = dest || math.vec2();\n\n r[0] = (aabb[2] + aabb[0]) / 2;\n r[1] = (aabb[3] + aabb[1]) / 2;\n\n return r;\n },\n\n /**\n * Collapses a 3D axis-aligned boundary, ready to expand to fit 3D points.\n * Creates new AABB if none supplied.\n *\n * @private\n */\n collapseAABB3(aabb = math.AABB3()) {\n aabb[0] = math.MAX_DOUBLE;\n aabb[1] = math.MAX_DOUBLE;\n aabb[2] = math.MAX_DOUBLE;\n aabb[3] = -math.MAX_DOUBLE;\n aabb[4] = -math.MAX_DOUBLE;\n aabb[5] = -math.MAX_DOUBLE;\n\n return aabb;\n },\n\n /**\n * Converts an axis-aligned 3D boundary into an oriented boundary consisting of\n * an array of eight 3D positions, one for each corner of the boundary.\n *\n * @private\n */\n AABB3ToOBB3(aabb, obb = math.OBB3()) {\n obb[0] = aabb[0];\n obb[1] = aabb[1];\n obb[2] = aabb[2];\n obb[3] = 1;\n\n obb[4] = aabb[3];\n obb[5] = aabb[1];\n obb[6] = aabb[2];\n obb[7] = 1;\n\n obb[8] = aabb[3];\n obb[9] = aabb[4];\n obb[10] = aabb[2];\n obb[11] = 1;\n\n obb[12] = aabb[0];\n obb[13] = aabb[4];\n obb[14] = aabb[2];\n obb[15] = 1;\n\n obb[16] = aabb[0];\n obb[17] = aabb[1];\n obb[18] = aabb[5];\n obb[19] = 1;\n\n obb[20] = aabb[3];\n obb[21] = aabb[1];\n obb[22] = aabb[5];\n obb[23] = 1;\n\n obb[24] = aabb[3];\n obb[25] = aabb[4];\n obb[26] = aabb[5];\n obb[27] = 1;\n\n obb[28] = aabb[0];\n obb[29] = aabb[4];\n obb[30] = aabb[5];\n obb[31] = 1;\n\n return obb;\n },\n\n /**\n * Finds the minimum axis-aligned 3D boundary enclosing the homogeneous 3D points (x,y,z,w) given in a flattened array.\n *\n * @private\n */\n positions3ToAABB3: ((() => {\n\n const p = new FloatArrayType(3);\n\n return (positions, aabb, positionsDecodeMatrix) => {\n aabb = aabb || math.AABB3();\n\n let xmin = math.MAX_DOUBLE;\n let ymin = math.MAX_DOUBLE;\n let zmin = math.MAX_DOUBLE;\n let xmax = -math.MAX_DOUBLE;\n let ymax = -math.MAX_DOUBLE;\n let zmax = -math.MAX_DOUBLE;\n\n let x;\n let y;\n let z;\n\n for (let i = 0, len = positions.length; i < len; i += 3) {\n\n if (positionsDecodeMatrix) {\n\n p[0] = positions[i + 0];\n p[1] = positions[i + 1];\n p[2] = positions[i + 2];\n\n math.decompressPosition(p, positionsDecodeMatrix, p);\n\n x = p[0];\n y = p[1];\n z = p[2];\n\n } else {\n x = positions[i + 0];\n y = positions[i + 1];\n z = positions[i + 2];\n }\n\n if (x < xmin) {\n xmin = x;\n }\n\n if (y < ymin) {\n ymin = y;\n }\n\n if (z < zmin) {\n zmin = z;\n }\n\n if (x > xmax) {\n xmax = x;\n }\n\n if (y > ymax) {\n ymax = y;\n }\n\n if (z > zmax) {\n zmax = z;\n }\n }\n\n aabb[0] = xmin;\n aabb[1] = ymin;\n aabb[2] = zmin;\n aabb[3] = xmax;\n aabb[4] = ymax;\n aabb[5] = zmax;\n\n return aabb;\n };\n }))(),\n\n /**\n * Finds the minimum axis-aligned 3D boundary enclosing the homogeneous 3D points (x,y,z,w) given in a flattened array.\n *\n * @private\n */\n OBB3ToAABB3(obb, aabb = math.AABB3()) {\n let xmin = math.MAX_DOUBLE;\n let ymin = math.MAX_DOUBLE;\n let zmin = math.MAX_DOUBLE;\n let xmax = -math.MAX_DOUBLE;\n let ymax = -math.MAX_DOUBLE;\n let zmax = -math.MAX_DOUBLE;\n\n let x;\n let y;\n let z;\n\n for (let i = 0, len = obb.length; i < len; i += 4) {\n\n x = obb[i + 0];\n y = obb[i + 1];\n z = obb[i + 2];\n\n if (x < xmin) {\n xmin = x;\n }\n\n if (y < ymin) {\n ymin = y;\n }\n\n if (z < zmin) {\n zmin = z;\n }\n\n if (x > xmax) {\n xmax = x;\n }\n\n if (y > ymax) {\n ymax = y;\n }\n\n if (z > zmax) {\n zmax = z;\n }\n }\n\n aabb[0] = xmin;\n aabb[1] = ymin;\n aabb[2] = zmin;\n aabb[3] = xmax;\n aabb[4] = ymax;\n aabb[5] = zmax;\n\n return aabb;\n },\n\n /**\n * Finds the minimum axis-aligned 3D boundary enclosing the given 3D points.\n *\n * @private\n */\n points3ToAABB3(points, aabb = math.AABB3()) {\n let xmin = math.MAX_DOUBLE;\n let ymin = math.MAX_DOUBLE;\n let zmin = math.MAX_DOUBLE;\n let xmax = -math.MAX_DOUBLE;\n let ymax = -math.MAX_DOUBLE;\n let zmax = -math.MAX_DOUBLE;\n\n let x;\n let y;\n let z;\n\n for (let i = 0, len = points.length; i < len; i++) {\n\n x = points[i][0];\n y = points[i][1];\n z = points[i][2];\n\n if (x < xmin) {\n xmin = x;\n }\n\n if (y < ymin) {\n ymin = y;\n }\n\n if (z < zmin) {\n zmin = z;\n }\n\n if (x > xmax) {\n xmax = x;\n }\n\n if (y > ymax) {\n ymax = y;\n }\n\n if (z > zmax) {\n zmax = z;\n }\n }\n\n aabb[0] = xmin;\n aabb[1] = ymin;\n aabb[2] = zmin;\n aabb[3] = xmax;\n aabb[4] = ymax;\n aabb[5] = zmax;\n\n return aabb;\n },\n\n /**\n * Finds the minimum boundary sphere enclosing the given 3D points.\n *\n * @private\n */\n points3ToSphere3: ((() => {\n\n const tempVec3 = new FloatArrayType(3);\n\n return (points, sphere) => {\n\n sphere = sphere || math.vec4();\n\n let x = 0;\n let y = 0;\n let z = 0;\n\n let i;\n const numPoints = points.length;\n\n for (i = 0; i < numPoints; i++) {\n x += points[i][0];\n y += points[i][1];\n z += points[i][2];\n }\n\n sphere[0] = x / numPoints;\n sphere[1] = y / numPoints;\n sphere[2] = z / numPoints;\n\n let radius = 0;\n let dist;\n\n for (i = 0; i < numPoints; i++) {\n\n dist = Math.abs(math.lenVec3(math.subVec3(points[i], sphere, tempVec3)));\n\n if (dist > radius) {\n radius = dist;\n }\n }\n\n sphere[3] = radius;\n\n return sphere;\n };\n }))(),\n\n /**\n * Finds the minimum boundary sphere enclosing the given 3D positions.\n *\n * @private\n */\n positions3ToSphere3: ((() => {\n\n const tempVec3a = new FloatArrayType(3);\n const tempVec3b = new FloatArrayType(3);\n\n return (positions, sphere) => {\n\n sphere = sphere || math.vec4();\n\n let x = 0;\n let y = 0;\n let z = 0;\n\n let i;\n const lenPositions = positions.length;\n let radius = 0;\n\n for (i = 0; i < lenPositions; i += 3) {\n x += positions[i];\n y += positions[i + 1];\n z += positions[i + 2];\n }\n\n const numPositions = lenPositions / 3;\n\n sphere[0] = x / numPositions;\n sphere[1] = y / numPositions;\n sphere[2] = z / numPositions;\n\n let dist;\n\n for (i = 0; i < lenPositions; i += 3) {\n\n tempVec3a[0] = positions[i];\n tempVec3a[1] = positions[i + 1];\n tempVec3a[2] = positions[i + 2];\n\n dist = Math.abs(math.lenVec3(math.subVec3(tempVec3a, sphere, tempVec3b)));\n\n if (dist > radius) {\n radius = dist;\n }\n }\n\n sphere[3] = radius;\n\n return sphere;\n };\n }))(),\n\n /**\n * Finds the minimum boundary sphere enclosing the given 3D points.\n *\n * @private\n */\n OBB3ToSphere3: ((() => {\n\n const point = new FloatArrayType(3);\n const tempVec3 = new FloatArrayType(3);\n\n return (points, sphere) => {\n\n sphere = sphere || math.vec4();\n\n let x = 0;\n let y = 0;\n let z = 0;\n\n let i;\n const lenPoints = points.length;\n const numPoints = lenPoints / 4;\n\n for (i = 0; i < lenPoints; i += 4) {\n x += points[i + 0];\n y += points[i + 1];\n z += points[i + 2];\n }\n\n sphere[0] = x / numPoints;\n sphere[1] = y / numPoints;\n sphere[2] = z / numPoints;\n\n let radius = 0;\n let dist;\n\n for (i = 0; i < lenPoints; i += 4) {\n\n point[0] = points[i + 0];\n point[1] = points[i + 1];\n point[2] = points[i + 2];\n\n dist = Math.abs(math.lenVec3(math.subVec3(point, sphere, tempVec3)));\n\n if (dist > radius) {\n radius = dist;\n }\n }\n\n sphere[3] = radius;\n\n return sphere;\n };\n }))(),\n\n /**\n * Gets the center of a bounding sphere.\n *\n * @private\n */\n getSphere3Center(sphere, dest = math.vec3()) {\n dest[0] = sphere[0];\n dest[1] = sphere[1];\n dest[2] = sphere[2];\n\n return dest;\n },\n\n /**\n * Expands the first axis-aligned 3D boundary to enclose the second, if required.\n *\n * @private\n */\n expandAABB3(aabb1, aabb2) {\n\n if (aabb1[0] > aabb2[0]) {\n aabb1[0] = aabb2[0];\n }\n\n if (aabb1[1] > aabb2[1]) {\n aabb1[1] = aabb2[1];\n }\n\n if (aabb1[2] > aabb2[2]) {\n aabb1[2] = aabb2[2];\n }\n\n if (aabb1[3] < aabb2[3]) {\n aabb1[3] = aabb2[3];\n }\n\n if (aabb1[4] < aabb2[4]) {\n aabb1[4] = aabb2[4];\n }\n\n if (aabb1[5] < aabb2[5]) {\n aabb1[5] = aabb2[5];\n }\n\n return aabb1;\n },\n\n /**\n * Expands an axis-aligned 3D boundary to enclose the given point, if needed.\n *\n * @private\n */\n expandAABB3Point3(aabb, p) {\n\n if (aabb[0] > p[0]) {\n aabb[0] = p[0];\n }\n\n if (aabb[1] > p[1]) {\n aabb[1] = p[1];\n }\n\n if (aabb[2] > p[2]) {\n aabb[2] = p[2];\n }\n\n if (aabb[3] < p[0]) {\n aabb[3] = p[0];\n }\n\n if (aabb[4] < p[1]) {\n aabb[4] = p[1];\n }\n\n if (aabb[5] < p[2]) {\n aabb[5] = p[2];\n }\n\n return aabb;\n },\n\n /**\n * Calculates the normal vector of a triangle.\n *\n * @private\n */\n triangleNormal(a, b, c, normal = math.vec3()) {\n const p1x = b[0] - a[0];\n const p1y = b[1] - a[1];\n const p1z = b[2] - a[2];\n\n const p2x = c[0] - a[0];\n const p2y = c[1] - a[1];\n const p2z = c[2] - a[2];\n\n const p3x = p1y * p2z - p1z * p2y;\n const p3y = p1z * p2x - p1x * p2z;\n const p3z = p1x * p2y - p1y * p2x;\n\n const mag = Math.sqrt(p3x * p3x + p3y * p3y + p3z * p3z);\n if (mag === 0) {\n normal[0] = 0;\n normal[1] = 0;\n normal[2] = 0;\n } else {\n normal[0] = p3x / mag;\n normal[1] = p3y / mag;\n normal[2] = p3z / mag;\n }\n\n return normal\n }\n};\n\nexport {math};", @@ -10769,7 +10812,7 @@ "lineNumber": 1 }, { - "__docId__": 391, + "__docId__": 392, "kind": "variable", "name": "doublePrecision", "memberof": "src/lib/math.js", @@ -10790,7 +10833,7 @@ "ignore": true }, { - "__docId__": 392, + "__docId__": 393, "kind": "variable", "name": "FloatArrayType", "memberof": "src/lib/math.js", @@ -10811,7 +10854,7 @@ "ignore": true }, { - "__docId__": 393, + "__docId__": 394, "kind": "variable", "name": "tempMat1", "memberof": "src/lib/math.js", @@ -10832,7 +10875,7 @@ "ignore": true }, { - "__docId__": 394, + "__docId__": 395, "kind": "variable", "name": "tempMat2", "memberof": "src/lib/math.js", @@ -10853,7 +10896,7 @@ "ignore": true }, { - "__docId__": 395, + "__docId__": 396, "kind": "variable", "name": "tempVec4", "memberof": "src/lib/math.js", @@ -10874,7 +10917,7 @@ "ignore": true }, { - "__docId__": 396, + "__docId__": 397, "kind": "variable", "name": "math", "memberof": "src/lib/math.js", @@ -10894,7 +10937,7 @@ } }, { - "__docId__": 397, + "__docId__": 398, "kind": "file", "name": "src/lib/mergeVertices.js", "content": "/**\n * Given geometry defined as an array of positions, optional normals, option uv and an array of indices, returns\n * modified arrays that have duplicate vertices removed.\n *\n * @private\n */\nfunction mergeVertices(positions, indices, mergedPositions, mergedIndices) {\n const positionsMap = {};\n const indicesLookup = [];\n const precisionPoints = 4; // number of decimal points, e.g. 4 for epsilon of 0.0001\n const precision = 10 ** precisionPoints;\n let uvi = 0;\n for (let i = 0, len = positions.length; i < len; i += 3) {\n const vx = positions[i];\n const vy = positions[i + 1];\n const vz = positions[i + 2];\n const key = `${Math.round(vx * precision)}_${Math.round(vy * precision)}_${Math.round(vz * precision)}`;\n if (positionsMap[key] === undefined) {\n positionsMap[key] = mergedPositions.length / 3;\n mergedPositions.push(vx);\n mergedPositions.push(vy);\n mergedPositions.push(vz);\n }\n indicesLookup[i / 3] = positionsMap[key];\n uvi += 2;\n }\n for (let i = 0, len = indices.length; i < len; i++) {\n mergedIndices[i] = indicesLookup[indices[i]];\n }\n}\n\nexport {mergeVertices};", @@ -10905,7 +10948,7 @@ "lineNumber": 1 }, { - "__docId__": 398, + "__docId__": 399, "kind": "function", "name": "mergeVertices", "memberof": "src/lib/mergeVertices.js", @@ -10949,7 +10992,7 @@ "return": null }, { - "__docId__": 399, + "__docId__": 400, "kind": "file", "name": "src/parsers/parseCityJSONIntoXKTModel.js", "content": "import {earcut} from './../lib/earcut';\nimport {math} from \"./../lib/math.js\";\n\nconst tempVec2a = math.vec2();\nconst tempVec3a = math.vec3();\nconst tempVec3b = math.vec3();\nconst tempVec3c = math.vec3();\n\n/**\n * @desc Parses a CityJSON model into an {@link XKTModel}.\n *\n * [CityJSON](https://www.cityjson.org) is a JSON-based encoding for a subset of the CityGML data model (version 2.0.0),\n * which is an open standardised data model and exchange format to store digital 3D models of cities and\n * landscapes. CityGML is an official standard of the [Open Geospatial Consortium](https://www.ogc.org/).\n *\n * This converter function supports most of the [CityJSON 1.0.2 Specification](https://www.cityjson.org/specs/1.0.2),\n * with the following limitations:\n *\n * * Does not (yet) support CityJSON semantics for geometry primitives.\n * * Does not (yet) support textured geometries.\n * * Does not (yet) support geometry templates.\n * * When the CityJSON file provides multiple *themes* for a geometry, then we parse only the first of the provided themes for that geometry.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a CityJSON model into it.\n *\n * ````javascript\n * utils.loadJSON(\"./models/cityjson/DenHaag.json\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseCityJSONIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {Object} params.data CityJSON data.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {boolean} [params.center=false] Set true to center the CityJSON vertex positions to [0,0,0]. This is applied before the transformation matrix, if specified.\n * @param {Boolean} [params.transform] 4x4 transformation matrix to transform CityJSON vertex positions. Use this to rotate, translate and scale them if neccessary.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when CityJSON has been parsed.\n */\nfunction parseCityJSONIntoXKTModel({\n data,\n xktModel,\n center = false,\n transform = null,\n stats = {}, log\n }) {\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (data.type !== \"CityJSON\") {\n reject(\"Invalid argument: data is not a CityJSON file\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n let vertices;\n\n log(\"Using parser: parseCityJSONIntoXKTModel\");\n\n log(`center: ${center}`);\n if (transform) {\n log(`transform: [${transform}]`);\n }\n\n if (data.transform || center || transform) {\n vertices = copyVertices(data.vertices);\n if (data.transform) {\n transformVertices(vertices, data.transform)\n }\n if (center) {\n centerVertices(vertices);\n }\n if (transform) {\n customTransformVertices(vertices, transform);\n }\n } else {\n vertices = data.vertices;\n }\n\n stats.sourceFormat = data.type || \"\";\n stats.schemaVersion = data.version || \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 0;\n stats.numPropertySets = 0;\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n const rootMetaObjectId = math.createUUID();\n\n xktModel.createMetaObject({\n metaObjectId: rootMetaObjectId,\n metaObjectType: \"Model\",\n metaObjectName: \"Model\"\n });\n\n stats.numMetaObjects++;\n\n const modelMetaObjectId = math.createUUID();\n\n xktModel.createMetaObject({\n metaObjectId: modelMetaObjectId,\n metaObjectType: \"CityJSON\",\n metaObjectName: \"CityJSON\",\n parentMetaObjectId: rootMetaObjectId\n });\n\n stats.numMetaObjects++;\n\n const ctx = {\n data,\n vertices,\n xktModel,\n rootMetaObjectId: modelMetaObjectId,\n log: (log || function (msg) {\n }),\n nextId: 0,\n stats\n };\n\n ctx.xktModel.schema = data.type + \" \" + data.version;\n\n ctx.log(\"Converting \" + ctx.xktModel.schema);\n\n parseCityJSON(ctx);\n\n resolve();\n });\n}\n\nfunction copyVertices(vertices) {\n const vertices2 = [];\n for (let i = 0, j = 0; i < vertices.length; i++, j += 3) {\n const x = vertices[i][0];\n const y = vertices[i][1];\n const z = vertices[i][2];\n vertices2.push([x, y, z]);\n }\n return vertices2;\n}\n\nfunction transformVertices(vertices, cityJSONTransform) {\n const scale = cityJSONTransform.scale || math.vec3([1, 1, 1]);\n const translate = cityJSONTransform.translate || math.vec3([0, 0, 0]);\n for (let i = 0; i < vertices.length; i++) {\n const vertex = vertices[i];\n vertex[0] = (vertex[0] * scale[0]) + translate[0];\n vertex[1] = (vertex[1] * scale[1]) + translate[1];\n vertex[2] = (vertex[2] * scale[2]) + translate[2];\n }\n}\n\nfunction centerVertices(vertices) {\n if (center) {\n const centerPos = math.vec3();\n const numPoints = vertices.length;\n for (let i = 0, len = vertices.length; i < len; i++) {\n const vertex = vertices[i];\n centerPos[0] += vertex[0];\n centerPos[1] += vertex[1];\n centerPos[2] += vertex[2];\n }\n centerPos[0] /= numPoints;\n centerPos[1] /= numPoints;\n centerPos[2] /= numPoints;\n for (let i = 0, len = vertices.length; i < len; i++) {\n const vertex = vertices[i];\n vertex[0] -= centerPos[0];\n vertex[1] -= centerPos[1];\n vertex[2] -= centerPos[2];\n }\n }\n}\n\nfunction customTransformVertices(vertices, transform) {\n if (transform) {\n const mat = math.mat4(transform);\n for (let i = 0, len = vertices.length; i < len; i++) {\n const vertex = vertices[i];\n math.transformPoint3(mat, vertex, vertex);\n }\n }\n}\n\nfunction parseCityJSON(ctx) {\n\n const data = ctx.data;\n const cityObjects = data.CityObjects;\n\n for (const objectId in cityObjects) {\n if (cityObjects.hasOwnProperty(objectId)) {\n const cityObject = cityObjects[objectId];\n parseCityObject(ctx, cityObject, objectId);\n }\n }\n}\n\nfunction parseCityObject(ctx, cityObject, objectId) {\n\n const xktModel = ctx.xktModel;\n const data = ctx.data;\n const metaObjectId = objectId;\n const metaObjectType = cityObject.type;\n const metaObjectName = metaObjectType + \" : \" + objectId;\n\n const parentMetaObjectId = cityObject.parents ? cityObject.parents[0] : ctx.rootMetaObjectId;\n\n xktModel.createMetaObject({\n metaObjectId,\n metaObjectName,\n metaObjectType,\n parentMetaObjectId\n });\n\n ctx.stats.numMetaObjects++;\n\n if (!(cityObject.geometry && cityObject.geometry.length > 0)) {\n return;\n }\n\n const meshIds = [];\n\n for (let i = 0, len = cityObject.geometry.length; i < len; i++) {\n\n const geometry = cityObject.geometry[i];\n\n let objectMaterial;\n let surfaceMaterials;\n\n const appearance = data.appearance;\n if (appearance) {\n const materials = appearance.materials;\n if (materials) {\n const geometryMaterial = geometry.material;\n if (geometryMaterial) {\n const themeIds = Object.keys(geometryMaterial);\n if (themeIds.length > 0) {\n const themeId = themeIds[0];\n const theme = geometryMaterial[themeId];\n if (theme.value !== undefined) {\n objectMaterial = materials[theme.value];\n } else {\n const values = theme.values;\n if (values) {\n surfaceMaterials = [];\n for (let j = 0, lenj = values.length; j < lenj; j++) {\n const value = values[i];\n const surfaceMaterial = materials[value];\n surfaceMaterials.push(surfaceMaterial);\n }\n }\n }\n }\n }\n }\n }\n\n if (surfaceMaterials) {\n parseGeometrySurfacesWithOwnMaterials(ctx, geometry, surfaceMaterials, meshIds);\n\n } else {\n parseGeometrySurfacesWithSharedMaterial(ctx, geometry, objectMaterial, meshIds);\n }\n }\n\n if (meshIds.length > 0) {\n xktModel.createEntity({\n entityId: objectId,\n meshIds: meshIds\n });\n\n ctx.stats.numObjects++;\n }\n}\n\nfunction parseGeometrySurfacesWithOwnMaterials(ctx, geometry, surfaceMaterials, meshIds) {\n\n const geomType = geometry.type;\n\n switch (geomType) {\n\n case \"MultiPoint\":\n break;\n\n case \"MultiLineString\":\n break;\n\n case \"MultiSurface\":\n\n case \"CompositeSurface\":\n const surfaces = geometry.boundaries;\n parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds);\n break;\n\n case \"Solid\":\n const shells = geometry.boundaries;\n for (let j = 0; j < shells.length; j++) {\n const surfaces = shells[j];\n parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds);\n }\n break;\n\n case \"MultiSolid\":\n\n case \"CompositeSolid\":\n const solids = geometry.boundaries;\n for (let j = 0; j < solids.length; j++) {\n for (let k = 0; k < solids[j].length; k++) {\n const surfaces = solids[j][k];\n parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds);\n }\n }\n break;\n\n case \"GeometryInstance\":\n break;\n }\n}\n\nfunction parseSurfacesWithOwnMaterials(ctx, surfaceMaterials, surfaces, meshIds) {\n\n const vertices = ctx.vertices;\n const xktModel = ctx.xktModel;\n\n for (let i = 0; i < surfaces.length; i++) {\n\n const surface = surfaces[i];\n const surfaceMaterial = surfaceMaterials[i] || {diffuseColor: [0.8, 0.8, 0.8], transparency: 1.0};\n\n const face = [];\n const holes = [];\n\n const sharedIndices = [];\n\n const geometryCfg = {\n positions: [],\n indices: []\n };\n\n for (let j = 0; j < surface.length; j++) {\n\n if (face.length > 0) {\n holes.push(face.length);\n }\n\n const newFace = extractLocalIndices(ctx, surface[j], sharedIndices, geometryCfg);\n\n face.push(...newFace);\n }\n\n if (face.length === 3) { // Triangle\n\n geometryCfg.indices.push(face[0]);\n geometryCfg.indices.push(face[1]);\n geometryCfg.indices.push(face[2]);\n\n } else if (face.length > 3) { // Polygon\n\n // Prepare to triangulate\n\n const pList = [];\n\n for (let k = 0; k < face.length; k++) {\n pList.push({\n x: vertices[sharedIndices[face[k]]][0],\n y: vertices[sharedIndices[face[k]]][1],\n z: vertices[sharedIndices[face[k]]][2]\n });\n }\n\n const normal = getNormalOfPositions(pList, math.vec3());\n\n // Convert to 2D\n\n let pv = [];\n\n for (let k = 0; k < pList.length; k++) {\n\n to2D(pList[k], normal, tempVec2a);\n\n pv.unshift(tempVec2a[0]);\n pv.unshift(tempVec2a[1]);\n }\n\n // Triangulate\n\n const tr = earcut(pv, holes, 2);\n\n // Create triangles\n\n for (let k = 0; k < tr.length; k += 3) {\n geometryCfg.indices.unshift(face[tr[k]]);\n geometryCfg.indices.unshift(face[tr[k + 1]]);\n geometryCfg.indices.unshift(face[tr[k + 2]]);\n }\n }\n\n const geometryId = \"\" + ctx.nextId++;\n const meshId = \"\" + ctx.nextId++;\n\n xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: geometryCfg.positions,\n indices: geometryCfg.indices\n });\n\n xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n color: (surfaceMaterial && surfaceMaterial.diffuseColor) ? surfaceMaterial.diffuseColor : [0.8, 0.8, 0.8],\n opacity: 1.0\n //opacity: (surfaceMaterial && surfaceMaterial.transparency !== undefined) ? (1.0 - surfaceMaterial.transparency) : 1.0\n });\n\n meshIds.push(meshId);\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n }\n}\n\nfunction parseGeometrySurfacesWithSharedMaterial(ctx, geometry, objectMaterial, meshIds) {\n\n const xktModel = ctx.xktModel;\n const sharedIndices = [];\n const geometryCfg = {\n positions: [],\n indices: []\n };\n\n const geomType = geometry.type;\n\n switch (geomType) {\n case \"MultiPoint\":\n break;\n\n case \"MultiLineString\":\n break;\n\n case \"MultiSurface\":\n case \"CompositeSurface\":\n const surfaces = geometry.boundaries;\n parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, geometryCfg);\n break;\n\n case \"Solid\":\n const shells = geometry.boundaries;\n for (let j = 0; j < shells.length; j++) {\n const surfaces = shells[j];\n parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, geometryCfg);\n }\n break;\n\n case \"MultiSolid\":\n case \"CompositeSolid\":\n const solids = geometry.boundaries;\n for (let j = 0; j < solids.length; j++) {\n for (let k = 0; k < solids[j].length; k++) {\n const surfaces = solids[j][k];\n parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, geometryCfg);\n }\n }\n break;\n\n case \"GeometryInstance\":\n break;\n }\n\n const geometryId = \"\" + ctx.nextId++;\n const meshId = \"\" + ctx.nextId++;\n\n xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: geometryCfg.positions,\n indices: geometryCfg.indices\n });\n\n xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n color: (objectMaterial && objectMaterial.diffuseColor) ? objectMaterial.diffuseColor : [0.8, 0.8, 0.8],\n opacity: 1.0\n //opacity: (objectMaterial && objectMaterial.transparency !== undefined) ? (1.0 - objectMaterial.transparency) : 1.0\n });\n\n meshIds.push(meshId);\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n}\n\nfunction parseSurfacesWithSharedMaterial(ctx, surfaces, sharedIndices, primitiveCfg) {\n\n const vertices = ctx.vertices;\n\n for (let i = 0; i < surfaces.length; i++) {\n\n let boundary = [];\n let holes = [];\n\n for (let j = 0; j < surfaces[i].length; j++) {\n if (boundary.length > 0) {\n holes.push(boundary.length);\n }\n const newBoundary = extractLocalIndices(ctx, surfaces[i][j], sharedIndices, primitiveCfg);\n boundary.push(...newBoundary);\n }\n\n if (boundary.length === 3) { // Triangle\n\n primitiveCfg.indices.push(boundary[0]);\n primitiveCfg.indices.push(boundary[1]);\n primitiveCfg.indices.push(boundary[2]);\n\n } else if (boundary.length > 3) { // Polygon\n\n let pList = [];\n\n for (let k = 0; k < boundary.length; k++) {\n pList.push({\n x: vertices[sharedIndices[boundary[k]]][0],\n y: vertices[sharedIndices[boundary[k]]][1],\n z: vertices[sharedIndices[boundary[k]]][2]\n });\n }\n\n const normal = getNormalOfPositions(pList, math.vec3());\n let pv = [];\n\n for (let k = 0; k < pList.length; k++) {\n to2D(pList[k], normal, tempVec2a);\n pv.unshift(tempVec2a[0]);\n pv.unshift(tempVec2a[1]);\n }\n\n const tr = earcut(pv, holes, 2);\n\n for (let k = 0; k < tr.length; k += 3) {\n primitiveCfg.indices.unshift(boundary[tr[k]]);\n primitiveCfg.indices.unshift(boundary[tr[k + 1]]);\n primitiveCfg.indices.unshift(boundary[tr[k + 2]]);\n }\n }\n }\n}\n\nfunction extractLocalIndices(ctx, boundary, sharedIndices, geometryCfg) {\n\n const vertices = ctx.vertices;\n const newBoundary = []\n\n for (let i = 0, len = boundary.length; i < len; i++) {\n\n const index = boundary[i];\n\n if (sharedIndices.includes(index)) {\n const vertexIndex = sharedIndices.indexOf(index);\n newBoundary.push(vertexIndex);\n\n } else {\n geometryCfg.positions.push(vertices[index][0]);\n geometryCfg.positions.push(vertices[index][1]);\n geometryCfg.positions.push(vertices[index][2]);\n\n newBoundary.push(sharedIndices.length);\n\n sharedIndices.push(index);\n }\n }\n\n return newBoundary\n}\n\nfunction getNormalOfPositions(positions, normal) {\n\n for (let i = 0; i < positions.length; i++) {\n\n let nexti = i + 1;\n if (nexti === positions.length) {\n nexti = 0;\n }\n\n normal[0] += ((positions[i].y - positions[nexti].y) * (positions[i].z + positions[nexti].z));\n normal[1] += ((positions[i].z - positions[nexti].z) * (positions[i].x + positions[nexti].x));\n normal[2] += ((positions[i].x - positions[nexti].x) * (positions[i].y + positions[nexti].y));\n }\n\n return math.normalizeVec3(normal);\n}\n\nfunction to2D(_p, _n, re) {\n\n const p = tempVec3a;\n const n = tempVec3b;\n const x3 = tempVec3c;\n\n p[0] = _p.x;\n p[1] = _p.y;\n p[2] = _p.z;\n\n n[0] = _n.x;\n n[1] = _n.y;\n n[2] = _n.z;\n\n x3[0] = 1.1;\n x3[1] = 1.1;\n x3[2] = 1.1;\n\n const dist = math.lenVec3(math.subVec3(x3, n));\n\n if (dist < 0.01) {\n x3[0] += 1.0;\n x3[1] += 2.0;\n x3[2] += 3.0;\n }\n\n const dot = math.dotVec3(x3, n);\n const tmp2 = math.mulVec3Scalar(n, dot, math.vec3());\n\n x3[0] -= tmp2[0];\n x3[1] -= tmp2[1];\n x3[2] -= tmp2[2];\n\n math.normalizeVec3(x3);\n\n const y3 = math.cross3Vec3(n, x3, math.vec3());\n const x = math.dotVec3(p, x3);\n const y = math.dotVec3(p, y3);\n\n re[0] = x;\n re[1] = y;\n}\n\nexport {parseCityJSONIntoXKTModel};", @@ -10960,7 +11003,7 @@ "lineNumber": 1 }, { - "__docId__": 400, + "__docId__": 401, "kind": "variable", "name": "tempVec2a", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -10981,7 +11024,7 @@ "ignore": true }, { - "__docId__": 401, + "__docId__": 402, "kind": "variable", "name": "tempVec3a", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11002,7 +11045,7 @@ "ignore": true }, { - "__docId__": 402, + "__docId__": 403, "kind": "variable", "name": "tempVec3b", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11023,7 +11066,7 @@ "ignore": true }, { - "__docId__": 403, + "__docId__": 404, "kind": "variable", "name": "tempVec3c", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11044,7 +11087,7 @@ "ignore": true }, { - "__docId__": 404, + "__docId__": 405, "kind": "function", "name": "copyVertices", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11075,7 +11118,7 @@ "ignore": true }, { - "__docId__": 405, + "__docId__": 406, "kind": "function", "name": "transformVertices", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11108,7 +11151,7 @@ "ignore": true }, { - "__docId__": 406, + "__docId__": 407, "kind": "function", "name": "centerVertices", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11135,7 +11178,7 @@ "ignore": true }, { - "__docId__": 407, + "__docId__": 408, "kind": "function", "name": "customTransformVertices", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11168,7 +11211,7 @@ "ignore": true }, { - "__docId__": 408, + "__docId__": 409, "kind": "function", "name": "parseCityJSON", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11195,7 +11238,7 @@ "ignore": true }, { - "__docId__": 409, + "__docId__": 410, "kind": "function", "name": "parseCityObject", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11234,7 +11277,7 @@ "ignore": true }, { - "__docId__": 410, + "__docId__": 411, "kind": "function", "name": "parseGeometrySurfacesWithOwnMaterials", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11279,7 +11322,7 @@ "ignore": true }, { - "__docId__": 411, + "__docId__": 412, "kind": "function", "name": "parseSurfacesWithOwnMaterials", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11324,7 +11367,7 @@ "ignore": true }, { - "__docId__": 412, + "__docId__": 413, "kind": "function", "name": "parseGeometrySurfacesWithSharedMaterial", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11369,7 +11412,7 @@ "ignore": true }, { - "__docId__": 413, + "__docId__": 414, "kind": "function", "name": "parseSurfacesWithSharedMaterial", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11414,7 +11457,7 @@ "ignore": true }, { - "__docId__": 414, + "__docId__": 415, "kind": "function", "name": "extractLocalIndices", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11463,7 +11506,7 @@ "ignore": true }, { - "__docId__": 415, + "__docId__": 416, "kind": "function", "name": "getNormalOfPositions", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11500,7 +11543,7 @@ "ignore": true }, { - "__docId__": 416, + "__docId__": 417, "kind": "function", "name": "to2D", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11539,7 +11582,7 @@ "ignore": true }, { - "__docId__": 417, + "__docId__": 418, "kind": "function", "name": "parseCityJSONIntoXKTModel", "memberof": "src/parsers/parseCityJSONIntoXKTModel.js", @@ -11643,7 +11686,7 @@ } }, { - "__docId__": 418, + "__docId__": 419, "kind": "file", "name": "src/parsers/parseGLTFIntoXKTModel.OLD.js", "content": "import {utils} from \"../XKTModel/lib/utils.js\";\nimport {math} from \"../lib/math.js\";\n\nimport {parse} from '@loaders.gl/core';\nimport {GLTFLoader} from '@loaders.gl/gltf';\nimport {\n ClampToEdgeWrapping,\n LinearFilter,\n LinearMipMapLinearFilter,\n LinearMipMapNearestFilter,\n MirroredRepeatWrapping,\n NearestFilter,\n NearestMipMapLinearFilter,\n NearestMipMapNearestFilter,\n RepeatWrapping\n} from \"../constants.js\";\n\n/**\n * @desc Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n *\n * * Supports ````.glb```` and textures\n * * For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {ArrayBuffer} params.data The glTF.\n * @param {String} [params.baseUri] The base URI used to load this glTF, if any. For resolving relative uris to linked resources.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeTextures=true] Whether to parse textures.\n * @param {Boolean} [params.includeNormals=true] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the glTF.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when glTF has been parsed.\n */\nfunction parseGLTFIntoXKTModel({\n data,\n baseUri,\n xktModel,\n metaModelData,\n includeTextures = true,\n includeNormals = true,\n getAttachment,\n stats = {},\n log\n }) {\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n stats.sourceFormat = \"glTF\";\n stats.schemaVersion = \"2.0\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numUVs = 0;\n stats.numTextures = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n parse(data, GLTFLoader, {\n baseUri\n }).then((gltfData) => {\n\n const ctx = {\n gltfData,\n metaModelCorrections: metaModelData,\n getAttachment: getAttachment || (() => {\n throw new Error('You must define getAttachment() method to convert glTF with external resources')\n }),\n log: (log || function (msg) {\n }),\n error: function (msg) {\n console.error(msg);\n },\n xktModel,\n includeNormals: (includeNormals !== false),\n includeTextures: (includeTextures !== false),\n geometryCreated: {},\n nextId: 0,\n stats\n };\n\n ctx.log(\"Using parser: parseGLTFIntoXKTModel\");\n ctx.log(`Parsing normals: ${ctx.includeNormals ? \"enabled\" : \"disabled\"}`);\n ctx.log(`Parsing textures: ${ctx.includeTextures ? \"enabled\" : \"disabled\"}`);\n\n if (ctx.includeTextures) {\n parseTextures(ctx);\n }\n parseMaterials(ctx);\n parseDefaultScene(ctx);\n\n resolve();\n\n }, (errMsg) => {\n reject(`[parseGLTFIntoXKTModel] ${errMsg}`);\n });\n });\n}\n\nfunction parseTextures(ctx) {\n const gltfData = ctx.gltfData;\n const textures = gltfData.textures;\n if (textures) {\n for (let i = 0, len = textures.length; i < len; i++) {\n parseTexture(ctx, textures[i]);\n ctx.stats.numTextures++;\n }\n }\n}\n\nfunction parseTexture(ctx, texture) {\n if (!texture.source || !texture.source.image) {\n return;\n }\n const textureId = `texture-${ctx.nextId++}`;\n\n let minFilter = NearestMipMapLinearFilter;\n switch (texture.sampler.minFilter) {\n case 9728:\n minFilter = NearestFilter;\n break;\n case 9729:\n minFilter = LinearFilter;\n break;\n case 9984:\n minFilter = NearestMipMapNearestFilter;\n break;\n case 9985:\n minFilter = LinearMipMapNearestFilter;\n break;\n case 9986:\n minFilter = NearestMipMapLinearFilter;\n break;\n case 9987:\n minFilter = LinearMipMapLinearFilter;\n break;\n }\n\n let magFilter = LinearFilter;\n switch (texture.sampler.magFilter) {\n case 9728:\n magFilter = NearestFilter;\n break;\n case 9729:\n magFilter = LinearFilter;\n break;\n }\n\n let wrapS = RepeatWrapping;\n switch (texture.sampler.wrapS) {\n case 33071:\n wrapS = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapS = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapS = RepeatWrapping;\n break;\n }\n\n let wrapT = RepeatWrapping;\n switch (texture.sampler.wrapT) {\n case 33071:\n wrapT = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapT = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapT = RepeatWrapping;\n break;\n }\n\n let wrapR = RepeatWrapping;\n switch (texture.sampler.wrapR) {\n case 33071:\n wrapR = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapR = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapR = RepeatWrapping;\n break;\n }\n\n ctx.xktModel.createTexture({\n textureId: textureId,\n imageData: texture.source.image,\n mediaType: texture.source.mediaType,\n compressed: true,\n width: texture.source.image.width,\n height: texture.source.image.height,\n minFilter,\n magFilter,\n wrapS,\n wrapT,\n wrapR,\n flipY: !!texture.flipY,\n // encoding: \"sRGB\"\n });\n texture._textureId = textureId;\n}\n\nfunction parseMaterials(ctx) {\n const gltfData = ctx.gltfData;\n const materials = gltfData.materials;\n if (materials) {\n for (let i = 0, len = materials.length; i < len; i++) {\n const material = materials[i];\n material._textureSetId = ctx.includeTextures ? parseTextureSet(ctx, material) : null;\n material._attributes = parseMaterialAttributes(ctx, material);\n }\n }\n}\n\nfunction parseTextureSet(ctx, material) {\n const textureSetCfg = {};\n if (material.normalTexture) {\n textureSetCfg.normalTextureId = material.normalTexture.texture._textureId;\n }\n if (material.occlusionTexture) {\n textureSetCfg.occlusionTextureId = material.occlusionTexture.texture._textureId;\n }\n if (material.emissiveTexture) {\n textureSetCfg.emissiveTextureId = material.emissiveTexture.texture._textureId;\n }\n // const alphaMode = material.alphaMode;\n // switch (alphaMode) {\n // case \"NORMAL_OPAQUE\":\n // materialCfg.alphaMode = \"opaque\";\n // break;\n // case \"MASK\":\n // materialCfg.alphaMode = \"mask\";\n // break;\n // case \"BLEND\":\n // materialCfg.alphaMode = \"blend\";\n // break;\n // default:\n // }\n // const alphaCutoff = material.alphaCutoff;\n // if (alphaCutoff !== undefined) {\n // materialCfg.alphaCutoff = alphaCutoff;\n // }\n const metallicPBR = material.pbrMetallicRoughness;\n if (material.pbrMetallicRoughness) {\n const pbrMetallicRoughness = material.pbrMetallicRoughness;\n const baseColorTexture = pbrMetallicRoughness.baseColorTexture || pbrMetallicRoughness.colorTexture;\n if (baseColorTexture) {\n if (baseColorTexture.texture) {\n textureSetCfg.colorTextureId = baseColorTexture.texture._textureId;\n } else {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[baseColorTexture.index]._textureId;\n }\n }\n if (metallicPBR.metallicRoughnessTexture) {\n textureSetCfg.metallicRoughnessTextureId = metallicPBR.metallicRoughnessTexture.texture._textureId;\n }\n }\n const extensions = material.extensions;\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const specularTexture = specularPBR.specularTexture;\n if (specularTexture !== null && specularTexture !== undefined) {\n // textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n const specularColorTexture = specularPBR.specularColorTexture;\n if (specularColorTexture !== null && specularColorTexture !== undefined) {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n }\n }\n if (textureSetCfg.normalTextureId !== undefined ||\n textureSetCfg.occlusionTextureId !== undefined ||\n textureSetCfg.emissiveTextureId !== undefined ||\n textureSetCfg.colorTextureId !== undefined ||\n textureSetCfg.metallicRoughnessTextureId !== undefined) {\n textureSetCfg.textureSetId = `textureSet-${ctx.nextId++};`\n ctx.xktModel.createTextureSet(textureSetCfg);\n ctx.stats.numTextureSets++;\n return textureSetCfg.textureSetId;\n }\n return null;\n}\n\nfunction parseMaterialAttributes(ctx, material) { // Substitute RGBA for material, to use fast flat shading instead\n const extensions = material.extensions;\n const materialAttributes = {\n color: new Float32Array([1, 1, 1, 1]),\n opacity: 1,\n metallic: 0,\n roughness: 1\n };\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const diffuseFactor = specularPBR.diffuseFactor;\n if (diffuseFactor !== null && diffuseFactor !== undefined) {\n materialAttributes.color.set(diffuseFactor);\n }\n }\n const common = extensions[\"KHR_materials_common\"];\n if (common) {\n const technique = common.technique;\n const values = common.values || {};\n const blinn = technique === \"BLINN\";\n const phong = technique === \"PHONG\";\n const lambert = technique === \"LAMBERT\";\n const diffuse = values.diffuse;\n if (diffuse && (blinn || phong || lambert)) {\n if (!utils.isString(diffuse)) {\n materialAttributes.color.set(diffuse);\n }\n }\n const transparency = values.transparency;\n if (transparency !== null && transparency !== undefined) {\n materialAttributes.opacity = transparency;\n }\n const transparent = values.transparent;\n if (transparent !== null && transparent !== undefined) {\n materialAttributes.opacity = transparent;\n }\n }\n }\n const metallicPBR = material.pbrMetallicRoughness;\n if (metallicPBR) {\n const baseColorFactor = metallicPBR.baseColorFactor;\n if (baseColorFactor) {\n materialAttributes.color[0] = baseColorFactor[0];\n materialAttributes.color[1] = baseColorFactor[1];\n materialAttributes.color[2] = baseColorFactor[2];\n materialAttributes.opacity = baseColorFactor[3];\n }\n const metallicFactor = metallicPBR.metallicFactor;\n if (metallicFactor !== null && metallicFactor !== undefined) {\n materialAttributes.metallic = metallicFactor;\n }\n const roughnessFactor = metallicPBR.roughnessFactor;\n if (roughnessFactor !== null && roughnessFactor !== undefined) {\n materialAttributes.roughness = roughnessFactor;\n }\n }\n return materialAttributes;\n}\n\nfunction parseDefaultScene(ctx) {\n const gltfData = ctx.gltfData;\n const scene = gltfData.scene || gltfData.scenes[0];\n if (!scene) {\n ctx.error(\"glTF has no default scene\");\n return;\n }\n parseScene(ctx, scene);\n}\n\nfunction parseScene(ctx, scene) {\n const nodes = scene.nodes;\n if (!nodes) {\n return;\n }\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n countMeshUsage(ctx, node);\n }\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n parseNode(ctx, node, 0, null);\n }\n}\n\nfunction countMeshUsage(ctx, node) {\n const mesh = node.mesh;\n if (mesh !== null && mesh !== undefined) {\n mesh.instances = mesh.instances ? mesh.instances + 1 : 1;\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n if (!childNode) {\n ctx.error(\"Node not found: \" + i);\n continue;\n }\n countMeshUsage(ctx, childNode);\n }\n }\n}\n\nconst objectIdStack = [];\nconst meshIdsStack = [];\n\nlet meshIds = null;\n\nfunction parseNode(ctx, node, depth, matrix) {\n\n const xktModel = ctx.xktModel;\n\n // Pre-order visit scene node\n\n let localMatrix;\n if (node.matrix) {\n localMatrix = node.matrix;\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.translation) {\n localMatrix = math.translationMat4v(node.translation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.rotation) {\n localMatrix = math.quaternionToMat4(node.rotation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.scale) {\n localMatrix = math.scalingMat4v(node.scale);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n\n if (node.name) {\n meshIds = [];\n let xktEntityId = node.name;\n if (!!xktEntityId && xktModel.entities[xktEntityId]) {\n ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`);\n }\n while (!xktEntityId || xktModel.entities[xktEntityId]) {\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n objectIdStack.push(xktEntityId);\n meshIdsStack.push(meshIds);\n }\n\n if (meshIds && node.mesh !== undefined && node.mesh !== null) {\n\n const mesh = node.mesh;\n const numPrimitives = mesh.primitives.length;\n\n if (numPrimitives > 0) {\n for (let i = 0; i < numPrimitives; i++) {\n const primitive = mesh.primitives[i];\n if (!primitive._xktGeometryId) {\n const xktGeometryId = \"geometry-\" + ctx.nextId++;\n const geometryCfg = {\n geometryId: xktGeometryId\n };\n switch (primitive.mode) {\n case 0: // POINTS\n geometryCfg.primitiveType = \"points\";\n break;\n case 1: // LINES\n geometryCfg.primitiveType = \"lines\";\n break;\n case 2: // LINE_LOOP\n geometryCfg.primitiveType = \"line-loop\";\n break;\n case 3: // LINE_STRIP\n geometryCfg.primitiveType = \"line-strip\";\n break;\n case 4: // TRIANGLES\n geometryCfg.primitiveType = \"triangles\";\n break;\n case 5: // TRIANGLE_STRIP\n geometryCfg.primitiveType = \"triangle-strip\";\n break;\n case 6: // TRIANGLE_FAN\n geometryCfg.primitiveType = \"triangle-fan\";\n break;\n default:\n geometryCfg.primitiveType = \"triangles\";\n }\n const POSITION = primitive.attributes.POSITION;\n if (!POSITION) {\n continue;\n }\n geometryCfg.positions = primitive.attributes.POSITION.value;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n if (ctx.includeNormals) {\n if (primitive.attributes.NORMAL) {\n geometryCfg.normals = primitive.attributes.NORMAL.value;\n ctx.stats.numNormals += geometryCfg.normals.length / 3;\n }\n }\n if (primitive.attributes.COLOR_0) {\n geometryCfg.colorsCompressed = primitive.attributes.COLOR_0.value;\n }\n if (ctx.includeTextures) {\n if (primitive.attributes.TEXCOORD_0) {\n geometryCfg.uvs = primitive.attributes.TEXCOORD_0.value;\n ctx.stats.numUVs += geometryCfg.uvs.length / 2;\n }\n }\n if (primitive.indices) {\n geometryCfg.indices = primitive.indices.value;\n if (primitive.mode === 4) {\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n }\n }\n xktModel.createGeometry(geometryCfg);\n primitive._xktGeometryId = xktGeometryId;\n ctx.stats.numGeometries++;\n }\n\n const xktMeshId = ctx.nextId++;\n const meshCfg = {\n meshId: xktMeshId,\n geometryId: primitive._xktGeometryId,\n matrix: matrix ? matrix.slice() : math.identityMat4()\n };\n const material = primitive.material;\n if (material) {\n meshCfg.textureSetId = material._textureSetId;\n meshCfg.color = material._attributes.color;\n meshCfg.opacity = material._attributes.opacity;\n meshCfg.metallic = material._attributes.metallic;\n meshCfg.roughness = material._attributes.roughness;\n } else {\n meshCfg.color = [1.0, 1.0, 1.0];\n meshCfg.opacity = 1.0;\n }\n xktModel.createMesh(meshCfg);\n meshIds.push(xktMeshId);\n }\n }\n }\n\n // Visit child scene nodes\n\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n parseNode(ctx, childNode, depth + 1, matrix);\n }\n }\n\n // Post-order visit scene node\n\n const nodeName = node.name;\n if ((nodeName !== undefined && nodeName !== null) || depth === 0) {\n if (nodeName === undefined || nodeName === null) {\n ctx.log(`Warning: 'name' properties not found on glTF scene nodes - will randomly-generate object IDs in XKT`);\n }\n let xktEntityId = objectIdStack.pop();\n if (!xktEntityId) { // For when there are no nodes with names\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n let entityMeshIds = meshIdsStack.pop();\n if (meshIds && meshIds.length > 0) {\n xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: entityMeshIds\n });\n }\n ctx.stats.numObjects++;\n meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null;\n }\n}\n\nexport {parseGLTFIntoXKTModel};", @@ -11654,7 +11697,7 @@ "lineNumber": 1 }, { - "__docId__": 419, + "__docId__": 420, "kind": "function", "name": "parseTextures", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -11681,7 +11724,7 @@ "ignore": true }, { - "__docId__": 420, + "__docId__": 421, "kind": "function", "name": "parseTexture", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -11714,7 +11757,7 @@ "ignore": true }, { - "__docId__": 421, + "__docId__": 422, "kind": "function", "name": "parseMaterials", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -11741,7 +11784,7 @@ "ignore": true }, { - "__docId__": 422, + "__docId__": 423, "kind": "function", "name": "parseTextureSet", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -11778,7 +11821,7 @@ "ignore": true }, { - "__docId__": 423, + "__docId__": 424, "kind": "function", "name": "parseMaterialAttributes", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -11815,7 +11858,7 @@ "ignore": true }, { - "__docId__": 424, + "__docId__": 425, "kind": "function", "name": "parseDefaultScene", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -11842,7 +11885,7 @@ "ignore": true }, { - "__docId__": 425, + "__docId__": 426, "kind": "function", "name": "parseScene", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -11875,7 +11918,7 @@ "ignore": true }, { - "__docId__": 426, + "__docId__": 427, "kind": "function", "name": "countMeshUsage", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -11908,7 +11951,7 @@ "ignore": true }, { - "__docId__": 427, + "__docId__": 428, "kind": "variable", "name": "objectIdStack", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -11929,7 +11972,7 @@ "ignore": true }, { - "__docId__": 428, + "__docId__": 429, "kind": "variable", "name": "meshIdsStack", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -11950,7 +11993,7 @@ "ignore": true }, { - "__docId__": 429, + "__docId__": 430, "kind": "variable", "name": "meshIds", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -11971,7 +12014,7 @@ "ignore": true }, { - "__docId__": 430, + "__docId__": 431, "kind": "function", "name": "parseNode", "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", @@ -12000,33 +12043,626 @@ ] }, { - "name": "depth", + "name": "depth", + "types": [ + "*" + ] + }, + { + "name": "matrix", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 432, + "kind": "function", + "name": "parseGLTFIntoXKTModel", + "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.OLD.js~parseGLTFIntoXKTModel", + "access": "public", + "export": true, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.OLD.js", + "importStyle": "{parseGLTFIntoXKTModel}", + "description": "Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n\n* Supports ````.glb```` and textures\n* For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n\n## Usage\n\nIn the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n\n````javascript\nutils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n\n const xktModel = new XKTModel();\n\n parseGLTFIntoXKTModel({\n data,\n xktModel,\n log: (msg) => { console.log(msg); }\n }).then(()=>{\n xktModel.finalize();\n },\n (msg) => {\n console.error(msg);\n });\n});\n````", + "lineNumber": 60, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{Promise} Resolves when glTF has been parsed." + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "params", + "description": "Parsing parameters." + }, + { + "nullable": null, + "types": [ + "ArrayBuffer" + ], + "spread": false, + "optional": false, + "name": "params.data", + "description": "The glTF." + }, + { + "nullable": null, + "types": [ + "String" + ], + "spread": false, + "optional": true, + "name": "params.baseUri", + "description": "The base URI used to load this glTF, if any. For resolving relative uris to linked resources." + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": true, + "name": "params.metaModelData", + "description": "Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly." + }, + { + "nullable": null, + "types": [ + "XKTModel" + ], + "spread": false, + "optional": false, + "name": "params.xktModel", + "description": "XKTModel to parse into." + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "true", + "defaultRaw": true, + "name": "params.includeTextures", + "description": "Whether to parse textures." + }, + { + "nullable": null, + "types": [ + "Boolean" + ], + "spread": false, + "optional": true, + "defaultValue": "true", + "defaultRaw": true, + "name": "params.includeNormals", + "description": "Whether to parse normals. When false, the parser will ignore the glTF\ngeometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\nthe limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\na flat-shaded non-PBR representation of the glTF." + }, + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": true, + "name": "params.stats", + "description": "Collects statistics." + }, + { + "nullable": null, + "types": [ + "function" + ], + "spread": false, + "optional": true, + "name": "params.log", + "description": "Logging callback." + } + ], + "return": { + "nullable": null, + "types": [ + "Promise" + ], + "spread": false, + "description": "Resolves when glTF has been parsed." + } + }, + { + "__docId__": 433, + "kind": "file", + "name": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "content": "import {utils} from \"../XKTModel/lib/utils.js\";\nimport {math} from \"../lib/math.js\";\n\nimport {parse} from '@loaders.gl/core';\nimport {GLTFLoader} from '@loaders.gl/gltf';\nimport {\n ClampToEdgeWrapping,\n LinearFilter,\n LinearMipMapLinearFilter,\n LinearMipMapNearestFilter,\n MirroredRepeatWrapping,\n NearestFilter,\n NearestMipMapLinearFilter,\n NearestMipMapNearestFilter,\n RepeatWrapping\n} from \"../constants.js\";\n\n/**\n * @desc Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n *\n * * Supports ````.glb```` and textures\n * * For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {ArrayBuffer} params.data The glTF.\n * @param {String} [params.baseUri] The base URI used to load this glTF, if any. For resolving relative uris to linked resources.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeTextures=true] Whether to parse textures.\n * @param {Boolean} [params.includeNormals=true] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the glTF.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when glTF has been parsed.\n */\nfunction parseGLTFIntoXKTModel({\n data,\n baseUri,\n xktModel,\n metaModelData,\n includeTextures = true,\n includeNormals = true,\n getAttachment,\n stats = {},\n log\n }) {\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n stats.sourceFormat = \"glTF\";\n stats.schemaVersion = \"2.0\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numUVs = 0;\n stats.numTextures = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n parse(data, GLTFLoader, {\n baseUri\n }).then((gltfData) => {\n\n const ctx = {\n gltfData,\n nodesHaveNames: false, // determined in testIfNodesHaveNames()\n getAttachment: getAttachment || (() => {\n throw new Error('You must define getAttachment() method to convert glTF with external resources')\n }),\n log: (log || function (msg) {\n }),\n error: function (msg) {\n console.error(msg);\n },\n xktModel,\n includeNormals: (includeNormals !== false),\n includeTextures: (includeTextures !== false),\n geometryCreated: {},\n nextId: 0,\n stats\n };\n\n ctx.log(\"Using parser: parseGLTFIntoXKTModel\");\n ctx.log(`Parsing normals: ${ctx.includeNormals ? \"enabled\" : \"disabled\"}`);\n ctx.log(`Parsing textures: ${ctx.includeTextures ? \"enabled\" : \"disabled\"}`);\n\n if (ctx.includeTextures) {\n parseTextures(ctx);\n }\n parseMaterials(ctx);\n parseDefaultScene(ctx);\n\n resolve();\n\n }, (errMsg) => {\n reject(`[parseGLTFIntoXKTModel] ${errMsg}`);\n });\n });\n}\n\nfunction parseTextures(ctx) {\n const gltfData = ctx.gltfData;\n const textures = gltfData.textures;\n if (textures) {\n for (let i = 0, len = textures.length; i < len; i++) {\n parseTexture(ctx, textures[i]);\n ctx.stats.numTextures++;\n }\n }\n}\n\nfunction parseTexture(ctx, texture) {\n if (!texture.source || !texture.source.image) {\n return;\n }\n const textureId = `texture-${ctx.nextId++}`;\n\n let minFilter = NearestMipMapLinearFilter;\n switch (texture.sampler.minFilter) {\n case 9728:\n minFilter = NearestFilter;\n break;\n case 9729:\n minFilter = LinearFilter;\n break;\n case 9984:\n minFilter = NearestMipMapNearestFilter;\n break;\n case 9985:\n minFilter = LinearMipMapNearestFilter;\n break;\n case 9986:\n minFilter = NearestMipMapLinearFilter;\n break;\n case 9987:\n minFilter = LinearMipMapLinearFilter;\n break;\n }\n\n let magFilter = LinearFilter;\n switch (texture.sampler.magFilter) {\n case 9728:\n magFilter = NearestFilter;\n break;\n case 9729:\n magFilter = LinearFilter;\n break;\n }\n\n let wrapS = RepeatWrapping;\n switch (texture.sampler.wrapS) {\n case 33071:\n wrapS = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapS = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapS = RepeatWrapping;\n break;\n }\n\n let wrapT = RepeatWrapping;\n switch (texture.sampler.wrapT) {\n case 33071:\n wrapT = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapT = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapT = RepeatWrapping;\n break;\n }\n\n let wrapR = RepeatWrapping;\n switch (texture.sampler.wrapR) {\n case 33071:\n wrapR = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapR = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapR = RepeatWrapping;\n break;\n }\n\n ctx.xktModel.createTexture({\n textureId: textureId,\n imageData: texture.source.image,\n mediaType: texture.source.mediaType,\n compressed: true,\n width: texture.source.image.width,\n height: texture.source.image.height,\n minFilter,\n magFilter,\n wrapS,\n wrapT,\n wrapR,\n flipY: !!texture.flipY,\n // encoding: \"sRGB\"\n });\n texture._textureId = textureId;\n}\n\nfunction parseMaterials(ctx) {\n const gltfData = ctx.gltfData;\n const materials = gltfData.materials;\n if (materials) {\n for (let i = 0, len = materials.length; i < len; i++) {\n const material = materials[i];\n material._textureSetId = ctx.includeTextures ? parseTextureSet(ctx, material) : null;\n material._attributes = parseMaterialAttributes(ctx, material);\n }\n }\n}\n\nfunction parseTextureSet(ctx, material) {\n const textureSetCfg = {};\n if (material.normalTexture) {\n textureSetCfg.normalTextureId = material.normalTexture.texture._textureId;\n }\n if (material.occlusionTexture) {\n textureSetCfg.occlusionTextureId = material.occlusionTexture.texture._textureId;\n }\n if (material.emissiveTexture) {\n textureSetCfg.emissiveTextureId = material.emissiveTexture.texture._textureId;\n }\n const metallicPBR = material.pbrMetallicRoughness;\n if (material.pbrMetallicRoughness) {\n const pbrMetallicRoughness = material.pbrMetallicRoughness;\n const baseColorTexture = pbrMetallicRoughness.baseColorTexture || pbrMetallicRoughness.colorTexture;\n if (baseColorTexture) {\n if (baseColorTexture.texture) {\n textureSetCfg.colorTextureId = baseColorTexture.texture._textureId;\n } else {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[baseColorTexture.index]._textureId;\n }\n }\n if (metallicPBR.metallicRoughnessTexture) {\n textureSetCfg.metallicRoughnessTextureId = metallicPBR.metallicRoughnessTexture.texture._textureId;\n }\n }\n const extensions = material.extensions;\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const specularTexture = specularPBR.specularTexture;\n if (specularTexture !== null && specularTexture !== undefined) {\n // textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n const specularColorTexture = specularPBR.specularColorTexture;\n if (specularColorTexture !== null && specularColorTexture !== undefined) {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n }\n }\n if (textureSetCfg.normalTextureId !== undefined ||\n textureSetCfg.occlusionTextureId !== undefined ||\n textureSetCfg.emissiveTextureId !== undefined ||\n textureSetCfg.colorTextureId !== undefined ||\n textureSetCfg.metallicRoughnessTextureId !== undefined) {\n textureSetCfg.textureSetId = `textureSet-${ctx.nextId++};`\n ctx.xktModel.createTextureSet(textureSetCfg);\n ctx.stats.numTextureSets++;\n return textureSetCfg.textureSetId;\n }\n return null;\n}\n\nfunction parseMaterialAttributes(ctx, material) { // Substitute RGBA for material, to use fast flat shading instead\n const extensions = material.extensions;\n const materialAttributes = {\n color: new Float32Array([1, 1, 1, 1]),\n opacity: 1,\n metallic: 0,\n roughness: 1\n };\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const diffuseFactor = specularPBR.diffuseFactor;\n if (diffuseFactor !== null && diffuseFactor !== undefined) {\n materialAttributes.color.set(diffuseFactor);\n }\n }\n const common = extensions[\"KHR_materials_common\"];\n if (common) {\n const technique = common.technique;\n const values = common.values || {};\n const blinn = technique === \"BLINN\";\n const phong = technique === \"PHONG\";\n const lambert = technique === \"LAMBERT\";\n const diffuse = values.diffuse;\n if (diffuse && (blinn || phong || lambert)) {\n if (!utils.isString(diffuse)) {\n materialAttributes.color.set(diffuse);\n }\n }\n const transparency = values.transparency;\n if (transparency !== null && transparency !== undefined) {\n materialAttributes.opacity = transparency;\n }\n const transparent = values.transparent;\n if (transparent !== null && transparent !== undefined) {\n materialAttributes.opacity = transparent;\n }\n }\n }\n const metallicPBR = material.pbrMetallicRoughness;\n if (metallicPBR) {\n const baseColorFactor = metallicPBR.baseColorFactor;\n if (baseColorFactor) {\n materialAttributes.color[0] = baseColorFactor[0];\n materialAttributes.color[1] = baseColorFactor[1];\n materialAttributes.color[2] = baseColorFactor[2];\n materialAttributes.opacity = baseColorFactor[3];\n }\n const metallicFactor = metallicPBR.metallicFactor;\n if (metallicFactor !== null && metallicFactor !== undefined) {\n materialAttributes.metallic = metallicFactor;\n }\n const roughnessFactor = metallicPBR.roughnessFactor;\n if (roughnessFactor !== null && roughnessFactor !== undefined) {\n materialAttributes.roughness = roughnessFactor;\n }\n }\n return materialAttributes;\n}\n\nfunction parseDefaultScene(ctx) {\n const gltfData = ctx.gltfData;\n const scene = gltfData.scene || gltfData.scenes[0];\n if (!scene) {\n ctx.error(\"glTF has no default scene\");\n return;\n }\n parseScene(ctx, scene);\n}\n\nfunction parseScene(ctx, scene) {\n const nodes = scene.nodes;\n if (!nodes) {\n return;\n }\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n countMeshUsage(ctx, node);\n }\n for (let i = 0, len = nodes.length; i < len && !ctx.nodesHaveNames; i++) {\n const node = nodes[i];\n if (testIfNodesHaveNames(node)) {\n ctx.nodesHaveNames = true;\n }\n }\n if (!ctx.nodesHaveNames) {\n ctx.log(`Warning: No \"name\" attributes found on glTF scene nodes - objects in XKT may not be what you expect`);\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n parseNodesWithoutNames(ctx, node, 0, null);\n }\n } else {\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n parseNodesWithNames(ctx, node, 0, null);\n }\n }\n}\n\nfunction countMeshUsage(ctx, node, level=0) {\n if (!node) {\n return;\n }\n const mesh = node.mesh;\n if (mesh) {\n mesh.instances = mesh.instances ? mesh.instances + 1 : 1;\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n if (!childNode) {\n ctx.error(\"Node not found: \" + i);\n continue;\n }\n countMeshUsage(ctx, childNode, level+1);\n }\n }\n}\n\nfunction testIfNodesHaveNames(node, level=0) {\n if (!node) {\n return;\n }\n if (node.name) {\n return true;\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n if (testIfNodesHaveNames(childNode, level+1)) {\n return true;\n }\n }\n }\n return false;\n}\n\n/**\n * Parses a glTF node hierarchy that is known to NOT contain \"name\" attributes on the nodes.\n * Create a XKTMesh for each mesh primitive, and a single XKTEntity.\n */\nconst parseNodesWithoutNames = (function () {\n\n const meshIds = [];\n\n return function (ctx, node, depth, matrix) {\n if (!node) {\n return;\n }\n matrix = parseNodeMatrix(node, matrix);\n if (node.mesh) {\n parseNodeMesh(node, ctx, matrix, meshIds);\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n parseNodesWithoutNames(ctx, childNode, depth + 1, matrix);\n }\n }\n if (depth === 0) {\n let entityId = \"entity-\" + ctx.nextId++;\n if (meshIds && meshIds.length > 0) {\n ctx.log(\"Creating XKTEntity with default ID: \" + entityId);\n ctx.xktModel.createEntity({\n entityId,\n meshIds\n });\n meshIds.length = 0;\n }\n ctx.stats.numObjects++;\n }\n }\n})();\n\n\n/**\n * Parses a glTF node hierarchy that is known to contain \"name\" attributes on the nodes.\n *\n * Create a XKTMesh for each mesh primitive, and XKTEntity for each named node.\n *\n * Following a depth-first traversal, each XKTEntity is created on post-visit of each named node,\n * and gets all the XKTMeshes created since the last XKTEntity created.\n */\nconst parseNodesWithNames = (function () {\n\n const objectIdStack = [];\n const meshIdsStack = [];\n let meshIds = null;\n\n return function (ctx, node, depth, matrix) {\n if (!node) {\n return;\n }\n matrix = parseNodeMatrix(node, matrix);\n if (node.name) {\n meshIds = [];\n let xktEntityId = node.name;\n if (!!xktEntityId && ctx.xktModel.entities[xktEntityId]) {\n ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`);\n }\n while (!xktEntityId || ctx.xktModel.entities[xktEntityId]) {\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n objectIdStack.push(xktEntityId);\n meshIdsStack.push(meshIds);\n }\n if (meshIds && node.mesh) {\n parseNodeMesh(node, ctx, matrix, meshIds);\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n parseNodesWithNames(ctx, childNode, depth + 1, matrix);\n }\n }\n const nodeName = node.name;\n if ((nodeName !== undefined && nodeName !== null) || depth === 0) {\n let xktEntityId = objectIdStack.pop();\n if (!xktEntityId) { // For when there are no nodes with names\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n let entityMeshIds = meshIdsStack.pop();\n if (meshIds && meshIds.length > 0) {\n ctx.xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: entityMeshIds\n });\n }\n ctx.stats.numObjects++;\n meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null;\n }\n }\n})();\n\n/**\n * Parses transform at the given glTF node.\n *\n * @param node the glTF node\n * @param matrix Transfor matrix from parent nodes\n * @returns {*} Transform matrix for the node\n */\nfunction parseNodeMatrix(node, matrix) {\n if (!node) {\n return;\n }\n let localMatrix;\n if (node.matrix) {\n localMatrix = node.matrix;\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.translation) {\n localMatrix = math.translationMat4v(node.translation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.rotation) {\n localMatrix = math.quaternionToMat4(node.rotation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.scale) {\n localMatrix = math.scalingMat4v(node.scale);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n return matrix;\n}\n\n/**\n * Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel.\n *\n * @param node glTF node\n * @param ctx Parsing context\n * @param matrix Matrix for the XKTMeshes\n * @param meshIds returns IDs of the new XKTMeshes\n */\nfunction parseNodeMesh(node, ctx, matrix, meshIds) {\n if (!node) {\n return;\n }\n const mesh = node.mesh;\n if (!mesh) {\n return;\n }\n const numPrimitives = mesh.primitives.length;\n if (numPrimitives > 0) {\n for (let i = 0; i < numPrimitives; i++) {\n try {\n const primitive = mesh.primitives[i];\n if (!primitive._xktGeometryId) {\n const xktGeometryId = \"geometry-\" + ctx.nextId++;\n const geometryCfg = {\n geometryId: xktGeometryId\n };\n switch (primitive.mode) {\n case 0: // POINTS\n geometryCfg.primitiveType = \"points\";\n break;\n case 1: // LINES\n geometryCfg.primitiveType = \"lines\";\n break;\n case 2: // LINE_LOOP\n geometryCfg.primitiveType = \"line-loop\";\n break;\n case 3: // LINE_STRIP\n geometryCfg.primitiveType = \"line-strip\";\n break;\n case 4: // TRIANGLES\n geometryCfg.primitiveType = \"triangles\";\n break;\n case 5: // TRIANGLE_STRIP\n geometryCfg.primitiveType = \"triangle-strip\";\n break;\n case 6: // TRIANGLE_FAN\n geometryCfg.primitiveType = \"triangle-fan\";\n break;\n default:\n geometryCfg.primitiveType = \"triangles\";\n }\n const POSITION = primitive.attributes.POSITION;\n if (!POSITION) {\n continue;\n }\n geometryCfg.positions = primitive.attributes.POSITION.value;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n if (ctx.includeNormals) {\n if (primitive.attributes.NORMAL) {\n geometryCfg.normals = primitive.attributes.NORMAL.value;\n ctx.stats.numNormals += geometryCfg.normals.length / 3;\n }\n }\n if (primitive.attributes.COLOR_0) {\n geometryCfg.colorsCompressed = primitive.attributes.COLOR_0.value;\n }\n if (ctx.includeTextures) {\n if (primitive.attributes.TEXCOORD_0) {\n geometryCfg.uvs = primitive.attributes.TEXCOORD_0.value;\n ctx.stats.numUVs += geometryCfg.uvs.length / 2;\n }\n }\n if (primitive.indices) {\n geometryCfg.indices = primitive.indices.value;\n if (primitive.mode === 4) {\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n }\n }\n ctx.xktModel.createGeometry(geometryCfg);\n primitive._xktGeometryId = xktGeometryId;\n ctx.stats.numGeometries++;\n }\n const xktMeshId = ctx.nextId++;\n const meshCfg = {\n meshId: xktMeshId,\n geometryId: primitive._xktGeometryId,\n matrix: matrix ? matrix.slice() : math.identityMat4()\n };\n const material = primitive.material;\n if (material) {\n meshCfg.textureSetId = material._textureSetId;\n meshCfg.color = material._attributes.color;\n meshCfg.opacity = material._attributes.opacity;\n meshCfg.metallic = material._attributes.metallic;\n meshCfg.roughness = material._attributes.roughness;\n } else {\n meshCfg.color = [1.0, 1.0, 1.0];\n meshCfg.opacity = 1.0;\n }\n ctx.xktModel.createMesh(meshCfg);\n meshIds.push(xktMeshId);\n } catch (e) {\n console.log(e);\n }\n }\n }\n}\n\nexport {parseGLTFIntoXKTModel};", + "static": true, + "longname": "/home/lindsay/xeolabs/xeokit-convert-mar14/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 434, + "kind": "function", + "name": "parseTextures", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseTextures", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": null, + "lineNumber": 138, + "undocument": true, + "params": [ + { + "name": "ctx", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 435, + "kind": "function", + "name": "parseTexture", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseTexture", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": null, + "lineNumber": 149, + "undocument": true, + "params": [ + { + "name": "ctx", + "types": [ + "*" + ] + }, + { + "name": "texture", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 436, + "kind": "function", + "name": "parseMaterials", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseMaterials", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": null, + "lineNumber": 244, + "undocument": true, + "params": [ + { + "name": "ctx", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 437, + "kind": "function", + "name": "parseTextureSet", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseTextureSet", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": null, + "lineNumber": 256, + "undocument": true, + "params": [ + { + "name": "ctx", + "types": [ + "*" + ] + }, + { + "name": "material", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 438, + "kind": "function", + "name": "parseMaterialAttributes", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseMaterialAttributes", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": null, + "lineNumber": 309, + "undocument": true, + "params": [ + { + "name": "ctx", + "types": [ + "*" + ] + }, + { + "name": "material", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 439, + "kind": "function", + "name": "parseDefaultScene", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseDefaultScene", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": null, + "lineNumber": 369, + "undocument": true, + "params": [ + { + "name": "ctx", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 440, + "kind": "function", + "name": "parseScene", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseScene", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": null, + "lineNumber": 379, + "undocument": true, + "params": [ + { + "name": "ctx", + "types": [ + "*" + ] + }, + { + "name": "scene", + "types": [ + "*" + ] + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 441, + "kind": "function", + "name": "countMeshUsage", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~countMeshUsage", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": null, + "lineNumber": 408, + "undocument": true, + "params": [ + { + "name": "ctx", + "types": [ + "*" + ] + }, + { + "name": "node", + "types": [ + "*" + ] + }, + { + "name": "level", + "optional": true, + "types": [ + "number" + ], + "defaultRaw": 0, + "defaultValue": "0" + } + ], + "return": null, + "ignore": true + }, + { + "__docId__": 442, + "kind": "function", + "name": "testIfNodesHaveNames", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~testIfNodesHaveNames", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": null, + "lineNumber": 429, + "undocument": true, + "params": [ + { + "name": "node", + "types": [ + "*" + ] + }, + { + "name": "level", + "optional": true, + "types": [ + "number" + ], + "defaultRaw": 0, + "defaultValue": "0" + } + ], + "return": { + "types": [ + "boolean" + ] + }, + "ignore": true + }, + { + "__docId__": 443, + "kind": "variable", + "name": "parseNodesWithoutNames", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseNodesWithoutNames", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": "Parses a glTF node hierarchy that is known to NOT contain \"name\" attributes on the nodes.\nCreate a XKTMesh for each mesh primitive, and a single XKTEntity.", + "lineNumber": 452, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 444, + "kind": "variable", + "name": "parseNodesWithNames", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseNodesWithNames", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": "Parses a glTF node hierarchy that is known to contain \"name\" attributes on the nodes.\n\nCreate a XKTMesh for each mesh primitive, and XKTEntity for each named node.\n\nFollowing a depth-first traversal, each XKTEntity is created on post-visit of each named node,\nand gets all the XKTMeshes created since the last XKTEntity created.", + "lineNumber": 495, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 445, + "kind": "function", + "name": "parseNodeMatrix", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseNodeMatrix", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": "Parses transform at the given glTF node.", + "lineNumber": 554, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{*} Transform matrix for the node" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "node", + "description": "the glTF node" + }, + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "matrix", + "description": "Transfor matrix from parent nodes" + } + ], + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "Transform matrix for the node" + }, + "ignore": true + }, + { + "__docId__": 446, + "kind": "function", + "name": "parseNodeMesh", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseNodeMesh", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "importStyle": null, + "description": "Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel.", + "lineNumber": 602, + "params": [ + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "node", + "description": "glTF node" + }, + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "ctx", + "description": "Parsing context" + }, + { + "nullable": null, "types": [ "*" - ] + ], + "spread": false, + "optional": false, + "name": "matrix", + "description": "Matrix for the XKTMeshes" }, { - "name": "matrix", + "nullable": null, "types": [ "*" - ] + ], + "spread": false, + "optional": false, + "name": "meshIds", + "description": "returns IDs of the new XKTMeshes" } ], "return": null, "ignore": true }, { - "__docId__": 431, + "__docId__": 447, "kind": "function", "name": "parseGLTFIntoXKTModel", - "memberof": "src/parsers/parseGLTFIntoXKTModel.OLD.js", + "memberof": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", "generator": false, "async": false, "static": true, - "longname": "src/parsers/parseGLTFIntoXKTModel.OLD.js~parseGLTFIntoXKTModel", + "longname": "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js~parseGLTFIntoXKTModel", "access": "public", "export": true, - "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.OLD.js", + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", "importStyle": "{parseGLTFIntoXKTModel}", "description": "Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n\n* Supports ````.glb```` and textures\n* For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n\n## Usage\n\nIn the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n\n````javascript\nutils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n\n const xktModel = new XKTModel();\n\n parseGLTFIntoXKTModel({\n data,\n xktModel,\n log: (msg) => { console.log(msg); }\n }).then(()=>{\n xktModel.finalize();\n },\n (msg) => {\n console.error(msg);\n });\n});\n````", "lineNumber": 60, @@ -12142,10 +12778,10 @@ } }, { - "__docId__": 432, + "__docId__": 448, "kind": "file", "name": "src/parsers/parseGLTFIntoXKTModel.js", - "content": "import {utils} from \"../XKTModel/lib/utils.js\";\nimport {math} from \"../lib/math.js\";\n\nimport {parse} from '@loaders.gl/core';\nimport {GLTFLoader} from '@loaders.gl/gltf';\nimport {\n ClampToEdgeWrapping,\n LinearFilter,\n LinearMipMapLinearFilter,\n LinearMipMapNearestFilter,\n MirroredRepeatWrapping,\n NearestFilter,\n NearestMipMapLinearFilter,\n NearestMipMapNearestFilter,\n RepeatWrapping\n} from \"../constants.js\";\n\n/**\n * @desc Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n *\n * * Supports ````.glb```` and textures\n * * For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {ArrayBuffer} params.data The glTF.\n * @param {String} [params.baseUri] The base URI used to load this glTF, if any. For resolving relative uris to linked resources.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeTextures=true] Whether to parse textures.\n * @param {Boolean} [params.includeNormals=true] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the glTF.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when glTF has been parsed.\n */\nfunction parseGLTFIntoXKTModel({\n data,\n baseUri,\n xktModel,\n metaModelData,\n includeTextures = true,\n includeNormals = true,\n getAttachment,\n stats = {},\n log\n }) {\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n stats.sourceFormat = \"glTF\";\n stats.schemaVersion = \"2.0\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numUVs = 0;\n stats.numTextures = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n parse(data, GLTFLoader, {\n baseUri\n }).then((gltfData) => {\n\n const ctx = {\n gltfData,\n metaModelCorrections: metaModelData,\n getAttachment: getAttachment || (() => {\n throw new Error('You must define getAttachment() method to convert glTF with external resources')\n }),\n log: (log || function (msg) {\n }),\n error: function (msg) {\n console.error(msg);\n },\n xktModel,\n includeNormals: (includeNormals !== false),\n includeTextures: (includeTextures !== false),\n geometryCreated: {},\n nextId: 0,\n stats\n };\n\n ctx.log(\"Using parser: parseGLTFIntoXKTModel\");\n ctx.log(`Parsing normals: ${ctx.includeNormals ? \"enabled\" : \"disabled\"}`);\n ctx.log(`Parsing textures: ${ctx.includeTextures ? \"enabled\" : \"disabled\"}`);\n\n if (ctx.includeTextures) {\n parseTextures(ctx);\n }\n parseMaterials(ctx);\n parseDefaultScene(ctx);\n\n resolve();\n\n }, (errMsg) => {\n reject(`[parseGLTFIntoXKTModel] ${errMsg}`);\n });\n });\n}\n\nfunction parseTextures(ctx) {\n const gltfData = ctx.gltfData;\n const textures = gltfData.textures;\n if (textures) {\n for (let i = 0, len = textures.length; i < len; i++) {\n parseTexture(ctx, textures[i]);\n ctx.stats.numTextures++;\n }\n }\n}\n\nfunction parseTexture(ctx, texture) {\n if (!texture.source || !texture.source.image) {\n return;\n }\n const textureId = `texture-${ctx.nextId++}`;\n\n let minFilter = NearestMipMapLinearFilter;\n switch (texture.sampler.minFilter) {\n case 9728:\n minFilter = NearestFilter;\n break;\n case 9729:\n minFilter = LinearFilter;\n break;\n case 9984:\n minFilter = NearestMipMapNearestFilter;\n break;\n case 9985:\n minFilter = LinearMipMapNearestFilter;\n break;\n case 9986:\n minFilter = NearestMipMapLinearFilter;\n break;\n case 9987:\n minFilter = LinearMipMapLinearFilter;\n break;\n }\n\n let magFilter = LinearFilter;\n switch (texture.sampler.magFilter) {\n case 9728:\n magFilter = NearestFilter;\n break;\n case 9729:\n magFilter = LinearFilter;\n break;\n }\n\n let wrapS = RepeatWrapping;\n switch (texture.sampler.wrapS) {\n case 33071:\n wrapS = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapS = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapS = RepeatWrapping;\n break;\n }\n\n let wrapT = RepeatWrapping;\n switch (texture.sampler.wrapT) {\n case 33071:\n wrapT = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapT = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapT = RepeatWrapping;\n break;\n }\n\n let wrapR = RepeatWrapping;\n switch (texture.sampler.wrapR) {\n case 33071:\n wrapR = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapR = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapR = RepeatWrapping;\n break;\n }\n\n ctx.xktModel.createTexture({\n textureId: textureId,\n imageData: texture.source.image,\n mediaType: texture.source.mediaType,\n compressed: true,\n width: texture.source.image.width,\n height: texture.source.image.height,\n minFilter,\n magFilter,\n wrapS,\n wrapT,\n wrapR,\n flipY: !!texture.flipY,\n // encoding: \"sRGB\"\n });\n texture._textureId = textureId;\n}\n\nfunction parseMaterials(ctx) {\n const gltfData = ctx.gltfData;\n const materials = gltfData.materials;\n if (materials) {\n for (let i = 0, len = materials.length; i < len; i++) {\n const material = materials[i];\n material._textureSetId = ctx.includeTextures ? parseTextureSet(ctx, material) : null;\n material._attributes = parseMaterialAttributes(ctx, material);\n }\n }\n}\n\nfunction parseTextureSet(ctx, material) {\n const textureSetCfg = {};\n if (material.normalTexture) {\n textureSetCfg.normalTextureId = material.normalTexture.texture._textureId;\n }\n if (material.occlusionTexture) {\n textureSetCfg.occlusionTextureId = material.occlusionTexture.texture._textureId;\n }\n if (material.emissiveTexture) {\n textureSetCfg.emissiveTextureId = material.emissiveTexture.texture._textureId;\n }\n // const alphaMode = material.alphaMode;\n // switch (alphaMode) {\n // case \"NORMAL_OPAQUE\":\n // materialCfg.alphaMode = \"opaque\";\n // break;\n // case \"MASK\":\n // materialCfg.alphaMode = \"mask\";\n // break;\n // case \"BLEND\":\n // materialCfg.alphaMode = \"blend\";\n // break;\n // default:\n // }\n // const alphaCutoff = material.alphaCutoff;\n // if (alphaCutoff !== undefined) {\n // materialCfg.alphaCutoff = alphaCutoff;\n // }\n const metallicPBR = material.pbrMetallicRoughness;\n if (material.pbrMetallicRoughness) {\n const pbrMetallicRoughness = material.pbrMetallicRoughness;\n const baseColorTexture = pbrMetallicRoughness.baseColorTexture || pbrMetallicRoughness.colorTexture;\n if (baseColorTexture) {\n if (baseColorTexture.texture) {\n textureSetCfg.colorTextureId = baseColorTexture.texture._textureId;\n } else {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[baseColorTexture.index]._textureId;\n }\n }\n if (metallicPBR.metallicRoughnessTexture) {\n textureSetCfg.metallicRoughnessTextureId = metallicPBR.metallicRoughnessTexture.texture._textureId;\n }\n }\n const extensions = material.extensions;\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const specularTexture = specularPBR.specularTexture;\n if (specularTexture !== null && specularTexture !== undefined) {\n // textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n const specularColorTexture = specularPBR.specularColorTexture;\n if (specularColorTexture !== null && specularColorTexture !== undefined) {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n }\n }\n if (textureSetCfg.normalTextureId !== undefined ||\n textureSetCfg.occlusionTextureId !== undefined ||\n textureSetCfg.emissiveTextureId !== undefined ||\n textureSetCfg.colorTextureId !== undefined ||\n textureSetCfg.metallicRoughnessTextureId !== undefined) {\n textureSetCfg.textureSetId = `textureSet-${ctx.nextId++};`\n ctx.xktModel.createTextureSet(textureSetCfg);\n ctx.stats.numTextureSets++;\n return textureSetCfg.textureSetId;\n }\n return null;\n}\n\nfunction parseMaterialAttributes(ctx, material) { // Substitute RGBA for material, to use fast flat shading instead\n const extensions = material.extensions;\n const materialAttributes = {\n color: new Float32Array([1, 1, 1, 1]),\n opacity: 1,\n metallic: 0,\n roughness: 1\n };\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const diffuseFactor = specularPBR.diffuseFactor;\n if (diffuseFactor !== null && diffuseFactor !== undefined) {\n materialAttributes.color.set(diffuseFactor);\n }\n }\n const common = extensions[\"KHR_materials_common\"];\n if (common) {\n const technique = common.technique;\n const values = common.values || {};\n const blinn = technique === \"BLINN\";\n const phong = technique === \"PHONG\";\n const lambert = technique === \"LAMBERT\";\n const diffuse = values.diffuse;\n if (diffuse && (blinn || phong || lambert)) {\n if (!utils.isString(diffuse)) {\n materialAttributes.color.set(diffuse);\n }\n }\n const transparency = values.transparency;\n if (transparency !== null && transparency !== undefined) {\n materialAttributes.opacity = transparency;\n }\n const transparent = values.transparent;\n if (transparent !== null && transparent !== undefined) {\n materialAttributes.opacity = transparent;\n }\n }\n }\n const metallicPBR = material.pbrMetallicRoughness;\n if (metallicPBR) {\n const baseColorFactor = metallicPBR.baseColorFactor;\n if (baseColorFactor) {\n materialAttributes.color[0] = baseColorFactor[0];\n materialAttributes.color[1] = baseColorFactor[1];\n materialAttributes.color[2] = baseColorFactor[2];\n materialAttributes.opacity = baseColorFactor[3];\n }\n const metallicFactor = metallicPBR.metallicFactor;\n if (metallicFactor !== null && metallicFactor !== undefined) {\n materialAttributes.metallic = metallicFactor;\n }\n const roughnessFactor = metallicPBR.roughnessFactor;\n if (roughnessFactor !== null && roughnessFactor !== undefined) {\n materialAttributes.roughness = roughnessFactor;\n }\n }\n return materialAttributes;\n}\n\nfunction parseDefaultScene(ctx) {\n const gltfData = ctx.gltfData;\n const scene = gltfData.scene || gltfData.scenes[0];\n if (!scene) {\n ctx.error(\"glTF has no default scene\");\n return;\n }\n parseScene(ctx, scene);\n}\n\nfunction parseScene(ctx, scene) {\n const nodes = scene.nodes;\n if (!nodes) {\n return;\n }\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n countMeshUsage(ctx, node);\n }\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n parseNode(ctx, node, 0, null);\n }\n}\n\nfunction countMeshUsage(ctx, node) {\n const mesh = node.mesh;\n if (mesh) {\n mesh.instances = mesh.instances ? mesh.instances + 1 : 1;\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n if (!childNode) {\n ctx.error(\"Node not found: \" + i);\n continue;\n }\n countMeshUsage(ctx, childNode);\n }\n }\n}\n\nconst objectIdStack = [];\nconst meshIdsStack = [];\n\nlet meshIds = null;\n\nfunction parseNode(ctx, node, depth, matrix) {\n\n const xktModel = ctx.xktModel;\n\n // Pre-order visit scene node\n\n let localMatrix;\n if (node.matrix) {\n localMatrix = node.matrix;\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.translation) {\n localMatrix = math.translationMat4v(node.translation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.rotation) {\n localMatrix = math.quaternionToMat4(node.rotation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.scale) {\n localMatrix = math.scalingMat4v(node.scale);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n\n if (node.name) {\n meshIds = [];\n let xktEntityId = node.name;\n if (!!xktEntityId && xktModel.entities[xktEntityId]) {\n ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`);\n }\n while (!xktEntityId || xktModel.entities[xktEntityId]) {\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n objectIdStack.push(xktEntityId);\n meshIdsStack.push(meshIds);\n }\n\n if (meshIds && node.mesh) {\n\n const mesh = node.mesh;\n const numPrimitives = mesh.primitives.length;\n\n if (numPrimitives > 0) {\n for (let i = 0; i < numPrimitives; i++) {\n const primitive = mesh.primitives[i];\n if (!primitive._xktGeometryId) {\n const xktGeometryId = \"geometry-\" + ctx.nextId++;\n const geometryCfg = {\n geometryId: xktGeometryId\n };\n switch (primitive.mode) {\n case 0: // POINTS\n geometryCfg.primitiveType = \"points\";\n break;\n case 1: // LINES\n geometryCfg.primitiveType = \"lines\";\n break;\n case 2: // LINE_LOOP\n geometryCfg.primitiveType = \"line-loop\";\n break;\n case 3: // LINE_STRIP\n geometryCfg.primitiveType = \"line-strip\";\n break;\n case 4: // TRIANGLES\n geometryCfg.primitiveType = \"triangles\";\n break;\n case 5: // TRIANGLE_STRIP\n geometryCfg.primitiveType = \"triangle-strip\";\n break;\n case 6: // TRIANGLE_FAN\n geometryCfg.primitiveType = \"triangle-fan\";\n break;\n default:\n geometryCfg.primitiveType = \"triangles\";\n }\n const POSITION = primitive.attributes.POSITION;\n if (!POSITION) {\n continue;\n }\n geometryCfg.positions = primitive.attributes.POSITION.value;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n if (ctx.includeNormals) {\n if (primitive.attributes.NORMAL) {\n geometryCfg.normals = primitive.attributes.NORMAL.value;\n ctx.stats.numNormals += geometryCfg.normals.length / 3;\n }\n }\n if (primitive.attributes.COLOR_0) {\n geometryCfg.colorsCompressed = primitive.attributes.COLOR_0.value;\n }\n if (ctx.includeTextures) {\n if (primitive.attributes.TEXCOORD_0) {\n geometryCfg.uvs = primitive.attributes.TEXCOORD_0.value;\n ctx.stats.numUVs += geometryCfg.uvs.length / 2;\n }\n }\n if (primitive.indices) {\n geometryCfg.indices = primitive.indices.value;\n if (primitive.mode === 4) {\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n }\n }\n xktModel.createGeometry(geometryCfg);\n primitive._xktGeometryId = xktGeometryId;\n ctx.stats.numGeometries++;\n }\n\n const xktMeshId = ctx.nextId++;\n const meshCfg = {\n meshId: xktMeshId,\n geometryId: primitive._xktGeometryId,\n matrix: matrix ? matrix.slice() : math.identityMat4()\n };\n const material = primitive.material;\n if (material) {\n meshCfg.textureSetId = material._textureSetId;\n meshCfg.color = material._attributes.color;\n meshCfg.opacity = material._attributes.opacity;\n meshCfg.metallic = material._attributes.metallic;\n meshCfg.roughness = material._attributes.roughness;\n } else {\n meshCfg.color = [1.0, 1.0, 1.0];\n meshCfg.opacity = 1.0;\n }\n xktModel.createMesh(meshCfg);\n meshIds.push(xktMeshId);\n }\n }\n }\n\n // Visit child scene nodes\n\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n parseNode(ctx, childNode, depth + 1, matrix);\n }\n }\n\n // Post-order visit scene node\n\n const nodeName = node.name;\n if ((nodeName !== undefined && nodeName !== null) || depth === 0) {\n if (nodeName === undefined || nodeName === null) {\n ctx.log(`Warning: 'name' properties not found on glTF scene nodes - will randomly-generate object IDs in XKT`);\n }\n let xktEntityId = objectIdStack.pop();\n if (!xktEntityId) { // For when there are no nodes with names\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n let entityMeshIds = meshIdsStack.pop();\n if (meshIds && meshIds.length > 0) {\n xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: entityMeshIds\n });\n }\n ctx.stats.numObjects++;\n meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null;\n }\n}\n\nexport {parseGLTFIntoXKTModel};", + "content": "import {utils} from \"../XKTModel/lib/utils.js\";\nimport {math} from \"../lib/math.js\";\n\nimport {parse} from '@loaders.gl/core';\nimport {GLTFLoader} from '@loaders.gl/gltf';\nimport {\n ClampToEdgeWrapping,\n LinearFilter,\n LinearMipMapLinearFilter,\n LinearMipMapNearestFilter,\n MirroredRepeatWrapping,\n NearestFilter,\n NearestMipMapLinearFilter,\n NearestMipMapNearestFilter,\n RepeatWrapping\n} from \"../constants.js\";\n\n/**\n * @desc Parses glTF into an {@link XKTModel}, supporting ````.glb```` and textures.\n *\n * * Supports ````.glb```` and textures\n * * For a lightweight glTF JSON parser that ignores textures, see {@link parseGLTFJSONIntoXKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a binary glTF model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"../assets/models/gltf/HousePlan/glTF-Binary/HousePlan.glb\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {ArrayBuffer} params.data The glTF.\n * @param {String} [params.baseUri] The base URI used to load this glTF, if any. For resolving relative uris to linked resources.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeTextures=true] Whether to parse textures.\n * @param {Boolean} [params.includeNormals=true] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded non-PBR representation of the glTF.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when glTF has been parsed.\n */\nfunction parseGLTFIntoXKTModel({\n data,\n baseUri,\n xktModel,\n metaModelData,\n includeTextures = true,\n includeNormals = true,\n getAttachment,\n stats = {},\n log\n }) {\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n stats.sourceFormat = \"glTF\";\n stats.schemaVersion = \"2.0\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numUVs = 0;\n stats.numTextures = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n parse(data, GLTFLoader, {\n baseUri\n }).then((gltfData) => {\n\n const ctx = {\n gltfData,\n nodesHaveNames: false, // determined in testIfNodesHaveNames()\n getAttachment: getAttachment || (() => {\n throw new Error('You must define getAttachment() method to convert glTF with external resources')\n }),\n log: (log || function (msg) {\n }),\n error: function (msg) {\n console.error(msg);\n },\n xktModel,\n includeNormals: (includeNormals !== false),\n includeTextures: (includeTextures !== false),\n geometryCreated: {},\n nextId: 0,\n stats\n };\n\n ctx.log(\"Using parser: parseGLTFIntoXKTModel\");\n ctx.log(`Parsing normals: ${ctx.includeNormals ? \"enabled\" : \"disabled\"}`);\n ctx.log(`Parsing textures: ${ctx.includeTextures ? \"enabled\" : \"disabled\"}`);\n\n if (ctx.includeTextures) {\n parseTextures(ctx);\n }\n parseMaterials(ctx);\n parseDefaultScene(ctx);\n\n resolve();\n\n }, (errMsg) => {\n reject(`[parseGLTFIntoXKTModel] ${errMsg}`);\n });\n });\n}\n\nfunction parseTextures(ctx) {\n const gltfData = ctx.gltfData;\n const textures = gltfData.textures;\n if (textures) {\n for (let i = 0, len = textures.length; i < len; i++) {\n parseTexture(ctx, textures[i]);\n ctx.stats.numTextures++;\n }\n }\n}\n\nfunction parseTexture(ctx, texture) {\n if (!texture.source || !texture.source.image) {\n return;\n }\n const textureId = `texture-${ctx.nextId++}`;\n\n let minFilter = NearestMipMapLinearFilter;\n switch (texture.sampler.minFilter) {\n case 9728:\n minFilter = NearestFilter;\n break;\n case 9729:\n minFilter = LinearFilter;\n break;\n case 9984:\n minFilter = NearestMipMapNearestFilter;\n break;\n case 9985:\n minFilter = LinearMipMapNearestFilter;\n break;\n case 9986:\n minFilter = NearestMipMapLinearFilter;\n break;\n case 9987:\n minFilter = LinearMipMapLinearFilter;\n break;\n }\n\n let magFilter = LinearFilter;\n switch (texture.sampler.magFilter) {\n case 9728:\n magFilter = NearestFilter;\n break;\n case 9729:\n magFilter = LinearFilter;\n break;\n }\n\n let wrapS = RepeatWrapping;\n switch (texture.sampler.wrapS) {\n case 33071:\n wrapS = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapS = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapS = RepeatWrapping;\n break;\n }\n\n let wrapT = RepeatWrapping;\n switch (texture.sampler.wrapT) {\n case 33071:\n wrapT = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapT = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapT = RepeatWrapping;\n break;\n }\n\n let wrapR = RepeatWrapping;\n switch (texture.sampler.wrapR) {\n case 33071:\n wrapR = ClampToEdgeWrapping;\n break;\n case 33648:\n wrapR = MirroredRepeatWrapping;\n break;\n case 10497:\n wrapR = RepeatWrapping;\n break;\n }\n\n ctx.xktModel.createTexture({\n textureId: textureId,\n imageData: texture.source.image,\n mediaType: texture.source.mediaType,\n compressed: true,\n width: texture.source.image.width,\n height: texture.source.image.height,\n minFilter,\n magFilter,\n wrapS,\n wrapT,\n wrapR,\n flipY: !!texture.flipY,\n // encoding: \"sRGB\"\n });\n texture._textureId = textureId;\n}\n\nfunction parseMaterials(ctx) {\n const gltfData = ctx.gltfData;\n const materials = gltfData.materials;\n if (materials) {\n for (let i = 0, len = materials.length; i < len; i++) {\n const material = materials[i];\n material._textureSetId = ctx.includeTextures ? parseTextureSet(ctx, material) : null;\n material._attributes = parseMaterialAttributes(ctx, material);\n }\n }\n}\n\nfunction parseTextureSet(ctx, material) {\n const textureSetCfg = {};\n if (material.normalTexture) {\n textureSetCfg.normalTextureId = material.normalTexture.texture._textureId;\n }\n if (material.occlusionTexture) {\n textureSetCfg.occlusionTextureId = material.occlusionTexture.texture._textureId;\n }\n if (material.emissiveTexture) {\n textureSetCfg.emissiveTextureId = material.emissiveTexture.texture._textureId;\n }\n const metallicPBR = material.pbrMetallicRoughness;\n if (material.pbrMetallicRoughness) {\n const pbrMetallicRoughness = material.pbrMetallicRoughness;\n const baseColorTexture = pbrMetallicRoughness.baseColorTexture || pbrMetallicRoughness.colorTexture;\n if (baseColorTexture) {\n if (baseColorTexture.texture) {\n textureSetCfg.colorTextureId = baseColorTexture.texture._textureId;\n } else {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[baseColorTexture.index]._textureId;\n }\n }\n if (metallicPBR.metallicRoughnessTexture) {\n textureSetCfg.metallicRoughnessTextureId = metallicPBR.metallicRoughnessTexture.texture._textureId;\n }\n }\n const extensions = material.extensions;\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const specularTexture = specularPBR.specularTexture;\n if (specularTexture !== null && specularTexture !== undefined) {\n // textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n const specularColorTexture = specularPBR.specularColorTexture;\n if (specularColorTexture !== null && specularColorTexture !== undefined) {\n textureSetCfg.colorTextureId = ctx.gltfData.textures[specularColorTexture.index]._textureId;\n }\n }\n }\n if (textureSetCfg.normalTextureId !== undefined ||\n textureSetCfg.occlusionTextureId !== undefined ||\n textureSetCfg.emissiveTextureId !== undefined ||\n textureSetCfg.colorTextureId !== undefined ||\n textureSetCfg.metallicRoughnessTextureId !== undefined) {\n textureSetCfg.textureSetId = `textureSet-${ctx.nextId++};`\n ctx.xktModel.createTextureSet(textureSetCfg);\n ctx.stats.numTextureSets++;\n return textureSetCfg.textureSetId;\n }\n return null;\n}\n\nfunction parseMaterialAttributes(ctx, material) { // Substitute RGBA for material, to use fast flat shading instead\n const extensions = material.extensions;\n const materialAttributes = {\n color: new Float32Array([1, 1, 1, 1]),\n opacity: 1,\n metallic: 0,\n roughness: 1\n };\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const diffuseFactor = specularPBR.diffuseFactor;\n if (diffuseFactor !== null && diffuseFactor !== undefined) {\n materialAttributes.color.set(diffuseFactor);\n }\n }\n const common = extensions[\"KHR_materials_common\"];\n if (common) {\n const technique = common.technique;\n const values = common.values || {};\n const blinn = technique === \"BLINN\";\n const phong = technique === \"PHONG\";\n const lambert = technique === \"LAMBERT\";\n const diffuse = values.diffuse;\n if (diffuse && (blinn || phong || lambert)) {\n if (!utils.isString(diffuse)) {\n materialAttributes.color.set(diffuse);\n }\n }\n const transparency = values.transparency;\n if (transparency !== null && transparency !== undefined) {\n materialAttributes.opacity = transparency;\n }\n const transparent = values.transparent;\n if (transparent !== null && transparent !== undefined) {\n materialAttributes.opacity = transparent;\n }\n }\n }\n const metallicPBR = material.pbrMetallicRoughness;\n if (metallicPBR) {\n const baseColorFactor = metallicPBR.baseColorFactor;\n if (baseColorFactor) {\n materialAttributes.color[0] = baseColorFactor[0];\n materialAttributes.color[1] = baseColorFactor[1];\n materialAttributes.color[2] = baseColorFactor[2];\n materialAttributes.opacity = baseColorFactor[3];\n }\n const metallicFactor = metallicPBR.metallicFactor;\n if (metallicFactor !== null && metallicFactor !== undefined) {\n materialAttributes.metallic = metallicFactor;\n }\n const roughnessFactor = metallicPBR.roughnessFactor;\n if (roughnessFactor !== null && roughnessFactor !== undefined) {\n materialAttributes.roughness = roughnessFactor;\n }\n }\n return materialAttributes;\n}\n\nfunction parseDefaultScene(ctx) {\n const gltfData = ctx.gltfData;\n const scene = gltfData.scene || gltfData.scenes[0];\n if (!scene) {\n ctx.error(\"glTF has no default scene\");\n return;\n }\n parseScene(ctx, scene);\n}\n\nfunction parseScene(ctx, scene) {\n const nodes = scene.nodes;\n if (!nodes) {\n return;\n }\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n countMeshUsage(ctx, node);\n }\n for (let i = 0, len = nodes.length; i < len && !ctx.nodesHaveNames; i++) {\n const node = nodes[i];\n if (testIfNodesHaveNames(node)) {\n ctx.nodesHaveNames = true;\n }\n }\n if (!ctx.nodesHaveNames) {\n ctx.log(`Warning: No \"name\" attributes found on glTF scene nodes - objects in XKT may not be what you expect`);\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n parseNodesWithoutNames(ctx, node, 0, null);\n }\n } else {\n for (let i = 0, len = nodes.length; i < len; i++) {\n const node = nodes[i];\n parseNodesWithNames(ctx, node, 0, null);\n }\n }\n}\n\nfunction countMeshUsage(ctx, node, level=0) {\n if (!node) {\n return;\n }\n const mesh = node.mesh;\n if (mesh) {\n mesh.instances = mesh.instances ? mesh.instances + 1 : 1;\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n if (!childNode) {\n ctx.error(\"Node not found: \" + i);\n continue;\n }\n countMeshUsage(ctx, childNode, level+1);\n }\n }\n}\n\nfunction testIfNodesHaveNames(node, level=0) {\n if (!node) {\n return;\n }\n if (node.name) {\n return true;\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n if (testIfNodesHaveNames(childNode, level+1)) {\n return true;\n }\n }\n }\n return false;\n}\n\n/**\n * Parses a glTF node hierarchy that is known to NOT contain \"name\" attributes on the nodes.\n * Create a XKTMesh for each mesh primitive, and a single XKTEntity.\n */\nconst parseNodesWithoutNames = (function () {\n\n const meshIds = [];\n\n return function (ctx, node, depth, matrix) {\n if (!node) {\n return;\n }\n matrix = parseNodeMatrix(node, matrix);\n if (node.mesh) {\n parseNodeMesh(node, ctx, matrix, meshIds);\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n parseNodesWithoutNames(ctx, childNode, depth + 1, matrix);\n }\n }\n if (depth === 0) {\n let entityId = \"entity-\" + ctx.nextId++;\n if (meshIds && meshIds.length > 0) {\n ctx.log(\"Creating XKTEntity with default ID: \" + entityId);\n ctx.xktModel.createEntity({\n entityId,\n meshIds\n });\n meshIds.length = 0;\n }\n ctx.stats.numObjects++;\n }\n }\n})();\n\n\n/**\n * Parses a glTF node hierarchy that is known to contain \"name\" attributes on the nodes.\n *\n * Create a XKTMesh for each mesh primitive, and XKTEntity for each named node.\n *\n * Following a depth-first traversal, each XKTEntity is created on post-visit of each named node,\n * and gets all the XKTMeshes created since the last XKTEntity created.\n */\nconst parseNodesWithNames = (function () {\n\n const objectIdStack = [];\n const meshIdsStack = [];\n let meshIds = null;\n\n return function (ctx, node, depth, matrix) {\n if (!node) {\n return;\n }\n matrix = parseNodeMatrix(node, matrix);\n if (node.name) {\n meshIds = [];\n let xktEntityId = node.name;\n if (!!xktEntityId && ctx.xktModel.entities[xktEntityId]) {\n ctx.log(`Warning: Two or more glTF nodes found with same 'name' attribute: '${xktEntityId} - will randomly-generating an object ID in XKT`);\n }\n while (!xktEntityId || ctx.xktModel.entities[xktEntityId]) {\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n objectIdStack.push(xktEntityId);\n meshIdsStack.push(meshIds);\n }\n if (meshIds && node.mesh) {\n parseNodeMesh(node, ctx, matrix, meshIds);\n }\n if (node.children) {\n const children = node.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNode = children[i];\n parseNodesWithNames(ctx, childNode, depth + 1, matrix);\n }\n }\n const nodeName = node.name;\n if ((nodeName !== undefined && nodeName !== null) || depth === 0) {\n let xktEntityId = objectIdStack.pop();\n if (!xktEntityId) { // For when there are no nodes with names\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n let entityMeshIds = meshIdsStack.pop();\n if (meshIds && meshIds.length > 0) {\n ctx.xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: entityMeshIds\n });\n }\n ctx.stats.numObjects++;\n meshIds = meshIdsStack.length > 0 ? meshIdsStack[meshIdsStack.length - 1] : null;\n }\n }\n})();\n\n/**\n * Parses transform at the given glTF node.\n *\n * @param node the glTF node\n * @param matrix Transfor matrix from parent nodes\n * @returns {*} Transform matrix for the node\n */\nfunction parseNodeMatrix(node, matrix) {\n if (!node) {\n return;\n }\n let localMatrix;\n if (node.matrix) {\n localMatrix = node.matrix;\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.translation) {\n localMatrix = math.translationMat4v(node.translation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.rotation) {\n localMatrix = math.quaternionToMat4(node.rotation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n if (node.scale) {\n localMatrix = math.scalingMat4v(node.scale);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n return matrix;\n}\n\n/**\n * Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel.\n *\n * @param node glTF node\n * @param ctx Parsing context\n * @param matrix Matrix for the XKTMeshes\n * @param meshIds returns IDs of the new XKTMeshes\n */\nfunction parseNodeMesh(node, ctx, matrix, meshIds) {\n if (!node) {\n return;\n }\n const mesh = node.mesh;\n if (!mesh) {\n return;\n }\n const numPrimitives = mesh.primitives.length;\n if (numPrimitives > 0) {\n for (let i = 0; i < numPrimitives; i++) {\n try {\n const primitive = mesh.primitives[i];\n if (!primitive._xktGeometryId) {\n const xktGeometryId = \"geometry-\" + ctx.nextId++;\n const geometryCfg = {\n geometryId: xktGeometryId\n };\n switch (primitive.mode) {\n case 0: // POINTS\n geometryCfg.primitiveType = \"points\";\n break;\n case 1: // LINES\n geometryCfg.primitiveType = \"lines\";\n break;\n case 2: // LINE_LOOP\n geometryCfg.primitiveType = \"line-loop\";\n break;\n case 3: // LINE_STRIP\n geometryCfg.primitiveType = \"line-strip\";\n break;\n case 4: // TRIANGLES\n geometryCfg.primitiveType = \"triangles\";\n break;\n case 5: // TRIANGLE_STRIP\n geometryCfg.primitiveType = \"triangle-strip\";\n break;\n case 6: // TRIANGLE_FAN\n geometryCfg.primitiveType = \"triangle-fan\";\n break;\n default:\n geometryCfg.primitiveType = \"triangles\";\n }\n const POSITION = primitive.attributes.POSITION;\n if (!POSITION) {\n continue;\n }\n geometryCfg.positions = primitive.attributes.POSITION.value;\n ctx.stats.numVertices += geometryCfg.positions.length / 3;\n if (ctx.includeNormals) {\n if (primitive.attributes.NORMAL) {\n geometryCfg.normals = primitive.attributes.NORMAL.value;\n ctx.stats.numNormals += geometryCfg.normals.length / 3;\n }\n }\n if (primitive.attributes.COLOR_0) {\n geometryCfg.colorsCompressed = primitive.attributes.COLOR_0.value;\n }\n if (ctx.includeTextures) {\n if (primitive.attributes.TEXCOORD_0) {\n geometryCfg.uvs = primitive.attributes.TEXCOORD_0.value;\n ctx.stats.numUVs += geometryCfg.uvs.length / 2;\n }\n }\n if (primitive.indices) {\n geometryCfg.indices = primitive.indices.value;\n if (primitive.mode === 4) {\n ctx.stats.numTriangles += geometryCfg.indices.length / 3;\n }\n }\n ctx.xktModel.createGeometry(geometryCfg);\n primitive._xktGeometryId = xktGeometryId;\n ctx.stats.numGeometries++;\n }\n const xktMeshId = ctx.nextId++;\n const meshCfg = {\n meshId: xktMeshId,\n geometryId: primitive._xktGeometryId,\n matrix: matrix ? matrix.slice() : math.identityMat4()\n };\n const material = primitive.material;\n if (material) {\n meshCfg.textureSetId = material._textureSetId;\n meshCfg.color = material._attributes.color;\n meshCfg.opacity = material._attributes.opacity;\n meshCfg.metallic = material._attributes.metallic;\n meshCfg.roughness = material._attributes.roughness;\n } else {\n meshCfg.color = [1.0, 1.0, 1.0];\n meshCfg.opacity = 1.0;\n }\n ctx.xktModel.createMesh(meshCfg);\n meshIds.push(xktMeshId);\n } catch (e) {\n console.log(e);\n }\n }\n }\n}\n\nexport {parseGLTFIntoXKTModel};", "static": true, "longname": "/home/lindsay/xeolabs/xeokit-convert-mar14/src/parsers/parseGLTFIntoXKTModel.js", "access": "public", @@ -12153,7 +12789,7 @@ "lineNumber": 1 }, { - "__docId__": 433, + "__docId__": 449, "kind": "function", "name": "parseTextures", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", @@ -12180,7 +12816,7 @@ "ignore": true }, { - "__docId__": 434, + "__docId__": 450, "kind": "function", "name": "parseTexture", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", @@ -12213,7 +12849,7 @@ "ignore": true }, { - "__docId__": 435, + "__docId__": 451, "kind": "function", "name": "parseMaterials", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", @@ -12240,7 +12876,7 @@ "ignore": true }, { - "__docId__": 436, + "__docId__": 452, "kind": "function", "name": "parseTextureSet", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", @@ -12277,7 +12913,7 @@ "ignore": true }, { - "__docId__": 437, + "__docId__": 453, "kind": "function", "name": "parseMaterialAttributes", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", @@ -12290,7 +12926,7 @@ "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.js", "importStyle": null, "description": null, - "lineNumber": 326, + "lineNumber": 309, "undocument": true, "params": [ { @@ -12314,7 +12950,7 @@ "ignore": true }, { - "__docId__": 438, + "__docId__": 454, "kind": "function", "name": "parseDefaultScene", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", @@ -12327,7 +12963,7 @@ "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.js", "importStyle": null, "description": null, - "lineNumber": 386, + "lineNumber": 369, "undocument": true, "params": [ { @@ -12341,7 +12977,7 @@ "ignore": true }, { - "__docId__": 439, + "__docId__": 455, "kind": "function", "name": "parseScene", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", @@ -12354,7 +12990,7 @@ "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.js", "importStyle": null, "description": null, - "lineNumber": 396, + "lineNumber": 379, "undocument": true, "params": [ { @@ -12374,7 +13010,7 @@ "ignore": true }, { - "__docId__": 440, + "__docId__": 456, "kind": "function", "name": "countMeshUsage", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", @@ -12387,7 +13023,7 @@ "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.js", "importStyle": null, "description": null, - "lineNumber": 411, + "lineNumber": 408, "undocument": true, "params": [ { @@ -12401,18 +13037,29 @@ "types": [ "*" ] + }, + { + "name": "level", + "optional": true, + "types": [ + "number" + ], + "defaultRaw": 0, + "defaultValue": "0" } ], "return": null, "ignore": true }, { - "__docId__": 441, - "kind": "variable", - "name": "objectIdStack", + "__docId__": 457, + "kind": "function", + "name": "testIfNodesHaveNames", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", + "generator": false, + "async": false, "static": true, - "longname": "src/parsers/parseGLTFIntoXKTModel.js~objectIdStack", + "longname": "src/parsers/parseGLTFIntoXKTModel.js~testIfNodesHaveNames", "access": "public", "export": false, "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.js", @@ -12420,48 +13067,63 @@ "description": null, "lineNumber": 429, "undocument": true, - "type": { + "params": [ + { + "name": "node", + "types": [ + "*" + ] + }, + { + "name": "level", + "optional": true, + "types": [ + "number" + ], + "defaultRaw": 0, + "defaultValue": "0" + } + ], + "return": { "types": [ - "*[]" + "boolean" ] }, "ignore": true }, { - "__docId__": 442, + "__docId__": 458, "kind": "variable", - "name": "meshIdsStack", + "name": "parseNodesWithoutNames", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", "static": true, - "longname": "src/parsers/parseGLTFIntoXKTModel.js~meshIdsStack", + "longname": "src/parsers/parseGLTFIntoXKTModel.js~parseNodesWithoutNames", "access": "public", "export": false, "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.js", "importStyle": null, - "description": null, - "lineNumber": 430, - "undocument": true, + "description": "Parses a glTF node hierarchy that is known to NOT contain \"name\" attributes on the nodes.\nCreate a XKTMesh for each mesh primitive, and a single XKTEntity.", + "lineNumber": 452, "type": { "types": [ - "*[]" + "*" ] }, "ignore": true }, { - "__docId__": 443, + "__docId__": 459, "kind": "variable", - "name": "meshIds", + "name": "parseNodesWithNames", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", "static": true, - "longname": "src/parsers/parseGLTFIntoXKTModel.js~meshIds", + "longname": "src/parsers/parseGLTFIntoXKTModel.js~parseNodesWithNames", "access": "public", "export": false, "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.js", "importStyle": null, - "description": null, - "lineNumber": 432, - "undocument": true, + "description": "Parses a glTF node hierarchy that is known to contain \"name\" attributes on the nodes.\n\nCreate a XKTMesh for each mesh primitive, and XKTEntity for each named node.\n\nFollowing a depth-first traversal, each XKTEntity is created on post-visit of each named node,\nand gets all the XKTMeshes created since the last XKTEntity created.", + "lineNumber": 495, "type": { "types": [ "*" @@ -12470,52 +13132,120 @@ "ignore": true }, { - "__docId__": 444, + "__docId__": 460, "kind": "function", - "name": "parseNode", + "name": "parseNodeMatrix", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", "generator": false, "async": false, "static": true, - "longname": "src/parsers/parseGLTFIntoXKTModel.js~parseNode", + "longname": "src/parsers/parseGLTFIntoXKTModel.js~parseNodeMatrix", "access": "public", "export": false, "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.js", "importStyle": null, - "description": null, - "lineNumber": 434, - "undocument": true, + "description": "Parses transform at the given glTF node.", + "lineNumber": 554, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{*} Transform matrix for the node" + } + ], "params": [ { - "name": "ctx", + "nullable": null, "types": [ "*" - ] + ], + "spread": false, + "optional": false, + "name": "node", + "description": "the glTF node" }, { - "name": "node", + "nullable": null, "types": [ "*" - ] + ], + "spread": false, + "optional": false, + "name": "matrix", + "description": "Transfor matrix from parent nodes" + } + ], + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "Transform matrix for the node" + }, + "ignore": true + }, + { + "__docId__": 461, + "kind": "function", + "name": "parseNodeMesh", + "memberof": "src/parsers/parseGLTFIntoXKTModel.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/parsers/parseGLTFIntoXKTModel.js~parseNodeMesh", + "access": "public", + "export": false, + "importPath": "@xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.js", + "importStyle": null, + "description": "Parses primitives referenced by the mesh belonging to the given node, creating XKTMeshes in the XKTModel.", + "lineNumber": 602, + "params": [ + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "node", + "description": "glTF node" }, { - "name": "depth", + "nullable": null, "types": [ "*" - ] + ], + "spread": false, + "optional": false, + "name": "ctx", + "description": "Parsing context" }, { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, "name": "matrix", + "description": "Matrix for the XKTMeshes" + }, + { + "nullable": null, "types": [ "*" - ] + ], + "spread": false, + "optional": false, + "name": "meshIds", + "description": "returns IDs of the new XKTMeshes" } ], "return": null, "ignore": true }, { - "__docId__": 445, + "__docId__": 462, "kind": "function", "name": "parseGLTFIntoXKTModel", "memberof": "src/parsers/parseGLTFIntoXKTModel.js", @@ -12641,7 +13371,7 @@ } }, { - "__docId__": 446, + "__docId__": 463, "kind": "file", "name": "src/parsers/parseGLTFJSONIntoXKTModel.js", "content": "import {utils} from \"../XKTModel/lib/utils.js\";\nimport {math} from \"../lib/math.js\";\n\nconst atob2 = (typeof atob !== 'undefined') ? atob : a => Buffer.from(a, 'base64').toString('binary');\n\nconst WEBGL_COMPONENT_TYPES = {\n 5120: Int8Array,\n 5121: Uint8Array,\n 5122: Int16Array,\n 5123: Uint16Array,\n 5125: Uint32Array,\n 5126: Float32Array\n};\n\nconst WEBGL_TYPE_SIZES = {\n 'SCALAR': 1,\n 'VEC2': 2,\n 'VEC3': 3,\n 'VEC4': 4,\n 'MAT2': 4,\n 'MAT3': 9,\n 'MAT4': 16\n};\n\n/**\n * @desc Parses glTF JSON into an {@link XKTModel}, without ````.glb```` and textures.\n *\n * * Lightweight JSON-based glTF parser which ignores textures\n * * For texture and ````.glb```` support, see {@link parseGLTFIntoXKTModel}\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a glTF model into it.\n *\n * ````javascript\n * utils.loadJSON(\"./models/gltf/duplex/scene.gltf\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseGLTFJSONIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing parameters.\n * @param {Object} params.data The glTF JSON.\n * @param {Object} [params.metaModelData] Metamodel JSON. If this is provided, then parsing is able to ensure that the XKTObjects it creates will fit the metadata properly.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Boolean} [params.includeNormals=false] Whether to parse normals. When false, the parser will ignore the glTF\n * geometry normals, and the glTF data will rely on the xeokit ````Viewer```` to automatically generate them. This has\n * the limitation that the normals will be face-aligned, and therefore the ````Viewer```` will only be able to render\n * a flat-shaded representation of the glTF.\n * @param {Boolean} [params.reuseGeometries=true] When true, the parser will enable geometry reuse within the XKTModel. When false,\n * will automatically \"expand\" all reused geometries into duplicate copies. This has the drawback of increasing the XKT\n * file size (~10-30% for typical models), but can make the model more responsive in the xeokit Viewer, especially if the model\n * has excessive geometry reuse. An example of excessive geometry reuse would be if we have 4000 geometries that are\n * shared amongst 2000 objects, ie. a large number of geometries with a low amount of reuse, which can present a\n * pathological performance case for xeokit's underlying graphics APIs (WebGL, WebGPU etc).\n * @param {function} [params.getAttachment] Callback through which to fetch attachments, if the glTF has them.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n * @returns {Promise}\n */\nfunction parseGLTFJSONIntoXKTModel({\n data,\n xktModel,\n metaModelData,\n includeNormals,\n reuseGeometries,\n getAttachment,\n stats = {},\n log\n }) {\n\n if (log) {\n log(\"Using parser: parseGLTFJSONIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n stats.sourceFormat = \"glTF\";\n stats.schemaVersion = \"2.0\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numTriangles = 0;\n stats.numVertices = 0;\n stats.numNormals = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n\n const ctx = {\n gltf: data,\n metaModelCorrections: metaModelData ? getMetaModelCorrections(metaModelData) : null,\n getAttachment: getAttachment || (() => {\n throw new Error('You must define getAttachment() method to convert glTF with external resources')\n }),\n log: (log || function (msg) {\n }),\n xktModel,\n includeNormals,\n createXKTGeometryIds: {},\n nextMeshId: 0,\n reuseGeometries: (reuseGeometries !== false),\n stats\n };\n\n ctx.log(`Parsing normals: ${ctx.includeNormals ? \"enabled\" : \"disabled\"}`);\n\n parseBuffers(ctx).then(() => {\n\n parseBufferViews(ctx);\n freeBuffers(ctx);\n parseMaterials(ctx);\n parseDefaultScene(ctx);\n\n resolve();\n\n }, (errMsg) => {\n reject(errMsg);\n });\n });\n}\n\nfunction getMetaModelCorrections(metaModelData) {\n const eachRootStats = {};\n const eachChildRoot = {};\n const metaObjects = metaModelData.metaObjects || [];\n const metaObjectsMap = {};\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n const metaObject = metaObjects[i];\n metaObjectsMap[metaObject.id] = metaObject;\n }\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n const metaObject = metaObjects[i];\n if (metaObject.parent !== undefined && metaObject.parent !== null) {\n const metaObjectParent = metaObjectsMap[metaObject.parent];\n if (metaObject.type === metaObjectParent.type) {\n let rootMetaObject = metaObjectParent;\n while (rootMetaObject.parent && metaObjectsMap[rootMetaObject.parent].type === rootMetaObject.type) {\n rootMetaObject = metaObjectsMap[rootMetaObject.parent];\n }\n const rootStats = eachRootStats[rootMetaObject.id] || (eachRootStats[rootMetaObject.id] = {\n numChildren: 0,\n countChildren: 0\n });\n rootStats.numChildren++;\n eachChildRoot[metaObject.id] = rootMetaObject;\n } else {\n\n }\n }\n }\n const metaModelCorrections = {\n metaObjectsMap,\n eachRootStats,\n eachChildRoot\n };\n return metaModelCorrections;\n}\n\nfunction parseBuffers(ctx) { // Parses geometry buffers into temporary \"_buffer\" Unit8Array properties on the glTF \"buffer\" elements\n const buffers = ctx.gltf.buffers;\n if (buffers) {\n return Promise.all(buffers.map(buffer => parseBuffer(ctx, buffer)));\n } else {\n return new Promise(function (resolve, reject) {\n resolve();\n });\n }\n}\n\nfunction parseBuffer(ctx, bufferInfo) {\n return new Promise(function (resolve, reject) {\n // Allow a shortcut where the glTF buffer is \"enrichened\" with direct\n // access to the data-arrayBuffer, w/out needing to either:\n // - read the file indicated by the \".uri\" component of the buffer\n // - base64-decode the encoded data in the \".uri\" component\n if (bufferInfo._arrayBuffer) {\n bufferInfo._buffer = bufferInfo._arrayBuffer;\n resolve(bufferInfo);\n return;\n }\n // Otherwise, proceed with \"standard-glTF\" .uri component.\n const uri = bufferInfo.uri;\n if (!uri) {\n reject('gltf/handleBuffer missing uri in ' + JSON.stringify(bufferInfo));\n return;\n }\n parseArrayBuffer(ctx, uri).then((arrayBuffer) => {\n bufferInfo._buffer = arrayBuffer;\n resolve(arrayBuffer);\n }, (errMsg) => {\n reject(errMsg);\n })\n });\n}\n\nfunction parseArrayBuffer(ctx, uri) {\n return new Promise(function (resolve, reject) {\n const dataUriRegex = /^data:(.*?)(;base64)?,(.*)$/; // Check for data: URI\n const dataUriRegexResult = uri.match(dataUriRegex);\n if (dataUriRegexResult) { // Safari can't handle data URIs through XMLHttpRequest\n const isBase64 = !!dataUriRegexResult[2];\n let data = dataUriRegexResult[3];\n data = decodeURIComponent(data);\n if (isBase64) {\n data = atob2(data);\n }\n const buffer = new ArrayBuffer(data.length);\n const view = new Uint8Array(buffer);\n for (let i = 0; i < data.length; i++) {\n view[i] = data.charCodeAt(i);\n }\n resolve(buffer);\n } else { // Uri is a path to a file\n ctx.getAttachment(uri).then(\n (arrayBuffer) => {\n resolve(arrayBuffer);\n },\n (errMsg) => {\n reject(errMsg);\n });\n }\n });\n}\n\nfunction parseBufferViews(ctx) { // Parses our temporary \"_buffer\" properties into \"_buffer\" properties on glTF \"bufferView\" elements\n const bufferViewsInfo = ctx.gltf.bufferViews;\n if (bufferViewsInfo) {\n for (let i = 0, len = bufferViewsInfo.length; i < len; i++) {\n parseBufferView(ctx, bufferViewsInfo[i]);\n }\n }\n}\n\nfunction parseBufferView(ctx, bufferViewInfo) {\n const buffer = ctx.gltf.buffers[bufferViewInfo.buffer];\n bufferViewInfo._typedArray = null;\n const byteLength = bufferViewInfo.byteLength || 0;\n const byteOffset = bufferViewInfo.byteOffset || 0;\n bufferViewInfo._buffer = buffer._buffer.slice(byteOffset, byteOffset + byteLength);\n}\n\nfunction freeBuffers(ctx) { // Deletes the \"_buffer\" properties from the glTF \"buffer\" elements, to save memory\n const buffers = ctx.gltf.buffers;\n if (buffers) {\n for (let i = 0, len = buffers.length; i < len; i++) {\n buffers[i]._buffer = null;\n }\n }\n}\n\nfunction parseMaterials(ctx) {\n const materialsInfo = ctx.gltf.materials;\n if (materialsInfo) {\n for (let i = 0, len = materialsInfo.length; i < len; i++) {\n const materialInfo = materialsInfo[i];\n const material = parseMaterial(ctx, materialInfo);\n materialInfo._materialData = material;\n }\n }\n}\n\nfunction parseMaterial(ctx, materialInfo) { // Attempts to extract an RGBA color for a glTF material\n const material = {\n color: new Float32Array([1, 1, 1]),\n opacity: 1.0,\n metallic: 0,\n roughness: 1\n };\n const extensions = materialInfo.extensions;\n if (extensions) {\n const specularPBR = extensions[\"KHR_materials_pbrSpecularGlossiness\"];\n if (specularPBR) {\n const diffuseFactor = specularPBR.diffuseFactor;\n if (diffuseFactor !== null && diffuseFactor !== undefined) {\n material.color[0] = diffuseFactor[0];\n material.color[1] = diffuseFactor[1];\n material.color[2] = diffuseFactor[2];\n }\n }\n const common = extensions[\"KHR_materials_common\"];\n if (common) {\n const technique = common.technique;\n const values = common.values || {};\n const blinn = technique === \"BLINN\";\n const phong = technique === \"PHONG\";\n const lambert = technique === \"LAMBERT\";\n const diffuse = values.diffuse;\n if (diffuse && (blinn || phong || lambert)) {\n if (!utils.isString(diffuse)) {\n material.color[0] = diffuse[0];\n material.color[1] = diffuse[1];\n material.color[2] = diffuse[2];\n }\n }\n const transparency = values.transparency;\n if (transparency !== null && transparency !== undefined) {\n material.opacity = transparency;\n }\n const transparent = values.transparent;\n if (transparent !== null && transparent !== undefined) {\n material.opacity = transparent;\n }\n }\n }\n const metallicPBR = materialInfo.pbrMetallicRoughness;\n if (metallicPBR) {\n const baseColorFactor = metallicPBR.baseColorFactor;\n if (baseColorFactor) {\n material.color[0] = baseColorFactor[0];\n material.color[1] = baseColorFactor[1];\n material.color[2] = baseColorFactor[2];\n material.opacity = baseColorFactor[3];\n }\n const metallicFactor = metallicPBR.metallicFactor;\n if (metallicFactor !== null && metallicFactor !== undefined) {\n material.metallic = metallicFactor;\n }\n const roughnessFactor = metallicPBR.roughnessFactor;\n if (roughnessFactor !== null && roughnessFactor !== undefined) {\n material.roughness = roughnessFactor;\n }\n }\n return material;\n}\n\nfunction parseDefaultScene(ctx) {\n const scene = ctx.gltf.scene || 0;\n const defaultSceneInfo = ctx.gltf.scenes[scene];\n if (!defaultSceneInfo) {\n throw new Error(\"glTF has no default scene\");\n }\n parseScene(ctx, defaultSceneInfo);\n}\n\n\nfunction parseScene(ctx, sceneInfo) {\n const nodes = sceneInfo.nodes;\n if (!nodes) {\n return;\n }\n for (let i = 0, len = nodes.length; i < len; i++) {\n const glTFNode = ctx.gltf.nodes[nodes[i]];\n if (glTFNode) {\n parseNode(ctx, glTFNode, 0, null);\n }\n }\n}\n\nlet deferredMeshIds = [];\n\nfunction parseNode(ctx, glTFNode, depth, matrix) {\n\n const gltf = ctx.gltf;\n const xktModel = ctx.xktModel;\n\n let localMatrix;\n\n if (glTFNode.matrix) {\n localMatrix = glTFNode.matrix;\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, math.mat4());\n } else {\n matrix = localMatrix;\n }\n }\n\n if (glTFNode.translation) {\n localMatrix = math.translationMat4v(glTFNode.translation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, localMatrix);\n } else {\n matrix = localMatrix;\n }\n }\n\n if (glTFNode.rotation) {\n localMatrix = math.quaternionToMat4(glTFNode.rotation);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, localMatrix);\n } else {\n matrix = localMatrix;\n }\n }\n\n if (glTFNode.scale) {\n localMatrix = math.scalingMat4v(glTFNode.scale);\n if (matrix) {\n matrix = math.mulMat4(matrix, localMatrix, localMatrix);\n } else {\n matrix = localMatrix;\n }\n }\n\n const gltfMeshId = glTFNode.mesh;\n\n if (gltfMeshId !== undefined) {\n\n const meshInfo = gltf.meshes[gltfMeshId];\n\n if (meshInfo) {\n\n const numPrimitivesInMesh = meshInfo.primitives.length;\n\n if (numPrimitivesInMesh > 0) {\n\n for (let i = 0; i < numPrimitivesInMesh; i++) {\n\n const primitiveInfo = meshInfo.primitives[i];\n\n const geometryHash = createPrimitiveGeometryHash(primitiveInfo);\n\n let xktGeometryId = ctx.createXKTGeometryIds[geometryHash];\n\n if ((!ctx.reuseGeometries) || !xktGeometryId) {\n\n xktGeometryId = \"geometry-\" + ctx.nextMeshId++\n\n const geometryArrays = {};\n\n parsePrimitiveGeometry(ctx, primitiveInfo, geometryArrays);\n\n const colors = geometryArrays.colors;\n\n let colorsCompressed;\n\n if (geometryArrays.colors) {\n colorsCompressed = [];\n for (let j = 0, lenj = colors.length; j < lenj; j += 4) {\n colorsCompressed.push(colors[j + 0]);\n colorsCompressed.push(colors[j + 1]);\n colorsCompressed.push(colors[j + 2]);\n colorsCompressed.push(255);\n }\n }\n\n xktModel.createGeometry({\n geometryId: xktGeometryId,\n primitiveType: geometryArrays.primitive,\n positions: geometryArrays.positions,\n normals: ctx.includeNormals ? geometryArrays.normals : null,\n colorsCompressed: colorsCompressed,\n indices: geometryArrays.indices\n });\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += geometryArrays.positions ? geometryArrays.positions.length / 3 : 0;\n ctx.stats.numNormals += (ctx.includeNormals && geometryArrays.normals) ? geometryArrays.normals.length / 3 : 0;\n ctx.stats.numTriangles += geometryArrays.indices ? geometryArrays.indices.length / 3 : 0;\n\n ctx.createXKTGeometryIds[geometryHash] = xktGeometryId;\n } else {\n// Geometry reused\n }\n\n const materialIndex = primitiveInfo.material;\n const materialInfo = (materialIndex !== null && materialIndex !== undefined) ? gltf.materials[materialIndex] : null;\n const color = materialInfo ? materialInfo._materialData.color : new Float32Array([1.0, 1.0, 1.0, 1.0]);\n const opacity = materialInfo ? materialInfo._materialData.opacity : 1.0;\n const metallic = materialInfo ? materialInfo._materialData.metallic : 0.0;\n const roughness = materialInfo ? materialInfo._materialData.roughness : 1.0;\n\n const xktMeshId = \"mesh-\" + ctx.nextMeshId++;\n\n xktModel.createMesh({\n meshId: xktMeshId,\n geometryId: xktGeometryId,\n matrix: matrix ? matrix.slice() : math.identityMat4(),\n color: color,\n opacity: opacity,\n metallic: metallic,\n roughness: roughness\n });\n\n deferredMeshIds.push(xktMeshId);\n }\n }\n }\n }\n\n\n if (glTFNode.children) {\n const children = glTFNode.children;\n for (let i = 0, len = children.length; i < len; i++) {\n const childNodeIdx = children[i];\n const childGLTFNode = gltf.nodes[childNodeIdx];\n if (!childGLTFNode) {\n console.warn('Node not found: ' + i);\n continue;\n }\n parseNode(ctx, childGLTFNode, depth + 1, matrix);\n }\n }\n\n // Post-order visit scene node\n\n const nodeName = glTFNode.name;\n if (((nodeName !== undefined && nodeName !== null) || depth === 0) && deferredMeshIds.length > 0) {\n if (nodeName === undefined || nodeName === null) {\n ctx.log(`[parseGLTFJSONIntoXKTModel] Warning: 'name' properties not found on glTF scene nodes - will randomly-generate object IDs in XKT`);\n }\n let xktEntityId = nodeName; // Fall back on generated ID when `name` not found on glTF scene node(s)\n if (xktEntityId === undefined || xktEntityId === null) {\n if (xktModel.entities[xktEntityId]) {\n ctx.error(\"Two or more glTF nodes found with same 'name' attribute: '\" + nodeName + \"'\");\n }\n while (!xktEntityId || xktModel.entities[xktEntityId]) {\n xktEntityId = \"entity-\" + ctx.nextId++;\n }\n }\n if (ctx.metaModelCorrections) { // Merging meshes into XKTObjects that map to metaobjects\n const rootMetaObject = ctx.metaModelCorrections.eachChildRoot[xktEntityId];\n if (rootMetaObject) {\n const rootMetaObjectStats = ctx.metaModelCorrections.eachRootStats[rootMetaObject.id];\n rootMetaObjectStats.countChildren++;\n if (rootMetaObjectStats.countChildren >= rootMetaObjectStats.numChildren) {\n xktModel.createEntity({\n entityId: rootMetaObject.id,\n meshIds: deferredMeshIds\n });\n ctx.stats.numObjects++;\n deferredMeshIds = [];\n }\n } else {\n const metaObject = ctx.metaModelCorrections.metaObjectsMap[xktEntityId];\n if (metaObject) {\n xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: deferredMeshIds\n });\n ctx.stats.numObjects++;\n deferredMeshIds = [];\n }\n }\n } else { // Create an XKTObject from the meshes at each named glTF node, don't care about metaobjects\n xktModel.createEntity({\n entityId: xktEntityId,\n meshIds: deferredMeshIds\n });\n ctx.stats.numObjects++;\n deferredMeshIds = [];\n }\n }\n}\n\nfunction createPrimitiveGeometryHash(primitiveInfo) {\n const attributes = primitiveInfo.attributes;\n if (!attributes) {\n return \"empty\";\n }\n const mode = primitiveInfo.mode;\n const material = primitiveInfo.material;\n const indices = primitiveInfo.indices;\n const positions = primitiveInfo.attributes.POSITION;\n const normals = primitiveInfo.attributes.NORMAL;\n const colors = primitiveInfo.attributes.COLOR_0;\n const uv = primitiveInfo.attributes.TEXCOORD_0;\n return [\n mode,\n // material,\n (indices !== null && indices !== undefined) ? indices : \"-\",\n (positions !== null && positions !== undefined) ? positions : \"-\",\n (normals !== null && normals !== undefined) ? normals : \"-\",\n (colors !== null && colors !== undefined) ? colors : \"-\",\n (uv !== null && uv !== undefined) ? uv : \"-\"\n ].join(\";\");\n}\n\nfunction parsePrimitiveGeometry(ctx, primitiveInfo, geometryArrays) {\n const attributes = primitiveInfo.attributes;\n if (!attributes) {\n return;\n }\n switch (primitiveInfo.mode) {\n case 0: // POINTS\n geometryArrays.primitive = \"points\";\n break;\n case 1: // LINES\n geometryArrays.primitive = \"lines\";\n break;\n case 2: // LINE_LOOP\n // TODO: convert\n geometryArrays.primitive = \"lines\";\n break;\n case 3: // LINE_STRIP\n // TODO: convert\n geometryArrays.primitive = \"lines\";\n break;\n case 4: // TRIANGLES\n geometryArrays.primitive = \"triangles\";\n break;\n case 5: // TRIANGLE_STRIP\n // TODO: convert\n console.log(\"TRIANGLE_STRIP\");\n geometryArrays.primitive = \"triangles\";\n break;\n case 6: // TRIANGLE_FAN\n // TODO: convert\n console.log(\"TRIANGLE_FAN\");\n geometryArrays.primitive = \"triangles\";\n break;\n default:\n geometryArrays.primitive = \"triangles\";\n }\n const accessors = ctx.gltf.accessors;\n const indicesIndex = primitiveInfo.indices;\n if (indicesIndex !== null && indicesIndex !== undefined) {\n const accessorInfo = accessors[indicesIndex];\n geometryArrays.indices = parseAccessorTypedArray(ctx, accessorInfo);\n }\n const positionsIndex = attributes.POSITION;\n if (positionsIndex !== null && positionsIndex !== undefined) {\n const accessorInfo = accessors[positionsIndex];\n geometryArrays.positions = parseAccessorTypedArray(ctx, accessorInfo);\n }\n const normalsIndex = attributes.NORMAL;\n if (normalsIndex !== null && normalsIndex !== undefined) {\n const accessorInfo = accessors[normalsIndex];\n geometryArrays.normals = parseAccessorTypedArray(ctx, accessorInfo);\n }\n const colorsIndex = attributes.COLOR_0;\n if (colorsIndex !== null && colorsIndex !== undefined) {\n const accessorInfo = accessors[colorsIndex];\n geometryArrays.colors = parseAccessorTypedArray(ctx, accessorInfo);\n }\n}\n\nfunction parseAccessorTypedArray(ctx, accessorInfo) {\n const bufferView = ctx.gltf.bufferViews[accessorInfo.bufferView];\n const itemSize = WEBGL_TYPE_SIZES[accessorInfo.type];\n const TypedArray = WEBGL_COMPONENT_TYPES[accessorInfo.componentType];\n const elementBytes = TypedArray.BYTES_PER_ELEMENT; // For VEC3: itemSize is 3, elementBytes is 4, itemBytes is 12.\n const itemBytes = elementBytes * itemSize;\n if (accessorInfo.byteStride && accessorInfo.byteStride !== itemBytes) { // The buffer is not interleaved if the stride is the item size in bytes.\n throw new Error(\"interleaved buffer!\"); // TODO\n } else {\n return new TypedArray(bufferView._buffer, accessorInfo.byteOffset || 0, accessorInfo.count * itemSize);\n }\n}\n\nexport {parseGLTFJSONIntoXKTModel};\n", @@ -12652,7 +13382,7 @@ "lineNumber": 1 }, { - "__docId__": 447, + "__docId__": 464, "kind": "variable", "name": "atob2", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -12673,7 +13403,7 @@ "ignore": true }, { - "__docId__": 448, + "__docId__": 465, "kind": "variable", "name": "WEBGL_COMPONENT_TYPES", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -12694,7 +13424,7 @@ "ignore": true }, { - "__docId__": 449, + "__docId__": 466, "kind": "variable", "name": "WEBGL_TYPE_SIZES", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -12715,7 +13445,7 @@ "ignore": true }, { - "__docId__": 450, + "__docId__": 467, "kind": "function", "name": "getMetaModelCorrections", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -12746,7 +13476,7 @@ "ignore": true }, { - "__docId__": 451, + "__docId__": 468, "kind": "function", "name": "parseBuffers", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -12777,7 +13507,7 @@ "ignore": true }, { - "__docId__": 452, + "__docId__": 469, "kind": "function", "name": "parseBuffer", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -12814,7 +13544,7 @@ "ignore": true }, { - "__docId__": 453, + "__docId__": 470, "kind": "function", "name": "parseArrayBuffer", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -12851,7 +13581,7 @@ "ignore": true }, { - "__docId__": 454, + "__docId__": 471, "kind": "function", "name": "parseBufferViews", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -12878,7 +13608,7 @@ "ignore": true }, { - "__docId__": 455, + "__docId__": 472, "kind": "function", "name": "parseBufferView", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -12911,7 +13641,7 @@ "ignore": true }, { - "__docId__": 456, + "__docId__": 473, "kind": "function", "name": "freeBuffers", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -12938,7 +13668,7 @@ "ignore": true }, { - "__docId__": 457, + "__docId__": 474, "kind": "function", "name": "parseMaterials", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -12965,7 +13695,7 @@ "ignore": true }, { - "__docId__": 458, + "__docId__": 475, "kind": "function", "name": "parseMaterial", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -13002,7 +13732,7 @@ "ignore": true }, { - "__docId__": 459, + "__docId__": 476, "kind": "function", "name": "parseDefaultScene", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -13029,7 +13759,7 @@ "ignore": true }, { - "__docId__": 460, + "__docId__": 477, "kind": "function", "name": "parseScene", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -13062,7 +13792,7 @@ "ignore": true }, { - "__docId__": 461, + "__docId__": 478, "kind": "variable", "name": "deferredMeshIds", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -13083,7 +13813,7 @@ "ignore": true }, { - "__docId__": 462, + "__docId__": 479, "kind": "function", "name": "parseNode", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -13128,7 +13858,7 @@ "ignore": true }, { - "__docId__": 463, + "__docId__": 480, "kind": "function", "name": "createPrimitiveGeometryHash", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -13159,7 +13889,7 @@ "ignore": true }, { - "__docId__": 464, + "__docId__": 481, "kind": "function", "name": "parsePrimitiveGeometry", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -13198,7 +13928,7 @@ "ignore": true }, { - "__docId__": 465, + "__docId__": 482, "kind": "function", "name": "parseAccessorTypedArray", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -13235,7 +13965,7 @@ "ignore": true }, { - "__docId__": 466, + "__docId__": 483, "kind": "function", "name": "parseGLTFJSONIntoXKTModel", "memberof": "src/parsers/parseGLTFJSONIntoXKTModel.js", @@ -13361,7 +14091,7 @@ } }, { - "__docId__": 467, + "__docId__": 484, "kind": "file", "name": "src/parsers/parseIFCIntoXKTModel.js", "content": "/**\n * @desc Parses IFC STEP file data into an {@link XKTModel}.\n *\n * This function uses [web-ifc](https://github.com/tomvandig/web-ifc) to parse the IFC, which relies on a\n * WASM file to do the parsing.\n *\n * Depending on how we use this function, we may need to provide it with a path to the directory where that WASM file is stored.\n *\n * This function is tested with web-ifc version 0.0.34.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an IFC model into it.\n *\n * ````javascript\n * import {XKTModel, parseIFCIntoXKTModel, writeXKTModelToArrayBuffer} from \"xeokit-convert.es.js\";\n *\n * import * as WebIFC from \"web-ifc-api.js\";\n *\n * utils.loadArraybuffer(\"rac_advanced_sample_project.ifc\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseIFCIntoXKTModel({\n * WebIFC,\n * data,\n * xktModel,\n * wasmPath: \"../dist/\",\n * autoNormals: true,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {Object} params.WebIFC The WebIFC library. We pass this in as an external dependency, in order to give the\n * caller the choice of whether to use the Browser or NodeJS version.\n * @param {ArrayBuffer} [params.data] IFC file data.\n * @param {XKTModel} [params.xktModel] XKTModel to parse into.\n * @param {Boolean} [params.autoNormals=true] When true, the parser will ignore the IFC geometry normals, and the IFC\n * data will rely on the xeokit ````Viewer```` to automatically generate them. This has the limitation that the\n * normals will be face-aligned, and therefore the ````Viewer```` will only be able to render a flat-shaded representation\n * of the IFC model. This is ````true```` by default, because IFC models tend to look acceptable with flat-shading,\n * and we always want to minimize IFC model size wherever possible.\n * @param {String[]} [params.includeTypes] Option to only convert objects of these types.\n * @param {String[]} [params.excludeTypes] Option to never convert objects of these types.\n * @param {String} params.wasmPath Path to ````web-ifc.wasm````, required by this function.\n * @param {Object} [params.stats={}] Collects statistics.\n * @param {function} [params.log] Logging callback.\n * @returns {Promise} Resolves when IFC has been parsed.\n */\nfunction parseIFCIntoXKTModel({\n WebIFC,\n data,\n xktModel,\n autoNormals = true,\n includeTypes,\n excludeTypes,\n wasmPath,\n stats = {},\n log\n }) {\n\n if (log) {\n log(\"Using parser: parseIFCIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n if (!wasmPath) {\n reject(\"Argument expected: wasmPath\");\n return;\n }\n\n const ifcAPI = new WebIFC.IfcAPI();\n\n if (wasmPath) {\n ifcAPI.SetWasmPath(wasmPath);\n }\n\n ifcAPI.Init().then(() => {\n\n const dataArray = new Uint8Array(data);\n\n const modelID = ifcAPI.OpenModel(dataArray);\n\n stats.sourceFormat = \"IFC\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 0;\n stats.numPropertySets = 0;\n stats.numObjects = 0;\n stats.numGeometries = 0;\n stats.numTriangles = 0;\n stats.numVertices = 0;\n\n const ctx = {\n WebIFC,\n modelID,\n ifcAPI,\n xktModel,\n autoNormals,\n log: (log || function (msg) {\n }),\n nextId: 0,\n stats\n };\n\n if (includeTypes) {\n ctx.includeTypes = {};\n for (let i = 0, len = includeTypes.length; i < len; i++) {\n ctx.includeTypes[includeTypes[i]] = true;\n }\n }\n\n if (excludeTypes) {\n ctx.excludeTypes = {};\n for (let i = 0, len = excludeTypes.length; i < len; i++) {\n ctx.excludeTypes[excludeTypes[i]] = true;\n }\n }\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(modelID, WebIFC.IFCPROJECT);\n const ifcProjectId = lines.get(0);\n const ifcProject = ctx.ifcAPI.GetLine(modelID, ifcProjectId);\n\n ctx.xktModel.schema = \"\";\n ctx.xktModel.modelId = \"\" + modelID;\n ctx.xktModel.projectId = \"\" + ifcProjectId;\n\n parseMetadata(ctx);\n parseGeometry(ctx);\n parsePropertySets(ctx);\n\n resolve();\n\n }).catch((e) => {\n\n reject(e);\n })\n });\n}\n\nfunction parsePropertySets(ctx) {\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, ctx.WebIFC.IFCRELDEFINESBYPROPERTIES);\n\n for (let i = 0; i < lines.size(); i++) {\n\n let relID = lines.get(i);\n\n let rel = ctx.ifcAPI.GetLine(ctx.modelID, relID, true);\n\n if (rel) {\n\n const relatingPropertyDefinition = rel.RelatingPropertyDefinition;\n if (!relatingPropertyDefinition) {\n continue;\n }\n\n const propertySetId = relatingPropertyDefinition.GlobalId.value;\n\n const relatedObjects = rel.RelatedObjects;\n if (relatedObjects) {\n for (let i = 0, len = relatedObjects.length; i < len; i++) {\n const relatedObject = relatedObjects[i];\n const metaObjectId = relatedObject.GlobalId.value;\n const metaObject = ctx.xktModel.metaObjects[metaObjectId];\n if (metaObject) {\n if (!metaObject.propertySetIds) {\n metaObject.propertySetIds = [];\n }\n metaObject.propertySetIds.push(propertySetId);\n }\n }\n }\n\n const props = relatingPropertyDefinition.HasProperties;\n if (props && props.length > 0) {\n const propertySetType = \"Default\";\n const propertySetName = relatingPropertyDefinition.Name.value;\n const properties = [];\n for (let i = 0, len = props.length; i < len; i++) {\n const prop = props[i];\n const name = prop.Name;\n const nominalValue = prop.NominalValue;\n if (name && nominalValue) {\n const property = {\n name: name.value,\n type: nominalValue.type,\n value: nominalValue.value,\n valueType: nominalValue.valueType\n };\n if (prop.Description) {\n property.description = prop.Description.value;\n } else if (nominalValue.description) {\n property.description = nominalValue.description;\n }\n properties.push(property);\n }\n }\n ctx.xktModel.createPropertySet({propertySetId, propertySetType, propertySetName, properties});\n ctx.stats.numPropertySets++;\n }\n }\n }\n}\n\nfunction parseMetadata(ctx) {\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, ctx.WebIFC.IFCPROJECT);\n const ifcProjectId = lines.get(0);\n const ifcProject = ctx.ifcAPI.GetLine(ctx.modelID, ifcProjectId);\n\n parseSpatialChildren(ctx, ifcProject);\n}\n\nfunction parseSpatialChildren(ctx, ifcElement, parentMetaObjectId) {\n\n const metaObjectType = ifcElement.__proto__.constructor.name;\n\n if (ctx.includeTypes && (!ctx.includeTypes[metaObjectType])) {\n return;\n }\n\n if (ctx.excludeTypes && ctx.excludeTypes[metaObjectType]) {\n return;\n }\n\n createMetaObject(ctx, ifcElement, parentMetaObjectId);\n\n const metaObjectId = ifcElement.GlobalId.value;\n\n parseRelatedItemsOfType(\n ctx,\n ifcElement.expressID,\n 'RelatingObject',\n 'RelatedObjects',\n ctx.WebIFC.IFCRELAGGREGATES,\n metaObjectId);\n\n parseRelatedItemsOfType(\n ctx,\n ifcElement.expressID,\n 'RelatingStructure',\n 'RelatedElements',\n ctx.WebIFC.IFCRELCONTAINEDINSPATIALSTRUCTURE,\n metaObjectId);\n}\n\nfunction createMetaObject(ctx, ifcElement, parentMetaObjectId) {\n\n const metaObjectId = ifcElement.GlobalId.value;\n const propertySetIds = null;\n const metaObjectType = ifcElement.__proto__.constructor.name;\n const metaObjectName = (ifcElement.Name && ifcElement.Name.value !== \"\") ? ifcElement.Name.value : metaObjectType;\n\n ctx.xktModel.createMetaObject({metaObjectId, propertySetIds, metaObjectType, metaObjectName, parentMetaObjectId});\n ctx.stats.numMetaObjects++;\n}\n\nfunction parseRelatedItemsOfType(ctx, id, relation, related, type, parentMetaObjectId) {\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, type);\n\n for (let i = 0; i < lines.size(); i++) {\n\n const relID = lines.get(i);\n const rel = ctx.ifcAPI.GetLine(ctx.modelID, relID);\n const relatedItems = rel[relation];\n\n let foundElement = false;\n\n if (Array.isArray(relatedItems)) {\n const values = relatedItems.map((item) => item.value);\n foundElement = values.includes(id);\n\n } else {\n foundElement = (relatedItems.value === id);\n }\n\n if (foundElement) {\n\n const element = rel[related];\n\n if (!Array.isArray(element)) {\n\n const ifcElement = ctx.ifcAPI.GetLine(ctx.modelID, element.value);\n\n parseSpatialChildren(ctx, ifcElement, parentMetaObjectId);\n\n } else {\n\n element.forEach((element2) => {\n\n const ifcElement = ctx.ifcAPI.GetLine(ctx.modelID, element2.value);\n\n parseSpatialChildren(ctx, ifcElement, parentMetaObjectId);\n });\n }\n }\n }\n}\n\nfunction parseGeometry(ctx) {\n\n // Parses the geometry and materials in the IFC, creates\n // XKTEntity, XKTMesh and XKTGeometry components within the XKTModel.\n\n const flatMeshes = ctx.ifcAPI.LoadAllGeometry(ctx.modelID);\n\n for (let i = 0, len = flatMeshes.size(); i < len; i++) {\n const flatMesh = flatMeshes.get(i);\n createObject(ctx, flatMesh);\n }\n\n // LoadAllGeometry does not return IFCSpace meshes\n // here is a workaround\n\n const lines = ctx.ifcAPI.GetLineIDsWithType(ctx.modelID, ctx.WebIFC.IFCSPACE);\n for (let j = 0, len = lines.size(); j < len; j++) {\n const ifcSpaceId = lines.get(j);\n const flatMesh = ctx.ifcAPI.GetFlatMesh(ctx.modelID, ifcSpaceId);\n createObject(ctx, flatMesh);\n }\n}\n\nfunction createObject(ctx, flatMesh) {\n\n const flatMeshExpressID = flatMesh.expressID;\n const placedGeometries = flatMesh.geometries;\n\n const meshIds = [];\n\n const properties = ctx.ifcAPI.GetLine(ctx.modelID, flatMeshExpressID);\n const entityId = properties.GlobalId.value;\n\n const metaObjectId = entityId;\n const metaObject = ctx.xktModel.metaObjects[metaObjectId];\n\n if (ctx.includeTypes && (!metaObject || (!ctx.includeTypes[metaObject.metaObjectType]))) {\n return;\n }\n\n if (ctx.excludeTypes && (!metaObject || ctx.excludeTypes[metaObject.metaObjectType])) {\n console.log(\"excluding: \" + metaObjectId)\n return;\n }\n\n for (let j = 0, lenj = placedGeometries.size(); j < lenj; j++) {\n\n const placedGeometry = placedGeometries.get(j);\n const geometryId = \"\" + placedGeometry.geometryExpressID;\n\n if (!ctx.xktModel.geometries[geometryId]) {\n\n const geometry = ctx.ifcAPI.GetGeometry(ctx.modelID, placedGeometry.geometryExpressID);\n const vertexData = ctx.ifcAPI.GetVertexArray(geometry.GetVertexData(), geometry.GetVertexDataSize());\n const indices = ctx.ifcAPI.GetIndexArray(geometry.GetIndexData(), geometry.GetIndexDataSize());\n\n // De-interleave vertex arrays\n\n const positions = [];\n const normals = [];\n\n for (let k = 0, lenk = vertexData.length / 6; k < lenk; k++) {\n positions.push(vertexData[k * 6 + 0]);\n positions.push(vertexData[k * 6 + 1]);\n positions.push(vertexData[k * 6 + 2]);\n }\n\n if (!ctx.autoNormals) {\n for (let k = 0, lenk = vertexData.length / 6; k < lenk; k++) {\n normals.push(vertexData[k * 6 + 3]);\n normals.push(vertexData[k * 6 + 4]);\n normals.push(vertexData[k * 6 + 5]);\n }\n }\n\n ctx.xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: positions,\n normals: ctx.autoNormals ? null : normals,\n indices: indices\n });\n\n ctx.stats.numGeometries++;\n ctx.stats.numVertices += (positions.length / 3);\n ctx.stats.numTriangles += (indices.length / 3);\n }\n\n const meshId = (\"mesh\" + ctx.nextId++);\n\n ctx.xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n matrix: placedGeometry.flatTransformation,\n color: [placedGeometry.color.x, placedGeometry.color.y, placedGeometry.color.z],\n opacity: placedGeometry.color.w\n });\n\n meshIds.push(meshId);\n }\n\n if (meshIds.length > 0) {\n ctx.xktModel.createEntity({\n entityId: entityId,\n meshIds: meshIds\n });\n ctx.stats.numObjects++;\n }\n}\n\nexport {parseIFCIntoXKTModel};\n", @@ -13372,7 +14102,7 @@ "lineNumber": 1 }, { - "__docId__": 468, + "__docId__": 485, "kind": "function", "name": "parsePropertySets", "memberof": "src/parsers/parseIFCIntoXKTModel.js", @@ -13399,7 +14129,7 @@ "ignore": true }, { - "__docId__": 469, + "__docId__": 486, "kind": "function", "name": "parseMetadata", "memberof": "src/parsers/parseIFCIntoXKTModel.js", @@ -13426,7 +14156,7 @@ "ignore": true }, { - "__docId__": 470, + "__docId__": 487, "kind": "function", "name": "parseSpatialChildren", "memberof": "src/parsers/parseIFCIntoXKTModel.js", @@ -13465,7 +14195,7 @@ "ignore": true }, { - "__docId__": 471, + "__docId__": 488, "kind": "function", "name": "createMetaObject", "memberof": "src/parsers/parseIFCIntoXKTModel.js", @@ -13504,7 +14234,7 @@ "ignore": true }, { - "__docId__": 472, + "__docId__": 489, "kind": "function", "name": "parseRelatedItemsOfType", "memberof": "src/parsers/parseIFCIntoXKTModel.js", @@ -13561,7 +14291,7 @@ "ignore": true }, { - "__docId__": 473, + "__docId__": 490, "kind": "function", "name": "parseGeometry", "memberof": "src/parsers/parseIFCIntoXKTModel.js", @@ -13588,7 +14318,7 @@ "ignore": true }, { - "__docId__": 474, + "__docId__": 491, "kind": "function", "name": "createObject", "memberof": "src/parsers/parseIFCIntoXKTModel.js", @@ -13621,7 +14351,7 @@ "ignore": true }, { - "__docId__": 475, + "__docId__": 492, "kind": "function", "name": "parseIFCIntoXKTModel", "memberof": "src/parsers/parseIFCIntoXKTModel.js", @@ -13757,7 +14487,7 @@ } }, { - "__docId__": 476, + "__docId__": 493, "kind": "file", "name": "src/parsers/parseLASIntoXKTModel.js", "content": "import {parse} from '@loaders.gl/core';\nimport {LASLoader} from '@loaders.gl/las';\n\nimport {math} from \"../lib/math.js\";\n\nconst MAX_VERTICES = 500000; // TODO: Rough estimate\n\n/**\n * @desc Parses LAS and LAZ point cloud data into an {@link XKTModel}.\n *\n * This parser handles both the LASER file format (LAS) and its compressed version (LAZ),\n * a public format for the interchange of 3-dimensional point cloud data data, developed\n * for LIDAR mapping purposes.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an LAZ point cloud model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"./models/laz/autzen.laz\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * await parseLASIntoXKTModel({\n * data,\n * xktModel,\n * rotateX: true,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer} params.data LAS/LAZ file data.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {boolean} [params.center=false] Set true to center the LAS point positions to [0,0,0]. This is applied before the transformation matrix, if specified.\n * @param {Boolean} [params.transform] 4x4 transformation matrix to transform point positions. Use this to rotate, translate and scale them if neccessary.\n * @param {Number|String} [params.colorDepth=8] Whether colors encoded using 8 or 16 bits. Can be set to 'auto'. LAS specification recommends 16 bits.\n * @param {Boolean} [params.fp64=false] Configures if LASLoaderPlugin assumes that LAS positions are stored in 64-bit floats instead of 32-bit.\n * @param {Number} [params.skip=1] Read one from every n points.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n * @returns {Promise} Resolves when LAS has been parsed.\n */\nfunction parseLASIntoXKTModel({\n data,\n xktModel,\n center = false,\n transform = null,\n colorDepth = \"auto\",\n fp64 = false,\n skip = 1,\n stats,\n log = () => {\n }\n }) {\n\n if (log) {\n log(\"Using parser: parseLASIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n log(\"Converting LAZ/LAS\");\n\n log(`center: ${center}`);\n if (transform) {\n log(`transform: [${transform}]`);\n }\n log(`colorDepth: ${colorDepth}`);\n log(`fp64: ${fp64}`);\n log(`skip: ${skip}`);\n\n parse(data, LASLoader, {\n las: {\n colorDepth,\n fp64\n }\n }).then((parsedData) => {\n\n const attributes = parsedData.attributes;\n\n const loaderData = parsedData.loaderData;\n const pointsFormatId = loaderData.pointsFormatId !== undefined ? loaderData.pointsFormatId : -1;\n\n if (!attributes.POSITION) {\n log(\"No positions found in file (expected for all LAS point formats)\");\n return;\n }\n\n let readAttributes = {};\n\n switch (pointsFormatId) {\n case 0:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 0)\");\n return;\n }\n\n readAttributes = readIntensities(attributes.POSITION, attributes.intensity);\n break;\n case 1:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 1)\");\n return;\n }\n readAttributes = readIntensities(attributes.POSITION, attributes.intensity);\n break;\n case 2:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 2)\");\n return;\n }\n\n readAttributes = readColorsAndIntensities(attributes.POSITION, attributes.COLOR_0, attributes.intensity);\n break;\n case 3:\n if (!attributes.intensity) {\n log(\"No intensities found in file (expected for LAS point format 3)\");\n return;\n }\n readAttributes = readColorsAndIntensities(attributes.POSITION, attributes.COLOR_0, attributes.intensity);\n break;\n }\n\n const pointsChunks = chunkArray(readPositions(readAttributes.positions), MAX_VERTICES * 3);\n const colorsChunks = chunkArray(readAttributes.colors, MAX_VERTICES * 4);\n\n const meshIds = [];\n\n for (let j = 0, lenj = pointsChunks.length; j < lenj; j++) {\n\n const geometryId = `geometry-${j}`;\n const meshId = `mesh-${j}`;\n\n meshIds.push(meshId);\n\n xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"points\",\n positions: pointsChunks[j],\n colorsCompressed: colorsChunks[j]\n });\n\n xktModel.createMesh({\n meshId,\n geometryId\n });\n }\n\n const entityId = math.createUUID();\n\n xktModel.createEntity({\n entityId,\n meshIds\n });\n\n const rootMetaObjectId = math.createUUID();\n\n xktModel.createMetaObject({\n metaObjectId: rootMetaObjectId,\n metaObjectType: \"Model\",\n metaObjectName: \"Model\"\n });\n\n xktModel.createMetaObject({\n metaObjectId: entityId,\n metaObjectType: \"PointCloud\",\n metaObjectName: \"PointCloud (LAZ)\",\n parentMetaObjectId: rootMetaObjectId\n });\n\n if (stats) {\n stats.sourceFormat = \"LAS\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 2;\n stats.numPropertySets = 0;\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numVertices = readAttributes.positions.length / 3;\n }\n\n resolve();\n\n }, (errMsg) => {\n reject(errMsg);\n });\n });\n\n function readPositions(positionsValue) {\n if (positionsValue) {\n if (center) {\n const centerPos = math.vec3();\n const numPoints = positionsValue.length;\n for (let i = 0, len = positionsValue.length; i < len; i += 3) {\n centerPos[0] += positionsValue[i + 0];\n centerPos[1] += positionsValue[i + 1];\n centerPos[2] += positionsValue[i + 2];\n }\n centerPos[0] /= numPoints;\n centerPos[1] /= numPoints;\n centerPos[2] /= numPoints;\n for (let i = 0, len = positionsValue.length; i < len; i += 3) {\n positionsValue[i + 0] -= centerPos[0];\n positionsValue[i + 1] -= centerPos[1];\n positionsValue[i + 2] -= centerPos[2];\n }\n }\n if (transform) {\n const mat = math.mat4(transform);\n const pos = math.vec3();\n for (let i = 0, len = positionsValue.length; i < len; i += 3) {\n pos[0] = positionsValue[i + 0];\n pos[1] = positionsValue[i + 1];\n pos[2] = positionsValue[i + 2];\n math.transformPoint3(mat, pos, pos);\n positionsValue[i + 0] = pos[0];\n positionsValue[i + 1] = pos[1];\n positionsValue[i + 2] = pos[2];\n }\n }\n }\n return positionsValue;\n }\n\n function readColorsAndIntensities(attributesPosition, attributesColor, attributesIntensity) {\n const positionsValue = attributesPosition.value;\n const colors = attributesColor.value;\n const colorSize = attributesColor.size;\n const intensities = attributesIntensity.value;\n const colorsCompressedSize = intensities.length * 4;\n const positions = [];\n const colorsCompressed = new Uint8Array(colorsCompressedSize / skip);\n let count = skip;\n for (let i = 0, j = 0, k = 0, l = 0, m = 0, n=0,len = intensities.length; i < len; i++, k += colorSize, j += 4, l += 3) {\n if (count <= 0) {\n colorsCompressed[m++] = colors[k + 0];\n colorsCompressed[m++] = colors[k + 1];\n colorsCompressed[m++] = colors[k + 2];\n colorsCompressed[m++] = Math.round((intensities[i] / 65536) * 255);\n positions[n++] = positionsValue[l + 0];\n positions[n++] = positionsValue[l + 1];\n positions[n++] = positionsValue[l + 2];\n count = skip;\n } else {\n count--;\n }\n }\n return {\n positions,\n colors: colorsCompressed\n };\n }\n\n function readIntensities(attributesPosition, attributesIntensity) {\n const positionsValue = attributesPosition.value;\n const intensities = attributesIntensity.value;\n const colorsCompressedSize = intensities.length * 4;\n const positions = [];\n const colorsCompressed = new Uint8Array(colorsCompressedSize / skip);\n let count = skip;\n for (let i = 0, j = 0, k = 0, l = 0, m = 0, n = 0, len = intensities.length; i < len; i++, k += 3, j += 4, l += 3) {\n if (count <= 0) {\n colorsCompressed[m++] = 0;\n colorsCompressed[m++] = 0;\n colorsCompressed[m++] = 0;\n colorsCompressed[m++] = Math.round((intensities[i] / 65536) * 255);\n positions[n++] = positionsValue[l + 0];\n positions[n++] = positionsValue[l + 1];\n positions[n++] = positionsValue[l + 2];\n count = skip;\n } else {\n count--;\n }\n }\n return {\n positions,\n colors: colorsCompressed\n };\n }\n\n function chunkArray(array, chunkSize) {\n if (chunkSize >= array.length) {\n return [array]; // One chunk\n }\n let result = [];\n for (let i = 0; i < array.length; i += chunkSize) {\n result.push(array.slice(i, i + chunkSize));\n }\n return result;\n }\n\n}\n\nexport {parseLASIntoXKTModel};", @@ -13768,7 +14498,7 @@ "lineNumber": 1 }, { - "__docId__": 477, + "__docId__": 494, "kind": "variable", "name": "MAX_VERTICES", "memberof": "src/parsers/parseLASIntoXKTModel.js", @@ -13789,7 +14519,7 @@ "ignore": true }, { - "__docId__": 478, + "__docId__": 495, "kind": "function", "name": "parseLASIntoXKTModel", "memberof": "src/parsers/parseLASIntoXKTModel.js", @@ -13930,7 +14660,7 @@ } }, { - "__docId__": 479, + "__docId__": 496, "kind": "file", "name": "src/parsers/parseMetaModelIntoXKTModel.js", "content": "/**\n * @desc Parses JSON metamodel into an {@link XKTModel}.\n *\n * @param {Object} params Parsing parameters.\n * @param {JSON} params.metaModelData Metamodel data.\n * @param {String[]} [params.excludeTypes] Types to exclude from parsing.\n * @param {String[]} [params.includeTypes] Types to include in parsing.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when JSON has been parsed.\n */\nfunction parseMetaModelIntoXKTModel({metaModelData, xktModel, includeTypes, excludeTypes, log}) {\n\n if (log) {\n log(\"Using parser: parseMetaModelIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n const metaObjects = metaModelData.metaObjects || [];\n const propertySets = metaModelData.propertySets || [];\n\n xktModel.modelId = metaModelData.revisionId || \"\"; // HACK\n xktModel.projectId = metaModelData.projectId || \"\";\n xktModel.revisionId = metaModelData.revisionId || \"\";\n xktModel.author = metaModelData.author || \"\";\n xktModel.createdAt = metaModelData.createdAt || \"\";\n xktModel.creatingApplication = metaModelData.creatingApplication || \"\";\n xktModel.schema = metaModelData.schema || \"\";\n\n for (let i = 0, len = propertySets.length; i < len; i++) {\n\n const propertySet = propertySets[i];\n\n xktModel.createPropertySet({\n propertySetId: propertySet.id,\n propertySetName: propertySet.name,\n propertySetType: propertySet.type,\n properties: propertySet.properties\n });\n }\n\n let includeTypesMap;\n if (includeTypes) {\n includeTypesMap = {};\n for (let i = 0, len = includeTypes.length; i < len; i++) {\n includeTypesMap[includeTypes[i]] = true;\n }\n }\n\n let excludeTypesMap;\n if (excludeTypes) {\n excludeTypesMap = {};\n for (let i = 0, len = excludeTypes.length; i < len; i++) {\n excludeTypesMap[excludeTypes[i]] = true;\n }\n }\n\n const metaObjectsMap = {};\n\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n const newObject = metaObjects[i];\n metaObjectsMap[newObject.id] = newObject;\n }\n\n let countMetaObjects = 0;\n\n for (let i = 0, len = metaObjects.length; i < len; i++) {\n\n const metaObject = metaObjects[i];\n const type = metaObject.type;\n\n if (excludeTypesMap && excludeTypesMap[type]) {\n continue;\n }\n\n if (includeTypesMap && !includeTypesMap[type]) {\n continue;\n }\n\n if (metaObject.parent !== undefined && metaObject.parent !== null) {\n const metaObjectParent = metaObjectsMap[metaObject.parent];\n if (metaObject.type === metaObjectParent.type) { // Don't create redundant sub-objects\n continue\n }\n }\n\n const propertySetIds = [];\n if (metaObject.propertySetIds) {\n for (let j = 0, lenj = metaObject.propertySetIds.length; j < lenj; j++) {\n const propertySetId = metaObject.propertySetIds[j];\n if (propertySetId !== undefined && propertySetId !== null && propertySetId !== \"\") {\n propertySetIds.push(propertySetId);\n }\n }\n }\n if (metaObject.propertySetId !== undefined && metaObject.propertySetId !== null && metaObject.propertySetId !== \"\") {\n propertySetIds.push(metaObject.propertySetId);\n }\n\n xktModel.createMetaObject({\n metaObjectId: metaObject.id,\n metaObjectType: metaObject.type,\n metaObjectName: metaObject.name,\n parentMetaObjectId: metaObject.parent,\n propertySetIds: propertySetIds.length > 0 ? propertySetIds : null\n });\n\n countMetaObjects++;\n }\n\n if (log) {\n log(\"Converted meta objects: \" + countMetaObjects);\n }\n\n resolve();\n });\n}\n\nexport {parseMetaModelIntoXKTModel};\n", @@ -13941,7 +14671,7 @@ "lineNumber": 1 }, { - "__docId__": 480, + "__docId__": 497, "kind": "function", "name": "parseMetaModelIntoXKTModel", "memberof": "src/parsers/parseMetaModelIntoXKTModel.js", @@ -14033,7 +14763,7 @@ } }, { - "__docId__": 481, + "__docId__": 498, "kind": "file", "name": "src/parsers/parsePCDIntoXKTModel.js", "content": "/**\n * @desc Parses PCD point cloud data into an {@link XKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an LAZ point cloud model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"\"./models/pcd/ism_test_cat.pcd\"\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * await parsePCDIntoXKTModel({\n * data,\n * xktModel,\n * log: (msg) => { console.log(msg); }\n * }).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer} params.data PCD file data.\n * @param {Boolean} [params.littleEndian=true] Whether PCD binary data is Little-Endian or Big-Endian.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when PCD has been parsed.\n */\nfunction parsePCDIntoXKTModel({data, xktModel, littleEndian = true, stats, log}) {\n\n if (log) {\n log(\"Using parser: parsePCDIntoXKTModel\");\n }\n\n return new Promise(function(resolve, reject) {\n\n const textData = decodeText(new Uint8Array(data));\n\n const header = parseHeader(textData);\n\n const positions = [];\n const normals = [];\n const colors = [];\n\n if (header.data === 'ascii') {\n\n const offset = header.offset;\n const data = textData.substr(header.headerLen);\n const lines = data.split('\\n');\n\n for (let i = 0, l = lines.length; i < l; i++) {\n\n if (lines[i] === '') {\n continue;\n }\n\n const line = lines[i].split(' ');\n\n if (offset.x !== undefined) {\n positions.push(parseFloat(line[offset.x]));\n positions.push(parseFloat(line[offset.y]));\n positions.push(parseFloat(line[offset.z]));\n }\n\n if (offset.rgb !== undefined) {\n const rgb = parseFloat(line[offset.rgb]);\n const r = (rgb >> 16) & 0x0000ff;\n const g = (rgb >> 8) & 0x0000ff;\n const b = (rgb >> 0) & 0x0000ff;\n colors.push(r, g, b, 255);\n } else {\n colors.push(255);\n colors.push(255);\n colors.push(255);\n }\n }\n }\n\n if (header.data === 'binary_compressed') {\n\n const sizes = new Uint32Array(data.slice(header.headerLen, header.headerLen + 8));\n const compressedSize = sizes[0];\n const decompressedSize = sizes[1];\n const decompressed = decompressLZF(new Uint8Array(data, header.headerLen + 8, compressedSize), decompressedSize);\n const dataview = new DataView(decompressed.buffer);\n const offset = header.offset;\n\n for (let i = 0; i < header.points; i++) {\n\n if (offset.x !== undefined) {\n positions.push(dataview.getFloat32((header.points * offset.x) + header.size[0] * i, littleEndian));\n positions.push(dataview.getFloat32((header.points * offset.y) + header.size[1] * i, littleEndian));\n positions.push(dataview.getFloat32((header.points * offset.z) + header.size[2] * i, littleEndian));\n }\n\n if (offset.rgb !== undefined) {\n colors.push(dataview.getUint8((header.points * offset.rgb) + header.size[3] * i + 0));\n colors.push(dataview.getUint8((header.points * offset.rgb) + header.size[3] * i + 1));\n colors.push(dataview.getUint8((header.points * offset.rgb) + header.size[3] * i + 2));\n // colors.push(255);\n } else {\n colors.push(1);\n colors.push(1);\n colors.push(1);\n }\n }\n }\n\n if (header.data === 'binary') {\n\n const dataview = new DataView(data, header.headerLen);\n const offset = header.offset;\n\n for (let i = 0, row = 0; i < header.points; i++, row += header.rowSize) {\n if (offset.x !== undefined) {\n positions.push(dataview.getFloat32(row + offset.x, littleEndian));\n positions.push(dataview.getFloat32(row + offset.y, littleEndian));\n positions.push(dataview.getFloat32(row + offset.z, littleEndian));\n }\n\n if (offset.rgb !== undefined) {\n colors.push(dataview.getUint8(row + offset.rgb + 2));\n colors.push(dataview.getUint8(row + offset.rgb + 1));\n colors.push(dataview.getUint8(row + offset.rgb + 0));\n } else {\n colors.push(255);\n colors.push(255);\n colors.push(255);\n }\n }\n }\n\n xktModel.createGeometry({\n geometryId: \"pointsGeometry\",\n primitiveType: \"points\",\n positions: positions,\n colors: colors && colors.length > 0 ? colors : null\n });\n\n xktModel.createMesh({\n meshId: \"pointsMesh\",\n geometryId: \"pointsGeometry\"\n });\n\n xktModel.createEntity({\n entityId: \"geometries\",\n meshIds: [\"pointsMesh\"]\n });\n\n if (log) {\n log(\"Converted drawable objects: 1\");\n log(\"Converted geometries: 1\");\n log(\"Converted vertices: \" + positions.length / 3);\n }\n\n if (stats) {\n stats.sourceFormat = \"PCD\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numVertices = positions.length / 3;\n }\n\n resolve();\n });\n}\n\nfunction parseHeader(data) {\n const header = {};\n const result1 = data.search(/[\\r\\n]DATA\\s(\\S*)\\s/i);\n const result2 = /[\\r\\n]DATA\\s(\\S*)\\s/i.exec(data.substr(result1 - 1));\n header.data = result2[1];\n header.headerLen = result2[0].length + result1;\n header.str = data.substr(0, header.headerLen);\n header.str = header.str.replace(/\\#.*/gi, ''); // Strip comments\n header.version = /VERSION (.*)/i.exec(header.str); // Parse\n header.fields = /FIELDS (.*)/i.exec(header.str);\n header.size = /SIZE (.*)/i.exec(header.str);\n header.type = /TYPE (.*)/i.exec(header.str);\n header.count = /COUNT (.*)/i.exec(header.str);\n header.width = /WIDTH (.*)/i.exec(header.str);\n header.height = /HEIGHT (.*)/i.exec(header.str);\n header.viewpoint = /VIEWPOINT (.*)/i.exec(header.str);\n header.points = /POINTS (.*)/i.exec(header.str);\n if (header.version !== null) {\n header.version = parseFloat(header.version[1]);\n }\n if (header.fields !== null) {\n header.fields = header.fields[1].split(' ');\n }\n if (header.type !== null) {\n header.type = header.type[1].split(' ');\n }\n if (header.width !== null) {\n header.width = parseInt(header.width[1]);\n }\n if (header.height !== null) {\n header.height = parseInt(header.height[1]);\n }\n if (header.viewpoint !== null) {\n header.viewpoint = header.viewpoint[1];\n }\n if (header.points !== null) {\n header.points = parseInt(header.points[1], 10);\n }\n if (header.points === null) {\n header.points = header.width * header.height;\n }\n if (header.size !== null) {\n header.size = header.size[1].split(' ').map(function (x) {\n return parseInt(x, 10);\n });\n }\n if (header.count !== null) {\n header.count = header.count[1].split(' ').map(function (x) {\n return parseInt(x, 10);\n });\n } else {\n header.count = [];\n for (let i = 0, l = header.fields.length; i < l; i++) {\n header.count.push(1);\n }\n }\n header.offset = {};\n let sizeSum = 0;\n for (let i = 0, l = header.fields.length; i < l; i++) {\n if (header.data === 'ascii') {\n header.offset[header.fields[i]] = i;\n } else {\n header.offset[header.fields[i]] = sizeSum;\n sizeSum += header.size[i] * header.count[i];\n }\n }\n header.rowSize = sizeSum; // For binary only\n return header;\n}\n\nfunction decodeText(array) {\n if (typeof TextDecoder !== 'undefined') {\n return new TextDecoder().decode(array);\n }\n let s = '';\n for (let i = 0, il = array.length; i < il; i++) {\n s += String.fromCharCode(array[i]);\n }\n try {\n return decodeURIComponent(escape(s));\n } catch (e) {\n return s;\n }\n}\n\nfunction decompressLZF(inData, outLength) { // https://gitlab.com/taketwo/three-pcd-loader/blob/master/decompress-lzf.js\n const inLength = inData.length;\n const outData = new Uint8Array(outLength);\n let inPtr = 0;\n let outPtr = 0;\n let ctrl;\n let len;\n let ref;\n do {\n ctrl = inData[inPtr++];\n if (ctrl < (1 << 5)) {\n ctrl++;\n if (outPtr + ctrl > outLength) throw new Error('Output buffer is not large enough');\n if (inPtr + ctrl > inLength) throw new Error('Invalid compressed data');\n do {\n outData[outPtr++] = inData[inPtr++];\n } while (--ctrl);\n } else {\n len = ctrl >> 5;\n ref = outPtr - ((ctrl & 0x1f) << 8) - 1;\n if (inPtr >= inLength) throw new Error('Invalid compressed data');\n if (len === 7) {\n len += inData[inPtr++];\n if (inPtr >= inLength) throw new Error('Invalid compressed data');\n }\n ref -= inData[inPtr++];\n if (outPtr + len + 2 > outLength) throw new Error('Output buffer is not large enough');\n if (ref < 0) throw new Error('Invalid compressed data');\n if (ref >= outPtr) throw new Error('Invalid compressed data');\n do {\n outData[outPtr++] = outData[ref++];\n } while (--len + 2);\n }\n } while (inPtr < inLength);\n return outData;\n}\n\nexport {parsePCDIntoXKTModel};", @@ -14044,7 +14774,7 @@ "lineNumber": 1 }, { - "__docId__": 482, + "__docId__": 499, "kind": "function", "name": "parseHeader", "memberof": "src/parsers/parsePCDIntoXKTModel.js", @@ -14075,7 +14805,7 @@ "ignore": true }, { - "__docId__": 483, + "__docId__": 500, "kind": "function", "name": "decodeText", "memberof": "src/parsers/parsePCDIntoXKTModel.js", @@ -14106,7 +14836,7 @@ "ignore": true }, { - "__docId__": 484, + "__docId__": 501, "kind": "function", "name": "decompressLZF", "memberof": "src/parsers/parsePCDIntoXKTModel.js", @@ -14143,7 +14873,7 @@ "ignore": true }, { - "__docId__": 485, + "__docId__": 502, "kind": "function", "name": "parsePCDIntoXKTModel", "memberof": "src/parsers/parsePCDIntoXKTModel.js", @@ -14237,7 +14967,7 @@ } }, { - "__docId__": 486, + "__docId__": 503, "kind": "file", "name": "src/parsers/parsePLYIntoXKTModel.js", "content": "import {parse} from '@loaders.gl/core';\nimport {PLYLoader} from '@loaders.gl/ply';\n\n/**\n * @desc Parses PLY file data into an {@link XKTModel}.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load a PLY model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"./models/ply/test.ply\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parsePLYIntoXKTModel({data, xktModel}).then(()=>{\n * xktModel.finalize();\n * },\n * (msg) => {\n * console.error(msg);\n * });\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer} params.data PLY file data.\n * @param {XKTModel} params.xktModel XKTModel to parse into.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when PLY has been parsed.\n */\nasync function parsePLYIntoXKTModel({data, xktModel, stats, log}) {\n\n if (log) {\n log(\"Using parser: parsePLYIntoXKTModel\");\n }\n\n if (!data) {\n throw \"Argument expected: data\";\n }\n\n if (!xktModel) {\n throw \"Argument expected: xktModel\";\n }\n\n let parsedData;\n try {\n parsedData = await parse(data, PLYLoader);\n } catch (e) {\n if (log) {\n log(\"Error: \" + e);\n }\n return;\n }\n\n const attributes = parsedData.attributes;\n const hasColors = !!attributes.COLOR_0;\n\n if (hasColors) {\n const colorsValue = hasColors ? attributes.COLOR_0.value : null;\n const colorsCompressed = [];\n for (let i = 0, len = colorsValue.length; i < len; i += 4) {\n colorsCompressed.push(colorsValue[i]);\n colorsCompressed.push(colorsValue[i + 1]);\n colorsCompressed.push(colorsValue[i + 2]);\n }\n xktModel.createGeometry({\n geometryId: \"plyGeometry\",\n primitiveType: \"triangles\",\n positions: attributes.POSITION.value,\n indices: parsedData.indices ? parsedData.indices.value : [],\n colorsCompressed: colorsCompressed\n });\n } else {\n xktModel.createGeometry({\n geometryId: \"plyGeometry\",\n primitiveType: \"triangles\",\n positions: attributes.POSITION.value,\n indices: parsedData.indices ? parsedData.indices.value : []\n });\n }\n\n xktModel.createMesh({\n meshId: \"plyMesh\",\n geometryId: \"plyGeometry\",\n color: (!hasColors) ? [1, 1, 1] : null\n });\n\n xktModel.createEntity({\n entityId: \"ply\",\n meshIds: [\"plyMesh\"]\n });\n\n if (stats) {\n stats.sourceFormat = \"PLY\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 2;\n stats.numPropertySets = 0;\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numVertices = attributes.POSITION.value.length / 3;\n }\n}\n\nexport {parsePLYIntoXKTModel};\n", @@ -14248,7 +14978,7 @@ "lineNumber": 1 }, { - "__docId__": 487, + "__docId__": 504, "kind": "function", "name": "parsePLYIntoXKTModel", "memberof": "src/parsers/parsePLYIntoXKTModel.js", @@ -14330,7 +15060,7 @@ } }, { - "__docId__": 488, + "__docId__": 505, "kind": "file", "name": "src/parsers/parseSTLIntoXKTModel.js", "content": "import {faceToVertexNormals} from \"../lib/faceToVertexNormals.js\";\nimport {math} from \"../lib/math.js\";\n\n/**\n * @desc Parses STL file data into an {@link XKTModel}.\n *\n * * Supports binary and ASCII STL formats.\n * * Option to create a separate {@link XKTEntity} for each group of faces that share the same vertex colors.\n * * Option to smooth face-aligned normals loaded from STL.\n * * Option to reduce XKT file size by ignoring STL normals and relying on xeokit to auto-generate them.\n *\n * ## Usage\n *\n * In the example below we'll create an {@link XKTModel}, then load an STL model into it.\n *\n * ````javascript\n * utils.loadArraybuffer(\"./models/stl/binary/spurGear.stl\", async (data) => {\n *\n * const xktModel = new XKTModel();\n *\n * parseSTLIntoXKTModel({data, xktModel});\n *\n * xktModel.finalize();\n * });\n * ````\n *\n * @param {Object} params Parsing params.\n * @param {ArrayBuffer|String} [params.data] STL file data. Can be binary or string.\n * @param {Boolean} [params.autoNormals=false] When true, the parser will ignore the STL geometry normals, and the STL\n * data will rely on the xeokit ````Viewer```` to automatically generate them. This has the limitation that the\n * normals will be face-aligned, and therefore the ````Viewer```` will only be able to render a flat-shaded representation\n * of the STL.\n * Overrides ````smoothNormals```` when ````true````. This ignores the normals in the STL, and loads no\n * normals from the STL into the {@link XKTModel}, resulting in the XKT file storing no normals for the STL model. The\n * xeokit-sdk will then automatically generate the normals within its shaders. The disadvantages are that auto-normals\n * may slow rendering down a little bit, and that the normals can only be face-aligned (and thus rendered using flat\n * shading). The advantages, however, are a smaller XKT file size, and the ability to apply certain geometry optimizations\n * during parsing, such as removing duplicated STL vertex positions, that are not possible when normals are loaded\n * for the STL vertices.\n * @param {Boolean} [params.smoothNormals=true] When true, automatically converts face-oriented STL normals to vertex normals, for a smooth appearance. Ignored if ````autoNormals```` is ````true````.\n * @param {Number} [params.smoothNormalsAngleThreshold=20] This is the threshold angle between normals of adjacent triangles, below which their shared wireframe edge is not drawn.\n * @param {Boolean} [params.splitMeshes=true] When true, creates a separate {@link XKTEntity} for each group of faces that share the same vertex colors. Only works with binary STL (ie. when ````data```` is an ArrayBuffer).\n * @param {XKTModel} [params.xktModel] XKTModel to parse into.\n * @param {Object} [params.stats] Collects statistics.\n * @param {function} [params.log] Logging callback.\n @returns {Promise} Resolves when STL has been parsed.\n */\nasync function parseSTLIntoXKTModel({\n data,\n splitMeshes,\n autoNormals,\n smoothNormals,\n smoothNormalsAngleThreshold,\n xktModel,\n stats,\n log\n }) {\n\n if (log) {\n log(\"Using parser: parseSTLIntoXKTModel\");\n }\n\n return new Promise(function (resolve, reject) {\n\n if (!data) {\n reject(\"Argument expected: data\");\n return;\n }\n\n if (!xktModel) {\n reject(\"Argument expected: xktModel\");\n return;\n }\n\n const rootMetaObjectId = math.createUUID();\n\n const rootMetaObject = xktModel.createMetaObject({\n metaObjectId: rootMetaObjectId,\n metaObjectType: \"Model\",\n metaObjectName: \"Model\"\n });\n\n const ctx = {\n data,\n splitMeshes,\n autoNormals,\n smoothNormals,\n smoothNormalsAngleThreshold,\n xktModel,\n rootMetaObject,\n nextId: 0,\n log: (log || function (msg) {\n }),\n stats: {\n numObjects: 0,\n numGeometries: 0,\n numTriangles: 0,\n numVertices: 0\n }\n };\n\n const binData = ensureBinary(data);\n\n if (isBinary(binData)) {\n parseBinary(ctx, binData);\n } else {\n parseASCII(ctx, ensureString(data));\n }\n\n if (stats) {\n stats.sourceFormat = \"STL\";\n stats.schemaVersion = \"\";\n stats.title = \"\";\n stats.author = \"\";\n stats.created = \"\";\n stats.numMetaObjects = 2;\n stats.numPropertySets = 0;\n stats.numObjects = 1;\n stats.numGeometries = 1;\n stats.numTriangles = ctx.stats.numTriangles;\n stats.numVertices = ctx.stats.numVertices;\n }\n\n resolve();\n });\n}\n\nfunction isBinary(data) {\n const reader = new DataView(data);\n const numFaces = reader.getUint32(80, true);\n const faceSize = (32 / 8 * 3) + ((32 / 8 * 3) * 3) + (16 / 8);\n const numExpectedBytes = 80 + (32 / 8) + (numFaces * faceSize);\n if (numExpectedBytes === reader.byteLength) {\n return true;\n }\n const solid = [115, 111, 108, 105, 100];\n for (let i = 0; i < 5; i++) {\n if (solid[i] !== reader.getUint8(i, false)) {\n return true;\n }\n }\n return false;\n}\n\nfunction parseBinary(ctx, data) {\n const reader = new DataView(data);\n const faces = reader.getUint32(80, true);\n let r;\n let g;\n let b;\n let hasColors = false;\n let colors;\n let defaultR;\n let defaultG;\n let defaultB;\n let lastR = null;\n let lastG = null;\n let lastB = null;\n let newMesh = false;\n let alpha;\n for (let index = 0; index < 80 - 10; index++) {\n if ((reader.getUint32(index, false) === 0x434F4C4F /*COLO*/) &&\n (reader.getUint8(index + 4) === 0x52 /*'R'*/) &&\n (reader.getUint8(index + 5) === 0x3D /*'='*/)) {\n hasColors = true;\n colors = [];\n defaultR = reader.getUint8(index + 6) / 255;\n defaultG = reader.getUint8(index + 7) / 255;\n defaultB = reader.getUint8(index + 8) / 255;\n alpha = reader.getUint8(index + 9) / 255;\n }\n }\n let dataOffset = 84;\n let faceLength = 12 * 4 + 2;\n let positions = [];\n let normals = [];\n let splitMeshes = ctx.splitMeshes;\n for (let face = 0; face < faces; face++) {\n let start = dataOffset + face * faceLength;\n let normalX = reader.getFloat32(start, true);\n let normalY = reader.getFloat32(start + 4, true);\n let normalZ = reader.getFloat32(start + 8, true);\n if (hasColors) {\n let packedColor = reader.getUint16(start + 48, true);\n if ((packedColor & 0x8000) === 0) {\n r = (packedColor & 0x1F) / 31;\n g = ((packedColor >> 5) & 0x1F) / 31;\n b = ((packedColor >> 10) & 0x1F) / 31;\n } else {\n r = defaultR;\n g = defaultG;\n b = defaultB;\n }\n if (splitMeshes && r !== lastR || g !== lastG || b !== lastB) {\n if (lastR !== null) {\n newMesh = true;\n }\n lastR = r;\n lastG = g;\n lastB = b;\n }\n }\n for (let i = 1; i <= 3; i++) {\n let vertexstart = start + i * 12;\n positions.push(reader.getFloat32(vertexstart, true));\n positions.push(reader.getFloat32(vertexstart + 4, true));\n positions.push(reader.getFloat32(vertexstart + 8, true));\n if (!ctx.autoNormals) {\n normals.push(normalX, normalY, normalZ);\n }\n if (hasColors) {\n colors.push(r, g, b, 1); // TODO: handle alpha\n }\n }\n if (splitMeshes && newMesh) {\n addMesh(ctx, positions, normals, colors);\n positions = [];\n normals = [];\n colors = colors ? [] : null;\n newMesh = false;\n }\n }\n if (positions.length > 0) {\n addMesh(ctx, positions, normals, colors);\n }\n}\n\nfunction parseASCII(ctx, data) {\n const faceRegex = /facet([\\s\\S]*?)endfacet/g;\n let faceCounter = 0;\n const floatRegex = /[\\s]+([+-]?(?:\\d+.\\d+|\\d+.|\\d+|.\\d+)(?:[eE][+-]?\\d+)?)/.source;\n const vertexRegex = new RegExp('vertex' + floatRegex + floatRegex + floatRegex, 'g');\n const normalRegex = new RegExp('normal' + floatRegex + floatRegex + floatRegex, 'g');\n const positions = [];\n const normals = [];\n const colors = null;\n let normalx;\n let normaly;\n let normalz;\n let result;\n let verticesPerFace;\n let normalsPerFace;\n let text;\n while ((result = faceRegex.exec(data)) !== null) {\n verticesPerFace = 0;\n normalsPerFace = 0;\n text = result[0];\n while ((result = normalRegex.exec(text)) !== null) {\n normalx = parseFloat(result[1]);\n normaly = parseFloat(result[2]);\n normalz = parseFloat(result[3]);\n normalsPerFace++;\n }\n while ((result = vertexRegex.exec(text)) !== null) {\n positions.push(parseFloat(result[1]), parseFloat(result[2]), parseFloat(result[3]));\n normals.push(normalx, normaly, normalz);\n verticesPerFace++;\n }\n if (normalsPerFace !== 1) {\n ctx.log(\"Error in normal of face \" + faceCounter);\n return -1;\n }\n if (verticesPerFace !== 3) {\n ctx.log(\"Error in positions of face \" + faceCounter);\n return -1;\n }\n faceCounter++;\n }\n addMesh(ctx, positions, normals, colors);\n}\n\nlet nextGeometryId = 0;\n\nfunction addMesh(ctx, positions, normals, colors) {\n\n const indices = new Int32Array(positions.length / 3);\n for (let ni = 0, len = indices.length; ni < len; ni++) {\n indices[ni] = ni;\n }\n\n normals = normals && normals.length > 0 ? normals : null;\n colors = colors && colors.length > 0 ? colors : null;\n\n if (!ctx.autoNormals && ctx.smoothNormals) {\n faceToVertexNormals(positions, normals, {smoothNormalsAngleThreshold: ctx.smoothNormalsAngleThreshold});\n }\n\n const geometryId = \"\" + nextGeometryId++;\n const meshId = \"\" + nextGeometryId++;\n const entityId = \"\" + nextGeometryId++;\n\n ctx.xktModel.createGeometry({\n geometryId: geometryId,\n primitiveType: \"triangles\",\n positions: positions,\n normals: (!ctx.autoNormals) ? normals : null,\n colors: colors,\n indices: indices\n });\n\n ctx.xktModel.createMesh({\n meshId: meshId,\n geometryId: geometryId,\n color: colors ? null : [1, 1, 1],\n metallic: 0.9,\n roughness: 0.1\n });\n\n ctx.xktModel.createEntity({\n entityId: entityId,\n meshIds: [meshId]\n });\n\n ctx.xktModel.createMetaObject({\n metaObjectId: entityId,\n metaObjectType: \"Default\",\n metaObjectName: \"STL Mesh\",\n parentMetaObjectId: ctx.rootMetaObject.metaObjectId\n });\n\n ctx.stats.numGeometries++;\n ctx.stats.numObjects++;\n ctx.stats.numVertices += positions.length / 3;\n ctx.stats.numTriangles += indices.length / 3;\n}\n\nfunction ensureString(buffer) {\n if (typeof buffer !== 'string') {\n return decodeText(new Uint8Array(buffer));\n }\n return buffer;\n}\n\nfunction ensureBinary(buffer) {\n if (typeof buffer === 'string') {\n const arrayBuffer = new Uint8Array(buffer.length);\n for (let i = 0; i < buffer.length; i++) {\n arrayBuffer[i] = buffer.charCodeAt(i) & 0xff; // implicitly assumes little-endian\n }\n return arrayBuffer.buffer || arrayBuffer;\n } else {\n return buffer;\n }\n}\n\nfunction decodeText(array) {\n if (typeof TextDecoder !== 'undefined') {\n return new TextDecoder().decode(array);\n }\n let s = '';\n for (let i = 0, il = array.length; i < il; i++) {\n s += String.fromCharCode(array[i]); // Implicitly assumes little-endian.\n }\n return decodeURIComponent(escape(s));\n}\n\nexport {parseSTLIntoXKTModel};\n", @@ -14341,7 +15071,7 @@ "lineNumber": 1 }, { - "__docId__": 489, + "__docId__": 506, "kind": "function", "name": "isBinary", "memberof": "src/parsers/parseSTLIntoXKTModel.js", @@ -14372,7 +15102,7 @@ "ignore": true }, { - "__docId__": 490, + "__docId__": 507, "kind": "function", "name": "parseBinary", "memberof": "src/parsers/parseSTLIntoXKTModel.js", @@ -14405,7 +15135,7 @@ "ignore": true }, { - "__docId__": 491, + "__docId__": 508, "kind": "function", "name": "parseASCII", "memberof": "src/parsers/parseSTLIntoXKTModel.js", @@ -14442,7 +15172,7 @@ "ignore": true }, { - "__docId__": 492, + "__docId__": 509, "kind": "variable", "name": "nextGeometryId", "memberof": "src/parsers/parseSTLIntoXKTModel.js", @@ -14463,7 +15193,7 @@ "ignore": true }, { - "__docId__": 493, + "__docId__": 510, "kind": "function", "name": "addMesh", "memberof": "src/parsers/parseSTLIntoXKTModel.js", @@ -14508,7 +15238,7 @@ "ignore": true }, { - "__docId__": 494, + "__docId__": 511, "kind": "function", "name": "ensureString", "memberof": "src/parsers/parseSTLIntoXKTModel.js", @@ -14539,7 +15269,7 @@ "ignore": true }, { - "__docId__": 495, + "__docId__": 512, "kind": "function", "name": "ensureBinary", "memberof": "src/parsers/parseSTLIntoXKTModel.js", @@ -14570,7 +15300,7 @@ "ignore": true }, { - "__docId__": 496, + "__docId__": 513, "kind": "function", "name": "decodeText", "memberof": "src/parsers/parseSTLIntoXKTModel.js", @@ -14601,7 +15331,7 @@ "ignore": true }, { - "__docId__": 497, + "__docId__": 514, "kind": "function", "name": "parseSTLIntoXKTModel", "memberof": "src/parsers/parseSTLIntoXKTModel.js", @@ -14741,7 +15471,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@xeokit/xeokit-convert\",\n \"version\": \"1.1.18\",\n \"description\": \"JavaScript utilities to create .XKT files\",\n \"main\": \"index.js\",\n \"bin\": \"/convert2xkt.js\",\n \"directories\": {},\n \"scripts\": {\n \"build\": \"webpack --mode=production --node-env=production --progress; rollup --config rollup.config.dist.js; rollup --config rollup.config.convert2xkt.js; rm -Rf ./docs/*; ./node_modules/.bin/esdoc\",\n \"build-node\": \"webpack --mode=production --node-env=production --progress\",\n \"build-browser\": \"rollup --config rollup.config.dist.js\",\n \"docs\": \"rm -Rf ./docs/*; ./node_modules/.bin/esdoc\",\n \"publish\": \"npm publish --access public\",\n \"changelog\": \"auto-changelog --commit-limit false --package --template changelog-template.hbs\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/xeokit/xeokit-convert.git\"\n },\n \"keywords\": [\n \"xeolabs\",\n \"xeokit\",\n \"bim\",\n \"opensource\",\n \"ifc\",\n \"webgl\",\n \"xkt\",\n \"gltf\",\n \"glb\",\n \"cityjson\",\n \"laz\",\n \"gis\"\n ],\n \"author\": \"Lindsay Kay\",\n \"license\": \"LICENSE\",\n \"bugs\": {\n \"url\": \"https://github.com/xeokit/xeokit-convert/issues\"\n },\n \"homepage\": \"https://github.com/xeokit/xeokit-convert#readme\",\n \"dependencies\": {\n \"@loaders.gl/core\": \"^3.2.6\",\n \"@loaders.gl/gltf\": \"^3.2.6\",\n \"@loaders.gl/images\": \"^3.2.6\",\n \"@loaders.gl/json\": \"^3.2.6\",\n \"@loaders.gl/las\": \"^3.2.6\",\n \"@loaders.gl/obj\": \"^3.2.6\",\n \"@loaders.gl/ply\": \"^3.2.6\",\n \"@loaders.gl/polyfills\": \"^3.2.6\",\n \"@loaders.gl/textures\": \"^3.2.6\",\n \"@typeonly/validator\": \"^0.5.2\",\n \"commander\": \"^11.0.0\",\n \"core-js\": \"^3.22.5\",\n \"fs\": \"0.0.1-security\",\n \"pako\": \"^2.0.4\",\n \"path\": \"^0.12.7\",\n \"web-ifc\": \"0.0.40\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.17.10\",\n \"@babel/plugin-external-helpers\": \"^7.17.12\",\n \"@babel/preset-env\": \"^7.17.12\",\n \"@rollup/plugin-alias\": \"^3.1.9\",\n \"@rollup/plugin-commonjs\": \"^21.1.0\",\n \"@rollup/plugin-node-resolve\": \"^13.2.1\",\n \"@xeokit/xeokit-sdk\": \"^2.3.0\",\n \"babel-loader\": \"^8.2.5\",\n \"copy-webpack-plugin\": \"^11.0.0\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-node\": \"^1.0.5\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"http-server\": \"^14.1.0\",\n \"npm-upgrade\": \"^3.1.0\",\n \"rimraf\": \"^3.0.2\",\n \"rollup\": \"^2.70.2\",\n \"rollup-plugin-copy\": \"^3.4.0\",\n \"rollup-plugin-minify-es\": \"^1.1.1\",\n \"typeonly\": \"^0.4.6\",\n \"webpack\": \"^5.72.1\",\n \"webpack-cli\": \"^4.9.2\",\n \"webpack-node-externals\": \"^3.0.0\",\n \"auto-changelog\": \"^2.4.0\"\n },\n \"files\": [\n \"/dist\",\n \"/convert2xkt.js\",\n \"/convert2xkt.conf.js\"\n ]\n}\n", + "content": "{\n \"name\": \"@xeokit/xeokit-convert\",\n \"version\": \"1.1.20\",\n \"description\": \"JavaScript utilities to create .XKT files\",\n \"main\": \"index.js\",\n \"bin\": \"/convert2xkt.js\",\n \"directories\": {},\n \"scripts\": {\n \"build\": \"npm run build-node && npm run build-browser && rollup --config rollup.config.convert2xkt.js && npm run docs\",\n \"build-node\": \"webpack --mode=development --node-env=development --progress\",\n \"build-browser\": \"rollup --config rollup.config.dist.js\",\n \"docs\": \"rimraf ./docs/* && npx esdoc\",\n \"publish\": \"npm publish --access public\",\n \"changelog\": \"auto-changelog --commit-limit false --package --template changelog-template.hbs\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/xeokit/xeokit-convert.git\"\n },\n \"keywords\": [\n \"xeolabs\",\n \"xeokit\",\n \"bim\",\n \"opensource\",\n \"ifc\",\n \"webgl\",\n \"xkt\",\n \"gltf\",\n \"glb\",\n \"cityjson\",\n \"laz\",\n \"gis\"\n ],\n \"author\": \"Lindsay Kay\",\n \"license\": \"LICENSE\",\n \"bugs\": {\n \"url\": \"https://github.com/xeokit/xeokit-convert/issues\"\n },\n \"homepage\": \"https://github.com/xeokit/xeokit-convert#readme\",\n \"dependencies\": {\n \"@loaders.gl/core\": \"^3.2.6\",\n \"@loaders.gl/gltf\": \"^3.2.6\",\n \"@loaders.gl/images\": \"^3.2.6\",\n \"@loaders.gl/json\": \"^3.2.6\",\n \"@loaders.gl/las\": \"^3.2.6\",\n \"@loaders.gl/obj\": \"^3.2.6\",\n \"@loaders.gl/ply\": \"^3.2.6\",\n \"@loaders.gl/polyfills\": \"^3.2.6\",\n \"@loaders.gl/textures\": \"^3.2.6\",\n \"@typeonly/validator\": \"^0.5.2\",\n \"commander\": \"^11.0.0\",\n \"core-js\": \"^3.22.5\",\n \"fs\": \"0.0.1-security\",\n \"pako\": \"^2.0.4\",\n \"path\": \"^0.12.7\",\n \"web-ifc\": \"0.0.40\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.17.10\",\n \"@babel/plugin-external-helpers\": \"^7.17.12\",\n \"@babel/preset-env\": \"^7.17.12\",\n \"@rollup/plugin-alias\": \"^3.1.9\",\n \"@rollup/plugin-commonjs\": \"^21.1.0\",\n \"@rollup/plugin-node-resolve\": \"^13.2.1\",\n \"@xeokit/xeokit-sdk\": \"^2.3.0\",\n \"auto-changelog\": \"^2.4.0\",\n \"babel-loader\": \"^8.2.5\",\n \"copy-webpack-plugin\": \"^11.0.0\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-node\": \"^1.0.5\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"http-server\": \"^14.1.0\",\n \"npm-upgrade\": \"^3.1.0\",\n \"rimraf\": \"^3.0.2\",\n \"rollup\": \"^2.70.2\",\n \"rollup-plugin-copy\": \"^3.4.0\",\n \"rollup-plugin-minify-es\": \"^1.1.1\",\n \"typeonly\": \"^0.4.6\",\n \"webpack\": \"^5.72.1\",\n \"webpack-cli\": \"^4.9.2\",\n \"webpack-node-externals\": \"^3.0.0\"\n },\n \"files\": [\n \"/dist\",\n \"/convert2xkt.js\",\n \"/convert2xkt.conf.js\"\n ]\n}", "longname": "/home/lindsay/xeolabs/xeokit-convert-mar14/package.json", "name": "package.json", "static": true, diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 26262d1..9294243 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -221,6 +221,12 @@ window.esdocSearchIndex = [ "parseGLTFIntoXKTModel @xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.OLD.js", "function" ], + [ + "@xeokit/xeokit-convert/src/parsers/parsegltfintoxktmodel.with_important_updates.js~parsegltfintoxktmodel", + "function/index.html#static-function-parseGLTFIntoXKTModel", + "parseGLTFIntoXKTModel @xeokit/xeokit-convert/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "function" + ], [ "@xeokit/xeokit-convert/src/parsers/parsegltfintoxktmodel.js~parsegltfintoxktmodel", "function/index.html#static-function-parseGLTFIntoXKTModel", @@ -1439,6 +1445,12 @@ window.esdocSearchIndex = [ "src/parsers/parseGLTFIntoXKTModel.OLD.js", "file" ], + [ + "src/parsers/parsegltfintoxktmodel.with_important_updates.js", + "file/src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js.html", + "src/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js", + "file" + ], [ "src/parsers/parsegltfintoxktmodel.js", "file/src/parsers/parseGLTFIntoXKTModel.js.html", diff --git a/docs/source.html b/docs/source.html index fa1bdbd..10fd383 100644 --- a/docs/source.html +++ b/docs/source.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • @@ -79,7 +80,7 @@
    -

    Source 186/394

    +

    Source 195/410

    @@ -143,12 +144,12 @@ - + - - - + + + @@ -271,12 +272,12 @@ - + - - - - + + + + @@ -284,7 +285,7 @@ - + @@ -313,9 +314,9 @@ - - - + + + @@ -451,15 +452,23 @@ - + - + - - - - + + + + + + + + + + + + diff --git a/docs/variable/index.html b/docs/variable/index.html index a3b79c5..d445d76 100644 --- a/docs/variable/index.html +++ b/docs/variable/index.html @@ -68,6 +68,7 @@
  • parsersFparseCityJSONIntoXKTModel
  • FparseGLTFIntoXKTModel
  • FparseGLTFIntoXKTModel
  • +
  • FparseGLTFIntoXKTModel
  • FparseGLTFJSONIntoXKTModel
  • FparseIFCIntoXKTModel
  • FparseLASIntoXKTModel
  • 2024-03-05 00:05:03 (UTC)
    src/XKTModel/XKTModel.jssrc/XKTModel/XKTModel.js XKTModel 63 %41/6557528 byte15372024-04-06 22:09:23 (UTC)58181 byte15382024-08-02 19:59:54 (UTC)
    src/XKTModel/XKTPropertySet.js2024-03-05 00:05:03 (UTC)
    src/XKTModel/writeXKTModelToArrayBuffer.jssrc/XKTModel/writeXKTModelToArrayBuffer.js writeXKTModelToArrayBuffer11 %1/922741 byte4612024-04-06 22:09:23 (UTC)10 %1/1026198 byte5652024-08-06 19:11:06 (UTC)
    src/XKT_INFO.js100 %1/1 563 byte 202024-03-05 00:05:03 (UTC)2024-08-06 19:11:06 (UTC)
    src/constants.jssrc/convert2xkt.js convert2xkt 100 %1/118416 byte4502024-05-02 12:38:09 (UTC)18463 byte4512024-08-06 19:11:06 (UTC)
    src/geometryBuilders/buildBoxGeometry.js7 %1/13 21754 byte 6122024-05-03 11:10:35 (UTC)2024-08-02 19:41:40 (UTC)
    src/parsers/parseGLTFIntoXKTModel.jssrc/parsers/parseGLTFIntoXKTModel.WITH_IMPORTANT_UPDATES.js parseGLTFIntoXKTModel7 %1/1321687 byte6122024-05-03 11:10:49 (UTC)35 %5/1424603 byte7012024-08-02 19:42:46 (UTC)
    src/parsers/parseGLTFIntoXKTModel.jsparseGLTFIntoXKTModel35 %5/1424603 byte7012024-08-02 19:59:54 (UTC)
    src/parsers/parseGLTFJSONIntoXKTModel.js